@keystrokehq/gagelist 0.1.1 → 0.1.3

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 (137) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-calibration-record.cjs +6 -6
  4. package/dist/actions/add-calibration-record.cjs.map +1 -1
  5. package/dist/actions/add-calibration-record.d.cts +10 -11
  6. package/dist/actions/add-calibration-record.d.mts +10 -11
  7. package/dist/actions/add-calibration-record.mjs +6 -6
  8. package/dist/actions/add-calibration-record.mjs.map +1 -1
  9. package/dist/actions/add-gage-record.cjs +4 -4
  10. package/dist/actions/add-gage-record.cjs.map +1 -1
  11. package/dist/actions/add-gage-record.d.cts +7 -9
  12. package/dist/actions/add-gage-record.d.mts +7 -9
  13. package/dist/actions/add-gage-record.mjs +4 -4
  14. package/dist/actions/add-gage-record.mjs.map +1 -1
  15. package/dist/actions/add-manufacturer.cjs +3 -3
  16. package/dist/actions/add-manufacturer.cjs.map +1 -1
  17. package/dist/actions/add-manufacturer.d.cts +4 -8
  18. package/dist/actions/add-manufacturer.d.mts +4 -8
  19. package/dist/actions/add-manufacturer.mjs +3 -3
  20. package/dist/actions/add-manufacturer.mjs.map +1 -1
  21. package/dist/actions/authenticate-with-gagelist.cjs +2 -2
  22. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  23. package/dist/actions/authenticate-with-gagelist.d.cts +3 -13
  24. package/dist/actions/authenticate-with-gagelist.d.mts +3 -13
  25. package/dist/actions/authenticate-with-gagelist.mjs +2 -2
  26. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  27. package/dist/actions/delete-calibration-record.cjs +1 -1
  28. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  29. package/dist/actions/delete-calibration-record.d.cts +2 -6
  30. package/dist/actions/delete-calibration-record.d.mts +2 -6
  31. package/dist/actions/delete-calibration-record.mjs +1 -1
  32. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  33. package/dist/actions/delete-gage-record.cjs +1 -1
  34. package/dist/actions/delete-gage-record.cjs.map +1 -1
  35. package/dist/actions/delete-gage-record.d.cts +2 -6
  36. package/dist/actions/delete-gage-record.d.mts +2 -6
  37. package/dist/actions/delete-gage-record.mjs +1 -1
  38. package/dist/actions/delete-gage-record.mjs.map +1 -1
  39. package/dist/actions/delete-manufacturer.cjs +1 -1
  40. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  41. package/dist/actions/delete-manufacturer.d.cts +2 -6
  42. package/dist/actions/delete-manufacturer.d.mts +2 -6
  43. package/dist/actions/delete-manufacturer.mjs +1 -1
  44. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  45. package/dist/actions/generate-calibration-certificate.cjs +2 -2
  46. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  47. package/dist/actions/generate-calibration-certificate.d.cts +3 -9
  48. package/dist/actions/generate-calibration-certificate.d.mts +3 -9
  49. package/dist/actions/generate-calibration-certificate.mjs +2 -2
  50. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  51. package/dist/actions/get-account-settings.cjs +3 -3
  52. package/dist/actions/get-account-settings.cjs.map +1 -1
  53. package/dist/actions/get-account-settings.d.cts +4 -40
  54. package/dist/actions/get-account-settings.d.cts.map +1 -1
  55. package/dist/actions/get-account-settings.d.mts +4 -40
  56. package/dist/actions/get-account-settings.d.mts.map +1 -1
  57. package/dist/actions/get-account-settings.mjs +3 -3
  58. package/dist/actions/get-account-settings.mjs.map +1 -1
  59. package/dist/actions/get-account-status.cjs +11 -11
  60. package/dist/actions/get-account-status.cjs.map +1 -1
  61. package/dist/actions/get-account-status.d.cts +14 -85
  62. package/dist/actions/get-account-status.d.cts.map +1 -1
  63. package/dist/actions/get-account-status.d.mts +14 -85
  64. package/dist/actions/get-account-status.d.mts.map +1 -1
  65. package/dist/actions/get-account-status.mjs +11 -11
  66. package/dist/actions/get-account-status.mjs.map +1 -1
  67. package/dist/actions/get-all-calibration-records.cjs +71 -71
  68. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  69. package/dist/actions/get-all-calibration-records.d.cts +72 -143
  70. package/dist/actions/get-all-calibration-records.d.mts +72 -143
  71. package/dist/actions/get-all-calibration-records.mjs +71 -71
  72. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  73. package/dist/actions/get-all-gage-records.cjs +50 -50
  74. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  75. package/dist/actions/get-all-gage-records.d.cts +51 -101
  76. package/dist/actions/get-all-gage-records.d.mts +51 -101
  77. package/dist/actions/get-all-gage-records.mjs +50 -50
  78. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  79. package/dist/actions/get-all-manufacturers.cjs +3 -3
  80. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  81. package/dist/actions/get-all-manufacturers.d.cts +4 -19
  82. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  83. package/dist/actions/get-all-manufacturers.d.mts +4 -19
  84. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  85. package/dist/actions/get-all-manufacturers.mjs +3 -3
  86. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  87. package/dist/actions/get-attachment.cjs +2 -2
  88. package/dist/actions/get-attachment.cjs.map +1 -1
  89. package/dist/actions/get-attachment.d.cts +3 -9
  90. package/dist/actions/get-attachment.d.mts +3 -9
  91. package/dist/actions/get-attachment.mjs +2 -2
  92. package/dist/actions/get-attachment.mjs.map +1 -1
  93. package/dist/actions/get-custom-fields.cjs +3 -3
  94. package/dist/actions/get-custom-fields.cjs.map +1 -1
  95. package/dist/actions/get-custom-fields.d.cts +4 -28
  96. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  97. package/dist/actions/get-custom-fields.d.mts +4 -28
  98. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  99. package/dist/actions/get-custom-fields.mjs +3 -3
  100. package/dist/actions/get-custom-fields.mjs.map +1 -1
  101. package/dist/actions/get-single-calibration-record.cjs +8 -8
  102. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  103. package/dist/actions/get-single-calibration-record.d.cts +9 -103
  104. package/dist/actions/get-single-calibration-record.d.mts +9 -103
  105. package/dist/actions/get-single-calibration-record.mjs +8 -8
  106. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  107. package/dist/actions/get-single-gage-record.cjs +56 -56
  108. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  109. package/dist/actions/get-single-gage-record.d.cts +57 -115
  110. package/dist/actions/get-single-gage-record.d.mts +57 -115
  111. package/dist/actions/get-single-gage-record.mjs +56 -56
  112. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  113. package/dist/actions/update-account-settings.cjs +1 -1
  114. package/dist/actions/update-account-settings.cjs.map +1 -1
  115. package/dist/actions/update-account-settings.d.cts +2 -5
  116. package/dist/actions/update-account-settings.d.mts +2 -5
  117. package/dist/actions/update-account-settings.mjs +1 -1
  118. package/dist/actions/update-account-settings.mjs.map +1 -1
  119. package/dist/actions/update-custom-field-values.cjs +3 -3
  120. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  121. package/dist/actions/update-custom-field-values.d.cts +5 -8
  122. package/dist/actions/update-custom-field-values.d.mts +5 -8
  123. package/dist/actions/update-custom-field-values.mjs +3 -3
  124. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  125. package/dist/actions/update-manufacturer.cjs +1 -1
  126. package/dist/actions/update-manufacturer.cjs.map +1 -1
  127. package/dist/actions/update-manufacturer.d.cts +2 -6
  128. package/dist/actions/update-manufacturer.d.mts +2 -6
  129. package/dist/actions/update-manufacturer.mjs +1 -1
  130. package/dist/actions/update-manufacturer.mjs.map +1 -1
  131. package/dist/actions/upload-attachment-to-gage-record.cjs +2 -2
  132. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  133. package/dist/actions/upload-attachment-to-gage-record.d.cts +3 -7
  134. package/dist/actions/upload-attachment-to-gage-record.d.mts +3 -7
  135. package/dist/actions/upload-attachment-to-gage-record.mjs +2 -2
  136. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  137. package/package.json +1 -1
