@keystrokehq/gagelist 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-calibration-record.cjs +3 -3
  5. package/dist/actions/add-calibration-record.cjs.map +1 -1
  6. package/dist/actions/add-calibration-record.d.cts +187 -3
  7. package/dist/actions/add-calibration-record.d.cts.map +1 -1
  8. package/dist/actions/add-calibration-record.d.mts +187 -3
  9. package/dist/actions/add-calibration-record.d.mts.map +1 -1
  10. package/dist/actions/add-calibration-record.mjs +3 -3
  11. package/dist/actions/add-calibration-record.mjs.map +1 -1
  12. package/dist/actions/add-gage-record.cjs +3 -3
  13. package/dist/actions/add-gage-record.cjs.map +1 -1
  14. package/dist/actions/add-gage-record.d.cts +119 -3
  15. package/dist/actions/add-gage-record.d.cts.map +1 -1
  16. package/dist/actions/add-gage-record.d.mts +119 -3
  17. package/dist/actions/add-gage-record.d.mts.map +1 -1
  18. package/dist/actions/add-gage-record.mjs +3 -3
  19. package/dist/actions/add-gage-record.mjs.map +1 -1
  20. package/dist/actions/add-manufacturer.cjs +3 -3
  21. package/dist/actions/add-manufacturer.cjs.map +1 -1
  22. package/dist/actions/add-manufacturer.d.cts +25 -3
  23. package/dist/actions/add-manufacturer.d.cts.map +1 -1
  24. package/dist/actions/add-manufacturer.d.mts +25 -3
  25. package/dist/actions/add-manufacturer.d.mts.map +1 -1
  26. package/dist/actions/add-manufacturer.mjs +3 -3
  27. package/dist/actions/add-manufacturer.mjs.map +1 -1
  28. package/dist/actions/authenticate-with-gagelist.cjs +9 -9
  29. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  30. package/dist/actions/authenticate-with-gagelist.d.cts +29 -3
  31. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
  32. package/dist/actions/authenticate-with-gagelist.d.mts +29 -3
  33. package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
  34. package/dist/actions/authenticate-with-gagelist.mjs +9 -9
  35. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  36. package/dist/actions/delete-calibration-record.cjs +3 -3
  37. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  38. package/dist/actions/delete-calibration-record.d.cts +15 -3
  39. package/dist/actions/delete-calibration-record.d.cts.map +1 -1
  40. package/dist/actions/delete-calibration-record.d.mts +15 -3
  41. package/dist/actions/delete-calibration-record.d.mts.map +1 -1
  42. package/dist/actions/delete-calibration-record.mjs +3 -3
  43. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  44. package/dist/actions/delete-gage-record.cjs +3 -3
  45. package/dist/actions/delete-gage-record.cjs.map +1 -1
  46. package/dist/actions/delete-gage-record.d.cts +15 -3
  47. package/dist/actions/delete-gage-record.d.cts.map +1 -1
  48. package/dist/actions/delete-gage-record.d.mts +15 -3
  49. package/dist/actions/delete-gage-record.d.mts.map +1 -1
  50. package/dist/actions/delete-gage-record.mjs +3 -3
  51. package/dist/actions/delete-gage-record.mjs.map +1 -1
  52. package/dist/actions/delete-manufacturer.cjs +3 -3
  53. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  54. package/dist/actions/delete-manufacturer.d.cts +15 -3
  55. package/dist/actions/delete-manufacturer.d.cts.map +1 -1
  56. package/dist/actions/delete-manufacturer.d.mts +15 -3
  57. package/dist/actions/delete-manufacturer.d.mts.map +1 -1
  58. package/dist/actions/delete-manufacturer.mjs +3 -3
  59. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  60. package/dist/actions/generate-calibration-certificate.cjs +3 -3
  61. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  62. package/dist/actions/generate-calibration-certificate.d.cts +19 -3
  63. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
  64. package/dist/actions/generate-calibration-certificate.d.mts +19 -3
  65. package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
  66. package/dist/actions/generate-calibration-certificate.mjs +3 -3
  67. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  68. package/dist/actions/get-account-settings.cjs +16 -16
  69. package/dist/actions/get-account-settings.cjs.map +1 -1
  70. package/dist/actions/get-account-settings.d.cts +75 -3
  71. package/dist/actions/get-account-settings.d.cts.map +1 -1
  72. package/dist/actions/get-account-settings.d.mts +75 -3
  73. package/dist/actions/get-account-settings.d.mts.map +1 -1
  74. package/dist/actions/get-account-settings.mjs +16 -16
  75. package/dist/actions/get-account-settings.mjs.map +1 -1
  76. package/dist/actions/get-account-status.cjs +51 -51
  77. package/dist/actions/get-account-status.cjs.map +1 -1
  78. package/dist/actions/get-account-status.d.cts +145 -3
  79. package/dist/actions/get-account-status.d.cts.map +1 -1
  80. package/dist/actions/get-account-status.d.mts +145 -3
  81. package/dist/actions/get-account-status.d.mts.map +1 -1
  82. package/dist/actions/get-account-status.mjs +51 -51
  83. package/dist/actions/get-account-status.mjs.map +1 -1
  84. package/dist/actions/get-all-calibration-records.cjs +69 -69
  85. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  86. package/dist/actions/get-all-calibration-records.d.cts +151 -3
  87. package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
  88. package/dist/actions/get-all-calibration-records.d.mts +151 -3
  89. package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
  90. package/dist/actions/get-all-calibration-records.mjs +69 -69
  91. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  92. package/dist/actions/get-all-gage-records.cjs +48 -48
  93. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  94. package/dist/actions/get-all-gage-records.d.cts +109 -3
  95. package/dist/actions/get-all-gage-records.d.cts.map +1 -1
  96. package/dist/actions/get-all-gage-records.d.mts +109 -3
  97. package/dist/actions/get-all-gage-records.d.mts.map +1 -1
  98. package/dist/actions/get-all-gage-records.mjs +48 -48
  99. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  100. package/dist/actions/get-all-manufacturers.cjs +12 -12
  101. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  102. package/dist/actions/get-all-manufacturers.d.cts +33 -3
  103. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  104. package/dist/actions/get-all-manufacturers.d.mts +33 -3
  105. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  106. package/dist/actions/get-all-manufacturers.mjs +12 -12
  107. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  108. package/dist/actions/get-attachment.cjs +3 -3
  109. package/dist/actions/get-attachment.cjs.map +1 -1
  110. package/dist/actions/get-attachment.d.cts +19 -3
  111. package/dist/actions/get-attachment.d.cts.map +1 -1
  112. package/dist/actions/get-attachment.d.mts +19 -3
  113. package/dist/actions/get-attachment.d.mts.map +1 -1
  114. package/dist/actions/get-attachment.mjs +3 -3
  115. package/dist/actions/get-attachment.mjs.map +1 -1
  116. package/dist/actions/get-custom-fields.cjs +21 -21
  117. package/dist/actions/get-custom-fields.cjs.map +1 -1
  118. package/dist/actions/get-custom-fields.d.cts +51 -3
  119. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  120. package/dist/actions/get-custom-fields.d.mts +51 -3
  121. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  122. package/dist/actions/get-custom-fields.mjs +21 -21
  123. package/dist/actions/get-custom-fields.mjs.map +1 -1
  124. package/dist/actions/get-single-calibration-record.cjs +88 -88
  125. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  126. package/dist/actions/get-single-calibration-record.d.cts +195 -3
  127. package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
  128. package/dist/actions/get-single-calibration-record.d.mts +195 -3
  129. package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
  130. package/dist/actions/get-single-calibration-record.mjs +88 -88
  131. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  132. package/dist/actions/get-single-gage-record.cjs +54 -54
  133. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  134. package/dist/actions/get-single-gage-record.d.cts +123 -3
  135. package/dist/actions/get-single-gage-record.d.cts.map +1 -1
  136. package/dist/actions/get-single-gage-record.d.mts +123 -3
  137. package/dist/actions/get-single-gage-record.d.mts.map +1 -1
  138. package/dist/actions/get-single-gage-record.mjs +54 -54
  139. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  140. package/dist/actions/update-account-settings.cjs +2 -2
  141. package/dist/actions/update-account-settings.cjs.map +1 -1
  142. package/dist/actions/update-account-settings.d.cts +73 -3
  143. package/dist/actions/update-account-settings.d.cts.map +1 -1
  144. package/dist/actions/update-account-settings.d.mts +73 -3
  145. package/dist/actions/update-account-settings.d.mts.map +1 -1
  146. package/dist/actions/update-account-settings.mjs +2 -2
  147. package/dist/actions/update-account-settings.mjs.map +1 -1
  148. package/dist/actions/update-custom-field-values.cjs +2 -2
  149. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  150. package/dist/actions/update-custom-field-values.d.cts +29 -3
  151. package/dist/actions/update-custom-field-values.d.cts.map +1 -1
  152. package/dist/actions/update-custom-field-values.d.mts +29 -3
  153. package/dist/actions/update-custom-field-values.d.mts.map +1 -1
  154. package/dist/actions/update-custom-field-values.mjs +2 -2
  155. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  156. package/dist/actions/update-manufacturer.cjs +3 -3
  157. package/dist/actions/update-manufacturer.cjs.map +1 -1
  158. package/dist/actions/update-manufacturer.d.cts +25 -3
  159. package/dist/actions/update-manufacturer.d.cts.map +1 -1
  160. package/dist/actions/update-manufacturer.d.mts +25 -3
  161. package/dist/actions/update-manufacturer.d.mts.map +1 -1
  162. package/dist/actions/update-manufacturer.mjs +3 -3
  163. package/dist/actions/update-manufacturer.mjs.map +1 -1
  164. package/dist/actions/upload-attachment-to-gage-record.cjs +3 -3
  165. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  166. package/dist/actions/upload-attachment-to-gage-record.d.cts +25 -3
  167. package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
  168. package/dist/actions/upload-attachment-to-gage-record.d.mts +25 -3
  169. package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
  170. package/dist/actions/upload-attachment-to-gage-record.mjs +3 -3
  171. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  172. package/dist/execute.cjs +1 -1
  173. package/dist/execute.cjs.map +1 -1
  174. package/dist/execute.mjs +1 -1
  175. package/dist/execute.mjs.map +1 -1
  176. package/package.json +2 -2
