@workwell-global/toolkit 1.1.24 → 1.1.27
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/activityPointer/DActivityPointerAPI.d.ts +39 -0
- package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js +29 -0
- package/dist/models/schemas/api/activityPointer/DActivityPointerAPI.js.map +1 -0
- package/dist/models/schemas/api/activityPointer/TActivityPointerAPI.d.ts +342 -0
- package/dist/models/schemas/api/activityPointer/TActivityPointerAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/activityPointer/TActivityPointerAPI.js +9 -0
- package/dist/models/schemas/api/activityPointer/TActivityPointerAPI.js.map +1 -0
- package/dist/models/schemas/api/activityPointer/index.d.ts +351 -0
- package/dist/models/schemas/api/activityPointer/index.d.ts.map +1 -0
- package/dist/models/schemas/api/activityPointer/index.js +12 -0
- package/dist/models/schemas/api/activityPointer/index.js.map +1 -0
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts +0 -9
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js +0 -9
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +0 -18
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/index.d.ts +0 -22
- package/dist/models/schemas/api/assignment/index.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts +25 -0
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js +13 -0
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +66 -8
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/index.d.ts +70 -8
- package/dist/models/schemas/api/caseManagement/index.d.ts.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts +8 -0
- package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.js +2 -0
- package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
- package/dist/models/schemas/api/email/TEmailAPI.d.ts +51 -24
- package/dist/models/schemas/api/email/TEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/index.d.ts +51 -24
- 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/api/referral/DReferralAPI.d.ts +0 -9
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.js +0 -9
- package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts +0 -18
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/index.d.ts +0 -22
- package/dist/models/schemas/api/referral/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseActivityBFF.d.ts +41 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseActivityBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseActivityBFF.js +18 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseActivityBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts +64 -289
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js +7 -2
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +14 -2
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js +2 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts +30 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js +5 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +14 -2
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js +2 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +10 -4221
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +2 -50
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -1
- package/package.json +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +0 -306
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +0 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js +0 -12
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js.map +0 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +0 -306
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +0 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js +0 -12
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js.map +0 -1
|
@@ -56,7 +56,6 @@ export declare const Referral: {
|
|
|
56
56
|
"assignment/workCountry": string;
|
|
57
57
|
"assignment/solution": string;
|
|
58
58
|
referralLogs: string;
|
|
59
|
-
referralDocuments: string;
|
|
60
59
|
"contractor/contractorFormattedValue": string;
|
|
61
60
|
"agency/agencyFormattedValue": string;
|
|
62
61
|
"agency/agencyContactFormattedValue": string;
|
|
@@ -228,7 +227,6 @@ export declare const Referral: {
|
|
|
228
227
|
readonly ww_ca_Country: "assignment/workCountry";
|
|
229
228
|
readonly ww_Parent_Solution: "assignment/parentSolution";
|
|
230
229
|
readonly ww_ca_SolutionPackage: "assignment/solution";
|
|
231
|
-
readonly ww_ContractorDocument_ww_SalesChecklist_NN: "referralDocuments";
|
|
232
230
|
readonly _organizationid_value: "organizationIdValue";
|
|
233
231
|
readonly '@odata.etag': "etag";
|
|
234
232
|
readonly versionnumber: "versionNumber";
|
|
@@ -365,7 +363,6 @@ export declare const Referral: {
|
|
|
365
363
|
readonly ww_ca_Country: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
366
364
|
readonly ww_Parent_Solution: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
367
365
|
readonly ww_ca_SolutionPackage: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
368
|
-
readonly ww_ContractorDocument_ww_SalesChecklist_NN: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
369
366
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
370
367
|
'@odata.etag'?: string | null | undefined;
|
|
371
368
|
_createdby_value?: string | null | undefined;
|
|
@@ -419,7 +416,6 @@ export declare const Referral: {
|
|
|
419
416
|
ww_ca_Country?: any;
|
|
420
417
|
ww_ca_SolutionPackage?: any;
|
|
421
418
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
422
|
-
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
423
419
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
424
420
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
425
421
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -540,7 +536,6 @@ export declare const Referral: {
|
|
|
540
536
|
ww_ca_Country?: any;
|
|
541
537
|
ww_ca_SolutionPackage?: any;
|
|
542
538
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
543
|
-
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
544
539
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
545
540
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
546
541
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -714,7 +709,6 @@ export declare const Referral: {
|
|
|
714
709
|
readonly ww_ca_Country: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
715
710
|
readonly ww_Parent_Solution: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
716
711
|
readonly ww_ca_SolutionPackage: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
717
|
-
readonly ww_ContractorDocument_ww_SalesChecklist_NN: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
718
712
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
719
713
|
_transactioncurrencyid_value?: string | null | undefined;
|
|
720
714
|
ww_totalrevenue?: number | null | undefined;
|
|
@@ -753,7 +747,6 @@ export declare const Referral: {
|
|
|
753
747
|
ww_ca_Country?: any;
|
|
754
748
|
ww_ca_SolutionPackage?: any;
|
|
755
749
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
756
|
-
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
757
750
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
758
751
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
759
752
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -859,7 +852,6 @@ export declare const Referral: {
|
|
|
859
852
|
ww_ca_Country?: any;
|
|
860
853
|
ww_ca_SolutionPackage?: any;
|
|
861
854
|
ww_referrallog_Referral_ww_saleschecklist?: any;
|
|
862
|
-
ww_ContractorDocument_ww_SalesChecklist_NN?: any;
|
|
863
855
|
"_ww_ca_contractor_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
864
856
|
"_ww_ca_agency_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
865
857
|
"_ww_ca_agencyconsultant_value@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
@@ -1433,11 +1425,6 @@ export declare const Referral: {
|
|
|
1433
1425
|
readonly pretty: "assignment/solution";
|
|
1434
1426
|
readonly entityKey: "solution";
|
|
1435
1427
|
};
|
|
1436
|
-
readonly ww_ContractorDocument_ww_SalesChecklist_NN: {
|
|
1437
|
-
readonly pretty: "referralDocuments";
|
|
1438
|
-
readonly entityKey: "contractorDocument";
|
|
1439
|
-
readonly isArray: true;
|
|
1440
|
-
};
|
|
1441
1428
|
}>, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
1442
1429
|
agency: {
|
|
1443
1430
|
agencyValue?: string | null | undefined;
|
|
@@ -1572,7 +1559,6 @@ export declare const Referral: {
|
|
|
1572
1559
|
name?: string | null | undefined;
|
|
1573
1560
|
salesCodeValue?: string | null | undefined;
|
|
1574
1561
|
referralLogs?: any;
|
|
1575
|
-
referralDocuments?: any;
|
|
1576
1562
|
}, {
|
|
1577
1563
|
agency: {
|
|
1578
1564
|
agencyValue?: string | null | undefined;
|
|
@@ -1707,7 +1693,6 @@ export declare const Referral: {
|
|
|
1707
1693
|
name?: string | null | undefined;
|
|
1708
1694
|
salesCodeValue?: string | null | undefined;
|
|
1709
1695
|
referralLogs?: any;
|
|
1710
|
-
referralDocuments?: any;
|
|
1711
1696
|
}>;
|
|
1712
1697
|
SPayloadAPI: import("zod").ZodObject<{
|
|
1713
1698
|
readonly referralId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2036,7 +2021,6 @@ export declare const Referral: {
|
|
|
2036
2021
|
placeholderForSiFlow?: string | null | undefined;
|
|
2037
2022
|
}>>;
|
|
2038
2023
|
readonly referralLogs: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
2039
|
-
readonly referralDocuments: import("zod").ZodOptional<import("zod").ZodTypeAny>;
|
|
2040
2024
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
2041
2025
|
agency?: {
|
|
2042
2026
|
agencyValue?: string | null | undefined;
|
|
@@ -2156,7 +2140,6 @@ export declare const Referral: {
|
|
|
2156
2140
|
} | undefined;
|
|
2157
2141
|
referralFriendlyId?: string | undefined;
|
|
2158
2142
|
referralLogs?: any;
|
|
2159
|
-
referralDocuments?: any;
|
|
2160
2143
|
}, {
|
|
2161
2144
|
agency?: {
|
|
2162
2145
|
agencyValue?: string | null | undefined;
|
|
@@ -2276,7 +2259,6 @@ export declare const Referral: {
|
|
|
2276
2259
|
} | undefined;
|
|
2277
2260
|
referralFriendlyId?: string | undefined;
|
|
2278
2261
|
referralLogs?: any;
|
|
2279
|
-
referralDocuments?: any;
|
|
2280
2262
|
}>;
|
|
2281
2263
|
mapD365ToPretty: (data: unknown) => Record<string, unknown>;
|
|
2282
2264
|
mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
|
|
@@ -2551,10 +2533,6 @@ export declare const Referral: {
|
|
|
2551
2533
|
readonly relationshipName: "ww_referrallog_Referral_ww_saleschecklist";
|
|
2552
2534
|
readonly entity: "ww_referrallogs";
|
|
2553
2535
|
};
|
|
2554
|
-
readonly documents: {
|
|
2555
|
-
readonly relationshipName: "ww_ContractorDocument_ww_SalesChecklist_NN";
|
|
2556
|
-
readonly entity: "ww_contractordocuments";
|
|
2557
|
-
};
|
|
2558
2536
|
};
|
|
2559
2537
|
};
|
|
2560
2538
|
export * from './TReferralAPI.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/referral/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKpB,CAAA;AAID,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SGetCaseActivityBFF: z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
3
|
+
readonly activityid: {
|
|
4
|
+
readonly pretty: "activityId";
|
|
5
|
+
readonly type: z.ZodString;
|
|
6
|
+
};
|
|
7
|
+
readonly activitytypecode: {
|
|
8
|
+
readonly pretty: "activityType";
|
|
9
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
};
|
|
11
|
+
readonly subject: {
|
|
12
|
+
readonly pretty: "subject";
|
|
13
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
};
|
|
15
|
+
readonly description: {
|
|
16
|
+
readonly pretty: "body";
|
|
17
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
};
|
|
19
|
+
readonly createdon: {
|
|
20
|
+
readonly pretty: "createdOn";
|
|
21
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
};
|
|
23
|
+
}> & {
|
|
24
|
+
fromUser: z.ZodBoolean;
|
|
25
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
26
|
+
activityId: string;
|
|
27
|
+
fromUser: boolean;
|
|
28
|
+
createdOn?: string | null | undefined;
|
|
29
|
+
body?: string | null | undefined;
|
|
30
|
+
activityType?: string | null | undefined;
|
|
31
|
+
subject?: string | null | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
activityId: string;
|
|
34
|
+
fromUser: boolean;
|
|
35
|
+
createdOn?: string | null | undefined;
|
|
36
|
+
body?: string | null | undefined;
|
|
37
|
+
activityType?: string | null | undefined;
|
|
38
|
+
subject?: string | null | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
export type TGetCaseActivityBFF = z.infer<typeof SGetCaseActivityBFF>;
|
|
41
|
+
//# sourceMappingURL=SGetCaseActivityBFF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseActivityBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseActivityBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmBvB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE9B,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { activityPointerFields } from '../../api/activityPointer/DActivityPointerAPI.js';
|
|
3
|
+
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
4
|
+
// A single case-timeline entry (Email, PhoneCall or WebMessage), typed generically
|
|
5
|
+
// via `activityType`. `fromUser` is derived in the BFF from the activity's parties
|
|
6
|
+
// (sender party === the requesting user) so the portal never handles raw D365
|
|
7
|
+
// parties: false => mask author as "Workwell Global".
|
|
8
|
+
const filteredFields = pickPrettyFields(activityPointerFields, [
|
|
9
|
+
'activityId',
|
|
10
|
+
'activityType',
|
|
11
|
+
'subject',
|
|
12
|
+
'body',
|
|
13
|
+
'createdOn',
|
|
14
|
+
]);
|
|
15
|
+
export const SGetCaseActivityBFF = createPrettySchema(filteredFields).extend({
|
|
16
|
+
fromUser: z.boolean(),
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=SGetCaseActivityBFF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetCaseActivityBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseActivityBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,qBAAqB,EAAE,MAAM,kDAAkD,CAAA;AACxF,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AAErD,mFAAmF;AACnF,mFAAmF;AACnF,8EAA8E;AAC9E,sDAAsD;AACtD,MAAM,cAAc,GAAG,gBAAgB,CAAC,qBAAqB,EAAE;IAC7D,YAAY;IACZ,cAAc;IACd,SAAS;IACT,MAAM;IACN,WAAW;CACZ,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IAC3E,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAA"}
|
|
@@ -8,18 +8,34 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
|
|
|
8
8
|
readonly pretty: "caseTitle";
|
|
9
9
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
};
|
|
11
|
+
readonly ticketnumber: {
|
|
12
|
+
readonly pretty: "ticketNumber";
|
|
13
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
};
|
|
15
|
+
readonly statecode: {
|
|
16
|
+
readonly pretty: "stateCode";
|
|
17
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
};
|
|
19
|
+
readonly statuscode: {
|
|
20
|
+
readonly pretty: "statusCode";
|
|
21
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
};
|
|
23
|
+
readonly createdon: {
|
|
24
|
+
readonly pretty: "createdOn";
|
|
25
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
};
|
|
27
|
+
readonly modifiedon: {
|
|
28
|
+
readonly pretty: "modifiedOn";
|
|
29
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
};
|
|
11
31
|
}> & {
|
|
12
|
-
|
|
32
|
+
activities: z.ZodOptional<z.ZodArray<z.ZodObject<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
13
33
|
readonly activityid: {
|
|
14
|
-
readonly pretty: "
|
|
34
|
+
readonly pretty: "activityId";
|
|
15
35
|
readonly type: z.ZodString;
|
|
16
36
|
};
|
|
17
|
-
readonly
|
|
18
|
-
readonly pretty: "
|
|
19
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
};
|
|
21
|
-
readonly torecipients: {
|
|
22
|
-
readonly pretty: "toRecipients";
|
|
37
|
+
readonly activitytypecode: {
|
|
38
|
+
readonly pretty: "activityType";
|
|
23
39
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
40
|
};
|
|
25
41
|
readonly subject: {
|
|
@@ -27,303 +43,62 @@ export declare const SGetCaseBFF: z.ZodObject<import("../../api/_entityTools/Sch
|
|
|
27
43
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
44
|
};
|
|
29
45
|
readonly description: {
|
|
30
|
-
readonly pretty: "
|
|
46
|
+
readonly pretty: "body";
|
|
47
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
};
|
|
49
|
+
readonly createdon: {
|
|
50
|
+
readonly pretty: "createdOn";
|
|
31
51
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
52
|
};
|
|
33
53
|
}> & {
|
|
34
|
-
|
|
35
|
-
readonly _ownerid_value: {
|
|
36
|
-
readonly pretty: "ownerIdValue";
|
|
37
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
};
|
|
39
|
-
readonly _owningbusinessunit_value: {
|
|
40
|
-
readonly pretty: "owningBusinessUnitValue";
|
|
41
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
};
|
|
43
|
-
readonly _owningteam_value: {
|
|
44
|
-
readonly pretty: "owningTeamValue";
|
|
45
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
};
|
|
47
|
-
readonly _owninguser_value: {
|
|
48
|
-
readonly pretty: "owningUserValue";
|
|
49
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
};
|
|
51
|
-
readonly '@odata.etag': {
|
|
52
|
-
readonly pretty: "etag";
|
|
53
|
-
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
54
|
-
};
|
|
55
|
-
readonly versionnumber: {
|
|
56
|
-
readonly pretty: "versionNumber";
|
|
57
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
58
|
-
};
|
|
59
|
-
readonly _createdby_value: {
|
|
60
|
-
readonly pretty: "createdByValue";
|
|
61
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
};
|
|
63
|
-
readonly createdon: {
|
|
64
|
-
readonly pretty: "createdOn";
|
|
65
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
|
-
};
|
|
67
|
-
readonly _createdonbehalfby_value: {
|
|
68
|
-
readonly pretty: "createdOnBehalfByValue";
|
|
69
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
-
};
|
|
71
|
-
readonly _modifiedby_value: {
|
|
72
|
-
readonly pretty: "modifiedByValue";
|
|
73
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
-
};
|
|
75
|
-
readonly modifiedon: {
|
|
76
|
-
readonly pretty: "modifiedOn";
|
|
77
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
-
};
|
|
79
|
-
readonly _modifiedonbehalfby_value: {
|
|
80
|
-
readonly pretty: "modifiedOnBehalfByValue";
|
|
81
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
|
-
};
|
|
83
|
-
readonly statecode: {
|
|
84
|
-
readonly pretty: "stateCode";
|
|
85
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
86
|
-
};
|
|
87
|
-
readonly statuscode: {
|
|
88
|
-
readonly pretty: "statusCode";
|
|
89
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
|
-
};
|
|
91
|
-
readonly importsequencenumber: {
|
|
92
|
-
readonly pretty: "importSequenceNumber";
|
|
93
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
94
|
-
};
|
|
95
|
-
readonly overriddencreatedon: {
|
|
96
|
-
readonly pretty: "overriddenCreatedOn";
|
|
97
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
-
};
|
|
99
|
-
readonly timezoneruleversionnumber: {
|
|
100
|
-
readonly pretty: "timezoneRuleVersionNumber";
|
|
101
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
102
|
-
};
|
|
103
|
-
readonly utcconversiontimezonecode: {
|
|
104
|
-
readonly pretty: "utcConversionTimezoneCode";
|
|
105
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
106
|
-
};
|
|
107
|
-
} & {
|
|
108
|
-
readonly activitymimeattachmentid: {
|
|
109
|
-
readonly pretty: "activityMimeAttachmentId";
|
|
110
|
-
readonly type: z.ZodString;
|
|
111
|
-
};
|
|
112
|
-
readonly filesize: {
|
|
113
|
-
readonly pretty: "fileSize";
|
|
114
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
115
|
-
};
|
|
116
|
-
readonly objecttypecode: {
|
|
117
|
-
readonly pretty: "objectTypeCode";
|
|
118
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
-
};
|
|
120
|
-
readonly body: {
|
|
121
|
-
readonly pretty: "body";
|
|
122
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
-
};
|
|
124
|
-
readonly activitymimeattachmentidunique: {
|
|
125
|
-
readonly pretty: "activityMimeAttachmentIdUnique";
|
|
126
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
|
-
};
|
|
128
|
-
readonly activitysubject: {
|
|
129
|
-
readonly pretty: "activitySubject";
|
|
130
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
|
-
};
|
|
132
|
-
readonly filename: {
|
|
133
|
-
readonly pretty: "filename";
|
|
134
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
-
};
|
|
136
|
-
}>, "activityMimeAttachmentId" | "body" | "filename">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
137
|
-
activityMimeAttachmentId: string;
|
|
138
|
-
body?: string | null | undefined;
|
|
139
|
-
filename?: string | null | undefined;
|
|
140
|
-
}, {
|
|
141
|
-
activityMimeAttachmentId: string;
|
|
142
|
-
body?: string | null | undefined;
|
|
143
|
-
filename?: string | null | undefined;
|
|
144
|
-
}>>>, "many">>;
|
|
145
|
-
emailParties: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodNullable<z.ZodObject<Pick<import("../../api/_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
146
|
-
readonly _ownerid_value: {
|
|
147
|
-
readonly pretty: "ownerIdValue";
|
|
148
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
149
|
-
};
|
|
150
|
-
readonly _owningbusinessunit_value: {
|
|
151
|
-
readonly pretty: "owningBusinessUnitValue";
|
|
152
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
-
};
|
|
154
|
-
readonly _owningteam_value: {
|
|
155
|
-
readonly pretty: "owningTeamValue";
|
|
156
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
|
-
};
|
|
158
|
-
readonly _owninguser_value: {
|
|
159
|
-
readonly pretty: "owningUserValue";
|
|
160
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
161
|
-
};
|
|
162
|
-
readonly '@odata.etag': {
|
|
163
|
-
readonly pretty: "etag";
|
|
164
|
-
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
165
|
-
};
|
|
166
|
-
readonly versionnumber: {
|
|
167
|
-
readonly pretty: "versionNumber";
|
|
168
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
169
|
-
};
|
|
170
|
-
readonly _createdby_value: {
|
|
171
|
-
readonly pretty: "createdByValue";
|
|
172
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
-
};
|
|
174
|
-
readonly createdon: {
|
|
175
|
-
readonly pretty: "createdOn";
|
|
176
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
-
};
|
|
178
|
-
readonly _createdonbehalfby_value: {
|
|
179
|
-
readonly pretty: "createdOnBehalfByValue";
|
|
180
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
|
-
};
|
|
182
|
-
readonly _modifiedby_value: {
|
|
183
|
-
readonly pretty: "modifiedByValue";
|
|
184
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
-
};
|
|
186
|
-
readonly modifiedon: {
|
|
187
|
-
readonly pretty: "modifiedOn";
|
|
188
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
|
-
};
|
|
190
|
-
readonly _modifiedonbehalfby_value: {
|
|
191
|
-
readonly pretty: "modifiedOnBehalfByValue";
|
|
192
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
-
};
|
|
194
|
-
readonly statecode: {
|
|
195
|
-
readonly pretty: "stateCode";
|
|
196
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
197
|
-
};
|
|
198
|
-
readonly statuscode: {
|
|
199
|
-
readonly pretty: "statusCode";
|
|
200
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
201
|
-
};
|
|
202
|
-
readonly importsequencenumber: {
|
|
203
|
-
readonly pretty: "importSequenceNumber";
|
|
204
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
205
|
-
};
|
|
206
|
-
readonly overriddencreatedon: {
|
|
207
|
-
readonly pretty: "overriddenCreatedOn";
|
|
208
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
-
};
|
|
210
|
-
readonly timezoneruleversionnumber: {
|
|
211
|
-
readonly pretty: "timezoneRuleVersionNumber";
|
|
212
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
213
|
-
};
|
|
214
|
-
readonly utcconversiontimezonecode: {
|
|
215
|
-
readonly pretty: "utcConversionTimezoneCode";
|
|
216
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
217
|
-
};
|
|
218
|
-
} & {
|
|
219
|
-
readonly _partyid_value: {
|
|
220
|
-
readonly pretty: "contactId";
|
|
221
|
-
readonly type: z.ZodString;
|
|
222
|
-
};
|
|
223
|
-
readonly activitypartyid: {
|
|
224
|
-
readonly pretty: "activityPartyId";
|
|
225
|
-
readonly type: z.ZodString;
|
|
226
|
-
};
|
|
227
|
-
readonly addressused: {
|
|
228
|
-
readonly pretty: "addressUsed";
|
|
229
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
|
-
};
|
|
231
|
-
readonly participationtypemask: {
|
|
232
|
-
readonly pretty: "activityRole";
|
|
233
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
234
|
-
};
|
|
235
|
-
readonly scheduledend: {
|
|
236
|
-
readonly pretty: "scheduledEnd";
|
|
237
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
|
-
};
|
|
239
|
-
readonly scheduledStart: {
|
|
240
|
-
readonly pretty: "scheduledStart";
|
|
241
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
242
|
-
};
|
|
243
|
-
readonly donotfax: {
|
|
244
|
-
readonly pretty: "doNotFax";
|
|
245
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
246
|
-
};
|
|
247
|
-
readonly donotphone: {
|
|
248
|
-
readonly pretty: "doNotPhone";
|
|
249
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
250
|
-
};
|
|
251
|
-
readonly donotpostalmail: {
|
|
252
|
-
readonly pretty: "doNotPostalMail";
|
|
253
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
254
|
-
};
|
|
255
|
-
readonly ispartydeleted: {
|
|
256
|
-
readonly pretty: "isPartyDeleted";
|
|
257
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
258
|
-
};
|
|
259
|
-
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
260
|
-
contactId: string;
|
|
261
|
-
}, {
|
|
262
|
-
contactId: string;
|
|
263
|
-
}>>>, "many">>, any[] | undefined, ({
|
|
264
|
-
contactId: string;
|
|
265
|
-
} | null | undefined)[] | undefined>;
|
|
54
|
+
fromUser: z.ZodBoolean;
|
|
266
55
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
56
|
+
activityId: string;
|
|
57
|
+
fromUser: boolean;
|
|
58
|
+
createdOn?: string | null | undefined;
|
|
59
|
+
body?: string | null | undefined;
|
|
60
|
+
activityType?: string | null | undefined;
|
|
270
61
|
subject?: string | null | undefined;
|
|
271
|
-
emailBody?: string | null | undefined;
|
|
272
|
-
emailParties?: any[] | undefined;
|
|
273
|
-
attachments?: ({
|
|
274
|
-
activityMimeAttachmentId: string;
|
|
275
|
-
body?: string | null | undefined;
|
|
276
|
-
filename?: string | null | undefined;
|
|
277
|
-
} | null | undefined)[] | undefined;
|
|
278
62
|
}, {
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
63
|
+
activityId: string;
|
|
64
|
+
fromUser: boolean;
|
|
65
|
+
createdOn?: string | null | undefined;
|
|
66
|
+
body?: string | null | undefined;
|
|
67
|
+
activityType?: string | null | undefined;
|
|
282
68
|
subject?: string | null | undefined;
|
|
283
|
-
emailBody?: string | null | undefined;
|
|
284
|
-
emailParties?: ({
|
|
285
|
-
contactId: string;
|
|
286
|
-
} | null | undefined)[] | undefined;
|
|
287
|
-
attachments?: ({
|
|
288
|
-
activityMimeAttachmentId: string;
|
|
289
|
-
body?: string | null | undefined;
|
|
290
|
-
filename?: string | null | undefined;
|
|
291
|
-
} | null | undefined)[] | undefined;
|
|
292
69
|
}>, "many">>;
|
|
293
70
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
294
71
|
caseId: string;
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
72
|
+
createdOn?: string | null | undefined;
|
|
73
|
+
modifiedOn?: string | null | undefined;
|
|
74
|
+
stateCode?: number | null | undefined;
|
|
75
|
+
statusCode?: number | null | undefined;
|
|
76
|
+
caseTitle?: string | null | undefined;
|
|
77
|
+
ticketNumber?: string | null | undefined;
|
|
78
|
+
activities?: {
|
|
79
|
+
activityId: string;
|
|
80
|
+
fromUser: boolean;
|
|
81
|
+
createdOn?: string | null | undefined;
|
|
82
|
+
body?: string | null | undefined;
|
|
83
|
+
activityType?: string | null | undefined;
|
|
299
84
|
subject?: string | null | undefined;
|
|
300
|
-
emailBody?: string | null | undefined;
|
|
301
|
-
emailParties?: any[] | undefined;
|
|
302
|
-
attachments?: ({
|
|
303
|
-
activityMimeAttachmentId: string;
|
|
304
|
-
body?: string | null | undefined;
|
|
305
|
-
filename?: string | null | undefined;
|
|
306
|
-
} | null | undefined)[] | undefined;
|
|
307
85
|
}[] | undefined;
|
|
308
|
-
caseTitle?: string | null | undefined;
|
|
309
86
|
}, {
|
|
310
87
|
caseId: string;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
88
|
+
createdOn?: string | null | undefined;
|
|
89
|
+
modifiedOn?: string | null | undefined;
|
|
90
|
+
stateCode?: number | null | undefined;
|
|
91
|
+
statusCode?: number | null | undefined;
|
|
92
|
+
caseTitle?: string | null | undefined;
|
|
93
|
+
ticketNumber?: string | null | undefined;
|
|
94
|
+
activities?: {
|
|
95
|
+
activityId: string;
|
|
96
|
+
fromUser: boolean;
|
|
97
|
+
createdOn?: string | null | undefined;
|
|
98
|
+
body?: string | null | undefined;
|
|
99
|
+
activityType?: string | null | undefined;
|
|
315
100
|
subject?: string | null | undefined;
|
|
316
|
-
emailBody?: string | null | undefined;
|
|
317
|
-
emailParties?: ({
|
|
318
|
-
contactId: string;
|
|
319
|
-
} | null | undefined)[] | undefined;
|
|
320
|
-
attachments?: ({
|
|
321
|
-
activityMimeAttachmentId: string;
|
|
322
|
-
body?: string | null | undefined;
|
|
323
|
-
filename?: string | null | undefined;
|
|
324
|
-
} | null | undefined)[] | undefined;
|
|
325
101
|
}[] | undefined;
|
|
326
|
-
caseTitle?: string | null | undefined;
|
|
327
102
|
}>;
|
|
328
103
|
export declare const SCasePathParamsBFF: z.ZodObject<{
|
|
329
104
|
caseId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetCaseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"SGetCaseBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAkBnB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEtB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
import { caseManagementFields } from '../../api/caseManagement/DCaseManagementAPI.js';
|
|
3
3
|
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
4
|
-
import {
|
|
4
|
+
import { SGetCaseActivityBFF } from './SGetCaseActivityBFF.js';
|
|
5
5
|
const filteredFields = pickPrettyFields(caseManagementFields, [
|
|
6
6
|
'caseTitle',
|
|
7
7
|
'caseId',
|
|
8
|
+
'ticketNumber',
|
|
9
|
+
'stateCode',
|
|
10
|
+
'statusCode',
|
|
11
|
+
'createdOn',
|
|
12
|
+
'modifiedOn',
|
|
8
13
|
]);
|
|
9
14
|
export const SGetCaseBFF = createPrettySchema(filteredFields).extend({
|
|
10
|
-
|
|
15
|
+
activities: z.array(SGetCaseActivityBFF).optional(),
|
|
11
16
|
});
|
|
12
17
|
export const SCasePathParamsBFF = z.object({
|
|
13
18
|
caseId: z.string().uuid(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetCaseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.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;AACrD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SGetCaseBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/caseDetail/SGetCaseBFF.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;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAE9D,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,EAAE;IAC5D,WAAW;IACX,QAAQ;IACR,cAAc;IACd,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;CACb,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACzB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA"}
|