@pexip-engage-public/plugin 1.1.17 → 1.1.19

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.
Files changed (88) hide show
  1. package/CHANGELOG.md +18 -2
  2. package/dist/configuration/PluginConfiguration.schema.d.ts +149 -149
  3. package/dist/configuration/PluginConfiguration.schema.d.ts.map +1 -1
  4. package/dist/configuration/PluginConfiguration.schema.js +55 -55
  5. package/dist/configuration/PluginConfiguration.schema.js.map +1 -1
  6. package/dist/configuration/migration.js +16 -16
  7. package/dist/configuration/migration.js.map +1 -1
  8. package/dist/configuration-parser/hash-parser.d.ts +1 -1
  9. package/dist/configuration-parser/hash-parser.d.ts.map +1 -1
  10. package/dist/configuration-parser/hash-parser.js +3 -3
  11. package/dist/configuration-parser/hash-parser.js.map +1 -1
  12. package/dist/configuration-parser/html-parser.d.ts +1 -1
  13. package/dist/configuration-parser/html-parser.d.ts.map +1 -1
  14. package/dist/configuration-parser/html-parser.js +3 -3
  15. package/dist/configuration-parser/html-parser.js.map +1 -1
  16. package/dist/configuration-parser/index.d.ts +6 -6
  17. package/dist/configuration-parser/index.js +2 -2
  18. package/dist/configuration-parser/index.js.map +1 -1
  19. package/dist/configuration-parser/js-parser.d.ts +1 -1
  20. package/dist/configuration-parser/js-parser.d.ts.map +1 -1
  21. package/dist/configuration-parser/js-parser.js +87 -87
  22. package/dist/configuration-parser/js-parser.js.map +1 -1
  23. package/dist/configuration-parser/migrate-legacy-configuration.js +3 -3
  24. package/dist/configuration-parser/migrate-legacy-configuration.js.map +1 -1
  25. package/dist/configuration-parser-legacy/LegacyParser.d.ts.map +1 -1
  26. package/dist/configuration-parser-legacy/LegacyParser.js +62 -62
  27. package/dist/configuration-parser-legacy/LegacyParser.js.map +1 -1
  28. package/dist/configuration-parser-legacy/LegacyParser.utils.js +23 -23
  29. package/dist/configuration-parser-legacy/LegacyParser.utils.js.map +1 -1
  30. package/dist/configuration-parser-legacy/ModernParser.js +8 -8
  31. package/dist/configuration-parser-legacy/ModernParser.js.map +1 -1
  32. package/dist/configuration-parser-legacy/Parser.js +1 -1
  33. package/dist/configuration-parser-legacy/Parser.js.map +1 -1
  34. package/dist/configuration-parser-legacy/tests/LegacyDomParser.test.js +20 -20
  35. package/dist/configuration-parser-legacy/tests/LegacyDomParser.test.js.map +1 -1
  36. package/dist/configuration-parser-legacy/tests/LegacyLocationHashParser.test.js +26 -26
  37. package/dist/configuration-parser-legacy/tests/LegacyLocationHashParser.test.js.map +1 -1
  38. package/dist/configuration-parser-legacy/tests/LegacyParser.test.js +4 -4
  39. package/dist/configuration-parser-legacy/tests/LegacyParser.test.js.map +1 -1
  40. package/dist/constants.d.ts +1 -1
  41. package/dist/constants.js +1 -1
  42. package/dist/encoding.d.ts +1 -1
  43. package/dist/encoding.d.ts.map +1 -1
  44. package/dist/encoding.js +5 -5
  45. package/dist/encoding.js.map +1 -1
  46. package/dist/events/event-types.d.ts +1 -1
  47. package/dist/events/event-types.d.ts.map +1 -1
  48. package/dist/instance/PluginInstance.d.ts +10 -10
  49. package/dist/instance/PluginInstance.d.ts.map +1 -1
  50. package/dist/instance/PluginInstance.js +29 -29
  51. package/dist/instance/PluginInstance.js.map +1 -1
  52. package/dist/instance/index.d.ts.map +1 -1
  53. package/dist/instance/index.js +3 -3
  54. package/dist/instance/index.js.map +1 -1
  55. package/dist/logger.d.ts +3 -3
  56. package/dist/logger.d.ts.map +1 -1
  57. package/dist/logger.js +9 -9
  58. package/dist/logger.js.map +1 -1
  59. package/dist/state/PluginState.schema.d.ts +451 -451
  60. package/dist/state/PluginState.schema.d.ts.map +1 -1
  61. package/dist/state/PluginState.schema.js +48 -48
  62. package/dist/state/PluginState.schema.js.map +1 -1
  63. package/dist/state/schemas.d.ts +13 -13
  64. package/dist/state/schemas.js +9 -9
  65. package/dist/state/schemas.js.map +1 -1
  66. package/package.json +6 -6
  67. package/src/configuration/PluginConfiguration.schema.ts +59 -60
  68. package/src/configuration/migration.ts +16 -16
  69. package/src/configuration-parser/hash-parser.ts +3 -3
  70. package/src/configuration-parser/html-parser.ts +3 -3
  71. package/src/configuration-parser/index.ts +2 -2
  72. package/src/configuration-parser/js-parser.ts +94 -94
  73. package/src/configuration-parser/migrate-legacy-configuration.ts +4 -4
  74. package/src/configuration-parser-legacy/LegacyParser.ts +63 -62
  75. package/src/configuration-parser-legacy/LegacyParser.utils.ts +24 -24
  76. package/src/configuration-parser-legacy/ModernParser.ts +8 -8
  77. package/src/configuration-parser-legacy/Parser.ts +1 -1
  78. package/src/configuration-parser-legacy/tests/LegacyDomParser.test.ts +20 -20
  79. package/src/configuration-parser-legacy/tests/LegacyLocationHashParser.test.ts +29 -29
  80. package/src/configuration-parser-legacy/tests/LegacyParser.test.ts +4 -4
  81. package/src/constants.ts +1 -1
  82. package/src/encoding.ts +6 -6
  83. package/src/events/event-types.ts +1 -2
  84. package/src/instance/PluginInstance.ts +30 -31
  85. package/src/instance/index.ts +3 -3
  86. package/src/logger.ts +9 -9
  87. package/src/state/PluginState.schema.ts +53 -53
  88. package/src/state/schemas.ts +9 -9
