@aderis-erp/cli 1.1.2 → 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 +11 -2
  2. package/dist/commands/access-groups.js +158 -24
  3. package/dist/commands/account-transaction-allocations.d.ts +11 -2
  4. package/dist/commands/account-transaction-allocations.js +157 -23
  5. package/dist/commands/account-transactions.d.ts +15 -2
  6. package/dist/commands/account-transactions.js +162 -24
  7. package/dist/commands/accounts.d.ts +11 -2
  8. package/dist/commands/accounts.js +158 -24
  9. package/dist/commands/agent-platform.d.ts +11 -3
  10. package/dist/commands/agent-platform.js +157 -32
  11. package/dist/commands/agent-runs.d.ts +11 -2
  12. package/dist/commands/agent-runs.js +157 -23
  13. package/dist/commands/analytics.d.ts +11 -2
  14. package/dist/commands/analytics.js +157 -23
  15. package/dist/commands/api-keys.d.ts +11 -2
  16. package/dist/commands/api-keys.js +157 -23
  17. package/dist/commands/async-jobs.d.ts +11 -2
  18. package/dist/commands/async-jobs.js +158 -24
  19. package/dist/commands/audit-log.d.ts +11 -2
  20. package/dist/commands/audit-log.js +157 -23
  21. package/dist/commands/bank-accounts.d.ts +11 -2
  22. package/dist/commands/bank-accounts.js +158 -24
  23. package/dist/commands/bank-integrations.d.ts +11 -2
  24. package/dist/commands/bank-integrations.js +158 -24
  25. package/dist/commands/business-partners.d.ts +11 -2
  26. package/dist/commands/business-partners.js +158 -24
  27. package/dist/commands/chat.d.ts +11 -2
  28. package/dist/commands/chat.js +158 -24
  29. package/dist/commands/credit-card-accounts.d.ts +11 -2
  30. package/dist/commands/credit-card-accounts.js +158 -24
  31. package/dist/commands/delivery-notes.d.ts +11 -2
  32. package/dist/commands/delivery-notes.js +158 -24
  33. package/dist/commands/dunning-configs.d.ts +11 -2
  34. package/dist/commands/dunning-configs.js +158 -24
  35. package/dist/commands/dunning-reminders.d.ts +11 -2
  36. package/dist/commands/dunning-reminders.js +157 -23
  37. package/dist/commands/dunning-runs.d.ts +11 -2
  38. package/dist/commands/dunning-runs.js +157 -23
  39. package/dist/commands/email-transactions.d.ts +11 -2
  40. package/dist/commands/email-transactions.js +157 -23
  41. package/dist/commands/employees.d.ts +13 -2
  42. package/dist/commands/employees.js +169 -24
  43. package/dist/commands/entity-configurations.d.ts +11 -2
  44. package/dist/commands/entity-configurations.js +157 -23
  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 +11 -2
  48. package/dist/commands/event-processor-mappings.js +158 -24
  49. package/dist/commands/files.d.ts +11 -2
  50. package/dist/commands/files.js +158 -24
  51. package/dist/commands/health.d.ts +11 -2
  52. package/dist/commands/health.js +157 -23
  53. package/dist/commands/imports.d.ts +11 -2
  54. package/dist/commands/imports.js +157 -23
  55. package/dist/commands/inbox.d.ts +11 -2
  56. package/dist/commands/inbox.js +157 -23
  57. package/dist/commands/integration-identities.d.ts +11 -2
  58. package/dist/commands/integration-identities.js +157 -23
  59. package/dist/commands/integrations.d.ts +11 -2
  60. package/dist/commands/integrations.js +157 -23
  61. package/dist/commands/item-categories.d.ts +11 -2
  62. package/dist/commands/item-categories.js +158 -24
  63. package/dist/commands/items.d.ts +15 -2
  64. package/dist/commands/items.js +163 -24
  65. package/dist/commands/journal-lines.d.ts +11 -2
  66. package/dist/commands/journal-lines.js +157 -23
  67. package/dist/commands/journals.d.ts +15 -2
  68. package/dist/commands/journals.js +163 -24
  69. package/dist/commands/ledgers.d.ts +11 -2
  70. package/dist/commands/ledgers.js +158 -24
  71. package/dist/commands/my-account.d.ts +11 -2
  72. package/dist/commands/my-account.js +157 -23
  73. package/dist/commands/office-locations.d.ts +11 -2
  74. package/dist/commands/office-locations.js +158 -24
  75. package/dist/commands/payment-methods.d.ts +11 -2
  76. package/dist/commands/payment-methods.js +158 -24
  77. package/dist/commands/payment-runs.d.ts +11 -2
  78. package/dist/commands/payment-runs.js +158 -24
  79. package/dist/commands/payment-terms.d.ts +11 -2
  80. package/dist/commands/payment-terms.js +159 -25
  81. package/dist/commands/payments.d.ts +11 -2
  82. package/dist/commands/payments.js +158 -24
  83. package/dist/commands/payroll-runs.d.ts +11 -2
  84. package/dist/commands/payroll-runs.js +158 -24
  85. package/dist/commands/permissions.d.ts +11 -2
  86. package/dist/commands/permissions.js +157 -23
  87. package/dist/commands/price-lists.d.ts +15 -2
  88. package/dist/commands/price-lists.js +164 -24
  89. package/dist/commands/processor-mappings.d.ts +11 -2
  90. package/dist/commands/processor-mappings.js +158 -24
  91. package/dist/commands/processors.d.ts +11 -2
  92. package/dist/commands/processors.js +158 -24
  93. package/dist/commands/purchase-order-types.d.ts +11 -2
  94. package/dist/commands/purchase-order-types.js +158 -24
  95. package/dist/commands/purchase-orders.d.ts +11 -2
  96. package/dist/commands/purchase-orders.js +158 -24
  97. package/dist/commands/reports.d.ts +11 -2
  98. package/dist/commands/reports.js +157 -23
  99. package/dist/commands/roles.d.ts +11 -2
  100. package/dist/commands/roles.js +158 -24
  101. package/dist/commands/salary-types.d.ts +11 -2
  102. package/dist/commands/salary-types.js +158 -24
  103. package/dist/commands/sales-invoices.d.ts +11 -2
  104. package/dist/commands/sales-invoices.js +161 -24
  105. package/dist/commands/sales-orders.d.ts +11 -2
  106. package/dist/commands/sales-orders.js +158 -24
  107. package/dist/commands/saved-views.d.ts +11 -2
  108. package/dist/commands/saved-views.js +157 -23
  109. package/dist/commands/scheduled-processor-mappings.d.ts +11 -2
  110. package/dist/commands/scheduled-processor-mappings.js +158 -24
  111. package/dist/commands/schedules.d.ts +11 -2
  112. package/dist/commands/schedules.js +158 -24
  113. package/dist/commands/tags.d.ts +11 -2
  114. package/dist/commands/tags.js +158 -24
  115. package/dist/commands/tax-codes.d.ts +11 -2
  116. package/dist/commands/tax-codes.js +158 -24
  117. package/dist/commands/tax-matrix.d.ts +11 -2
  118. package/dist/commands/tax-matrix.js +158 -24
  119. package/dist/commands/templates.d.ts +11 -2
  120. package/dist/commands/templates.js +162 -24
  121. package/dist/commands/tenants.d.ts +11 -2
  122. package/dist/commands/tenants.js +158 -24
  123. package/dist/commands/tools.d.ts +11 -2
  124. package/dist/commands/tools.js +157 -23
  125. package/dist/commands/users.d.ts +11 -2
  126. package/dist/commands/users.js +158 -24
  127. package/dist/commands/vat-declarations.d.ts +11 -2
  128. package/dist/commands/vat-declarations.js +158 -24
  129. package/dist/commands/vendor-invoices.d.ts +11 -2
  130. package/dist/commands/vendor-invoices.js +161 -24
  131. package/dist/commands/webhooks.d.ts +11 -2
  132. package/dist/commands/webhooks.js +158 -24
  133. package/dist/commands/workflows.d.ts +11 -2
  134. package/dist/commands/workflows.js +157 -23
  135. package/dist/lib/api-client.d.ts +1 -0
  136. package/dist/lib/api-client.js +3 -0
  137. package/oclif.manifest.json +466 -162
  138. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  "aliases": [],
