File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @vesselapi/integrations" ,
3
- "version" : " 1.0.42 " ,
3
+ "version" : " 1.0.43 " ,
4
4
"description" : " Vessel integrations" ,
5
5
"main" : " dist/index.js" ,
6
6
"module" : " dist/index.mjs" ,
Original file line number Diff line number Diff line change @@ -204,7 +204,15 @@ export type HubspotContactUpdate = z.infer<
204
204
const dealPropertiesSchema = z . object ( {
205
205
amount : z . union ( [ z . string ( ) , z . number ( ) ] ) . nullable ( ) ,
206
206
dealname : z . string ( ) . nullable ( ) ,
207
- closedate : custom . date ( ) . nullable ( ) ,
207
+ closedate : custom
208
+ . date ( )
209
+ . or (
210
+ z
211
+ . string ( )
212
+ . max ( 0 )
213
+ . transform ( ( ) => null ) ,
214
+ )
215
+ . nullable ( ) ,
208
216
dealstage : z . string ( ) . nullable ( ) ,
209
217
hs_deal_stage_probability : z . union ( [ z . string ( ) , z . number ( ) ] ) . nullable ( ) ,
210
218
hs_projected_amount : z . union ( [ z . string ( ) , z . number ( ) ] ) . nullable ( ) ,
You can’t perform that action at this time.
0 commit comments