@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/dist/models/index.js
CHANGED
|
@@ -1,57 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
3
|
+
exports.TypeKindObject = exports.RelationDirectionObject = exports.FieldMappingTypeObject = exports.FieldKindObject = void 0;
|
|
4
|
+
exports.createFieldAttributesDtoFromDiscriminatorValue = createFieldAttributesDtoFromDiscriminatorValue;
|
|
5
|
+
exports.createFieldDefDtoFromDiscriminatorValue = createFieldDefDtoFromDiscriminatorValue;
|
|
6
|
+
exports.createFieldMappingDtoFromDiscriminatorValue = createFieldMappingDtoFromDiscriminatorValue;
|
|
7
|
+
exports.createFieldMetaDtoFromDiscriminatorValue = createFieldMetaDtoFromDiscriminatorValue;
|
|
8
|
+
exports.createGetEntityTypesDtoFromDiscriminatorValue = createGetEntityTypesDtoFromDiscriminatorValue;
|
|
9
|
+
exports.createGetProfileSettingsDtoFromDiscriminatorValue = createGetProfileSettingsDtoFromDiscriminatorValue;
|
|
10
|
+
exports.createGetSharedDataModelResponseDtoFromDiscriminatorValue = createGetSharedDataModelResponseDtoFromDiscriminatorValue;
|
|
11
|
+
exports.createHttpValidationProblemDetails_errorsFromDiscriminatorValue = createHttpValidationProblemDetails_errorsFromDiscriminatorValue;
|
|
12
|
+
exports.createHttpValidationProblemDetailsFromDiscriminatorValue = createHttpValidationProblemDetailsFromDiscriminatorValue;
|
|
13
|
+
exports.createProblemDetailsFromDiscriminatorValue = createProblemDetailsFromDiscriminatorValue;
|
|
14
|
+
exports.createProfileDtoFromDiscriminatorValue = createProfileDtoFromDiscriminatorValue;
|
|
15
|
+
exports.createProfileMappingDtoFromDiscriminatorValue = createProfileMappingDtoFromDiscriminatorValue;
|
|
16
|
+
exports.createRelationDefRefDtoFromDiscriminatorValue = createRelationDefRefDtoFromDiscriminatorValue;
|
|
17
|
+
exports.createRelationDtoFromDiscriminatorValue = createRelationDtoFromDiscriminatorValue;
|
|
18
|
+
exports.createTpUserFromDiscriminatorValue = createTpUserFromDiscriminatorValue;
|
|
19
|
+
exports.createTypeDefDtoFromDiscriminatorValue = createTypeDefDtoFromDiscriminatorValue;
|
|
20
|
+
exports.createTypeDefRefDtoFromDiscriminatorValue = createTypeDefRefDtoFromDiscriminatorValue;
|
|
21
|
+
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
22
|
+
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
23
|
+
exports.deserializeIntoFieldAttributesDto = deserializeIntoFieldAttributesDto;
|
|
24
|
+
exports.deserializeIntoFieldDefDto = deserializeIntoFieldDefDto;
|
|
25
|
+
exports.deserializeIntoFieldMappingDto = deserializeIntoFieldMappingDto;
|
|
26
|
+
exports.deserializeIntoFieldMetaDto = deserializeIntoFieldMetaDto;
|
|
27
|
+
exports.deserializeIntoGetEntityTypesDto = deserializeIntoGetEntityTypesDto;
|
|
28
|
+
exports.deserializeIntoGetProfileSettingsDto = deserializeIntoGetProfileSettingsDto;
|
|
29
|
+
exports.deserializeIntoGetSharedDataModelResponseDto = deserializeIntoGetSharedDataModelResponseDto;
|
|
30
|
+
exports.deserializeIntoHttpValidationProblemDetails = deserializeIntoHttpValidationProblemDetails;
|
|
31
|
+
exports.deserializeIntoHttpValidationProblemDetails_errors = deserializeIntoHttpValidationProblemDetails_errors;
|
|
32
|
+
exports.deserializeIntoProblemDetails = deserializeIntoProblemDetails;
|
|
33
|
+
exports.deserializeIntoProfileDto = deserializeIntoProfileDto;
|
|
34
|
+
exports.deserializeIntoProfileMappingDto = deserializeIntoProfileMappingDto;
|
|
35
|
+
exports.deserializeIntoRelationDefRefDto = deserializeIntoRelationDefRefDto;
|
|
36
|
+
exports.deserializeIntoRelationDto = deserializeIntoRelationDto;
|
|
37
|
+
exports.deserializeIntoTpUser = deserializeIntoTpUser;
|
|
38
|
+
exports.deserializeIntoTypeDefDto = deserializeIntoTypeDefDto;
|
|
39
|
+
exports.deserializeIntoTypeDefRefDto = deserializeIntoTypeDefRefDto;
|
|
40
|
+
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
41
|
+
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
42
|
+
exports.serializeFieldAttributesDto = serializeFieldAttributesDto;
|
|
43
|
+
exports.serializeFieldDefDto = serializeFieldDefDto;
|
|
44
|
+
exports.serializeFieldMappingDto = serializeFieldMappingDto;
|
|
45
|
+
exports.serializeFieldMetaDto = serializeFieldMetaDto;
|
|
46
|
+
exports.serializeGetEntityTypesDto = serializeGetEntityTypesDto;
|
|
47
|
+
exports.serializeGetProfileSettingsDto = serializeGetProfileSettingsDto;
|
|
48
|
+
exports.serializeGetSharedDataModelResponseDto = serializeGetSharedDataModelResponseDto;
|
|
49
|
+
exports.serializeHttpValidationProblemDetails = serializeHttpValidationProblemDetails;
|
|
50
|
+
exports.serializeHttpValidationProblemDetails_errors = serializeHttpValidationProblemDetails_errors;
|
|
51
|
+
exports.serializeProblemDetails = serializeProblemDetails;
|
|
52
|
+
exports.serializeProfileDto = serializeProfileDto;
|
|
53
|
+
exports.serializeProfileMappingDto = serializeProfileMappingDto;
|
|
54
|
+
exports.serializeRelationDefRefDto = serializeRelationDefRefDto;
|
|
55
|
+
exports.serializeRelationDto = serializeRelationDto;
|
|
56
|
+
exports.serializeTpUser = serializeTpUser;
|
|
57
|
+
exports.serializeTypeDefDto = serializeTypeDefDto;
|
|
58
|
+
exports.serializeTypeDefRefDto = serializeTypeDefRefDto;
|
|
59
|
+
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
60
|
+
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
55
61
|
/* tslint:disable */
|
|
56
62
|
/* eslint-disable */
|
|
57
63
|
// Generated by Microsoft Kiota
|
|
@@ -60,165 +66,183 @@ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
|
60
66
|
/**
|
|
61
67
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
62
68
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
63
|
-
* @returns {
|
|
69
|
+
* @returns {FieldAttributesDto}
|
|
64
70
|
*/
|
|
65
71
|
// @ts-ignore
|
|
66
|
-
function
|
|
67
|
-
return
|
|
72
|
+
function createFieldAttributesDtoFromDiscriminatorValue(parseNode) {
|
|
73
|
+
return deserializeIntoFieldAttributesDto;
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
70
76
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
71
77
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
72
|
-
* @returns {
|
|
78
|
+
* @returns {FieldDefDto}
|
|
73
79
|
*/
|
|
74
80
|
// @ts-ignore
|
|
75
|
-
function
|
|
76
|
-
return
|
|
81
|
+
function createFieldDefDtoFromDiscriminatorValue(parseNode) {
|
|
82
|
+
return deserializeIntoFieldDefDto;
|
|
77
83
|
}
|
|
78
84
|
/**
|
|
79
85
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
80
86
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
81
|
-
* @returns {
|
|
87
|
+
* @returns {FieldMappingDto}
|
|
82
88
|
*/
|
|
83
89
|
// @ts-ignore
|
|
84
|
-
function
|
|
85
|
-
return
|
|
90
|
+
function createFieldMappingDtoFromDiscriminatorValue(parseNode) {
|
|
91
|
+
return deserializeIntoFieldMappingDto;
|
|
86
92
|
}
|
|
87
93
|
/**
|
|
88
94
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
89
95
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
90
|
-
* @returns {
|
|
96
|
+
* @returns {FieldMetaDto}
|
|
91
97
|
*/
|
|
92
98
|
// @ts-ignore
|
|
93
|
-
function
|
|
94
|
-
return
|
|
99
|
+
function createFieldMetaDtoFromDiscriminatorValue(parseNode) {
|
|
100
|
+
return deserializeIntoFieldMetaDto;
|
|
95
101
|
}
|
|
96
102
|
/**
|
|
97
103
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
98
104
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
99
|
-
* @returns {
|
|
105
|
+
* @returns {GetEntityTypesDto}
|
|
100
106
|
*/
|
|
101
107
|
// @ts-ignore
|
|
102
|
-
function
|
|
103
|
-
return
|
|
108
|
+
function createGetEntityTypesDtoFromDiscriminatorValue(parseNode) {
|
|
109
|
+
return deserializeIntoGetEntityTypesDto;
|
|
104
110
|
}
|
|
105
111
|
/**
|
|
106
112
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
107
113
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
108
|
-
* @returns {
|
|
114
|
+
* @returns {GetProfileSettingsDto}
|
|
109
115
|
*/
|
|
110
116
|
// @ts-ignore
|
|
111
|
-
function
|
|
112
|
-
return
|
|
117
|
+
function createGetProfileSettingsDtoFromDiscriminatorValue(parseNode) {
|
|
118
|
+
return deserializeIntoGetProfileSettingsDto;
|
|
113
119
|
}
|
|
114
120
|
/**
|
|
115
121
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
116
122
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
117
|
-
* @returns {
|
|
123
|
+
* @returns {GetSharedDataModelResponseDto}
|
|
118
124
|
*/
|
|
119
125
|
// @ts-ignore
|
|
120
|
-
function
|
|
121
|
-
return
|
|
126
|
+
function createGetSharedDataModelResponseDtoFromDiscriminatorValue(parseNode) {
|
|
127
|
+
return deserializeIntoGetSharedDataModelResponseDto;
|
|
122
128
|
}
|
|
123
129
|
/**
|
|
124
130
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
125
131
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
126
|
-
* @returns {
|
|
132
|
+
* @returns {HttpValidationProblemDetails_errors}
|
|
127
133
|
*/
|
|
128
134
|
// @ts-ignore
|
|
129
|
-
function
|
|
130
|
-
return
|
|
135
|
+
function createHttpValidationProblemDetails_errorsFromDiscriminatorValue(parseNode) {
|
|
136
|
+
return deserializeIntoHttpValidationProblemDetails_errors;
|
|
131
137
|
}
|
|
132
138
|
/**
|
|
133
139
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
134
140
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
135
|
-
* @returns {
|
|
141
|
+
* @returns {HttpValidationProblemDetails}
|
|
136
142
|
*/
|
|
137
143
|
// @ts-ignore
|
|
138
|
-
function
|
|
139
|
-
return
|
|
144
|
+
function createHttpValidationProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
145
|
+
return deserializeIntoHttpValidationProblemDetails;
|
|
140
146
|
}
|
|
141
147
|
/**
|
|
142
148
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
143
149
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
144
|
-
* @returns {
|
|
150
|
+
* @returns {ProblemDetails}
|
|
145
151
|
*/
|
|
146
152
|
// @ts-ignore
|
|
147
|
-
function
|
|
148
|
-
return
|
|
153
|
+
function createProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
154
|
+
return deserializeIntoProblemDetails;
|
|
149
155
|
}
|
|
150
156
|
/**
|
|
151
157
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
152
158
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
153
|
-
* @returns {
|
|
159
|
+
* @returns {ProfileDto}
|
|
154
160
|
*/
|
|
155
161
|
// @ts-ignore
|
|
156
|
-
function
|
|
157
|
-
return
|
|
162
|
+
function createProfileDtoFromDiscriminatorValue(parseNode) {
|
|
163
|
+
return deserializeIntoProfileDto;
|
|
158
164
|
}
|
|
159
165
|
/**
|
|
160
166
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
161
167
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
162
|
-
* @returns {
|
|
168
|
+
* @returns {ProfileMappingDto}
|
|
163
169
|
*/
|
|
164
170
|
// @ts-ignore
|
|
165
|
-
function
|
|
166
|
-
return
|
|
171
|
+
function createProfileMappingDtoFromDiscriminatorValue(parseNode) {
|
|
172
|
+
return deserializeIntoProfileMappingDto;
|
|
167
173
|
}
|
|
168
174
|
/**
|
|
169
175
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
170
176
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
171
|
-
* @returns {
|
|
177
|
+
* @returns {RelationDefRefDto}
|
|
172
178
|
*/
|
|
173
179
|
// @ts-ignore
|
|
174
|
-
function
|
|
175
|
-
return
|
|
180
|
+
function createRelationDefRefDtoFromDiscriminatorValue(parseNode) {
|
|
181
|
+
return deserializeIntoRelationDefRefDto;
|
|
176
182
|
}
|
|
177
183
|
/**
|
|
178
184
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
179
185
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
180
|
-
* @returns {
|
|
186
|
+
* @returns {RelationDto}
|
|
181
187
|
*/
|
|
182
188
|
// @ts-ignore
|
|
183
|
-
function
|
|
184
|
-
return
|
|
189
|
+
function createRelationDtoFromDiscriminatorValue(parseNode) {
|
|
190
|
+
return deserializeIntoRelationDto;
|
|
185
191
|
}
|
|
186
192
|
/**
|
|
187
193
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
188
194
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
189
|
-
* @returns {
|
|
195
|
+
* @returns {TpUser}
|
|
190
196
|
*/
|
|
191
197
|
// @ts-ignore
|
|
192
|
-
function
|
|
193
|
-
return
|
|
198
|
+
function createTpUserFromDiscriminatorValue(parseNode) {
|
|
199
|
+
return deserializeIntoTpUser;
|
|
194
200
|
}
|
|
195
201
|
/**
|
|
196
202
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
197
203
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
198
|
-
* @returns {
|
|
204
|
+
* @returns {TypeDefDto}
|
|
199
205
|
*/
|
|
200
206
|
// @ts-ignore
|
|
201
|
-
function
|
|
202
|
-
return
|
|
207
|
+
function createTypeDefDtoFromDiscriminatorValue(parseNode) {
|
|
208
|
+
return deserializeIntoTypeDefDto;
|
|
203
209
|
}
|
|
204
210
|
/**
|
|
205
211
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
206
212
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
207
|
-
* @returns {
|
|
213
|
+
* @returns {TypeDefRefDto}
|
|
208
214
|
*/
|
|
209
215
|
// @ts-ignore
|
|
210
|
-
function
|
|
211
|
-
return
|
|
216
|
+
function createTypeDefRefDtoFromDiscriminatorValue(parseNode) {
|
|
217
|
+
return deserializeIntoTypeDefRefDto;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
221
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
222
|
+
* @returns {TypeMappingDto}
|
|
223
|
+
*/
|
|
224
|
+
// @ts-ignore
|
|
225
|
+
function createTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
226
|
+
return deserializeIntoTypeMappingDto;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
230
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
231
|
+
* @returns {TypeMetaDefDto}
|
|
232
|
+
*/
|
|
233
|
+
// @ts-ignore
|
|
234
|
+
function createTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
235
|
+
return deserializeIntoTypeMetaDefDto;
|
|
212
236
|
}
|
|
213
237
|
/**
|
|
214
238
|
* The deserialization information for the current model
|
|
215
239
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
216
240
|
*/
|
|
217
241
|
// @ts-ignore
|
|
218
|
-
function
|
|
242
|
+
function deserializeIntoFieldAttributesDto(fieldAttributesDto = {}) {
|
|
219
243
|
return {
|
|
220
|
-
|
|
221
|
-
"
|
|
244
|
+
"isExtendable": n => { fieldAttributesDto.isExtendable = n.getBooleanValue(); },
|
|
245
|
+
"roleId": n => { fieldAttributesDto.roleId = n.getStringValue(); },
|
|
222
246
|
};
|
|
223
247
|
}
|
|
224
248
|
/**
|
|
@@ -226,21 +250,27 @@ function deserializeIntoMicrosoftAspNetCoreHttpHttpValidationProblemDetails(micr
|
|
|
226
250
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
227
251
|
*/
|
|
228
252
|
// @ts-ignore
|
|
229
|
-
function
|
|
230
|
-
return {
|
|
253
|
+
function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
254
|
+
return {
|
|
255
|
+
"id": n => { fieldDefDto.id = n.getStringValue(); },
|
|
256
|
+
"meta": n => { fieldDefDto.meta = n.getObjectValue(createFieldMetaDtoFromDiscriminatorValue); },
|
|
257
|
+
"name": n => { fieldDefDto.name = n.getStringValue(); },
|
|
258
|
+
"path": n => { fieldDefDto.path = n.getStringValue(); },
|
|
259
|
+
};
|
|
231
260
|
}
|
|
232
261
|
/**
|
|
233
262
|
* The deserialization information for the current model
|
|
234
263
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
235
264
|
*/
|
|
236
265
|
// @ts-ignore
|
|
237
|
-
function
|
|
266
|
+
function deserializeIntoFieldMappingDto(fieldMappingDto = {}) {
|
|
238
267
|
return {
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"
|
|
268
|
+
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
269
|
+
"source": n => { fieldMappingDto.source = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
270
|
+
"sourceRel": n => { fieldMappingDto.sourceRel = n.getObjectValue(createRelationDtoFromDiscriminatorValue); },
|
|
271
|
+
"target": n => { fieldMappingDto.target = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
272
|
+
"targetRel": n => { fieldMappingDto.targetRel = n.getObjectValue(createRelationDtoFromDiscriminatorValue); },
|
|
273
|
+
"type": n => { fieldMappingDto.type = n.getEnumValue(exports.FieldMappingTypeObject); },
|
|
244
274
|
};
|
|
245
275
|
}
|
|
246
276
|
/**
|
|
@@ -248,10 +278,16 @@ function deserializeIntoMicrosoftAspNetCoreMvcProblemDetails(microsoftAspNetCore
|
|
|
248
278
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
249
279
|
*/
|
|
250
280
|
// @ts-ignore
|
|
251
|
-
function
|
|
281
|
+
function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
252
282
|
return {
|
|
253
|
-
"
|
|
254
|
-
"
|
|
283
|
+
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
284
|
+
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
285
|
+
"kind": n => { fieldMetaDto.kind = n.getEnumValue(exports.FieldKindObject); },
|
|
286
|
+
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
287
|
+
"options": n => { fieldMetaDto.options = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
|
|
288
|
+
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
289
|
+
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
290
|
+
"type": n => { fieldMetaDto.type = n.getObjectValue(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
255
291
|
};
|
|
256
292
|
}
|
|
257
293
|
/**
|
|
@@ -259,12 +295,9 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldAttributesDt
|
|
|
259
295
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
260
296
|
*/
|
|
261
297
|
// @ts-ignore
|
|
262
|
-
function
|
|
298
|
+
function deserializeIntoGetEntityTypesDto(getEntityTypesDto = {}) {
|
|
263
299
|
return {
|
|
264
|
-
"
|
|
265
|
-
"meta": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.meta = n.getObjectValue(createTpSharedDataModelServiceModulesSettingsFieldMetaDtoFromDiscriminatorValue); },
|
|
266
|
-
"name": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.name = n.getStringValue(); },
|
|
267
|
-
"path": n => { tpSharedDataModelServiceModulesSettingsFieldDefDto.path = n.getStringValue(); },
|
|
300
|
+
"types": n => { getEntityTypesDto.types = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
268
301
|
};
|
|
269
302
|
}
|
|
270
303
|
/**
|
|
@@ -272,10 +305,9 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldDefDto(tpSha
|
|
|
272
305
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
273
306
|
*/
|
|
274
307
|
// @ts-ignore
|
|
275
|
-
function
|
|
308
|
+
function deserializeIntoGetProfileSettingsDto(getProfileSettingsDto = {}) {
|
|
276
309
|
return {
|
|
277
|
-
"
|
|
278
|
-
"type": n => { tpSharedDataModelServiceModulesSettingsFieldMappingDto.type = n.getEnumValue(exports.TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject); },
|
|
310
|
+
"profile": n => { getProfileSettingsDto.profile = n.getObjectValue(createProfileDtoFromDiscriminatorValue); },
|
|
279
311
|
};
|
|
280
312
|
}
|
|
281
313
|
/**
|
|
@@ -283,16 +315,9 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldMappingDto(t
|
|
|
283
315
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
284
316
|
*/
|
|
285
317
|
// @ts-ignore
|
|
286
|
-
function
|
|
318
|
+
function deserializeIntoGetSharedDataModelResponseDto(getSharedDataModelResponseDto = {}) {
|
|
287
319
|
return {
|
|
288
|
-
"
|
|
289
|
-
"isReadonly": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
290
|
-
"kind": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.kind = n.getEnumValue(exports.TpSharedDataModelServiceModulesSettingsFieldKindObject); },
|
|
291
|
-
"multiple": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.multiple = n.getBooleanValue(); },
|
|
292
|
-
"options": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.options = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
|
|
293
|
-
"required": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.required = n.getBooleanValue(); },
|
|
294
|
-
"roundsDate": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
295
|
-
"type": n => { tpSharedDataModelServiceModulesSettingsFieldMetaDto.type = n.getObjectValue(createTpSharedDataModelServiceModulesSettingsTypeDefRefDtoFromDiscriminatorValue); },
|
|
320
|
+
"users": n => { getSharedDataModelResponseDto.users = n.getCollectionOfObjectValues(createTpUserFromDiscriminatorValue); },
|
|
296
321
|
};
|
|
297
322
|
}
|
|
298
323
|
/**
|
|
@@ -300,9 +325,10 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsFieldMetaDto(tpSh
|
|
|
300
325
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
301
326
|
*/
|
|
302
327
|
// @ts-ignore
|
|
303
|
-
function
|
|
328
|
+
function deserializeIntoHttpValidationProblemDetails(httpValidationProblemDetails = {}) {
|
|
304
329
|
return {
|
|
305
|
-
|
|
330
|
+
...deserializeIntoProblemDetails(httpValidationProblemDetails),
|
|
331
|
+
"errors": n => { httpValidationProblemDetails.errors = n.getObjectValue(createHttpValidationProblemDetails_errorsFromDiscriminatorValue); },
|
|
306
332
|
};
|
|
307
333
|
}
|
|
308
334
|
/**
|
|
@@ -310,9 +336,21 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsGetEntityTypesGet
|
|
|
310
336
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
311
337
|
*/
|
|
312
338
|
// @ts-ignore
|
|
313
|
-
function
|
|
339
|
+
function deserializeIntoHttpValidationProblemDetails_errors(httpValidationProblemDetails_errors = {}) {
|
|
340
|
+
return {};
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* The deserialization information for the current model
|
|
344
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
345
|
+
*/
|
|
346
|
+
// @ts-ignore
|
|
347
|
+
function deserializeIntoProblemDetails(problemDetails = {}) {
|
|
314
348
|
return {
|
|
315
|
-
"
|
|
349
|
+
"detail": n => { problemDetails.detail = n.getStringValue(); },
|
|
350
|
+
"instance": n => { problemDetails.instance = n.getStringValue(); },
|
|
351
|
+
"status": n => { problemDetails.status = n.getNumberValue(); },
|
|
352
|
+
"title": n => { problemDetails.title = n.getStringValue(); },
|
|
353
|
+
"type": n => { problemDetails.type = n.getStringValue(); },
|
|
316
354
|
};
|
|
317
355
|
}
|
|
318
356
|
/**
|
|
@@ -320,11 +358,11 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsGetProfileGetProf
|
|
|
320
358
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
321
359
|
*/
|
|
322
360
|
// @ts-ignore
|
|
323
|
-
function
|
|
361
|
+
function deserializeIntoProfileDto(profileDto = {}) {
|
|
324
362
|
return {
|
|
325
|
-
"id": n => {
|
|
326
|
-
"mappings": n => {
|
|
327
|
-
"name": n => {
|
|
363
|
+
"id": n => { profileDto.id = n.getStringValue(); },
|
|
364
|
+
"mappings": n => { profileDto.mappings = n.getCollectionOfObjectValues(createProfileMappingDtoFromDiscriminatorValue); },
|
|
365
|
+
"name": n => { profileDto.name = n.getStringValue(); },
|
|
328
366
|
};
|
|
329
367
|
}
|
|
330
368
|
/**
|
|
@@ -332,12 +370,12 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsProfileDto(tpShar
|
|
|
332
370
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
333
371
|
*/
|
|
334
372
|
// @ts-ignore
|
|
335
|
-
function
|
|
373
|
+
function deserializeIntoProfileMappingDto(profileMappingDto = {}) {
|
|
336
374
|
return {
|
|
337
|
-
"enabled": n => {
|
|
338
|
-
"id": n => {
|
|
339
|
-
"name": n => {
|
|
340
|
-
"typeMappings": n => {
|
|
375
|
+
"enabled": n => { profileMappingDto.enabled = n.getBooleanValue(); },
|
|
376
|
+
"id": n => { profileMappingDto.id = n.getStringValue(); },
|
|
377
|
+
"name": n => { profileMappingDto.name = n.getStringValue(); },
|
|
378
|
+
"typeMappings": n => { profileMappingDto.typeMappings = n.getCollectionOfObjectValues(createTypeMappingDtoFromDiscriminatorValue); },
|
|
341
379
|
};
|
|
342
380
|
}
|
|
343
381
|
/**
|
|
@@ -345,12 +383,10 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsProfileMappingDto
|
|
|
345
383
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
346
384
|
*/
|
|
347
385
|
// @ts-ignore
|
|
348
|
-
function
|
|
386
|
+
function deserializeIntoRelationDefRefDto(relationDefRefDto = {}) {
|
|
349
387
|
return {
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"kind": n => { tpSharedDataModelServiceModulesSettingsTypeDefDto.kind = n.getEnumValue(exports.TpSharedDataModelServiceModulesSettingsTypeKindObject); },
|
|
353
|
-
"name": n => { tpSharedDataModelServiceModulesSettingsTypeDefDto.name = n.getStringValue(); },
|
|
388
|
+
"direction": n => { relationDefRefDto.direction = n.getEnumValue(exports.RelationDirectionObject); },
|
|
389
|
+
"id": n => { relationDefRefDto.id = n.getStringValue(); },
|
|
354
390
|
};
|
|
355
391
|
}
|
|
356
392
|
/**
|
|
@@ -358,10 +394,11 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeDefDto(tpShar
|
|
|
358
394
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
359
395
|
*/
|
|
360
396
|
// @ts-ignore
|
|
361
|
-
function
|
|
397
|
+
function deserializeIntoRelationDto(relationDto = {}) {
|
|
362
398
|
return {
|
|
363
|
-
"
|
|
364
|
-
"
|
|
399
|
+
"childType": n => { relationDto.childType = n.getObjectValue(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
400
|
+
"field": n => { relationDto.field = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
401
|
+
"relation": n => { relationDto.relation = n.getObjectValue(createRelationDefRefDtoFromDiscriminatorValue); },
|
|
365
402
|
};
|
|
366
403
|
}
|
|
367
404
|
/**
|
|
@@ -369,12 +406,9 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeDefRefDto(tpS
|
|
|
369
406
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
370
407
|
*/
|
|
371
408
|
// @ts-ignore
|
|
372
|
-
function
|
|
409
|
+
function deserializeIntoTpUser(tpUser = {}) {
|
|
373
410
|
return {
|
|
374
|
-
"
|
|
375
|
-
"id": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.id = n.getStringValue(); },
|
|
376
|
-
"sourceType": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.sourceType = n.getObjectValue(createTpSharedDataModelServiceModulesSettingsTypeDefDtoFromDiscriminatorValue); },
|
|
377
|
-
"targetType": n => { tpSharedDataModelServiceModulesSettingsTypeMappingDto.targetType = n.getObjectValue(createTpSharedDataModelServiceModulesSettingsTypeDefDtoFromDiscriminatorValue); },
|
|
411
|
+
"email": n => { tpUser.email = n.getStringValue(); },
|
|
378
412
|
};
|
|
379
413
|
}
|
|
380
414
|
/**
|
|
@@ -382,12 +416,12 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeMappingDto(tp
|
|
|
382
416
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
383
417
|
*/
|
|
384
418
|
// @ts-ignore
|
|
385
|
-
function
|
|
419
|
+
function deserializeIntoTypeDefDto(typeDefDto = {}) {
|
|
386
420
|
return {
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
"kind": n => {
|
|
390
|
-
"name": n => {
|
|
421
|
+
"id": n => { typeDefDto.id = n.getStringValue(); },
|
|
422
|
+
"javaScriptComparator": n => { typeDefDto.javaScriptComparator = n.getStringValue(); },
|
|
423
|
+
"kind": n => { typeDefDto.kind = n.getEnumValue(exports.TypeKindObject); },
|
|
424
|
+
"name": n => { typeDefDto.name = n.getStringValue(); },
|
|
391
425
|
};
|
|
392
426
|
}
|
|
393
427
|
/**
|
|
@@ -395,9 +429,10 @@ function deserializeIntoTpSharedDataModelServiceModulesSettingsTypeMetaDefDto(tp
|
|
|
395
429
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
396
430
|
*/
|
|
397
431
|
// @ts-ignore
|
|
398
|
-
function
|
|
432
|
+
function deserializeIntoTypeDefRefDto(typeDefRefDto = {}) {
|
|
399
433
|
return {
|
|
400
|
-
"
|
|
434
|
+
"id": n => { typeDefRefDto.id = n.getStringValue(); },
|
|
435
|
+
"kind": n => { typeDefRefDto.kind = n.getEnumValue(exports.TypeKindObject); },
|
|
401
436
|
};
|
|
402
437
|
}
|
|
403
438
|
/**
|
|
@@ -405,20 +440,49 @@ function deserializeIntoTpSharedDataModelServiceModulesSharedDataModelGetGetShar
|
|
|
405
440
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
406
441
|
*/
|
|
407
442
|
// @ts-ignore
|
|
408
|
-
function
|
|
443
|
+
function deserializeIntoTypeMappingDto(typeMappingDto = {}) {
|
|
409
444
|
return {
|
|
410
|
-
"
|
|
445
|
+
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues(createFieldMappingDtoFromDiscriminatorValue); },
|
|
446
|
+
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
447
|
+
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue(createTypeDefDtoFromDiscriminatorValue); },
|
|
448
|
+
"targetType": n => { typeMappingDto.targetType = n.getObjectValue(createTypeDefDtoFromDiscriminatorValue); },
|
|
411
449
|
};
|
|
412
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* The deserialization information for the current model
|
|
453
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
454
|
+
*/
|
|
455
|
+
// @ts-ignore
|
|
456
|
+
function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
457
|
+
return {
|
|
458
|
+
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
|
|
459
|
+
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
460
|
+
"kind": n => { typeMetaDefDto.kind = n.getStringValue(); },
|
|
461
|
+
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Serializes information the current object
|
|
466
|
+
* @param writer Serialization writer to use to serialize this model
|
|
467
|
+
*/
|
|
468
|
+
// @ts-ignore
|
|
469
|
+
function serializeFieldAttributesDto(writer, fieldAttributesDto = {}) {
|
|
470
|
+
if (fieldAttributesDto) {
|
|
471
|
+
writer.writeBooleanValue("isExtendable", fieldAttributesDto.isExtendable);
|
|
472
|
+
writer.writeStringValue("roleId", fieldAttributesDto.roleId);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
413
475
|
/**
|
|
414
476
|
* Serializes information the current object
|
|
415
477
|
* @param writer Serialization writer to use to serialize this model
|
|
416
478
|
*/
|
|
417
479
|
// @ts-ignore
|
|
418
|
-
function
|
|
419
|
-
if (
|
|
420
|
-
|
|
421
|
-
writer.writeObjectValue("
|
|
480
|
+
function serializeFieldDefDto(writer, fieldDefDto = {}) {
|
|
481
|
+
if (fieldDefDto) {
|
|
482
|
+
writer.writeStringValue("id", fieldDefDto.id);
|
|
483
|
+
writer.writeObjectValue("meta", fieldDefDto.meta, serializeFieldMetaDto);
|
|
484
|
+
writer.writeStringValue("name", fieldDefDto.name);
|
|
485
|
+
writer.writeStringValue("path", fieldDefDto.path);
|
|
422
486
|
}
|
|
423
487
|
}
|
|
424
488
|
/**
|
|
@@ -426,9 +490,14 @@ function serializeMicrosoftAspNetCoreHttpHttpValidationProblemDetails(writer, mi
|
|
|
426
490
|
* @param writer Serialization writer to use to serialize this model
|
|
427
491
|
*/
|
|
428
492
|
// @ts-ignore
|
|
429
|
-
function
|
|
430
|
-
if (
|
|
431
|
-
writer.
|
|
493
|
+
function serializeFieldMappingDto(writer, fieldMappingDto = {}) {
|
|
494
|
+
if (fieldMappingDto) {
|
|
495
|
+
writer.writeStringValue("id", fieldMappingDto.id);
|
|
496
|
+
writer.writeObjectValue("source", fieldMappingDto.source, serializeFieldDefDto);
|
|
497
|
+
writer.writeObjectValue("sourceRel", fieldMappingDto.sourceRel, serializeRelationDto);
|
|
498
|
+
writer.writeObjectValue("target", fieldMappingDto.target, serializeFieldDefDto);
|
|
499
|
+
writer.writeObjectValue("targetRel", fieldMappingDto.targetRel, serializeRelationDto);
|
|
500
|
+
writer.writeEnumValue("type", fieldMappingDto.type);
|
|
432
501
|
}
|
|
433
502
|
}
|
|
434
503
|
/**
|
|
@@ -436,14 +505,16 @@ function serializeMicrosoftAspNetCoreHttpHttpValidationProblemDetails_errors(wri
|
|
|
436
505
|
* @param writer Serialization writer to use to serialize this model
|
|
437
506
|
*/
|
|
438
507
|
// @ts-ignore
|
|
439
|
-
function
|
|
440
|
-
if (
|
|
441
|
-
writer.
|
|
442
|
-
writer.
|
|
443
|
-
writer.
|
|
444
|
-
writer.
|
|
445
|
-
writer.
|
|
446
|
-
writer.
|
|
508
|
+
function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
509
|
+
if (fieldMetaDto) {
|
|
510
|
+
writer.writeObjectValue("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
511
|
+
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
512
|
+
writer.writeEnumValue("kind", fieldMetaDto.kind);
|
|
513
|
+
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
514
|
+
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
515
|
+
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
516
|
+
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
517
|
+
writer.writeObjectValue("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
447
518
|
}
|
|
448
519
|
}
|
|
449
520
|
/**
|
|
@@ -451,10 +522,9 @@ function serializeMicrosoftAspNetCoreMvcProblemDetails(writer, microsoftAspNetCo
|
|
|
451
522
|
* @param writer Serialization writer to use to serialize this model
|
|
452
523
|
*/
|
|
453
524
|
// @ts-ignore
|
|
454
|
-
function
|
|
455
|
-
if (
|
|
456
|
-
writer.
|
|
457
|
-
writer.writeStringValue("roleId", tpSharedDataModelServiceModulesSettingsFieldAttributesDto.roleId);
|
|
525
|
+
function serializeGetEntityTypesDto(writer, getEntityTypesDto = {}) {
|
|
526
|
+
if (getEntityTypesDto) {
|
|
527
|
+
writer.writeCollectionOfObjectValues("types", getEntityTypesDto.types, serializeTypeMetaDefDto);
|
|
458
528
|
}
|
|
459
529
|
}
|
|
460
530
|
/**
|
|
@@ -462,12 +532,9 @@ function serializeTpSharedDataModelServiceModulesSettingsFieldAttributesDto(writ
|
|
|
462
532
|
* @param writer Serialization writer to use to serialize this model
|
|
463
533
|
*/
|
|
464
534
|
// @ts-ignore
|
|
465
|
-
function
|
|
466
|
-
if (
|
|
467
|
-
writer.
|
|
468
|
-
writer.writeObjectValue("meta", tpSharedDataModelServiceModulesSettingsFieldDefDto.meta, serializeTpSharedDataModelServiceModulesSettingsFieldMetaDto);
|
|
469
|
-
writer.writeStringValue("name", tpSharedDataModelServiceModulesSettingsFieldDefDto.name);
|
|
470
|
-
writer.writeStringValue("path", tpSharedDataModelServiceModulesSettingsFieldDefDto.path);
|
|
535
|
+
function serializeGetProfileSettingsDto(writer, getProfileSettingsDto = {}) {
|
|
536
|
+
if (getProfileSettingsDto) {
|
|
537
|
+
writer.writeObjectValue("profile", getProfileSettingsDto.profile, serializeProfileDto);
|
|
471
538
|
}
|
|
472
539
|
}
|
|
473
540
|
/**
|
|
@@ -475,10 +542,9 @@ function serializeTpSharedDataModelServiceModulesSettingsFieldDefDto(writer, tpS
|
|
|
475
542
|
* @param writer Serialization writer to use to serialize this model
|
|
476
543
|
*/
|
|
477
544
|
// @ts-ignore
|
|
478
|
-
function
|
|
479
|
-
if (
|
|
480
|
-
writer.
|
|
481
|
-
writer.writeEnumValue("type", tpSharedDataModelServiceModulesSettingsFieldMappingDto.type);
|
|
545
|
+
function serializeGetSharedDataModelResponseDto(writer, getSharedDataModelResponseDto = {}) {
|
|
546
|
+
if (getSharedDataModelResponseDto) {
|
|
547
|
+
writer.writeCollectionOfObjectValues("users", getSharedDataModelResponseDto.users, serializeTpUser);
|
|
482
548
|
}
|
|
483
549
|
}
|
|
484
550
|
/**
|
|
@@ -486,16 +552,10 @@ function serializeTpSharedDataModelServiceModulesSettingsFieldMappingDto(writer,
|
|
|
486
552
|
* @param writer Serialization writer to use to serialize this model
|
|
487
553
|
*/
|
|
488
554
|
// @ts-ignore
|
|
489
|
-
function
|
|
490
|
-
if (
|
|
491
|
-
writer
|
|
492
|
-
writer.
|
|
493
|
-
writer.writeEnumValue("kind", tpSharedDataModelServiceModulesSettingsFieldMetaDto.kind);
|
|
494
|
-
writer.writeBooleanValue("multiple", tpSharedDataModelServiceModulesSettingsFieldMetaDto.multiple);
|
|
495
|
-
writer.writeObjectValue("options", tpSharedDataModelServiceModulesSettingsFieldMetaDto.options);
|
|
496
|
-
writer.writeBooleanValue("required", tpSharedDataModelServiceModulesSettingsFieldMetaDto.required);
|
|
497
|
-
writer.writeBooleanValue("roundsDate", tpSharedDataModelServiceModulesSettingsFieldMetaDto.roundsDate);
|
|
498
|
-
writer.writeObjectValue("type", tpSharedDataModelServiceModulesSettingsFieldMetaDto.type, serializeTpSharedDataModelServiceModulesSettingsTypeDefRefDto);
|
|
555
|
+
function serializeHttpValidationProblemDetails(writer, httpValidationProblemDetails = {}) {
|
|
556
|
+
if (httpValidationProblemDetails) {
|
|
557
|
+
serializeProblemDetails(writer, httpValidationProblemDetails);
|
|
558
|
+
writer.writeObjectValue("errors", httpValidationProblemDetails.errors, serializeHttpValidationProblemDetails_errors);
|
|
499
559
|
}
|
|
500
560
|
}
|
|
501
561
|
/**
|
|
@@ -503,9 +563,9 @@ function serializeTpSharedDataModelServiceModulesSettingsFieldMetaDto(writer, tp
|
|
|
503
563
|
* @param writer Serialization writer to use to serialize this model
|
|
504
564
|
*/
|
|
505
565
|
// @ts-ignore
|
|
506
|
-
function
|
|
507
|
-
if (
|
|
508
|
-
writer.
|
|
566
|
+
function serializeHttpValidationProblemDetails_errors(writer, httpValidationProblemDetails_errors = {}) {
|
|
567
|
+
if (httpValidationProblemDetails_errors) {
|
|
568
|
+
writer.writeAdditionalData(httpValidationProblemDetails_errors.additionalData);
|
|
509
569
|
}
|
|
510
570
|
}
|
|
511
571
|
/**
|
|
@@ -513,9 +573,14 @@ function serializeTpSharedDataModelServiceModulesSettingsGetEntityTypesGetEntity
|
|
|
513
573
|
* @param writer Serialization writer to use to serialize this model
|
|
514
574
|
*/
|
|
515
575
|
// @ts-ignore
|
|
516
|
-
function
|
|
517
|
-
if (
|
|
518
|
-
writer.
|
|
576
|
+
function serializeProblemDetails(writer, problemDetails = {}) {
|
|
577
|
+
if (problemDetails) {
|
|
578
|
+
writer.writeStringValue("detail", problemDetails.detail);
|
|
579
|
+
writer.writeStringValue("instance", problemDetails.instance);
|
|
580
|
+
writer.writeNumberValue("status", problemDetails.status);
|
|
581
|
+
writer.writeStringValue("title", problemDetails.title);
|
|
582
|
+
writer.writeStringValue("type", problemDetails.type);
|
|
583
|
+
writer.writeAdditionalData(problemDetails.additionalData);
|
|
519
584
|
}
|
|
520
585
|
}
|
|
521
586
|
/**
|
|
@@ -523,11 +588,11 @@ function serializeTpSharedDataModelServiceModulesSettingsGetProfileGetProfileSet
|
|
|
523
588
|
* @param writer Serialization writer to use to serialize this model
|
|
524
589
|
*/
|
|
525
590
|
// @ts-ignore
|
|
526
|
-
function
|
|
527
|
-
if (
|
|
528
|
-
writer.writeStringValue("id",
|
|
529
|
-
writer.writeCollectionOfObjectValues("mappings",
|
|
530
|
-
writer.writeStringValue("name",
|
|
591
|
+
function serializeProfileDto(writer, profileDto = {}) {
|
|
592
|
+
if (profileDto) {
|
|
593
|
+
writer.writeStringValue("id", profileDto.id);
|
|
594
|
+
writer.writeCollectionOfObjectValues("mappings", profileDto.mappings, serializeProfileMappingDto);
|
|
595
|
+
writer.writeStringValue("name", profileDto.name);
|
|
531
596
|
}
|
|
532
597
|
}
|
|
533
598
|
/**
|
|
@@ -535,12 +600,12 @@ function serializeTpSharedDataModelServiceModulesSettingsProfileDto(writer, tpSh
|
|
|
535
600
|
* @param writer Serialization writer to use to serialize this model
|
|
536
601
|
*/
|
|
537
602
|
// @ts-ignore
|
|
538
|
-
function
|
|
539
|
-
if (
|
|
540
|
-
writer.writeBooleanValue("enabled",
|
|
541
|
-
writer.writeStringValue("id",
|
|
542
|
-
writer.writeStringValue("name",
|
|
543
|
-
writer.writeCollectionOfObjectValues("typeMappings",
|
|
603
|
+
function serializeProfileMappingDto(writer, profileMappingDto = {}) {
|
|
604
|
+
if (profileMappingDto) {
|
|
605
|
+
writer.writeBooleanValue("enabled", profileMappingDto.enabled);
|
|
606
|
+
writer.writeStringValue("id", profileMappingDto.id);
|
|
607
|
+
writer.writeStringValue("name", profileMappingDto.name);
|
|
608
|
+
writer.writeCollectionOfObjectValues("typeMappings", profileMappingDto.typeMappings, serializeTypeMappingDto);
|
|
544
609
|
}
|
|
545
610
|
}
|
|
546
611
|
/**
|
|
@@ -548,12 +613,10 @@ function serializeTpSharedDataModelServiceModulesSettingsProfileMappingDto(write
|
|
|
548
613
|
* @param writer Serialization writer to use to serialize this model
|
|
549
614
|
*/
|
|
550
615
|
// @ts-ignore
|
|
551
|
-
function
|
|
552
|
-
if (
|
|
553
|
-
writer.
|
|
554
|
-
writer.writeStringValue("
|
|
555
|
-
writer.writeEnumValue("kind", tpSharedDataModelServiceModulesSettingsTypeDefDto.kind);
|
|
556
|
-
writer.writeStringValue("name", tpSharedDataModelServiceModulesSettingsTypeDefDto.name);
|
|
616
|
+
function serializeRelationDefRefDto(writer, relationDefRefDto = {}) {
|
|
617
|
+
if (relationDefRefDto) {
|
|
618
|
+
writer.writeEnumValue("direction", relationDefRefDto.direction);
|
|
619
|
+
writer.writeStringValue("id", relationDefRefDto.id);
|
|
557
620
|
}
|
|
558
621
|
}
|
|
559
622
|
/**
|
|
@@ -561,10 +624,11 @@ function serializeTpSharedDataModelServiceModulesSettingsTypeDefDto(writer, tpSh
|
|
|
561
624
|
* @param writer Serialization writer to use to serialize this model
|
|
562
625
|
*/
|
|
563
626
|
// @ts-ignore
|
|
564
|
-
function
|
|
565
|
-
if (
|
|
566
|
-
writer.
|
|
567
|
-
writer.
|
|
627
|
+
function serializeRelationDto(writer, relationDto = {}) {
|
|
628
|
+
if (relationDto) {
|
|
629
|
+
writer.writeObjectValue("childType", relationDto.childType, serializeTypeDefRefDto);
|
|
630
|
+
writer.writeObjectValue("field", relationDto.field, serializeFieldDefDto);
|
|
631
|
+
writer.writeObjectValue("relation", relationDto.relation, serializeRelationDefRefDto);
|
|
568
632
|
}
|
|
569
633
|
}
|
|
570
634
|
/**
|
|
@@ -572,12 +636,9 @@ function serializeTpSharedDataModelServiceModulesSettingsTypeDefRefDto(writer, t
|
|
|
572
636
|
* @param writer Serialization writer to use to serialize this model
|
|
573
637
|
*/
|
|
574
638
|
// @ts-ignore
|
|
575
|
-
function
|
|
576
|
-
if (
|
|
577
|
-
writer.
|
|
578
|
-
writer.writeStringValue("id", tpSharedDataModelServiceModulesSettingsTypeMappingDto.id);
|
|
579
|
-
writer.writeObjectValue("sourceType", tpSharedDataModelServiceModulesSettingsTypeMappingDto.sourceType, serializeTpSharedDataModelServiceModulesSettingsTypeDefDto);
|
|
580
|
-
writer.writeObjectValue("targetType", tpSharedDataModelServiceModulesSettingsTypeMappingDto.targetType, serializeTpSharedDataModelServiceModulesSettingsTypeDefDto);
|
|
639
|
+
function serializeTpUser(writer, tpUser = {}) {
|
|
640
|
+
if (tpUser) {
|
|
641
|
+
writer.writeStringValue("email", tpUser.email);
|
|
581
642
|
}
|
|
582
643
|
}
|
|
583
644
|
/**
|
|
@@ -585,12 +646,12 @@ function serializeTpSharedDataModelServiceModulesSettingsTypeMappingDto(writer,
|
|
|
585
646
|
* @param writer Serialization writer to use to serialize this model
|
|
586
647
|
*/
|
|
587
648
|
// @ts-ignore
|
|
588
|
-
function
|
|
589
|
-
if (
|
|
590
|
-
writer.
|
|
591
|
-
writer.writeStringValue("
|
|
592
|
-
writer.
|
|
593
|
-
writer.writeStringValue("name",
|
|
649
|
+
function serializeTypeDefDto(writer, typeDefDto = {}) {
|
|
650
|
+
if (typeDefDto) {
|
|
651
|
+
writer.writeStringValue("id", typeDefDto.id);
|
|
652
|
+
writer.writeStringValue("javaScriptComparator", typeDefDto.javaScriptComparator);
|
|
653
|
+
writer.writeEnumValue("kind", typeDefDto.kind);
|
|
654
|
+
writer.writeStringValue("name", typeDefDto.name);
|
|
594
655
|
}
|
|
595
656
|
}
|
|
596
657
|
/**
|
|
@@ -598,9 +659,10 @@ function serializeTpSharedDataModelServiceModulesSettingsTypeMetaDefDto(writer,
|
|
|
598
659
|
* @param writer Serialization writer to use to serialize this model
|
|
599
660
|
*/
|
|
600
661
|
// @ts-ignore
|
|
601
|
-
function
|
|
602
|
-
if (
|
|
603
|
-
writer.
|
|
662
|
+
function serializeTypeDefRefDto(writer, typeDefRefDto = {}) {
|
|
663
|
+
if (typeDefRefDto) {
|
|
664
|
+
writer.writeStringValue("id", typeDefRefDto.id);
|
|
665
|
+
writer.writeEnumValue("kind", typeDefRefDto.kind);
|
|
604
666
|
}
|
|
605
667
|
}
|
|
606
668
|
/**
|
|
@@ -608,17 +670,33 @@ function serializeTpSharedDataModelServiceModulesSharedDataModelGetGetSharedData
|
|
|
608
670
|
* @param writer Serialization writer to use to serialize this model
|
|
609
671
|
*/
|
|
610
672
|
// @ts-ignore
|
|
611
|
-
function
|
|
612
|
-
if (
|
|
613
|
-
writer.
|
|
673
|
+
function serializeTypeMappingDto(writer, typeMappingDto = {}) {
|
|
674
|
+
if (typeMappingDto) {
|
|
675
|
+
writer.writeCollectionOfObjectValues("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
676
|
+
writer.writeStringValue("id", typeMappingDto.id);
|
|
677
|
+
writer.writeObjectValue("sourceType", typeMappingDto.sourceType, serializeTypeDefDto);
|
|
678
|
+
writer.writeObjectValue("targetType", typeMappingDto.targetType, serializeTypeDefDto);
|
|
614
679
|
}
|
|
615
680
|
}
|
|
616
|
-
|
|
681
|
+
/**
|
|
682
|
+
* Serializes information the current object
|
|
683
|
+
* @param writer Serialization writer to use to serialize this model
|
|
684
|
+
*/
|
|
685
|
+
// @ts-ignore
|
|
686
|
+
function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
|
|
687
|
+
if (typeMetaDefDto) {
|
|
688
|
+
writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
689
|
+
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
690
|
+
writer.writeStringValue("kind", typeMetaDefDto.kind);
|
|
691
|
+
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
exports.FieldKindObject = {
|
|
617
695
|
CollectionFieldMeta: "CollectionFieldMeta",
|
|
618
696
|
FieldMeta: "FieldMeta",
|
|
619
697
|
SelectFieldMeta: "SelectFieldMeta",
|
|
620
698
|
};
|
|
621
|
-
exports.
|
|
699
|
+
exports.FieldMappingTypeObject = {
|
|
622
700
|
ValueFieldMapping: "ValueFieldMapping",
|
|
623
701
|
CollectionFieldMapping: "CollectionFieldMapping",
|
|
624
702
|
ReferenceToStringFieldMapping: "ReferenceToStringFieldMapping",
|
|
@@ -634,7 +712,11 @@ exports.TpSharedDataModelServiceModulesSettingsFieldMappingTypeObject = {
|
|
|
634
712
|
RoleAssignmentsFieldMapping: "RoleAssignmentsFieldMapping",
|
|
635
713
|
RoleEffortToRoleEffortFieldMapping: "RoleEffortToRoleEffortFieldMapping",
|
|
636
714
|
};
|
|
637
|
-
exports.
|
|
715
|
+
exports.RelationDirectionObject = {
|
|
716
|
+
Inbound: "Inbound",
|
|
717
|
+
Outbound: "Outbound",
|
|
718
|
+
};
|
|
719
|
+
exports.TypeKindObject = {
|
|
638
720
|
String: "String",
|
|
639
721
|
RichText: "RichText",
|
|
640
722
|
Number: "Number",
|