@kl1/contracts 1.0.31 → 1.0.33
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.
- package/dist/index.js +1634 -1517
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1632 -1517
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/validation.d.ts.map +1 -1
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/channel/index.d.ts +527 -285
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +0 -285
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +73 -72
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +12 -12
- package/dist/src/chat/validation.d.ts +22 -22
- package/dist/src/company/index.d.ts +0 -80
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +0 -40
- package/dist/src/company/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +2004 -1385
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +22 -22
- package/dist/src/cx-log/schema.d.ts +16 -16
- package/dist/src/evaluate-form/schema.d.ts +6 -6
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +14 -14
- package/dist/src/telephony-cdr/index.d.ts +458 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +74 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/package.json +47 -46
@@ -743,6 +743,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
743
743
|
picture?: string | undefined;
|
744
744
|
additionalCredentials?: any;
|
745
745
|
};
|
746
|
+
channelId: string;
|
746
747
|
contact: {
|
747
748
|
channel: string | null;
|
748
749
|
address: string | null;
|
@@ -751,7 +752,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
751
752
|
contactProfile: string | null;
|
752
753
|
socialProfileUrl: string | null;
|
753
754
|
};
|
754
|
-
channelId: string;
|
755
755
|
socialPlatformId: string | null;
|
756
756
|
}, {
|
757
757
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -761,6 +761,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
761
761
|
picture?: string | undefined;
|
762
762
|
additionalCredentials?: any;
|
763
763
|
};
|
764
|
+
channelId: string;
|
764
765
|
contact: {
|
765
766
|
channel: string | null;
|
766
767
|
address: string | null;
|
@@ -769,7 +770,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
769
770
|
contactProfile: string | null;
|
770
771
|
socialProfileUrl: string | null;
|
771
772
|
};
|
772
|
-
channelId: string;
|
773
773
|
socialPlatformId: string | null;
|
774
774
|
}>;
|
775
775
|
actor: z.ZodNullable<z.ZodObject<{
|
@@ -914,6 +914,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
914
914
|
picture?: string | undefined;
|
915
915
|
additionalCredentials?: any;
|
916
916
|
};
|
917
|
+
channelId: string;
|
917
918
|
contact: {
|
918
919
|
channel: string | null;
|
919
920
|
address: string | null;
|
@@ -922,7 +923,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
922
923
|
contactProfile: string | null;
|
923
924
|
socialProfileUrl: string | null;
|
924
925
|
};
|
925
|
-
channelId: string;
|
926
926
|
socialPlatformId: string | null;
|
927
927
|
};
|
928
928
|
lastMessage?: string | undefined;
|
@@ -967,6 +967,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
967
967
|
picture?: string | undefined;
|
968
968
|
additionalCredentials?: any;
|
969
969
|
};
|
970
|
+
channelId: string;
|
970
971
|
contact: {
|
971
972
|
channel: string | null;
|
972
973
|
address: string | null;
|
@@ -975,7 +976,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
975
976
|
contactProfile: string | null;
|
976
977
|
socialProfileUrl: string | null;
|
977
978
|
};
|
978
|
-
channelId: string;
|
979
979
|
socialPlatformId: string | null;
|
980
980
|
};
|
981
981
|
lastMessage?: string | undefined;
|
@@ -1172,6 +1172,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1172
1172
|
picture?: string | undefined;
|
1173
1173
|
additionalCredentials?: any;
|
1174
1174
|
};
|
1175
|
+
channelId: string;
|
1175
1176
|
contact: {
|
1176
1177
|
channel: string | null;
|
1177
1178
|
address: string | null;
|
@@ -1180,7 +1181,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1180
1181
|
contactProfile: string | null;
|
1181
1182
|
socialProfileUrl: string | null;
|
1182
1183
|
};
|
1183
|
-
channelId: string;
|
1184
1184
|
socialPlatformId: string | null;
|
1185
1185
|
};
|
1186
1186
|
lastMessage?: string | undefined;
|
@@ -1258,6 +1258,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1258
1258
|
picture?: string | undefined;
|
1259
1259
|
additionalCredentials?: any;
|
1260
1260
|
};
|
1261
|
+
channelId: string;
|
1261
1262
|
contact: {
|
1262
1263
|
channel: string | null;
|
1263
1264
|
address: string | null;
|
@@ -1266,7 +1267,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1266
1267
|
contactProfile: string | null;
|
1267
1268
|
socialProfileUrl: string | null;
|
1268
1269
|
};
|
1269
|
-
channelId: string;
|
1270
1270
|
socialPlatformId: string | null;
|
1271
1271
|
};
|
1272
1272
|
lastMessage?: string | undefined;
|
@@ -2082,6 +2082,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2082
2082
|
createdAt: Date;
|
2083
2083
|
updatedAt: Date;
|
2084
2084
|
deletedAt: Date | null;
|
2085
|
+
channelId: string;
|
2085
2086
|
contact: {
|
2086
2087
|
id: string;
|
2087
2088
|
channel: string | null;
|
@@ -2184,7 +2185,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2184
2185
|
};
|
2185
2186
|
}[] | undefined;
|
2186
2187
|
};
|
2187
|
-
channelId: string;
|
2188
2188
|
socialPlatformId: string;
|
2189
2189
|
}, {
|
2190
2190
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -2198,6 +2198,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2198
2198
|
createdAt: Date;
|
2199
2199
|
updatedAt: Date;
|
2200
2200
|
deletedAt: Date | null;
|
2201
|
+
channelId: string;
|
2201
2202
|
contact: {
|
2202
2203
|
id: string;
|
2203
2204
|
channel: string | null;
|
@@ -2300,7 +2301,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2300
2301
|
};
|
2301
2302
|
}[] | undefined;
|
2302
2303
|
};
|
2303
|
-
channelId: string;
|
2304
2304
|
socialPlatformId: string;
|
2305
2305
|
}>;
|
2306
2306
|
actor: z.ZodObject<{
|
@@ -3269,6 +3269,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3269
3269
|
createdAt: Date;
|
3270
3270
|
updatedAt: Date;
|
3271
3271
|
deletedAt: Date | null;
|
3272
|
+
channelId: string;
|
3272
3273
|
contact: {
|
3273
3274
|
id: string;
|
3274
3275
|
channel: string | null;
|
@@ -3371,7 +3372,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3371
3372
|
};
|
3372
3373
|
}[] | undefined;
|
3373
3374
|
};
|
3374
|
-
channelId: string;
|
3375
3375
|
socialPlatformId: string;
|
3376
3376
|
};
|
3377
3377
|
assignee: {
|
@@ -3583,6 +3583,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3583
3583
|
createdAt: Date;
|
3584
3584
|
updatedAt: Date;
|
3585
3585
|
deletedAt: Date | null;
|
3586
|
+
channelId: string;
|
3586
3587
|
contact: {
|
3587
3588
|
id: string;
|
3588
3589
|
channel: string | null;
|
@@ -3685,7 +3686,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3685
3686
|
};
|
3686
3687
|
}[] | undefined;
|
3687
3688
|
};
|
3688
|
-
channelId: string;
|
3689
3689
|
socialPlatformId: string;
|
3690
3690
|
};
|
3691
3691
|
assignee: {
|
@@ -4629,6 +4629,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4629
4629
|
createdAt: Date;
|
4630
4630
|
updatedAt: Date;
|
4631
4631
|
deletedAt: Date | null;
|
4632
|
+
channelId: string;
|
4632
4633
|
contact: {
|
4633
4634
|
id: string;
|
4634
4635
|
channel: string | null;
|
@@ -4731,7 +4732,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4731
4732
|
};
|
4732
4733
|
}[] | undefined;
|
4733
4734
|
};
|
4734
|
-
channelId: string;
|
4735
4735
|
socialPlatformId: string;
|
4736
4736
|
};
|
4737
4737
|
assignee: {
|
@@ -5101,6 +5101,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5101
5101
|
createdAt: Date;
|
5102
5102
|
updatedAt: Date;
|
5103
5103
|
deletedAt: Date | null;
|
5104
|
+
channelId: string;
|
5104
5105
|
contact: {
|
5105
5106
|
id: string;
|
5106
5107
|
channel: string | null;
|
@@ -5203,7 +5204,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5203
5204
|
};
|
5204
5205
|
}[] | undefined;
|
5205
5206
|
};
|
5206
|
-
channelId: string;
|
5207
5207
|
socialPlatformId: string;
|
5208
5208
|
};
|
5209
5209
|
assignee: {
|
@@ -5575,6 +5575,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5575
5575
|
createdAt: Date;
|
5576
5576
|
updatedAt: Date;
|
5577
5577
|
deletedAt: Date | null;
|
5578
|
+
channelId: string;
|
5578
5579
|
contact: {
|
5579
5580
|
id: string;
|
5580
5581
|
channel: string | null;
|
@@ -5677,7 +5678,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5677
5678
|
};
|
5678
5679
|
}[] | undefined;
|
5679
5680
|
};
|
5680
|
-
channelId: string;
|
5681
5681
|
socialPlatformId: string;
|
5682
5682
|
};
|
5683
5683
|
assignee: {
|
@@ -6050,6 +6050,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6050
6050
|
createdAt: Date;
|
6051
6051
|
updatedAt: Date;
|
6052
6052
|
deletedAt: Date | null;
|
6053
|
+
channelId: string;
|
6053
6054
|
contact: {
|
6054
6055
|
id: string;
|
6055
6056
|
channel: string | null;
|
@@ -6152,7 +6153,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6152
6153
|
};
|
6153
6154
|
}[] | undefined;
|
6154
6155
|
};
|
6155
|
-
channelId: string;
|
6156
6156
|
socialPlatformId: string;
|
6157
6157
|
};
|
6158
6158
|
assignee: {
|
@@ -7296,6 +7296,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7296
7296
|
createdAt: Date;
|
7297
7297
|
updatedAt: Date;
|
7298
7298
|
deletedAt: Date | null;
|
7299
|
+
channelId: string;
|
7299
7300
|
contact: {
|
7300
7301
|
id: string;
|
7301
7302
|
channel: string | null;
|
@@ -7398,7 +7399,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7398
7399
|
};
|
7399
7400
|
}[] | undefined;
|
7400
7401
|
};
|
7401
|
-
channelId: string;
|
7402
7402
|
socialPlatformId: string;
|
7403
7403
|
}, {
|
7404
7404
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -7412,6 +7412,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7412
7412
|
createdAt: Date;
|
7413
7413
|
updatedAt: Date;
|
7414
7414
|
deletedAt: Date | null;
|
7415
|
+
channelId: string;
|
7415
7416
|
contact: {
|
7416
7417
|
id: string;
|
7417
7418
|
channel: string | null;
|
@@ -7514,7 +7515,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7514
7515
|
};
|
7515
7516
|
}[] | undefined;
|
7516
7517
|
};
|
7517
|
-
channelId: string;
|
7518
7518
|
socialPlatformId: string;
|
7519
7519
|
}>;
|
7520
7520
|
actor: z.ZodObject<{
|
@@ -8483,6 +8483,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8483
8483
|
createdAt: Date;
|
8484
8484
|
updatedAt: Date;
|
8485
8485
|
deletedAt: Date | null;
|
8486
|
+
channelId: string;
|
8486
8487
|
contact: {
|
8487
8488
|
id: string;
|
8488
8489
|
channel: string | null;
|
@@ -8585,7 +8586,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8585
8586
|
};
|
8586
8587
|
}[] | undefined;
|
8587
8588
|
};
|
8588
|
-
channelId: string;
|
8589
8589
|
socialPlatformId: string;
|
8590
8590
|
};
|
8591
8591
|
assignee: {
|
@@ -8797,6 +8797,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8797
8797
|
createdAt: Date;
|
8798
8798
|
updatedAt: Date;
|
8799
8799
|
deletedAt: Date | null;
|
8800
|
+
channelId: string;
|
8800
8801
|
contact: {
|
8801
8802
|
id: string;
|
8802
8803
|
channel: string | null;
|
@@ -8899,7 +8900,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8899
8900
|
};
|
8900
8901
|
}[] | undefined;
|
8901
8902
|
};
|
8902
|
-
channelId: string;
|
8903
8903
|
socialPlatformId: string;
|
8904
8904
|
};
|
8905
8905
|
assignee: {
|
@@ -9843,6 +9843,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9843
9843
|
createdAt: Date;
|
9844
9844
|
updatedAt: Date;
|
9845
9845
|
deletedAt: Date | null;
|
9846
|
+
channelId: string;
|
9846
9847
|
contact: {
|
9847
9848
|
id: string;
|
9848
9849
|
channel: string | null;
|
@@ -9945,7 +9946,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9945
9946
|
};
|
9946
9947
|
}[] | undefined;
|
9947
9948
|
};
|
9948
|
-
channelId: string;
|
9949
9949
|
socialPlatformId: string;
|
9950
9950
|
};
|
9951
9951
|
assignee: {
|
@@ -10315,6 +10315,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10315
10315
|
createdAt: Date;
|
10316
10316
|
updatedAt: Date;
|
10317
10317
|
deletedAt: Date | null;
|
10318
|
+
channelId: string;
|
10318
10319
|
contact: {
|
10319
10320
|
id: string;
|
10320
10321
|
channel: string | null;
|
@@ -10417,7 +10418,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10417
10418
|
};
|
10418
10419
|
}[] | undefined;
|
10419
10420
|
};
|
10420
|
-
channelId: string;
|
10421
10421
|
socialPlatformId: string;
|
10422
10422
|
};
|
10423
10423
|
assignee: {
|
@@ -10789,6 +10789,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10789
10789
|
createdAt: Date;
|
10790
10790
|
updatedAt: Date;
|
10791
10791
|
deletedAt: Date | null;
|
10792
|
+
channelId: string;
|
10792
10793
|
contact: {
|
10793
10794
|
id: string;
|
10794
10795
|
channel: string | null;
|
@@ -10891,7 +10892,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10891
10892
|
};
|
10892
10893
|
}[] | undefined;
|
10893
10894
|
};
|
10894
|
-
channelId: string;
|
10895
10895
|
socialPlatformId: string;
|
10896
10896
|
};
|
10897
10897
|
assignee: {
|
@@ -11263,6 +11263,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11263
11263
|
createdAt: Date;
|
11264
11264
|
updatedAt: Date;
|
11265
11265
|
deletedAt: Date | null;
|
11266
|
+
channelId: string;
|
11266
11267
|
contact: {
|
11267
11268
|
id: string;
|
11268
11269
|
channel: string | null;
|
@@ -11365,7 +11366,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11365
11366
|
};
|
11366
11367
|
}[] | undefined;
|
11367
11368
|
};
|
11368
|
-
channelId: string;
|
11369
11369
|
socialPlatformId: string;
|
11370
11370
|
};
|
11371
11371
|
assignee: {
|
@@ -10,56 +10,32 @@ export declare const companyContract: {
|
|
10
10
|
create: {
|
11
11
|
body: z.ZodObject<{
|
12
12
|
name: z.ZodObject<{
|
13
|
-
isRequired: z.ZodBoolean;
|
14
|
-
attributeId: z.ZodString;
|
15
13
|
value: z.ZodString;
|
16
14
|
}, "strip", z.ZodTypeAny, {
|
17
15
|
value: string;
|
18
|
-
isRequired: boolean;
|
19
|
-
attributeId: string;
|
20
16
|
}, {
|
21
17
|
value: string;
|
22
|
-
isRequired: boolean;
|
23
|
-
attributeId: string;
|
24
18
|
}>;
|
25
19
|
phone: z.ZodObject<{
|
26
|
-
isRequired: z.ZodBoolean;
|
27
|
-
attributeId: z.ZodString;
|
28
20
|
value: z.ZodString;
|
29
21
|
}, "strip", z.ZodTypeAny, {
|
30
22
|
value: string;
|
31
|
-
isRequired: boolean;
|
32
|
-
attributeId: string;
|
33
23
|
}, {
|
34
24
|
value: string;
|
35
|
-
isRequired: boolean;
|
36
|
-
attributeId: string;
|
37
25
|
}>;
|
38
26
|
address: z.ZodObject<{
|
39
|
-
isRequired: z.ZodBoolean;
|
40
|
-
attributeId: z.ZodString;
|
41
27
|
value: z.ZodString;
|
42
28
|
}, "strip", z.ZodTypeAny, {
|
43
29
|
value: string;
|
44
|
-
isRequired: boolean;
|
45
|
-
attributeId: string;
|
46
30
|
}, {
|
47
31
|
value: string;
|
48
|
-
isRequired: boolean;
|
49
|
-
attributeId: string;
|
50
32
|
}>;
|
51
33
|
industry: z.ZodObject<{
|
52
|
-
isRequired: z.ZodBoolean;
|
53
|
-
attributeId: z.ZodString;
|
54
34
|
value: z.ZodString;
|
55
35
|
}, "strip", z.ZodTypeAny, {
|
56
36
|
value: string;
|
57
|
-
isRequired: boolean;
|
58
|
-
attributeId: string;
|
59
37
|
}, {
|
60
38
|
value: string;
|
61
|
-
isRequired: boolean;
|
62
|
-
attributeId: string;
|
63
39
|
}>;
|
64
40
|
customFields: z.ZodArray<z.ZodObject<{
|
65
41
|
isRequired: z.ZodBoolean;
|
@@ -83,23 +59,15 @@ export declare const companyContract: {
|
|
83
59
|
}, "strip", z.ZodTypeAny, {
|
84
60
|
address: {
|
85
61
|
value: string;
|
86
|
-
isRequired: boolean;
|
87
|
-
attributeId: string;
|
88
62
|
};
|
89
63
|
name: {
|
90
64
|
value: string;
|
91
|
-
isRequired: boolean;
|
92
|
-
attributeId: string;
|
93
65
|
};
|
94
66
|
phone: {
|
95
67
|
value: string;
|
96
|
-
isRequired: boolean;
|
97
|
-
attributeId: string;
|
98
68
|
};
|
99
69
|
industry: {
|
100
70
|
value: string;
|
101
|
-
isRequired: boolean;
|
102
|
-
attributeId: string;
|
103
71
|
};
|
104
72
|
customFields: {
|
105
73
|
type: string;
|
@@ -111,23 +79,15 @@ export declare const companyContract: {
|
|
111
79
|
}, {
|
112
80
|
address: {
|
113
81
|
value: string;
|
114
|
-
isRequired: boolean;
|
115
|
-
attributeId: string;
|
116
82
|
};
|
117
83
|
name: {
|
118
84
|
value: string;
|
119
|
-
isRequired: boolean;
|
120
|
-
attributeId: string;
|
121
85
|
};
|
122
86
|
phone: {
|
123
87
|
value: string;
|
124
|
-
isRequired: boolean;
|
125
|
-
attributeId: string;
|
126
88
|
};
|
127
89
|
industry: {
|
128
90
|
value: string;
|
129
|
-
isRequired: boolean;
|
130
|
-
attributeId: string;
|
131
91
|
};
|
132
92
|
customFields: {
|
133
93
|
type: string;
|
@@ -485,56 +445,32 @@ export declare const companyContract: {
|
|
485
445
|
update: {
|
486
446
|
body: z.ZodObject<{
|
487
447
|
name: z.ZodOptional<z.ZodObject<{
|
488
|
-
isRequired: z.ZodBoolean;
|
489
|
-
attributeId: z.ZodString;
|
490
448
|
value: z.ZodString;
|
491
449
|
}, "strip", z.ZodTypeAny, {
|
492
450
|
value: string;
|
493
|
-
isRequired: boolean;
|
494
|
-
attributeId: string;
|
495
451
|
}, {
|
496
452
|
value: string;
|
497
|
-
isRequired: boolean;
|
498
|
-
attributeId: string;
|
499
453
|
}>>;
|
500
454
|
phone: z.ZodOptional<z.ZodObject<{
|
501
|
-
isRequired: z.ZodBoolean;
|
502
|
-
attributeId: z.ZodString;
|
503
455
|
value: z.ZodString;
|
504
456
|
}, "strip", z.ZodTypeAny, {
|
505
457
|
value: string;
|
506
|
-
isRequired: boolean;
|
507
|
-
attributeId: string;
|
508
458
|
}, {
|
509
459
|
value: string;
|
510
|
-
isRequired: boolean;
|
511
|
-
attributeId: string;
|
512
460
|
}>>;
|
513
461
|
address: z.ZodOptional<z.ZodObject<{
|
514
|
-
isRequired: z.ZodBoolean;
|
515
|
-
attributeId: z.ZodString;
|
516
462
|
value: z.ZodString;
|
517
463
|
}, "strip", z.ZodTypeAny, {
|
518
464
|
value: string;
|
519
|
-
isRequired: boolean;
|
520
|
-
attributeId: string;
|
521
465
|
}, {
|
522
466
|
value: string;
|
523
|
-
isRequired: boolean;
|
524
|
-
attributeId: string;
|
525
467
|
}>>;
|
526
468
|
industry: z.ZodOptional<z.ZodObject<{
|
527
|
-
isRequired: z.ZodBoolean;
|
528
|
-
attributeId: z.ZodString;
|
529
469
|
value: z.ZodString;
|
530
470
|
}, "strip", z.ZodTypeAny, {
|
531
471
|
value: string;
|
532
|
-
isRequired: boolean;
|
533
|
-
attributeId: string;
|
534
472
|
}, {
|
535
473
|
value: string;
|
536
|
-
isRequired: boolean;
|
537
|
-
attributeId: string;
|
538
474
|
}>>;
|
539
475
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
540
476
|
isRequired: z.ZodBoolean;
|
@@ -558,23 +494,15 @@ export declare const companyContract: {
|
|
558
494
|
}, "strip", z.ZodTypeAny, {
|
559
495
|
name?: {
|
560
496
|
value: string;
|
561
|
-
isRequired: boolean;
|
562
|
-
attributeId: string;
|
563
497
|
} | undefined;
|
564
498
|
phone?: {
|
565
499
|
value: string;
|
566
|
-
isRequired: boolean;
|
567
|
-
attributeId: string;
|
568
500
|
} | undefined;
|
569
501
|
address?: {
|
570
502
|
value: string;
|
571
|
-
isRequired: boolean;
|
572
|
-
attributeId: string;
|
573
503
|
} | undefined;
|
574
504
|
industry?: {
|
575
505
|
value: string;
|
576
|
-
isRequired: boolean;
|
577
|
-
attributeId: string;
|
578
506
|
} | undefined;
|
579
507
|
customFields?: {
|
580
508
|
type: string;
|
@@ -586,23 +514,15 @@ export declare const companyContract: {
|
|
586
514
|
}, {
|
587
515
|
name?: {
|
588
516
|
value: string;
|
589
|
-
isRequired: boolean;
|
590
|
-
attributeId: string;
|
591
517
|
} | undefined;
|
592
518
|
phone?: {
|
593
519
|
value: string;
|
594
|
-
isRequired: boolean;
|
595
|
-
attributeId: string;
|
596
520
|
} | undefined;
|
597
521
|
address?: {
|
598
522
|
value: string;
|
599
|
-
isRequired: boolean;
|
600
|
-
attributeId: string;
|
601
523
|
} | undefined;
|
602
524
|
industry?: {
|
603
525
|
value: string;
|
604
|
-
isRequired: boolean;
|
605
|
-
attributeId: string;
|
606
526
|
} | undefined;
|
607
527
|
customFields?: {
|
608
528
|
type: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/company/index.ts"],"names":[],"mappings":"AAOA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,gCAAgC,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEnE,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,gCAAgC,CAAC,MAAM,CAAC,OAAO,CACvD,CAAC;AACF,MAAM,MAAM,oBAAoB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgI3B,CAAC"}
|
@@ -13,56 +13,32 @@ export declare const CompanyContractsValidationSchema: {
|
|
13
13
|
create: {
|
14
14
|
request: z.ZodObject<{
|
15
15
|
name: z.ZodObject<{
|
16
|
-
isRequired: z.ZodBoolean;
|
17
|
-
attributeId: z.ZodString;
|
18
16
|
value: z.ZodString;
|
19
17
|
}, "strip", z.ZodTypeAny, {
|
20
18
|
value: string;
|
21
|
-
isRequired: boolean;
|
22
|
-
attributeId: string;
|
23
19
|
}, {
|
24
20
|
value: string;
|
25
|
-
isRequired: boolean;
|
26
|
-
attributeId: string;
|
27
21
|
}>;
|
28
22
|
phone: z.ZodObject<{
|
29
|
-
isRequired: z.ZodBoolean;
|
30
|
-
attributeId: z.ZodString;
|
31
23
|
value: z.ZodString;
|
32
24
|
}, "strip", z.ZodTypeAny, {
|
33
25
|
value: string;
|
34
|
-
isRequired: boolean;
|
35
|
-
attributeId: string;
|
36
26
|
}, {
|
37
27
|
value: string;
|
38
|
-
isRequired: boolean;
|
39
|
-
attributeId: string;
|
40
28
|
}>;
|
41
29
|
address: z.ZodObject<{
|
42
|
-
isRequired: z.ZodBoolean;
|
43
|
-
attributeId: z.ZodString;
|
44
30
|
value: z.ZodString;
|
45
31
|
}, "strip", z.ZodTypeAny, {
|
46
32
|
value: string;
|
47
|
-
isRequired: boolean;
|
48
|
-
attributeId: string;
|
49
33
|
}, {
|
50
34
|
value: string;
|
51
|
-
isRequired: boolean;
|
52
|
-
attributeId: string;
|
53
35
|
}>;
|
54
36
|
industry: z.ZodObject<{
|
55
|
-
isRequired: z.ZodBoolean;
|
56
|
-
attributeId: z.ZodString;
|
57
37
|
value: z.ZodString;
|
58
38
|
}, "strip", z.ZodTypeAny, {
|
59
39
|
value: string;
|
60
|
-
isRequired: boolean;
|
61
|
-
attributeId: string;
|
62
40
|
}, {
|
63
41
|
value: string;
|
64
|
-
isRequired: boolean;
|
65
|
-
attributeId: string;
|
66
42
|
}>;
|
67
43
|
customFields: z.ZodArray<z.ZodObject<{
|
68
44
|
isRequired: z.ZodBoolean;
|
@@ -86,23 +62,15 @@ export declare const CompanyContractsValidationSchema: {
|
|
86
62
|
}, "strip", z.ZodTypeAny, {
|
87
63
|
address: {
|
88
64
|
value: string;
|
89
|
-
isRequired: boolean;
|
90
|
-
attributeId: string;
|
91
65
|
};
|
92
66
|
name: {
|
93
67
|
value: string;
|
94
|
-
isRequired: boolean;
|
95
|
-
attributeId: string;
|
96
68
|
};
|
97
69
|
phone: {
|
98
70
|
value: string;
|
99
|
-
isRequired: boolean;
|
100
|
-
attributeId: string;
|
101
71
|
};
|
102
72
|
industry: {
|
103
73
|
value: string;
|
104
|
-
isRequired: boolean;
|
105
|
-
attributeId: string;
|
106
74
|
};
|
107
75
|
customFields: {
|
108
76
|
type: string;
|
@@ -114,23 +82,15 @@ export declare const CompanyContractsValidationSchema: {
|
|
114
82
|
}, {
|
115
83
|
address: {
|
116
84
|
value: string;
|
117
|
-
isRequired: boolean;
|
118
|
-
attributeId: string;
|
119
85
|
};
|
120
86
|
name: {
|
121
87
|
value: string;
|
122
|
-
isRequired: boolean;
|
123
|
-
attributeId: string;
|
124
88
|
};
|
125
89
|
phone: {
|
126
90
|
value: string;
|
127
|
-
isRequired: boolean;
|
128
|
-
attributeId: string;
|
129
91
|
};
|
130
92
|
industry: {
|
131
93
|
value: string;
|
132
|
-
isRequired: boolean;
|
133
|
-
attributeId: string;
|
134
94
|
};
|
135
95
|
customFields: {
|
136
96
|
type: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/company/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,UAAU;;;;;;;;;EAGrB,CAAC;
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/company/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,UAAU;;;;;;;;;EAGrB,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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