@zensoftbr/zenerpclient 1.0.3 → 1.0.5

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 (227) hide show
  1. package/dist/cjs/api/financial/ArgsOpSettleMethodSettlement.js +1 -0
  2. package/dist/cjs/api/financial/ArgsOpSettleMethodSettlement.js.map +1 -1
  3. package/dist/cjs/api/financial/ArgsOpSettleSettlement.js +1 -0
  4. package/dist/cjs/api/financial/ArgsOpSettleSettlement.js.map +1 -1
  5. package/dist/cjs/api/fiscal/IncomingInvoice.js +3 -3
  6. package/dist/cjs/api/fiscal/IncomingInvoice.js.map +1 -1
  7. package/dist/cjs/api/fiscal/Invoice.js +3 -3
  8. package/dist/cjs/api/fiscal/Invoice.js.map +1 -1
  9. package/dist/cjs/api/fiscal/OutgoingInvoice.js +3 -3
  10. package/dist/cjs/api/fiscal/OutgoingInvoice.js.map +1 -1
  11. package/dist/cjs/api/material/ArgsMovingOrderItemOpLoad.js +0 -1
  12. package/dist/cjs/api/material/ArgsMovingOrderItemOpLoad.js.map +1 -1
  13. package/dist/cjs/api/material/ArgsMovingOrderOpAllocateStock.js +10 -0
  14. package/dist/cjs/api/material/ArgsMovingOrderOpAllocateStock.js.map +1 -0
  15. package/dist/cjs/api/material/ArgsPickingOrderOpCreate.js +1 -0
  16. package/dist/cjs/api/material/ArgsPickingOrderOpCreate.js.map +1 -1
  17. package/dist/cjs/api/material/ArgsVolumeOpCheck.js +11 -0
  18. package/dist/cjs/api/material/ArgsVolumeOpCheck.js.map +1 -0
  19. package/dist/cjs/api/material/Lot.js +1 -0
  20. package/dist/cjs/api/material/Lot.js.map +1 -1
  21. package/dist/cjs/api/material/MaterialService.js +59 -24
  22. package/dist/cjs/api/material/MaterialService.js.map +1 -1
  23. package/dist/cjs/api/material/MovingOrderItem.js +1 -0
  24. package/dist/cjs/api/material/MovingOrderItem.js.map +1 -1
  25. package/dist/cjs/api/material/OutgoingList.js +2 -0
  26. package/dist/cjs/api/material/OutgoingList.js.map +1 -1
  27. package/dist/cjs/api/material/PickingOrder.js +1 -0
  28. package/dist/cjs/api/material/PickingOrder.js.map +1 -1
  29. package/dist/cjs/api/material/ReservationItem.js +27 -0
  30. package/dist/cjs/api/material/ReservationItem.js.map +1 -0
  31. package/dist/cjs/api/material/Volume.js +2 -0
  32. package/dist/cjs/api/material/Volume.js.map +1 -1
  33. package/dist/cjs/api/material/material.module.js +3 -3
  34. package/dist/cjs/api/material/material.module.js.map +1 -1
  35. package/dist/cjs/api/production/ArgsProductionOrderOpCreate.js +9 -0
  36. package/dist/cjs/api/production/ArgsProductionOrderOpCreate.js.map +1 -0
  37. package/dist/cjs/api/production/BomItem.js +2 -3
  38. package/dist/cjs/api/production/BomItem.js.map +1 -1
  39. package/dist/cjs/api/production/OperationType.js +1 -1
  40. package/dist/cjs/api/production/OperationType.js.map +1 -1
  41. package/dist/cjs/api/production/ProductionBatch.js +16 -0
  42. package/dist/cjs/api/production/ProductionBatch.js.map +1 -0
  43. package/dist/cjs/api/production/ProductionOrder.js +3 -5
  44. package/dist/cjs/api/production/ProductionOrder.js.map +1 -1
  45. package/dist/cjs/api/production/ProductionProfile.js +11 -0
  46. package/dist/cjs/api/production/ProductionProfile.js.map +1 -0
  47. package/dist/cjs/api/production/ProductionService.js +193 -4
  48. package/dist/cjs/api/production/ProductionService.js.map +1 -1
  49. package/dist/cjs/api/production/ProductionStep.js +11 -0
  50. package/dist/cjs/api/production/ProductionStep.js.map +1 -0
  51. package/dist/cjs/api/production/ProductionStepInput.js +14 -0
  52. package/dist/cjs/api/production/ProductionStepInput.js.map +1 -0
  53. package/dist/cjs/api/production/ProductionStepOutput.js +15 -0
  54. package/dist/cjs/api/production/ProductionStepOutput.js.map +1 -0
  55. package/dist/cjs/api/production/production.module.js +11 -3
  56. package/dist/cjs/api/production/production.module.js.map +1 -1
  57. package/dist/cjs/api/purchase/Purchase.js +1 -0
  58. package/dist/cjs/api/purchase/Purchase.js.map +1 -1
  59. package/dist/cjs/api/sale/Sale.js +1 -0
  60. package/dist/cjs/api/sale/Sale.js.map +1 -1
  61. package/dist/cjs/api/sale/SaleService.js +13 -0
  62. package/dist/cjs/api/sale/SaleService.js.map +1 -1
  63. package/dist/cjs/api/shipping/ShippingService.js +25 -0
  64. package/dist/cjs/api/shipping/ShippingService.js.map +1 -1
  65. package/dist/cjs/api/system/SystemService.js +5 -0
  66. package/dist/cjs/api/system/SystemService.js.map +1 -1
  67. package/dist/cjs/api/system/automation/Agent.js +1 -4
  68. package/dist/cjs/api/system/automation/Agent.js.map +1 -1
  69. package/dist/cjs/api/system/automation/AutomationService.js +6 -49
  70. package/dist/cjs/api/system/automation/AutomationService.js.map +1 -1
  71. package/dist/cjs/api/system/automation/Schedule.js +1 -1
  72. package/dist/cjs/api/system/automation/Schedule.js.map +1 -1
  73. package/dist/cjs/api/system/automation/automation.module.js +1 -7
  74. package/dist/cjs/api/system/automation/automation.module.js.map +1 -1
  75. package/dist/cjs/api/system/file/FileService.js +2 -2
  76. package/dist/cjs/api/system/integration/Subscription.js +1 -1
  77. package/dist/cjs/api/system/integration/Subscription.js.map +1 -1
  78. package/dist/cjs/api/system/printing/PrintingService.js +2 -2
  79. package/dist/esm/api/financial/ArgsOpSettleMethodSettlement.js +1 -0
  80. package/dist/esm/api/financial/ArgsOpSettleMethodSettlement.js.map +1 -1
  81. package/dist/esm/api/financial/ArgsOpSettleSettlement.js +1 -0
  82. package/dist/esm/api/financial/ArgsOpSettleSettlement.js.map +1 -1
  83. package/dist/esm/api/fiscal/IncomingInvoice.js +3 -3
  84. package/dist/esm/api/fiscal/IncomingInvoice.js.map +1 -1
  85. package/dist/esm/api/fiscal/Invoice.js +3 -3
  86. package/dist/esm/api/fiscal/Invoice.js.map +1 -1
  87. package/dist/esm/api/fiscal/OutgoingInvoice.js +3 -3
  88. package/dist/esm/api/fiscal/OutgoingInvoice.js.map +1 -1
  89. package/dist/esm/api/material/ArgsMovingOrderItemOpLoad.js +0 -1
  90. package/dist/esm/api/material/ArgsMovingOrderItemOpLoad.js.map +1 -1
  91. package/dist/esm/api/material/ArgsMovingOrderOpAllocateStock.js +6 -0
  92. package/dist/esm/api/material/ArgsMovingOrderOpAllocateStock.js.map +1 -0
  93. package/dist/esm/api/material/ArgsPickingOrderOpCreate.js +1 -0
  94. package/dist/esm/api/material/ArgsPickingOrderOpCreate.js.map +1 -1
  95. package/dist/esm/api/material/ArgsVolumeOpCheck.js +7 -0
  96. package/dist/esm/api/material/ArgsVolumeOpCheck.js.map +1 -0
  97. package/dist/esm/api/material/Lot.js +1 -0
  98. package/dist/esm/api/material/Lot.js.map +1 -1
  99. package/dist/esm/api/material/MaterialService.js +59 -24
  100. package/dist/esm/api/material/MaterialService.js.map +1 -1
  101. package/dist/esm/api/material/MovingOrderItem.js +1 -0
  102. package/dist/esm/api/material/MovingOrderItem.js.map +1 -1
  103. package/dist/esm/api/material/OutgoingList.js +2 -0
  104. package/dist/esm/api/material/OutgoingList.js.map +1 -1
  105. package/dist/esm/api/material/PickingOrder.js +1 -0
  106. package/dist/esm/api/material/PickingOrder.js.map +1 -1
  107. package/dist/esm/api/material/ReservationItem.js +23 -0
  108. package/dist/esm/api/material/ReservationItem.js.map +1 -0
  109. package/dist/esm/api/material/Volume.js +2 -0
  110. package/dist/esm/api/material/Volume.js.map +1 -1
  111. package/dist/esm/api/material/material.module.js +1 -1
  112. package/dist/esm/api/material/material.module.js.map +1 -1
  113. package/dist/esm/api/production/ArgsProductionOrderOpCreate.js +5 -0
  114. package/dist/esm/api/production/ArgsProductionOrderOpCreate.js.map +1 -0
  115. package/dist/esm/api/production/BomItem.js +2 -3
  116. package/dist/esm/api/production/BomItem.js.map +1 -1
  117. package/dist/esm/api/production/OperationType.js +1 -1
  118. package/dist/esm/api/production/OperationType.js.map +1 -1
  119. package/dist/esm/api/production/ProductionBatch.js +12 -0
  120. package/dist/esm/api/production/ProductionBatch.js.map +1 -0
  121. package/dist/esm/api/production/ProductionOrder.js +3 -5
  122. package/dist/esm/api/production/ProductionOrder.js.map +1 -1
  123. package/dist/esm/api/production/ProductionProfile.js +7 -0
  124. package/dist/esm/api/production/ProductionProfile.js.map +1 -0
  125. package/dist/esm/api/production/ProductionService.js +193 -4
  126. package/dist/esm/api/production/ProductionService.js.map +1 -1
  127. package/dist/esm/api/production/ProductionStep.js +7 -0
  128. package/dist/esm/api/production/ProductionStep.js.map +1 -0
  129. package/dist/esm/api/production/ProductionStepInput.js +10 -0
  130. package/dist/esm/api/production/ProductionStepInput.js.map +1 -0
  131. package/dist/esm/api/production/ProductionStepOutput.js +11 -0
  132. package/dist/esm/api/production/ProductionStepOutput.js.map +1 -0
  133. package/dist/esm/api/production/production.module.js +5 -1
  134. package/dist/esm/api/production/production.module.js.map +1 -1
  135. package/dist/esm/api/purchase/Purchase.js +1 -0
  136. package/dist/esm/api/purchase/Purchase.js.map +1 -1
  137. package/dist/esm/api/sale/Sale.js +1 -0
  138. package/dist/esm/api/sale/Sale.js.map +1 -1
  139. package/dist/esm/api/sale/SaleService.js +13 -0
  140. package/dist/esm/api/sale/SaleService.js.map +1 -1
  141. package/dist/esm/api/shipping/ShippingService.js +25 -0
  142. package/dist/esm/api/shipping/ShippingService.js.map +1 -1
  143. package/dist/esm/api/system/SystemService.js +5 -0
  144. package/dist/esm/api/system/SystemService.js.map +1 -1
  145. package/dist/esm/api/system/automation/Agent.js +1 -4
  146. package/dist/esm/api/system/automation/Agent.js.map +1 -1
  147. package/dist/esm/api/system/automation/AutomationService.js +6 -49
  148. package/dist/esm/api/system/automation/AutomationService.js.map +1 -1
  149. package/dist/esm/api/system/automation/Schedule.js +1 -1
  150. package/dist/esm/api/system/automation/Schedule.js.map +1 -1
  151. package/dist/esm/api/system/automation/automation.module.js +0 -3
  152. package/dist/esm/api/system/automation/automation.module.js.map +1 -1
  153. package/dist/esm/api/system/file/FileService.js +2 -2
  154. package/dist/esm/api/system/integration/Subscription.js +1 -1
  155. package/dist/esm/api/system/integration/Subscription.js.map +1 -1
  156. package/dist/esm/api/system/printing/PrintingService.js +2 -2
  157. package/dist/iife/zenerpclient.js +1 -1
  158. package/dist/iife/zenerpclient.js.map +1 -1
  159. package/dist/types/api/catalog/CatalogService.d.ts +1 -1
  160. package/dist/types/api/catalog/company/CompanyService.d.ts +2 -2
  161. package/dist/types/api/catalog/location/LocationService.d.ts +3 -3
  162. package/dist/types/api/catalog/person/PersonService.d.ts +6 -6
  163. package/dist/types/api/catalog/product/ProductService.d.ts +9 -9
  164. package/dist/types/api/commercial/CommercialService.d.ts +2 -2
  165. package/dist/types/api/commercial/contract/ContractService.d.ts +4 -4
  166. package/dist/types/api/financial/ArgsOpSettleMethodSettlement.d.ts +1 -0
  167. package/dist/types/api/financial/ArgsOpSettleSettlement.d.ts +1 -0
  168. package/dist/types/api/financial/FinancialService.d.ts +6 -6
  169. package/dist/types/api/financial/accounting/AccountingService.d.ts +10 -10
  170. package/dist/types/api/financial/billing/BillingService.d.ts +5 -5
  171. package/dist/types/api/financial/credit/CreditService.d.ts +2 -2
  172. package/dist/types/api/financial/treasury/TreasuryService.d.ts +1 -1
  173. package/dist/types/api/fiscal/FiscalService.d.ts +14 -14
  174. package/dist/types/api/fiscal/IncomingInvoice.d.ts +3 -3
  175. package/dist/types/api/fiscal/Invoice.d.ts +3 -3
  176. package/dist/types/api/fiscal/OutgoingInvoice.d.ts +3 -3
  177. package/dist/types/api/fiscal/br/FiscalBrService.d.ts +2 -2
  178. package/dist/types/api/fiscal/taxation/TaxationService.d.ts +4 -4
  179. package/dist/types/api/logistic/LogisticService.d.ts +2 -2
  180. package/dist/types/api/material/ArgsMovingOrderItemOpLoad.d.ts +0 -1
  181. package/dist/types/api/material/ArgsMovingOrderOpAllocateStock.d.ts +5 -0
  182. package/dist/types/api/material/ArgsPickingOrderOpCreate.d.ts +1 -0
  183. package/dist/types/api/material/ArgsVolumeOpCheck.d.ts +6 -0
  184. package/dist/types/api/material/Lot.d.ts +1 -0
  185. package/dist/types/api/material/MaterialService.d.ts +37 -32
  186. package/dist/types/api/material/MovingOrderItem.d.ts +2 -0
  187. package/dist/types/api/material/OutgoingList.d.ts +3 -0
  188. package/dist/types/api/material/PickingOrder.d.ts +2 -0
  189. package/dist/types/api/material/ReservationItem.d.ts +33 -0
  190. package/dist/types/api/material/StockCluster.d.ts +1 -1
  191. package/dist/types/api/material/Volume.d.ts +3 -0
  192. package/dist/types/api/material/material.module.d.ts +1 -1
  193. package/dist/types/api/production/ArgsProductionOrderOpCreate.d.ts +5 -0
  194. package/dist/types/api/production/BomItem.d.ts +2 -3
  195. package/dist/types/api/production/OperationType.d.ts +2 -2
  196. package/dist/types/api/production/ProductionBatch.d.ts +15 -0
  197. package/dist/types/api/production/ProductionOrder.d.ts +4 -8
  198. package/dist/types/api/production/ProductionProfile.d.ts +6 -0
  199. package/dist/types/api/production/ProductionService.d.ts +42 -9
  200. package/dist/types/api/production/ProductionStep.d.ts +7 -0
  201. package/dist/types/api/production/ProductionStepInput.d.ts +11 -0
  202. package/dist/types/api/production/ProductionStepOutput.d.ts +12 -0
  203. package/dist/types/api/production/production.module.d.ts +5 -1
  204. package/dist/types/api/purchase/Purchase.d.ts +1 -0
  205. package/dist/types/api/purchase/PurchaseService.d.ts +10 -10
  206. package/dist/types/api/sale/Sale.d.ts +2 -0
  207. package/dist/types/api/sale/SaleService.d.ts +13 -11
  208. package/dist/types/api/shipping/ShippingService.d.ts +6 -1
  209. package/dist/types/api/supply/reservation/ReservationService.d.ts +1 -1
  210. package/dist/types/api/system/SystemService.d.ts +2 -1
  211. package/dist/types/api/system/audit/AuditService.d.ts +1 -1
  212. package/dist/types/api/system/automation/Agent.d.ts +1 -4
  213. package/dist/types/api/system/automation/AutomationService.d.ts +4 -13
  214. package/dist/types/api/system/automation/Schedule.d.ts +2 -2
  215. package/dist/types/api/system/automation/automation.module.d.ts +0 -3
  216. package/dist/types/api/system/data/DataService.d.ts +2 -2
  217. package/dist/types/api/system/file/FileService.d.ts +2 -2
  218. package/dist/types/api/system/image/ImageService.d.ts +1 -1
  219. package/dist/types/api/system/integration/IntegrationService.d.ts +4 -4
  220. package/dist/types/api/system/integration/Subscription.d.ts +2 -2
  221. package/dist/types/api/system/mail/MailService.d.ts +1 -1
  222. package/dist/types/api/system/plugin/PluginService.d.ts +1 -1
  223. package/dist/types/api/system/printing/PrintingService.d.ts +3 -3
  224. package/dist/types/api/system/report/ReportService.d.ts +1 -1
  225. package/dist/types/api/system/security/SecurityService.d.ts +8 -8
  226. package/dist/types/api/system/workflow/WorkflowService.d.ts +3 -3
  227. package/package.json +2 -1
