@aderis-erp/cli 1.1.1 → 1.1.3

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 (138) hide show
  1. package/dist/commands/access-groups.d.ts +19 -2
  2. package/dist/commands/access-groups.js +211 -29
  3. package/dist/commands/account-transaction-allocations.d.ts +19 -2
  4. package/dist/commands/account-transaction-allocations.js +209 -28
  5. package/dist/commands/account-transactions.d.ts +23 -2
  6. package/dist/commands/account-transactions.js +216 -30
  7. package/dist/commands/accounts.d.ts +19 -2
  8. package/dist/commands/accounts.js +210 -29
  9. package/dist/commands/agent-platform.d.ts +19 -3
  10. package/dist/commands/agent-platform.js +209 -37
  11. package/dist/commands/agent-runs.d.ts +19 -2
  12. package/dist/commands/agent-runs.js +209 -28
  13. package/dist/commands/analytics.d.ts +19 -2
  14. package/dist/commands/analytics.js +209 -28
  15. package/dist/commands/api-keys.d.ts +19 -2
  16. package/dist/commands/api-keys.js +209 -28
  17. package/dist/commands/async-jobs.d.ts +19 -2
  18. package/dist/commands/async-jobs.js +210 -29
  19. package/dist/commands/audit-log.d.ts +19 -2
  20. package/dist/commands/audit-log.js +209 -28
  21. package/dist/commands/bank-accounts.d.ts +19 -2
  22. package/dist/commands/bank-accounts.js +210 -29
  23. package/dist/commands/bank-integrations.d.ts +19 -2
  24. package/dist/commands/bank-integrations.js +210 -29
  25. package/dist/commands/business-partners.d.ts +20 -2
  26. package/dist/commands/business-partners.js +220 -29
  27. package/dist/commands/chat.d.ts +19 -2
  28. package/dist/commands/chat.js +210 -29
  29. package/dist/commands/credit-card-accounts.d.ts +19 -2
  30. package/dist/commands/credit-card-accounts.js +210 -29
  31. package/dist/commands/delivery-notes.d.ts +19 -2
  32. package/dist/commands/delivery-notes.js +210 -29
  33. package/dist/commands/dunning-configs.d.ts +19 -2
  34. package/dist/commands/dunning-configs.js +210 -29
  35. package/dist/commands/dunning-reminders.d.ts +19 -2
  36. package/dist/commands/dunning-reminders.js +209 -28
  37. package/dist/commands/dunning-runs.d.ts +19 -2
  38. package/dist/commands/dunning-runs.js +209 -28
  39. package/dist/commands/email-transactions.d.ts +19 -2
  40. package/dist/commands/email-transactions.js +209 -28
  41. package/dist/commands/employees.d.ts +21 -2
  42. package/dist/commands/employees.js +221 -29
  43. package/dist/commands/entity-configurations.d.ts +19 -2
  44. package/dist/commands/entity-configurations.js +209 -28
  45. package/dist/commands/event-mapping-rules.d.ts +56 -0
  46. package/dist/commands/event-mapping-rules.js +1324 -0
  47. package/dist/commands/event-processor-mappings.d.ts +19 -2
  48. package/dist/commands/event-processor-mappings.js +210 -29
  49. package/dist/commands/files.d.ts +19 -2
  50. package/dist/commands/files.js +210 -29
  51. package/dist/commands/health.d.ts +19 -2
  52. package/dist/commands/health.js +209 -28
  53. package/dist/commands/imports.d.ts +19 -2
  54. package/dist/commands/imports.js +209 -30
  55. package/dist/commands/inbox.d.ts +19 -2
  56. package/dist/commands/inbox.js +209 -29
  57. package/dist/commands/integration-identities.d.ts +19 -2
  58. package/dist/commands/integration-identities.js +209 -28
  59. package/dist/commands/integrations.d.ts +19 -2
  60. package/dist/commands/integrations.js +209 -28
  61. package/dist/commands/item-categories.d.ts +19 -2
  62. package/dist/commands/item-categories.js +210 -29
  63. package/dist/commands/items.d.ts +23 -2
  64. package/dist/commands/items.js +215 -29
  65. package/dist/commands/journal-lines.d.ts +19 -2
  66. package/dist/commands/journal-lines.js +209 -28
  67. package/dist/commands/journals.d.ts +23 -2
  68. package/dist/commands/journals.js +215 -29
  69. package/dist/commands/ledgers.d.ts +19 -2
  70. package/dist/commands/ledgers.js +210 -29
  71. package/dist/commands/my-account.d.ts +19 -2
  72. package/dist/commands/my-account.js +209 -28
  73. package/dist/commands/office-locations.d.ts +19 -2
  74. package/dist/commands/office-locations.js +210 -29
  75. package/dist/commands/payment-methods.d.ts +19 -2
  76. package/dist/commands/payment-methods.js +210 -29
  77. package/dist/commands/payment-runs.d.ts +19 -2
  78. package/dist/commands/payment-runs.js +211 -29
  79. package/dist/commands/payment-terms.d.ts +19 -2
  80. package/dist/commands/payment-terms.js +211 -30
  81. package/dist/commands/payments.d.ts +19 -2
  82. package/dist/commands/payments.js +210 -29
  83. package/dist/commands/payroll-runs.d.ts +19 -2
  84. package/dist/commands/payroll-runs.js +210 -29
  85. package/dist/commands/permissions.d.ts +19 -2
  86. package/dist/commands/permissions.js +209 -28
  87. package/dist/commands/price-lists.d.ts +23 -2
  88. package/dist/commands/price-lists.js +216 -29
  89. package/dist/commands/processor-mappings.d.ts +19 -2
  90. package/dist/commands/processor-mappings.js +210 -29
  91. package/dist/commands/processors.d.ts +19 -2
  92. package/dist/commands/processors.js +210 -29
  93. package/dist/commands/purchase-order-types.d.ts +19 -2
  94. package/dist/commands/purchase-order-types.js +210 -29
  95. package/dist/commands/purchase-orders.d.ts +19 -2
  96. package/dist/commands/purchase-orders.js +210 -29
  97. package/dist/commands/reports.d.ts +19 -2
  98. package/dist/commands/reports.js +209 -28
  99. package/dist/commands/roles.d.ts +19 -2
  100. package/dist/commands/roles.js +210 -29
  101. package/dist/commands/salary-types.d.ts +19 -2
  102. package/dist/commands/salary-types.js +210 -29
  103. package/dist/commands/sales-invoices.d.ts +21 -2
  104. package/dist/commands/sales-invoices.js +222 -29
  105. package/dist/commands/sales-orders.d.ts +19 -2
  106. package/dist/commands/sales-orders.js +210 -29
  107. package/dist/commands/saved-views.d.ts +19 -2
  108. package/dist/commands/saved-views.js +209 -28
  109. package/dist/commands/scheduled-processor-mappings.d.ts +19 -2
  110. package/dist/commands/scheduled-processor-mappings.js +210 -29
  111. package/dist/commands/schedules.d.ts +19 -2
  112. package/dist/commands/schedules.js +210 -29
  113. package/dist/commands/tags.d.ts +19 -2
  114. package/dist/commands/tags.js +210 -29
  115. package/dist/commands/tax-codes.d.ts +19 -2
  116. package/dist/commands/tax-codes.js +210 -29
  117. package/dist/commands/tax-matrix.d.ts +19 -2
  118. package/dist/commands/tax-matrix.js +210 -29
  119. package/dist/commands/templates.d.ts +19 -2
  120. package/dist/commands/templates.js +214 -29
  121. package/dist/commands/tenants.d.ts +19 -2
  122. package/dist/commands/tenants.js +210 -29
  123. package/dist/commands/tools.d.ts +19 -2
  124. package/dist/commands/tools.js +209 -28
  125. package/dist/commands/users.d.ts +19 -2
  126. package/dist/commands/users.js +210 -29
  127. package/dist/commands/vat-declarations.d.ts +19 -2
  128. package/dist/commands/vat-declarations.js +210 -29
  129. package/dist/commands/vendor-invoices.d.ts +20 -2
  130. package/dist/commands/vendor-invoices.js +220 -31
  131. package/dist/commands/webhooks.d.ts +19 -2
  132. package/dist/commands/webhooks.js +210 -29
  133. package/dist/commands/workflows.d.ts +19 -2
  134. package/dist/commands/workflows.js +209 -28
  135. package/dist/lib/api-client.d.ts +1 -0
  136. package/dist/lib/api-client.js +3 -0
  137. package/oclif.manifest.json +896 -169
  138. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  "aliases": [],
5
5
  "args": {
6
6
  "action": {
7
- "description": "Action: list, create, get, update, delete, import, export",
7
+ "description": "Action: list, create, list-summaries, get, update, delete, upsert, export",
8
8
  "name": "action",
9
9
  "required": true
10
10
  },
@@ -20,7 +20,7 @@
20
20
  "<%= config.bin %> access-groups get <id>",
21
21
  "<%= config.bin %> access-groups create --data '{...}'",
22
22
  "<%= config.bin %> access-groups update <id> --set field=value",
23
- "<%= config.bin %> access-groups import --file data.json",
23
+ "<%= config.bin %> access-groups upsert --file data.json",
24
24
  "<%= config.bin %> access-groups export --csv > access-groups.csv"
25
25
  ],
26
26
  "flags": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "output": {
40
40
  "char": "o",
41
- "description": "Output format (default: table for import, json for other commands)",
41
+ "description": "Output format (default: table for upsert, json for other commands)",
42
42
  "name": "output",
43
43
  "hasDynamicHelp": false,
44
44
  "multiple": false,
@@ -148,6 +148,12 @@
148
148
  "allowNo": false,
149
149
  "type": "boolean"
150
150
  },
151
+ "meta": {
152
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
153
+ "name": "meta",
154
+ "allowNo": false,
155
+ "type": "boolean"
156
+ },
151
157
  "show-http-request": {
152
158
  "description": "Show HTTP request details (method, URL, body)",
153
159
  "name": "show-http-request",
@@ -205,7 +211,7 @@
205
211
  },
206
212
  "output": {
207
213
  "char": "o",
208
- "description": "Output format (default: table for import, json for other commands)",
214
+ "description": "Output format (default: table for upsert, json for other commands)",
209
215
  "name": "output",
210
216
  "hasDynamicHelp": false,
211
217
  "multiple": false,
@@ -315,6 +321,12 @@
315
321
  "allowNo": false,
316
322
  "type": "boolean"
317
323
  },
