@vonq/hapi-elements-types 1.3.0 → 1.5.0
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/enums.ts +41 -0
- package/package.json +6 -7
- package/src/_window/api.types.ts +59 -0
- package/src/_window/auth.types.ts +11 -0
- package/src/_window/config.types.ts +30 -0
- package/src/_window/events.types.ts +157 -0
- package/src/_window/index.ts +16 -0
- package/src/_window/instances.types.ts +18 -0
- package/src/_window/qa.types.ts +28 -0
- package/src/_window/routing.types.ts +21 -0
- package/src/_window/sdk.types.ts +147 -0
- package/src/_window/service.types.ts +67 -0
- package/src/_window/state.types.ts +112 -0
- package/src/_window/ui.types.ts +13 -0
- package/src/_window/utils.types.ts +34 -0
- package/src/_window/validation.types.ts +43 -0
- package/src/_window/window.ts +56 -0
- package/src/alert/enums.ts +22 -0
- package/src/alert/functions.types.ts +13 -0
- package/src/alert/index.ts +9 -0
- package/src/alert/service.types.ts +15 -0
- package/src/alert/state.initial.ts +16 -0
- package/src/alert/state.types.ts +27 -0
- package/src/alert/state.validations.ts +11 -0
- package/src/alert/types.ts +63 -0
- package/src/ats/api.types.ts +16 -0
- package/src/ats/functions.types.ts +7 -0
- package/src/ats/index.ts +9 -0
- package/src/ats/service.types.ts +17 -0
- package/src/ats/state.initial.ts +5 -0
- package/src/ats/state.types.ts +5 -0
- package/src/ats/state.validations.ts +6 -0
- package/src/ats/types.ts +19 -0
- package/src/basket/consts.ts +1 -0
- package/src/basket/functions.types.ts +40 -0
- package/src/basket/index.ts +12 -0
- package/src/basket/service.types.ts +32 -0
- package/src/basket/state.initial.ts +11 -0
- package/src/basket/state.types.ts +34 -0
- package/src/basket/state.validations.ts +12 -0
- package/src/basket/types.ts +4 -0
- package/src/basket/utils.ts +79 -0
- package/src/basket/utils.types.ts +10 -0
- package/src/basket/validations.types.ts +25 -0
- package/src/campaign/api.types.ts +45 -0
- package/src/campaign/consts.ts +1 -0
- package/src/campaign/enums.ts +17 -0
- package/src/campaign/functions.types.ts +90 -0
- package/src/campaign/index.ts +15 -0
- package/src/campaign/qa.types.ts +12 -0
- package/src/campaign/service.types.ts +48 -0
- package/src/campaign/state.initial.ts +84 -0
- package/src/campaign/state.types.ts +55 -0
- package/src/campaign/state.validations.ts +16 -0
- package/src/campaign/types.ts +237 -0
- package/src/campaign/utils.ts +53 -0
- package/src/campaign/utils.types.ts +59 -0
- package/src/campaign/validations.types.ts +215 -0
- package/src/common/LocalStorage.ts +123 -0
- package/src/common/browser.ts +2 -0
- package/src/common/color.ts +9 -0
- package/src/common/events/EventCommand/enums.ts +49 -0
- package/src/common/events/EventCommand/index.ts +4 -0
- package/src/common/events/EventCommand/types.ts +18 -0
- package/src/common/events/index.ts +4 -0
- package/src/common/events/types.ts +52 -0
- package/src/common/immutable.ts +28 -0
- package/src/common/index.ts +22 -0
- package/src/common/instances/Instance.ts +13 -0
- package/src/common/instances/consts.ts +1 -0
- package/src/common/instances/index.ts +4 -0
- package/src/common/json.ts +25 -0
- package/src/common/logger/Logger.ts +70 -0
- package/src/common/logger/enums.ts +12 -0
- package/src/common/logger/index.ts +5 -0
- package/src/common/logger/types.ts +7 -0
- package/src/common/logger-datadog/LoggerDatadog.ts +42 -0
- package/src/common/logger-datadog/index.ts +3 -0
- package/src/common/misc.ts +114 -0
- package/src/common/promise.ts +161 -0
- package/src/common/proxy.ts +77 -0
- package/src/common/qa.types.ts +9 -0
- package/src/common/regExTest.ts +12 -0
- package/src/common/tree.ts +148 -0
- package/src/common/types.ts +110 -0
- package/src/common/utm.ts +19 -0
- package/src/common/validations.types.ts +89 -0
- package/src/common/validators.ts +21 -0
- package/src/common/webComponents.ts +26 -0
- package/src/config/functions.types.ts +23 -0
- package/src/config/index.ts +5 -0
- package/src/config/state.initial.ts +11 -0
- package/src/config/state.types.ts +15 -0
- package/src/consts.ts +980 -0
- package/src/contract/api.types.ts +47 -0
- package/src/contract/consts.ts +1 -0
- package/src/contract/functions.types.ts +112 -0
- package/src/contract/index.ts +14 -0
- package/src/contract/qa.types.ts +12 -0
- package/src/contract/service.types.ts +54 -0
- package/src/contract/state.initial.ts +39 -0
- package/src/contract/state.types.ts +74 -0
- package/src/contract/state.validations.ts +21 -0
- package/src/contract/types.ts +145 -0
- package/src/contract/utils.ts +36 -0
- package/src/contract/utils.types.ts +11 -0
- package/src/contract/validations.types.ts +104 -0
- package/src/debugging/functions.types.ts +34 -0
- package/src/debugging/index.ts +6 -0
- package/src/debugging/state.initial.ts +10 -0
- package/src/debugging/state.types.ts +18 -0
- package/src/debugging/state.validations.ts +10 -0
- package/src/index.ts +22 -0
- package/src/language/consts.ts +6 -0
- package/src/language/en.ts +530 -0
- package/src/language/functions.types.ts +29 -0
- package/src/language/index.ts +11 -0
- package/src/language/qa.types.ts +19 -0
- package/src/language/state.initial.ts +13 -0
- package/src/language/state.types.ts +25 -0
- package/src/language/state.validations.ts +10 -0
- package/src/language/utils.ts +17 -0
- package/src/language/validations.types.ts +13 -0
- package/src/modal/consts.ts +6 -0
- package/src/modal/enums.ts +14 -0
- package/src/modal/functions.types.ts +22 -0
- package/src/modal/index.ts +11 -0
- package/src/modal/service.types.ts +32 -0
- package/src/modal/state.initial.ts +9 -0
- package/src/modal/state.types.ts +8 -0
- package/src/modal/state.validations.ts +6 -0
- package/src/modal/store.types.ts +5 -0
- package/src/modal/types.ts +44 -0
- package/src/orderJourney/consts.ts +289 -0
- package/src/orderJourney/enums.ts +25 -0
- package/src/orderJourney/functions.types.ts +140 -0
- package/src/orderJourney/index.ts +13 -0
- package/src/orderJourney/qa.types.ts +16 -0
- package/src/orderJourney/state.initial.ts +401 -0
- package/src/orderJourney/state.types.ts +99 -0
- package/src/orderJourney/state.validations.ts +78 -0
- package/src/orderJourney/types.ts +31 -0
- package/src/orderJourney/utils.ts +7 -0
- package/src/orderJourney/utils.types.ts +11 -0
- package/src/orderJourney/validations.types.ts +34 -0
- package/src/product/api.types.ts +62 -0
- package/src/product/consts.ts +1 -0
- package/src/product/enums.ts +11 -0
- package/src/product/functions.types.ts +156 -0
- package/src/product/index.ts +14 -0
- package/src/product/qa.types.ts +11 -0
- package/src/product/service.types.ts +68 -0
- package/src/product/state.initial.ts +28 -0
- package/src/product/state.types.ts +93 -0
- package/src/product/state.validations.ts +25 -0
- package/src/product/types.ts +161 -0
- package/src/product/utils.types.ts +22 -0
- package/src/product/validations.types.ts +189 -0
- package/src/routing/functions.types.ts +48 -0
- package/src/routing/index.ts +5 -0
- package/src/routing/state.initial.ts +10 -0
- package/src/routing/state.types.ts +30 -0
- package/src/theming/consts.ts +7727 -0
- package/src/theming/functions.types.ts +13 -0
- package/src/theming/index.ts +11 -0
- package/src/theming/qa.types.ts +11 -0
- package/src/theming/state.initial.ts +16 -0
- package/src/theming/state.types.ts +6 -0
- package/src/theming/state.validations.ts +8 -0
- package/src/theming/types.ts +123 -0
- package/src/theming/utils.ts +581 -0
- package/src/theming/validations.types.ts +62 -0
- package/src/types.ts +229 -0
- package/src/ui/index.ts +3 -0
- package/src/ui/service.types.ts +26 -0
- package/src/utils.ts +3 -0
- package/src/wallet/api.types.ts +33 -0
- package/src/wallet/consts.ts +3 -0
- package/src/wallet/functions.types.ts +58 -0
- package/src/wallet/index.ts +11 -0
- package/src/wallet/service.types.ts +26 -0
- package/src/wallet/state.initial.ts +18 -0
- package/src/wallet/state.types.ts +58 -0
- package/src/wallet/state.validations.ts +18 -0
- package/src/wallet/types.ts +65 -0
- package/src/wallet/validations.types.ts +18 -0
- package/tsconfig.json +41 -0
package/src/consts.ts
ADDED
@@ -0,0 +1,980 @@
|
|
1
|
+
import { MessageDescriptor } from "react-intl"
|
2
|
+
import { EmploymentType, SalaryPeriod } from "./campaign/enums"
|
3
|
+
import { CampaignCreateForm } from "./campaign/types"
|
4
|
+
import { WindowHAPIInterface } from "./types"
|
5
|
+
import { isBrowser } from "./common/browser"
|
6
|
+
import { WindowHapiModuleName } from "../enums"
|
7
|
+
import { ContractCreateForm } from "./contract/types"
|
8
|
+
import { OrderJourneyStepKey } from "./orderJourney/enums"
|
9
|
+
|
10
|
+
export const UI_BODY_SELECTOR = "hapi__body"
|
11
|
+
export const COOKIE_PREFIX = "HAPI_"
|
12
|
+
export const DEBUG_COOKIE_PREFIX = "HAPI_DEBUG_COOKIE_"
|
13
|
+
|
14
|
+
export const DEBUG_COOKIE_USER_CUSTOMER_ID =
|
15
|
+
DEBUG_COOKIE_PREFIX + "USER_CUSTOMER_ID"
|
16
|
+
export const COOKIE_USER_ACCESS_TOKEN = COOKIE_PREFIX + "USER_ACCESS_TOKEN"
|
17
|
+
|
18
|
+
export const DEBUG_COOKIE_PARTNER_ID = DEBUG_COOKIE_PREFIX + "PARTNER_ID"
|
19
|
+
export const DEBUG_COOKIE_PARTNER_TOKEN = DEBUG_COOKIE_PREFIX + "PARTNER_TOKEN"
|
20
|
+
export const DEBUG_COOKIE_ARE_LOGS_ENABLED =
|
21
|
+
DEBUG_COOKIE_PREFIX + "LOGS_ENABLED"
|
22
|
+
export const DEBUG_COOKIE_IS_GOOGLE_MAPS_ENABLED =
|
23
|
+
DEBUG_COOKIE_PREFIX + "IS_GOOGLE_MAPS_ENABLED"
|
24
|
+
|
25
|
+
// it is ending with 98 because for the debug panel button we do +1 which becomes 99
|
26
|
+
export const UI_MODALS_AND_ALERTS_Z_INDEX = 9999998
|
27
|
+
|
28
|
+
export const CURRENCY_LIST = [
|
29
|
+
{ label: "Afghan Afghani", value: "AFA" },
|
30
|
+
{ label: "Albanian Lek", value: "ALL" },
|
31
|
+
{ label: "Algerian Dinar", value: "DZD" },
|
32
|
+
{ label: "Angolan Kwanza", value: "AOA" },
|
33
|
+
{ label: "Argentine Peso", value: "ARS" },
|
34
|
+
{ label: "Armenian Dram", value: "AMD" },
|
35
|
+
{ label: "Aruban Florin", value: "AWG" },
|
36
|
+
{ label: "Australian Dollar", value: "AUD" },
|
37
|
+
{ label: "Azerbaijani Manat", value: "AZN" },
|
38
|
+
{ label: "Bahamian Dollar", value: "BSD" },
|
39
|
+
{ label: "Bahraini Dinar", value: "BHD" },
|
40
|
+
{ label: "Bangladeshi Taka", value: "BDT" },
|
41
|
+
{ label: "Barbadian Dollar", value: "BBD" },
|
42
|
+
{ label: "Belarusian Ruble", value: "BYR" },
|
43
|
+
{ label: "Belgian Franc", value: "BEF" },
|
44
|
+
{ label: "Belize Dollar", value: "BZD" },
|
45
|
+
{ label: "Bermudan Dollar", value: "BMD" },
|
46
|
+
{ label: "Bhutanese Ngultrum", value: "BTN" },
|
47
|
+
{ label: "Bitcoin", value: "BTC" },
|
48
|
+
{ label: "Bolivian Boliviano", value: "BOB" },
|
49
|
+
{ label: "Bosnia-Herzegovina Convertible Mark", value: "BAM" },
|
50
|
+
{ label: "Botswanan Pula", value: "BWP" },
|
51
|
+
{ label: "Brazilian Real", value: "BRL" },
|
52
|
+
{ label: "British Pound Sterling", value: "GBP" },
|
53
|
+
{ label: "Brunei Dollar", value: "BND" },
|
54
|
+
{ label: "Bulgarian Lev", value: "BGN" },
|
55
|
+
{ label: "Burundian Franc", value: "BIF" },
|
56
|
+
{ label: "Cambodian Riel", value: "KHR" },
|
57
|
+
{ label: "Canadian Dollar", value: "CAD" },
|
58
|
+
{ label: "Cape Verdean Escudo", value: "CVE" },
|
59
|
+
{ label: "Cayman Islands Dollar", value: "KYD" },
|
60
|
+
{ label: "CFA Franc BCEAO", value: "XOF" },
|
61
|
+
{ label: "CFA Franc BEAC", value: "XAF" },
|
62
|
+
{ label: "CFP Franc", value: "XPF" },
|
63
|
+
{ label: "Chilean Peso", value: "CLP" },
|
64
|
+
{ label: "Chinese Yuan", value: "CNY" },
|
65
|
+
{ label: "Colombian Peso", value: "COP" },
|
66
|
+
{ label: "Comorian Franc", value: "KMF" },
|
67
|
+
{ label: "Congolese Franc", value: "CDF" },
|
68
|
+
{ label: "Costa Rican Colón", value: "CRC" },
|
69
|
+
{ label: "Croatian Kuna", value: "HRK" },
|
70
|
+
{ label: "Cuban Convertible Peso", value: "CUC" },
|
71
|
+
{ label: "Czech Republic Koruna", value: "CZK" },
|
72
|
+
{ label: "Danish Krone", value: "DKK" },
|
73
|
+
{ label: "Djiboutian Franc", value: "DJF" },
|
74
|
+
{ label: "Dominican Peso", value: "DOP" },
|
75
|
+
{ label: "East Caribbean Dollar", value: "XCD" },
|
76
|
+
{ label: "Egyptian Pound", value: "EGP" },
|
77
|
+
{ label: "Eritrean Nakfa", value: "ERN" },
|
78
|
+
{ label: "Estonian Kroon", value: "EEK" },
|
79
|
+
{ label: "Ethiopian Birr", value: "ETB" },
|
80
|
+
{ label: "Euro", value: "EUR" },
|
81
|
+
{ label: "Falkland Islands Pound", value: "FKP" },
|
82
|
+
{ label: "Fijian Dollar", value: "FJD" },
|
83
|
+
{ label: "Gambian Dalasi", value: "GMD" },
|
84
|
+
{ label: "Georgian Lari", value: "GEL" },
|
85
|
+
{ label: "German Mark", value: "DEM" },
|
86
|
+
{ label: "Ghanaian Cedi", value: "GHS" },
|
87
|
+
{ label: "Gibraltar Pound", value: "GIP" },
|
88
|
+
{ label: "Greek Drachma", value: "GRD" },
|
89
|
+
{ label: "Guatemalan Quetzal", value: "GTQ" },
|
90
|
+
{ label: "Guinean Franc", value: "GNF" },
|
91
|
+
{ label: "Guyanaese Dollar", value: "GYD" },
|
92
|
+
{ label: "Haitian Gourde", value: "HTG" },
|
93
|
+
{ label: "Honduran Lempira", value: "HNL" },
|
94
|
+
{ label: "Hong Kong Dollar", value: "HKD" },
|
95
|
+
{ label: "Hungarian Forint", value: "HUF" },
|
96
|
+
{ label: "Icelandic Króna", value: "ISK" },
|
97
|
+
{ label: "Indian Rupee", value: "INR" },
|
98
|
+
{ label: "Indonesian Rupiah", value: "IDR" },
|
99
|
+
{ label: "Iranian Rial", value: "IRR" },
|
100
|
+
{ label: "Iraqi Dinar", value: "IQD" },
|
101
|
+
{ label: "Israeli New Sheqel", value: "ILS" },
|
102
|
+
{ label: "Italian Lira", value: "ITL" },
|
103
|
+
{ label: "Jamaican Dollar", value: "JMD" },
|
104
|
+
{ label: "Japanese Yen", value: "JPY" },
|
105
|
+
{ label: "Jordanian Dinar", value: "JOD" },
|
106
|
+
{ label: "Kazakhstani Tenge", value: "KZT" },
|
107
|
+
{ label: "Kenyan Shilling", value: "KES" },
|
108
|
+
{ label: "Kuwaiti Dinar", value: "KWD" },
|
109
|
+
{ label: "Kyrgystani Som", value: "KGS" },
|
110
|
+
{ label: "Laotian Kip", value: "LAK" },
|
111
|
+
{ label: "Latvian Lats", value: "LVL" },
|
112
|
+
{ label: "Lebanese Pound", value: "LBP" },
|
113
|
+
{ label: "Lesotho Loti", value: "LSL" },
|
114
|
+
{ label: "Liberian Dollar", value: "LRD" },
|
115
|
+
{ label: "Libyan Dinar", value: "LYD" },
|
116
|
+
{ label: "Lithuanian Litas", value: "LTL" },
|
117
|
+
{ label: "Macanese Pataca", value: "MOP" },
|
118
|
+
{ label: "Macedonian Denar", value: "MKD" },
|
119
|
+
{ label: "Malagasy Ariary", value: "MGA" },
|
120
|
+
{ label: "Malawian Kwacha", value: "MWK" },
|
121
|
+
{ label: "Malaysian Ringgit", value: "MYR" },
|
122
|
+
{ label: "Maldivian Rufiyaa", value: "MVR" },
|
123
|
+
{ label: "Mauritanian Ouguiya", value: "MRO" },
|
124
|
+
{ label: "Mauritian Rupee", value: "MUR" },
|
125
|
+
{ label: "Mexican Peso", value: "MXN" },
|
126
|
+
{ label: "Moldovan Leu", value: "MDL" },
|
127
|
+
{ label: "Mongolian Tugrik", value: "MNT" },
|
128
|
+
{ label: "Moroccan Dirham", value: "MAD" },
|
129
|
+
{ label: "Mozambican Metical", value: "MZM" },
|
130
|
+
{ label: "Myanmar Kyat", value: "MMK" },
|
131
|
+
{ label: "Namibian Dollar", value: "NAD" },
|
132
|
+
{ label: "Nepalese Rupee", value: "NPR" },
|
133
|
+
{ label: "Netherlands Antillean Guilder", value: "ANG" },
|
134
|
+
{ label: "New Taiwan Dollar", value: "TWD" },
|
135
|
+
{ label: "New Zealand Dollar", value: "NZD" },
|
136
|
+
{ label: "Nicaraguan Córdoba", value: "NIO" },
|
137
|
+
{ label: "Nigerian Naira", value: "NGN" },
|
138
|
+
{ label: "North Korean Won", value: "KPW" },
|
139
|
+
{ label: "Norwegian Krone", value: "NOK" },
|
140
|
+
{ label: "Omani Rial", value: "OMR" },
|
141
|
+
{ label: "Pakistani Rupee", value: "PKR" },
|
142
|
+
{ label: "Panamanian Balboa", value: "PAB" },
|
143
|
+
{ label: "Papua New Guinean Kina", value: "PGK" },
|
144
|
+
{ label: "Paraguayan Guarani", value: "PYG" },
|
145
|
+
{ label: "Peruvian Nuevo Sol", value: "PEN" },
|
146
|
+
{ label: "Philippine Peso", value: "PHP" },
|
147
|
+
{ label: "Polish Zloty", value: "PLN" },
|
148
|
+
{ label: "Qatari Rial", value: "QAR" },
|
149
|
+
{ label: "Romanian Leu", value: "RON" },
|
150
|
+
{ label: "Russian Ruble", value: "RUB" },
|
151
|
+
{ label: "Rwandan Franc", value: "RWF" },
|
152
|
+
{ label: "Salvadoran Colón", value: "SVC" },
|
153
|
+
{ label: "Samoan Tala", value: "WST" },
|
154
|
+
{ label: "Saudi Riyal", value: "SAR" },
|
155
|
+
{ label: "Serbian Dinar", value: "RSD" },
|
156
|
+
{ label: "Seychellois Rupee", value: "SCR" },
|
157
|
+
{ label: "Sierra Leonean Leone", value: "SLL" },
|
158
|
+
{ label: "Singapore Dollar", value: "SGD" },
|
159
|
+
{ label: "Slovak Koruna", value: "SKK" },
|
160
|
+
{ label: "Solomon Islands Dollar", value: "SBD" },
|
161
|
+
{ label: "Somali Shilling", value: "SOS" },
|
162
|
+
{ label: "South African Rand", value: "ZAR" },
|
163
|
+
{ label: "South Korean Won", value: "KRW" },
|
164
|
+
{ label: "Special Drawing Rights", value: "XDR" },
|
165
|
+
{ label: "Sri Lankan Rupee", value: "LKR" },
|
166
|
+
{ label: "St. Helena Pound", value: "SHP" },
|
167
|
+
{ label: "Sudanese Pound", value: "SDG" },
|
168
|
+
{ label: "Surinamese Dollar", value: "SRD" },
|
169
|
+
{ label: "Swazi Lilangeni", value: "SZL" },
|
170
|
+
{ label: "Swedish Krona", value: "SEK" },
|
171
|
+
{ label: "Swiss Franc", value: "CHF" },
|
172
|
+
{ label: "Syrian Pound", value: "SYP" },
|
173
|
+
{ label: "São Tomé and Príncipe Dobra", value: "STD" },
|
174
|
+
{ label: "Tajikistani Somoni", value: "TJS" },
|
175
|
+
{ label: "Tanzanian Shilling", value: "TZS" },
|
176
|
+
{ label: "Thai Baht", value: "THB" },
|
177
|
+
{ label: "Tongan Pa'anga", value: "TOP" },
|
178
|
+
{ label: "Trinidad & Tobago Dollar", value: "TTD" },
|
179
|
+
{ label: "Tunisian Dinar", value: "TND" },
|
180
|
+
{ label: "Turkish Lira", value: "TRY" },
|
181
|
+
{ label: "Turkmenistani Manat", value: "TMT" },
|
182
|
+
{ label: "Ugandan Shilling", value: "UGX" },
|
183
|
+
{ label: "Ukrainian Hryvnia", value: "UAH" },
|
184
|
+
{ label: "United Arab Emirates Dirham", value: "AED" },
|
185
|
+
{ label: "Uruguayan Peso", value: "UYU" },
|
186
|
+
{ label: "US Dollar", value: "USD" },
|
187
|
+
{ label: "Uzbekistan Som", value: "UZS" },
|
188
|
+
{ label: "Vanuatu Vatu", value: "VUV" },
|
189
|
+
{ label: "Venezuelan BolÃvar", value: "VEF" },
|
190
|
+
{ label: "Vietnamese Dong", value: "VND" },
|
191
|
+
{ label: "Yemeni Rial", value: "YER" },
|
192
|
+
{ label: "Zambian Kwacha", value: "ZMK" },
|
193
|
+
]
|
194
|
+
|
195
|
+
export const SALARY_PERIOD = [
|
196
|
+
{ label: "Monthly", translationKey: "common.monthly", value: "monthly" },
|
197
|
+
{ label: "Yearly", translationKey: "common.yearly", value: "yearly" },
|
198
|
+
]
|
199
|
+
|
200
|
+
export type MockCampaignCreateForm = Omit<CampaignCreateForm, "basketProducts">
|
201
|
+
export const MOCK_CAMPAIGN: MockCampaignCreateForm = {
|
202
|
+
campaignName: "Mock Campaign Name",
|
203
|
+
companyId: "auth0|6086b73d84219c006826737d",
|
204
|
+
recruiterInfo: {
|
205
|
+
name: "Marian Mazarovici",
|
206
|
+
emailAddress: "marian@vonq.com",
|
207
|
+
},
|
208
|
+
postingDetails: {
|
209
|
+
title: "Senior Data Engineer - Recruitment Analytics",
|
210
|
+
description:
|
211
|
+
'<section id="st-companyDescription" class="job-section">\n<div>\n<h2 class="title">Company Description</h2>\n</div>\n<div class="wysiwyg">\n<p>At VONQ we publish jobs online - uncomplicated and more successful for everyone.</p>\n<p>Every day, we impact the lives of thousands of people looking for their next job! We know how to distribute your vacancies whether you’re looking for 30 top talent roles or need to manage 30,000 job ads. With reliable job distribution automation, data-driven channel recommendations, programmatic advertising options, recruitment marketing experts and meaningful reports.</p>\n<p>Today, over 1000 leading companies - including over 25 Global Fortune 500s - use VONQ everyday to strengthen their employer brand and recruit talent. With a global network of partners who implement our technology seamlessly in their HR tech, you can use VONQ job distribution wherever you are, no matter what applicant tracking system you use. We are headquartered in Rotterdam, NL and have offices in Amsterdam, Groningen, Düsseldorf, DE and London, UK. Hiring? VONQ it.</p>\n</div>\n</section>\n<section id="st-jobDescription" class="job-section">\n<div>\n<h2 class="title">Job Description</h2>\n</div>\n<div class="wysiwyg">\n<p>As one of our Data Engineers, you’ll have a huge contribution to our flagship contract: the Job Marketing Platform (JMP). It’s a data-driven application with a recommendation engine that advises recruiters how they should reach their target audience online. The platform is used daily by many clients, and we have an ambitious roadmap to build it out further!<br /><br />Your challenge? You’ll work on the analytics part of our platform where we provide insights to our customers on how applicants act while applying to a certain position. You’ll engineer data pipelines to integrate data sources from tracking systems (Snowplow) and other systems to build and visualize insights!<br /><br /><strong>How you get the job done</strong></p>\n<ul>\n<li>Work in a multidisciplinary agile team</li>\n<li>Take part in critical contract design efforts and hands-on with the implementation</li>\n<li>Contribute to the scalable streaming data processing application, environment and tools for resources efficiency</li>\n<li>Work with Big Data and web tracking technologies</li>\n<li>Engineer pipelines for processing, cleansing, and verifying the integrity of data</li>\n<li>Design and develop microservices as data consumers</li>\n<li>Be hands-on with AWS infrastructure and relational databases</li>\n</ul>\n<p><strong>You will be part of an international and experienced Engineering department </strong>consisting of Backend and Frontend Developers, Data- and DevOps Engineers, Designers, an Agile Coach and a CTO.</p>\n</div>\n</section>\n<section id="st-qualifications" class="job-section">\n<div>\n<h2 class="title">Qualifications</h2>\n</div>\n<div class="wysiwyg">\n<p>This describes the ideal candidate, but above all, we value people that are eager to grow, autonomous, work together, and love to get things done!</p>\n<ul>\n<li>3+ years of experience in Data Engineering or related sphere</li>\n<li>Bachelor degree or equivalent relevant work experience</li>\n<li>Experience with working in an Agile environment (Scrum/Kanban)</li>\n<li>Excellent communication skills in English</li>\n<li>Experience with programming in Scala or Python is required</li>\n<li>Experience in working with data (integration of data from multiple data sources, building ETL pipelines, API development etc) is strongly desirable</li>\n<li>A DevOps mindset is needed, experience with AWS infrastructure is a big plus</li>\n</ul>\n<p> </p>\n<p><strong>Bonus points!</strong></p>\n<ul>\n<li>Experience with Apache Spark</li>\n<li>Experience with web tracking technologies is a big plus (we use Snowplow)</li>\n<li>Understanding of distributed computing principles and streaming applications</li>\n<li>Understanding of microservices concept is appreciated</li>\n</ul>\n<p> </p>\n</div>\n</section>\n<section id="st-additionalInformation" class="job-section">\n<div>\n<h2 class="title">Additional Information</h2>\n</div>\n<div class="wysiwyg">\n<p>We promise that at VONQ you’ll never stop learning! You’ll be surrounded by international and experienced colleagues, so prepare yourself for some interesting and intellectual conversations.<br /><br />Our contract still has a lot of potential to grow, and YOU can make an impact on that. You’ll get freedom and space for own initiatives, in fact, we encourage you.<br /><br />We have legendary company outings, beers on Friday and lots of FUN!<br /><br /><strong>There is more! We offer:</strong></p>\n<ul>\n<li>A good salary</li>\n<li>Pension contribution</li>\n<li>Flexible working hours</li>\n<li>Unlimited (paid!) holidays</li>\n<li>Time and budget for training</li>\n<li>Relocation support and more!</li>\n</ul>\n</div>\n</section>',
|
212
|
+
organization: {
|
213
|
+
name: "VONQ",
|
214
|
+
companyLogo:
|
215
|
+
"https://www.inhouserecruitment.co.uk/wp-content/uploads/2020/01/VONQ-logo-1000-x-600-600x360.png",
|
216
|
+
},
|
217
|
+
contactInfo: {
|
218
|
+
name: "Marian Mazarovici",
|
219
|
+
emailAddress: "marian@vonq.com",
|
220
|
+
},
|
221
|
+
workingLocation: {
|
222
|
+
addressLine1: "14 Great Chapel Street",
|
223
|
+
addressLine2: "WeWork",
|
224
|
+
postcode: "W1F 8FL",
|
225
|
+
city: "London",
|
226
|
+
country: "United Kingdom",
|
227
|
+
allowsRemoteWork: 0,
|
228
|
+
},
|
229
|
+
yearsOfExperience: 3,
|
230
|
+
employmentType: EmploymentType.permanent,
|
231
|
+
weeklyWorkingHours: { from: 20, to: 40 },
|
232
|
+
salaryIndication: {
|
233
|
+
period: SalaryPeriod.YEARLY,
|
234
|
+
range: { from: 50000, to: 100000, currency: "GBP" },
|
235
|
+
},
|
236
|
+
jobPageUrl:
|
237
|
+
"https://jobs.smartrecruiters.com/VONQBV/743999788953767-senior-data-engineer-recruitment-analytics?trid=162ef3c2-cdcc-47a9-8327-c69d95269302",
|
238
|
+
applicationUrl:
|
239
|
+
"https://jobs.smartrecruiters.com/oneclick-ui/company/VONQBV/publication/60175d66-d13f-4a71-94d7-fde9b8748c20?dcr_id=DCRA1&sid=162ef3c2-cdcc-47a9-8327-c69d95269302",
|
240
|
+
},
|
241
|
+
targetGroup: {
|
242
|
+
educationLevel: [
|
243
|
+
{
|
244
|
+
name: [{ languageCode: "en_GB", value: "Bachelor / Graduate" }],
|
245
|
+
id: 2,
|
246
|
+
},
|
247
|
+
],
|
248
|
+
seniority: [
|
249
|
+
{
|
250
|
+
name: [{ languageCode: "en_GB", value: "Mid-Senior level" }],
|
251
|
+
id: 3,
|
252
|
+
},
|
253
|
+
],
|
254
|
+
industry: [{ name: "Academic", id: 48 }],
|
255
|
+
jobCategory: [{ label: "Cleaning", value: 31 }],
|
256
|
+
},
|
257
|
+
orderedProductsSpecs: {},
|
258
|
+
orderedProducts: [],
|
259
|
+
}
|
260
|
+
export const MOCK_CONTRACT: ContractCreateForm = {
|
261
|
+
id: 0,
|
262
|
+
credentials: {
|
263
|
+
company: "123",
|
264
|
+
},
|
265
|
+
facets: {},
|
266
|
+
expiry_date: "2023-2-25",
|
267
|
+
alias: "test alias",
|
268
|
+
purchase_price: {
|
269
|
+
amount: 100,
|
270
|
+
currency: "USD",
|
271
|
+
},
|
272
|
+
credits: "1000",
|
273
|
+
followed_instructions: false,
|
274
|
+
allow_renegotiation: false,
|
275
|
+
}
|
276
|
+
export const ERROR_MESSAGE_CANNOT_BE_EMPTY: MessageDescriptor = {
|
277
|
+
id: "common.field-is-required",
|
278
|
+
defaultMessage: "This field is required",
|
279
|
+
}
|
280
|
+
export const ERROR_MESSAGE_SUB_FORMS_SHOULD_BE_VALID: MessageDescriptor = {
|
281
|
+
id: "common.sub-forms-should-be-valid",
|
282
|
+
defaultMessage: "Forms inside should be valid",
|
283
|
+
}
|
284
|
+
export const ERROR_MESSAGE_SHOULD_BE_URL: MessageDescriptor = {
|
285
|
+
id: "common.field-should-be-url",
|
286
|
+
defaultMessage: "This field should be a URL",
|
287
|
+
}
|
288
|
+
export const ERROR_MESSAGE_SHOULD_BE_EMAIL: MessageDescriptor = {
|
289
|
+
id: "common.field-should-be-email",
|
290
|
+
defaultMessage: "This field should be an Email",
|
291
|
+
}
|
292
|
+
export const ERROR_MESSAGE_SHOULD_BE_MORE_THAN_ZERO: MessageDescriptor = {
|
293
|
+
id: "common.field-should-be-more-than-zero",
|
294
|
+
defaultMessage: "This field should be more than 0",
|
295
|
+
}
|
296
|
+
|
297
|
+
export const NO_IMAGE_AVAILABLE_SVG_PUBLIC_FOLDER_PATH =
|
298
|
+
"/no-image-placeholder.svg"
|
299
|
+
export const IMAGE_BROKEN_PLACEHOLDER_SVG_PUBLIC_FOLDER_PATH =
|
300
|
+
"/no-image-placeholder.svg"
|
301
|
+
|
302
|
+
export type HTMLElementSelectors = {
|
303
|
+
className: string
|
304
|
+
}
|
305
|
+
|
306
|
+
export const HTML_ELEMENT_SELECTOR_MAP: Record<string, HTMLElementSelectors> = {
|
307
|
+
"user-journey-bar": {
|
308
|
+
className: "hapi__user-journey-bar",
|
309
|
+
},
|
310
|
+
"user-journey-next-button": {
|
311
|
+
className: "hapi__user-journey-next-button",
|
312
|
+
},
|
313
|
+
"user-journey-previous-button": {
|
314
|
+
className: "hapi__user-journey-previous-button",
|
315
|
+
},
|
316
|
+
"user-journey-buttons": {
|
317
|
+
className: "hapi__user-journey-buttons",
|
318
|
+
},
|
319
|
+
"accordion.button": {
|
320
|
+
className: "hapi__accordion-button",
|
321
|
+
},
|
322
|
+
"accordion.collapse-arrow": {
|
323
|
+
className: "hapi__accordion-collapse-arrow",
|
324
|
+
},
|
325
|
+
"accordion.panel": {
|
326
|
+
className: "hapi__accordion-panel",
|
327
|
+
},
|
328
|
+
"accordion.title": {
|
329
|
+
className: "hapi__accordion-title",
|
330
|
+
},
|
331
|
+
alert: {
|
332
|
+
className: "hapi__alert",
|
333
|
+
},
|
334
|
+
"alert-bar": {
|
335
|
+
className: "hapi__alert-bar",
|
336
|
+
},
|
337
|
+
"alert.dismiss-button": {
|
338
|
+
className: "hapi__alert-dismiss-button",
|
339
|
+
},
|
340
|
+
avatar: {
|
341
|
+
className: "hapi__avatar",
|
342
|
+
},
|
343
|
+
badge: {
|
344
|
+
className: "hapi__badge",
|
345
|
+
},
|
346
|
+
button: {
|
347
|
+
className: "hapi__button",
|
348
|
+
},
|
349
|
+
"campaign.audience": {
|
350
|
+
className: "hapi__campaign-audience",
|
351
|
+
},
|
352
|
+
"campaign.ordered-products": {
|
353
|
+
className: "hapi__campaign-ordered-products",
|
354
|
+
},
|
355
|
+
"campaign.posting-details": {
|
356
|
+
className: "hapi__campaign-posting-details",
|
357
|
+
},
|
358
|
+
"campaign.recruiter-info": {
|
359
|
+
className: "hapi__campaign-recruiter-info",
|
360
|
+
},
|
361
|
+
"card.title": {
|
362
|
+
className: "hapi__card-title",
|
363
|
+
},
|
364
|
+
"card.basket-product": {
|
365
|
+
className: "hapi__card-basket-product",
|
366
|
+
},
|
367
|
+
"card.remove-basket-product-modal": {
|
368
|
+
className: "hapi__card-remove-basket-product-modal",
|
369
|
+
},
|
370
|
+
"card.campaign.actions": {
|
371
|
+
className: "hapi__card-campaign-actions",
|
372
|
+
},
|
373
|
+
"card.campaign.detailed-status": {
|
374
|
+
className: "hapi__card-campaign-detailed-status",
|
375
|
+
},
|
376
|
+
"card.campaign.details": {
|
377
|
+
className: "hapi__card-campaign-details",
|
378
|
+
},
|
379
|
+
"card.campaign.header": {
|
380
|
+
className: "hapi__card-campaign-header",
|
381
|
+
},
|
382
|
+
"card.campaign.status": {
|
383
|
+
className: "hapi__card-campaign-status",
|
384
|
+
},
|
385
|
+
"card.campaign.status-progress-bar": {
|
386
|
+
className: "hapi__card-campaign-status-progress-bar",
|
387
|
+
},
|
388
|
+
"card.campaign.tabs": {
|
389
|
+
className: "hapi__card-campaign-tabs",
|
390
|
+
},
|
391
|
+
"card.campaign.target-audience": {
|
392
|
+
className: "hapi__card-campaign-target-audience",
|
393
|
+
},
|
394
|
+
"card-campaign-create-form.contract-posting-requirements": {
|
395
|
+
className:
|
396
|
+
"hapi__card-campaign-create-form-contract-posting-requirements",
|
397
|
+
},
|
398
|
+
"card-campaign-create-form.payment-method": {
|
399
|
+
className: "hapi__card-campaign-create-form-payment-method",
|
400
|
+
},
|
401
|
+
"card-campaign-create-form.organization": {
|
402
|
+
className: "hapi__card-campaign-create-form-organization",
|
403
|
+
},
|
404
|
+
"card-campaign-create-form.contact-info": {
|
405
|
+
className: "hapi__card-campaign-create-form-contact-info",
|
406
|
+
},
|
407
|
+
"card-campaign-create-form.organization-company-logo-url": {
|
408
|
+
className:
|
409
|
+
"hapi__card-campaign-create-form-organization-company-logo-url",
|
410
|
+
},
|
411
|
+
"card-campaign-create-form.organization-company-name": {
|
412
|
+
className: "hapi__card-campaign-create-form-organization-company-name",
|
413
|
+
},
|
414
|
+
"card-campaign-create-form.posting-details": {
|
415
|
+
className: "hapi__card-campaign-create-form-posting-details",
|
416
|
+
},
|
417
|
+
"card-campaign-create-form.posting-details-add-track-code": {
|
418
|
+
className:
|
419
|
+
"hapi__card-campaign-create-form-posting-details-add-track-code",
|
420
|
+
},
|
421
|
+
"card-campaign-create-form.posting-details-campaign-name": {
|
422
|
+
className:
|
423
|
+
"hapi__card-campaign-create-form-posting-details-campaign-name",
|
424
|
+
},
|
425
|
+
"card-campaign-create-form.posting-details-description": {
|
426
|
+
className:
|
427
|
+
"hapi__card-campaign-create-form-posting-details-description",
|
428
|
+
},
|
429
|
+
"card-campaign-create-form.posting-details-employment-type": {
|
430
|
+
className:
|
431
|
+
"hapi__card-campaign-create-form-posting-details-employment-type",
|
432
|
+
},
|
433
|
+
"card-campaign-create-form.posting-details-salary-indication": {
|
434
|
+
className:
|
435
|
+
"hapi__card-campaign-create-form-posting-details-salary-indication",
|
436
|
+
},
|
437
|
+
"card-campaign-create-form.posting-details-title": {
|
438
|
+
className: "hapi__card-campaign-create-form-posting-details-title",
|
439
|
+
},
|
440
|
+
"card-campaign-create-form.posting-details-weekly-working-hours": {
|
441
|
+
className:
|
442
|
+
"hapi__card-campaign-create-form-posting-details-weekly-working-hours",
|
443
|
+
},
|
444
|
+
"card-campaign-create-form.posting-details-years-of-experience": {
|
445
|
+
className:
|
446
|
+
"hapi__card-campaign-create-form-posting-details-years-of-experience",
|
447
|
+
},
|
448
|
+
"card-campaign-create-form.recruiter-info": {
|
449
|
+
className: "hapi__card-campaign-create-form-recruiter-info",
|
450
|
+
},
|
451
|
+
"card-campaign-create-form.recruiter-info-email-address": {
|
452
|
+
className:
|
453
|
+
"hapi__card-campaign-create-form-recruiter-info-email-address",
|
454
|
+
},
|
455
|
+
"card-campaign-create-form.recruiter-info-full-name": {
|
456
|
+
className: "hapi__card-campaign-create-form-recruiter-info-full-name",
|
457
|
+
},
|
458
|
+
"card-campaign-create-form.contact-info-email-address": {
|
459
|
+
className: "hapi__card-campaign-create-form-contact-info-email-address",
|
460
|
+
},
|
461
|
+
"card-campaign-create-form.contact-info-phone-number": {
|
462
|
+
className: "hapi__card-campaign-create-form-contact-info-phone-number",
|
463
|
+
},
|
464
|
+
"card-campaign-create-form.contact-info-same-as-recruiter-info": {
|
465
|
+
className:
|
466
|
+
"hapi__card-campaign-create-form-contact-info-same-as-recruiter-info",
|
467
|
+
},
|
468
|
+
"card-campaign-create-form.contact-info-name": {
|
469
|
+
className: "hapi__card-campaign-create-form-contact-info-name",
|
470
|
+
},
|
471
|
+
"card-campaign-create-form.target-group": {
|
472
|
+
className: "hapi__card-campaign-create-form-target-group",
|
473
|
+
},
|
474
|
+
"card-campaign-create-form.target-group-education-level": {
|
475
|
+
className:
|
476
|
+
"hapi__card-campaign-create-form-target-group-education-level",
|
477
|
+
},
|
478
|
+
"card-campaign-create-form.target-group-job-function": {
|
479
|
+
className: "hapi__card-campaign-create-form-target-group-job-function",
|
480
|
+
},
|
481
|
+
"card-campaign-create-form.target-group-job-industry": {
|
482
|
+
className: "hapi__card-campaign-create-form-target-group-job-industry",
|
483
|
+
},
|
484
|
+
"card-campaign-create-form.target-group-seniority": {
|
485
|
+
className: "hapi__card-campaign-create-form-target-group-seniority",
|
486
|
+
},
|
487
|
+
"card-campaign-create-form.urls": {
|
488
|
+
className: "hapi__card-campaign-create-form-urls",
|
489
|
+
},
|
490
|
+
"card-campaign-create-form.tracking-codes": {
|
491
|
+
className: "hapi__card-campaign-create-form-tracking-codes",
|
492
|
+
},
|
493
|
+
"card-campaign-create-form.urls-application-url": {
|
494
|
+
className: "hapi__card-campaign-create-form-urls-application-url",
|
495
|
+
},
|
496
|
+
"card-campaign-create-form.urls-job-page-url": {
|
497
|
+
className: "hapi__card-campaign-create-form-urls-job-page-url",
|
498
|
+
},
|
499
|
+
"card-campaign-create-form.working-location": {
|
500
|
+
className: "hapi__card-campaign-create-form-working-location",
|
501
|
+
},
|
502
|
+
"card-campaign-create-form.working-location-address-line1": {
|
503
|
+
className:
|
504
|
+
"hapi__card-campaign-create-form-working-location-address-line1",
|
505
|
+
},
|
506
|
+
"card-campaign-create-form.working-location-address-line2": {
|
507
|
+
className:
|
508
|
+
"hapi__card-campaign-create-form-working-location-address-line2",
|
509
|
+
},
|
510
|
+
"card-campaign-create-form.working-location-allows-remote-work": {
|
511
|
+
className:
|
512
|
+
"hapi__card-campaign-create-form-working-location-allows-remote-work",
|
513
|
+
},
|
514
|
+
"card-campaign-create-form.working-location-city": {
|
515
|
+
className: "hapi__card-campaign-create-form-working-location-city",
|
516
|
+
},
|
517
|
+
"card-campaign-create-form.working-location-country": {
|
518
|
+
className: "hapi__card-campaign-create-form-working-location-country",
|
519
|
+
},
|
520
|
+
"card-campaign-create-form.working-location-postcode": {
|
521
|
+
className: "hapi__card-campaign-create-form-working-location-postcode",
|
522
|
+
},
|
523
|
+
"card-campaign-create-form.order-error": {
|
524
|
+
className: "hapi__card-campaign-create-form-order-error",
|
525
|
+
},
|
526
|
+
"card-campaign-create-form.card": {
|
527
|
+
className: "hapi__card-campaign-create-form-card",
|
528
|
+
},
|
529
|
+
"card-campaign-create-form.checkout": {
|
530
|
+
className: "hapi__card-campaign-create-form-checkout",
|
531
|
+
},
|
532
|
+
"card-campaign-create-form.common": {
|
533
|
+
className: "hapi__card-campaign-create-form-common",
|
534
|
+
},
|
535
|
+
"card-campaign-create-form.heading": {
|
536
|
+
className: "hapi__card-campaign-create-form-heading",
|
537
|
+
},
|
538
|
+
"card-campaign-create-form.sidebar": {
|
539
|
+
className: "hapi__card-campaign-create-form-sidebar",
|
540
|
+
},
|
541
|
+
"card-campaign-create-form.step": {
|
542
|
+
className: "hapi__card-campaign-create-form-step",
|
543
|
+
},
|
544
|
+
"card-campaign-create-form.steps": {
|
545
|
+
className: "hapi__card-campaign-create-form-steps",
|
546
|
+
},
|
547
|
+
"card-campaign-not-enough-balance": {
|
548
|
+
className: "hapi__card-campaign-not-enough-balance",
|
549
|
+
},
|
550
|
+
"card-contract": {
|
551
|
+
className: "hapi__card-contract",
|
552
|
+
},
|
553
|
+
"card-product": {
|
554
|
+
className: "hapi__card-product",
|
555
|
+
},
|
556
|
+
"card-product-header": {
|
557
|
+
className: "hapi__card-product-header",
|
558
|
+
},
|
559
|
+
"card-product-body": {
|
560
|
+
className: "hapi__card-product-body",
|
561
|
+
},
|
562
|
+
"card-product-footer": {
|
563
|
+
className: "hapi__card-product-footer",
|
564
|
+
},
|
565
|
+
"card-sidebar": {
|
566
|
+
className: "hapi__card-sidebar",
|
567
|
+
},
|
568
|
+
"card-wallet": {
|
569
|
+
className: "hapi__card-wallet",
|
570
|
+
},
|
571
|
+
"card-wallet-billing-portal": {
|
572
|
+
className: "hapi__card-wallet-billing-portal",
|
573
|
+
},
|
574
|
+
"card-wallet-top-up": {
|
575
|
+
className: "hapi__card-wallet-top-up",
|
576
|
+
},
|
577
|
+
"card-wallet-top-up.amount": {
|
578
|
+
className: "hapi__card-wallet-top-up.amount",
|
579
|
+
},
|
580
|
+
"card-wallet-top-up.checkout-form": {
|
581
|
+
className: "hapi__card-wallet-top-up.checkout-form",
|
582
|
+
},
|
583
|
+
"form-checkbox": {
|
584
|
+
className: "hapi__form-checkbox",
|
585
|
+
},
|
586
|
+
"form-checkbox-label": {
|
587
|
+
className: "hapi__form-checkbox-label",
|
588
|
+
},
|
589
|
+
"form-date-picker": {
|
590
|
+
className: "hapi__form-date-picker",
|
591
|
+
},
|
592
|
+
"form-facets": {
|
593
|
+
className: "hapi__form-facets",
|
594
|
+
},
|
595
|
+
"form-input-label": {
|
596
|
+
className: "hapi__form-input-label",
|
597
|
+
},
|
598
|
+
"form-input-label-description": {
|
599
|
+
className: "hapi__form-input-label-description",
|
600
|
+
},
|
601
|
+
"form-input-range-container": {
|
602
|
+
className: "hapi__form-input-range-container",
|
603
|
+
},
|
604
|
+
"form-input-range": {
|
605
|
+
className: "hapi__form-input-range",
|
606
|
+
},
|
607
|
+
"form-input-tags": {
|
608
|
+
className: "hapi__form-input-tags",
|
609
|
+
},
|
610
|
+
"form-input-tags-input": {
|
611
|
+
className: "hapi__form-input-tags-input",
|
612
|
+
},
|
613
|
+
"form-input-tags-tag": {
|
614
|
+
className: "hapi__form-input-tags-tag",
|
615
|
+
},
|
616
|
+
"form-toggle": {
|
617
|
+
className: "hapi__form-toggle",
|
618
|
+
},
|
619
|
+
grid: {
|
620
|
+
className: "hapi__grid",
|
621
|
+
},
|
622
|
+
"grid-campaigns": {
|
623
|
+
className: "hapi__grid-campaigns",
|
624
|
+
},
|
625
|
+
"grid-contracts": {
|
626
|
+
className: "hapi__grid-contracts",
|
627
|
+
},
|
628
|
+
"grid-products": {
|
629
|
+
className: "hapi__grid-products",
|
630
|
+
},
|
631
|
+
link: {
|
632
|
+
className: "hapi__link",
|
633
|
+
},
|
634
|
+
"list-group": {
|
635
|
+
className: "hapi__list-group",
|
636
|
+
},
|
637
|
+
logo: {
|
638
|
+
className: "hapi__logo",
|
639
|
+
},
|
640
|
+
menu: {
|
641
|
+
className: "hapi__menu",
|
642
|
+
},
|
643
|
+
"modal-action-confirmation": {
|
644
|
+
className: "hapi__modal-action-confirmation",
|
645
|
+
},
|
646
|
+
"modal-action-confirmation-actions": {
|
647
|
+
className: "hapi__modal-action-confirmation-actions",
|
648
|
+
},
|
649
|
+
"modal-action-confirmation-description": {
|
650
|
+
className: "hapi__modal-action-confirmation-description",
|
651
|
+
},
|
652
|
+
"modal-action-confirmation-title": {
|
653
|
+
className: "hapi__modal-action-confirmation-title",
|
654
|
+
},
|
655
|
+
"modal-close-button": {
|
656
|
+
className: "hapi__modal-close-button",
|
657
|
+
},
|
658
|
+
navbar: {
|
659
|
+
className: "hapi_navbar",
|
660
|
+
},
|
661
|
+
"page-header": {
|
662
|
+
className: "hapi_page-header",
|
663
|
+
},
|
664
|
+
"product-details": {
|
665
|
+
className: "hapi_product-details",
|
666
|
+
},
|
667
|
+
"section-empty": {
|
668
|
+
className: "hapi_section-empty",
|
669
|
+
},
|
670
|
+
"section-loader": {
|
671
|
+
className: "hapi_section-loader",
|
672
|
+
},
|
673
|
+
"select-education-level": {
|
674
|
+
className: "hapi_select-education-level",
|
675
|
+
},
|
676
|
+
"select-employment-type": {
|
677
|
+
className: "hapi_select-employment-type",
|
678
|
+
},
|
679
|
+
"select-job-function": {
|
680
|
+
className: "hapi_select-job-function",
|
681
|
+
},
|
682
|
+
"select-job-industry": {
|
683
|
+
className: "hapi_select-job-industry",
|
684
|
+
},
|
685
|
+
"select-salary-period": {
|
686
|
+
className: "hapi_select-salary-period",
|
687
|
+
},
|
688
|
+
"select-seniority": {
|
689
|
+
className: "hapi_select-seniority",
|
690
|
+
},
|
691
|
+
table: {
|
692
|
+
className: "hapi_table",
|
693
|
+
},
|
694
|
+
"table.body": {
|
695
|
+
className: "hapi_table-body",
|
696
|
+
},
|
697
|
+
"table.data": {
|
698
|
+
className: "hapi_table-data",
|
699
|
+
},
|
700
|
+
"table.foot": {
|
701
|
+
className: "hapi_table-foot",
|
702
|
+
},
|
703
|
+
"table.head": {
|
704
|
+
className: "hapi_table-head",
|
705
|
+
},
|
706
|
+
"table.header": {
|
707
|
+
className: "hapi_table-header",
|
708
|
+
},
|
709
|
+
"table.heading": {
|
710
|
+
className: "hapi_table-heading",
|
711
|
+
},
|
712
|
+
"table.row": {
|
713
|
+
className: "hapi_table-row",
|
714
|
+
},
|
715
|
+
"table-accordion-campaigns": {
|
716
|
+
className: "hapi_table-accordion-campaigns",
|
717
|
+
},
|
718
|
+
"table-accordion-campaigns.product-description": {
|
719
|
+
className: "hapi_table-accordion-campaigns-product-description",
|
720
|
+
},
|
721
|
+
"table-contracts": {
|
722
|
+
className: "hapi_table-contracts",
|
723
|
+
},
|
724
|
+
tabs: {
|
725
|
+
className: "hapi__tabs",
|
726
|
+
},
|
727
|
+
"tabs.tab-header": {
|
728
|
+
className: "hapi__tabs-tab-header",
|
729
|
+
},
|
730
|
+
"tabs.tab-headers": {
|
731
|
+
className: "hapi__tabs-tab-headers",
|
732
|
+
},
|
733
|
+
"tabs.tab-panel": {
|
734
|
+
className: "hapi__tabs-tab-panel",
|
735
|
+
},
|
736
|
+
"tabs.tab-panels": {
|
737
|
+
className: "hapi__tabs-tab-panels",
|
738
|
+
},
|
739
|
+
timeline: {
|
740
|
+
className: "hapi__timeline",
|
741
|
+
},
|
742
|
+
"timeline.step": {
|
743
|
+
className: "hapi__timeline-step",
|
744
|
+
},
|
745
|
+
"timeline.step-description": {
|
746
|
+
className: "hapi__timeline-step-description",
|
747
|
+
},
|
748
|
+
"timeline.step-icon": {
|
749
|
+
className: "hapi__timeline-step-icon",
|
750
|
+
},
|
751
|
+
"timeline.step-subtitle": {
|
752
|
+
className: "hapi__timeline-step-subtitle",
|
753
|
+
},
|
754
|
+
"timeline.step-title": {
|
755
|
+
className: "hapi__timeline-step-title",
|
756
|
+
},
|
757
|
+
"campaigns-add.layout": {
|
758
|
+
className: "hapi_campaigns-add-layout",
|
759
|
+
},
|
760
|
+
"contracts-add": {
|
761
|
+
className: "hapi__contracts-add",
|
762
|
+
},
|
763
|
+
"contracts-add-error": {
|
764
|
+
className: "hapi__contracts-add-error",
|
765
|
+
},
|
766
|
+
"contracts-add-contract-group": {
|
767
|
+
className: "hapi__contracts-add-contract-group",
|
768
|
+
},
|
769
|
+
"contracts-add-instructions": {
|
770
|
+
className: "hapi__contracts-add-instructions",
|
771
|
+
},
|
772
|
+
"contracts-add-credentials": {
|
773
|
+
className: "hapi__contracts-add-credentials",
|
774
|
+
},
|
775
|
+
"contracts-add-button": {
|
776
|
+
className: "hapi__contracts-add-button",
|
777
|
+
},
|
778
|
+
"contracts-add-optional-details": {
|
779
|
+
className: "hapi__contracts-add-optional-details",
|
780
|
+
},
|
781
|
+
"contracts-add-channel-selector": {
|
782
|
+
className: "hapi__contracts-add-channel-selector",
|
783
|
+
},
|
784
|
+
"contracts-add-heading": {
|
785
|
+
className: "hapi__contracts-add-heading",
|
786
|
+
},
|
787
|
+
"contracts-add.credentials": {
|
788
|
+
className: "hapi__contracts-add-credentials",
|
789
|
+
},
|
790
|
+
"contracts-add.instructions": {
|
791
|
+
className: "hapi__contracts-add-instructions",
|
792
|
+
},
|
793
|
+
"contracts-add.optional-details": {
|
794
|
+
className: "hapi__contracts-add-optional-details",
|
795
|
+
},
|
796
|
+
"contracts-add.channel-selector": {
|
797
|
+
className: "hapi__contracts-add-optional-details",
|
798
|
+
},
|
799
|
+
"contracts-add.error": {
|
800
|
+
className: "hapi__contracts-add-heading",
|
801
|
+
},
|
802
|
+
"contracts-add.selected-channel-details": {
|
803
|
+
className: "hapi__contracts-add-selected-channel-details",
|
804
|
+
},
|
805
|
+
"contracts-details": {
|
806
|
+
className: "hapi__contracts-details",
|
807
|
+
},
|
808
|
+
"contracts-landing": {
|
809
|
+
className: "hapi__contracts-landing",
|
810
|
+
},
|
811
|
+
"campaigns-landing": {
|
812
|
+
className: "hapi__campaigns-landing",
|
813
|
+
},
|
814
|
+
"products-filters": {
|
815
|
+
className: "hapi__products-filters",
|
816
|
+
},
|
817
|
+
"products-recommended": {
|
818
|
+
className: "hapi__products-recommended",
|
819
|
+
},
|
820
|
+
"products-filters.job-title": {
|
821
|
+
className: "hapi__products-filters-job-title",
|
822
|
+
},
|
823
|
+
"products-filters.job-industry": {
|
824
|
+
className: "hapi__products-filters-job-industry",
|
825
|
+
},
|
826
|
+
"products-filters.job-function": {
|
827
|
+
className: "hapi__products-filters-job-function",
|
828
|
+
},
|
829
|
+
"products-filters.my-contract-supported-only": {
|
830
|
+
className: "hapi__products-filters-my-contract-supported-only",
|
831
|
+
},
|
832
|
+
"products-filters.product-name": {
|
833
|
+
className: "hapi__products-filters-product-name",
|
834
|
+
},
|
835
|
+
"products-filters.product-region": {
|
836
|
+
className: "hapi__products-filters-product-region",
|
837
|
+
},
|
838
|
+
"products-filters.heading": {
|
839
|
+
className: "hapi__products-filters-heading",
|
840
|
+
},
|
841
|
+
"products-filters.sorting": {
|
842
|
+
className: "hapi__products-filters-sorting",
|
843
|
+
},
|
844
|
+
"products-landing": {
|
845
|
+
className: "hapi__products-landing",
|
846
|
+
},
|
847
|
+
"products-landing.layout": {
|
848
|
+
className: "hapi__products-landing-layout",
|
849
|
+
},
|
850
|
+
"user-journey-landing": {
|
851
|
+
className: "hapi_user-journey-landing",
|
852
|
+
},
|
853
|
+
select: {
|
854
|
+
className: "hapi__select",
|
855
|
+
},
|
856
|
+
"select-async": {
|
857
|
+
className: "hapi__select--async",
|
858
|
+
},
|
859
|
+
"select-dropdown-indicator": {
|
860
|
+
className: "hapi__select-dropdown-indicator",
|
861
|
+
},
|
862
|
+
"select-control": {
|
863
|
+
className: "hapi__select-control",
|
864
|
+
},
|
865
|
+
"select-input": {
|
866
|
+
className: "hapi__select-input",
|
867
|
+
},
|
868
|
+
"select-menu": {
|
869
|
+
className: "hapi__select-menu",
|
870
|
+
},
|
871
|
+
"select-option": {
|
872
|
+
className: "hapi__select-option",
|
873
|
+
},
|
874
|
+
"select-group": {
|
875
|
+
className: "hapi__select-group",
|
876
|
+
},
|
877
|
+
"select-group-hidden": {
|
878
|
+
className: "hapi__select-group--hidden",
|
879
|
+
},
|
880
|
+
"select-group-heading": {
|
881
|
+
className: "hapi__select-group-heading",
|
882
|
+
},
|
883
|
+
"select-group-heading-hidden": {
|
884
|
+
className: "hapi__select-group-heading--hidden",
|
885
|
+
},
|
886
|
+
"wallet-transactions": {
|
887
|
+
className: "hapi_wallet-transactions",
|
888
|
+
},
|
889
|
+
"modal-zones": {
|
890
|
+
className: "hapi__modal-zones",
|
891
|
+
},
|
892
|
+
}
|
893
|
+
export const HAPI_WINDOW_INTERFACE_INTERNAL_PREFIX = "__hapi"
|
894
|
+
|
895
|
+
export const _window = isBrowser
|
896
|
+
? (window as unknown as WindowHAPIInterface & Window)
|
897
|
+
: undefined
|
898
|
+
|
899
|
+
export const MODULE_STORE_NAME_MAP: Record<
|
900
|
+
Exclude<WindowHapiModuleName, "common" | "ui" | "userJourney">,
|
901
|
+
string
|
902
|
+
> = {
|
903
|
+
[WindowHapiModuleName.alert]: "alertStore",
|
904
|
+
[WindowHapiModuleName.basket]: "basketStore",
|
905
|
+
[WindowHapiModuleName.campaign]: "campaignStore",
|
906
|
+
[WindowHapiModuleName.contract]: "contractStore",
|
907
|
+
[WindowHapiModuleName.debugging]: "debuggingStore",
|
908
|
+
[WindowHapiModuleName.language]: "languageStore",
|
909
|
+
[WindowHapiModuleName.product]: "productStore",
|
910
|
+
[WindowHapiModuleName.theming]: "themeStore",
|
911
|
+
[WindowHapiModuleName.orderJourney]: "orderJourneyStore",
|
912
|
+
[WindowHapiModuleName.wallet]: "walletStore",
|
913
|
+
[WindowHapiModuleName.modal]: "modalStore",
|
914
|
+
[WindowHapiModuleName.ats]: "atsStore",
|
915
|
+
}
|
916
|
+
|
917
|
+
export const ORDER_JOURNEY_STEP_READABLE_NAME_MAP: Record<
|
918
|
+
OrderJourneyStepKey,
|
919
|
+
string
|
920
|
+
> = {
|
921
|
+
[OrderJourneyStepKey.searchRecommendProducts]: "Pre-Product Search",
|
922
|
+
[OrderJourneyStepKey.selectProducts]: "Search & Select Products",
|
923
|
+
[OrderJourneyStepKey.addContracts]: "Add Contracts",
|
924
|
+
[OrderJourneyStepKey.selectContracts]: "Select Contracts",
|
925
|
+
[OrderJourneyStepKey.basketSummary]: "Basket Summary",
|
926
|
+
[OrderJourneyStepKey.targetGroup]: "Target Group",
|
927
|
+
[OrderJourneyStepKey.recruiterInfo]: "Recruiter Info",
|
928
|
+
[OrderJourneyStepKey.postingDetails]: "Posting Details",
|
929
|
+
[OrderJourneyStepKey.postingOrganization]: "Posting Organization",
|
930
|
+
[OrderJourneyStepKey.postingContactInfo]: "Posting Contact Info",
|
931
|
+
[OrderJourneyStepKey.postingWorkingLocation]: "Posting Working Location",
|
932
|
+
[OrderJourneyStepKey.postingURLs]: "Posting URLs",
|
933
|
+
[OrderJourneyStepKey.contractChannelPostingRequirements]:
|
934
|
+
"Contract Channel Posting Requirements",
|
935
|
+
[OrderJourneyStepKey.postingUTMCodes]: "Posting UTM Codes",
|
936
|
+
[OrderJourneyStepKey.orderReview]: "Order Review",
|
937
|
+
[OrderJourneyStepKey.paymentMethod]: "Payment Method",
|
938
|
+
[OrderJourneyStepKey.orderConfirmation]: "Order Confirmation",
|
939
|
+
}
|
940
|
+
|
941
|
+
export const ORDER_JOURNEY_PRODUCTS: OrderJourneyStepKey[] = [
|
942
|
+
OrderJourneyStepKey.searchRecommendProducts,
|
943
|
+
OrderJourneyStepKey.selectProducts,
|
944
|
+
]
|
945
|
+
export const ORDER_JOURNEY_CONTRACTS: OrderJourneyStepKey[] = [
|
946
|
+
OrderJourneyStepKey.addContracts,
|
947
|
+
OrderJourneyStepKey.selectContracts,
|
948
|
+
]
|
949
|
+
|
950
|
+
export const ORDER_JOURNEY_PRODUCTS_CHECKOUT: OrderJourneyStepKey[] = [
|
951
|
+
OrderJourneyStepKey.basketSummary,
|
952
|
+
OrderJourneyStepKey.targetGroup,
|
953
|
+
OrderJourneyStepKey.recruiterInfo,
|
954
|
+
OrderJourneyStepKey.postingDetails,
|
955
|
+
OrderJourneyStepKey.postingOrganization,
|
956
|
+
OrderJourneyStepKey.postingContactInfo,
|
957
|
+
OrderJourneyStepKey.postingWorkingLocation,
|
958
|
+
OrderJourneyStepKey.postingURLs,
|
959
|
+
OrderJourneyStepKey.postingUTMCodes,
|
960
|
+
OrderJourneyStepKey.orderReview,
|
961
|
+
OrderJourneyStepKey.paymentMethod,
|
962
|
+
OrderJourneyStepKey.orderConfirmation,
|
963
|
+
]
|
964
|
+
export const ORDER_JOURNEY_CONTRACTS_CHECKOUT: OrderJourneyStepKey[] = [
|
965
|
+
OrderJourneyStepKey.basketSummary,
|
966
|
+
OrderJourneyStepKey.targetGroup,
|
967
|
+
OrderJourneyStepKey.recruiterInfo,
|
968
|
+
OrderJourneyStepKey.postingDetails,
|
969
|
+
OrderJourneyStepKey.postingOrganization,
|
970
|
+
OrderJourneyStepKey.postingContactInfo,
|
971
|
+
OrderJourneyStepKey.postingWorkingLocation,
|
972
|
+
OrderJourneyStepKey.postingURLs,
|
973
|
+
OrderJourneyStepKey.contractChannelPostingRequirements,
|
974
|
+
OrderJourneyStepKey.postingUTMCodes,
|
975
|
+
OrderJourneyStepKey.orderReview,
|
976
|
+
OrderJourneyStepKey.paymentMethod,
|
977
|
+
OrderJourneyStepKey.orderConfirmation,
|
978
|
+
]
|
979
|
+
|
980
|
+
export const IS_GOOGLE_PLACES_AUTOCOMPLETE_FOR_WORK_LOCATION_ENABLED = false
|