@keystrokehq/page_x 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.
@@ -20,7 +20,19 @@ declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefin
20
20
  email?: string | undefined;
21
21
  phone?: string | undefined;
22
22
  customer_id?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>;
24
36
  //#endregion
25
37
  export { pageXCreateLead };
26
38
  //# sourceMappingURL=create-lead.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;SAM1B,MAAA"}
1
+ {"version":3,"file":"create-lead.d.cts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
@@ -20,7 +20,19 @@ declare const pageXCreateLead: import("@keystrokehq/action").WorkflowActionDefin
20
20
  email?: string | undefined;
21
21
  phone?: string | undefined;
22
22
  customer_id?: string | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ generic_api_key: z.ZodString;
29
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"page_x", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>;
24
36
  //#endregion
25
37
  export { pageXCreateLead };
26
38
  //# sourceMappingURL=create-lead.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA;SAM1B,MAAA"}
1
+ {"version":3,"file":"create-lead.d.mts","names":[],"sources":["../../src/actions/create-lead.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,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 pageX = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const pageX = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "page_x",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.pageX = pageX;
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 pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,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 pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,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 pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"page_x", 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 { pageX };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,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 pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const pageX: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"page_x", 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 { pageX };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,WAAA,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 pageX = defineApp({
4
5
  slug: "page_x",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { pageX };
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 pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,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 pageX = defineApp({\n slug: \"page_x\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const pageXCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/page_x",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,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 pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,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 pageXCatalog: {
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: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.";
@@ -9,7 +9,7 @@ declare const pageXCatalog: {
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: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const pageXCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/page_x",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,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 pageXCatalog = {\n \"slug\": \"page_x\",\n \"name\": \"Page X\",\n \"description\": \"PageX is an all-in-one platform combining CRM, page builder, and online course builder to help businesses manage leads, build websites, and create courses.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/page_x\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your PageXCRM API key. Get it from https://pagexcrm.com/plugins/api.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,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/page_x",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"