erpnext-queue-client 1.26.2 → 1.26.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.
@@ -22,7 +22,7 @@ export declare class ERPNextDoctypeResourceRequest<TModel extends ZodObject<any>
22
22
  resourceId: string;
23
23
  priority?: number;
24
24
  }): Promise<z.TypeOf<TModel>>;
25
- updateById<TInput extends TInputModel extends undefined ? Partial<z.TypeOf<TModel>> : TInputModel extends ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
25
+ updateById<TInput extends TInputModel extends undefined ? Partial<z.TypeOf<TModel>> : TInputModel extends ZodTypeAny ? Partial<z.TypeOf<TInputModel>> : any, TInputModel extends ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
26
26
  resourceId: string;
27
27
  inputValidationModel?: TInputModel;
28
28
  priority?: number;
@@ -158,7 +158,7 @@ export declare class ERPNextAddress {
158
158
  fax?: string | null | undefined;
159
159
  tax_category?: string | null | undefined;
160
160
  county?: string | null | undefined;
161
- }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
161
+ }> : TInputModel extends z.ZodTypeAny ? Partial<z.TypeOf<TInputModel>> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
162
162
  resourceId: string;
163
163
  inputValidationModel?: TInputModel;
164
164
  priority?: number;
@@ -227,7 +227,7 @@ export declare class ERPNextContact {
227
227
  is_primary_phone: boolean;
228
228
  is_primary_mobile_no: boolean;
229
229
  }[] | null | undefined;
230
- }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
230
+ }> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
231
231
  resourceId: string;
232
232
  inputValidationModel?: TInputModel;
233
233
  priority?: number;
@@ -970,7 +970,7 @@ export declare class ERPNextDeliveryNote {
970
970
  auto_repeat?: string | null | undefined;
971
971
  sales_partner?: string | null | undefined;
972
972
  dispatch_run?: string | null | undefined;
973
- }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
973
+ }> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
974
974
  resourceId: string;
975
975
  inputValidationModel?: TInputModel;
976
976
  priority?: number;
@@ -546,7 +546,7 @@ export declare class ERPNextItem {
546
546
  custom_shopify_content_configuration?: string | null | undefined;
547
547
  custom_compliance?: string | null | undefined;
548
548
  custom_serviceportal_configuration?: string | null | undefined;
549
- }> : TInputModel extends z.ZodTypeAny ? z.TypeOf<TInputModel> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
549
+ }> : TInputModel extends z.ZodTypeAny ? Partial<z.TypeOf<TInputModel>> : any, TInputModel extends z.ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
550
550
  resourceId: string;
551
551
  inputValidationModel?: TInputModel;
552
552
  priority?: number;
@@ -598,7 +598,7 @@ export declare class ERPNextPurchaseInvoice {
598
598
  advances?: string[] | null | undefined;
599
599
  advance_tax?: string[] | null | undefined;
600
600
  remarks?: string | null | undefined;
601
- }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
601
+ }> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
602
602
  resourceId: string;
603
603
  inputValidationModel?: TInputModel;
604
604
  priority?: number;
@@ -616,7 +616,7 @@ export declare class ERPNextPurchaseReceipt {
616
616
  set_from_warehouse?: any;
617
617
  supplier_warehouse?: any;
618
618
  range?: any;
619
- }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
619
+ }> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
620
620
  resourceId: string;
621
621
  inputValidationModel?: TInputModel;
622
622
  priority?: number;
@@ -304,7 +304,7 @@ export declare class ERPNextShipment {
304
304
  custom_return_shipping_provider?: string | null | undefined;
305
305
  tracking_status_info?: string | null | undefined;
306
306
  tracking_url?: string | null | undefined;
307
- }> : TInputModel extends import("zod").ZodTypeAny ? import("zod").TypeOf<TInputModel> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
307
+ }> : TInputModel extends import("zod").ZodTypeAny ? Partial<import("zod").TypeOf<TInputModel>> : any, TInputModel extends import("zod").ZodTypeAny | undefined = undefined>({ resourceId, inputValidationModel, body, priority, }: {
308
308
  resourceId: string;
309
309
  inputValidationModel?: TInputModel;
310
310
  priority?: number;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "winston": "^3.15.0",
26
26
  "zod": "^3.24.1"
27
27
  },
28
- "version": "1.26.2",
28
+ "version": "1.26.3",
29
29
  "devDependencies": {
30
30
  "@types/crypto-js": "^4.2.2",
31
31
  "@types/lodash": "^4.17.13",