@keystrokehq/gagelist 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) 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 +1 -0
  4. package/dist/actions/add-calibration-record.cjs.map +1 -1
  5. package/dist/actions/add-calibration-record.d.cts +3 -104
  6. package/dist/actions/add-calibration-record.d.cts.map +1 -1
  7. package/dist/actions/add-calibration-record.d.mts +3 -104
  8. package/dist/actions/add-calibration-record.d.mts.map +1 -1
  9. package/dist/actions/add-calibration-record.mjs +1 -0
  10. package/dist/actions/add-calibration-record.mjs.map +1 -1
  11. package/dist/actions/add-gage-record.cjs +1 -0
  12. package/dist/actions/add-gage-record.cjs.map +1 -1
  13. package/dist/actions/add-gage-record.d.cts +3 -69
  14. package/dist/actions/add-gage-record.d.cts.map +1 -1
  15. package/dist/actions/add-gage-record.d.mts +3 -69
  16. package/dist/actions/add-gage-record.d.mts.map +1 -1
  17. package/dist/actions/add-gage-record.mjs +1 -0
  18. package/dist/actions/add-gage-record.mjs.map +1 -1
  19. package/dist/actions/add-manufacturer.cjs +1 -0
  20. package/dist/actions/add-manufacturer.cjs.map +1 -1
  21. package/dist/actions/add-manufacturer.d.cts +3 -20
  22. package/dist/actions/add-manufacturer.d.cts.map +1 -1
  23. package/dist/actions/add-manufacturer.d.mts +3 -20
  24. package/dist/actions/add-manufacturer.d.mts.map +1 -1
  25. package/dist/actions/add-manufacturer.mjs +1 -0
  26. package/dist/actions/add-manufacturer.mjs.map +1 -1
  27. package/dist/actions/authenticate-with-gagelist.cjs +1 -0
  28. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  29. package/dist/actions/authenticate-with-gagelist.d.cts +3 -16
  30. package/dist/actions/authenticate-with-gagelist.d.cts.map +1 -1
  31. package/dist/actions/authenticate-with-gagelist.d.mts +3 -16
  32. package/dist/actions/authenticate-with-gagelist.d.mts.map +1 -1
  33. package/dist/actions/authenticate-with-gagelist.mjs +1 -0
  34. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  35. package/dist/actions/delete-calibration-record.cjs +1 -0
  36. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  37. package/dist/actions/delete-calibration-record.d.cts +3 -15
  38. package/dist/actions/delete-calibration-record.d.cts.map +1 -1
  39. package/dist/actions/delete-calibration-record.d.mts +3 -15
  40. package/dist/actions/delete-calibration-record.d.mts.map +1 -1
  41. package/dist/actions/delete-calibration-record.mjs +1 -0
  42. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  43. package/dist/actions/delete-gage-record.cjs +1 -0
  44. package/dist/actions/delete-gage-record.cjs.map +1 -1
  45. package/dist/actions/delete-gage-record.d.cts +3 -15
  46. package/dist/actions/delete-gage-record.d.cts.map +1 -1
  47. package/dist/actions/delete-gage-record.d.mts +3 -15
  48. package/dist/actions/delete-gage-record.d.mts.map +1 -1
  49. package/dist/actions/delete-gage-record.mjs +1 -0
  50. package/dist/actions/delete-gage-record.mjs.map +1 -1
  51. package/dist/actions/delete-manufacturer.cjs +1 -0
  52. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  53. package/dist/actions/delete-manufacturer.d.cts +3 -15
  54. package/dist/actions/delete-manufacturer.d.cts.map +1 -1
  55. package/dist/actions/delete-manufacturer.d.mts +3 -15
  56. package/dist/actions/delete-manufacturer.d.mts.map +1 -1
  57. package/dist/actions/delete-manufacturer.mjs +1 -0
  58. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  59. package/dist/actions/generate-calibration-certificate.cjs +1 -0
  60. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  61. package/dist/actions/generate-calibration-certificate.d.cts +3 -15
  62. package/dist/actions/generate-calibration-certificate.d.cts.map +1 -1
  63. package/dist/actions/generate-calibration-certificate.d.mts +3 -15
  64. package/dist/actions/generate-calibration-certificate.d.mts.map +1 -1
  65. package/dist/actions/generate-calibration-certificate.mjs +1 -0
  66. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  67. package/dist/actions/get-account-settings.cjs +1 -0
  68. package/dist/actions/get-account-settings.cjs.map +1 -1
  69. package/dist/actions/get-account-settings.d.cts +3 -13
  70. package/dist/actions/get-account-settings.d.cts.map +1 -1
  71. package/dist/actions/get-account-settings.d.mts +3 -13
  72. package/dist/actions/get-account-settings.d.mts.map +1 -1
  73. package/dist/actions/get-account-settings.mjs +1 -0
  74. package/dist/actions/get-account-settings.mjs.map +1 -1
  75. package/dist/actions/get-account-status.cjs +1 -0
  76. package/dist/actions/get-account-status.cjs.map +1 -1
  77. package/dist/actions/get-account-status.d.cts +3 -13
  78. package/dist/actions/get-account-status.d.cts.map +1 -1
  79. package/dist/actions/get-account-status.d.mts +3 -13
  80. package/dist/actions/get-account-status.d.mts.map +1 -1
  81. package/dist/actions/get-account-status.mjs +1 -0
  82. package/dist/actions/get-account-status.mjs.map +1 -1
  83. package/dist/actions/get-all-calibration-records.cjs +1 -0
  84. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  85. package/dist/actions/get-all-calibration-records.d.cts +3 -16
  86. package/dist/actions/get-all-calibration-records.d.cts.map +1 -1
  87. package/dist/actions/get-all-calibration-records.d.mts +3 -16
  88. package/dist/actions/get-all-calibration-records.d.mts.map +1 -1
  89. package/dist/actions/get-all-calibration-records.mjs +1 -0
  90. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  91. package/dist/actions/get-all-gage-records.cjs +1 -0
  92. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  93. package/dist/actions/get-all-gage-records.d.cts +3 -16
  94. package/dist/actions/get-all-gage-records.d.cts.map +1 -1
  95. package/dist/actions/get-all-gage-records.d.mts +3 -16
  96. package/dist/actions/get-all-gage-records.d.mts.map +1 -1
  97. package/dist/actions/get-all-gage-records.mjs +1 -0
  98. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  99. package/dist/actions/get-all-manufacturers.cjs +1 -0
  100. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  101. package/dist/actions/get-all-manufacturers.d.cts +3 -13
  102. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  103. package/dist/actions/get-all-manufacturers.d.mts +3 -13
  104. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  105. package/dist/actions/get-all-manufacturers.mjs +1 -0
  106. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  107. package/dist/actions/get-attachment.cjs +1 -0
  108. package/dist/actions/get-attachment.cjs.map +1 -1
  109. package/dist/actions/get-attachment.d.cts +3 -15
  110. package/dist/actions/get-attachment.d.cts.map +1 -1
  111. package/dist/actions/get-attachment.d.mts +3 -15
  112. package/dist/actions/get-attachment.d.mts.map +1 -1
  113. package/dist/actions/get-attachment.mjs +1 -0
  114. package/dist/actions/get-attachment.mjs.map +1 -1
  115. package/dist/actions/get-custom-fields.cjs +1 -0
  116. package/dist/actions/get-custom-fields.cjs.map +1 -1
  117. package/dist/actions/get-custom-fields.d.cts +3 -13
  118. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  119. package/dist/actions/get-custom-fields.d.mts +3 -13
  120. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  121. package/dist/actions/get-custom-fields.mjs +1 -0
  122. package/dist/actions/get-custom-fields.mjs.map +1 -1
  123. package/dist/actions/get-single-calibration-record.cjs +1 -0
  124. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  125. package/dist/actions/get-single-calibration-record.d.cts +3 -15
  126. package/dist/actions/get-single-calibration-record.d.cts.map +1 -1
  127. package/dist/actions/get-single-calibration-record.d.mts +3 -15
  128. package/dist/actions/get-single-calibration-record.d.mts.map +1 -1
  129. package/dist/actions/get-single-calibration-record.mjs +1 -0
  130. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  131. package/dist/actions/get-single-gage-record.cjs +1 -0
  132. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  133. package/dist/actions/get-single-gage-record.d.cts +3 -15
  134. package/dist/actions/get-single-gage-record.d.cts.map +1 -1
  135. package/dist/actions/get-single-gage-record.d.mts +3 -15
  136. package/dist/actions/get-single-gage-record.d.mts.map +1 -1
  137. package/dist/actions/get-single-gage-record.mjs +1 -0
  138. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  139. package/dist/actions/update-account-settings.cjs +1 -0
  140. package/dist/actions/update-account-settings.cjs.map +1 -1
  141. package/dist/actions/update-account-settings.d.cts +3 -45
  142. package/dist/actions/update-account-settings.d.cts.map +1 -1
  143. package/dist/actions/update-account-settings.d.mts +3 -45
  144. package/dist/actions/update-account-settings.d.mts.map +1 -1
  145. package/dist/actions/update-account-settings.mjs +1 -0
  146. package/dist/actions/update-account-settings.mjs.map +1 -1
  147. package/dist/actions/update-custom-field-values.cjs +1 -0
  148. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  149. package/dist/actions/update-custom-field-values.d.cts +3 -23
  150. package/dist/actions/update-custom-field-values.d.cts.map +1 -1
  151. package/dist/actions/update-custom-field-values.d.mts +3 -23
  152. package/dist/actions/update-custom-field-values.d.mts.map +1 -1
  153. package/dist/actions/update-custom-field-values.mjs +1 -0
  154. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  155. package/dist/actions/update-manufacturer.cjs +1 -0
  156. package/dist/actions/update-manufacturer.cjs.map +1 -1
  157. package/dist/actions/update-manufacturer.d.cts +3 -20
  158. package/dist/actions/update-manufacturer.d.cts.map +1 -1
  159. package/dist/actions/update-manufacturer.d.mts +3 -20
  160. package/dist/actions/update-manufacturer.d.mts.map +1 -1
  161. package/dist/actions/update-manufacturer.mjs +1 -0
  162. package/dist/actions/update-manufacturer.mjs.map +1 -1
  163. package/dist/actions/upload-attachment-to-gage-record.cjs +1 -0
  164. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  165. package/dist/actions/upload-attachment-to-gage-record.d.cts +3 -20
  166. package/dist/actions/upload-attachment-to-gage-record.d.cts.map +1 -1
  167. package/dist/actions/upload-attachment-to-gage-record.d.mts +3 -20
  168. package/dist/actions/upload-attachment-to-gage-record.d.mts.map +1 -1
  169. package/dist/actions/upload-attachment-to-gage-record.mjs +1 -0
  170. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  171. package/dist/app.cjs +2 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +4 -6
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +4 -6
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +0 -1
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-gage-record.d.ts
@@ -61,75 +63,7 @@ declare const GagelistAddGageRecordOutput: z.ZodObject<{
61
63
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
64
  success: z.ZodNullable<z.ZodBoolean>;
63
65
  }, z.core.$loose>;