@@ -6,290 +6,35 @@ export interface PluginState extends z.infer<typeof PluginStateSchema> {
6
6
  export interface PluginStateInput extends z.input<typeof PluginStateSchema> {
7
7
  }
8
8
  export declare const PluginStateSchema: z.ZodObject<{
9
- flow: z.ZodDefault<z.ZodString>;
10
- subjectId: z.ZodOptional<z.ZodString>;
11
- officeId: z.ZodOptional<z.ZodString>;
12
- employeeId: z.ZodOptional<z.ZodString>;
13
9
  appointmentId: z.ZodOptional<z.ZodString>;
14
10
  callbackRequestId: z.ZodOptional<z.ZodString>;
15
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
- meetingType: z.ZodOptional<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>>;
17
- timetable: z.ZodDefault<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
18
- intent: z.ZodOptional<z.ZodLiteral<"callback">>;
19
- start: z.ZodUndefined;
20
- end: z.ZodUndefined;
21
- employeeIds: z.ZodUndefined;
22
- }, "strip", z.ZodTypeAny, {
23
- intent?: "callback" | undefined;
24
- start?: undefined;
25
- end?: undefined;
26
- employeeIds?: undefined;
27
- }, {
28
- intent?: "callback" | undefined;
29
- start?: undefined;
30
- end?: undefined;
31
- employeeIds?: undefined;
32
- }>, z.ZodObject<{
33
- intent: z.ZodOptional<z.ZodLiteral<"schedule">>;
34
- start: z.ZodOptional<z.ZodString>;
35
- end: z.ZodOptional<z.ZodString>;
36
- employeeIds: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
37
- }, "strip", z.ZodTypeAny, {
38
- employeeIds: string[];
39
- intent?: "schedule" | undefined;
40
- start?: string | undefined;
41
- end?: string | undefined;
42
- }, {
43
- intent?: "schedule" | undefined;
44
- start?: string | undefined;
45
- end?: string | undefined;
46
- employeeIds?: string | string[] | null | undefined;
47
- }>]>, z.ZodObject<{
48
- /** used timezone when selecting a timeslot */
49
- timeZone: z.ZodOptional<z.ZodString>;
50
- }, "strip", z.ZodTypeAny, {
51
- timeZone?: string | undefined;
52
- }, {
53
- timeZone?: string | undefined;
54
- }>>>;
55
- customer: z.ZodOptional<z.ZodObject<{
56
- company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- customerNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- existing: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>, "on" | undefined, string | boolean | null | undefined>;
60
- externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
- firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
- location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
- city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- geolocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
- latitude: z.ZodNumber;
70
- longitude: z.ZodNumber;
71
- }, "strip", z.ZodTypeAny, {
72
- latitude: number;
73
- longitude: number;
74
- }, {
75
- latitude: number;
76
- longitude: number;
77
- }>>>;
78
- postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
- timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
- state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
- street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
- }, "strip", z.ZodTypeAny, {
84
- city?: string | null | undefined;
85
- countryCode?: string | null | undefined;
86
- geolocation?: {
87
- latitude: number;
88
- longitude: number;
89
- } | null | undefined;
90
- postalCode?: string | null | undefined;
91
- timeZone?: string | null | undefined;
92
- state?: string | null | undefined;
93
- street1?: string | null | undefined;
94
- street2?: string | null | undefined;
95
- }, {
96
- city?: string | null | undefined;
97
- countryCode?: string | null | undefined;
98
- geolocation?: {
99
- latitude: number;
100
- longitude: number;
101
- } | null | undefined;
102
- postalCode?: string | null | undefined;
103
- timeZone?: string | null | undefined;
104
- state?: string | null | undefined;
105
- street1?: string | null | undefined;
106
- street2?: string | null | undefined;
107
- }>>>;
108
- phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
109
- timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
- additionalCustomers: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">>>, string[] | undefined, (string | null | undefined)[] | null | undefined>;
111
- }, "strip", z.ZodTypeAny, {
112
- id?: string | null | undefined;
113
- externalId?: string | null | undefined;
114
- company?: string | null | undefined;
115
- customerNumber?: string | null | undefined;
116
- email?: string | null | undefined;
117
- existing?: "on" | undefined;
118
- firstName?: string | null | undefined;
119
- language?: string | null | undefined;
120
- lastName?: string | null | undefined;
121
- timeZone?: string | null | undefined;
122
- location?: {
123
- city?: string | null | undefined;
124
- countryCode?: string | null | undefined;
125
- geolocation?: {
126
- latitude: number;
127
- longitude: number;
128
- } | null | undefined;
129
- postalCode?: string | null | undefined;
130
- timeZone?: string | null | undefined;
131
- state?: string | null | undefined;
132
- street1?: string | null | undefined;
133
- street2?: string | null | undefined;
134
- } | null | undefined;
135
- phoneNumber?: string | null | undefined;
136
- additionalCustomers?: string[] | undefined;
137
- }, {
138
- id?: string | null | undefined;
139
- externalId?: string | null | undefined;
140
- company?: string | null | undefined;
141
- customerNumber?: string | null | undefined;
142
- email?: string | null | undefined;
143
- existing?: string | boolean | null | undefined;
144
- firstName?: string | null | undefined;
145
- language?: string | null | undefined;
146
- lastName?: string | null | undefined;
147
- timeZone?: string | null | undefined;
148
- location?: {
149
- city?: string | null | undefined;
150
- countryCode?: string | null | undefined;
151
- geolocation?: {
152
- latitude: number;
153
- longitude: number;
154
- } | null | undefined;
155
- postalCode?: string | null | undefined;
156
- timeZone?: string | null | undefined;
157
- state?: string | null | undefined;
158
- street1?: string | null | undefined;
159
- street2?: string | null | undefined;
160
- } | null | undefined;
161
- phoneNumber?: string | null | undefined;
162
- additionalCustomers?: (string | null | undefined)[] | null | undefined;
163
- }>>;
164
- questions: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string | string[]>, Record<string, string | string[]>>>;
165
- fileUploads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
166
- fileName: z.ZodString;
167
- answerId: z.ZodString;
168
- uploadUrl: z.ZodNullable<z.ZodString>;
169
- }, "strip", z.ZodTypeAny, {
170
- fileName: string;
171
- answerId: string;
172
- uploadUrl: string | null;
173
- }, {
174
- fileName: string;
175
- answerId: string;
176
- uploadUrl: string | null;
177
- }>>>;
178
- /** The selected geolocation of the user */
179
- location: z.ZodDefault<z.ZodObject<{
180
- source: z.ZodDefault<z.ZodEnum<["config", "listing", "user"]>>;
181
- geolocation: z.ZodOptional<z.ZodObject<{
182
- latitude: z.ZodNumber;
183
- longitude: z.ZodNumber;
184
- }, "strip", z.ZodTypeAny, {
185
- latitude: number;
186
- longitude: number;
187
- }, {
188
- latitude: number;
189
- longitude: number;
190
- }>>;
191
- formattedAddress: z.ZodOptional<z.ZodString>;
192
- placeId: z.ZodOptional<z.ZodString>;
193
- }, "strip", z.ZodTypeAny, {
194
- source: "config" | "listing" | "user";
195
- geolocation?: {
196
- latitude: number;
197
- longitude: number;
198
- } | undefined;
199
- formattedAddress?: string | undefined;
200
- placeId?: string | undefined;
201
- }, {
202
- geolocation?: {
203
- latitude: number;
204
- longitude: number;
205
- } | undefined;
206
- source?: "config" | "listing" | "user" | undefined;
207
- formattedAddress?: string | undefined;
208
- placeId?: string | undefined;
209
- }>>;
210
- employees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
211
- leadSegmentId: z.ZodOptional<z.ZodString>;
212
- listingId: z.ZodOptional<z.ZodString>;
213
- meetingTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>, "many">>;
214
- offices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
215
- subjectGroups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
216
- subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
217
- schedulable: z.ZodDefault<z.ZodBoolean>;
218
- /** Marking certain steps as (automatically) skipped or not. */
219
- skipped: z.ZodDefault<z.ZodObject<{
220
- subject: z.ZodOptional<z.ZodLiteral<true>>;
221
- office: z.ZodOptional<z.ZodLiteral<true>>;
222
- meetingType: z.ZodOptional<z.ZodLiteral<true>>;
223
- employee: z.ZodOptional<z.ZodLiteral<true>>;
224
- questions: z.ZodOptional<z.ZodLiteral<true>>;
225
- }, "strip", z.ZodTypeAny, {
226
- questions?: true | undefined;
227
- meetingType?: true | undefined;
228
- subject?: true | undefined;
229
- office?: true | undefined;
230
- employee?: true | undefined;
231
- }, {
232
- questions?: true | undefined;
233
- meetingType?: true | undefined;
234
- subject?: true | undefined;
235
- office?: true | undefined;
236
- employee?: true | undefined;
237
- }>>;
238
- errors: z.ZodDefault<z.ZodObject<{
239
- /**
240
- * Each step can have errors, in case of the timetable this currently only happens when
241
- * a slot is booked by another customer between selecting the slot, and confirming the appointment
242
- * (request).
243
- */
244
- timetable: z.ZodOptional<z.ZodLiteral<true>>;
245
- }, "strip", z.ZodTypeAny, {
246
- timetable?: true | undefined;
247
- }, {
248
- timetable?: true | undefined;
249
- }>>;
250
- /** Warnings that should be logged to the console */
251
- warning: z.ZodOptional<z.ZodString>;
252
11
  /** This object is the validated version `PluginConfiguration.current.ts` */
