@keystrokehq/gagelist 0.1.2 → 0.1.4

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 (143) hide show
  1. package/dist/actions/add-calibration-record.cjs +4 -4
  2. package/dist/actions/add-calibration-record.cjs.map +1 -1
  3. package/dist/actions/add-calibration-record.d.cts +20 -5
  4. package/dist/actions/add-calibration-record.d.mts +20 -5
  5. package/dist/actions/add-calibration-record.mjs +4 -4
  6. package/dist/actions/add-calibration-record.mjs.map +1 -1
  7. package/dist/actions/add-gage-record.cjs +3 -3
  8. package/dist/actions/add-gage-record.cjs.map +1 -1
  9. package/dist/actions/add-gage-record.d.cts +18 -4
  10. package/dist/actions/add-gage-record.d.mts +18 -4
  11. package/dist/actions/add-gage-record.mjs +3 -3
  12. package/dist/actions/add-gage-record.mjs.map +1 -1
  13. package/dist/actions/add-manufacturer.cjs +1 -1
  14. package/dist/actions/add-manufacturer.cjs.map +1 -1
  15. package/dist/actions/add-manufacturer.d.cts +14 -2
  16. package/dist/actions/add-manufacturer.d.mts +14 -2
  17. package/dist/actions/add-manufacturer.mjs +1 -1
  18. package/dist/actions/add-manufacturer.mjs.map +1 -1
  19. package/dist/actions/authenticate-with-gagelist.cjs +1 -1
  20. package/dist/actions/authenticate-with-gagelist.cjs.map +1 -1
  21. package/dist/actions/authenticate-with-gagelist.d.cts +14 -2
  22. package/dist/actions/authenticate-with-gagelist.d.mts +14 -2
  23. package/dist/actions/authenticate-with-gagelist.mjs +1 -1
  24. package/dist/actions/authenticate-with-gagelist.mjs.map +1 -1
  25. package/dist/actions/delete-calibration-record.cjs +1 -1
  26. package/dist/actions/delete-calibration-record.cjs.map +1 -1
  27. package/dist/actions/delete-calibration-record.d.cts +14 -2
  28. package/dist/actions/delete-calibration-record.d.mts +14 -2
  29. package/dist/actions/delete-calibration-record.mjs +1 -1
  30. package/dist/actions/delete-calibration-record.mjs.map +1 -1
  31. package/dist/actions/delete-gage-record.cjs +1 -1
  32. package/dist/actions/delete-gage-record.cjs.map +1 -1
  33. package/dist/actions/delete-gage-record.d.cts +14 -2
  34. package/dist/actions/delete-gage-record.d.mts +14 -2
  35. package/dist/actions/delete-gage-record.mjs +1 -1
  36. package/dist/actions/delete-gage-record.mjs.map +1 -1
  37. package/dist/actions/delete-manufacturer.cjs +1 -1
  38. package/dist/actions/delete-manufacturer.cjs.map +1 -1
  39. package/dist/actions/delete-manufacturer.d.cts +14 -2
  40. package/dist/actions/delete-manufacturer.d.mts +14 -2
  41. package/dist/actions/delete-manufacturer.mjs +1 -1
  42. package/dist/actions/delete-manufacturer.mjs.map +1 -1
  43. package/dist/actions/generate-calibration-certificate.cjs +2 -2
  44. package/dist/actions/generate-calibration-certificate.cjs.map +1 -1
  45. package/dist/actions/generate-calibration-certificate.d.cts +15 -3
  46. package/dist/actions/generate-calibration-certificate.d.mts +15 -3
  47. package/dist/actions/generate-calibration-certificate.mjs +2 -2
  48. package/dist/actions/generate-calibration-certificate.mjs.map +1 -1
  49. package/dist/actions/get-account-settings.cjs +2 -2
  50. package/dist/actions/get-account-settings.cjs.map +1 -1
  51. package/dist/actions/get-account-settings.d.cts +15 -3
  52. package/dist/actions/get-account-settings.d.cts.map +1 -1
  53. package/dist/actions/get-account-settings.d.mts +15 -3
  54. package/dist/actions/get-account-settings.d.mts.map +1 -1
  55. package/dist/actions/get-account-settings.mjs +2 -2
  56. package/dist/actions/get-account-settings.mjs.map +1 -1
  57. package/dist/actions/get-account-status.cjs +5 -5
  58. package/dist/actions/get-account-status.cjs.map +1 -1
  59. package/dist/actions/get-account-status.d.cts +19 -7
  60. package/dist/actions/get-account-status.d.cts.map +1 -1
  61. package/dist/actions/get-account-status.d.mts +19 -7
  62. package/dist/actions/get-account-status.d.mts.map +1 -1
  63. package/dist/actions/get-account-status.mjs +5 -5
  64. package/dist/actions/get-account-status.mjs.map +1 -1
  65. package/dist/actions/get-all-calibration-records.cjs +2 -2
  66. package/dist/actions/get-all-calibration-records.cjs.map +1 -1
  67. package/dist/actions/get-all-calibration-records.d.cts +15 -3
  68. package/dist/actions/get-all-calibration-records.d.mts +15 -3
  69. package/dist/actions/get-all-calibration-records.mjs +2 -2
  70. package/dist/actions/get-all-calibration-records.mjs.map +1 -1
  71. package/dist/actions/get-all-gage-records.cjs +2 -2
  72. package/dist/actions/get-all-gage-records.cjs.map +1 -1
  73. package/dist/actions/get-all-gage-records.d.cts +15 -3
  74. package/dist/actions/get-all-gage-records.d.mts +15 -3
  75. package/dist/actions/get-all-gage-records.mjs +2 -2
  76. package/dist/actions/get-all-gage-records.mjs.map +1 -1
  77. package/dist/actions/get-all-manufacturers.cjs +2 -2
  78. package/dist/actions/get-all-manufacturers.cjs.map +1 -1
  79. package/dist/actions/get-all-manufacturers.d.cts +15 -3
  80. package/dist/actions/get-all-manufacturers.d.cts.map +1 -1
  81. package/dist/actions/get-all-manufacturers.d.mts +15 -3
  82. package/dist/actions/get-all-manufacturers.d.mts.map +1 -1
  83. package/dist/actions/get-all-manufacturers.mjs +2 -2
  84. package/dist/actions/get-all-manufacturers.mjs.map +1 -1
  85. package/dist/actions/get-attachment.cjs +2 -2
  86. package/dist/actions/get-attachment.cjs.map +1 -1
  87. package/dist/actions/get-attachment.d.cts +15 -3
  88. package/dist/actions/get-attachment.d.mts +15 -3
  89. package/dist/actions/get-attachment.mjs +2 -2
  90. package/dist/actions/get-attachment.mjs.map +1 -1
  91. package/dist/actions/get-custom-fields.cjs +2 -2
  92. package/dist/actions/get-custom-fields.cjs.map +1 -1
  93. package/dist/actions/get-custom-fields.d.cts +15 -3
  94. package/dist/actions/get-custom-fields.d.cts.map +1 -1
  95. package/dist/actions/get-custom-fields.d.mts +15 -3
  96. package/dist/actions/get-custom-fields.d.mts.map +1 -1
  97. package/dist/actions/get-custom-fields.mjs +2 -2
  98. package/dist/actions/get-custom-fields.mjs.map +1 -1
  99. package/dist/actions/get-single-calibration-record.cjs +5 -5
  100. package/dist/actions/get-single-calibration-record.cjs.map +1 -1
  101. package/dist/actions/get-single-calibration-record.d.cts +18 -6
  102. package/dist/actions/get-single-calibration-record.d.mts +18 -6
  103. package/dist/actions/get-single-calibration-record.mjs +5 -5
  104. package/dist/actions/get-single-calibration-record.mjs.map +1 -1
  105. package/dist/actions/get-single-gage-record.cjs +4 -4
  106. package/dist/actions/get-single-gage-record.cjs.map +1 -1
  107. package/dist/actions/get-single-gage-record.d.cts +17 -5
  108. package/dist/actions/get-single-gage-record.d.mts +17 -5
  109. package/dist/actions/get-single-gage-record.mjs +4 -4
  110. package/dist/actions/get-single-gage-record.mjs.map +1 -1
  111. package/dist/actions/update-account-settings.cjs +1 -1
  112. package/dist/actions/update-account-settings.cjs.map +1 -1
  113. package/dist/actions/update-account-settings.d.cts +14 -2
  114. package/dist/actions/update-account-settings.d.mts +14 -2
  115. package/dist/actions/update-account-settings.mjs +1 -1
  116. package/dist/actions/update-account-settings.mjs.map +1 -1
  117. package/dist/actions/update-custom-field-values.cjs +2 -2
  118. package/dist/actions/update-custom-field-values.cjs.map +1 -1
  119. package/dist/actions/update-custom-field-values.d.cts +16 -3
  120. package/dist/actions/update-custom-field-values.d.mts +16 -3
  121. package/dist/actions/update-custom-field-values.mjs +2 -2
  122. package/dist/actions/update-custom-field-values.mjs.map +1 -1
  123. package/dist/actions/update-manufacturer.cjs +1 -1
  124. package/dist/actions/update-manufacturer.cjs.map +1 -1
  125. package/dist/actions/update-manufacturer.d.cts +14 -2
  126. package/dist/actions/update-manufacturer.d.mts +14 -2
  127. package/dist/actions/update-manufacturer.mjs +1 -1
  128. package/dist/actions/update-manufacturer.mjs.map +1 -1
  129. package/dist/actions/upload-attachment-to-gage-record.cjs +1 -1
  130. package/dist/actions/upload-attachment-to-gage-record.cjs.map +1 -1
  131. package/dist/actions/upload-attachment-to-gage-record.d.cts +14 -2
  132. package/dist/actions/upload-attachment-to-gage-record.d.mts +14 -2
  133. package/dist/actions/upload-attachment-to-gage-record.mjs +1 -1
  134. package/dist/actions/upload-attachment-to-gage-record.mjs.map +1 -1
  135. package/dist/app.cjs +5 -2
  136. package/dist/app.cjs.map +1 -1
  137. package/dist/app.d.cts +9 -1
  138. package/dist/app.d.cts.map +1 -1
  139. package/dist/app.d.mts +9 -1
  140. package/dist/app.d.mts.map +1 -1
  141. package/dist/app.mjs +3 -1
  142. package/dist/app.mjs.map +1 -1
  143. package/package.json +1 -1
