@pexip-engage-public/plugin
Advanced tools
Comparing version 1.0.12-canary-20240110112112 to 1.0.12
# @pexip-engage-public/plugin | ||
## 1.0.12-canary-20240110112112 | ||
## 1.0.12 | ||
### Patch Changes | ||
- 64116bf: chore(deps): update dependency happy-dom to v13 | ||
- Updated dependencies [f704bb1] | ||
- @pexip-engage-public/graphql@1.0.8-canary-20240110112112 | ||
- @pexip-engage-public/graphql@1.0.8 | ||
@@ -10,0 +11,0 @@ ## 1.0.11 |
@@ -13,24 +13,43 @@ import { z } from "zod"; | ||
appointmentId: z.ZodOptional<z.ZodString>; | ||
callbackRequestId: z.ZodOptional<z.ZodString>; | ||
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>; | ||
meetingType: z.ZodOptional<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>>; | ||
timetable: z.ZodDefault<z.ZodObject<{ | ||
timetable: z.ZodDefault<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{ | ||
intent: z.ZodOptional<z.ZodLiteral<"callback">>; | ||
start: z.ZodUndefined; | ||
end: z.ZodUndefined; | ||
employeeIds: z.ZodUndefined; | ||
}, "strip", z.ZodTypeAny, { | ||
intent?: "callback" | undefined; | ||
start?: undefined; | ||
end?: undefined; | ||
employeeIds?: undefined; | ||
}, { | ||
intent?: "callback" | undefined; | ||
start?: undefined; | ||
end?: undefined; | ||
employeeIds?: undefined; | ||
}>, z.ZodObject<{ | ||
intent: z.ZodOptional<z.ZodLiteral<"schedule">>; | ||
start: z.ZodOptional<z.ZodString>; | ||
end: z.ZodOptional<z.ZodString>; | ||
/** used timezone when selecting a timeslot */ | ||
timeZone: z.ZodOptional<z.ZodString>; | ||
employeeIds: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>; | ||
autoSkip: z.ZodOptional<z.ZodLiteral<false>>; | ||
}, "strip", z.ZodTypeAny, { | ||
employeeIds: string[]; | ||
intent?: "schedule" | undefined; | ||
start?: string | undefined; | ||
end?: string | undefined; | ||
timeZone?: string | undefined; | ||
autoSkip?: false | undefined; | ||
}, { | ||
intent?: "schedule" | undefined; | ||
start?: string | undefined; | ||
end?: string | undefined; | ||
employeeIds?: string | string[] | null | undefined; | ||
}>]>, z.ZodObject<{ | ||
/** used timezone when selecting a timeslot */ | ||
timeZone: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
timeZone?: string | undefined; | ||
employeeIds?: string | string[] | null | undefined; | ||
autoSkip?: false | undefined; | ||
}>>; | ||
}, { | ||
timeZone?: string | undefined; | ||
}>>>; | ||
customer: z.ZodOptional<z.ZodObject<{ | ||
@@ -51,3 +70,3 @@ company: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
longitude: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -63,3 +82,3 @@ latitude: number; | ||
state: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
street1: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
street1: z.ZodOptional<z.ZodNullable<z.ZodString>>; /** Marking certain steps as (automatically) skipped or not. */ | ||
street2: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
@@ -151,3 +170,3 @@ }, "strip", z.ZodTypeAny, { | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
longitude: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -270,3 +289,3 @@ latitude: number; | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
longitude: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -282,3 +301,3 @@ latitude: number; | ||
state: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
street1: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
street1: z.ZodOptional<z.ZodNullable<z.ZodString>>; /** Marking certain steps as (automatically) skipped or not. */ | ||
street2: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
@@ -441,3 +460,3 @@ }, "strip", z.ZodTypeAny, { | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
longitude: z.ZodNumber; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -739,9 +758,17 @@ latitude: number; | ||
}; | ||
timetable: { | ||
timetable: ({ | ||
intent?: "callback" | undefined; | ||
start?: undefined; | ||
end?: undefined; | ||
employeeIds?: undefined; | ||
} & { | ||
timeZone?: string | undefined; | ||
}) | ({ | ||
employeeIds: string[]; | ||
intent?: "schedule" | undefined; | ||
start?: string | undefined; | ||
end?: string | undefined; | ||
} & { | ||
timeZone?: string | undefined; | ||
autoSkip?: false | undefined; | ||
}; | ||
}); | ||
schedulable: boolean; | ||
@@ -761,2 +788,3 @@ skipped: { | ||
appointmentId?: string | undefined; | ||
callbackRequestId?: string | undefined; | ||
metadata?: Record<string, unknown> | undefined; | ||
@@ -800,11 +828,18 @@ meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined; | ||
appointmentId?: string | undefined; | ||
callbackRequestId?: string | undefined; | ||
metadata?: Record<string, unknown> | undefined; | ||
meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined; | ||
timetable?: { | ||
timetable?: (({ | ||
intent?: "callback" | undefined; | ||
start?: undefined; | ||
end?: undefined; | ||
employeeIds?: undefined; | ||
} | { | ||
intent?: "schedule" | undefined; | ||
start?: string | undefined; | ||
end?: string | undefined; | ||
employeeIds?: string | string[] | null | undefined; | ||
}) & { | ||
timeZone?: string | undefined; | ||
employeeIds?: string | string[] | null | undefined; | ||
autoSkip?: false | undefined; | ||
} | undefined; | ||
}) | undefined; | ||
customer?: { | ||
@@ -811,0 +846,0 @@ company?: string | null | undefined; |
@@ -9,13 +9,24 @@ import { z } from "zod"; | ||
appointmentId: z.string().optional(), | ||
callbackRequestId: z.string().optional(), | ||
metadata: z.record(z.unknown()).optional(), | ||
meetingType: MeetingTypeSchema.optional(), | ||
timetable: z | ||
.object({ | ||
start: z.string().optional(), | ||
end: z.string().optional(), | ||
.union([ | ||
z.object({ | ||
intent: z.literal("callback").optional(), | ||
start: z.undefined(), | ||
end: z.undefined(), | ||
employeeIds: z.undefined(), | ||
}), | ||
z.object({ | ||
intent: z.literal("schedule").optional(), | ||
start: z.string().optional(), | ||
end: z.string().optional(), | ||
employeeIds: util.array, | ||
}), | ||
]) | ||
.and(z.object({ | ||
/** used timezone when selecting a timeslot */ | ||
timeZone: z.string().optional(), | ||
employeeIds: util.array, | ||
autoSkip: z.literal(false).optional(), | ||
}) | ||
})) | ||
.default({}), | ||
@@ -22,0 +33,0 @@ customer: CustomerFormSchema.optional(), |
{ | ||
"name": "@pexip-engage-public/plugin", | ||
"version": "1.0.12-canary-20240110112112", | ||
"version": "1.0.12", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-public#readme", | ||
@@ -38,10 +38,10 @@ "bugs": { | ||
"iframe-resizer": "^4.3.9", | ||
"skedify-uri-encoding": "^2.1.1", | ||
"skedify-uri-encoding": "^2.1.2", | ||
"zod": "^3.22.4", | ||
"@pexip-engage-public/graphql": "1.0.8-canary-20240110112112" | ||
"@pexip-engage-public/graphql": "1.0.8" | ||
}, | ||
"devDependencies": { | ||
"@total-typescript/ts-reset": "^0.5.1", | ||
"happy-dom": "^12.10.3", | ||
"vitest": "^1.1.3", | ||
"happy-dom": "^13.1.4", | ||
"vitest": "^1.2.0", | ||
"@pexip-engage/tsconfig": "0.1.1", | ||
@@ -48,0 +48,0 @@ "eslint-config-pexip-engage": "0.1.5" |
@@ -24,13 +24,26 @@ import { z } from "zod"; | ||
appointmentId: z.string().optional(), | ||
callbackRequestId: z.string().optional(), | ||
metadata: z.record(z.unknown()).optional(), | ||
meetingType: MeetingTypeSchema.optional(), | ||
timetable: z | ||
.object({ | ||
start: z.string().optional(), | ||
end: z.string().optional(), | ||
/** used timezone when selecting a timeslot */ | ||
timeZone: z.string().optional(), | ||
employeeIds: util.array, | ||
autoSkip: z.literal(false).optional(), | ||
}) | ||
.union([ | ||
z.object({ | ||
intent: z.literal("callback").optional(), | ||
start: z.undefined(), | ||
end: z.undefined(), | ||
employeeIds: z.undefined(), | ||
}), | ||
z.object({ | ||
intent: z.literal("schedule").optional(), | ||
start: z.string().optional(), | ||
end: z.string().optional(), | ||
employeeIds: util.array, | ||
}), | ||
]) | ||
.and( | ||
z.object({ | ||
/** used timezone when selecting a timeslot */ | ||
timeZone: z.string().optional(), | ||
}), | ||
) | ||
.default({}), | ||
@@ -37,0 +50,0 @@ customer: CustomerFormSchema.optional(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
377939
7118
1
+ Added@pexip-engage-public/graphql@1.0.8(transitive)
- Removed@pexip-engage-public/graphql@1.0.8-canary-20240110112112(transitive)
Updatedskedify-uri-encoding@^2.1.2