@bwi-mentorspaces/application-utils-npm 0.0.75 → 0.0.77

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.
@@ -1,5 +1,6 @@
1
1
  import { CustomEventType } from "../../enum";
2
2
  import { EventTypes, Event, DefaultGenerics } from "stream-chat";
3
+ import { JobType, SalaryType } from "./job.response";
3
4
  /**
4
5
  * Event types
5
6
  */
@@ -143,4 +144,36 @@ export interface IEventTypesData {
143
144
  sessionId: number;
144
145
  sessionType: string | null;
145
146
  };
147
+ [CustomEventType.SharedJob]: {
148
+ id: number;
149
+ ref: string;
150
+ title: string;
151
+ jobType: JobType | string;
152
+ description: string;
153
+ experienceLevel: string;
154
+ salaryType?: SalaryType | string;
155
+ salaryRangeMin?: number;
156
+ salaryRangeMax?: number;
157
+ applicationLink?: string;
158
+ associatedCareerFamily?: {
159
+ id: number;
160
+ interest: string;
161
+ careerFamily: string;
162
+ }[];
163
+ companyName: string;
164
+ linkRef: string;
165
+ country: string;
166
+ createdOn: Date;
167
+ companyImageURL?: string;
168
+ state?: string;
169
+ city?: string;
170
+ workplace?: string;
171
+ applicationDeadline?: Date;
172
+ isPublished: boolean;
173
+ isFilled: boolean;
174
+ filledByRef?: string;
175
+ isPromoted: boolean;
176
+ isMSCompany: boolean;
177
+ companyRef?: string;
178
+ };
146
179
  }
@@ -0,0 +1,14 @@
1
+ export declare enum JobType {
2
+ FULLTIME = 0,
3
+ INTERNSHIP = 1,
4
+ PARTTIME = 2,
5
+ CONTRACT = 3,
6
+ VOLUNTEER = 4,
7
+ APPRENTICESHIP = 5
8
+ }
9
+ export declare enum SalaryType {
10
+ ANNUAL = 0,
11
+ MONTHLY = 1,
12
+ WEEKLY = 2,
13
+ HOURLY = 3
14
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SalaryType = exports.JobType = void 0;
4
+ var JobType;
5
+ (function (JobType) {
6
+ JobType[JobType["FULLTIME"] = 0] = "FULLTIME";
7
+ JobType[JobType["INTERNSHIP"] = 1] = "INTERNSHIP";
8
+ JobType[JobType["PARTTIME"] = 2] = "PARTTIME";
9
+ JobType[JobType["CONTRACT"] = 3] = "CONTRACT";
10
+ JobType[JobType["VOLUNTEER"] = 4] = "VOLUNTEER";
11
+ JobType[JobType["APPRENTICESHIP"] = 5] = "APPRENTICESHIP";
12
+ })(JobType = exports.JobType || (exports.JobType = {}));
13
+ var SalaryType;
14
+ (function (SalaryType) {
15
+ SalaryType[SalaryType["ANNUAL"] = 0] = "ANNUAL";
16
+ SalaryType[SalaryType["MONTHLY"] = 1] = "MONTHLY";
17
+ SalaryType[SalaryType["WEEKLY"] = 2] = "WEEKLY";
18
+ SalaryType[SalaryType["HOURLY"] = 3] = "HOURLY";
19
+ })(SalaryType = exports.SalaryType || (exports.SalaryType = {}));
20
+ //# sourceMappingURL=job.response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"job.response.js","sourceRoot":"","sources":["../../../../../chat/stream/models/_/job.response.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAOX;AAPD,WAAY,OAAO;IACf,6CAAQ,CAAA;IACR,iDAAU,CAAA;IACV,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,+CAAS,CAAA;IACT,yDAAc,CAAA;AAClB,CAAC,EAPW,OAAO,GAAP,eAAO,KAAP,eAAO,QAOlB;AAED,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,+CAAM,CAAA;IACN,iDAAO,CAAA;IACP,+CAAM,CAAA;IACN,+CAAM,CAAA;AACV,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bwi-mentorspaces/application-utils-npm",
3
- "version": "0.0.75",
3
+ "version": "0.0.77",
4
4
  "description": "Mentor Spaces npm packages for reusable models, utils, and abstracted, commonly used processes for DB Repo, Logging, etc.",
5
5
  "author": {
6
6
  "name": "Mentor Spaces",