@targetprocess/shared-data-model-client 0.2.0-us817837-mapping.31 → 0.2.0
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/api/sdm/index.js +1 -1
- package/dist/api/sdm/item/count/index.d.ts +37 -0
- package/dist/api/sdm/item/count/index.js +31 -0
- package/dist/api/sdm/item/index.d.ts +12 -27
- package/dist/api/sdm/item/index.js +12 -17
- package/dist/api/sdm/item/item/index.d.ts +43 -0
- package/dist/api/sdm/item/item/index.js +33 -0
- package/dist/models/index.d.ts +221 -86
- package/dist/models/index.js +264 -121
- package/package.json +1 -1
- package/src/api/sdm/index.ts +2 -2
- package/src/api/sdm/item/count/index.ts +59 -0
- package/src/api/sdm/item/index.ts +19 -39
- package/src/api/sdm/item/item/index.ts +65 -0
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +356 -156
- package/src/v1.json +369 -92
package/src/models/index.ts
CHANGED
|
@@ -2,8 +2,26 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
5
|
+
import { createUntypedNodeFromDiscriminatorValue, type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
9
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
10
|
+
* @returns {FieldAttributesDto}
|
|
11
|
+
*/
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
export function createFieldAttributesDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
14
|
+
return deserializeIntoFieldAttributesDto;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19
|
+
* @returns {FieldDefDto}
|
|
20
|
+
*/
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
export function createFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
23
|
+
return deserializeIntoFieldDefDto;
|
|
24
|
+
}
|
|
7
25
|
/**
|
|
8
26
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
9
27
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -13,6 +31,15 @@ import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode
|
|
|
13
31
|
export function createFieldMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
14
32
|
return deserializeIntoFieldMappingDto;
|
|
15
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
36
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
37
|
+
* @returns {FieldMetaDto}
|
|
38
|
+
*/
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
export function createFieldMetaDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
41
|
+
return deserializeIntoFieldMetaDto;
|
|
42
|
+
}
|
|
16
43
|
/**
|
|
17
44
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
45
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -49,15 +76,6 @@ export function createHttpValidationProblemDetails_errorsFromDiscriminatorValue(
|
|
|
49
76
|
export function createHttpValidationProblemDetailsFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
50
77
|
return deserializeIntoHttpValidationProblemDetails;
|
|
51
78
|
}
|
|
52
|
-
/**
|
|
53
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
54
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
55
|
-
* @returns {IFieldDef}
|
|
56
|
-
*/
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
export function createIFieldDefFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
59
|
-
return deserializeIntoIFieldDef;
|
|
60
|
-
}
|
|
61
79
|
/**
|
|
62
80
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
63
81
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -79,38 +97,47 @@ export function createProfileDtoFromDiscriminatorValue(parseNode: ParseNode | un
|
|
|
79
97
|
/**
|
|
80
98
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
81
99
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
82
|
-
* @returns {
|
|
100
|
+
* @returns {ProfileMappingDto}
|
|
83
101
|
*/
|
|
84
102
|
// @ts-ignore
|
|
85
|
-
export function
|
|
86
|
-
return
|
|
103
|
+
export function createProfileMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
104
|
+
return deserializeIntoProfileMappingDto;
|
|
87
105
|
}
|
|
88
106
|
/**
|
|
89
107
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
90
108
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
91
|
-
* @returns {
|
|
109
|
+
* @returns {RelationDefRefDto}
|
|
92
110
|
*/
|
|
93
111
|
// @ts-ignore
|
|
94
|
-
export function
|
|
95
|
-
return
|
|
112
|
+
export function createRelationDefRefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
113
|
+
return deserializeIntoRelationDefRefDto;
|
|
96
114
|
}
|
|
97
115
|
/**
|
|
98
116
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
99
117
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
100
|
-
* @returns {
|
|
118
|
+
* @returns {RelationDto}
|
|
101
119
|
*/
|
|
102
120
|
// @ts-ignore
|
|
103
|
-
export function
|
|
104
|
-
return
|
|
121
|
+
export function createRelationDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
122
|
+
return deserializeIntoRelationDto;
|
|
105
123
|
}
|
|
106
124
|
/**
|
|
107
125
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
108
126
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
109
|
-
* @returns {
|
|
127
|
+
* @returns {TypeDefDto}
|
|
110
128
|
*/
|
|
111
129
|
// @ts-ignore
|
|
112
|
-
export function
|
|
113
|
-
return
|
|
130
|
+
export function createTypeDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
131
|
+
return deserializeIntoTypeDefDto;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
135
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
136
|
+
* @returns {TypeDefRefDto}
|
|
137
|
+
*/
|
|
138
|
+
// @ts-ignore
|
|
139
|
+
export function createTypeDefRefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
140
|
+
return deserializeIntoTypeDefRefDto;
|
|
114
141
|
}
|
|
115
142
|
/**
|
|
116
143
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -135,13 +162,38 @@ export function createTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode
|
|
|
135
162
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
136
163
|
*/
|
|
137
164
|
// @ts-ignore
|
|
165
|
+
export function deserializeIntoFieldAttributesDto(fieldAttributesDto: Partial<FieldAttributesDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
166
|
+
return {
|
|
167
|
+
"isExtendable": n => { fieldAttributesDto.isExtendable = n.getBooleanValue(); },
|
|
168
|
+
"roleId": n => { fieldAttributesDto.roleId = n.getStringValue(); },
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* The deserialization information for the current model
|
|
173
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
174
|
+
*/
|
|
175
|
+
// @ts-ignore
|
|
176
|
+
export function deserializeIntoFieldDefDto(fieldDefDto: Partial<FieldDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
177
|
+
return {
|
|
178
|
+
"id": n => { fieldDefDto.id = n.getStringValue(); },
|
|
179
|
+
"meta": n => { fieldDefDto.meta = n.getObjectValue<FieldMetaDto>(createFieldMetaDtoFromDiscriminatorValue); },
|
|
180
|
+
"name": n => { fieldDefDto.name = n.getStringValue(); },
|
|
181
|
+
"path": n => { fieldDefDto.path = n.getStringValue(); },
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The deserialization information for the current model
|
|
186
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
187
|
+
*/
|
|
188
|
+
// @ts-ignore
|
|
138
189
|
export function deserializeIntoFieldMappingDto(fieldMappingDto: Partial<FieldMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
139
190
|
return {
|
|
140
191
|
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"target": n => { fieldMappingDto.target = n.getObjectValue<
|
|
144
|
-
"
|
|
192
|
+
"source": n => { fieldMappingDto.source = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
193
|
+
"sourceRel": n => { fieldMappingDto.sourceRel = n.getObjectValue<RelationDto>(createRelationDtoFromDiscriminatorValue); },
|
|
194
|
+
"target": n => { fieldMappingDto.target = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
195
|
+
"targetRel": n => { fieldMappingDto.targetRel = n.getObjectValue<RelationDto>(createRelationDtoFromDiscriminatorValue); },
|
|
196
|
+
"type": n => { fieldMappingDto.type = n.getEnumValue<FieldMappingType>(FieldMappingTypeObject); },
|
|
145
197
|
}
|
|
146
198
|
}
|
|
147
199
|
/**
|
|
@@ -149,10 +201,16 @@ export function deserializeIntoFieldMappingDto(fieldMappingDto: Partial<FieldMap
|
|
|
149
201
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
150
202
|
*/
|
|
151
203
|
// @ts-ignore
|
|
152
|
-
export function
|
|
204
|
+
export function deserializeIntoFieldMetaDto(fieldMetaDto: Partial<FieldMetaDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
153
205
|
return {
|
|
154
|
-
"
|
|
155
|
-
"
|
|
206
|
+
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue<FieldAttributesDto>(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
207
|
+
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
208
|
+
"kind": n => { fieldMetaDto.kind = n.getEnumValue<FieldKind>(FieldKindObject); },
|
|
209
|
+
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
210
|
+
"options": n => { fieldMetaDto.options = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
|
|
211
|
+
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
212
|
+
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
213
|
+
"type": n => { fieldMetaDto.type = n.getObjectValue<TypeDefRefDto>(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
156
214
|
}
|
|
157
215
|
}
|
|
158
216
|
/**
|
|
@@ -160,9 +218,9 @@ export function deserializeIntoGetEntityTypesDto(getEntityTypesDto: Partial<GetE
|
|
|
160
218
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
161
219
|
*/
|
|
162
220
|
// @ts-ignore
|
|
163
|
-
export function
|
|
221
|
+
export function deserializeIntoGetEntityTypesDto(getEntityTypesDto: Partial<GetEntityTypesDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
164
222
|
return {
|
|
165
|
-
"
|
|
223
|
+
"types": n => { getEntityTypesDto.types = n.getCollectionOfObjectValues<TypeMetaDefDto>(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
166
224
|
}
|
|
167
225
|
}
|
|
168
226
|
/**
|
|
@@ -170,10 +228,9 @@ export function deserializeIntoGetProfileSettingsDto(getProfileSettingsDto: Part
|
|
|
170
228
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
171
229
|
*/
|
|
172
230
|
// @ts-ignore
|
|
173
|
-
export function
|
|
231
|
+
export function deserializeIntoGetProfileSettingsDto(getProfileSettingsDto: Partial<GetProfileSettingsDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
174
232
|
return {
|
|
175
|
-
|
|
176
|
-
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue<HttpValidationProblemDetails_errors>(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
233
|
+
"profile": n => { getProfileSettingsDto.profile = n.getObjectValue<ProfileDto>(createProfileDtoFromDiscriminatorValue); },
|
|
177
234
|
}
|
|
178
235
|
}
|
|
179
236
|
/**
|
|
@@ -181,8 +238,10 @@ export function deserializeIntoHttpValidationProblemDetails(httpValidationProble
|
|
|
181
238
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
182
239
|
*/
|
|
183
240
|
// @ts-ignore
|
|
184
|
-
export function
|
|
241
|
+
export function deserializeIntoHttpValidationProblemDetails(httpValidationProblemDetails: Partial<HttpValidationProblemDetails> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
185
242
|
return {
|
|
243
|
+
...deserializeIntoProblemDetails(httpValidationProblemDetails),
|
|
244
|
+
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue<HttpValidationProblemDetails_errors>(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
186
245
|
}
|
|
187
246
|
}
|
|
188
247
|
/**
|
|
@@ -190,10 +249,8 @@ export function deserializeIntoHttpValidationProblemDetails_errors(httpValidatio
|
|
|
190
249
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
191
250
|
*/
|
|
192
251
|
// @ts-ignore
|
|
193
|
-
export function
|
|
252
|
+
export function deserializeIntoHttpValidationProblemDetails_errors(httpValidationProblemDetails_errors: Partial<HttpValidationProblemDetails_errors> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
194
253
|
return {
|
|
195
|
-
"expression": n => { iFieldDef.expression = n.getStringValue(); },
|
|
196
|
-
"kind": n => { iFieldDef.kind = n.getEnumValue<FieldKind>(FieldKindObject); },
|
|
197
254
|
}
|
|
198
255
|
}
|
|
199
256
|
/**
|
|
@@ -220,7 +277,7 @@ export function deserializeIntoProfileDto(profileDto: Partial<ProfileDto> | unde
|
|
|
220
277
|
"account": n => { profileDto.account = n.getStringValue(); },
|
|
221
278
|
"enabled": n => { profileDto.enabled = n.getBooleanValue(); },
|
|
222
279
|
"id": n => { profileDto.id = n.getStringValue(); },
|
|
223
|
-
"
|
|
280
|
+
"mappings": n => { profileDto.mappings = n.getCollectionOfObjectValues<ProfileMappingDto>(createProfileMappingDtoFromDiscriminatorValue); },
|
|
224
281
|
}
|
|
225
282
|
}
|
|
226
283
|
/**
|
|
@@ -228,10 +285,12 @@ export function deserializeIntoProfileDto(profileDto: Partial<ProfileDto> | unde
|
|
|
228
285
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
229
286
|
*/
|
|
230
287
|
// @ts-ignore
|
|
231
|
-
export function
|
|
288
|
+
export function deserializeIntoProfileMappingDto(profileMappingDto: Partial<ProfileMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
232
289
|
return {
|
|
233
|
-
"
|
|
234
|
-
"
|
|
290
|
+
"enabled": n => { profileMappingDto.enabled = n.getBooleanValue(); },
|
|
291
|
+
"id": n => { profileMappingDto.id = n.getStringValue(); },
|
|
292
|
+
"name": n => { profileMappingDto.name = n.getStringValue(); },
|
|
293
|
+
"typeMappings": n => { profileMappingDto.typeMappings = n.getCollectionOfObjectValues<TypeMappingDto>(createTypeMappingDtoFromDiscriminatorValue); },
|
|
235
294
|
}
|
|
236
295
|
}
|
|
237
296
|
/**
|
|
@@ -239,11 +298,10 @@ export function deserializeIntoSdmMappingFieldDefDto(sdmMappingFieldDefDto: Part
|
|
|
239
298
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
240
299
|
*/
|
|
241
300
|
// @ts-ignore
|
|
242
|
-
export function
|
|
301
|
+
export function deserializeIntoRelationDefRefDto(relationDefRefDto: Partial<RelationDefRefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
243
302
|
return {
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"name": n => { sdmTypeDefDto.name = n.getStringValue(); },
|
|
303
|
+
"direction": n => { relationDefRefDto.direction = n.getEnumValue<RelationDirection>(RelationDirectionObject); },
|
|
304
|
+
"id": n => { relationDefRefDto.id = n.getStringValue(); },
|
|
247
305
|
}
|
|
248
306
|
}
|
|
249
307
|
/**
|
|
@@ -251,10 +309,11 @@ export function deserializeIntoSdmTypeDefDto(sdmTypeDefDto: Partial<SdmTypeDefDt
|
|
|
251
309
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
252
310
|
*/
|
|
253
311
|
// @ts-ignore
|
|
254
|
-
export function
|
|
312
|
+
export function deserializeIntoRelationDto(relationDto: Partial<RelationDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
255
313
|
return {
|
|
256
|
-
"
|
|
257
|
-
"
|
|
314
|
+
"childType": n => { relationDto.childType = n.getObjectValue<TypeDefRefDto>(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
315
|
+
"field": n => { relationDto.field = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
316
|
+
"relation": n => { relationDto.relation = n.getObjectValue<RelationDefRefDto>(createRelationDefRefDtoFromDiscriminatorValue); },
|
|
258
317
|
}
|
|
259
318
|
}
|
|
260
319
|
/**
|
|
@@ -262,11 +321,23 @@ export function deserializeIntoTpMappingFieldDefDto(tpMappingFieldDefDto: Partia
|
|
|
262
321
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
263
322
|
*/
|
|
264
323
|
// @ts-ignore
|
|
265
|
-
export function
|
|
324
|
+
export function deserializeIntoTypeDefDto(typeDefDto: Partial<TypeDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
266
325
|
return {
|
|
267
|
-
"id": n => {
|
|
268
|
-
"
|
|
269
|
-
"
|
|
326
|
+
"id": n => { typeDefDto.id = n.getStringValue(); },
|
|
327
|
+
"javaScriptComparator": n => { typeDefDto.javaScriptComparator = n.getStringValue(); },
|
|
328
|
+
"kind": n => { typeDefDto.kind = n.getEnumValue<TypeKind>(TypeKindObject); },
|
|
329
|
+
"name": n => { typeDefDto.name = n.getStringValue(); },
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* The deserialization information for the current model
|
|
334
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
335
|
+
*/
|
|
336
|
+
// @ts-ignore
|
|
337
|
+
export function deserializeIntoTypeDefRefDto(typeDefRefDto: Partial<TypeDefRefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
338
|
+
return {
|
|
339
|
+
"id": n => { typeDefRefDto.id = n.getStringValue(); },
|
|
340
|
+
"kind": n => { typeDefRefDto.kind = n.getEnumValue<TypeKind>(TypeKindObject); },
|
|
270
341
|
}
|
|
271
342
|
}
|
|
272
343
|
/**
|
|
@@ -278,9 +349,8 @@ export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappin
|
|
|
278
349
|
return {
|
|
279
350
|
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues<FieldMappingDto>(createFieldMappingDtoFromDiscriminatorValue); },
|
|
280
351
|
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"targetType": n => { typeMappingDto.targetType = n.getObjectValue<SdmTypeDefDto>(createSdmTypeDefDtoFromDiscriminatorValue); },
|
|
352
|
+
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
353
|
+
"targetType": n => { typeMappingDto.targetType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
284
354
|
}
|
|
285
355
|
}
|
|
286
356
|
/**
|
|
@@ -290,12 +360,40 @@ export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappin
|
|
|
290
360
|
// @ts-ignore
|
|
291
361
|
export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
292
362
|
return {
|
|
293
|
-
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<
|
|
363
|
+
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
294
364
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
295
|
-
"kind": n => { typeMetaDefDto.kind = n.
|
|
365
|
+
"kind": n => { typeMetaDefDto.kind = n.getStringValue(); },
|
|
296
366
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
297
367
|
}
|
|
298
368
|
}
|
|
369
|
+
export interface FieldAttributesDto extends Parsable {
|
|
370
|
+
/**
|
|
371
|
+
* The isExtendable property
|
|
372
|
+
*/
|
|
373
|
+
isExtendable?: boolean | null;
|
|
374
|
+
/**
|
|
375
|
+
* The roleId property
|
|
376
|
+
*/
|
|
377
|
+
roleId?: string | null;
|
|
378
|
+
}
|
|
379
|
+
export interface FieldDefDto extends Parsable {
|
|
380
|
+
/**
|
|
381
|
+
* The id property
|
|
382
|
+
*/
|
|
383
|
+
id?: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* The meta property
|
|
386
|
+
*/
|
|
387
|
+
meta?: FieldMetaDto | null;
|
|
388
|
+
/**
|
|
389
|
+
* The name property
|
|
390
|
+
*/
|
|
391
|
+
name?: string | null;
|
|
392
|
+
/**
|
|
393
|
+
* The path property
|
|
394
|
+
*/
|
|
395
|
+
path?: string | null;
|
|
396
|
+
}
|
|
299
397
|
export type FieldKind = (typeof FieldKindObject)[keyof typeof FieldKindObject];
|
|
300
398
|
export interface FieldMappingDto extends Parsable {
|
|
301
399
|
/**
|
|
@@ -303,31 +401,66 @@ export interface FieldMappingDto extends Parsable {
|
|
|
303
401
|
*/
|
|
304
402
|
id?: string | null;
|
|
305
403
|
/**
|
|
306
|
-
* The
|
|
404
|
+
* The source property
|
|
307
405
|
*/
|
|
308
|
-
|
|
406
|
+
source?: FieldDefDto | null;
|
|
309
407
|
/**
|
|
310
|
-
* The
|
|
408
|
+
* The sourceRel property
|
|
311
409
|
*/
|
|
312
|
-
|
|
410
|
+
sourceRel?: RelationDto | null;
|
|
313
411
|
/**
|
|
314
412
|
* The target property
|
|
315
413
|
*/
|
|
316
|
-
target?:
|
|
414
|
+
target?: FieldDefDto | null;
|
|
415
|
+
/**
|
|
416
|
+
* The targetRel property
|
|
417
|
+
*/
|
|
418
|
+
targetRel?: RelationDto | null;
|
|
317
419
|
/**
|
|
318
420
|
* The type property
|
|
319
421
|
*/
|
|
320
|
-
type?:
|
|
422
|
+
type?: FieldMappingType | null;
|
|
321
423
|
}
|
|
322
|
-
export
|
|
424
|
+
export type FieldMappingType = (typeof FieldMappingTypeObject)[keyof typeof FieldMappingTypeObject];
|
|
425
|
+
export interface FieldMetaDto extends Parsable {
|
|
323
426
|
/**
|
|
324
|
-
* The
|
|
427
|
+
* The attributes property
|
|
325
428
|
*/
|
|
326
|
-
|
|
429
|
+
attributes?: FieldAttributesDto | null;
|
|
430
|
+
/**
|
|
431
|
+
* The isReadonly property
|
|
432
|
+
*/
|
|
433
|
+
isReadonly?: boolean | null;
|
|
434
|
+
/**
|
|
435
|
+
* The kind property
|
|
436
|
+
*/
|
|
437
|
+
kind?: FieldKind | null;
|
|
327
438
|
/**
|
|
328
|
-
* The
|
|
439
|
+
* The multiple property
|
|
329
440
|
*/
|
|
330
|
-
|
|
441
|
+
multiple?: boolean | null;
|
|
442
|
+
/**
|
|
443
|
+
* The options property
|
|
444
|
+
*/
|
|
445
|
+
options?: UntypedNode | null;
|
|
446
|
+
/**
|
|
447
|
+
* The required property
|
|
448
|
+
*/
|
|
449
|
+
required?: boolean | null;
|
|
450
|
+
/**
|
|
451
|
+
* The roundsDate property
|
|
452
|
+
*/
|
|
453
|
+
roundsDate?: boolean | null;
|
|
454
|
+
/**
|
|
455
|
+
* The type property
|
|
456
|
+
*/
|
|
457
|
+
type?: TypeDefRefDto | null;
|
|
458
|
+
}
|
|
459
|
+
export interface GetEntityTypesDto extends Parsable {
|
|
460
|
+
/**
|
|
461
|
+
* The types property
|
|
462
|
+
*/
|
|
463
|
+
types?: TypeMetaDefDto[] | null;
|
|
331
464
|
}
|
|
332
465
|
export interface GetProfileSettingsDto extends Parsable {
|
|
333
466
|
/**
|
|
@@ -347,17 +480,6 @@ export interface HttpValidationProblemDetails_errors extends AdditionalDataHolde
|
|
|
347
480
|
*/
|
|
348
481
|
additionalData?: Record<string, unknown>;
|
|
349
482
|
}
|
|
350
|
-
export interface IFieldDef extends Parsable {
|
|
351
|
-
/**
|
|
352
|
-
* The expression property
|
|
353
|
-
*/
|
|
354
|
-
expression?: string | null;
|
|
355
|
-
/**
|
|
356
|
-
* The kind property
|
|
357
|
-
*/
|
|
358
|
-
kind?: FieldKind | null;
|
|
359
|
-
}
|
|
360
|
-
export type MappingKind = (typeof MappingKindObject)[keyof typeof MappingKindObject];
|
|
361
483
|
export interface ProblemDetails extends AdditionalDataHolder, ApiError, Parsable {
|
|
362
484
|
/**
|
|
363
485
|
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
@@ -398,33 +520,76 @@ export interface ProfileDto extends Parsable {
|
|
|
398
520
|
*/
|
|
399
521
|
id?: string | null;
|
|
400
522
|
/**
|
|
401
|
-
* The
|
|
523
|
+
* The mappings property
|
|
402
524
|
*/
|
|
403
|
-
|
|
525
|
+
mappings?: ProfileMappingDto[] | null;
|
|
404
526
|
}
|
|
405
|
-
export interface
|
|
527
|
+
export interface ProfileMappingDto extends Parsable {
|
|
406
528
|
/**
|
|
407
|
-
* The
|
|
529
|
+
* The enabled property
|
|
408
530
|
*/
|
|
409
|
-
|
|
531
|
+
enabled?: boolean | null;
|
|
410
532
|
/**
|
|
411
|
-
* The
|
|
533
|
+
* The id property
|
|
534
|
+
*/
|
|
535
|
+
id?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* The name property
|
|
538
|
+
*/
|
|
539
|
+
name?: string | null;
|
|
540
|
+
/**
|
|
541
|
+
* The typeMappings property
|
|
412
542
|
*/
|
|
413
|
-
|
|
543
|
+
typeMappings?: TypeMappingDto[] | null;
|
|
414
544
|
}
|
|
415
|
-
export interface
|
|
545
|
+
export interface RelationDefRefDto extends Parsable {
|
|
546
|
+
/**
|
|
547
|
+
* The direction property
|
|
548
|
+
*/
|
|
549
|
+
direction?: RelationDirection | null;
|
|
416
550
|
/**
|
|
417
551
|
* The id property
|
|
418
552
|
*/
|
|
419
553
|
id?: string | null;
|
|
554
|
+
}
|
|
555
|
+
export type RelationDirection = (typeof RelationDirectionObject)[keyof typeof RelationDirectionObject];
|
|
556
|
+
export interface RelationDto extends Parsable {
|
|
420
557
|
/**
|
|
421
|
-
* The
|
|
558
|
+
* The childType property
|
|
422
559
|
*/
|
|
423
|
-
|
|
560
|
+
childType?: TypeDefRefDto | null;
|
|
424
561
|
/**
|
|
425
|
-
* The
|
|
562
|
+
* The field property
|
|
426
563
|
*/
|
|
427
|
-
|
|
564
|
+
field?: FieldDefDto | null;
|
|
565
|
+
/**
|
|
566
|
+
* The relation property
|
|
567
|
+
*/
|
|
568
|
+
relation?: RelationDefRefDto | null;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Serializes information the current object
|
|
572
|
+
* @param writer Serialization writer to use to serialize this model
|
|
573
|
+
*/
|
|
574
|
+
// @ts-ignore
|
|
575
|
+
export function serializeFieldAttributesDto(writer: SerializationWriter, fieldAttributesDto: Partial<FieldAttributesDto> | undefined | null = {}) : void {
|
|
576
|
+
if (fieldAttributesDto) {
|
|
577
|
+
writer.writeBooleanValue("isExtendable", fieldAttributesDto.isExtendable);
|
|
578
|
+
writer.writeStringValue("roleId", fieldAttributesDto.roleId);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Serializes information the current object
|
|
583
|
+
* @param writer Serialization writer to use to serialize this model
|
|
584
|
+
*/
|
|
585
|
+
// @ts-ignore
|
|
586
|
+
export function serializeFieldDefDto(writer: SerializationWriter, fieldDefDto: Partial<FieldDefDto> | undefined | null = {}) : void {
|
|
587
|
+
if (fieldDefDto) {
|
|
588
|
+
writer.writeStringValue("id", fieldDefDto.id);
|
|
589
|
+
writer.writeObjectValue<FieldMetaDto>("meta", fieldDefDto.meta, serializeFieldMetaDto);
|
|
590
|
+
writer.writeStringValue("name", fieldDefDto.name);
|
|
591
|
+
writer.writeStringValue("path", fieldDefDto.path);
|
|
592
|
+
}
|
|
428
593
|
}
|
|
429
594
|
/**
|
|
430
595
|
* Serializes information the current object
|
|
@@ -434,10 +599,28 @@ export interface SdmTypeDefDto extends Parsable {
|
|
|
434
599
|
export function serializeFieldMappingDto(writer: SerializationWriter, fieldMappingDto: Partial<FieldMappingDto> | undefined | null = {}) : void {
|
|
435
600
|
if (fieldMappingDto) {
|
|
436
601
|
writer.writeStringValue("id", fieldMappingDto.id);
|
|
437
|
-
writer.
|
|
438
|
-
writer.writeObjectValue<
|
|
439
|
-
writer.writeObjectValue<
|
|
440
|
-
writer.
|
|
602
|
+
writer.writeObjectValue<FieldDefDto>("source", fieldMappingDto.source, serializeFieldDefDto);
|
|
603
|
+
writer.writeObjectValue<RelationDto>("sourceRel", fieldMappingDto.sourceRel, serializeRelationDto);
|
|
604
|
+
writer.writeObjectValue<FieldDefDto>("target", fieldMappingDto.target, serializeFieldDefDto);
|
|
605
|
+
writer.writeObjectValue<RelationDto>("targetRel", fieldMappingDto.targetRel, serializeRelationDto);
|
|
606
|
+
writer.writeEnumValue<FieldMappingType>("type", fieldMappingDto.type);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Serializes information the current object
|
|
611
|
+
* @param writer Serialization writer to use to serialize this model
|
|
612
|
+
*/
|
|
613
|
+
// @ts-ignore
|
|
614
|
+
export function serializeFieldMetaDto(writer: SerializationWriter, fieldMetaDto: Partial<FieldMetaDto> | undefined | null = {}) : void {
|
|
615
|
+
if (fieldMetaDto) {
|
|
616
|
+
writer.writeObjectValue<FieldAttributesDto>("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
617
|
+
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
618
|
+
writer.writeEnumValue<FieldKind>("kind", fieldMetaDto.kind);
|
|
619
|
+
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
620
|
+
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
621
|
+
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
622
|
+
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
623
|
+
writer.writeObjectValue<TypeDefRefDto>("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
441
624
|
}
|
|
442
625
|
}
|
|
443
626
|
/**
|
|
@@ -447,8 +630,7 @@ export function serializeFieldMappingDto(writer: SerializationWriter, fieldMappi
|
|
|
447
630
|
// @ts-ignore
|
|
448
631
|
export function serializeGetEntityTypesDto(writer: SerializationWriter, getEntityTypesDto: Partial<GetEntityTypesDto> | undefined | null = {}) : void {
|
|
449
632
|
if (getEntityTypesDto) {
|
|
450
|
-
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("
|
|
451
|
-
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("tpTypes", getEntityTypesDto.tpTypes, serializeTypeMetaDefDto);
|
|
633
|
+
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("types", getEntityTypesDto.types, serializeTypeMetaDefDto);
|
|
452
634
|
}
|
|
453
635
|
}
|
|
454
636
|
/**
|
|
@@ -487,17 +669,6 @@ export function serializeHttpValidationProblemDetails_errors(writer: Serializati
|
|
|
487
669
|
* @param writer Serialization writer to use to serialize this model
|
|
488
670
|
*/
|
|
489
671
|
// @ts-ignore
|
|
490
|
-
export function serializeIFieldDef(writer: SerializationWriter, iFieldDef: Partial<IFieldDef> | undefined | null = {}) : void {
|
|
491
|
-
if (iFieldDef) {
|
|
492
|
-
writer.writeStringValue("expression", iFieldDef.expression);
|
|
493
|
-
writer.writeEnumValue<FieldKind>("kind", iFieldDef.kind);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* Serializes information the current object
|
|
498
|
-
* @param writer Serialization writer to use to serialize this model
|
|
499
|
-
*/
|
|
500
|
-
// @ts-ignore
|
|
501
672
|
export function serializeProblemDetails(writer: SerializationWriter, problemDetails: Partial<ProblemDetails> | undefined | null = {}) : void {
|
|
502
673
|
if (problemDetails) {
|
|
503
674
|
writer.writeStringValue("detail", problemDetails.detail);
|
|
@@ -518,7 +689,20 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
|
|
|
518
689
|
writer.writeStringValue("account", profileDto.account);
|
|
519
690
|
writer.writeBooleanValue("enabled", profileDto.enabled);
|
|
520
691
|
writer.writeStringValue("id", profileDto.id);
|
|
521
|
-
writer.writeCollectionOfObjectValues<
|
|
692
|
+
writer.writeCollectionOfObjectValues<ProfileMappingDto>("mappings", profileDto.mappings, serializeProfileMappingDto);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Serializes information the current object
|
|
697
|
+
* @param writer Serialization writer to use to serialize this model
|
|
698
|
+
*/
|
|
699
|
+
// @ts-ignore
|
|
700
|
+
export function serializeProfileMappingDto(writer: SerializationWriter, profileMappingDto: Partial<ProfileMappingDto> | undefined | null = {}) : void {
|
|
701
|
+
if (profileMappingDto) {
|
|
702
|
+
writer.writeBooleanValue("enabled", profileMappingDto.enabled);
|
|
703
|
+
writer.writeStringValue("id", profileMappingDto.id);
|
|
704
|
+
writer.writeStringValue("name", profileMappingDto.name);
|
|
705
|
+
writer.writeCollectionOfObjectValues<TypeMappingDto>("typeMappings", profileMappingDto.typeMappings, serializeTypeMappingDto);
|
|
522
706
|
}
|
|
523
707
|
}
|
|
524
708
|
/**
|
|
@@ -526,10 +710,10 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
|
|
|
526
710
|
* @param writer Serialization writer to use to serialize this model
|
|
527
711
|
*/
|
|
528
712
|
// @ts-ignore
|
|
529
|
-
export function
|
|
530
|
-
if (
|
|
531
|
-
writer.
|
|
532
|
-
writer.
|
|
713
|
+
export function serializeRelationDefRefDto(writer: SerializationWriter, relationDefRefDto: Partial<RelationDefRefDto> | undefined | null = {}) : void {
|
|
714
|
+
if (relationDefRefDto) {
|
|
715
|
+
writer.writeEnumValue<RelationDirection>("direction", relationDefRefDto.direction);
|
|
716
|
+
writer.writeStringValue("id", relationDefRefDto.id);
|
|
533
717
|
}
|
|
534
718
|
}
|
|
535
719
|
/**
|
|
@@ -537,11 +721,11 @@ export function serializeSdmMappingFieldDefDto(writer: SerializationWriter, sdmM
|
|
|
537
721
|
* @param writer Serialization writer to use to serialize this model
|
|
538
722
|
*/
|
|
539
723
|
// @ts-ignore
|
|
540
|
-
export function
|
|
541
|
-
if (
|
|
542
|
-
writer.
|
|
543
|
-
writer.
|
|
544
|
-
writer.
|
|
724
|
+
export function serializeRelationDto(writer: SerializationWriter, relationDto: Partial<RelationDto> | undefined | null = {}) : void {
|
|
725
|
+
if (relationDto) {
|
|
726
|
+
writer.writeObjectValue<TypeDefRefDto>("childType", relationDto.childType, serializeTypeDefRefDto);
|
|
727
|
+
writer.writeObjectValue<FieldDefDto>("field", relationDto.field, serializeFieldDefDto);
|
|
728
|
+
writer.writeObjectValue<RelationDefRefDto>("relation", relationDto.relation, serializeRelationDefRefDto);
|
|
545
729
|
}
|
|
546
730
|
}
|
|
547
731
|
/**
|
|
@@ -549,10 +733,12 @@ export function serializeSdmTypeDefDto(writer: SerializationWriter, sdmTypeDefDt
|
|
|
549
733
|
* @param writer Serialization writer to use to serialize this model
|
|
550
734
|
*/
|
|
551
735
|
// @ts-ignore
|
|
552
|
-
export function
|
|
553
|
-
if (
|
|
554
|
-
writer.writeStringValue("
|
|
555
|
-
writer.
|
|
736
|
+
export function serializeTypeDefDto(writer: SerializationWriter, typeDefDto: Partial<TypeDefDto> | undefined | null = {}) : void {
|
|
737
|
+
if (typeDefDto) {
|
|
738
|
+
writer.writeStringValue("id", typeDefDto.id);
|
|
739
|
+
writer.writeStringValue("javaScriptComparator", typeDefDto.javaScriptComparator);
|
|
740
|
+
writer.writeEnumValue<TypeKind>("kind", typeDefDto.kind);
|
|
741
|
+
writer.writeStringValue("name", typeDefDto.name);
|
|
556
742
|
}
|
|
557
743
|
}
|
|
558
744
|
/**
|
|
@@ -560,11 +746,10 @@ export function serializeTpMappingFieldDefDto(writer: SerializationWriter, tpMap
|
|
|
560
746
|
* @param writer Serialization writer to use to serialize this model
|
|
561
747
|
*/
|
|
562
748
|
// @ts-ignore
|
|
563
|
-
export function
|
|
564
|
-
if (
|
|
565
|
-
writer.writeStringValue("id",
|
|
566
|
-
writer.writeEnumValue<TypeKind>("kind",
|
|
567
|
-
writer.writeStringValue("name", tpTypeDefDto.name);
|
|
749
|
+
export function serializeTypeDefRefDto(writer: SerializationWriter, typeDefRefDto: Partial<TypeDefRefDto> | undefined | null = {}) : void {
|
|
750
|
+
if (typeDefRefDto) {
|
|
751
|
+
writer.writeStringValue("id", typeDefRefDto.id);
|
|
752
|
+
writer.writeEnumValue<TypeKind>("kind", typeDefRefDto.kind);
|
|
568
753
|
}
|
|
569
754
|
}
|
|
570
755
|
/**
|
|
@@ -576,9 +761,8 @@ export function serializeTypeMappingDto(writer: SerializationWriter, typeMapping
|
|
|
576
761
|
if (typeMappingDto) {
|
|
577
762
|
writer.writeCollectionOfObjectValues<FieldMappingDto>("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
578
763
|
writer.writeStringValue("id", typeMappingDto.id);
|
|
579
|
-
writer.
|
|
580
|
-
writer.writeObjectValue<
|
|
581
|
-
writer.writeObjectValue<SdmTypeDefDto>("targetType", typeMappingDto.targetType, serializeSdmTypeDefDto);
|
|
764
|
+
writer.writeObjectValue<TypeDefDto>("sourceType", typeMappingDto.sourceType, serializeTypeDefDto);
|
|
765
|
+
writer.writeObjectValue<TypeDefDto>("targetType", typeMappingDto.targetType, serializeTypeDefDto);
|
|
582
766
|
}
|
|
583
767
|
}
|
|
584
768
|
/**
|
|
@@ -588,23 +772,31 @@ export function serializeTypeMappingDto(writer: SerializationWriter, typeMapping
|
|
|
588
772
|
// @ts-ignore
|
|
589
773
|
export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDefDto: Partial<TypeMetaDefDto> | undefined | null = {}) : void {
|
|
590
774
|
if (typeMetaDefDto) {
|
|
591
|
-
writer.writeCollectionOfObjectValues<
|
|
775
|
+
writer.writeCollectionOfObjectValues<FieldDefDto>("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
592
776
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
593
|
-
writer.
|
|
777
|
+
writer.writeStringValue("kind", typeMetaDefDto.kind);
|
|
594
778
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
595
779
|
}
|
|
596
780
|
}
|
|
597
|
-
export interface
|
|
781
|
+
export interface TypeDefDto extends Parsable {
|
|
598
782
|
/**
|
|
599
|
-
* The
|
|
783
|
+
* The id property
|
|
784
|
+
*/
|
|
785
|
+
id?: string | null;
|
|
786
|
+
/**
|
|
787
|
+
* The javaScriptComparator property
|
|
600
788
|
*/
|
|
601
|
-
|
|
789
|
+
javaScriptComparator?: string | null;
|
|
602
790
|
/**
|
|
603
791
|
* The kind property
|
|
604
792
|
*/
|
|
605
|
-
kind?:
|
|
793
|
+
kind?: TypeKind | null;
|
|
794
|
+
/**
|
|
795
|
+
* The name property
|
|
796
|
+
*/
|
|
797
|
+
name?: string | null;
|
|
606
798
|
}
|
|
607
|
-
export interface
|
|
799
|
+
export interface TypeDefRefDto extends Parsable {
|
|
608
800
|
/**
|
|
609
801
|
* The id property
|
|
610
802
|
*/
|
|
@@ -613,10 +805,6 @@ export interface TpTypeDefDto extends Parsable {
|
|
|
613
805
|
* The kind property
|
|
614
806
|
*/
|
|
615
807
|
kind?: TypeKind | null;
|
|
616
|
-
/**
|
|
617
|
-
* The name property
|
|
618
|
-
*/
|
|
619
|
-
name?: string | null;
|
|
620
808
|
}
|
|
621
809
|
export type TypeKind = (typeof TypeKindObject)[keyof typeof TypeKindObject];
|
|
622
810
|
export interface TypeMappingDto extends Parsable {
|
|
@@ -628,24 +816,20 @@ export interface TypeMappingDto extends Parsable {
|
|
|
628
816
|
* The id property
|
|
629
817
|
*/
|
|
630
818
|
id?: string | null;
|
|
631
|
-
/**
|
|
632
|
-
* The isValid property
|
|
633
|
-
*/
|
|
634
|
-
isValid?: boolean | null;
|
|
635
819
|
/**
|
|
636
820
|
* The sourceType property
|
|
637
821
|
*/
|
|
638
|
-
sourceType?:
|
|
822
|
+
sourceType?: TypeDefDto | null;
|
|
639
823
|
/**
|
|
640
824
|
* The targetType property
|
|
641
825
|
*/
|
|
642
|
-
targetType?:
|
|
826
|
+
targetType?: TypeDefDto | null;
|
|
643
827
|
}
|
|
644
828
|
export interface TypeMetaDefDto extends Parsable {
|
|
645
829
|
/**
|
|
646
830
|
* The fields property
|
|
647
831
|
*/
|
|
648
|
-
fields?:
|
|
832
|
+
fields?: FieldDefDto[] | null;
|
|
649
833
|
/**
|
|
650
834
|
* The id property
|
|
651
835
|
*/
|
|
@@ -653,20 +837,36 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
653
837
|
/**
|
|
654
838
|
* The kind property
|
|
655
839
|
*/
|
|
656
|
-
kind?:
|
|
840
|
+
kind?: string | null;
|
|
657
841
|
/**
|
|
658
842
|
* The name property
|
|
659
843
|
*/
|
|
660
844
|
name?: string | null;
|
|
661
845
|
}
|
|
662
846
|
export const FieldKindObject = {
|
|
663
|
-
|
|
664
|
-
|
|
847
|
+
CollectionFieldMeta: "CollectionFieldMeta",
|
|
848
|
+
FieldMeta: "FieldMeta",
|
|
849
|
+
SelectFieldMeta: "SelectFieldMeta",
|
|
850
|
+
} as const;
|
|
851
|
+
export const FieldMappingTypeObject = {
|
|
852
|
+
ValueFieldMapping: "ValueFieldMapping",
|
|
853
|
+
CollectionFieldMapping: "CollectionFieldMapping",
|
|
854
|
+
ReferenceToStringFieldMapping: "ReferenceToStringFieldMapping",
|
|
855
|
+
TargetprocessDescriptionMapping: "TargetprocessDescriptionMapping",
|
|
856
|
+
CollectionToStringMapping: "CollectionToStringMapping",
|
|
857
|
+
RelationFieldMapping: "RelationFieldMapping",
|
|
858
|
+
EntityStateMapping: "EntityStateMapping",
|
|
859
|
+
JavaScriptFieldMapping: "JavaScriptFieldMapping",
|
|
860
|
+
UserFieldMapping: "UserFieldMapping",
|
|
861
|
+
RoleAssignmentUserFieldMapping: "RoleAssignmentUserFieldMapping",
|
|
862
|
+
RoleEffortFieldMapping: "RoleEffortFieldMapping",
|
|
863
|
+
ConstantFieldMapping: "ConstantFieldMapping",
|
|
864
|
+
RoleAssignmentsFieldMapping: "RoleAssignmentsFieldMapping",
|
|
865
|
+
RoleEffortToRoleEffortFieldMapping: "RoleEffortToRoleEffortFieldMapping",
|
|
665
866
|
} as const;
|
|
666
|
-
export const
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
FreeExpression: "FreeExpression",
|
|
867
|
+
export const RelationDirectionObject = {
|
|
868
|
+
Inbound: "Inbound",
|
|
869
|
+
Outbound: "Outbound",
|
|
670
870
|
} as const;
|
|
671
871
|
export const TypeKindObject = {
|
|
672
872
|
String: "String",
|