64
- declare const gagelistAddGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
65
- SerialNumber: string;
66
- Id?: number | undefined;
67
- Area?: string | undefined;
68
- Days?: number | undefined;
69
- Type?: string | undefined;
70
- Model?: string | undefined;
71
- Years?: number | undefined;
72
- Months?: number | undefined;
73
- Status?: string | undefined;
74
- AssetNo?: string | undefined;
75
- Website?: string | undefined;
76
- Interval?: string | undefined;
77
- Location?: string | undefined;
78
- CreatedBy?: string | undefined;
79
- IsDeleted?: boolean | undefined;
80
- Tolerance?: string | undefined;
81
- UpdatedBy?: string | undefined;
82
- NISTNumber?: string | undefined;
83
- Attachments?: {
84
- [x: string]: unknown;
85
- Id: number;
86
- FileName: string;
87
- FileSize: number;
88
- FileType: string;
89
- RecordId: number;
90
- RecordType: string;
91
- }[] | undefined;
92
- DateAquired?: string | undefined;
93
- RangeOrSize?: string | undefined;
94
- UpdatedDate?: string | undefined;
95
- Manufacturer?: string | undefined;
96
- ControlNumber?: string | undefined;
97
- PurchasePrice?: number | undefined;
98
- TestTemplates?: {
99
- [x: string]: unknown;
100
- Id: number;
101
- Parameter: string;
102
- TestNumber: string;
103
- RefStandardID: string;
104
- EquipmentRefId: number;
105
- ExpectedResult: string;
106
- }[] | undefined;
107
- UnitOfMeasure?: string | undefined;
108
- MasterStandard?: string | undefined;
109
- SourceOrVendor?: string | undefined;
110
- ResponsibleUser?: string | undefined;
111
- ConditionAquired?: string | undefined;
112
- NotificationList?: string | undefined;
113
- OtherInformation?: string | undefined;
114
- TypesMeasurement?: string | undefined;
115
- CalibrationDueDate?: string | undefined;
116
- CalibrationTestMode?: string | undefined;
117
- LastCalibrationDate?: string | undefined;
118
- CalibrationEnvironment?: string | undefined;
119
- CalibrationInstructions?: string | undefined;
120
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
121
- connectionId: z.ZodString;
122
- entityId: z.ZodString;
123
- instanceId: z.ZodString;
124
- }, z.core.$strip>, z.ZodObject<{
125
- accessToken: z.ZodString;
126
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
127
- connectionId: z.ZodString;
128
- entityId: z.ZodString;
129
- instanceId: z.ZodString;
130
- }, z.core.$strip>, z.ZodObject<{
131
- accessToken: z.ZodString;
132
- }, z.core.$strip>>]>;
66
+ declare const gagelistAddGageRecord: AppAction<typeof GagelistAddGageRecordInput, typeof GagelistAddGageRecordOutput, typeof gagelist.credential>;
133
67
  //#endregion
