@workwell-global/toolkit 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enums/EntityNames.d.ts +4 -0
- package/dist/enums/EntityNames.d.ts.map +1 -1
- package/dist/enums/EntityNames.js +4 -0
- package/dist/enums/EntityNames.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/EntityRegistry.js.map +1 -1
- package/dist/models/schemas/api/activityMimeAttachment/DActivityMimeAttachmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/activityMimeAttachment/DActivityMimeAttachmentAPI.js +0 -1
- package/dist/models/schemas/api/activityMimeAttachment/DActivityMimeAttachmentAPI.js.map +1 -1
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts +61 -0
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js +61 -0
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js.map +1 -0
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts +399 -0
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.js +9 -0
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.js.map +1 -0
- package/dist/models/schemas/api/activityParty/index.d.ts +419 -0
- package/dist/models/schemas/api/activityParty/index.d.ts.map +1 -0
- package/dist/models/schemas/api/activityParty/index.js +12 -0
- package/dist/models/schemas/api/activityParty/index.js.map +1 -0
- package/dist/models/schemas/api/assignment/index.js +1 -1
- package/dist/models/schemas/api/assignment/index.js.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +1 -0
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js +1 -0
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts +9 -0
- package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.js +10 -0
- package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
- package/dist/models/schemas/api/email/TEmailAPI.d.ts +18 -0
- package/dist/models/schemas/api/email/TEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/index.d.ts +22 -0
- package/dist/models/schemas/api/email/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.d.ts +1 -0
- package/dist/models/schemas/api/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.js +1 -0
- package/dist/models/schemas/api/index.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts +138 -3
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js +5 -2
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailAttachmentBFF.d.ts +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailAttachmentBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +125 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js +11 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts +122 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.js +6 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.js.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts +122 -0
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.js +6 -0
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.js.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts +27 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js +12 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +163 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js +24 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js.map +1 -0
- package/dist/models/schemas/bff/casesSummary/index.d.ts +3 -0
- package/dist/models/schemas/bff/casesSummary/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/casesSummary/index.js +3 -0
- package/dist/models/schemas/bff/casesSummary/index.js.map +1 -0
- package/dist/models/schemas/bff/index.d.ts +1 -0
- package/dist/models/schemas/bff/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/index.js +1 -0
- package/dist/models/schemas/bff/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -132,12 +132,134 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
132
132
|
body?: string | null | undefined;
|
|
133
133
|
filename?: string | null | undefined;
|
|
134
134
|
}>>>, "many">>;
|
|
135
|
+
emailParties: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
136
|
+
readonly _ownerid_value: {
|
|
137
|
+
readonly pretty: "ownerIdValue";
|
|
138
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
139
|
+
};
|
|
140
|
+
readonly _owningbusinessunit_value: {
|
|
141
|
+
readonly pretty: "owningBusinessUnitValue";
|
|
142
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
|
+
};
|
|
144
|
+
readonly _owningteam_value: {
|
|
145
|
+
readonly pretty: "owningTeamValue";
|
|
146
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
|
+
};
|
|
148
|
+
readonly _owninguser_value: {
|
|
149
|
+
readonly pretty: "owningUserValue";
|
|
150
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
151
|
+
};
|
|
152
|
+
readonly '@odata.etag': {
|
|
153
|
+
readonly pretty: "etag";
|
|
154
|
+
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
155
|
+
};
|
|
156
|
+
readonly versionnumber: {
|
|
157
|
+
readonly pretty: "versionNumber";
|
|
158
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
159
|
+
};
|
|
160
|
+
readonly _createdby_value: {
|
|
161
|
+
readonly pretty: "createdByValue";
|
|
162
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
};
|
|
164
|
+
readonly createdon: {
|
|
165
|
+
readonly pretty: "createdOn";
|
|
166
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
};
|
|
168
|
+
readonly _createdonbehalfby_value: {
|
|
169
|
+
readonly pretty: "createdOnBehalfByValue";
|
|
170
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
|
+
};
|
|
172
|
+
readonly _modifiedby_value: {
|
|
173
|
+
readonly pretty: "modifiedByValue";
|
|
174
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
};
|
|
176
|
+
readonly modifiedon: {
|
|
177
|
+
readonly pretty: "modifiedOn";
|
|
178
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
};
|
|
180
|
+
readonly _modifiedonbehalfby_value: {
|
|
181
|
+
readonly pretty: "modifiedOnBehalfByValue";
|
|
182
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
|
+
};
|
|
184
|
+
readonly statecode: {
|
|
185
|
+
readonly pretty: "stateCode";
|
|
186
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
187
|
+
};
|
|
188
|
+
readonly statuscode: {
|
|
189
|
+
readonly pretty: "statusCode";
|
|
190
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
191
|
+
};
|
|
192
|
+
readonly importsequencenumber: {
|
|
193
|
+
readonly pretty: "importSequenceNumber";
|
|
194
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
195
|
+
};
|
|
196
|
+
readonly overriddencreatedon: {
|
|
197
|
+
readonly pretty: "overriddenCreatedOn";
|
|
198
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
199
|
+
};
|
|
200
|
+
readonly timezoneruleversionnumber: {
|
|
201
|
+
readonly pretty: "timezoneRuleVersionNumber";
|
|
202
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
203
|
+
};
|
|
204
|
+
readonly utcconversiontimezonecode: {
|
|
205
|
+
readonly pretty: "utcConversionTimezoneCode";
|
|
206
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
207
|
+
};
|
|
208
|
+
} & {
|
|
209
|
+
readonly _partyid_value: {
|
|
210
|
+
readonly pretty: "contactId";
|
|
211
|
+
readonly type: z.ZodString;
|
|
212
|
+
};
|
|
213
|
+
readonly activitypartyid: {
|
|
214
|
+
readonly pretty: "activityPartyId";
|
|
215
|
+
readonly type: z.ZodString;
|
|
216
|
+
};
|
|
217
|
+
readonly addressused: {
|
|
218
|
+
readonly pretty: "addressUsed";
|
|
219
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
};
|
|
221
|
+
readonly participationtypemask: {
|
|
222
|
+
readonly pretty: "activityRole";
|
|
223
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
224
|
+
};
|
|
225
|
+
readonly scheduledend: {
|
|
226
|
+
readonly pretty: "scheduledEnd";
|
|
227
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
228
|
+
};
|
|
229
|
+
readonly scheduledStart: {
|
|
230
|
+
readonly pretty: "scheduledStart";
|
|
231
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
};
|
|
233
|
+
readonly donotfax: {
|
|
234
|
+
readonly pretty: "doNotFax";
|
|
235
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
236
|
+
};
|
|
237
|
+
readonly donotphone: {
|
|
238
|
+
readonly pretty: "doNotPhone";
|
|
239
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
240
|
+
};
|
|
241
|
+
readonly donotpostalmail: {
|
|
242
|
+
readonly pretty: "doNotPostalMail";
|
|
243
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
244
|
+
};
|
|
245
|
+
readonly ispartydeleted: {
|
|
246
|
+
readonly pretty: "isPartyDeleted";
|
|
247
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
248
|
+
};
|
|
249
|
+
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
250
|
+
contactId: string;
|
|
251
|
+
}, {
|
|
252
|
+
contactId: string;
|
|
253
|
+
}>>>, "many">>, any[] | undefined, ({
|
|
254
|
+
contactId: string;
|
|
255
|
+
} | null | undefined)[] | undefined>;
|
|
135
256
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
136
257
|
emailId: string;
|
|
137
258
|
sender?: string | null | undefined;
|
|
138
259
|
toRecipients?: string | null | undefined;
|
|
139
260
|
subject?: string | null | undefined;
|
|
140
261
|
emailBody?: string | null | undefined;
|
|
262
|
+
emailParties?: any[] | undefined;
|
|
141
263
|
attachments?: ({
|
|
142
264
|
activityMimeAttachmentId: string;
|
|
143
265
|
body?: string | null | undefined;
|
|
@@ -149,6 +271,9 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
149
271
|
toRecipients?: string | null | undefined;
|
|
150
272
|
subject?: string | null | undefined;
|
|
151
273
|
emailBody?: string | null | undefined;
|
|
274
|
+
emailParties?: ({
|
|
275
|
+
contactId: string;
|
|
276
|
+
} | null | undefined)[] | undefined;
|
|
152
277
|
attachments?: ({
|
|
153
278
|
activityMimeAttachmentId: string;
|
|
154
279
|
body?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetCaseEmailBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkBvB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { SCaseEmailAttachmentBFF } from './SGetCaseEmailAttachmentBFF.js';
|
|
3
3
|
import { emailFields } from '../../api/email/DEmailAPI.js';
|
|
4
4
|
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
5
|
+
import { SCaseEmailPartiesBFF } from './SGetCaseEmailPartiesBFF.js';
|
|
5
6
|
const filteredFields = pickPrettyFields(emailFields, [
|
|
6
7
|
'emailId',
|
|
7
8
|
'emailBody',
|
|
@@ -11,5 +12,15 @@ const filteredFields = pickPrettyFields(emailFields, [
|
|
|
11
12
|
]);
|
|
12
13
|
export const SGetCaseEmailBFF = createPrettySchema(filteredFields).extend({
|
|
13
14
|
attachments: z.array(SCaseEmailAttachmentBFF).optional(),
|
|
15
|
+
emailParties: z
|
|
16
|
+
.array(SCaseEmailPartiesBFF)
|
|
17
|
+
.optional()
|
|
18
|
+
.transform(parties => {
|
|
19
|
+
if (!parties)
|
|
20
|
+
return undefined;
|
|
21
|
+
return parties
|
|
22
|
+
.filter((party) => party?.contactId)
|
|
23
|
+
.map((party) => party.contactId);
|
|
24
|
+
}),
|
|
14
25
|
});
|
|
15
26
|
//# sourceMappingURL=SGetCaseEmailBFF.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetCaseEmailBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE,MAAM,cAAc,GAAG,gBAAgB,CAAC,WAAW,EAAE;IACnD,SAAS;IACT,WAAW;IACX,cAAc;IACd,QAAQ;IACR,SAAS;CACV,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IACxE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,EAAE;IACxD,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,SAAS,CAAC,OAAO,CAAC,EAAE;QACnB,IAAI,CAAC,OAAO;YAAE,OAAO,SAAS,CAAA;QAE9B,OAAO,OAAO;aACX,MAAM,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;aACxC,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;IACzC,CAAC,CAAC;CACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
3
|
+
readonly _ownerid_value: {
|
|
4
|
+
readonly pretty: "ownerIdValue";
|
|
5
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
};
|
|
7
|
+
readonly _owningbusinessunit_value: {
|
|
8
|
+
readonly pretty: "owningBusinessUnitValue";
|
|
9
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
};
|
|
11
|
+
readonly _owningteam_value: {
|
|
12
|
+
readonly pretty: "owningTeamValue";
|
|
13
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
};
|
|
15
|
+
readonly _owninguser_value: {
|
|
16
|
+
readonly pretty: "owningUserValue";
|
|
17
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
};
|
|
19
|
+
readonly '@odata.etag': {
|
|
20
|
+
readonly pretty: "etag";
|
|
21
|
+
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
22
|
+
};
|
|
23
|
+
readonly versionnumber: {
|
|
24
|
+
readonly pretty: "versionNumber";
|
|
25
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
};
|
|
27
|
+
readonly _createdby_value: {
|
|
28
|
+
readonly pretty: "createdByValue";
|
|
29
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
};
|
|
31
|
+
readonly createdon: {
|
|
32
|
+
readonly pretty: "createdOn";
|
|
33
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
};
|
|
35
|
+
readonly _createdonbehalfby_value: {
|
|
36
|
+
readonly pretty: "createdOnBehalfByValue";
|
|
37
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
};
|
|
39
|
+
readonly _modifiedby_value: {
|
|
40
|
+
readonly pretty: "modifiedByValue";
|
|
41
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
};
|
|
43
|
+
readonly modifiedon: {
|
|
44
|
+
readonly pretty: "modifiedOn";
|
|
45
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
};
|
|
47
|
+
readonly _modifiedonbehalfby_value: {
|
|
48
|
+
readonly pretty: "modifiedOnBehalfByValue";
|
|
49
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
};
|
|
51
|
+
readonly statecode: {
|
|
52
|
+
readonly pretty: "stateCode";
|
|
53
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
|
+
};
|
|
55
|
+
readonly statuscode: {
|
|
56
|
+
readonly pretty: "statusCode";
|
|
57
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
|
+
};
|
|
59
|
+
readonly importsequencenumber: {
|
|
60
|
+
readonly pretty: "importSequenceNumber";
|
|
61
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
};
|
|
63
|
+
readonly overriddencreatedon: {
|
|
64
|
+
readonly pretty: "overriddenCreatedOn";
|
|
65
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
};
|
|
67
|
+
readonly timezoneruleversionnumber: {
|
|
68
|
+
readonly pretty: "timezoneRuleVersionNumber";
|
|
69
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
70
|
+
};
|
|
71
|
+
readonly utcconversiontimezonecode: {
|
|
72
|
+
readonly pretty: "utcConversionTimezoneCode";
|
|
73
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
74
|
+
};
|
|
75
|
+
} & {
|
|
76
|
+
readonly _partyid_value: {
|
|
77
|
+
readonly pretty: "contactId";
|
|
78
|
+
readonly type: z.ZodString;
|
|
79
|
+
};
|
|
80
|
+
readonly activitypartyid: {
|
|
81
|
+
readonly pretty: "activityPartyId";
|
|
82
|
+
readonly type: z.ZodString;
|
|
83
|
+
};
|
|
84
|
+
readonly addressused: {
|
|
85
|
+
readonly pretty: "addressUsed";
|
|
86
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
};
|
|
88
|
+
readonly participationtypemask: {
|
|
89
|
+
readonly pretty: "activityRole";
|
|
90
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
|
+
};
|
|
92
|
+
readonly scheduledend: {
|
|
93
|
+
readonly pretty: "scheduledEnd";
|
|
94
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
};
|
|
96
|
+
readonly scheduledStart: {
|
|
97
|
+
readonly pretty: "scheduledStart";
|
|
98
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
};
|
|
100
|
+
readonly donotfax: {
|
|
101
|
+
readonly pretty: "doNotFax";
|
|
102
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
103
|
+
};
|
|
104
|
+
readonly donotphone: {
|
|
105
|
+
readonly pretty: "doNotPhone";
|
|
106
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
107
|
+
};
|
|
108
|
+
readonly donotpostalmail: {
|
|
109
|
+
readonly pretty: "doNotPostalMail";
|
|
110
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
|
+
};
|
|
112
|
+
readonly ispartydeleted: {
|
|
113
|
+
readonly pretty: "isPartyDeleted";
|
|
114
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
|
+
};
|
|
116
|
+
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
117
|
+
contactId: string;
|
|
118
|
+
}, {
|
|
119
|
+
contactId: string;
|
|
120
|
+
}>>>;
|
|
121
|
+
export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
|
|
122
|
+
//# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailPartiesBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAErB,CAAA;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,SAAS,EAAE,IAAI;CAChB,CAAC,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
3
|
+
readonly _ownerid_value: {
|
|
4
|
+
readonly pretty: "ownerIdValue";
|
|
5
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
};
|
|
7
|
+
readonly _owningbusinessunit_value: {
|
|
8
|
+
readonly pretty: "owningBusinessUnitValue";
|
|
9
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
};
|
|
11
|
+
readonly _owningteam_value: {
|
|
12
|
+
readonly pretty: "owningTeamValue";
|
|
13
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
};
|
|
15
|
+
readonly _owninguser_value: {
|
|
16
|
+
readonly pretty: "owningUserValue";
|
|
17
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
};
|
|
19
|
+
readonly '@odata.etag': {
|
|
20
|
+
readonly pretty: "etag";
|
|
21
|
+
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
22
|
+
};
|
|
23
|
+
readonly versionnumber: {
|
|
24
|
+
readonly pretty: "versionNumber";
|
|
25
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
};
|
|
27
|
+
readonly _createdby_value: {
|
|
28
|
+
readonly pretty: "createdByValue";
|
|
29
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
};
|
|
31
|
+
readonly createdon: {
|
|
32
|
+
readonly pretty: "createdOn";
|
|
33
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
};
|
|
35
|
+
readonly _createdonbehalfby_value: {
|
|
36
|
+
readonly pretty: "createdOnBehalfByValue";
|
|
37
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
};
|
|
39
|
+
readonly _modifiedby_value: {
|
|
40
|
+
readonly pretty: "modifiedByValue";
|
|
41
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
};
|
|
43
|
+
readonly modifiedon: {
|
|
44
|
+
readonly pretty: "modifiedOn";
|
|
45
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
};
|
|
47
|
+
readonly _modifiedonbehalfby_value: {
|
|
48
|
+
readonly pretty: "modifiedOnBehalfByValue";
|
|
49
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
};
|
|
51
|
+
readonly statecode: {
|
|
52
|
+
readonly pretty: "stateCode";
|
|
53
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
|
+
};
|
|
55
|
+
readonly statuscode: {
|
|
56
|
+
readonly pretty: "statusCode";
|
|
57
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
|
+
};
|
|
59
|
+
readonly importsequencenumber: {
|
|
60
|
+
readonly pretty: "importSequenceNumber";
|
|
61
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
};
|
|
63
|
+
readonly overriddencreatedon: {
|
|
64
|
+
readonly pretty: "overriddenCreatedOn";
|
|
65
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
+
};
|
|
67
|
+
readonly timezoneruleversionnumber: {
|
|
68
|
+
readonly pretty: "timezoneRuleVersionNumber";
|
|
69
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
70
|
+
};
|
|
71
|
+
readonly utcconversiontimezonecode: {
|
|
72
|
+
readonly pretty: "utcConversionTimezoneCode";
|
|
73
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
74
|
+
};
|
|
75
|
+
} & {
|
|
76
|
+
readonly _partyid_value: {
|
|
77
|
+
readonly pretty: "contactId";
|
|
78
|
+
readonly type: z.ZodString;
|
|
79
|
+
};
|
|
80
|
+
readonly activitypartyid: {
|
|
81
|
+
readonly pretty: "activityPartyId";
|
|
82
|
+
readonly type: z.ZodString;
|
|
83
|
+
};
|
|
84
|
+
readonly addressused: {
|
|
85
|
+
readonly pretty: "addressUsed";
|
|
86
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
};
|
|
88
|
+
readonly participationtypemask: {
|
|
89
|
+
readonly pretty: "activityRole";
|
|
90
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
|
+
};
|
|
92
|
+
readonly scheduledend: {
|
|
93
|
+
readonly pretty: "scheduledEnd";
|
|
94
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
};
|
|
96
|
+
readonly scheduledStart: {
|
|
97
|
+
readonly pretty: "scheduledStart";
|
|
98
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
};
|
|
100
|
+
readonly donotfax: {
|
|
101
|
+
readonly pretty: "doNotFax";
|
|
102
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
103
|
+
};
|
|
104
|
+
readonly donotphone: {
|
|
105
|
+
readonly pretty: "doNotPhone";
|
|
106
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
107
|
+
};
|
|
108
|
+
readonly donotpostalmail: {
|
|
109
|
+
readonly pretty: "doNotPostalMail";
|
|
110
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
|
+
};
|
|
112
|
+
readonly ispartydeleted: {
|
|
113
|
+
readonly pretty: "isPartyDeleted";
|
|
114
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
|
+
};
|
|
116
|
+
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
117
|
+
contactId: string;
|
|
118
|
+
}, {
|
|
119
|
+
contactId: string;
|
|
120
|
+
}>>>;
|
|
121
|
+
export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
|
|
122
|
+
//# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailPartiesBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAErB,CAAA;AAEZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseEmailPartiesBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,YAAY,CAAC,IAAI,CAAC;IACxE,SAAS,EAAE,IAAI;CAChB,CAAC,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const SGetCasesSummaryBFF: z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
3
|
+
readonly incidentid: {
|
|
4
|
+
readonly pretty: "caseId";
|
|
5
|
+
readonly type: z.ZodString;
|
|
6
|
+
};
|
|
7
|
+
readonly title: {
|
|
8
|
+
readonly pretty: "caseTitle";
|
|
9
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
};
|
|
11
|
+
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
12
|
+
caseId: string;
|
|
13
|
+
caseTitle?: string | null | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
caseId: string;
|
|
16
|
+
caseTitle?: string | null | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const SCasesSummaryPathParamsBFF: z.ZodObject<{
|
|
19
|
+
userId: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
userId: string;
|
|
22
|
+
}, {
|
|
23
|
+
userId: string;
|
|
24
|
+
}>;
|
|
25
|
+
export type TGetCasesSummaryBFF = z.infer<typeof SGetCasesSummaryBFF>;
|
|
26
|
+
export type TCasesSummaryPathParamsBFF = z.infer<typeof SCasesSummaryPathParamsBFF>;
|
|
27
|
+
//# sourceMappingURL=SGetCasesSummaryBFF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCasesSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAYnB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAAqC,CAAA;AAErE,eAAO,MAAM,0BAA0B;;;;;;EAErC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AACrE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
import { caseManagementFields } from '../../api/caseManagement/DCaseManagementAPI.js';
|
|
3
|
+
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
4
|
+
const filteredFields = pickPrettyFields(caseManagementFields, [
|
|
5
|
+
'caseTitle',
|
|
6
|
+
'caseId',
|
|
7
|
+
]);
|
|
8
|
+
export const SGetCasesSummaryBFF = createPrettySchema(filteredFields);
|
|
9
|
+
export const SCasesSummaryPathParamsBFF = z.object({
|
|
10
|
+
userId: z.string().uuid(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=SGetCasesSummaryBFF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCasesSummaryBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAA;AACrF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AAErD,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;CACT,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAA;AAErE,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC1B,CAAC,CAAA"}
|