@vercel/sdk 1.11.2 → 1.12.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 (257) hide show
  1. package/README.md +60 -59
  2. package/bin/mcp-server.js +4502 -3066
  3. package/bin/mcp-server.js.map +46 -40
  4. package/docs/sdks/deployments/README.md +8 -0
  5. package/docs/sdks/edgecache/README.md +169 -0
  6. package/docs/sdks/integrations/README.md +83 -0
  7. package/docs/sdks/projects/README.md +0 -2
  8. package/docs/sdks/vercel/README.md +0 -74
  9. package/esm/__tests__/deployments.test.js +1 -1
  10. package/esm/__tests__/deployments.test.js.map +1 -1
  11. package/esm/__tests__/domains.test.js +3 -12
  12. package/esm/__tests__/domains.test.js.map +1 -1
  13. package/esm/__tests__/integrations.test.js +28 -1
  14. package/esm/__tests__/integrations.test.js.map +1 -1
  15. package/esm/__tests__/logdrains.test.js +9 -0
  16. package/esm/__tests__/logdrains.test.js.map +1 -1
  17. package/esm/__tests__/rollingrelease.test.js +2 -6
  18. package/esm/__tests__/rollingrelease.test.js.map +1 -1
  19. package/esm/__tests__/security.test.js +4 -4
  20. package/esm/__tests__/security.test.js.map +1 -1
  21. package/esm/__tests__/vercel.test.js +3 -27
  22. package/esm/__tests__/vercel.test.js.map +1 -1
  23. package/esm/funcs/deploymentsGetDeployments.js +1 -0
  24. package/esm/funcs/deploymentsGetDeployments.js.map +1 -1
  25. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts +20 -0
  26. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  27. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js +91 -0
  28. package/esm/funcs/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  29. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts → edgeCacheInvalidateByTags.d.ts} +9 -3
  30. package/esm/funcs/edgeCacheInvalidateByTags.d.ts.map +1 -0
  31. package/esm/funcs/edgeCacheInvalidateByTags.js +91 -0
  32. package/esm/funcs/edgeCacheInvalidateByTags.js.map +1 -0
  33. package/esm/funcs/integrationsGetBillingPlans.d.ts +20 -0
  34. package/esm/funcs/integrationsGetBillingPlans.d.ts.map +1 -0
  35. package/esm/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js → integrationsGetBillingPlans.js} +21 -9
  36. package/esm/funcs/integrationsGetBillingPlans.js.map +1 -0
  37. package/esm/funcs/marketplaceImportResource.js +2 -2
  38. package/esm/funcs/marketplaceImportResource.js.map +1 -1
  39. package/esm/funcs/marketplaceUpdateResourceSecrets.js +2 -2
  40. package/esm/funcs/marketplaceUpdateResourceSecrets.js.map +1 -1
  41. package/esm/funcs/marketplaceUpdateResourceSecretsById.js +2 -2
  42. package/esm/funcs/marketplaceUpdateResourceSecretsById.js.map +1 -1
  43. package/esm/funcs/projectsGetProjects.js +0 -1
  44. package/esm/funcs/projectsGetProjects.js.map +1 -1
  45. package/esm/lib/config.d.ts +3 -3
  46. package/esm/lib/config.js +3 -3
  47. package/esm/lib/url.js +1 -1
  48. package/esm/lib/url.js.map +1 -1
  49. package/esm/mcp-server/mcp-server.js +1 -1
  50. package/esm/mcp-server/server.d.ts.map +1 -1
  51. package/esm/mcp-server/server.js +7 -3
  52. package/esm/mcp-server/server.js.map +1 -1
  53. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts +7 -0
  54. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.d.ts.map +1 -0
  55. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js +27 -0
  56. package/esm/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.js.map +1 -0
  57. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts +7 -0
  58. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.d.ts.map +1 -0
  59. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js +27 -0
  60. package/esm/mcp-server/tools/edgeCacheInvalidateByTags.js.map +1 -0
  61. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts +7 -0
  62. package/esm/mcp-server/tools/integrationsGetBillingPlans.d.ts.map +1 -0
  63. package/esm/mcp-server/tools/integrationsGetBillingPlans.js +28 -0
  64. package/esm/mcp-server/tools/integrationsGetBillingPlans.js.map +1 -0
  65. package/esm/models/approverollingreleasestageop.d.ts +15 -0
  66. package/esm/models/approverollingreleasestageop.d.ts.map +1 -1
  67. package/esm/models/approverollingreleasestageop.js +6 -0
  68. package/esm/models/approverollingreleasestageop.js.map +1 -1
  69. package/esm/models/canceldeploymentop.d.ts +63 -50
  70. package/esm/models/canceldeploymentop.d.ts.map +1 -1
  71. package/esm/models/canceldeploymentop.js +59 -54
  72. package/esm/models/canceldeploymentop.js.map +1 -1
  73. package/esm/models/completerollingreleaseop.d.ts +15 -0
  74. package/esm/models/completerollingreleaseop.d.ts.map +1 -1
  75. package/esm/models/completerollingreleaseop.js +6 -0
  76. package/esm/models/completerollingreleaseop.js.map +1 -1
  77. package/esm/models/createdeploymentop.d.ts +289 -144
  78. package/esm/models/createdeploymentop.d.ts.map +1 -1
  79. package/esm/models/createdeploymentop.js +259 -124
  80. package/esm/models/createdeploymentop.js.map +1 -1
  81. package/esm/models/createedgeconfigop.d.ts +2 -2
  82. package/esm/models/createedgeconfigop.d.ts.map +1 -1
  83. package/esm/models/createedgeconfigop.js +2 -2
  84. package/esm/models/createedgeconfigop.js.map +1 -1
  85. package/esm/models/createintegrationstoredirectop.d.ts +906 -308
  86. package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
  87. package/esm/models/createintegrationstoredirectop.js +1077 -371
  88. package/esm/models/createintegrationstoredirectop.js.map +1 -1
  89. package/esm/models/createlogdrainop.d.ts +126 -4
  90. package/esm/models/createlogdrainop.d.ts.map +1 -1
  91. package/esm/models/createlogdrainop.js +129 -1
  92. package/esm/models/createlogdrainop.js.map +1 -1
  93. package/esm/models/createprojectop.d.ts +43 -30
  94. package/esm/models/createprojectop.d.ts.map +1 -1
  95. package/esm/models/createprojectop.js +24 -18
  96. package/esm/models/createprojectop.js.map +1 -1
  97. package/esm/models/dangerouslydeletebytagsop.d.ts +117 -0
  98. package/esm/models/dangerouslydeletebytagsop.d.ts.map +1 -0
  99. package/esm/models/dangerouslydeletebytagsop.js +117 -0
  100. package/esm/models/dangerouslydeletebytagsop.js.map +1 -0
  101. package/esm/models/getbillingplansop.d.ts +257 -0
  102. package/esm/models/getbillingplansop.d.ts.map +1 -0
  103. package/esm/models/getbillingplansop.js +244 -0
  104. package/esm/models/getbillingplansop.js.map +1 -0
  105. package/esm/models/getconfigurationop.d.ts +8 -8
  106. package/esm/models/getconfigurationop.d.ts.map +1 -1
  107. package/esm/models/getconfigurationop.js +12 -12
  108. package/esm/models/getconfigurationop.js.map +1 -1
  109. package/esm/models/getconfigurationproductsop.d.ts +909 -390
  110. package/esm/models/getconfigurationproductsop.d.ts.map +1 -1
  111. package/esm/models/getconfigurationproductsop.js +1104 -471
  112. package/esm/models/getconfigurationproductsop.js.map +1 -1
  113. package/esm/models/getconfigurationsop.d.ts +3 -0
  114. package/esm/models/getconfigurationsop.d.ts.map +1 -1
  115. package/esm/models/getconfigurationsop.js +1 -0
  116. package/esm/models/getconfigurationsop.js.map +1 -1
  117. package/esm/models/getdeploymentop.d.ts +33 -20
  118. package/esm/models/getdeploymentop.d.ts.map +1 -1
  119. package/esm/models/getdeploymentop.js +25 -20
  120. package/esm/models/getdeploymentop.js.map +1 -1
  121. package/esm/models/getdeploymentsop.d.ts +8 -0
  122. package/esm/models/getdeploymentsop.d.ts.map +1 -1
  123. package/esm/models/getdeploymentsop.js +3 -0
  124. package/esm/models/getdeploymentsop.js.map +1 -1
  125. package/esm/models/getedgeconfigop.d.ts +2 -2
  126. package/esm/models/getedgeconfigop.d.ts.map +1 -1
  127. package/esm/models/getedgeconfigop.js +2 -2
  128. package/esm/models/getedgeconfigop.js.map +1 -1
  129. package/esm/models/getintegrationlogdrainsop.d.ts +125 -0
  130. package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
  131. package/esm/models/getintegrationlogdrainsop.js +130 -0
  132. package/esm/models/getintegrationlogdrainsop.js.map +1 -1
  133. package/esm/models/getprojectsop.d.ts +206 -178
  134. package/esm/models/getprojectsop.d.ts.map +1 -1
  135. package/esm/models/getprojectsop.js +207 -166
  136. package/esm/models/getprojectsop.js.map +1 -1
  137. package/esm/models/getrollingreleaseconfigop.d.ts +5 -0
  138. package/esm/models/getrollingreleaseconfigop.d.ts.map +1 -1
  139. package/esm/models/getrollingreleaseconfigop.js +2 -0
  140. package/esm/models/getrollingreleaseconfigop.js.map +1 -1
  141. package/esm/models/getrollingreleaseop.d.ts +15 -0
  142. package/esm/models/getrollingreleaseop.d.ts.map +1 -1
  143. package/esm/models/getrollingreleaseop.js +6 -0
  144. package/esm/models/getrollingreleaseop.js.map +1 -1
  145. package/esm/models/getwebhooksop.d.ts +3 -0
  146. package/esm/models/getwebhooksop.d.ts.map +1 -1
  147. package/esm/models/getwebhooksop.js +1 -0
  148. package/esm/models/getwebhooksop.js.map +1 -1
  149. package/esm/models/importresourceop.d.ts +15 -15
  150. package/esm/models/importresourceop.d.ts.map +1 -1
  151. package/esm/models/importresourceop.js +17 -15
  152. package/esm/models/importresourceop.js.map +1 -1
  153. package/esm/models/invalidatebytagsop.d.ts +115 -0
  154. package/esm/models/invalidatebytagsop.d.ts.map +1 -0
  155. package/esm/models/invalidatebytagsop.js +116 -0
  156. package/esm/models/invalidatebytagsop.js.map +1 -0
  157. package/esm/models/updateedgeconfigop.d.ts +2 -2
  158. package/esm/models/updateedgeconfigop.d.ts.map +1 -1
  159. package/esm/models/updateedgeconfigop.js +2 -2
  160. package/esm/models/updateedgeconfigop.js.map +1 -1
  161. package/esm/models/updateprojectdatacacheop.d.ts +10 -0
  162. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  163. package/esm/models/updateprojectdatacacheop.js +5 -0
  164. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  165. package/esm/models/updateprojectop.d.ts +149 -136
  166. package/esm/models/updateprojectop.d.ts.map +1 -1
  167. package/esm/models/updateprojectop.js +146 -140
  168. package/esm/models/updateprojectop.js.map +1 -1
  169. package/esm/models/updaterollingreleaseconfigop.d.ts +5 -0
  170. package/esm/models/updaterollingreleaseconfigop.d.ts.map +1 -1
  171. package/esm/models/updaterollingreleaseconfigop.js +2 -0
  172. package/esm/models/updaterollingreleaseconfigop.js.map +1 -1
  173. package/esm/models/userevent.d.ts +1300 -1049
  174. package/esm/models/userevent.d.ts.map +1 -1
  175. package/esm/models/userevent.js +1654 -1406
  176. package/esm/models/userevent.js.map +1 -1
  177. package/esm/sdk/edgecache.d.ts +20 -0
  178. package/esm/sdk/edgecache.d.ts.map +1 -0
  179. package/esm/sdk/edgecache.js +28 -0
  180. package/esm/sdk/edgecache.js.map +1 -0
  181. package/esm/sdk/integrations.d.ts +8 -0
  182. package/esm/sdk/integrations.d.ts.map +1 -1
  183. package/esm/sdk/integrations.js +10 -0
  184. package/esm/sdk/integrations.js.map +1 -1
  185. package/esm/sdk/sdk.d.ts +4 -3
  186. package/esm/sdk/sdk.d.ts.map +1 -1
  187. package/esm/sdk/sdk.js +4 -5
  188. package/esm/sdk/sdk.js.map +1 -1
  189. package/examples/package-lock.json +1 -1
  190. package/jsr.json +1 -1
  191. package/package.json +1 -1
  192. package/src/__tests__/deployments.test.ts +1 -1
  193. package/src/__tests__/domains.test.ts +3 -12
  194. package/src/__tests__/integrations.test.ts +32 -1
  195. package/src/__tests__/logdrains.test.ts +9 -0
  196. package/src/__tests__/rollingrelease.test.ts +2 -6
  197. package/src/__tests__/security.test.ts +4 -4
  198. package/src/__tests__/vercel.test.ts +4 -33
  199. package/src/funcs/deploymentsGetDeployments.ts +1 -0
  200. package/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +199 -0
  201. package/src/funcs/edgeCacheInvalidateByTags.ts +199 -0
  202. package/src/funcs/{getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts → integrationsGetBillingPlans.ts} +30 -24
  203. package/src/funcs/marketplaceImportResource.ts +2 -2
  204. package/src/funcs/marketplaceUpdateResourceSecrets.ts +2 -2
  205. package/src/funcs/marketplaceUpdateResourceSecretsById.ts +2 -2
  206. package/src/funcs/projectsGetProjects.ts +0 -1
  207. package/src/lib/config.ts +3 -3
  208. package/src/lib/url.ts +1 -1
  209. package/src/mcp-server/mcp-server.ts +1 -1
  210. package/src/mcp-server/server.ts +7 -5
  211. package/src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts +37 -0
  212. package/src/mcp-server/tools/edgeCacheInvalidateByTags.ts +35 -0
  213. package/src/mcp-server/tools/integrationsGetBillingPlans.ts +37 -0
  214. package/src/models/approverollingreleasestageop.ts +21 -0
  215. package/src/models/canceldeploymentop.ts +127 -104
  216. package/src/models/completerollingreleaseop.ts +21 -0
  217. package/src/models/createdeploymentop.ts +532 -226
  218. package/src/models/createedgeconfigop.ts +4 -4
  219. package/src/models/createintegrationstoredirectop.ts +2459 -673
  220. package/src/models/createlogdrainop.ts +260 -2
  221. package/src/models/createprojectop.ts +43 -30
  222. package/src/models/dangerouslydeletebytagsop.ts +249 -0
  223. package/src/models/getbillingplansop.ts +508 -0
  224. package/src/models/getconfigurationop.ts +20 -15
  225. package/src/models/getconfigurationproductsop.ts +2433 -838
  226. package/src/models/getconfigurationsop.ts +1 -0
  227. package/src/models/getdeploymentop.ts +63 -48
  228. package/src/models/getdeploymentsop.ts +8 -0
  229. package/src/models/getedgeconfigop.ts +4 -4
  230. package/src/models/getintegrationlogdrainsop.ts +237 -0
  231. package/src/models/getprojectsop.ts +434 -336
  232. package/src/models/getrollingreleaseconfigop.ts +7 -0
  233. package/src/models/getrollingreleaseop.ts +21 -0
  234. package/src/models/getwebhooksop.ts +1 -0
  235. package/src/models/importresourceop.ts +27 -29
  236. package/src/models/invalidatebytagsop.ts +227 -0
  237. package/src/models/updateedgeconfigop.ts +4 -4
  238. package/src/models/updateprojectdatacacheop.ts +12 -0
  239. package/src/models/updateprojectop.ts +299 -286
  240. package/src/models/updaterollingreleaseconfigop.ts +7 -0
  241. package/src/models/userevent.ts +3017 -2473
  242. package/src/sdk/edgecache.ts +46 -0
  243. package/src/sdk/integrations.ts +22 -0
  244. package/src/sdk/sdk.ts +7 -23
  245. package/vercel-spec.json +3578 -2444
  246. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  247. package/esm/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  248. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts +0 -7
  249. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map +0 -1
  250. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js +0 -26
  251. package/esm/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map +0 -1
  252. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts +0 -247
  253. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map +0 -1
  254. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js +0 -246
  255. package/esm/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map +0 -1
  256. package/src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts +0 -41
  257. package/src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts +0 -575
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts","sourceRoot":"","sources":["../../src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKxC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EACL,kFAAkF,EAElF,uFAAuF,EAExF,MAAM,4FAA4F,CAAC;AACpG,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAEtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACL,oBAAoB,EAErB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EAEpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,2EAA2E,CACzF,MAAM,EAAE,UAAU,EAClB,OAAO,EACL,kFAAkF,EACpF,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,uFAAuF,EACrF,qBAAqB,GACrB,oBAAoB,GACpB,mBAAmB,GACnB,WAAW,GACX,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js","sourceRoot":"","sources":["../../src/funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProducts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AAG,EAAE,KAAK,CAAC,CAAC,EACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { ToolDefinition } from "../tools.js";
2
- declare const args: {
3
- request: import("zod").ZodType<import("../../models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js").GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest, import("zod").ZodTypeDef, unknown>;
4
- };
5
- export declare const tool$getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans: ToolDefinition<typeof args>;
6
- export {};
7
- //# sourceMappingURL=getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.d.ts","sourceRoot":"","sources":["../../../src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts"],"names":[],"mappings":"AAQA,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAGT,CAAC;AAEF,eAAO,MAAM,gFAAgF,EAC3F,cAAc,CAAC,OAAO,IAAI,CAwBzB,CAAC"}
@@ -1,26 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans } from "../../funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js";
5
- import { GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema, } from "../../models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js";
6
- import { formatResult } from "../tools.js";
7
- const args = {
8
- request: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema,
9
- };
10
- export const tool$getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans = {
11
- name: "get-v1-integrations-integration-integration-id-or-slug-products-product-id-or-slug-plans",
12
- description: ``,
13
- args,
14
- tool: async (client, args, ctx) => {
15
- const [result, apiCall] = await getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
16
- if (!result.ok) {
17
- return {
18
- content: [{ type: "text", text: result.error.message }],
19
- isError: true,
20
- };
21
- }
22
- const value = result.value;
23
- return formatResult(value, apiCall);
24
- },
25
- };
26
- //# sourceMappingURL=getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js","sourceRoot":"","sources":["../../../src/mcp-server/tools/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,2EAA2E,EAAE,MAAM,4FAA4F,CAAC;AACzL,OAAO,EACL,gGAAgG,GACjG,MAAM,+FAA+F,CAAC;AACvG,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EACL,gGAAgG;CACnG,CAAC;AAEF,MAAM,CAAC,MAAM,gFAAgF,GAC7D;IAC5B,IAAI,EACF,0FAA0F;IAC5F,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACrB,MAAM,2EAA2E,CAC/E,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEf,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
@@ -1,247 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../types/enums.js";
3
- import { Result as SafeParseResult } from "../types/fp.js";
4
- import { SDKValidationError } from "./sdkvalidationerror.js";
5
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest = {
6
- integrationIdOrSlug: string;
7
- productIdOrSlug: string;
8
- metadata?: string | undefined;
9
- };
10
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType: {
11
- readonly Prepayment: "prepayment";
12
- readonly Subscription: "subscription";
13
- };
14
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType = ClosedEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType>;
15
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope: {
16
- readonly Installation: "installation";
17
- readonly Resource: "resource";
18
- };
19
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope = ClosedEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope>;
20
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails = {
21
- label: string;
22
- value?: string | undefined;
23
- };
24
- export type HighlightedDetails = {
25
- label: string;
26
- value?: string | undefined;
27
- };
28
- export type Quote = {
29
- line: string;
30
- amount: string;
31
- };
32
- export type Plans = {
33
- type: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType;
34
- id: string;
35
- name: string;
36
- scope: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope;
37
- description: string;
38
- paymentMethodRequired: boolean;
39
- preauthorizationAmount?: number | undefined;
40
- initialCharge?: string | undefined;
41
- minimumAmount?: string | undefined;
42
- maximumAmount?: string | undefined;
43
- maximumAmountAutoPurchasePerPeriod?: string | undefined;
44
- cost?: string | undefined;
45
- details?: Array<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails> | undefined;
46
- highlightedDetails?: Array<HighlightedDetails> | undefined;
47
- quote?: Array<Quote> | undefined;
48
- effectiveDate?: string | undefined;
49
- disabled?: boolean | undefined;
50
- };
51
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody = {
52
- plans: Array<Plans>;
53
- };
54
- /** @internal */
55
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest, z.ZodTypeDef, unknown>;
56
- /** @internal */
57
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$Outbound = {
58
- integrationIdOrSlug: string;
59
- productIdOrSlug: string;
60
- metadata?: string | undefined;
61
- };
62
- /** @internal */
63
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest>;
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export declare namespace GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$ {
69
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema` instead. */
70
- const inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest, z.ZodTypeDef, unknown>;
71
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema` instead. */
72
- const outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest>;
73
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$Outbound` instead. */
74
- type Outbound = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$Outbound;
75
- }
76
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequestToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest): string;
77
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequestFromJSON(jsonString: string): SafeParseResult<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest, SDKValidationError>;
78
- /** @internal */
79
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema: z.ZodNativeEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType>;
80
- /** @internal */
81
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema: z.ZodNativeEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType>;
82
- /**
83
- * @internal
84
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
85
- */
86
- export declare namespace GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$ {
87
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema` instead. */
88
- const inboundSchema: z.ZodNativeEnum<{
89
- readonly Prepayment: "prepayment";
90
- readonly Subscription: "subscription";
91
- }>;
92
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema` instead. */
93
- const outboundSchema: z.ZodNativeEnum<{
94
- readonly Prepayment: "prepayment";
95
- readonly Subscription: "subscription";
96
- }>;
97
- }
98
- /** @internal */
99
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema: z.ZodNativeEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope>;
100
- /** @internal */
101
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema: z.ZodNativeEnum<typeof GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope>;
102
- /**
103
- * @internal
104
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
105
- */
106
- export declare namespace GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$ {
107
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema` instead. */
108
- const inboundSchema: z.ZodNativeEnum<{
109
- readonly Installation: "installation";
110
- readonly Resource: "resource";
111
- }>;
112
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema` instead. */
113
- const outboundSchema: z.ZodNativeEnum<{
114
- readonly Installation: "installation";
115
- readonly Resource: "resource";
116
- }>;
117
- }
118
- /** @internal */
119
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails, z.ZodTypeDef, unknown>;
120
- /** @internal */
121
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound = {
122
- label: string;
123
- value?: string | undefined;
124
- };
125
- /** @internal */
126
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails>;
127
- /**
128
- * @internal
129
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
130
- */
131
- export declare namespace GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$ {
132
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema` instead. */
133
- const inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails, z.ZodTypeDef, unknown>;
134
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema` instead. */
135
- const outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails>;
136
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound` instead. */
137
- type Outbound = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound;
138
- }
139
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetailsToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails): string;
140
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetailsFromJSON(jsonString: string): SafeParseResult<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails, SDKValidationError>;
141
- /** @internal */
142
- export declare const HighlightedDetails$inboundSchema: z.ZodType<HighlightedDetails, z.ZodTypeDef, unknown>;
143
- /** @internal */
144
- export type HighlightedDetails$Outbound = {
145
- label: string;
146
- value?: string | undefined;
147
- };
148
- /** @internal */
149
- export declare const HighlightedDetails$outboundSchema: z.ZodType<HighlightedDetails$Outbound, z.ZodTypeDef, HighlightedDetails>;
150
- /**
151
- * @internal
152
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
153
- */
154
- export declare namespace HighlightedDetails$ {
155
- /** @deprecated use `HighlightedDetails$inboundSchema` instead. */
156
- const inboundSchema: z.ZodType<HighlightedDetails, z.ZodTypeDef, unknown>;
157
- /** @deprecated use `HighlightedDetails$outboundSchema` instead. */
158
- const outboundSchema: z.ZodType<HighlightedDetails$Outbound, z.ZodTypeDef, HighlightedDetails>;
159
- /** @deprecated use `HighlightedDetails$Outbound` instead. */
160
- type Outbound = HighlightedDetails$Outbound;
161
- }
162
- export declare function highlightedDetailsToJSON(highlightedDetails: HighlightedDetails): string;
163
- export declare function highlightedDetailsFromJSON(jsonString: string): SafeParseResult<HighlightedDetails, SDKValidationError>;
164
- /** @internal */
165
- export declare const Quote$inboundSchema: z.ZodType<Quote, z.ZodTypeDef, unknown>;
166
- /** @internal */
167
- export type Quote$Outbound = {
168
- line: string;
169
- amount: string;
170
- };
171
- /** @internal */
172
- export declare const Quote$outboundSchema: z.ZodType<Quote$Outbound, z.ZodTypeDef, Quote>;
173
- /**
174
- * @internal
175
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
176
- */
177
- export declare namespace Quote$ {
178
- /** @deprecated use `Quote$inboundSchema` instead. */
179
- const inboundSchema: z.ZodType<Quote, z.ZodTypeDef, unknown>;
180
- /** @deprecated use `Quote$outboundSchema` instead. */
181
- const outboundSchema: z.ZodType<Quote$Outbound, z.ZodTypeDef, Quote>;
182
- /** @deprecated use `Quote$Outbound` instead. */
183
- type Outbound = Quote$Outbound;
184
- }
185
- export declare function quoteToJSON(quote: Quote): string;
186
- export declare function quoteFromJSON(jsonString: string): SafeParseResult<Quote, SDKValidationError>;
187
- /** @internal */
188
- export declare const Plans$inboundSchema: z.ZodType<Plans, z.ZodTypeDef, unknown>;
189
- /** @internal */
190
- export type Plans$Outbound = {
191
- type: string;
192
- id: string;
193
- name: string;
194
- scope: string;
195
- description: string;
196
- paymentMethodRequired: boolean;
197
- preauthorizationAmount?: number | undefined;
198
- initialCharge?: string | undefined;
199
- minimumAmount?: string | undefined;
200
- maximumAmount?: string | undefined;
201
- maximumAmountAutoPurchasePerPeriod?: string | undefined;
202
- cost?: string | undefined;
203
- details?: Array<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$Outbound> | undefined;
204
- highlightedDetails?: Array<HighlightedDetails$Outbound> | undefined;
205
- quote?: Array<Quote$Outbound> | undefined;
206
- effectiveDate?: string | undefined;
207
- disabled?: boolean | undefined;
208
- };
209
- /** @internal */
210
- export declare const Plans$outboundSchema: z.ZodType<Plans$Outbound, z.ZodTypeDef, Plans>;
211
- /**
212
- * @internal
213
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
214
- */
215
- export declare namespace Plans$ {
216
- /** @deprecated use `Plans$inboundSchema` instead. */
217
- const inboundSchema: z.ZodType<Plans, z.ZodTypeDef, unknown>;
218
- /** @deprecated use `Plans$outboundSchema` instead. */
219
- const outboundSchema: z.ZodType<Plans$Outbound, z.ZodTypeDef, Plans>;
220
- /** @deprecated use `Plans$Outbound` instead. */
221
- type Outbound = Plans$Outbound;
222
- }
223
- export declare function plansToJSON(plans: Plans): string;
224
- export declare function plansFromJSON(jsonString: string): SafeParseResult<Plans, SDKValidationError>;
225
- /** @internal */
226
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody, z.ZodTypeDef, unknown>;
227
- /** @internal */
228
- export type GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$Outbound = {
229
- plans: Array<Plans$Outbound>;
230
- };
231
- /** @internal */
232
- export declare const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody>;
233
- /**
234
- * @internal
235
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
236
- */
237
- export declare namespace GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$ {
238
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema` instead. */
239
- const inboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody, z.ZodTypeDef, unknown>;
240
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema` instead. */
241
- const outboundSchema: z.ZodType<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$Outbound, z.ZodTypeDef, GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody>;
242
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$Outbound` instead. */
243
- type Outbound = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$Outbound;
244
- }
245
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBodyToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody): string;
246
- export declare function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBodyFromJSON(jsonString: string): SafeParseResult<GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody, SDKValidationError>;
247
- //# sourceMappingURL=getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.d.ts","sourceRoot":"","sources":["../../src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts"],"names":[],"m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AAEL;;;GAGG;AACH,yBAAiB,wFAAwF,CAAC;IACxG,uIAAuI;IAChI,MAAM,aAAa,2HAC6E,CAAC;IACxG,wIAAwI;IACjI,MAAM,cAAc,oNAC6E,CAAC;IACzG,kIAAkI;IAClI,KAAY,QAAQ,GAClB,gGAAgG,CAAC;CACpG;AAED,wBAAgB,6FAA6F,CAC3G,uFAAuF,EACrF,uFAAuF,GACxF,MAAM,CAOR;AAED,wBAAgB,+FAA+F,CAC7G,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uFAAuF,EACvF,kBAAkB,CACnB,CAQA"}
@@ -1,246 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import * as z from "zod";
5
- import { safeParse } from "../lib/schemas.js";
6
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType = {
7
- Prepayment: "prepayment",
8
- Subscription: "subscription",
9
- };
10
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope = {
11
- Installation: "installation",
12
- Resource: "resource",
13
- };
14
- /** @internal */
15
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema = z.object({
16
- integrationIdOrSlug: z.string(),
17
- productIdOrSlug: z.string(),
18
- metadata: z.string().optional(),
19
- });
20
- /** @internal */
21
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema = z.object({
22
- integrationIdOrSlug: z.string(),
23
- productIdOrSlug: z.string(),
24
- metadata: z.string().optional(),
25
- });
26
- /**
27
- * @internal
28
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
- */
30
- export var GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$;
31
- (function (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$) {
32
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema` instead. */
33
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$.inboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema;
34
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema` instead. */
35
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$.outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema;
36
- })(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$ || (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$ = {}));
37
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequestToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest) {
38
- return JSON.stringify(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$outboundSchema
39
- .parse(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest));
40
- }
41
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequestFromJSON(jsonString) {
42
- return safeParse(jsonString, (x) => GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema
43
- .parse(JSON.parse(x)), `Failed to parse 'GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest' from JSON`);
44
- }
45
- /** @internal */
46
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema = z.nativeEnum(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType);
47
- /** @internal */
48
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema;
49
- /**
50
- * @internal
51
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
- */
53
- export var GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$;
54
- (function (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$) {
55
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema` instead. */
56
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$.inboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema;
57
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema` instead. */
58
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$.outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema;
59
- })(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$ || (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$ = {}));
60
- /** @internal */
61
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema = z.nativeEnum(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope);
62
- /** @internal */
63
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema;
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export var GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$;
69
- (function (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$) {
70
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema` instead. */
71
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$.inboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema;
72
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema` instead. */
73
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$.outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema;
74
- })(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$ || (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$ = {}));
75
- /** @internal */
76
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema = z.object({
77
- label: z.string(),
78
- value: z.string().optional(),
79
- });
80
- /** @internal */
81
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema = z.object({
82
- label: z.string(),
83
- value: z.string().optional(),
84
- });
85
- /**
86
- * @internal
87
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
88
- */
89
- export var GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$;
90
- (function (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$) {
91
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema` instead. */
92
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$.inboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema;
93
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema` instead. */
94
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$.outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema;
95
- })(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$ || (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$ = {}));
96
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetailsToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails) {
97
- return JSON.stringify(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema
98
- .parse(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails));
99
- }
100
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetailsFromJSON(jsonString) {
101
- return safeParse(jsonString, (x) => GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema
102
- .parse(JSON.parse(x)), `Failed to parse 'GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails' from JSON`);
103
- }
104
- /** @internal */
105
- export const HighlightedDetails$inboundSchema = z.object({
106
- label: z.string(),
107
- value: z.string().optional(),
108
- });
109
- /** @internal */
110
- export const HighlightedDetails$outboundSchema = z.object({
111
- label: z.string(),
112
- value: z.string().optional(),
113
- });
114
- /**
115
- * @internal
116
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
117
- */
118
- export var HighlightedDetails$;
119
- (function (HighlightedDetails$) {
120
- /** @deprecated use `HighlightedDetails$inboundSchema` instead. */
121
- HighlightedDetails$.inboundSchema = HighlightedDetails$inboundSchema;
122
- /** @deprecated use `HighlightedDetails$outboundSchema` instead. */
123
- HighlightedDetails$.outboundSchema = HighlightedDetails$outboundSchema;
124
- })(HighlightedDetails$ || (HighlightedDetails$ = {}));
125
- export function highlightedDetailsToJSON(highlightedDetails) {
126
- return JSON.stringify(HighlightedDetails$outboundSchema.parse(highlightedDetails));
127
- }
128
- export function highlightedDetailsFromJSON(jsonString) {
129
- return safeParse(jsonString, (x) => HighlightedDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HighlightedDetails' from JSON`);
130
- }
131
- /** @internal */
132
- export const Quote$inboundSchema = z
133
- .object({
134
- line: z.string(),
135
- amount: z.string(),
136
- });
137
- /** @internal */
138
- export const Quote$outboundSchema = z.object({
139
- line: z.string(),
140
- amount: z.string(),
141
- });
142
- /**
143
- * @internal
144
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
145
- */
146
- export var Quote$;
147
- (function (Quote$) {
148
- /** @deprecated use `Quote$inboundSchema` instead. */
149
- Quote$.inboundSchema = Quote$inboundSchema;
150
- /** @deprecated use `Quote$outboundSchema` instead. */
151
- Quote$.outboundSchema = Quote$outboundSchema;
152
- })(Quote$ || (Quote$ = {}));
153
- export function quoteToJSON(quote) {
154
- return JSON.stringify(Quote$outboundSchema.parse(quote));
155
- }
156
- export function quoteFromJSON(jsonString) {
157
- return safeParse(jsonString, (x) => Quote$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Quote' from JSON`);
158
- }
159
- /** @internal */
160
- export const Plans$inboundSchema = z
161
- .object({
162
- type: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$inboundSchema,
163
- id: z.string(),
164
- name: z.string(),
165
- scope: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$inboundSchema,
166
- description: z.string(),
167
- paymentMethodRequired: z.boolean(),
168
- preauthorizationAmount: z.number().optional(),
169
- initialCharge: z.string().optional(),
170
- minimumAmount: z.string().optional(),
171
- maximumAmount: z.string().optional(),
172
- maximumAmountAutoPurchasePerPeriod: z.string().optional(),
173
- cost: z.string().optional(),
174
- details: z.array(z.lazy(() => GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$inboundSchema)).optional(),
175
- highlightedDetails: z.array(z.lazy(() => HighlightedDetails$inboundSchema))
176
- .optional(),
177
- quote: z.array(z.lazy(() => Quote$inboundSchema)).optional(),
178
- effectiveDate: z.string().optional(),
179
- disabled: z.boolean().optional(),
180
- });
181
- /** @internal */
182
- export const Plans$outboundSchema = z.object({
183
- type: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansType$outboundSchema,
184
- id: z.string(),
185
- name: z.string(),
186
- scope: GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansScope$outboundSchema,
187
- description: z.string(),
188
- paymentMethodRequired: z.boolean(),
189
- preauthorizationAmount: z.number().optional(),
190
- initialCharge: z.string().optional(),
191
- minimumAmount: z.string().optional(),
192
- maximumAmount: z.string().optional(),
193
- maximumAmountAutoPurchasePerPeriod: z.string().optional(),
194
- cost: z.string().optional(),
195
- details: z.array(z.lazy(() => GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansDetails$outboundSchema)).optional(),
196
- highlightedDetails: z.array(z.lazy(() => HighlightedDetails$outboundSchema))
197
- .optional(),
198
- quote: z.array(z.lazy(() => Quote$outboundSchema)).optional(),
199
- effectiveDate: z.string().optional(),
200
- disabled: z.boolean().optional(),
201
- });
202
- /**
203
- * @internal
204
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
205
- */
206
- export var Plans$;
207
- (function (Plans$) {
208
- /** @deprecated use `Plans$inboundSchema` instead. */
209
- Plans$.inboundSchema = Plans$inboundSchema;
210
- /** @deprecated use `Plans$outboundSchema` instead. */
211
- Plans$.outboundSchema = Plans$outboundSchema;
212
- })(Plans$ || (Plans$ = {}));
213
- export function plansToJSON(plans) {
214
- return JSON.stringify(Plans$outboundSchema.parse(plans));
215
- }
216
- export function plansFromJSON(jsonString) {
217
- return safeParse(jsonString, (x) => Plans$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Plans' from JSON`);
218
- }
219
- /** @internal */
220
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema = z.object({
221
- plans: z.array(z.lazy(() => Plans$inboundSchema)),
222
- });
223
- /** @internal */
224
- export const GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema = z.object({
225
- plans: z.array(z.lazy(() => Plans$outboundSchema)),
226
- });
227
- /**
228
- * @internal
229
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
230
- */
231
- export var GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$;
232
- (function (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$) {
233
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema` instead. */
234
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$.inboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema;
235
- /** @deprecated use `GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema` instead. */
236
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$.outboundSchema = GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema;
237
- })(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$ || (GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$ = {}));
238
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBodyToJSON(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody) {
239
- return JSON.stringify(GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$outboundSchema
240
- .parse(getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody));
241
- }
242
- export function getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBodyFromJSON(jsonString) {
243
- return safeParse(jsonString, (x) => GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody$inboundSchema
244
- .parse(JSON.parse(x)), `Failed to parse 'GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansResponseBody' from JSON`);
245
- }
246
- //# sourceMappingURL=getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js","sourceRoot":"","sources":["../../src/models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAY9C,MAAM,CAAC,MAAM,+EAA+E,GAC1F;IACE,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;CACpB,CAAC;AAMb,MAAM,CAAC,MAAM,gFAAgF,GAC3F;IACE,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;CACZ,CAAC;AAqDb,gBAAgB;AAChB,MAAM,CAAC,MAAM,gGAAgG,GAKvG,CAAC,CAAC,MAAM,CAAC;IAC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,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/C,mCAAmC,CACpC,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,qGAAqG,GAK5G,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;CAClD,CAAC,CAAC;AAQL,gBAAgB;AAChB,MAAM,CAAC,MAAM,sGAAsG,GAK7G,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC;CACnD,CAAC,CAAC;AAEL;;;GAGG;AACH,MAAM,KAAW,wFAAwF,CAUxG;AAVD,WAAiB,wFAAwF;IACvG,uIAAuI;IAC1H,sGAAa,GACxB,qGAAqG,CAAC;IACxG,wIAAwI;IAC3H,uGAAc,GACzB,sGAAsG,CAAC;AAI3G,CAAC,EAVgB,wFAAwF,KAAxF,wFAAwF,QAUxG;AAED,MAAM,UAAU,6FAA6F,CAC3G,uFACyF;IAEzF,OAAO,IAAI,CAAC,SAAS,CACnB,sGAAsG;SACnG,KAAK,CACJ,uFAAuF,CACxF,CACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+FAA+F,CAC7G,UAAkB;IAKlB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qGAAqG;SAClG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,qHAAqH,CACtH,CAAC;AACJ,CAAC"}
@@ -1,41 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans } from "../../funcs/getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans.js";
6
- import {
7
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema,
8
- } from "../../models/getv1integrationsintegrationintegrationidorslugproductsproductidorslugplansop.js";
9
- import { formatResult, ToolDefinition } from "../tools.js";
10
-
11
- const args = {
12
- request:
13
- GetV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlansRequest$inboundSchema,
14
- };
15
-
16
- export const tool$getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans:
17
- ToolDefinition<typeof args> = {
18
- name:
19
- "get-v1-integrations-integration-integration-id-or-slug-products-product-id-or-slug-plans",
20
- description: ``,
21
- args,
22
- tool: async (client, args, ctx) => {
23
- const [result, apiCall] =
24
- await getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
25
- client,
26
- args.request,
27
- { fetchOptions: { signal: ctx.signal } },
28
- ).$inspect();
29
-
30
- if (!result.ok) {
31
- return {
32
- content: [{ type: "text", text: result.error.message }],
33
- isError: true,
34
- };
35
- }
36
-
37
- const value = result.value;
38
-
39
- return formatResult(value, apiCall);
40
- },
41
- };