@aderis-erp/cli 1.0.9 → 1.0.11
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.
- package/README.md +1 -0
- package/dist/commands/access-groups.js +196 -92
- package/dist/commands/account-transaction-allocations.js +196 -92
- package/dist/commands/account-transactions.js +199 -93
- package/dist/commands/accounts.js +196 -92
- package/dist/commands/agent-runs.d.ts +1 -0
- package/dist/commands/agent-runs.js +201 -93
- package/dist/commands/audit-log.js +196 -92
- package/dist/commands/auth/login.js +4 -3
- package/dist/commands/bank-accounts.js +196 -92
- package/dist/commands/bank-integrations.js +196 -92
- package/dist/commands/business-partners.js +196 -92
- package/dist/commands/config/add.js +4 -3
- package/dist/commands/credit-card-accounts.js +196 -92
- package/dist/commands/documents.js +196 -92
- package/dist/commands/dunning-configs.js +198 -94
- package/dist/commands/dunning-reminders.js +196 -92
- package/dist/commands/dunning-runs.js +196 -92
- package/dist/commands/employees.js +198 -94
- package/dist/commands/entity-configurations.d.ts +40 -0
- package/dist/commands/entity-configurations.js +1169 -0
- package/dist/commands/event-processor-mappings.js +196 -92
- package/dist/commands/files-internal.js +196 -92
- package/dist/commands/health.js +196 -92
- package/dist/commands/inbox.js +199 -95
- package/dist/commands/integrations.js +196 -92
- package/dist/commands/item-categories.js +196 -92
- package/dist/commands/items.js +196 -92
- package/dist/commands/journal-lines.js +196 -92
- package/dist/commands/journals.js +196 -92
- package/dist/commands/ledgers.js +196 -92
- package/dist/commands/office-locations.js +196 -92
- package/dist/commands/payment-methods.js +196 -92
- package/dist/commands/payment-runs.js +196 -92
- package/dist/commands/payment-terms.js +196 -92
- package/dist/commands/price-lists.js +196 -92
- package/dist/commands/processor-mappings.js +196 -92
- package/dist/commands/processors.js +199 -93
- package/dist/commands/purchase-order-types.d.ts +40 -0
- package/dist/commands/purchase-order-types.js +1178 -0
- package/dist/commands/purchase-orders.d.ts +40 -0
- package/dist/commands/purchase-orders.js +1182 -0
- package/dist/commands/reports.js +196 -92
- package/dist/commands/salary-types.js +196 -92
- package/dist/commands/sales-invoices.js +196 -92
- package/dist/commands/sales-orders.js +200 -95
- package/dist/commands/saved-views.js +196 -92
- package/dist/commands/tags.js +196 -92
- package/dist/commands/tax-codes.js +196 -92
- package/dist/commands/tax-matrix.js +196 -92
- package/dist/commands/tenants.js +196 -92
- package/dist/commands/text-templates.js +196 -92
- package/dist/commands/tools.js +196 -92
- package/dist/commands/vat-declarations.d.ts +1 -0
- package/dist/commands/vat-declarations.js +206 -95
- package/dist/commands/vendor-invoices.js +196 -92
- package/dist/commands/webhooks.js +196 -92
- package/dist/commands/workflows.js +196 -92
- package/dist/lib/auth.js +2 -2
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.js +5 -0
- package/oclif.manifest.json +516 -9
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
"aliases": [],
|
|
334
334
|
"args": {
|
|
335
335
|
"action": {
|
|
336
|
-
"description": "Action: list, create, get, update, delete, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, allocations-confirm, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, import, export, import-allocations, import-allocations-notes",
|
|
336
|
+
"description": "Action: list, create, get, update, delete, allocations-reprocess-unbooked, allocations-unbooked, list-allocations, create-allocations, get-allocations, update-allocations, delete-allocations, allocations-confirm, import-camt053, list-allocations-notes, create-allocations-notes, get-allocations-notes, update-allocations-notes, delete-allocations-notes, import, export, import-allocations, import-allocations-notes",
|
|
337
337
|
"name": "action",
|
|
338
338
|
"required": true
|
|
339
339
|
},
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
"aliases": [],
|
|
687
687
|
"args": {
|
|
688
688
|
"action": {
|
|
689
|
-
"description": "Action: list, get, retry, restart, discard, export",
|
|
689
|
+
"description": "Action: inbox, inbox-counts, inbox-files, list, get, retry, restart, discard, export",
|
|
690
690
|
"name": "action",
|
|
691
691
|
"required": true
|
|
692
692
|
},
|
|
@@ -761,6 +761,13 @@
|
|
|
761
761
|
"multiple": true,
|
|
762
762
|
"type": "option"
|
|
763
763
|
},
|
|
764
|
+
"file-id": {
|
|
765
|
+
"description": "Path param: fileId",
|
|
766
|
+
"name": "file-id",
|
|
767
|
+
"hasDynamicHelp": false,
|
|
768
|
+
"multiple": false,
|
|
769
|
+
"type": "option"
|
|
770
|
+
},
|
|
764
771
|
"page": {
|
|
765
772
|
"description": "Page number",
|
|
766
773
|
"name": "page",
|
|
@@ -2722,6 +2729,165 @@
|
|
|
2722
2729
|
"employees.js"
|
|
2723
2730
|
]
|
|
2724
2731
|
},
|
|
2732
|
+
"entity-configurations": {
|
|
2733
|
+
"aliases": [],
|
|
2734
|
+
"args": {
|
|
2735
|
+
"action": {
|
|
2736
|
+
"description": "Action: list-entities, get-entities, update-entities",
|
|
2737
|
+
"name": "action",
|
|
2738
|
+
"required": true
|
|
2739
|
+
},
|
|
2740
|
+
"id": {
|
|
2741
|
+
"description": "Resource ID (for get, update, delete operations)",
|
|
2742
|
+
"name": "id",
|
|
2743
|
+
"required": false
|
|
2744
|
+
}
|
|
2745
|
+
},
|
|
2746
|
+
"description": "Manage entity configurations",
|
|
2747
|
+
"examples": [],
|
|
2748
|
+
"flags": {
|
|
2749
|
+
"context": {
|
|
2750
|
+
"char": "c",
|
|
2751
|
+
"description": "Context to use",
|
|
2752
|
+
"name": "context",
|
|
2753
|
+
"hasDynamicHelp": false,
|
|
2754
|
+
"multiple": false,
|
|
2755
|
+
"type": "option"
|
|
2756
|
+
},
|
|
2757
|
+
"output": {
|
|
2758
|
+
"char": "o",
|
|
2759
|
+
"description": "Output format (default: table for import, json for other commands)",
|
|
2760
|
+
"name": "output",
|
|
2761
|
+
"hasDynamicHelp": false,
|
|
2762
|
+
"multiple": false,
|
|
2763
|
+
"options": [
|
|
2764
|
+
"json",
|
|
2765
|
+
"table",
|
|
2766
|
+
"csv"
|
|
2767
|
+
],
|
|
2768
|
+
"type": "option"
|
|
2769
|
+
},
|
|
2770
|
+
"table": {
|
|
2771
|
+
"char": "t",
|
|
2772
|
+
"description": "Output as table (shortcut for --output table)",
|
|
2773
|
+
"name": "table",
|
|
2774
|
+
"allowNo": false,
|
|
2775
|
+
"type": "boolean"
|
|
2776
|
+
},
|
|
2777
|
+
"csv": {
|
|
2778
|
+
"description": "Output as CSV (shortcut for --output csv)",
|
|
2779
|
+
"name": "csv",
|
|
2780
|
+
"allowNo": false,
|
|
2781
|
+
"type": "boolean"
|
|
2782
|
+
},
|
|
2783
|
+
"data": {
|
|
2784
|
+
"char": "d",
|
|
2785
|
+
"description": "JSON data for request body",
|
|
2786
|
+
"name": "data",
|
|
2787
|
+
"hasDynamicHelp": false,
|
|
2788
|
+
"multiple": false,
|
|
2789
|
+
"type": "option"
|
|
2790
|
+
},
|
|
2791
|
+
"file": {
|
|
2792
|
+
"char": "f",
|
|
2793
|
+
"description": "Read request body from file",
|
|
2794
|
+
"name": "file",
|
|
2795
|
+
"hasDynamicHelp": false,
|
|
2796
|
+
"multiple": false,
|
|
2797
|
+
"type": "option"
|
|
2798
|
+
},
|
|
2799
|
+
"set": {
|
|
2800
|
+
"char": "s",
|
|
2801
|
+
"description": "Set individual field (e.g. --set firstName=John)",
|
|
2802
|
+
"name": "set",
|
|
2803
|
+
"hasDynamicHelp": false,
|
|
2804
|
+
"multiple": true,
|
|
2805
|
+
"type": "option"
|
|
2806
|
+
},
|
|
2807
|
+
"page": {
|
|
2808
|
+
"description": "Page number",
|
|
2809
|
+
"name": "page",
|
|
2810
|
+
"hasDynamicHelp": false,
|
|
2811
|
+
"multiple": false,
|
|
2812
|
+
"type": "option"
|
|
2813
|
+
},
|
|
2814
|
+
"limit": {
|
|
2815
|
+
"description": "Items per page",
|
|
2816
|
+
"name": "limit",
|
|
2817
|
+
"hasDynamicHelp": false,
|
|
2818
|
+
"multiple": false,
|
|
2819
|
+
"type": "option"
|
|
2820
|
+
},
|
|
2821
|
+
"include": {
|
|
2822
|
+
"description": "Relations to include",
|
|
2823
|
+
"name": "include",
|
|
2824
|
+
"hasDynamicHelp": false,
|
|
2825
|
+
"multiple": false,
|
|
2826
|
+
"type": "option"
|
|
2827
|
+
},
|
|
2828
|
+
"search": {
|
|
2829
|
+
"description": "Search term",
|
|
2830
|
+
"name": "search",
|
|
2831
|
+
"hasDynamicHelp": false,
|
|
2832
|
+
"multiple": false,
|
|
2833
|
+
"type": "option"
|
|
2834
|
+
},
|
|
2835
|
+
"sort-by": {
|
|
2836
|
+
"description": "Sort field",
|
|
2837
|
+
"name": "sort-by",
|
|
2838
|
+
"hasDynamicHelp": false,
|
|
2839
|
+
"multiple": false,
|
|
2840
|
+
"type": "option"
|
|
2841
|
+
},
|
|
2842
|
+
"filter": {
|
|
2843
|
+
"description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
|
|
2844
|
+
"name": "filter",
|
|
2845
|
+
"hasDynamicHelp": false,
|
|
2846
|
+
"multiple": true,
|
|
2847
|
+
"type": "option"
|
|
2848
|
+
},
|
|
2849
|
+
"query": {
|
|
2850
|
+
"description": "Additional query params as JSON",
|
|
2851
|
+
"name": "query",
|
|
2852
|
+
"hasDynamicHelp": false,
|
|
2853
|
+
"multiple": false,
|
|
2854
|
+
"type": "option"
|
|
2855
|
+
},
|
|
2856
|
+
"fields": {
|
|
2857
|
+
"description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
|
|
2858
|
+
"name": "fields",
|
|
2859
|
+
"hasDynamicHelp": false,
|
|
2860
|
+
"multiple": false,
|
|
2861
|
+
"type": "option"
|
|
2862
|
+
},
|
|
2863
|
+
"sanitize": {
|
|
2864
|
+
"description": "Remove null values, audit fields, and duplicate UUIDs from output",
|
|
2865
|
+
"name": "sanitize",
|
|
2866
|
+
"allowNo": false,
|
|
2867
|
+
"type": "boolean"
|
|
2868
|
+
},
|
|
2869
|
+
"show-http-request": {
|
|
2870
|
+
"description": "Show HTTP request details (method, URL, body)",
|
|
2871
|
+
"name": "show-http-request",
|
|
2872
|
+
"allowNo": false,
|
|
2873
|
+
"type": "boolean"
|
|
2874
|
+
}
|
|
2875
|
+
},
|
|
2876
|
+
"hasDynamicHelp": false,
|
|
2877
|
+
"hiddenAliases": [],
|
|
2878
|
+
"id": "entity-configurations",
|
|
2879
|
+
"pluginAlias": "@aderis-erp/cli",
|
|
2880
|
+
"pluginName": "@aderis-erp/cli",
|
|
2881
|
+
"pluginType": "core",
|
|
2882
|
+
"strict": true,
|
|
2883
|
+
"enableJsonFlag": false,
|
|
2884
|
+
"isESM": true,
|
|
2885
|
+
"relativePath": [
|
|
2886
|
+
"dist",
|
|
2887
|
+
"commands",
|
|
2888
|
+
"entity-configurations.js"
|
|
2889
|
+
]
|
|
2890
|
+
},
|
|
2725
2891
|
"event-processor-mappings": {
|
|
2726
2892
|
"aliases": [],
|
|
2727
2893
|
"args": {
|
|
@@ -3215,7 +3381,7 @@
|
|
|
3215
3381
|
"aliases": [],
|
|
3216
3382
|
"args": {
|
|
3217
3383
|
"action": {
|
|
3218
|
-
"description": "Action: upload, email-webhook, document-types
|
|
3384
|
+
"description": "Action: list-processing-logs, processing-logs, upload, email-webhook, document-types",
|
|
3219
3385
|
"name": "action",
|
|
3220
3386
|
"required": true
|
|
3221
3387
|
},
|
|
@@ -5420,7 +5586,7 @@
|
|
|
5420
5586
|
"aliases": [],
|
|
5421
5587
|
"args": {
|
|
5422
5588
|
"action": {
|
|
5423
|
-
"description": "Action: list-tools, list, create, resolve, resolve-event, get, update, delete, template, import, export",
|
|
5589
|
+
"description": "Action: list-tools, list, create, resolve, resolve-event, get, update, delete, template, update-config, delete-config, import, export",
|
|
5424
5590
|
"name": "action",
|
|
5425
5591
|
"required": true
|
|
5426
5592
|
},
|
|
@@ -5582,6 +5748,338 @@
|
|
|
5582
5748
|
"processors.js"
|
|
5583
5749
|
]
|
|
5584
5750
|
},
|
|
5751
|
+
"purchase-order-types": {
|
|
5752
|
+
"aliases": [],
|
|
5753
|
+
"args": {
|
|
5754
|
+
"action": {
|
|
5755
|
+
"description": "Action: list, create, get, update, delete, import, export",
|
|
5756
|
+
"name": "action",
|
|
5757
|
+
"required": true
|
|
5758
|
+
},
|
|
5759
|
+
"id": {
|
|
5760
|
+
"description": "Resource ID (for get, update, delete operations)",
|
|
5761
|
+
"name": "id",
|
|
5762
|
+
"required": false
|
|
5763
|
+
}
|
|
5764
|
+
},
|
|
5765
|
+
"description": "Manage purchase order types",
|
|
5766
|
+
"examples": [
|
|
5767
|
+
"<%= config.bin %> purchase-order-types list",
|
|
5768
|
+
"<%= config.bin %> purchase-order-types get <id>",
|
|
5769
|
+
"<%= config.bin %> purchase-order-types create --data '{...}'",
|
|
5770
|
+
"<%= config.bin %> purchase-order-types update <id> --set field=value",
|
|
5771
|
+
"<%= config.bin %> purchase-order-types import --file data.json",
|
|
5772
|
+
"<%= config.bin %> purchase-order-types export --csv > purchase-order-types.csv"
|
|
5773
|
+
],
|
|
5774
|
+
"flags": {
|
|
5775
|
+
"context": {
|
|
5776
|
+
"char": "c",
|
|
5777
|
+
"description": "Context to use",
|
|
5778
|
+
"name": "context",
|
|
5779
|
+
"hasDynamicHelp": false,
|
|
5780
|
+
"multiple": false,
|
|
5781
|
+
"type": "option"
|
|
5782
|
+
},
|
|
5783
|
+
"output": {
|
|
5784
|
+
"char": "o",
|
|
5785
|
+
"description": "Output format (default: table for import, json for other commands)",
|
|
5786
|
+
"name": "output",
|
|
5787
|
+
"hasDynamicHelp": false,
|
|
5788
|
+
"multiple": false,
|
|
5789
|
+
"options": [
|
|
5790
|
+
"json",
|
|
5791
|
+
"table",
|
|
5792
|
+
"csv"
|
|
5793
|
+
],
|
|
5794
|
+
"type": "option"
|
|
5795
|
+
},
|
|
5796
|
+
"table": {
|
|
5797
|
+
"char": "t",
|
|
5798
|
+
"description": "Output as table (shortcut for --output table)",
|
|
5799
|
+
"name": "table",
|
|
5800
|
+
"allowNo": false,
|
|
5801
|
+
"type": "boolean"
|
|
5802
|
+
},
|
|
5803
|
+
"csv": {
|
|
5804
|
+
"description": "Output as CSV (shortcut for --output csv)",
|
|
5805
|
+
"name": "csv",
|
|
5806
|
+
"allowNo": false,
|
|
5807
|
+
"type": "boolean"
|
|
5808
|
+
},
|
|
5809
|
+
"data": {
|
|
5810
|
+
"char": "d",
|
|
5811
|
+
"description": "JSON data for request body",
|
|
5812
|
+
"name": "data",
|
|
5813
|
+
"hasDynamicHelp": false,
|
|
5814
|
+
"multiple": false,
|
|
5815
|
+
"type": "option"
|
|
5816
|
+
},
|
|
5817
|
+
"file": {
|
|
5818
|
+
"char": "f",
|
|
5819
|
+
"description": "Read request body from file",
|
|
5820
|
+
"name": "file",
|
|
5821
|
+
"hasDynamicHelp": false,
|
|
5822
|
+
"multiple": false,
|
|
5823
|
+
"type": "option"
|
|
5824
|
+
},
|
|
5825
|
+
"set": {
|
|
5826
|
+
"char": "s",
|
|
5827
|
+
"description": "Set individual field (e.g. --set firstName=John)",
|
|
5828
|
+
"name": "set",
|
|
5829
|
+
"hasDynamicHelp": false,
|
|
5830
|
+
"multiple": true,
|
|
5831
|
+
"type": "option"
|
|
5832
|
+
},
|
|
5833
|
+
"page": {
|
|
5834
|
+
"description": "Page number",
|
|
5835
|
+
"name": "page",
|
|
5836
|
+
"hasDynamicHelp": false,
|
|
5837
|
+
"multiple": false,
|
|
5838
|
+
"type": "option"
|
|
5839
|
+
},
|
|
5840
|
+
"limit": {
|
|
5841
|
+
"description": "Items per page",
|
|
5842
|
+
"name": "limit",
|
|
5843
|
+
"hasDynamicHelp": false,
|
|
5844
|
+
"multiple": false,
|
|
5845
|
+
"type": "option"
|
|
5846
|
+
},
|
|
5847
|
+
"include": {
|
|
5848
|
+
"description": "Relations to include",
|
|
5849
|
+
"name": "include",
|
|
5850
|
+
"hasDynamicHelp": false,
|
|
5851
|
+
"multiple": false,
|
|
5852
|
+
"type": "option"
|
|
5853
|
+
},
|
|
5854
|
+
"search": {
|
|
5855
|
+
"description": "Search term",
|
|
5856
|
+
"name": "search",
|
|
5857
|
+
"hasDynamicHelp": false,
|
|
5858
|
+
"multiple": false,
|
|
5859
|
+
"type": "option"
|
|
5860
|
+
},
|
|
5861
|
+
"sort-by": {
|
|
5862
|
+
"description": "Sort field",
|
|
5863
|
+
"name": "sort-by",
|
|
5864
|
+
"hasDynamicHelp": false,
|
|
5865
|
+
"multiple": false,
|
|
5866
|
+
"type": "option"
|
|
5867
|
+
},
|
|
5868
|
+
"filter": {
|
|
5869
|
+
"description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
|
|
5870
|
+
"name": "filter",
|
|
5871
|
+
"hasDynamicHelp": false,
|
|
5872
|
+
"multiple": true,
|
|
5873
|
+
"type": "option"
|
|
5874
|
+
},
|
|
5875
|
+
"query": {
|
|
5876
|
+
"description": "Additional query params as JSON",
|
|
5877
|
+
"name": "query",
|
|
5878
|
+
"hasDynamicHelp": false,
|
|
5879
|
+
"multiple": false,
|
|
5880
|
+
"type": "option"
|
|
5881
|
+
},
|
|
5882
|
+
"fields": {
|
|
5883
|
+
"description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
|
|
5884
|
+
"name": "fields",
|
|
5885
|
+
"hasDynamicHelp": false,
|
|
5886
|
+
"multiple": false,
|
|
5887
|
+
"type": "option"
|
|
5888
|
+
},
|
|
5889
|
+
"sanitize": {
|
|
5890
|
+
"description": "Remove null values, audit fields, and duplicate UUIDs from output",
|
|
5891
|
+
"name": "sanitize",
|
|
5892
|
+
"allowNo": false,
|
|
5893
|
+
"type": "boolean"
|
|
5894
|
+
},
|
|
5895
|
+
"show-http-request": {
|
|
5896
|
+
"description": "Show HTTP request details (method, URL, body)",
|
|
5897
|
+
"name": "show-http-request",
|
|
5898
|
+
"allowNo": false,
|
|
5899
|
+
"type": "boolean"
|
|
5900
|
+
}
|
|
5901
|
+
},
|
|
5902
|
+
"hasDynamicHelp": false,
|
|
5903
|
+
"hiddenAliases": [],
|
|
5904
|
+
"id": "purchase-order-types",
|
|
5905
|
+
"pluginAlias": "@aderis-erp/cli",
|
|
5906
|
+
"pluginName": "@aderis-erp/cli",
|
|
5907
|
+
"pluginType": "core",
|
|
5908
|
+
"strict": true,
|
|
5909
|
+
"enableJsonFlag": false,
|
|
5910
|
+
"isESM": true,
|
|
5911
|
+
"relativePath": [
|
|
5912
|
+
"dist",
|
|
5913
|
+
"commands",
|
|
5914
|
+
"purchase-order-types.js"
|
|
5915
|
+
]
|
|
5916
|
+
},
|
|
5917
|
+
"purchase-orders": {
|
|
5918
|
+
"aliases": [],
|
|
5919
|
+
"args": {
|
|
5920
|
+
"action": {
|
|
5921
|
+
"description": "Action: list, create, get, update, delete, submit, approve, decline, cancel, import, export",
|
|
5922
|
+
"name": "action",
|
|
5923
|
+
"required": true
|
|
5924
|
+
},
|
|
5925
|
+
"id": {
|
|
5926
|
+
"description": "Resource ID (for get, update, delete operations)",
|
|
5927
|
+
"name": "id",
|
|
5928
|
+
"required": false
|
|
5929
|
+
}
|
|
5930
|
+
},
|
|
5931
|
+
"description": "Manage purchase orders",
|
|
5932
|
+
"examples": [
|
|
5933
|
+
"<%= config.bin %> purchase-orders list",
|
|
5934
|
+
"<%= config.bin %> purchase-orders get <id>",
|
|
5935
|
+
"<%= config.bin %> purchase-orders create --data '{...}'",
|
|
5936
|
+
"<%= config.bin %> purchase-orders update <id> --set field=value",
|
|
5937
|
+
"<%= config.bin %> purchase-orders import --file data.json",
|
|
5938
|
+
"<%= config.bin %> purchase-orders export --csv > purchase-orders.csv"
|
|
5939
|
+
],
|
|
5940
|
+
"flags": {
|
|
5941
|
+
"context": {
|
|
5942
|
+
"char": "c",
|
|
5943
|
+
"description": "Context to use",
|
|
5944
|
+
"name": "context",
|
|
5945
|
+
"hasDynamicHelp": false,
|
|
5946
|
+
"multiple": false,
|
|
5947
|
+
"type": "option"
|
|
5948
|
+
},
|
|
5949
|
+
"output": {
|
|
5950
|
+
"char": "o",
|
|
5951
|
+
"description": "Output format (default: table for import, json for other commands)",
|
|
5952
|
+
"name": "output",
|
|
5953
|
+
"hasDynamicHelp": false,
|
|
5954
|
+
"multiple": false,
|
|
5955
|
+
"options": [
|
|
5956
|
+
"json",
|
|
5957
|
+
"table",
|
|
5958
|
+
"csv"
|
|
5959
|
+
],
|
|
5960
|
+
"type": "option"
|
|
5961
|
+
},
|
|
5962
|
+
"table": {
|
|
5963
|
+
"char": "t",
|
|
5964
|
+
"description": "Output as table (shortcut for --output table)",
|
|
5965
|
+
"name": "table",
|
|
5966
|
+
"allowNo": false,
|
|
5967
|
+
"type": "boolean"
|
|
5968
|
+
},
|
|
5969
|
+
"csv": {
|
|
5970
|
+
"description": "Output as CSV (shortcut for --output csv)",
|
|
5971
|
+
"name": "csv",
|
|
5972
|
+
"allowNo": false,
|
|
5973
|
+
"type": "boolean"
|
|
5974
|
+
},
|
|
5975
|
+
"data": {
|
|
5976
|
+
"char": "d",
|
|
5977
|
+
"description": "JSON data for request body",
|
|
5978
|
+
"name": "data",
|
|
5979
|
+
"hasDynamicHelp": false,
|
|
5980
|
+
"multiple": false,
|
|
5981
|
+
"type": "option"
|
|
5982
|
+
},
|
|
5983
|
+
"file": {
|
|
5984
|
+
"char": "f",
|
|
5985
|
+
"description": "Read request body from file",
|
|
5986
|
+
"name": "file",
|
|
5987
|
+
"hasDynamicHelp": false,
|
|
5988
|
+
"multiple": false,
|
|
5989
|
+
"type": "option"
|
|
5990
|
+
},
|
|
5991
|
+
"set": {
|
|
5992
|
+
"char": "s",
|
|
5993
|
+
"description": "Set individual field (e.g. --set firstName=John)",
|
|
5994
|
+
"name": "set",
|
|
5995
|
+
"hasDynamicHelp": false,
|
|
5996
|
+
"multiple": true,
|
|
5997
|
+
"type": "option"
|
|
5998
|
+
},
|
|
5999
|
+
"page": {
|
|
6000
|
+
"description": "Page number",
|
|
6001
|
+
"name": "page",
|
|
6002
|
+
"hasDynamicHelp": false,
|
|
6003
|
+
"multiple": false,
|
|
6004
|
+
"type": "option"
|
|
6005
|
+
},
|
|
6006
|
+
"limit": {
|
|
6007
|
+
"description": "Items per page",
|
|
6008
|
+
"name": "limit",
|
|
6009
|
+
"hasDynamicHelp": false,
|
|
6010
|
+
"multiple": false,
|
|
6011
|
+
"type": "option"
|
|
6012
|
+
},
|
|
6013
|
+
"include": {
|
|
6014
|
+
"description": "Relations to include",
|
|
6015
|
+
"name": "include",
|
|
6016
|
+
"hasDynamicHelp": false,
|
|
6017
|
+
"multiple": false,
|
|
6018
|
+
"type": "option"
|
|
6019
|
+
},
|
|
6020
|
+
"search": {
|
|
6021
|
+
"description": "Search term",
|
|
6022
|
+
"name": "search",
|
|
6023
|
+
"hasDynamicHelp": false,
|
|
6024
|
+
"multiple": false,
|
|
6025
|
+
"type": "option"
|
|
6026
|
+
},
|
|
6027
|
+
"sort-by": {
|
|
6028
|
+
"description": "Sort field",
|
|
6029
|
+
"name": "sort-by",
|
|
6030
|
+
"hasDynamicHelp": false,
|
|
6031
|
+
"multiple": false,
|
|
6032
|
+
"type": "option"
|
|
6033
|
+
},
|
|
6034
|
+
"filter": {
|
|
6035
|
+
"description": "Filter (e.g. --filter status=ACTIVE). Operators: in:A,B, like:%, gt:, lt:, null:",
|
|
6036
|
+
"name": "filter",
|
|
6037
|
+
"hasDynamicHelp": false,
|
|
6038
|
+
"multiple": true,
|
|
6039
|
+
"type": "option"
|
|
6040
|
+
},
|
|
6041
|
+
"query": {
|
|
6042
|
+
"description": "Additional query params as JSON",
|
|
6043
|
+
"name": "query",
|
|
6044
|
+
"hasDynamicHelp": false,
|
|
6045
|
+
"multiple": false,
|
|
6046
|
+
"type": "option"
|
|
6047
|
+
},
|
|
6048
|
+
"fields": {
|
|
6049
|
+
"description": "Comma-separated list of fields to show (e.g. --fields=id,name,status)",
|
|
6050
|
+
"name": "fields",
|
|
6051
|
+
"hasDynamicHelp": false,
|
|
6052
|
+
"multiple": false,
|
|
6053
|
+
"type": "option"
|
|
6054
|
+
},
|
|
6055
|
+
"sanitize": {
|
|
6056
|
+
"description": "Remove null values, audit fields, and duplicate UUIDs from output",
|
|
6057
|
+
"name": "sanitize",
|
|
6058
|
+
"allowNo": false,
|
|
6059
|
+
"type": "boolean"
|
|
6060
|
+
},
|
|
6061
|
+
"show-http-request": {
|
|
6062
|
+
"description": "Show HTTP request details (method, URL, body)",
|
|
6063
|
+
"name": "show-http-request",
|
|
6064
|
+
"allowNo": false,
|
|
6065
|
+
"type": "boolean"
|
|
6066
|
+
}
|
|
6067
|
+
},
|
|
6068
|
+
"hasDynamicHelp": false,
|
|
6069
|
+
"hiddenAliases": [],
|
|
6070
|
+
"id": "purchase-orders",
|
|
6071
|
+
"pluginAlias": "@aderis-erp/cli",
|
|
6072
|
+
"pluginName": "@aderis-erp/cli",
|
|
6073
|
+
"pluginType": "core",
|
|
6074
|
+
"strict": true,
|
|
6075
|
+
"enableJsonFlag": false,
|
|
6076
|
+
"isESM": true,
|
|
6077
|
+
"relativePath": [
|
|
6078
|
+
"dist",
|
|
6079
|
+
"commands",
|
|
6080
|
+
"purchase-orders.js"
|
|
6081
|
+
]
|
|
6082
|
+
},
|
|
5585
6083
|
"reports": {
|
|
5586
6084
|
"aliases": [],
|
|
5587
6085
|
"args": {
|
|
@@ -6098,7 +6596,7 @@
|
|
|
6098
6596
|
"aliases": [],
|
|
6099
6597
|
"args": {
|
|
6100
6598
|
"action": {
|
|
6101
|
-
"description": "Action: list, create, get, update, delete, pdf, submit, approve, accept, terminate, cancel, replace, create-invoice, 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",
|
|
6599
|
+
"description": "Action: list, create, get, update, delete, pdf, submit, approve, accept, terminate, cancel, replace, 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",
|
|
6102
6600
|
"name": "action",
|
|
6103
6601
|
"required": true
|
|
6104
6602
|
},
|
|
@@ -7462,7 +7960,7 @@
|
|
|
7462
7960
|
"aliases": [],
|
|
7463
7961
|
"args": {
|
|
7464
7962
|
"action": {
|
|
7465
|
-
"description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, mark-as-filed, xml, import, export",
|
|
7963
|
+
"description": "Action: list, create, preview, get, update, delete, regenerate, replace, fields-contributions, fields-contributions-export, approve, mark-as-filed, xml, list-files, create-files, get-files, update-files, delete-files, files-download, import, export, import-files",
|
|
7466
7964
|
"name": "action",
|
|
7467
7965
|
"required": true
|
|
7468
7966
|
},
|
|
@@ -7547,6 +8045,13 @@
|
|
|
7547
8045
|
"multiple": false,
|
|
7548
8046
|
"type": "option"
|
|
7549
8047
|
},
|
|
8048
|
+
"file-id": {
|
|
8049
|
+
"description": "Path param: fileId",
|
|
8050
|
+
"name": "file-id",
|
|
8051
|
+
"hasDynamicHelp": false,
|
|
8052
|
+
"multiple": false,
|
|
8053
|
+
"type": "option"
|
|
8054
|
+
},
|
|
7550
8055
|
"page": {
|
|
7551
8056
|
"description": "Page number",
|
|
7552
8057
|
"name": "page",
|
|
@@ -8180,13 +8685,14 @@
|
|
|
8180
8685
|
},
|
|
8181
8686
|
"environment": {
|
|
8182
8687
|
"char": "e",
|
|
8183
|
-
"description": "Environment (dev, test, live)",
|
|
8688
|
+
"description": "Environment (dev, test, staging, live)",
|
|
8184
8689
|
"name": "environment",
|
|
8185
8690
|
"hasDynamicHelp": false,
|
|
8186
8691
|
"multiple": false,
|
|
8187
8692
|
"options": [
|
|
8188
8693
|
"dev",
|
|
8189
8694
|
"test",
|
|
8695
|
+
"staging",
|
|
8190
8696
|
"live"
|
|
8191
8697
|
],
|
|
8192
8698
|
"type": "option"
|
|
@@ -8390,13 +8896,14 @@
|
|
|
8390
8896
|
},
|
|
8391
8897
|
"environment": {
|
|
8392
8898
|
"char": "e",
|
|
8393
|
-
"description": "Environment (dev, test, live)",
|
|
8899
|
+
"description": "Environment (dev, test, staging, live)",
|
|
8394
8900
|
"name": "environment",
|
|
8395
8901
|
"hasDynamicHelp": false,
|
|
8396
8902
|
"multiple": false,
|
|
8397
8903
|
"options": [
|
|
8398
8904
|
"dev",
|
|
8399
8905
|
"test",
|
|
8906
|
+
"staging",
|
|
8400
8907
|
"live"
|
|
8401
8908
|
],
|
|
8402
8909
|
"type": "option"
|
|
@@ -8568,5 +9075,5 @@
|
|
|
8568
9075
|
]
|
|
8569
9076
|
}
|
|
8570
9077
|
},
|
|
8571
|
-
"version": "1.0.
|
|
9078
|
+
"version": "1.0.11"
|
|
8572
9079
|
}
|
package/package.json
CHANGED