@vonq/hapi-elements-types 1.21.0 → 1.23.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 (98) hide show
  1. package/_window/api.types.ts +12 -13
  2. package/_window/index.ts.bak +16 -0
  3. package/_window/sdk.types.ts +5 -2
  4. package/_window/service.types.ts +6 -16
  5. package/_window/state.types.ts +0 -24
  6. package/_window/utils.types.ts +3 -0
  7. package/_window/window.ts +2 -1
  8. package/alert/index.ts +4 -4
  9. package/alert/index.ts.bak +6 -0
  10. package/ats/index.ts +4 -4
  11. package/ats/index.ts.bak +6 -0
  12. package/ats/types.ts +7 -1
  13. package/basket/index.ts +5 -5
  14. package/basket/index.ts.bak +7 -0
  15. package/basket/service.types.ts +1 -1
  16. package/basket/utils.types.ts +6 -2
  17. package/campaign/api.types.ts +5 -1
  18. package/campaign/enums.ts +0 -3
  19. package/campaign/index.ts +8 -8
  20. package/campaign/index.ts.bak +10 -0
  21. package/campaign/service.types.ts +14 -0
  22. package/campaign/types.ts +31 -21
  23. package/campaign/utils.types.ts +1 -0
  24. package/campaign/validations.types.ts +15 -1
  25. package/common/enums.ts +0 -4
  26. package/common/events/EventCommand/index.ts.bak +4 -0
  27. package/common/events/index.ts.bak +4 -0
  28. package/common/index.ts +7 -5
  29. package/common/index.ts.bak +7 -0
  30. package/common/logger/index.ts +4 -0
  31. package/common/types.ts +16 -1
  32. package/common/validations.types.ts +2 -0
  33. package/common/validator/index.ts +3 -0
  34. package/contract/api.types.ts +1 -0
  35. package/contract/index.ts +7 -7
  36. package/contract/index.ts.bak +9 -0
  37. package/contract/service.types.ts +7 -1
  38. package/contract/state.types.ts +1 -0
  39. package/contract/types.ts +2 -0
  40. package/contract/validations.types.ts +1 -0
  41. package/debugging/index.ts +3 -2
  42. package/debugging/index.ts.bak +4 -0
  43. package/index.ts +16 -16
  44. package/index.ts.bak +18 -0
  45. package/language/enums.ts +5 -0
  46. package/language/index.ts +6 -3
  47. package/language/index.ts.bak +5 -0
  48. package/language/service.types.ts +7 -0
  49. package/language/state.types.ts +3 -1
  50. package/language/utils.types.ts +11 -0
  51. package/modal/enums.ts +3 -3
  52. package/modal/index.ts +5 -4
  53. package/modal/index.ts.bak +6 -0
  54. package/modal/types.ts +11 -8
  55. package/orderJourney/index.ts +7 -6
  56. package/orderJourney/index.ts.bak +8 -0
  57. package/orderJourney/qa.types.ts +3 -1
  58. package/orderJourney/service.types.ts +2 -8
  59. package/orderJourney/state.types.ts +31 -7
  60. package/orderJourney/types.ts +107 -8
  61. package/orderJourney/validations.types.ts +13 -2
  62. package/package.json +2 -3
  63. package/product/index.ts +8 -8
  64. package/product/index.ts.bak +10 -0
  65. package/product/types.ts +6 -1
  66. package/product/validations.types.ts +1 -0
  67. package/routing/index.ts +2 -1
  68. package/routing/index.ts.bak +3 -0
  69. package/theming/index.ts +4 -4
  70. package/theming/index.ts.bak +6 -0
  71. package/theming/types.ts +44 -0
  72. package/theming/validations.types.ts +16 -0
  73. package/ui/index.ts.bak +3 -0
  74. package/wallet/index.ts +5 -5
  75. package/wallet/index.ts.bak +7 -0
  76. package/wallet/state.types.ts +1 -1
  77. package/wallet/types.ts +6 -1
  78. package/talentMindCompany/api.types.ts +0 -18
  79. package/talentMindCompany/service.types.ts +0 -15
  80. package/talentMindCompany/state.types.ts +0 -5
  81. package/talentMindCompany/types.ts +0 -6
  82. package/talentMindCompany/validations.types.ts +0 -5
  83. package/talentMindEvaluation/api.types.ts +0 -25
  84. package/talentMindEvaluation/service.types.ts +0 -25
  85. package/talentMindEvaluation/state.types.ts +0 -6
  86. package/talentMindEvaluation/types.ts +0 -15
  87. package/talentMindEvaluation/validations.types.ts +0 -5
  88. package/talentMindJob/api.types.ts +0 -26
  89. package/talentMindJob/service.types.ts +0 -28
  90. package/talentMindJob/state.types.ts +0 -6
  91. package/talentMindJob/types.ts +0 -12
  92. package/talentMindJob/validations.types.ts +0 -5
  93. package/talentMindResume/api.types.ts +0 -30
  94. package/talentMindResume/service.types.ts +0 -34
  95. package/talentMindResume/state.types.ts +0 -6
  96. package/talentMindResume/types.ts +0 -119
  97. package/talentMindResume/validations.types.ts +0 -5
  98. package/tsconfig.json +0 -36
