@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.
Files changed (172) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-calibration-record.cjs +1 -1
  5. package/dist/actions/add-calibration-record.cjs.map +1 -1
  6. package/dist/actions/add-calibration-record.d.cts +183 -3
  7. package/dist/actions/add-calibration-record.d.cts.map +1 -1
  8. package/dist/actions/add-calibration-record.d.mts +183 -3
  9. package/dist/actions/add-calibration-record.d.mts.map +1 -1
  10. package/dist/actions/add-calibration-record.mjs +1 -1
  11. package/dist/actions/add-calibration-record.mjs.map +1 -1
  12. package/dist/actions/add-gage-record.cjs +2 -2
  13. package/dist/actions/add-gage-record.cjs.map +1 -1
  14. package/dist/actions/add-gage-record.d.cts +115 -3
  15. package/dist/actions/add-gage-record.d.cts.map +1 -1
  16. package/dist/actions/add-gage-record.d.mts +115 -3
  17. package/dist/actions/add-gage-record.d.mts.map +1 -1
  18. package/dist/actions/add-gage-record.mjs +2 -2
  19. package/dist/actions/add-gage-record.mjs.map +1 -1
  20. package/dist/actions/add-manufacturer.cjs +1 -1
  21. package/dist/actions/add-manufacturer.cjs.map +1 -1
  22. package/dist/actions/add-manufacturer.d.cts +21 -3
  23. package/dist/actions/add-manufacturer.d.cts.map +1 -1
  24. package/dist/actions/add-manufacturer.d.mts +21 -3
  25. package/dist/actions/add-manufacturer.d.mts.map +1 -1
  26. package/dist/actions/add-manufacturer.mjs +1 -1
  27. package/dist/actions/add-manufacturer.mjs.map +1 -1
  28. package/dist/actions/authenticate-with-gagelist.cjs +8 -8
  29. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  30. package/dist/actions/authenticate-with-gagelist.d.cts +19 -3
  31. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
  32. package/dist/actions/authenticate-with-gagelist.d.mts +19 -3
  33. package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
  34. package/dist/actions/authenticate-with-gagelist.mjs +8 -8
  35. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  36. package/dist/actions/delete-calibration-record.cjs +3 -3
  37. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  38. package/dist/actions/delete-calibration-record.d.cts +11 -3
  39. package/dist/actions/delete-calibration-record.d.cts.map +1 -1
  40. package/dist/actions/delete-calibration-record.d.mts +11 -3
  41. package/dist/actions/delete-calibration-record.d.mts.map +1 -1
  42. package/dist/actions/delete-calibration-record.mjs +3 -3
  43. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  44. package/dist/actions/delete-gage-record.cjs +3 -3
  45. package/dist/actions/delete-gage-record.cjs.map +1 -1
  46. package/dist/actions/delete-gage-record.d.cts +11 -3
  47. package/dist/actions/delete-gage-record.d.cts.map +1 -1
  48. package/dist/actions/delete-gage-record.d.mts +11 -3
  49. package/dist/actions/delete-gage-record.d.mts.map +1 -1
  50. package/dist/actions/delete-gage-record.mjs +3 -3
  51. package/dist/actions/delete-gage-record.mjs.map +1 -1
  52. package/dist/actions/delete-manufacturer.cjs +3 -3
  53. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  54. package/dist/actions/delete-manufacturer.d.cts +11 -3
  55. package/dist/actions/delete-manufacturer.d.cts.map +1 -1
  56. package/dist/actions/delete-manufacturer.d.mts +11 -3
  57. package/dist/actions/delete-manufacturer.d.mts.map +1 -1
  58. package/dist/actions/delete-manufacturer.mjs +3 -3
  59. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  60. package/dist/actions/generate-calibration-certificate.cjs +3 -3
  61. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  62. package/dist/actions/generate-calibration-certificate.d.cts +13 -3
  63. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
  64. package/dist/actions/generate-calibration-certificate.d.mts +13 -3
  65. package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
  66. package/dist/actions/generate-calibration-certificate.mjs +3 -3
  67. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  68. package/dist/actions/get-account-settings.cjs +15 -15
  69. package/dist/actions/get-account-settings.cjs.map +1 -1
  70. package/dist/actions/get-account-settings.d.cts +39 -3
  71. package/dist/actions/get-account-settings.d.cts.map +1 -1
  72. package/dist/actions/get-account-settings.d.mts +39 -3
  73. package/dist/actions/get-account-settings.d.mts.map +1 -1
  74. package/dist/actions/get-account-settings.mjs +15 -15
  75. package/dist/actions/get-account-settings.mjs.map +1 -1
  76. package/dist/actions/get-account-status.cjs +45 -45
  77. package/dist/actions/get-account-status.cjs.map +1 -1
  78. package/dist/actions/get-account-status.d.cts +74 -3
  79. package/dist/actions/get-account-status.d.cts.map +1 -1
  80. package/dist/actions/get-account-status.d.mts +74 -3
  81. package/dist/actions/get-account-status.d.mts.map +1 -1
  82. package/dist/actions/get-account-status.mjs +45 -45
  83. package/dist/actions/get-account-status.mjs.map +1 -1
  84. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  85. package/dist/actions/get-all-calibration-records.d.cts +80 -3
  86. package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
  87. package/dist/actions/get-all-calibration-records.d.mts +80 -3
  88. package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
  89. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  90. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  91. package/dist/actions/get-all-gage-records.d.cts +59 -3
  92. package/dist/actions/get-all-gage-records.d.cts.map +1 -1
  93. package/dist/actions/get-all-gage-records.d.mts +59 -3
  94. package/dist/actions/get-all-gage-records.d.mts.map +1 -1
  95. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  96. package/dist/actions/get-all-manufacturers.cjs +11 -11
  97. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  98. package/dist/actions/get-all-manufacturers.d.cts +18 -3
  99. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  100. package/dist/actions/get-all-manufacturers.d.mts +18 -3
  101. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  102. package/dist/actions/get-all-manufacturers.mjs +11 -11
  103. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  104. package/dist/actions/get-attachment.cjs +3 -3
  105. package/dist/actions/get-attachment.cjs.map +1 -1
  106. package/dist/actions/get-attachment.d.cts +13 -3
  107. package/dist/actions/get-attachment.d.cts.map +1 -1
  108. package/dist/actions/get-attachment.d.mts +13 -3
  109. package/dist/actions/get-attachment.d.mts.map +1 -1
  110. package/dist/actions/get-attachment.mjs +3 -3
  111. package/dist/actions/get-attachment.mjs.map +1 -1
  112. package/dist/actions/get-custom-fields.cjs +20 -20
  113. package/dist/actions/get-custom-fields.cjs.map +1 -1
  114. package/dist/actions/get-custom-fields.d.cts +27 -3
  115. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  116. package/dist/actions/get-custom-fields.d.mts +27 -3
  117. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  118. package/dist/actions/get-custom-fields.mjs +20 -20
  119. package/dist/actions/get-custom-fields.mjs.map +1 -1
  120. package/dist/actions/get-single-calibration-record.cjs +85 -85
  121. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  122. package/dist/actions/get-single-calibration-record.d.cts +101 -3
  123. package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
  124. package/dist/actions/get-single-calibration-record.d.mts +101 -3
  125. package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
  126. package/dist/actions/get-single-calibration-record.mjs +85 -85
  127. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  128. package/dist/actions/get-single-gage-record.cjs +2 -2
  129. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  130. package/dist/actions/get-single-gage-record.d.cts +65 -3
  131. package/dist/actions/get-single-gage-record.d.cts.map +1 -1
  132. package/dist/actions/get-single-gage-record.d.mts +65 -3
  133. package/dist/actions/get-single-gage-record.d.mts.map +1 -1
  134. package/dist/actions/get-single-gage-record.mjs +2 -2
  135. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  136. package/dist/actions/update-account-settings.cjs +2 -2
  137. package/dist/actions/update-account-settings.cjs.map +1 -1
  138. package/dist/actions/update-account-settings.d.cts +70 -3
  139. package/dist/actions/update-account-settings.d.cts.map +1 -1
  140. package/dist/actions/update-account-settings.d.mts +70 -3
  141. package/dist/actions/update-account-settings.d.mts.map +1 -1
  142. package/dist/actions/update-account-settings.mjs +2 -2
  143. package/dist/actions/update-account-settings.mjs.map +1 -1
  144. package/dist/actions/update-custom-field-values.cjs +1 -1
  145. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  146. package/dist/actions/update-custom-field-values.d.cts +25 -3
  147. package/dist/actions/update-custom-field-values.d.cts.map +1 -1
  148. package/dist/actions/update-custom-field-values.d.mts +25 -3
  149. package/dist/actions/update-custom-field-values.d.mts.map +1 -1
  150. package/dist/actions/update-custom-field-values.mjs +1 -1
  151. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  152. package/dist/actions/update-manufacturer.cjs +3 -3
  153. package/dist/actions/update-manufacturer.cjs.map +1 -1
  154. package/dist/actions/update-manufacturer.d.cts +21 -3
  155. package/dist/actions/update-manufacturer.d.cts.map +1 -1
  156. package/dist/actions/update-manufacturer.d.mts +21 -3
  157. package/dist/actions/update-manufacturer.d.mts.map +1 -1
  158. package/dist/actions/update-manufacturer.mjs +3 -3
  159. package/dist/actions/update-manufacturer.mjs.map +1 -1
  160. package/dist/actions/upload-attachment-to-gage-record.cjs +2 -2
  161. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  162. package/dist/actions/upload-attachment-to-gage-record.d.cts +21 -3
  163. package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
  164. package/dist/actions/upload-attachment-to-gage-record.d.mts +21 -3
  165. package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
  166. package/dist/actions/upload-attachment-to-gage-record.mjs +2 -2
  167. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  168. package/dist/execute.cjs +1 -1
  169. package/dist/execute.cjs.map +1 -1
  170. package/dist/execute.mjs +1 -1
  171. package/dist/execute.mjs.map +1 -1
  172. package/package.json +2 -2
