@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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-calibration-record.cjs +2 -2
- package/dist/actions/add-calibration-record.cjs.map +1 -1
- package/dist/actions/add-calibration-record.d.cts +3 -7
- package/dist/actions/add-calibration-record.d.mts +3 -7
- package/dist/actions/add-calibration-record.mjs +2 -2
- package/dist/actions/add-calibration-record.mjs.map +1 -1
- package/dist/actions/add-gage-record.cjs +1 -1
- package/dist/actions/add-gage-record.cjs.map +1 -1
- package/dist/actions/add-gage-record.d.cts +2 -6
- package/dist/actions/add-gage-record.d.mts +2 -6
- package/dist/actions/add-gage-record.mjs +1 -1
- package/dist/actions/add-gage-record.mjs.map +1 -1
- package/dist/actions/add-manufacturer.cjs +2 -2
- package/dist/actions/add-manufacturer.cjs.map +1 -1
- package/dist/actions/add-manufacturer.d.cts +3 -7
- package/dist/actions/add-manufacturer.d.mts +3 -7
- package/dist/actions/add-manufacturer.mjs +2 -2
- package/dist/actions/add-manufacturer.mjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.cjs +1 -1
- package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.cts +2 -12
- package/dist/actions/authenticate-with-gagelist.d.mts +2 -12
- package/dist/actions/authenticate-with-gagelist.mjs +1 -1
- package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
- package/dist/actions/delete-calibration-record.d.cts +1 -5
- package/dist/actions/delete-calibration-record.d.mts +1 -5
- package/dist/actions/delete-gage-record.d.cts +1 -5
- package/dist/actions/delete-gage-record.d.mts +1 -5
- package/dist/actions/delete-manufacturer.d.cts +1 -5
- package/dist/actions/delete-manufacturer.d.mts +1 -5
- package/dist/actions/generate-calibration-certificate.d.cts +1 -7
- package/dist/actions/generate-calibration-certificate.d.mts +1 -7
- package/dist/actions/get-account-settings.cjs +1 -1
- package/dist/actions/get-account-settings.cjs.map +1 -1
- package/dist/actions/get-account-settings.d.cts +2 -38
- package/dist/actions/get-account-settings.d.cts.map +1 -1
- package/dist/actions/get-account-settings.d.mts +2 -38
- package/dist/actions/get-account-settings.d.mts.map +1 -1
- package/dist/actions/get-account-settings.mjs +1 -1
- package/dist/actions/get-account-settings.mjs.map +1 -1
- package/dist/actions/get-account-status.cjs +6 -6
- package/dist/actions/get-account-status.cjs.map +1 -1
- package/dist/actions/get-account-status.d.cts +8 -79
- package/dist/actions/get-account-status.d.cts.map +1 -1
- package/dist/actions/get-account-status.d.mts +8 -79
- package/dist/actions/get-account-status.d.mts.map +1 -1
- package/dist/actions/get-account-status.mjs +6 -6
- package/dist/actions/get-account-status.mjs.map +1 -1
- package/dist/actions/get-all-calibration-records.cjs +69 -69
- package/dist/actions/get-all-calibration-records.cjs.map +1 -1
- package/dist/actions/get-all-calibration-records.d.cts +70 -141
- package/dist/actions/get-all-calibration-records.d.mts +70 -141
- package/dist/actions/get-all-calibration-records.mjs +69 -69
- package/dist/actions/get-all-calibration-records.mjs.map +1 -1
- package/dist/actions/get-all-gage-records.cjs +48 -48
- package/dist/actions/get-all-gage-records.cjs.map +1 -1
- package/dist/actions/get-all-gage-records.d.cts +49 -99
- package/dist/actions/get-all-gage-records.d.mts +49 -99
- package/dist/actions/get-all-gage-records.mjs +48 -48
- package/dist/actions/get-all-gage-records.mjs.map +1 -1
- package/dist/actions/get-all-manufacturers.cjs +1 -1
- package/dist/actions/get-all-manufacturers.cjs.map +1 -1
- package/dist/actions/get-all-manufacturers.d.cts +2 -17
- package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
- package/dist/actions/get-all-manufacturers.d.mts +2 -17
- package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
- package/dist/actions/get-all-manufacturers.mjs +1 -1
- package/dist/actions/get-all-manufacturers.mjs.map +1 -1
- package/dist/actions/get-attachment.d.cts +1 -7
- package/dist/actions/get-attachment.d.mts +1 -7
- package/dist/actions/get-custom-fields.cjs +1 -1
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +2 -26
- package/dist/actions/get-custom-fields.d.cts.map +1 -1
- package/dist/actions/get-custom-fields.d.mts +2 -26
- package/dist/actions/get-custom-fields.d.mts.map +1 -1
- package/dist/actions/get-custom-fields.mjs +1 -1
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-single-calibration-record.cjs +3 -3
- package/dist/actions/get-single-calibration-record.cjs.map +1 -1
- package/dist/actions/get-single-calibration-record.d.cts +4 -98
- package/dist/actions/get-single-calibration-record.d.mts +4 -98
- package/dist/actions/get-single-calibration-record.mjs +3 -3
- package/dist/actions/get-single-calibration-record.mjs.map +1 -1
- package/dist/actions/get-single-gage-record.cjs +52 -52
- package/dist/actions/get-single-gage-record.cjs.map +1 -1
- package/dist/actions/get-single-gage-record.d.cts +53 -111
- package/dist/actions/get-single-gage-record.d.mts +53 -111
- package/dist/actions/get-single-gage-record.mjs +52 -52
- package/dist/actions/get-single-gage-record.mjs.map +1 -1
- package/dist/actions/update-account-settings.d.cts +1 -4
- package/dist/actions/update-account-settings.d.mts +1 -4
- package/dist/actions/update-custom-field-values.cjs +1 -1
- package/dist/actions/update-custom-field-values.cjs.map +1 -1
- package/dist/actions/update-custom-field-values.d.cts +2 -6
- package/dist/actions/update-custom-field-values.d.mts +2 -6
- package/dist/actions/update-custom-field-values.mjs +1 -1
- package/dist/actions/update-custom-field-values.mjs.map +1 -1
- package/dist/actions/update-manufacturer.d.cts +1 -5
- package/dist/actions/update-manufacturer.d.mts +1 -5
- package/dist/actions/upload-attachment-to-gage-record.cjs +1 -1
- package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.cts +2 -6
- package/dist/actions/upload-attachment-to-gage-record.d.mts +2 -6
- package/dist/actions/upload-attachment-to-gage-record.mjs +1 -1
- package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-gage-record.mjs","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema = z.object({\n Id: z.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,mCAAmC,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qMAAqM,EACrO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC;CAC/H,UAAU,EAAE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AC;AAOD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,mDAAmD,SAAS,CAAC;EACjI,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;EAC9I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-single-gage-record.mjs","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleGageRecordInput = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema = z.object({\n Id: z.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n});\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_GAG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AE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC;AAOD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,CAOU;AACV,CAAC"}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -11,7 +11,7 @@ const GagelistUpdateCustomFieldValuesInput = zod.z.object({ values: zod.z.array(
|
|
|
11
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.");
|
|
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.
|
|
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
16
|
}).describe("Response model for the update custom field values action.");
|
|
17
17
|
const gagelistUpdateCustomFieldValues = require_action.action("GAGELIST_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.
|
|
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.string().describe(\"Optional message from the API\").nullable().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,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,SAAS,2DAA2D;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const GagelistUpdateCustomFieldValuesInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
|
|
15
15
|
data: z.ZodArray<z.ZodNumber>;
|
|
16
|
-
message: z.
|
|
16
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -25,11 +25,7 @@ declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").Wor
|
|
|
25
25
|
FieldValue: string;
|
|
26
26
|
UpdatedDate?: string | undefined;
|
|
27
27
|
}[];
|
|
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]>;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { gagelistUpdateCustomFieldValues };
|
|
35
31
|
//# sourceMappingURL=update-custom-field-values.d.cts.map
|
|
@@ -13,7 +13,7 @@ declare const GagelistUpdateCustomFieldValuesInput: z.ZodObject<{
|
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
declare const GagelistUpdateCustomFieldValuesOutput: z.ZodObject<{
|
|
15
15
|
data: z.ZodArray<z.ZodNumber>;
|
|
16
|
-
message: z.
|
|
16
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -25,11 +25,7 @@ declare const gagelistUpdateCustomFieldValues: import("@keystrokehq/action").Wor
|
|
|
25
25
|
FieldValue: string;
|
|
26
26
|
UpdatedDate?: string | undefined;
|
|
27
27
|
}[];
|
|
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]>;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { gagelistUpdateCustomFieldValues };
|
|
35
31
|
//# sourceMappingURL=update-custom-field-values.d.mts.map
|
|
@@ -14,7 +14,7 @@ const gagelistUpdateCustomFieldValues = action("GAGELIST_UPDATE_CUSTOM_FIELD_VAL
|
|
|
14
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."),
|
|
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.
|
|
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
19
|
}).describe("Response model for the update custom field values action.")
|
|
20
20
|
});
|
|
@@ -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.
|
|
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.string().describe(\"Optional message from the API\").nullable().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,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,SAAS,2DAOF;AACV,CAAC"}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -11,7 +11,7 @@ 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.
|
|
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
16
|
}).describe("Response model after uploading an attachment to a gage record.");
|
|
17
17
|
const gagelistUploadAttachmentToGageRecord = require_action.action("GAGELIST_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.
|
|
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}).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,SAAS,gEAAgE;AAE5E,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ 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.
|
|
14
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -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,7 +11,7 @@ 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.
|
|
14
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -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,7 +14,7 @@ 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.
|
|
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
19
|
}).describe("Response model after uploading an attachment to a gage record.")
|
|
20
20
|
});
|
|
@@ -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.
|
|
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}).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,SAAS,gEAOF;AACV,CAAC"}
|