@workwell-global/toolkit 1.1.28 → 1.1.30
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/assignment/DAssignmentAPI.d.ts +9 -0
- package/dist/models/schemas/api/assignment/DAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js +9 -0
- package/dist/models/schemas/api/assignment/DAssignmentAPI.js.map +1 -1
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts +18 -0
- package/dist/models/schemas/api/assignment/TAssignmentAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/assignment/index.d.ts +22 -0
- package/dist/models/schemas/api/assignment/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/referral/DReferralAPI.d.ts +9 -0
- package/dist/models/schemas/api/referral/DReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/DReferralAPI.js +9 -0
- package/dist/models/schemas/api/referral/DReferralAPI.js.map +1 -1
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts +18 -0
- package/dist/models/schemas/api/referral/TReferralAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/referral/index.d.ts +22 -0
- package/dist/models/schemas/api/referral/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 +0 -12
- package/dist/models/schemas/api/webMessage/webMessage.test.js.map +1 -1
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts +306 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js +39 -0
- package/dist/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.js.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts +2 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.js +2 -0
- package/dist/models/schemas/bff/assignmentsMetrics/index.js.map +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.js +1 -0
- package/dist/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.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/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 +11 -26
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.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/config/SGetConfigBFF.d.ts +44 -44
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts +306 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js +12 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsAssignmentDocumentBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts +306 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js +12 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsReferralDocumentBFF.js.map +1 -0
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts +4221 -10
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js +50 -2
- package/dist/models/schemas/bff/engagementsSummary/SGetEngagementsWorkerSummaryBFF.js.map +1 -1
- 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
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SGetAssignmentsMetricsBFF: z.ZodEffects<z.ZodObject<{
|
|
3
|
+
readonly assignmentId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
readonly assignment: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
readonly startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
readonly endDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
readonly actualEndDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
readonly endClient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
readonly workCountry: z.ZodTypeAny;
|
|
10
|
+
readonly solution: z.ZodTypeAny;
|
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
12
|
+
solution?: any;
|
|
13
|
+
endClient?: string | null | undefined;
|
|
14
|
+
startDate?: string | null | undefined;
|
|
15
|
+
endDate?: string | null | undefined;
|
|
16
|
+
actualEndDate?: string | null | undefined;
|
|
17
|
+
workCountry?: any;
|
|
18
|
+
}, {
|
|
19
|
+
solution?: any;
|
|
20
|
+
endClient?: string | null | undefined;
|
|
21
|
+
startDate?: string | null | undefined;
|
|
22
|
+
endDate?: string | null | undefined;
|
|
23
|
+
actualEndDate?: string | null | undefined;
|
|
24
|
+
workCountry?: any;
|
|
25
|
+
}>>;
|
|
26
|
+
readonly agency: z.ZodOptional<z.ZodObject<{
|
|
27
|
+
readonly agencyValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
readonly agencyContactValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
30
|
+
agencyValue?: string | null | undefined;
|
|
31
|
+
agencyContactValue?: string | null | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
agencyValue?: string | null | undefined;
|
|
34
|
+
agencyContactValue?: string | null | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
37
|
+
agency?: {
|
|
38
|
+
agencyValue?: string | null | undefined;
|
|
39
|
+
agencyContactValue?: string | null | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
assignment?: {
|
|
42
|
+
solution?: any;
|
|
43
|
+
endClient?: string | null | undefined;
|
|
44
|
+
startDate?: string | null | undefined;
|
|
45
|
+
endDate?: string | null | undefined;
|
|
46
|
+
actualEndDate?: string | null | undefined;
|
|
47
|
+
workCountry?: any;
|
|
48
|
+
} | undefined;
|
|
49
|
+
assignmentId?: string | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
agency?: {
|
|
52
|
+
agencyValue?: string | null | undefined;
|
|
53
|
+
agencyContactValue?: string | null | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
assignment?: {
|
|
56
|
+
solution?: any;
|
|
57
|
+
endClient?: string | null | undefined;
|
|
58
|
+
startDate?: string | null | undefined;
|
|
59
|
+
endDate?: string | null | undefined;
|
|
60
|
+
actualEndDate?: string | null | undefined;
|
|
61
|
+
workCountry?: any;
|
|
62
|
+
} | undefined;
|
|
63
|
+
assignmentId?: string | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
greaterEndDate: string | null | undefined;
|
|
66
|
+
startDate: string | null | undefined;
|
|
67
|
+
solutionCategory: string | null;
|
|
68
|
+
countryRegion: string | null;
|
|
69
|
+
}, {
|
|
70
|
+
agency?: {
|
|
71
|
+
agencyValue?: string | null | undefined;
|
|
72
|
+
agencyContactValue?: string | null | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
assignment?: {
|
|
75
|
+
solution?: any;
|
|
76
|
+
endClient?: string | null | undefined;
|
|
77
|
+
startDate?: string | null | undefined;
|
|
78
|
+
endDate?: string | null | undefined;
|
|
79
|
+
actualEndDate?: string | null | undefined;
|
|
80
|
+
workCountry?: any;
|
|
81
|
+
} | undefined;
|
|
82
|
+
assignmentId?: string | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
export type TGetAssignmentsMetricsBFF = z.infer<typeof SGetAssignmentsMetricsBFF>;
|
|
85
|
+
export declare const SActiveMetricsBFF: z.ZodObject<{
|
|
86
|
+
count: z.ZodObject<{
|
|
87
|
+
total: z.ZodNumber;
|
|
88
|
+
c2cCount: z.ZodNumber;
|
|
89
|
+
selfEmployedCount: z.ZodNumber;
|
|
90
|
+
eorCount: z.ZodNumber;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
total: number;
|
|
93
|
+
c2cCount: number;
|
|
94
|
+
selfEmployedCount: number;
|
|
95
|
+
eorCount: number;
|
|
96
|
+
}, {
|
|
97
|
+
total: number;
|
|
98
|
+
c2cCount: number;
|
|
99
|
+
selfEmployedCount: number;
|
|
100
|
+
eorCount: number;
|
|
101
|
+
}>;
|
|
102
|
+
performance: z.ZodNumber;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
count: {
|
|
105
|
+
total: number;
|
|
106
|
+
c2cCount: number;
|
|
107
|
+
selfEmployedCount: number;
|
|
108
|
+
eorCount: number;
|
|
109
|
+
};
|
|
110
|
+
performance: number;
|
|
111
|
+
}, {
|
|
112
|
+
count: {
|
|
113
|
+
total: number;
|
|
114
|
+
c2cCount: number;
|
|
115
|
+
selfEmployedCount: number;
|
|
116
|
+
eorCount: number;
|
|
117
|
+
};
|
|
118
|
+
performance: number;
|
|
119
|
+
}>;
|
|
120
|
+
export type TActiveMetricsBFF = z.infer<typeof SActiveMetricsBFF>;
|
|
121
|
+
export declare const SPastFutureMetricsBFF: z.ZodObject<{
|
|
122
|
+
next: z.ZodObject<{
|
|
123
|
+
starting: z.ZodObject<{
|
|
124
|
+
total: z.ZodNumber;
|
|
125
|
+
c2cCount: z.ZodNumber;
|
|
126
|
+
selfEmployedCount: z.ZodNumber;
|
|
127
|
+
eorCount: z.ZodNumber;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
total: number;
|
|
130
|
+
c2cCount: number;
|
|
131
|
+
selfEmployedCount: number;
|
|
132
|
+
eorCount: number;
|
|
133
|
+
}, {
|
|
134
|
+
total: number;
|
|
135
|
+
c2cCount: number;
|
|
136
|
+
selfEmployedCount: number;
|
|
137
|
+
eorCount: number;
|
|
138
|
+
}>;
|
|
139
|
+
ending: z.ZodObject<{
|
|
140
|
+
total: z.ZodNumber;
|
|
141
|
+
c2cCount: z.ZodNumber;
|
|
142
|
+
selfEmployedCount: z.ZodNumber;
|
|
143
|
+
eorCount: z.ZodNumber;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
total: number;
|
|
146
|
+
c2cCount: number;
|
|
147
|
+
selfEmployedCount: number;
|
|
148
|
+
eorCount: number;
|
|
149
|
+
}, {
|
|
150
|
+
total: number;
|
|
151
|
+
c2cCount: number;
|
|
152
|
+
selfEmployedCount: number;
|
|
153
|
+
eorCount: number;
|
|
154
|
+
}>;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
starting: {
|
|
157
|
+
total: number;
|
|
158
|
+
c2cCount: number;
|
|
159
|
+
selfEmployedCount: number;
|
|
160
|
+
eorCount: number;
|
|
161
|
+
};
|
|
162
|
+
ending: {
|
|
163
|
+
total: number;
|
|
164
|
+
c2cCount: number;
|
|
165
|
+
selfEmployedCount: number;
|
|
166
|
+
eorCount: number;
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
starting: {
|
|
170
|
+
total: number;
|
|
171
|
+
c2cCount: number;
|
|
172
|
+
selfEmployedCount: number;
|
|
173
|
+
eorCount: number;
|
|
174
|
+
};
|
|
175
|
+
ending: {
|
|
176
|
+
total: number;
|
|
177
|
+
c2cCount: number;
|
|
178
|
+
selfEmployedCount: number;
|
|
179
|
+
eorCount: number;
|
|
180
|
+
};
|
|
181
|
+
}>;
|
|
182
|
+
last: z.ZodObject<{
|
|
183
|
+
started: z.ZodObject<{
|
|
184
|
+
total: z.ZodNumber;
|
|
185
|
+
c2cCount: z.ZodNumber;
|
|
186
|
+
selfEmployedCount: z.ZodNumber;
|
|
187
|
+
eorCount: z.ZodNumber;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
total: number;
|
|
190
|
+
c2cCount: number;
|
|
191
|
+
selfEmployedCount: number;
|
|
192
|
+
eorCount: number;
|
|
193
|
+
}, {
|
|
194
|
+
total: number;
|
|
195
|
+
c2cCount: number;
|
|
196
|
+
selfEmployedCount: number;
|
|
197
|
+
eorCount: number;
|
|
198
|
+
}>;
|
|
199
|
+
ended: z.ZodObject<{
|
|
200
|
+
total: z.ZodNumber;
|
|
201
|
+
c2cCount: z.ZodNumber;
|
|
202
|
+
selfEmployedCount: z.ZodNumber;
|
|
203
|
+
eorCount: z.ZodNumber;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
total: number;
|
|
206
|
+
c2cCount: number;
|
|
207
|
+
selfEmployedCount: number;
|
|
208
|
+
eorCount: number;
|
|
209
|
+
}, {
|
|
210
|
+
total: number;
|
|
211
|
+
c2cCount: number;
|
|
212
|
+
selfEmployedCount: number;
|
|
213
|
+
eorCount: number;
|
|
214
|
+
}>;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
ended: {
|
|
217
|
+
total: number;
|
|
218
|
+
c2cCount: number;
|
|
219
|
+
selfEmployedCount: number;
|
|
220
|
+
eorCount: number;
|
|
221
|
+
};
|
|
222
|
+
started: {
|
|
223
|
+
total: number;
|
|
224
|
+
c2cCount: number;
|
|
225
|
+
selfEmployedCount: number;
|
|
226
|
+
eorCount: number;
|
|
227
|
+
};
|
|
228
|
+
}, {
|
|
229
|
+
ended: {
|
|
230
|
+
total: number;
|
|
231
|
+
c2cCount: number;
|
|
232
|
+
selfEmployedCount: number;
|
|
233
|
+
eorCount: number;
|
|
234
|
+
};
|
|
235
|
+
started: {
|
|
236
|
+
total: number;
|
|
237
|
+
c2cCount: number;
|
|
238
|
+
selfEmployedCount: number;
|
|
239
|
+
eorCount: number;
|
|
240
|
+
};
|
|
241
|
+
}>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
next: {
|
|
244
|
+
starting: {
|
|
245
|
+
total: number;
|
|
246
|
+
c2cCount: number;
|
|
247
|
+
selfEmployedCount: number;
|
|
248
|
+
eorCount: number;
|
|
249
|
+
};
|
|
250
|
+
ending: {
|
|
251
|
+
total: number;
|
|
252
|
+
c2cCount: number;
|
|
253
|
+
selfEmployedCount: number;
|
|
254
|
+
eorCount: number;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
last: {
|
|
258
|
+
ended: {
|
|
259
|
+
total: number;
|
|
260
|
+
c2cCount: number;
|
|
261
|
+
selfEmployedCount: number;
|
|
262
|
+
eorCount: number;
|
|
263
|
+
};
|
|
264
|
+
started: {
|
|
265
|
+
total: number;
|
|
266
|
+
c2cCount: number;
|
|
267
|
+
selfEmployedCount: number;
|
|
268
|
+
eorCount: number;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
next: {
|
|
273
|
+
starting: {
|
|
274
|
+
total: number;
|
|
275
|
+
c2cCount: number;
|
|
276
|
+
selfEmployedCount: number;
|
|
277
|
+
eorCount: number;
|
|
278
|
+
};
|
|
279
|
+
ending: {
|
|
280
|
+
total: number;
|
|
281
|
+
c2cCount: number;
|
|
282
|
+
selfEmployedCount: number;
|
|
283
|
+
eorCount: number;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
last: {
|
|
287
|
+
ended: {
|
|
288
|
+
total: number;
|
|
289
|
+
c2cCount: number;
|
|
290
|
+
selfEmployedCount: number;
|
|
291
|
+
eorCount: number;
|
|
292
|
+
};
|
|
293
|
+
started: {
|
|
294
|
+
total: number;
|
|
295
|
+
c2cCount: number;
|
|
296
|
+
selfEmployedCount: number;
|
|
297
|
+
eorCount: number;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
}>;
|
|
301
|
+
export type TPastFutureMetricsBFF = z.infer<typeof SPastFutureMetricsBFF>;
|
|
302
|
+
export type TAllMetricsBFF = {
|
|
303
|
+
active: TActiveMetricsBFF;
|
|
304
|
+
pastFuture: TPastFutureMetricsBFF;
|
|
305
|
+
};
|
|
306
|
+
//# sourceMappingURL=SGetAssignmentsMetricsBFF.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetAssignmentsMetricsBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuBvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASpC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAA;AASD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAEjE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAA;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,UAAU,EAAE,qBAAqB,CAAA;CAClC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { assignmentFields } from '../../api/assignment/DAssignmentAPI.js';
|
|
3
|
+
import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/SchemasEntityTools.js';
|
|
4
|
+
import { solutionCategory } from '../helpers/SolutionHelper.js';
|
|
5
|
+
import { region } from '../helpers/RegionHelper.js';
|
|
6
|
+
const SAssignmentBase = createPrettySchema(pickPrettyFields(assignmentFields, [
|
|
7
|
+
'assignmentId',
|
|
8
|
+
'assignment/endDate',
|
|
9
|
+
'assignment/startDate',
|
|
10
|
+
'assignment/actualEndDate',
|
|
11
|
+
'assignment/solution',
|
|
12
|
+
'assignment/workCountry',
|
|
13
|
+
'assignment/endClient',
|
|
14
|
+
'agency/agencyValue',
|
|
15
|
+
'agency/agencyContactValue',
|
|
16
|
+
])).partial();
|
|
17
|
+
export const SGetAssignmentsMetricsBFF = SAssignmentBase.transform(val => {
|
|
18
|
+
return {
|
|
19
|
+
greaterEndDate: val?.assignment?.actualEndDate ?? val?.assignment?.endDate,
|
|
20
|
+
startDate: val?.assignment?.startDate,
|
|
21
|
+
solutionCategory: solutionCategory(val?.assignment?.solution?.productNumber),
|
|
22
|
+
countryRegion: region(val.assignment?.workCountry?.code),
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
const counts = z.object({
|
|
26
|
+
total: z.number(),
|
|
27
|
+
c2cCount: z.number(),
|
|
28
|
+
selfEmployedCount: z.number(),
|
|
29
|
+
eorCount: z.number(),
|
|
30
|
+
});
|
|
31
|
+
export const SActiveMetricsBFF = z.object({
|
|
32
|
+
count: counts,
|
|
33
|
+
performance: z.number(),
|
|
34
|
+
});
|
|
35
|
+
export const SPastFutureMetricsBFF = z.object({
|
|
36
|
+
next: z.object({ starting: counts, ending: counts }),
|
|
37
|
+
last: z.object({ started: counts, ended: counts }),
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=SGetAssignmentsMetricsBFF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SGetAssignmentsMetricsBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/SGetAssignmentsMetricsBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,MAAM,eAAe,GAAG,kBAAkB,CACxC,gBAAgB,CAAC,gBAAgB,EAAE;IACjC,cAAc;IACd,oBAAoB;IACpB,sBAAsB;IACtB,0BAA0B;IAC1B,qBAAqB;IACrB,wBAAwB;IACxB,sBAAsB;IACtB,oBAAoB;IACpB,2BAA2B;CAC5B,CAAC,CACH,CAAC,OAAO,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,yBAAyB,GAAG,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACvE,OAAO;QACL,cAAc,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,IAAI,GAAG,EAAE,UAAU,EAAE,OAAO;QAC1E,SAAS,EAAE,GAAG,EAAE,UAAU,EAAE,SAAS;QACrC,gBAAgB,EAAE,gBAAgB,CAChC,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,CACzC;QACD,aAAa,EAAE,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE,IAAI,CAAC;KACzD,CAAA;AACH,CAAC,CAAC,CAAA;AAMF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;CACrB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,MAAM;IACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;CACxB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACpD,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;CACnD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsMetrics/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -108,6 +108,7 @@ export declare const SGetAssignmentSummaryBFF: z.ZodEffects<z.ZodObject<{
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
stageReasonLastChangedAt?: unknown;
|
|
110
110
|
}>, {
|
|
111
|
+
greaterEndDate: string | null | undefined;
|
|
111
112
|
type: "assignment";
|
|
112
113
|
stageReasonLastChangedAt: string | null;
|
|
113
114
|
agency?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetAssignmentsSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"SGetAssignmentsSummaryBFF.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -26,6 +26,7 @@ export const SGetAssignmentSummaryBFF = SAssignmentBase.extend({
|
|
|
26
26
|
}).transform(val => {
|
|
27
27
|
return {
|
|
28
28
|
...val,
|
|
29
|
+
greaterEndDate: val?.assignment?.actualEndDate ?? val?.assignment?.endDate,
|
|
29
30
|
// statusDetails: assignmentStatusDetails(val as unknown as TAssignmentAPI),
|
|
30
31
|
// countryRegion: val.assignment?.workCountryValue,
|
|
31
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SGetAssignmentsSummaryBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAGxE,MAAM,eAAe,GAAG,kBAAkB,CACxC,gBAAgB,CAAC,gBAAgB,EAAE;IACjC,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,6BAA6B;IAC7B,2BAA2B;IAC3B,oCAAoC;IACpC,gBAAgB;IAChB,sBAAsB;IACtB,0BAA0B;IAC1B,sBAAsB;IACtB,oBAAoB;IACpB,oBAAoB;IACpB,0BAA0B;IAC1B,4BAA4B;IAC5B,iCAAiC;IACjC,8BAA8B;CAC/B,CAAC,CACH,CAAC,OAAO,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG,eAAe,CAAC,MAAM,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC;IACjD,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACjB,OAAO;QACL,GAAG,GAAG;QACN,4EAA4E;QAC5E,mDAAmD;KACpD,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"SGetAssignmentsSummaryBFF.js","sourceRoot":"","sources":["../../../../../src/models/schemas/bff/assignmentsSummary/SGetAssignmentsSummaryBFF.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAGxE,MAAM,eAAe,GAAG,kBAAkB,CACxC,gBAAgB,CAAC,gBAAgB,EAAE;IACjC,cAAc;IACd,YAAY;IACZ,oBAAoB;IACpB,6BAA6B;IAC7B,2BAA2B;IAC3B,oCAAoC;IACpC,gBAAgB;IAChB,sBAAsB;IACtB,0BAA0B;IAC1B,sBAAsB;IACtB,oBAAoB;IACpB,oBAAoB;IACpB,0BAA0B;IAC1B,4BAA4B;IAC5B,iCAAiC;IACjC,8BAA8B;CAC/B,CAAC,CACH,CAAC,OAAO,EAAE,CAAA;AAEX,MAAM,CAAC,MAAM,wBAAwB,GAAG,eAAe,CAAC,MAAM,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC;IACjD,wBAAwB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;CAC5D,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE;IACjB,OAAO;QACL,GAAG,GAAG;QACN,cAAc,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,IAAI,GAAG,EAAE,UAAU,EAAE,OAAO;QAC1E,4EAA4E;QAC5E,mDAAmD;KACpD,CAAA;AACH,CAAC,CAAC,CAAA"}
|
|
@@ -25,7 +25,7 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
25
25
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
26
|
};
|
|
27
27
|
readonly description: {
|
|
28
|
-
readonly pretty: "
|
|
28
|
+
readonly pretty: "body";
|
|
29
29
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
30
|
};
|
|
31
31
|
}> & {
|
|
@@ -216,11 +216,29 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
216
216
|
} & {
|
|
217
217
|
readonly _partyid_value: {
|
|
218
218
|
readonly pretty: "contactId";
|
|
219
|
-
readonly type: z.ZodString
|
|
219
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
};
|
|
221
|
+
readonly partyid_contact: {
|
|
222
|
+
readonly relationshipName: "partyid_contact";
|
|
223
|
+
readonly entity: "contacts";
|
|
224
|
+
readonly pretty: "partyContact";
|
|
225
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
};
|
|
227
|
+
readonly partyid_systemuser: {
|
|
228
|
+
readonly relationshipName: "partyid_systemuser";
|
|
229
|
+
readonly entity: "systemusers";
|
|
230
|
+
readonly pretty: "partySystemUser";
|
|
231
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
};
|
|
233
|
+
readonly partyid_account: {
|
|
234
|
+
readonly relationshipName: "partyid_account";
|
|
235
|
+
readonly entity: "accounts";
|
|
236
|
+
readonly pretty: "partyAccount";
|
|
237
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
238
|
};
|
|
221
239
|
readonly activitypartyid: {
|
|
222
240
|
readonly pretty: "activityPartyId";
|
|
223
|
-
readonly type: z.ZodString
|
|
241
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
242
|
};
|
|
225
243
|
readonly addressused: {
|
|
226
244
|
readonly pretty: "addressUsed";
|
|
@@ -255,20 +273,20 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
255
273
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
256
274
|
};
|
|
257
275
|
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
258
|
-
contactId
|
|
276
|
+
contactId?: string | null | undefined;
|
|
259
277
|
}, {
|
|
260
|
-
contactId
|
|
278
|
+
contactId?: string | null | undefined;
|
|
261
279
|
}>>>, "many">>, any[] | undefined, ({
|
|
262
|
-
contactId
|
|
280
|
+
contactId?: string | null | undefined;
|
|
263
281
|
} | null | undefined)[] | undefined>;
|
|
264
282
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
265
283
|
emailId: string;
|
|
266
284
|
createdOn?: string | null | undefined;
|
|
285
|
+
body?: string | null | undefined;
|
|
267
286
|
subject?: string | null | undefined;
|
|
268
287
|
sender?: string | null | undefined;
|
|
269
288
|
toRecipients?: string | null | undefined;
|
|
270
289
|
directionCode?: boolean | null | undefined;
|
|
271
|
-
emailBody?: string | null | undefined;
|
|
272
290
|
emailParties?: any[] | undefined;
|
|
273
291
|
attachments?: ({
|
|
274
292
|
activityMimeAttachmentId: string;
|
|
@@ -278,13 +296,13 @@ export declare const SGetCaseEmailBFF: z.ZodObject<import("../../api/_entityTool
|
|
|
278
296
|
}, {
|
|
279
297
|
emailId: string;
|
|
280
298
|
createdOn?: string | null | undefined;
|
|
299
|
+
body?: string | null | undefined;
|
|
281
300
|
subject?: string | null | undefined;
|
|
282
301
|
sender?: string | null | undefined;
|
|
283
302
|
toRecipients?: string | null | undefined;
|
|
284
303
|
directionCode?: boolean | null | undefined;
|
|
285
|
-
emailBody?: string | null | undefined;
|
|
286
304
|
emailParties?: ({
|
|
287
|
-
contactId
|
|
305
|
+
contactId?: string | null | undefined;
|
|
288
306
|
} | null | undefined)[] | undefined;
|
|
289
307
|
attachments?: ({
|
|
290
308
|
activityMimeAttachmentId: string;
|
|
@@ -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;AAoBvB,eAAO,MAAM,gBAAgB
|
|
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;AAoBvB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY3B,CAAA;AAEF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
|
@@ -5,7 +5,7 @@ import { createPrettySchema, pickPrettyFields, } from '../../api/_entityTools/Sc
|
|
|
5
5
|
import { SCaseEmailPartiesBFF } from './SGetCaseEmailPartiesBFF.js';
|
|
6
6
|
const filteredFields = pickPrettyFields(emailFields, [
|
|
7
7
|
'emailId',
|
|
8
|
-
'
|
|
8
|
+
'body',
|
|
9
9
|
'toRecipients',
|
|
10
10
|
'sender',
|
|
11
11
|
'subject',
|
|
@@ -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;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAA;AAEnE,MAAM,cAAc,GAAG,gBAAgB,CAAC,WAAW,EAAE;IACnD,SAAS;IACT,
|
|
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,MAAM;IACN,cAAc;IACd,QAAQ;IACR,SAAS;IACT,eAAe;IACf,WAAW;CACZ,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"}
|
|
@@ -75,11 +75,29 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
|
|
|
75
75
|
} & {
|
|
76
76
|
readonly _partyid_value: {
|
|
77
77
|
readonly pretty: "contactId";
|
|
78
|
-
readonly type: z.ZodString
|
|
78
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
};
|
|
80
|
+
readonly partyid_contact: {
|
|
81
|
+
readonly relationshipName: "partyid_contact";
|
|
82
|
+
readonly entity: "contacts";
|
|
83
|
+
readonly pretty: "partyContact";
|
|
84
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
};
|
|
86
|
+
readonly partyid_systemuser: {
|
|
87
|
+
readonly relationshipName: "partyid_systemuser";
|
|
88
|
+
readonly entity: "systemusers";
|
|
89
|
+
readonly pretty: "partySystemUser";
|
|
90
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
};
|
|
92
|
+
readonly partyid_account: {
|
|
93
|
+
readonly relationshipName: "partyid_account";
|
|
94
|
+
readonly entity: "accounts";
|
|
95
|
+
readonly pretty: "partyAccount";
|
|
96
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
97
|
};
|
|
80
98
|
readonly activitypartyid: {
|
|
81
99
|
readonly pretty: "activityPartyId";
|
|
82
|
-
readonly type: z.ZodString
|
|
100
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
101
|
};
|
|
84
102
|
readonly addressused: {
|
|
85
103
|
readonly pretty: "addressUsed";
|
|
@@ -114,9 +132,9 @@ export declare const SCaseEmailPartiesBFF: z.ZodOptional<z.ZodNullable<z.ZodObje
|
|
|
114
132
|
readonly type: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
133
|
};
|
|
116
134
|
}>, "contactId">, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
117
|
-
contactId
|
|
135
|
+
contactId?: string | null | undefined;
|
|
118
136
|
}, {
|
|
119
|
-
contactId
|
|
137
|
+
contactId?: string | null | undefined;
|
|
120
138
|
}>>>;
|
|
121
139
|
export type TGetCaseEmailPartiesBFF = z.infer<typeof SCaseEmailPartiesBFF>;
|
|
122
140
|
//# sourceMappingURL=SGetCaseEmailPartiesBFF.d.ts.map
|
|
@@ -1 +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
|
|
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"}
|