@inploi/plugin-job-search 0.1.3 → 0.1.5

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.
@@ -6,7 +6,7 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
6
6
  data: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").ObjectSchema<{
7
7
  id: import("valibot").NumberSchema<number>;
8
8
  company_name: import("valibot").StringSchema<string>;
9
- employment_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"FULL_TIME", "FULL_TIME">, import("valibot").LiteralSchema<"PART_TIME", "PART_TIME">, import("valibot").LiteralSchema<"TEMPORARY", "TEMPORARY">, import("valibot").LiteralSchema<"CONTRACTOR", "CONTRACTOR">, import("valibot").LiteralSchema<"INTERN", "INTERN">, import("valibot").LiteralSchema<"VOLUNTEER", "VOLUNTEER">, import("valibot").LiteralSchema<"OTHER", "OTHER">], "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER">;
9
+ employment_type: import("valibot").StringSchema<string>;
10
10
  location_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"LOCATION", "LOCATION">, import("valibot").LiteralSchema<"REMOTE", "REMOTE">, import("valibot").LiteralSchema<"HYBRID", "HYBRID">], "LOCATION" | "REMOTE" | "HYBRID">;
11
11
  pay_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ANNUALLY", "ANNUALLY">, import("valibot").LiteralSchema<"HOURLY", "HOURLY">, import("valibot").LiteralSchema<"MONTHLY", "MONTHLY">, import("valibot").LiteralSchema<"WEEKLY", "WEEKLY">, import("valibot").LiteralSchema<"DAILY", "DAILY">], "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY">;
12
12
  pay_currency: import("valibot").StringSchema<string>;
@@ -17,13 +17,6 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
17
17
  pay_max: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
18
18
  description: import("valibot").StringSchema<string>;
19
19
  title: import("valibot").StringSchema<string>;
20
- coordinates: import("valibot").ObjectSchema<{
21
- lat: import("valibot").NumberSchema<number>;
22
- lng: import("valibot").NumberSchema<number>;
23
- }, undefined, {
24
- lat: number;
25
- lng: number;
26
- }>;
27
20
  contract_type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
28
21
  created_at: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
29
22
  custom_data: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").AnySchema<any>, {
@@ -37,7 +30,7 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
37
30
  href: string;
38
31
  id: number;
39
32
  company_name: string;
40
- employment_type: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
33
+ employment_type: string;
41
34
  location_type: "LOCATION" | "REMOTE" | "HYBRID";
42
35
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY";
43
36
  pay_currency: string;
@@ -47,10 +40,6 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
47
40
  pay_min: string | null;
48
41
  pay_max: string | null;
49
42
  description: string;
50
- coordinates: {
51
- lat: number;
52
- lng: number;
53
- };
54
43
  contract_type: string | null;
55
44
  created_at: string | null;
