@workwell-global/toolkit 1.1.27 → 1.1.29

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 (117) hide show
  1. package/dist/enums/EntityNames.d.ts +4 -0
  2. package/dist/enums/EntityNames.d.ts.map +1 -1
  3. package/dist/enums/EntityNames.js +4 -0
  4. package/dist/enums/EntityNames.js.map +1 -1
  5. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +1 -0
  6. package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
  7. package/dist/models/schemas/api/_entityTools/CreateEntityTools.js.map +1 -1
  8. package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +2 -2
  9. package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts.map +1 -1
  10. package/dist/models/schemas/api/_entityTools/EntityRegistry.js +0 -3
  11. package/dist/models/schemas/api/_entityTools/EntityRegistry.js.map +1 -1
  12. package/dist/models/schemas/api/_entityTools/MappersEntityTools.d.ts.map +1 -1
  13. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +10 -0
  14. package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
  15. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts +24 -0
  16. package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts.map +1 -0
  17. package/dist/models/schemas/api/_entityTools/PartyBindings.js +22 -0
  18. package/dist/models/schemas/api/_entityTools/PartyBindings.js.map +1 -0
  19. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.d.ts +8 -0
  20. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.d.ts.map +1 -1
  21. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js +12 -0
  22. package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js.map +1 -1
  23. package/dist/models/schemas/api/activityPointer/index.d.ts +8 -0
  24. package/dist/models/schemas/api/activityPointer/index.d.ts.map +1 -1
  25. package/dist/models/schemas/api/activityPointer/index.js +1 -0
  26. package/dist/models/schemas/api/activityPointer/index.js.map +1 -1
  27. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +9 -0
  28. package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
  29. package/dist/models/schemas/api/assignment/DAssignmentAPI.js +9 -0
  30. package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
  31. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +18 -0
  32. package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
  33. package/dist/models/schemas/api/assignment/index.d.ts +22 -0
  34. package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
  35. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts +10 -0
  36. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts.map +1 -1
  37. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js +16 -0
  38. package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js.map +1 -1
  39. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +19 -0
  40. package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
  41. package/dist/models/schemas/api/caseManagement/index.d.ts +23 -0
  42. package/dist/models/schemas/api/caseManagement/index.d.ts.map +1 -1
  43. package/dist/models/schemas/api/index.d.ts +1 -0
  44. package/dist/models/schemas/api/index.d.ts.map +1 -1
  45. package/dist/models/schemas/api/index.js +1 -0
  46. package/dist/models/schemas/api/index.js.map +1 -1
  47. package/dist/models/schemas/api/referral/DReferralAPI.d.ts +9 -0
  48. package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
  49. package/dist/models/schemas/api/referral/DReferralAPI.js +9 -0
  50. package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
  51. package/dist/models/schemas/api/referral/TReferralAPI.d.ts +18 -0
  52. package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
  53. package/dist/models/schemas/api/referral/index.d.ts +22 -0
  54. package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
  55. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts +84 -0
  56. package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts.map +1 -0
  57. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js +70 -0
  58. package/dist/models/schemas/api/webMessage/DWebMessageAPI.js.map +1 -0
  59. package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts +493 -0
  60. package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts.map +1 -0
  61. package/dist/models/schemas/api/webMessage/TWebMessageAPI.js +9 -0
  62. package/dist/models/schemas/api/webMessage/TWebMessageAPI.js.map +1 -0
  63. package/dist/models/schemas/api/webMessage/index.d.ts +517 -0
  64. package/dist/models/schemas/api/webMessage/index.d.ts.map +1 -0
  65. package/dist/models/schemas/api/webMessage/index.js +13 -0
  66. package/dist/models/schemas/api/webMessage/index.js.map +1 -0
  67. package/dist/models/schemas/api/webMessage/webMessage.test.d.ts +2 -0
  68. package/dist/models/schemas/api/webMessage/webMessage.test.d.ts.map +1 -0
  69. package/dist/models/schemas/api/webMessage/webMessage.test.js +94 -0
  70. package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -0
  71. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts +306 -0
  72. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts.map +1 -0
  73. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js +39 -0
  74. package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js.map +1 -0
  75. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts +2 -0
  76. package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts.map +1 -0
  77. package/dist/models/schemas/bff/assignmentsMetrics/index.js +2 -0
  78. package/dist/models/schemas/bff/assignmentsMetrics/index.js.map +1 -0
  79. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts +1 -0
  80. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts.map +1 -1
  81. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js +1 -0
  82. package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js.map +1 -1
  83. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts +1 -0
  84. package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts.map +1 -1
  85. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +128 -0
  86. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -0
  87. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js +28 -0
  88. package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js.map +1 -0
  89. package/dist/models/schemas/bff/caseDetail/index.d.ts +2 -0
  90. package/dist/models/schemas/bff/caseDetail/index.d.ts.map +1 -1
  91. package/dist/models/schemas/bff/caseDetail/index.js +2 -0
  92. package/dist/models/schemas/bff/caseDetail/index.js.map +1 -1
  93. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts +104 -0
  94. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts.map +1 -0
  95. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js +30 -0
  96. package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js.map +1 -0
  97. package/dist/models/schemas/bff/casesSummary/index.d.ts +1 -0
  98. package/dist/models/schemas/bff/casesSummary/index.d.ts.map +1 -1
  99. package/dist/models/schemas/bff/casesSummary/index.js +1 -0
  100. package/dist/models/schemas/bff/casesSummary/index.js.map +1 -1
  101. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +306 -0
  102. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +1 -0
  103. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js +12 -0
  104. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js.map +1 -0
  105. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +306 -0
  106. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +1 -0
  107. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js +12 -0
  108. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js.map +1 -0
  109. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +4221 -10
  110. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
  111. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +50 -2
  112. package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -1
  113. package/dist/models/schemas/bff/index.d.ts +1 -0
  114. package/dist/models/schemas/bff/index.d.ts.map +1 -1
  115. package/dist/models/schemas/bff/index.js +1 -0
  116. package/dist/models/schemas/bff/index.js.map +1 -1
  117. package/package.json +1 -1
