@keystrokehq/posthog 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  declare const PosthogAddProductIntentToProjectInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  product_type: z.ZodEnum<{
7
+ surveys: "surveys";
7
8
  product_analytics: "product_analytics";
8
9
  feature_flags: "feature_flags";
9
10
  data_warehouse: "data_warehouse";
10
11
  experiments: "experiments";
11
- surveys: "surveys";
12
12
  }>;
13
13
  organization_id: z.ZodString;
14
14
  }, z.core.$strip>;
@@ -34,7 +34,7 @@ declare const PosthogAddProductIntentToProjectOutput: z.ZodObject<{
34
34
  }, z.core.$loose>;
35
35
  declare const posthogAddProductIntentToProject: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: number;
37
- product_type: "product_analytics" | "feature_flags" | "data_warehouse" | "experiments" | "surveys";
37
+ product_type: "surveys" | "product_analytics" | "feature_flags" | "data_warehouse" | "experiments";
38
38
  organization_id: string;
39
39
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
40
  //#endregion
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  declare const PosthogAddProductIntentToProjectInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  product_type: z.ZodEnum<{
7
+ surveys: "surveys";
7
8
  product_analytics: "product_analytics";
8
9
  feature_flags: "feature_flags";
9
10
  data_warehouse: "data_warehouse";
10
11
  experiments: "experiments";
11
- surveys: "surveys";
12
12
  }>;
13
13
  organization_id: z.ZodString;
14
14
  }, z.core.$strip>;
@@ -34,7 +34,7 @@ declare const PosthogAddProductIntentToProjectOutput: z.ZodObject<{
34
34
  }, z.core.$loose>;
35
35
  declare const posthogAddProductIntentToProject: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: number;
37
- product_type: "product_analytics" | "feature_flags" | "data_warehouse" | "experiments" | "surveys";
37
+ product_type: "surveys" | "product_analytics" | "feature_flags" | "data_warehouse" | "experiments";
38
38
  organization_id: string;
39
39
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
40
  //#endregion
