@kl1/contracts 1.4.13 → 1.4.14

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
@@ -6088,40 +6088,26 @@ var GetYeastarCallReportSchema = DefaultQueryParamsSchema.extend({
6088
6088
 
6089
6089
  // src/telephony-cdr/index.ts
6090
6090
  import { initContract as initContract24 } from "@ts-rest/core";
6091
+ var laravelServiceTelephonyCdr = initContract24().router({
6092
+ findAll: {
6093
+ method: "GET",
6094
+ path: "/tcdrs/api/v1/telephony-cdr",
6095
+ headers: DefaultHeaderSchema,
6096
+ query: GetAllTelephonyCdrSchema,
6097
+ responses: {
6098
+ 200: DefaultSuccessResponseSchema.extend({
6099
+ total: z76.number(),
6100
+ page: z76.number(),
6101
+ pageSize: z76.number(),
6102
+ telephonyCdrs: z76.array(TelephonyCdrSchema)
6103
+ }),
6104
+ 401: DefaultUnauthorizedSchema
6105
+ },
6106
+ summary: "Get all telephony cdr."
6107
+ }
6108
+ });
6091
6109
  var telephonyCdrContract = initContract24().router(
6092
6110
  {
6093
- findAll: {
6094
- method: "GET",
6095
- path: "/",
6096
- headers: DefaultHeaderSchema,
6097
- query: GetAllTelephonyCdrSchema,
6098
- responses: {
6099
- 200: DefaultSuccessResponseSchema.extend({
6100
- total: z76.number(),
6101
- page: z76.number(),
6102
- pageSize: z76.number(),
6103
- telephonyCdrs: z76.array(TelephonyCdrSchema)
6104
- }),
6105
- 401: DefaultUnauthorizedSchema
6106
- },
6107
- summary: "Get all telephony cdr."
6108
- },
6109
- getRecordings: {
6110
- method: "GET",
6111
- path: "/recordings",
6112
- headers: DefaultHeaderSchema,
6113
- query: GetAllTelephonyCdrSchema,
6114
- responses: {
6115
- 200: DefaultSuccessResponseSchema.extend({
6116
- total: z76.number(),
6117
- page: z76.number(),
6118
- pageSize: z76.number(),
6119
- telephonyCdrs: z76.array(TelephonyCdrSchema)
6120
- }),
6121
- 401: DefaultUnauthorizedSchema
6122
- },
6123
- summary: "Get all telephony cdr."
6124
- },
6125
6111
  getRecentCall: {
6126
6112
  method: "GET",
6127
6113
  path: "/recent-calls",
@@ -9335,6 +9321,9 @@ var memberSettingContract = initContract44().router(
9335
9321
  var presenceStatusContract2 = initContract44().router({
9336
9322
  presenceStatus: presenceStatusContract
9337
9323
  });
9324
+ var laravelServiceTelephonyCdrContact = initContract44().router({
9325
+ laravelServiceTelephonyCdr
9326
+ });
9338
9327
 
9339
9328
  // src/general-setting/index.ts
9340
9329
  import { initContract as initContract45 } from "@ts-rest/core";
@@ -11038,6 +11027,8 @@ export {
11038
11027
  holdLabelContract,
11039
11028
  initiateMessageContract,
11040
11029
  invoiceContract,
11030
+ laravelServiceTelephonyCdr,
11031
+ laravelServiceTelephonyCdrContact,
11041
11032
  mailContract,
11042
11033
  mainChatContract,
11043
11034
  mainChatMessageContract,