@aderis-erp/cli 1.0.14 → 1.0.17

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 (167) hide show
  1. package/README.md +30 -8
  2. package/dist/commands/access-groups.d.ts +0 -1
  3. package/dist/commands/access-groups.js +22 -78
  4. package/dist/commands/account-transaction-allocations.d.ts +0 -1
  5. package/dist/commands/account-transaction-allocations.js +22 -78
  6. package/dist/commands/account-transactions.d.ts +0 -1
  7. package/dist/commands/account-transactions.js +28 -82
  8. package/dist/commands/accounts.d.ts +0 -1
  9. package/dist/commands/accounts.js +24 -80
  10. package/dist/commands/agent-platform.d.ts +0 -1
  11. package/dist/commands/agent-platform.js +24 -79
  12. package/dist/commands/analytics.d.ts +39 -0
  13. package/dist/commands/analytics.js +1113 -0
  14. package/dist/commands/{documents.d.ts → api-keys.d.ts} +1 -2
  15. package/dist/commands/api-keys.js +1117 -0
  16. package/dist/commands/audit-log.d.ts +0 -1
  17. package/dist/commands/audit-log.js +22 -78
  18. package/dist/commands/auth/login.d.ts +9 -0
  19. package/dist/commands/auth/login.js +83 -21
  20. package/dist/commands/auth/logout.d.ts +6 -0
  21. package/dist/commands/auth/logout.js +23 -6
  22. package/dist/commands/auth/status.js +46 -23
  23. package/dist/commands/auth/tenant.js +15 -9
  24. package/dist/commands/auth.d.ts +0 -1
  25. package/dist/commands/auth.js +37 -51
  26. package/dist/commands/bank-accounts.d.ts +0 -1
  27. package/dist/commands/bank-accounts.js +22 -78
  28. package/dist/commands/bank-integrations.d.ts +0 -1
  29. package/dist/commands/bank-integrations.js +22 -78
  30. package/dist/commands/business-partners.d.ts +1 -1
  31. package/dist/commands/business-partners.js +38 -84
  32. package/dist/commands/chat.d.ts +0 -1
  33. package/dist/commands/chat.js +22 -78
  34. package/dist/commands/config/add.d.ts +12 -0
  35. package/dist/commands/config/add.js +97 -17
  36. package/dist/commands/config/current.js +12 -4
  37. package/dist/commands/config/list.js +12 -4
  38. package/dist/commands/config/set-api-key.d.ts +10 -0
  39. package/dist/commands/config/set-api-key.js +49 -0
  40. package/dist/commands/config/use.js +3 -4
  41. package/dist/commands/credit-card-accounts.d.ts +0 -1
  42. package/dist/commands/credit-card-accounts.js +22 -78
  43. package/dist/commands/delivery-notes.d.ts +0 -1
  44. package/dist/commands/delivery-notes.js +29 -84
  45. package/dist/commands/dunning-configs.d.ts +0 -1
  46. package/dist/commands/dunning-configs.js +22 -78
  47. package/dist/commands/dunning-reminders.d.ts +0 -1
  48. package/dist/commands/dunning-reminders.js +22 -78
  49. package/dist/commands/dunning-runs.d.ts +0 -1
  50. package/dist/commands/dunning-runs.js +22 -78
  51. package/dist/commands/email-transactions.d.ts +0 -1
  52. package/dist/commands/email-transactions.js +22 -78
  53. package/dist/commands/employees.d.ts +0 -1
  54. package/dist/commands/employees.js +24 -80
  55. package/dist/commands/entity-configurations.d.ts +0 -1
  56. package/dist/commands/entity-configurations.js +22 -78
  57. package/dist/commands/event-processor-mappings.d.ts +0 -1
  58. package/dist/commands/event-processor-mappings.js +22 -78
  59. package/dist/commands/{files-internal.d.ts → files.d.ts} +1 -2
  60. package/dist/commands/{files-internal.js → files.js} +40 -90
  61. package/dist/commands/health.d.ts +0 -1
  62. package/dist/commands/health.js +22 -78
  63. package/dist/commands/inbox.d.ts +0 -1
  64. package/dist/commands/inbox.js +22 -78
  65. package/dist/commands/integrations.d.ts +0 -1
  66. package/dist/commands/integrations.js +22 -78
  67. package/dist/commands/item-categories.d.ts +0 -1
  68. package/dist/commands/item-categories.js +22 -78
  69. package/dist/commands/items.d.ts +0 -1
  70. package/dist/commands/items.js +24 -80
  71. package/dist/commands/journal-lines.d.ts +0 -1
  72. package/dist/commands/journal-lines.js +22 -78
  73. package/dist/commands/journals.d.ts +1 -1
  74. package/dist/commands/journals.js +29 -81
  75. package/dist/commands/ledgers.d.ts +0 -1
  76. package/dist/commands/ledgers.js +26 -79
  77. package/dist/commands/nango-integrations.d.ts +39 -0
  78. package/dist/commands/nango-integrations.js +1115 -0
  79. package/dist/commands/office-locations.d.ts +0 -1
  80. package/dist/commands/office-locations.js +22 -78
  81. package/dist/commands/payment-methods.d.ts +0 -1
  82. package/dist/commands/payment-methods.js +22 -78
  83. package/dist/commands/payment-runs.d.ts +0 -1
  84. package/dist/commands/payment-runs.js +24 -79
  85. package/dist/commands/payment-terms.d.ts +0 -1
  86. package/dist/commands/payment-terms.js +22 -78
  87. package/dist/commands/payments.d.ts +0 -1
  88. package/dist/commands/payments.js +22 -78
  89. package/dist/commands/price-lists.d.ts +0 -1
  90. package/dist/commands/price-lists.js +22 -78
  91. package/dist/commands/processor-mappings.d.ts +0 -1
  92. package/dist/commands/processor-mappings.js +22 -78
  93. package/dist/commands/processors.d.ts +0 -1
  94. package/dist/commands/processors.js +22 -78
  95. package/dist/commands/purchase-order-types.d.ts +0 -1
  96. package/dist/commands/purchase-order-types.js +22 -78
  97. package/dist/commands/purchase-orders.d.ts +1 -1
  98. package/dist/commands/purchase-orders.js +35 -84
  99. package/dist/commands/reports.d.ts +0 -1
  100. package/dist/commands/reports.js +23 -79
  101. package/dist/commands/salary-types.d.ts +0 -1
  102. package/dist/commands/salary-types.js +22 -78
  103. package/dist/commands/sales-invoices.d.ts +0 -1
  104. package/dist/commands/sales-invoices.js +38 -89
  105. package/dist/commands/sales-orders.d.ts +0 -1
  106. package/dist/commands/sales-orders.js +26 -82
  107. package/dist/commands/saved-views.d.ts +0 -1
  108. package/dist/commands/saved-views.js +22 -78
  109. package/dist/commands/scheduled-processor-mappings.d.ts +0 -1
  110. package/dist/commands/scheduled-processor-mappings.js +22 -78
  111. package/dist/commands/schedules.d.ts +0 -1
  112. package/dist/commands/schedules.js +22 -78
  113. package/dist/commands/switch.js +14 -7
  114. package/dist/commands/tag-configurations.d.ts +39 -0
  115. package/dist/commands/{documents.js → tag-configurations.js} +40 -96
  116. package/dist/commands/tags.d.ts +0 -1
  117. package/dist/commands/tags.js +22 -78
  118. package/dist/commands/tax-codes.d.ts +0 -1
  119. package/dist/commands/tax-codes.js +22 -78
  120. package/dist/commands/tax-matrix.d.ts +0 -1
  121. package/dist/commands/tax-matrix.js +22 -78
  122. package/dist/commands/tenants.d.ts +0 -1
  123. package/dist/commands/tenants.js +24 -79
  124. package/dist/commands/text-templates.d.ts +0 -1
  125. package/dist/commands/text-templates.js +22 -78
  126. package/dist/commands/tools.d.ts +0 -1
  127. package/dist/commands/tools.js +22 -78
  128. package/dist/commands/vat-declarations.d.ts +1 -1
  129. package/dist/commands/vat-declarations.js +28 -79
  130. package/dist/commands/vendor-invoices.d.ts +0 -1
  131. package/dist/commands/vendor-invoices.js +31 -86
  132. package/dist/commands/webhooks.d.ts +0 -1
  133. package/dist/commands/webhooks.js +22 -78
  134. package/dist/commands/workflows.d.ts +0 -1
  135. package/dist/commands/workflows.js +22 -78
  136. package/dist/lib/api-client.js +8 -6
  137. package/dist/lib/auth/constants.d.ts +11 -0
  138. package/dist/lib/auth/constants.js +11 -0
  139. package/dist/lib/auth/errors.d.ts +17 -0
  140. package/dist/lib/auth/errors.js +22 -0
  141. package/dist/lib/auth/flow.d.ts +27 -0
  142. package/dist/lib/auth/flow.js +163 -0
  143. package/dist/lib/auth/guards.d.ts +5 -0
  144. package/dist/lib/auth/guards.js +14 -0
  145. package/dist/lib/auth/http.d.ts +16 -0
  146. package/dist/lib/auth/http.js +49 -0
  147. package/dist/lib/auth/index.d.ts +49 -0
  148. package/dist/lib/auth/index.js +217 -0
  149. package/dist/lib/auth/keycloak-provider.d.ts +75 -0
  150. package/dist/lib/auth/keycloak-provider.js +215 -0
  151. package/dist/lib/auth/pages.d.ts +25 -0
  152. package/dist/lib/auth/pages.js +123 -0
  153. package/dist/lib/auth/pkce.d.ts +11 -0
  154. package/dist/lib/auth/pkce.js +17 -0
  155. package/dist/lib/auth/tokens.d.ts +54 -0
  156. package/dist/lib/auth/tokens.js +104 -0
  157. package/dist/lib/auth/types.d.ts +57 -0
  158. package/dist/lib/auth/types.js +1 -0
  159. package/dist/lib/auth/validated-url.d.ts +6 -0
  160. package/dist/lib/auth/validated-url.js +53 -0
  161. package/dist/lib/base-api-command.js +6 -4
  162. package/dist/lib/config.d.ts +44 -4
  163. package/dist/lib/config.js +55 -19
  164. package/oclif.manifest.json +1181 -330
  165. package/package.json +3 -2
  166. package/dist/lib/auth.d.ts +0 -35
  167. package/dist/lib/auth.js +0 -566
@@ -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,
@@ -132,7 +136,7 @@
132
136
  "type": "option"
133
137
  },
134
138
  "fields": {
135
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
139
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
136
140
  "name": "fields",
137
141
  "hasDynamicHelp": false,
138
142
  "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,
@@ -295,7 +303,7 @@
295
303
  "type": "option"
296
304
  },
297
305
  "fields": {
298
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
306
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
299
307
  "name": "fields",
300
308
  "hasDynamicHelp": false,
301
309
  "multiple": false,
@@ -333,7 +341,7 @@
333
341
  "aliases": [],
334
342
  "args": {
335
343
  "action": {
336
- "description": "Action: list, create, get, update, delete, allocations-reprocess-unbooked, allocations-unbooked, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, allocations-confirm, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, import, export, import-allocations, import-allocations-notes",
344
+ "description": "Action: list, create, get, update, delete, reconcile, allocations-reprocess-unbooked, allocations-unbooked, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, list-allocations-settlement-accounts, allocations-confirm, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, import, export, import-allocations, import-allocations-notes",
337
345
  "name": "action",
338
346
  "required": true
339
347
  },
@@ -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,
@@ -475,7 +487,7 @@
475
487
  "type": "option"
476
488
  },
477
489
  "fields": {
478
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
490
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
479
491
  "name": "fields",
480
492
  "hasDynamicHelp": false,
481
493
  "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,
@@ -648,7 +664,7 @@
648
664
  "type": "option"
649
665
  },
650
666
  "fields": {
651
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
667
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
652
668
  "name": "fields",
653
669
  "hasDynamicHelp": false,
654
670
  "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,
@@ -814,7 +834,7 @@
814
834
  "type": "option"
815
835
  },
816
836
  "fields": {
817
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
837
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
818
838
  "name": "fields",
819
839
  "hasDynamicHelp": false,
820
840
  "multiple": false,
@@ -848,11 +868,11 @@
848
868
  "agent-platform.js"
849
869
  ]
850
870
  },