56
45
  custom_data: {
@@ -62,15 +51,11 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
62
51
  company: {
63
52
  name: string;
64
53
  };
65
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
54
+ employmentType: string;
66
55
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
67
56
  pay: string | undefined;
68
57
  description: string;
69
58
  title: string;
70
- coordinates: {
71
- lat: number;
72
- lng: number;
73
- };
74
59
  contractType: string | null;
75
60
  href: string;
76
61
  relativePostedDate: string;
@@ -83,15 +68,11 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
83
68
  company: {
84
69
  name: string;
85
70
  };
86
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
71
+ employmentType: string;
87
72
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
88
73
  pay: string | undefined;
89
74
  description: string;
90
75
  title: string;
91
- coordinates: {
92
- lat: number;
93
- lng: number;
94
- };
95
76
  contractType: string | null;
96
77
  href: string;
97
78
  relativePostedDate: string;
@@ -117,15 +98,11 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
117
98
  company: {
118
99
  name: string;
119
100
  };
120
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
101
+ employmentType: string;
121
102
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
122
103
  pay: string | undefined;
123
104
  description: string;
124
105
  title: string;
125
- coordinates: {
126
- lat: number;
127
- lng: number;
128
- };
129
106
  contractType: string | null;
130
107
  href: string;
131
108
  relativePostedDate: string;
@@ -152,15 +129,11 @@ declare const JobSearchResponseSchema: import("valibot").SchemaWithTransform<imp
152
129
  company: {
153
130
  name: string;
154
131
  };
155
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
132
+ employmentType: string;
156
133
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
157
134
  pay: string | undefined;
158
135
  description: string;
159
136
  title: string;
160
- coordinates: {
161
- lat: number;
162
- lng: number;
163
- };
164
137
  contractType: string | null;
165
138
  href: string;
166
139
  relativePostedDate: string;
@@ -177,8 +150,8 @@ export declare const getAvailableFilters: ({ apiClient, filters, logger, signal,
177
150
  filters: Record<string, FilterValue | undefined>;
178
151
  }) => Promise<{
179
152
  [x: string]: {
180
- value: string;
181
153
  label: string;
154
+ value: string;
182
155
  }[];
183
156
  }>;
184
157
  export type GetAvailableFiltersResponse = Awaited<ReturnType<typeof getAvailableFilters>>;
@@ -201,15 +174,11 @@ export declare const getJobSearchResults: ({ apiClient, logger, signal, filters,
201
174
  company: {
202
175
  name: string;
203
176
  };
204
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
177
+ employmentType: string;
205
178
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
206
179
  pay: string | undefined;
207
180
  description: string;
208
181
  title: string;
209
- coordinates: {
210
- lat: number;
211
- lng: number;
212
- };
213
182
  contractType: string | null;
214
183
  href: string;
215
184
  relativePostedDate: string;
@@ -1,11 +1,17 @@
1
1
  import { Output } from 'valibot';
2
- export declare const AvailablePropertiesSchema: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").SchemaWithTransform<import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>, {
2
+ export declare const AvailablePropertiesSchema: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").ArraySchema<import("valibot").ObjectSchema<{
3
+ label: import("valibot").StringSchema<string>;
4
+ value: import("valibot").StringSchema<string>;
5
+ }, undefined, {
6
+ label: string;
3
7
  value: string;
8
+ }>, {
4
9
  label: string;
10
+ value: string;
5
11
  }[]>, {
6
12
  [x: string]: {
7
- value: string;
8
13
  label: string;
14
+ value: string;
9
15
  }[];
10
16
  }>;
11
17
  export type AvailablePropertiesSchema = Output<typeof AvailablePropertiesSchema>;
@@ -25,7 +31,7 @@ export type PaginationSchema = Output<typeof PaginationSchema>;
25
31
  export declare const JobSchema: import("valibot").SchemaWithTransform<import("valibot").ObjectSchema<{
26
32
  id: import("valibot").NumberSchema<number>;
27
33
  company_name: import("valibot").StringSchema<string>;
28
- employment_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"FULL_TIME", "FULL_TIME">, import("valibot").LiteralSchema<"PART_TIME", "PART_TIME">, import("valibot").LiteralSchema<"TEMPORARY", "TEMPORARY">, import("valibot").LiteralSchema<"CONTRACTOR", "CONTRACTOR">, import("valibot").LiteralSchema<"INTERN", "INTERN">, import("valibot").LiteralSchema<"VOLUNTEER", "VOLUNTEER">, import("valibot").LiteralSchema<"OTHER", "OTHER">], "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER">;
34
+ employment_type: import("valibot").StringSchema<string>;
29
35
  location_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"LOCATION", "LOCATION">, import("valibot").LiteralSchema<"REMOTE", "REMOTE">, import("valibot").LiteralSchema<"HYBRID", "HYBRID">], "LOCATION" | "REMOTE" | "HYBRID">;
30
36
  pay_type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"ANNUALLY", "ANNUALLY">, import("valibot").LiteralSchema<"HOURLY", "HOURLY">, import("valibot").LiteralSchema<"MONTHLY", "MONTHLY">, import("valibot").LiteralSchema<"WEEKLY", "WEEKLY">, import("valibot").LiteralSchema<"DAILY", "DAILY">], "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY">;
31
37
  pay_currency: import("valibot").StringSchema<string>;
@@ -36,13 +42,6 @@ export declare const JobSchema: import("valibot").SchemaWithTransform<import("va
36
42
  pay_max: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
37
43
  description: import("valibot").StringSchema<string>;
38
44
  title: import("valibot").StringSchema<string>;
39
- coordinates: import("valibot").ObjectSchema<{
40
- lat: import("valibot").NumberSchema<number>;
41
- lng: import("valibot").NumberSchema<number>;
42
- }, undefined, {
43
- lat: number;
44
- lng: number;
45
- }>;
46
45
  contract_type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
47
46
  created_at: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
48
47
  custom_data: import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").AnySchema<any>, {
@@ -56,7 +55,7 @@ export declare const JobSchema: import("valibot").SchemaWithTransform<import("va
56
55
  href: string;
57
56
  id: number;
58
57
  company_name: string;
59
- employment_type: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
58
+ employment_type: string;
60
59
  location_type: "LOCATION" | "REMOTE" | "HYBRID";
61
60
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY";
62
61
  pay_currency: string;
@@ -66,10 +65,6 @@ export declare const JobSchema: import("valibot").SchemaWithTransform<import("va
66
65
  pay_min: string | null;
67
66
  pay_max: string | null;
68
67
  description: string;
69
- coordinates: {
70
- lat: number;
71
- lng: number;
72
- };
73
68
  contract_type: string | null;
74
69
  created_at: string | null;
75
70
  custom_data: {
@@ -81,15 +76,11 @@ export declare const JobSchema: import("valibot").SchemaWithTransform<import("va
81
76
  company: {
82
77
  name: string;
83
78
  };
84
- employmentType: "FULL_TIME" | "PART_TIME" | "TEMPORARY" | "CONTRACTOR" | "INTERN" | "VOLUNTEER" | "OTHER";
79
+ employmentType: string;
85
80
  locationType: "LOCATION" | "REMOTE" | "HYBRID";
86
81
  pay: string | undefined;
87
82
  description: string;
88
83
  title: string;
89
- coordinates: {
90
- lat: number;
91
- lng: number;
92
- };
93
84
  contractType: string | null;
94
85
  href: string;
95
86
  relativePostedDate: string;