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