@@ -0,0 +1,493 @@
1
+ import { z } from 'zod';
2
+ export declare const WebMessageEntity: {
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
+ subject: string;
25
+ activityId: string;
26
+ regardingValue: string;
27
+ parties: string;
28
+ fromParties: string;
29
+ toParties: string;
30
+ };
31
+ fieldsD365: {
32
+ readonly activityid: "activityId";
33
+ readonly subject: "subject";
34
+ readonly description: "body";
35
+ readonly createdon: "createdOn";
36
+ readonly statuscode: "statusCode";
37
+ readonly _regardingobjectid_value: "regardingValue";
38
+ readonly from: "fromParties";
39
+ readonly to: "toParties";
40
+ readonly ww_WebMessage_activity_parties: "parties";
41
+ readonly _ownerid_value: "ownerIdValue";
42
+ readonly _owningbusinessunit_value: "owningBusinessUnitValue";
43
+ readonly _owningteam_value: "owningTeamValue";
44
+ readonly _owninguser_value: "owningUserValue";
45
+ readonly '@odata.etag': "etag";
46
+ readonly versionnumber: "versionNumber";
47
+ readonly _createdby_value: "createdByValue";
48
+ readonly _createdonbehalfby_value: "createdOnBehalfByValue";
49
+ readonly _modifiedby_value: "modifiedByValue";
50
+ readonly modifiedon: "modifiedOn";
51
+ readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
52
+ readonly statecode: "stateCode";
53
+ readonly importsequencenumber: "importSequenceNumber";
54
+ readonly overriddencreatedon: "overriddenCreatedOn";
55
+ readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
56
+ readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
57
+ };
58
+ SResponseD365: z.ZodObject<{
59
+ readonly _ownerid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
60
+ readonly _owningbusinessunit_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
61
+ readonly _owningteam_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
62
+ readonly _owninguser_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
63
+ readonly '@odata.etag': z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>>;
64
+ readonly versionnumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
65
+ readonly _createdby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
66
+ readonly createdon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
67
+ readonly _createdonbehalfby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
68
+ readonly _modifiedby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
69
+ readonly modifiedon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
70
+ readonly _modifiedonbehalfby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
71
+ readonly statecode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
72
+ readonly statuscode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
73
+ readonly importsequencenumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
74
+ readonly overriddencreatedon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
75
+ readonly timezoneruleversionnumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
76
+ readonly utcconversiontimezonecode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
77
+ readonly activityid: z.ZodOptional<z.ZodString>;
78
+ readonly subject: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
79
+ readonly description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
80
+ readonly _regardingobjectid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
81
+ readonly from: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
82
+ id: z.ZodString;
83
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
86
+ id: string;
87
+ }, {
88
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
89
+ id: string;
90
+ }>, "many">>>>;
91
+ readonly to: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
92
+ id: z.ZodString;
93
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
96
+ id: string;
97
+ }, {
98
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
99
+ id: string;
100
+ }>, "many">>>>;
101
+ readonly ww_WebMessage_activity_parties: z.ZodOptional<z.ZodTypeAny>;
102
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
103
+ '@odata.etag'?: string | null | undefined;
104
+ _createdby_value?: string | null | undefined;
105
+ _createdonbehalfby_value?: string | null | undefined;
106
+ _modifiedby_value?: string | null | undefined;
107
+ _modifiedonbehalfby_value?: string | null | undefined;
108
+ _ownerid_value?: string | null | undefined;
109
+ _owningbusinessunit_value?: string | null | undefined;
110
+ _owningteam_value?: string | null | undefined;
111
+ _owninguser_value?: string | null | undefined;
112
+ createdon?: string | null | undefined;
113
+ description?: string | null | undefined;
114
+ importsequencenumber?: number | null | undefined;
115
+ modifiedon?: string | null | undefined;
116
+ overriddencreatedon?: string | null | undefined;
117
+ statecode?: number | null | undefined;
118
+ statuscode?: number | null | undefined;
119
+ timezoneruleversionnumber?: string | number | null | undefined;
120
+ utcconversiontimezonecode?: string | number | null | undefined;
121
+ versionnumber?: number | null | undefined;
122
+ subject?: string | null | undefined;
123
+ activityid?: string | undefined;
124
+ _regardingobjectid_value?: string | null | undefined;
125
+ ww_WebMessage_activity_parties?: any;
126
+ from?: {
127
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
128
+ id: string;
129
+ }[] | null | undefined;
130
+ to?: {
131
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
132
+ id: string;
133
+ }[] | null | undefined;
134
+ }, {
135
+ '@odata.etag'?: string | null | undefined;
136
+ _createdby_value?: string | null | undefined;
137
+ _createdonbehalfby_value?: string | null | undefined;
138
+ _modifiedby_value?: string | null | undefined;
139
+ _modifiedonbehalfby_value?: string | null | undefined;
140
+ _ownerid_value?: string | null | undefined;
141
+ _owningbusinessunit_value?: string | null | undefined;
142
+ _owningteam_value?: string | null | undefined;
143
+ _owninguser_value?: string | null | undefined;
144
+ createdon?: string | null | undefined;
145
+ description?: string | null | undefined;
146
+ importsequencenumber?: number | null | undefined;
147
+ modifiedon?: string | null | undefined;
148
+ overriddencreatedon?: string | null | undefined;
149
+ statecode?: number | null | undefined;
150
+ statuscode?: number | null | undefined;
151
+ timezoneruleversionnumber?: string | number | null | undefined;
152
+ utcconversiontimezonecode?: string | number | null | undefined;
153
+ versionnumber?: number | null | undefined;
154
+ subject?: string | null | undefined;
155
+ activityid?: string | undefined;
156
+ _regardingobjectid_value?: string | null | undefined;
157
+ ww_WebMessage_activity_parties?: any;
158
+ from?: {
159
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
160
+ id: string;
161
+ }[] | null | undefined;
162
+ to?: {
163
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
164
+ id: string;
165
+ }[] | null | undefined;
166
+ }>;
167
+ SPayloadD365: z.ZodObject<{
168
+ readonly activityid: z.ZodOptional<z.ZodString>;
169
+ readonly subject: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
170
+ readonly description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
171
+ readonly createdon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
172
+ readonly statuscode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
173
+ readonly _regardingobjectid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
174
+ readonly from: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
175
+ id: z.ZodString;
176
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
179
+ id: string;
180
+ }, {
181
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
182
+ id: string;
183
+ }>, "many">>>>;
184
+ readonly to: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
185
+ id: z.ZodString;
186
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
189
+ id: string;
190
+ }, {
191
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
192
+ id: string;
193
+ }>, "many">>>>;
194
+ readonly ww_WebMessage_activity_parties: z.ZodOptional<z.ZodTypeAny>;
195
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
196
+ createdon?: string | null | undefined;
197
+ description?: string | null | undefined;
198
+ statuscode?: number | null | undefined;
199
+ subject?: string | null | undefined;
200
+ activityid?: string | undefined;
201
+ _regardingobjectid_value?: string | null | undefined;
202
+ ww_WebMessage_activity_parties?: any;
203
+ from?: {
204
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
205
+ id: string;
206
+ }[] | null | undefined;
207
+ to?: {
208
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
209
+ id: string;
210
+ }[] | null | undefined;
211
+ }, {
212
+ createdon?: string | null | undefined;
213
+ description?: string | null | undefined;
214
+ statuscode?: number | null | undefined;
215
+ subject?: string | null | undefined;
216
+ activityid?: string | undefined;
217
+ _regardingobjectid_value?: string | null | undefined;
218
+ ww_WebMessage_activity_parties?: any;
219
+ from?: {
220
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
221
+ id: string;
222
+ }[] | null | undefined;
223
+ to?: {
224
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
225
+ id: string;
226
+ }[] | null | undefined;
227
+ }>;
228
+ SResponseAPI: z.ZodObject<import("../_entityTools/SchemasEntityTools.js").TPrettyShape<{
229
+ readonly _ownerid_value: {
230
+ readonly pretty: "ownerIdValue";
231
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ };
233
+ readonly _owningbusinessunit_value: {
234
+ readonly pretty: "owningBusinessUnitValue";
235
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ };
237
+ readonly _owningteam_value: {
238
+ readonly pretty: "owningTeamValue";
239
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ };
241
+ readonly _owninguser_value: {
242
+ readonly pretty: "owningUserValue";
243
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ };
245
+ readonly '@odata.etag': {
246
+ readonly pretty: "etag";
247
+ readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
248
+ };
249
+ readonly versionnumber: {
250
+ readonly pretty: "versionNumber";
251
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
+ };
253
+ readonly _createdby_value: {
254
+ readonly pretty: "createdByValue";
255
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ };
257
+ readonly createdon: {
258
+ readonly pretty: "createdOn";
259
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ };
261
+ readonly _createdonbehalfby_value: {
262
+ readonly pretty: "createdOnBehalfByValue";
263
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ };
265
+ readonly _modifiedby_value: {
266
+ readonly pretty: "modifiedByValue";
267
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
+ };
269
+ readonly modifiedon: {
270
+ readonly pretty: "modifiedOn";
271
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ };
273
+ readonly _modifiedonbehalfby_value: {
274
+ readonly pretty: "modifiedOnBehalfByValue";
275
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ };
277
+ readonly statecode: {
278
+ readonly pretty: "stateCode";
279
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
280
+ };
281
+ readonly statuscode: {
282
+ readonly pretty: "statusCode";
283
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
284
+ };
285
+ readonly importsequencenumber: {
286
+ readonly pretty: "importSequenceNumber";
287
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
288
+ };
289
+ readonly overriddencreatedon: {
290
+ readonly pretty: "overriddenCreatedOn";
291
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
292
+ };
293
+ readonly timezoneruleversionnumber: {
294
+ readonly pretty: "timezoneRuleVersionNumber";
295
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
296
+ };
297
+ readonly utcconversiontimezonecode: {
298
+ readonly pretty: "utcConversionTimezoneCode";
299
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
300
+ };
301
+ } & {
302
+ readonly activityid: {
303
+ readonly pretty: "activityId";
304
+ readonly type: z.ZodString;
305
+ };
306
+ readonly subject: {
307
+ readonly pretty: "subject";
308
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
+ };
310
+ readonly description: {
311
+ readonly pretty: "body";
312
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ };
314
+ readonly createdon: {
315
+ readonly pretty: "createdOn";
316
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ };
318
+ readonly statuscode: {
319
+ readonly pretty: "statusCode";
320
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
321
+ };
322
+ readonly _regardingobjectid_value: {
323
+ readonly relationshipName: "regardingobjectid_incident_ww_webmessage";
324
+ readonly entity: "incidents";
325
+ readonly pretty: "regardingValue";
326
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
+ };
328
+ readonly from: {
329
+ readonly pretty: "fromParties";
330
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
331
+ id: z.ZodString;
332
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
335
+ id: string;
336
+ }, {
337
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
338
+ id: string;
339
+ }>, "many">>>;
340
+ readonly isPartyList: true;
341
+ };
342
+ readonly to: {
343
+ readonly pretty: "toParties";
344
+ readonly type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
345
+ id: z.ZodString;
346
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
349
+ id: string;
350
+ }, {
351
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
352
+ id: string;
353
+ }>, "many">>>;
354
+ readonly isPartyList: true;
355
+ };
356
+ readonly ww_WebMessage_activity_parties: {
357
+ readonly pretty: "parties";
358
+ readonly entityKey: "activityParty";
359
+ readonly isArray: true;
360
+ };
361
+ }>, z.UnknownKeysParam, z.ZodTypeAny, {
362
+ activityId: string;
363
+ etag?: string | null | undefined;
364
+ versionNumber?: number | null | undefined;
365
+ createdByValue?: string | null | undefined;
366
+ createdOn?: string | null | undefined;
367
+ createdOnBehalfByValue?: string | null | undefined;
368
+ modifiedByValue?: string | null | undefined;
369
+ modifiedOn?: string | null | undefined;
370
+ modifiedOnBehalfByValue?: string | null | undefined;
371
+ stateCode?: number | null | undefined;
372
+ statusCode?: number | null | undefined;
373
+ importSequenceNumber?: number | null | undefined;
374
+ overriddenCreatedOn?: string | null | undefined;
375
+ timezoneRuleVersionNumber?: string | number | null | undefined;
376
+ utcConversionTimezoneCode?: string | number | null | undefined;
377
+ ownerIdValue?: string | null | undefined;
378
+ owningBusinessUnitValue?: string | null | undefined;
379
+ owningTeamValue?: string | null | undefined;
380
+ owningUserValue?: string | null | undefined;
381
+ body?: string | null | undefined;
382
+ subject?: string | null | undefined;
383
+ regardingValue?: string | null | undefined;
384
+ parties?: any;
385
+ fromParties?: {
386
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
387
+ id: string;
388
+ }[] | null | undefined;
389
+ toParties?: {
390
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
391
+ id: string;
392
+ }[] | null | undefined;
393
+ }, {
394
+ activityId: string;
395
+ etag?: string | null | undefined;
396
+ versionNumber?: number | null | undefined;
397
+ createdByValue?: string | null | undefined;
398
+ createdOn?: string | null | undefined;
399
+ createdOnBehalfByValue?: string | null | undefined;
400
+ modifiedByValue?: string | null | undefined;
401
+ modifiedOn?: string | null | undefined;
402
+ modifiedOnBehalfByValue?: string | null | undefined;
403
+ stateCode?: number | null | undefined;
404
+ statusCode?: number | null | undefined;
405
+ importSequenceNumber?: number | null | undefined;
406
+ overriddenCreatedOn?: string | null | undefined;
407
+ timezoneRuleVersionNumber?: string | number | null | undefined;
408
+ utcConversionTimezoneCode?: string | number | null | undefined;
409
+ ownerIdValue?: string | null | undefined;
410
+ owningBusinessUnitValue?: string | null | undefined;
411
+ owningTeamValue?: string | null | undefined;
412
+ owningUserValue?: string | null | undefined;
413
+ body?: string | null | undefined;
414
+ subject?: string | null | undefined;
415
+ regardingValue?: string | null | undefined;
416
+ parties?: any;
417
+ fromParties?: {
418
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
419
+ id: string;
420
+ }[] | null | undefined;
421
+ toParties?: {
422
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
423
+ id: string;
424
+ }[] | null | undefined;
425
+ }>;
426
+ SPayloadAPI: z.ZodObject<{
427
+ readonly activityId: z.ZodOptional<z.ZodString>;
428
+ readonly subject: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
429
+ readonly body: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
430
+ readonly createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
431
+ readonly statusCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
432
+ readonly regardingValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
433
+ readonly fromParties: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
434
+ id: z.ZodString;
435
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
438
+ id: string;
439
+ }, {
440
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
441
+ id: string;
442
+ }>, "many">>>>;
443
+ readonly toParties: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
444
+ id: z.ZodString;
445
+ type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
448
+ id: string;
449
+ }, {
450
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
451
+ id: string;
452
+ }>, "many">>>>;
453
+ readonly parties: z.ZodOptional<z.ZodTypeAny>;
454
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
455
+ createdOn?: string | null | undefined;
456
+ statusCode?: number | null | undefined;
457
+ body?: string | null | undefined;
458
+ activityId?: string | undefined;
459
+ subject?: string | null | undefined;
460
+ regardingValue?: string | null | undefined;
461
+ parties?: any;
462
+ fromParties?: {
463
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
464
+ id: string;
465
+ }[] | null | undefined;
466
+ toParties?: {
467
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
468
+ id: string;
469
+ }[] | null | undefined;
470
+ }, {
471
+ createdOn?: string | null | undefined;
472
+ statusCode?: number | null | undefined;
473
+ body?: string | null | undefined;
474
+ activityId?: string | undefined;
475
+ subject?: string | null | undefined;
476
+ regardingValue?: string | null | undefined;
477
+ parties?: any;
478
+ fromParties?: {
479
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
480
+ id: string;
481
+ }[] | null | undefined;
482
+ toParties?: {
483
+ type: "account" | "contact" | "systemuser" | "team" | "queue";
484
+ id: string;
485
+ }[] | null | undefined;
486
+ }>;
487
+ mapD365ToPretty: (data: unknown) => Record<string, unknown>;
488
+ mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
489
+ };
490
+ export type TWebMessageD365 = z.infer<typeof WebMessageEntity.SResponseD365>;
491
+ export type TWebMessageAPI = z.infer<typeof WebMessageEntity.SResponseAPI>;
492
+ export type TWebMessagePayloadAPI = z.infer<typeof WebMessageEntity.SPayloadAPI>;
493
+ //# sourceMappingURL=TWebMessageAPI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TWebMessageAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/TWebMessageAPI.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3B,CAAA;AAGF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,YAAY,CAAC,CAAA;AAC1E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CACzC,OAAO,gBAAgB,CAAC,WAAW,CACpC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { createEntityTools } from '../_entityTools/CreateEntityTools.js';
2
+ import { z } from 'zod';
3
+ import { webMessageFields } from './DWebMessageAPI.js';
4
+ import { ownershipBaseFieldsD365 } from '../_bases/SBaseAPI.js';
5
+ export const WebMessageEntity = createEntityTools({
6
+ uniqueFields: webMessageFields,
7
+ baseFields: ownershipBaseFieldsD365,
8
+ });
9
+ //# sourceMappingURL=TWebMessageAPI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TWebMessageAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/TWebMessageAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAE/D,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,YAAY,EAAE,gBAAgB;IAC9B,UAAU,EAAE,uBAAuB;CACpC,CAAC,CAAA"}