@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.js
CHANGED
@@ -2576,9 +2576,10 @@ var contactContract = (0, import_core10.initContract)().router(
|
|
2576
2576
|
create: {
|
2577
2577
|
method: "POST",
|
2578
2578
|
path: "",
|
2579
|
+
body: ContactContractValidationSchema.create.request,
|
2579
2580
|
responses: {
|
2580
2581
|
201: DefaultSuccessResponseSchema.extend({
|
2581
|
-
|
2582
|
+
data: ContactSchema
|
2582
2583
|
}),
|
2583
2584
|
400: import_zod40.default.object({
|
2584
2585
|
message: import_zod40.default.string()
|
@@ -2593,7 +2594,6 @@ var contactContract = (0, import_core10.initContract)().router(
|
|
2593
2594
|
404: DefaultNotFoundSchema,
|
2594
2595
|
422: DefaultUnprocessibleSchema
|
2595
2596
|
},
|
2596
|
-
body: ContactContractValidationSchema.create.request,
|
2597
2597
|
summary: "Create a new contact"
|
2598
2598
|
},
|
2599
2599
|
getAll: {
|