@aderis-erp/cli 1.0.14 → 1.0.15

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 (83) hide show
  1. package/dist/commands/access-groups.js +17 -17
  2. package/dist/commands/account-transaction-allocations.js +17 -17
  3. package/dist/commands/account-transactions.js +19 -19
  4. package/dist/commands/accounts.js +19 -19
  5. package/dist/commands/agent-platform.js +19 -18
  6. package/dist/commands/analytics.d.ts +40 -0
  7. package/dist/commands/{documents.js → analytics.js} +29 -39
  8. package/dist/commands/audit-log.js +17 -17
  9. package/dist/commands/auth/login.js +11 -2
  10. package/dist/commands/auth/logout.d.ts +2 -0
  11. package/dist/commands/auth/logout.js +19 -6
  12. package/dist/commands/auth/status.js +26 -12
  13. package/dist/commands/auth/tenant.js +12 -3
  14. package/dist/commands/auth.js +32 -17
  15. package/dist/commands/bank-accounts.js +17 -17
  16. package/dist/commands/bank-integrations.js +17 -17
  17. package/dist/commands/business-partners.js +25 -22
  18. package/dist/commands/chat.js +17 -17
  19. package/dist/commands/config/add.d.ts +9 -0
  20. package/dist/commands/config/add.js +64 -2
  21. package/dist/commands/config/current.js +9 -4
  22. package/dist/commands/config/list.js +9 -4
  23. package/dist/commands/config/set-api-key.d.ts +10 -0
  24. package/dist/commands/config/set-api-key.js +49 -0
  25. package/dist/commands/config/use.js +3 -4
  26. package/dist/commands/credit-card-accounts.js +17 -17
  27. package/dist/commands/delivery-notes.js +22 -21
  28. package/dist/commands/dunning-configs.js +17 -17
  29. package/dist/commands/dunning-reminders.js +17 -17
  30. package/dist/commands/dunning-runs.js +17 -17
  31. package/dist/commands/email-transactions.js +17 -17
  32. package/dist/commands/employees.js +19 -19
  33. package/dist/commands/entity-configurations.js +17 -17
  34. package/dist/commands/event-processor-mappings.js +17 -17
  35. package/dist/commands/{documents.d.ts → files.d.ts} +1 -1
  36. package/dist/commands/{files-internal.js → files.js} +35 -29
  37. package/dist/commands/health.js +17 -17
  38. package/dist/commands/inbox.js +17 -17
  39. package/dist/commands/integrations.js +17 -17
  40. package/dist/commands/item-categories.js +17 -17
  41. package/dist/commands/items.js +19 -19
  42. package/dist/commands/journal-lines.js +17 -17
  43. package/dist/commands/journals.js +21 -20
  44. package/dist/commands/ledgers.js +21 -18
  45. package/dist/commands/office-locations.js +17 -17
  46. package/dist/commands/payment-methods.js +17 -17
  47. package/dist/commands/payment-runs.js +19 -18
  48. package/dist/commands/payment-terms.js +17 -17
  49. package/dist/commands/payments.js +17 -17
  50. package/dist/commands/price-lists.js +17 -17
  51. package/dist/commands/processor-mappings.js +17 -17
  52. package/dist/commands/processors.js +17 -17
  53. package/dist/commands/purchase-order-types.js +17 -17
  54. package/dist/commands/purchase-orders.d.ts +1 -0
  55. package/dist/commands/purchase-orders.js +28 -21
  56. package/dist/commands/reports.js +17 -17
  57. package/dist/commands/salary-types.js +17 -17
  58. package/dist/commands/sales-invoices.js +27 -25
  59. package/dist/commands/sales-orders.js +19 -19
  60. package/dist/commands/saved-views.js +17 -17
  61. package/dist/commands/scheduled-processor-mappings.js +17 -17
  62. package/dist/commands/schedules.js +17 -17
  63. package/dist/commands/switch.js +10 -3
  64. package/dist/commands/{files-internal.d.ts → tag-configurations.d.ts} +1 -1
  65. package/dist/commands/tag-configurations.js +1178 -0
  66. package/dist/commands/tags.js +17 -17
  67. package/dist/commands/tax-codes.js +17 -17
  68. package/dist/commands/tax-matrix.js +17 -17
  69. package/dist/commands/tenants.js +17 -17
  70. package/dist/commands/text-templates.js +17 -17
  71. package/dist/commands/tools.js +17 -17
  72. package/dist/commands/vat-declarations.js +17 -17
  73. package/dist/commands/vendor-invoices.js +21 -21
  74. package/dist/commands/webhooks.js +17 -17
  75. package/dist/commands/workflows.js +17 -17
  76. package/dist/lib/api-client.js +11 -6
  77. package/dist/lib/auth.d.ts +8 -0
  78. package/dist/lib/auth.js +51 -7
  79. package/dist/lib/base-api-command.js +6 -4
  80. package/dist/lib/config.d.ts +31 -1
  81. package/dist/lib/config.js +31 -0
  82. package/oclif.manifest.json +729 -247
  83. package/package.json +2 -2
@@ -25,8 +25,12 @@
25
25
  ],
