@findatruck/shared-schemas 0.10.0 → 0.11.1

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.
package/dist/index.cjs CHANGED
@@ -103,12 +103,8 @@ var UrlSchema2 = import_zod2.default.string().refine(
103
103
  { message: "Invalid URL" }
104
104
  );
105
105
  var ConvexUpdate = import_zod2.default.object({
106
- providerUrl: UrlSchema2.describe("The URL of the ELD provider"),
106
+ provider_url: UrlSchema2.describe("The URL of the ELD provider"),
107
107
  username: import_zod2.default.string().describe("The driver's login username"),
108
- password: import_zod2.default.string().describe("The driver's login password"),
109
- driver_id: import_zod2.default.string().optional().describe("The ELD's internal driver ID"),
110
- driver_first_name: import_zod2.default.string().optional().describe("The driver's first name"),
111
- driver_last_name: import_zod2.default.string().optional().describe("The driver's last name"),
112
108
  driver_name: import_zod2.default.string().optional().describe("The driver's full name"),
113
109
  vehicle_id: import_zod2.default.string().optional().describe("The vehicle ID"),
114
110
  driver_status: import_zod2.default.string().describe("The driver's duty status (direct from ELD)"),
package/dist/index.d.cts CHANGED
@@ -146,12 +146,8 @@ declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
146
146
  }>]>;
147
147
 
148
148
  declare const ConvexUpdate: z$1.ZodObject<{
149
- providerUrl: z$1.ZodEffects<z$1.ZodString, string, string>;
149
+ provider_url: z$1.ZodEffects<z$1.ZodString, string, string>;
150
150
  username: z$1.ZodString;
151
- password: z$1.ZodString;
152
- driver_id: z$1.ZodOptional<z$1.ZodString>;
153
- driver_first_name: z$1.ZodOptional<z$1.ZodString>;
154
- driver_last_name: z$1.ZodOptional<z$1.ZodString>;
155
151
  driver_name: z$1.ZodOptional<z$1.ZodString>;
156
152
  vehicle_id: z$1.ZodOptional<z$1.ZodString>;
157
153
  driver_status: z$1.ZodString;
@@ -163,9 +159,8 @@ declare const ConvexUpdate: z$1.ZodObject<{
163
159
  driver_current_location_longitude: z$1.ZodNumber;
164
160
  driver_current_location_address: z$1.ZodString;
165
161
  }, "strip", z$1.ZodTypeAny, {
166
- providerUrl: string;
167
162
  username: string;
168
- password: string;
163
+ provider_url: string;
169
164
  driver_status: string;
170
165
  time_remaining_in_shift: number;
171
166
  time_remaining_till_break: number;
@@ -174,15 +169,11 @@ declare const ConvexUpdate: z$1.ZodObject<{
174
169
  driver_current_location_latitude: number;
175
170
  driver_current_location_longitude: number;
176
171
  driver_current_location_address: string;
177
- driver_id?: string | undefined;
178
- driver_first_name?: string | undefined;
179
- driver_last_name?: string | undefined;
180
172
  driver_name?: string | undefined;
181
173
  vehicle_id?: string | undefined;
182
174
  }, {
183
- providerUrl: string;
184
175
  username: string;
185
- password: string;
176
+ provider_url: string;
186
177
  driver_status: string;
187
178
  time_remaining_in_shift: number;
188
179
  time_remaining_till_break: number;
@@ -191,9 +182,6 @@ declare const ConvexUpdate: z$1.ZodObject<{
191
182
  driver_current_location_latitude: number;
192
183
  driver_current_location_longitude: number;
193
184
  driver_current_location_address: string;
194
- driver_id?: string | undefined;
195
- driver_first_name?: string | undefined;
196
- driver_last_name?: string | undefined;
197
185
  driver_name?: string | undefined;
198
186
  vehicle_id?: string | undefined;
199
187
  }>;
package/dist/index.d.ts CHANGED
@@ -146,12 +146,8 @@ declare const NewLoginResponse: z.ZodUnion<[z.ZodObject<{
146
146
  }>]>;
147
147
 
148
148
  declare const ConvexUpdate: z$1.ZodObject<{
149
- providerUrl: z$1.ZodEffects<z$1.ZodString, string, string>;
149
+ provider_url: z$1.ZodEffects<z$1.ZodString, string, string>;
150
150
  username: z$1.ZodString;
151
- password: z$1.ZodString;
152
- driver_id: z$1.ZodOptional<z$1.ZodString>;
153
- driver_first_name: z$1.ZodOptional<z$1.ZodString>;
154
- driver_last_name: z$1.ZodOptional<z$1.ZodString>;
155
151
  driver_name: z$1.ZodOptional<z$1.ZodString>;
156
152
  vehicle_id: z$1.ZodOptional<z$1.ZodString>;
157
153
  driver_status: z$1.ZodString;
@@ -163,9 +159,8 @@ declare const ConvexUpdate: z$1.ZodObject<{
163
159
  driver_current_location_longitude: z$1.ZodNumber;
164
160
  driver_current_location_address: z$1.ZodString;
165
161
  }, "strip", z$1.ZodTypeAny, {
166
- providerUrl: string;
167
162
  username: string;
168
- password: string;
163
+ provider_url: string;
169
164
  driver_status: string;
170
165
  time_remaining_in_shift: number;
171
166
  time_remaining_till_break: number;
@@ -174,15 +169,11 @@ declare const ConvexUpdate: z$1.ZodObject<{
174
169
  driver_current_location_latitude: number;
175
170
  driver_current_location_longitude: number;
176
171
  driver_current_location_address: string;
177
- driver_id?: string | undefined;
178
- driver_first_name?: string | undefined;
179
- driver_last_name?: string | undefined;
180
172
  driver_name?: string | undefined;
181
173
  vehicle_id?: string | undefined;
182
174
  }, {
183
- providerUrl: string;
184
175
  username: string;
185
- password: string;
176
+ provider_url: string;
186
177
  driver_status: string;
187
178
  time_remaining_in_shift: number;
188
179
  time_remaining_till_break: number;
@@ -191,9 +182,6 @@ declare const ConvexUpdate: z$1.ZodObject<{
191
182
  driver_current_location_latitude: number;
192
183
  driver_current_location_longitude: number;
193
184
  driver_current_location_address: string;
194
- driver_id?: string | undefined;
195
- driver_first_name?: string | undefined;
196
- driver_last_name?: string | undefined;
197
185
  driver_name?: string | undefined;
198
186
  vehicle_id?: string | undefined;
199
187
  }>;
package/dist/index.js CHANGED
@@ -52,12 +52,8 @@ var UrlSchema2 = z2.string().refine(
52
52
  { message: "Invalid URL" }
53
53
  );
54
54
  var ConvexUpdate = z2.object({
55
- providerUrl: UrlSchema2.describe("The URL of the ELD provider"),
55
+ provider_url: UrlSchema2.describe("The URL of the ELD provider"),
56
56
  username: z2.string().describe("The driver's login username"),
57
- password: z2.string().describe("The driver's login password"),
58
- driver_id: z2.string().optional().describe("The ELD's internal driver ID"),
59
- driver_first_name: z2.string().optional().describe("The driver's first name"),
60
- driver_last_name: z2.string().optional().describe("The driver's last name"),
61
57
  driver_name: z2.string().optional().describe("The driver's full name"),
62
58
  vehicle_id: z2.string().optional().describe("The vehicle ID"),
63
59
  driver_status: z2.string().describe("The driver's duty status (direct from ELD)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findatruck/shared-schemas",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",