law-common 11.4.0 → 12.0.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/README.md +1 -1
- package/dist/src/api/index.d.ts +4 -0
- package/dist/src/api/index.js +4 -0
- package/dist/src/api/interface/vendor_advance.create.dto.interface.d.ts +10 -0
- package/dist/src/api/interface/vendor_advance.create.dto.interface.js +12 -0
- package/dist/src/api/interface/vendor_advance.update.dto.interface.d.ts +24 -0
- package/dist/src/api/interface/vendor_advance.update.dto.interface.js +18 -0
- package/dist/src/api/interface/vendor_invoice.update.dto.interface.d.ts +3 -0
- package/dist/src/api/interface/vendor_invoice.update.dto.interface.js +1 -0
- package/dist/src/api/interface/vendor_invoice_advance.create.dto.interface.d.ts +5 -0
- package/dist/src/api/interface/vendor_invoice_advance.update.dto.interface.d.ts +17 -0
- package/dist/src/api/interface/vendor_invoice_advance.update.dto.interface.js +17 -0
- package/dist/src/constants/website_lead.constants.d.ts +2 -1
- package/dist/src/constants/website_lead.constants.js +3 -2
- package/dist/src/entities/enums/vendor_advance_payment_mode.d.ts +7 -0
- package/dist/src/entities/enums/vendor_advance_payment_mode.js +11 -0
- package/dist/src/entities/enums/vendor_advance_status_enum.d.ts +5 -0
- package/dist/src/entities/enums/vendor_advance_status_enum.js +9 -0
- package/dist/src/entities/enums/vendor_invoice_action.enum.d.ts +2 -1
- package/dist/src/entities/enums/vendor_invoice_action.enum.js +1 -0
- package/dist/src/entities/enums/vendor_invoice_advance_status_enum.d.ts +5 -0
- package/dist/src/entities/enums/vendor_invoice_advance_status_enum.js +9 -0
- package/dist/src/entities/flow-configs/vendor-invoice-flow.config.d.ts +4 -0
- package/dist/src/entities/flow-configs/vendor-invoice-flow.config.js +25 -0
- package/dist/src/entities/flow-configs/vendor_advance_flow.config.d.ts +6 -0
- package/dist/src/entities/flow-configs/vendor_advance_flow.config.js +75 -0
- package/dist/src/entities/flow-configs/vendor_invoice_advance_flow.config.d.ts +6 -0
- package/dist/src/entities/flow-configs/vendor_invoice_advance_flow.config.js +70 -0
- package/dist/src/entities/flow-configs/vendor_tds_liability_flow.config.js +1 -1
- package/dist/src/entities/index.d.ts +9 -0
- package/dist/src/entities/index.js +9 -0
- package/dist/src/entities/interface/entity.utils.interface.d.ts +9 -3
- package/dist/src/entities/interface/entity.utils.interface.js +2 -0
- package/dist/src/entities/interface/vendor_advance.entity.interface.d.ts +24 -0
- package/dist/src/entities/interface/vendor_advance.entity.interface.js +2 -0
- package/dist/src/entities/interface/vendor_invoice_advance.entity.interface.d.ts +11 -0
- package/dist/src/entities/interface/vendor_invoice_advance.entity.interface.js +2 -0
- package/dist/src/entities/model/entity.model.interface.js +4 -0
- package/dist/src/entities/model/vendor.entity.model.d.ts +24 -5
- package/dist/src/entities/model/vendor.entity.model.js +74 -4
- package/dist/src/entities/model/vendor_advance.entity.model.d.ts +80 -0
- package/dist/src/entities/model/vendor_advance.entity.model.js +262 -0
- package/dist/src/entities/model/vendor_invoice_advance.entity.model.d.ts +73 -0
- package/dist/src/entities/model/vendor_invoice_advance.entity.model.js +243 -0
- package/package.json +56 -50
- package/dist/src/api/interface/document_upload.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/document_upload.create.dto.interface.autocode.js +0 -27
- package/dist/src/api/interface/document_upload.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/document_upload.update.dto.interface.autocode.js +0 -8
- package/dist/src/api/interface/expense_head.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/expense_head.create.dto.interface.autocode.js +0 -4
- package/dist/src/api/interface/expense_head.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/expense_head.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/gst_rate.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/gst_rate.create.dto.interface.autocode.js +0 -4
- package/dist/src/api/interface/gst_rate.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/gst_rate.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/organization_type.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/organization_type.create.dto.interface.autocode.js +0 -4
- package/dist/src/api/interface/organization_type.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/organization_type.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/state.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/state.create.dto.interface.autocode.js +0 -6
- package/dist/src/api/interface/state.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/state.update.dto.interface.autocode.js +0 -10
- package/dist/src/api/interface/tds_rate.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/tds_rate.create.dto.interface.autocode.js +0 -6
- package/dist/src/api/interface/tds_rate.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/tds_rate.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/tds_rate_voucher_type_mapping.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/tds_rate_voucher_type_mapping.create.dto.interface.autocode.js +0 -7
- package/dist/src/api/interface/tds_rate_voucher_type_mapping.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/tds_rate_voucher_type_mapping.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/vendor.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor.create.dto.interface.autocode.js +0 -74
- package/dist/src/api/interface/vendor.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor.update.dto.interface.autocode.js +0 -8
- package/dist/src/api/interface/vendor_invoice.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor_invoice.create.dto.interface.autocode.js +0 -21
- package/dist/src/api/interface/vendor_invoice.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor_invoice.update.dto.interface.autocode.js +0 -8
- package/dist/src/api/interface/vendor_invoice_item.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor_invoice_item.create.dto.interface.autocode.js +0 -6
- package/dist/src/api/interface/vendor_invoice_item.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/vendor_invoice_item.update.dto.interface.autocode.js +0 -6
- package/dist/src/api/interface/voucher_type.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/voucher_type.create.dto.interface.autocode.js +0 -4
- package/dist/src/api/interface/voucher_type.update.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/voucher_type.update.dto.interface.autocode.js +0 -3
- package/dist/src/api/interface/website_lead.create.dto.interface.autocode.d.ts +0 -0
- package/dist/src/api/interface/website_lead.create.dto.interface.autocode.js +0 -6
- package/dist/src/entities/enums/address_book_status_enum.autocode.d.ts +0 -5
- package/dist/src/entities/enums/address_book_status_enum.autocode.js +0 -9
- package/dist/src/entities/enums/expense_head_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/expense_head_status_enum.autocode.js +0 -6
- package/dist/src/entities/enums/gst_rate_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/gst_rate_status_enum.autocode.js +0 -6
- package/dist/src/entities/enums/organization_type_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/organization_type_status_enum.autocode.js +0 -6
- package/dist/src/entities/enums/state_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/state_status_enum.autocode.js +0 -6
- package/dist/src/entities/enums/tds_rate_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/tds_rate_status_enum.autocode.js +0 -6
- package/dist/src/entities/enums/vendor_contract_applicability_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_contract_applicability_enum.autocode.js +0 -5
- package/dist/src/entities/enums/vendor_gst_type_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_gst_type_enum.autocode.js +0 -5
- package/dist/src/entities/enums/vendor_invoice_action_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_invoice_action_status_enum.autocode.js +0 -5
- package/dist/src/entities/enums/vendor_invoice_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_invoice_status_enum.autocode.js +0 -5
- package/dist/src/entities/enums/vendor_location_type_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_location_type_enum.autocode.js +0 -5
- package/dist/src/entities/enums/vendor_pan_type_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/vendor_pan_type_enum.autocode.js +0 -5
- package/dist/src/entities/enums/voucher_type_status_enum.autocode.d.ts +0 -0
- package/dist/src/entities/enums/voucher_type_status_enum.autocode.js +0 -6
- package/dist/src/entities/interface/address-book.entity.interface.autocode.d.ts +0 -13
- package/dist/src/entities/interface/document_upload.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/document_upload.entity.interface.autocode.js +0 -10
- package/dist/src/entities/interface/expense_head.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/expense_head.entity.interface.autocode.js +0 -8
- package/dist/src/entities/interface/gst_rate.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/gst_rate.entity.interface.autocode.js +0 -8
- package/dist/src/entities/interface/organization_type.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/organization_type.entity.interface.autocode.js +0 -8
- package/dist/src/entities/interface/organization_type_tds_rate_mapping.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/organization_type_tds_rate_mapping.entity.interface.autocode.js +0 -7
- package/dist/src/entities/interface/state.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/state.entity.interface.autocode.js +0 -10
- package/dist/src/entities/interface/tds_rate.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/tds_rate.entity.interface.autocode.js +0 -12
- package/dist/src/entities/interface/tds_rate_voucher_type_mapping.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/tds_rate_voucher_type_mapping.entity.interface.autocode.js +0 -7
- package/dist/src/entities/interface/vendor.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/vendor.entity.interface.autocode.js +0 -24
- package/dist/src/entities/interface/vendor_invoice.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/vendor_invoice.entity.interface.autocode.js +0 -18
- package/dist/src/entities/interface/vendor_invoice_item.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/vendor_invoice_item.entity.interface.autocode.js +0 -17
- package/dist/src/entities/interface/voucher_type.entity.interface.autocode.d.ts +0 -0
- package/dist/src/entities/interface/voucher_type.entity.interface.autocode.js +0 -7
- package/dist/src/entities/model/document_upload.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/document_upload.entity.model.autocode.js +0 -25
- package/dist/src/entities/model/expense_head.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/expense_head.entity.model.autocode.js +0 -33
- package/dist/src/entities/model/gst_rate.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/gst_rate.entity.model.autocode.js +0 -22
- package/dist/src/entities/model/office_location.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/office_location.entity.model.autocode.js +0 -23
- package/dist/src/entities/model/organization_type.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/organization_type.entity.model.autocode.js +0 -22
- package/dist/src/entities/model/organization_type_tds_rate_mapping.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/organization_type_tds_rate_mapping.entity.model.autocode.js +0 -24
- package/dist/src/entities/model/tds_rate.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/tds_rate.entity.model.autocode.js +0 -261
- package/dist/src/entities/model/tds_rate_voucher_type_mapping.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/tds_rate_voucher_type_mapping.entity.model.autocode.js +0 -22
- package/dist/src/entities/model/vendor.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/vendor.entity.model.autocode.js +0 -60
- package/dist/src/entities/model/vendor_invoice.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/vendor_invoice.entity.model.autocode.js +0 -67
- package/dist/src/entities/model/vendor_invoice_item.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/vendor_invoice_item.entity.model.autocode.js +0 -132
- package/dist/src/entities/model/voucher_type.entity.model.autocode.d.ts +0 -0
- package/dist/src/entities/model/voucher_type.entity.model.autocode.js +0 -32
- /package/dist/src/{entities/interface/address-book.entity.interface.autocode.js → api/interface/vendor_invoice_advance.create.dto.interface.js} +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityCreateDto, Nullable } from "../../entities";
|
|
3
|
-
// import { IAppFileConfig, IFilePayload, MulterFileWithUrl } from "../../misc";
|
|
4
|
-
// import { IVendorEntity } from "../../entities/interface/vendor.entity.interface";
|
|
5
|
-
// export interface IVendorContactDetail {
|
|
6
|
-
// id: Nullable<number>;
|
|
7
|
-
// name: string;
|
|
8
|
-
// email?: Nullable<string>;
|
|
9
|
-
// phone?: Nullable<string>;
|
|
10
|
-
// }
|
|
11
|
-
// export type IVendorContactDetailCreateExclude = never;
|
|
12
|
-
// export interface IVendorContactDetailCreateDto extends Omit<IEntityCreateDto<IVendorContactDetailEntity>, IVendorContactDetailCreateExclude> {}
|
|
13
|
-
// export interface IVendorBankDetail {
|
|
14
|
-
// id: number;
|
|
15
|
-
// accountName: string;
|
|
16
|
-
// name: string;
|
|
17
|
-
// accountNo: string;
|
|
18
|
-
// branchName: string;
|
|
19
|
-
// branchAddress?: Nullable<string>;
|
|
20
|
-
// ifscCode: string;
|
|
21
|
-
// swiftCode?: Nullable<string>;
|
|
22
|
-
// }
|
|
23
|
-
// export type IVendorBankDetailCreateExclude = never;
|
|
24
|
-
// export interface IVendorBankDetailCreateDto extends Omit<IEntityCreateDto<IVendorBankDetailEntity>, IVendorBankDetailCreateExclude> {}
|
|
25
|
-
// export type IVendorCreateExclude =
|
|
26
|
-
// | "contactDetail"
|
|
27
|
-
// | "bankDetail"
|
|
28
|
-
// | "organizationTypeId"
|
|
29
|
-
// | "status"
|
|
30
|
-
// | "remark"
|
|
31
|
-
// | "panDocument"
|
|
32
|
-
// | "gstDocument"
|
|
33
|
-
// | "contractDocument"
|
|
34
|
-
// | "attachmentDocuments";
|
|
35
|
-
// export interface IVendorCreateDto extends Omit<IEntityCreateDto<IVendorEntity>, IVendorCreateExclude> {
|
|
36
|
-
// contactDetail?: IVendorContactDetailCreateDto[];
|
|
37
|
-
// bankDetail?: IVendorBankDetailCreateDto[];
|
|
38
|
-
// panDocument?: Nullable<MulterFileWithUrl>;
|
|
39
|
-
// gstDocument?: Nullable<MulterFileWithUrl>;
|
|
40
|
-
// contractDocument?: Nullable<MulterFileWithUrl>;
|
|
41
|
-
// attachmentDocuments?: Nullable<MulterFileWithUrl[]>;
|
|
42
|
-
// files: IFilePayload[];
|
|
43
|
-
// }
|
|
44
|
-
// export type VendorDocumentFieldNames = ["panDocument", "gstDocument", "contractDocument", "attachmentDocuments"];
|
|
45
|
-
// export const vendorFileConfig: IAppFileConfig<VendorDocumentFieldNames[number]>[] = [
|
|
46
|
-
// {
|
|
47
|
-
// name: "panDocument",
|
|
48
|
-
// size: 1048576,
|
|
49
|
-
// count: 1,
|
|
50
|
-
// isRequired: false,
|
|
51
|
-
// format: ["application/pdf", "image/jpeg", "image/png"],
|
|
52
|
-
// },
|
|
53
|
-
// {
|
|
54
|
-
// name: "gstDocument",
|
|
55
|
-
// size: 1048576,
|
|
56
|
-
// count: 1,
|
|
57
|
-
// isRequired: false,
|
|
58
|
-
// format: ["application/pdf", "image/jpeg", "image/png"],
|
|
59
|
-
// },
|
|
60
|
-
// {
|
|
61
|
-
// name: "contractDocument",
|
|
62
|
-
// size: 1048576,
|
|
63
|
-
// count: 1,
|
|
64
|
-
// isRequired: false,
|
|
65
|
-
// format: ["application/pdf", "image/jpeg", "image/png"],
|
|
66
|
-
// },
|
|
67
|
-
// {
|
|
68
|
-
// name: "attachmentDocuments",
|
|
69
|
-
// size: 1048576,
|
|
70
|
-
// count: 5,
|
|
71
|
-
// isRequired: false,
|
|
72
|
-
// format: ["application/pdf", "image/jpeg", "image/png"],
|
|
73
|
-
// },
|
|
74
|
-
// ];
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { DeepPartialButRequired } from "./api.utils.interface";
|
|
3
|
-
// import { IDeleteDocumentDetails } from "../../misc";
|
|
4
|
-
// import { EntityEnum, EnumEntityType } from "../../entities";
|
|
5
|
-
// import { IVendorCreateDto } from "./vendor.create.dto.interface";
|
|
6
|
-
// export type IVendorUpdateDto = DeepPartialButRequired<IVendorCreateDto, never> & {
|
|
7
|
-
// deleteDocumentDetails?: IDeleteDocumentDetails<EnumEntityType<EntityEnum.VENDOR>>;
|
|
8
|
-
// };
|
|
File without changes
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityCreateDto, Nullable } from "../../entities";
|
|
3
|
-
// import { IAppFileConfig, IFilePayload, MulterFileWithUrl } from "../../misc";
|
|
4
|
-
// import { IVendorInvoiceEntity } from "../../entities/interface/vendor_invoice.entity.interface";
|
|
5
|
-
// import { IVendorInvoiceItemCreateDto } from "./vendor_invoice_item.create.dto.interface";
|
|
6
|
-
// export type IVendorInvoiceCreateExclude = "status" | "actionStatus" | "invoiceDocuments";
|
|
7
|
-
// export interface IVendorInvoiceCreateDto extends Omit<IEntityCreateDto<IVendorInvoiceEntity>, IVendorInvoiceCreateExclude> {
|
|
8
|
-
// vendorInvoiceItems: IVendorInvoiceItemCreateDto[];
|
|
9
|
-
// invoiceDocuments?: Nullable<MulterFileWithUrl[]>;
|
|
10
|
-
// files: IFilePayload[];
|
|
11
|
-
// }
|
|
12
|
-
// export type VendorInvoiceDocumentFieldNames = ["invoiceDocuments"];
|
|
13
|
-
// export const vendorInvoiceFileConfig: IAppFileConfig<VendorInvoiceDocumentFieldNames[number]>[] = [
|
|
14
|
-
// {
|
|
15
|
-
// name: "invoiceDocuments",
|
|
16
|
-
// size: 5242880,
|
|
17
|
-
// count: 5,
|
|
18
|
-
// isRequired: true,
|
|
19
|
-
// format: ["application/pdf", "image/jpeg", "image/png"],
|
|
20
|
-
// },
|
|
21
|
-
// ];
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { DeepPartialButRequired } from "./api.utils.interface";
|
|
3
|
-
// import { IDeleteDocumentDetails } from "../../misc";
|
|
4
|
-
// import { EntityEnum, EnumEntityType } from "../../entities";
|
|
5
|
-
// import { IVendorInvoiceCreateDto } from "./vendor_invoice.create.dto.interface";
|
|
6
|
-
// export type IVendorInvoiceUpdateDto = DeepPartialButRequired<IVendorInvoiceCreateDto, never> & {
|
|
7
|
-
// deleteDocumentDetails?: IDeleteDocumentDetails<EnumEntityType<EntityEnum.VENDOR_INVOICE>>;
|
|
8
|
-
// };
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityCreateDto, Nullable } from "../../entities";
|
|
3
|
-
// import { IAppFileConfig, IFilePayload, MulterFileWithUrl } from "../../misc";
|
|
4
|
-
// import { IVendorInvoiceItemEntity } from "../../entities/interface/vendor_invoice_item.entity.interface";
|
|
5
|
-
// export type IVendorInvoiceItemCreateExclude = never;
|
|
6
|
-
// export interface IVendorInvoiceItemCreateDto extends Omit<IEntityCreateDto<IVendorInvoiceItemEntity>, IVendorInvoiceItemCreateExclude> {}
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { DeepPartialButRequired } from "./api.utils.interface";
|
|
3
|
-
// import { IDeleteDocumentDetails } from "../../misc";
|
|
4
|
-
// import { EntityEnum, EnumEntityType } from "../../entities";
|
|
5
|
-
// import { IVendorInvoiceItemCreateDto } from "./vendor_invoice_item.create.dto.interface";
|
|
6
|
-
// export type IVendorInvoiceItemUpdateDto = DeepPartialButRequired<IVendorInvoiceItemCreateDto, never>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityCreateDto, Nullable } from "../../entities";
|
|
3
|
-
// import { IAppFileConfig, IFilePayload, MulterFileWithUrl } from "../../misc";
|
|
4
|
-
// import { IWebsiteLeadEntity } from "../../entities/interface/website_lead.entity.interface";
|
|
5
|
-
// export type IWebsiteLeadCreateExclude = never;
|
|
6
|
-
// export interface IWebsiteLeadCreateDto extends Omit<IEntityCreateDto<IWebsiteLeadEntity>, IWebsiteLeadCreateExclude> {}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddressBookStatusEnum = void 0;
|
|
4
|
-
var AddressBookStatusEnum;
|
|
5
|
-
(function (AddressBookStatusEnum) {
|
|
6
|
-
AddressBookStatusEnum["ACTIVE"] = "ACTIVE";
|
|
7
|
-
AddressBookStatusEnum["DEACTIVE"] = "DEACTIVE";
|
|
8
|
-
AddressBookStatusEnum["INACTIVE"] = "INACTIVE";
|
|
9
|
-
})(AddressBookStatusEnum || (exports.AddressBookStatusEnum = AddressBookStatusEnum = {}));
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
2
|
-
import { AddressBookStatusEnum } from "../enums/address_book_status_enum.autocode";
|
|
3
|
-
export interface IAddressBookEntity extends IEntityAuditColumn {
|
|
4
|
-
id: number;
|
|
5
|
-
organizationName: string;
|
|
6
|
-
contactDetail: string;
|
|
7
|
-
country: string;
|
|
8
|
-
notes?: string;
|
|
9
|
-
introducedBy?: number;
|
|
10
|
-
organizationId: number;
|
|
11
|
-
address?: string;
|
|
12
|
-
status: AddressBookStatusEnum;
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// import { Nullable } from "./entity.utils.interface";
|
|
4
|
-
// export interface IDocumentUploadEntity extends IEntityAuditColumn {
|
|
5
|
-
// id: number;
|
|
6
|
-
// name: string;
|
|
7
|
-
// gstNo?: Nullable<string>;
|
|
8
|
-
// gstDocument?: Nullable<string>;
|
|
9
|
-
// additionalDocuments?: Nullable<string>;
|
|
10
|
-
// }
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// export interface IExpenseHeadEntity extends IEntityAuditColumn {
|
|
4
|
-
// id: number;
|
|
5
|
-
// name: string;
|
|
6
|
-
// voucherTypeId: number;
|
|
7
|
-
// status: ExpenseHeadStatusEnum;
|
|
8
|
-
// }
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// export interface IOrganizationTypeEntity extends IEntityAuditColumn {
|
|
4
|
-
// id: number;
|
|
5
|
-
// code: string;
|
|
6
|
-
// name: string;
|
|
7
|
-
// status: OrganizationTypeStatusEnum;
|
|
8
|
-
// }
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// import { Nullable } from "./entity.utils.interface";
|
|
4
|
-
// import { StateStatusEnum } from "../enums/state_status_enum";
|
|
5
|
-
// export interface IStateEntity extends IEntityAuditColumn {
|
|
6
|
-
// id: number;
|
|
7
|
-
// name: string;
|
|
8
|
-
// code: string;
|
|
9
|
-
// status: StateStatusEnum;
|
|
10
|
-
// }
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// export interface ITdsRateEntity extends IEntityAuditColumn {
|
|
4
|
-
// id: number;
|
|
5
|
-
// section: string;
|
|
6
|
-
// code: string;
|
|
7
|
-
// description?: string;
|
|
8
|
-
// panAvailableRate: number;
|
|
9
|
-
// panNotAvailableRate: number;
|
|
10
|
-
// effectiveFrom: number;
|
|
11
|
-
// status: TdsRateStatusEnum;
|
|
12
|
-
// }
|
package/dist/src/entities/interface/tds_rate_voucher_type_mapping.entity.interface.autocode.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// import { Nullable } from "./entity.utils.interface";
|
|
4
|
-
// export interface IVendorEntity extends IEntityAuditColumn {
|
|
5
|
-
// name: string;
|
|
6
|
-
// locationType: VendorLocationTypeEnum;
|
|
7
|
-
// address?: Nullable<string>;
|
|
8
|
-
// city?: Nullable<string>;
|
|
9
|
-
// pincode?: Nullable<string>;
|
|
10
|
-
// state: string;
|
|
11
|
-
// country: string;
|
|
12
|
-
// gstType: VendorGstTypeEnum;
|
|
13
|
-
// gstNo?: Nullable<string>;
|
|
14
|
-
// panType?: VendorPanTypeEnum;
|
|
15
|
-
// contractApplicability: VendorContractApplicabilityEnum;
|
|
16
|
-
// contactDetails?: Nullable<string>;
|
|
17
|
-
// panDocument?: Nullable<string>;
|
|
18
|
-
// gstDocument?: Nullable<string>;
|
|
19
|
-
// contractDocument?: Nullable<string>;
|
|
20
|
-
// remarks?: Nullable<string>;
|
|
21
|
-
// paymentDueDays?: Nullable<number>;
|
|
22
|
-
// attachmentDocuments?: Nullable<string>;
|
|
23
|
-
// bankDetail?: Nullable<string>;
|
|
24
|
-
// }
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// import { Nullable } from "./entity.utils.interface";
|
|
4
|
-
// import { VendorInvoicePaidStatusEnum } from "../enums/vendor_invoice_status_enum";
|
|
5
|
-
// import { VendorInvoiceStatusEnum } from "../enums/vendor_invoice_action_status_enum";
|
|
6
|
-
// export interface IVendorInvoiceEntity extends IEntityAuditColumn {
|
|
7
|
-
// id: number;
|
|
8
|
-
// vendorId: number;
|
|
9
|
-
// status: VendorInvoicePaidStatusEnum;
|
|
10
|
-
// actionStatus: VendorInvoiceStatusEnum;
|
|
11
|
-
// serviceLocationId: string;
|
|
12
|
-
// invoiceNo: string;
|
|
13
|
-
// invoiceDate: number;
|
|
14
|
-
// dueDate?: Nullable<number>;
|
|
15
|
-
// voucherNo?: Nullable<string>;
|
|
16
|
-
// voucherDate?: Nullable<number>;
|
|
17
|
-
// invoiceDocuments: string;
|
|
18
|
-
// }
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
// import { Nullable } from "./entity.utils.interface";
|
|
4
|
-
// export interface IVendorInvoiceItemEntity extends IEntityAuditColumn {
|
|
5
|
-
// id: number;
|
|
6
|
-
// vendorInvoiceId: number;
|
|
7
|
-
// voucherTypeId: number;
|
|
8
|
-
// expenseHeadId: number;
|
|
9
|
-
// narration: string;
|
|
10
|
-
// basicAmount: number;
|
|
11
|
-
// gstRateId: number;
|
|
12
|
-
// invoiceAmount: number;
|
|
13
|
-
// tdsRateId: number;
|
|
14
|
-
// netAmount: number;
|
|
15
|
-
// quantity: number;
|
|
16
|
-
// rate: number;
|
|
17
|
-
// }
|
|
File without changes
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
3
|
-
// import { BaseEntityModel } from "./base.entity.model";
|
|
4
|
-
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
5
|
-
// import { IDocumentUploadEntity } from "../interface/document_upload.entity.interface";
|
|
6
|
-
// export class DocumentUploadEntityModel extends BaseEntityModel<EntityEnum.DOCUMENT_UPLOAD> implements IDocumentUploadEntity {
|
|
7
|
-
// id: number = 0;
|
|
8
|
-
// name: string = "";
|
|
9
|
-
// gstNo?: string;
|
|
10
|
-
// gstDocument?: string;
|
|
11
|
-
// additionalDocuments?: string;
|
|
12
|
-
// createdOn: number = 0;
|
|
13
|
-
// updatedOn: number = 0;
|
|
14
|
-
// createdBy: number = 0;
|
|
15
|
-
// updatedBy: number = 0;
|
|
16
|
-
// static relationConfigs: RelationConfigs<[], EntityEnum.DOCUMENT_UPLOAD> = [];
|
|
17
|
-
// static fromEntity(entity: IDocumentUploadEntity): DocumentUploadEntityModel {
|
|
18
|
-
// const result = new DocumentUploadEntityModel(EntityEnum.DOCUMENT_UPLOAD);
|
|
19
|
-
// Object.assign(result, entity);
|
|
20
|
-
// return result;
|
|
21
|
-
// }
|
|
22
|
-
// getRelationConfigs(): any[] {
|
|
23
|
-
// return this.constructor.prototype.constructor.relationConfigs || [];
|
|
24
|
-
// }
|
|
25
|
-
// }
|
|
File without changes
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
3
|
-
// import { BaseEntityModel } from "./base.entity.model";
|
|
4
|
-
// export class ExpenseHeadEntityModel extends BaseEntityModel<EntityEnum.EXPENSE_HEAD> implements IExpenseHeadEntity {
|
|
5
|
-
// id: number = 0;
|
|
6
|
-
// name: string = "";
|
|
7
|
-
// voucherTypeId: number = 0;
|
|
8
|
-
// status: ExpenseHeadStatusEnum = ExpenseHeadStatusEnum.ACTIVE;
|
|
9
|
-
// createdOn: number = 0;
|
|
10
|
-
// updatedOn: number = 0;
|
|
11
|
-
// createdBy: number = 0;
|
|
12
|
-
// updatedBy: number = 0;
|
|
13
|
-
// voucherType?: VoucherTypeEntityModel;
|
|
14
|
-
// static relationConfigs: RelationConfigs<[EntityEnum.VOUCHER_TYPE], EntityEnum.EXPENSE_HEAD> = [
|
|
15
|
-
// {
|
|
16
|
-
// name: EntityEnum.VOUCHER_TYPE,
|
|
17
|
-
// relation: RelationType.ONE,
|
|
18
|
-
// key: "voucherType",
|
|
19
|
-
// mapKeyConfig: {
|
|
20
|
-
// relationKey: "id",
|
|
21
|
-
// key: "voucherTypeId",
|
|
22
|
-
// },
|
|
23
|
-
// },
|
|
24
|
-
// ];
|
|
25
|
-
// static fromEntity(entity: IExpenseHeadEntity): ExpenseHeadEntityModel {
|
|
26
|
-
// const result = new ExpenseHeadEntityModel(EntityEnum.EXPENSE_HEAD);
|
|
27
|
-
// Object.assign(result, entity);
|
|
28
|
-
// return result;
|
|
29
|
-
// }
|
|
30
|
-
// getRelationConfigs(): any[] {
|
|
31
|
-
// return this.constructor.prototype.constructor.relationConfigs || [];
|
|
32
|
-
// }
|
|
33
|
-
// }
|
|
File without changes
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
3
|
-
// import { BaseEntityModel } from "./base.entity.model";
|
|
4
|
-
// export class GstRateEntityModel extends BaseEntityModel<EntityEnum.GST_RATE> implements IGstRateEntity {
|
|
5
|
-
// id: number = 0;
|
|
6
|
-
// code: string = "";
|
|
7
|
-
// rate: number = 0;
|
|
8
|
-
// status: GstRateStatusEnum = GstRateStatusEnum.ACTIVE;
|
|
9
|
-
// createdOn: number = 0;
|
|
10
|
-
// updatedOn: number = 0;
|
|
11
|
-
// createdBy: number = 0;
|
|
12
|
-
// updatedBy: number = 0;
|
|
13
|
-
// static relationConfigs = [];
|
|
14
|
-
// static fromEntity(entity: IGstRateEntity): GstRateEntityModel {
|
|
15
|
-
// const result = new GstRateEntityModel(EntityEnum.GST_RATE);
|
|
16
|
-
// Object.assign(result, entity);
|
|
17
|
-
// return result;
|
|
18
|
-
// }
|
|
19
|
-
// getRelationConfigs(): any[] {
|
|
20
|
-
// return this.constructor.prototype.constructor.relationConfigs || [];
|
|
21
|
-
// }
|
|
22
|
-
// }
|
|
File without changes
|