@keystrokehq/gagelist 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) 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 +2 -2
  4. package/dist/actions/add-calibration-record.cjs.map +1 -1
  5. package/dist/actions/add-calibration-record.d.cts +3 -7
  6. package/dist/actions/add-calibration-record.d.mts +3 -7
  7. package/dist/actions/add-calibration-record.mjs +2 -2
  8. package/dist/actions/add-calibration-record.mjs.map +1 -1
  9. package/dist/actions/add-gage-record.cjs +1 -1
  10. package/dist/actions/add-gage-record.cjs.map +1 -1
  11. package/dist/actions/add-gage-record.d.cts +2 -6
  12. package/dist/actions/add-gage-record.d.mts +2 -6
  13. package/dist/actions/add-gage-record.mjs +1 -1
  14. package/dist/actions/add-gage-record.mjs.map +1 -1
  15. package/dist/actions/add-manufacturer.cjs +2 -2
  16. package/dist/actions/add-manufacturer.cjs.map +1 -1
  17. package/dist/actions/add-manufacturer.d.cts +3 -7
  18. package/dist/actions/add-manufacturer.d.mts +3 -7
  19. package/dist/actions/add-manufacturer.mjs +2 -2
  20. package/dist/actions/add-manufacturer.mjs.map +1 -1
  21. package/dist/actions/authenticate-with-gagelist.cjs +1 -1
  22. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  23. package/dist/actions/authenticate-with-gagelist.d.cts +2 -12
  24. package/dist/actions/authenticate-with-gagelist.d.mts +2 -12
  25. package/dist/actions/authenticate-with-gagelist.mjs +1 -1
  26. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  27. package/dist/actions/delete-calibration-record.d.cts +1 -5
  28. package/dist/actions/delete-calibration-record.d.mts +1 -5
  29. package/dist/actions/delete-gage-record.d.cts +1 -5
  30. package/dist/actions/delete-gage-record.d.mts +1 -5
  31. package/dist/actions/delete-manufacturer.d.cts +1 -5
  32. package/dist/actions/delete-manufacturer.d.mts +1 -5
  33. package/dist/actions/generate-calibration-certificate.d.cts +1 -7
  34. package/dist/actions/generate-calibration-certificate.d.mts +1 -7
  35. package/dist/actions/get-account-settings.cjs +1 -1
  36. package/dist/actions/get-account-settings.cjs.map +1 -1
  37. package/dist/actions/get-account-settings.d.cts +2 -38
  38. package/dist/actions/get-account-settings.d.cts.map +1 -1
  39. package/dist/actions/get-account-settings.d.mts +2 -38
  40. package/dist/actions/get-account-settings.d.mts.map +1 -1
  41. package/dist/actions/get-account-settings.mjs +1 -1
  42. package/dist/actions/get-account-settings.mjs.map +1 -1
  43. package/dist/actions/get-account-status.cjs +6 -6
  44. package/dist/actions/get-account-status.cjs.map +1 -1
  45. package/dist/actions/get-account-status.d.cts +8 -79
  46. package/dist/actions/get-account-status.d.cts.map +1 -1
  47. package/dist/actions/get-account-status.d.mts +8 -79
  48. package/dist/actions/get-account-status.d.mts.map +1 -1
  49. package/dist/actions/get-account-status.mjs +6 -6
  50. package/dist/actions/get-account-status.mjs.map +1 -1
  51. package/dist/actions/get-all-calibration-records.cjs +69 -69
  52. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  53. package/dist/actions/get-all-calibration-records.d.cts +70 -141
  54. package/dist/actions/get-all-calibration-records.d.mts +70 -141
  55. package/dist/actions/get-all-calibration-records.mjs +69 -69
  56. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  57. package/dist/actions/get-all-gage-records.cjs +48 -48
  58. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  59. package/dist/actions/get-all-gage-records.d.cts +49 -99
  60. package/dist/actions/get-all-gage-records.d.mts +49 -99
  61. package/dist/actions/get-all-gage-records.mjs +48 -48
  62. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  63. package/dist/actions/get-all-manufacturers.cjs +1 -1
  64. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  65. package/dist/actions/get-all-manufacturers.d.cts +2 -17
  66. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  67. package/dist/actions/get-all-manufacturers.d.mts +2 -17
  68. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  69. package/dist/actions/get-all-manufacturers.mjs +1 -1
  70. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  71. package/dist/actions/get-attachment.d.cts +1 -7
  72. package/dist/actions/get-attachment.d.mts +1 -7
  73. package/dist/actions/get-custom-fields.cjs +1 -1
  74. package/dist/actions/get-custom-fields.cjs.map +1 -1
  75. package/dist/actions/get-custom-fields.d.cts +2 -26
  76. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  77. package/dist/actions/get-custom-fields.d.mts +2 -26
  78. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  79. package/dist/actions/get-custom-fields.mjs +1 -1
  80. package/dist/actions/get-custom-fields.mjs.map +1 -1
  81. package/dist/actions/get-single-calibration-record.cjs +3 -3
  82. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  83. package/dist/actions/get-single-calibration-record.d.cts +4 -98
  84. package/dist/actions/get-single-calibration-record.d.mts +4 -98
  85. package/dist/actions/get-single-calibration-record.mjs +3 -3
  86. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  87. package/dist/actions/get-single-gage-record.cjs +52 -52
  88. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  89. package/dist/actions/get-single-gage-record.d.cts +53 -111
  90. package/dist/actions/get-single-gage-record.d.mts +53 -111
  91. package/dist/actions/get-single-gage-record.mjs +52 -52
  92. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  93. package/dist/actions/update-account-settings.d.cts +1 -4
  94. package/dist/actions/update-account-settings.d.mts +1 -4
  95. package/dist/actions/update-custom-field-values.cjs +1 -1
  96. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  97. package/dist/actions/update-custom-field-values.d.cts +2 -6
  98. package/dist/actions/update-custom-field-values.d.mts +2 -6
  99. package/dist/actions/update-custom-field-values.mjs +1 -1
  100. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  101. package/dist/actions/update-manufacturer.d.cts +1 -5
  102. package/dist/actions/update-manufacturer.d.mts +1 -5
  103. package/dist/actions/upload-attachment-to-gage-record.cjs +1 -1
  104. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  105. package/dist/actions/upload-attachment-to-gage-record.d.cts +2 -6
  106. package/dist/actions/upload-attachment-to-gage-record.d.mts +2 -6
  107. package/dist/actions/upload-attachment-to-gage-record.mjs +1 -1
  108. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  109. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-single-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput = z.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.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Attachment identifier\").optional()),\n FileName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the attached file\").optional()),\n FileSize: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Size of the file in bytes\").optional()),\n FileType: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").optional()),\n RecordId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"ID of the record this attachment is linked to\").optional()),\n RecordType: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").optional()),\n});\nconst GagelistGetSingleGageRecord_TestTemplateSchema = z.object({\n Id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Test template identifier\").optional()),\n Parameter: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parameter under test\").optional()),\n TestNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Number of the test\").optional()),\n RefStandardID: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Reference standard identifier\").optional()),\n EquipmentRefId: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Reference ID of the associated equipment\").optional()),\n ExpectedResult: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Expected result of the test\").optional()),\n});\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({\n Id: z.number().int().describe(\"Gage record ID\").nullable(),\n Area: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Area or department using the gage\").optional()),\n Days: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Days component of the interval\").optional()),\n Type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").optional()),\n Model: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Model number of the gage\").optional()),\n Years: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Years component of the interval\").optional()),\n Months: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Months component of the interval\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").optional()),\n AssetNo: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Asset number assigned to the gage\").optional()),\n Website: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Manufacturer website URL\").optional()),\n Interval: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Calibration interval description\").optional()),\n Location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current storage or usage location\").optional()),\n CreatedBy: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User who created the record\").optional()),\n IsDeleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Flag indicating if the record is deleted\").optional()),\n Tolerance: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Tolerance specification\").optional()),\n UpdatedBy: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User who last updated the record\").optional()),\n NISTNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"NIST traceability number\").optional()),\n Attachments: z.preprocess((value) => (value === null ? undefined : value), z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").optional()),\n DateAquired: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 datetime when acquired\").optional()),\n RangeOrSize: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Range or size specification\").optional()),\n UpdatedDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 datetime of last update\").optional()),\n Manufacturer: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Manufacturer of the gage\").optional()),\n SerialNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Serial number of the gage\").optional()),\n ControlNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Control number of the gage\").optional()),\n PurchasePrice: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Purchase price of the gage\").optional()),\n TestTemplates: z.preprocess((value) => (value === null ? undefined : value), z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").optional()),\n UnitOfMeasure: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").optional()),\n MasterStandard: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Master standard used in calibration\").optional()),\n SourceOrVendor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Vendor or source from which acquired\").optional()),\n ResponsibleUser: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User responsible for the gage\").optional()),\n ConditionAquired: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Condition at acquisition\").optional()),\n NotificationList: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Comma-separated list of users to notify\").optional()),\n OtherInformation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Additional information\").optional()),\n TypesMeasurement: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Measurement types supported\").optional()),\n CalibrationDueDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 datetime when calibration is due\").optional()),\n CalibrationTestMode: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Test mode used in calibration\").optional()),\n LastCalibrationDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 8601 datetime of last calibration\").optional()),\n CalibrationEnvironment: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Environment details for calibration\").optional()),\n CalibrationInstructions: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Instructions for calibration\").optional()),\n});\nexport const GagelistGetSingleGageRecordOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), GagelistGetSingleGageRecord_GageRecordDetailSchema.optional()),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"API response message or error details\").optional()),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n});\n\nexport const gagelistGetSingleGageRecord = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)\",\n input: GagelistGetSingleGageRecordInput,\n output: GagelistGetSingleGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,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A,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAC9I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-single-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput = z.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});\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});\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});\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});\n\nexport const gagelistGetSingleGageRecord = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)\",\n input: GagelistGetSingleGageRecordInput,\n output: GagelistGetSingleG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AAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,125 +5,67 @@ declare const GagelistGetSingleGageRecordInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const GagelistGetSingleGageRecordOutput: z.ZodObject<{