@@ -1,9 +1,115 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-all-gage-records.d.ts
4
- declare const GagelistGetAllGageRecordsInput: z.ZodTypeAny;
5
- declare const GagelistGetAllGageRecordsOutput: z.ZodTypeAny;
6
- declare const gagelistGetAllGageRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGetAllGageRecordsInput: z.ZodObject<{
5
+ start: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ record_number: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const GagelistGetAllGageRecordsOutput: z.ZodObject<{
9
+ data: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
10
+ Id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
11
+ Area: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
12
+ Days: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
13
+ Type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
+ Model: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
+ Years: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
16
+ Months: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
17
+ Status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ AssetNo: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ Website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
20
+ Interval: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
+ Location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
+ CreatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
23
+ ImageName: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
24
+ IsDeleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
25
+ Tolerance: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
+ UpdatedBy: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
+ NISTNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
+ Attachments: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
+ CreatedDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
+ DateAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
+ RangeOrSize: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
+ UpdatedDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
+ Manufacturer: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ SerialNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
+ ControlNumber: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
+ PurchasePrice: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
37
+ UnitOfMeasure: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
38
+ MasterStandard: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
+ SourceOrVendor: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
+ ResponsibleUser: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
+ CalibrationCount: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
42
+ ConditionAquired: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
43
+ IntervalCategory: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
44
+ NotificationList: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
45
+ OtherInformation: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
46
+ TypesMeasurement: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
+ CalibrationDueDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
+ CalibrationTestMode: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
+ LastCalibrationDate: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
+ CalibrationEnvironment: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
+ LastCalibrationDateStr: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
+ CalibrationInstructions: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
53
+ }, z.core.$strip>>>>;
54
+ count: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
55
+ total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
56
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
57
+ success: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
58
+ }, z.core.$strip>;
59
+ declare const gagelistGetAllGageRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
60
+ record_number: number;
61
+ start?: number | undefined;
62
+ }, {
63
+ data?: {
64
+ Id?: number | undefined;
65
+ Area?: string | undefined;
66
+ Days?: number | undefined;
67
+ Type?: string | undefined;
68
+ Model?: string | undefined;
69
+ Years?: number | undefined;
70
+ Months?: number | undefined;
71
+ Status?: string | undefined;
72
+ AssetNo?: string | undefined;
73
+ Website?: string | undefined;
74
+ Interval?: string | undefined;
75
+ Location?: string | undefined;
76
+ CreatedBy?: string | undefined;
77
+ ImageName?: string | undefined;
78
+ IsDeleted?: boolean | undefined;
79
+ Tolerance?: string | undefined;
80
+ UpdatedBy?: string | undefined;
81
+ NISTNumber?: string | undefined;
82
+ Attachments?: string | undefined;
83
+ CreatedDate?: string | undefined;
84
+ DateAquired?: string | undefined;
85
+ RangeOrSize?: string | undefined;
86
+ UpdatedDate?: string | undefined;
87
+ Manufacturer?: string | undefined;
88
+ SerialNumber?: string | undefined;
89
+ ControlNumber?: string | undefined;
90
+ PurchasePrice?: number | undefined;
91
+ UnitOfMeasure?: string | undefined;
92
+ MasterStandard?: string | undefined;
93
+ SourceOrVendor?: string | undefined;
94
+ ResponsibleUser?: string | undefined;
95
+ CalibrationCount?: number | undefined;
96
+ ConditionAquired?: string | undefined;
97
+ IntervalCategory?: string | undefined;
98
+ NotificationList?: string | undefined;
99
+ OtherInformation?: string | undefined;
100
+ TypesMeasurement?: string | undefined;
101
+ CalibrationDueDate?: string | undefined;
102
+ CalibrationTestMode?: string | undefined;
103
+ LastCalibrationDate?: string | undefined;
104
+ CalibrationEnvironment?: string | undefined;
105
+ LastCalibrationDateStr?: string | undefined;
106
+ CalibrationInstructions?: string | undefined;
107
+ }[] | undefined;
108
+ count?: number | undefined;
109
+ total?: number | undefined;
110
+ message?: string | undefined;
111
+ success?: boolean | undefined;
112
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
113
  //#endregion
8
114
  export { gagelistGetAllGageRecords };
9
115
  //# sourceMappingURL=get-all-gage-records.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-gage-records.d.mts","names":[],"sources":["../../src/actions/get-all-gage-records.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGmC;AAAA,cA8CrE,+BAAA,EAAiC,CAAA,CAAE,UAM9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-gage-records.d.mts","names":[],"sources":["../../src/actions/get-all-gage-records.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAiD9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ/B,yBAAA,gCAAyB,wBAAA"}
@@ -6,49 +6,49 @@ const GagelistGetAllGageRecordsInput = z.object({
6
6
  record_number: z.number().int().describe("Number of records to retrieve.")
7
7
  }).describe("Request parameters for retrieving a paginated list of gage records.");
8
8
  const GagelistGetAllGageRecords_GageRecordSchema = z.object({
9
- Id: z.number().int().describe("Record ID").nullable().optional(),
10
- Area: z.string().describe("Area of usage").nullable().optional(),
11
- Days: z.number().int().describe("Days component of interval").nullable().optional(),
12
- Type: z.string().describe("Gage type").nullable().optional(),
13
- Model: z.string().describe("Model number").nullable().optional(),
14
- Years: z.number().int().describe("Years component of interval").nullable().optional(),
15
- Months: z.number().int().describe("Months component of interval").nullable().optional(),
16
- Status: z.string().describe("Current status of the gage").nullable().optional(),
17
- AssetNo: z.string().describe("Asset number").nullable().optional(),
18
- Website: z.string().describe("Manufacturer website").nullable().optional(),
19
- Interval: z.string().describe("Calibration interval").nullable().optional(),
20
- Location: z.string().describe("Current location").nullable().optional(),
21
- CreatedBy: z.string().describe("User who created record").nullable().optional(),
22
- ImageName: z.string().describe("Image file name").nullable().optional(),
23
- IsDeleted: z.boolean().describe("Deletion flag").nullable().optional(),
24
- Tolerance: z.string().describe("Tolerance specification").nullable().optional(),
25
- UpdatedBy: z.string().describe("User who last updated record").nullable().optional(),
26
- NISTNumber: z.string().describe("NIST number").nullable().optional(),
27
- Attachments: z.string().describe("Attachments info or URLs").nullable().optional(),
28
- CreatedDate: z.string().describe("Creation date of record").nullable().optional(),
29
- DateAquired: z.string().describe("Date acquired").nullable().optional(),
30
- RangeOrSize: z.string().describe("Measurement range or size").nullable().optional(),
31
- UpdatedDate: z.string().describe("Last update date").nullable().optional(),
32
- Manufacturer: z.string().describe("Manufacturer name").nullable().optional(),
33
- SerialNumber: z.string().describe("Serial number").nullable().optional(),
34
- ControlNumber: z.string().describe("Control number assigned").nullable().optional(),
35
- PurchasePrice: z.number().describe("Purchase price").nullable().optional(),
36
- UnitOfMeasure: z.string().describe("Unit of measure").nullable().optional(),
37
- MasterStandard: z.string().describe("Master standard used").nullable().optional(),
38
- SourceOrVendor: z.string().describe("Source or vendor from which acquired").nullable().optional(),
39
- ResponsibleUser: z.string().describe("User responsible").nullable().optional(),
40
- CalibrationCount: z.number().int().describe("Number of calibrations performed").nullable().optional(),
41
- ConditionAquired: z.string().describe("Condition when acquired").nullable().optional(),
42
- IntervalCategory: z.string().describe("Interval category").nullable().optional(),
43
- NotificationList: z.string().describe("List of notifications recipients").nullable().optional(),
44
- OtherInformation: z.string().describe("Other information").nullable().optional(),
45
- TypesMeasurement: z.string().describe("Measurement types").nullable().optional(),
46
- CalibrationDueDate: z.string().describe("Next calibration due date").nullable().optional(),
47
- CalibrationTestMode: z.string().describe("Test mode used").nullable().optional(),
48
- LastCalibrationDate: z.string().describe("Last calibration date").nullable().optional(),
49
- CalibrationEnvironment: z.string().describe("Environment details for calibration").nullable().optional(),
50
- LastCalibrationDateStr: z.string().describe("Last calibration date (formatted string)").nullable().optional(),
51
- CalibrationInstructions: z.string().describe("Calibration instructions").nullable().optional()
9
+ Id: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Record ID").optional()),
10
+ Area: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Area of usage").optional()),
11
+ Days: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Days component of interval").optional()),
12
+ Type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Gage type").optional()),
13
+ Model: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Model number").optional()),
14
+ Years: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Years component of interval").optional()),
15
+ Months: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Months component of interval").optional()),
16
+ Status: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current status of the gage").optional()),
17
+ AssetNo: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Asset number").optional()),
18
+ Website: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Manufacturer website").optional()),
19
+ Interval: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Calibration interval").optional()),
20
+ Location: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Current location").optional()),
21
+ CreatedBy: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User who created record").optional()),
22
+ ImageName: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Image file name").optional()),
23
+ IsDeleted: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Deletion flag").optional()),
24
+ Tolerance: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Tolerance specification").optional()),
25
+ UpdatedBy: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User who last updated record").optional()),
26
+ NISTNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("NIST number").optional()),
27
+ Attachments: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Attachments info or URLs").optional()),
28
+ CreatedDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Creation date of record").optional()),
29
+ DateAquired: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Date acquired").optional()),
30
+ RangeOrSize: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Measurement range or size").optional()),
31
+ UpdatedDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last update date").optional()),
32
+ Manufacturer: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Manufacturer name").optional()),
33
+ SerialNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Serial number").optional()),
34
+ ControlNumber: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Control number assigned").optional()),
35
+ PurchasePrice: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Purchase price").optional()),
36
+ UnitOfMeasure: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unit of measure").optional()),
37
+ MasterStandard: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Master standard used").optional()),
38
+ SourceOrVendor: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Source or vendor from which acquired").optional()),
39
+ ResponsibleUser: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("User responsible").optional()),
40
+ CalibrationCount: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of calibrations performed").optional()),
41
+ ConditionAquired: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Condition when acquired").optional()),
42
+ IntervalCategory: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Interval category").optional()),
43
+ NotificationList: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("List of notifications recipients").optional()),
44
+ OtherInformation: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Other information").optional()),
45
+ TypesMeasurement: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Measurement types").optional()),
46
+ CalibrationDueDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Next calibration due date").optional()),
47
+ CalibrationTestMode: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Test mode used").optional()),
48
+ LastCalibrationDate: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last calibration date").optional()),
49
+ CalibrationEnvironment: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Environment details for calibration").optional()),
50
+ LastCalibrationDateStr: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last calibration date (formatted string)").optional()),
51
+ CalibrationInstructions: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Calibration instructions").optional())
52
52
  });