@@ -6,110 +6,60 @@ declare const GagelistGetAllGageRecordsInput: z.ZodObject<{
6
6
  record_number: z.ZodNumber;
7
7
  }, z.core.$strip>;
8
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>;
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ Area: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ Days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ Type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ Model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ Years: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ Months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ AssetNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ Website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ Location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ CreatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ ImageName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ IsDeleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ Tolerance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ UpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ NISTNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ Attachments: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ DateAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ RangeOrSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ UpdatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ Manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ SerialNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ ControlNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ PurchasePrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ UnitOfMeasure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ MasterStandard: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ SourceOrVendor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ ResponsibleUser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ CalibrationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ ConditionAquired: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ IntervalCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ NotificationList: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ OtherInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ TypesMeasurement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ CalibrationDueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ CalibrationTestMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ LastCalibrationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ CalibrationEnvironment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ LastCalibrationDateStr: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ CalibrationInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ }, z.core.$loose>>>>;
54
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
58
+ }, z.core.$loose>;
59
59
  declare const gagelistGetAllGageRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
60
60
  record_number: number;
61
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]>;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
113
63
  //#endregion
114
64
  export { gagelistGetAllGageRecords };
115
65
  //# sourceMappingURL=get-all-gage-records.d.mts.map
@@ -6,62 +6,62 @@ 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.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
- });
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()
52
+ }).passthrough();
53
53
  const gagelistGetAllGageRecords = action("GAGELIST_GET_ALL_GAGE_RECORDS", {
54
54
  slug: "gagelist-get-all-gage-records",
55
55
  name: "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.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
- })
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()
64
+ }).passthrough()
65
65
  });
