@keystrokehq/piloterr 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 (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/auchan-product.cjs +1 -0
  4. package/dist/actions/auchan-product.cjs.map +1 -1
  5. package/dist/actions/auchan-product.d.cts +3 -3
  6. package/dist/actions/auchan-product.d.cts.map +1 -1
  7. package/dist/actions/auchan-product.d.mts +3 -3
  8. package/dist/actions/auchan-product.d.mts.map +1 -1
  9. package/dist/actions/auchan-product.mjs +1 -0
  10. package/dist/actions/auchan-product.mjs.map +1 -1
  11. package/dist/actions/auchan-search.cjs +1 -0
  12. package/dist/actions/auchan-search.cjs.map +1 -1
  13. package/dist/actions/auchan-search.d.cts +3 -4
  14. package/dist/actions/auchan-search.d.cts.map +1 -1
  15. package/dist/actions/auchan-search.d.mts +3 -4
  16. package/dist/actions/auchan-search.d.mts.map +1 -1
  17. package/dist/actions/auchan-search.mjs +1 -0
  18. package/dist/actions/auchan-search.mjs.map +1 -1
  19. package/dist/actions/get-product-info.cjs +1 -0
  20. package/dist/actions/get-product-info.cjs.map +1 -1
  21. package/dist/actions/get-product-info.d.cts +3 -4
  22. package/dist/actions/get-product-info.d.cts.map +1 -1
  23. package/dist/actions/get-product-info.d.mts +3 -4
  24. package/dist/actions/get-product-info.d.mts.map +1 -1
  25. package/dist/actions/get-product-info.mjs +1 -0
  26. package/dist/actions/get-product-info.mjs.map +1 -1
  27. package/dist/actions/list-chewy-products.cjs +1 -0
  28. package/dist/actions/list-chewy-products.cjs.map +1 -1
  29. package/dist/actions/list-chewy-products.d.cts +3 -3
  30. package/dist/actions/list-chewy-products.d.cts.map +1 -1
  31. package/dist/actions/list-chewy-products.d.mts +3 -3
  32. package/dist/actions/list-chewy-products.d.mts.map +1 -1
  33. package/dist/actions/list-chewy-products.mjs +1 -0
  34. package/dist/actions/list-chewy-products.mjs.map +1 -1
  35. package/dist/actions/list-eleclerc-stores.cjs +1 -0
  36. package/dist/actions/list-eleclerc-stores.cjs.map +1 -1
  37. package/dist/actions/list-eleclerc-stores.d.cts +3 -3
  38. package/dist/actions/list-eleclerc-stores.d.cts.map +1 -1
  39. package/dist/actions/list-eleclerc-stores.d.mts +3 -3
  40. package/dist/actions/list-eleclerc-stores.d.mts.map +1 -1
  41. package/dist/actions/list-eleclerc-stores.mjs +1 -0
  42. package/dist/actions/list-eleclerc-stores.mjs.map +1 -1
  43. package/dist/actions/list-google-countries.cjs +1 -0
  44. package/dist/actions/list-google-countries.cjs.map +1 -1
  45. package/dist/actions/list-google-countries.d.cts +3 -3
  46. package/dist/actions/list-google-countries.d.cts.map +1 -1
  47. package/dist/actions/list-google-countries.d.mts +3 -3
  48. package/dist/actions/list-google-countries.d.mts.map +1 -1
  49. package/dist/actions/list-google-countries.mjs +1 -0
  50. package/dist/actions/list-google-countries.mjs.map +1 -1
  51. package/dist/actions/list-google-languages.cjs +1 -0
  52. package/dist/actions/list-google-languages.cjs.map +1 -1
  53. package/dist/actions/list-google-languages.d.cts +3 -3
  54. package/dist/actions/list-google-languages.d.cts.map +1 -1
  55. package/dist/actions/list-google-languages.d.mts +3 -3
  56. package/dist/actions/list-google-languages.d.mts.map +1 -1
  57. package/dist/actions/list-google-languages.mjs +1 -0
  58. package/dist/actions/list-google-languages.mjs.map +1 -1
  59. package/dist/actions/list-google-locations.cjs +1 -0
  60. package/dist/actions/list-google-locations.cjs.map +1 -1
  61. package/dist/actions/list-google-locations.d.cts +3 -3
  62. package/dist/actions/list-google-locations.d.cts.map +1 -1
  63. package/dist/actions/list-google-locations.d.mts +3 -3
  64. package/dist/actions/list-google-locations.d.mts.map +1 -1
  65. package/dist/actions/list-google-locations.mjs +1 -0
  66. package/dist/actions/list-google-locations.mjs.map +1 -1
  67. package/dist/actions/list-leroy-merlin-products.cjs +1 -0
  68. package/dist/actions/list-leroy-merlin-products.cjs.map +1 -1
  69. package/dist/actions/list-leroy-merlin-products.d.cts +3 -3
  70. package/dist/actions/list-leroy-merlin-products.d.cts.map +1 -1
  71. package/dist/actions/list-leroy-merlin-products.d.mts +3 -3
  72. package/dist/actions/list-leroy-merlin-products.d.mts.map +1 -1
  73. package/dist/actions/list-leroy-merlin-products.mjs +1 -0
  74. package/dist/actions/list-leroy-merlin-products.mjs.map +1 -1
  75. package/dist/actions/list-linked-in-industries.cjs +1 -0
  76. package/dist/actions/list-linked-in-industries.cjs.map +1 -1
  77. package/dist/actions/list-linked-in-industries.d.cts +3 -3
  78. package/dist/actions/list-linked-in-industries.d.cts.map +1 -1
  79. package/dist/actions/list-linked-in-industries.d.mts +3 -3
  80. package/dist/actions/list-linked-in-industries.d.mts.map +1 -1
  81. package/dist/actions/list-linked-in-industries.mjs +1 -0
  82. package/dist/actions/list-linked-in-industries.mjs.map +1 -1
  83. package/dist/actions/search.cjs +1 -0
  84. package/dist/actions/search.cjs.map +1 -1
  85. package/dist/actions/search.d.cts +3 -9
  86. package/dist/actions/search.d.cts.map +1 -1
  87. package/dist/actions/search.d.mts +3 -9
  88. package/dist/actions/search.d.mts.map +1 -1
  89. package/dist/actions/search.mjs +1 -0
  90. package/dist/actions/search.mjs.map +1 -1
  91. package/dist/actions/usage-get.cjs +1 -0
  92. package/dist/actions/usage-get.cjs.map +1 -1
  93. package/dist/actions/usage-get.d.cts +3 -1
  94. package/dist/actions/usage-get.d.cts.map +1 -1
  95. package/dist/actions/usage-get.d.mts +3 -1
  96. package/dist/actions/usage-get.d.mts.map +1 -1
  97. package/dist/actions/usage-get.mjs +1 -0
  98. package/dist/actions/usage-get.mjs.map +1 -1
  99. package/dist/app.cjs +5 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +7 -1
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +7 -1
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +3 -2
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,I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,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,iBAAiBC,eAAAA,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search.cjs","names":["z","action"],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch: AppAction<\n typeof PiloterrSearchInput,\n typeof PiloterrSearchOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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AAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAChE,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,kBAAkBA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,iBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { piloterr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search.d.ts
@@ -45,15 +47,7 @@ declare const PiloterrSearchOutput: z.ZodObject<{
45
47
  time_taken_displayed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
48
  }, z.core.$loose>>>;
47
49
  }, z.core.$loose>;
