@kl1/contracts 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +23 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -8
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +42 -0
- package/dist/src/attribute/index.d.ts.map +1 -1
- package/dist/src/auth/index.d.ts +30 -0
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/base-contract.d.ts +6 -0
- package/dist/src/base-contract.d.ts.map +1 -1
- package/dist/src/category/index.d.ts +36 -0
- package/dist/src/category/index.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +12 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +91 -3
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +72 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contract.d.ts +909 -369
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +133 -357
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +0 -287
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +117 -9
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +5 -5
- package/dist/src/extension/index.d.ts +36 -0
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +42 -0
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -0
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/messenger/index.d.ts +10 -0
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/permission/index.d.ts +6 -0
- package/dist/src/permission/index.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/role/index.d.ts +24 -0
- package/dist/src/role/index.d.ts.map +1 -1
- package/dist/src/tag/index.d.ts +24 -0
- package/dist/src/tag/index.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/index.d.ts +24 -0
- package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/src/telephony-extension/index.d.ts +6 -0
- package/dist/src/telephony-extension/index.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +102 -0
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +30 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/index.d.ts +6 -0
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +48 -0
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +18 -0
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1969,153 +1969,6 @@ export declare const cxLogContract: {
|
|
1969
1969
|
} | undefined;
|
1970
1970
|
} | undefined;
|
1971
1971
|
}>>;
|
1972
|
-
cxlog: z.ZodObject<{
|
1973
|
-
id: z.ZodString;
|
1974
|
-
createdAt: z.ZodDate;
|
1975
|
-
updatedAt: z.ZodDate;
|
1976
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1977
|
-
caseId: z.ZodNumber;
|
1978
|
-
entityId: z.ZodString;
|
1979
|
-
entityName: z.ZodString;
|
1980
|
-
contactId: z.ZodNullable<z.ZodString>;
|
1981
|
-
channel: z.ZodNullable<z.ZodString>;
|
1982
|
-
queueId: z.ZodNullable<z.ZodString>;
|
1983
|
-
agentId: z.ZodNullable<z.ZodString>;
|
1984
|
-
direction: z.ZodNullable<z.ZodString>;
|
1985
|
-
startedDate: z.ZodNullable<z.ZodDate>;
|
1986
|
-
handledTime: z.ZodNullable<z.ZodNumber>;
|
1987
|
-
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
1988
|
-
disposition: z.ZodNullable<z.ZodString>;
|
1989
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
1990
|
-
id: z.ZodString;
|
1991
|
-
createdAt: z.ZodDate;
|
1992
|
-
updatedAt: z.ZodDate;
|
1993
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1994
|
-
note: z.ZodNullable<z.ZodString>;
|
1995
|
-
disposition: z.ZodNullable<z.ZodString>;
|
1996
|
-
callFrom: z.ZodNullable<z.ZodString>;
|
1997
|
-
callTo: z.ZodNullable<z.ZodString>;
|
1998
|
-
tags: z.ZodArray<z.ZodObject<{
|
1999
|
-
id: z.ZodString;
|
2000
|
-
createdAt: z.ZodDate;
|
2001
|
-
updatedAt: z.ZodDate;
|
2002
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2003
|
-
name: z.ZodString;
|
2004
|
-
}, "strip", z.ZodTypeAny, {
|
2005
|
-
id: string;
|
2006
|
-
name: string;
|
2007
|
-
createdAt: Date;
|
2008
|
-
updatedAt: Date;
|
2009
|
-
deletedAt: Date | null;
|
2010
|
-
}, {
|
2011
|
-
id: string;
|
2012
|
-
name: string;
|
2013
|
-
createdAt: Date;
|
2014
|
-
updatedAt: Date;
|
2015
|
-
deletedAt: Date | null;
|
2016
|
-
}>, "many">;
|
2017
|
-
}, "strip", z.ZodTypeAny, {
|
2018
|
-
id: string;
|
2019
|
-
disposition: string | null;
|
2020
|
-
createdAt: Date;
|
2021
|
-
updatedAt: Date;
|
2022
|
-
deletedAt: Date | null;
|
2023
|
-
tags: {
|
2024
|
-
id: string;
|
2025
|
-
name: string;
|
2026
|
-
createdAt: Date;
|
2027
|
-
updatedAt: Date;
|
2028
|
-
deletedAt: Date | null;
|
2029
|
-
}[];
|
2030
|
-
callFrom: string | null;
|
2031
|
-
callTo: string | null;
|
2032
|
-
note: string | null;
|
2033
|
-
}, {
|
2034
|
-
id: string;
|
2035
|
-
disposition: string | null;
|
2036
|
-
createdAt: Date;
|
2037
|
-
updatedAt: Date;
|
2038
|
-
deletedAt: Date | null;
|
2039
|
-
tags: {
|
2040
|
-
id: string;
|
2041
|
-
name: string;
|
2042
|
-
createdAt: Date;
|
2043
|
-
updatedAt: Date;
|
2044
|
-
deletedAt: Date | null;
|
2045
|
-
}[];
|
2046
|
-
callFrom: string | null;
|
2047
|
-
callTo: string | null;
|
2048
|
-
note: string | null;
|
2049
|
-
}>>;
|
2050
|
-
}, "strip", z.ZodTypeAny, {
|
2051
|
-
id: string;
|
2052
|
-
channel: string | null;
|
2053
|
-
disposition: string | null;
|
2054
|
-
direction: string | null;
|
2055
|
-
createdAt: Date;
|
2056
|
-
updatedAt: Date;
|
2057
|
-
deletedAt: Date | null;
|
2058
|
-
entityId: string;
|
2059
|
-
contactId: string | null;
|
2060
|
-
caseId: number;
|
2061
|
-
entityName: string;
|
2062
|
-
queueId: string | null;
|
2063
|
-
agentId: string | null;
|
2064
|
-
startedDate: Date | null;
|
2065
|
-
handledTime: number | null;
|
2066
|
-
firstResponseTime: number | null;
|
2067
|
-
wrapUpForm: {
|
2068
|
-
id: string;
|
2069
|
-
disposition: string | null;
|
2070
|
-
createdAt: Date;
|
2071
|
-
updatedAt: Date;
|
2072
|
-
deletedAt: Date | null;
|
2073
|
-
tags: {
|
2074
|
-
id: string;
|
2075
|
-
name: string;
|
2076
|
-
createdAt: Date;
|
2077
|
-
updatedAt: Date;
|
2078
|
-
deletedAt: Date | null;
|
2079
|
-
}[];
|
2080
|
-
callFrom: string | null;
|
2081
|
-
callTo: string | null;
|
2082
|
-
note: string | null;
|
2083
|
-
} | null;
|
2084
|
-
}, {
|
2085
|
-
id: string;
|
2086
|
-
channel: string | null;
|
2087
|
-
disposition: string | null;
|
2088
|
-
direction: string | null;
|
2089
|
-
createdAt: Date;
|
2090
|
-
updatedAt: Date;
|
2091
|
-
deletedAt: Date | null;
|
2092
|
-
entityId: string;
|
2093
|
-
contactId: string | null;
|
2094
|
-
caseId: number;
|
2095
|
-
entityName: string;
|
2096
|
-
queueId: string | null;
|
2097
|
-
agentId: string | null;
|
2098
|
-
startedDate: Date | null;
|
2099
|
-
handledTime: number | null;
|
2100
|
-
firstResponseTime: number | null;
|
2101
|
-
wrapUpForm: {
|
2102
|
-
id: string;
|
2103
|
-
disposition: string | null;
|
2104
|
-
createdAt: Date;
|
2105
|
-
updatedAt: Date;
|
2106
|
-
deletedAt: Date | null;
|
2107
|
-
tags: {
|
2108
|
-
id: string;
|
2109
|
-
name: string;
|
2110
|
-
createdAt: Date;
|
2111
|
-
updatedAt: Date;
|
2112
|
-
deletedAt: Date | null;
|
2113
|
-
}[];
|
2114
|
-
callFrom: string | null;
|
2115
|
-
callTo: string | null;
|
2116
|
-
note: string | null;
|
2117
|
-
} | null;
|
2118
|
-
}>;
|
2119
1972
|
}, "strip", z.ZodTypeAny, {
|
2120
1973
|
id: string;
|
2121
1974
|
direction: "incoming" | "outgoing" | "system";
|
@@ -2332,41 +2185,6 @@ export declare const cxLogContract: {
|
|
2332
2185
|
telephonySignature: string | null;
|
2333
2186
|
} | undefined;
|
2334
2187
|
};
|
2335
|
-
cxlog: {
|
2336
|
-
id: string;
|
2337
|
-
channel: string | null;
|
2338
|
-
disposition: string | null;
|
2339
|
-
direction: string | null;
|
2340
|
-
createdAt: Date;
|
2341
|
-
updatedAt: Date;
|
2342
|
-
deletedAt: Date | null;
|
2343
|
-
entityId: string;
|
2344
|
-
contactId: string | null;
|
2345
|
-
caseId: number;
|
2346
|
-
entityName: string;
|
2347
|
-
queueId: string | null;
|
2348
|
-
agentId: string | null;
|
2349
|
-
startedDate: Date | null;
|
2350
|
-
handledTime: number | null;
|
2351
|
-
firstResponseTime: number | null;
|
2352
|
-
wrapUpForm: {
|
2353
|
-
id: string;
|
2354
|
-
disposition: string | null;
|
2355
|
-
createdAt: Date;
|
2356
|
-
updatedAt: Date;
|
2357
|
-
deletedAt: Date | null;
|
2358
|
-
tags: {
|
2359
|
-
id: string;
|
2360
|
-
name: string;
|
2361
|
-
createdAt: Date;
|
2362
|
-
updatedAt: Date;
|
2363
|
-
deletedAt: Date | null;
|
2364
|
-
}[];
|
2365
|
-
callFrom: string | null;
|
2366
|
-
callTo: string | null;
|
2367
|
-
note: string | null;
|
2368
|
-
} | null;
|
2369
|
-
};
|
2370
2188
|
channel?: {
|
2371
2189
|
id?: string | undefined;
|
2372
2190
|
createdAt?: Date | undefined;
|
@@ -2646,41 +2464,6 @@ export declare const cxLogContract: {
|
|
2646
2464
|
telephonySignature: string | null;
|
2647
2465
|
} | undefined;
|
2648
2466
|
};
|
2649
|
-
cxlog: {
|
2650
|
-
id: string;
|
2651
|
-
channel: string | null;
|
2652
|
-
disposition: string | null;
|
2653
|
-
direction: string | null;
|
2654
|
-
createdAt: Date;
|
2655
|
-
updatedAt: Date;
|
2656
|
-
deletedAt: Date | null;
|
2657
|
-
entityId: string;
|
2658
|
-
contactId: string | null;
|
2659
|
-
caseId: number;
|
2660
|
-
entityName: string;
|
2661
|
-
queueId: string | null;
|
2662
|
-
agentId: string | null;
|
2663
|
-
startedDate: Date | null;
|
2664
|
-
handledTime: number | null;
|
2665
|
-
firstResponseTime: number | null;
|
2666
|
-
wrapUpForm: {
|
2667
|
-
id: string;
|
2668
|
-
disposition: string | null;
|
2669
|
-
createdAt: Date;
|
2670
|
-
updatedAt: Date;
|
2671
|
-
deletedAt: Date | null;
|
2672
|
-
tags: {
|
2673
|
-
id: string;
|
2674
|
-
name: string;
|
2675
|
-
createdAt: Date;
|
2676
|
-
updatedAt: Date;
|
2677
|
-
deletedAt: Date | null;
|
2678
|
-
}[];
|
2679
|
-
callFrom: string | null;
|
2680
|
-
callTo: string | null;
|
2681
|
-
note: string | null;
|
2682
|
-
} | null;
|
2683
|
-
};
|
2684
2467
|
channel?: {
|
2685
2468
|
id?: string | undefined;
|
2686
2469
|
createdAt?: Date | undefined;
|
@@ -4124,41 +3907,6 @@ export declare const cxLogContract: {
|
|
4124
3907
|
telephonySignature: string | null;
|
4125
3908
|
} | undefined;
|
4126
3909
|
};
|
4127
|
-
cxlog: {
|
4128
|
-
id: string;
|
4129
|
-
channel: string | null;
|
4130
|
-
disposition: string | null;
|
4131
|
-
direction: string | null;
|
4132
|
-
createdAt: Date;
|
4133
|
-
updatedAt: Date;
|
4134
|
-
deletedAt: Date | null;
|
4135
|
-
entityId: string;
|
4136
|
-
contactId: string | null;
|
4137
|
-
caseId: number;
|
4138
|
-
entityName: string;
|
4139
|
-
queueId: string | null;
|
4140
|
-
agentId: string | null;
|
4141
|
-
startedDate: Date | null;
|
4142
|
-
handledTime: number | null;
|
4143
|
-
firstResponseTime: number | null;
|
4144
|
-
wrapUpForm: {
|
4145
|
-
id: string;
|
4146
|
-
disposition: string | null;
|
4147
|
-
createdAt: Date;
|
4148
|
-
updatedAt: Date;
|
4149
|
-
deletedAt: Date | null;
|
4150
|
-
tags: {
|
4151
|
-
id: string;
|
4152
|
-
name: string;
|
4153
|
-
createdAt: Date;
|
4154
|
-
updatedAt: Date;
|
4155
|
-
deletedAt: Date | null;
|
4156
|
-
}[];
|
4157
|
-
callFrom: string | null;
|
4158
|
-
callTo: string | null;
|
4159
|
-
note: string | null;
|
4160
|
-
} | null;
|
4161
|
-
};
|
4162
3910
|
channel?: {
|
4163
3911
|
id?: string | undefined;
|
4164
3912
|
createdAt?: Date | undefined;
|
@@ -4654,41 +4402,6 @@ export declare const cxLogContract: {
|
|
4654
4402
|
telephonySignature: string | null;
|
4655
4403
|
} | undefined;
|
4656
4404
|
};
|
4657
|
-
cxlog: {
|
4658
|
-
id: string;
|
4659
|
-
channel: string | null;
|
4660
|
-
disposition: string | null;
|
4661
|
-
direction: string | null;
|
4662
|
-
createdAt: Date;
|
4663
|
-
updatedAt: Date;
|
4664
|
-
deletedAt: Date | null;
|
4665
|
-
entityId: string;
|
4666
|
-
contactId: string | null;
|
4667
|
-
caseId: number;
|
4668
|
-
entityName: string;
|
4669
|
-
queueId: string | null;
|
4670
|
-
agentId: string | null;
|
4671
|
-
startedDate: Date | null;
|
4672
|
-
handledTime: number | null;
|
4673
|
-
firstResponseTime: number | null;
|
4674
|
-
wrapUpForm: {
|
4675
|
-
id: string;
|
4676
|
-
disposition: string | null;
|
4677
|
-
createdAt: Date;
|
4678
|
-
updatedAt: Date;
|
4679
|
-
deletedAt: Date | null;
|
4680
|
-
tags: {
|
4681
|
-
id: string;
|
4682
|
-
name: string;
|
4683
|
-
createdAt: Date;
|
4684
|
-
updatedAt: Date;
|
4685
|
-
deletedAt: Date | null;
|
4686
|
-
}[];
|
4687
|
-
callFrom: string | null;
|
4688
|
-
callTo: string | null;
|
4689
|
-
note: string | null;
|
4690
|
-
} | null;
|
4691
|
-
};
|
4692
4405
|
channel?: {
|
4693
4406
|
id?: string | undefined;
|
4694
4407
|
createdAt?: Date | undefined;
|
@@ -5190,41 +4903,6 @@ export declare const cxLogContract: {
|
|
5190
4903
|
telephonySignature: string | null;
|
5191
4904
|
} | undefined;
|
5192
4905
|
};
|
5193
|
-
cxlog: {
|
5194
|
-
id: string;
|
5195
|
-
channel: string | null;
|
5196
|
-
disposition: string | null;
|
5197
|
-
direction: string | null;
|
5198
|
-
createdAt: Date;
|
5199
|
-
updatedAt: Date;
|
5200
|
-
deletedAt: Date | null;
|
5201
|
-
entityId: string;
|
5202
|
-
contactId: string | null;
|
5203
|
-
caseId: number;
|
5204
|
-
entityName: string;
|
5205
|
-
queueId: string | null;
|
5206
|
-
agentId: string | null;
|
5207
|
-
startedDate: Date | null;
|
5208
|
-
handledTime: number | null;
|
5209
|
-
firstResponseTime: number | null;
|
5210
|
-
wrapUpForm: {
|
5211
|
-
id: string;
|
5212
|
-
disposition: string | null;
|
5213
|
-
createdAt: Date;
|
5214
|
-
updatedAt: Date;
|
5215
|
-
deletedAt: Date | null;
|
5216
|
-
tags: {
|
5217
|
-
id: string;
|
5218
|
-
name: string;
|
5219
|
-
createdAt: Date;
|
5220
|
-
updatedAt: Date;
|
5221
|
-
deletedAt: Date | null;
|
5222
|
-
}[];
|
5223
|
-
callFrom: string | null;
|
5224
|
-
callTo: string | null;
|
5225
|
-
note: string | null;
|
5226
|
-
} | null;
|
5227
|
-
};
|
5228
4906
|
channel?: {
|
5229
4907
|
id?: string | undefined;
|
5230
4908
|
createdAt?: Date | undefined;
|
@@ -5726,41 +5404,6 @@ export declare const cxLogContract: {
|
|
5726
5404
|
telephonySignature: string | null;
|
5727
5405
|
} | undefined;
|
5728
5406
|
};
|
5729
|
-
cxlog: {
|
5730
|
-
id: string;
|
5731
|
-
channel: string | null;
|
5732
|
-
disposition: string | null;
|
5733
|
-
direction: string | null;
|
5734
|
-
createdAt: Date;
|
5735
|
-
updatedAt: Date;
|
5736
|
-
deletedAt: Date | null;
|
5737
|
-
entityId: string;
|
5738
|
-
contactId: string | null;
|
5739
|
-
caseId: number;
|
5740
|
-
entityName: string;
|
5741
|
-
queueId: string | null;
|
5742
|
-
agentId: string | null;
|
5743
|
-
startedDate: Date | null;
|
5744
|
-
handledTime: number | null;
|
5745
|
-
firstResponseTime: number | null;
|
5746
|
-
wrapUpForm: {
|
5747
|
-
id: string;
|
5748
|
-
disposition: string | null;
|
5749
|
-
createdAt: Date;
|
5750
|
-
updatedAt: Date;
|
5751
|
-
deletedAt: Date | null;
|
5752
|
-
tags: {
|
5753
|
-
id: string;
|
5754
|
-
name: string;
|
5755
|
-
createdAt: Date;
|
5756
|
-
updatedAt: Date;
|
5757
|
-
deletedAt: Date | null;
|
5758
|
-
}[];
|
5759
|
-
callFrom: string | null;
|
5760
|
-
callTo: string | null;
|
5761
|
-
note: string | null;
|
5762
|
-
} | null;
|
5763
|
-
};
|
5764
5407
|
channel?: {
|
5765
5408
|
id?: string | undefined;
|
5766
5409
|
createdAt?: Date | undefined;
|
@@ -5913,12 +5556,145 @@ export declare const cxLogContract: {
|
|
5913
5556
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5914
5557
|
'x-tenant': z.ZodString;
|
5915
5558
|
authorization: z.ZodString;
|
5559
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5560
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5561
|
+
}, "strip", z.ZodTypeAny, {
|
5562
|
+
'x-tenant': string;
|
5563
|
+
authorization: string;
|
5564
|
+
'x-client-timezone': string;
|
5565
|
+
'x-code'?: string | undefined;
|
5566
|
+
}, {
|
5567
|
+
'x-tenant': string;
|
5568
|
+
authorization: string;
|
5569
|
+
'x-code'?: string | undefined;
|
5570
|
+
'x-client-timezone'?: string | undefined;
|
5571
|
+
}>>>;
|
5572
|
+
};
|
5573
|
+
export: {
|
5574
|
+
summary: "Export cx-logs";
|
5575
|
+
method: "GET";
|
5576
|
+
query: z.ZodOptional<z.ZodObject<{
|
5577
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
5578
|
+
pageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
5579
|
+
contactId: z.ZodOptional<z.ZodString>;
|
5580
|
+
caseId: z.ZodOptional<z.ZodString>;
|
5581
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5582
|
+
queueId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5583
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5584
|
+
direction: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"inbound">, z.ZodLiteral<"outbound">]>, "many">>;
|
5585
|
+
disposition: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5586
|
+
sentimentScore: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>, "many">>;
|
5587
|
+
csatScore: z.ZodOptional<z.ZodString>;
|
5588
|
+
sla: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"meet">, z.ZodLiteral<"unmeet">]>, "many">>;
|
5589
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5590
|
+
name: z.ZodOptional<z.ZodString>;
|
5591
|
+
contactLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5592
|
+
email: z.ZodOptional<z.ZodString>;
|
5593
|
+
channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5594
|
+
phone: z.ZodOptional<z.ZodString>;
|
5595
|
+
notes: z.ZodOptional<z.ZodString>;
|
5596
|
+
address: z.ZodOptional<z.ZodString>;
|
5597
|
+
company: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
5598
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5599
|
+
attributeId: z.ZodString;
|
5600
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
5601
|
+
type: z.ZodOptional<z.ZodString>;
|
5602
|
+
}, "strip", z.ZodTypeAny, {
|
5603
|
+
value: (string | string[]) & (string | string[] | undefined);
|
5604
|
+
attributeId: string;
|
5605
|
+
type?: string | undefined;
|
5606
|
+
}, {
|
5607
|
+
value: (string | string[]) & (string | string[] | undefined);
|
5608
|
+
attributeId: string;
|
5609
|
+
type?: string | undefined;
|
5610
|
+
}>, "many">>;
|
5611
|
+
selectedDate: z.ZodOptional<z.ZodString>;
|
5612
|
+
}, "strip", z.ZodTypeAny, {
|
5613
|
+
page?: number | undefined;
|
5614
|
+
pageSize?: number | undefined;
|
5615
|
+
contactId?: string | undefined;
|
5616
|
+
caseId?: string | undefined;
|
5617
|
+
channelIds?: string[] | undefined;
|
5618
|
+
queueId?: string[] | undefined;
|
5619
|
+
agentIds?: string[] | undefined;
|
5620
|
+
direction?: ("inbound" | "outbound")[] | undefined;
|
5621
|
+
disposition?: string[] | undefined;
|
5622
|
+
sentimentScore?: ("positive" | "negative")[] | undefined;
|
5623
|
+
csatScore?: string | undefined;
|
5624
|
+
sla?: ("meet" | "unmeet")[] | undefined;
|
5625
|
+
tags?: string[] | undefined;
|
5626
|
+
name?: string | undefined;
|
5627
|
+
contactLabels?: string[] | undefined;
|
5628
|
+
email?: string | undefined;
|
5629
|
+
channel?: string[] | undefined;
|
5630
|
+
phone?: string | undefined;
|
5631
|
+
notes?: string | undefined;
|
5632
|
+
address?: string | undefined;
|
5633
|
+
company?: string[] | undefined;
|
5634
|
+
customFields?: {
|
5635
|
+
value: (string | string[]) & (string | string[] | undefined);
|
5636
|
+
attributeId: string;
|
5637
|
+
type?: string | undefined;
|
5638
|
+
}[] | undefined;
|
5639
|
+
selectedDate?: string | undefined;
|
5640
|
+
}, {
|
5641
|
+
page?: number | undefined;
|
5642
|
+
pageSize?: number | undefined;
|
5643
|
+
contactId?: string | undefined;
|
5644
|
+
caseId?: string | undefined;
|
5645
|
+
channelIds?: string[] | undefined;
|
5646
|
+
queueId?: string[] | undefined;
|
5647
|
+
agentIds?: string[] | undefined;
|
5648
|
+
direction?: ("inbound" | "outbound")[] | undefined;
|
5649
|
+
disposition?: string[] | undefined;
|
5650
|
+
sentimentScore?: ("positive" | "negative")[] | undefined;
|
5651
|
+
csatScore?: string | undefined;
|
5652
|
+
sla?: ("meet" | "unmeet")[] | undefined;
|
5653
|
+
tags?: string[] | undefined;
|
5654
|
+
name?: string | undefined;
|
5655
|
+
contactLabels?: string[] | undefined;
|
5656
|
+
email?: string | undefined;
|
5657
|
+
channel?: string[] | undefined;
|
5658
|
+
phone?: string | undefined;
|
5659
|
+
notes?: string | undefined;
|
5660
|
+
address?: string | undefined;
|
5661
|
+
company?: string[] | undefined;
|
5662
|
+
customFields?: {
|
5663
|
+
value: (string | string[]) & (string | string[] | undefined);
|
5664
|
+
attributeId: string;
|
5665
|
+
type?: string | undefined;
|
5666
|
+
}[] | undefined;
|
5667
|
+
selectedDate?: string | undefined;
|
5668
|
+
}>>;
|
5669
|
+
responses: {
|
5670
|
+
200: null;
|
5671
|
+
401: z.ZodObject<{
|
5672
|
+
message: z.ZodString;
|
5673
|
+
error: z.ZodAny;
|
5674
|
+
}, "strip", z.ZodTypeAny, {
|
5675
|
+
message: string;
|
5676
|
+
error?: any;
|
5677
|
+
}, {
|
5678
|
+
message: string;
|
5679
|
+
error?: any;
|
5680
|
+
}>;
|
5681
|
+
};
|
5682
|
+
path: "/cx-logs/export";
|
5683
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5684
|
+
'x-tenant': z.ZodString;
|
5685
|
+
authorization: z.ZodString;
|
5686
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5687
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5916
5688
|
}, "strip", z.ZodTypeAny, {
|
5917
5689
|
'x-tenant': string;
|
5918
5690
|
authorization: string;
|
5691
|
+
'x-client-timezone': string;
|
5692
|
+
'x-code'?: string | undefined;
|
5919
5693
|
}, {
|
5920
5694
|
'x-tenant': string;
|
5921
5695
|
authorization: string;
|
5696
|
+
'x-code'?: string | undefined;
|
5697
|
+
'x-client-timezone'?: string | undefined;
|
5922
5698
|
}>>>;
|
5923
5699
|
};
|
5924
5700
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cx-log/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAEpD,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC7D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAE9E,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cx-log/index.ts"],"names":[],"mappings":"AAMA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,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