@workwell-global/toolkit 1.1.45 → 1.1.47

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 (151) hide show
  1. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +11 -9
  2. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
  3. package/dist/models/schemas/api/_entityTools/CreateEntityTools.js +8 -8
  4. package/dist/models/schemas/api/_entityTools/CreateEntityTools.js.map +1 -1
  5. package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts +2 -2
  6. package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts.map +1 -1
  7. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +78 -70
  8. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
  9. package/dist/models/schemas/api/_entityTools/SchemasEntityTools.d.ts.map +1 -1
  10. package/dist/models/schemas/api/_entityTools/SchemasEntityTools.js +4 -1
  11. package/dist/models/schemas/api/_entityTools/SchemasEntityTools.js.map +1 -1
  12. package/dist/models/schemas/api/account/DAccountAPI.js +1 -1
  13. package/dist/models/schemas/api/account/DAccountAPI.js.map +1 -1
  14. package/dist/models/schemas/api/account/TAccountAPI.d.ts +229 -229
  15. package/dist/models/schemas/api/account/index.d.ts +229 -229
  16. package/dist/models/schemas/api/activityMimeAttachment/TActivityMimeAttachmentAPI.d.ts +60 -60
  17. package/dist/models/schemas/api/activityMimeAttachment/index.d.ts +60 -60
  18. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts +5 -5
  19. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js +5 -5
  20. package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js.map +1 -1
  21. package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts +134 -134
  22. package/dist/models/schemas/api/activityParty/index.d.ts +134 -134
  23. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js +1 -1
  24. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js.map +1 -1
  25. package/dist/models/schemas/api/activityPointer/TActivityPointerAPI.d.ts +58 -58
  26. package/dist/models/schemas/api/activityPointer/index.d.ts +58 -58
  27. package/dist/models/schemas/api/assignment/DAssignmentAPI.js +1 -1
  28. package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
  29. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +304 -304
  30. package/dist/models/schemas/api/assignment/index.d.ts +304 -304
  31. package/dist/models/schemas/api/assignmentLog/TAssignmentLogAPI.d.ts +66 -66
  32. package/dist/models/schemas/api/assignmentLog/index.d.ts +66 -66
  33. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts +1 -1
  34. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts.map +1 -1
  35. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js +2 -2
  36. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js.map +1 -1
  37. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +176 -176
  38. package/dist/models/schemas/api/caseManagement/index.d.ts +176 -176
  39. package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.d.ts +4 -4
  40. package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.d.ts.map +1 -1
  41. package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.js +5 -4
  42. package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.js.map +1 -1
  43. package/dist/models/schemas/api/changeRequest/TChangeRequestAPI.d.ts +143 -143
  44. package/dist/models/schemas/api/changeRequest/index.d.ts +143 -143
  45. package/dist/models/schemas/api/companyDocument/TCompanyDocumentAPI.d.ts +116 -116
  46. package/dist/models/schemas/api/companyDocument/index.d.ts +116 -116
  47. package/dist/models/schemas/api/contact/DContactAPI.js +1 -1
  48. package/dist/models/schemas/api/contact/DContactAPI.js.map +1 -1
  49. package/dist/models/schemas/api/contact/TContactAPI.d.ts +264 -264
  50. package/dist/models/schemas/api/contact/index.d.ts +264 -264
  51. package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.d.ts +11 -0
  52. package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.d.ts.map +1 -1
  53. package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.js +12 -1
  54. package/dist/models/schemas/api/contractorDocument/DContractorDocumentAPI.js.map +1 -1
  55. package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts +170 -150
  56. package/dist/models/schemas/api/contractorDocument/TContractorDocumentAPI.d.ts.map +1 -1
  57. package/dist/models/schemas/api/contractorDocument/index.d.ts +174 -150
  58. package/dist/models/schemas/api/contractorDocument/index.d.ts.map +1 -1
  59. package/dist/models/schemas/api/country/TCountryAPI.d.ts +70 -70
  60. package/dist/models/schemas/api/country/index.d.ts +70 -70
  61. package/dist/models/schemas/api/countryOffering/TCountryOfferingAPI.d.ts +50 -50
  62. package/dist/models/schemas/api/countryOffering/index.d.ts +50 -50
  63. package/dist/models/schemas/api/currency/TCurrencyAPI.d.ts +50 -50
  64. package/dist/models/schemas/api/currency/index.d.ts +50 -50
  65. package/dist/models/schemas/api/customerAddress/TCustomerAddressAPI.d.ts +80 -80
  66. package/dist/models/schemas/api/customerAddress/index.d.ts +80 -80
  67. package/dist/models/schemas/api/disqualificationReason/TDisqualificationAPI.d.ts +50 -50
  68. package/dist/models/schemas/api/disqualificationReason/index.d.ts +50 -50
  69. package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
  70. package/dist/models/schemas/api/email/DEmailAPI.js +1 -1
  71. package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
  72. package/dist/models/schemas/api/email/TEmailAPI.d.ts +99 -99
  73. package/dist/models/schemas/api/email/index.d.ts +99 -99
  74. package/dist/models/schemas/api/enquiry/DEnquiryAPI.d.ts.map +1 -1
  75. package/dist/models/schemas/api/enquiry/DEnquiryAPI.js +1 -1
  76. package/dist/models/schemas/api/enquiry/DEnquiryAPI.js.map +1 -1
  77. package/dist/models/schemas/api/enquiry/TEnquiryAPI.d.ts +86 -86
  78. package/dist/models/schemas/api/enquiry/index.d.ts +86 -86
  79. package/dist/models/schemas/api/margin/TMarginAPI.d.ts +78 -78
  80. package/dist/models/schemas/api/margin/index.d.ts +78 -78
  81. package/dist/models/schemas/api/nationality/TNationalityAPI.d.ts +56 -56
  82. package/dist/models/schemas/api/nationality/index.d.ts +56 -56
  83. package/dist/models/schemas/api/note/DNoteAPI.d.ts +2 -2
  84. package/dist/models/schemas/api/note/DNoteAPI.d.ts.map +1 -1
  85. package/dist/models/schemas/api/note/DNoteAPI.js +2 -2
  86. package/dist/models/schemas/api/note/DNoteAPI.js.map +1 -1
  87. package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
  88. package/dist/models/schemas/api/referral/DReferralAPI.js +1 -1
  89. package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
  90. package/dist/models/schemas/api/referral/TReferralAPI.d.ts +244 -244
  91. package/dist/models/schemas/api/referral/index.d.ts +244 -244
  92. package/dist/models/schemas/api/referralLog/TReferralLogAPI.d.ts +65 -65
  93. package/dist/models/schemas/api/referralLog/index.d.ts +65 -65
  94. package/dist/models/schemas/api/role/TRoleAPI.d.ts +50 -50
  95. package/dist/models/schemas/api/role/index.d.ts +50 -50
  96. package/dist/models/schemas/api/simulation/DSimulationAPI.js +1 -1
  97. package/dist/models/schemas/api/simulation/DSimulationAPI.js.map +1 -1
  98. package/dist/models/schemas/api/simulation/TSimulationAPI.d.ts +134 -134
  99. package/dist/models/schemas/api/simulation/index.d.ts +134 -134
  100. package/dist/models/schemas/api/solution/TSolutionAPI.d.ts +134 -134
  101. package/dist/models/schemas/api/solution/index.d.ts +134 -134
  102. package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts +160 -160
  103. package/dist/models/schemas/api/systemUser/index.d.ts +160 -160
  104. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts +6 -6
  105. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts.map +1 -1
  106. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js +3 -5
  107. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js.map +1 -1
  108. package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts +62 -62
  109. package/dist/models/schemas/api/webMessage/index.d.ts +62 -62
  110. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +5 -5
  111. package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts +5 -5
  112. package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts +3 -3
  113. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +1 -1
  114. package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts +5 -5
  115. package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +5 -5
  116. package/dist/models/schemas/bff/changeRequest/SGetChangeRequestBFF.d.ts +8 -1
  117. package/dist/models/schemas/bff/changeRequest/SGetChangeRequestBFF.d.ts.map +1 -1
  118. package/dist/models/schemas/bff/changeRequest/SGetChangeRequestDocumentBFF.d.ts +7 -0
  119. package/dist/models/schemas/bff/changeRequest/SGetChangeRequestDocumentBFF.d.ts.map +1 -1
  120. package/dist/models/schemas/bff/changeRequest/SPostExtensionBFF.d.ts +1 -1
  121. package/dist/models/schemas/bff/contractorDocuments/SGetContractorDocumentBFF.d.ts +7 -0
  122. package/dist/models/schemas/bff/contractorDocuments/SGetContractorDocumentBFF.d.ts.map +1 -1
  123. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.d.ts +14 -0
  124. package/dist/models/schemas/bff/contractorDocuments/SPostContractorDocumentBFF.d.ts.map +1 -1
  125. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +7 -0
  126. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +1 -1
  127. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +7 -0
  128. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +1 -1
  129. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +84 -0
  130. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
  131. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.d.ts +15 -8
  132. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.d.ts.map +1 -1
  133. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.js +2 -2
  134. package/dist/models/schemas/bff/engagementsSummary/SPostEngagementsWorkerSummaryBFF.js.map +1 -1
  135. package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.d.ts +7 -0
  136. package/dist/models/schemas/bff/enquiryDetail/SGetEnquiryBFF.d.ts.map +1 -1
  137. package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.d.ts +7 -0
  138. package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimBFF.d.ts.map +1 -1
  139. package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDocumentBFF.d.ts +7 -0
  140. package/dist/models/schemas/bff/enquiryDetail/SGetEnquirySimDocumentBFF.d.ts.map +1 -1
  141. package/dist/models/schemas/bff/personalDetails/SGetPersonalDetails.d.ts +7 -0
  142. package/dist/models/schemas/bff/personalDetails/SGetPersonalDetails.d.ts.map +1 -1
  143. package/dist/models/schemas/bff/personalDetails/SPostPersonalDetails.d.ts +7 -0
  144. package/dist/models/schemas/bff/personalDetails/SPostPersonalDetails.d.ts.map +1 -1
  145. package/dist/utils/strings/manipulate.d.ts +11 -1
  146. package/dist/utils/strings/manipulate.d.ts.map +1 -1
  147. package/dist/utils/strings/manipulate.js +47 -42
  148. package/dist/utils/strings/manipulate.js.map +1 -1
  149. package/dist/utils/strings/manipulate.test.js +42 -0
  150. package/dist/utils/strings/manipulate.test.js.map +1 -1
  151. package/package.json +1 -1
