kcommons 18.3.3 → 18.4.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/build/classes/asnWrapper.class.d.ts +2 -0
- package/build/classes/asnWrapper.class.js +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/typings/asn.typings.d.ts +9 -2
- package/build/typings/asn.typings.js +2 -0
- package/build/typings/common/qr.typings.d.ts +10 -1
- package/build/typings/common/qr.typings.js +9 -0
- package/build/typings/common/ulip/ewaybill.typings.d.ts +16 -0
- package/build/typings/common/ulip/ewaybill.typings.js +2 -0
- package/build/typings/common/ulip/ewaybillVehicle.typings.d.ts +10 -0
- package/build/typings/common/ulip/ewaybillVehicle.typings.js +2 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { IASNItem } from "../typings/asn.typings";
|
|
|
2
2
|
import { INestedGRNItem } from "../typings/grn.typings";
|
|
3
3
|
import { INestedPOItem } from "../typings/company/masters/po.typings";
|
|
4
4
|
import { INestedPOGRNItemJunction } from "../typings/company/masters/poGrnJunctionItems.typings";
|
|
5
|
+
import { INestedEwaybill } from "../typings/common/ulip/ewaybill.typings";
|
|
5
6
|
export declare class ASNItemWrapper implements IASNItem {
|
|
6
7
|
constructor(partial: IASNItem);
|
|
7
8
|
po_asn_item_junction_id: string;
|
|
@@ -29,5 +30,6 @@ export declare class ASNItemWrapper implements IASNItem {
|
|
|
29
30
|
item: null;
|
|
30
31
|
parent_asn: null;
|
|
31
32
|
vendor: null;
|
|
33
|
+
ewaybill: INestedEwaybill[] | null;
|
|
32
34
|
}
|
|
33
35
|
export declare function convertPOItemToASNItem(poItem: INestedPOItem, vendor_id?: string | null, poGRNItemJunction?: INestedPOGRNItemJunction[] | null): IASNItem;
|
|
@@ -30,6 +30,7 @@ class ASNItemWrapper {
|
|
|
30
30
|
this.item = null;
|
|
31
31
|
this.parent_asn = null;
|
|
32
32
|
this.vendor = null;
|
|
33
|
+
this.ewaybill = null;
|
|
33
34
|
Object.assign(this, partial);
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -61,5 +62,6 @@ function convertPOItemToASNItem(poItem, vendor_id, poGRNItemJunction = []) {
|
|
|
61
62
|
po_asn_item_junction: null,
|
|
62
63
|
vendor: null,
|
|
63
64
|
used_in_grn_items: null,
|
|
65
|
+
ewaybill: null,
|
|
64
66
|
});
|
|
65
67
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ export * from "./typings/subPOItem.typings";
|
|
|
78
78
|
export * from "./typings/company/masters/customerManagementBody.typings";
|
|
79
79
|
export * from "./typings/companyCustomer.typings";
|
|
80
80
|
export * from "./typings/customer.typings";
|
|
81
|
+
export * from "./typings/common/ulip/ewaybill.typings";
|
|
82
|
+
export * from "./typings/common/ulip/ewaybillVehicle.typings";
|
|
81
83
|
export * from "./typings/vendorQuoteItems.typings";
|
|
82
84
|
export * from "./typings/customUOM.typings";
|
|
83
85
|
export * from "./typings/system/queueJob.typings";
|
package/build/index.js
CHANGED
|
@@ -98,6 +98,8 @@ __exportStar(require("./typings/subPOItem.typings"), exports);
|
|
|
98
98
|
__exportStar(require("./typings/company/masters/customerManagementBody.typings"), exports);
|
|
99
99
|
__exportStar(require("./typings/companyCustomer.typings"), exports);
|
|
100
100
|
__exportStar(require("./typings/customer.typings"), exports);
|
|
101
|
+
__exportStar(require("./typings/common/ulip/ewaybill.typings"), exports);
|
|
102
|
+
__exportStar(require("./typings/common/ulip/ewaybillVehicle.typings"), exports);
|
|
101
103
|
__exportStar(require("./typings/vendorQuoteItems.typings"), exports);
|
|
102
104
|
__exportStar(require("./typings/customUOM.typings"), exports);
|
|
103
105
|
// System
|
|
@@ -11,6 +11,8 @@ import { INestedVendor } from "./vendor.typings";
|
|
|
11
11
|
import { INestedPOASNItemJunction } from "./company/masters/poAsnJunctionItems.typings";
|
|
12
12
|
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
13
13
|
import { INestedVendorUser } from "./vendor/vendorUser.typings";
|
|
14
|
+
import { INestedEwaybill } from "./common/ulip/ewaybill.typings";
|
|
15
|
+
import { INestedEwaybillVehicleDetails } from "./common/ulip/ewaybillVehicle.typings";
|
|
14
16
|
export declare enum ASN_CANCELLED_BY_ENTITY {
|
|
15
17
|
COMPANY = "COMPANY",
|
|
16
18
|
VENDOR = "VENDOR"
|
|
@@ -73,7 +75,8 @@ export declare enum ASN_INCLUDE {
|
|
|
73
75
|
send_by_user = "send_by_user",
|
|
74
76
|
created_by_vendor_user = "created_by_vendor_user",
|
|
75
77
|
last_updated_by_vendor_user = "last_updated_by_vendor_user",
|
|
76
|
-
cancelled_by_vendor_user = "cancelled_by_vendor_user"
|
|
78
|
+
cancelled_by_vendor_user = "cancelled_by_vendor_user",
|
|
79
|
+
ewaybill = "ewaybill"
|
|
77
80
|
}
|
|
78
81
|
export interface IASN {
|
|
79
82
|
id: string;
|
|
@@ -175,6 +178,7 @@ export interface IASN {
|
|
|
175
178
|
asns_sent_to_vendor_by_user: INestedUser | null;
|
|
176
179
|
child_ves: INestedVES[] | null;
|
|
177
180
|
send_by_user: INestedUser | null;
|
|
181
|
+
ewaybill: INestedEwaybill[] | null;
|
|
178
182
|
metafields: IASNMetafields | null;
|
|
179
183
|
}
|
|
180
184
|
export declare enum ASN_MODE_OF_TRANSPORT_FIELDS {
|
|
@@ -282,8 +286,9 @@ export interface IASNItem {
|
|
|
282
286
|
vendor: INestedVendor | null;
|
|
283
287
|
used_in_grn_items: INestedGRNItem[] | null;
|
|
284
288
|
po_asn_item_junction: INestedPOASNItemJunction | null;
|
|
289
|
+
ewaybill: INestedEwaybill[] | null;
|
|
285
290
|
}
|
|
286
|
-
export interface INestedASNItem extends Omit<IASNItem, "company" | "item" | "parent_asn" | "vendor" | "parent_po_item" | "used_in_grn_items" | "po_asn_item_junction"> {
|
|
291
|
+
export interface INestedASNItem extends Omit<IASNItem, "company" | "item" | "parent_asn" | "vendor" | "parent_po_item" | "used_in_grn_items" | "po_asn_item_junction" | "ewaybill"> {
|
|
287
292
|
}
|
|
288
293
|
export interface ICancelASNInputs extends Pick<IASN, "cancellation_remark" | "cancelled_by_entity" | "cancelled_by_user_id"> {
|
|
289
294
|
}
|
|
@@ -322,10 +327,12 @@ export declare enum ASN_SORTING_ORDER {
|
|
|
322
327
|
}
|
|
323
328
|
export interface IASNMetafields {
|
|
324
329
|
items_data: INestedItem[] | null;
|
|
330
|
+
ewaybill_vehicle_details: INestedEwaybillVehicleDetails[] | null;
|
|
325
331
|
vendor_quote_item_custom_uom_data: IASNVendorQuoteItemCustomUOM[] | null;
|
|
326
332
|
}
|
|
327
333
|
export declare enum ASN_METAFIELDS_INCLUDE {
|
|
328
334
|
items_data = "items_data",
|
|
335
|
+
ewaybill_vehicle_details = "ewaybill_vehicle_details",
|
|
329
336
|
vendor_quote_item_custom_uom_data = "vendor_quote_item_custom_uom_data"
|
|
330
337
|
}
|
|
331
338
|
export interface IASNVendorQuoteItemCustomUOM {
|
|
@@ -73,6 +73,7 @@ var ASN_INCLUDE;
|
|
|
73
73
|
ASN_INCLUDE["created_by_vendor_user"] = "created_by_vendor_user";
|
|
74
74
|
ASN_INCLUDE["last_updated_by_vendor_user"] = "last_updated_by_vendor_user";
|
|
75
75
|
ASN_INCLUDE["cancelled_by_vendor_user"] = "cancelled_by_vendor_user";
|
|
76
|
+
ASN_INCLUDE["ewaybill"] = "ewaybill";
|
|
76
77
|
})(ASN_INCLUDE || (exports.ASN_INCLUDE = ASN_INCLUDE = {}));
|
|
77
78
|
var ASN_MODE_OF_TRANSPORT_FIELDS;
|
|
78
79
|
(function (ASN_MODE_OF_TRANSPORT_FIELDS) {
|
|
@@ -153,5 +154,6 @@ var ASN_SORTING_ORDER;
|
|
|
153
154
|
var ASN_METAFIELDS_INCLUDE;
|
|
154
155
|
(function (ASN_METAFIELDS_INCLUDE) {
|
|
155
156
|
ASN_METAFIELDS_INCLUDE["items_data"] = "items_data";
|
|
157
|
+
ASN_METAFIELDS_INCLUDE["ewaybill_vehicle_details"] = "ewaybill_vehicle_details";
|
|
156
158
|
ASN_METAFIELDS_INCLUDE["vendor_quote_item_custom_uom_data"] = "vendor_quote_item_custom_uom_data";
|
|
157
159
|
})(ASN_METAFIELDS_INCLUDE || (exports.ASN_METAFIELDS_INCLUDE = ASN_METAFIELDS_INCLUDE = {}));
|
|
@@ -6,5 +6,14 @@ export interface IQRData {
|
|
|
6
6
|
export declare enum QR_DOCUMENT_TYPE {
|
|
7
7
|
ASN = "ASN",
|
|
8
8
|
VES = "VES",
|
|
9
|
-
PO = "PO"
|
|
9
|
+
PO = "PO",
|
|
10
|
+
GI = "GI",
|
|
11
|
+
INDENT = "INDENT",
|
|
12
|
+
MI = "MI",
|
|
13
|
+
GRN = "GRN",
|
|
14
|
+
PR = "PR",
|
|
15
|
+
RFQ = "RFQ",
|
|
16
|
+
ST_D = "ST_D",
|
|
17
|
+
ST_S = "ST_S",
|
|
18
|
+
QUOTE = "QUOTE"
|
|
10
19
|
}
|
|
@@ -6,4 +6,13 @@ var QR_DOCUMENT_TYPE;
|
|
|
6
6
|
QR_DOCUMENT_TYPE["ASN"] = "ASN";
|
|
7
7
|
QR_DOCUMENT_TYPE["VES"] = "VES";
|
|
8
8
|
QR_DOCUMENT_TYPE["PO"] = "PO";
|
|
9
|
+
QR_DOCUMENT_TYPE["GI"] = "GI";
|
|
10
|
+
QR_DOCUMENT_TYPE["INDENT"] = "INDENT";
|
|
11
|
+
QR_DOCUMENT_TYPE["MI"] = "MI";
|
|
12
|
+
QR_DOCUMENT_TYPE["GRN"] = "GRN";
|
|
13
|
+
QR_DOCUMENT_TYPE["PR"] = "PR";
|
|
14
|
+
QR_DOCUMENT_TYPE["RFQ"] = "RFQ";
|
|
15
|
+
QR_DOCUMENT_TYPE["ST_D"] = "ST_D";
|
|
16
|
+
QR_DOCUMENT_TYPE["ST_S"] = "ST_S";
|
|
17
|
+
QR_DOCUMENT_TYPE["QUOTE"] = "QUOTE";
|
|
9
18
|
})(QR_DOCUMENT_TYPE || (exports.QR_DOCUMENT_TYPE = QR_DOCUMENT_TYPE = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { INestedASN } from "../../asn.typings";
|
|
2
|
+
import { INestedEwaybillVehicleDetails } from "./ewaybillVehicle.typings";
|
|
3
|
+
export interface IEwaybill {
|
|
4
|
+
id: string | null;
|
|
5
|
+
from_pincode: string | null;
|
|
6
|
+
hsn_code: string | null;
|
|
7
|
+
eway_bill_date: string | null;
|
|
8
|
+
valid_upto: string | null;
|
|
9
|
+
ewb_no: string | null;
|
|
10
|
+
to_pincode: string | null;
|
|
11
|
+
status: string | null;
|
|
12
|
+
vehicle_details: INestedEwaybillVehicleDetails[] | null;
|
|
13
|
+
associated_asns: INestedASN[] | null;
|
|
14
|
+
}
|
|
15
|
+
export interface INestedEwaybill extends Omit<IEwaybill, "vehicle_details" | "associated_asns"> {
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IEwaybillVehicleDetails {
|
|
2
|
+
id: string;
|
|
3
|
+
vehicle_no: string | null;
|
|
4
|
+
entered_date: string | null;
|
|
5
|
+
trans_mode: string | null;
|
|
6
|
+
parent_ewaybill_id: string;
|
|
7
|
+
parent_ewaybill: null;
|
|
8
|
+
}
|
|
9
|
+
export interface INestedEwaybillVehicleDetails extends Omit<IEwaybillVehicleDetails, "parent_ewaybill"> {
|
|
10
|
+
}
|