@xuulu/xuulu-types 1.0.30 → 1.0.32

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 (45) hide show
  1. package/dist/cjs/companies/index.d.ts +1 -0
  2. package/dist/cjs/companies/index.js +17 -0
  3. package/dist/cjs/companies/responses/index.d.ts +22 -0
  4. package/dist/cjs/companies/responses/index.js +2 -0
  5. package/dist/cjs/index.d.ts +3 -0
  6. package/dist/cjs/index.js +3 -0
  7. package/dist/cjs/interviewCall/responses/index.d.ts +1 -1
  8. package/dist/cjs/positions/responses/index.d.ts +2 -2
  9. package/dist/cjs/sign/index.d.ts +1 -0
  10. package/dist/cjs/sign/index.js +17 -0
  11. package/dist/cjs/sign/responses/index.d.ts +12 -0
  12. package/dist/cjs/sign/responses/index.js +2 -0
  13. package/dist/cjs/userSettings/index.d.ts +1 -0
  14. package/dist/cjs/userSettings/index.js +17 -0
  15. package/dist/cjs/userSettings/responses/index.d.ts +3 -0
  16. package/dist/cjs/userSettings/responses/index.js +2 -0
  17. package/dist/cjs/users/requests/index.d.ts +8 -0
  18. package/dist/esm/companies/index.d.ts +1 -0
  19. package/dist/esm/companies/index.js +1 -0
  20. package/dist/esm/companies/responses/index.d.ts +22 -0
  21. package/dist/esm/companies/responses/index.js +1 -0
  22. package/dist/esm/index.d.ts +3 -0
  23. package/dist/esm/index.js +3 -0
  24. package/dist/esm/interviewCall/responses/index.d.ts +1 -1
  25. package/dist/esm/positions/responses/index.d.ts +2 -2
  26. package/dist/esm/sign/index.d.ts +1 -0
  27. package/dist/esm/sign/index.js +1 -0
  28. package/dist/esm/sign/responses/index.d.ts +12 -0
  29. package/dist/esm/sign/responses/index.js +1 -0
  30. package/dist/esm/userSettings/index.d.ts +1 -0
  31. package/dist/esm/userSettings/index.js +1 -0
  32. package/dist/esm/userSettings/responses/index.d.ts +3 -0
  33. package/dist/esm/userSettings/responses/index.js +1 -0
  34. package/dist/esm/users/requests/index.d.ts +8 -0
  35. package/package.json +1 -1
  36. package/src/companies/index.ts +1 -0
  37. package/src/companies/responses/index.ts +22 -0
  38. package/src/index.ts +4 -1
  39. package/src/interviewCall/responses/index.ts +1 -1
  40. package/src/positions/responses/index.ts +2 -2
  41. package/src/sign/index.ts +1 -0
  42. package/src/sign/responses/index.ts +14 -0
  43. package/src/userSettings/index.ts +1 -0
  44. package/src/userSettings/responses/index.ts +3 -0
  45. package/src/users/requests/index.ts +9 -0
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./responses"), exports);
@@ -0,0 +1,22 @@
1
+ export type CompanyResponse = {
2
+ id: string;
3
+ createdByEmail: string;
4
+ address: {
5
+ country: string;
6
+ countryIsoCode: string;
7
+ state: string;
8
+ stateIsoCode: string;
9
+ city: string;
10
+ postalCode: string;
11
+ street: string;
12
+ buildingNumber: string;
13
+ };
14
+ name: string;
15
+ companyEmail: string;
16
+ taxNumber: string;
17
+ planId: string;
18
+ stripeCustomerId: string;
19
+ stripeSubscriptionId: string;
20
+ subscriptionStatus: string | null;
21
+ trialEnd: number;
22
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  export * from './candidates';
2
2
  export * from './candidateStatuses';
3
+ export * from './companies';
3
4
  export * from './departments';
4
5
  export * from './frameworks';
5
6
  export * from './interviewCall';
@@ -20,4 +21,6 @@ export * from './questions';
20
21
  export * from './roles';
21
22
  export * from './sections';
22
23
  export * from './seniorityLevels';
24
+ export * from './sign';
23
25
  export * from './users';
26
+ export * from './userSettings';
package/dist/cjs/index.js CHANGED
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./candidates"), exports);
18
18
  __exportStar(require("./candidateStatuses"), exports);
19
+ __exportStar(require("./companies"), exports);
19
20
  __exportStar(require("./departments"), exports);
20
21
  __exportStar(require("./frameworks"), exports);
21
22
  __exportStar(require("./interviewCall"), exports);
@@ -36,4 +37,6 @@ __exportStar(require("./questions"), exports);
36
37
  __exportStar(require("./roles"), exports);
37
38
  __exportStar(require("./sections"), exports);
38
39
  __exportStar(require("./seniorityLevels"), exports);
40
+ __exportStar(require("./sign"), exports);
39
41
  __exportStar(require("./users"), exports);
42
+ __exportStar(require("./userSettings"), exports);
@@ -19,7 +19,7 @@ export type InterviewCallResponse = {
19
19
  meetingId: string;
20
20
  similarity: number;
21
21
  interviewDate: string;
22
- position: Pick<PositionResponse, "positionName" | "description" | "qualification" | "niceToHave" | "comment" | 'seniorityLevel'>;
22
+ position: Pick<PositionResponse, "positionName" | "description" | "qualification" | "niceToHaveDescription" | "comment" | 'seniorityLevel'>;
23
23
  interviewType: InterviewTypeResponse;
24
24
  question: (QuestionResponse & {
25
25
  answerRating: number;
@@ -10,10 +10,10 @@ import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
10
10
  export type PositionResponse = {
11
11
  id: number;
12
12
  positionName: string;
13
+ weOfferDescription: string;
14
+ niceToHaveDescription: string;
13
15
  description: string;
14
16
  qualification: string;
15
- niceToHave: string;
16
- weOffer: string;
17
17
  seniorityLevel: SeniorityLevelResponse;
18
18
  status?: PositionStatusesResponse;
19
19
  workplace: PositionWorkplaceResponse;
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./responses"), exports);
@@ -0,0 +1,12 @@
1
+ import { UsersResponse } from '../../users/responses';
2
+ import { CompanyResponse } from '../../companies/responses';
3
+ export type SigninResponse = {
4
+ user: UsersResponse;
5
+ company: CompanyResponse;
6
+ token: string;
7
+ };
8
+ export type SignupResponse = {
9
+ user: UsersResponse;
10
+ company: CompanyResponse;
11
+ token: string;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./responses"), exports);
@@ -0,0 +1,3 @@
1
+ export type UserSettingsResponse = {
2
+ lang: string;
3
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,3 +6,11 @@ export type UserCreateRequest = {
6
6
  roleId: number;
7
7
  dateOfBirth: Date;
8
8
  };
9
+ export type UserEditRequest = {
10
+ firstname: string;
11
+ lastname: string;
12
+ username: string;
13
+ email: string;
14
+ roleId: number;
15
+ dateOfBirth: Date;
16
+ };
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,22 @@
1
+ export type CompanyResponse = {
2
+ id: string;
3
+ createdByEmail: string;
4
+ address: {
5
+ country: string;
6
+ countryIsoCode: string;
7
+ state: string;
8
+ stateIsoCode: string;
9
+ city: string;
10
+ postalCode: string;
11
+ street: string;
12
+ buildingNumber: string;
13
+ };
14
+ name: string;
15
+ companyEmail: string;
16
+ taxNumber: string;
17
+ planId: string;
18
+ stripeCustomerId: string;
19
+ stripeSubscriptionId: string;
20
+ subscriptionStatus: string | null;
21
+ trialEnd: number;
22
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,6 @@
1
1
  export * from './candidates';
2
2
  export * from './candidateStatuses';
3
+ export * from './companies';
3
4
  export * from './departments';
4
5
  export * from './frameworks';
5
6
  export * from './interviewCall';
@@ -20,4 +21,6 @@ export * from './questions';
20
21
  export * from './roles';
21
22
  export * from './sections';
22
23
  export * from './seniorityLevels';
24
+ export * from './sign';
23
25
  export * from './users';
26
+ export * from './userSettings';
package/dist/esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './candidates';
2
2
  export * from './candidateStatuses';
3
+ export * from './companies';
3
4
  export * from './departments';
4
5
  export * from './frameworks';
5
6
  export * from './interviewCall';
@@ -20,4 +21,6 @@ export * from './questions';
20
21
  export * from './roles';
21
22
  export * from './sections';
22
23
  export * from './seniorityLevels';
24
+ export * from './sign';
23
25
  export * from './users';
26
+ export * from './userSettings';
@@ -19,7 +19,7 @@ export type InterviewCallResponse = {
19
19
  meetingId: string;
20
20
  similarity: number;
21
21
  interviewDate: string;
22
- position: Pick<PositionResponse, "positionName" | "description" | "qualification" | "niceToHave" | "comment" | 'seniorityLevel'>;
22
+ position: Pick<PositionResponse, "positionName" | "description" | "qualification" | "niceToHaveDescription" | "comment" | 'seniorityLevel'>;
23
23
  interviewType: InterviewTypeResponse;
24
24
  question: (QuestionResponse & {
25
25
  answerRating: number;
@@ -10,10 +10,10 @@ import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
10
10
  export type PositionResponse = {
11
11
  id: number;
12
12
  positionName: string;
13
+ weOfferDescription: string;
14
+ niceToHaveDescription: string;
13
15
  description: string;
14
16
  qualification: string;
15
- niceToHave: string;
16
- weOffer: string;
17
17
  seniorityLevel: SeniorityLevelResponse;
18
18
  status?: PositionStatusesResponse;
19
19
  workplace: PositionWorkplaceResponse;
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,12 @@
1
+ import { UsersResponse } from '../../users/responses';
2
+ import { CompanyResponse } from '../../companies/responses';
3
+ export type SigninResponse = {
4
+ user: UsersResponse;
5
+ company: CompanyResponse;
6
+ token: string;
7
+ };
8
+ export type SignupResponse = {
9
+ user: UsersResponse;
10
+ company: CompanyResponse;
11
+ token: string;
12
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,3 @@
1
+ export type UserSettingsResponse = {
2
+ lang: string;
3
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -6,3 +6,11 @@ export type UserCreateRequest = {
6
6
  roleId: number;
7
7
  dateOfBirth: Date;
8
8
  };
9
+ export type UserEditRequest = {
10
+ firstname: string;
11
+ lastname: string;
12
+ username: string;
13
+ email: string;
14
+ roleId: number;
15
+ dateOfBirth: Date;
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuulu/xuulu-types",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json"
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,22 @@
1
+ export type CompanyResponse = {
2
+ id: string;
3
+ createdByEmail: string;
4
+ address: {
5
+ country: string;
6
+ countryIsoCode: string;
7
+ state: string;
8
+ stateIsoCode: string;
9
+ city: string;
10
+ postalCode: string;
11
+ street: string;
12
+ buildingNumber: string;
13
+ };
14
+ name: string;
15
+ companyEmail: string;
16
+ taxNumber: string;
17
+ planId: string;
18
+ stripeCustomerId: string;
19
+ stripeSubscriptionId: string;
20
+ subscriptionStatus: string | null;
21
+ trialEnd: number;
22
+ };
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from './candidates';
2
2
  export * from './candidateStatuses';
3
+ export * from './companies';
3
4
  export * from './departments';
4
5
  export * from './frameworks';
5
6
  export * from './interviewCall';
@@ -20,4 +21,6 @@ export * from './questions';
20
21
  export * from './roles';
21
22
  export * from './sections';
22
23
  export * from './seniorityLevels';
23
- export * from './users';
24
+ export * from './sign';
25
+ export * from './users';
26
+ export * from './userSettings';
@@ -25,7 +25,7 @@ export type InterviewCallResponse = {
25
25
  interviewDate: string;
26
26
  position: Pick<
27
27
  PositionResponse,
28
- "positionName" | "description" | "qualification" | "niceToHave" | "comment" | 'seniorityLevel'
28
+ "positionName" | "description" | "qualification" | "niceToHaveDescription" | "comment" | 'seniorityLevel'
29
29
  >;
30
30
  interviewType: InterviewTypeResponse;
31
31
  question: (QuestionResponse & { answerRating: number; })[];
@@ -11,10 +11,10 @@ import { SeniorityLevelResponse } from "../../seniorityLevels/responses";
11
11
  export type PositionResponse = {
12
12
  id: number;
13
13
  positionName: string;
14
+ weOfferDescription: string;
15
+ niceToHaveDescription: string;
14
16
  description: string;
15
17
  qualification: string;
16
- niceToHave: string;
17
- weOffer: string;
18
18
  seniorityLevel: SeniorityLevelResponse;
19
19
  status?: PositionStatusesResponse;
20
20
  workplace: PositionWorkplaceResponse;
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,14 @@
1
+ import { UsersResponse } from '../../users/responses';
2
+ import { CompanyResponse } from '../../companies/responses';
3
+
4
+ export type SigninResponse = {
5
+ user: UsersResponse;
6
+ company: CompanyResponse;
7
+ token: string;
8
+ };
9
+
10
+ export type SignupResponse = {
11
+ user: UsersResponse;
12
+ company: CompanyResponse;
13
+ token: string;
14
+ };
@@ -0,0 +1 @@
1
+ export * from './responses';
@@ -0,0 +1,3 @@
1
+ export type UserSettingsResponse = {
2
+ lang: string;
3
+ };
@@ -5,4 +5,13 @@ export type UserCreateRequest = {
5
5
  email: string;
6
6
  roleId: number;
7
7
  dateOfBirth: Date;
8
+ };
9
+
10
+ export type UserEditRequest = {
11
+ firstname: string;
12
+ lastname: string;
13
+ username: string;
14
+ email: string;
15
+ roleId: number;
16
+ dateOfBirth: Date;
8
17
  };