@openclaw/googlechat 2026.5.20 → 2026.5.22

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 (1101) hide show
  1. package/node_modules/agent-base/LICENSE +22 -0
  2. package/node_modules/agent-base/README.md +69 -0
  3. package/node_modules/agent-base/dist/helpers.d.ts +15 -0
  4. package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  5. package/node_modules/agent-base/dist/helpers.js +66 -0
  6. package/node_modules/agent-base/dist/helpers.js.map +1 -0
  7. package/node_modules/agent-base/dist/index.d.ts +41 -0
  8. package/node_modules/agent-base/dist/index.d.ts.map +1 -0
  9. package/node_modules/agent-base/dist/index.js +178 -0
  10. package/node_modules/agent-base/dist/index.js.map +1 -0
  11. package/node_modules/agent-base/package.json +46 -0
  12. package/node_modules/base64-js/LICENSE +21 -0
  13. package/node_modules/base64-js/README.md +34 -0
  14. package/node_modules/base64-js/base64js.min.js +1 -0
  15. package/node_modules/base64-js/index.d.ts +3 -0
  16. package/node_modules/base64-js/index.js +150 -0
  17. package/node_modules/base64-js/package.json +47 -0
  18. package/node_modules/bignumber.js/CHANGELOG.md +381 -0
  19. package/node_modules/bignumber.js/LICENCE.md +26 -0
  20. package/node_modules/bignumber.js/README.md +289 -0
  21. package/node_modules/bignumber.js/bignumber.d.mts +6 -0
  22. package/node_modules/bignumber.js/bignumber.d.ts +5 -0
  23. package/node_modules/bignumber.js/bignumber.js +2922 -0
  24. package/node_modules/bignumber.js/bignumber.mjs +2907 -0
  25. package/node_modules/bignumber.js/doc/API.html +2249 -0
  26. package/node_modules/bignumber.js/package.json +60 -0
  27. package/node_modules/bignumber.js/types.d.ts +1821 -0
  28. package/node_modules/buffer-equal-constant-time/.npmignore +2 -0
  29. package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
  30. package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
  31. package/node_modules/buffer-equal-constant-time/README.md +50 -0
  32. package/node_modules/buffer-equal-constant-time/index.js +41 -0
  33. package/node_modules/buffer-equal-constant-time/package.json +21 -0
  34. package/node_modules/buffer-equal-constant-time/test.js +42 -0
  35. package/node_modules/data-uri-to-buffer/README.md +88 -0
  36. package/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
  37. package/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  38. package/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  39. package/node_modules/data-uri-to-buffer/package.json +62 -0
  40. package/node_modules/data-uri-to-buffer/src/index.ts +68 -0
  41. package/node_modules/debug/LICENSE +20 -0
  42. package/node_modules/debug/README.md +481 -0
  43. package/node_modules/debug/package.json +64 -0
  44. package/node_modules/debug/src/browser.js +272 -0
  45. package/node_modules/debug/src/common.js +292 -0
  46. package/node_modules/debug/src/index.js +10 -0
  47. package/node_modules/debug/src/node.js +263 -0
  48. package/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
  49. package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
  50. package/node_modules/ecdsa-sig-formatter/README.md +65 -0
  51. package/node_modules/ecdsa-sig-formatter/package.json +46 -0
  52. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
  53. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  54. package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  55. package/node_modules/extend/.editorconfig +20 -0
  56. package/node_modules/extend/.eslintrc +17 -0
  57. package/node_modules/extend/.jscs.json +175 -0
  58. package/node_modules/extend/.travis.yml +230 -0
  59. package/node_modules/extend/CHANGELOG.md +83 -0
  60. package/node_modules/extend/LICENSE +23 -0
  61. package/node_modules/extend/README.md +81 -0
  62. package/node_modules/extend/component.json +32 -0
  63. package/node_modules/extend/index.js +117 -0
  64. package/node_modules/extend/package.json +42 -0
  65. package/node_modules/fetch-blob/LICENSE +21 -0
  66. package/node_modules/fetch-blob/README.md +106 -0
  67. package/node_modules/fetch-blob/file.d.ts +2 -0
  68. package/node_modules/fetch-blob/file.js +49 -0
  69. package/node_modules/fetch-blob/from.d.ts +26 -0
  70. package/node_modules/fetch-blob/from.js +100 -0
  71. package/node_modules/fetch-blob/index.d.ts +3 -0
  72. package/node_modules/fetch-blob/index.js +250 -0
  73. package/node_modules/fetch-blob/package.json +56 -0
  74. package/node_modules/fetch-blob/streams.cjs +51 -0
  75. package/node_modules/formdata-polyfill/FormData.js +441 -0
  76. package/node_modules/formdata-polyfill/LICENSE +21 -0
  77. package/node_modules/formdata-polyfill/README.md +145 -0
  78. package/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
  79. package/node_modules/formdata-polyfill/esm.min.js +40 -0
  80. package/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
  81. package/node_modules/formdata-polyfill/formdata.min.js +21 -0
  82. package/node_modules/formdata-polyfill/package.json +50 -0
  83. package/node_modules/gaxios/LICENSE +202 -0
  84. package/node_modules/gaxios/README.md +240 -0
  85. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.d.ts +1 -0
  86. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js +109 -0
  87. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js.map +1 -0
  88. package/node_modules/gaxios/build/cjs/browser-test/test.browser.d.ts +1 -0
  89. package/node_modules/gaxios/build/cjs/browser-test/test.browser.js +81 -0
  90. package/node_modules/gaxios/build/cjs/browser-test/test.browser.js.map +1 -0
  91. package/node_modules/gaxios/build/cjs/src/common.d.ts +329 -0
  92. package/node_modules/gaxios/build/cjs/src/common.js +311 -0
  93. package/node_modules/gaxios/build/cjs/src/common.js.map +1 -0
  94. package/node_modules/gaxios/build/cjs/src/gaxios.d.ts +104 -0
  95. package/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
  96. package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -0
  97. package/node_modules/gaxios/build/cjs/src/index.d.ts +15 -0
  98. package/node_modules/gaxios/build/cjs/src/index.js +48 -0
  99. package/node_modules/gaxios/build/cjs/src/index.js.map +1 -0
  100. package/node_modules/gaxios/build/cjs/src/interceptor.d.ts +25 -0
  101. package/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
  102. package/node_modules/gaxios/build/cjs/src/interceptor.js.map +1 -0
  103. package/node_modules/gaxios/build/cjs/src/retry.d.ts +8 -0
  104. package/node_modules/gaxios/build/cjs/src/retry.js +165 -0
  105. package/node_modules/gaxios/build/cjs/src/retry.js.map +1 -0
  106. package/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
  107. package/node_modules/gaxios/build/cjs/src/util.cjs.map +1 -0
  108. package/node_modules/gaxios/build/cjs/src/util.d.cts +7 -0
  109. package/node_modules/gaxios/build/cjs/system-test/test.install.d.ts +1 -0
  110. package/node_modules/gaxios/build/cjs/system-test/test.install.js +128 -0
  111. package/node_modules/gaxios/build/cjs/system-test/test.install.js.map +1 -0
  112. package/node_modules/gaxios/build/cjs/test/test.getch.d.ts +1 -0
  113. package/node_modules/gaxios/build/cjs/test/test.getch.js +1444 -0
  114. package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -0
  115. package/node_modules/gaxios/build/cjs/test/test.index.d.ts +1 -0
  116. package/node_modules/gaxios/build/cjs/test/test.index.js +61 -0
  117. package/node_modules/gaxios/build/cjs/test/test.index.js.map +1 -0
  118. package/node_modules/gaxios/build/cjs/test/test.retry.d.ts +1 -0
  119. package/node_modules/gaxios/build/cjs/test/test.retry.js +367 -0
  120. package/node_modules/gaxios/build/cjs/test/test.retry.js.map +1 -0
  121. package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -0
  122. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.d.ts +1 -0
  123. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js +71 -0
  124. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js.map +1 -0
  125. package/node_modules/gaxios/build/esm/browser-test/test.browser.d.ts +1 -0
  126. package/node_modules/gaxios/build/esm/browser-test/test.browser.js +76 -0
  127. package/node_modules/gaxios/build/esm/browser-test/test.browser.js.map +1 -0
  128. package/node_modules/gaxios/build/esm/package.json +1 -0
  129. package/node_modules/gaxios/build/esm/src/common.d.ts +329 -0
  130. package/node_modules/gaxios/build/esm/src/common.js +303 -0
  131. package/node_modules/gaxios/build/esm/src/common.js.map +1 -0
  132. package/node_modules/gaxios/build/esm/src/gaxios.d.ts +104 -0
  133. package/node_modules/gaxios/build/esm/src/gaxios.js +557 -0
  134. package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -0
  135. package/node_modules/gaxios/build/esm/src/index.d.ts +15 -0
  136. package/node_modules/gaxios/build/esm/src/index.js +29 -0
  137. package/node_modules/gaxios/build/esm/src/index.js.map +1 -0
  138. package/node_modules/gaxios/build/esm/src/interceptor.d.ts +25 -0
  139. package/node_modules/gaxios/build/esm/src/interceptor.js +18 -0
  140. package/node_modules/gaxios/build/esm/src/interceptor.js.map +1 -0
  141. package/node_modules/gaxios/build/esm/src/retry.d.ts +8 -0
  142. package/node_modules/gaxios/build/esm/src/retry.js +162 -0
  143. package/node_modules/gaxios/build/esm/src/retry.js.map +1 -0
  144. package/node_modules/gaxios/build/esm/src/util.cjs +15 -0
  145. package/node_modules/gaxios/build/esm/src/util.cjs.map +1 -0
  146. package/node_modules/gaxios/build/esm/src/util.d.cts +7 -0
  147. package/node_modules/gaxios/build/esm/system-test/test.install.d.ts +1 -0
  148. package/node_modules/gaxios/build/esm/system-test/test.install.js +123 -0
  149. package/node_modules/gaxios/build/esm/system-test/test.install.js.map +1 -0
  150. package/node_modules/gaxios/build/esm/test/test.getch.d.ts +1 -0
  151. package/node_modules/gaxios/build/esm/test/test.getch.js +1406 -0
  152. package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -0
  153. package/node_modules/gaxios/build/esm/test/test.index.d.ts +1 -0
  154. package/node_modules/gaxios/build/esm/test/test.index.js +23 -0
  155. package/node_modules/gaxios/build/esm/test/test.index.js.map +1 -0
  156. package/node_modules/gaxios/build/esm/test/test.retry.d.ts +1 -0
  157. package/node_modules/gaxios/build/esm/test/test.retry.js +362 -0
  158. package/node_modules/gaxios/build/esm/test/test.retry.js.map +1 -0
  159. package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -0
  160. package/node_modules/gaxios/package.json +107 -0
  161. package/node_modules/gcp-metadata/LICENSE +202 -0
  162. package/node_modules/gcp-metadata/README.md +235 -0
  163. package/node_modules/gcp-metadata/build/src/gcp-residency.d.ts +57 -0
  164. package/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
  165. package/node_modules/gcp-metadata/build/src/gcp-residency.js.map +1 -0
  166. package/node_modules/gcp-metadata/build/src/index.d.ts +141 -0
  167. package/node_modules/gcp-metadata/build/src/index.js +402 -0
  168. package/node_modules/gcp-metadata/build/src/index.js.map +1 -0
  169. package/node_modules/gcp-metadata/package.json +77 -0
  170. package/node_modules/google-auth-library/LICENSE +202 -0
  171. package/node_modules/google-auth-library/README.md +1504 -0
  172. package/node_modules/google-auth-library/build/src/auth/authclient.d.ts +298 -0
  173. package/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
  174. package/node_modules/google-auth-library/build/src/auth/awsclient.d.ts +115 -0
  175. package/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
  176. package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.d.ts +40 -0
  177. package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
  178. package/node_modules/google-auth-library/build/src/auth/baseexternalclient.d.ts +318 -0
  179. package/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
  180. package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.d.ts +60 -0
  181. package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
  182. package/node_modules/google-auth-library/build/src/auth/computeclient.d.ts +37 -0
  183. package/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
  184. package/node_modules/google-auth-library/build/src/auth/credentials.d.ts +76 -0
  185. package/node_modules/google-auth-library/build/src/auth/credentials.js +16 -0
  186. package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.d.ts +79 -0
  187. package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
  188. package/node_modules/google-auth-library/build/src/auth/downscopedclient.d.ts +149 -0
  189. package/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
  190. package/node_modules/google-auth-library/build/src/auth/envDetect.d.ts +11 -0
  191. package/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
  192. package/node_modules/google-auth-library/build/src/auth/executable-response.d.ts +137 -0
  193. package/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
  194. package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.d.ts +72 -0
  195. package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
  196. package/node_modules/google-auth-library/build/src/auth/externalclient.d.ts +29 -0
  197. package/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
  198. package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.d.ts +41 -0
  199. package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
  200. package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +527 -0
  201. package/node_modules/google-auth-library/build/src/auth/googleauth.js +899 -0
  202. package/node_modules/google-auth-library/build/src/auth/iam.d.ts +23 -0
  203. package/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
  204. package/node_modules/google-auth-library/build/src/auth/identitypoolclient.d.ts +132 -0
  205. package/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
  206. package/node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts +27 -0
  207. package/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
  208. package/node_modules/google-auth-library/build/src/auth/impersonated.d.ts +134 -0
  209. package/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
  210. package/node_modules/google-auth-library/build/src/auth/jwtaccess.d.ts +61 -0
  211. package/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
  212. package/node_modules/google-auth-library/build/src/auth/jwtclient.d.ts +137 -0
  213. package/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
  214. package/node_modules/google-auth-library/build/src/auth/loginticket.d.ts +140 -0
  215. package/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
  216. package/node_modules/google-auth-library/build/src/auth/oauth2client.d.ts +610 -0
  217. package/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
  218. package/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts +103 -0
  219. package/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
  220. package/node_modules/google-auth-library/build/src/auth/passthrough.d.ts +37 -0
  221. package/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
  222. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.d.ts +141 -0
  223. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
  224. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.d.ts +61 -0
  225. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
  226. package/node_modules/google-auth-library/build/src/auth/refreshclient.d.ts +75 -0
  227. package/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
  228. package/node_modules/google-auth-library/build/src/auth/stscredentials.d.ts +125 -0
  229. package/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
  230. package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.d.ts +57 -0
  231. package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
  232. package/node_modules/google-auth-library/build/src/crypto/browser/crypto.d.ts +27 -0
  233. package/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
  234. package/node_modules/google-auth-library/build/src/crypto/crypto.d.ts +8 -0
  235. package/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
  236. package/node_modules/google-auth-library/build/src/crypto/node/crypto.d.ts +25 -0
  237. package/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
  238. package/node_modules/google-auth-library/build/src/crypto/shared.d.ts +47 -0
  239. package/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
  240. package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.d.ts +5 -0
  241. package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
  242. package/node_modules/google-auth-library/build/src/gtoken/getCredentials.d.ts +14 -0
  243. package/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
  244. package/node_modules/google-auth-library/build/src/gtoken/getToken.d.ts +23 -0
  245. package/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
  246. package/node_modules/google-auth-library/build/src/gtoken/googleToken.d.ts +73 -0
  247. package/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
  248. package/node_modules/google-auth-library/build/src/gtoken/jwsSign.d.ts +33 -0
  249. package/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
  250. package/node_modules/google-auth-library/build/src/gtoken/revokeToken.d.ts +9 -0
  251. package/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
  252. package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.d.ts +43 -0
  253. package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
  254. package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.d.ts +44 -0
  255. package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.js +16 -0
  256. package/node_modules/google-auth-library/build/src/index.d.ts +38 -0
  257. package/node_modules/google-auth-library/build/src/index.js +85 -0
  258. package/node_modules/google-auth-library/build/src/shared.cjs +22 -0
  259. package/node_modules/google-auth-library/build/src/shared.d.cts +7 -0
  260. package/node_modules/google-auth-library/build/src/util.d.ts +151 -0
  261. package/node_modules/google-auth-library/build/src/util.js +176 -0
  262. package/node_modules/google-auth-library/package.json +92 -0
  263. package/node_modules/google-logging-utils/LICENSE +202 -0
  264. package/node_modules/google-logging-utils/README.md +73 -0
  265. package/node_modules/google-logging-utils/build/src/colours.d.ts +29 -0
  266. package/node_modules/google-logging-utils/build/src/colours.js +81 -0
  267. package/node_modules/google-logging-utils/build/src/colours.js.map +1 -0
  268. package/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
  269. package/node_modules/google-logging-utils/build/src/index.js +31 -0
  270. package/node_modules/google-logging-utils/build/src/index.js.map +1 -0
  271. package/node_modules/google-logging-utils/build/src/logging-utils.d.ts +222 -0
  272. package/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  273. package/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -0
  274. package/node_modules/google-logging-utils/build/src/temporal.d.ts +45 -0
  275. package/node_modules/google-logging-utils/build/src/temporal.js +68 -0
  276. package/node_modules/google-logging-utils/build/src/temporal.js.map +1 -0
  277. package/node_modules/google-logging-utils/package.json +45 -0
  278. package/node_modules/https-proxy-agent/LICENSE +22 -0
  279. package/node_modules/https-proxy-agent/README.md +70 -0
  280. package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
  281. package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  282. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  283. package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  284. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
  285. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  286. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  287. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  288. package/node_modules/https-proxy-agent/package.json +50 -0
  289. package/node_modules/json-bigint/LICENSE +20 -0
  290. package/node_modules/json-bigint/README.md +240 -0
  291. package/node_modules/json-bigint/index.js +12 -0
  292. package/node_modules/json-bigint/lib/parse.js +443 -0
  293. package/node_modules/json-bigint/lib/stringify.js +384 -0
  294. package/node_modules/json-bigint/package.json +34 -0
  295. package/node_modules/jwa/LICENSE +17 -0
  296. package/node_modules/jwa/README.md +150 -0
  297. package/node_modules/jwa/index.js +266 -0
  298. package/node_modules/jwa/opslevel.yml +6 -0
  299. package/node_modules/jwa/package.json +37 -0
  300. package/node_modules/jws/CHANGELOG.md +56 -0
  301. package/node_modules/jws/LICENSE +17 -0
  302. package/node_modules/jws/index.js +22 -0
  303. package/node_modules/jws/lib/data-stream.js +55 -0
  304. package/node_modules/jws/lib/sign-stream.js +83 -0
  305. package/node_modules/jws/lib/tostring.js +10 -0
  306. package/node_modules/jws/lib/verify-stream.js +125 -0
  307. package/node_modules/jws/opslevel.yml +6 -0
  308. package/node_modules/jws/package.json +34 -0
  309. package/node_modules/jws/readme.md +255 -0
  310. package/node_modules/ms/index.js +162 -0
  311. package/node_modules/ms/license.md +21 -0
  312. package/node_modules/ms/package.json +38 -0
  313. package/node_modules/ms/readme.md +59 -0
  314. package/node_modules/node-domexception/LICENSE +21 -0
  315. package/node_modules/node-domexception/index.js +2 -0
  316. package/node_modules/node-domexception/package.json +19 -0
  317. package/node_modules/node-fetch/@types/index.d.ts +219 -0
  318. package/node_modules/node-fetch/LICENSE.md +22 -0
  319. package/node_modules/node-fetch/README.md +872 -0
  320. package/node_modules/node-fetch/package.json +131 -0
  321. package/node_modules/node-fetch/src/body.js +397 -0
  322. package/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  323. package/node_modules/node-fetch/src/errors/base.js +17 -0
  324. package/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  325. package/node_modules/node-fetch/src/headers.js +267 -0
  326. package/node_modules/node-fetch/src/index.js +417 -0
  327. package/node_modules/node-fetch/src/request.js +313 -0
  328. package/node_modules/node-fetch/src/response.js +160 -0
  329. package/node_modules/node-fetch/src/utils/get-search.js +9 -0
  330. package/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  331. package/node_modules/node-fetch/src/utils/is.js +87 -0
  332. package/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  333. package/node_modules/node-fetch/src/utils/referrer.js +340 -0
  334. package/node_modules/safe-buffer/LICENSE +21 -0
  335. package/node_modules/safe-buffer/README.md +584 -0
  336. package/node_modules/safe-buffer/index.d.ts +187 -0
  337. package/node_modules/safe-buffer/index.js +65 -0
  338. package/node_modules/safe-buffer/package.json +51 -0
  339. package/node_modules/web-streams-polyfill/LICENSE +22 -0
  340. package/node_modules/web-streams-polyfill/README.md +110 -0
  341. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
  342. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
  343. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
  344. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
  345. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
  346. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
  347. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
  348. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
  349. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
  350. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
  351. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
  352. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
  353. package/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
  354. package/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
  355. package/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
  356. package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
  357. package/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
  358. package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
  359. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  360. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  361. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
  362. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
  363. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
  364. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
  365. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
  366. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
  367. package/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
  368. package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
  369. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
  370. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
  371. package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
  372. package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
  373. package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
  374. package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
  375. package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
  376. package/node_modules/web-streams-polyfill/es2018/package.json +14 -0
  377. package/node_modules/web-streams-polyfill/es6/package.json +14 -0
  378. package/node_modules/web-streams-polyfill/package.json +83 -0
  379. package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
  380. package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
  381. package/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
  382. package/node_modules/zod/LICENSE +21 -0
  383. package/node_modules/zod/README.md +191 -0
  384. package/node_modules/zod/index.cjs +33 -0
  385. package/node_modules/zod/index.d.cts +4 -0
  386. package/node_modules/zod/index.d.ts +4 -0
  387. package/node_modules/zod/index.js +4 -0
  388. package/node_modules/zod/locales/index.cjs +17 -0
  389. package/node_modules/zod/locales/index.d.cts +1 -0
  390. package/node_modules/zod/locales/index.d.ts +1 -0
  391. package/node_modules/zod/locales/index.js +1 -0
  392. package/node_modules/zod/locales/package.json +7 -0
  393. package/node_modules/zod/mini/index.cjs +32 -0
  394. package/node_modules/zod/mini/index.d.cts +3 -0
  395. package/node_modules/zod/mini/index.d.ts +3 -0
  396. package/node_modules/zod/mini/index.js +3 -0
  397. package/node_modules/zod/mini/package.json +7 -0
  398. package/node_modules/zod/package.json +135 -0
  399. package/node_modules/zod/src/index.ts +4 -0
  400. package/node_modules/zod/src/locales/index.ts +1 -0
  401. package/node_modules/zod/src/mini/index.ts +3 -0
  402. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  403. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  404. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  405. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  406. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  407. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  408. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  409. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  410. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  411. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  412. package/node_modules/zod/src/v3/errors.ts +13 -0
  413. package/node_modules/zod/src/v3/external.ts +6 -0
  414. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  415. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  416. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  417. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  418. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  419. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  420. package/node_modules/zod/src/v3/index.ts +4 -0
  421. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  422. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  423. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  424. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  425. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  426. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  427. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  428. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  429. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  430. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  431. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  432. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  433. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  434. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  435. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  436. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  437. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  438. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  439. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  440. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  441. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  442. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  443. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  444. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  445. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  446. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  447. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  448. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  449. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  450. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  451. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  452. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  453. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  454. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  455. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  456. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  457. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  458. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  459. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  460. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  461. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  462. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  463. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  464. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  465. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  466. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  467. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  468. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  469. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  470. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  471. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  472. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  473. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  474. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  475. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  476. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  477. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  478. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  479. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  480. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  481. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  482. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  483. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  484. package/node_modules/zod/src/v3/types.ts +5138 -0
  485. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  486. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  487. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  488. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  489. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  490. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  491. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  492. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  493. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  494. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  495. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  496. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  497. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  498. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  499. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  500. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  501. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  502. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  503. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  504. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  505. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  506. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  507. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  508. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  509. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  510. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  511. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  512. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  513. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  514. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  515. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  516. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  517. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  518. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  519. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  520. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  521. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  522. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  523. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  524. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  525. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  526. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  527. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  528. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  529. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  530. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  531. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  532. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  533. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  534. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  535. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  536. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  537. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  538. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  539. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  540. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  541. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  542. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  543. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  544. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  545. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  546. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  547. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  548. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  549. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  550. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  551. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  552. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  553. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  554. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  555. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  556. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  557. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  558. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  559. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  560. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  561. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  562. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  563. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  564. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  565. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  566. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  567. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  568. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  569. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  570. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  571. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  572. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  573. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  574. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  575. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  576. package/node_modules/zod/src/v4/core/config.ts +15 -0
  577. package/node_modules/zod/src/v4/core/core.ts +153 -0
  578. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  579. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  580. package/node_modules/zod/src/v4/core/index.ts +16 -0
  581. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  582. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  583. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  584. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  585. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  586. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  587. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  588. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  589. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  590. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  591. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  592. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  593. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  594. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  595. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  596. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  597. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  598. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  599. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  600. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  601. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  602. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  603. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  604. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  605. package/node_modules/zod/src/v4/core/util.ts +983 -0
  606. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  607. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  608. package/node_modules/zod/src/v4/index.ts +4 -0
  609. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  610. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  611. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  612. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  613. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  614. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  615. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  616. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  617. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  618. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  619. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  620. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  621. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  622. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  623. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  624. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  625. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  626. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  627. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  628. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  629. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  630. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  631. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  632. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  633. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  634. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  635. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  636. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  637. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  638. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  639. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  640. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  641. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  642. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  643. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  644. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  645. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  646. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  647. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  648. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  649. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  650. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  651. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  652. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  653. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  654. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  655. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  656. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  657. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  658. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  659. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  660. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  661. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  662. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  663. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  664. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  665. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  666. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  667. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  668. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  669. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  670. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  671. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  672. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  673. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  674. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  675. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  676. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  677. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  678. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  679. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  680. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  681. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  682. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  683. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  684. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  685. package/node_modules/zod/v3/ZodError.cjs +138 -0
  686. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  687. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  688. package/node_modules/zod/v3/ZodError.js +133 -0
  689. package/node_modules/zod/v3/errors.cjs +17 -0
  690. package/node_modules/zod/v3/errors.d.cts +5 -0
  691. package/node_modules/zod/v3/errors.d.ts +5 -0
  692. package/node_modules/zod/v3/errors.js +9 -0
  693. package/node_modules/zod/v3/external.cjs +22 -0
  694. package/node_modules/zod/v3/external.d.cts +6 -0
  695. package/node_modules/zod/v3/external.d.ts +6 -0
  696. package/node_modules/zod/v3/external.js +6 -0
  697. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  698. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  699. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  700. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  701. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  702. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  703. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  704. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  705. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  706. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  707. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  708. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  709. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  710. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  711. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  712. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  713. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  714. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  715. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  716. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  717. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  718. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  719. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  720. package/node_modules/zod/v3/helpers/util.js +133 -0
  721. package/node_modules/zod/v3/index.cjs +33 -0
  722. package/node_modules/zod/v3/index.d.cts +4 -0
  723. package/node_modules/zod/v3/index.d.ts +4 -0
  724. package/node_modules/zod/v3/index.js +4 -0
  725. package/node_modules/zod/v3/locales/en.cjs +112 -0
  726. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  727. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  728. package/node_modules/zod/v3/locales/en.js +109 -0
  729. package/node_modules/zod/v3/package.json +7 -0
  730. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  731. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  732. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  733. package/node_modules/zod/v3/standard-schema.js +1 -0
  734. package/node_modules/zod/v3/types.cjs +3777 -0
  735. package/node_modules/zod/v3/types.d.cts +1034 -0
  736. package/node_modules/zod/v3/types.d.ts +1034 -0
  737. package/node_modules/zod/v3/types.js +3695 -0
  738. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  739. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  740. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  741. package/node_modules/zod/v4/classic/checks.js +1 -0
  742. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  743. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  744. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  745. package/node_modules/zod/v4/classic/coerce.js +17 -0
  746. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  747. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  748. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  749. package/node_modules/zod/v4/classic/compat.js +31 -0
  750. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  751. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  752. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  753. package/node_modules/zod/v4/classic/errors.js +48 -0
  754. package/node_modules/zod/v4/classic/external.cjs +73 -0
  755. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  756. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  757. package/node_modules/zod/v4/classic/external.js +20 -0
  758. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  759. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  760. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  761. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  762. package/node_modules/zod/v4/classic/index.cjs +33 -0
  763. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  764. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  765. package/node_modules/zod/v4/classic/index.js +4 -0
  766. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  767. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  768. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  769. package/node_modules/zod/v4/classic/iso.js +30 -0
  770. package/node_modules/zod/v4/classic/package.json +7 -0
  771. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  772. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  773. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  774. package/node_modules/zod/v4/classic/parse.js +15 -0
  775. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  776. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  777. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  778. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  779. package/node_modules/zod/v4/core/api.cjs +1227 -0
  780. package/node_modules/zod/v4/core/api.d.cts +325 -0
  781. package/node_modules/zod/v4/core/api.d.ts +325 -0
  782. package/node_modules/zod/v4/core/api.js +1087 -0
  783. package/node_modules/zod/v4/core/checks.cjs +601 -0
  784. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  785. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  786. package/node_modules/zod/v4/core/checks.js +575 -0
  787. package/node_modules/zod/v4/core/core.cjs +85 -0
  788. package/node_modules/zod/v4/core/core.d.cts +70 -0
  789. package/node_modules/zod/v4/core/core.d.ts +70 -0
  790. package/node_modules/zod/v4/core/core.js +78 -0
  791. package/node_modules/zod/v4/core/doc.cjs +39 -0
  792. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  793. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  794. package/node_modules/zod/v4/core/doc.js +35 -0
  795. package/node_modules/zod/v4/core/errors.cjs +216 -0
  796. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  797. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  798. package/node_modules/zod/v4/core/errors.js +185 -0
  799. package/node_modules/zod/v4/core/index.cjs +47 -0
  800. package/node_modules/zod/v4/core/index.d.cts +16 -0
  801. package/node_modules/zod/v4/core/index.d.ts +16 -0
  802. package/node_modules/zod/v4/core/index.js +16 -0
  803. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  804. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  805. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  806. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  807. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  808. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  809. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  810. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  811. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  812. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  813. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  814. package/node_modules/zod/v4/core/json-schema.js +1 -0
  815. package/node_modules/zod/v4/core/package.json +7 -0
  816. package/node_modules/zod/v4/core/parse.cjs +131 -0
  817. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  818. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  819. package/node_modules/zod/v4/core/parse.js +93 -0
  820. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  821. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  822. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  823. package/node_modules/zod/v4/core/regexes.js +139 -0
  824. package/node_modules/zod/v4/core/registries.cjs +56 -0
  825. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  826. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  827. package/node_modules/zod/v4/core/registries.js +51 -0
  828. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  829. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  830. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  831. package/node_modules/zod/v4/core/schemas.js +2239 -0
  832. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  833. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  834. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  835. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  836. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  837. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  838. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  839. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  840. package/node_modules/zod/v4/core/util.cjs +734 -0
  841. package/node_modules/zod/v4/core/util.d.cts +200 -0
  842. package/node_modules/zod/v4/core/util.d.ts +200 -0
  843. package/node_modules/zod/v4/core/util.js +674 -0
  844. package/node_modules/zod/v4/core/versions.cjs +8 -0
  845. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  846. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  847. package/node_modules/zod/v4/core/versions.js +5 -0
  848. package/node_modules/zod/v4/index.cjs +22 -0
  849. package/node_modules/zod/v4/index.d.cts +3 -0
  850. package/node_modules/zod/v4/index.d.ts +3 -0
  851. package/node_modules/zod/v4/index.js +3 -0
  852. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  853. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  854. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  855. package/node_modules/zod/v4/locales/ar.js +106 -0
  856. package/node_modules/zod/v4/locales/az.cjs +132 -0
  857. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  858. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  859. package/node_modules/zod/v4/locales/az.js +105 -0
  860. package/node_modules/zod/v4/locales/be.cjs +183 -0
  861. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  862. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  863. package/node_modules/zod/v4/locales/be.js +156 -0
  864. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  865. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  866. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  867. package/node_modules/zod/v4/locales/bg.js +120 -0
  868. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  869. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  870. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  871. package/node_modules/zod/v4/locales/ca.js +107 -0
  872. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  873. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  874. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  875. package/node_modules/zod/v4/locales/cs.js +111 -0
  876. package/node_modules/zod/v4/locales/da.cjs +142 -0
  877. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  878. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  879. package/node_modules/zod/v4/locales/da.js +115 -0
  880. package/node_modules/zod/v4/locales/de.cjs +135 -0
  881. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  882. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  883. package/node_modules/zod/v4/locales/de.js +108 -0
  884. package/node_modules/zod/v4/locales/el.cjs +136 -0
  885. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  886. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  887. package/node_modules/zod/v4/locales/el.js +109 -0
  888. package/node_modules/zod/v4/locales/en.cjs +140 -0
  889. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  890. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  891. package/node_modules/zod/v4/locales/en.js +113 -0
  892. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  893. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  894. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  895. package/node_modules/zod/v4/locales/eo.js +109 -0
  896. package/node_modules/zod/v4/locales/es.cjs +159 -0
  897. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  898. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  899. package/node_modules/zod/v4/locales/es.js +132 -0
  900. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  901. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  902. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  903. package/node_modules/zod/v4/locales/fa.js +114 -0
  904. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  905. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  906. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  907. package/node_modules/zod/v4/locales/fi.js +112 -0
  908. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  909. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  910. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  911. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  912. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  913. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  914. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  915. package/node_modules/zod/v4/locales/fr.js +125 -0
  916. package/node_modules/zod/v4/locales/he.cjs +241 -0
  917. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  918. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  919. package/node_modules/zod/v4/locales/he.js +214 -0
  920. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  921. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  922. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  923. package/node_modules/zod/v4/locales/hr.js +122 -0
  924. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  925. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  926. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  927. package/node_modules/zod/v4/locales/hu.js +108 -0
  928. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  929. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  930. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  931. package/node_modules/zod/v4/locales/hy.js +147 -0
  932. package/node_modules/zod/v4/locales/id.cjs +133 -0
  933. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  934. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  935. package/node_modules/zod/v4/locales/id.js +106 -0
  936. package/node_modules/zod/v4/locales/index.cjs +111 -0
  937. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  938. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  939. package/node_modules/zod/v4/locales/index.js +52 -0
  940. package/node_modules/zod/v4/locales/is.cjs +136 -0
  941. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  942. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  943. package/node_modules/zod/v4/locales/is.js +109 -0
  944. package/node_modules/zod/v4/locales/it.cjs +135 -0
  945. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  946. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  947. package/node_modules/zod/v4/locales/it.js +108 -0
  948. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  949. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  950. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  951. package/node_modules/zod/v4/locales/ja.js +107 -0
  952. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  953. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  954. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  955. package/node_modules/zod/v4/locales/ka.js +112 -0
  956. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  957. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  958. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  959. package/node_modules/zod/v4/locales/kh.js +5 -0
  960. package/node_modules/zod/v4/locales/km.cjs +137 -0
  961. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  962. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  963. package/node_modules/zod/v4/locales/km.js +110 -0
  964. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  965. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  966. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  967. package/node_modules/zod/v4/locales/ko.js +111 -0
  968. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  969. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  970. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  971. package/node_modules/zod/v4/locales/lt.js +203 -0
  972. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  973. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  974. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  975. package/node_modules/zod/v4/locales/mk.js +109 -0
  976. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  977. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  978. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  979. package/node_modules/zod/v4/locales/ms.js +107 -0
  980. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  981. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  982. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  983. package/node_modules/zod/v4/locales/nl.js +110 -0
  984. package/node_modules/zod/v4/locales/no.cjs +135 -0
  985. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  986. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  987. package/node_modules/zod/v4/locales/no.js +108 -0
  988. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  989. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  990. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  991. package/node_modules/zod/v4/locales/ota.js +109 -0
  992. package/node_modules/zod/v4/locales/package.json +7 -0
  993. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  994. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  995. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  996. package/node_modules/zod/v4/locales/pl.js +109 -0
  997. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  998. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  999. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1000. package/node_modules/zod/v4/locales/ps.js +114 -0
  1001. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  1002. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1003. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1004. package/node_modules/zod/v4/locales/pt.js +108 -0
  1005. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  1006. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  1007. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  1008. package/node_modules/zod/v4/locales/ro.js +119 -0
  1009. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  1010. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1011. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1012. package/node_modules/zod/v4/locales/ru.js +156 -0
  1013. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  1014. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1015. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1016. package/node_modules/zod/v4/locales/sl.js +109 -0
  1017. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  1018. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1019. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1020. package/node_modules/zod/v4/locales/sv.js +110 -0
  1021. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  1022. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1023. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1024. package/node_modules/zod/v4/locales/ta.js +110 -0
  1025. package/node_modules/zod/v4/locales/th.cjs +137 -0
  1026. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1027. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1028. package/node_modules/zod/v4/locales/th.js +110 -0
  1029. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  1030. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1031. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1032. package/node_modules/zod/v4/locales/tr.js +105 -0
  1033. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1034. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1035. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1036. package/node_modules/zod/v4/locales/ua.js +5 -0
  1037. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  1038. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1039. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1040. package/node_modules/zod/v4/locales/uk.js +108 -0
  1041. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  1042. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1043. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1044. package/node_modules/zod/v4/locales/ur.js +110 -0
  1045. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  1046. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1047. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1048. package/node_modules/zod/v4/locales/uz.js +110 -0
  1049. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  1050. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1051. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1052. package/node_modules/zod/v4/locales/vi.js +108 -0
  1053. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  1054. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1055. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1056. package/node_modules/zod/v4/locales/yo.js +107 -0
  1057. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1058. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1059. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1060. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1061. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1062. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1063. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1064. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1065. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  1066. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1067. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1068. package/node_modules/zod/v4/mini/checks.js +1 -0
  1069. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1070. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1071. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1072. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1073. package/node_modules/zod/v4/mini/external.cjs +63 -0
  1074. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  1075. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  1076. package/node_modules/zod/v4/mini/external.js +14 -0
  1077. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1078. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1079. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1080. package/node_modules/zod/v4/mini/index.js +3 -0
  1081. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1082. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1083. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1084. package/node_modules/zod/v4/mini/iso.js +34 -0
  1085. package/node_modules/zod/v4/mini/package.json +7 -0
  1086. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  1087. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1088. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1089. package/node_modules/zod/v4/mini/parse.js +1 -0
  1090. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  1091. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  1092. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  1093. package/node_modules/zod/v4/mini/schemas.js +961 -0
  1094. package/node_modules/zod/v4/package.json +7 -0
  1095. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1096. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1097. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1098. package/node_modules/zod/v4-mini/index.js +3 -0
  1099. package/node_modules/zod/v4-mini/package.json +7 -0
  1100. package/npm-shrinkwrap.json +314 -0
  1101. package/package.json +11 -9
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GoogleToken = void 0;
17
+ const gaxios_1 = require("gaxios");
18
+ const tokenHandler_1 = require("./tokenHandler");
19
+ const revokeToken_1 = require("./revokeToken");
20
+ /**
21
+ * The GoogleToken class is used to manage authentication with Google's OAuth 2.0 authorization server.
22
+ * It handles fetching, caching, and refreshing of access tokens.
23
+ */
24
+ class GoogleToken {
25
+ /** The configuration options for this token instance. */
26
+ tokenOptions;
27
+ /** The handler for token fetching and caching logic. */
28
+ tokenHandler;
29
+ /**
30
+ * Create a GoogleToken.
31
+ *
32
+ * @param options Configuration object.
33
+ */
34
+ constructor(options) {
35
+ this.tokenOptions = options || {};
36
+ // If a transporter is not set, by default set it to use gaxios.
37
+ this.tokenOptions.transporter = this.tokenOptions.transporter || {
38
+ request: opts => (0, gaxios_1.request)(opts),
39
+ };
40
+ if (!this.tokenOptions.iss) {
41
+ this.tokenOptions.iss = this.tokenOptions.email;
42
+ }
43
+ if (typeof this.tokenOptions.scope === 'object') {
44
+ this.tokenOptions.scope = this.tokenOptions.scope.join(' ');
45
+ }
46
+ this.tokenHandler = new tokenHandler_1.TokenHandler(this.tokenOptions);
47
+ }
48
+ get expiresAt() {
49
+ return this.tokenHandler.tokenExpiresAt;
50
+ }
51
+ /**
52
+ * The most recent access token obtained by this client.
53
+ */
54
+ get accessToken() {
55
+ return this.tokenHandler.token?.access_token;
56
+ }
57
+ /**
58
+ * The most recent ID token obtained by this client.
59
+ */
60
+ get idToken() {
61
+ return this.tokenHandler.token?.id_token;
62
+ }
63
+ /**
64
+ * The token type of the most recent access token.
65
+ */
66
+ get tokenType() {
67
+ return this.tokenHandler.token?.token_type;
68
+ }
69
+ /**
70
+ * The refresh token for the current credentials.
71
+ */
72
+ get refreshToken() {
73
+ return this.tokenHandler.token?.refresh_token;
74
+ }
75
+ /**
76
+ * A boolean indicating if the current token has expired.
77
+ */
78
+ hasExpired() {
79
+ return this.tokenHandler.hasExpired();
80
+ }
81
+ /**
82
+ * A boolean indicating if the current token is expiring soon,
83
+ * based on the `eagerRefreshThresholdMillis` option.
84
+ */
85
+ isTokenExpiring() {
86
+ return this.tokenHandler.isTokenExpiring();
87
+ }
88
+ getToken(callbackOrOptions, opts = { forceRefresh: false }) {
89
+ // Handle the various method overloads.
90
+ let callback;
91
+ if (typeof callbackOrOptions === 'function') {
92
+ callback = callbackOrOptions;
93
+ }
94
+ else if (typeof callbackOrOptions === 'object') {
95
+ opts = callbackOrOptions;
96
+ }
97
+ // Delegate the token fetching to the token handler.
98
+ const promise = this.tokenHandler.getToken(opts.forceRefresh ?? false);
99
+ // If a callback is provided, use it, otherwise return the promise.
100
+ if (callback) {
101
+ promise.then(token => callback(null, token), callback);
102
+ }
103
+ return promise;
104
+ }
105
+ revokeToken(callback) {
106
+ if (!this.accessToken) {
107
+ return Promise.reject(new Error('No token to revoke.'));
108
+ }
109
+ const promise = (0, revokeToken_1.revokeToken)(this.accessToken, this.tokenOptions.transporter);
110
+ // If a callback is provided, use it.
111
+ if (callback) {
112
+ promise.then(() => callback(), callback);
113
+ }
114
+ // After revoking, reset the token handler to clear the cached token.
115
+ this.tokenHandler = new tokenHandler_1.TokenHandler(this.tokenOptions);
116
+ }
117
+ /**
118
+ * Returns the configuration options for this token instance.
119
+ */
120
+ get googleTokenOptions() {
121
+ return this.tokenOptions;
122
+ }
123
+ }
124
+ exports.GoogleToken = GoogleToken;
125
+ //# sourceMappingURL=googleToken.js.map
@@ -0,0 +1,33 @@
1
+ import { TokenOptions } from './tokenOptions';
2
+ /**
3
+ * Interface for the JWT payload required for signing.
4
+ */
5
+ interface JwsSignPayload {
6
+ /** The issuer claim for the JWT. */
7
+ iss?: string;
8
+ /** The space-delimited list of scopes for the requested token. */
9
+ scope?: string | string[];
10
+ /** The audience for the token. */
11
+ aud: string;
12
+ /** The expiration time of the token, in seconds since the epoch. */
13
+ exp: number;
14
+ /** The time the token was issued, in seconds since the epoch. */
15
+ iat: number;
16
+ /** The subject claim for the JWT, used for impersonation. */
17
+ sub?: string;
18
+ /** Additional claims to include in the JWT payload. */
19
+ [key: string]: any;
20
+ }
21
+ /**
22
+ * Builds the JWT payload for signing.
23
+ * @param tokenOptions The options for the token.
24
+ * @returns The JWT payload.
25
+ */
26
+ declare function buildPayloadForJwsSign(tokenOptions: TokenOptions): JwsSignPayload;
27
+ /**
28
+ * Creates a signed JWS (JSON Web Signature).
29
+ * @param tokenOptions The options for the token.
30
+ * @returns The signed JWS.
31
+ */
32
+ declare function getJwsSign(tokenOptions: TokenOptions): string;
33
+ export { buildPayloadForJwsSign, getJwsSign };
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.buildPayloadForJwsSign = buildPayloadForJwsSign;
17
+ exports.getJwsSign = getJwsSign;
18
+ const jws_1 = require("jws");
19
+ /** The default algorithm for signing JWTs. */
20
+ const ALG_RS256 = 'RS256';
21
+ /** The URL for Google's OAuth 2.0 token endpoint. */
22
+ const GOOGLE_TOKEN_URL = 'https://oauth2.googleapis.com/token';
23
+ /**
24
+ * Builds the JWT payload for signing.
25
+ * @param tokenOptions The options for the token.
26
+ * @returns The JWT payload.
27
+ */
28
+ function buildPayloadForJwsSign(tokenOptions) {
29
+ const iat = Math.floor(new Date().getTime() / 1000);
30
+ const payload = {
31
+ iss: tokenOptions.iss,
32
+ scope: tokenOptions.scope,
33
+ aud: GOOGLE_TOKEN_URL,
34
+ exp: iat + 3600,
35
+ iat,
36
+ sub: tokenOptions.sub,
37
+ ...tokenOptions.additionalClaims,
38
+ };
39
+ return payload;
40
+ }
41
+ /**
42
+ * Creates a signed JWS (JSON Web Signature).
43
+ * @param tokenOptions The options for the token.
44
+ * @returns The signed JWS.
45
+ */
46
+ function getJwsSign(tokenOptions) {
47
+ const payload = buildPayloadForJwsSign(tokenOptions);
48
+ return (0, jws_1.sign)({
49
+ header: { alg: ALG_RS256 },
50
+ payload,
51
+ secret: tokenOptions.key,
52
+ });
53
+ }
54
+ //# sourceMappingURL=jwsSign.js.map
@@ -0,0 +1,9 @@
1
+ import { Transporter } from './tokenOptions';
2
+ /**
3
+ * Revokes a given access token.
4
+ * @param accessToken The access token to revoke.
5
+ * @param transporter The transporter to make the request with.
6
+ * @returns A promise that resolves with the revocation response.
7
+ */
8
+ declare function revokeToken(accessToken: string, transporter: Transporter): Promise<import("gaxios").GaxiosResponse<unknown>>;
9
+ export { revokeToken };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.revokeToken = revokeToken;
17
+ /** The URL for Google's OAuth 2.0 token revocation endpoint. */
18
+ const GOOGLE_REVOKE_TOKEN_URL = 'https://oauth2.googleapis.com/revoke?token=';
19
+ /** The default retry behavior for the revoke token request. */
20
+ const DEFAULT_RETRY_VALUE = true;
21
+ /**
22
+ * Revokes a given access token.
23
+ * @param accessToken The access token to revoke.
24
+ * @param transporter The transporter to make the request with.
25
+ * @returns A promise that resolves with the revocation response.
26
+ */
27
+ async function revokeToken(accessToken, transporter) {
28
+ const url = GOOGLE_REVOKE_TOKEN_URL + accessToken;
29
+ return await transporter.request({
30
+ url,
31
+ retry: DEFAULT_RETRY_VALUE,
32
+ });
33
+ }
34
+ //# sourceMappingURL=revokeToken.js.map
@@ -0,0 +1,43 @@
1
+ import { TokenData } from './getToken';
2
+ import { TokenOptions } from './tokenOptions';
3
+ /**
4
+ * Manages the fetching and caching of access tokens.
5
+ */
6
+ declare class TokenHandler {
7
+ /** The cached access token. */
8
+ token: TokenData | undefined;
9
+ /** The expiration time of the cached access token. */
10
+ tokenExpiresAt: number | undefined;
11
+ /** A promise for an in-flight token request. */
12
+ private inFlightRequest;
13
+ private tokenOptions;
14
+ /**
15
+ * Creates an instance of TokenHandler.
16
+ * @param tokenOptions The options for fetching tokens.
17
+ * @param transporter The transporter to use for making requests.
18
+ */
19
+ constructor(tokenOptions: TokenOptions);
20
+ /**
21
+ * Processes the credentials, loading them from a key file if necessary.
22
+ * This method is called before any token request.
23
+ */
24
+ private processCredentials;
25
+ /**
26
+ * Checks if the cached token is expired or close to expiring.
27
+ * @returns True if the token is expiring, false otherwise.
28
+ */
29
+ isTokenExpiring(): boolean;
30
+ /**
31
+ * Returns whether the token has completely expired.
32
+ *
33
+ * @returns true if the token has expired, false otherwise.
34
+ */
35
+ hasExpired(): boolean;
36
+ /**
37
+ * Fetches an access token, using a cached one if available and not expired.
38
+ * @param forceRefresh If true, forces a new token to be fetched.
39
+ * @returns A promise that resolves with the token data.
40
+ */
41
+ getToken(forceRefresh: boolean): Promise<TokenData>;
42
+ }
43
+ export { TokenHandler };
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenHandler = void 0;
4
+ const getToken_1 = require("./getToken");
5
+ const getCredentials_1 = require("./getCredentials");
6
+ /**
7
+ * Manages the fetching and caching of access tokens.
8
+ */
9
+ class TokenHandler {
10
+ /** The cached access token. */
11
+ token;
12
+ /** The expiration time of the cached access token. */
13
+ tokenExpiresAt;
14
+ /** A promise for an in-flight token request. */
15
+ inFlightRequest;
16
+ tokenOptions;
17
+ /**
18
+ * Creates an instance of TokenHandler.
19
+ * @param tokenOptions The options for fetching tokens.
20
+ * @param transporter The transporter to use for making requests.
21
+ */
22
+ constructor(tokenOptions) {
23
+ this.tokenOptions = tokenOptions;
24
+ }
25
+ /**
26
+ * Processes the credentials, loading them from a key file if necessary.
27
+ * This method is called before any token request.
28
+ */
29
+ async processCredentials() {
30
+ if (!this.tokenOptions.key && !this.tokenOptions.keyFile) {
31
+ throw new Error('No key or keyFile set.');
32
+ }
33
+ if (!this.tokenOptions.key && this.tokenOptions.keyFile) {
34
+ const credentials = await (0, getCredentials_1.getCredentials)(this.tokenOptions.keyFile);
35
+ this.tokenOptions.key = credentials.privateKey;
36
+ this.tokenOptions.email = credentials.clientEmail;
37
+ }
38
+ }
39
+ /**
40
+ * Checks if the cached token is expired or close to expiring.
41
+ * @returns True if the token is expiring, false otherwise.
42
+ */
43
+ isTokenExpiring() {
44
+ if (!this.token || !this.tokenExpiresAt) {
45
+ return true;
46
+ }
47
+ const now = new Date().getTime();
48
+ const eagerRefreshThresholdMillis = this.tokenOptions.eagerRefreshThresholdMillis ?? 0;
49
+ return this.tokenExpiresAt <= now + eagerRefreshThresholdMillis;
50
+ }
51
+ /**
52
+ * Returns whether the token has completely expired.
53
+ *
54
+ * @returns true if the token has expired, false otherwise.
55
+ */
56
+ hasExpired() {
57
+ const now = new Date().getTime();
58
+ if (this.token && this.tokenExpiresAt) {
59
+ const now = new Date().getTime();
60
+ return now >= this.tokenExpiresAt;
61
+ }
62
+ return true;
63
+ }
64
+ /**
65
+ * Fetches an access token, using a cached one if available and not expired.
66
+ * @param forceRefresh If true, forces a new token to be fetched.
67
+ * @returns A promise that resolves with the token data.
68
+ */
69
+ async getToken(forceRefresh) {
70
+ // Ensure credentials are processed before proceeding.
71
+ await this.processCredentials();
72
+ // If there's an in-flight request, return it.
73
+ if (this.inFlightRequest && !forceRefresh) {
74
+ return this.inFlightRequest;
75
+ }
76
+ // If we have a valid, non-expiring token, return it.
77
+ if (this.token && !this.isTokenExpiring() && !forceRefresh) {
78
+ return this.token;
79
+ }
80
+ // Otherwise, fetch a new token.
81
+ try {
82
+ this.inFlightRequest = (0, getToken_1.getToken)(this.tokenOptions);
83
+ const token = await this.inFlightRequest;
84
+ // Cache the new token and its expiration time.
85
+ this.token = token;
86
+ this.tokenExpiresAt =
87
+ new Date().getTime() + (token.expires_in ?? 0) * 1000;
88
+ return token;
89
+ }
90
+ finally {
91
+ // Clear the in-flight request promise once it's settled.
92
+ this.inFlightRequest = undefined;
93
+ }
94
+ }
95
+ }
96
+ exports.TokenHandler = TokenHandler;
97
+ //# sourceMappingURL=tokenHandler.js.map
@@ -0,0 +1,44 @@
1
+ import { GaxiosOptions, GaxiosPromise } from 'gaxios';
2
+ interface Transporter {
3
+ request<T>(opts: GaxiosOptions): GaxiosPromise<T>;
4
+ }
5
+ interface TokenOptions {
6
+ /**
7
+ * Path to a .json, .pem, or .p12 key file.
8
+ */
9
+ keyFile?: string;
10
+ /**
11
+ * The raw private key value.
12
+ */
13
+ key?: string;
14
+ /**
15
+ * The service account email address.
16
+ */
17
+ email?: string;
18
+ /**
19
+ * The issuer claim for the JWT.
20
+ */
21
+ iss?: string;
22
+ /**
23
+ * The subject claim for the JWT. This is used for impersonation.
24
+ */
25
+ sub?: string;
26
+ /**
27
+ * The space-delimited list of scopes for the requested token.
28
+ */
29
+ scope?: string | string[];
30
+ /**
31
+ * Additional claims to include in the JWT payload.
32
+ */
33
+ additionalClaims?: {
34
+ [key: string]: any;
35
+ };
36
+ /**
37
+ * Eagerly refresh unexpired tokens when they are within this many
38
+ * milliseconds from expiring.
39
+ * Defaults to 0.
40
+ */
41
+ eagerRefreshThresholdMillis?: number;
42
+ transporter?: Transporter;
43
+ }
44
+ export { Transporter, TokenOptions };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ // Copyright 2025 Google LLC
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ //# sourceMappingURL=tokenOptions.js.map
@@ -0,0 +1,38 @@
1
+ import { GoogleAuth } from './auth/googleauth';
2
+ export * as gcpMetadata from 'gcp-metadata';
3
+ export * as gaxios from 'gaxios';
4
+ import { AuthClient } from './auth/authclient';
5
+ export { AuthClient, DEFAULT_UNIVERSE } from './auth/authclient';
6
+ export { Compute, ComputeOptions } from './auth/computeclient';
7
+ export { CredentialBody, CredentialRequest, Credentials, JWTInput, } from './auth/credentials';
8
+ export { GCPEnv } from './auth/envDetect';
9
+ export { GoogleAuthOptions, ProjectIdCallback } from './auth/googleauth';
10
+ export { IAMAuth, RequestMetadata } from './auth/iam';
11
+ export { IdTokenClient, IdTokenProvider } from './auth/idtokenclient';
12
+ export { Claims, JWTAccess } from './auth/jwtaccess';
13
+ export { JWT, JWTOptions } from './auth/jwtclient';
14
+ export { Impersonated, ImpersonatedOptions } from './auth/impersonated';
15
+ export { Certificates, CodeChallengeMethod, CodeVerifierResults, GenerateAuthUrlOpts, GetTokenOptions, OAuth2Client, OAuth2ClientOptions, RefreshOptions, TokenInfo, VerifyIdTokenOptions, ClientAuthentication, } from './auth/oauth2client';
16
+ export { LoginTicket, TokenPayload } from './auth/loginticket';
17
+ export { UserRefreshClient, UserRefreshClientOptions, } from './auth/refreshclient';
18
+ export { AwsClient, AwsClientOptions, AwsSecurityCredentialsSupplier, } from './auth/awsclient';
19
+ export { AwsSecurityCredentials, AwsRequestSigner, } from './auth/awsrequestsigner';
20
+ export { IdentityPoolClient, IdentityPoolClientOptions, SubjectTokenSupplier, } from './auth/identitypoolclient';
21
+ export { ExternalAccountClient, ExternalAccountClientOptions, } from './auth/externalclient';
22
+ export { BaseExternalAccountClient, BaseExternalAccountClientOptions, SharedExternalAccountClientOptions, ExternalAccountSupplierContext, IamGenerateAccessTokenResponse, } from './auth/baseexternalclient';
23
+ export { CredentialAccessBoundary, DownscopedClient, } from './auth/downscopedclient';
24
+ export { PluggableAuthClient, PluggableAuthClientOptions, ExecutableError, } from './auth/pluggable-auth-client';
25
+ export { EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE, ExternalAccountAuthorizedUserClient, ExternalAccountAuthorizedUserClientOptions, } from './auth/externalAccountAuthorizedUserClient';
26
+ export { PassThroughClient } from './auth/passthrough';
27
+ export * from './gtoken/googleToken';
28
+ type ALL_EXPORTS = (typeof import('./'))[keyof typeof import('./')];
29
+ /**
30
+ * A union type for all {@link AuthClient `AuthClient`} constructors.
31
+ */
32
+ export type AnyAuthClientConstructor = Extract<ALL_EXPORTS, typeof AuthClient>;
33
+ /**
34
+ * A union type for all {@link AuthClient `AuthClient`}s.
35
+ */
36
+ export type AnyAuthClient = InstanceType<AnyAuthClientConstructor>;
37
+ declare const auth: GoogleAuth<AuthClient>;
38
+ export { auth, GoogleAuth };
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.GoogleAuth = exports.auth = exports.PassThroughClient = exports.ExternalAccountAuthorizedUserClient = exports.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE = exports.ExecutableError = exports.PluggableAuthClient = exports.DownscopedClient = exports.BaseExternalAccountClient = exports.ExternalAccountClient = exports.IdentityPoolClient = exports.AwsRequestSigner = exports.AwsClient = exports.UserRefreshClient = exports.LoginTicket = exports.ClientAuthentication = exports.OAuth2Client = exports.CodeChallengeMethod = exports.Impersonated = exports.JWT = exports.JWTAccess = exports.IdTokenClient = exports.IAMAuth = exports.GCPEnv = exports.Compute = exports.DEFAULT_UNIVERSE = exports.AuthClient = exports.gaxios = exports.gcpMetadata = void 0;
18
+ // Copyright 2017 Google LLC
19
+ //
20
+ // Licensed under the Apache License, Version 2.0 (the "License");
21
+ // you may not use this file except in compliance with the License.
22
+ // You may obtain a copy of the License at
23
+ //
24
+ // http://www.apache.org/licenses/LICENSE-2.0
25
+ //
26
+ // Unless required by applicable law or agreed to in writing, software
27
+ // distributed under the License is distributed on an "AS IS" BASIS,
28
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ // See the License for the specific language governing permissions and
30
+ // limitations under the License.
31
+ const googleauth_1 = require("./auth/googleauth");
32
+ Object.defineProperty(exports, "GoogleAuth", { enumerable: true, get: function () { return googleauth_1.GoogleAuth; } });
33
+ // Export common deps to ensure types/instances are the exact match. Useful
34
+ // for consistently configuring the library across versions.
35
+ exports.gcpMetadata = require("gcp-metadata");
36
+ exports.gaxios = require("gaxios");
37
+ var authclient_1 = require("./auth/authclient");
38
+ Object.defineProperty(exports, "AuthClient", { enumerable: true, get: function () { return authclient_1.AuthClient; } });
39
+ Object.defineProperty(exports, "DEFAULT_UNIVERSE", { enumerable: true, get: function () { return authclient_1.DEFAULT_UNIVERSE; } });
40
+ var computeclient_1 = require("./auth/computeclient");
41
+ Object.defineProperty(exports, "Compute", { enumerable: true, get: function () { return computeclient_1.Compute; } });
42
+ var envDetect_1 = require("./auth/envDetect");
43
+ Object.defineProperty(exports, "GCPEnv", { enumerable: true, get: function () { return envDetect_1.GCPEnv; } });
44
+ var iam_1 = require("./auth/iam");
45
+ Object.defineProperty(exports, "IAMAuth", { enumerable: true, get: function () { return iam_1.IAMAuth; } });
46
+ var idtokenclient_1 = require("./auth/idtokenclient");
47
+ Object.defineProperty(exports, "IdTokenClient", { enumerable: true, get: function () { return idtokenclient_1.IdTokenClient; } });
48
+ var jwtaccess_1 = require("./auth/jwtaccess");
49
+ Object.defineProperty(exports, "JWTAccess", { enumerable: true, get: function () { return jwtaccess_1.JWTAccess; } });
50
+ var jwtclient_1 = require("./auth/jwtclient");
51
+ Object.defineProperty(exports, "JWT", { enumerable: true, get: function () { return jwtclient_1.JWT; } });
52
+ var impersonated_1 = require("./auth/impersonated");
53
+ Object.defineProperty(exports, "Impersonated", { enumerable: true, get: function () { return impersonated_1.Impersonated; } });
54
+ var oauth2client_1 = require("./auth/oauth2client");
55
+ Object.defineProperty(exports, "CodeChallengeMethod", { enumerable: true, get: function () { return oauth2client_1.CodeChallengeMethod; } });
56
+ Object.defineProperty(exports, "OAuth2Client", { enumerable: true, get: function () { return oauth2client_1.OAuth2Client; } });
57
+ Object.defineProperty(exports, "ClientAuthentication", { enumerable: true, get: function () { return oauth2client_1.ClientAuthentication; } });
58
+ var loginticket_1 = require("./auth/loginticket");
59
+ Object.defineProperty(exports, "LoginTicket", { enumerable: true, get: function () { return loginticket_1.LoginTicket; } });
60
+ var refreshclient_1 = require("./auth/refreshclient");
61
+ Object.defineProperty(exports, "UserRefreshClient", { enumerable: true, get: function () { return refreshclient_1.UserRefreshClient; } });
62
+ var awsclient_1 = require("./auth/awsclient");
63
+ Object.defineProperty(exports, "AwsClient", { enumerable: true, get: function () { return awsclient_1.AwsClient; } });
64
+ var awsrequestsigner_1 = require("./auth/awsrequestsigner");
65
+ Object.defineProperty(exports, "AwsRequestSigner", { enumerable: true, get: function () { return awsrequestsigner_1.AwsRequestSigner; } });
66
+ var identitypoolclient_1 = require("./auth/identitypoolclient");
67
+ Object.defineProperty(exports, "IdentityPoolClient", { enumerable: true, get: function () { return identitypoolclient_1.IdentityPoolClient; } });
68
+ var externalclient_1 = require("./auth/externalclient");
69
+ Object.defineProperty(exports, "ExternalAccountClient", { enumerable: true, get: function () { return externalclient_1.ExternalAccountClient; } });
70
+ var baseexternalclient_1 = require("./auth/baseexternalclient");
71
+ Object.defineProperty(exports, "BaseExternalAccountClient", { enumerable: true, get: function () { return baseexternalclient_1.BaseExternalAccountClient; } });
72
+ var downscopedclient_1 = require("./auth/downscopedclient");
73
+ Object.defineProperty(exports, "DownscopedClient", { enumerable: true, get: function () { return downscopedclient_1.DownscopedClient; } });
74
+ var pluggable_auth_client_1 = require("./auth/pluggable-auth-client");
75
+ Object.defineProperty(exports, "PluggableAuthClient", { enumerable: true, get: function () { return pluggable_auth_client_1.PluggableAuthClient; } });
76
+ Object.defineProperty(exports, "ExecutableError", { enumerable: true, get: function () { return pluggable_auth_client_1.ExecutableError; } });
77
+ var externalAccountAuthorizedUserClient_1 = require("./auth/externalAccountAuthorizedUserClient");
78
+ Object.defineProperty(exports, "EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE", { enumerable: true, get: function () { return externalAccountAuthorizedUserClient_1.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE; } });
79
+ Object.defineProperty(exports, "ExternalAccountAuthorizedUserClient", { enumerable: true, get: function () { return externalAccountAuthorizedUserClient_1.ExternalAccountAuthorizedUserClient; } });
80
+ var passthrough_1 = require("./auth/passthrough");
81
+ Object.defineProperty(exports, "PassThroughClient", { enumerable: true, get: function () { return passthrough_1.PassThroughClient; } });
82
+ __exportStar(require("./gtoken/googleToken"), exports);
83
+ const auth = new googleauth_1.GoogleAuth();
84
+ exports.auth = auth;
85
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // Copyright 2023 Google LLC
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.USER_AGENT = exports.PRODUCT_NAME = exports.pkg = void 0;
16
+ const pkg = require('../../package.json');
17
+ exports.pkg = pkg;
18
+ const PRODUCT_NAME = 'google-api-nodejs-client';
19
+ exports.PRODUCT_NAME = PRODUCT_NAME;
20
+ const USER_AGENT = `${PRODUCT_NAME}/${pkg.version}`;
21
+ exports.USER_AGENT = USER_AGENT;
22
+ //# sourceMappingURL=shared.cjs.map
@@ -0,0 +1,7 @@
1
+ declare const pkg: {
2
+ name: string;
3
+ version: string;
4
+ };
5
+ declare const PRODUCT_NAME = "google-api-nodejs-client";
6
+ declare const USER_AGENT: string;
7
+ export { pkg, PRODUCT_NAME, USER_AGENT };