@5ss/ai-tools 2.11.2 → 2.11.4

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 (188) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +3 -10
  3. package/dist/{bedrock-agentcore-browser-a_qOs-NR.js → bedrock-agentcore-browser-o_oqSPMK.js} +2 -2
  4. package/dist/{bedrock-agentcore-browser-a_qOs-NR.js.map → bedrock-agentcore-browser-o_oqSPMK.js.map} +1 -1
  5. package/dist/{bedrock-agentcore-code-interpreter-MWK-8RhA.js → bedrock-agentcore-code-interpreter-D4ERRFj1.js} +2 -2
  6. package/dist/{bedrock-agentcore-code-interpreter-MWK-8RhA.js.map → bedrock-agentcore-code-interpreter-D4ERRFj1.js.map} +1 -1
  7. package/dist/{cloudflare-browser-B6Yolpin.js → cloudflare-browser-nLJdH5nG.js} +3 -3
  8. package/dist/{cloudflare-browser-B6Yolpin.js.map → cloudflare-browser-nLJdH5nG.js.map} +1 -1
  9. package/dist/{cloudflare-email-Dy0KHeDf.js → cloudflare-email-CSRq8mRd.js} +2 -2
  10. package/dist/{cloudflare-email-Dy0KHeDf.js.map → cloudflare-email-CSRq8mRd.js.map} +1 -1
  11. package/dist/{cloudflare-sandbox-Dp_uNaqW.js → cloudflare-sandbox-Be7SeS4-.js} +3 -3
  12. package/dist/{cloudflare-sandbox-Dp_uNaqW.js.map → cloudflare-sandbox-Be7SeS4-.js.map} +1 -1
  13. package/dist/content-type-E4_Qdoa0.js +19 -0
  14. package/dist/{content-type-CORxaxcv.js.map → content-type-E4_Qdoa0.js.map} +1 -1
  15. package/dist/core/index.js +2 -6
  16. package/dist/core/index.js.map +1 -1
  17. package/dist/{define-CvpJ_pNP.js → define-ieoksEQ0.js} +1 -6
  18. package/dist/define-ieoksEQ0.js.map +1 -0
  19. package/dist/{eventbridge-scheduler-Bh6GqZY2.js → eventbridge-scheduler-BhQaReAz.js} +2 -2
  20. package/dist/{eventbridge-scheduler-Bh6GqZY2.js.map → eventbridge-scheduler-BhQaReAz.js.map} +1 -1
  21. package/dist/http/index.d.ts +1 -1
  22. package/dist/{http-service-T7E5UjP8.d.ts → http-service-CerzWwQO.d.ts} +3 -2
  23. package/dist/http-service-CerzWwQO.d.ts.map +1 -0
  24. package/dist/http-service-DDNCO1s4.js.map +1 -1
  25. package/dist/{client-CCKGsTeI.js → imessage-CofjmONG.js} +152 -2
  26. package/dist/imessage-CofjmONG.js.map +1 -0
  27. package/dist/{index-Cuh6eMWc.d.ts → index-9oSRRNdR.d.ts} +2 -2
  28. package/dist/{index-Cuh6eMWc.d.ts.map → index-9oSRRNdR.d.ts.map} +1 -1
  29. package/dist/{index-zK1ZwS4m.d.ts → index-ByHp3nZm.d.ts} +2 -2
  30. package/dist/{index-zK1ZwS4m.d.ts.map → index-ByHp3nZm.d.ts.map} +1 -1
  31. package/dist/{index-BU4gmYO8.d.ts → index-C-Cuh9it.d.ts} +2 -2
  32. package/dist/{index-BU4gmYO8.d.ts.map → index-C-Cuh9it.d.ts.map} +1 -1
  33. package/dist/index-CZX5OeOF.d.ts.map +1 -1
  34. package/dist/{index-CdFmEfZO.d.ts → index-CtfpOZWu.d.ts} +2 -2
  35. package/dist/{index-CdFmEfZO.d.ts.map → index-CtfpOZWu.d.ts.map} +1 -1
  36. package/dist/{index-n8JTpNf1.d.ts → index-DngnGGiS.d.ts} +2 -2
  37. package/dist/{index-n8JTpNf1.d.ts.map → index-DngnGGiS.d.ts.map} +1 -1
  38. package/dist/{index-DuOGj7vc.d.ts → index-DsTt2EbS.d.ts} +2 -2
  39. package/dist/{index-DuOGj7vc.d.ts.map → index-DsTt2EbS.d.ts.map} +1 -1
  40. package/dist/{index-pwW1OsOx.d.ts → index-Y8p8bsWU.d.ts} +2 -2
  41. package/dist/{index-pwW1OsOx.d.ts.map → index-Y8p8bsWU.d.ts.map} +1 -1
  42. package/dist/{mastra-vector-Dhc6XZ8l.js → mastra-vector-B8HjvdMT.js} +2 -2
  43. package/dist/{mastra-vector-Dhc6XZ8l.js.map → mastra-vector-B8HjvdMT.js.map} +1 -1
  44. package/dist/modules/artifacts/index.d.ts +1 -1
  45. package/dist/modules/artifacts/index.js +3 -3
  46. package/dist/modules/browser/index.d.ts +2 -2
  47. package/dist/modules/browser/index.js +3 -3
  48. package/dist/modules/calendar/index.js +1 -1
  49. package/dist/modules/code-sandbox/index.js +3 -3
  50. package/dist/modules/content-type/index.js +2 -2
  51. package/dist/modules/crypto/index.js +1 -1
  52. package/dist/modules/document-extract/index.d.ts +1 -1
  53. package/dist/modules/document-extract/index.js +2 -2
  54. package/dist/modules/document-render/index.d.ts +21 -30
  55. package/dist/modules/document-render/index.d.ts.map +1 -1
  56. package/dist/modules/document-render/index.js +11 -28
  57. package/dist/modules/document-render/index.js.map +1 -1
  58. package/dist/modules/email/index.d.ts +21 -3
  59. package/dist/modules/email/index.d.ts.map +1 -1
  60. package/dist/modules/email/index.js +3 -3
  61. package/dist/modules/email-message/index.js +1 -1
  62. package/dist/modules/files/index.js +2 -2
  63. package/dist/modules/image/index.d.ts +4 -1
  64. package/dist/modules/image/index.d.ts.map +1 -1
  65. package/dist/modules/image/index.js +25 -4
  66. package/dist/modules/image/index.js.map +1 -1
  67. package/dist/modules/messaging/index.d.ts +1 -1
  68. package/dist/modules/messaging/index.js +7 -7
  69. package/dist/modules/messaging/index.js.map +1 -1
  70. package/dist/modules/queue/index.d.ts +1 -1
  71. package/dist/modules/queue/index.js +2 -2
  72. package/dist/modules/rag/index.d.ts +1 -1
  73. package/dist/modules/rag/index.js +2 -2
  74. package/dist/modules/scheduler/index.d.ts +2 -2
  75. package/dist/modules/scheduler/index.js +2 -2
  76. package/dist/modules/skills/index.js +1 -1
  77. package/dist/modules/tasks/index.js +1 -1
  78. package/dist/modules/vector-store/index.js +1 -1
  79. package/dist/modules/web-fetch/index.js +1 -1
  80. package/dist/{pinecone-umY4t6OF.js → pinecone-CNnCFmix.js} +2 -2
  81. package/dist/{pinecone-umY4t6OF.js.map → pinecone-CNnCFmix.js.map} +1 -1
  82. package/dist/{qdrant-DMp4NhKR.js → qdrant-R_FIcG9d.js} +2 -2
  83. package/dist/{qdrant-DMp4NhKR.js.map → qdrant-R_FIcG9d.js.map} +1 -1
  84. package/dist/{resend-BAC38_dA.js → resend-Bu0NFO3h.js} +2 -2
  85. package/dist/{resend-BAC38_dA.js.map → resend-Bu0NFO3h.js.map} +1 -1
  86. package/dist/{s3-CsOaPWMP.js → s3-Dj7Teh-A.js} +2 -2
  87. package/dist/{s3-CsOaPWMP.js.map → s3-Dj7Teh-A.js.map} +1 -1
  88. package/dist/{slack-Di5BBNpt.js → slack-AjJDNnXJ.js} +2 -2
  89. package/dist/{slack-Di5BBNpt.js.map → slack-AjJDNnXJ.js.map} +1 -1
  90. package/dist/{sqs-DCwS1i2N.js → sqs-CjyXjasF.js} +2 -2
  91. package/dist/{sqs-DCwS1i2N.js.map → sqs-CjyXjasF.js.map} +1 -1
  92. package/dist/{supabase-vector-Dpp9mmJR.js → supabase-vector-BNoJZuft.js} +2 -2
  93. package/dist/{supabase-vector-Dpp9mmJR.js.map → supabase-vector-BNoJZuft.js.map} +1 -1
  94. package/dist/{teams-DYAHNb39.js → teams-CvxYLAi5.js} +2 -2
  95. package/dist/{teams-DYAHNb39.js.map → teams-CvxYLAi5.js.map} +1 -1
  96. package/dist/{telegram-DDXWzkfL.js → telegram-B_-Jljk3.js} +2 -2
  97. package/dist/{telegram-DDXWzkfL.js.map → telegram-B_-Jljk3.js.map} +1 -1
  98. package/dist/{textract-CPLiB22H.js → textract-CAfnGvua.js} +3 -3
  99. package/dist/{textract-CPLiB22H.js.map → textract-CAfnGvua.js.map} +1 -1
  100. package/dist/{vector-store-C3nEO80e.js → vector-store-DDiu3XPg.js} +6 -6
  101. package/dist/{vector-store-C3nEO80e.js.map → vector-store-DDiu3XPg.js.map} +1 -1
  102. package/dist/vendors/amazon-sp-api/index.d.ts +267 -18
  103. package/dist/vendors/amazon-sp-api/index.d.ts.map +1 -1
  104. package/dist/vendors/amazon-sp-api/index.js +821 -212
  105. package/dist/vendors/amazon-sp-api/index.js.map +1 -1
  106. package/dist/vendors/bedrock-agentcore-browser/index.d.ts +1 -1
  107. package/dist/vendors/bedrock-agentcore-browser/index.js +1 -1
  108. package/dist/vendors/bedrock-agentcore-code-interpreter/index.d.ts +1 -1
  109. package/dist/vendors/bedrock-agentcore-code-interpreter/index.js +1 -1
  110. package/dist/vendors/cloudflare-browser/index.d.ts +1 -1
  111. package/dist/vendors/cloudflare-browser/index.js +1 -1
  112. package/dist/vendors/cloudflare-email/index.d.ts +1 -1
  113. package/dist/vendors/cloudflare-email/index.js +1 -1
  114. package/dist/vendors/cloudflare-sandbox/index.d.ts +1 -1
  115. package/dist/vendors/cloudflare-sandbox/index.js +1 -1
  116. package/dist/vendors/eventbridge-scheduler/index.d.ts +1 -1
  117. package/dist/vendors/eventbridge-scheduler/index.js +1 -1
  118. package/dist/vendors/imessage/index.js +1 -2
  119. package/dist/vendors/katana/index.d.ts +371 -2
  120. package/dist/vendors/katana/index.d.ts.map +1 -1
  121. package/dist/vendors/katana/index.js +541 -199
  122. package/dist/vendors/katana/index.js.map +1 -1
  123. package/dist/vendors/mastra-vector/index.js +1 -1
  124. package/dist/vendors/pinecone/index.d.ts +1 -1
  125. package/dist/vendors/pinecone/index.js +1 -1
  126. package/dist/vendors/qdrant/index.d.ts +1 -1
  127. package/dist/vendors/qdrant/index.js +1 -1
  128. package/dist/vendors/resend/index.d.ts +1 -1
  129. package/dist/vendors/resend/index.js +1 -1
  130. package/dist/vendors/s3/index.d.ts +1 -1
  131. package/dist/vendors/s3/index.js +1 -1
  132. package/dist/vendors/slack/index.d.ts +1 -1
  133. package/dist/vendors/slack/index.js +1 -1
  134. package/dist/vendors/sqs/index.d.ts +1 -1
  135. package/dist/vendors/sqs/index.js +1 -1
  136. package/dist/vendors/supabase-vector/index.d.ts +1 -1
  137. package/dist/vendors/supabase-vector/index.js +1 -1
  138. package/dist/vendors/teams/index.d.ts +1 -1
  139. package/dist/vendors/teams/index.js +1 -1
  140. package/dist/vendors/telegram/index.d.ts +1 -1
  141. package/dist/vendors/telegram/index.js +1 -1
  142. package/dist/vendors/textract/index.d.ts +1 -1
  143. package/dist/vendors/textract/index.js +1 -1
  144. package/dist/vendors/woocommerce/index.d.ts +1 -1
  145. package/dist/vendors/woocommerce/index.js +1 -1
  146. package/logos/README.md +0 -4
  147. package/logos/pack-logos.json +0 -5
  148. package/package.json +4 -38
  149. package/dist/artifacts-O8g-40Pw.js +0 -404
  150. package/dist/artifacts-O8g-40Pw.js.map +0 -1
  151. package/dist/batch-BMM5dXqL.d.ts +0 -22
  152. package/dist/batch-BMM5dXqL.d.ts.map +0 -1
  153. package/dist/client-CCKGsTeI.js.map +0 -1
  154. package/dist/content-type-CORxaxcv.js +0 -49
  155. package/dist/define-CvpJ_pNP.js.map +0 -1
  156. package/dist/gotenberg-NuJjxyln.js +0 -291
  157. package/dist/gotenberg-NuJjxyln.js.map +0 -1
  158. package/dist/http-service-T7E5UjP8.d.ts.map +0 -1
  159. package/dist/imessage-BSAFOI8Z.js +0 -154
  160. package/dist/imessage-BSAFOI8Z.js.map +0 -1
  161. package/dist/modules/document/index.d.ts +0 -575
  162. package/dist/modules/document/index.d.ts.map +0 -1
  163. package/dist/modules/document/index.js +0 -444
  164. package/dist/modules/document/index.js.map +0 -1
  165. package/dist/modules/file-convert/index.d.ts +0 -273
  166. package/dist/modules/file-convert/index.d.ts.map +0 -1
  167. package/dist/modules/file-convert/index.js +0 -103
  168. package/dist/modules/file-convert/index.js.map +0 -1
  169. package/dist/modules/pdf/index.d.ts +0 -287
  170. package/dist/modules/pdf/index.d.ts.map +0 -1
  171. package/dist/modules/pdf/index.js +0 -259
  172. package/dist/modules/pdf/index.js.map +0 -1
  173. package/dist/modules/presentation/index.d.ts +0 -247
  174. package/dist/modules/presentation/index.d.ts.map +0 -1
  175. package/dist/modules/presentation/index.js +0 -12657
  176. package/dist/modules/presentation/index.js.map +0 -1
  177. package/dist/object-artifact-store-CMTzCm_G.d.ts +0 -7
  178. package/dist/object-artifact-store-CMTzCm_G.d.ts.map +0 -1
  179. package/dist/object-artifact-store-wZ2j9cto.js +0 -28
  180. package/dist/object-artifact-store-wZ2j9cto.js.map +0 -1
  181. package/dist/vendors/gotenberg/index.d.ts +0 -306
  182. package/dist/vendors/gotenberg/index.d.ts.map +0 -1
  183. package/dist/vendors/gotenberg/index.js +0 -2
  184. package/logos/document.svg +0 -10
  185. package/logos/file-convert.svg +0 -9
  186. package/logos/gotenberg.svg +0 -340
  187. package/logos/pdf.svg +0 -10
  188. package/logos/presentation.svg +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"vector-store-C3nEO80e.js","names":["#client","#client","#client","#client","#ops"],"sources":["../src/modules/vector-store/contracts.ts","../src/modules/vector-store/providers/mastra.ts","../src/modules/vector-store/providers/pinecone.ts","../src/modules/vector-store/providers/qdrant.ts","../src/modules/vector-store/providers/supabase.ts","../src/modules/vector-store/client.ts","../src/modules/vector-store/module.ts"],"sourcesContent":["/**\n * Vector-store seam contracts — shared I/O from vendors/_vector + provider auth union.\n */\n\nimport { z } from 'zod'\n\nimport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorMatchSchema,\n\tvectorMetadataSchema,\n\tvectorPointSchema\n} from '../../vendors/_vector'\nimport type {\n\tDeleteVectorsInput,\n\tDeleteVectorsOutput,\n\tQueryVectorsInput,\n\tQueryVectorsOutput,\n\tUpsertVectorsInput,\n\tUpsertVectorsOutput\n} from '../../vendors/_vector'\nimport { mastraVectorAuthSchema } from '../../vendors/mastra-vector'\nimport { pineconeAuthSchema } from '../../vendors/pinecone'\nimport { qdrantAuthSchema } from '../../vendors/qdrant'\nimport { supabaseVectorAuthSchema } from '../../vendors/supabase-vector'\n\nexport { MAX_TOP_K, MAX_VECTOR_BATCH, MAX_VECTOR_DIMENSIONS } from '../../vendors/_vector'\nexport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorMatchSchema,\n\tvectorMetadataSchema,\n\tvectorPointSchema\n}\n\nexport type {\n\tDeleteVectorsInput,\n\tDeleteVectorsOutput,\n\tQueryVectorsInput,\n\tQueryVectorsOutput,\n\tUpsertVectorsInput,\n\tUpsertVectorsOutput,\n\tVectorMatch,\n\tVectorMetadata,\n\tVectorPoint\n} from '../../vendors/_vector'\n\nexport const qdrantVectorAuthSchema = qdrantAuthSchema.extend({\n\tprovider: z.literal('qdrant')\n})\n\nexport const pineconeVectorAuthSchema = pineconeAuthSchema.extend({\n\tprovider: z.literal('pinecone')\n})\n\nexport const supabaseVectorSeamAuthSchema = supabaseVectorAuthSchema.extend({\n\tprovider: z.literal('supabase')\n})\n\nexport const mastraVectorSeamAuthSchema = mastraVectorAuthSchema.extend({\n\tprovider: z.literal('mastra')\n})\n\nexport const vectorStoreAuthSchema = z.discriminatedUnion('provider', [\n\tqdrantVectorAuthSchema,\n\tpineconeVectorAuthSchema,\n\tsupabaseVectorSeamAuthSchema,\n\tmastraVectorSeamAuthSchema\n])\n\nexport type QdrantVectorAuth = z.infer<typeof qdrantVectorAuthSchema>\nexport type PineconeVectorAuth = z.infer<typeof pineconeVectorAuthSchema>\nexport type SupabaseVectorSeamAuth = z.infer<typeof supabaseVectorSeamAuthSchema>\nexport type MastraVectorSeamAuth = z.infer<typeof mastraVectorSeamAuthSchema>\nexport type VectorStoreAuth = z.infer<typeof vectorStoreAuthSchema>\n\n/** Shared seam surface — provider classes implement this. */\nexport type VectorStoreOps = {\n\tupsert: (input: UpsertVectorsInput) => Promise<UpsertVectorsOutput>\n\tquery: (input: QueryVectorsInput) => Promise<QueryVectorsOutput>\n\tdelete: (input: DeleteVectorsInput) => Promise<DeleteVectorsOutput>\n}\n","/**\n * Mastra PgVector provider for the vector-store seam. Wraps `MastraVectorClient`.\n */\n\nimport { MastraVectorClient } from '../../../vendors/mastra-vector'\nimport type { MastraVectorClientOptions } from '../../../vendors/mastra-vector'\nimport type {\n\tDeleteVectorsInput,\n\tMastraVectorSeamAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type MastraVectorProviderOptions = MastraVectorClientOptions\n\nexport class MastraVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: MastraVectorClient\n\n\tconstructor(auth: MastraVectorSeamAuth, options: MastraVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new MastraVectorClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Pinecone provider for the vector-store seam. Wraps `PineconeClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { PineconeClient } from '../../../vendors/pinecone'\nimport type {\n\tDeleteVectorsInput,\n\tPineconeVectorAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type PineconeVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class PineconeVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: PineconeClient\n\n\tconstructor(auth: PineconeVectorAuth, options: PineconeVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new PineconeClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Qdrant provider for the vector-store seam. Wraps `QdrantClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { QdrantClient } from '../../../vendors/qdrant'\nimport type {\n\tDeleteVectorsInput,\n\tQdrantVectorAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type QdrantVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class QdrantVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: QdrantClient\n\n\tconstructor(auth: QdrantVectorAuth, options: QdrantVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new QdrantClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Supabase pgvector provider for the vector-store seam. Wraps `SupabaseVectorClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { SupabaseVectorClient } from '../../../vendors/supabase-vector'\nimport type {\n\tDeleteVectorsInput,\n\tQueryVectorsInput,\n\tSupabaseVectorSeamAuth,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type SupabaseVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class SupabaseVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: SupabaseVectorClient\n\n\tconstructor(auth: SupabaseVectorSeamAuth, options: SupabaseVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new SupabaseVectorClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Vector-store seam client — picks qdrant / pinecone / supabase / mastra from host auth.\n */\n\nimport { requireAuth } from '../../core/provider'\nimport type { ToolContext } from '../../core/types'\nimport { vectorStoreAuthSchema } from './contracts'\nimport type {\n\tDeleteVectorsInput,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreAuth,\n\tVectorStoreOps\n} from './contracts'\nimport { MastraVectorStoreProvider } from './providers/mastra'\nimport { PineconeVectorStoreProvider } from './providers/pinecone'\nimport { QdrantVectorStoreProvider } from './providers/qdrant'\nimport { SupabaseVectorStoreProvider } from './providers/supabase'\n\nfunction transportOptions(ctx: ToolContext): { fetch?: ToolContext['fetch']; signal?: ToolContext['signal'] } {\n\tconst options: { fetch?: ToolContext['fetch']; signal?: ToolContext['signal'] } = {}\n\tif (ctx.fetch) options.fetch = ctx.fetch\n\tif (ctx.signal) options.signal = ctx.signal\n\treturn options\n}\n\nfunction providerFor(auth: VectorStoreAuth, ctx: ToolContext): VectorStoreOps {\n\tconst options = transportOptions(ctx)\n\tswitch (auth.provider) {\n\t\tcase 'qdrant':\n\t\t\treturn new QdrantVectorStoreProvider(auth, options)\n\t\tcase 'pinecone':\n\t\t\treturn new PineconeVectorStoreProvider(auth, options)\n\t\tcase 'supabase':\n\t\t\treturn new SupabaseVectorStoreProvider(auth, options)\n\t\tcase 'mastra':\n\t\t\treturn new MastraVectorStoreProvider(auth)\n\t}\n}\n\nexport class VectorStoreClient implements VectorStoreOps {\n\treadonly #ops: VectorStoreOps\n\n\tconstructor(ops: VectorStoreOps) {\n\t\tthis.#ops = ops\n\t}\n\n\tstatic fromContext(ctx: ToolContext): VectorStoreClient {\n\t\tconst auth = requireAuth(ctx, vectorStoreAuthSchema)\n\t\treturn new VectorStoreClient(providerFor(auth, ctx))\n\t}\n\n\tstatic fromAuth(auth: VectorStoreAuth, ctx: ToolContext = {}): VectorStoreClient {\n\t\treturn new VectorStoreClient(providerFor(auth, ctx))\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#ops.upsert(input)\n\t}\n\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#ops.query(input)\n\t}\n\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#ops.delete(input)\n\t}\n}\n","import { defineModule, defineTool } from '../../core/define'\nimport { VectorStoreClient } from './client'\nimport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorStoreAuthSchema\n} from './contracts'\n\nexport type { VectorStoreAuth } from './contracts'\nexport { vectorStoreAuthSchema }\n\nexport const vectorStoreUpsertTool = defineTool({\n\tid: 'vector-store-upsert',\n\tname: 'upsertVectors',\n\tdescription:\n\t\t'Upsert embedding vectors into the bound vector store. Provide stable ids, values, and optional flat metadata. Specify collection only when no default collection is configured.',\n\tinputSchema: upsertVectorsInputSchema,\n\toutputSchema: upsertVectorsOutputSchema,\n\tsideEffect: 'write',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).upsert(input)\n})\n\nexport const vectorStoreQueryTool = defineTool({\n\tid: 'vector-store-query',\n\tname: 'queryVectors',\n\tdescription:\n\t\t'Nearest-neighbor query against the bound vector store. Returns matches with scores and optional metadata/values.',\n\tinputSchema: queryVectorsInputSchema,\n\toutputSchema: queryVectorsOutputSchema,\n\tsideEffect: 'read',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).query(input)\n})\n\nexport const vectorStoreDeleteTool = defineTool({\n\tid: 'vector-store-delete',\n\tname: 'deleteVectors',\n\tdescription: 'Delete vectors by id from the bound vector store.',\n\tinputSchema: deleteVectorsInputSchema,\n\toutputSchema: deleteVectorsOutputSchema,\n\tsideEffect: 'delete',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).delete(input)\n})\n\nexport const vectorStoreModule = defineModule({\n\tid: 'vector-store',\n\ttitle: 'Vector Store',\n\tdescription:\n\t\t'Upsert, query, and delete embedding vectors in the configured store. Use for vector operations, not text embedding or document chunking.',\n\truntime: 'node',\n\tauth: { type: 'custom', schema: vectorStoreAuthSchema },\n\tcategories: ['ai', 'vector'],\n\tclassification: 'pii',\n\ttags: ['upsert', 'query'],\n\ttools: [vectorStoreUpsertTool, vectorStoreQueryTool, vectorStoreDeleteTool]\n})\n"],"mappings":";;;;;;;;;;;;AAuDA,MAAa,yBAAyB,iBAAiB,OAAO,EAC7D,UAAU,EAAE,QAAQ,QAAQ,EAC7B,CAAC;AAED,MAAa,2BAA2B,mBAAmB,OAAO,EACjE,UAAU,EAAE,QAAQ,UAAU,EAC/B,CAAC;AAED,MAAa,+BAA+B,yBAAyB,OAAO,EAC3E,UAAU,EAAE,QAAQ,UAAU,EAC/B,CAAC;AAED,MAAa,6BAA6B,uBAAuB,OAAO,EACvE,UAAU,EAAE,QAAQ,QAAQ,EAC7B,CAAC;AAED,MAAa,wBAAwB,EAAE,mBAAmB,YAAY;CACrE;CACA;CACA;CACA;AACD,CAAC;;;;;;AC5DD,IAAa,4BAAb,MAAiE;CAChE;CAEA,YAAY,MAA4B,UAAuC,CAAC,GAAG;EAClF,MAAM,EAAE,UAAU,IAAI,GAAG,eAAe;EACxC,KAAKA,UAAU,IAAI,mBAAmB,YAAY,OAAO;CAC1D;CAEA,OAAO,OAA2B;EACjC,OAAO,KAAKA,QAAQ,OAAO,KAAK;CACjC;CACA,MAAM,OAA0B;EAC/B,OAAO,KAAKA,QAAQ,MAAM,KAAK;CAChC;C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AY,GAAG,CAAC,CAAC,MAAM,KAAK;AAC9E,CAAC;AAED,MAAa,wBAAwB,WAAW;CAC/C,IAAI;CACJ,MAAM;CACN,aAAa;CACb,aAAa;CACb,cAAc;CACd,YAAY;CACZ,SAAS;CACT,SAAS,OAAO,OAAO,QAAQ,kBAAkB,YAAY,GAAG,CAAC,CAAC,OAAO,KAAK;AAC/E,CAAC;AAED,MAAa,oBAAoB,aAAa;CAC7C,IAAI;CACJ,OAAO;CACP,aACC;CACD,SAAS;CACT,MAAM;EAAE,MAAM;EAAU,QAAQ;CAAsB;CACtD,YAAY,CAAC,MAAM,QAAQ;CAC3B,gBAAgB;CAChB,MAAM,CAAC,UAAU,OAAO;CACxB,OAAO;EAAC;EAAuB;EAAsB;CAAqB;AAC3E,CAAC"}
