@robinmordasiewicz/f5xc-api-mcp 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/CHANGELOG.md +74 -0
  2. package/README.md +234 -0
  3. package/dist/auth/credential-manager.d.ts +116 -0
  4. package/dist/auth/credential-manager.d.ts.map +1 -0
  5. package/dist/auth/credential-manager.js +208 -0
  6. package/dist/auth/credential-manager.js.map +1 -0
  7. package/dist/auth/http-client.d.ts +81 -0
  8. package/dist/auth/http-client.d.ts.map +1 -0
  9. package/dist/auth/http-client.js +197 -0
  10. package/dist/auth/http-client.js.map +1 -0
  11. package/dist/auth/index.d.ts +8 -0
  12. package/dist/auth/index.d.ts.map +1 -0
  13. package/dist/auth/index.js +6 -0
  14. package/dist/auth/index.js.map +1 -0
  15. package/dist/generator/index.d.ts +7 -0
  16. package/dist/generator/index.d.ts.map +1 -0
  17. package/dist/generator/index.js +7 -0
  18. package/dist/generator/index.js.map +1 -0
  19. package/dist/generator/naming/acronyms.d.ts +81 -0
  20. package/dist/generator/naming/acronyms.d.ts.map +1 -0
  21. package/dist/generator/naming/acronyms.js +253 -0
  22. package/dist/generator/naming/acronyms.js.map +1 -0
  23. package/dist/generator/naming/index.d.ts +6 -0
  24. package/dist/generator/naming/index.d.ts.map +1 -0
  25. package/dist/generator/naming/index.js +6 -0
  26. package/dist/generator/naming/index.js.map +1 -0
  27. package/dist/generator/naming/volterra-mapping.d.ts +102 -0
  28. package/dist/generator/naming/volterra-mapping.d.ts.map +1 -0
  29. package/dist/generator/naming/volterra-mapping.js +259 -0
  30. package/dist/generator/naming/volterra-mapping.js.map +1 -0
  31. package/dist/generator/openapi-parser.d.ts +339 -0
  32. package/dist/generator/openapi-parser.d.ts.map +1 -0
  33. package/dist/generator/openapi-parser.js +463 -0
  34. package/dist/generator/openapi-parser.js.map +1 -0
  35. package/dist/generator/tool-generator.d.ts +74 -0
  36. package/dist/generator/tool-generator.d.ts.map +1 -0
  37. package/dist/generator/tool-generator.js +387 -0
  38. package/dist/generator/tool-generator.js.map +1 -0
  39. package/dist/generator/transformers/index.d.ts +7 -0
  40. package/dist/generator/transformers/index.d.ts.map +1 -0
  41. package/dist/generator/transformers/index.js +7 -0
  42. package/dist/generator/transformers/index.js.map +1 -0
  43. package/dist/generator/transformers/normalize-examples.d.ts +48 -0
  44. package/dist/generator/transformers/normalize-examples.d.ts.map +1 -0
  45. package/dist/generator/transformers/normalize-examples.js +66 -0
  46. package/dist/generator/transformers/normalize-examples.js.map +1 -0
  47. package/dist/index.d.ts +21 -0
  48. package/dist/index.d.ts.map +1 -0
  49. package/dist/index.js +70 -0
  50. package/dist/index.js.map +1 -0
  51. package/dist/prompts/index.d.ts +6 -0
  52. package/dist/prompts/index.d.ts.map +1 -0
  53. package/dist/prompts/index.js +5 -0
  54. package/dist/prompts/index.js.map +1 -0
  55. package/dist/prompts/workflows.d.ts +59 -0
  56. package/dist/prompts/workflows.d.ts.map +1 -0
  57. package/dist/prompts/workflows.js +585 -0
  58. package/dist/prompts/workflows.js.map +1 -0
  59. package/dist/resources/handlers.d.ts +72 -0
  60. package/dist/resources/handlers.d.ts.map +1 -0
  61. package/dist/resources/handlers.js +279 -0
  62. package/dist/resources/handlers.js.map +1 -0
  63. package/dist/resources/index.d.ts +8 -0
  64. package/dist/resources/index.d.ts.map +1 -0
  65. package/dist/resources/index.js +6 -0
  66. package/dist/resources/index.js.map +1 -0
  67. package/dist/resources/templates.d.ts +86 -0
  68. package/dist/resources/templates.d.ts.map +1 -0
  69. package/dist/resources/templates.js +248 -0
  70. package/dist/resources/templates.js.map +1 -0
  71. package/dist/server.d.ts +78 -0
  72. package/dist/server.d.ts.map +1 -0
  73. package/dist/server.js +426 -0
  74. package/dist/server.js.map +1 -0
  75. package/dist/tools/discovery/consolidate.d.ts +97 -0
  76. package/dist/tools/discovery/consolidate.d.ts.map +1 -0
  77. package/dist/tools/discovery/consolidate.js +200 -0
  78. package/dist/tools/discovery/consolidate.js.map +1 -0
  79. package/dist/tools/discovery/describe.d.ts +132 -0
  80. package/dist/tools/discovery/describe.d.ts.map +1 -0
  81. package/dist/tools/discovery/describe.js +206 -0
  82. package/dist/tools/discovery/describe.js.map +1 -0
  83. package/dist/tools/discovery/execute.d.ts +98 -0
  84. package/dist/tools/discovery/execute.d.ts.map +1 -0
  85. package/dist/tools/discovery/execute.js +251 -0
  86. package/dist/tools/discovery/execute.js.map +1 -0
  87. package/dist/tools/discovery/index-loader.d.ts +28 -0
  88. package/dist/tools/discovery/index-loader.d.ts.map +1 -0
  89. package/dist/tools/discovery/index-loader.js +69 -0
  90. package/dist/tools/discovery/index-loader.js.map +1 -0
  91. package/dist/tools/discovery/index.d.ts +185 -0
  92. package/dist/tools/discovery/index.d.ts.map +1 -0
  93. package/dist/tools/discovery/index.js +177 -0
  94. package/dist/tools/discovery/index.js.map +1 -0
  95. package/dist/tools/discovery/search.d.ts +41 -0
  96. package/dist/tools/discovery/search.d.ts.map +1 -0
  97. package/dist/tools/discovery/search.js +155 -0
  98. package/dist/tools/discovery/search.js.map +1 -0
  99. package/dist/tools/discovery/types.d.ts +70 -0
  100. package/dist/tools/discovery/types.d.ts.map +1 -0
  101. package/dist/tools/discovery/types.js +9 -0
  102. package/dist/tools/discovery/types.js.map +1 -0
  103. package/dist/tools/generated/ai_intelligence/index.d.ts +8 -0
  104. package/dist/tools/generated/ai_intelligence/index.d.ts.map +1 -0
  105. package/dist/tools/generated/ai_intelligence/index.js +282 -0
  106. package/dist/tools/generated/ai_intelligence/index.js.map +1 -0
  107. package/dist/tools/generated/api_security/index.d.ts +8 -0
  108. package/dist/tools/generated/api_security/index.d.ts.map +1 -0
  109. package/dist/tools/generated/api_security/index.js +1852 -0
  110. package/dist/tools/generated/api_security/index.js.map +1 -0
  111. package/dist/tools/generated/applications/index.d.ts +8 -0
  112. package/dist/tools/generated/applications/index.d.ts.map +1 -0
  113. package/dist/tools/generated/applications/index.js +1589 -0
  114. package/dist/tools/generated/applications/index.js.map +1 -0
  115. package/dist/tools/generated/bigip/index.d.ts +8 -0
  116. package/dist/tools/generated/bigip/index.d.ts.map +1 -0
  117. package/dist/tools/generated/bigip/index.js +1173 -0
  118. package/dist/tools/generated/bigip/index.js.map +1 -0
  119. package/dist/tools/generated/billing/index.d.ts +8 -0
  120. package/dist/tools/generated/billing/index.d.ts.map +1 -0
  121. package/dist/tools/generated/billing/index.js +759 -0
  122. package/dist/tools/generated/billing/index.js.map +1 -0
  123. package/dist/tools/generated/cdn/index.d.ts +8 -0
  124. package/dist/tools/generated/cdn/index.d.ts.map +1 -0
  125. package/dist/tools/generated/cdn/index.js +841 -0
  126. package/dist/tools/generated/cdn/index.js.map +1 -0
  127. package/dist/tools/generated/config/index.d.ts +8 -0
  128. package/dist/tools/generated/config/index.d.ts.map +1 -0
  129. package/dist/tools/generated/config/index.js +316 -0
  130. package/dist/tools/generated/config/index.js.map +1 -0
  131. package/dist/tools/generated/identity/index.d.ts +8 -0
  132. package/dist/tools/generated/identity/index.d.ts.map +1 -0
  133. package/dist/tools/generated/identity/index.js +5371 -0
  134. package/dist/tools/generated/identity/index.js.map +1 -0
  135. package/dist/tools/generated/infrastructure/index.d.ts +8 -0
  136. package/dist/tools/generated/infrastructure/index.d.ts.map +1 -0
  137. package/dist/tools/generated/infrastructure/index.js +5342 -0
  138. package/dist/tools/generated/infrastructure/index.js.map +1 -0
  139. package/dist/tools/generated/infrastructure_protection/index.d.ts +8 -0
  140. package/dist/tools/generated/infrastructure_protection/index.d.ts.map +1 -0
  141. package/dist/tools/generated/infrastructure_protection/index.js +2919 -0
  142. package/dist/tools/generated/infrastructure_protection/index.js.map +1 -0
  143. package/dist/tools/generated/integrations/index.d.ts +8 -0
  144. package/dist/tools/generated/integrations/index.d.ts.map +1 -0
  145. package/dist/tools/generated/integrations/index.js +1995 -0
  146. package/dist/tools/generated/integrations/index.js.map +1 -0
  147. package/dist/tools/generated/load_balancer/index.d.ts +8 -0
  148. package/dist/tools/generated/load_balancer/index.d.ts.map +1 -0
  149. package/dist/tools/generated/load_balancer/index.js +2269 -0
  150. package/dist/tools/generated/load_balancer/index.js.map +1 -0
  151. package/dist/tools/generated/networking/index.d.ts +8 -0
  152. package/dist/tools/generated/networking/index.d.ts.map +1 -0
  153. package/dist/tools/generated/networking/index.js +11289 -0
  154. package/dist/tools/generated/networking/index.js.map +1 -0
  155. package/dist/tools/generated/nginx/index.d.ts +8 -0
  156. package/dist/tools/generated/nginx/index.d.ts.map +1 -0
  157. package/dist/tools/generated/nginx/index.js +680 -0
  158. package/dist/tools/generated/nginx/index.js.map +1 -0
  159. package/dist/tools/generated/observability/index.d.ts +8 -0
  160. package/dist/tools/generated/observability/index.d.ts.map +1 -0
  161. package/dist/tools/generated/observability/index.js +6140 -0
  162. package/dist/tools/generated/observability/index.js.map +1 -0
  163. package/dist/tools/generated/operations/index.d.ts +8 -0
  164. package/dist/tools/generated/operations/index.d.ts.map +1 -0
  165. package/dist/tools/generated/operations/index.js +1759 -0
  166. package/dist/tools/generated/operations/index.js.map +1 -0
  167. package/dist/tools/generated/security/index.d.ts +8 -0
  168. package/dist/tools/generated/security/index.d.ts.map +1 -0
  169. package/dist/tools/generated/security/index.js +9111 -0
  170. package/dist/tools/generated/security/index.js.map +1 -0
  171. package/dist/tools/generated/service_mesh/index.d.ts +8 -0
  172. package/dist/tools/generated/service_mesh/index.d.ts.map +1 -0
  173. package/dist/tools/generated/service_mesh/index.js +1628 -0
  174. package/dist/tools/generated/service_mesh/index.js.map +1 -0
  175. package/dist/tools/generated/shape_security/index.d.ts +8 -0
  176. package/dist/tools/generated/shape_security/index.d.ts.map +1 -0
  177. package/dist/tools/generated/shape_security/index.js +4121 -0
  178. package/dist/tools/generated/shape_security/index.js.map +1 -0
  179. package/dist/tools/generated/subscriptions/index.d.ts +8 -0
  180. package/dist/tools/generated/subscriptions/index.d.ts.map +1 -0
  181. package/dist/tools/generated/subscriptions/index.js +778 -0
  182. package/dist/tools/generated/subscriptions/index.js.map +1 -0
  183. package/dist/tools/generated/tenant_management/index.d.ts +8 -0
  184. package/dist/tools/generated/tenant_management/index.d.ts.map +1 -0
  185. package/dist/tools/generated/tenant_management/index.js +2292 -0
  186. package/dist/tools/generated/tenant_management/index.js.map +1 -0
  187. package/dist/tools/generated/vpn/index.d.ts +8 -0
  188. package/dist/tools/generated/vpn/index.d.ts.map +1 -0
  189. package/dist/tools/generated/vpn/index.js +1183 -0
  190. package/dist/tools/generated/vpn/index.js.map +1 -0
  191. package/dist/tools/index.d.ts +7 -0
  192. package/dist/tools/index.d.ts.map +1 -0
  193. package/dist/tools/index.js +6 -0
  194. package/dist/tools/index.js.map +1 -0
  195. package/dist/tools/registry.d.ts +27 -0
  196. package/dist/tools/registry.d.ts.map +1 -0
  197. package/dist/tools/registry.js +83 -0
  198. package/dist/tools/registry.js.map +1 -0
  199. package/dist/utils/error-handling.d.ts +109 -0
  200. package/dist/utils/error-handling.d.ts.map +1 -0
  201. package/dist/utils/error-handling.js +239 -0
  202. package/dist/utils/error-handling.js.map +1 -0
  203. package/dist/utils/index.d.ts +7 -0
  204. package/dist/utils/index.d.ts.map +1 -0
  205. package/dist/utils/index.js +6 -0
  206. package/dist/utils/index.js.map +1 -0
  207. package/dist/utils/logging.d.ts +75 -0
  208. package/dist/utils/logging.d.ts.map +1 -0
  209. package/dist/utils/logging.js +131 -0
  210. package/dist/utils/logging.js.map +1 -0
  211. package/manifest.json +143 -0
  212. package/package.json +95 -0
