@aderis-erp/cli 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +1 -0
  2. package/dist/commands/api-clients.d.ts +58 -0
  3. package/dist/commands/api-clients.js +1341 -0
  4. package/dist/commands/bank-accounts.js +1 -1
  5. package/dist/commands/credit-card-accounts.d.ts +4 -0
  6. package/dist/commands/credit-card-accounts.js +8 -3
  7. package/dist/commands/currencies.d.ts +56 -0
  8. package/dist/commands/{workflows.js → currencies.js} +13 -15
  9. package/dist/commands/custody-accounts.d.ts +56 -0
  10. package/dist/commands/{integration-identities.js → custody-accounts.js} +25 -22
  11. package/dist/commands/{integration-identities.d.ts → dashboards.d.ts} +3 -3
  12. package/dist/commands/dashboards.js +1347 -0
  13. package/dist/commands/document-checksums.d.ts +56 -0
  14. package/dist/commands/document-checksums.js +1324 -0
  15. package/dist/commands/financial-instrument-types.d.ts +56 -0
  16. package/dist/commands/financial-instrument-types.js +1335 -0
  17. package/dist/commands/financial-instruments.d.ts +56 -0
  18. package/dist/commands/financial-instruments.js +1335 -0
  19. package/dist/commands/items.js +2 -2
  20. package/dist/commands/{workflows.d.ts → kpis.d.ts} +1 -1
  21. package/dist/commands/kpis.js +1337 -0
  22. package/dist/commands/ledgers.js +1 -1
  23. package/dist/commands/notifications.d.ts +56 -0
  24. package/dist/commands/notifications.js +1326 -0
  25. package/dist/commands/sales-orders.js +1 -1
  26. package/dist/commands/settings.d.ts +56 -0
  27. package/dist/commands/settings.js +1327 -0
  28. package/dist/commands/templates.js +2 -1
  29. package/dist/commands/vendor-invoices.js +2 -1
  30. package/dist/commands/work-summary.d.ts +56 -0
  31. package/dist/commands/work-summary.js +1326 -0
  32. package/dist/lib/auth/index.js +5 -0
  33. package/dist/lib/production-guard.d.ts +42 -0
  34. package/dist/lib/production-guard.js +92 -0
  35. package/oclif.manifest.json +1943 -331
  36. package/package.json +1 -1
@@ -1261,6 +1261,194 @@
1261
1261
  "analytics.js"
1262
1262
  ]
1263
1263
  },