134
68
  export { gagelistAddGageRecord };
135
69
  //# sourceMappingURL=add-gage-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-gage-record.d.mts","names":[],"sources":["../../src/actions/add-gage-record.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"add-gage-record.d.mts","names":[],"sources":["../../src/actions/add-gage-record.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuD1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistAddGageRecord = action("GAGELIST_ADD_GAGE_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-gage-record.mjs","names":[],"sources":["../../src/actions/add-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAddGageRecordInput = z.object({\n Id: z.number().int().describe(\"Unique identifier; server assigns if omitted\").optional(),\n Area: z.string().describe(\"Operational area\").optional(),\n Days: z.number().int().describe(\"Calibration interval days\").optional(),\n Type: z.string().describe(\"Gage type\").optional(),\n Model: z.string().describe(\"Model of the gage\").optional(),\n Years: z.number().int().describe(\"Calibration interval years\").optional(),\n Months: z.number().int().describe(\"Calibration interval months\").optional(),\n Status: z.string().describe(\"Current status of the gage\").optional(),\n AssetNo: z.string().describe(\"Asset number\").optional(),\n Website: z.string().describe(\"Manufacturer website URL\").optional(),\n Interval: z.string().describe(\"Calibration interval description\").optional(),\n Location: z.string().describe(\"Location of the gage\").optional(),\n CreatedBy: z.string().describe(\"Record creator\").optional(),\n IsDeleted: z.boolean().describe(\"Soft delete flag\").optional(),\n Tolerance: z.string().describe(\"Tolerance level or specification\").optional(),\n UpdatedBy: z.string().describe(\"Last user who updated record\").optional(),\n NISTNumber: z.string().describe(\"NIST standard number\").optional(),\n Attachments: z.array(z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\"),\n FileName: z.string().describe(\"Filename including extension\"),\n FileSize: z.number().int().describe(\"Size of file in bytes\"),\n FileType: z.string().describe(\"MIME type or general file type\"),\n RecordId: z.number().int().describe(\"ID of the record this file is attached to\"),\n RecordType: z.string().describe(\"Type/category of this attachment\"),\n}).passthrough().describe(\"File attachment metadata.\")).describe(\"List of attachments\").optional(),\n DateAquired: z.string().describe(\"Date acquired in ISO 8601 format\").optional(),\n RangeOrSize: z.string().describe(\"Operational range or size\").optional(),\n UpdatedDate: z.string().describe(\"Last updated date\").optional(),\n Manufacturer: z.string().describe(\"Manufacturer name\").optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage record\"),\n ControlNumber: z.string().describe(\"Control number\").optional(),\n PurchasePrice: z.number().describe(\"Purchase price in USD\").optional(),\n TestTemplates: z.array(z.object({\n Id: z.number().int().describe(\"Unique identifier of the test template\"),\n Parameter: z.string().describe(\"Parameter being tested\"),\n TestNumber: z.string().describe(\"Test number designation\"),\n RefStandardID: z.string().describe(\"Reference standard ID used\"),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the equipment\"),\n ExpectedResult: z.string().describe(\"Expected outcome of the test\"),\n}).passthrough().describe(\"Test template configuration for a gage.\")).describe(\"List of test templates\").optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used\").optional(),\n MasterStandard: z.string().describe(\"Master standard used for calibration\").optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source of acquisition\").optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").optional(),\n OtherInformation: z.string().describe(\"Additional information\").optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").optional(),\n CalibrationDueDate: z.string().describe(\"Next calibration due date in ISO 8601 format\").optional(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode used\").optional(),\n LastCalibrationDate: z.string().describe(\"Last calibration date in ISO 8601 format\").optional(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment conditions\").optional(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").optional(),\n}).describe(\"Request model for adding a new gage record.\");\nexport const GagelistAddGageRecordOutput = z.object({\n data: z.number().int().describe(\"Newly created gage record ID\").nullable(),\n message: z.string().describe(\"Additional information or error message\").nullable().optional(),\n success: z.boolean().describe(\"True if creation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for add gage record action.\");\n\nexport const gagelistAddGageRecord = action(\"GAGELIST_ADD_GAGE_RECORD\", {\n slug: \"gagelist-add-gage-record\",\n name: \"Add Gage Record\",\n description: \"Tool to add a new gage record. Use after gathering all required gage attributes to create a record.\",\n input: GagelistAddGageRecordInput,\n output: GagelistAddGageRecordOutput,\n});\n"],"mappings":";;AAiEA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjEwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CA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AAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACzE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC9E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAChF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC9F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,6CAWH;CACP,QAXyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-gage-record.mjs","names":[],"sources":["../../src/actions/add-gage-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistAddGageRecordInput = z.object({\n Id: z.number().int().describe(\"Unique identifier; server assigns if omitted\").optional(),\n Area: z.string().describe(\"Operational area\").optional(),\n Days: z.number().int().describe(\"Calibration interval days\").optional(),\n Type: z.string().describe(\"Gage type\").optional(),\n Model: z.string().describe(\"Model of the gage\").optional(),\n Years: z.number().int().describe(\"Calibration interval years\").optional(),\n Months: z.number().int().describe(\"Calibration interval months\").optional(),\n Status: z.string().describe(\"Current status of the gage\").optional(),\n AssetNo: z.string().describe(\"Asset number\").optional(),\n Website: z.string().describe(\"Manufacturer website URL\").optional(),\n Interval: z.string().describe(\"Calibration interval description\").optional(),\n Location: z.string().describe(\"Location of the gage\").optional(),\n CreatedBy: z.string().describe(\"Record creator\").optional(),\n IsDeleted: z.boolean().describe(\"Soft delete flag\").optional(),\n Tolerance: z.string().describe(\"Tolerance level or specification\").optional(),\n UpdatedBy: z.string().describe(\"Last user who updated record\").optional(),\n NISTNumber: z.string().describe(\"NIST standard number\").optional(),\n Attachments: z.array(z.object({\n Id: z.number().int().describe(\"Attachment unique identifier\"),\n FileName: z.string().describe(\"Filename including extension\"),\n FileSize: z.number().int().describe(\"Size of file in bytes\"),\n FileType: z.string().describe(\"MIME type or general file type\"),\n RecordId: z.number().int().describe(\"ID of the record this file is attached to\"),\n RecordType: z.string().describe(\"Type/category of this attachment\"),\n}).passthrough().describe(\"File attachment metadata.\")).describe(\"List of attachments\").optional(),\n DateAquired: z.string().describe(\"Date acquired in ISO 8601 format\").optional(),\n RangeOrSize: z.string().describe(\"Operational range or size\").optional(),\n UpdatedDate: z.string().describe(\"Last updated date\").optional(),\n Manufacturer: z.string().describe(\"Manufacturer name\").optional(),\n SerialNumber: z.string().describe(\"Serial number of the gage record\"),\n ControlNumber: z.string().describe(\"Control number\").optional(),\n PurchasePrice: z.number().describe(\"Purchase price in USD\").optional(),\n TestTemplates: z.array(z.object({\n Id: z.number().int().describe(\"Unique identifier of the test template\"),\n Parameter: z.string().describe(\"Parameter being tested\"),\n TestNumber: z.string().describe(\"Test number designation\"),\n RefStandardID: z.string().describe(\"Reference standard ID used\"),\n EquipmentRefId: z.number().int().describe(\"Reference ID of the equipment\"),\n ExpectedResult: z.string().describe(\"Expected outcome of the test\"),\n}).passthrough().describe(\"Test template configuration for a gage.\")).describe(\"List of test templates\").optional(),\n UnitOfMeasure: z.string().describe(\"Unit of measure used\").optional(),\n MasterStandard: z.string().describe(\"Master standard used for calibration\").optional(),\n SourceOrVendor: z.string().describe(\"Vendor or source of acquisition\").optional(),\n ResponsibleUser: z.string().describe(\"User responsible for the gage\").optional(),\n ConditionAquired: z.string().describe(\"Condition at acquisition\").optional(),\n NotificationList: z.string().describe(\"Comma-separated list of users to notify\").optional(),\n OtherInformation: z.string().describe(\"Additional information\").optional(),\n TypesMeasurement: z.string().describe(\"Measurement types supported\").optional(),\n CalibrationDueDate: z.string().describe(\"Next calibration due date in ISO 8601 format\").optional(),\n CalibrationTestMode: z.string().describe(\"Calibration test mode used\").optional(),\n LastCalibrationDate: z.string().describe(\"Last calibration date in ISO 8601 format\").optional(),\n CalibrationEnvironment: z.string().describe(\"Calibration environment conditions\").optional(),\n CalibrationInstructions: z.string().describe(\"Calibration instructions\").optional(),\n}).describe(\"Request model for adding a new gage record.\");\nexport const GagelistAddGageRecordOutput = z.object({\n data: z.number().int().describe(\"Newly created gage record ID\").nullable(),\n message: z.string().describe(\"Additional information or error message\").nullable().optional(),\n success: z.boolean().describe(\"True if creation succeeded\").nullable(),\n}).passthrough().describe(\"Response model for add gage record action.\");\n\nexport const gagelistAddGageRecord: AppAction<\n typeof GagelistAddGageRecordInput,\n typeof GagelistAddGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_ADD_GAGE_RECORD\", {\n slug: \"gagelist-add-gage-record\",\n name: \"Add Gage Record\",\n description: \"Tool to add a new gage record. Use after gathering all required gage attributes to create a record.\",\n input: GagelistAddGageRecordInput,\n output: GagelistAddGageRecordOutput,\n});\n"],"mappings":";;;AAmEA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;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CACP,QAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/add-manufacturer.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/add-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAddManufacturerInput = z.object({\n Id: z.number().int().default(0).describe(\"Manufacturer identifier. Must be 0 (or omitted) when creating a new manufacturer so the system auto-generates a unique ID. Do not use existing IDs.\").optional(),\n Fax: z.string().describe(\"Fax number for the manufacturer (optional). Legacy field maintained for backwards compatibility.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer company (required). This is the primary identifier displayed throughout the system.\"),\n Phone: z.string().describe(\"Primary contact phone number for the manufacturer (optional). Include country code and area code.\").optional(),\n Address: z.string().describe(\"Physical or mailing address of the manufacturer (optional). Include street, city, and state/country for complete records.\").optional(),\n Website: z.string().describe(\"Official website URL of the manufacturer (optional). Must include the protocol (http:// or https://).\").optional(),\n}).describe(\"Request model for creating a new manufacturer.\\nAccording to GageList API, when creating a manufacturer the Id should be 0\\n(or omitted) so the server assigns a new identifier. The API expects\\nPascalCase keys in JSON payload.\");\nexport const GagelistAddManufacturerOutput = z.object({\n data: z.number().int().describe(\"Unique identifier assigned to the newly created manufacturer. Use this ID for subsequent operations like updating or deleting the manufacturer.\").nullable().optional(),\n message: z.string().describe(\"Additional information from the API, such as error details if the operation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the manufacturer was successfully created. True if created, False if there was an error.\").nullable(),\n}).passthrough().describe(\"Response model for manufacturer creation containing the new manufacturer's ID and operation status.\");\n\nexport const gagelistAddManufacturer = action(\"GAGELIST_ADD_MANUFACTURER\", {\n slug: \"gagelist-add-manufacturer\",\n name: \"Add Manufacturer\",\n description: \"Creates a new manufacturer record in the GageList calibration management system. A manufacturer represents the company that produces gages and measurement instruments. Use this action when you need to add a new manufacturer to the system for tracking and managing calibration records for their equipment. Returns the unique identifier of the newly created manufacturer record.\",\n input: GagelistAddManufacturerInput,\n output: GagelistAddManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACzM,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACxI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,oOAAoO;AAChP,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAAqG;AAE/H,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/add-manufacturer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistAddManufacturerInput = z.object({\n Id: z.number().int().default(0).describe(\"Manufacturer identifier. Must be 0 (or omitted) when creating a new manufacturer so the system auto-generates a unique ID. Do not use existing IDs.\").optional(),\n Fax: z.string().describe(\"Fax number for the manufacturer (optional). Legacy field maintained for backwards compatibility.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer company (required). This is the primary identifier displayed throughout the system.\"),\n Phone: z.string().describe(\"Primary contact phone number for the manufacturer (optional). Include country code and area code.\").optional(),\n Address: z.string().describe(\"Physical or mailing address of the manufacturer (optional). Include street, city, and state/country for complete records.\").optional(),\n Website: z.string().describe(\"Official website URL of the manufacturer (optional). Must include the protocol (http:// or https://).\").optional(),\n}).describe(\"Request model for creating a new manufacturer.\\nAccording to GageList API, when creating a manufacturer the Id should be 0\\n(or omitted) so the server assigns a new identifier. The API expects\\nPascalCase keys in JSON payload.\");\nexport const GagelistAddManufacturerOutput = z.object({\n data: z.number().int().describe(\"Unique identifier assigned to the newly created manufacturer. Use this ID for subsequent operations like updating or deleting the manufacturer.\").nullable().optional(),\n message: z.string().describe(\"Additional information from the API, such as error details if the operation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the manufacturer was successfully created. True if created, False if there was an error.\").nullable(),\n}).passthrough().describe(\"Response model for manufacturer creation containing the new manufacturer's ID and operation status.\");\n\nexport const gagelistAddManufacturer: AppAction<\n typeof GagelistAddManufacturerInput,\n typeof GagelistAddManufacturerOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_ADD_MANUFACTURER\", {\n slug: \"gagelist-add-manufacturer\",\n name: \"Add Manufacturer\",\n description: \"Creates a new manufacturer record in the GageList calibration management system. A manufacturer represents the company that produces gages and measurement instruments. Use this action when you need to add a new manufacturer to the system for tracking and managing calibration records for their equipment. Returns the unique identifier of the newly created manufacturer record.\",\n input: GagelistAddManufacturerInput,\n output: GagelistAddManufacturerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACzM,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACxI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,oOAAoO;AAChP,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAAqG;AAE/H,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-manufacturer.d.ts
