kcommons 5.23.26 → 5.23.28
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/index.d.ts +4 -1
- package/build/index.js +5 -1
- package/build/typings/vendorItem.typings.d.ts +40 -0
- package/build/typings/vendorItem.typings.js +8 -0
- package/build/typings/vendorItemCategories.typings.d.ts +26 -0
- package/build/typings/vendorItemCategories.typings.js +8 -0
- package/build/typings/verification_apis/gstVerification.typings.d.ts +3 -3
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,13 +27,14 @@ export * from "./typings/entityApprovalChainEntry.typings";
|
|
|
27
27
|
export * from "./typings/negotiation.typings";
|
|
28
28
|
export * from "./typings/asn.typings";
|
|
29
29
|
export * from "./typings/bom.typings";
|
|
30
|
-
export * from "./typings/verification_apis/pincode.typings";
|
|
31
30
|
export * from "./typings/common/address.typings";
|
|
32
31
|
export * from "./typings/common/paginationFilters.typings";
|
|
33
32
|
export * from "./typings/common/uploadMedia.typings";
|
|
34
33
|
export * from "./typings/common/retrieveMedia.typings";
|
|
35
34
|
export * from "./typings/quote.typings";
|
|
36
35
|
export * from "./typings/notifications.typings";
|
|
36
|
+
export * from "./typings/vendorItem.typings";
|
|
37
|
+
export * from "./typings/vendorItemCategories.typings";
|
|
37
38
|
export * from "./constants/permission.constants";
|
|
38
39
|
export * from "./constants/entityTypes.constants";
|
|
39
40
|
export * from "./constants/documentStatus.typings";
|
|
@@ -50,3 +51,5 @@ export * from "./utils/taxes.util";
|
|
|
50
51
|
export * from "./templates/notifications/rfq.notifications";
|
|
51
52
|
export * from "./templates/notifications/po.notifications";
|
|
52
53
|
export * from "./templates/notifications/quote.notifications";
|
|
54
|
+
export * from "./typings/verification_apis/pincode.typings";
|
|
55
|
+
export * from "./typings/verification_apis/gstVerification.typings";
|
package/build/index.js
CHANGED
|
@@ -44,13 +44,14 @@ __exportStar(require("./typings/entityApprovalChainEntry.typings"), exports);
|
|
|
44
44
|
__exportStar(require("./typings/negotiation.typings"), exports);
|
|
45
45
|
__exportStar(require("./typings/asn.typings"), exports);
|
|
46
46
|
__exportStar(require("./typings/bom.typings"), exports);
|
|
47
|
-
__exportStar(require("./typings/verification_apis/pincode.typings"), exports);
|
|
48
47
|
__exportStar(require("./typings/common/address.typings"), exports);
|
|
49
48
|
__exportStar(require("./typings/common/paginationFilters.typings"), exports);
|
|
50
49
|
__exportStar(require("./typings/common/uploadMedia.typings"), exports);
|
|
51
50
|
__exportStar(require("./typings/common/retrieveMedia.typings"), exports);
|
|
52
51
|
__exportStar(require("./typings/quote.typings"), exports);
|
|
53
52
|
__exportStar(require("./typings/notifications.typings"), exports);
|
|
53
|
+
__exportStar(require("./typings/vendorItem.typings"), exports);
|
|
54
|
+
__exportStar(require("./typings/vendorItemCategories.typings"), exports);
|
|
54
55
|
// Constants
|
|
55
56
|
__exportStar(require("./constants/permission.constants"), exports);
|
|
56
57
|
__exportStar(require("./constants/entityTypes.constants"), exports);
|
|
@@ -71,3 +72,6 @@ __exportStar(require("./utils/taxes.util"), exports);
|
|
|
71
72
|
__exportStar(require("./templates/notifications/rfq.notifications"), exports);
|
|
72
73
|
__exportStar(require("./templates/notifications/po.notifications"), exports);
|
|
73
74
|
__exportStar(require("./templates/notifications/quote.notifications"), exports);
|
|
75
|
+
// Verification APIs
|
|
76
|
+
__exportStar(require("./typings/verification_apis/pincode.typings"), exports);
|
|
77
|
+
__exportStar(require("./typings/verification_apis/gstVerification.typings"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
2
|
+
import { INestedVendor } from "./vendor.typings";
|
|
3
|
+
import { INestedVendorItemCategory } from "./vendorItemCategories.typings";
|
|
4
|
+
export declare enum VENDOR_ITEM_INCLUDE {
|
|
5
|
+
vendor = "vendor",
|
|
6
|
+
vendor_item_categories = "vendor_item_categories"
|
|
7
|
+
}
|
|
8
|
+
export interface IVendorItemFilters {
|
|
9
|
+
vendor_id: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
include?: VENDOR_ITEM_INCLUDE[];
|
|
12
|
+
}
|
|
13
|
+
export interface IVendorItemFiltersWithPagination extends IPaginationFilters, IVendorItemFilters {
|
|
14
|
+
}
|
|
15
|
+
export interface IVendorItem {
|
|
16
|
+
id: string;
|
|
17
|
+
item_type: string;
|
|
18
|
+
vendor_id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
code_sku: string;
|
|
21
|
+
tolerence: string | null;
|
|
22
|
+
item_classification: string | null;
|
|
23
|
+
uom: string;
|
|
24
|
+
item_tax_preference: string;
|
|
25
|
+
gst_percent: number | null;
|
|
26
|
+
attachment_link: string | null;
|
|
27
|
+
item_description: string | null;
|
|
28
|
+
item_image: string | null;
|
|
29
|
+
sac_code: string | null;
|
|
30
|
+
hsn_code: string | null;
|
|
31
|
+
is_enabled: boolean;
|
|
32
|
+
is_deleted: boolean;
|
|
33
|
+
deleted_at: string | null;
|
|
34
|
+
created_at: string;
|
|
35
|
+
updated_at: string;
|
|
36
|
+
vendor: INestedVendor | null;
|
|
37
|
+
vendor_item_categories: INestedVendorItemCategory[] | null;
|
|
38
|
+
}
|
|
39
|
+
export interface INestedVendorItem extends Omit<IVendorItem, "vendor" | "vendor_item_categories"> {
|
|
40
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VENDOR_ITEM_INCLUDE = void 0;
|
|
4
|
+
var VENDOR_ITEM_INCLUDE;
|
|
5
|
+
(function (VENDOR_ITEM_INCLUDE) {
|
|
6
|
+
VENDOR_ITEM_INCLUDE["vendor"] = "vendor";
|
|
7
|
+
VENDOR_ITEM_INCLUDE["vendor_item_categories"] = "vendor_item_categories";
|
|
8
|
+
})(VENDOR_ITEM_INCLUDE || (exports.VENDOR_ITEM_INCLUDE = VENDOR_ITEM_INCLUDE = {}));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { INestedVendor } from "./vendor.typings";
|
|
2
|
+
import { INestedVendorItem } from "./vendorItem.typings";
|
|
3
|
+
export declare enum VENDOR_ITEM_CATEGORIES_INCLUDE {
|
|
4
|
+
vendor = "vendor",
|
|
5
|
+
items = "items"
|
|
6
|
+
}
|
|
7
|
+
export interface IVendorItemCategoryFilters {
|
|
8
|
+
vendor_id: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
include?: VENDOR_ITEM_CATEGORIES_INCLUDE[];
|
|
11
|
+
}
|
|
12
|
+
export interface IVendorItemCategory {
|
|
13
|
+
id: string;
|
|
14
|
+
category_name: string;
|
|
15
|
+
category_code: string;
|
|
16
|
+
vendor_id: string;
|
|
17
|
+
is_enabled: boolean;
|
|
18
|
+
is_deleted: boolean;
|
|
19
|
+
deleted_at: Date | null;
|
|
20
|
+
created_at: Date;
|
|
21
|
+
updated_at: Date;
|
|
22
|
+
vendor: INestedVendor | null;
|
|
23
|
+
items: INestedVendorItem[] | null;
|
|
24
|
+
}
|
|
25
|
+
export interface INestedVendorItemCategory extends Omit<IVendorItemCategory, "vendor" | "items"> {
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VENDOR_ITEM_CATEGORIES_INCLUDE = void 0;
|
|
4
|
+
var VENDOR_ITEM_CATEGORIES_INCLUDE;
|
|
5
|
+
(function (VENDOR_ITEM_CATEGORIES_INCLUDE) {
|
|
6
|
+
VENDOR_ITEM_CATEGORIES_INCLUDE["vendor"] = "vendor";
|
|
7
|
+
VENDOR_ITEM_CATEGORIES_INCLUDE["items"] = "items";
|
|
8
|
+
})(VENDOR_ITEM_CATEGORIES_INCLUDE || (exports.VENDOR_ITEM_CATEGORIES_INCLUDE = VENDOR_ITEM_CATEGORIES_INCLUDE = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface IGSTAddress {
|
|
2
2
|
buildingName: string;
|
|
3
3
|
location: string;
|
|
4
4
|
streetName: string;
|
|
@@ -13,11 +13,11 @@ export interface IAddress {
|
|
|
13
13
|
locality: string;
|
|
14
14
|
}
|
|
15
15
|
export interface IBusinessPlace {
|
|
16
|
-
additionalPlaceOfBusinessAddress:
|
|
16
|
+
additionalPlaceOfBusinessAddress: IGSTAddress;
|
|
17
17
|
natureOfAdditionalPlaceOfBusiness: string;
|
|
18
18
|
}
|
|
19
19
|
export interface IPrincipalBusinessPlace {
|
|
20
|
-
principalPlaceOfBusinessAddress:
|
|
20
|
+
principalPlaceOfBusinessAddress: IGSTAddress;
|
|
21
21
|
natureOfPrincipalPlaceOfBusiness: string;
|
|
22
22
|
}
|
|
23
23
|
export interface IGSTVerifyResponse {
|