@@ -13,7 +13,7 @@ const GagelistUpdateManufacturerOutput = zod.z.object({
13
13
  data: zod.z.number().int().describe("API-specific return code or ID of the updated manufacturer").nullable(),
14
14
  message: zod.z.string().describe("Informational message from the API").nullable(),
15
15
  success: zod.z.boolean().describe("Indicates whether the update succeeded").nullable()
16
- }).describe("Response model for update manufacturer action.");
16
+ }).passthrough().describe("Response model for update manufacturer action.");
17
17
  const gagelistUpdateManufacturer = require_action.action("GAGELIST_UPDATE_MANUFACTURER", {
18
18
  slug: "gagelist-update-manufacturer",
19
19
  name: "Update Manufacturer",
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-manufacturer.cjs","names":["z","action"],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Id: number;
19
19
  Fax?: string | undefined;
@@ -21,7 +21,19 @@ declare const gagelistUpdateManufacturer: import("@keystrokehq/action").Workflow
21
21
  Phone?: string | undefined;
22
22
  Address?: string | undefined;
23
23
  Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
25
37
  //#endregion
26
38
  export { gagelistUpdateManufacturer };
27
39
  //# sourceMappingURL=update-manufacturer.d.cts.map
@@ -13,7 +13,7 @@ declare const GagelistUpdateManufacturerOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodNullable<z.ZodString>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUpdateManufacturer: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  Id: number;
19
19
  Fax?: string | undefined;
@@ -21,7 +21,19 @@ declare const gagelistUpdateManufacturer: import("@keystrokehq/action").Workflow
21
21
  Phone?: string | undefined;
22
22
  Address?: string | undefined;
23
23
  Website?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
25
37
  //#endregion
26
38
  export { gagelistUpdateManufacturer };
27
39
  //# sourceMappingURL=update-manufacturer.d.mts.map
@@ -16,7 +16,7 @@ const gagelistUpdateManufacturer = action("GAGELIST_UPDATE_MANUFACTURER", {
16
16
  data: z.number().int().describe("API-specific return code or ID of the updated manufacturer").nullable(),
17
17
  message: z.string().describe("Informational message from the API").nullable(),
18
18
  success: z.boolean().describe("Indicates whether the update succeeded").nullable()
19
- }).describe("Response model for update manufacturer action.")
19
+ }).passthrough().describe("Response model for update manufacturer action.")
20
20
  });
