@nevermined-io/cli 1.0.3-rc1

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 (209) hide show
  1. package/README.md +194 -0
  2. package/bin/dev.js +5 -0
  3. package/bin/run.js +5 -0
  4. package/dist/base-command.d.ts +36 -0
  5. package/dist/base-command.d.ts.map +1 -0
  6. package/dist/base-command.js +161 -0
  7. package/dist/base-command.js.map +1 -0
  8. package/dist/commands/agents/add-plan-to-agent.d.ts +19 -0
  9. package/dist/commands/agents/add-plan-to-agent.d.ts.map +1 -0
  10. package/dist/commands/agents/add-plan-to-agent.js +33 -0
  11. package/dist/commands/agents/add-plan-to-agent.js.map +1 -0
  12. package/dist/commands/agents/get-agent-plans.d.ts +19 -0
  13. package/dist/commands/agents/get-agent-plans.d.ts.map +1 -0
  14. package/dist/commands/agents/get-agent-plans.js +36 -0
  15. package/dist/commands/agents/get-agent-plans.js.map +1 -0
  16. package/dist/commands/agents/get-agent.d.ts +18 -0
  17. package/dist/commands/agents/get-agent.d.ts.map +1 -0
  18. package/dist/commands/agents/get-agent.js +32 -0
  19. package/dist/commands/agents/get-agent.js.map +1 -0
  20. package/dist/commands/agents/register-agent-and-plan.d.ts +21 -0
  21. package/dist/commands/agents/register-agent-and-plan.d.ts.map +1 -0
  22. package/dist/commands/agents/register-agent-and-plan.js +44 -0
  23. package/dist/commands/agents/register-agent-and-plan.js.map +1 -0
  24. package/dist/commands/agents/register-agent.d.ts +18 -0
  25. package/dist/commands/agents/register-agent.d.ts.map +1 -0
  26. package/dist/commands/agents/register-agent.js +32 -0
  27. package/dist/commands/agents/register-agent.js.map +1 -0
  28. package/dist/commands/agents/remove-plan-from-agent.d.ts +19 -0
  29. package/dist/commands/agents/remove-plan-from-agent.d.ts.map +1 -0
  30. package/dist/commands/agents/remove-plan-from-agent.js +33 -0
  31. package/dist/commands/agents/remove-plan-from-agent.js.map +1 -0
  32. package/dist/commands/agents/update-agent-metadata.d.ts +20 -0
  33. package/dist/commands/agents/update-agent-metadata.d.ts.map +1 -0
  34. package/dist/commands/agents/update-agent-metadata.js +37 -0
  35. package/dist/commands/agents/update-agent-metadata.js.map +1 -0
  36. package/dist/commands/config/init.d.ts +15 -0
  37. package/dist/commands/config/init.d.ts.map +1 -0
  38. package/dist/commands/config/init.js +78 -0
  39. package/dist/commands/config/init.js.map +1 -0
  40. package/dist/commands/config/set.d.ts +16 -0
  41. package/dist/commands/config/set.d.ts.map +1 -0
  42. package/dist/commands/config/set.js +44 -0
  43. package/dist/commands/config/set.js.map +1 -0
  44. package/dist/commands/config/show.d.ts +13 -0
  45. package/dist/commands/config/show.d.ts.map +1 -0
  46. package/dist/commands/config/show.js +53 -0
  47. package/dist/commands/config/show.js.map +1 -0
  48. package/dist/commands/facilitator/settle-permissions.d.ts +16 -0
  49. package/dist/commands/facilitator/settle-permissions.d.ts.map +1 -0
  50. package/dist/commands/facilitator/settle-permissions.js +30 -0
  51. package/dist/commands/facilitator/settle-permissions.js.map +1 -0
  52. package/dist/commands/facilitator/verify-permissions.d.ts +16 -0
  53. package/dist/commands/facilitator/verify-permissions.d.ts.map +1 -0
  54. package/dist/commands/facilitator/verify-permissions.js +30 -0
  55. package/dist/commands/facilitator/verify-permissions.js.map +1 -0
  56. package/dist/commands/organizations/connect-stripe-account.d.ts +18 -0
  57. package/dist/commands/organizations/connect-stripe-account.d.ts.map +1 -0
  58. package/dist/commands/organizations/connect-stripe-account.js +29 -0
  59. package/dist/commands/organizations/connect-stripe-account.js.map +1 -0
  60. package/dist/commands/organizations/create-member.d.ts +20 -0
  61. package/dist/commands/organizations/create-member.d.ts.map +1 -0
  62. package/dist/commands/organizations/create-member.js +34 -0
  63. package/dist/commands/organizations/create-member.js.map +1 -0
  64. package/dist/commands/organizations/get-members.d.ts +19 -0
  65. package/dist/commands/organizations/get-members.d.ts.map +1 -0
  66. package/dist/commands/organizations/get-members.js +30 -0
  67. package/dist/commands/organizations/get-members.js.map +1 -0
  68. package/dist/commands/plans/get-agents-associated-to-a-plan.d.ts +19 -0
  69. package/dist/commands/plans/get-agents-associated-to-a-plan.d.ts.map +1 -0
  70. package/dist/commands/plans/get-agents-associated-to-a-plan.js +36 -0
  71. package/dist/commands/plans/get-agents-associated-to-a-plan.js.map +1 -0
  72. package/dist/commands/plans/get-crypto-price-config.d.ts +18 -0
  73. package/dist/commands/plans/get-crypto-price-config.d.ts.map +1 -0
  74. package/dist/commands/plans/get-crypto-price-config.js +35 -0
  75. package/dist/commands/plans/get-crypto-price-config.js.map +1 -0
  76. package/dist/commands/plans/get-dynamic-credits-config.d.ts +18 -0
  77. package/dist/commands/plans/get-dynamic-credits-config.d.ts.map +1 -0
  78. package/dist/commands/plans/get-dynamic-credits-config.js +29 -0
  79. package/dist/commands/plans/get-dynamic-credits-config.js.map +1 -0
  80. package/dist/commands/plans/get-erc20-price-config.d.ts +18 -0
  81. package/dist/commands/plans/get-erc20-price-config.d.ts.map +1 -0
  82. package/dist/commands/plans/get-erc20-price-config.js +35 -0
  83. package/dist/commands/plans/get-erc20-price-config.js.map +1 -0
  84. package/dist/commands/plans/get-expirable-duration-config.d.ts +16 -0
  85. package/dist/commands/plans/get-expirable-duration-config.d.ts.map +1 -0
  86. package/dist/commands/plans/get-expirable-duration-config.js +27 -0
  87. package/dist/commands/plans/get-expirable-duration-config.js.map +1 -0
  88. package/dist/commands/plans/get-fiat-price-config.d.ts +17 -0
  89. package/dist/commands/plans/get-fiat-price-config.d.ts.map +1 -0
  90. package/dist/commands/plans/get-fiat-price-config.js +31 -0
  91. package/dist/commands/plans/get-fiat-price-config.js.map +1 -0
  92. package/dist/commands/plans/get-fixed-credits-config.d.ts +17 -0
  93. package/dist/commands/plans/get-fixed-credits-config.d.ts.map +1 -0
  94. package/dist/commands/plans/get-fixed-credits-config.js +28 -0
  95. package/dist/commands/plans/get-fixed-credits-config.js.map +1 -0
  96. package/dist/commands/plans/get-free-price-config.d.ts +15 -0
  97. package/dist/commands/plans/get-free-price-config.d.ts.map +1 -0
  98. package/dist/commands/plans/get-free-price-config.js +25 -0
  99. package/dist/commands/plans/get-free-price-config.js.map +1 -0
  100. package/dist/commands/plans/get-native-token-price-config.d.ts +17 -0
  101. package/dist/commands/plans/get-native-token-price-config.d.ts.map +1 -0
  102. package/dist/commands/plans/get-native-token-price-config.js +31 -0
  103. package/dist/commands/plans/get-native-token-price-config.js.map +1 -0
  104. package/dist/commands/plans/get-non-expirable-duration-config.d.ts +15 -0
  105. package/dist/commands/plans/get-non-expirable-duration-config.d.ts.map +1 -0
  106. package/dist/commands/plans/get-non-expirable-duration-config.js +25 -0
  107. package/dist/commands/plans/get-non-expirable-duration-config.js.map +1 -0
  108. package/dist/commands/plans/get-pay-as-you-go-credits-config.d.ts +15 -0
  109. package/dist/commands/plans/get-pay-as-you-go-credits-config.d.ts.map +1 -0
  110. package/dist/commands/plans/get-pay-as-you-go-credits-config.js +25 -0
  111. package/dist/commands/plans/get-pay-as-you-go-credits-config.js.map +1 -0
  112. package/dist/commands/plans/get-pay-as-you-go-price-config.d.ts +18 -0
  113. package/dist/commands/plans/get-pay-as-you-go-price-config.d.ts.map +1 -0
  114. package/dist/commands/plans/get-pay-as-you-go-price-config.js +35 -0
  115. package/dist/commands/plans/get-pay-as-you-go-price-config.js.map +1 -0
  116. package/dist/commands/plans/get-plan-balance.d.ts +19 -0
  117. package/dist/commands/plans/get-plan-balance.d.ts.map +1 -0
  118. package/dist/commands/plans/get-plan-balance.js +36 -0
  119. package/dist/commands/plans/get-plan-balance.js.map +1 -0
  120. package/dist/commands/plans/get-plan.d.ts +18 -0
  121. package/dist/commands/plans/get-plan.d.ts.map +1 -0
  122. package/dist/commands/plans/get-plan.js +32 -0
  123. package/dist/commands/plans/get-plan.js.map +1 -0
  124. package/dist/commands/plans/get-plans.d.ts +19 -0
  125. package/dist/commands/plans/get-plans.d.ts.map +1 -0
  126. package/dist/commands/plans/get-plans.js +30 -0
  127. package/dist/commands/plans/get-plans.js.map +1 -0
  128. package/dist/commands/plans/mint-plan-credits.d.ts +20 -0
  129. package/dist/commands/plans/mint-plan-credits.d.ts.map +1 -0
  130. package/dist/commands/plans/mint-plan-credits.js +37 -0
  131. package/dist/commands/plans/mint-plan-credits.js.map +1 -0
  132. package/dist/commands/plans/mint-plan-expirable.d.ts +21 -0
  133. package/dist/commands/plans/mint-plan-expirable.d.ts.map +1 -0
  134. package/dist/commands/plans/mint-plan-expirable.js +38 -0
  135. package/dist/commands/plans/mint-plan-expirable.js.map +1 -0
  136. package/dist/commands/plans/order-fiat-plan.d.ts +18 -0
  137. package/dist/commands/plans/order-fiat-plan.d.ts.map +1 -0
  138. package/dist/commands/plans/order-fiat-plan.js +32 -0
  139. package/dist/commands/plans/order-fiat-plan.js.map +1 -0
  140. package/dist/commands/plans/order-plan.d.ts +18 -0
  141. package/dist/commands/plans/order-plan.d.ts.map +1 -0
  142. package/dist/commands/plans/order-plan.js +32 -0
  143. package/dist/commands/plans/order-plan.js.map +1 -0
  144. package/dist/commands/plans/redeem-credits.d.ts +21 -0
  145. package/dist/commands/plans/redeem-credits.d.ts.map +1 -0
  146. package/dist/commands/plans/redeem-credits.js +38 -0
  147. package/dist/commands/plans/redeem-credits.js.map +1 -0
  148. package/dist/commands/plans/register-credits-plan.d.ts +18 -0
  149. package/dist/commands/plans/register-credits-plan.d.ts.map +1 -0
  150. package/dist/commands/plans/register-credits-plan.js +38 -0
  151. package/dist/commands/plans/register-credits-plan.js.map +1 -0
  152. package/dist/commands/plans/register-credits-trial-plan.d.ts +18 -0
  153. package/dist/commands/plans/register-credits-trial-plan.d.ts.map +1 -0
  154. package/dist/commands/plans/register-credits-trial-plan.js +38 -0
  155. package/dist/commands/plans/register-credits-trial-plan.js.map +1 -0
  156. package/dist/commands/plans/register-plan.d.ts +20 -0
  157. package/dist/commands/plans/register-plan.d.ts.map +1 -0
  158. package/dist/commands/plans/register-plan.js +40 -0
  159. package/dist/commands/plans/register-plan.js.map +1 -0
  160. package/dist/commands/plans/register-time-plan.d.ts +18 -0
  161. package/dist/commands/plans/register-time-plan.d.ts.map +1 -0
  162. package/dist/commands/plans/register-time-plan.js +38 -0
  163. package/dist/commands/plans/register-time-plan.js.map +1 -0
  164. package/dist/commands/plans/register-time-trial-plan.d.ts +18 -0
  165. package/dist/commands/plans/register-time-trial-plan.d.ts.map +1 -0
  166. package/dist/commands/plans/register-time-trial-plan.js +38 -0
  167. package/dist/commands/plans/register-time-trial-plan.js.map +1 -0
  168. package/dist/commands/plans/set-proof-required.d.ts +17 -0
  169. package/dist/commands/plans/set-proof-required.d.ts.map +1 -0
  170. package/dist/commands/plans/set-proof-required.js +31 -0
  171. package/dist/commands/plans/set-proof-required.js.map +1 -0
  172. package/dist/commands/plans/set-redemption-type.d.ts +17 -0
  173. package/dist/commands/plans/set-redemption-type.d.ts.map +1 -0
  174. package/dist/commands/plans/set-redemption-type.js +31 -0
  175. package/dist/commands/plans/set-redemption-type.js.map +1 -0
  176. package/dist/commands/x402token/get-x402-access-token.d.ts +22 -0
  177. package/dist/commands/x402token/get-x402-access-token.d.ts.map +1 -0
  178. package/dist/commands/x402token/get-x402-access-token.js +36 -0
  179. package/dist/commands/x402token/get-x402-access-token.js.map +1 -0
  180. package/dist/generator/api-scanner.d.ts +63 -0
  181. package/dist/generator/api-scanner.d.ts.map +1 -0
  182. package/dist/generator/api-scanner.js +228 -0
  183. package/dist/generator/api-scanner.js.map +1 -0
  184. package/dist/generator/command-generator.d.ts +91 -0
  185. package/dist/generator/command-generator.d.ts.map +1 -0
  186. package/dist/generator/command-generator.js +334 -0
  187. package/dist/generator/command-generator.js.map +1 -0
  188. package/dist/generator/generate.d.ts +7 -0
  189. package/dist/generator/generate.d.ts.map +1 -0
  190. package/dist/generator/generate.js +70 -0
  191. package/dist/generator/generate.js.map +1 -0
  192. package/dist/generator/sync-check.d.ts +7 -0
  193. package/dist/generator/sync-check.d.ts.map +1 -0
  194. package/dist/generator/sync-check.js +115 -0
  195. package/dist/generator/sync-check.js.map +1 -0
  196. package/dist/index.d.ts +2 -0
  197. package/dist/index.d.ts.map +1 -0
  198. package/dist/index.js +2 -0
  199. package/dist/index.js.map +1 -0
  200. package/dist/utils/config-manager.d.ts +27 -0
  201. package/dist/utils/config-manager.d.ts.map +1 -0
  202. package/dist/utils/config-manager.js +120 -0
  203. package/dist/utils/config-manager.js.map +1 -0
  204. package/dist/utils/output-formatter.d.ts +46 -0
  205. package/dist/utils/output-formatter.d.ts.map +1 -0
  206. package/dist/utils/output-formatter.js +113 -0
  207. package/dist/utils/output-formatter.js.map +1 -0
  208. package/oclif.manifest.json +3136 -0
  209. package/package.json +111 -0