53
53
  const gagelistGetAllGageRecords = action("GAGELIST_GET_ALL_GAGE_RECORDS", {
54
54
  slug: "gagelist-get-all-gage-records",
@@ -56,11 +56,11 @@ const gagelistGetAllGageRecords = action("GAGELIST_GET_ALL_GAGE_RECORDS", {
56
56
  description: "Tool to retrieve a paginated list of gage records. Use after confirming the access token.",
57
57
  input: GagelistGetAllGageRecordsInput,
58
58
  output: z.object({
59
- data: z.array(GagelistGetAllGageRecords_GageRecordSchema).describe("Array of gage record objects").nullable().optional(),
60
- count: z.number().int().describe("Number of records returned in this response").nullable().optional(),
61
- total: z.number().int().describe("Total number of gage records available").nullable().optional(),
62
- message: z.string().describe("Server-provided message or error details").nullable().optional(),
63
- success: z.boolean().describe("True if API call succeeded").nullable().optional()
59
+ data: z.preprocess((value) => value === null ? void 0 : value, z.array(GagelistGetAllGageRecords_GageRecordSchema).describe("Array of gage record objects").optional()),
60
+ count: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of records returned in this response").optional()),
61
+ total: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Total number of gage records available").optional()),
62
+ message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Server-provided message or error details").optional()),
63
+ success: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("True if API call succeeded").optional())
64
64
  })
65
65
  });
66
66
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-gage-records.mjs","names":[],"sources":["../../src/actions/get-all-gage-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllGageRecordsInput: z.ZodTypeAny = z.object({\n start: z.number().int().default(0).describe(\"Zero-based index to start listing records.\").optional(),\n record_number: z.number().int().describe(\"Number of records to retrieve.\"),\n}).describe(\"Request parameters for retrieving a paginated list of gage records.\");\nconst GagelistGetAllGageRecords_GageRecordSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Record ID\").nullable().optional(),\n Area: z.string().describe(\"Area of usage\").nullable().optional(),\n Days: z.number().int().describe(\"Days component of interval\").nullable().optional(),\n Type: z.string().describe(\"Gage type\").nullable().optional(),\n Model: z.string().describe(\"Model number\").nullable().optional(),\n Years: z.number().int().describe(\"Years component of interval\").nullable().optional(),\n Months: z.number().int().describe(\"Months component of interval\").nullable().optional(),\n Status: z.string().describe(\"Current status of the gage\").nullable().optional(),\n AssetNo: z.string().describe(\"Asset number\").nullable().optional(),\n Website: z.string().describe(\"Manufacturer website\").nullable().optional(),\n Interval: z.string().describe(\"Calibration interval\").nullable().optional(),\n Location: z.string().describe(\"Current location\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created record\").nullable().optional(),\n ImageName: z.string().describe(\"Image file name\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Deletion flag\").nullable().optional(),\n Tolerance: z.string().describe(\"Tolerance specification\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated record\").nullable().optional(),\n NISTNumber: z.string().describe(\"NIST number\").nullable().optional(),\n Attachments: z.string().describe(\"Attachments info or URLs\").nullable().optional(),\n CreatedDate: z.string().describe(\"Creation date of record\").nullable().optional(),\n DateAquired: z.string().describe(\"Date acquired\").nullable().optional(),\n RangeOrSize: z.string().describe(\"Measurement range or size\").nullable().optional(),\n UpdatedDate: z.string().describe(\"Last update date\").nullable().optional(),\n Manufacturer: z.string().describe(\"Manufacturer name\").nullable().optional(),\n SerialNumber: z.string().describe(\"Serial number\").nullable().optional(),\n ControlNumber: z.string().describe(\"Control number assigned\").nullable().optional(),\n PurchasePrice: z.number().describe(\"Purchase price\").nullable().optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure\").nullable().optional(),\n MasterStandard: z.string().describe(\"Master standard used\").nullable().optional(),\n SourceOrVendor: z.string().describe(\"Source or vendor from which acquired\").nullable().optional(),\n ResponsibleUser: z.string().describe(\"User responsible\").nullable().optional(),\n CalibrationCount: z.number().int().describe(\"Number of calibrations performed\").nullable().optional(),\n ConditionAquired: z.string().describe(\"Condition when acquired\").nullable().optional(),\n IntervalCategory: z.string().describe(\"Interval category\").nullable().optional(),\n NotificationList: z.string().describe(\"List of notifications recipients\").nullable().optional(),\n OtherInformation: z.string().describe(\"Other information\").nullable().optional(),\n TypesMeasurement: z.string().describe(\"Measurement types\").nullable().optional(),\n CalibrationDueDate: z.string().describe(\"Next calibration due date\").nullable().optional(),\n CalibrationTestMode: z.string().describe(\"Test mode used\").nullable().optional(),\n LastCalibrationDate: z.string().describe(\"Last calibration date\").nullable().optional(),\n CalibrationEnvironment: z.string().describe(\"Environment details for calibration\").nullable().optional(),\n LastCalibrationDateStr: z.string().describe(\"Last calibration date (formatted string)\").nullable().optional(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").nullable().optional(),\n});\nexport const GagelistGetAllGageRecordsOutput: z.ZodTypeAny = z.object({\n data: z.array(GagelistGetAllGageRecords_GageRecordSchema).describe(\"Array of gage record objects\").nullable().optional(),\n count: z.number().int().describe(\"Number of records returned in this response\").nullable().optional(),\n total: z.number().int().describe(\"Total number of gage records available\").nullable().optional(),\n message: z.string().describe(\"Server-provided message or error details\").nullable().optional(),\n success: z.boolean().describe(\"True if API call succeeded\").nullable().optional(),\n});\n\nexport const gagelistGetAllGageRecords = action(\"GAGELIST_GET_ALL_GAGE_RECORDS\", {\n slug: \"gagelist-get-all-gage-records\",\n name: \"Get All Gage Records\",\n description: \"Tool to retrieve a paginated list of gage records. Use after confirming the access token.\",\n input: GagelistGetAllGageRecordsInput,\n output: GagelistGetAllGageRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC3E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,E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CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-gage-records.mjs","names":[],"sources":["../../src/actions/get-all-gage-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllGageRecordsInput = z.object({\n start: z.number().int().default(0).describe(\"Zero-based index to start listing records.\").optional(),\n record_number: z.number().int().describe(\"Number of records to retrieve.\"),\n}).describe(\"Request parameters for retrieving a paginated list of gage records.\");\nconst GagelistGetAllGageRecords_GageRecordSchema = z.object({\n Id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Record ID\").optional()),\n Area: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Area of usage\").optional()),\n Days: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Days component of interval\").optional()),\n Type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Gage type\").optional()),\n Model: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Model number\").optional()),\n Years: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Years component of interval\").optional()),\n Months: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Months component of interval\").optional()),\n Status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current status of the gage\").optional()),\n AssetNo: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Asset number\").optional()),\n Website: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Manufacturer website\").optional()),\n Interval: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Calibration interval\").optional()),\n Location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Current location\").optional()),\n CreatedBy: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User who created record\").optional()),\n ImageName: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Image file name\").optional()),\n IsDeleted: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Deletion flag\").optional()),\n Tolerance: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Tolerance specification\").optional()),\n UpdatedBy: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User who last updated record\").optional()),\n NISTNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"NIST number\").optional()),\n Attachments: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Attachments info or URLs\").optional()),\n CreatedDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Creation date of record\").optional()),\n DateAquired: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Date acquired\").optional()),\n RangeOrSize: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Measurement range or size\").optional()),\n UpdatedDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last update date\").optional()),\n Manufacturer: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Manufacturer name\").optional()),\n SerialNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Serial number\").optional()),\n ControlNumber: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Control number assigned\").optional()),\n PurchasePrice: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Purchase price\").optional()),\n UnitOfMeasure: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unit of measure\").optional()),\n MasterStandard: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Master standard used\").optional()),\n SourceOrVendor: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Source or vendor from which acquired\").optional()),\n ResponsibleUser: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"User responsible\").optional()),\n CalibrationCount: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of calibrations performed\").optional()),\n ConditionAquired: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Condition when acquired\").optional()),\n IntervalCategory: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Interval category\").optional()),\n NotificationList: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"List of notifications recipients\").optional()),\n OtherInformation: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Other information\").optional()),\n TypesMeasurement: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Measurement types\").optional()),\n CalibrationDueDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Next calibration due date\").optional()),\n CalibrationTestMode: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Test mode used\").optional()),\n LastCalibrationDate: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last calibration date\").optional()),\n CalibrationEnvironment: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Environment details for calibration\").optional()),\n LastCalibrationDateStr: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last calibration date (formatted string)\").optional()),\n CalibrationInstructions: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Calibration instructions\").optional()),\n});\nexport const GagelistGetAllGageRecordsOutput = z.object({\n data: z.preprocess((value) => (value === null ? undefined : value), z.array(GagelistGetAllGageRecords_GageRecordSchema).describe(\"Array of gage record objects\").optional()),\n count: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of records returned in this response\").optional()),\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of gage records available\").optional()),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Server-provided message or error details\").optional()),\n success: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"True if API call succeeded\").optional()),\n});\n\nexport const gagelistGetAllGageRecords = action(\"GAGELIST_GET_ALL_GAGE_RECORDS\", {\n slug: \"gagelist-get-all-gage-records\",\n name: \"Get All Gage Records\",\n description: \"Tool to retrieve a paginated list of gage records. Use after confirming the access token.\",\n input: GagelistGetAllGageRecordsInput,\n output: GagelistGetAllGageRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;AAC3E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC;CACnH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC;CACnH,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CACtI,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC;CAC/G,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,C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,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EACxJ,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC;EACnJ,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;EACjJ,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC;CACtI,CAOU;AACV,CAAC"}
@@ -3,21 +3,21 @@ let zod = require("zod");
3
3
  //#region src/actions/get-all-manufacturers.ts
4
4
  const GagelistGetAllManufacturersInput = zod.z.object({}).describe("Request model for GET_ALL_MANUFACTURERS. No parameters required.");
5
5
  const GagelistGetAllManufacturers_ManufacturerSchema = zod.z.object({
6
- Id: zod.z.number().int().describe("Unique identifier of the manufacturer"),
7
- Fax: zod.z.string().describe("Fax number of the manufacturer"),
8
- Name: zod.z.string().describe("Name of the manufacturer"),
9
- Phone: zod.z.string().describe("Phone number of the manufacturer"),
10
- Address: zod.z.string().describe("Address of the manufacturer"),
11
- Website: zod.z.string().describe("Website URL of the manufacturer"),
12
- IsDeleted: zod.z.boolean().describe("Indicates if the manufacturer is deleted"),
13
- UpdatedDate: zod.z.string().describe("ISO 8601 datetime when the manufacturer was last updated")
6
+ Id: zod.z.number().int().describe("Unique identifier of the manufacturer").nullable(),
7
+ Fax: zod.z.string().describe("Fax number of the manufacturer").nullable(),
8
+ Name: zod.z.string().describe("Name of the manufacturer").nullable(),
9
+ Phone: zod.z.string().describe("Phone number of the manufacturer").nullable(),
10
+ Address: zod.z.string().describe("Address of the manufacturer").nullable(),
11
+ Website: zod.z.string().describe("Website URL of the manufacturer").nullable(),
12
+ IsDeleted: zod.z.boolean().describe("Indicates if the manufacturer is deleted").nullable(),
13
+ UpdatedDate: zod.z.string().describe("ISO 8601 datetime when the manufacturer was last updated").nullable()
14
14
  }).describe("Manufacturer object returned by GET_ALL_MANUFACTURERS.");
15
15
  const GagelistGetAllManufacturersOutput = zod.z.object({
16
16
  data: zod.z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe("Array of manufacturer objects"),
17
- count: zod.z.number().int().describe("Number of manufacturers returned"),
18
- total: zod.z.number().int().describe("Total number of manufacturers"),
19
- message: zod.z.string().describe("Informational message from the API").nullable().optional(),
20
- success: zod.z.boolean().describe("Indicates if the API call was successful")
17
+ count: zod.z.number().int().describe("Number of manufacturers returned").nullable(),
18
+ total: zod.z.number().int().describe("Total number of manufacturers").nullable(),
19
+ message: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Informational message from the API").optional()),
20
+ success: zod.z.boolean().describe("Indicates if the API call was successful").nullable()
21
21
  }).describe("Response model for GET_ALL_MANUFACTURERS.");
22
22
  const gagelistGetAllManufacturers = require_action.action("GAGELIST_GET_ALL_MANUFACTURERS", {
23
23
  slug: "gagelist-get-all-manufacturers",
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-manufacturers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-manufacturers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllManufacturersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_ALL_MANUFACTURERS. No parameters required.\");\nconst GagelistGetAllManufacturers_ManufacturerSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the manufacturer\"),\n Fax: z.string().describe(\"Fax number of the manufacturer\"),\n Name: z.string().describe(\"Name of the manufacturer\"),\n Phone: z.string().describe(\"Phone number of the manufacturer\"),\n Address: z.string().describe(\"Address of the manufacturer\"),\n Website: z.string().describe(\"Website URL of the manufacturer\"),\n IsDeleted: z.boolean().describe(\"Indicates if the manufacturer is deleted\"),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime when the manufacturer was last updated\"),\n}).describe(\"Manufacturer object returned by GET_ALL_MANUFACTURERS.\");\nexport const GagelistGetAllManufacturersOutput: z.ZodTypeAny = z.object({\n data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe(\"Array of manufacturer objects\"),\n count: z.number().int().describe(\"Number of manufacturers returned\"),\n total: z.number().int().describe(\"Total number of manufacturers\"),\n message: z.string().describe(\"Informational message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the API call was successful\"),\n}).describe(\"Response model for GET_ALL_MANUFACTURERS.\");\n\nexport const gagelistGetAllManufacturers = action(\"GAGELIST_GET_ALL_MANUFACTURERS\", {\n slug: \"gagelist-get-all-manufacturers\",\n name: \"Get All Manufacturers\",\n description: \"Tool to retrieve a list of all manufacturers. Use after obtaining a valid access token. Returns manufacturer details including ID, name, contact information, and timestamps.\",\n input: GagelistGetAllManufacturersInput,\n output: GagelistGetAllManufacturersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtJ,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+BAA+B;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-manufacturers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-manufacturers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllManufacturersInput = z.object({}).describe(\"Request model for GET_ALL_MANUFACTURERS. No parameters required.\");\nconst GagelistGetAllManufacturers_ManufacturerSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the manufacturer\").nullable(),\n Fax: z.string().describe(\"Fax number of the manufacturer\").nullable(),\n Name: z.string().describe(\"Name of the manufacturer\").nullable(),\n Phone: z.string().describe(\"Phone number of the manufacturer\").nullable(),\n Address: z.string().describe(\"Address of the manufacturer\").nullable(),\n Website: z.string().describe(\"Website URL of the manufacturer\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates if the manufacturer is deleted\").nullable(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime when the manufacturer was last updated\").nullable(),\n}).describe(\"Manufacturer object returned by GET_ALL_MANUFACTURERS.\");\nexport const GagelistGetAllManufacturersOutput = z.object({\n data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe(\"Array of manufacturer objects\"),\n count: z.number().int().describe(\"Number of manufacturers returned\").nullable(),\n total: z.number().int().describe(\"Total number of manufacturers\").nullable(),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message from the API\").optional()),\n success: z.boolean().describe(\"Indicates if the API call was successful\").nullable(),\n}).describe(\"Response model for GET_ALL_MANUFACTURERS.\");\n\nexport const gagelistGetAllManufacturers = action(\"GAGELIST_GET_ALL_MANUFACTURERS\", {\n slug: \"gagelist-get-all-manufacturers\",\n name: \"Get All Manufacturers\",\n description: \"Tool to retrieve a list of all manufacturers. Use after obtaining a valid access token. Returns manufacturer details including ID, name, contact information, and timestamps.\",\n input: GagelistGetAllManufacturersInput,\n output: GagelistGetAllManufacturersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+BAA+B;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;CAC3I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-all-manufacturers.d.ts
4
- declare const GagelistGetAllManufacturersInput: z.ZodTypeAny;
5
- declare const GagelistGetAllManufacturersOutput: z.ZodTypeAny;
6
- declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGetAllManufacturersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const GagelistGetAllManufacturersOutput: z.ZodObject<{
6
+ data: z.ZodArray<z.ZodObject<{
7
+ Id: z.ZodNullable<z.ZodNumber>;
8
+ Fax: z.ZodNullable<z.ZodString>;
9
+ Name: z.ZodNullable<z.ZodString>;
10
+ Phone: z.ZodNullable<z.ZodString>;
11
+ Address: z.ZodNullable<z.ZodString>;
12
+ Website: z.ZodNullable<z.ZodString>;
13
+ IsDeleted: z.ZodNullable<z.ZodBoolean>;
14
+ UpdatedDate: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ count: z.ZodNullable<z.ZodNumber>;
17
+ total: z.ZodNullable<z.ZodNumber>;
18
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ success: z.ZodNullable<z.ZodBoolean>;
20
+ }, z.core.$strip>;
21
+ declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
22
+ data: {
23
+ Id: number | null;
24
+ Fax: string | null;
25
+ Name: string | null;
26
+ Phone: string | null;
27
+ Address: string | null;
28
+ Website: string | null;
29
+ IsDeleted: boolean | null;
30
+ UpdatedDate: string | null;
31
+ }[];
32
+ count: number | null;
33
+ total: number | null;
34
+ success: boolean | null;
35
+ message?: string | undefined;
36
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { gagelistGetAllManufacturers };
9
39
  //# sourceMappingURL=get-all-manufacturers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-manufacturers.d.cts","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAsG;AAAA,cAW1I,iCAAA,EAAmC,CAAA,CAAE,UAMM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-manufacturers.d.cts","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-all-manufacturers.d.ts
4
- declare const GagelistGetAllManufacturersInput: z.ZodTypeAny;
5
- declare const GagelistGetAllManufacturersOutput: z.ZodTypeAny;
6
- declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGetAllManufacturersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const GagelistGetAllManufacturersOutput: z.ZodObject<{
6
+ data: z.ZodArray<z.ZodObject<{
7
+ Id: z.ZodNullable<z.ZodNumber>;
8
+ Fax: z.ZodNullable<z.ZodString>;
9
+ Name: z.ZodNullable<z.ZodString>;
10
+ Phone: z.ZodNullable<z.ZodString>;
11
+ Address: z.ZodNullable<z.ZodString>;
12
+ Website: z.ZodNullable<z.ZodString>;
13
+ IsDeleted: z.ZodNullable<z.ZodBoolean>;
14
+ UpdatedDate: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ count: z.ZodNullable<z.ZodNumber>;
17
+ total: z.ZodNullable<z.ZodNumber>;
18
+ message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
+ success: z.ZodNullable<z.ZodBoolean>;
20
+ }, z.core.$strip>;
21
+ declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
22
+ data: {
23
+ Id: number | null;
24
+ Fax: string | null;
25
+ Name: string | null;
26
+ Phone: string | null;
27
+ Address: string | null;
28
+ Website: string | null;
29
+ IsDeleted: boolean | null;
30
+ UpdatedDate: string | null;
31
+ }[];
32
+ count: number | null;
33
+ total: number | null;
34
+ success: boolean | null;
35
+ message?: string | undefined;
36
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { gagelistGetAllManufacturers };
9
39
  //# sourceMappingURL=get-all-manufacturers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-manufacturers.d.mts","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAsG;AAAA,cAW1I,iCAAA,EAAmC,CAAA,CAAE,UAMM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-all-manufacturers.d.mts","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/get-all-manufacturers.ts
4
4
  const GagelistGetAllManufacturersInput = z.object({}).describe("Request model for GET_ALL_MANUFACTURERS. No parameters required.");
5
5
  const GagelistGetAllManufacturers_ManufacturerSchema = z.object({
6
- Id: z.number().int().describe("Unique identifier of the manufacturer"),
7
- Fax: z.string().describe("Fax number of the manufacturer"),
8
- Name: z.string().describe("Name of the manufacturer"),
9
- Phone: z.string().describe("Phone number of the manufacturer"),
10
- Address: z.string().describe("Address of the manufacturer"),
11
- Website: z.string().describe("Website URL of the manufacturer"),
12
- IsDeleted: z.boolean().describe("Indicates if the manufacturer is deleted"),
13
- UpdatedDate: z.string().describe("ISO 8601 datetime when the manufacturer was last updated")
6
+ Id: z.number().int().describe("Unique identifier of the manufacturer").nullable(),
7
+ Fax: z.string().describe("Fax number of the manufacturer").nullable(),
8
+ Name: z.string().describe("Name of the manufacturer").nullable(),
9
+ Phone: z.string().describe("Phone number of the manufacturer").nullable(),
10
+ Address: z.string().describe("Address of the manufacturer").nullable(),
11
+ Website: z.string().describe("Website URL of the manufacturer").nullable(),
12
+ IsDeleted: z.boolean().describe("Indicates if the manufacturer is deleted").nullable(),
13
+ UpdatedDate: z.string().describe("ISO 8601 datetime when the manufacturer was last updated").nullable()
14
14
  }).describe("Manufacturer object returned by GET_ALL_MANUFACTURERS.");
15
15
  const gagelistGetAllManufacturers = action("GAGELIST_GET_ALL_MANUFACTURERS", {
16
16
  slug: "gagelist-get-all-manufacturers",
@@ -19,10 +19,10 @@ const gagelistGetAllManufacturers = action("GAGELIST_GET_ALL_MANUFACTURERS", {
19
19
  input: GagelistGetAllManufacturersInput,
20
20
  output: z.object({
21
21
  data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe("Array of manufacturer objects"),
22
- count: z.number().int().describe("Number of manufacturers returned"),
23
- total: z.number().int().describe("Total number of manufacturers"),
24
- message: z.string().describe("Informational message from the API").nullable().optional(),
25
- success: z.boolean().describe("Indicates if the API call was successful")
22
+ count: z.number().int().describe("Number of manufacturers returned").nullable(),
23
+ total: z.number().int().describe("Total number of manufacturers").nullable(),
24
+ message: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Informational message from the API").optional()),
25
+ success: z.boolean().describe("Indicates if the API call was successful").nullable()
26
26
  }).describe("Response model for GET_ALL_MANUFACTURERS.")
27
27
  });
28
28
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-manufacturers.mjs","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllManufacturersInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_ALL_MANUFACTURERS. No parameters required.\");\nconst GagelistGetAllManufacturers_ManufacturerSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the manufacturer\"),\n Fax: z.string().describe(\"Fax number of the manufacturer\"),\n Name: z.string().describe(\"Name of the manufacturer\"),\n Phone: z.string().describe(\"Phone number of the manufacturer\"),\n Address: z.string().describe(\"Address of the manufacturer\"),\n Website: z.string().describe(\"Website URL of the manufacturer\"),\n IsDeleted: z.boolean().describe(\"Indicates if the manufacturer is deleted\"),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime when the manufacturer was last updated\"),\n}).describe(\"Manufacturer object returned by GET_ALL_MANUFACTURERS.\");\nexport const GagelistGetAllManufacturersOutput: z.ZodTypeAny = z.object({\n data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe(\"Array of manufacturer objects\"),\n count: z.number().int().describe(\"Number of manufacturers returned\"),\n total: z.number().int().describe(\"Total number of manufacturers\"),\n message: z.string().describe(\"Informational message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the API call was successful\"),\n}).describe(\"Response model for GET_ALL_MANUFACTURERS.\");\n\nexport const gagelistGetAllManufacturers = action(\"GAGELIST_GET_ALL_MANUFACTURERS\", {\n slug: \"gagelist-get-all-manufacturers\",\n name: \"Get All Manufacturers\",\n description: \"Tool to retrieve a list of all manufacturers. Use after obtaining a valid access token. Returns manufacturer details including ID, name, contact information, and timestamps.\",\n input: GagelistGetAllManufacturersInput,\n output: GagelistGetAllManufacturersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACtJ,MAAM,iDAA+D,EAAE,OAAO;CAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AASpE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6D,EAAE,OAAO;EACtE,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+BAA+B;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CAC1E,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-manufacturers.mjs","names":[],"sources":["../../src/actions/get-all-manufacturers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAllManufacturersInput = z.object({}).describe(\"Request model for GET_ALL_MANUFACTURERS. No parameters required.\");\nconst GagelistGetAllManufacturers_ManufacturerSchema = z.object({\n Id: z.number().int().describe(\"Unique identifier of the manufacturer\").nullable(),\n Fax: z.string().describe(\"Fax number of the manufacturer\").nullable(),\n Name: z.string().describe(\"Name of the manufacturer\").nullable(),\n Phone: z.string().describe(\"Phone number of the manufacturer\").nullable(),\n Address: z.string().describe(\"Address of the manufacturer\").nullable(),\n Website: z.string().describe(\"Website URL of the manufacturer\").nullable(),\n IsDeleted: z.boolean().describe(\"Indicates if the manufacturer is deleted\").nullable(),\n UpdatedDate: z.string().describe(\"ISO 8601 datetime when the manufacturer was last updated\").nullable(),\n}).describe(\"Manufacturer object returned by GET_ALL_MANUFACTURERS.\");\nexport const GagelistGetAllManufacturersOutput = z.object({\n data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe(\"Array of manufacturer objects\"),\n count: z.number().int().describe(\"Number of manufacturers returned\").nullable(),\n total: z.number().int().describe(\"Total number of manufacturers\").nullable(),\n message: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Informational message from the API\").optional()),\n success: z.boolean().describe(\"Indicates if the API call was successful\").nullable(),\n}).describe(\"Response model for GET_ALL_MANUFACTURERS.\");\n\nexport const gagelistGetAllManufacturers = action(\"GAGELIST_GET_ALL_MANUFACTURERS\", {\n slug: \"gagelist-get-all-manufacturers\",\n name: \"Get All Manufacturers\",\n description: \"Tool to retrieve a list of all manufacturers. Use after obtaining a valid access token. Returns manufacturer details including ID, name, contact information, and timestamps.\",\n input: GagelistGetAllManufacturersInput,\n output: GagelistGetAllManufacturersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACxI,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AASpE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,+BAA+B;EACtG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC3E,SAAS,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC;EAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/get-attachment.ts
4
4
  const GagelistGetAttachmentInput = zod.z.object({ id: zod.z.number().int().describe("Identifier of the attachment to retrieve") }).describe("Request model for retrieving an attachment by its ID.");
5
5
  const GagelistGetAttachment_FileDownloadableSchema = zod.z.object({
6
- name: zod.z.string().describe("Name of the file"),
7
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
8
- mimetype: zod.z.string().describe("Mime type of the file.")
6
+ name: zod.z.string().describe("Name of the file").nullable(),
7
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
8
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
9
9
  });
10
10
  const GagelistGetAttachmentOutput = zod.z.object({ content: GagelistGetAttachment_FileDownloadableSchema.nullable() }).describe("Response model for retrieving an attachment.");
11
11
  const gagelistGetAttachment = require_action.action("GAGELIST_GET_ATTACHMENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-attachment.cjs","names":["z","action"],"sources":["../../src/actions/get-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAttachmentInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const GagelistGetAttachmentOutput: z.ZodTypeAny = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).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":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-attachment.cjs","names":["z","action"],"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});\nexport const GagelistGetAttachmentOutput = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).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":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-attachment.d.ts
4
- declare const GagelistGetAttachmentInput: z.ZodTypeAny;
5
- declare const GagelistGetAttachmentOutput: z.ZodTypeAny;
6
- declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGetAttachmentInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistGetAttachmentOutput: z.ZodObject<{
8
+ content: z.ZodNullable<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ s3url: z.ZodNullable<z.ZodString>;
11
+ mimetype: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: number;
16
+ }, {
17
+ content: {
18
+ name: string | null;
19
+ s3url: string | null;
20
+ mimetype: string | null;
21
+ } | null;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { gagelistGetAttachment };
9
25
  //# sourceMappingURL=get-attachment.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-attachment.d.cts","names":[],"sources":["../../src/actions/get-attachment.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEyB;AAAA,cAMvD,2BAAA,EAA6B,CAAA,CAAE,UAEe;AAAA,cAE9C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-attachment.d.cts","names":[],"sources":["../../src/actions/get-attachment.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-attachment.d.ts
4
- declare const GagelistGetAttachmentInput: z.ZodTypeAny;
5
- declare const GagelistGetAttachmentOutput: z.ZodTypeAny;
6
- declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GagelistGetAttachmentInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const GagelistGetAttachmentOutput: z.ZodObject<{
8
+ content: z.ZodNullable<z.ZodObject<{
9
+ name: z.ZodNullable<z.ZodString>;
10
+ s3url: z.ZodNullable<z.ZodString>;
11
+ mimetype: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: number;
16
+ }, {
17
+ content: {
18
+ name: string | null;
19
+ s3url: string | null;
20
+ mimetype: string | null;
21
+ } | null;
22
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { gagelistGetAttachment };
9
25
  //# sourceMappingURL=get-attachment.d.mts.map