@@ -9,14 +9,14 @@ const gagelistAuthenticateWithGagelist = action("GAGELIST_AUTHENTICATE_WITH_GAGE
9
9
  client_secret: z.string().describe("Gagelist client secret issued alongside the client ID")
10
10
  }).describe("Request model for AUTHENTICATE_WITH_GAGELIST."),
11
11
  output: z.object({
12
- scope: z.string().describe("Scopes granted by the access token (e.g., 'openid email profile')"),
13
- issued: z.string().describe("ISO 8601 timestamp when the token was issued"),
14
- expires: z.string().describe("ISO 8601 timestamp when the token will expire"),
15
- user_id: z.string().describe("Unique identifier of the authenticated user"),
16
- client_id: z.string().describe("Client ID that was used for authentication"),
17
- expires_in: z.number().int().describe("Number of seconds before the token expires"),
18
- token_type: z.string().describe("Type of the token issued. Typically 'Bearer'"),
19
- access_token: z.string().describe("Bearer token string to authenticate subsequent API calls"),
12
+ scope: z.string().describe("Scopes granted by the access token (e.g., 'openid email profile')").nullable(),
13
+ issued: z.string().describe("ISO 8601 timestamp when the token was issued").nullable(),
14
+ expires: z.string().describe("ISO 8601 timestamp when the token will expire").nullable(),
15
+ user_id: z.string().describe("Unique identifier of the authenticated user").nullable(),
16
+ client_id: z.string().describe("Client ID that was used for authentication").nullable(),
17
+ expires_in: z.number().int().describe("Number of seconds before the token expires").nullable(),
18
+ token_type: z.string().describe("Type of the token issued. Typically 'Bearer'").nullable(),
19
+ access_token: z.string().describe("Bearer token string to authenticate subsequent API calls").nullable(),
20
20
  refresh_token: z.string().describe("Token used to renew the access token (if provided)").nullable().optional()
21
21
  }).describe("Response model for AUTHENTICATE_WITH_GAGELIST.")
