kcommons 18.19.9 → 18.19.11

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.
Files changed (60) hide show
  1. package/build/constants/companyRoutes.constants.d.ts +98 -0
  2. package/build/constants/companyRoutes.constants.js +110 -0
  3. package/build/constants/entityTypes.constants.d.ts +2 -1
  4. package/build/constants/entityTypes.constants.js +1 -0
  5. package/build/constants/permission.constants.d.ts +14 -2
  6. package/build/constants/permission.constants.js +37 -0
  7. package/build/constants/statuses.constants.d.ts +5 -1
  8. package/build/constants/statuses.constants.js +4 -0
  9. package/build/constants/vendorRoutes.constants.d.ts +6 -0
  10. package/build/constants/vendorRoutes.constants.js +6 -0
  11. package/build/index.d.ts +13 -0
  12. package/build/index.js +13 -0
  13. package/build/typings/approvalConfig.typings.d.ts +7 -3
  14. package/build/typings/approvalConfig.typings.js +1 -0
  15. package/build/typings/common/transporterDocumentManualVerificationByCompany.typings.d.ts +25 -0
  16. package/build/typings/common/transporterDocumentManualVerificationByCompany.typings.js +9 -0
  17. package/build/typings/common/uploadMedia.typings.d.ts +2 -1
  18. package/build/typings/common/uploadMedia.typings.js +1 -0
  19. package/build/typings/company/masters/transporterManagementBody.typings.d.ts +39 -0
  20. package/build/typings/company/masters/transporterManagementBody.typings.js +12 -0
  21. package/build/typings/company.typings.d.ts +24 -2
  22. package/build/typings/company.typings.js +8 -0
  23. package/build/typings/companyTransporter.typings.d.ts +99 -0
  24. package/build/typings/companyTransporter.typings.js +42 -0
  25. package/build/typings/companyTransporterCategory.typings.d.ts +27 -0
  26. package/build/typings/companyTransporterCategory.typings.js +10 -0
  27. package/build/typings/contactPeople.typings.d.ts +5 -2
  28. package/build/typings/contactPeople.typings.js +1 -0
  29. package/build/typings/department.typings.d.ts +7 -3
  30. package/build/typings/department.typings.js +1 -0
  31. package/build/typings/entityApprovalChainEntry.typings.d.ts +23 -3
  32. package/build/typings/entityApprovalChainEntry.typings.js +8 -0
  33. package/build/typings/freightComparative.typings.d.ts +97 -0
  34. package/build/typings/freightComparative.typings.js +40 -0
  35. package/build/typings/freightComparativeEarlyAccessRequests.typings.d.ts +18 -0
  36. package/build/typings/freightComparativeEarlyAccessRequests.typings.js +8 -0
  37. package/build/typings/freightComparativeVehiclesQuantitySplit.typings.d.ts +26 -0
  38. package/build/typings/freightComparativeVehiclesQuantitySplit.typings.js +10 -0
  39. package/build/typings/freightOrder.typings.d.ts +246 -0
  40. package/build/typings/freightOrder.typings.js +67 -0
  41. package/build/typings/freightQuote.typings.d.ts +155 -0
  42. package/build/typings/freightQuote.typings.js +28 -0
  43. package/build/typings/frr.typings.d.ts +189 -0
  44. package/build/typings/frr.typings.js +58 -0
  45. package/build/typings/purchaseLocation.typings.d.ts +5 -2
  46. package/build/typings/purchaseLocation.typings.js +1 -0
  47. package/build/typings/roles.typings.d.ts +7 -3
  48. package/build/typings/roles.typings.js +1 -0
  49. package/build/typings/storeLocation.typings.d.ts +8 -2
  50. package/build/typings/storeLocation.typings.js +2 -0
  51. package/build/typings/transporter.typings.d.ts +105 -0
  52. package/build/typings/transporter.typings.js +17 -0
  53. package/build/typings/transporterGroup.typings.d.ts +41 -0
  54. package/build/typings/transporterGroup.typings.js +11 -0
  55. package/build/typings/user.typings.d.ts +51 -2
  56. package/build/typings/user.typings.js +19 -0
  57. package/build/typings/vehicle.typings.d.ts +55 -0
  58. package/build/typings/vehicle.typings.js +21 -0
  59. package/build/utils/getContactPerson.util.spec.js +2 -0
  60. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ import { IPaginationFilters } from "../../common/paginationFilters.typings";
