@gofynd/fdk-client-javascript 1.0.2 → 1.0.4

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 (346) hide show
  1. package/README.md +31 -2
  2. package/index.d.ts +4 -4
  3. package/index.js +9 -10
  4. package/package.json +14 -14
  5. package/sdk/APIClient.d.ts +11 -0
  6. package/sdk/APIClient.js +35 -0
  7. package/sdk/Client.d.ts +6 -0
  8. package/sdk/Client.js +17 -0
  9. package/sdk/Config.d.ts +9 -0
  10. package/sdk/Config.js +17 -0
  11. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  12. package/sdk/application/Cart/CartApplicationClient.js +595 -594
  13. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  14. package/sdk/application/Cart/CartApplicationModel.js +490 -885
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  16. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  17. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  18. package/sdk/application/Catalog/CatalogApplicationClient.js +1079 -1078
  19. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  20. package/sdk/application/Catalog/CatalogApplicationModel.js +683 -1249
  21. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  22. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  23. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  24. package/sdk/application/Common/CommonApplicationClient.js +43 -42
  25. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  26. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  27. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  28. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  29. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  30. package/sdk/application/Communication/CommunicationApplicationClient.js +32 -31
  31. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  32. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  33. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  34. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  35. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.js +350 -349
  37. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  39. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  41. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  42. package/sdk/application/Content/ContentApplicationClient.js +216 -215
  43. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
  44. package/sdk/application/Content/ContentApplicationModel.js +468 -884
  45. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  46. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  47. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.js +65 -64
  49. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  51. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  53. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  54. package/sdk/application/Lead/LeadApplicationClient.js +109 -108
  55. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  56. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  57. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  58. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  59. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +31 -22
  60. package/sdk/application/Logistic/LogisticApplicationClient.js +115 -49
  61. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  62. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  63. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  64. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -9
  65. package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
  66. package/sdk/application/Order/OrderApplicationClient.js +247 -246
  67. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  68. package/sdk/application/Order/OrderApplicationModel.js +361 -656
  69. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  70. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  71. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  72. package/sdk/application/Payment/PaymentApplicationClient.js +781 -780
  73. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  74. package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
  75. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  76. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  77. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  78. package/sdk/application/PosCart/PosCartApplicationClient.js +646 -645
  79. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
  80. package/sdk/application/PosCart/PosCartApplicationModel.js +476 -870
  81. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  82. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  83. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  84. package/sdk/application/Rewards/RewardsApplicationClient.js +122 -121
  85. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  86. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  87. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  88. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  89. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  90. package/sdk/application/Share/ShareApplicationClient.js +94 -93
  91. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  92. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  93. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  94. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  95. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  96. package/sdk/application/Theme/ThemeApplicationClient.js +38 -37
  97. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  98. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  99. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  100. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  101. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  102. package/sdk/application/User/UserApplicationClient.js +619 -618
  103. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  104. package/sdk/application/User/UserApplicationModel.js +440 -689
  105. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  106. package/sdk/application/User/UserApplicationValidator.js +89 -89
  107. package/sdk/common/AxiosHelper.js +18 -7
  108. package/sdk/constructUrl.d.ts +5 -0
  109. package/sdk/constructUrl.js +13 -0
  110. package/sdk/index.d.ts +3 -0
  111. package/sdk/index.js +5 -0
  112. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +182 -180
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  115. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +21 -21
  116. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
  117. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  118. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  119. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +44 -43
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +7 -6
  126. package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
  127. package/sdk/platform/Billing/BillingPlatformClient.js +184 -183
  128. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  129. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  130. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  131. package/sdk/platform/Billing/BillingPlatformValidator.js +26 -25
  132. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +192 -165
  133. package/sdk/platform/Cart/CartPlatformApplicationClient.js +686 -510
  134. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +14 -11
  135. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +77 -61
  136. package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
  137. package/sdk/platform/Cart/CartPlatformModel.js +676 -1206
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1558 -1556
  140. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
  142. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +688 -688
  143. package/sdk/platform/Catalog/CatalogPlatformClient.js +1556 -1559
  144. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
  145. package/sdk/platform/Catalog/CatalogPlatformModel.js +2133 -3910
  146. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
  147. package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -228
  148. package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
  149. package/sdk/platform/Common/CommonPlatformClient.js +40 -51
  150. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  151. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  152. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  153. package/sdk/platform/Common/CommonPlatformValidator.js +7 -6
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +945 -943
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +88 -88
  158. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +217 -216
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -24
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +617 -552
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +70 -64
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +348 -347
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +39 -38
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +524 -534
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1287 -1346
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +49 -50
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +153 -159
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
  183. package/sdk/platform/Content/ContentPlatformModel.js +485 -907
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +219 -218
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +30 -29
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +25 -25
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +83 -61
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +9 -9
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +53 -53
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +147 -125
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +12 -11
  200. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
  201. package/sdk/platform/Inventory/InventoryPlatformClient.js +231 -230
  202. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  203. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  204. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  205. package/sdk/platform/Inventory/InventoryPlatformValidator.js +29 -28
  206. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
  207. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +203 -201
  208. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  209. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +29 -29
  210. package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
  211. package/sdk/platform/Lead/LeadPlatformClient.js +215 -214
  212. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  213. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  214. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  215. package/sdk/platform/Lead/LeadPlatformValidator.js +25 -24
  216. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  217. package/sdk/platform/Order/OrderPlatformApplicationClient.js +68 -66
  218. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +7 -7
  220. package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
  221. package/sdk/platform/Order/OrderPlatformClient.js +1046 -1033
  222. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
  223. package/sdk/platform/Order/OrderPlatformModel.js +1575 -2861
  224. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  225. package/sdk/platform/Order/OrderPlatformValidator.js +161 -160
  226. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
  227. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
  228. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  229. package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
  230. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +58 -58
  231. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +178 -178
  232. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  233. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +24 -24
  234. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
  235. package/sdk/platform/Payment/PaymentPlatformClient.js +156 -155
  236. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  237. package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
  238. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  239. package/sdk/platform/Payment/PaymentPlatformValidator.js +22 -21
  240. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
  241. package/sdk/platform/PlatformApplicationClient.js +1584 -13899
  242. package/sdk/platform/PlatformClient.d.ts +7972 -7888
  243. package/sdk/platform/PlatformClient.js +8678 -10107
  244. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +85 -85
  245. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +299 -280
  246. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  247. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +35 -35
  248. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  249. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  250. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  251. package/sdk/platform/Share/SharePlatformApplicationClient.js +62 -60
  252. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  253. package/sdk/platform/Share/SharePlatformApplicationValidator.js +7 -7
  254. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  255. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  256. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
  257. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +314 -312
  258. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  259. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +45 -45
  260. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  261. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  262. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
  263. package/sdk/platform/User/UserPlatformApplicationClient.js +507 -166
  264. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  265. package/sdk/platform/User/UserPlatformApplicationValidator.js +62 -24
  266. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  267. package/sdk/platform/User/UserPlatformModel.js +440 -689
  268. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
  269. package/sdk/platform/Webhook/WebhookPlatformClient.js +91 -90
  270. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  271. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  272. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  273. package/sdk/platform/Webhook/WebhookPlatformValidator.js +15 -14
  274. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  275. package/sdk/public/Configuration/ConfigurationPublicClient.js +40 -38
  276. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  277. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  278. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  279. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  280. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  281. package/sdk/public/Inventory/InventoryPublicClient.js +115 -113
  282. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  283. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  284. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  285. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  286. package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
  287. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  288. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  289. package/.github/workflows/on_create_release.yml +0 -23
  290. package/.github/workflows/on_merge_main.yml +0 -38
  291. package/.github/workflows/on_pull_request.yml +0 -35
  292. package/.prettierrc +0 -5
  293. package/documentation/application/CART.md +0 -7339
  294. package/documentation/application/CATALOG.md +0 -9597
  295. package/documentation/application/COMMON.md +0 -452
  296. package/documentation/application/COMMUNICATION.md +0 -467
  297. package/documentation/application/CONFIGURATION.md +0 -2906
  298. package/documentation/application/CONTENT.md +0 -3351
  299. package/documentation/application/FILESTORAGE.md +0 -578
  300. package/documentation/application/LEAD.md +0 -1895
  301. package/documentation/application/LOGISTIC.md +0 -765
  302. package/documentation/application/ORDER.md +0 -3432
  303. package/documentation/application/PAYMENT.md +0 -5221
  304. package/documentation/application/POSCART.md +0 -7938
  305. package/documentation/application/README.md +0 -21
  306. package/documentation/application/REWARDS.md +0 -708
  307. package/documentation/application/SHARE.md +0 -733
  308. package/documentation/application/THEME.md +0 -5800
  309. package/documentation/application/USER.md +0 -4335
  310. package/documentation/platform/ANALYTICS.md +0 -1154
  311. package/documentation/platform/AUDITTRAIL.md +0 -576
  312. package/documentation/platform/BILLING.md +0 -2400
  313. package/documentation/platform/CART.md +0 -5559
  314. package/documentation/platform/CATALOG.md +0 -23261
  315. package/documentation/platform/COMMON.md +0 -452
  316. package/documentation/platform/COMMUNICATION.md +0 -5718
  317. package/documentation/platform/COMPANYPROFILE.md +0 -2031
  318. package/documentation/platform/CONFIGURATION.md +0 -7339
  319. package/documentation/platform/CONTENT.md +0 -9098
  320. package/documentation/platform/DISCOUNT.md +0 -863
  321. package/documentation/platform/FILESTORAGE.md +0 -1081
  322. package/documentation/platform/INVENTORY.md +0 -1779
  323. package/documentation/platform/LEAD.md +0 -4740
  324. package/documentation/platform/ORDER.md +0 -8486
  325. package/documentation/platform/PARTNER.md +0 -220
  326. package/documentation/platform/PAYMENT.md +0 -3448
  327. package/documentation/platform/README.md +0 -27
  328. package/documentation/platform/REWARDS.md +0 -1083
  329. package/documentation/platform/SHARE.md +0 -606
  330. package/documentation/platform/THEME.md +0 -35729
  331. package/documentation/platform/USER.md +0 -2319
  332. package/documentation/platform/WEBHOOK.md +0 -591
  333. package/documentation/public/CONFIGURATION.md +0 -452
  334. package/documentation/public/INVENTORY.md +0 -690
  335. package/documentation/public/WEBHOOK.md +0 -352
  336. package/jest.config.d.ts +0 -4
  337. package/jest.config.js +0 -6
  338. package/tests/application/catalog.spec.js +0 -47
  339. package/tests/common/action-url.spec.js +0 -35
  340. package/tests/common/schema/action-url.json +0 -178
  341. package/tests/common/schema/url-action.json +0 -683
  342. package/tests/common/url-action.spec.js +0 -48
  343. package/tests/helpers/cookie.helper.js +0 -31
  344. package/tests/helpers/oauth.helper.js +0 -43
  345. package/tests/platform/catalog.spec.js +0 -49
  346. package/tests/public/location.spec.js +0 -39
