erpnext-queue-client 2.2.2 → 2.2.3

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.
@@ -314,3 +314,78 @@ export declare const ConsolidatedCustomsInvoice: z.ZodObject<{
314
314
  exporter_contact_email?: string | null | undefined;
315
315
  }>;
316
316
  export type ConsolidatedCustomsInvoiceType = z.infer<typeof ConsolidatedCustomsInvoice>;
317
+ export declare const ConsolidatedCustomsInvoiceCreateInput: z.ZodObject<{
318
+ shipments: z.ZodArray<z.ZodString, "many">;
319
+ }, "strip", z.ZodTypeAny, {
320
+ shipments: string[];
321
+ }, {
322
+ shipments: string[];
323
+ }>;
324
+ export type ConsolidatedCustomsInvoiceCreateInputType = z.infer<typeof ConsolidatedCustomsInvoiceCreateInput>;
325
+ export declare const CreateConsolidatedCustomsInvoiceResponseSchema: z.ZodObject<{
326
+ name: z.ZodString;
327
+ importer_address: z.ZodObject<Pick<{
328
+ import_reference: z.ZodNullable<z.ZodOptional<z.ZodString>>;
329
+ address_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
330
+ address_type: z.ZodString;
331
+ address_line1: z.ZodString;
332
+ address_line2: z.ZodNullable<z.ZodOptional<z.ZodString>>;
333
+ pincode: z.ZodEffects<z.ZodString, string, unknown>;
334
+ state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
335
+ phone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
336
+ fax: z.ZodNullable<z.ZodOptional<z.ZodString>>;
337
+ tax_category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
338
+ city: z.ZodString;
339
+ country: z.ZodString;
340
+ county: z.ZodNullable<z.ZodOptional<z.ZodString>>;
341
+ email_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
342
+ is_primary_address: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
343
+ __optionalForInput: true;
344
+ };
345
+ is_shipping_address: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
346
+ __optionalForInput: true;
347
+ };
348
+ is_your_company_address: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
349
+ __optionalForInput: true;
350
+ };
351
+ disabled: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>, 0 | 1, unknown>> & {
352
+ __optionalForInput: true;
353
+ };
354
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
355
+ link_doctype: z.ZodString;
356
+ link_name: z.ZodString;
357
+ link_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ link_doctype: string;
360
+ link_name: string;
361
+ link_title?: string | null | undefined;
362
+ }, {
363
+ link_doctype: string;
364
+ link_name: string;
365
+ link_title?: string | null | undefined;
366
+ }>, "many">>;
367
+ }, "address_title" | "phone" | "email_id">, "strip", z.ZodTypeAny, {
368
+ address_title?: string | null | undefined;
369
+ phone?: string | null | undefined;
370
+ email_id?: string | null | undefined;
371
+ }, {
372
+ address_title?: string | null | undefined;
373
+ phone?: string | null | undefined;
374
+ email_id?: string | null | undefined;
375
+ }>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ name: string;
378
+ importer_address: {
379
+ address_title?: string | null | undefined;
380
+ phone?: string | null | undefined;
381
+ email_id?: string | null | undefined;
382
+ };
383
+ }, {
384
+ name: string;
385
+ importer_address: {
386
+ address_title?: string | null | undefined;
387
+ phone?: string | null | undefined;
388
+ email_id?: string | null | undefined;
389
+ };
390
+ }>;
391
+ export type CreateConsolidatedCustomsInvoiceResponseType = z.infer<typeof CreateConsolidatedCustomsInvoiceResponseSchema>;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConsolidatedCustomsInvoice = exports.ConsolidatedCustomsInvoiceExportApprovalStatus = exports.ConsolidatedCustomsInvoiceItem = void 0;
3
+ exports.CreateConsolidatedCustomsInvoiceResponseSchema = exports.ConsolidatedCustomsInvoiceCreateInput = exports.ConsolidatedCustomsInvoice = exports.ConsolidatedCustomsInvoiceExportApprovalStatus = exports.ConsolidatedCustomsInvoiceItem = void 0;
4
4
  const zod_1 = require("zod");
5
+ const Address_1 = require("./Address");
5
6
  // Child table: Consolidated Customs Invoice Item
6
7
  exports.ConsolidatedCustomsInvoiceItem = zod_1.z
7
8
  .object({
@@ -77,3 +78,18 @@ exports.ConsolidatedCustomsInvoice = zod_1.z
77
78
  items: zod_1.z.array(exports.ConsolidatedCustomsInvoiceItem),
78
79
  })
79
80
  .describe("Consolidated Customs Invoice");
81
+ exports.ConsolidatedCustomsInvoiceCreateInput = zod_1.z
82
+ .object({
83
+ shipments: zod_1.z.array(zod_1.z.string().min(1)).min(1),
84
+ })
85
+ .describe("ConsolidatedCustomsInvoiceCreateInput");
86
+ exports.CreateConsolidatedCustomsInvoiceResponseSchema = zod_1.z
87
+ .object({
88
+ name: zod_1.z.string().min(1),
89
+ importer_address: Address_1.Address.pick({
90
+ address_title: true,
91
+ email_id: true,
92
+ phone: true,
93
+ }),
94
+ })
95
+ .describe("CreateConsolidatedCustomsInvoiceResponse");
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "winston": "^3.15.0",
31
31
  "zod": "3.25.76"
32
32
  },
33
- "version": "2.2.2",
33
+ "version": "2.2.3",
34
34
  "devDependencies": {
35
35
  "@types/crypto-js": "^4.2.2",
36
36
  "@types/lodash": "^4.17.13",