2
+ import { INestedCompany } from "../../company.typings";
3
+ import { INestedDepartment } from "../../department.typings";
4
+ import { INestedRole } from "../../roles.typings";
5
+ import { INestedUser } from "../../user.typings";
6
+ export interface ITransporterManagementBody {
7
+ id: string;
8
+ company_id: string;
9
+ created_by_user_id: string;
10
+ last_updated_by_user_id: string;
11
+ head_of_body_id: string;
12
+ transporter_management_body_name: string;
13
+ transporter_management_body_code: string;
14
+ is_enabled: boolean;
15
+ is_deleted: boolean;
16
+ deleted_at: string | null;
17
+ created_at: string;
18
+ updated_at: string;
19
+ company: INestedCompany | null;
20
+ created_by_user: INestedUser | null;
21
+ last_updated_by_user: INestedUser | null;
22
+ head_of_body: INestedUser | null;
23
+ departments: INestedDepartment[] | null;
24
+ roles: INestedRole[] | null;
25
+ }
26
+ export interface INestedTransporterManagementBody extends Omit<ITransporterManagementBody, "company" | "created_by_user" | "last_updated_by_user" | "head_of_body" | "departments" | "roles"> {
27
+ }
28
+ export declare enum TRANSPORTER_MANAGEMENT_BODY_INCLUDES {
29
+ company = "company",
30
+ created_by_user = "created_by_user",
31
+ last_updated_by_user = "last_updated_by_user",
32
+ head_of_body = "head_of_body",
33
+ departments = "departments",
34
+ roles = "roles"
35
+ }
36
+ export interface ITransporterManagementBodyFiltersWithPagination extends IPaginationFilters {
37
+ include?: TRANSPORTER_MANAGEMENT_BODY_INCLUDES[];
38
+ name?: string | null;
39
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TRANSPORTER_MANAGEMENT_BODY_INCLUDES = void 0;
4
+ var TRANSPORTER_MANAGEMENT_BODY_INCLUDES;
5
+ (function (TRANSPORTER_MANAGEMENT_BODY_INCLUDES) {
6
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["company"] = "company";
7
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["created_by_user"] = "created_by_user";
8
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["last_updated_by_user"] = "last_updated_by_user";
9
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["head_of_body"] = "head_of_body";
10
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["departments"] = "departments";
11
+ TRANSPORTER_MANAGEMENT_BODY_INCLUDES["roles"] = "roles";
12
+ })(TRANSPORTER_MANAGEMENT_BODY_INCLUDES || (exports.TRANSPORTER_MANAGEMENT_BODY_INCLUDES = TRANSPORTER_MANAGEMENT_BODY_INCLUDES = {}));
@@ -30,6 +30,9 @@ import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRela
30
30
  import { INestedCompanySpecificVendorItemVersion } from "./companySepcificVendorItems.typings";
31
31
  import { IPaginationFilters } from "./common/paginationFilters.typings";
32
32
  import { INestedContactPeople } from "./contactPeople.typings";
33
+ import { INestedFreightComparative, INestedFreightComparativeVehicle } from "./freightComparative.typings";
34
+ import { INestedFreightQuote } from "./freightQuote.typings";
35
+ import { INestedFO, INestedFOVehicle } from "./freightOrder.typings";
33
36
  import { INestedCompanyItemVendorVersion } from "./companyItemVendorVersion.typings";
34
37
  import { INestedISTD } from "./company/istd/istd.typings";
35
38
  import { INestedISTDItem } from "./company/istd/istdItems.typings";
@@ -69,6 +72,9 @@ import { INestedQualityClearanceDocument } from "./qcd.typings";
69
72
  import { INestedAudits } from "./audits.typings";
70
73
  import { INestedApprovalComment } from "./approvalComments.typings";
71
74
  import { INestedVendorLogs } from "./vendorLogs.typings";
75
+ import { INestedTransporterDocumentManualVerificationByCompany } from "./common/transporterDocumentManualVerificationByCompany.typings";
76
+ import { INestedTransporterGroups } from "./transporterGroup.typings";
77
+ import { INestedVehicle } from "./vehicle.typings";
72
78
  export declare enum PRICING_PLANS {
73
79
  BASIC = "BASIC",
74
80
  GROWTH = "GROWTH",
@@ -154,7 +160,15 @@ export declare enum COMPANY_INCLUDE {
154
160
  quality_clearance_documents = "quality_clearance_documents",
155
161
  audits = "audits",
156
162
  approval_comments = "approval_comments",
157
- vendor_logs = "vendor_logs"
163
+ vendor_logs = "vendor_logs",
164
+ transporter_documents_manual_verification_by_company = "transporter_documents_manual_verification_by_company",
165
+ created_transporter_groups = "created_transporter_groups",
166
+ vehicles = "vehicles",
167
+ company_freight_quotes = "company_freight_quotes",
168
+ company_freight_comparatives = "company_freight_comparatives",
169
+ company_freight_comparative_vehicles = "company_freight_comparative_vehicles",
170
+ company_fos = "company_fos",
171
+ company_fo_vehicles = "company_fo_vehicles"
158
172
  }
159
173
  export interface ICompany extends IAddress {
160
174
  id: string;
@@ -259,8 +273,16 @@ export interface ICompany extends IAddress {
259
273
  audits: INestedAudits[] | null;
260
274
  approval_comments: INestedApprovalComment[] | null;
261
275
  vendor_logs: INestedVendorLogs[] | null;
276
+ transporter_documents_manual_verification_by_company: INestedTransporterDocumentManualVerificationByCompany[] | null;
277
+ created_transporter_groups: INestedTransporterGroups[] | null;
278
+ vehicles: INestedVehicle[] | null;
279
+ company_freight_quotes: INestedFreightQuote[] | null;
280
+ company_freight_comparatives: INestedFreightComparative[] | null;
281
+ company_freight_comparative_vehicles: INestedFreightComparativeVehicle[] | null;
282
+ company_fos: INestedFO[] | null;
283
+ company_fo_vehicles: INestedFOVehicle[] | null;
262
284
  }
263
- export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "item_questionnaire" | "rfq_questionnaire" | "rfq_questionnaire_answers" | "company_customer_categories" | "associated_customer" | "customer_management_bodies" | "qa_locations" | "accounts_locations" | "vendor_documents_manual_verification_by_company" | "erp_plugings_metadata" | "invoice" | "quality_clearance_documents" | "audits" | "approval_comments" | "vendor_logs"> {
285
+ export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "item_questionnaire" | "rfq_questionnaire" | "rfq_questionnaire_answers" | "company_customer_categories" | "associated_customer" | "customer_management_bodies" | "qa_locations" | "accounts_locations" | "vendor_documents_manual_verification_by_company" | "erp_plugings_metadata" | "invoice" | "quality_clearance_documents" | "audits" | "approval_comments" | "vendor_logs" | "transporter_documents_manual_verification_by_company" | "created_transporter_groups" | "vehicles" | "company_freight_quotes" | "company_freight_comparatives" | "company_freight_comparative_vehicles" | "company_fos" | "company_fo_vehicles"> {
264
286
  }
265
287
  export interface ICompanyVendorAdditionalInfoMappingConfig {
266
288
  additional_info_form_que_id: string;
@@ -87,6 +87,14 @@ var COMPANY_INCLUDE;
87
87
  COMPANY_INCLUDE["audits"] = "audits";
88
88
  COMPANY_INCLUDE["approval_comments"] = "approval_comments";
89
89
  COMPANY_INCLUDE["vendor_logs"] = "vendor_logs";
90
+ COMPANY_INCLUDE["transporter_documents_manual_verification_by_company"] = "transporter_documents_manual_verification_by_company";
91
+ COMPANY_INCLUDE["created_transporter_groups"] = "created_transporter_groups";
92
+ COMPANY_INCLUDE["vehicles"] = "vehicles";
93
+ COMPANY_INCLUDE["company_freight_quotes"] = "company_freight_quotes";
94
+ COMPANY_INCLUDE["company_freight_comparatives"] = "company_freight_comparatives";
95
+ COMPANY_INCLUDE["company_freight_comparative_vehicles"] = "company_freight_comparative_vehicles";
96
+ COMPANY_INCLUDE["company_fos"] = "company_fos";
97
+ COMPANY_INCLUDE["company_fo_vehicles"] = "company_fo_vehicles";
90
98
  })(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
91
99
  // export interface IUpdateVendorOnboardingRequestCategoriesInputs
92
100
  // extends Pick<ICompany, "vendor_onboarding_request_categories"> {}
@@ -0,0 +1,99 @@
1
+ import { IPaginationFilters } from "./common/paginationFilters.typings";
2
+ import { ITransporterDocumentManualVerificationByCompanyForMetafields } from "./common/transporterDocumentManualVerificationByCompany.typings";
3
+ import { INestedCompany } from "./company.typings";
4
+ import { INestedCompanyTransporterCategory } from "./companyTransporterCategory.typings";
5
+ import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
6
+ import { INestedFO } from "./freightOrder.typings";
7
+ import { INestedFRR } from "./frr.typings";
8
+ import { ITransporter } from "./transporter.typings";
9
+ import { INestedTransporterGroups } from "./transporterGroup.typings";
10
+ import { INestedUser } from "./user.typings";
11
+ export interface ICompanyTransporter {
12
+ id: string;
13
+ company_id: string;
14
+ transporter_id: string;
15
+ transporter_code: string | null;
16
+ company_form_status: COMPANY_FORM_STATUS_FOR_TRANSPORTER;
17
+ cancellation_remark: string | null;
18
+ status: COMPANY_TRANSPORTER_STATUS;
19
+ created_by_user_id: string | null;
20
+ last_updated_by_user_id: string | null;
21
+ sent_for_approval_by_user_id: string | null;
22
+ cancelled_by_user_id: string | null;
23
+ onboarded_by_id: string | null;
24
+ parent_company_transporter_category_id: string | null;
25
+ approved_at: string | null;
26
+ sent_for_approval_at: string | null;
27
+ cancelled_at: string | null;
28
+ onboarded_at: string | null;
29
+ is_enabled: boolean;
30
+ is_deleted: boolean;
31
+ deleted_at: string | null;
32
+ created_at: string;
33
+ updated_at: string;
34
+ company: INestedCompany | null;
35
+ transporter: ITransporter | null;
36
+ parent_company_transporter_category: INestedCompanyTransporterCategory | null;
37
+ created_by_user: INestedUser | null;
38
+ last_updated_by: INestedUser | null;
39
+ sent_for_approval_by_user: INestedUser | null;
40
+ cancelled_by_user: INestedUser | null;
41
+ onboarded_by_user: INestedUser | null;
42
+ approval_chain: INestedEntityApprovalChainEntry[] | null;
43
+ transporter_groups: INestedTransporterGroups[] | null;
44
+ frrs_sent: INestedFRR[] | null;
45
+ fos: INestedFO[] | null;
46
+ metafields: ICompanyTransporterMetafields | null;
47
+ }
48
+ export interface INestedCompanyTransporter extends Omit<ICompanyTransporter, "company" | "transporter" | "parent_company_transporter_category" | "created_by_user" | "last_updated_by" | "sent_for_approval_by_user" | "cancelled_by_user" | "onboarded_by_user" | "approval_chain" | "transporter_groups" | "frrs_sent" | "fos" | "metafields"> {
49
+ }
50
+ export declare enum COMPANY_TRANSPORTER_INCLUDE {
51
+ company = "company",
52
+ transporter = "transporter",
53
+ parent_company_transporter_category = "parent_company_transporter_category",
54
+ created_by_user = "created_by_user",
55
+ last_updated_by = "last_updated_by",
56
+ sent_for_approval_by_user = "sent_for_approval_by_user",
57
+ cancelled_by_user = "cancelled_by_user",
58
+ onboarded_by_user = "onboarded_by_user",
59
+ approval_chain = "approval_chain",
60
+ transporter_groups = "transporter_groups",
61
+ frrs_sent = "frrs_sent",
62
+ fos = "fos"
63
+ }
64
+ export declare enum COMPANY_FORM_STATUS_FOR_TRANSPORTER {
65
+ INVITED = "INVITED",
66
+ YET_TO_INVITE = "YET_TO_INVITE"
67
+ }
68
+ export declare enum COMPANY_TRANSPORTER_STATUS {
69
+ ONBOARDED = "ONBOARDED",
70
+ WAITLISTED = "WAITLISTED",
71
+ PENDING_APPROVAL = "PENDING_APPROVAL",
72
+ APPROVED = "APPROVED",
73
+ CANCELLED = "CANCELLED"
74
+ }
75
+ export declare enum COMPANY_TRANSPORTER_LIST_TYPE {
76
+ PENDING_WITH_ME = "PENDING_WITH_ME",
77
+ CREATED_BY_ME = "CREATED_BY_ME",
78
+ APPROVED_BY_ME = "APPROVED_BY_ME",
79
+ ALL = "ALL"
80
+ }
81
+ export interface ICompanyTransporterFilters {
82
+ name?: string;
83
+ ids?: string[];
84
+ pending_approval_step?: number | null;
85
+ /** @deprecated Use status_array instead*/
86
+ status?: COMPANY_TRANSPORTER_STATUS;
87
+ status_array?: COMPANY_TRANSPORTER_STATUS[];
88
+ list_type?: COMPANY_TRANSPORTER_LIST_TYPE;
89
+ include?: COMPANY_TRANSPORTER_INCLUDE[];
90
+ metafields_include?: COMPANY_TRANSPORTER_METAFIELDS_INCLUDE[];
91
+ }
92
+ export interface ICompanyTransporterFiltersWithPagination extends IPaginationFilters, ICompanyTransporterFilters {
93
+ }
94
+ export interface ICompanyTransporterMetafields {
95
+ manual_verification_records: ITransporterDocumentManualVerificationByCompanyForMetafields[] | null;
96
+ }
97
+ export declare enum COMPANY_TRANSPORTER_METAFIELDS_INCLUDE {
98
+ manual_verification_records = "manual_verification_records"
99
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COMPANY_TRANSPORTER_METAFIELDS_INCLUDE = exports.COMPANY_TRANSPORTER_LIST_TYPE = exports.COMPANY_TRANSPORTER_STATUS = exports.COMPANY_FORM_STATUS_FOR_TRANSPORTER = exports.COMPANY_TRANSPORTER_INCLUDE = void 0;
4
+ var COMPANY_TRANSPORTER_INCLUDE;
5
+ (function (COMPANY_TRANSPORTER_INCLUDE) {
6
+ COMPANY_TRANSPORTER_INCLUDE["company"] = "company";
7
+ COMPANY_TRANSPORTER_INCLUDE["transporter"] = "transporter";
8
+ COMPANY_TRANSPORTER_INCLUDE["parent_company_transporter_category"] = "parent_company_transporter_category";
9
+ COMPANY_TRANSPORTER_INCLUDE["created_by_user"] = "created_by_user";
10
+ COMPANY_TRANSPORTER_INCLUDE["last_updated_by"] = "last_updated_by";
11
+ COMPANY_TRANSPORTER_INCLUDE["sent_for_approval_by_user"] = "sent_for_approval_by_user";
12
+ COMPANY_TRANSPORTER_INCLUDE["cancelled_by_user"] = "cancelled_by_user";
13
+ COMPANY_TRANSPORTER_INCLUDE["onboarded_by_user"] = "onboarded_by_user";
14
+ COMPANY_TRANSPORTER_INCLUDE["approval_chain"] = "approval_chain";
15
+ COMPANY_TRANSPORTER_INCLUDE["transporter_groups"] = "transporter_groups";
16
+ COMPANY_TRANSPORTER_INCLUDE["frrs_sent"] = "frrs_sent";
17
+ COMPANY_TRANSPORTER_INCLUDE["fos"] = "fos";
18
+ })(COMPANY_TRANSPORTER_INCLUDE || (exports.COMPANY_TRANSPORTER_INCLUDE = COMPANY_TRANSPORTER_INCLUDE = {}));
19
+ var COMPANY_FORM_STATUS_FOR_TRANSPORTER;
20
+ (function (COMPANY_FORM_STATUS_FOR_TRANSPORTER) {
21
+ COMPANY_FORM_STATUS_FOR_TRANSPORTER["INVITED"] = "INVITED";
22
+ COMPANY_FORM_STATUS_FOR_TRANSPORTER["YET_TO_INVITE"] = "YET_TO_INVITE";
23
+ })(COMPANY_FORM_STATUS_FOR_TRANSPORTER || (exports.COMPANY_FORM_STATUS_FOR_TRANSPORTER = COMPANY_FORM_STATUS_FOR_TRANSPORTER = {}));
24
+ var COMPANY_TRANSPORTER_STATUS;
25
+ (function (COMPANY_TRANSPORTER_STATUS) {
26
+ COMPANY_TRANSPORTER_STATUS["ONBOARDED"] = "ONBOARDED";
27
+ COMPANY_TRANSPORTER_STATUS["WAITLISTED"] = "WAITLISTED";
28
+ COMPANY_TRANSPORTER_STATUS["PENDING_APPROVAL"] = "PENDING_APPROVAL";
29
+ COMPANY_TRANSPORTER_STATUS["APPROVED"] = "APPROVED";
30
+ COMPANY_TRANSPORTER_STATUS["CANCELLED"] = "CANCELLED";
31
+ })(COMPANY_TRANSPORTER_STATUS || (exports.COMPANY_TRANSPORTER_STATUS = COMPANY_TRANSPORTER_STATUS = {}));
32
+ var COMPANY_TRANSPORTER_LIST_TYPE;
33
+ (function (COMPANY_TRANSPORTER_LIST_TYPE) {
34
+ COMPANY_TRANSPORTER_LIST_TYPE["PENDING_WITH_ME"] = "PENDING_WITH_ME";
35
+ COMPANY_TRANSPORTER_LIST_TYPE["CREATED_BY_ME"] = "CREATED_BY_ME";
36
+ COMPANY_TRANSPORTER_LIST_TYPE["APPROVED_BY_ME"] = "APPROVED_BY_ME";
37
+ COMPANY_TRANSPORTER_LIST_TYPE["ALL"] = "ALL";
38
+ })(COMPANY_TRANSPORTER_LIST_TYPE || (exports.COMPANY_TRANSPORTER_LIST_TYPE = COMPANY_TRANSPORTER_LIST_TYPE = {}));
39
+ var COMPANY_TRANSPORTER_METAFIELDS_INCLUDE;
40
+ (function (COMPANY_TRANSPORTER_METAFIELDS_INCLUDE) {
41
+ COMPANY_TRANSPORTER_METAFIELDS_INCLUDE["manual_verification_records"] = "manual_verification_records";
42
+ })(COMPANY_TRANSPORTER_METAFIELDS_INCLUDE || (exports.COMPANY_TRANSPORTER_METAFIELDS_INCLUDE = COMPANY_TRANSPORTER_METAFIELDS_INCLUDE = {}));
@@ -0,0 +1,27 @@
1
+ import { INestedApprovalConfig } from "./approvalConfig.typings";
2
+ import { INestedCompany } from "./company.typings";
3
+ import { INestedUser } from "./user.typings";
4
+ export interface ICompanyTransporterCategory {
5
+ id: string;
6
+ company_id: string;
7
+ created_by_user_id: string;
8
+ last_updated_by_user_id: string;
9
+ category_name: string;
10
+ category_code: string;
11
+ is_deleted: boolean;
12
+ deleted_at: string | null;
13
+ created_at: string;
14
+ updated_at: string;
15
+ company: INestedCompany | null;
16
+ created_by_user: INestedUser | null;
17
+ updated_by_user: INestedUser | null;
18
+ approval_configs: INestedApprovalConfig[] | null;
19
+ }
20
+ export interface INestedCompanyTransporterCategory extends Omit<ICompanyTransporterCategory, "company" | "created_by_user" | "updated_by_user" | "approval_configs"> {
21
+ }
22
+ export declare enum COMPANY_TRANSPORTER_CATEGORY_INCLUDE {
23
+ company = "company",
24
+ created_by_user = "created_by_user",
25
+ updated_by_user = "updated_by_user",
26
+ approval_configs = "approval_configs"
27
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COMPANY_TRANSPORTER_CATEGORY_INCLUDE = void 0;
4
+ var COMPANY_TRANSPORTER_CATEGORY_INCLUDE;
5
+ (function (COMPANY_TRANSPORTER_CATEGORY_INCLUDE) {
6
+ COMPANY_TRANSPORTER_CATEGORY_INCLUDE["company"] = "company";
7
+ COMPANY_TRANSPORTER_CATEGORY_INCLUDE["created_by_user"] = "created_by_user";
8
+ COMPANY_TRANSPORTER_CATEGORY_INCLUDE["updated_by_user"] = "updated_by_user";
9
+ COMPANY_TRANSPORTER_CATEGORY_INCLUDE["approval_configs"] = "approval_configs";
10
+ })(COMPANY_TRANSPORTER_CATEGORY_INCLUDE || (exports.COMPANY_TRANSPORTER_CATEGORY_INCLUDE = COMPANY_TRANSPORTER_CATEGORY_INCLUDE = {}));
@@ -1,5 +1,6 @@
1
1
  import { IPaginationFilters } from "./common/paginationFilters.typings";
2
2
  import { INestedCompany } from "./company.typings";
3
+ import { INestedFO } from "./freightOrder.typings";
3
4
  import { INestedIndent } from "./indent.typings";
4
5
  import { INestedMI } from "./mi.typings";
5
6
  import { INestedPo } from "./company/masters/po.typings";
@@ -10,7 +11,8 @@ export declare enum CONTACT_PEOPLE_INCLUDE {
10
11
  company = "company",
11
12
  referred_pos = "referred_pos",
12
13
  indent_created_for_person = "indent_created_for_person",
13
- mis_issued_for_person = "mis_issued_for_person"
14
+ mis_issued_for_person = "mis_issued_for_person",
15
+ referred_fos = "referred_fos"
14
16
  }
15
17
  export interface IContactPeople {
16
18
  id: string;
@@ -32,8 +34,9 @@ export interface IContactPeople {
32
34
  updated_by_user: INestedUser | null;
33
35
  company: INestedCompany | null;
34
36
  referred_pos: INestedPo[] | null;
37
+ referred_fos: INestedFO[] | null;
35
38
  }
36
- export interface INestedContactPeople extends Omit<IContactPeople, "created_by_user" | "updated_by_user" | "company" | "referred_pos" | "indent_created_for_person" | "mis_issued_for_person"> {
39
+ export interface INestedContactPeople extends Omit<IContactPeople, "created_by_user" | "updated_by_user" | "company" | "referred_pos" | "indent_created_for_person" | "mis_issued_for_person" | "referred_fos"> {
37
40
  }
38
41
  export interface IContactPeopleFilters extends Partial<Pick<IContactPeople, "is_enabled">> {
39
42
  name?: string;
@@ -9,6 +9,7 @@ var CONTACT_PEOPLE_INCLUDE;
9
9
  CONTACT_PEOPLE_INCLUDE["referred_pos"] = "referred_pos";
10
10
  CONTACT_PEOPLE_INCLUDE["indent_created_for_person"] = "indent_created_for_person";
11
11
  CONTACT_PEOPLE_INCLUDE["mis_issued_for_person"] = "mis_issued_for_person";
12
+ CONTACT_PEOPLE_INCLUDE["referred_fos"] = "referred_fos";
12
13
  })(CONTACT_PEOPLE_INCLUDE || (exports.CONTACT_PEOPLE_INCLUDE = CONTACT_PEOPLE_INCLUDE = {}));
13
14
  // updates for lable change on FE
14
15
  var CONTACT_PERSON_TYPE;
@@ -15,6 +15,7 @@ import { INestedCompany } from "./company.typings";
15
15
  import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
16
16
  import { INestedCustomerManagementBody } from "./company/masters/customerManagementBody.typings";
17
17
  import { INestedItemManagementBody } from "./company/masters/itemManagementbody.typings";
18
+ import { INestedTransporterManagementBody } from "./company/masters/transporterManagementBody.typings";
18
19
  import { INestedVendorManagementBody } from "./company/masters/vendorManagementBody.typings";
19
20
  import { INestedVendorOnboardingRequest } from "./company/vendorOnboardingRequest/vendorOnboardingRequest.typing";
20
21
  import { INestedGate } from "./gate.typings";
@@ -31,7 +32,7 @@ import { INestedRFQ } from "./rfq.typings";
31
32
  import { INestedRole } from "./roles.typings";
32
33
  import { INestedStoreLocation } from "./storeLocation.typings";
33
34
  import { INestedUser } from "./user.typings";
34
- export interface IDepartmentFilters extends Partial<Pick<IDepartment, "office_id" | "store_location_id" | "purchase_location_id" | "gate_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id" | "customer_management_body_id" | "accounts_location_id" | "qa_location_id" | "audits_id">> {
35
+ export interface IDepartmentFilters extends Partial<Pick<IDepartment, "office_id" | "store_location_id" | "purchase_location_id" | "gate_id" | "vendor_management_body_id" | "item_management_body_id" | "checkpoint_id" | "customer_management_body_id" | "accounts_location_id" | "qa_location_id" | "audits_id" | "transporter_management_body_id">> {
35
36
  name?: string;
36
37
  type?: EntityTypes;
37
38
  include?: DepartmentInclude[];
@@ -58,6 +59,7 @@ export interface IDepartment {
58
59
  qa_location_id?: string | null;
59
60
  accounts_location_id?: string | null;
60
61
  audits_id?: string | null;
62
+ transporter_management_body_id?: string | null;
61
63
  department_name: string;
62
64
  department_code: string;
63
65
  created_by_id: string;
@@ -98,8 +100,9 @@ export interface IDepartment {
98
100
  qa_location: INestedQALocation | null;
99
101
  accounts_location: INestedAccountsLocation | null;
100
102
  audits: INestedAudits | null;
103
+ parent_transporter_management_body: INestedTransporterManagementBody | null;
101
104
  }
102
- export interface INestedDepartment extends Omit<IDepartment, "company" | "hod" | "parent_office" | "parent_store_location" | "parent_purchase_location" | "parent_gate" | "indents" | "mis" | "subdepartments" | "roles" | "grns" | "mrns" | "prs" | "rfqs" | "pos" | "asns" | "comparatives" | "istds" | "ves" | "company_vendors" | "company_customers" | "items" | "qcds" | "parent_vendor_management_body" | "vendor_onboarding_requests" | "approval_configs" | "parent_item_management_body" | "parent_checkpoint" | "parent_customer_management_body" | "qa_location" | "accounts_location" | "audits"> {
105
+ export interface INestedDepartment extends Omit<IDepartment, "company" | "hod" | "parent_office" | "parent_store_location" | "parent_purchase_location" | "parent_gate" | "indents" | "mis" | "subdepartments" | "roles" | "grns" | "mrns" | "prs" | "rfqs" | "pos" | "asns" | "comparatives" | "istds" | "ves" | "company_vendors" | "company_customers" | "items" | "qcds" | "parent_vendor_management_body" | "vendor_onboarding_requests" | "approval_configs" | "parent_item_management_body" | "parent_checkpoint" | "parent_customer_management_body" | "qa_location" | "accounts_location" | "audits" | "parent_transporter_management_body"> {
103
106
  }
104
107
  export declare enum DepartmentInclude {
105
108
  company = "company",
@@ -133,7 +136,8 @@ export declare enum DepartmentInclude {
133
136
  parent_customer_management_body = "parent_customer_management_body",
134
137
  qa_location = "qa_location",
135
138
  accounts_location = "accounts_location",
136
- audits = "audits"
139
+ audits = "audits",
140
+ parent_transporter_management_body = "parent_transporter_management_body"
137
141
  }
138
142
  export interface ISubDepartment {
139
143
  id: string;
@@ -35,4 +35,5 @@ var DepartmentInclude;
35
35
  DepartmentInclude["qa_location"] = "qa_location";
36
36
  DepartmentInclude["accounts_location"] = "accounts_location";
37
37
  DepartmentInclude["audits"] = "audits";
38
+ DepartmentInclude["parent_transporter_management_body"] = "parent_transporter_management_body";
38
39
  })(DepartmentInclude || (exports.DepartmentInclude = DepartmentInclude = {}));
@@ -21,6 +21,10 @@ import { INestedCompanyCustomer } from "./companyCustomer.typings";
21
21
  import { INestedQualityClearanceDocument } from "./qcd.typings";
22
22
  import { INestedInvoiceMatchingRecordChangelog } from "./company/masters/imr.typings";
23
23
  import { INestedEntityApprovalChainEntryLog } from "./entityApprovalChainEntryLog.typings";
24
+ import { INestedCompanyTransporter } from "./companyTransporter.typings";
25
+ import { INestedFreightComparative } from "./freightComparative.typings";
26
+ import { INestedFRR } from "./frr.typings";
27
+ import { INestedFO } from "./freightOrder.typings";
24
28
  export declare enum ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS {
25
29
  INDENT = "INDENT",
26
30
  PR = "PR",
@@ -40,7 +44,11 @@ export declare enum ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS {
40
44
  SUB_PO = "SUB_PO",
41
45
  COMPANY_CUSTOMER = "COMPANY_CUSTOMER",
42
46
  INVOICE_MATCHING_RECORD = "INVOICE_MATCHING_RECORD",
43
- QUALITY_CLEARANCE_DOCUMENT = "QUALITY_CLEARANCE_DOCUMENT"
47
+ QUALITY_CLEARANCE_DOCUMENT = "QUALITY_CLEARANCE_DOCUMENT",
48
+ TRANSPORTER_MASTER = "TRANSPORTER_MASTER",
49
+ FREIGHT_RATE_REQUEST = "FREIGHT_RATE_REQUEST",
50
+ FREIGHT_COMPARATIVE = "FREIGHT_COMPARATIVE",
51
+ FREIGHT_ORDER = "FREIGHT_ORDER"
44
52
  }
45
53
  export declare enum ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES {
46
54
  company = "company",
@@ -69,7 +77,11 @@ export declare enum ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES {
69
77
  for_audits_approval_of_imr = "for_audits_approval_of_imr",
70
78
  for_accounts_approval_of_imr = "for_accounts_approval_of_imr",
71
79
  imr_changelogs = "imr_changelogs",
72
- logs = "logs"
80
+ logs = "logs",
81
+ company_transporter = "company_transporter",
82
+ frr = "frr",
83
+ freight_comparative = "freight_comparative",
84
+ fo = "fo"
73
85
  }
74
86
  export interface IEntityApprovalChainEntry {
75
87
  id: string;
@@ -97,6 +109,7 @@ export interface IEntityApprovalChainEntry {
97
109
  company_vendor_id?: string | null;
98
110
  ves_id?: string | null;
99
111
  company_distibutor_id?: string | null;
112
+ fo_id?: string | null;
100
113
  for_qa_approval_of_imr_id?: string | null;
101
114
  for_audits_approval_of_imr_id?: string | null;
102
115
  for_accounts_approval_of_imr_id?: string | null;
@@ -107,6 +120,9 @@ export interface IEntityApprovalChainEntry {
107
120
  created_at: string | null;
108
121
  updated_at: string | null;
109
122
  asn_id: string | null;
123
+ company_transporter_id: string | null;
124
+ frr_id?: string | null;
125
+ freight_comparative_id?: string | null;
110
126
  company?: INestedCompany | null;
111
127
  user?: INestedUser | null;
112
128
  role?: INestedRole | null;
@@ -129,11 +145,15 @@ export interface IEntityApprovalChainEntry {
129
145
  asn: INestedASN | null;
130
146
  company_customer?: INestedCompanyCustomer | null;
131
147
  parent_qcd: INestedQualityClearanceDocument | null;
148
+ company_transporter: INestedCompanyTransporter | null;
149
+ frr?: INestedFRR | null;
150
+ freight_comparative?: INestedFreightComparative | null;
151
+ fo?: INestedFO | null;
132
152
  for_qa_approval_of_imr: INestedEntityApprovalChainEntry[] | null;
133
153
  for_audits_approval_of_imr: INestedEntityApprovalChainEntry[] | null;
134
154
  for_accounts_approval_of_imr: INestedEntityApprovalChainEntry[] | null;
135
155
  imr_changelogs: INestedInvoiceMatchingRecordChangelog[] | null;
136
156
  logs: INestedEntityApprovalChainEntryLog[] | null;
137
157
  }
138
- export interface INestedEntityApprovalChainEntry extends Omit<IEntityApprovalChainEntry, "company" | "user" | "role" | "indent" | "mi" | "pr" | "rfq" | "comparative" | "po" | "sub_po" | "grn" | "mrn" | "source_istd" | "dest_istd" | "vendor_onboarding_request" | "company_vendor" | "vendor_onboarding_request_scores" | "item" | "asn" | "ves" | "company_customer" | "parent_qcd" | "for_qa_approval_of_imr" | "for_audits_approval_of_imr" | "for_accounts_approval_of_imr" | "imr_changelogs" | "logs"> {
158
+ export interface INestedEntityApprovalChainEntry extends Omit<IEntityApprovalChainEntry, "company" | "user" | "role" | "indent" | "mi" | "pr" | "rfq" | "comparative" | "po" | "sub_po" | "grn" | "mrn" | "source_istd" | "dest_istd" | "vendor_onboarding_request" | "company_vendor" | "vendor_onboarding_request_scores" | "item" | "asn" | "ves" | "company_customer" | "parent_qcd" | "for_qa_approval_of_imr" | "for_audits_approval_of_imr" | "for_accounts_approval_of_imr" | "imr_changelogs" | "logs" | "company_transporter" | "frr" | "freight_comparative"> {
139
159
  }
@@ -22,6 +22,10 @@ var ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS;
22
22
  ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["COMPANY_CUSTOMER"] = "COMPANY_CUSTOMER";
23
23
  ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["INVOICE_MATCHING_RECORD"] = "INVOICE_MATCHING_RECORD";
24
24
  ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["QUALITY_CLEARANCE_DOCUMENT"] = "QUALITY_CLEARANCE_DOCUMENT";
25
+ ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["TRANSPORTER_MASTER"] = "TRANSPORTER_MASTER";
26
+ ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["FREIGHT_RATE_REQUEST"] = "FREIGHT_RATE_REQUEST";
27
+ ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["FREIGHT_COMPARATIVE"] = "FREIGHT_COMPARATIVE";
28
+ ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS["FREIGHT_ORDER"] = "FREIGHT_ORDER";
25
29
  })(ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS || (exports.ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS = ENTITY_APPROVAL_CHAIN_ENTRY_PARENT_DOCS = {}));
26
30
  var ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES;
27
31
  (function (ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES) {
@@ -52,4 +56,8 @@ var ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES;
52
56
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["for_accounts_approval_of_imr"] = "for_accounts_approval_of_imr";
53
57
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["imr_changelogs"] = "imr_changelogs";
54
58
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["logs"] = "logs";
59
+ ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["company_transporter"] = "company_transporter";
60
+ ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["frr"] = "frr";
61
+ ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["freight_comparative"] = "freight_comparative";
62
+ ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["fo"] = "fo";
55
63
  })(ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES || (exports.ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES = ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES = {}));
@@ -0,0 +1,97 @@
1
+ import { INestedCompany } from "./company.typings";
2
+ import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
3
+ import { INestedFreightComparativeEarlyAccessRequest } from "./freightComparativeEarlyAccessRequests.typings";
4
+ import { INestedFreightComparativeVehiclesQuantitySplit } from "./freightComparativeVehiclesQuantitySplit.typings";
5
+ import { INestedFO, INestedFOVehicle } from "./freightOrder.typings";
6
+ import { INestedFRR, INestedFRRVehicle } from "./frr.typings";
7
+ import { INestedFreightQuote, INestedFreightQuoteVehicle } from "./freightQuote.typings";
8
+ import { INestedUser } from "./user.typings";
9
+ import { INestedVehicle } from "./vehicle.typings";
10
+ export declare enum FREIGHT_COMPARATIVE_STATUS {
11
+ DRAFT = "DRAFT",
12
+ PENDING_APPROVAL = "PENDING_APPROVAL",
13
+ APPROVED = "APPROVED",
14
+ PROCESSING = "PROCESSING",
15
+ CLOSED = "CLOSED",
16
+ CANCELLED = "CANCELLED",
17
+ PROCESSED = "PROCESSED"
18
+ }
19
+ export declare enum FREIGHT_COMPARATIVE_INCLUDE {
20
+ company = "company",
21
+ parent_frr = "parent_frr",
22
+ sent_for_approval_by_user = "sent_for_approval_by_user",
23
+ freight_quotes = "freight_quotes",
24
+ approval_chain = "approval_chain",
25
+ vehicles = "vehicles",
26
+ freight_comparative_vehicles_quantity_splits = "freight_comparative_vehicles_quantity_splits",
27
+ early_view_access_requests = "early_view_access_requests",
28
+ child_fos = "child_fos"
29
+ }
30
+ export interface IFreightComparative {
31
+ id: string;
32
+ company_id: string;
33
+ parent_frr_id: string;
34
+ savings: number | null;
35
+ sent_for_approval_by_user_id: string | null;
36
+ status: FREIGHT_COMPARATIVE_STATUS;
37
+ is_approved: boolean;
38
+ is_deleted: boolean;
39
+ deleted_at: string | null;
40
+ sent_for_approval_at: string | null;
41
+ approved_at: string | null;
42
+ created_at: string | null;
43
+ updated_at: string | null;
44
+ company: INestedCompany | null;
45
+ parent_frr: INestedFRR | null;
46
+ sent_for_approval_by_user: INestedUser | null;
47
+ freight_quotes: INestedFreightQuote[] | null;
48
+ approval_chain: INestedEntityApprovalChainEntry[] | null;
49
+ vehicles: INestedFreightComparativeVehicle[] | null;
50
+ freight_comparative_vehicles_quantity_splits: INestedFreightComparativeVehiclesQuantitySplit[] | null;
51
+ early_view_access_requests: INestedFreightComparativeEarlyAccessRequest[] | null;
52
+ child_fos: INestedFO[] | null;
53
+ metafields: IFreightComparativeMetafields | null;
54
+ }
55
+ export interface IFreightComparativeMetafields {
56
+ frr_vehicle_data: INestedFRRVehicle[] | null;
57
+ early_access_user_data: INestedUser[] | null;
58
+ freight_quote_vehicles: INestedFreightQuoteVehicle[] | null;
59
+ }
60
+ export interface INestedFreightComparative extends Omit<IFreightComparative, "company" | "parent_frr" | "sent_for_approval_by_user" | "freight_quotes" | "approval_chain" | "vehicles" | "freight_comparative_vehicles_quantity_splits" | "early_view_access_requests" | "metafields" | "child_fos"> {
61
+ }
62
+ export declare enum FREIGHT_COMPARATIVE_METAFIELDS_INCLUDE {
63
+ frr_vehicle_data = "frr_vehicle_data",
64
+ early_access_user_data = "early_access_user_data",
65
+ freight_quote_vehicles = "freight_quote_vehicles"
66
+ }
67
+ export interface IFreightComparativeFilters {
68
+ frr_id?: string;
69
+ status?: FREIGHT_COMPARATIVE_STATUS;
70
+ company_id?: string;
71
+ include?: FREIGHT_COMPARATIVE_INCLUDE[];
72
+ metafields_include?: FREIGHT_COMPARATIVE_METAFIELDS_INCLUDE[];
73
+ }
74
+ export declare enum FREIGHT_COMPARATIVE_VEHICLE_INCLUDE {
75
+ company = "company",
76
+ freight_comparative = "freight_comparative",
77
+ vehicle = "vehicle",
78
+ freight_quote_vehicles = "freight_quote_vehicles",
79
+ fo_vehicles = "fo_vehicles"
80
+ }
81
+ export interface IFreightComparativeVehicle {
82
+ id: string;
83
+ vehicle_id: string;
84
+ freight_comparative_id: string;
85
+ company_id: string;
86
+ is_deleted: boolean;
87
+ deleted_at: string | null;
88
+ created_at: string;
89
+ updated_at: string;
90
+ company: INestedCompany | null;
91
+ freight_comparative: INestedFreightComparative | null;
92
+ vehicle: INestedVehicle | null;
93
+ freight_quote_vehicles: INestedFreightQuoteVehicle[] | null;
94
+ fo_vehicles: INestedFOVehicle[] | null;
95
+ }
96
+ export interface INestedFreightComparativeVehicle extends Omit<IFreightComparativeVehicle, "company" | "freight_comparative" | "vehicle" | "freight_quote_vehicles" | "fo_vehicles"> {
97
+ }