1264
+ "api-clients": {
1265
+ "aliases": [],
1266
+ "args": {
1267
+ "action": {
1268
+ "description": "Action: list, create, api-clients-disable-all, get, list-api-clients-secrets, create-api-clients-secrets, delete-api-clients-secrets, api-clients-disable, list-api-clients-api-keys, create-api-clients-api-keys, delete-api-clients-api-keys, export",
1269
+ "name": "action",
1270
+ "required": true
1271
+ },
1272
+ "id": {
1273
+ "description": "Resource ID (for get, update, delete operations)",
1274
+ "name": "id",
1275
+ "required": false
1276
+ }
1277
+ },
1278
+ "description": "Manage api clients",
1279
+ "examples": [
1280
+ "<%= config.bin %> api-clients list",
1281
+ "<%= config.bin %> api-clients get <id>",
1282
+ "<%= config.bin %> api-clients create --data '{...}'",
1283
+ "<%= config.bin %> api-clients export --csv > api-clients.csv"
1284
+ ],
1285
+ "flags": {
1286
+ "context": {
1287
+ "aliases": [
1288
+ "config"
1289
+ ],
1290
+ "char": "c",
1291
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
1292
+ "env": "ADERIS_CONTEXT",
1293
+ "name": "context",
1294
+ "hasDynamicHelp": false,
1295
+ "multiple": false,
1296
+ "type": "option"
1297
+ },
1298
+ "output": {
1299
+ "char": "o",
1300
+ "description": "Output format (default: table for upsert, json for other commands)",
1301
+ "name": "output",
1302
+ "hasDynamicHelp": false,
1303
+ "multiple": false,
1304
+ "options": [
1305
+ "json",
1306
+ "table",
1307
+ "csv"
1308
+ ],
1309
+ "type": "option"
1310
+ },
1311
+ "table": {
1312
+ "char": "t",
1313
+ "description": "Output as table (shortcut for --output table)",
1314
+ "name": "table",
1315
+ "allowNo": false,
1316
+ "type": "boolean"
1317
+ },
1318
+ "csv": {
1319
+ "description": "Output as CSV (shortcut for --output csv)",
1320
+ "name": "csv",
1321
+ "allowNo": false,
1322
+ "type": "boolean"
1323
+ },
1324
+ "data": {
1325
+ "char": "d",
1326
+ "description": "JSON data for request body",
1327
+ "name": "data",
1328
+ "hasDynamicHelp": false,
1329
+ "multiple": false,
1330
+ "type": "option"
1331
+ },
1332
+ "file": {
1333
+ "char": "f",
1334
+ "description": "Read request body from file",
1335
+ "name": "file",
1336
+ "hasDynamicHelp": false,
1337
+ "multiple": false,
1338
+ "type": "option"
1339
+ },
1340
+ "set": {
1341
+ "char": "s",
1342
+ "description": "Set individual field (e.g. --set firstName=John)",
1343
+ "name": "set",
1344
+ "hasDynamicHelp": false,
1345
+ "multiple": true,
1346
+ "type": "option"
1347
+ },
1348
+ "secret-id": {
1349
+ "description": "Path param: secretId",
1350
+ "name": "secret-id",
1351
+ "hasDynamicHelp": false,
1352
+ "multiple": false,
1353
+ "type": "option"
1354
+ },
1355
+ "key-id": {
1356
+ "description": "Path param: keyId",
1357
+ "name": "key-id",
1358
+ "hasDynamicHelp": false,
1359
+ "multiple": false,
1360
+ "type": "option"
1361
+ },
1362
+ "page": {
1363
+ "description": "Page number",
1364
+ "name": "page",
1365
+ "hasDynamicHelp": false,
1366
+ "multiple": false,
1367
+ "type": "option"
1368
+ },
1369
+ "limit": {
1370
+ "description": "Items per page",
1371
+ "name": "limit",
1372
+ "hasDynamicHelp": false,
1373
+ "multiple": false,
1374
+ "type": "option"
1375
+ },
1376
+ "include": {
1377
+ "description": "Relations to include",
1378
+ "name": "include",
1379
+ "hasDynamicHelp": false,
1380
+ "multiple": false,
1381
+ "type": "option"
1382
+ },
1383
+ "search": {
1384
+ "description": "Search term",
1385
+ "name": "search",
1386
+ "hasDynamicHelp": false,
1387
+ "multiple": false,
1388
+ "type": "option"
1389
+ },
1390
+ "sort-by": {
1391
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
1392
+ "name": "sort-by",
1393
+ "hasDynamicHelp": false,
1394
+ "multiple": false,
1395
+ "type": "option"
1396
+ },
1397
+ "filter": {
1398
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
1399
+ "name": "filter",
1400
+ "hasDynamicHelp": false,
1401
+ "multiple": true,
1402
+ "type": "option"
1403
+ },
1404
+ "query": {
1405
+ "description": "Additional query params as JSON",
1406
+ "name": "query",
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
+ "sanitize": {
1419
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
1420
+ "name": "sanitize",
1421
+ "allowNo": false,
1422
+ "type": "boolean"
1423
+ },
1424
+ "meta": {
1425
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1426
+ "name": "meta",
1427
+ "allowNo": false,
1428
+ "type": "boolean"
1429
+ },
1430
+ "show-http-request": {
1431
+ "description": "Show HTTP request details (method, URL, body)",
1432
+ "name": "show-http-request",
1433
+ "allowNo": false,
1434
+ "type": "boolean"
1435
+ }
1436
+ },
1437
+ "hasDynamicHelp": false,
1438
+ "hiddenAliases": [],
1439
+ "id": "api-clients",
1440
+ "pluginAlias": "@aderis-erp/cli",
1441
+ "pluginName": "@aderis-erp/cli",
1442
+ "pluginType": "core",
1443
+ "strict": true,
1444
+ "enableJsonFlag": false,
1445
+ "isESM": true,
1446
+ "relativePath": [
1447
+ "dist",
1448
+ "commands",
1449
+ "api-clients.js"
1450
+ ]
1451
+ },
1264
1452
  "api-keys": {
1265
1453
  "aliases": [],
1266
1454
  "args": {
@@ -2702,7 +2890,7 @@
2702
2890
  "aliases": [],
2703
2891
  "args": {
2704
2892
  "action": {
2705
- "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, list-cards, create-cards, get-cards, update-cards, delete-cards, upsert, export, upsert-ledger-mappings, upsert-notes, upsert-cards",
2893
+ "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, list-cards, create-cards, get-cards, update-cards, delete-cards, import-cards, upsert, export, upsert-ledger-mappings, upsert-notes",
2706
2894
  "name": "action",
2707
2895
  "required": true
2708
2896
  },
@@ -2784,6 +2972,38 @@
2784
2972
  "multiple": true,
2785
2973
  "type": "option"
2786
2974
  },
2975
+ "mode": {
2976
+ "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
2977
+ "name": "mode",
2978
+ "hasDynamicHelp": false,
2979
+ "multiple": false,
2980
+ "options": [
2981
+ "upsert",
2982
+ "create",
2983
+ "update"
2984
+ ],
2985
+ "type": "option"
2986
+ },
2987
+ "reference": {
2988
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
2989
+ "name": "reference",
2990
+ "hasDynamicHelp": false,
2991
+ "multiple": false,
2992
+ "type": "option"
2993
+ },
2994
+ "async": {
2995
+ "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
2996
+ "name": "async",
2997
+ "allowNo": false,
2998
+ "type": "boolean"
2999
+ },
3000
+ "idempotency-key": {
3001
+ "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
3002
+ "name": "idempotency-key",
3003
+ "hasDynamicHelp": false,
3004
+ "multiple": false,
3005
+ "type": "option"
3006
+ },
2787
3007
  "mapping-id": {
2788
3008
  "description": "Path param: mappingId",
2789
3009
  "name": "mapping-id",
@@ -2895,11 +3115,11 @@
2895
3115
  "credit-card-accounts.js"
2896
3116
  ]
2897
3117
  },
2898
- "delivery-notes": {
3118
+ "currencies": {
2899
3119
  "aliases": [],
2900
3120
  "args": {
2901
3121
  "action": {
2902
- "description": "Action: list, create, create-from-orders, create-from-invoice, create-invoice, get, update, delete, get-pdf, create-pdf, submit, approve, cancel, replace, copy, 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, upsert, export, upsert-line-items, upsert-notes, upsert-files",
3122
+ "description": "Action: list, export",
2903
3123
  "name": "action",
2904
3124
  "required": true
2905
3125
  },
@@ -2909,14 +3129,10 @@
2909
3129
  "required": false
2910
3130
  }
2911
3131
  },
2912
- "description": "Manage delivery notes",
3132
+ "description": "Manage currencies",
2913
3133
  "examples": [
2914
- "<%= config.bin %> delivery-notes list",
2915
- "<%= config.bin %> delivery-notes get <id>",
2916
- "<%= config.bin %> delivery-notes create --data '{...}'",
2917
- "<%= config.bin %> delivery-notes update <id> --set field=value",
2918
- "<%= config.bin %> delivery-notes upsert --file data.json",
2919
- "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
3134
+ "<%= config.bin %> currencies list",
3135
+ "<%= config.bin %> currencies export --csv > currencies.csv"
2920
3136
  ],
2921
3137
  "flags": {
2922
3138
  "context": {
@@ -2981,27 +3197,6 @@
2981
3197
  "multiple": true,
2982
3198
  "type": "option"
2983
3199
  },
2984
- "line-item-id": {
2985
- "description": "Path param: lineItemId",
2986
- "name": "line-item-id",
2987
- "hasDynamicHelp": false,
2988
- "multiple": false,
2989
- "type": "option"
2990
- },
2991
- "note-id": {
2992
- "description": "Path param: noteId",
2993
- "name": "note-id",
2994
- "hasDynamicHelp": false,
2995
- "multiple": false,
2996
- "type": "option"
2997
- },
2998
- "file-id": {
2999
- "description": "Path param: fileId",
3000
- "name": "file-id",
3001
- "hasDynamicHelp": false,
3002
- "multiple": false,
3003
- "type": "option"
3004
- },
3005
3200
  "page": {
3006
3201
  "description": "Page number",
3007
3202
  "name": "page",
@@ -3079,7 +3274,7 @@
3079
3274
  },
3080
3275
  "hasDynamicHelp": false,
3081
3276
  "hiddenAliases": [],
3082
- "id": "delivery-notes",
3277
+ "id": "currencies",
3083
3278
  "pluginAlias": "@aderis-erp/cli",
3084
3279
  "pluginName": "@aderis-erp/cli",
3085
3280
  "pluginType": "core",
@@ -3089,10 +3284,10 @@
3089
3284
  "relativePath": [
3090
3285
  "dist",
3091
3286
  "commands",
3092
- "delivery-notes.js"
3287
+ "currencies.js"
3093
3288
  ]
3094
3289
  },
3095
- "dunning-configs": {
3290
+ "custody-accounts": {
3096
3291
  "aliases": [],
3097
3292
  "args": {
3098
3293
  "action": {
@@ -3106,14 +3301,14 @@
3106
3301
  "required": false
3107
3302
  }
3108
3303
  },
3109
- "description": "Manage dunning configs",
3304
+ "description": "Manage custody accounts",
3110
3305
  "examples": [
3111
- "<%= config.bin %> dunning-configs list",
3112
- "<%= config.bin %> dunning-configs get <id>",
3113
- "<%= config.bin %> dunning-configs create --data '{...}'",
3114
- "<%= config.bin %> dunning-configs update <id> --set field=value",
3115
- "<%= config.bin %> dunning-configs upsert --file data.json",
3116
- "<%= config.bin %> dunning-configs export --csv > dunning-configs.csv"
3306
+ "<%= config.bin %> custody-accounts list",
3307
+ "<%= config.bin %> custody-accounts get <id>",
3308
+ "<%= config.bin %> custody-accounts create --data '{...}'",
3309
+ "<%= config.bin %> custody-accounts update <id> --set field=value",
3310
+ "<%= config.bin %> custody-accounts upsert --file data.json",
3311
+ "<%= config.bin %> custody-accounts export --csv > custody-accounts.csv"
3117
3312
  ],
3118
3313
  "flags": {
3119
3314
  "context": {
@@ -3255,7 +3450,7 @@
3255
3450
  },
3256
3451
  "hasDynamicHelp": false,
3257
3452
  "hiddenAliases": [],
3258
- "id": "dunning-configs",
3453
+ "id": "custody-accounts",
3259
3454
  "pluginAlias": "@aderis-erp/cli",
3260
3455
  "pluginName": "@aderis-erp/cli",
3261
3456
  "pluginType": "core",
@@ -3265,14 +3460,14 @@
3265
3460
  "relativePath": [
3266
3461
  "dist",
3267
3462
  "commands",
3268
- "dunning-configs.js"
3463
+ "custody-accounts.js"
3269
3464
  ]
3270
3465
  },
3271
- "dunning-reminders": {
3466
+ "dashboards": {
3272
3467
  "aliases": [],
3273
3468
  "args": {
3274
3469
  "action": {
3275
- "description": "Action: pending, ongoing, cancelled, get, update, list, approve, cancel, export",
3470
+ "description": "Action: list-templates, list-catalog, home, list, create, duplicate, get, update, delete, update-layout, create-widgets, update-widgets, delete-widgets, home-data, data, widgets-data, upsert, export, upsert-widgets",
3276
3471
  "name": "action",
3277
3472
  "required": true
3278
3473
  },
@@ -3282,10 +3477,735 @@
3282
3477
  "required": false
3283
3478
  }
3284
3479
  },
3285
- "description": "Manage dunning reminders",
3480
+ "description": "Manage dashboards",
3286
3481
  "examples": [
3287
- "<%= config.bin %> dunning-reminders list",
3288
- "<%= config.bin %> dunning-reminders get <id>",
3482
+ "<%= config.bin %> dashboards list",
3483
+ "<%= config.bin %> dashboards get <id>",
3484
+ "<%= config.bin %> dashboards create --data '{...}'",
3485
+ "<%= config.bin %> dashboards update <id> --set field=value",
3486
+ "<%= config.bin %> dashboards upsert --file data.json",
3487
+ "<%= config.bin %> dashboards export --csv > dashboards.csv"
3488
+ ],
3489
+ "flags": {
3490
+ "context": {
3491
+ "aliases": [
3492
+ "config"
3493
+ ],
3494
+ "char": "c",
3495
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3496
+ "env": "ADERIS_CONTEXT",
3497
+ "name": "context",
3498
+ "hasDynamicHelp": false,
3499
+ "multiple": false,
3500
+ "type": "option"
3501
+ },
3502
+ "output": {
3503
+ "char": "o",
3504
+ "description": "Output format (default: table for upsert, json for other commands)",
3505
+ "name": "output",
3506
+ "hasDynamicHelp": false,
3507
+ "multiple": false,
3508
+ "options": [
3509
+ "json",
3510
+ "table",
3511
+ "csv"
3512
+ ],
3513
+ "type": "option"
3514
+ },
3515
+ "table": {
3516
+ "char": "t",
3517
+ "description": "Output as table (shortcut for --output table)",
3518
+ "name": "table",
3519
+ "allowNo": false,
3520
+ "type": "boolean"
3521
+ },
3522
+ "csv": {
3523
+ "description": "Output as CSV (shortcut for --output csv)",
3524
+ "name": "csv",
3525
+ "allowNo": false,
3526
+ "type": "boolean"
3527
+ },
3528
+ "data": {
3529
+ "char": "d",
3530
+ "description": "JSON data for request body",
3531
+ "name": "data",
3532
+ "hasDynamicHelp": false,
3533
+ "multiple": false,
3534
+ "type": "option"
3535
+ },
3536
+ "file": {
3537
+ "char": "f",
3538
+ "description": "Read request body from file",
3539
+ "name": "file",
3540
+ "hasDynamicHelp": false,
3541
+ "multiple": false,
3542
+ "type": "option"
3543
+ },
3544
+ "set": {
3545
+ "char": "s",
3546
+ "description": "Set individual field (e.g. --set firstName=John)",
3547
+ "name": "set",
3548
+ "hasDynamicHelp": false,
3549
+ "multiple": true,
3550
+ "type": "option"
3551
+ },
3552
+ "widget-id": {
3553
+ "description": "Path param: widgetId",
3554
+ "name": "widget-id",
3555
+ "hasDynamicHelp": false,
3556
+ "multiple": false,
3557
+ "type": "option"
3558
+ },
3559
+ "page": {
3560
+ "description": "Page number",
3561
+ "name": "page",
3562
+ "hasDynamicHelp": false,
3563
+ "multiple": false,
3564
+ "type": "option"
3565
+ },
3566
+ "limit": {
3567
+ "description": "Items per page",
3568
+ "name": "limit",
3569
+ "hasDynamicHelp": false,
3570
+ "multiple": false,
3571
+ "type": "option"
3572
+ },
3573
+ "include": {
3574
+ "description": "Relations to include",
3575
+ "name": "include",
3576
+ "hasDynamicHelp": false,
3577
+ "multiple": false,
3578
+ "type": "option"
3579
+ },
3580
+ "search": {
3581
+ "description": "Search term",
3582
+ "name": "search",
3583
+ "hasDynamicHelp": false,
3584
+ "multiple": false,
3585
+ "type": "option"
3586
+ },
3587
+ "sort-by": {
3588
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3589
+ "name": "sort-by",
3590
+ "hasDynamicHelp": false,
3591
+ "multiple": false,
3592
+ "type": "option"
3593
+ },
3594
+ "filter": {
3595
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
3596
+ "name": "filter",
3597
+ "hasDynamicHelp": false,
3598
+ "multiple": true,
3599
+ "type": "option"
3600
+ },
3601
+ "query": {
3602
+ "description": "Additional query params as JSON",
3603
+ "name": "query",
3604
+ "hasDynamicHelp": false,
3605
+ "multiple": false,
3606
+ "type": "option"
3607
+ },
3608
+ "fields": {
3609
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3610
+ "name": "fields",
3611
+ "hasDynamicHelp": false,
3612
+ "multiple": false,
3613
+ "type": "option"
3614
+ },
3615
+ "sanitize": {
3616
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
3617
+ "name": "sanitize",
3618
+ "allowNo": false,
3619
+ "type": "boolean"
3620
+ },
3621
+ "meta": {
3622
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3623
+ "name": "meta",
3624
+ "allowNo": false,
3625
+ "type": "boolean"
3626
+ },
3627
+ "show-http-request": {
3628
+ "description": "Show HTTP request details (method, URL, body)",
3629
+ "name": "show-http-request",
3630
+ "allowNo": false,
3631
+ "type": "boolean"
3632
+ }
3633
+ },
3634
+ "hasDynamicHelp": false,
3635
+ "hiddenAliases": [],
3636
+ "id": "dashboards",
3637
+ "pluginAlias": "@aderis-erp/cli",
3638
+ "pluginName": "@aderis-erp/cli",
3639
+ "pluginType": "core",
3640
+ "strict": true,
3641
+ "enableJsonFlag": false,
3642
+ "isESM": true,
3643
+ "relativePath": [
3644
+ "dist",
3645
+ "commands",
3646
+ "dashboards.js"
3647
+ ]
3648
+ },
3649
+ "delivery-notes": {
3650
+ "aliases": [],
3651
+ "args": {
3652
+ "action": {
3653
+ "description": "Action: list, create, create-from-orders, create-from-invoice, create-invoice, get, update, delete, get-pdf, create-pdf, submit, approve, cancel, replace, copy, 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, upsert, export, upsert-line-items, upsert-notes, upsert-files",
3654
+ "name": "action",
3655
+ "required": true
3656
+ },
3657
+ "id": {
3658
+ "description": "Resource ID (for get, update, delete operations)",
3659
+ "name": "id",
3660
+ "required": false
3661
+ }
3662
+ },
3663
+ "description": "Manage delivery notes",
3664
+ "examples": [
3665
+ "<%= config.bin %> delivery-notes list",
3666
+ "<%= config.bin %> delivery-notes get <id>",
3667
+ "<%= config.bin %> delivery-notes create --data '{...}'",
3668
+ "<%= config.bin %> delivery-notes update <id> --set field=value",
3669
+ "<%= config.bin %> delivery-notes upsert --file data.json",
3670
+ "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
3671
+ ],
3672
+ "flags": {
3673
+ "context": {
3674
+ "aliases": [
3675
+ "config"
3676
+ ],
3677
+ "char": "c",
3678
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3679
+ "env": "ADERIS_CONTEXT",
3680
+ "name": "context",
3681
+ "hasDynamicHelp": false,
3682
+ "multiple": false,
3683
+ "type": "option"
3684
+ },
3685
+ "output": {
3686
+ "char": "o",
3687
+ "description": "Output format (default: table for upsert, json for other commands)",
3688
+ "name": "output",
3689
+ "hasDynamicHelp": false,
3690
+ "multiple": false,
3691
+ "options": [
3692
+ "json",
3693
+ "table",
3694
+ "csv"
3695
+ ],
3696
+ "type": "option"
3697
+ },
3698
+ "table": {
3699
+ "char": "t",
3700
+ "description": "Output as table (shortcut for --output table)",
3701
+ "name": "table",
3702
+ "allowNo": false,
3703
+ "type": "boolean"
3704
+ },
3705
+ "csv": {
3706
+ "description": "Output as CSV (shortcut for --output csv)",
3707
+ "name": "csv",
3708
+ "allowNo": false,
3709
+ "type": "boolean"
3710
+ },
3711
+ "data": {
3712
+ "char": "d",
3713
+ "description": "JSON data for request body",
3714
+ "name": "data",
3715
+ "hasDynamicHelp": false,
3716
+ "multiple": false,
3717
+ "type": "option"
3718
+ },
3719
+ "file": {
3720
+ "char": "f",
3721
+ "description": "Read request body from file",
3722
+ "name": "file",
3723
+ "hasDynamicHelp": false,
3724
+ "multiple": false,
3725
+ "type": "option"
3726
+ },
3727
+ "set": {
3728
+ "char": "s",
3729
+ "description": "Set individual field (e.g. --set firstName=John)",
3730
+ "name": "set",
3731
+ "hasDynamicHelp": false,
3732
+ "multiple": true,
3733
+ "type": "option"
3734
+ },
3735
+ "line-item-id": {
3736
+ "description": "Path param: lineItemId",
3737
+ "name": "line-item-id",
3738
+ "hasDynamicHelp": false,
3739
+ "multiple": false,
3740
+ "type": "option"
3741
+ },
3742
+ "note-id": {
3743
+ "description": "Path param: noteId",
3744
+ "name": "note-id",
3745
+ "hasDynamicHelp": false,
3746
+ "multiple": false,
3747
+ "type": "option"
3748
+ },
3749
+ "file-id": {
3750
+ "description": "Path param: fileId",
3751
+ "name": "file-id",
3752
+ "hasDynamicHelp": false,
3753
+ "multiple": false,
3754
+ "type": "option"
3755
+ },
3756
+ "page": {
3757
+ "description": "Page number",
3758
+ "name": "page",
3759
+ "hasDynamicHelp": false,
3760
+ "multiple": false,
3761
+ "type": "option"
3762
+ },
3763
+ "limit": {
3764
+ "description": "Items per page",
3765
+ "name": "limit",
3766
+ "hasDynamicHelp": false,
3767
+ "multiple": false,
3768
+ "type": "option"
3769
+ },
3770
+ "include": {
3771
+ "description": "Relations to include",
3772
+ "name": "include",
3773
+ "hasDynamicHelp": false,
3774
+ "multiple": false,
3775
+ "type": "option"
3776
+ },
3777
+ "search": {
3778
+ "description": "Search term",
3779
+ "name": "search",
3780
+ "hasDynamicHelp": false,
3781
+ "multiple": false,
3782
+ "type": "option"
3783
+ },
3784
+ "sort-by": {
3785
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3786
+ "name": "sort-by",
3787
+ "hasDynamicHelp": false,
3788
+ "multiple": false,
3789
+ "type": "option"
3790
+ },
3791
+ "filter": {
3792
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
3793
+ "name": "filter",
3794
+ "hasDynamicHelp": false,
3795
+ "multiple": true,
3796
+ "type": "option"
3797
+ },
3798
+ "query": {
3799
+ "description": "Additional query params as JSON",
3800
+ "name": "query",
3801
+ "hasDynamicHelp": false,
3802
+ "multiple": false,
3803
+ "type": "option"
3804
+ },
3805
+ "fields": {
3806
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3807
+ "name": "fields",
3808
+ "hasDynamicHelp": false,
3809
+ "multiple": false,
3810
+ "type": "option"
3811
+ },
3812
+ "sanitize": {
3813
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
3814
+ "name": "sanitize",
3815
+ "allowNo": false,
3816
+ "type": "boolean"
3817
+ },
3818
+ "meta": {
3819
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3820
+ "name": "meta",
3821
+ "allowNo": false,
3822
+ "type": "boolean"
3823
+ },
3824
+ "show-http-request": {
3825
+ "description": "Show HTTP request details (method, URL, body)",
3826
+ "name": "show-http-request",
3827
+ "allowNo": false,
3828
+ "type": "boolean"
3829
+ }
3830
+ },
3831
+ "hasDynamicHelp": false,
3832
+ "hiddenAliases": [],
3833
+ "id": "delivery-notes",
3834
+ "pluginAlias": "@aderis-erp/cli",
3835
+ "pluginName": "@aderis-erp/cli",
3836
+ "pluginType": "core",
3837
+ "strict": true,
3838
+ "enableJsonFlag": false,
3839
+ "isESM": true,
3840
+ "relativePath": [
3841
+ "dist",
3842
+ "commands",
3843
+ "delivery-notes.js"
3844
+ ]
3845
+ },
3846
+ "document-checksums": {
3847
+ "aliases": [],
3848
+ "args": {
3849
+ "action": {
3850
+ "description": "Action: validate",
3851
+ "name": "action",
3852
+ "required": true
3853
+ },
3854
+ "id": {
3855
+ "description": "Resource ID (for get, update, delete operations)",
3856
+ "name": "id",
3857
+ "required": false
3858
+ }
3859
+ },
3860
+ "description": "Manage document checksums",
3861
+ "examples": [],
3862
+ "flags": {
3863
+ "context": {
3864
+ "aliases": [
3865
+ "config"
3866
+ ],
3867
+ "char": "c",
3868
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
3869
+ "env": "ADERIS_CONTEXT",
3870
+ "name": "context",
3871
+ "hasDynamicHelp": false,
3872
+ "multiple": false,
3873
+ "type": "option"
3874
+ },
3875
+ "output": {
3876
+ "char": "o",
3877
+ "description": "Output format (default: table for upsert, json for other commands)",
3878
+ "name": "output",
3879
+ "hasDynamicHelp": false,
3880
+ "multiple": false,
3881
+ "options": [
3882
+ "json",
3883
+ "table",
3884
+ "csv"
3885
+ ],
3886
+ "type": "option"
3887
+ },
3888
+ "table": {
3889
+ "char": "t",
3890
+ "description": "Output as table (shortcut for --output table)",
3891
+ "name": "table",
3892
+ "allowNo": false,
3893
+ "type": "boolean"
3894
+ },
3895
+ "csv": {
3896
+ "description": "Output as CSV (shortcut for --output csv)",
3897
+ "name": "csv",
3898
+ "allowNo": false,
3899
+ "type": "boolean"
3900
+ },
3901
+ "data": {
3902
+ "char": "d",
3903
+ "description": "JSON data for request body",
3904
+ "name": "data",
3905
+ "hasDynamicHelp": false,
3906
+ "multiple": false,
3907
+ "type": "option"
3908
+ },
3909
+ "file": {
3910
+ "char": "f",
3911
+ "description": "Read request body from file",
3912
+ "name": "file",
3913
+ "hasDynamicHelp": false,
3914
+ "multiple": false,
3915
+ "type": "option"
3916
+ },
3917
+ "set": {
3918
+ "char": "s",
3919
+ "description": "Set individual field (e.g. --set firstName=John)",
3920
+ "name": "set",
3921
+ "hasDynamicHelp": false,
3922
+ "multiple": true,
3923
+ "type": "option"
3924
+ },
3925
+ "page": {
3926
+ "description": "Page number",
3927
+ "name": "page",
3928
+ "hasDynamicHelp": false,
3929
+ "multiple": false,
3930
+ "type": "option"
3931
+ },
3932
+ "limit": {
3933
+ "description": "Items per page",
3934
+ "name": "limit",
3935
+ "hasDynamicHelp": false,
3936
+ "multiple": false,
3937
+ "type": "option"
3938
+ },
3939
+ "include": {
3940
+ "description": "Relations to include",
3941
+ "name": "include",
3942
+ "hasDynamicHelp": false,
3943
+ "multiple": false,
3944
+ "type": "option"
3945
+ },
3946
+ "search": {
3947
+ "description": "Search term",
3948
+ "name": "search",
3949
+ "hasDynamicHelp": false,
3950
+ "multiple": false,
3951
+ "type": "option"
3952
+ },
3953
+ "sort-by": {
3954
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
3955
+ "name": "sort-by",
3956
+ "hasDynamicHelp": false,
3957
+ "multiple": false,
3958
+ "type": "option"
3959
+ },
3960
+ "filter": {
3961
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
3962
+ "name": "filter",
3963
+ "hasDynamicHelp": false,
3964
+ "multiple": true,
3965
+ "type": "option"
3966
+ },
3967
+ "query": {
3968
+ "description": "Additional query params as JSON",
3969
+ "name": "query",
3970
+ "hasDynamicHelp": false,
3971
+ "multiple": false,
3972
+ "type": "option"
3973
+ },
3974
+ "fields": {
3975
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
3976
+ "name": "fields",
3977
+ "hasDynamicHelp": false,
3978
+ "multiple": false,
3979
+ "type": "option"
3980
+ },
3981
+ "sanitize": {
3982
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
3983
+ "name": "sanitize",
3984
+ "allowNo": false,
3985
+ "type": "boolean"
3986
+ },
3987
+ "meta": {
3988
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3989
+ "name": "meta",
3990
+ "allowNo": false,
3991
+ "type": "boolean"
3992
+ },
3993
+ "show-http-request": {
3994
+ "description": "Show HTTP request details (method, URL, body)",
3995
+ "name": "show-http-request",
3996
+ "allowNo": false,
3997
+ "type": "boolean"
3998
+ }
3999
+ },
4000
+ "hasDynamicHelp": false,
4001
+ "hiddenAliases": [],
4002
+ "id": "document-checksums",
4003
+ "pluginAlias": "@aderis-erp/cli",
4004
+ "pluginName": "@aderis-erp/cli",
4005
+ "pluginType": "core",
4006
+ "strict": true,
4007
+ "enableJsonFlag": false,
4008
+ "isESM": true,
4009
+ "relativePath": [
4010
+ "dist",
4011
+ "commands",
4012
+ "document-checksums.js"
4013
+ ]
4014
+ },
4015
+ "dunning-configs": {
4016
+ "aliases": [],
4017
+ "args": {
4018
+ "action": {
4019
+ "description": "Action: list, create, get, update, delete, upsert, export",
4020
+ "name": "action",
4021
+ "required": true
4022
+ },
4023
+ "id": {
4024
+ "description": "Resource ID (for get, update, delete operations)",
4025
+ "name": "id",
4026
+ "required": false
4027
+ }
4028
+ },
4029
+ "description": "Manage dunning configs",
4030
+ "examples": [
4031
+ "<%= config.bin %> dunning-configs list",
4032
+ "<%= config.bin %> dunning-configs get <id>",
4033
+ "<%= config.bin %> dunning-configs create --data '{...}'",
4034
+ "<%= config.bin %> dunning-configs update <id> --set field=value",
4035
+ "<%= config.bin %> dunning-configs upsert --file data.json",
4036
+ "<%= config.bin %> dunning-configs export --csv > dunning-configs.csv"
4037
+ ],
4038
+ "flags": {
4039
+ "context": {
4040
+ "aliases": [
4041
+ "config"
4042
+ ],
4043
+ "char": "c",
4044
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4045
+ "env": "ADERIS_CONTEXT",
4046
+ "name": "context",
4047
+ "hasDynamicHelp": false,
4048
+ "multiple": false,
4049
+ "type": "option"
4050
+ },
4051
+ "output": {
4052
+ "char": "o",
4053
+ "description": "Output format (default: table for upsert, json for other commands)",
4054
+ "name": "output",
4055
+ "hasDynamicHelp": false,
4056
+ "multiple": false,
4057
+ "options": [
4058
+ "json",
4059
+ "table",
4060
+ "csv"
4061
+ ],
4062
+ "type": "option"
4063
+ },
4064
+ "table": {
4065
+ "char": "t",
4066
+ "description": "Output as table (shortcut for --output table)",
4067
+ "name": "table",
4068
+ "allowNo": false,
4069
+ "type": "boolean"
4070
+ },
4071
+ "csv": {
4072
+ "description": "Output as CSV (shortcut for --output csv)",
4073
+ "name": "csv",
4074
+ "allowNo": false,
4075
+ "type": "boolean"
4076
+ },
4077
+ "data": {
4078
+ "char": "d",
4079
+ "description": "JSON data for request body",
4080
+ "name": "data",
4081
+ "hasDynamicHelp": false,
4082
+ "multiple": false,
4083
+ "type": "option"
4084
+ },
4085
+ "file": {
4086
+ "char": "f",
4087
+ "description": "Read request body from file",
4088
+ "name": "file",
4089
+ "hasDynamicHelp": false,
4090
+ "multiple": false,
4091
+ "type": "option"
4092
+ },
4093
+ "set": {
4094
+ "char": "s",
4095
+ "description": "Set individual field (e.g. --set firstName=John)",
4096
+ "name": "set",
4097
+ "hasDynamicHelp": false,
4098
+ "multiple": true,
4099
+ "type": "option"
4100
+ },
4101
+ "page": {
4102
+ "description": "Page number",
4103
+ "name": "page",
4104
+ "hasDynamicHelp": false,
4105
+ "multiple": false,
4106
+ "type": "option"
4107
+ },
4108
+ "limit": {
4109
+ "description": "Items per page",
4110
+ "name": "limit",
4111
+ "hasDynamicHelp": false,
4112
+ "multiple": false,
4113
+ "type": "option"
4114
+ },
4115
+ "include": {
4116
+ "description": "Relations to include",
4117
+ "name": "include",
4118
+ "hasDynamicHelp": false,
4119
+ "multiple": false,
4120
+ "type": "option"
4121
+ },
4122
+ "search": {
4123
+ "description": "Search term",
4124
+ "name": "search",
4125
+ "hasDynamicHelp": false,
4126
+ "multiple": false,
4127
+ "type": "option"
4128
+ },
4129
+ "sort-by": {
4130
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4131
+ "name": "sort-by",
4132
+ "hasDynamicHelp": false,
4133
+ "multiple": false,
4134
+ "type": "option"
4135
+ },
4136
+ "filter": {
4137
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4138
+ "name": "filter",
4139
+ "hasDynamicHelp": false,
4140
+ "multiple": true,
4141
+ "type": "option"
4142
+ },
4143
+ "query": {
4144
+ "description": "Additional query params as JSON",
4145
+ "name": "query",
4146
+ "hasDynamicHelp": false,
4147
+ "multiple": false,
4148
+ "type": "option"
4149
+ },
4150
+ "fields": {
4151
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4152
+ "name": "fields",
4153
+ "hasDynamicHelp": false,
4154
+ "multiple": false,
4155
+ "type": "option"
4156
+ },
4157
+ "sanitize": {
4158
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4159
+ "name": "sanitize",
4160
+ "allowNo": false,
4161
+ "type": "boolean"
4162
+ },
4163
+ "meta": {
4164
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4165
+ "name": "meta",
4166
+ "allowNo": false,
4167
+ "type": "boolean"
4168
+ },
4169
+ "show-http-request": {
4170
+ "description": "Show HTTP request details (method, URL, body)",
4171
+ "name": "show-http-request",
4172
+ "allowNo": false,
4173
+ "type": "boolean"
4174
+ }
4175
+ },
4176
+ "hasDynamicHelp": false,
4177
+ "hiddenAliases": [],
4178
+ "id": "dunning-configs",
4179
+ "pluginAlias": "@aderis-erp/cli",
4180
+ "pluginName": "@aderis-erp/cli",
4181
+ "pluginType": "core",
4182
+ "strict": true,
4183
+ "enableJsonFlag": false,
4184
+ "isESM": true,
4185
+ "relativePath": [
4186
+ "dist",
4187
+ "commands",
4188
+ "dunning-configs.js"
4189
+ ]
4190
+ },
4191
+ "dunning-reminders": {
4192
+ "aliases": [],
4193
+ "args": {
4194
+ "action": {
4195
+ "description": "Action: pending, ongoing, cancelled, get, update, list, approve, cancel, export",
4196
+ "name": "action",
4197
+ "required": true
4198
+ },
4199
+ "id": {
4200
+ "description": "Resource ID (for get, update, delete operations)",
4201
+ "name": "id",
4202
+ "required": false
4203
+ }
4204
+ },
4205
+ "description": "Manage dunning reminders",
4206
+ "examples": [
4207
+ "<%= config.bin %> dunning-reminders list",
4208
+ "<%= config.bin %> dunning-reminders get <id>",
3289
4209
  "<%= config.bin %> dunning-reminders update <id> --set field=value",
3290
4210
  "<%= config.bin %> dunning-reminders export --csv > dunning-reminders.csv"
3291
4211
  ],
@@ -3429,7 +4349,567 @@
3429
4349
  },
3430
4350
  "hasDynamicHelp": false,
3431
4351
  "hiddenAliases": [],
3432
- "id": "dunning-reminders",
4352
+ "id": "dunning-reminders",
4353
+ "pluginAlias": "@aderis-erp/cli",
4354
+ "pluginName": "@aderis-erp/cli",
4355
+ "pluginType": "core",
4356
+ "strict": true,
4357
+ "enableJsonFlag": false,
4358
+ "isESM": true,
4359
+ "relativePath": [
4360
+ "dist",
4361
+ "commands",
4362
+ "dunning-reminders.js"
4363
+ ]
4364
+ },
4365
+ "dunning-runs": {
4366
+ "aliases": [],
4367
+ "args": {
4368
+ "action": {
4369
+ "description": "Action: trigger",
4370
+ "name": "action",
4371
+ "required": true
4372
+ },
4373
+ "id": {
4374
+ "description": "Resource ID (for get, update, delete operations)",
4375
+ "name": "id",
4376
+ "required": false
4377
+ }
4378
+ },
4379
+ "description": "Manage dunning runs",
4380
+ "examples": [],
4381
+ "flags": {
4382
+ "context": {
4383
+ "aliases": [
4384
+ "config"
4385
+ ],
4386
+ "char": "c",
4387
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4388
+ "env": "ADERIS_CONTEXT",
4389
+ "name": "context",
4390
+ "hasDynamicHelp": false,
4391
+ "multiple": false,
4392
+ "type": "option"
4393
+ },
4394
+ "output": {
4395
+ "char": "o",
4396
+ "description": "Output format (default: table for upsert, json for other commands)",
4397
+ "name": "output",
4398
+ "hasDynamicHelp": false,
4399
+ "multiple": false,
4400
+ "options": [
4401
+ "json",
4402
+ "table",
4403
+ "csv"
4404
+ ],
4405
+ "type": "option"
4406
+ },
4407
+ "table": {
4408
+ "char": "t",
4409
+ "description": "Output as table (shortcut for --output table)",
4410
+ "name": "table",
4411
+ "allowNo": false,
4412
+ "type": "boolean"
4413
+ },
4414
+ "csv": {
4415
+ "description": "Output as CSV (shortcut for --output csv)",
4416
+ "name": "csv",
4417
+ "allowNo": false,
4418
+ "type": "boolean"
4419
+ },
4420
+ "data": {
4421
+ "char": "d",
4422
+ "description": "JSON data for request body",
4423
+ "name": "data",
4424
+ "hasDynamicHelp": false,
4425
+ "multiple": false,
4426
+ "type": "option"
4427
+ },
4428
+ "file": {
4429
+ "char": "f",
4430
+ "description": "Read request body from file",
4431
+ "name": "file",
4432
+ "hasDynamicHelp": false,
4433
+ "multiple": false,
4434
+ "type": "option"
4435
+ },
4436
+ "set": {
4437
+ "char": "s",
4438
+ "description": "Set individual field (e.g. --set firstName=John)",
4439
+ "name": "set",
4440
+ "hasDynamicHelp": false,
4441
+ "multiple": true,
4442
+ "type": "option"
4443
+ },
4444
+ "page": {
4445
+ "description": "Page number",
4446
+ "name": "page",
4447
+ "hasDynamicHelp": false,
4448
+ "multiple": false,
4449
+ "type": "option"
4450
+ },
4451
+ "limit": {
4452
+ "description": "Items per page",
4453
+ "name": "limit",
4454
+ "hasDynamicHelp": false,
4455
+ "multiple": false,
4456
+ "type": "option"
4457
+ },
4458
+ "include": {
4459
+ "description": "Relations to include",
4460
+ "name": "include",
4461
+ "hasDynamicHelp": false,
4462
+ "multiple": false,
4463
+ "type": "option"
4464
+ },
4465
+ "search": {
4466
+ "description": "Search term",
4467
+ "name": "search",
4468
+ "hasDynamicHelp": false,
4469
+ "multiple": false,
4470
+ "type": "option"
4471
+ },
4472
+ "sort-by": {
4473
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4474
+ "name": "sort-by",
4475
+ "hasDynamicHelp": false,
4476
+ "multiple": false,
4477
+ "type": "option"
4478
+ },
4479
+ "filter": {
4480
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4481
+ "name": "filter",
4482
+ "hasDynamicHelp": false,
4483
+ "multiple": true,
4484
+ "type": "option"
4485
+ },
4486
+ "query": {
4487
+ "description": "Additional query params as JSON",
4488
+ "name": "query",
4489
+ "hasDynamicHelp": false,
4490
+ "multiple": false,
4491
+ "type": "option"
4492
+ },
4493
+ "fields": {
4494
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4495
+ "name": "fields",
4496
+ "hasDynamicHelp": false,
4497
+ "multiple": false,
4498
+ "type": "option"
4499
+ },
4500
+ "sanitize": {
4501
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4502
+ "name": "sanitize",
4503
+ "allowNo": false,
4504
+ "type": "boolean"
4505
+ },
4506
+ "meta": {
4507
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4508
+ "name": "meta",
4509
+ "allowNo": false,
4510
+ "type": "boolean"
4511
+ },
4512
+ "show-http-request": {
4513
+ "description": "Show HTTP request details (method, URL, body)",
4514
+ "name": "show-http-request",
4515
+ "allowNo": false,
4516
+ "type": "boolean"
4517
+ }
4518
+ },
4519
+ "hasDynamicHelp": false,
4520
+ "hiddenAliases": [],
4521
+ "id": "dunning-runs",
4522
+ "pluginAlias": "@aderis-erp/cli",
4523
+ "pluginName": "@aderis-erp/cli",
4524
+ "pluginType": "core",
4525
+ "strict": true,
4526
+ "enableJsonFlag": false,
4527
+ "isESM": true,
4528
+ "relativePath": [
4529
+ "dist",
4530
+ "commands",
4531
+ "dunning-runs.js"
4532
+ ]
4533
+ },
4534
+ "email-transactions": {
4535
+ "aliases": [],
4536
+ "args": {
4537
+ "action": {
4538
+ "description": "Action: event-webhook, list, get, export",
4539
+ "name": "action",
4540
+ "required": true
4541
+ },
4542
+ "id": {
4543
+ "description": "Resource ID (for get, update, delete operations)",
4544
+ "name": "id",
4545
+ "required": false
4546
+ }
4547
+ },
4548
+ "description": "Manage email transactions",
4549
+ "examples": [
4550
+ "<%= config.bin %> email-transactions list",
4551
+ "<%= config.bin %> email-transactions get <id>",
4552
+ "<%= config.bin %> email-transactions export --csv > email-transactions.csv"
4553
+ ],
4554
+ "flags": {
4555
+ "context": {
4556
+ "aliases": [
4557
+ "config"
4558
+ ],
4559
+ "char": "c",
4560
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4561
+ "env": "ADERIS_CONTEXT",
4562
+ "name": "context",
4563
+ "hasDynamicHelp": false,
4564
+ "multiple": false,
4565
+ "type": "option"
4566
+ },
4567
+ "output": {
4568
+ "char": "o",
4569
+ "description": "Output format (default: table for upsert, json for other commands)",
4570
+ "name": "output",
4571
+ "hasDynamicHelp": false,
4572
+ "multiple": false,
4573
+ "options": [
4574
+ "json",
4575
+ "table",
4576
+ "csv"
4577
+ ],
4578
+ "type": "option"
4579
+ },
4580
+ "table": {
4581
+ "char": "t",
4582
+ "description": "Output as table (shortcut for --output table)",
4583
+ "name": "table",
4584
+ "allowNo": false,
4585
+ "type": "boolean"
4586
+ },
4587
+ "csv": {
4588
+ "description": "Output as CSV (shortcut for --output csv)",
4589
+ "name": "csv",
4590
+ "allowNo": false,
4591
+ "type": "boolean"
4592
+ },
4593
+ "data": {
4594
+ "char": "d",
4595
+ "description": "JSON data for request body",
4596
+ "name": "data",
4597
+ "hasDynamicHelp": false,
4598
+ "multiple": false,
4599
+ "type": "option"
4600
+ },
4601
+ "file": {
4602
+ "char": "f",
4603
+ "description": "Read request body from file",
4604
+ "name": "file",
4605
+ "hasDynamicHelp": false,
4606
+ "multiple": false,
4607
+ "type": "option"
4608
+ },
4609
+ "set": {
4610
+ "char": "s",
4611
+ "description": "Set individual field (e.g. --set firstName=John)",
4612
+ "name": "set",
4613
+ "hasDynamicHelp": false,
4614
+ "multiple": true,
4615
+ "type": "option"
4616
+ },
4617
+ "page": {
4618
+ "description": "Page number",
4619
+ "name": "page",
4620
+ "hasDynamicHelp": false,
4621
+ "multiple": false,
4622
+ "type": "option"
4623
+ },
4624
+ "limit": {
4625
+ "description": "Items per page",
4626
+ "name": "limit",
4627
+ "hasDynamicHelp": false,
4628
+ "multiple": false,
4629
+ "type": "option"
4630
+ },
4631
+ "include": {
4632
+ "description": "Relations to include",
4633
+ "name": "include",
4634
+ "hasDynamicHelp": false,
4635
+ "multiple": false,
4636
+ "type": "option"
4637
+ },
4638
+ "search": {
4639
+ "description": "Search term",
4640
+ "name": "search",
4641
+ "hasDynamicHelp": false,
4642
+ "multiple": false,
4643
+ "type": "option"
4644
+ },
4645
+ "sort-by": {
4646
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4647
+ "name": "sort-by",
4648
+ "hasDynamicHelp": false,
4649
+ "multiple": false,
4650
+ "type": "option"
4651
+ },
4652
+ "filter": {
4653
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4654
+ "name": "filter",
4655
+ "hasDynamicHelp": false,
4656
+ "multiple": true,
4657
+ "type": "option"
4658
+ },
4659
+ "query": {
4660
+ "description": "Additional query params as JSON",
4661
+ "name": "query",
4662
+ "hasDynamicHelp": false,
4663
+ "multiple": false,
4664
+ "type": "option"
4665
+ },
4666
+ "fields": {
4667
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4668
+ "name": "fields",
4669
+ "hasDynamicHelp": false,
4670
+ "multiple": false,
4671
+ "type": "option"
4672
+ },
4673
+ "sanitize": {
4674
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4675
+ "name": "sanitize",
4676
+ "allowNo": false,
4677
+ "type": "boolean"
4678
+ },
4679
+ "meta": {
4680
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4681
+ "name": "meta",
4682
+ "allowNo": false,
4683
+ "type": "boolean"
4684
+ },
4685
+ "show-http-request": {
4686
+ "description": "Show HTTP request details (method, URL, body)",
4687
+ "name": "show-http-request",
4688
+ "allowNo": false,
4689
+ "type": "boolean"
4690
+ }
4691
+ },
4692
+ "hasDynamicHelp": false,
4693
+ "hiddenAliases": [],
4694
+ "id": "email-transactions",
4695
+ "pluginAlias": "@aderis-erp/cli",
4696
+ "pluginName": "@aderis-erp/cli",
4697
+ "pluginType": "core",
4698
+ "strict": true,
4699
+ "enableJsonFlag": false,
4700
+ "isESM": true,
4701
+ "relativePath": [
4702
+ "dist",
4703
+ "commands",
4704
+ "email-transactions.js"
4705
+ ]
4706
+ },
4707
+ "employees": {
4708
+ "aliases": [],
4709
+ "args": {
4710
+ "action": {
4711
+ "description": "Action: list, create, get, update, delete, get-salaries, create-salaries, get-salaries-salaryId, update-salaries, delete-salaries, get-payments, create-payments, get-payments-paymentId, update-payments, delete-payments, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, list-salary-payment-files, create-salary-payment-files, get-salary-payment-files, update-salary-payment-files, delete-salary-payment-files, download-salary-payment-files, list-salary-parts, create-salary-parts, get-salary-parts, update-salary-parts, delete-salary-parts, salary-parts-changes, update-salary-parts-values, delete-salary-parts-values, month-overview, upsert, export, upsert-salaries, upsert-payments, upsert-notes, upsert-files, upsert-salary-payment-files, upsert-salary-parts",
4712
+ "name": "action",
4713
+ "required": true
4714
+ },
4715
+ "id": {
4716
+ "description": "Resource ID (for get, update, delete operations)",
4717
+ "name": "id",
4718
+ "required": false
4719
+ }
4720
+ },
4721
+ "description": "Manage employees",
4722
+ "examples": [
4723
+ "<%= config.bin %> employees list",
4724
+ "<%= config.bin %> employees get <id>",
4725
+ "<%= config.bin %> employees create --data '{...}'",
4726
+ "<%= config.bin %> employees update <id> --set field=value",
4727
+ "<%= config.bin %> employees upsert --file data.json",
4728
+ "<%= config.bin %> employees export --csv > employees.csv"
4729
+ ],
4730
+ "flags": {
4731
+ "context": {
4732
+ "aliases": [
4733
+ "config"
4734
+ ],
4735
+ "char": "c",
4736
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4737
+ "env": "ADERIS_CONTEXT",
4738
+ "name": "context",
4739
+ "hasDynamicHelp": false,
4740
+ "multiple": false,
4741
+ "type": "option"
4742
+ },
4743
+ "output": {
4744
+ "char": "o",
4745
+ "description": "Output format (default: table for upsert, json for other commands)",
4746
+ "name": "output",
4747
+ "hasDynamicHelp": false,
4748
+ "multiple": false,
4749
+ "options": [
4750
+ "json",
4751
+ "table",
4752
+ "csv"
4753
+ ],
4754
+ "type": "option"
4755
+ },
4756
+ "table": {
4757
+ "char": "t",
4758
+ "description": "Output as table (shortcut for --output table)",
4759
+ "name": "table",
4760
+ "allowNo": false,
4761
+ "type": "boolean"
4762
+ },
4763
+ "csv": {
4764
+ "description": "Output as CSV (shortcut for --output csv)",
4765
+ "name": "csv",
4766
+ "allowNo": false,
4767
+ "type": "boolean"
4768
+ },
4769
+ "data": {
4770
+ "char": "d",
4771
+ "description": "JSON data for request body",
4772
+ "name": "data",
4773
+ "hasDynamicHelp": false,
4774
+ "multiple": false,
4775
+ "type": "option"
4776
+ },
4777
+ "file": {
4778
+ "char": "f",
4779
+ "description": "Read request body from file",
4780
+ "name": "file",
4781
+ "hasDynamicHelp": false,
4782
+ "multiple": false,
4783
+ "type": "option"
4784
+ },
4785
+ "set": {
4786
+ "char": "s",
4787
+ "description": "Set individual field (e.g. --set firstName=John)",
4788
+ "name": "set",
4789
+ "hasDynamicHelp": false,
4790
+ "multiple": true,
4791
+ "type": "option"
4792
+ },
4793
+ "salary-id": {
4794
+ "description": "Path param: salaryId",
4795
+ "name": "salary-id",
4796
+ "hasDynamicHelp": false,
4797
+ "multiple": false,
4798
+ "type": "option"
4799
+ },
4800
+ "payment-id": {
4801
+ "description": "Path param: paymentId",
4802
+ "name": "payment-id",
4803
+ "hasDynamicHelp": false,
4804
+ "multiple": false,
4805
+ "type": "option"
4806
+ },
4807
+ "note-id": {
4808
+ "description": "Path param: noteId",
4809
+ "name": "note-id",
4810
+ "hasDynamicHelp": false,
4811
+ "multiple": false,
4812
+ "type": "option"
4813
+ },
4814
+ "file-id": {
4815
+ "description": "Path param: fileId",
4816
+ "name": "file-id",
4817
+ "hasDynamicHelp": false,
4818
+ "multiple": false,
4819
+ "type": "option"
4820
+ },
4821
+ "salary-part-id": {
4822
+ "description": "Path param: salaryPartId",
4823
+ "name": "salary-part-id",
4824
+ "hasDynamicHelp": false,
4825
+ "multiple": false,
4826
+ "type": "option"
4827
+ },
4828
+ "month": {
4829
+ "description": "Path param: month",
4830
+ "name": "month",
4831
+ "hasDynamicHelp": false,
4832
+ "multiple": false,
4833
+ "type": "option"
4834
+ },
4835
+ "page": {
4836
+ "description": "Page number",
4837
+ "name": "page",
4838
+ "hasDynamicHelp": false,
4839
+ "multiple": false,
4840
+ "type": "option"
4841
+ },
4842
+ "limit": {
4843
+ "description": "Items per page",
4844
+ "name": "limit",
4845
+ "hasDynamicHelp": false,
4846
+ "multiple": false,
4847
+ "type": "option"
4848
+ },
4849
+ "include": {
4850
+ "description": "Relations to include",
4851
+ "name": "include",
4852
+ "hasDynamicHelp": false,
4853
+ "multiple": false,
4854
+ "type": "option"
4855
+ },
4856
+ "search": {
4857
+ "description": "Search term",
4858
+ "name": "search",
4859
+ "hasDynamicHelp": false,
4860
+ "multiple": false,
4861
+ "type": "option"
4862
+ },
4863
+ "sort-by": {
4864
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4865
+ "name": "sort-by",
4866
+ "hasDynamicHelp": false,
4867
+ "multiple": false,
4868
+ "type": "option"
4869
+ },
4870
+ "filter": {
4871
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4872
+ "name": "filter",
4873
+ "hasDynamicHelp": false,
4874
+ "multiple": true,
4875
+ "type": "option"
4876
+ },
4877
+ "query": {
4878
+ "description": "Additional query params as JSON",
4879
+ "name": "query",
4880
+ "hasDynamicHelp": false,
4881
+ "multiple": false,
4882
+ "type": "option"
4883
+ },
4884
+ "fields": {
4885
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4886
+ "name": "fields",
4887
+ "hasDynamicHelp": false,
4888
+ "multiple": false,
4889
+ "type": "option"
4890
+ },
4891
+ "sanitize": {
4892
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4893
+ "name": "sanitize",
4894
+ "allowNo": false,
4895
+ "type": "boolean"
4896
+ },
4897
+ "meta": {
4898
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4899
+ "name": "meta",
4900
+ "allowNo": false,
4901
+ "type": "boolean"
4902
+ },
4903
+ "show-http-request": {
4904
+ "description": "Show HTTP request details (method, URL, body)",
4905
+ "name": "show-http-request",
4906
+ "allowNo": false,
4907
+ "type": "boolean"
4908
+ }
4909
+ },
4910
+ "hasDynamicHelp": false,
4911
+ "hiddenAliases": [],
4912
+ "id": "employees",
3433
4913
  "pluginAlias": "@aderis-erp/cli",
3434
4914
  "pluginName": "@aderis-erp/cli",
3435
4915
  "pluginType": "core",
@@ -3439,14 +4919,14 @@
3439
4919
  "relativePath": [
3440
4920
  "dist",
3441
4921
  "commands",
3442
- "dunning-reminders.js"
4922
+ "employees.js"
3443
4923
  ]
3444
4924
  },
3445
- "dunning-runs": {
4925
+ "entity-configurations": {
3446
4926
  "aliases": [],
3447
4927
  "args": {
3448
4928
  "action": {
3449
- "description": "Action: trigger",
4929
+ "description": "Action: list-entities, get-entities, update-entities",
3450
4930
  "name": "action",
3451
4931
  "required": true
3452
4932
  },
@@ -3456,7 +4936,7 @@
3456
4936
  "required": false
3457
4937
  }
3458
4938
  },
3459
- "description": "Manage dunning runs",
4939
+ "description": "Manage entity configurations",
3460
4940
  "examples": [],
3461
4941
  "flags": {
3462
4942
  "context": {
@@ -3598,7 +5078,7 @@
3598
5078
  },
3599
5079
  "hasDynamicHelp": false,
3600
5080
  "hiddenAliases": [],
3601
- "id": "dunning-runs",
5081
+ "id": "entity-configurations",
3602
5082
  "pluginAlias": "@aderis-erp/cli",
3603
5083
  "pluginName": "@aderis-erp/cli",
3604
5084
  "pluginType": "core",
@@ -3608,14 +5088,14 @@
3608
5088
  "relativePath": [
3609
5089
  "dist",
3610
5090
  "commands",
3611
- "dunning-runs.js"
5091
+ "entity-configurations.js"
3612
5092
  ]
3613
5093
  },
3614
- "email-transactions": {
5094
+ "event-mapping-rules": {
3615
5095
  "aliases": [],
3616
5096
  "args": {
3617
5097
  "action": {
3618
- "description": "Action: event-webhook, list, get, export",
5098
+ "description": "Action: fields",
3619
5099
  "name": "action",
3620
5100
  "required": true
3621
5101
  },
@@ -3625,12 +5105,8 @@
3625
5105
  "required": false
3626
5106
  }
3627
5107
  },
3628
- "description": "Manage email transactions",
3629
- "examples": [
3630
- "<%= config.bin %> email-transactions list",
3631
- "<%= config.bin %> email-transactions get <id>",
3632
- "<%= config.bin %> email-transactions export --csv > email-transactions.csv"
3633
- ],
5108
+ "description": "Manage event mapping rules",
5109
+ "examples": [],
3634
5110
  "flags": {
3635
5111
  "context": {
3636
5112
  "aliases": [
@@ -3771,7 +5247,7 @@
3771
5247
  },
3772
5248
  "hasDynamicHelp": false,
3773
5249
  "hiddenAliases": [],
3774
- "id": "email-transactions",
5250
+ "id": "event-mapping-rules",
3775
5251
  "pluginAlias": "@aderis-erp/cli",
3776
5252
  "pluginName": "@aderis-erp/cli",
3777
5253
  "pluginType": "core",
@@ -3781,14 +5257,14 @@
3781
5257
  "relativePath": [
3782
5258
  "dist",
3783
5259
  "commands",
3784
- "email-transactions.js"
5260
+ "event-mapping-rules.js"
3785
5261
  ]
3786
5262
  },
3787
- "employees": {
5263
+ "event-processor-mappings": {
3788
5264
  "aliases": [],
3789
5265
  "args": {
3790
5266
  "action": {
3791
- "description": "Action: list, create, get, update, delete, get-salaries, create-salaries, get-salaries-salaryId, update-salaries, delete-salaries, get-payments, create-payments, get-payments-paymentId, update-payments, delete-payments, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, list-salary-payment-files, create-salary-payment-files, get-salary-payment-files, update-salary-payment-files, delete-salary-payment-files, download-salary-payment-files, list-salary-parts, create-salary-parts, get-salary-parts, update-salary-parts, delete-salary-parts, salary-parts-changes, update-salary-parts-values, delete-salary-parts-values, month-overview, upsert, export, upsert-salaries, upsert-payments, upsert-notes, upsert-files, upsert-salary-payment-files, upsert-salary-parts",
5267
+ "description": "Action: events, list, create, update, delete, upsert, export",
3792
5268
  "name": "action",
3793
5269
  "required": true
3794
5270
  },
@@ -3798,14 +5274,13 @@
3798
5274
  "required": false
3799
5275
  }
3800
5276
  },
3801
- "description": "Manage employees",
5277
+ "description": "Manage event processor mappings",
3802
5278
  "examples": [
3803
- "<%= config.bin %> employees list",
3804
- "<%= config.bin %> employees get <id>",
3805
- "<%= config.bin %> employees create --data '{...}'",
3806
- "<%= config.bin %> employees update <id> --set field=value",
3807
- "<%= config.bin %> employees upsert --file data.json",
3808
- "<%= config.bin %> employees export --csv > employees.csv"
5279
+ "<%= config.bin %> event-processor-mappings list",
5280
+ "<%= config.bin %> event-processor-mappings create --data '{...}'",
5281
+ "<%= config.bin %> event-processor-mappings update <id> --set field=value",
5282
+ "<%= config.bin %> event-processor-mappings upsert --file data.json",
5283
+ "<%= config.bin %> event-processor-mappings export --csv > event-processor-mappings.csv"
3809
5284
  ],
3810
5285
  "flags": {
3811
5286
  "context": {
@@ -3870,48 +5345,6 @@
3870
5345
  "multiple": true,
3871
5346
  "type": "option"
3872
5347
  },
3873
- "salary-id": {
3874
- "description": "Path param: salaryId",
3875
- "name": "salary-id",
3876
- "hasDynamicHelp": false,
3877
- "multiple": false,
3878
- "type": "option"
3879
- },
3880
- "payment-id": {
3881
- "description": "Path param: paymentId",
3882
- "name": "payment-id",
3883
- "hasDynamicHelp": false,
3884
- "multiple": false,
3885
- "type": "option"
3886
- },
3887
- "note-id": {
3888
- "description": "Path param: noteId",
3889
- "name": "note-id",
3890
- "hasDynamicHelp": false,
3891
- "multiple": false,
3892
- "type": "option"
3893
- },
3894
- "file-id": {
3895
- "description": "Path param: fileId",
3896
- "name": "file-id",
3897
- "hasDynamicHelp": false,
3898
- "multiple": false,
3899
- "type": "option"
3900
- },
3901
- "salary-part-id": {
3902
- "description": "Path param: salaryPartId",
3903
- "name": "salary-part-id",
3904
- "hasDynamicHelp": false,
3905
- "multiple": false,
3906
- "type": "option"
3907
- },
3908
- "month": {
3909
- "description": "Path param: month",
3910
- "name": "month",
3911
- "hasDynamicHelp": false,
3912
- "multiple": false,
3913
- "type": "option"
3914
- },
3915
5348
  "page": {
3916
5349
  "description": "Page number",
3917
5350
  "name": "page",
@@ -3989,7 +5422,7 @@
3989
5422
  },
3990
5423
  "hasDynamicHelp": false,
3991
5424
  "hiddenAliases": [],
3992
- "id": "employees",
5425
+ "id": "event-processor-mappings",
3993
5426
  "pluginAlias": "@aderis-erp/cli",
3994
5427
  "pluginName": "@aderis-erp/cli",
3995
5428
  "pluginType": "core",
@@ -3999,14 +5432,14 @@
3999
5432
  "relativePath": [
4000
5433
  "dist",
4001
5434
  "commands",
4002
- "employees.js"
5435
+ "event-processor-mappings.js"
4003
5436
  ]
4004
5437
  },
4005
- "entity-configurations": {
5438
+ "files": {
4006
5439
  "aliases": [],
4007
5440
  "args": {
4008
5441
  "action": {
4009
- "description": "Action: list-entities, get-entities, update-entities",
5442
+ "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, upsert, export",
4010
5443
  "name": "action",
4011
5444
  "required": true
4012
5445
  },
@@ -4016,8 +5449,15 @@
4016
5449
  "required": false
4017
5450
  }
4018
5451
  },
4019
- "description": "Manage entity configurations",
4020
- "examples": [],
5452
+ "description": "Manage files",
5453
+ "examples": [
5454
+ "<%= config.bin %> files list",
5455
+ "<%= config.bin %> files get <id>",
5456
+ "<%= config.bin %> files create --data '{...}'",
5457
+ "<%= config.bin %> files update <id> --set field=value",
5458
+ "<%= config.bin %> files upsert --file data.json",
5459
+ "<%= config.bin %> files export --csv > files.csv"
5460
+ ],
4021
5461
  "flags": {
4022
5462
  "context": {
4023
5463
  "aliases": [
@@ -4158,7 +5598,7 @@
4158
5598
  },
4159
5599
  "hasDynamicHelp": false,
4160
5600
  "hiddenAliases": [],
4161
- "id": "entity-configurations",
5601
+ "id": "files",
4162
5602
  "pluginAlias": "@aderis-erp/cli",
4163
5603
  "pluginName": "@aderis-erp/cli",
4164
5604
  "pluginType": "core",
@@ -4168,14 +5608,14 @@
4168
5608
  "relativePath": [
4169
5609
  "dist",
4170
5610
  "commands",
4171
- "entity-configurations.js"
5611
+ "files.js"
4172
5612
  ]
4173
5613
  },
4174
- "event-mapping-rules": {
5614
+ "financial-instrument-types": {
4175
5615
  "aliases": [],
4176
5616
  "args": {
4177
5617
  "action": {
4178
- "description": "Action: fields",
5618
+ "description": "Action: list, create, get, update, delete, upsert, export",
4179
5619
  "name": "action",
4180
5620
  "required": true
4181
5621
  },
@@ -4185,8 +5625,15 @@
4185
5625
  "required": false
4186
5626
  }
4187
5627
  },
4188
- "description": "Manage event mapping rules",
4189
- "examples": [],
5628
+ "description": "Manage financial instrument types",
5629
+ "examples": [
5630
+ "<%= config.bin %> financial-instrument-types list",
5631
+ "<%= config.bin %> financial-instrument-types get <id>",
5632
+ "<%= config.bin %> financial-instrument-types create --data '{...}'",
5633
+ "<%= config.bin %> financial-instrument-types update <id> --set field=value",
5634
+ "<%= config.bin %> financial-instrument-types upsert --file data.json",
5635
+ "<%= config.bin %> financial-instrument-types export --csv > financial-instrument-types.csv"
5636
+ ],
4190
5637
  "flags": {
4191
5638
  "context": {
4192
5639
  "aliases": [
@@ -4327,7 +5774,7 @@
4327
5774
  },
4328
5775
  "hasDynamicHelp": false,
4329
5776
  "hiddenAliases": [],
4330
- "id": "event-mapping-rules",
5777
+ "id": "financial-instrument-types",
4331
5778
  "pluginAlias": "@aderis-erp/cli",
4332
5779
  "pluginName": "@aderis-erp/cli",
4333
5780
  "pluginType": "core",
@@ -4337,14 +5784,14 @@
4337
5784
  "relativePath": [
4338
5785
  "dist",
4339
5786
  "commands",
4340
- "event-mapping-rules.js"
5787
+ "financial-instrument-types.js"
4341
5788
  ]
4342
5789
  },
4343
- "event-processor-mappings": {
5790
+ "financial-instruments": {
4344
5791
  "aliases": [],
4345
5792
  "args": {
4346
5793
  "action": {
4347
- "description": "Action: events, list, create, update, delete, upsert, export",
5794
+ "description": "Action: list, create, get, update, delete, upsert, export",
4348
5795
  "name": "action",
4349
5796
  "required": true
4350
5797
  },
@@ -4354,13 +5801,14 @@
4354
5801
  "required": false
4355
5802
  }
4356
5803
  },
4357
- "description": "Manage event processor mappings",
5804
+ "description": "Manage financial instruments",
4358
5805
  "examples": [
4359
- "<%= config.bin %> event-processor-mappings list",
4360
- "<%= config.bin %> event-processor-mappings create --data '{...}'",
4361
- "<%= config.bin %> event-processor-mappings update <id> --set field=value",
4362
- "<%= config.bin %> event-processor-mappings upsert --file data.json",
4363
- "<%= config.bin %> event-processor-mappings export --csv > event-processor-mappings.csv"
5806
+ "<%= config.bin %> financial-instruments list",
5807
+ "<%= config.bin %> financial-instruments get <id>",
5808
+ "<%= config.bin %> financial-instruments create --data '{...}'",
5809
+ "<%= config.bin %> financial-instruments update <id> --set field=value",
5810
+ "<%= config.bin %> financial-instruments upsert --file data.json",
5811
+ "<%= config.bin %> financial-instruments export --csv > financial-instruments.csv"
4364
5812
  ],
4365
5813
  "flags": {
4366
5814
  "context": {
@@ -4502,7 +5950,7 @@
4502
5950
  },
4503
5951
  "hasDynamicHelp": false,
4504
5952
  "hiddenAliases": [],
4505
- "id": "event-processor-mappings",
5953
+ "id": "financial-instruments",
4506
5954
  "pluginAlias": "@aderis-erp/cli",
4507
5955
  "pluginName": "@aderis-erp/cli",
4508
5956
  "pluginType": "core",
@@ -4512,14 +5960,14 @@
4512
5960
  "relativePath": [
4513
5961
  "dist",
4514
5962
  "commands",
4515
- "event-processor-mappings.js"
5963
+ "financial-instruments.js"
4516
5964
  ]
4517
5965
  },
4518
- "files": {
5966
+ "health": {
4519
5967
  "aliases": [],
4520
5968
  "args": {
4521
5969
  "action": {
4522
- "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, upsert, export",
5970
+ "description": "Action: get, get-all, ready, get-3, v1",
4523
5971
  "name": "action",
4524
5972
  "required": true
4525
5973
  },
@@ -4529,14 +5977,9 @@
4529
5977
  "required": false
4530
5978
  }
4531
5979
  },
4532
- "description": "Manage files",
5980
+ "description": "Manage health",
4533
5981
  "examples": [
4534
- "<%= config.bin %> files list",
4535
- "<%= config.bin %> files get <id>",
4536
- "<%= config.bin %> files create --data '{...}'",
4537
- "<%= config.bin %> files update <id> --set field=value",
4538
- "<%= config.bin %> files upsert --file data.json",
4539
- "<%= config.bin %> files export --csv > files.csv"
5982
+ "<%= config.bin %> health get <id>"
4540
5983
  ],
4541
5984
  "flags": {
4542
5985
  "context": {
@@ -4678,7 +6121,7 @@
4678
6121
  },
4679
6122
  "hasDynamicHelp": false,
4680
6123
  "hiddenAliases": [],
4681
- "id": "files",
6124
+ "id": "health",
4682
6125
  "pluginAlias": "@aderis-erp/cli",
4683
6126
  "pluginName": "@aderis-erp/cli",
4684
6127
  "pluginType": "core",
@@ -4688,14 +6131,14 @@
4688
6131
  "relativePath": [
4689
6132
  "dist",
4690
6133
  "commands",
4691
- "files.js"
6134
+ "health.js"
4692
6135
  ]
4693
6136
  },
4694
- "health": {
6137
+ "imports": {
4695
6138
  "aliases": [],
4696
6139
  "args": {
4697
6140
  "action": {
4698
- "description": "Action: get, get-all, ready, get-3, v1",
6141
+ "description": "Action: list, get, delete, export",
4699
6142
  "name": "action",
4700
6143
  "required": true
4701
6144
  },
@@ -4705,9 +6148,11 @@
4705
6148
  "required": false
4706
6149
  }
4707
6150
  },
4708
- "description": "Manage health",
6151
+ "description": "Manage imports",
4709
6152
  "examples": [
4710
- "<%= config.bin %> health get <id>"
6153
+ "<%= config.bin %> imports list",
6154
+ "<%= config.bin %> imports get <id>",
6155
+ "<%= config.bin %> imports export --csv > imports.csv"
4711
6156
  ],
4712
6157
  "flags": {
4713
6158
  "context": {
@@ -4849,7 +6294,7 @@
4849
6294
  },
4850
6295
  "hasDynamicHelp": false,
4851
6296
  "hiddenAliases": [],
4852
- "id": "health",
6297
+ "id": "imports",
4853
6298
  "pluginAlias": "@aderis-erp/cli",
4854
6299
  "pluginName": "@aderis-erp/cli",
4855
6300
  "pluginType": "core",
@@ -4859,14 +6304,14 @@
4859
6304
  "relativePath": [
4860
6305
  "dist",
4861
6306
  "commands",
4862
- "health.js"
6307
+ "imports.js"
4863
6308
  ]
4864
6309
  },
4865
- "imports": {
6310
+ "inbox": {
4866
6311
  "aliases": [],
4867
6312
  "args": {
4868
6313
  "action": {
4869
- "description": "Action: list, get, delete, export",
6314
+ "description": "Action: create-upload, email-webhook, document-types, uploads-files-content, list-processing-logs, processing-logs",
4870
6315
  "name": "action",
4871
6316
  "required": true
4872
6317
  },
@@ -4876,12 +6321,8 @@
4876
6321
  "required": false
4877
6322
  }
4878
6323
  },
4879
- "description": "Manage imports",
4880
- "examples": [
4881
- "<%= config.bin %> imports list",
4882
- "<%= config.bin %> imports get <id>",
4883
- "<%= config.bin %> imports export --csv > imports.csv"
4884
- ],
6324
+ "description": "Manage inbox",
6325
+ "examples": [],
4885
6326
  "flags": {
4886
6327
  "context": {
4887
6328
  "aliases": [
@@ -4945,6 +6386,13 @@
4945
6386
  "multiple": true,
4946
6387
  "type": "option"
4947
6388
  },
6389
+ "processing-id": {
6390
+ "description": "Path param: processingId",
6391
+ "name": "processing-id",
6392
+ "hasDynamicHelp": false,
6393
+ "multiple": false,
6394
+ "type": "option"
6395
+ },
4948
6396
  "page": {
4949
6397
  "description": "Page number",
4950
6398
  "name": "page",
@@ -5022,7 +6470,7 @@
5022
6470
  },
5023
6471
  "hasDynamicHelp": false,
5024
6472
  "hiddenAliases": [],
5025
- "id": "imports",
6473
+ "id": "inbox",
5026
6474
  "pluginAlias": "@aderis-erp/cli",
5027
6475
  "pluginName": "@aderis-erp/cli",
5028
6476
  "pluginType": "core",
@@ -5032,14 +6480,14 @@
5032
6480
  "relativePath": [
5033
6481
  "dist",
5034
6482
  "commands",
5035
- "imports.js"
6483
+ "inbox.js"
5036
6484
  ]
5037
6485
  },
5038
- "inbox": {
6486
+ "integrations": {
5039
6487
  "aliases": [],
5040
6488
  "args": {
5041
6489
  "action": {
5042
- "description": "Action: create-upload, email-webhook, document-types, uploads-files-content, list-processing-logs, processing-logs",
6490
+ "description": "Action: get, update, delete",
5043
6491
  "name": "action",
5044
6492
  "required": true
5045
6493
  },
@@ -5049,8 +6497,11 @@
5049
6497
  "required": false
5050
6498
  }
5051
6499
  },
5052
- "description": "Manage inbox",
5053
- "examples": [],
6500
+ "description": "Manage integrations",
6501
+ "examples": [
6502
+ "<%= config.bin %> integrations get <id>",
6503
+ "<%= config.bin %> integrations update <id> --set field=value"
6504
+ ],
5054
6505
  "flags": {
5055
6506
  "context": {
5056
6507
  "aliases": [
@@ -5114,9 +6565,9 @@
5114
6565
  "multiple": true,
5115
6566
  "type": "option"
5116
6567
  },
5117
- "processing-id": {
5118
- "description": "Path param: processingId",
5119
- "name": "processing-id",
6568
+ "config-key": {
6569
+ "description": "Path param: configKey",
6570
+ "name": "config-key",
5120
6571
  "hasDynamicHelp": false,
5121
6572
  "multiple": false,
5122
6573
  "type": "option"
@@ -5198,7 +6649,7 @@
5198
6649
  },
5199
6650
  "hasDynamicHelp": false,
5200
6651
  "hiddenAliases": [],
5201
- "id": "inbox",
6652
+ "id": "integrations",
5202
6653
  "pluginAlias": "@aderis-erp/cli",
5203
6654
  "pluginName": "@aderis-erp/cli",
5204
6655
  "pluginType": "core",
@@ -5208,14 +6659,14 @@
5208
6659
  "relativePath": [
5209
6660
  "dist",
5210
6661
  "commands",
5211
- "inbox.js"
6662
+ "integrations.js"
5212
6663
  ]
5213
6664
  },
5214
- "integration-identities": {
6665
+ "item-categories": {
5215
6666
  "aliases": [],
5216
6667
  "args": {
5217
6668
  "action": {
5218
- "description": "Action: list-integrations, create-integrations, integrations-disable-all, get-integrations, list-integrations-secrets, create-integrations-secrets, delete-integrations-secrets, integrations-disable",
6669
+ "description": "Action: list, create, get, update, delete, upsert, export",
5219
6670
  "name": "action",
5220
6671
  "required": true
5221
6672
  },
@@ -5225,8 +6676,15 @@
5225
6676
  "required": false
5226
6677
  }
5227
6678
  },
5228
- "description": "Manage integration identities",
5229
- "examples": [],
6679
+ "description": "Manage item categories",
6680
+ "examples": [
6681
+ "<%= config.bin %> item-categories list",
6682
+ "<%= config.bin %> item-categories get <id>",
6683
+ "<%= config.bin %> item-categories create --data '{...}'",
6684
+ "<%= config.bin %> item-categories update <id> --set field=value",
6685
+ "<%= config.bin %> item-categories upsert --file data.json",
6686
+ "<%= config.bin %> item-categories export --csv > item-categories.csv"
6687
+ ],
5230
6688
  "flags": {
5231
6689
  "context": {
5232
6690
  "aliases": [
@@ -5290,13 +6748,6 @@
5290
6748
  "multiple": true,
5291
6749
  "type": "option"
5292
6750
  },
5293
- "secret-id": {
5294
- "description": "Path param: secretId",
5295
- "name": "secret-id",
5296
- "hasDynamicHelp": false,
5297
- "multiple": false,
5298
- "type": "option"
5299
- },
5300
6751
  "page": {
5301
6752
  "description": "Page number",
5302
6753
  "name": "page",
@@ -5374,7 +6825,7 @@
5374
6825
  },
5375
6826
  "hasDynamicHelp": false,
5376
6827
  "hiddenAliases": [],
5377
- "id": "integration-identities",
6828
+ "id": "item-categories",
5378
6829
  "pluginAlias": "@aderis-erp/cli",
5379
6830
  "pluginName": "@aderis-erp/cli",
5380
6831
  "pluginType": "core",
@@ -5384,14 +6835,14 @@
5384
6835
  "relativePath": [
5385
6836
  "dist",
5386
6837
  "commands",
5387
- "integration-identities.js"
6838
+ "item-categories.js"
5388
6839
  ]
5389
6840
  },
5390
- "integrations": {
6841
+ "items": {
5391
6842
  "aliases": [],
5392
6843
  "args": {
5393
6844
  "action": {
5394
- "description": "Action: get, update, delete",
6845
+ "description": "Action: list, create, get, update, delete, import, export",
5395
6846
  "name": "action",
5396
6847
  "required": true
5397
6848
  },
@@ -5401,10 +6852,14 @@
5401
6852
  "required": false
5402
6853
  }
5403
6854
  },
5404
- "description": "Manage integrations",
6855
+ "description": "Manage items",
5405
6856
  "examples": [
5406
- "<%= config.bin %> integrations get <id>",
5407
- "<%= config.bin %> integrations update <id> --set field=value"
6857
+ "<%= config.bin %> items list",
6858
+ "<%= config.bin %> items get <id>",
6859
+ "<%= config.bin %> items create --data '{...}'",
6860
+ "<%= config.bin %> items update <id> --set field=value",
6861
+ "<%= config.bin %> items import --file data.json --mode upsert",
6862
+ "<%= config.bin %> items export --csv > items.csv"
5408
6863
  ],
5409
6864
  "flags": {
5410
6865
  "context": {
@@ -5469,9 +6924,34 @@
5469
6924
  "multiple": true,
5470
6925
  "type": "option"
5471
6926
  },
5472
- "config-key": {
5473
- "description": "Path param: configKey",
5474
- "name": "config-key",
6927
+ "mode": {
6928
+ "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
6929
+ "name": "mode",
6930
+ "hasDynamicHelp": false,
6931
+ "multiple": false,
6932
+ "options": [
6933
+ "upsert",
6934
+ "create",
6935
+ "update"
6936
+ ],
6937
+ "type": "option"
6938
+ },
6939
+ "reference": {
6940
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
6941
+ "name": "reference",
6942
+ "hasDynamicHelp": false,
6943
+ "multiple": false,
6944
+ "type": "option"
6945
+ },
6946
+ "async": {
6947
+ "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
6948
+ "name": "async",
6949
+ "allowNo": false,
6950
+ "type": "boolean"
6951
+ },
6952
+ "idempotency-key": {
6953
+ "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
6954
+ "name": "idempotency-key",
5475
6955
  "hasDynamicHelp": false,
5476
6956
  "multiple": false,
5477
6957
  "type": "option"
@@ -5553,7 +7033,7 @@
5553
7033
  },
5554
7034
  "hasDynamicHelp": false,
5555
7035
  "hiddenAliases": [],
5556
- "id": "integrations",
7036
+ "id": "items",
5557
7037
  "pluginAlias": "@aderis-erp/cli",
5558
7038
  "pluginName": "@aderis-erp/cli",
5559
7039
  "pluginType": "core",
@@ -5563,14 +7043,14 @@
5563
7043
  "relativePath": [
5564
7044
  "dist",
5565
7045
  "commands",
5566
- "integrations.js"
7046
+ "items.js"
5567
7047
  ]
5568
7048
  },
5569
- "item-categories": {
7049
+ "journal-lines": {
5570
7050
  "aliases": [],
5571
7051
  "args": {
5572
7052
  "action": {
5573
- "description": "Action: list, create, get, update, delete, upsert, export",
7053
+ "description": "Action: list, export",
5574
7054
  "name": "action",
5575
7055
  "required": true
5576
7056
  },
@@ -5580,14 +7060,10 @@
5580
7060
  "required": false
5581
7061
  }
5582
7062
  },
5583
- "description": "Manage item categories",
7063
+ "description": "Manage journal lines",
5584
7064
  "examples": [
5585
- "<%= config.bin %> item-categories list",
5586
- "<%= config.bin %> item-categories get <id>",
5587
- "<%= config.bin %> item-categories create --data '{...}'",
5588
- "<%= config.bin %> item-categories update <id> --set field=value",
5589
- "<%= config.bin %> item-categories upsert --file data.json",
5590
- "<%= config.bin %> item-categories export --csv > item-categories.csv"
7065
+ "<%= config.bin %> journal-lines list",
7066
+ "<%= config.bin %> journal-lines export --csv > journal-lines.csv"
5591
7067
  ],
5592
7068
  "flags": {
5593
7069
  "context": {
@@ -5729,7 +7205,7 @@
5729
7205
  },
5730
7206
  "hasDynamicHelp": false,
5731
7207
  "hiddenAliases": [],
5732
- "id": "item-categories",
7208
+ "id": "journal-lines",
5733
7209
  "pluginAlias": "@aderis-erp/cli",
5734
7210
  "pluginName": "@aderis-erp/cli",
5735
7211
  "pluginType": "core",
@@ -5739,14 +7215,14 @@
5739
7215
  "relativePath": [
5740
7216
  "dist",
5741
7217
  "commands",
5742
- "item-categories.js"
7218
+ "journal-lines.js"
5743
7219
  ]
5744
7220
  },
5745
- "items": {
7221
+ "journals": {
5746
7222
  "aliases": [],
5747
7223
  "args": {
5748
7224
  "action": {
5749
- "description": "Action: list, create, get, update, delete, import, export",
7225
+ "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, upsert-notes, upsert-files",
5750
7226
  "name": "action",
5751
7227
  "required": true
5752
7228
  },
@@ -5756,14 +7232,14 @@
5756
7232
  "required": false
5757
7233
  }
5758
7234
  },
5759
- "description": "Manage items",
7235
+ "description": "Manage journals",
5760
7236
  "examples": [
5761
- "<%= config.bin %> items list",
5762
- "<%= config.bin %> items get <id>",
5763
- "<%= config.bin %> items create --data '{...}'",
5764
- "<%= config.bin %> items update <id> --set field=value",
5765
- "<%= config.bin %> items import --file data.json --mode upsert",
5766
- "<%= config.bin %> items export --csv > items.csv"
7237
+ "<%= config.bin %> journals list",
7238
+ "<%= config.bin %> journals get <id>",
7239
+ "<%= config.bin %> journals create --data '{...}'",
7240
+ "<%= config.bin %> journals update <id> --set field=value",
7241
+ "<%= config.bin %> journals import --file data.json --mode upsert",
7242
+ "<%= config.bin %> journals export --csv > journals.csv"
5767
7243
  ],
5768
7244
  "flags": {
5769
7245
  "context": {
@@ -5860,6 +7336,27 @@
5860
7336
  "multiple": false,
5861
7337
  "type": "option"
5862
7338
  },
7339
+ "line-id": {
7340
+ "description": "Path param: lineId",
7341
+ "name": "line-id",
7342
+ "hasDynamicHelp": false,
7343
+ "multiple": false,
7344
+ "type": "option"
7345
+ },
7346
+ "note-id": {
7347
+ "description": "Path param: noteId",
7348
+ "name": "note-id",
7349
+ "hasDynamicHelp": false,
7350
+ "multiple": false,
7351
+ "type": "option"
7352
+ },
7353
+ "file-id": {
7354
+ "description": "Path param: fileId",
7355
+ "name": "file-id",
7356
+ "hasDynamicHelp": false,
7357
+ "multiple": false,
7358
+ "type": "option"
7359
+ },
5863
7360
  "page": {
5864
7361
  "description": "Page number",
5865
7362
  "name": "page",
@@ -5937,7 +7434,7 @@
5937
7434
  },
5938
7435
  "hasDynamicHelp": false,
5939
7436
  "hiddenAliases": [],
5940
- "id": "items",
7437
+ "id": "journals",
5941
7438
  "pluginAlias": "@aderis-erp/cli",
5942
7439
  "pluginName": "@aderis-erp/cli",
5943
7440
  "pluginType": "core",
@@ -5947,14 +7444,14 @@
5947
7444
  "relativePath": [
5948
7445
  "dist",
5949
7446
  "commands",
5950
- "items.js"
7447
+ "journals.js"
5951
7448
  ]
5952
7449
  },
5953
- "journal-lines": {
7450
+ "kpis": {
5954
7451
  "aliases": [],
5955
7452
  "args": {
5956
7453
  "action": {
5957
- "description": "Action: list, export",
7454
+ "description": "Action: list, create, get-by-code, update, archive, restore, duplicate, evaluate, upsert, export",
5958
7455
  "name": "action",
5959
7456
  "required": true
5960
7457
  },
@@ -5964,10 +7461,13 @@
5964
7461
  "required": false
5965
7462
  }
5966
7463
  },
5967
- "description": "Manage journal lines",
7464
+ "description": "Manage kpis",
5968
7465
  "examples": [
5969
- "<%= config.bin %> journal-lines list",
5970
- "<%= config.bin %> journal-lines export --csv > journal-lines.csv"
7466
+ "<%= config.bin %> kpis list",
7467
+ "<%= config.bin %> kpis create --data '{...}'",
7468
+ "<%= config.bin %> kpis update <id> --set field=value",
7469
+ "<%= config.bin %> kpis upsert --file data.json",
7470
+ "<%= config.bin %> kpis export --csv > kpis.csv"
5971
7471
  ],
5972
7472
  "flags": {
5973
7473
  "context": {
@@ -6109,7 +7609,7 @@
6109
7609
  },
6110
7610
  "hasDynamicHelp": false,
6111
7611
  "hiddenAliases": [],
6112
- "id": "journal-lines",
7612
+ "id": "kpis",
6113
7613
  "pluginAlias": "@aderis-erp/cli",
6114
7614
  "pluginName": "@aderis-erp/cli",
6115
7615
  "pluginType": "core",
@@ -6119,14 +7619,14 @@
6119
7619
  "relativePath": [
6120
7620
  "dist",
6121
7621
  "commands",
6122
- "journal-lines.js"
7622
+ "kpis.js"
6123
7623
  ]
6124
7624
  },
6125
- "journals": {
7625
+ "ledgers": {
6126
7626
  "aliases": [],
6127
7627
  "args": {
6128
7628
  "action": {
6129
- "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, upsert-notes, upsert-files",
7629
+ "description": "Action: list, create, get, update, delete, list-month-end-closings, create-month-end-closings, get-month-end-closings, update-month-end-closings, delete-month-end-closings, month-end-closings-complete, create-month-end-closings-provisional-booking, delete-month-end-closings-provisional-booking, month-end-closings-reopen, list-month-end-closings-accruals, create-month-end-closings-accruals, update-month-end-closings-accruals, delete-month-end-closings-accruals, month-end-closings-accruals-accept, month-end-closings-accruals-dismiss, list-month-end-closings-accrual-accounts, list-month-end-closings-findings, update-month-end-closings-findings, list-month-end-closings-notes, create-month-end-closings-notes, get-month-end-closings-notes, update-month-end-closings-notes, delete-month-end-closings-notes, update-month-end-closings-agent-results, month-end-closings-agent-run, get-fx-rate, replace-fx-rate-providers, replace-closing-fx-rate-providers, 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, upsert, export, upsert-month-end-closings, upsert-month-end-closings-accruals, upsert-month-end-closings-notes, upsert-notes, upsert-closings",
6130
7630
  "name": "action",
6131
7631
  "required": true
6132
7632
  },
@@ -6136,14 +7636,14 @@
6136
7636
  "required": false
6137
7637
  }
6138
7638
  },
6139
- "description": "Manage journals",
7639
+ "description": "Manage ledgers",
6140
7640
  "examples": [
6141
- "<%= config.bin %> journals list",
6142
- "<%= config.bin %> journals get <id>",
6143
- "<%= config.bin %> journals create --data '{...}'",
6144
- "<%= config.bin %> journals update <id> --set field=value",
6145
- "<%= config.bin %> journals import --file data.json --mode upsert",
6146
- "<%= config.bin %> journals export --csv > journals.csv"
7641
+ "<%= config.bin %> ledgers list",
7642
+ "<%= config.bin %> ledgers get <id>",
7643
+ "<%= config.bin %> ledgers create --data '{...}'",
7644
+ "<%= config.bin %> ledgers update <id> --set field=value",
7645
+ "<%= config.bin %> ledgers upsert --file data.json",
7646
+ "<%= config.bin %> ledgers export --csv > ledgers.csv"
6147
7647
  ],
6148
7648
  "flags": {
6149
7649
  "context": {
@@ -6205,44 +7705,26 @@
6205
7705
  "description": "Set individual field (e.g. --set firstName=John)",
6206
7706
  "name": "set",
6207
7707
  "hasDynamicHelp": false,
6208
- "multiple": true,
6209
- "type": "option"
6210
- },
6211
- "mode": {
6212
- "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
6213
- "name": "mode",
6214
- "hasDynamicHelp": false,
6215
- "multiple": false,
6216
- "options": [
6217
- "upsert",
6218
- "create",
6219
- "update"
6220
- ],
7708
+ "multiple": true,
6221
7709
  "type": "option"
6222
7710
  },
6223
- "reference": {
6224
- "description": "Caller-defined text stored on the import run, for tracking and filtering",
6225
- "name": "reference",
7711
+ "id": {
7712
+ "description": "Path param: id",
7713
+ "name": "id",
6226
7714
  "hasDynamicHelp": false,
6227
7715
  "multiple": false,
6228
7716
  "type": "option"
6229
7717
  },
6230
- "async": {
6231
- "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
6232
- "name": "async",
6233
- "allowNo": false,
6234
- "type": "boolean"
6235
- },
6236
- "idempotency-key": {
6237
- "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
6238
- "name": "idempotency-key",
7718
+ "accrual-id": {
7719
+ "description": "Path param: accrualId",
7720
+ "name": "accrual-id",
6239
7721
  "hasDynamicHelp": false,
6240
7722
  "multiple": false,
6241
7723
  "type": "option"
6242
7724
  },
6243
- "line-id": {
6244
- "description": "Path param: lineId",
6245
- "name": "line-id",
7725
+ "finding-id": {
7726
+ "description": "Path param: findingId",
7727
+ "name": "finding-id",
6246
7728
  "hasDynamicHelp": false,
6247
7729
  "multiple": false,
6248
7730
  "type": "option"
@@ -6254,13 +7736,6 @@
6254
7736
  "multiple": false,
6255
7737
  "type": "option"
6256
7738
  },
6257
- "file-id": {
6258
- "description": "Path param: fileId",
6259
- "name": "file-id",
6260
- "hasDynamicHelp": false,
6261
- "multiple": false,
6262
- "type": "option"
6263
- },
6264
7739
  "page": {
6265
7740
  "description": "Page number",
6266
7741
  "name": "page",
@@ -6338,7 +7813,7 @@
6338
7813
  },
6339
7814
  "hasDynamicHelp": false,
6340
7815
  "hiddenAliases": [],
6341
- "id": "journals",
7816
+ "id": "ledgers",
6342
7817
  "pluginAlias": "@aderis-erp/cli",
6343
7818
  "pluginName": "@aderis-erp/cli",
6344
7819
  "pluginType": "core",
@@ -6348,14 +7823,14 @@
6348
7823
  "relativePath": [
6349
7824
  "dist",
6350
7825
  "commands",
6351
- "journals.js"
7826
+ "ledgers.js"
6352
7827
  ]
6353
7828
  },
6354
- "ledgers": {
7829
+ "my-account": {
6355
7830
  "aliases": [],
6356
7831
  "args": {
6357
7832
  "action": {
6358
- "description": "Action: list, create, get, update, delete, list-month-end-closings, create-month-end-closings, get-month-end-closings, update-month-end-closings, delete-month-end-closings, month-end-closings-complete, create-month-end-closings-provisional-booking, delete-month-end-closings-provisional-booking, month-end-closings-reopen, list-month-end-closings-accruals, create-month-end-closings-accruals, update-month-end-closings-accruals, delete-month-end-closings-accruals, month-end-closings-accruals-accept, month-end-closings-accruals-dismiss, list-month-end-closings-accrual-accounts, list-month-end-closings-findings, update-month-end-closings-findings, list-month-end-closings-notes, create-month-end-closings-notes, get-month-end-closings-notes, update-month-end-closings-notes, delete-month-end-closings-notes, update-month-end-closings-agent-results, month-end-closings-agent-run, get-fx-rate, replace-fx-rate-providers, replace-closing-fx-rate-providers, 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, upsert, export, upsert-month-end-closings, upsert-month-end-closings-accruals, upsert-month-end-closings-notes, upsert-notes, upsert-closings",
7833
+ "description": "Action: get-me-default-tenant, update-me-default-tenant, delete-me-default-tenant, me, me-all, list-me-sessions, delete-me-sessions, delete-me-sessions-sessionId, get-me-credentials, create-me-credentials-otp, delete-me-credentials-otp, delete-me-credentials-passkeys, me-password-change, me-email-change, create-me-credentials-passkeys, me-reauthenticate, me-security-actions, self-service-callback",
6359
7834
  "name": "action",
6360
7835
  "required": true
6361
7836
  },
@@ -6365,15 +7840,8 @@
6365
7840
  "required": false
6366
7841
  }
6367
7842
  },
6368
- "description": "Manage ledgers",
6369
- "examples": [
6370
- "<%= config.bin %> ledgers list",
6371
- "<%= config.bin %> ledgers get <id>",
6372
- "<%= config.bin %> ledgers create --data '{...}'",
6373
- "<%= config.bin %> ledgers update <id> --set field=value",
6374
- "<%= config.bin %> ledgers upsert --file data.json",
6375
- "<%= config.bin %> ledgers export --csv > ledgers.csv"
6376
- ],
7843
+ "description": "Manage my account",
7844
+ "examples": [],
6377
7845
  "flags": {
6378
7846
  "context": {
6379
7847
  "aliases": [
@@ -6437,34 +7905,6 @@
6437
7905
  "multiple": true,
6438
7906
  "type": "option"
6439
7907
  },
6440
- "id": {
6441
- "description": "Path param: id",
6442
- "name": "id",
6443
- "hasDynamicHelp": false,
6444
- "multiple": false,
6445
- "type": "option"
6446
- },
6447
- "accrual-id": {
6448
- "description": "Path param: accrualId",
6449
- "name": "accrual-id",
6450
- "hasDynamicHelp": false,
6451
- "multiple": false,
6452
- "type": "option"
6453
- },
6454
- "finding-id": {
6455
- "description": "Path param: findingId",
6456
- "name": "finding-id",
6457
- "hasDynamicHelp": false,
6458
- "multiple": false,
6459
- "type": "option"
6460
- },
6461
- "note-id": {
6462
- "description": "Path param: noteId",
6463
- "name": "note-id",
6464
- "hasDynamicHelp": false,
6465
- "multiple": false,
6466
- "type": "option"
6467
- },
6468
7908
  "page": {
6469
7909
  "description": "Page number",
6470
7910
  "name": "page",
@@ -6542,7 +7982,7 @@
6542
7982
  },
6543
7983
  "hasDynamicHelp": false,
6544
7984
  "hiddenAliases": [],
6545
- "id": "ledgers",
7985
+ "id": "my-account",
6546
7986
  "pluginAlias": "@aderis-erp/cli",
6547
7987
  "pluginName": "@aderis-erp/cli",
6548
7988
  "pluginType": "core",
@@ -6552,14 +7992,14 @@
6552
7992
  "relativePath": [
6553
7993
  "dist",
6554
7994
  "commands",
6555
- "ledgers.js"
7995
+ "my-account.js"
6556
7996
  ]
6557
7997
  },
6558
- "my-account": {
7998
+ "notifications": {
6559
7999
  "aliases": [],
6560
8000
  "args": {
6561
8001
  "action": {
6562
- "description": "Action: get-me-default-tenant, update-me-default-tenant, delete-me-default-tenant, me, me-all, list-me-sessions, delete-me-sessions, delete-me-sessions-sessionId, get-me-credentials, create-me-credentials-otp, delete-me-credentials-otp, delete-me-credentials-passkeys, me-password-change, me-email-change, create-me-credentials-passkeys, me-reauthenticate, me-security-actions, self-service-callback",
8002
+ "description": "Action: create",
6563
8003
  "name": "action",
6564
8004
  "required": true
6565
8005
  },
@@ -6569,8 +8009,10 @@
6569
8009
  "required": false
6570
8010
  }
6571
8011
  },
6572
- "description": "Manage my account",
6573
- "examples": [],
8012
+ "description": "Manage notifications",
8013
+ "examples": [
8014
+ "<%= config.bin %> notifications create --data '{...}'"
8015
+ ],
6574
8016
  "flags": {
6575
8017
  "context": {
6576
8018
  "aliases": [
@@ -6711,7 +8153,7 @@
6711
8153
  },
6712
8154
  "hasDynamicHelp": false,
6713
8155
  "hiddenAliases": [],
6714
- "id": "my-account",
8156
+ "id": "notifications",
6715
8157
  "pluginAlias": "@aderis-erp/cli",
6716
8158
  "pluginName": "@aderis-erp/cli",
6717
8159
  "pluginType": "core",
@@ -6721,7 +8163,7 @@
6721
8163
  "relativePath": [
6722
8164
  "dist",
6723
8165
  "commands",
6724
- "my-account.js"
8166
+ "notifications.js"
6725
8167
  ]
6726
8168
  },
6727
8169
  "office-locations": {
@@ -10392,6 +11834,177 @@
10392
11834
  "schedules.js"
10393
11835
  ]
10394
11836
  },
11837
+ "settings": {
11838
+ "aliases": [],
11839
+ "args": {
11840
+ "action": {
11841
+ "description": "Action: definitions, get",
11842
+ "name": "action",
11843
+ "required": true
11844
+ },
11845
+ "id": {
11846
+ "description": "Resource ID (for get, update, delete operations)",
11847
+ "name": "id",
11848
+ "required": false
11849
+ }
11850
+ },
11851
+ "description": "Manage settings",
11852
+ "examples": [
11853
+ "<%= config.bin %> settings get <id>"
11854
+ ],
11855
+ "flags": {
11856
+ "context": {
11857
+ "aliases": [
11858
+ "config"
11859
+ ],
11860
+ "char": "c",
11861
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
11862
+ "env": "ADERIS_CONTEXT",
11863
+ "name": "context",
11864
+ "hasDynamicHelp": false,
11865
+ "multiple": false,
11866
+ "type": "option"
11867
+ },
11868
+ "output": {
11869
+ "char": "o",
11870
+ "description": "Output format (default: table for upsert, json for other commands)",
11871
+ "name": "output",
11872
+ "hasDynamicHelp": false,
11873
+ "multiple": false,
11874
+ "options": [
11875
+ "json",
11876
+ "table",
11877
+ "csv"
11878
+ ],
11879
+ "type": "option"
11880
+ },
11881
+ "table": {
11882
+ "char": "t",
11883
+ "description": "Output as table (shortcut for --output table)",
11884
+ "name": "table",
11885
+ "allowNo": false,
11886
+ "type": "boolean"
11887
+ },
11888
+ "csv": {
11889
+ "description": "Output as CSV (shortcut for --output csv)",
11890
+ "name": "csv",
11891
+ "allowNo": false,
11892
+ "type": "boolean"
11893
+ },
11894
+ "data": {
11895
+ "char": "d",
11896
+ "description": "JSON data for request body",
11897
+ "name": "data",
11898
+ "hasDynamicHelp": false,
11899
+ "multiple": false,
11900
+ "type": "option"
11901
+ },
11902
+ "file": {
11903
+ "char": "f",
11904
+ "description": "Read request body from file",
11905
+ "name": "file",
11906
+ "hasDynamicHelp": false,
11907
+ "multiple": false,
11908
+ "type": "option"
11909
+ },
11910
+ "set": {
11911
+ "char": "s",
11912
+ "description": "Set individual field (e.g. --set firstName=John)",
11913
+ "name": "set",
11914
+ "hasDynamicHelp": false,
11915
+ "multiple": true,
11916
+ "type": "option"
11917
+ },
11918
+ "page": {
11919
+ "description": "Page number",
11920
+ "name": "page",
11921
+ "hasDynamicHelp": false,
11922
+ "multiple": false,
11923
+ "type": "option"
11924
+ },
11925
+ "limit": {
11926
+ "description": "Items per page",
11927
+ "name": "limit",
11928
+ "hasDynamicHelp": false,
11929
+ "multiple": false,
11930
+ "type": "option"
11931
+ },
11932
+ "include": {
11933
+ "description": "Relations to include",
11934
+ "name": "include",
11935
+ "hasDynamicHelp": false,
11936
+ "multiple": false,
11937
+ "type": "option"
11938
+ },
11939
+ "search": {
11940
+ "description": "Search term",
11941
+ "name": "search",
11942
+ "hasDynamicHelp": false,
11943
+ "multiple": false,
11944
+ "type": "option"
11945
+ },
11946
+ "sort-by": {
11947
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
11948
+ "name": "sort-by",
11949
+ "hasDynamicHelp": false,
11950
+ "multiple": false,
11951
+ "type": "option"
11952
+ },
11953
+ "filter": {
11954
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
11955
+ "name": "filter",
11956
+ "hasDynamicHelp": false,
11957
+ "multiple": true,
11958
+ "type": "option"
11959
+ },
11960
+ "query": {
11961
+ "description": "Additional query params as JSON",
11962
+ "name": "query",
11963
+ "hasDynamicHelp": false,
11964
+ "multiple": false,
11965
+ "type": "option"
11966
+ },
11967
+ "fields": {
11968
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
11969
+ "name": "fields",
11970
+ "hasDynamicHelp": false,
11971
+ "multiple": false,
11972
+ "type": "option"
11973
+ },
11974
+ "sanitize": {
11975
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
11976
+ "name": "sanitize",
11977
+ "allowNo": false,
11978
+ "type": "boolean"
11979
+ },
11980
+ "meta": {
11981
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11982
+ "name": "meta",
11983
+ "allowNo": false,
11984
+ "type": "boolean"
11985
+ },
11986
+ "show-http-request": {
11987
+ "description": "Show HTTP request details (method, URL, body)",
11988
+ "name": "show-http-request",
11989
+ "allowNo": false,
11990
+ "type": "boolean"
11991
+ }
11992
+ },
11993
+ "hasDynamicHelp": false,
11994
+ "hiddenAliases": [],
11995
+ "id": "settings",
11996
+ "pluginAlias": "@aderis-erp/cli",
11997
+ "pluginName": "@aderis-erp/cli",
11998
+ "pluginType": "core",
11999
+ "strict": true,
12000
+ "enableJsonFlag": false,
12001
+ "isESM": true,
12002
+ "relativePath": [
12003
+ "dist",
12004
+ "commands",
12005
+ "settings.js"
12006
+ ]
12007
+ },
10395
12008
  "switch": {
10396
12009
  "aliases": [],
10397
12010
  "args": {},
@@ -10947,7 +12560,7 @@
10947
12560
  "aliases": [],
10948
12561
  "args": {
10949
12562
  "action": {
10950
- "description": "Action: rule-fields, rule-order, replace-rule, delete-rule, list, create, get, update, delete, usage, duplicate, preview, upsert, export",
12563
+ "description": "Action: rule-fields, rule-order, replace-rule, delete-rule, pdf-fields, list, create, get, update, delete, usage, duplicate, preview, upsert, export",
10951
12564
  "name": "action",
10952
12565
  "required": true
10953
12566
  },
@@ -11879,7 +13492,7 @@
11879
13492
  "aliases": [],
11880
13493
  "args": {
11881
13494
  "action": {
11882
- "description": "Action: list, create, get, update, delete, payment-derivation, beneficiary-check, 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, create-offsets, delete-offsets, offset-candidates, create-nettings, delete-nettings, netting-candidates, upsert, export, upsert-line-items, upsert-notes, upsert-files, upsert-payments",
13495
+ "description": "Action: list, create, get, update, delete, payment-derivation, beneficiary-check, submit, approve, decline, book, rebuild-journal, cancel, replace, 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, create-offsets, delete-offsets, offset-candidates, create-nettings, delete-nettings, netting-candidates, upsert, export, upsert-line-items, upsert-notes, upsert-files, upsert-payments",
11883
13496
  "name": "action",
11884
13497
  "required": true
11885
13498
  },
@@ -12262,11 +13875,11 @@
12262
13875
  "webhooks.js"
12263
13876
  ]
12264
13877
  },
12265
- "workflows": {
13878
+ "work-summary": {
12266
13879
  "aliases": [],
12267
13880
  "args": {
12268
13881
  "action": {
12269
- "description": "Action: list, status, find, export",
13882
+ "description": "Action: get",
12270
13883
  "name": "action",
12271
13884
  "required": true
12272
13885
  },
@@ -12276,10 +13889,9 @@
12276
13889
  "required": false
12277
13890
  }
12278
13891
  },
12279
- "description": "Manage workflows",
13892
+ "description": "Manage work summary",
12280
13893
  "examples": [
12281
- "<%= config.bin %> workflows list",
12282
- "<%= config.bin %> workflows export --csv > workflows.csv"
13894
+ "<%= config.bin %> work-summary get <id>"
12283
13895
  ],
12284
13896
  "flags": {
12285
13897
  "context": {
@@ -12421,7 +14033,7 @@
12421
14033
  },
12422
14034
  "hasDynamicHelp": false,
12423
14035
  "hiddenAliases": [],
12424
- "id": "workflows",
14036
+ "id": "work-summary",
12425
14037
  "pluginAlias": "@aderis-erp/cli",
12426
14038
  "pluginName": "@aderis-erp/cli",
12427
14039
  "pluginType": "core",
@@ -12431,7 +14043,7 @@
12431
14043
  "relativePath": [
12432
14044
  "dist",
12433
14045
  "commands",
12434
- "workflows.js"
14046
+ "work-summary.js"
12435
14047
  ]
12436
14048
  },
12437
14049
  "auth:login": {
@@ -13155,5 +14767,5 @@
13155
14767
  ]
13156
14768
  }
13157
14769
  },
13158
- "version": "1.1.3"
14770
+ "version": "1.1.4"
13159
14771
  }