@keystrokehq/gagelist 0.1.4 → 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 -104
  6. package/dist/actions/add-calibration-record.d.cts.map +1 -1
  7. package/dist/actions/add-calibration-record.d.mts +3 -104
  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 -69
  14. package/dist/actions/add-gage-record.d.cts.map +1 -1
  15. package/dist/actions/add-gage-record.d.mts +3 -69
  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 -20
  22. package/dist/actions/add-manufacturer.d.cts.map +1 -1
  23. package/dist/actions/add-manufacturer.d.mts +3 -20
  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 -16
  30. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
  31. package/dist/actions/authenticate-with-gagelist.d.mts +3 -16
  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 -15
  38. package/dist/actions/delete-calibration-record.d.cts.map +1 -1
  39. package/dist/actions/delete-calibration-record.d.mts +3 -15
  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 -15
  46. package/dist/actions/delete-gage-record.d.cts.map +1 -1
  47. package/dist/actions/delete-gage-record.d.mts +3 -15
  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 -15
  54. package/dist/actions/delete-manufacturer.d.cts.map +1 -1
  55. package/dist/actions/delete-manufacturer.d.mts +3 -15
  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 -15
  62. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
  63. package/dist/actions/generate-calibration-certificate.d.mts +3 -15
  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 -13
  70. package/dist/actions/get-account-settings.d.cts.map +1 -1
  71. package/dist/actions/get-account-settings.d.mts +3 -13
  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 -13
  78. package/dist/actions/get-account-status.d.cts.map +1 -1
  79. package/dist/actions/get-account-status.d.mts +3 -13
  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 -16
  86. package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
  87. package/dist/actions/get-all-calibration-records.d.mts +3 -16
  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 -16
  94. package/dist/actions/get-all-gage-records.d.cts.map +1 -1
  95. package/dist/actions/get-all-gage-records.d.mts +3 -16
  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 -13
  102. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  103. package/dist/actions/get-all-manufacturers.d.mts +3 -13
  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 -15
  110. package/dist/actions/get-attachment.d.cts.map +1 -1
  111. package/dist/actions/get-attachment.d.mts +3 -15
  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 -13
  118. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  119. package/dist/actions/get-custom-fields.d.mts +3 -13
  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 -15
  126. package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
  127. package/dist/actions/get-single-calibration-record.d.mts +3 -15
  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 -15
  134. package/dist/actions/get-single-gage-record.d.cts.map +1 -1
  135. package/dist/actions/get-single-gage-record.d.mts +3 -15
  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 -45
  142. package/dist/actions/update-account-settings.d.cts.map +1 -1
  143. package/dist/actions/update-account-settings.d.mts +3 -45
  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 -23
  150. package/dist/actions/update-custom-field-values.d.cts.map +1 -1
  151. package/dist/actions/update-custom-field-values.d.mts +3 -23
  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 -20
  158. package/dist/actions/update-manufacturer.d.cts.map +1 -1
  159. package/dist/actions/update-manufacturer.d.mts +3 -20
  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 -20
  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 -20
  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 +2 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +4 -6
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +4 -6
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +0 -1
  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":"get-single-gage-record.mjs","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema = z.object({\n Id: z.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_TestTemplateSchema = z.object({\n Id: z.number().int().describe(\"Test template identifier\").nullable().optional(),\n Parameter: z.string().describe(\"Parameter under test\").nullable().optional(),\n TestNumber: z.string().describe(\"Number of the test\").nullable().optional(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable().optional(),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the associated equipment\").nullable().optional(),\n ExpectedResult: z.string().describe(\"Expected result of the test\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({\n Id: z.number().int().describe(\"Gage record ID\").nullable(),\n Area: z.string().describe(\"Area or department using the gage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of the interval\").nullable().optional(),\n Type: z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").nullable().optional(),\n Model: z.string().describe(\"Model number of the gage\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of the interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of the interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number assigned to the gage\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website URL\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval description\").nullable().optional(),\n Location: z.string().describe(\"Current storage or usage location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Flag indicating if the record is deleted\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST traceability number\").nullable().optional(),\n Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").nullable().optional(),\n DateAquired: z.string().describe(\"ISO 8601 datetime when acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size specification\").nullable().optional(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime of last update\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer of the gage\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number of the gage\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price of the gage\").nullable().optional(),\n TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used in calibration\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").nullable().optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").nullable().optional(),\n OtherInformation: z.string().describe(\"Additional information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"ISO 8601 datetime when calibration is due\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used in calibration\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"ISO 8601 datetime of last calibration\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Instructions for calibration\").nullable().optional(),\n}).passthrough();\nexport const GagelistGetSingleGageRecordOutput = z.object({\n data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),\n message: z.string().describe(\"API response message or error details\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough();\n\nexport const gagelistGetSingleGageRecord = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from G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O,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-single-gage-record.mjs","names":[],"sources":["../../src/actions/get-single-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 GagelistGetSingleGageRecordInput = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema = z.object({\n Id: z.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_TestTemplateSchema = z.object({\n Id: z.number().int().describe(\"Test template identifier\").nullable().optional(),\n Parameter: z.string().describe(\"Parameter under test\").nullable().optional(),\n TestNumber: z.string().describe(\"Number of the test\").nullable().optional(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable().optional(),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the associated equipment\").nullable().optional(),\n ExpectedResult: z.string().describe(\"Expected result of the test\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({\n Id: z.number().int().describe(\"Gage record ID\").nullable(),\n Area: z.string().describe(\"Area or department using the gage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of the interval\").nullable().optional(),\n Type: z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").nullable().optional(),\n Model: z.string().describe(\"Model number of the gage\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of the interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of the interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number assigned to the gage\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website URL\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval description\").nullable().optional(),\n Location: z.string().describe(\"Current storage or usage location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Flag indicating if the record is deleted\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST traceability number\").nullable().optional(),\n Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").nullable().optional(),\n DateAquired: z.string().describe(\"ISO 8601 datetime when acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size specification\").nullable().optional(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime of last update\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer of the gage\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number of the gage\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price of the gage\").nullable().optional(),\n TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used in calibration\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").nullable().optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").nullable().optional(),\n OtherInformation: z.string().describe(\"Additional information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"ISO 8601 datetime when calibration is due\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used in calibration\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"ISO 8601 datetime of last calibration\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Instructions for calibration\").nullable().optional(),\n}).passthrough();\nexport const GagelistGetSingleGageRecordOutput = z.object({\n data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),\n message: z.string().describe(\"API response message or error details\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough();\n\nexport const gagelistGetSingleGageRecord: AppAction<\n typeof GagelistGetSingleGageRecordInput,\n typeof GagelistGetSingleGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)\",\n input: GagelistGetSingleGageRecordInput,\n output: GagelistGetSingleGageRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qMAAqM,EACrO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OA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S,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf+C,EAAE,OAAO;EACxD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAWO;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/update-account-settings.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-account-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateAccountSettingsInput = z.object({\n AllArea: z.array(z.string()).describe(\"List of work area or department names (e.g., ['Production', 'Quality Control', 'R&D'])\"),\n AllType: z.array(z.string()).describe(\"List of available gage type names (e.g., ['Micrometer', 'Caliper', 'Height Gage'])\"),\n Statement: z.string().describe(\"Default statement or disclaimer text to include on calibration certificates and reports\"),\n DateFormat: z.string().describe(\"Preferred date format string (e.g., 'MM/DD/YYYY' for US format, 'DD/MM/YYYY' for European format)\"),\n MyTimeZone: z.string().describe(\"User's preferred time zone in IANA format (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')\"),\n AllInterval: z.array(z.string()).describe(\"List of calibration interval values in days (e.g., ['30', '60', '90', '180', '365'])\"),\n AllLocation: z.array(z.string()).describe(\"List of physical location names where gages can be stored (e.g., ['Lab A', 'Warehouse B', 'Production Floor'])\"),\n AllStatuses: z.array(z.string()).describe(\"List of all possible gage status values (e.g., ['Active', 'Inactive', 'Retired', 'Calibration Due'])\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp indicating when settings were last updated (e.g., '2026-01-30T15:30:00Z')\"),\n AllAssignees: z.array(z.string()).describe(\"List of user identifiers who can be assigned gages (e.g., user IDs or email addresses)\"),\n EmailSubject: z.string().describe(\"Default subject line for notification emails (e.g., 'GageList Calibration Report')\"),\n DisplayFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields should be visible in list views (keys are field names, values are boolean or display config)\"),\n Distributions: z.array(z.string()).describe(\"List of distribution list identifiers or email addresses for automatic report distribution\"),\n IncludeOverdue: z.string().describe(\"Whether to include overdue items in reports and notifications (e.g., 'yes', 'no', 'true', 'false')\"),\n RequiredFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields are mandatory when creating/editing gages (keys are field names, values are boolean)\"),\n ReportToInclude: z.string().describe(\"Default report type to include in notifications (e.g., 'All', 'Due Soon', 'Overdue')\"),\n AllLocalizations: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping UI element keys to localized text values for internationalization\"),\n AllUnitOfMeasure: z.array(z.string()).describe(\"List of supported measurement units (e.g., ['mm', 'in', 'kg', 'lbs', 'PSI'])\"),\n IntroductionText: z.string().describe(\"Introductory text to include at the beginning of notification emails and reports\"),\n NotificationDays: z.array(z.string()).describe(\"Days of week when notifications should be sent (e.g., ['Monday', 'Wednesday', 'Friday'])\"),\n NotificationType: z.string().describe(\"Notification delivery method (e.g., 'email', 'sms', 'none')\"),\n ViewExportFormat: z.string().describe(\"Default file format for data exports (e.g., 'csv', 'xlsx', 'pdf')\"),\n AllActiveStatuses: z.array(z.string()).describe(\"List of status values considered 'active' (e.g., ['Active', 'In Use'])\"),\n UploadImageEnabled: z.boolean().describe(\"Whether image uploads are enabled for gage records (true to allow uploads, false to disable)\"),\n AllConditionAquired: z.array(z.string()).describe(\"List of acquisition condition options (e.g., ['New', 'Used', 'Refurbished'])\"),\n AllTypesMeasurement: z.array(z.string()).describe(\"List of measurement type identifiers (e.g., ['Length', 'Weight', 'Pressure', 'Temperature'])\"),\n EditableCalibratedBy: z.string().describe(\"Who can edit the 'calibrated by' field (e.g., 'admin', 'assignee', 'anyone')\"),\n IncludeGageAssignees: z.string().describe(\"Whether to include gage assignees in notifications and reports (e.g., 'true', 'false', 'yes', 'no')\"),\n AllCalibrationEnvironment: z.array(z.string()).describe(\"List of calibration environment options (e.g., ['Lab', 'Field', 'Vendor'])\"),\n AllCalibrationInstructions: z.array(z.string()).describe(\"List of calibration procedure templates or instruction sets (e.g., ['Standard', 'Extended', 'Quick Check'])\"),\n CalibrationCertificatePDFSize: z.string().describe(\"PDF page size for calibration certificates (e.g., 'Letter', 'A4', 'Legal')\"),\n}).describe(\"Request model for updating account settings in GageList.\\nTypically, you should first retrieve current settings using Get Account Settings,\\nmodify the desired fields, and then submit the complete settings object.\\nAll fields are required as the API expects a complete settings payload.\");\nexport const GagelistUpdateAccountSettingsOutput = z.object({\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"True if operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for updating account settings.\");\n\nexport const gagelistUpdateAccountSettings = action(\"GAGELIST_UPDATE_ACCOUNT_SETTINGS\", {\n slug: \"gagelist-update-account-settings\",\n name: \"Update Account Settings\",\n description: \"Tool to update account settings. Use after retrieving current settings to apply user preference changes.\",\n input: GagelistUpdateAcc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A,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AACjI,CAAC,CAAC,CAAC,SAAS,gSAAgS;AAC5S,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-account-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-account-settings.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 GagelistUpdateAccountSettingsInput = z.object({\n AllArea: z.array(z.string()).describe(\"List of work area or department names (e.g., ['Production', 'Quality Control', 'R&D'])\"),\n AllType: z.array(z.string()).describe(\"List of available gage type names (e.g., ['Micrometer', 'Caliper', 'Height Gage'])\"),\n Statement: z.string().describe(\"Default statement or disclaimer text to include on calibration certificates and reports\"),\n DateFormat: z.string().describe(\"Preferred date format string (e.g., 'MM/DD/YYYY' for US format, 'DD/MM/YYYY' for European format)\"),\n MyTimeZone: z.string().describe(\"User's preferred time zone in IANA format (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')\"),\n AllInterval: z.array(z.string()).describe(\"List of calibration interval values in days (e.g., ['30', '60', '90', '180', '365'])\"),\n AllLocation: z.array(z.string()).describe(\"List of physical location names where gages can be stored (e.g., ['Lab A', 'Warehouse B', 'Production Floor'])\"),\n AllStatuses: z.array(z.string()).describe(\"List of all possible gage status values (e.g., ['Active', 'Inactive', 'Retired', 'Calibration Due'])\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp indicating when settings were last updated (e.g., '2026-01-30T15:30:00Z')\"),\n AllAssignees: z.array(z.string()).describe(\"List of user identifiers who can be assigned gages (e.g., user IDs or email addresses)\"),\n EmailSubject: z.string().describe(\"Default subject line for notification emails (e.g., 'GageList Calibration Report')\"),\n DisplayFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields should be visible in list views (keys are field names, values are boolean or display config)\"),\n Distributions: z.array(z.string()).describe(\"List of distribution list identifiers or email addresses for automatic report distribution\"),\n IncludeOverdue: z.string().describe(\"Whether to include overdue items in reports and notifications (e.g., 'yes', 'no', 'true', 'false')\"),\n RequiredFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields are mandatory when creating/editing gages (keys are field names, values are boolean)\"),\n ReportToInclude: z.string().describe(\"Default report type to include in notifications (e.g., 'All', 'Due Soon', 'Overdue')\"),\n AllLocalizations: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping UI element keys to localized text values for internationalization\"),\n AllUnitOfMeasure: z.array(z.string()).describe(\"List of supported measurement units (e.g., ['mm', 'in', 'kg', 'lbs', 'PSI'])\"),\n IntroductionText: z.string().describe(\"Introductory text to include at the beginning of notification emails and reports\"),\n NotificationDays: z.array(z.string()).describe(\"Days of week when notifications should be sent (e.g., ['Monday', 'Wednesday', 'Friday'])\"),\n NotificationType: z.string().describe(\"Notification delivery method (e.g., 'email', 'sms', 'none')\"),\n ViewExportFormat: z.string().describe(\"Default file format for data exports (e.g., 'csv', 'xlsx', 'pdf')\"),\n AllActiveStatuses: z.array(z.string()).describe(\"List of status values considered 'active' (e.g., ['Active', 'In Use'])\"),\n UploadImageEnabled: z.boolean().describe(\"Whether image uploads are enabled for gage records (true to allow uploads, false to disable)\"),\n AllConditionAquired: z.array(z.string()).describe(\"List of acquisition condition options (e.g., ['New', 'Used', 'Refurbished'])\"),\n AllTypesMeasurement: z.array(z.string()).describe(\"List of measurement type identifiers (e.g., ['Length', 'Weight', 'Pressure', 'Temperature'])\"),\n EditableCalibratedBy: z.string().describe(\"Who can edit the 'calibrated by' field (e.g., 'admin', 'assignee', 'anyone')\"),\n IncludeGageAssignees: z.string().describe(\"Whether to include gage assignees in notifications and reports (e.g., 'true', 'false', 'yes', 'no')\"),\n AllCalibrationEnvironment: z.array(z.string()).describe(\"List of calibration environment options (e.g., ['Lab', 'Field', 'Vendor'])\"),\n AllCalibrationInstructions: z.array(z.string()).describe(\"List of calibration procedure templates or instruction sets (e.g., ['Standard', 'Extended', 'Quick Check'])\"),\n CalibrationCertificatePDFSize: z.string().describe(\"PDF page size for calibration certificates (e.g., 'Letter', 'A4', 'Legal')\"),\n}).describe(\"Request model for updating account settings in GageList.\\nTypically, you should first retrieve current settings using Get Account Settings,\\nmodify the desired fields, and then submit the complete settings object.\\nAll fields are required as the API expects a complete settings payload.\");\nexport const GagelistUpdateAccountSettingsOutput = z.object({\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"True if operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for updating account settings.\");\n\nexport const gagelistUpdateAccountSettings: AppAction<\n typeof GagelistUpdateAccountSettingsInput,\n typeof GagelistUpdateAccountSettingsOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_ACCOUNT_SETTINGS\", {\n slug: \"gagelist-update-account-settings\",\n name: \"Update Account Settings\",\n description: \"Tool to update account settings. Use after retrieving current settings to apply user preference changes.\",\n input: GagelistUpdateAccountSettingsInput,\n output: GagelistUpdateAccountSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF;CAC9H,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF;CAC1H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAA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AAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,gCAITC,eAAAA,OAAO,oCAAoC;CAC7C,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-account-settings.d.ts
@@ -38,51 +40,7 @@ declare const GagelistUpdateAccountSettingsOutput: z.ZodObject<{
38
40
  message: z.ZodNullable<z.ZodString>;
39
41
  success: z.ZodNullable<z.ZodBoolean>;
40
42
  }, z.core.$loose>;
41
- declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- AllArea: string[];
43
- AllType: string[];
44
- Statement: string;
45
- DateFormat: string;
46
- MyTimeZone: string;
47
- AllInterval: string[];
48
- AllLocation: string[];
49
- AllStatuses: string[];
50
- UpdatedDate: string;
51
- AllAssignees: string[];
52
- EmailSubject: string;
53
- DisplayFields: Record<string, unknown>;
54
- Distributions: string[];
55
- IncludeOverdue: string;
56
- RequiredFields: Record<string, unknown>;
57
- ReportToInclude: string;
58
- AllLocalizations: Record<string, unknown>;
59
- AllUnitOfMeasure: string[];
60
- IntroductionText: string;
61
- NotificationDays: string[];
62
- NotificationType: string;
63
- ViewExportFormat: string;
64
- AllActiveStatuses: string[];
65
- UploadImageEnabled: boolean;
66
- AllConditionAquired: string[];
67
- AllTypesMeasurement: string[];
68
- EditableCalibratedBy: string;
69
- IncludeGageAssignees: string;
70
- AllCalibrationEnvironment: string[];
71
- AllCalibrationInstructions: string[];
72
- CalibrationCertificatePDFSize: string;
73
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
74
- connectionId: z.ZodString;
75
- entityId: z.ZodString;
76
- instanceId: z.ZodString;
77
- }, z.core.$strip>, z.ZodObject<{
78
- accessToken: z.ZodString;
79
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- accessToken: z.ZodString;
85
- }, z.core.$strip>>]>;
43
+ declare const gagelistUpdateAccountSettings: AppAction<typeof GagelistUpdateAccountSettingsInput, typeof GagelistUpdateAccountSettingsOutput, typeof gagelist.credential>;
86
44
  //#endregion
87
45
  export { gagelistUpdateAccountSettings };
88
46
  //# sourceMappingURL=update-account-settings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-settings.d.cts","names":[],"sources":["../../src/actions/update-account-settings.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"update-account-settings.d.cts","names":[],"sources":["../../src/actions/update-account-settings.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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-account-settings.d.ts
@@ -38,51 +40,7 @@ declare const GagelistUpdateAccountSettingsOutput: z.ZodObject<{
38
40
  message: z.ZodNullable<z.ZodString>;
39
41
  success: z.ZodNullable<z.ZodBoolean>;
40
42
  }, z.core.$loose>;
41
- declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
42
- AllArea: string[];
43
- AllType: string[];
44
- Statement: string;
45
- DateFormat: string;
46
- MyTimeZone: string;
47
- AllInterval: string[];
48
- AllLocation: string[];
49
- AllStatuses: string[];
50
- UpdatedDate: string;
51
- AllAssignees: string[];
52
- EmailSubject: string;
53
- DisplayFields: Record<string, unknown>;
54
- Distributions: string[];
55
- IncludeOverdue: string;
56
- RequiredFields: Record<string, unknown>;
57
- ReportToInclude: string;
58
- AllLocalizations: Record<string, unknown>;
59
- AllUnitOfMeasure: string[];
60
- IntroductionText: string;
61
- NotificationDays: string[];
62
- NotificationType: string;
63
- ViewExportFormat: string;
64
- AllActiveStatuses: string[];
65
- UploadImageEnabled: boolean;
66
- AllConditionAquired: string[];
67
- AllTypesMeasurement: string[];
68
- EditableCalibratedBy: string;
69
- IncludeGageAssignees: string;
70
- AllCalibrationEnvironment: string[];
71
- AllCalibrationInstructions: string[];
72
- CalibrationCertificatePDFSize: string;
73
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
74
- connectionId: z.ZodString;
75
- entityId: z.ZodString;
76
- instanceId: z.ZodString;
77
- }, z.core.$strip>, z.ZodObject<{
78
- accessToken: z.ZodString;
79
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- accessToken: z.ZodString;
85
- }, z.core.$strip>>]>;
43
+ declare const gagelistUpdateAccountSettings: AppAction<typeof GagelistUpdateAccountSettingsInput, typeof GagelistUpdateAccountSettingsOutput, typeof gagelist.credential>;
86
44
  //#endregion
