@kl1/contracts 1.0.45 → 1.0.46

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
@@ -937,6 +937,16 @@ var TelephonyExtensionSchema = DefaultEntitySchema.extend({
937
937
  extensionName: z24.string().nullable()
938
938
  });
939
939
  var TelephonyExtensionListSchema = z24.array(TelephonyExtensionSchema);
940
+ var TelephonyDropdownListSchema = z24.object({
941
+ trunks: z24.array(
942
+ z24.object({
943
+ id: z24.string().uuid(),
944
+ trunk: z24.string()
945
+ })
946
+ ),
947
+ status: z24.array(z24.enum(["ANSWERED", "NO ANSWER", "FAILED"])),
948
+ type: z24.array(z24.enum(["Inbound", "Outbound", "Internal"]))
949
+ });
940
950
 
941
951
  // src/wrap-up-form/schema.ts
942
952
  import z25 from "zod";
@@ -5391,6 +5401,16 @@ var telephonyCdrContract = initContract32().router(
5391
5401
  }),
5392
5402
  401: DefaultUnauthorizedSchema
5393
5403
  }
5404
+ },
5405
+ getDropdownList: {
5406
+ method: "GET",
5407
+ path: "/dropdown",
5408
+ headers: DefaultHeaderSchema,
5409
+ query: null,
5410
+ responses: {
5411
+ 200: DefaultSuccessResponseSchema.merge(TelephonyDropdownListSchema),
5412
+ 401: DefaultUnauthorizedSchema
5413
+ }
5394
5414
  }
5395
5415
  },
5396
5416
  { pathPrefix: "telephony-cdr" }