@keystrokehq/refiner 0.1.4 → 0.1.6

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 (93) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-contact.cjs +1 -0
  4. package/dist/actions/delete-contact.cjs.map +1 -1
  5. package/dist/actions/delete-contact.d.cts +3 -4
  6. package/dist/actions/delete-contact.d.cts.map +1 -1
  7. package/dist/actions/delete-contact.d.mts +3 -4
  8. package/dist/actions/delete-contact.d.mts.map +1 -1
  9. package/dist/actions/delete-contact.mjs +1 -0
  10. package/dist/actions/delete-contact.mjs.map +1 -1
  11. package/dist/actions/get-account-info.cjs +1 -0
  12. package/dist/actions/get-account-info.cjs.map +1 -1
  13. package/dist/actions/get-account-info.d.cts +3 -1
  14. package/dist/actions/get-account-info.d.cts.map +1 -1
  15. package/dist/actions/get-account-info.d.mts +3 -1
  16. package/dist/actions/get-account-info.d.mts.map +1 -1
  17. package/dist/actions/get-account-info.mjs +1 -0
  18. package/dist/actions/get-account-info.mjs.map +1 -1
  19. package/dist/actions/get-contact.cjs +1 -0
  20. package/dist/actions/get-contact.cjs.map +1 -1
  21. package/dist/actions/get-contact.d.cts +3 -5
  22. package/dist/actions/get-contact.d.cts.map +1 -1
  23. package/dist/actions/get-contact.d.mts +3 -5
  24. package/dist/actions/get-contact.d.mts.map +1 -1
  25. package/dist/actions/get-contact.mjs +1 -0
  26. package/dist/actions/get-contact.mjs.map +1 -1
  27. package/dist/actions/get-contacts.cjs +1 -0
  28. package/dist/actions/get-contacts.cjs.map +1 -1
  29. package/dist/actions/get-contacts.d.cts +4 -10
  30. package/dist/actions/get-contacts.d.cts.map +1 -1
  31. package/dist/actions/get-contacts.d.mts +4 -10
  32. package/dist/actions/get-contacts.d.mts.map +1 -1
  33. package/dist/actions/get-contacts.mjs +1 -0
  34. package/dist/actions/get-contacts.mjs.map +1 -1
  35. package/dist/actions/get-forms.cjs +1 -0
  36. package/dist/actions/get-forms.cjs.map +1 -1
  37. package/dist/actions/get-forms.d.cts +3 -7
  38. package/dist/actions/get-forms.d.cts.map +1 -1
  39. package/dist/actions/get-forms.d.mts +3 -7
  40. package/dist/actions/get-forms.d.mts.map +1 -1
  41. package/dist/actions/get-forms.mjs +1 -0
  42. package/dist/actions/get-forms.mjs.map +1 -1
  43. package/dist/actions/get-reporting.cjs +1 -0
  44. package/dist/actions/get-reporting.cjs.map +1 -1
  45. package/dist/actions/get-reporting.d.cts +3 -9
  46. package/dist/actions/get-reporting.d.cts.map +1 -1
  47. package/dist/actions/get-reporting.d.mts +3 -9
  48. package/dist/actions/get-reporting.d.mts.map +1 -1
  49. package/dist/actions/get-reporting.mjs +1 -0
  50. package/dist/actions/get-reporting.mjs.map +1 -1
  51. package/dist/actions/get-responses.cjs +1 -0
  52. package/dist/actions/get-responses.cjs.map +1 -1
  53. package/dist/actions/get-responses.d.cts +3 -14
  54. package/dist/actions/get-responses.d.cts.map +1 -1
  55. package/dist/actions/get-responses.d.mts +3 -14
  56. package/dist/actions/get-responses.d.mts.map +1 -1
  57. package/dist/actions/get-responses.mjs +1 -0
  58. package/dist/actions/get-responses.mjs.map +1 -1
  59. package/dist/actions/get-segments.cjs +1 -0
  60. package/dist/actions/get-segments.cjs.map +1 -1
  61. package/dist/actions/get-segments.d.cts +3 -5
  62. package/dist/actions/get-segments.d.cts.map +1 -1
  63. package/dist/actions/get-segments.d.mts +3 -5
  64. package/dist/actions/get-segments.d.mts.map +1 -1
  65. package/dist/actions/get-segments.mjs +1 -0
  66. package/dist/actions/get-segments.mjs.map +1 -1
  67. package/dist/actions/track-event.cjs +1 -0
  68. package/dist/actions/track-event.cjs.map +1 -1
  69. package/dist/actions/track-event.d.cts +3 -5
  70. package/dist/actions/track-event.d.cts.map +1 -1
  71. package/dist/actions/track-event.d.mts +3 -5
  72. package/dist/actions/track-event.d.mts.map +1 -1
  73. package/dist/actions/track-event.mjs +1 -0
  74. package/dist/actions/track-event.mjs.map +1 -1
  75. package/dist/actions/update-contact.cjs +1 -0
  76. package/dist/actions/update-contact.cjs.map +1 -1
  77. package/dist/actions/update-contact.d.cts +3 -10
  78. package/dist/actions/update-contact.d.cts.map +1 -1
  79. package/dist/actions/update-contact.d.mts +3 -10
  80. package/dist/actions/update-contact.d.mts.map +1 -1
  81. package/dist/actions/update-contact.mjs +1 -0
  82. package/dist/actions/update-contact.mjs.map +1 -1
  83. package/dist/app.cjs +5 -2
  84. package/dist/app.cjs.map +1 -1
  85. package/dist/app.d.cts +7 -1
  86. package/dist/app.d.cts.map +1 -1
  87. package/dist/app.d.mts +7 -1
  88. package/dist/app.d.mts.map +1 -1
  89. package/dist/app.mjs +3 -2
  90. package/dist/app.mjs.map +1 -1
  91. package/dist/index.d.cts +1 -1
  92. package/dist/index.d.mts +1 -1
  93. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["refiner","executeRefinerTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { refiner } from \"./app\";\nimport { executeRefinerTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return refiner.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRefinerTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["refiner","executeRefinerTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { refiner } from \"./app\";\nimport { executeRefinerTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof refiner.credential> {\n return refiner.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRefinerTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { refiner } from \"./app\";\nimport { executeRefinerTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return refiner.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRefinerTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { refiner } from \"./app\";\nimport { executeRefinerTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof refiner.credential> {\n return refiner.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRefinerTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -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-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerDeleteContactInput = z.object({\n id: z.string().describe(\"Your user ID that was used when the contact was created. This is the primary identifier for the contact.\").optional(),\n email: z.string().describe(\"The email address of the contact to delete. Can be used as an alternative to id.\").optional(),\n}).describe(\"Request model for deleting a Refiner contact.\");\nexport const RefinerDeleteContactOutput = z.object({\n message: z.string().describe(\"Confirmation message that the contact was deleted (e.g., 'ok').\").nullable(),\n}).passthrough().describe(\"Response model returned after deleting a contact.\");\n\nexport const refinerDeleteContact = action(\"REFINER_DELETE_CONTACT\", {\n slug: \"refiner-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specific contact by its identifier. Provide either the user ID or email address to identify and delete the contact.\",\n input: RefinerDeleteContactInput,\n output: RefinerDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerDeleteContactInput = z.object({\n id: z.string().describe(\"Your user ID that was used when the contact was created. This is the primary identifier for the contact.\").optional(),\n email: z.string().describe(\"The email address of the contact to delete. Can be used as an alternative to id.\").optional(),\n}).describe(\"Request model for deleting a Refiner contact.\");\nexport const RefinerDeleteContactOutput = z.object({\n message: z.string().describe(\"Confirmation message that the contact was deleted (e.g., 'ok').\").nullable(),\n}).passthrough().describe(\"Response model returned after deleting a contact.\");\n\nexport const refinerDeleteContact: AppAction<\n typeof RefinerDeleteContactInput,\n typeof RefinerDeleteContactOutput,\n typeof refiner.credential\n> = action(\"REFINER_DELETE_CONTACT\", {\n slug: \"refiner-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specific contact by its identifier. Provide either the user ID or email address to identify and delete the contact.\",\n input: RefinerDeleteContactInput,\n output: RefinerDeleteContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC7I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-contact.d.ts
@@ -8,10 +10,7 @@ declare const RefinerDeleteContactInput: z.ZodObject<{
8
10
  declare const RefinerDeleteContactOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const refinerDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id?: string | undefined;
13
- email?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const refinerDeleteContact: AppAction<typeof RefinerDeleteContactInput, typeof RefinerDeleteContactOutput, typeof refiner.credential>;
15
14
  //#endregion
16
15
  export { refinerDeleteContact };
17
16
  //# sourceMappingURL=delete-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-contact.d.ts
@@ -8,10 +10,7 @@ declare const RefinerDeleteContactInput: z.ZodObject<{
8
10
  declare const RefinerDeleteContactOutput: z.ZodObject<{
9
11
  message: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const refinerDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id?: string | undefined;
13
- email?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const refinerDeleteContact: AppAction<typeof RefinerDeleteContactInput, typeof RefinerDeleteContactOutput, typeof refiner.credential>;
15
14
  //#endregion
16
15
  export { refinerDeleteContact };
17
16
  //# sourceMappingURL=delete-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,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 refinerDeleteContact = action("REFINER_DELETE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerDeleteContactInput = z.object({\n id: z.string().describe(\"Your user ID that was used when the contact was created. This is the primary identifier for the contact.\").optional(),\n email: z.string().describe(\"The email address of the contact to delete. Can be used as an alternative to id.\").optional(),\n}).describe(\"Request model for deleting a Refiner contact.\");\nexport const RefinerDeleteContactOutput = z.object({\n message: z.string().describe(\"Confirmation message that the contact was deleted (e.g., 'ok').\").nullable(),\n}).passthrough().describe(\"Response model returned after deleting a contact.\");\n\nexport const refinerDeleteContact = action(\"REFINER_DELETE_CONTACT\", {\n slug: \"refiner-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specific contact by its identifier. Provide either the user ID or email address to identify and delete the contact.\",\n input: RefinerDeleteContactInput,\n output: RefinerDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,+CASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerDeleteContactInput = z.object({\n id: z.string().describe(\"Your user ID that was used when the contact was created. This is the primary identifier for the contact.\").optional(),\n email: z.string().describe(\"The email address of the contact to delete. Can be used as an alternative to id.\").optional(),\n}).describe(\"Request model for deleting a Refiner contact.\");\nexport const RefinerDeleteContactOutput = z.object({\n message: z.string().describe(\"Confirmation message that the contact was deleted (e.g., 'ok').\").nullable(),\n}).passthrough().describe(\"Response model returned after deleting a contact.\");\n\nexport const refinerDeleteContact: AppAction<\n typeof RefinerDeleteContactInput,\n typeof RefinerDeleteContactOutput,\n typeof refiner.credential\n> = action(\"REFINER_DELETE_CONTACT\", {\n slug: \"refiner-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specific contact by its identifier. Provide either the user ID or email address to identify and delete the contact.\",\n input: RefinerDeleteContactInput,\n output: RefinerDeleteContactOutput,\n});\n"],"mappings":";;;AAcA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;EAC7I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,+CAaH;CACP,QAbwC,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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/get-account-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-info.cjs","names":["z","action"],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetAccountInfoInput = z.object({}).describe(\"Request model for GetAccountInfo - no parameters required.\");\nconst RefinerGetAccountInfo_EnvironmentSchema = z.object({\n mpv: z.number().int().describe(\"Monthly Page Views (MPV) - number of page views tracked in this environment during the current month\").nullable(),\n msr: z.number().int().describe(\"Monthly Survey Responses (MSR) - number of survey responses collected in this environment during the current month\").nullable(),\n mte: z.number().int().describe(\"Monthly Tracked Events (MTE) - number of custom events tracked in this environment during the current month\").nullable(),\n mtu: z.number().int().describe(\"Monthly Tracked Users (MTU) - number of unique users tracked in this environment during the current month\").nullable(),\n name: z.string().describe(\"Name of the environment\").nullable(),\n uuid: z.string().describe(\"UUID of the environment\").nullable(),\n}).passthrough();\nconst RefinerGetAccountInfo_SubscriptionSchema = z.object({\n plan: z.string().describe(\"Name of the subscribed plan\").nullable(),\n mpv_count: z.number().int().describe(\"Current number of Monthly Page Views (MPV) - page views tracked in the current month\").nullable(),\n mpv_limit: z.number().int().describe(\"Limit for Monthly Page Views (MPV) allowed by the current plan\").nullable(),\n msr_count: z.number().int().describe(\"Current number of Monthly Survey Responses (MSR) - survey responses collected in the current month\").nullable(),\n msr_limit: z.number().int().describe(\"Limit for Monthly Survey Responses (MSR) allowed by the current plan\").nullable(),\n mte_count: z.number().int().describe(\"Current number of Monthly Tracked Events (MTE) - custom events tracked in the current month\").nullable(),\n mtu_count: z.number().int().describe(\"Current number of Monthly Tracked Users (MTU) - unique users tracked in the current month\").nullable(),\n mtu_limit: z.number().int().describe(\"Limit for Monthly Tracked Users (MTU) allowed by the current plan\").nullable(),\n mpv_count_updated_at: z.string().describe(\"Timestamp when the Monthly Page Views (MPV) count was last updated (ISO 8601 format)\").nullable(),\n msr_count_updated_at: z.string().describe(\"Timestamp when the Monthly Survey Responses (MSR) count was last updated (ISO 8601 format)\").nullable(),\n mte_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Events (MTE) count was last updated (ISO 8601 format)\").nullable(),\n mtu_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Users (MTU) count was last updated (ISO 8601 format)\").nullable(),\n}).passthrough();\nexport const RefinerGetAccountInfoOutput = z.object({\n environments: z.array(RefinerGetAccountInfo_EnvironmentSchema).describe(\"List of environments and their usage statistics\"),\n subscription: RefinerGetAccountInfo_SubscriptionSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetAccountInfo = action(\"REFINER_GET_ACCOUNT_INFO\", {\n slug: \"refiner-get-account-info\",\n name: \"Get Account Info\",\n description: \"Retrieves Refiner account information including subscription plan, usage limits, and environment statistics. This action provides: - Current subscription plan and usage limits (MTU, MTE, MPV, MSR) - Usage counters for monthly tracked users, events, page views, and survey responses - Per-environment breakdown of usage statistics - Last updated timestamps for all usage metrics Use this when you need to check account status, monitor usage against limits, or audit environment statistics.\",\n input: RefinerGetAccountInfoInput,\n output: RefinerGetAccountInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,I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AS,6FAA6F,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACnH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC3I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACjJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,cAAcA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD;CACzH,cAAc,yCAAyC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-account-info.cjs","names":["z","action"],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetAccountInfoInput = z.object({}).describe(\"Request model for GetAccountInfo - no parameters required.\");\nconst RefinerGetAccountInfo_EnvironmentSchema = z.object({\n mpv: z.number().int().describe(\"Monthly Page Views (MPV) - number of page views tracked in this environment during the current month\").nullable(),\n msr: z.number().int().describe(\"Monthly Survey Responses (MSR) - number of survey responses collected in this environment during the current month\").nullable(),\n mte: z.number().int().describe(\"Monthly Tracked Events (MTE) - number of custom events tracked in this environment during the current month\").nullable(),\n mtu: z.number().int().describe(\"Monthly Tracked Users (MTU) - number of unique users tracked in this environment during the current month\").nullable(),\n name: z.string().describe(\"Name of the environment\").nullable(),\n uuid: z.string().describe(\"UUID of the environment\").nullable(),\n}).passthrough();\nconst RefinerGetAccountInfo_SubscriptionSchema = z.object({\n plan: z.string().describe(\"Name of the subscribed plan\").nullable(),\n mpv_count: z.number().int().describe(\"Current number of Monthly Page Views (MPV) - page views tracked in the current month\").nullable(),\n mpv_limit: z.number().int().describe(\"Limit for Monthly Page Views (MPV) allowed by the current plan\").nullable(),\n msr_count: z.number().int().describe(\"Current number of Monthly Survey Responses (MSR) - survey responses collected in the current month\").nullable(),\n msr_limit: z.number().int().describe(\"Limit for Monthly Survey Responses (MSR) allowed by the current plan\").nullable(),\n mte_count: z.number().int().describe(\"Current number of Monthly Tracked Events (MTE) - custom events tracked in the current month\").nullable(),\n mtu_count: z.number().int().describe(\"Current number of Monthly Tracked Users (MTU) - unique users tracked in the current month\").nullable(),\n mtu_limit: z.number().int().describe(\"Limit for Monthly Tracked Users (MTU) allowed by the current plan\").nullable(),\n mpv_count_updated_at: z.string().describe(\"Timestamp when the Monthly Page Views (MPV) count was last updated (ISO 8601 format)\").nullable(),\n msr_count_updated_at: z.string().describe(\"Timestamp when the Monthly Survey Responses (MSR) count was last updated (ISO 8601 format)\").nullable(),\n mte_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Events (MTE) count was last updated (ISO 8601 format)\").nullable(),\n mtu_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Users (MTU) count was last updated (ISO 8601 format)\").nullable(),\n}).passthrough();\nexport const RefinerGetAccountInfoOutput = z.object({\n environments: z.array(RefinerGetAccountInfo_EnvironmentSchema).describe(\"List of environments and their usage statistics\"),\n subscription: RefinerGetAccountInfo_SubscriptionSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetAccountInfo: AppAction<\n typeof RefinerGetAccountInfoInput,\n typeof RefinerGetAccountInfoOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_ACCOUNT_INFO\", {\n slug: \"refiner-get-account-info\",\n name: \"Get Account Info\",\n description: \"Retrieves Refiner account information including subscription plan, usage limits, and environment statistics. This action provides: - Current subscription plan and usage limits (MTU, MTE, MPV, MSR) - Usage counters for monthly tracked users, events, page views, and survey responses - Per-environment breakdown of usage statistics - Last updated timestamps for all usage metrics Use this when you need to check account status, monitor usage against limits, or audit environment statistics.\",\n input: RefinerGetAccountInfoInput,\n output: RefinerGetAccountInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC5H,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,WAA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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-account-info.d.ts
@@ -26,7 +28,7 @@ declare const RefinerGetAccountInfoOutput: z.ZodObject<{
26
28
  mtu_count_updated_at: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const refinerGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const refinerGetAccountInfo: AppAction<typeof RefinerGetAccountInfoInput, typeof RefinerGetAccountInfoOutput, typeof refiner.credential>;
30
32
  //#endregion
31
33
  export { refinerGetAccountInfo };
32
34
  //# sourceMappingURL=get-account-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account-info.d.cts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-account-info.d.ts
@@ -26,7 +28,7 @@ declare const RefinerGetAccountInfoOutput: z.ZodObject<{
26
28
  mtu_count_updated_at: z.ZodNullable<z.ZodString>;
27
29
  }, z.core.$loose>>;
28
30
  }, z.core.$loose>;
29
- declare const refinerGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const refinerGetAccountInfo: AppAction<typeof RefinerGetAccountInfoInput, typeof RefinerGetAccountInfoOutput, typeof refiner.credential>;
30
32
  //#endregion
31
33
  export { refinerGetAccountInfo };
32
34
  //# sourceMappingURL=get-account-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account-info.d.mts","names":[],"sources":["../../src/actions/get-account-info.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-account-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-account-info.mjs","names":[],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetAccountInfoInput = z.object({}).describe(\"Request model for GetAccountInfo - no parameters required.\");\nconst RefinerGetAccountInfo_EnvironmentSchema = z.object({\n mpv: z.number().int().describe(\"Monthly Page Views (MPV) - number of page views tracked in this environment during the current month\").nullable(),\n msr: z.number().int().describe(\"Monthly Survey Responses (MSR) - number of survey responses collected in this environment during the current month\").nullable(),\n mte: z.number().int().describe(\"Monthly Tracked Events (MTE) - number of custom events tracked in this environment during the current month\").nullable(),\n mtu: z.number().int().describe(\"Monthly Tracked Users (MTU) - number of unique users tracked in this environment during the current month\").nullable(),\n name: z.string().describe(\"Name of the environment\").nullable(),\n uuid: z.string().describe(\"UUID of the environment\").nullable(),\n}).passthrough();\nconst RefinerGetAccountInfo_SubscriptionSchema = z.object({\n plan: z.string().describe(\"Name of the subscribed plan\").nullable(),\n mpv_count: z.number().int().describe(\"Current number of Monthly Page Views (MPV) - page views tracked in the current month\").nullable(),\n mpv_limit: z.number().int().describe(\"Limit for Monthly Page Views (MPV) allowed by the current plan\").nullable(),\n msr_count: z.number().int().describe(\"Current number of Monthly Survey Responses (MSR) - survey responses collected in the current month\").nullable(),\n msr_limit: z.number().int().describe(\"Limit for Monthly Survey Responses (MSR) allowed by the current plan\").nullable(),\n mte_count: z.number().int().describe(\"Current number of Monthly Tracked Events (MTE) - custom events tracked in the current month\").nullable(),\n mtu_count: z.number().int().describe(\"Current number of Monthly Tracked Users (MTU) - unique users tracked in the current month\").nullable(),\n mtu_limit: z.number().int().describe(\"Limit for Monthly Tracked Users (MTU) allowed by the current plan\").nullable(),\n mpv_count_updated_at: z.string().describe(\"Timestamp when the Monthly Page Views (MPV) count was last updated (ISO 8601 format)\").nullable(),\n msr_count_updated_at: z.string().describe(\"Timestamp when the Monthly Survey Responses (MSR) count was last updated (ISO 8601 format)\").nullable(),\n mte_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Events (MTE) count was last updated (ISO 8601 format)\").nullable(),\n mtu_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Users (MTU) count was last updated (ISO 8601 format)\").nullable(),\n}).passthrough();\nexport const RefinerGetAccountInfoOutput = z.object({\n environments: z.array(RefinerGetAccountInfo_EnvironmentSchema).describe(\"List of environments and their usage statistics\"),\n subscription: RefinerGetAccountInfo_SubscriptionSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetAccountInfo = action(\"REFINER_GET_ACCOUNT_INFO\", {\n slug: \"refiner-get-account-info\",\n name: \"Get Account Info\",\n description: \"Retrieves Refiner account information including subscription plan, usage limits, and environment statistics. This action provides: - Current subscription plan and usage limits (MTU, MTE, MPV, MSR) - Usage counters for monthly tracked users, events, page views, and survey responses - Per-environment breakdown of usage statistics - Last updated timestamps for all usage metrics Use this when you need to check account status, monitor usage against limits, or audit environment statistics.\",\n input: RefinerGetAccountInfoInput,\n output: RefinerGetAccountInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC5H,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC9J,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACvJ,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACrJ,MA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AM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD;EACzH,cAAc,yCAAyC,SAAS;CAClE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-account-info.mjs","names":[],"sources":["../../src/actions/get-account-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetAccountInfoInput = z.object({}).describe(\"Request model for GetAccountInfo - no parameters required.\");\nconst RefinerGetAccountInfo_EnvironmentSchema = z.object({\n mpv: z.number().int().describe(\"Monthly Page Views (MPV) - number of page views tracked in this environment during the current month\").nullable(),\n msr: z.number().int().describe(\"Monthly Survey Responses (MSR) - number of survey responses collected in this environment during the current month\").nullable(),\n mte: z.number().int().describe(\"Monthly Tracked Events (MTE) - number of custom events tracked in this environment during the current month\").nullable(),\n mtu: z.number().int().describe(\"Monthly Tracked Users (MTU) - number of unique users tracked in this environment during the current month\").nullable(),\n name: z.string().describe(\"Name of the environment\").nullable(),\n uuid: z.string().describe(\"UUID of the environment\").nullable(),\n}).passthrough();\nconst RefinerGetAccountInfo_SubscriptionSchema = z.object({\n plan: z.string().describe(\"Name of the subscribed plan\").nullable(),\n mpv_count: z.number().int().describe(\"Current number of Monthly Page Views (MPV) - page views tracked in the current month\").nullable(),\n mpv_limit: z.number().int().describe(\"Limit for Monthly Page Views (MPV) allowed by the current plan\").nullable(),\n msr_count: z.number().int().describe(\"Current number of Monthly Survey Responses (MSR) - survey responses collected in the current month\").nullable(),\n msr_limit: z.number().int().describe(\"Limit for Monthly Survey Responses (MSR) allowed by the current plan\").nullable(),\n mte_count: z.number().int().describe(\"Current number of Monthly Tracked Events (MTE) - custom events tracked in the current month\").nullable(),\n mtu_count: z.number().int().describe(\"Current number of Monthly Tracked Users (MTU) - unique users tracked in the current month\").nullable(),\n mtu_limit: z.number().int().describe(\"Limit for Monthly Tracked Users (MTU) allowed by the current plan\").nullable(),\n mpv_count_updated_at: z.string().describe(\"Timestamp when the Monthly Page Views (MPV) count was last updated (ISO 8601 format)\").nullable(),\n msr_count_updated_at: z.string().describe(\"Timestamp when the Monthly Survey Responses (MSR) count was last updated (ISO 8601 format)\").nullable(),\n mte_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Events (MTE) count was last updated (ISO 8601 format)\").nullable(),\n mtu_count_updated_at: z.string().describe(\"Timestamp when the Monthly Tracked Users (MTU) count was last updated (ISO 8601 format)\").nullable(),\n}).passthrough();\nexport const RefinerGetAccountInfoOutput = z.object({\n environments: z.array(RefinerGetAccountInfo_EnvironmentSchema).describe(\"List of environments and their usage statistics\"),\n subscription: RefinerGetAccountInfo_SubscriptionSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetAccountInfo: AppAction<\n typeof RefinerGetAccountInfoInput,\n typeof RefinerGetAccountInfoOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_ACCOUNT_INFO\", {\n slug: \"refiner-get-account-info\",\n name: \"Get Account Info\",\n description: \"Retrieves Refiner account information including subscription plan, usage limits, and environment statistics. This action provides: - Current subscription plan and usage limits (MTU, MTE, MPV, MSR) - Usage counters for monthly tracked users, events, page views, and survey responses - Per-environment breakdown of usage statistics - Last updated timestamps for all usage metrics Use this when you need to check account status, monitor usage against limits, or audit environment statistics.\",\n input: RefinerGetAccountInfoInput,\n output: RefinerGetAccountInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAC5H,MAAM,0CAA0C,EAAE,OAAO;CACvD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAChJ,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,o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BAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC/I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,cAAc,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,iDAAiD;EACzH,cAAc,yCAAyC,SAAS;CAClE,CAAC,CAAC,CAAC,YAWO;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/get-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetContactInput = z.object({\n id: z.string().describe(\"Your user ID used when the contact was created.\").optional(),\n uuid: z.string().describe(\"Refiner-generated UUID of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n}).describe(\"Request model for GetContact. Provide exactly one identifier: id, email, or uuid.\");\nconst RefinerGetContact_AccountSchema = z.object({\n uuid: z.string().describe(\"Account UUID\").nullable(),\n domain: z.string().describe(\"Account domain\").nullable().optional(),\n remote_id: z.string().describe(\"Your account ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes\").nullable().optional(),\n display_name: z.string().describe(\"Account display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When the account was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When the account was first seen (ISO 8601)\").nullable(),\n}).passthrough();\nconst RefinerGetContact_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name\").nullable(),\n uuid: z.string().describe(\"Segment UUID\").nullable(),\n}).passthrough();\nexport const RefinerGetContactOutput = z.object({\n uuid: z.string().describe(\"Contact UUID\").nullable(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n account: RefinerGetContact_AccountSchema.nullable(),\n segments: z.array(RefinerGetContact_SegmentSchema).describe(\"Segments this contact belongs to\").nullable().optional(),\n remote_id: z.string().describe(\"Your contact ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"All custom attributes for this contact\").nullable().optional(),\n display_name: z.string().describe(\"Contact display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When contact was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When contact was first seen (ISO 8601)\").nullable(),\n}).passthrough();\n\nexport const refinerGetContact = action(\"REFINER_GET_CONTACT\", {\n slug: \"refiner-get-contact\",\n name: \"Get Contact\",\n description: \"Retrieve detailed information about a specific contact using their ID, email, or UUID. Returns all stored attributes, segments, and account information.\",\n input: RefinerGetContactInput,\n output: RefinerGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CA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S,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetContactInput = z.object({\n id: z.string().describe(\"Your user ID used when the contact was created.\").optional(),\n uuid: z.string().describe(\"Refiner-generated UUID of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n}).describe(\"Request model for GetContact. Provide exactly one identifier: id, email, or uuid.\");\nconst RefinerGetContact_AccountSchema = z.object({\n uuid: z.string().describe(\"Account UUID\").nullable(),\n domain: z.string().describe(\"Account domain\").nullable().optional(),\n remote_id: z.string().describe(\"Your account ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes\").nullable().optional(),\n display_name: z.string().describe(\"Account display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When the account was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When the account was first seen (ISO 8601)\").nullable(),\n}).passthrough();\nconst RefinerGetContact_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name\").nullable(),\n uuid: z.string().describe(\"Segment UUID\").nullable(),\n}).passthrough();\nexport const RefinerGetContactOutput = z.object({\n uuid: z.string().describe(\"Contact UUID\").nullable(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n account: RefinerGetContact_AccountSchema.nullable(),\n segments: z.array(RefinerGetContact_SegmentSchema).describe(\"Segments this contact belongs to\").nullable().optional(),\n remote_id: z.string().describe(\"Your contact ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"All custom attributes for this contact\").nullable().optional(),\n display_name: z.string().describe(\"Contact display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When contact was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When contact was first seen (ISO 8601)\").nullable(),\n}).passthrough();\n\nexport const refinerGetContact: AppAction<\n typeof RefinerGetContactInput,\n typeof RefinerGetContactOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_CONTACT\", {\n slug: \"refiner-get-contact\",\n name: \"Get Contact\",\n description: \"Retrieve detailed information about a specific contact using their ID, email, or UUID. Returns all stored attributes, segments, and account information.\",\n input: RefinerGetContactInput,\n output: RefinerGetContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,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AwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact.d.ts
@@ -28,11 +30,7 @@ declare const RefinerGetContactOutput: z.ZodObject<{
28
30
  last_seen_at: z.ZodNullable<z.ZodString>;
29
31
  first_seen_at: z.ZodNullable<z.ZodString>;
30
32
  }, z.core.$loose>;
31
- declare const refinerGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- id?: string | undefined;
33
- uuid?: string | undefined;
34
- email?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const refinerGetContact: AppAction<typeof RefinerGetContactInput, typeof RefinerGetContactOutput, typeof refiner.credential>;
36
34
  //#endregion
37
35
  export { refinerGetContact };
38
36
  //# sourceMappingURL=get-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAYvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAYvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact.d.ts
@@ -28,11 +30,7 @@ declare const RefinerGetContactOutput: z.ZodObject<{
28
30
  last_seen_at: z.ZodNullable<z.ZodString>;
29
31
  first_seen_at: z.ZodNullable<z.ZodString>;
30
32
  }, z.core.$loose>;
31
- declare const refinerGetContact: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- id?: string | undefined;
33
- uuid?: string | undefined;
34
- email?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const refinerGetContact: AppAction<typeof RefinerGetContactInput, typeof RefinerGetContactOutput, typeof refiner.credential>;
36
34
  //#endregion
37
35
  export { refinerGetContact };
38
36
  //# sourceMappingURL=get-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAYvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAYvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetContactInput = z.object({\n id: z.string().describe(\"Your user ID used when the contact was created.\").optional(),\n uuid: z.string().describe(\"Refiner-generated UUID of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n}).describe(\"Request model for GetContact. Provide exactly one identifier: id, email, or uuid.\");\nconst RefinerGetContact_AccountSchema = z.object({\n uuid: z.string().describe(\"Account UUID\").nullable(),\n domain: z.string().describe(\"Account domain\").nullable().optional(),\n remote_id: z.string().describe(\"Your account ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes\").nullable().optional(),\n display_name: z.string().describe(\"Account display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When the account was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When the account was first seen (ISO 8601)\").nullable(),\n}).passthrough();\nconst RefinerGetContact_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name\").nullable(),\n uuid: z.string().describe(\"Segment UUID\").nullable(),\n}).passthrough();\nexport const RefinerGetContactOutput = z.object({\n uuid: z.string().describe(\"Contact UUID\").nullable(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n account: RefinerGetContact_AccountSchema.nullable(),\n segments: z.array(RefinerGetContact_SegmentSchema).describe(\"Segments this contact belongs to\").nullable().optional(),\n remote_id: z.string().describe(\"Your contact ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"All custom attributes for this contact\").nullable().optional(),\n display_name: z.string().describe(\"Contact display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When contact was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When contact was first seen (ISO 8601)\").nullable(),\n}).passthrough();\n\nexport const refinerGetContact = action(\"REFINER_GET_CONTACT\", {\n slug: \"refiner-get-contact\",\n name: \"Get Contact\",\n description: \"Retrieve detailed information about a specific contact using their ID, email, or UUID. Returns all stored attributes, segments, and account information.\",\n input: RefinerGetContactInput,\n output: RefinerGetContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,gCAAgC,SAAS;EAClD,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetContactInput = z.object({\n id: z.string().describe(\"Your user ID used when the contact was created.\").optional(),\n uuid: z.string().describe(\"Refiner-generated UUID of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact.\").optional(),\n}).describe(\"Request model for GetContact. Provide exactly one identifier: id, email, or uuid.\");\nconst RefinerGetContact_AccountSchema = z.object({\n uuid: z.string().describe(\"Account UUID\").nullable(),\n domain: z.string().describe(\"Account domain\").nullable().optional(),\n remote_id: z.string().describe(\"Your account ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes\").nullable().optional(),\n display_name: z.string().describe(\"Account display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When the account was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When the account was first seen (ISO 8601)\").nullable(),\n}).passthrough();\nconst RefinerGetContact_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name\").nullable(),\n uuid: z.string().describe(\"Segment UUID\").nullable(),\n}).passthrough();\nexport const RefinerGetContactOutput = z.object({\n uuid: z.string().describe(\"Contact UUID\").nullable(),\n email: z.string().describe(\"Contact email address\").nullable().optional(),\n account: RefinerGetContact_AccountSchema.nullable(),\n segments: z.array(RefinerGetContact_SegmentSchema).describe(\"Segments this contact belongs to\").nullable().optional(),\n remote_id: z.string().describe(\"Your contact ID\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"All custom attributes for this contact\").nullable().optional(),\n display_name: z.string().describe(\"Contact display name\").nullable().optional(),\n last_seen_at: z.string().describe(\"When contact was last seen (ISO 8601)\").nullable(),\n first_seen_at: z.string().describe(\"When contact was first seen (ISO 8601)\").nullable(),\n}).passthrough();\n\nexport const refinerGetContact: AppAction<\n typeof RefinerGetContactInput,\n typeof RefinerGetContactOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_CONTACT\", {\n slug: \"refiner-get-contact\",\n name: \"Get Contact\",\n description: \"Retrieve detailed information about a specific contact using their ID, email, or UUID. Returns all stored attributes, segments, and account information.\",\n input: RefinerGetContactInput,\n output: RefinerGetContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,gCAAgC,SAAS;EAClD,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAWO;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/get-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetContactsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Filter by contact email, ID, or name.\").optional(),\n order_by: z.enum([\"first_seen_at\", \"last_seen_at\", \"last_form_submission_at\"]).default(\"first_seen_at\").describe(\"Order contacts by this field.\").optional(),\n form_uuid: z.string().describe(\"Filter contacts by survey UUID.\").optional(),\n page_cursor: z.string().describe(\"Cursor for fetching next page in large result sets.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n segment_uuid: z.string().describe(\"Filter contacts by segment UUID.\").optional(),\n}).describe(\"Query parameters for retrieving contacts list.\");\nconst RefinerGetContacts_AccountSchema = z.object({\n uuid: z.string().describe(\"Unique account identifier.\").nullable(),\n domain: z.string().describe(\"Account domain.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the account.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the account.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the account was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the account was first seen (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name.\").nullable(),\n uuid: z.string().describe(\"Unique segment identifier.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the segment was created (ISO 8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the segment was last updated (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_ContactSchema = z.object({\n uuid: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n account: RefinerGetContacts_AccountSchema.nullable().optional(),\n segments: z.array(RefinerGetContacts_SegmentSchema).describe(\"List of segments the contact belongs to.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the contact.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Merged user attributes and survey responses.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the contact was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the contact was first seen (ISO 8601).\").nullable().optional(),\n last_tracking_event_at: z.string().describe(\"Timestamp of the last tracking event (ISO 8601).\").nullable().optional(),\n last_form_submission_at: z.string().describe(\"Timestamp of the last form submission (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number (null when using cursor pagination).\").nullable().optional(),\n items_count: z.number().int().describe(\"Total number of items.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number (null when using cursor pagination).\").nullable().optional(),\n next_page_cursor: z.string().describe(\"Cursor for the next page, if any.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetContactsOutput = z.object({\n items: z.array(RefinerGetContacts_ContactSchema).describe(\"List of contacts.\"),\n pagination: RefinerGetContacts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for a list of contacts with pagination.\");\n\nexport const refinerGetContacts = action(\"REFINER_GET_CONTACTS\", {\n slug: \"refiner-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a list of contacts from your Refiner account. Use when you need to filter or paginate through contacts.\",\n input: RefinerGetContactsInput,\n output: RefinerGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAgB;CAAyB,CAAC,CAAC,CAAC,QAAQ,eAAe,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;C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AC,SAAS;CAChH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mBAAmB;CAC7E,YAAY,oCAAoC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetContactsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Filter by contact email, ID, or name.\").optional(),\n order_by: z.enum([\"first_seen_at\", \"last_seen_at\", \"last_form_submission_at\"]).default(\"first_seen_at\").describe(\"Order contacts by this field.\").optional(),\n form_uuid: z.string().describe(\"Filter contacts by survey UUID.\").optional(),\n page_cursor: z.string().describe(\"Cursor for fetching next page in large result sets.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n segment_uuid: z.string().describe(\"Filter contacts by segment UUID.\").optional(),\n}).describe(\"Query parameters for retrieving contacts list.\");\nconst RefinerGetContacts_AccountSchema = z.object({\n uuid: z.string().describe(\"Unique account identifier.\").nullable(),\n domain: z.string().describe(\"Account domain.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the account.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the account.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the account was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the account was first seen (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name.\").nullable(),\n uuid: z.string().describe(\"Unique segment identifier.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the segment was created (ISO 8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the segment was last updated (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_ContactSchema = z.object({\n uuid: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n account: RefinerGetContacts_AccountSchema.nullable().optional(),\n segments: z.array(RefinerGetContacts_SegmentSchema).describe(\"List of segments the contact belongs to.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the contact.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Merged user attributes and survey responses.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the contact was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the contact was first seen (ISO 8601).\").nullable().optional(),\n last_tracking_event_at: z.string().describe(\"Timestamp of the last tracking event (ISO 8601).\").nullable().optional(),\n last_form_submission_at: z.string().describe(\"Timestamp of the last form submission (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number (null when using cursor pagination).\").nullable().optional(),\n items_count: z.number().int().describe(\"Total number of items.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number (null when using cursor pagination).\").nullable().optional(),\n next_page_cursor: z.string().describe(\"Cursor for the next page, if any.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetContactsOutput = z.object({\n items: z.array(RefinerGetContacts_ContactSchema).describe(\"List of contacts.\"),\n pagination: RefinerGetContacts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for a list of contacts with pagination.\");\n\nexport const refinerGetContacts: AppAction<\n typeof RefinerGetContactsInput,\n typeof RefinerGetContactsOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_CONTACTS\", {\n slug: \"refiner-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a list of contacts from your Refiner account. Use when you need to filter or paginate through contacts.\",\n input: RefinerGetContactsInput,\n output: RefinerGetContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAA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,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contacts.d.ts
@@ -5,8 +7,8 @@ declare const RefinerGetContactsInput: z.ZodObject<{
5
7
  page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
8
  search: z.ZodOptional<z.ZodString>;
7
9
  order_by: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
- last_seen_at: "last_seen_at";
9
10
  first_seen_at: "first_seen_at";
11
+ last_seen_at: "last_seen_at";
10
12
  last_form_submission_at: "last_form_submission_at";
11
13
  }>>>;
12
14
  form_uuid: z.ZodOptional<z.ZodString>;
@@ -49,15 +51,7 @@ declare const RefinerGetContactsOutput: z.ZodObject<{
49
51
  next_page_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
52
  }, z.core.$loose>>;
51
53
  }, z.core.$loose>;
52
- declare const refinerGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
53
- page?: number | undefined;
54
- search?: string | undefined;
55
- order_by?: "last_seen_at" | "first_seen_at" | "last_form_submission_at" | undefined;
56
- form_uuid?: string | undefined;
57
- page_cursor?: string | undefined;
58
- page_length?: number | undefined;
59
- segment_uuid?: string | undefined;
60
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ declare const refinerGetContacts: AppAction<typeof RefinerGetContactsInput, typeof RefinerGetContactsOutput, typeof refiner.credential>;
61
55
  //#endregion
62
56
  export { refinerGetContacts };
63
57
  //# sourceMappingURL=get-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4CvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4CvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contacts.d.ts
@@ -5,8 +7,8 @@ declare const RefinerGetContactsInput: z.ZodObject<{
5
7
  page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
8
  search: z.ZodOptional<z.ZodString>;
7
9
  order_by: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
- last_seen_at: "last_seen_at";
9
10
  first_seen_at: "first_seen_at";
11
+ last_seen_at: "last_seen_at";
10
12
  last_form_submission_at: "last_form_submission_at";
11
13
  }>>>;
12
14
  form_uuid: z.ZodOptional<z.ZodString>;
@@ -49,15 +51,7 @@ declare const RefinerGetContactsOutput: z.ZodObject<{
49
51
  next_page_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
52
  }, z.core.$loose>>;
51
53
  }, z.core.$loose>;
52
- declare const refinerGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
53
- page?: number | undefined;
54
- search?: string | undefined;
55
- order_by?: "last_seen_at" | "first_seen_at" | "last_form_submission_at" | undefined;
56
- form_uuid?: string | undefined;
57
- page_cursor?: string | undefined;
58
- page_length?: number | undefined;
59
- segment_uuid?: string | undefined;
60
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
+ declare const refinerGetContacts: AppAction<typeof RefinerGetContactsInput, typeof RefinerGetContactsOutput, typeof refiner.credential>;
61
55
  //#endregion
62
56
  export { refinerGetContacts };
63
57
  //# sourceMappingURL=get-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4CvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4CvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetContactsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Filter by contact email, ID, or name.\").optional(),\n order_by: z.enum([\"first_seen_at\", \"last_seen_at\", \"last_form_submission_at\"]).default(\"first_seen_at\").describe(\"Order contacts by this field.\").optional(),\n form_uuid: z.string().describe(\"Filter contacts by survey UUID.\").optional(),\n page_cursor: z.string().describe(\"Cursor for fetching next page in large result sets.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n segment_uuid: z.string().describe(\"Filter contacts by segment UUID.\").optional(),\n}).describe(\"Query parameters for retrieving contacts list.\");\nconst RefinerGetContacts_AccountSchema = z.object({\n uuid: z.string().describe(\"Unique account identifier.\").nullable(),\n domain: z.string().describe(\"Account domain.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the account.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the account.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the account was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the account was first seen (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name.\").nullable(),\n uuid: z.string().describe(\"Unique segment identifier.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the segment was created (ISO 8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the segment was last updated (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_ContactSchema = z.object({\n uuid: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n account: RefinerGetContacts_AccountSchema.nullable().optional(),\n segments: z.array(RefinerGetContacts_SegmentSchema).describe(\"List of segments the contact belongs to.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the contact.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Merged user attributes and survey responses.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the contact was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the contact was first seen (ISO 8601).\").nullable().optional(),\n last_tracking_event_at: z.string().describe(\"Timestamp of the last tracking event (ISO 8601).\").nullable().optional(),\n last_form_submission_at: z.string().describe(\"Timestamp of the last form submission (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number (null when using cursor pagination).\").nullable().optional(),\n items_count: z.number().int().describe(\"Total number of items.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number (null when using cursor pagination).\").nullable().optional(),\n next_page_cursor: z.string().describe(\"Cursor for the next page, if any.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetContactsOutput = z.object({\n items: z.array(RefinerGetContacts_ContactSchema).describe(\"List of contacts.\"),\n pagination: RefinerGetContacts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for a list of contacts with pagination.\");\n\nexport const refinerGetContacts = action(\"REFINER_GET_CONTACTS\", {\n slug: \"refiner-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a list of contacts from your Refiner account. Use when you need to filter or paginate through contacts.\",\n input: RefinerGetContactsInput,\n output: RefinerGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,KAAK;EAAC;EAAiB;EAAgB;CAAyB,CAAC,CAAC,CAAC,QAAQ,eAAe,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CA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EAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mBAAmB;EAC7E,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetContactsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Filter by contact email, ID, or name.\").optional(),\n order_by: z.enum([\"first_seen_at\", \"last_seen_at\", \"last_form_submission_at\"]).default(\"first_seen_at\").describe(\"Order contacts by this field.\").optional(),\n form_uuid: z.string().describe(\"Filter contacts by survey UUID.\").optional(),\n page_cursor: z.string().describe(\"Cursor for fetching next page in large result sets.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n segment_uuid: z.string().describe(\"Filter contacts by segment UUID.\").optional(),\n}).describe(\"Query parameters for retrieving contacts list.\");\nconst RefinerGetContacts_AccountSchema = z.object({\n uuid: z.string().describe(\"Unique account identifier.\").nullable(),\n domain: z.string().describe(\"Account domain.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the account.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional account attributes.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the account.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the account was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the account was first seen (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_SegmentSchema = z.object({\n name: z.string().describe(\"Segment name.\").nullable(),\n uuid: z.string().describe(\"Unique segment identifier.\").nullable(),\n created_at: z.string().describe(\"Timestamp when the segment was created (ISO 8601).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the segment was last updated (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_ContactSchema = z.object({\n uuid: z.string().describe(\"Unique contact identifier.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n account: RefinerGetContacts_AccountSchema.nullable().optional(),\n segments: z.array(RefinerGetContacts_SegmentSchema).describe(\"List of segments the contact belongs to.\").nullable().optional(),\n remote_id: z.string().describe(\"Your system's identifier for the contact.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Merged user attributes and survey responses.\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the contact.\").nullable().optional(),\n last_seen_at: z.string().describe(\"Timestamp when the contact was last seen (ISO 8601).\").nullable().optional(),\n first_seen_at: z.string().describe(\"Timestamp when the contact was first seen (ISO 8601).\").nullable().optional(),\n last_tracking_event_at: z.string().describe(\"Timestamp of the last tracking event (ISO 8601).\").nullable().optional(),\n last_form_submission_at: z.string().describe(\"Timestamp of the last form submission (ISO 8601).\").nullable().optional(),\n}).passthrough();\nconst RefinerGetContacts_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number (null when using cursor pagination).\").nullable().optional(),\n items_count: z.number().int().describe(\"Total number of items.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number (null when using cursor pagination).\").nullable().optional(),\n next_page_cursor: z.string().describe(\"Cursor for the next page, if any.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetContactsOutput = z.object({\n items: z.array(RefinerGetContacts_ContactSchema).describe(\"List of contacts.\"),\n pagination: RefinerGetContacts_PaginationSchema.nullable(),\n}).passthrough().describe(\"Response model for a list of contacts with pagination.\");\n\nexport const refinerGetContacts: AppAction<\n typeof RefinerGetContactsInput,\n typeof RefinerGetContactsOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_CONTACTS\", {\n slug: \"refiner-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve a list of contacts from your Refiner account. Use when you need to filter or paginate through contacts.\",\n input: RefinerGetContactsInput,\n output: RefinerGetContactsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,KAAK;EAAC;EAAiB;EAAgB;CAAyB,CAAC,CAAC,CAAC,QAAQ,eAAe,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAA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EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mBAAmB;EAC7E,YAAY,oCAAoC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;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/get-forms.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RefinerGetFormsInput = z.object({\n list: z.enum([\"all\", \"published\", \"drafts\", \"archived\", \"all_with_archived\"]).default(\"all\").describe(\"Which surveys to include by state. One of: all, published, drafts, archived, all_with_archived.\").optional(),\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >=1.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n include_info: z.boolean().default(false).describe(\"If True, include additional meta data (timestamps, counts, folder, page_url).\").optional(),\n include_config: z.boolean().default(false).describe(\"If True, include full survey configuration and elements.\").optional(),\n}).describe(\"Query parameters for retrieving the list of forms with filters and pagination.\");\nconst RefinerGetForms_FormItemSchema = z.object({\n name: z.string().describe(\"Name of the form.\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the form.\").nullable(),\n config: z.record(z.string(), z.unknown()).describe(\"Raw configuration of the survey, present if include_config is True.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder object or identifier this form belongs to, if any.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Distribution channels available.\").nullable().optional(),\n page_url: z.string().describe(\"Public URL of the form.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n views_count: z.number().int().describe(\"Number of times the form was viewed.\").nullable().optional(),\n published_at: z.string().describe(\"ISO 8601 timestamp when published.\").nullable().optional(),\n responses_count: z.number().int().describe(\"Number of responses received.\").nullable().optional(),\n last_form_view_at: z.string().describe(\"Timestamp of last form view.\").nullable().optional(),\n first_form_view_at: z.string().describe(\"Timestamp of first form view.\").nullable().optional(),\n}).passthrough();\nconst RefinerGetForms_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number.\").nullable(),\n items_count: z.number().int().describe(\"Total number of forms.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n next_page_cursor: z.string().describe(\"Cursor for fetching the next page, if available.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetFormsOutput = z.object({\n items: z.array(RefinerGetForms_FormItemSchema).describe(\"List of forms matching the query.\"),\n pagination: RefinerGetForms_PaginationSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetForms = action(\"REFINER_GET_FORMS\", {\n slug: \"refiner-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a list of forms (surveys) from your Refiner account with optional filtering and pagination. Use when you need to list surveys by state, page, or include extra info/config.\",\n input: RefinerGetFormsInput,\n output: RefinerGetFormsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAu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AAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,mCAAmC;CAC3F,YAAY,iCAAiC,SAAS;AACxD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-forms.cjs","names":["z","action"],"sources":["../../src/actions/get-forms.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { refiner } from \"../app\";\n\nexport const RefinerGetFormsInput = z.object({\n list: z.enum([\"all\", \"published\", \"drafts\", \"archived\", \"all_with_archived\"]).default(\"all\").describe(\"Which surveys to include by state. One of: all, published, drafts, archived, all_with_archived.\").optional(),\n page: z.number().int().default(1).describe(\"Page number for pagination, must be >=1.\").optional(),\n page_length: z.number().int().default(50).describe(\"Number of items per page (max 1000).\").optional(),\n include_info: z.boolean().default(false).describe(\"If True, include additional meta data (timestamps, counts, folder, page_url).\").optional(),\n include_config: z.boolean().default(false).describe(\"If True, include full survey configuration and elements.\").optional(),\n}).describe(\"Query parameters for retrieving the list of forms with filters and pagination.\");\nconst RefinerGetForms_FormItemSchema = z.object({\n name: z.string().describe(\"Name of the form.\").nullable(),\n uuid: z.string().describe(\"Unique identifier of the form.\").nullable(),\n config: z.record(z.string(), z.unknown()).describe(\"Raw configuration of the survey, present if include_config is True.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder object or identifier this form belongs to, if any.\").nullable().optional(),\n channels: z.array(z.string()).describe(\"Distribution channels available.\").nullable().optional(),\n page_url: z.string().describe(\"Public URL of the form.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when last updated.\").nullable().optional(),\n archived_at: z.string().describe(\"ISO 8601 timestamp when archived.\").nullable().optional(),\n views_count: z.number().int().describe(\"Number of times the form was viewed.\").nullable().optional(),\n published_at: z.string().describe(\"ISO 8601 timestamp when published.\").nullable().optional(),\n responses_count: z.number().int().describe(\"Number of responses received.\").nullable().optional(),\n last_form_view_at: z.string().describe(\"Timestamp of last form view.\").nullable().optional(),\n first_form_view_at: z.string().describe(\"Timestamp of first form view.\").nullable().optional(),\n}).passthrough();\nconst RefinerGetForms_PaginationSchema = z.object({\n last_page: z.number().int().describe(\"Last available page number.\").nullable(),\n items_count: z.number().int().describe(\"Total number of forms.\").nullable(),\n page_length: z.number().int().describe(\"Number of items per page.\").nullable(),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n next_page_cursor: z.string().describe(\"Cursor for fetching the next page, if available.\").nullable().optional(),\n}).passthrough();\nexport const RefinerGetFormsOutput = z.object({\n items: z.array(RefinerGetForms_FormItemSchema).describe(\"List of forms matching the query.\"),\n pagination: RefinerGetForms_PaginationSchema.nullable(),\n}).passthrough();\n\nexport const refinerGetForms: AppAction<\n typeof RefinerGetFormsInput,\n typeof RefinerGetFormsOutput,\n typeof refiner.credential\n> = action(\"REFINER_GET_FORMS\", {\n slug: \"refiner-get-forms\",\n name: \"Get Forms\",\n description: \"Tool to retrieve a list of forms (surveys) from your Refiner account with optional filtering and pagination. Use when you need to list surveys by state, page, or include extra info/config.\",\n input: RefinerGetFormsInput,\n output: RefinerGetFormsOutput,\n});\n"],"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AAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,mCAAmC;CAC3F,YAAY,iCAAiC,SAAS;AACxD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { refiner } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-forms.d.ts
@@ -39,13 +41,7 @@ declare const RefinerGetFormsOutput: z.ZodObject<{
39
41
  next_page_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
42
  }, z.core.$loose>>;
41
43
  }, z.core.$loose>;
42
- declare const refinerGetForms: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- list?: "all" | "published" | "drafts" | "archived" | "all_with_archived" | undefined;
44
- page?: number | undefined;
45
- page_length?: number | undefined;
46
- include_info?: boolean | undefined;
47
- include_config?: boolean | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const refinerGetForms: AppAction<typeof RefinerGetFormsInput, typeof RefinerGetFormsOutput, typeof refiner.credential>;
49
45
  //#endregion
50
46
  export { refinerGetForms };
51
47
  //# sourceMappingURL=get-forms.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-forms.d.cts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA8BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"get-forms.d.cts","names":[],"sources":["../../src/actions/get-forms.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA8BpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,OAAA,CAAQ,UAAA"}