@vonq/hapi-elements-types 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/campaign/types.ts +15 -13
  2. package/package.json +1 -1
package/campaign/types.ts CHANGED
@@ -161,6 +161,20 @@ export type CampaignCreateFormOrderedProductSpecBase = {
161
161
  export type CampaignCreateFormOrderedProductSpec =
162
162
  CampaignCreateFormOrderedProductSpecBase & { [k: string]: any }
163
163
 
164
+ export type CampaignCreateFormPostingDetails = {
165
+ title: string
166
+ description: string
167
+ organization: CampaignPostingDetailsOrganization
168
+ workingLocation: CampaignPostingDetailsWorkingLocation
169
+ yearsOfExperience: number
170
+ employmentType: EmploymentType
171
+ weeklyWorkingHours: CampaignPostingDetailsWeeklyWorkingHours
172
+ salaryIndication: CampaignPostingDetailsSalaryIndication
173
+ contactInfo: CampaignPostingDetailsContactInfo | null
174
+ jobPageUrl: string
175
+ applicationUrl: string
176
+ }
177
+
164
178
  export type CampaignCreateForm = {
165
179
  companyId: string
166
180
  currency: ProductPriceCurrency
@@ -169,19 +183,7 @@ export type CampaignCreateForm = {
169
183
  paymentMethod: OrderJourneyPaymentMethod | null
170
184
  targetGroup: CampaignCreateFormTargetGroup
171
185
  recruiterInfo: CampaignRecruiterInfo
172
- postingDetails: {
173
- title: string
174
- description: string
175
- organization: CampaignPostingDetailsOrganization
176
- workingLocation: CampaignPostingDetailsWorkingLocation
177
- yearsOfExperience: number
178
- employmentType: EmploymentType
179
- weeklyWorkingHours: CampaignPostingDetailsWeeklyWorkingHours
180
- salaryIndication: CampaignPostingDetailsSalaryIndication
181
- contactInfo: CampaignPostingDetailsContactInfo | null
182
- jobPageUrl: string
183
- applicationUrl: string
184
- }
186
+ postingDetails: CampaignCreateFormPostingDetails
185
187
  orderedProducts: string[] //Array of UUIDs
186
188
  orderedProductsSpecs: Record<string, CampaignCreateFormOrderedProductSpec>
187
189
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@vonq/hapi-elements-types",
4
- "version": "1.10.0",
4
+ "version": "1.12.0",
5
5
  "description": "This package contains Typescript definitions for HAPI Elements",
6
6
  "author": "VONQ HAPI Team",
7
7
  "license": "BSD-3-Clause",