87
45
  export { gagelistUpdateAccountSettings };
88
46
  //# sourceMappingURL=update-account-settings.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-settings.d.mts","names":[],"sources":["../../src/actions/update-account-settings.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"update-account-settings.d.mts","names":[],"sources":["../../src/actions/update-account-settings.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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 gagelistUpdateAccountSettings = action("GAGELIST_UPDATE_ACCOUNT_SETTINGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-account-settings.mjs","names":[],"sources":["../../src/actions/update-account-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateAccountSettingsInput = z.object({\n AllArea: z.array(z.string()).describe(\"List of work area or department names (e.g., ['Production', 'Quality Control', 'R&D'])\"),\n AllType: z.array(z.string()).describe(\"List of available gage type names (e.g., ['Micrometer', 'Caliper', 'Height Gage'])\"),\n Statement: z.string().describe(\"Default statement or disclaimer text to include on calibration certificates and reports\"),\n DateFormat: z.string().describe(\"Preferred date format string (e.g., 'MM/DD/YYYY' for US format, 'DD/MM/YYYY' for European format)\"),\n MyTimeZone: z.string().describe(\"User's preferred time zone in IANA format (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')\"),\n AllInterval: z.array(z.string()).describe(\"List of calibration interval values in days (e.g., ['30', '60', '90', '180', '365'])\"),\n AllLocation: z.array(z.string()).describe(\"List of physical location names where gages can be stored (e.g., ['Lab A', 'Warehouse B', 'Production Floor'])\"),\n AllStatuses: z.array(z.string()).describe(\"List of all possible gage status values (e.g., ['Active', 'Inactive', 'Retired', 'Calibration Due'])\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp indicating when settings were last updated (e.g., '2026-01-30T15:30:00Z')\"),\n AllAssignees: z.array(z.string()).describe(\"List of user identifiers who can be assigned gages (e.g., user IDs or email addresses)\"),\n EmailSubject: z.string().describe(\"Default subject line for notification emails (e.g., 'GageList Calibration Report')\"),\n DisplayFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields should be visible in list views (keys are field names, values are boolean or display config)\"),\n Distributions: z.array(z.string()).describe(\"List of distribution list identifiers or email addresses for automatic report distribution\"),\n IncludeOverdue: z.string().describe(\"Whether to include overdue items in reports and notifications (e.g., 'yes', 'no', 'true', 'false')\"),\n RequiredFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields are mandatory when creating/editing gages (keys are field names, values are boolean)\"),\n ReportToInclude: z.string().describe(\"Default report type to include in notifications (e.g., 'All', 'Due Soon', 'Overdue')\"),\n AllLocalizations: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping UI element keys to localized text values for internationalization\"),\n AllUnitOfMeasure: z.array(z.string()).describe(\"List of supported measurement units (e.g., ['mm', 'in', 'kg', 'lbs', 'PSI'])\"),\n IntroductionText: z.string().describe(\"Introductory text to include at the beginning of notification emails and reports\"),\n NotificationDays: z.array(z.string()).describe(\"Days of week when notifications should be sent (e.g., ['Monday', 'Wednesday', 'Friday'])\"),\n NotificationType: z.string().describe(\"Notification delivery method (e.g., 'email', 'sms', 'none')\"),\n ViewExportFormat: z.string().describe(\"Default file format for data exports (e.g., 'csv', 'xlsx', 'pdf')\"),\n AllActiveStatuses: z.array(z.string()).describe(\"List of status values considered 'active' (e.g., ['Active', 'In Use'])\"),\n UploadImageEnabled: z.boolean().describe(\"Whether image uploads are enabled for gage records (true to allow uploads, false to disable)\"),\n AllConditionAquired: z.array(z.string()).describe(\"List of acquisition condition options (e.g., ['New', 'Used', 'Refurbished'])\"),\n AllTypesMeasurement: z.array(z.string()).describe(\"List of measurement type identifiers (e.g., ['Length', 'Weight', 'Pressure', 'Temperature'])\"),\n EditableCalibratedBy: z.string().describe(\"Who can edit the 'calibrated by' field (e.g., 'admin', 'assignee', 'anyone')\"),\n IncludeGageAssignees: z.string().describe(\"Whether to include gage assignees in notifications and reports (e.g., 'true', 'false', 'yes', 'no')\"),\n AllCalibrationEnvironment: z.array(z.string()).describe(\"List of calibration environment options (e.g., ['Lab', 'Field', 'Vendor'])\"),\n AllCalibrationInstructions: z.array(z.string()).describe(\"List of calibration procedure templates or instruction sets (e.g., ['Standard', 'Extended', 'Quick Check'])\"),\n CalibrationCertificatePDFSize: z.string().describe(\"PDF page size for calibration certificates (e.g., 'Letter', 'A4', 'Legal')\"),\n}).describe(\"Request model for updating account settings in GageList.\\nTypically, you should first retrieve current settings using Get Account Settings,\\nmodify the desired fields, and then submit the complete settings object.\\nAll fields are required as the API expects a complete settings payload.\");\nexport const GagelistUpdateAccountSettingsOutput = z.object({\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"True if operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for updating account settings.\");\n\nexport const gagelistUpdateAccountSettings = action(\"GAGELIST_UPDATE_ACCOUNT_SETTINGS\", {\n slug: \"gagelist-update-account-settings\",\n name: \"Update Account Settings\",\n description: \"Tool to update account settings. Use after retrieving current settings to apply user preference changes.\",\n input: GagelistUpdateAccountSettingsInput,\n output: GagelistUpdateAccountSettingsOutput,\n});\n"],"mappings":";;AA0CA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1CgD,EAAE,OAAO;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF;EAC9H,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACx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BAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wEAAwE;EACxH,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,8FAA8F;EACvI,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E;EAChI,qBAAqB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8FAA8F;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACxH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;EAC/I,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;EACpI,4BAA4B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G;EACtK,+BAA+B,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CACjI,CAAC,CAAC,CAAC,SAAS,gSAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-account-settings.mjs","names":[],"sources":["../../src/actions/update-account-settings.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 GagelistUpdateAccountSettingsInput = z.object({\n AllArea: z.array(z.string()).describe(\"List of work area or department names (e.g., ['Production', 'Quality Control', 'R&D'])\"),\n AllType: z.array(z.string()).describe(\"List of available gage type names (e.g., ['Micrometer', 'Caliper', 'Height Gage'])\"),\n Statement: z.string().describe(\"Default statement or disclaimer text to include on calibration certificates and reports\"),\n DateFormat: z.string().describe(\"Preferred date format string (e.g., 'MM/DD/YYYY' for US format, 'DD/MM/YYYY' for European format)\"),\n MyTimeZone: z.string().describe(\"User's preferred time zone in IANA format (e.g., 'America/New_York', 'Europe/London', 'Asia/Tokyo')\"),\n AllInterval: z.array(z.string()).describe(\"List of calibration interval values in days (e.g., ['30', '60', '90', '180', '365'])\"),\n AllLocation: z.array(z.string()).describe(\"List of physical location names where gages can be stored (e.g., ['Lab A', 'Warehouse B', 'Production Floor'])\"),\n AllStatuses: z.array(z.string()).describe(\"List of all possible gage status values (e.g., ['Active', 'Inactive', 'Retired', 'Calibration Due'])\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp indicating when settings were last updated (e.g., '2026-01-30T15:30:00Z')\"),\n AllAssignees: z.array(z.string()).describe(\"List of user identifiers who can be assigned gages (e.g., user IDs or email addresses)\"),\n EmailSubject: z.string().describe(\"Default subject line for notification emails (e.g., 'GageList Calibration Report')\"),\n DisplayFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields should be visible in list views (keys are field names, values are boolean or display config)\"),\n Distributions: z.array(z.string()).describe(\"List of distribution list identifiers or email addresses for automatic report distribution\"),\n IncludeOverdue: z.string().describe(\"Whether to include overdue items in reports and notifications (e.g., 'yes', 'no', 'true', 'false')\"),\n RequiredFields: z.record(z.string(), z.unknown()).describe(\"Dictionary specifying which fields are mandatory when creating/editing gages (keys are field names, values are boolean)\"),\n ReportToInclude: z.string().describe(\"Default report type to include in notifications (e.g., 'All', 'Due Soon', 'Overdue')\"),\n AllLocalizations: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping UI element keys to localized text values for internationalization\"),\n AllUnitOfMeasure: z.array(z.string()).describe(\"List of supported measurement units (e.g., ['mm', 'in', 'kg', 'lbs', 'PSI'])\"),\n IntroductionText: z.string().describe(\"Introductory text to include at the beginning of notification emails and reports\"),\n NotificationDays: z.array(z.string()).describe(\"Days of week when notifications should be sent (e.g., ['Monday', 'Wednesday', 'Friday'])\"),\n NotificationType: z.string().describe(\"Notification delivery method (e.g., 'email', 'sms', 'none')\"),\n ViewExportFormat: z.string().describe(\"Default file format for data exports (e.g., 'csv', 'xlsx', 'pdf')\"),\n AllActiveStatuses: z.array(z.string()).describe(\"List of status values considered 'active' (e.g., ['Active', 'In Use'])\"),\n UploadImageEnabled: z.boolean().describe(\"Whether image uploads are enabled for gage records (true to allow uploads, false to disable)\"),\n AllConditionAquired: z.array(z.string()).describe(\"List of acquisition condition options (e.g., ['New', 'Used', 'Refurbished'])\"),\n AllTypesMeasurement: z.array(z.string()).describe(\"List of measurement type identifiers (e.g., ['Length', 'Weight', 'Pressure', 'Temperature'])\"),\n EditableCalibratedBy: z.string().describe(\"Who can edit the 'calibrated by' field (e.g., 'admin', 'assignee', 'anyone')\"),\n IncludeGageAssignees: z.string().describe(\"Whether to include gage assignees in notifications and reports (e.g., 'true', 'false', 'yes', 'no')\"),\n AllCalibrationEnvironment: z.array(z.string()).describe(\"List of calibration environment options (e.g., ['Lab', 'Field', 'Vendor'])\"),\n AllCalibrationInstructions: z.array(z.string()).describe(\"List of calibration procedure templates or instruction sets (e.g., ['Standard', 'Extended', 'Quick Check'])\"),\n CalibrationCertificatePDFSize: z.string().describe(\"PDF page size for calibration certificates (e.g., 'Letter', 'A4', 'Legal')\"),\n}).describe(\"Request model for updating account settings in GageList.\\nTypically, you should first retrieve current settings using Get Account Settings,\\nmodify the desired fields, and then submit the complete settings object.\\nAll fields are required as the API expects a complete settings payload.\");\nexport const GagelistUpdateAccountSettingsOutput = z.object({\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"True if operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for updating account settings.\");\n\nexport const gagelistUpdateAccountSettings: AppAction<\n typeof GagelistUpdateAccountSettingsInput,\n typeof GagelistUpdateAccountSettingsOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_ACCOUNT_SETTINGS\", {\n slug: \"gagelist-update-account-settings\",\n name: \"Update Account Settings\",\n description: \"Tool to update account settings. Use after retrieving current settings to apply user preference changes.\",\n input: GagelistUpdateAccountSettingsInput,\n output: GagelistUpdateAccountSettingsOutput,\n});\n"],"mappings":";;;AA4CA,MAAa,gCAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9CgD,EAAE,OAAO;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF;EAC9H,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oFAAoF;EAC1H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;EACrI,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAChI,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH;EAC1J,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG;EAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EAC/H,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF;EACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;EACtH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iIAAiI;EAC3L,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4FAA4F;EACxI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG;EACxI,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yHAAyH;EACpL,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sF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V,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/update-custom-field-values.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field-values.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateCustomFieldValuesInput = z.object({\n values: z.array(z.object({\n Id: z.number().int().describe(\"Custom value record ID (0 to create a new record)\"),\n RefID: z.number().int().describe(\"Parent record ID (gage or calibration)\"),\n FieldId: z.number().int().describe(\"Custom field definition ID\"),\n RefType: z.number().int().describe(\"Reference type (1 = Gage, 2 = Calibration)\"),\n FieldValue: z.string().describe(\"Value to set for this custom field\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp (ignored by server)\").optional(),\n}).passthrough().describe(\"A single custom field value record to update or create.\")).describe(\"List of custom field value objects to update or create\"),\n}).describe(\"Request model for updating custom field values.\");\nexport const GagelistUpdateCustomFieldValuesOutput = z.object({\n data: z.array(z.number().int()).describe(\"List of IDs for the created or updated custom field value records\"),\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for the update custom field values action.\");\n\nexport const gagelistUpdateCustomFieldValues = action(\"GAGELIST_UPDATE_CUSTOM_FIELD_VALUES\", {\n slug: \"gagelist-update-custom-field-values\",\n name: \"Update Custom Field Values\",\n description: \"Tool to update custom field values. Use when you need to set or modify custom field values for a gage or calibration record after authentication.\",\n input: GagelistUpdateCustomFieldValuesInput,\n output: GagelistUpdateCustomFieldValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACvJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field-values.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field-values.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 GagelistUpdateCustomFieldValuesInput = z.object({\n values: z.array(z.object({\n Id: z.number().int().describe(\"Custom value record ID (0 to create a new record)\"),\n RefID: z.number().int().describe(\"Parent record ID (gage or calibration)\"),\n FieldId: z.number().int().describe(\"Custom field definition ID\"),\n RefType: z.number().int().describe(\"Reference type (1 = Gage, 2 = Calibration)\"),\n FieldValue: z.string().describe(\"Value to set for this custom field\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp (ignored by server)\").optional(),\n}).passthrough().describe(\"A single custom field value record to update or create.\")).describe(\"List of custom field value objects to update or create\"),\n}).describe(\"Request model for updating custom field values.\");\nexport const GagelistUpdateCustomFieldValuesOutput = z.object({\n data: z.array(z.number().int()).describe(\"List of IDs for the created or updated custom field value records\"),\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for the update custom field values action.\");\n\nexport const gagelistUpdateCustomFieldValues: AppAction<\n typeof GagelistUpdateCustomFieldValuesInput,\n typeof GagelistUpdateCustomFieldValuesOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_CUSTOM_FIELD_VALUES\", {\n slug: \"gagelist-update-custom-field-values\",\n name: \"Update Custom Field Values\",\n description: \"Tool to update custom field values. Use when you need to set or modify custom field values for a gage or calibration record after authentication.\",\n input: GagelistUpdateCustomFieldValuesInput,\n output: GagelistUpdateCustomFieldValuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACvJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,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-custom-field-values.d.ts
