@keystrokehq/poof 0.1.0 → 0.1.2
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-balance.cjs.map +1 -1
- package/dist/actions/check-balance.d.cts +9 -3
- package/dist/actions/check-balance.d.cts.map +1 -1
- package/dist/actions/check-balance.d.mts +9 -3
- package/dist/actions/check-balance.d.mts.map +1 -1
- package/dist/actions/check-balance.mjs.map +1 -1
- package/dist/actions/create-checkout.cjs +1 -1
- package/dist/actions/create-checkout.cjs.map +1 -1
- package/dist/actions/create-checkout.d.cts +35 -3
- package/dist/actions/create-checkout.d.cts.map +1 -1
- package/dist/actions/create-checkout.d.mts +35 -3
- package/dist/actions/create-checkout.d.mts.map +1 -1
- package/dist/actions/create-checkout.mjs +1 -1
- package/dist/actions/create-checkout.mjs.map +1 -1
- package/dist/actions/create-deposit-address.cjs +1 -1
- package/dist/actions/create-deposit-address.cjs.map +1 -1
- package/dist/actions/create-deposit-address.d.cts +22 -3
- package/dist/actions/create-deposit-address.d.cts.map +1 -1
- package/dist/actions/create-deposit-address.d.mts +22 -3
- package/dist/actions/create-deposit-address.d.mts.map +1 -1
- package/dist/actions/create-deposit-address.mjs +1 -1
- package/dist/actions/create-deposit-address.mjs.map +1 -1
- package/dist/actions/create-fiat-charge.cjs.map +1 -1
- package/dist/actions/create-fiat-charge.d.cts +20 -3
- package/dist/actions/create-fiat-charge.d.cts.map +1 -1
- package/dist/actions/create-fiat-charge.d.mts +20 -3
- package/dist/actions/create-fiat-charge.d.mts.map +1 -1
- package/dist/actions/create-fiat-charge.mjs.map +1 -1
- package/dist/actions/create-fiat-invoice.cjs.map +1 -1
- package/dist/actions/create-fiat-invoice.d.cts +20 -3
- package/dist/actions/create-fiat-invoice.d.cts.map +1 -1
- package/dist/actions/create-fiat-invoice.d.mts +20 -3
- package/dist/actions/create-fiat-invoice.d.mts.map +1 -1
- package/dist/actions/create-fiat-invoice.mjs.map +1 -1
- package/dist/actions/create-payment-link.cjs.map +1 -1
- package/dist/actions/create-payment-link.d.cts +14 -3
- package/dist/actions/create-payment-link.d.cts.map +1 -1
- package/dist/actions/create-payment-link.d.mts +14 -3
- package/dist/actions/create-payment-link.d.mts.map +1 -1
- package/dist/actions/create-payment-link.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +11 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +11 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/fetch-gas-price.cjs.map +1 -1
- package/dist/actions/fetch-gas-price.d.cts +15 -3
- package/dist/actions/fetch-gas-price.d.cts.map +1 -1
- package/dist/actions/fetch-gas-price.d.mts +15 -3
- package/dist/actions/fetch-gas-price.d.mts.map +1 -1
- package/dist/actions/fetch-gas-price.mjs.map +1 -1
- package/dist/actions/fetch-price.cjs.map +1 -1
- package/dist/actions/fetch-price.d.cts +11 -3
- package/dist/actions/fetch-price.d.cts.map +1 -1
- package/dist/actions/fetch-price.d.mts +11 -3
- package/dist/actions/fetch-price.d.mts.map +1 -1
- package/dist/actions/fetch-price.mjs.map +1 -1
- package/dist/actions/fetch-smart-contracts.cjs.map +1 -1
- package/dist/actions/fetch-smart-contracts.d.cts +7 -3
- package/dist/actions/fetch-smart-contracts.d.cts.map +1 -1
- package/dist/actions/fetch-smart-contracts.d.mts +7 -3
- package/dist/actions/fetch-smart-contracts.d.mts.map +1 -1
- package/dist/actions/fetch-smart-contracts.mjs.map +1 -1
- package/dist/actions/send-payout.cjs.map +1 -1
- package/dist/actions/send-payout.d.cts +16 -3
- package/dist/actions/send-payout.d.cts.map +1 -1
- package/dist/actions/send-payout.d.mts +16 -3
- package/dist/actions/send-payout.d.mts.map +1 -1
- package/dist/actions/send-payout.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["poof","executePoofTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["poof","executePoofTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } 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 poof.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 executePoofTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,KAAK,OAAO;EACjB,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,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } 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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { poof } from \"./app\";\nimport { executePoofTool } 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 poof.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 executePoofTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-balance.cjs","names":["z","action"],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput
|
|
1
|
+
{"version":3,"file":"check-balance.cjs","names":["z","action"],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput = z.object({\n crypto: z.string().describe(\"The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').\"),\n}).describe(\"Request model for checking cryptocurrency wallet balance.\");\nexport const PoofCheckBalanceOutput = z.object({\n balance: z.string().describe(\"The current balance of the specified cryptocurrency wallet.\").nullable().optional(),\n}).describe(\"Response model containing the cryptocurrency balance.\");\n\nexport const poofCheckBalance = action(\"POOF_CHECK_BALANCE\", {\n slug: \"poof-check-balance\",\n name: \"Check Balance\",\n description: \"Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.\",\n input: PoofCheckBalanceInput,\n output: PoofCheckBalanceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/check-balance.d.ts
|
|
4
|
-
declare const PoofCheckBalanceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCheckBalanceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofCheckBalanceOutput: z.ZodObject<{
|
|
8
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const poofCheckBalance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
crypto: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { poofCheckBalance };
|
|
9
15
|
//# sourceMappingURL=check-balance.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-balance.d.cts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"check-balance.d.cts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/check-balance.d.ts
|
|
4
|
-
declare const PoofCheckBalanceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCheckBalanceInput: z.ZodObject<{
|
|
5
|
+
crypto: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PoofCheckBalanceOutput: z.ZodObject<{
|
|
8
|
+
balance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const poofCheckBalance: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
crypto: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { poofCheckBalance };
|
|
9
15
|
//# sourceMappingURL=check-balance.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-balance.d.mts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"check-balance.d.mts","names":[],"sources":["../../src/actions/check-balance.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-balance.mjs","names":[],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput
|
|
1
|
+
{"version":3,"file":"check-balance.mjs","names":[],"sources":["../../src/actions/check-balance.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCheckBalanceInput = z.object({\n crypto: z.string().describe(\"The cryptocurrency type to check balance for (e.g., 'bitcoin', 'ethereum', 'litecoin', 'dogecoin').\"),\n}).describe(\"Request model for checking cryptocurrency wallet balance.\");\nexport const PoofCheckBalanceOutput = z.object({\n balance: z.string().describe(\"The current balance of the specified cryptocurrency wallet.\").nullable().optional(),\n}).describe(\"Response model containing the cryptocurrency balance.\");\n\nexport const poofCheckBalance = action(\"POOF_CHECK_BALANCE\", {\n slug: \"poof-check-balance\",\n name: \"Check Balance\",\n description: \"Tool to check the balance of a cryptocurrency wallet. Use when you need to retrieve the current balance for a specified blockchain wallet address.\",\n input: PoofCheckBalanceInput,\n output: PoofCheckBalanceOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EACnI,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAToC,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ const PoofCreateCheckoutInput = zod.z.object({
|
|
|
17
17
|
product_quantity: zod.z.string().describe("Quantity of products").optional(),
|
|
18
18
|
instant_payment_notification: zod.z.string().describe("Webhook URL for payment notifications").optional()
|
|
19
19
|
}).describe("Request schema for creating a Poof checkout session.");
|
|
20
|
-
const PoofCreateCheckoutOutput = zod.z.object({ checkout_url: zod.z.string().describe("URL to the checkout session where customer completes payment") }).describe("Response schema returned after creating a checkout session.");
|
|
20
|
+
const PoofCreateCheckoutOutput = zod.z.object({ checkout_url: zod.z.string().describe("URL to the checkout session where customer completes payment").nullable() }).describe("Response schema returned after creating a checkout session.");
|
|
21
21
|
const poofCreateCheckout = require_action.action("POOF_CREATE_CHECKOUT", {
|
|
22
22
|
slug: "poof-create-checkout",
|
|
23
23
|
name: "Create Checkout Session",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-checkout.cjs","names":["z","action"],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput
|
|
1
|
+
{"version":3,"file":"create-checkout.cjs","names":["z","action"],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput = z.object({\n amount: z.string().describe(\"Payment amount to be charged\"),\n fields: z.array(z.string()).describe(\"Form fields to collect from customer (e.g., Email, Name)\").optional(),\n \"default\": z.object({\n name: z.string().describe(\"Pre-filled customer name\").optional(),\n email: z.string().describe(\"Pre-filled customer email address\").optional(),\n}).describe(\"Pre-filled customer data for checkout form.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata (e.g., user information)\").optional(),\n redirect: z.string().describe(\"Alternative redirect destination\").optional(),\n username: z.string().describe(\"Merchant/seller identifier for the checkout\"),\n product_id: z.string().describe(\"Associated product identifier\").optional(),\n success_url: z.string().describe(\"Redirect URL after successful payment\").optional(),\n disable_payments: z.array(z.string()).describe(\"Payment methods to disable (e.g., paypal, bitcoin)\").optional(),\n product_quantity: z.string().describe(\"Quantity of products\").optional(),\n instant_payment_notification: z.string().describe(\"Webhook URL for payment notifications\").optional(),\n}).describe(\"Request schema for creating a Poof checkout session.\");\nexport const PoofCreateCheckoutOutput = z.object({\n checkout_url: z.string().describe(\"URL to the checkout session where customer completes payment\").nullable(),\n}).describe(\"Response schema returned after creating a checkout session.\");\n\nexport const poofCreateCheckout = action(\"POOF_CREATE_CHECKOUT\", {\n slug: \"poof-create-checkout\",\n name: \"Create Checkout Session\",\n description: \"Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.\",\n input: PoofCreateCheckoutInput,\n output: PoofCreateCheckoutOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO;EACpB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACvE,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-checkout.d.ts
|
|
4
|
-
declare const PoofCreateCheckoutInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateCheckoutInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
13
|
+
username: z.ZodString;
|
|
14
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
16
|
+
disable_payments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
product_quantity: z.ZodOptional<z.ZodString>;
|
|
18
|
+
instant_payment_notification: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PoofCreateCheckoutOutput: z.ZodObject<{
|
|
21
|
+
checkout_url: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const poofCreateCheckout: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
amount: string;
|
|
25
|
+
username: string;
|
|
26
|
+
fields?: string[] | undefined;
|
|
27
|
+
default?: {
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
email?: string | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
metadata?: Record<string, unknown> | undefined;
|
|
32
|
+
redirect?: string | undefined;
|
|
33
|
+
product_id?: string | undefined;
|
|
34
|
+
success_url?: string | undefined;
|
|
35
|
+
disable_payments?: string[] | undefined;
|
|
36
|
+
product_quantity?: string | undefined;
|
|
37
|
+
instant_payment_notification?: string | undefined;
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
39
|
//#endregion
|
|
8
40
|
export { poofCreateCheckout };
|
|
9
41
|
//# sourceMappingURL=create-checkout.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-checkout.d.cts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"create-checkout.d.cts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;;;;;;;;aAM7B,MAAA"}
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-checkout.d.ts
|
|
4
|
-
declare const PoofCreateCheckoutInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateCheckoutInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
12
|
+
redirect: z.ZodOptional<z.ZodString>;
|
|
13
|
+
username: z.ZodString;
|
|
14
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
15
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
16
|
+
disable_payments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
product_quantity: z.ZodOptional<z.ZodString>;
|
|
18
|
+
instant_payment_notification: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PoofCreateCheckoutOutput: z.ZodObject<{
|
|
21
|
+
checkout_url: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const poofCreateCheckout: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
amount: string;
|
|
25
|
+
username: string;
|
|
26
|
+
fields?: string[] | undefined;
|
|
27
|
+
default?: {
|
|
28
|
+
name?: string | undefined;
|
|
29
|
+
email?: string | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
metadata?: Record<string, unknown> | undefined;
|
|
32
|
+
redirect?: string | undefined;
|
|
33
|
+
product_id?: string | undefined;
|
|
34
|
+
success_url?: string | undefined;
|
|
35
|
+
disable_payments?: string[] | undefined;
|
|
36
|
+
product_quantity?: string | undefined;
|
|
37
|
+
instant_payment_notification?: string | undefined;
|
|
38
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
39
|
//#endregion
|
|
8
40
|
export { poofCreateCheckout };
|
|
9
41
|
//# sourceMappingURL=create-checkout.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-checkout.d.mts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"create-checkout.d.mts","names":[],"sources":["../../src/actions/create-checkout.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA;;;;;;;;aAM7B,MAAA"}
|
|
@@ -20,7 +20,7 @@ const poofCreateCheckout = action("POOF_CREATE_CHECKOUT", {
|
|
|
20
20
|
product_quantity: z.string().describe("Quantity of products").optional(),
|
|
21
21
|
instant_payment_notification: z.string().describe("Webhook URL for payment notifications").optional()
|
|
22
22
|
}).describe("Request schema for creating a Poof checkout session."),
|
|
23
|
-
output: z.object({ checkout_url: z.string().describe("URL to the checkout session where customer completes payment") }).describe("Response schema returned after creating a checkout session.")
|
|
23
|
+
output: z.object({ checkout_url: z.string().describe("URL to the checkout session where customer completes payment").nullable() }).describe("Response schema returned after creating a checkout session.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { poofCreateCheckout };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-checkout.mjs","names":[],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput
|
|
1
|
+
{"version":3,"file":"create-checkout.mjs","names":[],"sources":["../../src/actions/create-checkout.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateCheckoutInput = z.object({\n amount: z.string().describe(\"Payment amount to be charged\"),\n fields: z.array(z.string()).describe(\"Form fields to collect from customer (e.g., Email, Name)\").optional(),\n \"default\": z.object({\n name: z.string().describe(\"Pre-filled customer name\").optional(),\n email: z.string().describe(\"Pre-filled customer email address\").optional(),\n}).describe(\"Pre-filled customer data for checkout form.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata (e.g., user information)\").optional(),\n redirect: z.string().describe(\"Alternative redirect destination\").optional(),\n username: z.string().describe(\"Merchant/seller identifier for the checkout\"),\n product_id: z.string().describe(\"Associated product identifier\").optional(),\n success_url: z.string().describe(\"Redirect URL after successful payment\").optional(),\n disable_payments: z.array(z.string()).describe(\"Payment methods to disable (e.g., paypal, bitcoin)\").optional(),\n product_quantity: z.string().describe(\"Quantity of products\").optional(),\n instant_payment_notification: z.string().describe(\"Webhook URL for payment notifications\").optional(),\n}).describe(\"Request schema for creating a Poof checkout session.\");\nexport const PoofCreateCheckoutOutput = z.object({\n checkout_url: z.string().describe(\"URL to the checkout session where customer completes payment\").nullable(),\n}).describe(\"Response schema returned after creating a checkout session.\");\n\nexport const poofCreateCheckout = action(\"POOF_CREATE_CHECKOUT\", {\n slug: \"poof-create-checkout\",\n name: \"Create Checkout Session\",\n description: \"Tool to create a checkout session for fiat payments. Use when you need to generate a payment link for customers to complete their purchase through the Poof payment infrastructure.\",\n input: PoofCreateCheckoutInput,\n output: PoofCreateCheckoutOutput,\n});\n"],"mappings":";;AAwBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBqC,EAAE,OAAO;EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO;GACpB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACnF,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC9G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACvE,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATsC,EAAE,OAAO,EAC/C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const PoofCreateDepositAddressOutput = zod.z.object({
|
|
|
11
11
|
amount: zod.z.string().describe("The deposit amount in the specified currency").nullable().optional(),
|
|
12
12
|
crypto: zod.z.string().describe("The cryptocurrency type for the deposit").nullable().optional(),
|
|
13
13
|
status: zod.z.string().describe("Status of the charge (e.g., 'pending', 'confirmed')").nullable().optional(),
|
|
14
|
-
address: zod.z.string().describe("The generated blockchain address for receiving cryptocurrency deposits"),
|
|
14
|
+
address: zod.z.string().describe("The generated blockchain address for receiving cryptocurrency deposits").nullable(),
|
|
15
15
|
currency: zod.z.string().describe("The base currency for the amount").nullable().optional(),
|
|
16
16
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata attached to the charge").nullable().optional(),
|
|
17
17
|
charge_id: zod.z.string().describe("Unique identifier for the created charge").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-deposit-address.cjs","names":["z","action"],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput
|
|
1
|
+
{"version":3,"file":"create-deposit-address.cjs","names":["z","action"],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency (e.g., '15', '100.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'\"),\n currency: z.string().describe(\"The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata dictionary for additional contextual data to attach to this charge\").optional(),\n}).describe(\"Request model for creating a deposit address for receiving cryptocurrency payments.\");\nexport const PoofCreateDepositAddressOutput = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency\").nullable().optional(),\n crypto: z.string().describe(\"The cryptocurrency type for the deposit\").nullable().optional(),\n status: z.string().describe(\"Status of the charge (e.g., 'pending', 'confirmed')\").nullable().optional(),\n address: z.string().describe(\"The generated blockchain address for receiving cryptocurrency deposits\").nullable(),\n currency: z.string().describe(\"The base currency for the amount\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the charge\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the charge was created\").nullable().optional(),\n}).describe(\"Response model returned after creating a deposit address.\");\n\nexport const poofCreateDepositAddress = action(\"POOF_CREATE_DEPOSIT_ADDRESS\", {\n slug: \"poof-create-deposit-address\",\n name: \"Create Deposit Address\",\n description: \"Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.\",\n input: PoofCreateDepositAddressInput,\n output: PoofCreateDepositAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-deposit-address.d.ts
|
|
4
|
-
declare const PoofCreateDepositAddressInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateDepositAddressInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PoofCreateDepositAddressOutput: z.ZodObject<{
|
|
11
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
crypto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
charge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const poofCreateDepositAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
amount: string;
|
|
22
|
+
crypto: string;
|
|
23
|
+
currency: string;
|
|
24
|
+
metadata?: Record<string, unknown> | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { poofCreateDepositAddress };
|
|
9
28
|
//# sourceMappingURL=create-deposit-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-deposit-address.d.cts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-deposit-address.d.cts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAW9B,wBAAA,gCAAwB,wBAAA;;;;aAMnC,MAAA;AAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-deposit-address.d.ts
|
|
4
|
-
declare const PoofCreateDepositAddressInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateDepositAddressInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
crypto: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PoofCreateDepositAddressOutput: z.ZodObject<{
|
|
11
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
crypto: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15
|
+
currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
|
+
charge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const poofCreateDepositAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
amount: string;
|
|
22
|
+
crypto: string;
|
|
23
|
+
currency: string;
|
|
24
|
+
metadata?: Record<string, unknown> | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { poofCreateDepositAddress };
|
|
9
28
|
//# sourceMappingURL=create-deposit-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-deposit-address.d.mts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-deposit-address.d.mts","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAW9B,wBAAA,gCAAwB,wBAAA;;;;aAMnC,MAAA;AAAA"}
|
|
@@ -14,7 +14,7 @@ const poofCreateDepositAddress = action("POOF_CREATE_DEPOSIT_ADDRESS", {
|
|
|
14
14
|
amount: z.string().describe("The deposit amount in the specified currency").nullable().optional(),
|
|
15
15
|
crypto: z.string().describe("The cryptocurrency type for the deposit").nullable().optional(),
|
|
16
16
|
status: z.string().describe("Status of the charge (e.g., 'pending', 'confirmed')").nullable().optional(),
|
|
17
|
-
address: z.string().describe("The generated blockchain address for receiving cryptocurrency deposits"),
|
|
17
|
+
address: z.string().describe("The generated blockchain address for receiving cryptocurrency deposits").nullable(),
|
|
18
18
|
currency: z.string().describe("The base currency for the amount").nullable().optional(),
|
|
19
19
|
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata attached to the charge").nullable().optional(),
|
|
20
20
|
charge_id: z.string().describe("Unique identifier for the created charge").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-deposit-address.mjs","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput
|
|
1
|
+
{"version":3,"file":"create-deposit-address.mjs","names":[],"sources":["../../src/actions/create-deposit-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateDepositAddressInput = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency (e.g., '15', '100.50')\"),\n crypto: z.string().describe(\"The cryptocurrency type to receive. Supported values include: 'ethereum', 'bitcoin', 'polygon', 'solana', 'bnb'\"),\n currency: z.string().describe(\"The base currency for the amount (e.g., 'USD', 'EUR', 'CNY')\"),\n metadata: z.record(z.string(), z.unknown()).describe(\"Optional metadata dictionary for additional contextual data to attach to this charge\").optional(),\n}).describe(\"Request model for creating a deposit address for receiving cryptocurrency payments.\");\nexport const PoofCreateDepositAddressOutput = z.object({\n amount: z.string().describe(\"The deposit amount in the specified currency\").nullable().optional(),\n crypto: z.string().describe(\"The cryptocurrency type for the deposit\").nullable().optional(),\n status: z.string().describe(\"Status of the charge (e.g., 'pending', 'confirmed')\").nullable().optional(),\n address: z.string().describe(\"The generated blockchain address for receiving cryptocurrency deposits\").nullable(),\n currency: z.string().describe(\"The base currency for the amount\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata attached to the charge\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the charge was created\").nullable().optional(),\n}).describe(\"Response model returned after creating a deposit address.\");\n\nexport const poofCreateDepositAddress = action(\"POOF_CREATE_DEPOSIT_ADDRESS\", {\n slug: \"poof-create-deposit-address\",\n name: \"Create Deposit Address\",\n description: \"Tool to create a deposit address for receiving cryptocurrency payments. Generates a unique blockchain address to accept incoming crypto deposits. Use when you need to create a payment address for a customer to send cryptocurrency to.\",\n input: PoofCreateDepositAddressInput,\n output: PoofCreateDepositAddressOutput,\n});\n"],"mappings":";;AAqBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC5F,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,qFAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-charge.cjs","names":["z","action"],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput
|
|
1
|
+
{"version":3,"file":"create-fiat-charge.cjs","names":["z","action"],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput = z.object({\n amount: z.string().describe(\"The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string.\"),\n payment: z.string().describe(\"Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square').\"),\n currency: z.string().describe(\"Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp').\"),\n success_url: z.string().describe(\"URL to redirect the user to after successful payment completion.\"),\n redirect_url: z.string().describe(\"URL to redirect the user to after canceling or closing the payment page.\"),\n}).describe(\"Request model for creating a fiat currency charge in Poof.\");\nexport const PoofCreateFiatChargeOutput = z.object({\n status: z.string().describe(\"Status of the charge creation request.\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the charge creation.\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge.\").nullable().optional(),\n payment_link: z.string().describe(\"URL for the payment page where the customer can complete the transaction.\").nullable().optional(),\n}).describe(\"Response model returned after creating a fiat charge.\");\n\nexport const poofCreateFiatCharge = action(\"POOF_CREATE_FIAT_CHARGE\", {\n slug: \"poof-create-fiat-charge\",\n name: \"Create Fiat Charge\",\n description: \"Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.\",\n input: PoofCreateFiatChargeInput,\n output: PoofCreateFiatChargeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AAC9G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-fiat-charge.d.ts
|
|
4
|
-
declare const PoofCreateFiatChargeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateFiatChargeInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
payment: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
success_url: z.ZodString;
|
|
9
|
+
redirect_url: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PoofCreateFiatChargeOutput: z.ZodObject<{
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
charge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const poofCreateFiatCharge: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
amount: string;
|
|
19
|
+
payment: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
success_url: string;
|
|
22
|
+
redirect_url: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { poofCreateFiatCharge };
|
|
9
26
|
//# sourceMappingURL=create-fiat-charge.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-charge.d.cts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-fiat-charge.d.cts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-fiat-charge.d.ts
|
|
4
|
-
declare const PoofCreateFiatChargeInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateFiatChargeInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
payment: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
success_url: z.ZodString;
|
|
9
|
+
redirect_url: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PoofCreateFiatChargeOutput: z.ZodObject<{
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
charge_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const poofCreateFiatCharge: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
amount: string;
|
|
19
|
+
payment: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
success_url: string;
|
|
22
|
+
redirect_url: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { poofCreateFiatCharge };
|
|
9
26
|
//# sourceMappingURL=create-fiat-charge.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-charge.d.mts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"create-fiat-charge.d.mts","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAOzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-charge.mjs","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput
|
|
1
|
+
{"version":3,"file":"create-fiat-charge.mjs","names":[],"sources":["../../src/actions/create-fiat-charge.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatChargeInput = z.object({\n amount: z.string().describe(\"The charge amount as a string (e.g., '15' for $15.00). Must be a valid numeric string.\"),\n payment: z.string().describe(\"Payment gateway to use. Must be lowercase (e.g., 'paypal', 'stripe', 'square').\"),\n currency: z.string().describe(\"Currency code for the charge. Must be lowercase (e.g., 'usd', 'eur', 'gbp').\"),\n success_url: z.string().describe(\"URL to redirect the user to after successful payment completion.\"),\n redirect_url: z.string().describe(\"URL to redirect the user to after canceling or closing the payment page.\"),\n}).describe(\"Request model for creating a fiat currency charge in Poof.\");\nexport const PoofCreateFiatChargeOutput = z.object({\n status: z.string().describe(\"Status of the charge creation request.\").nullable().optional(),\n message: z.string().describe(\"Additional message or information about the charge creation.\").nullable().optional(),\n charge_id: z.string().describe(\"Unique identifier for the created charge.\").nullable().optional(),\n payment_link: z.string().describe(\"URL for the payment page where the customer can complete the transaction.\").nullable().optional(),\n}).describe(\"Response model returned after creating a fiat charge.\");\n\nexport const poofCreateFiatCharge = action(\"POOF_CREATE_FIAT_CHARGE\", {\n slug: \"poof-create-fiat-charge\",\n name: \"Create Fiat Charge\",\n description: \"Tool to create a fiat currency charge through Poof's payment gateway integration. Use when initiating a one-time fiat payment collection via PayPal, Stripe, Square, or other supported gateways.\",\n input: PoofCreateFiatChargeInput,\n output: PoofCreateFiatChargeOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;EACpH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAC9G,CAAC,CAAC,CAAC,SAAS,4DAYH;CACP,QAZwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-fiat-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatInvoiceInput
|
|
1
|
+
{"version":3,"file":"create-fiat-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-fiat-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PoofCreateFiatInvoiceInput = z.object({\n amount: z.string().describe(\"Payment amount as a string (e.g., '15.00', '100'). Specify the amount in the currency specified in the currency field.\"),\n payment: z.string().describe(\"Payment processor to use for collecting payment. Documented options: 'paypal', 'cashapp', 'skrill', 'coinbase'. Additional payment methods available at checkout include credit cards, Apple Pay, Google Pay, Venmo, Alipay, WeChat Pay, and Klarna. Note: Some payment methods like Venmo, Cash App, and Coinbase require additional setup in the Poof dashboard.\"),\n currency: z.string().describe(\"Three-letter ISO currency code for the invoice (e.g., 'usd', 'eur', 'cny'). Specify the currency in which the payment will be collected.\"),\n success_url: z.string().describe(\"URL to redirect the customer to after successful payment completion. This is typically your application's success/confirmation page.\"),\n redirect_url: z.string().describe(\"URL to redirect the customer to after they complete or cancel the payment. This is typically your application's return URL.\"),\n}).describe(\"Request parameters for creating a fiat currency invoice.\");\nexport const PoofCreateFiatInvoiceOutput = z.object({\n status: z.string().describe(\"Status of the invoice (e.g., 'pending', 'created').\").nullable().optional(),\n invoice_id: z.string().describe(\"Unique identifier for the created invoice.\").nullable().optional(),\n checkout_url: z.string().describe(\"Alternative field name for the payment checkout URL. Contains the same checkout session link.\").nullable().optional(),\n payment_link: z.string().describe(\"URL to the payment checkout page where the customer can complete payment. Redirect the customer to this URL or embed it in an iframe on your website.\").nullable().optional(),\n}).describe(\"Response from creating a fiat currency invoice.\");\n\nexport const poofCreateFiatInvoice = action(\"POOF_CREATE_FIAT_INVOICE\", {\n slug: \"poof-create-fiat-invoice\",\n name: \"Create Fiat Invoice\",\n description: \"Create a fiat currency invoice for payment collection. Generates an invoice for collecting payments in traditional currencies via payment processors like PayPal, Stripe, Square, Cash App, etc. Returns a checkout URL for customer payment.\",\n input: PoofCreateFiatInvoiceInput,\n output: PoofCreateFiatInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH;CACpJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oWAAoW;CACjY,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACxK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI;CACvK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AACjK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-fiat-invoice.d.ts
|
|
4
|
-
declare const PoofCreateFiatInvoiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateFiatInvoiceInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
payment: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
success_url: z.ZodString;
|
|
9
|
+
redirect_url: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PoofCreateFiatInvoiceOutput: z.ZodObject<{
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
checkout_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
amount: string;
|
|
19
|
+
payment: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
success_url: string;
|
|
22
|
+
redirect_url: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { poofCreateFiatInvoice };
|
|
9
26
|
//# sourceMappingURL=create-fiat-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-fiat-invoice.d.cts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"create-fiat-invoice.d.cts","names":[],"sources":["../../src/actions/create-fiat-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-fiat-invoice.d.ts
|
|
4
|
-
declare const PoofCreateFiatInvoiceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PoofCreateFiatInvoiceInput: z.ZodObject<{
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
payment: z.ZodString;
|
|
7
|
+
currency: z.ZodString;
|
|
8
|
+
success_url: z.ZodString;
|
|
9
|
+
redirect_url: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const PoofCreateFiatInvoiceOutput: z.ZodObject<{
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
checkout_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
payment_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const poofCreateFiatInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
amount: string;
|
|
19
|
+
payment: string;
|
|
20
|
+
currency: string;
|
|
21
|
+
success_url: string;
|
|
22
|
+
redirect_url: string;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { poofCreateFiatInvoice };
|
|
9
26
|
//# sourceMappingURL=create-fiat-invoice.d.mts.map
|