@nevermined-io/cli 1.4.0 → 1.5.0
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/dist/base-command.d.ts +11 -1
- package/dist/base-command.d.ts.map +1 -1
- package/dist/base-command.js +14 -0
- package/dist/base-command.js.map +1 -1
- package/dist/commands/cards/delegate.d.ts +27 -0
- package/dist/commands/cards/delegate.d.ts.map +1 -0
- package/dist/commands/cards/delegate.js +89 -0
- package/dist/commands/cards/delegate.js.map +1 -0
- package/dist/commands/cards/enroll.d.ts +26 -0
- package/dist/commands/cards/enroll.d.ts.map +1 -0
- package/dist/commands/cards/enroll.js +90 -0
- package/dist/commands/cards/enroll.js.map +1 -0
- package/dist/commands/cards/setup.d.ts +29 -0
- package/dist/commands/cards/setup.d.ts.map +1 -0
- package/dist/commands/cards/setup.js +115 -0
- package/dist/commands/cards/setup.js.map +1 -0
- package/dist/commands/login.js +1 -26
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/organizations/get-my-memberships.d.ts +15 -0
- package/dist/commands/organizations/get-my-memberships.d.ts.map +1 -0
- package/dist/commands/organizations/get-my-memberships.js +25 -0
- package/dist/commands/organizations/get-my-memberships.js.map +1 -0
- package/dist/commands/organizations/get-organization-activity.d.ts +18 -0
- package/dist/commands/organizations/get-organization-activity.d.ts.map +1 -0
- package/dist/commands/organizations/get-organization-activity.js +32 -0
- package/dist/commands/organizations/get-organization-activity.js.map +1 -0
- package/dist/generator/command-generator.d.ts.map +1 -1
- package/dist/generator/command-generator.js +3 -1
- package/dist/generator/command-generator.js.map +1 -1
- package/dist/utils/browser.d.ts +14 -0
- package/dist/utils/browser.d.ts.map +1 -0
- package/dist/utils/browser.js +41 -0
- package/dist/utils/browser.js.map +1 -0
- package/dist/utils/orgs.d.ts +36 -0
- package/dist/utils/orgs.d.ts.map +1 -0
- package/dist/utils/orgs.js +65 -0
- package/dist/utils/orgs.js.map +1 -0
- package/dist/utils/widget-redirect-flow.d.ts +118 -0
- package/dist/utils/widget-redirect-flow.d.ts.map +1 -0
- package/dist/utils/widget-redirect-flow.js +296 -0
- package/dist/utils/widget-redirect-flow.js.map +1 -0
- package/oclif.manifest.json +430 -66
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -655,6 +655,254 @@
|
|
|
655
655
|
"update-agent-metadata.js"
|
|
656
656
|
]
|
|
657
657
|
},
|
|
658
|
+
"cards:delegate": {
|
|
659
|
+
"aliases": [],
|
|
660
|
+
"args": {},
|
|
661
|
+
"description": "Open the browser to create a spending delegation for an already-enrolled card.",
|
|
662
|
+
"examples": [
|
|
663
|
+
"<%= config.bin %> cards delegate --card pm_1234",
|
|
664
|
+
"<%= config.bin %> cards delegate --card pm_1234 --org org-abc-123",
|
|
665
|
+
"<%= config.bin %> cards delegate --card pm_1234 --no-browser"
|
|
666
|
+
],
|
|
667
|
+
"flags": {
|
|
668
|
+
"profile": {
|
|
669
|
+
"char": "p",
|
|
670
|
+
"description": "Configuration profile to use",
|
|
671
|
+
"name": "profile",
|
|
672
|
+
"required": false,
|
|
673
|
+
"hasDynamicHelp": false,
|
|
674
|
+
"multiple": false,
|
|
675
|
+
"type": "option"
|
|
676
|
+
},
|
|
677
|
+
"format": {
|
|
678
|
+
"char": "f",
|
|
679
|
+
"description": "Output format",
|
|
680
|
+
"name": "format",
|
|
681
|
+
"default": "table",
|
|
682
|
+
"hasDynamicHelp": false,
|
|
683
|
+
"multiple": false,
|
|
684
|
+
"options": [
|
|
685
|
+
"table",
|
|
686
|
+
"json",
|
|
687
|
+
"quiet"
|
|
688
|
+
],
|
|
689
|
+
"type": "option"
|
|
690
|
+
},
|
|
691
|
+
"verbose": {
|
|
692
|
+
"char": "v",
|
|
693
|
+
"description": "Verbose output",
|
|
694
|
+
"name": "verbose",
|
|
695
|
+
"allowNo": false,
|
|
696
|
+
"type": "boolean"
|
|
697
|
+
},
|
|
698
|
+
"card": {
|
|
699
|
+
"description": "paymentMethodId of the already-enrolled card to delegate from.",
|
|
700
|
+
"name": "card",
|
|
701
|
+
"required": true,
|
|
702
|
+
"hasDynamicHelp": false,
|
|
703
|
+
"multiple": false,
|
|
704
|
+
"type": "option"
|
|
705
|
+
},
|
|
706
|
+
"org": {
|
|
707
|
+
"description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
|
|
708
|
+
"name": "org",
|
|
709
|
+
"required": false,
|
|
710
|
+
"hasDynamicHelp": false,
|
|
711
|
+
"multiple": false,
|
|
712
|
+
"type": "option"
|
|
713
|
+
},
|
|
714
|
+
"no-browser": {
|
|
715
|
+
"description": "Print the delegation URL instead of opening the browser.",
|
|
716
|
+
"name": "no-browser",
|
|
717
|
+
"allowNo": false,
|
|
718
|
+
"type": "boolean"
|
|
719
|
+
}
|
|
720
|
+
},
|
|
721
|
+
"hasDynamicHelp": false,
|
|
722
|
+
"hiddenAliases": [],
|
|
723
|
+
"id": "cards:delegate",
|
|
724
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
725
|
+
"pluginName": "@nevermined-io/cli",
|
|
726
|
+
"pluginType": "core",
|
|
727
|
+
"strict": true,
|
|
728
|
+
"enableJsonFlag": false,
|
|
729
|
+
"isESM": true,
|
|
730
|
+
"relativePath": [
|
|
731
|
+
"dist",
|
|
732
|
+
"commands",
|
|
733
|
+
"cards",
|
|
734
|
+
"delegate.js"
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
"cards:enroll": {
|
|
738
|
+
"aliases": [],
|
|
739
|
+
"args": {},
|
|
740
|
+
"description": "Open the browser to enroll a credit/debit card and redirect the resulting paymentMethodId back to this terminal.",
|
|
741
|
+
"examples": [
|
|
742
|
+
"<%= config.bin %> cards enroll",
|
|
743
|
+
"<%= config.bin %> cards enroll --org org-abc-123",
|
|
744
|
+
"<%= config.bin %> cards enroll --provider braintree",
|
|
745
|
+
"<%= config.bin %> cards enroll --no-browser"
|
|
746
|
+
],
|
|
747
|
+
"flags": {
|
|
748
|
+
"profile": {
|
|
749
|
+
"char": "p",
|
|
750
|
+
"description": "Configuration profile to use",
|
|
751
|
+
"name": "profile",
|
|
752
|
+
"required": false,
|
|
753
|
+
"hasDynamicHelp": false,
|
|
754
|
+
"multiple": false,
|
|
755
|
+
"type": "option"
|
|
756
|
+
},
|
|
757
|
+
"format": {
|
|
758
|
+
"char": "f",
|
|
759
|
+
"description": "Output format",
|
|
760
|
+
"name": "format",
|
|
761
|
+
"default": "table",
|
|
762
|
+
"hasDynamicHelp": false,
|
|
763
|
+
"multiple": false,
|
|
764
|
+
"options": [
|
|
765
|
+
"table",
|
|
766
|
+
"json",
|
|
767
|
+
"quiet"
|
|
768
|
+
],
|
|
769
|
+
"type": "option"
|
|
770
|
+
},
|
|
771
|
+
"verbose": {
|
|
772
|
+
"char": "v",
|
|
773
|
+
"description": "Verbose output",
|
|
774
|
+
"name": "verbose",
|
|
775
|
+
"allowNo": false,
|
|
776
|
+
"type": "boolean"
|
|
777
|
+
},
|
|
778
|
+
"org": {
|
|
779
|
+
"description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
|
|
780
|
+
"name": "org",
|
|
781
|
+
"required": false,
|
|
782
|
+
"hasDynamicHelp": false,
|
|
783
|
+
"multiple": false,
|
|
784
|
+
"type": "option"
|
|
785
|
+
},
|
|
786
|
+
"no-browser": {
|
|
787
|
+
"description": "Print the enrolment URL instead of opening the browser.",
|
|
788
|
+
"name": "no-browser",
|
|
789
|
+
"allowNo": false,
|
|
790
|
+
"type": "boolean"
|
|
791
|
+
},
|
|
792
|
+
"provider": {
|
|
793
|
+
"description": "Tokenization provider used for the card enrolment step.",
|
|
794
|
+
"name": "provider",
|
|
795
|
+
"default": "stripe",
|
|
796
|
+
"hasDynamicHelp": false,
|
|
797
|
+
"multiple": false,
|
|
798
|
+
"options": [
|
|
799
|
+
"stripe",
|
|
800
|
+
"braintree",
|
|
801
|
+
"visa"
|
|
802
|
+
],
|
|
803
|
+
"type": "option"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
"hasDynamicHelp": false,
|
|
807
|
+
"hiddenAliases": [],
|
|
808
|
+
"id": "cards:enroll",
|
|
809
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
810
|
+
"pluginName": "@nevermined-io/cli",
|
|
811
|
+
"pluginType": "core",
|
|
812
|
+
"strict": true,
|
|
813
|
+
"enableJsonFlag": false,
|
|
814
|
+
"isESM": true,
|
|
815
|
+
"relativePath": [
|
|
816
|
+
"dist",
|
|
817
|
+
"commands",
|
|
818
|
+
"cards",
|
|
819
|
+
"enroll.js"
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
"cards:setup": {
|
|
823
|
+
"aliases": [],
|
|
824
|
+
"args": {},
|
|
825
|
+
"description": "Open the browser to enroll a card and create a spending delegation, then redirect both IDs back to this terminal.",
|
|
826
|
+
"examples": [
|
|
827
|
+
"<%= config.bin %> cards setup",
|
|
828
|
+
"<%= config.bin %> cards setup --org org-abc-123",
|
|
829
|
+
"<%= config.bin %> cards setup --no-browser"
|
|
830
|
+
],
|
|
831
|
+
"flags": {
|
|
832
|
+
"profile": {
|
|
833
|
+
"char": "p",
|
|
834
|
+
"description": "Configuration profile to use",
|
|
835
|
+
"name": "profile",
|
|
836
|
+
"required": false,
|
|
837
|
+
"hasDynamicHelp": false,
|
|
838
|
+
"multiple": false,
|
|
839
|
+
"type": "option"
|
|
840
|
+
},
|
|
841
|
+
"format": {
|
|
842
|
+
"char": "f",
|
|
843
|
+
"description": "Output format",
|
|
844
|
+
"name": "format",
|
|
845
|
+
"default": "table",
|
|
846
|
+
"hasDynamicHelp": false,
|
|
847
|
+
"multiple": false,
|
|
848
|
+
"options": [
|
|
849
|
+
"table",
|
|
850
|
+
"json",
|
|
851
|
+
"quiet"
|
|
852
|
+
],
|
|
853
|
+
"type": "option"
|
|
854
|
+
},
|
|
855
|
+
"verbose": {
|
|
856
|
+
"char": "v",
|
|
857
|
+
"description": "Verbose output",
|
|
858
|
+
"name": "verbose",
|
|
859
|
+
"allowNo": false,
|
|
860
|
+
"type": "boolean"
|
|
861
|
+
},
|
|
862
|
+
"org": {
|
|
863
|
+
"description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
|
|
864
|
+
"name": "org",
|
|
865
|
+
"required": false,
|
|
866
|
+
"hasDynamicHelp": false,
|
|
867
|
+
"multiple": false,
|
|
868
|
+
"type": "option"
|
|
869
|
+
},
|
|
870
|
+
"no-browser": {
|
|
871
|
+
"description": "Print the setup URL instead of opening the browser.",
|
|
872
|
+
"name": "no-browser",
|
|
873
|
+
"allowNo": false,
|
|
874
|
+
"type": "boolean"
|
|
875
|
+
},
|
|
876
|
+
"provider": {
|
|
877
|
+
"description": "Tokenization provider used for the card enrolment step.",
|
|
878
|
+
"name": "provider",
|
|
879
|
+
"default": "stripe",
|
|
880
|
+
"hasDynamicHelp": false,
|
|
881
|
+
"multiple": false,
|
|
882
|
+
"options": [
|
|
883
|
+
"stripe",
|
|
884
|
+
"braintree",
|
|
885
|
+
"visa"
|
|
886
|
+
],
|
|
887
|
+
"type": "option"
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
"hasDynamicHelp": false,
|
|
891
|
+
"hiddenAliases": [],
|
|
892
|
+
"id": "cards:setup",
|
|
893
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
894
|
+
"pluginName": "@nevermined-io/cli",
|
|
895
|
+
"pluginType": "core",
|
|
896
|
+
"strict": true,
|
|
897
|
+
"enableJsonFlag": false,
|
|
898
|
+
"isESM": true,
|
|
899
|
+
"relativePath": [
|
|
900
|
+
"dist",
|
|
901
|
+
"commands",
|
|
902
|
+
"cards",
|
|
903
|
+
"setup.js"
|
|
904
|
+
]
|
|
905
|
+
},
|
|
658
906
|
"config:init": {
|
|
659
907
|
"aliases": [],
|
|
660
908
|
"args": {},
|
|
@@ -876,6 +1124,62 @@
|
|
|
876
1124
|
"show.js"
|
|
877
1125
|
]
|
|
878
1126
|
},
|
|
1127
|
+
"delegation:list-payment-methods": {
|
|
1128
|
+
"aliases": [],
|
|
1129
|
+
"args": {},
|
|
1130
|
+
"description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
|
|
1131
|
+
"examples": [
|
|
1132
|
+
"$ nvm delegation list-payment-methods",
|
|
1133
|
+
"$ nvm delegation list-payment-methods --format json"
|
|
1134
|
+
],
|
|
1135
|
+
"flags": {
|
|
1136
|
+
"profile": {
|
|
1137
|
+
"char": "p",
|
|
1138
|
+
"description": "Configuration profile to use",
|
|
1139
|
+
"name": "profile",
|
|
1140
|
+
"required": false,
|
|
1141
|
+
"hasDynamicHelp": false,
|
|
1142
|
+
"multiple": false,
|
|
1143
|
+
"type": "option"
|
|
1144
|
+
},
|
|
1145
|
+
"format": {
|
|
1146
|
+
"char": "f",
|
|
1147
|
+
"description": "Output format",
|
|
1148
|
+
"name": "format",
|
|
1149
|
+
"default": "table",
|
|
1150
|
+
"hasDynamicHelp": false,
|
|
1151
|
+
"multiple": false,
|
|
1152
|
+
"options": [
|
|
1153
|
+
"table",
|
|
1154
|
+
"json",
|
|
1155
|
+
"quiet"
|
|
1156
|
+
],
|
|
1157
|
+
"type": "option"
|
|
1158
|
+
},
|
|
1159
|
+
"verbose": {
|
|
1160
|
+
"char": "v",
|
|
1161
|
+
"description": "Verbose output",
|
|
1162
|
+
"name": "verbose",
|
|
1163
|
+
"allowNo": false,
|
|
1164
|
+
"type": "boolean"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
"hasDynamicHelp": false,
|
|
1168
|
+
"hiddenAliases": [],
|
|
1169
|
+
"id": "delegation:list-payment-methods",
|
|
1170
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
1171
|
+
"pluginName": "@nevermined-io/cli",
|
|
1172
|
+
"pluginType": "core",
|
|
1173
|
+
"strict": true,
|
|
1174
|
+
"enableJsonFlag": false,
|
|
1175
|
+
"isESM": true,
|
|
1176
|
+
"relativePath": [
|
|
1177
|
+
"dist",
|
|
1178
|
+
"commands",
|
|
1179
|
+
"delegation",
|
|
1180
|
+
"list-payment-methods.js"
|
|
1181
|
+
]
|
|
1182
|
+
},
|
|
879
1183
|
"facilitator:settle-permissions": {
|
|
880
1184
|
"aliases": [],
|
|
881
1185
|
"args": {},
|
|
@@ -1002,13 +1306,22 @@
|
|
|
1002
1306
|
"verify-permissions.js"
|
|
1003
1307
|
]
|
|
1004
1308
|
},
|
|
1005
|
-
"
|
|
1309
|
+
"x402token:get-x402-access-token": {
|
|
1006
1310
|
"aliases": [],
|
|
1007
|
-
"args": {
|
|
1008
|
-
|
|
1311
|
+
"args": {
|
|
1312
|
+
"plan": {
|
|
1313
|
+
"description": "plan identifier",
|
|
1314
|
+
"name": "plan",
|
|
1315
|
+
"required": true
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"description": "Create a delegation and get an X402 access token for the given plan. Supports both crypto (erc4337) and fiat (card-delegation) payment schemes.",
|
|
1009
1319
|
"examples": [
|
|
1010
|
-
"$ nvm
|
|
1011
|
-
"$ nvm
|
|
1320
|
+
"$ nvm x402token get-x402-access-token <planId>",
|
|
1321
|
+
"$ nvm x402token get-x402-access-token <planId> --payment-type fiat",
|
|
1322
|
+
"$ nvm x402token get-x402-access-token <planId> --payment-type fiat --payment-method-id pm_1AbCdEfGhIjKlM --spending-limit-cents 5000",
|
|
1323
|
+
"$ nvm x402token get-x402-access-token <planId> --spending-limit-cents 100000 --delegation-duration-secs 604800",
|
|
1324
|
+
"$ nvm x402token get-x402-access-token <planId> --auto-resolve-scheme"
|
|
1012
1325
|
],
|
|
1013
1326
|
"flags": {
|
|
1014
1327
|
"profile": {
|
|
@@ -1040,11 +1353,64 @@
|
|
|
1040
1353
|
"name": "verbose",
|
|
1041
1354
|
"allowNo": false,
|
|
1042
1355
|
"type": "boolean"
|
|
1356
|
+
},
|
|
1357
|
+
"agent-id": {
|
|
1358
|
+
"name": "agent-id",
|
|
1359
|
+
"required": false,
|
|
1360
|
+
"hasDynamicHelp": false,
|
|
1361
|
+
"multiple": false,
|
|
1362
|
+
"type": "option"
|
|
1363
|
+
},
|
|
1364
|
+
"payment-type": {
|
|
1365
|
+
"description": "Payment type: \"crypto\" (default) or \"fiat\" (card-delegation)",
|
|
1366
|
+
"name": "payment-type",
|
|
1367
|
+
"required": false,
|
|
1368
|
+
"default": "crypto",
|
|
1369
|
+
"hasDynamicHelp": false,
|
|
1370
|
+
"multiple": false,
|
|
1371
|
+
"options": [
|
|
1372
|
+
"crypto",
|
|
1373
|
+
"fiat"
|
|
1374
|
+
],
|
|
1375
|
+
"type": "option"
|
|
1376
|
+
},
|
|
1377
|
+
"payment-method-id": {
|
|
1378
|
+
"description": "Stripe payment method ID (pm_...). Only for fiat. If omitted, auto-selects first enrolled card.",
|
|
1379
|
+
"name": "payment-method-id",
|
|
1380
|
+
"required": false,
|
|
1381
|
+
"hasDynamicHelp": false,
|
|
1382
|
+
"multiple": false,
|
|
1383
|
+
"type": "option"
|
|
1384
|
+
},
|
|
1385
|
+
"spending-limit-cents": {
|
|
1386
|
+
"description": "Max spending limit in cents (default: 1000)",
|
|
1387
|
+
"name": "spending-limit-cents",
|
|
1388
|
+
"required": false,
|
|
1389
|
+
"default": 1000,
|
|
1390
|
+
"hasDynamicHelp": false,
|
|
1391
|
+
"multiple": false,
|
|
1392
|
+
"type": "option"
|
|
1393
|
+
},
|
|
1394
|
+
"delegation-duration-secs": {
|
|
1395
|
+
"description": "Delegation duration in seconds (default: 3600)",
|
|
1396
|
+
"name": "delegation-duration-secs",
|
|
1397
|
+
"required": false,
|
|
1398
|
+
"default": 3600,
|
|
1399
|
+
"hasDynamicHelp": false,
|
|
1400
|
+
"multiple": false,
|
|
1401
|
+
"type": "option"
|
|
1402
|
+
},
|
|
1403
|
+
"auto-resolve-scheme": {
|
|
1404
|
+
"description": "Auto-detect crypto vs fiat from plan metadata (overrides --payment-type)",
|
|
1405
|
+
"name": "auto-resolve-scheme",
|
|
1406
|
+
"required": false,
|
|
1407
|
+
"allowNo": false,
|
|
1408
|
+
"type": "boolean"
|
|
1043
1409
|
}
|
|
1044
1410
|
},
|
|
1045
1411
|
"hasDynamicHelp": false,
|
|
1046
1412
|
"hiddenAliases": [],
|
|
1047
|
-
"id": "
|
|
1413
|
+
"id": "x402token:get-x402-access-token",
|
|
1048
1414
|
"pluginAlias": "@nevermined-io/cli",
|
|
1049
1415
|
"pluginName": "@nevermined-io/cli",
|
|
1050
1416
|
"pluginType": "core",
|
|
@@ -1054,8 +1420,8 @@
|
|
|
1054
1420
|
"relativePath": [
|
|
1055
1421
|
"dist",
|
|
1056
1422
|
"commands",
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1423
|
+
"x402token",
|
|
1424
|
+
"get-x402-access-token.js"
|
|
1059
1425
|
]
|
|
1060
1426
|
},
|
|
1061
1427
|
"organizations:connect-stripe-account": {
|
|
@@ -1292,22 +1658,12 @@
|
|
|
1292
1658
|
"get-members.js"
|
|
1293
1659
|
]
|
|
1294
1660
|
},
|
|
1295
|
-
"
|
|
1661
|
+
"organizations:get-my-memberships": {
|
|
1296
1662
|
"aliases": [],
|
|
1297
|
-
"args": {
|
|
1298
|
-
|
|
1299
|
-
"description": "plan identifier",
|
|
1300
|
-
"name": "plan",
|
|
1301
|
-
"required": true
|
|
1302
|
-
}
|
|
1303
|
-
},
|
|
1304
|
-
"description": "Create a delegation and get an X402 access token for the given plan. Supports both crypto (erc4337) and fiat (card-delegation) payment schemes.",
|
|
1663
|
+
"args": {},
|
|
1664
|
+
"description": "Lists every organization the authenticated user is an active member of, with their role and the organization's tier. Powers workspace pickers in third-party tools built on the SDK, and the \"where will this publish?\" UX when a user belongs to multiple orgs.",
|
|
1305
1665
|
"examples": [
|
|
1306
|
-
"$ nvm
|
|
1307
|
-
"$ nvm x402token get-x402-access-token <planId> --payment-type fiat",
|
|
1308
|
-
"$ nvm x402token get-x402-access-token <planId> --payment-type fiat --payment-method-id pm_1AbCdEfGhIjKlM --spending-limit-cents 5000",
|
|
1309
|
-
"$ nvm x402token get-x402-access-token <planId> --spending-limit-cents 100000 --delegation-duration-secs 604800",
|
|
1310
|
-
"$ nvm x402token get-x402-access-token <planId> --auto-resolve-scheme"
|
|
1666
|
+
"$ nvm organizations get-my-memberships"
|
|
1311
1667
|
],
|
|
1312
1668
|
"flags": {
|
|
1313
1669
|
"profile": {
|
|
@@ -1339,64 +1695,72 @@
|
|
|
1339
1695
|
"name": "verbose",
|
|
1340
1696
|
"allowNo": false,
|
|
1341
1697
|
"type": "boolean"
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"hasDynamicHelp": false,
|
|
1701
|
+
"hiddenAliases": [],
|
|
1702
|
+
"id": "organizations:get-my-memberships",
|
|
1703
|
+
"pluginAlias": "@nevermined-io/cli",
|
|
1704
|
+
"pluginName": "@nevermined-io/cli",
|
|
1705
|
+
"pluginType": "core",
|
|
1706
|
+
"strict": true,
|
|
1707
|
+
"enableJsonFlag": false,
|
|
1708
|
+
"isESM": true,
|
|
1709
|
+
"relativePath": [
|
|
1710
|
+
"dist",
|
|
1711
|
+
"commands",
|
|
1712
|
+
"organizations",
|
|
1713
|
+
"get-my-memberships.js"
|
|
1714
|
+
]
|
|
1715
|
+
},
|
|
1716
|
+
"organizations:get-organization-activity": {
|
|
1717
|
+
"aliases": [],
|
|
1718
|
+
"args": {
|
|
1719
|
+
"org": {
|
|
1720
|
+
"description": "org identifier",
|
|
1721
|
+
"name": "org",
|
|
1722
|
+
"required": true
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
"description": "Lists events emitted into the activity feed of an organization the caller is an active member of (member invites, customer events, subscription transitions, webhook deliveries, …). Requires the caller to be a Member or Admin of `orgId`; the backend returns 403 otherwise. Premium+ entitlement is enforced server-side.",
|
|
1726
|
+
"examples": [
|
|
1727
|
+
"$ nvm organizations get-organization-activity <orgId>"
|
|
1728
|
+
],
|
|
1729
|
+
"flags": {
|
|
1730
|
+
"profile": {
|
|
1731
|
+
"char": "p",
|
|
1732
|
+
"description": "Configuration profile to use",
|
|
1733
|
+
"name": "profile",
|
|
1345
1734
|
"required": false,
|
|
1346
1735
|
"hasDynamicHelp": false,
|
|
1347
1736
|
"multiple": false,
|
|
1348
1737
|
"type": "option"
|
|
1349
1738
|
},
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
"
|
|
1353
|
-
"
|
|
1354
|
-
"default": "
|
|
1739
|
+
"format": {
|
|
1740
|
+
"char": "f",
|
|
1741
|
+
"description": "Output format",
|
|
1742
|
+
"name": "format",
|
|
1743
|
+
"default": "table",
|
|
1355
1744
|
"hasDynamicHelp": false,
|
|
1356
1745
|
"multiple": false,
|
|
1357
1746
|
"options": [
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1747
|
+
"table",
|
|
1748
|
+
"json",
|
|
1749
|
+
"quiet"
|
|
1360
1750
|
],
|
|
1361
1751
|
"type": "option"
|
|
1362
1752
|
},
|
|
1363
|
-
"
|
|
1364
|
-
"
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
-
"hasDynamicHelp": false,
|
|
1368
|
-
"multiple": false,
|
|
1369
|
-
"type": "option"
|
|
1370
|
-
},
|
|
1371
|
-
"spending-limit-cents": {
|
|
1372
|
-
"description": "Max spending limit in cents (default: 1000)",
|
|
1373
|
-
"name": "spending-limit-cents",
|
|
1374
|
-
"required": false,
|
|
1375
|
-
"default": 1000,
|
|
1376
|
-
"hasDynamicHelp": false,
|
|
1377
|
-
"multiple": false,
|
|
1378
|
-
"type": "option"
|
|
1379
|
-
},
|
|
1380
|
-
"delegation-duration-secs": {
|
|
1381
|
-
"description": "Delegation duration in seconds (default: 3600)",
|
|
1382
|
-
"name": "delegation-duration-secs",
|
|
1383
|
-
"required": false,
|
|
1384
|
-
"default": 3600,
|
|
1385
|
-
"hasDynamicHelp": false,
|
|
1386
|
-
"multiple": false,
|
|
1387
|
-
"type": "option"
|
|
1388
|
-
},
|
|
1389
|
-
"auto-resolve-scheme": {
|
|
1390
|
-
"description": "Auto-detect crypto vs fiat from plan metadata (overrides --payment-type)",
|
|
1391
|
-
"name": "auto-resolve-scheme",
|
|
1392
|
-
"required": false,
|
|
1753
|
+
"verbose": {
|
|
1754
|
+
"char": "v",
|
|
1755
|
+
"description": "Verbose output",
|
|
1756
|
+
"name": "verbose",
|
|
1393
1757
|
"allowNo": false,
|
|
1394
1758
|
"type": "boolean"
|
|
1395
1759
|
}
|
|
1396
1760
|
},
|
|
1397
1761
|
"hasDynamicHelp": false,
|
|
1398
1762
|
"hiddenAliases": [],
|
|
1399
|
-
"id": "
|
|
1763
|
+
"id": "organizations:get-organization-activity",
|
|
1400
1764
|
"pluginAlias": "@nevermined-io/cli",
|
|
1401
1765
|
"pluginName": "@nevermined-io/cli",
|
|
1402
1766
|
"pluginType": "core",
|
|
@@ -1406,8 +1770,8 @@
|
|
|
1406
1770
|
"relativePath": [
|
|
1407
1771
|
"dist",
|
|
1408
1772
|
"commands",
|
|
1409
|
-
"
|
|
1410
|
-
"get-
|
|
1773
|
+
"organizations",
|
|
1774
|
+
"get-organization-activity.js"
|
|
1411
1775
|
]
|
|
1412
1776
|
},
|
|
1413
1777
|
"plans:get-agents-associated-to-a-plan": {
|
|
@@ -3332,5 +3696,5 @@
|
|
|
3332
3696
|
]
|
|
3333
3697
|
}
|
|
3334
3698
|
},
|
|
3335
|
-
"version": "1.
|
|
3699
|
+
"version": "1.5.0"
|
|
3336
3700
|
}
|