21
21
  //#endregion
22
22
  export { gagelistUpdateManufacturer };
@@ -1 +1 @@
1
- {"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-manufacturer.mjs","names":[],"sources":["../../src/actions/update-manufacturer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUpdateManufacturerInput = z.object({\n Id: z.number().int().describe(\"ID of the manufacturer to update (must be a positive integer)\"),\n Fax: z.string().describe(\"Fax number of the manufacturer.\").optional(),\n Name: z.string().describe(\"Name of the manufacturer.\").optional(),\n Phone: z.string().describe(\"Phone number of the manufacturer.\").optional(),\n Address: z.string().describe(\"Address of the manufacturer.\").optional(),\n Website: z.string().describe(\"Website URL of the manufacturer.\").optional(),\n}).describe(\"Request model for updating a manufacturer.\");\nexport const GagelistUpdateManufacturerOutput = z.object({\n data: z.number().int().describe(\"API-specific return code or ID of the updated manufacturer\").nullable(),\n message: z.string().describe(\"Informational message from the API\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update succeeded\").nullable(),\n}).passthrough().describe(\"Response model for update manufacturer action.\");\n\nexport const gagelistUpdateManufacturer = action(\"GAGELIST_UPDATE_MANUFACTURER\", {\n slug: \"gagelist-update-manufacturer\",\n name: \"Update Manufacturer\",\n description: \"Tool to update a manufacturer by its ID. Use after confirming the manufacturer exists.\",\n input: GagelistUpdateManufacturerInput,\n output: GagelistUpdateManufacturerOutput,\n});\n"],"mappings":";;AAkBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,4CAWH;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const GagelistUploadAttachmentToGageRecordOutput = zod.z.object({
13
13
  data: zod.z.number().int().describe("Identifier of the uploaded attachment").nullable(),
14
14
  message: zod.z.string().describe("Informational message returned by the API").nullable().optional(),
15
15
  success: zod.z.boolean().describe("Flag indicating if the upload was successful").nullable()
16
- }).describe("Response model after uploading an attachment to a gage record.");
16
+ }).passthrough().describe("Response model after uploading an attachment to a gage record.");
17
17
  const gagelistUploadAttachmentToGageRecord = require_action.action("GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD", {
18
18
  slug: "gagelist-upload-attachment-to-gage-record",
19
19
  name: "Upload Attachment To Gage Record",
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.cjs","names":["z","action"],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnG,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
19
19
  file: {
@@ -21,7 +21,19 @@ declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action"
21
21
  s3key: string;
22
22
  mimetype: string;
23
23
  };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
25
37
  //#endregion
26
38
  export { gagelistUploadAttachmentToGageRecord };
27
39
  //# sourceMappingURL=upload-attachment-to-gage-record.d.cts.map
@@ -13,7 +13,7 @@ declare const GagelistUploadAttachmentToGageRecordOutput: z.ZodObject<{
13
13
  data: z.ZodNullable<z.ZodNumber>;
14
14
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  success: z.ZodNullable<z.ZodBoolean>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  id: number;
19
19
  file: {
@@ -21,7 +21,19 @@ declare const gagelistUploadAttachmentToGageRecord: import("@keystrokehq/action"
21
21
  s3key: string;
22
22
  mimetype: string;
23
23
  };
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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>>]>;
25
37
  //#endregion
26
38
  export { gagelistUploadAttachmentToGageRecord };
27
39
  //# sourceMappingURL=upload-attachment-to-gage-record.d.mts.map
@@ -16,7 +16,7 @@ const gagelistUploadAttachmentToGageRecord = action("GAGELIST_UPLOAD_ATTACHMENT_
16
16
  data: z.number().int().describe("Identifier of the uploaded attachment").nullable(),
17
17
  message: z.string().describe("Informational message returned by the API").nullable().optional(),
18
18
  success: z.boolean().describe("Flag indicating if the upload was successful").nullable()
19
- }).describe("Response model after uploading an attachment to a gage record.")
19
+ }).passthrough().describe("Response model after uploading an attachment to a gage record.")
20
20
  });