66
66
  //#endregion
67
67
  export { gagelistGetAllGageRecords };
@@ -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.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,OA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OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,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"}
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.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}).passthrough();\nexport const GagelistGetAllGageRecordsOutput = 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}).passthrough();\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,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,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,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AC,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -11,14 +11,14 @@ const GagelistGetAllManufacturers_ManufacturerSchema = zod.z.object({
11
11
  Website: zod.z.string().describe("Website URL of the manufacturer").nullable(),
12
12
  IsDeleted: zod.z.boolean().describe("Indicates if the manufacturer is deleted").nullable(),
13
13
  UpdatedDate: zod.z.string().describe("ISO 8601 datetime when the manufacturer was last updated").nullable()
14
- }).describe("Manufacturer object returned by GET_ALL_MANUFACTURERS.");
14
+ }).passthrough().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
17
  count: zod.z.number().int().describe("Number of manufacturers returned").nullable(),
18
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()),
19
+ message: zod.z.string().describe("Informational message from the API").nullable().optional(),
20
20
  success: zod.z.boolean().describe("Indicates if the API call was successful").nullable()
21
- }).describe("Response model for GET_ALL_MANUFACTURERS.");
21
+ }).passthrough().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",
24
24
  name: "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.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: GagelistGetAllMan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AAC,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
+ {"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}).passthrough().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.string().describe(\"Informational message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the API call was successful\").nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,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,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,28 +12,13 @@ declare const GagelistGetAllManufacturersOutput: z.ZodObject<{
12
12
  Website: z.ZodNullable<z.ZodString>;
13
13
  IsDeleted: z.ZodNullable<z.ZodBoolean>;
14
14
  UpdatedDate: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  count: z.ZodNullable<z.ZodNumber>;
17
17
  total: z.ZodNullable<z.ZodNumber>;
18
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
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]>;
20
+ }, z.core.$loose>;
21
+ declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
22
  //#endregion
38
23
  export { gagelistGetAllManufacturers };
39
24
  //# 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,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -12,28 +12,13 @@ declare const GagelistGetAllManufacturersOutput: z.ZodObject<{
12
12
  Website: z.ZodNullable<z.ZodString>;
13
13
  IsDeleted: z.ZodNullable<z.ZodBoolean>;
14
14
  UpdatedDate: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  count: z.ZodNullable<z.ZodNumber>;
17
17
  total: z.ZodNullable<z.ZodNumber>;
18
- message: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
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]>;
20
+ }, z.core.$loose>;
21
+ declare const gagelistGetAllManufacturers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
22
  //#endregion
38
23
  export { gagelistGetAllManufacturers };
39
24
  //# 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,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA"}
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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -11,7 +11,7 @@ const GagelistGetAllManufacturers_ManufacturerSchema = z.object({
11
11
  Website: z.string().describe("Website URL of the manufacturer").nullable(),
12
12
  IsDeleted: z.boolean().describe("Indicates if the manufacturer is deleted").nullable(),
13
13
  UpdatedDate: z.string().describe("ISO 8601 datetime when the manufacturer was last updated").nullable()
14
- }).describe("Manufacturer object returned by GET_ALL_MANUFACTURERS.");
14
+ }).passthrough().describe("Manufacturer object returned by GET_ALL_MANUFACTURERS.");
15
15
  const gagelistGetAllManufacturers = action("GAGELIST_GET_ALL_MANUFACTURERS", {
16
16
  slug: "gagelist-get-all-manufacturers",
17
17
  name: "Get All Manufacturers",
@@ -21,9 +21,9 @@ const gagelistGetAllManufacturers = action("GAGELIST_GET_ALL_MANUFACTURERS", {
21
21
  data: z.array(GagelistGetAllManufacturers_ManufacturerSchema).describe("Array of manufacturer objects"),
22
22
  count: z.number().int().describe("Number of manufacturers returned").nullable(),
23
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()),
24
+ message: z.string().describe("Informational message from the API").nullable().optional(),
25
25
  success: z.boolean().describe("Indicates if the API call was successful").nullable()
26
- }).describe("Response model for GET_ALL_MANUFACTURERS.")
26
+ }).passthrough().describe("Response model for GET_ALL_MANUFACTURERS.")
27
27
  });
