@targetprocess/shared-data-model-client 0.6.0 → 0.7.0-us817837-mapping.21
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/index.js +1 -0
- package/dist/api/settings/profile/current/index.d.ts +49 -0
- package/dist/api/settings/profile/current/index.js +46 -0
- package/dist/api/settings/profile/index.d.ts +23 -4
- package/dist/api/settings/profile/index.js +23 -3
- package/dist/api/settings/profile/testTypeMapping/index.d.ts +33 -0
- package/dist/api/settings/profile/testTypeMapping/index.js +36 -0
- package/dist/api/settings/profile/validate/index.d.ts +33 -0
- package/dist/api/settings/profile/validate/index.js +34 -0
- package/dist/models/index.d.ts +205 -182
- package/dist/models/index.js +283 -202
- package/package.json +1 -1
- package/src/api/settings/index.ts +2 -1
- package/src/api/settings/profile/current/index.ts +85 -0
- package/src/api/settings/profile/index.ts +38 -6
- package/src/api/settings/profile/testTypeMapping/index.ts +57 -0
- package/src/api/settings/profile/validate/index.ts +57 -0
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +360 -301
- package/src/v1.json +635 -369
package/dist/models/index.js
CHANGED
|
@@ -1,76 +1,69 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ValidationStateObject = exports.RefKindObject = void 0;
|
|
4
4
|
exports.createFieldDefDtoFromDiscriminatorValue = createFieldDefDtoFromDiscriminatorValue;
|
|
5
5
|
exports.createFieldMappingDtoFromDiscriminatorValue = createFieldMappingDtoFromDiscriminatorValue;
|
|
6
|
-
exports.createFieldMetaDtoFromDiscriminatorValue = createFieldMetaDtoFromDiscriminatorValue;
|
|
7
6
|
exports.createGetEntityTypesDtoFromDiscriminatorValue = createGetEntityTypesDtoFromDiscriminatorValue;
|
|
8
|
-
exports.createGetProfileSettingsDtoFromDiscriminatorValue = createGetProfileSettingsDtoFromDiscriminatorValue;
|
|
9
7
|
exports.createHttpValidationProblemDetails_errorsFromDiscriminatorValue = createHttpValidationProblemDetails_errorsFromDiscriminatorValue;
|
|
10
8
|
exports.createHttpValidationProblemDetailsFromDiscriminatorValue = createHttpValidationProblemDetailsFromDiscriminatorValue;
|
|
9
|
+
exports.createMappingErrorDtoFromDiscriminatorValue = createMappingErrorDtoFromDiscriminatorValue;
|
|
10
|
+
exports.createMappingFieldDefDtoFromDiscriminatorValue = createMappingFieldDefDtoFromDiscriminatorValue;
|
|
11
11
|
exports.createProblemDetailsFromDiscriminatorValue = createProblemDetailsFromDiscriminatorValue;
|
|
12
12
|
exports.createProfileDtoFromDiscriminatorValue = createProfileDtoFromDiscriminatorValue;
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
13
|
+
exports.createProfileIdDtoFromDiscriminatorValue = createProfileIdDtoFromDiscriminatorValue;
|
|
14
|
+
exports.createSdmTypeDefDtoFromDiscriminatorValue = createSdmTypeDefDtoFromDiscriminatorValue;
|
|
15
|
+
exports.createSetCurrentProfileRequestDtoFromDiscriminatorValue = createSetCurrentProfileRequestDtoFromDiscriminatorValue;
|
|
16
16
|
exports.createSharedDataCreateAttachmentResponseDtoFromDiscriminatorValue = createSharedDataCreateAttachmentResponseDtoFromDiscriminatorValue;
|
|
17
17
|
exports.createSharedDataCreateAttachmentResponseItemDtoFromDiscriminatorValue = createSharedDataCreateAttachmentResponseItemDtoFromDiscriminatorValue;
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
18
|
+
exports.createTestTypeMappingDtoFromDiscriminatorValue = createTestTypeMappingDtoFromDiscriminatorValue;
|
|
19
|
+
exports.createTpTypeDefDtoFromDiscriminatorValue = createTpTypeDefDtoFromDiscriminatorValue;
|
|
20
20
|
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
21
21
|
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
22
|
-
exports.
|
|
22
|
+
exports.createValidatedFieldMappingDtoFromDiscriminatorValue = createValidatedFieldMappingDtoFromDiscriminatorValue;
|
|
23
|
+
exports.createValidatedProfileDtoFromDiscriminatorValue = createValidatedProfileDtoFromDiscriminatorValue;
|
|
24
|
+
exports.createValidatedTypeMappingDtoFromDiscriminatorValue = createValidatedTypeMappingDtoFromDiscriminatorValue;
|
|
23
25
|
exports.deserializeIntoFieldDefDto = deserializeIntoFieldDefDto;
|
|
24
26
|
exports.deserializeIntoFieldMappingDto = deserializeIntoFieldMappingDto;
|
|
25
|
-
exports.deserializeIntoFieldMetaDto = deserializeIntoFieldMetaDto;
|
|
26
27
|
exports.deserializeIntoGetEntityTypesDto = deserializeIntoGetEntityTypesDto;
|
|
27
|
-
exports.deserializeIntoGetProfileSettingsDto = deserializeIntoGetProfileSettingsDto;
|
|
28
28
|
exports.deserializeIntoHttpValidationProblemDetails = deserializeIntoHttpValidationProblemDetails;
|
|
29
29
|
exports.deserializeIntoHttpValidationProblemDetails_errors = deserializeIntoHttpValidationProblemDetails_errors;
|
|
30
|
+
exports.deserializeIntoMappingErrorDto = deserializeIntoMappingErrorDto;
|
|
31
|
+
exports.deserializeIntoMappingFieldDefDto = deserializeIntoMappingFieldDefDto;
|
|
30
32
|
exports.deserializeIntoProblemDetails = deserializeIntoProblemDetails;
|
|
31
33
|
exports.deserializeIntoProfileDto = deserializeIntoProfileDto;
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
34
|
+
exports.deserializeIntoProfileIdDto = deserializeIntoProfileIdDto;
|
|
35
|
+
exports.deserializeIntoSdmTypeDefDto = deserializeIntoSdmTypeDefDto;
|
|
36
|
+
exports.deserializeIntoSetCurrentProfileRequestDto = deserializeIntoSetCurrentProfileRequestDto;
|
|
35
37
|
exports.deserializeIntoSharedDataCreateAttachmentResponseDto = deserializeIntoSharedDataCreateAttachmentResponseDto;
|
|
36
38
|
exports.deserializeIntoSharedDataCreateAttachmentResponseItemDto = deserializeIntoSharedDataCreateAttachmentResponseItemDto;
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
+
exports.deserializeIntoTestTypeMappingDto = deserializeIntoTestTypeMappingDto;
|
|
40
|
+
exports.deserializeIntoTpTypeDefDto = deserializeIntoTpTypeDefDto;
|
|
39
41
|
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
40
42
|
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
41
|
-
exports.
|
|
43
|
+
exports.deserializeIntoValidatedFieldMappingDto = deserializeIntoValidatedFieldMappingDto;
|
|
44
|
+
exports.deserializeIntoValidatedProfileDto = deserializeIntoValidatedProfileDto;
|
|
45
|
+
exports.deserializeIntoValidatedTypeMappingDto = deserializeIntoValidatedTypeMappingDto;
|
|
42
46
|
exports.serializeFieldDefDto = serializeFieldDefDto;
|
|
43
47
|
exports.serializeFieldMappingDto = serializeFieldMappingDto;
|
|
44
|
-
exports.serializeFieldMetaDto = serializeFieldMetaDto;
|
|
45
48
|
exports.serializeGetEntityTypesDto = serializeGetEntityTypesDto;
|
|
46
|
-
exports.serializeGetProfileSettingsDto = serializeGetProfileSettingsDto;
|
|
47
49
|
exports.serializeHttpValidationProblemDetails = serializeHttpValidationProblemDetails;
|
|
48
50
|
exports.serializeHttpValidationProblemDetails_errors = serializeHttpValidationProblemDetails_errors;
|
|
51
|
+
exports.serializeMappingErrorDto = serializeMappingErrorDto;
|
|
52
|
+
exports.serializeMappingFieldDefDto = serializeMappingFieldDefDto;
|
|
49
53
|
exports.serializeProblemDetails = serializeProblemDetails;
|
|
50
54
|
exports.serializeProfileDto = serializeProfileDto;
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
55
|
+
exports.serializeProfileIdDto = serializeProfileIdDto;
|
|
56
|
+
exports.serializeSdmTypeDefDto = serializeSdmTypeDefDto;
|
|
57
|
+
exports.serializeSetCurrentProfileRequestDto = serializeSetCurrentProfileRequestDto;
|
|
54
58
|
exports.serializeSharedDataCreateAttachmentResponseDto = serializeSharedDataCreateAttachmentResponseDto;
|
|
55
59
|
exports.serializeSharedDataCreateAttachmentResponseItemDto = serializeSharedDataCreateAttachmentResponseItemDto;
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
60
|
+
exports.serializeTestTypeMappingDto = serializeTestTypeMappingDto;
|
|
61
|
+
exports.serializeTpTypeDefDto = serializeTpTypeDefDto;
|
|
58
62
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
59
63
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
// @ts-ignore
|
|
64
|
-
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
65
|
-
/**
|
|
66
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
67
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
68
|
-
* @returns {FieldAttributesDto}
|
|
69
|
-
*/
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
function createFieldAttributesDtoFromDiscriminatorValue(parseNode) {
|
|
72
|
-
return deserializeIntoFieldAttributesDto;
|
|
73
|
-
}
|
|
64
|
+
exports.serializeValidatedFieldMappingDto = serializeValidatedFieldMappingDto;
|
|
65
|
+
exports.serializeValidatedProfileDto = serializeValidatedProfileDto;
|
|
66
|
+
exports.serializeValidatedTypeMappingDto = serializeValidatedTypeMappingDto;
|
|
74
67
|
/**
|
|
75
68
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
76
69
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -87,52 +80,64 @@ function createFieldDefDtoFromDiscriminatorValue(parseNode) {
|
|
|
87
80
|
*/
|
|
88
81
|
// @ts-ignore
|
|
89
82
|
function createFieldMappingDtoFromDiscriminatorValue(parseNode) {
|
|
83
|
+
if (!parseNode)
|
|
84
|
+
throw new Error("parseNode cannot be undefined");
|
|
85
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
86
|
+
if (mappingValueNode) {
|
|
87
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
88
|
+
if (mappingValue) {
|
|
89
|
+
switch (mappingValue) {
|
|
90
|
+
case "ValidatedFieldMappingDto":
|
|
91
|
+
return deserializeIntoValidatedFieldMappingDto;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
90
95
|
return deserializeIntoFieldMappingDto;
|
|
91
96
|
}
|
|
92
97
|
/**
|
|
93
98
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
94
99
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
95
|
-
* @returns {
|
|
100
|
+
* @returns {GetEntityTypesDto}
|
|
96
101
|
*/
|
|
97
102
|
// @ts-ignore
|
|
98
|
-
function
|
|
99
|
-
return
|
|
103
|
+
function createGetEntityTypesDtoFromDiscriminatorValue(parseNode) {
|
|
104
|
+
return deserializeIntoGetEntityTypesDto;
|
|
100
105
|
}
|
|
101
106
|
/**
|
|
102
107
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
103
108
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
104
|
-
* @returns {
|
|
109
|
+
* @returns {HttpValidationProblemDetails_errors}
|
|
105
110
|
*/
|
|
106
111
|
// @ts-ignore
|
|
107
|
-
function
|
|
108
|
-
return
|
|
112
|
+
function createHttpValidationProblemDetails_errorsFromDiscriminatorValue(parseNode) {
|
|
113
|
+
return deserializeIntoHttpValidationProblemDetails_errors;
|
|
109
114
|
}
|
|
110
115
|
/**
|
|
111
116
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
112
117
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
113
|
-
* @returns {
|
|
118
|
+
* @returns {HttpValidationProblemDetails}
|
|
114
119
|
*/
|
|
115
120
|
// @ts-ignore
|
|
116
|
-
function
|
|
117
|
-
return
|
|
121
|
+
function createHttpValidationProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
122
|
+
return deserializeIntoHttpValidationProblemDetails;
|
|
118
123
|
}
|
|
119
124
|
/**
|
|
120
125
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
121
126
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
122
|
-
* @returns {
|
|
127
|
+
* @returns {MappingErrorDto}
|
|
123
128
|
*/
|
|
124
129
|
// @ts-ignore
|
|
125
|
-
function
|
|
126
|
-
return
|
|
130
|
+
function createMappingErrorDtoFromDiscriminatorValue(parseNode) {
|
|
131
|
+
return deserializeIntoMappingErrorDto;
|
|
127
132
|
}
|
|
128
133
|
/**
|
|
129
134
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
130
135
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
131
|
-
* @returns {
|
|
136
|
+
* @returns {MappingFieldDefDto}
|
|
132
137
|
*/
|
|
133
138
|
// @ts-ignore
|
|
134
|
-
function
|
|
135
|
-
return
|
|
139
|
+
function createMappingFieldDefDtoFromDiscriminatorValue(parseNode) {
|
|
140
|
+
return deserializeIntoMappingFieldDefDto;
|
|
136
141
|
}
|
|
137
142
|
/**
|
|
138
143
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -155,29 +160,29 @@ function createProfileDtoFromDiscriminatorValue(parseNode) {
|
|
|
155
160
|
/**
|
|
156
161
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
157
162
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
158
|
-
* @returns {
|
|
163
|
+
* @returns {ProfileIdDto}
|
|
159
164
|
*/
|
|
160
165
|
// @ts-ignore
|
|
161
|
-
function
|
|
162
|
-
return
|
|
166
|
+
function createProfileIdDtoFromDiscriminatorValue(parseNode) {
|
|
167
|
+
return deserializeIntoProfileIdDto;
|
|
163
168
|
}
|
|
164
169
|
/**
|
|
165
170
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
166
171
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
167
|
-
* @returns {
|
|
172
|
+
* @returns {SdmTypeDefDto}
|
|
168
173
|
*/
|
|
169
174
|
// @ts-ignore
|
|
170
|
-
function
|
|
171
|
-
return
|
|
175
|
+
function createSdmTypeDefDtoFromDiscriminatorValue(parseNode) {
|
|
176
|
+
return deserializeIntoSdmTypeDefDto;
|
|
172
177
|
}
|
|
173
178
|
/**
|
|
174
179
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
175
180
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
176
|
-
* @returns {
|
|
181
|
+
* @returns {SetCurrentProfileRequestDto}
|
|
177
182
|
*/
|
|
178
183
|
// @ts-ignore
|
|
179
|
-
function
|
|
180
|
-
return
|
|
184
|
+
function createSetCurrentProfileRequestDtoFromDiscriminatorValue(parseNode) {
|
|
185
|
+
return deserializeIntoSetCurrentProfileRequestDto;
|
|
181
186
|
}
|
|
182
187
|
/**
|
|
183
188
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -200,20 +205,20 @@ function createSharedDataCreateAttachmentResponseItemDtoFromDiscriminatorValue(p
|
|
|
200
205
|
/**
|
|
201
206
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
202
207
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
203
|
-
* @returns {
|
|
208
|
+
* @returns {TestTypeMappingDto}
|
|
204
209
|
*/
|
|
205
210
|
// @ts-ignore
|
|
206
|
-
function
|
|
207
|
-
return
|
|
211
|
+
function createTestTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
212
|
+
return deserializeIntoTestTypeMappingDto;
|
|
208
213
|
}
|
|
209
214
|
/**
|
|
210
215
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
211
216
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
212
|
-
* @returns {
|
|
217
|
+
* @returns {TpTypeDefDto}
|
|
213
218
|
*/
|
|
214
219
|
// @ts-ignore
|
|
215
|
-
function
|
|
216
|
-
return
|
|
220
|
+
function createTpTypeDefDtoFromDiscriminatorValue(parseNode) {
|
|
221
|
+
return deserializeIntoTpTypeDefDto;
|
|
217
222
|
}
|
|
218
223
|
/**
|
|
219
224
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -222,6 +227,18 @@ function createTypeDefRefDtoFromDiscriminatorValue(parseNode) {
|
|
|
222
227
|
*/
|
|
223
228
|
// @ts-ignore
|
|
224
229
|
function createTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
230
|
+
if (!parseNode)
|
|
231
|
+
throw new Error("parseNode cannot be undefined");
|
|
232
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
233
|
+
if (mappingValueNode) {
|
|
234
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
235
|
+
if (mappingValue) {
|
|
236
|
+
switch (mappingValue) {
|
|
237
|
+
case "ValidatedTypeMappingDto":
|
|
238
|
+
return deserializeIntoValidatedTypeMappingDto;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
225
242
|
return deserializeIntoTypeMappingDto;
|
|
226
243
|
}
|
|
227
244
|
/**
|
|
@@ -234,15 +251,31 @@ function createTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
|
234
251
|
return deserializeIntoTypeMetaDefDto;
|
|
235
252
|
}
|
|
236
253
|
/**
|
|
237
|
-
*
|
|
238
|
-
* @
|
|
254
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
255
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
256
|
+
* @returns {ValidatedFieldMappingDto}
|
|
239
257
|
*/
|
|
240
258
|
// @ts-ignore
|
|
241
|
-
function
|
|
242
|
-
return
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
259
|
+
function createValidatedFieldMappingDtoFromDiscriminatorValue(parseNode) {
|
|
260
|
+
return deserializeIntoValidatedFieldMappingDto;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
264
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
265
|
+
* @returns {ValidatedProfileDto}
|
|
266
|
+
*/
|
|
267
|
+
// @ts-ignore
|
|
268
|
+
function createValidatedProfileDtoFromDiscriminatorValue(parseNode) {
|
|
269
|
+
return deserializeIntoValidatedProfileDto;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
273
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
274
|
+
* @returns {ValidatedTypeMappingDto}
|
|
275
|
+
*/
|
|
276
|
+
// @ts-ignore
|
|
277
|
+
function createValidatedTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
278
|
+
return deserializeIntoValidatedTypeMappingDto;
|
|
246
279
|
}
|
|
247
280
|
/**
|
|
248
281
|
* The deserialization information for the current model
|
|
@@ -251,10 +284,10 @@ function deserializeIntoFieldAttributesDto(fieldAttributesDto = {}) {
|
|
|
251
284
|
// @ts-ignore
|
|
252
285
|
function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
253
286
|
return {
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
287
|
+
"expression": n => { fieldDefDto.expression = n.getStringValue(); },
|
|
288
|
+
"refKind": n => { fieldDefDto.refKind = n.getEnumValue(exports.RefKindObject); },
|
|
289
|
+
"refType": n => { fieldDefDto.refType = n.getStringValue(); },
|
|
290
|
+
"type": n => { fieldDefDto.type = n.getStringValue(); },
|
|
258
291
|
};
|
|
259
292
|
}
|
|
260
293
|
/**
|
|
@@ -265,11 +298,9 @@ function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
|
265
298
|
function deserializeIntoFieldMappingDto(fieldMappingDto = {}) {
|
|
266
299
|
return {
|
|
267
300
|
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
268
|
-
"source": n => { fieldMappingDto.source = n.getObjectValue(
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"targetRel": n => { fieldMappingDto.targetRel = n.getObjectValue(createRelationDtoFromDiscriminatorValue); },
|
|
272
|
-
"type": n => { fieldMappingDto.type = n.getNumberValue(); },
|
|
301
|
+
"source": n => { fieldMappingDto.source = n.getObjectValue(createMappingFieldDefDtoFromDiscriminatorValue); },
|
|
302
|
+
"target": n => { fieldMappingDto.target = n.getObjectValue(createMappingFieldDefDtoFromDiscriminatorValue); },
|
|
303
|
+
"$type": n => { fieldMappingDto.type = n.getStringValue(); },
|
|
273
304
|
};
|
|
274
305
|
}
|
|
275
306
|
/**
|
|
@@ -277,16 +308,10 @@ function deserializeIntoFieldMappingDto(fieldMappingDto = {}) {
|
|
|
277
308
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
278
309
|
*/
|
|
279
310
|
// @ts-ignore
|
|
280
|
-
function
|
|
311
|
+
function deserializeIntoGetEntityTypesDto(getEntityTypesDto = {}) {
|
|
281
312
|
return {
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"kind": n => { fieldMetaDto.kind = n.getNumberValue(); },
|
|
285
|
-
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
286
|
-
"options": n => { fieldMetaDto.options = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
|
|
287
|
-
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
288
|
-
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
289
|
-
"type": n => { fieldMetaDto.type = n.getObjectValue(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
313
|
+
"sdmTypes": n => { getEntityTypesDto.sdmTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
314
|
+
"tpTypes": n => { getEntityTypesDto.tpTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
290
315
|
};
|
|
291
316
|
}
|
|
292
317
|
/**
|
|
@@ -294,9 +319,10 @@ function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
|
294
319
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
295
320
|
*/
|
|
296
321
|
// @ts-ignore
|
|
297
|
-
function
|
|
322
|
+
function deserializeIntoHttpValidationProblemDetails(httpValidationProblemDetails = {}) {
|
|
298
323
|
return {
|
|
299
|
-
|
|
324
|
+
...deserializeIntoProblemDetails(httpValidationProblemDetails),
|
|
325
|
+
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
300
326
|
};
|
|
301
327
|
}
|
|
302
328
|
/**
|
|
@@ -304,20 +330,17 @@ function deserializeIntoGetEntityTypesDto(getEntityTypesDto = {}) {
|
|
|
304
330
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
305
331
|
*/
|
|
306
332
|
// @ts-ignore
|
|
307
|
-
function
|
|
308
|
-
return {
|
|
309
|
-
"profile": n => { getProfileSettingsDto.profile = n.getObjectValue(createProfileDtoFromDiscriminatorValue); },
|
|
310
|
-
};
|
|
333
|
+
function deserializeIntoHttpValidationProblemDetails_errors(httpValidationProblemDetails_errors = {}) {
|
|
334
|
+
return {};
|
|
311
335
|
}
|
|
312
336
|
/**
|
|
313
337
|
* The deserialization information for the current model
|
|
314
338
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
315
339
|
*/
|
|
316
340
|
// @ts-ignore
|
|
317
|
-
function
|
|
341
|
+
function deserializeIntoMappingErrorDto(mappingErrorDto = {}) {
|
|
318
342
|
return {
|
|
319
|
-
|
|
320
|
-
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
343
|
+
"message": n => { mappingErrorDto.message = n.getStringValue(); },
|
|
321
344
|
};
|
|
322
345
|
}
|
|
323
346
|
/**
|
|
@@ -325,8 +348,10 @@ function deserializeIntoHttpValidationProblemDetails(httpValidationProblemDetail
|
|
|
325
348
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
326
349
|
*/
|
|
327
350
|
// @ts-ignore
|
|
328
|
-
function
|
|
329
|
-
return {
|
|
351
|
+
function deserializeIntoMappingFieldDefDto(mappingFieldDefDto = {}) {
|
|
352
|
+
return {
|
|
353
|
+
"expression": n => { mappingFieldDefDto.expression = n.getStringValue(); },
|
|
354
|
+
};
|
|
330
355
|
}
|
|
331
356
|
/**
|
|
332
357
|
* The deserialization information for the current model
|
|
@@ -349,10 +374,8 @@ function deserializeIntoProblemDetails(problemDetails = {}) {
|
|
|
349
374
|
// @ts-ignore
|
|
350
375
|
function deserializeIntoProfileDto(profileDto = {}) {
|
|
351
376
|
return {
|
|
352
|
-
|
|
353
|
-
"
|
|
354
|
-
"id": n => { profileDto.id = n.getStringValue(); },
|
|
355
|
-
"mappings": n => { profileDto.mappings = n.getCollectionOfObjectValues(createProfileMappingDtoFromDiscriminatorValue); },
|
|
377
|
+
...deserializeIntoProfileIdDto(profileDto),
|
|
378
|
+
"typeMappings": n => { profileDto.typeMappings = n.getCollectionOfObjectValues(createTypeMappingDtoFromDiscriminatorValue); },
|
|
356
379
|
};
|
|
357
380
|
}
|
|
358
381
|
/**
|
|
@@ -360,12 +383,10 @@ function deserializeIntoProfileDto(profileDto = {}) {
|
|
|
360
383
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
361
384
|
*/
|
|
362
385
|
// @ts-ignore
|
|
363
|
-
function
|
|
386
|
+
function deserializeIntoProfileIdDto(profileIdDto = {}) {
|
|
364
387
|
return {
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"name": n => { profileMappingDto.name = n.getStringValue(); },
|
|
368
|
-
"typeMappings": n => { profileMappingDto.typeMappings = n.getCollectionOfObjectValues(createTypeMappingDtoFromDiscriminatorValue); },
|
|
388
|
+
"id": n => { profileIdDto.id = n.getStringValue(); },
|
|
389
|
+
"name": n => { profileIdDto.name = n.getStringValue(); },
|
|
369
390
|
};
|
|
370
391
|
}
|
|
371
392
|
/**
|
|
@@ -373,10 +394,10 @@ function deserializeIntoProfileMappingDto(profileMappingDto = {}) {
|
|
|
373
394
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
374
395
|
*/
|
|
375
396
|
// @ts-ignore
|
|
376
|
-
function
|
|
397
|
+
function deserializeIntoSdmTypeDefDto(sdmTypeDefDto = {}) {
|
|
377
398
|
return {
|
|
378
|
-
"
|
|
379
|
-
"
|
|
399
|
+
"id": n => { sdmTypeDefDto.id = n.getStringValue(); },
|
|
400
|
+
"name": n => { sdmTypeDefDto.name = n.getStringValue(); },
|
|
380
401
|
};
|
|
381
402
|
}
|
|
382
403
|
/**
|
|
@@ -384,11 +405,9 @@ function deserializeIntoRelationDefRefDto(relationDefRefDto = {}) {
|
|
|
384
405
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
385
406
|
*/
|
|
386
407
|
// @ts-ignore
|
|
387
|
-
function
|
|
408
|
+
function deserializeIntoSetCurrentProfileRequestDto(setCurrentProfileRequestDto = {}) {
|
|
388
409
|
return {
|
|
389
|
-
"
|
|
390
|
-
"field": n => { relationDto.field = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
391
|
-
"relation": n => { relationDto.relation = n.getObjectValue(createRelationDefRefDtoFromDiscriminatorValue); },
|
|
410
|
+
"profileId": n => { setCurrentProfileRequestDto.profileId = n.getStringValue(); },
|
|
392
411
|
};
|
|
393
412
|
}
|
|
394
413
|
/**
|
|
@@ -418,12 +437,13 @@ function deserializeIntoSharedDataCreateAttachmentResponseItemDto(sharedDataCrea
|
|
|
418
437
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
419
438
|
*/
|
|
420
439
|
// @ts-ignore
|
|
421
|
-
function
|
|
440
|
+
function deserializeIntoTestTypeMappingDto(testTypeMappingDto = {}) {
|
|
422
441
|
return {
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
426
|
-
"
|
|
442
|
+
"entityType": n => { testTypeMappingDto.entityType = n.getStringValue(); },
|
|
443
|
+
"profile": n => { testTypeMappingDto.profile = n.getObjectValue(createProfileDtoFromDiscriminatorValue); },
|
|
444
|
+
"select": n => { testTypeMappingDto.select = n.getStringValue(); },
|
|
445
|
+
"skip": n => { testTypeMappingDto.skip = n.getNumberValue(); },
|
|
446
|
+
"take": n => { testTypeMappingDto.take = n.getNumberValue(); },
|
|
427
447
|
};
|
|
428
448
|
}
|
|
429
449
|
/**
|
|
@@ -431,10 +451,10 @@ function deserializeIntoTypeDefDto(typeDefDto = {}) {
|
|
|
431
451
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
432
452
|
*/
|
|
433
453
|
// @ts-ignore
|
|
434
|
-
function
|
|
454
|
+
function deserializeIntoTpTypeDefDto(tpTypeDefDto = {}) {
|
|
435
455
|
return {
|
|
436
|
-
"id": n => {
|
|
437
|
-
"
|
|
456
|
+
"id": n => { tpTypeDefDto.id = n.getStringValue(); },
|
|
457
|
+
"name": n => { tpTypeDefDto.name = n.getStringValue(); },
|
|
438
458
|
};
|
|
439
459
|
}
|
|
440
460
|
/**
|
|
@@ -446,8 +466,9 @@ function deserializeIntoTypeMappingDto(typeMappingDto = {}) {
|
|
|
446
466
|
return {
|
|
447
467
|
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues(createFieldMappingDtoFromDiscriminatorValue); },
|
|
448
468
|
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
449
|
-
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue(
|
|
450
|
-
"targetType": n => { typeMappingDto.targetType = n.getObjectValue(
|
|
469
|
+
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue(createTpTypeDefDtoFromDiscriminatorValue); },
|
|
470
|
+
"targetType": n => { typeMappingDto.targetType = n.getObjectValue(createSdmTypeDefDtoFromDiscriminatorValue); },
|
|
471
|
+
"$type": n => { typeMappingDto.type = n.getStringValue(); },
|
|
451
472
|
};
|
|
452
473
|
}
|
|
453
474
|
/**
|
|
@@ -459,20 +480,44 @@ function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
|
459
480
|
return {
|
|
460
481
|
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
|
|
461
482
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
462
|
-
"kind": n => { typeMetaDefDto.kind = n.getStringValue(); },
|
|
463
483
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
464
484
|
};
|
|
465
485
|
}
|
|
466
486
|
/**
|
|
467
|
-
*
|
|
468
|
-
* @
|
|
487
|
+
* The deserialization information for the current model
|
|
488
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
469
489
|
*/
|
|
470
490
|
// @ts-ignore
|
|
471
|
-
function
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
491
|
+
function deserializeIntoValidatedFieldMappingDto(validatedFieldMappingDto = {}) {
|
|
492
|
+
return {
|
|
493
|
+
...deserializeIntoFieldMappingDto(validatedFieldMappingDto),
|
|
494
|
+
"errors": n => { validatedFieldMappingDto.errors = n.getCollectionOfObjectValues(createMappingErrorDtoFromDiscriminatorValue); },
|
|
495
|
+
"validationState": n => { validatedFieldMappingDto.validationState = n.getEnumValue(exports.ValidationStateObject); },
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* The deserialization information for the current model
|
|
500
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
501
|
+
*/
|
|
502
|
+
// @ts-ignore
|
|
503
|
+
function deserializeIntoValidatedProfileDto(validatedProfileDto = {}) {
|
|
504
|
+
return {
|
|
505
|
+
...deserializeIntoProfileIdDto(validatedProfileDto),
|
|
506
|
+
"typeMappings": n => { validatedProfileDto.typeMappings = n.getCollectionOfObjectValues(createValidatedTypeMappingDtoFromDiscriminatorValue); },
|
|
507
|
+
"validationState": n => { validatedProfileDto.validationState = n.getEnumValue(exports.ValidationStateObject); },
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* The deserialization information for the current model
|
|
512
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
513
|
+
*/
|
|
514
|
+
// @ts-ignore
|
|
515
|
+
function deserializeIntoValidatedTypeMappingDto(validatedTypeMappingDto = {}) {
|
|
516
|
+
return {
|
|
517
|
+
...deserializeIntoTypeMappingDto(validatedTypeMappingDto),
|
|
518
|
+
"errors": n => { validatedTypeMappingDto.errors = n.getCollectionOfObjectValues(createMappingErrorDtoFromDiscriminatorValue); },
|
|
519
|
+
"validationState": n => { validatedTypeMappingDto.validationState = n.getEnumValue(exports.ValidationStateObject); },
|
|
520
|
+
};
|
|
476
521
|
}
|
|
477
522
|
/**
|
|
478
523
|
* Serializes information the current object
|
|
@@ -481,10 +526,10 @@ function serializeFieldAttributesDto(writer, fieldAttributesDto = {}) {
|
|
|
481
526
|
// @ts-ignore
|
|
482
527
|
function serializeFieldDefDto(writer, fieldDefDto = {}) {
|
|
483
528
|
if (fieldDefDto) {
|
|
484
|
-
writer.writeStringValue("
|
|
485
|
-
writer.
|
|
486
|
-
writer.writeStringValue("
|
|
487
|
-
writer.writeStringValue("
|
|
529
|
+
writer.writeStringValue("expression", fieldDefDto.expression);
|
|
530
|
+
writer.writeEnumValue("refKind", fieldDefDto.refKind);
|
|
531
|
+
writer.writeStringValue("refType", fieldDefDto.refType);
|
|
532
|
+
writer.writeStringValue("type", fieldDefDto.type);
|
|
488
533
|
}
|
|
489
534
|
}
|
|
490
535
|
/**
|
|
@@ -495,11 +540,9 @@ function serializeFieldDefDto(writer, fieldDefDto = {}) {
|
|
|
495
540
|
function serializeFieldMappingDto(writer, fieldMappingDto = {}) {
|
|
496
541
|
if (fieldMappingDto) {
|
|
497
542
|
writer.writeStringValue("id", fieldMappingDto.id);
|
|
498
|
-
writer.writeObjectValue("source", fieldMappingDto.source,
|
|
499
|
-
writer.writeObjectValue("
|
|
500
|
-
writer.
|
|
501
|
-
writer.writeObjectValue("targetRel", fieldMappingDto.targetRel, serializeRelationDto);
|
|
502
|
-
writer.writeNumberValue("type", fieldMappingDto.type);
|
|
543
|
+
writer.writeObjectValue("source", fieldMappingDto.source, serializeMappingFieldDefDto);
|
|
544
|
+
writer.writeObjectValue("target", fieldMappingDto.target, serializeMappingFieldDefDto);
|
|
545
|
+
writer.writeStringValue("$type", fieldMappingDto.type);
|
|
503
546
|
}
|
|
504
547
|
}
|
|
505
548
|
/**
|
|
@@ -507,16 +550,10 @@ function serializeFieldMappingDto(writer, fieldMappingDto = {}) {
|
|
|
507
550
|
* @param writer Serialization writer to use to serialize this model
|
|
508
551
|
*/
|
|
509
552
|
// @ts-ignore
|
|
510
|
-
function
|
|
511
|
-
if (
|
|
512
|
-
writer.
|
|
513
|
-
writer.
|
|
514
|
-
writer.writeNumberValue("kind", fieldMetaDto.kind);
|
|
515
|
-
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
516
|
-
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
517
|
-
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
518
|
-
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
519
|
-
writer.writeObjectValue("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
553
|
+
function serializeGetEntityTypesDto(writer, getEntityTypesDto = {}) {
|
|
554
|
+
if (getEntityTypesDto) {
|
|
555
|
+
writer.writeCollectionOfObjectValues("sdmTypes", getEntityTypesDto.sdmTypes, serializeTypeMetaDefDto);
|
|
556
|
+
writer.writeCollectionOfObjectValues("tpTypes", getEntityTypesDto.tpTypes, serializeTypeMetaDefDto);
|
|
520
557
|
}
|
|
521
558
|
}
|
|
522
559
|
/**
|
|
@@ -524,9 +561,10 @@ function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
|
524
561
|
* @param writer Serialization writer to use to serialize this model
|
|
525
562
|
*/
|
|
526
563
|
// @ts-ignore
|
|
527
|
-
function
|
|
528
|
-
if (
|
|
529
|
-
writer
|
|
564
|
+
function serializeHttpValidationProblemDetails(writer, httpValidationProblemDetails = {}) {
|
|
565
|
+
if (httpValidationProblemDetails) {
|
|
566
|
+
serializeProblemDetails(writer, httpValidationProblemDetails);
|
|
567
|
+
writer.writeObjectValue("errors", httpValidationProblemDetails.errors, serializeHttpValidationProblemDetails_errors);
|
|
530
568
|
}
|
|
531
569
|
}
|
|
532
570
|
/**
|
|
@@ -534,9 +572,9 @@ function serializeGetEntityTypesDto(writer, getEntityTypesDto = {}) {
|
|
|
534
572
|
* @param writer Serialization writer to use to serialize this model
|
|
535
573
|
*/
|
|
536
574
|
// @ts-ignore
|
|
537
|
-
function
|
|
538
|
-
if (
|
|
539
|
-
writer.
|
|
575
|
+
function serializeHttpValidationProblemDetails_errors(writer, httpValidationProblemDetails_errors = {}) {
|
|
576
|
+
if (httpValidationProblemDetails_errors) {
|
|
577
|
+
writer.writeAdditionalData(httpValidationProblemDetails_errors.additionalData);
|
|
540
578
|
}
|
|
541
579
|
}
|
|
542
580
|
/**
|
|
@@ -544,10 +582,9 @@ function serializeGetProfileSettingsDto(writer, getProfileSettingsDto = {}) {
|
|
|
544
582
|
* @param writer Serialization writer to use to serialize this model
|
|
545
583
|
*/
|
|
546
584
|
// @ts-ignore
|
|
547
|
-
function
|
|
548
|
-
if (
|
|
549
|
-
|
|
550
|
-
writer.writeObjectValue("errors", httpValidationProblemDetails.errors, serializeHttpValidationProblemDetails_errors);
|
|
585
|
+
function serializeMappingErrorDto(writer, mappingErrorDto = {}) {
|
|
586
|
+
if (mappingErrorDto) {
|
|
587
|
+
writer.writeStringValue("message", mappingErrorDto.message);
|
|
551
588
|
}
|
|
552
589
|
}
|
|
553
590
|
/**
|
|
@@ -555,9 +592,9 @@ function serializeHttpValidationProblemDetails(writer, httpValidationProblemDeta
|
|
|
555
592
|
* @param writer Serialization writer to use to serialize this model
|
|
556
593
|
*/
|
|
557
594
|
// @ts-ignore
|
|
558
|
-
function
|
|
559
|
-
if (
|
|
560
|
-
writer.
|
|
595
|
+
function serializeMappingFieldDefDto(writer, mappingFieldDefDto = {}) {
|
|
596
|
+
if (mappingFieldDefDto) {
|
|
597
|
+
writer.writeStringValue("expression", mappingFieldDefDto.expression);
|
|
561
598
|
}
|
|
562
599
|
}
|
|
563
600
|
/**
|
|
@@ -582,10 +619,9 @@ function serializeProblemDetails(writer, problemDetails = {}) {
|
|
|
582
619
|
// @ts-ignore
|
|
583
620
|
function serializeProfileDto(writer, profileDto = {}) {
|
|
584
621
|
if (profileDto) {
|
|
585
|
-
writer
|
|
586
|
-
writer.
|
|
587
|
-
writer.
|
|
588
|
-
writer.writeCollectionOfObjectValues("mappings", profileDto.mappings, serializeProfileMappingDto);
|
|
622
|
+
serializeProfileIdDto(writer, profileDto);
|
|
623
|
+
writer.writeCollectionOfObjectValues("typeMappings", profileDto.typeMappings, serializeTypeMappingDto);
|
|
624
|
+
writer.writeAdditionalData(profileDto.additionalData);
|
|
589
625
|
}
|
|
590
626
|
}
|
|
591
627
|
/**
|
|
@@ -593,12 +629,10 @@ function serializeProfileDto(writer, profileDto = {}) {
|
|
|
593
629
|
* @param writer Serialization writer to use to serialize this model
|
|
594
630
|
*/
|
|
595
631
|
// @ts-ignore
|
|
596
|
-
function
|
|
597
|
-
if (
|
|
598
|
-
writer.
|
|
599
|
-
writer.writeStringValue("
|
|
600
|
-
writer.writeStringValue("name", profileMappingDto.name);
|
|
601
|
-
writer.writeCollectionOfObjectValues("typeMappings", profileMappingDto.typeMappings, serializeTypeMappingDto);
|
|
632
|
+
function serializeProfileIdDto(writer, profileIdDto = {}) {
|
|
633
|
+
if (profileIdDto) {
|
|
634
|
+
writer.writeStringValue("id", profileIdDto.id);
|
|
635
|
+
writer.writeStringValue("name", profileIdDto.name);
|
|
602
636
|
}
|
|
603
637
|
}
|
|
604
638
|
/**
|
|
@@ -606,10 +640,10 @@ function serializeProfileMappingDto(writer, profileMappingDto = {}) {
|
|
|
606
640
|
* @param writer Serialization writer to use to serialize this model
|
|
607
641
|
*/
|
|
608
642
|
// @ts-ignore
|
|
609
|
-
function
|
|
610
|
-
if (
|
|
611
|
-
writer.
|
|
612
|
-
writer.writeStringValue("
|
|
643
|
+
function serializeSdmTypeDefDto(writer, sdmTypeDefDto = {}) {
|
|
644
|
+
if (sdmTypeDefDto) {
|
|
645
|
+
writer.writeStringValue("id", sdmTypeDefDto.id);
|
|
646
|
+
writer.writeStringValue("name", sdmTypeDefDto.name);
|
|
613
647
|
}
|
|
614
648
|
}
|
|
615
649
|
/**
|
|
@@ -617,11 +651,9 @@ function serializeRelationDefRefDto(writer, relationDefRefDto = {}) {
|
|
|
617
651
|
* @param writer Serialization writer to use to serialize this model
|
|
618
652
|
*/
|
|
619
653
|
// @ts-ignore
|
|
620
|
-
function
|
|
621
|
-
if (
|
|
622
|
-
writer.
|
|
623
|
-
writer.writeObjectValue("field", relationDto.field, serializeFieldDefDto);
|
|
624
|
-
writer.writeObjectValue("relation", relationDto.relation, serializeRelationDefRefDto);
|
|
654
|
+
function serializeSetCurrentProfileRequestDto(writer, setCurrentProfileRequestDto = {}) {
|
|
655
|
+
if (setCurrentProfileRequestDto) {
|
|
656
|
+
writer.writeStringValue("profileId", setCurrentProfileRequestDto.profileId);
|
|
625
657
|
}
|
|
626
658
|
}
|
|
627
659
|
/**
|
|
@@ -651,12 +683,13 @@ function serializeSharedDataCreateAttachmentResponseItemDto(writer, sharedDataCr
|
|
|
651
683
|
* @param writer Serialization writer to use to serialize this model
|
|
652
684
|
*/
|
|
653
685
|
// @ts-ignore
|
|
654
|
-
function
|
|
655
|
-
if (
|
|
656
|
-
writer.writeStringValue("
|
|
657
|
-
writer.
|
|
658
|
-
writer.
|
|
659
|
-
writer.
|
|
686
|
+
function serializeTestTypeMappingDto(writer, testTypeMappingDto = {}) {
|
|
687
|
+
if (testTypeMappingDto) {
|
|
688
|
+
writer.writeStringValue("entityType", testTypeMappingDto.entityType);
|
|
689
|
+
writer.writeObjectValue("profile", testTypeMappingDto.profile, serializeProfileDto);
|
|
690
|
+
writer.writeStringValue("select", testTypeMappingDto.select);
|
|
691
|
+
writer.writeNumberValue("skip", testTypeMappingDto.skip);
|
|
692
|
+
writer.writeNumberValue("take", testTypeMappingDto.take);
|
|
660
693
|
}
|
|
661
694
|
}
|
|
662
695
|
/**
|
|
@@ -664,10 +697,10 @@ function serializeTypeDefDto(writer, typeDefDto = {}) {
|
|
|
664
697
|
* @param writer Serialization writer to use to serialize this model
|
|
665
698
|
*/
|
|
666
699
|
// @ts-ignore
|
|
667
|
-
function
|
|
668
|
-
if (
|
|
669
|
-
writer.writeStringValue("id",
|
|
670
|
-
writer.
|
|
700
|
+
function serializeTpTypeDefDto(writer, tpTypeDefDto = {}) {
|
|
701
|
+
if (tpTypeDefDto) {
|
|
702
|
+
writer.writeStringValue("id", tpTypeDefDto.id);
|
|
703
|
+
writer.writeStringValue("name", tpTypeDefDto.name);
|
|
671
704
|
}
|
|
672
705
|
}
|
|
673
706
|
/**
|
|
@@ -679,8 +712,9 @@ function serializeTypeMappingDto(writer, typeMappingDto = {}) {
|
|
|
679
712
|
if (typeMappingDto) {
|
|
680
713
|
writer.writeCollectionOfObjectValues("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
681
714
|
writer.writeStringValue("id", typeMappingDto.id);
|
|
682
|
-
writer.writeObjectValue("sourceType", typeMappingDto.sourceType,
|
|
683
|
-
writer.writeObjectValue("targetType", typeMappingDto.targetType,
|
|
715
|
+
writer.writeObjectValue("sourceType", typeMappingDto.sourceType, serializeTpTypeDefDto);
|
|
716
|
+
writer.writeObjectValue("targetType", typeMappingDto.targetType, serializeSdmTypeDefDto);
|
|
717
|
+
writer.writeStringValue("$type", typeMappingDto.type);
|
|
684
718
|
}
|
|
685
719
|
}
|
|
686
720
|
/**
|
|
@@ -692,9 +726,56 @@ function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
|
|
|
692
726
|
if (typeMetaDefDto) {
|
|
693
727
|
writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
694
728
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
695
|
-
writer.writeStringValue("kind", typeMetaDefDto.kind);
|
|
696
729
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
697
730
|
}
|
|
698
731
|
}
|
|
732
|
+
/**
|
|
733
|
+
* Serializes information the current object
|
|
734
|
+
* @param writer Serialization writer to use to serialize this model
|
|
735
|
+
*/
|
|
736
|
+
// @ts-ignore
|
|
737
|
+
function serializeValidatedFieldMappingDto(writer, validatedFieldMappingDto = {}) {
|
|
738
|
+
if (validatedFieldMappingDto) {
|
|
739
|
+
serializeFieldMappingDto(writer, validatedFieldMappingDto);
|
|
740
|
+
writer.writeCollectionOfObjectValues("errors", validatedFieldMappingDto.errors, serializeMappingErrorDto);
|
|
741
|
+
writer.writeEnumValue("validationState", validatedFieldMappingDto.validationState);
|
|
742
|
+
writer.writeAdditionalData(validatedFieldMappingDto.additionalData);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
* Serializes information the current object
|
|
747
|
+
* @param writer Serialization writer to use to serialize this model
|
|
748
|
+
*/
|
|
749
|
+
// @ts-ignore
|
|
750
|
+
function serializeValidatedProfileDto(writer, validatedProfileDto = {}) {
|
|
751
|
+
if (validatedProfileDto) {
|
|
752
|
+
serializeProfileIdDto(writer, validatedProfileDto);
|
|
753
|
+
writer.writeCollectionOfObjectValues("typeMappings", validatedProfileDto.typeMappings, serializeValidatedTypeMappingDto);
|
|
754
|
+
writer.writeEnumValue("validationState", validatedProfileDto.validationState);
|
|
755
|
+
writer.writeAdditionalData(validatedProfileDto.additionalData);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
/**
|
|
759
|
+
* Serializes information the current object
|
|
760
|
+
* @param writer Serialization writer to use to serialize this model
|
|
761
|
+
*/
|
|
762
|
+
// @ts-ignore
|
|
763
|
+
function serializeValidatedTypeMappingDto(writer, validatedTypeMappingDto = {}) {
|
|
764
|
+
if (validatedTypeMappingDto) {
|
|
765
|
+
serializeTypeMappingDto(writer, validatedTypeMappingDto);
|
|
766
|
+
writer.writeCollectionOfObjectValues("errors", validatedTypeMappingDto.errors, serializeMappingErrorDto);
|
|
767
|
+
writer.writeEnumValue("validationState", validatedTypeMappingDto.validationState);
|
|
768
|
+
writer.writeAdditionalData(validatedTypeMappingDto.additionalData);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
exports.RefKindObject = {
|
|
772
|
+
Single: "Single",
|
|
773
|
+
Collection: "Collection",
|
|
774
|
+
};
|
|
775
|
+
exports.ValidationStateObject = {
|
|
776
|
+
Valid: "Valid",
|
|
777
|
+
Warning: "Warning",
|
|
778
|
+
ErrorEscaped: "Error",
|
|
779
|
+
};
|
|
699
780
|
/* tslint:enable */
|
|
700
781
|
/* eslint-enable */
|