@xube/kit-aws-hooks 0.0.90 → 0.0.92

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.
@@ -24,8 +24,8 @@ export declare const CreateWebhookForAccountRequestSchema: z.ZodObject<{
24
24
  url: string;
25
25
  headers?: Record<string, string> | undefined;
26
26
  }[];
27
- headers?: Record<string, string> | undefined;
28
27
  type?: "data" | "event" | undefined;
28
+ headers?: Record<string, string> | undefined;
29
29
  }, {
30
30
  account: string;
31
31
  ids: string[];
@@ -33,8 +33,8 @@ export declare const CreateWebhookForAccountRequestSchema: z.ZodObject<{
33
33
  url: string;
34
34
  headers?: Record<string, string> | undefined;
35
35
  }[];
36
- headers?: Record<string, string> | undefined;
37
36
  type?: "data" | "event" | undefined;
37
+ headers?: Record<string, string> | undefined;
38
38
  }>;
39
39
  export type CreateWebhookForAccountRequest = z.infer<typeof CreateWebhookForAccountRequestSchema>;
40
40
  export declare const isCreateWebhookForAccountRequest: (obj: unknown) => obj is CreateWebhookForAccountRequest;
@@ -29,8 +29,7 @@ export declare const WebhookEndpointSchema: z.ZodObject<{
29
29
  }>;
30
30
  export type WebhookEndpoint = z.infer<typeof WebhookEndpointSchema>;
31
31
  export declare const isWebhookEndpoint: (obj: unknown) => obj is WebhookEndpoint;
32
- export declare const WebhookEndpointItemSchema: z.ZodObject<{
33
- account: z.ZodString;
32
+ export declare const WebhookEndpointItemSchema: z.ZodObject<z.objectUtil.extendShape<{
34
33
  endpoints: z.ZodArray<z.ZodObject<{
35
34
  url: z.ZodString;
36
35
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -42,12 +41,16 @@ export declare const WebhookEndpointItemSchema: z.ZodObject<{
42
41
  headers?: Record<string, string> | undefined;
43
42
  }>, "many">;
44
43
  id: z.ZodString;
45
- type: z.ZodString;
44
+ account: z.ZodString;
45
+ }, z.objectUtil.extendShape<{
46
46
  s: z.ZodNumber;
47
47
  us: z.ZodOptional<z.ZodNumber>;
48
+ type: z.ZodString;
49
+ id: z.ZodString;
50
+ }, {
48
51
  PK: z.ZodString;
49
52
  SK: z.ZodString;
50
- }, "strip", z.ZodTypeAny, {
53
+ }>>, "strip", z.ZodTypeAny, {
51
54
  type: string;
52
55
  account: string;
53
56
  endpoints: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-aws-hooks",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
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.90"
20
+ "@xube/kit-build": "^0.0.92"
21
21
  },
22
22
  "dependencies": {
23
- "@xube/kit-aws": "^0.0.90",
24
- "@xube/kit-aws-data-schema": "^0.0.90",
25
- "@xube/kit-aws-schema": "^0.0.90",
26
- "@xube/kit-log": "^0.0.90",
27
- "@xube/kit-request": "^0.0.90",
28
- "@xube/kit-schema": "^0.0.90",
29
- "zod": "^3.22.4"
23
+ "@xube/kit-aws": "^0.0.92",
24
+ "@xube/kit-aws-data-schema": "^0.0.92",
25
+ "@xube/kit-aws-schema": "^0.0.92",
26
+ "@xube/kit-log": "^0.0.92",
27
+ "@xube/kit-request": "^0.0.92",
28
+ "@xube/kit-schema": "^0.0.92",
29
+ "zod": "^3.23.8"
30
30
  }
31
31
  }