@kl1/contracts 1.2.27-uat → 1.2.28-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +148 -164
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +47 -51
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +31 -43
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +2 -3
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +6 -8
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +13 -17
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +109 -118
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +2 -3
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1216 -1062
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +50 -38
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +66 -52
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +14158 -10902
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3223 -2468
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3259 -2794
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +224 -281
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +50 -68
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +109 -136
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +24 -33
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +62 -78
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +559 -677
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +42 -56
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +218 -299
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +28558 -25032
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +651 -678
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +425 -457
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +333 -374
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +3 -4
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +112 -118
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +2367 -1871
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +74 -76
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +86 -96
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +2 -3
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +160 -39
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +27 -3
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
- package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +2302 -1815
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +3429 -2954
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +11 -12
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +114 -103
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +416 -461
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +65 -88
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -22
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +10 -15
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2060 -1575
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +86 -96
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +12 -16
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +196 -260
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +83 -88
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +174 -155
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +54 -76
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +49 -71
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +60 -90
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +72 -79
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2165 -1706
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +54 -58
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1137 -1202
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +166 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +626 -725
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +58 -81
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +34 -36
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +2 -3
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +108 -114
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +4 -5
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +2 -3
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1799 -1340
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +8313 -6832
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1781 -1309
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +128 -139
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +2 -3
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2013 -1696
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +3 -4
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +3245 -3172
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3245 -3172
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -30,10 +30,9 @@ export declare const telephonyCdrContract: {
|
|
30
30
|
findAll: {
|
31
31
|
summary: "Get all telephony cdr.";
|
32
32
|
method: "GET";
|
33
|
-
query: z.ZodObject<
|
33
|
+
query: z.ZodObject<{
|
34
34
|
page: z.ZodDefault<z.ZodNumber>;
|
35
35
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
36
|
-
}, {
|
37
36
|
selectedDate: z.ZodOptional<z.ZodString>;
|
38
37
|
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
39
38
|
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -45,65 +44,46 @@ export declare const telephonyCdrContract: {
|
|
45
44
|
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
46
45
|
agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
|
47
46
|
contactId: z.ZodOptional<z.ZodString>;
|
48
|
-
}
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
49
48
|
page: number;
|
50
49
|
pageSize: number;
|
50
|
+
selectedDate?: string | undefined;
|
51
51
|
type?: string[] | undefined;
|
52
52
|
status?: string[] | undefined;
|
53
|
-
userId?: string | undefined;
|
54
53
|
callFrom?: string | undefined;
|
55
54
|
callTo?: string | undefined;
|
56
|
-
contactId?: string | undefined;
|
57
|
-
selectedDate?: string | undefined;
|
58
|
-
agentIds?: string[] | undefined;
|
59
55
|
trunk?: string[] | undefined;
|
56
|
+
userId?: string | undefined;
|
60
57
|
queueStatus?: string | undefined;
|
58
|
+
agentIds?: string[] | undefined;
|
61
59
|
agentCallsOnly?: boolean | undefined;
|
60
|
+
contactId?: string | undefined;
|
62
61
|
}, {
|
63
|
-
type?: string[] | undefined;
|
64
62
|
page?: number | undefined;
|
65
|
-
status?: string[] | undefined;
|
66
63
|
pageSize?: number | undefined;
|
67
|
-
|
64
|
+
selectedDate?: string | undefined;
|
65
|
+
type?: string[] | undefined;
|
66
|
+
status?: string[] | undefined;
|
68
67
|
callFrom?: string | undefined;
|
69
68
|
callTo?: string | undefined;
|
70
|
-
contactId?: string | undefined;
|
71
|
-
selectedDate?: string | undefined;
|
72
|
-
agentIds?: string[] | undefined;
|
73
69
|
trunk?: string[] | undefined;
|
70
|
+
userId?: string | undefined;
|
74
71
|
queueStatus?: string | undefined;
|
72
|
+
agentIds?: string[] | undefined;
|
75
73
|
agentCallsOnly?: boolean | undefined;
|
74
|
+
contactId?: string | undefined;
|
76
75
|
}>;
|
77
|
-
path: "telephony-cdr/";
|
78
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
79
|
-
'x-tenant': z.ZodString;
|
80
|
-
authorization: z.ZodString;
|
81
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
82
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
84
|
-
'x-tenant': string;
|
85
|
-
authorization: string;
|
86
|
-
'x-client-timezone': string;
|
87
|
-
'x-code'?: string | undefined;
|
88
|
-
}, {
|
89
|
-
'x-tenant': string;
|
90
|
-
authorization: string;
|
91
|
-
'x-code'?: string | undefined;
|
92
|
-
'x-client-timezone'?: string | undefined;
|
93
|
-
}>>>;
|
94
76
|
responses: {
|
95
|
-
200: z.ZodObject<
|
77
|
+
200: z.ZodObject<{
|
96
78
|
requestId: z.ZodString;
|
97
|
-
}, {
|
98
79
|
total: z.ZodNumber;
|
99
80
|
page: z.ZodNumber;
|
100
81
|
pageSize: z.ZodNumber;
|
101
|
-
telephonyCdrs: z.ZodArray<z.ZodObject<
|
82
|
+
telephonyCdrs: z.ZodArray<z.ZodObject<{
|
102
83
|
id: z.ZodString;
|
103
84
|
createdAt: z.ZodDate;
|
104
85
|
updatedAt: z.ZodDate;
|
105
86
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
106
|
-
}, {
|
107
87
|
uniqueCallId: z.ZodString;
|
108
88
|
timeStart: z.ZodString;
|
109
89
|
callFrom: z.ZodString;
|
@@ -123,14 +103,13 @@ export declare const telephonyCdrContract: {
|
|
123
103
|
notes: z.ZodNullable<z.ZodString>;
|
124
104
|
contactProfile: z.ZodNullable<z.ZodString>;
|
125
105
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
126
|
-
tags: z.ZodArray<z.ZodObject<
|
106
|
+
tags: z.ZodArray<z.ZodObject<{
|
127
107
|
id: z.ZodString;
|
128
108
|
createdAt: z.ZodDate;
|
129
109
|
updatedAt: z.ZodDate;
|
130
110
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
131
|
-
}, {
|
132
111
|
name: z.ZodString;
|
133
|
-
}
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
134
113
|
name: string;
|
135
114
|
id: string;
|
136
115
|
createdAt: Date;
|
@@ -143,32 +122,29 @@ export declare const telephonyCdrContract: {
|
|
143
122
|
updatedAt: Date;
|
144
123
|
deletedAt: Date | null;
|
145
124
|
}>, "many">;
|
146
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
125
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
147
126
|
id: z.ZodString;
|
148
127
|
createdAt: z.ZodDate;
|
149
128
|
updatedAt: z.ZodDate;
|
150
129
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
151
|
-
}, {
|
152
130
|
name: z.ZodOptional<z.ZodString>;
|
153
131
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
154
132
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
155
133
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
156
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
134
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
157
135
|
id: z.ZodString;
|
158
136
|
createdAt: z.ZodDate;
|
159
137
|
updatedAt: z.ZodDate;
|
160
138
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
161
|
-
}, {
|
162
139
|
textValue: z.ZodNullable<z.ZodString>;
|
163
140
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
164
141
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
165
142
|
dateValue: z.ZodNullable<z.ZodDate>;
|
166
|
-
attribute: z.ZodObject<Omit<
|
143
|
+
attribute: z.ZodObject<Omit<{
|
167
144
|
id: z.ZodString;
|
168
145
|
createdAt: z.ZodDate;
|
169
146
|
updatedAt: z.ZodDate;
|
170
147
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
171
|
-
}, {
|
172
148
|
systemName: z.ZodString;
|
173
149
|
displayName: z.ZodString;
|
174
150
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -177,14 +153,13 @@ export declare const telephonyCdrContract: {
|
|
177
153
|
isArchived: z.ZodBoolean;
|
178
154
|
isRequired: z.ZodBoolean;
|
179
155
|
isUnique: z.ZodBoolean;
|
180
|
-
options: z.ZodArray<z.ZodObject<
|
181
|
-
|
156
|
+
options: z.ZodArray<z.ZodObject<{
|
157
|
+
position: z.ZodNumber;
|
182
158
|
value: z.ZodString;
|
159
|
+
label: z.ZodString;
|
183
160
|
isDefault: z.ZodBoolean;
|
184
|
-
position: z.ZodNumber;
|
185
|
-
}, {
|
186
161
|
id: z.ZodString;
|
187
|
-
}
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
188
163
|
id: string;
|
189
164
|
position: number;
|
190
165
|
value: string;
|
@@ -197,15 +172,14 @@ export declare const telephonyCdrContract: {
|
|
197
172
|
label: string;
|
198
173
|
isDefault: boolean;
|
199
174
|
}>, "many">;
|
200
|
-
group: z.ZodObject<
|
175
|
+
group: z.ZodObject<{
|
201
176
|
id: z.ZodString;
|
202
177
|
createdAt: z.ZodDate;
|
203
178
|
updatedAt: z.ZodDate;
|
204
179
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
205
|
-
}, {
|
206
180
|
systemName: z.ZodString;
|
207
181
|
displayName: z.ZodString;
|
208
|
-
}
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
209
183
|
id: string;
|
210
184
|
createdAt: Date;
|
211
185
|
updatedAt: Date;
|
@@ -220,7 +194,7 @@ export declare const telephonyCdrContract: {
|
|
220
194
|
systemName: string;
|
221
195
|
displayName: string;
|
222
196
|
}>;
|
223
|
-
}
|
197
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
224
198
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
225
199
|
id: string;
|
226
200
|
position: number;
|
@@ -247,7 +221,7 @@ export declare const telephonyCdrContract: {
|
|
247
221
|
isRequired: boolean;
|
248
222
|
isUnique: boolean;
|
249
223
|
}>;
|
250
|
-
}
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
251
225
|
id: string;
|
252
226
|
createdAt: Date;
|
253
227
|
updatedAt: Date;
|
@@ -294,7 +268,7 @@ export declare const telephonyCdrContract: {
|
|
294
268
|
numberValue: number | null;
|
295
269
|
dateValue: Date | null;
|
296
270
|
}>, "many">>;
|
297
|
-
}
|
271
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
298
272
|
id: string;
|
299
273
|
createdAt: Date;
|
300
274
|
updatedAt: Date;
|
@@ -375,12 +349,11 @@ export declare const telephonyCdrContract: {
|
|
375
349
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
376
350
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
377
351
|
dateValue: z.ZodNullable<z.ZodDate>;
|
378
|
-
attribute: z.ZodObject<Omit<
|
352
|
+
attribute: z.ZodObject<Omit<{
|
379
353
|
id: z.ZodString;
|
380
354
|
createdAt: z.ZodDate;
|
381
355
|
updatedAt: z.ZodDate;
|
382
356
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
383
|
-
}, {
|
384
357
|
systemName: z.ZodString;
|
385
358
|
displayName: z.ZodString;
|
386
359
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -389,14 +362,13 @@ export declare const telephonyCdrContract: {
|
|
389
362
|
isArchived: z.ZodBoolean;
|
390
363
|
isRequired: z.ZodBoolean;
|
391
364
|
isUnique: z.ZodBoolean;
|
392
|
-
options: z.ZodArray<z.ZodObject<
|
393
|
-
|
365
|
+
options: z.ZodArray<z.ZodObject<{
|
366
|
+
position: z.ZodNumber;
|
394
367
|
value: z.ZodString;
|
368
|
+
label: z.ZodString;
|
395
369
|
isDefault: z.ZodBoolean;
|
396
|
-
position: z.ZodNumber;
|
397
|
-
}, {
|
398
370
|
id: z.ZodString;
|
399
|
-
}
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
400
372
|
id: string;
|
401
373
|
position: number;
|
402
374
|
value: string;
|
@@ -409,15 +381,14 @@ export declare const telephonyCdrContract: {
|
|
409
381
|
label: string;
|
410
382
|
isDefault: boolean;
|
411
383
|
}>, "many">;
|
412
|
-
group: z.ZodObject<
|
384
|
+
group: z.ZodObject<{
|
413
385
|
id: z.ZodString;
|
414
386
|
createdAt: z.ZodDate;
|
415
387
|
updatedAt: z.ZodDate;
|
416
388
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
417
|
-
}, {
|
418
389
|
systemName: z.ZodString;
|
419
390
|
displayName: z.ZodString;
|
420
|
-
}
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
421
392
|
id: string;
|
422
393
|
createdAt: Date;
|
423
394
|
updatedAt: Date;
|
@@ -432,7 +403,7 @@ export declare const telephonyCdrContract: {
|
|
432
403
|
systemName: string;
|
433
404
|
displayName: string;
|
434
405
|
}>;
|
435
|
-
}
|
406
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
436
407
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
437
408
|
id: string;
|
438
409
|
position: number;
|
@@ -459,19 +430,18 @@ export declare const telephonyCdrContract: {
|
|
459
430
|
isRequired: boolean;
|
460
431
|
isUnique: boolean;
|
461
432
|
}>;
|
462
|
-
uploads: z.ZodArray<z.ZodObject<
|
433
|
+
uploads: z.ZodArray<z.ZodObject<{
|
463
434
|
id: z.ZodString;
|
464
435
|
createdAt: z.ZodDate;
|
465
436
|
updatedAt: z.ZodDate;
|
466
437
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
467
|
-
}, {
|
468
438
|
bucketName: z.ZodString;
|
469
439
|
fileName: z.ZodString;
|
470
440
|
fileSize: z.ZodNumber;
|
471
441
|
fileKey: z.ZodString;
|
472
442
|
fileUrl: z.ZodNullable<z.ZodString>;
|
473
443
|
status: z.ZodNullable<z.ZodString>;
|
474
|
-
}
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
475
445
|
id: string;
|
476
446
|
status: string | null;
|
477
447
|
createdAt: Date;
|
@@ -892,17 +862,16 @@ export declare const telephonyCdrContract: {
|
|
892
862
|
};
|
893
863
|
}[] | undefined;
|
894
864
|
}>>;
|
895
|
-
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
865
|
+
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
896
866
|
id: z.ZodString;
|
897
867
|
createdAt: z.ZodDate;
|
898
868
|
updatedAt: z.ZodDate;
|
899
869
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
900
|
-
}, {
|
901
870
|
queueId: z.ZodNumber;
|
902
871
|
queueName: z.ZodString;
|
903
872
|
queueNumber: z.ZodString;
|
904
873
|
maximumWaitingTime: z.ZodNumber;
|
905
|
-
}
|
874
|
+
}, "strip", z.ZodTypeAny, {
|
906
875
|
id: string;
|
907
876
|
createdAt: Date;
|
908
877
|
updatedAt: Date;
|
@@ -929,19 +898,18 @@ export declare const telephonyCdrContract: {
|
|
929
898
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
930
899
|
uploadId: z.ZodNullable<z.ZodString>;
|
931
900
|
serialNumber: z.ZodNullable<z.ZodString>;
|
932
|
-
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
901
|
+
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
933
902
|
id: z.ZodString;
|
934
903
|
createdAt: z.ZodDate;
|
935
904
|
updatedAt: z.ZodDate;
|
936
905
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
937
|
-
}, {
|
938
906
|
bucketName: z.ZodString;
|
939
907
|
fileName: z.ZodString;
|
940
908
|
fileSize: z.ZodNumber;
|
941
909
|
fileKey: z.ZodString;
|
942
910
|
fileUrl: z.ZodNullable<z.ZodString>;
|
943
911
|
status: z.ZodNullable<z.ZodString>;
|
944
|
-
}
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
945
913
|
id: string;
|
946
914
|
status: string | null;
|
947
915
|
createdAt: Date;
|
@@ -1376,7 +1344,7 @@ export declare const telephonyCdrContract: {
|
|
1376
1344
|
updatedAt?: string | undefined;
|
1377
1345
|
}>>>;
|
1378
1346
|
}, "strip", z.ZodTypeAny, {
|
1379
|
-
|
1347
|
+
callTo?: {
|
1380
1348
|
id: string;
|
1381
1349
|
user: {
|
1382
1350
|
name: string;
|
@@ -1402,7 +1370,7 @@ export declare const telephonyCdrContract: {
|
|
1402
1370
|
createdAt?: string | undefined;
|
1403
1371
|
updatedAt?: string | undefined;
|
1404
1372
|
} | null | undefined;
|
1405
|
-
|
1373
|
+
callFrom?: {
|
1406
1374
|
id: string;
|
1407
1375
|
user: {
|
1408
1376
|
name: string;
|
@@ -1429,7 +1397,7 @@ export declare const telephonyCdrContract: {
|
|
1429
1397
|
updatedAt?: string | undefined;
|
1430
1398
|
} | null | undefined;
|
1431
1399
|
}, {
|
1432
|
-
|
1400
|
+
callTo?: {
|
1433
1401
|
id: string;
|
1434
1402
|
user: {
|
1435
1403
|
name: string;
|
@@ -1455,7 +1423,7 @@ export declare const telephonyCdrContract: {
|
|
1455
1423
|
createdAt?: string | undefined;
|
1456
1424
|
updatedAt?: string | undefined;
|
1457
1425
|
} | null | undefined;
|
1458
|
-
|
1426
|
+
callFrom?: {
|
1459
1427
|
id: string;
|
1460
1428
|
user: {
|
1461
1429
|
name: string;
|
@@ -1484,7 +1452,7 @@ export declare const telephonyCdrContract: {
|
|
1484
1452
|
}>>;
|
1485
1453
|
isQueueMissedCall: z.ZodBoolean;
|
1486
1454
|
extensionId: z.ZodNullable<z.ZodString>;
|
1487
|
-
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
1455
|
+
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1488
1456
|
id: z.ZodString;
|
1489
1457
|
createdAt: z.ZodDate;
|
1490
1458
|
updatedAt: z.ZodDate;
|
@@ -1496,7 +1464,6 @@ export declare const telephonyCdrContract: {
|
|
1496
1464
|
extensionId: z.ZodNullable<z.ZodString>;
|
1497
1465
|
extensionName: z.ZodString;
|
1498
1466
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
1499
|
-
}, {
|
1500
1467
|
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1501
1468
|
id: z.ZodString;
|
1502
1469
|
createdAt: z.ZodDate;
|
@@ -1701,7 +1668,7 @@ export declare const telephonyCdrContract: {
|
|
1701
1668
|
telephonySignature: string | null;
|
1702
1669
|
};
|
1703
1670
|
}>>>;
|
1704
|
-
}
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
1705
1672
|
id: string;
|
1706
1673
|
createdAt: Date;
|
1707
1674
|
updatedAt: Date;
|
@@ -1816,7 +1783,7 @@ export declare const telephonyCdrContract: {
|
|
1816
1783
|
}>>>;
|
1817
1784
|
telephonyQueueId: z.ZodNullable<z.ZodString>;
|
1818
1785
|
contactId: z.ZodNullable<z.ZodString>;
|
1819
|
-
}
|
1786
|
+
}, "strip", z.ZodTypeAny, {
|
1820
1787
|
type: string;
|
1821
1788
|
id: string;
|
1822
1789
|
recording: string | null;
|
@@ -1839,7 +1806,7 @@ export declare const telephonyCdrContract: {
|
|
1839
1806
|
uploadId: string | null;
|
1840
1807
|
serialNumber: string | null;
|
1841
1808
|
callParticipants: {
|
1842
|
-
|
1809
|
+
callTo?: {
|
1843
1810
|
id: string;
|
1844
1811
|
user: {
|
1845
1812
|
name: string;
|
@@ -1865,7 +1832,7 @@ export declare const telephonyCdrContract: {
|
|
1865
1832
|
createdAt?: string | undefined;
|
1866
1833
|
updatedAt?: string | undefined;
|
1867
1834
|
} | null | undefined;
|
1868
|
-
|
1835
|
+
callFrom?: {
|
1869
1836
|
id: string;
|
1870
1837
|
user: {
|
1871
1838
|
name: string;
|
@@ -1895,63 +1862,6 @@ export declare const telephonyCdrContract: {
|
|
1895
1862
|
isQueueMissedCall: boolean;
|
1896
1863
|
telephonyQueueId: string | null;
|
1897
1864
|
contactId: string | null;
|
1898
|
-
extension?: {
|
1899
|
-
id: string;
|
1900
|
-
createdAt: Date;
|
1901
|
-
updatedAt: Date;
|
1902
|
-
deletedAt: Date | null;
|
1903
|
-
userId: string | null;
|
1904
|
-
sipServerUrl: string;
|
1905
|
-
sipUserName: string;
|
1906
|
-
webphoneLoginUser: string;
|
1907
|
-
extensionId: string | null;
|
1908
|
-
extensionName: string;
|
1909
|
-
telephonySignature: string | null;
|
1910
|
-
user?: {
|
1911
|
-
name: string;
|
1912
|
-
id: string;
|
1913
|
-
address: string | null;
|
1914
|
-
email: string;
|
1915
|
-
createdAt: Date;
|
1916
|
-
updatedAt: Date;
|
1917
|
-
deletedAt: Date | null;
|
1918
|
-
emailVerifiedAt: Date | null;
|
1919
|
-
password: string;
|
1920
|
-
phone: string | null;
|
1921
|
-
notificationCount: number | null;
|
1922
|
-
roles: {
|
1923
|
-
id: string;
|
1924
|
-
description: string | null;
|
1925
|
-
createdAt: Date;
|
1926
|
-
updatedAt: Date;
|
1927
|
-
deletedAt: Date | null;
|
1928
|
-
systemName: string;
|
1929
|
-
displayName: string;
|
1930
|
-
permissions: {
|
1931
|
-
id: string;
|
1932
|
-
description: string | null;
|
1933
|
-
createdAt: Date;
|
1934
|
-
updatedAt: Date;
|
1935
|
-
deletedAt: Date | null;
|
1936
|
-
systemName: string;
|
1937
|
-
displayName: string;
|
1938
|
-
}[];
|
1939
|
-
}[];
|
1940
|
-
extension: {
|
1941
|
-
id: string;
|
1942
|
-
createdAt: Date;
|
1943
|
-
updatedAt: Date;
|
1944
|
-
deletedAt: Date | null;
|
1945
|
-
userId: string | null;
|
1946
|
-
sipServerUrl: string;
|
1947
|
-
sipUserName: string;
|
1948
|
-
webphoneLoginUser: string;
|
1949
|
-
extensionId: string | null;
|
1950
|
-
extensionName: string;
|
1951
|
-
telephonySignature: string | null;
|
1952
|
-
};
|
1953
|
-
} | null | undefined;
|
1954
|
-
} | null | undefined;
|
1955
1865
|
contact?: {
|
1956
1866
|
name: string;
|
1957
1867
|
id: string;
|
@@ -2086,6 +1996,63 @@ export declare const telephonyCdrContract: {
|
|
2086
1996
|
fileSize: number;
|
2087
1997
|
fileUrl: string | null;
|
2088
1998
|
} | null | undefined;
|
1999
|
+
extension?: {
|
2000
|
+
id: string;
|
2001
|
+
createdAt: Date;
|
2002
|
+
updatedAt: Date;
|
2003
|
+
deletedAt: Date | null;
|
2004
|
+
userId: string | null;
|
2005
|
+
sipServerUrl: string;
|
2006
|
+
sipUserName: string;
|
2007
|
+
webphoneLoginUser: string;
|
2008
|
+
extensionId: string | null;
|
2009
|
+
extensionName: string;
|
2010
|
+
telephonySignature: string | null;
|
2011
|
+
user?: {
|
2012
|
+
name: string;
|
2013
|
+
id: string;
|
2014
|
+
address: string | null;
|
2015
|
+
email: string;
|
2016
|
+
createdAt: Date;
|
2017
|
+
updatedAt: Date;
|
2018
|
+
deletedAt: Date | null;
|
2019
|
+
emailVerifiedAt: Date | null;
|
2020
|
+
password: string;
|
2021
|
+
phone: string | null;
|
2022
|
+
notificationCount: number | null;
|
2023
|
+
roles: {
|
2024
|
+
id: string;
|
2025
|
+
description: string | null;
|
2026
|
+
createdAt: Date;
|
2027
|
+
updatedAt: Date;
|
2028
|
+
deletedAt: Date | null;
|
2029
|
+
systemName: string;
|
2030
|
+
displayName: string;
|
2031
|
+
permissions: {
|
2032
|
+
id: string;
|
2033
|
+
description: string | null;
|
2034
|
+
createdAt: Date;
|
2035
|
+
updatedAt: Date;
|
2036
|
+
deletedAt: Date | null;
|
2037
|
+
systemName: string;
|
2038
|
+
displayName: string;
|
2039
|
+
}[];
|
2040
|
+
}[];
|
2041
|
+
extension: {
|
2042
|
+
id: string;
|
2043
|
+
createdAt: Date;
|
2044
|
+
updatedAt: Date;
|
2045
|
+
deletedAt: Date | null;
|
2046
|
+
userId: string | null;
|
2047
|
+
sipServerUrl: string;
|
2048
|
+
sipUserName: string;
|
2049
|
+
webphoneLoginUser: string;
|
2050
|
+
extensionId: string | null;
|
2051
|
+
extensionName: string;
|
2052
|
+
telephonySignature: string | null;
|
2053
|
+
};
|
2054
|
+
} | null | undefined;
|
2055
|
+
} | null | undefined;
|
2089
2056
|
}, {
|
2090
2057
|
type: string;
|
2091
2058
|
id: string;
|
@@ -2109,7 +2076,7 @@ export declare const telephonyCdrContract: {
|
|
2109
2076
|
uploadId: string | null;
|
2110
2077
|
serialNumber: string | null;
|
2111
2078
|
callParticipants: {
|
2112
|
-
|
2079
|
+
callTo?: {
|
2113
2080
|
id: string;
|
2114
2081
|
user: {
|
2115
2082
|
name: string;
|
@@ -2135,7 +2102,7 @@ export declare const telephonyCdrContract: {
|
|
2135
2102
|
createdAt?: string | undefined;
|
2136
2103
|
updatedAt?: string | undefined;
|
2137
2104
|
} | null | undefined;
|
2138
|
-
|
2105
|
+
callFrom?: {
|
2139
2106
|
id: string;
|
2140
2107
|
user: {
|
2141
2108
|
name: string;
|
@@ -2165,97 +2132,40 @@ export declare const telephonyCdrContract: {
|
|
2165
2132
|
isQueueMissedCall: boolean;
|
2166
2133
|
telephonyQueueId: string | null;
|
2167
2134
|
contactId: string | null;
|
2168
|
-
|
2135
|
+
contact?: {
|
2136
|
+
name: string;
|
2169
2137
|
id: string;
|
2138
|
+
channel: string | null;
|
2139
|
+
address: string | null;
|
2170
2140
|
createdAt: Date;
|
2171
2141
|
updatedAt: Date;
|
2172
2142
|
deletedAt: Date | null;
|
2173
|
-
|
2174
|
-
sipServerUrl: string;
|
2175
|
-
sipUserName: string;
|
2176
|
-
webphoneLoginUser: string;
|
2177
|
-
extensionId: string | null;
|
2178
|
-
extensionName: string;
|
2179
|
-
telephonySignature: string | null;
|
2180
|
-
user?: {
|
2181
|
-
name: string;
|
2143
|
+
customFields: {
|
2182
2144
|
id: string;
|
2183
|
-
address: string | null;
|
2184
|
-
email: string;
|
2185
2145
|
createdAt: Date;
|
2186
2146
|
updatedAt: Date;
|
2187
2147
|
deletedAt: Date | null;
|
2188
|
-
|
2189
|
-
|
2190
|
-
phone: string | null;
|
2191
|
-
notificationCount: number | null;
|
2192
|
-
roles: {
|
2148
|
+
attribute: {
|
2149
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2193
2150
|
id: string;
|
2194
|
-
|
2151
|
+
position: number;
|
2195
2152
|
createdAt: Date;
|
2196
2153
|
updatedAt: Date;
|
2197
2154
|
deletedAt: Date | null;
|
2198
2155
|
systemName: string;
|
2199
2156
|
displayName: string;
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2204
|
-
|
2205
|
-
|
2206
|
-
|
2207
|
-
|
2208
|
-
|
2209
|
-
|
2210
|
-
extension: {
|
2157
|
+
isDefault: boolean;
|
2158
|
+
isArchived: boolean;
|
2159
|
+
isRequired: boolean;
|
2160
|
+
isUnique: boolean;
|
2161
|
+
};
|
2162
|
+
textValue: string | null;
|
2163
|
+
booleanValue: boolean | null;
|
2164
|
+
numberValue: number | null;
|
2165
|
+
dateValue: Date | null;
|
2166
|
+
uploads: {
|
2211
2167
|
id: string;
|
2212
|
-
|
2213
|
-
updatedAt: Date;
|
2214
|
-
deletedAt: Date | null;
|
2215
|
-
userId: string | null;
|
2216
|
-
sipServerUrl: string;
|
2217
|
-
sipUserName: string;
|
2218
|
-
webphoneLoginUser: string;
|
2219
|
-
extensionId: string | null;
|
2220
|
-
extensionName: string;
|
2221
|
-
telephonySignature: string | null;
|
2222
|
-
};
|
2223
|
-
} | null | undefined;
|
2224
|
-
} | null | undefined;
|
2225
|
-
contact?: {
|
2226
|
-
name: string;
|
2227
|
-
id: string;
|
2228
|
-
channel: string | null;
|
2229
|
-
address: string | null;
|
2230
|
-
createdAt: Date;
|
2231
|
-
updatedAt: Date;
|
2232
|
-
deletedAt: Date | null;
|
2233
|
-
customFields: {
|
2234
|
-
id: string;
|
2235
|
-
createdAt: Date;
|
2236
|
-
updatedAt: Date;
|
2237
|
-
deletedAt: Date | null;
|
2238
|
-
attribute: {
|
2239
|
-
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2240
|
-
id: string;
|
2241
|
-
position: number;
|
2242
|
-
createdAt: Date;
|
2243
|
-
updatedAt: Date;
|
2244
|
-
deletedAt: Date | null;
|
2245
|
-
systemName: string;
|
2246
|
-
displayName: string;
|
2247
|
-
isDefault: boolean;
|
2248
|
-
isArchived: boolean;
|
2249
|
-
isRequired: boolean;
|
2250
|
-
isUnique: boolean;
|
2251
|
-
};
|
2252
|
-
textValue: string | null;
|
2253
|
-
booleanValue: boolean | null;
|
2254
|
-
numberValue: number | null;
|
2255
|
-
dateValue: Date | null;
|
2256
|
-
uploads: {
|
2257
|
-
id: string;
|
2258
|
-
status: string | null;
|
2168
|
+
status: string | null;
|
2259
2169
|
createdAt: Date;
|
2260
2170
|
updatedAt: Date;
|
2261
2171
|
deletedAt: Date | null;
|
@@ -2356,8 +2266,65 @@ export declare const telephonyCdrContract: {
|
|
2356
2266
|
fileSize: number;
|
2357
2267
|
fileUrl: string | null;
|
2358
2268
|
} | null | undefined;
|
2269
|
+
extension?: {
|
2270
|
+
id: string;
|
2271
|
+
createdAt: Date;
|
2272
|
+
updatedAt: Date;
|
2273
|
+
deletedAt: Date | null;
|
2274
|
+
userId: string | null;
|
2275
|
+
sipServerUrl: string;
|
2276
|
+
sipUserName: string;
|
2277
|
+
webphoneLoginUser: string;
|
2278
|
+
extensionId: string | null;
|
2279
|
+
extensionName: string;
|
2280
|
+
telephonySignature: string | null;
|
2281
|
+
user?: {
|
2282
|
+
name: string;
|
2283
|
+
id: string;
|
2284
|
+
address: string | null;
|
2285
|
+
email: string;
|
2286
|
+
createdAt: Date;
|
2287
|
+
updatedAt: Date;
|
2288
|
+
deletedAt: Date | null;
|
2289
|
+
emailVerifiedAt: Date | null;
|
2290
|
+
password: string;
|
2291
|
+
phone: string | null;
|
2292
|
+
notificationCount: number | null;
|
2293
|
+
roles: {
|
2294
|
+
id: string;
|
2295
|
+
description: string | null;
|
2296
|
+
createdAt: Date;
|
2297
|
+
updatedAt: Date;
|
2298
|
+
deletedAt: Date | null;
|
2299
|
+
systemName: string;
|
2300
|
+
displayName: string;
|
2301
|
+
permissions: {
|
2302
|
+
id: string;
|
2303
|
+
description: string | null;
|
2304
|
+
createdAt: Date;
|
2305
|
+
updatedAt: Date;
|
2306
|
+
deletedAt: Date | null;
|
2307
|
+
systemName: string;
|
2308
|
+
displayName: string;
|
2309
|
+
}[];
|
2310
|
+
}[];
|
2311
|
+
extension: {
|
2312
|
+
id: string;
|
2313
|
+
createdAt: Date;
|
2314
|
+
updatedAt: Date;
|
2315
|
+
deletedAt: Date | null;
|
2316
|
+
userId: string | null;
|
2317
|
+
sipServerUrl: string;
|
2318
|
+
sipUserName: string;
|
2319
|
+
webphoneLoginUser: string;
|
2320
|
+
extensionId: string | null;
|
2321
|
+
extensionName: string;
|
2322
|
+
telephonySignature: string | null;
|
2323
|
+
};
|
2324
|
+
} | null | undefined;
|
2325
|
+
} | null | undefined;
|
2359
2326
|
}>, "many">;
|
2360
|
-
}
|
2327
|
+
}, "strip", z.ZodTypeAny, {
|
2361
2328
|
total: number;
|
2362
2329
|
page: number;
|
2363
2330
|
pageSize: number;
|
@@ -2385,7 +2352,7 @@ export declare const telephonyCdrContract: {
|
|
2385
2352
|
uploadId: string | null;
|
2386
2353
|
serialNumber: string | null;
|
2387
2354
|
callParticipants: {
|
2388
|
-
|
2355
|
+
callTo?: {
|
2389
2356
|
id: string;
|
2390
2357
|
user: {
|
2391
2358
|
name: string;
|
@@ -2411,7 +2378,7 @@ export declare const telephonyCdrContract: {
|
|
2411
2378
|
createdAt?: string | undefined;
|
2412
2379
|
updatedAt?: string | undefined;
|
2413
2380
|
} | null | undefined;
|
2414
|
-
|
2381
|
+
callFrom?: {
|
2415
2382
|
id: string;
|
2416
2383
|
user: {
|
2417
2384
|
name: string;
|
@@ -2441,63 +2408,6 @@ export declare const telephonyCdrContract: {
|
|
2441
2408
|
isQueueMissedCall: boolean;
|
2442
2409
|
telephonyQueueId: string | null;
|
2443
2410
|
contactId: string | null;
|
2444
|
-
extension?: {
|
2445
|
-
id: string;
|
2446
|
-
createdAt: Date;
|
2447
|
-
updatedAt: Date;
|
2448
|
-
deletedAt: Date | null;
|
2449
|
-
userId: string | null;
|
2450
|
-
sipServerUrl: string;
|
2451
|
-
sipUserName: string;
|
2452
|
-
webphoneLoginUser: string;
|
2453
|
-
extensionId: string | null;
|
2454
|
-
extensionName: string;
|
2455
|
-
telephonySignature: string | null;
|
2456
|
-
user?: {
|
2457
|
-
name: string;
|
2458
|
-
id: string;
|
2459
|
-
address: string | null;
|
2460
|
-
email: string;
|
2461
|
-
createdAt: Date;
|
2462
|
-
updatedAt: Date;
|
2463
|
-
deletedAt: Date | null;
|
2464
|
-
emailVerifiedAt: Date | null;
|
2465
|
-
password: string;
|
2466
|
-
phone: string | null;
|
2467
|
-
notificationCount: number | null;
|
2468
|
-
roles: {
|
2469
|
-
id: string;
|
2470
|
-
description: string | null;
|
2471
|
-
createdAt: Date;
|
2472
|
-
updatedAt: Date;
|
2473
|
-
deletedAt: Date | null;
|
2474
|
-
systemName: string;
|
2475
|
-
displayName: string;
|
2476
|
-
permissions: {
|
2477
|
-
id: string;
|
2478
|
-
description: string | null;
|
2479
|
-
createdAt: Date;
|
2480
|
-
updatedAt: Date;
|
2481
|
-
deletedAt: Date | null;
|
2482
|
-
systemName: string;
|
2483
|
-
displayName: string;
|
2484
|
-
}[];
|
2485
|
-
}[];
|
2486
|
-
extension: {
|
2487
|
-
id: string;
|
2488
|
-
createdAt: Date;
|
2489
|
-
updatedAt: Date;
|
2490
|
-
deletedAt: Date | null;
|
2491
|
-
userId: string | null;
|
2492
|
-
sipServerUrl: string;
|
2493
|
-
sipUserName: string;
|
2494
|
-
webphoneLoginUser: string;
|
2495
|
-
extensionId: string | null;
|
2496
|
-
extensionName: string;
|
2497
|
-
telephonySignature: string | null;
|
2498
|
-
};
|
2499
|
-
} | null | undefined;
|
2500
|
-
} | null | undefined;
|
2501
2411
|
contact?: {
|
2502
2412
|
name: string;
|
2503
2413
|
id: string;
|
@@ -2632,6 +2542,63 @@ export declare const telephonyCdrContract: {
|
|
2632
2542
|
fileSize: number;
|
2633
2543
|
fileUrl: string | null;
|
2634
2544
|
} | null | undefined;
|
2545
|
+
extension?: {
|
2546
|
+
id: string;
|
2547
|
+
createdAt: Date;
|
2548
|
+
updatedAt: Date;
|
2549
|
+
deletedAt: Date | null;
|
2550
|
+
userId: string | null;
|
2551
|
+
sipServerUrl: string;
|
2552
|
+
sipUserName: string;
|
2553
|
+
webphoneLoginUser: string;
|
2554
|
+
extensionId: string | null;
|
2555
|
+
extensionName: string;
|
2556
|
+
telephonySignature: string | null;
|
2557
|
+
user?: {
|
2558
|
+
name: string;
|
2559
|
+
id: string;
|
2560
|
+
address: string | null;
|
2561
|
+
email: string;
|
2562
|
+
createdAt: Date;
|
2563
|
+
updatedAt: Date;
|
2564
|
+
deletedAt: Date | null;
|
2565
|
+
emailVerifiedAt: Date | null;
|
2566
|
+
password: string;
|
2567
|
+
phone: string | null;
|
2568
|
+
notificationCount: number | null;
|
2569
|
+
roles: {
|
2570
|
+
id: string;
|
2571
|
+
description: string | null;
|
2572
|
+
createdAt: Date;
|
2573
|
+
updatedAt: Date;
|
2574
|
+
deletedAt: Date | null;
|
2575
|
+
systemName: string;
|
2576
|
+
displayName: string;
|
2577
|
+
permissions: {
|
2578
|
+
id: string;
|
2579
|
+
description: string | null;
|
2580
|
+
createdAt: Date;
|
2581
|
+
updatedAt: Date;
|
2582
|
+
deletedAt: Date | null;
|
2583
|
+
systemName: string;
|
2584
|
+
displayName: string;
|
2585
|
+
}[];
|
2586
|
+
}[];
|
2587
|
+
extension: {
|
2588
|
+
id: string;
|
2589
|
+
createdAt: Date;
|
2590
|
+
updatedAt: Date;
|
2591
|
+
deletedAt: Date | null;
|
2592
|
+
userId: string | null;
|
2593
|
+
sipServerUrl: string;
|
2594
|
+
sipUserName: string;
|
2595
|
+
webphoneLoginUser: string;
|
2596
|
+
extensionId: string | null;
|
2597
|
+
extensionName: string;
|
2598
|
+
telephonySignature: string | null;
|
2599
|
+
};
|
2600
|
+
} | null | undefined;
|
2601
|
+
} | null | undefined;
|
2635
2602
|
}[];
|
2636
2603
|
}, {
|
2637
2604
|
total: number;
|
@@ -2661,7 +2628,7 @@ export declare const telephonyCdrContract: {
|
|
2661
2628
|
uploadId: string | null;
|
2662
2629
|
serialNumber: string | null;
|
2663
2630
|
callParticipants: {
|
2664
|
-
|
2631
|
+
callTo?: {
|
2665
2632
|
id: string;
|
2666
2633
|
user: {
|
2667
2634
|
name: string;
|
@@ -2687,7 +2654,7 @@ export declare const telephonyCdrContract: {
|
|
2687
2654
|
createdAt?: string | undefined;
|
2688
2655
|
updatedAt?: string | undefined;
|
2689
2656
|
} | null | undefined;
|
2690
|
-
|
2657
|
+
callFrom?: {
|
2691
2658
|
id: string;
|
2692
2659
|
user: {
|
2693
2660
|
name: string;
|
@@ -2717,80 +2684,23 @@ export declare const telephonyCdrContract: {
|
|
2717
2684
|
isQueueMissedCall: boolean;
|
2718
2685
|
telephonyQueueId: string | null;
|
2719
2686
|
contactId: string | null;
|
2720
|
-
|
2687
|
+
contact?: {
|
2688
|
+
name: string;
|
2721
2689
|
id: string;
|
2690
|
+
channel: string | null;
|
2691
|
+
address: string | null;
|
2722
2692
|
createdAt: Date;
|
2723
2693
|
updatedAt: Date;
|
2724
2694
|
deletedAt: Date | null;
|
2725
|
-
|
2726
|
-
sipServerUrl: string;
|
2727
|
-
sipUserName: string;
|
2728
|
-
webphoneLoginUser: string;
|
2729
|
-
extensionId: string | null;
|
2730
|
-
extensionName: string;
|
2731
|
-
telephonySignature: string | null;
|
2732
|
-
user?: {
|
2733
|
-
name: string;
|
2695
|
+
customFields: {
|
2734
2696
|
id: string;
|
2735
|
-
address: string | null;
|
2736
|
-
email: string;
|
2737
2697
|
createdAt: Date;
|
2738
2698
|
updatedAt: Date;
|
2739
2699
|
deletedAt: Date | null;
|
2740
|
-
|
2741
|
-
|
2742
|
-
phone: string | null;
|
2743
|
-
notificationCount: number | null;
|
2744
|
-
roles: {
|
2700
|
+
attribute: {
|
2701
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2745
2702
|
id: string;
|
2746
|
-
|
2747
|
-
createdAt: Date;
|
2748
|
-
updatedAt: Date;
|
2749
|
-
deletedAt: Date | null;
|
2750
|
-
systemName: string;
|
2751
|
-
displayName: string;
|
2752
|
-
permissions: {
|
2753
|
-
id: string;
|
2754
|
-
description: string | null;
|
2755
|
-
createdAt: Date;
|
2756
|
-
updatedAt: Date;
|
2757
|
-
deletedAt: Date | null;
|
2758
|
-
systemName: string;
|
2759
|
-
displayName: string;
|
2760
|
-
}[];
|
2761
|
-
}[];
|
2762
|
-
extension: {
|
2763
|
-
id: string;
|
2764
|
-
createdAt: Date;
|
2765
|
-
updatedAt: Date;
|
2766
|
-
deletedAt: Date | null;
|
2767
|
-
userId: string | null;
|
2768
|
-
sipServerUrl: string;
|
2769
|
-
sipUserName: string;
|
2770
|
-
webphoneLoginUser: string;
|
2771
|
-
extensionId: string | null;
|
2772
|
-
extensionName: string;
|
2773
|
-
telephonySignature: string | null;
|
2774
|
-
};
|
2775
|
-
} | null | undefined;
|
2776
|
-
} | null | undefined;
|
2777
|
-
contact?: {
|
2778
|
-
name: string;
|
2779
|
-
id: string;
|
2780
|
-
channel: string | null;
|
2781
|
-
address: string | null;
|
2782
|
-
createdAt: Date;
|
2783
|
-
updatedAt: Date;
|
2784
|
-
deletedAt: Date | null;
|
2785
|
-
customFields: {
|
2786
|
-
id: string;
|
2787
|
-
createdAt: Date;
|
2788
|
-
updatedAt: Date;
|
2789
|
-
deletedAt: Date | null;
|
2790
|
-
attribute: {
|
2791
|
-
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2792
|
-
id: string;
|
2793
|
-
position: number;
|
2703
|
+
position: number;
|
2794
2704
|
createdAt: Date;
|
2795
2705
|
updatedAt: Date;
|
2796
2706
|
deletedAt: Date | null;
|
@@ -2908,6 +2818,63 @@ export declare const telephonyCdrContract: {
|
|
2908
2818
|
fileSize: number;
|
2909
2819
|
fileUrl: string | null;
|
2910
2820
|
} | null | undefined;
|
2821
|
+
extension?: {
|
2822
|
+
id: string;
|
2823
|
+
createdAt: Date;
|
2824
|
+
updatedAt: Date;
|
2825
|
+
deletedAt: Date | null;
|
2826
|
+
userId: string | null;
|
2827
|
+
sipServerUrl: string;
|
2828
|
+
sipUserName: string;
|
2829
|
+
webphoneLoginUser: string;
|
2830
|
+
extensionId: string | null;
|
2831
|
+
extensionName: string;
|
2832
|
+
telephonySignature: string | null;
|
2833
|
+
user?: {
|
2834
|
+
name: string;
|
2835
|
+
id: string;
|
2836
|
+
address: string | null;
|
2837
|
+
email: string;
|
2838
|
+
createdAt: Date;
|
2839
|
+
updatedAt: Date;
|
2840
|
+
deletedAt: Date | null;
|
2841
|
+
emailVerifiedAt: Date | null;
|
2842
|
+
password: string;
|
2843
|
+
phone: string | null;
|
2844
|
+
notificationCount: number | null;
|
2845
|
+
roles: {
|
2846
|
+
id: string;
|
2847
|
+
description: string | null;
|
2848
|
+
createdAt: Date;
|
2849
|
+
updatedAt: Date;
|
2850
|
+
deletedAt: Date | null;
|
2851
|
+
systemName: string;
|
2852
|
+
displayName: string;
|
2853
|
+
permissions: {
|
2854
|
+
id: string;
|
2855
|
+
description: string | null;
|
2856
|
+
createdAt: Date;
|
2857
|
+
updatedAt: Date;
|
2858
|
+
deletedAt: Date | null;
|
2859
|
+
systemName: string;
|
2860
|
+
displayName: string;
|
2861
|
+
}[];
|
2862
|
+
}[];
|
2863
|
+
extension: {
|
2864
|
+
id: string;
|
2865
|
+
createdAt: Date;
|
2866
|
+
updatedAt: Date;
|
2867
|
+
deletedAt: Date | null;
|
2868
|
+
userId: string | null;
|
2869
|
+
sipServerUrl: string;
|
2870
|
+
sipUserName: string;
|
2871
|
+
webphoneLoginUser: string;
|
2872
|
+
extensionId: string | null;
|
2873
|
+
extensionName: string;
|
2874
|
+
telephonySignature: string | null;
|
2875
|
+
};
|
2876
|
+
} | null | undefined;
|
2877
|
+
} | null | undefined;
|
2911
2878
|
}[];
|
2912
2879
|
}>;
|
2913
2880
|
401: z.ZodObject<{
|
@@ -2921,14 +2888,30 @@ export declare const telephonyCdrContract: {
|
|
2921
2888
|
error?: any;
|
2922
2889
|
}>;
|
2923
2890
|
};
|
2891
|
+
path: "telephony-cdr/";
|
2892
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2893
|
+
'x-tenant': z.ZodString;
|
2894
|
+
authorization: z.ZodString;
|
2895
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2896
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2897
|
+
}, "strip", z.ZodTypeAny, {
|
2898
|
+
'x-tenant': string;
|
2899
|
+
authorization: string;
|
2900
|
+
'x-client-timezone': string;
|
2901
|
+
'x-code'?: string | undefined;
|
2902
|
+
}, {
|
2903
|
+
'x-tenant': string;
|
2904
|
+
authorization: string;
|
2905
|
+
'x-code'?: string | undefined;
|
2906
|
+
'x-client-timezone'?: string | undefined;
|
2907
|
+
}>>>;
|
2924
2908
|
};
|
2925
2909
|
getRecordings: {
|
2926
2910
|
summary: "Get all telephony cdr.";
|
2927
2911
|
method: "GET";
|
2928
|
-
query: z.ZodObject<
|
2912
|
+
query: z.ZodObject<{
|
2929
2913
|
page: z.ZodDefault<z.ZodNumber>;
|
2930
2914
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
2931
|
-
}, {
|
2932
2915
|
selectedDate: z.ZodOptional<z.ZodString>;
|
2933
2916
|
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
2934
2917
|
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -2940,65 +2923,46 @@ export declare const telephonyCdrContract: {
|
|
2940
2923
|
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
2941
2924
|
agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
|
2942
2925
|
contactId: z.ZodOptional<z.ZodString>;
|
2943
|
-
}
|
2926
|
+
}, "strip", z.ZodTypeAny, {
|
2944
2927
|
page: number;
|
2945
2928
|
pageSize: number;
|
2929
|
+
selectedDate?: string | undefined;
|
2946
2930
|
type?: string[] | undefined;
|
2947
2931
|
status?: string[] | undefined;
|
2948
|
-
userId?: string | undefined;
|
2949
2932
|
callFrom?: string | undefined;
|
2950
2933
|
callTo?: string | undefined;
|
2951
|
-
contactId?: string | undefined;
|
2952
|
-
selectedDate?: string | undefined;
|
2953
|
-
agentIds?: string[] | undefined;
|
2954
2934
|
trunk?: string[] | undefined;
|
2935
|
+
userId?: string | undefined;
|
2955
2936
|
queueStatus?: string | undefined;
|
2937
|
+
agentIds?: string[] | undefined;
|
2956
2938
|
agentCallsOnly?: boolean | undefined;
|
2939
|
+
contactId?: string | undefined;
|
2957
2940
|
}, {
|
2958
|
-
type?: string[] | undefined;
|
2959
2941
|
page?: number | undefined;
|
2960
|
-
status?: string[] | undefined;
|
2961
2942
|
pageSize?: number | undefined;
|
2962
|
-
|
2943
|
+
selectedDate?: string | undefined;
|
2944
|
+
type?: string[] | undefined;
|
2945
|
+
status?: string[] | undefined;
|
2963
2946
|
callFrom?: string | undefined;
|
2964
2947
|
callTo?: string | undefined;
|
2965
|
-
contactId?: string | undefined;
|
2966
|
-
selectedDate?: string | undefined;
|
2967
|
-
agentIds?: string[] | undefined;
|
2968
2948
|
trunk?: string[] | undefined;
|
2949
|
+
userId?: string | undefined;
|
2969
2950
|
queueStatus?: string | undefined;
|
2951
|
+
agentIds?: string[] | undefined;
|
2970
2952
|
agentCallsOnly?: boolean | undefined;
|
2953
|
+
contactId?: string | undefined;
|
2971
2954
|
}>;
|
2972
|
-
path: "telephony-cdr/recordings";
|
2973
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2974
|
-
'x-tenant': z.ZodString;
|
2975
|
-
authorization: z.ZodString;
|
2976
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
2977
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2978
|
-
}, "strip", z.ZodTypeAny, {
|
2979
|
-
'x-tenant': string;
|
2980
|
-
authorization: string;
|
2981
|
-
'x-client-timezone': string;
|
2982
|
-
'x-code'?: string | undefined;
|
2983
|
-
}, {
|
2984
|
-
'x-tenant': string;
|
2985
|
-
authorization: string;
|
2986
|
-
'x-code'?: string | undefined;
|
2987
|
-
'x-client-timezone'?: string | undefined;
|
2988
|
-
}>>>;
|
2989
2955
|
responses: {
|
2990
|
-
200: z.ZodObject<
|
2956
|
+
200: z.ZodObject<{
|
2991
2957
|
requestId: z.ZodString;
|
2992
|
-
}, {
|
2993
2958
|
total: z.ZodNumber;
|
2994
2959
|
page: z.ZodNumber;
|
2995
2960
|
pageSize: z.ZodNumber;
|
2996
|
-
telephonyCdrs: z.ZodArray<z.ZodObject<
|
2961
|
+
telephonyCdrs: z.ZodArray<z.ZodObject<{
|
2997
2962
|
id: z.ZodString;
|
2998
2963
|
createdAt: z.ZodDate;
|
2999
2964
|
updatedAt: z.ZodDate;
|
3000
2965
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3001
|
-
}, {
|
3002
2966
|
uniqueCallId: z.ZodString;
|
3003
2967
|
timeStart: z.ZodString;
|
3004
2968
|
callFrom: z.ZodString;
|
@@ -3018,14 +2982,13 @@ export declare const telephonyCdrContract: {
|
|
3018
2982
|
notes: z.ZodNullable<z.ZodString>;
|
3019
2983
|
contactProfile: z.ZodNullable<z.ZodString>;
|
3020
2984
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3021
|
-
tags: z.ZodArray<z.ZodObject<
|
2985
|
+
tags: z.ZodArray<z.ZodObject<{
|
3022
2986
|
id: z.ZodString;
|
3023
2987
|
createdAt: z.ZodDate;
|
3024
2988
|
updatedAt: z.ZodDate;
|
3025
2989
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3026
|
-
}, {
|
3027
2990
|
name: z.ZodString;
|
3028
|
-
}
|
2991
|
+
}, "strip", z.ZodTypeAny, {
|
3029
2992
|
name: string;
|
3030
2993
|
id: string;
|
3031
2994
|
createdAt: Date;
|
@@ -3038,32 +3001,29 @@ export declare const telephonyCdrContract: {
|
|
3038
3001
|
updatedAt: Date;
|
3039
3002
|
deletedAt: Date | null;
|
3040
3003
|
}>, "many">;
|
3041
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
3004
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
3042
3005
|
id: z.ZodString;
|
3043
3006
|
createdAt: z.ZodDate;
|
3044
3007
|
updatedAt: z.ZodDate;
|
3045
3008
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3046
|
-
}, {
|
3047
3009
|
name: z.ZodOptional<z.ZodString>;
|
3048
3010
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3049
3011
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3050
3012
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3051
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
3013
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3052
3014
|
id: z.ZodString;
|
3053
3015
|
createdAt: z.ZodDate;
|
3054
3016
|
updatedAt: z.ZodDate;
|
3055
3017
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3056
|
-
}, {
|
3057
3018
|
textValue: z.ZodNullable<z.ZodString>;
|
3058
3019
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3059
3020
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3060
3021
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3061
|
-
attribute: z.ZodObject<Omit<
|
3022
|
+
attribute: z.ZodObject<Omit<{
|
3062
3023
|
id: z.ZodString;
|
3063
3024
|
createdAt: z.ZodDate;
|
3064
3025
|
updatedAt: z.ZodDate;
|
3065
3026
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3066
|
-
}, {
|
3067
3027
|
systemName: z.ZodString;
|
3068
3028
|
displayName: z.ZodString;
|
3069
3029
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3072,14 +3032,13 @@ export declare const telephonyCdrContract: {
|
|
3072
3032
|
isArchived: z.ZodBoolean;
|
3073
3033
|
isRequired: z.ZodBoolean;
|
3074
3034
|
isUnique: z.ZodBoolean;
|
3075
|
-
options: z.ZodArray<z.ZodObject<
|
3076
|
-
|
3035
|
+
options: z.ZodArray<z.ZodObject<{
|
3036
|
+
position: z.ZodNumber;
|
3077
3037
|
value: z.ZodString;
|
3038
|
+
label: z.ZodString;
|
3078
3039
|
isDefault: z.ZodBoolean;
|
3079
|
-
position: z.ZodNumber;
|
3080
|
-
}, {
|
3081
3040
|
id: z.ZodString;
|
3082
|
-
}
|
3041
|
+
}, "strip", z.ZodTypeAny, {
|
3083
3042
|
id: string;
|
3084
3043
|
position: number;
|
3085
3044
|
value: string;
|
@@ -3092,15 +3051,14 @@ export declare const telephonyCdrContract: {
|
|
3092
3051
|
label: string;
|
3093
3052
|
isDefault: boolean;
|
3094
3053
|
}>, "many">;
|
3095
|
-
group: z.ZodObject<
|
3054
|
+
group: z.ZodObject<{
|
3096
3055
|
id: z.ZodString;
|
3097
3056
|
createdAt: z.ZodDate;
|
3098
3057
|
updatedAt: z.ZodDate;
|
3099
3058
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3100
|
-
}, {
|
3101
3059
|
systemName: z.ZodString;
|
3102
3060
|
displayName: z.ZodString;
|
3103
|
-
}
|
3061
|
+
}, "strip", z.ZodTypeAny, {
|
3104
3062
|
id: string;
|
3105
3063
|
createdAt: Date;
|
3106
3064
|
updatedAt: Date;
|
@@ -3115,7 +3073,7 @@ export declare const telephonyCdrContract: {
|
|
3115
3073
|
systemName: string;
|
3116
3074
|
displayName: string;
|
3117
3075
|
}>;
|
3118
|
-
}
|
3076
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
3119
3077
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3120
3078
|
id: string;
|
3121
3079
|
position: number;
|
@@ -3142,7 +3100,7 @@ export declare const telephonyCdrContract: {
|
|
3142
3100
|
isRequired: boolean;
|
3143
3101
|
isUnique: boolean;
|
3144
3102
|
}>;
|
3145
|
-
}
|
3103
|
+
}, "strip", z.ZodTypeAny, {
|
3146
3104
|
id: string;
|
3147
3105
|
createdAt: Date;
|
3148
3106
|
updatedAt: Date;
|
@@ -3189,7 +3147,7 @@ export declare const telephonyCdrContract: {
|
|
3189
3147
|
numberValue: number | null;
|
3190
3148
|
dateValue: Date | null;
|
3191
3149
|
}>, "many">>;
|
3192
|
-
}
|
3150
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
3193
3151
|
id: string;
|
3194
3152
|
createdAt: Date;
|
3195
3153
|
updatedAt: Date;
|
@@ -3270,12 +3228,11 @@ export declare const telephonyCdrContract: {
|
|
3270
3228
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3271
3229
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3272
3230
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3273
|
-
attribute: z.ZodObject<Omit<
|
3231
|
+
attribute: z.ZodObject<Omit<{
|
3274
3232
|
id: z.ZodString;
|
3275
3233
|
createdAt: z.ZodDate;
|
3276
3234
|
updatedAt: z.ZodDate;
|
3277
3235
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3278
|
-
}, {
|
3279
3236
|
systemName: z.ZodString;
|
3280
3237
|
displayName: z.ZodString;
|
3281
3238
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3284,14 +3241,13 @@ export declare const telephonyCdrContract: {
|
|
3284
3241
|
isArchived: z.ZodBoolean;
|
3285
3242
|
isRequired: z.ZodBoolean;
|
3286
3243
|
isUnique: z.ZodBoolean;
|
3287
|
-
options: z.ZodArray<z.ZodObject<
|
3288
|
-
|
3244
|
+
options: z.ZodArray<z.ZodObject<{
|
3245
|
+
position: z.ZodNumber;
|
3289
3246
|
value: z.ZodString;
|
3247
|
+
label: z.ZodString;
|
3290
3248
|
isDefault: z.ZodBoolean;
|
3291
|
-
position: z.ZodNumber;
|
3292
|
-
}, {
|
3293
3249
|
id: z.ZodString;
|
3294
|
-
}
|
3250
|
+
}, "strip", z.ZodTypeAny, {
|
3295
3251
|
id: string;
|
3296
3252
|
position: number;
|
3297
3253
|
value: string;
|
@@ -3304,15 +3260,14 @@ export declare const telephonyCdrContract: {
|
|
3304
3260
|
label: string;
|
3305
3261
|
isDefault: boolean;
|
3306
3262
|
}>, "many">;
|
3307
|
-
group: z.ZodObject<
|
3263
|
+
group: z.ZodObject<{
|
3308
3264
|
id: z.ZodString;
|
3309
3265
|
createdAt: z.ZodDate;
|
3310
3266
|
updatedAt: z.ZodDate;
|
3311
3267
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3312
|
-
}, {
|
3313
3268
|
systemName: z.ZodString;
|
3314
3269
|
displayName: z.ZodString;
|
3315
|
-
}
|
3270
|
+
}, "strip", z.ZodTypeAny, {
|
3316
3271
|
id: string;
|
3317
3272
|
createdAt: Date;
|
3318
3273
|
updatedAt: Date;
|
@@ -3327,7 +3282,7 @@ export declare const telephonyCdrContract: {
|
|
3327
3282
|
systemName: string;
|
3328
3283
|
displayName: string;
|
3329
3284
|
}>;
|
3330
|
-
}
|
3285
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
3331
3286
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3332
3287
|
id: string;
|
3333
3288
|
position: number;
|
@@ -3354,19 +3309,18 @@ export declare const telephonyCdrContract: {
|
|
3354
3309
|
isRequired: boolean;
|
3355
3310
|
isUnique: boolean;
|
3356
3311
|
}>;
|
3357
|
-
uploads: z.ZodArray<z.ZodObject<
|
3312
|
+
uploads: z.ZodArray<z.ZodObject<{
|
3358
3313
|
id: z.ZodString;
|
3359
3314
|
createdAt: z.ZodDate;
|
3360
3315
|
updatedAt: z.ZodDate;
|
3361
3316
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3362
|
-
}, {
|
3363
3317
|
bucketName: z.ZodString;
|
3364
3318
|
fileName: z.ZodString;
|
3365
3319
|
fileSize: z.ZodNumber;
|
3366
3320
|
fileKey: z.ZodString;
|
3367
3321
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3368
3322
|
status: z.ZodNullable<z.ZodString>;
|
3369
|
-
}
|
3323
|
+
}, "strip", z.ZodTypeAny, {
|
3370
3324
|
id: string;
|
3371
3325
|
status: string | null;
|
3372
3326
|
createdAt: Date;
|
@@ -3787,17 +3741,16 @@ export declare const telephonyCdrContract: {
|
|
3787
3741
|
};
|
3788
3742
|
}[] | undefined;
|
3789
3743
|
}>>;
|
3790
|
-
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
3744
|
+
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3791
3745
|
id: z.ZodString;
|
3792
3746
|
createdAt: z.ZodDate;
|
3793
3747
|
updatedAt: z.ZodDate;
|
3794
3748
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3795
|
-
}, {
|
3796
3749
|
queueId: z.ZodNumber;
|
3797
3750
|
queueName: z.ZodString;
|
3798
3751
|
queueNumber: z.ZodString;
|
3799
3752
|
maximumWaitingTime: z.ZodNumber;
|
3800
|
-
}
|
3753
|
+
}, "strip", z.ZodTypeAny, {
|
3801
3754
|
id: string;
|
3802
3755
|
createdAt: Date;
|
3803
3756
|
updatedAt: Date;
|
@@ -3824,19 +3777,18 @@ export declare const telephonyCdrContract: {
|
|
3824
3777
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
3825
3778
|
uploadId: z.ZodNullable<z.ZodString>;
|
3826
3779
|
serialNumber: z.ZodNullable<z.ZodString>;
|
3827
|
-
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
3780
|
+
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3828
3781
|
id: z.ZodString;
|
3829
3782
|
createdAt: z.ZodDate;
|
3830
3783
|
updatedAt: z.ZodDate;
|
3831
3784
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3832
|
-
}, {
|
3833
3785
|
bucketName: z.ZodString;
|
3834
3786
|
fileName: z.ZodString;
|
3835
3787
|
fileSize: z.ZodNumber;
|
3836
3788
|
fileKey: z.ZodString;
|
3837
3789
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3838
3790
|
status: z.ZodNullable<z.ZodString>;
|
3839
|
-
}
|
3791
|
+
}, "strip", z.ZodTypeAny, {
|
3840
3792
|
id: string;
|
3841
3793
|
status: string | null;
|
3842
3794
|
createdAt: Date;
|
@@ -4271,7 +4223,7 @@ export declare const telephonyCdrContract: {
|
|
4271
4223
|
updatedAt?: string | undefined;
|
4272
4224
|
}>>>;
|
4273
4225
|
}, "strip", z.ZodTypeAny, {
|
4274
|
-
|
4226
|
+
callTo?: {
|
4275
4227
|
id: string;
|
4276
4228
|
user: {
|
4277
4229
|
name: string;
|
@@ -4297,7 +4249,7 @@ export declare const telephonyCdrContract: {
|
|
4297
4249
|
createdAt?: string | undefined;
|
4298
4250
|
updatedAt?: string | undefined;
|
4299
4251
|
} | null | undefined;
|
4300
|
-
|
4252
|
+
callFrom?: {
|
4301
4253
|
id: string;
|
4302
4254
|
user: {
|
4303
4255
|
name: string;
|
@@ -4324,7 +4276,7 @@ export declare const telephonyCdrContract: {
|
|
4324
4276
|
updatedAt?: string | undefined;
|
4325
4277
|
} | null | undefined;
|
4326
4278
|
}, {
|
4327
|
-
|
4279
|
+
callTo?: {
|
4328
4280
|
id: string;
|
4329
4281
|
user: {
|
4330
4282
|
name: string;
|
@@ -4350,7 +4302,7 @@ export declare const telephonyCdrContract: {
|
|
4350
4302
|
createdAt?: string | undefined;
|
4351
4303
|
updatedAt?: string | undefined;
|
4352
4304
|
} | null | undefined;
|
4353
|
-
|
4305
|
+
callFrom?: {
|
4354
4306
|
id: string;
|
4355
4307
|
user: {
|
4356
4308
|
name: string;
|
@@ -4379,7 +4331,7 @@ export declare const telephonyCdrContract: {
|
|
4379
4331
|
}>>;
|
4380
4332
|
isQueueMissedCall: z.ZodBoolean;
|
4381
4333
|
extensionId: z.ZodNullable<z.ZodString>;
|
4382
|
-
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
4334
|
+
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4383
4335
|
id: z.ZodString;
|
4384
4336
|
createdAt: z.ZodDate;
|
4385
4337
|
updatedAt: z.ZodDate;
|
@@ -4391,7 +4343,6 @@ export declare const telephonyCdrContract: {
|
|
4391
4343
|
extensionId: z.ZodNullable<z.ZodString>;
|
4392
4344
|
extensionName: z.ZodString;
|
4393
4345
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
4394
|
-
}, {
|
4395
4346
|
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4396
4347
|
id: z.ZodString;
|
4397
4348
|
createdAt: z.ZodDate;
|
@@ -4596,7 +4547,7 @@ export declare const telephonyCdrContract: {
|
|
4596
4547
|
telephonySignature: string | null;
|
4597
4548
|
};
|
4598
4549
|
}>>>;
|
4599
|
-
}
|
4550
|
+
}, "strip", z.ZodTypeAny, {
|
4600
4551
|
id: string;
|
4601
4552
|
createdAt: Date;
|
4602
4553
|
updatedAt: Date;
|
@@ -4711,7 +4662,7 @@ export declare const telephonyCdrContract: {
|
|
4711
4662
|
}>>>;
|
4712
4663
|
telephonyQueueId: z.ZodNullable<z.ZodString>;
|
4713
4664
|
contactId: z.ZodNullable<z.ZodString>;
|
4714
|
-
}
|
4665
|
+
}, "strip", z.ZodTypeAny, {
|
4715
4666
|
type: string;
|
4716
4667
|
id: string;
|
4717
4668
|
recording: string | null;
|
@@ -4734,7 +4685,7 @@ export declare const telephonyCdrContract: {
|
|
4734
4685
|
uploadId: string | null;
|
4735
4686
|
serialNumber: string | null;
|
4736
4687
|
callParticipants: {
|
4737
|
-
|
4688
|
+
callTo?: {
|
4738
4689
|
id: string;
|
4739
4690
|
user: {
|
4740
4691
|
name: string;
|
@@ -4760,7 +4711,7 @@ export declare const telephonyCdrContract: {
|
|
4760
4711
|
createdAt?: string | undefined;
|
4761
4712
|
updatedAt?: string | undefined;
|
4762
4713
|
} | null | undefined;
|
4763
|
-
|
4714
|
+
callFrom?: {
|
4764
4715
|
id: string;
|
4765
4716
|
user: {
|
4766
4717
|
name: string;
|
@@ -4790,63 +4741,6 @@ export declare const telephonyCdrContract: {
|
|
4790
4741
|
isQueueMissedCall: boolean;
|
4791
4742
|
telephonyQueueId: string | null;
|
4792
4743
|
contactId: string | null;
|
4793
|
-
extension?: {
|
4794
|
-
id: string;
|
4795
|
-
createdAt: Date;
|
4796
|
-
updatedAt: Date;
|
4797
|
-
deletedAt: Date | null;
|
4798
|
-
userId: string | null;
|
4799
|
-
sipServerUrl: string;
|
4800
|
-
sipUserName: string;
|
4801
|
-
webphoneLoginUser: string;
|
4802
|
-
extensionId: string | null;
|
4803
|
-
extensionName: string;
|
4804
|
-
telephonySignature: string | null;
|
4805
|
-
user?: {
|
4806
|
-
name: string;
|
4807
|
-
id: string;
|
4808
|
-
address: string | null;
|
4809
|
-
email: string;
|
4810
|
-
createdAt: Date;
|
4811
|
-
updatedAt: Date;
|
4812
|
-
deletedAt: Date | null;
|
4813
|
-
emailVerifiedAt: Date | null;
|
4814
|
-
password: string;
|
4815
|
-
phone: string | null;
|
4816
|
-
notificationCount: number | null;
|
4817
|
-
roles: {
|
4818
|
-
id: string;
|
4819
|
-
description: string | null;
|
4820
|
-
createdAt: Date;
|
4821
|
-
updatedAt: Date;
|
4822
|
-
deletedAt: Date | null;
|
4823
|
-
systemName: string;
|
4824
|
-
displayName: string;
|
4825
|
-
permissions: {
|
4826
|
-
id: string;
|
4827
|
-
description: string | null;
|
4828
|
-
createdAt: Date;
|
4829
|
-
updatedAt: Date;
|
4830
|
-
deletedAt: Date | null;
|
4831
|
-
systemName: string;
|
4832
|
-
displayName: string;
|
4833
|
-
}[];
|
4834
|
-
}[];
|
4835
|
-
extension: {
|
4836
|
-
id: string;
|
4837
|
-
createdAt: Date;
|
4838
|
-
updatedAt: Date;
|
4839
|
-
deletedAt: Date | null;
|
4840
|
-
userId: string | null;
|
4841
|
-
sipServerUrl: string;
|
4842
|
-
sipUserName: string;
|
4843
|
-
webphoneLoginUser: string;
|
4844
|
-
extensionId: string | null;
|
4845
|
-
extensionName: string;
|
4846
|
-
telephonySignature: string | null;
|
4847
|
-
};
|
4848
|
-
} | null | undefined;
|
4849
|
-
} | null | undefined;
|
4850
4744
|
contact?: {
|
4851
4745
|
name: string;
|
4852
4746
|
id: string;
|
@@ -4981,7 +4875,64 @@ export declare const telephonyCdrContract: {
|
|
4981
4875
|
fileSize: number;
|
4982
4876
|
fileUrl: string | null;
|
4983
4877
|
} | null | undefined;
|
4984
|
-
|
4878
|
+
extension?: {
|
4879
|
+
id: string;
|
4880
|
+
createdAt: Date;
|
4881
|
+
updatedAt: Date;
|
4882
|
+
deletedAt: Date | null;
|
4883
|
+
userId: string | null;
|
4884
|
+
sipServerUrl: string;
|
4885
|
+
sipUserName: string;
|
4886
|
+
webphoneLoginUser: string;
|
4887
|
+
extensionId: string | null;
|
4888
|
+
extensionName: string;
|
4889
|
+
telephonySignature: string | null;
|
4890
|
+
user?: {
|
4891
|
+
name: string;
|
4892
|
+
id: string;
|
4893
|
+
address: string | null;
|
4894
|
+
email: string;
|
4895
|
+
createdAt: Date;
|
4896
|
+
updatedAt: Date;
|
4897
|
+
deletedAt: Date | null;
|
4898
|
+
emailVerifiedAt: Date | null;
|
4899
|
+
password: string;
|
4900
|
+
phone: string | null;
|
4901
|
+
notificationCount: number | null;
|
4902
|
+
roles: {
|
4903
|
+
id: string;
|
4904
|
+
description: string | null;
|
4905
|
+
createdAt: Date;
|
4906
|
+
updatedAt: Date;
|
4907
|
+
deletedAt: Date | null;
|
4908
|
+
systemName: string;
|
4909
|
+
displayName: string;
|
4910
|
+
permissions: {
|
4911
|
+
id: string;
|
4912
|
+
description: string | null;
|
4913
|
+
createdAt: Date;
|
4914
|
+
updatedAt: Date;
|
4915
|
+
deletedAt: Date | null;
|
4916
|
+
systemName: string;
|
4917
|
+
displayName: string;
|
4918
|
+
}[];
|
4919
|
+
}[];
|
4920
|
+
extension: {
|
4921
|
+
id: string;
|
4922
|
+
createdAt: Date;
|
4923
|
+
updatedAt: Date;
|
4924
|
+
deletedAt: Date | null;
|
4925
|
+
userId: string | null;
|
4926
|
+
sipServerUrl: string;
|
4927
|
+
sipUserName: string;
|
4928
|
+
webphoneLoginUser: string;
|
4929
|
+
extensionId: string | null;
|
4930
|
+
extensionName: string;
|
4931
|
+
telephonySignature: string | null;
|
4932
|
+
};
|
4933
|
+
} | null | undefined;
|
4934
|
+
} | null | undefined;
|
4935
|
+
}, {
|
4985
4936
|
type: string;
|
4986
4937
|
id: string;
|
4987
4938
|
recording: string | null;
|
@@ -5004,7 +4955,7 @@ export declare const telephonyCdrContract: {
|
|
5004
4955
|
uploadId: string | null;
|
5005
4956
|
serialNumber: string | null;
|
5006
4957
|
callParticipants: {
|
5007
|
-
|
4958
|
+
callTo?: {
|
5008
4959
|
id: string;
|
5009
4960
|
user: {
|
5010
4961
|
name: string;
|
@@ -5030,7 +4981,7 @@ export declare const telephonyCdrContract: {
|
|
5030
4981
|
createdAt?: string | undefined;
|
5031
4982
|
updatedAt?: string | undefined;
|
5032
4983
|
} | null | undefined;
|
5033
|
-
|
4984
|
+
callFrom?: {
|
5034
4985
|
id: string;
|
5035
4986
|
user: {
|
5036
4987
|
name: string;
|
@@ -5060,63 +5011,6 @@ export declare const telephonyCdrContract: {
|
|
5060
5011
|
isQueueMissedCall: boolean;
|
5061
5012
|
telephonyQueueId: string | null;
|
5062
5013
|
contactId: string | null;
|
5063
|
-
extension?: {
|
5064
|
-
id: string;
|
5065
|
-
createdAt: Date;
|
5066
|
-
updatedAt: Date;
|
5067
|
-
deletedAt: Date | null;
|
5068
|
-
userId: string | null;
|
5069
|
-
sipServerUrl: string;
|
5070
|
-
sipUserName: string;
|
5071
|
-
webphoneLoginUser: string;
|
5072
|
-
extensionId: string | null;
|
5073
|
-
extensionName: string;
|
5074
|
-
telephonySignature: string | null;
|
5075
|
-
user?: {
|
5076
|
-
name: string;
|
5077
|
-
id: string;
|
5078
|
-
address: string | null;
|
5079
|
-
email: string;
|
5080
|
-
createdAt: Date;
|
5081
|
-
updatedAt: Date;
|
5082
|
-
deletedAt: Date | null;
|
5083
|
-
emailVerifiedAt: Date | null;
|
5084
|
-
password: string;
|
5085
|
-
phone: string | null;
|
5086
|
-
notificationCount: number | null;
|
5087
|
-
roles: {
|
5088
|
-
id: string;
|
5089
|
-
description: string | null;
|
5090
|
-
createdAt: Date;
|
5091
|
-
updatedAt: Date;
|
5092
|
-
deletedAt: Date | null;
|
5093
|
-
systemName: string;
|
5094
|
-
displayName: string;
|
5095
|
-
permissions: {
|
5096
|
-
id: string;
|
5097
|
-
description: string | null;
|
5098
|
-
createdAt: Date;
|
5099
|
-
updatedAt: Date;
|
5100
|
-
deletedAt: Date | null;
|
5101
|
-
systemName: string;
|
5102
|
-
displayName: string;
|
5103
|
-
}[];
|
5104
|
-
}[];
|
5105
|
-
extension: {
|
5106
|
-
id: string;
|
5107
|
-
createdAt: Date;
|
5108
|
-
updatedAt: Date;
|
5109
|
-
deletedAt: Date | null;
|
5110
|
-
userId: string | null;
|
5111
|
-
sipServerUrl: string;
|
5112
|
-
sipUserName: string;
|
5113
|
-
webphoneLoginUser: string;
|
5114
|
-
extensionId: string | null;
|
5115
|
-
extensionName: string;
|
5116
|
-
telephonySignature: string | null;
|
5117
|
-
};
|
5118
|
-
} | null | undefined;
|
5119
|
-
} | null | undefined;
|
5120
5014
|
contact?: {
|
5121
5015
|
name: string;
|
5122
5016
|
id: string;
|
@@ -5251,8 +5145,65 @@ export declare const telephonyCdrContract: {
|
|
5251
5145
|
fileSize: number;
|
5252
5146
|
fileUrl: string | null;
|
5253
5147
|
} | null | undefined;
|
5148
|
+
extension?: {
|
5149
|
+
id: string;
|
5150
|
+
createdAt: Date;
|
5151
|
+
updatedAt: Date;
|
5152
|
+
deletedAt: Date | null;
|
5153
|
+
userId: string | null;
|
5154
|
+
sipServerUrl: string;
|
5155
|
+
sipUserName: string;
|
5156
|
+
webphoneLoginUser: string;
|
5157
|
+
extensionId: string | null;
|
5158
|
+
extensionName: string;
|
5159
|
+
telephonySignature: string | null;
|
5160
|
+
user?: {
|
5161
|
+
name: string;
|
5162
|
+
id: string;
|
5163
|
+
address: string | null;
|
5164
|
+
email: string;
|
5165
|
+
createdAt: Date;
|
5166
|
+
updatedAt: Date;
|
5167
|
+
deletedAt: Date | null;
|
5168
|
+
emailVerifiedAt: Date | null;
|
5169
|
+
password: string;
|
5170
|
+
phone: string | null;
|
5171
|
+
notificationCount: number | null;
|
5172
|
+
roles: {
|
5173
|
+
id: string;
|
5174
|
+
description: string | null;
|
5175
|
+
createdAt: Date;
|
5176
|
+
updatedAt: Date;
|
5177
|
+
deletedAt: Date | null;
|
5178
|
+
systemName: string;
|
5179
|
+
displayName: string;
|
5180
|
+
permissions: {
|
5181
|
+
id: string;
|
5182
|
+
description: string | null;
|
5183
|
+
createdAt: Date;
|
5184
|
+
updatedAt: Date;
|
5185
|
+
deletedAt: Date | null;
|
5186
|
+
systemName: string;
|
5187
|
+
displayName: string;
|
5188
|
+
}[];
|
5189
|
+
}[];
|
5190
|
+
extension: {
|
5191
|
+
id: string;
|
5192
|
+
createdAt: Date;
|
5193
|
+
updatedAt: Date;
|
5194
|
+
deletedAt: Date | null;
|
5195
|
+
userId: string | null;
|
5196
|
+
sipServerUrl: string;
|
5197
|
+
sipUserName: string;
|
5198
|
+
webphoneLoginUser: string;
|
5199
|
+
extensionId: string | null;
|
5200
|
+
extensionName: string;
|
5201
|
+
telephonySignature: string | null;
|
5202
|
+
};
|
5203
|
+
} | null | undefined;
|
5204
|
+
} | null | undefined;
|
5254
5205
|
}>, "many">;
|
5255
|
-
}
|
5206
|
+
}, "strip", z.ZodTypeAny, {
|
5256
5207
|
total: number;
|
5257
5208
|
page: number;
|
5258
5209
|
pageSize: number;
|
@@ -5280,7 +5231,7 @@ export declare const telephonyCdrContract: {
|
|
5280
5231
|
uploadId: string | null;
|
5281
5232
|
serialNumber: string | null;
|
5282
5233
|
callParticipants: {
|
5283
|
-
|
5234
|
+
callTo?: {
|
5284
5235
|
id: string;
|
5285
5236
|
user: {
|
5286
5237
|
name: string;
|
@@ -5306,7 +5257,7 @@ export declare const telephonyCdrContract: {
|
|
5306
5257
|
createdAt?: string | undefined;
|
5307
5258
|
updatedAt?: string | undefined;
|
5308
5259
|
} | null | undefined;
|
5309
|
-
|
5260
|
+
callFrom?: {
|
5310
5261
|
id: string;
|
5311
5262
|
user: {
|
5312
5263
|
name: string;
|
@@ -5336,63 +5287,6 @@ export declare const telephonyCdrContract: {
|
|
5336
5287
|
isQueueMissedCall: boolean;
|
5337
5288
|
telephonyQueueId: string | null;
|
5338
5289
|
contactId: string | null;
|
5339
|
-
extension?: {
|
5340
|
-
id: string;
|
5341
|
-
createdAt: Date;
|
5342
|
-
updatedAt: Date;
|
5343
|
-
deletedAt: Date | null;
|
5344
|
-
userId: string | null;
|
5345
|
-
sipServerUrl: string;
|
5346
|
-
sipUserName: string;
|
5347
|
-
webphoneLoginUser: string;
|
5348
|
-
extensionId: string | null;
|
5349
|
-
extensionName: string;
|
5350
|
-
telephonySignature: string | null;
|
5351
|
-
user?: {
|
5352
|
-
name: string;
|
5353
|
-
id: string;
|
5354
|
-
address: string | null;
|
5355
|
-
email: string;
|
5356
|
-
createdAt: Date;
|
5357
|
-
updatedAt: Date;
|
5358
|
-
deletedAt: Date | null;
|
5359
|
-
emailVerifiedAt: Date | null;
|
5360
|
-
password: string;
|
5361
|
-
phone: string | null;
|
5362
|
-
notificationCount: number | null;
|
5363
|
-
roles: {
|
5364
|
-
id: string;
|
5365
|
-
description: string | null;
|
5366
|
-
createdAt: Date;
|
5367
|
-
updatedAt: Date;
|
5368
|
-
deletedAt: Date | null;
|
5369
|
-
systemName: string;
|
5370
|
-
displayName: string;
|
5371
|
-
permissions: {
|
5372
|
-
id: string;
|
5373
|
-
description: string | null;
|
5374
|
-
createdAt: Date;
|
5375
|
-
updatedAt: Date;
|
5376
|
-
deletedAt: Date | null;
|
5377
|
-
systemName: string;
|
5378
|
-
displayName: string;
|
5379
|
-
}[];
|
5380
|
-
}[];
|
5381
|
-
extension: {
|
5382
|
-
id: string;
|
5383
|
-
createdAt: Date;
|
5384
|
-
updatedAt: Date;
|
5385
|
-
deletedAt: Date | null;
|
5386
|
-
userId: string | null;
|
5387
|
-
sipServerUrl: string;
|
5388
|
-
sipUserName: string;
|
5389
|
-
webphoneLoginUser: string;
|
5390
|
-
extensionId: string | null;
|
5391
|
-
extensionName: string;
|
5392
|
-
telephonySignature: string | null;
|
5393
|
-
};
|
5394
|
-
} | null | undefined;
|
5395
|
-
} | null | undefined;
|
5396
5290
|
contact?: {
|
5397
5291
|
name: string;
|
5398
5292
|
id: string;
|
@@ -5527,24 +5421,81 @@ export declare const telephonyCdrContract: {
|
|
5527
5421
|
fileSize: number;
|
5528
5422
|
fileUrl: string | null;
|
5529
5423
|
} | null | undefined;
|
5530
|
-
|
5531
|
-
|
5532
|
-
|
5533
|
-
|
5534
|
-
|
5535
|
-
|
5536
|
-
|
5537
|
-
|
5538
|
-
|
5539
|
-
|
5540
|
-
|
5541
|
-
|
5542
|
-
|
5543
|
-
|
5544
|
-
|
5545
|
-
|
5546
|
-
|
5547
|
-
|
5424
|
+
extension?: {
|
5425
|
+
id: string;
|
5426
|
+
createdAt: Date;
|
5427
|
+
updatedAt: Date;
|
5428
|
+
deletedAt: Date | null;
|
5429
|
+
userId: string | null;
|
5430
|
+
sipServerUrl: string;
|
5431
|
+
sipUserName: string;
|
5432
|
+
webphoneLoginUser: string;
|
5433
|
+
extensionId: string | null;
|
5434
|
+
extensionName: string;
|
5435
|
+
telephonySignature: string | null;
|
5436
|
+
user?: {
|
5437
|
+
name: string;
|
5438
|
+
id: string;
|
5439
|
+
address: string | null;
|
5440
|
+
email: string;
|
5441
|
+
createdAt: Date;
|
5442
|
+
updatedAt: Date;
|
5443
|
+
deletedAt: Date | null;
|
5444
|
+
emailVerifiedAt: Date | null;
|
5445
|
+
password: string;
|
5446
|
+
phone: string | null;
|
5447
|
+
notificationCount: number | null;
|
5448
|
+
roles: {
|
5449
|
+
id: string;
|
5450
|
+
description: string | null;
|
5451
|
+
createdAt: Date;
|
5452
|
+
updatedAt: Date;
|
5453
|
+
deletedAt: Date | null;
|
5454
|
+
systemName: string;
|
5455
|
+
displayName: string;
|
5456
|
+
permissions: {
|
5457
|
+
id: string;
|
5458
|
+
description: string | null;
|
5459
|
+
createdAt: Date;
|
5460
|
+
updatedAt: Date;
|
5461
|
+
deletedAt: Date | null;
|
5462
|
+
systemName: string;
|
5463
|
+
displayName: string;
|
5464
|
+
}[];
|
5465
|
+
}[];
|
5466
|
+
extension: {
|
5467
|
+
id: string;
|
5468
|
+
createdAt: Date;
|
5469
|
+
updatedAt: Date;
|
5470
|
+
deletedAt: Date | null;
|
5471
|
+
userId: string | null;
|
5472
|
+
sipServerUrl: string;
|
5473
|
+
sipUserName: string;
|
5474
|
+
webphoneLoginUser: string;
|
5475
|
+
extensionId: string | null;
|
5476
|
+
extensionName: string;
|
5477
|
+
telephonySignature: string | null;
|
5478
|
+
};
|
5479
|
+
} | null | undefined;
|
5480
|
+
} | null | undefined;
|
5481
|
+
}[];
|
5482
|
+
}, {
|
5483
|
+
total: number;
|
5484
|
+
page: number;
|
5485
|
+
pageSize: number;
|
5486
|
+
requestId: string;
|
5487
|
+
telephonyCdrs: {
|
5488
|
+
type: string;
|
5489
|
+
id: string;
|
5490
|
+
recording: string | null;
|
5491
|
+
status: string;
|
5492
|
+
createdAt: Date;
|
5493
|
+
updatedAt: Date;
|
5494
|
+
deletedAt: Date | null;
|
5495
|
+
extensionId: string | null;
|
5496
|
+
uniqueCallId: string;
|
5497
|
+
timeStart: string;
|
5498
|
+
callFrom: string;
|
5548
5499
|
callTo: string;
|
5549
5500
|
callDuration: number | null;
|
5550
5501
|
talkDuration: number | null;
|
@@ -5556,7 +5507,7 @@ export declare const telephonyCdrContract: {
|
|
5556
5507
|
uploadId: string | null;
|
5557
5508
|
serialNumber: string | null;
|
5558
5509
|
callParticipants: {
|
5559
|
-
|
5510
|
+
callTo?: {
|
5560
5511
|
id: string;
|
5561
5512
|
user: {
|
5562
5513
|
name: string;
|
@@ -5582,7 +5533,7 @@ export declare const telephonyCdrContract: {
|
|
5582
5533
|
createdAt?: string | undefined;
|
5583
5534
|
updatedAt?: string | undefined;
|
5584
5535
|
} | null | undefined;
|
5585
|
-
|
5536
|
+
callFrom?: {
|
5586
5537
|
id: string;
|
5587
5538
|
user: {
|
5588
5539
|
name: string;
|
@@ -5612,63 +5563,6 @@ export declare const telephonyCdrContract: {
|
|
5612
5563
|
isQueueMissedCall: boolean;
|
5613
5564
|
telephonyQueueId: string | null;
|
5614
5565
|
contactId: string | null;
|
5615
|
-
extension?: {
|
5616
|
-
id: string;
|
5617
|
-
createdAt: Date;
|
5618
|
-
updatedAt: Date;
|
5619
|
-
deletedAt: Date | null;
|
5620
|
-
userId: string | null;
|
5621
|
-
sipServerUrl: string;
|
5622
|
-
sipUserName: string;
|
5623
|
-
webphoneLoginUser: string;
|
5624
|
-
extensionId: string | null;
|
5625
|
-
extensionName: string;
|
5626
|
-
telephonySignature: string | null;
|
5627
|
-
user?: {
|
5628
|
-
name: string;
|
5629
|
-
id: string;
|
5630
|
-
address: string | null;
|
5631
|
-
email: string;
|
5632
|
-
createdAt: Date;
|
5633
|
-
updatedAt: Date;
|
5634
|
-
deletedAt: Date | null;
|
5635
|
-
emailVerifiedAt: Date | null;
|
5636
|
-
password: string;
|
5637
|
-
phone: string | null;
|
5638
|
-
notificationCount: number | null;
|
5639
|
-
roles: {
|
5640
|
-
id: string;
|
5641
|
-
description: string | null;
|
5642
|
-
createdAt: Date;
|
5643
|
-
updatedAt: Date;
|
5644
|
-
deletedAt: Date | null;
|
5645
|
-
systemName: string;
|
5646
|
-
displayName: string;
|
5647
|
-
permissions: {
|
5648
|
-
id: string;
|
5649
|
-
description: string | null;
|
5650
|
-
createdAt: Date;
|
5651
|
-
updatedAt: Date;
|
5652
|
-
deletedAt: Date | null;
|
5653
|
-
systemName: string;
|
5654
|
-
displayName: string;
|
5655
|
-
}[];
|
5656
|
-
}[];
|
5657
|
-
extension: {
|
5658
|
-
id: string;
|
5659
|
-
createdAt: Date;
|
5660
|
-
updatedAt: Date;
|
5661
|
-
deletedAt: Date | null;
|
5662
|
-
userId: string | null;
|
5663
|
-
sipServerUrl: string;
|
5664
|
-
sipUserName: string;
|
5665
|
-
webphoneLoginUser: string;
|
5666
|
-
extensionId: string | null;
|
5667
|
-
extensionName: string;
|
5668
|
-
telephonySignature: string | null;
|
5669
|
-
};
|
5670
|
-
} | null | undefined;
|
5671
|
-
} | null | undefined;
|
5672
5566
|
contact?: {
|
5673
5567
|
name: string;
|
5674
5568
|
id: string;
|
@@ -5803,6 +5697,63 @@ export declare const telephonyCdrContract: {
|
|
5803
5697
|
fileSize: number;
|
5804
5698
|
fileUrl: string | null;
|
5805
5699
|
} | null | undefined;
|
5700
|
+
extension?: {
|
5701
|
+
id: string;
|
5702
|
+
createdAt: Date;
|
5703
|
+
updatedAt: Date;
|
5704
|
+
deletedAt: Date | null;
|
5705
|
+
userId: string | null;
|
5706
|
+
sipServerUrl: string;
|
5707
|
+
sipUserName: string;
|
5708
|
+
webphoneLoginUser: string;
|
5709
|
+
extensionId: string | null;
|
5710
|
+
extensionName: string;
|
5711
|
+
telephonySignature: string | null;
|
5712
|
+
user?: {
|
5713
|
+
name: string;
|
5714
|
+
id: string;
|
5715
|
+
address: string | null;
|
5716
|
+
email: string;
|
5717
|
+
createdAt: Date;
|
5718
|
+
updatedAt: Date;
|
5719
|
+
deletedAt: Date | null;
|
5720
|
+
emailVerifiedAt: Date | null;
|
5721
|
+
password: string;
|
5722
|
+
phone: string | null;
|
5723
|
+
notificationCount: number | null;
|
5724
|
+
roles: {
|
5725
|
+
id: string;
|
5726
|
+
description: string | null;
|
5727
|
+
createdAt: Date;
|
5728
|
+
updatedAt: Date;
|
5729
|
+
deletedAt: Date | null;
|
5730
|
+
systemName: string;
|
5731
|
+
displayName: string;
|
5732
|
+
permissions: {
|
5733
|
+
id: string;
|
5734
|
+
description: string | null;
|
5735
|
+
createdAt: Date;
|
5736
|
+
updatedAt: Date;
|
5737
|
+
deletedAt: Date | null;
|
5738
|
+
systemName: string;
|
5739
|
+
displayName: string;
|
5740
|
+
}[];
|
5741
|
+
}[];
|
5742
|
+
extension: {
|
5743
|
+
id: string;
|
5744
|
+
createdAt: Date;
|
5745
|
+
updatedAt: Date;
|
5746
|
+
deletedAt: Date | null;
|
5747
|
+
userId: string | null;
|
5748
|
+
sipServerUrl: string;
|
5749
|
+
sipUserName: string;
|
5750
|
+
webphoneLoginUser: string;
|
5751
|
+
extensionId: string | null;
|
5752
|
+
extensionName: string;
|
5753
|
+
telephonySignature: string | null;
|
5754
|
+
};
|
5755
|
+
} | null | undefined;
|
5756
|
+
} | null | undefined;
|
5806
5757
|
}[];
|
5807
5758
|
}>;
|
5808
5759
|
401: z.ZodObject<{
|
@@ -5816,14 +5767,30 @@ export declare const telephonyCdrContract: {
|
|
5816
5767
|
error?: any;
|
5817
5768
|
}>;
|
5818
5769
|
};
|
5770
|
+
path: "telephony-cdr/recordings";
|
5771
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5772
|
+
'x-tenant': z.ZodString;
|
5773
|
+
authorization: z.ZodString;
|
5774
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5775
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5776
|
+
}, "strip", z.ZodTypeAny, {
|
5777
|
+
'x-tenant': string;
|
5778
|
+
authorization: string;
|
5779
|
+
'x-client-timezone': string;
|
5780
|
+
'x-code'?: string | undefined;
|
5781
|
+
}, {
|
5782
|
+
'x-tenant': string;
|
5783
|
+
authorization: string;
|
5784
|
+
'x-code'?: string | undefined;
|
5785
|
+
'x-client-timezone'?: string | undefined;
|
5786
|
+
}>>>;
|
5819
5787
|
};
|
5820
5788
|
getRecentCall: {
|
5821
5789
|
summary: "Get recent telephony cdr.";
|
5822
5790
|
method: "GET";
|
5823
|
-
query: z.ZodObject<
|
5791
|
+
query: z.ZodObject<{
|
5824
5792
|
page: z.ZodDefault<z.ZodNumber>;
|
5825
5793
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
5826
|
-
}, {
|
5827
5794
|
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5828
5795
|
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5829
5796
|
callFrom: z.ZodOptional<z.ZodString>;
|
@@ -5836,67 +5803,48 @@ export declare const telephonyCdrContract: {
|
|
5836
5803
|
callStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
|
5837
5804
|
queueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5838
5805
|
notes: z.ZodOptional<z.ZodString>;
|
5839
|
-
}
|
5806
|
+
}, "strip", z.ZodTypeAny, {
|
5840
5807
|
page: number;
|
5841
5808
|
pageSize: number;
|
5842
5809
|
type?: string[] | undefined;
|
5843
5810
|
status?: string[] | undefined;
|
5844
|
-
contact?: string[] | undefined;
|
5845
|
-
notes?: string | undefined;
|
5846
5811
|
callFrom?: string | undefined;
|
5847
5812
|
callTo?: string | undefined;
|
5848
|
-
agentId?: string | undefined;
|
5849
|
-
selectedDate?: string | undefined;
|
5850
5813
|
result?: string[] | undefined;
|
5851
5814
|
callTags?: string[] | undefined;
|
5815
|
+
selectedDate?: string | undefined;
|
5816
|
+
agentId?: string | undefined;
|
5817
|
+
contact?: string[] | undefined;
|
5852
5818
|
callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
|
5853
5819
|
queueIds?: string[] | undefined;
|
5820
|
+
notes?: string | undefined;
|
5854
5821
|
}, {
|
5855
|
-
type?: string[] | undefined;
|
5856
5822
|
page?: number | undefined;
|
5857
|
-
status?: string[] | undefined;
|
5858
5823
|
pageSize?: number | undefined;
|
5859
|
-
|
5860
|
-
|
5824
|
+
type?: string[] | undefined;
|
5825
|
+
status?: string[] | undefined;
|
5861
5826
|
callFrom?: string | undefined;
|
5862
5827
|
callTo?: string | undefined;
|
5863
|
-
agentId?: string | undefined;
|
5864
|
-
selectedDate?: string | undefined;
|
5865
5828
|
result?: string[] | undefined;
|
5866
5829
|
callTags?: string[] | undefined;
|
5830
|
+
selectedDate?: string | undefined;
|
5831
|
+
agentId?: string | undefined;
|
5832
|
+
contact?: string[] | undefined;
|
5867
5833
|
callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
|
5868
5834
|
queueIds?: string[] | undefined;
|
5835
|
+
notes?: string | undefined;
|
5869
5836
|
}>;
|
5870
|
-
path: "telephony-cdr/recent-calls";
|
5871
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5872
|
-
'x-tenant': z.ZodString;
|
5873
|
-
authorization: z.ZodString;
|
5874
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
5875
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5876
|
-
}, "strip", z.ZodTypeAny, {
|
5877
|
-
'x-tenant': string;
|
5878
|
-
authorization: string;
|
5879
|
-
'x-client-timezone': string;
|
5880
|
-
'x-code'?: string | undefined;
|
5881
|
-
}, {
|
5882
|
-
'x-tenant': string;
|
5883
|
-
authorization: string;
|
5884
|
-
'x-code'?: string | undefined;
|
5885
|
-
'x-client-timezone'?: string | undefined;
|
5886
|
-
}>>>;
|
5887
5837
|
responses: {
|
5888
|
-
200: z.ZodObject<
|
5838
|
+
200: z.ZodObject<{
|
5889
5839
|
requestId: z.ZodString;
|
5890
|
-
}, {
|
5891
5840
|
total: z.ZodNumber;
|
5892
5841
|
page: z.ZodNumber;
|
5893
5842
|
pageSize: z.ZodNumber;
|
5894
|
-
telephonyCdrs: z.ZodArray<z.ZodObject<
|
5843
|
+
telephonyCdrs: z.ZodArray<z.ZodObject<{
|
5895
5844
|
id: z.ZodString;
|
5896
5845
|
createdAt: z.ZodDate;
|
5897
5846
|
updatedAt: z.ZodDate;
|
5898
5847
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5899
|
-
}, {
|
5900
5848
|
uniqueCallId: z.ZodString;
|
5901
5849
|
timeStart: z.ZodString;
|
5902
5850
|
callFrom: z.ZodString;
|
@@ -5916,14 +5864,13 @@ export declare const telephonyCdrContract: {
|
|
5916
5864
|
notes: z.ZodNullable<z.ZodString>;
|
5917
5865
|
contactProfile: z.ZodNullable<z.ZodString>;
|
5918
5866
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
5919
|
-
tags: z.ZodArray<z.ZodObject<
|
5867
|
+
tags: z.ZodArray<z.ZodObject<{
|
5920
5868
|
id: z.ZodString;
|
5921
5869
|
createdAt: z.ZodDate;
|
5922
5870
|
updatedAt: z.ZodDate;
|
5923
5871
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5924
|
-
}, {
|
5925
5872
|
name: z.ZodString;
|
5926
|
-
}
|
5873
|
+
}, "strip", z.ZodTypeAny, {
|
5927
5874
|
name: string;
|
5928
5875
|
id: string;
|
5929
5876
|
createdAt: Date;
|
@@ -5936,32 +5883,29 @@ export declare const telephonyCdrContract: {
|
|
5936
5883
|
updatedAt: Date;
|
5937
5884
|
deletedAt: Date | null;
|
5938
5885
|
}>, "many">;
|
5939
|
-
company: z.ZodNullable<z.ZodObject<Omit<
|
5886
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
5940
5887
|
id: z.ZodString;
|
5941
5888
|
createdAt: z.ZodDate;
|
5942
5889
|
updatedAt: z.ZodDate;
|
5943
5890
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5944
|
-
}, {
|
5945
5891
|
name: z.ZodOptional<z.ZodString>;
|
5946
5892
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5947
5893
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5948
5894
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5949
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<
|
5895
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5950
5896
|
id: z.ZodString;
|
5951
5897
|
createdAt: z.ZodDate;
|
5952
5898
|
updatedAt: z.ZodDate;
|
5953
5899
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5954
|
-
}, {
|
5955
5900
|
textValue: z.ZodNullable<z.ZodString>;
|
5956
5901
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5957
5902
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5958
5903
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5959
|
-
attribute: z.ZodObject<Omit<
|
5904
|
+
attribute: z.ZodObject<Omit<{
|
5960
5905
|
id: z.ZodString;
|
5961
5906
|
createdAt: z.ZodDate;
|
5962
5907
|
updatedAt: z.ZodDate;
|
5963
5908
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5964
|
-
}, {
|
5965
5909
|
systemName: z.ZodString;
|
5966
5910
|
displayName: z.ZodString;
|
5967
5911
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5970,14 +5914,13 @@ export declare const telephonyCdrContract: {
|
|
5970
5914
|
isArchived: z.ZodBoolean;
|
5971
5915
|
isRequired: z.ZodBoolean;
|
5972
5916
|
isUnique: z.ZodBoolean;
|
5973
|
-
options: z.ZodArray<z.ZodObject<
|
5974
|
-
|
5917
|
+
options: z.ZodArray<z.ZodObject<{
|
5918
|
+
position: z.ZodNumber;
|
5975
5919
|
value: z.ZodString;
|
5920
|
+
label: z.ZodString;
|
5976
5921
|
isDefault: z.ZodBoolean;
|
5977
|
-
position: z.ZodNumber;
|
5978
|
-
}, {
|
5979
5922
|
id: z.ZodString;
|
5980
|
-
}
|
5923
|
+
}, "strip", z.ZodTypeAny, {
|
5981
5924
|
id: string;
|
5982
5925
|
position: number;
|
5983
5926
|
value: string;
|
@@ -5990,15 +5933,14 @@ export declare const telephonyCdrContract: {
|
|
5990
5933
|
label: string;
|
5991
5934
|
isDefault: boolean;
|
5992
5935
|
}>, "many">;
|
5993
|
-
group: z.ZodObject<
|
5936
|
+
group: z.ZodObject<{
|
5994
5937
|
id: z.ZodString;
|
5995
5938
|
createdAt: z.ZodDate;
|
5996
5939
|
updatedAt: z.ZodDate;
|
5997
5940
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5998
|
-
}, {
|
5999
5941
|
systemName: z.ZodString;
|
6000
5942
|
displayName: z.ZodString;
|
6001
|
-
}
|
5943
|
+
}, "strip", z.ZodTypeAny, {
|
6002
5944
|
id: string;
|
6003
5945
|
createdAt: Date;
|
6004
5946
|
updatedAt: Date;
|
@@ -6013,7 +5955,7 @@ export declare const telephonyCdrContract: {
|
|
6013
5955
|
systemName: string;
|
6014
5956
|
displayName: string;
|
6015
5957
|
}>;
|
6016
|
-
}
|
5958
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
6017
5959
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6018
5960
|
id: string;
|
6019
5961
|
position: number;
|
@@ -6040,7 +5982,7 @@ export declare const telephonyCdrContract: {
|
|
6040
5982
|
isRequired: boolean;
|
6041
5983
|
isUnique: boolean;
|
6042
5984
|
}>;
|
6043
|
-
}
|
5985
|
+
}, "strip", z.ZodTypeAny, {
|
6044
5986
|
id: string;
|
6045
5987
|
createdAt: Date;
|
6046
5988
|
updatedAt: Date;
|
@@ -6087,7 +6029,7 @@ export declare const telephonyCdrContract: {
|
|
6087
6029
|
numberValue: number | null;
|
6088
6030
|
dateValue: Date | null;
|
6089
6031
|
}>, "many">>;
|
6090
|
-
}
|
6032
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
6091
6033
|
id: string;
|
6092
6034
|
createdAt: Date;
|
6093
6035
|
updatedAt: Date;
|
@@ -6168,12 +6110,11 @@ export declare const telephonyCdrContract: {
|
|
6168
6110
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6169
6111
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6170
6112
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6171
|
-
attribute: z.ZodObject<Omit<
|
6113
|
+
attribute: z.ZodObject<Omit<{
|
6172
6114
|
id: z.ZodString;
|
6173
6115
|
createdAt: z.ZodDate;
|
6174
6116
|
updatedAt: z.ZodDate;
|
6175
6117
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6176
|
-
}, {
|
6177
6118
|
systemName: z.ZodString;
|
6178
6119
|
displayName: z.ZodString;
|
6179
6120
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6182,14 +6123,13 @@ export declare const telephonyCdrContract: {
|
|
6182
6123
|
isArchived: z.ZodBoolean;
|
6183
6124
|
isRequired: z.ZodBoolean;
|
6184
6125
|
isUnique: z.ZodBoolean;
|
6185
|
-
options: z.ZodArray<z.ZodObject<
|
6186
|
-
|
6126
|
+
options: z.ZodArray<z.ZodObject<{
|
6127
|
+
position: z.ZodNumber;
|
6187
6128
|
value: z.ZodString;
|
6129
|
+
label: z.ZodString;
|
6188
6130
|
isDefault: z.ZodBoolean;
|
6189
|
-
position: z.ZodNumber;
|
6190
|
-
}, {
|
6191
6131
|
id: z.ZodString;
|
6192
|
-
}
|
6132
|
+
}, "strip", z.ZodTypeAny, {
|
6193
6133
|
id: string;
|
6194
6134
|
position: number;
|
6195
6135
|
value: string;
|
@@ -6202,15 +6142,14 @@ export declare const telephonyCdrContract: {
|
|
6202
6142
|
label: string;
|
6203
6143
|
isDefault: boolean;
|
6204
6144
|
}>, "many">;
|
6205
|
-
group: z.ZodObject<
|
6145
|
+
group: z.ZodObject<{
|
6206
6146
|
id: z.ZodString;
|
6207
6147
|
createdAt: z.ZodDate;
|
6208
6148
|
updatedAt: z.ZodDate;
|
6209
6149
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6210
|
-
}, {
|
6211
6150
|
systemName: z.ZodString;
|
6212
6151
|
displayName: z.ZodString;
|
6213
|
-
}
|
6152
|
+
}, "strip", z.ZodTypeAny, {
|
6214
6153
|
id: string;
|
6215
6154
|
createdAt: Date;
|
6216
6155
|
updatedAt: Date;
|
@@ -6225,7 +6164,7 @@ export declare const telephonyCdrContract: {
|
|
6225
6164
|
systemName: string;
|
6226
6165
|
displayName: string;
|
6227
6166
|
}>;
|
6228
|
-
}
|
6167
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
6229
6168
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6230
6169
|
id: string;
|
6231
6170
|
position: number;
|
@@ -6252,19 +6191,18 @@ export declare const telephonyCdrContract: {
|
|
6252
6191
|
isRequired: boolean;
|
6253
6192
|
isUnique: boolean;
|
6254
6193
|
}>;
|
6255
|
-
uploads: z.ZodArray<z.ZodObject<
|
6194
|
+
uploads: z.ZodArray<z.ZodObject<{
|
6256
6195
|
id: z.ZodString;
|
6257
6196
|
createdAt: z.ZodDate;
|
6258
6197
|
updatedAt: z.ZodDate;
|
6259
6198
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6260
|
-
}, {
|
6261
6199
|
bucketName: z.ZodString;
|
6262
6200
|
fileName: z.ZodString;
|
6263
6201
|
fileSize: z.ZodNumber;
|
6264
6202
|
fileKey: z.ZodString;
|
6265
6203
|
fileUrl: z.ZodNullable<z.ZodString>;
|
6266
6204
|
status: z.ZodNullable<z.ZodString>;
|
6267
|
-
}
|
6205
|
+
}, "strip", z.ZodTypeAny, {
|
6268
6206
|
id: string;
|
6269
6207
|
status: string | null;
|
6270
6208
|
createdAt: Date;
|
@@ -6685,17 +6623,16 @@ export declare const telephonyCdrContract: {
|
|
6685
6623
|
};
|
6686
6624
|
}[] | undefined;
|
6687
6625
|
}>>;
|
6688
|
-
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
6626
|
+
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6689
6627
|
id: z.ZodString;
|
6690
6628
|
createdAt: z.ZodDate;
|
6691
6629
|
updatedAt: z.ZodDate;
|
6692
6630
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6693
|
-
}, {
|
6694
6631
|
queueId: z.ZodNumber;
|
6695
6632
|
queueName: z.ZodString;
|
6696
6633
|
queueNumber: z.ZodString;
|
6697
6634
|
maximumWaitingTime: z.ZodNumber;
|
6698
|
-
}
|
6635
|
+
}, "strip", z.ZodTypeAny, {
|
6699
6636
|
id: string;
|
6700
6637
|
createdAt: Date;
|
6701
6638
|
updatedAt: Date;
|
@@ -6722,19 +6659,18 @@ export declare const telephonyCdrContract: {
|
|
6722
6659
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
6723
6660
|
uploadId: z.ZodNullable<z.ZodString>;
|
6724
6661
|
serialNumber: z.ZodNullable<z.ZodString>;
|
6725
|
-
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
6662
|
+
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6726
6663
|
id: z.ZodString;
|
6727
6664
|
createdAt: z.ZodDate;
|
6728
6665
|
updatedAt: z.ZodDate;
|
6729
6666
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6730
|
-
}, {
|
6731
6667
|
bucketName: z.ZodString;
|
6732
6668
|
fileName: z.ZodString;
|
6733
6669
|
fileSize: z.ZodNumber;
|
6734
6670
|
fileKey: z.ZodString;
|
6735
6671
|
fileUrl: z.ZodNullable<z.ZodString>;
|
6736
6672
|
status: z.ZodNullable<z.ZodString>;
|
6737
|
-
}
|
6673
|
+
}, "strip", z.ZodTypeAny, {
|
6738
6674
|
id: string;
|
6739
6675
|
status: string | null;
|
6740
6676
|
createdAt: Date;
|
@@ -7169,7 +7105,7 @@ export declare const telephonyCdrContract: {
|
|
7169
7105
|
updatedAt?: string | undefined;
|
7170
7106
|
}>>>;
|
7171
7107
|
}, "strip", z.ZodTypeAny, {
|
7172
|
-
|
7108
|
+
callTo?: {
|
7173
7109
|
id: string;
|
7174
7110
|
user: {
|
7175
7111
|
name: string;
|
@@ -7195,7 +7131,7 @@ export declare const telephonyCdrContract: {
|
|
7195
7131
|
createdAt?: string | undefined;
|
7196
7132
|
updatedAt?: string | undefined;
|
7197
7133
|
} | null | undefined;
|
7198
|
-
|
7134
|
+
callFrom?: {
|
7199
7135
|
id: string;
|
7200
7136
|
user: {
|
7201
7137
|
name: string;
|
@@ -7222,7 +7158,7 @@ export declare const telephonyCdrContract: {
|
|
7222
7158
|
updatedAt?: string | undefined;
|
7223
7159
|
} | null | undefined;
|
7224
7160
|
}, {
|
7225
|
-
|
7161
|
+
callTo?: {
|
7226
7162
|
id: string;
|
7227
7163
|
user: {
|
7228
7164
|
name: string;
|
@@ -7248,7 +7184,7 @@ export declare const telephonyCdrContract: {
|
|
7248
7184
|
createdAt?: string | undefined;
|
7249
7185
|
updatedAt?: string | undefined;
|
7250
7186
|
} | null | undefined;
|
7251
|
-
|
7187
|
+
callFrom?: {
|
7252
7188
|
id: string;
|
7253
7189
|
user: {
|
7254
7190
|
name: string;
|
@@ -7277,7 +7213,7 @@ export declare const telephonyCdrContract: {
|
|
7277
7213
|
}>>;
|
7278
7214
|
isQueueMissedCall: z.ZodBoolean;
|
7279
7215
|
extensionId: z.ZodNullable<z.ZodString>;
|
7280
|
-
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<
|
7216
|
+
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7281
7217
|
id: z.ZodString;
|
7282
7218
|
createdAt: z.ZodDate;
|
7283
7219
|
updatedAt: z.ZodDate;
|
@@ -7289,7 +7225,6 @@ export declare const telephonyCdrContract: {
|
|
7289
7225
|
extensionId: z.ZodNullable<z.ZodString>;
|
7290
7226
|
extensionName: z.ZodString;
|
7291
7227
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
7292
|
-
}, {
|
7293
7228
|
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
7294
7229
|
id: z.ZodString;
|
7295
7230
|
createdAt: z.ZodDate;
|
@@ -7494,7 +7429,7 @@ export declare const telephonyCdrContract: {
|
|
7494
7429
|
telephonySignature: string | null;
|
7495
7430
|
};
|
7496
7431
|
}>>>;
|
7497
|
-
}
|
7432
|
+
}, "strip", z.ZodTypeAny, {
|
7498
7433
|
id: string;
|
7499
7434
|
createdAt: Date;
|
7500
7435
|
updatedAt: Date;
|
@@ -7609,7 +7544,7 @@ export declare const telephonyCdrContract: {
|
|
7609
7544
|
}>>>;
|
7610
7545
|
telephonyQueueId: z.ZodNullable<z.ZodString>;
|
7611
7546
|
contactId: z.ZodNullable<z.ZodString>;
|
7612
|
-
}
|
7547
|
+
}, "strip", z.ZodTypeAny, {
|
7613
7548
|
type: string;
|
7614
7549
|
id: string;
|
7615
7550
|
recording: string | null;
|
@@ -7632,7 +7567,7 @@ export declare const telephonyCdrContract: {
|
|
7632
7567
|
uploadId: string | null;
|
7633
7568
|
serialNumber: string | null;
|
7634
7569
|
callParticipants: {
|
7635
|
-
|
7570
|
+
callTo?: {
|
7636
7571
|
id: string;
|
7637
7572
|
user: {
|
7638
7573
|
name: string;
|
@@ -7658,7 +7593,7 @@ export declare const telephonyCdrContract: {
|
|
7658
7593
|
createdAt?: string | undefined;
|
7659
7594
|
updatedAt?: string | undefined;
|
7660
7595
|
} | null | undefined;
|
7661
|
-
|
7596
|
+
callFrom?: {
|
7662
7597
|
id: string;
|
7663
7598
|
user: {
|
7664
7599
|
name: string;
|
@@ -7688,63 +7623,6 @@ export declare const telephonyCdrContract: {
|
|
7688
7623
|
isQueueMissedCall: boolean;
|
7689
7624
|
telephonyQueueId: string | null;
|
7690
7625
|
contactId: string | null;
|
7691
|
-
extension?: {
|
7692
|
-
id: string;
|
7693
|
-
createdAt: Date;
|
7694
|
-
updatedAt: Date;
|
7695
|
-
deletedAt: Date | null;
|
7696
|
-
userId: string | null;
|
7697
|
-
sipServerUrl: string;
|
7698
|
-
sipUserName: string;
|
7699
|
-
webphoneLoginUser: string;
|
7700
|
-
extensionId: string | null;
|
7701
|
-
extensionName: string;
|
7702
|
-
telephonySignature: string | null;
|
7703
|
-
user?: {
|
7704
|
-
name: string;
|
7705
|
-
id: string;
|
7706
|
-
address: string | null;
|
7707
|
-
email: string;
|
7708
|
-
createdAt: Date;
|
7709
|
-
updatedAt: Date;
|
7710
|
-
deletedAt: Date | null;
|
7711
|
-
emailVerifiedAt: Date | null;
|
7712
|
-
password: string;
|
7713
|
-
phone: string | null;
|
7714
|
-
notificationCount: number | null;
|
7715
|
-
roles: {
|
7716
|
-
id: string;
|
7717
|
-
description: string | null;
|
7718
|
-
createdAt: Date;
|
7719
|
-
updatedAt: Date;
|
7720
|
-
deletedAt: Date | null;
|
7721
|
-
systemName: string;
|
7722
|
-
displayName: string;
|
7723
|
-
permissions: {
|
7724
|
-
id: string;
|
7725
|
-
description: string | null;
|
7726
|
-
createdAt: Date;
|
7727
|
-
updatedAt: Date;
|
7728
|
-
deletedAt: Date | null;
|
7729
|
-
systemName: string;
|
7730
|
-
displayName: string;
|
7731
|
-
}[];
|
7732
|
-
}[];
|
7733
|
-
extension: {
|
7734
|
-
id: string;
|
7735
|
-
createdAt: Date;
|
7736
|
-
updatedAt: Date;
|
7737
|
-
deletedAt: Date | null;
|
7738
|
-
userId: string | null;
|
7739
|
-
sipServerUrl: string;
|
7740
|
-
sipUserName: string;
|
7741
|
-
webphoneLoginUser: string;
|
7742
|
-
extensionId: string | null;
|
7743
|
-
extensionName: string;
|
7744
|
-
telephonySignature: string | null;
|
7745
|
-
};
|
7746
|
-
} | null | undefined;
|
7747
|
-
} | null | undefined;
|
7748
7626
|
contact?: {
|
7749
7627
|
name: string;
|
7750
7628
|
id: string;
|
@@ -7879,6 +7757,63 @@ export declare const telephonyCdrContract: {
|
|
7879
7757
|
fileSize: number;
|
7880
7758
|
fileUrl: string | null;
|
7881
7759
|
} | null | undefined;
|
7760
|
+
extension?: {
|
7761
|
+
id: string;
|
7762
|
+
createdAt: Date;
|
7763
|
+
updatedAt: Date;
|
7764
|
+
deletedAt: Date | null;
|
7765
|
+
userId: string | null;
|
7766
|
+
sipServerUrl: string;
|
7767
|
+
sipUserName: string;
|
7768
|
+
webphoneLoginUser: string;
|
7769
|
+
extensionId: string | null;
|
7770
|
+
extensionName: string;
|
7771
|
+
telephonySignature: string | null;
|
7772
|
+
user?: {
|
7773
|
+
name: string;
|
7774
|
+
id: string;
|
7775
|
+
address: string | null;
|
7776
|
+
email: string;
|
7777
|
+
createdAt: Date;
|
7778
|
+
updatedAt: Date;
|
7779
|
+
deletedAt: Date | null;
|
7780
|
+
emailVerifiedAt: Date | null;
|
7781
|
+
password: string;
|
7782
|
+
phone: string | null;
|
7783
|
+
notificationCount: number | null;
|
7784
|
+
roles: {
|
7785
|
+
id: string;
|
7786
|
+
description: string | null;
|
7787
|
+
createdAt: Date;
|
7788
|
+
updatedAt: Date;
|
7789
|
+
deletedAt: Date | null;
|
7790
|
+
systemName: string;
|
7791
|
+
displayName: string;
|
7792
|
+
permissions: {
|
7793
|
+
id: string;
|
7794
|
+
description: string | null;
|
7795
|
+
createdAt: Date;
|
7796
|
+
updatedAt: Date;
|
7797
|
+
deletedAt: Date | null;
|
7798
|
+
systemName: string;
|
7799
|
+
displayName: string;
|
7800
|
+
}[];
|
7801
|
+
}[];
|
7802
|
+
extension: {
|
7803
|
+
id: string;
|
7804
|
+
createdAt: Date;
|
7805
|
+
updatedAt: Date;
|
7806
|
+
deletedAt: Date | null;
|
7807
|
+
userId: string | null;
|
7808
|
+
sipServerUrl: string;
|
7809
|
+
sipUserName: string;
|
7810
|
+
webphoneLoginUser: string;
|
7811
|
+
extensionId: string | null;
|
7812
|
+
extensionName: string;
|
7813
|
+
telephonySignature: string | null;
|
7814
|
+
};
|
7815
|
+
} | null | undefined;
|
7816
|
+
} | null | undefined;
|
7882
7817
|
}, {
|
7883
7818
|
type: string;
|
7884
7819
|
id: string;
|
@@ -7902,7 +7837,7 @@ export declare const telephonyCdrContract: {
|
|
7902
7837
|
uploadId: string | null;
|
7903
7838
|
serialNumber: string | null;
|
7904
7839
|
callParticipants: {
|
7905
|
-
|
7840
|
+
callTo?: {
|
7906
7841
|
id: string;
|
7907
7842
|
user: {
|
7908
7843
|
name: string;
|
@@ -7928,7 +7863,7 @@ export declare const telephonyCdrContract: {
|
|
7928
7863
|
createdAt?: string | undefined;
|
7929
7864
|
updatedAt?: string | undefined;
|
7930
7865
|
} | null | undefined;
|
7931
|
-
|
7866
|
+
callFrom?: {
|
7932
7867
|
id: string;
|
7933
7868
|
user: {
|
7934
7869
|
name: string;
|
@@ -7958,63 +7893,6 @@ export declare const telephonyCdrContract: {
|
|
7958
7893
|
isQueueMissedCall: boolean;
|
7959
7894
|
telephonyQueueId: string | null;
|
7960
7895
|
contactId: string | null;
|
7961
|
-
extension?: {
|
7962
|
-
id: string;
|
7963
|
-
createdAt: Date;
|
7964
|
-
updatedAt: Date;
|
7965
|
-
deletedAt: Date | null;
|
7966
|
-
userId: string | null;
|
7967
|
-
sipServerUrl: string;
|
7968
|
-
sipUserName: string;
|
7969
|
-
webphoneLoginUser: string;
|
7970
|
-
extensionId: string | null;
|
7971
|
-
extensionName: string;
|
7972
|
-
telephonySignature: string | null;
|
7973
|
-
user?: {
|
7974
|
-
name: string;
|
7975
|
-
id: string;
|
7976
|
-
address: string | null;
|
7977
|
-
email: string;
|
7978
|
-
createdAt: Date;
|
7979
|
-
updatedAt: Date;
|
7980
|
-
deletedAt: Date | null;
|
7981
|
-
emailVerifiedAt: Date | null;
|
7982
|
-
password: string;
|
7983
|
-
phone: string | null;
|
7984
|
-
notificationCount: number | null;
|
7985
|
-
roles: {
|
7986
|
-
id: string;
|
7987
|
-
description: string | null;
|
7988
|
-
createdAt: Date;
|
7989
|
-
updatedAt: Date;
|
7990
|
-
deletedAt: Date | null;
|
7991
|
-
systemName: string;
|
7992
|
-
displayName: string;
|
7993
|
-
permissions: {
|
7994
|
-
id: string;
|
7995
|
-
description: string | null;
|
7996
|
-
createdAt: Date;
|
7997
|
-
updatedAt: Date;
|
7998
|
-
deletedAt: Date | null;
|
7999
|
-
systemName: string;
|
8000
|
-
displayName: string;
|
8001
|
-
}[];
|
8002
|
-
}[];
|
8003
|
-
extension: {
|
8004
|
-
id: string;
|
8005
|
-
createdAt: Date;
|
8006
|
-
updatedAt: Date;
|
8007
|
-
deletedAt: Date | null;
|
8008
|
-
userId: string | null;
|
8009
|
-
sipServerUrl: string;
|
8010
|
-
sipUserName: string;
|
8011
|
-
webphoneLoginUser: string;
|
8012
|
-
extensionId: string | null;
|
8013
|
-
extensionName: string;
|
8014
|
-
telephonySignature: string | null;
|
8015
|
-
};
|
8016
|
-
} | null | undefined;
|
8017
|
-
} | null | undefined;
|
8018
7896
|
contact?: {
|
8019
7897
|
name: string;
|
8020
7898
|
id: string;
|
@@ -8149,8 +8027,65 @@ export declare const telephonyCdrContract: {
|
|
8149
8027
|
fileSize: number;
|
8150
8028
|
fileUrl: string | null;
|
8151
8029
|
} | null | undefined;
|
8030
|
+
extension?: {
|
8031
|
+
id: string;
|
8032
|
+
createdAt: Date;
|
8033
|
+
updatedAt: Date;
|
8034
|
+
deletedAt: Date | null;
|
8035
|
+
userId: string | null;
|
8036
|
+
sipServerUrl: string;
|
8037
|
+
sipUserName: string;
|
8038
|
+
webphoneLoginUser: string;
|
8039
|
+
extensionId: string | null;
|
8040
|
+
extensionName: string;
|
8041
|
+
telephonySignature: string | null;
|
8042
|
+
user?: {
|
8043
|
+
name: string;
|
8044
|
+
id: string;
|
8045
|
+
address: string | null;
|
8046
|
+
email: string;
|
8047
|
+
createdAt: Date;
|
8048
|
+
updatedAt: Date;
|
8049
|
+
deletedAt: Date | null;
|
8050
|
+
emailVerifiedAt: Date | null;
|
8051
|
+
password: string;
|
8052
|
+
phone: string | null;
|
8053
|
+
notificationCount: number | null;
|
8054
|
+
roles: {
|
8055
|
+
id: string;
|
8056
|
+
description: string | null;
|
8057
|
+
createdAt: Date;
|
8058
|
+
updatedAt: Date;
|
8059
|
+
deletedAt: Date | null;
|
8060
|
+
systemName: string;
|
8061
|
+
displayName: string;
|
8062
|
+
permissions: {
|
8063
|
+
id: string;
|
8064
|
+
description: string | null;
|
8065
|
+
createdAt: Date;
|
8066
|
+
updatedAt: Date;
|
8067
|
+
deletedAt: Date | null;
|
8068
|
+
systemName: string;
|
8069
|
+
displayName: string;
|
8070
|
+
}[];
|
8071
|
+
}[];
|
8072
|
+
extension: {
|
8073
|
+
id: string;
|
8074
|
+
createdAt: Date;
|
8075
|
+
updatedAt: Date;
|
8076
|
+
deletedAt: Date | null;
|
8077
|
+
userId: string | null;
|
8078
|
+
sipServerUrl: string;
|
8079
|
+
sipUserName: string;
|
8080
|
+
webphoneLoginUser: string;
|
8081
|
+
extensionId: string | null;
|
8082
|
+
extensionName: string;
|
8083
|
+
telephonySignature: string | null;
|
8084
|
+
};
|
8085
|
+
} | null | undefined;
|
8086
|
+
} | null | undefined;
|
8152
8087
|
}>, "many">;
|
8153
|
-
}
|
8088
|
+
}, "strip", z.ZodTypeAny, {
|
8154
8089
|
total: number;
|
8155
8090
|
page: number;
|
8156
8091
|
pageSize: number;
|
@@ -8178,32 +8113,6 @@ export declare const telephonyCdrContract: {
|
|
8178
8113
|
uploadId: string | null;
|
8179
8114
|
serialNumber: string | null;
|
8180
8115
|
callParticipants: {
|
8181
|
-
callFrom?: {
|
8182
|
-
id: string;
|
8183
|
-
user: {
|
8184
|
-
name: string;
|
8185
|
-
id: string;
|
8186
|
-
address: string | null;
|
8187
|
-
email: string;
|
8188
|
-
createdAt: Date;
|
8189
|
-
updatedAt: Date;
|
8190
|
-
deletedAt: Date | null;
|
8191
|
-
emailVerifiedAt: Date | null;
|
8192
|
-
password: string;
|
8193
|
-
phone: string | null;
|
8194
|
-
notificationCount: number | null;
|
8195
|
-
} | null;
|
8196
|
-
deletedAt: string | null;
|
8197
|
-
userId: string;
|
8198
|
-
sipServerUrl: string | null;
|
8199
|
-
sipUserName: string | null;
|
8200
|
-
webphoneLoginUser: string | null;
|
8201
|
-
extensionId: string | null;
|
8202
|
-
extensionName: string | null;
|
8203
|
-
telephonySignature: string | null;
|
8204
|
-
createdAt?: string | undefined;
|
8205
|
-
updatedAt?: string | undefined;
|
8206
|
-
} | null | undefined;
|
8207
8116
|
callTo?: {
|
8208
8117
|
id: string;
|
8209
8118
|
user: {
|
@@ -8222,75 +8131,44 @@ export declare const telephonyCdrContract: {
|
|
8222
8131
|
deletedAt: string | null;
|
8223
8132
|
userId: string;
|
8224
8133
|
sipServerUrl: string | null;
|
8225
|
-
sipUserName: string | null;
|
8226
|
-
webphoneLoginUser: string | null;
|
8227
|
-
extensionId: string | null;
|
8228
|
-
extensionName: string | null;
|
8229
|
-
telephonySignature: string | null;
|
8230
|
-
createdAt?: string | undefined;
|
8231
|
-
updatedAt?: string | undefined;
|
8232
|
-
} | null | undefined;
|
8233
|
-
|
8234
|
-
|
8235
|
-
|
8236
|
-
|
8237
|
-
extension?: {
|
8238
|
-
id: string;
|
8239
|
-
createdAt: Date;
|
8240
|
-
updatedAt: Date;
|
8241
|
-
deletedAt: Date | null;
|
8242
|
-
userId: string | null;
|
8243
|
-
sipServerUrl: string;
|
8244
|
-
sipUserName: string;
|
8245
|
-
webphoneLoginUser: string;
|
8246
|
-
extensionId: string | null;
|
8247
|
-
extensionName: string;
|
8248
|
-
telephonySignature: string | null;
|
8249
|
-
user?: {
|
8250
|
-
name: string;
|
8251
|
-
id: string;
|
8252
|
-
address: string | null;
|
8253
|
-
email: string;
|
8254
|
-
createdAt: Date;
|
8255
|
-
updatedAt: Date;
|
8256
|
-
deletedAt: Date | null;
|
8257
|
-
emailVerifiedAt: Date | null;
|
8258
|
-
password: string;
|
8259
|
-
phone: string | null;
|
8260
|
-
notificationCount: number | null;
|
8261
|
-
roles: {
|
8262
|
-
id: string;
|
8263
|
-
description: string | null;
|
8264
|
-
createdAt: Date;
|
8265
|
-
updatedAt: Date;
|
8266
|
-
deletedAt: Date | null;
|
8267
|
-
systemName: string;
|
8268
|
-
displayName: string;
|
8269
|
-
permissions: {
|
8270
|
-
id: string;
|
8271
|
-
description: string | null;
|
8272
|
-
createdAt: Date;
|
8273
|
-
updatedAt: Date;
|
8274
|
-
deletedAt: Date | null;
|
8275
|
-
systemName: string;
|
8276
|
-
displayName: string;
|
8277
|
-
}[];
|
8278
|
-
}[];
|
8279
|
-
extension: {
|
8134
|
+
sipUserName: string | null;
|
8135
|
+
webphoneLoginUser: string | null;
|
8136
|
+
extensionId: string | null;
|
8137
|
+
extensionName: string | null;
|
8138
|
+
telephonySignature: string | null;
|
8139
|
+
createdAt?: string | undefined;
|
8140
|
+
updatedAt?: string | undefined;
|
8141
|
+
} | null | undefined;
|
8142
|
+
callFrom?: {
|
8143
|
+
id: string;
|
8144
|
+
user: {
|
8145
|
+
name: string;
|
8280
8146
|
id: string;
|
8147
|
+
address: string | null;
|
8148
|
+
email: string;
|
8281
8149
|
createdAt: Date;
|
8282
8150
|
updatedAt: Date;
|
8283
8151
|
deletedAt: Date | null;
|
8284
|
-
|
8285
|
-
|
8286
|
-
|
8287
|
-
|
8288
|
-
|
8289
|
-
|
8290
|
-
|
8291
|
-
|
8152
|
+
emailVerifiedAt: Date | null;
|
8153
|
+
password: string;
|
8154
|
+
phone: string | null;
|
8155
|
+
notificationCount: number | null;
|
8156
|
+
} | null;
|
8157
|
+
deletedAt: string | null;
|
8158
|
+
userId: string;
|
8159
|
+
sipServerUrl: string | null;
|
8160
|
+
sipUserName: string | null;
|
8161
|
+
webphoneLoginUser: string | null;
|
8162
|
+
extensionId: string | null;
|
8163
|
+
extensionName: string | null;
|
8164
|
+
telephonySignature: string | null;
|
8165
|
+
createdAt?: string | undefined;
|
8166
|
+
updatedAt?: string | undefined;
|
8292
8167
|
} | null | undefined;
|
8293
|
-
} | null
|
8168
|
+
} | null;
|
8169
|
+
isQueueMissedCall: boolean;
|
8170
|
+
telephonyQueueId: string | null;
|
8171
|
+
contactId: string | null;
|
8294
8172
|
contact?: {
|
8295
8173
|
name: string;
|
8296
8174
|
id: string;
|
@@ -8425,6 +8303,63 @@ export declare const telephonyCdrContract: {
|
|
8425
8303
|
fileSize: number;
|
8426
8304
|
fileUrl: string | null;
|
8427
8305
|
} | null | undefined;
|
8306
|
+
extension?: {
|
8307
|
+
id: string;
|
8308
|
+
createdAt: Date;
|
8309
|
+
updatedAt: Date;
|
8310
|
+
deletedAt: Date | null;
|
8311
|
+
userId: string | null;
|
8312
|
+
sipServerUrl: string;
|
8313
|
+
sipUserName: string;
|
8314
|
+
webphoneLoginUser: string;
|
8315
|
+
extensionId: string | null;
|
8316
|
+
extensionName: string;
|
8317
|
+
telephonySignature: string | null;
|
8318
|
+
user?: {
|
8319
|
+
name: string;
|
8320
|
+
id: string;
|
8321
|
+
address: string | null;
|
8322
|
+
email: string;
|
8323
|
+
createdAt: Date;
|
8324
|
+
updatedAt: Date;
|
8325
|
+
deletedAt: Date | null;
|
8326
|
+
emailVerifiedAt: Date | null;
|
8327
|
+
password: string;
|
8328
|
+
phone: string | null;
|
8329
|
+
notificationCount: number | null;
|
8330
|
+
roles: {
|
8331
|
+
id: string;
|
8332
|
+
description: string | null;
|
8333
|
+
createdAt: Date;
|
8334
|
+
updatedAt: Date;
|
8335
|
+
deletedAt: Date | null;
|
8336
|
+
systemName: string;
|
8337
|
+
displayName: string;
|
8338
|
+
permissions: {
|
8339
|
+
id: string;
|
8340
|
+
description: string | null;
|
8341
|
+
createdAt: Date;
|
8342
|
+
updatedAt: Date;
|
8343
|
+
deletedAt: Date | null;
|
8344
|
+
systemName: string;
|
8345
|
+
displayName: string;
|
8346
|
+
}[];
|
8347
|
+
}[];
|
8348
|
+
extension: {
|
8349
|
+
id: string;
|
8350
|
+
createdAt: Date;
|
8351
|
+
updatedAt: Date;
|
8352
|
+
deletedAt: Date | null;
|
8353
|
+
userId: string | null;
|
8354
|
+
sipServerUrl: string;
|
8355
|
+
sipUserName: string;
|
8356
|
+
webphoneLoginUser: string;
|
8357
|
+
extensionId: string | null;
|
8358
|
+
extensionName: string;
|
8359
|
+
telephonySignature: string | null;
|
8360
|
+
};
|
8361
|
+
} | null | undefined;
|
8362
|
+
} | null | undefined;
|
8428
8363
|
}[];
|
8429
8364
|
}, {
|
8430
8365
|
total: number;
|
@@ -8454,7 +8389,7 @@ export declare const telephonyCdrContract: {
|
|
8454
8389
|
uploadId: string | null;
|
8455
8390
|
serialNumber: string | null;
|
8456
8391
|
callParticipants: {
|
8457
|
-
|
8392
|
+
callTo?: {
|
8458
8393
|
id: string;
|
8459
8394
|
user: {
|
8460
8395
|
name: string;
|
@@ -8480,7 +8415,7 @@ export declare const telephonyCdrContract: {
|
|
8480
8415
|
createdAt?: string | undefined;
|
8481
8416
|
updatedAt?: string | undefined;
|
8482
8417
|
} | null | undefined;
|
8483
|
-
|
8418
|
+
callFrom?: {
|
8484
8419
|
id: string;
|
8485
8420
|
user: {
|
8486
8421
|
name: string;
|
@@ -8510,63 +8445,6 @@ export declare const telephonyCdrContract: {
|
|
8510
8445
|
isQueueMissedCall: boolean;
|
8511
8446
|
telephonyQueueId: string | null;
|
8512
8447
|
contactId: string | null;
|
8513
|
-
extension?: {
|
8514
|
-
id: string;
|
8515
|
-
createdAt: Date;
|
8516
|
-
updatedAt: Date;
|
8517
|
-
deletedAt: Date | null;
|
8518
|
-
userId: string | null;
|
8519
|
-
sipServerUrl: string;
|
8520
|
-
sipUserName: string;
|
8521
|
-
webphoneLoginUser: string;
|
8522
|
-
extensionId: string | null;
|
8523
|
-
extensionName: string;
|
8524
|
-
telephonySignature: string | null;
|
8525
|
-
user?: {
|
8526
|
-
name: string;
|
8527
|
-
id: string;
|
8528
|
-
address: string | null;
|
8529
|
-
email: string;
|
8530
|
-
createdAt: Date;
|
8531
|
-
updatedAt: Date;
|
8532
|
-
deletedAt: Date | null;
|
8533
|
-
emailVerifiedAt: Date | null;
|
8534
|
-
password: string;
|
8535
|
-
phone: string | null;
|
8536
|
-
notificationCount: number | null;
|
8537
|
-
roles: {
|
8538
|
-
id: string;
|
8539
|
-
description: string | null;
|
8540
|
-
createdAt: Date;
|
8541
|
-
updatedAt: Date;
|
8542
|
-
deletedAt: Date | null;
|
8543
|
-
systemName: string;
|
8544
|
-
displayName: string;
|
8545
|
-
permissions: {
|
8546
|
-
id: string;
|
8547
|
-
description: string | null;
|
8548
|
-
createdAt: Date;
|
8549
|
-
updatedAt: Date;
|
8550
|
-
deletedAt: Date | null;
|
8551
|
-
systemName: string;
|
8552
|
-
displayName: string;
|
8553
|
-
}[];
|
8554
|
-
}[];
|
8555
|
-
extension: {
|
8556
|
-
id: string;
|
8557
|
-
createdAt: Date;
|
8558
|
-
updatedAt: Date;
|
8559
|
-
deletedAt: Date | null;
|
8560
|
-
userId: string | null;
|
8561
|
-
sipServerUrl: string;
|
8562
|
-
sipUserName: string;
|
8563
|
-
webphoneLoginUser: string;
|
8564
|
-
extensionId: string | null;
|
8565
|
-
extensionName: string;
|
8566
|
-
telephonySignature: string | null;
|
8567
|
-
};
|
8568
|
-
} | null | undefined;
|
8569
|
-
} | null | undefined;
|
8570
8448
|
contact?: {
|
8571
8449
|
name: string;
|
8572
8450
|
id: string;
|
@@ -8701,6 +8579,63 @@ export declare const telephonyCdrContract: {
|
|
8701
8579
|
fileSize: number;
|
8702
8580
|
fileUrl: string | null;
|
8703
8581
|
} | null | undefined;
|
8582
|
+
extension?: {
|
8583
|
+
id: string;
|
8584
|
+
createdAt: Date;
|
8585
|
+
updatedAt: Date;
|
8586
|
+
deletedAt: Date | null;
|
8587
|
+
userId: string | null;
|
8588
|
+
sipServerUrl: string;
|
8589
|
+
sipUserName: string;
|
8590
|
+
webphoneLoginUser: string;
|
8591
|
+
extensionId: string | null;
|
8592
|
+
extensionName: string;
|
8593
|
+
telephonySignature: string | null;
|
8594
|
+
user?: {
|
8595
|
+
name: string;
|
8596
|
+
id: string;
|
8597
|
+
address: string | null;
|
8598
|
+
email: string;
|
8599
|
+
createdAt: Date;
|
8600
|
+
updatedAt: Date;
|
8601
|
+
deletedAt: Date | null;
|
8602
|
+
emailVerifiedAt: Date | null;
|
8603
|
+
password: string;
|
8604
|
+
phone: string | null;
|
8605
|
+
notificationCount: number | null;
|
8606
|
+
roles: {
|
8607
|
+
id: string;
|
8608
|
+
description: string | null;
|
8609
|
+
createdAt: Date;
|
8610
|
+
updatedAt: Date;
|
8611
|
+
deletedAt: Date | null;
|
8612
|
+
systemName: string;
|
8613
|
+
displayName: string;
|
8614
|
+
permissions: {
|
8615
|
+
id: string;
|
8616
|
+
description: string | null;
|
8617
|
+
createdAt: Date;
|
8618
|
+
updatedAt: Date;
|
8619
|
+
deletedAt: Date | null;
|
8620
|
+
systemName: string;
|
8621
|
+
displayName: string;
|
8622
|
+
}[];
|
8623
|
+
}[];
|
8624
|
+
extension: {
|
8625
|
+
id: string;
|
8626
|
+
createdAt: Date;
|
8627
|
+
updatedAt: Date;
|
8628
|
+
deletedAt: Date | null;
|
8629
|
+
userId: string | null;
|
8630
|
+
sipServerUrl: string;
|
8631
|
+
sipUserName: string;
|
8632
|
+
webphoneLoginUser: string;
|
8633
|
+
extensionId: string | null;
|
8634
|
+
extensionName: string;
|
8635
|
+
telephonySignature: string | null;
|
8636
|
+
};
|
8637
|
+
} | null | undefined;
|
8638
|
+
} | null | undefined;
|
8704
8639
|
}[];
|
8705
8640
|
}>;
|
8706
8641
|
401: z.ZodObject<{
|
@@ -8714,35 +8649,46 @@ export declare const telephonyCdrContract: {
|
|
8714
8649
|
error?: any;
|
8715
8650
|
}>;
|
8716
8651
|
};
|
8652
|
+
path: "telephony-cdr/recent-calls";
|
8653
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8654
|
+
'x-tenant': z.ZodString;
|
8655
|
+
authorization: z.ZodString;
|
8656
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
8657
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
8658
|
+
}, "strip", z.ZodTypeAny, {
|
8659
|
+
'x-tenant': string;
|
8660
|
+
authorization: string;
|
8661
|
+
'x-client-timezone': string;
|
8662
|
+
'x-code'?: string | undefined;
|
8663
|
+
}, {
|
8664
|
+
'x-tenant': string;
|
8665
|
+
authorization: string;
|
8666
|
+
'x-code'?: string | undefined;
|
8667
|
+
'x-client-timezone'?: string | undefined;
|
8668
|
+
}>>>;
|
8717
8669
|
};
|
8718
8670
|
export: {
|
8719
8671
|
summary: "Get recent telephony cdr.";
|
8720
8672
|
method: "GET";
|
8721
|
-
query: z.ZodObject<
|
8722
|
-
page: z.ZodDefault<z.ZodNumber>;
|
8723
|
-
pageSize: z.ZodDefault<z.ZodNumber>;
|
8724
|
-
}, {
|
8725
|
-
selectedDate: z.ZodOptional<z.ZodString>;
|
8673
|
+
query: z.ZodObject<{
|
8726
8674
|
type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8727
8675
|
status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8676
|
+
userId: z.ZodOptional<z.ZodString>;
|
8728
8677
|
callFrom: z.ZodOptional<z.ZodString>;
|
8729
8678
|
callTo: z.ZodOptional<z.ZodString>;
|
8679
|
+
contactId: z.ZodOptional<z.ZodString>;
|
8680
|
+
selectedDate: z.ZodOptional<z.ZodString>;
|
8681
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8730
8682
|
trunk: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8731
|
-
userId: z.ZodOptional<z.ZodString>;
|
8732
8683
|
queueStatus: z.ZodOptional<z.ZodString>;
|
8733
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8734
8684
|
agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
|
8735
|
-
contactId: z.ZodOptional<z.ZodString>;
|
8736
|
-
}>, {
|
8737
8685
|
page: z.ZodOptional<z.ZodNumber>;
|
8738
8686
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
8739
8687
|
module: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"cdrs">, z.ZodLiteral<"call-logs">]>>>;
|
8740
|
-
}
|
8688
|
+
}, "strip", z.ZodTypeAny, {
|
8741
8689
|
module: "cdrs" | "call-logs";
|
8742
8690
|
type?: string[] | undefined;
|
8743
|
-
page?: number | undefined;
|
8744
8691
|
status?: string[] | undefined;
|
8745
|
-
pageSize?: number | undefined;
|
8746
8692
|
userId?: string | undefined;
|
8747
8693
|
callFrom?: string | undefined;
|
8748
8694
|
callTo?: string | undefined;
|
@@ -8752,12 +8698,11 @@ export declare const telephonyCdrContract: {
|
|
8752
8698
|
trunk?: string[] | undefined;
|
8753
8699
|
queueStatus?: string | undefined;
|
8754
8700
|
agentCallsOnly?: boolean | undefined;
|
8701
|
+
page?: number | undefined;
|
8702
|
+
pageSize?: number | undefined;
|
8755
8703
|
}, {
|
8756
8704
|
type?: string[] | undefined;
|
8757
|
-
module?: "cdrs" | "call-logs" | undefined;
|
8758
|
-
page?: number | undefined;
|
8759
8705
|
status?: string[] | undefined;
|
8760
|
-
pageSize?: number | undefined;
|
8761
8706
|
userId?: string | undefined;
|
8762
8707
|
callFrom?: string | undefined;
|
8763
8708
|
callTo?: string | undefined;
|
@@ -8767,24 +8712,10 @@ export declare const telephonyCdrContract: {
|
|
8767
8712
|
trunk?: string[] | undefined;
|
8768
8713
|
queueStatus?: string | undefined;
|
8769
8714
|
agentCallsOnly?: boolean | undefined;
|
8715
|
+
page?: number | undefined;
|
8716
|
+
pageSize?: number | undefined;
|
8717
|
+
module?: "cdrs" | "call-logs" | undefined;
|
8770
8718
|
}>;
|
8771
|
-
path: "telephony-cdr/export";
|
8772
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8773
|
-
'x-tenant': z.ZodString;
|
8774
|
-
authorization: z.ZodString;
|
8775
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
8776
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
8777
|
-
}, "strip", z.ZodTypeAny, {
|
8778
|
-
'x-tenant': string;
|
8779
|
-
authorization: string;
|
8780
|
-
'x-client-timezone': string;
|
8781
|
-
'x-code'?: string | undefined;
|
8782
|
-
}, {
|
8783
|
-
'x-tenant': string;
|
8784
|
-
authorization: string;
|
8785
|
-
'x-code'?: string | undefined;
|
8786
|
-
'x-client-timezone'?: string | undefined;
|
8787
|
-
}>>>;
|
8788
8719
|
responses: {
|
8789
8720
|
200: null;
|
8790
8721
|
401: z.ZodObject<{
|
@@ -8808,12 +8739,28 @@ export declare const telephonyCdrContract: {
|
|
8808
8739
|
error?: any;
|
8809
8740
|
}>;
|
8810
8741
|
};
|
8742
|
+
path: "telephony-cdr/export";
|
8743
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8744
|
+
'x-tenant': z.ZodString;
|
8745
|
+
authorization: z.ZodString;
|
8746
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
8747
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
8748
|
+
}, "strip", z.ZodTypeAny, {
|
8749
|
+
'x-tenant': string;
|
8750
|
+
authorization: string;
|
8751
|
+
'x-client-timezone': string;
|
8752
|
+
'x-code'?: string | undefined;
|
8753
|
+
}, {
|
8754
|
+
'x-tenant': string;
|
8755
|
+
authorization: string;
|
8756
|
+
'x-code'?: string | undefined;
|
8757
|
+
'x-client-timezone'?: string | undefined;
|
8758
|
+
}>>>;
|
8811
8759
|
};
|
8812
8760
|
yeastarCallReport: {
|
8813
|
-
body: z.ZodEffects<z.ZodObject<
|
8761
|
+
body: z.ZodEffects<z.ZodObject<{
|
8814
8762
|
page: z.ZodDefault<z.ZodNumber>;
|
8815
8763
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
8816
|
-
}, {
|
8817
8764
|
reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
|
8818
8765
|
selectedDate: z.ZodOptional<z.ZodString>;
|
8819
8766
|
communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
|
@@ -8822,53 +8769,66 @@ export declare const telephonyCdrContract: {
|
|
8822
8769
|
queueId: z.ZodOptional<z.ZodString>;
|
8823
8770
|
trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8824
8771
|
extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8825
|
-
}
|
8772
|
+
}, "strip", z.ZodTypeAny, {
|
8826
8773
|
page: number;
|
8827
8774
|
pageSize: number;
|
8828
8775
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8829
|
-
time?: string | undefined;
|
8830
|
-
queueId?: string | undefined;
|
8831
8776
|
selectedDate?: string | undefined;
|
8832
8777
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8778
|
+
time?: string | undefined;
|
8833
8779
|
queueList?: string[] | undefined;
|
8780
|
+
queueId?: string | undefined;
|
8834
8781
|
trunkList?: string[] | undefined;
|
8835
8782
|
extensionList?: string[] | undefined;
|
8836
8783
|
}, {
|
8837
8784
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8838
|
-
time?: string | undefined;
|
8839
8785
|
page?: number | undefined;
|
8840
8786
|
pageSize?: number | undefined;
|
8841
|
-
queueId?: string | undefined;
|
8842
8787
|
selectedDate?: string | undefined;
|
8843
8788
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8789
|
+
time?: string | undefined;
|
8844
8790
|
queueList?: string[] | undefined;
|
8791
|
+
queueId?: string | undefined;
|
8845
8792
|
trunkList?: string[] | undefined;
|
8846
8793
|
extensionList?: string[] | undefined;
|
8847
8794
|
}>, {
|
8848
8795
|
page: number;
|
8849
8796
|
pageSize: number;
|
8850
8797
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8851
|
-
time?: string | undefined;
|
8852
|
-
queueId?: string | undefined;
|
8853
8798
|
selectedDate?: string | undefined;
|
8854
8799
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8800
|
+
time?: string | undefined;
|
8855
8801
|
queueList?: string[] | undefined;
|
8802
|
+
queueId?: string | undefined;
|
8856
8803
|
trunkList?: string[] | undefined;
|
8857
8804
|
extensionList?: string[] | undefined;
|
8858
8805
|
}, {
|
8859
8806
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8860
|
-
time?: string | undefined;
|
8861
8807
|
page?: number | undefined;
|
8862
8808
|
pageSize?: number | undefined;
|
8863
|
-
queueId?: string | undefined;
|
8864
8809
|
selectedDate?: string | undefined;
|
8865
8810
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8811
|
+
time?: string | undefined;
|
8866
8812
|
queueList?: string[] | undefined;
|
8813
|
+
queueId?: string | undefined;
|
8867
8814
|
trunkList?: string[] | undefined;
|
8868
8815
|
extensionList?: string[] | undefined;
|
8869
8816
|
}>;
|
8870
8817
|
summary: "Get yeastar call report.";
|
8871
8818
|
method: "POST";
|
8819
|
+
responses: {
|
8820
|
+
200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
8821
|
+
401: z.ZodObject<{
|
8822
|
+
message: z.ZodString;
|
8823
|
+
error: z.ZodAny;
|
8824
|
+
}, "strip", z.ZodTypeAny, {
|
8825
|
+
message: string;
|
8826
|
+
error?: any;
|
8827
|
+
}, {
|
8828
|
+
message: string;
|
8829
|
+
error?: any;
|
8830
|
+
}>;
|
8831
|
+
};
|
8872
8832
|
path: "telephony-cdr/yeastar_call_report";
|
8873
8833
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8874
8834
|
'x-tenant': z.ZodString;
|
@@ -8886,25 +8846,11 @@ export declare const telephonyCdrContract: {
|
|
8886
8846
|
'x-code'?: string | undefined;
|
8887
8847
|
'x-client-timezone'?: string | undefined;
|
8888
8848
|
}>>>;
|
8889
|
-
responses: {
|
8890
|
-
200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
8891
|
-
401: z.ZodObject<{
|
8892
|
-
message: z.ZodString;
|
8893
|
-
error: z.ZodAny;
|
8894
|
-
}, "strip", z.ZodTypeAny, {
|
8895
|
-
message: string;
|
8896
|
-
error?: any;
|
8897
|
-
}, {
|
8898
|
-
message: string;
|
8899
|
-
error?: any;
|
8900
|
-
}>;
|
8901
|
-
};
|
8902
8849
|
};
|
8903
8850
|
yeastarCallReportExport: {
|
8904
|
-
body: z.ZodEffects<z.ZodObject<
|
8851
|
+
body: z.ZodEffects<z.ZodObject<{
|
8905
8852
|
page: z.ZodDefault<z.ZodNumber>;
|
8906
8853
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
8907
|
-
}, {
|
8908
8854
|
reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
|
8909
8855
|
selectedDate: z.ZodOptional<z.ZodString>;
|
8910
8856
|
communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
|
@@ -8913,70 +8859,53 @@ export declare const telephonyCdrContract: {
|
|
8913
8859
|
queueId: z.ZodOptional<z.ZodString>;
|
8914
8860
|
trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8915
8861
|
extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
8916
|
-
}
|
8862
|
+
}, "strip", z.ZodTypeAny, {
|
8917
8863
|
page: number;
|
8918
8864
|
pageSize: number;
|
8919
8865
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8920
|
-
time?: string | undefined;
|
8921
|
-
queueId?: string | undefined;
|
8922
8866
|
selectedDate?: string | undefined;
|
8923
8867
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8868
|
+
time?: string | undefined;
|
8924
8869
|
queueList?: string[] | undefined;
|
8870
|
+
queueId?: string | undefined;
|
8925
8871
|
trunkList?: string[] | undefined;
|
8926
8872
|
extensionList?: string[] | undefined;
|
8927
8873
|
}, {
|
8928
8874
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8929
|
-
time?: string | undefined;
|
8930
8875
|
page?: number | undefined;
|
8931
8876
|
pageSize?: number | undefined;
|
8932
|
-
queueId?: string | undefined;
|
8933
8877
|
selectedDate?: string | undefined;
|
8934
8878
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8879
|
+
time?: string | undefined;
|
8935
8880
|
queueList?: string[] | undefined;
|
8881
|
+
queueId?: string | undefined;
|
8936
8882
|
trunkList?: string[] | undefined;
|
8937
8883
|
extensionList?: string[] | undefined;
|
8938
8884
|
}>, {
|
8939
8885
|
page: number;
|
8940
8886
|
pageSize: number;
|
8941
8887
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8942
|
-
time?: string | undefined;
|
8943
|
-
queueId?: string | undefined;
|
8944
8888
|
selectedDate?: string | undefined;
|
8945
8889
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8890
|
+
time?: string | undefined;
|
8946
8891
|
queueList?: string[] | undefined;
|
8892
|
+
queueId?: string | undefined;
|
8947
8893
|
trunkList?: string[] | undefined;
|
8948
8894
|
extensionList?: string[] | undefined;
|
8949
8895
|
}, {
|
8950
8896
|
reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
|
8951
|
-
time?: string | undefined;
|
8952
8897
|
page?: number | undefined;
|
8953
8898
|
pageSize?: number | undefined;
|
8954
|
-
queueId?: string | undefined;
|
8955
8899
|
selectedDate?: string | undefined;
|
8956
8900
|
communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
|
8901
|
+
time?: string | undefined;
|
8957
8902
|
queueList?: string[] | undefined;
|
8903
|
+
queueId?: string | undefined;
|
8958
8904
|
trunkList?: string[] | undefined;
|
8959
8905
|
extensionList?: string[] | undefined;
|
8960
8906
|
}>;
|
8961
8907
|
summary: "Export yeastar call report.";
|
8962
8908
|
method: "POST";
|
8963
|
-
path: "telephony-cdr/yeastar_call_report/export";
|
8964
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8965
|
-
'x-tenant': z.ZodString;
|
8966
|
-
authorization: z.ZodString;
|
8967
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
8968
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
8969
|
-
}, "strip", z.ZodTypeAny, {
|
8970
|
-
'x-tenant': string;
|
8971
|
-
authorization: string;
|
8972
|
-
'x-client-timezone': string;
|
8973
|
-
'x-code'?: string | undefined;
|
8974
|
-
}, {
|
8975
|
-
'x-tenant': string;
|
8976
|
-
authorization: string;
|
8977
|
-
'x-code'?: string | undefined;
|
8978
|
-
'x-client-timezone'?: string | undefined;
|
8979
|
-
}>>>;
|
8980
8909
|
responses: {
|
8981
8910
|
200: null;
|
8982
8911
|
401: z.ZodObject<{
|
@@ -8990,11 +8919,7 @@ export declare const telephonyCdrContract: {
|
|
8990
8919
|
error?: any;
|
8991
8920
|
}>;
|
8992
8921
|
};
|
8993
|
-
|
8994
|
-
getTrunks: {
|
8995
|
-
method: "GET";
|
8996
|
-
query: null;
|
8997
|
-
path: "telephony-cdr/trunks";
|
8922
|
+
path: "telephony-cdr/yeastar_call_report/export";
|
8998
8923
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8999
8924
|
'x-tenant': z.ZodString;
|
9000
8925
|
authorization: z.ZodString;
|
@@ -9011,19 +8936,21 @@ export declare const telephonyCdrContract: {
|
|
9011
8936
|
'x-code'?: string | undefined;
|
9012
8937
|
'x-client-timezone'?: string | undefined;
|
9013
8938
|
}>>>;
|
8939
|
+
};
|
8940
|
+
getTrunks: {
|
8941
|
+
method: "GET";
|
8942
|
+
query: null;
|
9014
8943
|
responses: {
|
9015
|
-
200: z.ZodObject<
|
8944
|
+
200: z.ZodObject<{
|
9016
8945
|
requestId: z.ZodString;
|
9017
|
-
|
9018
|
-
trunks: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8946
|
+
trunks: z.ZodArray<z.ZodObject<{
|
9019
8947
|
id: z.ZodString;
|
9020
8948
|
createdAt: z.ZodDate;
|
9021
8949
|
updatedAt: z.ZodDate;
|
9022
8950
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9023
|
-
}, {
|
9024
8951
|
trunkId: z.ZodNullable<z.ZodString>;
|
9025
8952
|
trunkName: z.ZodNullable<z.ZodString>;
|
9026
|
-
}
|
8953
|
+
}, "strip", z.ZodTypeAny, {
|
9027
8954
|
id: string;
|
9028
8955
|
createdAt: Date;
|
9029
8956
|
updatedAt: Date;
|
@@ -9038,7 +8965,7 @@ export declare const telephonyCdrContract: {
|
|
9038
8965
|
trunkId: string | null;
|
9039
8966
|
trunkName: string | null;
|
9040
8967
|
}>, "many">;
|
9041
|
-
}
|
8968
|
+
}, "strip", z.ZodTypeAny, {
|
9042
8969
|
requestId: string;
|
9043
8970
|
trunks: {
|
9044
8971
|
id: string;
|
@@ -9070,11 +8997,7 @@ export declare const telephonyCdrContract: {
|
|
9070
8997
|
error?: any;
|
9071
8998
|
}>;
|
9072
8999
|
};
|
9073
|
-
|
9074
|
-
getQueueList: {
|
9075
|
-
method: "GET";
|
9076
|
-
query: null;
|
9077
|
-
path: "telephony-cdr/queues";
|
9000
|
+
path: "telephony-cdr/trunks";
|
9078
9001
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9079
9002
|
'x-tenant': z.ZodString;
|
9080
9003
|
authorization: z.ZodString;
|
@@ -9091,21 +9014,23 @@ export declare const telephonyCdrContract: {
|
|
9091
9014
|
'x-code'?: string | undefined;
|
9092
9015
|
'x-client-timezone'?: string | undefined;
|
9093
9016
|
}>>>;
|
9017
|
+
};
|
9018
|
+
getQueueList: {
|
9019
|
+
method: "GET";
|
9020
|
+
query: null;
|
9094
9021
|
responses: {
|
9095
|
-
200: z.ZodObject<
|
9022
|
+
200: z.ZodObject<{
|
9096
9023
|
requestId: z.ZodString;
|
9097
|
-
|
9098
|
-
queues: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9024
|
+
queues: z.ZodArray<z.ZodObject<{
|
9099
9025
|
id: z.ZodString;
|
9100
9026
|
createdAt: z.ZodDate;
|
9101
9027
|
updatedAt: z.ZodDate;
|
9102
9028
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9103
|
-
}, {
|
9104
9029
|
queueId: z.ZodNumber;
|
9105
9030
|
queueName: z.ZodString;
|
9106
9031
|
queueNumber: z.ZodString;
|
9107
9032
|
maximumWaitingTime: z.ZodNumber;
|
9108
|
-
}
|
9033
|
+
}, "strip", z.ZodTypeAny, {
|
9109
9034
|
id: string;
|
9110
9035
|
createdAt: Date;
|
9111
9036
|
updatedAt: Date;
|
@@ -9124,7 +9049,7 @@ export declare const telephonyCdrContract: {
|
|
9124
9049
|
queueNumber: string;
|
9125
9050
|
maximumWaitingTime: number;
|
9126
9051
|
}>, "many">;
|
9127
|
-
}
|
9052
|
+
}, "strip", z.ZodTypeAny, {
|
9128
9053
|
requestId: string;
|
9129
9054
|
queues: {
|
9130
9055
|
id: string;
|
@@ -9160,11 +9085,7 @@ export declare const telephonyCdrContract: {
|
|
9160
9085
|
error?: any;
|
9161
9086
|
}>;
|
9162
9087
|
};
|
9163
|
-
|
9164
|
-
getExtensionList: {
|
9165
|
-
method: "GET";
|
9166
|
-
query: null;
|
9167
|
-
path: "telephony-cdr/extensions";
|
9088
|
+
path: "telephony-cdr/queues";
|
9168
9089
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9169
9090
|
'x-tenant': z.ZodString;
|
9170
9091
|
authorization: z.ZodString;
|
@@ -9181,16 +9102,18 @@ export declare const telephonyCdrContract: {
|
|
9181
9102
|
'x-code'?: string | undefined;
|
9182
9103
|
'x-client-timezone'?: string | undefined;
|
9183
9104
|
}>>>;
|
9105
|
+
};
|
9106
|
+
getExtensionList: {
|
9107
|
+
method: "GET";
|
9108
|
+
query: null;
|
9184
9109
|
responses: {
|
9185
|
-
200: z.ZodObject<
|
9110
|
+
200: z.ZodObject<{
|
9186
9111
|
requestId: z.ZodString;
|
9187
|
-
|
9188
|
-
extensions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
9112
|
+
extensions: z.ZodArray<z.ZodObject<{
|
9189
9113
|
id: z.ZodString;
|
9190
9114
|
createdAt: z.ZodDate;
|
9191
9115
|
updatedAt: z.ZodDate;
|
9192
9116
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9193
|
-
}, {
|
9194
9117
|
user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
|
9195
9118
|
id: z.ZodString;
|
9196
9119
|
createdAt: z.ZodDate;
|
@@ -9376,7 +9299,7 @@ export declare const telephonyCdrContract: {
|
|
9376
9299
|
userId: z.ZodNullable<z.ZodString>;
|
9377
9300
|
extensionId: z.ZodNullable<z.ZodString>;
|
9378
9301
|
extensionName: z.ZodNullable<z.ZodString>;
|
9379
|
-
}
|
9302
|
+
}, "strip", z.ZodTypeAny, {
|
9380
9303
|
id: string;
|
9381
9304
|
createdAt: Date;
|
9382
9305
|
updatedAt: Date;
|
@@ -9463,7 +9386,7 @@ export declare const telephonyCdrContract: {
|
|
9463
9386
|
}[];
|
9464
9387
|
} | null | undefined;
|
9465
9388
|
}>, "many">;
|
9466
|
-
}
|
9389
|
+
}, "strip", z.ZodTypeAny, {
|
9467
9390
|
requestId: string;
|
9468
9391
|
extensions: {
|
9469
9392
|
id: string;
|
@@ -9567,11 +9490,7 @@ export declare const telephonyCdrContract: {
|
|
9567
9490
|
error?: any;
|
9568
9491
|
}>;
|
9569
9492
|
};
|
9570
|
-
|
9571
|
-
getDropdownList: {
|
9572
|
-
method: "GET";
|
9573
|
-
query: null;
|
9574
|
-
path: "telephony-cdr/dropdown";
|
9493
|
+
path: "telephony-cdr/extensions";
|
9575
9494
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9576
9495
|
'x-tenant': z.ZodString;
|
9577
9496
|
authorization: z.ZodString;
|
@@ -9588,10 +9507,13 @@ export declare const telephonyCdrContract: {
|
|
9588
9507
|
'x-code'?: string | undefined;
|
9589
9508
|
'x-client-timezone'?: string | undefined;
|
9590
9509
|
}>>>;
|
9510
|
+
};
|
9511
|
+
getDropdownList: {
|
9512
|
+
method: "GET";
|
9513
|
+
query: null;
|
9591
9514
|
responses: {
|
9592
|
-
200: z.ZodObject<
|
9515
|
+
200: z.ZodObject<{
|
9593
9516
|
requestId: z.ZodString;
|
9594
|
-
}, {
|
9595
9517
|
trunks: z.ZodArray<z.ZodObject<{
|
9596
9518
|
id: z.ZodString;
|
9597
9519
|
trunkName: z.ZodString;
|
@@ -9604,7 +9526,7 @@ export declare const telephonyCdrContract: {
|
|
9604
9526
|
}>, "many">;
|
9605
9527
|
status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "BUSY", "FAILED"]>, "many">;
|
9606
9528
|
type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
|
9607
|
-
}
|
9529
|
+
}, "strip", z.ZodTypeAny, {
|
9608
9530
|
type: ("Inbound" | "Outbound" | "Internal")[];
|
9609
9531
|
status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
|
9610
9532
|
requestId: string;
|
@@ -9632,10 +9554,7 @@ export declare const telephonyCdrContract: {
|
|
9632
9554
|
error?: any;
|
9633
9555
|
}>;
|
9634
9556
|
};
|
9635
|
-
|
9636
|
-
getCallRedirectSetting: {
|
9637
|
-
method: "GET";
|
9638
|
-
path: "telephony-cdr/call-redirect-setting";
|
9557
|
+
path: "telephony-cdr/dropdown";
|
9639
9558
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9640
9559
|
'x-tenant': z.ZodString;
|
9641
9560
|
authorization: z.ZodString;
|
@@ -9652,12 +9571,14 @@ export declare const telephonyCdrContract: {
|
|
9652
9571
|
'x-code'?: string | undefined;
|
9653
9572
|
'x-client-timezone'?: string | undefined;
|
9654
9573
|
}>>>;
|
9574
|
+
};
|
9575
|
+
getCallRedirectSetting: {
|
9576
|
+
method: "GET";
|
9655
9577
|
responses: {
|
9656
|
-
200: z.ZodObject<
|
9578
|
+
200: z.ZodObject<{
|
9657
9579
|
requestId: z.ZodString;
|
9658
|
-
}, {
|
9659
9580
|
callRedirectTo: z.ZodString;
|
9660
|
-
}
|
9581
|
+
}, "strip", z.ZodTypeAny, {
|
9661
9582
|
requestId: string;
|
9662
9583
|
callRedirectTo: string;
|
9663
9584
|
}, {
|
@@ -9692,16 +9613,6 @@ export declare const telephonyCdrContract: {
|
|
9692
9613
|
error?: any;
|
9693
9614
|
}>;
|
9694
9615
|
};
|
9695
|
-
};
|
9696
|
-
updateCallRedirectSetting: {
|
9697
|
-
body: z.ZodObject<{
|
9698
|
-
callRedirectTo: z.ZodString;
|
9699
|
-
}, "strip", z.ZodTypeAny, {
|
9700
|
-
callRedirectTo: string;
|
9701
|
-
}, {
|
9702
|
-
callRedirectTo: string;
|
9703
|
-
}>;
|
9704
|
-
method: "PATCH";
|
9705
9616
|
path: "telephony-cdr/call-redirect-setting";
|
9706
9617
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9707
9618
|
'x-tenant': z.ZodString;
|
@@ -9719,12 +9630,21 @@ export declare const telephonyCdrContract: {
|
|
9719
9630
|
'x-code'?: string | undefined;
|
9720
9631
|
'x-client-timezone'?: string | undefined;
|
9721
9632
|
}>>>;
|
9633
|
+
};
|
9634
|
+
updateCallRedirectSetting: {
|
9635
|
+
body: z.ZodObject<{
|
9636
|
+
callRedirectTo: z.ZodString;
|
9637
|
+
}, "strip", z.ZodTypeAny, {
|
9638
|
+
callRedirectTo: string;
|
9639
|
+
}, {
|
9640
|
+
callRedirectTo: string;
|
9641
|
+
}>;
|
9642
|
+
method: "PATCH";
|
9722
9643
|
responses: {
|
9723
|
-
200: z.ZodObject<
|
9644
|
+
200: z.ZodObject<{
|
9724
9645
|
requestId: z.ZodString;
|
9725
|
-
}, {
|
9726
9646
|
callRedirectTo: z.ZodString;
|
9727
|
-
}
|
9647
|
+
}, "strip", z.ZodTypeAny, {
|
9728
9648
|
requestId: string;
|
9729
9649
|
callRedirectTo: string;
|
9730
9650
|
}, {
|
@@ -9759,10 +9679,7 @@ export declare const telephonyCdrContract: {
|
|
9759
9679
|
error?: any;
|
9760
9680
|
}>;
|
9761
9681
|
};
|
9762
|
-
|
9763
|
-
getCallSetting: {
|
9764
|
-
method: "GET";
|
9765
|
-
path: "telephony-cdr/call-setting";
|
9682
|
+
path: "telephony-cdr/call-redirect-setting";
|
9766
9683
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9767
9684
|
'x-tenant': z.ZodString;
|
9768
9685
|
authorization: z.ZodString;
|
@@ -9779,13 +9696,15 @@ export declare const telephonyCdrContract: {
|
|
9779
9696
|
'x-code'?: string | undefined;
|
9780
9697
|
'x-client-timezone'?: string | undefined;
|
9781
9698
|
}>>>;
|
9699
|
+
};
|
9700
|
+
getCallSetting: {
|
9701
|
+
method: "GET";
|
9782
9702
|
responses: {
|
9783
|
-
200: z.ZodObject<
|
9703
|
+
200: z.ZodObject<{
|
9784
9704
|
requestId: z.ZodString;
|
9785
|
-
}, {
|
9786
9705
|
callRedirectTo: z.ZodString;
|
9787
9706
|
isMultiTabUsed: z.ZodString;
|
9788
|
-
}
|
9707
|
+
}, "strip", z.ZodTypeAny, {
|
9789
9708
|
requestId: string;
|
9790
9709
|
callRedirectTo: string;
|
9791
9710
|
isMultiTabUsed: string;
|
@@ -9822,19 +9741,6 @@ export declare const telephonyCdrContract: {
|
|
9822
9741
|
error?: any;
|
9823
9742
|
}>;
|
9824
9743
|
};
|
9825
|
-
};
|
9826
|
-
updateCallSetting: {
|
9827
|
-
body: z.ZodObject<{
|
9828
|
-
callRedirectTo: z.ZodString;
|
9829
|
-
isMultiTabUsed: z.ZodString;
|
9830
|
-
}, "strip", z.ZodTypeAny, {
|
9831
|
-
callRedirectTo: string;
|
9832
|
-
isMultiTabUsed: string;
|
9833
|
-
}, {
|
9834
|
-
callRedirectTo: string;
|
9835
|
-
isMultiTabUsed: string;
|
9836
|
-
}>;
|
9837
|
-
method: "PATCH";
|
9838
9744
|
path: "telephony-cdr/call-setting";
|
9839
9745
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9840
9746
|
'x-tenant': z.ZodString;
|
@@ -9852,13 +9758,25 @@ export declare const telephonyCdrContract: {
|
|
9852
9758
|
'x-code'?: string | undefined;
|
9853
9759
|
'x-client-timezone'?: string | undefined;
|
9854
9760
|
}>>>;
|
9761
|
+
};
|
9762
|
+
updateCallSetting: {
|
9763
|
+
body: z.ZodObject<{
|
9764
|
+
callRedirectTo: z.ZodString;
|
9765
|
+
isMultiTabUsed: z.ZodString;
|
9766
|
+
}, "strip", z.ZodTypeAny, {
|
9767
|
+
callRedirectTo: string;
|
9768
|
+
isMultiTabUsed: string;
|
9769
|
+
}, {
|
9770
|
+
callRedirectTo: string;
|
9771
|
+
isMultiTabUsed: string;
|
9772
|
+
}>;
|
9773
|
+
method: "PATCH";
|
9855
9774
|
responses: {
|
9856
|
-
200: z.ZodObject<
|
9775
|
+
200: z.ZodObject<{
|
9857
9776
|
requestId: z.ZodString;
|
9858
|
-
}, {
|
9859
9777
|
callRedirectTo: z.ZodString;
|
9860
9778
|
isMultiTabUsed: z.ZodString;
|
9861
|
-
}
|
9779
|
+
}, "strip", z.ZodTypeAny, {
|
9862
9780
|
requestId: string;
|
9863
9781
|
callRedirectTo: string;
|
9864
9782
|
isMultiTabUsed: string;
|
@@ -9895,6 +9813,23 @@ export declare const telephonyCdrContract: {
|
|
9895
9813
|
error?: any;
|
9896
9814
|
}>;
|
9897
9815
|
};
|
9816
|
+
path: "telephony-cdr/call-setting";
|
9817
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
9818
|
+
'x-tenant': z.ZodString;
|
9819
|
+
authorization: z.ZodString;
|
9820
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
9821
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
9822
|
+
}, "strip", z.ZodTypeAny, {
|
9823
|
+
'x-tenant': string;
|
9824
|
+
authorization: string;
|
9825
|
+
'x-client-timezone': string;
|
9826
|
+
'x-code'?: string | undefined;
|
9827
|
+
}, {
|
9828
|
+
'x-tenant': string;
|
9829
|
+
authorization: string;
|
9830
|
+
'x-code'?: string | undefined;
|
9831
|
+
'x-client-timezone'?: string | undefined;
|
9832
|
+
}>>>;
|
9898
9833
|
};
|
9899
9834
|
};
|
9900
9835
|
//# sourceMappingURL=index.d.ts.map
|