21
21
  //#endregion
22
22
  export { gagelistUploadAttachmentToGageRecord };
@@ -1 +1 @@
1
- {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"upload-attachment-to-gage-record.mjs","names":[],"sources":["../../src/actions/upload-attachment-to-gage-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GagelistUploadAttachmentToGageRecordInput = z.object({\n id: z.number().int().describe(\"Identifier of the gage record to which the attachment will be added\"),\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload as an attachment.\"),\n}).describe(\"Request model for uploading an attachment to a gage record.\");\nexport const GagelistUploadAttachmentToGageRecordOutput = z.object({\n data: z.number().int().describe(\"Identifier of the uploaded attachment\").nullable(),\n message: z.string().describe(\"Informational message returned by the API\").nullable().optional(),\n success: z.boolean().describe(\"Flag indicating if the upload was successful\").nullable(),\n}).passthrough().describe(\"Response model after uploading an attachment to a gage record.\");\n\nexport const gagelistUploadAttachmentToGageRecord = action(\"GAGELIST_UPLOAD_ATTACHMENT_TO_GAGE_RECORD\", {\n slug: \"gagelist-upload-attachment-to-gage-record\",\n name: \"Upload Attachment To Gage Record\",\n description: \"Tool to upload an attachment to a gage record. Use when adding files to an existing gage record.\",\n input: GagelistUploadAttachmentToGageRecordInput,\n output: GagelistUploadAttachmentToGageRecordOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACnG,MAAM,EAAE,OAAO;GACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;GAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;GACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC9C,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAXwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const gagelist = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const gagelist = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "gagelist",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.gagelist = gagelist;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { gagelist };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const gagelist: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"gagelist", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { gagelist };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const gagelist = defineApp({
4
5
  slug: "gagelist",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { gagelist };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const gagelist = defineApp({\n slug: \"gagelist\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAa,EAAE,OAAO,EACxB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gagelist",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"