@agentpaid/paid-nextjs-client 0.3.0 → 0.3.1

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 (56) hide show
  1. package/README.md +28 -97
  2. package/dist/api/api/handleBlocks.ts +144 -0
  3. package/dist/api/handleBlocks.d.ts +9 -0
  4. package/dist/api/handleBlocks.d.ts.map +1 -0
  5. package/dist/api/handleBlocks.js +107 -0
  6. package/dist/api/handleBlocks.js.map +1 -0
  7. package/dist/components/PaidActivityLog.d.ts +2 -2
  8. package/dist/components/PaidActivityLog.d.ts.map +1 -1
  9. package/dist/components/PaidActivityLog.js +24 -7
  10. package/dist/components/PaidActivityLog.js.map +1 -1
  11. package/dist/components/PaidInvoiceTable.d.ts +1 -1
  12. package/dist/components/PaidInvoiceTable.d.ts.map +1 -1
  13. package/dist/components/PaidInvoiceTable.js +29 -8
  14. package/dist/components/PaidInvoiceTable.js.map +1 -1
  15. package/dist/components/PaidPaymentsTable.d.ts +1 -1
  16. package/dist/components/PaidPaymentsTable.d.ts.map +1 -1
  17. package/dist/components/PaidPaymentsTable.js +15 -7
  18. package/dist/components/PaidPaymentsTable.js.map +1 -1
  19. package/dist/components/components/PaidActivityLog.js +28 -12
  20. package/dist/components/components/PaidInvoiceTable.js +33 -13
  21. package/dist/components/components/PaidPaymentsTable.js +18 -12
  22. package/dist/hooks/useCache.d.ts +2 -2
  23. package/dist/hooks/useCache.d.ts.map +1 -1
  24. package/dist/hooks/useCache.js +10 -17
  25. package/dist/hooks/useCache.js.map +1 -1
  26. package/dist/index.d.ts +2 -4
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +2 -4
  29. package/dist/index.js.map +1 -1
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/dist/utils/apiClient.d.ts +17 -0
  32. package/dist/utils/apiClient.d.ts.map +1 -0
  33. package/dist/utils/apiClient.js +60 -0
  34. package/dist/utils/apiClient.js.map +1 -0
  35. package/package.json +1 -1
  36. package/dist/api/api/handlePaidInvoicePdf.ts +0 -79
  37. package/dist/api/api/handlePaidInvoices.ts +0 -77
  38. package/dist/api/api/handlePaidPayments.ts +0 -77
  39. package/dist/api/api/handlePaidUsage.ts +0 -52
  40. package/dist/api/handlePaidInvoicePdf.d.ts +0 -6
  41. package/dist/api/handlePaidInvoicePdf.d.ts.map +0 -1
  42. package/dist/api/handlePaidInvoicePdf.js +0 -60
  43. package/dist/api/handlePaidInvoicePdf.js.map +0 -1
  44. package/dist/api/handlePaidInvoices.d.ts +0 -6
  45. package/dist/api/handlePaidInvoices.d.ts.map +0 -1
  46. package/dist/api/handlePaidInvoices.js +0 -56
  47. package/dist/api/handlePaidInvoices.js.map +0 -1
  48. package/dist/api/handlePaidPayments.d.ts +0 -6
  49. package/dist/api/handlePaidPayments.d.ts.map +0 -1
  50. package/dist/api/handlePaidPayments.js +0 -56
  51. package/dist/api/handlePaidPayments.js.map +0 -1
  52. package/dist/api/handlePaidUsage.d.ts +0 -6
  53. package/dist/api/handlePaidUsage.d.ts.map +0 -1
  54. package/dist/api/handlePaidUsage.js +0 -35
  55. package/dist/api/handlePaidUsage.js.map +0 -1
  56. /package/dist/styles/{activity-log-table.css → paid-activity-log.css} +0 -0
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@types/react/global.d.ts","../node_modules/csstype/index.d.ts","../node_modules/@types/prop-types/index.d.ts","../node_modules/@types/react/index.d.ts","../node_modules/@types/react/jsx-runtime.d.ts","../src/components/paidcontainer.tsx","../src/utils/cache.ts","../src/components/ui/pagination.tsx","../src/components/paidactivitylog.tsx","../src/components/paidinvoicetable.tsx","../src/components/paidpaymentstable.tsx","../src/components/ui/table.tsx","../src/api/handlepaidusage.ts","../src/api/handlepaidinvoices.ts","../src/api/handlepaidinvoicepdf.ts","../src/api/handlepaidpayments.ts","../src/hooks/usecache.ts","../src/index.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts5.6/index.d.ts","../node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee",{"version":"d3c1869c8ed70306e756de0566c2d0c423c0e9c6e9fe7aebec141461f104dd49","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3",{"version":"3dc60ce692078446650a32b04d5c29c5803dbd0db76034102c0e91e2d0bc3376","signature":"a47b682270398a74803df5c42f9905a4d3a39834f9d9b680efeb2292d28fe2af"},{"version":"32ac14e7fa563f2b657178adcc0c319cf5721caa524a9db7b6d8232b7410f396","signature":"64a1e40127ecea86303ac5d2f476d323c0fe4709571905f0cb5598e340eade93"},{"version":"00ed355d73325ed4f484ae9544c44c77e27de2967edfe242254b8b7dcf032497","signature":"deff5d816000301ef3c9e0fb7e8bc08510d324a39e16a5719f23d53b8c4eb790"},{"version":"8708e6170271d309a90748c7fdc18b5f0e0b49d857c1c7756a9965b347d003d5","signature":"64582f75f9b10e551b1ee4c6dc1f60dca38e47121428375cdbb27498c0d5af9f"},{"version":"48a5fbbed4e3dd4c64153383d597a1c3560987b3b7a5cd490d8cc6623497c315","signature":"f664aa1e4720244f8d5a6ad1a746cdd11b2a9cc5d350ce0de325dd0a72b56720"},{"version":"a2efb01429c06ac88b616639aaa5bf1183511875bfcee13d97b729c08e118ad9","signature":"91a51ef861b247e0760357144c8afb142196f47f958e37afd3b7ee33f7f3ed03"},{"version":"d017cd759e2893ef79981fbd2d185f0eb1c53d58a2f04a8c16559515334115fd","signature":"f5374e9235801cafb2b901e16acb885b4a68e9710e0ab8b185fcc4af1b1085c4"},{"version":"f34ccf0b60aada36664d1eee76b171d9e83dc4d18ed80c7066af7bccdb0f7ac7","signature":"7d0f620a8b816cc32a8c94908184df70c568ae437c2a54ed0103c2b5efa7e041"},{"version":"ea2a0c6f4aeb49fa0676e73d6f859e4180e9f6275bf0d91b142e7ba413f0d0d5","signature":"106b1ac0deea2aa8e9d33fa01828220d0d416526d2785a0b1984b0cfccdd277c"},{"version":"5a0e010f73f40d07c4c5d65d25d05d39c285bd9a1e0b899a1c88be6683e01e56","signature":"87c7ed2e2ff284913e50a5dca661e1cb698fdfc75852a5e52a3c21023ccb865f"},{"version":"6ac524c0d79c06e713e3b27ce0b6fc40f95d88a5a5d8bd707d35a0350e552b81","signature":"47aabea2b0442a50ceff88eb0d3129f9631d4aab769a3f3405b1e334ea2f3451"},{"version":"d33f8c4120e85a8a61cedc0c39ca615d6a4f206288e6bf9d3c9d63d1981f8f6d","signature":"3b4df68edc76a67bf352693f177ae285e32cb006785a6e55a5f5534c6deca8ff"},{"version":"ec85f418ceba6b6cc494729955aa77bb0c087ad2dded394bd0d5e8369b72d0d8","signature":"6f6ee66680af3ca80da02e81bceccba4ca24d46587fd01f71ae1057faab0855d"},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b08684f05523597e20de97c6d5d0bb663a8c20966d7a8ae3b006cb0583b31c1f","affectsGlobalScope":true},"6b042aa5d277ad6963e2837179fd2f8fbb01968ac67115b0833c0244e93d1d50","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"9e025aa38cad40827cc30aca974fe33fe2c4652fe8c88f48dadbbbd6300c8b07","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","008e4cac37da1a6831aa43f6726da0073957ae89da2235082311eaf479b2ffa5","5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","b9b859f6e245c3c39ec85e65ab1b1ffe43473b75eaae16fe64f44c2d6832173e","93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e",{"version":"e184c4b8918ef56c8c9e68bd79f3f3780e2d0d75bf2b8a41da1509a40c2deb46","affectsGlobalScope":true},"e3114a0b8ab879b52767d1225cb8420ec99a827e5f744dbeb4900afc08c3e341","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true},{"version":"6b19db3600a17af69d4f33d08cc7076a7d19fb65bb36e442cac58929ec7c9482","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","ba1f814c22fd970255ddd60d61fb7e00c28271c933ab5d5cc19cd3ca66b8f57c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"0dbcebe2126d03936c70545e96a6e41007cf065be38a1ce4d32a39fcedefead4","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb",{"version":"09d479208911ac3ac6a7c2fe86217fc1abe6c4f04e2d52e4890e500699eeab32","affectsGlobalScope":true},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","c40b3d3cfbb1227c8935f681c2480a32b560e387dd771d329cdbd1641f2d6da5","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true},{"version":"c4a3720550d1787c8d6284040853c0781ff1e2cd8d842f2cb44547525ee34c36","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","fe5748232eaa52bbfd7ce314e52b246871731c5f41318fdaf6633cb14fa20da0","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f"],"root":[[71,83]],"options":{"allowJs":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"module":99,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[90,133],[90,130,133],[90,132,133],[90,133,138,167],[90,133,134,139,145,146,153,164,175],[90,133,134,135,145,153],[85,86,87,90,133],[90,133,136,176],[90,133,137,138,146,154],[90,133,138,164,172],[90,133,139,141,145,153],[90,132,133,140],[90,133,141,142],[90,133,145],[90,133,143,145],[90,132,133,145],[90,133,145,146,147,164,175],[90,133,145,146,147,160,164,167],[90,128,133,180],[90,133,141,145,148,153,164,175],[90,133,145,146,148,149,153,164,172,175],[90,133,148,150,164,172,175],[90,133,145,151],[90,133,152,175,180],[90,133,141,145,153,164],[90,133,154],[90,133,155],[90,132,133,156],[90,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181],[90,133,158],[90,133,159],[90,133,145,160,161],[90,133,160,162,176,178],[90,133,145,164,165,167],[90,133,166,167],[90,133,164,165],[90,133,167],[90,133,168],[90,130,133,164],[90,133,145,170,171],[90,133,170,171],[90,133,138,153,164,172],[90,133,173],[133],[88,89,90,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181],[90,133,153,174],[90,133,148,159,175],[90,133,138,176],[90,133,164,177],[90,133,152,178],[90,133,179],[90,133,138,145,147,156,164,175,178,180],[90,133,164,181],[69,90,133],[66,67,68,90,133],[90,100,104,133,175],[90,100,133,164,175],[90,95,133],[90,97,100,133,172,175],[90,133,153,172],[90,133,182],[90,95,133,182],[90,97,100,133,153,175],[90,92,93,96,99,133,145,164,175],[90,100,107,133],[90,92,98,133],[90,100,121,122,133],[90,96,100,133,167,175,182],[90,121,133,182],[90,94,95,133,182],[90,100,133],[90,94,95,96,97,98,99,100,101,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,122,123,124,125,126,127,133],[90,100,115,133],[90,100,107,108,133],[90,98,100,108,109,133],[90,99,133],[90,92,95,100,133],[90,100,104,108,109,133],[90,104,133],[90,98,100,103,133,175],[90,92,97,100,107,133],[90,133,164],[90,95,100,121,133,180,182],[70,90,133],[69,70,71,72,73,90,133],[69,70,90,133],[69,70,72,90,133],[70,71,73,74,75,76,77,78,79,80,81,82,90,133],[69],[71,73,74,75,76,77,78,79,80,81,82]],"referencedMap":[[84,1],[130,2],[131,2],[132,3],[133,4],[134,5],[135,6],[85,1],[88,7],[86,1],[87,1],[136,8],[137,9],[138,10],[139,11],[140,12],[141,13],[142,13],[144,14],[143,15],[145,16],[146,17],[147,18],[129,19],[148,20],[149,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,32],[162,33],[163,1],[164,34],[166,35],[165,36],[167,37],[168,38],[169,39],[170,40],[171,41],[172,42],[173,43],[90,44],[89,1],[182,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[180,52],[181,53],[68,1],[183,54],[66,1],[69,55],[70,54],[91,1],[67,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[107,56],[117,57],[106,56],[127,58],[98,59],[97,60],[126,61],[120,62],[125,63],[100,64],[114,65],[99,66],[123,67],[95,68],[94,61],[124,69],[96,70],[101,71],[102,1],[105,71],[92,1],[128,72],[118,73],[109,74],[110,75],[112,76],[108,77],[111,78],[121,61],[103,79],[104,80],[113,81],[93,82],[116,73],[115,71],[119,1],[122,83],[80,84],[79,84],[81,84],[78,84],[74,85],[71,86],[75,85],[76,85],[73,86],[77,86],[82,87],[83,88],[72,84]],"exportedModulesMap":[[84,1],[130,2],[131,2],[132,3],[133,4],[134,5],[135,6],[85,1],[88,7],[86,1],[87,1],[136,8],[137,9],[138,10],[139,11],[140,12],[141,13],[142,13],[144,14],[143,15],[145,16],[146,17],[147,18],[129,19],[148,20],[149,21],[150,22],[151,23],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,32],[162,33],[163,1],[164,34],[166,35],[165,36],[167,37],[168,38],[169,39],[170,40],[171,41],[172,42],[173,43],[90,44],[89,1],[182,45],[174,46],[175,47],[176,48],[177,49],[178,50],[179,51],[180,52],[181,53],[68,1],[183,54],[66,1],[69,55],[70,54],[91,1],[67,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[107,56],[117,57],[106,56],[127,58],[98,59],[97,60],[126,61],[120,62],[125,63],[100,64],[114,65],[99,66],[123,67],[95,68],[94,61],[124,69],[96,70],[101,71],[102,1],[105,71],[92,1],[128,72],[118,73],[109,74],[110,75],[112,76],[108,77],[111,78],[121,61],[103,79],[104,80],[113,81],[93,82],[116,73],[115,71],[119,1],[122,83],[74,89],[71,89],[75,89],[76,89],[73,89],[77,89],[83,90]],"semanticDiagnosticsPerFile":[84,130,131,132,133,134,135,85,88,86,87,136,137,138,139,140,141,142,144,143,145,146,147,129,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,166,165,167,168,169,170,171,172,173,90,89,182,174,175,176,177,178,179,180,181,68,183,66,69,70,91,67,64,65,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,11,63,62,61,107,117,106,127,98,97,126,120,125,100,114,99,123,95,94,124,96,101,102,105,92,128,118,109,110,112,108,111,121,103,104,113,93,116,115,119,122,80,79,81,78,74,71,75,76,73,77,82,83,72]},"version":"5.3.3"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@types/react/global.d.ts","../node_modules/csstype/index.d.ts","../node_modules/@types/prop-types/index.d.ts","../node_modules/@types/react/index.d.ts","../node_modules/@types/react/jsx-runtime.d.ts","../src/components/paidcontainer.tsx","../src/components/ui/pagination.tsx","../src/utils/cache.ts","../src/utils/apiclient.ts","../src/components/paidactivitylog.tsx","../src/components/paidinvoicetable.tsx","../src/components/paidpaymentstable.tsx","../src/components/ui/table.tsx","../src/api/handleblocks.ts","../src/hooks/usecache.ts","../src/index.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts5.6/index.d.ts","../node_modules/@types/react-dom/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","1c0cdb8dc619bc549c3e5020643e7cf7ae7940058e8c7e5aefa5871b6d86f44b","bed7b7ba0eb5a160b69af72814b4dde371968e40b6c5e73d3a9f7bee407d158c",{"version":"21e41a76098aa7a191028256e52a726baafd45a925ea5cf0222eb430c96c1d83","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"08a58483392df5fcc1db57d782e87734f77ae9eab42516028acbfe46f29a3ef7","affectsGlobalScope":true},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"4350e5922fecd4bedda2964d69c213a1436349d0b8d260dd902795f5b94dc74b","affectsGlobalScope":true},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee",{"version":"d3c1869c8ed70306e756de0566c2d0c423c0e9c6e9fe7aebec141461f104dd49","affectsGlobalScope":true},"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3",{"version":"3dc60ce692078446650a32b04d5c29c5803dbd0db76034102c0e91e2d0bc3376","signature":"a47b682270398a74803df5c42f9905a4d3a39834f9d9b680efeb2292d28fe2af"},{"version":"00ed355d73325ed4f484ae9544c44c77e27de2967edfe242254b8b7dcf032497","signature":"deff5d816000301ef3c9e0fb7e8bc08510d324a39e16a5719f23d53b8c4eb790"},{"version":"32ac14e7fa563f2b657178adcc0c319cf5721caa524a9db7b6d8232b7410f396","signature":"64a1e40127ecea86303ac5d2f476d323c0fe4709571905f0cb5598e340eade93"},{"version":"ba1f850a5dd14754b5b3b6f7c6d2539db51b118945207fd7d2f2619e5a3cbbc3","signature":"3d6c0cfd950148c1388ad3b1e6179dd8d3b14ca2373556b31306aae821843354"},{"version":"1ee0b08d857071cbf80c0f15b25c0d4064322cd0fbba97c500bb128da90fb637","signature":"603fa1c878dcaf10a95f4077df96c5d1351c9b2d15771c9f9e7fe94950756e94"},{"version":"37a150c7c035904dfd4e895e4acfe42017d3dbe4f9af8dd2ad5c97f61fb0c116","signature":"8b72d687c1fc1dcdf7bc4ab3750390e6f6a3d20f17abe3711c9f91512dd62be6"},{"version":"1e98f83cc50ce5d71f43e3ce390dd267a83be9fc4a458c5cfe183bc2201711f1","signature":"3b1eb55fa4b3c8f854d97fd2e99062b37207f4695e9e15bbeeaed9dd28f126e6"},{"version":"d017cd759e2893ef79981fbd2d185f0eb1c53d58a2f04a8c16559515334115fd","signature":"f5374e9235801cafb2b901e16acb885b4a68e9710e0ab8b185fcc4af1b1085c4"},{"version":"3a89b947ce2f52f1c67eb5213a35cefecc6750c4b864b6c49782b3a962cdb94b","signature":"e631dd1f53ca6c60d008f4ad896bfc02ea5151f42104e571f745fdfa5f0dbf18"},{"version":"cee5b1160d60a63fe17f680b7b938c05f8d85f0af1562ae48ffed9ca8a543b0e","signature":"f821adaae081b0e7aefe362b18a096a24b7b89e06ad48b87ee3de16d1165244a"},{"version":"717fc687280e8aa21698b55f46d283ff7657074b762a4e4db02fda7d6edeea73","signature":"23133f11f99b913bb52f867cf6d819ca7d244cacb031f9944201de7b6c828de3"},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b08684f05523597e20de97c6d5d0bb663a8c20966d7a8ae3b006cb0583b31c1f","affectsGlobalScope":true},"6b042aa5d277ad6963e2837179fd2f8fbb01968ac67115b0833c0244e93d1d50","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"9e025aa38cad40827cc30aca974fe33fe2c4652fe8c88f48dadbbbd6300c8b07","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","008e4cac37da1a6831aa43f6726da0073957ae89da2235082311eaf479b2ffa5","5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","b9b859f6e245c3c39ec85e65ab1b1ffe43473b75eaae16fe64f44c2d6832173e","93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e",{"version":"e184c4b8918ef56c8c9e68bd79f3f3780e2d0d75bf2b8a41da1509a40c2deb46","affectsGlobalScope":true},"e3114a0b8ab879b52767d1225cb8420ec99a827e5f744dbeb4900afc08c3e341","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true},{"version":"6b19db3600a17af69d4f33d08cc7076a7d19fb65bb36e442cac58929ec7c9482","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","ba1f814c22fd970255ddd60d61fb7e00c28271c933ab5d5cc19cd3ca66b8f57c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"0dbcebe2126d03936c70545e96a6e41007cf065be38a1ce4d32a39fcedefead4","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb",{"version":"09d479208911ac3ac6a7c2fe86217fc1abe6c4f04e2d52e4890e500699eeab32","affectsGlobalScope":true},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","c40b3d3cfbb1227c8935f681c2480a32b560e387dd771d329cdbd1641f2d6da5","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true},{"version":"c4a3720550d1787c8d6284040853c0781ff1e2cd8d842f2cb44547525ee34c36","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","fe5748232eaa52bbfd7ce314e52b246871731c5f41318fdaf6633cb14fa20da0","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f"],"root":[[71,81]],"options":{"allowJs":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"module":99,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":5},"fileIdsList":[[88,131],[88,128,131],[88,130,131],[88,131,136,165],[88,131,132,137,143,144,151,162,173],[88,131,132,133,143,151],[83,84,85,88,131],[88,131,134,174],[88,131,135,136,144,152],[88,131,136,162,170],[88,131,137,139,143,151],[88,130,131,138],[88,131,139,140],[88,131,143],[88,131,141,143],[88,130,131,143],[88,131,143,144,145,162,173],[88,131,143,144,145,158,162,165],[88,126,131,178],[88,131,139,143,146,151,162,173],[88,131,143,144,146,147,151,162,170,173],[88,131,146,148,162,170,173],[88,131,143,149],[88,131,150,173,178],[88,131,139,143,151,162],[88,131,152],[88,131,153],[88,130,131,154],[88,128,129,130,131,132,133,134,135,136,137,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],[88,131,156],[88,131,157],[88,131,143,158,159],[88,131,158,160,174,176],[88,131,143,162,163,165],[88,131,164,165],[88,131,162,163],[88,131,165],[88,131,166],[88,128,131,162],[88,131,143,168,169],[88,131,168,169],[88,131,136,151,162,170],[88,131,171],[131],[86,87,88,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],[88,131,151,172],[88,131,146,157,173],[88,131,136,174],[88,131,162,175],[88,131,150,176],[88,131,177],[88,131,136,143,145,154,162,173,176,178],[88,131,162,179],[69,88,131],[66,67,68,88,131],[88,98,102,131,173],[88,98,131,162,173],[88,93,131],[88,95,98,131,170,173],[88,131,151,170],[88,131,180],[88,93,131,180],[88,95,98,131,151,173],[88,90,91,94,97,131,143,162,173],[88,98,105,131],[88,90,96,131],[88,98,119,120,131],[88,94,98,131,165,173,180],[88,119,131,180],[88,92,93,131,180],[88,98,131],[88,92,93,94,95,96,97,98,99,100,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,120,121,122,123,124,125,131],[88,98,113,131],[88,98,105,106,131],[88,96,98,106,107,131],[88,97,131],[88,90,93,98,131],[88,98,102,106,107,131],[88,102,131],[88,96,98,101,131,173],[88,90,95,98,105,131],[88,131,162],[88,93,98,119,131,178,180],[70,88,131],[69,70,71,72,74,88,131],[69,70,88,131],[69,70,71,72,73,74,88,131],[69,70,73,88,131],[70,71,72,74,75,76,77,78,79,80,88,131],[70,73,88,131],[69],[71,72,74,75,76,77,78,79,80]],"referencedMap":[[82,1],[128,2],[129,2],[130,3],[131,4],[132,5],[133,6],[83,1],[86,7],[84,1],[85,1],[134,8],[135,9],[136,10],[137,11],[138,12],[139,13],[140,13],[142,14],[141,15],[143,16],[144,17],[145,18],[127,19],[146,20],[147,21],[148,22],[149,23],[150,24],[151,25],[152,26],[153,27],[154,28],[155,29],[156,30],[157,31],[158,32],[159,32],[160,33],[161,1],[162,34],[164,35],[163,36],[165,37],[166,38],[167,39],[168,40],[169,41],[170,42],[171,43],[88,44],[87,1],[180,45],[172,46],[173,47],[174,48],[175,49],[176,50],[177,51],[178,52],[179,53],[68,1],[181,54],[66,1],[69,55],[70,54],[89,1],[67,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[105,56],[115,57],[104,56],[125,58],[96,59],[95,60],[124,61],[118,62],[123,63],[98,64],[112,65],[97,66],[121,67],[93,68],[92,61],[122,69],[94,70],[99,71],[100,1],[103,71],[90,1],[126,72],[116,73],[107,74],[108,75],[110,76],[106,77],[109,78],[119,61],[101,79],[102,80],[111,81],[91,82],[114,73],[113,71],[117,1],[120,83],[79,84],[75,85],[71,86],[76,87],[77,87],[72,86],[78,86],[80,88],[81,89],[74,90],[73,84]],"exportedModulesMap":[[82,1],[128,2],[129,2],[130,3],[131,4],[132,5],[133,6],[83,1],[86,7],[84,1],[85,1],[134,8],[135,9],[136,10],[137,11],[138,12],[139,13],[140,13],[142,14],[141,15],[143,16],[144,17],[145,18],[127,19],[146,20],[147,21],[148,22],[149,23],[150,24],[151,25],[152,26],[153,27],[154,28],[155,29],[156,30],[157,31],[158,32],[159,32],[160,33],[161,1],[162,34],[164,35],[163,36],[165,37],[166,38],[167,39],[168,40],[169,41],[170,42],[171,43],[88,44],[87,1],[180,45],[172,46],[173,47],[174,48],[175,49],[176,50],[177,51],[178,52],[179,53],[68,1],[181,54],[66,1],[69,55],[70,54],[89,1],[67,1],[64,1],[65,1],[12,1],[13,1],[15,1],[14,1],[2,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[3,1],[4,1],[24,1],[28,1],[25,1],[26,1],[27,1],[29,1],[30,1],[31,1],[5,1],[32,1],[33,1],[34,1],[35,1],[6,1],[39,1],[36,1],[37,1],[38,1],[40,1],[7,1],[41,1],[46,1],[47,1],[42,1],[43,1],[44,1],[45,1],[8,1],[51,1],[48,1],[49,1],[50,1],[52,1],[9,1],[53,1],[54,1],[55,1],[58,1],[56,1],[57,1],[59,1],[60,1],[10,1],[1,1],[11,1],[63,1],[62,1],[61,1],[105,56],[115,57],[104,56],[125,58],[96,59],[95,60],[124,61],[118,62],[123,63],[98,64],[112,65],[97,66],[121,67],[93,68],[92,61],[122,69],[94,70],[99,71],[100,1],[103,71],[90,1],[126,72],[116,73],[107,74],[108,75],[110,76],[106,77],[109,78],[119,61],[101,79],[102,80],[111,81],[91,82],[114,73],[113,71],[117,1],[120,83],[75,91],[71,91],[76,91],[77,91],[72,91],[78,91],[81,92]],"semanticDiagnosticsPerFile":[82,128,129,130,131,132,133,83,86,84,85,134,135,136,137,138,139,140,142,141,143,144,145,127,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,164,163,165,166,167,168,169,170,171,88,87,180,172,173,174,175,176,177,178,179,68,181,66,69,70,89,67,64,65,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,46,47,42,43,44,45,8,51,48,49,50,52,9,53,54,55,58,56,57,59,60,10,1,11,63,62,61,105,115,104,125,96,95,124,118,123,98,112,97,121,93,92,122,94,99,100,103,90,126,116,107,108,110,106,109,119,101,102,111,91,114,113,117,120,79,75,71,76,77,72,78,80,81,74,73]},"version":"5.3.3"}
@@ -0,0 +1,17 @@
1
+ type PaidEndpoint = 'invoices' | 'payments' | 'usage' | 'invoice-pdf';
2
+ interface ApiClientOptions {
3
+ paidEndpoint: PaidEndpoint;
4
+ customerExternalId?: string;
5
+ invoiceId?: string;
6
+ }
7
+ declare class CachedResponse {
8
+ private data;
9
+ constructor(data: any);
10
+ get ok(): boolean;
11
+ get status(): number;
12
+ get statusText(): string;
13
+ json(): Promise<any>;
14
+ }
15
+ export declare function fetchPaidData({ paidEndpoint, customerExternalId, invoiceId }: ApiClientOptions): Promise<CachedResponse>;
16
+ export {};
17
+ //# sourceMappingURL=apiClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../src/utils/apiClient.ts"],"names":[],"mappings":"AAEA,KAAK,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,aAAa,CAAC;AAEtE,UAAU,gBAAgB;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,cAAM,cAAc;IAClB,OAAO,CAAC,IAAI,CAAM;gBAEN,IAAI,EAAE,GAAG;IAIrB,IAAI,EAAE,YAEL;IAED,IAAI,MAAM,WAET;IAED,IAAI,UAAU,WAEb;IAEK,IAAI;CAGX;AAED,wBAAsB,aAAa,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,EAAE,gBAAgB,2BA6CpG"}
@@ -0,0 +1,60 @@
1
+ import { dataCache, getCacheKey, CACHE_TTL } from './cache';
2
+ class CachedResponse {
3
+ constructor(data) {
4
+ this.data = data;
5
+ }
6
+ get ok() {
7
+ return true;
8
+ }
9
+ get status() {
10
+ return 200;
11
+ }
12
+ get statusText() {
13
+ return 'OK';
14
+ }
15
+ async json() {
16
+ return this.data;
17
+ }
18
+ }
19
+ export async function fetchPaidData({ paidEndpoint, customerExternalId, invoiceId }) {
20
+ let url;
21
+ let cacheKey;
22
+ let ttl;
23
+ if (paidEndpoint === 'invoice-pdf' && invoiceId) {
24
+ url = `/api/${paidEndpoint}/${invoiceId}`;
25
+ cacheKey = getCacheKey.invoicePdf(invoiceId);
26
+ ttl = CACHE_TTL.PDF;
27
+ }
28
+ else if (customerExternalId) {
29
+ url = `/api/${paidEndpoint}/${customerExternalId}`;
30
+ switch (paidEndpoint) {
31
+ case 'invoices':
32
+ cacheKey = getCacheKey.invoices(customerExternalId);
33
+ break;
34
+ case 'payments':
35
+ cacheKey = getCacheKey.payments(customerExternalId);
36
+ break;
37
+ case 'usage':
38
+ cacheKey = getCacheKey.usage(customerExternalId);
39
+ break;
40
+ default:
41
+ throw new Error(`Unknown endpoint: ${paidEndpoint}`);
42
+ }
43
+ ttl = CACHE_TTL.DATA;
44
+ }
45
+ else {
46
+ throw new Error('Missing required parameters');
47
+ }
48
+ const cached = dataCache.get(cacheKey);
49
+ if (cached) {
50
+ return new CachedResponse(cached);
51
+ }
52
+ const response = await fetch(url);
53
+ if (!response.ok) {
54
+ throw response;
55
+ }
56
+ const data = await response.json();
57
+ dataCache.set(cacheKey, data, ttl);
58
+ return new CachedResponse(data);
59
+ }
60
+ //# sourceMappingURL=apiClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiClient.js","sourceRoot":"","sources":["../../src/utils/apiClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAU5D,MAAM,cAAc;IAGlB,YAAY,IAAS;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,IAAI,EAAE;QACJ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,MAAM;QACR,OAAO,GAAG,CAAC;IACb,CAAC;IAED,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,IAAI;QACR,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;CACF;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAoB;IACnG,IAAI,GAAW,CAAC;IAChB,IAAI,QAAgB,CAAC;IACrB,IAAI,GAAW,CAAC;IAEhB,IAAI,YAAY,KAAK,aAAa,IAAI,SAAS,EAAE,CAAC;QAChD,GAAG,GAAG,QAAQ,YAAY,IAAI,SAAS,EAAE,CAAC;QAC1C,QAAQ,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;QAC7C,GAAG,GAAG,SAAS,CAAC,GAAG,CAAC;IACtB,CAAC;SAAM,IAAI,kBAAkB,EAAE,CAAC;QAC9B,GAAG,GAAG,QAAQ,YAAY,IAAI,kBAAkB,EAAE,CAAC;QACnD,QAAQ,YAAY,EAAE,CAAC;YACrB,KAAK,UAAU;gBACb,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;gBACpD,MAAM;YACR,KAAK,UAAU;gBACb,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;gBACpD,MAAM;YACR,KAAK,OAAO;gBACV,QAAQ,GAAG,WAAW,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;gBACjD,MAAM;YACR;gBACE,MAAM,IAAI,KAAK,CAAC,qBAAqB,YAAY,EAAE,CAAC,CAAC;QACzD,CAAC;QACD,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;IACjD,CAAC;IAED,MAAM,MAAM,GAAG,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACvC,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,MAAM,QAAQ,CAAC;IACjB,CAAC;IAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;IAEnC,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC;IAEnC,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentpaid/paid-nextjs-client",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Official NextJS Component SDK for the Paid.ai APIs.",
5
5
  "homepage": "https://github.com/AgentPaid/paid-nextjs-client#readme",
6
6
  "bugs": {
@@ -1,79 +0,0 @@
1
- export function handlePaidInvoicePdf(apiKey: string, apiBase?: string) {
2
- return async function GET(
3
- _: Request,
4
- { params }: { params: { invoiceId: string } }
5
- ) {
6
- try {
7
- if (!apiBase) {
8
- apiBase = 'https://api.agentpaid.io';
9
- }
10
-
11
- const { invoiceId } = params;
12
-
13
- if (!apiKey) {
14
- return new Response(
15
- JSON.stringify({ error: 'API key not configured' }),
16
- {
17
- status: 500,
18
- headers: { 'Content-Type': 'application/json' }
19
- }
20
- );
21
- }
22
-
23
- const url = `${apiBase}/api/organizations/org/invoices/${invoiceId}/pdf`;
24
-
25
- const response = await fetch(url, {
26
- headers: {
27
- 'Authorization': `Bearer ${apiKey}`,
28
- },
29
- }
30
- );
31
-
32
- if (!response.ok) {
33
- let errorMessage = `HTTP ${response.status}: ${response.statusText}`;
34
- try {
35
- const errorData = await response.json();
36
- errorMessage = errorData.error || errorData.message || errorMessage;
37
- } catch (parseError) {
38
- try {
39
- const errorText = await response.text();
40
- if (errorText) {
41
- errorMessage = errorText;
42
- }
43
- } catch (textError) {
44
- console.log('handlePaidInvoicePdf - Could not parse error response');
45
- }
46
- }
47
-
48
- return new Response(
49
- JSON.stringify({ error: errorMessage }),
50
- {
51
- status: response.status,
52
- headers: { 'Content-Type': 'application/json' }
53
- }
54
- );
55
- }
56
-
57
- const data = await response.json();
58
- return new Response(
59
- JSON.stringify(data),
60
- {
61
- status: 200,
62
- headers: { 'Content-Type': 'application/json' }
63
- }
64
- );
65
- } catch (error) {
66
- console.error('Error fetching invoice PDF:', error);
67
- return new Response(
68
- JSON.stringify({
69
- error: 'Failed to fetch invoice PDF',
70
- details: error instanceof Error ? error.message : String(error)
71
- }),
72
- {
73
- status: 500,
74
- headers: { 'Content-Type': 'application/json' }
75
- }
76
- );
77
- }
78
- }
79
- }
@@ -1,77 +0,0 @@
1
- export function handlePaidInvoices(apiKey: string, apiBase?: string) {
2
- return async function GET(
3
- _: Request,
4
- { params }: { params: { accountExternalId: string } }
5
- ) {
6
- try {
7
-
8
- if (!apiBase) {
9
- apiBase = 'https://api.agentpaid.io';
10
- }
11
-
12
- const { accountExternalId } = params;
13
-
14
- if (!apiKey) {
15
- console.log('handlePaidInvoices - No API key provided');
16
- return new Response(
17
- JSON.stringify({ error: 'API key not configured' }),
18
- {
19
- status: 500,
20
- headers: { 'Content-Type': 'application/json' }
21
- }
22
- );
23
- }
24
-
25
- const url = `${apiBase}/api/organizations/org/customer/external/${accountExternalId}/invoices`;
26
-
27
- const response = await fetch(url, {
28
- headers: {
29
- 'Authorization': `Bearer ${apiKey}`,
30
- },
31
- }
32
- );
33
-
34
- if (!response.ok) {
35
- let errorMessage = `HTTP ${response.status}: ${response.statusText}`;
36
- try {
37
- // Try to read as JSON first
38
- const errorData = await response.json();
39
- errorMessage = errorData.error || errorData.message || errorMessage;
40
- } catch (parseError) {
41
- // If JSON parsing fails, the body has been consumed, so we can't read it as text
42
- // Just use the HTTP status message
43
- console.log('handlePaidInvoices - Could not parse error response as JSON');
44
- }
45
-
46
- return new Response(
47
- JSON.stringify({ error: errorMessage }),
48
- {
49
- status: response.status,
50
- headers: { 'Content-Type': 'application/json' }
51
- }
52
- );
53
- }
54
-
55
- const data = await response.json();
56
- return new Response(
57
- JSON.stringify(data),
58
- {
59
- status: 200,
60
- headers: { 'Content-Type': 'application/json' }
61
- }
62
- );
63
- } catch (error) {
64
- console.error('Error fetching invoices:', error);
65
- return new Response(
66
- JSON.stringify({
67
- error: 'Failed to fetch invoices',
68
- details: error instanceof Error ? error.message : String(error)
69
- }),
70
- {
71
- status: 500,
72
- headers: { 'Content-Type': 'application/json' }
73
- }
74
- );
75
- }
76
- }
77
- }
@@ -1,77 +0,0 @@
1
- export function handlePaidPayments(apiKey: string, apiBase?: string) {
2
- return async function GET(
3
- _: Request,
4
- { params }: { params: { accountExternalId: string } }
5
- ) {
6
- try {
7
-
8
- if (!apiBase) {
9
- apiBase = 'https://api.agentpaid.io';
10
- }
11
-
12
- const { accountExternalId } = params;
13
-
14
- if (!apiKey) {
15
- console.log('handlePaidPayments - No API key provided');
16
- return new Response(
17
- JSON.stringify({ error: 'API key not configured' }),
18
- {
19
- status: 500,
20
- headers: { 'Content-Type': 'application/json' }
21
- }
22
- );
23
- }
24
-
25
- const url = `${apiBase}/api/organizations/org/customer/external/${accountExternalId}/payments`;
26
-
27
- const response = await fetch(url, {
28
- headers: {
29
- 'Authorization': `Bearer ${apiKey}`,
30
- },
31
- }
32
- );
33
-
34
- if (!response.ok) {
35
- let errorMessage = `HTTP ${response.status}: ${response.statusText}`;
36
- try {
37
- // Try to read as JSON first
38
- const errorData = await response.json();
39
- errorMessage = errorData.error || errorData.message || errorMessage;
40
- } catch (parseError) {
41
- // If JSON parsing fails, the body has been consumed, so we can't read it as text
42
- // Just use the HTTP status message
43
- console.log('handlePaidPayments - Could not parse error response as JSON');
44
- }
45
-
46
- return new Response(
47
- JSON.stringify({ error: errorMessage }),
48
- {
49
- status: response.status,
50
- headers: { 'Content-Type': 'application/json' }
51
- }
52
- );
53
- }
54
-
55
- const data = await response.json();
56
- return new Response(
57
- JSON.stringify(data),
58
- {
59
- status: 200,
60
- headers: { 'Content-Type': 'application/json' }
61
- }
62
- );
63
- } catch (error) {
64
- console.error('Error fetching payments:', error);
65
- return new Response(
66
- JSON.stringify({
67
- error: 'Failed to fetch payments',
68
- details: error instanceof Error ? error.message : String(error)
69
- }),
70
- {
71
- status: 500,
72
- headers: { 'Content-Type': 'application/json' }
73
- }
74
- );
75
- }
76
- }
77
- }
@@ -1,52 +0,0 @@
1
- export function handlePaidUsage(apiKey: string) {
2
- return async function GET(
3
- _: Request,
4
- { params }: { params: { accountExternalId: string } }
5
- ) {
6
- try {
7
- const apiBase = 'https://api.agentpaid.io';
8
- const { accountExternalId } = params;
9
-
10
- if (!apiKey) {
11
- return new Response(
12
- JSON.stringify({ error: 'API key not configured' }),
13
- {
14
- status: 500,
15
- headers: { 'Content-Type': 'application/json' }
16
- }
17
- );
18
- }
19
-
20
- const response = await fetch(
21
- `${apiBase}/api/organizations/org/customer/external/${accountExternalId}`,
22
- {
23
- headers: {
24
- 'Authorization': `Bearer ${apiKey}`,
25
- },
26
- }
27
- );
28
-
29
- if (!response.ok) {
30
- throw new Error('Failed to fetch usage data');
31
- }
32
-
33
- const data = await response.json();
34
- return new Response(
35
- JSON.stringify(data),
36
- {
37
- status: 200,
38
- headers: { 'Content-Type': 'application/json' }
39
- }
40
- );
41
- } catch (error) {
42
- console.error('Error fetching usage data:', error);
43
- return new Response(
44
- JSON.stringify({ error: 'Failed to fetch usage data' }),
45
- {
46
- status: 500,
47
- headers: { 'Content-Type': 'application/json' }
48
- }
49
- );
50
- }
51
- }
52
- }
@@ -1,6 +0,0 @@
1
- export declare function handlePaidInvoicePdf(apiKey: string, apiBase?: string): (_: Request, { params }: {
2
- params: {
3
- invoiceId: string;
4
- };
5
- }) => Promise<Response>;
6
- //# sourceMappingURL=handlePaidInvoicePdf.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlePaidInvoicePdf.d.ts","sourceRoot":"","sources":["../../src/api/handlePaidInvoicePdf.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,OAE5D,OAAO;YACY;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE;wBA2E9C"}
@@ -1,60 +0,0 @@
1
- export function handlePaidInvoicePdf(apiKey, apiBase) {
2
- return async function GET(_, { params }) {
3
- try {
4
- if (!apiBase) {
5
- apiBase = 'https://api.agentpaid.io';
6
- }
7
- const { invoiceId } = params;
8
- if (!apiKey) {
9
- return new Response(JSON.stringify({ error: 'API key not configured' }), {
10
- status: 500,
11
- headers: { 'Content-Type': 'application/json' }
12
- });
13
- }
14
- const url = `${apiBase}/api/organizations/org/invoices/${invoiceId}/pdf`;
15
- const response = await fetch(url, {
16
- headers: {
17
- 'Authorization': `Bearer ${apiKey}`,
18
- },
19
- });
20
- if (!response.ok) {
21
- let errorMessage = `HTTP ${response.status}: ${response.statusText}`;
22
- try {
23
- const errorData = await response.json();
24
- errorMessage = errorData.error || errorData.message || errorMessage;
25
- }
26
- catch (parseError) {
27
- try {
28
- const errorText = await response.text();
29
- if (errorText) {
30
- errorMessage = errorText;
31
- }
32
- }
33
- catch (textError) {
34
- console.log('handlePaidInvoicePdf - Could not parse error response');
35
- }
36
- }
37
- return new Response(JSON.stringify({ error: errorMessage }), {
38
- status: response.status,
39
- headers: { 'Content-Type': 'application/json' }
40
- });
41
- }
42
- const data = await response.json();
43
- return new Response(JSON.stringify(data), {
44
- status: 200,
45
- headers: { 'Content-Type': 'application/json' }
46
- });
47
- }
48
- catch (error) {
49
- console.error('Error fetching invoice PDF:', error);
50
- return new Response(JSON.stringify({
51
- error: 'Failed to fetch invoice PDF',
52
- details: error instanceof Error ? error.message : String(error)
53
- }), {
54
- status: 500,
55
- headers: { 'Content-Type': 'application/json' }
56
- });
57
- }
58
- };
59
- }
60
- //# sourceMappingURL=handlePaidInvoicePdf.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"handlePaidInvoicePdf.js","sourceRoot":"","sources":["../../src/api/handlePaidInvoicePdf.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,oBAAoB,CAAC,MAAc,EAAE,OAAgB;IACjE,OAAO,KAAK,UAAU,GAAG,CACvB,CAAU,EACV,EAAE,MAAM,EAAqC;QAE7C,IAAI,CAAC;YACH,IAAI,CAAC,OAAO,EAAE,CAAC;gBACX,OAAO,GAAG,0BAA0B,CAAC;YACzC,CAAC;YAED,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC;YAE7B,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,IAAI,QAAQ,CACjB,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,wBAAwB,EAAE,CAAC,EACnD;oBACE,MAAM,EAAE,GAAG;oBACX,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;iBAChD,CACF,CAAC;YACJ,CAAC;YAED,MAAM,GAAG,GAAG,GAAG,OAAO,mCAAmC,SAAS,MAAM,CAAC;YAEzE,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;gBAC9B,OAAO,EAAE;oBACP,eAAe,EAAE,UAAU,MAAM,EAAE;iBACpC;aACF,CACF,CAAC;YAEF,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;gBACjB,IAAI,YAAY,GAAG,QAAQ,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC,UAAU,EAAE,CAAC;gBACrE,IAAI,CAAC;oBACH,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;oBACxC,YAAY,GAAG,SAAS,CAAC,KAAK,IAAI,SAAS,CAAC,OAAO,IAAI,YAAY,CAAC;gBACtE,CAAC;gBAAC,OAAO,UAAU,EAAE,CAAC;oBACpB,IAAI,CAAC;wBACH,MAAM,SAAS,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;wBACxC,IAAI,SAAS,EAAE,CAAC;4BACd,YAAY,GAAG,SAAS,CAAC;wBAC3B,CAAC;oBACH,CAAC;oBAAC,OAAO,SAAS,EAAE,CAAC;wBACnB,OAAO,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAC;oBACvE,CAAC;gBACH,CAAC;gBAED,OAAO,IAAI,QAAQ,CACjB,IAAI,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EACvC;oBACE,MAAM,EAAE,QAAQ,CAAC,MAAM;oBACvB,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;iBAChD,CACF,CAAC;YACJ,CAAC;YAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnC,OAAO,IAAI,QAAQ,CACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EACpB;gBACE,MAAM,EAAE,GAAG;gBACX,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,6BAA6B,EAAE,KAAK,CAAC,CAAC;YACpD,OAAO,IAAI,QAAQ,CACjB,IAAI,CAAC,SAAS,CAAC;gBACb,KAAK,EAAE,6BAA6B;gBACpC,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;aAChE,CAAC,EACF;gBACE,MAAM,EAAE,GAAG;gBACX,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;AACH,CAAC"}