@keystrokehq/taxjar 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/calculate-sales-tax-for-an-order.cjs +119 -0
- package/dist/actions/calculate-sales-tax-for-an-order.cjs.map +1 -0
- package/dist/actions/calculate-sales-tax-for-an-order.d.cts +9 -0
- package/dist/actions/calculate-sales-tax-for-an-order.d.cts.map +1 -0
- package/dist/actions/calculate-sales-tax-for-an-order.d.mts +9 -0
- package/dist/actions/calculate-sales-tax-for-an-order.d.mts.map +1 -0
- package/dist/actions/calculate-sales-tax-for-an-order.mjs +118 -0
- package/dist/actions/calculate-sales-tax-for-an-order.mjs.map +1 -0
- package/dist/actions/create-customer.cjs +45 -0
- package/dist/actions/create-customer.cjs.map +1 -0
- package/dist/actions/create-customer.d.cts +9 -0
- package/dist/actions/create-customer.d.cts.map +1 -0
- package/dist/actions/create-customer.d.mts +9 -0
- package/dist/actions/create-customer.d.mts.map +1 -0
- package/dist/actions/create-customer.mjs +44 -0
- package/dist/actions/create-customer.mjs.map +1 -0
- package/dist/actions/create-order-transaction.cjs +104 -0
- package/dist/actions/create-order-transaction.cjs.map +1 -0
- package/dist/actions/create-order-transaction.d.cts +9 -0
- package/dist/actions/create-order-transaction.d.cts.map +1 -0
- package/dist/actions/create-order-transaction.d.mts +9 -0
- package/dist/actions/create-order-transaction.d.mts.map +1 -0
- package/dist/actions/create-order-transaction.mjs +103 -0
- package/dist/actions/create-order-transaction.mjs.map +1 -0
- package/dist/actions/create-refund-transaction.cjs +70 -0
- package/dist/actions/create-refund-transaction.cjs.map +1 -0
- package/dist/actions/create-refund-transaction.d.cts +9 -0
- package/dist/actions/create-refund-transaction.d.cts.map +1 -0
- package/dist/actions/create-refund-transaction.d.mts +9 -0
- package/dist/actions/create-refund-transaction.d.mts.map +1 -0
- package/dist/actions/create-refund-transaction.mjs +69 -0
- package/dist/actions/create-refund-transaction.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +16 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +13 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-order-transaction.cjs +16 -0
- package/dist/actions/delete-order-transaction.cjs.map +1 -0
- package/dist/actions/delete-order-transaction.d.cts +9 -0
- package/dist/actions/delete-order-transaction.d.cts.map +1 -0
- package/dist/actions/delete-order-transaction.d.mts +9 -0
- package/dist/actions/delete-order-transaction.d.mts.map +1 -0
- package/dist/actions/delete-order-transaction.mjs +13 -0
- package/dist/actions/delete-order-transaction.mjs.map +1 -0
- package/dist/actions/delete-refund-transaction.cjs +16 -0
- package/dist/actions/delete-refund-transaction.cjs.map +1 -0
- package/dist/actions/delete-refund-transaction.d.cts +9 -0
- package/dist/actions/delete-refund-transaction.d.cts.map +1 -0
- package/dist/actions/delete-refund-transaction.d.mts +9 -0
- package/dist/actions/delete-refund-transaction.d.mts.map +1 -0
- package/dist/actions/delete-refund-transaction.mjs +13 -0
- package/dist/actions/delete-refund-transaction.mjs.map +1 -0
- package/dist/actions/index.cjs +43 -0
- package/dist/actions/index.d.cts +22 -0
- package/dist/actions/index.d.mts +22 -0
- package/dist/actions/index.mjs +22 -0
- package/dist/actions/list-customers.cjs +19 -0
- package/dist/actions/list-customers.cjs.map +1 -0
- package/dist/actions/list-customers.d.cts +9 -0
- package/dist/actions/list-customers.d.cts.map +1 -0
- package/dist/actions/list-customers.d.mts +9 -0
- package/dist/actions/list-customers.d.mts.map +1 -0
- package/dist/actions/list-customers.mjs +16 -0
- package/dist/actions/list-customers.mjs.map +1 -0
- package/dist/actions/list-nexus-regions.cjs +23 -0
- package/dist/actions/list-nexus-regions.cjs.map +1 -0
- package/dist/actions/list-nexus-regions.d.cts +9 -0
- package/dist/actions/list-nexus-regions.d.cts.map +1 -0
- package/dist/actions/list-nexus-regions.d.mts +9 -0
- package/dist/actions/list-nexus-regions.d.mts.map +1 -0
- package/dist/actions/list-nexus-regions.mjs +22 -0
- package/dist/actions/list-nexus-regions.mjs.map +1 -0
- package/dist/actions/list-order-transactions.cjs +20 -0
- package/dist/actions/list-order-transactions.cjs.map +1 -0
- package/dist/actions/list-order-transactions.d.cts +9 -0
- package/dist/actions/list-order-transactions.d.cts.map +1 -0
- package/dist/actions/list-order-transactions.d.mts +9 -0
- package/dist/actions/list-order-transactions.d.mts.map +1 -0
- package/dist/actions/list-order-transactions.mjs +17 -0
- package/dist/actions/list-order-transactions.mjs.map +1 -0
- package/dist/actions/list-refund-transactions.cjs +20 -0
- package/dist/actions/list-refund-transactions.cjs.map +1 -0
- package/dist/actions/list-refund-transactions.d.cts +9 -0
- package/dist/actions/list-refund-transactions.d.cts.map +1 -0
- package/dist/actions/list-refund-transactions.d.mts +9 -0
- package/dist/actions/list-refund-transactions.d.mts.map +1 -0
- package/dist/actions/list-refund-transactions.mjs +17 -0
- package/dist/actions/list-refund-transactions.mjs.map +1 -0
- package/dist/actions/list-tax-categories.cjs +21 -0
- package/dist/actions/list-tax-categories.cjs.map +1 -0
- package/dist/actions/list-tax-categories.d.cts +9 -0
- package/dist/actions/list-tax-categories.d.cts.map +1 -0
- package/dist/actions/list-tax-categories.d.mts +9 -0
- package/dist/actions/list-tax-categories.d.mts.map +1 -0
- package/dist/actions/list-tax-categories.mjs +20 -0
- package/dist/actions/list-tax-categories.mjs.map +1 -0
- package/dist/actions/show-customer.cjs +27 -0
- package/dist/actions/show-customer.cjs.map +1 -0
- package/dist/actions/show-customer.d.cts +9 -0
- package/dist/actions/show-customer.d.cts.map +1 -0
- package/dist/actions/show-customer.d.mts +9 -0
- package/dist/actions/show-customer.d.mts.map +1 -0
- package/dist/actions/show-customer.mjs +26 -0
- package/dist/actions/show-customer.mjs.map +1 -0
- package/dist/actions/show-order-transaction.cjs +49 -0
- package/dist/actions/show-order-transaction.cjs.map +1 -0
- package/dist/actions/show-order-transaction.d.cts +9 -0
- package/dist/actions/show-order-transaction.d.cts.map +1 -0
- package/dist/actions/show-order-transaction.d.mts +9 -0
- package/dist/actions/show-order-transaction.d.mts.map +1 -0
- package/dist/actions/show-order-transaction.mjs +48 -0
- package/dist/actions/show-order-transaction.mjs.map +1 -0
- package/dist/actions/show-refund-transaction.cjs +49 -0
- package/dist/actions/show-refund-transaction.cjs.map +1 -0
- package/dist/actions/show-refund-transaction.d.cts +9 -0
- package/dist/actions/show-refund-transaction.d.cts.map +1 -0
- package/dist/actions/show-refund-transaction.d.mts +9 -0
- package/dist/actions/show-refund-transaction.d.mts.map +1 -0
- package/dist/actions/show-refund-transaction.mjs +48 -0
- package/dist/actions/show-refund-transaction.mjs.map +1 -0
- package/dist/actions/show-tax-rates-for-a-location.cjs +41 -0
- package/dist/actions/show-tax-rates-for-a-location.cjs.map +1 -0
- package/dist/actions/show-tax-rates-for-a-location.d.cts +9 -0
- package/dist/actions/show-tax-rates-for-a-location.d.cts.map +1 -0
- package/dist/actions/show-tax-rates-for-a-location.d.mts +9 -0
- package/dist/actions/show-tax-rates-for-a-location.d.mts.map +1 -0
- package/dist/actions/show-tax-rates-for-a-location.mjs +40 -0
- package/dist/actions/show-tax-rates-for-a-location.mjs.map +1 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.cjs +28 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.cjs.map +1 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.d.cts +9 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.d.cts.map +1 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.d.mts +9 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.d.mts.map +1 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.mjs +27 -0
- package/dist/actions/summarize-tax-rates-for-all-regions.mjs.map +1 -0
- package/dist/actions/update-customer.cjs +46 -0
- package/dist/actions/update-customer.cjs.map +1 -0
- package/dist/actions/update-customer.d.cts +9 -0
- package/dist/actions/update-customer.d.cts.map +1 -0
- package/dist/actions/update-customer.d.mts +9 -0
- package/dist/actions/update-customer.d.mts.map +1 -0
- package/dist/actions/update-customer.mjs +45 -0
- package/dist/actions/update-customer.mjs.map +1 -0
- package/dist/actions/update-order-transaction.cjs +61 -0
- package/dist/actions/update-order-transaction.cjs.map +1 -0
- package/dist/actions/update-order-transaction.d.cts +9 -0
- package/dist/actions/update-order-transaction.d.cts.map +1 -0
- package/dist/actions/update-order-transaction.d.mts +9 -0
- package/dist/actions/update-order-transaction.d.mts.map +1 -0
- package/dist/actions/update-order-transaction.mjs +60 -0
- package/dist/actions/update-order-transaction.mjs.map +1 -0
- package/dist/actions/update-refund-transaction.cjs +83 -0
- package/dist/actions/update-refund-transaction.cjs.map +1 -0
- package/dist/actions/update-refund-transaction.d.cts +9 -0
- package/dist/actions/update-refund-transaction.d.cts.map +1 -0
- package/dist/actions/update-refund-transaction.d.mts +9 -0
- package/dist/actions/update-refund-transaction.d.mts.map +1 -0
- package/dist/actions/update-refund-transaction.mjs +82 -0
- package/dist/actions/update-refund-transaction.mjs.map +1 -0
- package/dist/actions/validate-vat-number.cjs +36 -0
- package/dist/actions/validate-vat-number.cjs.map +1 -0
- package/dist/actions/validate-vat-number.d.cts +9 -0
- package/dist/actions/validate-vat-number.d.cts.map +1 -0
- package/dist/actions/validate-vat-number.d.mts +9 -0
- package/dist/actions/validate-vat-number.d.mts.map +1 -0
- package/dist/actions/validate-vat-number.mjs +35 -0
- package/dist/actions/validate-vat-number.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +48 -0
- package/dist/index.d.cts +24 -0
- package/dist/index.d.mts +24 -0
- package/dist/index.mjs +25 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-order-transaction.d.ts
|
|
4
|
+
declare const TaxjarDeleteOrderTransactionInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarDeleteOrderTransactionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarDeleteOrderTransaction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarDeleteOrderTransaction };
|
|
9
|
+
//# sourceMappingURL=delete-order-transaction.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order-transaction.d.cts","names":[],"sources":["../../src/actions/delete-order-transaction.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAEe;AAAA,cAErD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-order-transaction.d.ts
|
|
4
|
+
declare const TaxjarDeleteOrderTransactionInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarDeleteOrderTransactionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarDeleteOrderTransaction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarDeleteOrderTransaction };
|
|
9
|
+
//# sourceMappingURL=delete-order-transaction.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order-transaction.d.mts","names":[],"sources":["../../src/actions/delete-order-transaction.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAEe;AAAA,cAErD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taxjarDeleteOrderTransaction = action("TAXJAR_DELETE_ORDER_TRANSACTION", {
|
|
4
|
+
slug: "taxjar-delete-order-transaction",
|
|
5
|
+
name: "Delete Order Transaction",
|
|
6
|
+
description: "Tool to delete an existing order transaction. Use when you need to remove a previously created order transaction by its ID. Example: \"Delete transaction abc123\".",
|
|
7
|
+
input: z.object({ transaction_id: z.string().describe("Unique identifier of the order transaction to delete.") }).describe("Request model for deleting an order transaction."),
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message for successful deletion.") }).describe("Response model after deleting an order transaction.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taxjarDeleteOrderTransaction };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-order-transaction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-order-transaction.mjs","names":[],"sources":["../../src/actions/delete-order-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarDeleteOrderTransactionInput: z.ZodTypeAny = z.object({\n transaction_id: z.string().describe(\"Unique identifier of the order transaction to delete.\"),\n}).describe(\"Request model for deleting an order transaction.\");\nexport const TaxjarDeleteOrderTransactionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for successful deletion.\"),\n}).describe(\"Response model after deleting an order transaction.\");\n\nexport const taxjarDeleteOrderTransaction = action(\"TAXJAR_DELETE_ORDER_TRANSACTION\", {\n slug: \"taxjar-delete-order-transaction\",\n name: \"Delete Order Transaction\",\n description: \"Tool to delete an existing order transaction. Use when you need to remove a previously created order transaction by its ID. Example: \\\"Delete transaction abc123\\\".\",\n input: TaxjarDeleteOrderTransactionInput,\n output: TaxjarDeleteOrderTransactionOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6D,EAAE,OAAO,EACtE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EAC7F,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-refund-transaction.ts
|
|
4
|
+
const TaxjarDeleteRefundTransactionInput = zod.z.object({ transaction_id: zod.z.string().describe("Unique identifier of the refund transaction to delete.") }).describe("Request model for deleting a refund transaction.");
|
|
5
|
+
const TaxjarDeleteRefundTransactionOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message for successful deletion.") }).describe("Response model after deleting a refund transaction.");
|
|
6
|
+
const taxjarDeleteRefundTransaction = require_action.action("TAXJAR_DELETE_REFUND_TRANSACTION", {
|
|
7
|
+
slug: "taxjar-delete-refund-transaction",
|
|
8
|
+
name: "Delete Refund Transaction",
|
|
9
|
+
description: "Tool to delete an existing refund transaction. Use when you need to remove a previously created refund transaction by its ID. Example: \"Delete refund 243345\".",
|
|
10
|
+
input: TaxjarDeleteRefundTransactionInput,
|
|
11
|
+
output: TaxjarDeleteRefundTransactionOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.taxjarDeleteRefundTransaction = taxjarDeleteRefundTransaction;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=delete-refund-transaction.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-refund-transaction.cjs","names":["z","action"],"sources":["../../src/actions/delete-refund-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarDeleteRefundTransactionInput: z.ZodTypeAny = z.object({\n transaction_id: z.string().describe(\"Unique identifier of the refund transaction to delete.\"),\n}).describe(\"Request model for deleting a refund transaction.\");\nexport const TaxjarDeleteRefundTransactionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for successful deletion.\"),\n}).describe(\"Response model after deleting a refund transaction.\");\n\nexport const taxjarDeleteRefundTransaction = action(\"TAXJAR_DELETE_REFUND_TRANSACTION\", {\n slug: \"taxjar-delete-refund-transaction\",\n name: \"Delete Refund Transaction\",\n description: \"Tool to delete an existing refund transaction. Use when you need to remove a previously created refund transaction by its ID. Example: \\\"Delete refund 243345\\\".\",\n input: TaxjarDeleteRefundTransactionInput,\n output: TaxjarDeleteRefundTransactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-refund-transaction.d.ts
|
|
4
|
+
declare const TaxjarDeleteRefundTransactionInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarDeleteRefundTransactionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarDeleteRefundTransaction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarDeleteRefundTransaction };
|
|
9
|
+
//# sourceMappingURL=delete-refund-transaction.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-refund-transaction.d.cts","names":[],"sources":["../../src/actions/delete-refund-transaction.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEY;AAAA,cAClD,mCAAA,EAAqC,CAAA,CAAE,UAEc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-refund-transaction.d.ts
|
|
4
|
+
declare const TaxjarDeleteRefundTransactionInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarDeleteRefundTransactionOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarDeleteRefundTransaction: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarDeleteRefundTransaction };
|
|
9
|
+
//# sourceMappingURL=delete-refund-transaction.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-refund-transaction.d.mts","names":[],"sources":["../../src/actions/delete-refund-transaction.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAEY;AAAA,cAClD,mCAAA,EAAqC,CAAA,CAAE,UAEc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taxjarDeleteRefundTransaction = action("TAXJAR_DELETE_REFUND_TRANSACTION", {
|
|
4
|
+
slug: "taxjar-delete-refund-transaction",
|
|
5
|
+
name: "Delete Refund Transaction",
|
|
6
|
+
description: "Tool to delete an existing refund transaction. Use when you need to remove a previously created refund transaction by its ID. Example: \"Delete refund 243345\".",
|
|
7
|
+
input: z.object({ transaction_id: z.string().describe("Unique identifier of the refund transaction to delete.") }).describe("Request model for deleting a refund transaction."),
|
|
8
|
+
output: z.object({ message: z.string().describe("Confirmation message for successful deletion.") }).describe("Response model after deleting a refund transaction.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taxjarDeleteRefundTransaction };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-refund-transaction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-refund-transaction.mjs","names":[],"sources":["../../src/actions/delete-refund-transaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarDeleteRefundTransactionInput: z.ZodTypeAny = z.object({\n transaction_id: z.string().describe(\"Unique identifier of the refund transaction to delete.\"),\n}).describe(\"Request model for deleting a refund transaction.\");\nexport const TaxjarDeleteRefundTransactionOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for successful deletion.\"),\n}).describe(\"Response model after deleting a refund transaction.\");\n\nexport const taxjarDeleteRefundTransaction = action(\"TAXJAR_DELETE_REFUND_TRANSACTION\", {\n slug: \"taxjar-delete-refund-transaction\",\n name: \"Delete Refund Transaction\",\n description: \"Tool to delete an existing refund transaction. Use when you need to remove a previously created refund transaction by its ID. Example: \\\"Delete refund 243345\\\".\",\n input: TaxjarDeleteRefundTransactionInput,\n output: TaxjarDeleteRefundTransactionOutput,\n});\n"],"mappings":";;AAWA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8D,EAAE,OAAO,EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EAC9F,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_calculate_sales_tax_for_an_order = require("./calculate-sales-tax-for-an-order.cjs");
|
|
3
|
+
const require_create_customer = require("./create-customer.cjs");
|
|
4
|
+
const require_create_order_transaction = require("./create-order-transaction.cjs");
|
|
5
|
+
const require_create_refund_transaction = require("./create-refund-transaction.cjs");
|
|
6
|
+
const require_delete_customer = require("./delete-customer.cjs");
|
|
7
|
+
const require_delete_order_transaction = require("./delete-order-transaction.cjs");
|
|
8
|
+
const require_delete_refund_transaction = require("./delete-refund-transaction.cjs");
|
|
9
|
+
const require_list_customers = require("./list-customers.cjs");
|
|
10
|
+
const require_list_nexus_regions = require("./list-nexus-regions.cjs");
|
|
11
|
+
const require_list_order_transactions = require("./list-order-transactions.cjs");
|
|
12
|
+
const require_list_refund_transactions = require("./list-refund-transactions.cjs");
|
|
13
|
+
const require_list_tax_categories = require("./list-tax-categories.cjs");
|
|
14
|
+
const require_show_customer = require("./show-customer.cjs");
|
|
15
|
+
const require_show_order_transaction = require("./show-order-transaction.cjs");
|
|
16
|
+
const require_show_refund_transaction = require("./show-refund-transaction.cjs");
|
|
17
|
+
const require_show_tax_rates_for_a_location = require("./show-tax-rates-for-a-location.cjs");
|
|
18
|
+
const require_summarize_tax_rates_for_all_regions = require("./summarize-tax-rates-for-all-regions.cjs");
|
|
19
|
+
const require_update_customer = require("./update-customer.cjs");
|
|
20
|
+
const require_update_order_transaction = require("./update-order-transaction.cjs");
|
|
21
|
+
const require_update_refund_transaction = require("./update-refund-transaction.cjs");
|
|
22
|
+
const require_validate_vat_number = require("./validate-vat-number.cjs");
|
|
23
|
+
exports.taxjarCalculateSalesTaxForAnOrder = require_calculate_sales_tax_for_an_order.taxjarCalculateSalesTaxForAnOrder;
|
|
24
|
+
exports.taxjarCreateCustomer = require_create_customer.taxjarCreateCustomer;
|
|
25
|
+
exports.taxjarCreateOrderTransaction = require_create_order_transaction.taxjarCreateOrderTransaction;
|
|
26
|
+
exports.taxjarCreateRefundTransaction = require_create_refund_transaction.taxjarCreateRefundTransaction;
|
|
27
|
+
exports.taxjarDeleteCustomer = require_delete_customer.taxjarDeleteCustomer;
|
|
28
|
+
exports.taxjarDeleteOrderTransaction = require_delete_order_transaction.taxjarDeleteOrderTransaction;
|
|
29
|
+
exports.taxjarDeleteRefundTransaction = require_delete_refund_transaction.taxjarDeleteRefundTransaction;
|
|
30
|
+
exports.taxjarListCustomers = require_list_customers.taxjarListCustomers;
|
|
31
|
+
exports.taxjarListNexusRegions = require_list_nexus_regions.taxjarListNexusRegions;
|
|
32
|
+
exports.taxjarListOrderTransactions = require_list_order_transactions.taxjarListOrderTransactions;
|
|
33
|
+
exports.taxjarListRefundTransactions = require_list_refund_transactions.taxjarListRefundTransactions;
|
|
34
|
+
exports.taxjarListTaxCategories = require_list_tax_categories.taxjarListTaxCategories;
|
|
35
|
+
exports.taxjarShowCustomer = require_show_customer.taxjarShowCustomer;
|
|
36
|
+
exports.taxjarShowOrderTransaction = require_show_order_transaction.taxjarShowOrderTransaction;
|
|
37
|
+
exports.taxjarShowRefundTransaction = require_show_refund_transaction.taxjarShowRefundTransaction;
|
|
38
|
+
exports.taxjarShowTaxRatesForALocation = require_show_tax_rates_for_a_location.taxjarShowTaxRatesForALocation;
|
|
39
|
+
exports.taxjarSummarizeTaxRatesForAllRegions = require_summarize_tax_rates_for_all_regions.taxjarSummarizeTaxRatesForAllRegions;
|
|
40
|
+
exports.taxjarUpdateCustomer = require_update_customer.taxjarUpdateCustomer;
|
|
41
|
+
exports.taxjarUpdateOrderTransaction = require_update_order_transaction.taxjarUpdateOrderTransaction;
|
|
42
|
+
exports.taxjarUpdateRefundTransaction = require_update_refund_transaction.taxjarUpdateRefundTransaction;
|
|
43
|
+
exports.taxjarValidateVatNumber = require_validate_vat_number.taxjarValidateVatNumber;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { taxjarCalculateSalesTaxForAnOrder } from "./calculate-sales-tax-for-an-order.cjs";
|
|
2
|
+
import { taxjarCreateCustomer } from "./create-customer.cjs";
|
|
3
|
+
import { taxjarCreateOrderTransaction } from "./create-order-transaction.cjs";
|
|
4
|
+
import { taxjarCreateRefundTransaction } from "./create-refund-transaction.cjs";
|
|
5
|
+
import { taxjarDeleteCustomer } from "./delete-customer.cjs";
|
|
6
|
+
import { taxjarDeleteOrderTransaction } from "./delete-order-transaction.cjs";
|
|
7
|
+
import { taxjarDeleteRefundTransaction } from "./delete-refund-transaction.cjs";
|
|
8
|
+
import { taxjarListCustomers } from "./list-customers.cjs";
|
|
9
|
+
import { taxjarListNexusRegions } from "./list-nexus-regions.cjs";
|
|
10
|
+
import { taxjarListOrderTransactions } from "./list-order-transactions.cjs";
|
|
11
|
+
import { taxjarListRefundTransactions } from "./list-refund-transactions.cjs";
|
|
12
|
+
import { taxjarListTaxCategories } from "./list-tax-categories.cjs";
|
|
13
|
+
import { taxjarShowCustomer } from "./show-customer.cjs";
|
|
14
|
+
import { taxjarShowOrderTransaction } from "./show-order-transaction.cjs";
|
|
15
|
+
import { taxjarShowRefundTransaction } from "./show-refund-transaction.cjs";
|
|
16
|
+
import { taxjarShowTaxRatesForALocation } from "./show-tax-rates-for-a-location.cjs";
|
|
17
|
+
import { taxjarSummarizeTaxRatesForAllRegions } from "./summarize-tax-rates-for-all-regions.cjs";
|
|
18
|
+
import { taxjarUpdateCustomer } from "./update-customer.cjs";
|
|
19
|
+
import { taxjarUpdateOrderTransaction } from "./update-order-transaction.cjs";
|
|
20
|
+
import { taxjarUpdateRefundTransaction } from "./update-refund-transaction.cjs";
|
|
21
|
+
import { taxjarValidateVatNumber } from "./validate-vat-number.cjs";
|
|
22
|
+
export { taxjarCalculateSalesTaxForAnOrder, taxjarCreateCustomer, taxjarCreateOrderTransaction, taxjarCreateRefundTransaction, taxjarDeleteCustomer, taxjarDeleteOrderTransaction, taxjarDeleteRefundTransaction, taxjarListCustomers, taxjarListNexusRegions, taxjarListOrderTransactions, taxjarListRefundTransactions, taxjarListTaxCategories, taxjarShowCustomer, taxjarShowOrderTransaction, taxjarShowRefundTransaction, taxjarShowTaxRatesForALocation, taxjarSummarizeTaxRatesForAllRegions, taxjarUpdateCustomer, taxjarUpdateOrderTransaction, taxjarUpdateRefundTransaction, taxjarValidateVatNumber };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { taxjarCalculateSalesTaxForAnOrder } from "./calculate-sales-tax-for-an-order.mjs";
|
|
2
|
+
import { taxjarCreateCustomer } from "./create-customer.mjs";
|
|
3
|
+
import { taxjarCreateOrderTransaction } from "./create-order-transaction.mjs";
|
|
4
|
+
import { taxjarCreateRefundTransaction } from "./create-refund-transaction.mjs";
|
|
5
|
+
import { taxjarDeleteCustomer } from "./delete-customer.mjs";
|
|
6
|
+
import { taxjarDeleteOrderTransaction } from "./delete-order-transaction.mjs";
|
|
7
|
+
import { taxjarDeleteRefundTransaction } from "./delete-refund-transaction.mjs";
|
|
8
|
+
import { taxjarListCustomers } from "./list-customers.mjs";
|
|
9
|
+
import { taxjarListNexusRegions } from "./list-nexus-regions.mjs";
|
|
10
|
+
import { taxjarListOrderTransactions } from "./list-order-transactions.mjs";
|
|
11
|
+
import { taxjarListRefundTransactions } from "./list-refund-transactions.mjs";
|
|
12
|
+
import { taxjarListTaxCategories } from "./list-tax-categories.mjs";
|
|
13
|
+
import { taxjarShowCustomer } from "./show-customer.mjs";
|
|
14
|
+
import { taxjarShowOrderTransaction } from "./show-order-transaction.mjs";
|
|
15
|
+
import { taxjarShowRefundTransaction } from "./show-refund-transaction.mjs";
|
|
16
|
+
import { taxjarShowTaxRatesForALocation } from "./show-tax-rates-for-a-location.mjs";
|
|
17
|
+
import { taxjarSummarizeTaxRatesForAllRegions } from "./summarize-tax-rates-for-all-regions.mjs";
|
|
18
|
+
import { taxjarUpdateCustomer } from "./update-customer.mjs";
|
|
19
|
+
import { taxjarUpdateOrderTransaction } from "./update-order-transaction.mjs";
|
|
20
|
+
import { taxjarUpdateRefundTransaction } from "./update-refund-transaction.mjs";
|
|
21
|
+
import { taxjarValidateVatNumber } from "./validate-vat-number.mjs";
|
|
22
|
+
export { taxjarCalculateSalesTaxForAnOrder, taxjarCreateCustomer, taxjarCreateOrderTransaction, taxjarCreateRefundTransaction, taxjarDeleteCustomer, taxjarDeleteOrderTransaction, taxjarDeleteRefundTransaction, taxjarListCustomers, taxjarListNexusRegions, taxjarListOrderTransactions, taxjarListRefundTransactions, taxjarListTaxCategories, taxjarShowCustomer, taxjarShowOrderTransaction, taxjarShowRefundTransaction, taxjarShowTaxRatesForALocation, taxjarSummarizeTaxRatesForAllRegions, taxjarUpdateCustomer, taxjarUpdateOrderTransaction, taxjarUpdateRefundTransaction, taxjarValidateVatNumber };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { taxjarCalculateSalesTaxForAnOrder } from "./calculate-sales-tax-for-an-order.mjs";
|
|
2
|
+
import { taxjarCreateCustomer } from "./create-customer.mjs";
|
|
3
|
+
import { taxjarCreateOrderTransaction } from "./create-order-transaction.mjs";
|
|
4
|
+
import { taxjarCreateRefundTransaction } from "./create-refund-transaction.mjs";
|
|
5
|
+
import { taxjarDeleteCustomer } from "./delete-customer.mjs";
|
|
6
|
+
import { taxjarDeleteOrderTransaction } from "./delete-order-transaction.mjs";
|
|
7
|
+
import { taxjarDeleteRefundTransaction } from "./delete-refund-transaction.mjs";
|
|
8
|
+
import { taxjarListCustomers } from "./list-customers.mjs";
|
|
9
|
+
import { taxjarListNexusRegions } from "./list-nexus-regions.mjs";
|
|
10
|
+
import { taxjarListOrderTransactions } from "./list-order-transactions.mjs";
|
|
11
|
+
import { taxjarListRefundTransactions } from "./list-refund-transactions.mjs";
|
|
12
|
+
import { taxjarListTaxCategories } from "./list-tax-categories.mjs";
|
|
13
|
+
import { taxjarShowCustomer } from "./show-customer.mjs";
|
|
14
|
+
import { taxjarShowOrderTransaction } from "./show-order-transaction.mjs";
|
|
15
|
+
import { taxjarShowRefundTransaction } from "./show-refund-transaction.mjs";
|
|
16
|
+
import { taxjarShowTaxRatesForALocation } from "./show-tax-rates-for-a-location.mjs";
|
|
17
|
+
import { taxjarSummarizeTaxRatesForAllRegions } from "./summarize-tax-rates-for-all-regions.mjs";
|
|
18
|
+
import { taxjarUpdateCustomer } from "./update-customer.mjs";
|
|
19
|
+
import { taxjarUpdateOrderTransaction } from "./update-order-transaction.mjs";
|
|
20
|
+
import { taxjarUpdateRefundTransaction } from "./update-refund-transaction.mjs";
|
|
21
|
+
import { taxjarValidateVatNumber } from "./validate-vat-number.mjs";
|
|
22
|
+
export { taxjarCalculateSalesTaxForAnOrder, taxjarCreateCustomer, taxjarCreateOrderTransaction, taxjarCreateRefundTransaction, taxjarDeleteCustomer, taxjarDeleteOrderTransaction, taxjarDeleteRefundTransaction, taxjarListCustomers, taxjarListNexusRegions, taxjarListOrderTransactions, taxjarListRefundTransactions, taxjarListTaxCategories, taxjarShowCustomer, taxjarShowOrderTransaction, taxjarShowRefundTransaction, taxjarShowTaxRatesForALocation, taxjarSummarizeTaxRatesForAllRegions, taxjarUpdateCustomer, taxjarUpdateOrderTransaction, taxjarUpdateRefundTransaction, taxjarValidateVatNumber };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-customers.ts
|
|
4
|
+
const TaxjarListCustomersInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("Page number for pagination, starting at 1. Use this to navigate through multiple pages of customers.").optional(),
|
|
6
|
+
per_page: zod.z.number().int().default(30).describe("Maximum number of customer IDs to return per page. Must be between 1 and 100.").optional()
|
|
7
|
+
}).describe("Request parameters for listing customers in TaxJar.");
|
|
8
|
+
const TaxjarListCustomersOutput = zod.z.object({ customers: zod.z.array(zod.z.string()).describe("List of customer IDs. Use these IDs with the 'Show Customer' action to get full customer details.") }).describe("Response schema for listing customers. Returns a list of customer IDs.\nUse the 'Show Customer' action to retrieve detailed information for a specific customer.");
|
|
9
|
+
const taxjarListCustomers = require_action.action("TAXJAR_LIST_CUSTOMERS", {
|
|
10
|
+
slug: "taxjar-list-customers",
|
|
11
|
+
name: "List Customers",
|
|
12
|
+
description: "Lists all customer IDs from your TaxJar account. Returns a paginated list of customer IDs (strings). To get full details for a specific customer (including name, address, exemption type, etc.), use the customer ID with the 'Show Customer' action. Use this action to: - Browse all customers in your TaxJar account - Find customer IDs for further operations - Check which customers have been created",
|
|
13
|
+
input: TaxjarListCustomersInput,
|
|
14
|
+
output: TaxjarListCustomersOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.taxjarListCustomers = taxjarListCustomers;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=list-customers.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListCustomersInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, starting at 1. Use this to navigate through multiple pages of customers.\").optional(),\n per_page: z.number().int().default(30).describe(\"Maximum number of customer IDs to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request parameters for listing customers in TaxJar.\");\nexport const TaxjarListCustomersOutput: z.ZodTypeAny = z.object({\n customers: z.array(z.string()).describe(\"List of customer IDs. Use these IDs with the 'Show Customer' action to get full customer details.\"),\n}).describe(\"Response schema for listing customers. Returns a list of customer IDs.\\nUse the 'Show Customer' action to retrieve detailed information for a specific customer.\");\n\nexport const taxjarListCustomers = action(\"TAXJAR_LIST_CUSTOMERS\", {\n slug: \"taxjar-list-customers\",\n name: \"List Customers\",\n description: \"Lists all customer IDs from your TaxJar account. Returns a paginated list of customer IDs (strings). To get full details for a specific customer (including name, address, exemption type, etc.), use the customer ID with the 'Show Customer' action. Use this action to: - Browse all customers in your TaxJar account - Find customer IDs for further operations - Check which customers have been created\",\n input: TaxjarListCustomersInput,\n output: TaxjarListCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC7I,CAAC,CAAC,CAAC,SAAS,kKAAkK;AAE9K,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-customers.d.ts
|
|
4
|
+
declare const TaxjarListCustomersInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListCustomersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListCustomers };
|
|
9
|
+
//# sourceMappingURL=list-customers.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAEqI;AAAA,cAElK,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-customers.d.ts
|
|
4
|
+
declare const TaxjarListCustomersInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListCustomersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListCustomers };
|
|
9
|
+
//# sourceMappingURL=list-customers.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGyB;AAAA,cACrD,yBAAA,EAA2B,CAAA,CAAE,UAEqI;AAAA,cAElK,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taxjarListCustomers = action("TAXJAR_LIST_CUSTOMERS", {
|
|
4
|
+
slug: "taxjar-list-customers",
|
|
5
|
+
name: "List Customers",
|
|
6
|
+
description: "Lists all customer IDs from your TaxJar account. Returns a paginated list of customer IDs (strings). To get full details for a specific customer (including name, address, exemption type, etc.), use the customer ID with the 'Show Customer' action. Use this action to: - Browse all customers in your TaxJar account - Find customer IDs for further operations - Check which customers have been created",
|
|
7
|
+
input: z.object({
|
|
8
|
+
page: z.number().int().default(1).describe("Page number for pagination, starting at 1. Use this to navigate through multiple pages of customers.").optional(),
|
|
9
|
+
per_page: z.number().int().default(30).describe("Maximum number of customer IDs to return per page. Must be between 1 and 100.").optional()
|
|
10
|
+
}).describe("Request parameters for listing customers in TaxJar."),
|
|
11
|
+
output: z.object({ customers: z.array(z.string()).describe("List of customer IDs. Use these IDs with the 'Show Customer' action to get full customer details.") }).describe("Response schema for listing customers. Returns a list of customer IDs.\nUse the 'Show Customer' action to retrieve detailed information for a specific customer.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { taxjarListCustomers };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=list-customers.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListCustomersInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, starting at 1. Use this to navigate through multiple pages of customers.\").optional(),\n per_page: z.number().int().default(30).describe(\"Maximum number of customer IDs to return per page. Must be between 1 and 100.\").optional(),\n}).describe(\"Request parameters for listing customers in TaxJar.\");\nexport const TaxjarListCustomersOutput: z.ZodTypeAny = z.object({\n customers: z.array(z.string()).describe(\"List of customer IDs. Use these IDs with the 'Show Customer' action to get full customer details.\"),\n}).describe(\"Response schema for listing customers. Returns a list of customer IDs.\\nUse the 'Show Customer' action to retrieve detailed information for a specific customer.\");\n\nexport const taxjarListCustomers = action(\"TAXJAR_LIST_CUSTOMERS\", {\n slug: \"taxjar-list-customers\",\n name: \"List Customers\",\n description: \"Lists all customer IDs from your TaxJar account. Returns a paginated list of customer IDs (strings). To get full details for a specific customer (including name, address, exemption type, etc.), use the customer ID with the 'Show Customer' action. Use this action to: - Browse all customers in your TaxJar account - Find customer IDs for further operations - Check which customers have been created\",\n input: TaxjarListCustomersInput,\n output: TaxjarListCustomersOutput,\n});\n"],"mappings":";;AAYA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC5J,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATqD,EAAE,OAAO,EAC9D,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC7I,CAAC,CAAC,CAAC,SAAS,kKAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-nexus-regions.ts
|
|
4
|
+
const TaxjarListNexusRegionsInput = zod.z.object({}).describe("No request parameters needed for this endpoint.");
|
|
5
|
+
const TaxjarListNexusRegions_RegionSchema = zod.z.object({
|
|
6
|
+
region: zod.z.string().describe("Region (state/province) name"),
|
|
7
|
+
country: zod.z.string().describe("Country name"),
|
|
8
|
+
region_code: zod.z.string().describe("Region (state/province) code"),
|
|
9
|
+
country_code: zod.z.string().describe("ISO 3166-1 alpha-2 country code"),
|
|
10
|
+
country_name: zod.z.string().describe("Deprecated; use `country` instead").nullable().optional()
|
|
11
|
+
}).describe("A nexus region returned by TaxJar.");
|
|
12
|
+
const TaxjarListNexusRegionsOutput = zod.z.object({ regions: zod.z.array(TaxjarListNexusRegions_RegionSchema).describe("List of nexus regions where the account has nexus") }).describe("Response model for listing nexus regions.");
|
|
13
|
+
const taxjarListNexusRegions = require_action.action("TAXJAR_LIST_NEXUS_REGIONS", {
|
|
14
|
+
slug: "taxjar-list-nexus-regions",
|
|
15
|
+
name: "List Nexus Regions",
|
|
16
|
+
description: "Tool to list existing nexus regions for an account. Use after authenticating your account to discover where you have nexus for sales tax purposes.",
|
|
17
|
+
input: TaxjarListNexusRegionsInput,
|
|
18
|
+
output: TaxjarListNexusRegionsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.taxjarListNexusRegions = taxjarListNexusRegions;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-nexus-regions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-nexus-regions.cjs","names":["z","action"],"sources":["../../src/actions/list-nexus-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListNexusRegionsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters needed for this endpoint.\");\nconst TaxjarListNexusRegions_RegionSchema: z.ZodTypeAny = z.object({\n region: z.string().describe(\"Region (state/province) name\"),\n country: z.string().describe(\"Country name\"),\n region_code: z.string().describe(\"Region (state/province) code\"),\n country_code: z.string().describe(\"ISO 3166-1 alpha-2 country code\"),\n country_name: z.string().describe(\"Deprecated; use `country` instead\").nullable().optional(),\n}).describe(\"A nexus region returned by TaxJar.\");\nexport const TaxjarListNexusRegionsOutput: z.ZodTypeAny = z.object({\n regions: z.array(TaxjarListNexusRegions_RegionSchema).describe(\"List of nexus regions where the account has nexus\"),\n}).describe(\"Response model for listing nexus regions.\");\n\nexport const taxjarListNexusRegions = action(\"TAXJAR_LIST_NEXUS_REGIONS\", {\n slug: \"taxjar-list-nexus-regions\",\n name: \"List Nexus Regions\",\n description: \"Tool to list existing nexus regions for an account. Use after authenticating your account to discover where you have nexus for sales tax purposes.\",\n input: TaxjarListNexusRegionsInput,\n output: TaxjarListNexusRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAChI,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CAC3C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mDAAmD,EACpH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-nexus-regions.d.ts
|
|
4
|
+
declare const TaxjarListNexusRegionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListNexusRegionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListNexusRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListNexusRegions };
|
|
9
|
+
//# sourceMappingURL=list-nexus-regions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-nexus-regions.d.cts","names":[],"sources":["../../src/actions/list-nexus-regions.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAqF;AAAA,cAQpH,4BAAA,EAA8B,CAAA,CAAE,UAEW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-nexus-regions.d.ts
|
|
4
|
+
declare const TaxjarListNexusRegionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListNexusRegionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListNexusRegions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListNexusRegions };
|
|
9
|
+
//# sourceMappingURL=list-nexus-regions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-nexus-regions.d.mts","names":[],"sources":["../../src/actions/list-nexus-regions.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAqF;AAAA,cAQpH,4BAAA,EAA8B,CAAA,CAAE,UAEW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-nexus-regions.ts
|
|
4
|
+
const TaxjarListNexusRegionsInput = z.object({}).describe("No request parameters needed for this endpoint.");
|
|
5
|
+
const TaxjarListNexusRegions_RegionSchema = z.object({
|
|
6
|
+
region: z.string().describe("Region (state/province) name"),
|
|
7
|
+
country: z.string().describe("Country name"),
|
|
8
|
+
region_code: z.string().describe("Region (state/province) code"),
|
|
9
|
+
country_code: z.string().describe("ISO 3166-1 alpha-2 country code"),
|
|
10
|
+
country_name: z.string().describe("Deprecated; use `country` instead").nullable().optional()
|
|
11
|
+
}).describe("A nexus region returned by TaxJar.");
|
|
12
|
+
const taxjarListNexusRegions = action("TAXJAR_LIST_NEXUS_REGIONS", {
|
|
13
|
+
slug: "taxjar-list-nexus-regions",
|
|
14
|
+
name: "List Nexus Regions",
|
|
15
|
+
description: "Tool to list existing nexus regions for an account. Use after authenticating your account to discover where you have nexus for sales tax purposes.",
|
|
16
|
+
input: TaxjarListNexusRegionsInput,
|
|
17
|
+
output: z.object({ regions: z.array(TaxjarListNexusRegions_RegionSchema).describe("List of nexus regions where the account has nexus") }).describe("Response model for listing nexus regions.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { taxjarListNexusRegions };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-nexus-regions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-nexus-regions.mjs","names":[],"sources":["../../src/actions/list-nexus-regions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListNexusRegionsInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters needed for this endpoint.\");\nconst TaxjarListNexusRegions_RegionSchema: z.ZodTypeAny = z.object({\n region: z.string().describe(\"Region (state/province) name\"),\n country: z.string().describe(\"Country name\"),\n region_code: z.string().describe(\"Region (state/province) code\"),\n country_code: z.string().describe(\"ISO 3166-1 alpha-2 country code\"),\n country_name: z.string().describe(\"Deprecated; use `country` instead\").nullable().optional(),\n}).describe(\"A nexus region returned by TaxJar.\");\nexport const TaxjarListNexusRegionsOutput: z.ZodTypeAny = z.object({\n regions: z.array(TaxjarListNexusRegions_RegionSchema).describe(\"List of nexus regions where the account has nexus\"),\n}).describe(\"Response model for listing nexus regions.\");\n\nexport const taxjarListNexusRegions = action(\"TAXJAR_LIST_NEXUS_REGIONS\", {\n slug: \"taxjar-list-nexus-regions\",\n name: \"List Nexus Regions\",\n description: \"Tool to list existing nexus regions for an account. Use after authenticating your account to discover where you have nexus for sales tax purposes.\",\n input: TaxjarListNexusRegionsInput,\n output: TaxjarListNexusRegionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAChI,MAAM,sCAAoD,EAAE,OAAO;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CAC3C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mDAAmD,EACpH,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-order-transactions.ts
|
|
4
|
+
const TaxjarListOrderTransactionsInput = zod.z.object({
|
|
5
|
+
provider: zod.z.string().describe("Filter by provider source, e.g., 'api' or 'csv'. Defaults to 'api' if not specified.").optional(),
|
|
6
|
+
to_transaction_date: zod.z.string().describe("End date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter."),
|
|
7
|
+
from_transaction_date: zod.z.string().describe("Start date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.")
|
|
8
|
+
}).describe("Request parameters for listing order transactions.");
|
|
9
|
+
const TaxjarListOrderTransactionsOutput = zod.z.object({ orders: zod.z.array(zod.z.string()).describe("List of order transaction IDs matching the filter criteria") }).describe("Response schema for listing order transactions.\nReturns a list of transaction IDs (strings) for orders within the specified date range.");
|
|
10
|
+
const taxjarListOrderTransactions = require_action.action("TAXJAR_LIST_ORDER_TRANSACTIONS", {
|
|
11
|
+
slug: "taxjar-list-order-transactions",
|
|
12
|
+
name: "List Order Transactions",
|
|
13
|
+
description: "List order transaction IDs within a date range. Returns an array of transaction IDs (strings) for orders created between the specified dates. Use this to discover which orders exist in a date range, then use SHOW_ORDER_TRANSACTION to get details for specific IDs.",
|
|
14
|
+
input: TaxjarListOrderTransactionsInput,
|
|
15
|
+
output: TaxjarListOrderTransactionsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.taxjarListOrderTransactions = taxjarListOrderTransactions;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-order-transactions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-order-transactions.cjs","names":["z","action"],"sources":["../../src/actions/list-order-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListOrderTransactionsInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"Filter by provider source, e.g., 'api' or 'csv'. Defaults to 'api' if not specified.\").optional(),\n to_transaction_date: z.string().describe(\"End date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.\"),\n from_transaction_date: z.string().describe(\"Start date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.\"),\n}).describe(\"Request parameters for listing order transactions.\");\nexport const TaxjarListOrderTransactionsOutput: z.ZodTypeAny = z.object({\n orders: z.array(z.string()).describe(\"List of order transaction IDs matching the filter criteria\"),\n}).describe(\"Response schema for listing order transactions.\\nReturns a list of transaction IDs (strings) for orders within the specified date range.\");\n\nexport const taxjarListOrderTransactions = action(\"TAXJAR_LIST_ORDER_TRANSACTIONS\", {\n slug: \"taxjar-list-order-transactions\",\n name: \"List Order Transactions\",\n description: \"List order transaction IDs within a date range. Returns an array of transaction IDs (strings) for orders created between the specified dates. Use this to discover which orders exist in a date range, then use SHOW_ORDER_TRANSACTION to get details for specific IDs.\",\n input: TaxjarListOrderTransactionsInput,\n output: TaxjarListOrderTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC/H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACpI,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;AAC1I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,EACnG,CAAC,CAAC,CAAC,SAAS,0IAA0I;AAEtJ,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-order-transactions.d.ts
|
|
4
|
+
declare const TaxjarListOrderTransactionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListOrderTransactionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListOrderTransactions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListOrderTransactions };
|
|
9
|
+
//# sourceMappingURL=list-order-transactions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-order-transactions.d.cts","names":[],"sources":["../../src/actions/list-order-transactions.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAEqG;AAAA,cAE1I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-order-transactions.d.ts
|
|
4
|
+
declare const TaxjarListOrderTransactionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListOrderTransactionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListOrderTransactions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListOrderTransactions };
|
|
9
|
+
//# sourceMappingURL=list-order-transactions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-order-transactions.d.mts","names":[],"sources":["../../src/actions/list-order-transactions.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAEqG;AAAA,cAE1I,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taxjarListOrderTransactions = action("TAXJAR_LIST_ORDER_TRANSACTIONS", {
|
|
4
|
+
slug: "taxjar-list-order-transactions",
|
|
5
|
+
name: "List Order Transactions",
|
|
6
|
+
description: "List order transaction IDs within a date range. Returns an array of transaction IDs (strings) for orders created between the specified dates. Use this to discover which orders exist in a date range, then use SHOW_ORDER_TRANSACTION to get details for specific IDs.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
provider: z.string().describe("Filter by provider source, e.g., 'api' or 'csv'. Defaults to 'api' if not specified.").optional(),
|
|
9
|
+
to_transaction_date: z.string().describe("End date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter."),
|
|
10
|
+
from_transaction_date: z.string().describe("Start date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.")
|
|
11
|
+
}).describe("Request parameters for listing order transactions."),
|
|
12
|
+
output: z.object({ orders: z.array(z.string()).describe("List of order transaction IDs matching the filter criteria") }).describe("Response schema for listing order transactions.\nReturns a list of transaction IDs (strings) for orders within the specified date range.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { taxjarListOrderTransactions };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=list-order-transactions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-order-transactions.mjs","names":[],"sources":["../../src/actions/list-order-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListOrderTransactionsInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"Filter by provider source, e.g., 'api' or 'csv'. Defaults to 'api' if not specified.\").optional(),\n to_transaction_date: z.string().describe(\"End date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.\"),\n from_transaction_date: z.string().describe(\"Start date for filtering order transactions (YYYY-MM-DD or YYYY/MM/DD). Required parameter.\"),\n}).describe(\"Request parameters for listing order transactions.\");\nexport const TaxjarListOrderTransactionsOutput: z.ZodTypeAny = z.object({\n orders: z.array(z.string()).describe(\"List of order transaction IDs matching the filter criteria\"),\n}).describe(\"Response schema for listing order transactions.\\nReturns a list of transaction IDs (strings) for orders within the specified date range.\");\n\nexport const taxjarListOrderTransactions = action(\"TAXJAR_LIST_ORDER_TRANSACTIONS\", {\n slug: \"taxjar-list-order-transactions\",\n name: \"List Order Transactions\",\n description: \"List order transaction IDs within a date range. Returns an array of transaction IDs (strings) for orders created between the specified dates. Use this to discover which orders exist in a date range, then use SHOW_ORDER_TRANSACTION to get details for specific IDs.\",\n input: TaxjarListOrderTransactionsInput,\n output: TaxjarListOrderTransactionsOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4D,EAAE,OAAO;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC/H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACpI,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1I,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,EACnG,CAAC,CAAC,CAAC,SAAS,0IAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-refund-transactions.ts
|
|
4
|
+
const TaxjarListRefundTransactionsInput = zod.z.object({
|
|
5
|
+
provider: zod.z.string().describe("Filter by provider source (e.g., 'api', 'csv')").optional(),
|
|
6
|
+
to_transaction_date: zod.z.string().describe("End date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)"),
|
|
7
|
+
from_transaction_date: zod.z.string().describe("Start date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)")
|
|
8
|
+
});
|
|
9
|
+
const TaxjarListRefundTransactionsOutput = zod.z.object({ refunds: zod.z.array(zod.z.string()).describe("List of refund transaction IDs. Use the 'Show refund transaction' action with these IDs to get detailed information about each refund.") });
|
|
10
|
+
const taxjarListRefundTransactions = require_action.action("TAXJAR_LIST_REFUND_TRANSACTIONS", {
|
|
11
|
+
slug: "taxjar-list-refund-transactions",
|
|
12
|
+
name: "List refund transactions",
|
|
13
|
+
description: "Lists refund transaction IDs within a specified date range. Returns an array of transaction IDs only. To get detailed information about a specific refund, use the 'Show refund transaction' action with the ID. Useful for finding refunds created through the TaxJar API within a specific time period.",
|
|
14
|
+
input: TaxjarListRefundTransactionsInput,
|
|
15
|
+
output: TaxjarListRefundTransactionsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.taxjarListRefundTransactions = taxjarListRefundTransactions;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-refund-transactions.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-refund-transactions.cjs","names":["z","action"],"sources":["../../src/actions/list-refund-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaxjarListRefundTransactionsInput: z.ZodTypeAny = z.object({\n provider: z.string().describe(\"Filter by provider source (e.g., 'api', 'csv')\").optional(),\n to_transaction_date: z.string().describe(\"End date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)\"),\n from_transaction_date: z.string().describe(\"Start date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)\"),\n});\nexport const TaxjarListRefundTransactionsOutput: z.ZodTypeAny = z.object({\n refunds: z.array(z.string()).describe(\"List of refund transaction IDs. Use the 'Show refund transaction' action with these IDs to get detailed information about each refund.\"),\n});\n\nexport const taxjarListRefundTransactions = action(\"TAXJAR_LIST_REFUND_TRANSACTIONS\", {\n slug: \"taxjar-list-refund-transactions\",\n name: \"List refund transactions\",\n description: \"Lists refund transaction IDs within a specified date range. Returns an array of transaction IDs only. To get detailed information about a specific refund, use the 'Show refund transaction' action with the ID. Useful for finding refunds created through the TaxJar API within a specific time period.\",\n input: TaxjarListRefundTransactionsInput,\n output: TaxjarListRefundTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACxH,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;AAC9H,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wIAAwI,EAChL,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-refund-transactions.d.ts
|
|
4
|
+
declare const TaxjarListRefundTransactionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListRefundTransactionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListRefundTransactions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListRefundTransactions };
|
|
9
|
+
//# sourceMappingURL=list-refund-transactions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-refund-transactions.d.cts","names":[],"sources":["../../src/actions/list-refund-transactions.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-refund-transactions.d.ts
|
|
4
|
+
declare const TaxjarListRefundTransactionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaxjarListRefundTransactionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taxjarListRefundTransactions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taxjarListRefundTransactions };
|
|
9
|
+
//# sourceMappingURL=list-refund-transactions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-refund-transactions.d.mts","names":[],"sources":["../../src/actions/list-refund-transactions.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cACW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taxjarListRefundTransactions = action("TAXJAR_LIST_REFUND_TRANSACTIONS", {
|
|
4
|
+
slug: "taxjar-list-refund-transactions",
|
|
5
|
+
name: "List refund transactions",
|
|
6
|
+
description: "Lists refund transaction IDs within a specified date range. Returns an array of transaction IDs only. To get detailed information about a specific refund, use the 'Show refund transaction' action with the ID. Useful for finding refunds created through the TaxJar API within a specific time period.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
provider: z.string().describe("Filter by provider source (e.g., 'api', 'csv')").optional(),
|
|
9
|
+
to_transaction_date: z.string().describe("End date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)"),
|
|
10
|
+
from_transaction_date: z.string().describe("Start date for filtering refund transactions (format: YYYY/MM/DD or YYYY-MM-DD)")
|
|
11
|
+
}),
|
|
12
|
+
output: z.object({ refunds: z.array(z.string()).describe("List of refund transaction IDs. Use the 'Show refund transaction' action with these IDs to get detailed information about each refund.") })
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { taxjarListRefundTransactions };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=list-refund-transactions.mjs.map
|