@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.10

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.
Files changed (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +989 -1588
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +977 -1695
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,65 +1,60 @@
1
1
  export = InventoryPublicModel;
2
- /**
3
- * @typedef ApikeyModel
4
- * @property {string} [error_message]
5
- * @property {string} [session_id]
6
- */
7
- /**
8
- * @typedef DataTresholdDTO
9
- * @property {number} [min_price]
10
- * @property {number} [period_threshold]
11
- * @property {string} [period_threshold_type]
12
- * @property {GenericDTO[]} [period_type_list]
13
- * @property {number} [safe_stock]
14
- */
15
2
  /**
16
3
  * @typedef EmailJobMetrics
17
- * @property {boolean} [daily_job]
18
4
  * @property {boolean} [executed]
19
5
  * @property {string} [id]
20
6
  * @property {string} [job_code]
7
+ * @property {boolean} [daily_job]
21
8
  * @property {string} [last_executed_on]
22
9
  */
10
+ /**
11
+ * @typedef Page
12
+ * @property {string} type
13
+ * @property {number} [size]
14
+ * @property {number} [current]
15
+ * @property {boolean} [has_next]
16
+ * @property {number} [item_total]
17
+ * @property {string} [next_id]
18
+ * @property {boolean} [has_previous]
19
+ */
20
+ /**
21
+ * @typedef ResponseEnvelopeEmailJobMetrics
22
+ * @property {string} [timestamp]
23
+ * @property {number} [status]
24
+ * @property {string} [error]
25
+ * @property {string} [exception]
26
+ * @property {string} [message]
27
+ * @property {number} [total_time_taken_in_millis]
28
+ * @property {string} [http_status]
29
+ * @property {EmailJobMetrics} [items]
30
+ * @property {EmailJobMetrics} [payload]
31
+ * @property {string} [trace_id]
32
+ * @property {Page} [page]
33
+ */
23
34
  /**
24
35
  * @typedef GCompany
25
36
  * @property {string} [_id]
26
37
  * @property {string} [integration]
27
38
  * @property {string} [level]
28
- * @property {string} [name]
39
+ * @property {number} [uid]
29
40
  * @property {boolean} [opted]
30
41
  * @property {string[]} [permissions]
31
- * @property {GStore[]} [stores]
32
42
  * @property {string} [token]
33
- * @property {number} [uid]
34
- */
35
- /**
36
- * @typedef GenericDTO
37
- * @property {string} [text]
38
- * @property {Object} [value]
43
+ * @property {string} [name]
44
+ * @property {GStore[]} [stores]
39
45
  */
40
46
  /**
41
47
  * @typedef GStore
42
48
  * @property {string} [_id]
43
- * @property {string} [code]
44
- * @property {StoreData} [data]
45
49
  * @property {string} [integration]
46
50
  * @property {string} [level]
47
- * @property {string} [name]
51
+ * @property {number} [uid]
48
52
  * @property {boolean} [opted]
49
53
  * @property {string[]} [permissions]
50
54
  * @property {string} [token]
51
- * @property {number} [uid]
52
- */
53
- /**
54
- * @typedef JobConfigDTO
55
- * @property {string} [alias]
56
- * @property {number} company_id
57
- * @property {string} [company_name]
58
- * @property {string} integration
59
- * @property {Object} [integration_data]
60
- * @property {string} [job_code]
61
- * @property {TaskDTO} [task_details]
62
- * @property {DataTresholdDTO} [threshold_details]
55
+ * @property {string} [code]
56
+ * @property {string} [name]
57
+ * @property {StoreData} [data]
63
58
  */
64
59
  /**
65
60
  * @typedef Metum
@@ -68,194 +63,192 @@ export = InventoryPublicModel;
68
63
  * @property {string} [value]
69
64
  */
70
65
  /**
71
- * @typedef Page
72
- * @property {number} [current]
73
- * @property {boolean} [has_next]
74
- * @property {boolean} [has_previous]
75
- * @property {number} [item_total]
76
- * @property {string} [next_id]
77
- * @property {number} [size]
78
- * @property {string} type
79
- */
80
- /**
81
- * @typedef ResponseEnvelopeApikeyModel
66
+ * @typedef ResponseEnvelopeSlingshotConfigurationDetail
67
+ * @property {string} [timestamp]
68
+ * @property {number} [status]
82
69
  * @property {string} [error]
83
70
  * @property {string} [exception]
84
- * @property {string} [http_status]
85
- * @property {ApikeyModel} [items]
86
71
  * @property {string} [message]
87
- * @property {Page} [page]
88
- * @property {ApikeyModel} [payload]
89
- * @property {number} [status]
90
- * @property {string} [timestamp]
91
72
  * @property {number} [total_time_taken_in_millis]
73
+ * @property {string} [http_status]
74
+ * @property {SlingshotConfigurationDetail} [items]
75
+ * @property {SlingshotConfigurationDetail} [payload]
92
76
  * @property {string} [trace_id]
77
+ * @property {Page} [page]
93
78
  */
94
79
  /**
95
- * @typedef ResponseEnvelopeEmailJobMetrics
80
+ * @typedef SlingshotConfigurationDetail
81
+ * @property {SlingshotIntegration} [integration]
82
+ * @property {GCompany[]} [companies]
83
+ */
84
+ /**
85
+ * @typedef SlingshotIntegration
86
+ * @property {string} [_id]
87
+ * @property {string} [description]
88
+ * @property {string} [name]
89
+ * @property {string} [slug]
90
+ * @property {Metum[]} [meta]
91
+ */
92
+ /**
93
+ * @typedef StoreData
94
+ * @property {string} [location_id]
95
+ */
96
+ /**
97
+ * @typedef ApikeyModel
98
+ * @property {string} [session_id]
99
+ * @property {string} [error_message]
100
+ */
101
+ /**
102
+ * @typedef ResponseEnvelopeApikeyModel
103
+ * @property {string} [timestamp]
104
+ * @property {number} [status]
96
105
  * @property {string} [error]
97
106
  * @property {string} [exception]
98
- * @property {string} [http_status]
99
- * @property {EmailJobMetrics} [items]
100
107
  * @property {string} [message]
101
- * @property {Page} [page]
102
- * @property {EmailJobMetrics} [payload]
103
- * @property {number} [status]
104
- * @property {string} [timestamp]
105
108
  * @property {number} [total_time_taken_in_millis]
109
+ * @property {string} [http_status]
110
+ * @property {ApikeyModel} [items]
111
+ * @property {ApikeyModel} [payload]
106
112
  * @property {string} [trace_id]
113
+ * @property {Page} [page]
114
+ */
115
+ /**
116
+ * @typedef DataTresholdDTO
117
+ * @property {number} [min_price]
118
+ * @property {number} [safe_stock]
119
+ * @property {number} [period_threshold]
120
+ * @property {string} [period_threshold_type]
121
+ * @property {GenericDTO[]} [period_type_list]
122
+ */
123
+ /**
124
+ * @typedef GenericDTO
125
+ * @property {string} [text]
126
+ * @property {Object} [value]
127
+ */
128
+ /**
129
+ * @typedef JobConfigDTO
130
+ * @property {Object} [integration_data]
131
+ * @property {string} [company_name]
132
+ * @property {string} integration
133
+ * @property {number} company_id
134
+ * @property {TaskDTO} [task_details]
135
+ * @property {DataTresholdDTO} [threshold_details]
136
+ * @property {string} [job_code]
137
+ * @property {string} [alias]
107
138
  */
108
139
  /**
109
140
  * @typedef ResponseEnvelopeJobConfigDTO
141
+ * @property {string} [timestamp]
142
+ * @property {number} [status]
110
143
  * @property {string} [error]
111
144
  * @property {string} [exception]
145
+ * @property {string} [message]
146
+ * @property {number} [total_time_taken_in_millis]
112
147
  * @property {string} [http_status]
113
148
  * @property {JobConfigDTO} [items]
114
- * @property {string} [message]
115
- * @property {Page} [page]
116
149
  * @property {JobConfigDTO} [payload]
117
- * @property {number} [status]
118
- * @property {string} [timestamp]
119
- * @property {number} [total_time_taken_in_millis]
120
150
  * @property {string} [trace_id]
151
+ * @property {Page} [page]
152
+ */
153
+ /**
154
+ * @typedef TaskDTO
155
+ * @property {number} [type]
156
+ * @property {GenericDTO[]} [group_list]
121
157
  */
122
158
  /**
123
159
  * @typedef ResponseEnvelopeListJobConfigDTO
160
+ * @property {string} [timestamp]
161
+ * @property {number} [status]
124
162
  * @property {string} [error]
125
163
  * @property {string} [exception]
164
+ * @property {string} [message]
165
+ * @property {number} [total_time_taken_in_millis]
126
166
  * @property {string} [http_status]
127
167
  * @property {JobConfigDTO[]} [items]
128
- * @property {string} [message]
129
- * @property {Page} [page]
130
168
  * @property {JobConfigDTO[]} [payload]
131
- * @property {number} [status]
132
- * @property {string} [timestamp]
133
- * @property {number} [total_time_taken_in_millis]
134
169
  * @property {string} [trace_id]
170
+ * @property {Page} [page]
135
171
  */
136
172
  /**
137
173
  * @typedef ResponseEnvelopeObject
174
+ * @property {string} [timestamp]
175
+ * @property {number} [status]
138
176
  * @property {string} [error]
139
177
  * @property {string} [exception]
178
+ * @property {string} [message]
179
+ * @property {number} [total_time_taken_in_millis]
140
180
  * @property {string} [http_status]
141
181
  * @property {Object} [items]
142
- * @property {string} [message]
143
- * @property {Page} [page]
144
182
  * @property {Object} [payload]
145
- * @property {number} [status]
146
- * @property {string} [timestamp]
147
- * @property {number} [total_time_taken_in_millis]
148
183
  * @property {string} [trace_id]
149
- */
150
- /**
151
- * @typedef ResponseEnvelopeSlingshotConfigurationDetail
152
- * @property {string} [error]
153
- * @property {string} [exception]
154
- * @property {string} [http_status]
155
- * @property {SlingshotConfigurationDetail} [items]
156
- * @property {string} [message]
157
184
  * @property {Page} [page]
158
- * @property {SlingshotConfigurationDetail} [payload]
159
- * @property {number} [status]
160
- * @property {string} [timestamp]
161
- * @property {number} [total_time_taken_in_millis]
162
- * @property {string} [trace_id]
163
- */
164
- /**
165
- * @typedef SlingshotConfigurationDetail
166
- * @property {GCompany[]} [companies]
167
- * @property {SlingshotIntegration} [integration]
168
- */
169
- /**
170
- * @typedef SlingshotIntegration
171
- * @property {string} [_id]
172
- * @property {string} [description]
173
- * @property {Metum[]} [meta]
174
- * @property {string} [name]
175
- * @property {string} [slug]
176
- */
177
- /**
178
- * @typedef StoreData
179
- * @property {string} [location_id]
180
- */
181
- /**
182
- * @typedef TaskDTO
183
- * @property {GenericDTO[]} [group_list]
184
- * @property {number} [type]
185
185
  */
186
186
  declare class InventoryPublicModel {
187
187
  }
188
188
  declare namespace InventoryPublicModel {
189
- export { ApikeyModel, DataTresholdDTO, EmailJobMetrics, GCompany, GenericDTO, GStore, JobConfigDTO, Metum, Page, ResponseEnvelopeApikeyModel, ResponseEnvelopeEmailJobMetrics, ResponseEnvelopeJobConfigDTO, ResponseEnvelopeListJobConfigDTO, ResponseEnvelopeObject, ResponseEnvelopeSlingshotConfigurationDetail, SlingshotConfigurationDetail, SlingshotIntegration, StoreData, TaskDTO };
189
+ export { EmailJobMetrics, Page, ResponseEnvelopeEmailJobMetrics, GCompany, GStore, Metum, ResponseEnvelopeSlingshotConfigurationDetail, SlingshotConfigurationDetail, SlingshotIntegration, StoreData, ApikeyModel, ResponseEnvelopeApikeyModel, DataTresholdDTO, GenericDTO, JobConfigDTO, ResponseEnvelopeJobConfigDTO, TaskDTO, ResponseEnvelopeListJobConfigDTO, ResponseEnvelopeObject };
190
190
  }
191
- /** @returns {ApikeyModel} */
192
- declare function ApikeyModel(): ApikeyModel;
193
- type ApikeyModel = {
194
- error_message?: string;
195
- session_id?: string;
196
- };
197
- /** @returns {DataTresholdDTO} */
198
- declare function DataTresholdDTO(): DataTresholdDTO;
199
- type DataTresholdDTO = {
200
- min_price?: number;
201
- period_threshold?: number;
202
- period_threshold_type?: string;
203
- period_type_list?: GenericDTO[];
204
- safe_stock?: number;
205
- };
206
191
  /** @returns {EmailJobMetrics} */
207
192
  declare function EmailJobMetrics(): EmailJobMetrics;
208
193
  type EmailJobMetrics = {
209
- daily_job?: boolean;
210
194
  executed?: boolean;
211
195
  id?: string;
212
196
  job_code?: string;
197
+ daily_job?: boolean;
213
198
  last_executed_on?: string;
214
199
  };
200
+ /** @returns {Page} */
201
+ declare function Page(): Page;
202
+ type Page = {
203
+ type: string;
204
+ size?: number;
205
+ current?: number;
206
+ has_next?: boolean;
207
+ item_total?: number;
208
+ next_id?: string;
209
+ has_previous?: boolean;
210
+ };
211
+ /** @returns {ResponseEnvelopeEmailJobMetrics} */
212
+ declare function ResponseEnvelopeEmailJobMetrics(): ResponseEnvelopeEmailJobMetrics;
213
+ type ResponseEnvelopeEmailJobMetrics = {
214
+ timestamp?: string;
215
+ status?: number;
216
+ error?: string;
217
+ exception?: string;
218
+ message?: string;
219
+ total_time_taken_in_millis?: number;
220
+ http_status?: string;
221
+ items?: EmailJobMetrics;
222
+ payload?: EmailJobMetrics;
223
+ trace_id?: string;
224
+ page?: Page;
225
+ };
215
226
  /** @returns {GCompany} */
216
227
  declare function GCompany(): GCompany;
217
228
  type GCompany = {
218
229
  _id?: string;
219
230
  integration?: string;
220
231
  level?: string;
221
- name?: string;
232
+ uid?: number;
222
233
  opted?: boolean;
223
234
  permissions?: string[];
224
- stores?: GStore[];
225
235
  token?: string;
226
- uid?: number;
227
- };
228
- /** @returns {GenericDTO} */
229
- declare function GenericDTO(): GenericDTO;
230
- type GenericDTO = {
231
- text?: string;
232
- value?: any;
236
+ name?: string;
237
+ stores?: GStore[];
233
238
  };
234
239
  /** @returns {GStore} */
235
240
  declare function GStore(): GStore;
236
241
  type GStore = {
237
242
  _id?: string;
238
- code?: string;
239
- data?: StoreData;
240
243
  integration?: string;
241
244
  level?: string;
242
- name?: string;
245
+ uid?: number;
243
246
  opted?: boolean;
244
247
  permissions?: string[];
245
248
  token?: string;
246
- uid?: number;
247
- };
248
- /** @returns {JobConfigDTO} */
249
- declare function JobConfigDTO(): JobConfigDTO;
250
- type JobConfigDTO = {
251
- alias?: string;
252
- company_id: number;
253
- company_name?: string;
254
- integration: string;
255
- integration_data?: any;
256
- job_code?: string;
257
- task_details?: TaskDTO;
258
- threshold_details?: DataTresholdDTO;
249
+ code?: string;
250
+ name?: string;
251
+ data?: StoreData;
259
252
  };
260
253
  /** @returns {Metum} */
261
254
  declare function Metum(): Metum;
@@ -264,130 +257,137 @@ type Metum = {
264
257
  name?: string;
265
258
  value?: string;
266
259
  };
267
- /** @returns {Page} */
268
- declare function Page(): Page;
269
- type Page = {
270
- current?: number;
271
- has_next?: boolean;
272
- has_previous?: boolean;
273
- item_total?: number;
274
- next_id?: string;
275
- size?: number;
276
- type: string;
277
- };
278
- /** @returns {ResponseEnvelopeApikeyModel} */
279
- declare function ResponseEnvelopeApikeyModel(): ResponseEnvelopeApikeyModel;
280
- type ResponseEnvelopeApikeyModel = {
260
+ /** @returns {ResponseEnvelopeSlingshotConfigurationDetail} */
261
+ declare function ResponseEnvelopeSlingshotConfigurationDetail(): ResponseEnvelopeSlingshotConfigurationDetail;
262
+ type ResponseEnvelopeSlingshotConfigurationDetail = {
263
+ timestamp?: string;
264
+ status?: number;
281
265
  error?: string;
282
266
  exception?: string;
283
- http_status?: string;
284
- items?: ApikeyModel;
285
267
  message?: string;
286
- page?: Page;
287
- payload?: ApikeyModel;
288
- status?: number;
289
- timestamp?: string;
290
268
  total_time_taken_in_millis?: number;
269
+ http_status?: string;
270
+ items?: SlingshotConfigurationDetail;
271
+ payload?: SlingshotConfigurationDetail;
291
272
  trace_id?: string;
273
+ page?: Page;
292
274
  };
293
- /** @returns {ResponseEnvelopeEmailJobMetrics} */
294
- declare function ResponseEnvelopeEmailJobMetrics(): ResponseEnvelopeEmailJobMetrics;
295
- type ResponseEnvelopeEmailJobMetrics = {
275
+ /** @returns {SlingshotConfigurationDetail} */
276
+ declare function SlingshotConfigurationDetail(): SlingshotConfigurationDetail;
277
+ type SlingshotConfigurationDetail = {
278
+ integration?: SlingshotIntegration;
279
+ companies?: GCompany[];
280
+ };
281
+ /** @returns {SlingshotIntegration} */
282
+ declare function SlingshotIntegration(): SlingshotIntegration;
283
+ type SlingshotIntegration = {
284
+ _id?: string;
285
+ description?: string;
286
+ name?: string;
287
+ slug?: string;
288
+ meta?: Metum[];
289
+ };
290
+ /** @returns {StoreData} */
291
+ declare function StoreData(): StoreData;
292
+ type StoreData = {
293
+ location_id?: string;
294
+ };
295
+ /** @returns {ApikeyModel} */
296
+ declare function ApikeyModel(): ApikeyModel;
297
+ type ApikeyModel = {
298
+ session_id?: string;
299
+ error_message?: string;
300
+ };
301
+ /** @returns {ResponseEnvelopeApikeyModel} */
302
+ declare function ResponseEnvelopeApikeyModel(): ResponseEnvelopeApikeyModel;
303
+ type ResponseEnvelopeApikeyModel = {
304
+ timestamp?: string;
305
+ status?: number;
296
306
  error?: string;
297
307
  exception?: string;
298
- http_status?: string;
299
- items?: EmailJobMetrics;
300
308
  message?: string;
301
- page?: Page;
302
- payload?: EmailJobMetrics;
303
- status?: number;
304
- timestamp?: string;
305
309
  total_time_taken_in_millis?: number;
310
+ http_status?: string;
311
+ items?: ApikeyModel;
312
+ payload?: ApikeyModel;
306
313
  trace_id?: string;
314
+ page?: Page;
315
+ };
316
+ /** @returns {DataTresholdDTO} */
317
+ declare function DataTresholdDTO(): DataTresholdDTO;
318
+ type DataTresholdDTO = {
319
+ min_price?: number;
320
+ safe_stock?: number;
321
+ period_threshold?: number;
322
+ period_threshold_type?: string;
323
+ period_type_list?: GenericDTO[];
324
+ };
325
+ /** @returns {GenericDTO} */
326
+ declare function GenericDTO(): GenericDTO;
327
+ type GenericDTO = {
328
+ text?: string;
329
+ value?: any;
330
+ };
331
+ /** @returns {JobConfigDTO} */
332
+ declare function JobConfigDTO(): JobConfigDTO;
333
+ type JobConfigDTO = {
334
+ integration_data?: any;
335
+ company_name?: string;
336
+ integration: string;
337
+ company_id: number;
338
+ task_details?: TaskDTO;
339
+ threshold_details?: DataTresholdDTO;
340
+ job_code?: string;
341
+ alias?: string;
307
342
  };
308
343
  /** @returns {ResponseEnvelopeJobConfigDTO} */
309
344
  declare function ResponseEnvelopeJobConfigDTO(): ResponseEnvelopeJobConfigDTO;
310
345
  type ResponseEnvelopeJobConfigDTO = {
346
+ timestamp?: string;
347
+ status?: number;
311
348
  error?: string;
312
349
  exception?: string;
350
+ message?: string;
351
+ total_time_taken_in_millis?: number;
313
352
  http_status?: string;
314
353
  items?: JobConfigDTO;
315
- message?: string;
316
- page?: Page;
317
354
  payload?: JobConfigDTO;
318
- status?: number;
319
- timestamp?: string;
320
- total_time_taken_in_millis?: number;
321
355
  trace_id?: string;
356
+ page?: Page;
357
+ };
358
+ /** @returns {TaskDTO} */
359
+ declare function TaskDTO(): TaskDTO;
360
+ type TaskDTO = {
361
+ type?: number;
362
+ group_list?: GenericDTO[];
322
363
  };
323
364
  /** @returns {ResponseEnvelopeListJobConfigDTO} */
324
365
  declare function ResponseEnvelopeListJobConfigDTO(): ResponseEnvelopeListJobConfigDTO;
325
366
  type ResponseEnvelopeListJobConfigDTO = {
367
+ timestamp?: string;
368
+ status?: number;
326
369
  error?: string;
327
370
  exception?: string;
371
+ message?: string;
372
+ total_time_taken_in_millis?: number;
328
373
  http_status?: string;
329
374
  items?: JobConfigDTO[];
330
- message?: string;
331
- page?: Page;
332
375
  payload?: JobConfigDTO[];
333
- status?: number;
334
- timestamp?: string;
335
- total_time_taken_in_millis?: number;
336
376
  trace_id?: string;
377
+ page?: Page;
337
378
  };
338
379
  /** @returns {ResponseEnvelopeObject} */
339
380
  declare function ResponseEnvelopeObject(): ResponseEnvelopeObject;
340
381
  type ResponseEnvelopeObject = {
382
+ timestamp?: string;
383
+ status?: number;
341
384
  error?: string;
342
385
  exception?: string;
386
+ message?: string;
387
+ total_time_taken_in_millis?: number;
343
388
  http_status?: string;
344
389
  items?: any;
345
- message?: string;
346
- page?: Page;
347
390
  payload?: any;
348
- status?: number;
349
- timestamp?: string;
350
- total_time_taken_in_millis?: number;
351
391
  trace_id?: string;
352
- };
353
- /** @returns {ResponseEnvelopeSlingshotConfigurationDetail} */
354
- declare function ResponseEnvelopeSlingshotConfigurationDetail(): ResponseEnvelopeSlingshotConfigurationDetail;
355
- type ResponseEnvelopeSlingshotConfigurationDetail = {
356
- error?: string;
357
- exception?: string;
358
- http_status?: string;
359
- items?: SlingshotConfigurationDetail;
360
- message?: string;
361
392
  page?: Page;
362
- payload?: SlingshotConfigurationDetail;
363
- status?: number;
364
- timestamp?: string;
365
- total_time_taken_in_millis?: number;
366
- trace_id?: string;
367
- };
368
- /** @returns {SlingshotConfigurationDetail} */
369
- declare function SlingshotConfigurationDetail(): SlingshotConfigurationDetail;
370
- type SlingshotConfigurationDetail = {
371
- companies?: GCompany[];
372
- integration?: SlingshotIntegration;
373
- };
374
- /** @returns {SlingshotIntegration} */
375
- declare function SlingshotIntegration(): SlingshotIntegration;
376
- type SlingshotIntegration = {
377
- _id?: string;
378
- description?: string;
379
- meta?: Metum[];
380
- name?: string;
381
- slug?: string;
382
- };
383
- /** @returns {StoreData} */
384
- declare function StoreData(): StoreData;
385
- type StoreData = {
386
- location_id?: string;
387
- };
388
- /** @returns {TaskDTO} */
389
- declare function TaskDTO(): TaskDTO;
390
- type TaskDTO = {
391
- group_list?: GenericDTO[];
392
- type?: number;
393
393
  };