@@ -16,29 +18,7 @@ declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  success: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- values: {
21
- [x: string]: unknown;
22
- Id: number;
23
- RefID: number;
24
- FieldId: number;
25
- RefType: number;
26
- FieldValue: string;
27
- UpdatedDate?: string | undefined;
28
- }[];
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- accessToken: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- accessToken: z.ZodString;
41
- }, z.core.$strip>>]>;
21
+ declare const gagelistUpdateCustomFieldValues: AppAction<typeof GagelistUpdateCustomFieldValuesInput, typeof GagelistUpdateCustomFieldValuesOutput, typeof gagelist.credential>;
42
22
  //#endregion
43
23
  export { gagelistUpdateCustomFieldValues };
44
24
  //# sourceMappingURL=update-custom-field-values.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field-values.d.cts","names":[],"sources":["../../src/actions/update-custom-field-values.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"update-custom-field-values.d.cts","names":[],"sources":["../../src/actions/update-custom-field-values.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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-custom-field-values.d.ts
@@ -16,29 +18,7 @@ declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
16
18
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  success: z.ZodNullable<z.ZodBoolean>;
18
20
  }, z.core.$loose>;
19
- declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- values: {
21
- [x: string]: unknown;
22
- Id: number;
23
- RefID: number;
24
- FieldId: number;
25
- RefType: number;
26
- FieldValue: string;
27
- UpdatedDate?: string | undefined;
28
- }[];
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- accessToken: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- accessToken: z.ZodString;
41
- }, z.core.$strip>>]>;
21
+ declare const gagelistUpdateCustomFieldValues: AppAction<typeof GagelistUpdateCustomFieldValuesInput, typeof GagelistUpdateCustomFieldValuesOutput, typeof gagelist.credential>;
42
22
  //#endregion
