@pexip-engage-public/plugin
Advanced tools
Comparing version 1.0.7-canary-20231117145429 to 1.0.7
# @pexip-engage-public/plugin | ||
## 1.0.7-canary-20231117145429 | ||
## 1.0.7 | ||
### Patch Changes | ||
- 45eadc558: SKED-11667/turnstile | ||
- 579c36ffc: SKED-11662: Allow to add additional customers when creating an appointment from plugin | ||
- c614c429c: SKED-11667/turnstile | ||
@@ -9,0 +10,0 @@ ## 1.0.6 |
export type { PluginIntent, PluginState, PluginStateInput } from "./PluginState.schema.js"; | ||
export { PluginStateSchema } from "./PluginState.schema.js"; | ||
export { CustomerFormSchema, GeolocationSchema, LocationSchema, LocationSourceSchema, MeetingTypeSchema, QuestionnaireSchema, } from "./schemas.js"; | ||
export { AdditionalParticipantSchema, CustomerFormSchema, GeolocationSchema, LocationSchema, LocationSourceSchema, MeetingTypeSchema, QuestionnaireSchema, } from "./schemas.js"; | ||
//# sourceMappingURL=index.d.ts.map |
export { PluginStateSchema } from "./PluginState.schema.js"; | ||
export { CustomerFormSchema, GeolocationSchema, LocationSchema, LocationSourceSchema, MeetingTypeSchema, QuestionnaireSchema, } from "./schemas.js"; | ||
export { AdditionalParticipantSchema, CustomerFormSchema, GeolocationSchema, LocationSchema, LocationSourceSchema, MeetingTypeSchema, QuestionnaireSchema, } from "./schemas.js"; | ||
//# sourceMappingURL=index.js.map |
@@ -50,3 +50,3 @@ import { z } from "zod"; | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -142,2 +142,3 @@ latitude: number; | ||
}>>; | ||
additionalCustomers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>; | ||
questions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>; | ||
@@ -149,3 +150,3 @@ /** The selected geolocation of the user */ | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -268,3 +269,3 @@ latitude: number; | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -438,3 +439,3 @@ latitude: number; | ||
latitude: z.ZodNumber; | ||
longitude: z.ZodNumber; | ||
longitude: z.ZodNumber; /** The selected geolocation of the user */ | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -785,2 +786,3 @@ latitude: number; | ||
} | undefined; | ||
additionalCustomers?: string[] | null | undefined; | ||
questions?: Record<string, string | string[]> | undefined; | ||
@@ -830,2 +832,3 @@ leadSegmentId?: string | undefined; | ||
} | undefined; | ||
additionalCustomers?: string[] | null | undefined; | ||
questions?: Record<string, string | string[]> | undefined; | ||
@@ -832,0 +835,0 @@ location?: { |
import { z } from "zod"; | ||
import { PluginConfigurationSchema } from "../configuration/PluginConfiguration.schema.js"; | ||
import { CustomerFormSchema, form, IntentSchema, LocationSchema, MeetingTypeSchema, util, } from "./schemas.js"; | ||
import { AdditionalParticipantSchema, CustomerFormSchema, form, IntentSchema, LocationSchema, MeetingTypeSchema, util, } from "./schemas.js"; | ||
export const PluginStateSchema = z.object({ | ||
@@ -22,2 +22,3 @@ subjectId: z.string().optional(), | ||
customer: CustomerFormSchema.optional(), | ||
additionalCustomers: z.array(AdditionalParticipantSchema).nullish(), | ||
questions: form.questionnaire, | ||
@@ -24,0 +25,0 @@ /** The selected geolocation of the user */ |
@@ -135,2 +135,3 @@ import { z } from "zod"; | ||
}>; | ||
export declare const AdditionalParticipantSchema: z.ZodString; | ||
export declare const QuestionnaireSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>; | ||
@@ -137,0 +138,0 @@ export declare const LocationSourceSchema: z.ZodEnum<["config", "listing", "user"]>; |
@@ -68,2 +68,3 @@ import { z } from "zod"; | ||
}); | ||
export const AdditionalParticipantSchema = z.string(form.email); | ||
export const QuestionnaireSchema = form.questionnaire; | ||
@@ -70,0 +71,0 @@ export const LocationSourceSchema = z.enum(["config", "listing", "user"]); |
{ | ||
"name": "@pexip-engage-public/plugin", | ||
"version": "1.0.7-canary-20231117145429", | ||
"version": "1.0.7", | ||
"homepage": "https://github.com/skedify/frontend-mono/tree/develop/apps/plugin-remix/packages/plugin-public#readme", | ||
@@ -5,0 +5,0 @@ "bugs": { |
export type { PluginIntent, PluginState, PluginStateInput } from "./PluginState.schema.js"; | ||
export { PluginStateSchema } from "./PluginState.schema.js"; | ||
export { | ||
AdditionalParticipantSchema, | ||
CustomerFormSchema, | ||
@@ -5,0 +6,0 @@ GeolocationSchema, |
@@ -6,2 +6,3 @@ import { z } from "zod"; | ||
import { | ||
AdditionalParticipantSchema, | ||
CustomerFormSchema, | ||
@@ -37,2 +38,3 @@ form, | ||
customer: CustomerFormSchema.optional(), | ||
additionalCustomers: z.array(AdditionalParticipantSchema).nullish(), | ||
questions: form.questionnaire, | ||
@@ -39,0 +41,0 @@ /** The selected geolocation of the user */ |
@@ -74,2 +74,4 @@ import { z } from "zod"; | ||
export const AdditionalParticipantSchema = z.string(form.email); | ||
export const QuestionnaireSchema = form.questionnaire; | ||
@@ -76,0 +78,0 @@ export const LocationSourceSchema = z.enum(["config", "listing", "user"]); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
374715
7061
1