@kl1/contracts 1.0.48 → 1.0.50
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 +8 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -2
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +18 -26
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +18 -26
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +8 -26
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -5222,7 +5222,12 @@ var GetRecentTelephonyCdrSchema = DefaultQueryParamsSchema.extend({
|
|
5222
5222
|
queueIds: z83.array(z83.string()).optional(),
|
5223
5223
|
notes: z83.string().optional()
|
5224
5224
|
});
|
5225
|
-
var GetExportTelephonyCdrSchema =
|
5225
|
+
var GetExportTelephonyCdrSchema = GetAllTelephonyCdrSchema.merge(
|
5226
|
+
z83.object({
|
5227
|
+
page: z83.coerce.number().positive().optional(),
|
5228
|
+
pageSize: z83.coerce.number().positive().optional()
|
5229
|
+
})
|
5230
|
+
);
|
5226
5231
|
var GetYeastarCallReportSchema = DefaultQueryParamsSchema.extend({
|
5227
5232
|
reportType: z83.enum([
|
5228
5233
|
"extcallstatistics",
|
@@ -5513,7 +5518,8 @@ var telephonyCdrContract = initContract32().router(
|
|
5513
5518
|
query: GetExportTelephonyCdrSchema,
|
5514
5519
|
responses: {
|
5515
5520
|
200: null,
|
5516
|
-
401: DefaultUnauthorizedSchema
|
5521
|
+
401: DefaultUnauthorizedSchema,
|
5522
|
+
404: DefaultNotFoundSchema
|
5517
5523
|
},
|
5518
5524
|
summary: "Get recent telephony cdr."
|
5519
5525
|
},
|