exnet-routing 1.2.46 → 1.2.48

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.
@@ -417,4 +417,33 @@ export declare const ShippingManifestSchemaSimple: z.ZodObject<{
417
417
  shippingId: number;
418
418
  manifestId: number;
419
419
  }>;
420
+ export declare const ShippingManifestCreateSchema: z.ZodObject<{
421
+ shippingId: z.ZodNumber;
422
+ manifestId: z.ZodNumber;
423
+ userId: z.ZodOptional<z.ZodNumber>;
424
+ createdAt: z.ZodOptional<z.ZodString>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ shippingId: number;
427
+ manifestId: number;
428
+ createdAt?: string | undefined;
429
+ userId?: number | undefined;
430
+ }, {
431
+ shippingId: number;
432
+ manifestId: number;
433
+ createdAt?: string | undefined;
434
+ userId?: number | undefined;
435
+ }>;
436
+ export declare const ShippingManifestUpdateSchema: z.ZodObject<{
437
+ manifestId: z.ZodOptional<z.ZodNumber>;
438
+ userId: z.ZodOptional<z.ZodNumber>;
439
+ createdAt: z.ZodOptional<z.ZodString>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ createdAt?: string | undefined;
442
+ userId?: number | undefined;
443
+ manifestId?: number | undefined;
444
+ }, {
445
+ createdAt?: string | undefined;
446
+ userId?: number | undefined;
447
+ manifestId?: number | undefined;
448
+ }>;
420
449
  export type IShippingManifest = z.infer<typeof ShippingManifestSchema>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ShippingManifestSchemaSimple = exports.ShippingManifestSchema = void 0;
3
+ exports.ShippingManifestUpdateSchema = exports.ShippingManifestCreateSchema = exports.ShippingManifestSchemaSimple = exports.ShippingManifestSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const luxon_1 = require("luxon");
6
6
  const _shipping_1 = require("./_shipping");
@@ -21,3 +21,14 @@ exports.ShippingManifestSchemaSimple = zod_1.z.object({
21
21
  shippingId: zod_1.z.number(),
22
22
  manifestId: zod_1.z.number(),
23
23
  });
24
+ exports.ShippingManifestCreateSchema = zod_1.z.object({
25
+ shippingId: zod_1.z.number(),
26
+ manifestId: zod_1.z.number(),
27
+ userId: zod_1.z.number().optional(),
28
+ createdAt: zod_1.z.string().optional(),
29
+ });
30
+ exports.ShippingManifestUpdateSchema = zod_1.z.object({
31
+ manifestId: zod_1.z.number().optional(),
32
+ userId: zod_1.z.number().optional(),
33
+ createdAt: zod_1.z.string().optional(),
34
+ });