@pexip-engage-public/plugin 1.0.0-canary-20231031112431
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/CHANGELOG.md +11 -0
- package/dist/configuration/PluginConfiguration.current.d.ts +52 -0
- package/dist/configuration/PluginConfiguration.current.d.ts.map +1 -0
- package/dist/configuration/PluginConfiguration.current.js +1 -0
- package/dist/configuration/PluginConfiguration.schema.d.ts +489 -0
- package/dist/configuration/PluginConfiguration.schema.d.ts.map +1 -0
- package/dist/configuration/PluginConfiguration.schema.js +121 -0
- package/dist/configuration/PluginConfiguration.v0.d.ts +51 -0
- package/dist/configuration/PluginConfiguration.v0.d.ts.map +1 -0
- package/dist/configuration/PluginConfiguration.v0.js +1 -0
- package/dist/configuration/PluginConfiguration.v1.d.ts +51 -0
- package/dist/configuration/PluginConfiguration.v1.d.ts.map +1 -0
- package/dist/configuration/PluginConfiguration.v1.js +1 -0
- package/dist/configuration/index.d.ts +2 -0
- package/dist/configuration/index.d.ts.map +1 -0
- package/dist/configuration/index.js +1 -0
- package/dist/configuration/migration.d.ts +6 -0
- package/dist/configuration/migration.d.ts.map +1 -0
- package/dist/configuration/migration.js +84 -0
- package/dist/configuration-parser/LegacyParser.d.ts +196 -0
- package/dist/configuration-parser/LegacyParser.d.ts.map +1 -0
- package/dist/configuration-parser/LegacyParser.js +165 -0
- package/dist/configuration-parser/LegacyParser.utils.d.ts +88 -0
- package/dist/configuration-parser/LegacyParser.utils.d.ts.map +1 -0
- package/dist/configuration-parser/LegacyParser.utils.js +255 -0
- package/dist/configuration-parser/ModernParser.d.ts +99 -0
- package/dist/configuration-parser/ModernParser.d.ts.map +1 -0
- package/dist/configuration-parser/ModernParser.js +48 -0
- package/dist/configuration-parser/ModernParser.utils.d.ts +6 -0
- package/dist/configuration-parser/ModernParser.utils.d.ts.map +1 -0
- package/dist/configuration-parser/ModernParser.utils.js +28 -0
- package/dist/configuration-parser/Parser.d.ts +28 -0
- package/dist/configuration-parser/Parser.d.ts.map +1 -0
- package/dist/configuration-parser/Parser.js +33 -0
- package/dist/configuration-parser/hash-parser.d.ts +7 -0
- package/dist/configuration-parser/hash-parser.d.ts.map +1 -0
- package/dist/configuration-parser/hash-parser.js +13 -0
- package/dist/configuration-parser/html-parser.d.ts +13 -0
- package/dist/configuration-parser/html-parser.d.ts.map +1 -0
- package/dist/configuration-parser/html-parser.js +23 -0
- package/dist/configuration-parser/index.d.ts +48 -0
- package/dist/configuration-parser/index.d.ts.map +1 -0
- package/dist/configuration-parser/index.js +86 -0
- package/dist/configuration-parser/js-parser.d.ts +84 -0
- package/dist/configuration-parser/js-parser.d.ts.map +1 -0
- package/dist/configuration-parser/js-parser.js +56 -0
- package/dist/configuration-parser/tests/LegacyDomParser.test.d.ts +2 -0
- package/dist/configuration-parser/tests/LegacyDomParser.test.d.ts.map +1 -0
- package/dist/configuration-parser/tests/LegacyDomParser.test.js +151 -0
- package/dist/configuration-parser/tests/LegacyLocationHashParser.test.d.ts +2 -0
- package/dist/configuration-parser/tests/LegacyLocationHashParser.test.d.ts.map +1 -0
- package/dist/configuration-parser/tests/LegacyLocationHashParser.test.js +86 -0
- package/dist/configuration-parser/tests/LegacyParser.test.d.ts +2 -0
- package/dist/configuration-parser/tests/LegacyParser.test.d.ts.map +1 -0
- package/dist/configuration-parser/tests/LegacyParser.test.js +104 -0
- package/dist/configuration-parser/tests/test-utils.d.ts +4 -0
- package/dist/configuration-parser/tests/test-utils.d.ts.map +1 -0
- package/dist/configuration-parser/tests/test-utils.js +10 -0
- package/dist/configuration-parser/utils.d.ts +18 -0
- package/dist/configuration-parser/utils.d.ts.map +1 -0
- package/dist/configuration-parser/utils.js +44 -0
- package/dist/configuration-parser-legacy/LegacyParser.d.ts +196 -0
- package/dist/configuration-parser-legacy/LegacyParser.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/LegacyParser.js +162 -0
- package/dist/configuration-parser-legacy/LegacyParser.utils.d.ts +8 -0
- package/dist/configuration-parser-legacy/LegacyParser.utils.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/LegacyParser.utils.js +88 -0
- package/dist/configuration-parser-legacy/ModernParser.d.ts +97 -0
- package/dist/configuration-parser-legacy/ModernParser.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/ModernParser.js +96 -0
- package/dist/configuration-parser-legacy/Parser.d.ts +20 -0
- package/dist/configuration-parser-legacy/Parser.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/Parser.js +20 -0
- package/dist/configuration-parser-legacy/tests/LegacyDomParser.test.d.ts +2 -0
- package/dist/configuration-parser-legacy/tests/LegacyDomParser.test.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/tests/LegacyDomParser.test.js +151 -0
- package/dist/configuration-parser-legacy/tests/LegacyLocationHashParser.test.d.ts +2 -0
- package/dist/configuration-parser-legacy/tests/LegacyLocationHashParser.test.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/tests/LegacyLocationHashParser.test.js +86 -0
- package/dist/configuration-parser-legacy/tests/LegacyParser.test.d.ts +2 -0
- package/dist/configuration-parser-legacy/tests/LegacyParser.test.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/tests/LegacyParser.test.js +104 -0
- package/dist/configuration-parser-legacy/tests/test-utils.d.ts +4 -0
- package/dist/configuration-parser-legacy/tests/test-utils.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/tests/test-utils.js +10 -0
- package/dist/configuration-parser-legacy/utils.d.ts +14 -0
- package/dist/configuration-parser-legacy/utils.d.ts.map +1 -0
- package/dist/configuration-parser-legacy/utils.js +24 -0
- package/dist/constants.d.ts +22 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +50 -0
- package/dist/encoding.d.ts +8 -0
- package/dist/encoding.d.ts.map +1 -0
- package/dist/encoding.js +33 -0
- package/dist/events/conversion-analytics.d.ts +120 -0
- package/dist/events/conversion-analytics.d.ts.map +1 -0
- package/dist/events/conversion-analytics.js +10 -0
- package/dist/events/event-types.d.ts +152 -0
- package/dist/events/event-types.d.ts.map +1 -0
- package/dist/events/event-types.js +1 -0
- package/dist/events/index.d.ts +2 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +1 -0
- package/dist/events/utils.d.ts +2 -0
- package/dist/events/utils.d.ts.map +1 -0
- package/dist/events/utils.js +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/instance/PexipEngagePluginFrame.d.ts +8 -0
- package/dist/instance/PexipEngagePluginFrame.d.ts.map +1 -0
- package/dist/instance/PexipEngagePluginFrame.js +39 -0
- package/dist/instance/PluginInstance.d.ts +138 -0
- package/dist/instance/PluginInstance.d.ts.map +1 -0
- package/dist/instance/PluginInstance.js +328 -0
- package/dist/instance/dispatchEvent.d.ts +24 -0
- package/dist/instance/dispatchEvent.d.ts.map +1 -0
- package/dist/instance/dispatchEvent.js +5 -0
- package/dist/instance/hooks.d.ts +17 -0
- package/dist/instance/hooks.d.ts.map +1 -0
- package/dist/instance/hooks.js +1 -0
- package/dist/instance/index.d.ts +19 -0
- package/dist/instance/index.d.ts.map +1 -0
- package/dist/instance/index.js +30 -0
- package/dist/logger.d.ts +10 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +24 -0
- package/dist/state/PluginState.schema.d.ts +943 -0
- package/dist/state/PluginState.schema.d.ts.map +1 -0
- package/dist/state/PluginState.schema.js +52 -0
- package/dist/state/index.d.ts +4 -0
- package/dist/state/index.d.ts.map +1 -0
- package/dist/state/index.js +2 -0
- package/dist/state/schemas.d.ts +169 -0
- package/dist/state/schemas.d.ts.map +1 -0
- package/dist/state/schemas.js +85 -0
- package/dist/state/utils.d.ts +7 -0
- package/dist/state/utils.d.ts.map +1 -0
- package/dist/state/utils.js +22 -0
- package/package.json +66 -0
- package/src/@types/iframe-resizer.iframeResizer.d.ts +211 -0
- package/src/@types/reset.d.ts +1 -0
- package/src/configuration/PluginConfiguration.current.ts +51 -0
- package/src/configuration/PluginConfiguration.schema.ts +133 -0
- package/src/configuration/PluginConfiguration.v0.ts +50 -0
- package/src/configuration/index.ts +1 -0
- package/src/configuration/migration.ts +95 -0
- package/src/configuration-parser/hash-parser.ts +18 -0
- package/src/configuration-parser/html-parser.ts +35 -0
- package/src/configuration-parser/index.ts +134 -0
- package/src/configuration-parser/js-parser.ts +153 -0
- package/src/configuration-parser-legacy/LegacyParser.ts +376 -0
- package/src/configuration-parser-legacy/LegacyParser.utils.ts +104 -0
- package/src/configuration-parser-legacy/ModernParser.ts +213 -0
- package/src/configuration-parser-legacy/Parser.ts +44 -0
- package/src/configuration-parser-legacy/tests/LegacyDomParser.test.ts +168 -0
- package/src/configuration-parser-legacy/tests/LegacyLocationHashParser.test.ts +96 -0
- package/src/configuration-parser-legacy/tests/LegacyParser.test.ts +117 -0
- package/src/configuration-parser-legacy/tests/test-utils.ts +16 -0
- package/src/configuration-parser-legacy/utils.ts +30 -0
- package/src/constants.ts +61 -0
- package/src/encoding.ts +42 -0
- package/src/events/event-types.ts +126 -0
- package/src/events/index.ts +1 -0
- package/src/instance/PexipEngagePluginFrame.ts +48 -0
- package/src/instance/PluginInstance.ts +429 -0
- package/src/instance/dispatchEvent.ts +34 -0
- package/src/instance/hooks.ts +17 -0
- package/src/instance/index.ts +54 -0
- package/src/logger.ts +25 -0
- package/src/state/PluginState.schema.ts +67 -0
- package/src/state/index.ts +11 -0
- package/src/state/schemas.ts +97 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface PluginConfiguration {
|
|
2
|
+
version?: "1.0.0";
|
|
3
|
+
flow?: string | null;
|
|
4
|
+
intent?: string | null;
|
|
5
|
+
language?: string | null;
|
|
6
|
+
"employee-ids"?: string | string[] | null;
|
|
7
|
+
"employee-type"?: string | null;
|
|
8
|
+
"application-scroll"?: string | number | null;
|
|
9
|
+
"application-time_zone_selection"?: string | null;
|
|
10
|
+
"application-timetable_ui"?: string | null;
|
|
11
|
+
"application-theme"?: string | null;
|
|
12
|
+
"browser-time_zone"?: string | null;
|
|
13
|
+
"browser-href"?: string | null;
|
|
14
|
+
"customer-company"?: string | null;
|
|
15
|
+
"customer-customer_number"?: string | null;
|
|
16
|
+
"customer-email"?: string | null;
|
|
17
|
+
"customer-existing"?: string | boolean | null;
|
|
18
|
+
"customer-external_id"?: string | null;
|
|
19
|
+
"customer-first_name"?: string | null;
|
|
20
|
+
"customer-id"?: string | null;
|
|
21
|
+
"customer-language"?: string | null;
|
|
22
|
+
"customer-last_name"?: string | null;
|
|
23
|
+
"customer-location-city"?: string | null;
|
|
24
|
+
"customer-location-country_code"?: string | null;
|
|
25
|
+
"customer-location-geolocation-latitude"?: string | null;
|
|
26
|
+
"customer-location-geolocation-longitude"?: string | null;
|
|
27
|
+
"customer-location-postal_code"?: string | null;
|
|
28
|
+
"customer-location-time_zone"?: string | null;
|
|
29
|
+
"customer-location-state"?: string | null;
|
|
30
|
+
"customer-location-street1"?: string | null;
|
|
31
|
+
"customer-location-street2"?: string | null;
|
|
32
|
+
"customer-phone_number"?: string | null;
|
|
33
|
+
"customer-time_zone"?: string | null;
|
|
34
|
+
"lead_segment-id"?: string | null;
|
|
35
|
+
"lead_segment-type"?: string | null;
|
|
36
|
+
"listing-id"?: string | null;
|
|
37
|
+
"listing-type"?: string | null;
|
|
38
|
+
"location-formatted_address"?: string | null;
|
|
39
|
+
meeting_types?: string | string[] | null;
|
|
40
|
+
"oauth-resource_code"?: string | null;
|
|
41
|
+
"office-ids"?: string | string[] | null;
|
|
42
|
+
"office-type"?: string | null;
|
|
43
|
+
search_countries?: string | string[] | null;
|
|
44
|
+
"session-id"?: string | null;
|
|
45
|
+
"session-source_tags"?: string | string[] | null;
|
|
46
|
+
"session-status"?: string | null;
|
|
47
|
+
"subject-ids"?: string | string[] | null;
|
|
48
|
+
"subject-type"?: string | null;
|
|
49
|
+
"subject_group-ids"?: string | string[] | null;
|
|
50
|
+
"subject_group-type"?: string | null;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=PluginConfiguration.current.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginConfiguration.current.d.ts","sourceRoot":"","sources":["../../src/configuration/PluginConfiguration.current.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PluginConfigurationSchema: z.ZodDefault<z.ZodObject<{
|
|
3
|
+
version: z.ZodOptional<z.ZodEnum<["1.0.0"]>>;
|
|
4
|
+
/**
|
|
5
|
+
* A sequence of characters that indicates the order of steps to be shown. The following characters are supported:
|
|
6
|
+
* - `S`: Subject. The step that allows the customer to pick a subject.
|
|
7
|
+
* - `O`: Office. The step that allows the customer to pick an office.
|
|
8
|
+
* - `M`: Meeting type. The step that allows the customer to pick a meeting type.
|
|
9
|
+
* - `E`: Employee. The step that allows the customer to pick an employee.
|
|
10
|
+
* - `T`: Timetable. The step that allows the customer to suggest one or more time slots for their appointment.
|
|
11
|
+
* - `Q`: Questions. The step that allows the customer to answer any addition questions specific to the chosen subject.
|
|
12
|
+
* - `C`: Customer. The step that allows the customer to provide his/her contact information.
|
|
13
|
+
* - `*`: [locked]. Indicate that the step is locked and can not be edited. This means that a value must be provided.
|
|
14
|
+
*
|
|
15
|
+
* Currently, the following constraints must always be met:
|
|
16
|
+
* - The following characters must always be present: `T`, `Q`, `C`.
|
|
17
|
+
* - No other characters than those listed above may be used.
|
|
18
|
+
* - When `S` is not present, it is mandatory that an external mechanism will provide the `config.subject.id` + `config.subject.type` configuration option instead.
|
|
19
|
+
* - When `O` is not present, it is mandatory that an external mechanism will provide the `config.office.id` + `config.office.type`configuration option instead.
|
|
20
|
+
* - If `S` or `O` are present, they can never occur at a position after `T`.
|
|
21
|
+
* - If `S` is present, it can never occur at a position after `Q`.
|
|
22
|
+
*
|
|
23
|
+
* By default the value `SMOTQC` will be assumed. This will be the case if no value was provided or if the provided value fails these constraints.
|
|
24
|
+
* @default "SMOTQC"
|
|
25
|
+
*/
|
|
26
|
+
flow: z.ZodDefault<z.ZodString>;
|
|
27
|
+
intent: z.ZodDefault<z.ZodEnum<["schedule", "reschedule", "invite", "edit", "cancel", "complete"]>>;
|
|
28
|
+
/**
|
|
29
|
+
* An RFC 5646-compatible language tag.
|
|
30
|
+
*
|
|
31
|
+
* This will cause the plugin to be displayed in the specified language, unless the language is unavailable.
|
|
32
|
+
*
|
|
33
|
+
* In that case, a best-effort fallback will be performed with increasingly more generic variants of the specified language or finally 'en' if no variants of the specified language are available.
|
|
34
|
+
*/
|
|
35
|
+
language: z.ZodEffects<z.ZodOptional<z.ZodString>, "cimode" | "da" | "de" | "el" | "en" | "es" | "fr" | "ja" | "nl" | "no" | "pl" | "en-US" | "en-GB" | undefined, string | undefined>;
|
|
36
|
+
employees: z.ZodDefault<z.ZodObject<{
|
|
37
|
+
ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
|
|
38
|
+
type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
type: "externalId" | "id";
|
|
41
|
+
ids: string[];
|
|
42
|
+
}, {
|
|
43
|
+
ids?: string | string[] | null | undefined;
|
|
44
|
+
type?: "externalId" | "id" | undefined;
|
|
45
|
+
}>>;
|
|
46
|
+
application: z.ZodDefault<z.ZodObject<{
|
|
47
|
+
/**
|
|
48
|
+
* Used to set scroll top value when navigating steps
|
|
49
|
+
* @default -90
|
|
50
|
+
* @type { "disabled" | number }
|
|
51
|
+
*/
|
|
52
|
+
scroll: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["disabled"]>, z.ZodNumber]>>;
|
|
53
|
+
/**
|
|
54
|
+
* Used to enable timezone selection when the meeting type is video or phone.
|
|
55
|
+
* @default "enable"
|
|
56
|
+
* @type {"enable" | "disable"}
|
|
57
|
+
*/
|
|
58
|
+
timeZoneSelection: z.ZodDefault<z.ZodEnum<["enable", "disable"]>>;
|
|
59
|
+
/**
|
|
60
|
+
* Used to decide wether to show month of week timetable view
|
|
61
|
+
* @experimental
|
|
62
|
+
* @default "week"
|
|
63
|
+
*/
|
|
64
|
+
timetableUI: z.ZodDefault<z.ZodEnum<["week", "month"]>>;
|
|
65
|
+
theme: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
scroll: number | "disabled";
|
|
68
|
+
timeZoneSelection: "enable" | "disable";
|
|
69
|
+
timetableUI: "week" | "month";
|
|
70
|
+
theme?: string | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
scroll?: number | "disabled" | undefined;
|
|
73
|
+
timeZoneSelection?: "enable" | "disable" | undefined;
|
|
74
|
+
timetableUI?: "week" | "month" | undefined;
|
|
75
|
+
theme?: string | undefined;
|
|
76
|
+
}>>;
|
|
77
|
+
browser: z.ZodDefault<z.ZodObject<{
|
|
78
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
79
|
+
href: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
timeZone?: string | undefined;
|
|
82
|
+
href?: string | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
timeZone?: string | undefined;
|
|
85
|
+
href?: string | undefined;
|
|
86
|
+
}>>;
|
|
87
|
+
customer: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
|
+
customerNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
existing: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>, "on" | undefined, string | boolean | null | undefined>;
|
|
92
|
+
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
96
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
location: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
98
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
geolocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
101
|
+
latitude: z.ZodNumber;
|
|
102
|
+
longitude: z.ZodNumber;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
latitude: number;
|
|
105
|
+
longitude: number;
|
|
106
|
+
}, {
|
|
107
|
+
latitude: number;
|
|
108
|
+
longitude: number;
|
|
109
|
+
}>>>;
|
|
110
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
|
+
street1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
street2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
city?: string | null | undefined;
|
|
117
|
+
countryCode?: string | null | undefined;
|
|
118
|
+
geolocation?: {
|
|
119
|
+
latitude: number;
|
|
120
|
+
longitude: number;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
postalCode?: string | null | undefined;
|
|
123
|
+
timeZone?: string | null | undefined;
|
|
124
|
+
state?: string | null | undefined;
|
|
125
|
+
street1?: string | null | undefined;
|
|
126
|
+
street2?: string | null | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
city?: string | null | undefined;
|
|
129
|
+
countryCode?: string | null | undefined;
|
|
130
|
+
geolocation?: {
|
|
131
|
+
latitude: number;
|
|
132
|
+
longitude: number;
|
|
133
|
+
} | null | undefined;
|
|
134
|
+
postalCode?: string | null | undefined;
|
|
135
|
+
timeZone?: string | null | undefined;
|
|
136
|
+
state?: string | null | undefined;
|
|
137
|
+
street1?: string | null | undefined;
|
|
138
|
+
street2?: string | null | undefined;
|
|
139
|
+
}>>>;
|
|
140
|
+
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
|
+
timeZone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
company?: string | null | undefined;
|
|
144
|
+
customerNumber?: string | null | undefined;
|
|
145
|
+
email?: string | null | undefined;
|
|
146
|
+
existing?: "on" | undefined;
|
|
147
|
+
externalId?: string | null | undefined;
|
|
148
|
+
firstName?: string | null | undefined;
|
|
149
|
+
id?: string | null | undefined;
|
|
150
|
+
language?: string | null | undefined;
|
|
151
|
+
lastName?: string | null | undefined;
|
|
152
|
+
location?: {
|
|
153
|
+
city?: string | null | undefined;
|
|
154
|
+
countryCode?: string | null | undefined;
|
|
155
|
+
geolocation?: {
|
|
156
|
+
latitude: number;
|
|
157
|
+
longitude: number;
|
|
158
|
+
} | null | undefined;
|
|
159
|
+
postalCode?: string | null | undefined;
|
|
160
|
+
timeZone?: string | null | undefined;
|
|
161
|
+
state?: string | null | undefined;
|
|
162
|
+
street1?: string | null | undefined;
|
|
163
|
+
street2?: string | null | undefined;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
phoneNumber?: string | null | undefined;
|
|
166
|
+
timeZone?: string | null | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
company?: string | null | undefined;
|
|
169
|
+
customerNumber?: string | null | undefined;
|
|
170
|
+
email?: string | null | undefined;
|
|
171
|
+
existing?: string | boolean | null | undefined;
|
|
172
|
+
externalId?: string | null | undefined;
|
|
173
|
+
firstName?: string | null | undefined;
|
|
174
|
+
id?: string | null | undefined;
|
|
175
|
+
language?: string | null | undefined;
|
|
176
|
+
lastName?: string | null | undefined;
|
|
177
|
+
location?: {
|
|
178
|
+
city?: string | null | undefined;
|
|
179
|
+
countryCode?: string | null | undefined;
|
|
180
|
+
geolocation?: {
|
|
181
|
+
latitude: number;
|
|
182
|
+
longitude: number;
|
|
183
|
+
} | null | undefined;
|
|
184
|
+
postalCode?: string | null | undefined;
|
|
185
|
+
timeZone?: string | null | undefined;
|
|
186
|
+
state?: string | null | undefined;
|
|
187
|
+
street1?: string | null | undefined;
|
|
188
|
+
street2?: string | null | undefined;
|
|
189
|
+
} | null | undefined;
|
|
190
|
+
phoneNumber?: string | null | undefined;
|
|
191
|
+
timeZone?: string | null | undefined;
|
|
192
|
+
}>>;
|
|
193
|
+
/** Lead Segment. This allows a subject to be preselected matching the lead segment code/id.*/
|
|
194
|
+
/** @deprecated Only use me during application init! */
|
|
195
|
+
leadSegment: z.ZodDefault<z.ZodObject<{
|
|
196
|
+
id: z.ZodOptional<z.ZodString>;
|
|
197
|
+
type: z.ZodDefault<z.ZodEnum<["id", "code"]>>;
|
|
198
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
|
+
type: "code" | "id";
|
|
200
|
+
id?: string | undefined;
|
|
201
|
+
}, {
|
|
202
|
+
id?: string | undefined;
|
|
203
|
+
type?: "code" | "id" | undefined;
|
|
204
|
+
}>>;
|
|
205
|
+
/** @deprecated Only use me during application init! */
|
|
206
|
+
listing: z.ZodDefault<z.ZodObject<{
|
|
207
|
+
id: z.ZodOptional<z.ZodString>;
|
|
208
|
+
type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
type: "externalId" | "id";
|
|
211
|
+
id?: string | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
id?: string | undefined;
|
|
214
|
+
type?: "externalId" | "id" | undefined;
|
|
215
|
+
}>>;
|
|
216
|
+
/** @deprecated Only use me during application init! */
|
|
217
|
+
initialFormattedAddress: z.ZodOptional<z.ZodString>;
|
|
218
|
+
meetingTypes: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>, z.ZodArray<z.ZodEnum<["VIDEO", "PHONE", "ON_LOCATION", "OFFICE"]>, "many">]>>, ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[], "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[] | undefined>;
|
|
219
|
+
oauth: z.ZodDefault<z.ZodObject<{
|
|
220
|
+
/** A resource_code of an existing appointment. This will allow you to complete or change an appointment. This parameter is mostly used by redirects from external sources (e.g. e-mails) and should usually not be provided manually. */
|
|
221
|
+
resourceCode: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
resourceCode?: string | undefined;
|
|
224
|
+
}, {
|
|
225
|
+
resourceCode?: string | undefined;
|
|
226
|
+
}>>;
|
|
227
|
+
offices: z.ZodDefault<z.ZodObject<{
|
|
228
|
+
ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
|
|
229
|
+
type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
type: "externalId" | "id";
|
|
232
|
+
ids: string[];
|
|
233
|
+
}, {
|
|
234
|
+
ids?: string | string[] | null | undefined;
|
|
235
|
+
type?: "externalId" | "id" | undefined;
|
|
236
|
+
}>>;
|
|
237
|
+
/**
|
|
238
|
+
* The country that should be used for searching locations. Should be a two letter ISO 3166-1 country code.
|
|
239
|
+
*
|
|
240
|
+
* You can provide a maximum of 5 comma-separated countries.
|
|
241
|
+
*/
|
|
242
|
+
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>;
|
|
243
|
+
session: z.ZodDefault<z.ZodObject<{
|
|
244
|
+
/** Used to enable/disable tracking of events in the plugin for insights about conversion. @default "default" */
|
|
245
|
+
status: z.ZodDefault<z.ZodEnum<["default", "disabled"]>>;
|
|
246
|
+
/** Pass your own custom session ID. */
|
|
247
|
+
id: z.ZodOptional<z.ZodString>;
|
|
248
|
+
/** Pass source tags seperated with a semi-colon. */
|
|
249
|
+
sourceTags: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>, string[] | undefined, string | string[] | undefined>;
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
status: "disabled" | "default";
|
|
252
|
+
id?: string | undefined;
|
|
253
|
+
sourceTags?: string[] | undefined;
|
|
254
|
+
}, {
|
|
255
|
+
status?: "disabled" | "default" | undefined;
|
|
256
|
+
id?: string | undefined;
|
|
257
|
+
sourceTags?: string | string[] | undefined;
|
|
258
|
+
}>>;
|
|
259
|
+
subjects: z.ZodDefault<z.ZodObject<{
|
|
260
|
+
ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
|
|
261
|
+
type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
type: "externalId" | "id";
|
|
264
|
+
ids: string[];
|
|
265
|
+
}, {
|
|
266
|
+
ids?: string | string[] | null | undefined;
|
|
267
|
+
type?: "externalId" | "id" | undefined;
|
|
268
|
+
}>>;
|
|
269
|
+
subjectGroups: z.ZodDefault<z.ZodObject<{
|
|
270
|
+
ids: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>, string[], string | string[] | null | undefined>;
|
|
271
|
+
type: z.ZodDefault<z.ZodEnum<["id", "externalId"]>>;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
type: "externalId" | "id";
|
|
274
|
+
ids: string[];
|
|
275
|
+
}, {
|
|
276
|
+
ids?: string | string[] | null | undefined;
|
|
277
|
+
type?: "externalId" | "id" | undefined;
|
|
278
|
+
}>>;
|
|
279
|
+
questions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
280
|
+
/**
|
|
281
|
+
* This parameter is used for prefilling the location search step, so that offices are already scoped to this location.
|
|
282
|
+
*
|
|
283
|
+
* When location is passed, both geolocation & formatted_address are required.
|
|
284
|
+
*/
|
|
285
|
+
location: z.ZodDefault<z.ZodObject<{
|
|
286
|
+
source: z.ZodDefault<z.ZodEnum<["config", "listing", "user"]>>;
|
|
287
|
+
geolocation: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
latitude: z.ZodNumber;
|
|
289
|
+
longitude: z.ZodNumber;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
latitude: number;
|
|
292
|
+
longitude: number;
|
|
293
|
+
}, {
|
|
294
|
+
latitude: number;
|
|
295
|
+
longitude: number;
|
|
296
|
+
}>>;
|
|
297
|
+
formattedAddress: z.ZodOptional<z.ZodString>;
|
|
298
|
+
placeId: z.ZodOptional<z.ZodString>;
|
|
299
|
+
}, "strip", z.ZodTypeAny, {
|
|
300
|
+
source: "config" | "listing" | "user";
|
|
301
|
+
geolocation?: {
|
|
302
|
+
latitude: number;
|
|
303
|
+
longitude: number;
|
|
304
|
+
} | undefined;
|
|
305
|
+
formattedAddress?: string | undefined;
|
|
306
|
+
placeId?: string | undefined;
|
|
307
|
+
}, {
|
|
308
|
+
source?: "config" | "listing" | "user" | undefined;
|
|
309
|
+
geolocation?: {
|
|
310
|
+
latitude: number;
|
|
311
|
+
longitude: number;
|
|
312
|
+
} | undefined;
|
|
313
|
+
formattedAddress?: string | undefined;
|
|
314
|
+
placeId?: string | undefined;
|
|
315
|
+
}>>;
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
|
+
location: {
|
|
318
|
+
source: "config" | "listing" | "user";
|
|
319
|
+
geolocation?: {
|
|
320
|
+
latitude: number;
|
|
321
|
+
longitude: number;
|
|
322
|
+
} | undefined;
|
|
323
|
+
formattedAddress?: string | undefined;
|
|
324
|
+
placeId?: string | undefined;
|
|
325
|
+
};
|
|
326
|
+
listing: {
|
|
327
|
+
type: "externalId" | "id";
|
|
328
|
+
id?: string | undefined;
|
|
329
|
+
};
|
|
330
|
+
flow: string;
|
|
331
|
+
intent: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete";
|
|
332
|
+
employees: {
|
|
333
|
+
type: "externalId" | "id";
|
|
334
|
+
ids: string[];
|
|
335
|
+
};
|
|
336
|
+
application: {
|
|
337
|
+
scroll: number | "disabled";
|
|
338
|
+
timeZoneSelection: "enable" | "disable";
|
|
339
|
+
timetableUI: "week" | "month";
|
|
340
|
+
theme?: string | undefined;
|
|
341
|
+
};
|
|
342
|
+
browser: {
|
|
343
|
+
timeZone?: string | undefined;
|
|
344
|
+
href?: string | undefined;
|
|
345
|
+
};
|
|
346
|
+
leadSegment: {
|
|
347
|
+
type: "code" | "id";
|
|
348
|
+
id?: string | undefined;
|
|
349
|
+
};
|
|
350
|
+
meetingTypes: ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[];
|
|
351
|
+
oauth: {
|
|
352
|
+
resourceCode?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
offices: {
|
|
355
|
+
type: "externalId" | "id";
|
|
356
|
+
ids: string[];
|
|
357
|
+
};
|
|
358
|
+
searchCountries: string[];
|
|
359
|
+
session: {
|
|
360
|
+
status: "disabled" | "default";
|
|
361
|
+
id?: string | undefined;
|
|
362
|
+
sourceTags?: string[] | undefined;
|
|
363
|
+
};
|
|
364
|
+
subjects: {
|
|
365
|
+
type: "externalId" | "id";
|
|
366
|
+
ids: string[];
|
|
367
|
+
};
|
|
368
|
+
subjectGroups: {
|
|
369
|
+
type: "externalId" | "id";
|
|
370
|
+
ids: string[];
|
|
371
|
+
};
|
|
372
|
+
version?: "1.0.0" | undefined;
|
|
373
|
+
language?: "cimode" | "da" | "de" | "el" | "en" | "es" | "fr" | "ja" | "nl" | "no" | "pl" | "en-US" | "en-GB" | undefined;
|
|
374
|
+
customer?: {
|
|
375
|
+
company?: string | null | undefined;
|
|
376
|
+
customerNumber?: string | null | undefined;
|
|
377
|
+
email?: string | null | undefined;
|
|
378
|
+
existing?: "on" | undefined;
|
|
379
|
+
externalId?: string | null | undefined;
|
|
380
|
+
firstName?: string | null | undefined;
|
|
381
|
+
id?: string | null | undefined;
|
|
382
|
+
language?: string | null | undefined;
|
|
383
|
+
lastName?: string | null | undefined;
|
|
384
|
+
location?: {
|
|
385
|
+
city?: string | null | undefined;
|
|
386
|
+
countryCode?: string | null | undefined;
|
|
387
|
+
geolocation?: {
|
|
388
|
+
latitude: number;
|
|
389
|
+
longitude: number;
|
|
390
|
+
} | null | undefined;
|
|
391
|
+
postalCode?: string | null | undefined;
|
|
392
|
+
timeZone?: string | null | undefined;
|
|
393
|
+
state?: string | null | undefined;
|
|
394
|
+
street1?: string | null | undefined;
|
|
395
|
+
street2?: string | null | undefined;
|
|
396
|
+
} | null | undefined;
|
|
397
|
+
phoneNumber?: string | null | undefined;
|
|
398
|
+
timeZone?: string | null | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
initialFormattedAddress?: string | undefined;
|
|
401
|
+
questions?: Record<string, string | string[]> | undefined;
|
|
402
|
+
}, {
|
|
403
|
+
version?: "1.0.0" | undefined;
|
|
404
|
+
flow?: string | undefined;
|
|
405
|
+
intent?: "schedule" | "reschedule" | "invite" | "edit" | "cancel" | "complete" | undefined;
|
|
406
|
+
language?: string | undefined;
|
|
407
|
+
employees?: {
|
|
408
|
+
ids?: string | string[] | null | undefined;
|
|
409
|
+
type?: "externalId" | "id" | undefined;
|
|
410
|
+
} | undefined;
|
|
411
|
+
application?: {
|
|
412
|
+
scroll?: number | "disabled" | undefined;
|
|
413
|
+
timeZoneSelection?: "enable" | "disable" | undefined;
|
|
414
|
+
timetableUI?: "week" | "month" | undefined;
|
|
415
|
+
theme?: string | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
browser?: {
|
|
418
|
+
timeZone?: string | undefined;
|
|
419
|
+
href?: string | undefined;
|
|
420
|
+
} | undefined;
|
|
421
|
+
customer?: {
|
|
422
|
+
company?: string | null | undefined;
|
|
423
|
+
customerNumber?: string | null | undefined;
|
|
424
|
+
email?: string | null | undefined;
|
|
425
|
+
existing?: string | boolean | null | undefined;
|
|
426
|
+
externalId?: string | null | undefined;
|
|
427
|
+
firstName?: string | null | undefined;
|
|
428
|
+
id?: string | null | undefined;
|
|
429
|
+
language?: string | null | undefined;
|
|
430
|
+
lastName?: string | null | undefined;
|
|
431
|
+
location?: {
|
|
432
|
+
city?: string | null | undefined;
|
|
433
|
+
countryCode?: string | null | undefined;
|
|
434
|
+
geolocation?: {
|
|
435
|
+
latitude: number;
|
|
436
|
+
longitude: number;
|
|
437
|
+
} | null | undefined;
|
|
438
|
+
postalCode?: string | null | undefined;
|
|
439
|
+
timeZone?: string | null | undefined;
|
|
440
|
+
state?: string | null | undefined;
|
|
441
|
+
street1?: string | null | undefined;
|
|
442
|
+
street2?: string | null | undefined;
|
|
443
|
+
} | null | undefined;
|
|
444
|
+
phoneNumber?: string | null | undefined;
|
|
445
|
+
timeZone?: string | null | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
leadSegment?: {
|
|
448
|
+
id?: string | undefined;
|
|
449
|
+
type?: "code" | "id" | undefined;
|
|
450
|
+
} | undefined;
|
|
451
|
+
listing?: {
|
|
452
|
+
id?: string | undefined;
|
|
453
|
+
type?: "externalId" | "id" | undefined;
|
|
454
|
+
} | undefined;
|
|
455
|
+
initialFormattedAddress?: string | undefined;
|
|
456
|
+
meetingTypes?: "VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE" | ("VIDEO" | "PHONE" | "ON_LOCATION" | "OFFICE")[] | undefined;
|
|
457
|
+
oauth?: {
|
|
458
|
+
resourceCode?: string | undefined;
|
|
459
|
+
} | undefined;
|
|
460
|
+
offices?: {
|
|
461
|
+
ids?: string | string[] | null | undefined;
|
|
462
|
+
type?: "externalId" | "id" | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
searchCountries?: string | string[] | null | undefined;
|
|
465
|
+
session?: {
|
|
466
|
+
status?: "disabled" | "default" | undefined;
|
|
467
|
+
id?: string | undefined;
|
|
468
|
+
sourceTags?: string | string[] | undefined;
|
|
469
|
+
} | undefined;
|
|
470
|
+
subjects?: {
|
|
471
|
+
ids?: string | string[] | null | undefined;
|
|
472
|
+
type?: "externalId" | "id" | undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
subjectGroups?: {
|
|
475
|
+
ids?: string | string[] | null | undefined;
|
|
476
|
+
type?: "externalId" | "id" | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
questions?: Record<string, string | string[]> | undefined;
|
|
479
|
+
location?: {
|
|
480
|
+
source?: "config" | "listing" | "user" | undefined;
|
|
481
|
+
geolocation?: {
|
|
482
|
+
latitude: number;
|
|
483
|
+
longitude: number;
|
|
484
|
+
} | undefined;
|
|
485
|
+
formattedAddress?: string | undefined;
|
|
486
|
+
placeId?: string | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
}>>;
|
|
489
|
+
//# sourceMappingURL=PluginConfiguration.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PluginConfiguration.schema.d.ts","sourceRoot":"","sources":["../../src/configuration/PluginConfiguration.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,yBAAyB;;IAGlC;;;;;;;;;;;;;;;;;;;;;OAqBG;;;IAGH;;;;;;OAMG;;;;;;;;;;;;;QAQC;;;;WAIG;;QAEH;;;;WAIG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYP,8FAA8F;IAC9F,uDAAuD;;;;;;;;;;;IAEvD,uDAAuD;;;;;;;;;;;IAEvD,uDAAuD;;;;QAQnD,yOAAyO;;;;;;;;;;;;;;;;;IAK7O;;;;OAIG;;;QAIC,gHAAgH;;QAEhH,uCAAuC;;QAEvC,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYxD;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGO,CAAC"}
|