@keystrokehq/gagelist 0.1.1 → 0.1.3

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 (137) 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 +6 -6
  4. package/dist/actions/add-calibration-record.cjs.map +1 -1
  5. package/dist/actions/add-calibration-record.d.cts +10 -11
  6. package/dist/actions/add-calibration-record.d.mts +10 -11
  7. package/dist/actions/add-calibration-record.mjs +6 -6
  8. package/dist/actions/add-calibration-record.mjs.map +1 -1
  9. package/dist/actions/add-gage-record.cjs +4 -4
  10. package/dist/actions/add-gage-record.cjs.map +1 -1
  11. package/dist/actions/add-gage-record.d.cts +7 -9
  12. package/dist/actions/add-gage-record.d.mts +7 -9
  13. package/dist/actions/add-gage-record.mjs +4 -4
  14. package/dist/actions/add-gage-record.mjs.map +1 -1
  15. package/dist/actions/add-manufacturer.cjs +3 -3
  16. package/dist/actions/add-manufacturer.cjs.map +1 -1
  17. package/dist/actions/add-manufacturer.d.cts +4 -8
  18. package/dist/actions/add-manufacturer.d.mts +4 -8
  19. package/dist/actions/add-manufacturer.mjs +3 -3
  20. package/dist/actions/add-manufacturer.mjs.map +1 -1
  21. package/dist/actions/authenticate-with-gagelist.cjs +2 -2
  22. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  23. package/dist/actions/authenticate-with-gagelist.d.cts +3 -13
  24. package/dist/actions/authenticate-with-gagelist.d.mts +3 -13
  25. package/dist/actions/authenticate-with-gagelist.mjs +2 -2
  26. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  27. package/dist/actions/delete-calibration-record.cjs +1 -1
  28. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  29. package/dist/actions/delete-calibration-record.d.cts +2 -6
  30. package/dist/actions/delete-calibration-record.d.mts +2 -6
  31. package/dist/actions/delete-calibration-record.mjs +1 -1
  32. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  33. package/dist/actions/delete-gage-record.cjs +1 -1
  34. package/dist/actions/delete-gage-record.cjs.map +1 -1
  35. package/dist/actions/delete-gage-record.d.cts +2 -6
  36. package/dist/actions/delete-gage-record.d.mts +2 -6
  37. package/dist/actions/delete-gage-record.mjs +1 -1
  38. package/dist/actions/delete-gage-record.mjs.map +1 -1
  39. package/dist/actions/delete-manufacturer.cjs +1 -1
  40. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  41. package/dist/actions/delete-manufacturer.d.cts +2 -6
  42. package/dist/actions/delete-manufacturer.d.mts +2 -6
  43. package/dist/actions/delete-manufacturer.mjs +1 -1
  44. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  45. package/dist/actions/generate-calibration-certificate.cjs +2 -2
  46. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  47. package/dist/actions/generate-calibration-certificate.d.cts +3 -9
  48. package/dist/actions/generate-calibration-certificate.d.mts +3 -9
  49. package/dist/actions/generate-calibration-certificate.mjs +2 -2
  50. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  51. package/dist/actions/get-account-settings.cjs +3 -3
  52. package/dist/actions/get-account-settings.cjs.map +1 -1
  53. package/dist/actions/get-account-settings.d.cts +4 -40
  54. package/dist/actions/get-account-settings.d.cts.map +1 -1
  55. package/dist/actions/get-account-settings.d.mts +4 -40
  56. package/dist/actions/get-account-settings.d.mts.map +1 -1
  57. package/dist/actions/get-account-settings.mjs +3 -3
  58. package/dist/actions/get-account-settings.mjs.map +1 -1
  59. package/dist/actions/get-account-status.cjs +11 -11
  60. package/dist/actions/get-account-status.cjs.map +1 -1
  61. package/dist/actions/get-account-status.d.cts +14 -85
  62. package/dist/actions/get-account-status.d.cts.map +1 -1
  63. package/dist/actions/get-account-status.d.mts +14 -85
  64. package/dist/actions/get-account-status.d.mts.map +1 -1
  65. package/dist/actions/get-account-status.mjs +11 -11
  66. package/dist/actions/get-account-status.mjs.map +1 -1
  67. package/dist/actions/get-all-calibration-records.cjs +71 -71
  68. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  69. package/dist/actions/get-all-calibration-records.d.cts +72 -143
  70. package/dist/actions/get-all-calibration-records.d.mts +72 -143
  71. package/dist/actions/get-all-calibration-records.mjs +71 -71
  72. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  73. package/dist/actions/get-all-gage-records.cjs +50 -50
  74. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  75. package/dist/actions/get-all-gage-records.d.cts +51 -101
  76. package/dist/actions/get-all-gage-records.d.mts +51 -101
  77. package/dist/actions/get-all-gage-records.mjs +50 -50
  78. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  79. package/dist/actions/get-all-manufacturers.cjs +3 -3
  80. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  81. package/dist/actions/get-all-manufacturers.d.cts +4 -19
  82. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  83. package/dist/actions/get-all-manufacturers.d.mts +4 -19
  84. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  85. package/dist/actions/get-all-manufacturers.mjs +3 -3
  86. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  87. package/dist/actions/get-attachment.cjs +2 -2
  88. package/dist/actions/get-attachment.cjs.map +1 -1
  89. package/dist/actions/get-attachment.d.cts +3 -9
  90. package/dist/actions/get-attachment.d.mts +3 -9
  91. package/dist/actions/get-attachment.mjs +2 -2
  92. package/dist/actions/get-attachment.mjs.map +1 -1
  93. package/dist/actions/get-custom-fields.cjs +3 -3
  94. package/dist/actions/get-custom-fields.cjs.map +1 -1
  95. package/dist/actions/get-custom-fields.d.cts +4 -28
  96. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  97. package/dist/actions/get-custom-fields.d.mts +4 -28
  98. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  99. package/dist/actions/get-custom-fields.mjs +3 -3
  100. package/dist/actions/get-custom-fields.mjs.map +1 -1
  101. package/dist/actions/get-single-calibration-record.cjs +8 -8
  102. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  103. package/dist/actions/get-single-calibration-record.d.cts +9 -103
  104. package/dist/actions/get-single-calibration-record.d.mts +9 -103
  105. package/dist/actions/get-single-calibration-record.mjs +8 -8
  106. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  107. package/dist/actions/get-single-gage-record.cjs +56 -56
  108. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  109. package/dist/actions/get-single-gage-record.d.cts +57 -115
  110. package/dist/actions/get-single-gage-record.d.mts +57 -115
  111. package/dist/actions/get-single-gage-record.mjs +56 -56
  112. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  113. package/dist/actions/update-account-settings.cjs +1 -1
  114. package/dist/actions/update-account-settings.cjs.map +1 -1
  115. package/dist/actions/update-account-settings.d.cts +2 -5
  116. package/dist/actions/update-account-settings.d.mts +2 -5
  117. package/dist/actions/update-account-settings.mjs +1 -1
  118. package/dist/actions/update-account-settings.mjs.map +1 -1
  119. package/dist/actions/update-custom-field-values.cjs +3 -3
  120. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  121. package/dist/actions/update-custom-field-values.d.cts +5 -8
  122. package/dist/actions/update-custom-field-values.d.mts +5 -8
  123. package/dist/actions/update-custom-field-values.mjs +3 -3
  124. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  125. package/dist/actions/update-manufacturer.cjs +1 -1
  126. package/dist/actions/update-manufacturer.cjs.map +1 -1
  127. package/dist/actions/update-manufacturer.d.cts +2 -6
  128. package/dist/actions/update-manufacturer.d.mts +2 -6
  129. package/dist/actions/update-manufacturer.mjs +1 -1
  130. package/dist/actions/update-manufacturer.mjs.map +1 -1
  131. package/dist/actions/upload-attachment-to-gage-record.cjs +2 -2
  132. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  133. package/dist/actions/upload-attachment-to-gage-record.d.cts +3 -7
  134. package/dist/actions/upload-attachment-to-gage-record.d.mts +3 -7
  135. package/dist/actions/upload-attachment-to-gage-record.mjs +2 -2
  136. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  137. package/package.json +1 -1