28
28
  //#endregion
29
29
  export { gagelistGetAllManufacturers };
@@ -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.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"}
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}).passthrough().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.string().describe(\"Informational message from the API\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the API call was successful\").nullable(),\n}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AASlF,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,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -6,8 +6,8 @@ const GagelistGetAttachment_FileDownloadableSchema = zod.z.object({
6
6
  name: zod.z.string().describe("Name of the file").nullable(),
7
7
  s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
8
8
  mimetype: zod.z.string().describe("Mime type of the file.").nullable()
9
- });
10
- const GagelistGetAttachmentOutput = zod.z.object({ content: GagelistGetAttachment_FileDownloadableSchema.nullable() }).describe("Response model for retrieving an attachment.");
9
+ }).passthrough();
10
+ const GagelistGetAttachmentOutput = zod.z.object({ content: GagelistGetAttachment_FileDownloadableSchema.nullable() }).passthrough().describe("Response model for retrieving an attachment.");
11
11
  const gagelistGetAttachment = require_action.action("GAGELIST_GET_ATTACHMENT", {
12
12
  slug: "gagelist-get-attachment",
13
13
  name: "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.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
+ {"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}).passthrough();\nexport const GagelistGetAttachmentOutput = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving an attachment.\");\n\nexport const gagelistGetAttachment = action(\"GAGELIST_GET_ATTACHMENT\", {\n slug: \"gagelist-get-attachment\",\n name: \"Get Attachment\",\n description: \"Tool to retrieve an attachment by its ID. Use when you need to download file attachments from the system.\",\n input: GagelistGetAttachmentInput,\n output: GagelistGetAttachmentOutput,\n});\n"],"mappings":";;;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,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,17 +9,11 @@ declare const GagelistGetAttachmentOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  s3url: z.ZodNullable<z.ZodString>;
11
11
  mimetype: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
15
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]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
17
  //#endregion
24
18
  export { gagelistGetAttachment };
25
19
  //# sourceMappingURL=get-attachment.d.cts.map
@@ -9,17 +9,11 @@ declare const GagelistGetAttachmentOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  s3url: z.ZodNullable<z.ZodString>;
11
11
  mimetype: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const gagelistGetAttachment: import("@keystrokehq/action").WorkflowActionDefinition<{
15
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]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
17
  //#endregion
24
18
  export { gagelistGetAttachment };
25
19
  //# sourceMappingURL=get-attachment.d.mts.map
@@ -6,13 +6,13 @@ const GagelistGetAttachment_FileDownloadableSchema = z.object({
6
6
  name: z.string().describe("Name of the file").nullable(),
7
7
  s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
8
8
  mimetype: z.string().describe("Mime type of the file.").nullable()
9
- });
9
+ }).passthrough();
10
10
  const gagelistGetAttachment = action("GAGELIST_GET_ATTACHMENT", {
11
11
  slug: "gagelist-get-attachment",
12
12
  name: "Get Attachment",
13
13
  description: "Tool to retrieve an attachment by its ID. Use when you need to download file attachments from the system.",
14
14
  input: GagelistGetAttachmentInput,
15
- output: z.object({ content: GagelistGetAttachment_FileDownloadableSchema.nullable() }).describe("Response model for retrieving an attachment.")
15
+ output: z.object({ content: GagelistGetAttachment_FileDownloadableSchema.nullable() }).passthrough().describe("Response model for retrieving an attachment.")
16
16
  });
17
17
  //#endregion
18
18
  export { gagelistGetAttachment };
@@ -1 +1 @@
1
- {"version":3,"file":"get-attachment.mjs","names":[],"sources":["../../src/actions/get-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAttachmentInput = z.object({\n id: z.number().int().describe(\"Identifier of the attachment to retrieve\"),\n}).describe(\"Request model for retrieving an attachment by its ID.\");\nconst GagelistGetAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\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,6BAA6B,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AAKD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-attachment.mjs","names":[],"sources":["../../src/actions/get-attachment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistGetAttachmentInput = z.object({\n id: z.number().int().describe(\"Identifier of the attachment to retrieve\"),\n}).describe(\"Request model for retrieving an attachment by its ID.\");\nconst GagelistGetAttachment_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const GagelistGetAttachmentOutput = z.object({\n content: GagelistGetAttachment_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving an attachment.\");\n\nexport const gagelistGetAttachment = action(\"GAGELIST_GET_ATTACHMENT\", {\n slug: \"gagelist-get-attachment\",\n name: \"Get Attachment\",\n description: \"Tool to retrieve an attachment by its ID. Use when you need to download file attachments from the system.\",\n input: GagelistGetAttachmentInput,\n output: GagelistGetAttachmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,EAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,6CAA6C,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}