@keystrokehq/scrapfly 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/actions/capture-screenshot-head.d.cts +13 -1
  2. package/dist/actions/capture-screenshot-head.d.mts +13 -1
  3. package/dist/actions/capture-screenshot.d.cts +13 -1
  4. package/dist/actions/capture-screenshot.d.mts +13 -1
  5. package/dist/actions/create-crawler.d.cts +13 -1
  6. package/dist/actions/create-crawler.d.mts +13 -1
  7. package/dist/actions/extract-data.d.cts +13 -1
  8. package/dist/actions/extract-data.d.mts +13 -1
  9. package/dist/actions/get-account-info.d.cts +13 -1
  10. package/dist/actions/get-account-info.d.cts.map +1 -1
  11. package/dist/actions/get-account-info.d.mts +13 -1
  12. package/dist/actions/get-account-info.d.mts.map +1 -1
  13. package/dist/actions/get-crawler-artifact.d.cts +13 -1
  14. package/dist/actions/get-crawler-artifact.d.mts +13 -1
  15. package/dist/actions/get-crawler-contents.d.cts +13 -1
  16. package/dist/actions/get-crawler-contents.d.mts +13 -1
  17. package/dist/actions/get-crawler-status.d.cts +13 -1
  18. package/dist/actions/get-crawler-status.d.mts +13 -1
  19. package/dist/actions/get-crawler-urls.d.cts +13 -1
  20. package/dist/actions/get-crawler-urls.d.mts +13 -1
  21. package/dist/actions/scrape-post.d.cts +13 -1
  22. package/dist/actions/scrape-post.d.mts +13 -1
  23. package/dist/actions/scrape-with-put.d.cts +13 -1
  24. package/dist/actions/scrape-with-put.d.cts.map +1 -1
  25. package/dist/actions/scrape-with-put.d.mts +13 -1
  26. package/dist/actions/scrape-with-put.d.mts.map +1 -1
  27. package/dist/actions/scrape.d.cts +13 -1
  28. package/dist/actions/scrape.d.cts.map +1 -1
  29. package/dist/actions/scrape.d.mts +13 -1
  30. package/dist/actions/scrape.d.mts.map +1 -1
  31. package/dist/app.cjs +5 -2
  32. package/dist/app.cjs.map +1 -1
  33. package/dist/app.d.cts +9 -1
  34. package/dist/app.d.cts.map +1 -1
  35. package/dist/app.d.mts +9 -1
  36. package/dist/app.d.mts.map +1 -1
  37. package/dist/app.mjs +3 -1
  38. package/dist/app.mjs.map +1 -1
  39. package/dist/catalog.cjs +1 -1
  40. package/dist/catalog.cjs.map +1 -1
  41. package/dist/catalog.d.cts +1 -1
  42. package/dist/catalog.d.mts +1 -1
  43. package/dist/catalog.mjs +1 -1
  44. package/dist/catalog.mjs.map +1 -1
  45. package/package.json +1 -1
@@ -50,7 +50,19 @@ declare const scrapflyCaptureScreenshotHead: import("@keystrokehq/action").Workf
50
50
  rendering_wait?: number | undefined;
51
51
  vision_deficiency?: "none" | "deuteranopia" | "protanopia" | "tritanopia" | "achromatopsia" | "blurredVision" | undefined;
52
52
  wait_for_selector?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ generic_api_key: z.ZodString;
59
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>;
54
66
  //#endregion
55
67
  export { scrapflyCaptureScreenshotHead };
56
68
  //# sourceMappingURL=capture-screenshot-head.d.cts.map
@@ -50,7 +50,19 @@ declare const scrapflyCaptureScreenshotHead: import("@keystrokehq/action").Workf
50
50
  rendering_wait?: number | undefined;
51
51
  vision_deficiency?: "none" | "deuteranopia" | "protanopia" | "tritanopia" | "achromatopsia" | "blurredVision" | undefined;
52
52
  wait_for_selector?: string | undefined;
53
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ generic_api_key: z.ZodString;
59
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
60
+ connectionId: z.ZodString;
61
+ entityId: z.ZodString;
62
+ instanceId: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ generic_api_key: z.ZodString;
65
+ }, z.core.$strip>>]>;
54
66
  //#endregion
55
67
  export { scrapflyCaptureScreenshotHead };
56
68
  //# sourceMappingURL=capture-screenshot-head.d.mts.map
@@ -44,7 +44,19 @@ declare const scrapflyCaptureScreenshot: import("@keystrokehq/action").WorkflowA
44
44
  cache_clear?: boolean | undefined;
45
45
  rendering_wait?: number | undefined;
