@keystrokehq/skyfire 0.1.4 → 0.1.6

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 (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/charge-token.cjs +1 -0
  4. package/dist/actions/charge-token.cjs.map +1 -1
  5. package/dist/actions/charge-token.d.cts +3 -4
  6. package/dist/actions/charge-token.d.cts.map +1 -1
  7. package/dist/actions/charge-token.d.mts +3 -4
  8. package/dist/actions/charge-token.d.mts.map +1 -1
  9. package/dist/actions/charge-token.mjs +1 -0
  10. package/dist/actions/charge-token.mjs.map +1 -1
  11. package/dist/actions/create-kya-pay-token.cjs +1 -0
  12. package/dist/actions/create-kya-pay-token.cjs.map +1 -1
  13. package/dist/actions/create-kya-pay-token.d.cts +3 -7
  14. package/dist/actions/create-kya-pay-token.d.cts.map +1 -1
  15. package/dist/actions/create-kya-pay-token.d.mts +3 -7
  16. package/dist/actions/create-kya-pay-token.d.mts.map +1 -1
  17. package/dist/actions/create-kya-pay-token.mjs +1 -0
  18. package/dist/actions/create-kya-pay-token.mjs.map +1 -1
  19. package/dist/actions/create-kya-token.cjs +1 -0
  20. package/dist/actions/create-kya-token.cjs.map +1 -1
  21. package/dist/actions/create-kya-token.d.cts +3 -6
  22. package/dist/actions/create-kya-token.d.cts.map +1 -1
  23. package/dist/actions/create-kya-token.d.mts +3 -6
  24. package/dist/actions/create-kya-token.d.mts.map +1 -1
  25. package/dist/actions/create-kya-token.mjs +1 -0
  26. package/dist/actions/create-kya-token.mjs.map +1 -1
  27. package/dist/actions/create-pay-token.cjs +1 -0
  28. package/dist/actions/create-pay-token.cjs.map +1 -1
  29. package/dist/actions/create-pay-token.d.cts +3 -6
  30. package/dist/actions/create-pay-token.d.cts.map +1 -1
  31. package/dist/actions/create-pay-token.d.mts +3 -6
  32. package/dist/actions/create-pay-token.d.mts.map +1 -1
  33. package/dist/actions/create-pay-token.mjs +1 -0
  34. package/dist/actions/create-pay-token.mjs.map +1 -1
  35. package/dist/actions/get-all-service-tags.cjs +1 -0
  36. package/dist/actions/get-all-service-tags.cjs.map +1 -1
  37. package/dist/actions/get-all-service-tags.d.cts +3 -1
  38. package/dist/actions/get-all-service-tags.d.cts.map +1 -1
  39. package/dist/actions/get-all-service-tags.d.mts +3 -1
  40. package/dist/actions/get-all-service-tags.d.mts.map +1 -1
  41. package/dist/actions/get-all-service-tags.mjs +1 -0
  42. package/dist/actions/get-all-service-tags.mjs.map +1 -1
  43. package/dist/actions/get-buyer-wallet-balance.cjs +1 -0
  44. package/dist/actions/get-buyer-wallet-balance.cjs.map +1 -1
  45. package/dist/actions/get-buyer-wallet-balance.d.cts +3 -1
  46. package/dist/actions/get-buyer-wallet-balance.d.cts.map +1 -1
  47. package/dist/actions/get-buyer-wallet-balance.d.mts +3 -1
  48. package/dist/actions/get-buyer-wallet-balance.d.mts.map +1 -1
  49. package/dist/actions/get-buyer-wallet-balance.mjs +1 -0
  50. package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
  51. package/dist/actions/get-directory-service-by-id.cjs +1 -0
  52. package/dist/actions/get-directory-service-by-id.cjs.map +1 -1
  53. package/dist/actions/get-directory-service-by-id.d.cts +3 -3
  54. package/dist/actions/get-directory-service-by-id.d.cts.map +1 -1
  55. package/dist/actions/get-directory-service-by-id.d.mts +3 -3
  56. package/dist/actions/get-directory-service-by-id.d.mts.map +1 -1
  57. package/dist/actions/get-directory-service-by-id.mjs +1 -0
  58. package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
  59. package/dist/actions/get-service.cjs +1 -0
  60. package/dist/actions/get-service.cjs.map +1 -1
  61. package/dist/actions/get-service.d.cts +3 -3
  62. package/dist/actions/get-service.d.cts.map +1 -1
  63. package/dist/actions/get-service.d.mts +3 -3
  64. package/dist/actions/get-service.d.mts.map +1 -1
  65. package/dist/actions/get-service.mjs +1 -0
  66. package/dist/actions/get-service.mjs.map +1 -1
  67. package/dist/actions/get-services-by-agent.cjs +1 -0
  68. package/dist/actions/get-services-by-agent.cjs.map +1 -1
  69. package/dist/actions/get-services-by-agent.d.cts +3 -4
  70. package/dist/actions/get-services-by-agent.d.cts.map +1 -1
  71. package/dist/actions/get-services-by-agent.d.mts +3 -4
  72. package/dist/actions/get-services-by-agent.d.mts.map +1 -1
  73. package/dist/actions/get-services-by-agent.mjs +1 -0
  74. package/dist/actions/get-services-by-agent.mjs.map +1 -1
  75. package/dist/actions/get-services-by-tags.cjs +1 -0
  76. package/dist/actions/get-services-by-tags.cjs.map +1 -1
  77. package/dist/actions/get-services-by-tags.d.cts +3 -4
  78. package/dist/actions/get-services-by-tags.d.cts.map +1 -1
  79. package/dist/actions/get-services-by-tags.d.mts +3 -4
  80. package/dist/actions/get-services-by-tags.d.mts.map +1 -1
  81. package/dist/actions/get-services-by-tags.mjs +1 -0
  82. package/dist/actions/get-services-by-tags.mjs.map +1 -1
  83. package/dist/actions/get-token-charges.cjs +1 -0
  84. package/dist/actions/get-token-charges.cjs.map +1 -1
  85. package/dist/actions/get-token-charges.d.cts +3 -3
  86. package/dist/actions/get-token-charges.d.cts.map +1 -1
  87. package/dist/actions/get-token-charges.d.mts +3 -3
  88. package/dist/actions/get-token-charges.d.mts.map +1 -1
  89. package/dist/actions/get-token-charges.mjs +1 -0
  90. package/dist/actions/get-token-charges.mjs.map +1 -1
  91. package/dist/actions/introspect-token.cjs +1 -0
  92. package/dist/actions/introspect-token.cjs.map +1 -1
  93. package/dist/actions/introspect-token.d.cts +3 -3
  94. package/dist/actions/introspect-token.d.cts.map +1 -1
  95. package/dist/actions/introspect-token.d.mts +3 -3
  96. package/dist/actions/introspect-token.d.mts.map +1 -1
  97. package/dist/actions/introspect-token.mjs +1 -0
  98. package/dist/actions/introspect-token.mjs.map +1 -1
  99. package/dist/actions/list-agent-seller-services.cjs +1 -0
  100. package/dist/actions/list-agent-seller-services.cjs.map +1 -1
  101. package/dist/actions/list-agent-seller-services.d.cts +3 -1
  102. package/dist/actions/list-agent-seller-services.d.cts.map +1 -1
  103. package/dist/actions/list-agent-seller-services.d.mts +3 -1
  104. package/dist/actions/list-agent-seller-services.d.mts.map +1 -1
  105. package/dist/actions/list-agent-seller-services.mjs +1 -0
  106. package/dist/actions/list-agent-seller-services.mjs.map +1 -1
  107. package/dist/actions/list-buyer-tokens.cjs +1 -0
  108. package/dist/actions/list-buyer-tokens.cjs.map +1 -1
  109. package/dist/actions/list-buyer-tokens.d.cts +3 -7
  110. package/dist/actions/list-buyer-tokens.d.cts.map +1 -1
  111. package/dist/actions/list-buyer-tokens.d.mts +3 -7
  112. package/dist/actions/list-buyer-tokens.d.mts.map +1 -1
  113. package/dist/actions/list-buyer-tokens.mjs +1 -0
  114. package/dist/actions/list-buyer-tokens.mjs.map +1 -1
  115. package/dist/actions/list-directory-services.cjs +1 -0
  116. package/dist/actions/list-directory-services.cjs.map +1 -1
  117. package/dist/actions/list-directory-services.d.cts +3 -8
  118. package/dist/actions/list-directory-services.d.cts.map +1 -1
  119. package/dist/actions/list-directory-services.d.mts +3 -8
  120. package/dist/actions/list-directory-services.d.mts.map +1 -1
  121. package/dist/actions/list-directory-services.mjs +1 -0
  122. package/dist/actions/list-directory-services.mjs.map +1 -1
  123. package/dist/actions/set-agent-source-ips.cjs +1 -0
  124. package/dist/actions/set-agent-source-ips.cjs.map +1 -1
  125. package/dist/actions/set-agent-source-ips.d.cts +3 -3
  126. package/dist/actions/set-agent-source-ips.d.cts.map +1 -1
  127. package/dist/actions/set-agent-source-ips.d.mts +3 -3
  128. package/dist/actions/set-agent-source-ips.d.mts.map +1 -1
  129. package/dist/actions/set-agent-source-ips.mjs +1 -0
  130. package/dist/actions/set-agent-source-ips.mjs.map +1 -1
  131. package/dist/app.cjs +5 -2
  132. package/dist/app.cjs.map +1 -1
  133. package/dist/app.d.cts +7 -1
  134. package/dist/app.d.cts.map +1 -1
  135. package/dist/app.d.mts +7 -1
  136. package/dist/app.d.mts.map +1 -1
  137. package/dist/app.mjs +3 -2
  138. package/dist/app.mjs.map +1 -1
  139. package/dist/index.d.cts +1 -1
  140. package/dist/index.d.mts +1 -1
  141. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["skyfire","executeSkyfireTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["skyfire","executeSkyfireTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof skyfire.credential> {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { skyfire } from \"./app\";\nimport { executeSkyfireTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof skyfire.credential> {\n return skyfire.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSkyfireTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/charge-token.ts
@@ -1 +1 @@
1
- {"version":3,"file":"charge-token.cjs","names":["z","action"],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).passthrough().describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACtF,CAAC,CAAC,CAAC,SAAS,oPAAoP;AAChQ,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"charge-token.cjs","names":["z","action"],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).passthrough().describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken: AppAction<\n typeof SkyfireChargeTokenInput,\n typeof SkyfireChargeTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACtF,CAAC,CAAC,CAAC,SAAS,oPAAoP;AAChQ,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/charge-token.d.ts
@@ -9,10 +11,7 @@ declare const SkyfireChargeTokenOutput: z.ZodObject<{
9
11
  amountCharged: z.ZodNullable<z.ZodString>;
10
12
  remainingBalance: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const skyfireChargeToken: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- token: string;
14
- chargeAmount: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const skyfireChargeToken: AppAction<typeof SkyfireChargeTokenInput, typeof SkyfireChargeTokenOutput, typeof skyfire.credential>;
16
15
  //#endregion
17
16
  export { skyfireChargeToken };
18
17
  //# sourceMappingURL=charge-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"charge-token.d.cts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"charge-token.d.cts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/charge-token.d.ts
@@ -9,10 +11,7 @@ declare const SkyfireChargeTokenOutput: z.ZodObject<{
9
11
  amountCharged: z.ZodNullable<z.ZodString>;
10
12
  remainingBalance: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>;
12
- declare const skyfireChargeToken: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- token: string;
14
- chargeAmount: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const skyfireChargeToken: AppAction<typeof SkyfireChargeTokenInput, typeof SkyfireChargeTokenOutput, typeof skyfire.credential>;
16
15
  //#endregion
17
16
  export { skyfireChargeToken };
18
17
  //# sourceMappingURL=charge-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"charge-token.d.mts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"charge-token.d.mts","names":[],"sources":["../../src/actions/charge-token.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireChargeToken = action("SKYFIRE_CHARGE_TOKEN", {
@@ -1 +1 @@
1
- {"version":3,"file":"charge-token.mjs","names":[],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).passthrough().describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;AAaA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,CAAC,CAAC,CAAC,SAAS,oPAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"charge-token.mjs","names":[],"sources":["../../src/actions/charge-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireChargeTokenInput = z.object({\n token: z.string().describe(\"The JWT token string the buyer sent you (not the tokenId)\"),\n chargeAmount: z.string().describe(\"Amount to charge (must be <= token's max amount)\"),\n}).describe(\"Charge a buyer's token as a seller service.\\n\\nSELLER-SIDE ACTION: Use this when you're providing a service and need to\\ncharge the buyer's token. The buyer sends you the token JWT, you provide\\nthe service, then call this to collect payment.\");\nexport const SkyfireChargeTokenOutput = z.object({\n amountCharged: z.string().describe(\"The amount that was charged from the token (USD as decimal string)\").nullable(),\n remainingBalance: z.string().describe(\"Remaining balance on the token after the charge (USD as decimal string)\").nullable(),\n}).passthrough().describe(\"Response from charging a buyer's token.\");\n\nexport const skyfireChargeToken: AppAction<\n typeof SkyfireChargeTokenInput,\n typeof SkyfireChargeTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CHARGE_TOKEN\", {\n slug: \"skyfire-charge-token\",\n name: \"Charge Skyfire Token\",\n description: \"Charge a buyer's token (seller-side operation). REQUIRES SELLER API KEY: This action requires your seller agent API key, not the buyer's key. The buyer creates and sends you a pay/kya+pay token JWT, you provide the service, then call this endpoint to collect payment. Flow: Buyer creates token → Buyer calls your service with token → You validate token → You provide service → You call this to charge. Common errors: - 401: Invalid/expired token OR wrong API key (must use seller key) - 402: Charge amount exceeds token value\",\n input: SkyfireChargeTokenInput,\n output: SkyfireChargeTokenOutput,\n});\n"],"mappings":";;;AAeA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACtF,CAAC,CAAC,CAAC,SAAS,oPAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAClH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-kya-pay-token.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,iSAAiS;AAC7S,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kya-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken: AppAction<\n typeof SkyfireCreateKyaPayTokenInput,\n typeof SkyfireCreateKyaPayTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,iSAAiS;AAC7S,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-kya-pay-token.d.ts
@@ -13,13 +15,7 @@ declare const SkyfireCreateKyaPayTokenOutput: z.ZodObject<{
13
15
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  }, z.core.$loose>;
16
- declare const skyfireCreateKyaPayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- expiresAt: number;
18
- tokenAmount: string;
19
- sellerServiceId: string;
20
- buyerTag?: string | undefined;
21
- identityPermissions?: string[] | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const skyfireCreateKyaPayToken: AppAction<typeof SkyfireCreateKyaPayTokenInput, typeof SkyfireCreateKyaPayTokenOutput, typeof skyfire.credential>;
23
19
  //#endregion
24
20
  export { skyfireCreateKyaPayToken };
25
21
  //# sourceMappingURL=create-kya-pay-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-pay-token.d.cts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-kya-pay-token.d.cts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-kya-pay-token.d.ts
@@ -13,13 +15,7 @@ declare const SkyfireCreateKyaPayTokenOutput: z.ZodObject<{
13
15
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
17
  }, z.core.$loose>;
16
- declare const skyfireCreateKyaPayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- expiresAt: number;
18
- tokenAmount: string;
19
- sellerServiceId: string;
20
- buyerTag?: string | undefined;
21
- identityPermissions?: string[] | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const skyfireCreateKyaPayToken: AppAction<typeof SkyfireCreateKyaPayTokenInput, typeof SkyfireCreateKyaPayTokenOutput, typeof skyfire.credential>;
23
19
  //#endregion
24
20
  export { skyfireCreateKyaPayToken };
25
21
  //# sourceMappingURL=create-kya-pay-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-pay-token.d.mts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-kya-pay-token.d.mts","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireCreateKyaPayToken = action("SKYFIRE_CREATE_KYA_PAY_TOKEN", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-pay-token.mjs","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;AAiBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,iSAWH;CACP,QAX4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-kya-pay-token.mjs","names":[],"sources":["../../src/actions/create-kya-pay-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreateKyaPayTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n tokenAmount: z.string().describe(\"Maximum amount the seller may charge (as decimal string)\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes required by seller (e.g., ['email', 'name'])\").optional(),\n}).describe(\"Create a combined KYA+PAY token to provide identity and authorize payment.\\n\\nUse when a seller requires identity + payment in one token.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreateKyaPayToken →\\ncall the seller with this token per their integration (header/body).\");\nexport const SkyfireCreateKyaPayTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA+PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a KYA+PAY token.\");\n\nexport const skyfireCreateKyaPayToken: AppAction<\n typeof SkyfireCreateKyaPayTokenInput,\n typeof SkyfireCreateKyaPayTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_KYA_PAY_TOKEN\", {\n slug: \"skyfire-create-kya-pay-token\",\n name: \"Create Skyfire KYA+PAY Token\",\n description: \"Issue a Skyfire KYA+PAY token (POST /api/v1/tokens with type=kya+pay).\",\n input: SkyfireCreateKyaPayTokenInput,\n output: SkyfireCreateKyaPayTokenOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB2C,EAAE,OAAO;EACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,iSAeH;CACP,QAf4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-kya-token.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n}).passthrough();\n\nexport const skyfireCreateKyaToken = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC7O,CAAC,CAAC,CAAC,SAAS,yNAAyN;AACrO,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-kya-token.cjs","names":["z","action"],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n}).passthrough();\n\nexport const skyfireCreateKyaToken: AppAction<\n typeof SkyfireCreateKyaTokenInput,\n typeof SkyfireCreateKyaTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACzE,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC7O,CAAC,CAAC,CAAC,SAAS,yNAAyN;AACrO,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-kya-token.d.ts
@@ -12,12 +14,7 @@ declare const SkyfireCreateKyaTokenOutput: z.ZodObject<{
12
14
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>;
15
- declare const skyfireCreateKyaToken: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- expiresAt: number;
17
- sellerServiceId: string;
18
- buyerTag?: string | undefined;
19
- identityPermissions?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const skyfireCreateKyaToken: AppAction<typeof SkyfireCreateKyaTokenInput, typeof SkyfireCreateKyaTokenOutput, typeof skyfire.credential>;
21
18
  //#endregion
22
19
  export { skyfireCreateKyaToken };
23
20
  //# sourceMappingURL=create-kya-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-token.d.cts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-kya-token.d.cts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-kya-token.d.ts
@@ -12,12 +14,7 @@ declare const SkyfireCreateKyaTokenOutput: z.ZodObject<{
12
14
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>;
15
- declare const skyfireCreateKyaToken: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- expiresAt: number;
17
- sellerServiceId: string;
18
- buyerTag?: string | undefined;
19
- identityPermissions?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const skyfireCreateKyaToken: AppAction<typeof SkyfireCreateKyaTokenInput, typeof SkyfireCreateKyaTokenOutput, typeof skyfire.credential>;
21
18
  //#endregion
22
19
  export { skyfireCreateKyaToken };
23
20
  //# sourceMappingURL=create-kya-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-token.d.mts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-kya-token.d.mts","names":[],"sources":["../../src/actions/create-kya-token.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireCreateKyaToken = action("SKYFIRE_CREATE_KYA_TOKEN", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-kya-token.mjs","names":[],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n}).passthrough();\n\nexport const skyfireCreateKyaToken = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,CAAC,CAAC,CAAC,SAAS,yNAWH;CACP,QAXyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC9K,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-kya-token.mjs","names":[],"sources":["../../src/actions/create-kya-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreateKyaTokenInput = z.object({\n buyerTag: z.string().describe(\"Optional tag for buyer-side tracking\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp (seconds) when token expires\"),\n sellerServiceId: z.string().describe(\"UUID of the seller service to call\"),\n identityPermissions: z.array(z.string()).describe(\"Optional list of identity permission scopes if required by seller (e.g., ['email', 'name']). Check service's buyerIdentityRequirement to see what permissions may be needed.\").optional(),\n}).describe(\"Create a KYA (Know-Your-Agent) identity token for a seller service.\\n\\nUse when a seller requires identity only. For identity+payment, prefer\\nCreateKyaPayToken. Chain with GetServiceDetails to confirm requirements.\");\nexport const SkyfireCreateKyaTokenOutput = z.object({\n token: z.string().describe(\"JWT for KYA token. Contains claims including exp (expiration), jti (token ID), ssi (seller service ID), and buyer/agent identity info.\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (jti claim in JWT). If not returned directly, decode the JWT to access the 'jti' claim.\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds). If not returned by API, decode the JWT to access the 'exp' claim.\").nullable().optional(),\n}).passthrough();\n\nexport const skyfireCreateKyaToken: AppAction<\n typeof SkyfireCreateKyaTokenInput,\n typeof SkyfireCreateKyaTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_KYA_TOKEN\", {\n slug: \"skyfire-create-kya-token\",\n name: \"Create Skyfire KYA Token\",\n description: \"Issue a Skyfire KYA token (POST /api/v1/tokens with type=kya).\",\n input: SkyfireCreateKyaTokenInput,\n output: SkyfireCreateKyaTokenOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;EAClF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACzE,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,CAAC,CAAC,CAAC,SAAS,yNAeH;CACP,QAfyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC9K,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-pay-token.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CAC3K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;AAChJ,CAAC,CAAC,CAAC,SAAS,oWAAoW;AAChX,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-pay-token.cjs","names":["z","action"],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken: AppAction<\n typeof SkyfireCreatePayTokenInput,\n typeof SkyfireCreatePayTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAC3J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CAC3K,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;AAChJ,CAAC,CAAC,CAAC,SAAS,oWAAoW;AAChX,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-pay-token.d.ts
@@ -12,12 +14,7 @@ declare const SkyfireCreatePayTokenOutput: z.ZodObject<{
12
14
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>;
15
- declare const skyfireCreatePayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- expiresAt: number;
17
- tokenAmount: string;
18
- sellerServiceId: string;
19
- buyerTag?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const skyfireCreatePayToken: AppAction<typeof SkyfireCreatePayTokenInput, typeof SkyfireCreatePayTokenOutput, typeof skyfire.credential>;
21
18
  //#endregion
22
19
  export { skyfireCreatePayToken };
23
20
  //# sourceMappingURL=create-pay-token.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-pay-token.d.cts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-pay-token.d.cts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-pay-token.d.ts
@@ -12,12 +14,7 @@ declare const SkyfireCreatePayTokenOutput: z.ZodObject<{
12
14
  tokenId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  expiresAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>;
15
- declare const skyfireCreatePayToken: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- expiresAt: number;
17
- tokenAmount: string;
18
- sellerServiceId: string;
19
- buyerTag?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const skyfireCreatePayToken: AppAction<typeof SkyfireCreatePayTokenInput, typeof SkyfireCreatePayTokenOutput, typeof skyfire.credential>;
21
18
  //#endregion
22
19
  export { skyfireCreatePayToken };
23
20
  //# sourceMappingURL=create-pay-token.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-pay-token.d.mts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-pay-token.d.mts","names":[],"sources":["../../src/actions/create-pay-token.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireCreatePayToken = action("SKYFIRE_CREATE_PAY_TOKEN", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-pay-token.mjs","names":[],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;EACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EAC3K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAChJ,CAAC,CAAC,CAAC,SAAS,oWAWH;CACP,QAXyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-pay-token.mjs","names":[],"sources":["../../src/actions/create-pay-token.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireCreatePayTokenInput = z.object({\n buyerTag: z.string().describe(\"Your internal reference for tracking - appears in transaction history. Use for matching tokens to your workflows\").optional(),\n expiresAt: z.number().int().describe(\"Unix timestamp when this token becomes invalid. Set short (5-10 min) for one-time use, longer for recurring calls. Max 24 hours\"),\n tokenAmount: z.string().describe(\"Maximum USD the seller can charge. Use decimal string to avoid float precision issues. The seller decides actual charge up to this limit\"),\n sellerServiceId: z.string().describe(\"The service ID you got from ListDirectoryServices - this binds the payment to a specific seller service\"),\n}).describe(\"Create a Skyfire PAY token to authorize payment for a seller service.\\n\\nUse when you need to programmatically pay a seller service.\\nTypical chain: ListDirectoryServices → GetServiceDetails → CreatePayToken →\\ncall the seller using the token as their docs specify (e.g., header).\\nThe token is a short‑lived JWT bound to a seller service and max charge.\");\nexport const SkyfireCreatePayTokenOutput = z.object({\n token: z.string().describe(\"JWT for PAY token that should be used for authorization with the seller service\").nullable(),\n tokenId: z.string().describe(\"Identifier of the issued token (JWT 'jti' claim) if provided by API\").nullable().optional(),\n expiresAt: z.number().int().describe(\"Unix expiration time (seconds) - extracted from JWT 'exp' claim if available\").nullable().optional(),\n}).passthrough().describe(\"Response for creating a PAY token.\");\n\nexport const skyfireCreatePayToken: AppAction<\n typeof SkyfireCreatePayTokenInput,\n typeof SkyfireCreatePayTokenOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_CREATE_PAY_TOKEN\", {\n slug: \"skyfire-create-pay-token\",\n name: \"Create Skyfire PAY Token\",\n description: \"Issue a Skyfire PAY token (POST /api/v1/tokens with type=pay).\",\n input: SkyfireCreatePayTokenInput,\n output: SkyfireCreatePayTokenOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iIAAiI;EACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EAC3K,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CAChJ,CAAC,CAAC,CAAC,SAAS,oWAeH;CACP,QAfyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-all-service-tags.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-service-tags.cjs","names":["z","action"],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n}).passthrough();\n\nexport const skyfireGetAllServiceTags = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI;AAC3M,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-service-tags.cjs","names":["z","action"],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n}).passthrough();\n\nexport const skyfireGetAllServiceTags: AppAction<\n typeof SkyfireGetAllServiceTagsInput,\n typeof SkyfireGetAllServiceTagsOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI;AAC3M,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-service-tags.d.ts
@@ -5,7 +7,7 @@ declare const SkyfireGetAllServiceTagsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const SkyfireGetAllServiceTagsOutput: z.ZodObject<{
6
8
  data: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const skyfireGetAllServiceTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const skyfireGetAllServiceTags: AppAction<typeof SkyfireGetAllServiceTagsInput, typeof SkyfireGetAllServiceTagsOutput, typeof skyfire.credential>;
9
11
  //#endregion
10
12
  export { skyfireGetAllServiceTags };
11
13
  //# sourceMappingURL=get-all-service-tags.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-service-tags.d.cts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-service-tags.d.cts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-all-service-tags.d.ts
@@ -5,7 +7,7 @@ declare const SkyfireGetAllServiceTagsInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const SkyfireGetAllServiceTagsOutput: z.ZodObject<{
6
8
  data: z.ZodArray<z.ZodString>;
7
9
  }, z.core.$loose>;
8
- declare const skyfireGetAllServiceTags: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const skyfireGetAllServiceTags: AppAction<typeof SkyfireGetAllServiceTagsInput, typeof SkyfireGetAllServiceTagsOutput, typeof skyfire.credential>;
9
11
  //#endregion
10
12
  export { skyfireGetAllServiceTags };
11
13
  //# sourceMappingURL=get-all-service-tags.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-service-tags.d.mts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-service-tags.d.mts","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireGetAllServiceTags = action("SKYFIRE_GET_ALL_SERVICE_TAGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-service-tags.mjs","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n}).passthrough();\n\nexport const skyfireGetAllServiceTags = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;AASA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAS1D;CACP,QAT4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-service-tags.mjs","names":[],"sources":["../../src/actions/get-all-service-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireGetAllServiceTagsInput = z.object({}).describe(\"Get all available service tags for filtering the directory.\\n\\nUse this to see what tags exist before filtering ListDirectoryServices.\");\nexport const SkyfireGetAllServiceTagsOutput = z.object({\n data: z.array(z.string()).describe(\"All available service tags like 'ai', 'web scraping', 'agent to agent'\"),\n}).passthrough();\n\nexport const skyfireGetAllServiceTags: AppAction<\n typeof SkyfireGetAllServiceTagsInput,\n typeof SkyfireGetAllServiceTagsOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_GET_ALL_SERVICE_TAGS\", {\n slug: \"skyfire-get-all-service-tags\",\n name: \"Get All Service Tags\",\n description: \"Fetch all service tags to discover filtering options. Chain with ListDirectoryServices using tags parameter to find specific types of services (e.g., 'ai', 'mcp', 'scraping').\",\n input: SkyfireGetAllServiceTagsInput,\n output: SkyfireGetAllServiceTagsOutput,\n});\n"],"mappings":";;;AAWA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAa1D;CACP,QAb4C,EAAE,OAAO,EACrD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE,EAC7G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-buyer-wallet-balance.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-buyer-wallet-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAA4L;AACnQ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-buyer-wallet-balance.cjs","names":["z","action"],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance: AppAction<\n typeof SkyfireGetBuyerWalletBalanceInput,\n typeof SkyfireGetBuyerWalletBalanceOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAA4L;AACnQ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-buyer-wallet-balance.d.ts
@@ -8,7 +10,7 @@ declare const SkyfireGetBuyerWalletBalanceOutput: z.ZodObject<{
8
10
  pendingCharges: z.ZodNullable<z.ZodString>;
9
11
  pendingDeposits: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const skyfireGetBuyerWalletBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const skyfireGetBuyerWalletBalance: AppAction<typeof SkyfireGetBuyerWalletBalanceInput, typeof SkyfireGetBuyerWalletBalanceOutput, typeof skyfire.credential>;
12
14
  //#endregion
13
15
  export { skyfireGetBuyerWalletBalance };
14
16
  //# sourceMappingURL=get-buyer-wallet-balance.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-buyer-wallet-balance.d.cts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-buyer-wallet-balance.d.cts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { skyfire } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-buyer-wallet-balance.d.ts
@@ -8,7 +10,7 @@ declare const SkyfireGetBuyerWalletBalanceOutput: z.ZodObject<{
8
10
  pendingCharges: z.ZodNullable<z.ZodString>;
9
11
  pendingDeposits: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const skyfireGetBuyerWalletBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const skyfireGetBuyerWalletBalance: AppAction<typeof SkyfireGetBuyerWalletBalanceInput, typeof SkyfireGetBuyerWalletBalanceOutput, typeof skyfire.credential>;
12
14
  //#endregion
13
15
  export { skyfireGetBuyerWalletBalance };
14
16
  //# sourceMappingURL=get-buyer-wallet-balance.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-buyer-wallet-balance.d.mts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-buyer-wallet-balance.d.mts","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const skyfireGetBuyerWalletBalance = action("SKYFIRE_GET_BUYER_WALLET_BALANCE", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-buyer-wallet-balance.mjs","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;AAYA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAY9D;CACP,QAZgD,EAAE,OAAO;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-buyer-wallet-balance.mjs","names":[],"sources":["../../src/actions/get-buyer-wallet-balance.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { skyfire } from \"../app\";\n\nexport const SkyfireGetBuyerWalletBalanceInput = z.object({}).describe(\"Fetch your buyer agent's wallet balance.\\n\\nUse this to ensure sufficient funds before creating a PAY or KYA+PAY token.\\nThe balance is determined by the API key used for authentication.\");\nexport const SkyfireGetBuyerWalletBalanceOutput = z.object({\n available: z.string().describe(\"Spendable balance - this is what you can actually use for new tokens\").nullable(),\n heldAmount: z.string().describe(\"Amount reserved for active tokens that haven't been charged yet\").nullable(),\n pendingCharges: z.string().describe(\"Amount being processed for completed transactions\").nullable(),\n pendingDeposits: z.string().describe(\"Incoming deposits that haven't cleared yet\").nullable(),\n}).passthrough();\n\nexport const skyfireGetBuyerWalletBalance: AppAction<\n typeof SkyfireGetBuyerWalletBalanceInput,\n typeof SkyfireGetBuyerWalletBalanceOutput,\n typeof skyfire.credential\n> = action(\"SKYFIRE_GET_BUYER_WALLET_BALANCE\", {\n slug: \"skyfire-get-buyer-wallet-balance\",\n name: \"Get Skyfire Buyer Wallet Balance\",\n description: \"Retrieve buyer wallet balance. Chain before token creation to prevent declines.\",\n input: SkyfireGetBuyerWalletBalanceInput,\n output: SkyfireGetBuyerWalletBalanceOutput,\n});\n"],"mappings":";;;AAcA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAgB9D;CACP,QAhBgD,EAAE,OAAO;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAClG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-directory-service-by-id.ts