@zensoftbr/zenerpclient 1.0.4 → 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 (55) hide show
  1. package/dist/cjs/api/material/Lot.js +1 -0
  2. package/dist/cjs/api/material/Lot.js.map +1 -1
  3. package/dist/cjs/api/production/ProductionService.js +5 -0
  4. package/dist/cjs/api/production/ProductionService.js.map +1 -1
  5. package/dist/cjs/api/system/SystemService.js +5 -0
  6. package/dist/cjs/api/system/SystemService.js.map +1 -1
  7. package/dist/cjs/api/system/file/FileService.js +2 -2
  8. package/dist/cjs/api/system/printing/PrintingService.js +2 -2
  9. package/dist/esm/api/material/Lot.js +1 -0
  10. package/dist/esm/api/material/Lot.js.map +1 -1
  11. package/dist/esm/api/production/ProductionService.js +5 -0
  12. package/dist/esm/api/production/ProductionService.js.map +1 -1
  13. package/dist/esm/api/system/SystemService.js +5 -0
  14. package/dist/esm/api/system/SystemService.js.map +1 -1
  15. package/dist/esm/api/system/file/FileService.js +2 -2
  16. package/dist/esm/api/system/printing/PrintingService.js +2 -2
  17. package/dist/iife/zenerpclient.js +1 -1
  18. package/dist/iife/zenerpclient.js.map +1 -1
  19. package/dist/types/api/catalog/CatalogService.d.ts +1 -1
  20. package/dist/types/api/catalog/company/CompanyService.d.ts +2 -2
  21. package/dist/types/api/catalog/location/LocationService.d.ts +3 -3
  22. package/dist/types/api/catalog/person/PersonService.d.ts +6 -6
  23. package/dist/types/api/catalog/product/ProductService.d.ts +9 -9
  24. package/dist/types/api/commercial/CommercialService.d.ts +2 -2
  25. package/dist/types/api/commercial/contract/ContractService.d.ts +4 -4
  26. package/dist/types/api/financial/FinancialService.d.ts +6 -6
  27. package/dist/types/api/financial/accounting/AccountingService.d.ts +10 -10
  28. package/dist/types/api/financial/billing/BillingService.d.ts +5 -5
  29. package/dist/types/api/financial/credit/CreditService.d.ts +2 -2
  30. package/dist/types/api/financial/treasury/TreasuryService.d.ts +1 -1
  31. package/dist/types/api/fiscal/FiscalService.d.ts +14 -14
  32. package/dist/types/api/fiscal/br/FiscalBrService.d.ts +2 -2
  33. package/dist/types/api/fiscal/taxation/TaxationService.d.ts +4 -4
  34. package/dist/types/api/logistic/LogisticService.d.ts +2 -2
  35. package/dist/types/api/material/Lot.d.ts +1 -0
  36. package/dist/types/api/material/MaterialService.d.ts +27 -27
  37. package/dist/types/api/production/ProductionService.d.ts +12 -11
  38. package/dist/types/api/purchase/PurchaseService.d.ts +10 -10
  39. package/dist/types/api/sale/SaleService.d.ts +11 -11
  40. package/dist/types/api/shipping/ShippingService.d.ts +1 -1
  41. package/dist/types/api/supply/reservation/ReservationService.d.ts +1 -1
  42. package/dist/types/api/system/SystemService.d.ts +2 -1
  43. package/dist/types/api/system/audit/AuditService.d.ts +1 -1
  44. package/dist/types/api/system/automation/AutomationService.d.ts +3 -3
  45. package/dist/types/api/system/data/DataService.d.ts +2 -2
  46. package/dist/types/api/system/file/FileService.d.ts +2 -2
  47. package/dist/types/api/system/image/ImageService.d.ts +1 -1
  48. package/dist/types/api/system/integration/IntegrationService.d.ts +4 -4
  49. package/dist/types/api/system/mail/MailService.d.ts +1 -1
  50. package/dist/types/api/system/plugin/PluginService.d.ts +1 -1
  51. package/dist/types/api/system/printing/PrintingService.d.ts +3 -3
  52. package/dist/types/api/system/report/ReportService.d.ts +1 -1
  53. package/dist/types/api/system/security/SecurityService.d.ts +8 -8
  54. package/dist/types/api/system/workflow/WorkflowService.d.ts +3 -3
  55. package/package.json +2 -1
@@ -8,14 +8,14 @@ export declare class WorkflowService {
8
8
  #private;
9
9
  constructor(client: Client);
10
10
  workflowConnectorCreate(bean: WorkflowConnector): Promise<WorkflowConnector>;
11
- workflowConnectorDelete(id: number): Promise<void>;
11
+ workflowConnectorDelete(id: number): Promise<WorkflowConnector>;
12
12
  workflowConnectorRead(search: any): Promise<WorkflowConnector[]>;
13
13
  workflowConnectorReadById(id: number): Promise<WorkflowConnector>;
14
14
  workflowConnectorUpdate(bean: WorkflowConnector): Promise<WorkflowConnector>;
15
15
  workflowCreate(bean: Workflow): Promise<Workflow>;
16
- workflowDelete(id: number): Promise<void>;
16
+ workflowDelete(id: number): Promise<Workflow>;
17
17
  workflowNodeCreate(bean: WorkflowNode): Promise<WorkflowNode>;
18
- workflowNodeDelete(id: number): Promise<void>;
18
+ workflowNodeDelete(id: number): Promise<WorkflowNode>;
19
19
  workflowNodeRead(search: any): Promise<WorkflowNode[]>;
20
20
  workflowNodeReadById(id: number): Promise<WorkflowNode>;
21
21
  workflowNodeUpdate(bean: WorkflowNode): Promise<WorkflowNode>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zensoftbr/zenerpclient",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Javascript client for Zen Erp",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,6 +42,7 @@
42
42
  "build:types": "tsc -p tsconfig.types.json",
43
43
  "build": "npm run build:types && npm run build:cjs && npm run build:esm && npm run rollup",
44
44
  "prepublishOnly": "npm run build",
45
+ "publish": "npm publish",
45
46
  "rollup": "rollup --config",
46
47
  "test": "echo \"Error: no test specified\" && exit 1",
47
48
  "zip": "npx npm-pack-zip"