8
- data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
8
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  Id: z.ZodNullable<z.ZodNumber>;
10
- Area: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- Days: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- Type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- Model: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- Years: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- Months: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- AssetNo: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- Website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- Interval: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- Location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- CreatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- IsDeleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- Tolerance: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- UpdatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- NISTNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- Attachments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
27
- Id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
- FileName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- FileSize: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
30
- FileType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- RecordId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
32
- RecordType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ Area: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ Days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ Model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ Years: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ Months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ AssetNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ Website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ Interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ CreatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ IsDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ Tolerance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ UpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ NISTNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ Attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ FileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ FileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ FileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ RecordId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ RecordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  }, z.core.$strip>>>>;
34
- DateAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- RangeOrSize: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- UpdatedDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- Manufacturer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
- SerialNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
- ControlNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- PurchasePrice: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
41
- TestTemplates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
42
- Id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
43
- Parameter: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
44
- TestNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
45
- RefStandardID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- EquipmentRefId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
47
- ExpectedResult: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ DateAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ RangeOrSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ UpdatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ Manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ SerialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ ControlNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ PurchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ TestTemplates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ Parameter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ TestNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ RefStandardID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ EquipmentRefId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ ExpectedResult: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  }, z.core.$strip>>>>;
49
- UnitOfMeasure: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
- MasterStandard: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- SourceOrVendor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
- ResponsibleUser: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
53
- ConditionAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
54
- NotificationList: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
55
- OtherInformation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
56
- TypesMeasurement: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
57
- CalibrationDueDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
58
- CalibrationTestMode: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
59
- LastCalibrationDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
60
- CalibrationEnvironment: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
61
- CalibrationInstructions: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
+ UnitOfMeasure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ MasterStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ SourceOrVendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ ResponsibleUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ ConditionAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ NotificationList: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ OtherInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ TypesMeasurement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ CalibrationDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ CalibrationTestMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ LastCalibrationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ CalibrationEnvironment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ CalibrationInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  }, z.core.$strip>>>;
63
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
64
  success: z.ZodNullable<z.ZodBoolean>;