@@ -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}).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":";;;AAIA,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,CAAC,SAAS,yFAAyF;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CACrI,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAChI,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gHAAgH;CAC1J,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sGAAsG;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAA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C,SAAS,8EAA8E;CAChI,qBAAqBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8FAA8F;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACxH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC/I,2BAA2BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CACpI,4BAA4BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G;CACtK,+BAA+BA,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,SAAS,+CAA+C;AAE3D,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 { 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"],"m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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"}
@@ -37,7 +37,7 @@ declare const GagelistUpdateAccountSettingsInput: z.ZodObject<{
37
37
  declare const GagelistUpdateAccountSettingsOutput: z.ZodObject<{
38
38
  message: z.ZodNullable<z.ZodString>;
39
39
  success: z.ZodNullable<z.ZodBoolean>;
40
- }, z.core.$strip>;
40
+ }, z.core.$loose>;
41
41
  declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  AllArea: string[];
43
43
  AllType: string[];
@@ -70,10 +70,7 @@ declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").Workf
70
70
  AllCalibrationEnvironment: string[];
71
71
  AllCalibrationInstructions: string[];
72
72
  CalibrationCertificatePDFSize: string;
73
- }, {
74
- message: string | null;
75
- success: boolean | null;
76
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
77
74
  //#endregion
78
75
  export { gagelistUpdateAccountSettings };
79
76
  //# sourceMappingURL=update-account-settings.d.cts.map
@@ -37,7 +37,7 @@ declare const GagelistUpdateAccountSettingsInput: z.ZodObject<{
37
37
  declare const GagelistUpdateAccountSettingsOutput: z.ZodObject<{
38
38
  message: z.ZodNullable<z.ZodString>;
39
39
  success: z.ZodNullable<z.ZodBoolean>;
40
- }, z.core.$strip>;
40
+ }, z.core.$loose>;
41
41
  declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  AllArea: string[];
43
43
  AllType: string[];
@@ -70,10 +70,7 @@ declare const gagelistUpdateAccountSettings: import("@keystrokehq/action").Workf
70
70
  AllCalibrationEnvironment: string[];
71
71
  AllCalibrationInstructions: string[];
72
72
  CalibrationCertificatePDFSize: string;
73
- }, {
74
- message: string | null;
75
- success: boolean | null;
76
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
77
74
  //#endregion
78
75
  export { gagelistUpdateAccountSettings };
79
76
  //# sourceMappingURL=update-account-settings.d.mts.map
@@ -40,7 +40,7 @@ const gagelistUpdateAccountSettings = action("GAGELIST_UPDATE_ACCOUNT_SETTINGS",
40
40
  output: z.object({
41
41
  message: z.string().describe("Informational message from the API").nullable(),
42
42
  success: z.boolean().describe("True if operation succeeded").nullable()
43
- }).describe("Response model for updating account settings.")
43
+ }).passthrough().describe("Response model for updating account settings.")
44
44
  });