1
+ {"version":3,"file":"vector-store-DDiu3XPg.js","names":["#client","#client","#client","#client","#ops"],"sources":["../src/modules/vector-store/contracts.ts","../src/modules/vector-store/providers/mastra.ts","../src/modules/vector-store/providers/pinecone.ts","../src/modules/vector-store/providers/qdrant.ts","../src/modules/vector-store/providers/supabase.ts","../src/modules/vector-store/client.ts","../src/modules/vector-store/module.ts"],"sourcesContent":["/**\n * Vector-store seam contracts — shared I/O from vendors/_vector + provider auth union.\n */\n\nimport { z } from 'zod'\n\nimport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorMatchSchema,\n\tvectorMetadataSchema,\n\tvectorPointSchema\n} from '../../vendors/_vector'\nimport type {\n\tDeleteVectorsInput,\n\tDeleteVectorsOutput,\n\tQueryVectorsInput,\n\tQueryVectorsOutput,\n\tUpsertVectorsInput,\n\tUpsertVectorsOutput\n} from '../../vendors/_vector'\nimport { mastraVectorAuthSchema } from '../../vendors/mastra-vector'\nimport { pineconeAuthSchema } from '../../vendors/pinecone'\nimport { qdrantAuthSchema } from '../../vendors/qdrant'\nimport { supabaseVectorAuthSchema } from '../../vendors/supabase-vector'\n\nexport { MAX_TOP_K, MAX_VECTOR_BATCH, MAX_VECTOR_DIMENSIONS } from '../../vendors/_vector'\nexport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorMatchSchema,\n\tvectorMetadataSchema,\n\tvectorPointSchema\n}\n\nexport type {\n\tDeleteVectorsInput,\n\tDeleteVectorsOutput,\n\tQueryVectorsInput,\n\tQueryVectorsOutput,\n\tUpsertVectorsInput,\n\tUpsertVectorsOutput,\n\tVectorMatch,\n\tVectorMetadata,\n\tVectorPoint\n} from '../../vendors/_vector'\n\nexport const qdrantVectorAuthSchema = qdrantAuthSchema.extend({\n\tprovider: z.literal('qdrant')\n})\n\nexport const pineconeVectorAuthSchema = pineconeAuthSchema.extend({\n\tprovider: z.literal('pinecone')\n})\n\nexport const supabaseVectorSeamAuthSchema = supabaseVectorAuthSchema.extend({\n\tprovider: z.literal('supabase')\n})\n\nexport const mastraVectorSeamAuthSchema = mastraVectorAuthSchema.extend({\n\tprovider: z.literal('mastra')\n})\n\nexport const vectorStoreAuthSchema = z.discriminatedUnion('provider', [\n\tqdrantVectorAuthSchema,\n\tpineconeVectorAuthSchema,\n\tsupabaseVectorSeamAuthSchema,\n\tmastraVectorSeamAuthSchema\n])\n\nexport type QdrantVectorAuth = z.infer<typeof qdrantVectorAuthSchema>\nexport type PineconeVectorAuth = z.infer<typeof pineconeVectorAuthSchema>\nexport type SupabaseVectorSeamAuth = z.infer<typeof supabaseVectorSeamAuthSchema>\nexport type MastraVectorSeamAuth = z.infer<typeof mastraVectorSeamAuthSchema>\nexport type VectorStoreAuth = z.infer<typeof vectorStoreAuthSchema>\n\n/** Shared seam surface — provider classes implement this. */\nexport type VectorStoreOps = {\n\tupsert: (input: UpsertVectorsInput) => Promise<UpsertVectorsOutput>\n\tquery: (input: QueryVectorsInput) => Promise<QueryVectorsOutput>\n\tdelete: (input: DeleteVectorsInput) => Promise<DeleteVectorsOutput>\n}\n","/**\n * Mastra PgVector provider for the vector-store seam. Wraps `MastraVectorClient`.\n */\n\nimport { MastraVectorClient } from '../../../vendors/mastra-vector'\nimport type { MastraVectorClientOptions } from '../../../vendors/mastra-vector'\nimport type {\n\tDeleteVectorsInput,\n\tMastraVectorSeamAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type MastraVectorProviderOptions = MastraVectorClientOptions\n\nexport class MastraVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: MastraVectorClient\n\n\tconstructor(auth: MastraVectorSeamAuth, options: MastraVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new MastraVectorClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Pinecone provider for the vector-store seam. Wraps `PineconeClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { PineconeClient } from '../../../vendors/pinecone'\nimport type {\n\tDeleteVectorsInput,\n\tPineconeVectorAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type PineconeVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class PineconeVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: PineconeClient\n\n\tconstructor(auth: PineconeVectorAuth, options: PineconeVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new PineconeClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Qdrant provider for the vector-store seam. Wraps `QdrantClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { QdrantClient } from '../../../vendors/qdrant'\nimport type {\n\tDeleteVectorsInput,\n\tQdrantVectorAuth,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type QdrantVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class QdrantVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: QdrantClient\n\n\tconstructor(auth: QdrantVectorAuth, options: QdrantVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new QdrantClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Supabase pgvector provider for the vector-store seam. Wraps `SupabaseVectorClient`.\n */\n\nimport type { HttpServiceOptions } from '../../../transport/http-service'\nimport { SupabaseVectorClient } from '../../../vendors/supabase-vector'\nimport type {\n\tDeleteVectorsInput,\n\tQueryVectorsInput,\n\tSupabaseVectorSeamAuth,\n\tUpsertVectorsInput,\n\tVectorStoreOps\n} from '../contracts'\n\nexport type SupabaseVectorProviderOptions = {\n\tfetch?: HttpServiceOptions['fetch'] | undefined\n\tsignal?: HttpServiceOptions['signal'] | undefined\n}\n\nexport class SupabaseVectorStoreProvider implements VectorStoreOps {\n\treadonly #client: SupabaseVectorClient\n\n\tconstructor(auth: SupabaseVectorSeamAuth, options: SupabaseVectorProviderOptions = {}) {\n\t\tconst { provider: _p, ...vendorAuth } = auth\n\t\tthis.#client = new SupabaseVectorClient(vendorAuth, options)\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#client.upsert(input)\n\t}\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#client.query(input)\n\t}\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#client.delete(input)\n\t}\n}\n","/**\n * Vector-store seam client — picks qdrant / pinecone / supabase / mastra from host auth.\n */\n\nimport { requireAuth } from '../../core/provider'\nimport type { ToolContext } from '../../core/types'\nimport { vectorStoreAuthSchema } from './contracts'\nimport type {\n\tDeleteVectorsInput,\n\tQueryVectorsInput,\n\tUpsertVectorsInput,\n\tVectorStoreAuth,\n\tVectorStoreOps\n} from './contracts'\nimport { MastraVectorStoreProvider } from './providers/mastra'\nimport { PineconeVectorStoreProvider } from './providers/pinecone'\nimport { QdrantVectorStoreProvider } from './providers/qdrant'\nimport { SupabaseVectorStoreProvider } from './providers/supabase'\n\nfunction transportOptions(ctx: ToolContext): { fetch?: ToolContext['fetch']; signal?: ToolContext['signal'] } {\n\tconst options: { fetch?: ToolContext['fetch']; signal?: ToolContext['signal'] } = {}\n\tif (ctx.fetch) options.fetch = ctx.fetch\n\tif (ctx.signal) options.signal = ctx.signal\n\treturn options\n}\n\nfunction providerFor(auth: VectorStoreAuth, ctx: ToolContext): VectorStoreOps {\n\tconst options = transportOptions(ctx)\n\tswitch (auth.provider) {\n\t\tcase 'qdrant':\n\t\t\treturn new QdrantVectorStoreProvider(auth, options)\n\t\tcase 'pinecone':\n\t\t\treturn new PineconeVectorStoreProvider(auth, options)\n\t\tcase 'supabase':\n\t\t\treturn new SupabaseVectorStoreProvider(auth, options)\n\t\tcase 'mastra':\n\t\t\treturn new MastraVectorStoreProvider(auth)\n\t}\n}\n\nexport class VectorStoreClient implements VectorStoreOps {\n\treadonly #ops: VectorStoreOps\n\n\tconstructor(ops: VectorStoreOps) {\n\t\tthis.#ops = ops\n\t}\n\n\tstatic fromContext(ctx: ToolContext): VectorStoreClient {\n\t\tconst auth = requireAuth(ctx, vectorStoreAuthSchema)\n\t\treturn new VectorStoreClient(providerFor(auth, ctx))\n\t}\n\n\tstatic fromAuth(auth: VectorStoreAuth, ctx: ToolContext = {}): VectorStoreClient {\n\t\treturn new VectorStoreClient(providerFor(auth, ctx))\n\t}\n\n\tupsert(input: UpsertVectorsInput) {\n\t\treturn this.#ops.upsert(input)\n\t}\n\n\tquery(input: QueryVectorsInput) {\n\t\treturn this.#ops.query(input)\n\t}\n\n\tdelete(input: DeleteVectorsInput) {\n\t\treturn this.#ops.delete(input)\n\t}\n}\n","import { defineModule, defineTool } from '../../core/define'\nimport { VectorStoreClient } from './client'\nimport {\n\tdeleteVectorsInputSchema,\n\tdeleteVectorsOutputSchema,\n\tqueryVectorsInputSchema,\n\tqueryVectorsOutputSchema,\n\tupsertVectorsInputSchema,\n\tupsertVectorsOutputSchema,\n\tvectorStoreAuthSchema\n} from './contracts'\n\nexport type { VectorStoreAuth } from './contracts'\nexport { vectorStoreAuthSchema }\n\nexport const vectorStoreUpsertTool = defineTool({\n\tid: 'vector-store-upsert',\n\tname: 'upsertVectors',\n\tdescription:\n\t\t'Upsert embedding vectors into the bound vector store. Provide stable ids, values, and optional flat metadata. Specify collection only when no default collection is configured.',\n\tinputSchema: upsertVectorsInputSchema,\n\toutputSchema: upsertVectorsOutputSchema,\n\tsideEffect: 'write',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).upsert(input)\n})\n\nexport const vectorStoreQueryTool = defineTool({\n\tid: 'vector-store-query',\n\tname: 'queryVectors',\n\tdescription:\n\t\t'Nearest-neighbor query against the bound vector store. Returns matches with scores and optional metadata/values.',\n\tinputSchema: queryVectorsInputSchema,\n\toutputSchema: queryVectorsOutputSchema,\n\tsideEffect: 'read',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).query(input)\n})\n\nexport const vectorStoreDeleteTool = defineTool({\n\tid: 'vector-store-delete',\n\tname: 'deleteVectors',\n\tdescription: 'Delete vectors by id from the bound vector store.',\n\tinputSchema: deleteVectorsInputSchema,\n\toutputSchema: deleteVectorsOutputSchema,\n\tsideEffect: 'delete',\n\truntime: 'node',\n\texecute: async (input, ctx) => VectorStoreClient.fromContext(ctx).delete(input)\n})\n\nexport const vectorStoreModule = defineModule({\n\tid: 'vector-store',\n\ttitle: 'Vector Store',\n\tdescription:\n\t\t'Upsert, query, and delete embedding vectors in the configured store. Use for vector operations, not text embedding or document chunking.',\n\truntime: 'node',\n\tauth: { type: 'custom', schema: vectorStoreAuthSchema },\n\tcategories: ['ai', 'vector'],\n\tclassification: 'pii',\n\ttags: ['upsert', 'query'],\n\ttools: [vectorStoreUpsertTool, vectorStoreQueryTool, vectorStoreDeleteTool]\n})\n"],"mappings":";;;;;;;;;;;;AAuDA,MAAa,yBAAyB,iBAAiB,OAAO,EAC7D,UAAU,EAAE,QAAQ,QAAQ,EAC7B,CAAC;AAED,MAAa,2BAA2B,mBAAmB,OAAO,EACjE,UAAU,EAAE,QAAQ,UAAU,EAC/B,CAAC;AAED,MAAa,+BAA+B,yBAAyB,OAAO,EAC3E,UAAU,EAAE,QAAQ,UAAU,EAC/B,CAAC;AAED,MAAa,6BAA6B,uBAAuB,OAAO,EACvE,UAAU,EAAE,QAAQ,QAAQ,EAC7B,CAAC;AAED,MAAa,wBAAwB,EAAE,mBAAmB,YAAY;CACrE;CACA;CACA;CACA;AACD,CAAC;;;;;;AC5DD,IAAa,4BAAb,MAAiE;CAChE;CAEA,YAAY,MAA4B,UAAuC,CAAC,GAAG;EAClF,MAAM,EAAE,UAAU,IAAI,GAAG,eAAe;EACxC,KAAKA,UAAU,IAAI,mBAAmB,YAAY,OAAO;CAC1D;CAEA,OAAO,OAA2B;EACjC,OAAO,KAAKA,QAAQ,OAAO,KAAK;CACj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Ac;CACd,YAAY;CACZ,SAAS;CACT,SAAS,OAAO,OAAO,QAAQ,kBAAkB,YAAY,GAAG,CAAC,CAAC,MAAM,KAAK;AAC9E,CAAC;AAED,MAAa,wBAAwB,WAAW;CAC/C,IAAI;CACJ,MAAM;CACN,aAAa;CACb,aAAa;CACb,cAAc;CACd,YAAY;CACZ,SAAS;CACT,SAAS,OAAO,OAAO,QAAQ,kBAAkB,YAAY,GAAG,CAAC,CAAC,OAAO,KAAK;AAC/E,CAAC;AAED,MAAa,oBAAoB,aAAa;CAC7C,IAAI;CACJ,OAAO;CACP,aACC;CACD,SAAS;CACT,MAAM;EAAE,MAAM;EAAU,QAAQ;CAAsB;CACtD,YAAY,CAAC,MAAM,QAAQ;CAC3B,gBAAgB;CAChB,MAAM,CAAC,UAAU,OAAO;CACxB,OAAO;EAAC;EAAuB;EAAsB;CAAqB;AAC3E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { a as ModuleDefinition, o as ToolContext, s as ToolDefinition } from "../../types-Ccb0DXY9.js";
2
2
  import "../../index-CZX5OeOF.js";
3
- import { s as HttpServiceOptions } from "../../http-service-T7E5UjP8.js";
3
+ import { s as HttpServiceOptions } from "../../http-service-CerzWwQO.js";
4
4
  import { z } from "zod";
5
5
  //#region src/vendors/amazon-sp-api/contracts.d.ts
6
6
  /** SP-API regional endpoints. */
@@ -13,18 +13,21 @@ declare const amazonSpApiAuthSchema: z.ZodObject<{
13
13
  client_id: z.ZodString;
14
14
  client_secret: z.ZodString;
15
15
  refresh_token: z.ZodString;
16
- access_key_id: z.ZodString;
17
- secret_access_key: z.ZodString;
18
- region: z.ZodString;
19
16
  endpoint: z.ZodEnum<{
20
17
  "https://sellingpartnerapi-eu.amazon.com": "https://sellingpartnerapi-eu.amazon.com";
21
18
  "https://sellingpartnerapi-fe.amazon.com": "https://sellingpartnerapi-fe.amazon.com";
22
19
  "https://sellingpartnerapi-na.amazon.com": "https://sellingpartnerapi-na.amazon.com";
23
20
  }>;
24
- session_token: z.ZodOptional<z.ZodString>;
25
21
  marketplace_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
+ user_agent: z.ZodString;
26
23
  }, z.core.$strip>;
27
24
  type AmazonSpApiAuth = z.infer<typeof amazonSpApiAuthSchema>;
25
+ declare const amazonSpApiLwaTokenResponseSchema: z.ZodObject<{
26
+ access_token: z.ZodString;
27
+ token_type: z.ZodString;
28
+ expires_in: z.ZodNumber;
29
+ }, z.core.$strip>;
30
+ type AmazonSpApiLwaTokenResponse = z.infer<typeof amazonSpApiLwaTokenResponseSchema>;
28
31
  declare const amazonSpApiListOrdersInputSchema: z.ZodObject<{
29
32
  marketplace_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
30
33
  created_after: z.ZodOptional<z.ZodString>;
@@ -124,6 +127,171 @@ declare const amazonSpApiSearchOrdersOutputSchema: z.ZodObject<{
124
127
  next_cursor: z.ZodOptional<z.ZodString>;
125
128
  truncated: z.ZodBoolean;
126
129
  }, z.core.$strip>;
130
+ declare const amazonSpApiInventoryPageInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
131
+ mode: z.ZodLiteral<"full">;
132
+ marketplace_id: z.ZodString;
133
+ next_token: z.ZodOptional<z.ZodString>;
134
+ }, z.core.$strict>, z.ZodObject<{
135
+ mode: z.ZodLiteral<"incremental">;
136
+ marketplace_id: z.ZodString;
137
+ start_date_time: z.ZodISODateTime;
138
+ next_token: z.ZodOptional<z.ZodString>;
139
+ }, z.core.$strict>], "mode">;
140
+ declare const amazonInventoryReservedQuantityRawSchema: z.ZodObject<{
141
+ totalReservedQuantity: z.ZodOptional<z.ZodNumber>;
142
+ pendingCustomerOrderQuantity: z.ZodOptional<z.ZodNumber>;
143
+ pendingTransshipmentQuantity: z.ZodOptional<z.ZodNumber>;
144
+ fcProcessingQuantity: z.ZodOptional<z.ZodNumber>;
145
+ }, z.core.$loose>;
146
+ declare const amazonInventoryResearchingQuantityBreakdownRawSchema: z.ZodObject<{
147
+ name: z.ZodEnum<{
148
+ researchingQuantityInLongTerm: "researchingQuantityInLongTerm";
149
+ researchingQuantityInMidTerm: "researchingQuantityInMidTerm";
150
+ researchingQuantityInShortTerm: "researchingQuantityInShortTerm";
151
+ }>;
152
+ quantity: z.ZodInt;
153
+ }, z.core.$loose>;
154
+ declare const amazonInventoryResearchingQuantityRawSchema: z.ZodObject<{
155
+ totalResearchingQuantity: z.ZodOptional<z.ZodNumber>;
156
+ researchingQuantityBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ name: z.ZodEnum<{
158
+ researchingQuantityInLongTerm: "researchingQuantityInLongTerm";
159
+ researchingQuantityInMidTerm: "researchingQuantityInMidTerm";
160
+ researchingQuantityInShortTerm: "researchingQuantityInShortTerm";
161
+ }>;
162
+ quantity: z.ZodInt;
163
+ }, z.core.$loose>>>;
164
+ }, z.core.$loose>;
165
+ declare const amazonInventoryUnfulfillableQuantityRawSchema: z.ZodObject<{
166
+ totalUnfulfillableQuantity: z.ZodOptional<z.ZodNumber>;
167
+ customerDamagedQuantity: z.ZodOptional<z.ZodNumber>;
168
+ warehouseDamagedQuantity: z.ZodOptional<z.ZodNumber>;
169
+ distributorDamagedQuantity: z.ZodOptional<z.ZodNumber>;
170
+ carrierDamagedQuantity: z.ZodOptional<z.ZodNumber>;
171
+ defectiveQuantity: z.ZodOptional<z.ZodNumber>;
172
+ expiredQuantity: z.ZodOptional<z.ZodNumber>;
173
+ }, z.core.$loose>;
174
+ declare const amazonInventoryDetailsRawSchema: z.ZodObject<{
175
+ fulfillableQuantity: z.ZodOptional<z.ZodNumber>;
176
+ inboundWorkingQuantity: z.ZodOptional<z.ZodNumber>;
177
+ inboundShippedQuantity: z.ZodOptional<z.ZodNumber>;
178
+ inboundReceivingQuantity: z.ZodOptional<z.ZodNumber>;
179
+ reservedQuantity: z.ZodOptional<z.ZodObject<{
180
+ totalReservedQuantity: z.ZodOptional<z.ZodNumber>;
181
+ pendingCustomerOrderQuantity: z.ZodOptional<z.ZodNumber>;
182
+ pendingTransshipmentQuantity: z.ZodOptional<z.ZodNumber>;
183
+ fcProcessingQuantity: z.ZodOptional<z.ZodNumber>;
184
+ }, z.core.$loose>>;
185
+ researchingQuantity: z.ZodOptional<z.ZodObject<{
186
+ totalResearchingQuantity: z.ZodOptional<z.ZodNumber>;
187
+ researchingQuantityBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
188
+ name: z.ZodEnum<{
189
+ researchingQuantityInLongTerm: "researchingQuantityInLongTerm";
190
+ researchingQuantityInMidTerm: "researchingQuantityInMidTerm";
191
+ researchingQuantityInShortTerm: "researchingQuantityInShortTerm";
192
+ }>;
193
+ quantity: z.ZodInt;
194
+ }, z.core.$loose>>>;
195
+ }, z.core.$loose>>;
196
+ unfulfillableQuantity: z.ZodOptional<z.ZodObject<{
197
+ totalUnfulfillableQuantity: z.ZodOptional<z.ZodNumber>;
198
+ customerDamagedQuantity: z.ZodOptional<z.ZodNumber>;
199
+ warehouseDamagedQuantity: z.ZodOptional<z.ZodNumber>;
200
+ distributorDamagedQuantity: z.ZodOptional<z.ZodNumber>;
201
+ carrierDamagedQuantity: z.ZodOptional<z.ZodNumber>;
202
+ defectiveQuantity: z.ZodOptional<z.ZodNumber>;
203
+ expiredQuantity: z.ZodOptional<z.ZodNumber>;
204
+ }, z.core.$loose>>;
205
+ }, z.core.$loose>;
206
+ declare const amazonInventorySummaryRawSchema: z.ZodObject<{
207
+ asin: z.ZodOptional<z.ZodString>;
208
+ fnSku: z.ZodOptional<z.ZodString>;
209
+ sellerSku: z.ZodOptional<z.ZodString>;
210
+ condition: z.ZodOptional<z.ZodString>;
211
+ productName: z.ZodOptional<z.ZodString>;
212
+ totalQuantity: z.ZodOptional<z.ZodNumber>;
213
+ lastUpdatedTime: z.ZodOptional<z.ZodString>;
214
+ stores: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
+ inventoryDetails: z.ZodOptional<z.ZodObject<{
216
+ fulfillableQuantity: z.ZodOptional<z.ZodNumber>;
217
+ inboundWorkingQuantity: z.ZodOptional<z.ZodNumber>;
218
+ inboundShippedQuantity: z.ZodOptional<z.ZodNumber>;
219
+ inboundReceivingQuantity: z.ZodOptional<z.ZodNumber>;
220
+ reservedQuantity: z.ZodOptional<z.ZodObject<{
221
+ totalReservedQuantity: z.ZodOptional<z.ZodNumber>;
222
+ pendingCustomerOrderQuantity: z.ZodOptional<z.ZodNumber>;
223
+ pendingTransshipmentQuantity: z.ZodOptional<z.ZodNumber>;
224
+ fcProcessingQuantity: z.ZodOptional<z.ZodNumber>;
225
+ }, z.core.$loose>>;
226
+ researchingQuantity: z.ZodOptional<z.ZodObject<{
227
+ totalResearchingQuantity: z.ZodOptional<z.ZodNumber>;
228
+ researchingQuantityBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
+ name: z.ZodEnum<{
230
+ researchingQuantityInLongTerm: "researchingQuantityInLongTerm";
231
+ researchingQuantityInMidTerm: "researchingQuantityInMidTerm";
232
+ researchingQuantityInShortTerm: "researchingQuantityInShortTerm";
233
+ }>;
234
+ quantity: z.ZodInt;
235
+ }, z.core.$loose>>>;
236
+ }, z.core.$loose>>;
237
+ unfulfillableQuantity: z.ZodOptional<z.ZodObject<{
238
+ totalUnfulfillableQuantity: z.ZodOptional<z.ZodNumber>;
239
+ customerDamagedQuantity: z.ZodOptional<z.ZodNumber>;
240
+ warehouseDamagedQuantity: z.ZodOptional<z.ZodNumber>;
241
+ distributorDamagedQuantity: z.ZodOptional<z.ZodNumber>;
242
+ carrierDamagedQuantity: z.ZodOptional<z.ZodNumber>;
243
+ defectiveQuantity: z.ZodOptional<z.ZodNumber>;
244
+ expiredQuantity: z.ZodOptional<z.ZodNumber>;
245
+ }, z.core.$loose>>;
246
+ }, z.core.$loose>>;
247
+ }, z.core.$loose>;
248
+ declare const amazonSpApiInventoryPageOutputSchema: z.ZodObject<{
249
+ items: z.ZodArray<z.ZodObject<{
250
+ asin: z.ZodOptional<z.ZodString>;
251
+ fnSku: z.ZodOptional<z.ZodString>;
252
+ sellerSku: z.ZodOptional<z.ZodString>;
253
+ condition: z.ZodOptional<z.ZodString>;
254
+ productName: z.ZodOptional<z.ZodString>;
255
+ totalQuantity: z.ZodOptional<z.ZodNumber>;
256
+ lastUpdatedTime: z.ZodOptional<z.ZodString>;
257
+ stores: z.ZodOptional<z.ZodArray<z.ZodString>>;
258
+ inventoryDetails: z.ZodOptional<z.ZodObject<{
259
+ fulfillableQuantity: z.ZodOptional<z.ZodNumber>;
260
+ inboundWorkingQuantity: z.ZodOptional<z.ZodNumber>;
261
+ inboundShippedQuantity: z.ZodOptional<z.ZodNumber>;
262
+ inboundReceivingQuantity: z.ZodOptional<z.ZodNumber>;
263
+ reservedQuantity: z.ZodOptional<z.ZodObject<{
264
+ totalReservedQuantity: z.ZodOptional<z.ZodNumber>;
265
+ pendingCustomerOrderQuantity: z.ZodOptional<z.ZodNumber>;
266
+ pendingTransshipmentQuantity: z.ZodOptional<z.ZodNumber>;
267
+ fcProcessingQuantity: z.ZodOptional<z.ZodNumber>;
268
+ }, z.core.$loose>>;
269
+ researchingQuantity: z.ZodOptional<z.ZodObject<{
270
+ totalResearchingQuantity: z.ZodOptional<z.ZodNumber>;
271
+ researchingQuantityBreakdown: z.ZodOptional<z.ZodArray<z.ZodObject<{
272
+ name: z.ZodEnum<{
273
+ researchingQuantityInLongTerm: "researchingQuantityInLongTerm";
274
+ researchingQuantityInMidTerm: "researchingQuantityInMidTerm";
275
+ researchingQuantityInShortTerm: "researchingQuantityInShortTerm";
276
+ }>;
277
+ quantity: z.ZodInt;
278
+ }, z.core.$loose>>>;
279
+ }, z.core.$loose>>;
280
+ unfulfillableQuantity: z.ZodOptional<z.ZodObject<{
281
+ totalUnfulfillableQuantity: z.ZodOptional<z.ZodNumber>;
282
+ customerDamagedQuantity: z.ZodOptional<z.ZodNumber>;
283
+ warehouseDamagedQuantity: z.ZodOptional<z.ZodNumber>;
284
+ distributorDamagedQuantity: z.ZodOptional<z.ZodNumber>;
285
+ carrierDamagedQuantity: z.ZodOptional<z.ZodNumber>;
286
+ defectiveQuantity: z.ZodOptional<z.ZodNumber>;
287
+ expiredQuantity: z.ZodOptional<z.ZodNumber>;
288
+ }, z.core.$loose>>;
289
+ }, z.core.$loose>>;
290
+ }, z.core.$loose>>;
291
+ next_token: z.ZodOptional<z.ZodString>;
292
+ rate_limit_per_second: z.ZodOptional<z.ZodNumber>;
293
+ request_id: z.ZodOptional<z.ZodString>;
294
+ }, z.core.$strip>;
127
295
  declare const amazonSpApiListInventorySummariesInputSchema: z.ZodObject<{
128
296
  marketplace_id: z.ZodOptional<z.ZodString>;
129
297
  seller_skus: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -185,14 +353,67 @@ declare const amazonSpApiGetReportOutputSchema: z.ZodObject<{
185
353
  created_time: z.ZodOptional<z.ZodString>;
186
354
  }, z.core.$strip>;
187
355
  }, z.core.$strip>;
