@keystrokehq/gagelist 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-calibration-record.cjs +108 -0
  7. package/dist/actions/add-calibration-record.cjs.map +1 -0
  8. package/dist/actions/add-calibration-record.d.cts +9 -0
  9. package/dist/actions/add-calibration-record.d.cts.map +1 -0
  10. package/dist/actions/add-calibration-record.d.mts +9 -0
  11. package/dist/actions/add-calibration-record.d.mts.map +1 -0
  12. package/dist/actions/add-calibration-record.mjs +105 -0
  13. package/dist/actions/add-calibration-record.mjs.map +1 -0
  14. package/dist/actions/add-gage-record.cjs +74 -0
  15. package/dist/actions/add-gage-record.cjs.map +1 -0
  16. package/dist/actions/add-gage-record.d.cts +9 -0
  17. package/dist/actions/add-gage-record.d.cts.map +1 -0
  18. package/dist/actions/add-gage-record.d.mts +9 -0
  19. package/dist/actions/add-gage-record.d.mts.map +1 -0
  20. package/dist/actions/add-gage-record.mjs +71 -0
  21. package/dist/actions/add-gage-record.mjs.map +1 -0
  22. package/dist/actions/add-manufacturer.cjs +27 -0
  23. package/dist/actions/add-manufacturer.cjs.map +1 -0
  24. package/dist/actions/add-manufacturer.d.cts +9 -0
  25. package/dist/actions/add-manufacturer.d.cts.map +1 -0
  26. package/dist/actions/add-manufacturer.d.mts +9 -0
  27. package/dist/actions/add-manufacturer.d.mts.map +1 -0
  28. package/dist/actions/add-manufacturer.mjs +24 -0
  29. package/dist/actions/add-manufacturer.mjs.map +1 -0
  30. package/dist/actions/authenticate-with-gagelist.cjs +29 -0
  31. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -0
  32. package/dist/actions/authenticate-with-gagelist.d.cts +9 -0
  33. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -0
  34. package/dist/actions/authenticate-with-gagelist.d.mts +9 -0
  35. package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -0
  36. package/dist/actions/authenticate-with-gagelist.mjs +26 -0
  37. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -0
  38. package/dist/actions/delete-calibration-record.cjs +20 -0
  39. package/dist/actions/delete-calibration-record.cjs.map +1 -0
  40. package/dist/actions/delete-calibration-record.d.cts +9 -0
  41. package/dist/actions/delete-calibration-record.d.cts.map +1 -0
  42. package/dist/actions/delete-calibration-record.d.mts +9 -0
  43. package/dist/actions/delete-calibration-record.d.mts.map +1 -0
  44. package/dist/actions/delete-calibration-record.mjs +17 -0
  45. package/dist/actions/delete-calibration-record.mjs.map +1 -0
  46. package/dist/actions/delete-gage-record.cjs +20 -0
  47. package/dist/actions/delete-gage-record.cjs.map +1 -0
  48. package/dist/actions/delete-gage-record.d.cts +9 -0
  49. package/dist/actions/delete-gage-record.d.cts.map +1 -0
  50. package/dist/actions/delete-gage-record.d.mts +9 -0
  51. package/dist/actions/delete-gage-record.d.mts.map +1 -0
  52. package/dist/actions/delete-gage-record.mjs +17 -0
  53. package/dist/actions/delete-gage-record.mjs.map +1 -0
  54. package/dist/actions/delete-manufacturer.cjs +20 -0
  55. package/dist/actions/delete-manufacturer.cjs.map +1 -0
  56. package/dist/actions/delete-manufacturer.d.cts +9 -0
  57. package/dist/actions/delete-manufacturer.d.cts.map +1 -0
  58. package/dist/actions/delete-manufacturer.d.mts +9 -0
  59. package/dist/actions/delete-manufacturer.d.mts.map +1 -0
  60. package/dist/actions/delete-manufacturer.mjs +17 -0
  61. package/dist/actions/delete-manufacturer.mjs.map +1 -0
  62. package/dist/actions/generate-calibration-certificate.cjs +21 -0
  63. package/dist/actions/generate-calibration-certificate.cjs.map +1 -0
  64. package/dist/actions/generate-calibration-certificate.d.cts +9 -0
  65. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -0
  66. package/dist/actions/generate-calibration-certificate.d.mts +9 -0
  67. package/dist/actions/generate-calibration-certificate.d.mts.map +1 -0
  68. package/dist/actions/generate-calibration-certificate.mjs +20 -0
  69. package/dist/actions/generate-calibration-certificate.mjs.map +1 -0
  70. package/dist/actions/get-account-settings.cjs +53 -0
  71. package/dist/actions/get-account-settings.cjs.map +1 -0
  72. package/dist/actions/get-account-settings.d.cts +9 -0
  73. package/dist/actions/get-account-settings.d.cts.map +1 -0
  74. package/dist/actions/get-account-settings.d.mts +9 -0
  75. package/dist/actions/get-account-settings.d.mts.map +1 -0
  76. package/dist/actions/get-account-settings.mjs +52 -0
  77. package/dist/actions/get-account-settings.mjs.map +1 -0
  78. package/dist/actions/get-account-status.cjs +82 -0
  79. package/dist/actions/get-account-status.cjs.map +1 -0
  80. package/dist/actions/get-account-status.d.cts +9 -0
  81. package/dist/actions/get-account-status.d.cts.map +1 -0
  82. package/dist/actions/get-account-status.d.mts +9 -0
  83. package/dist/actions/get-account-status.d.mts.map +1 -0
  84. package/dist/actions/get-account-status.mjs +81 -0
  85. package/dist/actions/get-account-status.mjs.map +1 -0
  86. package/dist/actions/get-all-calibration-records.cjs +91 -0
  87. package/dist/actions/get-all-calibration-records.cjs.map +1 -0
  88. package/dist/actions/get-all-calibration-records.d.cts +9 -0
  89. package/dist/actions/get-all-calibration-records.d.cts.map +1 -0
  90. package/dist/actions/get-all-calibration-records.d.mts +9 -0
  91. package/dist/actions/get-all-calibration-records.d.mts.map +1 -0
  92. package/dist/actions/get-all-calibration-records.mjs +90 -0
  93. package/dist/actions/get-all-calibration-records.mjs.map +1 -0
  94. package/dist/actions/get-all-gage-records.cjs +70 -0
  95. package/dist/actions/get-all-gage-records.cjs.map +1 -0
  96. package/dist/actions/get-all-gage-records.d.cts +9 -0
  97. package/dist/actions/get-all-gage-records.d.cts.map +1 -0
  98. package/dist/actions/get-all-gage-records.d.mts +9 -0
  99. package/dist/actions/get-all-gage-records.d.mts.map +1 -0
  100. package/dist/actions/get-all-gage-records.mjs +69 -0
  101. package/dist/actions/get-all-gage-records.mjs.map +1 -0
  102. package/dist/actions/get-all-manufacturers.cjs +32 -0
  103. package/dist/actions/get-all-manufacturers.cjs.map +1 -0
  104. package/dist/actions/get-all-manufacturers.d.cts +9 -0
  105. package/dist/actions/get-all-manufacturers.d.cts.map +1 -0
  106. package/dist/actions/get-all-manufacturers.d.mts +9 -0
  107. package/dist/actions/get-all-manufacturers.d.mts.map +1 -0
  108. package/dist/actions/get-all-manufacturers.mjs +31 -0
  109. package/dist/actions/get-all-manufacturers.mjs.map +1 -0
  110. package/dist/actions/get-attachment.cjs +21 -0
  111. package/dist/actions/get-attachment.cjs.map +1 -0
  112. package/dist/actions/get-attachment.d.cts +9 -0
  113. package/dist/actions/get-attachment.d.cts.map +1 -0
  114. package/dist/actions/get-attachment.d.mts +9 -0
  115. package/dist/actions/get-attachment.d.mts.map +1 -0
  116. package/dist/actions/get-attachment.mjs +20 -0
  117. package/dist/actions/get-attachment.mjs.map +1 -0
  118. package/dist/actions/get-custom-fields.cjs +41 -0
  119. package/dist/actions/get-custom-fields.cjs.map +1 -0
  120. package/dist/actions/get-custom-fields.d.cts +9 -0
  121. package/dist/actions/get-custom-fields.d.cts.map +1 -0
  122. package/dist/actions/get-custom-fields.d.mts +9 -0
  123. package/dist/actions/get-custom-fields.d.mts.map +1 -0
  124. package/dist/actions/get-custom-fields.mjs +40 -0
  125. package/dist/actions/get-custom-fields.mjs.map +1 -0
  126. package/dist/actions/get-single-calibration-record.cjs +114 -0
  127. package/dist/actions/get-single-calibration-record.cjs.map +1 -0
  128. package/dist/actions/get-single-calibration-record.d.cts +9 -0
  129. package/dist/actions/get-single-calibration-record.d.cts.map +1 -0
  130. package/dist/actions/get-single-calibration-record.d.mts +9 -0
  131. package/dist/actions/get-single-calibration-record.d.mts.map +1 -0
  132. package/dist/actions/get-single-calibration-record.mjs +113 -0
  133. package/dist/actions/get-single-calibration-record.mjs.map +1 -0
  134. package/dist/actions/get-single-gage-record.cjs +77 -0
  135. package/dist/actions/get-single-gage-record.cjs.map +1 -0
  136. package/dist/actions/get-single-gage-record.d.cts +9 -0
  137. package/dist/actions/get-single-gage-record.d.cts.map +1 -0
  138. package/dist/actions/get-single-gage-record.d.mts +9 -0
  139. package/dist/actions/get-single-gage-record.d.mts.map +1 -0
  140. package/dist/actions/get-single-gage-record.mjs +76 -0
  141. package/dist/actions/get-single-gage-record.mjs.map +1 -0
  142. package/dist/actions/index.cjs +43 -0
  143. package/dist/actions/index.d.cts +22 -0
  144. package/dist/actions/index.d.mts +22 -0
  145. package/dist/actions/index.mjs +22 -0
  146. package/dist/actions/update-account-settings.cjs +51 -0
  147. package/dist/actions/update-account-settings.cjs.map +1 -0
  148. package/dist/actions/update-account-settings.d.cts +9 -0
  149. package/dist/actions/update-account-settings.d.cts.map +1 -0
  150. package/dist/actions/update-account-settings.d.mts +9 -0
  151. package/dist/actions/update-account-settings.d.mts.map +1 -0
  152. package/dist/actions/update-account-settings.mjs +48 -0
  153. package/dist/actions/update-account-settings.mjs.map +1 -0
  154. package/dist/actions/update-custom-field-values.cjs +27 -0
  155. package/dist/actions/update-custom-field-values.cjs.map +1 -0
  156. package/dist/actions/update-custom-field-values.d.cts +9 -0
  157. package/dist/actions/update-custom-field-values.d.cts.map +1 -0
  158. package/dist/actions/update-custom-field-values.d.mts +9 -0
  159. package/dist/actions/update-custom-field-values.d.mts.map +1 -0
  160. package/dist/actions/update-custom-field-values.mjs +24 -0
  161. package/dist/actions/update-custom-field-values.mjs.map +1 -0
  162. package/dist/actions/update-manufacturer.cjs +27 -0
  163. package/dist/actions/update-manufacturer.cjs.map +1 -0
  164. package/dist/actions/update-manufacturer.d.cts +9 -0
  165. package/dist/actions/update-manufacturer.d.cts.map +1 -0
  166. package/dist/actions/update-manufacturer.d.mts +9 -0
  167. package/dist/actions/update-manufacturer.d.mts.map +1 -0
  168. package/dist/actions/update-manufacturer.mjs +24 -0
  169. package/dist/actions/update-manufacturer.mjs.map +1 -0
  170. package/dist/actions/upload-attachment-to-gage-record.cjs +27 -0
  171. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -0
  172. package/dist/actions/upload-attachment-to-gage-record.d.cts +9 -0
  173. package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -0
  174. package/dist/actions/upload-attachment-to-gage-record.d.mts +9 -0
  175. package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -0
  176. package/dist/actions/upload-attachment-to-gage-record.mjs +24 -0
  177. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -0
  178. package/dist/app.cjs +9 -0
  179. package/dist/app.cjs.map +1 -0
  180. package/dist/app.d.cts +5 -0
  181. package/dist/app.d.cts.map +1 -0
  182. package/dist/app.d.mts +5 -0
  183. package/dist/app.d.mts.map +1 -0
  184. package/dist/app.mjs +10 -0
  185. package/dist/app.mjs.map +1 -0
  186. package/dist/catalog.cjs +15 -0
  187. package/dist/catalog.cjs.map +1 -0
  188. package/dist/catalog.d.cts +14 -0
  189. package/dist/catalog.d.cts.map +1 -0
  190. package/dist/catalog.d.mts +14 -0
  191. package/dist/catalog.d.mts.map +1 -0
  192. package/dist/catalog.mjs +15 -0
  193. package/dist/catalog.mjs.map +1 -0
  194. package/dist/execute.cjs +18 -0
  195. package/dist/execute.cjs.map +1 -0
  196. package/dist/execute.mjs +18 -0
  197. package/dist/execute.mjs.map +1 -0
  198. package/dist/index.cjs +48 -0
  199. package/dist/index.d.cts +24 -0
  200. package/dist/index.d.mts +24 -0
  201. package/dist/index.mjs +25 -0
  202. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetCustomFieldsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\"),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\"),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\"),\n FieldName: z.string().describe(\"Name of the custom field\"),\n FieldType: z.string().describe(\"Data type of the custom field\"),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\"),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\"),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\"),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\"),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\"),\n GagePermission: z.string().describe(\"Permission level for gage context\"),\n GageDefaultValue: z.string().describe(\"Default value in gage context\"),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\"),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\"),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\"),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\"),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\"),\n}).describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput: z.ZodTypeAny = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\"),\n total: z.number().int().describe(\"Total number of custom fields returned\"),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\"),\n}).describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n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AAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D;AACrH,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kCAAkC;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-custom-fields.d.ts