324
+ "meta": {
325
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
326
+ "name": "meta",
327
+ "allowNo": false,
328
+ "type": "boolean"
329
+ },
318
330
  "show-http-request": {
319
331
  "description": "Show HTTP request details (method, URL, body)",
320
332
  "name": "show-http-request",
@@ -341,7 +353,7 @@
341
353
  "aliases": [],
342
354
  "args": {
343
355
  "action": {
344
- "description": "Action: retry-booking, recover-booking, list, create, get, update, delete, reconcile, allocations-reprocess-unbooked, allocations-unbooked, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, list-allocations-settlement-accounts, allocations-confirm, import, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-allocations, import-allocations-notes, import-notes",
356
+ "description": "Action: retry-booking, recover-booking, list, create, status-counts, get, update, delete, reconcile, allocations-reprocess-unbooked, allocations-unbooked, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, list-allocations-settlement-accounts, allocations-confirm, import, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, list-notes, create-notes, get-notes, update-notes, delete-notes, export, upsert-allocations, upsert-allocations-notes, upsert-notes",
345
357
  "name": "action",
346
358
  "required": true
347
359
  },
@@ -357,7 +369,7 @@
357
369
  "<%= config.bin %> account-transactions get <id>",
358
370
  "<%= config.bin %> account-transactions create --data '{...}'",
359
371
  "<%= config.bin %> account-transactions update <id> --set field=value",
360
- "<%= config.bin %> account-transactions import --file data.json",
372
+ "<%= config.bin %> account-transactions import --file data.json --mode upsert",
361
373
  "<%= config.bin %> account-transactions export --csv > account-transactions.csv"
362
374
  ],
363
375
  "flags": {
@@ -375,7 +387,7 @@
375
387
  },
376
388
  "output": {
377
389
  "char": "o",
378
- "description": "Output format (default: table for import, json for other commands)",
390
+ "description": "Output format (default: table for upsert, json for other commands)",
379
391
  "name": "output",
380
392
  "hasDynamicHelp": false,
381
393
  "multiple": false,
@@ -423,6 +435,38 @@
423
435
  "multiple": true,
424
436
  "type": "option"
425
437
  },
438
+ "mode": {
439
+ "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
440
+ "name": "mode",
441
+ "hasDynamicHelp": false,
442
+ "multiple": false,
443
+ "options": [
444
+ "upsert",
445
+ "create",
446
+ "update"
447
+ ],
448
+ "type": "option"
449
+ },
450
+ "reference": {
451
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
452
+ "name": "reference",
453
+ "hasDynamicHelp": false,
454
+ "multiple": false,
455
+ "type": "option"
456
+ },
457
+ "async": {
458
+ "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
459
+ "name": "async",
460
+ "allowNo": false,
461
+ "type": "boolean"
462
+ },
463
+ "idempotency-key": {
464
+ "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
465
+ "name": "idempotency-key",
466
+ "hasDynamicHelp": false,
467
+ "multiple": false,
468
+ "type": "option"
469
+ },
426
470
  "allocation-id": {
427
471
  "description": "Path param: allocationId",
428
472
  "name": "allocation-id",
@@ -499,6 +543,12 @@
499
543
  "allowNo": false,
500
544
  "type": "boolean"
501
545
  },
546
+ "meta": {
547
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
548
+ "name": "meta",
549
+ "allowNo": false,
550
+ "type": "boolean"
551
+ },
502
552
  "show-http-request": {
503
553
  "description": "Show HTTP request details (method, URL, body)",
504
554
  "name": "show-http-request",
@@ -525,7 +575,7 @@
525
575
  "aliases": [],
526
576
  "args": {
527
577
  "action": {
528
- "description": "Action: list, create, get, update, delete, list-notes, create-notes, get-notes, update-notes, delete-notes, import, export, import-notes",
578
+ "description": "Action: list, create, get, update, delete, list-notes, create-notes, get-notes, update-notes, delete-notes, upsert, export, upsert-notes",
529
579
  "name": "action",
530
580
  "required": true
531
581
  },
@@ -541,7 +591,7 @@
541
591
  "<%= config.bin %> accounts get <id>",
542
592
  "<%= config.bin %> accounts create --data '{...}'",
543
593
  "<%= config.bin %> accounts update <id> --set field=value",
544
- "<%= config.bin %> accounts import --file data.json",
594
+ "<%= config.bin %> accounts upsert --file data.json",
545
595
  "<%= config.bin %> accounts export --csv > accounts.csv"
546
596
  ],
547
597
  "flags": {
@@ -559,7 +609,7 @@
559
609
  },
560
610
  "output": {
561
611
  "char": "o",
562
- "description": "Output format (default: table for import, json for other commands)",
612
+ "description": "Output format (default: table for upsert, json for other commands)",
563
613
  "name": "output",
564
614
  "hasDynamicHelp": false,
565
615
  "multiple": false,
@@ -676,6 +726,12 @@
676
726
  "allowNo": false,
677
727
  "type": "boolean"
678
728
  },
729
+ "meta": {
730
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
731
+ "name": "meta",
732
+ "allowNo": false,
733
+ "type": "boolean"
734
+ },
679
735
  "show-http-request": {
680
736
  "description": "Show HTTP request details (method, URL, body)",
681
737
  "name": "show-http-request",
@@ -702,7 +758,7 @@
702
758
  "aliases": [],
703
759
  "args": {
704
760
  "action": {
705
- "description": "Action: get-runs, get-runs-runId, runs-retry, runs-restart, runs-discard, uploads, uploads-counts, uploads-files, usage",
761
+ "description": "Action: usage",
706
762
  "name": "action",
707
763
  "required": true
708
764
  },
@@ -729,7 +785,7 @@
729
785
  },
730
786
  "output": {
731
787
  "char": "o",
732
- "description": "Output format (default: table for import, json for other commands)",
788
+ "description": "Output format (default: table for upsert, json for other commands)",
733
789
  "name": "output",
734
790
  "hasDynamicHelp": false,
735
791
  "multiple": false,
@@ -777,13 +833,6 @@
777
833
  "multiple": true,
778
834
  "type": "option"
779
835
  },
780
- "file-id": {
781
- "description": "Path param: fileId",
782
- "name": "file-id",
783
- "hasDynamicHelp": false,
784
- "multiple": false,
785
- "type": "option"
786
- },
787
836
  "page": {
788
837
  "description": "Page number",
789
838
  "name": "page",
@@ -846,6 +895,12 @@
846
895
  "allowNo": false,
847
896
  "type": "boolean"
848
897
  },
898
+ "meta": {
899
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
900
+ "name": "meta",
901
+ "allowNo": false,
902
+ "type": "boolean"
903
+ },
849
904
  "show-http-request": {
850
905
  "description": "Show HTTP request details (method, URL, body)",
851
906
  "name": "show-http-request",
@@ -899,7 +954,7 @@
899
954
  },
900
955
  "output": {
901
956
  "char": "o",
902
- "description": "Output format (default: table for import, json for other commands)",
957
+ "description": "Output format (default: table for upsert, json for other commands)",
903
958
  "name": "output",
904
959
  "hasDynamicHelp": false,
905
960
  "multiple": false,
@@ -1009,6 +1064,12 @@
1009
1064
  "allowNo": false,
1010
1065
  "type": "boolean"
1011
1066
  },
1067
+ "meta": {
1068
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1069
+ "name": "meta",
1070
+ "allowNo": false,
1071
+ "type": "boolean"
1072
+ },
1012
1073
  "show-http-request": {
1013
1074
  "description": "Show HTTP request details (method, URL, body)",
1014
1075
  "name": "show-http-request",
@@ -1062,7 +1123,7 @@
1062
1123
  },
1063
1124
  "output": {
1064
1125
  "char": "o",
1065
- "description": "Output format (default: table for import, json for other commands)",
1126
+ "description": "Output format (default: table for upsert, json for other commands)",
1066
1127
  "name": "output",
1067
1128
  "hasDynamicHelp": false,
1068
1129
  "multiple": false,
@@ -1172,6 +1233,12 @@
1172
1233
  "allowNo": false,
1173
1234
  "type": "boolean"
1174
1235
  },
1236
+ "meta": {
1237
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1238
+ "name": "meta",
1239
+ "allowNo": false,
1240
+ "type": "boolean"
1241
+ },
1175
1242
  "show-http-request": {
1176
1243
  "description": "Show HTTP request details (method, URL, body)",
1177
1244
  "name": "show-http-request",
@@ -1229,7 +1296,7 @@
1229
1296
  },
1230
1297
  "output": {
1231
1298
  "char": "o",
1232
- "description": "Output format (default: table for import, json for other commands)",
1299
+ "description": "Output format (default: table for upsert, json for other commands)",
1233
1300
  "name": "output",
1234
1301
  "hasDynamicHelp": false,
1235
1302
  "multiple": false,
@@ -1339,6 +1406,12 @@
1339
1406
  "allowNo": false,
1340
1407
  "type": "boolean"
1341
1408
  },
1409
+ "meta": {
1410
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1411
+ "name": "meta",
1412
+ "allowNo": false,
1413
+ "type": "boolean"
1414
+ },
1342
1415
  "show-http-request": {
1343
1416
  "description": "Show HTTP request details (method, URL, body)",
1344
1417
  "name": "show-http-request",
@@ -1365,7 +1438,7 @@
1365
1438
  "aliases": [],
1366
1439
  "args": {
1367
1440
  "action": {
1368
- "description": "Action: list, create, get, update, delete, submit, list-attempts, list-items, payload, import, export",
1441
+ "description": "Action: list, create, get, update, delete, submit, list-attempts, list-items, payload, upsert, export",
1369
1442
  "name": "action",
1370
1443
  "required": true
1371
1444
  },
@@ -1381,7 +1454,7 @@
1381
1454
  "<%= config.bin %> async-jobs get <id>",
1382
1455
  "<%= config.bin %> async-jobs create --data '{...}'",
1383
1456
  "<%= config.bin %> async-jobs update <id> --set field=value",
1384
- "<%= config.bin %> async-jobs import --file data.json",
1457
+ "<%= config.bin %> async-jobs upsert --file data.json",
1385
1458
  "<%= config.bin %> async-jobs export --csv > async-jobs.csv"
1386
1459
  ],
1387
1460
  "flags": {
@@ -1399,7 +1472,7 @@
1399
1472
  },
1400
1473
  "output": {
1401
1474
  "char": "o",
1402
- "description": "Output format (default: table for import, json for other commands)",
1475
+ "description": "Output format (default: table for upsert, json for other commands)",
1403
1476
  "name": "output",
1404
1477
  "hasDynamicHelp": false,
1405
1478
  "multiple": false,
@@ -1509,6 +1582,12 @@
1509
1582
  "allowNo": false,
1510
1583
  "type": "boolean"
1511
1584
  },
1585
+ "meta": {
1586
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1587
+ "name": "meta",
1588
+ "allowNo": false,
1589
+ "type": "boolean"
1590
+ },
1512
1591
  "show-http-request": {
1513
1592
  "description": "Show HTTP request details (method, URL, body)",
1514
1593
  "name": "show-http-request",
@@ -1566,7 +1645,7 @@
1566
1645
  },
1567
1646
  "output": {
1568
1647
  "char": "o",
1569
- "description": "Output format (default: table for import, json for other commands)",
1648
+ "description": "Output format (default: table for upsert, json for other commands)",
1570
1649
  "name": "output",
1571
1650
  "hasDynamicHelp": false,
1572
1651
  "multiple": false,
@@ -1676,6 +1755,12 @@
1676
1755
  "allowNo": false,
1677
1756
  "type": "boolean"
1678
1757
  },
1758
+ "meta": {
1759
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
1760
+ "name": "meta",
1761
+ "allowNo": false,
1762
+ "type": "boolean"
1763
+ },
1679
1764
  "show-http-request": {
1680
1765
  "description": "Show HTTP request details (method, URL, body)",
1681
1766
  "name": "show-http-request",
@@ -1852,7 +1937,7 @@
1852
1937
  "aliases": [],
1853
1938
  "args": {
1854
1939
  "action": {
1855
- "description": "Action: list, create, get, update, delete, get-balances, get-balances-latest, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, list-daily-balances, import, export, import-ledger-mappings, import-notes",
1940
+ "description": "Action: list, create, get, update, delete, get-balances, get-balances-latest, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, list-notes, create-notes, get-notes, update-notes, delete-notes, list-daily-balances, upsert, export, upsert-ledger-mappings, upsert-notes",
1856
1941
  "name": "action",
1857
1942
  "required": true
1858
1943
  },
@@ -1868,7 +1953,7 @@
1868
1953
  "<%= config.bin %> bank-accounts get <id>",
1869
1954
  "<%= config.bin %> bank-accounts create --data '{...}'",
1870
1955
  "<%= config.bin %> bank-accounts update <id> --set field=value",
1871
- "<%= config.bin %> bank-accounts import --file data.json",
1956
+ "<%= config.bin %> bank-accounts upsert --file data.json",
1872
1957
  "<%= config.bin %> bank-accounts export --csv > bank-accounts.csv"
1873
1958
  ],
1874
1959
  "flags": {
@@ -1886,7 +1971,7 @@
1886
1971
  },
1887
1972
  "output": {
1888
1973
  "char": "o",
1889
- "description": "Output format (default: table for import, json for other commands)",
1974
+ "description": "Output format (default: table for upsert, json for other commands)",
1890
1975
  "name": "output",
1891
1976
  "hasDynamicHelp": false,
1892
1977
  "multiple": false,
@@ -2010,6 +2095,12 @@
2010
2095
  "allowNo": false,
2011
2096
  "type": "boolean"
2012
2097
  },
2098
+ "meta": {
2099
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
2100
+ "name": "meta",
2101
+ "allowNo": false,
2102
+ "type": "boolean"
2103
+ },
2013
2104
  "show-http-request": {
2014
2105
  "description": "Show HTTP request details (method, URL, body)",
2015
2106
  "name": "show-http-request",
@@ -2036,7 +2127,7 @@
2036
2127
  "aliases": [],
2037
2128
  "args": {
2038
2129
  "action": {
2039
- "description": "Action: initiate, providers-supported, providers-consent-status, delete-providers-consent, list, create, get, update, delete, log, list-account-statement-runs, trigger-account-statement-runs, get-account-statement-runs, account-statement-runs-files, trigger-account-statement-runs-reimport, account-statement-runs-files-download, list-all, list-statements, statements, download-statements-xml, import, export",
2130
+ "description": "Action: initiate, providers-supported, providers-consent-status, delete-providers-consent, list, create, get, update, delete, log, list-account-statement-runs, trigger-account-statement-runs, get-account-statement-runs, account-statement-runs-files, trigger-account-statement-runs-reimport, account-statement-runs-files-download, list-all, list-statements, statements, download-statements-xml, upsert, export",
2040
2131
  "name": "action",
2041
2132
  "required": true
2042
2133
  },
@@ -2052,7 +2143,7 @@
2052
2143
  "<%= config.bin %> bank-integrations get <id>",
2053
2144
  "<%= config.bin %> bank-integrations create --data '{...}'",
2054
2145
  "<%= config.bin %> bank-integrations update <id> --set field=value",
2055
- "<%= config.bin %> bank-integrations import --file data.json",
2146
+ "<%= config.bin %> bank-integrations upsert --file data.json",
2056
2147
  "<%= config.bin %> bank-integrations export --csv > bank-integrations.csv"
2057
2148
  ],
2058
2149
  "flags": {
@@ -2070,7 +2161,7 @@
2070
2161
  },
2071
2162
  "output": {
2072
2163
  "char": "o",
2073
- "description": "Output format (default: table for import, json for other commands)",
2164
+ "description": "Output format (default: table for upsert, json for other commands)",
2074
2165
  "name": "output",
2075
2166
  "hasDynamicHelp": false,
2076
2167
  "multiple": false,
@@ -2201,6 +2292,12 @@
2201
2292
  "allowNo": false,
2202
2293
  "type": "boolean"
2203
2294
  },
2295
+ "meta": {
2296
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
2297
+ "name": "meta",
2298
+ "allowNo": false,
2299
+ "type": "boolean"
2300
+ },
2204
2301
  "show-http-request": {
2205
2302
  "description": "Show HTTP request details (method, URL, body)",
2206
2303
  "name": "show-http-request",
@@ -2227,7 +2324,7 @@
2227
2324
  "aliases": [],
2228
2325
  "args": {
2229
2326
  "action": {
2230
- "description": "Action: list, create, match-candidates, get, update, delete, merge, activate, get-favicon, update-favicon, trigger-favicon-backfill, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, list-contacts, create-contacts, get-contacts, update-contacts, delete-contacts, list-contacts-notes, create-contacts-notes, get-contacts-notes, update-contacts-notes, delete-contacts-notes, import, export, import-notes, import-files, import-contacts, import-contacts-notes",
2327
+ "description": "Action: list, create, match-candidates, get, update, delete, merge, activate, get-favicon, update-favicon, trigger-favicon-backfill, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, list-contacts, create-contacts, get-contacts, update-contacts, delete-contacts, list-contacts-notes, create-contacts-notes, get-contacts-notes, update-contacts-notes, delete-contacts-notes, list-beneficiary-accounts, create-beneficiary-accounts, get-beneficiary-accounts, update-beneficiary-accounts, delete-beneficiary-accounts, beneficiary-accounts-approve, beneficiary-accounts-retire, beneficiary-accounts-reactivate, beneficiary-accounts-default, upsert, export, upsert-notes, upsert-files, upsert-contacts, upsert-contacts-notes, upsert-beneficiary-accounts",
2231
2328
  "name": "action",
2232
2329
  "required": true
2233
2330
  },
@@ -2243,7 +2340,7 @@
2243
2340
  "<%= config.bin %> business-partners get <id>",
2244
2341
  "<%= config.bin %> business-partners create --data '{...}'",
2245
2342
  "<%= config.bin %> business-partners update <id> --set field=value",
2246
- "<%= config.bin %> business-partners import --file data.json",
2343
+ "<%= config.bin %> business-partners upsert --file data.json",
2247
2344
  "<%= config.bin %> business-partners export --csv > business-partners.csv"
2248
2345
  ],
2249
2346
  "flags": {
@@ -2261,7 +2358,7 @@
2261
2358
  },
2262
2359
  "output": {
2263
2360
  "char": "o",
2264
- "description": "Output format (default: table for import, json for other commands)",
2361
+ "description": "Output format (default: table for upsert, json for other commands)",
2265
2362
  "name": "output",
2266
2363
  "hasDynamicHelp": false,
2267
2364
  "multiple": false,
@@ -2330,6 +2427,13 @@
2330
2427
  "multiple": false,
2331
2428
  "type": "option"
2332
2429
  },
2430
+ "id": {
2431
+ "description": "Path param: id",
2432
+ "name": "id",
2433
+ "hasDynamicHelp": false,
2434
+ "multiple": false,
2435
+ "type": "option"
2436
+ },
2333
2437
  "page": {
2334
2438
  "description": "Page number",
2335
2439
  "name": "page",
@@ -2392,6 +2496,12 @@
2392
2496
  "allowNo": false,
2393
2497
  "type": "boolean"
2394
2498
  },
2499
+ "meta": {
2500
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
2501
+ "name": "meta",
2502
+ "allowNo": false,
2503
+ "type": "boolean"
2504
+ },
2395
2505
  "show-http-request": {
2396
2506
  "description": "Show HTTP request details (method, URL, body)",
2397
2507
  "name": "show-http-request",
@@ -2418,7 +2528,7 @@
2418
2528
  "aliases": [],
2419
2529
  "args": {
2420
2530
  "action": {
2421
- "description": "Action: create, get, get-all, update, delete, stream, token-refresh, import",
2531
+ "description": "Action: create, get, get-all, update, delete, stream, token-refresh, upsert",
2422
2532
  "name": "action",
2423
2533
  "required": true
2424
2534
  },
@@ -2433,7 +2543,7 @@
2433
2543
  "<%= config.bin %> chat get <id>",
2434
2544
  "<%= config.bin %> chat create --data '{...}'",
2435
2545
  "<%= config.bin %> chat update <id> --set field=value",
2436
- "<%= config.bin %> chat import --file data.json"
2546
+ "<%= config.bin %> chat upsert --file data.json"
2437
2547
  ],
2438
2548
  "flags": {
2439
2549
  "context": {
@@ -2450,7 +2560,7 @@
2450
2560
  },
2451
2561
  "output": {
2452
2562
  "char": "o",
2453
- "description": "Output format (default: table for import, json for other commands)",
2563
+ "description": "Output format (default: table for upsert, json for other commands)",
2454
2564
  "name": "output",
2455
2565
  "hasDynamicHelp": false,
2456
2566
  "multiple": false,
@@ -2560,6 +2670,12 @@
2560
2670
  "allowNo": false,
2561
2671
  "type": "boolean"
2562
2672
  },
2673
+ "meta": {
2674
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
2675
+ "name": "meta",
2676
+ "allowNo": false,
2677
+ "type": "boolean"
2678
+ },
2563
2679
  "show-http-request": {
2564
2680
  "description": "Show HTTP request details (method, URL, body)",
2565
2681
  "name": "show-http-request",
@@ -2586,7 +2702,7 @@
2586
2702
  "aliases": [],
2587
2703
  "args": {
2588
2704
  "action": {
2589
- "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, export, import-ledger-mappings, import-notes, import-cards",
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",
2590
2706
  "name": "action",
2591
2707
  "required": true
2592
2708
  },
@@ -2602,7 +2718,7 @@
2602
2718
  "<%= config.bin %> credit-card-accounts get <id>",
2603
2719
  "<%= config.bin %> credit-card-accounts create --data '{...}'",
2604
2720
  "<%= config.bin %> credit-card-accounts update <id> --set field=value",
2605
- "<%= config.bin %> credit-card-accounts import --file data.json",
2721
+ "<%= config.bin %> credit-card-accounts upsert --file data.json",
2606
2722
  "<%= config.bin %> credit-card-accounts export --csv > credit-card-accounts.csv"
2607
2723
  ],
2608
2724
  "flags": {
@@ -2620,7 +2736,7 @@
2620
2736
  },
2621
2737
  "output": {
2622
2738
  "char": "o",
2623
- "description": "Output format (default: table for import, json for other commands)",
2739
+ "description": "Output format (default: table for upsert, json for other commands)",
2624
2740
  "name": "output",
2625
2741
  "hasDynamicHelp": false,
2626
2742
  "multiple": false,
@@ -2751,6 +2867,12 @@
2751
2867
  "allowNo": false,
2752
2868
  "type": "boolean"
2753
2869
  },
2870
+ "meta": {
2871
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
2872
+ "name": "meta",
2873
+ "allowNo": false,
2874
+ "type": "boolean"
2875
+ },
2754
2876
  "show-http-request": {
2755
2877
  "description": "Show HTTP request details (method, URL, body)",
2756
2878
  "name": "show-http-request",
@@ -2777,7 +2899,7 @@
2777
2899
  "aliases": [],
2778
2900
  "args": {
2779
2901
  "action": {
2780
- "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, import, export, import-line-items, import-notes, import-files",
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",
2781
2903
  "name": "action",
2782
2904
  "required": true
2783
2905
  },
@@ -2793,7 +2915,7 @@
2793
2915
  "<%= config.bin %> delivery-notes get <id>",
2794
2916
  "<%= config.bin %> delivery-notes create --data '{...}'",
2795
2917
  "<%= config.bin %> delivery-notes update <id> --set field=value",
2796
- "<%= config.bin %> delivery-notes import --file data.json",
2918
+ "<%= config.bin %> delivery-notes upsert --file data.json",
2797
2919
  "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
2798
2920
  ],
2799
2921
  "flags": {
@@ -2811,7 +2933,7 @@
2811
2933
  },
2812
2934
  "output": {
2813
2935
  "char": "o",
2814
- "description": "Output format (default: table for import, json for other commands)",
2936
+ "description": "Output format (default: table for upsert, json for other commands)",
2815
2937
  "name": "output",
2816
2938
  "hasDynamicHelp": false,
2817
2939
  "multiple": false,
@@ -2942,6 +3064,12 @@
2942
3064
  "allowNo": false,
2943
3065
  "type": "boolean"
2944
3066
  },
3067
+ "meta": {
3068
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3069
+ "name": "meta",
3070
+ "allowNo": false,
3071
+ "type": "boolean"
3072
+ },
2945
3073
  "show-http-request": {
2946
3074
  "description": "Show HTTP request details (method, URL, body)",
2947
3075
  "name": "show-http-request",
@@ -2968,7 +3096,7 @@
2968
3096
  "aliases": [],
2969
3097
  "args": {
2970
3098
  "action": {
2971
- "description": "Action: list, create, get, update, delete, import, export",
3099
+ "description": "Action: list, create, get, update, delete, upsert, export",
2972
3100
  "name": "action",
2973
3101
  "required": true
2974
3102
  },
@@ -2984,7 +3112,7 @@
2984
3112
  "<%= config.bin %> dunning-configs get <id>",
2985
3113
  "<%= config.bin %> dunning-configs create --data '{...}'",
2986
3114
  "<%= config.bin %> dunning-configs update <id> --set field=value",
2987
- "<%= config.bin %> dunning-configs import --file data.json",
3115
+ "<%= config.bin %> dunning-configs upsert --file data.json",
2988
3116
  "<%= config.bin %> dunning-configs export --csv > dunning-configs.csv"
2989
3117
  ],
2990
3118
  "flags": {
@@ -3002,7 +3130,7 @@
3002
3130
  },
3003
3131
  "output": {
3004
3132
  "char": "o",
3005
- "description": "Output format (default: table for import, json for other commands)",
3133
+ "description": "Output format (default: table for upsert, json for other commands)",
3006
3134
  "name": "output",
3007
3135
  "hasDynamicHelp": false,
3008
3136
  "multiple": false,
@@ -3112,6 +3240,12 @@
3112
3240
  "allowNo": false,
3113
3241
  "type": "boolean"
3114
3242
  },
3243
+ "meta": {
3244
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3245
+ "name": "meta",
3246
+ "allowNo": false,
3247
+ "type": "boolean"
3248
+ },
3115
3249
  "show-http-request": {
3116
3250
  "description": "Show HTTP request details (method, URL, body)",
3117
3251
  "name": "show-http-request",
@@ -3170,7 +3304,7 @@
3170
3304
  },
3171
3305
  "output": {
3172
3306
  "char": "o",
3173
- "description": "Output format (default: table for import, json for other commands)",
3307
+ "description": "Output format (default: table for upsert, json for other commands)",
3174
3308
  "name": "output",
3175
3309
  "hasDynamicHelp": false,
3176
3310
  "multiple": false,
@@ -3280,6 +3414,12 @@
3280
3414
  "allowNo": false,
3281
3415
  "type": "boolean"
3282
3416
  },
3417
+ "meta": {
3418
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3419
+ "name": "meta",
3420
+ "allowNo": false,
3421
+ "type": "boolean"
3422
+ },
3283
3423
  "show-http-request": {
3284
3424
  "description": "Show HTTP request details (method, URL, body)",
3285
3425
  "name": "show-http-request",
@@ -3333,7 +3473,7 @@
3333
3473
  },
3334
3474
  "output": {
3335
3475
  "char": "o",
3336
- "description": "Output format (default: table for import, json for other commands)",
3476
+ "description": "Output format (default: table for upsert, json for other commands)",
3337
3477
  "name": "output",
3338
3478
  "hasDynamicHelp": false,
3339
3479
  "multiple": false,
@@ -3443,6 +3583,12 @@
3443
3583
  "allowNo": false,
3444
3584
  "type": "boolean"
3445
3585
  },
3586
+ "meta": {
3587
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3588
+ "name": "meta",
3589
+ "allowNo": false,
3590
+ "type": "boolean"
3591
+ },
3446
3592
  "show-http-request": {
3447
3593
  "description": "Show HTTP request details (method, URL, body)",
3448
3594
  "name": "show-http-request",
@@ -3500,7 +3646,7 @@
3500
3646
  },
3501
3647
  "output": {
3502
3648
  "char": "o",
3503
- "description": "Output format (default: table for import, json for other commands)",
3649
+ "description": "Output format (default: table for upsert, json for other commands)",
3504
3650
  "name": "output",
3505
3651
  "hasDynamicHelp": false,
3506
3652
  "multiple": false,
@@ -3610,6 +3756,12 @@
3610
3756
  "allowNo": false,
3611
3757
  "type": "boolean"
3612
3758
  },
3759
+ "meta": {
3760
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3761
+ "name": "meta",
3762
+ "allowNo": false,
3763
+ "type": "boolean"
3764
+ },
3613
3765
  "show-http-request": {
3614
3766
  "description": "Show HTTP request details (method, URL, body)",
3615
3767
  "name": "show-http-request",
@@ -3636,7 +3788,7 @@
3636
3788
  "aliases": [],
3637
3789
  "args": {
3638
3790
  "action": {
3639
- "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, import, export, import-salaries, import-payments, import-notes, import-files, import-salary-payment-files",
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",
3640
3792
  "name": "action",
3641
3793
  "required": true
3642
3794
  },
@@ -3652,7 +3804,7 @@
3652
3804
  "<%= config.bin %> employees get <id>",
3653
3805
  "<%= config.bin %> employees create --data '{...}'",
3654
3806
  "<%= config.bin %> employees update <id> --set field=value",
3655
- "<%= config.bin %> employees import --file data.json",
3807
+ "<%= config.bin %> employees upsert --file data.json",
3656
3808
  "<%= config.bin %> employees export --csv > employees.csv"
3657
3809
  ],
3658
3810
  "flags": {
@@ -3670,7 +3822,7 @@
3670
3822
  },
3671
3823
  "output": {
3672
3824
  "char": "o",
3673
- "description": "Output format (default: table for import, json for other commands)",
3825
+ "description": "Output format (default: table for upsert, json for other commands)",
3674
3826
  "name": "output",
3675
3827
  "hasDynamicHelp": false,
3676
3828
  "multiple": false,
@@ -3746,6 +3898,20 @@
3746
3898
  "multiple": false,
3747
3899
  "type": "option"
3748
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
+ },
3749
3915
  "page": {
3750
3916
  "description": "Page number",
3751
3917
  "name": "page",
@@ -3808,6 +3974,12 @@
3808
3974
  "allowNo": false,
3809
3975
  "type": "boolean"
3810
3976
  },
3977
+ "meta": {
3978
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
3979
+ "name": "meta",
3980
+ "allowNo": false,
3981
+ "type": "boolean"
3982
+ },
3811
3983
  "show-http-request": {
3812
3984
  "description": "Show HTTP request details (method, URL, body)",
3813
3985
  "name": "show-http-request",
@@ -3834,7 +4006,176 @@
3834
4006
  "aliases": [],
3835
4007
  "args": {
3836
4008
  "action": {
3837
- "description": "Action: list-entities, get-entities, update-entities",
4009
+ "description": "Action: list-entities, get-entities, update-entities",
4010
+ "name": "action",
4011
+ "required": true
4012
+ },
4013
+ "id": {
4014
+ "description": "Resource ID (for get, update, delete operations)",
4015
+ "name": "id",
4016
+ "required": false
4017
+ }
4018
+ },
4019
+ "description": "Manage entity configurations",
4020
+ "examples": [],
4021
+ "flags": {
4022
+ "context": {
4023
+ "aliases": [
4024
+ "config"
4025
+ ],
4026
+ "char": "c",
4027
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4028
+ "env": "ADERIS_CONTEXT",
4029
+ "name": "context",
4030
+ "hasDynamicHelp": false,
4031
+ "multiple": false,
4032
+ "type": "option"
4033
+ },
4034
+ "output": {
4035
+ "char": "o",
4036
+ "description": "Output format (default: table for upsert, json for other commands)",
4037
+ "name": "output",
4038
+ "hasDynamicHelp": false,
4039
+ "multiple": false,
4040
+ "options": [
4041
+ "json",
4042
+ "table",
4043
+ "csv"
4044
+ ],
4045
+ "type": "option"
4046
+ },
4047
+ "table": {
4048
+ "char": "t",
4049
+ "description": "Output as table (shortcut for --output table)",
4050
+ "name": "table",
4051
+ "allowNo": false,
4052
+ "type": "boolean"
4053
+ },
4054
+ "csv": {
4055
+ "description": "Output as CSV (shortcut for --output csv)",
4056
+ "name": "csv",
4057
+ "allowNo": false,
4058
+ "type": "boolean"
4059
+ },
4060
+ "data": {
4061
+ "char": "d",
4062
+ "description": "JSON data for request body",
4063
+ "name": "data",
4064
+ "hasDynamicHelp": false,
4065
+ "multiple": false,
4066
+ "type": "option"
4067
+ },
4068
+ "file": {
4069
+ "char": "f",
4070
+ "description": "Read request body from file",
4071
+ "name": "file",
4072
+ "hasDynamicHelp": false,
4073
+ "multiple": false,
4074
+ "type": "option"
4075
+ },
4076
+ "set": {
4077
+ "char": "s",
4078
+ "description": "Set individual field (e.g. --set firstName=John)",
4079
+ "name": "set",
4080
+ "hasDynamicHelp": false,
4081
+ "multiple": true,
4082
+ "type": "option"
4083
+ },
4084
+ "page": {
4085
+ "description": "Page number",
4086
+ "name": "page",
4087
+ "hasDynamicHelp": false,
4088
+ "multiple": false,
4089
+ "type": "option"
4090
+ },
4091
+ "limit": {
4092
+ "description": "Items per page",
4093
+ "name": "limit",
4094
+ "hasDynamicHelp": false,
4095
+ "multiple": false,
4096
+ "type": "option"
4097
+ },
4098
+ "include": {
4099
+ "description": "Relations to include",
4100
+ "name": "include",
4101
+ "hasDynamicHelp": false,
4102
+ "multiple": false,
4103
+ "type": "option"
4104
+ },
4105
+ "search": {
4106
+ "description": "Search term",
4107
+ "name": "search",
4108
+ "hasDynamicHelp": false,
4109
+ "multiple": false,
4110
+ "type": "option"
4111
+ },
4112
+ "sort-by": {
4113
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4114
+ "name": "sort-by",
4115
+ "hasDynamicHelp": false,
4116
+ "multiple": false,
4117
+ "type": "option"
4118
+ },
4119
+ "filter": {
4120
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4121
+ "name": "filter",
4122
+ "hasDynamicHelp": false,
4123
+ "multiple": true,
4124
+ "type": "option"
4125
+ },
4126
+ "query": {
4127
+ "description": "Additional query params as JSON",
4128
+ "name": "query",
4129
+ "hasDynamicHelp": false,
4130
+ "multiple": false,
4131
+ "type": "option"
4132
+ },
4133
+ "fields": {
4134
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4135
+ "name": "fields",
4136
+ "hasDynamicHelp": false,
4137
+ "multiple": false,
4138
+ "type": "option"
4139
+ },
4140
+ "sanitize": {
4141
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4142
+ "name": "sanitize",
4143
+ "allowNo": false,
4144
+ "type": "boolean"
4145
+ },
4146
+ "meta": {
4147
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4148
+ "name": "meta",
4149
+ "allowNo": false,
4150
+ "type": "boolean"
4151
+ },
4152
+ "show-http-request": {
4153
+ "description": "Show HTTP request details (method, URL, body)",
4154
+ "name": "show-http-request",
4155
+ "allowNo": false,
4156
+ "type": "boolean"
4157
+ }
4158
+ },
4159
+ "hasDynamicHelp": false,
4160
+ "hiddenAliases": [],
4161
+ "id": "entity-configurations",
4162
+ "pluginAlias": "@aderis-erp/cli",
4163
+ "pluginName": "@aderis-erp/cli",
4164
+ "pluginType": "core",
4165
+ "strict": true,
4166
+ "enableJsonFlag": false,
4167
+ "isESM": true,
4168
+ "relativePath": [
4169
+ "dist",
4170
+ "commands",
4171
+ "entity-configurations.js"
4172
+ ]
4173
+ },
4174
+ "event-mapping-rules": {
4175
+ "aliases": [],
4176
+ "args": {
4177
+ "action": {
4178
+ "description": "Action: fields",
3838
4179
  "name": "action",
3839
4180
  "required": true
3840
4181
  },
@@ -3844,7 +4185,7 @@
3844
4185
  "required": false
3845
4186
  }
3846
4187
  },
3847
- "description": "Manage entity configurations",
4188
+ "description": "Manage event mapping rules",
3848
4189
  "examples": [],
3849
4190
  "flags": {
3850
4191
  "context": {
@@ -3861,7 +4202,7 @@
3861
4202
  },
3862
4203
  "output": {
3863
4204
  "char": "o",
3864
- "description": "Output format (default: table for import, json for other commands)",
4205
+ "description": "Output format (default: table for upsert, json for other commands)",
3865
4206
  "name": "output",
3866
4207
  "hasDynamicHelp": false,
3867
4208
  "multiple": false,
@@ -3971,6 +4312,12 @@
3971
4312
  "allowNo": false,
3972
4313
  "type": "boolean"
3973
4314
  },
4315
+ "meta": {
4316
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4317
+ "name": "meta",
4318
+ "allowNo": false,
4319
+ "type": "boolean"
4320
+ },
3974
4321
  "show-http-request": {
3975
4322
  "description": "Show HTTP request details (method, URL, body)",
3976
4323
  "name": "show-http-request",
@@ -3980,7 +4327,7 @@
3980
4327
  },
3981
4328
  "hasDynamicHelp": false,
3982
4329
  "hiddenAliases": [],
3983
- "id": "entity-configurations",
4330
+ "id": "event-mapping-rules",
3984
4331
  "pluginAlias": "@aderis-erp/cli",
3985
4332
  "pluginName": "@aderis-erp/cli",
3986
4333
  "pluginType": "core",
@@ -3990,14 +4337,14 @@
3990
4337
  "relativePath": [
3991
4338
  "dist",
3992
4339
  "commands",
3993
- "entity-configurations.js"
4340
+ "event-mapping-rules.js"
3994
4341
  ]
3995
4342
  },
3996
4343
  "event-processor-mappings": {
3997
4344
  "aliases": [],
3998
4345
  "args": {
3999
4346
  "action": {
4000
- "description": "Action: events, list, create, update, delete, import, export",
4347
+ "description": "Action: events, list, create, update, delete, upsert, export",
4001
4348
  "name": "action",
4002
4349
  "required": true
4003
4350
  },
@@ -4012,7 +4359,7 @@
4012
4359
  "<%= config.bin %> event-processor-mappings list",
4013
4360
  "<%= config.bin %> event-processor-mappings create --data '{...}'",
4014
4361
  "<%= config.bin %> event-processor-mappings update <id> --set field=value",
4015
- "<%= config.bin %> event-processor-mappings import --file data.json",
4362
+ "<%= config.bin %> event-processor-mappings upsert --file data.json",
4016
4363
  "<%= config.bin %> event-processor-mappings export --csv > event-processor-mappings.csv"
4017
4364
  ],
4018
4365
  "flags": {
@@ -4030,7 +4377,7 @@
4030
4377
  },
4031
4378
  "output": {
4032
4379
  "char": "o",
4033
- "description": "Output format (default: table for import, json for other commands)",
4380
+ "description": "Output format (default: table for upsert, json for other commands)",
4034
4381
  "name": "output",
4035
4382
  "hasDynamicHelp": false,
4036
4383
  "multiple": false,
@@ -4140,6 +4487,12 @@
4140
4487
  "allowNo": false,
4141
4488
  "type": "boolean"
4142
4489
  },
4490
+ "meta": {
4491
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4492
+ "name": "meta",
4493
+ "allowNo": false,
4494
+ "type": "boolean"
4495
+ },
4143
4496
  "show-http-request": {
4144
4497
  "description": "Show HTTP request details (method, URL, body)",
4145
4498
  "name": "show-http-request",
@@ -4166,7 +4519,7 @@
4166
4519
  "aliases": [],
4167
4520
  "args": {
4168
4521
  "action": {
4169
- "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, import, export",
4522
+ "description": "Action: list, create, download-all, download, get, references, update, discard, move, retention, hold, reclassify, upsert, export",
4170
4523
  "name": "action",
4171
4524
  "required": true
4172
4525
  },
@@ -4182,7 +4535,7 @@
4182
4535
  "<%= config.bin %> files get <id>",
4183
4536
  "<%= config.bin %> files create --data '{...}'",
4184
4537
  "<%= config.bin %> files update <id> --set field=value",
4185
- "<%= config.bin %> files import --file data.json",
4538
+ "<%= config.bin %> files upsert --file data.json",
4186
4539
  "<%= config.bin %> files export --csv > files.csv"
4187
4540
  ],
4188
4541
  "flags": {
@@ -4200,7 +4553,7 @@
4200
4553
  },
4201
4554
  "output": {
4202
4555
  "char": "o",
4203
- "description": "Output format (default: table for import, json for other commands)",
4556
+ "description": "Output format (default: table for upsert, json for other commands)",
4204
4557
  "name": "output",
4205
4558
  "hasDynamicHelp": false,
4206
4559
  "multiple": false,
@@ -4310,6 +4663,12 @@
4310
4663
  "allowNo": false,
4311
4664
  "type": "boolean"
4312
4665
  },
4666
+ "meta": {
4667
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4668
+ "name": "meta",
4669
+ "allowNo": false,
4670
+ "type": "boolean"
4671
+ },
4313
4672
  "show-http-request": {
4314
4673
  "description": "Show HTTP request details (method, URL, body)",
4315
4674
  "name": "show-http-request",
@@ -4365,7 +4724,7 @@
4365
4724
  },
4366
4725
  "output": {
4367
4726
  "char": "o",
4368
- "description": "Output format (default: table for import, json for other commands)",
4727
+ "description": "Output format (default: table for upsert, json for other commands)",
4369
4728
  "name": "output",
4370
4729
  "hasDynamicHelp": false,
4371
4730
  "multiple": false,
@@ -4475,6 +4834,12 @@
4475
4834
  "allowNo": false,
4476
4835
  "type": "boolean"
4477
4836
  },
4837
+ "meta": {
4838
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
4839
+ "name": "meta",
4840
+ "allowNo": false,
4841
+ "type": "boolean"
4842
+ },
4478
4843
  "show-http-request": {
4479
4844
  "description": "Show HTTP request details (method, URL, body)",
4480
4845
  "name": "show-http-request",
@@ -4501,7 +4866,7 @@
4501
4866
  "aliases": [],
4502
4867
  "args": {
4503
4868
  "action": {
4504
- "description": "Action: list, create, get, delete, export",
4869
+ "description": "Action: list, get, delete, export",
4505
4870
  "name": "action",
4506
4871
  "required": true
4507
4872
  },
@@ -4515,7 +4880,6 @@
4515
4880
  "examples": [
4516
4881
  "<%= config.bin %> imports list",
4517
4882
  "<%= config.bin %> imports get <id>",
4518
- "<%= config.bin %> imports create --data '{...}'",
4519
4883
  "<%= config.bin %> imports export --csv > imports.csv"
4520
4884
  ],
4521
4885
  "flags": {
@@ -4533,7 +4897,7 @@
4533
4897
  },
4534
4898
  "output": {
4535
4899
  "char": "o",
4536
- "description": "Output format (default: table for import, json for other commands)",
4900
+ "description": "Output format (default: table for upsert, json for other commands)",
4537
4901
  "name": "output",
4538
4902
  "hasDynamicHelp": false,
4539
4903
  "multiple": false,
@@ -4643,6 +5007,12 @@
4643
5007
  "allowNo": false,
4644
5008
  "type": "boolean"
4645
5009
  },
5010
+ "meta": {
5011
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5012
+ "name": "meta",
5013
+ "allowNo": false,
5014
+ "type": "boolean"
5015
+ },
4646
5016
  "show-http-request": {
4647
5017
  "description": "Show HTTP request details (method, URL, body)",
4648
5018
  "name": "show-http-request",
@@ -4669,7 +5039,7 @@
4669
5039
  "aliases": [],
4670
5040
  "args": {
4671
5041
  "action": {
4672
- "description": "Action: create-upload, email-webhook, document-types, uploads-files-content, import, list-processing-logs, processing-logs",
5042
+ "description": "Action: create-upload, email-webhook, document-types, uploads-files-content, list-processing-logs, processing-logs",
4673
5043
  "name": "action",
4674
5044
  "required": true
4675
5045
  },
@@ -4696,7 +5066,7 @@
4696
5066
  },
4697
5067
  "output": {
4698
5068
  "char": "o",
4699
- "description": "Output format (default: table for import, json for other commands)",
5069
+ "description": "Output format (default: table for upsert, json for other commands)",
4700
5070
  "name": "output",
4701
5071
  "hasDynamicHelp": false,
4702
5072
  "multiple": false,
@@ -4813,6 +5183,12 @@
4813
5183
  "allowNo": false,
4814
5184
  "type": "boolean"
4815
5185
  },
5186
+ "meta": {
5187
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5188
+ "name": "meta",
5189
+ "allowNo": false,
5190
+ "type": "boolean"
5191
+ },
4816
5192
  "show-http-request": {
4817
5193
  "description": "Show HTTP request details (method, URL, body)",
4818
5194
  "name": "show-http-request",
@@ -4866,7 +5242,7 @@
4866
5242
  },
4867
5243
  "output": {
4868
5244
  "char": "o",
4869
- "description": "Output format (default: table for import, json for other commands)",
5245
+ "description": "Output format (default: table for upsert, json for other commands)",
4870
5246
  "name": "output",
4871
5247
  "hasDynamicHelp": false,
4872
5248
  "multiple": false,
@@ -4983,6 +5359,12 @@
4983
5359
  "allowNo": false,
4984
5360
  "type": "boolean"
4985
5361
  },
5362
+ "meta": {
5363
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5364
+ "name": "meta",
5365
+ "allowNo": false,
5366
+ "type": "boolean"
5367
+ },
4986
5368
  "show-http-request": {
4987
5369
  "description": "Show HTTP request details (method, URL, body)",
4988
5370
  "name": "show-http-request",
@@ -5039,7 +5421,7 @@
5039
5421
  },
5040
5422
  "output": {
5041
5423
  "char": "o",
5042
- "description": "Output format (default: table for import, json for other commands)",
5424
+ "description": "Output format (default: table for upsert, json for other commands)",
5043
5425
  "name": "output",
5044
5426
  "hasDynamicHelp": false,
5045
5427
  "multiple": false,
@@ -5156,6 +5538,12 @@
5156
5538
  "allowNo": false,
5157
5539
  "type": "boolean"
5158
5540
  },
5541
+ "meta": {
5542
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5543
+ "name": "meta",
5544
+ "allowNo": false,
5545
+ "type": "boolean"
5546
+ },
5159
5547
  "show-http-request": {
5160
5548
  "description": "Show HTTP request details (method, URL, body)",
5161
5549
  "name": "show-http-request",
@@ -5182,7 +5570,7 @@
5182
5570
  "aliases": [],
5183
5571
  "args": {
5184
5572
  "action": {
5185
- "description": "Action: list, create, get, update, delete, import, export",
5573
+ "description": "Action: list, create, get, update, delete, upsert, export",
5186
5574
  "name": "action",
5187
5575
  "required": true
5188
5576
  },
@@ -5198,7 +5586,7 @@
5198
5586
  "<%= config.bin %> item-categories get <id>",
5199
5587
  "<%= config.bin %> item-categories create --data '{...}'",
5200
5588
  "<%= config.bin %> item-categories update <id> --set field=value",
5201
- "<%= config.bin %> item-categories import --file data.json",
5589
+ "<%= config.bin %> item-categories upsert --file data.json",
5202
5590
  "<%= config.bin %> item-categories export --csv > item-categories.csv"
5203
5591
  ],
5204
5592
  "flags": {
@@ -5216,7 +5604,7 @@
5216
5604
  },
5217
5605
  "output": {
5218
5606
  "char": "o",
5219
- "description": "Output format (default: table for import, json for other commands)",
5607
+ "description": "Output format (default: table for upsert, json for other commands)",
5220
5608
  "name": "output",
5221
5609
  "hasDynamicHelp": false,
5222
5610
  "multiple": false,
@@ -5326,6 +5714,12 @@
5326
5714
  "allowNo": false,
5327
5715
  "type": "boolean"
5328
5716
  },
5717
+ "meta": {
5718
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5719
+ "name": "meta",
5720
+ "allowNo": false,
5721
+ "type": "boolean"
5722
+ },
5329
5723
  "show-http-request": {
5330
5724
  "description": "Show HTTP request details (method, URL, body)",
5331
5725
  "name": "show-http-request",
@@ -5368,7 +5762,7 @@
5368
5762
  "<%= config.bin %> items get <id>",
5369
5763
  "<%= config.bin %> items create --data '{...}'",
5370
5764
  "<%= config.bin %> items update <id> --set field=value",
5371
- "<%= config.bin %> items import --file data.json",
5765
+ "<%= config.bin %> items import --file data.json --mode upsert",
5372
5766
  "<%= config.bin %> items export --csv > items.csv"
5373
5767
  ],
5374
5768
  "flags": {
@@ -5386,7 +5780,7 @@
5386
5780
  },
5387
5781
  "output": {
5388
5782
  "char": "o",
5389
- "description": "Output format (default: table for import, json for other commands)",
5783
+ "description": "Output format (default: table for upsert, json for other commands)",
5390
5784
  "name": "output",
5391
5785
  "hasDynamicHelp": false,
5392
5786
  "multiple": false,
@@ -5434,6 +5828,38 @@
5434
5828
  "multiple": true,
5435
5829
  "type": "option"
5436
5830
  },
5831
+ "mode": {
5832
+ "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
5833
+ "name": "mode",
5834
+ "hasDynamicHelp": false,
5835
+ "multiple": false,
5836
+ "options": [
5837
+ "upsert",
5838
+ "create",
5839
+ "update"
5840
+ ],
5841
+ "type": "option"
5842
+ },
5843
+ "reference": {
5844
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
5845
+ "name": "reference",
5846
+ "hasDynamicHelp": false,
5847
+ "multiple": false,
5848
+ "type": "option"
5849
+ },
5850
+ "async": {
5851
+ "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
5852
+ "name": "async",
5853
+ "allowNo": false,
5854
+ "type": "boolean"
5855
+ },
5856
+ "idempotency-key": {
5857
+ "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
5858
+ "name": "idempotency-key",
5859
+ "hasDynamicHelp": false,
5860
+ "multiple": false,
5861
+ "type": "option"
5862
+ },
5437
5863
  "page": {
5438
5864
  "description": "Page number",
5439
5865
  "name": "page",
@@ -5496,6 +5922,12 @@
5496
5922
  "allowNo": false,
5497
5923
  "type": "boolean"
5498
5924
  },
5925
+ "meta": {
5926
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
5927
+ "name": "meta",
5928
+ "allowNo": false,
5929
+ "type": "boolean"
5930
+ },
5499
5931
  "show-http-request": {
5500
5932
  "description": "Show HTTP request details (method, URL, body)",
5501
5933
  "name": "show-http-request",
@@ -5552,7 +5984,7 @@
5552
5984
  },
5553
5985
  "output": {
5554
5986
  "char": "o",
5555
- "description": "Output format (default: table for import, json for other commands)",
5987
+ "description": "Output format (default: table for upsert, json for other commands)",
5556
5988
  "name": "output",
5557
5989
  "hasDynamicHelp": false,
5558
5990
  "multiple": false,
@@ -5662,6 +6094,12 @@
5662
6094
  "allowNo": false,
5663
6095
  "type": "boolean"
5664
6096
  },
6097
+ "meta": {
6098
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
6099
+ "name": "meta",
6100
+ "allowNo": false,
6101
+ "type": "boolean"
6102
+ },
5665
6103
  "show-http-request": {
5666
6104
  "description": "Show HTTP request details (method, URL, body)",
5667
6105
  "name": "show-http-request",
@@ -5688,7 +6126,7 @@
5688
6126
  "aliases": [],
5689
6127
  "args": {
5690
6128
  "action": {
5691
- "description": "Action: list, create, stats, get, update, delete, post, approve, cancel, reverse, update-lines, get-deferrals, create-deferrals, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-notes, import-files",
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",
5692
6130
  "name": "action",
5693
6131
  "required": true
5694
6132
  },
@@ -5704,7 +6142,7 @@
5704
6142
  "<%= config.bin %> journals get <id>",
5705
6143
  "<%= config.bin %> journals create --data '{...}'",
5706
6144
  "<%= config.bin %> journals update <id> --set field=value",
5707
- "<%= config.bin %> journals import --file data.json",
6145
+ "<%= config.bin %> journals import --file data.json --mode upsert",
5708
6146
  "<%= config.bin %> journals export --csv > journals.csv"
5709
6147
  ],
5710
6148
  "flags": {
@@ -5722,7 +6160,7 @@
5722
6160
  },
5723
6161
  "output": {
5724
6162
  "char": "o",
5725
- "description": "Output format (default: table for import, json for other commands)",
6163
+ "description": "Output format (default: table for upsert, json for other commands)",
5726
6164
  "name": "output",
5727
6165
  "hasDynamicHelp": false,
5728
6166
  "multiple": false,
@@ -5770,6 +6208,38 @@
5770
6208
  "multiple": true,
5771
6209
  "type": "option"
5772
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
+ ],
6221
+ "type": "option"
6222
+ },
6223
+ "reference": {
6224
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
6225
+ "name": "reference",
6226
+ "hasDynamicHelp": false,
6227
+ "multiple": false,
6228
+ "type": "option"
6229
+ },
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",
6239
+ "hasDynamicHelp": false,
6240
+ "multiple": false,
6241
+ "type": "option"
6242
+ },
5773
6243
  "line-id": {
5774
6244
  "description": "Path param: lineId",
5775
6245
  "name": "line-id",
@@ -5853,6 +6323,12 @@
5853
6323
  "allowNo": false,
5854
6324
  "type": "boolean"
5855
6325
  },
6326
+ "meta": {
6327
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
6328
+ "name": "meta",
6329
+ "allowNo": false,
6330
+ "type": "boolean"
6331
+ },
5856
6332
  "show-http-request": {
5857
6333
  "description": "Show HTTP request details (method, URL, body)",
5858
6334
  "name": "show-http-request",
@@ -5879,7 +6355,7 @@
5879
6355
  "aliases": [],
5880
6356
  "args": {
5881
6357
  "action": {
5882
- "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, import, export, import-month-end-closings, import-month-end-closings-accruals, import-month-end-closings-notes, import-notes, import-closings",
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",
5883
6359
  "name": "action",
5884
6360
  "required": true
5885
6361
  },
@@ -5895,7 +6371,7 @@
5895
6371
  "<%= config.bin %> ledgers get <id>",
5896
6372
  "<%= config.bin %> ledgers create --data '{...}'",
5897
6373
  "<%= config.bin %> ledgers update <id> --set field=value",
5898
- "<%= config.bin %> ledgers import --file data.json",
6374
+ "<%= config.bin %> ledgers upsert --file data.json",
5899
6375
  "<%= config.bin %> ledgers export --csv > ledgers.csv"
5900
6376
  ],
5901
6377
  "flags": {
@@ -5913,7 +6389,7 @@
5913
6389
  },
5914
6390
  "output": {
5915
6391
  "char": "o",
5916
- "description": "Output format (default: table for import, json for other commands)",
6392
+ "description": "Output format (default: table for upsert, json for other commands)",
5917
6393
  "name": "output",
5918
6394
  "hasDynamicHelp": false,
5919
6395
  "multiple": false,
@@ -6051,6 +6527,12 @@
6051
6527
  "allowNo": false,
6052
6528
  "type": "boolean"
6053
6529
  },
6530
+ "meta": {
6531
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
6532
+ "name": "meta",
6533
+ "allowNo": false,
6534
+ "type": "boolean"
6535
+ },
6054
6536
  "show-http-request": {
6055
6537
  "description": "Show HTTP request details (method, URL, body)",
6056
6538
  "name": "show-http-request",
@@ -6104,7 +6586,7 @@
6104
6586
  },
6105
6587
  "output": {
6106
6588
  "char": "o",
6107
- "description": "Output format (default: table for import, json for other commands)",
6589
+ "description": "Output format (default: table for upsert, json for other commands)",
6108
6590
  "name": "output",
6109
6591
  "hasDynamicHelp": false,
6110
6592
  "multiple": false,
@@ -6214,6 +6696,12 @@
6214
6696
  "allowNo": false,
6215
6697
  "type": "boolean"
6216
6698
  },
6699
+ "meta": {
6700
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
6701
+ "name": "meta",
6702
+ "allowNo": false,
6703
+ "type": "boolean"
6704
+ },
6217
6705
  "show-http-request": {
6218
6706
  "description": "Show HTTP request details (method, URL, body)",
6219
6707
  "name": "show-http-request",
@@ -6240,7 +6728,7 @@
6240
6728
  "aliases": [],
6241
6729
  "args": {
6242
6730
  "action": {
6243
- "description": "Action: list, create, get, update, delete, import, export",
6731
+ "description": "Action: list, create, get, update, delete, upsert, export",
6244
6732
  "name": "action",
6245
6733
  "required": true
6246
6734
  },
@@ -6256,7 +6744,7 @@
6256
6744
  "<%= config.bin %> office-locations get <id>",
6257
6745
  "<%= config.bin %> office-locations create --data '{...}'",
6258
6746
  "<%= config.bin %> office-locations update <id> --set field=value",
6259
- "<%= config.bin %> office-locations import --file data.json",
6747
+ "<%= config.bin %> office-locations upsert --file data.json",
6260
6748
  "<%= config.bin %> office-locations export --csv > office-locations.csv"
6261
6749
  ],
6262
6750
  "flags": {
@@ -6274,7 +6762,7 @@
6274
6762
  },
6275
6763
  "output": {
6276
6764
  "char": "o",
6277
- "description": "Output format (default: table for import, json for other commands)",
6765
+ "description": "Output format (default: table for upsert, json for other commands)",
6278
6766
  "name": "output",
6279
6767
  "hasDynamicHelp": false,
6280
6768
  "multiple": false,
@@ -6384,6 +6872,12 @@
6384
6872
  "allowNo": false,
6385
6873
  "type": "boolean"
6386
6874
  },
6875
+ "meta": {
6876
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
6877
+ "name": "meta",
6878
+ "allowNo": false,
6879
+ "type": "boolean"
6880
+ },
6387
6881
  "show-http-request": {
6388
6882
  "description": "Show HTTP request details (method, URL, body)",
6389
6883
  "name": "show-http-request",
@@ -6410,7 +6904,7 @@
6410
6904
  "aliases": [],
6411
6905
  "args": {
6412
6906
  "action": {
6413
- "description": "Action: list, create, get, update, delete, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, import, export, import-ledger-mappings",
6907
+ "description": "Action: list, create, get, update, delete, list-ledger-mappings, create-ledger-mappings, get-ledger-mappings, update-ledger-mappings, delete-ledger-mappings, upsert, export, upsert-ledger-mappings",
6414
6908
  "name": "action",
6415
6909
  "required": true
6416
6910
  },
@@ -6426,7 +6920,7 @@
6426
6920
  "<%= config.bin %> payment-methods get <id>",
6427
6921
  "<%= config.bin %> payment-methods create --data '{...}'",
6428
6922
  "<%= config.bin %> payment-methods update <id> --set field=value",
6429
- "<%= config.bin %> payment-methods import --file data.json",
6923
+ "<%= config.bin %> payment-methods upsert --file data.json",
6430
6924
  "<%= config.bin %> payment-methods export --csv > payment-methods.csv"
6431
6925
  ],
6432
6926
  "flags": {
@@ -6444,7 +6938,7 @@
6444
6938
  },
6445
6939
  "output": {
6446
6940
  "char": "o",
6447
- "description": "Output format (default: table for import, json for other commands)",
6941
+ "description": "Output format (default: table for upsert, json for other commands)",
6448
6942
  "name": "output",
6449
6943
  "hasDynamicHelp": false,
6450
6944
  "multiple": false,
@@ -6561,6 +7055,12 @@
6561
7055
  "allowNo": false,
6562
7056
  "type": "boolean"
6563
7057
  },
7058
+ "meta": {
7059
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7060
+ "name": "meta",
7061
+ "allowNo": false,
7062
+ "type": "boolean"
7063
+ },
6564
7064
  "show-http-request": {
6565
7065
  "description": "Show HTTP request details (method, URL, body)",
6566
7066
  "name": "show-http-request",
@@ -6587,7 +7087,7 @@
6587
7087
  "aliases": [],
6588
7088
  "args": {
6589
7089
  "action": {
6590
- "description": "Action: open-submissions, eligible-payments, list, create, preview, schedule, status, get, update, delete, create-payments, delete-payments, send, painfile, sync-status, sync-status-xml, sync-all, import, export",
7090
+ "description": "Action: open-submissions, eligible-payments, list, create, preview, schedule, status, get, update, delete, create-payments, delete-payments, send, painfile, beneficiary-check, sync-status, sync-status-xml, sync-all, upsert, export",
6591
7091
  "name": "action",
6592
7092
  "required": true
6593
7093
  },
@@ -6603,7 +7103,7 @@
6603
7103
  "<%= config.bin %> payment-runs get <id>",
6604
7104
  "<%= config.bin %> payment-runs create --data '{...}'",
6605
7105
  "<%= config.bin %> payment-runs update <id> --set field=value",
6606
- "<%= config.bin %> payment-runs import --file data.json",
7106
+ "<%= config.bin %> payment-runs upsert --file data.json",
6607
7107
  "<%= config.bin %> payment-runs export --csv > payment-runs.csv"
6608
7108
  ],
6609
7109
  "flags": {
@@ -6621,7 +7121,7 @@
6621
7121
  },
6622
7122
  "output": {
6623
7123
  "char": "o",
6624
- "description": "Output format (default: table for import, json for other commands)",
7124
+ "description": "Output format (default: table for upsert, json for other commands)",
6625
7125
  "name": "output",
6626
7126
  "hasDynamicHelp": false,
6627
7127
  "multiple": false,
@@ -6745,6 +7245,12 @@
6745
7245
  "allowNo": false,
6746
7246
  "type": "boolean"
6747
7247
  },
7248
+ "meta": {
7249
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7250
+ "name": "meta",
7251
+ "allowNo": false,
7252
+ "type": "boolean"
7253
+ },
6748
7254
  "show-http-request": {
6749
7255
  "description": "Show HTTP request details (method, URL, body)",
6750
7256
  "name": "show-http-request",
@@ -6771,7 +7277,7 @@
6771
7277
  "aliases": [],
6772
7278
  "args": {
6773
7279
  "action": {
6774
- "description": "Action: list, create, default, get, update, delete, import, export",
7280
+ "description": "Action: list, create, default, get, update, delete, upsert, export",
6775
7281
  "name": "action",
6776
7282
  "required": true
6777
7283
  },
@@ -6787,7 +7293,7 @@
6787
7293
  "<%= config.bin %> payment-terms get <id>",
6788
7294
  "<%= config.bin %> payment-terms create --data '{...}'",
6789
7295
  "<%= config.bin %> payment-terms update <id> --set field=value",
6790
- "<%= config.bin %> payment-terms import --file data.json",
7296
+ "<%= config.bin %> payment-terms upsert --file data.json",
6791
7297
  "<%= config.bin %> payment-terms export --csv > payment-terms.csv"
6792
7298
  ],
6793
7299
  "flags": {
@@ -6805,7 +7311,7 @@
6805
7311
  },
6806
7312
  "output": {
6807
7313
  "char": "o",
6808
- "description": "Output format (default: table for import, json for other commands)",
7314
+ "description": "Output format (default: table for upsert, json for other commands)",
6809
7315
  "name": "output",
6810
7316
  "hasDynamicHelp": false,
6811
7317
  "multiple": false,
@@ -6915,6 +7421,12 @@
6915
7421
  "allowNo": false,
6916
7422
  "type": "boolean"
6917
7423
  },
7424
+ "meta": {
7425
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7426
+ "name": "meta",
7427
+ "allowNo": false,
7428
+ "type": "boolean"
7429
+ },
6918
7430
  "show-http-request": {
6919
7431
  "description": "Show HTTP request details (method, URL, body)",
6920
7432
  "name": "show-http-request",
@@ -6941,7 +7453,7 @@
6941
7453
  "aliases": [],
6942
7454
  "args": {
6943
7455
  "action": {
6944
- "description": "Action: list, create, get, update, delete, approve, cancel, import, export",
7456
+ "description": "Action: list, create, get, update, delete, approve, cancel, upsert, export",
6945
7457
  "name": "action",
6946
7458
  "required": true
6947
7459
  },
@@ -6957,7 +7469,7 @@
6957
7469
  "<%= config.bin %> payments get <id>",
6958
7470
  "<%= config.bin %> payments create --data '{...}'",
6959
7471
  "<%= config.bin %> payments update <id> --set field=value",
6960
- "<%= config.bin %> payments import --file data.json",
7472
+ "<%= config.bin %> payments upsert --file data.json",
6961
7473
  "<%= config.bin %> payments export --csv > payments.csv"
6962
7474
  ],
6963
7475
  "flags": {
@@ -6975,7 +7487,7 @@
6975
7487
  },
6976
7488
  "output": {
6977
7489
  "char": "o",
6978
- "description": "Output format (default: table for import, json for other commands)",
7490
+ "description": "Output format (default: table for upsert, json for other commands)",
6979
7491
  "name": "output",
6980
7492
  "hasDynamicHelp": false,
6981
7493
  "multiple": false,
@@ -7085,6 +7597,12 @@
7085
7597
  "allowNo": false,
7086
7598
  "type": "boolean"
7087
7599
  },
7600
+ "meta": {
7601
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7602
+ "name": "meta",
7603
+ "allowNo": false,
7604
+ "type": "boolean"
7605
+ },
7088
7606
  "show-http-request": {
7089
7607
  "description": "Show HTTP request details (method, URL, body)",
7090
7608
  "name": "show-http-request",
@@ -7111,7 +7629,7 @@
7111
7629
  "aliases": [],
7112
7630
  "args": {
7113
7631
  "action": {
7114
- "description": "Action: list-notes, create-notes, update-notes, delete-notes, notices-dismiss, notices-restore, list, create, get, update, delete, list-files, create-files, get-files, update-files, delete-files, files-download, list-bookings, update-bookings, list-entries, get-entries, update-entries, entries-exclude, entries-include, list-files-parentId, create-files-parentId, get-files-parentId, update-files-parentId, delete-files-parentId, files-download-parentId, approve, cancel, payments, recalculate-payment-status, payslips-send, import, export, import-notes, import-files, import-files-parentId",
7632
+ "description": "Action: list-notes, create-notes, update-notes, delete-notes, notices-dismiss, notices-restore, list, create, get, update, delete, list-files, create-files, get-files, update-files, delete-files, files-download, list-bookings, update-bookings, list-entries, get-entries, update-entries, entries-exclude, entries-include, list-files-parentId, create-files-parentId, get-files-parentId, update-files-parentId, delete-files-parentId, files-download-parentId, approve, cancel, payments, recalculate-payment-status, payslips-send, upsert, export, upsert-notes, upsert-files, upsert-files-parentId",
7115
7633
  "name": "action",
7116
7634
  "required": true
7117
7635
  },
@@ -7127,7 +7645,7 @@
7127
7645
  "<%= config.bin %> payroll-runs get <id>",
7128
7646
  "<%= config.bin %> payroll-runs create --data '{...}'",
7129
7647
  "<%= config.bin %> payroll-runs update <id> --set field=value",
7130
- "<%= config.bin %> payroll-runs import --file data.json",
7648
+ "<%= config.bin %> payroll-runs upsert --file data.json",
7131
7649
  "<%= config.bin %> payroll-runs export --csv > payroll-runs.csv"
7132
7650
  ],
7133
7651
  "flags": {
@@ -7145,7 +7663,7 @@
7145
7663
  },
7146
7664
  "output": {
7147
7665
  "char": "o",
7148
- "description": "Output format (default: table for import, json for other commands)",
7666
+ "description": "Output format (default: table for upsert, json for other commands)",
7149
7667
  "name": "output",
7150
7668
  "hasDynamicHelp": false,
7151
7669
  "multiple": false,
@@ -7283,6 +7801,12 @@
7283
7801
  "allowNo": false,
7284
7802
  "type": "boolean"
7285
7803
  },
7804
+ "meta": {
7805
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7806
+ "name": "meta",
7807
+ "allowNo": false,
7808
+ "type": "boolean"
7809
+ },
7286
7810
  "show-http-request": {
7287
7811
  "description": "Show HTTP request details (method, URL, body)",
7288
7812
  "name": "show-http-request",
@@ -7339,7 +7863,7 @@
7339
7863
  },
7340
7864
  "output": {
7341
7865
  "char": "o",
7342
- "description": "Output format (default: table for import, json for other commands)",
7866
+ "description": "Output format (default: table for upsert, json for other commands)",
7343
7867
  "name": "output",
7344
7868
  "hasDynamicHelp": false,
7345
7869
  "multiple": false,
@@ -7449,6 +7973,12 @@
7449
7973
  "allowNo": false,
7450
7974
  "type": "boolean"
7451
7975
  },
7976
+ "meta": {
7977
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
7978
+ "name": "meta",
7979
+ "allowNo": false,
7980
+ "type": "boolean"
7981
+ },
7452
7982
  "show-http-request": {
7453
7983
  "description": "Show HTTP request details (method, URL, body)",
7454
7984
  "name": "show-http-request",
@@ -7475,7 +8005,7 @@
7475
8005
  "aliases": [],
7476
8006
  "args": {
7477
8007
  "action": {
7478
- "description": "Action: list, create, get, update, delete, list-prices, create-prices, get-prices, update-prices, delete-prices, import, export, import-prices",
8008
+ "description": "Action: list, create, get, update, delete, list-prices, create-prices, get-prices, update-prices, delete-prices, import, import-prices, export",
7479
8009
  "name": "action",
7480
8010
  "required": true
7481
8011
  },
@@ -7491,7 +8021,7 @@
7491
8021
  "<%= config.bin %> price-lists get <id>",
7492
8022
  "<%= config.bin %> price-lists create --data '{...}'",
7493
8023
  "<%= config.bin %> price-lists update <id> --set field=value",
7494
- "<%= config.bin %> price-lists import --file data.json",
8024
+ "<%= config.bin %> price-lists import --file data.json --mode upsert",
7495
8025
  "<%= config.bin %> price-lists export --csv > price-lists.csv"
7496
8026
  ],
7497
8027
  "flags": {
@@ -7509,7 +8039,7 @@
7509
8039
  },
7510
8040
  "output": {
7511
8041
  "char": "o",
7512
- "description": "Output format (default: table for import, json for other commands)",
8042
+ "description": "Output format (default: table for upsert, json for other commands)",
7513
8043
  "name": "output",
7514
8044
  "hasDynamicHelp": false,
7515
8045
  "multiple": false,
@@ -7557,6 +8087,38 @@
7557
8087
  "multiple": true,
7558
8088
  "type": "option"
7559
8089
  },
8090
+ "mode": {
8091
+ "description": "Import mode: upsert (default) creates, updates or skips each record; create refuses records that already exist; update refuses records that do not",
8092
+ "name": "mode",
8093
+ "hasDynamicHelp": false,
8094
+ "multiple": false,
8095
+ "options": [
8096
+ "upsert",
8097
+ "create",
8098
+ "update"
8099
+ ],
8100
+ "type": "option"
8101
+ },
8102
+ "reference": {
8103
+ "description": "Caller-defined text stored on the import run, for tracking and filtering",
8104
+ "name": "reference",
8105
+ "hasDynamicHelp": false,
8106
+ "multiple": false,
8107
+ "type": "option"
8108
+ },
8109
+ "async": {
8110
+ "description": "Import in the background: answers with a PENDING run to follow via \"aderis imports get <id>\"",
8111
+ "name": "async",
8112
+ "allowNo": false,
8113
+ "type": "boolean"
8114
+ },
8115
+ "idempotency-key": {
8116
+ "description": "Repeating a key returns the earlier import run unchanged and imports nothing",
8117
+ "name": "idempotency-key",
8118
+ "hasDynamicHelp": false,
8119
+ "multiple": false,
8120
+ "type": "option"
8121
+ },
7560
8122
  "price-id": {
7561
8123
  "description": "Path param: priceId",
7562
8124
  "name": "price-id",
@@ -7626,6 +8188,12 @@
7626
8188
  "allowNo": false,
7627
8189
  "type": "boolean"
7628
8190
  },
8191
+ "meta": {
8192
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
8193
+ "name": "meta",
8194
+ "allowNo": false,
8195
+ "type": "boolean"
8196
+ },
7629
8197
  "show-http-request": {
7630
8198
  "description": "Show HTTP request details (method, URL, body)",
7631
8199
  "name": "show-http-request",
@@ -7652,7 +8220,7 @@
7652
8220
  "aliases": [],
7653
8221
  "args": {
7654
8222
  "action": {
7655
- "description": "Action: list, create, update, delete, import, export",
8223
+ "description": "Action: list, create, update, delete, upsert, export",
7656
8224
  "name": "action",
7657
8225
  "required": true
7658
8226
  },
@@ -7667,7 +8235,7 @@
7667
8235
  "<%= config.bin %> processor-mappings list",
7668
8236
  "<%= config.bin %> processor-mappings create --data '{...}'",
7669
8237
  "<%= config.bin %> processor-mappings update <id> --set field=value",
7670
- "<%= config.bin %> processor-mappings import --file data.json",
8238
+ "<%= config.bin %> processor-mappings upsert --file data.json",
7671
8239
  "<%= config.bin %> processor-mappings export --csv > processor-mappings.csv"
7672
8240
  ],
7673
8241
  "flags": {
@@ -7685,7 +8253,7 @@
7685
8253
  },
7686
8254
  "output": {
7687
8255
  "char": "o",
7688
- "description": "Output format (default: table for import, json for other commands)",
8256
+ "description": "Output format (default: table for upsert, json for other commands)",
7689
8257
  "name": "output",
7690
8258
  "hasDynamicHelp": false,
7691
8259
  "multiple": false,
@@ -7795,6 +8363,12 @@
7795
8363
  "allowNo": false,
7796
8364
  "type": "boolean"
7797
8365
  },
8366
+ "meta": {
8367
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
8368
+ "name": "meta",
8369
+ "allowNo": false,
8370
+ "type": "boolean"
8371
+ },
7798
8372
  "show-http-request": {
7799
8373
  "description": "Show HTTP request details (method, URL, body)",
7800
8374
  "name": "show-http-request",
@@ -7821,7 +8395,7 @@
7821
8395
  "aliases": [],
7822
8396
  "args": {
7823
8397
  "action": {
7824
- "description": "Action: list-tools, list, create, resolve, resolve-event, get, update, delete, update-config, delete-config, import, export",
8398
+ "description": "Action: list-tools, list, create, resolve, resolve-event, get, update, delete, update-config, delete-config, upsert, export",
7825
8399
  "name": "action",
7826
8400
  "required": true
7827
8401
  },
@@ -7837,7 +8411,7 @@
7837
8411
  "<%= config.bin %> processors get <id>",
7838
8412
  "<%= config.bin %> processors create --data '{...}'",
7839
8413
  "<%= config.bin %> processors update <id> --set field=value",
7840
- "<%= config.bin %> processors import --file data.json",
8414
+ "<%= config.bin %> processors upsert --file data.json",
7841
8415
  "<%= config.bin %> processors export --csv > processors.csv"
7842
8416
  ],
7843
8417
  "flags": {
@@ -7855,7 +8429,7 @@
7855
8429
  },
7856
8430
  "output": {
7857
8431
  "char": "o",
7858
- "description": "Output format (default: table for import, json for other commands)",
8432
+ "description": "Output format (default: table for upsert, json for other commands)",
7859
8433
  "name": "output",
7860
8434
  "hasDynamicHelp": false,
7861
8435
  "multiple": false,
@@ -7965,6 +8539,12 @@
7965
8539
  "allowNo": false,
7966
8540
  "type": "boolean"
7967
8541
  },
8542
+ "meta": {
8543
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
8544
+ "name": "meta",
8545
+ "allowNo": false,
8546
+ "type": "boolean"
8547
+ },
7968
8548
  "show-http-request": {
7969
8549
  "description": "Show HTTP request details (method, URL, body)",
7970
8550
  "name": "show-http-request",
@@ -7991,7 +8571,7 @@
7991
8571
  "aliases": [],
7992
8572
  "args": {
7993
8573
  "action": {
7994
- "description": "Action: list, create, get, update, delete, import, export",
8574
+ "description": "Action: list, create, get, update, delete, upsert, export",
7995
8575
  "name": "action",
7996
8576
  "required": true
7997
8577
  },
@@ -8007,7 +8587,7 @@
8007
8587
  "<%= config.bin %> purchase-order-types get <id>",
8008
8588
  "<%= config.bin %> purchase-order-types create --data '{...}'",
8009
8589
  "<%= config.bin %> purchase-order-types update <id> --set field=value",
8010
- "<%= config.bin %> purchase-order-types import --file data.json",
8590
+ "<%= config.bin %> purchase-order-types upsert --file data.json",
8011
8591
  "<%= config.bin %> purchase-order-types export --csv > purchase-order-types.csv"
8012
8592
  ],
8013
8593
  "flags": {
@@ -8025,7 +8605,7 @@
8025
8605
  },
8026
8606
  "output": {
8027
8607
  "char": "o",
8028
- "description": "Output format (default: table for import, json for other commands)",
8608
+ "description": "Output format (default: table for upsert, json for other commands)",
8029
8609
  "name": "output",
8030
8610
  "hasDynamicHelp": false,
8031
8611
  "multiple": false,
@@ -8135,6 +8715,12 @@
8135
8715
  "allowNo": false,
8136
8716
  "type": "boolean"
8137
8717
  },
8718
+ "meta": {
8719
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
8720
+ "name": "meta",
8721
+ "allowNo": false,
8722
+ "type": "boolean"
8723
+ },
8138
8724
  "show-http-request": {
8139
8725
  "description": "Show HTTP request details (method, URL, body)",
8140
8726
  "name": "show-http-request",
@@ -8161,7 +8747,7 @@
8161
8747
  "aliases": [],
8162
8748
  "args": {
8163
8749
  "action": {
8164
- "description": "Action: list, create, get, update, delete, submit, approve, copy, decline, cancel, create-line-items, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
8750
+ "description": "Action: list, create, get, update, delete, submit, approve, copy, decline, cancel, create-line-items, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, upsert, export, upsert-line-items, upsert-notes, upsert-files",
8165
8751
  "name": "action",
8166
8752
  "required": true
8167
8753
  },
@@ -8177,7 +8763,7 @@
8177
8763
  "<%= config.bin %> purchase-orders get <id>",
8178
8764
  "<%= config.bin %> purchase-orders create --data '{...}'",
8179
8765
  "<%= config.bin %> purchase-orders update <id> --set field=value",
8180
- "<%= config.bin %> purchase-orders import --file data.json",
8766
+ "<%= config.bin %> purchase-orders upsert --file data.json",
8181
8767
  "<%= config.bin %> purchase-orders export --csv > purchase-orders.csv"
8182
8768
  ],
8183
8769
  "flags": {
@@ -8195,7 +8781,7 @@
8195
8781
  },
8196
8782
  "output": {
8197
8783
  "char": "o",
8198
- "description": "Output format (default: table for import, json for other commands)",
8784
+ "description": "Output format (default: table for upsert, json for other commands)",
8199
8785
  "name": "output",
8200
8786
  "hasDynamicHelp": false,
8201
8787
  "multiple": false,
@@ -8326,6 +8912,12 @@
8326
8912
  "allowNo": false,
8327
8913
  "type": "boolean"
8328
8914
  },
8915
+ "meta": {
8916
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
8917
+ "name": "meta",
8918
+ "allowNo": false,
8919
+ "type": "boolean"
8920
+ },
8329
8921
  "show-http-request": {
8330
8922
  "description": "Show HTTP request details (method, URL, body)",
8331
8923
  "name": "show-http-request",
@@ -8379,7 +8971,7 @@
8379
8971
  },
8380
8972
  "output": {
8381
8973
  "char": "o",
8382
- "description": "Output format (default: table for import, json for other commands)",
8974
+ "description": "Output format (default: table for upsert, json for other commands)",
8383
8975
  "name": "output",
8384
8976
  "hasDynamicHelp": false,
8385
8977
  "multiple": false,
@@ -8489,6 +9081,12 @@
8489
9081
  "allowNo": false,
8490
9082
  "type": "boolean"
8491
9083
  },
9084
+ "meta": {
9085
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
9086
+ "name": "meta",
9087
+ "allowNo": false,
9088
+ "type": "boolean"
9089
+ },
8492
9090
  "show-http-request": {
8493
9091
  "description": "Show HTTP request details (method, URL, body)",
8494
9092
  "name": "show-http-request",
@@ -8515,7 +9113,7 @@
8515
9113
  "aliases": [],
8516
9114
  "args": {
8517
9115
  "action": {
8518
- "description": "Action: list, create, update, delete, import, export",
9116
+ "description": "Action: list, create, update, delete, upsert, export",
8519
9117
  "name": "action",
8520
9118
  "required": true
8521
9119
  },
@@ -8530,7 +9128,7 @@
8530
9128
  "<%= config.bin %> roles list",
8531
9129
  "<%= config.bin %> roles create --data '{...}'",
8532
9130
  "<%= config.bin %> roles update <id> --set field=value",
8533
- "<%= config.bin %> roles import --file data.json",
9131
+ "<%= config.bin %> roles upsert --file data.json",
8534
9132
  "<%= config.bin %> roles export --csv > roles.csv"
8535
9133
  ],
8536
9134
  "flags": {
@@ -8548,7 +9146,7 @@
8548
9146
  },
8549
9147
  "output": {
8550
9148
  "char": "o",
8551
- "description": "Output format (default: table for import, json for other commands)",
9149
+ "description": "Output format (default: table for upsert, json for other commands)",
8552
9150
  "name": "output",
8553
9151
  "hasDynamicHelp": false,
8554
9152
  "multiple": false,
@@ -8658,6 +9256,12 @@
8658
9256
  "allowNo": false,
8659
9257
  "type": "boolean"
8660
9258
  },
9259
+ "meta": {
9260
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
9261
+ "name": "meta",
9262
+ "allowNo": false,
9263
+ "type": "boolean"
9264
+ },
8661
9265
  "show-http-request": {
8662
9266
  "description": "Show HTTP request details (method, URL, body)",
8663
9267
  "name": "show-http-request",
@@ -8684,7 +9288,7 @@
8684
9288
  "aliases": [],
8685
9289
  "args": {
8686
9290
  "action": {
8687
- "description": "Action: list, create, get, update, delete, import, export",
9291
+ "description": "Action: list, create, get, update, delete, upsert, export",
8688
9292
  "name": "action",
8689
9293
  "required": true
8690
9294
  },
@@ -8700,7 +9304,7 @@
8700
9304
  "<%= config.bin %> salary-types get <id>",
8701
9305
  "<%= config.bin %> salary-types create --data '{...}'",
8702
9306
  "<%= config.bin %> salary-types update <id> --set field=value",
8703
- "<%= config.bin %> salary-types import --file data.json",
9307
+ "<%= config.bin %> salary-types upsert --file data.json",
8704
9308
  "<%= config.bin %> salary-types export --csv > salary-types.csv"
8705
9309
  ],
8706
9310
  "flags": {
@@ -8718,7 +9322,7 @@
8718
9322
  },
8719
9323
  "output": {
8720
9324
  "char": "o",
8721
- "description": "Output format (default: table for import, json for other commands)",
9325
+ "description": "Output format (default: table for upsert, json for other commands)",
8722
9326
  "name": "output",
8723
9327
  "hasDynamicHelp": false,
8724
9328
  "multiple": false,
@@ -8828,6 +9432,12 @@
8828
9432
  "allowNo": false,
8829
9433
  "type": "boolean"
8830
9434
  },
9435
+ "meta": {
9436
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
9437
+ "name": "meta",
9438
+ "allowNo": false,
9439
+ "type": "boolean"
9440
+ },
8831
9441
  "show-http-request": {
8832
9442
  "description": "Show HTTP request details (method, URL, body)",
8833
9443
  "name": "show-http-request",
@@ -8854,7 +9464,7 @@
8854
9464
  "aliases": [],
8855
9465
  "args": {
8856
9466
  "action": {
8857
- "description": "Action: list, create, create-migrated-invoice, get-pdf, create-pdf, get, update, delete, payment-derivation, update-migrated-invoice, approve, match, validate, request-approval, send, send-resend, cancel, copy, replace, rebuild-journal, recalculate-payment-status, merge, create-line-items, line-items-from-sales-order, line-items-from-delivery-note, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-migrated-invoice, import-line-items, import-notes, import-files",
9467
+ "description": "Action: create-offsets, delete-offsets, offset-candidates, list, create, create-migrated-invoice, get-pdf, create-pdf, get, update, delete, payment-derivation, update-migrated-invoice, approve, match, validate, request-approval, send, send-resend, cancel, copy, replace, rebuild-journal, recalculate-payment-status, merge, create-line-items, line-items-from-sales-order, line-items-from-delivery-note, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, create-nettings, delete-nettings, netting-candidates, line-items-from-sales-invoice, credit-notes, list-refund-account-options, update-refund-payments-beneficiary-account, upsert, export, upsert-migrated-invoice, upsert-line-items, upsert-notes, upsert-files",
8858
9468
  "name": "action",
8859
9469
  "required": true
8860
9470
  },
@@ -8870,7 +9480,7 @@
8870
9480
  "<%= config.bin %> sales-invoices get <id>",
8871
9481
  "<%= config.bin %> sales-invoices create --data '{...}'",
8872
9482
  "<%= config.bin %> sales-invoices update <id> --set field=value",
8873
- "<%= config.bin %> sales-invoices import --file data.json",
9483
+ "<%= config.bin %> sales-invoices upsert --file data.json",
8874
9484
  "<%= config.bin %> sales-invoices export --csv > sales-invoices.csv"
8875
9485
  ],
8876
9486
  "flags": {
@@ -8888,7 +9498,7 @@
8888
9498
  },
8889
9499
  "output": {
8890
9500
  "char": "o",
8891
- "description": "Output format (default: table for import, json for other commands)",
9501
+ "description": "Output format (default: table for upsert, json for other commands)",
8892
9502
  "name": "output",
8893
9503
  "hasDynamicHelp": false,
8894
9504
  "multiple": false,
@@ -8936,6 +9546,13 @@
8936
9546
  "multiple": true,
8937
9547
  "type": "option"
8938
9548
  },
9549
+ "offset-id": {
9550
+ "description": "Path param: offsetId",
9551
+ "name": "offset-id",
9552
+ "hasDynamicHelp": false,
9553
+ "multiple": false,
9554
+ "type": "option"
9555
+ },
8939
9556
  "line-item-id": {
8940
9557
  "description": "Path param: lineItemId",
8941
9558
  "name": "line-item-id",
@@ -8957,6 +9574,13 @@
8957
9574
  "multiple": false,
8958
9575
  "type": "option"
8959
9576
  },
9577
+ "payment-id": {
9578
+ "description": "Path param: paymentId",
9579
+ "name": "payment-id",
9580
+ "hasDynamicHelp": false,
9581
+ "multiple": false,
9582
+ "type": "option"
9583
+ },
8960
9584
  "page": {
8961
9585
  "description": "Page number",
8962
9586
  "name": "page",
@@ -9019,6 +9643,12 @@
9019
9643
  "allowNo": false,
9020
9644
  "type": "boolean"
9021
9645
  },
9646
+ "meta": {
9647
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
9648
+ "name": "meta",
9649
+ "allowNo": false,
9650
+ "type": "boolean"
9651
+ },
9022
9652
  "show-http-request": {
9023
9653
  "description": "Show HTTP request details (method, URL, body)",
9024
9654
  "name": "show-http-request",
@@ -9045,7 +9675,7 @@
9045
9675
  "aliases": [],
9046
9676
  "args": {
9047
9677
  "action": {
9048
- "description": "Action: list, create, create-invoices, get, update, delete, get-pdf, create-pdf, submit, approve, accept, terminate, cancel, replace, copy, merge, create-invoice, send, create-line-items, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-line-items, import-notes, import-files",
9678
+ "description": "Action: list, create, create-invoices, get, update, delete, get-pdf, create-pdf, submit, approve, accept, terminate, cancel, replace, copy, merge, create-invoice, send, create-line-items, update-line-items-reorder, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, upsert, export, upsert-line-items, upsert-notes, upsert-files",
9049
9679
  "name": "action",
9050
9680
  "required": true
9051
9681
  },
@@ -9061,7 +9691,7 @@
9061
9691
  "<%= config.bin %> sales-orders get <id>",
9062
9692
  "<%= config.bin %> sales-orders create --data '{...}'",
9063
9693
  "<%= config.bin %> sales-orders update <id> --set field=value",
9064
- "<%= config.bin %> sales-orders import --file data.json",
9694
+ "<%= config.bin %> sales-orders upsert --file data.json",
9065
9695
  "<%= config.bin %> sales-orders export --csv > sales-orders.csv"
9066
9696
  ],
9067
9697
  "flags": {
@@ -9079,7 +9709,7 @@
9079
9709
  },
9080
9710
  "output": {
9081
9711
  "char": "o",
9082
- "description": "Output format (default: table for import, json for other commands)",
9712
+ "description": "Output format (default: table for upsert, json for other commands)",
9083
9713
  "name": "output",
9084
9714
  "hasDynamicHelp": false,
9085
9715
  "multiple": false,
@@ -9210,6 +9840,12 @@
9210
9840
  "allowNo": false,
9211
9841
  "type": "boolean"
9212
9842
  },
9843
+ "meta": {
9844
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
9845
+ "name": "meta",
9846
+ "allowNo": false,
9847
+ "type": "boolean"
9848
+ },
9213
9849
  "show-http-request": {
9214
9850
  "description": "Show HTTP request details (method, URL, body)",
9215
9851
  "name": "show-http-request",
@@ -9266,7 +9902,7 @@
9266
9902
  },
9267
9903
  "output": {
9268
9904
  "char": "o",
9269
- "description": "Output format (default: table for import, json for other commands)",
9905
+ "description": "Output format (default: table for upsert, json for other commands)",
9270
9906
  "name": "output",
9271
9907
  "hasDynamicHelp": false,
9272
9908
  "multiple": false,
@@ -9376,6 +10012,12 @@
9376
10012
  "allowNo": false,
9377
10013
  "type": "boolean"
9378
10014
  },
10015
+ "meta": {
10016
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10017
+ "name": "meta",
10018
+ "allowNo": false,
10019
+ "type": "boolean"
10020
+ },
9379
10021
  "show-http-request": {
9380
10022
  "description": "Show HTTP request details (method, URL, body)",
9381
10023
  "name": "show-http-request",
@@ -9402,7 +10044,7 @@
9402
10044
  "aliases": [],
9403
10045
  "args": {
9404
10046
  "action": {
9405
- "description": "Action: list, create, get, update, delete, import, export",
10047
+ "description": "Action: list, create, get, update, delete, upsert, export",
9406
10048
  "name": "action",
9407
10049
  "required": true
9408
10050
  },
@@ -9418,7 +10060,7 @@
9418
10060
  "<%= config.bin %> scheduled-processor-mappings get <id>",
9419
10061
  "<%= config.bin %> scheduled-processor-mappings create --data '{...}'",
9420
10062
  "<%= config.bin %> scheduled-processor-mappings update <id> --set field=value",
9421
- "<%= config.bin %> scheduled-processor-mappings import --file data.json",
10063
+ "<%= config.bin %> scheduled-processor-mappings upsert --file data.json",
9422
10064
  "<%= config.bin %> scheduled-processor-mappings export --csv > scheduled-processor-mappings.csv"
9423
10065
  ],
9424
10066
  "flags": {
@@ -9436,7 +10078,7 @@
9436
10078
  },
9437
10079
  "output": {
9438
10080
  "char": "o",
9439
- "description": "Output format (default: table for import, json for other commands)",
10081
+ "description": "Output format (default: table for upsert, json for other commands)",
9440
10082
  "name": "output",
9441
10083
  "hasDynamicHelp": false,
9442
10084
  "multiple": false,
@@ -9546,6 +10188,12 @@
9546
10188
  "allowNo": false,
9547
10189
  "type": "boolean"
9548
10190
  },
10191
+ "meta": {
10192
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10193
+ "name": "meta",
10194
+ "allowNo": false,
10195
+ "type": "boolean"
10196
+ },
9549
10197
  "show-http-request": {
9550
10198
  "description": "Show HTTP request details (method, URL, body)",
9551
10199
  "name": "show-http-request",
@@ -9572,7 +10220,7 @@
9572
10220
  "aliases": [],
9573
10221
  "args": {
9574
10222
  "action": {
9575
- "description": "Action: list, create, get, update, delete, runs, pause, resume, trigger, import, export",
10223
+ "description": "Action: list, create, get, update, delete, runs, pause, resume, trigger, upsert, export",
9576
10224
  "name": "action",
9577
10225
  "required": true
9578
10226
  },
@@ -9588,7 +10236,7 @@
9588
10236
  "<%= config.bin %> schedules get <id>",
9589
10237
  "<%= config.bin %> schedules create --data '{...}'",
9590
10238
  "<%= config.bin %> schedules update <id> --set field=value",
9591
- "<%= config.bin %> schedules import --file data.json",
10239
+ "<%= config.bin %> schedules upsert --file data.json",
9592
10240
  "<%= config.bin %> schedules export --csv > schedules.csv"
9593
10241
  ],
9594
10242
  "flags": {
@@ -9606,7 +10254,7 @@
9606
10254
  },
9607
10255
  "output": {
9608
10256
  "char": "o",
9609
- "description": "Output format (default: table for import, json for other commands)",
10257
+ "description": "Output format (default: table for upsert, json for other commands)",
9610
10258
  "name": "output",
9611
10259
  "hasDynamicHelp": false,
9612
10260
  "multiple": false,
@@ -9716,6 +10364,12 @@
9716
10364
  "allowNo": false,
9717
10365
  "type": "boolean"
9718
10366
  },
10367
+ "meta": {
10368
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10369
+ "name": "meta",
10370
+ "allowNo": false,
10371
+ "type": "boolean"
10372
+ },
9719
10373
  "show-http-request": {
9720
10374
  "description": "Show HTTP request details (method, URL, body)",
9721
10375
  "name": "show-http-request",
@@ -9765,7 +10419,7 @@
9765
10419
  "aliases": [],
9766
10420
  "args": {
9767
10421
  "action": {
9768
- "description": "Action: list, create, get, update, delete, journal-coverage, import, export",
10422
+ "description": "Action: list, create, get, update, delete, journal-coverage, upsert, export",
9769
10423
  "name": "action",
9770
10424
  "required": true
9771
10425
  },
@@ -9781,7 +10435,7 @@
9781
10435
  "<%= config.bin %> tags get <id>",
9782
10436
  "<%= config.bin %> tags create --data '{...}'",
9783
10437
  "<%= config.bin %> tags update <id> --set field=value",
9784
- "<%= config.bin %> tags import --file data.json",
10438
+ "<%= config.bin %> tags upsert --file data.json",
9785
10439
  "<%= config.bin %> tags export --csv > tags.csv"
9786
10440
  ],
9787
10441
  "flags": {
@@ -9799,7 +10453,7 @@
9799
10453
  },
9800
10454
  "output": {
9801
10455
  "char": "o",
9802
- "description": "Output format (default: table for import, json for other commands)",
10456
+ "description": "Output format (default: table for upsert, json for other commands)",
9803
10457
  "name": "output",
9804
10458
  "hasDynamicHelp": false,
9805
10459
  "multiple": false,
@@ -9909,6 +10563,12 @@
9909
10563
  "allowNo": false,
9910
10564
  "type": "boolean"
9911
10565
  },
10566
+ "meta": {
10567
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10568
+ "name": "meta",
10569
+ "allowNo": false,
10570
+ "type": "boolean"
10571
+ },
9912
10572
  "show-http-request": {
9913
10573
  "description": "Show HTTP request details (method, URL, body)",
9914
10574
  "name": "show-http-request",
@@ -9935,7 +10595,7 @@
9935
10595
  "aliases": [],
9936
10596
  "args": {
9937
10597
  "action": {
9938
- "description": "Action: list, create, tax-codes-standard-rate, get-by-country-rate, get-by-code-at-date, get, update, delete, import, export",
10598
+ "description": "Action: list, create, tax-codes-standard-rate, get-by-country-rate, get-by-code-at-date, get, update, delete, upsert, export",
9939
10599
  "name": "action",
9940
10600
  "required": true
9941
10601
  },
@@ -9951,7 +10611,7 @@
9951
10611
  "<%= config.bin %> tax-codes get <id>",
9952
10612
  "<%= config.bin %> tax-codes create --data '{...}'",
9953
10613
  "<%= config.bin %> tax-codes update <id> --set field=value",
9954
- "<%= config.bin %> tax-codes import --file data.json",
10614
+ "<%= config.bin %> tax-codes upsert --file data.json",
9955
10615
  "<%= config.bin %> tax-codes export --csv > tax-codes.csv"
9956
10616
  ],
9957
10617
  "flags": {
@@ -9969,7 +10629,7 @@
9969
10629
  },
9970
10630
  "output": {
9971
10631
  "char": "o",
9972
- "description": "Output format (default: table for import, json for other commands)",
10632
+ "description": "Output format (default: table for upsert, json for other commands)",
9973
10633
  "name": "output",
9974
10634
  "hasDynamicHelp": false,
9975
10635
  "multiple": false,
@@ -10079,6 +10739,12 @@
10079
10739
  "allowNo": false,
10080
10740
  "type": "boolean"
10081
10741
  },
10742
+ "meta": {
10743
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10744
+ "name": "meta",
10745
+ "allowNo": false,
10746
+ "type": "boolean"
10747
+ },
10082
10748
  "show-http-request": {
10083
10749
  "description": "Show HTTP request details (method, URL, body)",
10084
10750
  "name": "show-http-request",
@@ -10105,7 +10771,7 @@
10105
10771
  "aliases": [],
10106
10772
  "args": {
10107
10773
  "action": {
10108
- "description": "Action: list, create, get, update, delete, import, export",
10774
+ "description": "Action: list, create, get, update, delete, upsert, export",
10109
10775
  "name": "action",
10110
10776
  "required": true
10111
10777
  },
@@ -10121,7 +10787,7 @@
10121
10787
  "<%= config.bin %> tax-matrix get <id>",
10122
10788
  "<%= config.bin %> tax-matrix create --data '{...}'",
10123
10789
  "<%= config.bin %> tax-matrix update <id> --set field=value",
10124
- "<%= config.bin %> tax-matrix import --file data.json",
10790
+ "<%= config.bin %> tax-matrix upsert --file data.json",
10125
10791
  "<%= config.bin %> tax-matrix export --csv > tax-matrix.csv"
10126
10792
  ],
10127
10793
  "flags": {
@@ -10139,7 +10805,7 @@
10139
10805
  },
10140
10806
  "output": {
10141
10807
  "char": "o",
10142
- "description": "Output format (default: table for import, json for other commands)",
10808
+ "description": "Output format (default: table for upsert, json for other commands)",
10143
10809
  "name": "output",
10144
10810
  "hasDynamicHelp": false,
10145
10811
  "multiple": false,
@@ -10249,6 +10915,12 @@
10249
10915
  "allowNo": false,
10250
10916
  "type": "boolean"
10251
10917
  },
10918
+ "meta": {
10919
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
10920
+ "name": "meta",
10921
+ "allowNo": false,
10922
+ "type": "boolean"
10923
+ },
10252
10924
  "show-http-request": {
10253
10925
  "description": "Show HTTP request details (method, URL, body)",
10254
10926
  "name": "show-http-request",
@@ -10275,7 +10947,7 @@
10275
10947
  "aliases": [],
10276
10948
  "args": {
10277
10949
  "action": {
10278
- "description": "Action: list, create, get, update, delete, usage, duplicate, preview, import, export",
10950
+ "description": "Action: rule-fields, rule-order, replace-rule, delete-rule, list, create, get, update, delete, usage, duplicate, preview, upsert, export",
10279
10951
  "name": "action",
10280
10952
  "required": true
10281
10953
  },
@@ -10291,7 +10963,7 @@
10291
10963
  "<%= config.bin %> templates get <id>",
10292
10964
  "<%= config.bin %> templates create --data '{...}'",
10293
10965
  "<%= config.bin %> templates update <id> --set field=value",
10294
- "<%= config.bin %> templates import --file data.json",
10966
+ "<%= config.bin %> templates upsert --file data.json",
10295
10967
  "<%= config.bin %> templates export --csv > templates.csv"
10296
10968
  ],
10297
10969
  "flags": {
@@ -10309,7 +10981,7 @@
10309
10981
  },
10310
10982
  "output": {
10311
10983
  "char": "o",
10312
- "description": "Output format (default: table for import, json for other commands)",
10984
+ "description": "Output format (default: table for upsert, json for other commands)",
10313
10985
  "name": "output",
10314
10986
  "hasDynamicHelp": false,
10315
10987
  "multiple": false,
@@ -10419,6 +11091,12 @@
10419
11091
  "allowNo": false,
10420
11092
  "type": "boolean"
10421
11093
  },
11094
+ "meta": {
11095
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11096
+ "name": "meta",
11097
+ "allowNo": false,
11098
+ "type": "boolean"
11099
+ },
10422
11100
  "show-http-request": {
10423
11101
  "description": "Show HTTP request details (method, URL, body)",
10424
11102
  "name": "show-http-request",
@@ -10445,7 +11123,7 @@
10445
11123
  "aliases": [],
10446
11124
  "args": {
10447
11125
  "action": {
10448
- "description": "Action: list, create, get, update, delete, logo, icon, update-identity-provider, import, export",
11126
+ "description": "Action: list, create, get, update, delete, logo, icon, update-identity-provider, upsert, export",
10449
11127
  "name": "action",
10450
11128
  "required": true
10451
11129
  },
@@ -10461,7 +11139,7 @@
10461
11139
  "<%= config.bin %> tenants get <id>",
10462
11140
  "<%= config.bin %> tenants create --data '{...}'",
10463
11141
  "<%= config.bin %> tenants update <id> --set field=value",
10464
- "<%= config.bin %> tenants import --file data.json",
11142
+ "<%= config.bin %> tenants upsert --file data.json",
10465
11143
  "<%= config.bin %> tenants export --csv > tenants.csv"
10466
11144
  ],
10467
11145
  "flags": {
@@ -10479,7 +11157,7 @@
10479
11157
  },
10480
11158
  "output": {
10481
11159
  "char": "o",
10482
- "description": "Output format (default: table for import, json for other commands)",
11160
+ "description": "Output format (default: table for upsert, json for other commands)",
10483
11161
  "name": "output",
10484
11162
  "hasDynamicHelp": false,
10485
11163
  "multiple": false,
@@ -10589,6 +11267,12 @@
10589
11267
  "allowNo": false,
10590
11268
  "type": "boolean"
10591
11269
  },
11270
+ "meta": {
11271
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11272
+ "name": "meta",
11273
+ "allowNo": false,
11274
+ "type": "boolean"
11275
+ },
10592
11276
  "show-http-request": {
10593
11277
  "description": "Show HTTP request details (method, URL, body)",
10594
11278
  "name": "show-http-request",
@@ -10645,7 +11329,7 @@
10645
11329
  },
10646
11330
  "output": {
10647
11331
  "char": "o",
10648
- "description": "Output format (default: table for import, json for other commands)",
11332
+ "description": "Output format (default: table for upsert, json for other commands)",
10649
11333
  "name": "output",
10650
11334
  "hasDynamicHelp": false,
10651
11335
  "multiple": false,
@@ -10755,6 +11439,12 @@
10755
11439
  "allowNo": false,
10756
11440
  "type": "boolean"
10757
11441
  },
11442
+ "meta": {
11443
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11444
+ "name": "meta",
11445
+ "allowNo": false,
11446
+ "type": "boolean"
11447
+ },
10758
11448
  "show-http-request": {
10759
11449
  "description": "Show HTTP request details (method, URL, body)",
10760
11450
  "name": "show-http-request",
@@ -10781,7 +11471,7 @@
10781
11471
  "aliases": [],
10782
11472
  "args": {
10783
11473
  "action": {
10784
- "description": "Action: list-invitations, create-invitations, send-invitations-resend, delete-invitations, list, create, get, update, delete, get-credentials, password-reset, delete-credentials-mfa, delete-credentials-otp, delete-credentials-passkeys, delete-identity-providers, permissions, list-roles, create-roles, update-roles, delete-roles, disable, enable, import, export, import-roles",
11474
+ "description": "Action: list-invitations, create-invitations, send-invitations-resend, delete-invitations, list, create, get, update, delete, get-credentials, password-reset, delete-credentials-mfa, delete-credentials-otp, delete-credentials-passkeys, delete-identity-providers, permissions, list-roles, create-roles, update-roles, delete-roles, disable, enable, upsert, export, upsert-roles",
10785
11475
  "name": "action",
10786
11476
  "required": true
10787
11477
  },
@@ -10797,7 +11487,7 @@
10797
11487
  "<%= config.bin %> users get <id>",
10798
11488
  "<%= config.bin %> users create --data '{...}'",
10799
11489
  "<%= config.bin %> users update <id> --set field=value",
10800
- "<%= config.bin %> users import --file data.json",
11490
+ "<%= config.bin %> users upsert --file data.json",
10801
11491
  "<%= config.bin %> users export --csv > users.csv"
10802
11492
  ],
10803
11493
  "flags": {
@@ -10815,7 +11505,7 @@
10815
11505
  },
10816
11506
  "output": {
10817
11507
  "char": "o",
10818
- "description": "Output format (default: table for import, json for other commands)",
11508
+ "description": "Output format (default: table for upsert, json for other commands)",
10819
11509
  "name": "output",
10820
11510
  "hasDynamicHelp": false,
10821
11511
  "multiple": false,
@@ -10946,6 +11636,12 @@
10946
11636
  "allowNo": false,
10947
11637
  "type": "boolean"
10948
11638
  },
11639
+ "meta": {
11640
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11641
+ "name": "meta",
11642
+ "allowNo": false,
11643
+ "type": "boolean"
11644
+ },
10949
11645
  "show-http-request": {
10950
11646
  "description": "Show HTTP request details (method, URL, body)",
10951
11647
  "name": "show-http-request",
@@ -10972,7 +11668,7 @@
10972
11668
  "aliases": [],
10973
11669
  "args": {
10974
11670
  "action": {
10975
- "description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, mark-as-filed, xml, notices-dismiss, notices-restore, list-files, create-files, get-files, update-files, delete-files, files-download, list-payments, create-payments, contributions-exclude, exclusions-restore, import, export, import-files",
11671
+ "description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, mark-as-filed, xml, notices-dismiss, notices-restore, list-files, create-files, get-files, update-files, delete-files, files-download, list-payments, create-payments, contributions-exclude, exclusions-restore, upsert, export, upsert-files",
10976
11672
  "name": "action",
10977
11673
  "required": true
10978
11674
  },
@@ -10988,7 +11684,7 @@
10988
11684
  "<%= config.bin %> vat-declarations get <id>",
10989
11685
  "<%= config.bin %> vat-declarations create --data '{...}'",
10990
11686
  "<%= config.bin %> vat-declarations update <id> --set field=value",
10991
- "<%= config.bin %> vat-declarations import --file data.json",
11687
+ "<%= config.bin %> vat-declarations upsert --file data.json",
10992
11688
  "<%= config.bin %> vat-declarations export --csv > vat-declarations.csv"
10993
11689
  ],
10994
11690
  "flags": {
@@ -11006,7 +11702,7 @@
11006
11702
  },
11007
11703
  "output": {
11008
11704
  "char": "o",
11009
- "description": "Output format (default: table for import, json for other commands)",
11705
+ "description": "Output format (default: table for upsert, json for other commands)",
11010
11706
  "name": "output",
11011
11707
  "hasDynamicHelp": false,
11012
11708
  "multiple": false,
@@ -11151,6 +11847,12 @@
11151
11847
  "allowNo": false,
11152
11848
  "type": "boolean"
11153
11849
  },
11850
+ "meta": {
11851
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
11852
+ "name": "meta",
11853
+ "allowNo": false,
11854
+ "type": "boolean"
11855
+ },
11154
11856
  "show-http-request": {
11155
11857
  "description": "Show HTTP request details (method, URL, body)",
11156
11858
  "name": "show-http-request",
@@ -11177,7 +11879,7 @@
11177
11879
  "aliases": [],
11178
11880
  "args": {
11179
11881
  "action": {
11180
- "description": "Action: list, create, get, update, delete, payment-derivation, submit, approve, decline, book, rebuild-journal, cancel, change-vendor, recalculate-payment-status, validate, create-line-items, update-line-items, delete-line-items, list-notes, create-notes, get-notes, update-notes, delete-notes, list-files, create-files, get-files, update-files, delete-files, files-download, list-payments, create-payments, get-payments, update-payments, delete-payments, payments-approve, payments-reopen, payments-cancel, import, export, import-line-items, import-notes, import-files, import-payments",
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",
11181
11883
  "name": "action",
11182
11884
  "required": true
11183
11885
  },
@@ -11193,7 +11895,7 @@
11193
11895
  "<%= config.bin %> vendor-invoices get <id>",
11194
11896
  "<%= config.bin %> vendor-invoices create --data '{...}'",
11195
11897
  "<%= config.bin %> vendor-invoices update <id> --set field=value",
11196
- "<%= config.bin %> vendor-invoices import --file data.json",
11898
+ "<%= config.bin %> vendor-invoices upsert --file data.json",
11197
11899
  "<%= config.bin %> vendor-invoices export --csv > vendor-invoices.csv"
11198
11900
  ],
11199
11901
  "flags": {
@@ -11211,7 +11913,7 @@
11211
11913
  },
11212
11914
  "output": {
11213
11915
  "char": "o",
11214
- "description": "Output format (default: table for import, json for other commands)",
11916
+ "description": "Output format (default: table for upsert, json for other commands)",
11215
11917
  "name": "output",
11216
11918
  "hasDynamicHelp": false,
11217
11919
  "multiple": false,
@@ -11287,6 +11989,13 @@
11287
11989
  "multiple": false,
11288
11990
  "type": "option"
11289
11991
  },
11992
+ "offset-id": {
11993
+ "description": "Path param: offsetId",
11994
+ "name": "offset-id",
11995
+ "hasDynamicHelp": false,
11996
+ "multiple": false,
11997
+ "type": "option"
11998
+ },
11290
11999
  "page": {
11291
12000
  "description": "Page number",
11292
12001
  "name": "page",
@@ -11349,6 +12058,12 @@
11349
12058
  "allowNo": false,
11350
12059
  "type": "boolean"
11351
12060
  },
12061
+ "meta": {
12062
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
12063
+ "name": "meta",
12064
+ "allowNo": false,
12065
+ "type": "boolean"
12066
+ },
11352
12067
  "show-http-request": {
11353
12068
  "description": "Show HTTP request details (method, URL, body)",
11354
12069
  "name": "show-http-request",
@@ -11375,7 +12090,7 @@
11375
12090
  "aliases": [],
11376
12091
  "args": {
11377
12092
  "action": {
11378
- "description": "Action: list, create, events, events-relations, get, update, delete, import, export",
12093
+ "description": "Action: list, create, events, events-relations, get, update, delete, upsert, export",
11379
12094
  "name": "action",
11380
12095
  "required": true
11381
12096
  },
@@ -11391,7 +12106,7 @@
11391
12106
  "<%= config.bin %> webhooks get <id>",
11392
12107
  "<%= config.bin %> webhooks create --data '{...}'",
11393
12108
  "<%= config.bin %> webhooks update <id> --set field=value",
11394
- "<%= config.bin %> webhooks import --file data.json",
12109
+ "<%= config.bin %> webhooks upsert --file data.json",
11395
12110
  "<%= config.bin %> webhooks export --csv > webhooks.csv"
11396
12111
  ],
11397
12112
  "flags": {
@@ -11409,7 +12124,7 @@
11409
12124
  },
11410
12125
  "output": {
11411
12126
  "char": "o",
11412
- "description": "Output format (default: table for import, json for other commands)",
12127
+ "description": "Output format (default: table for upsert, json for other commands)",
11413
12128
  "name": "output",
11414
12129
  "hasDynamicHelp": false,
11415
12130
  "multiple": false,
@@ -11519,6 +12234,12 @@
11519
12234
  "allowNo": false,
11520
12235
  "type": "boolean"
11521
12236
  },
12237
+ "meta": {
12238
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
12239
+ "name": "meta",
12240
+ "allowNo": false,
12241
+ "type": "boolean"
12242
+ },
11522
12243
  "show-http-request": {
11523
12244
  "description": "Show HTTP request details (method, URL, body)",
11524
12245
  "name": "show-http-request",
@@ -11575,7 +12296,7 @@
11575
12296
  },
11576
12297
  "output": {
11577
12298
  "char": "o",
11578
- "description": "Output format (default: table for import, json for other commands)",
12299
+ "description": "Output format (default: table for upsert, json for other commands)",
11579
12300
  "name": "output",
11580
12301
  "hasDynamicHelp": false,
11581
12302
  "multiple": false,
@@ -11685,6 +12406,12 @@
11685
12406
  "allowNo": false,
11686
12407
  "type": "boolean"
11687
12408
  },
12409
+ "meta": {
12410
+ "description": "Keep the API envelope in JSON output: data plus page, totals and sums",
12411
+ "name": "meta",
12412
+ "allowNo": false,
12413
+ "type": "boolean"
12414
+ },
11688
12415
  "show-http-request": {
11689
12416
  "description": "Show HTTP request details (method, URL, body)",
11690
12417
  "name": "show-http-request",
@@ -12428,5 +13155,5 @@
12428
13155
  ]
12429
13156
  }
12430
13157
  },
12431
- "version": "1.1.1"
13158
+ "version": "1.1.3"
12432
13159
  }