45
45
  //#endregion
46
46
  export { gagelistUpdateAccountSettings };
@@ -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}).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: GagelistUpdateA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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;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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AE,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"}
@@ -8,12 +8,12 @@ const GagelistUpdateCustomFieldValuesInput = zod.z.object({ values: zod.z.array(
8
8
  RefType: zod.z.number().int().describe("Reference type (1 = Gage, 2 = Calibration)"),
9
9
  FieldValue: zod.z.string().describe("Value to set for this custom field"),
10
10
  UpdatedDate: zod.z.string().describe("ISO 8601 timestamp (ignored by server)").optional()
11
- }).describe("A single custom field value record to update or create.")).describe("List of custom field value objects to update or create") }).describe("Request model for updating custom field values.");
11
+ }).passthrough().describe("A single custom field value record to update or create.")).describe("List of custom field value objects to update or create") }).describe("Request model for updating custom field values.");
12
12
  const GagelistUpdateCustomFieldValuesOutput = zod.z.object({
13
13
  data: zod.z.array(zod.z.number().int()).describe("List of IDs for the created or updated custom field value records"),
14
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Optional message from the API").optional()),
14
+ message: zod.z.string().describe("Optional message from the API").nullable().optional(),
15
15
  success: zod.z.boolean().describe("Indicates whether the update operation succeeded").nullable()
16
- }).describe("Response model for the update custom field values action.");
16
+ }).passthrough().describe("Response model for the update custom field values action.");
17
17
  const gagelistUpdateCustomFieldValues = require_action.action("GAGELIST_UPDATE_CUSTOM_FIELD_VALUES", {
18
18
  slug: "gagelist-update-custom-field-values",
19
19
  name: "Update Custom Field Values",
@@ -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}).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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Optional message from the API\").optional()),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACzI,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;CACtI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,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 { 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"}
@@ -9,15 +9,16 @@ declare const GagelistUpdateCustomFieldValuesInput: z.ZodObject<{
9
9
  RefType: z.ZodNumber;
10
10
  FieldValue: z.ZodString;
11
11
  UpdatedDate: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  }, z.core.$strip>;
14
14
  declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
15
15
  data: z.ZodArray<z.ZodNumber>;
