@nerdjs/sales-kit 2.4.31 → 2.4.33

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 (215) hide show
  1. package/dist/entities/accessorialV1/accessorialV1.d.ts +11 -0
  2. package/dist/entities/accessorialV1/accessorialV1.js +40 -0
  3. package/dist/entities/accessorialV1/accessorialV1.js.map +1 -0
  4. package/dist/entities/accessorialV1/helper.d.ts +5 -0
  5. package/dist/entities/accessorialV1/helper.js +16 -0
  6. package/dist/entities/accessorialV1/helper.js.map +1 -0
  7. package/dist/entities/accessorialV1/index.d.ts +2 -0
  8. package/dist/entities/accessorialV1/index.js +3 -0
  9. package/dist/entities/accessorialV1/index.js.map +1 -0
  10. package/dist/entities/assetType/assetType.d.ts +8 -0
  11. package/dist/entities/assetType/assetType.js +33 -0
  12. package/dist/entities/assetType/assetType.js.map +1 -0
  13. package/dist/entities/assetType/helper.d.ts +5 -0
  14. package/dist/entities/assetType/helper.js +16 -0
  15. package/dist/entities/assetType/helper.js.map +1 -0
  16. package/dist/entities/assetType/index.d.ts +2 -0
  17. package/dist/entities/assetType/index.js +3 -0
  18. package/dist/entities/assetType/index.js.map +1 -0
  19. package/dist/entities/attributeField/attributeField.d.ts +9 -0
  20. package/dist/entities/attributeField/attributeField.js +35 -0
  21. package/dist/entities/attributeField/attributeField.js.map +1 -0
  22. package/dist/entities/attributeField/helper.d.ts +5 -0
  23. package/dist/entities/attributeField/helper.js +16 -0
  24. package/dist/entities/attributeField/helper.js.map +1 -0
  25. package/dist/entities/attributeField/index.d.ts +2 -0
  26. package/dist/entities/attributeField/index.js +3 -0
  27. package/dist/entities/attributeField/index.js.map +1 -0
  28. package/dist/entities/customerTrailer/customerTrailer.d.ts +8 -0
  29. package/dist/entities/customerTrailer/customerTrailer.js +33 -0
  30. package/dist/entities/customerTrailer/customerTrailer.js.map +1 -0
  31. package/dist/entities/customerTrailer/helper.d.ts +5 -0
  32. package/dist/entities/customerTrailer/helper.js +16 -0
  33. package/dist/entities/customerTrailer/helper.js.map +1 -0
  34. package/dist/entities/customerTrailer/index.d.ts +2 -0
  35. package/dist/entities/customerTrailer/index.js +3 -0
  36. package/dist/entities/customerTrailer/index.js.map +1 -0
  37. package/dist/entities/customerV1/customerV1.d.ts +1 -0
  38. package/dist/entities/customerV1/customerV1.js +2 -0
  39. package/dist/entities/customerV1/customerV1.js.map +1 -1
  40. package/dist/entities/customersPerson/customersPerson.d.ts +17 -0
  41. package/dist/entities/customersPerson/customersPerson.js +49 -0
  42. package/dist/entities/customersPerson/customersPerson.js.map +1 -0
  43. package/dist/entities/customersPerson/helper.d.ts +5 -0
  44. package/dist/entities/customersPerson/helper.js +16 -0
  45. package/dist/entities/customersPerson/helper.js.map +1 -0
  46. package/dist/entities/customersPerson/index.d.ts +2 -0
  47. package/dist/entities/customersPerson/index.js +3 -0
  48. package/dist/entities/customersPerson/index.js.map +1 -0
  49. package/dist/entities/defaultSetting/defaultSetting.d.ts +9 -0
  50. package/dist/entities/defaultSetting/defaultSetting.js +35 -0
  51. package/dist/entities/defaultSetting/defaultSetting.js.map +1 -0
  52. package/dist/entities/defaultSetting/helper.d.ts +5 -0
  53. package/dist/entities/defaultSetting/helper.js +16 -0
  54. package/dist/entities/defaultSetting/helper.js.map +1 -0
  55. package/dist/entities/defaultSetting/index.d.ts +2 -0
  56. package/dist/entities/defaultSetting/index.js +3 -0
  57. package/dist/entities/defaultSetting/index.js.map +1 -0
  58. package/dist/entities/index.d.ts +110 -104
  59. package/dist/entities/index.js +110 -104
  60. package/dist/entities/index.js.map +1 -1
  61. package/dist/entities/otrDispatch/otrDispatch.d.ts +1 -0
  62. package/dist/entities/otrDispatch/otrDispatch.js +1 -0
  63. package/dist/entities/otrDispatch/otrDispatch.js.map +1 -1
  64. package/dist/entities/otrDispatchV1/otrDispatchV1.d.ts +1 -0
  65. package/dist/entities/otrDispatchV1/otrDispatchV1.js +1 -0
  66. package/dist/entities/otrDispatchV1/otrDispatchV1.js.map +1 -1
  67. package/dist/hooks/lep/lepAccessorials.js +4 -2
  68. package/dist/hooks/lep/lepAccessorials.js.map +1 -1
  69. package/dist/hooks/lep/lepCustomersAccessorials.js +5 -4
  70. package/dist/hooks/lep/lepCustomersAccessorials.js.map +1 -1
  71. package/dist/hooks/locationsForm/locationFormSales/locationAccessorialsList.js +10 -7
  72. package/dist/hooks/locationsForm/locationFormSales/locationAccessorialsList.js.map +1 -1
  73. package/dist/redux/accessorialV1/accessorialV1Endpoints.d.ts +37 -0
  74. package/dist/redux/accessorialV1/accessorialV1Endpoints.js +64 -0
  75. package/dist/redux/accessorialV1/accessorialV1Endpoints.js.map +1 -0
  76. package/dist/redux/accessorialV1/index.d.ts +2 -0
  77. package/dist/redux/accessorialV1/index.js +3 -0
  78. package/dist/redux/accessorialV1/index.js.map +1 -0
  79. package/dist/redux/api/salesApi.d.ts +1 -1
  80. package/dist/redux/api/salesApi.js +12 -3
  81. package/dist/redux/api/salesApi.js.map +1 -1
  82. package/dist/redux/apiTender/apiTenderEndpoints.d.ts +10 -10
  83. package/dist/redux/appointmentArrival/appointmentArrivalEndpoints.d.ts +12 -12
  84. package/dist/redux/appointmentIssue/appointmentIssueEndpoints.d.ts +10 -10
  85. package/dist/redux/appointmentIssueCategory/appointmentIssueCategoryEndpoints.d.ts +11 -11
  86. package/dist/redux/appointmentIssueSubcategory/appointmentIssueSubcategoryEndpoints.d.ts +10 -10
  87. package/dist/redux/appointmentNote/appointmentNoteEndpoints.d.ts +10 -10
  88. package/dist/redux/appointmentNoteType/appointmentNoteTypeEndpoints.d.ts +10 -10
  89. package/dist/redux/appointmentTrip/appointmentTripEndpoints.d.ts +10 -10
  90. package/dist/redux/archerFile/archerFileEndpoints.d.ts +15 -15
  91. package/dist/redux/area/areaEndpoints.d.ts +9 -9
  92. package/dist/redux/asset/assetEndpoints.d.ts +12 -12
  93. package/dist/redux/assetType/assetTypeEndpoints.d.ts +29 -0
  94. package/dist/redux/assetType/assetTypeEndpoints.js +64 -0
  95. package/dist/redux/assetType/assetTypeEndpoints.js.map +1 -0
  96. package/dist/redux/assetType/index.d.ts +2 -0
  97. package/dist/redux/assetType/index.js +3 -0
  98. package/dist/redux/assetType/index.js.map +1 -0
  99. package/dist/redux/attributeField/attributeFieldEndpoints.d.ts +29 -0
  100. package/dist/redux/attributeField/attributeFieldEndpoints.js +64 -0
  101. package/dist/redux/attributeField/attributeFieldEndpoints.js.map +1 -0
  102. package/dist/redux/attributeField/index.d.ts +2 -0
  103. package/dist/redux/attributeField/index.js +3 -0
  104. package/dist/redux/attributeField/index.js.map +1 -0
  105. package/dist/redux/billingKickback/billingKickbackEndpoints.d.ts +11 -11
  106. package/dist/redux/billingKickbackResponse/billingKickbackResponseEndpoints.d.ts +10 -10
  107. package/dist/redux/billingKickbackResponseAccessorial/billingKickbackResponseAccessorialEndpoints.d.ts +10 -10
  108. package/dist/redux/billingMessage/billingMessageEndpoints.d.ts +9 -9
  109. package/dist/redux/billingNote/billingNoteEndpoints.d.ts +10 -10
  110. package/dist/redux/cargoConsolidation/cargoConsolidationEndpoints.d.ts +19 -19
  111. package/dist/redux/cargoConsolidationCommodityPiece/cargoConsolidationCommodityPieceEndpoints.d.ts +10 -10
  112. package/dist/redux/carrier/carrierEndpoints.d.ts +21 -21
  113. package/dist/redux/carrierInsurance/carrierInsuranceEndpoints.d.ts +10 -10
  114. package/dist/redux/carrierName/carrierNameEndpoints.d.ts +12 -12
  115. package/dist/redux/carrierPayContract/carrierPayContractEndpoints.d.ts +11 -11
  116. package/dist/redux/carrierTender/carrierTenderEndpoints.d.ts +10 -10
  117. package/dist/redux/carrierTenderAccessorial/carrierTenderAccessorialEndpoints.d.ts +10 -10
  118. package/dist/redux/carrierTenderDeduction/carrierTenderDeductionEndpoints.d.ts +10 -10
  119. package/dist/redux/carrierTenderEdge/carrierTenderEdgeEndpoints.d.ts +9 -9
  120. package/dist/redux/carrierTenderV1/carrierTenderV1Endpoints.d.ts +20 -20
  121. package/dist/redux/claim/claimEndpoints.d.ts +16 -16
  122. package/dist/redux/claimStatus/claimStatusEndpoints.d.ts +9 -9
  123. package/dist/redux/commodity/commodityEndpoints.d.ts +10 -10
  124. package/dist/redux/commodityV1/commodityV1Endpoints.d.ts +11 -11
  125. package/dist/redux/companyLocation/companyLocationEndpoints.d.ts +10 -10
  126. package/dist/redux/contact/contactEndpoints.d.ts +10 -10
  127. package/dist/redux/contract/contractEndpoints.d.ts +10 -10
  128. package/dist/redux/contractsRecord/contractsRecordEndpoints.d.ts +12 -12
  129. package/dist/redux/creditTerm/creditTermEndpoints.d.ts +9 -9
  130. package/dist/redux/customer/customerEndpoints.d.ts +25 -22
  131. package/dist/redux/customer/customerEndpoints.js +22 -1
  132. package/dist/redux/customer/customerEndpoints.js.map +1 -1
  133. package/dist/redux/customerContract/customerContractEndpoints.d.ts +10 -10
  134. package/dist/redux/customerTrailer/customerTrailerEndpoints.d.ts +37 -0
  135. package/dist/redux/customerTrailer/customerTrailerEndpoints.js +65 -0
  136. package/dist/redux/customerTrailer/customerTrailerEndpoints.js.map +1 -0
  137. package/dist/redux/customerTrailer/index.d.ts +2 -0
  138. package/dist/redux/customerTrailer/index.js +3 -0
  139. package/dist/redux/customerTrailer/index.js.map +1 -0
  140. package/dist/redux/customersAccessorial/customersAccessorialEndpoints.d.ts +9 -9
  141. package/dist/redux/customersAccessorial/customersAccessorialEndpoints.js +9 -2
  142. package/dist/redux/customersAccessorial/customersAccessorialEndpoints.js.map +1 -1
  143. package/dist/redux/customersPerson/customersPersonEndpoints.d.ts +37 -0
  144. package/dist/redux/customersPerson/customersPersonEndpoints.js +65 -0
  145. package/dist/redux/customersPerson/customersPersonEndpoints.js.map +1 -0
  146. package/dist/redux/customersPerson/index.d.ts +2 -0
  147. package/dist/redux/customersPerson/index.js +3 -0
  148. package/dist/redux/customersPerson/index.js.map +1 -0
  149. package/dist/redux/deduction/deductionEndpoints.d.ts +9 -9
  150. package/dist/redux/defaultSetting/defaultSettingEndpoints.d.ts +37 -0
  151. package/dist/redux/defaultSetting/defaultSettingEndpoints.js +64 -0
  152. package/dist/redux/defaultSetting/defaultSettingEndpoints.js.map +1 -0
  153. package/dist/redux/defaultSetting/index.d.ts +2 -0
  154. package/dist/redux/defaultSetting/index.js +3 -0
  155. package/dist/redux/defaultSetting/index.js.map +1 -0
  156. package/dist/redux/departmentPhone/departmentPhoneEndpoints.d.ts +10 -10
  157. package/dist/redux/dispatch/dispatchEndpoints.d.ts +10 -10
  158. package/dist/redux/driver/driverEndpoints.d.ts +10 -10
  159. package/dist/redux/driverName/driverNameEndpoints.d.ts +9 -9
  160. package/dist/redux/driverV1/driverV1Endpoints.d.ts +9 -9
  161. package/dist/redux/ediAccount/ediAccountEndpoints.d.ts +10 -10
  162. package/dist/redux/ediLoadTender/ediLoadTenderEndpoints.d.ts +10 -10
  163. package/dist/redux/employeeName/employeeNameEndpoints.d.ts +9 -9
  164. package/dist/redux/flag/flagEndpoints.d.ts +9 -9
  165. package/dist/redux/generalLedgerAccount/generalLedgerAccountEndpoints.d.ts +10 -10
  166. package/dist/redux/genericTender/genericTenderEndpoints.d.ts +12 -12
  167. package/dist/redux/holiday/holidayEndpoints.d.ts +10 -10
  168. package/dist/redux/index.d.ts +79 -73
  169. package/dist/redux/index.js +79 -73
  170. package/dist/redux/index.js.map +1 -1
  171. package/dist/redux/invoice/invoiceEndpoints.d.ts +10 -10
  172. package/dist/redux/invoiceAdjustment/invoiceAdjustmentEndpoints.d.ts +10 -10
  173. package/dist/redux/invoiceV1/invoiceV1Endpoints.d.ts +19 -19
  174. package/dist/redux/load/loadEndpoints.d.ts +12 -12
  175. package/dist/redux/loadAdjustment/loadAdjustmentEndpoints.d.ts +10 -10
  176. package/dist/redux/loadAdjustmentV1/loadAdjustmentV1Endpoints.d.ts +10 -10
  177. package/dist/redux/loadTender/loadTenderEndpoints.d.ts +12 -12
  178. package/dist/redux/loadTenderView/loadTenderViewEndpoints.d.ts +10 -10
  179. package/dist/redux/loadV1/loadV1Endpoints.d.ts +58 -58
  180. package/dist/redux/location/locationEndpoints.d.ts +16 -16
  181. package/dist/redux/locationV1/locationV1Endpoints.d.ts +18 -19
  182. package/dist/redux/locationV1/locationV1Endpoints.js +1 -10
  183. package/dist/redux/locationV1/locationV1Endpoints.js.map +1 -1
  184. package/dist/redux/manualCheckCall/manualCheckCallEndpoints.d.ts +10 -10
  185. package/dist/redux/mapUpdate/mapUpdateEndpoints.d.ts +3 -3
  186. package/dist/redux/nmfcClass/nmfcClassEndpoints.d.ts +9 -9
  187. package/dist/redux/node/nodeEndpoints.d.ts +8 -8
  188. package/dist/redux/nodeName/nodeNameEndpoints.d.ts +10 -10
  189. package/dist/redux/nodeType/nodeTypeEndpoints.d.ts +8 -8
  190. package/dist/redux/nodeTypeNode/nodeTypeNodeEndpoints.d.ts +8 -8
  191. package/dist/redux/notification/notificationEndpoints.d.ts +13 -13
  192. package/dist/redux/otrDispatch/otrDispatchEndpoints.d.ts +23 -23
  193. package/dist/redux/person/personEndpoints.d.ts +12 -12
  194. package/dist/redux/personName/personNameEndpoints.d.ts +10 -10
  195. package/dist/redux/position/positionEndpoints.d.ts +10 -10
  196. package/dist/redux/possibleIssueItem/possibleIssueItemEndpoints.d.ts +10 -10
  197. package/dist/redux/quote/quoteCustomerPortalEndpoints.d.ts +15 -15
  198. package/dist/redux/quote/quoteHooks.d.ts +2 -2
  199. package/dist/redux/quote/quoteSalesEndpoints.d.ts +16 -16
  200. package/dist/redux/quoteAccessorial/quoteAccessorialEndpoints.d.ts +9 -9
  201. package/dist/redux/quoteAccessorialV1/quoteAccessorialV1Endpoints.d.ts +10 -10
  202. package/dist/redux/rateReview/rateReviewEndpoints.d.ts +10 -10
  203. package/dist/redux/rejectionReason/rejectionReasonEndpoints.d.ts +9 -9
  204. package/dist/redux/relayCode/relayCodeEndpoints.d.ts +11 -11
  205. package/dist/redux/shipConDispatch/shipConDispatchEndpoints.d.ts +11 -11
  206. package/dist/redux/shipConETA/shipConETAEndpoints.d.ts +10 -10
  207. package/dist/redux/shipcon/shipconEndpoints.d.ts +11 -11
  208. package/dist/redux/shipconV1/shipconV1Endpoints.d.ts +18 -18
  209. package/dist/redux/tender/tenderEndpoints.d.ts +9 -9
  210. package/dist/redux/trailerAvailability/customerEndpoints.d.ts +4 -4
  211. package/dist/redux/trailerCode/trailerCodeEndpoints.d.ts +9 -9
  212. package/dist/redux/uninvoicedLoadV1/uninvoicedLoadV1Endpoints.d.ts +12 -12
  213. package/dist/redux/unitV1/unitV1Endpoints.d.ts +9 -9
  214. package/dist/redux/userNoteV1/userNoteV1Endpoints.d.ts +12 -12
  215. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ export default class AccessorialV1_Entity {
2
+ static requiredFields: string[];
3
+ constructor(accessorialV1Json: unknown);
4
+ cost_amount?: number;
5
+ email_view?: string;
6
+ general_ledger_account_id?: number;
7
+ id: number;
8
+ name?: string;
9
+ quote_visible?: boolean;
10
+ subscription_id?: number;
11
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * AccessorialV1_Entity type guard.
3
+ *
4
+ * @param {any} accessorialV1Json AccessorialV1 object from API
5
+ * @returns {boolean} Return true if type is AccessorialV1_Entity
6
+ */
7
+ function validator(accessorialV1Json) {
8
+ if (typeof accessorialV1Json === "object" && accessorialV1Json != null) {
9
+ AccessorialV1_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(accessorialV1Json).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class AccessorialV1_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(accessorialV1Json) {
19
+ if (validator(accessorialV1Json)) {
20
+ this.id = accessorialV1Json.id;
21
+ this.cost_amount = accessorialV1Json.cost_amount;
22
+ this.email_view = accessorialV1Json.email_view;
23
+ this.general_ledger_account_id =
24
+ accessorialV1Json.general_ledger_account_id;
25
+ this.name = accessorialV1Json.name;
26
+ this.quote_visible = accessorialV1Json.quote_visible;
27
+ this.subscription_id = accessorialV1Json.subscription_id;
28
+ }
29
+ else
30
+ throw new Error(`Failed to create new instance of ${AccessorialV1_Entity.name}`);
31
+ }
32
+ cost_amount;
33
+ email_view;
34
+ general_ledger_account_id;
35
+ id;
36
+ name;
37
+ quote_visible;
38
+ subscription_id;
39
+ }
40
+ //# sourceMappingURL=accessorialV1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessorialV1.js","sourceRoot":"","sources":["../../../src/entities/accessorialV1/accessorialV1.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,iBAA0B;IAE1B,IAAI,OAAO,iBAAiB,KAAK,QAAQ,IAAI,iBAAiB,IAAI,IAAI,EAAE;QACtE,oBAAoB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACtD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACnD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,oBAAoB;IACvC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,iBAA0B;QACpC,IAAI,SAAS,CAAC,iBAAiB,CAAC,EAAE;YAChC,IAAI,CAAC,EAAE,GAAG,iBAAiB,CAAC,EAAE,CAAC;YAC/B,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;YACjD,IAAI,CAAC,UAAU,GAAG,iBAAiB,CAAC,UAAU,CAAC;YAC/C,IAAI,CAAC,yBAAyB;gBAC5B,iBAAiB,CAAC,yBAAyB,CAAC;YAC9C,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC;YACnC,IAAI,CAAC,aAAa,GAAG,iBAAiB,CAAC,aAAa,CAAC;YACrD,IAAI,CAAC,eAAe,GAAG,iBAAiB,CAAC,eAAe,CAAC;SAC1D;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,oBAAoB,CAAC,IAAI,EAAE,CAChE,CAAC;IACN,CAAC;IAED,WAAW,CAAU;IACrB,UAAU,CAAU;IACpB,yBAAyB,CAAU;IACnC,EAAE,CAAS;IACX,IAAI,CAAU;IACd,aAAa,CAAW;IACxB,eAAe,CAAU"}
@@ -0,0 +1,5 @@
1
+ import AccessorialV1_Entity from "./accessorialV1";
2
+ export default class AccessorialV1 extends AccessorialV1_Entity {
3
+ static fromList(accessorialV1sJSON: unknown): Array<AccessorialV1>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import AccessorialV1_Entity from "./accessorialV1";
2
+ export default class AccessorialV1 extends AccessorialV1_Entity {
3
+ static fromList(accessorialV1sJSON) {
4
+ const accessorialV1s = [];
5
+ if (accessorialV1sJSON)
6
+ Array.isArray(accessorialV1sJSON) &&
7
+ accessorialV1sJSON.forEach((accessorialV1JSON) => {
8
+ accessorialV1s.push(new AccessorialV1(accessorialV1JSON));
9
+ });
10
+ return accessorialV1s;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/accessorialV1/helper.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,iBAAiB,CAAC;AACnD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB;IAC7D,MAAM,CAAC,QAAQ,CAAC,kBAA2B;QACzC,MAAM,cAAc,GAAoB,EAAE,CAAC;QAC3C,IAAI,kBAAkB;YACpB,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC;gBAC/B,kBAAkB,CAAC,OAAO,CAAC,CAAC,iBAAiB,EAAE,EAAE;oBAC/C,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAC5D,CAAC,CAAC,CAAC;QACP,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as AccessorialV1 } from "./helper";
2
+ export { default as AccessorialV1_Entity } from "./accessorialV1";
@@ -0,0 +1,3 @@
1
+ export { default as AccessorialV1 } from "./helper";
2
+ export { default as AccessorialV1_Entity } from "./accessorialV1";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/accessorialV1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export default class AssetType_Entity {
2
+ static requiredFields: string[];
3
+ constructor(assetTypeJson: unknown);
4
+ id?: number;
5
+ asset_ids?: number[];
6
+ flag_id?: number;
7
+ name?: string;
8
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * AssetType_Entity type guard.
3
+ *
4
+ * @param {any} assetTypeJson AssetType object from API
5
+ * @returns {boolean} Return true if type is AssetType_Entity
6
+ */
7
+ function validator(assetTypeJson) {
8
+ if (typeof assetTypeJson === "object" && assetTypeJson != null) {
9
+ AssetType_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(assetTypeJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class AssetType_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(assetTypeJson) {
19
+ if (validator(assetTypeJson)) {
20
+ this.id = assetTypeJson.id;
21
+ this.asset_ids = assetTypeJson.asset_ids;
22
+ this.flag_id = assetTypeJson.flag_id;
23
+ this.name = assetTypeJson.name;
24
+ }
25
+ else
26
+ throw new Error(`Failed to create new instance of ${AssetType_Entity.name}`);
27
+ }
28
+ id;
29
+ asset_ids;
30
+ flag_id;
31
+ name;
32
+ }
33
+ //# sourceMappingURL=assetType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetType.js","sourceRoot":"","sources":["../../../src/entities/assetType/assetType.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAAC,aAAsB;IACvC,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,aAAa,IAAI,IAAI,EAAE;QAC9D,gBAAgB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAClD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC/C,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,gBAAgB;IACnC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,aAAsB;QAChC,IAAI,SAAS,CAAC,aAAa,CAAC,EAAE;YAC5B,IAAI,CAAC,EAAE,GAAG,aAAa,CAAC,EAAE,CAAC;YAC3B,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC;YACzC,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC;YACrC,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;SAChC;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,gBAAgB,CAAC,IAAI,EAAE,CAC5D,CAAC;IACN,CAAC;IAED,EAAE,CAAU;IACZ,SAAS,CAAY;IACrB,OAAO,CAAU;IACjB,IAAI,CAAU"}
@@ -0,0 +1,5 @@
1
+ import AssetType_Entity from "./assetType";
2
+ export default class AssetType extends AssetType_Entity {
3
+ static fromList(assetTypesJSON: unknown): Array<AssetType>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import AssetType_Entity from "./assetType";
2
+ export default class AssetType extends AssetType_Entity {
3
+ static fromList(assetTypesJSON) {
4
+ const assetTypes = [];
5
+ if (assetTypesJSON)
6
+ Array.isArray(assetTypesJSON) &&
7
+ assetTypesJSON.forEach((assetTypeJSON) => {
8
+ assetTypes.push(new AssetType(assetTypeJSON));
9
+ });
10
+ return assetTypes;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/assetType/helper.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,gBAAgB;IACrD,MAAM,CAAC,QAAQ,CAAC,cAAuB;QACrC,MAAM,UAAU,GAAgB,EAAE,CAAC;QACnC,IAAI,cAAc;YAChB,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC;gBAC3B,cAAc,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;oBACvC,UAAU,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;gBAChD,CAAC,CAAC,CAAC;QACP,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as AssetType } from "./helper";
2
+ export { default as AssetType_Entity } from "./assetType";
@@ -0,0 +1,3 @@
1
+ export { default as AssetType } from "./helper";
2
+ export { default as AssetType_Entity } from "./assetType";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/assetType/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,9 @@
1
+ export default class AttributeField_Entity {
2
+ static requiredFields: string[];
3
+ constructor(attributeFieldJson: unknown);
4
+ id: number;
5
+ createdAt: string;
6
+ updatedAt: string;
7
+ name?: string;
8
+ field_name?: string;
9
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * AttributeField_Entity type guard.
3
+ *
4
+ * @param {any} attributeFieldJson AttributeField object from API
5
+ * @returns {boolean} Return true if type is AttributeField_Entity
6
+ */
7
+ function validator(attributeFieldJson) {
8
+ if (typeof attributeFieldJson === "object" && attributeFieldJson != null) {
9
+ AttributeField_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(attributeFieldJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class AttributeField_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(attributeFieldJson) {
19
+ if (validator(attributeFieldJson)) {
20
+ this.id = attributeFieldJson.id;
21
+ this.createdAt = attributeFieldJson.createdAt;
22
+ this.updatedAt = attributeFieldJson.updatedAt;
23
+ this.name = attributeFieldJson.name;
24
+ this.field_name = attributeFieldJson.field_name;
25
+ }
26
+ else
27
+ throw new Error(`Failed to create new instance of ${AttributeField_Entity.name}`);
28
+ }
29
+ id;
30
+ createdAt;
31
+ updatedAt;
32
+ name;
33
+ field_name;
34
+ }
35
+ //# sourceMappingURL=attributeField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attributeField.js","sourceRoot":"","sources":["../../../src/entities/attributeField/attributeField.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,kBAA2B;IAE3B,IAAI,OAAO,kBAAkB,KAAK,QAAQ,IAAI,kBAAkB,IAAI,IAAI,EAAE;QACxE,qBAAqB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACpD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,qBAAqB;IACxC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,kBAA2B;QACrC,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAE;YACjC,IAAI,CAAC,EAAE,GAAG,kBAAkB,CAAC,EAAE,CAAC;YAChC,IAAI,CAAC,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC9C,IAAI,CAAC,SAAS,GAAG,kBAAkB,CAAC,SAAS,CAAC;YAC9C,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;YACpC,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAC;SACjD;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,qBAAqB,CAAC,IAAI,EAAE,CACjE,CAAC;IACN,CAAC;IAED,EAAE,CAAS;IACX,SAAS,CAAS;IAClB,SAAS,CAAS;IAClB,IAAI,CAAU;IACd,UAAU,CAAU"}
@@ -0,0 +1,5 @@
1
+ import AttributeField_Entity from "./attributeField";
2
+ export default class AttributeField extends AttributeField_Entity {
3
+ static fromList(attributeFieldsJSON: unknown): Array<AttributeField>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import AttributeField_Entity from "./attributeField";
2
+ export default class AttributeField extends AttributeField_Entity {
3
+ static fromList(attributeFieldsJSON) {
4
+ const attributeFields = [];
5
+ if (attributeFieldsJSON)
6
+ Array.isArray(attributeFieldsJSON) &&
7
+ attributeFieldsJSON.forEach((attributeFieldJSON) => {
8
+ attributeFields.push(new AttributeField(attributeFieldJSON));
9
+ });
10
+ return attributeFields;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/attributeField/helper.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,MAAM,kBAAkB,CAAC;AACrD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,qBAAqB;IAC/D,MAAM,CAAC,QAAQ,CAAC,mBAA4B;QAC1C,MAAM,eAAe,GAAqB,EAAE,CAAC;QAC7C,IAAI,mBAAmB;YACrB,KAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC;gBAChC,mBAAmB,CAAC,OAAO,CAAC,CAAC,kBAAkB,EAAE,EAAE;oBACjD,eAAe,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;gBAC/D,CAAC,CAAC,CAAC;QACP,OAAO,eAAe,CAAC;IACzB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as AttributeField } from "./helper";
2
+ export { default as AttributeField_Entity } from "./attributeField";
@@ -0,0 +1,3 @@
1
+ export { default as AttributeField } from "./helper";
2
+ export { default as AttributeField_Entity } from "./attributeField";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/attributeField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export default class CustomerTrailer_Entity {
2
+ static requiredFields: string[];
3
+ constructor(customerTrailerJson: unknown);
4
+ id: number;
5
+ customer_id?: number;
6
+ asset_type_id?: number;
7
+ asset_count?: number;
8
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * CustomerTrailer_Entity type guard.
3
+ *
4
+ * @param {any} customerTrailerJson CustomerTrailer object from API
5
+ * @returns {boolean} Return true if type is CustomerTrailer_Entity
6
+ */
7
+ function validator(customerTrailerJson) {
8
+ if (typeof customerTrailerJson === "object" && customerTrailerJson != null) {
9
+ CustomerTrailer_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(customerTrailerJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class CustomerTrailer_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(customerTrailerJson) {
19
+ if (validator(customerTrailerJson)) {
20
+ this.id = customerTrailerJson.id;
21
+ this.customer_id = customerTrailerJson.customer_id;
22
+ this.asset_count = customerTrailerJson.asset_count;
23
+ this.asset_type_id = customerTrailerJson.asset_type_id;
24
+ }
25
+ else
26
+ throw new Error(`Failed to create new instance of ${CustomerTrailer_Entity.name}`);
27
+ }
28
+ id;
29
+ customer_id;
30
+ asset_type_id;
31
+ asset_count;
32
+ }
33
+ //# sourceMappingURL=customerTrailer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customerTrailer.js","sourceRoot":"","sources":["../../../src/entities/customerTrailer/customerTrailer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,mBAA4B;IAE5B,IAAI,OAAO,mBAAmB,KAAK,QAAQ,IAAI,mBAAmB,IAAI,IAAI,EAAE;QAC1E,sBAAsB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACxD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACrD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,sBAAsB;IACzC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,mBAA4B;QACtC,IAAI,SAAS,CAAC,mBAAmB,CAAC,EAAE;YAClC,IAAI,CAAC,EAAE,GAAG,mBAAmB,CAAC,EAAE,CAAC;YACjC,IAAI,CAAC,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;YACnD,IAAI,CAAC,WAAW,GAAG,mBAAmB,CAAC,WAAW,CAAC;YACnD,IAAI,CAAC,aAAa,GAAG,mBAAmB,CAAC,aAAa,CAAC;SACxD;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,sBAAsB,CAAC,IAAI,EAAE,CAClE,CAAC;IACN,CAAC;IAED,EAAE,CAAS;IACX,WAAW,CAAU;IACrB,aAAa,CAAU;IACvB,WAAW,CAAU"}
@@ -0,0 +1,5 @@
1
+ import CustomerTrailer_Entity from "./customerTrailer";
2
+ export default class CustomerTrailer extends CustomerTrailer_Entity {
3
+ static fromList(customerTrailersJSON: unknown): Array<CustomerTrailer>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import CustomerTrailer_Entity from "./customerTrailer";
2
+ export default class CustomerTrailer extends CustomerTrailer_Entity {
3
+ static fromList(customerTrailersJSON) {
4
+ const customerTrailers = [];
5
+ if (customerTrailersJSON)
6
+ Array.isArray(customerTrailersJSON) &&
7
+ customerTrailersJSON.forEach((customerTrailerJSON) => {
8
+ customerTrailers.push(new CustomerTrailer(customerTrailerJSON));
9
+ });
10
+ return customerTrailers;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/customerTrailer/helper.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,mBAAmB,CAAC;AACvD,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,sBAAsB;IACjE,MAAM,CAAC,QAAQ,CAAC,oBAA6B;QAC3C,MAAM,gBAAgB,GAAsB,EAAE,CAAC;QAC/C,IAAI,oBAAoB;YACtB,KAAK,CAAC,OAAO,CAAC,oBAAoB,CAAC;gBACjC,oBAAoB,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAE;oBACnD,gBAAgB,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBAClE,CAAC,CAAC,CAAC;QACP,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as CustomerTrailer } from "./helper";
2
+ export { default as CustomerTrailer_Entity } from "./customerTrailer";
@@ -0,0 +1,3 @@
1
+ export { default as CustomerTrailer } from "./helper";
2
+ export { default as CustomerTrailer_Entity } from "./customerTrailer";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/customerTrailer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -112,6 +112,7 @@ export default class CustomerV1_Entity {
112
112
  ar_tms?: boolean;
113
113
  name?: string;
114
114
  line1?: string;
115
+ line2?: string;
115
116
  city?: string;
116
117
  state?: string;
117
118
  zip?: string;
@@ -133,6 +133,7 @@ export default class CustomerV1_Entity {
133
133
  this.ar_tms = customerV1Json.ar_tms;
134
134
  this.name = customerV1Json.name;
135
135
  this.line1 = customerV1Json.line1;
136
+ this.line2 = customerV1Json.line2;
136
137
  this.city = customerV1Json.city;
137
138
  this.state = customerV1Json.state;
138
139
  this.zip = customerV1Json.zip;
@@ -261,6 +262,7 @@ export default class CustomerV1_Entity {
261
262
  ar_tms;
262
263
  name;
263
264
  line1;
265
+ line2;
264
266
  city;
265
267
  state;
266
268
  zip;
@@ -1 +1 @@
1
- {"version":3,"file":"customerV1.js","sourceRoot":"","sources":["../../../src/entities/customerV1/customerV1.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,cAAuB;IAEvB,IAAI,OAAO,cAAc,KAAK,QAAQ,IAAI,cAAc,IAAI,IAAI,EAAE;QAChE,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACnD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAChD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,cAAwB;QAClC,IAAI,SAAS,CAAC,cAAc,CAAC,EAAE;YAC7B,IAAI,CAAC,EAAE,GAAG,cAAc,CAAC,EAAE,CAAC;YAC5B,IAAI,CAAC,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;YAC5C,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;YACxC,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,QAAQ,CAAC;YACxC,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC,SAAS,CAAC;YAC1C,IAAI,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK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;IACvB,UAAU,CAAU;IACpB,YAAY,CAAU;IACtB,qBAAqB,CAAW;IAChC,YAAY,CAAW;IACvB,OAAO,CAAW;IAClB,OAAO,CAAW;IAClB,wBAAwB,CAAW;IACnC,mBAAmB,CAAU;IAC7B,kBAAkB,CAAU;IAC5B,YAAY,CAAU;IACtB,MAAM,CAAW;IACjB,IAAI,CAAU;IACd,KAAK,CAAU;IACf,IAAI,CAAU;IACd,KAAK,CAAU;IACf,GAAG,CAAU;IACb,KAAK,CAAU;IACf,gBAAgB,CAAU;IAC1B,YAAY,CAAU;IACtB,aAAa,CAAU;IACvB,cAAc,CAAU;IACxB,cAAc,CAAU;IACxB,YAAY,CAAU;IACtB,mBAAmB,CAAU;IAC7B,SAAS,CAAW;IACpB,MAAM,CAAU"}
1
+ {"version":3,"file":"customerV1.js","sourceRoot":"","sources":["../../../src/entities/customerV1/customerV1.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,cAAuB;IAEvB,IAAI,OAAO,cAAc,KAAK,QAAQ,IAAI,cAAc,IAAI,IAAI,EAAE;QAChE,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACnD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAChD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,cAAwB;QAClC,IAAI,SAAS,CAAC,cAAc,CAAC,EAAE;YAC7B,IAAI,CAAC,EAAE,GAAG,cAAc,CAAC,EAAE,CAAC;YAC5B,IAAI,CAAC,UAAU,GAAG,cAAc,CAAC,UAAU,CAAC;YAC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W;IAClB,gBAAgB,CAAW;IAC3B,oBAAoB,CAAU;IAC9B,YAAY,CAAW;IACvB,UAAU,CAAW;IACrB,WAAW,CAAW;IACtB,aAAa,CAAU;IACvB,aAAa,CAAW;IACxB,gBAAgB,CAAW;IAC3B,UAAU,CAAU;IACpB,eAAe,CAAW;IAC1B,UAAU,CAAU;IACpB,QAAQ,CAAU;IAClB,UAAU,CAAU;IACpB,aAAa,CAAU;IACvB,UAAU,CAAU;IACpB,YAAY,CAAU;IACtB,qBAAqB,CAAW;IAChC,YAAY,CAAW;IACvB,OAAO,CAAW;IAClB,OAAO,CAAW;IAClB,wBAAwB,CAAW;IACnC,mBAAmB,CAAU;IAC7B,kBAAkB,CAAU;IAC5B,YAAY,CAAU;IACtB,MAAM,CAAW;IACjB,IAAI,CAAU;IACd,KAAK,CAAU;IACf,KAAK,CAAU;IACf,IAAI,CAAU;IACd,KAAK,CAAU;IACf,GAAG,CAAU;IACb,KAAK,CAAU;IACf,gBAAgB,CAAU;IAC1B,YAAY,CAAU;IACtB,aAAa,CAAU;IACvB,cAAc,CAAU;IACxB,cAAc,CAAU;IACxB,YAAY,CAAU;IACtB,mBAAmB,CAAU;IAC7B,SAAS,CAAW;IACpB,MAAM,CAAU"}
@@ -0,0 +1,17 @@
1
+ import { Person_Entity } from "../person";
2
+ export default class CustomersPerson_Entity {
3
+ static requiredFields: string[];
4
+ constructor(customersPersonJson: unknown);
5
+ id: number;
6
+ customer_id?: number;
7
+ person_id?: number;
8
+ csr_type_id?: number;
9
+ percentage?: number;
10
+ inactive?: boolean;
11
+ inactive_date?: string;
12
+ active_date?: string;
13
+ person?: Person_Entity;
14
+ last_business_date?: string;
15
+ prev_business_date?: string;
16
+ name?: string;
17
+ }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * CustomersPerson_Entity type guard.
3
+ *
4
+ * @param {any} customersPersonJson CustomersPerson object from API
5
+ * @returns {boolean} Return true if type is CustomersPerson_Entity
6
+ */
7
+ function validator(customersPersonJson) {
8
+ if (typeof customersPersonJson === "object" && customersPersonJson != null) {
9
+ CustomersPerson_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(customersPersonJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class CustomersPerson_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(customersPersonJson) {
19
+ if (validator(customersPersonJson)) {
20
+ this.id = customersPersonJson.id;
21
+ this.customer_id = customersPersonJson.customer_id;
22
+ this.person_id = customersPersonJson.person_id;
23
+ this.csr_type_id = customersPersonJson.csr_type_id;
24
+ this.percentage = customersPersonJson.percentage;
25
+ this.inactive = customersPersonJson.inactive;
26
+ this.inactive_date = customersPersonJson.inactive_date;
27
+ this.active_date = customersPersonJson.active_date;
28
+ this.person = customersPersonJson.person;
29
+ this.last_business_date = customersPersonJson.last_business_date;
30
+ this.prev_business_date = customersPersonJson.prev_business_date;
31
+ this.name = customersPersonJson.name;
32
+ }
33
+ else
34
+ throw new Error(`Failed to create new instance of ${CustomersPerson_Entity.name}`);
35
+ }
36
+ id;
37
+ customer_id;
38
+ person_id;
39
+ csr_type_id;
40
+ percentage;
41
+ inactive;
42
+ inactive_date;
43
+ active_date;
44
+ person;
45
+ last_business_date;
46
+ prev_business_date;
47
+ name;
48
+ }
49
+ //# sourceMappingURL=customersPerson.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customersPerson.js","sourceRoot":"","sources":["../../../src/entities/customersPerson/customersPerson.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,mBAA4B;IAE5B,IAAI,OAAO,mBAAmB,KAAK,QAAQ,IAAI,mBAAmB,IAAI,IAAI,EAAE;QAC1E,sBAAsB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACxD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBAC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ACvB,kBAAkB,CAAU;IAC5B,kBAAkB,CAAU;IAC5B,IAAI,CAAU"}
@@ -0,0 +1,5 @@
1
+ import CustomersPerson_Entity from "./customersPerson";
2
+ export default class CustomersPerson extends CustomersPerson_Entity {
3
+ static fromList(customersPersonsJSON: unknown): Array<CustomersPerson>;
4
+ toJson(): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ import CustomersPerson_Entity from "./customersPerson";
2
+ export default class CustomersPerson extends CustomersPerson_Entity {
3
+ static fromList(customersPersonsJSON) {
4
+ const customersPersons = [];
5
+ if (customersPersonsJSON)
6
+ Array.isArray(customersPersonsJSON) &&
7
+ customersPersonsJSON.forEach((customersPersonJSON) => {
8
+ customersPersons.push(new CustomersPerson(customersPersonJSON));
9
+ });
10
+ return customersPersons;
11
+ }
12
+ toJson() {
13
+ return JSON.stringify(this);
14
+ }
15
+ }
16
+ //# sourceMappingURL=helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/customersPerson/helper.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,mBAAmB,CAAC;AACvD,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,sBAAsB;IACjE,MAAM,CAAC,QAAQ,CAAC,oBAA6B;QAC3C,MAAM,gBAAgB,GAAsB,EAAE,CAAC;QAC/C,IAAI,oBAAoB;YACtB,KAAK,CAAC,OAAO,CAAC,oBAAoB,CAAC;gBACjC,oBAAoB,CAAC,OAAO,CAAC,CAAC,mBAAmB,EAAE,EAAE;oBACnD,gBAAgB,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAC;gBAClE,CAAC,CAAC,CAAC;QACP,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export { default as CustomersPerson } from "./helper";
2
+ export { default as CustomersPerson_Entity } from "./customersPerson";
@@ -0,0 +1,3 @@
1
+ export { default as CustomersPerson } from "./helper";
2
+ export { default as CustomersPerson_Entity } from "./customersPerson";
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/customersPerson/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export default class DefaultSetting_Entity {
2
+ static requiredFields: string[];
3
+ constructor(defaultSettingJson: unknown);
4
+ id: number;
5
+ model_type?: string;
6
+ model_id?: number;
7
+ attribute_field_id?: number;
8
+ value?: string;
9
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * DefaultSetting_Entity type guard.
3
+ *
4
+ * @param {any} defaultSettingJson DefaultSetting object from API
5
+ * @returns {boolean} Return true if type is DefaultSetting_Entity
6
+ */
7
+ function validator(defaultSettingJson) {
8
+ if (typeof defaultSettingJson === "object" && defaultSettingJson != null) {
9
+ DefaultSetting_Entity.requiredFields.forEach((element) => {
10
+ if (!Object.keys(defaultSettingJson).includes(element))
11
+ throw new Error(`Field ${element} is null or undefined`);
12
+ });
13
+ }
14
+ return true;
15
+ }
16
+ export default class DefaultSetting_Entity {
17
+ static requiredFields = ["id"];
18
+ constructor(defaultSettingJson) {
19
+ if (validator(defaultSettingJson)) {
20
+ this.id = defaultSettingJson.id;
21
+ this.model_id = defaultSettingJson.model_id;
22
+ this.model_type = defaultSettingJson.model_type;
23
+ this.attribute_field_id = defaultSettingJson.attribute_field_id;
24
+ this.value = defaultSettingJson.value;
25
+ }
26
+ else
27
+ throw new Error(`Failed to create new instance of ${DefaultSetting_Entity.name}`);
28
+ }
29
+ id;
30
+ model_type;
31
+ model_id;
32
+ attribute_field_id;
33
+ value;
34
+ }
35
+ //# sourceMappingURL=defaultSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaultSetting.js","sourceRoot":"","sources":["../../../src/entities/defaultSetting/defaultSetting.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,SAAS,SAAS,CAChB,kBAA2B;IAE3B,IAAI,OAAO,kBAAkB,KAAK,QAAQ,IAAI,kBAAkB,IAAI,IAAI,EAAE;QACxE,qBAAqB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YACvD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACpD,MAAM,IAAI,KAAK,CAAC,SAAS,OAAO,uBAAuB,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,OAAO,OAAO,qBAAqB;IACxC,MAAM,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,CAAC;IAE/B,YAAY,kBAA2B;QACrC,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAE;YACjC,IAAI,CAAC,EAAE,GAAG,kBAAkB,CAAC,EAAE,CAAC;YAChC,IAAI,CAAC,QAAQ,GAAG,kBAAkB,CAAC,QAAQ,CAAC;YAC5C,IAAI,CAAC,UAAU,GAAG,kBAAkB,CAAC,UAAU,CAAC;YAChD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;YAChE,IAAI,CAAC,KAAK,GAAG,kBAAkB,CAAC,KAAK,CAAC;SACvC;;YACC,MAAM,IAAI,KAAK,CACb,oCAAoC,qBAAqB,CAAC,IAAI,EAAE,CACjE,CAAC;IACN,CAAC;IAED,EAAE,CAAS;IACX,UAAU,CAAU;IACpB,QAAQ,CAAU;IAClB,kBAAkB,CAAU;IAC5B,KAAK,CAAU"}
@@ -0,0 +1,5 @@
1
+ import DefaultSetting_Entity from "./defaultSetting";
2
+ export default class DefaultSetting extends DefaultSetting_Entity {
3
+ static fromList(defaultSettingsJSON: unknown): Array<DefaultSetting>;
4
+ toJson(): string;
5
+ }