lancer-shared 1.2.53 → 1.2.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/bundle.cjs.js +1 -1
  2. package/dist/constants/routes.d.ts +1 -1
  3. package/package.json +1 -1
  4. package/dist/constants/collections.d.ts +0 -13
  5. package/dist/constants/collections.js +0 -14
  6. package/dist/constants/common-questions.js +0 -57
  7. package/dist/constants/index.js +0 -18
  8. package/dist/constants/job-filter-options.js +0 -265
  9. package/dist/constants/job-status.js +0 -21
  10. package/dist/constants/mappings/countryMapping.js +0 -120
  11. package/dist/constants/mappings/regionMapping.js +0 -240
  12. package/dist/constants/organization.d.ts +0 -2
  13. package/dist/constants/routes.js +0 -116
  14. package/dist/constants/upwork-accounts.js +0 -18
  15. package/dist/index.js +0 -4
  16. package/dist/schemas/account/account-status.js +0 -8
  17. package/dist/schemas/account/bidder-account.js +0 -35
  18. package/dist/schemas/account/index.js +0 -3
  19. package/dist/schemas/account/scraper-account.js +0 -34
  20. package/dist/schemas/ai/ai-config.d.ts +0 -36
  21. package/dist/schemas/ai/ai-config.js +0 -9
  22. package/dist/schemas/ai/index.d.ts +0 -3
  23. package/dist/schemas/ai/index.js +0 -3
  24. package/dist/schemas/ai/proposal.d.ts +0 -82
  25. package/dist/schemas/ai/proposal.js +0 -13
  26. package/dist/schemas/ai/suitability.d.ts +0 -37
  27. package/dist/schemas/ai/suitability.js +0 -14
  28. package/dist/schemas/bid/bid-result.js +0 -11
  29. package/dist/schemas/bid/bid.js +0 -35
  30. package/dist/schemas/bid/index.js +0 -2
  31. package/dist/schemas/campaign/campaign-ai-metrics.js +0 -6
  32. package/dist/schemas/campaign/campaign-analytics.js +0 -42
  33. package/dist/schemas/campaign/campaign-expenses.js +0 -6
  34. package/dist/schemas/campaign/campaign-insights.js +0 -31
  35. package/dist/schemas/campaign/campaign-integrations.d.ts +0 -87
  36. package/dist/schemas/campaign/campaign-integrations.js +0 -13
  37. package/dist/schemas/campaign/campaign-job-count.d.ts +0 -2
  38. package/dist/schemas/campaign/campaign-job-count.js +0 -3
  39. package/dist/schemas/campaign/campaign.js +0 -41
  40. package/dist/schemas/campaign/index.js +0 -7
  41. package/dist/schemas/chat-message/chat-message.d.ts +0 -31
  42. package/dist/schemas/chat-message/chat-message.js +0 -10
  43. package/dist/schemas/chat-message/index.d.ts +0 -1
  44. package/dist/schemas/chat-message/index.js +0 -1
  45. package/dist/schemas/config/agency-config.d.ts +0 -17
  46. package/dist/schemas/config/agency-config.js +0 -7
  47. package/dist/schemas/config/index.d.ts +0 -1
  48. package/dist/schemas/config/index.js +0 -1
  49. package/dist/schemas/event/index.d.ts +0 -58
  50. package/dist/schemas/index.js +0 -17
  51. package/dist/schemas/job-filters/index.d.ts +0 -1
  52. package/dist/schemas/job-filters/index.js +0 -1
  53. package/dist/schemas/job-filters/job-filters.d.ts +0 -241
  54. package/dist/schemas/job-filters/job-filters.js +0 -84
  55. package/dist/schemas/lead/index.js +0 -173
  56. package/dist/schemas/lead/lead-note.d.ts +0 -83
  57. package/dist/schemas/lead/lead-note.js +0 -27
  58. package/dist/schemas/lead/lead-status.js +0 -23
  59. package/dist/schemas/lead/nuxt.d.ts +0 -1664
  60. package/dist/schemas/lead/nuxt.js +0 -287
  61. package/dist/schemas/logger/index.js +0 -1
  62. package/dist/schemas/logger/log-event.js +0 -117
  63. package/dist/schemas/meter-event/index.d.ts +0 -12
  64. package/dist/schemas/organization/index.js +0 -70
  65. package/dist/schemas/organization/member.js +0 -7
  66. package/dist/schemas/organization/organization.d.ts +0 -240
  67. package/dist/schemas/organization/organization.js +0 -16
  68. package/dist/schemas/organization/subscription.js +0 -17
  69. package/dist/schemas/proxy/index.js +0 -3
  70. package/dist/schemas/proxy/proxy-available-replacements.js +0 -3
  71. package/dist/schemas/proxy/proxy-country.js +0 -249
  72. package/dist/schemas/proxy/proxy.js +0 -29
  73. package/dist/schemas/saved-search/index.js +0 -9
  74. package/dist/schemas/scraper/index.js +0 -2
  75. package/dist/schemas/scraper/scrape-payload.js +0 -21
  76. package/dist/schemas/scraper/scrape-result.js +0 -23
  77. package/dist/schemas/shared.js +0 -19
  78. package/dist/schemas/tier/index.d.ts +0 -119
  79. package/dist/schemas/time-filter/index.js +0 -6
  80. package/dist/schemas/transaction/index.js +0 -17
  81. package/dist/schemas/usage/index.js +0 -18
  82. package/dist/schemas/user/index.js +0 -52
  83. package/dist/types/account/account-status.d.ts +0 -3
  84. package/dist/types/account/account-status.js +0 -1
  85. package/dist/types/account/bidder-account.d.ts +0 -7
  86. package/dist/types/account/bidder-account.js +0 -1
  87. package/dist/types/account/index.d.ts +0 -3
  88. package/dist/types/account/index.js +0 -3
  89. package/dist/types/account/scraper-account.d.ts +0 -5
  90. package/dist/types/account/scraper-account.js +0 -1
  91. package/dist/types/ai/ai-config.d.ts +0 -6
  92. package/dist/types/ai/ai-config.js +0 -1
  93. package/dist/types/ai/index.d.ts +0 -3
  94. package/dist/types/ai/index.js +0 -3
  95. package/dist/types/ai/proposal.d.ts +0 -10
  96. package/dist/types/ai/proposal.js +0 -1
  97. package/dist/types/ai/suitability.d.ts +0 -6
  98. package/dist/types/ai/suitability.js +0 -1
  99. package/dist/types/bid/bid-result.d.ts +0 -5
  100. package/dist/types/bid/bid-result.js +0 -1
  101. package/dist/types/bid/bid.d.ts +0 -9
  102. package/dist/types/bid/bid.js +0 -1
  103. package/dist/types/bid/index.d.ts +0 -2
  104. package/dist/types/bid/index.js +0 -2
  105. package/dist/types/campaign/campaign-analytics.d.ts +0 -7
  106. package/dist/types/campaign/campaign-analytics.js +0 -1
  107. package/dist/types/campaign/campaign-expenses.d.ts +0 -3
  108. package/dist/types/campaign/campaign-expenses.js +0 -1
  109. package/dist/types/campaign/campaign-insights.js +0 -1
  110. package/dist/types/campaign/campaign-integrations.d.ts +0 -6
  111. package/dist/types/campaign/campaign-integrations.js +0 -1
  112. package/dist/types/campaign/campaign-job-count.d.ts +0 -4
  113. package/dist/types/campaign/campaign-job-count.js +0 -1
  114. package/dist/types/campaign/campaign.js +0 -1
  115. package/dist/types/campaign/index.js +0 -6
  116. package/dist/types/chat-message/chat-message.d.ts +0 -4
  117. package/dist/types/chat-message/chat-message.js +0 -1
  118. package/dist/types/chat-message/index.d.ts +0 -1
  119. package/dist/types/chat-message/index.js +0 -1
  120. package/dist/types/config/agency-config.d.ts +0 -4
  121. package/dist/types/config/agency-config.js +0 -1
  122. package/dist/types/config/index.d.ts +0 -1
  123. package/dist/types/config/index.js +0 -1
  124. package/dist/types/index.d.ts +0 -15
  125. package/dist/types/index.js +0 -15
  126. package/dist/types/job/index.d.ts +0 -48
  127. package/dist/types/job/index.js +0 -3
  128. package/dist/types/job/job-note.d.ts +0 -10
  129. package/dist/types/job/job-note.js +0 -1
  130. package/dist/types/job/job-status.d.ts +0 -5
  131. package/dist/types/job/job-status.js +0 -9
  132. package/dist/types/job/nuxt.d.ts +0 -4
  133. package/dist/types/job/nuxt.js +0 -1
  134. package/dist/types/job-filters/index.d.ts +0 -1
  135. package/dist/types/job-filters/index.js +0 -1
  136. package/dist/types/job-filters/job-filters.d.ts +0 -4
  137. package/dist/types/job-filters/job-filters.js +0 -1
  138. package/dist/types/logger/index.d.ts +0 -1
  139. package/dist/types/logger/index.js +0 -1
  140. package/dist/types/logger/log-event.js +0 -1
  141. package/dist/types/saved-search/index.d.ts +0 -6
  142. package/dist/types/saved-search/index.js +0 -1
  143. package/dist/types/scraper/index.d.ts +0 -2
  144. package/dist/types/scraper/index.js +0 -2
  145. package/dist/types/scraper/scrape-payload.d.ts +0 -10
  146. package/dist/types/scraper/scrape-payload.js +0 -1
  147. package/dist/types/scraper/scrape-result.d.ts +0 -8
  148. package/dist/types/scraper/scrape-result.js +0 -1
  149. package/dist/types/shared.d.ts +0 -8
  150. package/dist/types/shared.js +0 -1
  151. package/dist/types/time-filter/index.d.ts +0 -3
  152. package/dist/types/time-filter/index.js +0 -1
  153. package/dist/types/transaction/index.d.ts +0 -4
  154. package/dist/types/transaction/index.js +0 -1
  155. package/dist/types/usage/index.d.ts +0 -6
  156. package/dist/types/usage/index.js +0 -1
  157. package/dist/types/user/index.d.ts +0 -15
  158. package/dist/types/user/index.js +0 -1
  159. package/dist/utils/index.js +0 -1
  160. package/dist/utils/try-catch.js +0 -10
