@keystrokehq/gagelist 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-calibration-record.cjs +1 -1
- package/dist/actions/add-calibration-record.cjs.map +1 -1
- package/dist/actions/add-calibration-record.d.cts +183 -3
- package/dist/actions/add-calibration-record.d.cts.map +1 -1
- package/dist/actions/add-calibration-record.d.mts +183 -3
- package/dist/actions/add-calibration-record.d.mts.map +1 -1
- package/dist/actions/add-calibration-record.mjs +1 -1
- package/dist/actions/add-calibration-record.mjs.map +1 -1
- package/dist/actions/add-gage-record.cjs +2 -2
- package/dist/actions/add-gage-record.cjs.map +1 -1
- package/dist/actions/add-gage-record.d.cts +115 -3
- package/dist/actions/add-gage-record.d.cts.map +1 -1
- package/dist/actions/add-gage-record.d.mts +115 -3
- package/dist/actions/add-gage-record.d.mts.map +1 -1
- package/dist/actions/add-gage-record.mjs +2 -2
- package/dist/actions/add-gage-record.mjs.map +1 -1
- package/dist/actions/add-manufacturer.cjs +1 -1
- package/dist/actions/add-manufacturer.cjs.map +1 -1
- package/dist/actions/add-manufacturer.d.cts +21 -3
- package/dist/actions/add-manufacturer.d.cts.map +1 -1
- package/dist/actions/add-manufacturer.d.mts +21 -3
- package/dist/actions/add-manufacturer.d.mts.map +1 -1
- package/dist/actions/add-manufacturer.mjs +1 -1
- package/dist/actions/add-manufacturer.mjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.cjs +8 -8
- package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.cts +19 -3
- package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.mts +19 -3
- package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.mjs +8 -8
- package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
- package/dist/actions/delete-calibration-record.cjs +3 -3
- package/dist/actions/delete-calibration-record.cjs.map +1 -1
- package/dist/actions/delete-calibration-record.d.cts +11 -3
- package/dist/actions/delete-calibration-record.d.cts.map +1 -1
- package/dist/actions/delete-calibration-record.d.mts +11 -3
- package/dist/actions/delete-calibration-record.d.mts.map +1 -1
- package/dist/actions/delete-calibration-record.mjs +3 -3
- package/dist/actions/delete-calibration-record.mjs.map +1 -1
- package/dist/actions/delete-gage-record.cjs +3 -3
- package/dist/actions/delete-gage-record.cjs.map +1 -1
- package/dist/actions/delete-gage-record.d.cts +11 -3
- package/dist/actions/delete-gage-record.d.cts.map +1 -1
- package/dist/actions/delete-gage-record.d.mts +11 -3
- package/dist/actions/delete-gage-record.d.mts.map +1 -1
- package/dist/actions/delete-gage-record.mjs +3 -3
- package/dist/actions/delete-gage-record.mjs.map +1 -1
- package/dist/actions/delete-manufacturer.cjs +3 -3
- package/dist/actions/delete-manufacturer.cjs.map +1 -1
- package/dist/actions/delete-manufacturer.d.cts +11 -3
- package/dist/actions/delete-manufacturer.d.cts.map +1 -1
- package/dist/actions/delete-manufacturer.d.mts +11 -3
- package/dist/actions/delete-manufacturer.d.mts.map +1 -1
- package/dist/actions/delete-manufacturer.mjs +3 -3
- package/dist/actions/delete-manufacturer.mjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.cjs +3 -3
- package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.cts +13 -3
- package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.mts +13 -3
- package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
- package/dist/actions/generate-calibration-certificate.mjs +3 -3
- package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
- package/dist/actions/get-account-settings.cjs +15 -15
- package/dist/actions/get-account-settings.cjs.map +1 -1
- package/dist/actions/get-account-settings.d.cts +39 -3
- package/dist/actions/get-account-settings.d.cts.map +1 -1
- package/dist/actions/get-account-settings.d.mts +39 -3
- package/dist/actions/get-account-settings.d.mts.map +1 -1
- package/dist/actions/get-account-settings.mjs +15 -15
- package/dist/actions/get-account-settings.mjs.map +1 -1
- package/dist/actions/get-account-status.cjs +45 -45
- package/dist/actions/get-account-status.cjs.map +1 -1
- package/dist/actions/get-account-status.d.cts +74 -3
- package/dist/actions/get-account-status.d.cts.map +1 -1
- package/dist/actions/get-account-status.d.mts +74 -3
- package/dist/actions/get-account-status.d.mts.map +1 -1
- package/dist/actions/get-account-status.mjs +45 -45
- package/dist/actions/get-account-status.mjs.map +1 -1
- package/dist/actions/get-all-calibration-records.cjs.map +1 -1
- package/dist/actions/get-all-calibration-records.d.cts +80 -3
- package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
- package/dist/actions/get-all-calibration-records.d.mts +80 -3
- package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
- package/dist/actions/get-all-calibration-records.mjs.map +1 -1
- package/dist/actions/get-all-gage-records.cjs.map +1 -1
- package/dist/actions/get-all-gage-records.d.cts +59 -3
- package/dist/actions/get-all-gage-records.d.cts.map +1 -1
- package/dist/actions/get-all-gage-records.d.mts +59 -3
- package/dist/actions/get-all-gage-records.d.mts.map +1 -1
- package/dist/actions/get-all-gage-records.mjs.map +1 -1
- package/dist/actions/get-all-manufacturers.cjs +11 -11
- package/dist/actions/get-all-manufacturers.cjs.map +1 -1
- package/dist/actions/get-all-manufacturers.d.cts +18 -3
- package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
- package/dist/actions/get-all-manufacturers.d.mts +18 -3
- package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
- package/dist/actions/get-all-manufacturers.mjs +11 -11
- package/dist/actions/get-all-manufacturers.mjs.map +1 -1
- package/dist/actions/get-attachment.cjs +3 -3
- package/dist/actions/get-attachment.cjs.map +1 -1
- package/dist/actions/get-attachment.d.cts +13 -3
- package/dist/actions/get-attachment.d.cts.map +1 -1
- package/dist/actions/get-attachment.d.mts +13 -3
- package/dist/actions/get-attachment.d.mts.map +1 -1
- package/dist/actions/get-attachment.mjs +3 -3
- package/dist/actions/get-attachment.mjs.map +1 -1
- package/dist/actions/get-custom-fields.cjs +20 -20
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +27 -3
- package/dist/actions/get-custom-fields.d.cts.map +1 -1
- package/dist/actions/get-custom-fields.d.mts +27 -3
- package/dist/actions/get-custom-fields.d.mts.map +1 -1
- package/dist/actions/get-custom-fields.mjs +20 -20
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-single-calibration-record.cjs +85 -85
- package/dist/actions/get-single-calibration-record.cjs.map +1 -1
- package/dist/actions/get-single-calibration-record.d.cts +101 -3
- package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
- package/dist/actions/get-single-calibration-record.d.mts +101 -3
- package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
- package/dist/actions/get-single-calibration-record.mjs +85 -85
- package/dist/actions/get-single-calibration-record.mjs.map +1 -1
- package/dist/actions/get-single-gage-record.cjs +2 -2
- package/dist/actions/get-single-gage-record.cjs.map +1 -1
- package/dist/actions/get-single-gage-record.d.cts +65 -3
- package/dist/actions/get-single-gage-record.d.cts.map +1 -1
- package/dist/actions/get-single-gage-record.d.mts +65 -3
- package/dist/actions/get-single-gage-record.d.mts.map +1 -1
- package/dist/actions/get-single-gage-record.mjs +2 -2
- package/dist/actions/get-single-gage-record.mjs.map +1 -1
- package/dist/actions/update-account-settings.cjs +2 -2
- package/dist/actions/update-account-settings.cjs.map +1 -1
- package/dist/actions/update-account-settings.d.cts +70 -3
- package/dist/actions/update-account-settings.d.cts.map +1 -1
- package/dist/actions/update-account-settings.d.mts +70 -3
- package/dist/actions/update-account-settings.d.mts.map +1 -1
- package/dist/actions/update-account-settings.mjs +2 -2
- package/dist/actions/update-account-settings.mjs.map +1 -1
- package/dist/actions/update-custom-field-values.cjs +1 -1
- package/dist/actions/update-custom-field-values.cjs.map +1 -1
- package/dist/actions/update-custom-field-values.d.cts +25 -3
- package/dist/actions/update-custom-field-values.d.cts.map +1 -1
- package/dist/actions/update-custom-field-values.d.mts +25 -3
- package/dist/actions/update-custom-field-values.d.mts.map +1 -1
- package/dist/actions/update-custom-field-values.mjs +1 -1
- package/dist/actions/update-custom-field-values.mjs.map +1 -1
- package/dist/actions/update-manufacturer.cjs +3 -3
- package/dist/actions/update-manufacturer.cjs.map +1 -1
- package/dist/actions/update-manufacturer.d.cts +21 -3
- package/dist/actions/update-manufacturer.d.cts.map +1 -1
- package/dist/actions/update-manufacturer.d.mts +21 -3
- package/dist/actions/update-manufacturer.d.mts.map +1 -1
- package/dist/actions/update-manufacturer.mjs +3 -3
- package/dist/actions/update-manufacturer.mjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.cjs +2 -2
- package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.cts +21 -3
- package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.mts +21 -3
- package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.mjs +2 -2
- package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-manufacturer.d.ts
|
|
4
|
-
declare const GagelistUpdateManufacturerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GagelistUpdateManufacturerInput: z.ZodObject<{
|
|
5
|
+
Id: z.ZodNumber;
|
|
6
|
+
Fax: z.ZodOptional<z.ZodString>;
|
|
7
|
+
Name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
Phone: z.ZodOptional<z.ZodString>;
|
|
9
|
+
Address: z.ZodOptional<z.ZodString>;
|
|
10
|
+
Website: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
message: z.ZodNullable<z.ZodString>;
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
Id: number;
|
|
19
|
+
Fax?: string | undefined;
|
|
20
|
+
Name?: string | undefined;
|
|
21
|
+
Phone?: string | undefined;
|
|
22
|
+
Address?: string | undefined;
|
|
23
|
+
Website?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { gagelistUpdateManufacturer };
|
|
9
27
|
//# sourceMappingURL=update-manufacturer.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-manufacturer.d.cts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"update-manufacturer.d.cts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-manufacturer.d.ts
|
|
4
|
-
declare const GagelistUpdateManufacturerInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GagelistUpdateManufacturerInput: z.ZodObject<{
|
|
5
|
+
Id: z.ZodNumber;
|
|
6
|
+
Fax: z.ZodOptional<z.ZodString>;
|
|
7
|
+
Name: z.ZodOptional<z.ZodString>;
|
|
8
|
+
Phone: z.ZodOptional<z.ZodString>;
|
|
9
|
+
Address: z.ZodOptional<z.ZodString>;
|
|
10
|
+
Website: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
message: z.ZodNullable<z.ZodString>;
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
Id: number;
|
|
19
|
+
Fax?: string | undefined;
|
|
20
|
+
Name?: string | undefined;
|
|
21
|
+
Phone?: string | undefined;
|
|
22
|
+
Address?: string | undefined;
|
|
23
|
+
Website?: string | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { gagelistUpdateManufacturer };
|
|
9
27
|
//# sourceMappingURL=update-manufacturer.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-manufacturer.d.mts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"update-manufacturer.d.mts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -13,9 +13,9 @@ const gagelistUpdateManufacturer = action("GAGELIST_UPDATE_MANUFACTURER", {
|
|
|
13
13
|
Website: z.string().describe("Website URL of the manufacturer.").optional()
|
|
14
14
|
}).describe("Request model for updating a manufacturer."),
|
|
15
15
|
output: z.object({
|
|
16
|
-
data: z.number().int().describe("API-specific return code or ID of the updated manufacturer"),
|
|
17
|
-
message: z.string().describe("Informational message from the API"),
|
|
18
|
-
success: z.boolean().describe("Indicates whether the update succeeded")
|
|
16
|
+
data: z.number().int().describe("API-specific return code or ID of the updated manufacturer").nullable(),
|
|
17
|
+
message: z.string().describe("Informational message from the API").nullable(),
|
|
18
|
+
success: z.boolean().describe("Indicates whether the update succeeded").nullable()
|
|
19
19
|
}).describe("Response model for update manufacturer action.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput
|
|
1
|
+
{"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -10,9 +10,9 @@ const GagelistUploadAttachmentToGageRecordInput = zod.z.object({
|
|
|
10
10
|
}).describe("File to upload as an attachment.")
|
|
11
11
|
}).describe("Request model for uploading an attachment to a gage record.");
|
|
12
12
|
const GagelistUploadAttachmentToGageRecordOutput = zod.z.object({
|
|
13
|
-
data: zod.z.number().int().describe("Identifier of the uploaded attachment"),
|
|
13
|
+
data: zod.z.number().int().describe("Identifier of the uploaded attachment").nullable(),
|
|
14
14
|
message: zod.z.string().describe("Informational message returned by the API").nullable().optional(),
|
|
15
|
-
success: zod.z.boolean().describe("Flag indicating if the upload was successful")
|
|
15
|
+
success: zod.z.boolean().describe("Flag indicating if the upload was successful").nullable()
|
|
16
16
|
}).describe("Response model after uploading an attachment to a gage record.");
|
|
17
17
|
const gagelistUploadAttachmentToGageRecord = require_action.action("GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD", {
|
|
18
18
|
slug: "gagelist-upload-attachment-to-gage-record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput
|
|
1
|
+
{"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/upload-attachment-to-gage-record.d.ts
|
|
4
|
-
declare const GagelistUploadAttachmentToGageRecordInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GagelistUploadAttachmentToGageRecordInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
file: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
s3key: z.ZodString;
|
|
9
|
+
mimetype: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: number;
|
|
19
|
+
file: {
|
|
20
|
+
name: string;
|
|
21
|
+
s3key: string;
|
|
22
|
+
mimetype: string;
|
|
23
|
+
};
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { gagelistUploadAttachmentToGageRecord };
|
|
9
27
|
//# sourceMappingURL=upload-attachment-to-gage-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-attachment-to-gage-record.d.cts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"upload-attachment-to-gage-record.d.cts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/upload-attachment-to-gage-record.d.ts
|
|
4
|
-
declare const GagelistUploadAttachmentToGageRecordInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GagelistUploadAttachmentToGageRecordInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
file: z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
s3key: z.ZodString;
|
|
9
|
+
mimetype: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
|
|
13
|
+
data: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: number;
|
|
19
|
+
file: {
|
|
20
|
+
name: string;
|
|
21
|
+
s3key: string;
|
|
22
|
+
mimetype: string;
|
|
23
|
+
};
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { gagelistUploadAttachmentToGageRecord };
|
|
9
27
|
//# sourceMappingURL=upload-attachment-to-gage-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-attachment-to-gage-record.d.mts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"upload-attachment-to-gage-record.d.mts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -13,9 +13,9 @@ const gagelistUploadAttachmentToGageRecord = action("GAGELIST_UPLOAD_ATTACHMENT_
|
|
|
13
13
|
}).describe("File to upload as an attachment.")
|
|
14
14
|
}).describe("Request model for uploading an attachment to a gage record."),
|
|
15
15
|
output: z.object({
|
|
16
|
-
data: z.number().int().describe("Identifier of the uploaded attachment"),
|
|
16
|
+
data: z.number().int().describe("Identifier of the uploaded attachment").nullable(),
|
|
17
17
|
message: z.string().describe("Informational message returned by the API").nullable().optional(),
|
|
18
|
-
success: z.boolean().describe("Flag indicating if the upload was successful")
|
|
18
|
+
success: z.boolean().describe("Flag indicating if the upload was successful").nullable()
|
|
19
19
|
}).describe("Response model after uploading an attachment to a gage record.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput
|
|
1
|
+
{"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
package/dist/execute.cjs
CHANGED
|
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "gagelist";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260624_00";
|
|
6
6
|
async function executeGagelistTool(tool, args) {
|
|
7
7
|
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gagelist\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gagelist\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260624_00\";\n\nexport async function executeGagelistTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
|
2
2
|
//#region src/execute.ts
|
|
3
3
|
const APP_SLUG = "gagelist";
|
|
4
4
|
/** Pinned app version — updated on regeneration. */
|
|
5
|
-
const APP_VERSION = "
|
|
5
|
+
const APP_VERSION = "20260624_00";
|
|
6
6
|
async function executeGagelistTool(tool, args) {
|
|
7
7
|
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
8
|
app: APP_SLUG,
|
package/dist/execute.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gagelist\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gagelist\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260624_00\";\n\nexport async function executeGagelistTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,oBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/gagelist",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|