65
65
  }, z.core.$strip>;
66
66
  declare const gagelistGetSingleGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
67
67
  id: number;
68
- }, {
69
- success: boolean | null;
70
- data?: {
71
- Id: number | null;
72
- Area?: string | undefined;
73
- Days?: number | undefined;
74
- Type?: string | undefined;
75
- Model?: string | undefined;
76
- Years?: number | undefined;
77
- Months?: number | undefined;
78
- Status?: string | undefined;
79
- AssetNo?: string | undefined;
80
- Website?: string | undefined;
81
- Interval?: string | undefined;
82
- Location?: string | undefined;
83
- CreatedBy?: string | undefined;
84
- IsDeleted?: boolean | undefined;
85
- Tolerance?: string | undefined;
86
- UpdatedBy?: string | undefined;
87
- NISTNumber?: string | undefined;
88
- Attachments?: {
89
- Id?: number | undefined;
90
- FileName?: string | undefined;
91
- FileSize?: number | undefined;
92
- FileType?: string | undefined;
93
- RecordId?: number | undefined;
94
- RecordType?: string | undefined;
95
- }[] | undefined;
96
- DateAquired?: string | undefined;
97
- RangeOrSize?: string | undefined;
98
- UpdatedDate?: string | undefined;
99
- Manufacturer?: string | undefined;
100
- SerialNumber?: string | undefined;
101
- ControlNumber?: string | undefined;
102
- PurchasePrice?: number | undefined;
103
- TestTemplates?: {
104
- Id?: number | undefined;
105
- Parameter?: string | undefined;
106
- TestNumber?: string | undefined;
107
- RefStandardID?: string | undefined;
108
- EquipmentRefId?: number | undefined;
109
- ExpectedResult?: string | undefined;
110
- }[] | undefined;
111
- UnitOfMeasure?: string | undefined;
112
- MasterStandard?: string | undefined;
113
- SourceOrVendor?: string | undefined;
114
- ResponsibleUser?: string | undefined;
115
- ConditionAquired?: string | undefined;
116
- NotificationList?: string | undefined;
117
- OtherInformation?: string | undefined;
118
- TypesMeasurement?: string | undefined;
119
- CalibrationDueDate?: string | undefined;
120
- CalibrationTestMode?: string | undefined;
121
- LastCalibrationDate?: string | undefined;
122
- CalibrationEnvironment?: string | undefined;
123
- CalibrationInstructions?: string | undefined;
124
- } | undefined;
125
- message?: string | undefined;
126
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
127
69
  //#endregion
128
70
  export { gagelistGetSingleGageRecord };
129
71
  //# sourceMappingURL=get-single-gage-record.d.cts.map
@@ -5,125 +5,67 @@ declare const GagelistGetSingleGageRecordInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  }, z.core.$strip>;
7
7
  declare const GagelistGetSingleGageRecordOutput: z.ZodObject<{
8
- data: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
8
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  Id: z.ZodNullable<z.ZodNumber>;
10
- Area: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
11
- Days: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
12
- Type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
- Model: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- Years: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
15
- Months: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
- Status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- AssetNo: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- Website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- Interval: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
- Location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- CreatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- IsDeleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- Tolerance: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
- UpdatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
25
- NISTNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- Attachments: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
27
- Id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
- FileName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- FileSize: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
30
- FileType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- RecordId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
32
- RecordType: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
10
+ Area: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ Days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ Model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ Years: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ Months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ AssetNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ Website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ Interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ CreatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ IsDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ Tolerance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ UpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ NISTNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ Attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ FileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ FileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ FileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ RecordId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ RecordType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  }, z.core.$strip>>>>;
34
- DateAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- RangeOrSize: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
- UpdatedDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
- Manufacturer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
- SerialNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
- ControlNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- PurchasePrice: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
41
- TestTemplates: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
42
- Id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
43
- Parameter: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
44
- TestNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
45
- RefStandardID: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
- EquipmentRefId: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
47
- ExpectedResult: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ DateAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ RangeOrSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ UpdatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ Manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ SerialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ ControlNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ PurchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ TestTemplates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ Parameter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ TestNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ RefStandardID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ EquipmentRefId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ ExpectedResult: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  }, z.core.$strip>>>>;
49
- UnitOfMeasure: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
- MasterStandard: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- SourceOrVendor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
- ResponsibleUser: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
53
- ConditionAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
54
- NotificationList: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
55
- OtherInformation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
56
- TypesMeasurement: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
57
- CalibrationDueDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
58
- CalibrationTestMode: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
59
- LastCalibrationDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
60
- CalibrationEnvironment: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
61
- CalibrationInstructions: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
+ UnitOfMeasure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ MasterStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ SourceOrVendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ ResponsibleUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ ConditionAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ NotificationList: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ OtherInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ TypesMeasurement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ CalibrationDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ CalibrationTestMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ LastCalibrationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ CalibrationEnvironment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ CalibrationInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  }, z.core.$strip>>>;
63
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
64
  success: z.ZodNullable<z.ZodBoolean>;
