@kl1/contracts 1.0.36 → 1.0.37
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 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/dist/src/contract.d.ts +9 -19
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +6 -6
- package/dist/src/evaluate-form/validation.d.ts +8 -8
- package/dist/src/widget/index.d.ts +3 -13
- package/dist/src/widget/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -4055,9 +4055,7 @@ var widgetContract = initContract26().router(
|
|
4055
4055
|
headers: DefaultHeaderSchema,
|
4056
4056
|
responses: {
|
4057
4057
|
201: DefaultSuccessResponseSchema.extend({
|
4058
|
-
|
4059
|
-
url: z70.string()
|
4060
|
-
})
|
4058
|
+
url: z70.string()
|
4061
4059
|
}),
|
4062
4060
|
400: z70.object({
|
4063
4061
|
message: z70.string()
|
@@ -5095,8 +5093,8 @@ import z86 from "zod";
|
|
5095
5093
|
import z85 from "zod";
|
5096
5094
|
var CreateEvaluateFormSchema = z85.object({
|
5097
5095
|
cxLogId: z85.string().uuid(),
|
5098
|
-
sentimentScore: z85.string().nullable(),
|
5099
|
-
csatScore: z85.string().nullable()
|
5096
|
+
sentimentScore: z85.string().nullable().optional(),
|
5097
|
+
csatScore: z85.string().nullable().optional()
|
5100
5098
|
});
|
5101
5099
|
var UpdateEvaluateFormSchema = CreateEvaluateFormSchema.partial();
|
5102
5100
|
|