22
22
  });
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate-with-gagelist.mjs","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAuthenticateWithGagelistInput: z.ZodTypeAny = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput: z.ZodTypeAny = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\"),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\"),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\"),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\"),\n client_id: z.string().describe(\"Client ID that was used for authentication\"),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\"),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\"),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\"),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBiE,EAAE,OAAO;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBkE,EAAE,OAAO;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EAC9F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"authenticate-with-gagelist.mjs","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAuthenticateWithGagelistInput = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\").nullable(),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\").nullable(),\n client_id: z.string().describe(\"Client ID that was used for authentication\").nullable(),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\").nullable(),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\").nullable(),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\").nullable(),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-calibration-record.ts
4
4
  const GagelistDeleteCalibrationRecordInput = zod.z.object({ id: zod.z.number().int().describe("Calibration record ID to delete (must be a positive integer)") }).describe("Request model for deleting a calibration record.");
5
5
  const GagelistDeleteCalibrationRecordOutput = zod.z.object({
6
- data: zod.z.number().int().describe("Numeric code returned by the API (typically 0 on success)"),
7
- message: zod.z.string().describe("Message returned by the API"),
8
- success: zod.z.boolean().describe("Indicates if the deletion was successful")
6
+ data: zod.z.number().int().describe("Numeric code returned by the API (typically 0 on success)").nullable(),
7
+ message: zod.z.string().describe("Message returned by the API").nullable(),
8
+ success: zod.z.boolean().describe("Indicates if the deletion was successful").nullable()
9
9
  }).describe("Response model after deleting a calibration record.");
10
10
  const gagelistDeleteCalibrationRecord = require_action.action("GAGELIST_DELETE_CALIBRATION_RECORD", {
11
11
  slug: "gagelist-delete-calibration-record",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\"),\n message: z.string().describe(\"Message returned by the API\"),\n success: z.boolean().describe(\"Indicates if the deletion was successful\"),\n}).describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-calibration-record.d.ts
4
- declare const GagelistDeleteCalibrationRecordInput: z.ZodTypeAny;
5
- declare const GagelistDeleteCalibrationRecordOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteCalibrationRecordInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteCalibrationRecordOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteCalibrationRecord };
9
17
  //# sourceMappingURL=delete-calibration-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.d.cts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEU;AAAA,cAClD,qCAAA,EAAuC,CAAA,CAAE,UAIY;AAAA,cAErD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-calibration-record.d.cts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-calibration-record.d.ts
4
- declare const GagelistDeleteCalibrationRecordInput: z.ZodTypeAny;
5
- declare const GagelistDeleteCalibrationRecordOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteCalibrationRecordInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteCalibrationRecordOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteCalibrationRecord };
9
17
  //# sourceMappingURL=delete-calibration-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.d.mts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEU;AAAA,cAClD,qCAAA,EAAuC,CAAA,CAAE,UAIY;AAAA,cAErD,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-calibration-record.d.mts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
