@kl1/contracts 1.0.93 → 1.0.94

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/chatwoot/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAOpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB3B,CAAC"}
@@ -0,0 +1,79 @@
1
+ import z from 'zod';
2
+ export declare const CreateChatwootInboxResponseSchema: z.ZodObject<{
3
+ data: z.ZodObject<{
4
+ id: z.ZodNumber;
5
+ name: z.ZodString;
6
+ website_url: z.ZodString;
7
+ channel_type: z.ZodString;
8
+ avatar_url: z.ZodString;
9
+ widget_color: z.ZodString;
10
+ website_token: z.ZodString;
11
+ enable_auto_assignment: z.ZodBoolean;
12
+ web_widget_script: z.ZodString;
13
+ welcome_title: z.ZodString;
14
+ welcome_tagline: z.ZodString;
15
+ greeting_enabled: z.ZodBoolean;
16
+ greeting_message: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ id: number;
19
+ name: string;
20
+ website_url: string;
21
+ channel_type: string;
22
+ avatar_url: string;
23
+ widget_color: string;
24
+ website_token: string;
25
+ enable_auto_assignment: boolean;
26
+ web_widget_script: string;
27
+ welcome_title: string;
28
+ welcome_tagline: string;
29
+ greeting_enabled: boolean;
30
+ greeting_message: string;
31
+ }, {
32
+ id: number;
33
+ name: string;
34
+ website_url: string;
35
+ channel_type: string;
36
+ avatar_url: string;
37
+ widget_color: string;
38
+ website_token: string;
39
+ enable_auto_assignment: boolean;
40
+ web_widget_script: string;
41
+ welcome_title: string;
42
+ welcome_tagline: string;
43
+ greeting_enabled: boolean;
44
+ greeting_message: string;
45
+ }>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ data: {
48
+ id: number;
49
+ name: string;
50
+ website_url: string;
51
+ channel_type: string;
52
+ avatar_url: string;
53
+ widget_color: string;
54
+ website_token: string;
55
+ enable_auto_assignment: boolean;
56
+ web_widget_script: string;
57
+ welcome_title: string;
58
+ welcome_tagline: string;
59
+ greeting_enabled: boolean;
60
+ greeting_message: string;
61
+ };
62
+ }, {
63
+ data: {
64
+ id: number;
65
+ name: string;
66
+ website_url: string;
67
+ channel_type: string;
68
+ avatar_url: string;
69
+ widget_color: string;
70
+ website_token: string;
71
+ enable_auto_assignment: boolean;
72
+ web_widget_script: string;
73
+ welcome_title: string;
74
+ welcome_tagline: string;
75
+ greeting_enabled: boolean;
76
+ greeting_message: string;
77
+ };
78
+ }>;
79
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/chatwoot/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB5C,CAAC"}
@@ -0,0 +1,53 @@
1
+ import z from 'zod';
2
+ export declare const CreateChatwootInboxSchema: z.ZodObject<{
3
+ name: z.ZodString;
4
+ avatar: z.ZodOptional<z.ZodString>;
5
+ channel: z.ZodObject<{
6
+ type: z.ZodOptional<z.ZodLiteral<"web_widget">>;
7
+ websiteUrl: z.ZodString;
8
+ welcomeTitle: z.ZodString;
9
+ welcomeTagline: z.ZodOptional<z.ZodString>;
10
+ agentAwayMessage: z.ZodOptional<z.ZodString>;
11
+ widgetColor: z.ZodOptional<z.ZodString>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ websiteUrl: string;
14
+ welcomeTitle: string;
15
+ type?: "web_widget" | undefined;
16
+ welcomeTagline?: string | undefined;
17
+ agentAwayMessage?: string | undefined;
18
+ widgetColor?: string | undefined;
19
+ }, {
20
+ websiteUrl: string;
21
+ welcomeTitle: string;
22
+ type?: "web_widget" | undefined;
23
+ welcomeTagline?: string | undefined;
24
+ agentAwayMessage?: string | undefined;
25
+ widgetColor?: string | undefined;
26
+ }>;
27
+ channelName: z.ZodString;
28
+ }, "strip", z.ZodTypeAny, {
29
+ channel: {
30
+ websiteUrl: string;
31
+ welcomeTitle: string;
32
+ type?: "web_widget" | undefined;
33
+ welcomeTagline?: string | undefined;
34
+ agentAwayMessage?: string | undefined;
35
+ widgetColor?: string | undefined;
36
+ };
37
+ name: string;
38
+ channelName: string;
39
+ avatar?: string | undefined;
40
+ }, {
41
+ channel: {
42
+ websiteUrl: string;
43
+ welcomeTitle: string;
44
+ type?: "web_widget" | undefined;
45
+ welcomeTagline?: string | undefined;
46
+ agentAwayMessage?: string | undefined;
47
+ widgetColor?: string | undefined;
48
+ };
49
+ name: string;
50
+ channelName: string;
51
+ avatar?: string | undefined;
52
+ }>;
53
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/chatwoot/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAWpB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKpC,CAAC"}
@@ -13490,7 +13490,7 @@ export declare const apiContract: {
13490
13490
  disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13491
13491
  sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"positive">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"negative">]>, "many">>;