43
23
  export { gagelistUpdateCustomFieldValues };
44
24
  //# sourceMappingURL=update-custom-field-values.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field-values.d.mts","names":[],"sources":["../../src/actions/update-custom-field-values.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"update-custom-field-values.d.mts","names":[],"sources":["../../src/actions/update-custom-field-values.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;cAUpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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 gagelistUpdateCustomFieldValues = action("GAGELIST_UPDATE_CUSTOM_FIELD_VALUES", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-custom-field-values.mjs","names":[],"sources":["../../src/actions/update-custom-field-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateCustomFieldValuesInput = z.object({\n values: z.array(z.object({\n Id: z.number().int().describe(\"Custom value record ID (0 to create a new record)\"),\n RefID: z.number().int().describe(\"Parent record ID (gage or calibration)\"),\n FieldId: z.number().int().describe(\"Custom field definition ID\"),\n RefType: z.number().int().describe(\"Reference type (1 = Gage, 2 = Calibration)\"),\n FieldValue: z.string().describe(\"Value to set for this custom field\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp (ignored by server)\").optional(),\n}).passthrough().describe(\"A single custom field value record to update or create.\")).describe(\"List of custom field value objects to update or create\"),\n}).describe(\"Request model for updating custom field values.\");\nexport const GagelistUpdateCustomFieldValuesOutput = z.object({\n data: z.array(z.number().int()).describe(\"List of IDs for the created or updated custom field value records\"),\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for the update custom field values action.\");\n\nexport const gagelistUpdateCustomFieldValues = action(\"GAGELIST_UPDATE_CUSTOM_FIELD_VALUES\", {\n slug: \"gagelist-update-custom-field-values\",\n name: \"Update Custom Field Values\",\n description: \"Tool to update custom field values. Use when you need to set or modify custom field values for a gage or calibration record after authentication.\",\n input: GagelistUpdateCustomFieldValuesInput,\n output: GagelistUpdateCustomFieldValuesOutput,\n});\n"],"mappings":";;AAoBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACvJ,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-custom-field-values.mjs","names":[],"sources":["../../src/actions/update-custom-field-values.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 GagelistUpdateCustomFieldValuesInput = z.object({\n values: z.array(z.object({\n Id: z.number().int().describe(\"Custom value record ID (0 to create a new record)\"),\n RefID: z.number().int().describe(\"Parent record ID (gage or calibration)\"),\n FieldId: z.number().int().describe(\"Custom field definition ID\"),\n RefType: z.number().int().describe(\"Reference type (1 = Gage, 2 = Calibration)\"),\n FieldValue: z.string().describe(\"Value to set for this custom field\"),\n UpdatedDate: z.string().describe(\"ISO 8601 timestamp (ignored by server)\").optional(),\n}).passthrough().describe(\"A single custom field value record to update or create.\")).describe(\"List of custom field value objects to update or create\"),\n}).describe(\"Request model for updating custom field values.\");\nexport const GagelistUpdateCustomFieldValuesOutput = z.object({\n data: z.array(z.number().int()).describe(\"List of IDs for the created or updated custom field value records\"),\n message: z.string().describe(\"Optional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for the update custom field values action.\");\n\nexport const gagelistUpdateCustomFieldValues: AppAction<\n typeof GagelistUpdateCustomFieldValuesInput,\n typeof GagelistUpdateCustomFieldValuesOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_UPDATE_CUSTOM_FIELD_VALUES\", {\n slug: \"gagelist-update-custom-field-values\",\n name: \"Update Custom Field Values\",\n description: \"Tool to update custom field values. Use when you need to set or modify custom field values for a gage or calibration record after authentication.\",\n input: GagelistUpdateCustomFieldValuesInput,\n output: GagelistUpdateCustomFieldValuesOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACvJ,CAAC,CAAC,CAAC,SAAS,iDAeH;CACP,QAfmD,EAAE,OAAO;EAC5D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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/update-manufacturer.ts
@@ -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,26 +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<"gagelist", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const gagelistUpdateManufacturer: AppAction<typeof GagelistUpdateManufacturerInput, typeof GagelistUpdateManufacturerOutput, typeof gagelist.credential>;
37
20
  //#endregion
38
21
  export { gagelistUpdateManufacturer };
39
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,26 +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<"gagelist", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const gagelistUpdateManufacturer: AppAction<typeof GagelistUpdateManufacturerInput, typeof GagelistUpdateManufacturerOutput, typeof gagelist.credential>;
37
20
  //#endregion
38
21
  export { gagelistUpdateManufacturer };
39
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,26 +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<"gagelist", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const gagelistUploadAttachmentToGageRecord: AppAction<typeof GagelistUploadAttachmentToGageRecordInput, typeof GagelistUploadAttachmentToGageRecordOutput, typeof gagelist.credential>;
37
20
  //#endregion
38
21
  export { gagelistUploadAttachmentToGageRecord };
39
22
  //# sourceMappingURL=upload-attachment-to-gage-record.d.cts.map