@kl1/contracts 1.2.34-uat → 1.2.35-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({
@@ -9875,6 +9878,16 @@ var holdLabelContract = initContract52().router(
9875
9878
  })
9876
9879
  }
9877
9880
  },
9881
+ getHoldLogs: {
9882
+ method: "GET",
9883
+ path: "/hold-logs",
9884
+ query: z135.object({ cxLogId: z135.string().uuid() }),
9885
+ responses: {
9886
+ 200: z135.object({
9887
+ holdLogs: z135.array(FormattedHoldLogSchema)
9888
+ })
9889
+ }
9890
+ },
9878
9891
  holdRoom: {
9879
9892
  method: "POST",
9880
9893
  path: "/hold-room",