48
- declare const piloterrSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- query: string;
50
- gl?: string | undefined;
51
- hl?: string | undefined;
52
- tbs?: string | undefined;
53
- page?: number | undefined;
54
- uule?: string | undefined;
55
- location?: string | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ declare const piloterrSearch: AppAction<typeof PiloterrSearchInput, typeof PiloterrSearchOutput, typeof piloterr.credential>;
57
51
  //#endregion
58
52
  export { piloterrSearch };
59
53
  //# sourceMappingURL=search.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"search.d.cts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { piloterr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/search.d.ts
@@ -45,15 +47,7 @@ declare const PiloterrSearchOutput: z.ZodObject<{
45
47
  time_taken_displayed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
48
  }, z.core.$loose>>>;
47
49
  }, z.core.$loose>;
48
- declare const piloterrSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- query: string;
50
- gl?: string | undefined;
51
- hl?: string | undefined;
52
- tbs?: string | undefined;
53
- page?: number | undefined;
54
- uule?: string | undefined;
55
- location?: string | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
50
+ declare const piloterrSearch: AppAction<typeof PiloterrSearchInput, typeof PiloterrSearchOutput, typeof piloterr.credential>;
57
51
  //#endregion
58
52
  export { piloterrSearch };
59
53
  //# sourceMappingURL=search.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"search.d.mts","names":[],"sources":["../../src/actions/search.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAyCnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/search.ts
