@keystrokehq/platerecognizer 0.1.4 → 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.
@@ -84,7 +84,19 @@ declare const platerecognizerReadLicensePlate: import("@keystrokehq/action").Wor
84
84
  direction?: boolean | undefined;
85
85
  timestamp?: string | undefined;
86
86
  upload_url?: string | undefined;
87
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
87
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"platerecognizer", z.ZodObject<{
88
+ connectionId: z.ZodString;
89
+ entityId: z.ZodString;
90
+ instanceId: z.ZodString;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ generic_api_key: z.ZodString;
93
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"platerecognizer", z.ZodObject<{
94
+ connectionId: z.ZodString;
95
+ entityId: z.ZodString;
96
+ instanceId: z.ZodString;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ generic_api_key: z.ZodString;
99
+ }, z.core.$strip>>]>;
88
100
  //#endregion
89
101
  export { platerecognizerReadLicensePlate };
90
102
  //# sourceMappingURL=read-license-plate.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-license-plate.d.cts","names":[],"sources":["../../src/actions/read-license-plate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiEpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrC,+BAAA,gCAA+B,wBAAA;;WAM1C,MAAA"}
1
+ {"version":3,"file":"read-license-plate.d.cts","names":[],"sources":["../../src/actions/read-license-plate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiEpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrC,+BAAA,gCAA+B,wBAAA"}
@@ -84,7 +84,19 @@ declare const platerecognizerReadLicensePlate: import("@keystrokehq/action").Wor
84
84
  direction?: boolean | undefined;
85
85
  timestamp?: string | undefined;
86
86
  upload_url?: string | undefined;
87
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
87
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"platerecognizer", z.ZodObject<{
88
+ connectionId: z.ZodString;
89
+ entityId: z.ZodString;
90
+ instanceId: z.ZodString;
91
+ }, z.core.$strip>, z.ZodObject<{
92
+ generic_api_key: z.ZodString;
93
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"platerecognizer", z.ZodObject<{
94
+ connectionId: z.ZodString;
95
+ entityId: z.ZodString;
96
+ instanceId: z.ZodString;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ generic_api_key: z.ZodString;
99
+ }, z.core.$strip>>]>;
88
100
  //#endregion
89
101
  export { platerecognizerReadLicensePlate };
90
102
  //# sourceMappingURL=read-license-plate.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-license-plate.d.mts","names":[],"sources":["../../src/actions/read-license-plate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiEpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrC,+BAAA,gCAA+B,wBAAA;;WAM1C,MAAA"}
1
+ {"version":3,"file":"read-license-plate.d.mts","names":[],"sources":["../../src/actions/read-license-plate.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAiEpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASrC,+BAAA,gCAA+B,wBAAA"}
@@ -11,7 +11,19 @@ declare const PlaterecognizerSnapshotGetStatisticsOutput: z.ZodObject<{
11
11
  }, z.core.$loose>>;
12
12
  total_calls: z.ZodNullable<z.ZodNumber>;
13
13
  }, z.core.$loose>;
14
- declare const platerecognizerSnapshotGetStatistics: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const platerecognizerSnapshotGetStatistics: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"platerecognizer", 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<"platerecognizer", 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 { platerecognizerSnapshotGetStatistics };
17
29
  //# sourceMappingURL=snapshot-get-statistics.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot-get-statistics.d.cts","names":[],"sources":["../../src/actions/snapshot-get-statistics.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"snapshot-get-statistics.d.cts","names":[],"sources":["../../src/actions/snapshot-get-statistics.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const PlaterecognizerSnapshotGetStatisticsOutput: z.ZodObject<{
11
11
  }, z.core.$loose>>;
12
12
  total_calls: z.ZodNullable<z.ZodNumber>;
13
13
  }, z.core.$loose>;
14
- declare const platerecognizerSnapshotGetStatistics: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const platerecognizerSnapshotGetStatistics: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"platerecognizer", 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<"platerecognizer", 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 { platerecognizerSnapshotGetStatistics };
17
29
  //# sourceMappingURL=snapshot-get-statistics.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot-get-statistics.d.mts","names":[],"sources":["../../src/actions/snapshot-get-statistics.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"snapshot-get-statistics.d.mts","names":[],"sources":["../../src/actions/snapshot-get-statistics.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
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 platerecognizer = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const platerecognizer = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "platerecognizer",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.platerecognizer = platerecognizer;
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 platerecognizer = defineApp({\n slug: \"platerecognizer\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,mBAAA,uCAAA,CAAA,CAAA,UAAA,CAA4B;CACvC,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 platerecognizer = defineApp({\n slug: \"platerecognizer\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,mBAAA,GAAA,2BAAA,UAAA,CAA4B;CACvC,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 platerecognizer: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const platerecognizer: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"platerecognizer", 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 { platerecognizer };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,eAAA,6BAAe,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,eAAA,6BAAe,GAAA,+BAAA,UAAA,oBAAA,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 platerecognizer: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const platerecognizer: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"platerecognizer", 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 { platerecognizer };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,eAAA,6BAAe,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,eAAA,6BAAe,GAAA,+BAAA,UAAA,oBAAA,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 platerecognizer = defineApp({
4
5
  slug: "platerecognizer",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { platerecognizer };
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 platerecognizer = defineApp({\n slug: \"platerecognizer\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,kBAAkB,UAAU;CACvC,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 platerecognizer = defineApp({\n slug: \"platerecognizer\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,kBAAkB,UAAU;CACvC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/platerecognizer",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"