@@ -6533,8 +6533,8 @@ const ROUTES = {
6533
6533
  CONNECTS_SAVED: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/connects-saved`,
6534
6534
  BIDDER_ACCOUNTS: {
6535
6535
  BASE: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/bidder-account`,
6536
+ CONNECT: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/bidder-account/connect`,
6536
6537
  },
6537
- UPWORK_ACCOUNT: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/upwork-account`,
6538
6538
  LEADS: {
6539
6539
  BASE: (organizationId, campaignId) => `organizations/${organizationId}/campaigns/${campaignId}/leads`,
6540
6540
  BY_ID: (organizationId, campaignId, leadId) => `organizations/${organizationId}/campaigns/${campaignId}/leads/${leadId}`,
@@ -120,8 +120,8 @@ export declare const ROUTES: {
120
120
  readonly CONNECTS_SAVED: (organizationId: string, campaignId: string) => string;
121
121
  readonly BIDDER_ACCOUNTS: {
122
122
  readonly BASE: (organizationId: string, campaignId: string) => string;
123
+ readonly CONNECT: (organizationId: string, campaignId: string) => string;
123
124
  };
124
- readonly UPWORK_ACCOUNT: (organizationId: string, campaignId: string) => string;
125
125
  readonly LEADS: {
126
126
  readonly BASE: (organizationId: string, campaignId: string) => string;
127
127
  readonly BY_ID: (organizationId: string, campaignId: string, leadId: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lancer-shared",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "description": "This package contains shared stuff.",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "dist/bundle.cjs.js",
@@ -1,13 +0,0 @@
1
- export declare const COLLECTIONS: {
2
- readonly USERS: "users";
3
- readonly SETTINGS: "settings";
4
- readonly CAMPAIGNS: "campaigns";
5
- readonly LEADS: "leads";
6
- readonly EVENTS: "events";
7
- readonly SCRAPER_ACCOUNTS: "scrapers";
8
- readonly BIDDER_ACCOUNTS: "bidders";
9
- readonly CAMPAIGN_ACTIVITIES: (userId: string, campaignId: string) => string;
10
- readonly ORGANIZATIONS: "organizations";
11
- readonly PROXIES: "proxies";
12
- readonly TRANSACTIONS: "transactions";
13
- };
@@ -1,14 +0,0 @@
1
- // Base collection names
2
- export const COLLECTIONS = {
3
- USERS: "users",
4
- SETTINGS: "settings",
5
- CAMPAIGNS: "campaigns",
6
- LEADS: "leads",
7
- EVENTS: "events",
8
- SCRAPER_ACCOUNTS: "scrapers",
9
- BIDDER_ACCOUNTS: "bidders",
10
- CAMPAIGN_ACTIVITIES: (userId, campaignId) => `users/${userId}/campaigns/${campaignId}/activities`,
11
- ORGANIZATIONS: "organizations",
12
- PROXIES: "proxies",
13
- TRANSACTIONS: "transactions",
14
- };
@@ -1,57 +0,0 @@
1
- export const commonQuestions = [
2
- {
3
- id: 'similar_experience',
4
- question: 'Describe your recent experience with similar projects',
5
- placeholder: 'ex: [Answer the question based on case studies, if not certain ask to discuss in DMs]',
6
- },
7
- {
8
- id: 'profile_links',
9
- question: 'Include a link to your GitHub profile and/or website',
10
- placeholder: 'ex: [https://github.com/yourusername or https://yourwebsite.com]',
11
- },
12
- {
13
- id: 'frameworks',
14
- question: 'What frameworks have you worked with?',
15
- placeholder: 'ex: [NextJS, React, TailwindCSS, etc...]',
16
- },
17
- {
18
- id: 'testing_approach',
19
- question: 'Describe your approach to testing and improving QA',
20
- placeholder: 'ex: [We are using test-driven development, and we are using Jest for testing]',
21
- },
22
- {
23
- id: 'certifications',
24
- question: 'Please list any certifications related to this project',
25
- placeholder: 'ex: [Certification in React, Certification in NextJS, etc...]',
26
- },
27
- {
28
- id: 'similar_project',
29
- question: 'What past project or job have you had that is most like this one and why?',
30
- placeholder: "ex: [Describe a similar project and explain the key similarities... If you can't answer based on the case studies, ask to discuss in DMs]",
31
- },
32
- {
33
- id: 'project_fit',
34
- question: 'Why do you think you are a good fit for this particular project?',
35
- placeholder: 'ex: [Explain how your skills and experience match the project requirements...]',
36
- },
37
- {
38
- id: 'job_questions',
39
- question: 'Do you have any questions about the job description?',
40
- placeholder: 'ex: [Ask for any clarifications needed about the role or requirements...]',
41
- },
42
- {
43
- id: 'project_questions',
44
- question: 'What questions do you have about the project?',
45
- placeholder: 'ex: [Ask about project scope, timeline, team structure...]',
46
- },
47
- {
48
- id: 'project_suggestions',
49
- question: 'Do you have suggestions to make this project run successfully?',
50
- placeholder: 'ex: [Ask to discuss in DMs]',
51
- },
52
- {
53
- id: 'company_info',
54
- question: 'What is your company website URL? . . . Company size?',
55
- placeholder: 'ex: [https://company.com | Number of employees: ...]',
56
- },
57
- ];
@@ -1,18 +0,0 @@
1
- export const paths = {
2
- auth: {
3
- register: `auth/register`,
4
- },
5
- users: {
6
- root: 'users',
7
- details: (id) => `users/${id}`,
8
- },
9
- };
10
- export * from './job-filter-options';
11
- export { default as countryMapping } from './mappings/countryMapping';
12
- export { default as regionMapping } from './mappings/regionMapping';
13
- export * from './job-filter-options';
14
- export * from './common-questions';
15
- export * from './job-status';
16
- export * from './routes';
17
- export * from './collections';
18
- export * from './upwork-accounts';
@@ -1,265 +0,0 @@
1
- export const JOB_FILTER_OPTIONS = {
2
- REGIONS: ["Worldwide", "UKOnly", "USOnly"],
3
- PROJECT_DURATION: [
4
- "Less than 1 month",
5
- "1 to 3 months",
6
- "3 to 6 months",
7
- "More than 6 months",
8
- "Unspecified",
9
- ],
10
- ENGAGEMENT_TYPE: [
11
- "Less than 30 hrs/week",
12
- "More than 30 hrs/week",
13
- "Unspecified",
14
- ],
15
- VENDOR_TYPE: ["Independent", "Agency", "Unspecified"],
16
- PAYMENT_TYPE: ["Fixed-price", "Hourly", "Unspecified"],
17
- TALENT_TYPE: ["Agency", "Independent", "Unspecified"],
18
- ENGLISH_LEVELS: [
19
- "Fluent",
20
- "Conversational",
21
- "Native or Bilingual",
22
- "Unspecified",
23
- ],
24
- EXPERIENCE_LEVELS: ["Entry level", "Intermediate", "Expert"],
25
- REQUIRED_EARNINGS: [100, 1000, 10000],
26
- REQUIRED_JSS: [">80%", ">90%", "100%", "RT"],
27
- HIERARCHICAL_CATEGORIES: [
28
- {
29
- label: "Accounting & Consulting",
30
- value: "accounting-consulting",
31
- children: [
32
- "Accounting & Bookkeeping",
33
- "Financial Planning",
34
- "Management Consulting & Analysis",
35
- "Other - Accounting & Consulting",
36
- "Personal & Professional Coaching",
37
- "Recruiting & Human Resources",
38
- ],
39
- },
40
- {
41
- label: "Admin Support",
42
- value: "admin-support",
43
- children: [
44
- "Data Entry & Transcription Services",
45
- "Market Research & Product Reviews",
46
- "Project Management",
47
- "Virtual Assistance",
48
- ],
49
- },
50
- {
51
- label: "Customer Service",
52
- value: "customer-service",
53
- children: [
54
- "Community Management & Tagging",
55
- "Customer Service & Tech Support",
56
- ],
57
- },
58
- {
59
- label: "Data Science & Analytics",
60
- value: "data-science-analytics",
61
- children: [
62
- "AI & Machine Learning",
63
- "Data Analysis & Testing",
64
- "Data Extraction/ETL",
65
- "Data Mining & Management",
66
- ],
67
- },
68
- {
69
- label: "Design & Creative",
70
- value: "design-creative",
71
- children: [
72
- "Art & Illustration",
73
- "Audio & Music Production",
74
- "Branding & Logo Design",
75
- "Graphic, Editorial & Presentation Design",
76
- "NFT, AR/VR & Game Art",
77
- "Performing Arts",
78
- "Photography",
79
- "Product Design",
80
- "Video & Animation",
81
- ],
82
- },
83
- {
84
- label: "Engineering & Architecture",
85
- value: "engineering-architecture",
86
- children: [
87
- "3D Modeling & CAD",
88
- "Building & Landscape Architecture",
89
- "Chemical Engineering",
90
- "Civil & Structural Engineering",
91
- "Contract Manufacturing",
92
- "Electrical & Electronic Engineering",
93
- "Energy & Mechanical Engineering",
94
- ],
95
- },
96
- {
97
- label: "IT & Networking",
98
- value: "it-networking",
99
- children: [
100
- "Database Management & Administration",
101
- "DevOps & Solution Architecture",
102
- "ERP/CRM Software",
103
- "Information Security & Compliance",
104
- "Network & System Administration",
105
- ],
106
- },
107
- {
108
- label: "Legal",
109
- value: "legal",
110
- children: [
111
- "Corporate & Contract Law",
112
- "Finance & Tax Law",
113
- "International & Immigration Law",
114
- "Public Law",
115
- ],
116
- },
117
- {
118
- label: "Sales & Marketing",
119
- value: "sales-marketing",
120
- children: [
121
- "Digital Marketing",
122
- "Lead Generation & Telemarketing",
123
- "Marketing, PR & Brand Strategy",
124
- ],
125
- },
126
- {
127
- label: "Translation",
128
- value: "translation",
129
- children: [
130
- "Language Tutoring & Interpretation",
131
- "Translation & Localization Services",
132
- ],
133
- },
134
- {
135
- label: "Software Development",
136
- value: "software-development",
137
- children: [
138
- "AI Apps & Integration",
139
- "Blockchain, NFT & Cryptocurrency",
140
- "Desktop Application Development",
141
- "Ecommerce Development",
142
- "Game Design & Development",
143
- "Mobile Development",
144
- "Other - Software Development",
145
- "Product Management & Scrum",
146
- "QA Testing",
147
- "Scripts & Utilities",
148
- "Web & Mobile Design",
149
- "Web Development",
150
- ],
151
- },
152
- {
153
- label: "Writing",
154
- value: "writing",
155
- children: [
156
- "Content Writing",
157
- "Editing & Proofreading Services",
158
- "Professional & Business Writing",
159
- "Sales & Marketing Copywriting",
160
- ],
161
- },
162
- ],
163
- CATEGORIES: [
164
- "Personal & Professional Coaching",
165
- "Accounting & Bookkeeping",
166
- "Financial Planning",
167
- "Recruiting & Human Resources",
168
- "Management Consulting & Analysis",
169
- "Other - Accounting & Consulting",
170
- "Data Entry & Transcription Services",
171
- "Virtual Assistance",
172
- "Project Management",
173
- "Market Research & Product Reviews",
174
- "Community Management & Tagging",
175
- "Customer Service & Tech Support",
176
- "Data Analysis & Testing",
177
- "Data Extraction/ETL",
178
- "Data Mining & Management",
179
- "AI & Machine Learning",
180
- "Art & Illustration",
181
- "Audio & Music Production",
182
- "Branding & Logo Design",
183
- "NFT, AR/VR & Game Art",
184
- "Graphic, Editorial & Presentation Design",
185
- "Performing Arts",
186
- "Photography",
187
- "Product Design",
188
- "Video & Animation",
189
- "Building & Landscape Architecture",
190
- "Chemical Engineering",
191
- "Civil & Structural Engineering",
192
- "Contract Manufacturing",
193
- "Electrical & Electronic Engineering",
194
- "Energy & Mechanical Engineering",
195
- "3D Modeling & CAD",
196
- "Database Management & Administration",
197
- "ERP/CRM Software",
198
- "Information Security & Compliance",
199
- "Network & System Administration",
200
- "DevOps & Solution Architecture",
201
- "Corporate & Contract Law",
202
- "International & Immigration Law",
203
- "Finance & Tax Law",
204
- "Public Law",
205
- "Digital Marketing",
206
- "Lead Generation & Telemarketing",
207
- "Marketing, PR & Brand Strategy",
208
- "Language Tutoring & Interpretation",
209
- "Translation & Localization Services",
210
- "Blockchain, NFT & Cryptocurrency",
211
- "AI Apps & Integration",
212
- "Desktop Application Development",
213
- "Ecommerce Development",
214
- "Game Design & Development",
215
- "Mobile Development",
216
- "Other - Software Development",
217
- "Product Management & Scrum",
218
- "QA Testing",
219
- "Scripts & Utilities",
220
- "Web & Mobile Design",
221
- "Web Development",
222
- "Sales & Marketing Copywriting",
223
- "Content Writing",
224
- "Editing & Proofreading Services",
225
- "Professional & Business Writing",
226
- ],
227
- CLIENT_INDUSTRY: [
228
- "Aerospace",
229
- "Agriculture & Forestry",
230
- "Art & Design",
231
- "Automotive",
232
- "Aviation",
233
- "Education",
234
- "Energy & Utilities",
235
- "Engineering & Architecture",
236
- "Fashion & Beauty",
237
- "Finance & Accounting",
238
- "Food & Beverage",
239
- "Government & Public Sector",
240
- "Health & Fitness",
241
- "HR & Business Services",
242
- "Legal",
243
- "Manufacturing & Construction",
244
- "Media & Entertainment",
245
- "Military & Defense",
246
- "Mining",
247
- "Real Estate",
248
- "Retail & Consumer Goods",
249
- "Sales & Marketing",
250
- "Science & Medicine",
251
- "Sports & Recreation",
252
- "Supply Chain & Logistics",
253
- "Tech & IT",
254
- "Transportation & Warehousing",
255
- "Travel & Hospitality",
256
- ],
257
- CLIENT_SIZE: [
258
- "Individual client",
259
- "Small company (2-9 people)",
260
- "Mid-sized company (10-99 people)",
261
- "Large company (100-1,000 people)",
262
- "Large company (1,000+ people)",
263
- "Unspecified",
264
- ],
265
- };
@@ -1,21 +0,0 @@
1
- export const jobStatusOrder = [
2
- "leads",
3
- "contacted",
4
- "viewed",
5
- "replied",
6
- "negotiations",
7
- "won",
8
- "lost",
9
- ];
10
- export const getPreviousStatus = (status) => {
11
- if (status === "won")
12
- return "negotiations";
13
- if (status === "lost")
14
- return "negotiations";
15
- const index = jobStatusOrder.indexOf(status);
16
- return index > 0 ? jobStatusOrder[index - 1] : null;
17
- };
18
- export const getNextStatus = (status) => {
19
- const index = jobStatusOrder.indexOf(status);
20
- return index < jobStatusOrder.length - 1 ? jobStatusOrder[index + 1] : null;
21
- };
@@ -1,120 +0,0 @@
1
- const countryMapping = {
2
- USA: "United States",
3
- GBR: "United Kingdom",
4
- AUS: "Australia",
5
- CAN: "Canada",
6
- IND: "India",
7
- NLD: "Netherlands",
8
- ARE: "United Arab Emirates",
9
- DEU: "Germany",
10
- SAU: "Saudi Arabia",
11
- FRA: "France",
12
- TUR: "Turkey",
13
- CHE: "Switzerland",
14
- ISR: "Israel",
15
- ITA: "Italy",
16
- ESP: "Spain",
17
- PAK: "Pakistan",
18
- SGP: "Singapore",
19
- KAZ: "Kazakhstan",
20
- UKR: "Ukraine",
21
- IRL: "Ireland",
22
- SWE: "Sweden",
23
- ZAF: "South Africa",
24
- CHN: "China",
25
- NOR: "Norway",
26
- POL: "Poland",
27
- COL: "Colombia",
28
- NZL: "New Zealand",
29
- ROU: "Romania",
30
- BRA: "Brazil",
31
- GRC: "Greece",
32
- BGR: "Bulgaria",
33
- DNK: "Denmark",
34
- PHL: "Philippines",
35
- BEL: "Belgium",
36
- AUT: "Austria",
37
- HKG: "Hong Kong",
38
- QAT: "Qatar",
39
- BGD: "Bangladesh",
40
- PRT: "Portugal",
41
- CYP: "Cyprus",
42
- LKA: "Sri Lanka",
43
- NGA: "Nigeria",
44
- VNM: "Vietnam",
45
- JPN: "Japan",
46
- LVA: "Latvia",
47
- THA: "Thailand",
48
- CZE: "Czech Republic",
49
- MEX: "Mexico",
50
- EGY: "Egypt",
51
- KEN: "Kenya",
52
- KWT: "Kuwait",
53
- CHL: "Chile",
54
- EST: "Estonia",
55
- UZB: "Uzbekistan",
56
- FIN: "Finland",
57
- HRV: "Croatia",
58
- HUN: "Hungary",
59
- KOR: "South Korea",
60
- LTU: "Lithuania",
61
- PRI: "Puerto Rico",
62
- ALB: "Albania",
63
- BHR: "Bahrain",
64
- GEO: "Georgia",
65
- GTM: "Guatemala",
66
- IDN: "Indonesia",
67
- LBN: "Lebanon",
68
- UGA: "Uganda",
69
- ARG: "Argentina",
70
- ARM: "Armenia",
71
- BMU: "Bermuda",
72
- CRI: "Costa Rica",
73
- CYM: "Cayman Islands",
74
- GHA: "Ghana",
75
- ISL: "Iceland",
76
- JOR: "Jordan",
77
- LUX: "Luxembourg",
78
- MAR: "Morocco",
79
- MKD: "Macedonia",
80
- MLT: "Malta",
81
- MYS: "Malaysia",
82
- OMN: "Oman",
83
- SRB: "Serbia",
84
- TWN: "Taiwan",
85
- BHS: "Bahamas",
86
- DZA: "Algeria",
87
- ETH: "Ethiopia",
88
- GUY: "Guyana",
89
- PAN: "Panama",
90
- PER: "Peru",
91
- SVK: "Slovakia",
92
- SVN: "Slovenia",
93
- TTO: "Trinidad and Tobago",
94
- URY: "Uruguay",
95
- VEN: "Venezuela",
96
- VIR: "Virgin Islands",
97
- ABW: "Aruba",
98
- CMR: "Cameroon",
99
- CUW: "Curaçao",
100
- GIB: "Gibraltar",
101
- HND: "Honduras",
102
- JAM: "Jamaica",
103
- JEY: "Jersey",
104
- MDV: "Maldives",
105
- MUS: "Mauritius",
106
- TUN: "Tunisia",
107
- RUS: "Russia",
108
- IRN: "Iran",
109
- IRQ: "Iraq",
110
- AZE: "Azerbaijan",
111
- CIV: "Cote d'Ivoire",
112
- PSE: "Palestine",
113
- MNE: "Montenegro",
114
- BIH: "Bosnia and Herzegovina",
115
- IMN: "Isle of Man",
116
- PNG: "Papua New Guinea",
117
- VCT: "Saint Vincent and the Grenadines",
118
- VGB: "British Virgin Islands",
119
- };
120
- export default countryMapping;