@@ -1,1081 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
- ##### [Back to Platform docs](./README.md)
7
-
8
- ## FileStorage Methods
9
- File Storage
10
-
11
- * [upload](#upload)
12
-
13
- * [startUpload](#startupload)
14
- * [completeUpload](#completeupload)
15
- * [appStartUpload](#appstartupload)
16
- * [appCompleteUpload](#appcompleteupload)
17
- * [getSignUrls](#getsignurls)
18
- * [copyFiles](#copyfiles)
19
- * [appCopyFiles](#appcopyfiles)
20
- * [browse](#browse)
21
- * [browse](#browse)
22
- * [proxy](#proxy)
23
-
24
-
25
-
26
- ## Methods with example and description
27
-
28
-
29
-
30
-
31
- ### upload
32
- method which internally calls `startUpload` and `completeUpload` method to handle the whole file upload flow.
33
-
34
-
35
- ```javascript
36
- // Promise
37
- const promise = fileStorage.upload({
38
- data,
39
- file_name,
40
- content_type,
41
- namespace,
42
- size,
43
- tags,
44
- });
45
-
46
- // Async/Await
47
- const data = await fileStorage.upload({
48
- data,
49
- file_name,
50
- content_type,
51
- namespace,
52
- size,
53
- tags,
54
- });
55
- ```
56
- | Argument | Type | Required | Description |
57
- | --------- | ----- | -------- | ----------- |
58
- | data | file | yes | File which needs to be uploaded |
59
- | file_name | string | yes | Name of the file |
60
- | content_type | string | yes | type of file |
61
- | namespace | string | yes | Name of the bucket created for storing objects |
62
- | size | number | yes | File size |
63
- | tags | [string] | yes | |
64
-
65
-
66
- Use this API to perform the upload of an arbitrarily sized buffer or blob.
67
-
68
-
69
-
70
- *Returned Response:*
71
-
72
- [CompleteResponse](#CompleteResponse)
73
-
74
-
75
-
76
- <details>
77
- <summary><i>&nbsp; Example:</i></summary>
78
-
79
- ```json
80
- {
81
- "file_name":"logo.png",
82
- "file_path":"/path/to/file/logo.png",
83
- "success":true,
84
- "namespace":"namespace",
85
- "content_type":"image/png",
86
- "size":1024,
87
- "operation":"putObject",
88
- "tags":[],
89
- "cdn":{
90
- "url":"https://cdn.pixelbin.io/v2/logo.png",
91
- "absolute_url":"https://cdn.pixelbin.io/v2/logo.png",
92
- "relative_url":"logo.png"
93
- },
94
- "_id":"63dbbxxxxxxxxxxxxdecc69f",
95
- "created_by":{
96
- "username":"username_gofynd_com"
97
- },
98
- "created_on":"2023-01-01T12:00:00.000Z",
99
- "modified_on":"2023-01-01T00:00:00.000Z"
100
- }
101
- ```
102
- </details>
103
-
104
- ---
105
-
106
-
107
-
108
-
109
-
110
- ### startUpload
111
- This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob.
112
-
113
-
114
-
115
- ```javascript
116
- // Promise
117
- const promise = client.fileStorage.startUpload({ namespace : value,
118
- body : value });
119
-
120
- // Async/Await
121
- const data = await client.fileStorage.startUpload({ namespace : value,
122
- body : value });
123
- ```
124
-
125
-
126
-
127
-
128
-
129
- | Argument | Type | Required | Description |
130
- | --------- | ----- | -------- | ----------- |
131
- | namespace | string | yes | bucket name |
132
- | body | [StartRequest](#StartRequest) | yes | Request body |
133
-
134
-
135
- Uploads an arbitrarily sized buffer or blob.
136
-
137
- It has three Major Steps:
138
- * Start
139
- * Upload
140
- * Complete
141
-
142
- ### Start
143
- Initiates the assets upload using `startUpload`.
144
- It returns the storage link in response.
145
-
146
- ### Upload
147
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
148
- Make a `PUT` request on storage link received from `startUpload` api with file (Buffer or Blob) as a request body.
149
-
150
- ### Complete
151
- After successfully upload, call `completeUpload` api to complete the upload process.
152
- This operation will return the url for the uploaded file.
153
-
154
-
155
- *Returned Response:*
156
-
157
-
158
-
159
-
160
- [StartResponse](#StartResponse)
161
-
162
- Success
163
-
164
-
165
-
166
-
167
- <details>
168
- <summary><i>&nbsp; Example:</i></summary>
169
-
170
- ```json
171
-
172
- ```
173
- </details>
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
- ---
184
-
185
-
186
- ### completeUpload
187
- This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process.
188
-
189
-
190
-
191
- ```javascript
192
- // Promise
193
- const promise = client.fileStorage.completeUpload({ namespace : value,
194
- body : value });
195
-
196
- // Async/Await
197
- const data = await client.fileStorage.completeUpload({ namespace : value,
198
- body : value });
199
- ```
200
-
201
-
202
-
203
-
204
-
205
- | Argument | Type | Required | Description |
206
- | --------- | ----- | -------- | ----------- |
207
- | namespace | string | yes | bucket name |
208
- | body | [StartResponse](#StartResponse) | yes | Request body |
209
-
210
-
211
- Uploads an arbitrarily sized buffer or blob.
212
-
213
- It has three Major Steps:
214
- * Start
215
- * Upload
216
- * Complete
217
-
218
- ### Start
219
- Initiates the assets upload using `startUpload`.
220
- It returns the storage link in response.
221
-
222
- ### Upload
223
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
224
- Make a `PUT` request on storage link received from `startUpload` api with file (Buffer or Blob) as a request body.
225
-
226
- ### Complete
227
- After successfully upload, call `completeUpload` api to complete the upload process.
228
- This operation will return the url for the uploaded file.
229
-
230
-
231
- *Returned Response:*
232
-
233
-
234
-
235
-
236
- [CompleteResponse](#CompleteResponse)
237
-
238
- Success
239
-
240
-
241
-
242
-
243
- <details>
244
- <summary><i>&nbsp; Example:</i></summary>
245
-
246
- ```json
247
-
248
- ```
249
- </details>
250
-
251
-
252
-
253
-
254
-
255
-
256
-
257
-
258
-
259
- ---
260
-
261
-
262
- ### appStartUpload
263
- This operation initiates upload and returns storage link which is valid for 30 Minutes. You can use that storage link to make subsequent upload request with file buffer or blob.
264
-
265
-
266
-
267
- ```javascript
268
- // Promise
269
- const promise = client.application("<APPLICATION_ID>").fileStorage.appStartUpload({ namespace : value,
270
- body : value });
271
-
272
- // Async/Await
273
- const data = await client.application("<APPLICATION_ID>").fileStorage.appStartUpload({ namespace : value,
274
- body : value });
275
- ```
276
-
277
-
278
-
279
-
280
-
281
- | Argument | Type | Required | Description |
282
- | --------- | ----- | -------- | ----------- |
283
- | namespace | string | yes | bucket name |
284
- | body | [StartRequest](#StartRequest) | yes | Request body |
285
-
286
-
287
- Uploads an arbitrarily sized buffer or blob.
288
-
289
- It has three Major Steps:
290
- * Start
291
- * Upload
292
- * Complete
293
-
294
- ### Start
295
- Initiates the assets upload using `appStartUpload`.
296
- It returns the storage link in response.
297
-
298
- ### Upload
299
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
300
- Make a `PUT` request on storage link received from `appStartUpload` api with file (Buffer or Blob) as a request body.
301
-
302
- ### Complete
303
- After successfully upload, call `appCompleteUpload` api to complete the upload process.
304
- This operation will return the url for the uploaded file.
305
-
306
-
307
- *Returned Response:*
308
-
309
-
310
-
311
-
312
- [StartResponse](#StartResponse)
313
-
314
- Success
315
-
316
-
317
-
318
-
319
- <details>
320
- <summary><i>&nbsp; Example:</i></summary>
321
-
322
- ```json
323
-
324
- ```
325
- </details>
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
- ---
336
-
337
-
338
- ### appCompleteUpload
339
- This will complete the upload process. After successfully uploading file, you can call this operation to complete the upload process.
340
-
341
-
342
-
343
- ```javascript
344
- // Promise
345
- const promise = client.application("<APPLICATION_ID>").fileStorage.appCompleteUpload({ namespace : value,
346
- body : value });
347
-
348
- // Async/Await
349
- const data = await client.application("<APPLICATION_ID>").fileStorage.appCompleteUpload({ namespace : value,
350
- body : value });
351
- ```
352
-
353
-
354
-
355
-
356
-
357
- | Argument | Type | Required | Description |
358
- | --------- | ----- | -------- | ----------- |
359
- | namespace | string | yes | bucket name |
360
- | body | [StartResponse](#StartResponse) | yes | Request body |
361
-
362
-
363
- Uploads an arbitrarily sized buffer or blob.
364
-
365
- It has three Major Steps:
366
- * Start
367
- * Upload
368
- * Complete
369
-
370
- ### Start
371
- Initiates the assets upload using `appStartUpload`.
372
- It returns the storage link in response.
373
-
374
- ### Upload
375
- Use the storage link to upload a file (Buffer or Blob) to the File Storage.
376
- Make a `PUT` request on storage link received from `appStartUpload` api with file (Buffer or Blob) as a request body.
377
-
378
- ### Complete
379
- After successfully upload, call `appCompleteUpload` api to complete the upload process.
380
- This operation will return the url for the uploaded file.
381
-
382
-
383
- *Returned Response:*
384
-
385
-
386
-
387
-
388
- [CompleteResponse](#CompleteResponse)
389
-
390
- Success
391
-
392
-
393
-
394
-
395
- <details>
396
- <summary><i>&nbsp; Example:</i></summary>
397
-
398
- ```json
399
-
400
- ```
401
- </details>
402
-
403
-
404
-
405
-
406
-
407
-
408
-
409
-
410
-
411
- ---
412
-
413
-
414
- ### getSignUrls
415
- Gives signed urls to access private files
416
-
417
-
418
-
419
- ```javascript
420
- // Promise
421
- const promise = client.fileStorage.getSignUrls({ body : value });
422
-
423
- // Async/Await
424
- const data = await client.fileStorage.getSignUrls({ body : value });
425
- ```
426
-
427
-
428
-
429
-
430
-
431
- | Argument | Type | Required | Description |
432
- | --------- | ----- | -------- | ----------- |
433
- | body | [SignUrlRequest](#SignUrlRequest) | yes | Request body |
434
-
435
-
436
- Describe here
437
-
438
- *Returned Response:*
439
-
440
-
441
-
442
-
443
- [SignUrlResponse](#SignUrlResponse)
444
-
445
- Success
446
-
447
-
448
-
449
-
450
- <details>
451
- <summary><i>&nbsp; Example:</i></summary>
452
-
453
- ```json
454
-
455
- ```
456
- </details>
457
-
458
-
459
-
460
-
461
-
462
-
463
-
464
-
465
-
466
- ---
467
-
468
-
469
- ### copyFiles
470
- Copy Files
471
-
472
-
473
-
474
- ```javascript
475
- // Promise
476
- const promise = client.fileStorage.copyFiles({ body : value,
477
- sync : value });
478
-
479
- // Async/Await
480
- const data = await client.fileStorage.copyFiles({ body : value,
481
- sync : value });
482
- ```
483
-
484
-
485
-
486
-
487
-
488
- | Argument | Type | Required | Description |
489
- | --------- | ----- | -------- | ----------- |
490
- | sync | boolean | no | sync |
491
- | body | [BulkRequest](#BulkRequest) | yes | Request body |
492
-
493
-
494
- Copy Files
495
-
496
- *Returned Response:*
497
-
498
-
499
-
500
-
501
- [BulkUploadResponse](#BulkUploadResponse)
502
-
503
- Success
504
-
505
-
506
-
507
-
508
- <details>
509
- <summary><i>&nbsp; Example:</i></summary>
510
-
511
- ```json
512
- {
513
- "tracking_url": "https://xxx.xxx.xxx/2",
514
- "task": {
515
- "id": "2",
516
- "name": "__default__",
517
- "data": {
518
- "urls": [
519
- "https://xxx.xxx.xxx/files.csv"
520
- ],
521
- "destination": {
522
- "namespace": "/domaine/path",
523
- "rewrite": "{{namespace}}/bar/{{dest.path}}"
524
- }
525
- },
526
- "opts": {
527
- "attempts": 1,
528
- "delay": 0,
529
- "timestamp": 1613534206645
530
- },
531
- "progress": 0,
532
- "delay": 0,
533
- "timestamp": 1613534206645,
534
- "attempts_made": 0,
535
- "stacktrace": [],
536
- "finished_on": 1613534206645,
537
- "processed_on": 1613534206645
538
- }
539
- }
540
- ```
541
- </details>
542
-
543
-
544
-
545
-
546
-
547
-
548
-
549
-
550
-
551
- ---
552
-
553
-
554
- ### appCopyFiles
555
- Copy Files
556
-
557
-
558
-
559
- ```javascript
560
- // Promise
561
- const promise = client.application("<APPLICATION_ID>").fileStorage.appCopyFiles({ body : value,
562
- sync : value });
563
-
564
- // Async/Await
565
- const data = await client.application("<APPLICATION_ID>").fileStorage.appCopyFiles({ body : value,
566
- sync : value });
567
- ```
568
-
569
-
570
-
571
-
572
-
573
- | Argument | Type | Required | Description |
574
- | --------- | ----- | -------- | ----------- |
575
- | sync | boolean | no | sync |
576
- | body | [BulkRequest](#BulkRequest) | yes | Request body |
577
-
578
-
579
- Copy Files
580
-
581
- *Returned Response:*
582
-
583
-
584
-
585
-
586
- [BulkUploadResponse](#BulkUploadResponse)
587
-
588
- Success
589
-
590
-
591
-
592
-
593
- <details>
594
- <summary><i>&nbsp; Example:</i></summary>
595
-
596
- ```json
597
- {
598
- "tracking_url": "https://xxx.xxx.xxx/2",
599
- "task": {
600
- "id": "2",
601
- "name": "__default__",
602
- "data": {
603
- "urls": [
604
- "https://xxx.xxx.xxx/files.csv"
605
- ],
606
- "destination": {
607
- "namespace": "/domaine/path",
608
- "rewrite": "{{namespace}}/bar/{{dest.path}}"
609
- }
610
- },
611
- "opts": {
612
- "attempts": 1,
613
- "delay": 0,
614
- "timestamp": 1613534206645
615
- },
616
- "progress": 0,
617
- "delay": 0,
618
- "timestamp": 1613534206645,
619
- "attempts_made": 0,
620
- "stacktrace": [],
621
- "finished_on": 1613534206645,
622
- "processed_on": 1613534206645
623
- }
624
- }
625
- ```
626
- </details>
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
- ---
637
-
638
-
639
- ### browse
640
- Browse Files
641
-
642
-
643
-
644
- ```javascript
645
- // Promise
646
- const promise = client.fileStorage.browse({ namespace : value,
647
- pageNo : value });
648
-
649
- // Async/Await
650
- const data = await client.fileStorage.browse({ namespace : value,
651
- pageNo : value });
652
- ```
653
-
654
-
655
-
656
-
657
-
658
- | Argument | Type | Required | Description |
659
- | --------- | ----- | -------- | ----------- |
660
- | namespace | string | yes | bucket name |
661
- | pageNo | number | no | page no |
662
-
663
-
664
-
665
- Browse Files
666
-
667
- *Returned Response:*
668
-
669
-
670
-
671
-
672
- [BrowseResponse](#BrowseResponse)
673
-
674
- Success
675
-
676
-
677
-
678
-
679
- <details>
680
- <summary><i>&nbsp; Example:</i></summary>
681
-
682
- ```json
683
-
684
- ```
685
- </details>
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
- ---
696
-
697
-
698
- ### browse
699
- Browse Files
700
-
701
-
702
-
703
- ```javascript
704
- // Promise
705
- const promise = client.application("<APPLICATION_ID>").fileStorage.browse({ namespace : value,
706
- pageNo : value });
707
-
708
- // Async/Await
709
- const data = await client.application("<APPLICATION_ID>").fileStorage.browse({ namespace : value,
710
- pageNo : value });
711
- ```
712
-
713
-
714
-
715
-
716
-
717
- | Argument | Type | Required | Description |
718
- | --------- | ----- | -------- | ----------- |
719
- | namespace | string | yes | bucket name |
720
- | pageNo | number | no | page no |
721
-
722
-
723
-
724
- Browse Files
725
-
726
- *Returned Response:*
727
-
728
-
729
-
730
-
731
- [BrowseResponse](#BrowseResponse)
732
-
733
- Success
734
-
735
-
736
-
737
-
738
- <details>
739
- <summary><i>&nbsp; Example:</i></summary>
740
-
741
- ```json
742
-
743
- ```
744
- </details>
745
-
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
-
754
- ---
755
-
756
-
757
- ### proxy
758
- Proxy
759
-
760
-
761
-
762
- ```javascript
763
- // Promise
764
- const promise = client.fileStorage.proxy({ url : value });
765
-
766
- // Async/Await
767
- const data = await client.fileStorage.proxy({ url : value });
768
- ```
769
-
770
-
771
-
772
-
773
-
774
- | Argument | Type | Required | Description |
775
- | --------- | ----- | -------- | ----------- |
776
- | url | string | yes | url |
777
-
778
-
779
-
780
- Proxy
781
-
782
- *Returned Response:*
783
-
784
-
785
-
786
-
787
- [string](#string)
788
-
789
- Success
790
-
791
-
792
-
793
-
794
- <details>
795
- <summary><i>&nbsp; Example:</i></summary>
796
-
797
- ```json
798
-
799
- ```
800
- </details>
801
-
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
- ---
811
-
812
-
813
-
814
- ### Schemas
815
-
816
-
817
-
818
- #### [FailedResponse](#FailedResponse)
819
-
820
- | Properties | Type | Nullable | Description |
821
- | ---------- | ---- | -------- | ----------- |
822
- | message | string | yes | |
823
-
824
- ---
825
-
826
-
827
-
828
-
829
- #### [CDN](#CDN)
830
-
831
- | Properties | Type | Nullable | Description |
832
- | ---------- | ---- | -------- | ----------- |
833
- | url | string | yes | |
834
- | absolute_url | string | no | |
835
- | relative_url | string | no | |
836
-
837
- ---
838
-
839
-
840
-
841
-
842
- #### [Upload](#Upload)
843
-
844
- | Properties | Type | Nullable | Description |
845
- | ---------- | ---- | -------- | ----------- |
846
- | expiry | number | yes | |
847
- | url | string | yes | |
848
-
849
- ---
850
-
851
-
852
-
853
-
854
- #### [StartResponse](#StartResponse)
855
-
856
- | Properties | Type | Nullable | Description |
857
- | ---------- | ---- | -------- | ----------- |
858
- | file_name | string | yes | |
859
- | file_path | string | yes | |
860
- | content_type | string | yes | |
861
- | method | string | no | |
862
- | namespace | string | yes | |
863
- | operation | string | yes | |
864
- | size | number | yes | |
865
- | upload | [Upload](#Upload) | yes | |
866
- | cdn | [CDN](#CDN) | yes | |
867
- | tags | [string] | no | |
868
-
869
- ---
870
-
871
-
872
-
873
-
874
- #### [StartRequest](#StartRequest)
875
-
876
- | Properties | Type | Nullable | Description |
877
- | ---------- | ---- | -------- | ----------- |
878
- | file_name | string | yes | |
879
- | content_type | string | yes | |
880
- | size | number | yes | |
881
- | tags | [string] | no | |
882
- | params | string | no | |
883
-
884
- ---
885
-
886
-
887
-
888
-
889
- #### [CompleteResponse](#CompleteResponse)
890
-
891
- | Properties | Type | Nullable | Description |
892
- | ---------- | ---- | -------- | ----------- |
893
- | _id | string | yes | |
894
- | file_name | string | yes | |
895
- | file_path | string | yes | |
896
- | content_type | string | yes | |
897
- | namespace | string | yes | |
898
- | operation | string | yes | |
899
- | size | number | yes | |
900
- | upload | [Upload](#Upload) | yes | |
901
- | cdn | [CDN](#CDN) | yes | |
902
- | success | boolean | yes | |
903
- | tags | [string] | no | |
904
- | created_on | string | yes | |
905
- | modified_on | string | yes | |
906
-
907
- ---
908
-
909
-
910
-
911
-
912
- #### [Opts](#Opts)
913
-
914
- | Properties | Type | Nullable | Description |
915
- | ---------- | ---- | -------- | ----------- |
916
- | attempts | number | no | |
917
- | timestamp | number | no | |
918
- | delay | number | no | |
919
-
920
- ---
921
-
922
-
923
-
924
-
925
- #### [CopyFileTask](#CopyFileTask)
926
-
927
- | Properties | Type | Nullable | Description |
928
- | ---------- | ---- | -------- | ----------- |
929
- | id | string | yes | |
930
- | name | string | yes | |
931
- | data | [BulkRequest](#BulkRequest) | yes | |
932
- | opts | [Opts](#Opts) | yes | |
933
- | progress | number | yes | |
934
- | delay | number | yes | |
935
- | timestamp | number | yes | |
936
- | attempts_made | number | yes | |
937
- | stacktrace | [string] | no | |
938
- | finished_on | number | yes | |
939
- | processed_on | number | yes | |
940
-
941
- ---
942
-
943
-
944
-
945
-
946
- #### [BulkUploadResponse](#BulkUploadResponse)
947
-
948
- | Properties | Type | Nullable | Description |
949
- | ---------- | ---- | -------- | ----------- |
950
- | tracking_url | string | yes | |
951
- | task | [CopyFileTask](#CopyFileTask) | yes | |
952
-
953
- ---
954
-
955
-
956
-
957
-
958
- #### [ReqConfiguration](#ReqConfiguration)
959
-
960
- | Properties | Type | Nullable | Description |
961
- | ---------- | ---- | -------- | ----------- |
962
- | concurrency | number | no | |
963
-
964
- ---
965
-
966
-
967
-
968
-
969
- #### [Destination](#Destination)
970
-
971
- | Properties | Type | Nullable | Description |
972
- | ---------- | ---- | -------- | ----------- |
973
- | namespace | string | yes | |
974
- | rewrite | string | yes | |
975
- | basepath | string | no | |
976
-
977
- ---
978
-
979
-
980
-
981
-
982
- #### [BulkRequest](#BulkRequest)
983
-
984
- | Properties | Type | Nullable | Description |
985
- | ---------- | ---- | -------- | ----------- |
986
- | urls | [string] | yes | |
987
- | destination | [Destination](#Destination) | yes | |
988
- | configuration | [ReqConfiguration](#ReqConfiguration) | no | |
989
-
990
- ---
991
-
992
-
993
-
994
-
995
- #### [Urls](#Urls)
996
-
997
- | Properties | Type | Nullable | Description |
998
- | ---------- | ---- | -------- | ----------- |
999
- | url | string | yes | |
1000
- | signed_url | string | yes | |
1001
- | expiry | number | yes | |
1002
-
1003
- ---
1004
-
1005
-
1006
-
1007
-
1008
- #### [SignUrlResponse](#SignUrlResponse)
1009
-
1010
- | Properties | Type | Nullable | Description |
1011
- | ---------- | ---- | -------- | ----------- |
1012
- | urls | [[Urls](#Urls)] | yes | |
1013
-
1014
- ---
1015
-
1016
-
1017
-
1018
-
1019
- #### [SignUrlRequest](#SignUrlRequest)
1020
-
1021
- | Properties | Type | Nullable | Description |
1022
- | ---------- | ---- | -------- | ----------- |
1023
- | expiry | number | yes | |
1024
- | urls | [string] | yes | |
1025
-
1026
- ---
1027
-
1028
-
1029
-
1030
-
1031
- #### [Page](#Page)
1032
-
1033
- | Properties | Type | Nullable | Description |
1034
- | ---------- | ---- | -------- | ----------- |
1035
- | item_total | number | no | |
1036
- | next_id | string | no | |
1037
- | has_previous | boolean | no | |
1038
- | has_next | boolean | no | |
1039
- | current | number | no | |
1040
- | type | number | yes | |
1041
- | size | number | no | |
1042
-
1043
- ---
1044
-
1045
-
1046
-
1047
-
1048
- #### [DbRecord](#DbRecord)
1049
-
1050
- | Properties | Type | Nullable | Description |
1051
- | ---------- | ---- | -------- | ----------- |
1052
- | success | boolean | yes | |
1053
- | tags | [string] | yes | |
1054
- | _id | string | yes | |
1055
- | file_name | string | yes | |
1056
- | operation | string | no | |
1057
- | namespace | string | yes | |
1058
- | content_type | string | yes | |
1059
- | file_path | string | yes | |
1060
- | upload | [Upload](#Upload) | yes | |
1061
- | cdn | [CDN](#CDN) | yes | |
1062
- | created_on | string | yes | |
1063
- | modified_on | string | yes | |
1064
-
1065
- ---
1066
-
1067
-
1068
-
1069
-
1070
- #### [BrowseResponse](#BrowseResponse)
1071
-
1072
- | Properties | Type | Nullable | Description |
1073
- | ---------- | ---- | -------- | ----------- |
1074
- | items | [[DbRecord](#DbRecord)] | yes | |
1075
- | page | [Page](#Page) | yes | |
1076
-
1077
- ---
1078
-
1079
-
1080
-
1081
-