@keystrokehq/gagelist 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-calibration-record.cjs +1 -1
- package/dist/actions/add-calibration-record.cjs.map +1 -1
- package/dist/actions/add-calibration-record.d.cts +183 -3
- package/dist/actions/add-calibration-record.d.cts.map +1 -1
- package/dist/actions/add-calibration-record.d.mts +183 -3
- package/dist/actions/add-calibration-record.d.mts.map +1 -1
- package/dist/actions/add-calibration-record.mjs +1 -1
- package/dist/actions/add-calibration-record.mjs.map +1 -1
- package/dist/actions/add-gage-record.cjs +2 -2
- package/dist/actions/add-gage-record.cjs.map +1 -1
- package/dist/actions/add-gage-record.d.cts +115 -3
- package/dist/actions/add-gage-record.d.cts.map +1 -1
- package/dist/actions/add-gage-record.d.mts +115 -3
- package/dist/actions/add-gage-record.d.mts.map +1 -1
- package/dist/actions/add-gage-record.mjs +2 -2
- package/dist/actions/add-gage-record.mjs.map +1 -1
- package/dist/actions/add-manufacturer.cjs +1 -1
- package/dist/actions/add-manufacturer.cjs.map +1 -1
- package/dist/actions/add-manufacturer.d.cts +21 -3
- package/dist/actions/add-manufacturer.d.cts.map +1 -1
- package/dist/actions/add-manufacturer.d.mts +21 -3
- package/dist/actions/add-manufacturer.d.mts.map +1 -1
- package/dist/actions/add-manufacturer.mjs +1 -1
- package/dist/actions/add-manufacturer.mjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.cjs +8 -8
- package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.cts +19 -3
- package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.d.mts +19 -3
- package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
- package/dist/actions/authenticate-with-gagelist.mjs +8 -8
- package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
- package/dist/actions/delete-calibration-record.cjs +3 -3
- package/dist/actions/delete-calibration-record.cjs.map +1 -1
- package/dist/actions/delete-calibration-record.d.cts +11 -3
- package/dist/actions/delete-calibration-record.d.cts.map +1 -1
- package/dist/actions/delete-calibration-record.d.mts +11 -3
- package/dist/actions/delete-calibration-record.d.mts.map +1 -1
- package/dist/actions/delete-calibration-record.mjs +3 -3
- package/dist/actions/delete-calibration-record.mjs.map +1 -1
- package/dist/actions/delete-gage-record.cjs +3 -3
- package/dist/actions/delete-gage-record.cjs.map +1 -1
- package/dist/actions/delete-gage-record.d.cts +11 -3
- package/dist/actions/delete-gage-record.d.cts.map +1 -1
- package/dist/actions/delete-gage-record.d.mts +11 -3
- package/dist/actions/delete-gage-record.d.mts.map +1 -1
- package/dist/actions/delete-gage-record.mjs +3 -3
- package/dist/actions/delete-gage-record.mjs.map +1 -1
- package/dist/actions/delete-manufacturer.cjs +3 -3
- package/dist/actions/delete-manufacturer.cjs.map +1 -1
- package/dist/actions/delete-manufacturer.d.cts +11 -3
- package/dist/actions/delete-manufacturer.d.cts.map +1 -1
- package/dist/actions/delete-manufacturer.d.mts +11 -3
- package/dist/actions/delete-manufacturer.d.mts.map +1 -1
- package/dist/actions/delete-manufacturer.mjs +3 -3
- package/dist/actions/delete-manufacturer.mjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.cjs +3 -3
- package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.cts +13 -3
- package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
- package/dist/actions/generate-calibration-certificate.d.mts +13 -3
- package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
- package/dist/actions/generate-calibration-certificate.mjs +3 -3
- package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
- package/dist/actions/get-account-settings.cjs +15 -15
- package/dist/actions/get-account-settings.cjs.map +1 -1
- package/dist/actions/get-account-settings.d.cts +39 -3
- package/dist/actions/get-account-settings.d.cts.map +1 -1
- package/dist/actions/get-account-settings.d.mts +39 -3
- package/dist/actions/get-account-settings.d.mts.map +1 -1
- package/dist/actions/get-account-settings.mjs +15 -15
- package/dist/actions/get-account-settings.mjs.map +1 -1
- package/dist/actions/get-account-status.cjs +45 -45
- package/dist/actions/get-account-status.cjs.map +1 -1
- package/dist/actions/get-account-status.d.cts +74 -3
- package/dist/actions/get-account-status.d.cts.map +1 -1
- package/dist/actions/get-account-status.d.mts +74 -3
- package/dist/actions/get-account-status.d.mts.map +1 -1
- package/dist/actions/get-account-status.mjs +45 -45
- package/dist/actions/get-account-status.mjs.map +1 -1
- package/dist/actions/get-all-calibration-records.cjs.map +1 -1
- package/dist/actions/get-all-calibration-records.d.cts +80 -3
- package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
- package/dist/actions/get-all-calibration-records.d.mts +80 -3
- package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
- package/dist/actions/get-all-calibration-records.mjs.map +1 -1
- package/dist/actions/get-all-gage-records.cjs.map +1 -1
- package/dist/actions/get-all-gage-records.d.cts +59 -3
- package/dist/actions/get-all-gage-records.d.cts.map +1 -1
- package/dist/actions/get-all-gage-records.d.mts +59 -3
- package/dist/actions/get-all-gage-records.d.mts.map +1 -1
- package/dist/actions/get-all-gage-records.mjs.map +1 -1
- package/dist/actions/get-all-manufacturers.cjs +11 -11
- package/dist/actions/get-all-manufacturers.cjs.map +1 -1
- package/dist/actions/get-all-manufacturers.d.cts +18 -3
- package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
- package/dist/actions/get-all-manufacturers.d.mts +18 -3
- package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
- package/dist/actions/get-all-manufacturers.mjs +11 -11
- package/dist/actions/get-all-manufacturers.mjs.map +1 -1
- package/dist/actions/get-attachment.cjs +3 -3
- package/dist/actions/get-attachment.cjs.map +1 -1
- package/dist/actions/get-attachment.d.cts +13 -3
- package/dist/actions/get-attachment.d.cts.map +1 -1
- package/dist/actions/get-attachment.d.mts +13 -3
- package/dist/actions/get-attachment.d.mts.map +1 -1
- package/dist/actions/get-attachment.mjs +3 -3
- package/dist/actions/get-attachment.mjs.map +1 -1
- package/dist/actions/get-custom-fields.cjs +20 -20
- package/dist/actions/get-custom-fields.cjs.map +1 -1
- package/dist/actions/get-custom-fields.d.cts +27 -3
- package/dist/actions/get-custom-fields.d.cts.map +1 -1
- package/dist/actions/get-custom-fields.d.mts +27 -3
- package/dist/actions/get-custom-fields.d.mts.map +1 -1
- package/dist/actions/get-custom-fields.mjs +20 -20
- package/dist/actions/get-custom-fields.mjs.map +1 -1
- package/dist/actions/get-single-calibration-record.cjs +85 -85
- package/dist/actions/get-single-calibration-record.cjs.map +1 -1
- package/dist/actions/get-single-calibration-record.d.cts +101 -3
- package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
- package/dist/actions/get-single-calibration-record.d.mts +101 -3
- package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
- package/dist/actions/get-single-calibration-record.mjs +85 -85
- package/dist/actions/get-single-calibration-record.mjs.map +1 -1
- package/dist/actions/get-single-gage-record.cjs +2 -2
- package/dist/actions/get-single-gage-record.cjs.map +1 -1
- package/dist/actions/get-single-gage-record.d.cts +65 -3
- package/dist/actions/get-single-gage-record.d.cts.map +1 -1
- package/dist/actions/get-single-gage-record.d.mts +65 -3
- package/dist/actions/get-single-gage-record.d.mts.map +1 -1
- package/dist/actions/get-single-gage-record.mjs +2 -2
- package/dist/actions/get-single-gage-record.mjs.map +1 -1
- package/dist/actions/update-account-settings.cjs +2 -2
- package/dist/actions/update-account-settings.cjs.map +1 -1
- package/dist/actions/update-account-settings.d.cts +70 -3
- package/dist/actions/update-account-settings.d.cts.map +1 -1
- package/dist/actions/update-account-settings.d.mts +70 -3
- package/dist/actions/update-account-settings.d.mts.map +1 -1
- package/dist/actions/update-account-settings.mjs +2 -2
- package/dist/actions/update-account-settings.mjs.map +1 -1
- package/dist/actions/update-custom-field-values.cjs +1 -1
- package/dist/actions/update-custom-field-values.cjs.map +1 -1
- package/dist/actions/update-custom-field-values.d.cts +25 -3
- package/dist/actions/update-custom-field-values.d.cts.map +1 -1
- package/dist/actions/update-custom-field-values.d.mts +25 -3
- package/dist/actions/update-custom-field-values.d.mts.map +1 -1
- package/dist/actions/update-custom-field-values.mjs +1 -1
- package/dist/actions/update-custom-field-values.mjs.map +1 -1
- package/dist/actions/update-manufacturer.cjs +3 -3
- package/dist/actions/update-manufacturer.cjs.map +1 -1
- package/dist/actions/update-manufacturer.d.cts +21 -3
- package/dist/actions/update-manufacturer.d.cts.map +1 -1
- package/dist/actions/update-manufacturer.d.mts +21 -3
- package/dist/actions/update-manufacturer.d.mts.map +1 -1
- package/dist/actions/update-manufacturer.mjs +3 -3
- package/dist/actions/update-manufacturer.mjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.cjs +2 -2
- package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.cts +21 -3
- package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.d.mts +21 -3
- package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
- package/dist/actions/upload-attachment-to-gage-record.mjs +2 -2
- package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-fields.d.ts
|
|
4
|
-
declare const GagelistGetCustomFieldsInput: z.
|
|
5
|
-
declare const GagelistGetCustomFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GagelistGetCustomFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GagelistGetCustomFieldsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
Status: z.ZodNullable<z.ZodString>;
|
|
9
|
+
ForType: z.ZodNullable<z.ZodString>;
|
|
10
|
+
FieldName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
FieldType: z.ZodNullable<z.ZodString>;
|
|
12
|
+
UpdatedDate: z.ZodNullable<z.ZodString>;
|
|
13
|
+
DisplayOrder: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
FieldOptions: z.ZodNullable<z.ZodString>;
|
|
15
|
+
GageRequired: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
VisibleOnCert: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
GagePermission: z.ZodNullable<z.ZodString>;
|
|
18
|
+
GageDefaultValue: z.ZodNullable<z.ZodString>;
|
|
19
|
+
GageDisplaySection: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
CalibrationRequired: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
CalibrationPermission: z.ZodNullable<z.ZodString>;
|
|
22
|
+
CalibrationDefaultValue: z.ZodNullable<z.ZodString>;
|
|
23
|
+
CalibrationDisplaySection: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const gagelistGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { gagelistGetCustomFields };
|
|
9
33
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-fields.d.cts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,33 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-custom-fields.d.ts
|
|
4
|
-
declare const GagelistGetCustomFieldsInput: z.
|
|
5
|
-
declare const GagelistGetCustomFieldsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GagelistGetCustomFieldsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GagelistGetCustomFieldsOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
Status: z.ZodNullable<z.ZodString>;
|
|
9
|
+
ForType: z.ZodNullable<z.ZodString>;
|
|
10
|
+
FieldName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
FieldType: z.ZodNullable<z.ZodString>;
|
|
12
|
+
UpdatedDate: z.ZodNullable<z.ZodString>;
|
|
13
|
+
DisplayOrder: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
FieldOptions: z.ZodNullable<z.ZodString>;
|
|
15
|
+
GageRequired: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
VisibleOnCert: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
GagePermission: z.ZodNullable<z.ZodString>;
|
|
18
|
+
GageDefaultValue: z.ZodNullable<z.ZodString>;
|
|
19
|
+
GageDisplaySection: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
CalibrationRequired: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
CalibrationPermission: z.ZodNullable<z.ZodString>;
|
|
22
|
+
CalibrationDefaultValue: z.ZodNullable<z.ZodString>;
|
|
23
|
+
CalibrationDisplaySection: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const gagelistGetCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
31
|
//#endregion
|
|
8
32
|
export { gagelistGetCustomFields };
|
|
9
33
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-custom-fields.d.mts","names":[],"sources":["../../src/actions/get-custom-fields.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAoB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,23 +3,23 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-custom-fields.ts
|
|
4
4
|
const GagelistGetCustomFieldsInput = z.object({}).describe("Request model for retrieving custom field definitions. No parameters required.");
|
|
5
5
|
const GagelistGetCustomFields_CustomFieldSchema = z.object({
|
|
6
|
-
Id: z.number().int().describe("Unique identifier of the custom field"),
|
|
7
|
-
Status: z.string().describe("Current status of the custom field (e.g., Active/Inactive)"),
|
|
8
|
-
ForType: z.string().describe("Context this field applies to (e.g., 'Gage' or 'Calibration')"),
|
|
9
|
-
FieldName: z.string().describe("Name of the custom field"),
|
|
10
|
-
FieldType: z.string().describe("Data type of the custom field"),
|
|
11
|
-
UpdatedDate: z.string().describe("Timestamp when this field was last updated (ISO 8601 format)"),
|
|
12
|
-
DisplayOrder: z.number().int().describe("Overall ordering index for this custom field"),
|
|
13
|
-
FieldOptions: z.string().describe("Comma-separated options for choice fields, if any"),
|
|
14
|
-
GageRequired: z.number().int().describe("Whether required for gage (0 = no, 1 = yes)"),
|
|
15
|
-
VisibleOnCert: z.number().int().describe("Whether to show this field on the certificate (0 = no, 1 = yes)"),
|
|
16
|
-
GagePermission: z.string().describe("Permission level for gage context"),
|
|
17
|
-
GageDefaultValue: z.string().describe("Default value in gage context"),
|
|
18
|
-
GageDisplaySection: z.number().int().describe("Section ordering index for display under gage records"),
|
|
19
|
-
CalibrationRequired: z.number().int().describe("Whether required for calibration (0 = no, 1 = yes)"),
|
|
20
|
-
CalibrationPermission: z.string().describe("Permission level for calibration context"),
|
|
21
|
-
CalibrationDefaultValue: z.string().describe("Default value in calibration context"),
|
|
22
|
-
CalibrationDisplaySection: z.number().int().describe("Section ordering index for display under calibration records")
|
|
6
|
+
Id: z.number().int().describe("Unique identifier of the custom field").nullable(),
|
|
7
|
+
Status: z.string().describe("Current status of the custom field (e.g., Active/Inactive)").nullable(),
|
|
8
|
+
ForType: z.string().describe("Context this field applies to (e.g., 'Gage' or 'Calibration')").nullable(),
|
|
9
|
+
FieldName: z.string().describe("Name of the custom field").nullable(),
|
|
10
|
+
FieldType: z.string().describe("Data type of the custom field").nullable(),
|
|
11
|
+
UpdatedDate: z.string().describe("Timestamp when this field was last updated (ISO 8601 format)").nullable(),
|
|
12
|
+
DisplayOrder: z.number().int().describe("Overall ordering index for this custom field").nullable(),
|
|
13
|
+
FieldOptions: z.string().describe("Comma-separated options for choice fields, if any").nullable(),
|
|
14
|
+
GageRequired: z.number().int().describe("Whether required for gage (0 = no, 1 = yes)").nullable(),
|
|
15
|
+
VisibleOnCert: z.number().int().describe("Whether to show this field on the certificate (0 = no, 1 = yes)").nullable(),
|
|
16
|
+
GagePermission: z.string().describe("Permission level for gage context").nullable(),
|
|
17
|
+
GageDefaultValue: z.string().describe("Default value in gage context").nullable(),
|
|
18
|
+
GageDisplaySection: z.number().int().describe("Section ordering index for display under gage records").nullable(),
|
|
19
|
+
CalibrationRequired: z.number().int().describe("Whether required for calibration (0 = no, 1 = yes)").nullable(),
|
|
20
|
+
CalibrationPermission: z.string().describe("Permission level for calibration context").nullable(),
|
|
21
|
+
CalibrationDefaultValue: z.string().describe("Default value in calibration context").nullable(),
|
|
22
|
+
CalibrationDisplaySection: z.number().int().describe("Section ordering index for display under calibration records").nullable()
|
|
23
23
|
}).describe("Definition of a single custom field in GageList.");
|
|
24
24
|
const gagelistGetCustomFields = action("GAGELIST_GET_CUSTOM_FIELDS", {
|
|
25
25
|
slug: "gagelist-get-custom-fields",
|
|
@@ -28,10 +28,10 @@ const gagelistGetCustomFields = action("GAGELIST_GET_CUSTOM_FIELDS", {
|
|
|
28
28
|
input: GagelistGetCustomFieldsInput,
|
|
29
29
|
output: z.object({
|
|
30
30
|
data: z.array(GagelistGetCustomFields_CustomFieldSchema).describe("List of custom field definitions"),
|
|
31
|
-
count: z.number().int().describe("Count of items in this response"),
|
|
32
|
-
total: z.number().int().describe("Total number of custom fields returned"),
|
|
31
|
+
count: z.number().int().describe("Count of items in this response").nullable(),
|
|
32
|
+
total: z.number().int().describe("Total number of custom fields returned").nullable(),
|
|
33
33
|
message: z.string().describe("Additional message from the API").nullable().optional(),
|
|
34
|
-
success: z.boolean().describe("Indicates whether the call succeeded")
|
|
34
|
+
success: z.boolean().describe("Indicates whether the call succeeded").nullable()
|
|
35
35
|
}).describe("Response model for GET_CUSTOM_FIELDS action.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
@@ -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
|
|
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}).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}).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":";;;AAIA,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,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AAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -3,103 +3,103 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-single-calibration-record.ts
|
|
4
4
|
const GagelistGetSingleCalibrationRecordInput = zod.z.object({ id: zod.z.number().int().describe("Calibration record identifier, must be a positive integer") }).describe("Request schema for GET_SINGLE_CALIBRATION_RECORD action.");
|
|
5
5
|
const GagelistGetSingleCalibrationRecord_AttachmentItemSchema = zod.z.object({
|
|
6
|
-
Id: zod.z.number().int().describe("Attachment unique identifier"),
|
|
7
|
-
FileName: zod.z.string().describe("Original file name"),
|
|
8
|
-
FileSize: zod.z.number().int().describe("Size in bytes"),
|
|
9
|
-
FileType: zod.z.string().describe("MIME type or extension"),
|
|
10
|
-
RecordId: zod.z.number().int().describe("Parent record ID"),
|
|
11
|
-
RecordType: zod.z.string().describe("Type of record this attachment belongs to")
|
|
6
|
+
Id: zod.z.number().int().describe("Attachment unique identifier").nullable(),
|
|
7
|
+
FileName: zod.z.string().describe("Original file name").nullable(),
|
|
8
|
+
FileSize: zod.z.number().int().describe("Size in bytes").nullable(),
|
|
9
|
+
FileType: zod.z.string().describe("MIME type or extension").nullable(),
|
|
10
|
+
RecordId: zod.z.number().int().describe("Parent record ID").nullable(),
|
|
11
|
+
RecordType: zod.z.string().describe("Type of record this attachment belongs to").nullable()
|
|
12
12
|
});
|
|
13
13
|
const GagelistGetSingleCalibrationRecord_CounterValueItemSchema = zod.z.object({
|
|
14
|
-
Id: zod.z.number().int().describe("Counter value unique identifier"),
|
|
15
|
-
RefID: zod.z.number().int().describe("Reference record ID"),
|
|
16
|
-
FieldId: zod.z.number().int().describe("Field definition identifier"),
|
|
17
|
-
RefType: zod.z.number().int().describe("Reference record type"),
|
|
18
|
-
FieldValue: zod.z.string().describe("Stored field value"),
|
|
19
|
-
UpdatedDate: zod.z.string().describe("Timestamp when the value was last updated")
|
|
14
|
+
Id: zod.z.number().int().describe("Counter value unique identifier").nullable(),
|
|
15
|
+
RefID: zod.z.number().int().describe("Reference record ID").nullable(),
|
|
16
|
+
FieldId: zod.z.number().int().describe("Field definition identifier").nullable(),
|
|
17
|
+
RefType: zod.z.number().int().describe("Reference record type").nullable(),
|
|
18
|
+
FieldValue: zod.z.string().describe("Stored field value").nullable(),
|
|
19
|
+
UpdatedDate: zod.z.string().describe("Timestamp when the value was last updated").nullable()
|
|
20
20
|
});
|
|
21
21
|
const GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema = zod.z.object({
|
|
22
|
-
Id: zod.z.number().int().describe("Test record unique identifier"),
|
|
23
|
-
AsLeft: zod.z.string().describe("Value after adjustment"),
|
|
24
|
-
AsFound: zod.z.string().describe("Value found before adjustment"),
|
|
25
|
-
PassFail: zod.z.string().describe("Pass or Fail result"),
|
|
26
|
-
ChkAsLeft: zod.z.string().describe("Check value after adjustment"),
|
|
27
|
-
Parameter: zod.z.string().describe("Parameter under test"),
|
|
28
|
-
TestNumber: zod.z.string().describe("Sequential test number"),
|
|
29
|
-
RefStandardID: zod.z.string().describe("Reference standard identifier"),
|
|
30
|
-
ExpectedResult: zod.z.string().describe("Expected outcome/value"),
|
|
31
|
-
CalibrationRefId: zod.z.number().int().describe("Reference to parent calibration record")
|
|
22
|
+
Id: zod.z.number().int().describe("Test record unique identifier").nullable(),
|
|
23
|
+
AsLeft: zod.z.string().describe("Value after adjustment").nullable(),
|
|
24
|
+
AsFound: zod.z.string().describe("Value found before adjustment").nullable(),
|
|
25
|
+
PassFail: zod.z.string().describe("Pass or Fail result").nullable(),
|
|
26
|
+
ChkAsLeft: zod.z.string().describe("Check value after adjustment").nullable(),
|
|
27
|
+
Parameter: zod.z.string().describe("Parameter under test").nullable(),
|
|
28
|
+
TestNumber: zod.z.string().describe("Sequential test number").nullable(),
|
|
29
|
+
RefStandardID: zod.z.string().describe("Reference standard identifier").nullable(),
|
|
30
|
+
ExpectedResult: zod.z.string().describe("Expected outcome/value").nullable(),
|
|
31
|
+
CalibrationRefId: zod.z.number().int().describe("Reference to parent calibration record").nullable()
|
|
32
32
|
});
|
|
33
33
|
const GagelistGetSingleCalibrationRecord_CalibrationRecordSchema = zod.z.object({
|
|
34
|
-
Id: zod.z.number().int().describe("Calibration record identifier"),
|
|
35
|
-
Days: zod.z.number().int().describe("Days component of interval"),
|
|
36
|
-
Type: zod.z.string().describe("Type of calibration"),
|
|
37
|
-
Model: zod.z.string().describe("Model number"),
|
|
38
|
-
Years: zod.z.number().int().describe("Years component of interval"),
|
|
39
|
-
Months: zod.z.number().int().describe("Months component of interval"),
|
|
40
|
-
AssetNo: zod.z.string().describe("Asset number"),
|
|
41
|
-
Website: zod.z.string().describe("Manufacturer website"),
|
|
42
|
-
Interval: zod.z.string().describe("Calibration interval description"),
|
|
43
|
-
IsSigned: zod.z.boolean().describe("Flag indicating if record is signed"),
|
|
44
|
-
Location: zod.z.string().describe("Location of the equipment"),
|
|
45
|
-
SignedBy: zod.z.string().describe("User who signed the record"),
|
|
46
|
-
TestCost: zod.z.string().describe("Test cost"),
|
|
47
|
-
TestTime: zod.z.string().describe("Test time"),
|
|
48
|
-
CreatedBy: zod.z.string().describe("User who created the record"),
|
|
49
|
-
IsDeleted: zod.z.boolean().describe("Flag indicating if record is deleted"),
|
|
50
|
-
SignedPDF: zod.z.string().describe("Signed PDF document URL or data"),
|
|
51
|
-
Tolerance: zod.z.string().describe("Tolerance specification"),
|
|
52
|
-
UpdatedBy: zod.z.string().describe("User who last updated the record"),
|
|
53
|
-
SignedDate: zod.z.string().describe("Date record was signed (ISO 8601)"),
|
|
34
|
+
Id: zod.z.number().int().describe("Calibration record identifier").nullable(),
|
|
35
|
+
Days: zod.z.number().int().describe("Days component of interval").nullable(),
|
|
36
|
+
Type: zod.z.string().describe("Type of calibration").nullable(),
|
|
37
|
+
Model: zod.z.string().describe("Model number").nullable(),
|
|
38
|
+
Years: zod.z.number().int().describe("Years component of interval").nullable(),
|
|
39
|
+
Months: zod.z.number().int().describe("Months component of interval").nullable(),
|
|
40
|
+
AssetNo: zod.z.string().describe("Asset number").nullable(),
|
|
41
|
+
Website: zod.z.string().describe("Manufacturer website").nullable(),
|
|
42
|
+
Interval: zod.z.string().describe("Calibration interval description").nullable(),
|
|
43
|
+
IsSigned: zod.z.boolean().describe("Flag indicating if record is signed").nullable(),
|
|
44
|
+
Location: zod.z.string().describe("Location of the equipment").nullable(),
|
|
45
|
+
SignedBy: zod.z.string().describe("User who signed the record").nullable(),
|
|
46
|
+
TestCost: zod.z.string().describe("Test cost").nullable(),
|
|
47
|
+
TestTime: zod.z.string().describe("Test time").nullable(),
|
|
48
|
+
CreatedBy: zod.z.string().describe("User who created the record").nullable(),
|
|
49
|
+
IsDeleted: zod.z.boolean().describe("Flag indicating if record is deleted").nullable(),
|
|
50
|
+
SignedPDF: zod.z.string().describe("Signed PDF document URL or data").nullable(),
|
|
51
|
+
Tolerance: zod.z.string().describe("Tolerance specification").nullable(),
|
|
52
|
+
UpdatedBy: zod.z.string().describe("User who last updated the record").nullable(),
|
|
53
|
+
SignedDate: zod.z.string().describe("Date record was signed (ISO 8601)").nullable(),
|
|
54
54
|
Attachments: zod.z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe("List of file attachments").nullable().optional(),
|
|
55
|
-
RangeOrSize: zod.z.string().describe("Range or size of measurement"),
|
|
56
|
-
Uncertainty: zod.z.string().describe("Measurement uncertainty"),
|
|
57
|
-
UpdatedDate: zod.z.string().describe("Date when record was last updated (ISO 8601)"),
|
|
58
|
-
Manufacturer: zod.z.string().describe("Manufacturer name"),
|
|
59
|
-
RecordNumber: zod.z.string().describe("Record number assigned"),
|
|
60
|
-
SerialNumber: zod.z.string().describe("Serial number"),
|
|
61
|
-
ControlNumber: zod.z.string().describe("Control number"),
|
|
55
|
+
RangeOrSize: zod.z.string().describe("Range or size of measurement").nullable(),
|
|
56
|
+
Uncertainty: zod.z.string().describe("Measurement uncertainty").nullable(),
|
|
57
|
+
UpdatedDate: zod.z.string().describe("Date when record was last updated (ISO 8601)").nullable(),
|
|
58
|
+
Manufacturer: zod.z.string().describe("Manufacturer name").nullable(),
|
|
59
|
+
RecordNumber: zod.z.string().describe("Record number assigned").nullable(),
|
|
60
|
+
SerialNumber: zod.z.string().describe("Serial number").nullable(),
|
|
61
|
+
ControlNumber: zod.z.string().describe("Control number").nullable(),
|
|
62
62
|
CounterValues: zod.z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe("List of counter values").nullable().optional(),
|
|
63
|
-
SignatureData: zod.z.string().describe("Signature data"),
|
|
64
|
-
UnitOfMeasure: zod.z.string().describe("Unit of measure"),
|
|
65
|
-
ActionRequired: zod.z.string().describe("Action required post calibration"),
|
|
66
|
-
DateCalibrated: zod.z.string().describe("Date calibrated (ISO 8601)"),
|
|
67
|
-
EquipmentRefId: zod.z.number().int().describe("Equipment reference ID"),
|
|
68
|
-
MasterStandard: zod.z.string().describe("Master standard used"),
|
|
69
|
-
CalibrationDate: zod.z.string().describe("Date of calibration (ISO 8601)"),
|
|
70
|
-
CalibrationTest: zod.z.string().describe("Calibration test procedures"),
|
|
71
|
-
EquipmentAsLeft: zod.z.string().describe("Equipment reading as left"),
|
|
72
|
-
ProductRecalled: zod.z.string().describe("Product recall status"),
|
|
73
|
-
RepairsRequired: zod.z.string().describe("Repairs required"),
|
|
74
|
-
ResponsibleUser: zod.z.string().describe("User responsible for calibration"),
|
|
63
|
+
SignatureData: zod.z.string().describe("Signature data").nullable(),
|
|
64
|
+
UnitOfMeasure: zod.z.string().describe("Unit of measure").nullable(),
|
|
65
|
+
ActionRequired: zod.z.string().describe("Action required post calibration").nullable(),
|
|
66
|
+
DateCalibrated: zod.z.string().describe("Date calibrated (ISO 8601)").nullable(),
|
|
67
|
+
EquipmentRefId: zod.z.number().int().describe("Equipment reference ID").nullable(),
|
|
68
|
+
MasterStandard: zod.z.string().describe("Master standard used").nullable(),
|
|
69
|
+
CalibrationDate: zod.z.string().describe("Date of calibration (ISO 8601)").nullable(),
|
|
70
|
+
CalibrationTest: zod.z.string().describe("Calibration test procedures").nullable(),
|
|
71
|
+
EquipmentAsLeft: zod.z.string().describe("Equipment reading as left").nullable(),
|
|
72
|
+
ProductRecalled: zod.z.string().describe("Product recall status").nullable(),
|
|
73
|
+
RepairsRequired: zod.z.string().describe("Repairs required").nullable(),
|
|
74
|
+
ResponsibleUser: zod.z.string().describe("User responsible for calibration").nullable(),
|
|
75
75
|
CalibrationTests: zod.z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe("List of individual test details").nullable().optional(),
|
|
76
|
-
DescribedRepairs: zod.z.string().describe("Description of repairs performed"),
|
|
77
|
-
EquipmentAsFound: zod.z.string().describe("Equipment reading as found"),
|
|
78
|
-
ToleranceComment: zod.z.string().describe("Comments on tolerance"),
|
|
79
|
-
TypesMeasurement: zod.z.string().describe("Types of measurement"),
|
|
80
|
-
ConditionReceived: zod.z.string().describe("Equipment condition when received"),
|
|
81
|
-
AdditionalComments: zod.z.string().describe("Additional comments"),
|
|
82
|
-
CalibrationDueDate: zod.z.string().describe("Calibration due date (ISO 8601)"),
|
|
83
|
-
FitIntendedPurpose: zod.z.string().describe("Fit intended purpose"),
|
|
84
|
-
NextCalibrationDue: zod.z.string().describe("Next calibration due (ISO 8601)"),
|
|
85
|
-
SignaturePublicKey: zod.z.string().describe("Public key used for signature"),
|
|
86
|
-
TestEquipmentFalls: zod.z.string().describe("Test equipment falls"),
|
|
87
|
-
ToleranceCondition: zod.z.string().describe("Tolerance condition"),
|
|
88
|
-
AdjustmentsRequired: zod.z.string().describe("Adjustments required for calibration"),
|
|
89
|
-
AppropriateNotified: zod.z.string().describe("Appropriate parties notified"),
|
|
90
|
-
CalibrationTestMode: zod.z.string().describe("Calibration test mode"),
|
|
91
|
-
LastCalibrationDate: zod.z.string().describe("Last calibration date (ISO 8601)"),
|
|
92
|
-
CalibrationEnvironment: zod.z.string().describe("Calibration environment"),
|
|
93
|
-
CalibrationTechinician: zod.z.string().describe("Calibration technician name"),
|
|
94
|
-
CalibrationInstructions: zod.z.string().describe("Calibration instructions"),
|
|
95
|
-
ExernalCalibrationRecord: zod.z.string().describe("External calibration record reference"),
|
|
96
|
-
TestEquipmentAvailability: zod.z.string().describe("Test equipment availability"),
|
|
97
|
-
TestEquipmentFallsAsFound: zod.z.string().describe("Test equipment falls as found")
|
|
76
|
+
DescribedRepairs: zod.z.string().describe("Description of repairs performed").nullable(),
|
|
77
|
+
EquipmentAsFound: zod.z.string().describe("Equipment reading as found").nullable(),
|
|
78
|
+
ToleranceComment: zod.z.string().describe("Comments on tolerance").nullable(),
|
|
79
|
+
TypesMeasurement: zod.z.string().describe("Types of measurement").nullable(),
|
|
80
|
+
ConditionReceived: zod.z.string().describe("Equipment condition when received").nullable(),
|
|
81
|
+
AdditionalComments: zod.z.string().describe("Additional comments").nullable(),
|
|
82
|
+
CalibrationDueDate: zod.z.string().describe("Calibration due date (ISO 8601)").nullable(),
|
|
83
|
+
FitIntendedPurpose: zod.z.string().describe("Fit intended purpose").nullable(),
|
|
84
|
+
NextCalibrationDue: zod.z.string().describe("Next calibration due (ISO 8601)").nullable(),
|
|
85
|
+
SignaturePublicKey: zod.z.string().describe("Public key used for signature").nullable(),
|
|
86
|
+
TestEquipmentFalls: zod.z.string().describe("Test equipment falls").nullable(),
|
|
87
|
+
ToleranceCondition: zod.z.string().describe("Tolerance condition").nullable(),
|
|
88
|
+
AdjustmentsRequired: zod.z.string().describe("Adjustments required for calibration").nullable(),
|
|
89
|
+
AppropriateNotified: zod.z.string().describe("Appropriate parties notified").nullable(),
|
|
90
|
+
CalibrationTestMode: zod.z.string().describe("Calibration test mode").nullable(),
|
|
91
|
+
LastCalibrationDate: zod.z.string().describe("Last calibration date (ISO 8601)").nullable(),
|
|
92
|
+
CalibrationEnvironment: zod.z.string().describe("Calibration environment").nullable(),
|
|
93
|
+
CalibrationTechinician: zod.z.string().describe("Calibration technician name").nullable(),
|
|
94
|
+
CalibrationInstructions: zod.z.string().describe("Calibration instructions").nullable(),
|
|
95
|
+
ExernalCalibrationRecord: zod.z.string().describe("External calibration record reference").nullable(),
|
|
96
|
+
TestEquipmentAvailability: zod.z.string().describe("Test equipment availability").nullable(),
|
|
97
|
+
TestEquipmentFallsAsFound: zod.z.string().describe("Test equipment falls as found").nullable()
|
|
98
98
|
});
|
|
99
99
|
const GagelistGetSingleCalibrationRecordOutput = zod.z.object({
|
|
100
100
|
data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),
|
|
101
|
-
message: zod.z.string().describe("API-returned message"),
|
|
102
|
-
success: zod.z.boolean().describe("Indicates if the operation was successful")
|
|
101
|
+
message: zod.z.string().describe("API-returned message").nullable(),
|
|
102
|
+
success: zod.z.boolean().describe("Indicates if the operation was successful").nullable()
|
|
103
103
|
}).describe("Response schema for GET_SINGLE_CALIBRATION_RECORD action.");
|
|
104
104
|
const gagelistGetSingleCalibrationRecord = require_action.action("GAGELIST_GET_SINGLE_CALIBRATION_RECORD", {
|
|
105
105
|
slug: "gagelist-get-single-calibration-record",
|
|
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\"),\n FileName: z.string().describe(\"Original file name\"),\n FileSize: z.number().int().describe(\"Size in bytes\"),\n FileType: z.string().describe(\"MIME type or extension\"),\n RecordId: z.number().int().describe(\"Parent record ID\"),\n RecordType: z.string().describe(\"Type of record this attachment belongs to\"),\n});\nconst GagelistGetSingleCalibrationRecord_CounterValueItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Counter value unique identifier\"),\n RefID: z.number().int().describe(\"Reference record ID\"),\n FieldId: z.number().int().describe(\"Field definition identifier\"),\n RefType: z.number().int().describe(\"Reference record type\"),\n FieldValue: z.string().describe(\"Stored field value\"),\n UpdatedDate: z.string().describe(\"Timestamp when the value was last updated\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Test record unique identifier\"),\n AsLeft: z.string().describe(\"Value after adjustment\"),\n AsFound: z.string().describe(\"Value found before adjustment\"),\n PassFail: z.string().describe(\"Pass or Fail result\"),\n ChkAsLeft: z.string().describe(\"Check value after adjustment\"),\n Parameter: z.string().describe(\"Parameter under test\"),\n TestNumber: z.string().describe(\"Sequential test number\"),\n RefStandardID: z.string().describe(\"Reference standard identifier\"),\n ExpectedResult: z.string().describe(\"Expected outcome/value\"),\n CalibrationRefId: z.number().int().describe(\"Reference to parent calibration record\"),\n});\nconst GagelistGetSingleCalibrationRecord_CalibrationRecordSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Calibration record identifier\"),\n Days: z.number().int().describe(\"Days component of interval\"),\n Type: z.string().describe(\"Type of calibration\"),\n Model: z.string().describe(\"Model number\"),\n Years: z.number().int().describe(\"Years component of interval\"),\n Months: z.number().int().describe(\"Months component of interval\"),\n AssetNo: z.string().describe(\"Asset number\"),\n Website: z.string().describe(\"Manufacturer website\"),\n Interval: z.string().describe(\"Calibration interval description\"),\n IsSigned: z.boolean().describe(\"Flag indicating if record is signed\"),\n Location: z.string().describe(\"Location of the equipment\"),\n SignedBy: z.string().describe(\"User who signed the record\"),\n TestCost: z.string().describe(\"Test cost\"),\n TestTime: z.string().describe(\"Test time\"),\n CreatedBy: z.string().describe(\"User who created the record\"),\n IsDeleted: z.boolean().describe(\"Flag indicating if record is deleted\"),\n SignedPDF: z.string().describe(\"Signed PDF document URL or data\"),\n Tolerance: z.string().describe(\"Tolerance specification\"),\n UpdatedBy: z.string().describe(\"User who last updated the record\"),\n SignedDate: z.string().describe(\"Date record was signed (ISO 8601)\"),\n Attachments: z.array(GagelistGetSingleCalibrationRecord_AttachmentItemSchema).default([]).describe(\"List of file attachments\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Range or size of measurement\"),\n Uncertainty: z.string().describe(\"Measurement uncertainty\"),\n UpdatedDate: z.string().describe(\"Date when record was last updated (ISO 8601)\"),\n Manufacturer: z.string().describe(\"Manufacturer name\"),\n RecordNumber: z.string().describe(\"Record number assigned\"),\n SerialNumber: z.string().describe(\"Serial number\"),\n ControlNumber: z.string().describe(\"Control number\"),\n CounterValues: z.array(GagelistGetSingleCalibrationRecord_CounterValueItemSchema).default([]).describe(\"List of counter values\").nullable().optional(),\n SignatureData: z.string().describe(\"Signature data\"),\n UnitOfMeasure: z.string().describe(\"Unit of measure\"),\n ActionRequired: z.string().describe(\"Action required post calibration\"),\n DateCalibrated: z.string().describe(\"Date calibrated (ISO 8601)\"),\n EquipmentRefId: z.number().int().describe(\"Equipment reference ID\"),\n MasterStandard: z.string().describe(\"Master standard used\"),\n CalibrationDate: z.string().describe(\"Date of calibration (ISO 8601)\"),\n CalibrationTest: z.string().describe(\"Calibration test procedures\"),\n EquipmentAsLeft: z.string().describe(\"Equipment reading as left\"),\n ProductRecalled: z.string().describe(\"Product recall status\"),\n RepairsRequired: z.string().describe(\"Repairs required\"),\n ResponsibleUser: z.string().describe(\"User responsible for calibration\"),\n CalibrationTests: z.array(GagelistGetSingleCalibrationRecord_CalibrationTestItemSchema).default([]).describe(\"List of individual test details\").nullable().optional(),\n DescribedRepairs: z.string().describe(\"Description of repairs performed\"),\n EquipmentAsFound: z.string().describe(\"Equipment reading as found\"),\n ToleranceComment: z.string().describe(\"Comments on tolerance\"),\n TypesMeasurement: z.string().describe(\"Types of measurement\"),\n ConditionReceived: z.string().describe(\"Equipment condition when received\"),\n AdditionalComments: z.string().describe(\"Additional comments\"),\n CalibrationDueDate: z.string().describe(\"Calibration due date (ISO 8601)\"),\n FitIntendedPurpose: z.string().describe(\"Fit intended purpose\"),\n NextCalibrationDue: z.string().describe(\"Next calibration due (ISO 8601)\"),\n SignaturePublicKey: z.string().describe(\"Public key used for signature\"),\n TestEquipmentFalls: z.string().describe(\"Test equipment falls\"),\n ToleranceCondition: z.string().describe(\"Tolerance condition\"),\n AdjustmentsRequired: z.string().describe(\"Adjustments required for calibration\"),\n AppropriateNotified: z.string().describe(\"Appropriate parties notified\"),\n CalibrationTestMode: z.string().describe(\"Calibration test mode\"),\n LastCalibrationDate: z.string().describe(\"Last calibration date (ISO 8601)\"),\n CalibrationEnvironment: z.string().describe(\"Calibration environment\"),\n CalibrationTechinician: z.string().describe(\"Calibration technician name\"),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\"),\n ExernalCalibrationRecord: z.string().describe(\"External calibration record reference\"),\n TestEquipmentAvailability: z.string().describe(\"Test equipment availability\"),\n TestEquipmentFallsAsFound: z.string().describe(\"Test equipment falls as found\"),\n});\nexport const GagelistGetSingleCalibrationRecordOutput: z.ZodTypeAny = z.object({\n data: GagelistGetSingleCalibrationRecord_CalibrationRecordSchema.nullable(),\n message: z.string().describe(\"API-returned message\"),\n success: z.boolean().describe(\"Indicates if the operation was successful\"),\n}).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.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;CAC7E,MAAM,2DAA2D,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACnD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,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 { 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});\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});\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});\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});\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}).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,MAA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;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,SAAS,2DAA2D;AAEvE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,107 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-single-calibration-record.d.ts
|
|
4
|
-
declare const GagelistGetSingleCalibrationRecordInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GagelistGetSingleCalibrationRecordInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const GagelistGetSingleCalibrationRecordOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
Days: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
Type: z.ZodNullable<z.ZodString>;
|
|
12
|
+
Model: z.ZodNullable<z.ZodString>;
|
|
13
|
+
Years: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
Months: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
AssetNo: z.ZodNullable<z.ZodString>;
|
|
16
|
+
Website: z.ZodNullable<z.ZodString>;
|
|
17
|
+
Interval: z.ZodNullable<z.ZodString>;
|
|
18
|
+
IsSigned: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
Location: z.ZodNullable<z.ZodString>;
|
|
20
|
+
SignedBy: z.ZodNullable<z.ZodString>;
|
|
21
|
+
TestCost: z.ZodNullable<z.ZodString>;
|
|
22
|
+
TestTime: z.ZodNullable<z.ZodString>;
|
|
23
|
+
CreatedBy: z.ZodNullable<z.ZodString>;
|
|
24
|
+
IsDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
SignedPDF: z.ZodNullable<z.ZodString>;
|
|
26
|
+
Tolerance: z.ZodNullable<z.ZodString>;
|
|
27
|
+
UpdatedBy: z.ZodNullable<z.ZodString>;
|
|
28
|
+
SignedDate: z.ZodNullable<z.ZodString>;
|
|
29
|
+
Attachments: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
30
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
FileName: z.ZodNullable<z.ZodString>;
|
|
32
|
+
FileSize: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
FileType: z.ZodNullable<z.ZodString>;
|
|
34
|
+
RecordId: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
RecordType: z.ZodNullable<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>>>>;
|
|
37
|
+
RangeOrSize: z.ZodNullable<z.ZodString>;
|
|
38
|
+
Uncertainty: z.ZodNullable<z.ZodString>;
|
|
39
|
+
UpdatedDate: z.ZodNullable<z.ZodString>;
|
|
40
|
+
Manufacturer: z.ZodNullable<z.ZodString>;
|
|
41
|
+
RecordNumber: z.ZodNullable<z.ZodString>;
|
|
42
|
+
SerialNumber: z.ZodNullable<z.ZodString>;
|
|
43
|
+
ControlNumber: z.ZodNullable<z.ZodString>;
|
|
44
|
+
CounterValues: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
45
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
RefID: z.ZodNullable<z.ZodNumber>;
|
|
47
|
+
FieldId: z.ZodNullable<z.ZodNumber>;
|
|
48
|
+
RefType: z.ZodNullable<z.ZodNumber>;
|
|
49
|
+
FieldValue: z.ZodNullable<z.ZodString>;
|
|
50
|
+
UpdatedDate: z.ZodNullable<z.ZodString>;
|
|
51
|
+
}, z.core.$strip>>>>>;
|
|
52
|
+
SignatureData: z.ZodNullable<z.ZodString>;
|
|
53
|
+
UnitOfMeasure: z.ZodNullable<z.ZodString>;
|
|
54
|
+
ActionRequired: z.ZodNullable<z.ZodString>;
|
|
55
|
+
DateCalibrated: z.ZodNullable<z.ZodString>;
|
|
56
|
+
EquipmentRefId: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
MasterStandard: z.ZodNullable<z.ZodString>;
|
|
58
|
+
CalibrationDate: z.ZodNullable<z.ZodString>;
|
|
59
|
+
CalibrationTest: z.ZodNullable<z.ZodString>;
|
|
60
|
+
EquipmentAsLeft: z.ZodNullable<z.ZodString>;
|
|
61
|
+
ProductRecalled: z.ZodNullable<z.ZodString>;
|
|
62
|
+
RepairsRequired: z.ZodNullable<z.ZodString>;
|
|
63
|
+
ResponsibleUser: z.ZodNullable<z.ZodString>;
|
|
64
|
+
CalibrationTests: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
65
|
+
Id: z.ZodNullable<z.ZodNumber>;
|
|
66
|
+
AsLeft: z.ZodNullable<z.ZodString>;
|
|
67
|
+
AsFound: z.ZodNullable<z.ZodString>;
|
|
68
|
+
PassFail: z.ZodNullable<z.ZodString>;
|
|
69
|
+
ChkAsLeft: z.ZodNullable<z.ZodString>;
|
|
70
|
+
Parameter: z.ZodNullable<z.ZodString>;
|
|
71
|
+
TestNumber: z.ZodNullable<z.ZodString>;
|
|
72
|
+
RefStandardID: z.ZodNullable<z.ZodString>;
|
|
73
|
+
ExpectedResult: z.ZodNullable<z.ZodString>;
|
|
74
|
+
CalibrationRefId: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
}, z.core.$strip>>>>>;
|
|
76
|
+
DescribedRepairs: z.ZodNullable<z.ZodString>;
|
|
77
|
+
EquipmentAsFound: z.ZodNullable<z.ZodString>;
|
|
78
|
+
ToleranceComment: z.ZodNullable<z.ZodString>;
|
|
79
|
+
TypesMeasurement: z.ZodNullable<z.ZodString>;
|
|
80
|
+
ConditionReceived: z.ZodNullable<z.ZodString>;
|
|
81
|
+
AdditionalComments: z.ZodNullable<z.ZodString>;
|
|
82
|
+
CalibrationDueDate: z.ZodNullable<z.ZodString>;
|
|
83
|
+
FitIntendedPurpose: z.ZodNullable<z.ZodString>;
|
|
84
|
+
NextCalibrationDue: z.ZodNullable<z.ZodString>;
|
|
85
|
+
SignaturePublicKey: z.ZodNullable<z.ZodString>;
|
|
86
|
+
TestEquipmentFalls: z.ZodNullable<z.ZodString>;
|
|
87
|
+
ToleranceCondition: z.ZodNullable<z.ZodString>;
|
|
88
|
+
AdjustmentsRequired: z.ZodNullable<z.ZodString>;
|
|
89
|
+
AppropriateNotified: z.ZodNullable<z.ZodString>;
|
|
90
|
+
CalibrationTestMode: z.ZodNullable<z.ZodString>;
|
|
91
|
+
LastCalibrationDate: z.ZodNullable<z.ZodString>;
|
|
92
|
+
CalibrationEnvironment: z.ZodNullable<z.ZodString>;
|
|
93
|
+
CalibrationTechinician: z.ZodNullable<z.ZodString>;
|
|
94
|
+
CalibrationInstructions: z.ZodNullable<z.ZodString>;
|
|
95
|
+
ExernalCalibrationRecord: z.ZodNullable<z.ZodString>;
|
|
96
|
+
TestEquipmentAvailability: z.ZodNullable<z.ZodString>;
|
|
97
|
+
TestEquipmentFallsAsFound: z.ZodNullable<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
message: z.ZodNullable<z.ZodString>;
|
|
100
|
+
success: z.ZodNullable<z.ZodBoolean>;
|
|
101
|
+
}, z.core.$strip>;
|
|
102
|
+
declare const gagelistGetSingleCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
103
|
+
id: number;
|
|
104
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
105
|
//#endregion
|
|
8
106
|
export { gagelistGetSingleCalibrationRecord };
|
|
9
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":";;;cAIa,uCAAA,
|
|
1
|
+
{"version":3,"file":"get-single-calibration-record.d.cts","names":[],"sources":["../../src/actions/get-single-calibration-record.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAiGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMxC,kCAAA,gCAAkC,wBAAA"}
|