851
- "audit-log": {
871
+ "analytics": {
852
872
  "aliases": [],
853
873
  "args": {
854
874
  "action": {
855
- "description": "Action: list, get, export",
875
+ "description": "Action: query, views, views-name",
856
876
  "name": "action",
857
877
  "required": true
858
878
  },
@@ -862,16 +882,16 @@
862
882
  "required": false
863
883
  }
864
884
  },
865
- "description": "Manage audit log",
866
- "examples": [
867
- "<%= config.bin %> audit-log list",
868
- "<%= config.bin %> audit-log get <id>",
869
- "<%= config.bin %> audit-log export --csv > audit-log.csv"
870
- ],
885
+ "description": "Manage analytics",
886
+ "examples": [],
871
887
  "flags": {
872
888
  "context": {
889
+ "aliases": [
890
+ "config"
891
+ ],
873
892
  "char": "c",
874
- "description": "Context to use",
893
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
894
+ "env": "ADERIS_CONTEXT",
875
895
  "name": "context",
876
896
  "hasDynamicHelp": false,
877
897
  "multiple": false,
@@ -977,7 +997,7 @@
977
997
  "type": "option"
978
998
  },
979
999
  "fields": {
980
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1000
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
981
1001
  "name": "fields",
982
1002
  "hasDynamicHelp": false,
983
1003
  "multiple": false,
@@ -998,7 +1018,7 @@
998
1018
  },
999
1019
  "hasDynamicHelp": false,
1000
1020
  "hiddenAliases": [],
1001
- "id": "audit-log",
1021
+ "id": "analytics",
1002
1022
  "pluginAlias": "@aderis-erp/cli",
1003
1023
  "pluginName": "@aderis-erp/cli",
1004
1024
  "pluginType": "core",
@@ -1008,14 +1028,14 @@
1008
1028
  "relativePath": [
1009
1029
  "dist",
1010
1030
  "commands",
1011
- "audit-log.js"
1031
+ "analytics.js"
1012
1032
  ]
1013
1033
  },
1014
- "auth": {
1034
+ "api-keys": {
1015
1035
  "aliases": [],
1016
1036
  "args": {
1017
1037
  "action": {
1018
- "description": "Action: login, logout, callback, success, me, create-agent-tenant-token",
1038
+ "description": "Action: list, create, delete, export",
1019
1039
  "name": "action",
1020
1040
  "required": true
1021
1041
  },
@@ -1025,17 +1045,45 @@
1025
1045
  "required": false
1026
1046
  }
1027
1047
  },
1028
- "description": "Manage auth",
1029
- "examples": [],
1048
+ "description": "Manage api keys",
1049
+ "examples": [
1050
+ "<%= config.bin %> api-keys list",
1051
+ "<%= config.bin %> api-keys create --data '{...}'",
1052
+ "<%= config.bin %> api-keys export --csv > api-keys.csv"
1053
+ ],
1030
1054
  "flags": {
1031
1055
  "context": {
1056
+ "aliases": [
1057
+ "config"
1058
+ ],
1032
1059
  "char": "c",
1033
- "description": "Context to use",
1060
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1061
+ "env": "ADERIS_CONTEXT",
1034
1062
  "name": "context",
1035
1063
  "hasDynamicHelp": false,
1036
1064
  "multiple": false,
1037
1065
  "type": "option"
1038
1066
  },
1067
+ "output": {
1068
+ "char": "o",
1069
+ "description": "Output format (default: table for import, json for other commands)",
1070
+ "name": "output",
1071
+ "hasDynamicHelp": false,
1072
+ "multiple": false,
1073
+ "options": [
1074
+ "json",
1075
+ "table",
1076
+ "csv"
1077
+ ],
1078
+ "type": "option"
1079
+ },
1080
+ "table": {
1081
+ "char": "t",
1082
+ "description": "Output as table (shortcut for --output table)",
1083
+ "name": "table",
1084
+ "allowNo": false,
1085
+ "type": "boolean"
1086
+ },
1039
1087
  "csv": {
1040
1088
  "description": "Output as CSV (shortcut for --output csv)",
1041
1089
  "name": "csv",
@@ -1050,13 +1098,6 @@
1050
1098
  "multiple": false,
1051
1099
  "type": "option"
1052
1100
  },
1053
- "fields": {
1054
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1055
- "name": "fields",
1056
- "hasDynamicHelp": false,
1057
- "multiple": false,
1058
- "type": "option"
1059
- },
1060
1101
  "file": {
1061
1102
  "char": "f",
1062
1103
  "description": "Read request body from file",
@@ -1065,9 +1106,17 @@
1065
1106
  "multiple": false,
1066
1107
  "type": "option"
1067
1108
  },
1068
- "include": {
1069
- "description": "Relations to include",
1070
- "name": "include",
1109
+ "set": {
1110
+ "char": "s",
1111
+ "description": "Set individual field (e.g. --set firstName=John)",
1112
+ "name": "set",
1113
+ "hasDynamicHelp": false,
1114
+ "multiple": true,
1115
+ "type": "option"
1116
+ },
1117
+ "page": {
1118
+ "description": "Page number",
1119
+ "name": "page",
1071
1120
  "hasDynamicHelp": false,
1072
1121
  "multiple": false,
1073
1122
  "type": "option"
@@ -1079,72 +1128,64 @@
1079
1128
  "multiple": false,
1080
1129
  "type": "option"
1081
1130
  },
1082
- "output": {
1083
- "char": "o",
1084
- "description": "Output format (default: table for import, json for other commands)",
1085
- "name": "output",
1131
+ "include": {
1132
+ "description": "Relations to include",
1133
+ "name": "include",
1086
1134
  "hasDynamicHelp": false,
1087
1135
  "multiple": false,
1088
- "options": [
1089
- "json",
1090
- "table",
1091
- "csv"
1092
- ],
1093
1136
  "type": "option"
1094
1137
  },
1095
- "page": {
1096
- "description": "Page number",
1097
- "name": "page",
1138
+ "search": {
1139
+ "description": "Search term",
1140
+ "name": "search",
1098
1141
  "hasDynamicHelp": false,
1099
1142
  "multiple": false,
1100
1143
  "type": "option"
1101
1144
  },
1102
- "query": {
1103
- "description": "Additional query params as JSON",
1104
- "name": "query",
1145
+ "sort-by": {
1146
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1147
+ "name": "sort-by",
1105
1148
  "hasDynamicHelp": false,
1106
1149
  "multiple": false,
1107
1150
  "type": "option"
1108
1151
  },
1109
- "sanitize": {
1110
- "description": "Remove null values, audit fields, and duplicate UUIDs from output",
1111
- "name": "sanitize",
1112
- "allowNo": false,
1113
- "type": "boolean"
1114
- },
1115
- "search": {
1116
- "description": "Search term",
1117
- "name": "search",
1152
+ "filter": {
1153
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
1154
+ "name": "filter",
1118
1155
  "hasDynamicHelp": false,
1119
- "multiple": false,
1156
+ "multiple": true,
1120
1157
  "type": "option"
1121
1158
  },
1122
- "set": {
1123
- "char": "s",
1124
- "description": "Set individual field (e.g. --set firstName=John)",
1125
- "name": "set",
1159
+ "query": {
1160
+ "description": "Additional query params as JSON",
1161
+ "name": "query",
1126
1162
  "hasDynamicHelp": false,
1127
- "multiple": true,
1163
+ "multiple": false,
1128
1164
  "type": "option"
1129
1165
  },
1130
- "sort-by": {
1131
- "description": "Sort field",
1132
- "name": "sort-by",
1166
+ "fields": {
1167
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1168
+ "name": "fields",
1133
1169
  "hasDynamicHelp": false,
1134
1170
  "multiple": false,
1135
1171
  "type": "option"
1136
1172
  },
1137
- "table": {
1138
- "char": "t",
1139
- "description": "Output as table (shortcut for --output table)",
1140
- "name": "table",
1173
+ "sanitize": {
1174
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
1175
+ "name": "sanitize",
1176
+ "allowNo": false,
1177
+ "type": "boolean"
1178
+ },
1179
+ "show-http-request": {
1180
+ "description": "Show HTTP request details (method, URL, body)",
1181
+ "name": "show-http-request",
1141
1182
  "allowNo": false,
1142
1183
  "type": "boolean"
1143
1184
  }
1144
1185
  },
1145
1186
  "hasDynamicHelp": false,
1146
1187
  "hiddenAliases": [],
1147
- "id": "auth",
1188
+ "id": "api-keys",
1148
1189
  "pluginAlias": "@aderis-erp/cli",
1149
1190
  "pluginName": "@aderis-erp/cli",
1150
1191
  "pluginType": "core",
@@ -1154,14 +1195,14 @@
1154
1195
  "relativePath": [
1155
1196
  "dist",
1156
1197
  "commands",
1157
- "auth.js"
1198
+ "api-keys.js"
1158
1199
  ]
1159
1200
  },
1160
- "bank-accounts": {
1201
+ "audit-log": {
1161
1202
  "aliases": [],
1162
1203
  "args": {
1163
1204
  "action": {
1164
- "description": "Action: list, create, get, update, delete, get-balances, get-balances-latest, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-ledger-mappings, import-notes",
1205
+ "description": "Action: list, get, export",
1165
1206
  "name": "action",
1166
1207
  "required": true
1167
1208
  },
@@ -1171,19 +1212,20 @@
1171
1212
  "required": false
1172
1213
  }
1173
1214
  },
1174
- "description": "Manage bank accounts",
1215
+ "description": "Manage audit log",
1175
1216
  "examples": [
1176
- "<%= config.bin %> bank-accounts list",
1177
- "<%= config.bin %> bank-accounts get <id>",
1178
- "<%= config.bin %> bank-accounts create --data '{...}'",
1179
- "<%= config.bin %> bank-accounts update <id> --set field=value",
1180
- "<%= config.bin %> bank-accounts import --file data.json",
1181
- "<%= config.bin %> bank-accounts export --csv > bank-accounts.csv"
1217
+ "<%= config.bin %> audit-log list",
1218
+ "<%= config.bin %> audit-log get <id>",
1219
+ "<%= config.bin %> audit-log export --csv > audit-log.csv"
1182
1220
  ],
1183
1221
  "flags": {
1184
1222
  "context": {
1223
+ "aliases": [
1224
+ "config"
1225
+ ],
1185
1226
  "char": "c",
1186
- "description": "Context to use",
1227
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1228
+ "env": "ADERIS_CONTEXT",
1187
1229
  "name": "context",
1188
1230
  "hasDynamicHelp": false,
1189
1231
  "multiple": false,
@@ -1239,20 +1281,6 @@
1239
1281
  "multiple": true,
1240
1282
  "type": "option"
1241
1283
  },
1242
- "mapping-id": {
1243
- "description": "Path param: mappingId",
1244
- "name": "mapping-id",
1245
- "hasDynamicHelp": false,
1246
- "multiple": false,
1247
- "type": "option"
1248
- },
1249
- "note-id": {
1250
- "description": "Path param: noteId",
1251
- "name": "note-id",
1252
- "hasDynamicHelp": false,
1253
- "multiple": false,
1254
- "type": "option"
1255
- },
1256
1284
  "page": {
1257
1285
  "description": "Page number",
1258
1286
  "name": "page",
@@ -1303,7 +1331,7 @@
1303
1331
  "type": "option"
1304
1332
  },
1305
1333
  "fields": {
1306
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1334
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1307
1335
  "name": "fields",
1308
1336
  "hasDynamicHelp": false,
1309
1337
  "multiple": false,
@@ -1324,7 +1352,7 @@
1324
1352
  },
1325
1353
  "hasDynamicHelp": false,
1326
1354
  "hiddenAliases": [],
1327
- "id": "bank-accounts",
1355
+ "id": "audit-log",
1328
1356
  "pluginAlias": "@aderis-erp/cli",
1329
1357
  "pluginName": "@aderis-erp/cli",
1330
1358
  "pluginType": "core",
@@ -1334,14 +1362,14 @@
1334
1362
  "relativePath": [
1335
1363
  "dist",
1336
1364
  "commands",
1337
- "bank-accounts.js"
1365
+ "audit-log.js"
1338
1366
  ]
1339
1367
  },
1340
- "bank-integrations": {
1368
+ "auth": {
1341
1369
  "aliases": [],
1342
1370
  "args": {
1343
1371
  "action": {
1344
- "description": "Action: initiate, providers-supported, providers-consent-status, delete-providers-consent, list, create, get, update, delete, log, list-account-statement-runs, trigger-account-statement-runs, get-account-statement-runs, account-statement-runs-files, trigger-account-statement-runs-reimport, list-statements, statements, download-statements-xml, import, export",
1372
+ "description": "Action: login, logout, callback, success, me, create-agent-tenant-token",
1345
1373
  "name": "action",
1346
1374
  "required": true
1347
1375
  },
@@ -1351,19 +1379,173 @@
1351
1379
  "required": false
1352
1380
  }
1353
1381
  },
1354
- "description": "Manage bank integrations",
1382
+ "description": "Manage auth",
1383
+ "examples": [],
1384
+ "flags": {
1385
+ "context": {
1386
+ "aliases": [
1387
+ "config"
1388
+ ],
1389
+ "char": "c",
1390
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1391
+ "env": "ADERIS_CONTEXT",
1392
+ "name": "context",
1393
+ "hasDynamicHelp": false,
1394
+ "multiple": false,
1395
+ "type": "option"
1396
+ },
1397
+ "csv": {
1398
+ "description": "Output as CSV (shortcut for --output csv)",
1399
+ "name": "csv",
1400
+ "allowNo": false,
1401
+ "type": "boolean"
1402
+ },
1403
+ "data": {
1404
+ "char": "d",
1405
+ "description": "JSON data for request body",
1406
+ "name": "data",
1407
+ "hasDynamicHelp": false,
1408
+ "multiple": false,
1409
+ "type": "option"
1410
+ },
1411
+ "fields": {
1412
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1413
+ "name": "fields",
1414
+ "hasDynamicHelp": false,
1415
+ "multiple": false,
1416
+ "type": "option"
1417
+ },
1418
+ "file": {
1419
+ "char": "f",
1420
+ "description": "Read request body from file",
1421
+ "name": "file",
1422
+ "hasDynamicHelp": false,
1423
+ "multiple": false,
1424
+ "type": "option"
1425
+ },
1426
+ "include": {
1427
+ "description": "Relations to include",
1428
+ "name": "include",
1429
+ "hasDynamicHelp": false,
1430
+ "multiple": false,
1431
+ "type": "option"
1432
+ },
1433
+ "limit": {
1434
+ "description": "Items per page",
1435
+ "name": "limit",
1436
+ "hasDynamicHelp": false,
1437
+ "multiple": false,
1438
+ "type": "option"
1439
+ },
1440
+ "output": {
1441
+ "char": "o",
1442
+ "description": "Output format (default: table for import, json for other commands)",
1443
+ "name": "output",
1444
+ "hasDynamicHelp": false,
1445
+ "multiple": false,
1446
+ "options": [
1447
+ "json",
1448
+ "table",
1449
+ "csv"
1450
+ ],
1451
+ "type": "option"
1452
+ },
1453
+ "page": {
1454
+ "description": "Page number",
1455
+ "name": "page",
1456
+ "hasDynamicHelp": false,
1457
+ "multiple": false,
1458
+ "type": "option"
1459
+ },
1460
+ "query": {
1461
+ "description": "Additional query params as JSON",
1462
+ "name": "query",
1463
+ "hasDynamicHelp": false,
1464
+ "multiple": false,
1465
+ "type": "option"
1466
+ },
1467
+ "sanitize": {
1468
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
1469
+ "name": "sanitize",
1470
+ "allowNo": false,
1471
+ "type": "boolean"
1472
+ },
1473
+ "search": {
1474
+ "description": "Search term",
1475
+ "name": "search",
1476
+ "hasDynamicHelp": false,
1477
+ "multiple": false,
1478
+ "type": "option"
1479
+ },
1480
+ "set": {
1481
+ "char": "s",
1482
+ "description": "Set individual field (e.g. --set firstName=John)",
1483
+ "name": "set",
1484
+ "hasDynamicHelp": false,
1485
+ "multiple": true,
1486
+ "type": "option"
1487
+ },
1488
+ "sort-by": {
1489
+ "description": "Sort field",
1490
+ "name": "sort-by",
1491
+ "hasDynamicHelp": false,
1492
+ "multiple": false,
1493
+ "type": "option"
1494
+ },
1495
+ "table": {
1496
+ "char": "t",
1497
+ "description": "Output as table (shortcut for --output table)",
1498
+ "name": "table",
1499
+ "allowNo": false,
1500
+ "type": "boolean"
1501
+ }
1502
+ },
1503
+ "hasDynamicHelp": false,
1504
+ "hiddenAliases": [],
1505
+ "id": "auth",
1506
+ "pluginAlias": "@aderis-erp/cli",
1507
+ "pluginName": "@aderis-erp/cli",
1508
+ "pluginType": "core",
1509
+ "strict": true,
1510
+ "enableJsonFlag": false,
1511
+ "isESM": true,
1512
+ "relativePath": [
1513
+ "dist",
1514
+ "commands",
1515
+ "auth.js"
1516
+ ]
1517
+ },
1518
+ "bank-accounts": {
1519
+ "aliases": [],
1520
+ "args": {
1521
+ "action": {
1522
+ "description": "Action: list, create, get, update, delete, get-balances, get-balances-latest, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-ledger-mappings, import-notes",
1523
+ "name": "action",
1524
+ "required": true
1525
+ },
1526
+ "id": {
1527
+ "description": "Resource ID (for get, update, delete operations)",
1528
+ "name": "id",
1529
+ "required": false
1530
+ }
1531
+ },
1532
+ "description": "Manage bank accounts",
1355
1533
  "examples": [
1356
- "<%= config.bin %> bank-integrations list",
1357
- "<%= config.bin %> bank-integrations get <id>",
1358
- "<%= config.bin %> bank-integrations create --data '{...}'",
1359
- "<%= config.bin %> bank-integrations update <id> --set field=value",
1360
- "<%= config.bin %> bank-integrations import --file data.json",
1361
- "<%= config.bin %> bank-integrations export --csv > bank-integrations.csv"
1534
+ "<%= config.bin %> bank-accounts list",
1535
+ "<%= config.bin %> bank-accounts get <id>",
1536
+ "<%= config.bin %> bank-accounts create --data '{...}'",
1537
+ "<%= config.bin %> bank-accounts update <id> --set field=value",
1538
+ "<%= config.bin %> bank-accounts import --file data.json",
1539
+ "<%= config.bin %> bank-accounts export --csv > bank-accounts.csv"
1362
1540
  ],
1363
1541
  "flags": {
1364
1542
  "context": {
1543
+ "aliases": [
1544
+ "config"
1545
+ ],
1365
1546
  "char": "c",
1366
- "description": "Context to use",
1547
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1548
+ "env": "ADERIS_CONTEXT",
1367
1549
  "name": "context",
1368
1550
  "hasDynamicHelp": false,
1369
1551
  "multiple": false,
@@ -1419,16 +1601,16 @@
1419
1601
  "multiple": true,
1420
1602
  "type": "option"
1421
1603
  },
1422
- "import-run-id": {
1423
- "description": "Path param: importRunId",
1424
- "name": "import-run-id",
1604
+ "mapping-id": {
1605
+ "description": "Path param: mappingId",
1606
+ "name": "mapping-id",
1425
1607
  "hasDynamicHelp": false,
1426
1608
  "multiple": false,
1427
1609
  "type": "option"
1428
1610
  },
1429
- "statement-id": {
1430
- "description": "Path param: statementId",
1431
- "name": "statement-id",
1611
+ "note-id": {
1612
+ "description": "Path param: noteId",
1613
+ "name": "note-id",
1432
1614
  "hasDynamicHelp": false,
1433
1615
  "multiple": false,
1434
1616
  "type": "option"
@@ -1483,7 +1665,7 @@
1483
1665
  "type": "option"
1484
1666
  },
1485
1667
  "fields": {
1486
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1668
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1487
1669
  "name": "fields",
1488
1670
  "hasDynamicHelp": false,
1489
1671
  "multiple": false,
@@ -1504,7 +1686,7 @@
1504
1686
  },
1505
1687
  "hasDynamicHelp": false,
1506
1688
  "hiddenAliases": [],
1507
- "id": "bank-integrations",
1689
+ "id": "bank-accounts",
1508
1690
  "pluginAlias": "@aderis-erp/cli",
1509
1691
  "pluginName": "@aderis-erp/cli",
1510
1692
  "pluginType": "core",
@@ -1514,14 +1696,14 @@
1514
1696
  "relativePath": [
1515
1697
  "dist",
1516
1698
  "commands",
1517
- "bank-integrations.js"
1699
+ "bank-accounts.js"
1518
1700
  ]
1519
1701
  },
1520
- "business-partners": {
1702
+ "bank-integrations": {
1521
1703
  "aliases": [],
1522
1704
  "args": {
1523
1705
  "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",
1706
+ "description": "Action: initiate, providers-supported, providers-consent-status, delete-providers-consent, list, create, get, update, delete, log, list-account-statement-runs, trigger-account-statement-runs, get-account-statement-runs, account-statement-runs-files, trigger-account-statement-runs-reimport, list-statements, statements, download-statements-xml, import, export",
1525
1707
  "name": "action",
1526
1708
  "required": true
1527
1709
  },
@@ -1531,19 +1713,23 @@
1531
1713
  "required": false
1532
1714
  }
1533
1715
  },
1534
- "description": "Manage business partners",
1716
+ "description": "Manage bank integrations",
1535
1717
  "examples": [
1536
- "<%= config.bin %> business-partners list",
1537
- "<%= config.bin %> business-partners get <id>",
1538
- "<%= config.bin %> business-partners create --data '{...}'",
1539
- "<%= config.bin %> business-partners update <id> --set field=value",
1540
- "<%= config.bin %> business-partners import --file data.json",
1541
- "<%= config.bin %> business-partners export --csv > business-partners.csv"
1718
+ "<%= config.bin %> bank-integrations list",
1719
+ "<%= config.bin %> bank-integrations get <id>",
1720
+ "<%= config.bin %> bank-integrations create --data '{...}'",
1721
+ "<%= config.bin %> bank-integrations update <id> --set field=value",
1722
+ "<%= config.bin %> bank-integrations import --file data.json",
1723
+ "<%= config.bin %> bank-integrations export --csv > bank-integrations.csv"
1542
1724
  ],
1543
1725
  "flags": {
1544
1726
  "context": {
1727
+ "aliases": [
1728
+ "config"
1729
+ ],
1545
1730
  "char": "c",
1546
- "description": "Context to use",
1731
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1732
+ "env": "ADERIS_CONTEXT",
1547
1733
  "name": "context",
1548
1734
  "hasDynamicHelp": false,
1549
1735
  "multiple": false,
@@ -1599,16 +1785,16 @@
1599
1785
  "multiple": true,
1600
1786
  "type": "option"
1601
1787
  },
1602
- "note-id": {
1603
- "description": "Path param: noteId",
1604
- "name": "note-id",
1788
+ "import-run-id": {
1789
+ "description": "Path param: importRunId",
1790
+ "name": "import-run-id",
1605
1791
  "hasDynamicHelp": false,
1606
1792
  "multiple": false,
1607
1793
  "type": "option"
1608
1794
  },
1609
- "business-partner-id": {
1610
- "description": "Path param: businessPartnerId",
1611
- "name": "business-partner-id",
1795
+ "statement-id": {
1796
+ "description": "Path param: statementId",
1797
+ "name": "statement-id",
1612
1798
  "hasDynamicHelp": false,
1613
1799
  "multiple": false,
1614
1800
  "type": "option"
@@ -1663,7 +1849,7 @@
1663
1849
  "type": "option"
1664
1850
  },
1665
1851
  "fields": {
1666
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
1852
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1667
1853
  "name": "fields",
1668
1854
  "hasDynamicHelp": false,
1669
1855
  "multiple": false,
@@ -1684,7 +1870,7 @@
1684
1870
  },
1685
1871
  "hasDynamicHelp": false,
1686
1872
  "hiddenAliases": [],
1687
- "id": "business-partners",
1873
+ "id": "bank-integrations",
1688
1874
  "pluginAlias": "@aderis-erp/cli",
1689
1875
  "pluginName": "@aderis-erp/cli",
1690
1876
  "pluginType": "core",
@@ -1694,14 +1880,14 @@
1694
1880
  "relativePath": [
1695
1881
  "dist",
1696
1882
  "commands",
1697
- "business-partners.js"
1883
+ "bank-integrations.js"
1698
1884
  ]
1699
1885
  },
1700
- "chat": {
1886
+ "business-partners": {
1701
1887
  "aliases": [],
1702
1888
  "args": {
1703
1889
  "action": {
1704
- "description": "Action: create, get, get-all, update, delete, stream, import",
1890
+ "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-files, create-files, get-files, update-files, delete-files, files-download, 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-files, import-contacts, import-contacts-notes",
1705
1891
  "name": "action",
1706
1892
  "required": true
1707
1893
  },
@@ -1711,17 +1897,23 @@
1711
1897
  "required": false
1712
1898
  }
1713
1899
  },
1714
- "description": "Manage chat",
1900
+ "description": "Manage business partners",
1715
1901
  "examples": [
1716
- "<%= config.bin %> chat get <id>",
1717
- "<%= config.bin %> chat create --data '{...}'",
1718
- "<%= config.bin %> chat update <id> --set field=value",
1719
- "<%= config.bin %> chat import --file data.json"
1902
+ "<%= config.bin %> business-partners list",
1903
+ "<%= config.bin %> business-partners get <id>",
1904
+ "<%= config.bin %> business-partners create --data '{...}'",
1905
+ "<%= config.bin %> business-partners update <id> --set field=value",
1906
+ "<%= config.bin %> business-partners import --file data.json",
1907
+ "<%= config.bin %> business-partners export --csv > business-partners.csv"
1720
1908
  ],
1721
1909
  "flags": {
1722
1910
  "context": {
1911
+ "aliases": [
1912
+ "config"
1913
+ ],
1723
1914
  "char": "c",
1724
- "description": "Context to use",
1915
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1916
+ "env": "ADERIS_CONTEXT",
1725
1917
  "name": "context",
1726
1918
  "hasDynamicHelp": false,
1727
1919
  "multiple": false,
@@ -1777,6 +1969,27 @@
1777
1969
  "multiple": true,
1778
1970
  "type": "option"
1779
1971
  },
1972
+ "note-id": {
1973
+ "description": "Path param: noteId",
1974
+ "name": "note-id",
1975
+ "hasDynamicHelp": false,
1976
+ "multiple": false,
1977
+ "type": "option"
1978
+ },
1979
+ "file-id": {
1980
+ "description": "Path param: fileId",
1981
+ "name": "file-id",
1982
+ "hasDynamicHelp": false,
1983
+ "multiple": false,
1984
+ "type": "option"
1985
+ },
1986
+ "business-partner-id": {
1987
+ "description": "Path param: businessPartnerId",
1988
+ "name": "business-partner-id",
1989
+ "hasDynamicHelp": false,
1990
+ "multiple": false,
1991
+ "type": "option"
1992
+ },
1780
1993
  "page": {
1781
1994
  "description": "Page number",
1782
1995
  "name": "page",
@@ -1827,7 +2040,7 @@
1827
2040
  "type": "option"
1828
2041
  },
1829
2042
  "fields": {
1830
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2043
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
1831
2044
  "name": "fields",
1832
2045
  "hasDynamicHelp": false,
1833
2046
  "multiple": false,
@@ -1848,7 +2061,7 @@
1848
2061
  },
1849
2062
  "hasDynamicHelp": false,
1850
2063
  "hiddenAliases": [],
1851
- "id": "chat",
2064
+ "id": "business-partners",
1852
2065
  "pluginAlias": "@aderis-erp/cli",
1853
2066
  "pluginName": "@aderis-erp/cli",
1854
2067
  "pluginType": "core",
@@ -1858,14 +2071,14 @@
1858
2071
  "relativePath": [
1859
2072
  "dist",
1860
2073
  "commands",
1861
- "chat.js"
2074
+ "business-partners.js"
1862
2075
  ]
1863
2076
  },
1864
- "credit-card-accounts": {
2077
+ "chat": {
1865
2078
  "aliases": [],
1866
2079
  "args": {
1867
2080
  "action": {
1868
- "description": "Action: list, create, get, update, delete, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-ledger-mappings, import-notes",
2081
+ "description": "Action: create, get, get-all, update, delete, stream, import",
1869
2082
  "name": "action",
1870
2083
  "required": true
1871
2084
  },
@@ -1875,19 +2088,21 @@
1875
2088
  "required": false
1876
2089
  }
1877
2090
  },
1878
- "description": "Manage credit card accounts",
2091
+ "description": "Manage chat",
1879
2092
  "examples": [
1880
- "<%= config.bin %> credit-card-accounts list",
1881
- "<%= config.bin %> credit-card-accounts get <id>",
1882
- "<%= config.bin %> credit-card-accounts create --data '{...}'",
1883
- "<%= config.bin %> credit-card-accounts update <id> --set field=value",
1884
- "<%= config.bin %> credit-card-accounts import --file data.json",
1885
- "<%= config.bin %> credit-card-accounts export --csv > credit-card-accounts.csv"
2093
+ "<%= config.bin %> chat get <id>",
2094
+ "<%= config.bin %> chat create --data '{...}'",
2095
+ "<%= config.bin %> chat update <id> --set field=value",
2096
+ "<%= config.bin %> chat import --file data.json"
1886
2097
  ],
1887
2098
  "flags": {
1888
2099
  "context": {
2100
+ "aliases": [
2101
+ "config"
2102
+ ],
1889
2103
  "char": "c",
1890
- "description": "Context to use",
2104
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2105
+ "env": "ADERIS_CONTEXT",
1891
2106
  "name": "context",
1892
2107
  "hasDynamicHelp": false,
1893
2108
  "multiple": false,
@@ -1943,20 +2158,6 @@
1943
2158
  "multiple": true,
1944
2159
  "type": "option"
1945
2160
  },
1946
- "mapping-id": {
1947
- "description": "Path param: mappingId",
1948
- "name": "mapping-id",
1949
- "hasDynamicHelp": false,
1950
- "multiple": false,
1951
- "type": "option"
1952
- },
1953
- "note-id": {
1954
- "description": "Path param: noteId",
1955
- "name": "note-id",
1956
- "hasDynamicHelp": false,
1957
- "multiple": false,
1958
- "type": "option"
1959
- },
1960
2161
  "page": {
1961
2162
  "description": "Page number",
1962
2163
  "name": "page",
@@ -2007,7 +2208,7 @@
2007
2208
  "type": "option"
2008
2209
  },
2009
2210
  "fields": {
2010
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2211
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2011
2212
  "name": "fields",
2012
2213
  "hasDynamicHelp": false,
2013
2214
  "multiple": false,
@@ -2028,7 +2229,7 @@
2028
2229
  },
2029
2230
  "hasDynamicHelp": false,
2030
2231
  "hiddenAliases": [],
2031
- "id": "credit-card-accounts",
2232
+ "id": "chat",
2032
2233
  "pluginAlias": "@aderis-erp/cli",
2033
2234
  "pluginName": "@aderis-erp/cli",
2034
2235
  "pluginType": "core",
@@ -2038,14 +2239,14 @@
2038
2239
  "relativePath": [
2039
2240
  "dist",
2040
2241
  "commands",
2041
- "credit-card-accounts.js"
2242
+ "chat.js"
2042
2243
  ]
2043
2244
  },
2044
- "delivery-notes": {
2245
+ "credit-card-accounts": {
2045
2246
  "aliases": [],
2046
2247
  "args": {
2047
2248
  "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",
2249
+ "description": "Action: list, create, get, update, delete, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-ledger-mappings, import-notes",
2049
2250
  "name": "action",
2050
2251
  "required": true
2051
2252
  },
@@ -2055,19 +2256,23 @@
2055
2256
  "required": false
2056
2257
  }
2057
2258
  },
2058
- "description": "Manage delivery notes",
2259
+ "description": "Manage credit card accounts",
2059
2260
  "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"
2261
+ "<%= config.bin %> credit-card-accounts list",
2262
+ "<%= config.bin %> credit-card-accounts get <id>",
2263
+ "<%= config.bin %> credit-card-accounts create --data '{...}'",
2264
+ "<%= config.bin %> credit-card-accounts update <id> --set field=value",
2265
+ "<%= config.bin %> credit-card-accounts import --file data.json",
2266
+ "<%= config.bin %> credit-card-accounts export --csv > credit-card-accounts.csv"
2066
2267
  ],
2067
2268
  "flags": {
2068
2269
  "context": {
2270
+ "aliases": [
2271
+ "config"
2272
+ ],
2069
2273
  "char": "c",
2070
- "description": "Context to use",
2274
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2275
+ "env": "ADERIS_CONTEXT",
2071
2276
  "name": "context",
2072
2277
  "hasDynamicHelp": false,
2073
2278
  "multiple": false,
@@ -2123,9 +2328,9 @@
2123
2328
  "multiple": true,
2124
2329
  "type": "option"
2125
2330
  },
2126
- "line-item-id": {
2127
- "description": "Path param: lineItemId",
2128
- "name": "line-item-id",
2331
+ "mapping-id": {
2332
+ "description": "Path param: mappingId",
2333
+ "name": "mapping-id",
2129
2334
  "hasDynamicHelp": false,
2130
2335
  "multiple": false,
2131
2336
  "type": "option"
@@ -2137,13 +2342,6 @@
2137
2342
  "multiple": false,
2138
2343
  "type": "option"
2139
2344
  },
2140
- "file-id": {
2141
- "description": "Path param: fileId",
2142
- "name": "file-id",
2143
- "hasDynamicHelp": false,
2144
- "multiple": false,
2145
- "type": "option"
2146
- },
2147
2345
  "page": {
2148
2346
  "description": "Page number",
2149
2347
  "name": "page",
@@ -2194,7 +2392,7 @@
2194
2392
  "type": "option"
2195
2393
  },
2196
2394
  "fields": {
2197
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2395
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2198
2396
  "name": "fields",
2199
2397
  "hasDynamicHelp": false,
2200
2398
  "multiple": false,
@@ -2215,7 +2413,7 @@
2215
2413
  },
2216
2414
  "hasDynamicHelp": false,
2217
2415
  "hiddenAliases": [],
2218
- "id": "delivery-notes",
2416
+ "id": "credit-card-accounts",
2219
2417
  "pluginAlias": "@aderis-erp/cli",
2220
2418
  "pluginName": "@aderis-erp/cli",
2221
2419
  "pluginType": "core",
@@ -2225,14 +2423,14 @@
2225
2423
  "relativePath": [
2226
2424
  "dist",
2227
2425
  "commands",
2228
- "delivery-notes.js"
2426
+ "credit-card-accounts.js"
2229
2427
  ]
2230
2428
  },
2231
- "documents": {
2429
+ "delivery-notes": {
2232
2430
  "aliases": [],
2233
2431
  "args": {
2234
2432
  "action": {
2235
- "description": "Action: list, create, get, update, delete, reclassify, import, export",
2433
+ "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",
2236
2434
  "name": "action",
2237
2435
  "required": true
2238
2436
  },
@@ -2242,19 +2440,23 @@
2242
2440
  "required": false
2243
2441
  }
2244
2442
  },
2245
- "description": "Manage documents",
2443
+ "description": "Manage delivery notes",
2246
2444
  "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"
2445
+ "<%= config.bin %> delivery-notes list",
2446
+ "<%= config.bin %> delivery-notes get <id>",
2447
+ "<%= config.bin %> delivery-notes create --data '{...}'",
2448
+ "<%= config.bin %> delivery-notes update <id> --set field=value",
2449
+ "<%= config.bin %> delivery-notes import --file data.json",
2450
+ "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
2253
2451
  ],
2254
2452
  "flags": {
2255
2453
  "context": {
2454
+ "aliases": [
2455
+ "config"
2456
+ ],
2256
2457
  "char": "c",
2257
- "description": "Context to use",
2458
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2459
+ "env": "ADERIS_CONTEXT",
2258
2460
  "name": "context",
2259
2461
  "hasDynamicHelp": false,
2260
2462
  "multiple": false,
@@ -2310,6 +2512,27 @@
2310
2512
  "multiple": true,
2311
2513
  "type": "option"
2312
2514
  },
2515
+ "line-item-id": {
2516
+ "description": "Path param: lineItemId",
2517
+ "name": "line-item-id",
2518
+ "hasDynamicHelp": false,
2519
+ "multiple": false,
2520
+ "type": "option"
2521
+ },
2522
+ "note-id": {
2523
+ "description": "Path param: noteId",
2524
+ "name": "note-id",
2525
+ "hasDynamicHelp": false,
2526
+ "multiple": false,
2527
+ "type": "option"
2528
+ },
2529
+ "file-id": {
2530
+ "description": "Path param: fileId",
2531
+ "name": "file-id",
2532
+ "hasDynamicHelp": false,
2533
+ "multiple": false,
2534
+ "type": "option"
2535
+ },
2313
2536
  "page": {
2314
2537
  "description": "Page number",
2315
2538
  "name": "page",
@@ -2360,7 +2583,7 @@
2360
2583
  "type": "option"
2361
2584
  },
2362
2585
  "fields": {
2363
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2586
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2364
2587
  "name": "fields",
2365
2588
  "hasDynamicHelp": false,
2366
2589
  "multiple": false,
@@ -2381,7 +2604,7 @@
2381
2604
  },
2382
2605
  "hasDynamicHelp": false,
2383
2606
  "hiddenAliases": [],
2384
- "id": "documents",
2607
+ "id": "delivery-notes",
2385
2608
  "pluginAlias": "@aderis-erp/cli",
2386
2609
  "pluginName": "@aderis-erp/cli",
2387
2610
  "pluginType": "core",
@@ -2391,7 +2614,7 @@
2391
2614
  "relativePath": [
2392
2615
  "dist",
2393
2616
  "commands",
2394
- "documents.js"
2617
+ "delivery-notes.js"
2395
2618
  ]
2396
2619
  },
2397
2620
  "dunning-configs": {
@@ -2419,8 +2642,12 @@
2419
2642
  ],
2420
2643
  "flags": {
2421
2644
  "context": {
2645
+ "aliases": [
2646
+ "config"
2647
+ ],
2422
2648
  "char": "c",
2423
- "description": "Context to use",
2649
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2650
+ "env": "ADERIS_CONTEXT",
2424
2651
  "name": "context",
2425
2652
  "hasDynamicHelp": false,
2426
2653
  "multiple": false,
@@ -2526,7 +2753,7 @@
2526
2753
  "type": "option"
2527
2754
  },
2528
2755
  "fields": {
2529
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2756
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2530
2757
  "name": "fields",
2531
2758
  "hasDynamicHelp": false,
2532
2759
  "multiple": false,
@@ -2583,8 +2810,12 @@
2583
2810
  ],
2584
2811
  "flags": {
2585
2812
  "context": {
2813
+ "aliases": [
2814
+ "config"
2815
+ ],
2586
2816
  "char": "c",
2587
- "description": "Context to use",
2817
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2818
+ "env": "ADERIS_CONTEXT",
2588
2819
  "name": "context",
2589
2820
  "hasDynamicHelp": false,
2590
2821
  "multiple": false,
@@ -2690,7 +2921,7 @@
2690
2921
  "type": "option"
2691
2922
  },
2692
2923
  "fields": {
2693
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
2924
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2694
2925
  "name": "fields",
2695
2926
  "hasDynamicHelp": false,
2696
2927
  "multiple": false,
@@ -2742,8 +2973,12 @@
2742
2973
  "examples": [],
2743
2974
  "flags": {
2744
2975
  "context": {
2976
+ "aliases": [
2977
+ "config"
2978
+ ],
2745
2979
  "char": "c",
2746
- "description": "Context to use",
2980
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
2981
+ "env": "ADERIS_CONTEXT",
2747
2982
  "name": "context",
2748
2983
  "hasDynamicHelp": false,
2749
2984
  "multiple": false,
@@ -2849,7 +3084,7 @@
2849
3084
  "type": "option"
2850
3085
  },
2851
3086
  "fields": {
2852
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3087
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
2853
3088
  "name": "fields",
2854
3089
  "hasDynamicHelp": false,
2855
3090
  "multiple": false,
@@ -2905,8 +3140,12 @@
2905
3140
  ],
2906
3141
  "flags": {
2907
3142
  "context": {
3143
+ "aliases": [
3144
+ "config"
3145
+ ],
2908
3146
  "char": "c",
2909
- "description": "Context to use",
3147
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3148
+ "env": "ADERIS_CONTEXT",
2910
3149
  "name": "context",
2911
3150
  "hasDynamicHelp": false,
2912
3151
  "multiple": false,
@@ -3012,7 +3251,7 @@
3012
3251
  "type": "option"
3013
3252
  },
3014
3253
  "fields": {
3015
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3254
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3016
3255
  "name": "fields",
3017
3256
  "hasDynamicHelp": false,
3018
3257
  "multiple": false,
@@ -3071,8 +3310,12 @@
3071
3310
  ],
3072
3311
  "flags": {
3073
3312
  "context": {
3313
+ "aliases": [
3314
+ "config"
3315
+ ],
3074
3316
  "char": "c",
3075
- "description": "Context to use",
3317
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3318
+ "env": "ADERIS_CONTEXT",
3076
3319
  "name": "context",
3077
3320
  "hasDynamicHelp": false,
3078
3321
  "multiple": false,
@@ -3206,7 +3449,7 @@
3206
3449
  "type": "option"
3207
3450
  },
3208
3451
  "fields": {
3209
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3452
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3210
3453
  "name": "fields",
3211
3454
  "hasDynamicHelp": false,
3212
3455
  "multiple": false,
@@ -3258,8 +3501,12 @@
3258
3501
  "examples": [],
3259
3502
  "flags": {
3260
3503
  "context": {
3504
+ "aliases": [
3505
+ "config"
3506
+ ],
3261
3507
  "char": "c",
3262
- "description": "Context to use",
3508
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3509
+ "env": "ADERIS_CONTEXT",
3263
3510
  "name": "context",
3264
3511
  "hasDynamicHelp": false,
3265
3512
  "multiple": false,
@@ -3365,7 +3612,7 @@
3365
3612
  "type": "option"
3366
3613
  },
3367
3614
  "fields": {
3368
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3615
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3369
3616
  "name": "fields",
3370
3617
  "hasDynamicHelp": false,
3371
3618
  "multiple": false,
@@ -3423,8 +3670,12 @@
3423
3670
  ],
3424
3671
  "flags": {
3425
3672
  "context": {
3673
+ "aliases": [
3674
+ "config"
3675
+ ],
3426
3676
  "char": "c",
3427
- "description": "Context to use",
3677
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3678
+ "env": "ADERIS_CONTEXT",
3428
3679
  "name": "context",
3429
3680
  "hasDynamicHelp": false,
3430
3681
  "multiple": false,
@@ -3530,7 +3781,7 @@
3530
3781
  "type": "option"
3531
3782
  },
3532
3783
  "fields": {
3533
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3784
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3534
3785
  "name": "fields",
3535
3786
  "hasDynamicHelp": false,
3536
3787
  "multiple": false,
@@ -3564,11 +3815,11 @@
3564
3815
  "event-processor-mappings.js"
3565
3816
  ]
3566
3817
  },
3567
- "files-internal": {
3818
+ "files": {
3568
3819
  "aliases": [],
3569
3820
  "args": {
3570
3821
  "action": {
3571
- "description": "Action: create, download-all, download, references, update, move, renditions, retention, hold, import",
3822
+ "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, import, export",
3572
3823
  "name": "action",
3573
3824
  "required": true
3574
3825
  },
@@ -3578,16 +3829,23 @@
3578
3829
  "required": false
3579
3830
  }
3580
3831
  },
3581
- "description": "Manage files internal",
3832
+ "description": "Manage files",
3582
3833
  "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"
3834
+ "<%= config.bin %> files list",
3835
+ "<%= config.bin %> files get <id>",
3836
+ "<%= config.bin %> files create --data '{...}'",
3837
+ "<%= config.bin %> files update <id> --set field=value",
3838
+ "<%= config.bin %> files import --file data.json",
3839
+ "<%= config.bin %> files export --csv > files.csv"
3586
3840
  ],
3587
3841
  "flags": {
3588
3842
  "context": {
3843
+ "aliases": [
3844
+ "config"
3845
+ ],
3589
3846
  "char": "c",
3590
- "description": "Context to use",
3847
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3848
+ "env": "ADERIS_CONTEXT",
3591
3849
  "name": "context",
3592
3850
  "hasDynamicHelp": false,
3593
3851
  "multiple": false,
@@ -3693,7 +3951,7 @@
3693
3951
  "type": "option"
3694
3952
  },
3695
3953
  "fields": {
3696
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
3954
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3697
3955
  "name": "fields",
3698
3956
  "hasDynamicHelp": false,
3699
3957
  "multiple": false,
@@ -3714,7 +3972,7 @@
3714
3972
  },
3715
3973
  "hasDynamicHelp": false,
3716
3974
  "hiddenAliases": [],
3717
- "id": "files-internal",
3975
+ "id": "files",
3718
3976
  "pluginAlias": "@aderis-erp/cli",
3719
3977
  "pluginName": "@aderis-erp/cli",
3720
3978
  "pluginType": "core",
@@ -3724,7 +3982,7 @@
3724
3982
  "relativePath": [
3725
3983
  "dist",
3726
3984
  "commands",
3727
- "files-internal.js"
3985
+ "files.js"
3728
3986
  ]
3729
3987
  },
3730
3988
  "health": {
@@ -3747,8 +4005,12 @@
3747
4005
  ],
3748
4006
  "flags": {
3749
4007
  "context": {
4008
+ "aliases": [
4009
+ "config"
4010
+ ],
3750
4011
  "char": "c",
3751
- "description": "Context to use",
4012
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4013
+ "env": "ADERIS_CONTEXT",
3752
4014
  "name": "context",
3753
4015
  "hasDynamicHelp": false,
3754
4016
  "multiple": false,
@@ -3854,7 +4116,7 @@
3854
4116
  "type": "option"
3855
4117
  },
3856
4118
  "fields": {
3857
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4119
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3858
4120
  "name": "fields",
3859
4121
  "hasDynamicHelp": false,
3860
4122
  "multiple": false,
@@ -3906,8 +4168,12 @@
3906
4168
  "examples": [],
3907
4169
  "flags": {
3908
4170
  "context": {
4171
+ "aliases": [
4172
+ "config"
4173
+ ],
3909
4174
  "char": "c",
3910
- "description": "Context to use",
4175
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4176
+ "env": "ADERIS_CONTEXT",
3911
4177
  "name": "context",
3912
4178
  "hasDynamicHelp": false,
3913
4179
  "multiple": false,
@@ -4020,7 +4286,7 @@
4020
4286
  "type": "option"
4021
4287
  },
4022
4288
  "fields": {
4023
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4289
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4024
4290
  "name": "fields",
4025
4291
  "hasDynamicHelp": false,
4026
4292
  "multiple": false,
@@ -4075,8 +4341,12 @@
4075
4341
  ],
4076
4342
  "flags": {
4077
4343
  "context": {
4344
+ "aliases": [
4345
+ "config"
4346
+ ],
4078
4347
  "char": "c",
4079
- "description": "Context to use",
4348
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4349
+ "env": "ADERIS_CONTEXT",
4080
4350
  "name": "context",
4081
4351
  "hasDynamicHelp": false,
4082
4352
  "multiple": false,
@@ -4189,7 +4459,7 @@
4189
4459
  "type": "option"
4190
4460
  },
4191
4461
  "fields": {
4192
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4462
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4193
4463
  "name": "fields",
4194
4464
  "hasDynamicHelp": false,
4195
4465
  "multiple": false,
@@ -4248,8 +4518,12 @@
4248
4518
  ],
4249
4519
  "flags": {
4250
4520
  "context": {
4521
+ "aliases": [
4522
+ "config"
4523
+ ],
4251
4524
  "char": "c",
4252
- "description": "Context to use",
4525
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4526
+ "env": "ADERIS_CONTEXT",
4253
4527
  "name": "context",
4254
4528
  "hasDynamicHelp": false,
4255
4529
  "multiple": false,
@@ -4355,7 +4629,7 @@
4355
4629
  "type": "option"
4356
4630
  },
4357
4631
  "fields": {
4358
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4632
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4359
4633
  "name": "fields",
4360
4634
  "hasDynamicHelp": false,
4361
4635
  "multiple": false,
@@ -4414,8 +4688,12 @@
4414
4688
  ],
4415
4689
  "flags": {
4416
4690
  "context": {
4691
+ "aliases": [
4692
+ "config"
4693
+ ],
4417
4694
  "char": "c",
4418
- "description": "Context to use",
4695
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4696
+ "env": "ADERIS_CONTEXT",
4419
4697
  "name": "context",
4420
4698
  "hasDynamicHelp": false,
4421
4699
  "multiple": false,
@@ -4521,7 +4799,7 @@
4521
4799
  "type": "option"
4522
4800
  },
4523
4801
  "fields": {
4524
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4802
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4525
4803
  "name": "fields",
4526
4804
  "hasDynamicHelp": false,
4527
4805
  "multiple": false,
@@ -4576,8 +4854,12 @@
4576
4854
  ],
4577
4855
  "flags": {
4578
4856
  "context": {
4857
+ "aliases": [
4858
+ "config"
4859
+ ],
4579
4860
  "char": "c",
4580
- "description": "Context to use",
4861
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4862
+ "env": "ADERIS_CONTEXT",
4581
4863
  "name": "context",
4582
4864
  "hasDynamicHelp": false,
4583
4865
  "multiple": false,
@@ -4683,7 +4965,7 @@
4683
4965
  "type": "option"
4684
4966
  },
4685
4967
  "fields": {
4686
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
4968
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4687
4969
  "name": "fields",
4688
4970
  "hasDynamicHelp": false,
4689
4971
  "multiple": false,
@@ -4721,7 +5003,7 @@
4721
5003
  "aliases": [],
4722
5004
  "args": {
4723
5005
  "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",
5006
+ "description": "Action: list, create, stats, get, update, delete, post, approve, cancel, reverse, update-lines, 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
5007
  "name": "action",
4726
5008
  "required": true
4727
5009
  },
@@ -4742,8 +5024,12 @@
4742
5024
  ],
4743
5025
  "flags": {
4744
5026
  "context": {
5027
+ "aliases": [
5028
+ "config"
5029
+ ],
4745
5030
  "char": "c",
4746
- "description": "Context to use",
5031
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5032
+ "env": "ADERIS_CONTEXT",
4747
5033
  "name": "context",
4748
5034
  "hasDynamicHelp": false,
4749
5035
  "multiple": false,
@@ -4799,6 +5085,13 @@
4799
5085
  "multiple": true,
4800
5086
  "type": "option"
4801
5087
  },
5088
+ "line-id": {
5089
+ "description": "Path param: lineId",
5090
+ "name": "line-id",
5091
+ "hasDynamicHelp": false,
5092
+ "multiple": false,
5093
+ "type": "option"
5094
+ },
4802
5095
  "note-id": {
4803
5096
  "description": "Path param: noteId",
4804
5097
  "name": "note-id",
@@ -4863,7 +5156,7 @@
4863
5156
  "type": "option"
4864
5157
  },
4865
5158
  "fields": {
4866
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
5159
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4867
5160
  "name": "fields",
4868
5161
  "hasDynamicHelp": false,
4869
5162
  "multiple": false,
@@ -4901,7 +5194,7 @@
4901
5194
  "aliases": [],
4902
5195
  "args": {
4903
5196
  "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",
5197
+ "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
5198
  "name": "action",
4906
5199
  "required": true
4907
5200
  },
@@ -4922,8 +5215,12 @@
4922
5215
  ],
4923
5216
  "flags": {
4924
5217
  "context": {
5218
+ "aliases": [
5219
+ "config"
5220
+ ],
4925
5221
  "char": "c",
4926
- "description": "Context to use",
5222
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5223
+ "env": "ADERIS_CONTEXT",
4927
5224
  "name": "context",
4928
5225
  "hasDynamicHelp": false,
4929
5226
  "multiple": false,
@@ -5043,7 +5340,170 @@
5043
5340
  "type": "option"
5044
5341
  },
5045
5342
  "fields": {
5046
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
5343
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5344
+ "name": "fields",
5345
+ "hasDynamicHelp": false,
5346
+ "multiple": false,
5347
+ "type": "option"
5348
+ },
5349
+ "sanitize": {
5350
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
5351
+ "name": "sanitize",
5352
+ "allowNo": false,
5353
+ "type": "boolean"
5354
+ },
5355
+ "show-http-request": {
5356
+ "description": "Show HTTP request details (method, URL, body)",
5357
+ "name": "show-http-request",
5358
+ "allowNo": false,
5359
+ "type": "boolean"
5360
+ }
5361
+ },
5362
+ "hasDynamicHelp": false,
5363
+ "hiddenAliases": [],
5364
+ "id": "ledgers",
5365
+ "pluginAlias": "@aderis-erp/cli",
5366
+ "pluginName": "@aderis-erp/cli",
5367
+ "pluginType": "core",
5368
+ "strict": true,
5369
+ "enableJsonFlag": false,
5370
+ "isESM": true,
5371
+ "relativePath": [
5372
+ "dist",
5373
+ "commands",
5374
+ "ledgers.js"
5375
+ ]
5376
+ },
5377
+ "nango-integrations": {
5378
+ "aliases": [],
5379
+ "args": {
5380
+ "action": {
5381
+ "description": "Action: providers, connect-sessions, list-connections, delete-connections, webhooks",
5382
+ "name": "action",
5383
+ "required": true
5384
+ },
5385
+ "id": {
5386
+ "description": "Resource ID (for get, update, delete operations)",
5387
+ "name": "id",
5388
+ "required": false
5389
+ }
5390
+ },
5391
+ "description": "Manage nango integrations",
5392
+ "examples": [],
5393
+ "flags": {
5394
+ "context": {
5395
+ "aliases": [
5396
+ "config"
5397
+ ],
5398
+ "char": "c",
5399
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5400
+ "env": "ADERIS_CONTEXT",
5401
+ "name": "context",
5402
+ "hasDynamicHelp": false,
5403
+ "multiple": false,
5404
+ "type": "option"
5405
+ },
5406
+ "output": {
5407
+ "char": "o",
5408
+ "description": "Output format (default: table for import, json for other commands)",
5409
+ "name": "output",
5410
+ "hasDynamicHelp": false,
5411
+ "multiple": false,
5412
+ "options": [
5413
+ "json",
5414
+ "table",
5415
+ "csv"
5416
+ ],
5417
+ "type": "option"
5418
+ },
5419
+ "table": {
5420
+ "char": "t",
5421
+ "description": "Output as table (shortcut for --output table)",
5422
+ "name": "table",
5423
+ "allowNo": false,
5424
+ "type": "boolean"
5425
+ },
5426
+ "csv": {
5427
+ "description": "Output as CSV (shortcut for --output csv)",
5428
+ "name": "csv",
5429
+ "allowNo": false,
5430
+ "type": "boolean"
5431
+ },
5432
+ "data": {
5433
+ "char": "d",
5434
+ "description": "JSON data for request body",
5435
+ "name": "data",
5436
+ "hasDynamicHelp": false,
5437
+ "multiple": false,
5438
+ "type": "option"
5439
+ },
5440
+ "file": {
5441
+ "char": "f",
5442
+ "description": "Read request body from file",
5443
+ "name": "file",
5444
+ "hasDynamicHelp": false,
5445
+ "multiple": false,
5446
+ "type": "option"
5447
+ },
5448
+ "set": {
5449
+ "char": "s",
5450
+ "description": "Set individual field (e.g. --set firstName=John)",
5451
+ "name": "set",
5452
+ "hasDynamicHelp": false,
5453
+ "multiple": true,
5454
+ "type": "option"
5455
+ },
5456
+ "page": {
5457
+ "description": "Page number",
5458
+ "name": "page",
5459
+ "hasDynamicHelp": false,
5460
+ "multiple": false,
5461
+ "type": "option"
5462
+ },
5463
+ "limit": {
5464
+ "description": "Items per page",
5465
+ "name": "limit",
5466
+ "hasDynamicHelp": false,
5467
+ "multiple": false,
5468
+ "type": "option"
5469
+ },
5470
+ "include": {
5471
+ "description": "Relations to include",
5472
+ "name": "include",
5473
+ "hasDynamicHelp": false,
5474
+ "multiple": false,
5475
+ "type": "option"
5476
+ },
5477
+ "search": {
5478
+ "description": "Search term",
5479
+ "name": "search",
5480
+ "hasDynamicHelp": false,
5481
+ "multiple": false,
5482
+ "type": "option"
5483
+ },
5484
+ "sort-by": {
5485
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
5486
+ "name": "sort-by",
5487
+ "hasDynamicHelp": false,
5488
+ "multiple": false,
5489
+ "type": "option"
5490
+ },
5491
+ "filter": {
5492
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
5493
+ "name": "filter",
5494
+ "hasDynamicHelp": false,
5495
+ "multiple": true,
5496
+ "type": "option"
5497
+ },
5498
+ "query": {
5499
+ "description": "Additional query params as JSON",
5500
+ "name": "query",
5501
+ "hasDynamicHelp": false,
5502
+ "multiple": false,
5503
+ "type": "option"
5504
+ },
5505
+ "fields": {
5506
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5047
5507
  "name": "fields",
5048
5508
  "hasDynamicHelp": false,
5049
5509
  "multiple": false,
@@ -5064,7 +5524,7 @@
5064
5524
  },
5065
5525
  "hasDynamicHelp": false,
5066
5526
  "hiddenAliases": [],
5067
- "id": "ledgers",
5527
+ "id": "nango-integrations",
5068
5528
  "pluginAlias": "@aderis-erp/cli",
5069
5529
  "pluginName": "@aderis-erp/cli",
5070
5530
  "pluginType": "core",
@@ -5074,7 +5534,7 @@
5074
5534
  "relativePath": [
5075
5535
  "dist",
5076
5536
  "commands",
5077
- "ledgers.js"
5537
+ "nango-integrations.js"
5078
5538
  ]
5079
5539
  },
5080
5540
  "office-locations": {
@@ -5102,8 +5562,12 @@
5102
5562
  ],
5103
5563
  "flags": {
5104
5564
  "context": {
5565
+ "aliases": [
5566
+ "config"
5567
+ ],
5105
5568
  "char": "c",
5106
- "description": "Context to use",
5569
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5570
+ "env": "ADERIS_CONTEXT",
5107
5571
  "name": "context",
5108
5572
  "hasDynamicHelp": false,
5109
5573
  "multiple": false,
@@ -5209,7 +5673,7 @@
5209
5673
  "type": "option"
5210
5674
  },
5211
5675
  "fields": {
5212
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
5676
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5213
5677
  "name": "fields",
5214
5678
  "hasDynamicHelp": false,
5215
5679
  "multiple": false,
@@ -5268,8 +5732,12 @@
5268
5732
  ],
5269
5733
  "flags": {
5270
5734
  "context": {
5735
+ "aliases": [
5736
+ "config"
5737
+ ],
5271
5738
  "char": "c",
5272
- "description": "Context to use",
5739
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5740
+ "env": "ADERIS_CONTEXT",
5273
5741
  "name": "context",
5274
5742
  "hasDynamicHelp": false,
5275
5743
  "multiple": false,
@@ -5382,7 +5850,7 @@
5382
5850
  "type": "option"
5383
5851
  },
5384
5852
  "fields": {
5385
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
5853
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5386
5854
  "name": "fields",
5387
5855
  "hasDynamicHelp": false,
5388
5856
  "multiple": false,
@@ -5420,7 +5888,7 @@
5420
5888
  "aliases": [],
5421
5889
  "args": {
5422
5890
  "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",
5891
+ "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
5892
  "name": "action",
5425
5893
  "required": true
5426
5894
  },
@@ -5441,8 +5909,12 @@
5441
5909
  ],
5442
5910
  "flags": {
5443
5911
  "context": {
5912
+ "aliases": [
5913
+ "config"
5914
+ ],
5444
5915
  "char": "c",
5445
- "description": "Context to use",
5916
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
5917
+ "env": "ADERIS_CONTEXT",
5446
5918
  "name": "context",
5447
5919
  "hasDynamicHelp": false,
5448
5920
  "multiple": false,
@@ -5562,7 +6034,7 @@
5562
6034
  "type": "option"
5563
6035
  },
5564
6036
  "fields": {
5565
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6037
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5566
6038
  "name": "fields",
5567
6039
  "hasDynamicHelp": false,
5568
6040
  "multiple": false,
@@ -5621,8 +6093,12 @@
5621
6093
  ],
5622
6094
  "flags": {
5623
6095
  "context": {
6096
+ "aliases": [
6097
+ "config"
6098
+ ],
5624
6099
  "char": "c",
5625
- "description": "Context to use",
6100
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6101
+ "env": "ADERIS_CONTEXT",
5626
6102
  "name": "context",
5627
6103
  "hasDynamicHelp": false,
5628
6104
  "multiple": false,
@@ -5728,7 +6204,7 @@
5728
6204
  "type": "option"
5729
6205
  },
5730
6206
  "fields": {
5731
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6207
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5732
6208
  "name": "fields",
5733
6209
  "hasDynamicHelp": false,
5734
6210
  "multiple": false,
@@ -5787,8 +6263,12 @@
5787
6263
  ],
5788
6264
  "flags": {
5789
6265
  "context": {
6266
+ "aliases": [
6267
+ "config"
6268
+ ],
5790
6269
  "char": "c",
5791
- "description": "Context to use",
6270
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6271
+ "env": "ADERIS_CONTEXT",
5792
6272
  "name": "context",
5793
6273
  "hasDynamicHelp": false,
5794
6274
  "multiple": false,
@@ -5894,7 +6374,7 @@
5894
6374
  "type": "option"
5895
6375
  },
5896
6376
  "fields": {
5897
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6377
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
5898
6378
  "name": "fields",
5899
6379
  "hasDynamicHelp": false,
5900
6380
  "multiple": false,
@@ -5953,8 +6433,12 @@
5953
6433
  ],
5954
6434
  "flags": {
5955
6435
  "context": {
6436
+ "aliases": [
6437
+ "config"
6438
+ ],
5956
6439
  "char": "c",
5957
- "description": "Context to use",
6440
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6441
+ "env": "ADERIS_CONTEXT",
5958
6442
  "name": "context",
5959
6443
  "hasDynamicHelp": false,
5960
6444
  "multiple": false,
@@ -6067,7 +6551,7 @@
6067
6551
  "type": "option"
6068
6552
  },
6069
6553
  "fields": {
6070
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6554
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6071
6555
  "name": "fields",
6072
6556
  "hasDynamicHelp": false,
6073
6557
  "multiple": false,
@@ -6125,8 +6609,12 @@
6125
6609
  ],
6126
6610
  "flags": {
6127
6611
  "context": {
6612
+ "aliases": [
6613
+ "config"
6614
+ ],
6128
6615
  "char": "c",
6129
- "description": "Context to use",
6616
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6617
+ "env": "ADERIS_CONTEXT",
6130
6618
  "name": "context",
6131
6619
  "hasDynamicHelp": false,
6132
6620
  "multiple": false,
@@ -6232,7 +6720,7 @@
6232
6720
  "type": "option"
6233
6721
  },
6234
6722
  "fields": {
6235
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6723
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6236
6724
  "name": "fields",
6237
6725
  "hasDynamicHelp": false,
6238
6726
  "multiple": false,
@@ -6291,8 +6779,12 @@
6291
6779
  ],
6292
6780
  "flags": {
6293
6781
  "context": {
6782
+ "aliases": [
6783
+ "config"
6784
+ ],
6294
6785
  "char": "c",
6295
- "description": "Context to use",
6786
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6787
+ "env": "ADERIS_CONTEXT",
6296
6788
  "name": "context",
6297
6789
  "hasDynamicHelp": false,
6298
6790
  "multiple": false,
@@ -6398,7 +6890,7 @@
6398
6890
  "type": "option"
6399
6891
  },
6400
6892
  "fields": {
6401
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
6893
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6402
6894
  "name": "fields",
6403
6895
  "hasDynamicHelp": false,
6404
6896
  "multiple": false,
@@ -6457,8 +6949,12 @@
6457
6949
  ],
6458
6950
  "flags": {
6459
6951
  "context": {
6952
+ "aliases": [
6953
+ "config"
6954
+ ],
6460
6955
  "char": "c",
6461
- "description": "Context to use",
6956
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
6957
+ "env": "ADERIS_CONTEXT",
6462
6958
  "name": "context",
6463
6959
  "hasDynamicHelp": false,
6464
6960
  "multiple": false,
@@ -6564,7 +7060,7 @@
6564
7060
  "type": "option"
6565
7061
  },
6566
7062
  "fields": {
6567
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7063
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6568
7064
  "name": "fields",
6569
7065
  "hasDynamicHelp": false,
6570
7066
  "multiple": false,
@@ -6602,7 +7098,7 @@
6602
7098
  "aliases": [],
6603
7099
  "args": {
6604
7100
  "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",
7101
+ "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
7102
  "name": "action",
6607
7103
  "required": true
6608
7104
  },
@@ -6623,8 +7119,12 @@
6623
7119
  ],
6624
7120
  "flags": {
6625
7121
  "context": {
7122
+ "aliases": [
7123
+ "config"
7124
+ ],
6626
7125
  "char": "c",
6627
- "description": "Context to use",
7126
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7127
+ "env": "ADERIS_CONTEXT",
6628
7128
  "name": "context",
6629
7129
  "hasDynamicHelp": false,
6630
7130
  "multiple": false,
@@ -6694,6 +7194,13 @@
6694
7194
  "multiple": false,
6695
7195
  "type": "option"
6696
7196
  },
7197
+ "file-id": {
7198
+ "description": "Path param: fileId",
7199
+ "name": "file-id",
7200
+ "hasDynamicHelp": false,
7201
+ "multiple": false,
7202
+ "type": "option"
7203
+ },
6697
7204
  "page": {
6698
7205
  "description": "Page number",
6699
7206
  "name": "page",
@@ -6744,7 +7251,7 @@
6744
7251
  "type": "option"
6745
7252
  },
6746
7253
  "fields": {
6747
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7254
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6748
7255
  "name": "fields",
6749
7256
  "hasDynamicHelp": false,
6750
7257
  "multiple": false,
@@ -6796,8 +7303,12 @@
6796
7303
  "examples": [],
6797
7304
  "flags": {
6798
7305
  "context": {
7306
+ "aliases": [
7307
+ "config"
7308
+ ],
6799
7309
  "char": "c",
6800
- "description": "Context to use",
7310
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7311
+ "env": "ADERIS_CONTEXT",
6801
7312
  "name": "context",
6802
7313
  "hasDynamicHelp": false,
6803
7314
  "multiple": false,
@@ -6903,7 +7414,7 @@
6903
7414
  "type": "option"
6904
7415
  },
6905
7416
  "fields": {
6906
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7417
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
6907
7418
  "name": "fields",
6908
7419
  "hasDynamicHelp": false,
6909
7420
  "multiple": false,
@@ -6962,8 +7473,12 @@
6962
7473
  ],
6963
7474
  "flags": {
6964
7475
  "context": {
7476
+ "aliases": [
7477
+ "config"
7478
+ ],
6965
7479
  "char": "c",
6966
- "description": "Context to use",
7480
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7481
+ "env": "ADERIS_CONTEXT",
6967
7482
  "name": "context",
6968
7483
  "hasDynamicHelp": false,
6969
7484
  "multiple": false,
@@ -7069,7 +7584,7 @@
7069
7584
  "type": "option"
7070
7585
  },
7071
7586
  "fields": {
7072
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7587
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7073
7588
  "name": "fields",
7074
7589
  "hasDynamicHelp": false,
7075
7590
  "multiple": false,
@@ -7107,7 +7622,7 @@
7107
7622
  "aliases": [],
7108
7623
  "args": {
7109
7624
  "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",
7625
+ "description": "Action: list, create, create-migrated-invoice, pdf, get, update, delete, payment-derivation, update-migrated-invoice, approve, match-sales-orders, validate, request-approval, send, send-resend, cancel, copy, replace, rebuild-journal, recalculate-payment-status, 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-migrated-invoice, import-line-items, import-notes, import-files",
7111
7626
  "name": "action",
7112
7627
  "required": true
7113
7628
  },
@@ -7128,8 +7643,12 @@
7128
7643
  ],
7129
7644
  "flags": {
7130
7645
  "context": {
7646
+ "aliases": [
7647
+ "config"
7648
+ ],
7131
7649
  "char": "c",
7132
- "description": "Context to use",
7650
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7651
+ "env": "ADERIS_CONTEXT",
7133
7652
  "name": "context",
7134
7653
  "hasDynamicHelp": false,
7135
7654
  "multiple": false,
@@ -7256,7 +7775,7 @@
7256
7775
  "type": "option"
7257
7776
  },
7258
7777
  "fields": {
7259
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7778
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7260
7779
  "name": "fields",
7261
7780
  "hasDynamicHelp": false,
7262
7781
  "multiple": false,
@@ -7315,8 +7834,12 @@
7315
7834
  ],
7316
7835
  "flags": {
7317
7836
  "context": {
7837
+ "aliases": [
7838
+ "config"
7839
+ ],
7318
7840
  "char": "c",
7319
- "description": "Context to use",
7841
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
7842
+ "env": "ADERIS_CONTEXT",
7320
7843
  "name": "context",
7321
7844
  "hasDynamicHelp": false,
7322
7845
  "multiple": false,
@@ -7443,7 +7966,7 @@
7443
7966
  "type": "option"
7444
7967
  },
7445
7968
  "fields": {
7446
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
7969
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7447
7970
  "name": "fields",
7448
7971
  "hasDynamicHelp": false,
7449
7972
  "multiple": false,
@@ -7498,8 +8021,12 @@
7498
8021
  ],
7499
8022
  "flags": {
7500
8023
  "context": {
8024
+ "aliases": [
8025
+ "config"
8026
+ ],
7501
8027
  "char": "c",
7502
- "description": "Context to use",
8028
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8029
+ "env": "ADERIS_CONTEXT",
7503
8030
  "name": "context",
7504
8031
  "hasDynamicHelp": false,
7505
8032
  "multiple": false,
@@ -7605,7 +8132,7 @@
7605
8132
  "type": "option"
7606
8133
  },
7607
8134
  "fields": {
7608
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
8135
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7609
8136
  "name": "fields",
7610
8137
  "hasDynamicHelp": false,
7611
8138
  "multiple": false,
@@ -7664,8 +8191,12 @@
7664
8191
  ],
7665
8192
  "flags": {
7666
8193
  "context": {
8194
+ "aliases": [
8195
+ "config"
8196
+ ],
7667
8197
  "char": "c",
7668
- "description": "Context to use",
8198
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8199
+ "env": "ADERIS_CONTEXT",
7669
8200
  "name": "context",
7670
8201
  "hasDynamicHelp": false,
7671
8202
  "multiple": false,
@@ -7771,7 +8302,7 @@
7771
8302
  "type": "option"
7772
8303
  },
7773
8304
  "fields": {
7774
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
8305
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7775
8306
  "name": "fields",
7776
8307
  "hasDynamicHelp": false,
7777
8308
  "multiple": false,
@@ -7830,8 +8361,12 @@
7830
8361
  ],
7831
8362
  "flags": {
7832
8363
  "context": {
8364
+ "aliases": [
8365
+ "config"
8366
+ ],
7833
8367
  "char": "c",
7834
- "description": "Context to use",
8368
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8369
+ "env": "ADERIS_CONTEXT",
7835
8370
  "name": "context",
7836
8371
  "hasDynamicHelp": false,
7837
8372
  "multiple": false,
@@ -7937,7 +8472,7 @@
7937
8472
  "type": "option"
7938
8473
  },
7939
8474
  "fields": {
7940
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
8475
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
7941
8476
  "name": "fields",
7942
8477
  "hasDynamicHelp": false,
7943
8478
  "multiple": false,
@@ -7994,6 +8529,176 @@
7994
8529
  "switch.js"
7995
8530
  ]
7996
8531
  },
8532
+ "tag-configurations": {
8533
+ "aliases": [],
8534
+ "args": {
8535
+ "action": {
8536
+ "description": "Action: list, create, get, update, delete, journal-coverage, import, export",
8537
+ "name": "action",
8538
+ "required": true
8539
+ },
8540
+ "id": {
8541
+ "description": "Resource ID (for get, update, delete operations)",
8542
+ "name": "id",
8543
+ "required": false
8544
+ }
8545
+ },
8546
+ "description": "Manage tag configurations",
8547
+ "examples": [
8548
+ "<%= config.bin %> tag-configurations list",
8549
+ "<%= config.bin %> tag-configurations get <id>",
8550
+ "<%= config.bin %> tag-configurations create --data '{...}'",
8551
+ "<%= config.bin %> tag-configurations update <id> --set field=value",
8552
+ "<%= config.bin %> tag-configurations import --file data.json",
8553
+ "<%= config.bin %> tag-configurations export --csv > tag-configurations.csv"
8554
+ ],
8555
+ "flags": {
8556
+ "context": {
8557
+ "aliases": [
8558
+ "config"
8559
+ ],
8560
+ "char": "c",
8561
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8562
+ "env": "ADERIS_CONTEXT",
8563
+ "name": "context",
8564
+ "hasDynamicHelp": false,
8565
+ "multiple": false,
8566
+ "type": "option"
8567
+ },
8568
+ "output": {
8569
+ "char": "o",
8570
+ "description": "Output format (default: table for import, json for other commands)",
8571
+ "name": "output",
8572
+ "hasDynamicHelp": false,
8573
+ "multiple": false,
8574
+ "options": [
8575
+ "json",
8576
+ "table",
8577
+ "csv"
8578
+ ],
8579
+ "type": "option"
8580
+ },
8581
+ "table": {
8582
+ "char": "t",
8583
+ "description": "Output as table (shortcut for --output table)",
8584
+ "name": "table",
8585
+ "allowNo": false,
8586
+ "type": "boolean"
8587
+ },
8588
+ "csv": {
8589
+ "description": "Output as CSV (shortcut for --output csv)",
8590
+ "name": "csv",
8591
+ "allowNo": false,
8592
+ "type": "boolean"
8593
+ },
8594
+ "data": {
8595
+ "char": "d",
8596
+ "description": "JSON data for request body",
8597
+ "name": "data",
8598
+ "hasDynamicHelp": false,
8599
+ "multiple": false,
8600
+ "type": "option"
8601
+ },
8602
+ "file": {
8603
+ "char": "f",
8604
+ "description": "Read request body from file",
8605
+ "name": "file",
8606
+ "hasDynamicHelp": false,
8607
+ "multiple": false,
8608
+ "type": "option"
8609
+ },
8610
+ "set": {
8611
+ "char": "s",
8612
+ "description": "Set individual field (e.g. --set firstName=John)",
8613
+ "name": "set",
8614
+ "hasDynamicHelp": false,
8615
+ "multiple": true,
8616
+ "type": "option"
8617
+ },
8618
+ "page": {
8619
+ "description": "Page number",
8620
+ "name": "page",
8621
+ "hasDynamicHelp": false,
8622
+ "multiple": false,
8623
+ "type": "option"
8624
+ },
8625
+ "limit": {
8626
+ "description": "Items per page",
8627
+ "name": "limit",
8628
+ "hasDynamicHelp": false,
8629
+ "multiple": false,
8630
+ "type": "option"
8631
+ },
8632
+ "include": {
8633
+ "description": "Relations to include",
8634
+ "name": "include",
8635
+ "hasDynamicHelp": false,
8636
+ "multiple": false,
8637
+ "type": "option"
8638
+ },
8639
+ "search": {
8640
+ "description": "Search term",
8641
+ "name": "search",
8642
+ "hasDynamicHelp": false,
8643
+ "multiple": false,
8644
+ "type": "option"
8645
+ },
8646
+ "sort-by": {
8647
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
8648
+ "name": "sort-by",
8649
+ "hasDynamicHelp": false,
8650
+ "multiple": false,
8651
+ "type": "option"
8652
+ },
8653
+ "filter": {
8654
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
8655
+ "name": "filter",
8656
+ "hasDynamicHelp": false,
8657
+ "multiple": true,
8658
+ "type": "option"
8659
+ },
8660
+ "query": {
8661
+ "description": "Additional query params as JSON",
8662
+ "name": "query",
8663
+ "hasDynamicHelp": false,
8664
+ "multiple": false,
8665
+ "type": "option"
8666
+ },
8667
+ "fields": {
8668
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8669
+ "name": "fields",
8670
+ "hasDynamicHelp": false,
8671
+ "multiple": false,
8672
+ "type": "option"
8673
+ },
8674
+ "sanitize": {
8675
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
8676
+ "name": "sanitize",
8677
+ "allowNo": false,
8678
+ "type": "boolean"
8679
+ },
8680
+ "show-http-request": {
8681
+ "description": "Show HTTP request details (method, URL, body)",
8682
+ "name": "show-http-request",
8683
+ "allowNo": false,
8684
+ "type": "boolean"
8685
+ }
8686
+ },
8687
+ "hasDynamicHelp": false,
8688
+ "hiddenAliases": [],
8689
+ "id": "tag-configurations",
8690
+ "pluginAlias": "@aderis-erp/cli",
8691
+ "pluginName": "@aderis-erp/cli",
8692
+ "pluginType": "core",
8693
+ "strict": true,
8694
+ "enableJsonFlag": false,
8695
+ "isESM": true,
8696
+ "relativePath": [
8697
+ "dist",
8698
+ "commands",
8699
+ "tag-configurations.js"
8700
+ ]
8701
+ },
7997
8702
  "tags": {
7998
8703
  "aliases": [],
7999
8704
  "args": {
@@ -8019,8 +8724,12 @@
8019
8724
  ],
8020
8725
  "flags": {
8021
8726
  "context": {
8727
+ "aliases": [
8728
+ "config"
8729
+ ],
8022
8730
  "char": "c",
8023
- "description": "Context to use",
8731
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8732
+ "env": "ADERIS_CONTEXT",
8024
8733
  "name": "context",
8025
8734
  "hasDynamicHelp": false,
8026
8735
  "multiple": false,
@@ -8126,7 +8835,7 @@
8126
8835
  "type": "option"
8127
8836
  },
8128
8837
  "fields": {
8129
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
8838
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8130
8839
  "name": "fields",
8131
8840
  "hasDynamicHelp": false,
8132
8841
  "multiple": false,
@@ -8185,8 +8894,12 @@
8185
8894
  ],
8186
8895
  "flags": {
8187
8896
  "context": {
8897
+ "aliases": [
8898
+ "config"
8899
+ ],
8188
8900
  "char": "c",
8189
- "description": "Context to use",
8901
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
8902
+ "env": "ADERIS_CONTEXT",
8190
8903
  "name": "context",
8191
8904
  "hasDynamicHelp": false,
8192
8905
  "multiple": false,
@@ -8292,7 +9005,7 @@
8292
9005
  "type": "option"
8293
9006
  },
8294
9007
  "fields": {
8295
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9008
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8296
9009
  "name": "fields",
8297
9010
  "hasDynamicHelp": false,
8298
9011
  "multiple": false,
@@ -8351,8 +9064,12 @@
8351
9064
  ],
8352
9065
  "flags": {
8353
9066
  "context": {
9067
+ "aliases": [
9068
+ "config"
9069
+ ],
8354
9070
  "char": "c",
8355
- "description": "Context to use",
9071
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9072
+ "env": "ADERIS_CONTEXT",
8356
9073
  "name": "context",
8357
9074
  "hasDynamicHelp": false,
8358
9075
  "multiple": false,
@@ -8458,7 +9175,7 @@
8458
9175
  "type": "option"
8459
9176
  },
8460
9177
  "fields": {
8461
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9178
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8462
9179
  "name": "fields",
8463
9180
  "hasDynamicHelp": false,
8464
9181
  "multiple": false,
@@ -8496,7 +9213,7 @@
8496
9213
  "aliases": [],
8497
9214
  "args": {
8498
9215
  "action": {
8499
- "description": "Action: list, create, get, update, delete, logo, icon, import, export",
9216
+ "description": "Action: list, create, get, update, delete, logo, icon, update-identity-provider, import, export",
8500
9217
  "name": "action",
8501
9218
  "required": true
8502
9219
  },
@@ -8517,8 +9234,12 @@
8517
9234
  ],
8518
9235
  "flags": {
8519
9236
  "context": {
9237
+ "aliases": [
9238
+ "config"
9239
+ ],
8520
9240
  "char": "c",
8521
- "description": "Context to use",
9241
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9242
+ "env": "ADERIS_CONTEXT",
8522
9243
  "name": "context",
8523
9244
  "hasDynamicHelp": false,
8524
9245
  "multiple": false,
@@ -8624,7 +9345,7 @@
8624
9345
  "type": "option"
8625
9346
  },
8626
9347
  "fields": {
8627
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9348
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8628
9349
  "name": "fields",
8629
9350
  "hasDynamicHelp": false,
8630
9351
  "multiple": false,
@@ -8683,8 +9404,12 @@
8683
9404
  ],
8684
9405
  "flags": {
8685
9406
  "context": {
9407
+ "aliases": [
9408
+ "config"
9409
+ ],
8686
9410
  "char": "c",
8687
- "description": "Context to use",
9411
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9412
+ "env": "ADERIS_CONTEXT",
8688
9413
  "name": "context",
8689
9414
  "hasDynamicHelp": false,
8690
9415
  "multiple": false,
@@ -8790,7 +9515,7 @@
8790
9515
  "type": "option"
8791
9516
  },
8792
9517
  "fields": {
8793
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9518
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8794
9519
  "name": "fields",
8795
9520
  "hasDynamicHelp": false,
8796
9521
  "multiple": false,
@@ -8845,8 +9570,12 @@
8845
9570
  ],
8846
9571
  "flags": {
8847
9572
  "context": {
9573
+ "aliases": [
9574
+ "config"
9575
+ ],
8848
9576
  "char": "c",
8849
- "description": "Context to use",
9577
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9578
+ "env": "ADERIS_CONTEXT",
8850
9579
  "name": "context",
8851
9580
  "hasDynamicHelp": false,
8852
9581
  "multiple": false,
@@ -8952,7 +9681,7 @@
8952
9681
  "type": "option"
8953
9682
  },
8954
9683
  "fields": {
8955
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9684
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
8956
9685
  "name": "fields",
8957
9686
  "hasDynamicHelp": false,
8958
9687
  "multiple": false,
@@ -8990,7 +9719,7 @@
8990
9719
  "aliases": [],
8991
9720
  "args": {
8992
9721
  "action": {
8993
- "description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, mark-as-filed, xml, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-files",
9722
+ "description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, notices-dismiss, notices-restore, mark-as-filed, xml, list-files, create-files, get-files, update-files, delete-files, files-download, list-payments, create-payments, import, export, import-files",
8994
9723
  "name": "action",
8995
9724
  "required": true
8996
9725
  },
@@ -9011,8 +9740,12 @@
9011
9740
  ],
9012
9741
  "flags": {
9013
9742
  "context": {
9743
+ "aliases": [
9744
+ "config"
9745
+ ],
9014
9746
  "char": "c",
9015
- "description": "Context to use",
9747
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9748
+ "env": "ADERIS_CONTEXT",
9016
9749
  "name": "context",
9017
9750
  "hasDynamicHelp": false,
9018
9751
  "multiple": false,
@@ -9075,6 +9808,13 @@
9075
9808
  "multiple": false,
9076
9809
  "type": "option"
9077
9810
  },
9811
+ "notice-id": {
9812
+ "description": "Path param: noticeId",
9813
+ "name": "notice-id",
9814
+ "hasDynamicHelp": false,
9815
+ "multiple": false,
9816
+ "type": "option"
9817
+ },
9078
9818
  "file-id": {
9079
9819
  "description": "Path param: fileId",
9080
9820
  "name": "file-id",
@@ -9132,7 +9872,7 @@
9132
9872
  "type": "option"
9133
9873
  },
9134
9874
  "fields": {
9135
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
9875
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
9136
9876
  "name": "fields",
9137
9877
  "hasDynamicHelp": false,
9138
9878
  "multiple": false,
@@ -9170,7 +9910,7 @@
9170
9910
  "aliases": [],
9171
9911
  "args": {
9172
9912
  "action": {
9173
- "description": "Action: list, create, get, update, delete, submit, approve, decline, book, rebuild-journal, cancel, confirm-cancellation, change-vendor, recalculate-payment-status, validate, 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, list-payments, create-payments, get-payments, update-payments, delete-payments, payments-approve, payments-cancel, import, export, import-line-items, import-notes, import-files, import-payments",
9913
+ "description": "Action: list, create, get, update, delete, payment-derivation, submit, approve, decline, book, rebuild-journal, cancel, change-vendor, recalculate-payment-status, validate, 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, list-payments, create-payments, get-payments, update-payments, delete-payments, payments-approve, payments-reopen, payments-cancel, import, export, import-line-items, import-notes, import-files, import-payments",
9174
9914
  "name": "action",
9175
9915
  "required": true
9176
9916
  },
@@ -9191,8 +9931,12 @@
9191
9931
  ],
9192
9932
  "flags": {
9193
9933
  "context": {
9934
+ "aliases": [
9935
+ "config"
9936
+ ],
9194
9937
  "char": "c",
9195
- "description": "Context to use",
9938
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
9939
+ "env": "ADERIS_CONTEXT",
9196
9940
  "name": "context",
9197
9941
  "hasDynamicHelp": false,
9198
9942
  "multiple": false,
@@ -9326,7 +10070,7 @@
9326
10070
  "type": "option"
9327
10071
  },
9328
10072
  "fields": {
9329
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
10073
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
9330
10074
  "name": "fields",
9331
10075
  "hasDynamicHelp": false,
9332
10076
  "multiple": false,
@@ -9385,8 +10129,12 @@
9385
10129
  ],
9386
10130
  "flags": {
9387
10131
  "context": {
10132
+ "aliases": [
10133
+ "config"
10134
+ ],
9388
10135
  "char": "c",
9389
- "description": "Context to use",
10136
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
10137
+ "env": "ADERIS_CONTEXT",
9390
10138
  "name": "context",
9391
10139
  "hasDynamicHelp": false,
9392
10140
  "multiple": false,
@@ -9492,7 +10240,7 @@
9492
10240
  "type": "option"
9493
10241
  },
9494
10242
  "fields": {
9495
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
10243
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
9496
10244
  "name": "fields",
9497
10245
  "hasDynamicHelp": false,
9498
10246
  "multiple": false,
@@ -9547,8 +10295,12 @@
9547
10295
  ],
9548
10296
  "flags": {
9549
10297
  "context": {
10298
+ "aliases": [
10299
+ "config"
10300
+ ],
9550
10301
  "char": "c",
9551
- "description": "Context to use",
10302
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
10303
+ "env": "ADERIS_CONTEXT",
9552
10304
  "name": "context",
9553
10305
  "hasDynamicHelp": false,
9554
10306
  "multiple": false,
@@ -9654,7 +10406,7 @@
9654
10406
  "type": "option"
9655
10407
  },
9656
10408
  "fields": {
9657
- "description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
10409
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
9658
10410
  "name": "fields",
9659
10411
  "hasDynamicHelp": false,
9660
10412
  "multiple": false,
@@ -9695,7 +10447,8 @@
9695
10447
  "examples": [
9696
10448
  "<%= config.bin %> auth login",
9697
10449
  "<%= config.bin %> auth login --context my-client",
9698
- "<%= config.bin %> auth login --new --name my-client --environment dev"
10450
+ "<%= config.bin %> auth login --new --name my-client --environment dev",
10451
+ "<%= config.bin %> auth login --new --name test-kc --environment test"
9699
10452
  ],
9700
10453
  "flags": {
9701
10454
  "client-id": {
@@ -9706,8 +10459,12 @@
9706
10459
  "type": "option"
9707
10460
  },
9708
10461
  "context": {
10462
+ "aliases": [
10463
+ "config"
10464
+ ],
9709
10465
  "char": "c",
9710
- "description": "Context to login with (uses current context if not specified)",
10466
+ "description": "Context to login with, overriding the current context (alias: --config)",
10467
+ "env": "ADERIS_CONTEXT",
9711
10468
  "name": "context",
9712
10469
  "hasDynamicHelp": false,
9713
10470
  "multiple": false,
@@ -9715,17 +10472,25 @@
9715
10472
  },
9716
10473
  "environment": {
9717
10474
  "char": "e",
9718
- "description": "Environment (dev, staging, live)",
10475
+ "description": "Environment (dev, test, staging, live)",
9719
10476
  "name": "environment",
9720
10477
  "hasDynamicHelp": false,
9721
10478
  "multiple": false,
9722
10479
  "options": [
9723
10480
  "dev",
10481
+ "test",
9724
10482
  "staging",
9725
10483
  "live"
9726
10484
  ],
9727
10485
  "type": "option"
9728
10486
  },
10487
+ "keycloak-url": {
10488
+ "description": "Keycloak origin for a new context instead of the default host for the environment (--new only; https, allowlisted)",
10489
+ "name": "keycloak-url",
10490
+ "hasDynamicHelp": false,
10491
+ "multiple": false,
10492
+ "type": "option"
10493
+ },
9729
10494
  "name": {
9730
10495
  "description": "Name for the new context (required with --new)",
9731
10496
  "name": "name",
@@ -9775,8 +10540,12 @@
9775
10540
  "type": "boolean"
9776
10541
  },
9777
10542
  "context": {
10543
+ "aliases": [
10544
+ "config"
10545
+ ],
9778
10546
  "char": "c",
9779
- "description": "Specific context to logout from",
10547
+ "description": "Context to logout from, overriding the current context (alias: --config)",
10548
+ "env": "ADERIS_CONTEXT",
9780
10549
  "name": "context",
9781
10550
  "hasDynamicHelp": false,
9782
10551
  "multiple": false,
@@ -9817,8 +10586,12 @@
9817
10586
  "type": "boolean"
9818
10587
  },
9819
10588
  "context": {
10589
+ "aliases": [
10590
+ "config"
10591
+ ],
9820
10592
  "char": "c",
9821
- "description": "Specific context to check",
10593
+ "description": "Context to check, overriding the current context (alias: --config)",
10594
+ "env": "ADERIS_CONTEXT",
9822
10595
  "name": "context",
9823
10596
  "hasDynamicHelp": false,
9824
10597
  "multiple": false,
@@ -9869,8 +10642,12 @@
9869
10642
  ],
9870
10643
  "flags": {
9871
10644
  "context": {
10645
+ "aliases": [
10646
+ "config"
10647
+ ],
9872
10648
  "char": "c",
9873
- "description": "Context to use",
10649
+ "description": "Context to use, overriding the current context (alias: --config)",
10650
+ "env": "ADERIS_CONTEXT",
9874
10651
  "name": "context",
9875
10652
  "hasDynamicHelp": false,
9876
10653
  "multiple": false,
@@ -9906,9 +10683,29 @@
9906
10683
  "examples": [
9907
10684
  "<%= config.bin %> config add",
9908
10685
  "<%= config.bin %> config add --name my-client --environment live",
9909
- "<%= config.bin %> config add --name dev-context --environment dev --client-id abc123"
10686
+ "<%= config.bin %> config add --name dev-context --environment dev --client-id abc123",
10687
+ "<%= config.bin %> config add --name ci --environment live --auth-type api-key --api-key <key>",
10688
+ "<%= config.bin %> config add --name test-kc --environment test --keycloak-url https://iam-test.aderis.com"
9910
10689
  ],
9911
10690
  "flags": {
10691
+ "api-key": {
10692
+ "description": "API key to store (only with --auth-type api-key). Prompted for if omitted.",
10693
+ "name": "api-key",
10694
+ "hasDynamicHelp": false,
10695
+ "multiple": false,
10696
+ "type": "option"
10697
+ },
10698
+ "auth-type": {
10699
+ "description": "How to authenticate: oauth2 (browser login) or api-key (x-api-key header)",
10700
+ "name": "auth-type",
10701
+ "hasDynamicHelp": false,
10702
+ "multiple": false,
10703
+ "options": [
10704
+ "oauth2",
10705
+ "api-key"
10706
+ ],
10707
+ "type": "option"
10708
+ },
9912
10709
  "client-id": {
9913
10710
  "description": "OAuth client ID (uses default if not specified)",
9914
10711
  "name": "client-id",
@@ -9925,12 +10722,13 @@
9925
10722
  },
9926
10723
  "environment": {
9927
10724
  "char": "e",
9928
- "description": "Environment (dev, staging, live)",
10725
+ "description": "Environment (dev, test, staging, live)",
9929
10726
  "name": "environment",
9930
10727
  "hasDynamicHelp": false,
9931
10728
  "multiple": false,
9932
10729
  "options": [
9933
10730
  "dev",
10731
+ "test",
9934
10732
  "staging",
9935
10733
  "live"
9936
10734
  ],
@@ -9943,6 +10741,13 @@
9943
10741
  "allowNo": false,
9944
10742
  "type": "boolean"
9945
10743
  },
10744
+ "keycloak-url": {
10745
+ "description": "Keycloak origin to use instead of the default host for the environment (https, allowlisted). The realm stays that of the environment",
10746
+ "name": "keycloak-url",
10747
+ "hasDynamicHelp": false,
10748
+ "multiple": false,
10749
+ "type": "option"
10750
+ },
9946
10751
  "name": {
9947
10752
  "char": "n",
9948
10753
  "description": "Context name",
@@ -10107,6 +10912,52 @@
10107
10912
  "rename.js"
10108
10913
  ]
10109
10914
  },
10915
+ "config:set-api-key": {
10916
+ "aliases": [],
10917
+ "args": {},
10918
+ "description": "Set or rotate the API key for a context (switches it to api-key auth)",
10919
+ "examples": [
10920
+ "<%= config.bin %> config set-api-key",
10921
+ "<%= config.bin %> config set-api-key --context ci",
10922
+ "<%= config.bin %> config set-api-key --context ci --api-key <key>"
10923
+ ],
10924
+ "flags": {
10925
+ "api-key": {
10926
+ "description": "The API key. Prompted for (hidden) if omitted.",
10927
+ "name": "api-key",
10928
+ "hasDynamicHelp": false,
10929
+ "multiple": false,
10930
+ "type": "option"
10931
+ },
10932
+ "context": {
10933
+ "aliases": [
10934
+ "config"
10935
+ ],
10936
+ "char": "c",
10937
+ "description": "Context to update, overriding the current context (alias: --config)",
10938
+ "env": "ADERIS_CONTEXT",
10939
+ "name": "context",
10940
+ "hasDynamicHelp": false,
10941
+ "multiple": false,
10942
+ "type": "option"
10943
+ }
10944
+ },
10945
+ "hasDynamicHelp": false,
10946
+ "hiddenAliases": [],
10947
+ "id": "config:set-api-key",
10948
+ "pluginAlias": "@aderis-erp/cli",
10949
+ "pluginName": "@aderis-erp/cli",
10950
+ "pluginType": "core",
10951
+ "strict": true,
10952
+ "enableJsonFlag": false,
10953
+ "isESM": true,
10954
+ "relativePath": [
10955
+ "dist",
10956
+ "commands",
10957
+ "config",
10958
+ "set-api-key.js"
10959
+ ]
10960
+ },
10110
10961
  "config:use": {
10111
10962
  "aliases": [],
10112
10963
  "args": {
@@ -10139,5 +10990,5 @@
10139
10990
  ]
10140
10991
  }
10141
10992
  },
10142
- "version": "1.0.14"
10993
+ "version": "1.0.17"
10143
10994
  }