@kl1/contracts 1.4.15 → 1.4.17

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.mjs CHANGED
@@ -3410,10 +3410,26 @@ var BaseSchema = z47.object({
3410
3410
  var CompanyContractsValidationSchema = {
3411
3411
  create: {
3412
3412
  request: z47.object({
3413
- name: z47.object({ value: z47.string() }),
3414
- phone: z47.object({ value: z47.string() }),
3415
- address: z47.object({ value: z47.string() }),
3416
- industry: z47.object({ value: z47.string() }),
3413
+ name: z47.object({
3414
+ value: z47.string(),
3415
+ isRequired: z47.boolean(),
3416
+ attributeId: z47.string()
3417
+ }),
3418
+ phone: z47.object({
3419
+ value: z47.string(),
3420
+ isRequired: z47.boolean(),
3421
+ attributeId: z47.string()
3422
+ }),
3423
+ address: z47.object({
3424
+ value: z47.string(),
3425
+ isRequired: z47.boolean(),
3426
+ attributeId: z47.string()
3427
+ }),
3428
+ industry: z47.object({
3429
+ value: z47.string(),
3430
+ isRequired: z47.boolean(),
3431
+ attributeId: z47.string()
3432
+ }),
3417
3433
  customFields: z47.array(
3418
3434
  BaseSchema.extend({
3419
3435
  value: z47.union([z47.string(), z47.array(z47.string())]),
@@ -5997,7 +6013,8 @@ var GetAllTelephonyCdrSchema = DefaultQueryParamsSchema.extend({
5997
6013
  queueStatus: z75.string().optional(),
5998
6014
  agentIds: z75.array(z75.string().uuid()).optional(),
5999
6015
  agentCallsOnly: z75.coerce.boolean().optional(),
6000
- contactId: z75.string().uuid().optional()
6016
+ contactId: z75.string().uuid().optional(),
6017
+ recordingsOnly: z75.boolean().optional()
6001
6018
  });
6002
6019
  var GetRecentTelephonyCdrSchema = DefaultQueryParamsSchema.extend({
6003
6020
  type: z75.array(z75.string()).optional(),