@@ -17,42 +17,8 @@ export class AutomationService {
17
17
  method: "DELETE",
18
18
  });
19
19
  }
20
- async agentOpGetParameters(id) {
21
- return this.#client.web.fetchJson(`/system/automation/agentOpGetParameters/${id}`, {
22
- method: "POST",
23
- });
24
- }
25
- async agentOpGetTopics(id) {
26
- return this.#client.web.fetchJson(`/system/automation/agentOpGetTopics/${id}`, {
27
- method: "POST",
28
- });
29
- }
30
- async agentRead(search) {
31
- return this.#client.web.fetchJson(`/system/automation/agent?${search}`, {
32
- method: "GET",
33
- });
34
- }
35
- async agentReadById(id) {
36
- return this.#client.web.fetchJson(`/system/automation/agent/${id}`, {
37
- method: "GET",
38
- });
39
- }
40
- async agentRunCreate(bean) {
41
- return this.#client.web.fetchJson("/system/automation/agentRun", {
42
- method: "POST",
43
- headers: {
44
- "content-type": "application/json",
45
- },
46
- body: JSON.stringify(bean),
47
- });
48
- }
49
- async agentRunDelete(id) {
50
- return this.#client.web.fetchJson(`/system/automation/agentRun/${id}`, {
51
- method: "DELETE",
52
- });
53
- }
54
- async agentRunOpExecute(id, parameters) {
55
- return this.#client.web.fetchJson(`/system/automation/agentRunOpExecute/${id}`, {
20
+ async agentOpExecute(id, parameters) {
21
+ return this.#client.web.fetchJson(`/system/automation/agentOpExecute/${id}`, {
56
22
  method: "POST",
57
23
  headers: {
58
24
  "content-type": "application/json",
@@ -60,25 +26,16 @@ export class AutomationService {
60
26
  body: JSON.stringify(parameters),
61
27
  });
62
28
  }
63
- async agentRunRead(search) {
64
- return this.#client.web.fetchJson(`/system/automation/agentRun?${search}`, {
29
+ async agentRead(search) {
30
+ return this.#client.web.fetchJson(`/system/automation/agent?${search}`, {
65
31
  method: "GET",
66
32
  });
67
33
  }
