@workwell-global/toolkit 1.1.29 → 1.1.31
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/CreateEntityTools.d.ts +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.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/_entityTools/MappersEntityTools.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js +6 -10
- package/dist/models/schemas/api/_entityTools/MappersEntityTools.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts +0 -3
- package/dist/models/schemas/api/_entityTools/PartyBindings.d.ts.map +1 -1
- package/dist/models/schemas/api/_entityTools/PartyBindings.js +5 -3
- package/dist/models/schemas/api/_entityTools/PartyBindings.js.map +1 -1
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts +34 -2
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js +35 -2
- package/dist/models/schemas/api/activityParty/DActivityPartyAPI.js.map +1 -1
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts +81 -24
- package/dist/models/schemas/api/activityParty/TActivityPartyAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/activityParty/index.d.ts +81 -24
- package/dist/models/schemas/api/activityParty/index.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +41 -2
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js +26 -2
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.js.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts +7 -1
- package/dist/models/schemas/api/email/DEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/DEmailAPI.js +6 -1
- package/dist/models/schemas/api/email/DEmailAPI.js.map +1 -1
- package/dist/models/schemas/api/email/TEmailAPI.d.ts +10 -8
- package/dist/models/schemas/api/email/TEmailAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/email/index.d.ts +14 -8
- package/dist/models/schemas/api/email/index.d.ts.map +1 -1
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts +313 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.js +188 -0
- package/dist/models/schemas/api/systemUser/DSystemUserAPI.js.map +1 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts +1232 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.js +10 -0
- package/dist/models/schemas/api/systemUser/TSystemUserAPI.js.map +1 -0
- package/dist/models/schemas/api/systemUser/index.d.ts +1300 -0
- package/dist/models/schemas/api/systemUser/index.d.ts.map +1 -0
- package/dist/models/schemas/api/systemUser/index.js +12 -0
- package/dist/models/schemas/api/systemUser/index.js.map +1 -0
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts +62 -31
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.js +9 -33
- package/dist/models/schemas/api/webMessage/DWebMessageAPI.js.map +1 -1
- package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts +60 -157
- package/dist/models/schemas/api/webMessage/TWebMessageAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/index.d.ts +62 -159
- package/dist/models/schemas/api/webMessage/index.d.ts.map +1 -1
- package/dist/models/schemas/api/webMessage/webMessage.test.js +22 -16
- package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts +27 -9
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts +22 -4
- package/dist/models/schemas/bff/caseDetail/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts +82 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js +11 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts +22 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js +9 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseInitResponseBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +79 -119
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js +9 -26
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/index.d.ts +2 -0
- package/dist/models/schemas/bff/caseDetail/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/index.js +2 -0
- package/dist/models/schemas/bff/caseDetail/index.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts +22 -4
- package/dist/models/schemas/bff/casesSummary/SGetCaseEmailPartiesBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts +27 -9
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryEmailBFF.js.map +1 -1
- package/dist/models/schemas/bff/casesSummary/index.d.ts +0 -1
- package/dist/models/schemas/bff/casesSummary/index.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/index.js +0 -1
- package/dist/models/schemas/bff/casesSummary/index.js.map +1 -1
- package/dist/models/schemas/bff/config/SGetConfigBFF.d.ts +44 -44
- package/package.json +1 -1
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts +0 -104
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.d.ts.map +0 -1
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js +0 -30
- package/dist/models/schemas/bff/casesSummary/SPostCaseBFF.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/systemUser/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAA;AAID,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SystemUserEntity } from './TSystemUserAPI.js';
|
|
2
|
+
import * as Definitions from './DSystemUserAPI.js'; // Grabs all your Enums/Statuses
|
|
3
|
+
import { addToRegistry } from '../_entityTools/EntityRegistry.js';
|
|
4
|
+
import { EntityNames } from '../../../../enums/EntityNames.js';
|
|
5
|
+
export const SystemUser = {
|
|
6
|
+
Metadata: EntityNames.systemUser,
|
|
7
|
+
Tools: SystemUserEntity,
|
|
8
|
+
Options: Definitions.systemUserOptions,
|
|
9
|
+
};
|
|
10
|
+
addToRegistry('systemUser', SystemUser);
|
|
11
|
+
export * from './TSystemUserAPI.js';
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/systemUser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAA,CAAC,gCAAgC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE,WAAW,CAAC,UAAU;IAChC,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,WAAW,CAAC,iBAAiB;CACvC,CAAA;AAED,aAAa,CAAC,YAAY,EAAE,UAAU,CAAC,CAAA;AAEvC,cAAc,qBAAqB,CAAA"}
|
|
@@ -7,7 +7,7 @@ export declare const webMessageOptions: {
|
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
export declare const webMessageRelationships: {
|
|
10
|
-
readonly
|
|
10
|
+
readonly regardingValue: {
|
|
11
11
|
readonly relationshipName: "regardingobjectid_incident_ww_webmessage";
|
|
12
12
|
readonly entity: "incidents";
|
|
13
13
|
};
|
|
@@ -17,7 +17,7 @@ export declare const webMessageRelationships: {
|
|
|
17
17
|
};
|
|
18
18
|
readonly activityParties: {
|
|
19
19
|
readonly relationshipName: "ww_WebMessage_activity_parties";
|
|
20
|
-
readonly entity: "
|
|
20
|
+
readonly entity: "contacts";
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export declare const webMessageFields: {
|
|
@@ -47,38 +47,69 @@ export declare const webMessageFields: {
|
|
|
47
47
|
readonly pretty: "regardingValue";
|
|
48
48
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
49
|
};
|
|
50
|
-
readonly from: {
|
|
51
|
-
readonly pretty: "fromParties";
|
|
52
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
53
|
-
id: z.ZodString;
|
|
54
|
-
type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
|
|
55
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
type: "account" | "contact" | "systemuser" | "team" | "queue";
|
|
57
|
-
id: string;
|
|
58
|
-
}, {
|
|
59
|
-
type: "account" | "contact" | "systemuser" | "team" | "queue";
|
|
60
|
-
id: string;
|
|
61
|
-
}>, "many">>>;
|
|
62
|
-
readonly isPartyList: true;
|
|
63
|
-
};
|
|
64
|
-
readonly to: {
|
|
65
|
-
readonly pretty: "toParties";
|
|
66
|
-
readonly type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
67
|
-
id: z.ZodString;
|
|
68
|
-
type: z.ZodEnum<["account" | "contact" | "systemuser" | "team" | "queue", ...("account" | "contact" | "systemuser" | "team" | "queue")[]]>;
|
|
69
|
-
}, "strip", z.ZodTypeAny, {
|
|
70
|
-
type: "account" | "contact" | "systemuser" | "team" | "queue";
|
|
71
|
-
id: string;
|
|
72
|
-
}, {
|
|
73
|
-
type: "account" | "contact" | "systemuser" | "team" | "queue";
|
|
74
|
-
id: string;
|
|
75
|
-
}>, "many">>>;
|
|
76
|
-
readonly isPartyList: true;
|
|
77
|
-
};
|
|
78
50
|
readonly ww_WebMessage_activity_parties: {
|
|
79
51
|
readonly pretty: "parties";
|
|
80
|
-
readonly entityKey: "activityParty";
|
|
81
52
|
readonly isArray: true;
|
|
53
|
+
readonly childFields: {
|
|
54
|
+
readonly _partyid_value: {
|
|
55
|
+
readonly pretty: "contactId";
|
|
56
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
};
|
|
58
|
+
readonly partyid_contact: {
|
|
59
|
+
readonly relationshipName: "partyid_contact";
|
|
60
|
+
readonly entity: "contacts";
|
|
61
|
+
readonly pretty: "partyContact";
|
|
62
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
};
|
|
64
|
+
readonly partyid_systemuser: {
|
|
65
|
+
readonly relationshipName: "partyid_systemuser";
|
|
66
|
+
readonly entity: "systemusers";
|
|
67
|
+
readonly pretty: "partySystemUser";
|
|
68
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
};
|
|
70
|
+
readonly partyid_account: {
|
|
71
|
+
readonly relationshipName: "partyid_account";
|
|
72
|
+
readonly entity: "accounts";
|
|
73
|
+
readonly pretty: "partyAccount";
|
|
74
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
|
+
};
|
|
76
|
+
readonly activitypartyid: {
|
|
77
|
+
readonly pretty: "activityPartyId";
|
|
78
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
};
|
|
80
|
+
readonly addressused: {
|
|
81
|
+
readonly pretty: "addressUsed";
|
|
82
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
};
|
|
84
|
+
readonly participationtypemask: {
|
|
85
|
+
readonly pretty: "activityRole";
|
|
86
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
87
|
+
};
|
|
88
|
+
readonly scheduledend: {
|
|
89
|
+
readonly pretty: "scheduledEnd";
|
|
90
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
};
|
|
92
|
+
readonly scheduledStart: {
|
|
93
|
+
readonly pretty: "scheduledStart";
|
|
94
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
};
|
|
96
|
+
readonly donotfax: {
|
|
97
|
+
readonly pretty: "doNotFax";
|
|
98
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
|
+
};
|
|
100
|
+
readonly donotphone: {
|
|
101
|
+
readonly pretty: "doNotPhone";
|
|
102
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
103
|
+
};
|
|
104
|
+
readonly donotpostalmail: {
|
|
105
|
+
readonly pretty: "doNotPostalMail";
|
|
106
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
107
|
+
};
|
|
108
|
+
readonly ispartydeleted: {
|
|
109
|
+
readonly pretty: "isPartyDeleted";
|
|
110
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
82
113
|
};
|
|
83
114
|
};
|
|
84
115
|
//# sourceMappingURL=DWebMessageAPI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DWebMessageAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/DWebMessageAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"DWebMessageAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/DWebMessageAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,iBAAiB;;;;;;CAMpB,CAAA;AAEV,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;CAa1B,CAAA;AAEV,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBnB,CAAA"}
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { EntityNames } from '../../../../enums/EntityNames.js';
|
|
3
|
-
import {
|
|
4
|
-
// `ww_webmessage` is a custom D365 ACTIVITY entity (IsActivity = true) with NO
|
|
5
|
-
// custom attributes of its own: it carries only the inherited activity attribute
|
|
6
|
-
// set. Confirmed against dev CRM 2026-07-27 via
|
|
7
|
-
// EntityDefinitions(LogicalName='ww_webmessage')/Attributes.
|
|
8
|
-
//
|
|
9
|
-
// Consequences that drive this map:
|
|
10
|
-
// - `subject` is ApplicationRequired, so it must always be sent on create.
|
|
11
|
-
// - There is no `directioncode`, so message direction is derived from the From
|
|
12
|
-
// party (see the BFF `fromUser` derivation).
|
|
13
|
-
// - `statecode` is NOT valid for create (only `statuscode` is), so a new web
|
|
14
|
-
// message is always created in state Open.
|
|
3
|
+
import { activityPartyFields } from '../activityParty/DActivityPartyAPI.js';
|
|
15
4
|
export const webMessageOptions = {
|
|
16
|
-
// activitypointer statecode values, shared by every activity type.
|
|
17
5
|
ActivityState: {
|
|
18
6
|
open: 0,
|
|
19
7
|
completed: 1,
|
|
@@ -21,7 +9,7 @@ export const webMessageOptions = {
|
|
|
21
9
|
},
|
|
22
10
|
};
|
|
23
11
|
export const webMessageRelationships = {
|
|
24
|
-
|
|
12
|
+
regardingValue: {
|
|
25
13
|
relationshipName: 'regardingobjectid_incident_ww_webmessage',
|
|
26
14
|
entity: EntityNames.caseManagement.entitySetName,
|
|
27
15
|
},
|
|
@@ -29,12 +17,9 @@ export const webMessageRelationships = {
|
|
|
29
17
|
relationshipName: 'regardingobjectid_ww_enquiry_ww_webmessage',
|
|
30
18
|
entity: EntityNames.enquiry.entitySetName,
|
|
31
19
|
},
|
|
32
|
-
// NOTE the casing: `ww_WebMessage_activity_parties`, unlike the all-lowercase
|
|
33
|
-
// `email_activity_parties` / `activitypointer_activity_parties`. Dataverse
|
|
34
|
-
// navigation property names are case-sensitive.
|
|
35
20
|
activityParties: {
|
|
36
21
|
relationshipName: 'ww_WebMessage_activity_parties',
|
|
37
|
-
entity: EntityNames.
|
|
22
|
+
entity: EntityNames.contact.entitySetName,
|
|
38
23
|
},
|
|
39
24
|
};
|
|
40
25
|
export const webMessageFields = {
|
|
@@ -46,25 +31,16 @@ export const webMessageFields = {
|
|
|
46
31
|
_regardingobjectid_value: {
|
|
47
32
|
pretty: 'regardingValue',
|
|
48
33
|
type: z.string().nullish(),
|
|
49
|
-
...webMessageRelationships.
|
|
34
|
+
...webMessageRelationships.regardingValue,
|
|
50
35
|
},
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
type: SActivityPartyRef.array().nullish(),
|
|
56
|
-
isPartyList: true,
|
|
57
|
-
},
|
|
58
|
-
to: {
|
|
59
|
-
pretty: 'toParties',
|
|
60
|
-
type: SActivityPartyRef.array().nullish(),
|
|
61
|
-
isPartyList: true,
|
|
62
|
-
},
|
|
63
|
-
//expansions
|
|
36
|
+
// activity parties is unusual in that it doesnt really exist standalone
|
|
37
|
+
// (like e.g. simulations) it needs a 'host' activity like a web message
|
|
38
|
+
// When we post to web messages we need to dig directly in to the activityparty
|
|
39
|
+
// fields rather than relying on posting separately in a batch
|
|
64
40
|
[webMessageRelationships.activityParties.relationshipName]: {
|
|
65
41
|
pretty: 'parties',
|
|
66
|
-
entityKey: 'activityParty',
|
|
67
42
|
isArray: true,
|
|
43
|
+
childFields: activityPartyFields,
|
|
68
44
|
},
|
|
69
45
|
};
|
|
70
46
|
//# sourceMappingURL=DWebMessageAPI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DWebMessageAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/DWebMessageAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DWebMessageAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/webMessage/DWebMessageAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAA;AAE3E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,aAAa,EAAE;QACb,IAAI,EAAE,CAAC;QACP,SAAS,EAAE,CAAC;QACZ,QAAQ,EAAE,CAAC;KACZ;CACO,CAAA;AAEV,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,cAAc,EAAE;QACd,gBAAgB,EAAE,0CAA0C;QAC5D,MAAM,EAAE,WAAW,CAAC,cAAc,CAAC,aAAa;KACjD;IACD,gBAAgB,EAAE;QAChB,gBAAgB,EAAE,4CAA4C;QAC9D,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,aAAa;KAC1C;IACD,eAAe,EAAE;QACf,gBAAgB,EAAE,gCAAgC;QAClD,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,aAAa;KAC1C;CACO,CAAA;AAEV,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,UAAU,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;IAC7D,OAAO,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE;IAC1D,WAAW,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE;IAC3D,SAAS,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE;IAC9D,UAAU,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE;IAChE,wBAAwB,EAAE;QACxB,MAAM,EAAE,gBAAgB;QACxB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;QAC1B,GAAG,uBAAuB,CAAC,cAAc;KAC1C;IACD,wEAAwE;IACxE,wEAAwE;IACxE,+EAA+E;IAC/E,8DAA8D;IAC9D,CAAC,uBAAuB,CAAC,eAAe,CAAC,gBAAgB,CAAC,EAAE;QAC1D,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,mBAAmB;KACjC;CACO,CAAA"}
|
|
@@ -25,8 +25,6 @@ export declare const WebMessageEntity: {
|
|
|
25
25
|
activityId: string;
|
|
26
26
|
regardingValue: string;
|
|
27
27
|
parties: string;
|
|
28
|
-
fromParties: string;
|
|
29
|
-
toParties: string;
|
|
30
28
|
};
|
|
31
29
|
fieldsD365: {
|
|
32
30
|
readonly activityid: "activityId";
|
|
@@ -35,8 +33,6 @@ export declare const WebMessageEntity: {
|
|
|
35
33
|
readonly createdon: "createdOn";
|
|
36
34
|
readonly statuscode: "statusCode";
|
|
37
35
|
readonly _regardingobjectid_value: "regardingValue";
|
|
38
|
-
readonly from: "fromParties";
|
|
39
|
-
readonly to: "toParties";
|
|
40
36
|
readonly ww_WebMessage_activity_parties: "parties";
|
|
41
37
|
readonly _ownerid_value: "ownerIdValue";
|
|
42
38
|
readonly _owningbusinessunit_value: "owningBusinessUnitValue";
|
|
@@ -78,26 +74,6 @@ export declare const WebMessageEntity: {
|
|
|
78
74
|
readonly subject: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
79
75
|
readonly description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
80
76
|
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
77
|
readonly ww_WebMessage_activity_parties: z.ZodOptional<z.ZodTypeAny>;
|
|
102
78
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
103
79
|
'@odata.etag'?: string | null | undefined;
|
|
@@ -123,14 +99,6 @@ export declare const WebMessageEntity: {
|
|
|
123
99
|
activityid?: string | undefined;
|
|
124
100
|
_regardingobjectid_value?: string | null | undefined;
|
|
125
101
|
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
102
|
}, {
|
|
135
103
|
'@odata.etag'?: string | null | undefined;
|
|
136
104
|
_createdby_value?: string | null | undefined;
|
|
@@ -155,14 +123,6 @@ export declare const WebMessageEntity: {
|
|
|
155
123
|
activityid?: string | undefined;
|
|
156
124
|
_regardingobjectid_value?: string | null | undefined;
|
|
157
125
|
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
126
|
}>;
|
|
167
127
|
SPayloadD365: z.ZodObject<{
|
|
168
128
|
readonly activityid: z.ZodOptional<z.ZodString>;
|
|
@@ -171,26 +131,6 @@ export declare const WebMessageEntity: {
|
|
|
171
131
|
readonly createdon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
172
132
|
readonly statuscode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
173
133
|
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
134
|
readonly ww_WebMessage_activity_parties: z.ZodOptional<z.ZodTypeAny>;
|
|
195
135
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
196
136
|
createdon?: string | null | undefined;
|
|
@@ -200,14 +140,6 @@ export declare const WebMessageEntity: {
|
|
|
200
140
|
activityid?: string | undefined;
|
|
201
141
|
_regardingobjectid_value?: string | null | undefined;
|
|
202
142
|
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
143
|
}, {
|
|
212
144
|
createdon?: string | null | undefined;
|
|
213
145
|
description?: string | null | undefined;
|
|
@@ -216,14 +148,6 @@ export declare const WebMessageEntity: {
|
|
|
216
148
|
activityid?: string | undefined;
|
|
217
149
|
_regardingobjectid_value?: string | null | undefined;
|
|
218
150
|
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
151
|
}>;
|
|
228
152
|
SResponseAPI: z.ZodObject<import("../_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
229
153
|
readonly _ownerid_value: {
|
|
@@ -325,38 +249,69 @@ export declare const WebMessageEntity: {
|
|
|
325
249
|
readonly pretty: "regardingValue";
|
|
326
250
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
251
|
};
|
|
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
252
|
readonly ww_WebMessage_activity_parties: {
|
|
357
253
|
readonly pretty: "parties";
|
|
358
|
-
readonly entityKey: "activityParty";
|
|
359
254
|
readonly isArray: true;
|
|
255
|
+
readonly childFields: {
|
|
256
|
+
readonly _partyid_value: {
|
|
257
|
+
readonly pretty: "contactId";
|
|
258
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
259
|
+
};
|
|
260
|
+
readonly partyid_contact: {
|
|
261
|
+
readonly relationshipName: "partyid_contact";
|
|
262
|
+
readonly entity: "contacts";
|
|
263
|
+
readonly pretty: "partyContact";
|
|
264
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
|
+
};
|
|
266
|
+
readonly partyid_systemuser: {
|
|
267
|
+
readonly relationshipName: "partyid_systemuser";
|
|
268
|
+
readonly entity: "systemusers";
|
|
269
|
+
readonly pretty: "partySystemUser";
|
|
270
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
|
+
};
|
|
272
|
+
readonly partyid_account: {
|
|
273
|
+
readonly relationshipName: "partyid_account";
|
|
274
|
+
readonly entity: "accounts";
|
|
275
|
+
readonly pretty: "partyAccount";
|
|
276
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
|
+
};
|
|
278
|
+
readonly activitypartyid: {
|
|
279
|
+
readonly pretty: "activityPartyId";
|
|
280
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
|
+
};
|
|
282
|
+
readonly addressused: {
|
|
283
|
+
readonly pretty: "addressUsed";
|
|
284
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
};
|
|
286
|
+
readonly participationtypemask: {
|
|
287
|
+
readonly pretty: "activityRole";
|
|
288
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
289
|
+
};
|
|
290
|
+
readonly scheduledend: {
|
|
291
|
+
readonly pretty: "scheduledEnd";
|
|
292
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
|
+
};
|
|
294
|
+
readonly scheduledStart: {
|
|
295
|
+
readonly pretty: "scheduledStart";
|
|
296
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
+
};
|
|
298
|
+
readonly donotfax: {
|
|
299
|
+
readonly pretty: "doNotFax";
|
|
300
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
301
|
+
};
|
|
302
|
+
readonly donotphone: {
|
|
303
|
+
readonly pretty: "doNotPhone";
|
|
304
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
305
|
+
};
|
|
306
|
+
readonly donotpostalmail: {
|
|
307
|
+
readonly pretty: "doNotPostalMail";
|
|
308
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
309
|
+
};
|
|
310
|
+
readonly ispartydeleted: {
|
|
311
|
+
readonly pretty: "isPartyDeleted";
|
|
312
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
360
315
|
};
|
|
361
316
|
}>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
362
317
|
activityId: string;
|
|
@@ -382,14 +337,6 @@ export declare const WebMessageEntity: {
|
|
|
382
337
|
subject?: string | null | undefined;
|
|
383
338
|
regardingValue?: string | null | undefined;
|
|
384
339
|
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
340
|
}, {
|
|
394
341
|
activityId: string;
|
|
395
342
|
etag?: string | null | undefined;
|
|
@@ -414,14 +361,6 @@ export declare const WebMessageEntity: {
|
|
|
414
361
|
subject?: string | null | undefined;
|
|
415
362
|
regardingValue?: string | null | undefined;
|
|
416
363
|
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
364
|
}>;
|
|
426
365
|
SPayloadAPI: z.ZodObject<{
|
|
427
366
|
readonly activityId: z.ZodOptional<z.ZodString>;
|
|
@@ -430,26 +369,6 @@ export declare const WebMessageEntity: {
|
|
|
430
369
|
readonly createdOn: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
431
370
|
readonly statusCode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
432
371
|
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
372
|
readonly parties: z.ZodOptional<z.ZodTypeAny>;
|
|
454
373
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
455
374
|
createdOn?: string | null | undefined;
|
|
@@ -459,14 +378,6 @@ export declare const WebMessageEntity: {
|
|
|
459
378
|
subject?: string | null | undefined;
|
|
460
379
|
regardingValue?: string | null | undefined;
|
|
461
380
|
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
381
|
}, {
|
|
471
382
|
createdOn?: string | null | undefined;
|
|
472
383
|
statusCode?: number | null | undefined;
|
|
@@ -475,14 +386,6 @@ export declare const WebMessageEntity: {
|
|
|
475
386
|
subject?: string | null | undefined;
|
|
476
387
|
regardingValue?: string | null | undefined;
|
|
477
388
|
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
389
|
}>;
|
|
487
390
|
mapD365ToPretty: (data: unknown) => Record<string, unknown>;
|
|
488
391
|
mapPrettyToD365: (prettyData: unknown) => Record<string, unknown>;
|
|
@@ -1 +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
|
|
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"}
|