253
12
  config: z.ZodDefault<z.ZodObject<{
254
- version: z.ZodOptional<z.ZodEnum<["1.0.0"]>>;
255
- flow: z.ZodDefault<z.ZodString>;
256
- intent: z.ZodDefault<z.ZodEnum<["schedule", "reschedule", "invite", "edit", "cancel", "complete", "decline"]>>;
257
- language: z.ZodEffects<z.ZodOptional<z.ZodString>, "da" | "de" | "el" | "en" | "es" | "fr" | "nl" | "no" | "en-US" | "en-GB" | "cimode" | undefined, string | undefined>;
258
- employees: z.ZodDefault<z.ZodObject<{
259
- ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
260
- type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
261
- }, "strip", z.ZodTypeAny, {
262
- type: "id" | "externalId";
263
- ids: string[];
264
- }, {
265
- type?: "id" | "externalId" | undefined;
266
- ids?: string | string[] | null | undefined;
267
- }>>;
268
13
  application: z.ZodDefault<z.ZodObject<{
14
+ customerLocationSearch: z.ZodDefault<z.ZodEnum<["always", "error"]>>;
269
15
  officeSearch: z.ZodDefault<z.ZodEnum<["required", "optional"]>>;
16
+ recaptcha: z.ZodDefault<z.ZodEnum<["disable", "enable"]>>;
270
17
  scroll: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["disabled"]>, z.ZodNumber]>>;
271
- customerLocationSearch: z.ZodDefault<z.ZodEnum<["always", "error"]>>;
272
- timeZoneSelection: z.ZodDefault<z.ZodEnum<["enable", "disable"]>>;
273
18
  theme: z.ZodOptional<z.ZodString>;
274
- recaptcha: z.ZodDefault<z.ZodEnum<["disable", "enable"]>>;
19
+ timeZoneSelection: z.ZodDefault<z.ZodEnum<["enable", "disable"]>>;
275
20
  }, "strip", z.ZodTypeAny, {
21
+ customerLocationSearch: "always" | "error";
276
22
  officeSearch: "required" | "optional";
23
+ recaptcha: "disable" | "enable";
277
24
  scroll: number | "disabled";
278
- customerLocationSearch: "always" | "error";
279
- timeZoneSelection: "enable" | "disable";
280
- recaptcha: "enable" | "disable";
25
+ timeZoneSelection: "disable" | "enable";
281
26
  theme?: string | undefined;
282
27
  }, {
28
+ customerLocationSearch?: "always" | "error" | undefined;
283
29
  officeSearch?: "required" | "optional" | undefined;
30
+ recaptcha?: "disable" | "enable" | undefined;
284
31
  scroll?: number | "disabled" | undefined;
285
- customerLocationSearch?: "always" | "error" | undefined;
286
- timeZoneSelection?: "enable" | "disable" | undefined;
287
32
  theme?: string | undefined;
288
- recaptcha?: "enable" | "disable" | undefined;
33
+ timeZoneSelection?: "disable" | "enable" | undefined;
289
34
  }>>;
290
35
  browser: z.ZodDefault<z.ZodObject<{
291
- timeZone: z.ZodOptional<z.ZodString>;
292
36
  href: z.ZodOptional<z.ZodString>;
37
+ timeZone: z.ZodOptional<z.ZodString>;
293
38
  }, "strip", z.ZodTypeAny, {
294
39
  timeZone?: string | undefined;
295
40
  href?: string | undefined;
@@ -298,6 +43,7 @@ export declare const PluginStateSchema: z.ZodObject<{
298
43
  href?: string | undefined;
299
44
  }>>;
300
45
  customer: z.ZodOptional<z.ZodObject<{
46
+ additionalCustomers: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">>>, string[] | undefined, (string | null | undefined)[] | null | undefined>;
301
47
  company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
302
48
  customerNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
303
49
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -321,10 +67,10 @@ export declare const PluginStateSchema: z.ZodObject<{
321
67
  longitude: number;
322
68
  }>>>;
323
69
  postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
- timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
70
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
71
  street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
72
  street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
74
  }, "strip", z.ZodTypeAny, {
329
75
  city?: string | null | undefined;
330
76
  countryCode?: string | null | undefined;
@@ -333,10 +79,10 @@ export declare const PluginStateSchema: z.ZodObject<{
333
79
  longitude: number;
334
80
  } | null | undefined;
335
81
  postalCode?: string | null | undefined;
336
- timeZone?: string | null | undefined;
337
82
  state?: string | null | undefined;
338
83
  street1?: string | null | undefined;
339
84
  street2?: string | null | undefined;
85
+ timeZone?: string | null | undefined;
340
86
  }, {
341
87
  city?: string | null | undefined;
342
88
  countryCode?: string | null | undefined;
@@ -345,17 +91,17 @@ export declare const PluginStateSchema: z.ZodObject<{
345
91
  longitude: number;
346
92
  } | null | undefined;
347
93
  postalCode?: string | null | undefined;
348
- timeZone?: string | null | undefined;
349
94
  state?: string | null | undefined;
350
95
  street1?: string | null | undefined;
351
96
  street2?: string | null | undefined;
97
+ timeZone?: string | null | undefined;
352
98
  }>>>;
353
99
  phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
100
  timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
355
- additionalCustomers: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">>>, string[] | undefined, (string | null | undefined)[] | null | undefined>;
356
101
  }, "strip", z.ZodTypeAny, {
357
102
  id?: string | null | undefined;
358
103
  externalId?: string | null | undefined;
104
+ additionalCustomers?: string[] | undefined;
359
105
  company?: string | null | undefined;
360
106
  customerNumber?: string | null | undefined;
361
107
  email?: string | null | undefined;
@@ -372,16 +118,16 @@ export declare const PluginStateSchema: z.ZodObject<{
372
118
  longitude: number;
373
119
  } | null | undefined;
374
120
  postalCode?: string | null | undefined;
375
- timeZone?: string | null | undefined;
376
121
  state?: string | null | undefined;
377
122
  street1?: string | null | undefined;
378
123
  street2?: string | null | undefined;
124
+ timeZone?: string | null | undefined;
379
125
  } | null | undefined;
380
126
  phoneNumber?: string | null | undefined;
381
- additionalCustomers?: string[] | undefined;
382
127
  }, {
383
128
  id?: string | null | undefined;
384
129
  externalId?: string | null | undefined;
130
+ additionalCustomers?: (string | null | undefined)[] | null | undefined;
385
131
  company?: string | null | undefined;
386
132
  customerNumber?: string | null | undefined;
387
133
  email?: string | null | undefined;
@@ -398,14 +144,27 @@ export declare const PluginStateSchema: z.ZodObject<{
398
144
  longitude: number;
399
145
  } | null | undefined;
400
146
  postalCode?: string | null | undefined;
401
- timeZone?: string | null | undefined;
402
147
  state?: string | null | undefined;
403
148
  street1?: string | null | undefined;
404
149
  street2?: string | null | undefined;
150
+ timeZone?: string | null | undefined;
405
151
  } | null | undefined;
406
152
  phoneNumber?: string | null | undefined;
407
- additionalCustomers?: (string | null | undefined)[] | null | undefined;
408
153
  }>>;
