@kl1/contracts 1.0.0 → 1.0.1
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 +1279 -405
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1276 -404
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/index.d.ts +526 -65
- package/dist/src/attribute/index.d.ts.map +1 -1
- package/dist/src/attribute/schema.d.ts +92 -12
- package/dist/src/attribute/schema.d.ts.map +1 -1
- package/dist/src/attribute/validation.d.ts +9 -12
- package/dist/src/attribute/validation.d.ts.map +1 -1
- package/dist/src/attribute-option/schema.d.ts +5 -5
- package/dist/src/auth/index.d.ts +64 -29
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/base-contract.d.ts +5 -5
- package/dist/src/base-contract.d.ts.map +1 -1
- package/dist/src/call-log/schema.d.ts +5 -5
- package/dist/src/category/index.d.ts +188 -104
- package/dist/src/category/index.d.ts.map +1 -1
- package/dist/src/category/schema.d.ts +22 -0
- package/dist/src/category/schema.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +629 -0
- package/dist/{contract.d.ts.map → src/channel/index.d.ts.map} +1 -1
- package/dist/src/channel/schema.d.ts +293 -0
- package/dist/src/channel/schema.d.ts.map +1 -0
- package/dist/src/channel/validation.d.ts +242 -0
- package/dist/src/channel/validation.d.ts.map +1 -0
- package/dist/src/company/schema.d.ts +3 -3
- package/dist/src/contact/schema.d.ts +3 -3
- package/dist/src/contact-email/schema.d.ts +3 -3
- package/dist/src/contact-phone/schema.d.ts +3 -3
- package/dist/src/contract.d.ts +5278 -481
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +5 -5
- package/dist/src/custom-field-upload/schema.d.ts +3 -3
- package/dist/src/cx-log/index.d.ts +56 -54
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +3 -3
- package/dist/src/cx-log/validation.d.ts +47 -47
- package/dist/src/cx-log/validation.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +3 -3
- package/dist/src/extension/index.d.ts +547 -0
- package/dist/src/extension/index.d.ts.map +1 -0
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/extension/validation.d.ts +49 -0
- package/dist/src/extension/validation.d.ts.map +1 -0
- package/dist/src/group/schema.d.ts +3 -3
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +86 -0
- package/dist/src/line/index.d.ts.map +1 -0
- package/dist/src/line/schema.d.ts +12 -0
- package/dist/src/line/schema.d.ts.map +1 -0
- package/dist/src/line/validation.d.ts +18 -0
- package/dist/src/line/validation.d.ts.map +1 -0
- package/dist/src/log-form/schema.d.ts +3 -3
- package/dist/src/mail/account-contract.d.ts +14 -14
- package/dist/src/mail/mail-contract.d.ts +14 -14
- package/dist/src/permission/index.d.ts +179 -0
- package/dist/src/permission/index.d.ts.map +1 -0
- package/dist/src/permission/schema.d.ts +3 -3
- package/dist/src/platform-contact/schema.d.ts +3 -3
- package/dist/src/role/index.d.ts +545 -0
- package/dist/{api-contracts/src/contract.d.ts.map → src/role/index.d.ts.map} +1 -1
- package/dist/src/role/schema.d.ts +8 -8
- package/dist/src/role/validation.d.ts +37 -0
- package/dist/src/role/validation.d.ts.map +1 -0
- package/dist/src/tag/index.d.ts +286 -0
- package/dist/src/tag/index.d.ts.map +1 -0
- package/dist/src/tag/schema.d.ts +5 -4
- package/dist/src/tag/schema.d.ts.map +1 -1
- package/dist/src/tag/validation.d.ts +29 -0
- package/dist/src/tag/validation.d.ts.map +1 -0
- package/dist/src/tag-group/schema.d.ts +3 -3
- package/dist/src/telephony-cdr/schema.d.ts +5 -5
- package/dist/src/telephony-extension/index.d.ts +65 -0
- package/dist/src/telephony-extension/index.d.ts.map +1 -0
- package/dist/src/telephony-extension/schema.d.ts +18 -0
- package/dist/src/telephony-extension/schema.d.ts.map +1 -0
- package/dist/src/telephony-live-queue-call/schema.d.ts +3 -3
- package/dist/src/telephony-queue-call-count/schema.d.ts +3 -3
- package/dist/src/ticket/schema.d.ts +3 -3
- package/dist/src/upload/schema.d.ts +3 -3
- package/dist/src/user/index.d.ts +1261 -0
- package/dist/src/user/index.d.ts.map +1 -0
- package/dist/src/user/schema.d.ts +15 -15
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +856 -0
- package/dist/src/widget/index.d.ts.map +1 -0
- package/dist/src/widget/schema.d.ts +20 -9
- package/dist/src/widget/schema.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +63 -0
- package/dist/src/widget/validation.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/api-contracts/src/auth/index.d.ts +0 -436
- package/dist/api-contracts/src/auth/index.d.ts.map +0 -1
- package/dist/api-contracts/src/auth/permission-schema.d.ts +0 -27
- package/dist/api-contracts/src/auth/permission-schema.d.ts.map +0 -1
- package/dist/api-contracts/src/auth/role-schema.d.ts +0 -70
- package/dist/api-contracts/src/auth/role-schema.d.ts.map +0 -1
- package/dist/api-contracts/src/auth/user-schema.d.ts +0 -140
- package/dist/api-contracts/src/auth/user-schema.d.ts.map +0 -1
- package/dist/api-contracts/src/base-contract.d.ts +0 -85
- package/dist/api-contracts/src/base-contract.d.ts.map +0 -1
- package/dist/api-contracts/src/contract.d.ts +0 -593
- package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts +0 -54
- package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts.map +0 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +0 -252
- package/dist/api-contracts/src/cx-log/index.d.ts.map +0 -1
- package/dist/api-contracts/src/index.d.ts +0 -2
- package/dist/api-contracts/src/index.d.ts.map +0 -1
- package/dist/attribute/schema.d.ts +0 -42
- package/dist/attribute/schema.d.ts.map +0 -1
- package/dist/attribute-option/schema.d.ts +0 -33
- package/dist/attribute-option/schema.d.ts.map +0 -1
- package/dist/auth/index.d.ts +0 -436
- package/dist/auth/index.d.ts.map +0 -1
- package/dist/auth/permission-schema.d.ts +0 -27
- package/dist/auth/permission-schema.d.ts.map +0 -1
- package/dist/auth/role-schema.d.ts +0 -70
- package/dist/auth/role-schema.d.ts.map +0 -1
- package/dist/auth/user-schema.d.ts +0 -140
- package/dist/auth/user-schema.d.ts.map +0 -1
- package/dist/base-contract.d.ts +0 -85
- package/dist/base-contract.d.ts.map +0 -1
- package/dist/call-log/index.d.ts +0 -4
- package/dist/call-log/index.d.ts.map +0 -1
- package/dist/call-log/schema.d.ts +0 -57
- package/dist/call-log/schema.d.ts.map +0 -1
- package/dist/call-log/validation.d.ts +0 -24
- package/dist/call-log/validation.d.ts.map +0 -1
- package/dist/company/schema.d.ts +0 -30
- package/dist/company/schema.d.ts.map +0 -1
- package/dist/contact/schema.d.ts +0 -42
- package/dist/contact/schema.d.ts.map +0 -1
- package/dist/contact-email/schema.d.ts +0 -27
- package/dist/contact-email/schema.d.ts.map +0 -1
- package/dist/contact-phone/schema.d.ts +0 -27
- package/dist/contact-phone/schema.d.ts.map +0 -1
- package/dist/contract.d.ts +0 -663
- package/dist/custom-field/schema.d.ts +0 -36
- package/dist/custom-field/schema.d.ts.map +0 -1
- package/dist/custom-field-upload/schema.d.ts +0 -24
- package/dist/custom-field-upload/schema.d.ts.map +0 -1
- package/dist/cx-log/cx-log-schema.d.ts +0 -54
- package/dist/cx-log/cx-log-schema.d.ts.map +0 -1
- package/dist/cx-log/index.d.ts +0 -230
- package/dist/cx-log/index.d.ts.map +0 -1
- package/dist/cx-log/schema.d.ts +0 -54
- package/dist/cx-log/schema.d.ts.map +0 -1
- package/dist/cx-log/validation.d.ts +0 -95
- package/dist/cx-log/validation.d.ts.map +0 -1
- package/dist/entities/src/base.entity.d.ts +0 -7
- package/dist/entities/src/base.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/attribute-option.entity.d.ts +0 -9
- package/dist/entities/src/tenants/attribute-option.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/attribute.entity.d.ts +0 -12
- package/dist/entities/src/tenants/attribute.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/call-log.entity.d.ts +0 -18
- package/dist/entities/src/tenants/call-log.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/company.entity.d.ts +0 -8
- package/dist/entities/src/tenants/company.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/contact-custom-field.entity.d.ts +0 -14
- package/dist/entities/src/tenants/contact-custom-field.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/contact-email.entity.d.ts +0 -7
- package/dist/entities/src/tenants/contact-email.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/contact-phone.entity.d.ts +0 -7
- package/dist/entities/src/tenants/contact-phone.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/contact.entity.d.ts +0 -14
- package/dist/entities/src/tenants/contact.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/custom-field-upload.entity.d.ts +0 -8
- package/dist/entities/src/tenants/custom-field-upload.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/custom-field.entity.d.ts +0 -10
- package/dist/entities/src/tenants/custom-field.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/cx-log.entity.d.ts +0 -20
- package/dist/entities/src/tenants/cx-log.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/evaluate-form.entity.d.ts +0 -9
- package/dist/entities/src/tenants/evaluate-form.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/extension.entity.d.ts +0 -10
- package/dist/entities/src/tenants/extension.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/group.entity.d.ts +0 -6
- package/dist/entities/src/tenants/group.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/index.d.ts +0 -25
- package/dist/entities/src/tenants/index.d.ts.map +0 -1
- package/dist/entities/src/tenants/log-form.entity.d.ts +0 -6
- package/dist/entities/src/tenants/log-form.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/permission.entity.d.ts +0 -9
- package/dist/entities/src/tenants/permission.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/platform-contact.entity.d.ts +0 -8
- package/dist/entities/src/tenants/platform-contact.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/role.entity.d.ts +0 -11
- package/dist/entities/src/tenants/role.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/tag-group.entity.d.ts +0 -8
- package/dist/entities/src/tenants/tag-group.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/tag.entity.d.ts +0 -11
- package/dist/entities/src/tenants/tag.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/telephony-cdr.entity.d.ts +0 -23
- package/dist/entities/src/tenants/telephony-cdr.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts +0 -7
- package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts +0 -15
- package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/ticket.entity.d.ts +0 -17
- package/dist/entities/src/tenants/ticket.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/upload.entity.d.ts +0 -8
- package/dist/entities/src/tenants/upload.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/user.entity.d.ts +0 -13
- package/dist/entities/src/tenants/user.entity.d.ts.map +0 -1
- package/dist/entities/src/tenants/widget.entity.d.ts +0 -9
- package/dist/entities/src/tenants/widget.entity.d.ts.map +0 -1
- package/dist/evaluate-form/schema.d.ts +0 -27
- package/dist/evaluate-form/schema.d.ts.map +0 -1
- package/dist/exchange-token/index.d.ts +0 -32
- package/dist/exchange-token/index.d.ts.map +0 -1
- package/dist/extension/schema.d.ts +0 -36
- package/dist/extension/schema.d.ts.map +0 -1
- package/dist/group/schema.d.ts +0 -24
- package/dist/group/schema.d.ts.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/log-form/schema.d.ts +0 -24
- package/dist/log-form/schema.d.ts.map +0 -1
- package/dist/permission/schema.d.ts +0 -27
- package/dist/permission/schema.d.ts.map +0 -1
- package/dist/platform-contact/schema.d.ts +0 -30
- package/dist/platform-contact/schema.d.ts.map +0 -1
- package/dist/posts/index.d.ts +0 -118
- package/dist/posts/index.d.ts.map +0 -1
- package/dist/role/schema.d.ts +0 -70
- package/dist/role/schema.d.ts.map +0 -1
- package/dist/tag/schema.d.ts +0 -21
- package/dist/tag/schema.d.ts.map +0 -1
- package/dist/tag-group/schema.d.ts +0 -24
- package/dist/tag-group/schema.d.ts.map +0 -1
- package/dist/telephony-cdr/index.d.ts +0 -4
- package/dist/telephony-cdr/index.d.ts.map +0 -1
- package/dist/telephony-cdr/schema.d.ts +0 -75
- package/dist/telephony-cdr/schema.d.ts.map +0 -1
- package/dist/telephony-cdr/validation.d.ts +0 -48
- package/dist/telephony-cdr/validation.d.ts.map +0 -1
- package/dist/telephony-live-queue-call/schema.d.ts +0 -27
- package/dist/telephony-live-queue-call/schema.d.ts.map +0 -1
- package/dist/telephony-queue-call-count/schema.d.ts +0 -51
- package/dist/telephony-queue-call-count/schema.d.ts.map +0 -1
- package/dist/ticket/schema.d.ts +0 -51
- package/dist/ticket/schema.d.ts.map +0 -1
- package/dist/upload/schema.d.ts +0 -30
- package/dist/upload/schema.d.ts.map +0 -1
- package/dist/user/schema.d.ts +0 -140
- package/dist/user/schema.d.ts.map +0 -1
- package/dist/widget/schema.d.ts +0 -33
- package/dist/widget/schema.d.ts.map +0 -1
@@ -1,593 +0,0 @@
|
|
1
|
-
export declare const apiContract: {
|
2
|
-
auth: {
|
3
|
-
refreshToken: {
|
4
|
-
body: null;
|
5
|
-
summary: "Refresh token";
|
6
|
-
method: "POST";
|
7
|
-
responses: {
|
8
|
-
200: import("zod").ZodObject<{
|
9
|
-
requestId: import("zod").ZodString;
|
10
|
-
accessToken: import("zod").ZodString;
|
11
|
-
refreshToken: import("zod").ZodString;
|
12
|
-
}, "strip", import("zod").ZodTypeAny, {
|
13
|
-
requestId: string;
|
14
|
-
refreshToken: string;
|
15
|
-
accessToken: string;
|
16
|
-
}, {
|
17
|
-
requestId: string;
|
18
|
-
refreshToken: string;
|
19
|
-
accessToken: string;
|
20
|
-
}>;
|
21
|
-
401: import("zod").ZodObject<{
|
22
|
-
message: import("zod").ZodString;
|
23
|
-
error: import("zod").ZodAny;
|
24
|
-
}, "strip", import("zod").ZodTypeAny, {
|
25
|
-
message: string;
|
26
|
-
error?: any;
|
27
|
-
}, {
|
28
|
-
message: string;
|
29
|
-
error?: any;
|
30
|
-
}>;
|
31
|
-
404: import("zod").ZodObject<{
|
32
|
-
message: import("zod").ZodString;
|
33
|
-
error: import("zod").ZodAny;
|
34
|
-
}, "strip", import("zod").ZodTypeAny, {
|
35
|
-
message: string;
|
36
|
-
error?: any;
|
37
|
-
}, {
|
38
|
-
message: string;
|
39
|
-
error?: any;
|
40
|
-
}>;
|
41
|
-
422: import("zod").ZodObject<{
|
42
|
-
message: import("zod").ZodString;
|
43
|
-
error: import("zod").ZodAny;
|
44
|
-
}, "strip", import("zod").ZodTypeAny, {
|
45
|
-
message: string;
|
46
|
-
error?: any;
|
47
|
-
}, {
|
48
|
-
message: string;
|
49
|
-
error?: any;
|
50
|
-
}>;
|
51
|
-
};
|
52
|
-
path: "auth/refresh-token";
|
53
|
-
headers: import("zod").ZodObject<{
|
54
|
-
'x-tenant': import("zod").ZodString;
|
55
|
-
authorization: import("zod").ZodString;
|
56
|
-
}, "strip", import("zod").ZodTypeAny, {
|
57
|
-
'x-tenant': string;
|
58
|
-
authorization: string;
|
59
|
-
}, {
|
60
|
-
'x-tenant': string;
|
61
|
-
authorization: string;
|
62
|
-
}>;
|
63
|
-
};
|
64
|
-
exchangeToken: {
|
65
|
-
body: null;
|
66
|
-
summary: "Exchange jwt token";
|
67
|
-
method: "POST";
|
68
|
-
responses: {
|
69
|
-
200: import("zod").ZodObject<{
|
70
|
-
requestId: import("zod").ZodString;
|
71
|
-
accessToken: import("zod").ZodString;
|
72
|
-
refreshToken: import("zod").ZodString;
|
73
|
-
}, "strip", import("zod").ZodTypeAny, {
|
74
|
-
requestId: string;
|
75
|
-
refreshToken: string;
|
76
|
-
accessToken: string;
|
77
|
-
}, {
|
78
|
-
requestId: string;
|
79
|
-
refreshToken: string;
|
80
|
-
accessToken: string;
|
81
|
-
}>;
|
82
|
-
401: import("zod").ZodObject<{
|
83
|
-
message: import("zod").ZodString;
|
84
|
-
error: import("zod").ZodAny;
|
85
|
-
}, "strip", import("zod").ZodTypeAny, {
|
86
|
-
message: string;
|
87
|
-
error?: any;
|
88
|
-
}, {
|
89
|
-
message: string;
|
90
|
-
error?: any;
|
91
|
-
}>;
|
92
|
-
404: import("zod").ZodObject<{
|
93
|
-
message: import("zod").ZodString;
|
94
|
-
error: import("zod").ZodAny;
|
95
|
-
}, "strip", import("zod").ZodTypeAny, {
|
96
|
-
message: string;
|
97
|
-
error?: any;
|
98
|
-
}, {
|
99
|
-
message: string;
|
100
|
-
error?: any;
|
101
|
-
}>;
|
102
|
-
422: import("zod").ZodObject<{
|
103
|
-
message: import("zod").ZodString;
|
104
|
-
error: import("zod").ZodAny;
|
105
|
-
}, "strip", import("zod").ZodTypeAny, {
|
106
|
-
message: string;
|
107
|
-
error?: any;
|
108
|
-
}, {
|
109
|
-
message: string;
|
110
|
-
error?: any;
|
111
|
-
}>;
|
112
|
-
};
|
113
|
-
path: "auth/exchange-token";
|
114
|
-
headers: import("zod").ZodObject<{
|
115
|
-
'x-tenant': import("zod").ZodString;
|
116
|
-
authorization: import("zod").ZodString;
|
117
|
-
}, "strip", import("zod").ZodTypeAny, {
|
118
|
-
'x-tenant': string;
|
119
|
-
authorization: string;
|
120
|
-
}, {
|
121
|
-
'x-tenant': string;
|
122
|
-
authorization: string;
|
123
|
-
}>;
|
124
|
-
};
|
125
|
-
logout: {
|
126
|
-
body: null;
|
127
|
-
summary: "Logout";
|
128
|
-
method: "POST";
|
129
|
-
responses: {
|
130
|
-
200: import("zod").ZodObject<{
|
131
|
-
requestId: import("zod").ZodString;
|
132
|
-
message: import("zod").ZodString;
|
133
|
-
}, "strip", import("zod").ZodTypeAny, {
|
134
|
-
message: string;
|
135
|
-
requestId: string;
|
136
|
-
}, {
|
137
|
-
message: string;
|
138
|
-
requestId: string;
|
139
|
-
}>;
|
140
|
-
401: import("zod").ZodObject<{
|
141
|
-
message: import("zod").ZodString;
|
142
|
-
error: import("zod").ZodAny;
|
143
|
-
}, "strip", import("zod").ZodTypeAny, {
|
144
|
-
message: string;
|
145
|
-
error?: any;
|
146
|
-
}, {
|
147
|
-
message: string;
|
148
|
-
error?: any;
|
149
|
-
}>;
|
150
|
-
404: import("zod").ZodObject<{
|
151
|
-
message: import("zod").ZodString;
|
152
|
-
error: import("zod").ZodAny;
|
153
|
-
}, "strip", import("zod").ZodTypeAny, {
|
154
|
-
message: string;
|
155
|
-
error?: any;
|
156
|
-
}, {
|
157
|
-
message: string;
|
158
|
-
error?: any;
|
159
|
-
}>;
|
160
|
-
422: import("zod").ZodObject<{
|
161
|
-
message: import("zod").ZodString;
|
162
|
-
error: import("zod").ZodAny;
|
163
|
-
}, "strip", import("zod").ZodTypeAny, {
|
164
|
-
message: string;
|
165
|
-
error?: any;
|
166
|
-
}, {
|
167
|
-
message: string;
|
168
|
-
error?: any;
|
169
|
-
}>;
|
170
|
-
};
|
171
|
-
path: "auth/logout";
|
172
|
-
headers: import("zod").ZodObject<{
|
173
|
-
'x-tenant': import("zod").ZodString;
|
174
|
-
authorization: import("zod").ZodString;
|
175
|
-
}, "strip", import("zod").ZodTypeAny, {
|
176
|
-
'x-tenant': string;
|
177
|
-
authorization: string;
|
178
|
-
}, {
|
179
|
-
'x-tenant': string;
|
180
|
-
authorization: string;
|
181
|
-
}>;
|
182
|
-
};
|
183
|
-
me: {
|
184
|
-
summary: "Get current user";
|
185
|
-
method: "GET";
|
186
|
-
responses: {
|
187
|
-
200: import("zod").ZodObject<{
|
188
|
-
requestId: import("zod").ZodString;
|
189
|
-
user: import("zod").ZodObject<{
|
190
|
-
id: import("zod").ZodString;
|
191
|
-
createdAt: import("zod").ZodDate;
|
192
|
-
updatedAt: import("zod").ZodDate;
|
193
|
-
deletedAt: import("zod").ZodDate;
|
194
|
-
name: import("zod").ZodString;
|
195
|
-
email: import("zod").ZodString;
|
196
|
-
address: import("zod").ZodNullable<import("zod").ZodString>;
|
197
|
-
phone: import("zod").ZodNullable<import("zod").ZodString>;
|
198
|
-
notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
|
199
|
-
userId: import("zod").ZodNullable<import("zod").ZodString>;
|
200
|
-
roles: import("zod").ZodArray<import("zod").ZodObject<{
|
201
|
-
id: import("zod").ZodString;
|
202
|
-
createdAt: import("zod").ZodDate;
|
203
|
-
updatedAt: import("zod").ZodDate;
|
204
|
-
deletedAt: import("zod").ZodDate;
|
205
|
-
systemName: import("zod").ZodString;
|
206
|
-
displayName: import("zod").ZodString;
|
207
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
208
|
-
permissions: import("zod").ZodArray<import("zod").ZodObject<{
|
209
|
-
id: import("zod").ZodString;
|
210
|
-
createdAt: import("zod").ZodDate;
|
211
|
-
updatedAt: import("zod").ZodDate;
|
212
|
-
deletedAt: import("zod").ZodDate;
|
213
|
-
systemName: import("zod").ZodString;
|
214
|
-
displayName: import("zod").ZodString;
|
215
|
-
description: import("zod").ZodNullable<import("zod").ZodString>;
|
216
|
-
}, "strip", import("zod").ZodTypeAny, {
|
217
|
-
id: string;
|
218
|
-
description: string | null;
|
219
|
-
createdAt: Date;
|
220
|
-
updatedAt: Date;
|
221
|
-
deletedAt: Date;
|
222
|
-
systemName: string;
|
223
|
-
displayName: string;
|
224
|
-
}, {
|
225
|
-
id: string;
|
226
|
-
description: string | null;
|
227
|
-
createdAt: Date;
|
228
|
-
updatedAt: Date;
|
229
|
-
deletedAt: Date;
|
230
|
-
systemName: string;
|
231
|
-
displayName: string;
|
232
|
-
}>, "many">;
|
233
|
-
}, "strip", import("zod").ZodTypeAny, {
|
234
|
-
id: string;
|
235
|
-
description: string | null;
|
236
|
-
createdAt: Date;
|
237
|
-
updatedAt: Date;
|
238
|
-
deletedAt: Date;
|
239
|
-
systemName: string;
|
240
|
-
displayName: string;
|
241
|
-
permissions: {
|
242
|
-
id: string;
|
243
|
-
description: string | null;
|
244
|
-
createdAt: Date;
|
245
|
-
updatedAt: Date;
|
246
|
-
deletedAt: Date;
|
247
|
-
systemName: string;
|
248
|
-
displayName: string;
|
249
|
-
}[];
|
250
|
-
}, {
|
251
|
-
id: string;
|
252
|
-
description: string | null;
|
253
|
-
createdAt: Date;
|
254
|
-
updatedAt: Date;
|
255
|
-
deletedAt: Date;
|
256
|
-
systemName: string;
|
257
|
-
displayName: string;
|
258
|
-
permissions: {
|
259
|
-
id: string;
|
260
|
-
description: string | null;
|
261
|
-
createdAt: Date;
|
262
|
-
updatedAt: Date;
|
263
|
-
deletedAt: Date;
|
264
|
-
systemName: string;
|
265
|
-
displayName: string;
|
266
|
-
}[];
|
267
|
-
}>, "many">;
|
268
|
-
}, "strip", import("zod").ZodTypeAny, {
|
269
|
-
id: string;
|
270
|
-
address: string | null;
|
271
|
-
name: string;
|
272
|
-
email: string;
|
273
|
-
createdAt: Date;
|
274
|
-
updatedAt: Date;
|
275
|
-
deletedAt: Date;
|
276
|
-
phone: string | null;
|
277
|
-
notificationCount: number | null;
|
278
|
-
userId: string | null;
|
279
|
-
roles: {
|
280
|
-
id: string;
|
281
|
-
description: string | null;
|
282
|
-
createdAt: Date;
|
283
|
-
updatedAt: Date;
|
284
|
-
deletedAt: Date;
|
285
|
-
systemName: string;
|
286
|
-
displayName: string;
|
287
|
-
permissions: {
|
288
|
-
id: string;
|
289
|
-
description: string | null;
|
290
|
-
createdAt: Date;
|
291
|
-
updatedAt: Date;
|
292
|
-
deletedAt: Date;
|
293
|
-
systemName: string;
|
294
|
-
displayName: string;
|
295
|
-
}[];
|
296
|
-
}[];
|
297
|
-
}, {
|
298
|
-
id: string;
|
299
|
-
address: string | null;
|
300
|
-
name: string;
|
301
|
-
email: string;
|
302
|
-
createdAt: Date;
|
303
|
-
updatedAt: Date;
|
304
|
-
deletedAt: Date;
|
305
|
-
phone: string | null;
|
306
|
-
notificationCount: number | null;
|
307
|
-
userId: string | null;
|
308
|
-
roles: {
|
309
|
-
id: string;
|
310
|
-
description: string | null;
|
311
|
-
createdAt: Date;
|
312
|
-
updatedAt: Date;
|
313
|
-
deletedAt: Date;
|
314
|
-
systemName: string;
|
315
|
-
displayName: string;
|
316
|
-
permissions: {
|
317
|
-
id: string;
|
318
|
-
description: string | null;
|
319
|
-
createdAt: Date;
|
320
|
-
updatedAt: Date;
|
321
|
-
deletedAt: Date;
|
322
|
-
systemName: string;
|
323
|
-
displayName: string;
|
324
|
-
}[];
|
325
|
-
}[];
|
326
|
-
}>;
|
327
|
-
}, "strip", import("zod").ZodTypeAny, {
|
328
|
-
user: {
|
329
|
-
id: string;
|
330
|
-
address: string | null;
|
331
|
-
name: string;
|
332
|
-
email: string;
|
333
|
-
createdAt: Date;
|
334
|
-
updatedAt: Date;
|
335
|
-
deletedAt: Date;
|
336
|
-
phone: string | null;
|
337
|
-
notificationCount: number | null;
|
338
|
-
userId: string | null;
|
339
|
-
roles: {
|
340
|
-
id: string;
|
341
|
-
description: string | null;
|
342
|
-
createdAt: Date;
|
343
|
-
updatedAt: Date;
|
344
|
-
deletedAt: Date;
|
345
|
-
systemName: string;
|
346
|
-
displayName: string;
|
347
|
-
permissions: {
|
348
|
-
id: string;
|
349
|
-
description: string | null;
|
350
|
-
createdAt: Date;
|
351
|
-
updatedAt: Date;
|
352
|
-
deletedAt: Date;
|
353
|
-
systemName: string;
|
354
|
-
displayName: string;
|
355
|
-
}[];
|
356
|
-
}[];
|
357
|
-
};
|
358
|
-
requestId: string;
|
359
|
-
}, {
|
360
|
-
user: {
|
361
|
-
id: string;
|
362
|
-
address: string | null;
|
363
|
-
name: string;
|
364
|
-
email: string;
|
365
|
-
createdAt: Date;
|
366
|
-
updatedAt: Date;
|
367
|
-
deletedAt: Date;
|
368
|
-
phone: string | null;
|
369
|
-
notificationCount: number | null;
|
370
|
-
userId: string | null;
|
371
|
-
roles: {
|
372
|
-
id: string;
|
373
|
-
description: string | null;
|
374
|
-
createdAt: Date;
|
375
|
-
updatedAt: Date;
|
376
|
-
deletedAt: Date;
|
377
|
-
systemName: string;
|
378
|
-
displayName: string;
|
379
|
-
permissions: {
|
380
|
-
id: string;
|
381
|
-
description: string | null;
|
382
|
-
createdAt: Date;
|
383
|
-
updatedAt: Date;
|
384
|
-
deletedAt: Date;
|
385
|
-
systemName: string;
|
386
|
-
displayName: string;
|
387
|
-
}[];
|
388
|
-
}[];
|
389
|
-
};
|
390
|
-
requestId: string;
|
391
|
-
}>;
|
392
|
-
401: import("zod").ZodObject<{
|
393
|
-
message: import("zod").ZodString;
|
394
|
-
error: import("zod").ZodAny;
|
395
|
-
}, "strip", import("zod").ZodTypeAny, {
|
396
|
-
message: string;
|
397
|
-
error?: any;
|
398
|
-
}, {
|
399
|
-
message: string;
|
400
|
-
error?: any;
|
401
|
-
}>;
|
402
|
-
404: import("zod").ZodObject<{
|
403
|
-
message: import("zod").ZodString;
|
404
|
-
error: import("zod").ZodAny;
|
405
|
-
}, "strip", import("zod").ZodTypeAny, {
|
406
|
-
message: string;
|
407
|
-
error?: any;
|
408
|
-
}, {
|
409
|
-
message: string;
|
410
|
-
error?: any;
|
411
|
-
}>;
|
412
|
-
422: import("zod").ZodObject<{
|
413
|
-
message: import("zod").ZodString;
|
414
|
-
error: import("zod").ZodAny;
|
415
|
-
}, "strip", import("zod").ZodTypeAny, {
|
416
|
-
message: string;
|
417
|
-
error?: any;
|
418
|
-
}, {
|
419
|
-
message: string;
|
420
|
-
error?: any;
|
421
|
-
}>;
|
422
|
-
};
|
423
|
-
path: "auth/me";
|
424
|
-
headers: import("zod").ZodObject<{
|
425
|
-
'x-tenant': import("zod").ZodString;
|
426
|
-
authorization: import("zod").ZodString;
|
427
|
-
}, "strip", import("zod").ZodTypeAny, {
|
428
|
-
'x-tenant': string;
|
429
|
-
authorization: string;
|
430
|
-
}, {
|
431
|
-
'x-tenant': string;
|
432
|
-
authorization: string;
|
433
|
-
}>;
|
434
|
-
};
|
435
|
-
};
|
436
|
-
cxLog: {
|
437
|
-
findAll: {
|
438
|
-
summary: "Get all cx-logs";
|
439
|
-
method: "GET";
|
440
|
-
query: import("zod").ZodObject<{
|
441
|
-
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
442
|
-
pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
|
443
|
-
contactId: import("zod").ZodOptional<import("zod").ZodString>;
|
444
|
-
channelIds: import("zod").ZodOptional<import("zod").ZodString>;
|
445
|
-
queueIds: import("zod").ZodOptional<import("zod").ZodString>;
|
446
|
-
direction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["inbound", "outbound"]>, "many">>;
|
447
|
-
sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["positive", "negative"]>, "many">>;
|
448
|
-
csatScore: import("zod").ZodOptional<import("zod").ZodString>;
|
449
|
-
sla: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["meet", "unmeet"]>, "many">>;
|
450
|
-
caseId: import("zod").ZodOptional<import("zod").ZodString>;
|
451
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
452
|
-
email: import("zod").ZodOptional<import("zod").ZodString>;
|
453
|
-
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
454
|
-
address: import("zod").ZodOptional<import("zod").ZodString>;
|
455
|
-
company: import("zod").ZodOptional<import("zod").ZodString>;
|
456
|
-
agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
457
|
-
channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
458
|
-
disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
459
|
-
notes: import("zod").ZodOptional<import("zod").ZodString>;
|
460
|
-
contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
461
|
-
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
462
|
-
selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
|
463
|
-
customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
464
|
-
attributeId: import("zod").ZodString;
|
465
|
-
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
|
466
|
-
type: import("zod").ZodString;
|
467
|
-
}, "strip", import("zod").ZodTypeAny, {
|
468
|
-
type: string;
|
469
|
-
value: (string | string[]) & (string | string[] | undefined);
|
470
|
-
attributeId: string;
|
471
|
-
}, {
|
472
|
-
type: string;
|
473
|
-
value: (string | string[]) & (string | string[] | undefined);
|
474
|
-
attributeId: string;
|
475
|
-
}>, "many">>;
|
476
|
-
}, "strip", import("zod").ZodTypeAny, {
|
477
|
-
page: number;
|
478
|
-
pageSize: number;
|
479
|
-
contactId?: string | undefined;
|
480
|
-
channelIds?: string | undefined;
|
481
|
-
queueIds?: string | undefined;
|
482
|
-
direction?: ("inbound" | "outbound")[] | undefined;
|
483
|
-
sentimentScore?: ("positive" | "negative")[] | undefined;
|
484
|
-
csatScore?: string | undefined;
|
485
|
-
sla?: ("meet" | "unmeet")[] | undefined;
|
486
|
-
caseId?: string | undefined;
|
487
|
-
name?: string | undefined;
|
488
|
-
email?: string | undefined;
|
489
|
-
phone?: string | undefined;
|
490
|
-
address?: string | undefined;
|
491
|
-
company?: string | undefined;
|
492
|
-
agentIds?: string[] | undefined;
|
493
|
-
channel?: string[] | undefined;
|
494
|
-
disposition?: string[] | undefined;
|
495
|
-
notes?: string | undefined;
|
496
|
-
contactLabels?: string[] | undefined;
|
497
|
-
tags?: string[] | undefined;
|
498
|
-
selectedDate?: string | undefined;
|
499
|
-
customFields?: {
|
500
|
-
type: string;
|
501
|
-
value: (string | string[]) & (string | string[] | undefined);
|
502
|
-
attributeId: string;
|
503
|
-
}[] | undefined;
|
504
|
-
}, {
|
505
|
-
page?: number | undefined;
|
506
|
-
pageSize?: number | undefined;
|
507
|
-
contactId?: string | undefined;
|
508
|
-
channelIds?: string | undefined;
|
509
|
-
queueIds?: string | undefined;
|
510
|
-
direction?: ("inbound" | "outbound")[] | undefined;
|
511
|
-
sentimentScore?: ("positive" | "negative")[] | undefined;
|
512
|
-
csatScore?: string | undefined;
|
513
|
-
sla?: ("meet" | "unmeet")[] | undefined;
|
514
|
-
caseId?: string | undefined;
|
515
|
-
name?: string | undefined;
|
516
|
-
email?: string | undefined;
|
517
|
-
phone?: string | undefined;
|
518
|
-
address?: string | undefined;
|
519
|
-
company?: string | undefined;
|
520
|
-
agentIds?: string[] | undefined;
|
521
|
-
channel?: string[] | undefined;
|
522
|
-
disposition?: string[] | undefined;
|
523
|
-
notes?: string | undefined;
|
524
|
-
contactLabels?: string[] | undefined;
|
525
|
-
tags?: string[] | undefined;
|
526
|
-
selectedDate?: string | undefined;
|
527
|
-
customFields?: {
|
528
|
-
type: string;
|
529
|
-
value: (string | string[]) & (string | string[] | undefined);
|
530
|
-
attributeId: string;
|
531
|
-
}[] | undefined;
|
532
|
-
}>;
|
533
|
-
responses: {
|
534
|
-
200: import("zod").ZodObject<{
|
535
|
-
requestId: import("zod").ZodString;
|
536
|
-
total: import("zod").ZodNumber;
|
537
|
-
page: import("zod").ZodNumber;
|
538
|
-
pageSize: import("zod").ZodNumber;
|
539
|
-
cxLogs: import("zod").ZodObject<{
|
540
|
-
requestId: import("zod").ZodString;
|
541
|
-
cxLogs: import("zod").ZodArray<import("zod").ZodType<import("@app/entity/tenants").CxLog, import("zod").ZodTypeDef, import("@app/entity/tenants").CxLog>, "many">;
|
542
|
-
}, "strip", import("zod").ZodTypeAny, {
|
543
|
-
requestId: string;
|
544
|
-
cxLogs: import("@app/entity/tenants").CxLog[];
|
545
|
-
}, {
|
546
|
-
requestId: string;
|
547
|
-
cxLogs: import("@app/entity/tenants").CxLog[];
|
548
|
-
}>;
|
549
|
-
}, "strip", import("zod").ZodTypeAny, {
|
550
|
-
total: number;
|
551
|
-
page: number;
|
552
|
-
pageSize: number;
|
553
|
-
requestId: string;
|
554
|
-
cxLogs: {
|
555
|
-
requestId: string;
|
556
|
-
cxLogs: import("@app/entity/tenants").CxLog[];
|
557
|
-
};
|
558
|
-
}, {
|
559
|
-
total: number;
|
560
|
-
page: number;
|
561
|
-
pageSize: number;
|
562
|
-
requestId: string;
|
563
|
-
cxLogs: {
|
564
|
-
requestId: string;
|
565
|
-
cxLogs: import("@app/entity/tenants").CxLog[];
|
566
|
-
};
|
567
|
-
}>;
|
568
|
-
401: import("zod").ZodObject<{
|
569
|
-
message: import("zod").ZodString;
|
570
|
-
error: import("zod").ZodAny;
|
571
|
-
}, "strip", import("zod").ZodTypeAny, {
|
572
|
-
message: string;
|
573
|
-
error?: any;
|
574
|
-
}, {
|
575
|
-
message: string;
|
576
|
-
error?: any;
|
577
|
-
}>;
|
578
|
-
};
|
579
|
-
path: "/cx-logs";
|
580
|
-
headers: import("zod").ZodObject<{
|
581
|
-
'x-tenant': import("zod").ZodString;
|
582
|
-
authorization: import("zod").ZodString;
|
583
|
-
}, "strip", import("zod").ZodTypeAny, {
|
584
|
-
'x-tenant': string;
|
585
|
-
authorization: string;
|
586
|
-
}, {
|
587
|
-
'x-tenant': string;
|
588
|
-
authorization: string;
|
589
|
-
}>;
|
590
|
-
};
|
591
|
-
};
|
592
|
-
};
|
593
|
-
//# sourceMappingURL=contract.d.ts.map
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const CxLogSchema: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
createdAt: z.ZodDate;
|
5
|
-
updatedAt: z.ZodDate;
|
6
|
-
deletedAt: z.ZodDate;
|
7
|
-
caseId: z.ZodNumber;
|
8
|
-
entityId: z.ZodString;
|
9
|
-
entityName: z.ZodString;
|
10
|
-
contactId: z.ZodNullable<z.ZodString>;
|
11
|
-
channel: z.ZodNullable<z.ZodString>;
|
12
|
-
queueId: z.ZodNullable<z.ZodString>;
|
13
|
-
agentId: z.ZodNullable<z.ZodString>;
|
14
|
-
direction: z.ZodNullable<z.ZodString>;
|
15
|
-
startedDate: z.ZodNullable<z.ZodDate>;
|
16
|
-
handledTime: z.ZodNullable<z.ZodNumber>;
|
17
|
-
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
18
|
-
disposition: z.ZodNullable<z.ZodString>;
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
20
|
-
id: string;
|
21
|
-
channel: string | null;
|
22
|
-
disposition: string | null;
|
23
|
-
direction: string | null;
|
24
|
-
createdAt: Date;
|
25
|
-
updatedAt: Date;
|
26
|
-
deletedAt: Date;
|
27
|
-
caseId: number;
|
28
|
-
entityId: string;
|
29
|
-
entityName: string;
|
30
|
-
contactId: string | null;
|
31
|
-
queueId: string | null;
|
32
|
-
agentId: string | null;
|
33
|
-
startedDate: Date | null;
|
34
|
-
handledTime: number | null;
|
35
|
-
firstResponseTime: number | null;
|
36
|
-
}, {
|
37
|
-
id: string;
|
38
|
-
channel: string | null;
|
39
|
-
disposition: string | null;
|
40
|
-
direction: string | null;
|
41
|
-
createdAt: Date;
|
42
|
-
updatedAt: Date;
|
43
|
-
deletedAt: Date;
|
44
|
-
caseId: number;
|
45
|
-
entityId: string;
|
46
|
-
entityName: string;
|
47
|
-
contactId: string | null;
|
48
|
-
queueId: string | null;
|
49
|
-
agentId: string | null;
|
50
|
-
startedDate: Date | null;
|
51
|
-
handledTime: number | null;
|
52
|
-
firstResponseTime: number | null;
|
53
|
-
}>;
|
54
|
-
//# sourceMappingURL=cx-log-schema.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"cx-log-schema.d.ts","sourceRoot":"","sources":["../../../../src/cx-log/cx-log-schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAatB,CAAC"}
|