@@ -14,26 +16,7 @@ declare const GagelistAddManufacturerOutput: z.ZodObject<{
14
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistAddManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Name: string;
19
- Id?: number | undefined;
20
- Fax?: string | undefined;
21
- Phone?: string | undefined;
22
- Address?: string | undefined;
23
- Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const gagelistAddManufacturer: AppAction<typeof GagelistAddManufacturerInput, typeof GagelistAddManufacturerOutput, typeof gagelist.credential>;
37
20
  //#endregion
38
21
  export { gagelistAddManufacturer };
39
22
  //# sourceMappingURL=add-manufacturer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-manufacturer.d.cts","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"add-manufacturer.d.cts","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-manufacturer.d.ts
@@ -14,26 +16,7 @@ declare const GagelistAddManufacturerOutput: z.ZodObject<{
14
16
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  success: z.ZodNullable<z.ZodBoolean>;
16
18
  }, z.core.$loose>;
17
- declare const gagelistAddManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- Name: string;
19
- Id?: number | undefined;
20
- Fax?: string | undefined;
21
- Phone?: string | undefined;
22
- Address?: string | undefined;
23
- Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- accessToken: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- accessToken: z.ZodString;
36
- }, z.core.$strip>>]>;
19
+ declare const gagelistAddManufacturer: AppAction<typeof GagelistAddManufacturerInput, typeof GagelistAddManufacturerOutput, typeof gagelist.credential>;
37
20
  //#endregion
