@aderis-erp/cli 1.1.4 → 1.1.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 (85) hide show
  1. package/dist/commands/access-groups.js +42 -8
  2. package/dist/commands/account-transaction-allocations.js +38 -4
  3. package/dist/commands/account-transactions.d.ts +2 -0
  4. package/dist/commands/account-transactions.js +68 -32
  5. package/dist/commands/accounts.js +46 -12
  6. package/dist/commands/agent-platform.js +37 -3
  7. package/dist/commands/agent-runs.js +49 -15
  8. package/dist/commands/analytics.js +39 -5
  9. package/dist/commands/api-clients.js +47 -13
  10. package/dist/commands/api-keys.js +40 -6
  11. package/dist/commands/async-jobs.js +45 -11
  12. package/dist/commands/audit-log.js +38 -4
  13. package/dist/commands/bank-accounts.js +54 -20
  14. package/dist/commands/bank-integrations.js +56 -22
  15. package/dist/commands/business-partners.js +77 -43
  16. package/dist/commands/chat.js +43 -9
  17. package/dist/commands/credit-card-accounts.js +57 -23
  18. package/dist/commands/currencies.js +37 -3
  19. package/dist/commands/custody-accounts.js +41 -7
  20. package/dist/commands/dashboards.js +52 -18
  21. package/dist/commands/delivery-notes.js +69 -35
  22. package/dist/commands/document-checksums.d.ts +1 -0
  23. package/dist/commands/document-checksums.js +38 -3
  24. package/dist/commands/dunning-configs.js +41 -7
  25. package/dist/commands/dunning-reminders.js +44 -10
  26. package/dist/commands/dunning-runs.js +37 -3
  27. package/dist/commands/email-transactions.js +39 -5
  28. package/dist/commands/employees.js +77 -43
  29. package/dist/commands/entity-configurations.js +39 -5
  30. package/dist/commands/event-mapping-rules.js +37 -3
  31. package/dist/commands/event-processor-mappings.js +41 -7
  32. package/dist/commands/files.js +48 -14
  33. package/dist/commands/financial-instrument-transactions.d.ts +56 -0
  34. package/dist/commands/financial-instrument-transactions.js +1369 -0
  35. package/dist/commands/financial-instrument-types.js +41 -7
  36. package/dist/commands/financial-instruments.js +41 -7
  37. package/dist/commands/health.js +41 -7
  38. package/dist/commands/imports.js +39 -5
  39. package/dist/commands/inbox.js +42 -8
  40. package/dist/commands/integrations.js +39 -5
  41. package/dist/commands/item-categories.js +41 -7
  42. package/dist/commands/items.js +42 -8
  43. package/dist/commands/journal-lines.js +37 -3
  44. package/dist/commands/journals.js +61 -27
  45. package/dist/commands/kpis.js +44 -10
  46. package/dist/commands/ledgers.js +83 -49
  47. package/dist/commands/my-account.js +54 -20
  48. package/dist/commands/notifications.js +37 -3
  49. package/dist/commands/office-locations.js +41 -7
  50. package/dist/commands/payment-methods.js +46 -12
  51. package/dist/commands/payment-runs.js +54 -20
  52. package/dist/commands/payment-terms.js +42 -8
  53. package/dist/commands/payments.js +43 -9
  54. package/dist/commands/payroll-runs.js +71 -37
  55. package/dist/commands/permissions.js +37 -3
  56. package/dist/commands/price-lists.js +48 -14
  57. package/dist/commands/processor-mappings.js +40 -6
  58. package/dist/commands/processors.js +46 -12
  59. package/dist/commands/purchase-order-types.js +41 -7
  60. package/dist/commands/purchase-orders.js +60 -26
  61. package/dist/commands/reports.js +43 -8
  62. package/dist/commands/roles.js +40 -6
  63. package/dist/commands/salary-types.js +41 -7
  64. package/dist/commands/sales-invoices.js +85 -51
  65. package/dist/commands/sales-orders.js +69 -35
  66. package/dist/commands/saved-views.js +39 -5
  67. package/dist/commands/scheduled-processor-mappings.js +41 -7
  68. package/dist/commands/schedules.js +45 -11
  69. package/dist/commands/settings.js +38 -4
  70. package/dist/commands/tags.js +42 -8
  71. package/dist/commands/tax-codes.js +44 -10
  72. package/dist/commands/tax-matrix.js +41 -7
  73. package/dist/commands/templates.js +49 -15
  74. package/dist/commands/tenants.js +44 -10
  75. package/dist/commands/tools.js +38 -4
  76. package/dist/commands/users.js +58 -24
  77. package/dist/commands/vat-declarations.js +61 -27
  78. package/dist/commands/vendor-invoices.js +81 -47
  79. package/dist/commands/webhooks.js +43 -9
  80. package/dist/commands/work-summary.js +37 -3
  81. package/dist/lib/paths.d.ts +8 -0
  82. package/dist/lib/paths.js +16 -0
  83. package/dist/lib/production-guard.js +2 -0
  84. package/oclif.manifest.json +199 -2
  85. package/package.json +9 -3