188
- declare const amazonSpApiListReportsInputSchema: z.ZodObject<{
189
- report_types: z.ZodOptional<z.ZodArray<z.ZodString>>;
356
+ declare const amazonSpApiListReportsInitialInputSchema: z.ZodObject<{
357
+ report_types: z.ZodArray<z.ZodString>;
190
358
  processing_statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
191
359
  marketplace_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
360
  page_size: z.ZodOptional<z.ZodInt>;
193
- created_since: z.ZodOptional<z.ZodString>;
194
- created_until: z.ZodOptional<z.ZodString>;
195
- cursor: z.ZodOptional<z.ZodString>;
361
+ created_since: z.ZodOptional<z.ZodISODateTime>;
362
+ created_until: z.ZodOptional<z.ZodISODateTime>;
363
+ }, z.core.$strict>;
364
+ declare const amazonSpApiListReportsInputSchema: z.ZodUnion<readonly [z.ZodObject<{
365
+ report_types: z.ZodArray<z.ZodString>;
366
+ processing_statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
367
+ marketplace_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
368
+ page_size: z.ZodOptional<z.ZodInt>;
369
+ created_since: z.ZodOptional<z.ZodISODateTime>;
370
+ created_until: z.ZodOptional<z.ZodISODateTime>;
371
+ }, z.core.$strict>, z.ZodObject<{
372
+ cursor: z.ZodString;
373
+ }, z.core.$strict>]>;
374
+ declare const amazonReportRawSchema: z.ZodObject<{
375
+ reportId: z.ZodString;
376
+ reportType: z.ZodOptional<z.ZodString>;
377
+ processingStatus: z.ZodOptional<z.ZodString>;
378
+ marketplaceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
379
+ dataStartTime: z.ZodOptional<z.ZodString>;
380
+ dataEndTime: z.ZodOptional<z.ZodString>;
381
+ reportScheduleId: z.ZodOptional<z.ZodString>;
382
+ createdTime: z.ZodOptional<z.ZodString>;
383
+ processingStartTime: z.ZodOptional<z.ZodString>;
384
+ processingEndTime: z.ZodOptional<z.ZodString>;
385
+ reportDocumentId: z.ZodOptional<z.ZodString>;
386
+ }, z.core.$loose>;
387
+ declare const amazonSpApiListReportsContinuationInputSchema: z.ZodObject<{
388
+ next_token: z.ZodString;
389
+ }, z.core.$strict>;
390
+ declare const amazonSpApiListReportsPageInputSchema: z.ZodUnion<readonly [z.ZodObject<{
391
+ report_types: z.ZodArray<z.ZodString>;
392
+ processing_statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
393
+ marketplace_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
394
+ page_size: z.ZodOptional<z.ZodInt>;
395
+ created_since: z.ZodOptional<z.ZodISODateTime>;
396
+ created_until: z.ZodOptional<z.ZodISODateTime>;
397
+ }, z.core.$strict>, z.ZodObject<{
398
+ next_token: z.ZodString;
399
+ }, z.core.$strict>]>;
400
+ declare const amazonSpApiListReportsPageOutputSchema: z.ZodObject<{
401
+ items: z.ZodArray<z.ZodObject<{
402
+ reportId: z.ZodString;
403
+ reportType: z.ZodOptional<z.ZodString>;
404
+ processingStatus: z.ZodOptional<z.ZodString>;
405
+ marketplaceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
406
+ dataStartTime: z.ZodOptional<z.ZodString>;
407
+ dataEndTime: z.ZodOptional<z.ZodString>;
408
+ reportScheduleId: z.ZodOptional<z.ZodString>;
409
+ createdTime: z.ZodOptional<z.ZodString>;
410
+ processingStartTime: z.ZodOptional<z.ZodString>;
411
+ processingEndTime: z.ZodOptional<z.ZodString>;
412
+ reportDocumentId: z.ZodOptional<z.ZodString>;
413
+ }, z.core.$loose>>;
414
+ next_token: z.ZodOptional<z.ZodString>;
415
+ rate_limit_per_second: z.ZodOptional<z.ZodNumber>;
416
+ request_id: z.ZodOptional<z.ZodString>;
196
417
  }, z.core.$strip>;
197
418
  declare const amazonSpApiListReportsOutputSchema: z.ZodObject<{
198
419
  items: z.ZodArray<z.ZodObject<{
@@ -216,6 +437,20 @@ declare const amazonSpApiGetReportDocumentOutputSchema: z.ZodObject<{
216
437
  url: z.ZodString;
217
438
  compression_algorithm: z.ZodOptional<z.ZodString>;
218
439
  }, z.core.$strip>;
440
+ declare const amazonSpApiDownloadReportDocumentBytesInputSchema: z.ZodObject<{
441
+ report_document_id: z.ZodString;
442
+ max_bytes: z.ZodInt;
443
+ }, z.core.$strict>;
444
+ declare const amazonSpApiDownloadReportDocumentBytesOutputSchema: z.ZodObject<{
445
+ bytes: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
446
+ text: z.ZodString;
447
+ byte_length: z.ZodInt;
448
+ content_type: z.ZodOptional<z.ZodString>;
449
+ content_encoding: z.ZodOptional<z.ZodString>;
450
+ compression_algorithm: z.ZodOptional<z.ZodEnum<{
451
+ GZIP: "GZIP";
452
+ }>>;
453
+ }, z.core.$strip>;
219
454
  /**
220
455
  * Composite input: pick newest completed V2 settlement report in the retention
221
456
  * window (default 90d), download one document, return eight summary fields only.
@@ -279,14 +514,24 @@ type AmazonSpApiGetOrderItemsInput = z.infer<typeof amazonSpApiGetOrderItemsInpu
279
514
  type AmazonSpApiGetOrderItemsOutput = z.infer<typeof amazonSpApiGetOrderItemsOutputSchema>;
280
515
  type AmazonSpApiListInventorySummariesInput = z.infer<typeof amazonSpApiListInventorySummariesInputSchema>;
281
516
  type AmazonSpApiListInventorySummariesOutput = z.infer<typeof amazonSpApiListInventorySummariesOutputSchema>;
517
+ type AmazonSpApiInventoryPageInput = z.infer<typeof amazonSpApiInventoryPageInputSchema>;
518
+ type AmazonSpApiInventoryPageOutput = z.infer<typeof amazonSpApiInventoryPageOutputSchema>;
519
+ type AmazonInventorySummaryRaw = z.infer<typeof amazonInventorySummaryRawSchema>;
282
520
  type AmazonSpApiCreateReportInput = z.infer<typeof amazonSpApiCreateReportInputSchema>;
283
521
  type AmazonSpApiCreateReportOutput = z.infer<typeof amazonSpApiCreateReportOutputSchema>;
284
522
  type AmazonSpApiGetReportInput = z.infer<typeof amazonSpApiGetReportInputSchema>;
285
523
  type AmazonSpApiGetReportOutput = z.infer<typeof amazonSpApiGetReportOutputSchema>;
286
524
  type AmazonSpApiListReportsInput = z.infer<typeof amazonSpApiListReportsInputSchema>;
287
525
  type AmazonSpApiListReportsOutput = z.infer<typeof amazonSpApiListReportsOutputSchema>;
526
+ type AmazonSpApiListReportsInitialInput = z.infer<typeof amazonSpApiListReportsInitialInputSchema>;
527
+ type AmazonSpApiListReportsContinuationInput = z.infer<typeof amazonSpApiListReportsContinuationInputSchema>;
528
+ type AmazonSpApiListReportsPageInput = z.infer<typeof amazonSpApiListReportsPageInputSchema>;
529
+ type AmazonSpApiListReportsPageOutput = z.infer<typeof amazonSpApiListReportsPageOutputSchema>;
530
+ type AmazonReportRaw = z.infer<typeof amazonReportRawSchema>;
288
531
  type AmazonSpApiGetReportDocumentInput = z.infer<typeof amazonSpApiGetReportDocumentInputSchema>;
289
532
  type AmazonSpApiGetReportDocumentOutput = z.infer<typeof amazonSpApiGetReportDocumentOutputSchema>;
533
+ type AmazonSpApiDownloadReportDocumentBytesInput = z.infer<typeof amazonSpApiDownloadReportDocumentBytesInputSchema>;
534
+ type AmazonSpApiDownloadReportDocumentBytesOutput = z.infer<typeof amazonSpApiDownloadReportDocumentBytesOutputSchema>;
290
535
  type AmazonSpApiSearchCatalogItemsInput = z.infer<typeof amazonSpApiSearchCatalogItemsInputSchema>;
291
536
  type AmazonSpApiSearchCatalogItemsOutput = z.infer<typeof amazonSpApiSearchCatalogItemsOutputSchema>;
292
537
  type AmazonSpApiSearchOrdersInput = z.infer<typeof amazonSpApiSearchOrdersInputSchema>;
@@ -320,15 +565,21 @@ declare class AmazonSpApiClient {
320
565
  */
321
566
  searchOrders(input: AmazonSpApiSearchOrdersInput): Promise<AmazonSpApiSearchOrdersOutput>;
322
567
  /** GET /fba/inventory/v1/summaries */
568
+ getInventorySummariesPage(input: AmazonSpApiInventoryPageInput): Promise<AmazonSpApiInventoryPageOutput>;
569
+ /** Existing slim agent-facing projection over one raw inventory page. */
323
570
  listInventorySummaries(input?: AmazonSpApiListInventorySummariesInput): Promise<AmazonSpApiListInventorySummariesOutput>;
324
571
  /** POST /reports/2021-06-30/reports */
325
572
  createReport(input: AmazonSpApiCreateReportInput): Promise<AmazonSpApiCreateReportOutput>;
326
573
  /** GET /reports/2021-06-30/reports/{reportId} */
327
574
  getReport(input: AmazonSpApiGetReportInput): Promise<AmazonSpApiGetReportOutput>;
328
575
  /** GET /reports/2021-06-30/reports */
329
- listReports(input?: AmazonSpApiListReportsInput): Promise<AmazonSpApiListReportsOutput>;
576
+ listReports(input: AmazonSpApiListReportsInput): Promise<AmazonSpApiListReportsOutput>;
577
+ /** One GET /reports/2021-06-30/reports request. Continuations send only nextToken. */
578
+ listReportsPage(input: AmazonSpApiListReportsPageInput): Promise<AmazonSpApiListReportsPageOutput>;
330
579
  /** GET /reports/2021-06-30/documents/{reportDocumentId} */
331
580
  getReportDocument(input: AmazonSpApiGetReportDocumentInput): Promise<AmazonSpApiGetReportDocumentOutput>;
581
+ /** Resolve and privately download an Amazon report document by id. */
582
+ downloadReportDocumentBytes(input: AmazonSpApiDownloadReportDocumentBytesInput): Promise<AmazonSpApiDownloadReportDocumentBytesOutput>;
332
583
  /**
333
584
  * Composite: newest DONE Flat File V2 settlement report (or `report_id`) →
334
585
  * one document download → eight summary fields in safe integer cents.
@@ -451,13 +702,14 @@ declare const amazonSpApiGetReportTool: ToolDefinition<{
451
702
  };
452
703
  }>;
453
704
  declare const amazonSpApiListReportsTool: ToolDefinition<{
454
- report_types?: string[] | undefined;
705
+ report_types: string[];
455
706
  processing_statuses?: string[] | undefined;
456
707
  marketplace_ids?: string[] | undefined;
457
708
  page_size?: number | undefined;
458
709
  created_since?: string | undefined;
459
710
  created_until?: string | undefined;
460
- cursor?: string | undefined;
711
+ } | {
712
+ cursor: string;
461
713
  }, {
462
714
  items: {
463
715
  report_id: string;
@@ -514,13 +766,10 @@ declare const amazonSpApiModule: ModuleDefinition<{
514
766
  client_id: string;
515
767
  client_secret: string;
516
768
  refresh_token: string;
517
- access_key_id: string;
518
- secret_access_key: string;
519
- region: string;
520
769
  endpoint: "https://sellingpartnerapi-eu.amazon.com" | "https://sellingpartnerapi-fe.amazon.com" | "https://sellingpartnerapi-na.amazon.com";
521
- session_token?: string | undefined;
522
770
  marketplace_ids?: string[] | undefined;
771
+ user_agent: string;
523
772
  }>;
524
773
  //#endregion
525
- export { type AmazonSpApiAuth, type AmazonSpApiCatalogItem, AmazonSpApiClient, type AmazonSpApiClientOptions, type AmazonSpApiCreateReportInput, type AmazonSpApiCreateReportOutput, type AmazonSpApiGetOrderInput, type AmazonSpApiGetOrderItemsInput, type AmazonSpApiGetOrderItemsOutput, type AmazonSpApiGetOrderOutput, type AmazonSpApiGetReportDocumentInput, type AmazonSpApiGetReportDocumentOutput, type AmazonSpApiGetReportInput, type AmazonSpApiGetReportOutput, type AmazonSpApiGetSettlementSummaryInput, type AmazonSpApiGetSettlementSummaryOutput, type AmazonSpApiInventorySummary, type AmazonSpApiListInventorySummariesInput, type AmazonSpApiListInventorySummariesOutput, type AmazonSpApiListOrdersInput, type AmazonSpApiListOrdersOutput, type AmazonSpApiListReportsInput, type AmazonSpApiListReportsOutput, type AmazonSpApiOrder, type AmazonSpApiOrderItem, type AmazonSpApiReport, type AmazonSpApiSearchCatalogItemsInput, type AmazonSpApiSearchCatalogItemsOutput, type AmazonSpApiSearchOrder, type AmazonSpApiSearchOrdersInput, type AmazonSpApiSearchOrdersOutput, type AmazonSpApiSettlementSummary, amazonSpApiAuthSchema, amazonSpApiCatalogItemSchema, amazonSpApiCreateReportInputSchema, amazonSpApiCreateReportOutputSchema, amazonSpApiCreateReportTool, amazonSpApiEndpointSchema, amazonSpApiGetOrderInputSchema, amazonSpApiGetOrderItemsInputSchema, amazonSpApiGetOrderItemsOutputSchema, amazonSpApiGetOrderItemsTool, amazonSpApiGetOrderOutputSchema, amazonSpApiGetOrderTool, amazonSpApiGetReportDocumentInputSchema, amazonSpApiGetReportDocumentOutputSchema, amazonSpApiGetReportDocumentTool, amazonSpApiGetReportInputSchema, amazonSpApiGetReportOutputSchema, amazonSpApiGetReportTool, amazonSpApiGetSettlementSummaryInputSchema, amazonSpApiGetSettlementSummaryOutputSchema, amazonSpApiGetSettlementSummaryTool, amazonSpApiInventorySummarySchema, amazonSpApiListInventorySummariesInputSchema, amazonSpApiListInventorySummariesOutputSchema, amazonSpApiListInventorySummariesTool, amazonSpApiListOrdersInputSchema, amazonSpApiListOrdersOutputSchema, amazonSpApiListOrdersTool, amazonSpApiListReportsInputSchema, amazonSpApiListReportsOutputSchema, amazonSpApiListReportsTool, amazonSpApiModule, amazonSpApiOrderItemSchema, amazonSpApiOrderSchema, amazonSpApiReportSchema, amazonSpApiSearchCatalogItemsInputSchema, amazonSpApiSearchCatalogItemsOutputSchema, amazonSpApiSearchCatalogItemsTool, amazonSpApiSearchOrderSchema, amazonSpApiSearchOrdersInputSchema, amazonSpApiSearchOrdersOutputSchema, amazonSpApiSearchOrdersTool, amazonSpApiSettlementSummarySchema };
774
+ export { type AmazonInventorySummaryRaw, type AmazonReportRaw, type AmazonSpApiAuth, type AmazonSpApiCatalogItem, AmazonSpApiClient, type AmazonSpApiClientOptions, type AmazonSpApiCreateReportInput, type AmazonSpApiCreateReportOutput, type AmazonSpApiDownloadReportDocumentBytesInput, type AmazonSpApiDownloadReportDocumentBytesOutput, type AmazonSpApiGetOrderInput, type AmazonSpApiGetOrderItemsInput, type AmazonSpApiGetOrderItemsOutput, type AmazonSpApiGetOrderOutput, type AmazonSpApiGetReportDocumentInput, type AmazonSpApiGetReportDocumentOutput, type AmazonSpApiGetReportInput, type AmazonSpApiGetReportOutput, type AmazonSpApiGetSettlementSummaryInput, type AmazonSpApiGetSettlementSummaryOutput, type AmazonSpApiInventoryPageInput, type AmazonSpApiInventoryPageOutput, type AmazonSpApiInventorySummary, type AmazonSpApiListInventorySummariesInput, type AmazonSpApiListInventorySummariesOutput, type AmazonSpApiListOrdersInput, type AmazonSpApiListOrdersOutput, type AmazonSpApiListReportsContinuationInput, type AmazonSpApiListReportsInitialInput, type AmazonSpApiListReportsInput, type AmazonSpApiListReportsOutput, type AmazonSpApiListReportsPageInput, type AmazonSpApiListReportsPageOutput, type AmazonSpApiLwaTokenResponse, type AmazonSpApiOrder, type AmazonSpApiOrderItem, type AmazonSpApiReport, type AmazonSpApiSearchCatalogItemsInput, type AmazonSpApiSearchCatalogItemsOutput, type AmazonSpApiSearchOrder, type AmazonSpApiSearchOrdersInput, type AmazonSpApiSearchOrdersOutput, type AmazonSpApiSettlementSummary, amazonInventoryDetailsRawSchema, amazonInventoryResearchingQuantityBreakdownRawSchema, amazonInventoryResearchingQuantityRawSchema, amazonInventoryReservedQuantityRawSchema, amazonInventorySummaryRawSchema, amazonInventoryUnfulfillableQuantityRawSchema, amazonReportRawSchema, amazonSpApiAuthSchema, amazonSpApiCatalogItemSchema, amazonSpApiCreateReportInputSchema, amazonSpApiCreateReportOutputSchema, amazonSpApiCreateReportTool, amazonSpApiDownloadReportDocumentBytesInputSchema, amazonSpApiDownloadReportDocumentBytesOutputSchema, amazonSpApiEndpointSchema, amazonSpApiGetOrderInputSchema, amazonSpApiGetOrderItemsInputSchema, amazonSpApiGetOrderItemsOutputSchema, amazonSpApiGetOrderItemsTool, amazonSpApiGetOrderOutputSchema, amazonSpApiGetOrderTool, amazonSpApiGetReportDocumentInputSchema, amazonSpApiGetReportDocumentOutputSchema, amazonSpApiGetReportDocumentTool, amazonSpApiGetReportInputSchema, amazonSpApiGetReportOutputSchema, amazonSpApiGetReportTool, amazonSpApiGetSettlementSummaryInputSchema, amazonSpApiGetSettlementSummaryOutputSchema, amazonSpApiGetSettlementSummaryTool, amazonSpApiInventoryPageInputSchema, amazonSpApiInventoryPageOutputSchema, amazonSpApiInventorySummarySchema, amazonSpApiListInventorySummariesInputSchema, amazonSpApiListInventorySummariesOutputSchema, amazonSpApiListInventorySummariesTool, amazonSpApiListOrdersInputSchema, amazonSpApiListOrdersOutputSchema, amazonSpApiListOrdersTool, amazonSpApiListReportsContinuationInputSchema, amazonSpApiListReportsInitialInputSchema, amazonSpApiListReportsInputSchema, amazonSpApiListReportsOutputSchema, amazonSpApiListReportsPageInputSchema, amazonSpApiListReportsPageOutputSchema, amazonSpApiListReportsTool, amazonSpApiLwaTokenResponseSchema, amazonSpApiModule, amazonSpApiOrderItemSchema, amazonSpApiOrderSchema, amazonSpApiReportSchema, amazonSpApiSearchCatalogItemsInputSchema, amazonSpApiSearchCatalogItemsOutputSchema, amazonSpApiSearchCatalogItemsTool, amazonSpApiSearchOrderSchema, amazonSpApiSearchOrdersInputSchema, amazonSpApiSearchOrdersOutputSchema, amazonSpApiSearchOrdersTool, amazonSpApiSettlementSummarySchema };
526
775
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/vendors/amazon-sp-api/contracts.ts","../../../src/vendors/amazon-sp-api/client.ts","../../../src/vendors/amazon-sp-api/module.ts"],"mappings":";;;;;;cAGa,2BAAyB,EAAA;;;;;cAMzB,uBAAqB,EAAA;;;;;;;;;;;;;;GAiBhC,EAAA,KAAA;KAEU,kBAAkB,EAAE,aA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AA+B,QAAQ;;EAkB3D,UAAU,OAAO,4BAA4B,QAAQ;;EASrD,YAAY,QAAO,8BAAmC,QAAQ;;EA0B9D,kBAAkB,OAAO,oCAAoC,QAAQ;;;;;;EAarE,qBACL,QAAO,uCACL,QAAQ;;EAoDL,mBAAmB,OAAO,qCAAqC,QAAQ;;;;cC/WjE,2BAAA;;;;;;;;;;;;;;;;;;;;;;cAYA,yBAAA;;;;;;;;;;;;;;cAWA,8BAAA;;;;;;;;;;;;;;;;;;cAWA,6BAAA;;;;;;;;;;;;;;;;cAYA,uCAAA;;;;;;;;;;;;;;;;;cAYA,6BAAA;;;;;mBAAA;;;;cAYA,0BAAA;;;;;;;;;;;;;;cAYA,4BAAA;;;;;;;;;;;;;;;;;;;;;;cAYA,kCAAA;;;;;;;cAYA,mCAAA;;;;;;;;;;;;;;;;;;cAYA,qCAAA;;;;;;;;;;;;;cAYA,mBAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/vendors/amazon-sp-api/contracts.ts","../../../src/vendors/amazon-sp-api/client.ts","../../../src/vendors/amazon-sp-api/module.ts"],"mappings":";;;;;;cAGa,2BAAyB,EAAA;;;;;cAMzB,uBAAqB,EAAA;;;;;;;;;;;GAWhC,EAAA,KAAA;KAEU,kBAAkB,EAAE,aAAa;cAEhC,mCAAiC,EAAA;;;;GAI5C,EAAA,KAAA;KAEU,8BAA8B,EAAE,aAAa;cAI5C,kCAAgC,EAAA;;;;;;;;GAY3C,EAAA,KAAA;cAEW,wBAAsB,EAAA;;;;;;;;;GASjC,EAAA,KAAA;cAEW,mCAAiC,EAAA;;;;;;;;;;;;;GAI5C,EAAA,KAAA;cAEW,gCAA8B,EAAA;;GAEzC,EAAA,KAAA;cAEW,iCAA+B,EAAA;;;;;;;;;;;GAE1C,EAAA,KAAA;cAEW,qCAAmC,EAAA;;;GAG9C,EAAA,KAAA;cAEW,4BAA0B,EAAA;;;;;;;;;GASrC,EAAA,KAAA;cAEW,sCAAoC,EAAA;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