@keystrokehq/remote_retrieval 0.1.2 → 0.1.4
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/actions/create-order.cjs +2 -2
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +3 -2
- package/dist/actions/create-order.d.mts +3 -2
- package/dist/actions/create-order.mjs +2 -2
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/get-all-orders.cjs +3 -3
- package/dist/actions/get-all-orders.cjs.map +1 -1
- package/dist/actions/get-all-orders.d.cts +3 -3
- package/dist/actions/get-all-orders.d.mts +3 -3
- package/dist/actions/get-all-orders.mjs +3 -3
- 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 +2 -2
- package/dist/actions/get-company-details.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/get-device-prices.cjs.map +1 -1
- package/dist/actions/get-device-prices.d.cts +2 -2
- package/dist/actions/get-device-prices.d.mts +2 -2
- package/dist/actions/get-device-prices.mjs +2 -2
- 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 +5 -5
- package/dist/actions/get-order-details.d.mts +5 -5
- 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 +5 -5
- package/dist/actions/list-pending-orders.d.mts +5 -5
- 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 +1 -1
- package/dist/actions/validate-user.cjs.map +1 -1
- package/dist/actions/validate-user.d.cts +1 -1
- package/dist/actions/validate-user.d.mts +1 -1
- package/dist/actions/validate-user.mjs +1 -1
- package/dist/actions/validate-user.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -46,13 +46,13 @@ const RemoteRetrievalCreateOrderInput = zod.z.object({ orders: zod.z.array(zod.z
|
|
|
46
46
|
"Cell Phone",
|
|
47
47
|
"Tablet"
|
|
48
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");
|
|
49
|
+
}).passthrough().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
50
|
const RemoteRetrievalCreateOrderOutput = zod.z.object({
|
|
51
51
|
order: zod.z.string().describe("Created order ID").nullable().optional(),
|
|
52
52
|
status: zod.z.string().describe("Status indicator").nullable().optional(),
|
|
53
53
|
message: zod.z.string().describe("Response message from the API").nullable().optional(),
|
|
54
54
|
response_code: zod.z.number().int().describe("HTTP response code").nullable().optional()
|
|
55
|
-
}).describe("Response model for order creation");
|
|
55
|
+
}).passthrough().describe("Response model for order creation");
|
|
56
56
|
const remoteRetrievalCreateOrder = require_action.action("REMOTE_RETRIEVAL_CREATE_ORDER", {
|
|
57
57
|
slug: "remote_retrieval-create-order",
|
|
58
58
|
name: "Create Order",
|
|
@@ -1 +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.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.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,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,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,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,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACzD,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,gBAAgBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5H,mBAAmBA,IAAAA,EAAE,OAAO;EAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACrD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,
|
|
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.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}).passthrough().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.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}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,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,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AC,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -50,16 +50,17 @@ declare const RemoteRetrievalCreateOrderInput: z.ZodObject<{
|
|
|
50
50
|
"Cell Phone": "Cell Phone";
|
|
51
51
|
Tablet: "Tablet";
|
|
52
52
|
}>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const RemoteRetrievalCreateOrderOutput: z.ZodObject<{
|
|
56
56
|
order: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>;
|
|
61
61
|
declare const remoteRetrievalCreateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
62
62
|
orders: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
order_type: "Return To Company" | "Recycle with Data Destruction";
|
|
64
65
|
company_info: {
|
|
65
66
|
email: string;
|
|
@@ -50,16 +50,17 @@ declare const RemoteRetrievalCreateOrderInput: z.ZodObject<{
|
|
|
50
50
|
"Cell Phone": "Cell Phone";
|
|
51
51
|
Tablet: "Tablet";
|
|
52
52
|
}>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const RemoteRetrievalCreateOrderOutput: z.ZodObject<{
|
|
56
56
|
order: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>;
|
|
61
61
|
declare const remoteRetrievalCreateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
62
62
|
orders: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
order_type: "Return To Company" | "Recycle with Data Destruction";
|
|
64
65
|
company_info: {
|
|
65
66
|
email: string;
|
|
@@ -49,13 +49,13 @@ const remoteRetrievalCreateOrder = action("REMOTE_RETRIEVAL_CREATE_ORDER", {
|
|
|
49
49
|
"Cell Phone",
|
|
50
50
|
"Tablet"
|
|
51
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"),
|
|
52
|
+
}).passthrough().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
53
|
output: z.object({
|
|
54
54
|
order: z.string().describe("Created order ID").nullable().optional(),
|
|
55
55
|
status: z.string().describe("Status indicator").nullable().optional(),
|
|
56
56
|
message: z.string().describe("Response message from the API").nullable().optional(),
|
|
57
57
|
response_code: z.number().int().describe("HTTP response code").nullable().optional()
|
|
58
|
-
}).describe("Response model for order creation")
|
|
58
|
+
}).passthrough().describe("Response model for order creation")
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { remoteRetrievalCreateOrder };
|
|
@@ -1 +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.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.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,OAtD6C,EAAE,OAAO,EACtD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,YAAY,EAAE,O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O,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;GAC5J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACzD,CAAC,CAAC,CAAC,SAAS,sEAAsE;EAChF,gBAAgB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5H,mBAAmB,EAAE,OAAO;GAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;GAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;GACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;GAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;GACrD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;GACnE,gBAAgB,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,
|
|
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.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}).passthrough().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.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}).passthrough().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,OAtD6C,EAAE,OAAO,EACtD,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,C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,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const RemoteRetrievalGetAllOrders_OrderItemSchema = zod.z.object({
|
|
|
13
13
|
price: zod.z.number().describe("Price per item.").nullable(),
|
|
14
14
|
item_id: zod.z.string().describe("Item identifier.").nullable(),
|
|
15
15
|
quantity: zod.z.number().int().describe("Quantity ordered (must be ≥ 1).").nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const RemoteRetrievalGetAllOrders_OrderSchema = zod.z.object({
|
|
18
18
|
id: zod.z.string().describe("Unique order identifier.").nullable(),
|
|
19
19
|
items: zod.z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe("List of order items."),
|
|
@@ -23,7 +23,7 @@ const RemoteRetrievalGetAllOrders_OrderSchema = zod.z.object({
|
|
|
23
23
|
created_at: zod.z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
24
24
|
updated_at: zod.z.string().describe("ISO 8601 last update timestamp.").nullable(),
|
|
25
25
|
customer_id: zod.z.string().describe("Customer identifier.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const RemoteRetrievalGetAllOrdersOutput = zod.z.object({
|
|
28
28
|
page: zod.z.number().int().describe("Current page number.").nullable().optional(),
|
|
29
29
|
total: zod.z.number().int().describe("Total number of orders.").nullable().optional(),
|
|
@@ -33,7 +33,7 @@ const RemoteRetrievalGetAllOrdersOutput = zod.z.object({
|
|
|
33
33
|
per_page: zod.z.number().int().describe("Number of orders per page.").nullable().optional(),
|
|
34
34
|
total_pages: zod.z.number().int().describe("Total number of pages.").nullable().optional(),
|
|
35
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");
|
|
36
|
+
}).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");
|
|
37
37
|
const remoteRetrievalGetAllOrders = require_action.action("REMOTE_RETRIEVAL_GET_ALL_ORDERS", {
|
|
38
38
|
slug: "remote_retrieval-get-all-orders",
|
|
39
39
|
name: "Get All Orders",
|
|
@@ -1 +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.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});\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});\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}).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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAClF,CAAC;
|
|
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.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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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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|
|
19
19
|
item_id: z.ZodNullable<z.ZodString>;
|
|
20
20
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
total: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
status: z.ZodNullable<z.ZodString>;
|
|
24
24
|
currency: z.ZodNullable<z.ZodString>;
|
|
25
25
|
created_at: z.ZodNullable<z.ZodString>;
|
|
26
26
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
27
27
|
customer_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalGetAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
status?: string | undefined;
|
|
@@ -18,20 +18,20 @@ declare const RemoteRetrievalGetAllOrdersOutput: z.ZodObject<{
|
|
|
18
18
|
price: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
item_id: z.ZodNullable<z.ZodString>;
|
|
20
20
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
total: z.ZodNullable<z.ZodNumber>;
|
|
23
23
|
status: z.ZodNullable<z.ZodString>;
|
|
24
24
|
currency: z.ZodNullable<z.ZodString>;
|
|
25
25
|
created_at: z.ZodNullable<z.ZodString>;
|
|
26
26
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
27
27
|
customer_id: z.ZodNullable<z.ZodString>;
|
|
28
|
-
}, z.core.$
|
|
28
|
+
}, z.core.$loose>>>>;
|
|
29
29
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
response_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalGetAllOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
status?: string | undefined;
|
|
@@ -13,7 +13,7 @@ const RemoteRetrievalGetAllOrders_OrderItemSchema = z.object({
|
|
|
13
13
|
price: z.number().describe("Price per item.").nullable(),
|
|
14
14
|
item_id: z.string().describe("Item identifier.").nullable(),
|
|
15
15
|
quantity: z.number().int().describe("Quantity ordered (must be ≥ 1).").nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const RemoteRetrievalGetAllOrders_OrderSchema = z.object({
|
|
18
18
|
id: z.string().describe("Unique order identifier.").nullable(),
|
|
19
19
|
items: z.array(RemoteRetrievalGetAllOrders_OrderItemSchema).describe("List of order items."),
|
|
@@ -23,7 +23,7 @@ const RemoteRetrievalGetAllOrders_OrderSchema = z.object({
|
|
|
23
23
|
created_at: z.string().describe("ISO 8601 creation timestamp.").nullable(),
|
|
24
24
|
updated_at: z.string().describe("ISO 8601 last update timestamp.").nullable(),
|
|
25
25
|
customer_id: z.string().describe("Customer identifier.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const remoteRetrievalGetAllOrders = action("REMOTE_RETRIEVAL_GET_ALL_ORDERS", {
|
|
28
28
|
slug: "remote_retrieval-get-all-orders",
|
|
29
29
|
name: "Get All Orders",
|
|
@@ -38,7 +38,7 @@ const remoteRetrievalGetAllOrders = action("REMOTE_RETRIEVAL_GET_ALL_ORDERS", {
|
|
|
38
38
|
per_page: z.number().int().describe("Number of orders per page.").nullable().optional(),
|
|
39
39
|
total_pages: z.number().int().describe("Total number of pages.").nullable().optional(),
|
|
40
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")
|
|
41
|
+
}).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")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { remoteRetrievalGetAllOrders };
|
|
@@ -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 = 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});\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});\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}).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;
|
|
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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_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 = 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}).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}).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;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,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,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;
|
|
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;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,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,10 +17,10 @@ declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodObject<{
|
|
|
17
17
|
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
company_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
company_id: string;
|
|
26
26
|
expand_contacts?: boolean | undefined;
|
|
@@ -17,10 +17,10 @@ declare const RemoteRetrievalGetCompanyDetailsOutput: z.ZodObject<{
|
|
|
17
17
|
company_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
company_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
successfull: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const remoteRetrievalGetCompanyDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
company_id: string;
|
|
26
26
|
expand_contacts?: boolean | undefined;
|
|
@@ -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 = 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}).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}).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,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,qDAAqD,EAAE,OAAO;CAClE,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;
|
|
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,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,qDAAqD,EAAE,OAAO;CAClE,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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAOxE,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,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,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const RemoteRetrievalGetDevicePrices_DevicePriceSchema = zod.z.object({
|
|
|
6
6
|
option_lbl: zod.z.number().describe("Display label with pricing information").nullable(),
|
|
7
7
|
order_amount: zod.z.number().describe("Price amount for the device").nullable(),
|
|
8
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
|
-
}).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");
|
|
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 = 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}).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}).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,SAAS,iDAAiD;
|
|
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"}
|
|
@@ -7,8 +7,8 @@ declare const RemoteRetrievalGetDevicePricesOutput: z.ZodObject<{
|
|
|
7
7
|
option_lbl: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
order_amount: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
equipment_type: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
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]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { remoteRetrievalGetDevicePrices };
|
|
@@ -7,8 +7,8 @@ declare const RemoteRetrievalGetDevicePricesOutput: z.ZodObject<{
|
|
|
7
7
|
option_lbl: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
order_amount: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
equipment_type: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
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]>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { remoteRetrievalGetDevicePrices };
|
|
@@ -6,13 +6,13 @@ const RemoteRetrievalGetDevicePrices_DevicePriceSchema = z.object({
|
|
|
6
6
|
option_lbl: z.number().describe("Display label with pricing information").nullable(),
|
|
7
7
|
order_amount: z.number().describe("Price amount for the device").nullable(),
|
|
8
8
|
equipment_type: z.string().describe("Device type: Laptop, Monitor (17-23 inch), Monitor_27 (24-27 inch), Tablet, or Cell Phone").nullable()
|
|
9
|
-
}).describe("Model for individual device pricing information");
|
|
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 = 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}).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}).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,SAAS,iDAAiD;
|
|
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 = 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}).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}).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}).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}).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}).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;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
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,OAA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,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20,7 +20,7 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
20
20
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
25
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,9 +29,9 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
29
29
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalGetOrderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
oid: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
11
11
|
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20,7 +20,7 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
20
20
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
25
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,9 +29,9 @@ declare const RemoteRetrievalGetOrderDetailsOutput: z.ZodObject<{
|
|
|
29
29
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalGetOrderDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
oid: string;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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 = 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}).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}).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}).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}).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}).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,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oCAAoC;
|
|
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,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS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M;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const RemoteRetrievalListPendingOrders_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 outbound shipment").nullable().optional(),
|
|
8
8
|
return_status: zod.z.string().describe("Status of the return shipment").nullable().optional()
|
|
9
|
-
}).describe("Shipment information for a pending order.");
|
|
9
|
+
}).passthrough().describe("Shipment information for a pending order.");
|
|
10
10
|
const RemoteRetrievalListPendingOrders_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 RemoteRetrievalListPendingOrders_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 for a pending order.");
|
|
18
|
+
}).passthrough().describe("Company information for a pending order.");
|
|
19
19
|
const RemoteRetrievalListPendingOrders_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 RemoteRetrievalListPendingOrders_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 for a pending order.");
|
|
27
|
+
}).passthrough().describe("Employee information for a pending order.");
|
|
28
28
|
const RemoteRetrievalListPendingOrders_PendingOrderSchema = zod.z.object({
|
|
29
29
|
order_id: zod.z.number().int().describe("Unique order identifier").nullable().optional(),
|
|
30
30
|
shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),
|
|
31
31
|
company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),
|
|
32
32
|
employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional()
|
|
33
|
-
}).describe("Details of a single pending order.");
|
|
34
|
-
const RemoteRetrievalListPendingOrdersOutput = zod.z.object({ orders: zod.z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe("List of pending orders awaiting payment completion").nullable().optional() }).describe("Response model for retrieving pending orders.");
|
|
33
|
+
}).passthrough().describe("Details of a single pending order.");
|
|
34
|
+
const RemoteRetrievalListPendingOrdersOutput = zod.z.object({ orders: zod.z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe("List of pending orders awaiting payment completion").nullable().optional() }).passthrough().describe("Response model for retrieving pending orders.");
|
|
35
35
|
const remoteRetrievalListPendingOrders = require_action.action("REMOTE_RETRIEVAL_LIST_PENDING_ORDERS", {
|
|
36
36
|
slug: "remote_retrieval-list-pending-orders",
|
|
37
37
|
name: "List Pending Orders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pending-orders.cjs","names":["z","action"],"sources":["../../src/actions/list-pending-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalListPendingOrdersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Results are paginated up to 25 per page.\").optional(),\n}).describe(\"Request parameters for retrieving pending orders.\");\nconst RemoteRetrievalListPendingOrders_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 outbound shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).describe(\"Shipment information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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}).describe(\"Company information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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}).describe(\"Employee information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_PendingOrderSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional(),\n}).describe(\"Details of a single pending order.\");\nexport const RemoteRetrievalListPendingOrdersOutput = z.object({\n orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe(\"List of pending orders awaiting payment completion\").nullable().optional(),\n}).describe(\"Response model for retrieving pending orders.\");\n\nexport const remoteRetrievalListPendingOrders = action(\"REMOTE_RETRIEVAL_LIST_PENDING_ORDERS\", {\n slug: \"remote_retrieval-list-pending-orders\",\n name: \"List Pending Orders\",\n description: \"Tool to retrieve list of all pending orders. Use when you need to check orders awaiting payment completion. Results are paginated up to 25 per page.\",\n input: RemoteRetrievalListPendingOrdersInput,\n output: RemoteRetrievalListPendingOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-pending-orders.cjs","names":["z","action"],"sources":["../../src/actions/list-pending-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalListPendingOrdersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Results are paginated up to 25 per page.\").optional(),\n}).describe(\"Request parameters for retrieving pending orders.\");\nconst RemoteRetrievalListPendingOrders_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 outbound shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).passthrough().describe(\"Shipment information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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 for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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 for a pending order.\");\nconst RemoteRetrievalListPendingOrders_PendingOrderSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Details of a single pending order.\");\nexport const RemoteRetrievalListPendingOrdersOutput = z.object({\n orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe(\"List of pending orders awaiting payment completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving pending orders.\");\n\nexport const remoteRetrievalListPendingOrders = action(\"REMOTE_RETRIEVAL_LIST_PENDING_ORDERS\", {\n slug: \"remote_retrieval-list-pending-orders\",\n name: \"List Pending Orders\",\n description: \"Tool to retrieve list of all pending orders. Use when you need to check orders awaiting payment completion. Results are paginated up to 25 per page.\",\n input: RemoteRetrieval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YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
11
11
|
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20,7 +20,7 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
20
20
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
25
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,9 +29,9 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
29
29
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalListPendingOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,7 +11,7 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
11
11
|
device_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
send_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
return_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>;
|
|
15
15
|
company_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20,7 +20,7 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
20
20
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
24
|
employee_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
25
|
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,9 +29,9 @@ declare const RemoteRetrievalListPendingOrdersOutput: z.ZodObject<{
|
|
|
29
29
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
35
|
declare const remoteRetrievalListPendingOrders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
36
|
page?: number | undefined;
|
|
37
37
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ const RemoteRetrievalListPendingOrders_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 outbound shipment").nullable().optional(),
|
|
8
8
|
return_status: z.string().describe("Status of the return shipment").nullable().optional()
|
|
9
|
-
}).describe("Shipment information for a pending order.");
|
|
9
|
+
}).passthrough().describe("Shipment information for a pending order.");
|
|
10
10
|
const RemoteRetrievalListPendingOrders_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 RemoteRetrievalListPendingOrders_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 for a pending order.");
|
|
18
|
+
}).passthrough().describe("Company information for a pending order.");
|
|
19
19
|
const RemoteRetrievalListPendingOrders_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 RemoteRetrievalListPendingOrders_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 for a pending order.");
|
|
27
|
+
}).passthrough().describe("Employee information for a pending order.");
|
|
28
28
|
const RemoteRetrievalListPendingOrders_PendingOrderSchema = z.object({
|
|
29
29
|
order_id: z.number().int().describe("Unique order identifier").nullable().optional(),
|
|
30
30
|
shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),
|
|
31
31
|
company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),
|
|
32
32
|
employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional()
|
|
33
|
-
}).describe("Details of a single pending order.");
|
|
33
|
+
}).passthrough().describe("Details of a single pending order.");
|
|
34
34
|
const remoteRetrievalListPendingOrders = action("REMOTE_RETRIEVAL_LIST_PENDING_ORDERS", {
|
|
35
35
|
slug: "remote_retrieval-list-pending-orders",
|
|
36
36
|
name: "List Pending Orders",
|
|
37
37
|
description: "Tool to retrieve list of all pending orders. Use when you need to check orders awaiting payment completion. Results are paginated up to 25 per page.",
|
|
38
38
|
input: RemoteRetrievalListPendingOrdersInput,
|
|
39
|
-
output: z.object({ orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe("List of pending orders awaiting payment completion").nullable().optional() }).describe("Response model for retrieving pending orders.")
|
|
39
|
+
output: z.object({ orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe("List of pending orders awaiting payment completion").nullable().optional() }).passthrough().describe("Response model for retrieving pending orders.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { remoteRetrievalListPendingOrders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-pending-orders.mjs","names":[],"sources":["../../src/actions/list-pending-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalListPendingOrdersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Results are paginated up to 25 per page.\").optional(),\n}).describe(\"Request parameters for retrieving pending orders.\");\nconst RemoteRetrievalListPendingOrders_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 outbound shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).describe(\"Shipment information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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}).describe(\"Company information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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}).describe(\"Employee information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_PendingOrderSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional(),\n}).describe(\"Details of a single pending order.\");\nexport const RemoteRetrievalListPendingOrdersOutput = z.object({\n orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe(\"List of pending orders awaiting payment completion\").nullable().optional(),\n}).describe(\"Response model for retrieving pending orders.\");\n\nexport const remoteRetrievalListPendingOrders = action(\"REMOTE_RETRIEVAL_LIST_PENDING_ORDERS\", {\n slug: \"remote_retrieval-list-pending-orders\",\n name: \"List Pending Orders\",\n description: \"Tool to retrieve list of all pending orders. Use when you need to check orders awaiting payment completion. Results are paginated up to 25 per page.\",\n input: RemoteRetrievalListPendingOrdersInput,\n output: RemoteRetrievalListPendingOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"list-pending-orders.mjs","names":[],"sources":["../../src/actions/list-pending-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalListPendingOrdersInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Results are paginated up to 25 per page.\").optional(),\n}).describe(\"Request parameters for retrieving pending orders.\");\nconst RemoteRetrievalListPendingOrders_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 outbound shipment\").nullable().optional(),\n return_status: z.string().describe(\"Status of the return shipment\").nullable().optional(),\n}).passthrough().describe(\"Shipment information for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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 for a pending order.\");\nconst RemoteRetrievalListPendingOrders_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 for a pending order.\");\nconst RemoteRetrievalListPendingOrders_PendingOrderSchema = z.object({\n order_id: z.number().int().describe(\"Unique order identifier\").nullable().optional(),\n shipments: RemoteRetrievalListPendingOrders_ShipmentsSchema.nullable().optional(),\n company_info: RemoteRetrievalListPendingOrders_CompanyInfoSchema.nullable().optional(),\n employee_info: RemoteRetrievalListPendingOrders_EmployeeInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Details of a single pending order.\");\nexport const RemoteRetrievalListPendingOrdersOutput = z.object({\n orders: z.array(RemoteRetrievalListPendingOrders_PendingOrderSchema).describe(\"List of pending orders awaiting payment completion\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving pending orders.\");\n\nexport const remoteRetrievalListPendingOrders = action(\"REMOTE_RETRIEVAL_LIST_PENDING_ORDERS\", {\n slug: \"remote_retrieval-list-pending-orders\",\n name: \"List Pending Orders\",\n description: \"Tool to retrieve list of all pending orders. Use when you need to check orders awaiting payment completion. Results are paginated up to 25 per page.\",\n input: RemoteRetrievalListPendingOrdersInput,\n output: RemoteRetrievalListPendingOrdersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,OAAO;CAChE,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,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,qDAAqD,EAAE,OAAO;CAClE,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,CA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O;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAW,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAChF,cAAc,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACrF,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,QAAQ,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const RemoteRetrievalValidateUserOutput = zod.z.object({
|
|
|
7
7
|
status: zod.z.string().describe("Status of the validation, e.g., 'Success'").nullable(),
|
|
8
8
|
message: zod.z.string().describe("Indicates the validation result, e.g., 'Valid Key!'").nullable(),
|
|
9
9
|
response_code: zod.z.number().int().describe("HTTP response code, e.g., 200").nullable()
|
|
10
|
-
});
|
|
10
|
+
}).passthrough();
|
|
11
11
|
const remoteRetrievalValidateUser = require_action.action("REMOTE_RETRIEVAL_VALIDATE_USER", {
|
|
12
12
|
slug: "remote_retrieval-validate-user",
|
|
13
13
|
name: "RemoteRetrieval: Validate User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-user.cjs","names":["z","action"],"sources":["../../src/actions/validate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalValidateUserInput = z.object({}).describe(\"Request model for validating a user. No input fields required; API key is passed via the Authorization header.\");\nexport const RemoteRetrievalValidateUserOutput = z.object({\n email: z.string().describe(\"Email associated with the API key\").nullable(),\n status: z.string().describe(\"Status of the validation, e.g., 'Success'\").nullable(),\n message: z.string().describe(\"Indicates the validation result, e.g., 'Valid Key!'\").nullable(),\n response_code: z.number().int().describe(\"HTTP response code, e.g., 200\").nullable(),\n});\n\nexport const remoteRetrievalValidateUser = action(\"REMOTE_RETRIEVAL_VALIDATE_USER\", {\n slug: \"remote_retrieval-validate-user\",\n name: \"RemoteRetrieval: Validate User\",\n description: \"Tool to validate the provided API key. Use when you need to confirm the API key's validity.\",\n input: RemoteRetrievalValidateUserInput,\n output: RemoteRetrievalValidateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH;AACtL,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACrF,CAAC;
|
|
1
|
+
{"version":3,"file":"validate-user.cjs","names":["z","action"],"sources":["../../src/actions/validate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalValidateUserInput = z.object({}).describe(\"Request model for validating a user. No input fields required; API key is passed via the Authorization header.\");\nexport const RemoteRetrievalValidateUserOutput = z.object({\n email: z.string().describe(\"Email associated with the API key\").nullable(),\n status: z.string().describe(\"Status of the validation, e.g., 'Success'\").nullable(),\n message: z.string().describe(\"Indicates the validation result, e.g., 'Valid Key!'\").nullable(),\n response_code: z.number().int().describe(\"HTTP response code, e.g., 200\").nullable(),\n}).passthrough();\n\nexport const remoteRetrievalValidateUser = action(\"REMOTE_RETRIEVAL_VALIDATE_USER\", {\n slug: \"remote_retrieval-validate-user\",\n name: \"RemoteRetrieval: Validate User\",\n description: \"Tool to validate the provided API key. Use when you need to confirm the API key's validity.\",\n input: RemoteRetrievalValidateUserInput,\n output: RemoteRetrievalValidateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH;AACtL,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const RemoteRetrievalValidateUserOutput: z.ZodObject<{
|
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
response_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const remoteRetrievalValidateUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { remoteRetrievalValidateUser };
|
|
@@ -7,7 +7,7 @@ declare const RemoteRetrievalValidateUserOutput: z.ZodObject<{
|
|
|
7
7
|
status: z.ZodNullable<z.ZodString>;
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
response_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const remoteRetrievalValidateUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { remoteRetrievalValidateUser };
|
|
@@ -10,7 +10,7 @@ const remoteRetrievalValidateUser = action("REMOTE_RETRIEVAL_VALIDATE_USER", {
|
|
|
10
10
|
status: z.string().describe("Status of the validation, e.g., 'Success'").nullable(),
|
|
11
11
|
message: z.string().describe("Indicates the validation result, e.g., 'Valid Key!'").nullable(),
|
|
12
12
|
response_code: z.number().int().describe("HTTP response code, e.g., 200").nullable()
|
|
13
|
-
})
|
|
13
|
+
}).passthrough()
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { remoteRetrievalValidateUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-user.mjs","names":[],"sources":["../../src/actions/validate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalValidateUserInput = z.object({}).describe(\"Request model for validating a user. No input fields required; API key is passed via the Authorization header.\");\nexport const RemoteRetrievalValidateUserOutput = z.object({\n email: z.string().describe(\"Email associated with the API key\").nullable(),\n status: z.string().describe(\"Status of the validation, e.g., 'Success'\").nullable(),\n message: z.string().describe(\"Indicates the validation result, e.g., 'Valid Key!'\").nullable(),\n response_code: z.number().int().describe(\"HTTP response code, e.g., 200\").nullable(),\n});\n\nexport const remoteRetrievalValidateUser = action(\"REMOTE_RETRIEVAL_VALIDATE_USER\", {\n slug: \"remote_retrieval-validate-user\",\n name: \"RemoteRetrieval: Validate User\",\n description: \"Tool to validate the provided API key. Use when you need to confirm the API key's validity.\",\n input: RemoteRetrievalValidateUserInput,\n output: RemoteRetrievalValidateUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAY7D;CACP,QAZ+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,
|
|
1
|
+
{"version":3,"file":"validate-user.mjs","names":[],"sources":["../../src/actions/validate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RemoteRetrievalValidateUserInput = z.object({}).describe(\"Request model for validating a user. No input fields required; API key is passed via the Authorization header.\");\nexport const RemoteRetrievalValidateUserOutput = z.object({\n email: z.string().describe(\"Email associated with the API key\").nullable(),\n status: z.string().describe(\"Status of the validation, e.g., 'Success'\").nullable(),\n message: z.string().describe(\"Indicates the validation result, e.g., 'Valid Key!'\").nullable(),\n response_code: z.number().int().describe(\"HTTP response code, e.g., 200\").nullable(),\n}).passthrough();\n\nexport const remoteRetrievalValidateUser = action(\"REMOTE_RETRIEVAL_VALIDATE_USER\", {\n slug: \"remote_retrieval-validate-user\",\n name: \"RemoteRetrieval: Validate User\",\n description: \"Tool to validate the provided API key. Use when you need to confirm the API key's validity.\",\n input: RemoteRetrievalValidateUserInput,\n output: RemoteRetrievalValidateUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAY7D;CACP,QAZ+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const remoteRetrievalCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/remote_retrieval",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Remote Retrieval API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key obtained from the Enterprise Remote Retrieval portal."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const remoteRetrievalCatalog = {\n \"slug\": \"remote_retrieval\",\n \"name\": \"Remote Retrieval\",\n \"description\": \"Remote Retrieval automates the logistics of managing equipment returns, providing efficient tracking and management of laptop and monitor returns.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/remote_retrieval\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const remoteRetrievalCatalog = {\n \"slug\": \"remote_retrieval\",\n \"name\": \"Remote Retrieval\",\n \"description\": \"Remote Retrieval automates the logistics of managing equipment returns, providing efficient tracking and management of laptop and monitor returns.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/remote_retrieval\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Remote Retrieval API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from the Enterprise Remote Retrieval portal.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,yBAAyB;CACpC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const remoteRetrievalCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Remote Retrieval API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key obtained from the Enterprise Remote Retrieval portal.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const remoteRetrievalCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Remote Retrieval API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key obtained from the Enterprise Remote Retrieval portal.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const remoteRetrievalCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/remote_retrieval",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Remote Retrieval API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key obtained from the Enterprise Remote Retrieval portal."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const remoteRetrievalCatalog = {\n \"slug\": \"remote_retrieval\",\n \"name\": \"Remote Retrieval\",\n \"description\": \"Remote Retrieval automates the logistics of managing equipment returns, providing efficient tracking and management of laptop and monitor returns.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/remote_retrieval\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const remoteRetrievalCatalog = {\n \"slug\": \"remote_retrieval\",\n \"name\": \"Remote Retrieval\",\n \"description\": \"Remote Retrieval automates the logistics of managing equipment returns, providing efficient tracking and management of laptop and monitor returns.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/remote_retrieval\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Remote Retrieval API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from the Enterprise Remote Retrieval portal.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,yBAAyB;CACpC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|