@kl1/contracts 1.0.71 → 1.0.73
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/src/contact/index.d.ts +881 -3
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1269 -391
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +8 -8
- package/dist/src/telephony-cdr/schema.d.ts +5 -5
- package/dist/src/telephony-cdr/validation.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1175,7 +1175,7 @@ var TelephonyDropdownListSchema = z26.object({
|
|
1175
1175
|
trunks: z26.array(
|
1176
1176
|
z26.object({
|
1177
1177
|
id: z26.string().uuid(),
|
1178
|
-
|
1178
|
+
trunkName: z26.string()
|
1179
1179
|
})
|
1180
1180
|
),
|
1181
1181
|
status: z26.array(z26.enum(["ANSWERED", "NO ANSWER", "FAILED"])),
|
@@ -2515,9 +2515,10 @@ var contactContract = initContract10().router(
|
|
2515
2515
|
create: {
|
2516
2516
|
method: "POST",
|
2517
2517
|
path: "",
|
2518
|
+
body: ContactContractValidationSchema.create.request,
|
2518
2519
|
responses: {
|
2519
2520
|
201: DefaultSuccessResponseSchema.extend({
|
2520
|
-
|
2521
|
+
data: ContactSchema
|
2521
2522
|
}),
|
2522
2523
|
400: z40.object({
|
2523
2524
|
message: z40.string()
|
@@ -2532,7 +2533,6 @@ var contactContract = initContract10().router(
|
|
2532
2533
|
404: DefaultNotFoundSchema,
|
2533
2534
|
422: DefaultUnprocessibleSchema
|
2534
2535
|
},
|
2535
|
-
body: ContactContractValidationSchema.create.request,
|
2536
2536
|
summary: "Create a new contact"
|
2537
2537
|
},
|
2538
2538
|
getAll: {
|