@@ -1 +1 @@
1
- {"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/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,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAUjE,MAAa,iBAAiB,OAAO,mBAAmB;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAChE,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,kBAAkB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"search.mjs","names":[],"sources":["../../src/actions/search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrSearchInput = z.object({\n gl: z.string().describe(\"Two-letter country code for Google search locale (e.g., 'us', 'uk', 'fr').\").optional(),\n hl: z.string().describe(\"Two-letter language code for search interface (e.g., 'en', 'es', 'fr').\").optional(),\n tbs: z.string().describe(\"Advanced search time filter: 'qdr:h' (hour), 'qdr:d' (day), 'qdr:w' (week), 'qdr:m' (month), 'qdr:y' (year).\").optional(),\n page: z.number().int().describe(\"Result page offset for pagination.\").optional(),\n uule: z.string().describe(\"Google-encoded location parameter. Cannot be used with location.\").optional(),\n query: z.string().describe(\"Search query string. Supports operators like inurl:, site:, intitle:.\"),\n location: z.string().describe(\"Search origin location (e.g., 'New York, NY', 'Paris, France'). Cannot be used with uule.\").optional(),\n}).describe(\"Request model for Google search via Piloterr API.\");\nconst PiloterrSearch_PaginationSchema = z.object({\n next: z.number().int().describe(\"Next page number.\").nullable().optional(),\n current: z.number().int().describe(\"Current page number.\").nullable().optional(),\n other_pages: z.array(z.number().int()).describe(\"List of available page numbers.\").nullable().optional(),\n has_next_page: z.boolean().describe(\"Whether more pages are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for search results.\");\nconst PiloterrSearch_KnowledgeGraphSchema = z.object({\n type: z.string().describe(\"Type of knowledge graph entry.\").nullable().optional(),\n title: z.string().describe(\"Title of the knowledge graph.\").nullable().optional(),\n website: z.string().describe(\"Website URL.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes.\").nullable().optional(),\n description: z.string().describe(\"Description text.\").nullable().optional(),\n description_link: z.string().describe(\"Link for description.\").nullable().optional(),\n description_source: z.string().describe(\"Source of description.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge graph panel if present in results.\");\nconst PiloterrSearch_OrganicResultSchema = z.object({\n link: z.string().describe(\"URL of the result.\").nullable().optional(),\n title: z.string().describe(\"Title of the result.\").nullable().optional(),\n domain: z.string().describe(\"Domain of the result.\").nullable().optional(),\n source: z.string().describe(\"Source of the result.\").nullable().optional(),\n snippet: z.string().describe(\"Snippet/description of the result.\").nullable().optional(),\n position: z.number().int().describe(\"Position in search results.\").nullable().optional(),\n displayed_link: z.string().describe(\"Displayed link in search results.\").nullable().optional(),\n snippet_matched: z.array(z.string()).describe(\"Matched keywords in snippet.\").nullable().optional(),\n}).passthrough().describe(\"Single organic search result.\");\nconst PiloterrSearch_RelatedSearchSchema = z.object({\n query: z.string().describe(\"Related search query.\").nullable().optional(),\n}).passthrough().describe(\"Related search query suggestion.\");\nconst PiloterrSearch_SearchInformationSchema = z.object({\n total_results: z.number().int().describe(\"Total number of results found.\").nullable().optional(),\n time_taken_displayed: z.number().describe(\"Time taken for search in seconds.\").nullable().optional(),\n}).passthrough().describe(\"Information about the search results.\");\nexport const PiloterrSearchOutput = z.object({\n pagination: PiloterrSearch_PaginationSchema.nullable().optional(),\n knowledge_graph: PiloterrSearch_KnowledgeGraphSchema.nullable().optional(),\n organic_results: z.array(PiloterrSearch_OrganicResultSchema).describe(\"List of organic search results.\").nullable().optional(),\n related_searches: z.array(PiloterrSearch_RelatedSearchSchema).describe(\"Related search suggestions.\").nullable().optional(),\n search_parameters: z.record(z.string(), z.unknown()).describe(\"Parameters used for search.\").nullable().optional(),\n search_information: PiloterrSearch_SearchInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for Piloterr Google search.\");\n\nexport const piloterrSearch: AppAction<\n typeof PiloterrSearchInput,\n typeof PiloterrSearchOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_SEARCH\", {\n slug: \"piloterr-search\",\n name: \"Piloterr Google Search\",\n description: \"Tool to perform Google web search via Piloterr API. Use when you need to search the web for information using Google.\",\n input: PiloterrSearchInput,\n output: PiloterrSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC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mC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAUjE,MAAa,iBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBkC,EAAE,OAAO;EAC3C,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAChE,iBAAiB,oCAAoC,SAAS,CAAC,CAAC,SAAS;EACzE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,kBAAkB,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/usage-get.ts
@@ -1 +1 @@
1
- {"version":3,"file":"usage-get.cjs","names":["z","action"],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAClJ,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"usage-get.cjs","names":["z","action"],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet: AppAction<\n typeof PiloterrUsageGetInput,\n typeof PiloterrUsageGetOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAClJ,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { piloterr } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/usage-get.d.ts
@@ -7,7 +9,7 @@ declare const PiloterrUsageGetOutput: z.ZodObject<{
7
9
  remaining: z.ZodNullable<z.ZodNumber>;
8
10
  renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>;
10
- declare const piloterrUsageGet: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const piloterrUsageGet: AppAction<typeof PiloterrUsageGetInput, typeof PiloterrUsageGetOutput, typeof piloterr.credential>;
11
13
  //#endregion
12
14
  export { piloterrUsageGet };
13
15
  //# sourceMappingURL=usage-get.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"usage-get.d.cts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { piloterr } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/usage-get.d.ts
@@ -7,7 +9,7 @@ declare const PiloterrUsageGetOutput: z.ZodObject<{
7
9
  remaining: z.ZodNullable<z.ZodNumber>;
8
10
  renewal_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  }, z.core.$loose>;
10
- declare const piloterrUsageGet: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const piloterrUsageGet: AppAction<typeof PiloterrUsageGetInput, typeof PiloterrUsageGetOutput, typeof piloterr.credential>;
11
13
  //#endregion
12
14
  export { piloterrUsageGet };
13
15
  //# sourceMappingURL=usage-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"usage-get.d.mts","names":[],"sources":["../../src/actions/usage-get.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const piloterrUsageGet = action("PILOTERR_USAGE_GET", {
@@ -1 +1 @@
1
- {"version":3,"file":"usage-get.mjs","names":[],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAWlD;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"usage-get.mjs","names":[],"sources":["../../src/actions/usage-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { piloterr } from \"../app\";\n\nexport const PiloterrUsageGetInput = z.object({}).describe(\"Request model for retrieving usage info. No parameters are required for this request.\");\nexport const PiloterrUsageGetOutput = z.object({\n plan: z.string().describe(\"The plan name or description.\").nullable(),\n remaining: z.number().int().describe(\"Number of credits remaining.\").nullable(),\n renewal_date: z.string().describe(\"Date when the plan renews (ISO 8601 format), or null if not applicable.\").nullable().optional(),\n}).passthrough().describe(\"Response model for usage information and remaining credits.\");\n\nexport const piloterrUsageGet: AppAction<\n typeof PiloterrUsageGetInput,\n typeof PiloterrUsageGetOutput,\n typeof piloterr.credential\n> = action(\"PILOTERR_USAGE_GET\", {\n slug: \"piloterr-usage-get\",\n name: \"Get Usage\",\n description: \"Tool to get usage information and remaining credits for your Piloterr account. Use when you need to check account usage and credit details.\",\n input: PiloterrUsageGetInput,\n output: PiloterrUsageGetOutput,\n});\n"],"mappings":";;;AAaA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const piloterr = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const piloterr = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "piloterr",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.piloterr = piloterr;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const piloterr = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piloterr: KeystrokeApp<\"piloterr\", typeof credential> = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const piloterr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const piloterr: KeystrokeApp<"piloterr", typeof credential>;
3
9
  //#endregion
4
10
  export { piloterr };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const piloterr: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const piloterr: KeystrokeApp<"piloterr", typeof credential>;
3
9
  //#endregion
4
10
  export { piloterr };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const piloterr = defineApp({
4
4
  slug: "piloterr",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { piloterr };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const piloterr = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const piloterr: KeystrokeApp<\"piloterr\", typeof credential> = defineApp({\n slug: \"piloterr\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { piloterr } from "./app.cjs";
1
2
  import { piloterrAuchanProduct } from "./actions/auchan-product.cjs";
2
3
  import { piloterrAuchanSearch } from "./actions/auchan-search.cjs";
3
4
  import { piloterrGetProductInfo } from "./actions/get-product-info.cjs";
@@ -10,6 +11,5 @@ import { piloterrListLeroyMerlinProducts } from "./actions/list-leroy-merlin-pro
10
11
  import { piloterrListLinkedInIndustries } from "./actions/list-linked-in-industries.cjs";
11
12
  import { piloterrSearch } from "./actions/search.cjs";
12
13
  import { piloterrUsageGet } from "./actions/usage-get.cjs";
13
- import { piloterr } from "./app.cjs";
14
14
  import { piloterrCatalog } from "./catalog.cjs";
15
15
  export { piloterr, piloterrAuchanProduct, piloterrAuchanSearch, piloterrCatalog, piloterrGetProductInfo, piloterrListChewyProducts, piloterrListEleclercStores, piloterrListGoogleCountries, piloterrListGoogleLanguages, piloterrListGoogleLocations, piloterrListLeroyMerlinProducts, piloterrListLinkedInIndustries, piloterrSearch, piloterrUsageGet };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { piloterr } from "./app.mjs";
1
2
  import { piloterrAuchanProduct } from "./actions/auchan-product.mjs";
2
3
  import { piloterrAuchanSearch } from "./actions/auchan-search.mjs";
3
4
  import { piloterrGetProductInfo } from "./actions/get-product-info.mjs";
@@ -10,6 +11,5 @@ import { piloterrListLeroyMerlinProducts } from "./actions/list-leroy-merlin-pro
10
11
  import { piloterrListLinkedInIndustries } from "./actions/list-linked-in-industries.mjs";
11
12
  import { piloterrSearch } from "./actions/search.mjs";
12
13
  import { piloterrUsageGet } from "./actions/usage-get.mjs";
13
- import { piloterr } from "./app.mjs";
14
14
  import { piloterrCatalog } from "./catalog.mjs";
15
15
  export { piloterr, piloterrAuchanProduct, piloterrAuchanSearch, piloterrCatalog, piloterrGetProductInfo, piloterrListChewyProducts, piloterrListEleclercStores, piloterrListGoogleCountries, piloterrListGoogleLanguages, piloterrListGoogleLocations, piloterrListLeroyMerlinProducts, piloterrListLinkedInIndustries, piloterrSearch, piloterrUsageGet };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/piloterr",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {