kcommons 10.6.0 → 10.8.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/index.d.ts CHANGED
@@ -83,6 +83,7 @@ export * from "./utils/convertDurationToreadableFormat.util";
83
83
  export * from "./typings/verification_apis/pincode.typings";
84
84
  export * from "./typings/verification_apis/gstVerification.typings";
85
85
  export * from "./typings/verification_apis/udyamVerification.typings";
86
+ export * from "./typings/verification_apis/gstReturns.typings";
86
87
  export * from "./typings/kpis/basKPIS.typings";
87
88
  export * from "./typings/kpis/company/main/purchase/totalSavings.typings";
88
89
  export * from "./typings/kpis/company/main/purchase/purchaseTrend.typings";
@@ -112,6 +113,7 @@ export * from "./typings/company/rootEntityApproval/rootEntityApprovalChain.typi
112
113
  export * from "./typings/company/rootEntityApproval/rootEntityApprovalConfig.typings";
113
114
  export * from "./typings/company/rootEntityApproval/rootEntityApprovalEntries.typings";
114
115
  export * from "./helpers/padNumber.helper";
116
+ export * from "./typings/plugins/plugin.typings";
115
117
  export interface ITesting {
116
118
  message: string;
117
119
  age: number;
package/build/index.js CHANGED
@@ -107,6 +107,7 @@ __exportStar(require("./utils/convertDurationToreadableFormat.util"), exports);
107
107
  __exportStar(require("./typings/verification_apis/pincode.typings"), exports);
108
108
  __exportStar(require("./typings/verification_apis/gstVerification.typings"), exports);
109
109
  __exportStar(require("./typings/verification_apis/udyamVerification.typings"), exports);
110
+ __exportStar(require("./typings/verification_apis/gstReturns.typings"), exports);
110
111
  // KPIs
111
112
  __exportStar(require("./typings/kpis/basKPIS.typings"), exports);
112
113
  // Main Dashboard KPIS
@@ -146,3 +147,5 @@ __exportStar(require("./typings/company/rootEntityApproval/rootEntityApprovalCon
146
147
  __exportStar(require("./typings/company/rootEntityApproval/rootEntityApprovalEntries.typings"), exports);
147
148
  // Helpers
148
149
  __exportStar(require("./helpers/padNumber.helper"), exports);
150
+ // Plugins
151
+ __exportStar(require("./typings/plugins/plugin.typings"), exports);
@@ -122,6 +122,7 @@ export interface ICompany extends IAddress {
122
122
  cin?: string | null;
123
123
  uaadhar?: string | null;
124
124
  pancard?: string | null;
125
+ plugin_ids: string[];
125
126
  associated_purchase_locations?: null | INestedPurchaseLocation[];
126
127
  associated_vendors?: null | INestedVendor[];
127
128
  associated_permissions?: null | INestedPermission[];
@@ -80,7 +80,7 @@ export interface IComparativeItem {
80
80
  quantity: number;
81
81
  pending_qnty: number;
82
82
  processing_qnty: number;
83
- tolerence: string | null;
83
+ tolerence: number | null;
84
84
  item_description: string | null;
85
85
  remarks: string | null;
86
86
  attachment_link: string | null;
@@ -7,7 +7,7 @@ export interface IDocItem {
7
7
  item_name: string;
8
8
  quantity: number;
9
9
  uom: string;
10
- tolerence: string | null;
10
+ tolerence: number | null;
11
11
  item_description?: string | null;
12
12
  attachment_link?: string | null;
13
13
  remarks?: string | null;
@@ -26,7 +26,7 @@ export declare class DocItem implements IDocItem {
26
26
  item_name: string;
27
27
  quantity: number;
28
28
  uom: string;
29
- tolerence: string | null;
29
+ tolerence: number | null;
30
30
  item_description?: string | null;
31
31
  attachment_link?: string | null;
32
32
  is_deleted?: boolean | null;
@@ -41,7 +41,7 @@ export interface ITaxRelatedItemInputs {
41
41
  code_sku: string;
42
42
  item_description?: string | null;
43
43
  uom: string;
44
- tolerence: string | null;
44
+ tolerence: number | null;
45
45
  provided_quantity?: number | null;
46
46
  per_unit_rate?: number | null;
47
47
  discount_value?: number | null;
@@ -80,7 +80,7 @@ export interface IItem {
80
80
  item_tax_preference: string;
81
81
  code_sku: string;
82
82
  uom: string;
83
- tolerence: string | null;
83
+ tolerence: number | null;
84
84
  gst_percent?: number | null;
85
85
  attachment_link: string | null;
86
86
  least_purchase_price: number | null;
@@ -0,0 +1,3 @@
1
+ export declare enum PLUGINS {
2
+ ITEM_TOLERANCE = "ITEM_TOLERANCE"
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PLUGINS = void 0;
4
+ var PLUGINS;
5
+ (function (PLUGINS) {
6
+ PLUGINS["ITEM_TOLERANCE"] = "ITEM_TOLERANCE";
7
+ })(PLUGINS || (exports.PLUGINS = PLUGINS = {}));
@@ -144,7 +144,7 @@ export interface IRFQItem {
144
144
  item_name: string;
145
145
  uom: string;
146
146
  code_sku: string;
147
- tolerence: string | null;
147
+ tolerence: number | null;
148
148
  quantity: number;
149
149
  created_by_user_id: string;
150
150
  item_description?: string | null;
@@ -21,7 +21,7 @@ export interface IVendorItem {
21
21
  name: string;
22
22
  per_unit_rate: number;
23
23
  min_order_qnty: number;
24
- tolerence: string | null;
24
+ tolerence: number | null;
25
25
  item_classification: string | null;
26
26
  uom: string;
27
27
  item_tax_preference: string;
@@ -0,0 +1,45 @@
1
+ export interface IGSTReturnFilingFrequencyResponseUnit {
2
+ quarter: string;
3
+ preference: string;
4
+ }
5
+ export interface IGSTReturnFilingFrequencyResponse {
6
+ status: number;
7
+ data: {
8
+ response: IGSTReturnFilingFrequencyResponseUnit[];
9
+ };
10
+ }
11
+ export interface IGSTReturnFilingFrequencyReq {
12
+ fy: string;
13
+ gstin: string;
14
+ }
15
+ export interface IGSTReturnFilingStatusResponseUnit {
16
+ fy: string;
17
+ taxp: string;
18
+ mof: string;
19
+ dof: string;
20
+ rtntype: string;
21
+ arn: string;
22
+ status: string;
23
+ }
24
+ export interface IGSTReturnFilingStatusResponse {
25
+ filingStatus: IGSTReturnFilingStatusResponseUnit[][];
26
+ }
27
+ export interface IGSTReturnFilingStatusReq {
28
+ gstin: string;
29
+ fy: string;
30
+ }
31
+ export interface IGSTGoodsAndServicesReq {
32
+ gstin: string;
33
+ }
34
+ export interface IGSTGoodsAndServicesResponseGoodUnit {
35
+ gdes: string;
36
+ hsncd: string;
37
+ }
38
+ export interface IGSTGoodsAndServicesResponseServiceUnit {
39
+ saccd: string;
40
+ sdes: string;
41
+ }
42
+ export interface IGSTGoodsAndServicesResponse {
43
+ bzgddtls: IGSTGoodsAndServicesResponseGoodUnit[];
44
+ bzsdtls: IGSTGoodsAndServicesResponseServiceUnit[];
45
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "10.6.0",
3
+ "version": "10.8.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",