@nevermined-io/cli 1.0.5 → 1.0.6
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
|
+
"facilitator:settle-permissions": {
|
|
746
746
|
"aliases": [],
|
|
747
747
|
"args": {},
|
|
748
|
-
"description": "
|
|
748
|
+
"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.",
|
|
749
749
|
"examples": [
|
|
750
|
-
"$ nvm
|
|
750
|
+
"$ nvm facilitator settle-permissions"
|
|
751
751
|
],
|
|
752
752
|
"flags": {
|
|
753
753
|
"profile": {
|
|
@@ -780,22 +780,9 @@
|
|
|
780
780
|
"allowNo": false,
|
|
781
781
|
"type": "boolean"
|
|
782
782
|
},
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"
|
|
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",
|
|
783
|
+
"params": {
|
|
784
|
+
"description": "params as JSON string",
|
|
785
|
+
"name": "params",
|
|
799
786
|
"required": true,
|
|
800
787
|
"hasDynamicHelp": false,
|
|
801
788
|
"multiple": false,
|
|
@@ -804,7 +791,7 @@
|
|
|
804
791
|
},
|
|
805
792
|
"hasDynamicHelp": false,
|
|
806
793
|
"hiddenAliases": [],
|
|
807
|
-
"id": "
|
|
794
|
+
"id": "facilitator:settle-permissions",
|
|
808
795
|
"pluginAlias": "@nevermined-io/cli",
|
|
809
796
|
"pluginName": "@nevermined-io/cli",
|
|
810
797
|
"pluginType": "core",
|
|
@@ -814,22 +801,16 @@
|
|
|
814
801
|
"relativePath": [
|
|
815
802
|
"dist",
|
|
816
803
|
"commands",
|
|
817
|
-
"
|
|
818
|
-
"
|
|
804
|
+
"facilitator",
|
|
805
|
+
"settle-permissions.js"
|
|
819
806
|
]
|
|
820
807
|
},
|
|
821
|
-
"
|
|
808
|
+
"facilitator:verify-permissions": {
|
|
822
809
|
"aliases": [],
|
|
823
|
-
"args": {
|
|
824
|
-
|
|
825
|
-
"description": "user identifier",
|
|
826
|
-
"name": "user",
|
|
827
|
-
"required": true
|
|
828
|
-
}
|
|
829
|
-
},
|
|
830
|
-
"description": "Create a new member in the organization",
|
|
810
|
+
"args": {},
|
|
811
|
+
"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.",
|
|
831
812
|
"examples": [
|
|
832
|
-
"$ nvm
|
|
813
|
+
"$ nvm facilitator verify-permissions"
|
|
833
814
|
],
|
|
834
815
|
"flags": {
|
|
835
816
|
"profile": {
|
|
@@ -862,16 +843,10 @@
|
|
|
862
843
|
"allowNo": false,
|
|
863
844
|
"type": "boolean"
|
|
864
845
|
},
|
|
865
|
-
"
|
|
866
|
-
"
|
|
867
|
-
"
|
|
868
|
-
"
|
|
869
|
-
"multiple": false,
|
|
870
|
-
"type": "option"
|
|
871
|
-
},
|
|
872
|
-
"user-role": {
|
|
873
|
-
"name": "user-role",
|
|
874
|
-
"required": false,
|
|
846
|
+
"params": {
|
|
847
|
+
"description": "params as JSON string",
|
|
848
|
+
"name": "params",
|
|
849
|
+
"required": true,
|
|
875
850
|
"hasDynamicHelp": false,
|
|
876
851
|
"multiple": false,
|
|
877
852
|
"type": "option"
|
|
@@ -879,7 +854,7 @@
|
|
|
879
854
|
},
|
|
880
855
|
"hasDynamicHelp": false,
|
|
881
856
|
"hiddenAliases": [],
|
|
882
|
-
"id": "
|
|
857
|
+
"id": "facilitator:verify-permissions",
|
|
883
858
|
"pluginAlias": "@nevermined-io/cli",
|
|
884
859
|
"pluginName": "@nevermined-io/cli",
|
|
885
860
|
"pluginType": "core",
|
|
@@ -889,16 +864,16 @@
|
|
|
889
864
|
"relativePath": [
|
|
890
865
|
"dist",
|
|
891
866
|
"commands",
|
|
892
|
-
"
|
|
893
|
-
"
|
|
867
|
+
"facilitator",
|
|
868
|
+
"verify-permissions.js"
|
|
894
869
|
]
|
|
895
870
|
},
|
|
896
|
-
"organizations:
|
|
871
|
+
"organizations:connect-stripe-account": {
|
|
897
872
|
"aliases": [],
|
|
898
873
|
"args": {},
|
|
899
|
-
"description": "
|
|
874
|
+
"description": "Connect user with Stripe",
|
|
900
875
|
"examples": [
|
|
901
|
-
"$ nvm organizations
|
|
876
|
+
"$ nvm organizations connect-stripe-account"
|
|
902
877
|
],
|
|
903
878
|
"flags": {
|
|
904
879
|
"profile": {
|
|
@@ -931,30 +906,23 @@
|
|
|
931
906
|
"allowNo": false,
|
|
932
907
|
"type": "boolean"
|
|
933
908
|
},
|
|
934
|
-
"
|
|
935
|
-
"name": "
|
|
936
|
-
"required":
|
|
937
|
-
"hasDynamicHelp": false,
|
|
938
|
-
"multiple": false,
|
|
939
|
-
"type": "option"
|
|
940
|
-
},
|
|
941
|
-
"is-active": {
|
|
942
|
-
"name": "is-active",
|
|
943
|
-
"required": false,
|
|
909
|
+
"user-email": {
|
|
910
|
+
"name": "user-email",
|
|
911
|
+
"required": true,
|
|
944
912
|
"hasDynamicHelp": false,
|
|
945
913
|
"multiple": false,
|
|
946
914
|
"type": "option"
|
|
947
915
|
},
|
|
948
|
-
"
|
|
949
|
-
"name": "
|
|
950
|
-
"required":
|
|
916
|
+
"user-country-code": {
|
|
917
|
+
"name": "user-country-code",
|
|
918
|
+
"required": true,
|
|
951
919
|
"hasDynamicHelp": false,
|
|
952
920
|
"multiple": false,
|
|
953
921
|
"type": "option"
|
|
954
922
|
},
|
|
955
|
-
"
|
|
956
|
-
"name": "
|
|
957
|
-
"required":
|
|
923
|
+
"return-url": {
|
|
924
|
+
"name": "return-url",
|
|
925
|
+
"required": true,
|
|
958
926
|
"hasDynamicHelp": false,
|
|
959
927
|
"multiple": false,
|
|
960
928
|
"type": "option"
|
|
@@ -962,7 +930,7 @@
|
|
|
962
930
|
},
|
|
963
931
|
"hasDynamicHelp": false,
|
|
964
932
|
"hiddenAliases": [],
|
|
965
|
-
"id": "organizations:
|
|
933
|
+
"id": "organizations:connect-stripe-account",
|
|
966
934
|
"pluginAlias": "@nevermined-io/cli",
|
|
967
935
|
"pluginName": "@nevermined-io/cli",
|
|
968
936
|
"pluginType": "core",
|
|
@@ -973,15 +941,21 @@
|
|
|
973
941
|
"dist",
|
|
974
942
|
"commands",
|
|
975
943
|
"organizations",
|
|
976
|
-
"
|
|
944
|
+
"connect-stripe-account.js"
|
|
977
945
|
]
|
|
978
946
|
},
|
|
979
|
-
"
|
|
947
|
+
"organizations:create-member": {
|
|
980
948
|
"aliases": [],
|
|
981
|
-
"args": {
|
|
982
|
-
|
|
949
|
+
"args": {
|
|
950
|
+
"user": {
|
|
951
|
+
"description": "user identifier",
|
|
952
|
+
"name": "user",
|
|
953
|
+
"required": true
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"description": "Create a new member in the organization",
|
|
983
957
|
"examples": [
|
|
984
|
-
"$ nvm
|
|
958
|
+
"$ nvm organizations create-member <userId>"
|
|
985
959
|
],
|
|
986
960
|
"flags": {
|
|
987
961
|
"profile": {
|
|
@@ -1014,10 +988,16 @@
|
|
|
1014
988
|
"allowNo": false,
|
|
1015
989
|
"type": "boolean"
|
|
1016
990
|
},
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
991
|
+
"user-email": {
|
|
992
|
+
"name": "user-email",
|
|
993
|
+
"required": false,
|
|
994
|
+
"hasDynamicHelp": false,
|
|
995
|
+
"multiple": false,
|
|
996
|
+
"type": "option"
|
|
997
|
+
},
|
|
998
|
+
"user-role": {
|
|
999
|
+
"name": "user-role",
|
|
1000
|
+
"required": false,
|
|
1021
1001
|
"hasDynamicHelp": false,
|
|
1022
1002
|
"multiple": false,
|
|
1023
1003
|
"type": "option"
|
|
@@ -1025,7 +1005,7 @@
|
|
|
1025
1005
|
},
|
|
1026
1006
|
"hasDynamicHelp": false,
|
|
1027
1007
|
"hiddenAliases": [],
|
|
1028
|
-
"id": "
|
|
1008
|
+
"id": "organizations:create-member",
|
|
1029
1009
|
"pluginAlias": "@nevermined-io/cli",
|
|
1030
1010
|
"pluginName": "@nevermined-io/cli",
|
|
1031
1011
|
"pluginType": "core",
|
|
@@ -1035,16 +1015,16 @@
|
|
|
1035
1015
|
"relativePath": [
|
|
1036
1016
|
"dist",
|
|
1037
1017
|
"commands",
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1018
|
+
"organizations",
|
|
1019
|
+
"create-member.js"
|
|
1040
1020
|
]
|
|
1041
1021
|
},
|
|
1042
|
-
"
|
|
1022
|
+
"organizations:get-members": {
|
|
1043
1023
|
"aliases": [],
|
|
1044
1024
|
"args": {},
|
|
1045
|
-
"description": "
|
|
1025
|
+
"description": "OrganizationsAPI getMembers",
|
|
1046
1026
|
"examples": [
|
|
1047
|
-
"$ nvm
|
|
1027
|
+
"$ nvm organizations get-members"
|
|
1048
1028
|
],
|
|
1049
1029
|
"flags": {
|
|
1050
1030
|
"profile": {
|
|
@@ -1077,10 +1057,30 @@
|
|
|
1077
1057
|
"allowNo": false,
|
|
1078
1058
|
"type": "boolean"
|
|
1079
1059
|
},
|
|
1080
|
-
"
|
|
1081
|
-
"
|
|
1082
|
-
"
|
|
1083
|
-
"
|
|
1060
|
+
"role": {
|
|
1061
|
+
"name": "role",
|
|
1062
|
+
"required": false,
|
|
1063
|
+
"hasDynamicHelp": false,
|
|
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,
|
|
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": "organizations:get-members",
|
|
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
|
+
"organizations",
|
|
1102
|
+
"get-members.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.6"
|
|
3136
3136
|
}
|