65
65
  }, z.core.$strip>;
66
66
  declare const gagelistGetSingleGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
67
67
  id: number;
68
- }, {
69
- success: boolean | null;
70
- data?: {
71
- Id: number | null;
72
- Area?: string | undefined;
73
- Days?: number | undefined;
74
- Type?: string | undefined;
75
- Model?: string | undefined;
76
- Years?: number | undefined;
77
- Months?: number | undefined;
78
- Status?: string | undefined;
79
- AssetNo?: string | undefined;
80
- Website?: string | undefined;
81
- Interval?: string | undefined;
82
- Location?: string | undefined;
83
- CreatedBy?: string | undefined;
84
- IsDeleted?: boolean | undefined;
85
- Tolerance?: string | undefined;
86
- UpdatedBy?: string | undefined;
87
- NISTNumber?: string | undefined;
88
- Attachments?: {
89
- Id?: number | undefined;
90
- FileName?: string | undefined;
91
- FileSize?: number | undefined;
92
- FileType?: string | undefined;
93
- RecordId?: number | undefined;
94
- RecordType?: string | undefined;
95
- }[] | undefined;
96
- DateAquired?: string | undefined;
97
- RangeOrSize?: string | undefined;
98
- UpdatedDate?: string | undefined;
99
- Manufacturer?: string | undefined;
100
- SerialNumber?: string | undefined;
101
- ControlNumber?: string | undefined;
102
- PurchasePrice?: number | undefined;
103
- TestTemplates?: {
104
- Id?: number | undefined;
105
- Parameter?: string | undefined;
106
- TestNumber?: string | undefined;
107
- RefStandardID?: string | undefined;
108
- EquipmentRefId?: number | undefined;
109
- ExpectedResult?: string | undefined;
110
- }[] | undefined;
111
- UnitOfMeasure?: string | undefined;
112
- MasterStandard?: string | undefined;
113
- SourceOrVendor?: string | undefined;
114
- ResponsibleUser?: string | undefined;
115
- ConditionAquired?: string | undefined;
116
- NotificationList?: string | undefined;
117
- OtherInformation?: string | undefined;
118
- TypesMeasurement?: string | undefined;
119
- CalibrationDueDate?: string | undefined;
120
- CalibrationTestMode?: string | undefined;
121
- LastCalibrationDate?: string | undefined;
122
- CalibrationEnvironment?: string | undefined;
123
- CalibrationInstructions?: string | undefined;
124
- } | undefined;
125
- message?: string | undefined;
126
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
127
69
  //#endregion
128
70
  export { gagelistGetSingleGageRecord };
129
71
  //# sourceMappingURL=get-single-gage-record.d.mts.map
@@ -3,61 +3,61 @@ import { z } from "zod";
3
3
  //#region src/actions/get-single-gage-record.ts
4
4
  const GagelistGetSingleGageRecordInput = z.object({ 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.") }).describe("Request parameters for retrieving a single gage record by its ID.");
5
5
  const GagelistGetSingleGageRecord_AttachmentSchema = z.object({
6
- Id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Attachment identifier").optional()),
7
- FileName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the attached file").optional()),
8
- FileSize: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Size of the file in bytes").optional()),
9
- FileType: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("MIME type of the file (e.g., 'application/pdf', 'image/jpeg')").optional()),
10
- RecordId: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("ID of the record this attachment is linked to").optional()),
11
- RecordType: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of record (e.g., 'Gage', 'Calibration')").optional())
6
+ Id: z.number().int().describe("Attachment identifier").nullable().optional(),
7
+ FileName: z.string().describe("Name of the attached file").nullable().optional(),
8
+ FileSize: z.number().int().describe("Size of the file in bytes").nullable().optional(),
9
+ FileType: z.string().describe("MIME type of the file (e.g., 'application/pdf', 'image/jpeg')").nullable().optional(),
10
+ RecordId: z.number().int().describe("ID of the record this attachment is linked to").nullable().optional(),
11
+ RecordType: z.string().describe("Type of record (e.g., 'Gage', 'Calibration')").nullable().optional()
12
12
  });
13
13
  const GagelistGetSingleGageRecord_TestTemplateSchema = z.object({
14
- Id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Test template identifier").optional()),
15
- Parameter: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Parameter under test").optional()),
16
- TestNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Number of the test").optional()),
17
- RefStandardID: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Reference standard identifier").optional()),
18
- EquipmentRefId: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Reference ID of the associated equipment").optional()),
19
- ExpectedResult: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Expected result of the test").optional())
14
+ Id: z.number().int().describe("Test template identifier").nullable().optional(),
15
+ Parameter: z.string().describe("Parameter under test").nullable().optional(),
16
+ TestNumber: z.string().describe("Number of the test").nullable().optional(),
17
+ RefStandardID: z.string().describe("Reference standard identifier").nullable().optional(),
18
+ EquipmentRefId: z.number().int().describe("Reference ID of the associated equipment").nullable().optional(),
19
+ ExpectedResult: z.string().describe("Expected result of the test").nullable().optional()
20
20
  });
21
21
  const GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({
22
22
  Id: z.number().int().describe("Gage record ID").nullable(),
23
- Area: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Area or department using the gage").optional()),
24
- Days: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Days component of the interval").optional()),
25
- Type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')").optional()),
26
- Model: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Model number of the gage").optional()),
27
- Years: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Years component of the interval").optional()),
28
- Months: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Months component of the interval").optional()),
29
- Status: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')").optional()),
30
- AssetNo: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Asset number assigned to the gage").optional()),
31
- Website: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Manufacturer website URL").optional()),
32
- Interval: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Calibration interval description").optional()),
33
- Location: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current storage or usage location").optional()),
34
- CreatedBy: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User who created the record").optional()),
35
- IsDeleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Flag indicating if the record is deleted").optional()),
36
- Tolerance: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Tolerance specification").optional()),
37
- UpdatedBy: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User who last updated the record").optional()),
38
- NISTNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("NIST traceability number").optional()),
39
- Attachments: z.preprocess((value) => value === null ? void 0 : value, z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe("List of associated attachments").optional()),
40
- DateAquired: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 datetime when acquired").optional()),
41
- RangeOrSize: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Range or size specification").optional()),
42
- UpdatedDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 datetime of last update").optional()),
43
- Manufacturer: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Manufacturer of the gage").optional()),
44
- SerialNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Serial number of the gage").optional()),
45
- ControlNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Control number of the gage").optional()),
46
- PurchasePrice: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Purchase price of the gage").optional()),
47
- TestTemplates: z.preprocess((value) => value === null ? void 0 : value, z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe("List of associated test templates").optional()),
48
- UnitOfMeasure: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unit of measure used (e.g., 'inches', 'millimeters')").optional()),
49
- MasterStandard: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Master standard used in calibration").optional()),
50
- SourceOrVendor: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Vendor or source from which acquired").optional()),
51
- ResponsibleUser: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User responsible for the gage").optional()),
52
- ConditionAquired: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Condition at acquisition").optional()),
53
- NotificationList: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Comma-separated list of users to notify").optional()),
54
- OtherInformation: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Additional information").optional()),
55
- TypesMeasurement: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Measurement types supported").optional()),
56
- CalibrationDueDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 datetime when calibration is due").optional()),
57
- CalibrationTestMode: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Test mode used in calibration").optional()),
58
- LastCalibrationDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 8601 datetime of last calibration").optional()),
59
- CalibrationEnvironment: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Environment details for calibration").optional()),
60
- CalibrationInstructions: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Instructions for calibration").optional())
23
+ Area: z.string().describe("Area or department using the gage").nullable().optional(),
24
+ Days: z.number().int().describe("Days component of the interval").nullable().optional(),
25
+ Type: z.string().describe("Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')").nullable().optional(),
26
+ Model: z.string().describe("Model number of the gage").nullable().optional(),
27
+ Years: z.number().int().describe("Years component of the interval").nullable().optional(),
28
+ Months: z.number().int().describe("Months component of the interval").nullable().optional(),
29
+ Status: z.string().describe("Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')").nullable().optional(),
30
+ AssetNo: z.string().describe("Asset number assigned to the gage").nullable().optional(),
31
+ Website: z.string().describe("Manufacturer website URL").nullable().optional(),
32
+ Interval: z.string().describe("Calibration interval description").nullable().optional(),
33
+ Location: z.string().describe("Current storage or usage location").nullable().optional(),
34
+ CreatedBy: z.string().describe("User who created the record").nullable().optional(),
35
+ IsDeleted: z.boolean().describe("Flag indicating if the record is deleted").nullable().optional(),
36
+ Tolerance: z.string().describe("Tolerance specification").nullable().optional(),
37
+ UpdatedBy: z.string().describe("User who last updated the record").nullable().optional(),
38
+ NISTNumber: z.string().describe("NIST traceability number").nullable().optional(),
39
+ Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe("List of associated attachments").nullable().optional(),
40
+ DateAquired: z.string().describe("ISO 8601 datetime when acquired").nullable().optional(),
41
+ RangeOrSize: z.string().describe("Range or size specification").nullable().optional(),
42
+ UpdatedDate: z.string().describe("ISO 8601 datetime of last update").nullable().optional(),
43
+ Manufacturer: z.string().describe("Manufacturer of the gage").nullable().optional(),
44
+ SerialNumber: z.string().describe("Serial number of the gage").nullable().optional(),
45
+ ControlNumber: z.string().describe("Control number of the gage").nullable().optional(),
46
+ PurchasePrice: z.number().describe("Purchase price of the gage").nullable().optional(),
47
+ TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe("List of associated test templates").nullable().optional(),
48
+ UnitOfMeasure: z.string().describe("Unit of measure used (e.g., 'inches', 'millimeters')").nullable().optional(),
49
+ MasterStandard: z.string().describe("Master standard used in calibration").nullable().optional(),
50
+ SourceOrVendor: z.string().describe("Vendor or source from which acquired").nullable().optional(),
51
+ ResponsibleUser: z.string().describe("User responsible for the gage").nullable().optional(),
52
+ ConditionAquired: z.string().describe("Condition at acquisition").nullable().optional(),
53
+ NotificationList: z.string().describe("Comma-separated list of users to notify").nullable().optional(),
54
+ OtherInformation: z.string().describe("Additional information").nullable().optional(),
55
+ TypesMeasurement: z.string().describe("Measurement types supported").nullable().optional(),
56
+ CalibrationDueDate: z.string().describe("ISO 8601 datetime when calibration is due").nullable().optional(),
57
+ CalibrationTestMode: z.string().describe("Test mode used in calibration").nullable().optional(),
58
+ LastCalibrationDate: z.string().describe("ISO 8601 datetime of last calibration").nullable().optional(),
59
+ CalibrationEnvironment: z.string().describe("Environment details for calibration").nullable().optional(),
60
+ CalibrationInstructions: z.string().describe("Instructions for calibration").nullable().optional()
61
61
  });
62
62
  const gagelistGetSingleGageRecord = action("GAGELIST_GET_SINGLE_GAGE_RECORD", {
63
63
  slug: "gagelist-get-single-gage-record",
@@ -65,8 +65,8 @@ const gagelistGetSingleGageRecord = action("GAGELIST_GET_SINGLE_GAGE_RECORD", {
65
65
  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)",
66
66
  input: GagelistGetSingleGageRecordInput,
67
67
  output: z.object({
68
- data: z.preprocess((value) => value === null ? void 0 : value, GagelistGetSingleGageRecord_GageRecordDetailSchema.optional()),
69
- message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("API response message or error details").optional()),
68
+ data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),
69
+ message: z.string().describe("API response message or error details").nullable().optional(),
70
70
  success: z.boolean().describe("Indicates if the request was successful").nullable()
71
71
  })
72
72
  });