@kl1/contracts 1.1.23 → 1.1.24

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.
Files changed (41) hide show
  1. package/dist/index.js +6 -30
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +6 -30
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +22 -4867
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +4 -764
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +4 -974
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +44 -9413
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/cx-log/index.d.ts +2 -347
  14. package/dist/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/src/cx-log/schema.d.ts +4 -554
  16. package/dist/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/src/instagram/index.d.ts +2 -487
  18. package/dist/src/instagram/index.d.ts.map +1 -1
  19. package/dist/src/line/index.d.ts +2 -487
  20. package/dist/src/line/index.d.ts.map +1 -1
  21. package/dist/src/mail/mail-contract.d.ts +6 -1251
  22. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  23. package/dist/src/mail/room-contract.d.ts +6 -1251
  24. package/dist/src/mail/room-contract.d.ts.map +1 -1
  25. package/dist/src/mail/schemas/room-validation.schema.d.ts +2 -417
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  27. package/dist/src/mail/schemas/room.schema.d.ts +2 -347
  28. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  29. package/dist/src/messenger/index.d.ts +2 -487
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/viber/index.d.ts +2 -487
  32. package/dist/src/viber/index.d.ts.map +1 -1
  33. package/dist/src/webchat/index.d.ts +2 -487
  34. package/dist/src/webchat/index.d.ts.map +1 -1
  35. package/dist/src/wrap-up-form/index.d.ts +6 -1000
  36. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  37. package/dist/src/wrap-up-form/schema.d.ts +2 -207
  38. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/validation.d.ts +0 -29
  40. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E9B,CAAC"}
