@keystrokehq/taggun 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/add-merchant-name.cjs +16 -0
- package/dist/actions/add-merchant-name.cjs.map +1 -0
- package/dist/actions/add-merchant-name.d.cts +9 -0
- package/dist/actions/add-merchant-name.d.cts.map +1 -0
- package/dist/actions/add-merchant-name.d.mts +9 -0
- package/dist/actions/add-merchant-name.d.mts.map +1 -0
- package/dist/actions/add-merchant-name.mjs +13 -0
- package/dist/actions/add-merchant-name.mjs.map +1 -0
- package/dist/actions/export-known-merchants.cjs +16 -0
- package/dist/actions/export-known-merchants.cjs.map +1 -0
- package/dist/actions/export-known-merchants.d.cts +9 -0
- package/dist/actions/export-known-merchants.d.cts.map +1 -0
- package/dist/actions/export-known-merchants.d.mts +9 -0
- package/dist/actions/export-known-merchants.d.mts.map +1 -0
- package/dist/actions/export-known-merchants.mjs +13 -0
- package/dist/actions/export-known-merchants.mjs.map +1 -0
- package/dist/actions/export-known-product-codes.cjs +16 -0
- package/dist/actions/export-known-product-codes.cjs.map +1 -0
- package/dist/actions/export-known-product-codes.d.cts +9 -0
- package/dist/actions/export-known-product-codes.d.cts.map +1 -0
- package/dist/actions/export-known-product-codes.d.mts +9 -0
- package/dist/actions/export-known-product-codes.d.mts.map +1 -0
- package/dist/actions/export-known-product-codes.mjs +13 -0
- package/dist/actions/export-known-product-codes.mjs.map +1 -0
- package/dist/actions/export-product-categories.cjs +16 -0
- package/dist/actions/export-product-categories.cjs.map +1 -0
- package/dist/actions/export-product-categories.d.cts +9 -0
- package/dist/actions/export-product-categories.d.cts.map +1 -0
- package/dist/actions/export-product-categories.d.mts +9 -0
- package/dist/actions/export-product-categories.d.mts.map +1 -0
- package/dist/actions/export-product-categories.mjs +13 -0
- package/dist/actions/export-product-categories.mjs.map +1 -0
- package/dist/actions/generate-merchants-csv.cjs +20 -0
- package/dist/actions/generate-merchants-csv.cjs.map +1 -0
- package/dist/actions/generate-merchants-csv.d.cts +9 -0
- package/dist/actions/generate-merchants-csv.d.cts.map +1 -0
- package/dist/actions/generate-merchants-csv.d.mts +9 -0
- package/dist/actions/generate-merchants-csv.d.mts.map +1 -0
- package/dist/actions/generate-merchants-csv.mjs +17 -0
- package/dist/actions/generate-merchants-csv.mjs.map +1 -0
- package/dist/actions/import-known-merchants.cjs +20 -0
- package/dist/actions/import-known-merchants.cjs.map +1 -0
- package/dist/actions/import-known-merchants.d.cts +9 -0
- package/dist/actions/import-known-merchants.d.cts.map +1 -0
- package/dist/actions/import-known-merchants.d.mts +9 -0
- package/dist/actions/import-known-merchants.d.mts.map +1 -0
- package/dist/actions/import-known-merchants.mjs +17 -0
- package/dist/actions/import-known-merchants.mjs.map +1 -0
- package/dist/actions/import-known-product-codes.cjs +25 -0
- package/dist/actions/import-known-product-codes.cjs.map +1 -0
- package/dist/actions/import-known-product-codes.d.cts +9 -0
- package/dist/actions/import-known-product-codes.d.cts.map +1 -0
- package/dist/actions/import-known-product-codes.d.mts +9 -0
- package/dist/actions/import-known-product-codes.d.mts.map +1 -0
- package/dist/actions/import-known-product-codes.mjs +22 -0
- package/dist/actions/import-known-product-codes.mjs.map +1 -0
- package/dist/actions/import-product-categories.cjs +25 -0
- package/dist/actions/import-product-categories.cjs.map +1 -0
- package/dist/actions/import-product-categories.d.cts +9 -0
- package/dist/actions/import-product-categories.d.cts.map +1 -0
- package/dist/actions/import-product-categories.d.mts +9 -0
- package/dist/actions/import-product-categories.d.mts.map +1 -0
- package/dist/actions/import-product-categories.mjs +22 -0
- package/dist/actions/import-product-categories.mjs.map +1 -0
- package/dist/actions/index.cjs +29 -0
- package/dist/actions/index.d.cts +15 -0
- package/dist/actions/index.d.mts +15 -0
- package/dist/actions/index.mjs +15 -0
- package/dist/actions/transcribe-receipt-encoded-simple.cjs +51 -0
- package/dist/actions/transcribe-receipt-encoded-simple.cjs.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-simple.d.cts +9 -0
- package/dist/actions/transcribe-receipt-encoded-simple.d.cts.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-simple.d.mts +9 -0
- package/dist/actions/transcribe-receipt-encoded-simple.d.mts.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-simple.mjs +50 -0
- package/dist/actions/transcribe-receipt-encoded-simple.mjs.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.cjs +50 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.cjs.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.d.cts +9 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.d.cts.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.d.mts +9 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.d.mts.map +1 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.mjs +47 -0
- package/dist/actions/transcribe-receipt-encoded-verbose.mjs.map +1 -0
- package/dist/actions/transcribe-receipt-file-simple.cjs +65 -0
- package/dist/actions/transcribe-receipt-file-simple.cjs.map +1 -0
- package/dist/actions/transcribe-receipt-file-simple.d.cts +9 -0
- package/dist/actions/transcribe-receipt-file-simple.d.cts.map +1 -0
- package/dist/actions/transcribe-receipt-file-simple.d.mts +9 -0
- package/dist/actions/transcribe-receipt-file-simple.d.mts.map +1 -0
- package/dist/actions/transcribe-receipt-file-simple.mjs +64 -0
- package/dist/actions/transcribe-receipt-file-simple.mjs.map +1 -0
- package/dist/actions/url-validation.cjs +37 -0
- package/dist/actions/url-validation.cjs.map +1 -0
- package/dist/actions/url-validation.d.cts +9 -0
- package/dist/actions/url-validation.d.cts.map +1 -0
- package/dist/actions/url-validation.d.mts +9 -0
- package/dist/actions/url-validation.d.mts.map +1 -0
- package/dist/actions/url-validation.mjs +36 -0
- package/dist/actions/url-validation.mjs.map +1 -0
- package/dist/actions/url-verbose.cjs +44 -0
- package/dist/actions/url-verbose.cjs.map +1 -0
- package/dist/actions/url-verbose.d.cts +9 -0
- package/dist/actions/url-verbose.d.cts.map +1 -0
- package/dist/actions/url-verbose.d.mts +9 -0
- package/dist/actions/url-verbose.d.mts.map +1 -0
- package/dist/actions/url-verbose.mjs +41 -0
- package/dist/actions/url-verbose.mjs.map +1 -0
- package/dist/actions/url.cjs +45 -0
- package/dist/actions/url.cjs.map +1 -0
- package/dist/actions/url.d.cts +9 -0
- package/dist/actions/url.d.cts.map +1 -0
- package/dist/actions/url.d.mts +9 -0
- package/dist/actions/url.d.mts.map +1 -0
- package/dist/actions/url.mjs +44 -0
- package/dist/actions/url.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 +34 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.mts +17 -0
- package/dist/index.mjs +18 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/taggun
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `taggun`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 14
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { taggunAddMerchantName } from "@keystrokehq/taggun/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "taggun-agent",
|
|
15
|
+
tools: [taggunAddMerchantName],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.taggun.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeTaggunTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["taggun","executeTaggunTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { taggun } from \"./app\";\nimport { executeTaggunTool } 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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return taggun.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeTaggunTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,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,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { taggun } from "./app.mjs";
|
|
2
|
+
import { executeTaggunTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return taggun.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeTaggunTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { taggun } from \"./app\";\nimport { executeTaggunTool } 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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return taggun.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeTaggunTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/add-merchant-name.ts
|
|
4
|
+
const TaggunAddMerchantNameInput = zod.z.object({ merchantName: zod.z.string().describe("Merchant name keyword to add to your account's model for predicting merchant names. The model updates are applied daily.") }).describe("Request model for adding a merchant name keyword to the account's prediction model.");
|
|
5
|
+
const TaggunAddMerchantNameOutput = zod.z.object({ result: zod.z.string().describe("Result status of the operation, typically 'OK' on success.") }).describe("Response model for adding a merchant name keyword.");
|
|
6
|
+
const taggunAddMerchantName = require_action.action("TAGGUN_ADD_MERCHANT_NAME", {
|
|
7
|
+
slug: "taggun-add-merchant-name",
|
|
8
|
+
name: "Add Merchant Name",
|
|
9
|
+
description: "Tool to add a merchant name keyword to your account's model for predicting merchant names. Use when you want to improve merchant name recognition by training the model with specific merchant names. Changes to your account's model are updated daily and will affect future receipt processing.",
|
|
10
|
+
input: TaggunAddMerchantNameInput,
|
|
11
|
+
output: TaggunAddMerchantNameOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.taggunAddMerchantName = taggunAddMerchantName;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=add-merchant-name.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-merchant-name.cjs","names":["z","action"],"sources":["../../src/actions/add-merchant-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunAddMerchantNameInput: z.ZodTypeAny = z.object({\n merchantName: z.string().describe(\"Merchant name keyword to add to your account's model for predicting merchant names. The model updates are applied daily.\"),\n}).describe(\"Request model for adding a merchant name keyword to the account's prediction model.\");\nexport const TaggunAddMerchantNameOutput: z.ZodTypeAny = z.object({\n result: z.string().describe(\"Result status of the operation, typically 'OK' on success.\"),\n}).describe(\"Response model for adding a merchant name keyword.\");\n\nexport const taggunAddMerchantName = action(\"TAGGUN_ADD_MERCHANT_NAME\", {\n slug: \"taggun-add-merchant-name\",\n name: \"Add Merchant Name\",\n description: \"Tool to add a merchant name keyword to your account's model for predicting merchant names. Use when you want to improve merchant name recognition by training the model with specific merchant names. Changes to your account's model are updated daily and will affect future receipt processing.\",\n input: TaggunAddMerchantNameInput,\n output: TaggunAddMerchantNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC9J,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,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/add-merchant-name.d.ts
|
|
4
|
+
declare const TaggunAddMerchantNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunAddMerchantNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunAddMerchantName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunAddMerchantName };
|
|
9
|
+
//# sourceMappingURL=add-merchant-name.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-merchant-name.d.cts","names":[],"sources":["../../src/actions/add-merchant-name.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEuD;AAAA,cACrF,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/add-merchant-name.d.ts
|
|
4
|
+
declare const TaggunAddMerchantNameInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunAddMerchantNameOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunAddMerchantName: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunAddMerchantName };
|
|
9
|
+
//# sourceMappingURL=add-merchant-name.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-merchant-name.d.mts","names":[],"sources":["../../src/actions/add-merchant-name.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEuD;AAAA,cACrF,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taggunAddMerchantName = action("TAGGUN_ADD_MERCHANT_NAME", {
|
|
4
|
+
slug: "taggun-add-merchant-name",
|
|
5
|
+
name: "Add Merchant Name",
|
|
6
|
+
description: "Tool to add a merchant name keyword to your account's model for predicting merchant names. Use when you want to improve merchant name recognition by training the model with specific merchant names. Changes to your account's model are updated daily and will affect future receipt processing.",
|
|
7
|
+
input: z.object({ merchantName: z.string().describe("Merchant name keyword to add to your account's model for predicting merchant names. The model updates are applied daily.") }).describe("Request model for adding a merchant name keyword to the account's prediction model."),
|
|
8
|
+
output: z.object({ result: z.string().describe("Result status of the operation, typically 'OK' on success.") }).describe("Response model for adding a merchant name keyword.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taggunAddMerchantName };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=add-merchant-name.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-merchant-name.mjs","names":[],"sources":["../../src/actions/add-merchant-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunAddMerchantNameInput: z.ZodTypeAny = z.object({\n merchantName: z.string().describe(\"Merchant name keyword to add to your account's model for predicting merchant names. The model updates are applied daily.\"),\n}).describe(\"Request model for adding a merchant name keyword to the account's prediction model.\");\nexport const TaggunAddMerchantNameOutput: z.ZodTypeAny = z.object({\n result: z.string().describe(\"Result status of the operation, typically 'OK' on success.\"),\n}).describe(\"Response model for adding a merchant name keyword.\");\n\nexport const taggunAddMerchantName = action(\"TAGGUN_ADD_MERCHANT_NAME\", {\n slug: \"taggun-add-merchant-name\",\n name: \"Add Merchant Name\",\n description: \"Tool to add a merchant name keyword to your account's model for predicting merchant names. Use when you want to improve merchant name recognition by training the model with specific merchant names. Changes to your account's model are updated daily and will affect future receipt processing.\",\n input: TaggunAddMerchantNameInput,\n output: TaggunAddMerchantNameOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsD,EAAE,OAAO,EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC9J,CAAC,CAAC,CAAC,SAAS,qFASH;CACP,QATuD,EAAE,OAAO,EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EAC1F,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/export-known-merchants.ts
|
|
4
|
+
const TaggunExportKnownMerchantsInput = zod.z.object({}).describe("Request model for exporting known merchants. No parameters required.");
|
|
5
|
+
const TaggunExportKnownMerchantsOutput = zod.z.object({ raw: zod.z.string().describe("CSV-formatted merchant data with columns: locationId, merchantName, merchantAddress, merchantCity, merchantState, merchantPostalCode, merchantCountryCode, merchantCoordinates.x, merchantCoordinates.y. Returns header row and data rows (if any merchants exist).") });
|
|
6
|
+
const taggunExportKnownMerchants = require_action.action("TAGGUN_EXPORT_KNOWN_MERCHANTS", {
|
|
7
|
+
slug: "taggun-export-known-merchants",
|
|
8
|
+
name: "Export Known Merchants",
|
|
9
|
+
description: "Export the complete list of known merchants used for merchant name normalization in Taggun. Returns CSV data with merchant details including location IDs, names, addresses, and coordinates. Use this when you need to retrieve the full merchant registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.",
|
|
10
|
+
input: TaggunExportKnownMerchantsInput,
|
|
11
|
+
output: TaggunExportKnownMerchantsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.taggunExportKnownMerchants = taggunExportKnownMerchants;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=export-known-merchants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-merchants.cjs","names":["z","action"],"sources":["../../src/actions/export-known-merchants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportKnownMerchantsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting known merchants. No parameters required.\");\nexport const TaggunExportKnownMerchantsOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted merchant data with columns: locationId, merchantName, merchantAddress, merchantCity, merchantState, merchantPostalCode, merchantCountryCode, merchantCoordinates.x, merchantCoordinates.y. Returns header row and data rows (if any merchants exist).\"),\n});\n\nexport const taggunExportKnownMerchants = action(\"TAGGUN_EXPORT_KNOWN_MERCHANTS\", {\n slug: \"taggun-export-known-merchants\",\n name: \"Export Known Merchants\",\n description: \"Export the complete list of known merchants used for merchant name normalization in Taggun. Returns CSV data with merchant details including location IDs, names, addresses, and coordinates. Use this when you need to retrieve the full merchant registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.\",\n input: TaggunExportKnownMerchantsInput,\n output: TaggunExportKnownMerchantsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACzJ,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qQAAqQ,EAChS,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/export-known-merchants.d.ts
|
|
4
|
+
declare const TaggunExportKnownMerchantsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportKnownMerchantsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportKnownMerchants: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportKnownMerchants };
|
|
9
|
+
//# sourceMappingURL=export-known-merchants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-merchants.d.cts","names":[],"sources":["../../src/actions/export-known-merchants.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA0G;AAAA,cAC7I,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/export-known-merchants.d.ts
|
|
4
|
+
declare const TaggunExportKnownMerchantsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportKnownMerchantsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportKnownMerchants: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportKnownMerchants };
|
|
9
|
+
//# sourceMappingURL=export-known-merchants.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-merchants.d.mts","names":[],"sources":["../../src/actions/export-known-merchants.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAA0G;AAAA,cAC7I,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taggunExportKnownMerchants = action("TAGGUN_EXPORT_KNOWN_MERCHANTS", {
|
|
4
|
+
slug: "taggun-export-known-merchants",
|
|
5
|
+
name: "Export Known Merchants",
|
|
6
|
+
description: "Export the complete list of known merchants used for merchant name normalization in Taggun. Returns CSV data with merchant details including location IDs, names, addresses, and coordinates. Use this when you need to retrieve the full merchant registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.",
|
|
7
|
+
input: z.object({}).describe("Request model for exporting known merchants. No parameters required."),
|
|
8
|
+
output: z.object({ raw: z.string().describe("CSV-formatted merchant data with columns: locationId, merchantName, merchantAddress, merchantCity, merchantState, merchantPostalCode, merchantCountryCode, merchantCoordinates.x, merchantCoordinates.y. Returns header row and data rows (if any merchants exist).") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taggunExportKnownMerchants };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=export-known-merchants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-merchants.mjs","names":[],"sources":["../../src/actions/export-known-merchants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportKnownMerchantsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting known merchants. No parameters required.\");\nexport const TaggunExportKnownMerchantsOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted merchant data with columns: locationId, merchantName, merchantAddress, merchantCity, merchantState, merchantPostalCode, merchantCountryCode, merchantCoordinates.x, merchantCoordinates.y. Returns header row and data rows (if any merchants exist).\"),\n});\n\nexport const taggunExportKnownMerchants = action(\"TAGGUN_EXPORT_KNOWN_MERCHANTS\", {\n slug: \"taggun-export-known-merchants\",\n name: \"Export Known Merchants\",\n description: \"Export the complete list of known merchants used for merchant name normalization in Taggun. Returns CSV data with merchant details including location IDs, names, addresses, and coordinates. Use this when you need to retrieve the full merchant registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.\",\n input: TaggunExportKnownMerchantsInput,\n output: TaggunExportKnownMerchantsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT2D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAS1E;CACP,QAT4D,EAAE,OAAO,EACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qQAAqQ,EAChS,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/export-known-product-codes.ts
|
|
4
|
+
const TaggunExportKnownProductCodesInput = zod.z.object({}).describe("Request model for exporting known product codes. No parameters required.");
|
|
5
|
+
const TaggunExportKnownProductCodesOutput = zod.z.object({ raw: zod.z.string().describe("CSV-formatted product code data used for normalization and matching. Returns header row and data rows (if any product codes exist).") });
|
|
6
|
+
const taggunExportKnownProductCodes = require_action.action("TAGGUN_EXPORT_KNOWN_PRODUCT_CODES", {
|
|
7
|
+
slug: "taggun-export-known-product-codes",
|
|
8
|
+
name: "Export Known Product Codes",
|
|
9
|
+
description: "Export the complete list of known product codes used for product normalization and matching in Taggun. Returns CSV data with product code information. Use this when you need to retrieve the full product code registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.",
|
|
10
|
+
input: TaggunExportKnownProductCodesInput,
|
|
11
|
+
output: TaggunExportKnownProductCodesOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.taggunExportKnownProductCodes = taggunExportKnownProductCodes;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=export-known-product-codes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-product-codes.cjs","names":["z","action"],"sources":["../../src/actions/export-known-product-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportKnownProductCodesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting known product codes. No parameters required.\");\nexport const TaggunExportKnownProductCodesOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted product code data used for normalization and matching. Returns header row and data rows (if any product codes exist).\"),\n});\n\nexport const taggunExportKnownProductCodes = action(\"TAGGUN_EXPORT_KNOWN_PRODUCT_CODES\", {\n slug: \"taggun-export-known-product-codes\",\n name: \"Export Known Product Codes\",\n description: \"Export the complete list of known product codes used for product normalization and matching in Taggun. Returns CSV data with product code information. Use this when you need to retrieve the full product code registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.\",\n input: TaggunExportKnownProductCodesInput,\n output: TaggunExportKnownProductCodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAChK,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,EAChK,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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/export-known-product-codes.d.ts
|
|
4
|
+
declare const TaggunExportKnownProductCodesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportKnownProductCodesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportKnownProductCodes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportKnownProductCodes };
|
|
9
|
+
//# sourceMappingURL=export-known-product-codes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-product-codes.d.cts","names":[],"sources":["../../src/actions/export-known-product-codes.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA8G;AAAA,cACpJ,mCAAA,EAAqC,CAAA,CAAE,UAElD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/export-known-product-codes.d.ts
|
|
4
|
+
declare const TaggunExportKnownProductCodesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportKnownProductCodesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportKnownProductCodes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportKnownProductCodes };
|
|
9
|
+
//# sourceMappingURL=export-known-product-codes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-product-codes.d.mts","names":[],"sources":["../../src/actions/export-known-product-codes.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA8G;AAAA,cACpJ,mCAAA,EAAqC,CAAA,CAAE,UAElD;AAAA,cAEW,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 taggunExportKnownProductCodes = action("TAGGUN_EXPORT_KNOWN_PRODUCT_CODES", {
|
|
4
|
+
slug: "taggun-export-known-product-codes",
|
|
5
|
+
name: "Export Known Product Codes",
|
|
6
|
+
description: "Export the complete list of known product codes used for product normalization and matching in Taggun. Returns CSV data with product code information. Use this when you need to retrieve the full product code registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.",
|
|
7
|
+
input: z.object({}).describe("Request model for exporting known product codes. No parameters required."),
|
|
8
|
+
output: z.object({ raw: z.string().describe("CSV-formatted product code data used for normalization and matching. Returns header row and data rows (if any product codes exist).") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taggunExportKnownProductCodes };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=export-known-product-codes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-known-product-codes.mjs","names":[],"sources":["../../src/actions/export-known-product-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportKnownProductCodesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting known product codes. No parameters required.\");\nexport const TaggunExportKnownProductCodesOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted product code data used for normalization and matching. Returns header row and data rows (if any product codes exist).\"),\n});\n\nexport const taggunExportKnownProductCodes = action(\"TAGGUN_EXPORT_KNOWN_PRODUCT_CODES\", {\n slug: \"taggun-export-known-product-codes\",\n name: \"Export Known Product Codes\",\n description: \"Export the complete list of known product codes used for product normalization and matching in Taggun. Returns CSV data with product code information. Use this when you need to retrieve the full product code registry for synchronization, auditing, or analysis. No parameters required - this is a read-only GET operation.\",\n input: TaggunExportKnownProductCodesInput,\n output: TaggunExportKnownProductCodesOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAS7E;CACP,QAT+D,EAAE,OAAO,EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,EAChK,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/export-product-categories.ts
|
|
4
|
+
const TaggunExportProductCategoriesInput = zod.z.object({}).describe("Request model for exporting product categories. No parameters required.");
|
|
5
|
+
const TaggunExportProductCategoriesOutput = zod.z.object({ raw: zod.z.string().describe("CSV-formatted product category data with categories and descriptions used for product categorization. Returns header row and data rows (if any product categories exist).") });
|
|
6
|
+
const taggunExportProductCategories = require_action.action("TAGGUN_EXPORT_PRODUCT_CATEGORIES", {
|
|
7
|
+
slug: "taggun-export-product-categories",
|
|
8
|
+
name: "Export Product Categories",
|
|
9
|
+
description: "Export a list of product categories and descriptions used for product categorization in CSV format. Returns CSV data with product category information for analysis or synchronization purposes. Use this when you need to retrieve the complete product category registry.",
|
|
10
|
+
input: TaggunExportProductCategoriesInput,
|
|
11
|
+
output: TaggunExportProductCategoriesOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.taggunExportProductCategories = taggunExportProductCategories;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=export-product-categories.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-product-categories.cjs","names":["z","action"],"sources":["../../src/actions/export-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportProductCategoriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting product categories. No parameters required.\");\nexport const TaggunExportProductCategoriesOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted product category data with categories and descriptions used for product categorization. Returns header row and data rows (if any product categories exist).\"),\n});\n\nexport const taggunExportProductCategories = action(\"TAGGUN_EXPORT_PRODUCT_CATEGORIES\", {\n slug: \"taggun-export-product-categories\",\n name: \"Export Product Categories\",\n description: \"Export a list of product categories and descriptions used for product categorization in CSV format. Returns CSV data with product category information for analysis or synchronization purposes. Use this when you need to retrieve the complete product category registry.\",\n input: TaggunExportProductCategoriesInput,\n output: TaggunExportProductCategoriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/J,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,EACtM,CAAC;AAED,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/export-product-categories.d.ts
|
|
4
|
+
declare const TaggunExportProductCategoriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportProductCategoriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportProductCategories };
|
|
9
|
+
//# sourceMappingURL=export-product-categories.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-product-categories.d.cts","names":[],"sources":["../../src/actions/export-product-categories.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA6G;AAAA,cACnJ,mCAAA,EAAqC,CAAA,CAAE,UAElD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/export-product-categories.d.ts
|
|
4
|
+
declare const TaggunExportProductCategoriesInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunExportProductCategoriesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunExportProductCategories: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunExportProductCategories };
|
|
9
|
+
//# sourceMappingURL=export-product-categories.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-product-categories.d.mts","names":[],"sources":["../../src/actions/export-product-categories.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAA6G;AAAA,cACnJ,mCAAA,EAAqC,CAAA,CAAE,UAElD;AAAA,cAEW,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 taggunExportProductCategories = action("TAGGUN_EXPORT_PRODUCT_CATEGORIES", {
|
|
4
|
+
slug: "taggun-export-product-categories",
|
|
5
|
+
name: "Export Product Categories",
|
|
6
|
+
description: "Export a list of product categories and descriptions used for product categorization in CSV format. Returns CSV data with product category information for analysis or synchronization purposes. Use this when you need to retrieve the complete product category registry.",
|
|
7
|
+
input: z.object({}).describe("Request model for exporting product categories. No parameters required."),
|
|
8
|
+
output: z.object({ raw: z.string().describe("CSV-formatted product category data with categories and descriptions used for product categorization. Returns header row and data rows (if any product categories exist).") })
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { taggunExportProductCategories };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=export-product-categories.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-product-categories.mjs","names":[],"sources":["../../src/actions/export-product-categories.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunExportProductCategoriesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for exporting product categories. No parameters required.\");\nexport const TaggunExportProductCategoriesOutput: z.ZodTypeAny = z.object({\n raw: z.string().describe(\"CSV-formatted product category data with categories and descriptions used for product categorization. Returns header row and data rows (if any product categories exist).\"),\n});\n\nexport const taggunExportProductCategories = action(\"TAGGUN_EXPORT_PRODUCT_CATEGORIES\", {\n slug: \"taggun-export-product-categories\",\n name: \"Export Product Categories\",\n description: \"Export a list of product categories and descriptions used for product categorization in CSV format. Returns CSV data with product category information for analysis or synchronization purposes. Use this when you need to retrieve the complete product category registry.\",\n input: TaggunExportProductCategoriesInput,\n output: TaggunExportProductCategoriesOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAS7E;CACP,QAT+D,EAAE,OAAO,EACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K,EACtM,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/generate-merchants-csv.ts
|
|
4
|
+
const TaggunGenerateMerchantsCsvInput = zod.z.object({ row_count: zod.z.number().int().describe("Number of merchant rows to generate in the CSV") });
|
|
5
|
+
const TaggunGenerateMerchantsCsvOutput = zod.z.object({
|
|
6
|
+
file_path: zod.z.string().describe("Filesystem path of the generated CSV file"),
|
|
7
|
+
row_count: zod.z.number().int().describe("Number of merchant rows generated in the CSV (excludes header)"),
|
|
8
|
+
csv_format: zod.z.string().describe("Description of CSV columns: name, alias, address, postcode, lat, lng, country, phone, email, tags")
|
|
9
|
+
});
|
|
10
|
+
const taggunGenerateMerchantsCsv = require_action.action("TAGGUN_GENERATE_MERCHANTS_CSV", {
|
|
11
|
+
slug: "taggun-generate-merchants-csv",
|
|
12
|
+
name: "Generate Merchants CSV",
|
|
13
|
+
description: "Generate a CSV file with mock merchant data for testing purposes. Creates a temporary CSV file with the specified number of merchant rows, including fields like name, alias, address, coordinates, contact info, and tags. Use this when you need sample merchant data for bulk import operations or testing merchant-related API endpoints. The generated CSV follows a standard format with 10 columns: name, alias, address, postcode, lat, lng, country, phone, email, tags.",
|
|
14
|
+
input: TaggunGenerateMerchantsCsvInput,
|
|
15
|
+
output: TaggunGenerateMerchantsCsvOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.taggunGenerateMerchantsCsv = taggunGenerateMerchantsCsv;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=generate-merchants-csv.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-merchants-csv.cjs","names":["z","action"],"sources":["../../src/actions/generate-merchants-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunGenerateMerchantsCsvInput: z.ZodTypeAny = z.object({\n row_count: z.number().int().describe(\"Number of merchant rows to generate in the CSV\"),\n});\nexport const TaggunGenerateMerchantsCsvOutput: z.ZodTypeAny = z.object({\n file_path: z.string().describe(\"Filesystem path of the generated CSV file\"),\n row_count: z.number().int().describe(\"Number of merchant rows generated in the CSV (excludes header)\"),\n csv_format: z.string().describe(\"Description of CSV columns: name, alias, address, postcode, lat, lng, country, phone, email, tags\"),\n});\n\nexport const taggunGenerateMerchantsCsv = action(\"TAGGUN_GENERATE_MERCHANTS_CSV\", {\n slug: \"taggun-generate-merchants-csv\",\n name: \"Generate Merchants CSV\",\n description: \"Generate a CSV file with mock merchant data for testing purposes. Creates a temporary CSV file with the specified number of merchant rows, including fields like name, alias, address, coordinates, contact info, and tags. Use this when you need sample merchant data for bulk import operations or testing merchant-related API endpoints. The generated CSV follows a standard format with 10 columns: name, alias, address, postcode, lat, lng, country, phone, email, tags.\",\n input: TaggunGenerateMerchantsCsvInput,\n output: TaggunGenerateMerchantsCsvOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;AACrI,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/generate-merchants-csv.d.ts
|
|
4
|
+
declare const TaggunGenerateMerchantsCsvInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunGenerateMerchantsCsvOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunGenerateMerchantsCsv: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunGenerateMerchantsCsv };
|
|
9
|
+
//# sourceMappingURL=generate-merchants-csv.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-merchants-csv.d.cts","names":[],"sources":["../../src/actions/generate-merchants-csv.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-merchants-csv.d.ts
|
|
4
|
+
declare const TaggunGenerateMerchantsCsvInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunGenerateMerchantsCsvOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunGenerateMerchantsCsv: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunGenerateMerchantsCsv };
|
|
9
|
+
//# sourceMappingURL=generate-merchants-csv.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-merchants-csv.d.mts","names":[],"sources":["../../src/actions/generate-merchants-csv.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taggunGenerateMerchantsCsv = action("TAGGUN_GENERATE_MERCHANTS_CSV", {
|
|
4
|
+
slug: "taggun-generate-merchants-csv",
|
|
5
|
+
name: "Generate Merchants CSV",
|
|
6
|
+
description: "Generate a CSV file with mock merchant data for testing purposes. Creates a temporary CSV file with the specified number of merchant rows, including fields like name, alias, address, coordinates, contact info, and tags. Use this when you need sample merchant data for bulk import operations or testing merchant-related API endpoints. The generated CSV follows a standard format with 10 columns: name, alias, address, postcode, lat, lng, country, phone, email, tags.",
|
|
7
|
+
input: z.object({ row_count: z.number().int().describe("Number of merchant rows to generate in the CSV") }),
|
|
8
|
+
output: z.object({
|
|
9
|
+
file_path: z.string().describe("Filesystem path of the generated CSV file"),
|
|
10
|
+
row_count: z.number().int().describe("Number of merchant rows generated in the CSV (excludes header)"),
|
|
11
|
+
csv_format: z.string().describe("Description of CSV columns: name, alias, address, postcode, lat, lng, country, phone, email, tags")
|
|
12
|
+
})
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { taggunGenerateMerchantsCsv };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=generate-merchants-csv.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-merchants-csv.mjs","names":[],"sources":["../../src/actions/generate-merchants-csv.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunGenerateMerchantsCsvInput: z.ZodTypeAny = z.object({\n row_count: z.number().int().describe(\"Number of merchant rows to generate in the CSV\"),\n});\nexport const TaggunGenerateMerchantsCsvOutput: z.ZodTypeAny = z.object({\n file_path: z.string().describe(\"Filesystem path of the generated CSV file\"),\n row_count: z.number().int().describe(\"Number of merchant rows generated in the CSV (excludes header)\"),\n csv_format: z.string().describe(\"Description of CSV columns: name, alias, address, postcode, lat, lng, country, phone, email, tags\"),\n});\n\nexport const taggunGenerateMerchantsCsv = action(\"TAGGUN_GENERATE_MERCHANTS_CSV\", {\n slug: \"taggun-generate-merchants-csv\",\n name: \"Generate Merchants CSV\",\n description: \"Generate a CSV file with mock merchant data for testing purposes. Creates a temporary CSV file with the specified number of merchant rows, including fields like name, alias, address, coordinates, contact info, and tags. Use this when you need sample merchant data for bulk import operations or testing merchant-related API endpoints. The generated CSV follows a standard format with 10 columns: name, alias, address, postcode, lat, lng, country, phone, email, tags.\",\n input: TaggunGenerateMerchantsCsvInput,\n output: TaggunGenerateMerchantsCsvOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2D,EAAE,OAAO,EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACvF,CAWS;CACP,QAX4D,EAAE,OAAO;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACrI,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/import-known-merchants.ts
|
|
4
|
+
const TaggunImportKnownMerchantsInput = zod.z.object({ file: zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
6
|
+
s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
7
|
+
mimetype: zod.z.string().describe("The MIME type of the file")
|
|
8
|
+
}).describe("CSV or TSV file containing merchant data to import. Must be less than 20MB. File should have columns for merchant names and addresses.") }).describe("Request model for importing known merchants from a CSV/TSV file.");
|
|
9
|
+
const TaggunImportKnownMerchantsOutput = zod.z.object({ result: zod.z.string().describe("Import operation result status. Typically returns \"OK\" on success.") }).describe("Response model for importing known merchants.");
|
|
10
|
+
const taggunImportKnownMerchants = require_action.action("TAGGUN_IMPORT_KNOWN_MERCHANTS", {
|
|
11
|
+
slug: "taggun-import-known-merchants",
|
|
12
|
+
name: "Import Known Merchants",
|
|
13
|
+
description: "Import a list of merchant names and addresses to normalize and match in CSV or TSV format. Use this when you need to bulk upload merchant data for name normalization and matching. File must be less than 20MB and contain merchant information in CSV or TSV format.",
|
|
14
|
+
input: TaggunImportKnownMerchantsInput,
|
|
15
|
+
output: TaggunImportKnownMerchantsOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.taggunImportKnownMerchants = taggunImportKnownMerchants;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=import-known-merchants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-known-merchants.cjs","names":["z","action"],"sources":["../../src/actions/import-known-merchants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunImportKnownMerchantsInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"CSV or TSV file containing merchant data to import. Must be less than 20MB. File should have columns for merchant names and addresses.\"),\n}).describe(\"Request model for importing known merchants from a CSV/TSV file.\");\nexport const TaggunImportKnownMerchantsOutput: z.ZodTypeAny = z.object({\n result: z.string().describe(\"Import operation result status. Typically returns \\\"OK\\\" on success.\"),\n}).describe(\"Response model for importing known merchants.\");\n\nexport const taggunImportKnownMerchants = action(\"TAGGUN_IMPORT_KNOWN_MERCHANTS\", {\n slug: \"taggun-import-known-merchants\",\n name: \"Import Known Merchants\",\n description: \"Import a list of merchant names and addresses to normalize and match in CSV or TSV format. Use this when you need to bulk upload merchant data for name normalization and matching. File must be less than 20MB and contain merchant information in CSV or TSV format.\",\n input: TaggunImportKnownMerchantsInput,\n output: TaggunImportKnownMerchantsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,MAAMA,IAAAA,EAAE,OAAO;CACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC,CAAC,CAAC,SAAS,wIAAwI,EACpJ,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACpG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,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/import-known-merchants.d.ts
|
|
4
|
+
declare const TaggunImportKnownMerchantsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunImportKnownMerchantsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunImportKnownMerchants: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunImportKnownMerchants };
|
|
9
|
+
//# sourceMappingURL=import-known-merchants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-known-merchants.d.cts","names":[],"sources":["../../src/actions/import-known-merchants.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM+B;AAAA,cAClE,gCAAA,EAAkC,CAAA,CAAE,UAEW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/import-known-merchants.d.ts
|
|
4
|
+
declare const TaggunImportKnownMerchantsInput: z.ZodTypeAny;
|
|
5
|
+
declare const TaggunImportKnownMerchantsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const taggunImportKnownMerchants: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { taggunImportKnownMerchants };
|
|
9
|
+
//# sourceMappingURL=import-known-merchants.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-known-merchants.d.mts","names":[],"sources":["../../src/actions/import-known-merchants.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAM+B;AAAA,cAClE,gCAAA,EAAkC,CAAA,CAAE,UAEW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const taggunImportKnownMerchants = action("TAGGUN_IMPORT_KNOWN_MERCHANTS", {
|
|
4
|
+
slug: "taggun-import-known-merchants",
|
|
5
|
+
name: "Import Known Merchants",
|
|
6
|
+
description: "Import a list of merchant names and addresses to normalize and match in CSV or TSV format. Use this when you need to bulk upload merchant data for name normalization and matching. File must be less than 20MB and contain merchant information in CSV or TSV format.",
|
|
7
|
+
input: z.object({ file: z.object({
|
|
8
|
+
name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
9
|
+
s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
10
|
+
mimetype: z.string().describe("The MIME type of the file")
|
|
11
|
+
}).describe("CSV or TSV file containing merchant data to import. Must be less than 20MB. File should have columns for merchant names and addresses.") }).describe("Request model for importing known merchants from a CSV/TSV file."),
|
|
12
|
+
output: z.object({ result: z.string().describe("Import operation result status. Typically returns \"OK\" on success.") }).describe("Response model for importing known merchants.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { taggunImportKnownMerchants };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=import-known-merchants.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-known-merchants.mjs","names":[],"sources":["../../src/actions/import-known-merchants.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunImportKnownMerchantsInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"CSV or TSV file containing merchant data to import. Must be less than 20MB. File should have columns for merchant names and addresses.\"),\n}).describe(\"Request model for importing known merchants from a CSV/TSV file.\");\nexport const TaggunImportKnownMerchantsOutput: z.ZodTypeAny = z.object({\n result: z.string().describe(\"Import operation result status. Typically returns \\\"OK\\\" on success.\"),\n}).describe(\"Response model for importing known merchants.\");\n\nexport const taggunImportKnownMerchants = action(\"TAGGUN_IMPORT_KNOWN_MERCHANTS\", {\n slug: \"taggun-import-known-merchants\",\n name: \"Import Known Merchants\",\n description: \"Import a list of merchant names and addresses to normalize and match in CSV or TSV format. Use this when you need to bulk upload merchant data for name normalization and matching. File must be less than 20MB and contain merchant information in CSV or TSV format.\",\n input: TaggunImportKnownMerchantsInput,\n output: TaggunImportKnownMerchantsOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2D,EAAE,OAAO,EACpE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wIAAwI,EACpJ,CAAC,CAAC,CAAC,SAAS,kEASH;CACP,QAT4D,EAAE,OAAO,EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACpG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/import-known-product-codes.ts
|
|
4
|
+
const TaggunImportKnownProductCodesInput = zod.z.object({
|
|
5
|
+
file: zod.z.object({
|
|
6
|
+
name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
|
|
7
|
+
s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
|
|
8
|
+
mimetype: zod.z.string().describe("The MIME type of the file")
|
|
9
|
+
}).describe("CSV or TSV file containing product codes to import. File must be less than 20MB and contain product code data with columns like 'code' and 'description'. Accepted formats: CSV, TSV. If not provided, you may use raw_content instead.").optional(),
|
|
10
|
+
raw_content: zod.z.union([zod.z.string(), zod.z.string()]).optional(),
|
|
11
|
+
raw_filename: zod.z.string().describe("Filename for the inline content (e.g., 'product_codes.csv'). Defaults to 'product_codes.csv'.").optional(),
|
|
12
|
+
raw_mimetype: zod.z.string().describe("MIME type for the inline content (e.g., 'text/csv', 'text/tab-separated-values'). Defaults to text/csv.").optional()
|
|
13
|
+
}).describe("Request model for importing known product codes.");
|
|
14
|
+
const TaggunImportKnownProductCodesOutput = zod.z.object({ result: zod.z.string().describe("Result status of the import operation. Typically 'OK' on success.") }).describe("Response model for importing known product codes.");
|
|
15
|
+
const taggunImportKnownProductCodes = require_action.action("TAGGUN_IMPORT_KNOWN_PRODUCT_CODES", {
|
|
16
|
+
slug: "taggun-import-known-product-codes",
|
|
17
|
+
name: "Import Known Product Codes",
|
|
18
|
+
description: "Tool to import a list of product codes in CSV or TSV format for normalization and matching. Use when you need to upload product code data to Taggun for receipt/invoice processing. The file should contain product codes with descriptions (e.g., code,description columns).",
|
|
19
|
+
input: TaggunImportKnownProductCodesInput,
|
|
20
|
+
output: TaggunImportKnownProductCodesOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.taggunImportKnownProductCodes = taggunImportKnownProductCodes;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=import-known-product-codes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-known-product-codes.cjs","names":["z","action"],"sources":["../../src/actions/import-known-product-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const TaggunImportKnownProductCodesInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"CSV or TSV file containing product codes to import. File must be less than 20MB and contain product code data with columns like 'code' and 'description'. Accepted formats: CSV, TSV. If not provided, you may use raw_content instead.\").optional(),\n raw_content: z.union([z.string(), z.string()]).optional(),\n raw_filename: z.string().describe(\"Filename for the inline content (e.g., 'product_codes.csv'). Defaults to 'product_codes.csv'.\").optional(),\n raw_mimetype: z.string().describe(\"MIME type for the inline content (e.g., 'text/csv', 'text/tab-separated-values'). Defaults to text/csv.\").optional(),\n}).describe(\"Request model for importing known product codes.\");\nexport const TaggunImportKnownProductCodesOutput: z.ZodTypeAny = z.object({\n result: z.string().describe(\"Result status of the import operation. Typically 'OK' on success.\"),\n}).describe(\"Response model for importing known product codes.\");\n\nexport const taggunImportKnownProductCodes = action(\"TAGGUN_IMPORT_KNOWN_PRODUCT_CODES\", {\n slug: \"taggun-import-known-product-codes\",\n name: \"Import Known Product Codes\",\n description: \"Tool to import a list of product codes in CSV or TSV format for normalization and matching. Use when you need to upload product code data to Taggun for receipt/invoice processing. The file should contain product codes with descriptions (e.g., code,description columns).\",\n input: TaggunImportKnownProductCodesInput,\n output: TaggunImportKnownProductCodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CAC9P,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACjG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|