@@ -1,26 +0,0 @@
1
- import { RawAxiosRequestConfig } from "axios"
2
- import { WindowHapiAPI, WindowHapiAPIModule } from "../_window/api.types"
3
- import { WindowHapiModuleWithConstructorArgs } from "../_window"
4
- import { TalentMindCreateJobForm, TalentMindJob } from "./types"
5
-
6
- export type WindowHapiAPITalentMindJobConfigs = {
7
- getJobs: RawAxiosRequestConfig
8
- getJob: RawAxiosRequestConfig
9
- createJob: RawAxiosRequestConfig
10
- updateJob: RawAxiosRequestConfig
11
- deleteJob: RawAxiosRequestConfig
12
- }
13
- export type WindowHapiAPITalentMindJobRequests = {
14
- getJobs: () => Promise<TalentMindJob[]>
15
- getJob: () => Promise<TalentMindJob>
16
- createJob: (jobForm: TalentMindCreateJobForm) => Promise<TalentMindJob>
17
- updateJob: () => Promise<TalentMindJob>
18
- deleteJob: (jobId: number) => Promise<any>
19
- }
20
- export type WindowHapiAPITalentMindJob = WindowHapiModuleWithConstructorArgs<
21
- WindowHapiAPIModule<
22
- WindowHapiAPITalentMindJobRequests,
23
- WindowHapiAPITalentMindJobConfigs
24
- >,
25
- { readonly api: WindowHapiAPI }
26
- >
@@ -1,28 +0,0 @@
1
- import {
2
- HapiServiceFunctionWithLifecycleHooks,
3
- WindowHapiService,
4
- } from "../_window/service.types"
5
- import { WindowHapiModuleWithConstructorArgs } from "../_window"
6
- import { TalentMindCreateJobForm, TalentMindJob } from "../talentMindJob/types"
7
-
8
- export type TalentMindJobServiceGetJobsHandler = () => Promise<any>
9
- export type TalentMindJobServiceGetJobHandler = () => Promise<TalentMindJob>
10
- export type TalentMindJobServiceCreateJobHandler = (
11
- resumeForm: TalentMindCreateJobForm,
12
- ) => Promise<TalentMindJob>
13
- export type TalentMindJobServiceUpdateJobHandler = () => Promise<TalentMindJob>
14
- export type TalentMindJobServiceDeleteJobHandler = (
15
- resumeId: number,
16
- ) => Promise<void>
17
-
18
- export type WindowHapiServiceTalentMindJob =
19
- WindowHapiModuleWithConstructorArgs<
20
- {
21
- getJobs: HapiServiceFunctionWithLifecycleHooks<TalentMindJobServiceGetJobsHandler>
22
- getJob: HapiServiceFunctionWithLifecycleHooks<TalentMindJobServiceGetJobHandler>
23
- createJob: HapiServiceFunctionWithLifecycleHooks<TalentMindJobServiceCreateJobHandler>
24
- updateJob: HapiServiceFunctionWithLifecycleHooks<TalentMindJobServiceUpdateJobHandler>
25
- deleteJob: HapiServiceFunctionWithLifecycleHooks<TalentMindJobServiceDeleteJobHandler>
26
- },
27
- { readonly service: WindowHapiService }
28
- >
@@ -1,6 +0,0 @@
1
- import { TalentMindCreateJobForm, TalentMindJob } from "./types"
2
-
3
- export type TalentMindJobState = {
4
- jobs: TalentMindJob[]
5
- jobForm: TalentMindCreateJobForm
6
- }
@@ -1,12 +0,0 @@
1
- export type TalentMindJob = {
2
- id: number
3
- title: string
4
- description: string
5
- requirements: string
6
- location: string
7
- company: number
8
- }
9
-
10
- export type TalentMindCreateJobForm = Omit<TalentMindJob, "id" | "company"> & {
11
- company: number | null
12
- }
@@ -1,5 +0,0 @@
1
- import { ZodAny, ZodNullable } from "zod"
2
-
3
- export type WindowHapiValidationsTalentMindJob = {
4
- job: ZodNullable<ZodAny>
5
- }
@@ -1,30 +0,0 @@
1
- import { RawAxiosRequestConfig } from "axios"
2
- import { WindowHapiAPI, WindowHapiAPIModule } from "../_window/api.types"
3
- import { WindowHapiModuleWithConstructorArgs } from "../_window"
4
- import { TalentMindCreateResumeForm, TalentMindResume } from "./types"
5
-
6
- export type WindowHapiAPITalentMindResumeConfigs = {
7
- getResumes: RawAxiosRequestConfig
8
- searchResumes: RawAxiosRequestConfig
9
- getResume: RawAxiosRequestConfig
10
- createResume: RawAxiosRequestConfig
11
- updateResume: RawAxiosRequestConfig
12
- deleteResume: RawAxiosRequestConfig
13
- }
14
- export type WindowHapiAPITalentMindResumeRequests = {
15
- getResumes: () => Promise<TalentMindResume[]>
16
- searchResumes: () => Promise<TalentMindResume[]>
17
- getResume: () => Promise<TalentMindResume>
18
- createResume: (
19
- resumeForm: TalentMindCreateResumeForm,
20
- ) => Promise<TalentMindResume>
21
- updateResume: () => Promise<TalentMindResume>
22
- deleteResume: (resumeId: number) => Promise<void>
23
- }
24
- export type WindowHapiAPITalentMindResume = WindowHapiModuleWithConstructorArgs<
25
- WindowHapiAPIModule<
26
- WindowHapiAPITalentMindResumeRequests,
27
- WindowHapiAPITalentMindResumeConfigs
28
- >,
29
- { readonly api: WindowHapiAPI }
30
- >
@@ -1,34 +0,0 @@
1
- import {
2
- HapiServiceFunctionWithLifecycleHooks,
3
- WindowHapiService,
4
- } from "../_window/service.types"
5
- import { WindowHapiModuleWithConstructorArgs } from "../_window"
6
- import { TalentMindCreateResumeForm, TalentMindResume } from "./types"
7
-
8
- export type TalentMindResumeServiceGetResumesHandler = () => Promise<
9
- TalentMindResume[]
10
- >
11
- export type TalentMindResumeServiceSearchResumesHandler = () => Promise<any>
12
- export type TalentMindResumeServiceGetResumeHandler =
13
- () => Promise<TalentMindResume>
14
- export type TalentMindResumeServiceCreateResumeHandler = (
15
- resumeForm: TalentMindCreateResumeForm,
16
- ) => Promise<TalentMindResume>
17
- export type TalentMindResumeServiceUpdateResumeHandler =
18
- () => Promise<TalentMindResume>
19
- export type TalentMindResumeServiceDeleteResumeHandler = (
20
- resumeId: number,
21
- ) => Promise<void>
22
-
23
- export type WindowHapiServiceTalentMindResume =
24
- WindowHapiModuleWithConstructorArgs<
25
- {
26
- getResumes: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceGetResumesHandler>
27
- searchResumes: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceSearchResumesHandler>
28
- getResume: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceGetResumeHandler>
29
- createResume: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceCreateResumeHandler>
30
- updateResume: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceUpdateResumeHandler>
31
- deleteResume: HapiServiceFunctionWithLifecycleHooks<TalentMindResumeServiceDeleteResumeHandler>
32
- },
33
- { readonly service: WindowHapiService }
34
- >
@@ -1,6 +0,0 @@
1
- import { TalentMindCreateResumeForm, TalentMindResume } from "./types"
2
-
3
- export type TalentMindResumeState = {
4
- resumes: TalentMindResume[]
5
- resumeForm: TalentMindCreateResumeForm
6
- }
@@ -1,119 +0,0 @@
1
- export type TalentMindResumeAward = {
2
- title: string
3
- date: string
4
- awarder: string
5
- summary: string
6
- }
7
-
8
- export type TalentMindResumeBasic = {
9
- email: string
10
- label: string
11
- location: string | null
12
- name: string
13
- phone: string
14
- picture: string
15
- profiles: any[]
16
- summary: string
17
- website: string | null
18
- }
19
-
20
- export type TalentMindResumeEducation = {
21
- area: string
22
- courses: string | null
23
- endDate: string | null
24
- gpa: string | null
25
- institution: string | null
26
- startDate: string | null
27
- studyType: string
28
- }
29
-
30
- export type TalentMindResumeInterest = {
31
- name: string
32
- keywords: string[] | null
33
- }
34
-
35
- export type TalentMindResumeLanguage = {
36
- language: string
37
- fluency: string
38
- }
39
-
40
- export type TalentMindResumeMeta = {
41
- version: string
42
- lastUpdated: string
43
- }
44
-
45
- export type TalentMindResumePublication = {
46
- name: string
47
- publisher: string
48
- releaseDate: string
49
- summary: string
50
- website: string
51
- }
52
-
53
- export type TalentMindResumeReference = {
54
- name: string
55
- reference: string
56
- }
57
-
58
- export type TalentMindResumeSkill = {
59
- name: string
60
- level: string | null
61
- keywords: string | null
62
- }
63
-
64
- export type TalentMindResumeVolunteer = {
65
- endDate: string
66
- highlights: string[] | null
67
- organization: string
68
- position: string
69
- startDate: string
70
- summary: string
71
- website: string
72
- }
73
-
74
- export type TalentMindResumeWorkLocation = {
75
- address: string | null
76
- city: string | null
77
- countryCode: string | null
78
- postalCode: string | null
79
- region: string | null
80
- }
81
-
82
- export type TalentMindResumeWork = {
83
- description: string | null
84
- endDate: string | null
85
- highlights: string[] | null
86
- location: TalentMindResumeWorkLocation | null
87
- name: string
88
- position: string
89
- startDate: string | null
90
- summary: string | null
91
- url: string | null
92
- }
93
-
94
- export type TalentMindResumeStructuredDocument = {
95
- awards: TalentMindResumeAward[]
96
- basics: TalentMindResumeBasic
97
- education: TalentMindResumeEducation[]
98
- interests: TalentMindResumeInterest[]
99
- languages: TalentMindResumeLanguage[]
100
- meta: TalentMindResumeMeta
101
- publications: TalentMindResumePublication[]
102
- references: TalentMindResumeReference[]
103
- skills: TalentMindResumeSkill[]
104
- volunteer: TalentMindResumeVolunteer[]
105
- work: TalentMindResumeWork[]
106
- }
107
-
108
- export type TalentMindResume = {
109
- id: string | number
110
- name: string
111
- remote_url: string | null
112
- raw_text: string | null
113
- structured_document: TalentMindResumeStructuredDocument | null
114
- }
115
-
116
- export type TalentMindCreateResumeForm = Pick<
117
- TalentMindResume,
118
- "name" | "raw_text" | "remote_url"
119
- >
@@ -1,5 +0,0 @@
1
- import { ZodAny, ZodNullable } from "zod"
2
-
3
- export type WindowHapiValidationsTalentMindResume = {
4
- resume: ZodNullable<ZodAny>
5
- }
package/tsconfig.json DELETED
@@ -1,36 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2015",
4
- "lib": [
5
- "dom",
6
- "dom.iterable",
7
- "esnext"
8
- ],
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "strict": true,
12
- "noEmit": false,
13
- "esModuleInterop": true,
14
- "moduleResolution": "node",
15
- "module": "commonjs",
16
- "resolveJsonModule": true,
17
- "isolatedModules": false,
18
- "jsx": "preserve",
19
- "incremental": false,
20
- "experimentalDecorators": true,
21
- "baseUrl": "./",
22
- "outFile": "index.d.ts",
23
- "forceConsistentCasingInFileNames": true
24
- },
25
- "include": [
26
- "**/*",
27
- ],
28
- "exclude": [
29
- "node_modules",
30
- "../ats/**/*",
31
- "../common/**/*",
32
- "../src/**/*",
33
- "./index.d.ts",
34
- "./index.d.ts.map"
35
- ]
36
- }