154
+ employees: z.ZodDefault<z.ZodObject<{
155
+ ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
156
+ type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ type: "id" | "externalId";
159
+ ids: string[];
160
+ }, {
161
+ type?: "id" | "externalId" | undefined;
162
+ ids?: string | string[] | null | undefined;
163
+ }>>;
164
+ flow: z.ZodDefault<z.ZodString>;
165
+ initialFormattedAddress: z.ZodOptional<z.ZodString>;
166
+ intent: z.ZodDefault<z.ZodEnum<["schedule", "reschedule", "invite", "edit", "cancel", "complete", "decline"]>>;
167
+ language: z.ZodEffects<z.ZodOptional<z.ZodString>, "da" | "de" | "el" | "en" | "es" | "fr" | "nl" | "no" | "en-US" | "en-GB" | "cimode" | undefined, string | undefined>;
409
168
  leadSegment: z.ZodDefault<z.ZodObject<{
410
169
  id: z.ZodOptional<z.ZodString>;
411
170
  type: z.ZodDefault<z.ZodEnum<["id", "code"]>>;
@@ -426,8 +185,39 @@ export declare const PluginStateSchema: z.ZodObject<{
426
185
  id?: string | undefined;
427
186
  type?: "id" | "externalId" | undefined;
428
187
  }>>;
429
- initialFormattedAddress: z.ZodOptional<z.ZodString>;
188
+ location: z.ZodDefault<z.ZodObject<{
189
+ formattedAddress: z.ZodOptional<z.ZodString>;
190
+ geolocation: z.ZodOptional<z.ZodObject<{
191
+ latitude: z.ZodNumber;
192
+ longitude: z.ZodNumber;
193
+ }, "strip", z.ZodTypeAny, {
194
+ latitude: number;
195
+ longitude: number;
196
+ }, {
197
+ latitude: number;
198
+ longitude: number;
199
+ }>>;
200
+ placeId: z.ZodOptional<z.ZodString>;
201
+ source: z.ZodDefault<z.ZodEnum<["config", "listing", "user"]>>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ source: "config" | "listing" | "user";
204
+ geolocation?: {
205
+ latitude: number;
206
+ longitude: number;
207
+ } | undefined;
208
+ formattedAddress?: string | undefined;
209
+ placeId?: string | undefined;
210
+ }, {
211
+ geolocation?: {
212
+ latitude: number;
213
+ longitude: number;
214
+ } | undefined;
215
+ formattedAddress?: string | undefined;
216
+ placeId?: string | undefined;
217
+ source?: "config" | "listing" | "user" | undefined;
218
+ }>>;
430
219
  meetingTypes: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>, import("@pexip-engage-public/graphql").MeetingType[], string | string[] | null | undefined>;
220
+ messageForCustomer: z.ZodOptional<z.ZodString>;
431
221
  oauth: z.ZodDefault<z.ZodObject<{
432
222
  resourceCode: z.ZodOptional<z.ZodString>;
433
223
  }, "strip", z.ZodTypeAny, {
@@ -445,11 +235,12 @@ export declare const PluginStateSchema: z.ZodObject<{
445
235
  type?: "id" | "externalId" | undefined;
446
236
  ids?: string | string[] | null | undefined;
447
237
  }>>;
238
+ questions: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string | string[]>, Record<string, string | string[]>>>;
448
239
  searchCountries: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>, string[], string | string[] | null | undefined>;
449
240
  session: z.ZodDefault<z.ZodObject<{
450
- status: z.ZodDefault<z.ZodEnum<["default", "disabled"]>>;
451
241
  id: z.ZodOptional<z.ZodString>;
452
242
  sourceTags: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, string[] | undefined, string | string[] | undefined>;
243
+ status: z.ZodDefault<z.ZodEnum<["default", "disabled"]>>;
453
244
  }, "strip", z.ZodTypeAny, {
454
245
  status: "disabled" | "default";
455
246
  id?: string | undefined;
@@ -459,37 +250,16 @@ export declare const PluginStateSchema: z.ZodObject<{
459
250
  status?: "disabled" | "default" | undefined;
460
251
  sourceTags?: string | string[] | undefined;
461
252
  }>>;
462
- subjects: z.ZodDefault<z.ZodObject<{
463
- ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
464
- type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
465
- }, "strip", z.ZodTypeAny, {
466
- type: "id" | "externalId";
467
- ids: string[];
468
- }, {
469
- type?: "id" | "externalId" | undefined;
470
- ids?: string | string[] | null | undefined;
471
- }>>;
472
253
  subjectGroups: z.ZodDefault<z.ZodObject<{
473
254
  ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
474
- type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
475
- }, "strip", z.ZodTypeAny, {
476
- type: "id" | "externalId";
477
- ids: string[];
478
- }, {
479
- type?: "id" | "externalId" | undefined;
480
- ids?: string | string[] | null | undefined;
481
- }>>;
482
- timetable: z.ZodDefault<z.ZodObject<{
483
- view: z.ZodDefault<z.ZodEnum<["week", "month"]>>;
484
- meetingTypeSelector: z.ZodDefault<z.ZodEnum<["enable", "disable"]>>;
255
+ type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
485
256
  }, "strip", z.ZodTypeAny, {
486
- view: "week" | "month";
487
- meetingTypeSelector: "enable" | "disable";
257
+ type: "id" | "externalId";
258
+ ids: string[];
488
259
  }, {
489
- view?: "week" | "month" | undefined;
490
- meetingTypeSelector?: "enable" | "disable" | undefined;
260
+ type?: "id" | "externalId" | undefined;
261
+ ids?: string | string[] | null | undefined;
491
262
  }>>;
492
- questions: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string | string[]>, Record<string, string | string[]>>>;
493
263
  subjectQuestions: z.ZodOptional<z.ZodArray<z.ZodObject<{
494
264
  externalId: z.ZodString;
495
265
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -500,38 +270,27 @@ export declare const PluginStateSchema: z.ZodObject<{
500
270
  externalId: string;
501
271
  value: string | string[];
502
272
  }>, "many">>;
503
- location: z.ZodDefault<z.ZodObject<{
504
- source: z.ZodDefault<z.ZodEnum<["config", "listing", "user"]>>;
505
- geolocation: z.ZodOptional<z.ZodObject<{
506
- latitude: z.ZodNumber;
507
- longitude: z.ZodNumber;
508
- }, "strip", z.ZodTypeAny, {
509
- latitude: number;
510
- longitude: number;
511
- }, {
512
- latitude: number;
513
- longitude: number;
514
- }>>;
515
- formattedAddress: z.ZodOptional<z.ZodString>;
516
- placeId: z.ZodOptional<z.ZodString>;
273
+ subjects: z.ZodDefault<z.ZodObject<{
274
+ ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
275
+ type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
517
276
  }, "strip", z.ZodTypeAny, {
518
- source: "config" | "listing" | "user";
519
- geolocation?: {
520
- latitude: number;
521
- longitude: number;
522
- } | undefined;
523
- formattedAddress?: string | undefined;
524
- placeId?: string | undefined;
277
+ type: "id" | "externalId";
278
+ ids: string[];
525
279
  }, {
526
- geolocation?: {
527
- latitude: number;
528
- longitude: number;
529
- } | undefined;
530
- source?: "config" | "listing" | "user" | undefined;
531
- formattedAddress?: string | undefined;
532
- placeId?: string | undefined;
280
+ type?: "id" | "externalId" | undefined;
281
+ ids?: string | string[] | null | undefined;
533
282
  }>>;
534
- messageForCustomer: z.ZodOptional<z.ZodString>;
283
+ timetable: z.ZodDefault<z.ZodObject<{
284
+ meetingTypeSelector: z.ZodDefault<z.ZodEnum<["enable", "disable"]>>;
285
+ view: z.ZodDefault<z.ZodEnum<["week", "month"]>>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ meetingTypeSelector: "disable" | "enable";
288
+ view: "week" | "month";
289
+ }, {
290
+ meetingTypeSelector?: "disable" | "enable" | undefined;
291
+ view?: "week" | "month" | undefined;
292
+ }>>;
293
+ version: z.ZodOptional<z.ZodEnum<["1.0.0"]>>;
535
294
  }, "strip", z.ZodTypeAny, {
536
295
  location: {
537
296
  source: "config" | "listing" | "user";
@@ -546,24 +305,24 @@ export declare const PluginStateSchema: z.ZodObject<{
546
305
  type: "id" | "externalId";
547
306
  id?: string | undefined;
548
307
  };
549
- flow: string;
550
- intent: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline";
551
- employees: {
552
- type: "id" | "externalId";
553
- ids: string[];
554
- };
555
308
  application: {
309
+ customerLocationSearch: "always" | "error";
556
310
  officeSearch: "required" | "optional";
311
+ recaptcha: "disable" | "enable";
557
312
  scroll: number | "disabled";
558
- customerLocationSearch: "always" | "error";
559
- timeZoneSelection: "enable" | "disable";
560
- recaptcha: "enable" | "disable";
313
+ timeZoneSelection: "disable" | "enable";
561
314
  theme?: string | undefined;
562
315
  };
563
316
  browser: {
564
317
  timeZone?: string | undefined;
565
318
  href?: string | undefined;
566
319
  };
320
+ employees: {
321
+ type: "id" | "externalId";
322
+ ids: string[];
323
+ };
324
+ flow: string;
325
+ intent: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline";
567
326
  leadSegment: {
568
327
  type: "id" | "code";
569
328
  id?: string | undefined;
@@ -582,23 +341,23 @@ export declare const PluginStateSchema: z.ZodObject<{
582
341
  id?: string | undefined;
583
342
  sourceTags?: string[] | undefined;
584
343
  };
585
- subjects: {
344
+ subjectGroups: {
586
345
  type: "id" | "externalId";
587
346
  ids: string[];
588
347
  };
589
- subjectGroups: {
348
+ subjects: {
590
349
  type: "id" | "externalId";
591
350
  ids: string[];
592
351
  };
593
352
  timetable: {
353
+ meetingTypeSelector: "disable" | "enable";
594
354
  view: "week" | "month";
595
- meetingTypeSelector: "enable" | "disable";
596
355
  };
597
356
  language?: "da" | "de" | "el" | "en" | "es" | "fr" | "nl" | "no" | "en-US" | "en-GB" | "cimode" | undefined;
598
- version?: "1.0.0" | undefined;
599
357
  customer?: {
600
358
  id?: string | null | undefined;
601
359
  externalId?: string | null | undefined;
360
+ additionalCustomers?: string[] | undefined;
602
361
  company?: string | null | undefined;
603
362
  customerNumber?: string | null | undefined;
604
363
  email?: string | null | undefined;
@@ -615,21 +374,21 @@ export declare const PluginStateSchema: z.ZodObject<{
615
374
  longitude: number;
616
375
  } | null | undefined;
617
376
  postalCode?: string | null | undefined;
618
- timeZone?: string | null | undefined;
619
377
  state?: string | null | undefined;
620
378
  street1?: string | null | undefined;
621
379
  street2?: string | null | undefined;
380
+ timeZone?: string | null | undefined;
622
381
  } | null | undefined;
623
382
  phoneNumber?: string | null | undefined;
624
- additionalCustomers?: string[] | undefined;
625
383
  } | undefined;
626
384
  initialFormattedAddress?: string | undefined;
385
+ messageForCustomer?: string | undefined;
627
386
  questions?: Record<string, string | string[]> | undefined;
628
387
  subjectQuestions?: {
629
388
  externalId: string;
630
389
  value: string | string[];
631
390
  }[] | undefined;
632
- messageForCustomer?: string | undefined;
391
+ version?: "1.0.0" | undefined;
633
392
  }, {
634
393
  language?: string | undefined;
635
394
  location?: {
@@ -637,28 +396,21 @@ export declare const PluginStateSchema: z.ZodObject<{
637
396
  latitude: number;
638
397
  longitude: number;
639
398
  } | undefined;
640
- source?: "config" | "listing" | "user" | undefined;
641
399
  formattedAddress?: string | undefined;
642
400
  placeId?: string | undefined;
401
+ source?: "config" | "listing" | "user" | undefined;
643
402
  } | undefined;
644
403
  listing?: {
645
404
  id?: string | undefined;
646
405
  type?: "id" | "externalId" | undefined;
647
406
  } | undefined;
648
- version?: "1.0.0" | undefined;
649
- flow?: string | undefined;
650
- intent?: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline" | undefined;
651
- employees?: {
652
- type?: "id" | "externalId" | undefined;
653
- ids?: string | string[] | null | undefined;
654
- } | undefined;
655
407
  application?: {
408
+ customerLocationSearch?: "always" | "error" | undefined;
656
409
  officeSearch?: "required" | "optional" | undefined;
410
+ recaptcha?: "disable" | "enable" | undefined;
657
411
  scroll?: number | "disabled" | undefined;
658
- customerLocationSearch?: "always" | "error" | undefined;
659
- timeZoneSelection?: "enable" | "disable" | undefined;
660
412
  theme?: string | undefined;
661
- recaptcha?: "enable" | "disable" | undefined;
413
+ timeZoneSelection?: "disable" | "enable" | undefined;
662
414
  } | undefined;
663
415
  browser?: {
664
416
  timeZone?: string | undefined;
@@ -667,6 +419,7 @@ export declare const PluginStateSchema: z.ZodObject<{
667
419
  customer?: {
668
420
  id?: string | null | undefined;
669
421
  externalId?: string | null | undefined;
422
+ additionalCustomers?: (string | null | undefined)[] | null | undefined;
670
423
  company?: string | null | undefined;
671
424
  customerNumber?: string | null | undefined;
672
425
  email?: string | null | undefined;
@@ -683,20 +436,26 @@ export declare const PluginStateSchema: z.ZodObject<{
683
436
  longitude: number;
684
437
  } | null | undefined;
685
438
  postalCode?: string | null | undefined;
686
- timeZone?: string | null | undefined;
687
439
  state?: string | null | undefined;
688
440
  street1?: string | null | undefined;
689
441
  street2?: string | null | undefined;
442
+ timeZone?: string | null | undefined;
690
443
  } | null | undefined;
691
444
  phoneNumber?: string | null | undefined;
692
- additionalCustomers?: (string | null | undefined)[] | null | undefined;
693
445
  } | undefined;
446
+ employees?: {
447
+ type?: "id" | "externalId" | undefined;
448
+ ids?: string | string[] | null | undefined;
449
+ } | undefined;
450
+ flow?: string | undefined;
451
+ initialFormattedAddress?: string | undefined;
452
+ intent?: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline" | undefined;
694
453
  leadSegment?: {
695
454
  id?: string | undefined;
696
455
  type?: "id" | "code" | undefined;
697
456
  } | undefined;
698
- initialFormattedAddress?: string | undefined;
699
457
  meetingTypes?: string | string[] | null | undefined;
458
+ messageForCustomer?: string | undefined;
700
459
  oauth?: {
701
460
  resourceCode?: string | undefined;
702
461
  } | undefined;
@@ -704,31 +463,272 @@ export declare const PluginStateSchema: z.ZodObject<{
704
463
  type?: "id" | "externalId" | undefined;
705
464
  ids?: string | string[] | null | undefined;
706
465
  } | undefined;
466
+ questions?: Record<string, string | string[]> | undefined;
707
467
  searchCountries?: string | string[] | null | undefined;
708
468
  session?: {
709
469
  id?: string | undefined;
710
470
  status?: "disabled" | "default" | undefined;
711
471
  sourceTags?: string | string[] | undefined;
712
472
  } | undefined;
713
- subjects?: {
473
+ subjectGroups?: {
714
474
  type?: "id" | "externalId" | undefined;
715
475
  ids?: string | string[] | null | undefined;
716
476
  } | undefined;
717
- subjectGroups?: {
477
+ subjectQuestions?: {
478
+ externalId: string;
479
+ value: string | string[];
480
+ }[] | undefined;
481
+ subjects?: {
718
482
  type?: "id" | "externalId" | undefined;
719
483
  ids?: string | string[] | null | undefined;
720
484
  } | undefined;
721
- timetable?: {
722
- view?: "week" | "month" | undefined;
723
- meetingTypeSelector?: "enable" | "disable" | undefined;
485
+ timetable?: {
486
+ meetingTypeSelector?: "disable" | "enable" | undefined;
487
+ view?: "week" | "month" | undefined;
488
+ } | undefined;
489
+ version?: "1.0.0" | undefined;
490
+ }>>;
491
+ customer: z.ZodOptional<z.ZodObject<{
492
+ additionalCustomers: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodString>>, "many">>>, string[] | undefined, (string | null | undefined)[] | null | undefined>;
493
+ company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
494
+ customerNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
496
+ existing: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>, "on" | undefined, string | boolean | null | undefined>;
497
+ externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
501
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
502
+ location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
503
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
+ countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
+ geolocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
506
+ latitude: z.ZodNumber;
507
+ longitude: z.ZodNumber;
508
+ }, "strip", z.ZodTypeAny, {
509
+ latitude: number;
510
+ longitude: number;
511
+ }, {
512
+ latitude: number;
513
+ longitude: number;
514
+ }>>>;
515
+ postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
516
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
+ street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
518
+ street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
519
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ city?: string | null | undefined;
522
+ countryCode?: string | null | undefined;
523
+ geolocation?: {
524
+ latitude: number;
525
+ longitude: number;
526
+ } | null | undefined;
527
+ postalCode?: string | null | undefined;
528
+ state?: string | null | undefined;
529
+ street1?: string | null | undefined;
530
+ street2?: string | null | undefined;
531
+ timeZone?: string | null | undefined;
532
+ }, {
533
+ city?: string | null | undefined;
534
+ countryCode?: string | null | undefined;
535
+ geolocation?: {
536
+ latitude: number;
537
+ longitude: number;
538
+ } | null | undefined;
539
+ postalCode?: string | null | undefined;
540
+ state?: string | null | undefined;
541
+ street1?: string | null | undefined;
542
+ street2?: string | null | undefined;
543
+ timeZone?: string | null | undefined;
544
+ }>>>;
545
+ phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ id?: string | null | undefined;
549
+ externalId?: string | null | undefined;
550
+ additionalCustomers?: string[] | undefined;
551
+ company?: string | null | undefined;
552
+ customerNumber?: string | null | undefined;
553
+ email?: string | null | undefined;
554
+ existing?: "on" | undefined;
555
+ firstName?: string | null | undefined;
556
+ language?: string | null | undefined;
557
+ lastName?: string | null | undefined;
558
+ timeZone?: string | null | undefined;
559
+ location?: {
560
+ city?: string | null | undefined;
561
+ countryCode?: string | null | undefined;
562
+ geolocation?: {
563
+ latitude: number;
564
+ longitude: number;
565
+ } | null | undefined;
566
+ postalCode?: string | null | undefined;
567
+ state?: string | null | undefined;
568
+ street1?: string | null | undefined;
569
+ street2?: string | null | undefined;
570
+ timeZone?: string | null | undefined;
571
+ } | null | undefined;
572
+ phoneNumber?: string | null | undefined;
573
+ }, {
574
+ id?: string | null | undefined;
575
+ externalId?: string | null | undefined;
576
+ additionalCustomers?: (string | null | undefined)[] | null | undefined;
577
+ company?: string | null | undefined;
578
+ customerNumber?: string | null | undefined;
579
+ email?: string | null | undefined;
580
+ existing?: string | boolean | null | undefined;
581
+ firstName?: string | null | undefined;
582
+ language?: string | null | undefined;
583
+ lastName?: string | null | undefined;
584
+ timeZone?: string | null | undefined;
585
+ location?: {
586
+ city?: string | null | undefined;
587
+ countryCode?: string | null | undefined;
588
+ geolocation?: {
589
+ latitude: number;
590
+ longitude: number;
591
+ } | null | undefined;
592
+ postalCode?: string | null | undefined;
593
+ state?: string | null | undefined;
594
+ street1?: string | null | undefined;
595
+ street2?: string | null | undefined;
596
+ timeZone?: string | null | undefined;
597
+ } | null | undefined;
598
+ phoneNumber?: string | null | undefined;
599
+ }>>;
600
+ employeeId: z.ZodOptional<z.ZodString>;
601
+ employees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
602
+ errors: z.ZodDefault<z.ZodObject<{
603
+ /**
604
+ * Each step can have errors, in case of the timetable this currently only happens when
605
+ * a slot is booked by another customer between selecting the slot, and confirming the appointment
606
+ * (request).
607
+ */
608
+ timetable: z.ZodOptional<z.ZodLiteral<true>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ timetable?: true | undefined;
611
+ }, {
612
+ timetable?: true | undefined;
613
+ }>>;
614
+ fileUploads: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
615
+ answerId: z.ZodString;
616
+ fileName: z.ZodString;
617
+ uploadUrl: z.ZodNullable<z.ZodString>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ answerId: string;
620
+ fileName: string;
621
+ uploadUrl: string | null;
622
+ }, {
623
+ answerId: string;
624
+ fileName: string;
625
+ uploadUrl: string | null;
626
+ }>>>;
627
+ flow: z.ZodDefault<z.ZodString>;
628
+ leadSegmentId: z.ZodOptional<z.ZodString>;
629
+ listingId: z.ZodOptional<z.ZodString>;
630
+ /** The selected geolocation of the user */
631
+ location: z.ZodDefault<z.ZodObject<{
632
+ formattedAddress: z.ZodOptional<z.ZodString>;
633
+ geolocation: z.ZodOptional<z.ZodObject<{
634
+ latitude: z.ZodNumber;
635
+ longitude: z.ZodNumber;
636
+ }, "strip", z.ZodTypeAny, {
637
+ latitude: number;
638
+ longitude: number;
639
+ }, {
640
+ latitude: number;
641
+ longitude: number;
642
+ }>>;
643
+ placeId: z.ZodOptional<z.ZodString>;
644
+ source: z.ZodDefault<z.ZodEnum<["config", "listing", "user"]>>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ source: "config" | "listing" | "user";
647
+ geolocation?: {
648
+ latitude: number;
649
+ longitude: number;
650
+ } | undefined;
651
+ formattedAddress?: string | undefined;
652
+ placeId?: string | undefined;
653
+ }, {
654
+ geolocation?: {
655
+ latitude: number;
656
+ longitude: number;
724
657
  } | undefined;
725
- questions?: Record<string, string | string[]> | undefined;
726
- subjectQuestions?: {
727
- externalId: string;
728
- value: string | string[];
729
- }[] | undefined;
730
- messageForCustomer?: string | undefined;
658
+ formattedAddress?: string | undefined;
659
+ placeId?: string | undefined;
660
+ source?: "config" | "listing" | "user" | undefined;
661
+ }>>;
662
+ meetingType: z.ZodOptional<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>>;
663
+ meetingTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>, "many">>;
664
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
665
+ officeId: z.ZodOptional<z.ZodString>;
666
+ offices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
667
+ questions: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, Record<string, string | string[]>, Record<string, string | string[]>>>;
668
+ schedulable: z.ZodDefault<z.ZodBoolean>;
669
+ /** Marking certain steps as (automatically) skipped or not. */
670
+ skipped: z.ZodDefault<z.ZodObject<{
671
+ employee: z.ZodOptional<z.ZodLiteral<true>>;
672
+ meetingType: z.ZodOptional<z.ZodLiteral<true>>;
673
+ office: z.ZodOptional<z.ZodLiteral<true>>;
674
+ questions: z.ZodOptional<z.ZodLiteral<true>>;
675
+ subject: z.ZodOptional<z.ZodLiteral<true>>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ questions?: true | undefined;
678
+ meetingType?: true | undefined;
679
+ employee?: true | undefined;
680
+ office?: true | undefined;
681
+ subject?: true | undefined;
682
+ }, {
683
+ questions?: true | undefined;
684
+ meetingType?: true | undefined;
685
+ employee?: true | undefined;
686
+ office?: true | undefined;
687
+ subject?: true | undefined;
731
688
  }>>;
689
+ subjectGroups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
690
+ subjectId: z.ZodOptional<z.ZodString>;
691
+ subjects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
692
+ timetable: z.ZodDefault<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
693
+ employeeIds: z.ZodUndefined;
694
+ end: z.ZodUndefined;
695
+ intent: z.ZodOptional<z.ZodLiteral<"callback">>;
696
+ start: z.ZodUndefined;
697
+ }, "strip", z.ZodTypeAny, {
698
+ intent?: "callback" | undefined;
699
+ employeeIds?: undefined;
700
+ end?: undefined;
701
+ start?: undefined;
702
+ }, {
703
+ intent?: "callback" | undefined;
704
+ employeeIds?: undefined;
705
+ end?: undefined;
706
+ start?: undefined;
707
+ }>, z.ZodObject<{
708
+ employeeIds: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
709
+ end: z.ZodOptional<z.ZodString>;
710
+ intent: z.ZodOptional<z.ZodLiteral<"schedule">>;
711
+ start: z.ZodOptional<z.ZodString>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ employeeIds: string[];
714
+ intent?: "schedule" | undefined;
715
+ end?: string | undefined;
716
+ start?: string | undefined;
717
+ }, {
718
+ intent?: "schedule" | undefined;
719
+ employeeIds?: string | string[] | null | undefined;
720
+ end?: string | undefined;
721
+ start?: string | undefined;
722
+ }>]>, z.ZodObject<{
723
+ /** used timezone when selecting a timeslot */
724
+ timeZone: z.ZodOptional<z.ZodString>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ timeZone?: string | undefined;
727
+ }, {
728
+ timeZone?: string | undefined;
729
+ }>>>;
730
+ /** Warnings that should be logged to the console */
731
+ warning: z.ZodOptional<z.ZodString>;
732
732
  }, "strip", z.ZodTypeAny, {
733
733
  location: {
734
734
  source: "config" | "listing" | "user";
@@ -753,24 +753,24 @@ export declare const PluginStateSchema: z.ZodObject<{
753
753
  type: "id" | "externalId";
754
754
  id?: string | undefined;
755
755
  };
756
- flow: string;
757
- intent: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline";
758
- employees: {
759
- type: "id" | "externalId";
760
- ids: string[];
761
- };
762
756
  application: {
757
+ customerLocationSearch: "always" | "error";
763
758
  officeSearch: "required" | "optional";
759
+ recaptcha: "disable" | "enable";
764
760
  scroll: number | "disabled";
765
- customerLocationSearch: "always" | "error";
766
- timeZoneSelection: "enable" | "disable";
767
- recaptcha: "enable" | "disable";
761
+ timeZoneSelection: "disable" | "enable";
768
762
  theme?: string | undefined;
769
763
  };
770
764
  browser: {
771
765
  timeZone?: string | undefined;
772
766
  href?: string | undefined;
773
767
  };
768
+ employees: {
769
+ type: "id" | "externalId";
770
+ ids: string[];
771
+ };
772
+ flow: string;
773
+ intent: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline";
774
774
  leadSegment: {
775
775
  type: "id" | "code";
776
776
  id?: string | undefined;
@@ -789,23 +789,23 @@ export declare const PluginStateSchema: z.ZodObject<{
789
789
  id?: string | undefined;
790
790
  sourceTags?: string[] | undefined;
791
791
  };
792
- subjects: {
792
+ subjectGroups: {
793
793
  type: "id" | "externalId";
794
794
  ids: string[];
795
795
  };
796
- subjectGroups: {
796
+ subjects: {
797
797
  type: "id" | "externalId";
798
798
  ids: string[];
799
799
  };
800
800
  timetable: {
801
+ meetingTypeSelector: "disable" | "enable";
801
802
  view: "week" | "month";
802
- meetingTypeSelector: "enable" | "disable";
803
803
  };
804
804
  language?: "da" | "de" | "el" | "en" | "es" | "fr" | "nl" | "no" | "en-US" | "en-GB" | "cimode" | undefined;
805
- version?: "1.0.0" | undefined;
806
805
  customer?: {
807
806
  id?: string | null | undefined;
808
807
  externalId?: string | null | undefined;
808
+ additionalCustomers?: string[] | undefined;
809
809
  company?: string | null | undefined;
810
810
  customerNumber?: string | null | undefined;
811
811
  email?: string | null | undefined;
@@ -822,51 +822,51 @@ export declare const PluginStateSchema: z.ZodObject<{
822
822
  longitude: number;
823
823
  } | null | undefined;
824
824
  postalCode?: string | null | undefined;
825
- timeZone?: string | null | undefined;
826
825
  state?: string | null | undefined;
827
826
  street1?: string | null | undefined;
828
827
  street2?: string | null | undefined;
828
+ timeZone?: string | null | undefined;
829
829
  } | null | undefined;
830
830
  phoneNumber?: string | null | undefined;
831
- additionalCustomers?: string[] | undefined;
832
831
  } | undefined;
833
832
  initialFormattedAddress?: string | undefined;
833
+ messageForCustomer?: string | undefined;
834
834
  questions?: Record<string, string | string[]> | undefined;
835
835
  subjectQuestions?: {
836
836
  externalId: string;
837
837
  value: string | string[];
838
838
  }[] | undefined;
839
- messageForCustomer?: string | undefined;
839
+ version?: "1.0.0" | undefined;
840
840
  };
841
841
  flow: string;
842
842
  timetable: ({
843
843
  intent?: "callback" | undefined;
844
- start?: undefined;
845
- end?: undefined;
846
844
  employeeIds?: undefined;
845
+ end?: undefined;
846
+ start?: undefined;
847
847
  } | {
848
848
  employeeIds: string[];
849
849
  intent?: "schedule" | undefined;
850
- start?: string | undefined;
851
850
  end?: string | undefined;
851
+ start?: string | undefined;
852
852
  }) & {
853
853
  timeZone?: string | undefined;
854
854
  };
855
+ errors: {
856
+ timetable?: true | undefined;
857
+ };
855
858
  schedulable: boolean;
856
859
  skipped: {
857
860
  questions?: true | undefined;
858
861
  meetingType?: true | undefined;
859
- subject?: true | undefined;
860
- office?: true | undefined;
861
862
  employee?: true | undefined;
863
+ office?: true | undefined;
864
+ subject?: true | undefined;
862
865
  };
863
- errors: {
864
- timetable?: true | undefined;
865
- };
866
- employees?: string[] | undefined;
867
866
  customer?: {
868
867
  id?: string | null | undefined;
869
868
  externalId?: string | null | undefined;
869
+ additionalCustomers?: string[] | undefined;
870
870
  company?: string | null | undefined;
871
871
  customerNumber?: string | null | undefined;
872
872
  email?: string | null | undefined;
@@ -883,33 +883,33 @@ export declare const PluginStateSchema: z.ZodObject<{
883
883
  longitude: number;
884
884
  } | null | undefined;
885
885
  postalCode?: string | null | undefined;
886
- timeZone?: string | null | undefined;
887
886
  state?: string | null | undefined;
888
887
  street1?: string | null | undefined;
889
888
  street2?: string | null | undefined;
889
+ timeZone?: string | null | undefined;
890
890
  } | null | undefined;
891
891
  phoneNumber?: string | null | undefined;
892
- additionalCustomers?: string[] | undefined;
893
892
  } | undefined;
893
+ employees?: string[] | undefined;
894
894
  meetingTypes?: ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[] | undefined;
895
895
  offices?: string[] | undefined;
896
- subjects?: string[] | undefined;
897
- subjectGroups?: string[] | undefined;
898
896
  questions?: Record<string, string | string[]> | undefined;
899
- subjectId?: string | undefined;
900
- officeId?: string | undefined;
901
- employeeId?: string | undefined;
897
+ subjectGroups?: string[] | undefined;
898
+ subjects?: string[] | undefined;
902
899
  appointmentId?: string | undefined;
903
900
  callbackRequestId?: string | undefined;
904
- metadata?: Record<string, unknown> | undefined;
905
- meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined;
901
+ employeeId?: string | undefined;
906
902
  fileUploads?: Record<string, {
907
- fileName: string;
908
903
  answerId: string;
904
+ fileName: string;
909
905
  uploadUrl: string | null;
910
906
  }> | undefined;
911
907
  leadSegmentId?: string | undefined;
912
908
  listingId?: string | undefined;
909
+ meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined;
910
+ metadata?: Record<string, unknown> | undefined;
911
+ officeId?: string | undefined;
912
+ subjectId?: string | undefined;
913
913
  warning?: string | undefined;
914
914
  }, {
915
915
  location?: {
@@ -917,9 +917,9 @@ export declare const PluginStateSchema: z.ZodObject<{
917
917
  latitude: number;
918
918
  longitude: number;
919
919
  } | undefined;
920
- source?: "config" | "listing" | "user" | undefined;
921
920
  formattedAddress?: string | undefined;
922
921
  placeId?: string | undefined;
922
+ source?: "config" | "listing" | "user" | undefined;
923
923
  } | undefined;
924
924
  config?: {
925
925
  language?: string | undefined;
@@ -928,28 +928,21 @@ export declare const PluginStateSchema: z.ZodObject<{
928
928
  latitude: number;
929
929
  longitude: number;
930
930
  } | undefined;
931
- source?: "config" | "listing" | "user" | undefined;
932
931
  formattedAddress?: string | undefined;
933
932
  placeId?: string | undefined;
933
+ source?: "config" | "listing" | "user" | undefined;
934
934
  } | undefined;
935
935
  listing?: {
936
936
  id?: string | undefined;
937
937
  type?: "id" | "externalId" | undefined;
938
938
  } | undefined;
939
- version?: "1.0.0" | undefined;
940
- flow?: string | undefined;
941
- intent?: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline" | undefined;
942
- employees?: {
943
- type?: "id" | "externalId" | undefined;
944
- ids?: string | string[] | null | undefined;
945
- } | undefined;
946
939
  application?: {
940
+ customerLocationSearch?: "always" | "error" | undefined;
947
941
  officeSearch?: "required" | "optional" | undefined;
942
+ recaptcha?: "disable" | "enable" | undefined;
948
943
  scroll?: number | "disabled" | undefined;
949
- customerLocationSearch?: "always" | "error" | undefined;
950
- timeZoneSelection?: "enable" | "disable" | undefined;
951
944
  theme?: string | undefined;
952
- recaptcha?: "enable" | "disable" | undefined;
945
+ timeZoneSelection?: "disable" | "enable" | undefined;
953
946
  } | undefined;
954
947
  browser?: {
955
948
  timeZone?: string | undefined;
@@ -958,6 +951,7 @@ export declare const PluginStateSchema: z.ZodObject<{
958
951
  customer?: {
959
952
  id?: string | null | undefined;
960
953
  externalId?: string | null | undefined;
954
+ additionalCustomers?: (string | null | undefined)[] | null | undefined;
961
955
  company?: string | null | undefined;
962
956
  customerNumber?: string | null | undefined;
963
957
  email?: string | null | undefined;
@@ -974,20 +968,26 @@ export declare const PluginStateSchema: z.ZodObject<{
974
968
  longitude: number;
975
969
  } | null | undefined;
976
970
  postalCode?: string | null | undefined;
977
- timeZone?: string | null | undefined;
978
971
  state?: string | null | undefined;
979
972
  street1?: string | null | undefined;
980
973
  street2?: string | null | undefined;
974
+ timeZone?: string | null | undefined;
981
975
  } | null | undefined;
982
976
  phoneNumber?: string | null | undefined;
983
- additionalCustomers?: (string | null | undefined)[] | null | undefined;
984
977
  } | undefined;
978
+ employees?: {
979
+ type?: "id" | "externalId" | undefined;
980
+ ids?: string | string[] | null | undefined;
981
+ } | undefined;
982
+ flow?: string | undefined;
983
+ initialFormattedAddress?: string | undefined;
984
+ intent?: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | "decline" | undefined;
985
985
  leadSegment?: {
986
986
  id?: string | undefined;
987
987
  type?: "id" | "code" | undefined;
988
988
  } | undefined;
989
- initialFormattedAddress?: string | undefined;
990
989
  meetingTypes?: string | string[] | null | undefined;
990
+ messageForCustomer?: string | undefined;
991
991
  oauth?: {
992
992
  resourceCode?: string | undefined;
993
993
  } | undefined;
@@ -995,36 +995,35 @@ export declare const PluginStateSchema: z.ZodObject<{
995
995
  type?: "id" | "externalId" | undefined;
996
996
  ids?: string | string[] | null | undefined;
997
997
  } | undefined;
998
+ questions?: Record<string, string | string[]> | undefined;
998
999
  searchCountries?: string | string[] | null | undefined;
999
1000
  session?: {
1000
1001
  id?: string | undefined;
1001
1002
  status?: "disabled" | "default" | undefined;
1002
1003
  sourceTags?: string | string[] | undefined;
1003
1004
  } | undefined;
1004
- subjects?: {
1005
+ subjectGroups?: {
1005
1006
  type?: "id" | "externalId" | undefined;
1006
1007
  ids?: string | string[] | null | undefined;
1007
1008
  } | undefined;
1008
- subjectGroups?: {
1009
+ subjectQuestions?: {
1010
+ externalId: string;
1011
+ value: string | string[];
1012
+ }[] | undefined;
1013
+ subjects?: {
1009
1014
  type?: "id" | "externalId" | undefined;
1010
1015
  ids?: string | string[] | null | undefined;
1011
1016
  } | undefined;
1012
1017
  timetable?: {
1018
+ meetingTypeSelector?: "disable" | "enable" | undefined;
1013
1019
  view?: "week" | "month" | undefined;
1014
- meetingTypeSelector?: "enable" | "disable" | undefined;
1015
1020
  } | undefined;
1016
- questions?: Record<string, string | string[]> | undefined;
1017
- subjectQuestions?: {
1018
- externalId: string;
1019
- value: string | string[];
1020
- }[] | undefined;
1021
- messageForCustomer?: string | undefined;
1021
+ version?: "1.0.0" | undefined;
1022
1022
  } | undefined;
1023
- flow?: string | undefined;
1024
- employees?: string[] | undefined;
1025
1023
  customer?: {
1026
1024
  id?: string | null | undefined;
1027
1025
  externalId?: string | null | undefined;
1026
+ additionalCustomers?: (string | null | undefined)[] | null | undefined;
1028
1027
  company?: string | null | undefined;
1029
1028
  customerNumber?: string | null | undefined;
1030
1029
  email?: string | null | undefined;
@@ -1041,57 +1040,58 @@ export declare const PluginStateSchema: z.ZodObject<{
1041
1040
  longitude: number;
1042
1041
  } | null | undefined;
1043
1042
  postalCode?: string | null | undefined;
1044
- timeZone?: string | null | undefined;
1045
1043
  state?: string | null | undefined;
1046
1044
  street1?: string | null | undefined;
1047
1045
  street2?: string | null | undefined;
1046
+ timeZone?: string | null | undefined;
1048
1047
  } | null | undefined;
1049
1048
  phoneNumber?: string | null | undefined;
1050
- additionalCustomers?: (string | null | undefined)[] | null | undefined;
1051
1049
  } | undefined;
1050
+ employees?: string[] | undefined;
1051
+ flow?: string | undefined;
1052
1052
  meetingTypes?: ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[] | undefined;
1053
1053
  offices?: string[] | undefined;
1054
- subjects?: string[] | undefined;
1054
+ questions?: Record<string, string | string[]> | undefined;
1055
1055
  subjectGroups?: string[] | undefined;
1056
+ subjects?: string[] | undefined;
1056
1057
  timetable?: (({
1057
1058
  intent?: "callback" | undefined;
1058
- start?: undefined;
1059
- end?: undefined;
1060
1059
  employeeIds?: undefined;
1060
+ end?: undefined;
1061
+ start?: undefined;
1061
1062
  } | {
1062
1063
  intent?: "schedule" | undefined;
1063
- start?: string | undefined;
1064
- end?: string | undefined;
1065
1064
  employeeIds?: string | string[] | null | undefined;
1065
+ end?: string | undefined;
1066
+ start?: string | undefined;
1066
1067
  }) & {
1067
1068
  timeZone?: string | undefined;
1068
1069
  }) | undefined;
1069
- questions?: Record<string, string | string[]> | undefined;
1070
- subjectId?: string | undefined;
1071
- officeId?: string | undefined;
1072
- employeeId?: string | undefined;
1073
1070
  appointmentId?: string | undefined;
1074
1071
  callbackRequestId?: string | undefined;
1075
- metadata?: Record<string, unknown> | undefined;
1076
- meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined;
1072
+ employeeId?: string | undefined;
1073
+ errors?: {
1074
+ timetable?: true | undefined;
1075
+ } | undefined;
1077
1076
  fileUploads?: Record<string, {
1078
- fileName: string;
1079
1077
  answerId: string;
1078
+ fileName: string;
1080
1079
  uploadUrl: string | null;
1081
1080
  }> | undefined;
1082
1081
  leadSegmentId?: string | undefined;
1083
1082
  listingId?: string | undefined;
1083
+ meetingType?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | undefined;
1084
+ metadata?: Record<string, unknown> | undefined;
1085
+ officeId?: string | undefined;
1084
1086
  schedulable?: boolean | undefined;
1085
1087
  skipped?: {
1086
1088
  questions?: true | undefined;
1087
1089
  meetingType?: true | undefined;
1088
- subject?: true | undefined;
1089
- office?: true | undefined;
1090
1090
  employee?: true | undefined;
1091
+ office?: true | undefined;
1092
+ subject?: true | undefined;
1091
1093
  } | undefined;
1092
- errors?: {
1093
- timetable?: true | undefined;
1094
- } | undefined;
1094
+ subjectId?: string | undefined;
1095
1095
  warning?: string | undefined;
1096
1096
  }>;
1097
1097
  //# sourceMappingURL=PluginState.schema.d.ts.map