16
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  success: z.ZodNullable<z.ZodBoolean>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  values: {
21
+ [x: string]: unknown;
21
22
  Id: number;
22
23
  RefID: number;
23
24
  FieldId: number;
@@ -25,11 +26,7 @@ declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").Wor
25
26
  FieldValue: string;
26
27
  UpdatedDate?: string | undefined;
27
28
  }[];
28
- }, {
29
- data: number[];
30
- success: boolean | null;
31
- message?: string | undefined;
32
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
30
  //#endregion
34
31
  export { gagelistUpdateCustomFieldValues };
35
32
  //# sourceMappingURL=update-custom-field-values.d.cts.map
@@ -9,15 +9,16 @@ declare const GagelistUpdateCustomFieldValuesInput: z.ZodObject<{
9
9
  RefType: z.ZodNumber;
10
10
  FieldValue: z.ZodString;
11
11
  UpdatedDate: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  }, z.core.$strip>;
14
14
  declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
15
15
  data: z.ZodArray<z.ZodNumber>;
16
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  success: z.ZodNullable<z.ZodBoolean>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  values: {
21
+ [x: string]: unknown;
21
22
  Id: number;
22
23
  RefID: number;
23
24
  FieldId: number;
@@ -25,11 +26,7 @@ declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").Wor
25
26
  FieldValue: string;
26
27
  UpdatedDate?: string | undefined;
27
28
  }[];
28
- }, {
29
- data: number[];
30
- success: boolean | null;
31
- message?: string | undefined;
32
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
30
  //#endregion
34
31
  export { gagelistUpdateCustomFieldValues };
35
32
  //# sourceMappingURL=update-custom-field-values.d.mts.map
@@ -11,12 +11,12 @@ const gagelistUpdateCustomFieldValues = action("GAGELIST_UPDATE_CUSTOM_FIELD_VAL
11
11
  RefType: z.number().int().describe("Reference type (1 = Gage, 2 = Calibration)"),
12
12
  FieldValue: z.string().describe("Value to set for this custom field"),
13
13
  UpdatedDate: z.string().describe("ISO 8601 timestamp (ignored by server)").optional()
14
- }).describe("A single custom field value record to update or create.")).describe("List of custom field value objects to update or create") }).describe("Request model for updating custom field values."),
14
+ }).passthrough().describe("A single custom field value record to update or create.")).describe("List of custom field value objects to update or create") }).describe("Request model for updating custom field values."),
15
15
  output: z.object({
16
16
  data: z.array(z.number().int()).describe("List of IDs for the created or updated custom field value records"),
17
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Optional message from the API").optional()),
17
+ message: z.string().describe("Optional message from the API").nullable().optional(),
18
18
  success: z.boolean().describe("Indicates whether the update operation succeeded").nullable()
19
- }).describe("Response model for the update custom field values action.")
19
+ }).passthrough().describe("Response model for the update custom field values action.")
20
20
  });
21
21
  //#endregion
22
22
  export { gagelistUpdateCustomFieldValues };
@@ -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}).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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Optional message from the API\").optional()),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded\").nullable(),\n}).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,SAAS,yDAAyD,CAAC,CAAC,CAAC,SAAS,wDAAwD,EACzI,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,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC;EACtI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
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"}
@@ -13,7 +13,7 @@ const GagelistUpdateManufacturerOutput = zod.z.object({
13
13
  data: zod.z.number().int().describe("API-specific return code or ID of the updated manufacturer").nullable(),
14
14
  message: zod.z.string().describe("Informational message from the API").nullable(),
15
15
  success: zod.z.boolean().describe("Indicates whether the update succeeded").nullable()
16
- }).describe("Response model for update manufacturer action.");
16
+ }).passthrough().describe("Response model for update manufacturer action.");
17
17
  const gagelistUpdateManufacturer = require_action.action("GAGELIST_UPDATE_MANUFACTURER", {
18
18
  slug: "gagelist-update-manufacturer",
19
19
  name: "Update Manufacturer",
@@ -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}).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,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"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"}
@@ -13,7 +13,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Id: number;
19
19
  Fax?: string | undefined;
@@ -21,11 +21,7 @@ declare const gagelistUpdateManufacturer: import("@keystrokehq/action").Workflow
21
21
  Phone?: string | undefined;
22
22
  Address?: string | undefined;
23
23
  Website?: string | undefined;
