@keystrokehq/gagelist 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-calibration-record.cjs +1 -0
- package/dist/actions/add-calibration-record.cjs.map +1 -1
- package/dist/actions/add-calibration-record.d.cts +3 -104
- package/dist/actions/add-calibration-record.d.cts.map +1 -1
- package/dist/actions/add-calibration-record.d.mts +3 -104
- package/dist/actions/add-calibration-record.d.mts.map +1 -1
- package/dist/actions/add-calibration-record.mjs +1 -0
- package/dist/actions/add-calibration-record.mjs.map +1 -1
- package/dist/actions/add-gage-record.cjs +1 -0
- package/dist/actions/add-gage-record.cjs.map +1 -1
- package/dist/actions/add-gage-record.d.cts +3 -69
- package/dist/actions/add-gage-record.d.cts.map +1 -1
- package/dist/actions/add-gage-record.d.mts +3 -69
- package/dist/actions/add-gage-record.d.mts.map +1 -1
- package/dist/actions/add-gage-record.mjs +1 -0
- package/dist/actions/add-gage-record.mjs.map +1 -1
- package/dist/actions/add-manufacturer.cjs +1 -0
- package/dist/actions/add-manufacturer.cjs.map +1 -1
- package/dist/actions/add-manufacturer.d.cts +3 -20
- package/dist/actions/add-manufacturer.d.cts.map +1 -1
- package/dist/actions/add-manufacturer.d.mts +3 -20
- package/dist/actions/add-manufacturer.d.mts.map +1 -1
- package/dist/actions/add-manufacturer.mjs +1 -0
- package/dist/actions/add-manufacturer.mjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.cjs +1 -0
- package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.cts +3 -16
- package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.mts +3 -16
- package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.mjs +1 -0
- package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
- package/dist/actions/delete-calibration-record.cjs +1 -0
- package/dist/actions/delete-calibration-record.cjs.map +1 -1
- package/dist/actions/delete-calibration-record.d.cts +3 -15
- package/dist/actions/delete-calibration-record.d.cts.map +1 -1
- package/dist/actions/delete-calibration-record.d.mts +3 -15
- package/dist/actions/delete-calibration-record.d.mts.map +1 -1
- package/dist/actions/delete-calibration-record.mjs +1 -0
- package/dist/actions/delete-calibration-record.mjs.map +1 -1
- package/dist/actions/delete-gage-record.cjs +1 -0
- package/dist/actions/delete-gage-record.cjs.map +1 -1
- package/dist/actions/delete-gage-record.d.cts +3 -15
- package/dist/actions/delete-gage-record.d.cts.map +1 -1
- package/dist/actions/delete-gage-record.d.mts +3 -15
- package/dist/actions/delete-gage-record.d.mts.map +1 -1
- package/dist/actions/delete-gage-record.mjs +1 -0
- package/dist/actions/delete-gage-record.mjs.map +1 -1
- package/dist/actions/delete-manufacturer.cjs +1 -0
- package/dist/actions/delete-manufacturer.cjs.map +1 -1
- package/dist/actions/delete-manufacturer.d.cts +3 -15
- package/dist/actions/delete-manufacturer.d.cts.map +1 -1
- package/dist/actions/delete-manufacturer.d.mts +3 -15
- package/dist/actions/delete-manufacturer.d.mts.map +1 -1
- package/dist/actions/delete-manufacturer.mjs +1 -0
- package/dist/actions/delete-manufacturer.mjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.cjs +1 -0
- package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.cts +3 -15
- package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.mts +3 -15
- package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
- package/dist/actions/generate-calibration-certificate.mjs +1 -0
- package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
- package/dist/actions/get-account-settings.cjs +1 -0
- package/dist/actions/get-account-settings.cjs.map +1 -1
- package/dist/actions/get-account-settings.d.cts +3 -13
- package/dist/actions/get-account-settings.d.cts.map +1 -1
- package/dist/actions/get-account-settings.d.mts +3 -13
- package/dist/actions/get-account-settings.d.mts.map +1 -1
- package/dist/actions/get-account-settings.mjs +1 -0
- package/dist/actions/get-account-settings.mjs.map +1 -1
- package/dist/actions/get-account-status.cjs +1 -0
- package/dist/actions/get-account-status.cjs.map +1 -1
- package/dist/actions/get-account-status.d.cts +3 -13
- package/dist/actions/get-account-status.d.cts.map +1 -1
- package/dist/actions/get-account-status.d.mts +3 -13
- package/dist/actions/get-account-status.d.mts.map +1 -1
- package/dist/actions/get-account-status.mjs +1 -0
- package/dist/actions/get-account-status.mjs.map +1 -1
- package/dist/actions/get-all-calibration-records.cjs +1 -0
- package/dist/actions/get-all-calibration-records.cjs.map +1 -1
- package/dist/actions/get-all-calibration-records.d.cts +3 -16
- package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
- package/dist/actions/get-all-calibration-records.d.mts +3 -16
- package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
- package/dist/actions/get-all-calibration-records.mjs +1 -0
- package/dist/actions/get-all-calibration-records.mjs.map +1 -1
- package/dist/actions/get-all-gage-records.cjs +1 -0
- package/dist/actions/get-all-gage-records.cjs.map +1 -1
- package/dist/actions/get-all-gage-records.d.cts +3 -16
- package/dist/actions/get-all-gage-records.d.cts.map +1 -1
- package/dist/actions/get-all-gage-records.d.mts +3 -16
- package/dist/actions/get-all-gage-records.d.mts.map +1 -1
- package/dist/actions/get-all-gage-records.mjs +1 -0
- package/dist/actions/get-all-gage-records.mjs.map +1 -1
- package/dist/actions/get-all-manufacturers.cjs +1 -0
- package/dist/actions/get-all-manufacturers.cjs.map +1 -1
- package/dist/actions/get-all-manufacturers.d.cts +3 -13
- package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
- package/dist/actions/get-all-manufacturers.d.mts +3 -13
- package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
- package/dist/actions/get-all-manufacturers.mjs +1 -0
- package/dist/actions/get-all-manufacturers.mjs.map +1 -1
- package/dist/actions/get-attachment.cjs +1 -0
- package/dist/actions/get-attachment.cjs.map +1 -1
- package/dist/actions/get-attachment.d.cts +3 -15
- package/dist/actions/get-attachment.d.cts.map +1 -1
- package/dist/actions/get-attachment.d.mts +3 -15
- package/dist/actions/get-attachment.d.mts.map +1 -1
- package/dist/actions/get-attachment.mjs +1 -0
- package/dist/actions/get-attachment.mjs.map +1 -1
- package/dist/actions/get-custom-fields.cjs +1 -0
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +3 -13
- package/dist/actions/get-custom-fields.d.cts.map +1 -1
- package/dist/actions/get-custom-fields.d.mts +3 -13
- package/dist/actions/get-custom-fields.d.mts.map +1 -1
- package/dist/actions/get-custom-fields.mjs +1 -0
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-single-calibration-record.cjs +1 -0
- package/dist/actions/get-single-calibration-record.cjs.map +1 -1
- package/dist/actions/get-single-calibration-record.d.cts +3 -15
- package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
- package/dist/actions/get-single-calibration-record.d.mts +3 -15
- package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
- package/dist/actions/get-single-calibration-record.mjs +1 -0
- package/dist/actions/get-single-calibration-record.mjs.map +1 -1
- package/dist/actions/get-single-gage-record.cjs +1 -0
- package/dist/actions/get-single-gage-record.cjs.map +1 -1
- package/dist/actions/get-single-gage-record.d.cts +3 -15
- package/dist/actions/get-single-gage-record.d.cts.map +1 -1
- package/dist/actions/get-single-gage-record.d.mts +3 -15
- package/dist/actions/get-single-gage-record.d.mts.map +1 -1
- package/dist/actions/get-single-gage-record.mjs +1 -0
- package/dist/actions/get-single-gage-record.mjs.map +1 -1
- package/dist/actions/update-account-settings.cjs +1 -0
- package/dist/actions/update-account-settings.cjs.map +1 -1
- package/dist/actions/update-account-settings.d.cts +3 -45
- package/dist/actions/update-account-settings.d.cts.map +1 -1
- package/dist/actions/update-account-settings.d.mts +3 -45
- package/dist/actions/update-account-settings.d.mts.map +1 -1
- package/dist/actions/update-account-settings.mjs +1 -0
- package/dist/actions/update-account-settings.mjs.map +1 -1
- package/dist/actions/update-custom-field-values.cjs +1 -0
- package/dist/actions/update-custom-field-values.cjs.map +1 -1
- package/dist/actions/update-custom-field-values.d.cts +3 -23
- package/dist/actions/update-custom-field-values.d.cts.map +1 -1
- package/dist/actions/update-custom-field-values.d.mts +3 -23
- package/dist/actions/update-custom-field-values.d.mts.map +1 -1
- package/dist/actions/update-custom-field-values.mjs +1 -0
- package/dist/actions/update-custom-field-values.mjs.map +1 -1
- package/dist/actions/update-manufacturer.cjs +1 -0
- package/dist/actions/update-manufacturer.cjs.map +1 -1
- package/dist/actions/update-manufacturer.d.cts +3 -20
- package/dist/actions/update-manufacturer.d.cts.map +1 -1
- package/dist/actions/update-manufacturer.d.mts +3 -20
- package/dist/actions/update-manufacturer.d.mts.map +1 -1
- package/dist/actions/update-manufacturer.mjs +1 -0
- package/dist/actions/update-manufacturer.mjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.cjs +1 -0
- package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.cts +3 -20
- package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.mts +3 -20
- package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.mjs +1 -0
- package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-attachment.d.ts
|
|
@@ -11,21 +13,7 @@ declare const GagelistGetAttachmentOutput: z.ZodObject<{
|
|
|
11
13
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const gagelistGetAttachment:
|
|
15
|
-
id: number;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const gagelistGetAttachment: AppAction<typeof GagelistGetAttachmentInput, typeof GagelistGetAttachmentOutput, typeof gagelist.credential>;
|
|
29
17
|
//#endregion
|
|
30
18
|
export { gagelistGetAttachment };
|
|
31
19
|
//# sourceMappingURL=get-attachment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-attachment.d.mts","names":[],"sources":["../../src/actions/get-attachment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-attachment.d.mts","names":[],"sources":["../../src/actions/get-attachment.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-attachment.mjs","names":[],"sources":["../../src/actions/get-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAttachmentInput = z.object({\n id: z.number().int().describe(\"Identifier of the attachment to retrieve\"),\n}).describe(\"Request model for retrieving an attachment by its ID.\");\nconst GagelistGetAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const GagelistGetAttachmentOutput = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving an attachment.\");\n\nexport const gagelistGetAttachment = action(\"GAGELIST_GET_ATTACHMENT\", {\n slug: \"gagelist-get-attachment\",\n name: \"Get Attachment\",\n description: \"Tool to retrieve an attachment by its ID. Use when you need to download file attachments from the system.\",\n input: GagelistGetAttachmentInput,\n output: GagelistGetAttachmentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-attachment.mjs","names":[],"sources":["../../src/actions/get-attachment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetAttachmentInput = z.object({\n id: z.number().int().describe(\"Identifier of the attachment to retrieve\"),\n}).describe(\"Request model for retrieving an attachment by its ID.\");\nconst GagelistGetAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const GagelistGetAttachmentOutput = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving an attachment.\");\n\nexport const gagelistGetAttachment: AppAction<\n typeof GagelistGetAttachmentInput,\n typeof GagelistGetAttachmentOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_ATTACHMENT\", {\n slug: \"gagelist-get-attachment\",\n name: \"Get Attachment\",\n description: \"Tool to retrieve an attachment by its ID. Use when you need to download file attachments from the system.\",\n input: GagelistGetAttachmentInput,\n output: GagelistGetAttachmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetCustomFieldsInput = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\").nullable(),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\").nullable(),\n FieldName: z.string().describe(\"Name of the custom field\").nullable(),\n FieldType: z.string().describe(\"Data type of the custom field\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\").nullable(),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\").nullable(),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\").nullable(),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\").nullable(),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\").nullable(),\n GagePermission: z.string().describe(\"Permission level for gage context\").nullable(),\n GageDefaultValue: z.string().describe(\"Default value in gage context\").nullable(),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\").nullable(),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\").nullable(),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\").nullable(),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\").nullable(),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\").nullable(),\n}).passthrough().describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\").nullable(),\n total: z.number().int().describe(\"Total number of custom fields returned\").nullable(),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\").nullable(),\n}).passthrough().describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetCustomFieldsInput = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\").nullable(),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\").nullable(),\n FieldName: z.string().describe(\"Name of the custom field\").nullable(),\n FieldType: z.string().describe(\"Data type of the custom field\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\").nullable(),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\").nullable(),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\").nullable(),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\").nullable(),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\").nullable(),\n GagePermission: z.string().describe(\"Permission level for gage context\").nullable(),\n GageDefaultValue: z.string().describe(\"Default value in gage context\").nullable(),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\").nullable(),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\").nullable(),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\").nullable(),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\").nullable(),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\").nullable(),\n}).passthrough().describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\").nullable(),\n total: z.number().int().describe(\"Total number of custom fields returned\").nullable(),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\").nullable(),\n}).passthrough().describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields: AppAction<\n typeof GagelistGetCustomFieldsInput,\n typeof GagelistGetCustomFieldsOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAClJ,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA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iCAAiC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-custom-fields.d.ts
|
|
@@ -27,19 +29,7 @@ declare const GagelistGetCustomFieldsOutput: z.ZodObject<{
|
|
|
27
29
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const gagelistGetCustomFields:
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
accessToken: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const gagelistGetCustomFields: AppAction<typeof GagelistGetCustomFieldsInput, typeof GagelistGetCustomFieldsOutput, typeof gagelist.credential>;
|
|
43
33
|
//#endregion
|
|
44
34
|
export { gagelistGetCustomFields };
|
|
45
35
|
//# sourceMappingURL=get-custom-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-custom-fields.d.ts
|
|
@@ -27,19 +29,7 @@ declare const GagelistGetCustomFieldsOutput: z.ZodObject<{
|
|
|
27
29
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const gagelistGetCustomFields:
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
accessToken: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const gagelistGetCustomFields: AppAction<typeof GagelistGetCustomFieldsInput, typeof GagelistGetCustomFieldsOutput, typeof gagelist.credential>;
|
|
43
33
|
//#endregion
|
|
44
34
|
export { gagelistGetCustomFields };
|
|
45
35
|
//# sourceMappingURL=get-custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetCustomFieldsInput = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\").nullable(),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\").nullable(),\n FieldName: z.string().describe(\"Name of the custom field\").nullable(),\n FieldType: z.string().describe(\"Data type of the custom field\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\").nullable(),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\").nullable(),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\").nullable(),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\").nullable(),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\").nullable(),\n GagePermission: z.string().describe(\"Permission level for gage context\").nullable(),\n GageDefaultValue: z.string().describe(\"Default value in gage context\").nullable(),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\").nullable(),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\").nullable(),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\").nullable(),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\").nullable(),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\").nullable(),\n}).passthrough().describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\").nullable(),\n total: z.number().int().describe(\"Total number of custom fields returned\").nullable(),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\").nullable(),\n}).passthrough().describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-custom-fields.mjs","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetCustomFieldsInput = z.object({}).describe(\"Request model for retrieving custom field definitions. No parameters required.\");\nconst GagelistGetCustomFields_CustomFieldSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n Status: z.string().describe(\"Current status of the custom field (e.g., Active/Inactive)\").nullable(),\n ForType: z.string().describe(\"Context this field applies to (e.g., 'Gage' or 'Calibration')\").nullable(),\n FieldName: z.string().describe(\"Name of the custom field\").nullable(),\n FieldType: z.string().describe(\"Data type of the custom field\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when this field was last updated (ISO 8601 format)\").nullable(),\n DisplayOrder: z.number().int().describe(\"Overall ordering index for this custom field\").nullable(),\n FieldOptions: z.string().describe(\"Comma-separated options for choice fields, if any\").nullable(),\n GageRequired: z.number().int().describe(\"Whether required for gage (0 = no, 1 = yes)\").nullable(),\n VisibleOnCert: z.number().int().describe(\"Whether to show this field on the certificate (0 = no, 1 = yes)\").nullable(),\n GagePermission: z.string().describe(\"Permission level for gage context\").nullable(),\n GageDefaultValue: z.string().describe(\"Default value in gage context\").nullable(),\n GageDisplaySection: z.number().int().describe(\"Section ordering index for display under gage records\").nullable(),\n CalibrationRequired: z.number().int().describe(\"Whether required for calibration (0 = no, 1 = yes)\").nullable(),\n CalibrationPermission: z.string().describe(\"Permission level for calibration context\").nullable(),\n CalibrationDefaultValue: z.string().describe(\"Default value in calibration context\").nullable(),\n CalibrationDisplaySection: z.number().int().describe(\"Section ordering index for display under calibration records\").nullable(),\n}).passthrough().describe(\"Definition of a single custom field in GageList.\");\nexport const GagelistGetCustomFieldsOutput = z.object({\n data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe(\"List of custom field definitions\"),\n count: z.number().int().describe(\"Count of items in this response\").nullable(),\n total: z.number().int().describe(\"Total number of custom fields returned\").nullable(),\n message: z.string().describe(\"Additional message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the call succeeded\").nullable(),\n}).passthrough().describe(\"Response model for GET_CUSTOM_FIELDS action.\");\n\nexport const gagelistGetCustomFields: AppAction<\n typeof GagelistGetCustomFieldsInput,\n typeof GagelistGetCustomFieldsOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_CUSTOM_FIELDS\", {\n slug: \"gagelist-get-custom-fields\",\n name: \"Get Custom Fields\",\n description: \"Tool to retrieve custom field definitions. Use when you need to list all custom fields configured for both gage and calibration items after authentication.\",\n input: GagelistGetCustomFieldsInput,\n output: GagelistGetCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAClJ,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,eAAe,EAAE,OA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CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\").nullable(),\n FileName: z.string().describe(\"Original file name\").nullable(),\n FileSize: z.number().int().describe(\"Size in bytes\").nullable(),\n FileType: z.string().describe(\"MIME type or extension\").nullable(),\n RecordId: z.number().int().describe(\"Parent record ID\").nullable(),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\").nullable(),\n RefID: z.number().int().describe(\"Reference record ID\").nullable(),\n FieldId: z.number().int().describe(\"Field definition identifier\").nullable(),\n RefType: z.number().int().describe(\"Reference record type\").nullable(),\n FieldValue: z.string().describe(\"Stored field value\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\").nullable(),\n AsLeft: z.string().describe(\"Value after adjustment\").nullable(),\n AsFound: z.string().describe(\"Value found before adjustment\").nullable(),\n PassFail: z.string().describe(\"Pass or Fail result\").nullable(),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\").nullable(),\n Parameter: z.string().describe(\"Parameter under test\").nullable(),\n TestNumber: z.string().describe(\"Sequential test number\").nullable(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable(),\n ExpectedResult: z.string().describe(\"Expected outcome/value\").nullable(),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\").nullable(),\n Days: z.number().int().describe(\"Days component of interval\").nullable(),\n Type: z.string().describe(\"Type of calibration\").nullable(),\n Model: z.string().describe(\"Model number\").nullable(),\n Years: z.number().int().describe(\"Years component of interval\").nullable(),\n Months: z.number().int().describe(\"Months component of interval\").nullable(),\n AssetNo: z.string().describe(\"Asset number\").nullable(),\n Website: z.string().describe(\"Manufacturer website\").nullable(),\n Interval: z.string().describe(\"Calibration interval description\").nullable(),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\").nullable(),\n Location: z.string().describe(\"Location of the equipment\").nullable(),\n SignedBy: z.string().describe(\"User who signed the record\").nullable(),\n TestCost: z.string().describe(\"Test cost\").nullable(),\n TestTime: z.string().describe(\"Test time\").nullable(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable(),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\").nullable(),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\").nullable(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable(),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\").nullable(),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\").nullable(),\n Uncertainty: z.string().describe(\"Measurement uncertainty\").nullable(),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\").nullable(),\n Manufacturer: z.string().describe(\"Manufacturer name\").nullable(),\n RecordNumber: z.string().describe(\"Record number assigned\").nullable(),\n SerialNumber: z.string().describe(\"Serial number\").nullable(),\n ControlNumber: z.string().describe(\"Control number\").nullable(),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\").nullable(),\n UnitOfMeasure: z.string().describe(\"Unit of measure\").nullable(),\n ActionRequired: z.string().describe(\"Action required post calibration\").nullable(),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\").nullable(),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\").nullable(),\n MasterStandard: z.string().describe(\"Master standard used\").nullable(),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\").nullable(),\n CalibrationTest: z.string().describe(\"Calibration test procedures\").nullable(),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\").nullable(),\n ProductRecalled: z.string().describe(\"Product recall status\").nullable(),\n RepairsRequired: z.string().describe(\"Repairs required\").nullable(),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\").nullable(),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\").nullable(),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\").nullable(),\n ToleranceComment: z.string().describe(\"Comments on tolerance\").nullable(),\n TypesMeasurement: z.string().describe(\"Types of measurement\").nullable(),\n ConditionReceived: z.string().describe(\"Equipment condition when received\").nullable(),\n AdditionalComments: z.string().describe(\"Additional comments\").nullable(),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\").nullable(),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\").nullable(),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\").nullable(),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\").nullable(),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\").nullable(),\n ToleranceCondition: z.string().describe(\"Tolerance condition\").nullable(),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\").nullable(),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\").nullable(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\").nullable(),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\").nullable(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\").nullable(),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\").nullable(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").nullable(),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\").nullable(),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\").nullable(),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\").nullable(),\n}).passthrough();\nexport const GagelistGetSingleCalibrationRecordOutput = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\").nullable(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,EAC3F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO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C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-single-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetSingleCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\").nullable(),\n FileName: z.string().describe(\"Original file name\").nullable(),\n FileSize: z.number().int().describe(\"Size in bytes\").nullable(),\n FileType: z.string().describe(\"MIME type or extension\").nullable(),\n RecordId: z.number().int().describe(\"Parent record ID\").nullable(),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\").nullable(),\n RefID: z.number().int().describe(\"Reference record ID\").nullable(),\n FieldId: z.number().int().describe(\"Field definition identifier\").nullable(),\n RefType: z.number().int().describe(\"Reference record type\").nullable(),\n FieldValue: z.string().describe(\"Stored field value\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\").nullable(),\n AsLeft: z.string().describe(\"Value after adjustment\").nullable(),\n AsFound: z.string().describe(\"Value found before adjustment\").nullable(),\n PassFail: z.string().describe(\"Pass or Fail result\").nullable(),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\").nullable(),\n Parameter: z.string().describe(\"Parameter under test\").nullable(),\n TestNumber: z.string().describe(\"Sequential test number\").nullable(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable(),\n ExpectedResult: z.string().describe(\"Expected outcome/value\").nullable(),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\").nullable(),\n Days: z.number().int().describe(\"Days component of interval\").nullable(),\n Type: z.string().describe(\"Type of calibration\").nullable(),\n Model: z.string().describe(\"Model number\").nullable(),\n Years: z.number().int().describe(\"Years component of interval\").nullable(),\n Months: z.number().int().describe(\"Months component of interval\").nullable(),\n AssetNo: z.string().describe(\"Asset number\").nullable(),\n Website: z.string().describe(\"Manufacturer website\").nullable(),\n Interval: z.string().describe(\"Calibration interval description\").nullable(),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\").nullable(),\n Location: z.string().describe(\"Location of the equipment\").nullable(),\n SignedBy: z.string().describe(\"User who signed the record\").nullable(),\n TestCost: z.string().describe(\"Test cost\").nullable(),\n TestTime: z.string().describe(\"Test time\").nullable(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable(),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\").nullable(),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\").nullable(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable(),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\").nullable(),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\").nullable(),\n Uncertainty: z.string().describe(\"Measurement uncertainty\").nullable(),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\").nullable(),\n Manufacturer: z.string().describe(\"Manufacturer name\").nullable(),\n RecordNumber: z.string().describe(\"Record number assigned\").nullable(),\n SerialNumber: z.string().describe(\"Serial number\").nullable(),\n ControlNumber: z.string().describe(\"Control number\").nullable(),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\").nullable(),\n UnitOfMeasure: z.string().describe(\"Unit of measure\").nullable(),\n ActionRequired: z.string().describe(\"Action required post calibration\").nullable(),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\").nullable(),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\").nullable(),\n MasterStandard: z.string().describe(\"Master standard used\").nullable(),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\").nullable(),\n CalibrationTest: z.string().describe(\"Calibration test procedures\").nullable(),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\").nullable(),\n ProductRecalled: z.string().describe(\"Product recall status\").nullable(),\n RepairsRequired: z.string().describe(\"Repairs required\").nullable(),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\").nullable(),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\").nullable(),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\").nullable(),\n ToleranceComment: z.string().describe(\"Comments on tolerance\").nullable(),\n TypesMeasurement: z.string().describe(\"Types of measurement\").nullable(),\n ConditionReceived: z.string().describe(\"Equipment condition when received\").nullable(),\n AdditionalComments: z.string().describe(\"Additional comments\").nullable(),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\").nullable(),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\").nullable(),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\").nullable(),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\").nullable(),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\").nullable(),\n ToleranceCondition: z.string().describe(\"Tolerance condition\").nullable(),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\").nullable(),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\").nullable(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\").nullable(),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\").nullable(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\").nullable(),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\").nullable(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").nullable(),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\").nullable(),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\").nullable(),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\").nullable(),\n}).passthrough();\nexport const GagelistGetSingleCalibrationRecordOutput = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\").nullable(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord: AppAction<\n typeof GagelistGetSingleCalibrationRecordInput,\n typeof GagelistGetSingleCalibrationRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,C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AA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAM,2DAA2D,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-single-calibration-record.d.ts
|
|
@@ -99,21 +101,7 @@ declare const GagelistGetSingleCalibrationRecordOutput: z.ZodObject<{
|
|
|
99
101
|
message: z.ZodNullable<z.ZodString>;
|
|
100
102
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
101
103
|
}, z.core.$loose>;
|
|
102
|
-
declare const gagelistGetSingleCalibrationRecord:
|
|
103
|
-
id: number;
|
|
104
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
105
|
-
connectionId: z.ZodString;
|
|
106
|
-
entityId: z.ZodString;
|
|
107
|
-
instanceId: z.ZodString;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
accessToken: z.ZodString;
|
|
110
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
111
|
-
connectionId: z.ZodString;
|
|
112
|
-
entityId: z.ZodString;
|
|
113
|
-
instanceId: z.ZodString;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
-
accessToken: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>]>;
|
|
104
|
+
declare const gagelistGetSingleCalibrationRecord: AppAction<typeof GagelistGetSingleCalibrationRecordInput, typeof GagelistGetSingleCalibrationRecordOutput, typeof gagelist.credential>;
|
|
117
105
|
//#endregion
|
|
118
106
|
export { gagelistGetSingleCalibrationRecord };
|
|
119
107
|
//# sourceMappingURL=get-single-calibration-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-calibration-record.d.cts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-calibration-record.d.cts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAiGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-single-calibration-record.d.ts
|
|
@@ -99,21 +101,7 @@ declare const GagelistGetSingleCalibrationRecordOutput: z.ZodObject<{
|
|
|
99
101
|
message: z.ZodNullable<z.ZodString>;
|
|
100
102
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
101
103
|
}, z.core.$loose>;
|
|
102
|
-
declare const gagelistGetSingleCalibrationRecord:
|
|
103
|
-
id: number;
|
|
104
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
105
|
-
connectionId: z.ZodString;
|
|
106
|
-
entityId: z.ZodString;
|
|
107
|
-
instanceId: z.ZodString;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
accessToken: z.ZodString;
|
|
110
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
111
|
-
connectionId: z.ZodString;
|
|
112
|
-
entityId: z.ZodString;
|
|
113
|
-
instanceId: z.ZodString;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
-
accessToken: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>]>;
|
|
104
|
+
declare const gagelistGetSingleCalibrationRecord: AppAction<typeof GagelistGetSingleCalibrationRecordInput, typeof GagelistGetSingleCalibrationRecordOutput, typeof gagelist.credential>;
|
|
117
105
|
//#endregion
|
|
118
106
|
export { gagelistGetSingleCalibrationRecord };
|
|
119
107
|
//# sourceMappingURL=get-single-calibration-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-calibration-record.d.mts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-calibration-record.d.mts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAiGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-calibration-record.mjs","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetSingleCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\").nullable(),\n FileName: z.string().describe(\"Original file name\").nullable(),\n FileSize: z.number().int().describe(\"Size in bytes\").nullable(),\n FileType: z.string().describe(\"MIME type or extension\").nullable(),\n RecordId: z.number().int().describe(\"Parent record ID\").nullable(),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\").nullable(),\n RefID: z.number().int().describe(\"Reference record ID\").nullable(),\n FieldId: z.number().int().describe(\"Field definition identifier\").nullable(),\n RefType: z.number().int().describe(\"Reference record type\").nullable(),\n FieldValue: z.string().describe(\"Stored field value\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\").nullable(),\n AsLeft: z.string().describe(\"Value after adjustment\").nullable(),\n AsFound: z.string().describe(\"Value found before adjustment\").nullable(),\n PassFail: z.string().describe(\"Pass or Fail result\").nullable(),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\").nullable(),\n Parameter: z.string().describe(\"Parameter under test\").nullable(),\n TestNumber: z.string().describe(\"Sequential test number\").nullable(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable(),\n ExpectedResult: z.string().describe(\"Expected outcome/value\").nullable(),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\").nullable(),\n Days: z.number().int().describe(\"Days component of interval\").nullable(),\n Type: z.string().describe(\"Type of calibration\").nullable(),\n Model: z.string().describe(\"Model number\").nullable(),\n Years: z.number().int().describe(\"Years component of interval\").nullable(),\n Months: z.number().int().describe(\"Months component of interval\").nullable(),\n AssetNo: z.string().describe(\"Asset number\").nullable(),\n Website: z.string().describe(\"Manufacturer website\").nullable(),\n Interval: z.string().describe(\"Calibration interval description\").nullable(),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\").nullable(),\n Location: z.string().describe(\"Location of the equipment\").nullable(),\n SignedBy: z.string().describe(\"User who signed the record\").nullable(),\n TestCost: z.string().describe(\"Test cost\").nullable(),\n TestTime: z.string().describe(\"Test time\").nullable(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable(),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\").nullable(),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\").nullable(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable(),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\").nullable(),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\").nullable(),\n Uncertainty: z.string().describe(\"Measurement uncertainty\").nullable(),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\").nullable(),\n Manufacturer: z.string().describe(\"Manufacturer name\").nullable(),\n RecordNumber: z.string().describe(\"Record number assigned\").nullable(),\n SerialNumber: z.string().describe(\"Serial number\").nullable(),\n ControlNumber: z.string().describe(\"Control number\").nullable(),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\").nullable(),\n UnitOfMeasure: z.string().describe(\"Unit of measure\").nullable(),\n ActionRequired: z.string().describe(\"Action required post calibration\").nullable(),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\").nullable(),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\").nullable(),\n MasterStandard: z.string().describe(\"Master standard used\").nullable(),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\").nullable(),\n CalibrationTest: z.string().describe(\"Calibration test procedures\").nullable(),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\").nullable(),\n ProductRecalled: z.string().describe(\"Product recall status\").nullable(),\n RepairsRequired: z.string().describe(\"Repairs required\").nullable(),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\").nullable(),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\").nullable(),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\").nullable(),\n ToleranceComment: z.string().describe(\"Comments on tolerance\").nullable(),\n TypesMeasurement: z.string().describe(\"Types of measurement\").nullable(),\n ConditionReceived: z.string().describe(\"Equipment condition when received\").nullable(),\n AdditionalComments: z.string().describe(\"Additional comments\").nullable(),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\").nullable(),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\").nullable(),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\").nullable(),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\").nullable(),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\").nullable(),\n ToleranceCondition: z.string().describe(\"Tolerance condition\").nullable(),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\").nullable(),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\").nullable(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\").nullable(),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\").nullable(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\").nullable(),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\").nullable(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").nullable(),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\").nullable(),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\").nullable(),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\").nullable(),\n}).passthrough();\nexport const GagelistGetSingleCalibrationRecordOutput = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\").nullable(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,EAC3F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,w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C,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvF,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsD,EAAE,OAAO;EAC/D,MAAM,2DAA2D,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-single-calibration-record.mjs","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetSingleCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record identifier, must be a positive integer\"),\n}).describe(\"Request schema for GET_SINGLE_CALIBRATION_RECORD action.\");\nconst GagelistGetSingleCalibrationRecord_AttachmentItemSchema = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\").nullable(),\n FileName: z.string().describe(\"Original file name\").nullable(),\n FileSize: z.number().int().describe(\"Size in bytes\").nullable(),\n FileType: z.string().describe(\"MIME type or extension\").nullable(),\n RecordId: z.number().int().describe(\"Parent record ID\").nullable(),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\").nullable(),\n RefID: z.number().int().describe(\"Reference record ID\").nullable(),\n FieldId: z.number().int().describe(\"Field definition identifier\").nullable(),\n RefType: z.number().int().describe(\"Reference record type\").nullable(),\n FieldValue: z.string().describe(\"Stored field value\").nullable(),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\").nullable(),\n AsLeft: z.string().describe(\"Value after adjustment\").nullable(),\n AsFound: z.string().describe(\"Value found before adjustment\").nullable(),\n PassFail: z.string().describe(\"Pass or Fail result\").nullable(),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\").nullable(),\n Parameter: z.string().describe(\"Parameter under test\").nullable(),\n TestNumber: z.string().describe(\"Sequential test number\").nullable(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable(),\n ExpectedResult: z.string().describe(\"Expected outcome/value\").nullable(),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\").nullable(),\n}).passthrough();\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\").nullable(),\n Days: z.number().int().describe(\"Days component of interval\").nullable(),\n Type: z.string().describe(\"Type of calibration\").nullable(),\n Model: z.string().describe(\"Model number\").nullable(),\n Years: z.number().int().describe(\"Years component of interval\").nullable(),\n Months: z.number().int().describe(\"Months component of interval\").nullable(),\n AssetNo: z.string().describe(\"Asset number\").nullable(),\n Website: z.string().describe(\"Manufacturer website\").nullable(),\n Interval: z.string().describe(\"Calibration interval description\").nullable(),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\").nullable(),\n Location: z.string().describe(\"Location of the equipment\").nullable(),\n SignedBy: z.string().describe(\"User who signed the record\").nullable(),\n TestCost: z.string().describe(\"Test cost\").nullable(),\n TestTime: z.string().describe(\"Test time\").nullable(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable(),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\").nullable(),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\").nullable(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable(),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\").nullable(),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\").nullable(),\n Uncertainty: z.string().describe(\"Measurement uncertainty\").nullable(),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\").nullable(),\n Manufacturer: z.string().describe(\"Manufacturer name\").nullable(),\n RecordNumber: z.string().describe(\"Record number assigned\").nullable(),\n SerialNumber: z.string().describe(\"Serial number\").nullable(),\n ControlNumber: z.string().describe(\"Control number\").nullable(),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\").nullable(),\n UnitOfMeasure: z.string().describe(\"Unit of measure\").nullable(),\n ActionRequired: z.string().describe(\"Action required post calibration\").nullable(),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\").nullable(),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\").nullable(),\n MasterStandard: z.string().describe(\"Master standard used\").nullable(),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\").nullable(),\n CalibrationTest: z.string().describe(\"Calibration test procedures\").nullable(),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\").nullable(),\n ProductRecalled: z.string().describe(\"Product recall status\").nullable(),\n RepairsRequired: z.string().describe(\"Repairs required\").nullable(),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\").nullable(),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\").nullable(),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\").nullable(),\n ToleranceComment: z.string().describe(\"Comments on tolerance\").nullable(),\n TypesMeasurement: z.string().describe(\"Types of measurement\").nullable(),\n ConditionReceived: z.string().describe(\"Equipment condition when received\").nullable(),\n AdditionalComments: z.string().describe(\"Additional comments\").nullable(),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\").nullable(),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\").nullable(),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\").nullable(),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\").nullable(),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\").nullable(),\n ToleranceCondition: z.string().describe(\"Tolerance condition\").nullable(),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\").nullable(),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\").nullable(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\").nullable(),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\").nullable(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\").nullable(),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\").nullable(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").nullable(),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\").nullable(),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\").nullable(),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\").nullable(),\n}).passthrough();\nexport const GagelistGetSingleCalibrationRecordOutput = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\").nullable(),\n success: z.boolean().describe(\"Indicates if the operation was successful\").nullable(),\n}).passthrough().describe(\"Response schema for GET_SINGLE_CALIBRATION_RECORD action.\");\n\nexport const gagelistGetSingleCalibrationRecord: AppAction<\n typeof GagelistGetSingleCalibrationRecordInput,\n typeof GagelistGetSingleCalibrationRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_SINGLE_CALIBRATION_RECORD\", {\n slug: \"gagelist-get-single-calibration-record\",\n name: \"Get Single Calibration Record\",\n description: \"Tool to retrieve details of a single calibration record. Use when you need a specific record's detailed data. Ensure a valid Bearer token is set.\",\n input: GagelistGetSingleCalibrationRecordInput,\n output: GagelistGetSingleCalibrationRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,EAC3F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4DAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,SAAS,E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AC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -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.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_TestTemplateSchema = z.object({\n Id: z.number().int().describe(\"Test template identifier\").nullable().optional(),\n Parameter: z.string().describe(\"Parameter under test\").nullable().optional(),\n TestNumber: z.string().describe(\"Number of the test\").nullable().optional(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable().optional(),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the associated equipment\").nullable().optional(),\n ExpectedResult: z.string().describe(\"Expected result of the test\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({\n Id: z.number().int().describe(\"Gage record ID\").nullable(),\n Area: z.string().describe(\"Area or department using the gage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of the interval\").nullable().optional(),\n Type: z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").nullable().optional(),\n Model: z.string().describe(\"Model number of the gage\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of the interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of the interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number assigned to the gage\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website URL\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval description\").nullable().optional(),\n Location: z.string().describe(\"Current storage or usage location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Flag indicating if the record is deleted\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST traceability number\").nullable().optional(),\n Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").nullable().optional(),\n DateAquired: z.string().describe(\"ISO 8601 datetime when acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size specification\").nullable().optional(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime of last update\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer of the gage\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number of the gage\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price of the gage\").nullable().optional(),\n TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used in calibration\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").nullable().optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").nullable().optional(),\n OtherInformation: z.string().describe(\"Additional information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"ISO 8601 datetime when calibration is due\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used in calibration\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"ISO 8601 datetime of last calibration\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Instructions for calibration\").nullable().optional(),\n}).passthrough();\nexport const GagelistGetSingleGageRecordOutput = z.object({\n data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),\n message: z.string().describe(\"API response message or error details\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough();\n\nexport const gagelistGetSingleGageRecord = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from 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,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qMAAqM,EACrO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IA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,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,CAAC,CAAC,YAAY;AACf,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,CAAC,CAAC,YAAY;AAEf,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistGetSingleGageRecordInput = z.object({\n id: z.number().int().describe(\"The unique integer ID of the gage record to retrieve. Use GAGELIST_GET_ALL_GAGE_RECORDS to list available gage IDs, or use the ID returned from GAGELIST_ADD_GAGE_RECORD after creating a new gage.\"),\n}).describe(\"Request parameters for retrieving a single gage record by its ID.\");\nconst GagelistGetSingleGageRecord_AttachmentSchema = z.object({\n Id: z.number().int().describe(\"Attachment identifier\").nullable().optional(),\n FileName: z.string().describe(\"Name of the attached file\").nullable().optional(),\n FileSize: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n FileType: z.string().describe(\"MIME type of the file (e.g., 'application/pdf', 'image/jpeg')\").nullable().optional(),\n RecordId: z.number().int().describe(\"ID of the record this attachment is linked to\").nullable().optional(),\n RecordType: z.string().describe(\"Type of record (e.g., 'Gage', 'Calibration')\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_TestTemplateSchema = z.object({\n Id: z.number().int().describe(\"Test template identifier\").nullable().optional(),\n Parameter: z.string().describe(\"Parameter under test\").nullable().optional(),\n TestNumber: z.string().describe(\"Number of the test\").nullable().optional(),\n RefStandardID: z.string().describe(\"Reference standard identifier\").nullable().optional(),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the associated equipment\").nullable().optional(),\n ExpectedResult: z.string().describe(\"Expected result of the test\").nullable().optional(),\n}).passthrough();\nconst GagelistGetSingleGageRecord_GageRecordDetailSchema = z.object({\n Id: z.number().int().describe(\"Gage record ID\").nullable(),\n Area: z.string().describe(\"Area or department using the gage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of the interval\").nullable().optional(),\n Type: z.string().describe(\"Type of gage (e.g., 'micrometer', 'caliper', 'gauge block')\").nullable().optional(),\n Model: z.string().describe(\"Model number of the gage\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of the interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of the interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage (e.g., 'Active', 'Retired', 'In Calibration')\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number assigned to the gage\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website URL\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval description\").nullable().optional(),\n Location: z.string().describe(\"Current storage or usage location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the record\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Flag indicating if the record is deleted\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST traceability number\").nullable().optional(),\n Attachments: z.array(GagelistGetSingleGageRecord_AttachmentSchema).describe(\"List of associated attachments\").nullable().optional(),\n DateAquired: z.string().describe(\"ISO 8601 datetime when acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size specification\").nullable().optional(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime of last update\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer of the gage\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number of the gage\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price of the gage\").nullable().optional(),\n TestTemplates: z.array(GagelistGetSingleGageRecord_TestTemplateSchema).describe(\"List of associated test templates\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used (e.g., 'inches', 'millimeters')\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used in calibration\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").nullable().optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").nullable().optional(),\n OtherInformation: z.string().describe(\"Additional information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"ISO 8601 datetime when calibration is due\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used in calibration\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"ISO 8601 datetime of last calibration\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Instructions for calibration\").nullable().optional(),\n}).passthrough();\nexport const GagelistGetSingleGageRecordOutput = z.object({\n data: GagelistGetSingleGageRecord_GageRecordDetailSchema.nullable().optional(),\n message: z.string().describe(\"API response message or error details\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).passthrough();\n\nexport const gagelistGetSingleGageRecord: AppAction<\n typeof GagelistGetSingleGageRecordInput,\n typeof GagelistGetSingleGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_GET_SINGLE_GAGE_RECORD\", {\n slug: \"gagelist-get-single-gage-record\",\n name: \"Get Single Gage Record\",\n description: \"Retrieves comprehensive details of a single gage/gauge record from GageList by its unique ID. Returns complete gage information including: serial number, control number, manufacturer details, calibration dates and intervals, measurement specifications (range, tolerance, unit of measure), location, responsible user, test templates, and attached files. Use this after obtaining a valid gage ID from GAGELIST_GET_ALL_GAGE_RECORDS or GAGELIST_ADD_GAGE_RECORD. Example: GetSingleGageRecord(id=123)\",\n input: GagelistGetSingleGageRecordInput,\n output: GagelistGetSingleGageRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qMAAqM,EACrO,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAA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AS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-single-gage-record.d.ts
|
|
@@ -63,21 +65,7 @@ declare const GagelistGetSingleGageRecordOutput: z.ZodObject<{
|
|
|
63
65
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
66
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const gagelistGetSingleGageRecord:
|
|
67
|
-
id: number;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
accessToken: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
75
|
-
connectionId: z.ZodString;
|
|
76
|
-
entityId: z.ZodString;
|
|
77
|
-
instanceId: z.ZodString;
|
|
78
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
-
accessToken: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const gagelistGetSingleGageRecord: AppAction<typeof GagelistGetSingleGageRecordInput, typeof GagelistGetSingleGageRecordOutput, typeof gagelist.credential>;
|
|
81
69
|
//#endregion
|
|
82
70
|
export { gagelistGetSingleGageRecord };
|
|
83
71
|
//# sourceMappingURL=get-single-gage-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-gage-record.d.cts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-gage-record.d.cts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cA4DhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { gagelist } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-single-gage-record.d.ts
|
|
@@ -63,21 +65,7 @@ declare const GagelistGetSingleGageRecordOutput: z.ZodObject<{
|
|
|
63
65
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
66
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const gagelistGetSingleGageRecord:
|
|
67
|
-
id: number;
|
|
68
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
entityId: z.ZodString;
|
|
71
|
-
instanceId: z.ZodString;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
accessToken: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
|
|
75
|
-
connectionId: z.ZodString;
|
|
76
|
-
entityId: z.ZodString;
|
|
77
|
-
instanceId: z.ZodString;
|
|
78
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
-
accessToken: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const gagelistGetSingleGageRecord: AppAction<typeof GagelistGetSingleGageRecordInput, typeof GagelistGetSingleGageRecordOutput, typeof gagelist.credential>;
|
|
81
69
|
//#endregion
|
|
82
70
|
export { gagelistGetSingleGageRecord };
|
|
83
71
|
//# sourceMappingURL=get-single-gage-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-single-gage-record.d.mts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-single-gage-record.d.mts","names":[],"sources":["../../src/actions/get-single-gage-record.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cA4DhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|