5
5
  "args": {
6
6
  "action": {
7
- "description": "Action: list, create, list-summaries, 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,
@@ -211,7 +211,7 @@
211
211
  },
212
212
  "output": {
213
213
  "char": "o",
214
- "description": "Output format (default: table for import, json for other commands)",
214
+ "description": "Output format (default: table for upsert, json for other commands)",
215
215
  "name": "output",
216
216
  "hasDynamicHelp": false,
217
217
  "multiple": false,
@@ -353,7 +353,7 @@
353
353
  "aliases": [],
354
354
  "args": {
355
355
  "action": {
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, 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",
357
357
  "name": "action",
358
358
  "required": true
359
359
  },
@@ -369,7 +369,7 @@
369
369
  "<%= config.bin %> account-transactions get <id>",
370
370
  "<%= config.bin %> account-transactions create --data '{...}'",
371
371
  "<%= config.bin %> account-transactions update <id> --set field=value",
372
- "<%= config.bin %> account-transactions import --file data.json",
372
+ "<%= config.bin %> account-transactions import --file data.json --mode upsert",
373
373
  "<%= config.bin %> account-transactions export --csv > account-transactions.csv"
374
374
  ],
375
375
  "flags": {
@@ -387,7 +387,7 @@
387
387
  },
388
388
  "output": {
389
389
  "char": "o",
390
- "description": "Output format (default: table for import, json for other commands)",
390
+ "description": "Output format (default: table for upsert, json for other commands)",
391
391
  "name": "output",
392
392
  "hasDynamicHelp": false,
393
393
  "multiple": false,
@@ -435,6 +435,38 @@
435
435
  "multiple": true,
436
436
  "type": "option"
437
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
+ },
438
470
  "allocation-id": {
439
471
  "description": "Path param: allocationId",
440
472
  "name": "allocation-id",
@@ -543,7 +575,7 @@
543
575
  "aliases": [],
544
576
  "args": {
545
577
  "action": {
546
- "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",
547
579
  "name": "action",
548
580
  "required": true
549
581
  },
@@ -559,7 +591,7 @@
559
591
  "<%= config.bin %> accounts get <id>",
560
592
  "<%= config.bin %> accounts create --data '{...}'",
561
593
  "<%= config.bin %> accounts update <id> --set field=value",
562
- "<%= config.bin %> accounts import --file data.json",
594
+ "<%= config.bin %> accounts upsert --file data.json",
563
595
  "<%= config.bin %> accounts export --csv > accounts.csv"
564
596
  ],
565
597
  "flags": {
@@ -577,7 +609,7 @@
577
609
  },
578
610
  "output": {
579
611
  "char": "o",
580
- "description": "Output format (default: table for import, json for other commands)",
612
+ "description": "Output format (default: table for upsert, json for other commands)",
581
613
  "name": "output",
582
614
  "hasDynamicHelp": false,
583
615
  "multiple": false,
@@ -726,7 +758,7 @@
726
758
  "aliases": [],
727
759
  "args": {
728
760
  "action": {
729
- "description": "Action: get-runs, get-runs-runId, runs-retry, runs-restart, runs-discard, uploads, uploads-counts, uploads-files, usage",
761
+ "description": "Action: usage",
730
762
  "name": "action",
731
763
  "required": true
732
764
  },
@@ -753,7 +785,7 @@
753
785
  },
754
786
  "output": {
755
787
  "char": "o",
756
- "description": "Output format (default: table for import, json for other commands)",
788
+ "description": "Output format (default: table for upsert, json for other commands)",
757
789
  "name": "output",
758
790
  "hasDynamicHelp": false,
759
791
  "multiple": false,
@@ -801,13 +833,6 @@
801
833
  "multiple": true,
802
834
  "type": "option"
803
835
  },
804
- "file-id": {
805
- "description": "Path param: fileId",
806
- "name": "file-id",
807
- "hasDynamicHelp": false,
808
- "multiple": false,
809
- "type": "option"
810
- },
811
836
  "page": {
812
837
  "description": "Page number",
813
838
  "name": "page",
@@ -929,7 +954,7 @@
929
954
  },
930
955
  "output": {
931
956
  "char": "o",
932
- "description": "Output format (default: table for import, json for other commands)",
957
+ "description": "Output format (default: table for upsert, json for other commands)",
933
958
  "name": "output",
934
959
  "hasDynamicHelp": false,
935
960
  "multiple": false,
@@ -1098,7 +1123,7 @@
1098
1123
  },
1099
1124
  "output": {
1100
1125
  "char": "o",
1101
- "description": "Output format (default: table for import, json for other commands)",
1126
+ "description": "Output format (default: table for upsert, json for other commands)",
1102
1127
  "name": "output",
1103
1128
  "hasDynamicHelp": false,
1104
1129
  "multiple": false,
@@ -1271,7 +1296,7 @@
1271
1296
  },
1272
1297
  "output": {
1273
1298
  "char": "o",
1274
- "description": "Output format (default: table for import, json for other commands)",
1299
+ "description": "Output format (default: table for upsert, json for other commands)",
1275
1300
  "name": "output",
1276
1301
  "hasDynamicHelp": false,
1277
1302
  "multiple": false,
@@ -1413,7 +1438,7 @@
1413
1438
  "aliases": [],
1414
1439
  "args": {
1415
1440
  "action": {
1416
- "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",
1417
1442
  "name": "action",
1418
1443
  "required": true
1419
1444
  },
@@ -1429,7 +1454,7 @@
1429
1454
  "<%= config.bin %> async-jobs get <id>",
1430
1455
  "<%= config.bin %> async-jobs create --data '{...}'",
1431
1456
  "<%= config.bin %> async-jobs update <id> --set field=value",
1432
- "<%= config.bin %> async-jobs import --file data.json",
1457
+ "<%= config.bin %> async-jobs upsert --file data.json",
1433
1458
  "<%= config.bin %> async-jobs export --csv > async-jobs.csv"
1434
1459
  ],
1435
1460
  "flags": {
@@ -1447,7 +1472,7 @@
1447
1472
  },
1448
1473
  "output": {
1449
1474
  "char": "o",
1450
- "description": "Output format (default: table for import, json for other commands)",
1475
+ "description": "Output format (default: table for upsert, json for other commands)",
1451
1476
  "name": "output",
1452
1477
  "hasDynamicHelp": false,
1453
1478
  "multiple": false,
@@ -1620,7 +1645,7 @@
1620
1645
  },
1621
1646
  "output": {
1622
1647
  "char": "o",
1623
- "description": "Output format (default: table for import, json for other commands)",
1648
+ "description": "Output format (default: table for upsert, json for other commands)",
1624
1649
  "name": "output",
1625
1650
  "hasDynamicHelp": false,
1626
1651
  "multiple": false,
@@ -1912,7 +1937,7 @@
1912
1937
  "aliases": [],
1913
1938
  "args": {
1914
1939
  "action": {
1915
- "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",
1916
1941
  "name": "action",
1917
1942
  "required": true
1918
1943
  },
@@ -1928,7 +1953,7 @@
1928
1953
  "<%= config.bin %> bank-accounts get <id>",
1929
1954
  "<%= config.bin %> bank-accounts create --data '{...}'",
1930
1955
  "<%= config.bin %> bank-accounts update <id> --set field=value",
1931
- "<%= config.bin %> bank-accounts import --file data.json",
1956
+ "<%= config.bin %> bank-accounts upsert --file data.json",
1932
1957
  "<%= config.bin %> bank-accounts export --csv > bank-accounts.csv"
1933
1958
  ],
1934
1959
  "flags": {
@@ -1946,7 +1971,7 @@
1946
1971
  },
1947
1972
  "output": {
1948
1973
  "char": "o",
1949
- "description": "Output format (default: table for import, json for other commands)",
1974
+ "description": "Output format (default: table for upsert, json for other commands)",
1950
1975
  "name": "output",
1951
1976
  "hasDynamicHelp": false,
1952
1977
  "multiple": false,
@@ -2102,7 +2127,7 @@
2102
2127
  "aliases": [],
2103
2128
  "args": {
2104
2129
  "action": {
2105
- "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",
2106
2131
  "name": "action",
2107
2132
  "required": true
2108
2133
  },
@@ -2118,7 +2143,7 @@
2118
2143
  "<%= config.bin %> bank-integrations get <id>",
2119
2144
  "<%= config.bin %> bank-integrations create --data '{...}'",
2120
2145
  "<%= config.bin %> bank-integrations update <id> --set field=value",
2121
- "<%= config.bin %> bank-integrations import --file data.json",
2146
+ "<%= config.bin %> bank-integrations upsert --file data.json",
2122
2147
  "<%= config.bin %> bank-integrations export --csv > bank-integrations.csv"
2123
2148
  ],
2124
2149
  "flags": {
@@ -2136,7 +2161,7 @@
2136
2161
  },
2137
2162
  "output": {
2138
2163
  "char": "o",
2139
- "description": "Output format (default: table for import, json for other commands)",
2164
+ "description": "Output format (default: table for upsert, json for other commands)",
2140
2165
  "name": "output",
2141
2166
  "hasDynamicHelp": false,
2142
2167
  "multiple": false,
@@ -2299,7 +2324,7 @@
2299
2324
  "aliases": [],
2300
2325
  "args": {
2301
2326
  "action": {
2302
- "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, import, export, import-notes, import-files, import-contacts, import-contacts-notes, import-beneficiary-accounts",
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",
2303
2328
  "name": "action",
2304
2329
  "required": true
2305
2330
  },
@@ -2315,7 +2340,7 @@
2315
2340
  "<%= config.bin %> business-partners get <id>",
2316
2341
  "<%= config.bin %> business-partners create --data '{...}'",
2317
2342
  "<%= config.bin %> business-partners update <id> --set field=value",
2318
- "<%= config.bin %> business-partners import --file data.json",
2343
+ "<%= config.bin %> business-partners upsert --file data.json",
2319
2344
  "<%= config.bin %> business-partners export --csv > business-partners.csv"
2320
2345
  ],
2321
2346
  "flags": {
@@ -2333,7 +2358,7 @@
2333
2358
  },
2334
2359
  "output": {
2335
2360
  "char": "o",
2336
- "description": "Output format (default: table for import, json for other commands)",
2361
+ "description": "Output format (default: table for upsert, json for other commands)",
2337
2362
  "name": "output",
2338
2363
  "hasDynamicHelp": false,
2339
2364
  "multiple": false,
@@ -2503,7 +2528,7 @@
2503
2528
  "aliases": [],
2504
2529
  "args": {
2505
2530
  "action": {
2506
- "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",
2507
2532
  "name": "action",
2508
2533
  "required": true
2509
2534
  },
@@ -2518,7 +2543,7 @@
2518
2543
  "<%= config.bin %> chat get <id>",
2519
2544
  "<%= config.bin %> chat create --data '{...}'",
2520
2545
  "<%= config.bin %> chat update <id> --set field=value",
2521
- "<%= config.bin %> chat import --file data.json"
2546
+ "<%= config.bin %> chat upsert --file data.json"
2522
2547
  ],
2523
2548
  "flags": {
2524
2549
  "context": {
@@ -2535,7 +2560,7 @@
2535
2560
  },
2536
2561
  "output": {
2537
2562
  "char": "o",
2538
- "description": "Output format (default: table for import, json for other commands)",
2563
+ "description": "Output format (default: table for upsert, json for other commands)",
2539
2564
  "name": "output",
2540
2565
  "hasDynamicHelp": false,
2541
2566
  "multiple": false,
@@ -2677,7 +2702,7 @@
2677
2702
  "aliases": [],
2678
2703
  "args": {
2679
2704
  "action": {
2680
- "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",
2681
2706
  "name": "action",
2682
2707
  "required": true
2683
2708
  },
@@ -2693,7 +2718,7 @@
2693
2718
  "<%= config.bin %> credit-card-accounts get <id>",
2694
2719
  "<%= config.bin %> credit-card-accounts create --data '{...}'",
2695
2720
  "<%= config.bin %> credit-card-accounts update <id> --set field=value",
2696
- "<%= config.bin %> credit-card-accounts import --file data.json",
2721
+ "<%= config.bin %> credit-card-accounts upsert --file data.json",
2697
2722
  "<%= config.bin %> credit-card-accounts export --csv > credit-card-accounts.csv"
2698
2723
  ],
2699
2724
  "flags": {
@@ -2711,7 +2736,7 @@
2711
2736
  },
2712
2737
  "output": {
2713
2738
  "char": "o",
2714
- "description": "Output format (default: table for import, json for other commands)",
2739
+ "description": "Output format (default: table for upsert, json for other commands)",
2715
2740
  "name": "output",
2716
2741
  "hasDynamicHelp": false,
2717
2742
  "multiple": false,
@@ -2874,7 +2899,7 @@
2874
2899
  "aliases": [],
2875
2900
  "args": {
2876
2901
  "action": {
2877
- "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",
2878
2903
  "name": "action",
2879
2904
  "required": true
2880
2905
  },
@@ -2890,7 +2915,7 @@
2890
2915
  "<%= config.bin %> delivery-notes get <id>",
2891
2916
  "<%= config.bin %> delivery-notes create --data '{...}'",
2892
2917
  "<%= config.bin %> delivery-notes update <id> --set field=value",
2893
- "<%= config.bin %> delivery-notes import --file data.json",
2918
+ "<%= config.bin %> delivery-notes upsert --file data.json",
2894
2919
  "<%= config.bin %> delivery-notes export --csv > delivery-notes.csv"
2895
2920
  ],
2896
2921
  "flags": {
@@ -2908,7 +2933,7 @@
2908
2933
  },
2909
2934
  "output": {
2910
2935
  "char": "o",
2911
- "description": "Output format (default: table for import, json for other commands)",
2936
+ "description": "Output format (default: table for upsert, json for other commands)",
2912
2937
  "name": "output",
2913
2938
  "hasDynamicHelp": false,
2914
2939
  "multiple": false,
@@ -3071,7 +3096,7 @@
3071
3096
  "aliases": [],
3072
3097
  "args": {
3073
3098
  "action": {
3074
- "description": "Action: list, create, get, update, delete, import, export",
3099
+ "description": "Action: list, create, get, update, delete, upsert, export",
3075
3100
  "name": "action",
3076
3101
  "required": true
3077
3102
  },
@@ -3087,7 +3112,7 @@
3087
3112
  "<%= config.bin %> dunning-configs get <id>",
3088
3113
  "<%= config.bin %> dunning-configs create --data '{...}'",
3089
3114
  "<%= config.bin %> dunning-configs update <id> --set field=value",
3090
- "<%= config.bin %> dunning-configs import --file data.json",
3115
+ "<%= config.bin %> dunning-configs upsert --file data.json",
3091
3116
  "<%= config.bin %> dunning-configs export --csv > dunning-configs.csv"
3092
3117
  ],
3093
3118
  "flags": {
@@ -3105,7 +3130,7 @@
3105
3130
  },
3106
3131
  "output": {
3107
3132
  "char": "o",
3108
- "description": "Output format (default: table for import, json for other commands)",
3133
+ "description": "Output format (default: table for upsert, json for other commands)",
3109
3134
  "name": "output",
3110
3135
  "hasDynamicHelp": false,
3111
3136
  "multiple": false,
@@ -3279,7 +3304,7 @@
3279
3304
  },
3280
3305
  "output": {
3281
3306
  "char": "o",
3282
- "description": "Output format (default: table for import, json for other commands)",
3307
+ "description": "Output format (default: table for upsert, json for other commands)",
3283
3308
  "name": "output",
3284
3309
  "hasDynamicHelp": false,
3285
3310
  "multiple": false,
@@ -3448,7 +3473,7 @@
3448
3473
  },
3449
3474
  "output": {
3450
3475
  "char": "o",
3451
- "description": "Output format (default: table for import, json for other commands)",
3476
+ "description": "Output format (default: table for upsert, json for other commands)",
3452
3477
  "name": "output",
3453
3478
  "hasDynamicHelp": false,
3454
3479
  "multiple": false,
@@ -3621,7 +3646,7 @@
3621
3646
  },
3622
3647
  "output": {
3623
3648
  "char": "o",
3624
- "description": "Output format (default: table for import, json for other commands)",
3649
+ "description": "Output format (default: table for upsert, json for other commands)",
3625
3650
  "name": "output",
3626
3651
  "hasDynamicHelp": false,
3627
3652
  "multiple": false,
@@ -3763,7 +3788,7 @@
3763
3788
  "aliases": [],
3764
3789
  "args": {
3765
3790
  "action": {
3766
- "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",
3767
3792
  "name": "action",
3768
3793
  "required": true
3769
3794
  },
@@ -3779,7 +3804,7 @@
3779
3804
  "<%= config.bin %> employees get <id>",
3780
3805
  "<%= config.bin %> employees create --data '{...}'",
3781
3806
  "<%= config.bin %> employees update <id> --set field=value",
3782
- "<%= config.bin %> employees import --file data.json",
3807
+ "<%= config.bin %> employees upsert --file data.json",
3783
3808
  "<%= config.bin %> employees export --csv > employees.csv"
3784
3809
  ],
3785
3810
  "flags": {
@@ -3797,7 +3822,7 @@
3797
3822
  },
3798
3823
  "output": {
3799
3824
  "char": "o",
3800
- "description": "Output format (default: table for import, json for other commands)",
3825
+ "description": "Output format (default: table for upsert, json for other commands)",
3801
3826
  "name": "output",
3802
3827
  "hasDynamicHelp": false,
3803
3828
  "multiple": false,
@@ -3873,6 +3898,20 @@
3873
3898
  "multiple": false,
3874
3899
  "type": "option"
3875
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
+ },
3876
3915
  "page": {
3877
3916
  "description": "Page number",
3878
3917
  "name": "page",
@@ -3994,7 +4033,7 @@
3994
4033
  },
3995
4034
  "output": {
3996
4035
  "char": "o",
3997
- "description": "Output format (default: table for import, json for other commands)",
4036
+ "description": "Output format (default: table for upsert, json for other commands)",
3998
4037
  "name": "output",
3999
4038
  "hasDynamicHelp": false,
4000
4039
  "multiple": false,
@@ -4132,11 +4171,180 @@
4132
4171
  "entity-configurations.js"
4133
4172
  ]
4134
4173
  },
4174
+ "event-mapping-rules": {
4175
+ "aliases": [],
4176
+ "args": {
4177
+ "action": {
4178
+ "description": "Action: fields",
4179
+ "name": "action",
4180
+ "required": true
4181
+ },
4182
+ "id": {
4183
+ "description": "Resource ID (for get, update, delete operations)",
4184
+ "name": "id",
4185
+ "required": false
4186
+ }
4187
+ },
4188
+ "description": "Manage event mapping rules",
4189
+ "examples": [],
4190
+ "flags": {
4191
+ "context": {
4192
+ "aliases": [
4193
+ "config"
4194
+ ],
4195
+ "char": "c",
4196
+ "description": "Context to use for this command, overriding the current context (alias: --config)",
4197
+ "env": "ADERIS_CONTEXT",
4198
+ "name": "context",
4199
+ "hasDynamicHelp": false,
4200
+ "multiple": false,
4201
+ "type": "option"
4202
+ },
4203
+ "output": {
4204
+ "char": "o",
4205
+ "description": "Output format (default: table for upsert, json for other commands)",
4206
+ "name": "output",
4207
+ "hasDynamicHelp": false,
4208
+ "multiple": false,
4209
+ "options": [
4210
+ "json",
4211
+ "table",
4212
+ "csv"
4213
+ ],
4214
+ "type": "option"
4215
+ },
4216
+ "table": {
4217
+ "char": "t",
4218
+ "description": "Output as table (shortcut for --output table)",
4219
+ "name": "table",
4220
+ "allowNo": false,
4221
+ "type": "boolean"
4222
+ },
4223
+ "csv": {
4224
+ "description": "Output as CSV (shortcut for --output csv)",
4225
+ "name": "csv",
4226
+ "allowNo": false,
4227
+ "type": "boolean"
4228
+ },
4229
+ "data": {
4230
+ "char": "d",
4231
+ "description": "JSON data for request body",
4232
+ "name": "data",
4233
+ "hasDynamicHelp": false,
4234
+ "multiple": false,
4235
+ "type": "option"
4236
+ },
4237
+ "file": {
4238
+ "char": "f",
4239
+ "description": "Read request body from file",
4240
+ "name": "file",
4241
+ "hasDynamicHelp": false,
4242
+ "multiple": false,
4243
+ "type": "option"
4244
+ },
4245
+ "set": {
4246
+ "char": "s",
4247
+ "description": "Set individual field (e.g. --set firstName=John)",
4248
+ "name": "set",
4249
+ "hasDynamicHelp": false,
4250
+ "multiple": true,
4251
+ "type": "option"
4252
+ },
4253
+ "page": {
4254
+ "description": "Page number",
4255
+ "name": "page",
4256
+ "hasDynamicHelp": false,
4257
+ "multiple": false,
4258
+ "type": "option"
4259
+ },
4260
+ "limit": {
4261
+ "description": "Items per page",
4262
+ "name": "limit",
4263
+ "hasDynamicHelp": false,
4264
+ "multiple": false,
4265
+ "type": "option"
4266
+ },
4267
+ "include": {
4268
+ "description": "Relations to include",
4269
+ "name": "include",
4270
+ "hasDynamicHelp": false,
4271
+ "multiple": false,
4272
+ "type": "option"
4273
+ },
4274
+ "search": {
4275
+ "description": "Search term",
4276
+ "name": "search",
4277
+ "hasDynamicHelp": false,
4278
+ "multiple": false,
4279
+ "type": "option"
4280
+ },
4281
+ "sort-by": {
4282
+ "description": "Sort field(s), comma-separated. Direction (:ASC/:DESC) is optional; date-like fields default to DESC, others to ASC.",
4283
+ "name": "sort-by",
4284
+ "hasDynamicHelp": false,
4285
+ "multiple": false,
4286
+ "type": "option"
4287
+ },
4288
+ "filter": {
4289
+ "description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
4290
+ "name": "filter",
4291
+ "hasDynamicHelp": false,
4292
+ "multiple": true,
4293
+ "type": "option"
4294
+ },
4295
+ "query": {
4296
+ "description": "Additional query params as JSON",
4297
+ "name": "query",
4298
+ "hasDynamicHelp": false,
4299
+ "multiple": false,
4300
+ "type": "option"
4301
+ },
4302
+ "fields": {
4303
+ "description": "Comma-separated list of fields to return, applied by the API (e.g. --fields=id,name,status)",
4304
+ "name": "fields",
4305
+ "hasDynamicHelp": false,
4306
+ "multiple": false,
4307
+ "type": "option"
4308
+ },
4309
+ "sanitize": {
4310
+ "description": "Remove null values, audit fields, and duplicate UUIDs from output",
4311
+ "name": "sanitize",
4312
+ "allowNo": false,
4313
+ "type": "boolean"
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
+ },
4321
+ "show-http-request": {
4322
+ "description": "Show HTTP request details (method, URL, body)",
4323
+ "name": "show-http-request",
4324
+ "allowNo": false,
4325
+ "type": "boolean"
4326
+ }
4327
+ },
4328
+ "hasDynamicHelp": false,
4329
+ "hiddenAliases": [],
4330
+ "id": "event-mapping-rules",
4331
+ "pluginAlias": "@aderis-erp/cli",
4332
+ "pluginName": "@aderis-erp/cli",
4333
+ "pluginType": "core",
4334
+ "strict": true,
4335
+ "enableJsonFlag": false,
4336
+ "isESM": true,
4337
+ "relativePath": [
4338
+ "dist",
4339
+ "commands",
4340
+ "event-mapping-rules.js"
4341
+ ]
4342
+ },
4135
4343
  "event-processor-mappings": {
4136
4344
  "aliases": [],
4137
4345
  "args": {
4138
4346
  "action": {
4139
- "description": "Action: events, list, create, update, delete, import, export",
4347
+ "description": "Action: events, list, create, update, delete, upsert, export",
4140
4348
  "name": "action",
4141
4349
  "required": true
4142
4350
  },
@@ -4151,7 +4359,7 @@
4151
4359
  "<%= config.bin %> event-processor-mappings list",
4152
4360
  "<%= config.bin %> event-processor-mappings create --data '{...}'",
4153
4361
  "<%= config.bin %> event-processor-mappings update <id> --set field=value",
4154
- "<%= config.bin %> event-processor-mappings import --file data.json",
4362
+ "<%= config.bin %> event-processor-mappings upsert --file data.json",
4155
4363
  "<%= config.bin %> event-processor-mappings export --csv > event-processor-mappings.csv"
4156
4364
  ],
4157
4365
  "flags": {
@@ -4169,7 +4377,7 @@
4169
4377
  },
4170
4378
  "output": {
4171
4379
  "char": "o",
4172
- "description": "Output format (default: table for import, json for other commands)",
4380
+ "description": "Output format (default: table for upsert, json for other commands)",
4173
4381
  "name": "output",
4174
4382
  "hasDynamicHelp": false,
4175
4383
  "multiple": false,
@@ -4311,7 +4519,7 @@
4311
4519
  "aliases": [],
4312
4520
  "args": {
4313
4521
  "action": {
4314
- "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",
4315
4523
  "name": "action",
4316
4524
  "required": true
4317
4525
  },
@@ -4327,7 +4535,7 @@
4327
4535
  "<%= config.bin %> files get <id>",
4328
4536
  "<%= config.bin %> files create --data '{...}'",
4329
4537
  "<%= config.bin %> files update <id> --set field=value",
4330
- "<%= config.bin %> files import --file data.json",
4538
+ "<%= config.bin %> files upsert --file data.json",
4331
4539
  "<%= config.bin %> files export --csv > files.csv"
4332
4540
  ],
4333
4541
  "flags": {
@@ -4345,7 +4553,7 @@
4345
4553
  },
4346
4554
  "output": {
4347
4555
  "char": "o",
4348
- "description": "Output format (default: table for import, json for other commands)",
4556
+ "description": "Output format (default: table for upsert, json for other commands)",
4349
4557
  "name": "output",
4350
4558
  "hasDynamicHelp": false,
4351
4559
  "multiple": false,
@@ -4516,7 +4724,7 @@
4516
4724
  },
4517
4725
  "output": {
4518
4726
  "char": "o",
4519
- "description": "Output format (default: table for import, json for other commands)",
4727
+ "description": "Output format (default: table for upsert, json for other commands)",
4520
4728
  "name": "output",
4521
4729
  "hasDynamicHelp": false,
4522
4730
  "multiple": false,
@@ -4689,7 +4897,7 @@
4689
4897
  },
4690
4898
  "output": {
4691
4899
  "char": "o",
4692
- "description": "Output format (default: table for import, json for other commands)",
4900
+ "description": "Output format (default: table for upsert, json for other commands)",
4693
4901
  "name": "output",
4694
4902
  "hasDynamicHelp": false,
4695
4903
  "multiple": false,
@@ -4858,7 +5066,7 @@
4858
5066
  },
4859
5067
  "output": {
4860
5068
  "char": "o",
4861
- "description": "Output format (default: table for import, json for other commands)",
5069
+ "description": "Output format (default: table for upsert, json for other commands)",
4862
5070
  "name": "output",
4863
5071
  "hasDynamicHelp": false,
4864
5072
  "multiple": false,
@@ -5034,7 +5242,7 @@
5034
5242
  },
5035
5243
  "output": {
5036
5244
  "char": "o",
5037
- "description": "Output format (default: table for import, json for other commands)",
5245
+ "description": "Output format (default: table for upsert, json for other commands)",
5038
5246
  "name": "output",
5039
5247
  "hasDynamicHelp": false,
5040
5248
  "multiple": false,
@@ -5213,7 +5421,7 @@
5213
5421
  },
5214
5422
  "output": {
5215
5423
  "char": "o",
5216
- "description": "Output format (default: table for import, json for other commands)",
5424
+ "description": "Output format (default: table for upsert, json for other commands)",
5217
5425
  "name": "output",
5218
5426
  "hasDynamicHelp": false,
5219
5427
  "multiple": false,
@@ -5362,7 +5570,7 @@
5362
5570
  "aliases": [],
5363
5571
  "args": {
5364
5572
  "action": {
5365
- "description": "Action: list, create, get, update, delete, import, export",
5573
+ "description": "Action: list, create, get, update, delete, upsert, export",
5366
5574
  "name": "action",
5367
5575
  "required": true
5368
5576
  },
@@ -5378,7 +5586,7 @@
5378
5586
  "<%= config.bin %> item-categories get <id>",
5379
5587
  "<%= config.bin %> item-categories create --data '{...}'",
5380
5588
  "<%= config.bin %> item-categories update <id> --set field=value",
5381
- "<%= config.bin %> item-categories import --file data.json",
5589
+ "<%= config.bin %> item-categories upsert --file data.json",
5382
5590
  "<%= config.bin %> item-categories export --csv > item-categories.csv"
5383
5591
  ],
5384
5592
  "flags": {
@@ -5396,7 +5604,7 @@
5396
5604
  },
5397
5605
  "output": {
5398
5606
  "char": "o",
5399
- "description": "Output format (default: table for import, json for other commands)",
5607
+ "description": "Output format (default: table for upsert, json for other commands)",
5400
5608
  "name": "output",
5401
5609
  "hasDynamicHelp": false,
5402
5610
  "multiple": false,
@@ -5554,7 +5762,7 @@
5554
5762
  "<%= config.bin %> items get <id>",
5555
5763
  "<%= config.bin %> items create --data '{...}'",
5556
5764
  "<%= config.bin %> items update <id> --set field=value",
5557
- "<%= config.bin %> items import --file data.json",
5765
+ "<%= config.bin %> items import --file data.json --mode upsert",
5558
5766
  "<%= config.bin %> items export --csv > items.csv"
5559
5767
  ],
5560
5768
  "flags": {
@@ -5572,7 +5780,7 @@
5572
5780
  },
5573
5781
  "output": {
5574
5782
  "char": "o",
5575
- "description": "Output format (default: table for import, json for other commands)",
5783
+ "description": "Output format (default: table for upsert, json for other commands)",
5576
5784
  "name": "output",
5577
5785
  "hasDynamicHelp": false,
5578
5786
  "multiple": false,
@@ -5620,6 +5828,38 @@
5620
5828
  "multiple": true,
5621
5829
  "type": "option"
5622
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
+ },
5623
5863
  "page": {
5624
5864
  "description": "Page number",
5625
5865
  "name": "page",
@@ -5744,7 +5984,7 @@
5744
5984
  },
5745
5985
  "output": {
5746
5986
  "char": "o",
5747
- "description": "Output format (default: table for import, json for other commands)",
5987
+ "description": "Output format (default: table for upsert, json for other commands)",
5748
5988
  "name": "output",
5749
5989
  "hasDynamicHelp": false,
5750
5990
  "multiple": false,
@@ -5886,7 +6126,7 @@
5886
6126
  "aliases": [],
5887
6127
  "args": {
5888
6128
  "action": {
5889
- "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",
5890
6130
  "name": "action",
5891
6131
  "required": true
5892
6132
  },
@@ -5902,7 +6142,7 @@
5902
6142
  "<%= config.bin %> journals get <id>",
5903
6143
  "<%= config.bin %> journals create --data '{...}'",
5904
6144
  "<%= config.bin %> journals update <id> --set field=value",
5905
- "<%= config.bin %> journals import --file data.json",
6145
+ "<%= config.bin %> journals import --file data.json --mode upsert",
5906
6146
  "<%= config.bin %> journals export --csv > journals.csv"
5907
6147
  ],
5908
6148
  "flags": {
@@ -5920,7 +6160,7 @@
5920
6160
  },
5921
6161
  "output": {
5922
6162
  "char": "o",
5923
- "description": "Output format (default: table for import, json for other commands)",
6163
+ "description": "Output format (default: table for upsert, json for other commands)",
5924
6164
  "name": "output",
5925
6165
  "hasDynamicHelp": false,
5926
6166
  "multiple": false,
@@ -5968,6 +6208,38 @@
5968
6208
  "multiple": true,
5969
6209
  "type": "option"
5970
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
+ },
5971
6243
  "line-id": {
5972
6244
  "description": "Path param: lineId",
5973
6245
  "name": "line-id",
@@ -6083,7 +6355,7 @@
6083
6355
  "aliases": [],
6084
6356
  "args": {
6085
6357
  "action": {
6086
- "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",
6087
6359
  "name": "action",
6088
6360
  "required": true
6089
6361
  },
@@ -6099,7 +6371,7 @@
6099
6371
  "<%= config.bin %> ledgers get <id>",
6100
6372
  "<%= config.bin %> ledgers create --data '{...}'",
6101
6373
  "<%= config.bin %> ledgers update <id> --set field=value",
6102
- "<%= config.bin %> ledgers import --file data.json",
6374
+ "<%= config.bin %> ledgers upsert --file data.json",
6103
6375
  "<%= config.bin %> ledgers export --csv > ledgers.csv"
6104
6376
  ],
6105
6377
  "flags": {
@@ -6117,7 +6389,7 @@
6117
6389
  },
6118
6390
  "output": {
6119
6391
  "char": "o",
6120
- "description": "Output format (default: table for import, json for other commands)",
6392
+ "description": "Output format (default: table for upsert, json for other commands)",
6121
6393
  "name": "output",
6122
6394
  "hasDynamicHelp": false,
6123
6395
  "multiple": false,
@@ -6314,7 +6586,7 @@
6314
6586
  },
6315
6587
  "output": {
6316
6588
  "char": "o",
6317
- "description": "Output format (default: table for import, json for other commands)",
6589
+ "description": "Output format (default: table for upsert, json for other commands)",
6318
6590
  "name": "output",
6319
6591
  "hasDynamicHelp": false,
6320
6592
  "multiple": false,
@@ -6456,7 +6728,7 @@
6456
6728
  "aliases": [],
6457
6729
  "args": {
6458
6730
  "action": {
6459
- "description": "Action: list, create, get, update, delete, import, export",
6731
+ "description": "Action: list, create, get, update, delete, upsert, export",
6460
6732
  "name": "action",
6461
6733
  "required": true
6462
6734
  },
@@ -6472,7 +6744,7 @@
6472
6744
  "<%= config.bin %> office-locations get <id>",
6473
6745
  "<%= config.bin %> office-locations create --data '{...}'",
6474
6746
  "<%= config.bin %> office-locations update <id> --set field=value",
6475
- "<%= config.bin %> office-locations import --file data.json",
6747
+ "<%= config.bin %> office-locations upsert --file data.json",
6476
6748
  "<%= config.bin %> office-locations export --csv > office-locations.csv"
6477
6749
  ],
6478
6750
  "flags": {
@@ -6490,7 +6762,7 @@
6490
6762
  },
6491
6763
  "output": {
6492
6764
  "char": "o",
6493
- "description": "Output format (default: table for import, json for other commands)",
6765
+ "description": "Output format (default: table for upsert, json for other commands)",
6494
6766
  "name": "output",
6495
6767
  "hasDynamicHelp": false,
6496
6768
  "multiple": false,
@@ -6632,7 +6904,7 @@
6632
6904
  "aliases": [],
6633
6905
  "args": {
6634
6906
  "action": {
6635
- "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",
6636
6908
  "name": "action",
6637
6909
  "required": true
6638
6910
  },
@@ -6648,7 +6920,7 @@
6648
6920
  "<%= config.bin %> payment-methods get <id>",
6649
6921
  "<%= config.bin %> payment-methods create --data '{...}'",
6650
6922
  "<%= config.bin %> payment-methods update <id> --set field=value",
6651
- "<%= config.bin %> payment-methods import --file data.json",
6923
+ "<%= config.bin %> payment-methods upsert --file data.json",
6652
6924
  "<%= config.bin %> payment-methods export --csv > payment-methods.csv"
6653
6925
  ],
6654
6926
  "flags": {
@@ -6666,7 +6938,7 @@
6666
6938
  },
6667
6939
  "output": {
6668
6940
  "char": "o",
6669
- "description": "Output format (default: table for import, json for other commands)",
6941
+ "description": "Output format (default: table for upsert, json for other commands)",
6670
6942
  "name": "output",
6671
6943
  "hasDynamicHelp": false,
6672
6944
  "multiple": false,
@@ -6815,7 +7087,7 @@
6815
7087
  "aliases": [],
6816
7088
  "args": {
6817
7089
  "action": {
6818
- "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, 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",
6819
7091
  "name": "action",
6820
7092
  "required": true
6821
7093
  },
@@ -6831,7 +7103,7 @@
6831
7103
  "<%= config.bin %> payment-runs get <id>",
6832
7104
  "<%= config.bin %> payment-runs create --data '{...}'",
6833
7105
  "<%= config.bin %> payment-runs update <id> --set field=value",
6834
- "<%= config.bin %> payment-runs import --file data.json",
7106
+ "<%= config.bin %> payment-runs upsert --file data.json",
6835
7107
  "<%= config.bin %> payment-runs export --csv > payment-runs.csv"
6836
7108
  ],
6837
7109
  "flags": {
@@ -6849,7 +7121,7 @@
6849
7121
  },
6850
7122
  "output": {
6851
7123
  "char": "o",
6852
- "description": "Output format (default: table for import, json for other commands)",
7124
+ "description": "Output format (default: table for upsert, json for other commands)",
6853
7125
  "name": "output",
6854
7126
  "hasDynamicHelp": false,
6855
7127
  "multiple": false,
@@ -7005,7 +7277,7 @@
7005
7277
  "aliases": [],
7006
7278
  "args": {
7007
7279
  "action": {
7008
- "description": "Action: list, create, default, get, update, delete, import, export",
7280
+ "description": "Action: list, create, default, get, update, delete, upsert, export",
7009
7281
  "name": "action",
7010
7282
  "required": true
7011
7283
  },
@@ -7021,7 +7293,7 @@
7021
7293
  "<%= config.bin %> payment-terms get <id>",
7022
7294
  "<%= config.bin %> payment-terms create --data '{...}'",
7023
7295
  "<%= config.bin %> payment-terms update <id> --set field=value",
7024
- "<%= config.bin %> payment-terms import --file data.json",
7296
+ "<%= config.bin %> payment-terms upsert --file data.json",
7025
7297
  "<%= config.bin %> payment-terms export --csv > payment-terms.csv"
7026
7298
  ],
7027
7299
  "flags": {
@@ -7039,7 +7311,7 @@
7039
7311
  },
7040
7312
  "output": {
7041
7313
  "char": "o",
7042
- "description": "Output format (default: table for import, json for other commands)",
7314
+ "description": "Output format (default: table for upsert, json for other commands)",
7043
7315
  "name": "output",
7044
7316
  "hasDynamicHelp": false,
7045
7317
  "multiple": false,
@@ -7181,7 +7453,7 @@
7181
7453
  "aliases": [],
7182
7454
  "args": {
7183
7455
  "action": {
7184
- "description": "Action: list, create, get, update, delete, approve, cancel, import, export",
7456
+ "description": "Action: list, create, get, update, delete, approve, cancel, upsert, export",
7185
7457
  "name": "action",
7186
7458
  "required": true
7187
7459
  },
@@ -7197,7 +7469,7 @@
7197
7469
  "<%= config.bin %> payments get <id>",
7198
7470
  "<%= config.bin %> payments create --data '{...}'",
7199
7471
  "<%= config.bin %> payments update <id> --set field=value",
7200
- "<%= config.bin %> payments import --file data.json",
7472
+ "<%= config.bin %> payments upsert --file data.json",
7201
7473
  "<%= config.bin %> payments export --csv > payments.csv"
7202
7474
  ],
7203
7475
  "flags": {
@@ -7215,7 +7487,7 @@
7215
7487
  },
7216
7488
  "output": {
7217
7489
  "char": "o",
7218
- "description": "Output format (default: table for import, json for other commands)",
7490
+ "description": "Output format (default: table for upsert, json for other commands)",
7219
7491
  "name": "output",
7220
7492
  "hasDynamicHelp": false,
7221
7493
  "multiple": false,
@@ -7357,7 +7629,7 @@
7357
7629
  "aliases": [],
7358
7630
  "args": {
7359
7631
  "action": {
7360
- "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",
7361
7633
  "name": "action",
7362
7634
  "required": true
7363
7635
  },
@@ -7373,7 +7645,7 @@
7373
7645
  "<%= config.bin %> payroll-runs get <id>",
7374
7646
  "<%= config.bin %> payroll-runs create --data '{...}'",
7375
7647
  "<%= config.bin %> payroll-runs update <id> --set field=value",
7376
- "<%= config.bin %> payroll-runs import --file data.json",
7648
+ "<%= config.bin %> payroll-runs upsert --file data.json",
7377
7649
  "<%= config.bin %> payroll-runs export --csv > payroll-runs.csv"
7378
7650
  ],
7379
7651
  "flags": {
@@ -7391,7 +7663,7 @@
7391
7663
  },
7392
7664
  "output": {
7393
7665
  "char": "o",
7394
- "description": "Output format (default: table for import, json for other commands)",
7666
+ "description": "Output format (default: table for upsert, json for other commands)",
7395
7667
  "name": "output",
7396
7668
  "hasDynamicHelp": false,
7397
7669
  "multiple": false,
@@ -7591,7 +7863,7 @@
7591
7863
  },
7592
7864
  "output": {
7593
7865
  "char": "o",
7594
- "description": "Output format (default: table for import, json for other commands)",
7866
+ "description": "Output format (default: table for upsert, json for other commands)",
7595
7867
  "name": "output",
7596
7868
  "hasDynamicHelp": false,
7597
7869
  "multiple": false,
@@ -7733,7 +8005,7 @@
7733
8005
  "aliases": [],
7734
8006
  "args": {
7735
8007
  "action": {
7736
- "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",
7737
8009
  "name": "action",
7738
8010
  "required": true
7739
8011
  },
@@ -7749,7 +8021,7 @@
7749
8021
  "<%= config.bin %> price-lists get <id>",
7750
8022
  "<%= config.bin %> price-lists create --data '{...}'",
7751
8023
  "<%= config.bin %> price-lists update <id> --set field=value",
7752
- "<%= config.bin %> price-lists import --file data.json",
8024
+ "<%= config.bin %> price-lists import --file data.json --mode upsert",
7753
8025
  "<%= config.bin %> price-lists export --csv > price-lists.csv"
7754
8026
  ],
7755
8027
  "flags": {
@@ -7767,7 +8039,7 @@
7767
8039
  },
7768
8040
  "output": {
7769
8041
  "char": "o",
7770
- "description": "Output format (default: table for import, json for other commands)",
8042
+ "description": "Output format (default: table for upsert, json for other commands)",
7771
8043
  "name": "output",
7772
8044
  "hasDynamicHelp": false,
7773
8045
  "multiple": false,
@@ -7815,6 +8087,38 @@
7815
8087
  "multiple": true,
7816
8088
  "type": "option"
7817
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
+ },
7818
8122
  "price-id": {
7819
8123
  "description": "Path param: priceId",
7820
8124
  "name": "price-id",
@@ -7916,7 +8220,7 @@
7916
8220
  "aliases": [],
7917
8221
  "args": {
7918
8222
  "action": {
7919
- "description": "Action: list, create, update, delete, import, export",
8223
+ "description": "Action: list, create, update, delete, upsert, export",
7920
8224
  "name": "action",
7921
8225
  "required": true
7922
8226
  },
@@ -7931,7 +8235,7 @@
7931
8235
  "<%= config.bin %> processor-mappings list",
7932
8236
  "<%= config.bin %> processor-mappings create --data '{...}'",
7933
8237
  "<%= config.bin %> processor-mappings update <id> --set field=value",
7934
- "<%= config.bin %> processor-mappings import --file data.json",
8238
+ "<%= config.bin %> processor-mappings upsert --file data.json",
7935
8239
  "<%= config.bin %> processor-mappings export --csv > processor-mappings.csv"
7936
8240
  ],
7937
8241
  "flags": {
@@ -7949,7 +8253,7 @@
7949
8253
  },
7950
8254
  "output": {
7951
8255
  "char": "o",
7952
- "description": "Output format (default: table for import, json for other commands)",
8256
+ "description": "Output format (default: table for upsert, json for other commands)",
7953
8257
  "name": "output",
7954
8258
  "hasDynamicHelp": false,
7955
8259
  "multiple": false,
@@ -8091,7 +8395,7 @@
8091
8395
  "aliases": [],
8092
8396
  "args": {
8093
8397
  "action": {
8094
- "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",
8095
8399
  "name": "action",
8096
8400
  "required": true
8097
8401
  },
@@ -8107,7 +8411,7 @@
8107
8411
  "<%= config.bin %> processors get <id>",
8108
8412
  "<%= config.bin %> processors create --data '{...}'",
8109
8413
  "<%= config.bin %> processors update <id> --set field=value",
8110
- "<%= config.bin %> processors import --file data.json",
8414
+ "<%= config.bin %> processors upsert --file data.json",
8111
8415
  "<%= config.bin %> processors export --csv > processors.csv"
8112
8416
  ],
8113
8417
  "flags": {
@@ -8125,7 +8429,7 @@
8125
8429
  },
8126
8430
  "output": {
8127
8431
  "char": "o",
8128
- "description": "Output format (default: table for import, json for other commands)",
8432
+ "description": "Output format (default: table for upsert, json for other commands)",
8129
8433
  "name": "output",
8130
8434
  "hasDynamicHelp": false,
8131
8435
  "multiple": false,
@@ -8267,7 +8571,7 @@
8267
8571
  "aliases": [],
8268
8572
  "args": {
8269
8573
  "action": {
8270
- "description": "Action: list, create, get, update, delete, import, export",
8574
+ "description": "Action: list, create, get, update, delete, upsert, export",
8271
8575
  "name": "action",
8272
8576
  "required": true
8273
8577
  },
@@ -8283,7 +8587,7 @@
8283
8587
  "<%= config.bin %> purchase-order-types get <id>",
8284
8588
  "<%= config.bin %> purchase-order-types create --data '{...}'",
8285
8589
  "<%= config.bin %> purchase-order-types update <id> --set field=value",
8286
- "<%= config.bin %> purchase-order-types import --file data.json",
8590
+ "<%= config.bin %> purchase-order-types upsert --file data.json",
8287
8591
  "<%= config.bin %> purchase-order-types export --csv > purchase-order-types.csv"
8288
8592
  ],
8289
8593
  "flags": {
@@ -8301,7 +8605,7 @@
8301
8605
  },
8302
8606
  "output": {
8303
8607
  "char": "o",
8304
- "description": "Output format (default: table for import, json for other commands)",
8608
+ "description": "Output format (default: table for upsert, json for other commands)",
8305
8609
  "name": "output",
8306
8610
  "hasDynamicHelp": false,
8307
8611
  "multiple": false,
@@ -8443,7 +8747,7 @@
8443
8747
  "aliases": [],
8444
8748
  "args": {
8445
8749
  "action": {
8446
- "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",
8447
8751
  "name": "action",
8448
8752
  "required": true
8449
8753
  },
@@ -8459,7 +8763,7 @@
8459
8763
  "<%= config.bin %> purchase-orders get <id>",
8460
8764
  "<%= config.bin %> purchase-orders create --data '{...}'",
8461
8765
  "<%= config.bin %> purchase-orders update <id> --set field=value",
8462
- "<%= config.bin %> purchase-orders import --file data.json",
8766
+ "<%= config.bin %> purchase-orders upsert --file data.json",
8463
8767
  "<%= config.bin %> purchase-orders export --csv > purchase-orders.csv"
8464
8768
  ],
8465
8769
  "flags": {
@@ -8477,7 +8781,7 @@
8477
8781
  },
8478
8782
  "output": {
8479
8783
  "char": "o",
8480
- "description": "Output format (default: table for import, json for other commands)",
8784
+ "description": "Output format (default: table for upsert, json for other commands)",
8481
8785
  "name": "output",
8482
8786
  "hasDynamicHelp": false,
8483
8787
  "multiple": false,
@@ -8667,7 +8971,7 @@
8667
8971
  },
8668
8972
  "output": {
8669
8973
  "char": "o",
8670
- "description": "Output format (default: table for import, json for other commands)",
8974
+ "description": "Output format (default: table for upsert, json for other commands)",
8671
8975
  "name": "output",
8672
8976
  "hasDynamicHelp": false,
8673
8977
  "multiple": false,
@@ -8809,7 +9113,7 @@
8809
9113
  "aliases": [],
8810
9114
  "args": {
8811
9115
  "action": {
8812
- "description": "Action: list, create, update, delete, import, export",
9116
+ "description": "Action: list, create, update, delete, upsert, export",
8813
9117
  "name": "action",
8814
9118
  "required": true
8815
9119
  },
@@ -8824,7 +9128,7 @@
8824
9128
  "<%= config.bin %> roles list",
8825
9129
  "<%= config.bin %> roles create --data '{...}'",
8826
9130
  "<%= config.bin %> roles update <id> --set field=value",
8827
- "<%= config.bin %> roles import --file data.json",
9131
+ "<%= config.bin %> roles upsert --file data.json",
8828
9132
  "<%= config.bin %> roles export --csv > roles.csv"
8829
9133
  ],
8830
9134
  "flags": {
@@ -8842,7 +9146,7 @@
8842
9146
  },
8843
9147
  "output": {
8844
9148
  "char": "o",
8845
- "description": "Output format (default: table for import, json for other commands)",
9149
+ "description": "Output format (default: table for upsert, json for other commands)",
8846
9150
  "name": "output",
8847
9151
  "hasDynamicHelp": false,
8848
9152
  "multiple": false,
@@ -8984,7 +9288,7 @@
8984
9288
  "aliases": [],
8985
9289
  "args": {
8986
9290
  "action": {
8987
- "description": "Action: list, create, get, update, delete, import, export",
9291
+ "description": "Action: list, create, get, update, delete, upsert, export",
8988
9292
  "name": "action",
8989
9293
  "required": true
8990
9294
  },
@@ -9000,7 +9304,7 @@
9000
9304
  "<%= config.bin %> salary-types get <id>",
9001
9305
  "<%= config.bin %> salary-types create --data '{...}'",
9002
9306
  "<%= config.bin %> salary-types update <id> --set field=value",
9003
- "<%= config.bin %> salary-types import --file data.json",
9307
+ "<%= config.bin %> salary-types upsert --file data.json",
9004
9308
  "<%= config.bin %> salary-types export --csv > salary-types.csv"
9005
9309
  ],
9006
9310
  "flags": {
@@ -9018,7 +9322,7 @@
9018
9322
  },
9019
9323
  "output": {
9020
9324
  "char": "o",
9021
- "description": "Output format (default: table for import, json for other commands)",
9325
+ "description": "Output format (default: table for upsert, json for other commands)",
9022
9326
  "name": "output",
9023
9327
  "hasDynamicHelp": false,
9024
9328
  "multiple": false,
@@ -9160,7 +9464,7 @@
9160
9464
  "aliases": [],
9161
9465
  "args": {
9162
9466
  "action": {
9163
- "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, line-items-from-sales-invoice, credit-notes, list-refund-account-options, update-refund-payments-beneficiary-account, 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",
9164
9468
  "name": "action",
9165
9469
  "required": true
9166
9470
  },
@@ -9176,7 +9480,7 @@
9176
9480
  "<%= config.bin %> sales-invoices get <id>",
9177
9481
  "<%= config.bin %> sales-invoices create --data '{...}'",
9178
9482
  "<%= config.bin %> sales-invoices update <id> --set field=value",
9179
- "<%= config.bin %> sales-invoices import --file data.json",
9483
+ "<%= config.bin %> sales-invoices upsert --file data.json",
9180
9484
  "<%= config.bin %> sales-invoices export --csv > sales-invoices.csv"
9181
9485
  ],
9182
9486
  "flags": {
@@ -9194,7 +9498,7 @@
9194
9498
  },
9195
9499
  "output": {
9196
9500
  "char": "o",
9197
- "description": "Output format (default: table for import, json for other commands)",
9501
+ "description": "Output format (default: table for upsert, json for other commands)",
9198
9502
  "name": "output",
9199
9503
  "hasDynamicHelp": false,
9200
9504
  "multiple": false,
@@ -9371,7 +9675,7 @@
9371
9675
  "aliases": [],
9372
9676
  "args": {
9373
9677
  "action": {
9374
- "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",
9375
9679
  "name": "action",
9376
9680
  "required": true
9377
9681
  },
@@ -9387,7 +9691,7 @@
9387
9691
  "<%= config.bin %> sales-orders get <id>",
9388
9692
  "<%= config.bin %> sales-orders create --data '{...}'",
9389
9693
  "<%= config.bin %> sales-orders update <id> --set field=value",
9390
- "<%= config.bin %> sales-orders import --file data.json",
9694
+ "<%= config.bin %> sales-orders upsert --file data.json",
9391
9695
  "<%= config.bin %> sales-orders export --csv > sales-orders.csv"
9392
9696
  ],
9393
9697
  "flags": {
@@ -9405,7 +9709,7 @@
9405
9709
  },
9406
9710
  "output": {
9407
9711
  "char": "o",
9408
- "description": "Output format (default: table for import, json for other commands)",
9712
+ "description": "Output format (default: table for upsert, json for other commands)",
9409
9713
  "name": "output",
9410
9714
  "hasDynamicHelp": false,
9411
9715
  "multiple": false,
@@ -9598,7 +9902,7 @@
9598
9902
  },
9599
9903
  "output": {
9600
9904
  "char": "o",
9601
- "description": "Output format (default: table for import, json for other commands)",
9905
+ "description": "Output format (default: table for upsert, json for other commands)",
9602
9906
  "name": "output",
9603
9907
  "hasDynamicHelp": false,
9604
9908
  "multiple": false,
@@ -9740,7 +10044,7 @@
9740
10044
  "aliases": [],
9741
10045
  "args": {
9742
10046
  "action": {
9743
- "description": "Action: list, create, get, update, delete, import, export",
10047
+ "description": "Action: list, create, get, update, delete, upsert, export",
9744
10048
  "name": "action",
9745
10049
  "required": true
9746
10050
  },
@@ -9756,7 +10060,7 @@
9756
10060
  "<%= config.bin %> scheduled-processor-mappings get <id>",
9757
10061
  "<%= config.bin %> scheduled-processor-mappings create --data '{...}'",
9758
10062
  "<%= config.bin %> scheduled-processor-mappings update <id> --set field=value",
9759
- "<%= config.bin %> scheduled-processor-mappings import --file data.json",
10063
+ "<%= config.bin %> scheduled-processor-mappings upsert --file data.json",
9760
10064
  "<%= config.bin %> scheduled-processor-mappings export --csv > scheduled-processor-mappings.csv"
9761
10065
  ],
9762
10066
  "flags": {
@@ -9774,7 +10078,7 @@
9774
10078
  },
9775
10079
  "output": {
9776
10080
  "char": "o",
9777
- "description": "Output format (default: table for import, json for other commands)",
10081
+ "description": "Output format (default: table for upsert, json for other commands)",
9778
10082
  "name": "output",
9779
10083
  "hasDynamicHelp": false,
9780
10084
  "multiple": false,
@@ -9916,7 +10220,7 @@
9916
10220
  "aliases": [],
9917
10221
  "args": {
9918
10222
  "action": {
9919
- "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",
9920
10224
  "name": "action",
9921
10225
  "required": true
9922
10226
  },
@@ -9932,7 +10236,7 @@
9932
10236
  "<%= config.bin %> schedules get <id>",
9933
10237
  "<%= config.bin %> schedules create --data '{...}'",
9934
10238
  "<%= config.bin %> schedules update <id> --set field=value",
9935
- "<%= config.bin %> schedules import --file data.json",
10239
+ "<%= config.bin %> schedules upsert --file data.json",
9936
10240
  "<%= config.bin %> schedules export --csv > schedules.csv"
9937
10241
  ],
9938
10242
  "flags": {
@@ -9950,7 +10254,7 @@
9950
10254
  },
9951
10255
  "output": {
9952
10256
  "char": "o",
9953
- "description": "Output format (default: table for import, json for other commands)",
10257
+ "description": "Output format (default: table for upsert, json for other commands)",
9954
10258
  "name": "output",
9955
10259
  "hasDynamicHelp": false,
9956
10260
  "multiple": false,
@@ -10115,7 +10419,7 @@
10115
10419
  "aliases": [],
10116
10420
  "args": {
10117
10421
  "action": {
10118
- "description": "Action: list, create, get, update, delete, journal-coverage, import, export",
10422
+ "description": "Action: list, create, get, update, delete, journal-coverage, upsert, export",
10119
10423
  "name": "action",
10120
10424
  "required": true
10121
10425
  },
@@ -10131,7 +10435,7 @@
10131
10435
  "<%= config.bin %> tags get <id>",
10132
10436
  "<%= config.bin %> tags create --data '{...}'",
10133
10437
  "<%= config.bin %> tags update <id> --set field=value",
10134
- "<%= config.bin %> tags import --file data.json",
10438
+ "<%= config.bin %> tags upsert --file data.json",
10135
10439
  "<%= config.bin %> tags export --csv > tags.csv"
10136
10440
  ],
10137
10441
  "flags": {
@@ -10149,7 +10453,7 @@
10149
10453
  },
10150
10454
  "output": {
10151
10455
  "char": "o",
10152
- "description": "Output format (default: table for import, json for other commands)",
10456
+ "description": "Output format (default: table for upsert, json for other commands)",
10153
10457
  "name": "output",
10154
10458
  "hasDynamicHelp": false,
10155
10459
  "multiple": false,
@@ -10291,7 +10595,7 @@
10291
10595
  "aliases": [],
10292
10596
  "args": {
10293
10597
  "action": {
10294
- "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",
10295
10599
  "name": "action",
10296
10600
  "required": true
10297
10601
  },
@@ -10307,7 +10611,7 @@
10307
10611
  "<%= config.bin %> tax-codes get <id>",
10308
10612
  "<%= config.bin %> tax-codes create --data '{...}'",
10309
10613
  "<%= config.bin %> tax-codes update <id> --set field=value",
10310
- "<%= config.bin %> tax-codes import --file data.json",
10614
+ "<%= config.bin %> tax-codes upsert --file data.json",
10311
10615
  "<%= config.bin %> tax-codes export --csv > tax-codes.csv"
10312
10616
  ],
10313
10617
  "flags": {
@@ -10325,7 +10629,7 @@
10325
10629
  },
10326
10630
  "output": {
10327
10631
  "char": "o",
10328
- "description": "Output format (default: table for import, json for other commands)",
10632
+ "description": "Output format (default: table for upsert, json for other commands)",
10329
10633
  "name": "output",
10330
10634
  "hasDynamicHelp": false,
10331
10635
  "multiple": false,
@@ -10467,7 +10771,7 @@
10467
10771
  "aliases": [],
10468
10772
  "args": {
10469
10773
  "action": {
10470
- "description": "Action: list, create, get, update, delete, import, export",
10774
+ "description": "Action: list, create, get, update, delete, upsert, export",
10471
10775
  "name": "action",
10472
10776
  "required": true
10473
10777
  },
@@ -10483,7 +10787,7 @@
10483
10787
  "<%= config.bin %> tax-matrix get <id>",
10484
10788
  "<%= config.bin %> tax-matrix create --data '{...}'",
10485
10789
  "<%= config.bin %> tax-matrix update <id> --set field=value",
10486
- "<%= config.bin %> tax-matrix import --file data.json",
10790
+ "<%= config.bin %> tax-matrix upsert --file data.json",
10487
10791
  "<%= config.bin %> tax-matrix export --csv > tax-matrix.csv"
10488
10792
  ],
10489
10793
  "flags": {
@@ -10501,7 +10805,7 @@
10501
10805
  },
10502
10806
  "output": {
10503
10807
  "char": "o",
10504
- "description": "Output format (default: table for import, json for other commands)",
10808
+ "description": "Output format (default: table for upsert, json for other commands)",
10505
10809
  "name": "output",
10506
10810
  "hasDynamicHelp": false,
10507
10811
  "multiple": false,
@@ -10643,7 +10947,7 @@
10643
10947
  "aliases": [],
10644
10948
  "args": {
10645
10949
  "action": {
10646
- "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",
10647
10951
  "name": "action",
10648
10952
  "required": true
10649
10953
  },
@@ -10659,7 +10963,7 @@
10659
10963
  "<%= config.bin %> templates get <id>",
10660
10964
  "<%= config.bin %> templates create --data '{...}'",
10661
10965
  "<%= config.bin %> templates update <id> --set field=value",
10662
- "<%= config.bin %> templates import --file data.json",
10966
+ "<%= config.bin %> templates upsert --file data.json",
10663
10967
  "<%= config.bin %> templates export --csv > templates.csv"
10664
10968
  ],
10665
10969
  "flags": {
@@ -10677,7 +10981,7 @@
10677
10981
  },
10678
10982
  "output": {
10679
10983
  "char": "o",
10680
- "description": "Output format (default: table for import, json for other commands)",
10984
+ "description": "Output format (default: table for upsert, json for other commands)",
10681
10985
  "name": "output",
10682
10986
  "hasDynamicHelp": false,
10683
10987
  "multiple": false,
@@ -10819,7 +11123,7 @@
10819
11123
  "aliases": [],
10820
11124
  "args": {
10821
11125
  "action": {
10822
- "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",
10823
11127
  "name": "action",
10824
11128
  "required": true
10825
11129
  },
@@ -10835,7 +11139,7 @@
10835
11139
  "<%= config.bin %> tenants get <id>",
10836
11140
  "<%= config.bin %> tenants create --data '{...}'",
10837
11141
  "<%= config.bin %> tenants update <id> --set field=value",
10838
- "<%= config.bin %> tenants import --file data.json",
11142
+ "<%= config.bin %> tenants upsert --file data.json",
10839
11143
  "<%= config.bin %> tenants export --csv > tenants.csv"
10840
11144
  ],
10841
11145
  "flags": {
@@ -10853,7 +11157,7 @@
10853
11157
  },
10854
11158
  "output": {
10855
11159
  "char": "o",
10856
- "description": "Output format (default: table for import, json for other commands)",
11160
+ "description": "Output format (default: table for upsert, json for other commands)",
10857
11161
  "name": "output",
10858
11162
  "hasDynamicHelp": false,
10859
11163
  "multiple": false,
@@ -11025,7 +11329,7 @@
11025
11329
  },
11026
11330
  "output": {
11027
11331
  "char": "o",
11028
- "description": "Output format (default: table for import, json for other commands)",
11332
+ "description": "Output format (default: table for upsert, json for other commands)",
11029
11333
  "name": "output",
11030
11334
  "hasDynamicHelp": false,
11031
11335
  "multiple": false,
@@ -11167,7 +11471,7 @@
11167
11471
  "aliases": [],
11168
11472
  "args": {
11169
11473
  "action": {
11170
- "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",
11171
11475
  "name": "action",
11172
11476
  "required": true
11173
11477
  },
@@ -11183,7 +11487,7 @@
11183
11487
  "<%= config.bin %> users get <id>",
11184
11488
  "<%= config.bin %> users create --data '{...}'",
11185
11489
  "<%= config.bin %> users update <id> --set field=value",
11186
- "<%= config.bin %> users import --file data.json",
11490
+ "<%= config.bin %> users upsert --file data.json",
11187
11491
  "<%= config.bin %> users export --csv > users.csv"
11188
11492
  ],
11189
11493
  "flags": {
@@ -11201,7 +11505,7 @@
11201
11505
  },
11202
11506
  "output": {
11203
11507
  "char": "o",
11204
- "description": "Output format (default: table for import, json for other commands)",
11508
+ "description": "Output format (default: table for upsert, json for other commands)",
11205
11509
  "name": "output",
11206
11510
  "hasDynamicHelp": false,
11207
11511
  "multiple": false,
@@ -11364,7 +11668,7 @@
11364
11668
  "aliases": [],
11365
11669
  "args": {
11366
11670
  "action": {
11367
- "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",
11368
11672
  "name": "action",
11369
11673
  "required": true
11370
11674
  },
@@ -11380,7 +11684,7 @@
11380
11684
  "<%= config.bin %> vat-declarations get <id>",
11381
11685
  "<%= config.bin %> vat-declarations create --data '{...}'",
11382
11686
  "<%= config.bin %> vat-declarations update <id> --set field=value",
11383
- "<%= config.bin %> vat-declarations import --file data.json",
11687
+ "<%= config.bin %> vat-declarations upsert --file data.json",
11384
11688
  "<%= config.bin %> vat-declarations export --csv > vat-declarations.csv"
11385
11689
  ],
11386
11690
  "flags": {
@@ -11398,7 +11702,7 @@
11398
11702
  },
11399
11703
  "output": {
11400
11704
  "char": "o",
11401
- "description": "Output format (default: table for import, json for other commands)",
11705
+ "description": "Output format (default: table for upsert, json for other commands)",
11402
11706
  "name": "output",
11403
11707
  "hasDynamicHelp": false,
11404
11708
  "multiple": false,
@@ -11575,7 +11879,7 @@
11575
11879
  "aliases": [],
11576
11880
  "args": {
11577
11881
  "action": {
11578
- "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, 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",
11579
11883
  "name": "action",
11580
11884
  "required": true
11581
11885
  },
@@ -11591,7 +11895,7 @@
11591
11895
  "<%= config.bin %> vendor-invoices get <id>",
11592
11896
  "<%= config.bin %> vendor-invoices create --data '{...}'",
11593
11897
  "<%= config.bin %> vendor-invoices update <id> --set field=value",
11594
- "<%= config.bin %> vendor-invoices import --file data.json",
11898
+ "<%= config.bin %> vendor-invoices upsert --file data.json",
11595
11899
  "<%= config.bin %> vendor-invoices export --csv > vendor-invoices.csv"
11596
11900
  ],
11597
11901
  "flags": {
@@ -11609,7 +11913,7 @@
11609
11913
  },
11610
11914
  "output": {
11611
11915
  "char": "o",
11612
- "description": "Output format (default: table for import, json for other commands)",
11916
+ "description": "Output format (default: table for upsert, json for other commands)",
11613
11917
  "name": "output",
11614
11918
  "hasDynamicHelp": false,
11615
11919
  "multiple": false,
@@ -11786,7 +12090,7 @@
11786
12090
  "aliases": [],
11787
12091
  "args": {
11788
12092
  "action": {
11789
- "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",
11790
12094
  "name": "action",
11791
12095
  "required": true
11792
12096
  },
@@ -11802,7 +12106,7 @@
11802
12106
  "<%= config.bin %> webhooks get <id>",
11803
12107
  "<%= config.bin %> webhooks create --data '{...}'",
11804
12108
  "<%= config.bin %> webhooks update <id> --set field=value",
11805
- "<%= config.bin %> webhooks import --file data.json",
12109
+ "<%= config.bin %> webhooks upsert --file data.json",
11806
12110
  "<%= config.bin %> webhooks export --csv > webhooks.csv"
11807
12111
  ],
11808
12112
  "flags": {
@@ -11820,7 +12124,7 @@
11820
12124
  },
11821
12125
  "output": {
11822
12126
  "char": "o",
11823
- "description": "Output format (default: table for import, json for other commands)",
12127
+ "description": "Output format (default: table for upsert, json for other commands)",
11824
12128
  "name": "output",
11825
12129
  "hasDynamicHelp": false,
11826
12130
  "multiple": false,
@@ -11992,7 +12296,7 @@
11992
12296
  },
11993
12297
  "output": {
11994
12298
  "char": "o",
11995
- "description": "Output format (default: table for import, json for other commands)",
12299
+ "description": "Output format (default: table for upsert, json for other commands)",
11996
12300
  "name": "output",
11997
12301
  "hasDynamicHelp": false,
11998
12302
  "multiple": false,
@@ -12851,5 +13155,5 @@
12851
13155
  ]
12852
13156
  }
12853
13157
  },
12854
- "version": "1.1.2"
13158
+ "version": "1.1.3"
12855
13159
  }