@@ -0,0 +1,3136 @@
1
+ {
2
+ "commands": {
3
+ "agents:add-plan-to-agent": {
4
+ "aliases": [],
5
+ "args": {
6
+ "plan": {
7
+ "description": "plan identifier",
8
+ "name": "plan",
9
+ "required": true
10
+ }
11
+ },
12
+ "description": "Adds an existing Payment Plan to an AI Agent. After this operation, users with access to the Payment Plan will be able to access the AI Agent.",
13
+ "examples": [
14
+ "$ nvm agents add-plan-to-agent <planId>"
15
+ ],
16
+ "flags": {
17
+ "profile": {
18
+ "char": "p",
19
+ "description": "Configuration profile to use",
20
+ "name": "profile",
21
+ "required": false,
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
25
+ },
26
+ "format": {
27
+ "char": "f",
28
+ "description": "Output format",
29
+ "name": "format",
30
+ "default": "table",
31
+ "hasDynamicHelp": false,
32
+ "multiple": false,
33
+ "options": [
34
+ "table",
35
+ "json",
36
+ "quiet"
37
+ ],
38
+ "type": "option"
39
+ },
40
+ "verbose": {
41
+ "char": "v",
42
+ "description": "Verbose output",
43
+ "name": "verbose",
44
+ "allowNo": false,
45
+ "type": "boolean"
46
+ },
47
+ "agent-id": {
48
+ "name": "agent-id",
49
+ "required": true,
50
+ "hasDynamicHelp": false,
51
+ "multiple": false,
52
+ "type": "option"
53
+ }
54
+ },
55
+ "hasDynamicHelp": false,
56
+ "hiddenAliases": [],
57
+ "id": "agents:add-plan-to-agent",
58
+ "pluginAlias": "@nevermined-io/cli",
59
+ "pluginName": "@nevermined-io/cli",
60
+ "pluginType": "core",
61
+ "strict": true,
62
+ "enableJsonFlag": false,
63
+ "isESM": true,
64
+ "relativePath": [
65
+ "dist",
66
+ "commands",
67
+ "agents",
68
+ "add-plan-to-agent.js"
69
+ ]
70
+ },
71
+ "agents:get-agent-plans": {
72
+ "aliases": [],
73
+ "args": {
74
+ "agent": {
75
+ "description": "agent identifier",
76
+ "name": "agent",
77
+ "required": true
78
+ }
79
+ },
80
+ "description": "Gets the list of plans that can be ordered to get access to an agent.",
81
+ "examples": [
82
+ "$ nvm agents get-agent-plans <agentId>"
83
+ ],
84
+ "flags": {
85
+ "profile": {
86
+ "char": "p",
87
+ "description": "Configuration profile to use",
88
+ "name": "profile",
89
+ "required": false,
90
+ "hasDynamicHelp": false,
91
+ "multiple": false,
92
+ "type": "option"
93
+ },
94
+ "format": {
95
+ "char": "f",
96
+ "description": "Output format",
97
+ "name": "format",
98
+ "default": "table",
99
+ "hasDynamicHelp": false,
100
+ "multiple": false,
101
+ "options": [
102
+ "table",
103
+ "json",
104
+ "quiet"
105
+ ],
106
+ "type": "option"
107
+ },
108
+ "verbose": {
109
+ "char": "v",
110
+ "description": "Verbose output",
111
+ "name": "verbose",
112
+ "allowNo": false,
113
+ "type": "boolean"
114
+ },
115
+ "pagination": {
116
+ "description": "pagination as JSON string",
117
+ "name": "pagination",
118
+ "required": false,
119
+ "hasDynamicHelp": false,
120
+ "multiple": false,
121
+ "type": "option"
122
+ }
123
+ },
124
+ "hasDynamicHelp": false,
125
+ "hiddenAliases": [],
126
+ "id": "agents:get-agent-plans",
127
+ "pluginAlias": "@nevermined-io/cli",
128
+ "pluginName": "@nevermined-io/cli",
129
+ "pluginType": "core",
130
+ "strict": true,
131
+ "enableJsonFlag": false,
132
+ "isESM": true,
133
+ "relativePath": [
134
+ "dist",
135
+ "commands",
136
+ "agents",
137
+ "get-agent-plans.js"
138
+ ]
139
+ },
140
+ "agents:get-agent": {
141
+ "aliases": [],
142
+ "args": {
143
+ "agent": {
144
+ "description": "agent identifier",
145
+ "name": "agent",
146
+ "required": true
147
+ }
148
+ },
149
+ "description": "Gets the metadata for a given Agent identifier.",
150
+ "examples": [
151
+ "$ nvm agents get-agent <agentId>"
152
+ ],
153
+ "flags": {
154
+ "profile": {
155
+ "char": "p",
156
+ "description": "Configuration profile to use",
157
+ "name": "profile",
158
+ "required": false,
159
+ "hasDynamicHelp": false,
160
+ "multiple": false,
161
+ "type": "option"
162
+ },
163
+ "format": {
164
+ "char": "f",
165
+ "description": "Output format",
166
+ "name": "format",
167
+ "default": "table",
168
+ "hasDynamicHelp": false,
169
+ "multiple": false,
170
+ "options": [
171
+ "table",
172
+ "json",
173
+ "quiet"
174
+ ],
175
+ "type": "option"
176
+ },
177
+ "verbose": {
178
+ "char": "v",
179
+ "description": "Verbose output",
180
+ "name": "verbose",
181
+ "allowNo": false,
182
+ "type": "boolean"
183
+ }
184
+ },
185
+ "hasDynamicHelp": false,
186
+ "hiddenAliases": [],
187
+ "id": "agents:get-agent",
188
+ "pluginAlias": "@nevermined-io/cli",
189
+ "pluginName": "@nevermined-io/cli",
190
+ "pluginType": "core",
191
+ "strict": true,
192
+ "enableJsonFlag": false,
193
+ "isESM": true,
194
+ "relativePath": [
195
+ "dist",
196
+ "commands",
197
+ "agents",
198
+ "get-agent.js"
199
+ ]
200
+ },
201
+ "agents:register-agent-and-plan": {
202
+ "aliases": [],
203
+ "args": {},
204
+ "description": "It registers a new AI Agent and a Payment Plan associated to this new agent. Depending on the Payment Plan and the configuration of the agent, the usage of the agent/service will consume credits. When the plan expires (because the time is over or the credits are consumed), the user needs to renew the plan to continue using the agent.",
205
+ "examples": [
206
+ "$ nvm agents register-agent-and-plan"
207
+ ],
208
+ "flags": {
209
+ "profile": {
210
+ "char": "p",
211
+ "description": "Configuration profile to use",
212
+ "name": "profile",
213
+ "required": false,
214
+ "hasDynamicHelp": false,
215
+ "multiple": false,
216
+ "type": "option"
217
+ },
218
+ "format": {
219
+ "char": "f",
220
+ "description": "Output format",
221
+ "name": "format",
222
+ "default": "table",
223
+ "hasDynamicHelp": false,
224
+ "multiple": false,
225
+ "options": [
226
+ "table",
227
+ "json",
228
+ "quiet"
229
+ ],
230
+ "type": "option"
231
+ },
232
+ "verbose": {
233
+ "char": "v",
234
+ "description": "Verbose output",
235
+ "name": "verbose",
236
+ "allowNo": false,
237
+ "type": "boolean"
238
+ },
239
+ "agent-metadata": {
240
+ "description": "agentMetadata as JSON string",
241
+ "name": "agent-metadata",
242
+ "required": true,
243
+ "hasDynamicHelp": false,
244
+ "multiple": false,
245
+ "type": "option"
246
+ },
247
+ "agent-api": {
248
+ "name": "agent-api",
249
+ "required": true,
250
+ "hasDynamicHelp": false,
251
+ "multiple": false,
252
+ "type": "option"
253
+ },
254
+ "plan-metadata": {
255
+ "description": "planMetadata as JSON string",
256
+ "name": "plan-metadata",
257
+ "required": true,
258
+ "hasDynamicHelp": false,
259
+ "multiple": false,
260
+ "type": "option"
261
+ },
262
+ "price-config": {
263
+ "description": "priceConfig as JSON string",
264
+ "name": "price-config",
265
+ "required": true,
266
+ "hasDynamicHelp": false,
267
+ "multiple": false,
268
+ "type": "option"
269
+ },
270
+ "credits-config": {
271
+ "description": "creditsConfig as JSON string",
272
+ "name": "credits-config",
273
+ "required": true,
274
+ "hasDynamicHelp": false,
275
+ "multiple": false,
276
+ "type": "option"
277
+ },
278
+ "access-limit": {
279
+ "name": "access-limit",
280
+ "required": false,
281
+ "hasDynamicHelp": false,
282
+ "multiple": false,
283
+ "type": "option"
284
+ }
285
+ },
286
+ "hasDynamicHelp": false,
287
+ "hiddenAliases": [],
288
+ "id": "agents:register-agent-and-plan",
289
+ "pluginAlias": "@nevermined-io/cli",
290
+ "pluginName": "@nevermined-io/cli",
291
+ "pluginType": "core",
292
+ "strict": true,
293
+ "enableJsonFlag": false,
294
+ "isESM": true,
295
+ "relativePath": [
296
+ "dist",
297
+ "commands",
298
+ "agents",
299
+ "register-agent-and-plan.js"
300
+ ]
301
+ },
302
+ "agents:register-agent": {
303
+ "aliases": [],
304
+ "args": {},
305
+ "description": "It registers a new AI Agent on Nevermined. The agent must be associated to one or multiple Payment Plans. Users that are subscribers of a payment plan can query the agent. Depending on the Payment Plan and the configuration of the agent, the usage of the agent/service will consume credits. When the plan expires (because the time is over or the credits are consumed), the user needs to renew the plan to continue using the agent.",
306
+ "examples": [
307
+ "$ nvm agents register-agent"
308
+ ],
309
+ "flags": {
310
+ "profile": {
311
+ "char": "p",
312
+ "description": "Configuration profile to use",
313
+ "name": "profile",
314
+ "required": false,
315
+ "hasDynamicHelp": false,
316
+ "multiple": false,
317
+ "type": "option"
318
+ },
319
+ "format": {
320
+ "char": "f",
321
+ "description": "Output format",
322
+ "name": "format",
323
+ "default": "table",
324
+ "hasDynamicHelp": false,
325
+ "multiple": false,
326
+ "options": [
327
+ "table",
328
+ "json",
329
+ "quiet"
330
+ ],
331
+ "type": "option"
332
+ },
333
+ "verbose": {
334
+ "char": "v",
335
+ "description": "Verbose output",
336
+ "name": "verbose",
337
+ "allowNo": false,
338
+ "type": "boolean"
339
+ },
340
+ "agent-metadata": {
341
+ "description": "agentMetadata as JSON string",
342
+ "name": "agent-metadata",
343
+ "required": true,
344
+ "hasDynamicHelp": false,
345
+ "multiple": false,
346
+ "type": "option"
347
+ },
348
+ "agent-api": {
349
+ "name": "agent-api",
350
+ "required": true,
351
+ "hasDynamicHelp": false,
352
+ "multiple": false,
353
+ "type": "option"
354
+ },
355
+ "payment-plans": {
356
+ "name": "payment-plans",
357
+ "required": true,
358
+ "hasDynamicHelp": false,
359
+ "multiple": false,
360
+ "type": "option"
361
+ }
362
+ },
363
+ "hasDynamicHelp": false,
364
+ "hiddenAliases": [],
365
+ "id": "agents:register-agent",
366
+ "pluginAlias": "@nevermined-io/cli",
367
+ "pluginName": "@nevermined-io/cli",
368
+ "pluginType": "core",
369
+ "strict": true,
370
+ "enableJsonFlag": false,
371
+ "isESM": true,
372
+ "relativePath": [
373
+ "dist",
374
+ "commands",
375
+ "agents",
376
+ "register-agent.js"
377
+ ]
378
+ },
379
+ "agents:remove-plan-from-agent": {
380
+ "aliases": [],
381
+ "args": {
382
+ "plan": {
383
+ "description": "plan identifier",
384
+ "name": "plan",
385
+ "required": true
386
+ }
387
+ },
388
+ "description": "Removes a Payment Plan from an AI Agent. After this operation, users with access to the Payment Plan will no longer be able to access the AI Agent.",
389
+ "examples": [
390
+ "$ nvm agents remove-plan-from-agent <planId>"
391
+ ],
392
+ "flags": {
393
+ "profile": {
394
+ "char": "p",
395
+ "description": "Configuration profile to use",
396
+ "name": "profile",
397
+ "required": false,
398
+ "hasDynamicHelp": false,
399
+ "multiple": false,
400
+ "type": "option"
401
+ },
402
+ "format": {
403
+ "char": "f",
404
+ "description": "Output format",
405
+ "name": "format",
406
+ "default": "table",
407
+ "hasDynamicHelp": false,
408
+ "multiple": false,
409
+ "options": [
410
+ "table",
411
+ "json",
412
+ "quiet"
413
+ ],
414
+ "type": "option"
415
+ },
416
+ "verbose": {
417
+ "char": "v",
418
+ "description": "Verbose output",
419
+ "name": "verbose",
420
+ "allowNo": false,
421
+ "type": "boolean"
422
+ },
423
+ "agent-id": {
424
+ "name": "agent-id",
425
+ "required": true,
426
+ "hasDynamicHelp": false,
427
+ "multiple": false,
428
+ "type": "option"
429
+ }
430
+ },
431
+ "hasDynamicHelp": false,
432
+ "hiddenAliases": [],
433
+ "id": "agents:remove-plan-from-agent",
434
+ "pluginAlias": "@nevermined-io/cli",
435
+ "pluginName": "@nevermined-io/cli",
436
+ "pluginType": "core",
437
+ "strict": true,
438
+ "enableJsonFlag": false,
439
+ "isESM": true,
440
+ "relativePath": [
441
+ "dist",
442
+ "commands",
443
+ "agents",
444
+ "remove-plan-from-agent.js"
445
+ ]
446
+ },
447
+ "agents:update-agent-metadata": {
448
+ "aliases": [],
449
+ "args": {
450
+ "agent": {
451
+ "description": "agent identifier",
452
+ "name": "agent",
453
+ "required": true
454
+ }
455
+ },
456
+ "description": "Updates the metadata and API attributes of an existing AI Agent.",
457
+ "examples": [
458
+ "$ nvm agents update-agent-metadata <agentId>"
459
+ ],
460
+ "flags": {
461
+ "profile": {
462
+ "char": "p",
463
+ "description": "Configuration profile to use",
464
+ "name": "profile",
465
+ "required": false,
466
+ "hasDynamicHelp": false,
467
+ "multiple": false,
468
+ "type": "option"
469
+ },
470
+ "format": {
471
+ "char": "f",
472
+ "description": "Output format",
473
+ "name": "format",
474
+ "default": "table",
475
+ "hasDynamicHelp": false,
476
+ "multiple": false,
477
+ "options": [
478
+ "table",
479
+ "json",
480
+ "quiet"
481
+ ],
482
+ "type": "option"
483
+ },
484
+ "verbose": {
485
+ "char": "v",
486
+ "description": "Verbose output",
487
+ "name": "verbose",
488
+ "allowNo": false,
489
+ "type": "boolean"
490
+ },
491
+ "agent-metadata": {
492
+ "description": "agentMetadata as JSON string",
493
+ "name": "agent-metadata",
494
+ "required": true,
495
+ "hasDynamicHelp": false,
496
+ "multiple": false,
497
+ "type": "option"
498
+ },
499
+ "agent-api": {
500
+ "name": "agent-api",
501
+ "required": true,
502
+ "hasDynamicHelp": false,
503
+ "multiple": false,
504
+ "type": "option"
505
+ }
506
+ },
507
+ "hasDynamicHelp": false,
508
+ "hiddenAliases": [],
509
+ "id": "agents:update-agent-metadata",
510
+ "pluginAlias": "@nevermined-io/cli",
511
+ "pluginName": "@nevermined-io/cli",
512
+ "pluginType": "core",
513
+ "strict": true,
514
+ "enableJsonFlag": false,
515
+ "isESM": true,
516
+ "relativePath": [
517
+ "dist",
518
+ "commands",
519
+ "agents",
520
+ "update-agent-metadata.js"
521
+ ]
522
+ },
523
+ "config:init": {
524
+ "aliases": [],
525
+ "args": {},
526
+ "description": "Initialize CLI configuration",
527
+ "examples": [
528
+ "<%= config.bin %> <%= command.id %>",
529
+ "<%= config.bin %> <%= command.id %> --profile production"
530
+ ],
531
+ "flags": {
532
+ "profile": {
533
+ "char": "p",
534
+ "description": "Configuration profile to use",
535
+ "name": "profile",
536
+ "required": false,
537
+ "hasDynamicHelp": false,
538
+ "multiple": false,
539
+ "type": "option"
540
+ },
541
+ "format": {
542
+ "char": "f",
543
+ "description": "Output format",
544
+ "name": "format",
545
+ "default": "table",
546
+ "hasDynamicHelp": false,
547
+ "multiple": false,
548
+ "options": [
549
+ "table",
550
+ "json",
551
+ "quiet"
552
+ ],
553
+ "type": "option"
554
+ },
555
+ "verbose": {
556
+ "char": "v",
557
+ "description": "Verbose output",
558
+ "name": "verbose",
559
+ "allowNo": false,
560
+ "type": "boolean"
561
+ },
562
+ "api-key": {
563
+ "description": "Nevermined API key",
564
+ "name": "api-key",
565
+ "required": false,
566
+ "hasDynamicHelp": false,
567
+ "multiple": false,
568
+ "type": "option"
569
+ },
570
+ "environment": {
571
+ "description": "Environment to use",
572
+ "name": "environment",
573
+ "required": false,
574
+ "hasDynamicHelp": false,
575
+ "multiple": false,
576
+ "options": [
577
+ "staging_sandbox",
578
+ "staging_live",
579
+ "sandbox",
580
+ "live",
581
+ "custom"
582
+ ],
583
+ "type": "option"
584
+ },
585
+ "interactive": {
586
+ "char": "i",
587
+ "description": "Interactive mode",
588
+ "name": "interactive",
589
+ "allowNo": false,
590
+ "type": "boolean"
591
+ }
592
+ },
593
+ "hasDynamicHelp": false,
594
+ "hiddenAliases": [],
595
+ "id": "config:init",
596
+ "pluginAlias": "@nevermined-io/cli",
597
+ "pluginName": "@nevermined-io/cli",
598
+ "pluginType": "core",
599
+ "strict": true,
600
+ "enableJsonFlag": false,
601
+ "isESM": true,
602
+ "relativePath": [
603
+ "dist",
604
+ "commands",
605
+ "config",
606
+ "init.js"
607
+ ]
608
+ },
609
+ "config:set": {
610
+ "aliases": [],
611
+ "args": {
612
+ "key": {
613
+ "description": "Configuration key (nvmApiKey, environment)",
614
+ "name": "key",
615
+ "options": [
616
+ "nvmApiKey",
617
+ "environment"
618
+ ],
619
+ "required": true
620
+ },
621
+ "value": {
622
+ "description": "Configuration value",
623
+ "name": "value",
624
+ "required": true
625
+ }
626
+ },
627
+ "description": "Set a configuration value",
628
+ "examples": [
629
+ "<%= config.bin %> <%= command.id %> nvmApiKey nvm-xxx",
630
+ "<%= config.bin %> <%= command.id %> environment arbitrum-one",
631
+ "<%= config.bin %> <%= command.id %> nvmApiKey nvm-yyy --profile production"
632
+ ],
633
+ "flags": {
634
+ "profile": {
635
+ "char": "p",
636
+ "description": "Configuration profile to use",
637
+ "name": "profile",
638
+ "required": false,
639
+ "hasDynamicHelp": false,
640
+ "multiple": false,
641
+ "type": "option"
642
+ },
643
+ "format": {
644
+ "char": "f",
645
+ "description": "Output format",
646
+ "name": "format",
647
+ "default": "table",
648
+ "hasDynamicHelp": false,
649
+ "multiple": false,
650
+ "options": [
651
+ "table",
652
+ "json",
653
+ "quiet"
654
+ ],
655
+ "type": "option"
656
+ },
657
+ "verbose": {
658
+ "char": "v",
659
+ "description": "Verbose output",
660
+ "name": "verbose",
661
+ "allowNo": false,
662
+ "type": "boolean"
663
+ }
664
+ },
665
+ "hasDynamicHelp": false,
666
+ "hiddenAliases": [],
667
+ "id": "config:set",
668
+ "pluginAlias": "@nevermined-io/cli",
669
+ "pluginName": "@nevermined-io/cli",
670
+ "pluginType": "core",
671
+ "strict": true,
672
+ "enableJsonFlag": false,
673
+ "isESM": true,
674
+ "relativePath": [
675
+ "dist",
676
+ "commands",
677
+ "config",
678
+ "set.js"
679
+ ]
680
+ },
681
+ "config:show": {
682
+ "aliases": [],
683
+ "args": {},
684
+ "description": "Display current configuration",
685
+ "examples": [
686
+ "<%= config.bin %> <%= command.id %>",
687
+ "<%= config.bin %> <%= command.id %> --profile production",
688
+ "<%= config.bin %> <%= command.id %> --all"
689
+ ],
690
+ "flags": {
691
+ "profile": {
692
+ "char": "p",
693
+ "description": "Configuration profile to use",
694
+ "name": "profile",
695
+ "required": false,
696
+ "hasDynamicHelp": false,
697
+ "multiple": false,
698
+ "type": "option"
699
+ },
700
+ "format": {
701
+ "char": "f",
702
+ "description": "Output format",
703
+ "name": "format",
704
+ "default": "table",
705
+ "hasDynamicHelp": false,
706
+ "multiple": false,
707
+ "options": [
708
+ "table",
709
+ "json",
710
+ "quiet"
711
+ ],
712
+ "type": "option"
713
+ },
714
+ "verbose": {
715
+ "char": "v",
716
+ "description": "Verbose output",
717
+ "name": "verbose",
718
+ "allowNo": false,
719
+ "type": "boolean"
720
+ },
721
+ "all": {
722
+ "char": "a",
723
+ "description": "Show all profiles",
724
+ "name": "all",
725
+ "allowNo": false,
726
+ "type": "boolean"
727
+ }
728
+ },
729
+ "hasDynamicHelp": false,
730
+ "hiddenAliases": [],
731
+ "id": "config:show",
732
+ "pluginAlias": "@nevermined-io/cli",
733
+ "pluginName": "@nevermined-io/cli",
734
+ "pluginType": "core",
735
+ "strict": true,
736
+ "enableJsonFlag": false,
737
+ "isESM": true,
738
+ "relativePath": [
739
+ "dist",
740
+ "commands",
741
+ "config",
742
+ "show.js"
743
+ ]
744
+ },
745
+ "organizations:connect-stripe-account": {
746
+ "aliases": [],
747
+ "args": {},
748
+ "description": "Connect user with Stripe",
749
+ "examples": [
750
+ "$ nvm organizations connect-stripe-account"
751
+ ],
752
+ "flags": {
753
+ "profile": {
754
+ "char": "p",
755
+ "description": "Configuration profile to use",
756
+ "name": "profile",
757
+ "required": false,
758
+ "hasDynamicHelp": false,
759
+ "multiple": false,
760
+ "type": "option"
761
+ },
762
+ "format": {
763
+ "char": "f",
764
+ "description": "Output format",
765
+ "name": "format",
766
+ "default": "table",
767
+ "hasDynamicHelp": false,
768
+ "multiple": false,
769
+ "options": [
770
+ "table",
771
+ "json",
772
+ "quiet"
773
+ ],
774
+ "type": "option"
775
+ },
776
+ "verbose": {
777
+ "char": "v",
778
+ "description": "Verbose output",
779
+ "name": "verbose",
780
+ "allowNo": false,
781
+ "type": "boolean"
782
+ },
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",
799
+ "required": true,
800
+ "hasDynamicHelp": false,
801
+ "multiple": false,
802
+ "type": "option"
803
+ }
804
+ },
805
+ "hasDynamicHelp": false,
806
+ "hiddenAliases": [],
807
+ "id": "organizations:connect-stripe-account",
808
+ "pluginAlias": "@nevermined-io/cli",
809
+ "pluginName": "@nevermined-io/cli",
810
+ "pluginType": "core",
811
+ "strict": true,
812
+ "enableJsonFlag": false,
813
+ "isESM": true,
814
+ "relativePath": [
815
+ "dist",
816
+ "commands",
817
+ "organizations",
818
+ "connect-stripe-account.js"
819
+ ]
820
+ },
821
+ "organizations:create-member": {
822
+ "aliases": [],
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",
831
+ "examples": [
832
+ "$ nvm organizations create-member <userId>"
833
+ ],
834
+ "flags": {
835
+ "profile": {
836
+ "char": "p",
837
+ "description": "Configuration profile to use",
838
+ "name": "profile",
839
+ "required": false,
840
+ "hasDynamicHelp": false,
841
+ "multiple": false,
842
+ "type": "option"
843
+ },
844
+ "format": {
845
+ "char": "f",
846
+ "description": "Output format",
847
+ "name": "format",
848
+ "default": "table",
849
+ "hasDynamicHelp": false,
850
+ "multiple": false,
851
+ "options": [
852
+ "table",
853
+ "json",
854
+ "quiet"
855
+ ],
856
+ "type": "option"
857
+ },
858
+ "verbose": {
859
+ "char": "v",
860
+ "description": "Verbose output",
861
+ "name": "verbose",
862
+ "allowNo": false,
863
+ "type": "boolean"
864
+ },
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,
875
+ "hasDynamicHelp": false,
876
+ "multiple": false,
877
+ "type": "option"
878
+ }
879
+ },
880
+ "hasDynamicHelp": false,
881
+ "hiddenAliases": [],
882
+ "id": "organizations:create-member",
883
+ "pluginAlias": "@nevermined-io/cli",
884
+ "pluginName": "@nevermined-io/cli",
885
+ "pluginType": "core",
886
+ "strict": true,
887
+ "enableJsonFlag": false,
888
+ "isESM": true,
889
+ "relativePath": [
890
+ "dist",
891
+ "commands",
892
+ "organizations",
893
+ "create-member.js"
894
+ ]
895
+ },
896
+ "organizations:get-members": {
897
+ "aliases": [],
898
+ "args": {},
899
+ "description": "OrganizationsAPI getMembers",
900
+ "examples": [
901
+ "$ nvm organizations get-members"
902
+ ],
903
+ "flags": {
904
+ "profile": {
905
+ "char": "p",
906
+ "description": "Configuration profile to use",
907
+ "name": "profile",
908
+ "required": false,
909
+ "hasDynamicHelp": false,
910
+ "multiple": false,
911
+ "type": "option"
912
+ },
913
+ "format": {
914
+ "char": "f",
915
+ "description": "Output format",
916
+ "name": "format",
917
+ "default": "table",
918
+ "hasDynamicHelp": false,
919
+ "multiple": false,
920
+ "options": [
921
+ "table",
922
+ "json",
923
+ "quiet"
924
+ ],
925
+ "type": "option"
926
+ },
927
+ "verbose": {
928
+ "char": "v",
929
+ "description": "Verbose output",
930
+ "name": "verbose",
931
+ "allowNo": false,
932
+ "type": "boolean"
933
+ },
934
+ "role": {
935
+ "name": "role",
936
+ "required": false,
937
+ "hasDynamicHelp": false,
938
+ "multiple": false,
939
+ "type": "option"
940
+ },
941
+ "is-active": {
942
+ "name": "is-active",
943
+ "required": false,
944
+ "hasDynamicHelp": false,
945
+ "multiple": false,
946
+ "type": "option"
947
+ },
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,
958
+ "hasDynamicHelp": false,
959
+ "multiple": false,
960
+ "type": "option"
961
+ }
962
+ },
963
+ "hasDynamicHelp": false,
964
+ "hiddenAliases": [],
965
+ "id": "organizations:get-members",
966
+ "pluginAlias": "@nevermined-io/cli",
967
+ "pluginName": "@nevermined-io/cli",
968
+ "pluginType": "core",
969
+ "strict": true,
970
+ "enableJsonFlag": false,
971
+ "isESM": true,
972
+ "relativePath": [
973
+ "dist",
974
+ "commands",
975
+ "organizations",
976
+ "get-members.js"
977
+ ]
978
+ },
979
+ "facilitator:settle-permissions": {
980
+ "aliases": [],
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.",
983
+ "examples": [
984
+ "$ nvm facilitator settle-permissions"
985
+ ],
986
+ "flags": {
987
+ "profile": {
988
+ "char": "p",
989
+ "description": "Configuration profile to use",
990
+ "name": "profile",
991
+ "required": false,
992
+ "hasDynamicHelp": false,
993
+ "multiple": false,
994
+ "type": "option"
995
+ },
996
+ "format": {
997
+ "char": "f",
998
+ "description": "Output format",
999
+ "name": "format",
1000
+ "default": "table",
1001
+ "hasDynamicHelp": false,
1002
+ "multiple": false,
1003
+ "options": [
1004
+ "table",
1005
+ "json",
1006
+ "quiet"
1007
+ ],
1008
+ "type": "option"
1009
+ },
1010
+ "verbose": {
1011
+ "char": "v",
1012
+ "description": "Verbose output",
1013
+ "name": "verbose",
1014
+ "allowNo": false,
1015
+ "type": "boolean"
1016
+ },
1017
+ "params": {
1018
+ "description": "params as JSON string",
1019
+ "name": "params",
1020
+ "required": true,
1021
+ "hasDynamicHelp": false,
1022
+ "multiple": false,
1023
+ "type": "option"
1024
+ }
1025
+ },
1026
+ "hasDynamicHelp": false,
1027
+ "hiddenAliases": [],
1028
+ "id": "facilitator:settle-permissions",
1029
+ "pluginAlias": "@nevermined-io/cli",
1030
+ "pluginName": "@nevermined-io/cli",
1031
+ "pluginType": "core",
1032
+ "strict": true,
1033
+ "enableJsonFlag": false,
1034
+ "isESM": true,
1035
+ "relativePath": [
1036
+ "dist",
1037
+ "commands",
1038
+ "facilitator",
1039
+ "settle-permissions.js"
1040
+ ]
1041
+ },
1042
+ "facilitator:verify-permissions": {
1043
+ "aliases": [],
1044
+ "args": {},
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.",
1046
+ "examples": [
1047
+ "$ nvm facilitator verify-permissions"
1048
+ ],
1049
+ "flags": {
1050
+ "profile": {
1051
+ "char": "p",
1052
+ "description": "Configuration profile to use",
1053
+ "name": "profile",
1054
+ "required": false,
1055
+ "hasDynamicHelp": false,
1056
+ "multiple": false,
1057
+ "type": "option"
1058
+ },
1059
+ "format": {
1060
+ "char": "f",
1061
+ "description": "Output format",
1062
+ "name": "format",
1063
+ "default": "table",
1064
+ "hasDynamicHelp": false,
1065
+ "multiple": false,
1066
+ "options": [
1067
+ "table",
1068
+ "json",
1069
+ "quiet"
1070
+ ],
1071
+ "type": "option"
1072
+ },
1073
+ "verbose": {
1074
+ "char": "v",
1075
+ "description": "Verbose output",
1076
+ "name": "verbose",
1077
+ "allowNo": false,
1078
+ "type": "boolean"
1079
+ },
1080
+ "params": {
1081
+ "description": "params as JSON string",
1082
+ "name": "params",
1083
+ "required": true,
1084
+ "hasDynamicHelp": false,
1085
+ "multiple": false,
1086
+ "type": "option"
1087
+ }
1088
+ },
1089
+ "hasDynamicHelp": false,
1090
+ "hiddenAliases": [],
1091
+ "id": "facilitator:verify-permissions",
1092
+ "pluginAlias": "@nevermined-io/cli",
1093
+ "pluginName": "@nevermined-io/cli",
1094
+ "pluginType": "core",
1095
+ "strict": true,
1096
+ "enableJsonFlag": false,
1097
+ "isESM": true,
1098
+ "relativePath": [
1099
+ "dist",
1100
+ "commands",
1101
+ "facilitator",
1102
+ "verify-permissions.js"
1103
+ ]
1104
+ },
1105
+ "x402token:get-x402-access-token": {
1106
+ "aliases": [],
1107
+ "args": {
1108
+ "plan": {
1109
+ "description": "plan identifier",
1110
+ "name": "plan",
1111
+ "required": true
1112
+ }
1113
+ },
1114
+ "description": "Create a permission and get an X402 access token for the given plan. This token allows the agent to verify and settle permissions on behalf of the subscriber. The token contains cryptographically signed session keys that delegate specific permissions (order, burn) to the agent.",
1115
+ "examples": [
1116
+ "$ nvm x402token get-x402-access-token <planId>"
1117
+ ],
1118
+ "flags": {
1119
+ "profile": {
1120
+ "char": "p",
1121
+ "description": "Configuration profile to use",
1122
+ "name": "profile",
1123
+ "required": false,
1124
+ "hasDynamicHelp": false,
1125
+ "multiple": false,
1126
+ "type": "option"
1127
+ },
1128
+ "format": {
1129
+ "char": "f",
1130
+ "description": "Output format",
1131
+ "name": "format",
1132
+ "default": "table",
1133
+ "hasDynamicHelp": false,
1134
+ "multiple": false,
1135
+ "options": [
1136
+ "table",
1137
+ "json",
1138
+ "quiet"
1139
+ ],
1140
+ "type": "option"
1141
+ },
1142
+ "verbose": {
1143
+ "char": "v",
1144
+ "description": "Verbose output",
1145
+ "name": "verbose",
1146
+ "allowNo": false,
1147
+ "type": "boolean"
1148
+ },
1149
+ "agent-id": {
1150
+ "name": "agent-id",
1151
+ "required": false,
1152
+ "hasDynamicHelp": false,
1153
+ "multiple": false,
1154
+ "type": "option"
1155
+ },
1156
+ "redemption-limit": {
1157
+ "name": "redemption-limit",
1158
+ "required": false,
1159
+ "hasDynamicHelp": false,
1160
+ "multiple": false,
1161
+ "type": "option"
1162
+ },
1163
+ "order-limit": {
1164
+ "name": "order-limit",
1165
+ "required": false,
1166
+ "hasDynamicHelp": false,
1167
+ "multiple": false,
1168
+ "type": "option"
1169
+ },
1170
+ "expiration": {
1171
+ "name": "expiration",
1172
+ "required": false,
1173
+ "hasDynamicHelp": false,
1174
+ "multiple": false,
1175
+ "type": "option"
1176
+ }
1177
+ },
1178
+ "hasDynamicHelp": false,
1179
+ "hiddenAliases": [],
1180
+ "id": "x402token:get-x402-access-token",
1181
+ "pluginAlias": "@nevermined-io/cli",
1182
+ "pluginName": "@nevermined-io/cli",
1183
+ "pluginType": "core",
1184
+ "strict": true,
1185
+ "enableJsonFlag": false,
1186
+ "isESM": true,
1187
+ "relativePath": [
1188
+ "dist",
1189
+ "commands",
1190
+ "x402token",
1191
+ "get-x402-access-token.js"
1192
+ ]
1193
+ },
1194
+ "plans:get-agents-associated-to-a-plan": {
1195
+ "aliases": [],
1196
+ "args": {
1197
+ "plan": {
1198
+ "description": "plan identifier",
1199
+ "name": "plan",
1200
+ "required": true
1201
+ }
1202
+ },
1203
+ "description": "Gets the list of Agents that have associated a specific Payment Plan. All the agents returned can be accessed by the users that are subscribed to the Payment Plan.",
1204
+ "examples": [
1205
+ "$ nvm plans get-agents-associated-to-a-plan <planId>"
1206
+ ],
1207
+ "flags": {
1208
+ "profile": {
1209
+ "char": "p",
1210
+ "description": "Configuration profile to use",
1211
+ "name": "profile",
1212
+ "required": false,
1213
+ "hasDynamicHelp": false,
1214
+ "multiple": false,
1215
+ "type": "option"
1216
+ },
1217
+ "format": {
1218
+ "char": "f",
1219
+ "description": "Output format",
1220
+ "name": "format",
1221
+ "default": "table",
1222
+ "hasDynamicHelp": false,
1223
+ "multiple": false,
1224
+ "options": [
1225
+ "table",
1226
+ "json",
1227
+ "quiet"
1228
+ ],
1229
+ "type": "option"
1230
+ },
1231
+ "verbose": {
1232
+ "char": "v",
1233
+ "description": "Verbose output",
1234
+ "name": "verbose",
1235
+ "allowNo": false,
1236
+ "type": "boolean"
1237
+ },
1238
+ "pagination": {
1239
+ "description": "pagination as JSON string",
1240
+ "name": "pagination",
1241
+ "required": false,
1242
+ "hasDynamicHelp": false,
1243
+ "multiple": false,
1244
+ "type": "option"
1245
+ }
1246
+ },
1247
+ "hasDynamicHelp": false,
1248
+ "hiddenAliases": [],
1249
+ "id": "plans:get-agents-associated-to-a-plan",
1250
+ "pluginAlias": "@nevermined-io/cli",
1251
+ "pluginName": "@nevermined-io/cli",
1252
+ "pluginType": "core",
1253
+ "strict": true,
1254
+ "enableJsonFlag": false,
1255
+ "isESM": true,
1256
+ "relativePath": [
1257
+ "dist",
1258
+ "commands",
1259
+ "plans",
1260
+ "get-agents-associated-to-a-plan.js"
1261
+ ]
1262
+ },
1263
+ "plans:get-crypto-price-config": {
1264
+ "aliases": [],
1265
+ "args": {},
1266
+ "description": "Builds a crypto price configuration for a plan.",
1267
+ "examples": [
1268
+ "$ nvm plans get-crypto-price-config"
1269
+ ],
1270
+ "flags": {
1271
+ "profile": {
1272
+ "char": "p",
1273
+ "description": "Configuration profile to use",
1274
+ "name": "profile",
1275
+ "required": false,
1276
+ "hasDynamicHelp": false,
1277
+ "multiple": false,
1278
+ "type": "option"
1279
+ },
1280
+ "format": {
1281
+ "char": "f",
1282
+ "description": "Output format",
1283
+ "name": "format",
1284
+ "default": "table",
1285
+ "hasDynamicHelp": false,
1286
+ "multiple": false,
1287
+ "options": [
1288
+ "table",
1289
+ "json",
1290
+ "quiet"
1291
+ ],
1292
+ "type": "option"
1293
+ },
1294
+ "verbose": {
1295
+ "char": "v",
1296
+ "description": "Verbose output",
1297
+ "name": "verbose",
1298
+ "allowNo": false,
1299
+ "type": "boolean"
1300
+ },
1301
+ "amount": {
1302
+ "name": "amount",
1303
+ "required": true,
1304
+ "hasDynamicHelp": false,
1305
+ "multiple": false,
1306
+ "type": "option"
1307
+ },
1308
+ "receiver": {
1309
+ "description": "receiver as JSON string",
1310
+ "name": "receiver",
1311
+ "required": true,
1312
+ "hasDynamicHelp": false,
1313
+ "multiple": false,
1314
+ "type": "option"
1315
+ },
1316
+ "token-address": {
1317
+ "description": "tokenAddress as JSON string",
1318
+ "name": "token-address",
1319
+ "required": false,
1320
+ "hasDynamicHelp": false,
1321
+ "multiple": false,
1322
+ "type": "option"
1323
+ }
1324
+ },
1325
+ "hasDynamicHelp": false,
1326
+ "hiddenAliases": [],
1327
+ "id": "plans:get-crypto-price-config",
1328
+ "pluginAlias": "@nevermined-io/cli",
1329
+ "pluginName": "@nevermined-io/cli",
1330
+ "pluginType": "core",
1331
+ "strict": true,
1332
+ "enableJsonFlag": false,
1333
+ "isESM": true,
1334
+ "relativePath": [
1335
+ "dist",
1336
+ "commands",
1337
+ "plans",
1338
+ "get-crypto-price-config.js"
1339
+ ]
1340
+ },
1341
+ "plans:get-dynamic-credits-config": {
1342
+ "aliases": [],
1343
+ "args": {},
1344
+ "description": "Builds a DYNAMIC credits configuration (range-limited per request).",
1345
+ "examples": [
1346
+ "$ nvm plans get-dynamic-credits-config"
1347
+ ],
1348
+ "flags": {
1349
+ "profile": {
1350
+ "char": "p",
1351
+ "description": "Configuration profile to use",
1352
+ "name": "profile",
1353
+ "required": false,
1354
+ "hasDynamicHelp": false,
1355
+ "multiple": false,
1356
+ "type": "option"
1357
+ },
1358
+ "format": {
1359
+ "char": "f",
1360
+ "description": "Output format",
1361
+ "name": "format",
1362
+ "default": "table",
1363
+ "hasDynamicHelp": false,
1364
+ "multiple": false,
1365
+ "options": [
1366
+ "table",
1367
+ "json",
1368
+ "quiet"
1369
+ ],
1370
+ "type": "option"
1371
+ },
1372
+ "verbose": {
1373
+ "char": "v",
1374
+ "description": "Verbose output",
1375
+ "name": "verbose",
1376
+ "allowNo": false,
1377
+ "type": "boolean"
1378
+ },
1379
+ "credits-granted": {
1380
+ "name": "credits-granted",
1381
+ "required": true,
1382
+ "hasDynamicHelp": false,
1383
+ "multiple": false,
1384
+ "type": "option"
1385
+ },
1386
+ "min-credits-per-request": {
1387
+ "name": "min-credits-per-request",
1388
+ "required": false,
1389
+ "hasDynamicHelp": false,
1390
+ "multiple": false,
1391
+ "type": "option"
1392
+ },
1393
+ "max-credits-per-request": {
1394
+ "name": "max-credits-per-request",
1395
+ "required": false,
1396
+ "hasDynamicHelp": false,
1397
+ "multiple": false,
1398
+ "type": "option"
1399
+ }
1400
+ },
1401
+ "hasDynamicHelp": false,
1402
+ "hiddenAliases": [],
1403
+ "id": "plans:get-dynamic-credits-config",
1404
+ "pluginAlias": "@nevermined-io/cli",
1405
+ "pluginName": "@nevermined-io/cli",
1406
+ "pluginType": "core",
1407
+ "strict": true,
1408
+ "enableJsonFlag": false,
1409
+ "isESM": true,
1410
+ "relativePath": [
1411
+ "dist",
1412
+ "commands",
1413
+ "plans",
1414
+ "get-dynamic-credits-config.js"
1415
+ ]
1416
+ },
1417
+ "plans:get-erc20-price-config": {
1418
+ "aliases": [],
1419
+ "args": {},
1420
+ "description": "Builds an ERC20 price configuration for a plan.",
1421
+ "examples": [
1422
+ "$ nvm plans get-erc20-price-config"
1423
+ ],
1424
+ "flags": {
1425
+ "profile": {
1426
+ "char": "p",
1427
+ "description": "Configuration profile to use",
1428
+ "name": "profile",
1429
+ "required": false,
1430
+ "hasDynamicHelp": false,
1431
+ "multiple": false,
1432
+ "type": "option"
1433
+ },
1434
+ "format": {
1435
+ "char": "f",
1436
+ "description": "Output format",
1437
+ "name": "format",
1438
+ "default": "table",
1439
+ "hasDynamicHelp": false,
1440
+ "multiple": false,
1441
+ "options": [
1442
+ "table",
1443
+ "json",
1444
+ "quiet"
1445
+ ],
1446
+ "type": "option"
1447
+ },
1448
+ "verbose": {
1449
+ "char": "v",
1450
+ "description": "Verbose output",
1451
+ "name": "verbose",
1452
+ "allowNo": false,
1453
+ "type": "boolean"
1454
+ },
1455
+ "amount": {
1456
+ "name": "amount",
1457
+ "required": true,
1458
+ "hasDynamicHelp": false,
1459
+ "multiple": false,
1460
+ "type": "option"
1461
+ },
1462
+ "token-address": {
1463
+ "description": "tokenAddress as JSON string",
1464
+ "name": "token-address",
1465
+ "required": true,
1466
+ "hasDynamicHelp": false,
1467
+ "multiple": false,
1468
+ "type": "option"
1469
+ },
1470
+ "receiver": {
1471
+ "description": "receiver as JSON string",
1472
+ "name": "receiver",
1473
+ "required": true,
1474
+ "hasDynamicHelp": false,
1475
+ "multiple": false,
1476
+ "type": "option"
1477
+ }
1478
+ },
1479
+ "hasDynamicHelp": false,
1480
+ "hiddenAliases": [],
1481
+ "id": "plans:get-erc20-price-config",
1482
+ "pluginAlias": "@nevermined-io/cli",
1483
+ "pluginName": "@nevermined-io/cli",
1484
+ "pluginType": "core",
1485
+ "strict": true,
1486
+ "enableJsonFlag": false,
1487
+ "isESM": true,
1488
+ "relativePath": [
1489
+ "dist",
1490
+ "commands",
1491
+ "plans",
1492
+ "get-erc20-price-config.js"
1493
+ ]
1494
+ },
1495
+ "plans:get-expirable-duration-config": {
1496
+ "aliases": [],
1497
+ "args": {},
1498
+ "description": "Credits helpers",
1499
+ "examples": [
1500
+ "$ nvm plans get-expirable-duration-config"
1501
+ ],
1502
+ "flags": {
1503
+ "profile": {
1504
+ "char": "p",
1505
+ "description": "Configuration profile to use",
1506
+ "name": "profile",
1507
+ "required": false,
1508
+ "hasDynamicHelp": false,
1509
+ "multiple": false,
1510
+ "type": "option"
1511
+ },
1512
+ "format": {
1513
+ "char": "f",
1514
+ "description": "Output format",
1515
+ "name": "format",
1516
+ "default": "table",
1517
+ "hasDynamicHelp": false,
1518
+ "multiple": false,
1519
+ "options": [
1520
+ "table",
1521
+ "json",
1522
+ "quiet"
1523
+ ],
1524
+ "type": "option"
1525
+ },
1526
+ "verbose": {
1527
+ "char": "v",
1528
+ "description": "Verbose output",
1529
+ "name": "verbose",
1530
+ "allowNo": false,
1531
+ "type": "boolean"
1532
+ },
1533
+ "duration-of-plan": {
1534
+ "name": "duration-of-plan",
1535
+ "required": true,
1536
+ "hasDynamicHelp": false,
1537
+ "multiple": false,
1538
+ "type": "option"
1539
+ }
1540
+ },
1541
+ "hasDynamicHelp": false,
1542
+ "hiddenAliases": [],
1543
+ "id": "plans:get-expirable-duration-config",
1544
+ "pluginAlias": "@nevermined-io/cli",
1545
+ "pluginName": "@nevermined-io/cli",
1546
+ "pluginType": "core",
1547
+ "strict": true,
1548
+ "enableJsonFlag": false,
1549
+ "isESM": true,
1550
+ "relativePath": [
1551
+ "dist",
1552
+ "commands",
1553
+ "plans",
1554
+ "get-expirable-duration-config.js"
1555
+ ]
1556
+ },
1557
+ "plans:get-fiat-price-config": {
1558
+ "aliases": [],
1559
+ "args": {},
1560
+ "description": "Price helpers",
1561
+ "examples": [
1562
+ "$ nvm plans get-fiat-price-config"
1563
+ ],
1564
+ "flags": {
1565
+ "profile": {
1566
+ "char": "p",
1567
+ "description": "Configuration profile to use",
1568
+ "name": "profile",
1569
+ "required": false,
1570
+ "hasDynamicHelp": false,
1571
+ "multiple": false,
1572
+ "type": "option"
1573
+ },
1574
+ "format": {
1575
+ "char": "f",
1576
+ "description": "Output format",
1577
+ "name": "format",
1578
+ "default": "table",
1579
+ "hasDynamicHelp": false,
1580
+ "multiple": false,
1581
+ "options": [
1582
+ "table",
1583
+ "json",
1584
+ "quiet"
1585
+ ],
1586
+ "type": "option"
1587
+ },
1588
+ "verbose": {
1589
+ "char": "v",
1590
+ "description": "Verbose output",
1591
+ "name": "verbose",
1592
+ "allowNo": false,
1593
+ "type": "boolean"
1594
+ },
1595
+ "amount": {
1596
+ "name": "amount",
1597
+ "required": true,
1598
+ "hasDynamicHelp": false,
1599
+ "multiple": false,
1600
+ "type": "option"
1601
+ },
1602
+ "receiver": {
1603
+ "description": "receiver as JSON string",
1604
+ "name": "receiver",
1605
+ "required": true,
1606
+ "hasDynamicHelp": false,
1607
+ "multiple": false,
1608
+ "type": "option"
1609
+ }
1610
+ },
1611
+ "hasDynamicHelp": false,
1612
+ "hiddenAliases": [],
1613
+ "id": "plans:get-fiat-price-config",
1614
+ "pluginAlias": "@nevermined-io/cli",
1615
+ "pluginName": "@nevermined-io/cli",
1616
+ "pluginType": "core",
1617
+ "strict": true,
1618
+ "enableJsonFlag": false,
1619
+ "isESM": true,
1620
+ "relativePath": [
1621
+ "dist",
1622
+ "commands",
1623
+ "plans",
1624
+ "get-fiat-price-config.js"
1625
+ ]
1626
+ },
1627
+ "plans:get-fixed-credits-config": {
1628
+ "aliases": [],
1629
+ "args": {},
1630
+ "description": "Builds a FIXED credits configuration.",
1631
+ "examples": [
1632
+ "$ nvm plans get-fixed-credits-config"
1633
+ ],
1634
+ "flags": {
1635
+ "profile": {
1636
+ "char": "p",
1637
+ "description": "Configuration profile to use",
1638
+ "name": "profile",
1639
+ "required": false,
1640
+ "hasDynamicHelp": false,
1641
+ "multiple": false,
1642
+ "type": "option"
1643
+ },
1644
+ "format": {
1645
+ "char": "f",
1646
+ "description": "Output format",
1647
+ "name": "format",
1648
+ "default": "table",
1649
+ "hasDynamicHelp": false,
1650
+ "multiple": false,
1651
+ "options": [
1652
+ "table",
1653
+ "json",
1654
+ "quiet"
1655
+ ],
1656
+ "type": "option"
1657
+ },
1658
+ "verbose": {
1659
+ "char": "v",
1660
+ "description": "Verbose output",
1661
+ "name": "verbose",
1662
+ "allowNo": false,
1663
+ "type": "boolean"
1664
+ },
1665
+ "credits-granted": {
1666
+ "name": "credits-granted",
1667
+ "required": true,
1668
+ "hasDynamicHelp": false,
1669
+ "multiple": false,
1670
+ "type": "option"
1671
+ },
1672
+ "credits-per-request": {
1673
+ "name": "credits-per-request",
1674
+ "required": false,
1675
+ "hasDynamicHelp": false,
1676
+ "multiple": false,
1677
+ "type": "option"
1678
+ }
1679
+ },
1680
+ "hasDynamicHelp": false,
1681
+ "hiddenAliases": [],
1682
+ "id": "plans:get-fixed-credits-config",
1683
+ "pluginAlias": "@nevermined-io/cli",
1684
+ "pluginName": "@nevermined-io/cli",
1685
+ "pluginType": "core",
1686
+ "strict": true,
1687
+ "enableJsonFlag": false,
1688
+ "isESM": true,
1689
+ "relativePath": [
1690
+ "dist",
1691
+ "commands",
1692
+ "plans",
1693
+ "get-fixed-credits-config.js"
1694
+ ]
1695
+ },
1696
+ "plans:get-free-price-config": {
1697
+ "aliases": [],
1698
+ "args": {},
1699
+ "description": "Builds a FREE price configuration (no payment required).",
1700
+ "examples": [
1701
+ "$ nvm plans get-free-price-config"
1702
+ ],
1703
+ "flags": {
1704
+ "profile": {
1705
+ "char": "p",
1706
+ "description": "Configuration profile to use",
1707
+ "name": "profile",
1708
+ "required": false,
1709
+ "hasDynamicHelp": false,
1710
+ "multiple": false,
1711
+ "type": "option"
1712
+ },
1713
+ "format": {
1714
+ "char": "f",
1715
+ "description": "Output format",
1716
+ "name": "format",
1717
+ "default": "table",
1718
+ "hasDynamicHelp": false,
1719
+ "multiple": false,
1720
+ "options": [
1721
+ "table",
1722
+ "json",
1723
+ "quiet"
1724
+ ],
1725
+ "type": "option"
1726
+ },
1727
+ "verbose": {
1728
+ "char": "v",
1729
+ "description": "Verbose output",
1730
+ "name": "verbose",
1731
+ "allowNo": false,
1732
+ "type": "boolean"
1733
+ }
1734
+ },
1735
+ "hasDynamicHelp": false,
1736
+ "hiddenAliases": [],
1737
+ "id": "plans:get-free-price-config",
1738
+ "pluginAlias": "@nevermined-io/cli",
1739
+ "pluginName": "@nevermined-io/cli",
1740
+ "pluginType": "core",
1741
+ "strict": true,
1742
+ "enableJsonFlag": false,
1743
+ "isESM": true,
1744
+ "relativePath": [
1745
+ "dist",
1746
+ "commands",
1747
+ "plans",
1748
+ "get-free-price-config.js"
1749
+ ]
1750
+ },
1751
+ "plans:get-native-token-price-config": {
1752
+ "aliases": [],
1753
+ "args": {},
1754
+ "description": "Builds a native token price configuration for a plan.",
1755
+ "examples": [
1756
+ "$ nvm plans get-native-token-price-config"
1757
+ ],
1758
+ "flags": {
1759
+ "profile": {
1760
+ "char": "p",
1761
+ "description": "Configuration profile to use",
1762
+ "name": "profile",
1763
+ "required": false,
1764
+ "hasDynamicHelp": false,
1765
+ "multiple": false,
1766
+ "type": "option"
1767
+ },
1768
+ "format": {
1769
+ "char": "f",
1770
+ "description": "Output format",
1771
+ "name": "format",
1772
+ "default": "table",
1773
+ "hasDynamicHelp": false,
1774
+ "multiple": false,
1775
+ "options": [
1776
+ "table",
1777
+ "json",
1778
+ "quiet"
1779
+ ],
1780
+ "type": "option"
1781
+ },
1782
+ "verbose": {
1783
+ "char": "v",
1784
+ "description": "Verbose output",
1785
+ "name": "verbose",
1786
+ "allowNo": false,
1787
+ "type": "boolean"
1788
+ },
1789
+ "amount": {
1790
+ "name": "amount",
1791
+ "required": true,
1792
+ "hasDynamicHelp": false,
1793
+ "multiple": false,
1794
+ "type": "option"
1795
+ },
1796
+ "receiver": {
1797
+ "description": "receiver as JSON string",
1798
+ "name": "receiver",
1799
+ "required": true,
1800
+ "hasDynamicHelp": false,
1801
+ "multiple": false,
1802
+ "type": "option"
1803
+ }
1804
+ },
1805
+ "hasDynamicHelp": false,
1806
+ "hiddenAliases": [],
1807
+ "id": "plans:get-native-token-price-config",
1808
+ "pluginAlias": "@nevermined-io/cli",
1809
+ "pluginName": "@nevermined-io/cli",
1810
+ "pluginType": "core",
1811
+ "strict": true,
1812
+ "enableJsonFlag": false,
1813
+ "isESM": true,
1814
+ "relativePath": [
1815
+ "dist",
1816
+ "commands",
1817
+ "plans",
1818
+ "get-native-token-price-config.js"
1819
+ ]
1820
+ },
1821
+ "plans:get-non-expirable-duration-config": {
1822
+ "aliases": [],
1823
+ "args": {},
1824
+ "description": "Builds a NON-EXPIRABLE credits configuration (no expiration).",
1825
+ "examples": [
1826
+ "$ nvm plans get-non-expirable-duration-config"
1827
+ ],
1828
+ "flags": {
1829
+ "profile": {
1830
+ "char": "p",
1831
+ "description": "Configuration profile to use",
1832
+ "name": "profile",
1833
+ "required": false,
1834
+ "hasDynamicHelp": false,
1835
+ "multiple": false,
1836
+ "type": "option"
1837
+ },
1838
+ "format": {
1839
+ "char": "f",
1840
+ "description": "Output format",
1841
+ "name": "format",
1842
+ "default": "table",
1843
+ "hasDynamicHelp": false,
1844
+ "multiple": false,
1845
+ "options": [
1846
+ "table",
1847
+ "json",
1848
+ "quiet"
1849
+ ],
1850
+ "type": "option"
1851
+ },
1852
+ "verbose": {
1853
+ "char": "v",
1854
+ "description": "Verbose output",
1855
+ "name": "verbose",
1856
+ "allowNo": false,
1857
+ "type": "boolean"
1858
+ }
1859
+ },
1860
+ "hasDynamicHelp": false,
1861
+ "hiddenAliases": [],
1862
+ "id": "plans:get-non-expirable-duration-config",
1863
+ "pluginAlias": "@nevermined-io/cli",
1864
+ "pluginName": "@nevermined-io/cli",
1865
+ "pluginType": "core",
1866
+ "strict": true,
1867
+ "enableJsonFlag": false,
1868
+ "isESM": true,
1869
+ "relativePath": [
1870
+ "dist",
1871
+ "commands",
1872
+ "plans",
1873
+ "get-non-expirable-duration-config.js"
1874
+ ]
1875
+ },
1876
+ "plans:get-pay-as-you-go-credits-config": {
1877
+ "aliases": [],
1878
+ "args": {},
1879
+ "description": "Builds a Pay-As-You-Go credits configuration.",
1880
+ "examples": [
1881
+ "$ nvm plans get-pay-as-you-go-credits-config"
1882
+ ],
1883
+ "flags": {
1884
+ "profile": {
1885
+ "char": "p",
1886
+ "description": "Configuration profile to use",
1887
+ "name": "profile",
1888
+ "required": false,
1889
+ "hasDynamicHelp": false,
1890
+ "multiple": false,
1891
+ "type": "option"
1892
+ },
1893
+ "format": {
1894
+ "char": "f",
1895
+ "description": "Output format",
1896
+ "name": "format",
1897
+ "default": "table",
1898
+ "hasDynamicHelp": false,
1899
+ "multiple": false,
1900
+ "options": [
1901
+ "table",
1902
+ "json",
1903
+ "quiet"
1904
+ ],
1905
+ "type": "option"
1906
+ },
1907
+ "verbose": {
1908
+ "char": "v",
1909
+ "description": "Verbose output",
1910
+ "name": "verbose",
1911
+ "allowNo": false,
1912
+ "type": "boolean"
1913
+ }
1914
+ },
1915
+ "hasDynamicHelp": false,
1916
+ "hiddenAliases": [],
1917
+ "id": "plans:get-pay-as-you-go-credits-config",
1918
+ "pluginAlias": "@nevermined-io/cli",
1919
+ "pluginName": "@nevermined-io/cli",
1920
+ "pluginType": "core",
1921
+ "strict": true,
1922
+ "enableJsonFlag": false,
1923
+ "isESM": true,
1924
+ "relativePath": [
1925
+ "dist",
1926
+ "commands",
1927
+ "plans",
1928
+ "get-pay-as-you-go-credits-config.js"
1929
+ ]
1930
+ },
1931
+ "plans:get-pay-as-you-go-price-config": {
1932
+ "aliases": [],
1933
+ "args": {},
1934
+ "description": "Builds a Pay-As-You-Go price configuration using the template address from the API.",
1935
+ "examples": [
1936
+ "$ nvm plans get-pay-as-you-go-price-config"
1937
+ ],
1938
+ "flags": {
1939
+ "profile": {
1940
+ "char": "p",
1941
+ "description": "Configuration profile to use",
1942
+ "name": "profile",
1943
+ "required": false,
1944
+ "hasDynamicHelp": false,
1945
+ "multiple": false,
1946
+ "type": "option"
1947
+ },
1948
+ "format": {
1949
+ "char": "f",
1950
+ "description": "Output format",
1951
+ "name": "format",
1952
+ "default": "table",
1953
+ "hasDynamicHelp": false,
1954
+ "multiple": false,
1955
+ "options": [
1956
+ "table",
1957
+ "json",
1958
+ "quiet"
1959
+ ],
1960
+ "type": "option"
1961
+ },
1962
+ "verbose": {
1963
+ "char": "v",
1964
+ "description": "Verbose output",
1965
+ "name": "verbose",
1966
+ "allowNo": false,
1967
+ "type": "boolean"
1968
+ },
1969
+ "amount": {
1970
+ "name": "amount",
1971
+ "required": true,
1972
+ "hasDynamicHelp": false,
1973
+ "multiple": false,
1974
+ "type": "option"
1975
+ },
1976
+ "receiver": {
1977
+ "description": "receiver as JSON string",
1978
+ "name": "receiver",
1979
+ "required": true,
1980
+ "hasDynamicHelp": false,
1981
+ "multiple": false,
1982
+ "type": "option"
1983
+ },
1984
+ "token-address": {
1985
+ "description": "tokenAddress as JSON string",
1986
+ "name": "token-address",
1987
+ "required": false,
1988
+ "hasDynamicHelp": false,
1989
+ "multiple": false,
1990
+ "type": "option"
1991
+ }
1992
+ },
1993
+ "hasDynamicHelp": false,
1994
+ "hiddenAliases": [],
1995
+ "id": "plans:get-pay-as-you-go-price-config",
1996
+ "pluginAlias": "@nevermined-io/cli",
1997
+ "pluginName": "@nevermined-io/cli",
1998
+ "pluginType": "core",
1999
+ "strict": true,
2000
+ "enableJsonFlag": false,
2001
+ "isESM": true,
2002
+ "relativePath": [
2003
+ "dist",
2004
+ "commands",
2005
+ "plans",
2006
+ "get-pay-as-you-go-price-config.js"
2007
+ ]
2008
+ },
2009
+ "plans:get-plan-balance": {
2010
+ "aliases": [],
2011
+ "args": {
2012
+ "plan": {
2013
+ "description": "plan identifier",
2014
+ "name": "plan",
2015
+ "required": true
2016
+ }
2017
+ },
2018
+ "description": "Gets the balance of an account for a Payment Plan.",
2019
+ "examples": [
2020
+ "$ nvm plans get-plan-balance <planId>"
2021
+ ],
2022
+ "flags": {
2023
+ "profile": {
2024
+ "char": "p",
2025
+ "description": "Configuration profile to use",
2026
+ "name": "profile",
2027
+ "required": false,
2028
+ "hasDynamicHelp": false,
2029
+ "multiple": false,
2030
+ "type": "option"
2031
+ },
2032
+ "format": {
2033
+ "char": "f",
2034
+ "description": "Output format",
2035
+ "name": "format",
2036
+ "default": "table",
2037
+ "hasDynamicHelp": false,
2038
+ "multiple": false,
2039
+ "options": [
2040
+ "table",
2041
+ "json",
2042
+ "quiet"
2043
+ ],
2044
+ "type": "option"
2045
+ },
2046
+ "verbose": {
2047
+ "char": "v",
2048
+ "description": "Verbose output",
2049
+ "name": "verbose",
2050
+ "allowNo": false,
2051
+ "type": "boolean"
2052
+ },
2053
+ "account-address": {
2054
+ "description": "accountAddress as JSON string",
2055
+ "name": "account-address",
2056
+ "required": false,
2057
+ "hasDynamicHelp": false,
2058
+ "multiple": false,
2059
+ "type": "option"
2060
+ }
2061
+ },
2062
+ "hasDynamicHelp": false,
2063
+ "hiddenAliases": [],
2064
+ "id": "plans:get-plan-balance",
2065
+ "pluginAlias": "@nevermined-io/cli",
2066
+ "pluginName": "@nevermined-io/cli",
2067
+ "pluginType": "core",
2068
+ "strict": true,
2069
+ "enableJsonFlag": false,
2070
+ "isESM": true,
2071
+ "relativePath": [
2072
+ "dist",
2073
+ "commands",
2074
+ "plans",
2075
+ "get-plan-balance.js"
2076
+ ]
2077
+ },
2078
+ "plans:get-plan": {
2079
+ "aliases": [],
2080
+ "args": {
2081
+ "plan": {
2082
+ "description": "plan identifier",
2083
+ "name": "plan",
2084
+ "required": true
2085
+ }
2086
+ },
2087
+ "description": "Gets the information about a Payment Plan by its identifier.",
2088
+ "examples": [
2089
+ "$ nvm plans get-plan <planId>"
2090
+ ],
2091
+ "flags": {
2092
+ "profile": {
2093
+ "char": "p",
2094
+ "description": "Configuration profile to use",
2095
+ "name": "profile",
2096
+ "required": false,
2097
+ "hasDynamicHelp": false,
2098
+ "multiple": false,
2099
+ "type": "option"
2100
+ },
2101
+ "format": {
2102
+ "char": "f",
2103
+ "description": "Output format",
2104
+ "name": "format",
2105
+ "default": "table",
2106
+ "hasDynamicHelp": false,
2107
+ "multiple": false,
2108
+ "options": [
2109
+ "table",
2110
+ "json",
2111
+ "quiet"
2112
+ ],
2113
+ "type": "option"
2114
+ },
2115
+ "verbose": {
2116
+ "char": "v",
2117
+ "description": "Verbose output",
2118
+ "name": "verbose",
2119
+ "allowNo": false,
2120
+ "type": "boolean"
2121
+ }
2122
+ },
2123
+ "hasDynamicHelp": false,
2124
+ "hiddenAliases": [],
2125
+ "id": "plans:get-plan",
2126
+ "pluginAlias": "@nevermined-io/cli",
2127
+ "pluginName": "@nevermined-io/cli",
2128
+ "pluginType": "core",
2129
+ "strict": true,
2130
+ "enableJsonFlag": false,
2131
+ "isESM": true,
2132
+ "relativePath": [
2133
+ "dist",
2134
+ "commands",
2135
+ "plans",
2136
+ "get-plan.js"
2137
+ ]
2138
+ },
2139
+ "plans:get-plans": {
2140
+ "aliases": [],
2141
+ "args": {},
2142
+ "description": "PlansAPI getPlans",
2143
+ "examples": [
2144
+ "$ nvm plans get-plans"
2145
+ ],
2146
+ "flags": {
2147
+ "profile": {
2148
+ "char": "p",
2149
+ "description": "Configuration profile to use",
2150
+ "name": "profile",
2151
+ "required": false,
2152
+ "hasDynamicHelp": false,
2153
+ "multiple": false,
2154
+ "type": "option"
2155
+ },
2156
+ "format": {
2157
+ "char": "f",
2158
+ "description": "Output format",
2159
+ "name": "format",
2160
+ "default": "table",
2161
+ "hasDynamicHelp": false,
2162
+ "multiple": false,
2163
+ "options": [
2164
+ "table",
2165
+ "json",
2166
+ "quiet"
2167
+ ],
2168
+ "type": "option"
2169
+ },
2170
+ "verbose": {
2171
+ "char": "v",
2172
+ "description": "Verbose output",
2173
+ "name": "verbose",
2174
+ "allowNo": false,
2175
+ "type": "boolean"
2176
+ },
2177
+ "page": {
2178
+ "name": "page",
2179
+ "required": false,
2180
+ "hasDynamicHelp": false,
2181
+ "multiple": false,
2182
+ "type": "option"
2183
+ },
2184
+ "offset": {
2185
+ "name": "offset",
2186
+ "required": false,
2187
+ "hasDynamicHelp": false,
2188
+ "multiple": false,
2189
+ "type": "option"
2190
+ },
2191
+ "sort-by": {
2192
+ "name": "sort-by",
2193
+ "required": false,
2194
+ "hasDynamicHelp": false,
2195
+ "multiple": false,
2196
+ "type": "option"
2197
+ },
2198
+ "sort-order": {
2199
+ "name": "sort-order",
2200
+ "required": false,
2201
+ "hasDynamicHelp": false,
2202
+ "multiple": false,
2203
+ "type": "option"
2204
+ }
2205
+ },
2206
+ "hasDynamicHelp": false,
2207
+ "hiddenAliases": [],
2208
+ "id": "plans:get-plans",
2209
+ "pluginAlias": "@nevermined-io/cli",
2210
+ "pluginName": "@nevermined-io/cli",
2211
+ "pluginType": "core",
2212
+ "strict": true,
2213
+ "enableJsonFlag": false,
2214
+ "isESM": true,
2215
+ "relativePath": [
2216
+ "dist",
2217
+ "commands",
2218
+ "plans",
2219
+ "get-plans.js"
2220
+ ]
2221
+ },
2222
+ "plans:mint-plan-credits": {
2223
+ "aliases": [],
2224
+ "args": {
2225
+ "plan": {
2226
+ "description": "plan identifier",
2227
+ "name": "plan",
2228
+ "required": true
2229
+ }
2230
+ },
2231
+ "description": "Mints credits for a given Payment Plan and transfers them to a receiver.",
2232
+ "examples": [
2233
+ "$ nvm plans mint-plan-credits <planId>"
2234
+ ],
2235
+ "flags": {
2236
+ "profile": {
2237
+ "char": "p",
2238
+ "description": "Configuration profile to use",
2239
+ "name": "profile",
2240
+ "required": false,
2241
+ "hasDynamicHelp": false,
2242
+ "multiple": false,
2243
+ "type": "option"
2244
+ },
2245
+ "format": {
2246
+ "char": "f",
2247
+ "description": "Output format",
2248
+ "name": "format",
2249
+ "default": "table",
2250
+ "hasDynamicHelp": false,
2251
+ "multiple": false,
2252
+ "options": [
2253
+ "table",
2254
+ "json",
2255
+ "quiet"
2256
+ ],
2257
+ "type": "option"
2258
+ },
2259
+ "verbose": {
2260
+ "char": "v",
2261
+ "description": "Verbose output",
2262
+ "name": "verbose",
2263
+ "allowNo": false,
2264
+ "type": "boolean"
2265
+ },
2266
+ "credits-amount": {
2267
+ "name": "credits-amount",
2268
+ "required": true,
2269
+ "hasDynamicHelp": false,
2270
+ "multiple": false,
2271
+ "type": "option"
2272
+ },
2273
+ "credits-receiver": {
2274
+ "description": "creditsReceiver as JSON string",
2275
+ "name": "credits-receiver",
2276
+ "required": true,
2277
+ "hasDynamicHelp": false,
2278
+ "multiple": false,
2279
+ "type": "option"
2280
+ }
2281
+ },
2282
+ "hasDynamicHelp": false,
2283
+ "hiddenAliases": [],
2284
+ "id": "plans:mint-plan-credits",
2285
+ "pluginAlias": "@nevermined-io/cli",
2286
+ "pluginName": "@nevermined-io/cli",
2287
+ "pluginType": "core",
2288
+ "strict": true,
2289
+ "enableJsonFlag": false,
2290
+ "isESM": true,
2291
+ "relativePath": [
2292
+ "dist",
2293
+ "commands",
2294
+ "plans",
2295
+ "mint-plan-credits.js"
2296
+ ]
2297
+ },
2298
+ "plans:mint-plan-expirable": {
2299
+ "aliases": [],
2300
+ "args": {
2301
+ "plan": {
2302
+ "description": "plan identifier",
2303
+ "name": "plan",
2304
+ "required": true
2305
+ }
2306
+ },
2307
+ "description": "Mints expirable credits for a given Payment Plan and transfers them to a receiver.",
2308
+ "examples": [
2309
+ "$ nvm plans mint-plan-expirable <planId>"
2310
+ ],
2311
+ "flags": {
2312
+ "profile": {
2313
+ "char": "p",
2314
+ "description": "Configuration profile to use",
2315
+ "name": "profile",
2316
+ "required": false,
2317
+ "hasDynamicHelp": false,
2318
+ "multiple": false,
2319
+ "type": "option"
2320
+ },
2321
+ "format": {
2322
+ "char": "f",
2323
+ "description": "Output format",
2324
+ "name": "format",
2325
+ "default": "table",
2326
+ "hasDynamicHelp": false,
2327
+ "multiple": false,
2328
+ "options": [
2329
+ "table",
2330
+ "json",
2331
+ "quiet"
2332
+ ],
2333
+ "type": "option"
2334
+ },
2335
+ "verbose": {
2336
+ "char": "v",
2337
+ "description": "Verbose output",
2338
+ "name": "verbose",
2339
+ "allowNo": false,
2340
+ "type": "boolean"
2341
+ },
2342
+ "credits-amount": {
2343
+ "name": "credits-amount",
2344
+ "required": true,
2345
+ "hasDynamicHelp": false,
2346
+ "multiple": false,
2347
+ "type": "option"
2348
+ },
2349
+ "credits-receiver": {
2350
+ "description": "creditsReceiver as JSON string",
2351
+ "name": "credits-receiver",
2352
+ "required": true,
2353
+ "hasDynamicHelp": false,
2354
+ "multiple": false,
2355
+ "type": "option"
2356
+ },
2357
+ "credits-duration": {
2358
+ "name": "credits-duration",
2359
+ "required": false,
2360
+ "hasDynamicHelp": false,
2361
+ "multiple": false,
2362
+ "type": "option"
2363
+ }
2364
+ },
2365
+ "hasDynamicHelp": false,
2366
+ "hiddenAliases": [],
2367
+ "id": "plans:mint-plan-expirable",
2368
+ "pluginAlias": "@nevermined-io/cli",
2369
+ "pluginName": "@nevermined-io/cli",
2370
+ "pluginType": "core",
2371
+ "strict": true,
2372
+ "enableJsonFlag": false,
2373
+ "isESM": true,
2374
+ "relativePath": [
2375
+ "dist",
2376
+ "commands",
2377
+ "plans",
2378
+ "mint-plan-expirable.js"
2379
+ ]
2380
+ },
2381
+ "plans:order-fiat-plan": {
2382
+ "aliases": [],
2383
+ "args": {
2384
+ "plan": {
2385
+ "description": "plan identifier",
2386
+ "name": "plan",
2387
+ "required": true
2388
+ }
2389
+ },
2390
+ "description": "Initiates the purchase of a Plan requiring the payment in Fiat. This method will return a URL where the user can complete the payment.",
2391
+ "examples": [
2392
+ "$ nvm plans order-fiat-plan <planId>"
2393
+ ],
2394
+ "flags": {
2395
+ "profile": {
2396
+ "char": "p",
2397
+ "description": "Configuration profile to use",
2398
+ "name": "profile",
2399
+ "required": false,
2400
+ "hasDynamicHelp": false,
2401
+ "multiple": false,
2402
+ "type": "option"
2403
+ },
2404
+ "format": {
2405
+ "char": "f",
2406
+ "description": "Output format",
2407
+ "name": "format",
2408
+ "default": "table",
2409
+ "hasDynamicHelp": false,
2410
+ "multiple": false,
2411
+ "options": [
2412
+ "table",
2413
+ "json",
2414
+ "quiet"
2415
+ ],
2416
+ "type": "option"
2417
+ },
2418
+ "verbose": {
2419
+ "char": "v",
2420
+ "description": "Verbose output",
2421
+ "name": "verbose",
2422
+ "allowNo": false,
2423
+ "type": "boolean"
2424
+ }
2425
+ },
2426
+ "hasDynamicHelp": false,
2427
+ "hiddenAliases": [],
2428
+ "id": "plans:order-fiat-plan",
2429
+ "pluginAlias": "@nevermined-io/cli",
2430
+ "pluginName": "@nevermined-io/cli",
2431
+ "pluginType": "core",
2432
+ "strict": true,
2433
+ "enableJsonFlag": false,
2434
+ "isESM": true,
2435
+ "relativePath": [
2436
+ "dist",
2437
+ "commands",
2438
+ "plans",
2439
+ "order-fiat-plan.js"
2440
+ ]
2441
+ },
2442
+ "plans:order-plan": {
2443
+ "aliases": [],
2444
+ "args": {
2445
+ "plan": {
2446
+ "description": "plan identifier",
2447
+ "name": "plan",
2448
+ "required": true
2449
+ }
2450
+ },
2451
+ "description": "Orders a Payment Plan requiring the payment in crypto. The user must have enough balance in the selected token.",
2452
+ "examples": [
2453
+ "$ nvm plans order-plan <planId>"
2454
+ ],
2455
+ "flags": {
2456
+ "profile": {
2457
+ "char": "p",
2458
+ "description": "Configuration profile to use",
2459
+ "name": "profile",
2460
+ "required": false,
2461
+ "hasDynamicHelp": false,
2462
+ "multiple": false,
2463
+ "type": "option"
2464
+ },
2465
+ "format": {
2466
+ "char": "f",
2467
+ "description": "Output format",
2468
+ "name": "format",
2469
+ "default": "table",
2470
+ "hasDynamicHelp": false,
2471
+ "multiple": false,
2472
+ "options": [
2473
+ "table",
2474
+ "json",
2475
+ "quiet"
2476
+ ],
2477
+ "type": "option"
2478
+ },
2479
+ "verbose": {
2480
+ "char": "v",
2481
+ "description": "Verbose output",
2482
+ "name": "verbose",
2483
+ "allowNo": false,
2484
+ "type": "boolean"
2485
+ }
2486
+ },
2487
+ "hasDynamicHelp": false,
2488
+ "hiddenAliases": [],
2489
+ "id": "plans:order-plan",
2490
+ "pluginAlias": "@nevermined-io/cli",
2491
+ "pluginName": "@nevermined-io/cli",
2492
+ "pluginType": "core",
2493
+ "strict": true,
2494
+ "enableJsonFlag": false,
2495
+ "isESM": true,
2496
+ "relativePath": [
2497
+ "dist",
2498
+ "commands",
2499
+ "plans",
2500
+ "order-plan.js"
2501
+ ]
2502
+ },
2503
+ "plans:redeem-credits": {
2504
+ "aliases": [],
2505
+ "args": {
2506
+ "agentRequest": {
2507
+ "description": "agentRequest identifier",
2508
+ "name": "agentRequest",
2509
+ "required": true
2510
+ }
2511
+ },
2512
+ "description": "Burns/redeem credits for a given Payment Plan.",
2513
+ "examples": [
2514
+ "$ nvm plans redeem-credits <agentRequestId>"
2515
+ ],
2516
+ "flags": {
2517
+ "profile": {
2518
+ "char": "p",
2519
+ "description": "Configuration profile to use",
2520
+ "name": "profile",
2521
+ "required": false,
2522
+ "hasDynamicHelp": false,
2523
+ "multiple": false,
2524
+ "type": "option"
2525
+ },
2526
+ "format": {
2527
+ "char": "f",
2528
+ "description": "Output format",
2529
+ "name": "format",
2530
+ "default": "table",
2531
+ "hasDynamicHelp": false,
2532
+ "multiple": false,
2533
+ "options": [
2534
+ "table",
2535
+ "json",
2536
+ "quiet"
2537
+ ],
2538
+ "type": "option"
2539
+ },
2540
+ "verbose": {
2541
+ "char": "v",
2542
+ "description": "Verbose output",
2543
+ "name": "verbose",
2544
+ "allowNo": false,
2545
+ "type": "boolean"
2546
+ },
2547
+ "plan-id": {
2548
+ "name": "plan-id",
2549
+ "required": true,
2550
+ "hasDynamicHelp": false,
2551
+ "multiple": false,
2552
+ "type": "option"
2553
+ },
2554
+ "redeem-from": {
2555
+ "description": "redeemFrom as JSON string",
2556
+ "name": "redeem-from",
2557
+ "required": true,
2558
+ "hasDynamicHelp": false,
2559
+ "multiple": false,
2560
+ "type": "option"
2561
+ },
2562
+ "credits-amount-to-redeem": {
2563
+ "name": "credits-amount-to-redeem",
2564
+ "required": true,
2565
+ "hasDynamicHelp": false,
2566
+ "multiple": false,
2567
+ "type": "option"
2568
+ }
2569
+ },
2570
+ "hasDynamicHelp": false,
2571
+ "hiddenAliases": [],
2572
+ "id": "plans:redeem-credits",
2573
+ "pluginAlias": "@nevermined-io/cli",
2574
+ "pluginName": "@nevermined-io/cli",
2575
+ "pluginType": "core",
2576
+ "strict": true,
2577
+ "enableJsonFlag": false,
2578
+ "isESM": true,
2579
+ "relativePath": [
2580
+ "dist",
2581
+ "commands",
2582
+ "plans",
2583
+ "redeem-credits.js"
2584
+ ]
2585
+ },
2586
+ "plans:register-credits-plan": {
2587
+ "aliases": [],
2588
+ "args": {},
2589
+ "description": "It allows to an AI Builder to create a Payment Plan on Nevermined based on Credits. A Nevermined Credits Plan limits the access by the access/usage of the Plan. With them, AI Builders control the number of requests that can be made to an agent or service. Every time a user accesses any resouce associated to the Payment Plan, the usage consumes from a capped amount of credits. When the user consumes all the credits, the plan automatically expires and the user needs to top up to continue using the service.",
2590
+ "examples": [
2591
+ "$ nvm plans register-credits-plan"
2592
+ ],
2593
+ "flags": {
2594
+ "profile": {
2595
+ "char": "p",
2596
+ "description": "Configuration profile to use",
2597
+ "name": "profile",
2598
+ "required": false,
2599
+ "hasDynamicHelp": false,
2600
+ "multiple": false,
2601
+ "type": "option"
2602
+ },
2603
+ "format": {
2604
+ "char": "f",
2605
+ "description": "Output format",
2606
+ "name": "format",
2607
+ "default": "table",
2608
+ "hasDynamicHelp": false,
2609
+ "multiple": false,
2610
+ "options": [
2611
+ "table",
2612
+ "json",
2613
+ "quiet"
2614
+ ],
2615
+ "type": "option"
2616
+ },
2617
+ "verbose": {
2618
+ "char": "v",
2619
+ "description": "Verbose output",
2620
+ "name": "verbose",
2621
+ "allowNo": false,
2622
+ "type": "boolean"
2623
+ },
2624
+ "plan-metadata": {
2625
+ "description": "planMetadata as JSON string",
2626
+ "name": "plan-metadata",
2627
+ "required": true,
2628
+ "hasDynamicHelp": false,
2629
+ "multiple": false,
2630
+ "type": "option"
2631
+ },
2632
+ "price-config": {
2633
+ "description": "priceConfig as JSON string",
2634
+ "name": "price-config",
2635
+ "required": true,
2636
+ "hasDynamicHelp": false,
2637
+ "multiple": false,
2638
+ "type": "option"
2639
+ },
2640
+ "credits-config": {
2641
+ "description": "creditsConfig as JSON string",
2642
+ "name": "credits-config",
2643
+ "required": true,
2644
+ "hasDynamicHelp": false,
2645
+ "multiple": false,
2646
+ "type": "option"
2647
+ }
2648
+ },
2649
+ "hasDynamicHelp": false,
2650
+ "hiddenAliases": [],
2651
+ "id": "plans:register-credits-plan",
2652
+ "pluginAlias": "@nevermined-io/cli",
2653
+ "pluginName": "@nevermined-io/cli",
2654
+ "pluginType": "core",
2655
+ "strict": true,
2656
+ "enableJsonFlag": false,
2657
+ "isESM": true,
2658
+ "relativePath": [
2659
+ "dist",
2660
+ "commands",
2661
+ "plans",
2662
+ "register-credits-plan.js"
2663
+ ]
2664
+ },
2665
+ "plans:register-credits-trial-plan": {
2666
+ "aliases": [],
2667
+ "args": {},
2668
+ "description": "It allows to an AI Builder to create a Trial Payment Plan on Nevermined limited by duration. A Nevermined Trial Plan allow subscribers of that plan to test the Agents associated to it. A Trial plan is a plan that only can be purchased once by a user. Trial plans, as regular plans, can be limited by duration (i.e 1 week of usage) or by credits (i.e 100 credits to use the agent).",
2669
+ "examples": [
2670
+ "$ nvm plans register-credits-trial-plan"
2671
+ ],
2672
+ "flags": {
2673
+ "profile": {
2674
+ "char": "p",
2675
+ "description": "Configuration profile to use",
2676
+ "name": "profile",
2677
+ "required": false,
2678
+ "hasDynamicHelp": false,
2679
+ "multiple": false,
2680
+ "type": "option"
2681
+ },
2682
+ "format": {
2683
+ "char": "f",
2684
+ "description": "Output format",
2685
+ "name": "format",
2686
+ "default": "table",
2687
+ "hasDynamicHelp": false,
2688
+ "multiple": false,
2689
+ "options": [
2690
+ "table",
2691
+ "json",
2692
+ "quiet"
2693
+ ],
2694
+ "type": "option"
2695
+ },
2696
+ "verbose": {
2697
+ "char": "v",
2698
+ "description": "Verbose output",
2699
+ "name": "verbose",
2700
+ "allowNo": false,
2701
+ "type": "boolean"
2702
+ },
2703
+ "plan-metadata": {
2704
+ "description": "planMetadata as JSON string",
2705
+ "name": "plan-metadata",
2706
+ "required": true,
2707
+ "hasDynamicHelp": false,
2708
+ "multiple": false,
2709
+ "type": "option"
2710
+ },
2711
+ "price-config": {
2712
+ "description": "priceConfig as JSON string",
2713
+ "name": "price-config",
2714
+ "required": true,
2715
+ "hasDynamicHelp": false,
2716
+ "multiple": false,
2717
+ "type": "option"
2718
+ },
2719
+ "credits-config": {
2720
+ "description": "creditsConfig as JSON string",
2721
+ "name": "credits-config",
2722
+ "required": true,
2723
+ "hasDynamicHelp": false,
2724
+ "multiple": false,
2725
+ "type": "option"
2726
+ }
2727
+ },
2728
+ "hasDynamicHelp": false,
2729
+ "hiddenAliases": [],
2730
+ "id": "plans:register-credits-trial-plan",
2731
+ "pluginAlias": "@nevermined-io/cli",
2732
+ "pluginName": "@nevermined-io/cli",
2733
+ "pluginType": "core",
2734
+ "strict": true,
2735
+ "enableJsonFlag": false,
2736
+ "isESM": true,
2737
+ "relativePath": [
2738
+ "dist",
2739
+ "commands",
2740
+ "plans",
2741
+ "register-credits-trial-plan.js"
2742
+ ]
2743
+ },
2744
+ "plans:register-plan": {
2745
+ "aliases": [],
2746
+ "args": {},
2747
+ "description": "It allows to an AI Builder to register a Payment Plan on Nevermined in a flexible manner. A Payment Plan defines 2 main aspects: 1. What a subscriber needs to pay to get the plan (i.e. 100 USDC, 5 USD, etc). 2. What the subscriber gets in return to access the AI agents associated to the plan (i.e. 100 credits, 1 week of usage, etc). With Payment Plans, AI Builders control the usage to their AI Agents. Every time a user accesses an AI Agent to the Payment Plan, the usage consumes from a capped amount of credits (or when the plan duration expires). When the user consumes all the credits, the plan automatically expires and the user needs to top up to continue using the service.",
2748
+ "examples": [
2749
+ "$ nvm plans register-plan"
2750
+ ],
2751
+ "flags": {
2752
+ "profile": {
2753
+ "char": "p",
2754
+ "description": "Configuration profile to use",
2755
+ "name": "profile",
2756
+ "required": false,
2757
+ "hasDynamicHelp": false,
2758
+ "multiple": false,
2759
+ "type": "option"
2760
+ },
2761
+ "format": {
2762
+ "char": "f",
2763
+ "description": "Output format",
2764
+ "name": "format",
2765
+ "default": "table",
2766
+ "hasDynamicHelp": false,
2767
+ "multiple": false,
2768
+ "options": [
2769
+ "table",
2770
+ "json",
2771
+ "quiet"
2772
+ ],
2773
+ "type": "option"
2774
+ },
2775
+ "verbose": {
2776
+ "char": "v",
2777
+ "description": "Verbose output",
2778
+ "name": "verbose",
2779
+ "allowNo": false,
2780
+ "type": "boolean"
2781
+ },
2782
+ "plan-metadata": {
2783
+ "description": "planMetadata as JSON string",
2784
+ "name": "plan-metadata",
2785
+ "required": true,
2786
+ "hasDynamicHelp": false,
2787
+ "multiple": false,
2788
+ "type": "option"
2789
+ },
2790
+ "price-config": {
2791
+ "description": "priceConfig as JSON string",
2792
+ "name": "price-config",
2793
+ "required": true,
2794
+ "hasDynamicHelp": false,
2795
+ "multiple": false,
2796
+ "type": "option"
2797
+ },
2798
+ "credits-config": {
2799
+ "description": "creditsConfig as JSON string",
2800
+ "name": "credits-config",
2801
+ "required": true,
2802
+ "hasDynamicHelp": false,
2803
+ "multiple": false,
2804
+ "type": "option"
2805
+ },
2806
+ "nonce": {
2807
+ "name": "nonce",
2808
+ "required": false,
2809
+ "hasDynamicHelp": false,
2810
+ "multiple": false,
2811
+ "type": "option"
2812
+ },
2813
+ "access-limit": {
2814
+ "name": "access-limit",
2815
+ "required": false,
2816
+ "hasDynamicHelp": false,
2817
+ "multiple": false,
2818
+ "type": "option"
2819
+ }
2820
+ },
2821
+ "hasDynamicHelp": false,
2822
+ "hiddenAliases": [],
2823
+ "id": "plans:register-plan",
2824
+ "pluginAlias": "@nevermined-io/cli",
2825
+ "pluginName": "@nevermined-io/cli",
2826
+ "pluginType": "core",
2827
+ "strict": true,
2828
+ "enableJsonFlag": false,
2829
+ "isESM": true,
2830
+ "relativePath": [
2831
+ "dist",
2832
+ "commands",
2833
+ "plans",
2834
+ "register-plan.js"
2835
+ ]
2836
+ },
2837
+ "plans:register-time-plan": {
2838
+ "aliases": [],
2839
+ "args": {},
2840
+ "description": "It allows to an AI Builder to create a Payment Plan on Nevermined limited by duration. A Nevermined Credits Plan limits the access by the access/usage of the Plan. With them, AI Builders control the number of requests that can be made to an agent or service. Every time a user accesses any resouce associated to the Payment Plan, the usage consumes from a capped amount of credits. When the user consumes all the credits, the plan automatically expires and the user needs to top up to continue using the service.",
2841
+ "examples": [
2842
+ "$ nvm plans register-time-plan"
2843
+ ],
2844
+ "flags": {
2845
+ "profile": {
2846
+ "char": "p",
2847
+ "description": "Configuration profile to use",
2848
+ "name": "profile",
2849
+ "required": false,
2850
+ "hasDynamicHelp": false,
2851
+ "multiple": false,
2852
+ "type": "option"
2853
+ },
2854
+ "format": {
2855
+ "char": "f",
2856
+ "description": "Output format",
2857
+ "name": "format",
2858
+ "default": "table",
2859
+ "hasDynamicHelp": false,
2860
+ "multiple": false,
2861
+ "options": [
2862
+ "table",
2863
+ "json",
2864
+ "quiet"
2865
+ ],
2866
+ "type": "option"
2867
+ },
2868
+ "verbose": {
2869
+ "char": "v",
2870
+ "description": "Verbose output",
2871
+ "name": "verbose",
2872
+ "allowNo": false,
2873
+ "type": "boolean"
2874
+ },
2875
+ "plan-metadata": {
2876
+ "description": "planMetadata as JSON string",
2877
+ "name": "plan-metadata",
2878
+ "required": true,
2879
+ "hasDynamicHelp": false,
2880
+ "multiple": false,
2881
+ "type": "option"
2882
+ },
2883
+ "price-config": {
2884
+ "description": "priceConfig as JSON string",
2885
+ "name": "price-config",
2886
+ "required": true,
2887
+ "hasDynamicHelp": false,
2888
+ "multiple": false,
2889
+ "type": "option"
2890
+ },
2891
+ "credits-config": {
2892
+ "description": "creditsConfig as JSON string",
2893
+ "name": "credits-config",
2894
+ "required": true,
2895
+ "hasDynamicHelp": false,
2896
+ "multiple": false,
2897
+ "type": "option"
2898
+ }
2899
+ },
2900
+ "hasDynamicHelp": false,
2901
+ "hiddenAliases": [],
2902
+ "id": "plans:register-time-plan",
2903
+ "pluginAlias": "@nevermined-io/cli",
2904
+ "pluginName": "@nevermined-io/cli",
2905
+ "pluginType": "core",
2906
+ "strict": true,
2907
+ "enableJsonFlag": false,
2908
+ "isESM": true,
2909
+ "relativePath": [
2910
+ "dist",
2911
+ "commands",
2912
+ "plans",
2913
+ "register-time-plan.js"
2914
+ ]
2915
+ },
2916
+ "plans:register-time-trial-plan": {
2917
+ "aliases": [],
2918
+ "args": {},
2919
+ "description": "It allows to an AI Builder to create a Trial Payment Plan on Nevermined limited by duration. A Nevermined Trial Plan allow subscribers of that plan to test the Agents associated to it. A Trial plan is a plan that only can be purchased once by a user. Trial plans, as regular plans, can be limited by duration (i.e 1 week of usage) or by credits (i.e 100 credits to use the agent).",
2920
+ "examples": [
2921
+ "$ nvm plans register-time-trial-plan"
2922
+ ],
2923
+ "flags": {
2924
+ "profile": {
2925
+ "char": "p",
2926
+ "description": "Configuration profile to use",
2927
+ "name": "profile",
2928
+ "required": false,
2929
+ "hasDynamicHelp": false,
2930
+ "multiple": false,
2931
+ "type": "option"
2932
+ },
2933
+ "format": {
2934
+ "char": "f",
2935
+ "description": "Output format",
2936
+ "name": "format",
2937
+ "default": "table",
2938
+ "hasDynamicHelp": false,
2939
+ "multiple": false,
2940
+ "options": [
2941
+ "table",
2942
+ "json",
2943
+ "quiet"
2944
+ ],
2945
+ "type": "option"
2946
+ },
2947
+ "verbose": {
2948
+ "char": "v",
2949
+ "description": "Verbose output",
2950
+ "name": "verbose",
2951
+ "allowNo": false,
2952
+ "type": "boolean"
2953
+ },
2954
+ "plan-metadata": {
2955
+ "description": "planMetadata as JSON string",
2956
+ "name": "plan-metadata",
2957
+ "required": true,
2958
+ "hasDynamicHelp": false,
2959
+ "multiple": false,
2960
+ "type": "option"
2961
+ },
2962
+ "price-config": {
2963
+ "description": "priceConfig as JSON string",
2964
+ "name": "price-config",
2965
+ "required": true,
2966
+ "hasDynamicHelp": false,
2967
+ "multiple": false,
2968
+ "type": "option"
2969
+ },
2970
+ "credits-config": {
2971
+ "description": "creditsConfig as JSON string",
2972
+ "name": "credits-config",
2973
+ "required": true,
2974
+ "hasDynamicHelp": false,
2975
+ "multiple": false,
2976
+ "type": "option"
2977
+ }
2978
+ },
2979
+ "hasDynamicHelp": false,
2980
+ "hiddenAliases": [],
2981
+ "id": "plans:register-time-trial-plan",
2982
+ "pluginAlias": "@nevermined-io/cli",
2983
+ "pluginName": "@nevermined-io/cli",
2984
+ "pluginType": "core",
2985
+ "strict": true,
2986
+ "enableJsonFlag": false,
2987
+ "isESM": true,
2988
+ "relativePath": [
2989
+ "dist",
2990
+ "commands",
2991
+ "plans",
2992
+ "register-time-trial-plan.js"
2993
+ ]
2994
+ },
2995
+ "plans:set-proof-required": {
2996
+ "aliases": [],
2997
+ "args": {},
2998
+ "description": "Marks whether proof is required in a credits configuration.",
2999
+ "examples": [
3000
+ "$ nvm plans set-proof-required"
3001
+ ],
3002
+ "flags": {
3003
+ "profile": {
3004
+ "char": "p",
3005
+ "description": "Configuration profile to use",
3006
+ "name": "profile",
3007
+ "required": false,
3008
+ "hasDynamicHelp": false,
3009
+ "multiple": false,
3010
+ "type": "option"
3011
+ },
3012
+ "format": {
3013
+ "char": "f",
3014
+ "description": "Output format",
3015
+ "name": "format",
3016
+ "default": "table",
3017
+ "hasDynamicHelp": false,
3018
+ "multiple": false,
3019
+ "options": [
3020
+ "table",
3021
+ "json",
3022
+ "quiet"
3023
+ ],
3024
+ "type": "option"
3025
+ },
3026
+ "verbose": {
3027
+ "char": "v",
3028
+ "description": "Verbose output",
3029
+ "name": "verbose",
3030
+ "allowNo": false,
3031
+ "type": "boolean"
3032
+ },
3033
+ "credits-config": {
3034
+ "description": "creditsConfig as JSON string",
3035
+ "name": "credits-config",
3036
+ "required": true,
3037
+ "hasDynamicHelp": false,
3038
+ "multiple": false,
3039
+ "type": "option"
3040
+ },
3041
+ "proof-required": {
3042
+ "name": "proof-required",
3043
+ "required": false,
3044
+ "allowNo": false,
3045
+ "type": "boolean"
3046
+ }
3047
+ },
3048
+ "hasDynamicHelp": false,
3049
+ "hiddenAliases": [],
3050
+ "id": "plans:set-proof-required",
3051
+ "pluginAlias": "@nevermined-io/cli",
3052
+ "pluginName": "@nevermined-io/cli",
3053
+ "pluginType": "core",
3054
+ "strict": true,
3055
+ "enableJsonFlag": false,
3056
+ "isESM": true,
3057
+ "relativePath": [
3058
+ "dist",
3059
+ "commands",
3060
+ "plans",
3061
+ "set-proof-required.js"
3062
+ ]
3063
+ },
3064
+ "plans:set-redemption-type": {
3065
+ "aliases": [],
3066
+ "args": {},
3067
+ "description": "Sets the redemption type in a credits configuration.",
3068
+ "examples": [
3069
+ "$ nvm plans set-redemption-type"
3070
+ ],
3071
+ "flags": {
3072
+ "profile": {
3073
+ "char": "p",
3074
+ "description": "Configuration profile to use",
3075
+ "name": "profile",
3076
+ "required": false,
3077
+ "hasDynamicHelp": false,
3078
+ "multiple": false,
3079
+ "type": "option"
3080
+ },
3081
+ "format": {
3082
+ "char": "f",
3083
+ "description": "Output format",
3084
+ "name": "format",
3085
+ "default": "table",
3086
+ "hasDynamicHelp": false,
3087
+ "multiple": false,
3088
+ "options": [
3089
+ "table",
3090
+ "json",
3091
+ "quiet"
3092
+ ],
3093
+ "type": "option"
3094
+ },
3095
+ "verbose": {
3096
+ "char": "v",
3097
+ "description": "Verbose output",
3098
+ "name": "verbose",
3099
+ "allowNo": false,
3100
+ "type": "boolean"
3101
+ },
3102
+ "credits-config": {
3103
+ "description": "creditsConfig as JSON string",
3104
+ "name": "credits-config",
3105
+ "required": true,
3106
+ "hasDynamicHelp": false,
3107
+ "multiple": false,
3108
+ "type": "option"
3109
+ },
3110
+ "redemption-type": {
3111
+ "name": "redemption-type",
3112
+ "required": true,
3113
+ "hasDynamicHelp": false,
3114
+ "multiple": false,
3115
+ "type": "option"
3116
+ }
3117
+ },
3118
+ "hasDynamicHelp": false,
3119
+ "hiddenAliases": [],
3120
+ "id": "plans:set-redemption-type",
3121
+ "pluginAlias": "@nevermined-io/cli",
3122
+ "pluginName": "@nevermined-io/cli",
3123
+ "pluginType": "core",
3124
+ "strict": true,
3125
+ "enableJsonFlag": false,
3126
+ "isESM": true,
3127
+ "relativePath": [
3128
+ "dist",
3129
+ "commands",
3130
+ "plans",
3131
+ "set-redemption-type.js"
3132
+ ]
3133
+ }
3134
+ },
3135
+ "version": "1.0.3-rc1"
3136
+ }