@@ -6,9 +6,9 @@ const gagelistDeleteCalibrationRecord = action("GAGELIST_DELETE_CALIBRATION_RECO
6
6
  description: "Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.",
7
7
  input: z.object({ id: z.number().int().describe("Calibration record ID to delete (must be a positive integer)") }).describe("Request model for deleting a calibration record."),
8
8
  output: z.object({
9
- data: z.number().int().describe("Numeric code returned by the API (typically 0 on success)"),
10
- message: z.string().describe("Message returned by the API"),
11
- success: z.boolean().describe("Indicates if the deletion was successful")
9
+ data: z.number().int().describe("Numeric code returned by the API (typically 0 on success)").nullable(),
10
+ message: z.string().describe("Message returned by the API").nullable(),
11
+ success: z.boolean().describe("Indicates if the deletion was successful").nullable()
12
12
  }).describe("Response model after deleting a calibration record.")
13
13
  });
14
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.mjs","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\"),\n message: z.string().describe(\"Message returned by the API\"),\n success: z.boolean().describe(\"Indicates if the deletion was successful\"),\n}).describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-calibration-record.mjs","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-gage-record.ts
4
4
  const GagelistDeleteGageRecordInput = zod.z.object({ id: zod.z.number().int().describe("ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.") }).describe("Request model for DELETE_GAGE_RECORD.\n\nid: ID of the gage record to delete. Must be a positive integer.");
5
5
  const GagelistDeleteGageRecordOutput = zod.z.object({
6
- data: zod.z.number().int().describe("API data field (typically 0 on successful deletion)"),
7
- message: zod.z.string().describe("API informational message"),
8
- success: zod.z.boolean().describe("Whether the deletion was successful")
6
+ data: zod.z.number().int().describe("API data field (typically 0 on successful deletion)").nullable(),
7
+ message: zod.z.string().describe("API informational message").nullable(),
8
+ success: zod.z.boolean().describe("Whether the deletion was successful").nullable()
9
9
  }).describe("Response model for DELETE_GAGE_RECORD.\n\ndata: integer returned by API, typically 0 on success.\nsuccess: whether deletion succeeded.\nmessage: informational message from the API.");
10
10
  const gagelistDeleteGageRecord = require_action.action("GAGELIST_DELETE_GAGE_RECORD", {
11
11
  slug: "gagelist-delete-gage-record",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteGageRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\"),\n message: z.string().describe(\"API informational message\"),\n success: z.boolean().describe(\"Whether the deletion was successful\"),\n}).describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;AACrE,CAAC,CAAC,CAAC,SAAS,sLAAsL;AAElM,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteGageRecordInput = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\").nullable(),\n message: z.string().describe(\"API informational message\").nullable(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable(),\n}).describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,sLAAsL;AAElM,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-gage-record.d.ts
4
- declare const GagelistDeleteGageRecordInput: z.ZodTypeAny;
5
- declare const GagelistDeleteGageRecordOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteGageRecordInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteGageRecordOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteGageRecord };
9
17
  //# sourceMappingURL=delete-gage-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.d.cts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE0E;AAAA,cAC3G,8BAAA,EAAgC,CAAA,CAAE,UAIoJ;AAAA,cAEtL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-gage-record.d.cts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-gage-record.d.ts
4
- declare const GagelistDeleteGageRecordInput: z.ZodTypeAny;
5
- declare const GagelistDeleteGageRecordOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteGageRecordInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteGageRecordOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteGageRecord };
9
17
  //# sourceMappingURL=delete-gage-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.d.mts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE0E;AAAA,cAC3G,8BAAA,EAAgC,CAAA,CAAE,UAIoJ;AAAA,cAEtL,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-gage-record.d.mts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,9 +6,9 @@ const gagelistDeleteGageRecord = action("GAGELIST_DELETE_GAGE_RECORD", {
6
6
  description: "Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.") }).describe("Request model for DELETE_GAGE_RECORD.\n\nid: ID of the gage record to delete. Must be a positive integer."),
8
8
  output: z.object({
9
- data: z.number().int().describe("API data field (typically 0 on successful deletion)"),
10
- message: z.string().describe("API informational message"),
11
- success: z.boolean().describe("Whether the deletion was successful")
9
+ data: z.number().int().describe("API data field (typically 0 on successful deletion)").nullable(),
10
+ message: z.string().describe("API informational message").nullable(),
11
+ success: z.boolean().describe("Whether the deletion was successful").nullable()
12
12
  }).describe("Response model for DELETE_GAGE_RECORD.\n\ndata: integer returned by API, typically 0 on success.\nsuccess: whether deletion succeeded.\nmessage: informational message from the API.")