46
46
  wait_for_selector?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ generic_api_key: z.ZodString;
59
+ }, z.core.$strip>>]>;
48
60
  //#endregion
49
61
  export { scrapflyCaptureScreenshot };
50
62
  //# sourceMappingURL=capture-screenshot.d.cts.map
@@ -44,7 +44,19 @@ declare const scrapflyCaptureScreenshot: import("@keystrokehq/action").WorkflowA
44
44
  cache_clear?: boolean | undefined;
45
45
  rendering_wait?: number | undefined;
46
46
  wait_for_selector?: string | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
54
+ connectionId: z.ZodString;
55
+ entityId: z.ZodString;
56
+ instanceId: z.ZodString;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ generic_api_key: z.ZodString;
59
+ }, z.core.$strip>>]>;
48
60
  //#endregion
49
61
  export { scrapflyCaptureScreenshot };
50
62
  //# sourceMappingURL=capture-screenshot.d.mts.map
@@ -31,7 +31,19 @@ declare const scrapflyCreateCrawler: import("@keystrokehq/action").WorkflowActio
31
31
  content_formats?: string[] | undefined;
32
32
  include_only_paths?: string[] | undefined;
33
33
  follow_external_links?: boolean | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { scrapflyCreateCrawler };
37
49
  //# sourceMappingURL=create-crawler.d.cts.map
@@ -31,7 +31,19 @@ declare const scrapflyCreateCrawler: import("@keystrokehq/action").WorkflowActio
31
31
  content_formats?: string[] | undefined;
32
32
  include_only_paths?: string[] | undefined;
33
33
  follow_external_links?: boolean | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { scrapflyCreateCrawler };
37
49
  //# sourceMappingURL=create-crawler.d.mts.map
@@ -53,7 +53,19 @@ declare const scrapflyExtractData: import("@keystrokehq/action").WorkflowActionD
53
53
  extraction_model?: "organization" | "article" | "event" | "food_recipe" | "hotel" | "hotel_listing" | "job_listing" | "job_posting" | "product" | "product_listing" | "real_estate_property" | "real_estate_property_listing" | "review_list" | "search_engine_results" | "social_media_post" | "software" | "stock" | "vehicle_ad" | "vehicle_ad_listing" | undefined;
54
54
  extraction_prompt?: string | undefined;
55
55
  extraction_template?: string | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { scrapflyExtractData };
59
71
  //# sourceMappingURL=extract-data.d.cts.map
@@ -53,7 +53,19 @@ declare const scrapflyExtractData: import("@keystrokehq/action").WorkflowActionD
53
53
  extraction_model?: "organization" | "article" | "event" | "food_recipe" | "hotel" | "hotel_listing" | "job_listing" | "job_posting" | "product" | "product_listing" | "real_estate_property" | "real_estate_property_listing" | "review_list" | "search_engine_results" | "social_media_post" | "software" | "stock" | "vehicle_ad" | "vehicle_ad_listing" | undefined;
54
54
  extraction_prompt?: string | undefined;
55
55
  extraction_template?: string | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { scrapflyExtractData };
59
71
  //# sourceMappingURL=extract-data.d.mts.map
@@ -73,7 +73,19 @@ declare const ScrapflyGetAccountInfoOutput: z.ZodObject<{
73
73
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  successfull: z.ZodNullable<z.ZodBoolean>;
75
75
  }, z.core.$loose>;
76
- declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
76
+ declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
77
+ connectionId: z.ZodString;
78
+ entityId: z.ZodString;
79
+ instanceId: z.ZodString;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ generic_api_key: z.ZodString;
82
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
83
+ connectionId: z.ZodString;
84
+ entityId: z.ZodString;
85
+ instanceId: z.ZodString;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ generic_api_key: z.ZodString;
88
+ }, z.core.$strip>>]>;
77
89
  //#endregion
78
90
  export { scrapflyGetAccountInfo };
79
91
  //# 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,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,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":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
@@ -73,7 +73,19 @@ declare const ScrapflyGetAccountInfoOutput: z.ZodObject<{
73
73
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  successfull: z.ZodNullable<z.ZodBoolean>;
75
75
  }, z.core.$loose>;
76
- declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
76
+ declare const scrapflyGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
77
+ connectionId: z.ZodString;
78
+ entityId: z.ZodString;
79
+ instanceId: z.ZodString;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ generic_api_key: z.ZodString;
82
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
83
+ connectionId: z.ZodString;
84
+ entityId: z.ZodString;
85
+ instanceId: z.ZodString;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ generic_api_key: z.ZodString;
88
+ }, z.core.$strip>>]>;
77
89
  //#endregion
