@aderis-erp/cli 1.0.12 → 1.0.14

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 (73) hide show
  1. package/dist/commands/access-groups.js +4 -4
  2. package/dist/commands/account-transaction-allocations.js +4 -4
  3. package/dist/commands/account-transactions.js +4 -4
  4. package/dist/commands/accounts.js +4 -4
  5. package/dist/commands/{agent-runs.d.ts → agent-platform.d.ts} +2 -2
  6. package/dist/commands/agent-platform.js +1175 -0
  7. package/dist/commands/audit-log.js +7 -7
  8. package/dist/commands/auth/login.js +2 -3
  9. package/dist/commands/bank-accounts.js +4 -4
  10. package/dist/commands/bank-integrations.js +4 -4
  11. package/dist/commands/business-partners.js +6 -6
  12. package/dist/commands/chat.js +12 -8
  13. package/dist/commands/config/add.js +2 -3
  14. package/dist/commands/config/rename.d.ts +10 -0
  15. package/dist/commands/config/rename.js +68 -0
  16. package/dist/commands/credit-card-accounts.js +4 -4
  17. package/dist/commands/delivery-notes.d.ts +43 -0
  18. package/dist/commands/delivery-notes.js +1206 -0
  19. package/dist/commands/documents.js +5 -5
  20. package/dist/commands/dunning-configs.js +4 -4
  21. package/dist/commands/dunning-reminders.js +4 -4
  22. package/dist/commands/dunning-runs.js +4 -4
  23. package/dist/commands/email-transactions.js +4 -4
  24. package/dist/commands/employees.js +4 -4
  25. package/dist/commands/entity-configurations.js +4 -4
  26. package/dist/commands/event-processor-mappings.js +4 -4
  27. package/dist/commands/files-internal.js +4 -4
  28. package/dist/commands/health.js +4 -4
  29. package/dist/commands/inbox.d.ts +1 -0
  30. package/dist/commands/inbox.js +10 -8
  31. package/dist/commands/integrations.js +4 -4
  32. package/dist/commands/item-categories.js +4 -4
  33. package/dist/commands/items.js +4 -4
  34. package/dist/commands/journal-lines.js +4 -4
  35. package/dist/commands/journals.js +7 -5
  36. package/dist/commands/ledgers.js +4 -4
  37. package/dist/commands/office-locations.js +4 -4
  38. package/dist/commands/payment-methods.js +4 -4
  39. package/dist/commands/payment-runs.js +5 -7
  40. package/dist/commands/payment-terms.js +4 -4
  41. package/dist/commands/payments.d.ts +40 -0
  42. package/dist/commands/payments.js +1180 -0
  43. package/dist/commands/price-lists.js +4 -4
  44. package/dist/commands/processor-mappings.js +4 -4
  45. package/dist/commands/processors.js +4 -4
  46. package/dist/commands/purchase-order-types.js +4 -4
  47. package/dist/commands/purchase-orders.js +4 -4
  48. package/dist/commands/reports.js +4 -4
  49. package/dist/commands/salary-types.js +4 -4
  50. package/dist/commands/sales-invoices.js +13 -12
  51. package/dist/commands/sales-orders.js +7 -5
  52. package/dist/commands/saved-views.js +4 -4
  53. package/dist/commands/scheduled-processor-mappings.d.ts +40 -0
  54. package/dist/commands/{agent-runs.js → scheduled-processor-mappings.js} +22 -23
  55. package/dist/commands/schedules.d.ts +40 -0
  56. package/dist/commands/schedules.js +1182 -0
  57. package/dist/commands/tags.js +4 -4
  58. package/dist/commands/tax-codes.js +4 -4
  59. package/dist/commands/tax-matrix.js +4 -4
  60. package/dist/commands/tenants.js +9 -7
  61. package/dist/commands/text-templates.js +4 -4
  62. package/dist/commands/tools.js +4 -4
  63. package/dist/commands/vat-declarations.js +4 -4
  64. package/dist/commands/vendor-invoices.js +8 -8
  65. package/dist/commands/webhooks.js +4 -4
  66. package/dist/commands/workflows.js +4 -4
  67. package/dist/lib/api-client.d.ts +8 -0
  68. package/dist/lib/api-client.js +20 -0
  69. package/dist/lib/auth.js +2 -2
  70. package/dist/lib/config.d.ts +2 -1
  71. package/dist/lib/config.js +20 -5
  72. package/oclif.manifest.json +956 -231
  73. package/package.json +2 -2
@@ -111,7 +111,7 @@
111
111
  "type": "option"
112
112
  },
113
113
  "sort-by": {
114
- "description": "Sort field",
114
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
115
115
  "name": "sort-by",
116
116
  "hasDynamicHelp": false,
117
117
  "multiple": false,
@@ -274,7 +274,7 @@
274
274
  "type": "option"
275
275
  },
276
276
  "sort-by": {
277
- "description": "Sort field",
277
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
278
278
  "name": "sort-by",
279
279
  "hasDynamicHelp": false,
280
280
  "multiple": false,
@@ -454,7 +454,7 @@
454
454
  "type": "option"
455
455
  },
456
456
  "sort-by": {
457
- "description": "Sort field",
457
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
458
458
  "name": "sort-by",
459
459
  "hasDynamicHelp": false,
460
460
  "multiple": false,
@@ -627,7 +627,7 @@
627
627
  "type": "option"
628
628
  },
629
629
  "sort-by": {
630
- "description": "Sort field",
630
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
631
631
  "name": "sort-by",
632
632
  "hasDynamicHelp": false,
633
633
  "multiple": false,
@@ -682,11 +682,11 @@
682
682
  "accounts.js"
683
683
  ]
684
684
  },