68
- async agentRunReadById(id) {
69
- return this.#client.web.fetchJson(`/system/automation/agentRun/${id}`, {
34
+ async agentReadById(id) {
35
+ return this.#client.web.fetchJson(`/system/automation/agent/${id}`, {
70
36
  method: "GET",
71
37
  });
72
38
  }
73
- async agentRunUpdate(bean) {
74
- return this.#client.web.fetchJson("/system/automation/agentRun", {
75
- method: "PUT",
76
- headers: {
77
- "content-type": "application/json",
78
- },
79
- body: JSON.stringify(bean),
80
- });
81
- }
82
39
  async agentUpdate(bean) {
83
40
  return this.#client.web.fetchJson("/system/automation/agent", {
84
41
  method: "PUT",
@@ -1 +1 @@
1
- {"version":3,"file":"AutomationService.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/AutomationService.ts"],"names":[],"mappings":"AAOA,MAAM,OAAO,iBAAiB;IAE5B,OAAO,CAAS;IAEhB,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,IAAW;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,0BAA0B,EAAE;YAC5D,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACjC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;SAE7B,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,EAAU;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,4BAA4B,EAAE,EAAE,EAAE;YAClE,MAAM,EAAE,QAAQ;SAEjB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,EA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E;gBACP,cAAc,EAAE,kBAAkB;aACjC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;SAE7B,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,EAAU;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,EAAE,EAAE;YACpE,MAAM,EAAE,QAAQ;SAEjB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,MAAW;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,8BAA8B,MAAM,EAAE,EAAE;YACxE,MAAM,EAAE,KAAK;SAEd,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,EAAU;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,8BAA8B,EAAE,EAAE,EAAE;YACpE,MAAM,EAAE,KAAK;SAEd,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,IAAa;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,4BAA4B,EAAE;YAC9D,MAAM,EAAE,KAAK;YACb,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACjC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;SAE7B,CAAC,CAAC;IACL,CAAC;CAEA"}
1
+ {"version":3,"file":"AutomationService.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/AutomationService.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,iBAAiB;IAE5B,OAAO,CAAS;IAEhB,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,IAAW;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,0BAA0B,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1 @@
1
- {"version":3,"file":"Schedule.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/Schedule.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,WAAW,CAAU;IACrB,IAAI,CAAU;IACd,UAAU,CAAU;IACpB,OAAO,CAAQ;IACf,OAAO,CAAQ;IACf,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAU;CACrB"}
1
+ {"version":3,"file":"Schedule.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/Schedule.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,WAAW,CAAU;IACrB,IAAI,CAAU;IACd,UAAU,CAAU;IACpB,OAAO,CAAQ;IACf,OAAO,CAAQ;IACf,KAAK,CAAS;IACd,IAAI,CAAU;IACd,UAAU,CAAU;CACrB"}
@@ -1,8 +1,5 @@
1
1
  export { AutomationService } from "./AutomationService.js";
2
2
  export { Agent } from "./Agent.js";
3
- export { AgentAccessPoint } from "./AgentAccessPoint.js";
4
- export { AgentParameter } from "./AgentParameter.js";
5
- export { AgentRun } from "./AgentRun.js";
6
3
  export { Schedule } from "./Schedule.js";
7
4
  export { Watcher } from "./Watcher.js";
8
5
  //# sourceMappingURL=automation.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"automation.module.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/automation.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"automation.module.js","sourceRoot":"","sources":["../../../../../src/api/system/automation/automation.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -3,13 +3,13 @@ export class FileService {
3
3
  constructor(client) {
4
4
  this.#client = client;
5
5
  }
6
- async fileCreate(args) {
6
+ async fileCreate(bean) {
7
7
  return this.#client.web.fetchJson("/system/file/file", {
8
8
  method: "POST",
9
9
  headers: {
10
10
  "content-type": "application/json",
11
11
  },
12
- body: JSON.stringify(args),
12
+ body: JSON.stringify(bean),
13
13
  });
14
14
  }