@@ -435,6 +435,20 @@
435
435
  "multiple": true,
436
436
  "type": "option"
437
437
  },
438
+ "tenant-id": {
439
+ "description": "Accepted for backward compatibility; the tenant comes from the caller identity.",
440
+ "name": "tenant-id",
441
+ "hasDynamicHelp": false,
442
+ "multiple": false,
443
+ "type": "option"
444
+ },
445
+ "archive": {
446
+ "description": "Set to false to import without storing the raw XML. Absent means the raw statement is stored.",
447
+ "name": "archive",
448
+ "hasDynamicHelp": false,
449
+ "multiple": false,
450
+ "type": "option"
451
+ },
438
452
  "mode": {
439
453
  "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
440
454
  "name": "mode",
@@ -3922,6 +3936,13 @@
3922
3936
  "multiple": true,
3923
3937
  "type": "option"
3924
3938
  },
3939
+ "percentage": {
3940
+ "description": "Required. Share of the documents in the log to check, in percent: more than 0, at most 100. The run checks ⌈documents in the log × percentage ÷ 100⌉ documents, at least one, drawn at random with every docume...",
3941
+ "name": "percentage",
3942
+ "hasDynamicHelp": false,
3943
+ "multiple": false,
3944
+ "type": "option"
3945
+ },
3925
3946
  "page": {
3926
3947
  "description": "Page number",
3927
3948
  "name": "page",
@@ -5611,6 +5632,182 @@
5611
5632
  "files.js"
5612
5633
  ]
5613
5634
  },
