@kl1/contracts 1.0.71 → 1.0.72
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- 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 +881 -3
- package/dist/src/contract.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -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: {
|