@workwell-global/toolkit 1.1.61 → 1.1.63
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 +10 -0
- package/dist/enums/EntityNames.d.ts.map +1 -1
- package/dist/enums/EntityNames.js +10 -0
- package/dist/enums/EntityNames.js.map +1 -1
- package/dist/models/schemas/api/_entityTools/CreateEntityTools.d.ts +3 -3
- package/dist/models/schemas/api/_entityTools/EntityRegistry.d.ts +12 -2
- 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/caseManagement/DCaseManagementAPI.d.ts +20 -0
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js +18 -0
- package/dist/models/schemas/api/caseManagement/DCaseManagementAPI.js.map +1 -1
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts +50 -0
- package/dist/models/schemas/api/caseManagement/TCaseManagementAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/caseManagement/index.d.ts +58 -0
- package/dist/models/schemas/api/caseManagement/index.d.ts.map +1 -1
- package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.d.ts +6 -0
- package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.js +5 -0
- package/dist/models/schemas/api/changeRequest/DChangeRequestAPI.js.map +1 -1
- package/dist/models/schemas/api/changeRequest/TChangeRequestAPI.d.ts +8 -0
- package/dist/models/schemas/api/changeRequest/TChangeRequestAPI.d.ts.map +1 -1
- package/dist/models/schemas/api/changeRequest/index.d.ts +12 -0
- package/dist/models/schemas/api/changeRequest/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.d.ts +2 -0
- package/dist/models/schemas/api/index.d.ts.map +1 -1
- package/dist/models/schemas/api/index.js +2 -0
- package/dist/models/schemas/api/index.js.map +1 -1
- package/dist/models/schemas/api/serviceArea/DServiceAreaAPI.d.ts +27 -0
- package/dist/models/schemas/api/serviceArea/DServiceAreaAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/serviceArea/DServiceAreaAPI.js +19 -0
- package/dist/models/schemas/api/serviceArea/DServiceAreaAPI.js.map +1 -0
- package/dist/models/schemas/api/serviceArea/TServiceAreaAPI.d.ts +275 -0
- package/dist/models/schemas/api/serviceArea/TServiceAreaAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/serviceArea/TServiceAreaAPI.js +10 -0
- package/dist/models/schemas/api/serviceArea/TServiceAreaAPI.js.map +1 -0
- package/dist/models/schemas/api/serviceArea/index.d.ts +286 -0
- package/dist/models/schemas/api/serviceArea/index.d.ts.map +1 -0
- package/dist/models/schemas/api/serviceArea/index.js +12 -0
- package/dist/models/schemas/api/serviceArea/index.js.map +1 -0
- package/dist/models/schemas/api/serviceArea/serviceArea.test.d.ts +2 -0
- package/dist/models/schemas/api/serviceArea/serviceArea.test.d.ts.map +1 -0
- package/dist/models/schemas/api/serviceArea/serviceArea.test.js +55 -0
- package/dist/models/schemas/api/serviceArea/serviceArea.test.js.map +1 -0
- package/dist/models/schemas/api/topicGroup/DTopicGroupAPI.d.ts +24 -0
- package/dist/models/schemas/api/topicGroup/DTopicGroupAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/topicGroup/DTopicGroupAPI.js +18 -0
- package/dist/models/schemas/api/topicGroup/DTopicGroupAPI.js.map +1 -0
- package/dist/models/schemas/api/topicGroup/TTopicGroupAPI.d.ts +266 -0
- package/dist/models/schemas/api/topicGroup/TTopicGroupAPI.d.ts.map +1 -0
- package/dist/models/schemas/api/topicGroup/TTopicGroupAPI.js +10 -0
- package/dist/models/schemas/api/topicGroup/TTopicGroupAPI.js.map +1 -0
- package/dist/models/schemas/api/topicGroup/index.d.ts +276 -0
- package/dist/models/schemas/api/topicGroup/index.d.ts.map +1 -0
- package/dist/models/schemas/api/topicGroup/index.js +12 -0
- package/dist/models/schemas/api/topicGroup/index.js.map +1 -0
- package/dist/models/schemas/bff/caseCategories/SGetCaseCategoriesBFF.d.ts +465 -0
- package/dist/models/schemas/bff/caseCategories/SGetCaseCategoriesBFF.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseCategories/SGetCaseCategoriesBFF.js +20 -0
- package/dist/models/schemas/bff/caseCategories/SGetCaseCategoriesBFF.js.map +1 -0
- package/dist/models/schemas/bff/caseCategories/index.d.ts +2 -0
- package/dist/models/schemas/bff/caseCategories/index.d.ts.map +1 -0
- package/dist/models/schemas/bff/caseCategories/index.js +2 -0
- package/dist/models/schemas/bff/caseCategories/index.js.map +1 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts +12 -0
- package/dist/models/schemas/bff/caseDetail/SGetCaseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts +7 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js +2 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseBFF.js.map +1 -1
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts +2 -0
- package/dist/models/schemas/bff/caseDetail/SPostCaseResponseBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesMetrics/SGetCasesMetricsBFF.d.ts +12 -0
- package/dist/models/schemas/bff/casesMetrics/SGetCasesMetricsBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts +12 -0
- package/dist/models/schemas/bff/casesSummary/SGetCasesSummaryBFF.d.ts.map +1 -1
- package/dist/models/schemas/bff/changeRequest/SGetChangeRequestBFF.d.ts +2 -0
- package/dist/models/schemas/bff/changeRequest/SGetChangeRequestBFF.d.ts.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,275 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ServiceAreaEntity: {
|
|
3
|
+
isLookupOnly: boolean;
|
|
4
|
+
SResponseD365: z.ZodObject<{
|
|
5
|
+
readonly _organizationid_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6
|
+
readonly '@odata.etag': z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>>;
|
|
7
|
+
readonly versionnumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
8
|
+
readonly _createdby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
9
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
10
|
+
readonly createdon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
11
|
+
readonly _createdonbehalfby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
12
|
+
readonly _modifiedby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
13
|
+
readonly modifiedon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
14
|
+
readonly _modifiedonbehalfby_value: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
15
|
+
readonly statecode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
16
|
+
readonly statuscode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
17
|
+
readonly importsequencenumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
18
|
+
readonly overriddencreatedon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
19
|
+
readonly timezoneruleversionnumber: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
20
|
+
readonly utcconversiontimezonecode: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
21
|
+
readonly ww_serviceareaid: z.ZodOptional<z.ZodString>;
|
|
22
|
+
readonly ww_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
23
|
+
readonly ww_classification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
24
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
25
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
26
|
+
ww_serviceareaid?: string | undefined;
|
|
27
|
+
'@odata.etag'?: string | null | undefined;
|
|
28
|
+
_createdby_value?: string | null | undefined;
|
|
29
|
+
_createdonbehalfby_value?: string | null | undefined;
|
|
30
|
+
_modifiedby_value?: string | null | undefined;
|
|
31
|
+
_modifiedonbehalfby_value?: string | null | undefined;
|
|
32
|
+
createdon?: string | null | undefined;
|
|
33
|
+
importsequencenumber?: number | null | undefined;
|
|
34
|
+
modifiedon?: string | null | undefined;
|
|
35
|
+
overriddencreatedon?: string | null | undefined;
|
|
36
|
+
statecode?: number | null | undefined;
|
|
37
|
+
statuscode?: number | null | undefined;
|
|
38
|
+
timezoneruleversionnumber?: string | number | null | undefined;
|
|
39
|
+
utcconversiontimezonecode?: string | number | null | undefined;
|
|
40
|
+
versionnumber?: number | null | undefined;
|
|
41
|
+
'_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
|
|
42
|
+
ww_name?: string | null | undefined;
|
|
43
|
+
_organizationid_value?: string | null | undefined;
|
|
44
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
45
|
+
ww_classification?: number | null | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
ww_serviceareaid?: string | undefined;
|
|
48
|
+
'@odata.etag'?: string | null | undefined;
|
|
49
|
+
_createdby_value?: string | null | undefined;
|
|
50
|
+
_createdonbehalfby_value?: string | null | undefined;
|
|
51
|
+
_modifiedby_value?: string | null | undefined;
|
|
52
|
+
_modifiedonbehalfby_value?: string | null | undefined;
|
|
53
|
+
createdon?: string | null | undefined;
|
|
54
|
+
importsequencenumber?: number | null | undefined;
|
|
55
|
+
modifiedon?: string | null | undefined;
|
|
56
|
+
overriddencreatedon?: string | null | undefined;
|
|
57
|
+
statecode?: number | null | undefined;
|
|
58
|
+
statuscode?: number | null | undefined;
|
|
59
|
+
timezoneruleversionnumber?: string | number | null | undefined;
|
|
60
|
+
utcconversiontimezonecode?: string | number | null | undefined;
|
|
61
|
+
versionnumber?: number | null | undefined;
|
|
62
|
+
'_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
|
|
63
|
+
ww_name?: string | null | undefined;
|
|
64
|
+
_organizationid_value?: string | null | undefined;
|
|
65
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
66
|
+
ww_classification?: number | null | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
SPayloadD365: z.ZodObject<{
|
|
69
|
+
readonly ww_serviceareaid: z.ZodOptional<z.ZodString>;
|
|
70
|
+
readonly ww_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
71
|
+
readonly ww_classification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
72
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
73
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
74
|
+
ww_serviceareaid?: string | undefined;
|
|
75
|
+
ww_name?: string | null | undefined;
|
|
76
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
77
|
+
ww_classification?: number | null | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
ww_serviceareaid?: string | undefined;
|
|
80
|
+
ww_name?: string | null | undefined;
|
|
81
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
82
|
+
ww_classification?: number | null | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
SResponseAPI: z.ZodObject<import("../_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
85
|
+
readonly _organizationid_value: {
|
|
86
|
+
readonly pretty: "organizationIdValue";
|
|
87
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
};
|
|
89
|
+
readonly '@odata.etag': {
|
|
90
|
+
readonly pretty: "etag";
|
|
91
|
+
readonly type: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, string | null | undefined>;
|
|
92
|
+
};
|
|
93
|
+
readonly versionnumber: {
|
|
94
|
+
readonly pretty: "versionNumber";
|
|
95
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
};
|
|
97
|
+
readonly _createdby_value: {
|
|
98
|
+
readonly pretty: "createdByValue";
|
|
99
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
};
|
|
101
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': {
|
|
102
|
+
readonly pretty: "createdByFormattedValue";
|
|
103
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
+
};
|
|
105
|
+
readonly createdon: {
|
|
106
|
+
readonly pretty: "createdOn";
|
|
107
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
108
|
+
};
|
|
109
|
+
readonly _createdonbehalfby_value: {
|
|
110
|
+
readonly pretty: "createdOnBehalfByValue";
|
|
111
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
+
};
|
|
113
|
+
readonly _modifiedby_value: {
|
|
114
|
+
readonly pretty: "modifiedByValue";
|
|
115
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
};
|
|
117
|
+
readonly modifiedon: {
|
|
118
|
+
readonly pretty: "modifiedOn";
|
|
119
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
};
|
|
121
|
+
readonly _modifiedonbehalfby_value: {
|
|
122
|
+
readonly pretty: "modifiedOnBehalfByValue";
|
|
123
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
};
|
|
125
|
+
readonly statecode: {
|
|
126
|
+
readonly pretty: "stateCode";
|
|
127
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
128
|
+
};
|
|
129
|
+
readonly statuscode: {
|
|
130
|
+
readonly pretty: "statusCode";
|
|
131
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
132
|
+
};
|
|
133
|
+
readonly importsequencenumber: {
|
|
134
|
+
readonly pretty: "importSequenceNumber";
|
|
135
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
136
|
+
};
|
|
137
|
+
readonly overriddencreatedon: {
|
|
138
|
+
readonly pretty: "overriddenCreatedOn";
|
|
139
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
140
|
+
};
|
|
141
|
+
readonly timezoneruleversionnumber: {
|
|
142
|
+
readonly pretty: "timezoneRuleVersionNumber";
|
|
143
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
144
|
+
};
|
|
145
|
+
readonly utcconversiontimezonecode: {
|
|
146
|
+
readonly pretty: "utcConversionTimezoneCode";
|
|
147
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
148
|
+
};
|
|
149
|
+
} & {
|
|
150
|
+
readonly ww_serviceareaid: {
|
|
151
|
+
readonly pretty: "serviceAreaId";
|
|
152
|
+
readonly type: z.ZodString;
|
|
153
|
+
};
|
|
154
|
+
readonly ww_name: {
|
|
155
|
+
readonly pretty: "name";
|
|
156
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
|
+
};
|
|
158
|
+
readonly ww_classification: {
|
|
159
|
+
readonly pretty: "classification";
|
|
160
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
161
|
+
};
|
|
162
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": {
|
|
163
|
+
readonly pretty: "classificationFormattedValue";
|
|
164
|
+
readonly type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
};
|
|
166
|
+
}, false>, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
167
|
+
serviceAreaId: string;
|
|
168
|
+
etag?: string | null | undefined;
|
|
169
|
+
versionNumber?: number | null | undefined;
|
|
170
|
+
createdByValue?: string | null | undefined;
|
|
171
|
+
createdByFormattedValue?: string | null | undefined;
|
|
172
|
+
createdOn?: string | null | undefined;
|
|
173
|
+
createdOnBehalfByValue?: string | null | undefined;
|
|
174
|
+
modifiedByValue?: string | null | undefined;
|
|
175
|
+
modifiedOn?: string | null | undefined;
|
|
176
|
+
modifiedOnBehalfByValue?: string | null | undefined;
|
|
177
|
+
stateCode?: number | null | undefined;
|
|
178
|
+
statusCode?: number | null | undefined;
|
|
179
|
+
importSequenceNumber?: number | null | undefined;
|
|
180
|
+
overriddenCreatedOn?: string | null | undefined;
|
|
181
|
+
timezoneRuleVersionNumber?: string | number | null | undefined;
|
|
182
|
+
utcConversionTimezoneCode?: string | number | null | undefined;
|
|
183
|
+
organizationIdValue?: string | null | undefined;
|
|
184
|
+
name?: string | null | undefined;
|
|
185
|
+
classification?: number | null | undefined;
|
|
186
|
+
classificationFormattedValue?: string | null | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
serviceAreaId: string;
|
|
189
|
+
etag?: string | null | undefined;
|
|
190
|
+
versionNumber?: number | null | undefined;
|
|
191
|
+
createdByValue?: string | null | undefined;
|
|
192
|
+
createdByFormattedValue?: string | null | undefined;
|
|
193
|
+
createdOn?: string | null | undefined;
|
|
194
|
+
createdOnBehalfByValue?: string | null | undefined;
|
|
195
|
+
modifiedByValue?: string | null | undefined;
|
|
196
|
+
modifiedOn?: string | null | undefined;
|
|
197
|
+
modifiedOnBehalfByValue?: string | null | undefined;
|
|
198
|
+
stateCode?: number | null | undefined;
|
|
199
|
+
statusCode?: number | null | undefined;
|
|
200
|
+
importSequenceNumber?: number | null | undefined;
|
|
201
|
+
overriddenCreatedOn?: string | null | undefined;
|
|
202
|
+
timezoneRuleVersionNumber?: string | number | null | undefined;
|
|
203
|
+
utcConversionTimezoneCode?: string | number | null | undefined;
|
|
204
|
+
organizationIdValue?: string | null | undefined;
|
|
205
|
+
name?: string | null | undefined;
|
|
206
|
+
classification?: number | null | undefined;
|
|
207
|
+
classificationFormattedValue?: string | null | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
SPayloadAPI: z.ZodObject<{
|
|
210
|
+
readonly serviceAreaId: z.ZodOptional<z.ZodString>;
|
|
211
|
+
readonly name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
212
|
+
readonly classification: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
213
|
+
readonly classificationFormattedValue: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
214
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
215
|
+
name?: string | null | undefined;
|
|
216
|
+
serviceAreaId?: string | undefined;
|
|
217
|
+
classification?: number | null | undefined;
|
|
218
|
+
classificationFormattedValue?: string | null | undefined;
|
|
219
|
+
}, {
|
|
220
|
+
name?: string | null | undefined;
|
|
221
|
+
serviceAreaId?: string | undefined;
|
|
222
|
+
classification?: number | null | undefined;
|
|
223
|
+
classificationFormattedValue?: string | null | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
keyD365ToPretty: {
|
|
226
|
+
readonly ww_serviceareaid: "serviceAreaId";
|
|
227
|
+
readonly ww_name: "name";
|
|
228
|
+
readonly ww_classification: "classification";
|
|
229
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": "classificationFormattedValue";
|
|
230
|
+
readonly _organizationid_value: "organizationIdValue";
|
|
231
|
+
readonly '@odata.etag': "etag";
|
|
232
|
+
readonly versionnumber: "versionNumber";
|
|
233
|
+
readonly _createdby_value: "createdByValue";
|
|
234
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
|
|
235
|
+
readonly createdon: "createdOn";
|
|
236
|
+
readonly _createdonbehalfby_value: "createdOnBehalfByValue";
|
|
237
|
+
readonly _modifiedby_value: "modifiedByValue";
|
|
238
|
+
readonly modifiedon: "modifiedOn";
|
|
239
|
+
readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
|
|
240
|
+
readonly statecode: "stateCode";
|
|
241
|
+
readonly statuscode: "statusCode";
|
|
242
|
+
readonly importsequencenumber: "importSequenceNumber";
|
|
243
|
+
readonly overriddencreatedon: "overriddenCreatedOn";
|
|
244
|
+
readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
|
|
245
|
+
readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
|
|
246
|
+
};
|
|
247
|
+
keyPrettyToD365: {
|
|
248
|
+
serviceAreaId: string;
|
|
249
|
+
etag: string;
|
|
250
|
+
createdByValue: string;
|
|
251
|
+
createdOnBehalfByValue: string;
|
|
252
|
+
modifiedByValue: string;
|
|
253
|
+
modifiedOnBehalfByValue: string;
|
|
254
|
+
createdOn: string;
|
|
255
|
+
importSequenceNumber: string;
|
|
256
|
+
modifiedOn: string;
|
|
257
|
+
overriddenCreatedOn: string;
|
|
258
|
+
stateCode: string;
|
|
259
|
+
statusCode: string;
|
|
260
|
+
timezoneRuleVersionNumber: string;
|
|
261
|
+
utcConversionTimezoneCode: string;
|
|
262
|
+
versionNumber: string;
|
|
263
|
+
createdByFormattedValue: string;
|
|
264
|
+
name: string;
|
|
265
|
+
organizationIdValue: string;
|
|
266
|
+
classificationFormattedValue: string;
|
|
267
|
+
classification: string;
|
|
268
|
+
};
|
|
269
|
+
mapD365ToPretty: (d365Record: Record<string, unknown>) => Record<string, unknown>;
|
|
270
|
+
mapPrettyToD365: (prettyRecord: Record<string, unknown>) => Record<string, unknown>;
|
|
271
|
+
};
|
|
272
|
+
export type TServiceAreaD365 = z.infer<typeof ServiceAreaEntity.SResponseD365>;
|
|
273
|
+
export type TServiceAreaAPI = z.infer<typeof ServiceAreaEntity.SResponseAPI>;
|
|
274
|
+
export type TServiceAreaPayloadAPI = z.infer<typeof ServiceAreaEntity.SPayloadAPI>;
|
|
275
|
+
//# sourceMappingURL=TServiceAreaAPI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TServiceAreaAPI.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/serviceArea/TServiceAreaAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI5B,CAAA;AAGF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,aAAa,CAAC,CAAA;AAC9E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,YAAY,CAAC,CAAA;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,iBAAiB,CAAC,WAAW,CACrC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createEntityTools } from '../_entityTools/CreateEntityTools.js';
|
|
2
|
+
import { serviceAreaFields } from './DServiceAreaAPI.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { organisationBaseFieldsD365 } from '../_bases/SBaseAPI.js';
|
|
5
|
+
export const ServiceAreaEntity = createEntityTools({
|
|
6
|
+
isLookupOnly: true,
|
|
7
|
+
uniqueFields: serviceAreaFields,
|
|
8
|
+
baseFields: organisationBaseFieldsD365,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=TServiceAreaAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TServiceAreaAPI.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/serviceArea/TServiceAreaAPI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAA;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AAElE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IACjD,YAAY,EAAE,IAAI;IAClB,YAAY,EAAE,iBAAiB;IAC/B,UAAU,EAAE,0BAA0B;CACvC,CAAC,CAAA"}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
export declare const ServiceArea: {
|
|
2
|
+
Metadata: {
|
|
3
|
+
readonly logicalName: "ww_servicearea";
|
|
4
|
+
readonly entitySetName: "ww_serviceareas";
|
|
5
|
+
readonly primaryKey: "ww_serviceareaid";
|
|
6
|
+
};
|
|
7
|
+
Tools: {
|
|
8
|
+
isLookupOnly: boolean;
|
|
9
|
+
SResponseD365: import("zod").ZodObject<{
|
|
10
|
+
readonly _organizationid_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
11
|
+
readonly '@odata.etag': import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null | undefined, string | null | undefined>>;
|
|
12
|
+
readonly versionnumber: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
13
|
+
readonly _createdby_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
14
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
15
|
+
readonly createdon: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
16
|
+
readonly _createdonbehalfby_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
17
|
+
readonly _modifiedby_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
18
|
+
readonly modifiedon: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
19
|
+
readonly _modifiedonbehalfby_value: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
20
|
+
readonly statecode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
21
|
+
readonly statuscode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
22
|
+
readonly importsequencenumber: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
23
|
+
readonly overriddencreatedon: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
24
|
+
readonly timezoneruleversionnumber: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>>;
|
|
25
|
+
readonly utcconversiontimezonecode: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>>;
|
|
26
|
+
readonly ww_serviceareaid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
readonly ww_name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
28
|
+
readonly ww_classification: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
29
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
30
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
31
|
+
ww_serviceareaid?: string | undefined;
|
|
32
|
+
'@odata.etag'?: string | null | undefined;
|
|
33
|
+
_createdby_value?: string | null | undefined;
|
|
34
|
+
_createdonbehalfby_value?: string | null | undefined;
|
|
35
|
+
_modifiedby_value?: string | null | undefined;
|
|
36
|
+
_modifiedonbehalfby_value?: string | null | undefined;
|
|
37
|
+
createdon?: string | null | undefined;
|
|
38
|
+
importsequencenumber?: number | null | undefined;
|
|
39
|
+
modifiedon?: string | null | undefined;
|
|
40
|
+
overriddencreatedon?: string | null | undefined;
|
|
41
|
+
statecode?: number | null | undefined;
|
|
42
|
+
statuscode?: number | null | undefined;
|
|
43
|
+
timezoneruleversionnumber?: string | number | null | undefined;
|
|
44
|
+
utcconversiontimezonecode?: string | number | null | undefined;
|
|
45
|
+
versionnumber?: number | null | undefined;
|
|
46
|
+
'_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
|
|
47
|
+
ww_name?: string | null | undefined;
|
|
48
|
+
_organizationid_value?: string | null | undefined;
|
|
49
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
50
|
+
ww_classification?: number | null | undefined;
|
|
51
|
+
}, {
|
|
52
|
+
ww_serviceareaid?: string | undefined;
|
|
53
|
+
'@odata.etag'?: string | null | undefined;
|
|
54
|
+
_createdby_value?: string | null | undefined;
|
|
55
|
+
_createdonbehalfby_value?: string | null | undefined;
|
|
56
|
+
_modifiedby_value?: string | null | undefined;
|
|
57
|
+
_modifiedonbehalfby_value?: string | null | undefined;
|
|
58
|
+
createdon?: string | null | undefined;
|
|
59
|
+
importsequencenumber?: number | null | undefined;
|
|
60
|
+
modifiedon?: string | null | undefined;
|
|
61
|
+
overriddencreatedon?: string | null | undefined;
|
|
62
|
+
statecode?: number | null | undefined;
|
|
63
|
+
statuscode?: number | null | undefined;
|
|
64
|
+
timezoneruleversionnumber?: string | number | null | undefined;
|
|
65
|
+
utcconversiontimezonecode?: string | number | null | undefined;
|
|
66
|
+
versionnumber?: number | null | undefined;
|
|
67
|
+
'_createdby_value@OData.Community.Display.V1.FormattedValue'?: string | null | undefined;
|
|
68
|
+
ww_name?: string | null | undefined;
|
|
69
|
+
_organizationid_value?: string | null | undefined;
|
|
70
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
71
|
+
ww_classification?: number | null | undefined;
|
|
72
|
+
}>;
|
|
73
|
+
SPayloadD365: import("zod").ZodObject<{
|
|
74
|
+
readonly ww_serviceareaid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
+
readonly ww_name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
76
|
+
readonly ww_classification: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
77
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
78
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
79
|
+
ww_serviceareaid?: string | undefined;
|
|
80
|
+
ww_name?: string | null | undefined;
|
|
81
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
82
|
+
ww_classification?: number | null | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
ww_serviceareaid?: string | undefined;
|
|
85
|
+
ww_name?: string | null | undefined;
|
|
86
|
+
"ww_classification@OData.Community.Display.V1.FormattedValue"?: string | null | undefined;
|
|
87
|
+
ww_classification?: number | null | undefined;
|
|
88
|
+
}>;
|
|
89
|
+
SResponseAPI: import("zod").ZodObject<import("../_entityTools/SchemasEntityTools.js").TPrettyShape<{
|
|
90
|
+
readonly _organizationid_value: {
|
|
91
|
+
readonly pretty: "organizationIdValue";
|
|
92
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
93
|
+
};
|
|
94
|
+
readonly '@odata.etag': {
|
|
95
|
+
readonly pretty: "etag";
|
|
96
|
+
readonly type: import("zod").ZodEffects<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>, string | null | undefined, string | null | undefined>;
|
|
97
|
+
};
|
|
98
|
+
readonly versionnumber: {
|
|
99
|
+
readonly pretty: "versionNumber";
|
|
100
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
101
|
+
};
|
|
102
|
+
readonly _createdby_value: {
|
|
103
|
+
readonly pretty: "createdByValue";
|
|
104
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
105
|
+
};
|
|
106
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': {
|
|
107
|
+
readonly pretty: "createdByFormattedValue";
|
|
108
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
109
|
+
};
|
|
110
|
+
readonly createdon: {
|
|
111
|
+
readonly pretty: "createdOn";
|
|
112
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
113
|
+
};
|
|
114
|
+
readonly _createdonbehalfby_value: {
|
|
115
|
+
readonly pretty: "createdOnBehalfByValue";
|
|
116
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
117
|
+
};
|
|
118
|
+
readonly _modifiedby_value: {
|
|
119
|
+
readonly pretty: "modifiedByValue";
|
|
120
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
121
|
+
};
|
|
122
|
+
readonly modifiedon: {
|
|
123
|
+
readonly pretty: "modifiedOn";
|
|
124
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
125
|
+
};
|
|
126
|
+
readonly _modifiedonbehalfby_value: {
|
|
127
|
+
readonly pretty: "modifiedOnBehalfByValue";
|
|
128
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
129
|
+
};
|
|
130
|
+
readonly statecode: {
|
|
131
|
+
readonly pretty: "stateCode";
|
|
132
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
133
|
+
};
|
|
134
|
+
readonly statuscode: {
|
|
135
|
+
readonly pretty: "statusCode";
|
|
136
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
137
|
+
};
|
|
138
|
+
readonly importsequencenumber: {
|
|
139
|
+
readonly pretty: "importSequenceNumber";
|
|
140
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
141
|
+
};
|
|
142
|
+
readonly overriddencreatedon: {
|
|
143
|
+
readonly pretty: "overriddenCreatedOn";
|
|
144
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
145
|
+
};
|
|
146
|
+
readonly timezoneruleversionnumber: {
|
|
147
|
+
readonly pretty: "timezoneRuleVersionNumber";
|
|
148
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
149
|
+
};
|
|
150
|
+
readonly utcconversiontimezonecode: {
|
|
151
|
+
readonly pretty: "utcConversionTimezoneCode";
|
|
152
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>>>;
|
|
153
|
+
};
|
|
154
|
+
} & {
|
|
155
|
+
readonly ww_serviceareaid: {
|
|
156
|
+
readonly pretty: "serviceAreaId";
|
|
157
|
+
readonly type: import("zod").ZodString;
|
|
158
|
+
};
|
|
159
|
+
readonly ww_name: {
|
|
160
|
+
readonly pretty: "name";
|
|
161
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
162
|
+
};
|
|
163
|
+
readonly ww_classification: {
|
|
164
|
+
readonly pretty: "classification";
|
|
165
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
166
|
+
};
|
|
167
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": {
|
|
168
|
+
readonly pretty: "classificationFormattedValue";
|
|
169
|
+
readonly type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
170
|
+
};
|
|
171
|
+
}, false>, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
172
|
+
serviceAreaId: string;
|
|
173
|
+
etag?: string | null | undefined;
|
|
174
|
+
versionNumber?: number | null | undefined;
|
|
175
|
+
createdByValue?: string | null | undefined;
|
|
176
|
+
createdByFormattedValue?: string | null | undefined;
|
|
177
|
+
createdOn?: string | null | undefined;
|
|
178
|
+
createdOnBehalfByValue?: string | null | undefined;
|
|
179
|
+
modifiedByValue?: string | null | undefined;
|
|
180
|
+
modifiedOn?: string | null | undefined;
|
|
181
|
+
modifiedOnBehalfByValue?: string | null | undefined;
|
|
182
|
+
stateCode?: number | null | undefined;
|
|
183
|
+
statusCode?: number | null | undefined;
|
|
184
|
+
importSequenceNumber?: number | null | undefined;
|
|
185
|
+
overriddenCreatedOn?: string | null | undefined;
|
|
186
|
+
timezoneRuleVersionNumber?: string | number | null | undefined;
|
|
187
|
+
utcConversionTimezoneCode?: string | number | null | undefined;
|
|
188
|
+
organizationIdValue?: string | null | undefined;
|
|
189
|
+
name?: string | null | undefined;
|
|
190
|
+
classification?: number | null | undefined;
|
|
191
|
+
classificationFormattedValue?: string | null | undefined;
|
|
192
|
+
}, {
|
|
193
|
+
serviceAreaId: string;
|
|
194
|
+
etag?: string | null | undefined;
|
|
195
|
+
versionNumber?: number | null | undefined;
|
|
196
|
+
createdByValue?: string | null | undefined;
|
|
197
|
+
createdByFormattedValue?: string | null | undefined;
|
|
198
|
+
createdOn?: string | null | undefined;
|
|
199
|
+
createdOnBehalfByValue?: string | null | undefined;
|
|
200
|
+
modifiedByValue?: string | null | undefined;
|
|
201
|
+
modifiedOn?: string | null | undefined;
|
|
202
|
+
modifiedOnBehalfByValue?: string | null | undefined;
|
|
203
|
+
stateCode?: number | null | undefined;
|
|
204
|
+
statusCode?: number | null | undefined;
|
|
205
|
+
importSequenceNumber?: number | null | undefined;
|
|
206
|
+
overriddenCreatedOn?: string | null | undefined;
|
|
207
|
+
timezoneRuleVersionNumber?: string | number | null | undefined;
|
|
208
|
+
utcConversionTimezoneCode?: string | number | null | undefined;
|
|
209
|
+
organizationIdValue?: string | null | undefined;
|
|
210
|
+
name?: string | null | undefined;
|
|
211
|
+
classification?: number | null | undefined;
|
|
212
|
+
classificationFormattedValue?: string | null | undefined;
|
|
213
|
+
}>;
|
|
214
|
+
SPayloadAPI: import("zod").ZodObject<{
|
|
215
|
+
readonly serviceAreaId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
216
|
+
readonly name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
217
|
+
readonly classification: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
218
|
+
readonly classificationFormattedValue: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
219
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
|
220
|
+
name?: string | null | undefined;
|
|
221
|
+
serviceAreaId?: string | undefined;
|
|
222
|
+
classification?: number | null | undefined;
|
|
223
|
+
classificationFormattedValue?: string | null | undefined;
|
|
224
|
+
}, {
|
|
225
|
+
name?: string | null | undefined;
|
|
226
|
+
serviceAreaId?: string | undefined;
|
|
227
|
+
classification?: number | null | undefined;
|
|
228
|
+
classificationFormattedValue?: string | null | undefined;
|
|
229
|
+
}>;
|
|
230
|
+
keyD365ToPretty: {
|
|
231
|
+
readonly ww_serviceareaid: "serviceAreaId";
|
|
232
|
+
readonly ww_name: "name";
|
|
233
|
+
readonly ww_classification: "classification";
|
|
234
|
+
readonly "ww_classification@OData.Community.Display.V1.FormattedValue": "classificationFormattedValue";
|
|
235
|
+
readonly _organizationid_value: "organizationIdValue";
|
|
236
|
+
readonly '@odata.etag': "etag";
|
|
237
|
+
readonly versionnumber: "versionNumber";
|
|
238
|
+
readonly _createdby_value: "createdByValue";
|
|
239
|
+
readonly '_createdby_value@OData.Community.Display.V1.FormattedValue': "createdByFormattedValue";
|
|
240
|
+
readonly createdon: "createdOn";
|
|
241
|
+
readonly _createdonbehalfby_value: "createdOnBehalfByValue";
|
|
242
|
+
readonly _modifiedby_value: "modifiedByValue";
|
|
243
|
+
readonly modifiedon: "modifiedOn";
|
|
244
|
+
readonly _modifiedonbehalfby_value: "modifiedOnBehalfByValue";
|
|
245
|
+
readonly statecode: "stateCode";
|
|
246
|
+
readonly statuscode: "statusCode";
|
|
247
|
+
readonly importsequencenumber: "importSequenceNumber";
|
|
248
|
+
readonly overriddencreatedon: "overriddenCreatedOn";
|
|
249
|
+
readonly timezoneruleversionnumber: "timezoneRuleVersionNumber";
|
|
250
|
+
readonly utcconversiontimezonecode: "utcConversionTimezoneCode";
|
|
251
|
+
};
|
|
252
|
+
keyPrettyToD365: {
|
|
253
|
+
serviceAreaId: string;
|
|
254
|
+
etag: string;
|
|
255
|
+
createdByValue: string;
|
|
256
|
+
createdOnBehalfByValue: string;
|
|
257
|
+
modifiedByValue: string;
|
|
258
|
+
modifiedOnBehalfByValue: string;
|
|
259
|
+
createdOn: string;
|
|
260
|
+
importSequenceNumber: string;
|
|
261
|
+
modifiedOn: string;
|
|
262
|
+
overriddenCreatedOn: string;
|
|
263
|
+
stateCode: string;
|
|
264
|
+
statusCode: string;
|
|
265
|
+
timezoneRuleVersionNumber: string;
|
|
266
|
+
utcConversionTimezoneCode: string;
|
|
267
|
+
versionNumber: string;
|
|
268
|
+
createdByFormattedValue: string;
|
|
269
|
+
name: string;
|
|
270
|
+
organizationIdValue: string;
|
|
271
|
+
classificationFormattedValue: string;
|
|
272
|
+
classification: string;
|
|
273
|
+
};
|
|
274
|
+
mapD365ToPretty: (d365Record: Record<string, unknown>) => Record<string, unknown>;
|
|
275
|
+
mapPrettyToD365: (prettyRecord: Record<string, unknown>) => Record<string, unknown>;
|
|
276
|
+
};
|
|
277
|
+
Options: {
|
|
278
|
+
readonly Classification: {
|
|
279
|
+
readonly worker: 787860000;
|
|
280
|
+
readonly client: 787860001;
|
|
281
|
+
readonly both: 787860002;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
export * from './TServiceAreaAPI.js';
|
|
286
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/serviceArea/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAA;AAID,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ServiceAreaEntity } from './TServiceAreaAPI.js';
|
|
2
|
+
import * as Definitions from './DServiceAreaAPI.js'; // Grabs all your Enums/Statuses
|
|
3
|
+
import { addToRegistry } from '../_entityTools/EntityRegistry.js';
|
|
4
|
+
import { EntityNames } from '../../../../enums/EntityNames.js';
|
|
5
|
+
export const ServiceArea = {
|
|
6
|
+
Metadata: EntityNames.serviceArea,
|
|
7
|
+
Tools: ServiceAreaEntity,
|
|
8
|
+
Options: Definitions.serviceAreaOptions,
|
|
9
|
+
};
|
|
10
|
+
addToRegistry('serviceArea', ServiceArea);
|
|
11
|
+
export * from './TServiceAreaAPI.js';
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/models/schemas/api/serviceArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA,CAAC,gCAAgC;AACpF,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,WAAW,CAAC,WAAW;IACjC,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,WAAW,CAAC,kBAAkB;CACxC,CAAA;AAED,aAAa,CAAC,aAAa,EAAE,WAAW,CAAC,CAAA;AAEzC,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceArea.test.d.ts","sourceRoot":"","sources":["../../../../../src/models/schemas/api/serviceArea/serviceArea.test.ts"],"names":[],"mappings":""}
|