13
13
  });
14
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.mjs","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteGageRecordInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\"),\n message: z.string().describe(\"API informational message\"),\n success: z.boolean().describe(\"Whether the deletion was successful\"),\n}).describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyD,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAWH;CACP,QAX0D,EAAE,OAAO;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;CACrE,CAAC,CAAC,CAAC,SAAS,sLAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-gage-record.mjs","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteGageRecordInput = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\").nullable(),\n message: z.string().describe(\"API informational message\").nullable(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable(),\n}).describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAWH;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,sLAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/delete-manufacturer.ts
4
4
  const GagelistDeleteManufacturerInput = zod.z.object({ id: zod.z.number().int().describe("ID of the manufacturer to delete (must be a positive integer)") }).describe("Request model for deleting a manufacturer.");
5
5
  const GagelistDeleteManufacturerOutput = zod.z.object({
6
- data: zod.z.number().int().describe("API-specific return code (often 0 on success)"),
7
- message: zod.z.string().describe("Informational message from the API"),
8
- success: zod.z.boolean().describe("Indicates whether the deletion succeeded")
6
+ data: zod.z.number().int().describe("API-specific return code (often 0 on success)").nullable(),
7
+ message: zod.z.string().describe("Informational message from the API").nullable(),
8
+ success: zod.z.boolean().describe("Indicates whether the deletion succeeded").nullable()
9
9
  }).describe("Response model for delete manufacturer action.");
10
10
  const gagelistDeleteManufacturer = require_action.action("GAGELIST_DELETE_MANUFACTURER", {
11
11
  slug: "gagelist-delete-manufacturer",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/delete-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteManufacturerInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the manufacturer to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a manufacturer.\");\nexport const GagelistDeleteManufacturerOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"API-specific return code (often 0 on success)\"),\n message: z.string().describe(\"Informational message from the API\"),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded\"),\n}).describe(\"Response model for delete manufacturer action.\");\n\nexport const gagelistDeleteManufacturer = action(\"GAGELIST_DELETE_MANUFACTURER\", {\n slug: \"gagelist-delete-manufacturer\",\n name: \"Delete Manufacturer\",\n description: \"Tool to delete a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistDeleteManufacturerInput,\n output: GagelistDeleteManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/delete-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteManufacturerInput = z.object({\n id: z.number().int().describe(\"ID of the manufacturer to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a manufacturer.\");\nexport const GagelistDeleteManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code (often 0 on success)\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded\").nullable(),\n}).describe(\"Response model for delete manufacturer action.\");\n\nexport const gagelistDeleteManufacturer = action(\"GAGELIST_DELETE_MANUFACTURER\", {\n slug: \"gagelist-delete-manufacturer\",\n name: \"Delete Manufacturer\",\n description: \"Tool to delete a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistDeleteManufacturerInput,\n output: GagelistDeleteManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-manufacturer.d.ts
4
- declare const GagelistDeleteManufacturerInput: z.ZodTypeAny;
5
- declare const GagelistDeleteManufacturerOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteManufacturerInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteManufacturerOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteManufacturer };
9
17
  //# sourceMappingURL=delete-manufacturer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-manufacturer.d.cts","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAES;AAAA,cAC5C,gCAAA,EAAkC,CAAA,CAAE,UAIY;AAAA,cAEhD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-manufacturer.d.cts","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-manufacturer.d.ts
4
- declare const GagelistDeleteManufacturerInput: z.ZodTypeAny;
5
- declare const GagelistDeleteManufacturerOutput: z.ZodTypeAny;
6
- declare const gagelistDeleteManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistDeleteManufacturerInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistDeleteManufacturerOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodNullable<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const gagelistDeleteManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { gagelistDeleteManufacturer };
9
17
  //# sourceMappingURL=delete-manufacturer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-manufacturer.d.mts","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAES;AAAA,cAC5C,gCAAA,EAAkC,CAAA,CAAE,UAIY;AAAA,cAEhD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-manufacturer.d.mts","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -6,9 +6,9 @@ const gagelistDeleteManufacturer = action("GAGELIST_DELETE_MANUFACTURER", {
6
6
  description: "Tool to delete a manufacturer by its ID. Use after confirming the manufacturer exists.",
7
7
  input: z.object({ id: z.number().int().describe("ID of the manufacturer to delete (must be a positive integer)") }).describe("Request model for deleting a manufacturer."),
8
8
  output: z.object({
9
- data: z.number().int().describe("API-specific return code (often 0 on success)"),
10
- message: z.string().describe("Informational message from the API"),
11
- success: z.boolean().describe("Indicates whether the deletion succeeded")
9
+ data: z.number().int().describe("API-specific return code (often 0 on success)").nullable(),
10
+ message: z.string().describe("Informational message from the API").nullable(),
11
+ success: z.boolean().describe("Indicates whether the deletion succeeded").nullable()
12
12
  }).describe("Response model for delete manufacturer action.")
13
13
  });