@@ -6,7 +6,8 @@ export declare const WrapUpFormSchema: z.ZodObject<{
6
6
  deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  note: z.ZodNullable<z.ZodString>;
8
8
  disposition: z.ZodNullable<z.ZodString>;
9
- type: z.ZodString;
9
+ callFrom: z.ZodNullable<z.ZodString>;
10
+ callTo: z.ZodNullable<z.ZodString>;
10
11
  tags: z.ZodArray<z.ZodObject<{
11
12
  id: z.ZodString;
12
13
  createdAt: z.ZodDate;
@@ -26,171 +27,12 @@ export declare const WrapUpFormSchema: z.ZodObject<{
26
27
  updatedAt: Date;
27
28
  deletedAt: Date | null;
28
29
  }>, "many">;
29
- categories: z.ZodArray<z.ZodObject<{
30
- id: z.ZodString;
31
- createdAt: z.ZodDate;
32
- updatedAt: z.ZodDate;
33
- deletedAt: z.ZodNullable<z.ZodDate>;
34
- value: z.ZodString;
35
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
36
- parentId: z.ZodNullable<z.ZodString>;
37
- childCategoryList: z.ZodArray<z.ZodObject<{
38
- id: z.ZodString;
39
- value: z.ZodString;
40
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
41
- parentId: z.ZodNullable<z.ZodString>;
42
- childCategoryList: z.ZodArray<z.ZodObject<{
43
- id: z.ZodString;
44
- value: z.ZodString;
45
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
46
- parentId: z.ZodNullable<z.ZodString>;
47
- childCategoryList: z.ZodArray<z.ZodAny, "many">;
48
- }, "strip", z.ZodTypeAny, {
49
- id: string;
50
- value: string;
51
- level: 2 | 1 | 3;
52
- parentId: string | null;
53
- childCategoryList: any[];
54
- }, {
55
- id: string;
56
- value: string;
57
- level: 2 | 1 | 3;
58
- parentId: string | null;
59
- childCategoryList: any[];
60
- }>, "many">;
61
- }, "strip", z.ZodTypeAny, {
62
- id: string;
63
- value: string;
64
- level: 2 | 1 | 3;
65
- parentId: string | null;
66
- childCategoryList: {
67
- id: string;
68
- value: string;
69
- level: 2 | 1 | 3;
70
- parentId: string | null;
71
- childCategoryList: any[];
72
- }[];
73
- }, {
74
- id: string;
75
- value: string;
76
- level: 2 | 1 | 3;
77
- parentId: string | null;
78
- childCategoryList: {
79
- id: string;
80
- value: string;
81
- level: 2 | 1 | 3;
82
- parentId: string | null;
83
- childCategoryList: any[];
84
- }[];
85
- }>, "many">;
86
- }, "strip", z.ZodTypeAny, {
87
- id: string;
88
- value: string;
89
- createdAt: Date;
90
- updatedAt: Date;
91
- deletedAt: Date | null;
92
- level: 2 | 1 | 3;
93
- parentId: string | null;
94
- childCategoryList: {
95
- id: string;
96
- value: string;
97
- level: 2 | 1 | 3;
98
- parentId: string | null;
99
- childCategoryList: {
100
- id: string;
101
- value: string;
102
- level: 2 | 1 | 3;
103
- parentId: string | null;
104
- childCategoryList: any[];
105
- }[];
106
- }[];
107
- }, {
108
- id: string;
109
- value: string;
110
- createdAt: Date;
111
- updatedAt: Date;
112
- deletedAt: Date | null;
113
- level: 2 | 1 | 3;
114
- parentId: string | null;
115
- childCategoryList: {
116
- id: string;
117
- value: string;
118
- level: 2 | 1 | 3;
119
- parentId: string | null;
120
- childCategoryList: {
121
- id: string;
122
- value: string;
123
- level: 2 | 1 | 3;
124
- parentId: string | null;
125
- childCategoryList: any[];
126
- }[];
127
- }[];
128
- }>, "many">;
129
- callFrom: z.ZodNullable<z.ZodString>;
130
- callTo: z.ZodNullable<z.ZodString>;
131
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
132
- id: z.ZodString;
133
- createdAt: z.ZodDate;
134
- updatedAt: z.ZodDate;
135
- deletedAt: z.ZodNullable<z.ZodDate>;
136
- textValue: z.ZodNullable<z.ZodString>;
137
- booleanValue: z.ZodNullable<z.ZodBoolean>;
138
- numberValue: z.ZodNullable<z.ZodNumber>;
139
- dateValue: z.ZodNullable<z.ZodDate>;
140
- entityId: z.ZodString;
141
- attributeId: z.ZodString;
142
- }, "strip", z.ZodTypeAny, {
143
- id: string;
144
- createdAt: Date;
145
- updatedAt: Date;
146
- deletedAt: Date | null;
147
- entityId: string;
148
- attributeId: string;
149
- textValue: string | null;
150
- booleanValue: boolean | null;
151
- numberValue: number | null;
152
- dateValue: Date | null;
153
- }, {
154
- id: string;
155
- createdAt: Date;
156
- updatedAt: Date;
157
- deletedAt: Date | null;
158
- entityId: string;
159
- attributeId: string;
160
- textValue: string | null;
161
- booleanValue: boolean | null;
162
- numberValue: number | null;
163
- dateValue: Date | null;
164
- }>, "many">>>;
165
30
  }, "strip", z.ZodTypeAny, {
166
- type: string;
167
31
  id: string;
168
32
  disposition: string | null;
169
33
  createdAt: Date;
170
34
  updatedAt: Date;
171
35
  deletedAt: Date | null;
172
- categories: {
173
- id: string;
174
- value: string;
175
- createdAt: Date;
176
- updatedAt: Date;
177
- deletedAt: Date | null;
178
- level: 2 | 1 | 3;
179
- parentId: string | null;
180
- childCategoryList: {
181
- id: string;
182
- value: string;
183
- level: 2 | 1 | 3;
184
- parentId: string | null;
185
- childCategoryList: {
186
- id: string;
187
- value: string;
188
- level: 2 | 1 | 3;
189
- parentId: string | null;
190
- childCategoryList: any[];
191
- }[];
192
- }[];
193
- }[];
194
36
  tags: {
195
37
  id: string;
196
38
  name: string;
@@ -201,47 +43,12 @@ export declare const WrapUpFormSchema: z.ZodObject<{
201
43
  callFrom: string | null;
202
44
  callTo: string | null;
203
45
  note: string | null;
204
- customFields?: {
205
- id: string;
206
- createdAt: Date;
207
- updatedAt: Date;
208
- deletedAt: Date | null;
209
- entityId: string;
210
- attributeId: string;
211
- textValue: string | null;
212
- booleanValue: boolean | null;
213
- numberValue: number | null;
214
- dateValue: Date | null;
215
- }[] | null | undefined;
216
46
  }, {
217
- type: string;
218
47
  id: string;
219
48
  disposition: string | null;
220
49
  createdAt: Date;
221
50
  updatedAt: Date;
222
51
  deletedAt: Date | null;
223
- categories: {
224
- id: string;
225
- value: string;
226
- createdAt: Date;
227
- updatedAt: Date;
228
- deletedAt: Date | null;
229
- level: 2 | 1 | 3;
230
- parentId: string | null;
231
- childCategoryList: {
232
- id: string;
233
- value: string;
234
- level: 2 | 1 | 3;
235
- parentId: string | null;
236
- childCategoryList: {
237
- id: string;
238
- value: string;
239
- level: 2 | 1 | 3;
240
- parentId: string | null;
241
- childCategoryList: any[];
242
- }[];
243
- }[];
244
- }[];
245
52
  tags: {
246
53
  id: string;
247
54
  name: string;
@@ -252,17 +59,5 @@ export declare const WrapUpFormSchema: z.ZodObject<{
252
59
  callFrom: string | null;
253
60
  callTo: string | null;
254
61
  note: string | null;
255
- customFields?: {
256
- id: string;
257
- createdAt: Date;
258
- updatedAt: Date;
259
- deletedAt: Date | null;
260
- entityId: string;
261
- attributeId: string;
262
- textValue: string | null;
263
- booleanValue: boolean | null;
264
- numberValue: number | null;
265
- dateValue: Date | null;
266
- }[] | null | undefined;
267
62
  }>;
268
63
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAkBpB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM3B,CAAC"}
@@ -20,48 +20,19 @@ export declare const UpdateWrapUpFormSchema: z.ZodObject<{
20
20
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  callTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- type: z.ZodOptional<z.ZodString>;
24
23
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
- categoryIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
- id: z.ZodString;
28
- type: z.ZodString;
29
- value: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- type: string;
32
- id: string;
33
- value: string;
34
- }, {
35
- type: string;
36
- id: string;
37
- value: string;
38
- }>, "many">>;
39
24
  }, "strip", z.ZodTypeAny, {
40
25
  disposition?: string | null | undefined;
41
26
  callFrom?: string | null | undefined;
42
27
  callTo?: string | null | undefined;
43
28
  note?: string | null | undefined;
44
- type?: string | undefined;
45
29
  tags?: string[] | undefined;
46
- categoryIds?: string[] | undefined;
47
- customFields?: {
48
- type: string;
49
- id: string;
50
- value: string;
51
- }[] | undefined;
52
30
  }, {
53
31
  disposition?: string | null | undefined;
54
32
  callFrom?: string | null | undefined;
55
33
  callTo?: string | null | undefined;
56
34
  note?: string | null | undefined;
57
- type?: string | undefined;
58
35
  tags?: string[] | undefined;
59
- categoryIds?: string[] | undefined;
60
- customFields?: {
61
- type: string;
62
- id: string;
63
- value: string;
64
- }[] | undefined;
65
36
  }>;
66
37
  export declare const CreateCXLogWrapUpFormSchema: z.ZodObject<{
67
38
  cxLogId: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAajC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC"}
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kl1/contracts",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/src/index.d.ts",