4
+ declare const GagelistGetCustomFieldsInput: z.ZodTypeAny;
5
+ declare const GagelistGetCustomFieldsOutput: z.ZodTypeAny;
6
+ declare const gagelistGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetCustomFields };
9
+ //# sourceMappingURL=get-custom-fields.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAoH;AAAA,cAoBpJ,6BAAA,EAA+B,CAAA,CAAE,UAMa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-custom-fields.d.ts
4
+ declare const GagelistGetCustomFieldsInput: z.ZodTypeAny;
5
+ declare const GagelistGetCustomFieldsOutput: z.ZodTypeAny;
6
+ declare const gagelistGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetCustomFields };
9
+ //# sourceMappingURL=get-custom-fields.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAAoH;AAAA,cAoBpJ,6BAAA,EAA+B,CAAA,CAAE,UAMa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,40 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-custom-fields.ts
4
+ const GagelistGetCustomFieldsInput = z.object({}).describe("Request model for retrieving custom field definitions. No parameters required.");
5
+ const GagelistGetCustomFields_CustomFieldSchema = z.object({
6
+ Id: z.number().int().describe("Unique identifier of the custom field"),
7
+ Status: z.string().describe("Current status of the custom field (e.g., Active/Inactive)"),
8
+ ForType: z.string().describe("Context this field applies to (e.g., 'Gage' or 'Calibration')"),
9
+ FieldName: z.string().describe("Name of the custom field"),
10
+ FieldType: z.string().describe("Data type of the custom field"),
11
+ UpdatedDate: z.string().describe("Timestamp when this field was last updated (ISO 8601 format)"),
12
+ DisplayOrder: z.number().int().describe("Overall ordering index for this custom field"),
13
+ FieldOptions: z.string().describe("Comma-separated options for choice fields, if any"),
14
+ GageRequired: z.number().int().describe("Whether required for gage (0 = no, 1 = yes)"),
15
+ VisibleOnCert: z.number().int().describe("Whether to show this field on the certificate (0 = no, 1 = yes)"),
16
+ GagePermission: z.string().describe("Permission level for gage context"),
17
+ GageDefaultValue: z.string().describe("Default value in gage context"),
18
+ GageDisplaySection: z.number().int().describe("Section ordering index for display under gage records"),
19
+ CalibrationRequired: z.number().int().describe("Whether required for calibration (0 = no, 1 = yes)"),
20
+ CalibrationPermission: z.string().describe("Permission level for calibration context"),
21
+ CalibrationDefaultValue: z.string().describe("Default value in calibration context"),
22
+ CalibrationDisplaySection: z.number().int().describe("Section ordering index for display under calibration records")
23
+ }).describe("Definition of a single custom field in GageList.");
24
+ const gagelistGetCustomFields = action("GAGELIST_GET_CUSTOM_FIELDS", {
25
+ slug: "gagelist-get-custom-fields",
26
+ name: "Get Custom Fields",
27
+ description: "Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.",
28
+ input: GagelistGetCustomFieldsInput,
29
+ output: z.object({
30
+ data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe("List of custom field definitions"),
31
+ count: z.number().int().describe("Count of items in this response"),
32
+ total: z.number().int().describe("Total number of custom fields returned"),
33
+ message: z.string().describe("Additional message from the API").nullable().optional(),
34
+ success: z.boolean().describe("Indicates whether the call succeeded")
35
+ }).describe("Response model for GET_CUSTOM_FIELDS action.")
36
+ });
37
+ //#endregion
38
+ export { gagelistGetCustomFields };
39
+
40
+ //# sourceMappingURL=get-custom-fields.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetCustomFieldsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\"),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\"),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\"),\n FieldName: z.string().describe(\"Name of the custom field\"),\n FieldType: z.string().describe(\"Data type of the custom field\"),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\"),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\"),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\"),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\"),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\"),\n GagePermission: z.string().describe(\"Permission level for gage context\"),\n GageDefaultValue: z.string().describe(\"Default value in gage context\"),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\"),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\"),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\"),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\"),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\"),\n}).describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput: z.ZodTypeAny = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\"),\n total: z.number().int().describe(\"Total number of custom fields returned\"),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\"),\n}).describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n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;CACb,OAAO;CACP,QAbyD,EAAE,OAAO;EAClE,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kCAAkC;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,114 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-calibration-record.ts
4
+ const GagelistGetSingleCalibrationRecordInput = zod.z.object({ id: zod.z.number().int().describe("Calibration record identifier, must be a positive integer") }).describe("Request schema for GET_SINGLE_CALIBRATION_RECORD action.");
5
+ const GagelistGetSingleCalibrationRecord_AttachmentItemSchema = zod.z.object({
6
+ Id: zod.z.number().int().describe("Attachment unique identifier"),
7
+ FileName: zod.z.string().describe("Original file name"),
8
+ FileSize: zod.z.number().int().describe("Size in bytes"),
9
+ FileType: zod.z.string().describe("MIME type or extension"),
10
+ RecordId: zod.z.number().int().describe("Parent record ID"),
11
+ RecordType: zod.z.string().describe("Type of record this attachment belongs to")
12
+ });
13
+ const GagelistGetSingleCalibrationRecord_CounterValueItemSchema = zod.z.object({
14
+ Id: zod.z.number().int().describe("Counter value unique identifier"),
15
+ RefID: zod.z.number().int().describe("Reference record ID"),
16
+ FieldId: zod.z.number().int().describe("Field definition identifier"),
17
+ RefType: zod.z.number().int().describe("Reference record type"),
18
+ FieldValue: zod.z.string().describe("Stored field value"),
19
+ UpdatedDate: zod.z.string().describe("Timestamp when the value was last updated")
20
+ });
21
+ const GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = zod.z.object({
22
+ Id: zod.z.number().int().describe("Test record unique identifier"),
23
+ AsLeft: zod.z.string().describe("Value after adjustment"),
24
+ AsFound: zod.z.string().describe("Value found before adjustment"),
25
+ PassFail: zod.z.string().describe("Pass or Fail result"),
26
+ ChkAsLeft: zod.z.string().describe("Check value after adjustment"),
27
+ Parameter: zod.z.string().describe("Parameter under test"),
28
+ TestNumber: zod.z.string().describe("Sequential test number"),
29
+ RefStandardID: zod.z.string().describe("Reference standard identifier"),
30
+ ExpectedResult: zod.z.string().describe("Expected outcome/value"),
31
+ CalibrationRefId: zod.z.number().int().describe("Reference to parent calibration record")
32
+ });
33
+ const GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = zod.z.object({
34
+ Id: zod.z.number().int().describe("Calibration record identifier"),
35
+ Days: zod.z.number().int().describe("Days component of interval"),
36
+ Type: zod.z.string().describe("Type of calibration"),
37
+ Model: zod.z.string().describe("Model number"),
38
+ Years: zod.z.number().int().describe("Years component of interval"),
39
+ Months: zod.z.number().int().describe("Months component of interval"),
40
+ AssetNo: zod.z.string().describe("Asset number"),
41
+ Website: zod.z.string().describe("Manufacturer website"),
42
+ Interval: zod.z.string().describe("Calibration interval description"),
43
+ IsSigned: zod.z.boolean().describe("Flag indicating if record is signed"),
44
+ Location: zod.z.string().describe("Location of the equipment"),
45
+ SignedBy: zod.z.string().describe("User who signed the record"),
46
+ TestCost: zod.z.string().describe("Test cost"),
47
+ TestTime: zod.z.string().describe("Test time"),
48
+ CreatedBy: zod.z.string().describe("User who created the record"),
49
+ IsDeleted: zod.z.boolean().describe("Flag indicating if record is deleted"),
50
+ SignedPDF: zod.z.string().describe("Signed PDF document URL or data"),
51
+ Tolerance: zod.z.string().describe("Tolerance specification"),
52
+ UpdatedBy: zod.z.string().describe("User who last updated the record"),
53
+ SignedDate: zod.z.string().describe("Date record was signed (ISO 8601)"),
54
+ Attachments: zod.z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe("List of file attachments").nullable().optional(),
55
+ RangeOrSize: zod.z.string().describe("Range or size of measurement"),
56
+ Uncertainty: zod.z.string().describe("Measurement uncertainty"),
57
+ UpdatedDate: zod.z.string().describe("Date when record was last updated (ISO 8601)"),
58
+ Manufacturer: zod.z.string().describe("Manufacturer name"),
59
+ RecordNumber: zod.z.string().describe("Record number assigned"),
60
+ SerialNumber: zod.z.string().describe("Serial number"),
61
+ ControlNumber: zod.z.string().describe("Control number"),
62
+ CounterValues: zod.z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe("List of counter values").nullable().optional(),
63
+ SignatureData: zod.z.string().describe("Signature data"),
64
+ UnitOfMeasure: zod.z.string().describe("Unit of measure"),
65
+ ActionRequired: zod.z.string().describe("Action required post calibration"),
66
+ DateCalibrated: zod.z.string().describe("Date calibrated (ISO 8601)"),
67
+ EquipmentRefId: zod.z.number().int().describe("Equipment reference ID"),
68
+ MasterStandard: zod.z.string().describe("Master standard used"),
69
+ CalibrationDate: zod.z.string().describe("Date of calibration (ISO 8601)"),
70
+ CalibrationTest: zod.z.string().describe("Calibration test procedures"),
71
+ EquipmentAsLeft: zod.z.string().describe("Equipment reading as left"),
72
+ ProductRecalled: zod.z.string().describe("Product recall status"),
73
+ RepairsRequired: zod.z.string().describe("Repairs required"),
74
+ ResponsibleUser: zod.z.string().describe("User responsible for calibration"),
75
+ CalibrationTests: zod.z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe("List of individual test details").nullable().optional(),
76
+ DescribedRepairs: zod.z.string().describe("Description of repairs performed"),
77
+ EquipmentAsFound: zod.z.string().describe("Equipment reading as found"),
78
+ ToleranceComment: zod.z.string().describe("Comments on tolerance"),
79
+ TypesMeasurement: zod.z.string().describe("Types of measurement"),
80
+ ConditionReceived: zod.z.string().describe("Equipment condition when received"),
81
+ AdditionalComments: zod.z.string().describe("Additional comments"),
82
+ CalibrationDueDate: zod.z.string().describe("Calibration due date (ISO 8601)"),
83
+ FitIntendedPurpose: zod.z.string().describe("Fit intended purpose"),
84
+ NextCalibrationDue: zod.z.string().describe("Next calibration due (ISO 8601)"),
85
+ SignaturePublicKey: zod.z.string().describe("Public key used for signature"),
86
+ TestEquipmentFalls: zod.z.string().describe("Test equipment falls"),
87
+ ToleranceCondition: zod.z.string().describe("Tolerance condition"),
88
+ AdjustmentsRequired: zod.z.string().describe("Adjustments required for calibration"),
89
+ AppropriateNotified: zod.z.string().describe("Appropriate parties notified"),
90
+ CalibrationTestMode: zod.z.string().describe("Calibration test mode"),
91
+ LastCalibrationDate: zod.z.string().describe("Last calibration date (ISO 8601)"),
92
+ CalibrationEnvironment: zod.z.string().describe("Calibration environment"),
93
+ CalibrationTechinician: zod.z.string().describe("Calibration technician name"),
94
+ CalibrationInstructions: zod.z.string().describe("Calibration instructions"),
95
+ ExernalCalibrationRecord: zod.z.string().describe("External calibration record reference"),
96
+ TestEquipmentAvailability: zod.z.string().describe("Test equipment availability"),
97
+ TestEquipmentFallsAsFound: zod.z.string().describe("Test equipment falls as found")
98
+ });
99
+ const GagelistGetSingleCalibrationRecordOutput = zod.z.object({
100
+ data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),
101
+ message: zod.z.string().describe("API-returned message"),
102
+ success: zod.z.boolean().describe("Indicates if the operation was successful")
103
+ }).describe("Response schema for GET_SINGLE_CALIBRATION_RECORD action.");
104
+ const gagelistGetSingleCalibrationRecord = require_action.action("GAGELIST_GET_SINGLE_CALIBRATION_RECORD", {
105
+ slug: "gagelist-get-single-calibration-record",
106
+ name: "Get Single Calibration Record",
107
+ description: "Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.",
108
+ input: GagelistGetSingleCalibrationRecordInput,
109
+ output: GagelistGetSingleCalibrationRecordOutput
110
+ });
111
+ //#endregion
112
+ exports.gagelistGetSingleCalibrationRecord = gagelistGetSingleCalibrationRecord;
113
+
114
+ //# sourceMappingURL=get-single-calibration-record.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleCalibrationRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\"),\n FileName: z.string().describe(\"Original file name\"),\n FileSize: z.number().int().describe(\"Size in bytes\"),\n FileType: z.string().describe(\"MIME type or extension\"),\n RecordId: z.number().int().describe(\"Parent record ID\"),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\"),\n});\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\"),\n RefID: z.number().int().describe(\"Reference record ID\"),\n FieldId: z.number().int().describe(\"Field definition identifier\"),\n RefType: z.number().int().describe(\"Reference record type\"),\n FieldValue: z.string().describe(\"Stored field value\"),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\"),\n AsLeft: z.string().describe(\"Value after adjustment\"),\n AsFound: z.string().describe(\"Value found before adjustment\"),\n PassFail: z.string().describe(\"Pass or Fail result\"),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\"),\n Parameter: z.string().describe(\"Parameter under test\"),\n TestNumber: z.string().describe(\"Sequential test number\"),\n RefStandardID: z.string().describe(\"Reference standard identifier\"),\n ExpectedResult: z.string().describe(\"Expected outcome/value\"),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\"),\n Days: z.number().int().describe(\"Days component of interval\"),\n Type: z.string().describe(\"Type of calibration\"),\n Model: z.string().describe(\"Model number\"),\n Years: z.number().int().describe(\"Years component of interval\"),\n Months: z.number().int().describe(\"Months component of interval\"),\n AssetNo: z.string().describe(\"Asset number\"),\n Website: z.string().describe(\"Manufacturer website\"),\n Interval: z.string().describe(\"Calibration interval description\"),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\"),\n Location: z.string().describe(\"Location of the equipment\"),\n SignedBy: z.string().describe(\"User who signed the record\"),\n TestCost: z.string().describe(\"Test cost\"),\n TestTime: z.string().describe(\"Test time\"),\n CreatedBy: z.string().describe(\"User who created the record\"),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\"),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\"),\n Tolerance: z.string().describe(\"Tolerance specification\"),\n UpdatedBy: z.string().describe(\"User who last updated the record\"),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\"),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\"),\n Uncertainty: z.string().describe(\"Measurement uncertainty\"),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\"),\n Manufacturer: z.string().describe(\"Manufacturer name\"),\n RecordNumber: z.string().describe(\"Record number assigned\"),\n SerialNumber: z.string().describe(\"Serial number\"),\n ControlNumber: z.string().describe(\"Control number\"),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\"),\n UnitOfMeasure: z.string().describe(\"Unit of measure\"),\n ActionRequired: z.string().describe(\"Action required post calibration\"),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\"),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\"),\n MasterStandard: z.string().describe(\"Master standard used\"),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\"),\n CalibrationTest: z.string().describe(\"Calibration test procedures\"),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\"),\n ProductRecalled: z.string().describe(\"Product recall status\"),\n RepairsRequired: z.string().describe(\"Repairs required\"),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\"),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\"),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\"),\n ToleranceComment: z.string().describe(\"Comments on tolerance\"),\n TypesMeasurement: z.string().describe(\"Types of measurement\"),\n ConditionReceived: z.string().describe(\"Equipment condition when received\"),\n AdditionalComments: z.string().describe(\"Additional comments\"),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\"),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\"),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\"),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\"),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\"),\n ToleranceCondition: z.string().describe(\"Tolerance condition\"),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\"),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\"),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\"),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\"),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\"),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\"),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\"),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\"),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\"),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\"),\n});\nexport const GagelistGetSingleCalibrationRecordOutput: z.ZodTypeAny = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\"),\n success: z.boolean().describe(\"Indicates if the operation was successful\"),\n}).describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,EAC3F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC;AACD,MAAM,4DAA0EA,IAAAA,EAAE,OAAO;CACvF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACtD,SAAS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SAAS,6BAA6B;CACzE,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACvE,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrF,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5E,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAChF,CAAC;AACD,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAM,2DAA2D,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-calibration-record.d.ts
4
+ declare const GagelistGetSingleCalibrationRecordInput: z.ZodTypeAny;
5
+ declare const GagelistGetSingleCalibrationRecordOutput: z.ZodTypeAny;
6
+ declare const gagelistGetSingleCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetSingleCalibrationRecord };
9
+ //# sourceMappingURL=get-single-calibration-record.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-calibration-record.d.cts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEe;AAAA,cA+F1D,wCAAA,EAA0C,CAAA,CAAE,UAIe;AAAA,cAE3D,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-calibration-record.d.ts
4
+ declare const GagelistGetSingleCalibrationRecordInput: z.ZodTypeAny;
5
+ declare const GagelistGetSingleCalibrationRecordOutput: z.ZodTypeAny;
6
+ declare const gagelistGetSingleCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetSingleCalibrationRecord };
9
+ //# sourceMappingURL=get-single-calibration-record.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-calibration-record.d.mts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEe;AAAA,cA+F1D,wCAAA,EAA0C,CAAA,CAAE,UAIe;AAAA,cAE3D,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,113 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-single-calibration-record.ts
4
+ const GagelistGetSingleCalibrationRecordInput = z.object({ id: z.number().int().describe("Calibration record identifier, must be a positive integer") }).describe("Request schema for GET_SINGLE_CALIBRATION_RECORD action.");
5
+ const GagelistGetSingleCalibrationRecord_AttachmentItemSchema = z.object({
6
+ Id: z.number().int().describe("Attachment unique identifier"),
7
+ FileName: z.string().describe("Original file name"),
8
+ FileSize: z.number().int().describe("Size in bytes"),
9
+ FileType: z.string().describe("MIME type or extension"),
10
+ RecordId: z.number().int().describe("Parent record ID"),
11
+ RecordType: z.string().describe("Type of record this attachment belongs to")
12
+ });
13
+ const GagelistGetSingleCalibrationRecord_CounterValueItemSchema = z.object({
14
+ Id: z.number().int().describe("Counter value unique identifier"),
15
+ RefID: z.number().int().describe("Reference record ID"),
16
+ FieldId: z.number().int().describe("Field definition identifier"),
17
+ RefType: z.number().int().describe("Reference record type"),
18
+ FieldValue: z.string().describe("Stored field value"),
19
+ UpdatedDate: z.string().describe("Timestamp when the value was last updated")
20
+ });
21
+ const GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = z.object({
22
+ Id: z.number().int().describe("Test record unique identifier"),
23
+ AsLeft: z.string().describe("Value after adjustment"),
24
+ AsFound: z.string().describe("Value found before adjustment"),
25
+ PassFail: z.string().describe("Pass or Fail result"),
26
+ ChkAsLeft: z.string().describe("Check value after adjustment"),
27
+ Parameter: z.string().describe("Parameter under test"),
28
+ TestNumber: z.string().describe("Sequential test number"),
29
+ RefStandardID: z.string().describe("Reference standard identifier"),
30
+ ExpectedResult: z.string().describe("Expected outcome/value"),
31
+ CalibrationRefId: z.number().int().describe("Reference to parent calibration record")
32
+ });
33
+ const GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = z.object({
34
+ Id: z.number().int().describe("Calibration record identifier"),
35
+ Days: z.number().int().describe("Days component of interval"),
36
+ Type: z.string().describe("Type of calibration"),
37
+ Model: z.string().describe("Model number"),
38
+ Years: z.number().int().describe("Years component of interval"),
39
+ Months: z.number().int().describe("Months component of interval"),
40
+ AssetNo: z.string().describe("Asset number"),
41
+ Website: z.string().describe("Manufacturer website"),
42
+ Interval: z.string().describe("Calibration interval description"),
43
+ IsSigned: z.boolean().describe("Flag indicating if record is signed"),
44
+ Location: z.string().describe("Location of the equipment"),
45
+ SignedBy: z.string().describe("User who signed the record"),
46
+ TestCost: z.string().describe("Test cost"),
47
+ TestTime: z.string().describe("Test time"),
48
+ CreatedBy: z.string().describe("User who created the record"),
49
+ IsDeleted: z.boolean().describe("Flag indicating if record is deleted"),
50
+ SignedPDF: z.string().describe("Signed PDF document URL or data"),
51
+ Tolerance: z.string().describe("Tolerance specification"),
52
+ UpdatedBy: z.string().describe("User who last updated the record"),
53
+ SignedDate: z.string().describe("Date record was signed (ISO 8601)"),
54
+ Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe("List of file attachments").nullable().optional(),
55
+ RangeOrSize: z.string().describe("Range or size of measurement"),
56
+ Uncertainty: z.string().describe("Measurement uncertainty"),
57
+ UpdatedDate: z.string().describe("Date when record was last updated (ISO 8601)"),
58
+ Manufacturer: z.string().describe("Manufacturer name"),
59
+ RecordNumber: z.string().describe("Record number assigned"),
60
+ SerialNumber: z.string().describe("Serial number"),
61
+ ControlNumber: z.string().describe("Control number"),
62
+ CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe("List of counter values").nullable().optional(),
63
+ SignatureData: z.string().describe("Signature data"),
64
+ UnitOfMeasure: z.string().describe("Unit of measure"),
65
+ ActionRequired: z.string().describe("Action required post calibration"),
66
+ DateCalibrated: z.string().describe("Date calibrated (ISO 8601)"),
67
+ EquipmentRefId: z.number().int().describe("Equipment reference ID"),
68
+ MasterStandard: z.string().describe("Master standard used"),
69
+ CalibrationDate: z.string().describe("Date of calibration (ISO 8601)"),
70
+ CalibrationTest: z.string().describe("Calibration test procedures"),
71
+ EquipmentAsLeft: z.string().describe("Equipment reading as left"),
72
+ ProductRecalled: z.string().describe("Product recall status"),
73
+ RepairsRequired: z.string().describe("Repairs required"),
74
+ ResponsibleUser: z.string().describe("User responsible for calibration"),
75
+ CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe("List of individual test details").nullable().optional(),
76
+ DescribedRepairs: z.string().describe("Description of repairs performed"),
77
+ EquipmentAsFound: z.string().describe("Equipment reading as found"),
78
+ ToleranceComment: z.string().describe("Comments on tolerance"),
79
+ TypesMeasurement: z.string().describe("Types of measurement"),
80
+ ConditionReceived: z.string().describe("Equipment condition when received"),
81
+ AdditionalComments: z.string().describe("Additional comments"),
82
+ CalibrationDueDate: z.string().describe("Calibration due date (ISO 8601)"),
83
+ FitIntendedPurpose: z.string().describe("Fit intended purpose"),
84
+ NextCalibrationDue: z.string().describe("Next calibration due (ISO 8601)"),
85
+ SignaturePublicKey: z.string().describe("Public key used for signature"),
86
+ TestEquipmentFalls: z.string().describe("Test equipment falls"),
87
+ ToleranceCondition: z.string().describe("Tolerance condition"),
88
+ AdjustmentsRequired: z.string().describe("Adjustments required for calibration"),
89
+ AppropriateNotified: z.string().describe("Appropriate parties notified"),
90
+ CalibrationTestMode: z.string().describe("Calibration test mode"),
91
+ LastCalibrationDate: z.string().describe("Last calibration date (ISO 8601)"),
92
+ CalibrationEnvironment: z.string().describe("Calibration environment"),
93
+ CalibrationTechinician: z.string().describe("Calibration technician name"),
94
+ CalibrationInstructions: z.string().describe("Calibration instructions"),
95
+ ExernalCalibrationRecord: z.string().describe("External calibration record reference"),
96
+ TestEquipmentAvailability: z.string().describe("Test equipment availability"),
97
+ TestEquipmentFallsAsFound: z.string().describe("Test equipment falls as found")
98
+ });
99
+ const gagelistGetSingleCalibrationRecord = action("GAGELIST_GET_SINGLE_CALIBRATION_RECORD", {
100
+ slug: "gagelist-get-single-calibration-record",
101
+ name: "Get Single Calibration Record",
102
+ description: "Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.",
103
+ input: GagelistGetSingleCalibrationRecordInput,
104
+ output: z.object({
105
+ data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),
106
+ message: z.string().describe("API-returned message"),
107
+ success: z.boolean().describe("Indicates if the operation was successful")
108
+ }).describe("Response schema for GET_SINGLE_CALIBRATION_RECORD action.")
109
+ });
110
+ //#endregion
111
+ export { gagelistGetSingleCalibrationRecord };
112
+
113
+ //# sourceMappingURL=get-single-calibration-record.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-calibration-record.mjs","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleCalibrationRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\"),\n FileName: z.string().describe(\"Original file name\"),\n FileSize: z.number().int().describe(\"Size in bytes\"),\n FileType: z.string().describe(\"MIME type or extension\"),\n RecordId: z.number().int().describe(\"Parent record ID\"),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\"),\n});\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\"),\n RefID: z.number().int().describe(\"Reference record ID\"),\n FieldId: z.number().int().describe(\"Field definition identifier\"),\n RefType: z.number().int().describe(\"Reference record type\"),\n FieldValue: z.string().describe(\"Stored field value\"),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\"),\n AsLeft: z.string().describe(\"Value after adjustment\"),\n AsFound: z.string().describe(\"Value found before adjustment\"),\n PassFail: z.string().describe(\"Pass or Fail result\"),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\"),\n Parameter: z.string().describe(\"Parameter under test\"),\n TestNumber: z.string().describe(\"Sequential test number\"),\n RefStandardID: z.string().describe(\"Reference standard identifier\"),\n ExpectedResult: z.string().describe(\"Expected outcome/value\"),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\"),\n Days: z.number().int().describe(\"Days component of interval\"),\n Type: z.string().describe(\"Type of calibration\"),\n Model: z.string().describe(\"Model number\"),\n Years: z.number().int().describe(\"Years component of interval\"),\n Months: z.number().int().describe(\"Months component of interval\"),\n AssetNo: z.string().describe(\"Asset number\"),\n Website: z.string().describe(\"Manufacturer website\"),\n Interval: z.string().describe(\"Calibration interval description\"),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\"),\n Location: z.string().describe(\"Location of the equipment\"),\n SignedBy: z.string().describe(\"User who signed the record\"),\n TestCost: z.string().describe(\"Test cost\"),\n TestTime: z.string().describe(\"Test time\"),\n CreatedBy: z.string().describe(\"User who created the record\"),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\"),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\"),\n Tolerance: z.string().describe(\"Tolerance specification\"),\n UpdatedBy: z.string().describe(\"User who last updated the record\"),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\"),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\"),\n Uncertainty: z.string().describe(\"Measurement uncertainty\"),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\"),\n Manufacturer: z.string().describe(\"Manufacturer name\"),\n RecordNumber: z.string().describe(\"Record number assigned\"),\n SerialNumber: z.string().describe(\"Serial number\"),\n ControlNumber: z.string().describe(\"Control number\"),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\"),\n UnitOfMeasure: z.string().describe(\"Unit of measure\"),\n ActionRequired: z.string().describe(\"Action required post calibration\"),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\"),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\"),\n MasterStandard: z.string().describe(\"Master standard used\"),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\"),\n CalibrationTest: z.string().describe(\"Calibration test procedures\"),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\"),\n ProductRecalled: z.string().describe(\"Product recall status\"),\n RepairsRequired: z.string().describe(\"Repairs required\"),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\"),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\"),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\"),\n ToleranceComment: z.string().describe(\"Comments on tolerance\"),\n TypesMeasurement: z.string().describe(\"Types of measurement\"),\n ConditionReceived: z.string().describe(\"Equipment condition when received\"),\n AdditionalComments: z.string().describe(\"Additional comments\"),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\"),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\"),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\"),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\"),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\"),\n ToleranceCondition: z.string().describe(\"Tolerance condition\"),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\"),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\"),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\"),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\"),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\"),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\"),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\"),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\"),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\"),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\"),\n});\nexport const GagelistGetSingleCalibrationRecordOutput: z.ZodTypeAny = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\"),\n success: z.boolean().describe(\"Indicates if the operation was successful\"),\n}).describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO,EAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,EAC3F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0DAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC7E,CAAC;AACD,MAAM,4DAA0E,EAAE,OAAO;CACvF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC1D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC9E,CAAC;AACD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oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC7D,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC/E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACvE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAChE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3E,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACzE,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACvE,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrF,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5E,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAChF,CAAC;AAOD,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoE,EAAE,OAAO;EAC7E,MAAM,2DAA2D,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -0,0 +1,77 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-gage-record.ts
4
+ const GagelistGetSingleGageRecordInput = zod.z.object({ id: zod.z.number().int().describe("The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.") }).describe("Request parameters for retrieving a single gage record by its ID.");
5
+ const GagelistGetSingleGageRecord_AttachmentSchema = zod.z.object({
6
+ Id: zod.z.number().int().describe("Attachment identifier").nullable().optional(),
7
+ FileName: zod.z.string().describe("Name of the attached file").nullable().optional(),
8
+ FileSize: zod.z.number().int().describe("Size of the file in bytes").nullable().optional(),
9
+ FileType: zod.z.string().describe("MIME type of the file (e.g., 'application/pdf', 'image/jpeg')").nullable().optional(),
10
+ RecordId: zod.z.number().int().describe("ID of the record this attachment is linked to").nullable().optional(),
11
+ RecordType: zod.z.string().describe("Type of record (e.g., 'Gage', 'Calibration')").nullable().optional()
12
+ });
13
+ const GagelistGetSingleGageRecord_TestTemplateSchema = zod.z.object({
14
+ Id: zod.z.number().int().describe("Test template identifier").nullable().optional(),
15
+ Parameter: zod.z.string().describe("Parameter under test").nullable().optional(),
16
+ TestNumber: zod.z.string().describe("Number of the test").nullable().optional(),
17
+ RefStandardID: zod.z.string().describe("Reference standard identifier").nullable().optional(),
18
+ EquipmentRefId: zod.z.number().int().describe("Reference ID of the associated equipment").nullable().optional(),
19
+ ExpectedResult: zod.z.string().describe("Expected result of the test").nullable().optional()
20
+ });
21
+ const GagelistGetSingleGageRecord_GageRecordDetailSchema = zod.z.object({
22
+ Id: zod.z.number().int().describe("Gage record ID"),
23
+ Area: zod.z.string().describe("Area or department using the gage").nullable().optional(),
24
+ Days: zod.z.number().int().describe("Days component of the interval").nullable().optional(),
25
+ Type: zod.z.string().describe("Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')").nullable().optional(),
26
+ Model: zod.z.string().describe("Model number of the gage").nullable().optional(),
27
+ Years: zod.z.number().int().describe("Years component of the interval").nullable().optional(),
28
+ Months: zod.z.number().int().describe("Months component of the interval").nullable().optional(),
29
+ Status: zod.z.string().describe("Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')").nullable().optional(),
30
+ AssetNo: zod.z.string().describe("Asset number assigned to the gage").nullable().optional(),
31
+ Website: zod.z.string().describe("Manufacturer website URL").nullable().optional(),
32
+ Interval: zod.z.string().describe("Calibration interval description").nullable().optional(),
33
+ Location: zod.z.string().describe("Current storage or usage location").nullable().optional(),
34
+ CreatedBy: zod.z.string().describe("User who created the record").nullable().optional(),
35
+ IsDeleted: zod.z.boolean().describe("Flag indicating if the record is deleted").nullable().optional(),
36
+ Tolerance: zod.z.string().describe("Tolerance specification").nullable().optional(),
37
+ UpdatedBy: zod.z.string().describe("User who last updated the record").nullable().optional(),
38
+ NISTNumber: zod.z.string().describe("NIST traceability number").nullable().optional(),
39
+ Attachments: zod.z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe("List of associated attachments").nullable().optional(),
40
+ DateAquired: zod.z.string().describe("ISO 8601 datetime when acquired").nullable().optional(),
41
+ RangeOrSize: zod.z.string().describe("Range or size specification").nullable().optional(),
42
+ UpdatedDate: zod.z.string().describe("ISO 8601 datetime of last update").nullable().optional(),
43
+ Manufacturer: zod.z.string().describe("Manufacturer of the gage").nullable().optional(),
44
+ SerialNumber: zod.z.string().describe("Serial number of the gage").nullable().optional(),
45
+ ControlNumber: zod.z.string().describe("Control number of the gage").nullable().optional(),
46
+ PurchasePrice: zod.z.number().describe("Purchase price of the gage").nullable().optional(),
47
+ TestTemplates: zod.z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe("List of associated test templates").nullable().optional(),
48
+ UnitOfMeasure: zod.z.string().describe("Unit of measure used (e.g., 'inches', 'millimeters')").nullable().optional(),
49
+ MasterStandard: zod.z.string().describe("Master standard used in calibration").nullable().optional(),
50
+ SourceOrVendor: zod.z.string().describe("Vendor or source from which acquired").nullable().optional(),
51
+ ResponsibleUser: zod.z.string().describe("User responsible for the gage").nullable().optional(),
52
+ ConditionAquired: zod.z.string().describe("Condition at acquisition").nullable().optional(),
53
+ NotificationList: zod.z.string().describe("Comma-separated list of users to notify").nullable().optional(),
54
+ OtherInformation: zod.z.string().describe("Additional information").nullable().optional(),
55
+ TypesMeasurement: zod.z.string().describe("Measurement types supported").nullable().optional(),
56
+ CalibrationDueDate: zod.z.string().describe("ISO 8601 datetime when calibration is due").nullable().optional(),
57
+ CalibrationTestMode: zod.z.string().describe("Test mode used in calibration").nullable().optional(),
58
+ LastCalibrationDate: zod.z.string().describe("ISO 8601 datetime of last calibration").nullable().optional(),
59
+ CalibrationEnvironment: zod.z.string().describe("Environment details for calibration").nullable().optional(),
60
+ CalibrationInstructions: zod.z.string().describe("Instructions for calibration").nullable().optional()
61
+ });
62
+ const GagelistGetSingleGageRecordOutput = zod.z.object({
63
+ data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),
64
+ message: zod.z.string().describe("API response message or error details").nullable().optional(),
65
+ success: zod.z.boolean().describe("Indicates if the request was successful")
66
+ });
67
+ const gagelistGetSingleGageRecord = require_action.action("GAGELIST_GET_SINGLE_GAGE_RECORD", {
68
+ slug: "gagelist-get-single-gage-record",
69
+ name: "Get Single Gage Record",
70
+ description: "Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)",
71
+ input: GagelistGetSingleGageRecordInput,
72
+ output: GagelistGetSingleGageRecordOutput
73
+ });
74
+ //#endregion
75
+ exports.gagelistGetSingleGageRecord = gagelistGetSingleGageRecord;
76
+
77
+ //# sourceMappingURL=get-single-gage-record.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n});\nconst GagelistGetSingleGageRecord_TestTemplateSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Test template identifier\").nullable().optional(),\n Parameter: z.string().describe(\"Parameter under test\").nullable().optional(),\n TestNumber: z.string().describe(\"Number of the test\").nullable().optional(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable().optional(),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the associated equipment\").nullable().optional(),\n ExpectedResult: z.string().describe(\"Expected result of the test\").nullable().optional(),\n});\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Gage record ID\"),\n Area: z.string().describe(\"Area or department using the gage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of the interval\").nullable().optional(),\n Type: z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").nullable().optional(),\n Model: z.string().describe(\"Model number of the gage\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of the interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of the interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number assigned to the gage\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website URL\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval description\").nullable().optional(),\n Location: z.string().describe(\"Current storage or usage location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Flag indicating if the record is deleted\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST traceability number\").nullable().optional(),\n Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").nullable().optional(),\n DateAquired: z.string().describe(\"ISO 8601 datetime when acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size specification\").nullable().optional(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime of last update\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer of the gage\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number of the gage\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price of the gage\").nullable().optional(),\n TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used in calibration\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").nullable().optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").nullable().optional(),\n OtherInformation: z.string().describe(\"Additional information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"ISO 8601 datetime when calibration is due\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used in calibration\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"ISO 8601 datetime of last calibration\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Instructions for calibration\").nullable().optional(),\n});\nexport const GagelistGetSingleGageRecordOutput: z.ZodTypeAny = z.object({\n data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),\n message: z.string().describe(\"API response message or error details\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n});\n\nexport const gagelistGetSingleGageRecord = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)\",\n input: GagelistGetSingleGageRecordInput,\n output: GagelistGetSingleGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qMAAqM,EACrO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAA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,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-gage-record.d.ts
4
+ declare const GagelistGetSingleGageRecordInput: z.ZodTypeAny;
5
+ declare const GagelistGetSingleGageRecordOutput: z.ZodTypeAny;
6
+ declare const gagelistGetSingleGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetSingleGageRecord };
9
+ //# sourceMappingURL=get-single-gage-record.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-gage-record.d.cts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE+B;AAAA,cA0DnE,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-gage-record.d.ts
4
+ declare const GagelistGetSingleGageRecordInput: z.ZodTypeAny;
5
+ declare const GagelistGetSingleGageRecordOutput: z.ZodTypeAny;
6
+ declare const gagelistGetSingleGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { gagelistGetSingleGageRecord };
9
+ //# sourceMappingURL=get-single-gage-record.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-gage-record.d.mts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE+B;AAAA,cA0DnE,iCAAA,EAAmC,CAAA,CAAE,UAIhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}