14
14
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-manufacturer.mjs","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteManufacturerInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the manufacturer to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a manufacturer.\");\nexport const GagelistDeleteManufacturerOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"API-specific return code (often 0 on success)\"),\n message: z.string().describe(\"Informational message from the API\"),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded\"),\n}).describe(\"Response model for delete manufacturer action.\");\n\nexport const gagelistDeleteManufacturer = action(\"GAGELIST_DELETE_MANUFACTURER\", {\n slug: \"gagelist-delete-manufacturer\",\n name: \"Delete Manufacturer\",\n description: \"Tool to delete a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistDeleteManufacturerInput,\n output: GagelistDeleteManufacturerOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2D,EAAE,OAAO,EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-manufacturer.mjs","names":[],"sources":["../../src/actions/delete-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteManufacturerInput = z.object({\n id: z.number().int().describe(\"ID of the manufacturer to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a manufacturer.\");\nexport const GagelistDeleteManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code (often 0 on success)\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion succeeded\").nullable(),\n}).describe(\"Response model for delete manufacturer action.\");\n\nexport const gagelistDeleteManufacturer = action(\"GAGELIST_DELETE_MANUFACTURER\", {\n slug: \"gagelist-delete-manufacturer\",\n name: \"Delete Manufacturer\",\n description: \"Tool to delete a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistDeleteManufacturerInput,\n output: GagelistDeleteManufacturerOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/generate-calibration-certificate.ts
4
4
  const GagelistGenerateCalibrationCertificateInput = zod.z.object({ id: zod.z.number().int().describe("ID of the calibration record to generate the certificate for") }).describe("Request schema for GENERATE_CALIBRATION_CERTIFICATE action.");
5
5
  const GagelistGenerateCalibrationCertificate_FileDownloadableSchema = zod.z.object({
6
- name: zod.z.string().describe("Name of the file"),
7
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
8
- mimetype: zod.z.string().describe("Mime type of the file.")
6
+ name: zod.z.string().describe("Name of the file").nullable(),
7
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
8
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
9
9
  });
10
10
  const GagelistGenerateCalibrationCertificateOutput = zod.z.object({ content: GagelistGenerateCalibrationCertificate_FileDownloadableSchema.nullable() }).describe("Response schema for GENERATE_CALIBRATION_CERTIFICATE action.");
11
11
  const gagelistGenerateCalibrationCertificate = require_action.action("GAGELIST_GENERATE_CALIBRATION_CERTIFICATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"generate-calibration-certificate.cjs","names":["z","action"],"sources":["../../src/actions/generate-calibration-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGenerateCalibrationCertificateInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calibration record to generate the certificate for\"),\n}).describe(\"Request schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\nconst GagelistGenerateCalibrationCertificate_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const GagelistGenerateCalibrationCertificateOutput: z.ZodTypeAny = z.object({\n content: GagelistGenerateCalibrationCertificate_FileDownloadableSchema.nullable(),\n}).describe(\"Response schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\n\nexport const gagelistGenerateCalibrationCertificate = action(\"GAGELIST_GENERATE_CALIBRATION_CERTIFICATE\", {\n slug: \"gagelist-generate-calibration-certificate\",\n name: \"Generate Calibration Certificate\",\n description: \"Tool to generate a PDF certificate from a calibration record. Use after ensuring record ID and authentication.\",\n input: GagelistGenerateCalibrationCertificateInput,\n output: GagelistGenerateCalibrationCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,EAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,EACjF,SAAS,8DAA8D,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,yCAAyCC,eAAAA,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"generate-calibration-certificate.cjs","names":["z","action"],"sources":["../../src/actions/generate-calibration-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGenerateCalibrationCertificateInput = z.object({\n id: z.number().int().describe(\"ID of the calibration record to generate the certificate for\"),\n}).describe(\"Request schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\nconst GagelistGenerateCalibrationCertificate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const GagelistGenerateCalibrationCertificateOutput = z.object({\n content: GagelistGenerateCalibrationCertificate_FileDownloadableSchema.nullable(),\n}).describe(\"Response schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\n\nexport const gagelistGenerateCalibrationCertificate = action(\"GAGELIST_GENERATE_CALIBRATION_CERTIFICATE\", {\n slug: \"gagelist-generate-calibration-certificate\",\n name: \"Generate Calibration Certificate\",\n description: \"Tool to generate a PDF certificate from a calibration record. Use after ensuring record ID and authentication.\",\n input: GagelistGenerateCalibrationCertificateInput,\n output: GagelistGenerateCalibrationCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,SAAS,8DAA8D,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,yCAAyCC,eAAAA,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/generate-calibration-certificate.d.ts
4
- declare const GagelistGenerateCalibrationCertificateInput: z.ZodTypeAny;
5
- declare const GagelistGenerateCalibrationCertificateOutput: z.ZodTypeAny;
6
- declare const gagelistGenerateCalibrationCertificate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGenerateCalibrationCertificateInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistGenerateCalibrationCertificateOutput: z.ZodObject<{
8
+ content: z.ZodNullable<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ s3url: z.ZodNullable<z.ZodString>;
11
+ mimetype: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const gagelistGenerateCalibrationCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: number;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { gagelistGenerateCalibrationCertificate };
9
19
  //# sourceMappingURL=generate-calibration-certificate.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-calibration-certificate.d.cts","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAEc;AAAA,cAM7D,4CAAA,EAA8C,CAAA,CAAE,UAEc;AAAA,cAE9D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"generate-calibration-certificate.d.cts","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAQ3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/generate-calibration-certificate.d.ts
4
- declare const GagelistGenerateCalibrationCertificateInput: z.ZodTypeAny;
5
- declare const GagelistGenerateCalibrationCertificateOutput: z.ZodTypeAny;
6
- declare const gagelistGenerateCalibrationCertificate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGenerateCalibrationCertificateInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistGenerateCalibrationCertificateOutput: z.ZodObject<{
8
+ content: z.ZodNullable<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ s3url: z.ZodNullable<z.ZodString>;
11
+ mimetype: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const gagelistGenerateCalibrationCertificate: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: number;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { gagelistGenerateCalibrationCertificate };
9
19
  //# sourceMappingURL=generate-calibration-certificate.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generate-calibration-certificate.d.mts","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAEc;AAAA,cAM7D,4CAAA,EAA8C,CAAA,CAAE,UAEc;AAAA,cAE9D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"generate-calibration-certificate.d.mts","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;cAQ3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/generate-calibration-certificate.ts
4
4
  const GagelistGenerateCalibrationCertificateInput = z.object({ id: z.number().int().describe("ID of the calibration record to generate the certificate for") }).describe("Request schema for GENERATE_CALIBRATION_CERTIFICATE action.");
5
5
  const GagelistGenerateCalibrationCertificate_FileDownloadableSchema = z.object({
6
- name: z.string().describe("Name of the file"),
7
- s3url: z.string().describe("S3 URL of the downloaded file."),
8
- mimetype: z.string().describe("Mime type of the file.")
6
+ name: z.string().describe("Name of the file").nullable(),
7
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
8
+ mimetype: z.string().describe("Mime type of the file.").nullable()
9
9
  });
10
10
  const gagelistGenerateCalibrationCertificate = action("GAGELIST_GENERATE_CALIBRATION_CERTIFICATE", {
11
11
  slug: "gagelist-generate-calibration-certificate",
@@ -1 +1 @@
1
- {"version":3,"file":"generate-calibration-certificate.mjs","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGenerateCalibrationCertificateInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the calibration record to generate the certificate for\"),\n}).describe(\"Request schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\nconst GagelistGenerateCalibrationCertificate_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const GagelistGenerateCalibrationCertificateOutput: z.ZodTypeAny = z.object({\n content: GagelistGenerateCalibrationCertificate_FileDownloadableSchema.nullable(),\n}).describe(\"Response schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\n\nexport const gagelistGenerateCalibrationCertificate = action(\"GAGELIST_GENERATE_CALIBRATION_CERTIFICATE\", {\n slug: \"gagelist-generate-calibration-certificate\",\n name: \"Generate Calibration Certificate\",\n description: \"Tool to generate a PDF certificate from a calibration record. Use after ensuring record ID and authentication.\",\n input: GagelistGenerateCalibrationCertificateInput,\n output: GagelistGenerateCalibrationCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO,EAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAA8E,EAAE,OAAO;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,yCAAyC,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwE,EAAE,OAAO,EACjF,SAAS,8DAA8D,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"generate-calibration-certificate.mjs","names":[],"sources":["../../src/actions/generate-calibration-certificate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGenerateCalibrationCertificateInput = z.object({\n id: z.number().int().describe(\"ID of the calibration record to generate the certificate for\"),\n}).describe(\"Request schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\nconst GagelistGenerateCalibrationCertificate_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const GagelistGenerateCalibrationCertificateOutput = z.object({\n content: GagelistGenerateCalibrationCertificate_FileDownloadableSchema.nullable(),\n}).describe(\"Response schema for GENERATE_CALIBRATION_CERTIFICATE action.\");\n\nexport const gagelistGenerateCalibrationCertificate = action(\"GAGELIST_GENERATE_CALIBRATION_CERTIFICATE\", {\n slug: \"gagelist-generate-calibration-certificate\",\n name: \"Generate Calibration Certificate\",\n description: \"Tool to generate a PDF certificate from a calibration record. Use after ensuring record ID and authentication.\",\n input: GagelistGenerateCalibrationCertificateInput,\n output: GagelistGenerateCalibrationCertificateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO,EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AAKD,MAAa,yCAAyC,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,8DAA8D,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -5,40 +5,40 @@ const GagelistGetAccountSettingsInput = zod.z.object({}).describe("Request model
5
5
  const GagelistGetAccountSettings_AccountSettingsDataSchema = zod.z.object({
6
6
  AllArea: zod.z.array(zod.z.string()).describe("All work areas"),
7
7
  AllType: zod.z.array(zod.z.string()).describe("All gage types available"),
8
- Statement: zod.z.string().describe("Default statement text"),
9
- DateFormat: zod.z.string().describe("Preferred date format"),
10
- MyTimeZone: zod.z.string().describe("User's time zone"),
8
+ Statement: zod.z.string().describe("Default statement text").nullable(),
9
+ DateFormat: zod.z.string().describe("Preferred date format").nullable(),
10
+ MyTimeZone: zod.z.string().describe("User's time zone").nullable(),
11
11
  AllInterval: zod.z.array(zod.z.string()).describe("All calibration intervals"),
12
12
  AllLocation: zod.z.array(zod.z.string()).describe("All gage locations"),
13
13
  AllStatuses: zod.z.array(zod.z.string()).describe("All possible status values"),
14
- UpdatedDate: zod.z.string().describe("Timestamp of last settings update"),
14
+ UpdatedDate: zod.z.string().describe("Timestamp of last settings update").nullable(),
15
15
  AllAssignees: zod.z.array(zod.z.string()).describe("All users who can be assigned"),
16
- EmailSubject: zod.z.string().describe("Default email subject line"),
16
+ EmailSubject: zod.z.string().describe("Default email subject line").nullable(),
17
17
  DisplayFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Fields configured for display in the UI"),
18
18
  Distributions: zod.z.array(zod.z.string()).describe("Default distribution list"),
19
- IncludeOverdue: zod.z.string().describe("Flag controlling inclusion of overdue items"),
19
+ IncludeOverdue: zod.z.string().describe("Flag controlling inclusion of overdue items").nullable(),
20
20
  RequiredFields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Fields that are marked required"),
21
- ReportToInclude: zod.z.string().describe("Which report to include by default"),
21
+ ReportToInclude: zod.z.string().describe("Which report to include by default").nullable(),
22
22
  AllLocalizations: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Localization mappings for UI elements"),
23
23
  AllUnitOfMeasure: zod.z.array(zod.z.string()).describe("All available units of measure"),
24
- IntroductionText: zod.z.string().describe("Default introduction text in emails"),
24
+ IntroductionText: zod.z.string().describe("Default introduction text in emails").nullable(),
25
25
  NotificationDays: zod.z.array(zod.z.string()).describe("Default days for sending notifications"),
26
- NotificationType: zod.z.string().describe("Default notification method"),
27
- ViewExportFormat: zod.z.string().describe("Default format for exporting views"),
26
+ NotificationType: zod.z.string().describe("Default notification method").nullable(),
27
+ ViewExportFormat: zod.z.string().describe("Default format for exporting views").nullable(),
28
28
  AllActiveStatuses: zod.z.array(zod.z.string()).describe("All active status values"),
29
- UploadImageEnabled: zod.z.boolean().describe("Flag indicating if image uploads are enabled"),
29
+ UploadImageEnabled: zod.z.boolean().describe("Flag indicating if image uploads are enabled").nullable(),
30
30
  AllConditionAquired: zod.z.array(zod.z.string()).describe("All acquisition conditions"),
31
31
  AllTypesMeasurement: zod.z.array(zod.z.string()).describe("All measurement types"),
32
- EditableCalibratedBy: zod.z.string().describe("Controls if 'calibrated by' field is editable"),
33
- IncludeGageAssignees: zod.z.string().describe("Flag controlling inclusion of gage assignees"),
32
+ EditableCalibratedBy: zod.z.string().describe("Controls if 'calibrated by' field is editable").nullable(),
33
+ IncludeGageAssignees: zod.z.string().describe("Flag controlling inclusion of gage assignees").nullable(),
34
34
  AllCalibrationEnvironment: zod.z.array(zod.z.string()).describe("All possible calibration environments"),
35
35
  AllCalibrationInstructions: zod.z.array(zod.z.string()).describe("All calibration instructions templates"),
36
- CalibrationCertificatePDFSize: zod.z.string().describe("Default PDF size for calibration certificates")
36
+ CalibrationCertificatePDFSize: zod.z.string().describe("Default PDF size for calibration certificates").nullable()
37
37
  });
38
38
  const GagelistGetAccountSettingsOutput = zod.z.object({
39
39
  data: GagelistGetAccountSettings_AccountSettingsDataSchema.nullable(),
40
40
  message: zod.z.string().describe("A human-readable message from the API").nullable().optional(),
41
- success: zod.z.boolean().describe("Indicates if the API call was successful")
41
+ success: zod.z.boolean().describe("Indicates if the API call was successful").nullable()
42
42
  });
43
43
  const gagelistGetAccountSettings = require_action.action("GAGELIST_GET_ACCOUNT_SETTINGS", {
44
44
  slug: "gagelist-get-account-settings",