@@ -9,8 +9,8 @@ declare const PosthogGetEvaluationsInput: z.ZodObject<{
9
9
  enabled: z.ZodOptional<z.ZodBoolean>;
10
10
  order_by: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11
11
  name: "name";
12
- updated_at: "updated_at";
13
12
  created_at: "created_at";
13
+ updated_at: "updated_at";
14
14
  "-created_at": "-created_at";
15
15
  "-updated_at": "-updated_at";
16
16
  "-name": "-name";
@@ -51,7 +51,7 @@ declare const posthogGetEvaluations: import("@keystrokehq/action").WorkflowActio
51
51
  offset?: number | undefined;
52
52
  search?: string | undefined;
53
53
  enabled?: boolean | undefined;
54
- order_by?: ("name" | "updated_at" | "created_at" | "-created_at" | "-updated_at" | "-name")[] | undefined;
54
+ order_by?: ("name" | "created_at" | "updated_at" | "-created_at" | "-updated_at" | "-name")[] | undefined;
55
55
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
56
  //#endregion
57
57
  export { posthogGetEvaluations };
@@ -9,8 +9,8 @@ declare const PosthogGetEvaluationsInput: z.ZodObject<{
9
9
  enabled: z.ZodOptional<z.ZodBoolean>;
10
10
  order_by: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11
11
  name: "name";
12
- updated_at: "updated_at";
13
12
  created_at: "created_at";
13
+ updated_at: "updated_at";
14
14
  "-created_at": "-created_at";
15
15
  "-updated_at": "-updated_at";
16
16
  "-name": "-name";
@@ -51,7 +51,7 @@ declare const posthogGetEvaluations: import("@keystrokehq/action").WorkflowActio
51
51
  offset?: number | undefined;
52
52
  search?: string | undefined;
53
53
  enabled?: boolean | undefined;
54
- order_by?: ("name" | "updated_at" | "created_at" | "-created_at" | "-updated_at" | "-name")[] | undefined;
54
+ order_by?: ("name" | "created_at" | "updated_at" | "-created_at" | "-updated_at" | "-name")[] | undefined;
55
55
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
56
  //#endregion
57
57
  export { posthogGetEvaluations };
@@ -4,10 +4,10 @@ import { z } from "zod";
4
4
  declare const PosthogPatchCompleteProductOnboardingInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  product_type: z.ZodEnum<{
7
+ surveys: "surveys";
7
8
  product_analytics: "product_analytics";
8
9
  feature_flags: "feature_flags";
9
10
  data_warehouse: "data_warehouse";
10
- surveys: "surveys";
11
11
  session_replay: "session_replay";
12
12
  error_tracking: "error_tracking";
13
13
  }>;
@@ -39,7 +39,7 @@ declare const PosthogPatchCompleteProductOnboardingOutput: z.ZodObject<{
39
39
  }, z.core.$loose>;
40
40
  declare const posthogPatchCompleteProductOnboarding: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  id: number;
42
- product_type: "product_analytics" | "feature_flags" | "data_warehouse" | "surveys" | "session_replay" | "error_tracking";
42
+ product_type: "surveys" | "product_analytics" | "feature_flags" | "data_warehouse" | "session_replay" | "error_tracking";
43
43
  organization_id: string;
44
44
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
45
  //#endregion
@@ -4,10 +4,10 @@ import { z } from "zod";
4
4
  declare const PosthogPatchCompleteProductOnboardingInput: z.ZodObject<{
5
5
  id: z.ZodNumber;
6
6
  product_type: z.ZodEnum<{
7
+ surveys: "surveys";
7
8
  product_analytics: "product_analytics";
8
9
  feature_flags: "feature_flags";
9
10
  data_warehouse: "data_warehouse";
10
- surveys: "surveys";
11
11
  session_replay: "session_replay";
12
12
  error_tracking: "error_tracking";
13
13
  }>;
@@ -39,7 +39,7 @@ declare const PosthogPatchCompleteProductOnboardingOutput: z.ZodObject<{
39
39
  }, z.core.$loose>;
40
40
  declare const posthogPatchCompleteProductOnboarding: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  id: number;
42
- product_type: "product_analytics" | "feature_flags" | "data_warehouse" | "surveys" | "session_replay" | "error_tracking";
42
+ product_type: "surveys" | "product_analytics" | "feature_flags" | "data_warehouse" | "session_replay" | "error_tracking";
43
43
  organization_id: string;
44
44
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
45
  //#endregion
@@ -51,9 +51,9 @@ declare const PosthogPatchProjectFeatureFlagOutput: z.ZodObject<{
51
51
  evaluation_tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
52
52
  usage_dashboard: z.ZodNullable<z.ZodNumber>;
53
53
  creation_context: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
54
+ surveys: "surveys";
54
55
  feature_flags: "feature_flags";
55
56
  experiments: "experiments";
56
- surveys: "surveys";
57
57
  early_access_features: "early_access_features";
58
58
  web_experiments: "web_experiments";
59
59
  product_tours: "product_tours";
@@ -51,9 +51,9 @@ declare const PosthogPatchProjectFeatureFlagOutput: z.ZodObject<{
51
51
  evaluation_tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
52
52
  usage_dashboard: z.ZodNullable<z.ZodNumber>;
53
53
  creation_context: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
54
+ surveys: "surveys";
54
55
  feature_flags: "feature_flags";
55
56
  experiments: "experiments";
56
- surveys: "surveys";
57
57
  early_access_features: "early_access_features";
58
58
  web_experiments: "web_experiments";
59
59
  product_tours: "product_tours";
@@ -16,8 +16,8 @@ declare const PosthogProjectFunnelAdvancedAnalyticsInput: z.ZodObject<{
16
16
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
17
  breakdown_type: z.ZodOptional<z.ZodEnum<{
18
18
  event: "event";
19
- person: "person";
20
19
  cohort: "cohort";
20
+ person: "person";
21
21
  }>>;
22
22
  breakdown_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
23
23
  funnel_viz_type: z.ZodOptional<z.ZodEnum<{
@@ -71,7 +71,7 @@ declare const posthogProjectFunnelAdvancedAnalytics: import("@keystrokehq/action
71
71
  date_from?: string | undefined;
72
72
  exclusions?: Record<string, unknown>[] | undefined;
73
73
  properties?: Record<string, unknown> | undefined;
74
- breakdown_type?: "event" | "person" | "cohort" | undefined;
74
+ breakdown_type?: "event" | "cohort" | "person" | undefined;
75
75
  breakdown_limit?: number | undefined;
76
76
  funnel_viz_type?: "trends" | "steps" | "time_to_convert" | undefined;
77
77
  funnel_order_type?: "ordered" | "unordered" | "strict" | undefined;
@@ -16,8 +16,8 @@ declare const PosthogProjectFunnelAdvancedAnalyticsInput: z.ZodObject<{
16
16
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
17
  breakdown_type: z.ZodOptional<z.ZodEnum<{
18
18
  event: "event";
19
- person: "person";
20
19
  cohort: "cohort";
20
+ person: "person";
21
21
  }>>;
22
22
  breakdown_limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
23
23
  funnel_viz_type: z.ZodOptional<z.ZodEnum<{
@@ -71,7 +71,7 @@ declare const posthogProjectFunnelAdvancedAnalytics: import("@keystrokehq/action
71
71
  date_from?: string | undefined;
72
72
  exclusions?: Record<string, unknown>[] | undefined;
73
73
  properties?: Record<string, unknown> | undefined;
74
- breakdown_type?: "event" | "person" | "cohort" | undefined;
74
+ breakdown_type?: "event" | "cohort" | "person" | undefined;
75
75
  breakdown_limit?: number | undefined;
76
76
  funnel_viz_type?: "trends" | "steps" | "time_to_convert" | undefined;
77
77
  funnel_order_type?: "ordered" | "unordered" | "strict" | undefined;
package/dist/catalog.cjs CHANGED
@@ -14,7 +14,7 @@ const posthogCatalog = {
14
14
  "description": "The subdomain for your PostHog instance. US Cloud: \"us.i\" (public) or \"us\" (private). EU Cloud: \"eu.i\" (public) or \"eu\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.",
15
15
  "default": "us"
16
16
  },
17
- "apiKey": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const posthogCatalog = {\n \"slug\": \"posthog\",\n \"name\": \"PostHog\",\n \"description\": \"PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/posthog\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sub Domain\",\n \"description\": \"The subdomain for your PostHog instance. US Cloud: \\\"us.i\\\" (public) or \\\"us\\\" (private). EU Cloud: \\\"eu.i\\\" (public) or \\\"eu\\\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.\",\n \"default\": \"us\"\n },\n \"apiKey\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,UAAU;GACR,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;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 posthogCatalog = {\n \"slug\": \"posthog\",\n \"name\": \"PostHog\",\n \"description\": \"PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/posthog\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sub Domain\",\n \"description\": \"The subdomain for your PostHog instance. US Cloud: \\\"us.i\\\" (public) or \\\"us\\\" (private). EU Cloud: \\\"eu.i\\\" (public) or \\\"eu\\\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.\",\n \"default\": \"us\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -14,7 +14,7 @@ declare const posthogCatalog: {
14
14
  readonly description: "The subdomain for your PostHog instance. US Cloud: \"us.i\" (public) or \"us\" (private). EU Cloud: \"eu.i\" (public) or \"eu\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.";
15
15
  readonly default: "us";
16
16
  };
17
- readonly apiKey: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.";
@@ -14,7 +14,7 @@ declare const posthogCatalog: {
14
14
  readonly description: "The subdomain for your PostHog instance. US Cloud: \"us.i\" (public) or \"us\" (private). EU Cloud: \"eu.i\" (public) or \"eu\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.";
15
15
  readonly default: "us";
16
16
  };
17
- readonly apiKey: {
17
+ readonly generic_api_key: {
18
18
  readonly label: "API Key";
19
19
  readonly secret: true;
20
20
  readonly description: "Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.";
package/dist/catalog.mjs CHANGED
@@ -14,7 +14,7 @@ const posthogCatalog = {
14
14
  "description": "The subdomain for your PostHog instance. US Cloud: \"us.i\" (public) or \"us\" (private). EU Cloud: \"eu.i\" (public) or \"eu\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.",
15
15
  "default": "us"
16
16
  },
17
- "apiKey": {
17
+ "generic_api_key": {
18
18
  "label": "API Key",
19
19
  "secret": true,
20
20
  "description": "Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const posthogCatalog = {\n \"slug\": \"posthog\",\n \"name\": \"PostHog\",\n \"description\": \"PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/posthog\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sub Domain\",\n \"description\": \"The subdomain for your PostHog instance. US Cloud: \\\"us.i\\\" (public) or \\\"us\\\" (private). EU Cloud: \\\"eu.i\\\" (public) or \\\"eu\\\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.\",\n \"default\": \"us\"\n },\n \"apiKey\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,UAAU;GACR,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;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 posthogCatalog = {\n \"slug\": \"posthog\",\n \"name\": \"PostHog\",\n \"description\": \"PostHog is an open-source product analytics platform tracking user interactions and behaviors to help teams refine features, improve funnels, and reduce churn\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/posthog\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"subdomain\": {\n \"label\": \"Sub Domain\",\n \"description\": \"The subdomain for your PostHog instance. US Cloud: \\\"us.i\\\" (public) or \\\"us\\\" (private). EU Cloud: \\\"eu.i\\\" (public) or \\\"eu\\\" (private). For self-hosted, use your custom subdomain. Confirm yours by checking your PostHog instance URL.\",\n \"default\": \"us\"\n },\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your personal API key starting with 'phx_' (not the 'phc_' project key). Create it under Settings → Personal API keys and copy it right away — it's shown only once.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,aAAa;GACX,SAAS;GACT,eAAe;GACf,WAAW;EACb;EACA,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/posthog",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"