@next-degree/pickle-shared-js 0.6.47 → 0.6.48
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/{company_service_latest-uu3w8AR6.d.cts → company_service_latest-DelYl1hO.d.cts} +1994 -266
- package/dist/{company_service_latest-uu3w8AR6.d.ts → company_service_latest-DelYl1hO.d.ts} +1994 -266
- package/dist/components/jobPost/JobPost.cjs +34 -10
- package/dist/components/jobPost/JobPost.cjs.map +1 -1
- package/dist/components/jobPost/JobPost.d.cts +1 -1
- package/dist/components/jobPost/JobPost.d.ts +1 -1
- package/dist/components/jobPost/JobPost.js +34 -10
- package/dist/components/jobPost/JobPost.js.map +1 -1
- package/dist/components/ui/MapComponent.cjs +9 -2
- package/dist/components/ui/MapComponent.cjs.map +1 -1
- package/dist/components/ui/MapComponent.d.cts +1 -1
- package/dist/components/ui/MapComponent.d.ts +1 -1
- package/dist/components/ui/MapComponent.js +9 -2
- package/dist/components/ui/MapComponent.js.map +1 -1
- package/dist/{displayText-CcePAspL.d.ts → displayText-DDf9iWyg.d.ts} +2 -2
- package/dist/{displayText-D3BX6YTj.d.cts → displayText-mYUVo6Ek.d.cts} +2 -2
- package/dist/hooks/useDisplayText.d.cts +3 -3
- package/dist/hooks/useDisplayText.d.ts +3 -3
- package/dist/index.cjs +74 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +74 -40
- package/dist/index.js.map +1 -1
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.cts → job_posting_service_latest-Dn5s8beY.d.cts} +1708 -250
- package/dist/{job_posting_service_latest-CWuc_SuJ.d.ts → job_posting_service_latest-Dn5s8beY.d.ts} +1708 -250
- package/dist/lib/locations.d.cts +2 -2
- package/dist/lib/locations.d.ts +2 -2
- package/dist/lib/mappings.d.cts +3 -3
- package/dist/lib/mappings.d.ts +3 -3
- package/dist/lib/salaryRange.cjs +29 -6
- package/dist/lib/salaryRange.cjs.map +1 -1
- package/dist/lib/salaryRange.d.cts +1 -1
- package/dist/lib/salaryRange.d.ts +1 -1
- package/dist/lib/salaryRange.js +29 -6
- package/dist/lib/salaryRange.js.map +1 -1
- package/dist/services/displayText.d.cts +3 -3
- package/dist/services/displayText.d.ts +3 -3
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.cts → shared_pickle_output_latest-DbAgINuf.d.cts} +159 -3
- package/dist/{shared_pickle_output_latest-CxZJXPOS.d.ts → shared_pickle_output_latest-DbAgINuf.d.ts} +159 -3
- package/dist/types/data/company_service_latest.cjs +58 -35
- package/dist/types/data/company_service_latest.cjs.map +1 -1
- package/dist/types/data/company_service_latest.d.cts +1 -1
- package/dist/types/data/company_service_latest.d.ts +1 -1
- package/dist/types/data/company_service_latest.js +57 -33
- package/dist/types/data/company_service_latest.js.map +1 -1
- package/dist/types/data/job_posting_service_latest.cjs +57 -32
- package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
- package/dist/types/data/job_posting_service_latest.d.cts +1 -1
- package/dist/types/data/job_posting_service_latest.d.ts +1 -1
- package/dist/types/data/job_posting_service_latest.js +57 -32
- package/dist/types/data/job_posting_service_latest.js.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.cjs +33 -6
- package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
- package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
- package/dist/types/data/shared_pickle_output_latest.js +31 -6
- package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,18 +3,20 @@ import { z as z2 } from "zod";
|
|
|
3
3
|
|
|
4
4
|
// src/types/data/shared_pickle_output_latest.ts
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
var TypeEnum = z.enum(["
|
|
6
|
+
var TypeEnum = z.enum(["IMAGE"]);
|
|
7
7
|
var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
8
8
|
var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
9
9
|
var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
|
|
10
10
|
var postalAddressSchema = z.object({
|
|
11
11
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
12
|
-
type: z.string().describe("Document type used
|
|
12
|
+
type: z.string().describe("Document type used for schema"),
|
|
13
13
|
addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
14
14
|
addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
15
15
|
addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
16
|
-
streetAddress: z.optional(z.string()).describe("The street address within the locality."),
|
|
17
|
-
|
|
16
|
+
streetAddress: z.optional(z.string()).describe("The street name of the address within the locality."),
|
|
17
|
+
streetNumber: z.optional(z.string()).describe("The house of building number within the street."),
|
|
18
|
+
postalCode: z.optional(z.string()).describe("The postal code"),
|
|
19
|
+
description: z.optional(z.string()).describe("A descriptive string containing the full address.")
|
|
18
20
|
});
|
|
19
21
|
var placeSchema = z.object({
|
|
20
22
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
@@ -25,7 +27,7 @@ var placeSchema = z.object({
|
|
|
25
27
|
});
|
|
26
28
|
var quantitativeValueSchema = z.object({
|
|
27
29
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
28
|
-
type: z.string().describe("Document type used
|
|
30
|
+
type: z.string().describe("Document type used for schema"),
|
|
29
31
|
value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
30
32
|
minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
31
33
|
maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -33,13 +35,34 @@ var quantitativeValueSchema = z.object({
|
|
|
33
35
|
});
|
|
34
36
|
var monetaryAmountSchema = z.object({
|
|
35
37
|
version: z.literal("1.0.0").default("1.0.0"),
|
|
36
|
-
type: z.string().describe("Document type used
|
|
38
|
+
type: z.string().describe("Document type used for schema"),
|
|
37
39
|
singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
38
40
|
minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
39
41
|
maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
40
42
|
value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
41
43
|
currency: z.optional(CurrencyEnum)
|
|
42
44
|
});
|
|
45
|
+
var imageAssetSchema = z.object({
|
|
46
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
47
|
+
altText: z.optional(z.string()).describe("The alt text for the image"),
|
|
48
|
+
assetId: z.optional(z.string()).describe("The asset ID for the image"),
|
|
49
|
+
description: z.optional(z.string()).describe("The description for the image"),
|
|
50
|
+
extension: z.optional(z.string()).describe("The extension for the image"),
|
|
51
|
+
label: z.optional(z.string()).describe("The label for the image"),
|
|
52
|
+
mimeType: z.optional(z.string()).describe("The mime type for the image"),
|
|
53
|
+
originalFilename: z.optional(z.string()).describe("The original filename for the image"),
|
|
54
|
+
path: z.optional(z.string()).describe("The path for the image"),
|
|
55
|
+
sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
|
|
56
|
+
size: z.optional(z.number()).describe("The size for the image"),
|
|
57
|
+
title: z.optional(z.string()).describe("The title for the image"),
|
|
58
|
+
uploadId: z.optional(z.string()).describe("The upload ID for the image"),
|
|
59
|
+
url: z.optional(z.string()).describe("The URL for the image")
|
|
60
|
+
});
|
|
61
|
+
var imageSchema = z.object({
|
|
62
|
+
version: z.literal("1.0.0").default("1.0.0"),
|
|
63
|
+
type: z.string().describe("Document type used for schema"),
|
|
64
|
+
asset: z.optional(imageAssetSchema).describe("The asset for the image")
|
|
65
|
+
});
|
|
43
66
|
|
|
44
67
|
// src/types/data/company_service_latest.ts
|
|
45
68
|
var TypeEnum2 = z2.enum(["OFFICE"]);
|
|
@@ -47,10 +70,6 @@ var CategoryEnum = z2.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVELOPMENT", "
|
|
|
47
70
|
var TitleEnum = z2.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
48
71
|
var PublishStatusEnum = z2.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
49
72
|
var OfficeTypeEnum = z2.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
50
|
-
var imageSchema = z2.object({
|
|
51
|
-
version: z2.literal("1.0.0").default("1.0.0"),
|
|
52
|
-
url: z2.string()
|
|
53
|
-
});
|
|
54
73
|
var socialMediaSchema = z2.object({
|
|
55
74
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
56
75
|
url: z2.string().describe("The link to the social media platform"),
|
|
@@ -58,14 +77,14 @@ var socialMediaSchema = z2.object({
|
|
|
58
77
|
});
|
|
59
78
|
var companyBenefitsSchema = z2.object({
|
|
60
79
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
61
|
-
type: z2.string().describe("Document type used
|
|
62
|
-
|
|
80
|
+
type: z2.string().describe("Document type used for schema"),
|
|
81
|
+
title: z2.string(),
|
|
63
82
|
description: z2.optional(z2.string()),
|
|
64
83
|
category: CategoryEnum
|
|
65
84
|
});
|
|
66
85
|
var industrySchema = z2.lazy(() => z2.object({
|
|
67
86
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
68
|
-
type: z2.string().describe("Document type used
|
|
87
|
+
type: z2.string().describe("Document type used for schema"),
|
|
69
88
|
name: z2.string(),
|
|
70
89
|
description: z2.optional(z2.string()).describe("A brief description of the industry"),
|
|
71
90
|
onetIndustryId: z2.optional(z2.string()).describe("ONET industry ID"),
|
|
@@ -73,7 +92,7 @@ var industrySchema = z2.lazy(() => z2.object({
|
|
|
73
92
|
}));
|
|
74
93
|
var jobBoardSchema = z2.object({
|
|
75
94
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
76
|
-
type: z2.string().describe("Document type used
|
|
95
|
+
type: z2.string().describe("Document type used for schema"),
|
|
77
96
|
name: z2.string().describe("The name of the job board"),
|
|
78
97
|
description: z2.string().describe("A brief description of the job board"),
|
|
79
98
|
logo: z2.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -81,7 +100,7 @@ var jobBoardSchema = z2.object({
|
|
|
81
100
|
});
|
|
82
101
|
var personSchema = z2.object({
|
|
83
102
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
84
|
-
type: z2.string().describe("Document type used
|
|
103
|
+
type: z2.string().describe("Document type used for schema"),
|
|
85
104
|
firstName: z2.string().describe("The first name of the person"),
|
|
86
105
|
lastName: z2.string().describe("The last name of the person"),
|
|
87
106
|
title: z2.optional(z2.array(z2.string())).describe("The titles of the degree of the person"),
|
|
@@ -97,56 +116,62 @@ var personSchema = z2.object({
|
|
|
97
116
|
url: z2.optional(z2.string()).describe("The URL of the person"),
|
|
98
117
|
address: z2.optional(placeSchema).describe("The address of the person")
|
|
99
118
|
});
|
|
100
|
-
var
|
|
119
|
+
var companyCareersSchema = z2.object({
|
|
101
120
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
121
|
+
type: z2.string().describe("Document type used for schema"),
|
|
122
|
+
careersUrl: z2.string().describe("The URL of the company careers page"),
|
|
123
|
+
jobBoard: z2.optional(jobBoardSchema),
|
|
124
|
+
jobBoardSlug: z2.optional(z2.array(z2.string())),
|
|
105
125
|
companyBenefits: z2.optional(z2.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
106
126
|
});
|
|
107
127
|
var companyPhilosophySchema = z2.object({
|
|
108
128
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
109
|
-
|
|
129
|
+
type: z2.string().describe("Document type used for schema"),
|
|
130
|
+
companyMission: z2.optional(z2.string()).describe("The mission statement of the company."),
|
|
110
131
|
companyHow: z2.optional(z2.string()).describe("How does the company achieve its mission"),
|
|
111
132
|
companyCulture: z2.optional(z2.array(z2.string())).describe("What are some of the culture aspects of this company?")
|
|
112
133
|
});
|
|
113
134
|
var companyNdgSchema = z2.object({
|
|
114
135
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
136
|
+
type: z2.string().describe("Document type used for schema"),
|
|
115
137
|
companyWow: z2.optional(z2.string()).describe("What is the wow of this company?"),
|
|
116
|
-
|
|
117
|
-
// Manually edited due to a different naming convention
|
|
138
|
+
companyNdgTake: z2.optional(z2.string()).describe("What is the NDG POV on this company?"),
|
|
118
139
|
companyBestFit: z2.optional(z2.array(z2.string())),
|
|
119
140
|
companyInterests: z2.optional(z2.array(z2.string()))
|
|
120
141
|
});
|
|
121
142
|
var foundingInformationSchema = z2.object({
|
|
122
143
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
144
|
+
type: z2.string().describe("Document type used for schema"),
|
|
145
|
+
foundedDate: z2.optional(z2.string()),
|
|
146
|
+
foundedCountry: z2.optional(z2.string()),
|
|
147
|
+
foundedCity: z2.optional(z2.string()),
|
|
126
148
|
founders: z2.optional(z2.array(personSchema))
|
|
127
149
|
});
|
|
128
150
|
var ngdMetadataSchema = z2.object({
|
|
129
151
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
152
|
+
type: z2.string().describe("Document type used for schema"),
|
|
130
153
|
lastScraped: z2.optional(z2.string()).describe("Date the last entity was scraped, if applicable"),
|
|
131
154
|
scraperVersion: z2.optional(z2.string()),
|
|
132
155
|
postProcessorVersion: z2.optional(z2.string()),
|
|
133
156
|
uniqueRunId: z2.optional(z2.string()),
|
|
134
157
|
postProcessorUniqueRunId: z2.optional(z2.string()),
|
|
135
|
-
|
|
158
|
+
isScrapeManaged: z2.optional(z2.boolean()).default(true)
|
|
136
159
|
});
|
|
137
160
|
var companySchema = z2.object({
|
|
138
161
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
162
|
+
id: z2.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
163
|
+
createdAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
164
|
+
updatedAt: z2.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
139
165
|
companyName: z2.string().describe("The name of the company"),
|
|
140
166
|
slug: z2.string().describe("The NDG specific slug for a company."),
|
|
141
|
-
type: z2.string().describe("Document type used
|
|
167
|
+
type: z2.string().describe("Document type used for schema"),
|
|
142
168
|
logo: z2.optional(imageSchema).describe("The logo of the company"),
|
|
143
169
|
companyWebsite: z2.optional(z2.string()).describe("The website of the company"),
|
|
144
170
|
socialMedia: z2.optional(z2.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
145
171
|
brandColor: z2.optional(z2.string()).describe("The brand color of the company"),
|
|
146
|
-
companyCareers: z2.optional(
|
|
172
|
+
companyCareers: z2.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
147
173
|
companyPhilosophy: z2.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
148
|
-
|
|
149
|
-
// Manually edited due to a different naming convention
|
|
174
|
+
companyNdg: z2.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
150
175
|
foundingInfo: z2.optional(foundingInformationSchema),
|
|
151
176
|
headquartersLocation: z2.optional(placeSchema),
|
|
152
177
|
employeeEstimate: z2.optional(z2.string()),
|
|
@@ -155,7 +180,7 @@ var companySchema = z2.object({
|
|
|
155
180
|
});
|
|
156
181
|
var officeSchema = z2.object({
|
|
157
182
|
version: z2.literal("1.0.0").default("1.0.0"),
|
|
158
|
-
type: z2.string().describe("Document type used
|
|
183
|
+
type: z2.string().describe("Document type used for schema"),
|
|
159
184
|
name: z2.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
160
185
|
officeType: OfficeTypeEnum,
|
|
161
186
|
companyId: z2.optional(companySchema),
|
|
@@ -170,12 +195,11 @@ export {
|
|
|
170
195
|
TitleEnum,
|
|
171
196
|
TypeEnum2 as TypeEnum,
|
|
172
197
|
companyBenefitsSchema,
|
|
173
|
-
|
|
198
|
+
companyCareersSchema,
|
|
174
199
|
companyNdgSchema,
|
|
175
200
|
companyPhilosophySchema,
|
|
176
201
|
companySchema,
|
|
177
202
|
foundingInformationSchema,
|
|
178
|
-
imageSchema,
|
|
179
203
|
industrySchema,
|
|
180
204
|
jobBoardSchema,
|
|
181
205
|
ngdMetadataSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.0\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { placeSchema } from './shared_pickle_output_latest' \n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string(),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersPageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyCareersUrl: z.string().describe(\"The URL of the company careers page\"),\n companyJobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.array(z.string()),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersPageModel = z.infer<typeof companyCareersPageSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n mission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNDGTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"), // Manually edited due to a different naming convention\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n foundedYear: z.optional(z.string()),\n foundingCountry: z.optional(z.string()),\n foundingCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n shouldThisDocumentBeScraped: z.optional(z.boolean()),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used within sanity\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersPageSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNDG: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"), // Manually edited due to a different naming convention\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.0\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['MONETARY_AMOUNT']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n"],"mappings":";AAQA,SAAS,KAAAA,UAAS;;;ACAlB,SAAS,SAAS;AAKX,IAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC;AAC3C,IAAM,kBAAkB,EAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,EAAE,OAAO;AAAA,EACxC,SAAS,EAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,EAAE,OAAO,EAAE,SAAS,kCAAkC;AAAA,EAC5D,gBAAgB,EAAE,OAAO,EAAE,SAAS,qDAAqD;AAAA,EACzF,eAAe,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,mEAAmE;AAAA,EAClH,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,wGAAwG;AAAA,EACzJ,eAAe,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,yCAAyC;AAAA,EACx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AAW,EAAE,SAAS,yBAAyB;AAAA,EAChE,gBAAgBA,GAAE,SAASA,GAAE,OAAO,CAAC,EAAE,SAAS,4BAA4B;AAAA,EAC5E,aAAaA,GAAE,SAASA,GAAE,MAAM,iBAAiB,CAAC,EAAE,SAAS,uCAAuC;AAAA,EACpG,YAAYA,GAAE,SAASA,GAAE,OAAO,CAAC,EAAE,SAAS,gCAAgC;AAAA,EAC5E,gBAAgBA,GAAE,SAAS,wBAAwB,EAAE,SAAS,8CAA8C;AAAA,EAC5G,mBAAmBA,GAAE,SAAS,uBAAuB,EAAE,SAAS,kEAAkE;AAAA,EAClI,YAAYA,GAAE,SAAS,gBAAgB,EAAE,SAAS,mDAAmD;AAAA;AAAA,EACrG,cAAcA,GAAE,SAAS,yBAAyB;AAAA,EAClD,sBAAsBA,GAAE,SAAS,WAAW;AAAA,EAC5C,kBAAkBA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EACvC,eAAeA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EACpC,aAAaA,GAAE,SAAS,iBAAiB;AAC7C,CAAC;AAIM,IAAM,eAAeA,GAAE,OAAO;AAAA,EACjC,SAASA,GAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAMA,GAAE,OAAO,EAAE,SAAS,kCAAkC;AAAA,EAC5D,MAAMA,GAAE,OAAO,EAAE,SAAS,uEAAuE;AAAA,EACjG,YAAY;AAAA,EACZ,WAAWA,GAAE,SAAS,aAAa;AAAA,EACnC,aAAaA,GAAE,SAAS,WAAW,EAAE,SAAS,6DAA6D;AAAA,EAC3G,WAAWA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EAChC,WAAWA,GAAE,SAASA,GAAE,OAAO,CAAC;AACpC,CAAC;","names":["z","TypeEnum","z"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/types/data/company_service_latest.ts","../../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["/*\nID:ebc38aef-0062-4f69-95af-d06bdc30d23f\nDomain: companies\nData Product: company_service\nVersion: 1.0.1\nThis data contract defines a company registered in the Pickle database. Every job posting is associated with a company.\n*/\n\nimport { z } from 'zod';\n\nimport { imageSchema, placeSchema } from './shared_pickle_output_latest'\n\n// Enums\n\nexport const TypeEnum = z.enum(['OFFICE']);\nexport const CategoryEnum = z.enum(['FINANCIAL', 'HEALTH', 'PROFESSIONAL_DEVELOPMENT', 'WORK_LIFE_BALANCE']);\nexport const TitleEnum = z.enum(['DMD', 'JD', 'MBA', 'MD', 'MHA', 'MPH', 'PT', 'PH_D', 'RN']);\nexport const PublishStatusEnum = z.enum(['DRAFT', 'IN_REVIEW', 'PUBLISHED', 'REMOVED']);\nexport const OfficeTypeEnum = z.enum(['BRANCH', 'HEADQUARTERS', 'SATELLITE']);\n\n\nexport const socialMediaSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n url: z.string().describe(\"The link to the social media platform\"),\n type: z.string().describe(\"The type of social media link\"),\n});\n\nexport type SocialMediaModel = z.infer<typeof socialMediaSchema>;\n\nexport const companyBenefitsSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n title: z.string(),\n description: z.optional(z.string()),\n category: CategoryEnum,\n});\n\nexport type CompanyBenefitsModel = z.infer<typeof companyBenefitsSchema>;\n\nexport const industrySchema: z.ZodType<any> = z.lazy(() => z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string(),\n description: z.optional(z.string()).describe(\"A brief description of the industry\"),\n onetIndustryId: z.optional(z.string()).describe(\"ONET industry ID\"),\n parent: z.optional(industrySchema),\n}));\n\nexport type IndustryModel = z.infer<typeof industrySchema>;\n\nexport const jobBoardSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"The name of the job board\"),\n description: z.string().describe(\"A brief description of the job board\"),\n logo: z.optional(imageSchema).describe(\"The logo of the job board\"),\n baseUrl: z.optional(z.string()).describe(\"The base URL of the job board\"),\n});\n\nexport type JobBoardModel = z.infer<typeof jobBoardSchema>;\n\nexport const personSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n firstName: z.string().describe(\"The first name of the person\"),\n lastName: z.string().describe(\"The last name of the person\"),\n title: z.optional(z.array(z.string())).describe(\"The titles of the degree of the person\"),\n slug: z.string().describe(\"person slug - should be familyname-givenname-title(s)\"),\n jobTitle: z.optional(z.string()).describe(\"The job title of the person\"),\n isDoctor: z.optional(z.boolean()).describe(\"Is the person a doctor\"),\n isMedical: z.optional(z.boolean()).describe(\"Are they of a medical background?\"),\n isScientist: z.optional(z.boolean()).describe(\"Are they a scientist?\"),\n image: z.optional(imageSchema).describe(\"The image of the person\"),\n email: z.optional(z.string()).describe(\"The email of the person\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the person\"),\n telephone: z.optional(z.string()).describe(\"The telephone number of the person\"),\n url: z.optional(z.string()).describe(\"The URL of the person\"),\n address: z.optional(placeSchema).describe(\"The address of the person\"),\n});\n\nexport type PersonModel = z.infer<typeof personSchema>;\n\nexport const companyCareersSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n careersUrl: z.string().describe(\"The URL of the company careers page\"),\n jobBoard: z.optional(jobBoardSchema),\n jobBoardSlug: z.optional(z.array(z.string())),\n companyBenefits: z.optional(z.array(companyBenefitsSchema)).describe(\"What are the specific benefits of that company. The benefit is generic.\"),\n});\n\nexport type CompanyCareersModel = z.infer<typeof companyCareersSchema>;\n\nexport const companyPhilosophySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyMission: z.optional(z.string()).describe(\"The mission statement of the company.\"),\n companyHow: z.optional(z.string()).describe(\"How does the company achieve its mission\"),\n companyCulture: z.optional(z.array(z.string())).describe(\"What are some of the culture aspects of this company?\"),\n});\n\nexport type CompanyPhilosophyModel = z.infer<typeof companyPhilosophySchema>;\n\nexport const companyNdgSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n companyWow: z.optional(z.string()).describe(\"What is the wow of this company?\"),\n companyNdgTake: z.optional(z.string()).describe(\"What is the NDG POV on this company?\"),\n companyBestFit: z.optional(z.array(z.string())),\n companyInterests: z.optional(z.array(z.string())),\n});\n\nexport type CompanyNdgModel = z.infer<typeof companyNdgSchema>;\n\nexport const foundingInformationSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n foundedDate: z.optional(z.string()),\n foundedCountry: z.optional(z.string()),\n foundedCity: z.optional(z.string()),\n founders: z.optional(z.array(personSchema)),\n});\n\nexport type FoundingInformationModel = z.infer<typeof foundingInformationSchema>;\n\nexport const ngdMetadataSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n lastScraped: z.optional(z.string()).describe(\"Date the last entity was scraped, if applicable\"),\n scraperVersion: z.optional(z.string()),\n postProcessorVersion: z.optional(z.string()),\n uniqueRunId: z.optional(z.string()),\n postProcessorUniqueRunId: z.optional(z.string()),\n isScrapeManaged: z.optional(z.boolean()).default(true),\n});\n\nexport type NgdMetadataModel = z.infer<typeof ngdMetadataSchema>;\n\nexport const companySchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n id: z.string().describe(\"The NDG specific id for a company. Cannot be changed.\"),\n createdAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n updatedAt: z.string().datetime().describe(\"Time document was created. Autoset by Sanity\"),\n companyName: z.string().describe(\"The name of the company\"),\n slug: z.string().describe(\"The NDG specific slug for a company.\"),\n type: z.string().describe(\"Document type used for schema\"),\n logo: z.optional(imageSchema).describe(\"The logo of the company\"),\n companyWebsite: z.optional(z.string()).describe(\"The website of the company\"),\n socialMedia: z.optional(z.array(socialMediaSchema)).describe(\"The social media links of the company\"),\n brandColor: z.optional(z.string()).describe(\"The brand color of the company\"),\n companyCareers: z.optional(companyCareersSchema).describe(\"Career Specific Information for the company.\"),\n companyPhilosophy: z.optional(companyPhilosophySchema).describe(\"Company mission,values and how the company achieves its mission.\"),\n companyNdg: z.optional(companyNdgSchema).describe(\"Next Degree specific information for the company.\"),\n foundingInfo: z.optional(foundingInformationSchema),\n headquartersLocation: z.optional(placeSchema),\n employeeEstimate: z.optional(z.string()),\n publishStatus: z.optional(z.string()),\n ngdMetadata: z.optional(ngdMetadataSchema),\n});\n\nexport type CompanyModel = z.infer<typeof companySchema>;\n\nexport const officeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n name: z.string().describe(\"Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')\"),\n officeType: OfficeTypeEnum,\n companyId: z.optional(companySchema),\n geoLocation: z.optional(placeSchema).describe(\"Geographical location details: coordinates + postal address\"),\n createdAt: z.optional(z.string()),\n updatedAt: z.optional(z.string()),\n});\n\nexport type OfficeModel = z.infer<typeof officeSchema>;\n","/*\nID:c2c9f095-256f-44df-ada7-73753d8f4f92\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.2\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['IMAGE']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street name of the address within the locality.\"),\n streetNumber: z.optional(z.string()).describe(\"The house of building number within the street.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n description: z.optional(z.string()).describe(\"A descriptive string containing the full address.\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n\nexport const imageAssetSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n altText: z.optional(z.string()).describe(\"The alt text for the image\"),\n assetId: z.optional(z.string()).describe(\"The asset ID for the image\"),\n description: z.optional(z.string()).describe(\"The description for the image\"),\n extension: z.optional(z.string()).describe(\"The extension for the image\"),\n label: z.optional(z.string()).describe(\"The label for the image\"),\n mimeType: z.optional(z.string()).describe(\"The mime type for the image\"),\n originalFilename: z.optional(z.string()).describe(\"The original filename for the image\"),\n path: z.optional(z.string()).describe(\"The path for the image\"),\n sha1Hash: z.optional(z.string()).describe(\"The SHA1 hash for the image\"),\n size: z.optional(z.number()).describe(\"The size for the image\"),\n title: z.optional(z.string()).describe(\"The title for the image\"),\n uploadId: z.optional(z.string()).describe(\"The upload ID for the image\"),\n url: z.optional(z.string()).describe(\"The URL for the image\"),\n});\n\nexport type ImageAssetModel = z.infer<typeof imageAssetSchema>;\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n asset: z.optional(imageAssetSchema).describe(\"The asset for the image\"),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n"],"mappings":";AAQA,SAAS,KAAAA,UAAS;;;ACAlB,SAAS,SAAS;AAKX,IAAM,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;AACjC,IAAM,kBAAkB,EAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,EAAE,OAAO;AAAA,EACxC,SAAS,EAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MA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EAClD,sBAAsBA,GAAE,SAAS,WAAW;AAAA,EAC5C,kBAAkBA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EACvC,eAAeA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EACpC,aAAaA,GAAE,SAAS,iBAAiB;AAC7C,CAAC;AAIM,IAAM,eAAeA,GAAE,OAAO;AAAA,EACjC,SAASA,GAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAMA,GAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,MAAMA,GAAE,OAAO,EAAE,SAAS,uEAAuE;AAAA,EACjG,YAAY;AAAA,EACZ,WAAWA,GAAE,SAAS,aAAa;AAAA,EACnC,aAAaA,GAAE,SAAS,WAAW,EAAE,SAAS,6DAA6D;AAAA,EAC3G,WAAWA,GAAE,SAASA,GAAE,OAAO,CAAC;AAAA,EAChC,WAAWA,GAAE,SAASA,GAAE,OAAO,CAAC;AACpC,CAAC;","names":["z","TypeEnum","z"]}
|
|
@@ -38,18 +38,20 @@ var import_zod3 = require("zod");
|
|
|
38
38
|
|
|
39
39
|
// src/types/data/shared_pickle_output_latest.ts
|
|
40
40
|
var import_zod = require("zod");
|
|
41
|
-
var TypeEnum = import_zod.z.enum(["
|
|
41
|
+
var TypeEnum = import_zod.z.enum(["IMAGE"]);
|
|
42
42
|
var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
|
|
43
43
|
var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
|
|
44
44
|
var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
|
|
45
45
|
var postalAddressSchema = import_zod.z.object({
|
|
46
46
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
47
|
-
type: import_zod.z.string().describe("Document type used
|
|
47
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
48
48
|
addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
|
|
49
49
|
addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
|
|
50
50
|
addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
|
|
51
|
-
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street address within the locality."),
|
|
52
|
-
|
|
51
|
+
streetAddress: import_zod.z.optional(import_zod.z.string()).describe("The street name of the address within the locality."),
|
|
52
|
+
streetNumber: import_zod.z.optional(import_zod.z.string()).describe("The house of building number within the street."),
|
|
53
|
+
postalCode: import_zod.z.optional(import_zod.z.string()).describe("The postal code"),
|
|
54
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("A descriptive string containing the full address.")
|
|
53
55
|
});
|
|
54
56
|
var placeSchema = import_zod.z.object({
|
|
55
57
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
@@ -60,7 +62,7 @@ var placeSchema = import_zod.z.object({
|
|
|
60
62
|
});
|
|
61
63
|
var quantitativeValueSchema = import_zod.z.object({
|
|
62
64
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
63
|
-
type: import_zod.z.string().describe("Document type used
|
|
65
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
64
66
|
value: import_zod.z.optional(import_zod.z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
|
|
65
67
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
|
|
66
68
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
|
|
@@ -68,13 +70,34 @@ var quantitativeValueSchema = import_zod.z.object({
|
|
|
68
70
|
});
|
|
69
71
|
var monetaryAmountSchema = import_zod.z.object({
|
|
70
72
|
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
71
|
-
type: import_zod.z.string().describe("Document type used
|
|
73
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
72
74
|
singleValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
|
|
73
75
|
minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
|
|
74
76
|
maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
|
|
75
77
|
value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
|
|
76
78
|
currency: import_zod.z.optional(CurrencyEnum)
|
|
77
79
|
});
|
|
80
|
+
var imageAssetSchema = import_zod.z.object({
|
|
81
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
82
|
+
altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
|
|
83
|
+
assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
|
|
84
|
+
description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
|
|
85
|
+
extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
|
|
86
|
+
label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
|
|
87
|
+
mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
|
|
88
|
+
originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
|
|
89
|
+
path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
|
|
90
|
+
sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
|
|
91
|
+
size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
|
|
92
|
+
title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
|
|
93
|
+
uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
|
|
94
|
+
url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
|
|
95
|
+
});
|
|
96
|
+
var imageSchema = import_zod.z.object({
|
|
97
|
+
version: import_zod.z.literal("1.0.0").default("1.0.0"),
|
|
98
|
+
type: import_zod.z.string().describe("Document type used for schema"),
|
|
99
|
+
asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
|
|
100
|
+
});
|
|
78
101
|
|
|
79
102
|
// src/types/data/company_service_latest.ts
|
|
80
103
|
var import_zod2 = require("zod");
|
|
@@ -83,10 +106,6 @@ var CategoryEnum = import_zod2.z.enum(["FINANCIAL", "HEALTH", "PROFESSIONAL_DEVE
|
|
|
83
106
|
var TitleEnum = import_zod2.z.enum(["DMD", "JD", "MBA", "MD", "MHA", "MPH", "PT", "PH_D", "RN"]);
|
|
84
107
|
var PublishStatusEnum = import_zod2.z.enum(["DRAFT", "IN_REVIEW", "PUBLISHED", "REMOVED"]);
|
|
85
108
|
var OfficeTypeEnum = import_zod2.z.enum(["BRANCH", "HEADQUARTERS", "SATELLITE"]);
|
|
86
|
-
var imageSchema = import_zod2.z.object({
|
|
87
|
-
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
88
|
-
url: import_zod2.z.string()
|
|
89
|
-
});
|
|
90
109
|
var socialMediaSchema = import_zod2.z.object({
|
|
91
110
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
92
111
|
url: import_zod2.z.string().describe("The link to the social media platform"),
|
|
@@ -94,14 +113,14 @@ var socialMediaSchema = import_zod2.z.object({
|
|
|
94
113
|
});
|
|
95
114
|
var companyBenefitsSchema = import_zod2.z.object({
|
|
96
115
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
97
|
-
type: import_zod2.z.string().describe("Document type used
|
|
98
|
-
|
|
116
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
117
|
+
title: import_zod2.z.string(),
|
|
99
118
|
description: import_zod2.z.optional(import_zod2.z.string()),
|
|
100
119
|
category: CategoryEnum
|
|
101
120
|
});
|
|
102
121
|
var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
103
122
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
104
|
-
type: import_zod2.z.string().describe("Document type used
|
|
123
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
105
124
|
name: import_zod2.z.string(),
|
|
106
125
|
description: import_zod2.z.optional(import_zod2.z.string()).describe("A brief description of the industry"),
|
|
107
126
|
onetIndustryId: import_zod2.z.optional(import_zod2.z.string()).describe("ONET industry ID"),
|
|
@@ -109,7 +128,7 @@ var industrySchema = import_zod2.z.lazy(() => import_zod2.z.object({
|
|
|
109
128
|
}));
|
|
110
129
|
var jobBoardSchema = import_zod2.z.object({
|
|
111
130
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
112
|
-
type: import_zod2.z.string().describe("Document type used
|
|
131
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
113
132
|
name: import_zod2.z.string().describe("The name of the job board"),
|
|
114
133
|
description: import_zod2.z.string().describe("A brief description of the job board"),
|
|
115
134
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the job board"),
|
|
@@ -117,7 +136,7 @@ var jobBoardSchema = import_zod2.z.object({
|
|
|
117
136
|
});
|
|
118
137
|
var personSchema = import_zod2.z.object({
|
|
119
138
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
120
|
-
type: import_zod2.z.string().describe("Document type used
|
|
139
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
121
140
|
firstName: import_zod2.z.string().describe("The first name of the person"),
|
|
122
141
|
lastName: import_zod2.z.string().describe("The last name of the person"),
|
|
123
142
|
title: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("The titles of the degree of the person"),
|
|
@@ -133,56 +152,62 @@ var personSchema = import_zod2.z.object({
|
|
|
133
152
|
url: import_zod2.z.optional(import_zod2.z.string()).describe("The URL of the person"),
|
|
134
153
|
address: import_zod2.z.optional(placeSchema).describe("The address of the person")
|
|
135
154
|
});
|
|
136
|
-
var
|
|
155
|
+
var companyCareersSchema = import_zod2.z.object({
|
|
137
156
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
157
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
158
|
+
careersUrl: import_zod2.z.string().describe("The URL of the company careers page"),
|
|
159
|
+
jobBoard: import_zod2.z.optional(jobBoardSchema),
|
|
160
|
+
jobBoardSlug: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
141
161
|
companyBenefits: import_zod2.z.optional(import_zod2.z.array(companyBenefitsSchema)).describe("What are the specific benefits of that company. The benefit is generic.")
|
|
142
162
|
});
|
|
143
163
|
var companyPhilosophySchema = import_zod2.z.object({
|
|
144
164
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
145
|
-
|
|
165
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
166
|
+
companyMission: import_zod2.z.optional(import_zod2.z.string()).describe("The mission statement of the company."),
|
|
146
167
|
companyHow: import_zod2.z.optional(import_zod2.z.string()).describe("How does the company achieve its mission"),
|
|
147
168
|
companyCulture: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())).describe("What are some of the culture aspects of this company?")
|
|
148
169
|
});
|
|
149
170
|
var companyNdgSchema = import_zod2.z.object({
|
|
150
171
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
172
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
151
173
|
companyWow: import_zod2.z.optional(import_zod2.z.string()).describe("What is the wow of this company?"),
|
|
152
|
-
|
|
153
|
-
// Manually edited due to a different naming convention
|
|
174
|
+
companyNdgTake: import_zod2.z.optional(import_zod2.z.string()).describe("What is the NDG POV on this company?"),
|
|
154
175
|
companyBestFit: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string())),
|
|
155
176
|
companyInterests: import_zod2.z.optional(import_zod2.z.array(import_zod2.z.string()))
|
|
156
177
|
});
|
|
157
178
|
var foundingInformationSchema = import_zod2.z.object({
|
|
158
179
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
180
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
181
|
+
foundedDate: import_zod2.z.optional(import_zod2.z.string()),
|
|
182
|
+
foundedCountry: import_zod2.z.optional(import_zod2.z.string()),
|
|
183
|
+
foundedCity: import_zod2.z.optional(import_zod2.z.string()),
|
|
162
184
|
founders: import_zod2.z.optional(import_zod2.z.array(personSchema))
|
|
163
185
|
});
|
|
164
186
|
var ngdMetadataSchema = import_zod2.z.object({
|
|
165
187
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
188
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
166
189
|
lastScraped: import_zod2.z.optional(import_zod2.z.string()).describe("Date the last entity was scraped, if applicable"),
|
|
167
190
|
scraperVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
168
191
|
postProcessorVersion: import_zod2.z.optional(import_zod2.z.string()),
|
|
169
192
|
uniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
170
193
|
postProcessorUniqueRunId: import_zod2.z.optional(import_zod2.z.string()),
|
|
171
|
-
|
|
194
|
+
isScrapeManaged: import_zod2.z.optional(import_zod2.z.boolean()).default(true)
|
|
172
195
|
});
|
|
173
196
|
var companySchema = import_zod2.z.object({
|
|
174
197
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
198
|
+
id: import_zod2.z.string().describe("The NDG specific id for a company. Cannot be changed."),
|
|
199
|
+
createdAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
200
|
+
updatedAt: import_zod2.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
175
201
|
companyName: import_zod2.z.string().describe("The name of the company"),
|
|
176
202
|
slug: import_zod2.z.string().describe("The NDG specific slug for a company."),
|
|
177
|
-
type: import_zod2.z.string().describe("Document type used
|
|
203
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
178
204
|
logo: import_zod2.z.optional(imageSchema).describe("The logo of the company"),
|
|
179
205
|
companyWebsite: import_zod2.z.optional(import_zod2.z.string()).describe("The website of the company"),
|
|
180
206
|
socialMedia: import_zod2.z.optional(import_zod2.z.array(socialMediaSchema)).describe("The social media links of the company"),
|
|
181
207
|
brandColor: import_zod2.z.optional(import_zod2.z.string()).describe("The brand color of the company"),
|
|
182
|
-
companyCareers: import_zod2.z.optional(
|
|
208
|
+
companyCareers: import_zod2.z.optional(companyCareersSchema).describe("Career Specific Information for the company."),
|
|
183
209
|
companyPhilosophy: import_zod2.z.optional(companyPhilosophySchema).describe("Company mission,values and how the company achieves its mission."),
|
|
184
|
-
|
|
185
|
-
// Manually edited due to a different naming convention
|
|
210
|
+
companyNdg: import_zod2.z.optional(companyNdgSchema).describe("Next Degree specific information for the company."),
|
|
186
211
|
foundingInfo: import_zod2.z.optional(foundingInformationSchema),
|
|
187
212
|
headquartersLocation: import_zod2.z.optional(placeSchema),
|
|
188
213
|
employeeEstimate: import_zod2.z.optional(import_zod2.z.string()),
|
|
@@ -191,7 +216,7 @@ var companySchema = import_zod2.z.object({
|
|
|
191
216
|
});
|
|
192
217
|
var officeSchema = import_zod2.z.object({
|
|
193
218
|
version: import_zod2.z.literal("1.0.0").default("1.0.0"),
|
|
194
|
-
type: import_zod2.z.string().describe("Document type used
|
|
219
|
+
type: import_zod2.z.string().describe("Document type used for schema"),
|
|
195
220
|
name: import_zod2.z.string().describe("Name or nickname for the office (e.g., 'NYC HQ', 'West Coast Branch')"),
|
|
196
221
|
officeType: OfficeTypeEnum,
|
|
197
222
|
companyId: import_zod2.z.optional(companySchema),
|
|
@@ -215,7 +240,7 @@ var ClinicalSpecialtyEnum = import_zod3.z.enum(["ANESTHESIOLOGY", "CARDIOLOGY",
|
|
|
215
240
|
var jobPostSchema = import_zod3.z.object({
|
|
216
241
|
version: import_zod3.z.literal("1.0.0").default("1.0.0"),
|
|
217
242
|
id: import_zod3.z.string().describe("The NDG specific id for a job posting in form of ndg-<company_slug>-<unique-job-id>. Serves as unique identifier. Cannot be changed."),
|
|
218
|
-
type: import_zod3.z.string().describe("Document type used
|
|
243
|
+
type: import_zod3.z.string().describe("Document type used for schema"),
|
|
219
244
|
createdAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
220
245
|
updatedAt: import_zod3.z.string().datetime().describe("Time document was created. Autoset by Sanity"),
|
|
221
246
|
dateAdded: import_zod3.z.optional(import_zod3.z.string().datetime()).describe("The date the job was added to the platform"),
|