26
26
  "flags": {
27
27
  "context": {
28
+ "aliases": [
29
+ "config"
30
+ ],
28
31
  "char": "c",
29
- "description": "Context to use",
32
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
33
+ "env": "ADERIS_CONTEXT",
30
34
  "name": "context",
31
35
  "hasDynamicHelp": false,
32
36
  "multiple": false,
@@ -188,8 +192,12 @@
188
192
  ],
189
193
  "flags": {
190
194
  "context": {
195
+ "aliases": [
196
+ "config"
197
+ ],
191
198
  "char": "c",
192
- "description": "Context to use",
199
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
200
+ "env": "ADERIS_CONTEXT",
193
201
  "name": "context",
194
202
  "hasDynamicHelp": false,
195
203
  "multiple": false,
@@ -354,8 +362,12 @@
354
362
  ],
355
363
  "flags": {
356
364
  "context": {
365
+ "aliases": [
366
+ "config"
367
+ ],
357
368
  "char": "c",
358
- "description": "Context to use",
369
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
370
+ "env": "ADERIS_CONTEXT",
359
371
  "name": "context",
360
372
  "hasDynamicHelp": false,
361
373
  "multiple": false,
@@ -534,8 +546,12 @@
534
546
  ],
535
547
  "flags": {
536
548
  "context": {
549
+ "aliases": [
550
+ "config"
551
+ ],
537
552
  "char": "c",
538
- "description": "Context to use",
553
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
554
+ "env": "ADERIS_CONTEXT",
539
555
  "name": "context",
540
556
  "hasDynamicHelp": false,
541
557
  "multiple": false,
@@ -686,7 +702,7 @@
686
702
  "aliases": [],
687
703
  "args": {
688
704
  "action": {
689
- "description": "Action: get-runs, get-runs-runId, runs-retry, runs-restart, runs-discard, uploads, uploads-counts, uploads-files",
705
+ "description": "Action: get-runs, get-runs-runId, runs-retry, runs-restart, runs-discard, uploads, uploads-counts, uploads-files, usage",
690
706
  "name": "action",
691
707
  "required": true
692
708
  },
@@ -700,8 +716,12 @@
700
716
  "examples": [],
701
717
  "flags": {
702
718
  "context": {
719
+ "aliases": [
720
+ "config"
721
+ ],
703
722
  "char": "c",
704
- "description": "Context to use",
723
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
724
+ "env": "ADERIS_CONTEXT",
705
725
  "name": "context",
706
726
  "hasDynamicHelp": false,
707
727
  "multiple": false,
@@ -848,6 +868,169 @@
848
868
  "agent-platform.js"
849
869
  ]
850
870
  },
871
+ "analytics": {
872
+ "aliases": [],
873
+ "args": {
874
+ "action": {
875
+ "description": "Action: query, views, views-name",
876
+ "name": "action",
877
+ "required": true
878
+ },
879
+ "id": {
880
+ "description": "Resource ID (for get, update, delete operations)",
881
+ "name": "id",
882
+ "required": false
883
+ }
884
+ },
885
+ "description": "Manage analytics",
886
+ "examples": [],
887
+ "flags": {
888
+ "context": {
889
+ "aliases": [
890
+ "config"
891
+ ],
892
+ "char": "c",
893
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
894
+ "env": "ADERIS_CONTEXT",
895
+ "name": "context",
896
+ "hasDynamicHelp": false,
897
+ "multiple": false,
898
+ "type": "option"
899
+ },
900
+ "output": {
901
+ "char": "o",
902
+ "description": "Output format (default: table for import, json for other commands)",
903
+ "name": "output",
904
+ "hasDynamicHelp": false,
905
+ "multiple": false,
906
+ "options": [
907
+ "json",
908
+ "table",
909
+ "csv"
910
+ ],
911
+ "type": "option"
912
+ },
913
+ "table": {
914
+ "char": "t",
915
+ "description": "Output as table (shortcut for --output table)",
916
+ "name": "table",
917
+ "allowNo": false,
918
+ "type": "boolean"
919
+ },
920
+ "csv": {
921
+ "description": "Output as CSV (shortcut for --output csv)",
922
+ "name": "csv",
923
+ "allowNo": false,
924
+ "type": "boolean"
925
+ },
926
+ "data": {
927
+ "char": "d",
928
+ "description": "JSON data for request body",
929
+ "name": "data",
930
+ "hasDynamicHelp": false,
931
+ "multiple": false,
932
+ "type": "option"
933
+ },
934
+ "file": {
935
+ "char": "f",
936
+ "description": "Read request body from file",
937
+ "name": "file",
938
+ "hasDynamicHelp": false,
939
+ "multiple": false,
940
+ "type": "option"
941
+ },
942
+ "set": {
943
+ "char": "s",
944
+ "description": "Set individual field (e.g. --set firstName=John)",
945
+ "name": "set",
946
+ "hasDynamicHelp": false,
947
+ "multiple": true,
948
+ "type": "option"
949
+ },
950
+ "page": {
951
+ "description": "Page number",
952
+ "name": "page",
953
+ "hasDynamicHelp": false,
954
+ "multiple": false,
955
+ "type": "option"
956
+ },
957
+ "limit": {
958
+ "description": "Items per page",
959
+ "name": "limit",
960
+ "hasDynamicHelp": false,
961
+ "multiple": false,
962
+ "type": "option"
963
+ },
964
+ "include": {
965
+ "description": "Relations to include",
966
+ "name": "include",
967
+ "hasDynamicHelp": false,
968
+ "multiple": false,
969
+ "type": "option"
970
+ },
971
+ "search": {
972
+ "description": "Search term",
973
+ "name": "search",
974
+ "hasDynamicHelp": false,
975
+ "multiple": false,
976
+ "type": "option"
977
+ },
978
+ "sort-by": {
979
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
980
+ "name": "sort-by",
981
+ "hasDynamicHelp": false,
982
+ "multiple": false,
983
+ "type": "option"
984
+ },
985
+ "filter": {
986
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
987
+ "name": "filter",
988
+ "hasDynamicHelp": false,
989
+ "multiple": true,
990
+ "type": "option"
991
+ },
992
+ "query": {
993
+ "description": "Additional query params as JSON",
994
+ "name": "query",
995
+ "hasDynamicHelp": false,
996
+ "multiple": false,
997
+ "type": "option"
998
+ },
999
+ "fields": {
1000
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1001
+ "name": "fields",
1002
+ "hasDynamicHelp": false,
1003
+ "multiple": false,
1004
+ "type": "option"
1005
+ },
1006
+ "sanitize": {
1007
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
1008
+ "name": "sanitize",
1009
+ "allowNo": false,
1010
+ "type": "boolean"
1011
+ },
1012
+ "show-http-request": {
1013
+ "description": "Show HTTP request details (method, URL, body)",
1014
+ "name": "show-http-request",
1015
+ "allowNo": false,
1016
+ "type": "boolean"
1017
+ }
1018
+ },
1019
+ "hasDynamicHelp": false,
1020
+ "hiddenAliases": [],
1021
+ "id": "analytics",
1022
+ "pluginAlias": "@aderis-erp/cli",
1023
+ "pluginName": "@aderis-erp/cli",
1024
+ "pluginType": "core",
1025
+ "strict": true,
1026
+ "enableJsonFlag": false,
1027
+ "isESM": true,
1028
+ "relativePath": [
1029
+ "dist",
1030
+ "commands",
1031
+ "analytics.js"
1032
+ ]
1033
+ },
851
1034
  "audit-log": {
852
1035
  "aliases": [],
853
1036
  "args": {
@@ -870,8 +1053,12 @@
870
1053
  ],
871
1054
  "flags": {
872
1055
  "context": {
1056
+ "aliases": [
1057
+ "config"
1058
+ ],
873
1059
  "char": "c",
874
- "description": "Context to use",
1060
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1061
+ "env": "ADERIS_CONTEXT",
875
1062
  "name": "context",
876
1063
  "hasDynamicHelp": false,
877
1064
  "multiple": false,
@@ -1029,8 +1216,12 @@
1029
1216
  "examples": [],
1030
1217
  "flags": {
1031
1218
  "context": {
1219
+ "aliases": [
1220
+ "config"
1221
+ ],
1032
1222
  "char": "c",
1033
- "description": "Context to use",
1223
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1224
+ "env": "ADERIS_CONTEXT",
1034
1225
  "name": "context",
1035
1226
  "hasDynamicHelp": false,
1036
1227
  "multiple": false,
@@ -1182,8 +1373,12 @@
1182
1373
  ],
1183
1374
  "flags": {
1184
1375
  "context": {
1376
+ "aliases": [
1377
+ "config"
1378
+ ],
1185
1379
  "char": "c",
1186
- "description": "Context to use",
1380
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1381
+ "env": "ADERIS_CONTEXT",
1187
1382
  "name": "context",
1188
1383
  "hasDynamicHelp": false,
1189
1384
  "multiple": false,
@@ -1362,8 +1557,12 @@
1362
1557
  ],
1363
1558
  "flags": {
1364
1559
  "context": {
1560
+ "aliases": [
1561
+ "config"
1562
+ ],
1365
1563
  "char": "c",
1366
- "description": "Context to use",
1564
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1565
+ "env": "ADERIS_CONTEXT",
1367
1566
  "name": "context",
1368
1567
  "hasDynamicHelp": false,
1369
1568
  "multiple": false,
@@ -1521,7 +1720,7 @@
1521
1720
  "aliases": [],
1522
1721
  "args": {
1523
1722
  "action": {
1524
- "description": "Action: list, create, get, update, delete, merge, activate, list-notes, create-notes, get-notes, update-notes, delete-notes, list-contacts, create-contacts, get-contacts, update-contacts, delete-contacts, list-contacts-notes, create-contacts-notes, get-contacts-notes, update-contacts-notes, delete-contacts-notes, import, export, import-notes, import-contacts, import-contacts-notes",
1723
+ "description": "Action: list, create, get, update, delete, merge, activate, get-favicon, update-favicon, trigger-favicon-backfill, list-notes, create-notes, get-notes, update-notes, delete-notes, list-contacts, create-contacts, get-contacts, update-contacts, delete-contacts, list-contacts-notes, create-contacts-notes, get-contacts-notes, update-contacts-notes, delete-contacts-notes, import, export, import-notes, import-contacts, import-contacts-notes",
1525
1724
  "name": "action",
1526
1725
  "required": true
1527
1726
  },
@@ -1542,8 +1741,12 @@
1542
1741
  ],
1543
1742
  "flags": {
1544
1743
  "context": {
1744
+ "aliases": [
1745
+ "config"
1746
+ ],
1545
1747
  "char": "c",
1546
- "description": "Context to use",
1748
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1749
+ "env": "ADERIS_CONTEXT",
1547
1750
  "name": "context",
1548
1751
  "hasDynamicHelp": false,
1549
1752
  "multiple": false,
@@ -1720,8 +1923,12 @@
1720
1923
  ],
1721
1924
  "flags": {
1722
1925
  "context": {
1926
+ "aliases": [
1927
+ "config"
1928
+ ],
1723
1929
  "char": "c",
1724
- "description": "Context to use",
1930
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1931
+ "env": "ADERIS_CONTEXT",
1725
1932
  "name": "context",
1726
1933
  "hasDynamicHelp": false,
1727
1934
  "multiple": false,
@@ -1886,8 +2093,12 @@
1886
2093
  ],
1887
2094
  "flags": {
1888
2095
  "context": {
2096
+ "aliases": [
2097
+ "config"
2098
+ ],
1889
2099
  "char": "c",
1890
- "description": "Context to use",
2100
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2101
+ "env": "ADERIS_CONTEXT",
1891
2102
  "name": "context",
1892
2103
  "hasDynamicHelp": false,
1893
2104
  "multiple": false,
@@ -2045,7 +2256,7 @@
2045
2256
  "aliases": [],
2046
2257
  "args": {
2047
2258
  "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",
2259
+ "description": "Action: list, create, create-from-orders, create-from-invoice, create-invoice, get, update, delete, pdf, submit, approve, cancel, replace, 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
2260
  "name": "action",
2050
2261
  "required": true
2051
2262
  },
@@ -2066,8 +2277,12 @@
2066
2277
  ],
2067
2278
  "flags": {
2068
2279
  "context": {
2280
+ "aliases": [
2281
+ "config"
2282
+ ],
2069
2283
  "char": "c",
2070
- "description": "Context to use",
2284
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2285
+ "env": "ADERIS_CONTEXT",
2071
2286
  "name": "context",
2072
2287
  "hasDynamicHelp": false,
2073
2288
  "multiple": false,
@@ -2141,173 +2356,7 @@
2141
2356
  "description": "Path param: fileId",
2142
2357
  "name": "file-id",
2143
2358
  "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
- },
2231
- "documents": {
2232
- "aliases": [],
2233
- "args": {
2234
- "action": {
2235
- "description": "Action: list, create, get, update, delete, reclassify, import, export",
2236
- "name": "action",
2237
- "required": true
2238
- },
2239
- "id": {
2240
- "description": "Resource ID (for get, update, delete operations)",
2241
- "name": "id",
2242
- "required": false
2243
- }
2244
- },
2245
- "description": "Manage documents",
2246
- "examples": [
2247
- "<%= config.bin %> documents list",
2248
- "<%= config.bin %> documents get <id>",
2249
- "<%= config.bin %> documents create --data '{...}'",
2250
- "<%= config.bin %> documents update <id> --set field=value",
2251
- "<%= config.bin %> documents import --file data.json",
2252
- "<%= config.bin %> documents export --csv > documents.csv"
2253
- ],
2254
- "flags": {
2255
- "context": {
2256
- "char": "c",
2257
- "description": "Context to use",
2258
- "name": "context",
2259
- "hasDynamicHelp": false,
2260
- "multiple": false,
2261
- "type": "option"
2262
- },
2263
- "output": {
2264
- "char": "o",
2265
- "description": "Output format (default: table for import, json for other commands)",
2266
- "name": "output",
2267
- "hasDynamicHelp": false,
2268
- "multiple": false,
2269
- "options": [
2270
- "json",
2271
- "table",
2272
- "csv"
2273
- ],
2274
- "type": "option"
2275
- },
2276
- "table": {
2277
- "char": "t",
2278
- "description": "Output as table (shortcut for --output table)",
2279
- "name": "table",
2280
- "allowNo": false,
2281
- "type": "boolean"
2282
- },
2283
- "csv": {
2284
- "description": "Output as CSV (shortcut for --output csv)",
2285
- "name": "csv",
2286
- "allowNo": false,
2287
- "type": "boolean"
2288
- },
2289
- "data": {
2290
- "char": "d",
2291
- "description": "JSON data for request body",
2292
- "name": "data",
2293
- "hasDynamicHelp": false,
2294
- "multiple": false,
2295
- "type": "option"
2296
- },
2297
- "file": {
2298
- "char": "f",
2299
- "description": "Read request body from file",
2300
- "name": "file",
2301
- "hasDynamicHelp": false,
2302
- "multiple": false,
2303
- "type": "option"
2304
- },
2305
- "set": {
2306
- "char": "s",
2307
- "description": "Set individual field (e.g. --set firstName=John)",
2308
- "name": "set",
2309
- "hasDynamicHelp": false,
2310
- "multiple": true,
2359
+ "multiple": false,
2311
2360
  "type": "option"
2312
2361
  },
2313
2362
  "page": {
@@ -2381,7 +2430,7 @@
2381
2430
  },
2382
2431
  "hasDynamicHelp": false,
2383
2432
  "hiddenAliases": [],
2384
- "id": "documents",
2433
+ "id": "delivery-notes",
2385
2434
  "pluginAlias": "@aderis-erp/cli",
2386
2435
  "pluginName": "@aderis-erp/cli",
2387
2436
  "pluginType": "core",
@@ -2391,7 +2440,7 @@
2391
2440
  "relativePath": [
2392
2441
  "dist",
2393
2442
  "commands",
2394
- "documents.js"
2443
+ "delivery-notes.js"
2395
2444
  ]
2396
2445
  },
2397
2446
  "dunning-configs": {
@@ -2419,8 +2468,12 @@
2419
2468
  ],
2420
2469
  "flags": {
2421
2470
  "context": {
2471
+ "aliases": [
2472
+ "config"
2473
+ ],
2422
2474
  "char": "c",
2423
- "description": "Context to use",
2475
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2476
+ "env": "ADERIS_CONTEXT",
2424
2477
  "name": "context",
2425
2478
  "hasDynamicHelp": false,
2426
2479
  "multiple": false,
@@ -2583,8 +2636,12 @@
2583
2636
  ],
2584
2637
  "flags": {
2585
2638
  "context": {
2639
+ "aliases": [
2640
+ "config"
2641
+ ],
2586
2642
  "char": "c",
2587
- "description": "Context to use",
2643
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2644
+ "env": "ADERIS_CONTEXT",
2588
2645
  "name": "context",
2589
2646
  "hasDynamicHelp": false,
2590
2647
  "multiple": false,
@@ -2742,8 +2799,12 @@
2742
2799
  "examples": [],
2743
2800
  "flags": {
2744
2801
  "context": {
2802
+ "aliases": [
2803
+ "config"
2804
+ ],
2745
2805
  "char": "c",
2746
- "description": "Context to use",
2806
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2807
+ "env": "ADERIS_CONTEXT",
2747
2808
  "name": "context",
2748
2809
  "hasDynamicHelp": false,
2749
2810
  "multiple": false,
@@ -2905,8 +2966,12 @@
2905
2966
  ],
2906
2967
  "flags": {
2907
2968
  "context": {
2969
+ "aliases": [
2970
+ "config"
2971
+ ],
2908
2972
  "char": "c",
2909
- "description": "Context to use",
2973
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2974
+ "env": "ADERIS_CONTEXT",
2910
2975
  "name": "context",
2911
2976
  "hasDynamicHelp": false,
2912
2977
  "multiple": false,
@@ -3071,8 +3136,12 @@
3071
3136
  ],
3072
3137
  "flags": {
3073
3138
  "context": {
3139
+ "aliases": [
3140
+ "config"
3141
+ ],
3074
3142
  "char": "c",
3075
- "description": "Context to use",
3143
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3144
+ "env": "ADERIS_CONTEXT",
3076
3145
  "name": "context",
3077
3146
  "hasDynamicHelp": false,
3078
3147
  "multiple": false,
@@ -3258,8 +3327,12 @@
3258
3327
  "examples": [],
3259
3328
  "flags": {
3260
3329
  "context": {
3330
+ "aliases": [
3331
+ "config"
3332
+ ],
3261
3333
  "char": "c",
3262
- "description": "Context to use",
3334
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3335
+ "env": "ADERIS_CONTEXT",
3263
3336
  "name": "context",
3264
3337
  "hasDynamicHelp": false,
3265
3338
  "multiple": false,
@@ -3423,8 +3496,12 @@
3423
3496
  ],
3424
3497
  "flags": {
3425
3498
  "context": {
3499
+ "aliases": [
3500
+ "config"
3501
+ ],
3426
3502
  "char": "c",
3427
- "description": "Context to use",
3503
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3504
+ "env": "ADERIS_CONTEXT",
3428
3505
  "name": "context",
3429
3506
  "hasDynamicHelp": false,
3430
3507
  "multiple": false,
@@ -3564,11 +3641,11 @@
3564
3641
  "event-processor-mappings.js"
3565
3642
  ]
3566
3643
  },
3567
- "files-internal": {
3644
+ "files": {
3568
3645
  "aliases": [],
3569
3646
  "args": {
3570
3647
  "action": {
3571
- "description": "Action: create, download-all, download, references, update, move, renditions, retention, hold, import",
3648
+ "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, import, export",
3572
3649
  "name": "action",
3573
3650
  "required": true
3574
3651
  },
@@ -3578,16 +3655,23 @@
3578
3655
  "required": false
3579
3656
  }
3580
3657
  },
3581
- "description": "Manage files internal",
3658
+ "description": "Manage files",
3582
3659
  "examples": [
3583
- "<%= config.bin %> files-internal create --data '{...}'",
3584
- "<%= config.bin %> files-internal update <id> --set field=value",
3585
- "<%= config.bin %> files-internal import --file data.json"
3660
+ "<%= config.bin %> files list",
3661
+ "<%= config.bin %> files get <id>",
3662
+ "<%= config.bin %> files create --data '{...}'",
3663
+ "<%= config.bin %> files update <id> --set field=value",
3664
+ "<%= config.bin %> files import --file data.json",
3665
+ "<%= config.bin %> files export --csv > files.csv"
3586
3666
  ],
3587
3667
  "flags": {
3588
3668
  "context": {
3669
+ "aliases": [
3670
+ "config"
3671
+ ],
3589
3672
  "char": "c",
3590
- "description": "Context to use",
3673
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3674
+ "env": "ADERIS_CONTEXT",
3591
3675
  "name": "context",
3592
3676
  "hasDynamicHelp": false,
3593
3677
  "multiple": false,
@@ -3714,7 +3798,7 @@
3714
3798
  },
3715
3799
  "hasDynamicHelp": false,
3716
3800
  "hiddenAliases": [],
3717
- "id": "files-internal",
3801
+ "id": "files",
3718
3802
  "pluginAlias": "@aderis-erp/cli",
3719
3803
  "pluginName": "@aderis-erp/cli",
3720
3804
  "pluginType": "core",
@@ -3724,7 +3808,7 @@
3724
3808
  "relativePath": [
3725
3809
  "dist",
3726
3810
  "commands",
3727
- "files-internal.js"
3811
+ "files.js"
3728
3812
  ]
3729
3813
  },
3730
3814
  "health": {
@@ -3747,8 +3831,12 @@
3747
3831
  ],
3748
3832
  "flags": {
3749
3833
  "context": {
3834
+ "aliases": [
3835
+ "config"
3836
+ ],
3750
3837
  "char": "c",
3751
- "description": "Context to use",
3838
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3839
+ "env": "ADERIS_CONTEXT",
3752
3840
  "name": "context",
3753
3841
  "hasDynamicHelp": false,
3754
3842
  "multiple": false,
@@ -3906,8 +3994,12 @@
3906
3994
  "examples": [],
3907
3995
  "flags": {
3908
3996
  "context": {
3997
+ "aliases": [
3998
+ "config"
3999
+ ],
3909
4000
  "char": "c",
3910
- "description": "Context to use",
4001
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4002
+ "env": "ADERIS_CONTEXT",
3911
4003
  "name": "context",
3912
4004
  "hasDynamicHelp": false,
3913
4005
  "multiple": false,
@@ -4075,8 +4167,12 @@
4075
4167
  ],
4076
4168
  "flags": {
4077
4169
  "context": {
4170
+ "aliases": [
4171
+ "config"
4172
+ ],
4078
4173
  "char": "c",
4079
- "description": "Context to use",
4174
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4175
+ "env": "ADERIS_CONTEXT",
4080
4176
  "name": "context",
4081
4177
  "hasDynamicHelp": false,
4082
4178
  "multiple": false,
@@ -4248,8 +4344,12 @@
4248
4344
  ],
4249
4345
  "flags": {
4250
4346
  "context": {
4347
+ "aliases": [
4348
+ "config"
4349
+ ],
4251
4350
  "char": "c",
4252
- "description": "Context to use",
4351
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4352
+ "env": "ADERIS_CONTEXT",
4253
4353
  "name": "context",
4254
4354
  "hasDynamicHelp": false,
4255
4355
  "multiple": false,
@@ -4414,8 +4514,12 @@
4414
4514
  ],
4415
4515
  "flags": {
4416
4516
  "context": {
4517
+ "aliases": [
4518
+ "config"
4519
+ ],
4417
4520
  "char": "c",
4418
- "description": "Context to use",
4521
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4522
+ "env": "ADERIS_CONTEXT",
4419
4523
  "name": "context",
4420
4524
  "hasDynamicHelp": false,
4421
4525
  "multiple": false,
@@ -4576,8 +4680,12 @@
4576
4680
  ],
4577
4681
  "flags": {
4578
4682
  "context": {
4683
+ "aliases": [
4684
+ "config"
4685
+ ],
4579
4686
  "char": "c",
4580
- "description": "Context to use",
4687
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4688
+ "env": "ADERIS_CONTEXT",
4581
4689
  "name": "context",
4582
4690
  "hasDynamicHelp": false,
4583
4691
  "multiple": false,
@@ -4721,7 +4829,7 @@
4721
4829
  "aliases": [],
4722
4830
  "args": {
4723
4831
  "action": {
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",
4832
+ "description": "Action: list, create, get, update, delete, post, approve, cancel, reverse, 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",
4725
4833
  "name": "action",
4726
4834
  "required": true
4727
4835
  },
@@ -4742,8 +4850,12 @@
4742
4850
  ],
4743
4851
  "flags": {
4744
4852
  "context": {
4853
+ "aliases": [
4854
+ "config"
4855
+ ],
4745
4856
  "char": "c",
4746
- "description": "Context to use",
4857
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4858
+ "env": "ADERIS_CONTEXT",
4747
4859
  "name": "context",
4748
4860
  "hasDynamicHelp": false,
4749
4861
  "multiple": false,
@@ -4901,7 +5013,7 @@
4901
5013
  "aliases": [],
4902
5014
  "args": {
4903
5015
  "action": {
4904
- "description": "Action: list, create, get, update, delete, list-notes, create-notes, get-notes, update-notes, delete-notes, list-closings, create-closings, get-closings, update-closings, closings-close, closings-reopen, import, export, import-notes, import-closings",
5016
+ "description": "Action: list, create, get, update, delete, list-notes, create-notes, get-notes, update-notes, delete-notes, list-closings, create-closings, get-closings, update-closings, closings-close, closings-reopen, list-posting-runs, create-posting-runs, posting-runs, import, export, import-notes, import-closings",
4905
5017
  "name": "action",
4906
5018
  "required": true
4907
5019
  },
@@ -4922,8 +5034,12 @@
4922
5034
  ],
4923
5035
  "flags": {
4924
5036
  "context": {
5037
+ "aliases": [
5038
+ "config"
5039
+ ],
4925
5040
  "char": "c",
4926
- "description": "Context to use",
5041
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5042
+ "env": "ADERIS_CONTEXT",
4927
5043
  "name": "context",
4928
5044
  "hasDynamicHelp": false,
4929
5045
  "multiple": false,
@@ -5102,8 +5218,12 @@
5102
5218
  ],
5103
5219
  "flags": {
5104
5220
  "context": {
5221
+ "aliases": [
5222
+ "config"
5223
+ ],
5105
5224
  "char": "c",
5106
- "description": "Context to use",
5225
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5226
+ "env": "ADERIS_CONTEXT",
5107
5227
  "name": "context",
5108
5228
  "hasDynamicHelp": false,
5109
5229
  "multiple": false,
@@ -5268,8 +5388,12 @@
5268
5388
  ],
5269
5389
  "flags": {
5270
5390
  "context": {
5391
+ "aliases": [
5392
+ "config"
5393
+ ],
5271
5394
  "char": "c",
5272
- "description": "Context to use",
5395
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5396
+ "env": "ADERIS_CONTEXT",
5273
5397
  "name": "context",
5274
5398
  "hasDynamicHelp": false,
5275
5399
  "multiple": false,
@@ -5420,7 +5544,7 @@
5420
5544
  "aliases": [],
5421
5545
  "args": {
5422
5546
  "action": {
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",
5547
+ "description": "Action: open-submissions, eligible-payments, list, create, preview, schedule, status, get, update, delete, create-payments, delete-payments, send, painfile, sync-status, sync-status-xml, sync-all, import, export",
5424
5548
  "name": "action",
5425
5549
  "required": true
5426
5550
  },
@@ -5441,8 +5565,12 @@
5441
5565
  ],
5442
5566
  "flags": {
5443
5567
  "context": {
5568
+ "aliases": [
5569
+ "config"
5570
+ ],
5444
5571
  "char": "c",
5445
- "description": "Context to use",
5572
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5573
+ "env": "ADERIS_CONTEXT",
5446
5574
  "name": "context",
5447
5575
  "hasDynamicHelp": false,
5448
5576
  "multiple": false,
@@ -5621,8 +5749,12 @@
5621
5749
  ],
5622
5750
  "flags": {
5623
5751
  "context": {
5752
+ "aliases": [
5753
+ "config"
5754
+ ],
5624
5755
  "char": "c",
5625
- "description": "Context to use",
5756
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5757
+ "env": "ADERIS_CONTEXT",
5626
5758
  "name": "context",
5627
5759
  "hasDynamicHelp": false,
5628
5760
  "multiple": false,
@@ -5787,8 +5919,12 @@
5787
5919
  ],
5788
5920
  "flags": {
5789
5921
  "context": {
5922
+ "aliases": [
5923
+ "config"
5924
+ ],
5790
5925
  "char": "c",
5791
- "description": "Context to use",
5926
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5927
+ "env": "ADERIS_CONTEXT",
5792
5928
  "name": "context",
5793
5929
  "hasDynamicHelp": false,
5794
5930
  "multiple": false,
@@ -5953,8 +6089,12 @@
5953
6089
  ],
5954
6090
  "flags": {
5955
6091
  "context": {
6092
+ "aliases": [
6093
+ "config"
6094
+ ],
5956
6095
  "char": "c",
5957
- "description": "Context to use",
6096
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6097
+ "env": "ADERIS_CONTEXT",
5958
6098
  "name": "context",
5959
6099
  "hasDynamicHelp": false,
5960
6100
  "multiple": false,
@@ -6125,8 +6265,12 @@
6125
6265
  ],
6126
6266
  "flags": {
6127
6267
  "context": {
6268
+ "aliases": [
6269
+ "config"
6270
+ ],
6128
6271
  "char": "c",
6129
- "description": "Context to use",
6272
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6273
+ "env": "ADERIS_CONTEXT",
6130
6274
  "name": "context",
6131
6275
  "hasDynamicHelp": false,
6132
6276
  "multiple": false,
@@ -6291,8 +6435,12 @@
6291
6435
  ],
6292
6436
  "flags": {
6293
6437
  "context": {
6438
+ "aliases": [
6439
+ "config"
6440
+ ],
6294
6441
  "char": "c",
6295
- "description": "Context to use",
6442
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6443
+ "env": "ADERIS_CONTEXT",
6296
6444
  "name": "context",
6297
6445
  "hasDynamicHelp": false,
6298
6446
  "multiple": false,
@@ -6457,8 +6605,12 @@
6457
6605
  ],
6458
6606
  "flags": {
6459
6607
  "context": {
6608
+ "aliases": [
6609
+ "config"
6610
+ ],
6460
6611
  "char": "c",
6461
- "description": "Context to use",
6612
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6613
+ "env": "ADERIS_CONTEXT",
6462
6614
  "name": "context",
6463
6615
  "hasDynamicHelp": false,
6464
6616
  "multiple": false,
@@ -6602,7 +6754,7 @@
6602
6754
  "aliases": [],
6603
6755
  "args": {
6604
6756
  "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",
6757
+ "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, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
6606
6758
  "name": "action",
6607
6759
  "required": true
6608
6760
  },
@@ -6623,8 +6775,12 @@
6623
6775
  ],
6624
6776
  "flags": {
6625
6777
  "context": {
6778
+ "aliases": [
6779
+ "config"
6780
+ ],
6626
6781
  "char": "c",
6627
- "description": "Context to use",
6782
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6783
+ "env": "ADERIS_CONTEXT",
6628
6784
  "name": "context",
6629
6785
  "hasDynamicHelp": false,
6630
6786
  "multiple": false,
@@ -6694,6 +6850,13 @@
6694
6850
  "multiple": false,
6695
6851
  "type": "option"
6696
6852
  },
6853
+ "file-id": {
6854
+ "description": "Path param: fileId",
6855
+ "name": "file-id",
6856
+ "hasDynamicHelp": false,
6857
+ "multiple": false,
6858
+ "type": "option"
6859
+ },
6697
6860
  "page": {
6698
6861
  "description": "Page number",
6699
6862
  "name": "page",
@@ -6796,8 +6959,12 @@
6796
6959
  "examples": [],
6797
6960
  "flags": {
6798
6961
  "context": {
6962
+ "aliases": [
6963
+ "config"
6964
+ ],
6799
6965
  "char": "c",
6800
- "description": "Context to use",
6966
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6967
+ "env": "ADERIS_CONTEXT",
6801
6968
  "name": "context",
6802
6969
  "hasDynamicHelp": false,
6803
6970
  "multiple": false,
@@ -6962,8 +7129,12 @@
6962
7129
  ],
6963
7130
  "flags": {
6964
7131
  "context": {
7132
+ "aliases": [
7133
+ "config"
7134
+ ],
6965
7135
  "char": "c",
6966
- "description": "Context to use",
7136
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7137
+ "env": "ADERIS_CONTEXT",
6967
7138
  "name": "context",
6968
7139
  "hasDynamicHelp": false,
6969
7140
  "multiple": false,
@@ -7107,7 +7278,7 @@
7107
7278
  "aliases": [],
7108
7279
  "args": {
7109
7280
  "action": {
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",
7281
+ "description": "Action: list, create, create-migrated-invoice, pdf, get, update, delete, approve, match-sales-orders, validate, request-approval, send, send-resend, cancel, copy, replace, rebuild-journal, merge, create-line-items, line-items-from-sales-order, line-items-from-delivery-note, 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",
7111
7282
  "name": "action",
7112
7283
  "required": true
7113
7284
  },
@@ -7128,8 +7299,12 @@
7128
7299
  ],
7129
7300
  "flags": {
7130
7301
  "context": {
7302
+ "aliases": [
7303
+ "config"
7304
+ ],
7131
7305
  "char": "c",
7132
- "description": "Context to use",
7306
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7307
+ "env": "ADERIS_CONTEXT",
7133
7308
  "name": "context",
7134
7309
  "hasDynamicHelp": false,
7135
7310
  "multiple": false,
@@ -7315,8 +7490,12 @@
7315
7490
  ],
7316
7491
  "flags": {
7317
7492
  "context": {
7493
+ "aliases": [
7494
+ "config"
7495
+ ],
7318
7496
  "char": "c",
7319
- "description": "Context to use",
7497
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7498
+ "env": "ADERIS_CONTEXT",
7320
7499
  "name": "context",
7321
7500
  "hasDynamicHelp": false,
7322
7501
  "multiple": false,
@@ -7498,8 +7677,12 @@
7498
7677
  ],
7499
7678
  "flags": {
7500
7679
  "context": {
7680
+ "aliases": [
7681
+ "config"
7682
+ ],
7501
7683
  "char": "c",
7502
- "description": "Context to use",
7684
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7685
+ "env": "ADERIS_CONTEXT",
7503
7686
  "name": "context",
7504
7687
  "hasDynamicHelp": false,
7505
7688
  "multiple": false,
@@ -7664,8 +7847,12 @@
7664
7847
  ],
7665
7848
  "flags": {
7666
7849
  "context": {
7850
+ "aliases": [
7851
+ "config"
7852
+ ],
7667
7853
  "char": "c",
7668
- "description": "Context to use",
7854
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7855
+ "env": "ADERIS_CONTEXT",
7669
7856
  "name": "context",
7670
7857
  "hasDynamicHelp": false,
7671
7858
  "multiple": false,
@@ -7830,8 +8017,12 @@
7830
8017
  ],
7831
8018
  "flags": {
7832
8019
  "context": {
8020
+ "aliases": [
8021
+ "config"
8022
+ ],
7833
8023
  "char": "c",
7834
- "description": "Context to use",
8024
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8025
+ "env": "ADERIS_CONTEXT",
7835
8026
  "name": "context",
7836
8027
  "hasDynamicHelp": false,
7837
8028
  "multiple": false,
@@ -7994,6 +8185,176 @@
7994
8185
  "switch.js"
7995
8186
  ]
7996
8187
  },
8188
+ "tag-configurations": {
8189
+ "aliases": [],
8190
+ "args": {
8191
+ "action": {
8192
+ "description": "Action: list, create, get, update, delete, import, export",
8193
+ "name": "action",
8194
+ "required": true
8195
+ },
8196
+ "id": {
8197
+ "description": "Resource ID (for get, update, delete operations)",
8198
+ "name": "id",
8199
+ "required": false
8200
+ }
8201
+ },
8202
+ "description": "Manage tag configurations",
8203
+ "examples": [
8204
+ "<%= config.bin %> tag-configurations list",
8205
+ "<%= config.bin %> tag-configurations get <id>",
8206
+ "<%= config.bin %> tag-configurations create --data '{...}'",
8207
+ "<%= config.bin %> tag-configurations update <id> --set field=value",
8208
+ "<%= config.bin %> tag-configurations import --file data.json",
8209
+ "<%= config.bin %> tag-configurations export --csv > tag-configurations.csv"
8210
+ ],
8211
+ "flags": {
8212
+ "context": {
8213
+ "aliases": [
8214
+ "config"
8215
+ ],
8216
+ "char": "c",
8217
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8218
+ "env": "ADERIS_CONTEXT",
8219
+ "name": "context",
8220
+ "hasDynamicHelp": false,
8221
+ "multiple": false,
8222
+ "type": "option"
8223
+ },
8224
+ "output": {
8225
+ "char": "o",
8226
+ "description": "Output format (default: table for import, json for other commands)",
8227
+ "name": "output",
8228
+ "hasDynamicHelp": false,
8229
+ "multiple": false,
8230
+ "options": [
8231
+ "json",
8232
+ "table",
8233
+ "csv"
8234
+ ],
8235
+ "type": "option"
8236
+ },
8237
+ "table": {
8238
+ "char": "t",
8239
+ "description": "Output as table (shortcut for --output table)",
8240
+ "name": "table",
8241
+ "allowNo": false,
8242
+ "type": "boolean"
8243
+ },
8244
+ "csv": {
8245
+ "description": "Output as CSV (shortcut for --output csv)",
8246
+ "name": "csv",
8247
+ "allowNo": false,
8248
+ "type": "boolean"
8249
+ },
8250
+ "data": {
8251
+ "char": "d",
8252
+ "description": "JSON data for request body",
8253
+ "name": "data",
8254
+ "hasDynamicHelp": false,
8255
+ "multiple": false,
8256
+ "type": "option"
8257
+ },
8258
+ "file": {
8259
+ "char": "f",
8260
+ "description": "Read request body from file",
8261
+ "name": "file",
8262
+ "hasDynamicHelp": false,
8263
+ "multiple": false,
8264
+ "type": "option"
8265
+ },
8266
+ "set": {
8267
+ "char": "s",
8268
+ "description": "Set individual field (e.g. --set firstName=John)",
8269
+ "name": "set",
8270
+ "hasDynamicHelp": false,
8271
+ "multiple": true,
8272
+ "type": "option"
8273
+ },
8274
+ "page": {
8275
+ "description": "Page number",
8276
+ "name": "page",
8277
+ "hasDynamicHelp": false,
8278
+ "multiple": false,
8279
+ "type": "option"
8280
+ },
8281
+ "limit": {
8282
+ "description": "Items per page",
8283
+ "name": "limit",
8284
+ "hasDynamicHelp": false,
8285
+ "multiple": false,
8286
+ "type": "option"
8287
+ },
8288
+ "include": {
8289
+ "description": "Relations to include",
8290
+ "name": "include",
8291
+ "hasDynamicHelp": false,
8292
+ "multiple": false,
8293
+ "type": "option"
8294
+ },
8295
+ "search": {
8296
+ "description": "Search term",
8297
+ "name": "search",
8298
+ "hasDynamicHelp": false,
8299
+ "multiple": false,
8300
+ "type": "option"
8301
+ },
8302
+ "sort-by": {
8303
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8304
+ "name": "sort-by",
8305
+ "hasDynamicHelp": false,
8306
+ "multiple": false,
8307
+ "type": "option"
8308
+ },
8309
+ "filter": {
8310
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
8311
+ "name": "filter",
8312
+ "hasDynamicHelp": false,
8313
+ "multiple": true,
8314
+ "type": "option"
8315
+ },
8316
+ "query": {
8317
+ "description": "Additional query params as JSON",
8318
+ "name": "query",
8319
+ "hasDynamicHelp": false,
8320
+ "multiple": false,
8321
+ "type": "option"
8322
+ },
8323
+ "fields": {
8324
+ "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
8325
+ "name": "fields",
8326
+ "hasDynamicHelp": false,
8327
+ "multiple": false,
8328
+ "type": "option"
8329
+ },
8330
+ "sanitize": {
8331
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
8332
+ "name": "sanitize",
8333
+ "allowNo": false,
8334
+ "type": "boolean"
8335
+ },
8336
+ "show-http-request": {
8337
+ "description": "Show HTTP request details (method, URL, body)",
8338
+ "name": "show-http-request",
8339
+ "allowNo": false,
8340
+ "type": "boolean"
8341
+ }
8342
+ },
8343
+ "hasDynamicHelp": false,
8344
+ "hiddenAliases": [],
8345
+ "id": "tag-configurations",
8346
+ "pluginAlias": "@aderis-erp/cli",
8347
+ "pluginName": "@aderis-erp/cli",
8348
+ "pluginType": "core",
8349
+ "strict": true,
8350
+ "enableJsonFlag": false,
8351
+ "isESM": true,
8352
+ "relativePath": [
8353
+ "dist",
8354
+ "commands",
8355
+ "tag-configurations.js"
8356
+ ]
8357
+ },
7997
8358
  "tags": {
7998
8359
  "aliases": [],
7999
8360
  "args": {
@@ -8019,8 +8380,12 @@
8019
8380
  ],
8020
8381
  "flags": {
8021
8382
  "context": {
8383
+ "aliases": [
8384
+ "config"
8385
+ ],
8022
8386
  "char": "c",
8023
- "description": "Context to use",
8387
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8388
+ "env": "ADERIS_CONTEXT",
8024
8389
  "name": "context",
8025
8390
  "hasDynamicHelp": false,
8026
8391
  "multiple": false,
@@ -8185,8 +8550,12 @@
8185
8550
  ],
8186
8551
  "flags": {
8187
8552
  "context": {
8553
+ "aliases": [
8554
+ "config"
8555
+ ],
8188
8556
  "char": "c",
8189
- "description": "Context to use",
8557
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8558
+ "env": "ADERIS_CONTEXT",
8190
8559
  "name": "context",
8191
8560
  "hasDynamicHelp": false,
8192
8561
  "multiple": false,
@@ -8351,8 +8720,12 @@
8351
8720
  ],
8352
8721
  "flags": {
8353
8722
  "context": {
8723
+ "aliases": [
8724
+ "config"
8725
+ ],
8354
8726
  "char": "c",
8355
- "description": "Context to use",
8727
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8728
+ "env": "ADERIS_CONTEXT",
8356
8729
  "name": "context",
8357
8730
  "hasDynamicHelp": false,
8358
8731
  "multiple": false,
@@ -8517,8 +8890,12 @@
8517
8890
  ],
8518
8891
  "flags": {
8519
8892
  "context": {
8893
+ "aliases": [
8894
+ "config"
8895
+ ],
8520
8896
  "char": "c",
8521
- "description": "Context to use",
8897
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8898
+ "env": "ADERIS_CONTEXT",
8522
8899
  "name": "context",
8523
8900
  "hasDynamicHelp": false,
8524
8901
  "multiple": false,
@@ -8683,8 +9060,12 @@
8683
9060
  ],
8684
9061
  "flags": {
8685
9062
  "context": {
9063
+ "aliases": [
9064
+ "config"
9065
+ ],
8686
9066
  "char": "c",
8687
- "description": "Context to use",
9067
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9068
+ "env": "ADERIS_CONTEXT",
8688
9069
  "name": "context",
8689
9070
  "hasDynamicHelp": false,
8690
9071
  "multiple": false,
@@ -8845,8 +9226,12 @@
8845
9226
  ],
8846
9227
  "flags": {
8847
9228
  "context": {
9229
+ "aliases": [
9230
+ "config"
9231
+ ],
8848
9232
  "char": "c",
8849
- "description": "Context to use",
9233
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9234
+ "env": "ADERIS_CONTEXT",
8850
9235
  "name": "context",
8851
9236
  "hasDynamicHelp": false,
8852
9237
  "multiple": false,
@@ -9011,8 +9396,12 @@
9011
9396
  ],
9012
9397
  "flags": {
9013
9398
  "context": {
9399
+ "aliases": [
9400
+ "config"
9401
+ ],
9014
9402
  "char": "c",
9015
- "description": "Context to use",
9403
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9404
+ "env": "ADERIS_CONTEXT",
9016
9405
  "name": "context",
9017
9406
  "hasDynamicHelp": false,
9018
9407
  "multiple": false,
@@ -9191,8 +9580,12 @@
9191
9580
  ],
9192
9581
  "flags": {
9193
9582
  "context": {
9583
+ "aliases": [
9584
+ "config"
9585
+ ],
9194
9586
  "char": "c",
9195
- "description": "Context to use",
9587
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9588
+ "env": "ADERIS_CONTEXT",
9196
9589
  "name": "context",
9197
9590
  "hasDynamicHelp": false,
9198
9591
  "multiple": false,
@@ -9385,8 +9778,12 @@
9385
9778
  ],
9386
9779
  "flags": {
9387
9780
  "context": {
9781
+ "aliases": [
9782
+ "config"
9783
+ ],
9388
9784
  "char": "c",
9389
- "description": "Context to use",
9785
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9786
+ "env": "ADERIS_CONTEXT",
9390
9787
  "name": "context",
9391
9788
  "hasDynamicHelp": false,
9392
9789
  "multiple": false,
@@ -9547,8 +9944,12 @@
9547
9944
  ],
9548
9945
  "flags": {
9549
9946
  "context": {
9947
+ "aliases": [
9948
+ "config"
9949
+ ],
9550
9950
  "char": "c",
9551
- "description": "Context to use",
9951
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9952
+ "env": "ADERIS_CONTEXT",
9552
9953
  "name": "context",
9553
9954
  "hasDynamicHelp": false,
9554
9955
  "multiple": false,
@@ -9706,8 +10107,12 @@
9706
10107
  "type": "option"
9707
10108
  },
9708
10109
  "context": {
10110
+ "aliases": [
10111
+ "config"
10112
+ ],
9709
10113
  "char": "c",
9710
- "description": "Context to login with (uses current context if not specified)",
10114
+ "description": "Context to login with, overriding the current context (alias: --config)",
10115
+ "env": "ADERIS_CONTEXT",
9711
10116
  "name": "context",
9712
10117
  "hasDynamicHelp": false,
9713
10118
  "multiple": false,
@@ -9775,8 +10180,12 @@
9775
10180
  "type": "boolean"
9776
10181
  },
9777
10182
  "context": {
10183
+ "aliases": [
10184
+ "config"
10185
+ ],
9778
10186
  "char": "c",
9779
- "description": "Specific context to logout from",
10187
+ "description": "Context to logout from, overriding the current context (alias: --config)",
10188
+ "env": "ADERIS_CONTEXT",
9780
10189
  "name": "context",
9781
10190
  "hasDynamicHelp": false,
9782
10191
  "multiple": false,
@@ -9817,8 +10226,12 @@
9817
10226
  "type": "boolean"
9818
10227
  },
9819
10228
  "context": {
10229
+ "aliases": [
10230
+ "config"
10231
+ ],
9820
10232
  "char": "c",
9821
- "description": "Specific context to check",
10233
+ "description": "Context to check, overriding the current context (alias: --config)",
10234
+ "env": "ADERIS_CONTEXT",
9822
10235
  "name": "context",
9823
10236
  "hasDynamicHelp": false,
9824
10237
  "multiple": false,
@@ -9869,8 +10282,12 @@
9869
10282
  ],
9870
10283
  "flags": {
9871
10284
  "context": {
10285
+ "aliases": [
10286
+ "config"
10287
+ ],
9872
10288
  "char": "c",
9873
- "description": "Context to use",
10289
+ "description": "Context to use, overriding the current context (alias: --config)",
10290
+ "env": "ADERIS_CONTEXT",
9874
10291
  "name": "context",
9875
10292
  "hasDynamicHelp": false,
9876
10293
  "multiple": false,
@@ -9906,9 +10323,28 @@
9906
10323
  "examples": [
9907
10324
  "<%= config.bin %> config add",
9908
10325
  "<%= config.bin %> config add --name my-client --environment live",
9909
- "<%= config.bin %> config add --name dev-context --environment dev --client-id abc123"
10326
+ "<%= config.bin %> config add --name dev-context --environment dev --client-id abc123",
10327
+ "<%= config.bin %> config add --name ci --environment live --auth-type api-key --api-key <key>"
9910
10328
  ],
9911
10329
  "flags": {
10330
+ "api-key": {
10331
+ "description": "API key to store (only with --auth-type api-key). Prompted for if omitted.",
10332
+ "name": "api-key",
10333
+ "hasDynamicHelp": false,
10334
+ "multiple": false,
10335
+ "type": "option"
10336
+ },
10337
+ "auth-type": {
10338
+ "description": "How to authenticate: oauth2 (browser login) or api-key (x-api-key header)",
10339
+ "name": "auth-type",
10340
+ "hasDynamicHelp": false,
10341
+ "multiple": false,
10342
+ "options": [
10343
+ "oauth2",
10344
+ "api-key"
10345
+ ],
10346
+ "type": "option"
10347
+ },
9912
10348
  "client-id": {
9913
10349
  "description": "OAuth client ID (uses default if not specified)",
9914
10350
  "name": "client-id",
@@ -10107,6 +10543,52 @@
10107
10543
  "rename.js"
10108
10544
  ]
10109
10545
  },
10546
+ "config:set-api-key": {
10547
+ "aliases": [],
10548
+ "args": {},
10549
+ "description": "Set or rotate the API key for a context (switches it to api-key auth)",
10550
+ "examples": [
10551
+ "<%= config.bin %> config set-api-key",
10552
+ "<%= config.bin %> config set-api-key --context ci",
10553
+ "<%= config.bin %> config set-api-key --context ci --api-key <key>"
10554
+ ],
10555
+ "flags": {
10556
+ "api-key": {
10557
+ "description": "The API key. Prompted for (hidden) if omitted.",
10558
+ "name": "api-key",
10559
+ "hasDynamicHelp": false,
10560
+ "multiple": false,
10561
+ "type": "option"
10562
+ },
10563
+ "context": {
10564
+ "aliases": [
10565
+ "config"
10566
+ ],
10567
+ "char": "c",
10568
+ "description": "Context to update, overriding the current context (alias: --config)",
10569
+ "env": "ADERIS_CONTEXT",
10570
+ "name": "context",
10571
+ "hasDynamicHelp": false,
10572
+ "multiple": false,
10573
+ "type": "option"
10574
+ }
10575
+ },
10576
+ "hasDynamicHelp": false,
10577
+ "hiddenAliases": [],
10578
+ "id": "config:set-api-key",
10579
+ "pluginAlias": "@aderis-erp/cli",
10580
+ "pluginName": "@aderis-erp/cli",
10581
+ "pluginType": "core",
10582
+ "strict": true,
10583
+ "enableJsonFlag": false,
10584
+ "isESM": true,
10585
+ "relativePath": [
10586
+ "dist",
10587
+ "commands",
10588
+ "config",
10589
+ "set-api-key.js"
10590
+ ]
10591
+ },
10110
10592
  "config:use": {
10111
10593
  "aliases": [],
10112
10594
  "args": {
@@ -10139,5 +10621,5 @@
10139
10621
  ]
10140
10622
  }
10141
10623
  },
10142
- "version": "1.0.14"
10624
+ "version": "1.0.15"
10143
10625
  }