685
- "agent-runs": {
685
+ "agent-platform": {
686
686
  "aliases": [],
687
687
  "args": {
688
688
  "action": {
689
- "description": "Action: inbox, inbox-counts, inbox-files, list, get, retry, restart, discard, export",
689
+ "description": "Action: get-runs, get-runs-runId, runs-retry, runs-restart, runs-discard, uploads, uploads-counts, uploads-files",
690
690
  "name": "action",
691
691
  "required": true
692
692
  },
@@ -696,12 +696,8 @@
696
696
  "required": false
697
697
  }
698
698
  },
699
- "description": "Manage agent runs",
700
- "examples": [
701
- "<%= config.bin %> agent-runs list",
702
- "<%= config.bin %> agent-runs get <id>",
703
- "<%= config.bin %> agent-runs export --csv > agent-runs.csv"
704
- ],
699
+ "description": "Manage agent platform",
700
+ "examples": [],
705
701
  "flags": {
706
702
  "context": {
707
703
  "char": "c",
@@ -797,7 +793,7 @@
797
793
  "type": "option"
798
794
  },
799
795
  "sort-by": {
800
- "description": "Sort field",
796
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
801
797
  "name": "sort-by",
802
798
  "hasDynamicHelp": false,
803
799
  "multiple": false,
@@ -839,7 +835,7 @@
839
835
  },
840
836
  "hasDynamicHelp": false,
841
837
  "hiddenAliases": [],
842
- "id": "agent-runs",
838
+ "id": "agent-platform",
843
839
  "pluginAlias": "@aderis-erp/cli",
844
840
  "pluginName": "@aderis-erp/cli",
845
841
  "pluginType": "core",
@@ -849,14 +845,14 @@
849
845
  "relativePath": [
850
846
  "dist",
851
847
  "commands",
852
- "agent-runs.js"
848
+ "agent-platform.js"
853
849
  ]
854
850
  },
855
851
  "audit-log": {
856
852
  "aliases": [],
857
853
  "args": {
858
854
  "action": {
859
- "description": "Action: list, find-entity, find-workflow, export",
855
+ "description": "Action: list, get, export",
860
856
  "name": "action",
861
857
  "required": true
862
858
  },
@@ -869,6 +865,7 @@
869
865
  "description": "Manage audit log",
870
866
  "examples": [
871
867
  "<%= config.bin %> audit-log list",
868
+ "<%= config.bin %> audit-log get <id>",
872
869
  "<%= config.bin %> audit-log export --csv > audit-log.csv"
873
870
  ],
874
871
  "flags": {
@@ -959,7 +956,7 @@
959
956
  "type": "option"
960
957
  },
961
958
  "sort-by": {
962
- "description": "Sort field",
959
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
963
960
  "name": "sort-by",
964
961
  "hasDynamicHelp": false,
965
962
  "multiple": false,
@@ -1285,7 +1282,7 @@
1285
1282
  "type": "option"
1286
1283
  },
1287
1284
  "sort-by": {
1288
- "description": "Sort field",
1285
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1289
1286
  "name": "sort-by",
1290
1287
  "hasDynamicHelp": false,
1291
1288
  "multiple": false,
@@ -1465,7 +1462,7 @@
1465
1462
  "type": "option"
1466
1463
  },
1467
1464
  "sort-by": {
1468
- "description": "Sort field",
1465
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1469
1466
  "name": "sort-by",
1470
1467
  "hasDynamicHelp": false,
1471
1468
  "multiple": false,
@@ -1645,7 +1642,7 @@
1645
1642
  "type": "option"
1646
1643
  },
1647
1644
  "sort-by": {
1648
- "description": "Sort field",
1645
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1649
1646
  "name": "sort-by",
1650
1647
  "hasDynamicHelp": false,
1651
1648
  "multiple": false,
@@ -1704,7 +1701,7 @@
1704
1701
  "aliases": [],
1705
1702
  "args": {
1706
1703
  "action": {
1707
- "description": "Action: create, get, get-all, delete",
1704
+ "description": "Action: create, get, get-all, update, delete, stream, import",
1708
1705
  "name": "action",
1709
1706
  "required": true
1710
1707
  },
@@ -1717,7 +1714,9 @@
1717
1714
  "description": "Manage chat",
1718
1715
  "examples": [
1719
1716
  "<%= config.bin %> chat get <id>",
1720
- "<%= config.bin %> chat create --data '{...}'"
1717
+ "<%= config.bin %> chat create --data '{...}'",
1718
+ "<%= config.bin %> chat update <id> --set field=value",
1719
+ "<%= config.bin %> chat import --file data.json"
1721
1720
  ],
1722
1721
  "flags": {
1723
1722
  "context": {
@@ -1807,7 +1806,7 @@
1807
1806
  "type": "option"
1808
1807
  },
1809
1808
  "sort-by": {
1810
- "description": "Sort field",
1809
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1811
1810
  "name": "sort-by",
1812
1811
  "hasDynamicHelp": false,
1813
1812
  "multiple": false,
@@ -1987,7 +1986,7 @@
1987
1986
  "type": "option"
1988
1987
  },
1989
1988
  "sort-by": {
1990
- "description": "Sort field",
1989
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1991
1990
  "name": "sort-by",
1992
1991
  "hasDynamicHelp": false,
1993
1992
  "multiple": false,
@@ -2042,6 +2041,193 @@
2042
2041
  "credit-card-accounts.js"
2043
2042
  ]
2044
2043
  },
2044
+ "delivery-notes": {
2045
+ "aliases": [],
2046
+ "args": {
2047
+ "action": {
2048
+ "description": "Action: list, create, create-from-orders, create-from-invoice, create-invoice, get, update, delete, pdf, submit, approve, cancel, deliver, ship, send, create-line-items, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
2049
+ "name": "action",
2050
+ "required": true
2051
+ },
2052
+ "id": {
2053
+ "description": "Resource ID (for get, update, delete operations)",
2054
+ "name": "id",
2055
+ "required": false
2056
+ }
2057
+ },
2058
+ "description": "Manage delivery notes",
2059
+ "examples": [
2060
+ "<%= config.bin %> delivery-notes list",
2061
+ "<%= config.bin %> delivery-notes get <id>",
2062
+ "<%= config.bin %> delivery-notes create --data '{...}'",
2063
+ "<%= config.bin %> delivery-notes update <id> --set field=value",
2064
+ "<%= config.bin %> delivery-notes import --file data.json",
2065
+ "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
2066
+ ],
2067
+ "flags": {
2068
+ "context": {
2069
+ "char": "c",
2070
+ "description": "Context to use",
2071
+ "name": "context",
2072
+ "hasDynamicHelp": false,
2073
+ "multiple": false,
2074
+ "type": "option"
2075
+ },
2076
+ "output": {
2077
+ "char": "o",
2078
+ "description": "Output format (default: table for import, json for other commands)",
2079
+ "name": "output",
2080
+ "hasDynamicHelp": false,
2081
+ "multiple": false,
2082
+ "options": [
2083
+ "json",
2084
+ "table",
2085
+ "csv"
2086
+ ],
2087
+ "type": "option"
2088
+ },
2089
+ "table": {
2090
+ "char": "t",
2091
+ "description": "Output as table (shortcut for --output table)",
2092
+ "name": "table",
2093
+ "allowNo": false,
2094
+ "type": "boolean"
2095
+ },
2096
+ "csv": {
2097
+ "description": "Output as CSV (shortcut for --output csv)",
2098
+ "name": "csv",
2099
+ "allowNo": false,
2100
+ "type": "boolean"
2101
+ },
2102
+ "data": {
2103
+ "char": "d",
2104
+ "description": "JSON data for request body",
2105
+ "name": "data",
2106
+ "hasDynamicHelp": false,
2107
+ "multiple": false,
2108
+ "type": "option"
2109
+ },
2110
+ "file": {
2111
+ "char": "f",
2112
+ "description": "Read request body from file",
2113
+ "name": "file",
2114
+ "hasDynamicHelp": false,
2115
+ "multiple": false,
2116
+ "type": "option"
2117
+ },
2118
+ "set": {
2119
+ "char": "s",
2120
+ "description": "Set individual field (e.g. --set firstName=John)",
2121
+ "name": "set",
2122
+ "hasDynamicHelp": false,
2123
+ "multiple": true,
2124
+ "type": "option"
2125
+ },
2126
+ "line-item-id": {
2127
+ "description": "Path param: lineItemId",
2128
+ "name": "line-item-id",
2129
+ "hasDynamicHelp": false,
2130
+ "multiple": false,
2131
+ "type": "option"
2132
+ },
2133
+ "note-id": {
2134
+ "description": "Path param: noteId",
2135
+ "name": "note-id",
2136
+ "hasDynamicHelp": false,
2137
+ "multiple": false,
2138
+ "type": "option"
2139
+ },
2140
+ "file-id": {
2141
+ "description": "Path param: fileId",
2142
+ "name": "file-id",
2143
+ "hasDynamicHelp": false,
2144
+ "multiple": false,
2145
+ "type": "option"
2146
+ },
2147
+ "page": {
2148
+ "description": "Page number",
2149
+ "name": "page",
2150
+ "hasDynamicHelp": false,
2151
+ "multiple": false,
2152
+ "type": "option"
2153
+ },
2154
+ "limit": {
2155
+ "description": "Items per page",
2156
+ "name": "limit",
2157
+ "hasDynamicHelp": false,
2158
+ "multiple": false,
2159
+ "type": "option"
2160
+ },
2161
+ "include": {
2162
+ "description": "Relations to include",
2163
+ "name": "include",
2164
+ "hasDynamicHelp": false,
2165
+ "multiple": false,
2166
+ "type": "option"
2167
+ },
2168
+ "search": {
2169
+ "description": "Search term",
2170
+ "name": "search",
2171
+ "hasDynamicHelp": false,
2172
+ "multiple": false,
2173
+ "type": "option"
2174
+ },
2175
+ "sort-by": {
2176
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2177
+ "name": "sort-by",
2178
+ "hasDynamicHelp": false,
2179
+ "multiple": false,
2180
+ "type": "option"
2181
+ },
2182
+ "filter": {
2183
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
2184
+ "name": "filter",
2185
+ "hasDynamicHelp": false,
2186
+ "multiple": true,
2187
+ "type": "option"
2188
+ },
2189
+ "query": {
2190
+ "description": "Additional query params as JSON",
2191
+ "name": "query",
2192
+ "hasDynamicHelp": false,
2193
+ "multiple": false,
2194
+ "type": "option"
2195
+ },
2196
+ "fields": {
2197
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2198
+ "name": "fields",
2199
+ "hasDynamicHelp": false,
2200
+ "multiple": false,
2201
+ "type": "option"
2202
+ },
2203
+ "sanitize": {
2204
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
2205
+ "name": "sanitize",
2206
+ "allowNo": false,
2207
+ "type": "boolean"
2208
+ },
2209
+ "show-http-request": {
2210
+ "description": "Show HTTP request details (method, URL, body)",
2211
+ "name": "show-http-request",
2212
+ "allowNo": false,
2213
+ "type": "boolean"
2214
+ }
2215
+ },
2216
+ "hasDynamicHelp": false,
2217
+ "hiddenAliases": [],
2218
+ "id": "delivery-notes",
2219
+ "pluginAlias": "@aderis-erp/cli",
2220
+ "pluginName": "@aderis-erp/cli",
2221
+ "pluginType": "core",
2222
+ "strict": true,
2223
+ "enableJsonFlag": false,
2224
+ "isESM": true,
2225
+ "relativePath": [
2226
+ "dist",
2227
+ "commands",
2228
+ "delivery-notes.js"
2229
+ ]
2230
+ },
2045
2231
  "documents": {
2046
2232
  "aliases": [],
2047
2233
  "args": {
@@ -2153,7 +2339,7 @@
2153
2339
  "type": "option"
2154
2340
  },
2155
2341
  "sort-by": {
2156
- "description": "Sort field",
2342
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2157
2343
  "name": "sort-by",
2158
2344
  "hasDynamicHelp": false,
2159
2345
  "multiple": false,
@@ -2319,7 +2505,7 @@
2319
2505
  "type": "option"
2320
2506
  },
2321
2507
  "sort-by": {
2322
- "description": "Sort field",
2508
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2323
2509
  "name": "sort-by",
2324
2510
  "hasDynamicHelp": false,
2325
2511
  "multiple": false,
@@ -2483,7 +2669,7 @@
2483
2669
  "type": "option"
2484
2670
  },
2485
2671
  "sort-by": {
2486
- "description": "Sort field",
2672
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2487
2673
  "name": "sort-by",
2488
2674
  "hasDynamicHelp": false,
2489
2675
  "multiple": false,
@@ -2642,7 +2828,7 @@
2642
2828
  "type": "option"
2643
2829
  },
2644
2830
  "sort-by": {
2645
- "description": "Sort field",
2831
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2646
2832
  "name": "sort-by",
2647
2833
  "hasDynamicHelp": false,
2648
2834
  "multiple": false,
@@ -2805,7 +2991,7 @@
2805
2991
  "type": "option"
2806
2992
  },
2807
2993
  "sort-by": {
2808
- "description": "Sort field",
2994
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
2809
2995
  "name": "sort-by",
2810
2996
  "hasDynamicHelp": false,
2811
2997
  "multiple": false,
@@ -2999,7 +3185,7 @@
2999
3185
  "type": "option"
3000
3186
  },
3001
3187
  "sort-by": {
3002
- "description": "Sort field",
3188
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3003
3189
  "name": "sort-by",
3004
3190
  "hasDynamicHelp": false,
3005
3191
  "multiple": false,
@@ -3158,7 +3344,7 @@
3158
3344
  "type": "option"
3159
3345
  },
3160
3346
  "sort-by": {
3161
- "description": "Sort field",
3347
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3162
3348
  "name": "sort-by",
3163
3349
  "hasDynamicHelp": false,
3164
3350
  "multiple": false,
@@ -3323,7 +3509,7 @@
3323
3509
  "type": "option"
3324
3510
  },
3325
3511
  "sort-by": {
3326
- "description": "Sort field",
3512
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3327
3513
  "name": "sort-by",
3328
3514
  "hasDynamicHelp": false,
3329
3515
  "multiple": false,
@@ -3486,7 +3672,7 @@
3486
3672
  "type": "option"
3487
3673
  },
3488
3674
  "sort-by": {
3489
- "description": "Sort field",
3675
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3490
3676
  "name": "sort-by",
3491
3677
  "hasDynamicHelp": false,
3492
3678
  "multiple": false,
@@ -3647,7 +3833,7 @@
3647
3833
  "type": "option"
3648
3834
  },
3649
3835
  "sort-by": {
3650
- "description": "Sort field",
3836
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3651
3837
  "name": "sort-by",
3652
3838
  "hasDynamicHelp": false,
3653
3839
  "multiple": false,
@@ -3706,7 +3892,7 @@
3706
3892
  "aliases": [],
3707
3893
  "args": {
3708
3894
  "action": {
3709
- "description": "Action: list-processing-logs, processing-logs, upload, email-webhook, document-types",
3895
+ "description": "Action: create-upload, email-webhook, document-types, uploads-files-content, list-processing-logs, processing-logs",
3710
3896
  "name": "action",
3711
3897
  "required": true
3712
3898
  },
@@ -3777,6 +3963,13 @@
3777
3963
  "multiple": true,
3778
3964
  "type": "option"
3779
3965
  },
3966
+ "processing-id": {
3967
+ "description": "Path param: processingId",
3968
+ "name": "processing-id",
3969
+ "hasDynamicHelp": false,
3970
+ "multiple": false,
3971
+ "type": "option"
3972
+ },
3780
3973
  "page": {
3781
3974
  "description": "Page number",
3782
3975
  "name": "page",
@@ -3806,7 +3999,7 @@
3806
3999
  "type": "option"
3807
4000
  },
3808
4001
  "sort-by": {
3809
- "description": "Sort field",
4002
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3810
4003
  "name": "sort-by",
3811
4004
  "hasDynamicHelp": false,
3812
4005
  "multiple": false,
@@ -3975,7 +4168,7 @@
3975
4168
  "type": "option"
3976
4169
  },
3977
4170
  "sort-by": {
3978
- "description": "Sort field",
4171
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3979
4172
  "name": "sort-by",
3980
4173
  "hasDynamicHelp": false,
3981
4174
  "multiple": false,
@@ -4141,7 +4334,7 @@
4141
4334
  "type": "option"
4142
4335
  },
4143
4336
  "sort-by": {
4144
- "description": "Sort field",
4337
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4145
4338
  "name": "sort-by",
4146
4339
  "hasDynamicHelp": false,
4147
4340
  "multiple": false,
@@ -4307,7 +4500,7 @@
4307
4500
  "type": "option"
4308
4501
  },
4309
4502
  "sort-by": {
4310
- "description": "Sort field",
4503
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4311
4504
  "name": "sort-by",
4312
4505
  "hasDynamicHelp": false,
4313
4506
  "multiple": false,
@@ -4469,7 +4662,7 @@
4469
4662
  "type": "option"
4470
4663
  },
4471
4664
  "sort-by": {
4472
- "description": "Sort field",
4665
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4473
4666
  "name": "sort-by",
4474
4667
  "hasDynamicHelp": false,
4475
4668
  "multiple": false,
@@ -4528,7 +4721,7 @@
4528
4721
  "aliases": [],
4529
4722
  "args": {
4530
4723
  "action": {
4531
- "description": "Action: list, create, get, update, delete, post, approve, cancel, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-notes, import-files",
4724
+ "description": "Action: list, create, get, update, delete, post, approve, cancel, get-deferrals, create-deferrals, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-notes, import-files",
4532
4725
  "name": "action",
4533
4726
  "required": true
4534
4727
  },
@@ -4649,7 +4842,7 @@
4649
4842
  "type": "option"
4650
4843
  },
4651
4844
  "sort-by": {
4652
- "description": "Sort field",
4845
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4653
4846
  "name": "sort-by",
4654
4847
  "hasDynamicHelp": false,
4655
4848
  "multiple": false,
@@ -4829,7 +5022,7 @@
4829
5022
  "type": "option"
4830
5023
  },
4831
5024
  "sort-by": {
4832
- "description": "Sort field",
5025
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4833
5026
  "name": "sort-by",
4834
5027
  "hasDynamicHelp": false,
4835
5028
  "multiple": false,
@@ -4995,7 +5188,7 @@
4995
5188
  "type": "option"
4996
5189
  },
4997
5190
  "sort-by": {
4998
- "description": "Sort field",
5191
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4999
5192
  "name": "sort-by",
5000
5193
  "hasDynamicHelp": false,
5001
5194
  "multiple": false,
@@ -5168,7 +5361,7 @@
5168
5361
  "type": "option"
5169
5362
  },
5170
5363
  "sort-by": {
5171
- "description": "Sort field",
5364
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5172
5365
  "name": "sort-by",
5173
5366
  "hasDynamicHelp": false,
5174
5367
  "multiple": false,
@@ -5227,7 +5420,7 @@
5227
5420
  "aliases": [],
5228
5421
  "args": {
5229
5422
  "action": {
5230
- "description": "Action: eligible-invoices, eligible-payments, open-submissions, list, create, preview, schedule, status, get, update, delete, create-payments, delete-payments, send, painfile, sync-status, sync-status-xml, sync-all, import, export",
5423
+ "description": "Action: open-submissions, list, create, preview, schedule, status, get, update, delete, create-payments, delete-payments, send, painfile, sync-status, sync-status-xml, sync-all, import, export",
5231
5424
  "name": "action",
5232
5425
  "required": true
5233
5426
  },
@@ -5348,7 +5541,7 @@
5348
5541
  "type": "option"
5349
5542
  },
5350
5543
  "sort-by": {
5351
- "description": "Sort field",
5544
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5352
5545
  "name": "sort-by",
5353
5546
  "hasDynamicHelp": false,
5354
5547
  "multiple": false,
@@ -5514,7 +5707,7 @@
5514
5707
  "type": "option"
5515
5708
  },
5516
5709
  "sort-by": {
5517
- "description": "Sort field",
5710
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5518
5711
  "name": "sort-by",
5519
5712
  "hasDynamicHelp": false,
5520
5713
  "multiple": false,
@@ -5569,11 +5762,11 @@
5569
5762
  "payment-terms.js"
5570
5763
  ]
5571
5764
  },
5572
- "price-lists": {
5765
+ "payments": {
5573
5766
  "aliases": [],
5574
5767
  "args": {
5575
5768
  "action": {
5576
- "description": "Action: list, create, get, update, delete, list-prices, create-prices, get-prices, update-prices, delete-prices, import, export, import-prices",
5769
+ "description": "Action: list, create, get, update, delete, approve, cancel, import, export",
5577
5770
  "name": "action",
5578
5771
  "required": true
5579
5772
  },
@@ -5583,14 +5776,14 @@
5583
5776
  "required": false
5584
5777
  }
5585
5778
  },
5586
- "description": "Manage price lists",
5779
+ "description": "Manage payments",
5587
5780
  "examples": [
5588
- "<%= config.bin %> price-lists list",
5589
- "<%= config.bin %> price-lists get <id>",
5590
- "<%= config.bin %> price-lists create --data '{...}'",
5591
- "<%= config.bin %> price-lists update <id> --set field=value",
5592
- "<%= config.bin %> price-lists import --file data.json",
5593
- "<%= config.bin %> price-lists export --csv > price-lists.csv"
5781
+ "<%= config.bin %> payments list",
5782
+ "<%= config.bin %> payments get <id>",
5783
+ "<%= config.bin %> payments create --data '{...}'",
5784
+ "<%= config.bin %> payments update <id> --set field=value",
5785
+ "<%= config.bin %> payments import --file data.json",
5786
+ "<%= config.bin %> payments export --csv > payments.csv"
5594
5787
  ],
5595
5788
  "flags": {
5596
5789
  "context": {
@@ -5651,13 +5844,6 @@
5651
5844
  "multiple": true,
5652
5845
  "type": "option"
5653
5846
  },
5654
- "price-id": {
5655
- "description": "Path param: priceId",
5656
- "name": "price-id",
5657
- "hasDynamicHelp": false,
5658
- "multiple": false,
5659
- "type": "option"
5660
- },
5661
5847
  "page": {
5662
5848
  "description": "Page number",
5663
5849
  "name": "page",
@@ -5687,7 +5873,7 @@
5687
5873
  "type": "option"
5688
5874
  },
5689
5875
  "sort-by": {
5690
- "description": "Sort field",
5876
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5691
5877
  "name": "sort-by",
5692
5878
  "hasDynamicHelp": false,
5693
5879
  "multiple": false,
@@ -5729,7 +5915,7 @@
5729
5915
  },
5730
5916
  "hasDynamicHelp": false,
5731
5917
  "hiddenAliases": [],
5732
- "id": "price-lists",
5918
+ "id": "payments",
5733
5919
  "pluginAlias": "@aderis-erp/cli",
5734
5920
  "pluginName": "@aderis-erp/cli",
5735
5921
  "pluginType": "core",
@@ -5739,14 +5925,14 @@
5739
5925
  "relativePath": [
5740
5926
  "dist",
5741
5927
  "commands",
5742
- "price-lists.js"
5928
+ "payments.js"
5743
5929
  ]
5744
5930
  },
5745
- "processor-mappings": {
5931
+ "price-lists": {
5746
5932
  "aliases": [],
5747
5933
  "args": {
5748
5934
  "action": {
5749
- "description": "Action: list, create, update, delete, import, export",
5935
+ "description": "Action: list, create, get, update, delete, list-prices, create-prices, get-prices, update-prices, delete-prices, import, export, import-prices",
5750
5936
  "name": "action",
5751
5937
  "required": true
5752
5938
  },
@@ -5756,13 +5942,14 @@
5756
5942
  "required": false
5757
5943
  }
5758
5944
  },
5759
- "description": "Manage processor mappings",
5945
+ "description": "Manage price lists",
5760
5946
  "examples": [
5761
- "<%= config.bin %> processor-mappings list",
5762
- "<%= config.bin %> processor-mappings create --data '{...}'",
5763
- "<%= config.bin %> processor-mappings update <id> --set field=value",
5764
- "<%= config.bin %> processor-mappings import --file data.json",
5765
- "<%= config.bin %> processor-mappings export --csv > processor-mappings.csv"
5947
+ "<%= config.bin %> price-lists list",
5948
+ "<%= config.bin %> price-lists get <id>",
5949
+ "<%= config.bin %> price-lists create --data '{...}'",
5950
+ "<%= config.bin %> price-lists update <id> --set field=value",
5951
+ "<%= config.bin %> price-lists import --file data.json",
5952
+ "<%= config.bin %> price-lists export --csv > price-lists.csv"
5766
5953
  ],
5767
5954
  "flags": {
5768
5955
  "context": {
@@ -5823,11 +6010,18 @@
5823
6010
  "multiple": true,
5824
6011
  "type": "option"
5825
6012
  },
5826
- "page": {
5827
- "description": "Page number",
5828
- "name": "page",
5829
- "hasDynamicHelp": false,
5830
- "multiple": false,
6013
+ "price-id": {
6014
+ "description": "Path param: priceId",
6015
+ "name": "price-id",
6016
+ "hasDynamicHelp": false,
6017
+ "multiple": false,
6018
+ "type": "option"
6019
+ },
6020
+ "page": {
6021
+ "description": "Page number",
6022
+ "name": "page",
6023
+ "hasDynamicHelp": false,
6024
+ "multiple": false,
5831
6025
  "type": "option"
5832
6026
  },
5833
6027
  "limit": {
@@ -5852,7 +6046,172 @@
5852
6046
  "type": "option"
5853
6047
  },
5854
6048
  "sort-by": {
5855
- "description": "Sort field",
6049
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6050
+ "name": "sort-by",
6051
+ "hasDynamicHelp": false,
6052
+ "multiple": false,
6053
+ "type": "option"
6054
+ },
6055
+ "filter": {
6056
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
6057
+ "name": "filter",
6058
+ "hasDynamicHelp": false,
6059
+ "multiple": true,
6060
+ "type": "option"
6061
+ },
6062
+ "query": {
6063
+ "description": "Additional query params as JSON",
6064
+ "name": "query",
6065
+ "hasDynamicHelp": false,
6066
+ "multiple": false,
6067
+ "type": "option"
6068
+ },
6069
+ "fields": {
6070
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6071
+ "name": "fields",
6072
+ "hasDynamicHelp": false,
6073
+ "multiple": false,
6074
+ "type": "option"
6075
+ },
6076
+ "sanitize": {
6077
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
6078
+ "name": "sanitize",
6079
+ "allowNo": false,
6080
+ "type": "boolean"
6081
+ },
6082
+ "show-http-request": {
6083
+ "description": "Show HTTP request details (method, URL, body)",
6084
+ "name": "show-http-request",
6085
+ "allowNo": false,
6086
+ "type": "boolean"
6087
+ }
6088
+ },
6089
+ "hasDynamicHelp": false,
6090
+ "hiddenAliases": [],
6091
+ "id": "price-lists",
6092
+ "pluginAlias": "@aderis-erp/cli",
6093
+ "pluginName": "@aderis-erp/cli",
6094
+ "pluginType": "core",
6095
+ "strict": true,
6096
+ "enableJsonFlag": false,
6097
+ "isESM": true,
6098
+ "relativePath": [
6099
+ "dist",
6100
+ "commands",
6101
+ "price-lists.js"
6102
+ ]
6103
+ },
6104
+ "processor-mappings": {
6105
+ "aliases": [],
6106
+ "args": {
6107
+ "action": {
6108
+ "description": "Action: list, create, update, delete, import, export",
6109
+ "name": "action",
6110
+ "required": true
6111
+ },
6112
+ "id": {
6113
+ "description": "Resource ID (for get, update, delete operations)",
6114
+ "name": "id",
6115
+ "required": false
6116
+ }
6117
+ },
6118
+ "description": "Manage processor mappings",
6119
+ "examples": [
6120
+ "<%= config.bin %> processor-mappings list",
6121
+ "<%= config.bin %> processor-mappings create --data '{...}'",
6122
+ "<%= config.bin %> processor-mappings update <id> --set field=value",
6123
+ "<%= config.bin %> processor-mappings import --file data.json",
6124
+ "<%= config.bin %> processor-mappings export --csv > processor-mappings.csv"
6125
+ ],
6126
+ "flags": {
6127
+ "context": {
6128
+ "char": "c",
6129
+ "description": "Context to use",
6130
+ "name": "context",
6131
+ "hasDynamicHelp": false,
6132
+ "multiple": false,
6133
+ "type": "option"
6134
+ },
6135
+ "output": {
6136
+ "char": "o",
6137
+ "description": "Output format (default: table for import, json for other commands)",
6138
+ "name": "output",
6139
+ "hasDynamicHelp": false,
6140
+ "multiple": false,
6141
+ "options": [
6142
+ "json",
6143
+ "table",
6144
+ "csv"
6145
+ ],
6146
+ "type": "option"
6147
+ },
6148
+ "table": {
6149
+ "char": "t",
6150
+ "description": "Output as table (shortcut for --output table)",
6151
+ "name": "table",
6152
+ "allowNo": false,
6153
+ "type": "boolean"
6154
+ },
6155
+ "csv": {
6156
+ "description": "Output as CSV (shortcut for --output csv)",
6157
+ "name": "csv",
6158
+ "allowNo": false,
6159
+ "type": "boolean"
6160
+ },
6161
+ "data": {
6162
+ "char": "d",
6163
+ "description": "JSON data for request body",
6164
+ "name": "data",
6165
+ "hasDynamicHelp": false,
6166
+ "multiple": false,
6167
+ "type": "option"
6168
+ },
6169
+ "file": {
6170
+ "char": "f",
6171
+ "description": "Read request body from file",
6172
+ "name": "file",
6173
+ "hasDynamicHelp": false,
6174
+ "multiple": false,
6175
+ "type": "option"
6176
+ },
6177
+ "set": {
6178
+ "char": "s",
6179
+ "description": "Set individual field (e.g. --set firstName=John)",
6180
+ "name": "set",
6181
+ "hasDynamicHelp": false,
6182
+ "multiple": true,
6183
+ "type": "option"
6184
+ },
6185
+ "page": {
6186
+ "description": "Page number",
6187
+ "name": "page",
6188
+ "hasDynamicHelp": false,
6189
+ "multiple": false,
6190
+ "type": "option"
6191
+ },
6192
+ "limit": {
6193
+ "description": "Items per page",
6194
+ "name": "limit",
6195
+ "hasDynamicHelp": false,
6196
+ "multiple": false,
6197
+ "type": "option"
6198
+ },
6199
+ "include": {
6200
+ "description": "Relations to include",
6201
+ "name": "include",
6202
+ "hasDynamicHelp": false,
6203
+ "multiple": false,
6204
+ "type": "option"
6205
+ },
6206
+ "search": {
6207
+ "description": "Search term",
6208
+ "name": "search",
6209
+ "hasDynamicHelp": false,
6210
+ "multiple": false,
6211
+ "type": "option"
6212
+ },
6213
+ "sort-by": {
6214
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5856
6215
  "name": "sort-by",
5857
6216
  "hasDynamicHelp": false,
5858
6217
  "multiple": false,
@@ -6018,7 +6377,7 @@
6018
6377
  "type": "option"
6019
6378
  },
6020
6379
  "sort-by": {
6021
- "description": "Sort field",
6380
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6022
6381
  "name": "sort-by",
6023
6382
  "hasDynamicHelp": false,
6024
6383
  "multiple": false,
@@ -6073,11 +6432,357 @@
6073
6432
  "processors.js"
6074
6433
  ]
6075
6434
  },
6076
- "purchase-order-types": {
6435
+ "purchase-order-types": {
6436
+ "aliases": [],
6437
+ "args": {
6438
+ "action": {
6439
+ "description": "Action: list, create, get, update, delete, import, export",
6440
+ "name": "action",
6441
+ "required": true
6442
+ },
6443
+ "id": {
6444
+ "description": "Resource ID (for get, update, delete operations)",
6445
+ "name": "id",
6446
+ "required": false
6447
+ }
6448
+ },
6449
+ "description": "Manage purchase order types",
6450
+ "examples": [
6451
+ "<%= config.bin %> purchase-order-types list",
6452
+ "<%= config.bin %> purchase-order-types get <id>",
6453
+ "<%= config.bin %> purchase-order-types create --data '{...}'",
6454
+ "<%= config.bin %> purchase-order-types update <id> --set field=value",
6455
+ "<%= config.bin %> purchase-order-types import --file data.json",
6456
+ "<%= config.bin %> purchase-order-types export --csv > purchase-order-types.csv"
6457
+ ],
6458
+ "flags": {
6459
+ "context": {
6460
+ "char": "c",
6461
+ "description": "Context to use",
6462
+ "name": "context",
6463
+ "hasDynamicHelp": false,
6464
+ "multiple": false,
6465
+ "type": "option"
6466
+ },
6467
+ "output": {
6468
+ "char": "o",
6469
+ "description": "Output format (default: table for import, json for other commands)",
6470
+ "name": "output",
6471
+ "hasDynamicHelp": false,
6472
+ "multiple": false,
6473
+ "options": [
6474
+ "json",
6475
+ "table",
6476
+ "csv"
6477
+ ],
6478
+ "type": "option"
6479
+ },
6480
+ "table": {
6481
+ "char": "t",
6482
+ "description": "Output as table (shortcut for --output table)",
6483
+ "name": "table",
6484
+ "allowNo": false,
6485
+ "type": "boolean"
6486
+ },
6487
+ "csv": {
6488
+ "description": "Output as CSV (shortcut for --output csv)",
6489
+ "name": "csv",
6490
+ "allowNo": false,
6491
+ "type": "boolean"
6492
+ },
6493
+ "data": {
6494
+ "char": "d",
6495
+ "description": "JSON data for request body",
6496
+ "name": "data",
6497
+ "hasDynamicHelp": false,
6498
+ "multiple": false,
6499
+ "type": "option"
6500
+ },
6501
+ "file": {
6502
+ "char": "f",
6503
+ "description": "Read request body from file",
6504
+ "name": "file",
6505
+ "hasDynamicHelp": false,
6506
+ "multiple": false,
6507
+ "type": "option"
6508
+ },
6509
+ "set": {
6510
+ "char": "s",
6511
+ "description": "Set individual field (e.g. --set firstName=John)",
6512
+ "name": "set",
6513
+ "hasDynamicHelp": false,
6514
+ "multiple": true,
6515
+ "type": "option"
6516
+ },
6517
+ "page": {
6518
+ "description": "Page number",
6519
+ "name": "page",
6520
+ "hasDynamicHelp": false,
6521
+ "multiple": false,
6522
+ "type": "option"
6523
+ },
6524
+ "limit": {
6525
+ "description": "Items per page",
6526
+ "name": "limit",
6527
+ "hasDynamicHelp": false,
6528
+ "multiple": false,
6529
+ "type": "option"
6530
+ },
6531
+ "include": {
6532
+ "description": "Relations to include",
6533
+ "name": "include",
6534
+ "hasDynamicHelp": false,
6535
+ "multiple": false,
6536
+ "type": "option"
6537
+ },
6538
+ "search": {
6539
+ "description": "Search term",
6540
+ "name": "search",
6541
+ "hasDynamicHelp": false,
6542
+ "multiple": false,
6543
+ "type": "option"
6544
+ },
6545
+ "sort-by": {
6546
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6547
+ "name": "sort-by",
6548
+ "hasDynamicHelp": false,
6549
+ "multiple": false,
6550
+ "type": "option"
6551
+ },
6552
+ "filter": {
6553
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
6554
+ "name": "filter",
6555
+ "hasDynamicHelp": false,
6556
+ "multiple": true,
6557
+ "type": "option"
6558
+ },
6559
+ "query": {
6560
+ "description": "Additional query params as JSON",
6561
+ "name": "query",
6562
+ "hasDynamicHelp": false,
6563
+ "multiple": false,
6564
+ "type": "option"
6565
+ },
6566
+ "fields": {
6567
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6568
+ "name": "fields",
6569
+ "hasDynamicHelp": false,
6570
+ "multiple": false,
6571
+ "type": "option"
6572
+ },
6573
+ "sanitize": {
6574
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
6575
+ "name": "sanitize",
6576
+ "allowNo": false,
6577
+ "type": "boolean"
6578
+ },
6579
+ "show-http-request": {
6580
+ "description": "Show HTTP request details (method, URL, body)",
6581
+ "name": "show-http-request",
6582
+ "allowNo": false,
6583
+ "type": "boolean"
6584
+ }
6585
+ },
6586
+ "hasDynamicHelp": false,
6587
+ "hiddenAliases": [],
6588
+ "id": "purchase-order-types",
6589
+ "pluginAlias": "@aderis-erp/cli",
6590
+ "pluginName": "@aderis-erp/cli",
6591
+ "pluginType": "core",
6592
+ "strict": true,
6593
+ "enableJsonFlag": false,
6594
+ "isESM": true,
6595
+ "relativePath": [
6596
+ "dist",
6597
+ "commands",
6598
+ "purchase-order-types.js"
6599
+ ]
6600
+ },
6601
+ "purchase-orders": {
6602
+ "aliases": [],
6603
+ "args": {
6604
+ "action": {
6605
+ "description": "Action: list, create, get, update, delete, submit, approve, decline, cancel, create-line-items, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-line-items, import-notes",
6606
+ "name": "action",
6607
+ "required": true
6608
+ },
6609
+ "id": {
6610
+ "description": "Resource ID (for get, update, delete operations)",
6611
+ "name": "id",
6612
+ "required": false
6613
+ }
6614
+ },
6615
+ "description": "Manage purchase orders",
6616
+ "examples": [
6617
+ "<%= config.bin %> purchase-orders list",
6618
+ "<%= config.bin %> purchase-orders get <id>",
6619
+ "<%= config.bin %> purchase-orders create --data '{...}'",
6620
+ "<%= config.bin %> purchase-orders update <id> --set field=value",
6621
+ "<%= config.bin %> purchase-orders import --file data.json",
6622
+ "<%= config.bin %> purchase-orders export --csv > purchase-orders.csv"
6623
+ ],
6624
+ "flags": {
6625
+ "context": {
6626
+ "char": "c",
6627
+ "description": "Context to use",
6628
+ "name": "context",
6629
+ "hasDynamicHelp": false,
6630
+ "multiple": false,
6631
+ "type": "option"
6632
+ },
6633
+ "output": {
6634
+ "char": "o",
6635
+ "description": "Output format (default: table for import, json for other commands)",
6636
+ "name": "output",
6637
+ "hasDynamicHelp": false,
6638
+ "multiple": false,
6639
+ "options": [
6640
+ "json",
6641
+ "table",
6642
+ "csv"
6643
+ ],
6644
+ "type": "option"
6645
+ },
6646
+ "table": {
6647
+ "char": "t",
6648
+ "description": "Output as table (shortcut for --output table)",
6649
+ "name": "table",
6650
+ "allowNo": false,
6651
+ "type": "boolean"
6652
+ },
6653
+ "csv": {
6654
+ "description": "Output as CSV (shortcut for --output csv)",
6655
+ "name": "csv",
6656
+ "allowNo": false,
6657
+ "type": "boolean"
6658
+ },
6659
+ "data": {
6660
+ "char": "d",
6661
+ "description": "JSON data for request body",
6662
+ "name": "data",
6663
+ "hasDynamicHelp": false,
6664
+ "multiple": false,
6665
+ "type": "option"
6666
+ },
6667
+ "file": {
6668
+ "char": "f",
6669
+ "description": "Read request body from file",
6670
+ "name": "file",
6671
+ "hasDynamicHelp": false,
6672
+ "multiple": false,
6673
+ "type": "option"
6674
+ },
6675
+ "set": {
6676
+ "char": "s",
6677
+ "description": "Set individual field (e.g. --set firstName=John)",
6678
+ "name": "set",
6679
+ "hasDynamicHelp": false,
6680
+ "multiple": true,
6681
+ "type": "option"
6682
+ },
6683
+ "line-item-id": {
6684
+ "description": "Path param: lineItemId",
6685
+ "name": "line-item-id",
6686
+ "hasDynamicHelp": false,
6687
+ "multiple": false,
6688
+ "type": "option"
6689
+ },
6690
+ "note-id": {
6691
+ "description": "Path param: noteId",
6692
+ "name": "note-id",
6693
+ "hasDynamicHelp": false,
6694
+ "multiple": false,
6695
+ "type": "option"
6696
+ },
6697
+ "page": {
6698
+ "description": "Page number",
6699
+ "name": "page",
6700
+ "hasDynamicHelp": false,
6701
+ "multiple": false,
6702
+ "type": "option"
6703
+ },
6704
+ "limit": {
6705
+ "description": "Items per page",
6706
+ "name": "limit",
6707
+ "hasDynamicHelp": false,
6708
+ "multiple": false,
6709
+ "type": "option"
6710
+ },
6711
+ "include": {
6712
+ "description": "Relations to include",
6713
+ "name": "include",
6714
+ "hasDynamicHelp": false,
6715
+ "multiple": false,
6716
+ "type": "option"
6717
+ },
6718
+ "search": {
6719
+ "description": "Search term",
6720
+ "name": "search",
6721
+ "hasDynamicHelp": false,
6722
+ "multiple": false,
6723
+ "type": "option"
6724
+ },
6725
+ "sort-by": {
6726
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6727
+ "name": "sort-by",
6728
+ "hasDynamicHelp": false,
6729
+ "multiple": false,
6730
+ "type": "option"
6731
+ },
6732
+ "filter": {
6733
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
6734
+ "name": "filter",
6735
+ "hasDynamicHelp": false,
6736
+ "multiple": true,
6737
+ "type": "option"
6738
+ },
6739
+ "query": {
6740
+ "description": "Additional query params as JSON",
6741
+ "name": "query",
6742
+ "hasDynamicHelp": false,
6743
+ "multiple": false,
6744
+ "type": "option"
6745
+ },
6746
+ "fields": {
6747
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6748
+ "name": "fields",
6749
+ "hasDynamicHelp": false,
6750
+ "multiple": false,
6751
+ "type": "option"
6752
+ },
6753
+ "sanitize": {
6754
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
6755
+ "name": "sanitize",
6756
+ "allowNo": false,
6757
+ "type": "boolean"
6758
+ },
6759
+ "show-http-request": {
6760
+ "description": "Show HTTP request details (method, URL, body)",
6761
+ "name": "show-http-request",
6762
+ "allowNo": false,
6763
+ "type": "boolean"
6764
+ }
6765
+ },
6766
+ "hasDynamicHelp": false,
6767
+ "hiddenAliases": [],
6768
+ "id": "purchase-orders",
6769
+ "pluginAlias": "@aderis-erp/cli",
6770
+ "pluginName": "@aderis-erp/cli",
6771
+ "pluginType": "core",
6772
+ "strict": true,
6773
+ "enableJsonFlag": false,
6774
+ "isESM": true,
6775
+ "relativePath": [
6776
+ "dist",
6777
+ "commands",
6778
+ "purchase-orders.js"
6779
+ ]
6780
+ },
6781
+ "reports": {
6077
6782
  "aliases": [],
6078
6783
  "args": {
6079
6784
  "action": {
6080
- "description": "Action: list, create, get, update, delete, import, export",
6785
+ "description": "Action: profit-and-loss, balance-sheet, gl-detail, gl-detail-export-xlsx, gl-detail-export-pdf",
6081
6786
  "name": "action",
6082
6787
  "required": true
6083
6788
  },
@@ -6087,15 +6792,8 @@
6087
6792
  "required": false
6088
6793
  }
6089
6794
  },
6090
- "description": "Manage purchase order types",
6091
- "examples": [
6092
- "<%= config.bin %> purchase-order-types list",
6093
- "<%= config.bin %> purchase-order-types get <id>",
6094
- "<%= config.bin %> purchase-order-types create --data '{...}'",
6095
- "<%= config.bin %> purchase-order-types update <id> --set field=value",
6096
- "<%= config.bin %> purchase-order-types import --file data.json",
6097
- "<%= config.bin %> purchase-order-types export --csv > purchase-order-types.csv"
6098
- ],
6795
+ "description": "Manage reports",
6796
+ "examples": [],
6099
6797
  "flags": {
6100
6798
  "context": {
6101
6799
  "char": "c",
@@ -6184,7 +6882,7 @@
6184
6882
  "type": "option"
6185
6883
  },
6186
6884
  "sort-by": {
6187
- "description": "Sort field",
6885
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6188
6886
  "name": "sort-by",
6189
6887
  "hasDynamicHelp": false,
6190
6888
  "multiple": false,
@@ -6226,7 +6924,7 @@
6226
6924
  },
6227
6925
  "hasDynamicHelp": false,
6228
6926
  "hiddenAliases": [],
6229
- "id": "purchase-order-types",
6927
+ "id": "reports",
6230
6928
  "pluginAlias": "@aderis-erp/cli",
6231
6929
  "pluginName": "@aderis-erp/cli",
6232
6930
  "pluginType": "core",
@@ -6236,14 +6934,14 @@
6236
6934
  "relativePath": [
6237
6935
  "dist",
6238
6936
  "commands",
6239
- "purchase-order-types.js"
6937
+ "reports.js"
6240
6938
  ]
6241
6939
  },
6242
- "purchase-orders": {
6940
+ "salary-types": {
6243
6941
  "aliases": [],
6244
6942
  "args": {
6245
6943
  "action": {
6246
- "description": "Action: list, create, get, update, delete, submit, approve, decline, cancel, create-line-items, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-line-items, import-notes",
6944
+ "description": "Action: list, create, get, update, delete, import, export",
6247
6945
  "name": "action",
6248
6946
  "required": true
6249
6947
  },
@@ -6253,14 +6951,14 @@
6253
6951
  "required": false
6254
6952
  }
6255
6953
  },
6256
- "description": "Manage purchase orders",
6954
+ "description": "Manage salary types",
6257
6955
  "examples": [
6258
- "<%= config.bin %> purchase-orders list",
6259
- "<%= config.bin %> purchase-orders get <id>",
6260
- "<%= config.bin %> purchase-orders create --data '{...}'",
6261
- "<%= config.bin %> purchase-orders update <id> --set field=value",
6262
- "<%= config.bin %> purchase-orders import --file data.json",
6263
- "<%= config.bin %> purchase-orders export --csv > purchase-orders.csv"
6956
+ "<%= config.bin %> salary-types list",
6957
+ "<%= config.bin %> salary-types get <id>",
6958
+ "<%= config.bin %> salary-types create --data '{...}'",
6959
+ "<%= config.bin %> salary-types update <id> --set field=value",
6960
+ "<%= config.bin %> salary-types import --file data.json",
6961
+ "<%= config.bin %> salary-types export --csv > salary-types.csv"
6264
6962
  ],
6265
6963
  "flags": {
6266
6964
  "context": {
@@ -6321,20 +7019,6 @@
6321
7019
  "multiple": true,
6322
7020
  "type": "option"
6323
7021
  },
6324
- "line-item-id": {
6325
- "description": "Path param: lineItemId",
6326
- "name": "line-item-id",
6327
- "hasDynamicHelp": false,
6328
- "multiple": false,
6329
- "type": "option"
6330
- },
6331
- "note-id": {
6332
- "description": "Path param: noteId",
6333
- "name": "note-id",
6334
- "hasDynamicHelp": false,
6335
- "multiple": false,
6336
- "type": "option"
6337
- },
6338
7022
  "page": {
6339
7023
  "description": "Page number",
6340
7024
  "name": "page",
@@ -6364,7 +7048,7 @@
6364
7048
  "type": "option"
6365
7049
  },
6366
7050
  "sort-by": {
6367
- "description": "Sort field",
7051
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6368
7052
  "name": "sort-by",
6369
7053
  "hasDynamicHelp": false,
6370
7054
  "multiple": false,
@@ -6406,7 +7090,7 @@
6406
7090
  },
6407
7091
  "hasDynamicHelp": false,
6408
7092
  "hiddenAliases": [],
6409
- "id": "purchase-orders",
7093
+ "id": "salary-types",
6410
7094
  "pluginAlias": "@aderis-erp/cli",
6411
7095
  "pluginName": "@aderis-erp/cli",
6412
7096
  "pluginType": "core",
@@ -6416,14 +7100,14 @@
6416
7100
  "relativePath": [
6417
7101
  "dist",
6418
7102
  "commands",
6419
- "purchase-orders.js"
7103
+ "salary-types.js"
6420
7104
  ]
6421
7105
  },
6422
- "reports": {
7106
+ "sales-invoices": {
6423
7107
  "aliases": [],
6424
7108
  "args": {
6425
7109
  "action": {
6426
- "description": "Action: profit-and-loss, balance-sheet, gl-detail, gl-detail-export-xlsx, gl-detail-export-pdf",
7110
+ "description": "Action: list, create, create-migrated-invoice, pdf, get, update, delete, approve, match-sales-orders, validate, request-approval, send, send-resend, cancel, copy, replace, merge, create-line-items, line-items-from-sales-order, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
6427
7111
  "name": "action",
6428
7112
  "required": true
6429
7113
  },
@@ -6433,8 +7117,15 @@
6433
7117
  "required": false
6434
7118
  }
6435
7119
  },
6436
- "description": "Manage reports",
6437
- "examples": [],
7120
+ "description": "Manage sales invoices",
7121
+ "examples": [
7122
+ "<%= config.bin %> sales-invoices list",
7123
+ "<%= config.bin %> sales-invoices get <id>",
7124
+ "<%= config.bin %> sales-invoices create --data '{...}'",
7125
+ "<%= config.bin %> sales-invoices update <id> --set field=value",
7126
+ "<%= config.bin %> sales-invoices import --file data.json",
7127
+ "<%= config.bin %> sales-invoices export --csv > sales-invoices.csv"
7128
+ ],
6438
7129
  "flags": {
6439
7130
  "context": {
6440
7131
  "char": "c",
@@ -6494,6 +7185,27 @@
6494
7185
  "multiple": true,
6495
7186
  "type": "option"
6496
7187
  },
7188
+ "line-item-id": {
7189
+ "description": "Path param: lineItemId",
7190
+ "name": "line-item-id",
7191
+ "hasDynamicHelp": false,
7192
+ "multiple": false,
7193
+ "type": "option"
7194
+ },
7195
+ "note-id": {
7196
+ "description": "Path param: noteId",
7197
+ "name": "note-id",
7198
+ "hasDynamicHelp": false,
7199
+ "multiple": false,
7200
+ "type": "option"
7201
+ },
7202
+ "file-id": {
7203
+ "description": "Path param: fileId",
7204
+ "name": "file-id",
7205
+ "hasDynamicHelp": false,
7206
+ "multiple": false,
7207
+ "type": "option"
7208
+ },
6497
7209
  "page": {
6498
7210
  "description": "Page number",
6499
7211
  "name": "page",
@@ -6523,7 +7235,7 @@
6523
7235
  "type": "option"
6524
7236
  },
6525
7237
  "sort-by": {
6526
- "description": "Sort field",
7238
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6527
7239
  "name": "sort-by",
6528
7240
  "hasDynamicHelp": false,
6529
7241
  "multiple": false,
@@ -6565,7 +7277,7 @@
6565
7277
  },
6566
7278
  "hasDynamicHelp": false,
6567
7279
  "hiddenAliases": [],
6568
- "id": "reports",
7280
+ "id": "sales-invoices",
6569
7281
  "pluginAlias": "@aderis-erp/cli",
6570
7282
  "pluginName": "@aderis-erp/cli",
6571
7283
  "pluginType": "core",
@@ -6575,14 +7287,14 @@
6575
7287
  "relativePath": [
6576
7288
  "dist",
6577
7289
  "commands",
6578
- "reports.js"
7290
+ "sales-invoices.js"
6579
7291
  ]
6580
7292
  },
6581
- "salary-types": {
7293
+ "sales-orders": {
6582
7294
  "aliases": [],
6583
7295
  "args": {
6584
7296
  "action": {
6585
- "description": "Action: list, create, get, update, delete, import, export",
7297
+ "description": "Action: list, create, create-invoices, get, update, delete, pdf, submit, approve, accept, terminate, cancel, replace, merge, create-invoice, send, create-line-items, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
6586
7298
  "name": "action",
6587
7299
  "required": true
6588
7300
  },
@@ -6592,14 +7304,14 @@
6592
7304
  "required": false
6593
7305
  }
6594
7306
  },
6595
- "description": "Manage salary types",
7307
+ "description": "Manage sales orders",
6596
7308
  "examples": [
6597
- "<%= config.bin %> salary-types list",
6598
- "<%= config.bin %> salary-types get <id>",
6599
- "<%= config.bin %> salary-types create --data '{...}'",
6600
- "<%= config.bin %> salary-types update <id> --set field=value",
6601
- "<%= config.bin %> salary-types import --file data.json",
6602
- "<%= config.bin %> salary-types export --csv > salary-types.csv"
7309
+ "<%= config.bin %> sales-orders list",
7310
+ "<%= config.bin %> sales-orders get <id>",
7311
+ "<%= config.bin %> sales-orders create --data '{...}'",
7312
+ "<%= config.bin %> sales-orders update <id> --set field=value",
7313
+ "<%= config.bin %> sales-orders import --file data.json",
7314
+ "<%= config.bin %> sales-orders export --csv > sales-orders.csv"
6603
7315
  ],
6604
7316
  "flags": {
6605
7317
  "context": {
@@ -6660,6 +7372,27 @@
6660
7372
  "multiple": true,
6661
7373
  "type": "option"
6662
7374
  },
7375
+ "line-item-id": {
7376
+ "description": "Path param: lineItemId",
7377
+ "name": "line-item-id",
7378
+ "hasDynamicHelp": false,
7379
+ "multiple": false,
7380
+ "type": "option"
7381
+ },
7382
+ "note-id": {
7383
+ "description": "Path param: noteId",
7384
+ "name": "note-id",
7385
+ "hasDynamicHelp": false,
7386
+ "multiple": false,
7387
+ "type": "option"
7388
+ },
7389
+ "file-id": {
7390
+ "description": "Path param: fileId",
7391
+ "name": "file-id",
7392
+ "hasDynamicHelp": false,
7393
+ "multiple": false,
7394
+ "type": "option"
7395
+ },
6663
7396
  "page": {
6664
7397
  "description": "Page number",
6665
7398
  "name": "page",
@@ -6689,7 +7422,7 @@
6689
7422
  "type": "option"
6690
7423
  },
6691
7424
  "sort-by": {
6692
- "description": "Sort field",
7425
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6693
7426
  "name": "sort-by",
6694
7427
  "hasDynamicHelp": false,
6695
7428
  "multiple": false,
@@ -6731,7 +7464,7 @@
6731
7464
  },
6732
7465
  "hasDynamicHelp": false,
6733
7466
  "hiddenAliases": [],
6734
- "id": "salary-types",
7467
+ "id": "sales-orders",
6735
7468
  "pluginAlias": "@aderis-erp/cli",
6736
7469
  "pluginName": "@aderis-erp/cli",
6737
7470
  "pluginType": "core",
@@ -6741,14 +7474,14 @@
6741
7474
  "relativePath": [
6742
7475
  "dist",
6743
7476
  "commands",
6744
- "salary-types.js"
7477
+ "sales-orders.js"
6745
7478
  ]
6746
7479
  },
6747
- "sales-invoices": {
7480
+ "saved-views": {
6748
7481
  "aliases": [],
6749
7482
  "args": {
6750
7483
  "action": {
6751
- "description": "Action: list, create, create-migrated-invoice, pdf, get, update, delete, approve, match-sales-orders, validate, request-approval, send, send-resend, cancel, copy, replace, create-line-items, line-items-from-sales-order, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
7484
+ "description": "Action: get, create, delete",
6752
7485
  "name": "action",
6753
7486
  "required": true
6754
7487
  },
@@ -6758,14 +7491,10 @@
6758
7491
  "required": false
6759
7492
  }
6760
7493
  },
6761
- "description": "Manage sales invoices",
7494
+ "description": "Manage saved views",
6762
7495
  "examples": [
6763
- "<%= config.bin %> sales-invoices list",
6764
- "<%= config.bin %> sales-invoices get <id>",
6765
- "<%= config.bin %> sales-invoices create --data '{...}'",
6766
- "<%= config.bin %> sales-invoices update <id> --set field=value",
6767
- "<%= config.bin %> sales-invoices import --file data.json",
6768
- "<%= config.bin %> sales-invoices export --csv > sales-invoices.csv"
7496
+ "<%= config.bin %> saved-views get <id>",
7497
+ "<%= config.bin %> saved-views create --data '{...}'"
6769
7498
  ],
6770
7499
  "flags": {
6771
7500
  "context": {
@@ -6826,27 +7555,6 @@
6826
7555
  "multiple": true,
6827
7556
  "type": "option"
6828
7557
  },
6829
- "line-item-id": {
6830
- "description": "Path param: lineItemId",
6831
- "name": "line-item-id",
6832
- "hasDynamicHelp": false,
6833
- "multiple": false,
6834
- "type": "option"
6835
- },
6836
- "note-id": {
6837
- "description": "Path param: noteId",
6838
- "name": "note-id",
6839
- "hasDynamicHelp": false,
6840
- "multiple": false,
6841
- "type": "option"
6842
- },
6843
- "file-id": {
6844
- "description": "Path param: fileId",
6845
- "name": "file-id",
6846
- "hasDynamicHelp": false,
6847
- "multiple": false,
6848
- "type": "option"
6849
- },
6850
7558
  "page": {
6851
7559
  "description": "Page number",
6852
7560
  "name": "page",
@@ -6876,7 +7584,7 @@
6876
7584
  "type": "option"
6877
7585
  },
6878
7586
  "sort-by": {
6879
- "description": "Sort field",
7587
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
6880
7588
  "name": "sort-by",
6881
7589
  "hasDynamicHelp": false,
6882
7590
  "multiple": false,
@@ -6918,7 +7626,7 @@
6918
7626
  },
6919
7627
  "hasDynamicHelp": false,
6920
7628
  "hiddenAliases": [],
6921
- "id": "sales-invoices",
7629
+ "id": "saved-views",
6922
7630
  "pluginAlias": "@aderis-erp/cli",
6923
7631
  "pluginName": "@aderis-erp/cli",
6924
7632
  "pluginType": "core",
@@ -6928,14 +7636,14 @@
6928
7636
  "relativePath": [
6929
7637
  "dist",
6930
7638
  "commands",
6931
- "sales-invoices.js"
7639
+ "saved-views.js"
6932
7640
  ]
6933
7641
  },
6934
- "sales-orders": {
7642
+ "scheduled-processor-mappings": {
6935
7643
  "aliases": [],
6936
7644
  "args": {
6937
7645
  "action": {
6938
- "description": "Action: list, create, get, update, delete, pdf, submit, approve, accept, terminate, cancel, replace, create-invoice, send, create-line-items, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
7646
+ "description": "Action: list, create, get, update, delete, import, export",
6939
7647
  "name": "action",
6940
7648
  "required": true
6941
7649
  },
@@ -6945,14 +7653,14 @@
6945
7653
  "required": false
6946
7654
  }
6947
7655
  },
6948
- "description": "Manage sales orders",
7656
+ "description": "Manage scheduled processor mappings",
6949
7657
  "examples": [
6950
- "<%= config.bin %> sales-orders list",
6951
- "<%= config.bin %> sales-orders get <id>",
6952
- "<%= config.bin %> sales-orders create --data '{...}'",
6953
- "<%= config.bin %> sales-orders update <id> --set field=value",
6954
- "<%= config.bin %> sales-orders import --file data.json",
6955
- "<%= config.bin %> sales-orders export --csv > sales-orders.csv"
7658
+ "<%= config.bin %> scheduled-processor-mappings list",
7659
+ "<%= config.bin %> scheduled-processor-mappings get <id>",
7660
+ "<%= config.bin %> scheduled-processor-mappings create --data '{...}'",
7661
+ "<%= config.bin %> scheduled-processor-mappings update <id> --set field=value",
7662
+ "<%= config.bin %> scheduled-processor-mappings import --file data.json",
7663
+ "<%= config.bin %> scheduled-processor-mappings export --csv > scheduled-processor-mappings.csv"
6956
7664
  ],
6957
7665
  "flags": {
6958
7666
  "context": {
@@ -7013,27 +7721,6 @@
7013
7721
  "multiple": true,
7014
7722
  "type": "option"
7015
7723
  },
7016
- "line-item-id": {
7017
- "description": "Path param: lineItemId",
7018
- "name": "line-item-id",
7019
- "hasDynamicHelp": false,
7020
- "multiple": false,
7021
- "type": "option"
7022
- },
7023
- "note-id": {
7024
- "description": "Path param: noteId",
7025
- "name": "note-id",
7026
- "hasDynamicHelp": false,
7027
- "multiple": false,
7028
- "type": "option"
7029
- },
7030
- "file-id": {
7031
- "description": "Path param: fileId",
7032
- "name": "file-id",
7033
- "hasDynamicHelp": false,
7034
- "multiple": false,
7035
- "type": "option"
7036
- },
7037
7724
  "page": {
7038
7725
  "description": "Page number",
7039
7726
  "name": "page",
@@ -7063,7 +7750,7 @@
7063
7750
  "type": "option"
7064
7751
  },
7065
7752
  "sort-by": {
7066
- "description": "Sort field",
7753
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7067
7754
  "name": "sort-by",
7068
7755
  "hasDynamicHelp": false,
7069
7756
  "multiple": false,
@@ -7105,7 +7792,7 @@
7105
7792
  },
7106
7793
  "hasDynamicHelp": false,
7107
7794
  "hiddenAliases": [],
7108
- "id": "sales-orders",
7795
+ "id": "scheduled-processor-mappings",
7109
7796
  "pluginAlias": "@aderis-erp/cli",
7110
7797
  "pluginName": "@aderis-erp/cli",
7111
7798
  "pluginType": "core",
@@ -7115,14 +7802,14 @@
7115
7802
  "relativePath": [
7116
7803
  "dist",
7117
7804
  "commands",
7118
- "sales-orders.js"
7805
+ "scheduled-processor-mappings.js"
7119
7806
  ]
7120
7807
  },
7121
- "saved-views": {
7808
+ "schedules": {
7122
7809
  "aliases": [],
7123
7810
  "args": {
7124
7811
  "action": {
7125
- "description": "Action: get, create, delete",
7812
+ "description": "Action: list, create, get, update, delete, runs, pause, resume, trigger, import, export",
7126
7813
  "name": "action",
7127
7814
  "required": true
7128
7815
  },
@@ -7132,10 +7819,14 @@
7132
7819
  "required": false
7133
7820
  }
7134
7821
  },
7135
- "description": "Manage saved views",
7822
+ "description": "Manage schedules",
7136
7823
  "examples": [
7137
- "<%= config.bin %> saved-views get <id>",
7138
- "<%= config.bin %> saved-views create --data '{...}'"
7824
+ "<%= config.bin %> schedules list",
7825
+ "<%= config.bin %> schedules get <id>",
7826
+ "<%= config.bin %> schedules create --data '{...}'",
7827
+ "<%= config.bin %> schedules update <id> --set field=value",
7828
+ "<%= config.bin %> schedules import --file data.json",
7829
+ "<%= config.bin %> schedules export --csv > schedules.csv"
7139
7830
  ],
7140
7831
  "flags": {
7141
7832
  "context": {
@@ -7225,7 +7916,7 @@
7225
7916
  "type": "option"
7226
7917
  },
7227
7918
  "sort-by": {
7228
- "description": "Sort field",
7919
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7229
7920
  "name": "sort-by",
7230
7921
  "hasDynamicHelp": false,
7231
7922
  "multiple": false,
@@ -7267,7 +7958,7 @@
7267
7958
  },
7268
7959
  "hasDynamicHelp": false,
7269
7960
  "hiddenAliases": [],
7270
- "id": "saved-views",
7961
+ "id": "schedules",
7271
7962
  "pluginAlias": "@aderis-erp/cli",
7272
7963
  "pluginName": "@aderis-erp/cli",
7273
7964
  "pluginType": "core",
@@ -7277,7 +7968,7 @@
7277
7968
  "relativePath": [
7278
7969
  "dist",
7279
7970
  "commands",
7280
- "saved-views.js"
7971
+ "schedules.js"
7281
7972
  ]
7282
7973
  },
7283
7974
  "switch": {
@@ -7414,7 +8105,7 @@
7414
8105
  "type": "option"
7415
8106
  },
7416
8107
  "sort-by": {
7417
- "description": "Sort field",
8108
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7418
8109
  "name": "sort-by",
7419
8110
  "hasDynamicHelp": false,
7420
8111
  "multiple": false,
@@ -7580,7 +8271,7 @@
7580
8271
  "type": "option"
7581
8272
  },
7582
8273
  "sort-by": {
7583
- "description": "Sort field",
8274
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7584
8275
  "name": "sort-by",
7585
8276
  "hasDynamicHelp": false,
7586
8277
  "multiple": false,
@@ -7746,7 +8437,7 @@
7746
8437
  "type": "option"
7747
8438
  },
7748
8439
  "sort-by": {
7749
- "description": "Sort field",
8440
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7750
8441
  "name": "sort-by",
7751
8442
  "hasDynamicHelp": false,
7752
8443
  "multiple": false,
@@ -7805,7 +8496,7 @@
7805
8496
  "aliases": [],
7806
8497
  "args": {
7807
8498
  "action": {
7808
- "description": "Action: list, create, get, update, delete, import, export",
8499
+ "description": "Action: list, create, get, update, delete, logo, icon, import, export",
7809
8500
  "name": "action",
7810
8501
  "required": true
7811
8502
  },
@@ -7912,7 +8603,7 @@
7912
8603
  "type": "option"
7913
8604
  },
7914
8605
  "sort-by": {
7915
- "description": "Sort field",
8606
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
7916
8607
  "name": "sort-by",
7917
8608
  "hasDynamicHelp": false,
7918
8609
  "multiple": false,
@@ -8078,7 +8769,7 @@
8078
8769
  "type": "option"
8079
8770
  },
8080
8771
  "sort-by": {
8081
- "description": "Sort field",
8772
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8082
8773
  "name": "sort-by",
8083
8774
  "hasDynamicHelp": false,
8084
8775
  "multiple": false,
@@ -8240,7 +8931,7 @@
8240
8931
  "type": "option"
8241
8932
  },
8242
8933
  "sort-by": {
8243
- "description": "Sort field",
8934
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8244
8935
  "name": "sort-by",
8245
8936
  "hasDynamicHelp": false,
8246
8937
  "multiple": false,
@@ -8420,7 +9111,7 @@
8420
9111
  "type": "option"
8421
9112
  },
8422
9113
  "sort-by": {
8423
- "description": "Sort field",
9114
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8424
9115
  "name": "sort-by",
8425
9116
  "hasDynamicHelp": false,
8426
9117
  "multiple": false,
@@ -8614,7 +9305,7 @@
8614
9305
  "type": "option"
8615
9306
  },
8616
9307
  "sort-by": {
8617
- "description": "Sort field",
9308
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8618
9309
  "name": "sort-by",
8619
9310
  "hasDynamicHelp": false,
8620
9311
  "multiple": false,
@@ -8780,7 +9471,7 @@
8780
9471
  "type": "option"
8781
9472
  },
8782
9473
  "sort-by": {
8783
- "description": "Sort field",
9474
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8784
9475
  "name": "sort-by",
8785
9476
  "hasDynamicHelp": false,
8786
9477
  "multiple": false,
@@ -8942,7 +9633,7 @@
8942
9633
  "type": "option"
8943
9634
  },
8944
9635
  "sort-by": {
8945
- "description": "Sort field",
9636
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8946
9637
  "name": "sort-by",
8947
9638
  "hasDynamicHelp": false,
8948
9639
  "multiple": false,
@@ -9024,13 +9715,12 @@
9024
9715
  },
9025
9716
  "environment": {
9026
9717
  "char": "e",
9027
- "description": "Environment (dev, test, staging, live)",
9718
+ "description": "Environment (dev, staging, live)",
9028
9719
  "name": "environment",
9029
9720
  "hasDynamicHelp": false,
9030
9721
  "multiple": false,
9031
9722
  "options": [
9032
9723
  "dev",
9033
- "test",
9034
9724
  "staging",
9035
9725
  "live"
9036
9726
  ],
@@ -9235,13 +9925,12 @@
9235
9925
  },
9236
9926
  "environment": {
9237
9927
  "char": "e",
9238
- "description": "Environment (dev, test, staging, live)",
9928
+ "description": "Environment (dev, staging, live)",
9239
9929
  "name": "environment",
9240
9930
  "hasDynamicHelp": false,
9241
9931
  "multiple": false,
9242
9932
  "options": [
9243
9933
  "dev",
9244
- "test",
9245
9934
  "staging",
9246
9935
  "live"
9247
9936
  ],
@@ -9382,6 +10071,42 @@
9382
10071
  "list.js"
9383
10072
  ]
9384
10073
  },
10074
+ "config:rename": {
10075
+ "aliases": [],
10076
+ "args": {
10077
+ "oldName": {
10078
+ "description": "Current name of the context to rename",
10079
+ "name": "oldName",
10080
+ "required": false
10081
+ },
10082
+ "newName": {
10083
+ "description": "New name for the context",
10084
+ "name": "newName",
10085
+ "required": false
10086
+ }
10087
+ },
10088
+ "description": "Rename a configured context",
10089
+ "examples": [
10090
+ "<%= config.bin %> config rename aderis-erp aderis-erp-dev",
10091
+ "<%= config.bin %> config rename"
10092
+ ],
10093
+ "flags": {},
10094
+ "hasDynamicHelp": false,
10095
+ "hiddenAliases": [],
10096
+ "id": "config:rename",
10097
+ "pluginAlias": "@aderis-erp/cli",
10098
+ "pluginName": "@aderis-erp/cli",
10099
+ "pluginType": "core",
10100
+ "strict": true,
10101
+ "enableJsonFlag": false,
10102
+ "isESM": true,
10103
+ "relativePath": [
10104
+ "dist",
10105
+ "commands",
10106
+ "config",
10107
+ "rename.js"
10108
+ ]
10109
+ },
9385
10110
  "config:use": {
9386
10111
  "aliases": [],
9387
10112
  "args": {
@@ -9414,5 +10139,5 @@
9414
10139
  ]
9415
10140
  }
9416
10141
  },
9417
- "version": "1.0.12"
10142
+ "version": "1.0.14"
9418
10143
  }