24
- }, {
25
- data: number | null;
26
- message: string | null;
27
- success: boolean | null;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { gagelistUpdateManufacturer };
31
27
  //# sourceMappingURL=update-manufacturer.d.cts.map
@@ -13,7 +13,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Id: number;
19
19
  Fax?: string | undefined;
@@ -21,11 +21,7 @@ declare const gagelistUpdateManufacturer: import("@keystrokehq/action").Workflow
21
21
  Phone?: string | undefined;
22
22
  Address?: string | undefined;
23
23
  Website?: string | undefined;
24
- }, {
25
- data: number | null;
26
- message: string | null;
27
- success: boolean | null;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { gagelistUpdateManufacturer };
31
27
  //# sourceMappingURL=update-manufacturer.d.mts.map
@@ -16,7 +16,7 @@ const gagelistUpdateManufacturer = action("GAGELIST_UPDATE_MANUFACTURER", {
16
16
  data: z.number().int().describe("API-specific return code or ID of the updated manufacturer").nullable(),
17
17
  message: z.string().describe("Informational message from the API").nullable(),
18
18
  success: z.boolean().describe("Indicates whether the update succeeded").nullable()
19
- }).describe("Response model for update manufacturer action.")
19
+ }).passthrough().describe("Response model for update manufacturer action.")
20
20
  });
21
21
  //#endregion
22
22
  export { gagelistUpdateManufacturer };
@@ -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}).describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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"}
@@ -11,9 +11,9 @@ const GagelistUploadAttachmentToGageRecordInput = zod.z.object({
11
11
  }).describe("Request model for uploading an attachment to a gage record.");
12
12
  const GagelistUploadAttachmentToGageRecordOutput = zod.z.object({
13
13
  data: zod.z.number().int().describe("Identifier of the uploaded attachment").nullable(),
14
- message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Informational message returned by the API").optional()),
14
+ message: zod.z.string().describe("Informational message returned by the API").nullable().optional(),
15
15
  success: zod.z.boolean().describe("Flag indicating if the upload was successful").nullable()
16
- }).describe("Response model after uploading an attachment to a gage record.");
16
+ }).passthrough().describe("Response model after uploading an attachment to a gage record.");
17
17
  const gagelistUploadAttachmentToGageRecord = require_action.action("GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD", {
18
18
  slug: "gagelist-upload-attachment-to-gage-record",
19
19
  name: "Upload Attachment To Gage Record",
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = 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.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message returned by the API\").optional()),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAClJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"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"}
@@ -11,9 +11,9 @@ declare const GagelistUploadAttachmentToGageRecordInput: z.ZodObject<{
11
11
  }, z.core.$strip>;
12
12
  declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
19
19
  file: {
@@ -21,11 +21,7 @@ declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action"
21
21
  s3key: string;
22
22
  mimetype: string;
23
23
  };
24
- }, {
25
- data: number | null;
26
- success: boolean | null;
27
- message?: string | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { gagelistUploadAttachmentToGageRecord };
31
27
  //# sourceMappingURL=upload-attachment-to-gage-record.d.cts.map
@@ -11,9 +11,9 @@ declare const GagelistUploadAttachmentToGageRecordInput: z.ZodObject<{
11
11
  }, z.core.$strip>;
12
12
  declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
19
19
  file: {
@@ -21,11 +21,7 @@ declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action"
21
21
  s3key: string;
22
22
  mimetype: string;
23
23
  };
24
- }, {
25
- data: number | null;
26
- success: boolean | null;
27
- message?: string | undefined;
28
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
25
  //#endregion
30
26
  export { gagelistUploadAttachmentToGageRecord };
31
27
  //# sourceMappingURL=upload-attachment-to-gage-record.d.mts.map
@@ -14,9 +14,9 @@ const gagelistUploadAttachmentToGageRecord = action("GAGELIST_UPLOAD_ATTACHMENT_
14
14
  }).describe("Request model for uploading an attachment to a gage record."),
15
15
  output: z.object({
16
16
  data: z.number().int().describe("Identifier of the uploaded attachment").nullable(),
17
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Informational message returned by the API").optional()),
17
+ message: z.string().describe("Informational message returned by the API").nullable().optional(),
18
18
  success: z.boolean().describe("Flag indicating if the upload was successful").nullable()
19
- }).describe("Response model after uploading an attachment to a gage record.")
19
+ }).passthrough().describe("Response model after uploading an attachment to a gage record.")
20
20
  });
21
21
  //#endregion
22
22
  export { gagelistUploadAttachmentToGageRecord };
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message returned by the API\").optional()),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;EAClJ,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gagelist",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"