5635
+ "financial-instrument-transactions": {
5636
+ "aliases": [],
5637
+ "args": {
5638
+ "action": {
5639
+ "description": "Action: list, create, get, update, cancel, upsert, export",
5640
+ "name": "action",
5641
+ "required": true
5642
+ },
5643
+ "id": {
5644
+ "description": "Resource ID (for get, update, delete operations)",
5645
+ "name": "id",
5646
+ "required": false
5647
+ }
5648
+ },
5649
+ "description": "Manage financial instrument transactions",
5650
+ "examples": [
5651
+ "<%= config.bin %> financial-instrument-transactions list",
5652
+ "<%= config.bin %> financial-instrument-transactions get <id>",
5653
+ "<%= config.bin %> financial-instrument-transactions create --data '{...}'",
5654
+ "<%= config.bin %> financial-instrument-transactions update <id> --set field=value",
5655
+ "<%= config.bin %> financial-instrument-transactions upsert --file data.json",
5656
+ "<%= config.bin %> financial-instrument-transactions export --csv > financial-instrument-transactions.csv"
5657
+ ],
5658
+ "flags": {
5659
+ "context": {
5660
+ "aliases": [
5661
+ "config"
5662
+ ],
5663
+ "char": "c",
5664
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5665
+ "env": "ADERIS_CONTEXT",
5666
+ "name": "context",
5667
+ "hasDynamicHelp": false,
5668
+ "multiple": false,
5669
+ "type": "option"
5670
+ },
5671
+ "output": {
5672
+ "char": "o",
5673
+ "description": "Output format (default: table for upsert, json for other commands)",
5674
+ "name": "output",
5675
+ "hasDynamicHelp": false,
5676
+ "multiple": false,
5677
+ "options": [
5678
+ "json",
5679
+ "table",
5680
+ "csv"
5681
+ ],
5682
+ "type": "option"
5683
+ },
5684
+ "table": {
5685
+ "char": "t",
5686
+ "description": "Output as table (shortcut for --output table)",
5687
+ "name": "table",
5688
+ "allowNo": false,
5689
+ "type": "boolean"
5690
+ },
5691
+ "csv": {
5692
+ "description": "Output as CSV (shortcut for --output csv)",
5693
+ "name": "csv",
5694
+ "allowNo": false,
5695
+ "type": "boolean"
5696
+ },
5697
+ "data": {
5698
+ "char": "d",
5699
+ "description": "JSON data for request body",
5700
+ "name": "data",
5701
+ "hasDynamicHelp": false,
5702
+ "multiple": false,
5703
+ "type": "option"
5704
+ },
5705
+ "file": {
5706
+ "char": "f",
5707
+ "description": "Read request body from file",
5708
+ "name": "file",
5709
+ "hasDynamicHelp": false,
5710
+ "multiple": false,
5711
+ "type": "option"
5712
+ },
5713
+ "set": {
5714
+ "char": "s",
5715
+ "description": "Set individual field (e.g. --set firstName=John)",
5716
+ "name": "set",
5717
+ "hasDynamicHelp": false,
5718
+ "multiple": true,
5719
+ "type": "option"
5720
+ },
5721
+ "page": {
5722
+ "description": "Page number",
5723
+ "name": "page",
5724
+ "hasDynamicHelp": false,
5725
+ "multiple": false,
5726
+ "type": "option"
5727
+ },
5728
+ "limit": {
5729
+ "description": "Items per page",
5730
+ "name": "limit",
5731
+ "hasDynamicHelp": false,
5732
+ "multiple": false,
5733
+ "type": "option"
5734
+ },
5735
+ "include": {
5736
+ "description": "Relations to include",
5737
+ "name": "include",
5738
+ "hasDynamicHelp": false,
5739
+ "multiple": false,
5740
+ "type": "option"
5741
+ },
5742
+ "search": {
5743
+ "description": "Search term",
5744
+ "name": "search",
5745
+ "hasDynamicHelp": false,
5746
+ "multiple": false,
5747
+ "type": "option"
5748
+ },
5749
+ "sort-by": {
5750
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5751
+ "name": "sort-by",
5752
+ "hasDynamicHelp": false,
5753
+ "multiple": false,
5754
+ "type": "option"
5755
+ },
5756
+ "filter": {
5757
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
5758
+ "name": "filter",
5759
+ "hasDynamicHelp": false,
5760
+ "multiple": true,
5761
+ "type": "option"
5762
+ },
5763
+ "query": {
5764
+ "description": "Additional query params as JSON",
5765
+ "name": "query",
5766
+ "hasDynamicHelp": false,
5767
+ "multiple": false,
5768
+ "type": "option"
5769
+ },
5770
+ "fields": {
5771
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5772
+ "name": "fields",
5773
+ "hasDynamicHelp": false,
5774
+ "multiple": false,
5775
+ "type": "option"
5776
+ },
5777
+ "sanitize": {
5778
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
5779
+ "name": "sanitize",
5780
+ "allowNo": false,
5781
+ "type": "boolean"
5782
+ },
5783
+ "meta": {
5784
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5785
+ "name": "meta",
5786
+ "allowNo": false,
5787
+ "type": "boolean"
5788
+ },
5789
+ "show-http-request": {
5790
+ "description": "Show HTTP request details (method, URL, body)",
5791
+ "name": "show-http-request",
5792
+ "allowNo": false,
5793
+ "type": "boolean"
5794
+ }
5795
+ },
5796
+ "hasDynamicHelp": false,
5797
+ "hiddenAliases": [],
5798
+ "id": "financial-instrument-transactions",
5799
+ "pluginAlias": "@aderis-erp/cli",
5800
+ "pluginName": "@aderis-erp/cli",
5801
+ "pluginType": "core",
5802
+ "strict": true,
5803
+ "enableJsonFlag": false,
5804
+ "isESM": true,
5805
+ "relativePath": [
5806
+ "dist",
5807
+ "commands",
5808
+ "financial-instrument-transactions.js"
5809
+ ]
5810
+ },
5614
5811
  "financial-instrument-types": {
5615
5812
  "aliases": [],
5616
5813
  "args": {
@@ -10386,7 +10583,7 @@
10386
10583
  "aliases": [],
10387
10584
  "args": {
10388
10585
  "action": {
10389
- "description": "Action: profit-and-loss, balance-sheet, gl-detail, gl-detail-export-xlsx, gl-detail-export-pdf",
10586
+ "description": "Action: profit-and-loss, balance-sheet, gl-detail, gl-detail-export-xlsx, gl-detail-export-pdf, financial-instrument-holdings",
10390
10587
  "name": "action",
10391
10588
  "required": true
10392
10589
  },
@@ -14767,5 +14964,5 @@
14767
14964
  ]
14768
14965
  }
14769
14966
  },
14770
- "version": "1.1.4"
14967
+ "version": "1.1.5"
14771
14968
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aderis-erp/cli",
3
3
  "description": "Aderis Live Finance Platform CLI - Manage your Aderis account from the command line",
4
- "version": "1.1.4",
4
+ "version": "1.1.5",
5
5
  "author": "Aderis AG",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -45,7 +45,7 @@
45
45
  "typescript": "^6.0.3"
46
46
  },
47
47
  "engines": {
48
- "node": ">=18.0.0"
48
+ "node": ">=20.0.0"
49
49
  },
50
50
  "files": [
51
51
  "./bin",
@@ -95,5 +95,11 @@
95
95
  "test": "cross-env TS_NODE_PROJECT=tsconfig.test.json mocha --forbid-only \"test/**/*.test.ts\"",
96
96
  "version": "oclif readme && git add README.md"
97
97
  },
98
- "types": "dist/index.d.ts"
98
+ "types": "dist/index.d.ts",
99
+ "overrides": {
100
+ "wsl-utils@0.4.0": {
101
+ "powershell-utils": "^0.2.1"
102
+ },
103
+ "minimatch@^10": "^11.0.5"
104
+ }
99
105
  }