@keystrokehq/gagelist 0.1.3 → 0.1.5

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 (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-calibration-record.cjs +1 -0
  4. package/dist/actions/add-calibration-record.cjs.map +1 -1
  5. package/dist/actions/add-calibration-record.d.cts +3 -92
  6. package/dist/actions/add-calibration-record.d.cts.map +1 -1
  7. package/dist/actions/add-calibration-record.d.mts +3 -92
  8. package/dist/actions/add-calibration-record.d.mts.map +1 -1
  9. package/dist/actions/add-calibration-record.mjs +1 -0
  10. package/dist/actions/add-calibration-record.mjs.map +1 -1
  11. package/dist/actions/add-gage-record.cjs +1 -0
  12. package/dist/actions/add-gage-record.cjs.map +1 -1
  13. package/dist/actions/add-gage-record.d.cts +3 -57
  14. package/dist/actions/add-gage-record.d.cts.map +1 -1
  15. package/dist/actions/add-gage-record.d.mts +3 -57
  16. package/dist/actions/add-gage-record.d.mts.map +1 -1
  17. package/dist/actions/add-gage-record.mjs +1 -0
  18. package/dist/actions/add-gage-record.mjs.map +1 -1
  19. package/dist/actions/add-manufacturer.cjs +1 -0
  20. package/dist/actions/add-manufacturer.cjs.map +1 -1
  21. package/dist/actions/add-manufacturer.d.cts +3 -8
  22. package/dist/actions/add-manufacturer.d.cts.map +1 -1
  23. package/dist/actions/add-manufacturer.d.mts +3 -8
  24. package/dist/actions/add-manufacturer.d.mts.map +1 -1
  25. package/dist/actions/add-manufacturer.mjs +1 -0
  26. package/dist/actions/add-manufacturer.mjs.map +1 -1
  27. package/dist/actions/authenticate-with-gagelist.cjs +1 -0
  28. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  29. package/dist/actions/authenticate-with-gagelist.d.cts +3 -4
  30. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
  31. package/dist/actions/authenticate-with-gagelist.d.mts +3 -4
  32. package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
  33. package/dist/actions/authenticate-with-gagelist.mjs +1 -0
  34. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  35. package/dist/actions/delete-calibration-record.cjs +1 -0
  36. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  37. package/dist/actions/delete-calibration-record.d.cts +3 -3
  38. package/dist/actions/delete-calibration-record.d.cts.map +1 -1
  39. package/dist/actions/delete-calibration-record.d.mts +3 -3
  40. package/dist/actions/delete-calibration-record.d.mts.map +1 -1
  41. package/dist/actions/delete-calibration-record.mjs +1 -0
  42. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  43. package/dist/actions/delete-gage-record.cjs +1 -0
  44. package/dist/actions/delete-gage-record.cjs.map +1 -1
  45. package/dist/actions/delete-gage-record.d.cts +3 -3
  46. package/dist/actions/delete-gage-record.d.cts.map +1 -1
  47. package/dist/actions/delete-gage-record.d.mts +3 -3
  48. package/dist/actions/delete-gage-record.d.mts.map +1 -1
  49. package/dist/actions/delete-gage-record.mjs +1 -0
  50. package/dist/actions/delete-gage-record.mjs.map +1 -1
  51. package/dist/actions/delete-manufacturer.cjs +1 -0
  52. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  53. package/dist/actions/delete-manufacturer.d.cts +3 -3
  54. package/dist/actions/delete-manufacturer.d.cts.map +1 -1
  55. package/dist/actions/delete-manufacturer.d.mts +3 -3
  56. package/dist/actions/delete-manufacturer.d.mts.map +1 -1
  57. package/dist/actions/delete-manufacturer.mjs +1 -0
  58. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  59. package/dist/actions/generate-calibration-certificate.cjs +1 -0
  60. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  61. package/dist/actions/generate-calibration-certificate.d.cts +3 -3
  62. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
  63. package/dist/actions/generate-calibration-certificate.d.mts +3 -3
  64. package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
  65. package/dist/actions/generate-calibration-certificate.mjs +1 -0
  66. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  67. package/dist/actions/get-account-settings.cjs +1 -0
  68. package/dist/actions/get-account-settings.cjs.map +1 -1
  69. package/dist/actions/get-account-settings.d.cts +3 -1
  70. package/dist/actions/get-account-settings.d.cts.map +1 -1
  71. package/dist/actions/get-account-settings.d.mts +3 -1
  72. package/dist/actions/get-account-settings.d.mts.map +1 -1
  73. package/dist/actions/get-account-settings.mjs +1 -0
  74. package/dist/actions/get-account-settings.mjs.map +1 -1
  75. package/dist/actions/get-account-status.cjs +1 -0
  76. package/dist/actions/get-account-status.cjs.map +1 -1
  77. package/dist/actions/get-account-status.d.cts +3 -1
  78. package/dist/actions/get-account-status.d.cts.map +1 -1
  79. package/dist/actions/get-account-status.d.mts +3 -1
  80. package/dist/actions/get-account-status.d.mts.map +1 -1
  81. package/dist/actions/get-account-status.mjs +1 -0
  82. package/dist/actions/get-account-status.mjs.map +1 -1
  83. package/dist/actions/get-all-calibration-records.cjs +1 -0
  84. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  85. package/dist/actions/get-all-calibration-records.d.cts +3 -4
  86. package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
  87. package/dist/actions/get-all-calibration-records.d.mts +3 -4
  88. package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
  89. package/dist/actions/get-all-calibration-records.mjs +1 -0
  90. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  91. package/dist/actions/get-all-gage-records.cjs +1 -0
  92. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  93. package/dist/actions/get-all-gage-records.d.cts +3 -4
  94. package/dist/actions/get-all-gage-records.d.cts.map +1 -1
  95. package/dist/actions/get-all-gage-records.d.mts +3 -4
  96. package/dist/actions/get-all-gage-records.d.mts.map +1 -1
  97. package/dist/actions/get-all-gage-records.mjs +1 -0
  98. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  99. package/dist/actions/get-all-manufacturers.cjs +1 -0
  100. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  101. package/dist/actions/get-all-manufacturers.d.cts +3 -1
  102. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  103. package/dist/actions/get-all-manufacturers.d.mts +3 -1
  104. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  105. package/dist/actions/get-all-manufacturers.mjs +1 -0
  106. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  107. package/dist/actions/get-attachment.cjs +1 -0
  108. package/dist/actions/get-attachment.cjs.map +1 -1
  109. package/dist/actions/get-attachment.d.cts +3 -3
  110. package/dist/actions/get-attachment.d.cts.map +1 -1
  111. package/dist/actions/get-attachment.d.mts +3 -3
  112. package/dist/actions/get-attachment.d.mts.map +1 -1
  113. package/dist/actions/get-attachment.mjs +1 -0
  114. package/dist/actions/get-attachment.mjs.map +1 -1
  115. package/dist/actions/get-custom-fields.cjs +1 -0
  116. package/dist/actions/get-custom-fields.cjs.map +1 -1
  117. package/dist/actions/get-custom-fields.d.cts +3 -1
  118. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  119. package/dist/actions/get-custom-fields.d.mts +3 -1
  120. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  121. package/dist/actions/get-custom-fields.mjs +1 -0
  122. package/dist/actions/get-custom-fields.mjs.map +1 -1
  123. package/dist/actions/get-single-calibration-record.cjs +1 -0
  124. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  125. package/dist/actions/get-single-calibration-record.d.cts +3 -3
  126. package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
  127. package/dist/actions/get-single-calibration-record.d.mts +3 -3
  128. package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
  129. package/dist/actions/get-single-calibration-record.mjs +1 -0
  130. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  131. package/dist/actions/get-single-gage-record.cjs +1 -0
  132. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  133. package/dist/actions/get-single-gage-record.d.cts +3 -3
  134. package/dist/actions/get-single-gage-record.d.cts.map +1 -1
  135. package/dist/actions/get-single-gage-record.d.mts +3 -3
  136. package/dist/actions/get-single-gage-record.d.mts.map +1 -1
  137. package/dist/actions/get-single-gage-record.mjs +1 -0
  138. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  139. package/dist/actions/update-account-settings.cjs +1 -0
  140. package/dist/actions/update-account-settings.cjs.map +1 -1
  141. package/dist/actions/update-account-settings.d.cts +3 -33
  142. package/dist/actions/update-account-settings.d.cts.map +1 -1
  143. package/dist/actions/update-account-settings.d.mts +3 -33
  144. package/dist/actions/update-account-settings.d.mts.map +1 -1
  145. package/dist/actions/update-account-settings.mjs +1 -0
  146. package/dist/actions/update-account-settings.mjs.map +1 -1
  147. package/dist/actions/update-custom-field-values.cjs +1 -0
  148. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  149. package/dist/actions/update-custom-field-values.d.cts +3 -11
  150. package/dist/actions/update-custom-field-values.d.cts.map +1 -1
  151. package/dist/actions/update-custom-field-values.d.mts +3 -11
  152. package/dist/actions/update-custom-field-values.d.mts.map +1 -1
  153. package/dist/actions/update-custom-field-values.mjs +1 -0
  154. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  155. package/dist/actions/update-manufacturer.cjs +1 -0
  156. package/dist/actions/update-manufacturer.cjs.map +1 -1
  157. package/dist/actions/update-manufacturer.d.cts +3 -8
  158. package/dist/actions/update-manufacturer.d.cts.map +1 -1
  159. package/dist/actions/update-manufacturer.d.mts +3 -8
  160. package/dist/actions/update-manufacturer.d.mts.map +1 -1
  161. package/dist/actions/update-manufacturer.mjs +1 -0
  162. package/dist/actions/update-manufacturer.mjs.map +1 -1
  163. package/dist/actions/upload-attachment-to-gage-record.cjs +1 -0
  164. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  165. package/dist/actions/upload-attachment-to-gage-record.d.cts +3 -8
  166. package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
  167. package/dist/actions/upload-attachment-to-gage-record.d.mts +3 -8
  168. package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
  169. package/dist/actions/upload-attachment-to-gage-record.mjs +1 -0
  170. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  171. package/dist/app.cjs +5 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +7 -1
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +7 -1
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +3 -2
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer: AppAction<\n typeof GagelistUpdateManufacturerInput,\n typeof GagelistUpdateManufacturerOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-manufacturer.d.ts
@@ -14,14 +16,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
14
16
  message: z.ZodNullable<z.ZodString>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Id: number;
19
- Fax?: string | undefined;
20
- Name?: string | undefined;
21
- Phone?: string | undefined;
22
- Address?: string | undefined;
23
- Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const gagelistUpdateManufacturer: AppAction<typeof GagelistUpdateManufacturerInput, typeof GagelistUpdateManufacturerOutput, typeof gagelist.credential>;
25
20
  //#endregion
26
21
  export { gagelistUpdateManufacturer };
27
22
  //# sourceMappingURL=update-manufacturer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.d.cts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"update-manufacturer.d.cts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-manufacturer.d.ts
@@ -14,14 +16,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
14
16
  message: z.ZodNullable<z.ZodString>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Id: number;
19
- Fax?: string | undefined;
20
- Name?: string | undefined;
21
- Phone?: string | undefined;
22
- Address?: string | undefined;
23
- Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const gagelistUpdateManufacturer: AppAction<typeof GagelistUpdateManufacturerInput, typeof GagelistUpdateManufacturerOutput, typeof gagelist.credential>;
25
20
  //#endregion
26
21
  export { gagelistUpdateManufacturer };
27
22
  //# sourceMappingURL=update-manufacturer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.d.mts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"update-manufacturer.d.mts","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistUpdateManufacturer = action("GAGELIST_UPDATE_MANUFACTURER", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer: AppAction<\n typeof GagelistUpdateManufacturerInput,\n typeof GagelistUpdateManufacturerOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,6BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAeH;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-attachment-to-gage-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord: AppAction<\n typeof GagelistUploadAttachmentToGageRecordInput,\n typeof GagelistUploadAttachmentToGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,uCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-attachment-to-gage-record.d.ts
@@ -14,14 +16,7 @@ declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
14
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: number;
19
- file: {
20
- name: string;
21
- s3key: string;
22
- mimetype: string;
23
- };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const gagelistUploadAttachmentToGageRecord: AppAction<typeof GagelistUploadAttachmentToGageRecordInput, typeof GagelistUploadAttachmentToGageRecordOutput, typeof gagelist.credential>;
25
20
  //#endregion
26
21
  export { gagelistUploadAttachmentToGageRecord };
27
22
  //# sourceMappingURL=upload-attachment-to-gage-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.d.cts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.d.cts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-attachment-to-gage-record.d.ts
@@ -14,14 +16,7 @@ declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
14
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: number;
19
- file: {
20
- name: string;
21
- s3key: string;
22
- mimetype: string;
23
- };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const gagelistUploadAttachmentToGageRecord: AppAction<typeof GagelistUploadAttachmentToGageRecordInput, typeof GagelistUploadAttachmentToGageRecordOutput, typeof gagelist.credential>;
25
20
  //#endregion
26
21
  export { gagelistUploadAttachmentToGageRecord };
27
22
  //# sourceMappingURL=upload-attachment-to-gage-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.d.mts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.d.mts","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;cAQzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;cAM1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistUploadAttachmentToGageRecord = action("GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord: AppAction<\n typeof GagelistUploadAttachmentToGageRecordInput,\n typeof GagelistUploadAttachmentToGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,uCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAfwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const gagelist = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { accessToken: require("zod").z.string() };
4
+ const gagelist = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "gagelist",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.gagelist = gagelist;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const gagelist: KeystrokeApp<\"gagelist\", typeof credential> = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const gagelist: KeystrokeApp<"gagelist", typeof credential>;
3
9
  //#endregion
4
10
  export { gagelist };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ accessToken: z.ZodString;
7
+ };
8
+ declare const gagelist: KeystrokeApp<"gagelist", typeof credential>;
3
9
  //#endregion
