@kl1/contracts 1.2.34-uat → 1.2.36-uat

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
@@ -1077,6 +1077,9 @@ var HoldLogSchema = DefaultEntitySchema.extend({
1077
1077
  duration: z24.number().nullable(),
1078
1078
  holdLabel: HoldLabelSchema.nullable().optional()
1079
1079
  });
1080
+ var FormattedHoldLogSchema = HoldLogSchema.extend({
1081
+ formattedDuration: z24.string()
1082
+ });
1080
1083
 
1081
1084
  // src/cx-log/schema.ts
1082
1085
  var CxLogSchema = DefaultEntitySchema.extend({
@@ -8708,7 +8711,10 @@ var automationQueueContract = initContract45().router(
8708
8711
  }
8709
8712
  }
8710
8713
  },
8711
- { pathPrefix: "/automation-queue" }
8714
+ {
8715
+ baseHeaders: DefaultHeaderSchema,
8716
+ pathPrefix: "/automation-queue"
8717
+ }
8712
8718
  );
8713
8719
 
8714
8720
  // src/mail/mail-contract.ts
@@ -9875,6 +9881,16 @@ var holdLabelContract = initContract52().router(
9875
9881
  })
9876
9882
  }
9877
9883
  },
9884
+ getHoldLogs: {
9885
+ method: "GET",
9886
+ path: "/hold-logs",
9887
+ query: z135.object({ cxLogId: z135.string().uuid() }),
9888
+ responses: {
9889
+ 200: z135.object({
9890
+ holdLogs: z135.array(FormattedHoldLogSchema)
9891
+ })
9892
+ }
9893
+ },
9878
9894
  holdRoom: {
9879
9895
  method: "POST",
9880
9896
  path: "/hold-room",