@@ -1,103 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EmailEntity: {
3
3
  isLookupOnly: boolean;
4
- fieldsPretty: {
5
- etag: string;
6
- createdByValue: string;
7
- createdOnBehalfByValue: string;
8
- modifiedByValue: string;
9
- modifiedOnBehalfByValue: string;
10
- ownerIdValue: string;
11
- owningBusinessUnitValue: string;
12
- owningTeamValue: string;
13
- owningUserValue: string;
14
- createdOn: string;
15
- body: string;
16
- importSequenceNumber: string;
17
- modifiedOn: string;
18
- overriddenCreatedOn: string;
19
- stateCode: string;
20
- statusCode: string;
21
- timezoneRuleVersionNumber: string;
22
- utcConversionTimezoneCode: string;
23
- versionNumber: string;
24
- ownerFormattedValue: string;
25
- createdByFormattedValue: string;
26
- subject: string;
27
- emailId: string;
28
- regardingValue: string;
29
- attachments: string;
30
- emailParties: string;
31
- sender: string;
32
- sentiment: string;
33
- parentActivityIdValue: string;
34
- toRecipients: string;
35
- ccValue: string;
36
- bccValue: string;
37
- directionCode: string;
38
- placeholderForConvertAttachment: string;
39
- emailClassification: string;
40
- customerValue: string;
41
- emailOutcome: string;
42
- createCase: string;
43
- caseOwnerType: string;
44
- queueValue: string;
45
- internalNotes: string;
46
- followUpCallDate: string;
47
- followUpOwnerValue: string;
48
- followUpQueueValue: string;
49
- followed: string;
50
- reminderSet: string;
51
- };
52
- fieldsD365: {
53
- readonly activityid: "emailId";
54
- readonly msdyn_sentiment: "sentiment";
55
- readonly _parentactivityid_value: "parentActivityIdValue";
56
- readonly sender: "sender";
57
- readonly torecipients: "toRecipients";
58
- readonly _cc_value: "ccValue";
59
- readonly _bcc_value: "bccValue";
60
- readonly subject: "subject";
61
- readonly directioncode: "directionCode";
62
- readonly description: "body";
63
- readonly ww_placeholderforconvertattachment: "placeholderForConvertAttachment";
64
- readonly ww_emailclassification: "emailClassification";
65
- readonly _regardingobjectid_value: "regardingValue";
66
- readonly _ww_emailcustomer_value: "customerValue";
67
- readonly ww_emailactivityoutcome: "emailOutcome";
68
- readonly ww_createcase: "createCase";
69
- readonly _ww_customerforcase_value: "customerValue";
70
- readonly ww_caseownertype: "caseOwnerType";
71
- readonly _ww_queueforcase_value: "queueValue";
72
- readonly ww_internalnotes: "internalNotes";
73
- readonly ww_followupcalldate: "followUpCallDate";
74
- readonly _ww_followupowner_value: "followUpOwnerValue";
75
- readonly _ww_followupqueue_value: "followUpQueueValue";
76
- readonly isemailfollowed: "followed";
77
- readonly isemailreminderset: "reminderSet";
78
- readonly email_activity_parties: "emailParties";
79
- readonly email_activity_mime_attachment: "attachments";
80
- readonly _ownerid_value: "ownerIdValue";
81
- readonly _owningbusinessunit_value: "owningBusinessUnitValue";
82
- readonly _owningteam_value: "owningTeamValue";
83
- readonly _owninguser_value: "owningUserValue";
84
- readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
85
- readonly '@odata.etag': "etag";
86
- readonly versionnumber: "versionNumber";
87
- readonly _createdby_value: "createdByValue";
88
- readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
89
- readonly createdon: "createdOn";
90
- readonly _createdonbehalfby_value: "createdOnBehalfByValue";
91
- readonly _modifiedby_value: "modifiedByValue";
92
- readonly modifiedon: "modifiedOn";
93
- readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
94
- readonly statecode: "stateCode";
95
- readonly statuscode: "statusCode";
96
- readonly importsequencenumber: "importSequenceNumber";
97
- readonly overriddencreatedon: "overriddenCreatedOn";
98
- readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
99
- readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
100
- };
101
4
  SResponseD365: z.ZodObject<{
102
5
  readonly _ownerid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
103
6
  readonly _owningbusinessunit_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -703,8 +606,105 @@ export declare const EmailEntity: {
703
606
  emailParties?: any;
704
607
  attachments?: any;
705
608
  }>;
706
- mapD365ToPretty: (data: unknown) => Record<string, unknown>;
707
- mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
609
+ keyD365ToPretty: {
610
+ readonly activityid: "emailId";
611
+ readonly msdyn_sentiment: "sentiment";
612
+ readonly _parentactivityid_value: "parentActivityIdValue";
613
+ readonly sender: "sender";
614
+ readonly torecipients: "toRecipients";
615
+ readonly _cc_value: "ccValue";
616
+ readonly _bcc_value: "bccValue";
617
+ readonly subject: "subject";
618
+ readonly directioncode: "directionCode";
619
+ readonly description: "body";
620
+ readonly ww_placeholderforconvertattachment: "placeholderForConvertAttachment";
621
+ readonly ww_emailclassification: "emailClassification";
622
+ readonly _regardingobjectid_value: "regardingValue";
623
+ readonly _ww_emailcustomer_value: "customerValue";
624
+ readonly ww_emailactivityoutcome: "emailOutcome";
625
+ readonly ww_createcase: "createCase";
626
+ readonly _ww_customerforcase_value: "customerValue";
627
+ readonly ww_caseownertype: "caseOwnerType";
628
+ readonly _ww_queueforcase_value: "queueValue";
629
+ readonly ww_internalnotes: "internalNotes";
630
+ readonly ww_followupcalldate: "followUpCallDate";
631
+ readonly _ww_followupowner_value: "followUpOwnerValue";
632
+ readonly _ww_followupqueue_value: "followUpQueueValue";
633
+ readonly isemailfollowed: "followed";
634
+ readonly isemailreminderset: "reminderSet";
635
+ readonly email_activity_parties: "emailParties";
636
+ readonly email_activity_mime_attachment: "attachments";
637
+ readonly _ownerid_value: "ownerIdValue";
638
+ readonly _owningbusinessunit_value: "owningBusinessUnitValue";
639
+ readonly _owningteam_value: "owningTeamValue";
640
+ readonly _owninguser_value: "owningUserValue";
641
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
642
+ readonly '@odata.etag': "etag";
643
+ readonly versionnumber: "versionNumber";
644
+ readonly _createdby_value: "createdByValue";
645
+ readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
646
+ readonly createdon: "createdOn";
647
+ readonly _createdonbehalfby_value: "createdOnBehalfByValue";
648
+ readonly _modifiedby_value: "modifiedByValue";
649
+ readonly modifiedon: "modifiedOn";
650
+ readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
651
+ readonly statecode: "stateCode";
652
+ readonly statuscode: "statusCode";
653
+ readonly importsequencenumber: "importSequenceNumber";
654
+ readonly overriddencreatedon: "overriddenCreatedOn";
655
+ readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
656
+ readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
657
+ };
658
+ keyPrettyToD365: {
659
+ etag: string;
660
+ createdByValue: string;
661
+ createdOnBehalfByValue: string;
662
+ modifiedByValue: string;
663
+ modifiedOnBehalfByValue: string;
664
+ ownerIdValue: string;
665
+ owningBusinessUnitValue: string;
666
+ owningTeamValue: string;
667
+ owningUserValue: string;
668
+ createdOn: string;
669
+ body: string;
670
+ importSequenceNumber: string;
671
+ modifiedOn: string;
672
+ overriddenCreatedOn: string;
673
+ stateCode: string;
674
+ statusCode: string;
675
+ timezoneRuleVersionNumber: string;
676
+ utcConversionTimezoneCode: string;
677
+ versionNumber: string;
678
+ ownerFormattedValue: string;
679
+ createdByFormattedValue: string;
680
+ subject: string;
681
+ emailId: string;
682
+ regardingValue: string;
683
+ attachments: string;
684
+ emailParties: string;
685
+ sender: string;
686
+ sentiment: string;
687
+ parentActivityIdValue: string;
688
+ toRecipients: string;
689
+ ccValue: string;
690
+ bccValue: string;
691
+ directionCode: string;
692
+ placeholderForConvertAttachment: string;
693
+ emailClassification: string;
694
+ customerValue: string;
695
+ emailOutcome: string;
696
+ createCase: string;
697
+ caseOwnerType: string;
698
+ queueValue: string;
699
+ internalNotes: string;
700
+ followUpCallDate: string;
701
+ followUpOwnerValue: string;
702
+ followUpQueueValue: string;
703
+ followed: string;
704
+ reminderSet: string;
705
+ };
706
+ mapD365ToPretty: (d365Record: Record<string, unknown>) => Record<string, unknown>;
707
+ mapPrettyToD365: (prettyRecord: Record<string, unknown>) => Record<string, unknown>;
708
708
  };
709
709
  export type TEmailD365 = z.infer<typeof EmailEntity.SResponseD365>;
710
710
  export type TEmailAPI = z.infer<typeof EmailEntity.SResponseAPI>;
@@ -5,103 +5,6 @@ export declare const Email: {
5
5
  };
6
6
  Tools: {
7
7
  isLookupOnly: boolean;
8
- fieldsPretty: {
9
- etag: string;
10
- createdByValue: string;
11
- createdOnBehalfByValue: string;
12
- modifiedByValue: string;
13
- modifiedOnBehalfByValue: string;
14
- ownerIdValue: string;
15
- owningBusinessUnitValue: string;
16
- owningTeamValue: string;
17
- owningUserValue: string;
18
- createdOn: string;
19
- body: string;
20
- importSequenceNumber: string;
21
- modifiedOn: string;
22
- overriddenCreatedOn: string;
23
- stateCode: string;
24
- statusCode: string;
25
- timezoneRuleVersionNumber: string;
26
- utcConversionTimezoneCode: string;
27
- versionNumber: string;
28
- ownerFormattedValue: string;
29
- createdByFormattedValue: string;
30
- subject: string;
31
- emailId: string;
32
- regardingValue: string;
33
- attachments: string;
34
- emailParties: string;
35
- sender: string;
36
- sentiment: string;
37
- parentActivityIdValue: string;
38
- toRecipients: string;
39
- ccValue: string;
40
- bccValue: string;
41
- directionCode: string;
42
- placeholderForConvertAttachment: string;
43
- emailClassification: string;
44
- customerValue: string;
45
- emailOutcome: string;
46
- createCase: string;
47
- caseOwnerType: string;
48
- queueValue: string;
49
- internalNotes: string;
50
- followUpCallDate: string;
51
- followUpOwnerValue: string;
52
- followUpQueueValue: string;
53
- followed: string;
54
- reminderSet: string;
55
- };
56
- fieldsD365: {
57
- readonly activityid: "emailId";
58
- readonly msdyn_sentiment: "sentiment";
59
- readonly _parentactivityid_value: "parentActivityIdValue";
60
- readonly sender: "sender";
61
- readonly torecipients: "toRecipients";
62
- readonly _cc_value: "ccValue";
63
- readonly _bcc_value: "bccValue";
64
- readonly subject: "subject";
65
- readonly directioncode: "directionCode";
66
- readonly description: "body";
67
- readonly ww_placeholderforconvertattachment: "placeholderForConvertAttachment";
68
- readonly ww_emailclassification: "emailClassification";
69
- readonly _regardingobjectid_value: "regardingValue";
70
- readonly _ww_emailcustomer_value: "customerValue";
71
- readonly ww_emailactivityoutcome: "emailOutcome";
72
- readonly ww_createcase: "createCase";
73
- readonly _ww_customerforcase_value: "customerValue";
74
- readonly ww_caseownertype: "caseOwnerType";
75
- readonly _ww_queueforcase_value: "queueValue";
76
- readonly ww_internalnotes: "internalNotes";
77
- readonly ww_followupcalldate: "followUpCallDate";
78
- readonly _ww_followupowner_value: "followUpOwnerValue";
79
- readonly _ww_followupqueue_value: "followUpQueueValue";
80
- readonly isemailfollowed: "followed";
81
- readonly isemailreminderset: "reminderSet";
82
- readonly email_activity_parties: "emailParties";
83
- readonly email_activity_mime_attachment: "attachments";
84
- readonly _ownerid_value: "ownerIdValue";
85
- readonly _owningbusinessunit_value: "owningBusinessUnitValue";
86
- readonly _owningteam_value: "owningTeamValue";
87
- readonly _owninguser_value: "owningUserValue";
88
- readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
89
- readonly '@odata.etag': "etag";
90
- readonly versionnumber: "versionNumber";
91
- readonly _createdby_value: "createdByValue";
92
- readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
93
- readonly createdon: "createdOn";
94
- readonly _createdonbehalfby_value: "createdOnBehalfByValue";
95
- readonly _modifiedby_value: "modifiedByValue";
96
- readonly modifiedon: "modifiedOn";
97
- readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
98
- readonly statecode: "stateCode";
99
- readonly statuscode: "statusCode";
100
- readonly importsequencenumber: "importSequenceNumber";
101
- readonly overriddencreatedon: "overriddenCreatedOn";
102
- readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
103
- readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
104
- };
105
8
  SResponseD365: import("zod").ZodObject<{
106
9
  readonly _ownerid_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
107
10
  readonly _owningbusinessunit_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
@@ -707,8 +610,105 @@ export declare const Email: {
707
610
  emailParties?: any;
708
611
  attachments?: any;
709
612
  }>;
710
- mapD365ToPretty: (data: unknown) => Record<string, unknown>;
711
- mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
613
+ keyD365ToPretty: {
614
+ readonly activityid: "emailId";
615
+ readonly msdyn_sentiment: "sentiment";
616
+ readonly _parentactivityid_value: "parentActivityIdValue";
617
+ readonly sender: "sender";
618
+ readonly torecipients: "toRecipients";
619
+ readonly _cc_value: "ccValue";
620
+ readonly _bcc_value: "bccValue";
621
+ readonly subject: "subject";
622
+ readonly directioncode: "directionCode";
623
+ readonly description: "body";
624
+ readonly ww_placeholderforconvertattachment: "placeholderForConvertAttachment";
625
+ readonly ww_emailclassification: "emailClassification";
626
+ readonly _regardingobjectid_value: "regardingValue";
627
+ readonly _ww_emailcustomer_value: "customerValue";
628
+ readonly ww_emailactivityoutcome: "emailOutcome";
629
+ readonly ww_createcase: "createCase";
630
+ readonly _ww_customerforcase_value: "customerValue";
631
+ readonly ww_caseownertype: "caseOwnerType";
632
+ readonly _ww_queueforcase_value: "queueValue";
633
+ readonly ww_internalnotes: "internalNotes";
634
+ readonly ww_followupcalldate: "followUpCallDate";
635
+ readonly _ww_followupowner_value: "followUpOwnerValue";
636
+ readonly _ww_followupqueue_value: "followUpQueueValue";
637
+ readonly isemailfollowed: "followed";
638
+ readonly isemailreminderset: "reminderSet";
639
+ readonly email_activity_parties: "emailParties";
640
+ readonly email_activity_mime_attachment: "attachments";
641
+ readonly _ownerid_value: "ownerIdValue";
642
+ readonly _owningbusinessunit_value: "owningBusinessUnitValue";
643
+ readonly _owningteam_value: "owningTeamValue";
644
+ readonly _owninguser_value: "owningUserValue";
645
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
646
+ readonly '@odata.etag': "etag";
647
+ readonly versionnumber: "versionNumber";
648
+ readonly _createdby_value: "createdByValue";
649
+ readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
650
+ readonly createdon: "createdOn";
651
+ readonly _createdonbehalfby_value: "createdOnBehalfByValue";
652
+ readonly _modifiedby_value: "modifiedByValue";
653
+ readonly modifiedon: "modifiedOn";
654
+ readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
655
+ readonly statecode: "stateCode";
656
+ readonly statuscode: "statusCode";
657
+ readonly importsequencenumber: "importSequenceNumber";
658
+ readonly overriddencreatedon: "overriddenCreatedOn";
659
+ readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
660
+ readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
661
+ };
662
+ keyPrettyToD365: {
663
+ etag: string;
664
+ createdByValue: string;
665
+ createdOnBehalfByValue: string;
666
+ modifiedByValue: string;
667
+ modifiedOnBehalfByValue: string;
668
+ ownerIdValue: string;
669
+ owningBusinessUnitValue: string;
670
+ owningTeamValue: string;
671
+ owningUserValue: string;
672
+ createdOn: string;
673
+ body: string;
674
+ importSequenceNumber: string;
675
+ modifiedOn: string;
676
+ overriddenCreatedOn: string;
677
+ stateCode: string;
678
+ statusCode: string;
679
+ timezoneRuleVersionNumber: string;
680
+ utcConversionTimezoneCode: string;
681
+ versionNumber: string;
682
+ ownerFormattedValue: string;
683
+ createdByFormattedValue: string;
684
+ subject: string;
685
+ emailId: string;
686
+ regardingValue: string;
687
+ attachments: string;
688
+ emailParties: string;
689
+ sender: string;
690
+ sentiment: string;
691
+ parentActivityIdValue: string;
692
+ toRecipients: string;
693
+ ccValue: string;
694
+ bccValue: string;
695
+ directionCode: string;
696
+ placeholderForConvertAttachment: string;
697
+ emailClassification: string;
698
+ customerValue: string;
699
+ emailOutcome: string;
700
+ createCase: string;
701
+ caseOwnerType: string;
702
+ queueValue: string;
703
+ internalNotes: string;
704
+ followUpCallDate: string;
705
+ followUpOwnerValue: string;
706
+ followUpQueueValue: string;
707
+ followed: string;
708
+ reminderSet: string;
709
+ };
710
+ mapD365ToPretty: (d365Record: Record<string, unknown>) => Record<string, unknown>;
711
+ mapPrettyToD365: (prettyRecord: Record<string, unknown>) => Record<string, unknown>;
712
712
  };
713
713
  Relationships: {
714
714
  readonly emailcustomerEmailAccount: {
@@ -1 +1 @@
1
- {"version":3,"file":"DEnquiryAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/enquiry/DEnquiryAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,cAAc;;;;;;;;;;;;CAYjB,CAAA;AAEV,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4EhB,CAAA"}
1
+ {"version":3,"file":"DEnquiryAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/enquiry/DEnquiryAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,cAAc;;;;;;;;;;;;CAYjB,CAAA;AAEV,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EhB,CAAA"}
@@ -105,7 +105,7 @@ export const enquiryFields = {
105
105
  pretty: 'agencyContactFormattedValue',
106
106
  type: z.string().nullish(),
107
107
  },
108
- //expansions
108
+ //relationships for exanpansions and binding
109
109
  [enquiryRelationships.simulation.relationshipName]: {
110
110
  pretty: 'simulations',
111
111
  entityKey: 'simulation',
@@ -1 +1 @@
1
- {"version":3,"file":"DEnquiryAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/enquiry/DEnquiryAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,aAAa,EAAE;QACb,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;KACxB;IACD,MAAM,EAAE;QACN,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;KACjB;CACO,CAAA;AAEV,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,MAAM,EAAE;QACN,gBAAgB,EAAE,WAAW;QAC7B,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,aAAa;KAC1C;IACD,aAAa,EAAE;QACb,gBAAgB,EAAE,kBAAkB;QACpC,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,aAAa;KAC1C;IACD,sBAAsB,EAAE;QACtB,gBAAgB,EAAE,iCAAiC;QACnD,MAAM,EAAE,WAAW,CAAC,sBAAsB,CAAC,aAAa;KACzD;IACD,4BAA4B,EAAE;QAC5B,gBAAgB,EAAE,iCAAiC;QACnD,MAAM,EAAE,WAAW,CAAC,sBAAsB,CAAC,aAAa;KACzD;IACD,UAAU,EAAE;QACV,gBAAgB,EAAE,0CAA0C;QAC5D,MAAM,EAAE,WAAW,CAAC,UAAU,CAAC,aAAa;KAC7C;CACO,CAAA;AAEV,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sCAAsC,EAAE;QACtC,MAAM,EAAE,6BAA6B;QACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC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,MAAM,EAAE,0BAA0B;QAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,wBAAwB,EAAE;QACxB,MAAM,EAAE,uBAAuB;QAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,mCAAmC,EAAE;QACnC,MAAM,EAAE,kCAAkC;QAC1C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,6BAA6B,EAAE;QAC7B,MAAM,EAAE,4BAA4B;QACpC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,+BAA+B,EAAE;QAC/B,MAAM,EAAE,0BAA0B;QAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,gBAAgB;IAChB,CAAC,4DAA4D,CAAC,EAAE;QAC9D,MAAM,EAAE,sBAAsB;QAC9B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IACD,CAAC,mEAAmE,CAAC,EAAE;QACrE,MAAM,EAAE,6BAA6B;QACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;KAC3B;IAED,4CAA4C;IAC5C,CAAC,oBAAoB,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE;QAClD,MAAM,EAAE,aAAa;QACrB,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,IAAI;KACd;CACO,CAAA"}
@@ -2,90 +2,6 @@ import { z } from 'zod';
2
2
  import type { TSimulationAPI } from '../simulation/TSimulationAPI.js';
3
3
  export declare const EnquiryEntity: {
4
4
  isLookupOnly: boolean;
5
- fieldsPretty: {
6
- etag: string;
7
- createdByValue: string;
8
- createdOnBehalfByValue: string;
9
- modifiedByValue: string;
10
- modifiedOnBehalfByValue: string;
11
- ownerIdValue: string;
12
- owningBusinessUnitValue: string;
13
- owningTeamValue: string;
14
- owningUserValue: string;
15
- createdOn: string;
16
- importSequenceNumber: string;
17
- modifiedOn: string;
18
- overriddenCreatedOn: string;
19
- stateCode: string;
20
- statusCode: string;
21
- timezoneRuleVersionNumber: string;
22
- utcConversionTimezoneCode: string;
23
- versionNumber: string;
24
- ownerFormattedValue: string;
25
- createdByFormattedValue: string;
26
- agencyFormattedValue: string;
27
- agencyContactFormattedValue: string;
28
- agencyValue: string;
29
- agencyContactValue: string;
30
- simulations: string;
31
- disqualificationReasonValue: string;
32
- disqualificationDetailReasonValue: string;
33
- enquiryId: string;
34
- enquiryNumber: string;
35
- enquiryFriendlyName: string;
36
- originatingCaseValue: string;
37
- enquiryStatus: string;
38
- origin: string;
39
- approvedSimulationsCount: string;
40
- pendingApprovalSimulationsCount: string;
41
- rejectedSimulationsCount: string;
42
- totalSimulationsCount: string;
43
- numberOfRejectedSimulationsByWwg: string;
44
- numberOfExpiredSimulations: string;
45
- nextSimulationExpiryDate: string;
46
- };
47
- fieldsD365: {
48
- readonly _ww_disqualificationreasonlookup_value: "disqualificationReasonValue";
49
- readonly _ww_disqualificationdetailreason_value: "disqualificationDetailReasonValue";
50
- readonly ww_enquiryid: "enquiryId";
51
- readonly ww_enquirynumber: "enquiryNumber";
52
- readonly ww_enquiryfriendlyname: "enquiryFriendlyName";
53
- readonly _ww_agency_value: "agencyValue";
54
- readonly _ww_agencycontact_value: "agencyContactValue";
55
- readonly _ww_originatingcase_value: "originatingCaseValue";
56
- readonly ww_enquirystatus: "enquiryStatus";
57
- readonly ww_origin: "origin";
58
- readonly ww_approvedsimulationscount: "approvedSimulationsCount";
59
- readonly ww_pendingapprovalsimulationscount: "pendingApprovalSimulationsCount";
60
- readonly ww_rejectedsimulationscount: "rejectedSimulationsCount";
61
- readonly ww_totalsimulationscount: "totalSimulationsCount";
62
- readonly ww_numberofrejectedsimulationsbywwg: "numberOfRejectedSimulationsByWwg";
63
- readonly ww_numberofexpiredsimulations: "numberOfExpiredSimulations";
64
- readonly ww_upcomingsimulationexpirydate: "nextSimulationExpiryDate";
65
- readonly "_ww_agency_value@OData.Community.Display.V1.FormattedValue": "agencyFormattedValue";
66
- readonly "_ww_agencycontact_value@OData.Community.Display.V1.FormattedValue": "agencyContactFormattedValue";
67
- readonly ww_salaryillustration_Enquiry_ww_enquiry: "simulations";
68
- readonly _ownerid_value: "ownerIdValue";
69
- readonly _owningbusinessunit_value: "owningBusinessUnitValue";
70
- readonly _owningteam_value: "owningTeamValue";
71
- readonly _owninguser_value: "owningUserValue";
72
- readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
73
- readonly '@odata.etag': "etag";
74
- readonly versionnumber: "versionNumber";
75
- readonly _createdby_value: "createdByValue";
76
- readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
77
- readonly createdon: "createdOn";
78
- readonly _createdonbehalfby_value: "createdOnBehalfByValue";
79
- readonly _modifiedby_value: "modifiedByValue";
80
- readonly modifiedon: "modifiedOn";
81
- readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
82
- readonly statecode: "stateCode";
83
- readonly statuscode: "statusCode";
84
- readonly importsequencenumber: "importSequenceNumber";
85
- readonly overriddencreatedon: "overriddenCreatedOn";
86
- readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
87
- readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
88
- };
89
5
  SResponseD365: z.ZodObject<{
90
6
  readonly _ownerid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
91
7
  readonly _owningbusinessunit_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -592,8 +508,92 @@ export declare const EnquiryEntity: {
592
508
  nextSimulationExpiryDate?: string | null | undefined;
593
509
  simulations?: any;
594
510
  }>;
595
- mapD365ToPretty: (data: unknown) => Record<string, unknown>;
596
- mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
511
+ keyD365ToPretty: {
512
+ readonly _ww_disqualificationreasonlookup_value: "disqualificationReasonValue";
513
+ readonly _ww_disqualificationdetailreason_value: "disqualificationDetailReasonValue";
514
+ readonly ww_enquiryid: "enquiryId";
515
+ readonly ww_enquirynumber: "enquiryNumber";
516
+ readonly ww_enquiryfriendlyname: "enquiryFriendlyName";
517
+ readonly _ww_agency_value: "agencyValue";
518
+ readonly _ww_agencycontact_value: "agencyContactValue";
519
+ readonly _ww_originatingcase_value: "originatingCaseValue";
520
+ readonly ww_enquirystatus: "enquiryStatus";
521
+ readonly ww_origin: "origin";
522
+ readonly ww_approvedsimulationscount: "approvedSimulationsCount";
523
+ readonly ww_pendingapprovalsimulationscount: "pendingApprovalSimulationsCount";
524
+ readonly ww_rejectedsimulationscount: "rejectedSimulationsCount";
525
+ readonly ww_totalsimulationscount: "totalSimulationsCount";
526
+ readonly ww_numberofrejectedsimulationsbywwg: "numberOfRejectedSimulationsByWwg";
527
+ readonly ww_numberofexpiredsimulations: "numberOfExpiredSimulations";
528
+ readonly ww_upcomingsimulationexpirydate: "nextSimulationExpiryDate";
529
+ readonly "_ww_agency_value@OData.Community.Display.V1.FormattedValue": "agencyFormattedValue";
530
+ readonly "_ww_agencycontact_value@OData.Community.Display.V1.FormattedValue": "agencyContactFormattedValue";
531
+ readonly ww_salaryillustration_Enquiry_ww_enquiry: "simulations";
532
+ readonly _ownerid_value: "ownerIdValue";
533
+ readonly _owningbusinessunit_value: "owningBusinessUnitValue";
534
+ readonly _owningteam_value: "owningTeamValue";
535
+ readonly _owninguser_value: "owningUserValue";
536
+ readonly '_ownerid_value@OData.Community.Display.V1.FormattedValue': "ownerFormattedValue";
537
+ readonly '@odata.etag': "etag";
538
+ readonly versionnumber: "versionNumber";
539
+ readonly _createdby_value: "createdByValue";
540
+ readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
541
+ readonly createdon: "createdOn";
542
+ readonly _createdonbehalfby_value: "createdOnBehalfByValue";
543
+ readonly _modifiedby_value: "modifiedByValue";
544
+ readonly modifiedon: "modifiedOn";
545
+ readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
546
+ readonly statecode: "stateCode";
547
+ readonly statuscode: "statusCode";
548
+ readonly importsequencenumber: "importSequenceNumber";
549
+ readonly overriddencreatedon: "overriddenCreatedOn";
550
+ readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
551
+ readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
552
+ };
553
+ keyPrettyToD365: {
554
+ etag: string;
555
+ createdByValue: string;
556
+ createdOnBehalfByValue: string;
557
+ modifiedByValue: string;
558
+ modifiedOnBehalfByValue: string;
559
+ ownerIdValue: string;
560
+ owningBusinessUnitValue: string;
561
+ owningTeamValue: string;
562
+ owningUserValue: string;
563
+ createdOn: string;
564
+ importSequenceNumber: string;
565
+ modifiedOn: string;
566
+ overriddenCreatedOn: string;
567
+ stateCode: string;
568
+ statusCode: string;
569
+ timezoneRuleVersionNumber: string;
570
+ utcConversionTimezoneCode: string;
571
+ versionNumber: string;
572
+ ownerFormattedValue: string;
573
+ createdByFormattedValue: string;
574
+ agencyFormattedValue: string;
575
+ agencyContactFormattedValue: string;
576
+ agencyValue: string;
577
+ agencyContactValue: string;
578
+ simulations: string;
579
+ disqualificationReasonValue: string;
580
+ disqualificationDetailReasonValue: string;
581
+ enquiryId: string;
582
+ enquiryNumber: string;
583
+ enquiryFriendlyName: string;
584
+ originatingCaseValue: string;
585
+ enquiryStatus: string;
586
+ origin: string;
587
+ approvedSimulationsCount: string;
588
+ pendingApprovalSimulationsCount: string;
589
+ rejectedSimulationsCount: string;
590
+ totalSimulationsCount: string;
591
+ numberOfRejectedSimulationsByWwg: string;
592
+ numberOfExpiredSimulations: string;
593
+ nextSimulationExpiryDate: string;
594
+ };
595
+ mapD365ToPretty: (d365Record: Record<string, unknown>) => Record<string, unknown>;
596
+ mapPrettyToD365: (prettyRecord: Record<string, unknown>) => Record<string, unknown>;
597
597
  };
598
598
  export type TEnquiryD365 = z.infer<typeof EnquiryEntity.SResponseD365>;
599
599
  export type TEnquiryPayloadD365 = z.infer<typeof EnquiryEntity.SPayloadD365>;