@nevermined-io/cli 1.0.6 → 1.0.7
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/oclif.manifest.json +88 -88
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -742,12 +742,12 @@
|
|
|
742
742
|
"show.js"
|
|
743
743
|
]
|
|
744
744
|
},
|
|
745
|
-
"
|
|
745
|
+
"organizations:connect-stripe-account": {
|
|
746
746
|
"aliases": [],
|
|
747
747
|
"args": {},
|
|
748
|
-
"description": "
|
|
748
|
+
"description": "Connect user with Stripe",
|
|
749
749
|
"examples": [
|
|
750
|
-
"$ nvm
|
|
750
|
+
"$ nvm organizations connect-stripe-account"
|
|
751
751
|
],
|
|
752
752
|
"flags": {
|
|
753
753
|
"profile": {
|
|
@@ -780,9 +780,22 @@
|
|
|
780
780
|
"allowNo": false,
|
|
781
781
|
"type": "boolean"
|
|
782
782
|
},
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"
|
|
783
|
+
"user-email": {
|
|
784
|
+
"name": "user-email",
|
|
785
|
+
"required": true,
|
|
786
|
+
"hasDynamicHelp": false,
|
|
787
|
+
"multiple": false,
|
|
788
|
+
"type": "option"
|
|
789
|
+
},
|
|
790
|
+
"user-country-code": {
|
|
791
|
+
"name": "user-country-code",
|
|
792
|
+
"required": true,
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
796
|
+
},
|
|
797
|
+
"return-url": {
|
|
798
|
+
"name": "return-url",
|
|
786
799
|
"required": true,
|
|
787
800
|
"hasDynamicHelp": false,
|
|
788
801
|
"multiple": false,
|
|
@@ -791,7 +804,7 @@
|
|
|
791
804
|
},
|
|
792
805
|
"hasDynamicHelp": false,
|
|
793
806
|
"hiddenAliases": [],
|
|
794
|
-
"id": "
|
|
807
|
+
"id": "organizations:connect-stripe-account",
|
|
795
808
|
"pluginAlias": "@nevermined-io/cli",
|
|
796
809
|
"pluginName": "@nevermined-io/cli",
|
|
797
810
|
"pluginType": "core",
|
|
@@ -801,16 +814,22 @@
|
|
|
801
814
|
"relativePath": [
|
|
802
815
|
"dist",
|
|
803
816
|
"commands",
|
|
804
|
-
"
|
|
805
|
-
"
|
|
817
|
+
"organizations",
|
|
818
|
+
"connect-stripe-account.js"
|
|
806
819
|
]
|
|
807
820
|
},
|
|
808
|
-
"
|
|
821
|
+
"organizations:create-member": {
|
|
809
822
|
"aliases": [],
|
|
810
|
-
"args": {
|
|
811
|
-
|
|
823
|
+
"args": {
|
|
824
|
+
"user": {
|
|
825
|
+
"description": "user identifier",
|
|
826
|
+
"name": "user",
|
|
827
|
+
"required": true
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"description": "Create a new member in the organization",
|
|
812
831
|
"examples": [
|
|
813
|
-
"$ nvm
|
|
832
|
+
"$ nvm organizations create-member <userId>"
|
|
814
833
|
],
|
|
815
834
|
"flags": {
|
|
816
835
|
"profile": {
|
|
@@ -843,10 +862,16 @@
|
|
|
843
862
|
"allowNo": false,
|
|
844
863
|
"type": "boolean"
|
|
845
864
|
},
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
"
|
|
849
|
-
"
|
|
865
|
+
"user-email": {
|
|
866
|
+
"name": "user-email",
|
|
867
|
+
"required": false,
|
|
868
|
+
"hasDynamicHelp": false,
|
|
869
|
+
"multiple": false,
|
|
870
|
+
"type": "option"
|
|
871
|
+
},
|
|
872
|
+
"user-role": {
|
|
873
|
+
"name": "user-role",
|
|
874
|
+
"required": false,
|
|
850
875
|
"hasDynamicHelp": false,
|
|
851
876
|
"multiple": false,
|
|
852
877
|
"type": "option"
|
|
@@ -854,7 +879,7 @@
|
|
|
854
879
|
},
|
|
855
880
|
"hasDynamicHelp": false,
|
|
856
881
|
"hiddenAliases": [],
|
|
857
|
-
"id": "
|
|
882
|
+
"id": "organizations:create-member",
|
|
858
883
|
"pluginAlias": "@nevermined-io/cli",
|
|
859
884
|
"pluginName": "@nevermined-io/cli",
|
|
860
885
|
"pluginType": "core",
|
|
@@ -864,16 +889,16 @@
|
|
|
864
889
|
"relativePath": [
|
|
865
890
|
"dist",
|
|
866
891
|
"commands",
|
|
867
|
-
"
|
|
868
|
-
"
|
|
892
|
+
"organizations",
|
|
893
|
+
"create-member.js"
|
|
869
894
|
]
|
|
870
895
|
},
|
|
871
|
-
"organizations:
|
|
896
|
+
"organizations:get-members": {
|
|
872
897
|
"aliases": [],
|
|
873
898
|
"args": {},
|
|
874
|
-
"description": "
|
|
899
|
+
"description": "OrganizationsAPI getMembers",
|
|
875
900
|
"examples": [
|
|
876
|
-
"$ nvm organizations
|
|
901
|
+
"$ nvm organizations get-members"
|
|
877
902
|
],
|
|
878
903
|
"flags": {
|
|
879
904
|
"profile": {
|
|
@@ -906,23 +931,30 @@
|
|
|
906
931
|
"allowNo": false,
|
|
907
932
|
"type": "boolean"
|
|
908
933
|
},
|
|
909
|
-
"
|
|
910
|
-
"name": "
|
|
911
|
-
"required":
|
|
934
|
+
"role": {
|
|
935
|
+
"name": "role",
|
|
936
|
+
"required": false,
|
|
912
937
|
"hasDynamicHelp": false,
|
|
913
938
|
"multiple": false,
|
|
914
939
|
"type": "option"
|
|
915
940
|
},
|
|
916
|
-
"
|
|
917
|
-
"name": "
|
|
918
|
-
"required":
|
|
941
|
+
"is-active": {
|
|
942
|
+
"name": "is-active",
|
|
943
|
+
"required": false,
|
|
919
944
|
"hasDynamicHelp": false,
|
|
920
945
|
"multiple": false,
|
|
921
946
|
"type": "option"
|
|
922
947
|
},
|
|
923
|
-
"
|
|
924
|
-
"name": "
|
|
925
|
-
"required":
|
|
948
|
+
"page": {
|
|
949
|
+
"name": "page",
|
|
950
|
+
"required": false,
|
|
951
|
+
"hasDynamicHelp": false,
|
|
952
|
+
"multiple": false,
|
|
953
|
+
"type": "option"
|
|
954
|
+
},
|
|
955
|
+
"offset": {
|
|
956
|
+
"name": "offset",
|
|
957
|
+
"required": false,
|
|
926
958
|
"hasDynamicHelp": false,
|
|
927
959
|
"multiple": false,
|
|
928
960
|
"type": "option"
|
|
@@ -930,7 +962,7 @@
|
|
|
930
962
|
},
|
|
931
963
|
"hasDynamicHelp": false,
|
|
932
964
|
"hiddenAliases": [],
|
|
933
|
-
"id": "organizations:
|
|
965
|
+
"id": "organizations:get-members",
|
|
934
966
|
"pluginAlias": "@nevermined-io/cli",
|
|
935
967
|
"pluginName": "@nevermined-io/cli",
|
|
936
968
|
"pluginType": "core",
|
|
@@ -941,21 +973,15 @@
|
|
|
941
973
|
"dist",
|
|
942
974
|
"commands",
|
|
943
975
|
"organizations",
|
|
944
|
-
"
|
|
976
|
+
"get-members.js"
|
|
945
977
|
]
|
|
946
978
|
},
|
|
947
|
-
"
|
|
979
|
+
"facilitator:settle-permissions": {
|
|
948
980
|
"aliases": [],
|
|
949
|
-
"args": {
|
|
950
|
-
|
|
951
|
-
"description": "user identifier",
|
|
952
|
-
"name": "user",
|
|
953
|
-
"required": true
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
"description": "Create a new member in the organization",
|
|
981
|
+
"args": {},
|
|
982
|
+
"description": "Settle (burn) credits from a subscriber's payment plan. This method executes the actual credit consumption, burning the specified number of credits from the subscriber's balance. If the subscriber doesn't have enough credits, it will attempt to order more before settling. The planId and subscriberAddress are extracted from the x402AccessToken.",
|
|
957
983
|
"examples": [
|
|
958
|
-
"$ nvm
|
|
984
|
+
"$ nvm facilitator settle-permissions"
|
|
959
985
|
],
|
|
960
986
|
"flags": {
|
|
961
987
|
"profile": {
|
|
@@ -988,16 +1014,10 @@
|
|
|
988
1014
|
"allowNo": false,
|
|
989
1015
|
"type": "boolean"
|
|
990
1016
|
},
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
"
|
|
994
|
-
"
|
|
995
|
-
"multiple": false,
|
|
996
|
-
"type": "option"
|
|
997
|
-
},
|
|
998
|
-
"user-role": {
|
|
999
|
-
"name": "user-role",
|
|
1000
|
-
"required": false,
|
|
1017
|
+
"params": {
|
|
1018
|
+
"description": "params as JSON string",
|
|
1019
|
+
"name": "params",
|
|
1020
|
+
"required": true,
|
|
1001
1021
|
"hasDynamicHelp": false,
|
|
1002
1022
|
"multiple": false,
|
|
1003
1023
|
"type": "option"
|
|
@@ -1005,7 +1025,7 @@
|
|
|
1005
1025
|
},
|
|
1006
1026
|
"hasDynamicHelp": false,
|
|
1007
1027
|
"hiddenAliases": [],
|
|
1008
|
-
"id": "
|
|
1028
|
+
"id": "facilitator:settle-permissions",
|
|
1009
1029
|
"pluginAlias": "@nevermined-io/cli",
|
|
1010
1030
|
"pluginName": "@nevermined-io/cli",
|
|
1011
1031
|
"pluginType": "core",
|
|
@@ -1015,16 +1035,16 @@
|
|
|
1015
1035
|
"relativePath": [
|
|
1016
1036
|
"dist",
|
|
1017
1037
|
"commands",
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1038
|
+
"facilitator",
|
|
1039
|
+
"settle-permissions.js"
|
|
1020
1040
|
]
|
|
1021
1041
|
},
|
|
1022
|
-
"
|
|
1042
|
+
"facilitator:verify-permissions": {
|
|
1023
1043
|
"aliases": [],
|
|
1024
1044
|
"args": {},
|
|
1025
|
-
"description": "
|
|
1045
|
+
"description": "Verify if a subscriber has permission to use credits from a payment plan. This method simulates the credit usage without actually burning credits, checking if the subscriber has sufficient balance and permissions. The planId and subscriberAddress are extracted from the x402AccessToken.",
|
|
1026
1046
|
"examples": [
|
|
1027
|
-
"$ nvm
|
|
1047
|
+
"$ nvm facilitator verify-permissions"
|
|
1028
1048
|
],
|
|
1029
1049
|
"flags": {
|
|
1030
1050
|
"profile": {
|
|
@@ -1057,30 +1077,10 @@
|
|
|
1057
1077
|
"allowNo": false,
|
|
1058
1078
|
"type": "boolean"
|
|
1059
1079
|
},
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1064
|
-
"multiple": false,
|
|
1065
|
-
"type": "option"
|
|
1066
|
-
},
|
|
1067
|
-
"is-active": {
|
|
1068
|
-
"name": "is-active",
|
|
1069
|
-
"required": false,
|
|
1070
|
-
"hasDynamicHelp": false,
|
|
1071
|
-
"multiple": false,
|
|
1072
|
-
"type": "option"
|
|
1073
|
-
},
|
|
1074
|
-
"page": {
|
|
1075
|
-
"name": "page",
|
|
1076
|
-
"required": false,
|
|
1077
|
-
"hasDynamicHelp": false,
|
|
1078
|
-
"multiple": false,
|
|
1079
|
-
"type": "option"
|
|
1080
|
-
},
|
|
1081
|
-
"offset": {
|
|
1082
|
-
"name": "offset",
|
|
1083
|
-
"required": false,
|
|
1080
|
+
"params": {
|
|
1081
|
+
"description": "params as JSON string",
|
|
1082
|
+
"name": "params",
|
|
1083
|
+
"required": true,
|
|
1084
1084
|
"hasDynamicHelp": false,
|
|
1085
1085
|
"multiple": false,
|
|
1086
1086
|
"type": "option"
|
|
@@ -1088,7 +1088,7 @@
|
|
|
1088
1088
|
},
|
|
1089
1089
|
"hasDynamicHelp": false,
|
|
1090
1090
|
"hiddenAliases": [],
|
|
1091
|
-
"id": "
|
|
1091
|
+
"id": "facilitator:verify-permissions",
|
|
1092
1092
|
"pluginAlias": "@nevermined-io/cli",
|
|
1093
1093
|
"pluginName": "@nevermined-io/cli",
|
|
1094
1094
|
"pluginType": "core",
|
|
@@ -1098,8 +1098,8 @@
|
|
|
1098
1098
|
"relativePath": [
|
|
1099
1099
|
"dist",
|
|
1100
1100
|
"commands",
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1101
|
+
"facilitator",
|
|
1102
|
+
"verify-permissions.js"
|
|
1103
1103
|
]
|
|
1104
1104
|
},
|
|
1105
1105
|
"x402token:get-x402-access-token": {
|
|
@@ -3132,5 +3132,5 @@
|
|
|
3132
3132
|
]
|
|
3133
3133
|
}
|
|
3134
3134
|
},
|
|
3135
|
-
"version": "1.0.
|
|
3135
|
+
"version": "1.0.7"
|
|
3136
3136
|
}
|