@keystrokehq/remote_retrieval 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-order.cjs +2 -2
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +101 -3
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +101 -3
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +2 -2
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/get-all-orders.cjs +14 -14
- package/dist/actions/get-all-orders.cjs.map +1 -1
- package/dist/actions/get-all-orders.d.cts +38 -3
- package/dist/actions/get-all-orders.d.cts.map +1 -1
- package/dist/actions/get-all-orders.d.mts +38 -3
- package/dist/actions/get-all-orders.d.mts.map +1 -1
- package/dist/actions/get-all-orders.mjs +14 -14
- package/dist/actions/get-all-orders.mjs.map +1 -1
- package/dist/actions/get-company-details.cjs +2 -2
- package/dist/actions/get-company-details.cjs.map +1 -1
- package/dist/actions/get-company-details.d.cts +26 -3
- package/dist/actions/get-company-details.d.cts.map +1 -1
- package/dist/actions/get-company-details.d.mts +26 -3
- package/dist/actions/get-company-details.d.mts.map +1 -1
- package/dist/actions/get-company-details.mjs +2 -2
- package/dist/actions/get-company-details.mjs.map +1 -1
- package/dist/actions/get-device-prices.cjs +5 -5
- package/dist/actions/get-device-prices.cjs.map +1 -1
- package/dist/actions/get-device-prices.d.cts +9 -3
- package/dist/actions/get-device-prices.d.cts.map +1 -1
- package/dist/actions/get-device-prices.d.mts +9 -3
- package/dist/actions/get-device-prices.d.mts.map +1 -1
- package/dist/actions/get-device-prices.mjs +5 -5
- package/dist/actions/get-device-prices.mjs.map +1 -1
- package/dist/actions/get-order-details.cjs +5 -5
- package/dist/actions/get-order-details.cjs.map +1 -1
- package/dist/actions/get-order-details.d.cts +34 -3
- package/dist/actions/get-order-details.d.cts.map +1 -1
- package/dist/actions/get-order-details.d.mts +34 -3
- package/dist/actions/get-order-details.d.mts.map +1 -1
- package/dist/actions/get-order-details.mjs +5 -5
- package/dist/actions/get-order-details.mjs.map +1 -1
- package/dist/actions/list-pending-orders.cjs +5 -5
- package/dist/actions/list-pending-orders.cjs.map +1 -1
- package/dist/actions/list-pending-orders.d.cts +34 -3
- package/dist/actions/list-pending-orders.d.cts.map +1 -1
- package/dist/actions/list-pending-orders.d.mts +34 -3
- package/dist/actions/list-pending-orders.d.mts.map +1 -1
- package/dist/actions/list-pending-orders.mjs +5 -5
- package/dist/actions/list-pending-orders.mjs.map +1 -1
- package/dist/actions/validate-user.cjs +5 -5
- package/dist/actions/validate-user.cjs.map +1 -1
- package/dist/actions/validate-user.d.cts +8 -3
- package/dist/actions/validate-user.d.cts.map +1 -1
- package/dist/actions/validate-user.d.mts +8 -3
- package/dist/actions/validate-user.d.mts.map +1 -1
- package/dist/actions/validate-user.mjs +5 -5
- package/dist/actions/validate-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +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
|
|
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.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.object({\n name: z.string().describe(\"Name of the item.\").nullable(),\n price: z.number().describe(\"Price per item.\").nullable(),\n item_id: z.string().describe(\"Item identifier.\").nullable(),\n quantity: z.number().int().describe(\"Quantity ordered (must be ≥ 1).\").nullable(),\n}).passthrough();\nconst RemoteRetrievalGetAllOrders_OrderSchema = z.object({\n id: z.string().describe(\"Unique order identifier.\").nullable(),\n items: z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe(\"List of order items.\"),\n total: z.number().describe(\"Total order amount.\").nullable(),\n status: z.string().describe(\"Current order status.\").nullable(),\n currency: z.string().describe(\"ISO currency code, e.g., 'USD'.\").nullable(),\n created_at: z.string().describe(\"ISO 8601 creation timestamp.\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 last update timestamp.\").nullable(),\n customer_id: z.string().describe(\"Customer identifier.\").nullable(),\n}).passthrough();\nexport const RemoteRetrievalGetAllOrdersOutput = 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}).passthrough().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,mCAAmC,EAAE,OAAO;CACvD,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,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,OAAO,EA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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,YAAY,CAAC,CAAC,SAAS,qMAOhB;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ const RemoteRetrievalGetCompanyDetails_CompanyDataSchema = zod.z.object({
|
|
|
16
16
|
company_name: zod.z.string().describe("Company's name or website URL").nullable().optional(),
|
|
17
17
|
created_date: zod.z.string().describe("Record creation date").nullable().optional(),
|
|
18
18
|
company_email: zod.z.string().describe("Company's contact email address").nullable().optional()
|
|
19
|
-
}).describe("Model for company data from the API response");
|
|
19
|
+
}).passthrough().describe("Model for company data from the API response");
|
|
20
20
|
const RemoteRetrievalGetCompanyDetailsOutput = zod.z.object({
|
|
21
21
|
data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),
|
|
22
22
|
error: zod.z.string().describe("Error message if request failed").nullable().optional(),
|
|
23
23
|
successfull: zod.z.boolean().describe("Indicates if the request was successful").nullable().optional()
|
|
24
|
-
}).describe("Response schema for company details");
|
|
24
|
+
}).passthrough().describe("Response schema for company details");
|
|
25
25
|
const remoteRetrievalGetCompanyDetails = require_action.action("REMOTE_RETRIEVAL_GET_COMPANY_DETAILS", {
|
|
26
26
|
slug: "remote_retrieval-get-company-details",
|
|
27
27
|
name: "Get Company Details",
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Model for company data from the API response\");\nexport const RemoteRetrievalGetCompanyDetailsOutput = 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}).passthrough().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,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-company-details.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetCompanyDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetCompanyDetailsInput: z.ZodObject<{
|
|
5
|
+
company_id: z.ZodString;
|
|
6
|
+
expand_contacts: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
industry_filter: z.ZodOptional<z.ZodString>;
|
|
8
|
+
include_financials: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
address_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
address_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
company_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
company_id: string;
|
|
26
|
+
expand_contacts?: boolean | undefined;
|
|
27
|
+
industry_filter?: string | undefined;
|
|
28
|
+
include_financials?: boolean | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { remoteRetrievalGetCompanyDetails };
|
|
9
32
|
//# sourceMappingURL=get-company-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-details.d.cts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-company-details.d.cts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-company-details.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetCompanyDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetCompanyDetailsInput: z.ZodObject<{
|
|
5
|
+
company_id: z.ZodString;
|
|
6
|
+
expand_contacts: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7
|
+
industry_filter: z.ZodOptional<z.ZodString>;
|
|
8
|
+
include_financials: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodObject<{
|
|
11
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
address_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
address_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
company_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
company_id: string;
|
|
26
|
+
expand_contacts?: boolean | undefined;
|
|
27
|
+
industry_filter?: string | undefined;
|
|
28
|
+
include_financials?: boolean | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { remoteRetrievalGetCompanyDetails };
|
|
9
32
|
//# sourceMappingURL=get-company-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-company-details.d.mts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-company-details.d.mts","names":[],"sources":["../../src/actions/get-company-details.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAgBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -16,7 +16,7 @@ const RemoteRetrievalGetCompanyDetails_CompanyDataSchema = z.object({
|
|
|
16
16
|
company_name: z.string().describe("Company's name or website URL").nullable().optional(),
|
|
17
17
|
created_date: z.string().describe("Record creation date").nullable().optional(),
|
|
18
18
|
company_email: z.string().describe("Company's contact email address").nullable().optional()
|
|
19
|
-
}).describe("Model for company data from the API response");
|
|
19
|
+
}).passthrough().describe("Model for company data from the API response");
|
|
20
20
|
const remoteRetrievalGetCompanyDetails = action("REMOTE_RETRIEVAL_GET_COMPANY_DETAILS", {
|
|
21
21
|
slug: "remote_retrieval-get-company-details",
|
|
22
22
|
name: "Get Company Details",
|
|
@@ -26,7 +26,7 @@ const remoteRetrievalGetCompanyDetails = action("REMOTE_RETRIEVAL_GET_COMPANY_DE
|
|
|
26
26
|
data: RemoteRetrievalGetCompanyDetails_CompanyDataSchema.nullable().optional(),
|
|
27
27
|
error: z.string().describe("Error message if request failed").nullable().optional(),
|
|
28
28
|
successfull: z.boolean().describe("Indicates if the request was successful").nullable().optional()
|
|
29
|
-
}).describe("Response schema for company details")
|
|
29
|
+
}).passthrough().describe("Response schema for company details")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { remoteRetrievalGetCompanyDetails };
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Model for company data from the API response\");\nexport const RemoteRetrievalGetCompanyDetailsOutput = 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}).passthrough().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,wCAAwC,EAAE,OAAO;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAA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AAS;EAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-device-prices.ts
|
|
4
4
|
const RemoteRetrievalGetDevicePricesInput = zod.z.object({}).describe("Request parameters for retrieving device prices. No parameters required.");
|
|
5
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");
|
|
6
|
+
option_lbl: zod.z.number().describe("Display label with pricing information").nullable(),
|
|
7
|
+
order_amount: zod.z.number().describe("Price amount for the device").nullable(),
|
|
8
|
+
equipment_type: zod.z.string().describe("Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone").nullable()
|
|
9
|
+
}).passthrough().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") }).passthrough().describe("Response model for device pricing data");
|
|
11
11
|
const remoteRetrievalGetDevicePrices = require_action.action("REMOTE_RETRIEVAL_GET_DEVICE_PRICES", {
|
|
12
12
|
slug: "remote_retrieval-get-device-prices",
|
|
13
13
|
name: "Get Device Prices",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request parameters for retrieving device prices. No parameters required.\");\nconst RemoteRetrievalGetDevicePrices_DevicePriceSchema = z.object({\n option_lbl: z.number().describe(\"Display label with pricing information\").nullable(),\n order_amount: z.number().describe(\"Price amount for the device\").nullable(),\n equipment_type: z.string().describe(\"Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone\").nullable(),\n}).passthrough().describe(\"Model for individual device pricing information\");\nexport const RemoteRetrievalGetDevicePricesOutput = z.object({\n devices: z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe(\"List of device pricing information for all supported devices\"),\n}).passthrough().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,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACnJ,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8DAA8D,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-device-prices.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetDevicePricesInput: z.
|
|
5
|
-
declare const RemoteRetrievalGetDevicePricesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetDevicePricesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RemoteRetrievalGetDevicePricesOutput: z.ZodObject<{
|
|
6
|
+
devices: z.ZodArray<z.ZodObject<{
|
|
7
|
+
option_lbl: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
order_amount: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
equipment_type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const remoteRetrievalGetDevicePrices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { remoteRetrievalGetDevicePrices };
|
|
9
15
|
//# sourceMappingURL=get-device-prices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-device-prices.d.cts","names":[],"sources":["../../src/actions/get-device-prices.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-device-prices.d.cts","names":[],"sources":["../../src/actions/get-device-prices.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-device-prices.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetDevicePricesInput: z.
|
|
5
|
-
declare const RemoteRetrievalGetDevicePricesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetDevicePricesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RemoteRetrievalGetDevicePricesOutput: z.ZodObject<{
|
|
6
|
+
devices: z.ZodArray<z.ZodObject<{
|
|
7
|
+
option_lbl: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
order_amount: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
equipment_type: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const remoteRetrievalGetDevicePrices: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { remoteRetrievalGetDevicePrices };
|
|
9
15
|
//# sourceMappingURL=get-device-prices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-device-prices.d.mts","names":[],"sources":["../../src/actions/get-device-prices.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-device-prices.d.mts","names":[],"sources":["../../src/actions/get-device-prices.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-device-prices.ts
|
|
4
4
|
const RemoteRetrievalGetDevicePricesInput = z.object({}).describe("Request parameters for retrieving device prices. No parameters required.");
|
|
5
5
|
const RemoteRetrievalGetDevicePrices_DevicePriceSchema = z.object({
|
|
6
|
-
option_lbl: z.number().describe("Display label with pricing information"),
|
|
7
|
-
order_amount: z.number().describe("Price amount for the device"),
|
|
8
|
-
equipment_type: 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");
|
|
6
|
+
option_lbl: z.number().describe("Display label with pricing information").nullable(),
|
|
7
|
+
order_amount: z.number().describe("Price amount for the device").nullable(),
|
|
8
|
+
equipment_type: z.string().describe("Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone").nullable()
|
|
9
|
+
}).passthrough().describe("Model for individual device pricing information");
|
|
10
10
|
const remoteRetrievalGetDevicePrices = action("REMOTE_RETRIEVAL_GET_DEVICE_PRICES", {
|
|
11
11
|
slug: "remote_retrieval-get-device-prices",
|
|
12
12
|
name: "Get Device Prices",
|
|
13
13
|
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.",
|
|
14
14
|
input: RemoteRetrievalGetDevicePricesInput,
|
|
15
|
-
output: z.object({ devices: z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe("List of device pricing information for all supported devices") }).describe("Response model for device pricing data")
|
|
15
|
+
output: z.object({ devices: z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe("List of device pricing information for all supported devices") }).passthrough().describe("Response model for device pricing data")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { remoteRetrievalGetDevicePrices };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-device-prices.mjs","names":[],"sources":["../../src/actions/get-device-prices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetDevicePricesInput
|
|
1
|
+
{"version":3,"file":"get-device-prices.mjs","names":[],"sources":["../../src/actions/get-device-prices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetDevicePricesInput = z.object({}).describe(\"Request parameters for retrieving device prices. No parameters required.\");\nconst RemoteRetrievalGetDevicePrices_DevicePriceSchema = z.object({\n option_lbl: z.number().describe(\"Display label with pricing information\").nullable(),\n order_amount: z.number().describe(\"Price amount for the device\").nullable(),\n equipment_type: z.string().describe(\"Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone\").nullable(),\n}).passthrough().describe(\"Model for individual device pricing information\");\nexport const RemoteRetrievalGetDevicePricesOutput = z.object({\n devices: z.array(RemoteRetrievalGetDevicePrices_DevicePriceSchema).describe(\"List of device pricing information for all supported devices\"),\n}).passthrough().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,sCAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACnJ,MAAM,mDAAmD,EAAE,OAAO;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8DAA8D,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RemoteRetrievalGetOrderDetails_ShipmentsSchema = zod.z.object({
|
|
|
6
6
|
device_type: zod.z.string().describe("Type of device being shipped").nullable().optional(),
|
|
7
7
|
send_status: zod.z.string().describe("Status of the outgoing shipment").nullable().optional(),
|
|
8
8
|
return_status: zod.z.string().describe("Status of the return shipment").nullable().optional()
|
|
9
|
-
}).describe("Shipment information for the order");
|
|
9
|
+
}).passthrough().describe("Shipment information for the order");
|
|
10
10
|
const RemoteRetrievalGetOrderDetails_CompanyInfoSchema = zod.z.object({
|
|
11
11
|
zip: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
|
|
12
12
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -15,7 +15,7 @@ const RemoteRetrievalGetOrderDetails_CompanyInfoSchema = zod.z.object({
|
|
|
15
15
|
state: zod.z.string().describe("State or province").nullable().optional(),
|
|
16
16
|
address_line_1: zod.z.string().describe("Primary address line").nullable().optional(),
|
|
17
17
|
address_line_2: zod.z.string().describe("Secondary address line").nullable().optional()
|
|
18
|
-
}).describe("Company information from the order");
|
|
18
|
+
}).passthrough().describe("Company information from the order");
|
|
19
19
|
const RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = zod.z.object({
|
|
20
20
|
zip: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
|
|
21
21
|
city: zod.z.string().describe("City name").nullable().optional(),
|
|
@@ -24,14 +24,14 @@ const RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = zod.z.object({
|
|
|
24
24
|
state: zod.z.string().describe("State or province").nullable().optional(),
|
|
25
25
|
address_line_1: zod.z.string().describe("Primary address line").nullable().optional(),
|
|
26
26
|
address_line_2: zod.z.string().describe("Secondary address line").nullable().optional()
|
|
27
|
-
}).describe("Employee information from the order");
|
|
27
|
+
}).passthrough().describe("Employee information from the order");
|
|
28
28
|
const RemoteRetrievalGetOrderDetails_OrderDetailsSchema = zod.z.object({
|
|
29
29
|
order_id: zod.z.number().int().describe("Unique order identifier").nullable().optional(),
|
|
30
30
|
shipments: RemoteRetrievalGetOrderDetails_ShipmentsSchema.nullable().optional(),
|
|
31
31
|
company_info: RemoteRetrievalGetOrderDetails_CompanyInfoSchema.nullable().optional(),
|
|
32
32
|
employee_info: RemoteRetrievalGetOrderDetails_EmployeeInfoSchema.nullable().optional()
|
|
33
|
-
}).describe("Detailed order information");
|
|
34
|
-
const RemoteRetrievalGetOrderDetailsOutput = zod.z.object({ items: zod.z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe("List of order details records matching the order ID").nullable().optional() }).describe("Response model containing order details including employee info, company info, and shipment status");
|
|
33
|
+
}).passthrough().describe("Detailed order information");
|
|
34
|
+
const RemoteRetrievalGetOrderDetailsOutput = zod.z.object({ items: zod.z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe("List of order details records matching the order ID").nullable().optional() }).passthrough().describe("Response model containing order details including employee info, company info, and shipment status");
|
|
35
35
|
const remoteRetrievalGetOrderDetails = require_action.action("REMOTE_RETRIEVAL_GET_ORDER_DETAILS", {
|
|
36
36
|
slug: "remote_retrieval-get-order-details",
|
|
37
37
|
name: "Get Order Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-details.cjs","names":["z","action"],"sources":["../../src/actions/get-order-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetOrderDetailsInput
|
|
1
|
+
{"version":3,"file":"get-order-details.cjs","names":["z","action"],"sources":["../../src/actions/get-order-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetOrderDetailsInput = z.object({\n oid: z.string().describe(\"Order ID to retrieve details for\"),\n}).describe(\"Request parameters for retrieving order details by order ID\");\nconst RemoteRetrievalGetOrderDetails_ShipmentsSchema = z.object({\n device_type: z.string().describe(\"Type of device being shipped\").nullable().optional(),\n send_status: z.string().describe(\"Status of the outgoing shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).passthrough().describe(\"Shipment information for the order\");\nconst RemoteRetrievalGetOrderDetails_CompanyInfoSchema = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n email: z.string().describe(\"Company contact email address\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_line_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_line_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n}).passthrough().describe(\"Company information from the order\");\nconst RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Employee name\").nullable().optional(),\n email: z.string().describe(\"Employee contact email address\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_line_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_line_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n}).passthrough().describe(\"Employee information from the order\");\nconst RemoteRetrievalGetOrderDetails_OrderDetailsSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalGetOrderDetails_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalGetOrderDetails_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalGetOrderDetails_EmployeeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Detailed order information\");\nexport const RemoteRetrievalGetOrderDetailsOutput = z.object({\n items: z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe(\"List of order details records matching the order ID\").nullable().optional(),\n}).passthrough().describe(\"Response model containing order details including employee info, company info, and shipment status\");\n\nexport const remoteRetrievalGetOrderDetails = action(\"REMOTE_RETRIEVAL_GET_ORDER_DETAILS\", {\n slug: \"remote_retrieval-get-order-details\",\n name: \"Get Order Details\",\n description: \"Tool to retrieve specific order details by order ID. Use when you need detailed information about an order including employee info, company info, and shipment status (device_type, send_status, return_status).\",\n input: RemoteRetrievalGetOrderDetailsInput,\n output: RemoteRetrievalGetOrderDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC7D,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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@@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-order-details.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetOrderDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetOrderDetailsInput: z.ZodObject<{
|
|
5
|
+
oid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
8
|
+
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
order_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
shipments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const remoteRetrievalGetOrderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
oid: string;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { remoteRetrievalGetOrderDetails };
|
|
9
40
|
//# sourceMappingURL=get-order-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-details.d.cts","names":[],"sources":["../../src/actions/get-order-details.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-order-details.d.cts","names":[],"sources":["../../src/actions/get-order-details.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAgCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-order-details.d.ts
|
|
4
|
-
declare const RemoteRetrievalGetOrderDetailsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RemoteRetrievalGetOrderDetailsInput: z.ZodObject<{
|
|
5
|
+
oid: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
8
|
+
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
order_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
shipments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
|
+
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
|
+
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const remoteRetrievalGetOrderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
oid: string;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { remoteRetrievalGetOrderDetails };
|
|
9
40
|
//# sourceMappingURL=get-order-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-details.d.mts","names":[],"sources":["../../src/actions/get-order-details.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"get-order-details.d.mts","names":[],"sources":["../../src/actions/get-order-details.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAgCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const RemoteRetrievalGetOrderDetails_ShipmentsSchema = z.object({
|
|
|
6
6
|
device_type: z.string().describe("Type of device being shipped").nullable().optional(),
|
|
7
7
|
send_status: z.string().describe("Status of the outgoing shipment").nullable().optional(),
|
|
8
8
|
return_status: z.string().describe("Status of the return shipment").nullable().optional()
|
|
9
|
-
}).describe("Shipment information for the order");
|
|
9
|
+
}).passthrough().describe("Shipment information for the order");
|
|
10
10
|
const RemoteRetrievalGetOrderDetails_CompanyInfoSchema = z.object({
|
|
11
11
|
zip: z.string().describe("Postal/ZIP code").nullable().optional(),
|
|
12
12
|
city: z.string().describe("City name").nullable().optional(),
|
|
@@ -15,7 +15,7 @@ const RemoteRetrievalGetOrderDetails_CompanyInfoSchema = z.object({
|
|
|
15
15
|
state: z.string().describe("State or province").nullable().optional(),
|
|
16
16
|
address_line_1: z.string().describe("Primary address line").nullable().optional(),
|
|
17
17
|
address_line_2: z.string().describe("Secondary address line").nullable().optional()
|
|
18
|
-
}).describe("Company information from the order");
|
|
18
|
+
}).passthrough().describe("Company information from the order");
|
|
19
19
|
const RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = z.object({
|
|
20
20
|
zip: z.string().describe("Postal/ZIP code").nullable().optional(),
|
|
21
21
|
city: z.string().describe("City name").nullable().optional(),
|
|
@@ -24,19 +24,19 @@ const RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = z.object({
|
|
|
24
24
|
state: z.string().describe("State or province").nullable().optional(),
|
|
25
25
|
address_line_1: z.string().describe("Primary address line").nullable().optional(),
|
|
26
26
|
address_line_2: z.string().describe("Secondary address line").nullable().optional()
|
|
27
|
-
}).describe("Employee information from the order");
|
|
27
|
+
}).passthrough().describe("Employee information from the order");
|
|
28
28
|
const RemoteRetrievalGetOrderDetails_OrderDetailsSchema = z.object({
|
|
29
29
|
order_id: z.number().int().describe("Unique order identifier").nullable().optional(),
|
|
30
30
|
shipments: RemoteRetrievalGetOrderDetails_ShipmentsSchema.nullable().optional(),
|
|
31
31
|
company_info: RemoteRetrievalGetOrderDetails_CompanyInfoSchema.nullable().optional(),
|
|
32
32
|
employee_info: RemoteRetrievalGetOrderDetails_EmployeeInfoSchema.nullable().optional()
|
|
33
|
-
}).describe("Detailed order information");
|
|
33
|
+
}).passthrough().describe("Detailed order information");
|
|
34
34
|
const remoteRetrievalGetOrderDetails = action("REMOTE_RETRIEVAL_GET_ORDER_DETAILS", {
|
|
35
35
|
slug: "remote_retrieval-get-order-details",
|
|
36
36
|
name: "Get Order Details",
|
|
37
37
|
description: "Tool to retrieve specific order details by order ID. Use when you need detailed information about an order including employee info, company info, and shipment status (device_type, send_status, return_status).",
|
|
38
38
|
input: RemoteRetrievalGetOrderDetailsInput,
|
|
39
|
-
output: z.object({ items: z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe("List of order details records matching the order ID").nullable().optional() }).describe("Response model containing order details including employee info, company info, and shipment status")
|
|
39
|
+
output: z.object({ items: z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe("List of order details records matching the order ID").nullable().optional() }).passthrough().describe("Response model containing order details including employee info, company info, and shipment status")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { remoteRetrievalGetOrderDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-details.mjs","names":[],"sources":["../../src/actions/get-order-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetOrderDetailsInput
|
|
1
|
+
{"version":3,"file":"get-order-details.mjs","names":[],"sources":["../../src/actions/get-order-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalGetOrderDetailsInput = z.object({\n oid: z.string().describe(\"Order ID to retrieve details for\"),\n}).describe(\"Request parameters for retrieving order details by order ID\");\nconst RemoteRetrievalGetOrderDetails_ShipmentsSchema = z.object({\n device_type: z.string().describe(\"Type of device being shipped\").nullable().optional(),\n send_status: z.string().describe(\"Status of the outgoing shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).passthrough().describe(\"Shipment information for the order\");\nconst RemoteRetrievalGetOrderDetails_CompanyInfoSchema = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n email: z.string().describe(\"Company contact email address\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_line_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_line_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n}).passthrough().describe(\"Company information from the order\");\nconst RemoteRetrievalGetOrderDetails_EmployeeInfoSchema = z.object({\n zip: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n city: z.string().describe(\"City name\").nullable().optional(),\n name: z.string().describe(\"Employee name\").nullable().optional(),\n email: z.string().describe(\"Employee contact email address\").nullable().optional(),\n state: z.string().describe(\"State or province\").nullable().optional(),\n address_line_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_line_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n}).passthrough().describe(\"Employee information from the order\");\nconst RemoteRetrievalGetOrderDetails_OrderDetailsSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalGetOrderDetails_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalGetOrderDetails_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalGetOrderDetails_EmployeeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Detailed order information\");\nexport const RemoteRetrievalGetOrderDetailsOutput = z.object({\n items: z.array(RemoteRetrievalGetOrderDetails_OrderDetailsSchema).describe(\"List of order details records matching the order ID\").nullable().optional(),\n}).passthrough().describe(\"Response model containing order details including employee info, company info, and shipment status\");\n\nexport const remoteRetrievalGetOrderDetails = action(\"REMOTE_RETRIEVAL_GET_ORDER_DETAILS\", {\n slug: \"remote_retrieval-get-order-details\",\n name: \"Get Order Details\",\n description: \"Tool to retrieve specific order details by order ID. Use when you need detailed information about an order including employee info, company info, and shipment status (device_type, send_status, return_status).\",\n input: RemoteRetrievalGetOrderDetailsInput,\n output: RemoteRetrievalGetOrderDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EAC7D,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CA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