@targetprocess/shared-data-model-client 0.2.0-us817123-mappings.7 → 0.2.0-us817123-improvements.5
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/settings/entityTypes/index.d.ts +7 -7
- package/dist/api/settings/entityTypes/index.js +5 -5
- package/dist/api/settings/profile/index.d.ts +14 -14
- package/dist/api/settings/profile/index.js +11 -11
- package/dist/api/sharedData/index.d.ts +7 -7
- package/dist/api/sharedData/index.js +5 -5
- package/dist/models/index.d.ts +290 -213
- package/dist/models/index.js +338 -256
- package/package.json +1 -1
- package/src/api/settings/entityTypes/index.ts +12 -12
- package/src/api/settings/profile/index.ts +25 -25
- package/src/api/sharedData/index.ts +12 -12
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +460 -343
- package/src/v1.json +246 -93
package/src/models/index.ts
CHANGED
|
@@ -7,165 +7,196 @@ import { createUntypedNodeFromDiscriminatorValue, type AdditionalDataHolder, typ
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
9
9
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
10
|
-
* @returns {
|
|
10
|
+
* @returns {FieldAttributesDto}
|
|
11
11
|
*/
|
|
12
12
|
// @ts-ignore
|
|
13
|
-
export function
|
|
14
|
-
return
|
|
13
|
+
export function createFieldAttributesDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
14
|
+
return deserializeIntoFieldAttributesDto;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
18
18
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19
|
-
* @returns {
|
|
19
|
+
* @returns {FieldDefDto}
|
|
20
20
|
*/
|
|
21
21
|
// @ts-ignore
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function createFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
23
|
+
return deserializeIntoFieldDefDto;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
27
27
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
28
|
-
* @returns {
|
|
28
|
+
* @returns {FieldMappingDto}
|
|
29
29
|
*/
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
export function
|
|
32
|
-
return
|
|
31
|
+
export function createFieldMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
32
|
+
return deserializeIntoFieldMappingDto;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
36
36
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
37
|
-
* @returns {
|
|
37
|
+
* @returns {FieldMetaDto}
|
|
38
38
|
*/
|
|
39
39
|
// @ts-ignore
|
|
40
|
-
export function
|
|
41
|
-
return
|
|
40
|
+
export function createFieldMetaDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
41
|
+
return deserializeIntoFieldMetaDto;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
45
45
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
46
|
-
* @returns {
|
|
46
|
+
* @returns {GetEntityTypesDto}
|
|
47
47
|
*/
|
|
48
48
|
// @ts-ignore
|
|
49
|
-
export function
|
|
50
|
-
return
|
|
49
|
+
export function createGetEntityTypesDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
50
|
+
return deserializeIntoGetEntityTypesDto;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
54
54
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
55
|
-
* @returns {
|
|
55
|
+
* @returns {GetProfileSettingsDto}
|
|
56
56
|
*/
|
|
57
57
|
// @ts-ignore
|
|
58
|
-
export function
|
|
59
|
-
return
|
|
58
|
+
export function createGetProfileSettingsDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
59
|
+
return deserializeIntoGetProfileSettingsDto;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
63
63
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
64
|
-
* @returns {
|
|
64
|
+
* @returns {GetSharedDataModelResponseDto}
|
|
65
65
|
*/
|
|
66
66
|
// @ts-ignore
|
|
67
|
-
export function
|
|
68
|
-
return
|
|
67
|
+
export function createGetSharedDataModelResponseDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
68
|
+
return deserializeIntoGetSharedDataModelResponseDto;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
72
72
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
73
|
-
* @returns {
|
|
73
|
+
* @returns {HttpValidationProblemDetails_errors}
|
|
74
74
|
*/
|
|
75
75
|
// @ts-ignore
|
|
76
|
-
export function
|
|
77
|
-
return
|
|
76
|
+
export function createHttpValidationProblemDetails_errorsFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
77
|
+
return deserializeIntoHttpValidationProblemDetails_errors;
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
80
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
81
81
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
82
|
-
* @returns {
|
|
82
|
+
* @returns {HttpValidationProblemDetails}
|
|
83
83
|
*/
|
|
84
84
|
// @ts-ignore
|
|
85
|
-
export function
|
|
86
|
-
return
|
|
85
|
+
export function createHttpValidationProblemDetailsFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
86
|
+
return deserializeIntoHttpValidationProblemDetails;
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
90
90
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
91
|
-
* @returns {
|
|
91
|
+
* @returns {ProblemDetails}
|
|
92
92
|
*/
|
|
93
93
|
// @ts-ignore
|
|
94
|
-
export function
|
|
95
|
-
return
|
|
94
|
+
export function createProblemDetailsFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
95
|
+
return deserializeIntoProblemDetails;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
99
99
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
100
|
-
* @returns {
|
|
100
|
+
* @returns {ProfileDto}
|
|
101
101
|
*/
|
|
102
102
|
// @ts-ignore
|
|
103
|
-
export function
|
|
104
|
-
return
|
|
103
|
+
export function createProfileDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
104
|
+
return deserializeIntoProfileDto;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
108
108
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
109
|
-
* @returns {
|
|
109
|
+
* @returns {ProfileMappingDto}
|
|
110
110
|
*/
|
|
111
111
|
// @ts-ignore
|
|
112
|
-
export function
|
|
113
|
-
return
|
|
112
|
+
export function createProfileMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
113
|
+
return deserializeIntoProfileMappingDto;
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
117
117
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
118
|
-
* @returns {
|
|
118
|
+
* @returns {RelationDefRefDto}
|
|
119
119
|
*/
|
|
120
120
|
// @ts-ignore
|
|
121
|
-
export function
|
|
122
|
-
return
|
|
121
|
+
export function createRelationDefRefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
122
|
+
return deserializeIntoRelationDefRefDto;
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
125
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
126
126
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
127
|
-
* @returns {
|
|
127
|
+
* @returns {RelationDto}
|
|
128
128
|
*/
|
|
129
129
|
// @ts-ignore
|
|
130
|
-
export function
|
|
131
|
-
return
|
|
130
|
+
export function createRelationDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
131
|
+
return deserializeIntoRelationDto;
|
|
132
132
|
}
|
|
133
133
|
/**
|
|
134
134
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
135
135
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
136
|
-
* @returns {
|
|
136
|
+
* @returns {TpUser}
|
|
137
137
|
*/
|
|
138
138
|
// @ts-ignore
|
|
139
|
-
export function
|
|
140
|
-
return
|
|
139
|
+
export function createTpUserFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
140
|
+
return deserializeIntoTpUser;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
144
144
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
145
|
-
* @returns {
|
|
145
|
+
* @returns {TypeDefDto}
|
|
146
146
|
*/
|
|
147
147
|
// @ts-ignore
|
|
148
|
-
export function
|
|
149
|
-
return
|
|
148
|
+
export function createTypeDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
149
|
+
return deserializeIntoTypeDefDto;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
153
153
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
154
|
-
* @returns {
|
|
154
|
+
* @returns {TypeDefRefDto}
|
|
155
155
|
*/
|
|
156
156
|
// @ts-ignore
|
|
157
|
-
export function
|
|
158
|
-
return
|
|
157
|
+
export function createTypeDefRefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
158
|
+
return deserializeIntoTypeDefRefDto;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
162
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
163
|
+
* @returns {TypeMappingDto}
|
|
164
|
+
*/
|
|
165
|
+
// @ts-ignore
|
|
166
|
+
export function createTypeMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
167
|
+
return deserializeIntoTypeMappingDto;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
171
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
172
|
+
* @returns {TypeMetaDefDto}
|
|
173
|
+
*/
|
|
174
|
+
// @ts-ignore
|
|
175
|
+
export function createTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
176
|
+
return deserializeIntoTypeMetaDefDto;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* The deserialization information for the current model
|
|
180
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
181
|
+
*/
|
|
182
|
+
// @ts-ignore
|
|
183
|
+
export function deserializeIntoFieldAttributesDto(fieldAttributesDto: Partial<FieldAttributesDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
184
|
+
return {
|
|
185
|
+
"isExtendable": n => { fieldAttributesDto.isExtendable = n.getBooleanValue(); },
|
|
186
|
+
"roleId": n => { fieldAttributesDto.roleId = n.getStringValue(); },
|
|
187
|
+
}
|
|
159
188
|
}
|
|
160
189
|
/**
|
|
161
190
|
* The deserialization information for the current model
|
|
162
191
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
163
192
|
*/
|
|
164
193
|
// @ts-ignore
|
|
165
|
-
export function
|
|
194
|
+
export function deserializeIntoFieldDefDto(fieldDefDto: Partial<FieldDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
166
195
|
return {
|
|
167
|
-
|
|
168
|
-
"
|
|
196
|
+
"id": n => { fieldDefDto.id = n.getStringValue(); },
|
|
197
|
+
"meta": n => { fieldDefDto.meta = n.getObjectValue<FieldMetaDto>(createFieldMetaDtoFromDiscriminatorValue); },
|
|
198
|
+
"name": n => { fieldDefDto.name = n.getStringValue(); },
|
|
199
|
+
"path": n => { fieldDefDto.path = n.getStringValue(); },
|
|
169
200
|
}
|
|
170
201
|
}
|
|
171
202
|
/**
|
|
@@ -173,8 +204,14 @@ export function deserializeIntoMicrosoftAspNetCoreHttpHttpValidationProblemDetai
|
|
|
173
204
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
174
205
|
*/
|
|
175
206
|
// @ts-ignore
|
|
176
|
-
export function
|
|
207
|
+
export function deserializeIntoFieldMappingDto(fieldMappingDto: Partial<FieldMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
177
208
|
return {
|
|
209
|
+
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
210
|
+
"source": n => { fieldMappingDto.source = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
211
|
+
"sourceRel": n => { fieldMappingDto.sourceRel = n.getObjectValue<RelationDto>(createRelationDtoFromDiscriminatorValue); },
|
|
212
|
+
"target": n => { fieldMappingDto.target = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
213
|
+
"targetRel": n => { fieldMappingDto.targetRel = n.getObjectValue<RelationDto>(createRelationDtoFromDiscriminatorValue); },
|
|
214
|
+
"type": n => { fieldMappingDto.type = n.getEnumValue<FieldMappingType>(FieldMappingTypeObject); },
|
|
178
215
|
}
|
|
179
216
|
}
|
|
180
217
|
/**
|
|
@@ -182,13 +219,16 @@ export function deserializeIntoMicrosoftAspNetCoreHttpHttpValidationProblemDetai
|
|
|
182
219
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
183
220
|
*/
|
|
184
221
|
// @ts-ignore
|
|
185
|
-
export function
|
|
222
|
+
export function deserializeIntoFieldMetaDto(fieldMetaDto: Partial<FieldMetaDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
186
223
|
return {
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
224
|
+
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue<FieldAttributesDto>(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
225
|
+
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
226
|
+
"kind": n => { fieldMetaDto.kind = n.getEnumValue<FieldKind>(FieldKindObject); },
|
|
227
|
+
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
228
|
+
"options": n => { fieldMetaDto.options = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
|
|
229
|
+
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
230
|
+
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
231
|
+
"type": n => { fieldMetaDto.type = n.getObjectValue<TypeDefRefDto>(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
192
232
|
}
|
|
193
233
|
}
|
|
194
234
|
/**
|
|
@@ -196,10 +236,9 @@ export function deserializeIntoMicrosoftAspNetCoreMvcProblemDetails(microsoftAsp
|
|
|
196
236
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
197
237
|
*/
|
|
198
238
|
// @ts-ignore
|
|
199
|
-
export function
|
|
239
|
+
export function deserializeIntoGetEntityTypesDto(getEntityTypesDto: Partial<GetEntityTypesDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
200
240
|
return {
|
|
201
|
-
"
|
|
202
|
-
"roleId": n => { tpSharedDataModelServiceModulesSettingsFieldAttributesDto.roleId = n.getStringValue(); },
|
|
241
|
+
"types": n => { getEntityTypesDto.types = n.getCollectionOfObjectValues<TypeMetaDefDto>(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
203
242
|
}
|
|
204
243
|
}
|
|
205
244
|
/**
|
|
@@ -207,12 +246,9 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldAttri
|
|
|
207
246
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
208
247
|
*/
|
|
209
248
|
// @ts-ignore
|
|
210
|
-
export function
|
|
249
|
+
export function deserializeIntoGetProfileSettingsDto(getProfileSettingsDto: Partial<GetProfileSettingsDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
211
250
|
return {
|
|
212
|
-
"
|
|
213
|
-
"meta": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.meta = n.getObjectValue<TpSharedDataModelServiceModulesSettingsFieldMetaDto>(createTpSharedDataModelServiceModulesSettingsFieldMetaDtoFromDiscriminatorValue); },
|
|
214
|
-
"name": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.name = n.getStringValue(); },
|
|
215
|
-
"path": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.path = n.getStringValue(); },
|
|
251
|
+
"profile": n => { getProfileSettingsDto.profile = n.getObjectValue<ProfileDto>(createProfileDtoFromDiscriminatorValue); },
|
|
216
252
|
}
|
|
217
253
|
}
|
|
218
254
|
/**
|
|
@@ -220,10 +256,9 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldDefDt
|
|
|
220
256
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
221
257
|
*/
|
|
222
258
|
// @ts-ignore
|
|
223
|
-
export function
|
|
259
|
+
export function deserializeIntoGetSharedDataModelResponseDto(getSharedDataModelResponseDto: Partial<GetSharedDataModelResponseDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
224
260
|
return {
|
|
225
|
-
"
|
|
226
|
-
"type": n => { tpSharedDataModelServiceModulesSettingsFieldMappingDto.type = n.getEnumValue<TpSharedDataModelServiceModulesSettingsFieldMappingType>(TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject); },
|
|
261
|
+
"users": n => { getSharedDataModelResponseDto.users = n.getCollectionOfObjectValues<TpUser>(createTpUserFromDiscriminatorValue); },
|
|
227
262
|
}
|
|
228
263
|
}
|
|
229
264
|
/**
|
|
@@ -231,16 +266,10 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldMappi
|
|
|
231
266
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
232
267
|
*/
|
|
233
268
|
// @ts-ignore
|
|
234
|
-
export function
|
|
269
|
+
export function deserializeIntoHttpValidationProblemDetails(httpValidationProblemDetails: Partial<HttpValidationProblemDetails> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
235
270
|
return {
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
"kind": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.kind = n.getEnumValue<TpSharedDataModelServiceModulesSettingsFieldKind>(TpSharedDataModelServiceModulesSettingsFieldKindObject); },
|
|
239
|
-
"multiple": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.multiple = n.getBooleanValue(); },
|
|
240
|
-
"options": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.options = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
|
|
241
|
-
"required": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.required = n.getBooleanValue(); },
|
|
242
|
-
"roundsDate": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
243
|
-
"type": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.type = n.getObjectValue<TpSharedDataModelServiceModulesSettingsTypeDefRefDto>(createTpSharedDataModelServiceModulesSettingsTypeDefRefDtoFromDiscriminatorValue); },
|
|
271
|
+
...deserializeIntoProblemDetails(httpValidationProblemDetails),
|
|
272
|
+
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue<HttpValidationProblemDetails_errors>(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
244
273
|
}
|
|
245
274
|
}
|
|
246
275
|
/**
|
|
@@ -248,9 +277,8 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldMetaD
|
|
|
248
277
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
249
278
|
*/
|
|
250
279
|
// @ts-ignore
|
|
251
|
-
export function
|
|
280
|
+
export function deserializeIntoHttpValidationProblemDetails_errors(httpValidationProblemDetails_errors: Partial<HttpValidationProblemDetails_errors> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
252
281
|
return {
|
|
253
|
-
"types": n => { tpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto.types = n.getCollectionOfObjectValues<TpSharedDataModelServiceModulesSettingsTypeMetaDefDto>(createTpSharedDataModelServiceModulesSettingsTypeMetaDefDtoFromDiscriminatorValue); },
|
|
254
282
|
}
|
|
255
283
|
}
|
|
256
284
|
/**
|
|
@@ -258,9 +286,13 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsGetEntityT
|
|
|
258
286
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
259
287
|
*/
|
|
260
288
|
// @ts-ignore
|
|
261
|
-
export function
|
|
289
|
+
export function deserializeIntoProblemDetails(problemDetails: Partial<ProblemDetails> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
262
290
|
return {
|
|
263
|
-
"
|
|
291
|
+
"detail": n => { problemDetails.detail = n.getStringValue(); },
|
|
292
|
+
"instance": n => { problemDetails.instance = n.getStringValue(); },
|
|
293
|
+
"status": n => { problemDetails.status = n.getNumberValue(); },
|
|
294
|
+
"title": n => { problemDetails.title = n.getStringValue(); },
|
|
295
|
+
"type": n => { problemDetails.type = n.getStringValue(); },
|
|
264
296
|
}
|
|
265
297
|
}
|
|
266
298
|
/**
|
|
@@ -268,11 +300,11 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsGetProfile
|
|
|
268
300
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
269
301
|
*/
|
|
270
302
|
// @ts-ignore
|
|
271
|
-
export function
|
|
303
|
+
export function deserializeIntoProfileDto(profileDto: Partial<ProfileDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
272
304
|
return {
|
|
273
|
-
"id": n => {
|
|
274
|
-
"mappings": n => {
|
|
275
|
-
"name": n => {
|
|
305
|
+
"id": n => { profileDto.id = n.getStringValue(); },
|
|
306
|
+
"mappings": n => { profileDto.mappings = n.getCollectionOfObjectValues<ProfileMappingDto>(createProfileMappingDtoFromDiscriminatorValue); },
|
|
307
|
+
"name": n => { profileDto.name = n.getStringValue(); },
|
|
276
308
|
}
|
|
277
309
|
}
|
|
278
310
|
/**
|
|
@@ -280,12 +312,12 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsProfileDto
|
|
|
280
312
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
281
313
|
*/
|
|
282
314
|
// @ts-ignore
|
|
283
|
-
export function
|
|
315
|
+
export function deserializeIntoProfileMappingDto(profileMappingDto: Partial<ProfileMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
284
316
|
return {
|
|
285
|
-
"enabled": n => {
|
|
286
|
-
"id": n => {
|
|
287
|
-
"name": n => {
|
|
288
|
-
"typeMappings": n => {
|
|
317
|
+
"enabled": n => { profileMappingDto.enabled = n.getBooleanValue(); },
|
|
318
|
+
"id": n => { profileMappingDto.id = n.getStringValue(); },
|
|
319
|
+
"name": n => { profileMappingDto.name = n.getStringValue(); },
|
|
320
|
+
"typeMappings": n => { profileMappingDto.typeMappings = n.getCollectionOfObjectValues<TypeMappingDto>(createTypeMappingDtoFromDiscriminatorValue); },
|
|
289
321
|
}
|
|
290
322
|
}
|
|
291
323
|
/**
|
|
@@ -293,12 +325,10 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsProfileMap
|
|
|
293
325
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
294
326
|
*/
|
|
295
327
|
// @ts-ignore
|
|
296
|
-
export function
|
|
328
|
+
export function deserializeIntoRelationDefRefDto(relationDefRefDto: Partial<RelationDefRefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
297
329
|
return {
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"kind": n => { tpSharedDataModelServiceModulesSettingsTypeDefDto.kind = n.getEnumValue<TpSharedDataModelServiceModulesSettingsTypeKind>(TpSharedDataModelServiceModulesSettingsTypeKindObject); },
|
|
301
|
-
"name": n => { tpSharedDataModelServiceModulesSettingsTypeDefDto.name = n.getStringValue(); },
|
|
330
|
+
"direction": n => { relationDefRefDto.direction = n.getEnumValue<RelationDirection>(RelationDirectionObject); },
|
|
331
|
+
"id": n => { relationDefRefDto.id = n.getStringValue(); },
|
|
302
332
|
}
|
|
303
333
|
}
|
|
304
334
|
/**
|
|
@@ -306,10 +336,11 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeDefDto
|
|
|
306
336
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
307
337
|
*/
|
|
308
338
|
// @ts-ignore
|
|
309
|
-
export function
|
|
339
|
+
export function deserializeIntoRelationDto(relationDto: Partial<RelationDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
310
340
|
return {
|
|
311
|
-
"
|
|
312
|
-
"
|
|
341
|
+
"childType": n => { relationDto.childType = n.getObjectValue<TypeDefRefDto>(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
342
|
+
"field": n => { relationDto.field = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
343
|
+
"relation": n => { relationDto.relation = n.getObjectValue<RelationDefRefDto>(createRelationDefRefDtoFromDiscriminatorValue); },
|
|
313
344
|
}
|
|
314
345
|
}
|
|
315
346
|
/**
|
|
@@ -317,12 +348,9 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeDefRef
|
|
|
317
348
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
318
349
|
*/
|
|
319
350
|
// @ts-ignore
|
|
320
|
-
export function
|
|
351
|
+
export function deserializeIntoTpUser(tpUser: Partial<TpUser> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
321
352
|
return {
|
|
322
|
-
"
|
|
323
|
-
"id": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.id = n.getStringValue(); },
|
|
324
|
-
"sourceType": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.sourceType = n.getObjectValue<TpSharedDataModelServiceModulesSettingsTypeDefDto>(createTpSharedDataModelServiceModulesSettingsTypeDefDtoFromDiscriminatorValue); },
|
|
325
|
-
"targetType": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.targetType = n.getObjectValue<TpSharedDataModelServiceModulesSettingsTypeDefDto>(createTpSharedDataModelServiceModulesSettingsTypeDefDtoFromDiscriminatorValue); },
|
|
353
|
+
"email": n => { tpUser.email = n.getStringValue(); },
|
|
326
354
|
}
|
|
327
355
|
}
|
|
328
356
|
/**
|
|
@@ -330,12 +358,12 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeMappin
|
|
|
330
358
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
331
359
|
*/
|
|
332
360
|
// @ts-ignore
|
|
333
|
-
export function
|
|
361
|
+
export function deserializeIntoTypeDefDto(typeDefDto: Partial<TypeDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
334
362
|
return {
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"kind": n => {
|
|
338
|
-
"name": n => {
|
|
363
|
+
"id": n => { typeDefDto.id = n.getStringValue(); },
|
|
364
|
+
"javaScriptComparator": n => { typeDefDto.javaScriptComparator = n.getStringValue(); },
|
|
365
|
+
"kind": n => { typeDefDto.kind = n.getEnumValue<TypeKind>(TypeKindObject); },
|
|
366
|
+
"name": n => { typeDefDto.name = n.getStringValue(); },
|
|
339
367
|
}
|
|
340
368
|
}
|
|
341
369
|
/**
|
|
@@ -343,9 +371,10 @@ export function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeMetaDe
|
|
|
343
371
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
344
372
|
*/
|
|
345
373
|
// @ts-ignore
|
|
346
|
-
export function
|
|
374
|
+
export function deserializeIntoTypeDefRefDto(typeDefRefDto: Partial<TypeDefRefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
347
375
|
return {
|
|
348
|
-
"
|
|
376
|
+
"id": n => { typeDefRefDto.id = n.getStringValue(); },
|
|
377
|
+
"kind": n => { typeDefRefDto.kind = n.getEnumValue<TypeKind>(TypeKindObject); },
|
|
349
378
|
}
|
|
350
379
|
}
|
|
351
380
|
/**
|
|
@@ -353,24 +382,148 @@ export function deserializeIntoTpSharedDataModelServiceModulesSharedDataModelGet
|
|
|
353
382
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
354
383
|
*/
|
|
355
384
|
// @ts-ignore
|
|
356
|
-
export function
|
|
385
|
+
export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
357
386
|
return {
|
|
358
|
-
"
|
|
387
|
+
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues<FieldMappingDto>(createFieldMappingDtoFromDiscriminatorValue); },
|
|
388
|
+
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
389
|
+
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
390
|
+
"targetType": n => { typeMappingDto.targetType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
359
391
|
}
|
|
360
392
|
}
|
|
361
|
-
|
|
393
|
+
/**
|
|
394
|
+
* The deserialization information for the current model
|
|
395
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
396
|
+
*/
|
|
397
|
+
// @ts-ignore
|
|
398
|
+
export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
399
|
+
return {
|
|
400
|
+
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
401
|
+
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
402
|
+
"kind": n => { typeMetaDefDto.kind = n.getStringValue(); },
|
|
403
|
+
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
export interface FieldAttributesDto extends Parsable {
|
|
407
|
+
/**
|
|
408
|
+
* The isExtendable property
|
|
409
|
+
*/
|
|
410
|
+
isExtendable?: boolean | null;
|
|
411
|
+
/**
|
|
412
|
+
* The roleId property
|
|
413
|
+
*/
|
|
414
|
+
roleId?: string | null;
|
|
415
|
+
}
|
|
416
|
+
export interface FieldDefDto extends Parsable {
|
|
417
|
+
/**
|
|
418
|
+
* The id property
|
|
419
|
+
*/
|
|
420
|
+
id?: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* The meta property
|
|
423
|
+
*/
|
|
424
|
+
meta?: FieldMetaDto | null;
|
|
425
|
+
/**
|
|
426
|
+
* The name property
|
|
427
|
+
*/
|
|
428
|
+
name?: string | null;
|
|
429
|
+
/**
|
|
430
|
+
* The path property
|
|
431
|
+
*/
|
|
432
|
+
path?: string | null;
|
|
433
|
+
}
|
|
434
|
+
export type FieldKind = (typeof FieldKindObject)[keyof typeof FieldKindObject];
|
|
435
|
+
export interface FieldMappingDto extends Parsable {
|
|
436
|
+
/**
|
|
437
|
+
* The id property
|
|
438
|
+
*/
|
|
439
|
+
id?: string | null;
|
|
440
|
+
/**
|
|
441
|
+
* The source property
|
|
442
|
+
*/
|
|
443
|
+
source?: FieldDefDto | null;
|
|
444
|
+
/**
|
|
445
|
+
* The sourceRel property
|
|
446
|
+
*/
|
|
447
|
+
sourceRel?: RelationDto | null;
|
|
448
|
+
/**
|
|
449
|
+
* The target property
|
|
450
|
+
*/
|
|
451
|
+
target?: FieldDefDto | null;
|
|
452
|
+
/**
|
|
453
|
+
* The targetRel property
|
|
454
|
+
*/
|
|
455
|
+
targetRel?: RelationDto | null;
|
|
456
|
+
/**
|
|
457
|
+
* The type property
|
|
458
|
+
*/
|
|
459
|
+
type?: FieldMappingType | null;
|
|
460
|
+
}
|
|
461
|
+
export type FieldMappingType = (typeof FieldMappingTypeObject)[keyof typeof FieldMappingTypeObject];
|
|
462
|
+
export interface FieldMetaDto extends Parsable {
|
|
463
|
+
/**
|
|
464
|
+
* The attributes property
|
|
465
|
+
*/
|
|
466
|
+
attributes?: FieldAttributesDto | null;
|
|
467
|
+
/**
|
|
468
|
+
* The isReadonly property
|
|
469
|
+
*/
|
|
470
|
+
isReadonly?: boolean | null;
|
|
471
|
+
/**
|
|
472
|
+
* The kind property
|
|
473
|
+
*/
|
|
474
|
+
kind?: FieldKind | null;
|
|
475
|
+
/**
|
|
476
|
+
* The multiple property
|
|
477
|
+
*/
|
|
478
|
+
multiple?: boolean | null;
|
|
479
|
+
/**
|
|
480
|
+
* The options property
|
|
481
|
+
*/
|
|
482
|
+
options?: UntypedNode | null;
|
|
483
|
+
/**
|
|
484
|
+
* The required property
|
|
485
|
+
*/
|
|
486
|
+
required?: boolean | null;
|
|
487
|
+
/**
|
|
488
|
+
* The roundsDate property
|
|
489
|
+
*/
|
|
490
|
+
roundsDate?: boolean | null;
|
|
491
|
+
/**
|
|
492
|
+
* The type property
|
|
493
|
+
*/
|
|
494
|
+
type?: TypeDefRefDto | null;
|
|
495
|
+
}
|
|
496
|
+
export interface GetEntityTypesDto extends Parsable {
|
|
497
|
+
/**
|
|
498
|
+
* The types property
|
|
499
|
+
*/
|
|
500
|
+
types?: TypeMetaDefDto[] | null;
|
|
501
|
+
}
|
|
502
|
+
export interface GetProfileSettingsDto extends Parsable {
|
|
503
|
+
/**
|
|
504
|
+
* The profile property
|
|
505
|
+
*/
|
|
506
|
+
profile?: ProfileDto | null;
|
|
507
|
+
}
|
|
508
|
+
export interface GetSharedDataModelResponseDto extends Parsable {
|
|
509
|
+
/**
|
|
510
|
+
* The users property
|
|
511
|
+
*/
|
|
512
|
+
users?: TpUser[] | null;
|
|
513
|
+
}
|
|
514
|
+
export interface HttpValidationProblemDetails extends ApiError, Parsable, ProblemDetails {
|
|
362
515
|
/**
|
|
363
516
|
* The errors property
|
|
364
517
|
*/
|
|
365
|
-
errors?:
|
|
518
|
+
errors?: HttpValidationProblemDetails_errors | null;
|
|
366
519
|
}
|
|
367
|
-
export interface
|
|
520
|
+
export interface HttpValidationProblemDetails_errors extends AdditionalDataHolder, Parsable {
|
|
368
521
|
/**
|
|
369
522
|
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
370
523
|
*/
|
|
371
524
|
additionalData?: Record<string, unknown>;
|
|
372
525
|
}
|
|
373
|
-
export interface
|
|
526
|
+
export interface ProblemDetails extends AdditionalDataHolder, ApiError, Parsable {
|
|
374
527
|
/**
|
|
375
528
|
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
376
529
|
*/
|
|
@@ -396,15 +549,72 @@ export interface MicrosoftAspNetCoreMvcProblemDetails extends AdditionalDataHold
|
|
|
396
549
|
*/
|
|
397
550
|
type?: string | null;
|
|
398
551
|
}
|
|
552
|
+
export interface ProfileDto extends Parsable {
|
|
553
|
+
/**
|
|
554
|
+
* The id property
|
|
555
|
+
*/
|
|
556
|
+
id?: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* The mappings property
|
|
559
|
+
*/
|
|
560
|
+
mappings?: ProfileMappingDto[] | null;
|
|
561
|
+
/**
|
|
562
|
+
* The name property
|
|
563
|
+
*/
|
|
564
|
+
name?: string | null;
|
|
565
|
+
}
|
|
566
|
+
export interface ProfileMappingDto extends Parsable {
|
|
567
|
+
/**
|
|
568
|
+
* The enabled property
|
|
569
|
+
*/
|
|
570
|
+
enabled?: boolean | null;
|
|
571
|
+
/**
|
|
572
|
+
* The id property
|
|
573
|
+
*/
|
|
574
|
+
id?: string | null;
|
|
575
|
+
/**
|
|
576
|
+
* The name property
|
|
577
|
+
*/
|
|
578
|
+
name?: string | null;
|
|
579
|
+
/**
|
|
580
|
+
* The typeMappings property
|
|
581
|
+
*/
|
|
582
|
+
typeMappings?: TypeMappingDto[] | null;
|
|
583
|
+
}
|
|
584
|
+
export interface RelationDefRefDto extends Parsable {
|
|
585
|
+
/**
|
|
586
|
+
* The direction property
|
|
587
|
+
*/
|
|
588
|
+
direction?: RelationDirection | null;
|
|
589
|
+
/**
|
|
590
|
+
* The id property
|
|
591
|
+
*/
|
|
592
|
+
id?: string | null;
|
|
593
|
+
}
|
|
594
|
+
export type RelationDirection = (typeof RelationDirectionObject)[keyof typeof RelationDirectionObject];
|
|
595
|
+
export interface RelationDto extends Parsable {
|
|
596
|
+
/**
|
|
597
|
+
* The childType property
|
|
598
|
+
*/
|
|
599
|
+
childType?: TypeDefRefDto | null;
|
|
600
|
+
/**
|
|
601
|
+
* The field property
|
|
602
|
+
*/
|
|
603
|
+
field?: FieldDefDto | null;
|
|
604
|
+
/**
|
|
605
|
+
* The relation property
|
|
606
|
+
*/
|
|
607
|
+
relation?: RelationDefRefDto | null;
|
|
608
|
+
}
|
|
399
609
|
/**
|
|
400
610
|
* Serializes information the current object
|
|
401
611
|
* @param writer Serialization writer to use to serialize this model
|
|
402
612
|
*/
|
|
403
613
|
// @ts-ignore
|
|
404
|
-
export function
|
|
405
|
-
if (
|
|
406
|
-
|
|
407
|
-
writer.
|
|
614
|
+
export function serializeFieldAttributesDto(writer: SerializationWriter, fieldAttributesDto: Partial<FieldAttributesDto> | undefined | null = {}) : void {
|
|
615
|
+
if (fieldAttributesDto) {
|
|
616
|
+
writer.writeBooleanValue("isExtendable", fieldAttributesDto.isExtendable);
|
|
617
|
+
writer.writeStringValue("roleId", fieldAttributesDto.roleId);
|
|
408
618
|
}
|
|
409
619
|
}
|
|
410
620
|
/**
|
|
@@ -412,9 +622,12 @@ export function serializeMicrosoftAspNetCoreHttpHttpValidationProblemDetails(wri
|
|
|
412
622
|
* @param writer Serialization writer to use to serialize this model
|
|
413
623
|
*/
|
|
414
624
|
// @ts-ignore
|
|
415
|
-
export function
|
|
416
|
-
if (
|
|
417
|
-
writer.
|
|
625
|
+
export function serializeFieldDefDto(writer: SerializationWriter, fieldDefDto: Partial<FieldDefDto> | undefined | null = {}) : void {
|
|
626
|
+
if (fieldDefDto) {
|
|
627
|
+
writer.writeStringValue("id", fieldDefDto.id);
|
|
628
|
+
writer.writeObjectValue<FieldMetaDto>("meta", fieldDefDto.meta, serializeFieldMetaDto);
|
|
629
|
+
writer.writeStringValue("name", fieldDefDto.name);
|
|
630
|
+
writer.writeStringValue("path", fieldDefDto.path);
|
|
418
631
|
}
|
|
419
632
|
}
|
|
420
633
|
/**
|
|
@@ -422,14 +635,14 @@ export function serializeMicrosoftAspNetCoreHttpHttpValidationProblemDetails_err
|
|
|
422
635
|
* @param writer Serialization writer to use to serialize this model
|
|
423
636
|
*/
|
|
424
637
|
// @ts-ignore
|
|
425
|
-
export function
|
|
426
|
-
if (
|
|
427
|
-
writer.writeStringValue("
|
|
428
|
-
writer.
|
|
429
|
-
writer.
|
|
430
|
-
writer.
|
|
431
|
-
writer.
|
|
432
|
-
writer.
|
|
638
|
+
export function serializeFieldMappingDto(writer: SerializationWriter, fieldMappingDto: Partial<FieldMappingDto> | undefined | null = {}) : void {
|
|
639
|
+
if (fieldMappingDto) {
|
|
640
|
+
writer.writeStringValue("id", fieldMappingDto.id);
|
|
641
|
+
writer.writeObjectValue<FieldDefDto>("source", fieldMappingDto.source, serializeFieldDefDto);
|
|
642
|
+
writer.writeObjectValue<RelationDto>("sourceRel", fieldMappingDto.sourceRel, serializeRelationDto);
|
|
643
|
+
writer.writeObjectValue<FieldDefDto>("target", fieldMappingDto.target, serializeFieldDefDto);
|
|
644
|
+
writer.writeObjectValue<RelationDto>("targetRel", fieldMappingDto.targetRel, serializeRelationDto);
|
|
645
|
+
writer.writeEnumValue<FieldMappingType>("type", fieldMappingDto.type);
|
|
433
646
|
}
|
|
434
647
|
}
|
|
435
648
|
/**
|
|
@@ -437,10 +650,16 @@ export function serializeMicrosoftAspNetCoreMvcProblemDetails(writer: Serializat
|
|
|
437
650
|
* @param writer Serialization writer to use to serialize this model
|
|
438
651
|
*/
|
|
439
652
|
// @ts-ignore
|
|
440
|
-
export function
|
|
441
|
-
if (
|
|
442
|
-
writer.
|
|
443
|
-
writer.
|
|
653
|
+
export function serializeFieldMetaDto(writer: SerializationWriter, fieldMetaDto: Partial<FieldMetaDto> | undefined | null = {}) : void {
|
|
654
|
+
if (fieldMetaDto) {
|
|
655
|
+
writer.writeObjectValue<FieldAttributesDto>("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
656
|
+
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
657
|
+
writer.writeEnumValue<FieldKind>("kind", fieldMetaDto.kind);
|
|
658
|
+
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
659
|
+
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
660
|
+
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
661
|
+
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
662
|
+
writer.writeObjectValue<TypeDefRefDto>("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
444
663
|
}
|
|
445
664
|
}
|
|
446
665
|
/**
|
|
@@ -448,12 +667,9 @@ export function serializeTpSharedDataModelServiceModulesSettingsFieldAttributesD
|
|
|
448
667
|
* @param writer Serialization writer to use to serialize this model
|
|
449
668
|
*/
|
|
450
669
|
// @ts-ignore
|
|
451
|
-
export function
|
|
452
|
-
if (
|
|
453
|
-
writer.
|
|
454
|
-
writer.writeObjectValue<TpSharedDataModelServiceModulesSettingsFieldMetaDto>("meta", tpSharedDataModelServiceModulesSettingsFieldDefDto.meta, serializeTpSharedDataModelServiceModulesSettingsFieldMetaDto);
|
|
455
|
-
writer.writeStringValue("name", tpSharedDataModelServiceModulesSettingsFieldDefDto.name);
|
|
456
|
-
writer.writeStringValue("path", tpSharedDataModelServiceModulesSettingsFieldDefDto.path);
|
|
670
|
+
export function serializeGetEntityTypesDto(writer: SerializationWriter, getEntityTypesDto: Partial<GetEntityTypesDto> | undefined | null = {}) : void {
|
|
671
|
+
if (getEntityTypesDto) {
|
|
672
|
+
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("types", getEntityTypesDto.types, serializeTypeMetaDefDto);
|
|
457
673
|
}
|
|
458
674
|
}
|
|
459
675
|
/**
|
|
@@ -461,10 +677,9 @@ export function serializeTpSharedDataModelServiceModulesSettingsFieldDefDto(writ
|
|
|
461
677
|
* @param writer Serialization writer to use to serialize this model
|
|
462
678
|
*/
|
|
463
679
|
// @ts-ignore
|
|
464
|
-
export function
|
|
465
|
-
if (
|
|
466
|
-
writer.
|
|
467
|
-
writer.writeEnumValue<TpSharedDataModelServiceModulesSettingsFieldMappingType>("type", tpSharedDataModelServiceModulesSettingsFieldMappingDto.type);
|
|
680
|
+
export function serializeGetProfileSettingsDto(writer: SerializationWriter, getProfileSettingsDto: Partial<GetProfileSettingsDto> | undefined | null = {}) : void {
|
|
681
|
+
if (getProfileSettingsDto) {
|
|
682
|
+
writer.writeObjectValue<ProfileDto>("profile", getProfileSettingsDto.profile, serializeProfileDto);
|
|
468
683
|
}
|
|
469
684
|
}
|
|
470
685
|
/**
|
|
@@ -472,16 +687,9 @@ export function serializeTpSharedDataModelServiceModulesSettingsFieldMappingDto(
|
|
|
472
687
|
* @param writer Serialization writer to use to serialize this model
|
|
473
688
|
*/
|
|
474
689
|
// @ts-ignore
|
|
475
|
-
export function
|
|
476
|
-
if (
|
|
477
|
-
writer.
|
|
478
|
-
writer.writeBooleanValue("isReadonly", tpSharedDataModelServiceModulesSettingsFieldMetaDto.isReadonly);
|
|
479
|
-
writer.writeEnumValue<TpSharedDataModelServiceModulesSettingsFieldKind>("kind", tpSharedDataModelServiceModulesSettingsFieldMetaDto.kind);
|
|
480
|
-
writer.writeBooleanValue("multiple", tpSharedDataModelServiceModulesSettingsFieldMetaDto.multiple);
|
|
481
|
-
writer.writeObjectValue("options", tpSharedDataModelServiceModulesSettingsFieldMetaDto.options);
|
|
482
|
-
writer.writeBooleanValue("required", tpSharedDataModelServiceModulesSettingsFieldMetaDto.required);
|
|
483
|
-
writer.writeBooleanValue("roundsDate", tpSharedDataModelServiceModulesSettingsFieldMetaDto.roundsDate);
|
|
484
|
-
writer.writeObjectValue<TpSharedDataModelServiceModulesSettingsTypeDefRefDto>("type", tpSharedDataModelServiceModulesSettingsFieldMetaDto.type, serializeTpSharedDataModelServiceModulesSettingsTypeDefRefDto);
|
|
690
|
+
export function serializeGetSharedDataModelResponseDto(writer: SerializationWriter, getSharedDataModelResponseDto: Partial<GetSharedDataModelResponseDto> | undefined | null = {}) : void {
|
|
691
|
+
if (getSharedDataModelResponseDto) {
|
|
692
|
+
writer.writeCollectionOfObjectValues<TpUser>("users", getSharedDataModelResponseDto.users, serializeTpUser);
|
|
485
693
|
}
|
|
486
694
|
}
|
|
487
695
|
/**
|
|
@@ -489,9 +697,10 @@ export function serializeTpSharedDataModelServiceModulesSettingsFieldMetaDto(wri
|
|
|
489
697
|
* @param writer Serialization writer to use to serialize this model
|
|
490
698
|
*/
|
|
491
699
|
// @ts-ignore
|
|
492
|
-
export function
|
|
493
|
-
if (
|
|
494
|
-
writer
|
|
700
|
+
export function serializeHttpValidationProblemDetails(writer: SerializationWriter, httpValidationProblemDetails: Partial<HttpValidationProblemDetails> | undefined | null = {}) : void {
|
|
701
|
+
if (httpValidationProblemDetails) {
|
|
702
|
+
serializeProblemDetails(writer, httpValidationProblemDetails)
|
|
703
|
+
writer.writeObjectValue<HttpValidationProblemDetails_errors>("errors", httpValidationProblemDetails.errors, serializeHttpValidationProblemDetails_errors);
|
|
495
704
|
}
|
|
496
705
|
}
|
|
497
706
|
/**
|
|
@@ -499,9 +708,9 @@ export function serializeTpSharedDataModelServiceModulesSettingsGetEntityTypesGe
|
|
|
499
708
|
* @param writer Serialization writer to use to serialize this model
|
|
500
709
|
*/
|
|
501
710
|
// @ts-ignore
|
|
502
|
-
export function
|
|
503
|
-
if (
|
|
504
|
-
writer.
|
|
711
|
+
export function serializeHttpValidationProblemDetails_errors(writer: SerializationWriter, httpValidationProblemDetails_errors: Partial<HttpValidationProblemDetails_errors> | undefined | null = {}) : void {
|
|
712
|
+
if (httpValidationProblemDetails_errors) {
|
|
713
|
+
writer.writeAdditionalData(httpValidationProblemDetails_errors.additionalData);
|
|
505
714
|
}
|
|
506
715
|
}
|
|
507
716
|
/**
|
|
@@ -509,11 +718,14 @@ export function serializeTpSharedDataModelServiceModulesSettingsGetProfileGetPro
|
|
|
509
718
|
* @param writer Serialization writer to use to serialize this model
|
|
510
719
|
*/
|
|
511
720
|
// @ts-ignore
|
|
512
|
-
export function
|
|
513
|
-
if (
|
|
514
|
-
writer.writeStringValue("
|
|
515
|
-
writer.
|
|
516
|
-
writer.
|
|
721
|
+
export function serializeProblemDetails(writer: SerializationWriter, problemDetails: Partial<ProblemDetails> | undefined | null = {}) : void {
|
|
722
|
+
if (problemDetails) {
|
|
723
|
+
writer.writeStringValue("detail", problemDetails.detail);
|
|
724
|
+
writer.writeStringValue("instance", problemDetails.instance);
|
|
725
|
+
writer.writeNumberValue("status", problemDetails.status);
|
|
726
|
+
writer.writeStringValue("title", problemDetails.title);
|
|
727
|
+
writer.writeStringValue("type", problemDetails.type);
|
|
728
|
+
writer.writeAdditionalData(problemDetails.additionalData);
|
|
517
729
|
}
|
|
518
730
|
}
|
|
519
731
|
/**
|
|
@@ -521,12 +733,11 @@ export function serializeTpSharedDataModelServiceModulesSettingsProfileDto(write
|
|
|
521
733
|
* @param writer Serialization writer to use to serialize this model
|
|
522
734
|
*/
|
|
523
735
|
// @ts-ignore
|
|
524
|
-
export function
|
|
525
|
-
if (
|
|
526
|
-
writer.
|
|
527
|
-
writer.
|
|
528
|
-
writer.writeStringValue("name",
|
|
529
|
-
writer.writeCollectionOfObjectValues<TpSharedDataModelServiceModulesSettingsTypeMappingDto>("typeMappings", tpSharedDataModelServiceModulesSettingsProfileMappingDto.typeMappings, serializeTpSharedDataModelServiceModulesSettingsTypeMappingDto);
|
|
736
|
+
export function serializeProfileDto(writer: SerializationWriter, profileDto: Partial<ProfileDto> | undefined | null = {}) : void {
|
|
737
|
+
if (profileDto) {
|
|
738
|
+
writer.writeStringValue("id", profileDto.id);
|
|
739
|
+
writer.writeCollectionOfObjectValues<ProfileMappingDto>("mappings", profileDto.mappings, serializeProfileMappingDto);
|
|
740
|
+
writer.writeStringValue("name", profileDto.name);
|
|
530
741
|
}
|
|
531
742
|
}
|
|
532
743
|
/**
|
|
@@ -534,12 +745,12 @@ export function serializeTpSharedDataModelServiceModulesSettingsProfileMappingDt
|
|
|
534
745
|
* @param writer Serialization writer to use to serialize this model
|
|
535
746
|
*/
|
|
536
747
|
// @ts-ignore
|
|
537
|
-
export function
|
|
538
|
-
if (
|
|
539
|
-
writer.
|
|
540
|
-
writer.writeStringValue("
|
|
541
|
-
writer.
|
|
542
|
-
writer.
|
|
748
|
+
export function serializeProfileMappingDto(writer: SerializationWriter, profileMappingDto: Partial<ProfileMappingDto> | undefined | null = {}) : void {
|
|
749
|
+
if (profileMappingDto) {
|
|
750
|
+
writer.writeBooleanValue("enabled", profileMappingDto.enabled);
|
|
751
|
+
writer.writeStringValue("id", profileMappingDto.id);
|
|
752
|
+
writer.writeStringValue("name", profileMappingDto.name);
|
|
753
|
+
writer.writeCollectionOfObjectValues<TypeMappingDto>("typeMappings", profileMappingDto.typeMappings, serializeTypeMappingDto);
|
|
543
754
|
}
|
|
544
755
|
}
|
|
545
756
|
/**
|
|
@@ -547,10 +758,10 @@ export function serializeTpSharedDataModelServiceModulesSettingsTypeDefDto(write
|
|
|
547
758
|
* @param writer Serialization writer to use to serialize this model
|
|
548
759
|
*/
|
|
549
760
|
// @ts-ignore
|
|
550
|
-
export function
|
|
551
|
-
if (
|
|
552
|
-
writer.
|
|
553
|
-
writer.
|
|
761
|
+
export function serializeRelationDefRefDto(writer: SerializationWriter, relationDefRefDto: Partial<RelationDefRefDto> | undefined | null = {}) : void {
|
|
762
|
+
if (relationDefRefDto) {
|
|
763
|
+
writer.writeEnumValue<RelationDirection>("direction", relationDefRefDto.direction);
|
|
764
|
+
writer.writeStringValue("id", relationDefRefDto.id);
|
|
554
765
|
}
|
|
555
766
|
}
|
|
556
767
|
/**
|
|
@@ -558,12 +769,11 @@ export function serializeTpSharedDataModelServiceModulesSettingsTypeDefRefDto(wr
|
|
|
558
769
|
* @param writer Serialization writer to use to serialize this model
|
|
559
770
|
*/
|
|
560
771
|
// @ts-ignore
|
|
561
|
-
export function
|
|
562
|
-
if (
|
|
563
|
-
writer.
|
|
564
|
-
writer.
|
|
565
|
-
writer.writeObjectValue<
|
|
566
|
-
writer.writeObjectValue<TpSharedDataModelServiceModulesSettingsTypeDefDto>("targetType", tpSharedDataModelServiceModulesSettingsTypeMappingDto.targetType, serializeTpSharedDataModelServiceModulesSettingsTypeDefDto);
|
|
772
|
+
export function serializeRelationDto(writer: SerializationWriter, relationDto: Partial<RelationDto> | undefined | null = {}) : void {
|
|
773
|
+
if (relationDto) {
|
|
774
|
+
writer.writeObjectValue<TypeDefRefDto>("childType", relationDto.childType, serializeTypeDefRefDto);
|
|
775
|
+
writer.writeObjectValue<FieldDefDto>("field", relationDto.field, serializeFieldDefDto);
|
|
776
|
+
writer.writeObjectValue<RelationDefRefDto>("relation", relationDto.relation, serializeRelationDefRefDto);
|
|
567
777
|
}
|
|
568
778
|
}
|
|
569
779
|
/**
|
|
@@ -571,12 +781,9 @@ export function serializeTpSharedDataModelServiceModulesSettingsTypeMappingDto(w
|
|
|
571
781
|
* @param writer Serialization writer to use to serialize this model
|
|
572
782
|
*/
|
|
573
783
|
// @ts-ignore
|
|
574
|
-
export function
|
|
575
|
-
if (
|
|
576
|
-
writer.
|
|
577
|
-
writer.writeStringValue("id", tpSharedDataModelServiceModulesSettingsTypeMetaDefDto.id);
|
|
578
|
-
writer.writeStringValue("kind", tpSharedDataModelServiceModulesSettingsTypeMetaDefDto.kind);
|
|
579
|
-
writer.writeStringValue("name", tpSharedDataModelServiceModulesSettingsTypeMetaDefDto.name);
|
|
784
|
+
export function serializeTpUser(writer: SerializationWriter, tpUser: Partial<TpUser> | undefined | null = {}) : void {
|
|
785
|
+
if (tpUser) {
|
|
786
|
+
writer.writeStringValue("email", tpUser.email);
|
|
580
787
|
}
|
|
581
788
|
}
|
|
582
789
|
/**
|
|
@@ -584,9 +791,12 @@ export function serializeTpSharedDataModelServiceModulesSettingsTypeMetaDefDto(w
|
|
|
584
791
|
* @param writer Serialization writer to use to serialize this model
|
|
585
792
|
*/
|
|
586
793
|
// @ts-ignore
|
|
587
|
-
export function
|
|
588
|
-
if (
|
|
589
|
-
writer.
|
|
794
|
+
export function serializeTypeDefDto(writer: SerializationWriter, typeDefDto: Partial<TypeDefDto> | undefined | null = {}) : void {
|
|
795
|
+
if (typeDefDto) {
|
|
796
|
+
writer.writeStringValue("id", typeDefDto.id);
|
|
797
|
+
writer.writeStringValue("javaScriptComparator", typeDefDto.javaScriptComparator);
|
|
798
|
+
writer.writeEnumValue<TypeKind>("kind", typeDefDto.kind);
|
|
799
|
+
writer.writeStringValue("name", typeDefDto.name);
|
|
590
800
|
}
|
|
591
801
|
}
|
|
592
802
|
/**
|
|
@@ -594,130 +804,45 @@ export function serializeTpSharedDataModelServiceModulesSharedDataModelGetGetSha
|
|
|
594
804
|
* @param writer Serialization writer to use to serialize this model
|
|
595
805
|
*/
|
|
596
806
|
// @ts-ignore
|
|
597
|
-
export function
|
|
598
|
-
if (
|
|
599
|
-
writer.writeStringValue("
|
|
807
|
+
export function serializeTypeDefRefDto(writer: SerializationWriter, typeDefRefDto: Partial<TypeDefRefDto> | undefined | null = {}) : void {
|
|
808
|
+
if (typeDefRefDto) {
|
|
809
|
+
writer.writeStringValue("id", typeDefRefDto.id);
|
|
810
|
+
writer.writeEnumValue<TypeKind>("kind", typeDefRefDto.kind);
|
|
600
811
|
}
|
|
601
812
|
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
* The id property
|
|
615
|
-
*/
|
|
616
|
-
id?: string | null;
|
|
617
|
-
/**
|
|
618
|
-
* The meta property
|
|
619
|
-
*/
|
|
620
|
-
meta?: TpSharedDataModelServiceModulesSettingsFieldMetaDto | null;
|
|
621
|
-
/**
|
|
622
|
-
* The name property
|
|
623
|
-
*/
|
|
624
|
-
name?: string | null;
|
|
625
|
-
/**
|
|
626
|
-
* The path property
|
|
627
|
-
*/
|
|
628
|
-
path?: string | null;
|
|
629
|
-
}
|
|
630
|
-
export type TpSharedDataModelServiceModulesSettingsFieldKind = (typeof TpSharedDataModelServiceModulesSettingsFieldKindObject)[keyof typeof TpSharedDataModelServiceModulesSettingsFieldKindObject];
|
|
631
|
-
export interface TpSharedDataModelServiceModulesSettingsFieldMappingDto extends Parsable {
|
|
632
|
-
/**
|
|
633
|
-
* The id property
|
|
634
|
-
*/
|
|
635
|
-
id?: string | null;
|
|
636
|
-
/**
|
|
637
|
-
* The type property
|
|
638
|
-
*/
|
|
639
|
-
type?: TpSharedDataModelServiceModulesSettingsFieldMappingType | null;
|
|
640
|
-
}
|
|
641
|
-
export type TpSharedDataModelServiceModulesSettingsFieldMappingType = (typeof TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject)[keyof typeof TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject];
|
|
642
|
-
export interface TpSharedDataModelServiceModulesSettingsFieldMetaDto extends Parsable {
|
|
643
|
-
/**
|
|
644
|
-
* The attributes property
|
|
645
|
-
*/
|
|
646
|
-
attributes?: TpSharedDataModelServiceModulesSettingsFieldAttributesDto | null;
|
|
647
|
-
/**
|
|
648
|
-
* The isReadonly property
|
|
649
|
-
*/
|
|
650
|
-
isReadonly?: boolean | null;
|
|
651
|
-
/**
|
|
652
|
-
* The kind property
|
|
653
|
-
*/
|
|
654
|
-
kind?: TpSharedDataModelServiceModulesSettingsFieldKind | null;
|
|
655
|
-
/**
|
|
656
|
-
* The multiple property
|
|
657
|
-
*/
|
|
658
|
-
multiple?: boolean | null;
|
|
659
|
-
/**
|
|
660
|
-
* The options property
|
|
661
|
-
*/
|
|
662
|
-
options?: UntypedNode | null;
|
|
663
|
-
/**
|
|
664
|
-
* The required property
|
|
665
|
-
*/
|
|
666
|
-
required?: boolean | null;
|
|
667
|
-
/**
|
|
668
|
-
* The roundsDate property
|
|
669
|
-
*/
|
|
670
|
-
roundsDate?: boolean | null;
|
|
671
|
-
/**
|
|
672
|
-
* The type property
|
|
673
|
-
*/
|
|
674
|
-
type?: TpSharedDataModelServiceModulesSettingsTypeDefRefDto | null;
|
|
675
|
-
}
|
|
676
|
-
export interface TpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntityTypesDto extends Parsable {
|
|
677
|
-
/**
|
|
678
|
-
* The types property
|
|
679
|
-
*/
|
|
680
|
-
types?: TpSharedDataModelServiceModulesSettingsTypeMetaDefDto[] | null;
|
|
681
|
-
}
|
|
682
|
-
export interface TpSharedDataModelServiceModulesSettingsGetProfileGetProfileSettingsDto extends Parsable {
|
|
683
|
-
/**
|
|
684
|
-
* The profile property
|
|
685
|
-
*/
|
|
686
|
-
profile?: TpSharedDataModelServiceModulesSettingsProfileDto | null;
|
|
813
|
+
/**
|
|
814
|
+
* Serializes information the current object
|
|
815
|
+
* @param writer Serialization writer to use to serialize this model
|
|
816
|
+
*/
|
|
817
|
+
// @ts-ignore
|
|
818
|
+
export function serializeTypeMappingDto(writer: SerializationWriter, typeMappingDto: Partial<TypeMappingDto> | undefined | null = {}) : void {
|
|
819
|
+
if (typeMappingDto) {
|
|
820
|
+
writer.writeCollectionOfObjectValues<FieldMappingDto>("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
821
|
+
writer.writeStringValue("id", typeMappingDto.id);
|
|
822
|
+
writer.writeObjectValue<TypeDefDto>("sourceType", typeMappingDto.sourceType, serializeTypeDefDto);
|
|
823
|
+
writer.writeObjectValue<TypeDefDto>("targetType", typeMappingDto.targetType, serializeTypeDefDto);
|
|
824
|
+
}
|
|
687
825
|
}
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
name?: string | null;
|
|
826
|
+
/**
|
|
827
|
+
* Serializes information the current object
|
|
828
|
+
* @param writer Serialization writer to use to serialize this model
|
|
829
|
+
*/
|
|
830
|
+
// @ts-ignore
|
|
831
|
+
export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDefDto: Partial<TypeMetaDefDto> | undefined | null = {}) : void {
|
|
832
|
+
if (typeMetaDefDto) {
|
|
833
|
+
writer.writeCollectionOfObjectValues<FieldDefDto>("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
834
|
+
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
835
|
+
writer.writeStringValue("kind", typeMetaDefDto.kind);
|
|
836
|
+
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
837
|
+
}
|
|
701
838
|
}
|
|
702
|
-
export interface
|
|
839
|
+
export interface TpUser extends Parsable {
|
|
703
840
|
/**
|
|
704
|
-
* The
|
|
705
|
-
*/
|
|
706
|
-
enabled?: boolean | null;
|
|
707
|
-
/**
|
|
708
|
-
* The id property
|
|
709
|
-
*/
|
|
710
|
-
id?: string | null;
|
|
711
|
-
/**
|
|
712
|
-
* The name property
|
|
713
|
-
*/
|
|
714
|
-
name?: string | null;
|
|
715
|
-
/**
|
|
716
|
-
* The typeMappings property
|
|
841
|
+
* The email property
|
|
717
842
|
*/
|
|
718
|
-
|
|
843
|
+
email?: string | null;
|
|
719
844
|
}
|
|
720
|
-
export interface
|
|
845
|
+
export interface TypeDefDto extends Parsable {
|
|
721
846
|
/**
|
|
722
847
|
* The id property
|
|
723
848
|
*/
|
|
@@ -729,13 +854,13 @@ export interface TpSharedDataModelServiceModulesSettingsTypeDefDto extends Parsa
|
|
|
729
854
|
/**
|
|
730
855
|
* The kind property
|
|
731
856
|
*/
|
|
732
|
-
kind?:
|
|
857
|
+
kind?: TypeKind | null;
|
|
733
858
|
/**
|
|
734
859
|
* The name property
|
|
735
860
|
*/
|
|
736
861
|
name?: string | null;
|
|
737
862
|
}
|
|
738
|
-
export interface
|
|
863
|
+
export interface TypeDefRefDto extends Parsable {
|
|
739
864
|
/**
|
|
740
865
|
* The id property
|
|
741
866
|
*/
|
|
@@ -743,14 +868,14 @@ export interface TpSharedDataModelServiceModulesSettingsTypeDefRefDto extends Pa
|
|
|
743
868
|
/**
|
|
744
869
|
* The kind property
|
|
745
870
|
*/
|
|
746
|
-
kind?:
|
|
871
|
+
kind?: TypeKind | null;
|
|
747
872
|
}
|
|
748
|
-
export type
|
|
749
|
-
export interface
|
|
873
|
+
export type TypeKind = (typeof TypeKindObject)[keyof typeof TypeKindObject];
|
|
874
|
+
export interface TypeMappingDto extends Parsable {
|
|
750
875
|
/**
|
|
751
876
|
* The fieldMappings property
|
|
752
877
|
*/
|
|
753
|
-
fieldMappings?:
|
|
878
|
+
fieldMappings?: FieldMappingDto[] | null;
|
|
754
879
|
/**
|
|
755
880
|
* The id property
|
|
756
881
|
*/
|
|
@@ -758,17 +883,17 @@ export interface TpSharedDataModelServiceModulesSettingsTypeMappingDto extends P
|
|
|
758
883
|
/**
|
|
759
884
|
* The sourceType property
|
|
760
885
|
*/
|
|
761
|
-
sourceType?:
|
|
886
|
+
sourceType?: TypeDefDto | null;
|
|
762
887
|
/**
|
|
763
888
|
* The targetType property
|
|
764
889
|
*/
|
|
765
|
-
targetType?:
|
|
890
|
+
targetType?: TypeDefDto | null;
|
|
766
891
|
}
|
|
767
|
-
export interface
|
|
892
|
+
export interface TypeMetaDefDto extends Parsable {
|
|
768
893
|
/**
|
|
769
894
|
* The fields property
|
|
770
895
|
*/
|
|
771
|
-
fields?:
|
|
896
|
+
fields?: FieldDefDto[] | null;
|
|
772
897
|
/**
|
|
773
898
|
* The id property
|
|
774
899
|
*/
|
|
@@ -782,24 +907,12 @@ export interface TpSharedDataModelServiceModulesSettingsTypeMetaDefDto extends P
|
|
|
782
907
|
*/
|
|
783
908
|
name?: string | null;
|
|
784
909
|
}
|
|
785
|
-
export
|
|
786
|
-
/**
|
|
787
|
-
* The users property
|
|
788
|
-
*/
|
|
789
|
-
users?: TpSharedDataModelServiceModulesTargetprocessTpUser[] | null;
|
|
790
|
-
}
|
|
791
|
-
export interface TpSharedDataModelServiceModulesTargetprocessTpUser extends Parsable {
|
|
792
|
-
/**
|
|
793
|
-
* The email property
|
|
794
|
-
*/
|
|
795
|
-
email?: string | null;
|
|
796
|
-
}
|
|
797
|
-
export const TpSharedDataModelServiceModulesSettingsFieldKindObject = {
|
|
910
|
+
export const FieldKindObject = {
|
|
798
911
|
CollectionFieldMeta: "CollectionFieldMeta",
|
|
799
912
|
FieldMeta: "FieldMeta",
|
|
800
913
|
SelectFieldMeta: "SelectFieldMeta",
|
|
801
914
|
} as const;
|
|
802
|
-
export const
|
|
915
|
+
export const FieldMappingTypeObject = {
|
|
803
916
|
ValueFieldMapping: "ValueFieldMapping",
|
|
804
917
|
CollectionFieldMapping: "CollectionFieldMapping",
|
|
805
918
|
ReferenceToStringFieldMapping: "ReferenceToStringFieldMapping",
|
|
@@ -815,7 +928,11 @@ export const TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject = {
|
|
|
815
928
|
RoleAssignmentsFieldMapping: "RoleAssignmentsFieldMapping",
|
|
816
929
|
RoleEffortToRoleEffortFieldMapping: "RoleEffortToRoleEffortFieldMapping",
|
|
817
930
|
} as const;
|
|
818
|
-
export const
|
|
931
|
+
export const RelationDirectionObject = {
|
|
932
|
+
Inbound: "Inbound",
|
|
933
|
+
Outbound: "Outbound",
|
|
934
|
+
} as const;
|
|
935
|
+
export const TypeKindObject = {
|
|
819
936
|
String: "String",
|
|
820
937
|
RichText: "RichText",
|
|
821
938
|
Number: "Number",
|