erpnext-queue-client 1.37.0 → 1.39.0
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.
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const FulfillmentStations: z.ZodArray<z.ZodObject<{
|
|
3
3
|
fulfillment_station: z.ZodString;
|
|
4
|
+
require_scan_to_print: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNumber>>>;
|
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
|
5
6
|
fulfillment_station: string;
|
|
7
|
+
require_scan_to_print?: number | null | undefined;
|
|
6
8
|
}, {
|
|
7
9
|
fulfillment_station: string;
|
|
10
|
+
require_scan_to_print?: number | null | undefined;
|
|
8
11
|
}>, "many">;
|
|
9
12
|
export type FulfillmentStationsType = z.infer<typeof FulfillmentStations>;
|
|
@@ -510,3 +510,132 @@ export declare const ServiceportalProductConfigurationInput: z.ZodObject<Omit<{
|
|
|
510
510
|
internal_reasons_section?: string | null | undefined;
|
|
511
511
|
}>;
|
|
512
512
|
export type ServiceportalProductConfigurationInputType = z.infer<typeof ServiceportalProductConfigurationInput>;
|
|
513
|
+
export declare const ServiceportalProductConfigurationMethodResponse: z.ZodObject<{
|
|
514
|
+
name: z.ZodString;
|
|
515
|
+
owner: z.ZodString;
|
|
516
|
+
creation: z.ZodString;
|
|
517
|
+
modified: z.ZodString;
|
|
518
|
+
modified_by: z.ZodString;
|
|
519
|
+
title: z.ZodString;
|
|
520
|
+
return_fee: z.ZodNumber;
|
|
521
|
+
return_fee_explanation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
522
|
+
is_ask_for_batch_number: z.ZodNumber;
|
|
523
|
+
batch_number_location_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
524
|
+
return_conditions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
525
|
+
doctype: z.ZodLiteral<"Serviceportal Product Configuration">;
|
|
526
|
+
return_shipping_provider: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
527
|
+
return_instructions: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
528
|
+
internal_reasons_section: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
529
|
+
} & {
|
|
530
|
+
return_fees: z.ZodArray<z.ZodObject<Pick<{
|
|
531
|
+
name: z.ZodString;
|
|
532
|
+
owner: z.ZodString;
|
|
533
|
+
creation: z.ZodString;
|
|
534
|
+
modified: z.ZodString;
|
|
535
|
+
modified_by: z.ZodString;
|
|
536
|
+
idx: z.ZodNumber;
|
|
537
|
+
docstatus: z.ZodNumber;
|
|
538
|
+
shipping_provider: z.ZodString;
|
|
539
|
+
country: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
540
|
+
fee: z.ZodNumber;
|
|
541
|
+
}, "country" | "shipping_provider" | "fee">, "strip", z.ZodTypeAny, {
|
|
542
|
+
shipping_provider: string;
|
|
543
|
+
fee: number;
|
|
544
|
+
country?: string | null | undefined;
|
|
545
|
+
}, {
|
|
546
|
+
shipping_provider: string;
|
|
547
|
+
fee: number;
|
|
548
|
+
country?: string | null | undefined;
|
|
549
|
+
}>, "many">;
|
|
550
|
+
batch_numbers: z.ZodArray<z.ZodObject<Pick<{
|
|
551
|
+
name: z.ZodString;
|
|
552
|
+
owner: z.ZodString;
|
|
553
|
+
creation: z.ZodString;
|
|
554
|
+
modified: z.ZodString;
|
|
555
|
+
modified_by: z.ZodString;
|
|
556
|
+
docstatus: z.ZodNumber;
|
|
557
|
+
idx: z.ZodNumber;
|
|
558
|
+
batch_number: z.ZodString;
|
|
559
|
+
parent: z.ZodString;
|
|
560
|
+
parentfield: z.ZodString;
|
|
561
|
+
parenttype: z.ZodString;
|
|
562
|
+
doctype: z.ZodLiteral<"Batch Number List">;
|
|
563
|
+
}, "batch_number">, "strip", z.ZodTypeAny, {
|
|
564
|
+
batch_number: string;
|
|
565
|
+
}, {
|
|
566
|
+
batch_number: string;
|
|
567
|
+
}>, "many">;
|
|
568
|
+
internal_reasons: z.ZodArray<z.ZodObject<Pick<{
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
owner: z.ZodString;
|
|
571
|
+
creation: z.ZodString;
|
|
572
|
+
modified: z.ZodString;
|
|
573
|
+
modified_by: z.ZodString;
|
|
574
|
+
docstatus: z.ZodNumber;
|
|
575
|
+
idx: z.ZodNumber;
|
|
576
|
+
internal_reason: z.ZodString;
|
|
577
|
+
parent: z.ZodString;
|
|
578
|
+
parentfield: z.ZodString;
|
|
579
|
+
parenttype: z.ZodString;
|
|
580
|
+
doctype: z.ZodLiteral<"Internal Reasons List">;
|
|
581
|
+
}, "internal_reason">, "strip", z.ZodTypeAny, {
|
|
582
|
+
internal_reason: string;
|
|
583
|
+
}, {
|
|
584
|
+
internal_reason: string;
|
|
585
|
+
}>, "many">;
|
|
586
|
+
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
name: string;
|
|
588
|
+
doctype: "Serviceportal Product Configuration";
|
|
589
|
+
owner: string;
|
|
590
|
+
creation: string;
|
|
591
|
+
modified: string;
|
|
592
|
+
modified_by: string;
|
|
593
|
+
title: string;
|
|
594
|
+
internal_reasons: {
|
|
595
|
+
internal_reason: string;
|
|
596
|
+
}[];
|
|
597
|
+
return_fee: number;
|
|
598
|
+
return_fees: {
|
|
599
|
+
shipping_provider: string;
|
|
600
|
+
fee: number;
|
|
601
|
+
country?: string | null | undefined;
|
|
602
|
+
}[];
|
|
603
|
+
is_ask_for_batch_number: number;
|
|
604
|
+
batch_numbers: {
|
|
605
|
+
batch_number: string;
|
|
606
|
+
}[];
|
|
607
|
+
return_fee_explanation?: string | null | undefined;
|
|
608
|
+
batch_number_location_description?: string | null | undefined;
|
|
609
|
+
return_conditions?: string | null | undefined;
|
|
610
|
+
return_shipping_provider?: string | null | undefined;
|
|
611
|
+
return_instructions?: string | null | undefined;
|
|
612
|
+
internal_reasons_section?: string | null | undefined;
|
|
613
|
+
}, {
|
|
614
|
+
name: string;
|
|
615
|
+
doctype: "Serviceportal Product Configuration";
|
|
616
|
+
owner: string;
|
|
617
|
+
creation: string;
|
|
618
|
+
modified: string;
|
|
619
|
+
modified_by: string;
|
|
620
|
+
title: string;
|
|
621
|
+
internal_reasons: {
|
|
622
|
+
internal_reason: string;
|
|
623
|
+
}[];
|
|
624
|
+
return_fee: number;
|
|
625
|
+
return_fees: {
|
|
626
|
+
shipping_provider: string;
|
|
627
|
+
fee: number;
|
|
628
|
+
country?: string | null | undefined;
|
|
629
|
+
}[];
|
|
630
|
+
is_ask_for_batch_number: number;
|
|
631
|
+
batch_numbers: {
|
|
632
|
+
batch_number: string;
|
|
633
|
+
}[];
|
|
634
|
+
return_fee_explanation?: string | null | undefined;
|
|
635
|
+
batch_number_location_description?: string | null | undefined;
|
|
636
|
+
return_conditions?: string | null | undefined;
|
|
637
|
+
return_shipping_provider?: string | null | undefined;
|
|
638
|
+
return_instructions?: string | null | undefined;
|
|
639
|
+
internal_reasons_section?: string | null | undefined;
|
|
640
|
+
}>;
|
|
641
|
+
export type ServiceportalProductConfigurationMethodResponseType = z.infer<typeof ServiceportalProductConfigurationMethodResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductConfiguration = exports.InternalReasonList = void 0;
|
|
3
|
+
exports.ServiceportalProductConfigurationMethodResponse = exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductConfiguration = exports.InternalReasonList = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const ShippingFees_1 = require("./ShippingFees");
|
|
6
6
|
const BatchNumberList = zod_1.z
|
|
@@ -67,3 +67,8 @@ exports.ServiceportalProductConfigurationInput = exports.ServiceportalProductCon
|
|
|
67
67
|
batch_numbers: zod_1.z.array(BatchNumberList.pick({ batch_number: true })),
|
|
68
68
|
internal_reasons: zod_1.z.array(exports.InternalReasonList.pick({ internal_reason: true })),
|
|
69
69
|
});
|
|
70
|
+
exports.ServiceportalProductConfigurationMethodResponse = exports.ServiceportalProductConfiguration.extend({
|
|
71
|
+
return_fees: zod_1.z.array(ShippingFees_1.ShippingFee.pick({ shipping_provider: true, country: true, fee: true })),
|
|
72
|
+
batch_numbers: zod_1.z.array(BatchNumberList.pick({ batch_number: true })),
|
|
73
|
+
internal_reasons: zod_1.z.array(exports.InternalReasonList.pick({ internal_reason: true })),
|
|
74
|
+
});
|