@keystrokehq/remote_retrieval 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.
Files changed (90) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-order.cjs +66 -0
  7. package/dist/actions/create-order.cjs.map +1 -0
  8. package/dist/actions/create-order.d.cts +9 -0
  9. package/dist/actions/create-order.d.cts.map +1 -0
  10. package/dist/actions/create-order.d.mts +9 -0
  11. package/dist/actions/create-order.d.mts.map +1 -0
  12. package/dist/actions/create-order.mjs +63 -0
  13. package/dist/actions/create-order.mjs.map +1 -0
  14. package/dist/actions/get-all-orders.cjs +47 -0
  15. package/dist/actions/get-all-orders.cjs.map +1 -0
  16. package/dist/actions/get-all-orders.d.cts +9 -0
  17. package/dist/actions/get-all-orders.d.cts.map +1 -0
  18. package/dist/actions/get-all-orders.d.mts +9 -0
  19. package/dist/actions/get-all-orders.d.mts.map +1 -0
  20. package/dist/actions/get-all-orders.mjs +46 -0
  21. package/dist/actions/get-all-orders.mjs.map +1 -0
  22. package/dist/actions/get-company-details.cjs +35 -0
  23. package/dist/actions/get-company-details.cjs.map +1 -0
  24. package/dist/actions/get-company-details.d.cts +9 -0
  25. package/dist/actions/get-company-details.d.cts.map +1 -0
  26. package/dist/actions/get-company-details.d.mts +9 -0
  27. package/dist/actions/get-company-details.d.mts.map +1 -0
  28. package/dist/actions/get-company-details.mjs +34 -0
  29. package/dist/actions/get-company-details.mjs.map +1 -0
  30. package/dist/actions/get-device-prices.cjs +21 -0
  31. package/dist/actions/get-device-prices.cjs.map +1 -0
  32. package/dist/actions/get-device-prices.d.cts +9 -0
  33. package/dist/actions/get-device-prices.d.cts.map +1 -0
  34. package/dist/actions/get-device-prices.d.mts +9 -0
  35. package/dist/actions/get-device-prices.d.mts.map +1 -0
  36. package/dist/actions/get-device-prices.mjs +20 -0
  37. package/dist/actions/get-device-prices.mjs.map +1 -0
  38. package/dist/actions/get-order-details.cjs +45 -0
  39. package/dist/actions/get-order-details.cjs.map +1 -0
  40. package/dist/actions/get-order-details.d.cts +9 -0
  41. package/dist/actions/get-order-details.d.cts.map +1 -0
  42. package/dist/actions/get-order-details.d.mts +9 -0
  43. package/dist/actions/get-order-details.d.mts.map +1 -0
  44. package/dist/actions/get-order-details.mjs +44 -0
  45. package/dist/actions/get-order-details.mjs.map +1 -0
  46. package/dist/actions/index.cjs +15 -0
  47. package/dist/actions/index.d.cts +8 -0
  48. package/dist/actions/index.d.mts +8 -0
  49. package/dist/actions/index.mjs +8 -0
  50. package/dist/actions/list-pending-orders.cjs +45 -0
  51. package/dist/actions/list-pending-orders.cjs.map +1 -0
  52. package/dist/actions/list-pending-orders.d.cts +9 -0
  53. package/dist/actions/list-pending-orders.d.cts.map +1 -0
  54. package/dist/actions/list-pending-orders.d.mts +9 -0
  55. package/dist/actions/list-pending-orders.d.mts.map +1 -0
  56. package/dist/actions/list-pending-orders.mjs +44 -0
  57. package/dist/actions/list-pending-orders.mjs.map +1 -0
  58. package/dist/actions/validate-user.cjs +21 -0
  59. package/dist/actions/validate-user.cjs.map +1 -0
  60. package/dist/actions/validate-user.d.cts +9 -0
  61. package/dist/actions/validate-user.d.cts.map +1 -0
  62. package/dist/actions/validate-user.d.mts +9 -0
  63. package/dist/actions/validate-user.d.mts.map +1 -0
  64. package/dist/actions/validate-user.mjs +18 -0
  65. package/dist/actions/validate-user.mjs.map +1 -0
  66. package/dist/app.cjs +9 -0
  67. package/dist/app.cjs.map +1 -0
  68. package/dist/app.d.cts +5 -0
  69. package/dist/app.d.cts.map +1 -0
  70. package/dist/app.d.mts +5 -0
  71. package/dist/app.d.mts.map +1 -0
  72. package/dist/app.mjs +10 -0
  73. package/dist/app.mjs.map +1 -0
  74. package/dist/catalog.cjs +15 -0
  75. package/dist/catalog.cjs.map +1 -0
  76. package/dist/catalog.d.cts +14 -0
  77. package/dist/catalog.d.cts.map +1 -0
  78. package/dist/catalog.d.mts +14 -0
  79. package/dist/catalog.d.mts.map +1 -0
  80. package/dist/catalog.mjs +15 -0
  81. package/dist/catalog.mjs.map +1 -0
  82. package/dist/execute.cjs +18 -0
  83. package/dist/execute.cjs.map +1 -0
  84. package/dist/execute.mjs +18 -0
  85. package/dist/execute.mjs.map +1 -0
  86. package/dist/index.cjs +20 -0
  87. package/dist/index.d.cts +10 -0
  88. package/dist/index.d.mts +10 -0
  89. package/dist/index.mjs +11 -0
  90. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/remote_retrieval
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `remote_retrieval`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 7
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { remoteRetrievalCreateOrder } from "@keystrokehq/remote_retrieval/actions";
12
+
13
+ export default defineAgent({
14
+ key: "remote_retrieval-agent",
15
+ tools: [remoteRetrievalCreateOrder],
16
+ });
17
+ ```
@@ -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.remoteRetrieval.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.executeRemoteRetrievalTool(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":["remoteRetrieval","executeRemoteRetrievalTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { remoteRetrieval } from \"./app\";\nimport { executeRemoteRetrievalTool } 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 remoteRetrieval.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 executeRemoteRetrievalTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,gBAAgB,OAAO;EAC5B,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,2BAA2B,MAAM,KAAgC,CAAC;EAClG;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { remoteRetrieval } from "./app.mjs";
2
+ import { executeRemoteRetrievalTool } 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 remoteRetrieval.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 executeRemoteRetrievalTool(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 { remoteRetrieval } from \"./app\";\nimport { executeRemoteRetrievalTool } 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 remoteRetrieval.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 executeRemoteRetrievalTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,gBAAgB,OAAO;EAC5B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,2BAA2B,MAAM,KAAgC,CAAC;EAClG;CACF,CAAC;AACH"}
@@ -0,0 +1,66 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-order.ts
4
+ const RemoteRetrievalCreateOrderInput = zod.z.object({ orders: zod.z.array(zod.z.object({
5
+ ins_active: zod.z.string().describe("Set to '1' to enable insurance for the shipment, omit or set to other value to disable").optional(),
6
+ ins_amount: zod.z.number().describe("Insurance amount in USD. Required if ins_active is '1'. Should reflect the value of the equipment being shipped").optional(),
7
+ order_type: zod.z.enum(["Return To Company", "Recycle with Data Destruction"]).describe("Order type specifying how to handle the asset"),
8
+ company_info: zod.z.object({
9
+ email: zod.z.string().describe("Company email address for communication"),
10
+ phone: zod.z.string().describe("Company phone number including country code"),
11
+ return_address_zip: zod.z.string().describe("Company postal/ZIP code"),
12
+ return_person_name: zod.z.string().describe("Company contact person name for receiving returned assets"),
13
+ return_address_city: zod.z.string().describe("Company city"),
14
+ return_company_name: zod.z.string().describe("Company name"),
15
+ return_address_state: zod.z.string().describe("Company state or province"),
16
+ return_address_line_1: zod.z.string().describe("Company primary address line"),
17
+ return_address_line_2: zod.z.string().default("").describe("Company secondary address line (optional, but must be present as empty string if not provided)").optional(),
18
+ return_address_country: zod.z.string().describe("Company country")
19
+ }).describe("Information about the company where the asset should be returned"),
20
+ employee_info: zod.z.object({
21
+ name: zod.z.string().describe("Employee full name"),
22
+ email: zod.z.string().describe("Employee email address for communication"),
23
+ phone: zod.z.string().describe("Employee phone number including country code"),
24
+ address_zip: zod.z.string().describe("Employee postal/ZIP code"),
25
+ address_city: zod.z.string().describe("Employee city"),
26
+ address_state: zod.z.string().describe("Employee state or province"),
27
+ address_line_1: zod.z.string().describe("Employee primary address line"),
28
+ address_line_2: zod.z.string().default("").describe("Employee secondary address line (optional, but must be present as empty string if not provided)").optional(),
29
+ address_country: zod.z.string().describe("Employee country")
30
+ }).describe("Information about the employee from whom the asset will be retrieved"),
31
+ return_add_srv: zod.z.union([zod.z.literal(1), zod.z.literal(2)]).describe("Additional services for Return To Company orders").optional(),
32
+ new_employee_info: zod.z.object({
33
+ name: zod.z.string().describe("New employee full name"),
34
+ email: zod.z.string().describe("New employee email address"),
35
+ phone: zod.z.string().describe("New employee phone number including country code"),
36
+ address_zip: zod.z.string().describe("New employee postal/ZIP code"),
37
+ address_city: zod.z.string().describe("New employee city"),
38
+ address_state: zod.z.string().describe("New employee state or province"),
39
+ address_line_1: zod.z.string().describe("New employee primary address line"),
40
+ address_line_2: zod.z.string().default("").describe("New employee secondary address line (optional, but must be present as empty string if not provided)").optional(),
41
+ address_country: zod.z.string().describe("New employee country")
42
+ }).describe("New employee information for delivery (required when return_add_srv=2)").optional(),
43
+ type_of_equipment: zod.z.enum([
44
+ "Laptop",
45
+ "Monitor",
46
+ "Cell Phone",
47
+ "Tablet"
48
+ ]).describe("Type of equipment to be retrieved")
49
+ }).describe("Individual order item for IT asset retrieval")).describe("List of order items to create. Can create single or multiple orders in one request") }).describe("Request model for creating IT asset retrieval orders");
50
+ const RemoteRetrievalCreateOrderOutput = zod.z.object({
51
+ order: zod.z.string().describe("Created order ID").nullable().optional(),
52
+ status: zod.z.string().describe("Status indicator").nullable().optional(),
53
+ message: zod.z.string().describe("Response message from the API").nullable().optional(),
54
+ response_code: zod.z.number().int().describe("HTTP response code").nullable().optional()
55
+ }).describe("Response model for order creation");
56
+ const remoteRetrievalCreateOrder = require_action.action("REMOTE_RETRIEVAL_CREATE_ORDER", {
57
+ slug: "remote_retrieval-create-order",
58
+ name: "Create Order",
59
+ description: "Tool to create IT asset retrieval orders for remote employees. Use when you need to schedule pickup of laptops, monitors, cell phones, or tablets from employees. Supports both return-to-company and recycle-with-data-destruction workflows.",
60
+ input: RemoteRetrievalCreateOrderInput,
61
+ output: RemoteRetrievalCreateOrderOutput
62
+ });
63
+ //#endregion
64
+ exports.remoteRetrievalCreateOrder = remoteRetrievalCreateOrder;
65
+
66
+ //# sourceMappingURL=create-order.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-order.cjs","names":["z","action"],"sources":["../../src/actions/create-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalCreateOrderInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n ins_active: z.string().describe(\"Set to '1' to enable insurance for the shipment, omit or set to other value to disable\").optional(),\n ins_amount: z.number().describe(\"Insurance amount in USD. Required if ins_active is '1'. Should reflect the value of the equipment being shipped\").optional(),\n order_type: z.enum([\"Return To Company\", \"Recycle with Data Destruction\"]).describe(\"Order type specifying how to handle the asset\"),\n company_info: z.object({\n email: z.string().describe(\"Company email address for communication\"),\n phone: z.string().describe(\"Company phone number including country code\"),\n return_address_zip: z.string().describe(\"Company postal/ZIP code\"),\n return_person_name: z.string().describe(\"Company contact person name for receiving returned assets\"),\n return_address_city: z.string().describe(\"Company city\"),\n return_company_name: z.string().describe(\"Company name\"),\n return_address_state: z.string().describe(\"Company state or province\"),\n return_address_line_1: z.string().describe(\"Company primary address line\"),\n return_address_line_2: z.string().default(\"\").describe(\"Company secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n return_address_country: z.string().describe(\"Company country\"),\n}).describe(\"Information about the company where the asset should be returned\"),\n employee_info: z.object({\n name: z.string().describe(\"Employee full name\"),\n email: z.string().describe(\"Employee email address for communication\"),\n phone: z.string().describe(\"Employee phone number including country code\"),\n address_zip: z.string().describe(\"Employee postal/ZIP code\"),\n address_city: z.string().describe(\"Employee city\"),\n address_state: z.string().describe(\"Employee state or province\"),\n address_line_1: z.string().describe(\"Employee primary address line\"),\n address_line_2: z.string().default(\"\").describe(\"Employee secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n address_country: z.string().describe(\"Employee country\"),\n}).describe(\"Information about the employee from whom the asset will be retrieved\"),\n return_add_srv: z.union([z.literal(1), z.literal(2)]).describe(\"Additional services for Return To Company orders\").optional(),\n new_employee_info: z.object({\n name: z.string().describe(\"New employee full name\"),\n email: z.string().describe(\"New employee email address\"),\n phone: z.string().describe(\"New employee phone number including country code\"),\n address_zip: z.string().describe(\"New employee postal/ZIP code\"),\n address_city: z.string().describe(\"New employee city\"),\n address_state: z.string().describe(\"New employee state or province\"),\n address_line_1: z.string().describe(\"New employee primary address line\"),\n address_line_2: z.string().default(\"\").describe(\"New employee secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n address_country: z.string().describe(\"New employee country\"),\n}).describe(\"New employee information for delivery (required when return_add_srv=2)\").optional(),\n type_of_equipment: z.enum([\"Laptop\", \"Monitor\", \"Cell Phone\", \"Tablet\"]).describe(\"Type of equipment to be retrieved\"),\n}).describe(\"Individual order item for IT asset retrieval\")).describe(\"List of order items to create. Can create single or multiple orders in one request\"),\n}).describe(\"Request model for creating IT asset retrieval orders\");\nexport const RemoteRetrievalCreateOrderOutput: z.ZodTypeAny = z.object({\n order: z.string().describe(\"Created order ID\").nullable().optional(),\n status: z.string().describe(\"Status indicator\").nullable().optional(),\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP response code\").nullable().optional(),\n}).describe(\"Response model for order creation\");\n\nexport const remoteRetrievalCreateOrder = action(\"REMOTE_RETRIEVAL_CREATE_ORDER\", {\n slug: \"remote_retrieval-create-order\",\n name: \"Create Order\",\n description: \"Tool to create IT asset retrieval orders for remote employees. Use when you need to schedule pickup of laptops, monitors, cell phones, or tablets from employees. Supports both return-to-company and recycle-with-data-destruction workflows.\",\n input: RemoteRetrievalCreateOrderInput,\n output: RemoteRetrievalCreateOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,YAAYA,IAAAA,EAAE,KAAK,CAAC,qBAAqB,+BAA+B,CAAC,CAAC,CAAC,SAAS,+CAA+C;CACnI,cAAcA,IAAAA,EAAE,OAAO;EACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACjE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACnG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACvD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACvD,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrE,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzE,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EAClK,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC/D,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC5E,eAAeA,IA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AAC,SAAS,mCAAmC;EACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAChK,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC7D,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAW;EAAc;CAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;AACvH,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,oFAAoF,EAC1J,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,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/create-order.d.ts
4
+ declare const RemoteRetrievalCreateOrderInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalCreateOrderOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalCreateOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalCreateOrder };
9
+ //# sourceMappingURL=create-order.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-order.d.cts","names":[],"sources":["../../src/actions/create-order.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UA0CmB;AAAA,cACtD,gCAAA,EAAkC,CAAA,CAAE,UAKD;AAAA,cAEnC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-order.d.ts
4
+ declare const RemoteRetrievalCreateOrderInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalCreateOrderOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalCreateOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalCreateOrder };
9
+ //# sourceMappingURL=create-order.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-order.d.mts","names":[],"sources":["../../src/actions/create-order.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UA0CmB;AAAA,cACtD,gCAAA,EAAkC,CAAA,CAAE,UAKD;AAAA,cAEnC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,63 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const remoteRetrievalCreateOrder = action("REMOTE_RETRIEVAL_CREATE_ORDER", {
4
+ slug: "remote_retrieval-create-order",
5
+ name: "Create Order",
6
+ description: "Tool to create IT asset retrieval orders for remote employees. Use when you need to schedule pickup of laptops, monitors, cell phones, or tablets from employees. Supports both return-to-company and recycle-with-data-destruction workflows.",
7
+ input: z.object({ orders: z.array(z.object({
8
+ ins_active: z.string().describe("Set to '1' to enable insurance for the shipment, omit or set to other value to disable").optional(),
9
+ ins_amount: z.number().describe("Insurance amount in USD. Required if ins_active is '1'. Should reflect the value of the equipment being shipped").optional(),
10
+ order_type: z.enum(["Return To Company", "Recycle with Data Destruction"]).describe("Order type specifying how to handle the asset"),
11
+ company_info: z.object({
12
+ email: z.string().describe("Company email address for communication"),
13
+ phone: z.string().describe("Company phone number including country code"),
14
+ return_address_zip: z.string().describe("Company postal/ZIP code"),
15
+ return_person_name: z.string().describe("Company contact person name for receiving returned assets"),
16
+ return_address_city: z.string().describe("Company city"),
17
+ return_company_name: z.string().describe("Company name"),
18
+ return_address_state: z.string().describe("Company state or province"),
19
+ return_address_line_1: z.string().describe("Company primary address line"),
20
+ return_address_line_2: z.string().default("").describe("Company secondary address line (optional, but must be present as empty string if not provided)").optional(),
21
+ return_address_country: z.string().describe("Company country")
22
+ }).describe("Information about the company where the asset should be returned"),
23
+ employee_info: z.object({
24
+ name: z.string().describe("Employee full name"),
25
+ email: z.string().describe("Employee email address for communication"),
26
+ phone: z.string().describe("Employee phone number including country code"),
27
+ address_zip: z.string().describe("Employee postal/ZIP code"),
28
+ address_city: z.string().describe("Employee city"),
29
+ address_state: z.string().describe("Employee state or province"),
30
+ address_line_1: z.string().describe("Employee primary address line"),
31
+ address_line_2: z.string().default("").describe("Employee secondary address line (optional, but must be present as empty string if not provided)").optional(),
32
+ address_country: z.string().describe("Employee country")
33
+ }).describe("Information about the employee from whom the asset will be retrieved"),
34
+ return_add_srv: z.union([z.literal(1), z.literal(2)]).describe("Additional services for Return To Company orders").optional(),
35
+ new_employee_info: z.object({
36
+ name: z.string().describe("New employee full name"),
37
+ email: z.string().describe("New employee email address"),
38
+ phone: z.string().describe("New employee phone number including country code"),
39
+ address_zip: z.string().describe("New employee postal/ZIP code"),
40
+ address_city: z.string().describe("New employee city"),
41
+ address_state: z.string().describe("New employee state or province"),
42
+ address_line_1: z.string().describe("New employee primary address line"),
43
+ address_line_2: z.string().default("").describe("New employee secondary address line (optional, but must be present as empty string if not provided)").optional(),
44
+ address_country: z.string().describe("New employee country")
45
+ }).describe("New employee information for delivery (required when return_add_srv=2)").optional(),
46
+ type_of_equipment: z.enum([
47
+ "Laptop",
48
+ "Monitor",
49
+ "Cell Phone",
50
+ "Tablet"
51
+ ]).describe("Type of equipment to be retrieved")
52
+ }).describe("Individual order item for IT asset retrieval")).describe("List of order items to create. Can create single or multiple orders in one request") }).describe("Request model for creating IT asset retrieval orders"),
53
+ output: z.object({
54
+ order: z.string().describe("Created order ID").nullable().optional(),
55
+ status: z.string().describe("Status indicator").nullable().optional(),
56
+ message: z.string().describe("Response message from the API").nullable().optional(),
57
+ response_code: z.number().int().describe("HTTP response code").nullable().optional()
58
+ }).describe("Response model for order creation")
59
+ });
60
+ //#endregion
61
+ export { remoteRetrievalCreateOrder };
62
+
63
+ //# sourceMappingURL=create-order.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-order.mjs","names":[],"sources":["../../src/actions/create-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalCreateOrderInput: z.ZodTypeAny = z.object({\n orders: z.array(z.object({\n ins_active: z.string().describe(\"Set to '1' to enable insurance for the shipment, omit or set to other value to disable\").optional(),\n ins_amount: z.number().describe(\"Insurance amount in USD. Required if ins_active is '1'. Should reflect the value of the equipment being shipped\").optional(),\n order_type: z.enum([\"Return To Company\", \"Recycle with Data Destruction\"]).describe(\"Order type specifying how to handle the asset\"),\n company_info: z.object({\n email: z.string().describe(\"Company email address for communication\"),\n phone: z.string().describe(\"Company phone number including country code\"),\n return_address_zip: z.string().describe(\"Company postal/ZIP code\"),\n return_person_name: z.string().describe(\"Company contact person name for receiving returned assets\"),\n return_address_city: z.string().describe(\"Company city\"),\n return_company_name: z.string().describe(\"Company name\"),\n return_address_state: z.string().describe(\"Company state or province\"),\n return_address_line_1: z.string().describe(\"Company primary address line\"),\n return_address_line_2: z.string().default(\"\").describe(\"Company secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n return_address_country: z.string().describe(\"Company country\"),\n}).describe(\"Information about the company where the asset should be returned\"),\n employee_info: z.object({\n name: z.string().describe(\"Employee full name\"),\n email: z.string().describe(\"Employee email address for communication\"),\n phone: z.string().describe(\"Employee phone number including country code\"),\n address_zip: z.string().describe(\"Employee postal/ZIP code\"),\n address_city: z.string().describe(\"Employee city\"),\n address_state: z.string().describe(\"Employee state or province\"),\n address_line_1: z.string().describe(\"Employee primary address line\"),\n address_line_2: z.string().default(\"\").describe(\"Employee secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n address_country: z.string().describe(\"Employee country\"),\n}).describe(\"Information about the employee from whom the asset will be retrieved\"),\n return_add_srv: z.union([z.literal(1), z.literal(2)]).describe(\"Additional services for Return To Company orders\").optional(),\n new_employee_info: z.object({\n name: z.string().describe(\"New employee full name\"),\n email: z.string().describe(\"New employee email address\"),\n phone: z.string().describe(\"New employee phone number including country code\"),\n address_zip: z.string().describe(\"New employee postal/ZIP code\"),\n address_city: z.string().describe(\"New employee city\"),\n address_state: z.string().describe(\"New employee state or province\"),\n address_line_1: z.string().describe(\"New employee primary address line\"),\n address_line_2: z.string().default(\"\").describe(\"New employee secondary address line (optional, but must be present as empty string if not provided)\").optional(),\n address_country: z.string().describe(\"New employee country\"),\n}).describe(\"New employee information for delivery (required when return_add_srv=2)\").optional(),\n type_of_equipment: z.enum([\"Laptop\", \"Monitor\", \"Cell Phone\", \"Tablet\"]).describe(\"Type of equipment to be retrieved\"),\n}).describe(\"Individual order item for IT asset retrieval\")).describe(\"List of order items to create. Can create single or multiple orders in one request\"),\n}).describe(\"Request model for creating IT asset retrieval orders\");\nexport const RemoteRetrievalCreateOrderOutput: z.ZodTypeAny = z.object({\n order: z.string().describe(\"Created order ID\").nullable().optional(),\n status: z.string().describe(\"Status indicator\").nullable().optional(),\n message: z.string().describe(\"Response message from the API\").nullable().optional(),\n response_code: z.number().int().describe(\"HTTP response code\").nullable().optional(),\n}).describe(\"Response model for order creation\");\n\nexport const remoteRetrievalCreateOrder = action(\"REMOTE_RETRIEVAL_CREATE_ORDER\", {\n slug: \"remote_retrieval-create-order\",\n name: \"Create Order\",\n description: \"Tool to create IT asset retrieval orders for remote employees. Use when you need to schedule pickup of laptops, monitors, cell phones, or tablets from employees. Supports both return-to-company and recycle-with-data-destruction workflows.\",\n input: RemoteRetrievalCreateOrderInput,\n output: RemoteRetrievalCreateOrderOutput,\n});\n"],"mappings":";;AAsDA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtD2D,EAAE,OAAO,EACpE,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC5J,YAAY,EAAE,KAAK,CAAC,qBAAqB,+BAA+B,CAAC,CAAC,CAAC,SAAS,+CAA+C;EACnI,cAAc,EAAE,OAAO;GACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;GACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;GACxE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;GACjE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;GACnG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACvD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACvD,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;GACrE,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;GACz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BAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;GAChK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAC7D,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,KAAK;GAAC;GAAU;GAAW;GAAc;EAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;CACvH,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,CAAC,SAAS,oFAAoF,EAC1J,CAAC,CAAC,CAAC,SAAS,sDAYH;CACP,QAZ4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -0,0 +1,47 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-all-orders.ts
4
+ const RemoteRetrievalGetAllOrdersInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number for pagination (must be ≥ 1).").optional(),
6
+ status: zod.z.string().describe("Filter orders by status, e.g., 'pending' or 'completed'.").optional(),
7
+ to_date: zod.z.string().describe("ISO 8601 end date for filtering orders, e.g., '2023-01-31T23:59:59Z'.").optional(),
8
+ per_page: zod.z.number().int().describe("Number of orders per page (1–100).").optional(),
9
+ from_date: zod.z.string().describe("ISO 8601 start date for filtering orders, e.g., '2023-01-01T00:00:00Z'.").optional()
10
+ }).describe("Request parameters for retrieving paginated orders.");
11
+ const RemoteRetrievalGetAllOrders_OrderItemSchema = zod.z.object({
12
+ name: zod.z.string().describe("Name of the item."),
13
+ price: zod.z.number().describe("Price per item."),
14
+ item_id: zod.z.string().describe("Item identifier."),
15
+ quantity: zod.z.number().int().describe("Quantity ordered (must be ≥ 1).")
16
+ });
17
+ const RemoteRetrievalGetAllOrders_OrderSchema = zod.z.object({
18
+ id: zod.z.string().describe("Unique order identifier."),
19
+ items: zod.z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe("List of order items."),
20
+ total: zod.z.number().describe("Total order amount."),
21
+ status: zod.z.string().describe("Current order status."),
22
+ currency: zod.z.string().describe("ISO currency code, e.g., 'USD'."),
23
+ created_at: zod.z.string().describe("ISO 8601 creation timestamp."),
24
+ updated_at: zod.z.string().describe("ISO 8601 last update timestamp."),
25
+ customer_id: zod.z.string().describe("Customer identifier.")
26
+ });
27
+ const RemoteRetrievalGetAllOrdersOutput = zod.z.object({
28
+ page: zod.z.number().int().describe("Current page number.").nullable().optional(),
29
+ total: zod.z.number().int().describe("Total number of orders.").nullable().optional(),
30
+ orders: zod.z.array(RemoteRetrievalGetAllOrders_OrderSchema).describe("List of order records.").nullable().optional(),
31
+ status: zod.z.string().describe("Status from the API (e.g., 'Success' or 'Fail').").nullable().optional(),
32
+ message: zod.z.string().describe("Message from the API (e.g., 'Data not found!' when no orders exist).").nullable().optional(),
33
+ per_page: zod.z.number().int().describe("Number of orders per page.").nullable().optional(),
34
+ total_pages: zod.z.number().int().describe("Total number of pages.").nullable().optional(),
35
+ response_code: zod.z.number().int().describe("Response code from the API.").nullable().optional()
36
+ }).describe("Response model for retrieving all orders. Supports two scenarios:\n1. Success with orders - returns orders list with pagination info\n2. No data found - returns message, status, and response_code");
37
+ const remoteRetrievalGetAllOrders = require_action.action("REMOTE_RETRIEVAL_GET_ALL_ORDERS", {
38
+ slug: "remote_retrieval-get-all-orders",
39
+ name: "Get All Orders",
40
+ description: "Tool to retrieve a paginated list of all orders. Use when you need to list orders with optional filters like status or dates. Call after authentication.",
41
+ input: RemoteRetrievalGetAllOrdersInput,
42
+ output: RemoteRetrievalGetAllOrdersOutput
43
+ });
44
+ //#endregion
45
+ exports.remoteRetrievalGetAllOrders = remoteRetrievalGetAllOrders;
46
+
47
+ //# sourceMappingURL=get-all-orders.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-orders.cjs","names":["z","action"],"sources":["../../src/actions/get-all-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetAllOrdersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be ≥ 1).\").optional(),\n status: z.string().describe(\"Filter orders by status, e.g., 'pending' or 'completed'.\").optional(),\n to_date: z.string().describe(\"ISO 8601 end date for filtering orders, e.g., '2023-01-31T23:59:59Z'.\").optional(),\n per_page: z.number().int().describe(\"Number of orders per page (1–100).\").optional(),\n from_date: z.string().describe(\"ISO 8601 start date for filtering orders, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n}).describe(\"Request parameters for retrieving paginated orders.\");\nconst RemoteRetrievalGetAllOrders_OrderItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the item.\"),\n price: z.number().describe(\"Price per item.\"),\n item_id: z.string().describe(\"Item identifier.\"),\n quantity: z.number().int().describe(\"Quantity ordered (must be ≥ 1).\"),\n});\nconst RemoteRetrievalGetAllOrders_OrderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique order identifier.\"),\n items: z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe(\"List of order items.\"),\n total: z.number().describe(\"Total order amount.\"),\n status: z.string().describe(\"Current order status.\"),\n currency: z.string().describe(\"ISO currency code, e.g., 'USD'.\"),\n created_at: z.string().describe(\"ISO 8601 creation timestamp.\"),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp.\"),\n customer_id: z.string().describe(\"Customer identifier.\"),\n});\nexport const RemoteRetrievalGetAllOrdersOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of orders.\").nullable().optional(),\n orders: z.array(RemoteRetrievalGetAllOrders_OrderSchema).describe(\"List of order records.\").nullable().optional(),\n status: z.string().describe(\"Status from the API (e.g., 'Success' or 'Fail').\").nullable().optional(),\n message: z.string().describe(\"Message from the API (e.g., 'Data not found!' when no orders exist).\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of orders per page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n response_code: z.number().int().describe(\"Response code from the API.\").nullable().optional(),\n}).describe(\"Response model for retrieving all orders. Supports two scenarios:\\n1. Success with orders - returns orders list with pagination info\\n2. No data found - returns message, status, and response_code\");\n\nexport const remoteRetrievalGetAllOrders = action(\"REMOTE_RETRIEVAL_GET_ALL_ORDERS\", {\n slug: \"remote_retrieval-get-all-orders\",\n name: \"Get All Orders\",\n description: \"Tool to retrieve a paginated list of all orders. Use when you need to list orders with optional filters like status or dates. Call after authentication.\",\n input: RemoteRetrievalGetAllOrdersInput,\n output: RemoteRetrievalGetAllOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC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C,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,qMAAqM;AAEjN,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,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/get-all-orders.d.ts
4
+ declare const RemoteRetrievalGetAllOrdersInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalGetAllOrdersOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalGetAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalGetAllOrders };
9
+ //# sourceMappingURL=get-all-orders.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-orders.d.cts","names":[],"sources":["../../src/actions/get-all-orders.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAMiB;AAAA,cAiBrD,iCAAA,EAAmC,CAAA,CAAE,UASgK;AAAA,cAErM,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-all-orders.d.ts
4
+ declare const RemoteRetrievalGetAllOrdersInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalGetAllOrdersOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalGetAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalGetAllOrders };
9
+ //# sourceMappingURL=get-all-orders.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-orders.d.mts","names":[],"sources":["../../src/actions/get-all-orders.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAMiB;AAAA,cAiBrD,iCAAA,EAAmC,CAAA,CAAE,UASgK;AAAA,cAErM,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-all-orders.ts
4
+ const RemoteRetrievalGetAllOrdersInput = z.object({
5
+ page: z.number().int().describe("Page number for pagination (must be ≥ 1).").optional(),
6
+ status: z.string().describe("Filter orders by status, e.g., 'pending' or 'completed'.").optional(),
7
+ to_date: z.string().describe("ISO 8601 end date for filtering orders, e.g., '2023-01-31T23:59:59Z'.").optional(),
8
+ per_page: z.number().int().describe("Number of orders per page (1–100).").optional(),
9
+ from_date: z.string().describe("ISO 8601 start date for filtering orders, e.g., '2023-01-01T00:00:00Z'.").optional()
10
+ }).describe("Request parameters for retrieving paginated orders.");
11
+ const RemoteRetrievalGetAllOrders_OrderItemSchema = z.object({
12
+ name: z.string().describe("Name of the item."),
13
+ price: z.number().describe("Price per item."),
14
+ item_id: z.string().describe("Item identifier."),
15
+ quantity: z.number().int().describe("Quantity ordered (must be ≥ 1).")
16
+ });
17
+ const RemoteRetrievalGetAllOrders_OrderSchema = z.object({
18
+ id: z.string().describe("Unique order identifier."),
19
+ items: z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe("List of order items."),
20
+ total: z.number().describe("Total order amount."),
21
+ status: z.string().describe("Current order status."),
22
+ currency: z.string().describe("ISO currency code, e.g., 'USD'."),
23
+ created_at: z.string().describe("ISO 8601 creation timestamp."),
24
+ updated_at: z.string().describe("ISO 8601 last update timestamp."),
25
+ customer_id: z.string().describe("Customer identifier.")
26
+ });
27
+ const remoteRetrievalGetAllOrders = action("REMOTE_RETRIEVAL_GET_ALL_ORDERS", {
28
+ slug: "remote_retrieval-get-all-orders",
29
+ name: "Get All Orders",
30
+ description: "Tool to retrieve a paginated list of all orders. Use when you need to list orders with optional filters like status or dates. Call after authentication.",
31
+ input: RemoteRetrievalGetAllOrdersInput,
32
+ output: z.object({
33
+ page: z.number().int().describe("Current page number.").nullable().optional(),
34
+ total: z.number().int().describe("Total number of orders.").nullable().optional(),
35
+ orders: z.array(RemoteRetrievalGetAllOrders_OrderSchema).describe("List of order records.").nullable().optional(),
36
+ status: z.string().describe("Status from the API (e.g., 'Success' or 'Fail').").nullable().optional(),
37
+ message: z.string().describe("Message from the API (e.g., 'Data not found!' when no orders exist).").nullable().optional(),
38
+ per_page: z.number().int().describe("Number of orders per page.").nullable().optional(),
39
+ total_pages: z.number().int().describe("Total number of pages.").nullable().optional(),
40
+ response_code: z.number().int().describe("Response code from the API.").nullable().optional()
41
+ }).describe("Response model for retrieving all orders. Supports two scenarios:\n1. Success with orders - returns orders list with pagination info\n2. No data found - returns message, status, and response_code")
42
+ });
43
+ //#endregion
44
+ export { remoteRetrievalGetAllOrders };
45
+
46
+ //# sourceMappingURL=get-all-orders.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-all-orders.mjs","names":[],"sources":["../../src/actions/get-all-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetAllOrdersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination (must be ≥ 1).\").optional(),\n status: z.string().describe(\"Filter orders by status, e.g., 'pending' or 'completed'.\").optional(),\n to_date: z.string().describe(\"ISO 8601 end date for filtering orders, e.g., '2023-01-31T23:59:59Z'.\").optional(),\n per_page: z.number().int().describe(\"Number of orders per page (1–100).\").optional(),\n from_date: z.string().describe(\"ISO 8601 start date for filtering orders, e.g., '2023-01-01T00:00:00Z'.\").optional(),\n}).describe(\"Request parameters for retrieving paginated orders.\");\nconst RemoteRetrievalGetAllOrders_OrderItemSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the item.\"),\n price: z.number().describe(\"Price per item.\"),\n item_id: z.string().describe(\"Item identifier.\"),\n quantity: z.number().int().describe(\"Quantity ordered (must be ≥ 1).\"),\n});\nconst RemoteRetrievalGetAllOrders_OrderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique order identifier.\"),\n items: z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe(\"List of order items.\"),\n total: z.number().describe(\"Total order amount.\"),\n status: z.string().describe(\"Current order status.\"),\n currency: z.string().describe(\"ISO currency code, e.g., 'USD'.\"),\n created_at: z.string().describe(\"ISO 8601 creation timestamp.\"),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp.\"),\n customer_id: z.string().describe(\"Customer identifier.\"),\n});\nexport const RemoteRetrievalGetAllOrdersOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n total: z.number().int().describe(\"Total number of orders.\").nullable().optional(),\n orders: z.array(RemoteRetrievalGetAllOrders_OrderSchema).describe(\"List of order records.\").nullable().optional(),\n status: z.string().describe(\"Status from the API (e.g., 'Success' or 'Fail').\").nullable().optional(),\n message: z.string().describe(\"Message from the API (e.g., 'Data not found!' when no orders exist).\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of orders per page.\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n response_code: z.number().int().describe(\"Response code from the API.\").nullable().optional(),\n}).describe(\"Response model for retrieving all orders. Supports two scenarios:\\n1. Success with orders - returns orders list with pagination info\\n2. No data found - returns message, status, and response_code\");\n\nexport const remoteRetrievalGetAllOrders = action(\"REMOTE_RETRIEVAL_GET_ALL_ORDERS\", {\n slug: \"remote_retrieval-get-all-orders\",\n name: \"Get All Orders\",\n description: \"Tool to retrieve a paginated list of all orders. Use when you need to list orders with optional filters like status or dates. Call after authentication.\",\n input: RemoteRetrievalGetAllOrdersInput,\n output: RemoteRetrievalGetAllOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC5C,SAAS,EAAE,O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C,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,qMAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-company-details.ts
4
+ const RemoteRetrievalGetCompanyDetailsInput = zod.z.object({
5
+ company_id: zod.z.string().describe("Unique identifier for the company"),
6
+ expand_contacts: zod.z.boolean().default(false).describe("Whether to include company contact details").optional(),
7
+ industry_filter: zod.z.string().describe("Filter results by industry category").optional(),
8
+ include_financials: zod.z.boolean().default(false).describe("Whether to include financial data").optional()
9
+ }).describe("Request parameters for retrieving company details");
10
+ const RemoteRetrievalGetCompanyDetails_CompanyDataSchema = zod.z.object({
11
+ zip: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
12
+ city: zod.z.string().describe("City name").nullable().optional(),
13
+ state: zod.z.string().describe("State or province").nullable().optional(),
14
+ address_1: zod.z.string().describe("Primary address line").nullable().optional(),
15
+ address_2: zod.z.string().describe("Secondary address line").nullable().optional(),
16
+ company_name: zod.z.string().describe("Company's name or website URL").nullable().optional(),
17
+ created_date: zod.z.string().describe("Record creation date").nullable().optional(),
18
+ company_email: zod.z.string().describe("Company's contact email address").nullable().optional()
19
+ }).describe("Model for company data from the API response");
20
+ const RemoteRetrievalGetCompanyDetailsOutput = zod.z.object({
21
+ data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),
22
+ error: zod.z.string().describe("Error message if request failed").nullable().optional(),
23
+ successfull: zod.z.boolean().describe("Indicates if the request was successful").nullable().optional()
24
+ }).describe("Response schema for company details");
25
+ const remoteRetrievalGetCompanyDetails = require_action.action("REMOTE_RETRIEVAL_GET_COMPANY_DETAILS", {
26
+ slug: "remote_retrieval-get-company-details",
27
+ name: "Get Company Details",
28
+ description: "Tool to retrieve detailed information for a company. Use after confirming a valid company_id.",
29
+ input: RemoteRetrievalGetCompanyDetailsInput,
30
+ output: RemoteRetrievalGetCompanyDetailsOutput
31
+ });
32
+ //#endregion
33
+ exports.remoteRetrievalGetCompanyDetails = remoteRetrievalGetCompanyDetails;
34
+
35
+ //# sourceMappingURL=get-company-details.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company-details.cjs","names":["z","action"],"sources":["../../src/actions/get-company-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetCompanyDetailsInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"Unique identifier for the company\"),\n expand_contacts: z.boolean().default(false).describe(\"Whether to include company contact details\").optional(),\n industry_filter: z.string().describe(\"Filter results by industry category\").optional(),\n include_financials: z.boolean().default(false).describe(\"Whether to include financial data\").optional(),\n}).describe(\"Request parameters for retrieving company details\");\nconst RemoteRetrievalGetCompanyDetails_CompanyDataSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n company_name: z.string().describe(\"Company's name or website URL\").nullable().optional(),\n created_date: z.string().describe(\"Record creation date\").nullable().optional(),\n company_email: z.string().describe(\"Company's contact email address\").nullable().optional(),\n}).describe(\"Model for company data from the API response\");\nexport const RemoteRetrievalGetCompanyDetailsOutput: z.ZodTypeAny = z.object({\n data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if request failed\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the request was successful\").nullable().optional(),\n}).describe(\"Response schema for company details\");\n\nexport const remoteRetrievalGetCompanyDetails = action(\"REMOTE_RETRIEVAL_GET_COMPANY_DETAILS\", {\n slug: \"remote_retrieval-get-company-details\",\n name: \"Get Company Details\",\n description: \"Tool to retrieve detailed information for a company. Use after confirming a valid company_id.\",\n input: RemoteRetrievalGetCompanyDetailsInput,\n output: RemoteRetrievalGetCompanyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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/get-company-details.d.ts
4
+ declare const RemoteRetrievalGetCompanyDetailsInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalGetCompanyDetails };
9
+ //# sourceMappingURL=get-company-details.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company-details.d.cts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKU;AAAA,cAWnD,sCAAA,EAAwC,CAAA,CAAE,UAIL;AAAA,cAErC,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-company-details.d.ts
4
+ declare const RemoteRetrievalGetCompanyDetailsInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalGetCompanyDetails };
9
+ //# sourceMappingURL=get-company-details.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company-details.d.mts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAKU;AAAA,cAWnD,sCAAA,EAAwC,CAAA,CAAE,UAIL;AAAA,cAErC,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-company-details.ts
4
+ const RemoteRetrievalGetCompanyDetailsInput = z.object({
5
+ company_id: z.string().describe("Unique identifier for the company"),
6
+ expand_contacts: z.boolean().default(false).describe("Whether to include company contact details").optional(),
7
+ industry_filter: z.string().describe("Filter results by industry category").optional(),
8
+ include_financials: z.boolean().default(false).describe("Whether to include financial data").optional()
9
+ }).describe("Request parameters for retrieving company details");
10
+ const RemoteRetrievalGetCompanyDetails_CompanyDataSchema = z.object({
11
+ zip: z.string().describe("Postal/ZIP code").nullable().optional(),
12
+ city: z.string().describe("City name").nullable().optional(),
13
+ state: z.string().describe("State or province").nullable().optional(),
14
+ address_1: z.string().describe("Primary address line").nullable().optional(),
15
+ address_2: z.string().describe("Secondary address line").nullable().optional(),
16
+ company_name: z.string().describe("Company's name or website URL").nullable().optional(),
17
+ created_date: z.string().describe("Record creation date").nullable().optional(),
18
+ company_email: z.string().describe("Company's contact email address").nullable().optional()
19
+ }).describe("Model for company data from the API response");
20
+ const remoteRetrievalGetCompanyDetails = action("REMOTE_RETRIEVAL_GET_COMPANY_DETAILS", {
21
+ slug: "remote_retrieval-get-company-details",
22
+ name: "Get Company Details",
23
+ description: "Tool to retrieve detailed information for a company. Use after confirming a valid company_id.",
24
+ input: RemoteRetrievalGetCompanyDetailsInput,
25
+ output: z.object({
26
+ data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),
27
+ error: z.string().describe("Error message if request failed").nullable().optional(),
28
+ successfull: z.boolean().describe("Indicates if the request was successful").nullable().optional()
29
+ }).describe("Response schema for company details")
30
+ });
31
+ //#endregion
32
+ export { remoteRetrievalGetCompanyDetails };
33
+
34
+ //# sourceMappingURL=get-company-details.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-company-details.mjs","names":[],"sources":["../../src/actions/get-company-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetCompanyDetailsInput: z.ZodTypeAny = z.object({\n company_id: z.string().describe(\"Unique identifier for the company\"),\n expand_contacts: z.boolean().default(false).describe(\"Whether to include company contact details\").optional(),\n industry_filter: z.string().describe(\"Filter results by industry category\").optional(),\n include_financials: z.boolean().default(false).describe(\"Whether to include financial data\").optional(),\n}).describe(\"Request parameters for retrieving company details\");\nconst RemoteRetrievalGetCompanyDetails_CompanyDataSchema: z.ZodTypeAny = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n company_name: z.string().describe(\"Company's name or website URL\").nullable().optional(),\n created_date: z.string().describe(\"Record creation date\").nullable().optional(),\n company_email: z.string().describe(\"Company's contact email address\").nullable().optional(),\n}).describe(\"Model for company data from the API response\");\nexport const RemoteRetrievalGetCompanyDetailsOutput: z.ZodTypeAny = z.object({\n data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if request failed\").nullable().optional(),\n successfull: z.boolean().describe(\"Indicates if the request was successful\").nullable().optional(),\n}).describe(\"Response schema for company details\");\n\nexport const remoteRetrievalGetCompanyDetails = action(\"REMOTE_RETRIEVAL_GET_COMPANY_DETAILS\", {\n slug: \"remote_retrieval-get-company-details\",\n name: \"Get Company Details\",\n description: \"Tool to retrieve detailed information for a company. Use after confirming a valid company_id.\",\n input: RemoteRetrievalGetCompanyDetailsInput,\n output: RemoteRetrievalGetCompanyDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,qDAAmE,EAAE,OAAO;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAO1D,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXkE,EAAE,OAAO;EAC3E,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-device-prices.ts
4
+ const RemoteRetrievalGetDevicePricesInput = zod.z.object({}).describe("Request parameters for retrieving device prices. No parameters required.");
5
+ const RemoteRetrievalGetDevicePrices_DevicePriceSchema = zod.z.object({
6
+ option_lbl: zod.z.number().describe("Display label with pricing information"),
7
+ order_amount: zod.z.number().describe("Price amount for the device"),
8
+ equipment_type: zod.z.string().describe("Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone")
9
+ }).describe("Model for individual device pricing information");
10
+ const RemoteRetrievalGetDevicePricesOutput = zod.z.object({ devices: zod.z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe("List of device pricing information for all supported devices") }).describe("Response model for device pricing data");
11
+ const remoteRetrievalGetDevicePrices = require_action.action("REMOTE_RETRIEVAL_GET_DEVICE_PRICES", {
12
+ slug: "remote_retrieval-get-device-prices",
13
+ name: "Get Device Prices",
14
+ description: "Tool to retrieve real-time pricing data for all supported devices. Use when you need current prices for Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone.",
15
+ input: RemoteRetrievalGetDevicePricesInput,
16
+ output: RemoteRetrievalGetDevicePricesOutput
17
+ });
18
+ //#endregion
19
+ exports.remoteRetrievalGetDevicePrices = remoteRetrievalGetDevicePrices;
20
+
21
+ //# sourceMappingURL=get-device-prices.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-device-prices.cjs","names":["z","action"],"sources":["../../src/actions/get-device-prices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetDevicePricesInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for retrieving device prices. No parameters required.\");\nconst RemoteRetrievalGetDevicePrices_DevicePriceSchema: z.ZodTypeAny = z.object({\n option_lbl: z.number().describe(\"Display label with pricing information\"),\n order_amount: z.number().describe(\"Price amount for the device\"),\n equipment_type: z.string().describe(\"Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone\"),\n}).describe(\"Model for individual device pricing information\");\nexport const RemoteRetrievalGetDevicePricesOutput: z.ZodTypeAny = z.object({\n devices: z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe(\"List of device pricing information for all supported devices\"),\n}).describe(\"Response model for device pricing data\");\n\nexport const remoteRetrievalGetDevicePrices = action(\"REMOTE_RETRIEVAL_GET_DEVICE_PRICES\", {\n slug: \"remote_retrieval-get-device-prices\",\n name: \"Get Device Prices\",\n description: \"Tool to retrieve real-time pricing data for all supported devices. Use when you need current prices for Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone.\",\n input: RemoteRetrievalGetDevicePricesInput,\n output: RemoteRetrievalGetDevicePricesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACjK,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC/D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;AACjI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8DAA8D,EAC5I,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,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/get-device-prices.d.ts
4
+ declare const RemoteRetrievalGetDevicePricesInput: z.ZodTypeAny;
5
+ declare const RemoteRetrievalGetDevicePricesOutput: z.ZodTypeAny;
6
+ declare const remoteRetrievalGetDevicePrices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { remoteRetrievalGetDevicePrices };
9
+ //# sourceMappingURL=get-device-prices.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-device-prices.d.cts","names":[],"sources":["../../src/actions/get-device-prices.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAA8G;AAAA,cAMrJ,oCAAA,EAAsC,CAAA,CAAE,UAEA;AAAA,cAExC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}