@xube/kit-aws-hooks 0.0.88 → 0.0.89

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.
@@ -37,16 +37,7 @@ export declare const CreateWebhookForAccountRequestSchema: z.ZodObject<{
37
37
  type?: "data" | "event" | undefined;
38
38
  }>;
39
39
  export type CreateWebhookForAccountRequest = z.infer<typeof CreateWebhookForAccountRequestSchema>;
40
- export declare const isCreateWebhookForAccountRequest: (obj: unknown) => obj is {
41
- account: string;
42
- ids: string[];
43
- endpoints: {
44
- url: string;
45
- headers?: Record<string, string> | undefined;
46
- }[];
47
- headers?: Record<string, string> | undefined;
48
- type?: "data" | "event" | undefined;
49
- };
40
+ export declare const isCreateWebhookForAccountRequest: (obj: unknown) => obj is CreateWebhookForAccountRequest;
50
41
  export declare const CreateWebhookForAccountResponseSchema: z.ZodObject<{
51
42
  success: z.ZodBoolean;
52
43
  }, "strip", z.ZodTypeAny, {
@@ -28,14 +28,7 @@ export declare const WebhookEndpointSchema: z.ZodObject<{
28
28
  id: string;
29
29
  }>;
30
30
  export type WebhookEndpoint = z.infer<typeof WebhookEndpointSchema>;
31
- export declare const isWebhookEndpoint: (obj: unknown) => obj is {
32
- account: string;
33
- endpoints: {
34
- url: string;
35
- headers?: Record<string, string> | undefined;
36
- }[];
37
- id: string;
38
- };
31
+ export declare const isWebhookEndpoint: (obj: unknown) => obj is WebhookEndpoint;
39
32
  export declare const WebhookEndpointItemSchema: z.ZodObject<{
40
33
  account: z.ZodString;
41
34
  endpoints: z.ZodArray<z.ZodObject<{
@@ -80,16 +73,4 @@ export declare const WebhookEndpointItemSchema: z.ZodObject<{
80
73
  us?: number | undefined;
81
74
  }>;
82
75
  export type WebhookEndpointItem = z.infer<typeof WebhookEndpointItemSchema>;
83
- export declare const isWebhookEndpointItem: (obj: unknown) => obj is {
84
- type: string;
85
- account: string;
86
- endpoints: {
87
- url: string;
88
- headers?: Record<string, string> | undefined;
89
- }[];
90
- id: string;
91
- s: number;
92
- PK: string;
93
- SK: string;
94
- us?: number | undefined;
95
- };
76
+ export declare const isWebhookEndpointItem: (obj: unknown) => obj is WebhookEndpointItem;
@@ -1,19 +1,5 @@
1
1
  import { TableItem } from "@xube/kit-aws-schema";
2
2
  import { XubeLog } from "@xube/kit-log";
3
+ import { TimeSeries } from "@xube/kit-schema";
3
4
  export declare const stageDataForSend: (items: TableItem[]) => void;
4
- export declare const getTimeSeriesDataFromData: (items: TableItem[], log?: XubeLog) => {
5
- data: (string | number | boolean | import("zod").objectOutputType<{}, import("zod").ZodTypeAny, "passthrough">)[];
6
- m: {
7
- id: string;
8
- trigger: "data" | "event";
9
- source: "device" | "component" | "platform";
10
- };
11
- v: string;
12
- t0: string;
13
- dtt: "s" | "us" | "ms" | "m" | "h" | "d";
14
- dt: number;
15
- dataT?: import("zod").objectOutputType<{
16
- i: import("zod").ZodNumber;
17
- dt: import("zod").ZodNumber;
18
- }, import("zod").ZodTypeAny, "passthrough">[] | undefined;
19
- }[];
5
+ export declare const getTimeSeriesDataFromData: (items: TableItem[], log?: XubeLog) => TimeSeries;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,15 +17,15 @@
17
17
  },
18
18
  "homepage": "https://github.com/XubeLtd/dev-kit#readme",
19
19
  "devDependencies": {
20
- "@xube/kit-build": "^0.0.88"
20
+ "@xube/kit-build": "^0.0.89"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.88",
24
- "@xube/kit-aws-data-schema": "^0.0.88",
25
- "@xube/kit-aws-schema": "^0.0.88",
26
- "@xube/kit-log": "^0.0.88",
27
- "@xube/kit-request": "^0.0.88",
28
- "@xube/kit-schema": "^0.0.88",
23
+ "@xube/kit-aws": "^0.0.89",
24
+ "@xube/kit-aws-data-schema": "^0.0.89",
25
+ "@xube/kit-aws-schema": "^0.0.89",
26
+ "@xube/kit-log": "^0.0.89",
27
+ "@xube/kit-request": "^0.0.89",
28
+ "@xube/kit-schema": "^0.0.89",
29
29
  "zod": "^3.22.4"
30
30
  }
31
31
  }