erpnext-queue-client 1.16.0 → 1.18.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.
|
@@ -566,6 +566,236 @@ export declare const ServicecaseInput: z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
566
566
|
agreed_terms?: string | null | undefined;
|
|
567
567
|
created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
|
|
568
568
|
}>;
|
|
569
|
+
export declare const ServicecaseExtended: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
570
|
+
name: z.ZodString;
|
|
571
|
+
owner: z.ZodString;
|
|
572
|
+
creation: z.ZodString;
|
|
573
|
+
modified: z.ZodString;
|
|
574
|
+
modified_by: z.ZodString;
|
|
575
|
+
title: z.ZodString;
|
|
576
|
+
order_number: z.ZodString;
|
|
577
|
+
external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
578
|
+
shop: z.ZodEnum<["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]>;
|
|
579
|
+
customer_email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
580
|
+
status: z.ZodDefault<z.ZodEnum<["EDITING", "SUBMITTING", "VALIDATING", "REJECTED", "SHIPPING", "COMPLETED"]>>;
|
|
581
|
+
complaint_date: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
582
|
+
is_complaint: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
583
|
+
is_sent_to_client: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
584
|
+
is_sent_to_cc: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, boolean, number>>>;
|
|
585
|
+
customer_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
586
|
+
agreed_terms: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
587
|
+
created_with: z.ZodDefault<z.ZodEnum<["Serviceportal", "Missive Sidebar", "Amazon FBA", "Amazon FBM"]>>;
|
|
588
|
+
country: z.ZodEnum<["Afghanistan", "Åland Islands", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antarctica", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia, Plurinational State of", "Bonaire, Sint Eustatius and Saba", "Bosnia and Herzegovina", "Botswana", "Bouvet Island", "Brazil", "British Indian Ocean Territory", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Christmas Island", "Cocos (Keeling) Islands", "Colombia", "Comoros", "Congo", "Congo, The Democratic Republic of the", "Cook Islands", "Costa Rica", "Croatia", "Cuba", "Curaçao", "Cyprus", "Czech Republic", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Falkland Islands (Malvinas)", "Faroe Islands", "Fiji", "Finland", "France", "French Guiana", "French Polynesia", "French Southern Territories", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Heard Island and McDonald Islands", "Holy See (Vatican City State)", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Isle of Man", "Israel", "Italy", "Ivory Coast", "Jamaica", "Japan", "Jersey", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Korea, Democratic Peoples Republic of", "Korea, Republic of", "Kuwait", "Kyrgyzstan", "Lao Peoples Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao", "Macedonia", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mayotte", "Mexico", "Micronesia, Federated States of", "Moldova, Republic of", "Monaco", "Mongolia", "Montenegro", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Réunion", "Romania", "Russian Federation", "Rwanda", "Saint Barthélemy", "Saint Helena, Ascension and Tristan da Cunha", "Saint Kitts and Nevis", "Saint Lucia", "Saint Martin (French part)", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Sint Maarten (Dutch part)", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Georgia and the South Sandwich Islands", "South Sudan", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen", "Swaziland", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States", "United States Minor Outlying Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela, Bolivarian Republic of", "Vietnam", "Virgin Islands, British", "Virgin Islands, U.S.", "Wallis and Futuna", "Western Sahara", "Yemen", "Zambia", "Zimbabwe"]>;
|
|
589
|
+
return_items: z.ZodArray<z.ZodObject<{
|
|
590
|
+
name: z.ZodString;
|
|
591
|
+
owner: z.ZodString;
|
|
592
|
+
creation: z.ZodString;
|
|
593
|
+
modified: z.ZodString;
|
|
594
|
+
modified_by: z.ZodString;
|
|
595
|
+
idx: z.ZodNumber;
|
|
596
|
+
item: z.ZodString;
|
|
597
|
+
line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
598
|
+
return_quantity: z.ZodNumber;
|
|
599
|
+
total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
600
|
+
return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
601
|
+
is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
602
|
+
servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
603
|
+
servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
604
|
+
batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
605
|
+
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
606
|
+
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
607
|
+
complaint_images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
608
|
+
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
|
+
name: string;
|
|
611
|
+
owner: string;
|
|
612
|
+
creation: string;
|
|
613
|
+
modified: string;
|
|
614
|
+
modified_by: string;
|
|
615
|
+
idx: number;
|
|
616
|
+
item: string;
|
|
617
|
+
return_quantity: number;
|
|
618
|
+
is_complaint: boolean;
|
|
619
|
+
attachments?: string | null | undefined;
|
|
620
|
+
internal_reasons?: string | null | undefined;
|
|
621
|
+
line_item_id?: string | null | undefined;
|
|
622
|
+
total_price?: number | null | undefined;
|
|
623
|
+
return_fee?: number | null | undefined;
|
|
624
|
+
servicecase_reason?: string | null | undefined;
|
|
625
|
+
servicecase_solution?: string | null | undefined;
|
|
626
|
+
batch_number?: string | null | undefined;
|
|
627
|
+
complaint_description?: string | null | undefined;
|
|
628
|
+
complaint_images?: string[] | null | undefined;
|
|
629
|
+
}, {
|
|
630
|
+
name: string;
|
|
631
|
+
owner: string;
|
|
632
|
+
creation: string;
|
|
633
|
+
modified: string;
|
|
634
|
+
modified_by: string;
|
|
635
|
+
idx: number;
|
|
636
|
+
item: string;
|
|
637
|
+
return_quantity: number;
|
|
638
|
+
is_complaint: number;
|
|
639
|
+
attachments?: string | null | undefined;
|
|
640
|
+
internal_reasons?: string | null | undefined;
|
|
641
|
+
line_item_id?: string | null | undefined;
|
|
642
|
+
total_price?: number | null | undefined;
|
|
643
|
+
return_fee?: number | null | undefined;
|
|
644
|
+
servicecase_reason?: string | null | undefined;
|
|
645
|
+
servicecase_solution?: string | null | undefined;
|
|
646
|
+
batch_number?: string | null | undefined;
|
|
647
|
+
complaint_description?: string | null | undefined;
|
|
648
|
+
complaint_images?: string[] | null | undefined;
|
|
649
|
+
}>, "many">;
|
|
650
|
+
}, "return_items">, {
|
|
651
|
+
return_items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
652
|
+
name: z.ZodString;
|
|
653
|
+
owner: z.ZodString;
|
|
654
|
+
creation: z.ZodString;
|
|
655
|
+
modified: z.ZodString;
|
|
656
|
+
modified_by: z.ZodString;
|
|
657
|
+
idx: z.ZodNumber;
|
|
658
|
+
item: z.ZodString;
|
|
659
|
+
line_item_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
660
|
+
return_quantity: z.ZodNumber;
|
|
661
|
+
total_price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
662
|
+
return_fee: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
663
|
+
is_complaint: z.ZodEffects<z.ZodNumber, boolean, number>;
|
|
664
|
+
servicecase_reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
665
|
+
servicecase_solution: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
666
|
+
batch_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
667
|
+
internal_reasons: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
668
|
+
complaint_description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
669
|
+
complaint_images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
670
|
+
attachments: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
671
|
+
}, "attachments" | "internal_reasons">, {
|
|
672
|
+
attachments: z.ZodArray<z.ZodString, "many">;
|
|
673
|
+
internal_reasons: z.ZodArray<z.ZodString, "many">;
|
|
674
|
+
}>, "strip", z.ZodTypeAny, {
|
|
675
|
+
name: string;
|
|
676
|
+
owner: string;
|
|
677
|
+
creation: string;
|
|
678
|
+
modified: string;
|
|
679
|
+
modified_by: string;
|
|
680
|
+
idx: number;
|
|
681
|
+
attachments: string[];
|
|
682
|
+
internal_reasons: string[];
|
|
683
|
+
item: string;
|
|
684
|
+
return_quantity: number;
|
|
685
|
+
is_complaint: boolean;
|
|
686
|
+
line_item_id?: string | null | undefined;
|
|
687
|
+
total_price?: number | null | undefined;
|
|
688
|
+
return_fee?: number | null | undefined;
|
|
689
|
+
servicecase_reason?: string | null | undefined;
|
|
690
|
+
servicecase_solution?: string | null | undefined;
|
|
691
|
+
batch_number?: string | null | undefined;
|
|
692
|
+
complaint_description?: string | null | undefined;
|
|
693
|
+
complaint_images?: string[] | null | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
name: string;
|
|
696
|
+
owner: string;
|
|
697
|
+
creation: string;
|
|
698
|
+
modified: string;
|
|
699
|
+
modified_by: string;
|
|
700
|
+
idx: number;
|
|
701
|
+
attachments: string[];
|
|
702
|
+
internal_reasons: string[];
|
|
703
|
+
item: string;
|
|
704
|
+
return_quantity: number;
|
|
705
|
+
is_complaint: number;
|
|
706
|
+
line_item_id?: string | null | undefined;
|
|
707
|
+
total_price?: number | null | undefined;
|
|
708
|
+
return_fee?: number | null | undefined;
|
|
709
|
+
servicecase_reason?: string | null | undefined;
|
|
710
|
+
servicecase_solution?: string | null | undefined;
|
|
711
|
+
batch_number?: string | null | undefined;
|
|
712
|
+
complaint_description?: string | null | undefined;
|
|
713
|
+
complaint_images?: string[] | null | undefined;
|
|
714
|
+
}>, "many">;
|
|
715
|
+
}>, "strip", z.ZodTypeAny, {
|
|
716
|
+
status: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED";
|
|
717
|
+
name: string;
|
|
718
|
+
country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
|
|
719
|
+
owner: string;
|
|
720
|
+
creation: string;
|
|
721
|
+
modified: string;
|
|
722
|
+
modified_by: string;
|
|
723
|
+
title: string;
|
|
724
|
+
order_number: string;
|
|
725
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
726
|
+
created_with: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar";
|
|
727
|
+
return_items: {
|
|
728
|
+
name: string;
|
|
729
|
+
owner: string;
|
|
730
|
+
creation: string;
|
|
731
|
+
modified: string;
|
|
732
|
+
modified_by: string;
|
|
733
|
+
idx: number;
|
|
734
|
+
attachments: string[];
|
|
735
|
+
internal_reasons: string[];
|
|
736
|
+
item: string;
|
|
737
|
+
return_quantity: number;
|
|
738
|
+
is_complaint: boolean;
|
|
739
|
+
line_item_id?: string | null | undefined;
|
|
740
|
+
total_price?: number | null | undefined;
|
|
741
|
+
return_fee?: number | null | undefined;
|
|
742
|
+
servicecase_reason?: string | null | undefined;
|
|
743
|
+
servicecase_solution?: string | null | undefined;
|
|
744
|
+
batch_number?: string | null | undefined;
|
|
745
|
+
complaint_description?: string | null | undefined;
|
|
746
|
+
complaint_images?: string[] | null | undefined;
|
|
747
|
+
}[];
|
|
748
|
+
is_complaint?: boolean | null | undefined;
|
|
749
|
+
external_id?: string | null | undefined;
|
|
750
|
+
customer_email?: string | null | undefined;
|
|
751
|
+
complaint_date?: Date | null | undefined;
|
|
752
|
+
is_sent_to_client?: boolean | null | undefined;
|
|
753
|
+
is_sent_to_cc?: boolean | null | undefined;
|
|
754
|
+
customer_message?: string | null | undefined;
|
|
755
|
+
agreed_terms?: string | null | undefined;
|
|
756
|
+
}, {
|
|
757
|
+
name: string;
|
|
758
|
+
country: "Afghanistan" | "Åland Islands" | "Albania" | "Algeria" | "American Samoa" | "Andorra" | "Angola" | "Anguilla" | "Antarctica" | "Antigua and Barbuda" | "Argentina" | "Armenia" | "Aruba" | "Australia" | "Austria" | "Azerbaijan" | "Bahamas" | "Bahrain" | "Bangladesh" | "Barbados" | "Belarus" | "Belgium" | "Belize" | "Benin" | "Bermuda" | "Bhutan" | "Bolivia, Plurinational State of" | "Bonaire, Sint Eustatius and Saba" | "Bosnia and Herzegovina" | "Botswana" | "Bouvet Island" | "Brazil" | "British Indian Ocean Territory" | "Brunei Darussalam" | "Bulgaria" | "Burkina Faso" | "Burundi" | "Cambodia" | "Cameroon" | "Canada" | "Cape Verde" | "Cayman Islands" | "Central African Republic" | "Chad" | "Chile" | "China" | "Christmas Island" | "Cocos (Keeling) Islands" | "Colombia" | "Comoros" | "Congo" | "Congo, The Democratic Republic of the" | "Cook Islands" | "Costa Rica" | "Croatia" | "Cuba" | "Curaçao" | "Cyprus" | "Czech Republic" | "Denmark" | "Djibouti" | "Dominica" | "Dominican Republic" | "Ecuador" | "Egypt" | "El Salvador" | "Equatorial Guinea" | "Eritrea" | "Estonia" | "Ethiopia" | "Falkland Islands (Malvinas)" | "Faroe Islands" | "Fiji" | "Finland" | "France" | "French Guiana" | "French Polynesia" | "French Southern Territories" | "Gabon" | "Gambia" | "Georgia" | "Germany" | "Ghana" | "Gibraltar" | "Greece" | "Greenland" | "Grenada" | "Guadeloupe" | "Guam" | "Guatemala" | "Guernsey" | "Guinea" | "Guinea-Bissau" | "Guyana" | "Haiti" | "Heard Island and McDonald Islands" | "Holy See (Vatican City State)" | "Honduras" | "Hong Kong" | "Hungary" | "Iceland" | "India" | "Indonesia" | "Iran" | "Iraq" | "Ireland" | "Isle of Man" | "Israel" | "Italy" | "Ivory Coast" | "Jamaica" | "Japan" | "Jersey" | "Jordan" | "Kazakhstan" | "Kenya" | "Kiribati" | "Korea, Democratic Peoples Republic of" | "Korea, Republic of" | "Kuwait" | "Kyrgyzstan" | "Lao Peoples Democratic Republic" | "Latvia" | "Lebanon" | "Lesotho" | "Liberia" | "Libya" | "Liechtenstein" | "Lithuania" | "Luxembourg" | "Macao" | "Macedonia" | "Madagascar" | "Malawi" | "Malaysia" | "Maldives" | "Mali" | "Malta" | "Marshall Islands" | "Martinique" | "Mauritania" | "Mauritius" | "Mayotte" | "Mexico" | "Micronesia, Federated States of" | "Moldova, Republic of" | "Monaco" | "Mongolia" | "Montenegro" | "Montserrat" | "Morocco" | "Mozambique" | "Myanmar" | "Namibia" | "Nauru" | "Nepal" | "Netherlands" | "New Caledonia" | "New Zealand" | "Nicaragua" | "Niger" | "Nigeria" | "Niue" | "Norfolk Island" | "Northern Mariana Islands" | "Norway" | "Oman" | "Pakistan" | "Palau" | "Palestinian Territory, Occupied" | "Panama" | "Papua New Guinea" | "Paraguay" | "Peru" | "Philippines" | "Pitcairn" | "Poland" | "Portugal" | "Puerto Rico" | "Qatar" | "Réunion" | "Romania" | "Russian Federation" | "Rwanda" | "Saint Barthélemy" | "Saint Helena, Ascension and Tristan da Cunha" | "Saint Kitts and Nevis" | "Saint Lucia" | "Saint Martin (French part)" | "Saint Pierre and Miquelon" | "Saint Vincent and the Grenadines" | "Samoa" | "San Marino" | "Sao Tome and Principe" | "Saudi Arabia" | "Senegal" | "Serbia" | "Seychelles" | "Sierra Leone" | "Singapore" | "Sint Maarten (Dutch part)" | "Slovakia" | "Slovenia" | "Solomon Islands" | "Somalia" | "South Africa" | "South Georgia and the South Sandwich Islands" | "South Sudan" | "Spain" | "Sri Lanka" | "Sudan" | "Suriname" | "Svalbard and Jan Mayen" | "Swaziland" | "Sweden" | "Switzerland" | "Syria" | "Taiwan" | "Tajikistan" | "Tanzania" | "Thailand" | "Timor-Leste" | "Togo" | "Tokelau" | "Tonga" | "Trinidad and Tobago" | "Tunisia" | "Turkey" | "Turkmenistan" | "Turks and Caicos Islands" | "Tuvalu" | "Uganda" | "Ukraine" | "United Arab Emirates" | "United Kingdom" | "United States" | "United States Minor Outlying Islands" | "Uruguay" | "Uzbekistan" | "Vanuatu" | "Venezuela, Bolivarian Republic of" | "Vietnam" | "Virgin Islands, British" | "Virgin Islands, U.S." | "Wallis and Futuna" | "Western Sahara" | "Yemen" | "Zambia" | "Zimbabwe";
|
|
759
|
+
owner: string;
|
|
760
|
+
creation: string;
|
|
761
|
+
modified: string;
|
|
762
|
+
modified_by: string;
|
|
763
|
+
title: string;
|
|
764
|
+
order_number: string;
|
|
765
|
+
shop: "Shopify" | "Amazon FBA" | "Amazon FBM" | "Otto";
|
|
766
|
+
return_items: {
|
|
767
|
+
name: string;
|
|
768
|
+
owner: string;
|
|
769
|
+
creation: string;
|
|
770
|
+
modified: string;
|
|
771
|
+
modified_by: string;
|
|
772
|
+
idx: number;
|
|
773
|
+
attachments: string[];
|
|
774
|
+
internal_reasons: string[];
|
|
775
|
+
item: string;
|
|
776
|
+
return_quantity: number;
|
|
777
|
+
is_complaint: number;
|
|
778
|
+
line_item_id?: string | null | undefined;
|
|
779
|
+
total_price?: number | null | undefined;
|
|
780
|
+
return_fee?: number | null | undefined;
|
|
781
|
+
servicecase_reason?: string | null | undefined;
|
|
782
|
+
servicecase_solution?: string | null | undefined;
|
|
783
|
+
batch_number?: string | null | undefined;
|
|
784
|
+
complaint_description?: string | null | undefined;
|
|
785
|
+
complaint_images?: string[] | null | undefined;
|
|
786
|
+
}[];
|
|
787
|
+
status?: "EDITING" | "SUBMITTING" | "VALIDATING" | "REJECTED" | "SHIPPING" | "COMPLETED" | undefined;
|
|
788
|
+
is_complaint?: number | null | undefined;
|
|
789
|
+
external_id?: string | null | undefined;
|
|
790
|
+
customer_email?: string | null | undefined;
|
|
791
|
+
complaint_date?: Date | null | undefined;
|
|
792
|
+
is_sent_to_client?: number | null | undefined;
|
|
793
|
+
is_sent_to_cc?: number | null | undefined;
|
|
794
|
+
customer_message?: string | null | undefined;
|
|
795
|
+
agreed_terms?: string | null | undefined;
|
|
796
|
+
created_with?: "Amazon FBA" | "Amazon FBM" | "Serviceportal" | "Missive Sidebar" | undefined;
|
|
797
|
+
}>;
|
|
798
|
+
export type ServicecaseExtendedType = z.infer<typeof ServicecaseExtended>;
|
|
569
799
|
export declare const ServicecaseMethodResponse: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
570
800
|
name: z.ZodString;
|
|
571
801
|
owner: z.ZodString;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServicecaseMethodResponse = exports.ServicecaseInput = exports.Servicecase = exports.ReturnItem = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
|
|
3
|
+
exports.ServicecaseMethodResponse = exports.ServicecaseExtended = exports.ServicecaseInput = exports.Servicecase = exports.ReturnItem = exports.UpdateInternalReasonCollectionInput = exports.InternalReasonCollection = exports.UpdateAttachmentCollectionInput = exports.AttachmentCollection = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const Country_1 = require("./Country");
|
|
6
6
|
const Shop = zod_1.z.enum(["Shopify", "Amazon FBA", "Amazon FBM", "Otto"]);
|
|
@@ -142,13 +142,16 @@ exports.ServicecaseInput = exports.Servicecase.omit({
|
|
|
142
142
|
})),
|
|
143
143
|
})
|
|
144
144
|
.describe("ServicecaseInput");
|
|
145
|
-
exports.
|
|
146
|
-
.array(exports.Servicecase.omit({
|
|
145
|
+
exports.ServicecaseExtended = exports.Servicecase.omit({
|
|
147
146
|
return_items: true,
|
|
148
|
-
})
|
|
147
|
+
})
|
|
148
|
+
.extend({
|
|
149
149
|
return_items: zod_1.z.array(exports.ReturnItem.omit({ attachments: true, internal_reasons: true }).extend({
|
|
150
150
|
attachments: zod_1.z.array(zod_1.z.string()),
|
|
151
151
|
internal_reasons: zod_1.z.array(zod_1.z.string()),
|
|
152
152
|
})),
|
|
153
|
-
})
|
|
153
|
+
})
|
|
154
|
+
.describe("ServicecaseExtended");
|
|
155
|
+
exports.ServicecaseMethodResponse = zod_1.z
|
|
156
|
+
.array(exports.ServicecaseExtended)
|
|
154
157
|
.describe("ServicecaseMethodResponse");
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ShippingLabel: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
owner: z.ZodString;
|
|
5
|
+
creation: z.ZodString;
|
|
6
|
+
modified: z.ZodString;
|
|
7
|
+
modified_by: z.ZodString;
|
|
8
|
+
idx: z.ZodNumber;
|
|
9
|
+
docstatus: z.ZodNumber;
|
|
10
|
+
shipping_provider: z.ZodString;
|
|
11
|
+
label_id: z.ZodString;
|
|
12
|
+
tracking_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13
|
+
label_type: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Shipping Label", "Return Label"]>>>>;
|
|
14
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
contact: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
doctype: z.ZodString;
|
|
18
|
+
document_name: z.ZodOptional<z.ZodString>;
|
|
19
|
+
document_url: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
name: string;
|
|
22
|
+
doctype: string;
|
|
23
|
+
owner: string;
|
|
24
|
+
creation: string;
|
|
25
|
+
modified: string;
|
|
26
|
+
modified_by: string;
|
|
27
|
+
idx: number;
|
|
28
|
+
docstatus: number;
|
|
29
|
+
shipping_provider: string;
|
|
30
|
+
label_id: string;
|
|
31
|
+
address?: string | null | undefined;
|
|
32
|
+
customer?: string | null | undefined;
|
|
33
|
+
tracking_code?: string | null | undefined;
|
|
34
|
+
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
35
|
+
contact?: string | null | undefined;
|
|
36
|
+
document_name?: string | undefined;
|
|
37
|
+
document_url?: string | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
name: string;
|
|
40
|
+
doctype: string;
|
|
41
|
+
owner: string;
|
|
42
|
+
creation: string;
|
|
43
|
+
modified: string;
|
|
44
|
+
modified_by: string;
|
|
45
|
+
idx: number;
|
|
46
|
+
docstatus: number;
|
|
47
|
+
shipping_provider: string;
|
|
48
|
+
label_id: string;
|
|
49
|
+
address?: string | null | undefined;
|
|
50
|
+
customer?: string | null | undefined;
|
|
51
|
+
tracking_code?: string | null | undefined;
|
|
52
|
+
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
53
|
+
contact?: string | null | undefined;
|
|
54
|
+
document_name?: string | undefined;
|
|
55
|
+
document_url?: string | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
export declare const ShippingLabelPostBody: z.ZodObject<Pick<{
|
|
58
|
+
name: z.ZodString;
|
|
59
|
+
owner: z.ZodString;
|
|
60
|
+
creation: z.ZodString;
|
|
61
|
+
modified: z.ZodString;
|
|
62
|
+
modified_by: z.ZodString;
|
|
63
|
+
idx: z.ZodNumber;
|
|
64
|
+
docstatus: z.ZodNumber;
|
|
65
|
+
shipping_provider: z.ZodString;
|
|
66
|
+
label_id: z.ZodString;
|
|
67
|
+
tracking_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
68
|
+
label_type: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodEnum<["Shipping Label", "Return Label"]>>>>;
|
|
69
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
70
|
+
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
contact: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
72
|
+
doctype: z.ZodString;
|
|
73
|
+
document_name: z.ZodOptional<z.ZodString>;
|
|
74
|
+
document_url: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, "address" | "customer" | "shipping_provider" | "label_id" | "tracking_code" | "label_type" | "contact">, "strip", z.ZodTypeAny, {
|
|
76
|
+
shipping_provider: string;
|
|
77
|
+
label_id: string;
|
|
78
|
+
address?: string | null | undefined;
|
|
79
|
+
customer?: string | null | undefined;
|
|
80
|
+
tracking_code?: string | null | undefined;
|
|
81
|
+
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
82
|
+
contact?: string | null | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
shipping_provider: string;
|
|
85
|
+
label_id: string;
|
|
86
|
+
address?: string | null | undefined;
|
|
87
|
+
customer?: string | null | undefined;
|
|
88
|
+
tracking_code?: string | null | undefined;
|
|
89
|
+
label_type?: "Shipping Label" | "Return Label" | null | undefined;
|
|
90
|
+
contact?: string | null | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
export type ShippingLabelPostBodyType = z.infer<typeof ShippingLabelPostBody>;
|
|
93
|
+
export type ShippingLabelType = z.infer<typeof ShippingLabel>;
|
|
94
|
+
export declare const LabelInfo: z.ZodObject<{
|
|
95
|
+
labelData: z.ZodString;
|
|
96
|
+
labelId: z.ZodString;
|
|
97
|
+
trackingId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
99
|
+
qrLabel: z.ZodOptional<z.ZodString>;
|
|
100
|
+
qrLink: z.ZodOptional<z.ZodString>;
|
|
101
|
+
shippingProvider: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"GLS Germany">, z.ZodLiteral<"GLS ADE-plus">]>, z.ZodLiteral<"DHL">]>, z.ZodLiteral<"DHL-2-Mann">]>, z.ZodLiteral<"Deutsche Post">]>, z.ZodLiteral<"Billbee">]>, z.ZodLiteral<"Billbee Amazon MCF">]>;
|
|
102
|
+
shouldNotifyCustomer: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
labelData: string;
|
|
105
|
+
labelId: string;
|
|
106
|
+
shippingProvider: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
107
|
+
trackingId?: string | undefined;
|
|
108
|
+
trackingUrl?: string | undefined;
|
|
109
|
+
qrLabel?: string | undefined;
|
|
110
|
+
qrLink?: string | undefined;
|
|
111
|
+
shouldNotifyCustomer?: boolean | undefined;
|
|
112
|
+
}, {
|
|
113
|
+
labelData: string;
|
|
114
|
+
labelId: string;
|
|
115
|
+
shippingProvider: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
116
|
+
trackingId?: string | undefined;
|
|
117
|
+
trackingUrl?: string | undefined;
|
|
118
|
+
qrLabel?: string | undefined;
|
|
119
|
+
qrLink?: string | undefined;
|
|
120
|
+
shouldNotifyCustomer?: boolean | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
export type LabelInfoType = z.infer<typeof LabelInfo>;
|
|
123
|
+
export declare const UploadedLabelInfo: z.ZodObject<{
|
|
124
|
+
fileName: z.ZodString;
|
|
125
|
+
fileUrl: z.ZodString;
|
|
126
|
+
labelId: z.ZodString;
|
|
127
|
+
trackingId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
trackingUrl: z.ZodOptional<z.ZodString>;
|
|
129
|
+
shippingProvider: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"GLS Germany">, z.ZodLiteral<"GLS ADE-plus">]>, z.ZodLiteral<"DHL">]>, z.ZodLiteral<"DHL-2-Mann">]>, z.ZodLiteral<"Deutsche Post">]>, z.ZodLiteral<"Billbee">]>, z.ZodLiteral<"Billbee Amazon MCF">]>;
|
|
130
|
+
erpNextFileName: z.ZodString;
|
|
131
|
+
s3FileKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
132
|
+
shouldNotifyCustomer: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
|
+
labelId: string;
|
|
135
|
+
shippingProvider: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
136
|
+
fileName: string;
|
|
137
|
+
fileUrl: string;
|
|
138
|
+
erpNextFileName: string;
|
|
139
|
+
trackingId?: string | undefined;
|
|
140
|
+
trackingUrl?: string | undefined;
|
|
141
|
+
shouldNotifyCustomer?: boolean | undefined;
|
|
142
|
+
s3FileKey?: string | null | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
labelId: string;
|
|
145
|
+
shippingProvider: "DHL" | "Deutsche Post" | "GLS Germany" | "GLS ADE-plus" | "DHL-2-Mann" | "Billbee" | "Billbee Amazon MCF";
|
|
146
|
+
fileName: string;
|
|
147
|
+
fileUrl: string;
|
|
148
|
+
erpNextFileName: string;
|
|
149
|
+
trackingId?: string | undefined;
|
|
150
|
+
trackingUrl?: string | undefined;
|
|
151
|
+
shouldNotifyCustomer?: boolean | undefined;
|
|
152
|
+
s3FileKey?: string | null | undefined;
|
|
153
|
+
}>;
|
|
154
|
+
export type UploadedLabelInfoType = z.infer<typeof UploadedLabelInfo>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UploadedLabelInfo = exports.LabelInfo = exports.ShippingLabelPostBody = exports.ShippingLabel = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const ShippingProvider_1 = require("./ShippingProvider");
|
|
6
|
+
exports.ShippingLabel = zod_1.z
|
|
7
|
+
.object({
|
|
8
|
+
name: zod_1.z.string(),
|
|
9
|
+
owner: zod_1.z.string(),
|
|
10
|
+
creation: zod_1.z.string(),
|
|
11
|
+
modified: zod_1.z.string(),
|
|
12
|
+
modified_by: zod_1.z.string(),
|
|
13
|
+
idx: zod_1.z.number(),
|
|
14
|
+
docstatus: zod_1.z.number(),
|
|
15
|
+
shipping_provider: zod_1.z.string(),
|
|
16
|
+
label_id: zod_1.z.string(),
|
|
17
|
+
tracking_code: zod_1.z.string().optional().nullable(),
|
|
18
|
+
label_type: zod_1.z
|
|
19
|
+
.enum(["Shipping Label", "Return Label"])
|
|
20
|
+
.default("Shipping Label")
|
|
21
|
+
.optional()
|
|
22
|
+
.nullable(),
|
|
23
|
+
customer: zod_1.z.string().optional().nullable(),
|
|
24
|
+
address: zod_1.z.string().optional().nullable(),
|
|
25
|
+
contact: zod_1.z.string().optional().nullable(),
|
|
26
|
+
doctype: zod_1.z.string(),
|
|
27
|
+
document_name: zod_1.z.string().optional(),
|
|
28
|
+
document_url: zod_1.z.string().optional(),
|
|
29
|
+
})
|
|
30
|
+
.describe("Shipping Label");
|
|
31
|
+
exports.ShippingLabelPostBody = exports.ShippingLabel.pick({
|
|
32
|
+
shipping_provider: true,
|
|
33
|
+
label_id: true,
|
|
34
|
+
tracking_code: true,
|
|
35
|
+
customer: true,
|
|
36
|
+
address: true,
|
|
37
|
+
contact: true,
|
|
38
|
+
label_type: true,
|
|
39
|
+
}).describe("Shipping Label Post Body");
|
|
40
|
+
exports.LabelInfo = zod_1.z
|
|
41
|
+
.object({
|
|
42
|
+
labelData: zod_1.z.string(), // base64 encoded PDF
|
|
43
|
+
labelId: zod_1.z.string(),
|
|
44
|
+
trackingId: zod_1.z.string().optional(),
|
|
45
|
+
trackingUrl: zod_1.z.string().url().optional(),
|
|
46
|
+
qrLabel: zod_1.z.string().optional(),
|
|
47
|
+
qrLink: zod_1.z.string().optional(),
|
|
48
|
+
shippingProvider: ShippingProvider_1.LabelService,
|
|
49
|
+
shouldNotifyCustomer: zod_1.z.boolean().optional(),
|
|
50
|
+
})
|
|
51
|
+
.describe("Label Info");
|
|
52
|
+
exports.UploadedLabelInfo = zod_1.z
|
|
53
|
+
.object({
|
|
54
|
+
fileName: zod_1.z.string(),
|
|
55
|
+
fileUrl: zod_1.z.string(),
|
|
56
|
+
labelId: zod_1.z.string(),
|
|
57
|
+
trackingId: zod_1.z.string().optional(),
|
|
58
|
+
trackingUrl: zod_1.z.string().url().optional(),
|
|
59
|
+
shippingProvider: ShippingProvider_1.LabelService,
|
|
60
|
+
erpNextFileName: zod_1.z.string(),
|
|
61
|
+
s3FileKey: zod_1.z.string().optional().nullable(),
|
|
62
|
+
shouldNotifyCustomer: zod_1.z.boolean().optional(),
|
|
63
|
+
})
|
|
64
|
+
.describe("UploadedLabelInfo");
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { ERPNextReports } from "./erpnext/reports";
|
|
|
28
28
|
import { ERPNextResourceRequest } from "./erpnext/resourceRequest";
|
|
29
29
|
import { ERPNextServicecase } from "./erpnext/doctypes/servicecase";
|
|
30
30
|
import { ServiceportalProductConfiguration } from "./erpnext/model/ServiceportalProductConfiguration";
|
|
31
|
+
import { ShippingLabel } from "./erpnext/model/ShippingLabel";
|
|
31
32
|
export declare class ERPNextQueueClient {
|
|
32
33
|
temporalClient: TemporalClient;
|
|
33
34
|
private credentials?;
|
|
@@ -57,6 +58,7 @@ export declare class ERPNextQueueClient {
|
|
|
57
58
|
partList: ERPNextDoctypeResourceRequest<typeof PartList>;
|
|
58
59
|
servicecase: ERPNextServicecase;
|
|
59
60
|
serviceportalProductConfiguration: ERPNextDoctypeResourceRequest<typeof ServiceportalProductConfiguration>;
|
|
61
|
+
shippingLabel: ERPNextDoctypeResourceRequest<typeof ShippingLabel>;
|
|
60
62
|
/**
|
|
61
63
|
* @description Provide either a temporal client or connection details to create a new client
|
|
62
64
|
*/
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,7 @@ const reports_1 = require("./erpnext/reports");
|
|
|
31
31
|
const resourceRequest_1 = require("./erpnext/resourceRequest");
|
|
32
32
|
const servicecase_1 = require("./erpnext/doctypes/servicecase");
|
|
33
33
|
const ServiceportalProductConfiguration_1 = require("./erpnext/model/ServiceportalProductConfiguration");
|
|
34
|
+
const ShippingLabel_1 = require("./erpnext/model/ShippingLabel");
|
|
34
35
|
class ERPNextQueueClient {
|
|
35
36
|
/**
|
|
36
37
|
* @description Provide either a temporal client or connection details to create a new client
|
|
@@ -68,6 +69,7 @@ class ERPNextQueueClient {
|
|
|
68
69
|
this.partList = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Part List", PartList_1.PartList);
|
|
69
70
|
this.servicecase = new servicecase_1.ERPNextServicecase(this.temporalClient);
|
|
70
71
|
this.serviceportalProductConfiguration = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Serviceportal Product Configuration", ServiceportalProductConfiguration_1.ServiceportalProductConfiguration);
|
|
72
|
+
this.shippingLabel = new doctypeResourceRequest_1.ERPNextDoctypeResourceRequest(this.temporalClient, "Shipping Label", ShippingLabel_1.ShippingLabel);
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
75
|
exports.ERPNextQueueClient = ERPNextQueueClient;
|