@zauru-sdk/types 6.5.0 → 6.6.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.
- package/dist/Custom.types.d.ts +41 -0
- package/dist/GraphQL.types.d.ts +33 -0
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -759,3 +759,44 @@ export type JsonMemoType = {
|
|
|
759
759
|
weight: number;
|
|
760
760
|
}>;
|
|
761
761
|
};
|
|
762
|
+
export type CloseOpenWorkOrderDetailInput = {
|
|
763
|
+
id: number | string;
|
|
764
|
+
item_id?: number | string | null;
|
|
765
|
+
bundle_id?: number | string | null;
|
|
766
|
+
cost_center_id?: number | string | null;
|
|
767
|
+
lot_id?: number | string | null;
|
|
768
|
+
serial_id?: number | string | null;
|
|
769
|
+
booked_quantity?: number | string;
|
|
770
|
+
delivered_quantity?: number | string;
|
|
771
|
+
reference?: string | null;
|
|
772
|
+
_destroy?: boolean;
|
|
773
|
+
};
|
|
774
|
+
export type CloseOpenWorkOrderBody = {
|
|
775
|
+
production_work_order: {
|
|
776
|
+
work_order_details_attributes?: CloseOpenWorkOrderDetailInput[];
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
export type CloseOpenWorkOrderResponse = {
|
|
780
|
+
id: number;
|
|
781
|
+
closed: boolean;
|
|
782
|
+
closed_at?: string | null;
|
|
783
|
+
id_number?: string | null;
|
|
784
|
+
};
|
|
785
|
+
export type OpenWorkOrdersDataTableRow = {
|
|
786
|
+
zid: string;
|
|
787
|
+
num: string;
|
|
788
|
+
odt: string;
|
|
789
|
+
ag: string;
|
|
790
|
+
asg: string;
|
|
791
|
+
rsp: string;
|
|
792
|
+
tg: string;
|
|
793
|
+
lns: number;
|
|
794
|
+
act: string;
|
|
795
|
+
DT_RowId: string;
|
|
796
|
+
};
|
|
797
|
+
export type OpenWorkOrdersDataTableResponse = {
|
|
798
|
+
draw: number;
|
|
799
|
+
recordsTotal: number;
|
|
800
|
+
recordsFiltered: number;
|
|
801
|
+
data: OpenWorkOrdersDataTableRow[];
|
|
802
|
+
};
|
package/dist/GraphQL.types.d.ts
CHANGED
|
@@ -701,4 +701,37 @@ export type WebAppTableGraphQL = {
|
|
|
701
701
|
created_at: string;
|
|
702
702
|
updated_at: string;
|
|
703
703
|
};
|
|
704
|
+
export type ProductionWorkOrderDetailGraphQL = {
|
|
705
|
+
id: number;
|
|
706
|
+
work_order_id: number;
|
|
707
|
+
item_id?: number | null;
|
|
708
|
+
bundle_id?: number | null;
|
|
709
|
+
lot_id?: number | null;
|
|
710
|
+
serial_id?: number | null;
|
|
711
|
+
cost_center_id?: number | null;
|
|
712
|
+
booked_quantity: number | string;
|
|
713
|
+
delivered_quantity?: number | string | null;
|
|
714
|
+
reference?: string | null;
|
|
715
|
+
average_cost?: number | string | null;
|
|
716
|
+
};
|
|
717
|
+
export type ProductionWorkOrderGraphQL = {
|
|
718
|
+
id: number;
|
|
719
|
+
zid?: number;
|
|
720
|
+
id_number?: string | null;
|
|
721
|
+
agency_id: number;
|
|
722
|
+
reference?: string | null;
|
|
723
|
+
order_date: string;
|
|
724
|
+
needs_delivery: boolean;
|
|
725
|
+
closed: boolean;
|
|
726
|
+
voided: boolean;
|
|
727
|
+
closed_at?: string | null;
|
|
728
|
+
assigned_invoice_id?: number | null;
|
|
729
|
+
assigned_agency_id?: number | null;
|
|
730
|
+
assigned_lot_id?: number | null;
|
|
731
|
+
assigned_serial_id?: number | null;
|
|
732
|
+
responsible_id?: number | null;
|
|
733
|
+
tag_id?: number | null;
|
|
734
|
+
memo?: string | null;
|
|
735
|
+
production_work_order_details?: ProductionWorkOrderDetailGraphQL[];
|
|
736
|
+
};
|
|
704
737
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "f07eda3ef08930a12aebb64c36f6183d26caf57b"
|
|
26
26
|
}
|