@keystrokehq/shorten_rest 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.
@@ -42,7 +42,19 @@ declare const shortenRestCreateAlias: import("@keystrokehq/action").WorkflowActi
42
42
  }[] | undefined;
43
43
  aliasName?: string | undefined;
44
44
  domainName?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>;
46
58
  //#endregion
47
59
  export { shortenRestCreateAlias };
48
60
  //# sourceMappingURL=create-alias.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-alias.d.cts","names":[],"sources":["../../src/actions/create-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;iBAMjC,MAAA;EAAA"}
1
+ {"version":3,"file":"create-alias.d.cts","names":[],"sources":["../../src/actions/create-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,gCAAsB,wBAAA"}
@@ -42,7 +42,19 @@ declare const shortenRestCreateAlias: import("@keystrokehq/action").WorkflowActi
42
42
  }[] | undefined;
43
43
  aliasName?: string | undefined;
44
44
  domainName?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>;
46
58
  //#endregion
47
59
  export { shortenRestCreateAlias };
48
60
  //# sourceMappingURL=create-alias.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-alias.d.mts","names":[],"sources":["../../src/actions/create-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;;;;;;iBAMjC,MAAA;EAAA"}
1
+ {"version":3,"file":"create-alias.d.mts","names":[],"sources":["../../src/actions/create-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAM5B,sBAAA,gCAAsB,wBAAA"}
@@ -11,7 +11,19 @@ declare const ShortenRestDeleteAliasOutput: z.ZodObject<{
11
11
  declare const shortenRestDeleteAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  aliasName: string;
13
13
  domainName?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { shortenRestDeleteAlias };
17
29
  //# sourceMappingURL=delete-alias.d.cts.map
@@ -11,7 +11,19 @@ declare const ShortenRestDeleteAliasOutput: z.ZodObject<{
11
11
  declare const shortenRestDeleteAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  aliasName: string;
13
13
  domainName?: string | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { shortenRestDeleteAlias };
17
29
  //# sourceMappingURL=delete-alias.d.mts.map
@@ -30,7 +30,19 @@ declare const ShortenRestGetAliasesOutput: z.ZodObject<{
30
30
  declare const shortenRestGetAliases: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  limit?: number | undefined;
32
32
  cursor?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { shortenRestGetAliases };
36
48
  //# sourceMappingURL=get-aliases.d.cts.map
@@ -30,7 +30,19 @@ declare const ShortenRestGetAliasesOutput: z.ZodObject<{
30
30
  declare const shortenRestGetAliases: import("@keystrokehq/action").WorkflowActionDefinition<{
31
31
  limit?: number | undefined;
32
32
  cursor?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { shortenRestGetAliases };
36
48
  //# sourceMappingURL=get-aliases.d.mts.map
@@ -20,7 +20,19 @@ declare const shortenRestGetClicks: import("@keystrokehq/action").WorkflowAction
20
20
  alias?: string | undefined;
21
21
  limit?: number | undefined;
22
22
  cursor?: 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<"shorten_rest", 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<"shorten_rest", 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 { shortenRestGetClicks };
26
38
  //# sourceMappingURL=get-clicks.d.cts.map
@@ -20,7 +20,19 @@ declare const shortenRestGetClicks: import("@keystrokehq/action").WorkflowAction
20
20
  alias?: string | undefined;
21
21
  limit?: number | undefined;
22
22
  cursor?: 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<"shorten_rest", 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<"shorten_rest", 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 { shortenRestGetClicks };
26
38
  //# sourceMappingURL=get-clicks.d.mts.map
@@ -14,7 +14,19 @@ declare const shortenRestListAliasesByDomain: import("@keystrokehq/action").Work
14
14
  limit?: number | undefined;
15
15
  domain_name?: string | undefined;
16
16
  continue_from?: string | undefined;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>;
18
30
  //#endregion
19
31
  export { shortenRestListAliasesByDomain };
20
32
  //# sourceMappingURL=list-aliases-by-domain.d.cts.map
@@ -14,7 +14,19 @@ declare const shortenRestListAliasesByDomain: import("@keystrokehq/action").Work
14
14
  limit?: number | undefined;
15
15
  domain_name?: string | undefined;
16
16
  continue_from?: string | undefined;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", 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>>]>;
18
30
  //#endregion
19
31
  export { shortenRestListAliasesByDomain };
20
32
  //# sourceMappingURL=list-aliases-by-domain.d.mts.map
@@ -40,7 +40,19 @@ declare const shortenRestUpdateAlias: import("@keystrokehq/action").WorkflowActi
40
40
  os?: string | undefined;
41
41
  country?: string | undefined;
42
42
  }[] | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { shortenRestUpdateAlias };
46
58
  //# sourceMappingURL=update-alias.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-alias.d.cts","names":[],"sources":["../../src/actions/update-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;iBAMjC,MAAA;EAAA"}
1
+ {"version":3,"file":"update-alias.d.cts","names":[],"sources":["../../src/actions/update-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -40,7 +40,19 @@ declare const shortenRestUpdateAlias: import("@keystrokehq/action").WorkflowActi
40
40
  os?: string | undefined;
41
41
  country?: string | undefined;
42
42
  }[] | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"shorten_rest", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ generic_api_key: z.ZodString;
55
+ }, z.core.$strip>>]>;
44
56
  //#endregion
45
57
  export { shortenRestUpdateAlias };
46
58
  //# sourceMappingURL=update-alias.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-alias.d.mts","names":[],"sources":["../../src/actions/update-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA;;;;;;;;;;iBAMjC,MAAA;EAAA"}
1
+ {"version":3,"file":"update-alias.d.mts","names":[],"sources":["../../src/actions/update-alias.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAiB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,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 shortenRest = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const shortenRest = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "shorten_rest",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.shortenRest = shortenRest;
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 shortenRest = defineApp({\n slug: \"shorten_rest\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,eAAA,uCAAA,CAAA,CAAA,UAAA,CAAwB;CACnC,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 shortenRest = defineApp({\n slug: \"shorten_rest\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,eAAA,GAAA,2BAAA,UAAA,CAAwB;CACnC,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 shortenRest: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortenRest: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"shorten_rest", 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 { shortenRest };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,iBAAA,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 shortenRest: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortenRest: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"shorten_rest", 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 { shortenRest };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,WAAA,6BAAW,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,WAAA,6BAAW,GAAA,+BAAA,UAAA,iBAAA,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 shortenRest = defineApp({
4
5
  slug: "shorten_rest",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { shortenRest };
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 shortenRest = defineApp({\n slug: \"shorten_rest\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,cAAc,UAAU;CACnC,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 shortenRest = defineApp({\n slug: \"shorten_rest\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAc,UAAU;CACnC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const shortenRestCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/shorten_rest",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Shorten.REST API Key",
13
13
  "secret": true,
14
14
  "description": "The API key required for authenticating requests to the Shorten.REST 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 shortenRestCatalog = {\n \"slug\": \"shorten_rest\",\n \"name\": \"Shorten.REST\",\n \"description\": \"Shorten.REST is a link shortening and management app that allows you to generate unique, branded URLs with advanced tracking capabilities.\",\n \"category\": \"URL Shortener\",\n \"logo\": \"https://logos.composio.dev/api/shorten_rest\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Shorten.REST API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Shorten.REST API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,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 shortenRestCatalog = {\n \"slug\": \"shorten_rest\",\n \"name\": \"Shorten.REST\",\n \"description\": \"Shorten.REST is a link shortening and management app that allows you to generate unique, branded URLs with advanced tracking capabilities.\",\n \"category\": \"URL Shortener\",\n \"logo\": \"https://logos.composio.dev/api/shorten_rest\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Shorten.REST API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Shorten.REST API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,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 shortenRestCatalog: {
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: "Shorten.REST API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key required for authenticating requests to the Shorten.REST API.";
@@ -9,7 +9,7 @@ declare const shortenRestCatalog: {
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: "Shorten.REST API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key required for authenticating requests to the Shorten.REST API.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const shortenRestCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/shorten_rest",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Shorten.REST API Key",
13
13
  "secret": true,
14
14
  "description": "The API key required for authenticating requests to the Shorten.REST 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 shortenRestCatalog = {\n \"slug\": \"shorten_rest\",\n \"name\": \"Shorten.REST\",\n \"description\": \"Shorten.REST is a link shortening and management app that allows you to generate unique, branded URLs with advanced tracking capabilities.\",\n \"category\": \"URL Shortener\",\n \"logo\": \"https://logos.composio.dev/api/shorten_rest\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Shorten.REST API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Shorten.REST API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,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 shortenRestCatalog = {\n \"slug\": \"shorten_rest\",\n \"name\": \"Shorten.REST\",\n \"description\": \"Shorten.REST is a link shortening and management app that allows you to generate unique, branded URLs with advanced tracking capabilities.\",\n \"category\": \"URL Shortener\",\n \"logo\": \"https://logos.composio.dev/api/shorten_rest\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Shorten.REST API Key\",\n \"secret\": true,\n \"description\": \"The API key required for authenticating requests to the Shorten.REST API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,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/shorten_rest",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"