@@ -0,0 +1,759 @@
1
+ /**
2
+ * Generated tool definitions for billing domain
3
+ * DO NOT EDIT - This file is auto-generated by scripts/generate.ts
4
+ */
5
+ export const billingTools = [
6
+ {
7
+ toolName: "f5xc-api-billing-current-list",
8
+ method: "GET",
9
+ path: "/api/web/namespaces/system/usage_plans/current",
10
+ operation: "list",
11
+ domain: "billing",
12
+ resource: "current",
13
+ summary: "GET current usage plan.",
14
+ description: "Endpoint to GET current usage plan.",
15
+ pathParameters: [],
16
+ queryParameters: [],
17
+ requestBodySchema: null,
18
+ responseSchema: {
19
+ $ref: "#/components/schemas/planLocalizedPlan",
20
+ },
21
+ requiredParams: [],
22
+ operationId: "ves.io.schema.usage.plan.CustomAPI.GetCurrentPlan",
23
+ tags: ["Other"],
24
+ sourceFile: "domains/billing.json",
25
+ },
26
+ {
27
+ toolName: "f5xc-api-billing-current-usage-create",
28
+ method: "POST",
29
+ path: "/api/web/namespaces/{namespace}/current_usage",
30
+ operation: "create",
31
+ domain: "billing",
32
+ resource: "current-usage",
33
+ summary: "List current usage details.",
34
+ description: "List current usage details per tenant and namespace. Some usage have only sense in the system namespace and this selector has no effect on it.",
35
+ pathParameters: [
36
+ {
37
+ description: "Namespace\nNamespace to be considered.",
38
+ in: "path",
39
+ name: "namespace",
40
+ required: true,
41
+ schema: {
42
+ type: "string",
43
+ },
44
+ },
45
+ ],
46
+ queryParameters: [],
47
+ requestBodySchema: {
48
+ $ref: "#/components/schemas/usageListCurrentUsageReq",
49
+ },
50
+ responseSchema: {
51
+ $ref: "#/components/schemas/usageListCurrentUsageResp",
52
+ },
53
+ requiredParams: ["body", "namespace"],
54
+ operationId: "ves.io.schema.usage.CustomCalculatedUsageAPI.ListCurrentUsage",
55
+ tags: ["Other"],
56
+ sourceFile: "domains/billing.json",
57
+ },
58
+ {
59
+ toolName: "f5xc-api-billing-custom-list-list",
60
+ method: "GET",
61
+ path: "/api/web/namespaces/system/usage_plans/custom_list",
62
+ operation: "list",
63
+ domain: "billing",
64
+ resource: "custom-list",
65
+ summary: "List Usage Plans.",
66
+ description: "Endpoint to GET usage plans.",
67
+ pathParameters: [],
68
+ queryParameters: [],
69
+ requestBodySchema: null,
70
+ responseSchema: {
71
+ $ref: "#/components/schemas/planListUsagePlansRsp",
72
+ },
73
+ requiredParams: [],
74
+ operationId: "ves.io.schema.usage.plan.CustomAPI.ListUsagePlans",
75
+ tags: ["Other"],
76
+ sourceFile: "domains/billing.json",
77
+ },
78
+ {
79
+ toolName: "f5xc-api-billing-hourly-usage-detail-create",
80
+ method: "POST",
81
+ path: "/api/web/namespaces/{namespace}/hourly_usage_details",
82
+ operation: "create",
83
+ domain: "billing",
84
+ resource: "hourly-usage-detail",
85
+ summary: "List hourly usage details.",
86
+ description: "List the usage divided by hour. The usage is hourly aggregated, from the start of UTC hour\nto the end of UTC hour. It is used to see the detailed breakdown of the usage received from ListUsageDetails.",
87
+ pathParameters: [
88
+ {
89
+ description: "Namespace\nNamespace.",
90
+ in: "path",
91
+ name: "namespace",
92
+ required: true,
93
+ schema: {
94
+ type: "string",
95
+ },
96
+ },
97
+ ],
98
+ queryParameters: [],
99
+ requestBodySchema: {
100
+ $ref: "#/components/schemas/usageListHourlyUsageDetailsReq",
101
+ },
102
+ responseSchema: {
103
+ $ref: "#/components/schemas/usageListHourlyUsageDetailsResp",
104
+ },
105
+ requiredParams: ["body", "namespace"],
106
+ operationId: "ves.io.schema.usage.CustomAggregatedUsageAPI.ListHourlyUsageDetails",
107
+ tags: ["Other"],
108
+ sourceFile: "domains/billing.json",
109
+ },
110
+ {
111
+ toolName: "f5xc-api-billing-invoice-pdf-list",
112
+ method: "GET",
113
+ path: "/api/web/namespaces/{namespace}/usage/invoice_pdf",
114
+ operation: "list",
115
+ domain: "billing",
116
+ resource: "invoice-pdf",
117
+ summary: "GetInvoicePdf.",
118
+ description: "Retrieve pdf for a paid invoice by its name.",
119
+ pathParameters: [
120
+ {
121
+ description: "Namespace\nNamespace filter.",
122
+ in: "path",
123
+ name: "namespace",
124
+ required: true,
125
+ schema: {
126
+ type: "string",
127
+ },
128
+ },
129
+ ],
130
+ queryParameters: [
131
+ {
132
+ description: "Name of the invoice to be downloaded.",
133
+ in: "query",
134
+ name: "name",
135
+ required: false,
136
+ schema: {
137
+ type: "string",
138
+ },
139
+ },
140
+ ],
141
+ requestBodySchema: null,
142
+ responseSchema: {
143
+ $ref: "#/components/schemas/invoiceDownloadInvoicePdfRsp",
144
+ },
145
+ requiredParams: ["namespace"],
146
+ operationId: "ves.io.schema.usage.invoice.CustomAPI.DownloadInvoicePdf",
147
+ tags: ["Billing"],
148
+ sourceFile: "domains/billing.json",
149
+ },
150
+ {
151
+ toolName: "f5xc-api-billing-limit-list",
152
+ method: "GET",
153
+ path: "/api/web/namespaces/{namespace}/quota/limits",
154
+ operation: "list",
155
+ domain: "billing",
156
+ resource: "limit",
157
+ summary: "Custom GET Quota Limits.",
158
+ description: "Custom endpoint to return quota limits.",
159
+ pathParameters: [
160
+ {
161
+ description: "Namespace\nThe namespace this item belongs to.",
162
+ in: "path",
163
+ name: "namespace",
164
+ required: true,
165
+ schema: {
166
+ type: "string",
167
+ },
168
+ },
169
+ ],
170
+ queryParameters: [],
171
+ requestBodySchema: null,
172
+ responseSchema: {
173
+ $ref: "#/components/schemas/quotaGetQuotaLimitsResponse",
174
+ },
175
+ requiredParams: ["namespace"],
176
+ operationId: "ves.io.schema.quota.CustomAPI.CustomGetQuotaLimits",
177
+ tags: ["Billing"],
178
+ sourceFile: "domains/billing.json",
179
+ },
180
+ {
181
+ toolName: "f5xc-api-billing-monthly-usage-create",
182
+ method: "POST",
183
+ path: "/api/web/namespaces/{namespace}/monthly_usage",
184
+ operation: "create",
185
+ domain: "billing",
186
+ resource: "monthly-usage",
187
+ summary: "List monthly usage details.",
188
+ description: "List monthly usage details per tenant and namespace. Some usage have only sense in the system namespace and this selector has no effect on it.",
189
+ pathParameters: [
190
+ {
191
+ description: "Namespace\nNamespace to be considered.",
192
+ in: "path",
193
+ name: "namespace",
194
+ required: true,
195
+ schema: {
196
+ type: "string",
197
+ },
198
+ },
199
+ ],
200
+ queryParameters: [],
201
+ requestBodySchema: {
202
+ $ref: "#/components/schemas/usageListMonthlyUsageReq",
203
+ },
204
+ responseSchema: {
205
+ $ref: "#/components/schemas/usageListMonthlyUsageResp",
206
+ },
207
+ requiredParams: ["body", "namespace"],
208
+ operationId: "ves.io.schema.usage.CustomCalculatedUsageAPI.ListMonthlyUsage",
209
+ tags: ["Other"],
210
+ sourceFile: "domains/billing.json",
211
+ },
212
+ {
213
+ toolName: "f5xc-api-billing-payment-method-create",
214
+ method: "POST",
215
+ path: "/api/web/namespaces/{namespace}/billing/payment_methods",
216
+ operation: "create",
217
+ domain: "billing",
218
+ resource: "payment-method",
219
+ summary: "Create payment method specification.",
220
+ description: "Creates a new payment method with a specific role.",
221
+ pathParameters: [
222
+ {
223
+ description: "Namespace\nThis namespace specifies the namespace in which the payment method will be created.\nIf not provided, the default 'system' namespace will be used.",
224
+ in: "path",
225
+ name: "namespace",
226
+ required: true,
227
+ schema: {
228
+ type: "string",
229
+ },
230
+ },
231
+ ],
232
+ queryParameters: [],
233
+ requestBodySchema: {
234
+ $ref: "#/components/schemas/payment_methodCreatePaymentMethodRequest",
235
+ },
236
+ responseSchema: {
237
+ $ref: "#/components/schemas/payment_methodCreatePaymentMethodResponse",
238
+ },
239
+ requiredParams: ["body", "namespace"],
240
+ operationId: "ves.io.schema.billing.payment_method.CustomAPI.Create",
241
+ tags: ["Billing"],
242
+ sourceFile: "domains/billing.json",
243
+ },
244
+ {
245
+ toolName: "f5xc-api-billing-payment-method-delete",
246
+ method: "DELETE",
247
+ path: "/api/web/namespaces/{namespace}/billing/payment_methods/{name}",
248
+ operation: "delete",
249
+ domain: "billing",
250
+ resource: "payment-method",
251
+ summary: "DELETE the specified payment method.",
252
+ description: "Remove the specified payment_method.",
253
+ pathParameters: [
254
+ {
255
+ description: "Name\nName of the payment method.",
256
+ in: "path",
257
+ name: "name",
258
+ required: true,
259
+ schema: {
260
+ type: "string",
261
+ },
262
+ },
263
+ {
264
+ description: "Namespace\nNamespace in which the configuration object is present.",
265
+ in: "path",
266
+ name: "namespace",
267
+ required: true,
268
+ schema: {
269
+ type: "string",
270
+ },
271
+ },
272
+ ],
273
+ queryParameters: [],
274
+ requestBodySchema: null,
275
+ responseSchema: {},
276
+ requiredParams: ["name", "namespace"],
277
+ operationId: "ves.io.schema.billing.payment_method.CustomAPI.Delete",
278
+ tags: ["Billing"],
279
+ sourceFile: "domains/billing.json",
280
+ },
281
+ {
282
+ toolName: "f5xc-api-billing-plan-transition-create",
283
+ method: "POST",
284
+ path: "/api/web/namespaces/{namespace}/billing/plan_transition",
285
+ operation: "create",
286
+ domain: "billing",
287
+ resource: "plan-transition",
288
+ summary: "InitiatePlanTransition.",
289
+ description: "API to create a plan transition request in db.",
290
+ pathParameters: [
291
+ {
292
+ description: "Namespace\nThis namespace is not used, all requests are stored under system namespace.",
293
+ in: "path",
294
+ name: "namespace",
295
+ required: true,
296
+ schema: {
297
+ type: "string",
298
+ },
299
+ },
300
+ ],
301
+ queryParameters: [],
302
+ requestBodySchema: {
303
+ $ref: "#/components/schemas/plan_transitionInitiatePlanTransitionReq",
304
+ },
305
+ responseSchema: {
306
+ $ref: "#/components/schemas/plan_transitionInitiatePlanTransitionRsp",
307
+ },
308
+ requiredParams: ["body", "namespace"],
309
+ operationId: "ves.io.schema.billing.plan_transition.CustomAPI.InitiatePlanTransition",
310
+ tags: ["Billing"],
311
+ sourceFile: "domains/billing.json",
312
+ },
313
+ {
314
+ toolName: "f5xc-api-billing-plan-transition-list",
315
+ method: "GET",
316
+ path: "/no_auth/namespaces/system/billing/plan_transition",
317
+ operation: "list",
318
+ domain: "billing",
319
+ resource: "plan-transition",
320
+ summary: "GetPlanTransition.",
321
+ description: "API to GET plan transition details by a plan transition request uid returned from InitiatePlanTransition.\nFor now this one returns only current State.",
322
+ pathParameters: [],
323
+ queryParameters: [
324
+ {
325
+ description: "ID of the plan transition request.",
326
+ in: "query",
327
+ name: "id",
328
+ required: false,
329
+ schema: {
330
+ type: "string",
331
+ },
332
+ },
333
+ ],
334
+ requestBodySchema: null,
335
+ responseSchema: {
336
+ $ref: "#/components/schemas/plan_transitionGetPlanTransitionRsp",
337
+ },
338
+ requiredParams: [],
339
+ operationId: "ves.io.schema.billing.plan_transition.CustomAPI.GetPlanTransition",
340
+ tags: ["Billing"],
341
+ sourceFile: "domains/billing.json",
342
+ },
343
+ {
344
+ toolName: "f5xc-api-billing-primary-create",
345
+ method: "POST",
346
+ path: "/api/web/namespaces/{namespace}/billing/payment_method/{name}/primary",
347
+ operation: "create",
348
+ domain: "billing",
349
+ resource: "primary",
350
+ summary: "Make credit card primary.",
351
+ description: "Flags a payment method as primary. Nothing changes is the payment method is already primary, if the payment method is secondary then it becomes default and there will be no secondary.",
352
+ pathParameters: [
353
+ {
354
+ description: "Name\nThe name of the payment method object to be made primary.",
355
+ in: "path",
356
+ name: "name",
357
+ required: true,
358
+ schema: {
359
+ type: "string",
360
+ },
361
+ },
362
+ {
363
+ description: "Namespace\nThe namespace in which the payment method object is present.",
364
+ in: "path",
365
+ name: "namespace",
366
+ required: true,
367
+ schema: {
368
+ type: "string",
369
+ },
370
+ },
371
+ ],
372
+ queryParameters: [],
373
+ requestBodySchema: {
374
+ $ref: "#/components/schemas/payment_methodPaymentMethodPrimaryReq",
375
+ },
376
+ responseSchema: {},
377
+ requiredParams: ["body", "name", "namespace"],
378
+ operationId: "ves.io.schema.billing.payment_method.CustomAPI.MakePaymentMethodPrimary",
379
+ tags: ["Billing"],
380
+ sourceFile: "domains/billing.json",
381
+ },
382
+ {
383
+ toolName: "f5xc-api-billing-quota-create",
384
+ method: "POST",
385
+ path: "/api/web/namespaces/{metadata.namespace}/quotas",
386
+ operation: "create",
387
+ domain: "billing",
388
+ resource: "quota",
389
+ summary: "Create Quota.",
390
+ description: "Create quota creates a given object from storage backend for metadata.namespace.",
391
+ pathParameters: [
392
+ {
393
+ description: 'Namespace\nThis defines the workspace within which each the configuration object is to be created.\nMust be a DNS_LABEL format. For a namespace object itself, namespace value will be ""',
394
+ in: "path",
395
+ name: "metadata.namespace",
396
+ required: true,
397
+ schema: {
398
+ type: "string",
399
+ },
400
+ },
401
+ ],
402
+ queryParameters: [],
403
+ requestBodySchema: {
404
+ $ref: "#/components/schemas/quotaCreateRequest",
405
+ },
406
+ responseSchema: {
407
+ $ref: "#/components/schemas/quotaCreateResponse",
408
+ },
409
+ requiredParams: ["body", "metadata.namespace"],
410
+ operationId: "ves.io.schema.quota.API.Create",
411
+ tags: ["Other"],
412
+ sourceFile: "domains/billing.json",
413
+ },
414
+ {
415
+ toolName: "f5xc-api-billing-quota-delete",
416
+ method: "DELETE",
417
+ path: "/api/web/namespaces/{namespace}/quotas/{name}",
418
+ operation: "delete",
419
+ domain: "billing",
420
+ resource: "quota",
421
+ summary: "DELETE Quota.",
422
+ description: "DELETE the specified quota.",
423
+ pathParameters: [
424
+ {
425
+ description: "Name\nName of the configuration object.",
426
+ in: "path",
427
+ name: "name",
428
+ required: true,
429
+ schema: {
430
+ type: "string",
431
+ },
432
+ },
433
+ {
434
+ description: "Namespace\nNamespace in which the configuration object is present.",
435
+ in: "path",
436
+ name: "namespace",
437
+ required: true,
438
+ schema: {
439
+ type: "string",
440
+ },
441
+ },
442
+ ],
443
+ queryParameters: [],
444
+ requestBodySchema: {
445
+ $ref: "#/components/schemas/quotaDeleteRequest",
446
+ },
447
+ responseSchema: {},
448
+ requiredParams: ["body", "name", "namespace"],
449
+ operationId: "ves.io.schema.quota.API.Delete",
450
+ tags: ["Other"],
451
+ sourceFile: "domains/billing.json",
452
+ },
453
+ {
454
+ toolName: "f5xc-api-billing-quota-get",
455
+ method: "GET",
456
+ path: "/api/web/namespaces/{namespace}/quotas/{name}",
457
+ operation: "get",
458
+ domain: "billing",
459
+ resource: "quota",
460
+ summary: "GET Quota",
461
+ description: "GET quota reads a given object from storage backend for metadata.namespace.",
462
+ pathParameters: [
463
+ {
464
+ description: "Name\nThe name of the configuration object to be fetched.",
465
+ in: "path",
466
+ name: "name",
467
+ required: true,
468
+ schema: {
469
+ type: "string",
470
+ },
471
+ },
472
+ {
473
+ description: "Namespace\nThe namespace in which the configuration object is present.",
474
+ in: "path",
475
+ name: "namespace",
476
+ required: true,
477
+ schema: {
478
+ type: "string",
479
+ },
480
+ },
481
+ ],
482
+ queryParameters: [
483
+ {
484
+ description: "The format in which the configuration object is to be fetched. This could be for example\n - in GetSpec form for the contents of object\n - in CreateRequest form to create a new similar object\n - to ReplaceRequest form to replace changeable values\n\nDefault format of returned resource\nResponse should be in CreateRequest format\nResponse should be in ReplaceRequest format\nResponse should be in StatusObject(s) format\nResponse should be in format of GetSpecType\nResponse should have other objects referring to this object\nResponse should have deleted and disabled objects referrred by this object.",
485
+ in: "query",
486
+ name: "response_format",
487
+ required: false,
488
+ schema: {
489
+ default: "GET_RSP_FORMAT_DEFAULT",
490
+ enum: [
491
+ "GET_RSP_FORMAT_DEFAULT",
492
+ "GET_RSP_FORMAT_FOR_CREATE",
493
+ "GET_RSP_FORMAT_FOR_REPLACE",
494
+ "GET_RSP_FORMAT_STATUS",
495
+ "GET_RSP_FORMAT_READ",
496
+ "GET_RSP_FORMAT_REFERRING_OBJECTS",
497
+ "GET_RSP_FORMAT_BROKEN_REFERENCES",
498
+ ],
499
+ type: "string",
500
+ },
501
+ },
502
+ ],
503
+ requestBodySchema: null,
504
+ responseSchema: {
505
+ $ref: "#/components/schemas/quotaGetResponse",
506
+ },
507
+ requiredParams: ["name", "namespace"],
508
+ operationId: "ves.io.schema.quota.API.Get",
509
+ tags: ["Other"],
510
+ sourceFile: "domains/billing.json",
511
+ },
512
+ {
513
+ toolName: "f5xc-api-billing-quota-list",
514
+ method: "GET",
515
+ path: "/api/web/namespaces/{namespace}/quotas",
516
+ operation: "list",
517
+ domain: "billing",
518
+ resource: "quota",
519
+ summary: "List Quota.",
520
+ description: "List the set of quota in a namespace.",
521
+ pathParameters: [
522
+ {
523
+ description: "Namespace\nNamespace to scope the listing of quota.",
524
+ in: "path",
525
+ name: "namespace",
526
+ required: true,
527
+ schema: {
528
+ type: "string",
529
+ },
530
+ },
531
+ ],
532
+ queryParameters: [
533
+ {
534
+ description: "A LabelSelectorType expression that every item in list response will satisfy.",
535
+ in: "query",
536
+ name: "label_filter",
537
+ required: false,
538
+ schema: {
539
+ type: "string",
540
+ },
541
+ },
542
+ {
543
+ description: 'X-example: ""\nExtra fields to return along with summary fields.',
544
+ in: "query",
545
+ name: "report_fields",
546
+ required: false,
547
+ schema: {
548
+ items: {
549
+ type: "string",
550
+ },
551
+ type: "array",
552
+ },
553
+ },
554
+ {
555
+ description: 'X-example: ""\nExtra status fields to return along with summary fields.',
556
+ in: "query",
557
+ name: "report_status_fields",
558
+ required: false,
559
+ schema: {
560
+ items: {
561
+ type: "string",
562
+ },
563
+ type: "array",
564
+ },
565
+ },
566
+ ],
567
+ requestBodySchema: null,
568
+ responseSchema: {
569
+ $ref: "#/components/schemas/quotaListResponse",
570
+ },
571
+ requiredParams: ["namespace"],
572
+ operationId: "ves.io.schema.quota.API.List",
573
+ tags: ["Other"],
574
+ sourceFile: "domains/billing.json",
575
+ },
576
+ {
577
+ toolName: "f5xc-api-billing-quota-update",
578
+ method: "PUT",
579
+ path: "/api/web/namespaces/{metadata.namespace}/quotas/{metadata.name}",
580
+ operation: "update",
581
+ domain: "billing",
582
+ resource: "quota",
583
+ summary: "Replace Quota.",
584
+ description: "Replace quota updates a given object from storage backend for metadata.namespace.",
585
+ pathParameters: [
586
+ {
587
+ description: "Name\nThe configuration object to be replaced will be looked up by name.",
588
+ in: "path",
589
+ name: "metadata.name",
590
+ required: true,
591
+ schema: {
592
+ type: "string",
593
+ },
594
+ },
595
+ {
596
+ description: 'Namespace\nThis defines the workspace within which each the configuration object is to be created.\nMust be a DNS_LABEL format. For a namespace object itself, namespace value will be ""',
597
+ in: "path",
598
+ name: "metadata.namespace",
599
+ required: true,
600
+ schema: {
601
+ type: "string",
602
+ },
603
+ },
604
+ ],
605
+ queryParameters: [],
606
+ requestBodySchema: {
607
+ $ref: "#/components/schemas/quotaReplaceRequest",
608
+ },
609
+ responseSchema: {
610
+ $ref: "#/components/schemas/quotaReplaceResponse",
611
+ },
612
+ requiredParams: ["body", "metadata.name", "metadata.namespace"],
613
+ operationId: "ves.io.schema.quota.API.Replace",
614
+ tags: ["Other"],
615
+ sourceFile: "domains/billing.json",
616
+ },
617
+ {
618
+ toolName: "f5xc-api-billing-secondary-create",
619
+ method: "POST",
620
+ path: "/api/web/namespaces/{namespace}/billing/payment_method/{name}/secondary",
621
+ operation: "create",
622
+ domain: "billing",
623
+ resource: "secondary",
624
+ summary: "Make payment method secondary.",
625
+ description: "Flags a payment method as secondary. Nothing changes is the payment method is already secondary, if the payment method is primary then it becomes secondary and there will be no primary.",
626
+ pathParameters: [
627
+ {
628
+ description: "Name\nThe name of the payment method object to be made secondary.",
629
+ in: "path",
630
+ name: "name",
631
+ required: true,
632
+ schema: {
633
+ type: "string",
634
+ },
635
+ },
636
+ {
637
+ description: "Namespace\nThe namespace in which the payment method object is present.",
638
+ in: "path",
639
+ name: "namespace",
640
+ required: true,
641
+ schema: {
642
+ type: "string",
643
+ },
644
+ },
645
+ ],
646
+ queryParameters: [],
647
+ requestBodySchema: {
648
+ $ref: "#/components/schemas/payment_methodPaymentMethodSecondaryReq",
649
+ },
650
+ responseSchema: {},
651
+ requiredParams: ["body", "name", "namespace"],
652
+ operationId: "ves.io.schema.billing.payment_method.CustomAPI.MakePaymentMethodSecondary",
653
+ tags: ["Billing"],
654
+ sourceFile: "domains/billing.json",
655
+ },
656
+ {
657
+ toolName: "f5xc-api-billing-swap-primary-create",
658
+ method: "POST",
659
+ path: "/api/web/namespaces/{namespace}/billing/payment_method/{name}/swap-primary",
660
+ operation: "create",
661
+ domain: "billing",
662
+ resource: "swap-primary",
663
+ summary: "Make payment method secondary.",
664
+ description: "Swaps payment method roles - the payment method used as a parameter will became primary, any other will become secondary. The `name` parameter is ignored.",
665
+ pathParameters: [
666
+ {
667
+ description: "Name\nThe name of the payment method object to be updated.",
668
+ in: "path",
669
+ name: "name",
670
+ required: true,
671
+ schema: {
672
+ type: "string",
673
+ },
674
+ },
675
+ {
676
+ description: "Namespace\nThe namespace in which the payment method object is present.",
677
+ in: "path",
678
+ name: "namespace",
679
+ required: true,
680
+ schema: {
681
+ type: "string",
682
+ },
683
+ },
684
+ ],
685
+ queryParameters: [],
686
+ requestBodySchema: {
687
+ $ref: "#/components/schemas/payment_methodPaymentMethodRoleSwapReq",
688
+ },
689
+ responseSchema: {},
690
+ requiredParams: ["body", "name", "namespace"],
691
+ operationId: "ves.io.schema.billing.payment_method.CustomAPI.SwapPaymentMethodRole",
692
+ tags: ["Billing"],
693
+ sourceFile: "domains/billing.json",
694
+ },
695
+ {
696
+ toolName: "f5xc-api-billing-usage-detail-create",
697
+ method: "POST",
698
+ path: "/api/web/namespaces/{namespace}/usage_details",
699
+ operation: "create",
700
+ domain: "billing",
701
+ resource: "usage-detail",
702
+ summary: "List usage details.",
703
+ description: "List usage details per tenant and namespace. Some usage have only sense in the system namespace and this selector has no effect on it.",
704
+ pathParameters: [
705
+ {
706
+ description: "Namespace\nNamespace to be considered.",
707
+ in: "path",
708
+ name: "namespace",
709
+ required: true,
710
+ schema: {
711
+ type: "string",
712
+ },
713
+ },
714
+ ],
715
+ queryParameters: [],
716
+ requestBodySchema: {
717
+ $ref: "#/components/schemas/usageListUsageDetailsReq",
718
+ },
719
+ responseSchema: {
720
+ $ref: "#/components/schemas/usageListUsageDetailsResp",
721
+ },
722
+ requiredParams: ["body", "namespace"],
723
+ operationId: "ves.io.schema.usage.CustomAggregatedUsageAPI.ListUsageDetails",
724
+ tags: ["Other"],
725
+ sourceFile: "domains/billing.json",
726
+ },
727
+ {
728
+ toolName: "f5xc-api-billing-usage-list",
729
+ method: "GET",
730
+ path: "/api/web/namespaces/{namespace}/quota/usage",
731
+ operation: "list",
732
+ domain: "billing",
733
+ resource: "usage",
734
+ summary: "GET Quota Usage.",
735
+ description: "GET allows users to query limits and current usage of resources.",
736
+ pathParameters: [
737
+ {
738
+ description: "Namespace\nThe tenant this item belongs to.",
739
+ in: "path",
740
+ name: "namespace",
741
+ required: true,
742
+ schema: {
743
+ type: "string",
744
+ },
745
+ },
746
+ ],
747
+ queryParameters: [],
748
+ requestBodySchema: null,
749
+ responseSchema: {
750
+ $ref: "#/components/schemas/quotaGetResponseType",
751
+ },
752
+ requiredParams: ["namespace"],
753
+ operationId: "ves.io.schema.quota.CustomAPI.GetQuotaUsage",
754
+ tags: ["Billing"],
755
+ sourceFile: "domains/billing.json",
756
+ },
757
+ ];
758
+ export default billingTools;
759
+ //# sourceMappingURL=index.js.map