@aderis-erp/cli 1.1.3 → 1.1.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 (36) hide show
  1. package/README.md +1 -0
  2. package/dist/commands/api-clients.d.ts +58 -0
  3. package/dist/commands/api-clients.js +1341 -0
  4. package/dist/commands/bank-accounts.js +1 -1
  5. package/dist/commands/credit-card-accounts.d.ts +4 -0
  6. package/dist/commands/credit-card-accounts.js +8 -3
  7. package/dist/commands/currencies.d.ts +56 -0
  8. package/dist/commands/{workflows.js → currencies.js} +13 -15
  9. package/dist/commands/custody-accounts.d.ts +56 -0
  10. package/dist/commands/{integration-identities.js → custody-accounts.js} +25 -22
  11. package/dist/commands/{integration-identities.d.ts → dashboards.d.ts} +3 -3
  12. package/dist/commands/dashboards.js +1347 -0
  13. package/dist/commands/document-checksums.d.ts +56 -0
  14. package/dist/commands/document-checksums.js +1324 -0
  15. package/dist/commands/financial-instrument-types.d.ts +56 -0
  16. package/dist/commands/financial-instrument-types.js +1335 -0
  17. package/dist/commands/financial-instruments.d.ts +56 -0
  18. package/dist/commands/financial-instruments.js +1335 -0
  19. package/dist/commands/items.js +2 -2
  20. package/dist/commands/{workflows.d.ts → kpis.d.ts} +1 -1
  21. package/dist/commands/kpis.js +1337 -0
  22. package/dist/commands/ledgers.js +1 -1
  23. package/dist/commands/notifications.d.ts +56 -0
  24. package/dist/commands/notifications.js +1326 -0
  25. package/dist/commands/sales-orders.js +1 -1
  26. package/dist/commands/settings.d.ts +56 -0
  27. package/dist/commands/settings.js +1327 -0
  28. package/dist/commands/templates.js +2 -1
  29. package/dist/commands/vendor-invoices.js +2 -1
  30. package/dist/commands/work-summary.d.ts +56 -0
  31. package/dist/commands/work-summary.js +1326 -0
  32. package/dist/lib/auth/index.js +5 -0
  33. package/dist/lib/production-guard.d.ts +42 -0
  34. package/dist/lib/production-guard.js +92 -0
  35. package/oclif.manifest.json +1943 -331
  36. package/package.json +1 -1
@@ -12,9 +12,9 @@ const NESTED_UPSERTS = [];
12
12
  const SUBCOMMANDS = [...["list", "create", "get", "update", "delete", "import"], ...(HAS_UPSERT ? ['upsert'] : []), ...(HAS_EXPORT ? ['export'] : []), ...NESTED_UPSERTS.map(n => `upsert-${n}`)];
13
13
  const ENDPOINTS = {
14
14
  'list': { method: 'GET', path: '/v1/items', summary: 'Get all items with pagination', pathParams: [], hasBody: false, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: [] },
15
- 'create': { method: 'POST', path: '/v1/items', summary: 'Create a new item', pathParams: [], hasBody: true, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: ['tagIds', 'tagCodes'] },
15
+ 'create': { method: 'POST', path: '/v1/items', summary: 'Create a new item', pathParams: [], hasBody: true, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: ['replacedByIds', 'tagIds', 'tagCodes'] },
16
16
  'get': { method: 'GET', path: '/v1/items/{id}', summary: 'Get an item by ID', pathParams: ['id'], hasBody: false, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: [] },
17
- 'update': { method: 'PATCH', path: '/v1/items/{id}', summary: 'Update an item', pathParams: ['id'], hasBody: true, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: ['tagIds', 'tagCodes'] },
17
+ 'update': { method: 'PATCH', path: '/v1/items/{id}', summary: 'Update an item', pathParams: ['id'], hasBody: true, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: ['replacedByIds', 'tagIds', 'tagCodes'] },
18
18
  'delete': { method: 'DELETE', path: '/v1/items/{id}', summary: 'Delete an item', pathParams: ['id'], hasBody: false, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: [] },
19
19
  'import': { method: 'POST', path: '/v1/items/import', summary: 'Import items', pathParams: [], hasBody: true, isMultipart: false, isBinaryResponse: false, hasBinaryVariant: false, bodyArrayFields: [] },
20
20
  };
@@ -1,5 +1,5 @@
1
1
  import { Command } from '@oclif/core';
2
- export default class Workflows extends Command {
2
+ export default class Kpis extends Command {
3
3
  static description: string;
4
4
  static examples: string[];
5
5
  static args: {