13492
13492
  csatScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13493
- sla: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>, "many">>;
13493
+ sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
13494
13494
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
13495
13495
  name: import("zod").ZodOptional<import("zod").ZodString>;
13496
13496
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -13527,7 +13527,7 @@ export declare const apiContract: {
13527
13527
  disposition?: string[] | undefined;
13528
13528
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
13529
13529
  csatScore?: string[] | undefined;
13530
- sla?: ("meet" | "unmeet")[] | undefined;
13530
+ sla?: "meet" | "unmeet" | undefined;
13531
13531
  tags?: string[] | undefined;
13532
13532
  name?: string | undefined;
13533
13533
  contactLabels?: string[] | undefined;
@@ -13556,7 +13556,7 @@ export declare const apiContract: {
13556
13556
  disposition?: string[] | undefined;
13557
13557
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
13558
13558
  csatScore?: string[] | undefined;
13559
- sla?: ("meet" | "unmeet")[] | undefined;
13559
+ sla?: "meet" | "unmeet" | undefined;
13560
13560
  tags?: string[] | undefined;
13561
13561
  name?: string | undefined;
13562
13562
  contactLabels?: string[] | undefined;
@@ -21941,7 +21941,7 @@ export declare const apiContract: {
21941
21941
  disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
21942
21942
  sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"positive">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"negative">]>, "many">>;
21943
21943
  csatScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
21944
- sla: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>, "many">>;
21944
+ sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
21945
21945
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
21946
21946
  name: import("zod").ZodOptional<import("zod").ZodString>;
21947
21947
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -21978,7 +21978,7 @@ export declare const apiContract: {
21978
21978
  disposition?: string[] | undefined;
21979
21979
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
21980
21980
  csatScore?: string[] | undefined;
21981
- sla?: ("meet" | "unmeet")[] | undefined;
21981
+ sla?: "meet" | "unmeet" | undefined;
21982
21982
  tags?: string[] | undefined;
21983
21983
  name?: string | undefined;
21984
21984
  contactLabels?: string[] | undefined;
@@ -22007,7 +22007,7 @@ export declare const apiContract: {
22007
22007
  disposition?: string[] | undefined;
22008
22008
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
22009
22009
  csatScore?: string[] | undefined;
22010
- sla?: ("meet" | "unmeet")[] | undefined;
22010
+ sla?: "meet" | "unmeet" | undefined;
22011
22011
  tags?: string[] | undefined;
22012
22012
  name?: string | undefined;
22013
22013
  contactLabels?: string[] | undefined;
@@ -20,7 +20,7 @@ export declare const cxLogContract: {
20
20
  disposition: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
21
21
  sentimentScore: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"negative">]>, "many">>;
22
22
  csatScore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
- sla: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>, "many">>;
23
+ sla: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>>;
24
24
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
25
  name: z.ZodOptional<z.ZodString>;
26
26
  contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -57,7 +57,7 @@ export declare const cxLogContract: {
57
57
  disposition?: string[] | undefined;
58
58
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
59
59
  csatScore?: string[] | undefined;
60
- sla?: ("meet" | "unmeet")[] | undefined;
60
+ sla?: "meet" | "unmeet" | undefined;
61
61
  tags?: string[] | undefined;
62
62
  name?: string | undefined;
63
63
  contactLabels?: string[] | undefined;
@@ -86,7 +86,7 @@ export declare const cxLogContract: {
86
86
  disposition?: string[] | undefined;
87
87
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
88
88
  csatScore?: string[] | undefined;
89
- sla?: ("meet" | "unmeet")[] | undefined;
89
+ sla?: "meet" | "unmeet" | undefined;
90
90
  tags?: string[] | undefined;
91
91
  name?: string | undefined;
92
92
  contactLabels?: string[] | undefined;
@@ -8471,7 +8471,7 @@ export declare const cxLogContract: {
8471
8471
  disposition: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8472
8472
  sentimentScore: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"negative">]>, "many">>;
8473
8473
  csatScore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8474
- sla: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>, "many">>;
8474
+ sla: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>>;
8475
8475
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8476
8476
  name: z.ZodOptional<z.ZodString>;
8477
8477
  contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -8508,7 +8508,7 @@ export declare const cxLogContract: {
8508
8508
  disposition?: string[] | undefined;
8509
8509
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
8510
8510
  csatScore?: string[] | undefined;
8511
- sla?: ("meet" | "unmeet")[] | undefined;
8511
+ sla?: "meet" | "unmeet" | undefined;
8512
8512
  tags?: string[] | undefined;
8513
8513
  name?: string | undefined;
8514
8514
  contactLabels?: string[] | undefined;
@@ -8537,7 +8537,7 @@ export declare const cxLogContract: {
8537
8537
  disposition?: string[] | undefined;
8538
8538
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
8539
8539
  csatScore?: string[] | undefined;
8540
- sla?: ("meet" | "unmeet")[] | undefined;
8540
+ sla?: "meet" | "unmeet" | undefined;
8541
8541
  tags?: string[] | undefined;
8542
8542
  name?: string | undefined;
8543
8543
  contactLabels?: string[] | undefined;
@@ -12,7 +12,7 @@ export declare const GetAllCxLogQueryParamsSchema: z.ZodOptional<z.ZodObject<{
12
12
  disposition: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
13
  sentimentScore: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"negative">]>, "many">>;
14
14
  csatScore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
- sla: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>, "many">>;
15
+ sla: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>>;
16
16
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
17
  name: z.ZodOptional<z.ZodString>;
18
18
  contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -49,7 +49,7 @@ export declare const GetAllCxLogQueryParamsSchema: z.ZodOptional<z.ZodObject<{
49
49
  disposition?: string[] | undefined;
50
50
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
51
51
  csatScore?: string[] | undefined;
52
- sla?: ("meet" | "unmeet")[] | undefined;
52
+ sla?: "meet" | "unmeet" | undefined;
53
53
  tags?: string[] | undefined;
54
54
  name?: string | undefined;
55
55
  contactLabels?: string[] | undefined;
@@ -78,7 +78,7 @@ export declare const GetAllCxLogQueryParamsSchema: z.ZodOptional<z.ZodObject<{
78
78
  disposition?: string[] | undefined;
79
79
  sentimentScore?: ("positive" | "neutral" | "negative")[] | undefined;
80
80
  csatScore?: string[] | undefined;
81
- sla?: ("meet" | "unmeet")[] | undefined;
81
+ sla?: "meet" | "unmeet" | undefined;
82
82
  tags?: string[] | undefined;
83
83
  name?: string | undefined;
84
84
  contactLabels?: string[] | undefined;
@@ -0,0 +1,216 @@
1
+ import z from 'zod';
2
+ export declare const serverContract: {
3
+ create: {
4
+ body: null;
5
+ summary: "Register a new mail server";
6
+ method: "POST";
7
+ responses: {
8
+ 401: z.ZodObject<{
9
+ message: z.ZodString;
10
+ error: z.ZodAny;
11
+ }, "strip", z.ZodTypeAny, {
12
+ message: string;
13
+ error?: any;
14
+ }, {
15
+ message: string;
16
+ error?: any;
17
+ }>;
18
+ 404: z.ZodObject<{
19
+ message: z.ZodString;
20
+ error: z.ZodAny;
21
+ }, "strip", z.ZodTypeAny, {
22
+ message: string;
23
+ error?: any;
24
+ }, {
25
+ message: string;
26
+ error?: any;
27
+ }>;
28
+ 422: z.ZodObject<{
29
+ message: z.ZodString;
30
+ error: z.ZodAny;
31
+ }, "strip", z.ZodTypeAny, {
32
+ message: string;
33
+ error?: any;
34
+ }, {
35
+ message: string;
36
+ error?: any;
37
+ }>;
38
+ 200: z.ZodObject<{
39
+ requestId: z.ZodString;
40
+ message: z.ZodString;
41
+ }, "strip", z.ZodTypeAny, {
42
+ message: string;
43
+ requestId: string;
44
+ }, {
45
+ message: string;
46
+ requestId: string;
47
+ }>;
48
+ };
49
+ path: "/server/";
50
+ };
51
+ get: {
52
+ summary: "Get a mail server by id";
53
+ method: "GET";
54
+ pathParams: z.ZodObject<{
55
+ id: z.ZodString;
56
+ }, "strip", z.ZodTypeAny, {
57
+ id: string;
58
+ }, {
59
+ id: string;
60
+ }>;
61
+ responses: {
62
+ 401: z.ZodObject<{
63
+ message: z.ZodString;
64
+ error: z.ZodAny;
65
+ }, "strip", z.ZodTypeAny, {
66
+ message: string;
67
+ error?: any;
68
+ }, {
69
+ message: string;
70
+ error?: any;
71
+ }>;
72
+ 404: z.ZodObject<{
73
+ message: z.ZodString;
74
+ error: z.ZodAny;
75
+ }, "strip", z.ZodTypeAny, {
76
+ message: string;
77
+ error?: any;
78
+ }, {
79
+ message: string;
80
+ error?: any;
81
+ }>;
82
+ 422: z.ZodObject<{
83
+ message: z.ZodString;
84
+ error: z.ZodAny;
85
+ }, "strip", z.ZodTypeAny, {
86
+ message: string;
87
+ error?: any;
88
+ }, {
89
+ message: string;
90
+ error?: any;
91
+ }>;
92
+ 200: z.ZodObject<{
93
+ requestId: z.ZodString;
94
+ message: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ message: string;
97
+ requestId: string;
98
+ }, {
99
+ message: string;
100
+ requestId: string;
101
+ }>;
102
+ };
103
+ path: "/server/:id";
104
+ };
105
+ update: {
106
+ body: null;
107
+ summary: "Update a mail server by id";
108
+ method: "PATCH";
109
+ pathParams: z.ZodObject<{
110
+ id: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ id: string;
113
+ }, {
114
+ id: string;
115
+ }>;
116
+ responses: {
117
+ 401: z.ZodObject<{
118
+ message: z.ZodString;
119
+ error: z.ZodAny;
120
+ }, "strip", z.ZodTypeAny, {
121
+ message: string;
122
+ error?: any;
123
+ }, {
124
+ message: string;
125
+ error?: any;
126
+ }>;
127
+ 404: z.ZodObject<{
128
+ message: z.ZodString;
129
+ error: z.ZodAny;
130
+ }, "strip", z.ZodTypeAny, {
131
+ message: string;
132
+ error?: any;
133
+ }, {
134
+ message: string;
135
+ error?: any;
136
+ }>;
137
+ 422: z.ZodObject<{
138
+ message: z.ZodString;
139
+ error: z.ZodAny;
140
+ }, "strip", z.ZodTypeAny, {
141
+ message: string;
142
+ error?: any;
143
+ }, {
144
+ message: string;
145
+ error?: any;
146
+ }>;
147
+ 200: z.ZodObject<{
148
+ requestId: z.ZodString;
149
+ message: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ message: string;
152
+ requestId: string;
153
+ }, {
154
+ message: string;
155
+ requestId: string;
156
+ }>;
157
+ };
158
+ path: "/server/:id";
159
+ };
160
+ delete: {
161
+ body: null;
162
+ summary: "Delete a mail server by id";
163
+ method: "PATCH";
164
+ pathParams: z.ZodObject<{
165
+ id: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ id: string;
168
+ }, {
169
+ id: string;
170
+ }>;
171
+ responses: {
172
+ 401: z.ZodObject<{
173
+ message: z.ZodString;
174
+ error: z.ZodAny;
175
+ }, "strip", z.ZodTypeAny, {
176
+ message: string;
177
+ error?: any;
178
+ }, {
179
+ message: string;
180
+ error?: any;
181
+ }>;
182
+ 404: z.ZodObject<{
183
+ message: z.ZodString;
184
+ error: z.ZodAny;
185
+ }, "strip", z.ZodTypeAny, {
186
+ message: string;
187
+ error?: any;
188
+ }, {
189
+ message: string;
190
+ error?: any;
191
+ }>;
192
+ 422: z.ZodObject<{
193
+ message: z.ZodString;
194
+ error: z.ZodAny;
195
+ }, "strip", z.ZodTypeAny, {
196
+ message: string;
197
+ error?: any;
198
+ }, {
199
+ message: string;
200
+ error?: any;
201
+ }>;
202
+ 200: z.ZodObject<{
203
+ requestId: z.ZodString;
204
+ message: z.ZodString;
205
+ }, "strip", z.ZodTypeAny, {
206
+ message: string;
207
+ requestId: string;
208
+ }, {
209
+ message: string;
210
+ requestId: string;
211
+ }>;
212
+ };
213
+ path: "/server/:id";
214
+ };
215
+ };
216
+ //# sourceMappingURL=mail-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mail-server.d.ts","sourceRoot":"","sources":["../../../src/mail/mail-server.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D1B,CAAC"}
@@ -0,0 +1,30 @@
1
+ import z from 'zod';
2
+ export declare const PlatformContactSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
+ contactId: z.ZodString;
8
+ channelId: z.ZodString;
9
+ config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
10
+ type: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: string;
13
+ id: string;
14
+ createdAt: Date;
15
+ updatedAt: Date;
16
+ deletedAt: Date | null;
17
+ contactId: string;
18
+ channelId: string;
19
+ config: {};
20
+ }, {
21
+ type: string;
22
+ id: string;
23
+ createdAt: Date;
24
+ updatedAt: Date;
25
+ deletedAt: Date | null;
26
+ contactId: string;
27
+ channelId: string;
28
+ config: {};
29
+ }>;
30
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/platform-contact/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",