38
21
  export { gagelistAddManufacturer };
39
22
  //# sourceMappingURL=add-manufacturer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-manufacturer.d.mts","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"add-manufacturer.d.mts","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistAddManufacturer = action("GAGELIST_ADD_MANUFACTURER", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-manufacturer.mjs","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAddManufacturerInput = z.object({\n Id: z.number().int().default(0).describe(\"Manufacturer identifier. Must be 0 (or omitted) when creating a new manufacturer so the system auto-generates a unique ID. Do not use existing IDs.\").optional(),\n Fax: z.string().describe(\"Fax number for the manufacturer (optional). Legacy field maintained for backwards compatibility.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer company (required). This is the primary identifier displayed throughout the system.\"),\n Phone: z.string().describe(\"Primary contact phone number for the manufacturer (optional). Include country code and area code.\").optional(),\n Address: z.string().describe(\"Physical or mailing address of the manufacturer (optional). Include street, city, and state/country for complete records.\").optional(),\n Website: z.string().describe(\"Official website URL of the manufacturer (optional). Must include the protocol (http:// or https://).\").optional(),\n}).describe(\"Request model for creating a new manufacturer.\\nAccording to GageList API, when creating a manufacturer the Id should be 0\\n(or omitted) so the server assigns a new identifier. The API expects\\nPascalCase keys in JSON payload.\");\nexport const GagelistAddManufacturerOutput = z.object({\n data: z.number().int().describe(\"Unique identifier assigned to the newly created manufacturer. Use this ID for subsequent operations like updating or deleting the manufacturer.\").nullable().optional(),\n message: z.string().describe(\"Additional information from the API, such as error details if the operation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the manufacturer was successfully created. True if created, False if there was an error.\").nullable(),\n}).passthrough().describe(\"Response model for manufacturer creation containing the new manufacturer's ID and operation status.\");\n\nexport const gagelistAddManufacturer = action(\"GAGELIST_ADD_MANUFACTURER\", {\n slug: \"gagelist-add-manufacturer\",\n name: \"Add Manufacturer\",\n description: \"Creates a new manufacturer record in the GageList calibration management system. A manufacturer represents the company that produces gages and measurement instruments. Use this action when you need to add a new manufacturer to the system for tracking and managing calibration records for their equipment. Returns the unique identifier of the newly created manufacturer record.\",\n input: GagelistAddManufacturerInput,\n output: GagelistAddManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACzM,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACxI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,oOAWH;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-manufacturer.mjs","names":[],"sources":["../../src/actions/add-manufacturer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistAddManufacturerInput = z.object({\n Id: z.number().int().default(0).describe(\"Manufacturer identifier. Must be 0 (or omitted) when creating a new manufacturer so the system auto-generates a unique ID. Do not use existing IDs.\").optional(),\n Fax: z.string().describe(\"Fax number for the manufacturer (optional). Legacy field maintained for backwards compatibility.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer company (required). This is the primary identifier displayed throughout the system.\"),\n Phone: z.string().describe(\"Primary contact phone number for the manufacturer (optional). Include country code and area code.\").optional(),\n Address: z.string().describe(\"Physical or mailing address of the manufacturer (optional). Include street, city, and state/country for complete records.\").optional(),\n Website: z.string().describe(\"Official website URL of the manufacturer (optional). Must include the protocol (http:// or https://).\").optional(),\n}).describe(\"Request model for creating a new manufacturer.\\nAccording to GageList API, when creating a manufacturer the Id should be 0\\n(or omitted) so the server assigns a new identifier. The API expects\\nPascalCase keys in JSON payload.\");\nexport const GagelistAddManufacturerOutput = z.object({\n data: z.number().int().describe(\"Unique identifier assigned to the newly created manufacturer. Use this ID for subsequent operations like updating or deleting the manufacturer.\").nullable().optional(),\n message: z.string().describe(\"Additional information from the API, such as error details if the operation failed.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the manufacturer was successfully created. True if created, False if there was an error.\").nullable(),\n}).passthrough().describe(\"Response model for manufacturer creation containing the new manufacturer's ID and operation status.\");\n\nexport const gagelistAddManufacturer: AppAction<\n typeof GagelistAddManufacturerInput,\n typeof GagelistAddManufacturerOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_ADD_MANUFACTURER\", {\n slug: \"gagelist-add-manufacturer\",\n name: \"Add Manufacturer\",\n description: \"Creates a new manufacturer record in the GageList calibration management system. A manufacturer represents the company that produces gages and measurement instruments. Use this action when you need to add a new manufacturer to the system for tracking and managing calibration records for their equipment. Returns the unique identifier of the newly created manufacturer record.\",\n input: GagelistAddManufacturerInput,\n output: GagelistAddManufacturerOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;EACzM,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACxI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACnK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,oOAeH;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/authenticate-with-gagelist.ts
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate-with-gagelist.cjs","names":["z","action"],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAuthenticateWithGagelistInput = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\").nullable(),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\").nullable(),\n client_id: z.string().describe(\"Client ID that was used for authentication\").nullable(),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\").nullable(),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\").nullable(),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\").nullable(),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).passthrough().describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"authenticate-with-gagelist.cjs","names":["z","action"],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistAuthenticateWithGagelistInput = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\").nullable(),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\").nullable(),\n client_id: z.string().describe(\"Client ID that was used for authentication\").nullable(),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\").nullable(),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\").nullable(),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\").nullable(),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).passthrough().describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist: AppAction<\n typeof GagelistAuthenticateWithGagelistInput,\n typeof GagelistAuthenticateWithGagelistOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/authenticate-with-gagelist.d.ts
@@ -16,22 +18,7 @@ declare const GagelistAuthenticateWithGagelistOutput: z.ZodObject<{
16
18
  access_token: z.ZodNullable<z.ZodString>;
17
19
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const gagelistAuthenticateWithGagelist: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- client_id: string;
21
- client_secret: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const gagelistAuthenticateWithGagelist: AppAction<typeof GagelistAuthenticateWithGagelistInput, typeof GagelistAuthenticateWithGagelistOutput, typeof gagelist.credential>;
35
22
  //#endregion
36
23
  export { gagelistAuthenticateWithGagelist };
37
24
  //# sourceMappingURL=authenticate-with-gagelist.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate-with-gagelist.d.cts","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"authenticate-with-gagelist.d.cts","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/authenticate-with-gagelist.d.ts
@@ -16,22 +18,7 @@ declare const GagelistAuthenticateWithGagelistOutput: z.ZodObject<{
16
18
  access_token: z.ZodNullable<z.ZodString>;
17
19
  refresh_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const gagelistAuthenticateWithGagelist: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- client_id: string;
21
- client_secret: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
21
+ declare const gagelistAuthenticateWithGagelist: AppAction<typeof GagelistAuthenticateWithGagelistInput, typeof GagelistAuthenticateWithGagelistOutput, typeof gagelist.credential>;
35
22
  //#endregion
36
23
  export { gagelistAuthenticateWithGagelist };
37
24
  //# sourceMappingURL=authenticate-with-gagelist.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate-with-gagelist.d.mts","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"authenticate-with-gagelist.d.mts","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistAuthenticateWithGagelist = action("GAGELIST_AUTHENTICATE_WITH_GAGELIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"authenticate-with-gagelist.mjs","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistAuthenticateWithGagelistInput = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\").nullable(),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\").nullable(),\n client_id: z.string().describe(\"Client ID that was used for authentication\").nullable(),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\").nullable(),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\").nullable(),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\").nullable(),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).passthrough().describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;AAoBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmD,EAAE,OAAO;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAiBH;CACP,QAjBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"authenticate-with-gagelist.mjs","names":[],"sources":["../../src/actions/authenticate-with-gagelist.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistAuthenticateWithGagelistInput = z.object({\n client_id: z.string().describe(\"Gagelist client ID issued for OAuth2 authentication\"),\n client_secret: z.string().describe(\"Gagelist client secret issued alongside the client ID\"),\n}).describe(\"Request model for AUTHENTICATE_WITH_GAGELIST.\");\nexport const GagelistAuthenticateWithGagelistOutput = z.object({\n scope: z.string().describe(\"Scopes granted by the access token (e.g., 'openid email profile')\").nullable(),\n issued: z.string().describe(\"ISO 8601 timestamp when the token was issued\").nullable(),\n expires: z.string().describe(\"ISO 8601 timestamp when the token will expire\").nullable(),\n user_id: z.string().describe(\"Unique identifier of the authenticated user\").nullable(),\n client_id: z.string().describe(\"Client ID that was used for authentication\").nullable(),\n expires_in: z.number().int().describe(\"Number of seconds before the token expires\").nullable(),\n token_type: z.string().describe(\"Type of the token issued. Typically 'Bearer'\").nullable(),\n access_token: z.string().describe(\"Bearer token string to authenticate subsequent API calls\").nullable(),\n refresh_token: z.string().describe(\"Token used to renew the access token (if provided)\").nullable().optional(),\n}).passthrough().describe(\"Response model for AUTHENTICATE_WITH_GAGELIST.\");\n\nexport const gagelistAuthenticateWithGagelist: AppAction<\n typeof GagelistAuthenticateWithGagelistInput,\n typeof GagelistAuthenticateWithGagelistOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_AUTHENTICATE_WITH_GAGELIST\", {\n slug: \"gagelist-authenticate-with-gagelist\",\n name: \"Authenticate with Gagelist\",\n description: \"Tool to obtain a Gagelist API access token. Use when you need to authenticate with Gagelist using client credentials. Returns OAuth2 tokens for subsequent requests.\",\n input: GagelistAuthenticateWithGagelistInput,\n output: GagelistAuthenticateWithGagelistOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBmD,EAAE,OAAO;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAqBH;CACP,QArBoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-calibration-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-calibration-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord: AppAction<\n typeof GagelistDeleteCalibrationRecordInput,\n typeof GagelistDeleteCalibrationRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,kCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-calibration-record.d.ts
@@ -9,21 +11,7 @@ declare const GagelistDeleteCalibrationRecordOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const gagelistDeleteCalibrationRecord: AppAction<typeof GagelistDeleteCalibrationRecordInput, typeof GagelistDeleteCalibrationRecordOutput, typeof gagelist.credential>;
27
15
  //#endregion
28
16
  export { gagelistDeleteCalibrationRecord };
29
17
  //# sourceMappingURL=delete-calibration-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.d.cts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"delete-calibration-record.d.cts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-calibration-record.d.ts
@@ -9,21 +11,7 @@ declare const GagelistDeleteCalibrationRecordOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const gagelistDeleteCalibrationRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const gagelistDeleteCalibrationRecord: AppAction<typeof GagelistDeleteCalibrationRecordInput, typeof GagelistDeleteCalibrationRecordOutput, typeof gagelist.credential>;
27
15
  //#endregion
28
16
  export { gagelistDeleteCalibrationRecord };
29
17
  //# sourceMappingURL=delete-calibration-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.d.mts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"delete-calibration-record.d.mts","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAMrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistDeleteCalibrationRecord = action("GAGELIST_DELETE_CALIBRATION_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-calibration-record.mjs","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-calibration-record.mjs","names":[],"sources":["../../src/actions/delete-calibration-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistDeleteCalibrationRecordInput = z.object({\n id: z.number().int().describe(\"Calibration record ID to delete (must be a positive integer)\"),\n}).describe(\"Request model for deleting a calibration record.\");\nexport const GagelistDeleteCalibrationRecordOutput = z.object({\n data: z.number().int().describe(\"Numeric code returned by the API (typically 0 on success)\").nullable(),\n message: z.string().describe(\"Message returned by the API\").nullable(),\n success: z.boolean().describe(\"Indicates if the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model after deleting a calibration record.\");\n\nexport const gagelistDeleteCalibrationRecord: AppAction<\n typeof GagelistDeleteCalibrationRecordInput,\n typeof GagelistDeleteCalibrationRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_DELETE_CALIBRATION_RECORD\", {\n slug: \"gagelist-delete-calibration-record\",\n name: \"Delete Calibration Record\",\n description: \"Deletes a calibration record by its ID. This is a destructive operation that permanently removes the record. Verify the record exists before deletion.\",\n input: GagelistDeleteCalibrationRecordInput,\n output: GagelistDeleteCalibrationRecordOutput,\n});\n"],"mappings":";;;AAeA,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBkD,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,EAC9F,CAAC,CAAC,CAAC,SAAS,kDAeH;CACP,QAfmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-gage-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistDeleteGageRecordInput = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\").nullable(),\n message: z.string().describe(\"API informational message\").nullable(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sLAAsL;AAEhN,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-gage-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { gagelist } from \"../app\";\n\nexport const GagelistDeleteGageRecordInput = z.object({\n id: z.number().int().describe(\"ID of the gage record to delete. Must be a positive integer corresponding to an existing gage record in the system.\"),\n}).describe(\"Request model for DELETE_GAGE_RECORD.\\n\\nid: ID of the gage record to delete. Must be a positive integer.\");\nexport const GagelistDeleteGageRecordOutput = z.object({\n data: z.number().int().describe(\"API data field (typically 0 on successful deletion)\").nullable(),\n message: z.string().describe(\"API informational message\").nullable(),\n success: z.boolean().describe(\"Whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for DELETE_GAGE_RECORD.\\n\\ndata: integer returned by API, typically 0 on success.\\nsuccess: whether deletion succeeded.\\nmessage: informational message from the API.\");\n\nexport const gagelistDeleteGageRecord: AppAction<\n typeof GagelistDeleteGageRecordInput,\n typeof GagelistDeleteGageRecordOutput,\n typeof gagelist.credential\n> = action(\"GAGELIST_DELETE_GAGE_RECORD\", {\n slug: \"gagelist-delete-gage-record\",\n name: \"Delete Gage Record\",\n description: \"Deletes a gage record by its ID. The record must exist in the system to be deleted successfully. This operation is destructive and cannot be undone.\",\n input: GagelistDeleteGageRecordInput,\n output: GagelistDeleteGageRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qHAAqH,EACrJ,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sLAAsL;AAEhN,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-gage-record.d.ts
@@ -9,21 +11,7 @@ declare const GagelistDeleteGageRecordOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const gagelistDeleteGageRecord: AppAction<typeof GagelistDeleteGageRecordInput, typeof GagelistDeleteGageRecordOutput, typeof gagelist.credential>;
27
15
  //#endregion
28
16
  export { gagelistDeleteGageRecord };
29
17
  //# sourceMappingURL=delete-gage-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.d.cts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"delete-gage-record.d.cts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { gagelist } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-gage-record.d.ts
@@ -9,21 +11,7 @@ declare const GagelistDeleteGageRecordOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  success: z.ZodNullable<z.ZodBoolean>;
11
13
  }, z.core.$loose>;
12
- declare const gagelistDeleteGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- id: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- accessToken: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- accessToken: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const gagelistDeleteGageRecord: AppAction<typeof GagelistDeleteGageRecordInput, typeof GagelistDeleteGageRecordOutput, typeof gagelist.credential>;
27
15
  //#endregion
28
16
  export { gagelistDeleteGageRecord };
29
17
  //# sourceMappingURL=delete-gage-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-gage-record.d.mts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"delete-gage-record.d.mts","names":[],"sources":["../../src/actions/delete-gage-record.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const gagelistDeleteGageRecord = action("GAGELIST_DELETE_GAGE_RECORD", {