78
90
  export { scrapflyGetAccountInfo };
79
91
  //# 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,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,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":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAqE3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
@@ -18,7 +18,19 @@ declare const ScrapflyGetCrawlerArtifactOutput: z.ZodObject<{
18
18
  declare const scrapflyGetCrawlerArtifact: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  type: "warc" | "har";
20
20
  crawler_uuid: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { scrapflyGetCrawlerArtifact };
24
36
  //# sourceMappingURL=get-crawler-artifact.d.cts.map
@@ -18,7 +18,19 @@ declare const ScrapflyGetCrawlerArtifactOutput: z.ZodObject<{
18
18
  declare const scrapflyGetCrawlerArtifact: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  type: "warc" | "har";
20
20
  crawler_uuid: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { scrapflyGetCrawlerArtifact };
24
36
  //# sourceMappingURL=get-crawler-artifact.d.mts.map
@@ -24,7 +24,19 @@ declare const scrapflyGetCrawlerContents: import("@keystrokehq/action").Workflow
24
24
  plain?: boolean | undefined;
25
25
  offset?: number | undefined;
26
26
  formats?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { scrapflyGetCrawlerContents };
30
42
  //# sourceMappingURL=get-crawler-contents.d.cts.map
@@ -24,7 +24,19 @@ declare const scrapflyGetCrawlerContents: import("@keystrokehq/action").Workflow
24
24
  plain?: boolean | undefined;
25
25
  offset?: number | undefined;
26
26
  formats?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { scrapflyGetCrawlerContents };
30
42
  //# sourceMappingURL=get-crawler-contents.d.mts.map
@@ -22,7 +22,19 @@ declare const ScrapflyGetCrawlerStatusOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const scrapflyGetCrawlerStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  crawler_uuid: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { scrapflyGetCrawlerStatus };
28
40
  //# sourceMappingURL=get-crawler-status.d.cts.map
@@ -22,7 +22,19 @@ declare const ScrapflyGetCrawlerStatusOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const scrapflyGetCrawlerStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  crawler_uuid: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { scrapflyGetCrawlerStatus };
28
40
  //# sourceMappingURL=get-crawler-status.d.mts.map
@@ -18,7 +18,19 @@ declare const scrapflyGetCrawlerUrls: import("@keystrokehq/action").WorkflowActi
18
18
  page?: number | undefined;
19
19
  status?: string | undefined;
20
20
  per_page?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { scrapflyGetCrawlerUrls };
24
36
  //# sourceMappingURL=get-crawler-urls.d.cts.map
@@ -18,7 +18,19 @@ declare const scrapflyGetCrawlerUrls: import("@keystrokehq/action").WorkflowActi
18
18
  page?: number | undefined;
19
19
  status?: string | undefined;
20
20
  per_page?: number | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { scrapflyGetCrawlerUrls };
24
36
  //# sourceMappingURL=get-crawler-urls.d.mts.map
@@ -38,7 +38,19 @@ declare const scrapflyScrapePost: import("@keystrokehq/action").WorkflowActionDe
38
38
  timeout?: number | undefined;
39
39
  render_js?: boolean | undefined;
40
40
  extract_rules?: Record<string, unknown> | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { scrapflyScrapePost };
44
56
  //# sourceMappingURL=scrape-post.d.cts.map
@@ -38,7 +38,19 @@ declare const scrapflyScrapePost: import("@keystrokehq/action").WorkflowActionDe
38
38
  timeout?: number | undefined;
39
39
  render_js?: boolean | undefined;
40
40
  extract_rules?: Record<string, unknown> | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { scrapflyScrapePost };
44
56
  //# sourceMappingURL=scrape-post.d.mts.map
@@ -38,7 +38,19 @@ declare const scrapflyScrapeWithPut: import("@keystrokehq/action").WorkflowActio
38
38
  timeout?: number | undefined;
39
39
  render_js?: boolean | undefined;
40
40
  extract_rules?: Record<string, unknown> | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { scrapflyScrapeWithPut };
44
56
  //# sourceMappingURL=scrape-with-put.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-put.d.cts","names":[],"sources":["../../src/actions/scrape-with-put.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAW3B,qBAAA,gCAAqB,wBAAA;;;;;;;;YAMhC,MAAA;;;;kBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"scrape-with-put.d.cts","names":[],"sources":["../../src/actions/scrape-with-put.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAW3B,qBAAA,gCAAqB,wBAAA"}
@@ -38,7 +38,19 @@ declare const scrapflyScrapeWithPut: import("@keystrokehq/action").WorkflowActio
38
38
  timeout?: number | undefined;
39
39
  render_js?: boolean | undefined;
40
40
  extract_rules?: Record<string, unknown> | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ generic_api_key: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { scrapflyScrapeWithPut };
44
56
  //# sourceMappingURL=scrape-with-put.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape-with-put.d.mts","names":[],"sources":["../../src/actions/scrape-with-put.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAW3B,qBAAA,gCAAqB,wBAAA;;;;;;;;YAMhC,MAAA;;;;kBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"scrape-with-put.d.mts","names":[],"sources":["../../src/actions/scrape-with-put.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAc1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAW3B,qBAAA,gCAAqB,wBAAA"}
@@ -48,7 +48,19 @@ declare const scrapflyScrape: import("@keystrokehq/action").WorkflowActionDefini
48
48
  timeout?: number | undefined;
49
49
  render_js?: boolean | undefined;
50
50
  extract_rules?: Record<string, unknown> | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>;
52
64
  //#endregion
53
65
  export { scrapflyScrape };
54
66
  //# sourceMappingURL=scrape.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape.d.cts","names":[],"sources":["../../src/actions/scrape.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAenB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA;;;;;;;;;YAMzB,MAAA;;;;kBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"scrape.d.cts","names":[],"sources":["../../src/actions/scrape.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAenB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA"}
@@ -48,7 +48,19 @@ declare const scrapflyScrape: import("@keystrokehq/action").WorkflowActionDefini
48
48
  timeout?: number | undefined;
49
49
  render_js?: boolean | undefined;
50
50
  extract_rules?: Record<string, unknown> | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>;
52
64
  //#endregion
53
65
  export { scrapflyScrape };
54
66
  //# sourceMappingURL=scrape.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrape.d.mts","names":[],"sources":["../../src/actions/scrape.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAenB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA;;;;;;;;;YAMzB,MAAA;;;;kBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"scrape.d.mts","names":[],"sources":["../../src/actions/scrape.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAenB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const scrapfly = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const scrapfly = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "scrapfly",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.scrapfly = scrapfly;
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 scrapfly = defineApp({\n slug: \"scrapfly\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const scrapfly = defineApp({\n slug: \"scrapfly\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const scrapfly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const scrapfly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { scrapfly };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const scrapfly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const scrapfly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"scrapfly", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { scrapfly };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const scrapfly = defineApp({
4
5
  slug: "scrapfly",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { scrapfly };
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 scrapfly = defineApp({\n slug: \"scrapfly\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const scrapfly = defineApp({\n slug: \"scrapfly\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const scrapflyCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/scrapfly",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Scrapfly API Key",
13
13
  "secret": true,
14
14
  "description": "Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapflyCatalog = {\n \"slug\": \"scrapfly\",\n \"name\": \"Scrapfly\",\n \"description\": \"Scrapfly is a web scraping API that enables developers to extract data from websites efficiently, offering features like JavaScript rendering, anti-bot protection bypass, and proxy rotation.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapfly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Scrapfly API Key\",\n \"secret\": true,\n \"description\": \"Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapflyCatalog = {\n \"slug\": \"scrapfly\",\n \"name\": \"Scrapfly\",\n \"description\": \"Scrapfly is a web scraping API that enables developers to extract data from websites efficiently, offering features like JavaScript rendering, anti-bot protection bypass, and proxy rotation.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapfly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Scrapfly API Key\",\n \"secret\": true,\n \"description\": \"Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const scrapflyCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Scrapfly API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.";
@@ -9,7 +9,7 @@ declare const scrapflyCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Scrapfly API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const scrapflyCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/scrapfly",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Scrapfly API Key",
13
13
  "secret": true,
14
14
  "description": "Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapflyCatalog = {\n \"slug\": \"scrapfly\",\n \"name\": \"Scrapfly\",\n \"description\": \"Scrapfly is a web scraping API that enables developers to extract data from websites efficiently, offering features like JavaScript rendering, anti-bot protection bypass, and proxy rotation.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapfly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Scrapfly API Key\",\n \"secret\": true,\n \"description\": \"Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scrapflyCatalog = {\n \"slug\": \"scrapfly\",\n \"name\": \"Scrapfly\",\n \"description\": \"Scrapfly is a web scraping API that enables developers to extract data from websites efficiently, offering features like JavaScript rendering, anti-bot protection bypass, and proxy rotation.\",\n \"category\": \"AI Web Scraping\",\n \"logo\": \"https://logos.composio.dev/api/scrapfly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Scrapfly API Key\",\n \"secret\": true,\n \"description\": \"Your Scrapfly API key for authentication. Find your key on the Scrapfly dashboard.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/scrapfly",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"