4
10
  export { gagelist };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const gagelist = defineApp({
4
4
  slug: "gagelist",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { accessToken: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { gagelist };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n accessToken: z.string(),\n};\n\nexport const gagelist: KeystrokeApp<\"gagelist\", typeof credential> = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { gagelist } from "./app.cjs";
1
2
  import { gagelistAddCalibrationRecord } from "./actions/add-calibration-record.cjs";
2
3
  import { gagelistAddGageRecord } from "./actions/add-gage-record.cjs";
3
4
  import { gagelistAddManufacturer } from "./actions/add-manufacturer.cjs";
@@ -19,6 +20,5 @@ import { gagelistUpdateAccountSettings } from "./actions/update-account-settings
19
20
  import { gagelistUpdateCustomFieldValues } from "./actions/update-custom-field-values.cjs";
20
21
  import { gagelistUpdateManufacturer } from "./actions/update-manufacturer.cjs";
21
22
  import { gagelistUploadAttachmentToGageRecord } from "./actions/upload-attachment-to-gage-record.cjs";
22
- import { gagelist } from "./app.cjs";
23
23
  import { gagelistCatalog } from "./catalog.cjs";
24
24
  export { gagelist, gagelistAddCalibrationRecord, gagelistAddGageRecord, gagelistAddManufacturer, gagelistAuthenticateWithGagelist, gagelistCatalog, gagelistDeleteCalibrationRecord, gagelistDeleteGageRecord, gagelistDeleteManufacturer, gagelistGenerateCalibrationCertificate, gagelistGetAccountSettings, gagelistGetAccountStatus, gagelistGetAllCalibrationRecords, gagelistGetAllGageRecords, gagelistGetAllManufacturers, gagelistGetAttachment, gagelistGetCustomFields, gagelistGetSingleCalibrationRecord, gagelistGetSingleGageRecord, gagelistUpdateAccountSettings, gagelistUpdateCustomFieldValues, gagelistUpdateManufacturer, gagelistUploadAttachmentToGageRecord };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { gagelist } from "./app.mjs";
1
2
  import { gagelistAddCalibrationRecord } from "./actions/add-calibration-record.mjs";
2
3
  import { gagelistAddGageRecord } from "./actions/add-gage-record.mjs";
3
4
  import { gagelistAddManufacturer } from "./actions/add-manufacturer.mjs";
@@ -19,6 +20,5 @@ import { gagelistUpdateAccountSettings } from "./actions/update-account-settings
19
20
  import { gagelistUpdateCustomFieldValues } from "./actions/update-custom-field-values.mjs";
20
21
  import { gagelistUpdateManufacturer } from "./actions/update-manufacturer.mjs";
21
22
  import { gagelistUploadAttachmentToGageRecord } from "./actions/upload-attachment-to-gage-record.mjs";
22
- import { gagelist } from "./app.mjs";
23
23
  import { gagelistCatalog } from "./catalog.mjs";
24
24
  export { gagelist, gagelistAddCalibrationRecord, gagelistAddGageRecord, gagelistAddManufacturer, gagelistAuthenticateWithGagelist, gagelistCatalog, gagelistDeleteCalibrationRecord, gagelistDeleteGageRecord, gagelistDeleteManufacturer, gagelistGenerateCalibrationCertificate, gagelistGetAccountSettings, gagelistGetAccountStatus, gagelistGetAllCalibrationRecords, gagelistGetAllGageRecords, gagelistGetAllManufacturers, gagelistGetAttachment, gagelistGetCustomFields, gagelistGetSingleCalibrationRecord, gagelistGetSingleGageRecord, gagelistUpdateAccountSettings, gagelistUpdateCustomFieldValues, gagelistUpdateManufacturer, gagelistUploadAttachmentToGageRecord };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gagelist",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {