@kl1/contracts 1.4.56 → 1.4.57

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.
@@ -333671,13 +333671,13 @@ export declare const platformKlinkChatContract: {
333671
333671
  connect: {
333672
333672
  body: import("zod").ZodObject<{
333673
333673
  name: import("zod").ZodString;
333674
- widgetColor: import("zod").ZodOptional<import("zod").ZodString>;
333674
+ metadata: import("zod").ZodOptional<import("zod").ZodAny>;
333675
333675
  }, "strip", import("zod").ZodTypeAny, {
333676
333676
  name: string;
333677
- widgetColor?: string | undefined;
333677
+ metadata?: any;
333678
333678
  }, {
333679
333679
  name: string;
333680
- widgetColor?: string | undefined;
333680
+ metadata?: any;
333681
333681
  }>;
333682
333682
  summary: "Connect to klink chat";
333683
333683
  method: "POST";
@@ -5,13 +5,13 @@ export declare const KlinkChatContract: {
5
5
  connect: {
6
6
  body: z.ZodObject<{
7
7
  name: z.ZodString;
8
- widgetColor: z.ZodOptional<z.ZodString>;
8
+ metadata: z.ZodOptional<z.ZodAny>;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  name: string;
11
- widgetColor?: string | undefined;
11
+ metadata?: any;
12
12
  }, {
13
13
  name: string;
14
- widgetColor?: string | undefined;
14
+ metadata?: any;
15
15
  }>;
16
16
  summary: "Connect to klink chat";
17
17
  method: "POST";
@@ -23,19 +23,19 @@ export declare const ConnectKlinkChatChannelSchema: z.ZodObject<{
23
23
  }>;
24
24
  channel: z.ZodObject<{
25
25
  name: z.ZodString;
26
- widgetColor: z.ZodOptional<z.ZodString>;
26
+ metadata: z.ZodOptional<z.ZodAny>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  name: string;
29
- widgetColor?: string | undefined;
29
+ metadata?: any;
30
30
  }, {
31
31
  name: string;
32
- widgetColor?: string | undefined;
32
+ metadata?: any;
33
33
  }>;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  name: string;
36
36
  channel: {
37
37
  name: string;
38
- widgetColor?: string | undefined;
38
+ metadata?: any;
39
39
  };
40
40
  actor: {
41
41
  name: string;
@@ -49,7 +49,7 @@ export declare const ConnectKlinkChatChannelSchema: z.ZodObject<{
49
49
  name: string;
50
50
  channel: {
51
51
  name: string;
52
- widgetColor?: string | undefined;
52
+ metadata?: any;
53
53
  };
54
54
  actor: {
55
55
  name: string;
@@ -4,12 +4,12 @@ export declare enum KlinkChatChannelType {
4
4
  }
5
5
  export declare const KlinkChatChannelSchema: z.ZodObject<{
6
6
  name: z.ZodString;
7
- widgetColor: z.ZodOptional<z.ZodString>;
7
+ metadata: z.ZodOptional<z.ZodAny>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  name: string;
10
- widgetColor?: string | undefined;
10
+ metadata?: any;
11
11
  }, {
12
12
  name: string;
13
- widgetColor?: string | undefined;
13
+ metadata?: any;
14
14
  }>;
15
15
  //# sourceMappingURL=validation.d.ts.map
package/dist/index.js CHANGED
@@ -9437,7 +9437,7 @@ var import_core44 = require("@ts-rest/core");
9437
9437
  var import_zod117 = __toESM(require("zod"));
9438
9438
  var KlinkChatChannelSchema = import_zod117.default.object({
9439
9439
  name: import_zod117.default.string(),
9440
- widgetColor: import_zod117.default.string().optional()
9440
+ metadata: import_zod117.default.any().optional()
9441
9441
  });
9442
9442
 
9443
9443
  // src/klink-chat/index.ts