15
15
  async fileDelete(id) {
@@ -4,7 +4,7 @@ export class Subscription {
4
4
  protocol;
5
5
  target;
6
6
  queue;
7
- agentRun;
7
+ agent;
8
8
  tags;
9
9
  properties;
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../../src/api/system/integration/Subscription.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,KAAK,CAAS;IACd,QAAQ,CAAU;IAClB,MAAM,CAAU;IAChB,KAAK,CAAS;IACd,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAU;CACrB"}
1
+ {"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../../src/api/system/integration/Subscription.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,KAAK,CAAS;IACd,QAAQ,CAAU;IAClB,MAAM,CAAU;IAChB,KAAK,CAAS;IACd,KAAK,CAAS;IACd,IAAI,CAAU;IACd,UAAU,CAAU;CACrB"}
@@ -17,13 +17,13 @@ export class PrintingService {
17
17
  method: "DELETE",
18
18
  });
19
19
  }
20
- async printerJobCreate(bean) {
20
+ async printerJobCreate(args) {
21
21
  return this.#client.web.fetchJson("/system/printing/printerJob", {
22
22
  method: "POST",
23
23
  headers: {
24
24
  "content-type": "application/json",
25
25
  },
26
- body: JSON.stringify(bean),
26
+ body: JSON.stringify(args),
27
27
  });
28
28
  }
29
29
  async printerJobDataReadById(id) {