@jobsearch-works/firestore-models 2.2.3 → 2.2.4

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/dist/index.mjs CHANGED
@@ -1,717 +1,3 @@
1
- // src/static/locations.ts
2
- var locations = [
3
- // Global Remote Options
4
- {
5
- id: "remote-anywhere",
6
- name: "Remote (Anywhere)",
7
- country: "Remote",
8
- region: "Global",
9
- tags: ["remote", "work-from-home", "flexible"]
10
- },
11
- // Australia
12
- {
13
- id: "australia-anywhere",
14
- name: "Anywhere in Australia",
15
- country: "Australia",
16
- region: "Australia",
17
- tags: ["country-wide", "australia", "flexible"]
18
- },
19
- {
20
- id: "sydney",
21
- name: "Sydney",
22
- country: "Australia",
23
- region: "New South Wales",
24
- tags: [
25
- "major-city",
26
- "coastal",
27
- "business-hub",
28
- "tech-hub",
29
- "expat-friendly"
30
- ]
31
- },
32
- {
33
- id: "melbourne",
34
- name: "Melbourne",
35
- country: "Australia",
36
- region: "Victoria",
37
- tags: [
38
- "major-city",
39
- "cultural",
40
- "business-hub",
41
- "tech-hub",
42
- "expat-friendly"
43
- ]
44
- },
45
- {
46
- id: "brisbane",
47
- name: "Brisbane",
48
- country: "Australia",
49
- region: "Queensland",
50
- tags: ["major-city", "coastal", "business-hub", "expat-friendly"]
51
- },
52
- {
53
- id: "perth",
54
- name: "Perth",
55
- country: "Australia",
56
- region: "Western Australia",
57
- tags: ["major-city", "coastal", "mining", "tech-hub", "expat-friendly"]
58
- },
59
- {
60
- id: "adelaide",
61
- name: "Adelaide",
62
- country: "Australia",
63
- region: "South Australia",
64
- tags: ["major-city", "coastal", "wine-region"]
65
- },
66
- {
67
- id: "canberra",
68
- name: "Canberra",
69
- country: "Australia",
70
- region: "Australian Capital Territory",
71
- tags: ["capital", "government", "education"]
72
- },
73
- {
74
- id: "hobart",
75
- name: "Hobart",
76
- country: "Australia",
77
- region: "Tasmania",
78
- tags: ["capital", "coastal", "tourism"]
79
- },
80
- {
81
- id: "darwin",
82
- name: "Darwin",
83
- country: "Australia",
84
- region: "Northern Territory",
85
- tags: ["capital", "coastal", "tropical"]
86
- },
87
- {
88
- id: "gold-coast",
89
- name: "Gold Coast",
90
- country: "Australia",
91
- region: "Queensland",
92
- tags: ["coastal", "tourism", "lifestyle"]
93
- },
94
- {
95
- id: "newcastle",
96
- name: "Newcastle",
97
- country: "Australia",
98
- region: "New South Wales",
99
- tags: ["coastal", "industrial", "port"]
100
- },
101
- {
102
- id: "wollongong",
103
- name: "Wollongong",
104
- country: "Australia",
105
- region: "New South Wales",
106
- tags: ["coastal", "industrial", "university"]
107
- },
108
- {
109
- id: "geelong",
110
- name: "Geelong",
111
- country: "Australia",
112
- region: "Victoria",
113
- tags: ["coastal", "industrial", "manufacturing"]
114
- },
115
- {
116
- id: "sunshine-coast",
117
- name: "Sunshine Coast",
118
- country: "Australia",
119
- region: "Queensland",
120
- tags: ["coastal", "tourism", "lifestyle"]
121
- },
122
- {
123
- id: "central-coast",
124
- name: "Central Coast",
125
- country: "Australia",
126
- region: "New South Wales",
127
- tags: ["coastal", "lifestyle", "commuter"]
128
- },
129
- {
130
- id: "toowoomba",
131
- name: "Toowoomba",
132
- country: "Australia",
133
- region: "Queensland",
134
- tags: ["regional", "agricultural", "education"]
135
- },
136
- // New Zealand
137
- {
138
- id: "new-zealand-anywhere",
139
- name: "Anywhere in New Zealand",
140
- country: "New Zealand",
141
- region: "New Zealand",
142
- tags: ["country-wide", "new-zealand", "flexible"]
143
- },
144
- {
145
- id: "auckland",
146
- name: "Auckland",
147
- country: "New Zealand",
148
- region: "Auckland",
149
- tags: ["major-city", "coastal", "business-hub", "tech-hub"]
150
- },
151
- {
152
- id: "wellington",
153
- name: "Wellington",
154
- country: "New Zealand",
155
- region: "Wellington",
156
- tags: ["capital", "coastal", "government", "tech-hub"]
157
- },
158
- {
159
- id: "christchurch",
160
- name: "Christchurch",
161
- country: "New Zealand",
162
- region: "Canterbury",
163
- tags: ["major-city", "coastal", "rebuilding"]
164
- },
165
- {
166
- id: "hamilton",
167
- name: "Hamilton",
168
- country: "New Zealand",
169
- region: "Waikato",
170
- tags: ["regional", "agricultural", "education"]
171
- },
172
- {
173
- id: "tauranga",
174
- name: "Tauranga",
175
- country: "New Zealand",
176
- region: "Bay of Plenty",
177
- tags: ["coastal", "port", "lifestyle"]
178
- },
179
- {
180
- id: "dunedin",
181
- name: "Dunedin",
182
- country: "New Zealand",
183
- region: "Otago",
184
- tags: ["coastal", "education", "heritage"]
185
- },
186
- {
187
- id: "palmerston-north",
188
- name: "Palmerston North",
189
- country: "New Zealand",
190
- region: "Manawatu-Wanganui",
191
- tags: ["regional", "education", "agricultural"]
192
- },
193
- {
194
- id: "napier",
195
- name: "Napier",
196
- country: "New Zealand",
197
- region: "Hawke's Bay",
198
- tags: ["coastal", "wine-region", "art-deco"]
199
- },
200
- {
201
- id: "hastings",
202
- name: "Hastings",
203
- country: "New Zealand",
204
- region: "Hawke's Bay",
205
- tags: ["regional", "agricultural", "wine-region"]
206
- },
207
- {
208
- id: "nelson",
209
- name: "Nelson",
210
- country: "New Zealand",
211
- region: "Nelson",
212
- tags: ["coastal", "tourism", "lifestyle"]
213
- },
214
- // Asia Pacific
215
- {
216
- id: "singapore",
217
- name: "Singapore",
218
- country: "Singapore",
219
- region: "Singapore",
220
- tags: [
221
- "major-city",
222
- "business-hub",
223
- "financial",
224
- "tech-hub",
225
- "expat-friendly"
226
- ]
227
- },
228
- {
229
- id: "dubai",
230
- name: "Dubai",
231
- country: "UAE",
232
- region: "Dubai",
233
- tags: [
234
- "major-city",
235
- "business-hub",
236
- "financial",
237
- "tech-hub",
238
- "expat-friendly"
239
- ]
240
- },
241
- {
242
- id: "tokyo",
243
- name: "Tokyo",
244
- country: "Japan",
245
- region: "Kanto",
246
- tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
247
- },
248
- {
249
- id: "hong-kong",
250
- name: "Hong Kong",
251
- country: "China",
252
- region: "Hong Kong",
253
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
254
- },
255
- {
256
- id: "seoul",
257
- name: "Seoul",
258
- country: "South Korea",
259
- region: "Seoul",
260
- tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
261
- },
262
- {
263
- id: "taipei",
264
- name: "Taipei",
265
- country: "Taiwan",
266
- region: "Taipei",
267
- tags: ["major-city", "business-hub", "tech-hub"]
268
- },
269
- {
270
- id: "shanghai",
271
- name: "Shanghai",
272
- country: "China",
273
- region: "Shanghai",
274
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
275
- },
276
- {
277
- id: "shenzhen",
278
- name: "Shenzhen",
279
- country: "China",
280
- region: "Guangdong",
281
- tags: ["major-city", "tech-hub", "manufacturing"]
282
- },
283
- // North America
284
- {
285
- id: "us-anywhere",
286
- name: "Anywhere in United States",
287
- country: "United States",
288
- region: "United States",
289
- tags: ["country-wide", "us", "flexible"]
290
- },
291
- {
292
- id: "new-york",
293
- name: "New York",
294
- country: "United States",
295
- region: "New York",
296
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
297
- },
298
- {
299
- id: "san-francisco",
300
- name: "San Francisco",
301
- country: "United States",
302
- region: "California",
303
- tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
304
- },
305
- {
306
- id: "los-angeles",
307
- name: "Los Angeles",
308
- country: "United States",
309
- region: "California",
310
- tags: ["major-city", "entertainment", "coastal", "expat-friendly"]
311
- },
312
- {
313
- id: "chicago",
314
- name: "Chicago",
315
- country: "United States",
316
- region: "Illinois",
317
- tags: ["major-city", "business-hub", "cultural"]
318
- },
319
- {
320
- id: "seattle",
321
- name: "Seattle",
322
- country: "United States",
323
- region: "Washington",
324
- tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
325
- },
326
- {
327
- id: "boston",
328
- name: "Boston",
329
- country: "United States",
330
- region: "Massachusetts",
331
- tags: ["major-city", "tech-hub", "education", "expat-friendly"]
332
- },
333
- {
334
- id: "austin",
335
- name: "Austin",
336
- country: "United States",
337
- region: "Texas",
338
- tags: ["major-city", "tech-hub", "cultural"]
339
- },
340
- {
341
- id: "denver",
342
- name: "Denver",
343
- country: "United States",
344
- region: "Colorado",
345
- tags: ["major-city", "outdoor", "lifestyle"]
346
- },
347
- {
348
- id: "portland",
349
- name: "Portland",
350
- country: "United States",
351
- region: "Oregon",
352
- tags: ["major-city", "cultural", "lifestyle"]
353
- },
354
- {
355
- id: "miami",
356
- name: "Miami",
357
- country: "United States",
358
- region: "Florida",
359
- tags: ["major-city", "coastal", "tourism"]
360
- },
361
- {
362
- id: "canada-anywhere",
363
- name: "Anywhere in Canada",
364
- country: "Canada",
365
- region: "Canada",
366
- tags: ["country-wide", "canada", "flexible"]
367
- },
368
- {
369
- id: "toronto",
370
- name: "Toronto",
371
- country: "Canada",
372
- region: "Ontario",
373
- tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
374
- },
375
- {
376
- id: "vancouver",
377
- name: "Vancouver",
378
- country: "Canada",
379
- region: "British Columbia",
380
- tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
381
- },
382
- {
383
- id: "montreal",
384
- name: "Montreal",
385
- country: "Canada",
386
- region: "Quebec",
387
- tags: ["major-city", "cultural", "historical"]
388
- },
389
- {
390
- id: "calgary",
391
- name: "Calgary",
392
- country: "Canada",
393
- region: "Alberta",
394
- tags: ["major-city", "business-hub", "energy"]
395
- },
396
- {
397
- id: "edmonton",
398
- name: "Edmonton",
399
- country: "Canada",
400
- region: "Alberta",
401
- tags: ["major-city", "business-hub", "energy"]
402
- },
403
- {
404
- id: "ottawa",
405
- name: "Ottawa",
406
- country: "Canada",
407
- region: "Ontario",
408
- tags: ["capital", "government", "education"]
409
- },
410
- {
411
- id: "winnipeg",
412
- name: "Winnipeg",
413
- country: "Canada",
414
- region: "Manitoba",
415
- tags: ["major-city", "business-hub", "cultural"]
416
- },
417
- {
418
- id: "halifax",
419
- name: "Halifax",
420
- country: "Canada",
421
- region: "Nova Scotia",
422
- tags: ["major-city", "coastal", "port"]
423
- },
424
- {
425
- id: "victoria",
426
- name: "Victoria",
427
- country: "Canada",
428
- region: "British Columbia",
429
- tags: ["capital", "coastal", "lifestyle"]
430
- },
431
- {
432
- id: "saskatoon",
433
- name: "Saskatoon",
434
- country: "Canada",
435
- region: "Saskatchewan",
436
- tags: ["major-city", "agricultural", "education"]
437
- },
438
- // Europe
439
- {
440
- id: "eu-anywhere",
441
- name: "Anywhere in European Union",
442
- country: "European Union",
443
- region: "EU",
444
- tags: ["region-wide", "eu", "flexible"]
445
- },
446
- {
447
- id: "london",
448
- name: "London",
449
- country: "United Kingdom",
450
- region: "England",
451
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
452
- },
453
- {
454
- id: "manchester",
455
- name: "Manchester",
456
- country: "United Kingdom",
457
- region: "England",
458
- tags: ["major-city", "business-hub", "cultural"]
459
- },
460
- {
461
- id: "birmingham",
462
- name: "Birmingham",
463
- country: "United Kingdom",
464
- region: "England",
465
- tags: ["major-city", "business-hub", "industrial"]
466
- },
467
- {
468
- id: "edinburgh",
469
- name: "Edinburgh",
470
- country: "United Kingdom",
471
- region: "Scotland",
472
- tags: ["major-city", "cultural", "historical"]
473
- },
474
- {
475
- id: "glasgow",
476
- name: "Glasgow",
477
- country: "United Kingdom",
478
- region: "Scotland",
479
- tags: ["major-city", "cultural", "industrial"]
480
- },
481
- {
482
- id: "cardiff",
483
- name: "Cardiff",
484
- country: "United Kingdom",
485
- region: "Wales",
486
- tags: ["major-city", "capital", "cultural"]
487
- },
488
- {
489
- id: "belfast",
490
- name: "Belfast",
491
- country: "United Kingdom",
492
- region: "Northern Ireland",
493
- tags: ["major-city", "capital", "cultural"]
494
- },
495
- {
496
- id: "leeds",
497
- name: "Leeds",
498
- country: "United Kingdom",
499
- region: "England",
500
- tags: ["major-city", "business-hub", "cultural"]
501
- },
502
- {
503
- id: "liverpool",
504
- name: "Liverpool",
505
- country: "United Kingdom",
506
- region: "England",
507
- tags: ["major-city", "coastal", "cultural"]
508
- },
509
- {
510
- id: "bristol",
511
- name: "Bristol",
512
- country: "United Kingdom",
513
- region: "England",
514
- tags: ["major-city", "coastal", "cultural"]
515
- },
516
- // Europe
517
- {
518
- id: "berlin",
519
- name: "Berlin",
520
- country: "Germany",
521
- region: "Berlin",
522
- tags: ["major-city", "tech-hub", "cultural", "expat-friendly"]
523
- },
524
- {
525
- id: "paris",
526
- name: "Paris",
527
- country: "France",
528
- region: "Ile-de-France",
529
- tags: ["major-city", "business-hub", "cultural", "expat-friendly"]
530
- },
531
- {
532
- id: "amsterdam",
533
- name: "Amsterdam",
534
- country: "Netherlands",
535
- region: "North Holland",
536
- tags: ["major-city", "tech-hub", "cultural", "expat-friendly"]
537
- },
538
- {
539
- id: "dublin",
540
- name: "Dublin",
541
- country: "Ireland",
542
- region: "Dublin",
543
- tags: ["major-city", "tech-hub", "business-hub", "expat-friendly"]
544
- },
545
- {
546
- id: "barcelona",
547
- name: "Barcelona",
548
- country: "Spain",
549
- region: "Catalonia",
550
- tags: ["major-city", "coastal", "cultural", "expat-friendly"]
551
- },
552
- {
553
- id: "madrid",
554
- name: "Madrid",
555
- country: "Spain",
556
- region: "Madrid",
557
- tags: ["major-city", "business-hub", "cultural"]
558
- },
559
- {
560
- id: "rome",
561
- name: "Rome",
562
- country: "Italy",
563
- region: "Lazio",
564
- tags: ["major-city", "capital", "historical"]
565
- },
566
- {
567
- id: "milan",
568
- name: "Milan",
569
- country: "Italy",
570
- region: "Lombardy",
571
- tags: ["major-city", "business-hub", "fashion"]
572
- },
573
- {
574
- id: "vienna",
575
- name: "Vienna",
576
- country: "Austria",
577
- region: "Vienna",
578
- tags: ["major-city", "capital", "cultural"]
579
- },
580
- {
581
- id: "zurich",
582
- name: "Zurich",
583
- country: "Switzerland",
584
- region: "Zurich",
585
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
586
- },
587
- {
588
- id: "stockholm",
589
- name: "Stockholm",
590
- country: "Sweden",
591
- region: "Stockholm",
592
- tags: ["major-city", "tech-hub", "business-hub", "expat-friendly"]
593
- },
594
- // Middle East
595
- {
596
- id: "abudhabi",
597
- name: "Abu Dhabi",
598
- country: "UAE",
599
- region: "Abu Dhabi",
600
- tags: ["major-city", "business-hub", "financial", "expat-friendly"]
601
- }
602
- ];
603
-
604
- // src/types/Application.ts
605
- var ApplicationStatus = {
606
- New: "new",
607
- Submitted: "submitted",
608
- Interviewing: "interviewing",
609
- Accepted: "accepted",
610
- Rejected: "rejected",
611
- Withdrawn: "withdrawn",
612
- Applying: "applying",
613
- Suggested: "suggested",
614
- Approved: "approved"
615
- };
616
-
617
- // src/types/ApplicationQuestion.ts
618
- var ApplicationQuestionTypeOptions = ["text", "select"];
619
-
620
- // src/types/Vacancy.ts
621
- var VacancyCategory = {
622
- Accounting: "Accounting",
623
- AdministrationAndOfficeSupport: "Administration & Office Support",
624
- AdvertisingArtsAndMedia: "Advertising, Arts & Media",
625
- BankingAndFinancialServices: "Banking & Financial Services",
626
- CallCentreAndCustomerService: "Call Centre & Customer Service",
627
- CEOAndGeneralManagement: "CEO & General Management",
628
- CommunityServicesAndDevelopment: "Community Services & Development",
629
- Construction: "Construction",
630
- ConsultingAndStrategy: "Consulting & Strategy",
631
- DesignAndArchitecture: "Design & Architecture",
632
- EducationAndTraining: "Education & Training",
633
- Engineering: "Engineering",
634
- FarmingAnimalsAndConservation: "Farming, Animals & Conservation",
635
- GovernmentAndDefence: "Government & Defence",
636
- HealthcareAndMedical: "Healthcare & Medical",
637
- HospitalityAndTourism: "Hospitality & Tourism",
638
- HumanResourcesAndRecruitment: "Human Resources & Recruitment",
639
- InformationAndCommunicationTechnology: "Information & Communication Technology",
640
- InsuranceAndSuperannuation: "Insurance & Superannuation",
641
- Legal: "Legal",
642
- ManufacturingTransportAndLogistics: "Manufacturing, Transport & Logistics",
643
- MarketingAndCommunications: "Marketing & Communications",
644
- MiningResourcesAndEnergy: "Mining, Resources & Energy",
645
- RealEstateAndProperty: "Real Estate & Property",
646
- RetailAndConsumerProducts: "Retail & Consumer Products",
647
- Sales: "Sales",
648
- ScienceAndTechnology: "Science & Technology",
649
- SelfEmployment: "Self Employment",
650
- SportAndRecreation: "Sport & Recreation",
651
- TradesAndServices: "Trades & Services"
652
- };
653
-
654
- // src/paths/firestorePaths.ts
655
- var firestorePaths = {
656
- clients: {
657
- collection: () => "clients",
658
- doc: (id) => `clients/${id}`,
659
- gmailTokens: (id) => `clients/${id}/gmailTokens`,
660
- emails: {
661
- collection: (clientId) => `clients/${clientId}/emails`,
662
- doc: (clientId, emailId) => `clients/${clientId}/emails/${emailId}`
663
- },
664
- questions: {
665
- collection: (clientId) => `clients/${clientId}/questions`,
666
- doc: (clientId, questionId) => `clients/${clientId}/questions/${questionId}`
667
- },
668
- initialQuestions: {
669
- collection: (clientId) => `clients/${clientId}/initialQuestions`,
670
- doc: (clientId, questionId) => `clients/${clientId}/initialQuestions/${questionId}`
671
- },
672
- logins: {
673
- collection: (clientId) => `clients/${clientId}/logins`,
674
- doc: (clientId, loginId) => `clients/${clientId}/logins/${loginId}`
675
- },
676
- resumes: {
677
- collection: (clientId) => `clients/${clientId}/resumes`,
678
- doc: (clientId, resumeId) => `clients/${clientId}/resumes/${resumeId}`
679
- },
680
- applications: {
681
- collection: (clientId) => `clients/${clientId}/applications`,
682
- doc: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}`,
683
- questions: {
684
- collection: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}/questions`,
685
- doc: (clientId, applicationId, questionId) => `clients/${clientId}/applications/${applicationId}/questions/${questionId}`
686
- }
687
- },
688
- interviews: {
689
- collection: (clientId) => `clients/${clientId}/interviews`,
690
- doc: (clientId, interviewId) => `clients/${clientId}/interviews/${interviewId}`
691
- },
692
- vacancySuggestions: {
693
- collection: (clientId) => `clients/${clientId}/vacancySuggestions`,
694
- doc: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`
695
- }
696
- },
697
- users: {
698
- collection: () => "users",
699
- doc: (id) => `users/${id}`
700
- },
701
- usersPub: {
702
- collection: () => "usersPub",
703
- doc: (id) => `usersPub/${id}`
704
- },
705
- vacancies: {
706
- collection: () => "vacancies",
707
- doc: (id) => `vacancies/${id}`
708
- },
709
- agents: {
710
- collection: () => "agents",
711
- doc: (id) => `agents/${id}`
712
- }
713
- };
714
-
715
1
  // src/static/jobClassification.ts
716
2
  var jobClassifications = {
717
3
  Accounting: [
@@ -1088,7 +374,729 @@ var jobClassifications = {
1088
374
  "Other"
1089
375
  ]
1090
376
  };
1091
- var jobClassification_default = jobClassifications;
377
+ var jobClassification_default = jobClassifications;
378
+
379
+ // src/static/locations.ts
380
+ var locations = [
381
+ // Global Remote Options
382
+ {
383
+ id: "remote-anywhere",
384
+ name: "Remote (Anywhere)",
385
+ country: "Remote",
386
+ region: "Global",
387
+ tags: ["remote", "work-from-home", "flexible"]
388
+ },
389
+ // Australia
390
+ {
391
+ id: "australia-anywhere",
392
+ name: "Anywhere in Australia",
393
+ country: "Australia",
394
+ region: "Australia",
395
+ tags: ["country-wide", "australia", "flexible"]
396
+ },
397
+ {
398
+ id: "sydney",
399
+ name: "Sydney",
400
+ country: "Australia",
401
+ region: "New South Wales",
402
+ tags: [
403
+ "major-city",
404
+ "coastal",
405
+ "business-hub",
406
+ "tech-hub",
407
+ "expat-friendly"
408
+ ]
409
+ },
410
+ {
411
+ id: "melbourne",
412
+ name: "Melbourne",
413
+ country: "Australia",
414
+ region: "Victoria",
415
+ tags: [
416
+ "major-city",
417
+ "cultural",
418
+ "business-hub",
419
+ "tech-hub",
420
+ "expat-friendly"
421
+ ]
422
+ },
423
+ {
424
+ id: "brisbane",
425
+ name: "Brisbane",
426
+ country: "Australia",
427
+ region: "Queensland",
428
+ tags: ["major-city", "coastal", "business-hub", "expat-friendly"]
429
+ },
430
+ {
431
+ id: "perth",
432
+ name: "Perth",
433
+ country: "Australia",
434
+ region: "Western Australia",
435
+ tags: ["major-city", "coastal", "mining", "tech-hub", "expat-friendly"]
436
+ },
437
+ {
438
+ id: "adelaide",
439
+ name: "Adelaide",
440
+ country: "Australia",
441
+ region: "South Australia",
442
+ tags: ["major-city", "coastal", "wine-region"]
443
+ },
444
+ {
445
+ id: "canberra",
446
+ name: "Canberra",
447
+ country: "Australia",
448
+ region: "Australian Capital Territory",
449
+ tags: ["capital", "government", "education"]
450
+ },
451
+ {
452
+ id: "hobart",
453
+ name: "Hobart",
454
+ country: "Australia",
455
+ region: "Tasmania",
456
+ tags: ["capital", "coastal", "tourism"]
457
+ },
458
+ {
459
+ id: "darwin",
460
+ name: "Darwin",
461
+ country: "Australia",
462
+ region: "Northern Territory",
463
+ tags: ["capital", "coastal", "tropical"]
464
+ },
465
+ {
466
+ id: "gold-coast",
467
+ name: "Gold Coast",
468
+ country: "Australia",
469
+ region: "Queensland",
470
+ tags: ["coastal", "tourism", "lifestyle"]
471
+ },
472
+ {
473
+ id: "newcastle",
474
+ name: "Newcastle",
475
+ country: "Australia",
476
+ region: "New South Wales",
477
+ tags: ["coastal", "industrial", "port"]
478
+ },
479
+ {
480
+ id: "wollongong",
481
+ name: "Wollongong",
482
+ country: "Australia",
483
+ region: "New South Wales",
484
+ tags: ["coastal", "industrial", "university"]
485
+ },
486
+ {
487
+ id: "geelong",
488
+ name: "Geelong",
489
+ country: "Australia",
490
+ region: "Victoria",
491
+ tags: ["coastal", "industrial", "manufacturing"]
492
+ },
493
+ {
494
+ id: "sunshine-coast",
495
+ name: "Sunshine Coast",
496
+ country: "Australia",
497
+ region: "Queensland",
498
+ tags: ["coastal", "tourism", "lifestyle"]
499
+ },
500
+ {
501
+ id: "central-coast",
502
+ name: "Central Coast",
503
+ country: "Australia",
504
+ region: "New South Wales",
505
+ tags: ["coastal", "lifestyle", "commuter"]
506
+ },
507
+ {
508
+ id: "toowoomba",
509
+ name: "Toowoomba",
510
+ country: "Australia",
511
+ region: "Queensland",
512
+ tags: ["regional", "agricultural", "education"]
513
+ },
514
+ // New Zealand
515
+ {
516
+ id: "new-zealand-anywhere",
517
+ name: "Anywhere in New Zealand",
518
+ country: "New Zealand",
519
+ region: "New Zealand",
520
+ tags: ["country-wide", "new-zealand", "flexible"]
521
+ },
522
+ {
523
+ id: "auckland",
524
+ name: "Auckland",
525
+ country: "New Zealand",
526
+ region: "Auckland",
527
+ tags: ["major-city", "coastal", "business-hub", "tech-hub"]
528
+ },
529
+ {
530
+ id: "wellington",
531
+ name: "Wellington",
532
+ country: "New Zealand",
533
+ region: "Wellington",
534
+ tags: ["capital", "coastal", "government", "tech-hub"]
535
+ },
536
+ {
537
+ id: "christchurch",
538
+ name: "Christchurch",
539
+ country: "New Zealand",
540
+ region: "Canterbury",
541
+ tags: ["major-city", "coastal", "rebuilding"]
542
+ },
543
+ {
544
+ id: "hamilton",
545
+ name: "Hamilton",
546
+ country: "New Zealand",
547
+ region: "Waikato",
548
+ tags: ["regional", "agricultural", "education"]
549
+ },
550
+ {
551
+ id: "tauranga",
552
+ name: "Tauranga",
553
+ country: "New Zealand",
554
+ region: "Bay of Plenty",
555
+ tags: ["coastal", "port", "lifestyle"]
556
+ },
557
+ {
558
+ id: "dunedin",
559
+ name: "Dunedin",
560
+ country: "New Zealand",
561
+ region: "Otago",
562
+ tags: ["coastal", "education", "heritage"]
563
+ },
564
+ {
565
+ id: "palmerston-north",
566
+ name: "Palmerston North",
567
+ country: "New Zealand",
568
+ region: "Manawatu-Wanganui",
569
+ tags: ["regional", "education", "agricultural"]
570
+ },
571
+ {
572
+ id: "napier",
573
+ name: "Napier",
574
+ country: "New Zealand",
575
+ region: "Hawke's Bay",
576
+ tags: ["coastal", "wine-region", "art-deco"]
577
+ },
578
+ {
579
+ id: "hastings",
580
+ name: "Hastings",
581
+ country: "New Zealand",
582
+ region: "Hawke's Bay",
583
+ tags: ["regional", "agricultural", "wine-region"]
584
+ },
585
+ {
586
+ id: "nelson",
587
+ name: "Nelson",
588
+ country: "New Zealand",
589
+ region: "Nelson",
590
+ tags: ["coastal", "tourism", "lifestyle"]
591
+ },
592
+ // Asia Pacific
593
+ {
594
+ id: "singapore",
595
+ name: "Singapore",
596
+ country: "Singapore",
597
+ region: "Singapore",
598
+ tags: [
599
+ "major-city",
600
+ "business-hub",
601
+ "financial",
602
+ "tech-hub",
603
+ "expat-friendly"
604
+ ]
605
+ },
606
+ {
607
+ id: "dubai",
608
+ name: "Dubai",
609
+ country: "UAE",
610
+ region: "Dubai",
611
+ tags: [
612
+ "major-city",
613
+ "business-hub",
614
+ "financial",
615
+ "tech-hub",
616
+ "expat-friendly"
617
+ ]
618
+ },
619
+ {
620
+ id: "tokyo",
621
+ name: "Tokyo",
622
+ country: "Japan",
623
+ region: "Kanto",
624
+ tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
625
+ },
626
+ {
627
+ id: "hong-kong",
628
+ name: "Hong Kong",
629
+ country: "China",
630
+ region: "Hong Kong",
631
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
632
+ },
633
+ {
634
+ id: "seoul",
635
+ name: "Seoul",
636
+ country: "South Korea",
637
+ region: "Seoul",
638
+ tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
639
+ },
640
+ {
641
+ id: "taipei",
642
+ name: "Taipei",
643
+ country: "Taiwan",
644
+ region: "Taipei",
645
+ tags: ["major-city", "business-hub", "tech-hub"]
646
+ },
647
+ {
648
+ id: "shanghai",
649
+ name: "Shanghai",
650
+ country: "China",
651
+ region: "Shanghai",
652
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
653
+ },
654
+ {
655
+ id: "shenzhen",
656
+ name: "Shenzhen",
657
+ country: "China",
658
+ region: "Guangdong",
659
+ tags: ["major-city", "tech-hub", "manufacturing"]
660
+ },
661
+ // North America
662
+ {
663
+ id: "us-anywhere",
664
+ name: "Anywhere in United States",
665
+ country: "United States",
666
+ region: "United States",
667
+ tags: ["country-wide", "us", "flexible"]
668
+ },
669
+ {
670
+ id: "new-york",
671
+ name: "New York",
672
+ country: "United States",
673
+ region: "New York",
674
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
675
+ },
676
+ {
677
+ id: "san-francisco",
678
+ name: "San Francisco",
679
+ country: "United States",
680
+ region: "California",
681
+ tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
682
+ },
683
+ {
684
+ id: "los-angeles",
685
+ name: "Los Angeles",
686
+ country: "United States",
687
+ region: "California",
688
+ tags: ["major-city", "entertainment", "coastal", "expat-friendly"]
689
+ },
690
+ {
691
+ id: "chicago",
692
+ name: "Chicago",
693
+ country: "United States",
694
+ region: "Illinois",
695
+ tags: ["major-city", "business-hub", "cultural"]
696
+ },
697
+ {
698
+ id: "seattle",
699
+ name: "Seattle",
700
+ country: "United States",
701
+ region: "Washington",
702
+ tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
703
+ },
704
+ {
705
+ id: "boston",
706
+ name: "Boston",
707
+ country: "United States",
708
+ region: "Massachusetts",
709
+ tags: ["major-city", "tech-hub", "education", "expat-friendly"]
710
+ },
711
+ {
712
+ id: "austin",
713
+ name: "Austin",
714
+ country: "United States",
715
+ region: "Texas",
716
+ tags: ["major-city", "tech-hub", "cultural"]
717
+ },
718
+ {
719
+ id: "denver",
720
+ name: "Denver",
721
+ country: "United States",
722
+ region: "Colorado",
723
+ tags: ["major-city", "outdoor", "lifestyle"]
724
+ },
725
+ {
726
+ id: "portland",
727
+ name: "Portland",
728
+ country: "United States",
729
+ region: "Oregon",
730
+ tags: ["major-city", "cultural", "lifestyle"]
731
+ },
732
+ {
733
+ id: "miami",
734
+ name: "Miami",
735
+ country: "United States",
736
+ region: "Florida",
737
+ tags: ["major-city", "coastal", "tourism"]
738
+ },
739
+ {
740
+ id: "canada-anywhere",
741
+ name: "Anywhere in Canada",
742
+ country: "Canada",
743
+ region: "Canada",
744
+ tags: ["country-wide", "canada", "flexible"]
745
+ },
746
+ {
747
+ id: "toronto",
748
+ name: "Toronto",
749
+ country: "Canada",
750
+ region: "Ontario",
751
+ tags: ["major-city", "business-hub", "tech-hub", "expat-friendly"]
752
+ },
753
+ {
754
+ id: "vancouver",
755
+ name: "Vancouver",
756
+ country: "Canada",
757
+ region: "British Columbia",
758
+ tags: ["major-city", "tech-hub", "coastal", "expat-friendly"]
759
+ },
760
+ {
761
+ id: "montreal",
762
+ name: "Montreal",
763
+ country: "Canada",
764
+ region: "Quebec",
765
+ tags: ["major-city", "cultural", "historical"]
766
+ },
767
+ {
768
+ id: "calgary",
769
+ name: "Calgary",
770
+ country: "Canada",
771
+ region: "Alberta",
772
+ tags: ["major-city", "business-hub", "energy"]
773
+ },
774
+ {
775
+ id: "edmonton",
776
+ name: "Edmonton",
777
+ country: "Canada",
778
+ region: "Alberta",
779
+ tags: ["major-city", "business-hub", "energy"]
780
+ },
781
+ {
782
+ id: "ottawa",
783
+ name: "Ottawa",
784
+ country: "Canada",
785
+ region: "Ontario",
786
+ tags: ["capital", "government", "education"]
787
+ },
788
+ {
789
+ id: "winnipeg",
790
+ name: "Winnipeg",
791
+ country: "Canada",
792
+ region: "Manitoba",
793
+ tags: ["major-city", "business-hub", "cultural"]
794
+ },
795
+ {
796
+ id: "halifax",
797
+ name: "Halifax",
798
+ country: "Canada",
799
+ region: "Nova Scotia",
800
+ tags: ["major-city", "coastal", "port"]
801
+ },
802
+ {
803
+ id: "victoria",
804
+ name: "Victoria",
805
+ country: "Canada",
806
+ region: "British Columbia",
807
+ tags: ["capital", "coastal", "lifestyle"]
808
+ },
809
+ {
810
+ id: "saskatoon",
811
+ name: "Saskatoon",
812
+ country: "Canada",
813
+ region: "Saskatchewan",
814
+ tags: ["major-city", "agricultural", "education"]
815
+ },
816
+ // Europe
817
+ {
818
+ id: "eu-anywhere",
819
+ name: "Anywhere in European Union",
820
+ country: "European Union",
821
+ region: "EU",
822
+ tags: ["region-wide", "eu", "flexible"]
823
+ },
824
+ {
825
+ id: "london",
826
+ name: "London",
827
+ country: "United Kingdom",
828
+ region: "England",
829
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
830
+ },
831
+ {
832
+ id: "manchester",
833
+ name: "Manchester",
834
+ country: "United Kingdom",
835
+ region: "England",
836
+ tags: ["major-city", "business-hub", "cultural"]
837
+ },
838
+ {
839
+ id: "birmingham",
840
+ name: "Birmingham",
841
+ country: "United Kingdom",
842
+ region: "England",
843
+ tags: ["major-city", "business-hub", "industrial"]
844
+ },
845
+ {
846
+ id: "edinburgh",
847
+ name: "Edinburgh",
848
+ country: "United Kingdom",
849
+ region: "Scotland",
850
+ tags: ["major-city", "cultural", "historical"]
851
+ },
852
+ {
853
+ id: "glasgow",
854
+ name: "Glasgow",
855
+ country: "United Kingdom",
856
+ region: "Scotland",
857
+ tags: ["major-city", "cultural", "industrial"]
858
+ },
859
+ {
860
+ id: "cardiff",
861
+ name: "Cardiff",
862
+ country: "United Kingdom",
863
+ region: "Wales",
864
+ tags: ["major-city", "capital", "cultural"]
865
+ },
866
+ {
867
+ id: "belfast",
868
+ name: "Belfast",
869
+ country: "United Kingdom",
870
+ region: "Northern Ireland",
871
+ tags: ["major-city", "capital", "cultural"]
872
+ },
873
+ {
874
+ id: "leeds",
875
+ name: "Leeds",
876
+ country: "United Kingdom",
877
+ region: "England",
878
+ tags: ["major-city", "business-hub", "cultural"]
879
+ },
880
+ {
881
+ id: "liverpool",
882
+ name: "Liverpool",
883
+ country: "United Kingdom",
884
+ region: "England",
885
+ tags: ["major-city", "coastal", "cultural"]
886
+ },
887
+ {
888
+ id: "bristol",
889
+ name: "Bristol",
890
+ country: "United Kingdom",
891
+ region: "England",
892
+ tags: ["major-city", "coastal", "cultural"]
893
+ },
894
+ // Europe
895
+ {
896
+ id: "berlin",
897
+ name: "Berlin",
898
+ country: "Germany",
899
+ region: "Berlin",
900
+ tags: ["major-city", "tech-hub", "cultural", "expat-friendly"]
901
+ },
902
+ {
903
+ id: "paris",
904
+ name: "Paris",
905
+ country: "France",
906
+ region: "Ile-de-France",
907
+ tags: ["major-city", "business-hub", "cultural", "expat-friendly"]
908
+ },
909
+ {
910
+ id: "amsterdam",
911
+ name: "Amsterdam",
912
+ country: "Netherlands",
913
+ region: "North Holland",
914
+ tags: ["major-city", "tech-hub", "cultural", "expat-friendly"]
915
+ },
916
+ {
917
+ id: "dublin",
918
+ name: "Dublin",
919
+ country: "Ireland",
920
+ region: "Dublin",
921
+ tags: ["major-city", "tech-hub", "business-hub", "expat-friendly"]
922
+ },
923
+ {
924
+ id: "barcelona",
925
+ name: "Barcelona",
926
+ country: "Spain",
927
+ region: "Catalonia",
928
+ tags: ["major-city", "coastal", "cultural", "expat-friendly"]
929
+ },
930
+ {
931
+ id: "madrid",
932
+ name: "Madrid",
933
+ country: "Spain",
934
+ region: "Madrid",
935
+ tags: ["major-city", "business-hub", "cultural"]
936
+ },
937
+ {
938
+ id: "rome",
939
+ name: "Rome",
940
+ country: "Italy",
941
+ region: "Lazio",
942
+ tags: ["major-city", "capital", "historical"]
943
+ },
944
+ {
945
+ id: "milan",
946
+ name: "Milan",
947
+ country: "Italy",
948
+ region: "Lombardy",
949
+ tags: ["major-city", "business-hub", "fashion"]
950
+ },
951
+ {
952
+ id: "vienna",
953
+ name: "Vienna",
954
+ country: "Austria",
955
+ region: "Vienna",
956
+ tags: ["major-city", "capital", "cultural"]
957
+ },
958
+ {
959
+ id: "zurich",
960
+ name: "Zurich",
961
+ country: "Switzerland",
962
+ region: "Zurich",
963
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
964
+ },
965
+ {
966
+ id: "stockholm",
967
+ name: "Stockholm",
968
+ country: "Sweden",
969
+ region: "Stockholm",
970
+ tags: ["major-city", "tech-hub", "business-hub", "expat-friendly"]
971
+ },
972
+ // Middle East
973
+ {
974
+ id: "abudhabi",
975
+ name: "Abu Dhabi",
976
+ country: "UAE",
977
+ region: "Abu Dhabi",
978
+ tags: ["major-city", "business-hub", "financial", "expat-friendly"]
979
+ }
980
+ ];
981
+
982
+ // src/types/Vacancy.ts
983
+ var VacancyCategory = {
984
+ Accounting: "Accounting",
985
+ AdministrationAndOfficeSupport: "Administration & Office Support",
986
+ AdvertisingArtsAndMedia: "Advertising, Arts & Media",
987
+ BankingAndFinancialServices: "Banking & Financial Services",
988
+ CallCentreAndCustomerService: "Call Centre & Customer Service",
989
+ CEOAndGeneralManagement: "CEO & General Management",
990
+ CommunityServicesAndDevelopment: "Community Services & Development",
991
+ Construction: "Construction",
992
+ ConsultingAndStrategy: "Consulting & Strategy",
993
+ DesignAndArchitecture: "Design & Architecture",
994
+ EducationAndTraining: "Education & Training",
995
+ Engineering: "Engineering",
996
+ FarmingAnimalsAndConservation: "Farming, Animals & Conservation",
997
+ GovernmentAndDefence: "Government & Defence",
998
+ HealthcareAndMedical: "Healthcare & Medical",
999
+ HospitalityAndTourism: "Hospitality & Tourism",
1000
+ HumanResourcesAndRecruitment: "Human Resources & Recruitment",
1001
+ InformationAndCommunicationTechnology: "Information & Communication Technology",
1002
+ InsuranceAndSuperannuation: "Insurance & Superannuation",
1003
+ Legal: "Legal",
1004
+ ManufacturingTransportAndLogistics: "Manufacturing, Transport & Logistics",
1005
+ MarketingAndCommunications: "Marketing & Communications",
1006
+ MiningResourcesAndEnergy: "Mining, Resources & Energy",
1007
+ RealEstateAndProperty: "Real Estate & Property",
1008
+ RetailAndConsumerProducts: "Retail & Consumer Products",
1009
+ Sales: "Sales",
1010
+ ScienceAndTechnology: "Science & Technology",
1011
+ SelfEmployment: "Self Employment",
1012
+ SportAndRecreation: "Sport & Recreation",
1013
+ TradesAndServices: "Trades & Services"
1014
+ };
1015
+
1016
+ // src/types/clients/Application.ts
1017
+ var ApplicationStatus = {
1018
+ New: "new",
1019
+ Submitted: "submitted",
1020
+ Interviewing: "interviewing",
1021
+ Accepted: "accepted",
1022
+ Rejected: "rejected",
1023
+ Withdrawn: "withdrawn",
1024
+ Applying: "applying",
1025
+ Suggested: "suggested",
1026
+ Approved: "approved"
1027
+ };
1028
+
1029
+ // src/types/clients/ApplicationQuestion.ts
1030
+ var ApplicationQuestionTypeOptions = ["text", "select"];
1031
+
1032
+ // src/paths/firestorePaths.ts
1033
+ var firestorePaths = {
1034
+ clients: {
1035
+ collection: () => "clients",
1036
+ doc: (id) => `clients/${id}`,
1037
+ gmailTokens: (id) => `clients/${id}/gmailTokens`,
1038
+ emails: {
1039
+ collection: (clientId) => `clients/${clientId}/emails`,
1040
+ doc: (clientId, emailId) => `clients/${clientId}/emails/${emailId}`
1041
+ },
1042
+ questions: {
1043
+ collection: (clientId) => `clients/${clientId}/questions`,
1044
+ doc: (clientId, questionId) => `clients/${clientId}/questions/${questionId}`
1045
+ },
1046
+ initialQuestions: {
1047
+ collection: (clientId) => `clients/${clientId}/initialQuestions`,
1048
+ doc: (clientId, questionId) => `clients/${clientId}/initialQuestions/${questionId}`
1049
+ },
1050
+ logins: {
1051
+ collection: (clientId) => `clients/${clientId}/logins`,
1052
+ doc: (clientId, loginId) => `clients/${clientId}/logins/${loginId}`
1053
+ },
1054
+ resumes: {
1055
+ collection: (clientId) => `clients/${clientId}/resumes`,
1056
+ doc: (clientId, resumeId) => `clients/${clientId}/resumes/${resumeId}`
1057
+ },
1058
+ applications: {
1059
+ collection: (clientId) => `clients/${clientId}/applications`,
1060
+ doc: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}`,
1061
+ virtualinterview: {
1062
+ collection: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}/virtualinterview`,
1063
+ doc: (clientId, applicationId, interviewId) => `clients/${clientId}/applications/${applicationId}/virtualinterview/${interviewId}`
1064
+ },
1065
+ questions: {
1066
+ collection: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}/questions`,
1067
+ doc: (clientId, applicationId, questionId) => `clients/${clientId}/applications/${applicationId}/questions/${questionId}`
1068
+ },
1069
+ enrichedForms: {
1070
+ collection: (clientId, applicationId) => `clients/${clientId}/applications/${applicationId}/enrichedForms`,
1071
+ doc: (clientId, applicationId, formId) => `clients/${clientId}/applications/${applicationId}/enrichedForms/${formId}`
1072
+ }
1073
+ },
1074
+ vacancySuggestions: {
1075
+ collection: (clientId) => `clients/${clientId}/vacancySuggestions`,
1076
+ doc: (clientId, suggestionId) => `clients/${clientId}/vacancySuggestions/${suggestionId}`
1077
+ }
1078
+ },
1079
+ users: {
1080
+ collection: () => "users",
1081
+ doc: (id) => `users/${id}`
1082
+ },
1083
+ usersPub: {
1084
+ collection: () => "usersPub",
1085
+ doc: (id) => `usersPub/${id}`
1086
+ },
1087
+ vacancies: {
1088
+ collection: () => "vacancies",
1089
+ doc: (id) => `vacancies/${id}`,
1090
+ extractedForms: {
1091
+ collection: (vacancyId) => `vacancies/${vacancyId}/extractedForms`,
1092
+ doc: (vacancyId, formId) => `vacancies/${vacancyId}/extractedForms/${formId}`
1093
+ }
1094
+ },
1095
+ agents: {
1096
+ collection: () => "agents",
1097
+ doc: (id) => `agents/${id}`
1098
+ }
1099
+ };
1092
1100
  export {
1093
1101
  ApplicationQuestionTypeOptions,
1094
1102
  ApplicationStatus,