@targetprocess/shared-data-model-client 0.2.0-us817837-mapping.19 → 0.2.0-us817837-mapping.24
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/models/index.d.ts +16 -16
- package/dist/models/index.js +10 -15
- package/package.json +1 -1
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +26 -26
- package/src/v1.json +41 -37
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter
|
|
1
|
+
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -201,6 +201,10 @@ export interface FieldDefDto extends Parsable {
|
|
|
201
201
|
}
|
|
202
202
|
export type FieldKind = (typeof FieldKindObject)[keyof typeof FieldKindObject];
|
|
203
203
|
export interface FieldMappingDto extends Parsable {
|
|
204
|
+
/**
|
|
205
|
+
* The id property
|
|
206
|
+
*/
|
|
207
|
+
id?: string | null;
|
|
204
208
|
/**
|
|
205
209
|
* The source property
|
|
206
210
|
*/
|
|
@@ -236,22 +240,10 @@ export interface FieldMetaDto extends Parsable {
|
|
|
236
240
|
* The kind property
|
|
237
241
|
*/
|
|
238
242
|
kind?: FieldKind | null;
|
|
239
|
-
/**
|
|
240
|
-
* The multiple property
|
|
241
|
-
*/
|
|
242
|
-
multiple?: boolean | null;
|
|
243
|
-
/**
|
|
244
|
-
* The options property
|
|
245
|
-
*/
|
|
246
|
-
options?: UntypedNode | null;
|
|
247
243
|
/**
|
|
248
244
|
* The required property
|
|
249
245
|
*/
|
|
250
246
|
required?: boolean | null;
|
|
251
|
-
/**
|
|
252
|
-
* The roundsDate property
|
|
253
|
-
*/
|
|
254
|
-
roundsDate?: boolean | null;
|
|
255
247
|
/**
|
|
256
248
|
* The type property
|
|
257
249
|
*/
|
|
@@ -259,9 +251,13 @@ export interface FieldMetaDto extends Parsable {
|
|
|
259
251
|
}
|
|
260
252
|
export interface GetEntityTypesDto extends Parsable {
|
|
261
253
|
/**
|
|
262
|
-
* The
|
|
254
|
+
* The sdmTypes property
|
|
255
|
+
*/
|
|
256
|
+
sdmTypes?: TypeMetaDefDto[] | null;
|
|
257
|
+
/**
|
|
258
|
+
* The tpTypes property
|
|
263
259
|
*/
|
|
264
|
-
|
|
260
|
+
tpTypes?: TypeMetaDefDto[] | null;
|
|
265
261
|
}
|
|
266
262
|
export interface GetProfileSettingsDto extends Parsable {
|
|
267
263
|
/**
|
|
@@ -460,6 +456,10 @@ export interface TypeMappingDto extends Parsable {
|
|
|
460
456
|
* The fieldMappings property
|
|
461
457
|
*/
|
|
462
458
|
fieldMappings?: FieldMappingDto[] | null;
|
|
459
|
+
/**
|
|
460
|
+
* The id property
|
|
461
|
+
*/
|
|
462
|
+
id?: string | null;
|
|
463
463
|
/**
|
|
464
464
|
* The sourceType property
|
|
465
465
|
*/
|
|
@@ -481,7 +481,7 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
481
481
|
/**
|
|
482
482
|
* The kind property
|
|
483
483
|
*/
|
|
484
|
-
kind?:
|
|
484
|
+
kind?: TypeKind | null;
|
|
485
485
|
/**
|
|
486
486
|
* The name property
|
|
487
487
|
*/
|
package/dist/models/index.js
CHANGED
|
@@ -49,11 +49,6 @@ exports.serializeTypeDefDto = serializeTypeDefDto;
|
|
|
49
49
|
exports.serializeTypeDefRefDto = serializeTypeDefRefDto;
|
|
50
50
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
51
51
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
52
|
-
/* tslint:disable */
|
|
53
|
-
/* eslint-disable */
|
|
54
|
-
// Generated by Microsoft Kiota
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
57
52
|
/**
|
|
58
53
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
59
54
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -228,6 +223,7 @@ function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
|
228
223
|
// @ts-ignore
|
|
229
224
|
function deserializeIntoFieldMappingDto(fieldMappingDto = {}) {
|
|
230
225
|
return {
|
|
226
|
+
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
231
227
|
"source": n => { fieldMappingDto.source = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
232
228
|
"sourceRel": n => { fieldMappingDto.sourceRel = n.getObjectValue(createRelationDtoFromDiscriminatorValue); },
|
|
233
229
|
"target": n => { fieldMappingDto.target = n.getObjectValue(createFieldDefDtoFromDiscriminatorValue); },
|
|
@@ -245,10 +241,7 @@ function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
|
245
241
|
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
246
242
|
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
247
243
|
"kind": n => { fieldMetaDto.kind = n.getEnumValue(exports.FieldKindObject); },
|
|
248
|
-
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
249
|
-
"options": n => { fieldMetaDto.options = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
|
|
250
244
|
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
251
|
-
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
252
245
|
"type": n => { fieldMetaDto.type = n.getObjectValue(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
253
246
|
};
|
|
254
247
|
}
|
|
@@ -259,7 +252,8 @@ function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
|
259
252
|
// @ts-ignore
|
|
260
253
|
function deserializeIntoGetEntityTypesDto(getEntityTypesDto = {}) {
|
|
261
254
|
return {
|
|
262
|
-
"
|
|
255
|
+
"sdmTypes": n => { getEntityTypesDto.sdmTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
256
|
+
"tpTypes": n => { getEntityTypesDto.tpTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
263
257
|
};
|
|
264
258
|
}
|
|
265
259
|
/**
|
|
@@ -372,6 +366,7 @@ function deserializeIntoTypeDefRefDto(typeDefRefDto = {}) {
|
|
|
372
366
|
function deserializeIntoTypeMappingDto(typeMappingDto = {}) {
|
|
373
367
|
return {
|
|
374
368
|
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues(createFieldMappingDtoFromDiscriminatorValue); },
|
|
369
|
+
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
375
370
|
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue(createTypeDefDtoFromDiscriminatorValue); },
|
|
376
371
|
"targetType": n => { typeMappingDto.targetType = n.getObjectValue(createTypeDefDtoFromDiscriminatorValue); },
|
|
377
372
|
};
|
|
@@ -385,7 +380,7 @@ function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
|
385
380
|
return {
|
|
386
381
|
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
|
|
387
382
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
388
|
-
"kind": n => { typeMetaDefDto.kind = n.
|
|
383
|
+
"kind": n => { typeMetaDefDto.kind = n.getEnumValue(exports.TypeKindObject); },
|
|
389
384
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
390
385
|
};
|
|
391
386
|
}
|
|
@@ -419,6 +414,7 @@ function serializeFieldDefDto(writer, fieldDefDto = {}) {
|
|
|
419
414
|
// @ts-ignore
|
|
420
415
|
function serializeFieldMappingDto(writer, fieldMappingDto = {}) {
|
|
421
416
|
if (fieldMappingDto) {
|
|
417
|
+
writer.writeStringValue("id", fieldMappingDto.id);
|
|
422
418
|
writer.writeObjectValue("source", fieldMappingDto.source, serializeFieldDefDto);
|
|
423
419
|
writer.writeObjectValue("sourceRel", fieldMappingDto.sourceRel, serializeRelationDto);
|
|
424
420
|
writer.writeObjectValue("target", fieldMappingDto.target, serializeFieldDefDto);
|
|
@@ -436,10 +432,7 @@ function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
|
436
432
|
writer.writeObjectValue("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
437
433
|
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
438
434
|
writer.writeEnumValue("kind", fieldMetaDto.kind);
|
|
439
|
-
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
440
|
-
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
441
435
|
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
442
|
-
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
443
436
|
writer.writeObjectValue("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
444
437
|
}
|
|
445
438
|
}
|
|
@@ -450,7 +443,8 @@ function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
|
450
443
|
// @ts-ignore
|
|
451
444
|
function serializeGetEntityTypesDto(writer, getEntityTypesDto = {}) {
|
|
452
445
|
if (getEntityTypesDto) {
|
|
453
|
-
writer.writeCollectionOfObjectValues("
|
|
446
|
+
writer.writeCollectionOfObjectValues("sdmTypes", getEntityTypesDto.sdmTypes, serializeTypeMetaDefDto);
|
|
447
|
+
writer.writeCollectionOfObjectValues("tpTypes", getEntityTypesDto.tpTypes, serializeTypeMetaDefDto);
|
|
454
448
|
}
|
|
455
449
|
}
|
|
456
450
|
/**
|
|
@@ -566,6 +560,7 @@ function serializeTypeDefRefDto(writer, typeDefRefDto = {}) {
|
|
|
566
560
|
function serializeTypeMappingDto(writer, typeMappingDto = {}) {
|
|
567
561
|
if (typeMappingDto) {
|
|
568
562
|
writer.writeCollectionOfObjectValues("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
563
|
+
writer.writeStringValue("id", typeMappingDto.id);
|
|
569
564
|
writer.writeObjectValue("sourceType", typeMappingDto.sourceType, serializeTypeDefDto);
|
|
570
565
|
writer.writeObjectValue("targetType", typeMappingDto.targetType, serializeTypeDefDto);
|
|
571
566
|
}
|
|
@@ -579,7 +574,7 @@ function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
|
|
|
579
574
|
if (typeMetaDefDto) {
|
|
580
575
|
writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
581
576
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
582
|
-
writer.
|
|
577
|
+
writer.writeEnumValue("kind", typeMetaDefDto.kind);
|
|
583
578
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
584
579
|
}
|
|
585
580
|
}
|
package/package.json
CHANGED
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "A1EF35EB14BC405F345A644A4F8CC24304A8016EC7C0F608CAA406C1D0648A635933BF41C84C768DE3198D5D599F8AB09393EBF432473BB034F1A60857698FF2",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.22.3",
|
package/src/models/index.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import {
|
|
5
|
+
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -178,6 +178,7 @@ export function deserializeIntoFieldDefDto(fieldDefDto: Partial<FieldDefDto> | u
|
|
|
178
178
|
// @ts-ignore
|
|
179
179
|
export function deserializeIntoFieldMappingDto(fieldMappingDto: Partial<FieldMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
180
180
|
return {
|
|
181
|
+
"id": n => { fieldMappingDto.id = n.getStringValue(); },
|
|
181
182
|
"source": n => { fieldMappingDto.source = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
182
183
|
"sourceRel": n => { fieldMappingDto.sourceRel = n.getObjectValue<RelationDto>(createRelationDtoFromDiscriminatorValue); },
|
|
183
184
|
"target": n => { fieldMappingDto.target = n.getObjectValue<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
@@ -195,10 +196,7 @@ export function deserializeIntoFieldMetaDto(fieldMetaDto: Partial<FieldMetaDto>
|
|
|
195
196
|
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue<FieldAttributesDto>(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
196
197
|
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
197
198
|
"kind": n => { fieldMetaDto.kind = n.getEnumValue<FieldKind>(FieldKindObject); },
|
|
198
|
-
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
199
|
-
"options": n => { fieldMetaDto.options = n.getObjectValue<UntypedNode>(createUntypedNodeFromDiscriminatorValue); },
|
|
200
199
|
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
201
|
-
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
202
200
|
"type": n => { fieldMetaDto.type = n.getObjectValue<TypeDefRefDto>(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
203
201
|
}
|
|
204
202
|
}
|
|
@@ -209,7 +207,8 @@ export function deserializeIntoFieldMetaDto(fieldMetaDto: Partial<FieldMetaDto>
|
|
|
209
207
|
// @ts-ignore
|
|
210
208
|
export function deserializeIntoGetEntityTypesDto(getEntityTypesDto: Partial<GetEntityTypesDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
211
209
|
return {
|
|
212
|
-
"
|
|
210
|
+
"sdmTypes": n => { getEntityTypesDto.sdmTypes = n.getCollectionOfObjectValues<TypeMetaDefDto>(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
211
|
+
"tpTypes": n => { getEntityTypesDto.tpTypes = n.getCollectionOfObjectValues<TypeMetaDefDto>(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
213
212
|
}
|
|
214
213
|
}
|
|
215
214
|
/**
|
|
@@ -323,6 +322,7 @@ export function deserializeIntoTypeDefRefDto(typeDefRefDto: Partial<TypeDefRefDt
|
|
|
323
322
|
export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappingDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
324
323
|
return {
|
|
325
324
|
"fieldMappings": n => { typeMappingDto.fieldMappings = n.getCollectionOfObjectValues<FieldMappingDto>(createFieldMappingDtoFromDiscriminatorValue); },
|
|
325
|
+
"id": n => { typeMappingDto.id = n.getStringValue(); },
|
|
326
326
|
"sourceType": n => { typeMappingDto.sourceType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
327
327
|
"targetType": n => { typeMappingDto.targetType = n.getObjectValue<TypeDefDto>(createTypeDefDtoFromDiscriminatorValue); },
|
|
328
328
|
}
|
|
@@ -336,7 +336,7 @@ export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDe
|
|
|
336
336
|
return {
|
|
337
337
|
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
|
|
338
338
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
339
|
-
"kind": n => { typeMetaDefDto.kind = n.
|
|
339
|
+
"kind": n => { typeMetaDefDto.kind = n.getEnumValue<TypeKind>(TypeKindObject); },
|
|
340
340
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -366,6 +366,10 @@ export interface FieldDefDto extends Parsable {
|
|
|
366
366
|
}
|
|
367
367
|
export type FieldKind = (typeof FieldKindObject)[keyof typeof FieldKindObject];
|
|
368
368
|
export interface FieldMappingDto extends Parsable {
|
|
369
|
+
/**
|
|
370
|
+
* The id property
|
|
371
|
+
*/
|
|
372
|
+
id?: string | null;
|
|
369
373
|
/**
|
|
370
374
|
* The source property
|
|
371
375
|
*/
|
|
@@ -401,22 +405,10 @@ export interface FieldMetaDto extends Parsable {
|
|
|
401
405
|
* The kind property
|
|
402
406
|
*/
|
|
403
407
|
kind?: FieldKind | null;
|
|
404
|
-
/**
|
|
405
|
-
* The multiple property
|
|
406
|
-
*/
|
|
407
|
-
multiple?: boolean | null;
|
|
408
|
-
/**
|
|
409
|
-
* The options property
|
|
410
|
-
*/
|
|
411
|
-
options?: UntypedNode | null;
|
|
412
408
|
/**
|
|
413
409
|
* The required property
|
|
414
410
|
*/
|
|
415
411
|
required?: boolean | null;
|
|
416
|
-
/**
|
|
417
|
-
* The roundsDate property
|
|
418
|
-
*/
|
|
419
|
-
roundsDate?: boolean | null;
|
|
420
412
|
/**
|
|
421
413
|
* The type property
|
|
422
414
|
*/
|
|
@@ -424,9 +416,13 @@ export interface FieldMetaDto extends Parsable {
|
|
|
424
416
|
}
|
|
425
417
|
export interface GetEntityTypesDto extends Parsable {
|
|
426
418
|
/**
|
|
427
|
-
* The
|
|
419
|
+
* The sdmTypes property
|
|
420
|
+
*/
|
|
421
|
+
sdmTypes?: TypeMetaDefDto[] | null;
|
|
422
|
+
/**
|
|
423
|
+
* The tpTypes property
|
|
428
424
|
*/
|
|
429
|
-
|
|
425
|
+
tpTypes?: TypeMetaDefDto[] | null;
|
|
430
426
|
}
|
|
431
427
|
export interface GetProfileSettingsDto extends Parsable {
|
|
432
428
|
/**
|
|
@@ -545,6 +541,7 @@ export function serializeFieldDefDto(writer: SerializationWriter, fieldDefDto: P
|
|
|
545
541
|
// @ts-ignore
|
|
546
542
|
export function serializeFieldMappingDto(writer: SerializationWriter, fieldMappingDto: Partial<FieldMappingDto> | undefined | null = {}) : void {
|
|
547
543
|
if (fieldMappingDto) {
|
|
544
|
+
writer.writeStringValue("id", fieldMappingDto.id);
|
|
548
545
|
writer.writeObjectValue<FieldDefDto>("source", fieldMappingDto.source, serializeFieldDefDto);
|
|
549
546
|
writer.writeObjectValue<RelationDto>("sourceRel", fieldMappingDto.sourceRel, serializeRelationDto);
|
|
550
547
|
writer.writeObjectValue<FieldDefDto>("target", fieldMappingDto.target, serializeFieldDefDto);
|
|
@@ -562,10 +559,7 @@ export function serializeFieldMetaDto(writer: SerializationWriter, fieldMetaDto:
|
|
|
562
559
|
writer.writeObjectValue<FieldAttributesDto>("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
563
560
|
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
564
561
|
writer.writeEnumValue<FieldKind>("kind", fieldMetaDto.kind);
|
|
565
|
-
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
566
|
-
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
567
562
|
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
568
|
-
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
569
563
|
writer.writeObjectValue<TypeDefRefDto>("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
570
564
|
}
|
|
571
565
|
}
|
|
@@ -576,7 +570,8 @@ export function serializeFieldMetaDto(writer: SerializationWriter, fieldMetaDto:
|
|
|
576
570
|
// @ts-ignore
|
|
577
571
|
export function serializeGetEntityTypesDto(writer: SerializationWriter, getEntityTypesDto: Partial<GetEntityTypesDto> | undefined | null = {}) : void {
|
|
578
572
|
if (getEntityTypesDto) {
|
|
579
|
-
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("
|
|
573
|
+
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("sdmTypes", getEntityTypesDto.sdmTypes, serializeTypeMetaDefDto);
|
|
574
|
+
writer.writeCollectionOfObjectValues<TypeMetaDefDto>("tpTypes", getEntityTypesDto.tpTypes, serializeTypeMetaDefDto);
|
|
580
575
|
}
|
|
581
576
|
}
|
|
582
577
|
/**
|
|
@@ -692,6 +687,7 @@ export function serializeTypeDefRefDto(writer: SerializationWriter, typeDefRefDt
|
|
|
692
687
|
export function serializeTypeMappingDto(writer: SerializationWriter, typeMappingDto: Partial<TypeMappingDto> | undefined | null = {}) : void {
|
|
693
688
|
if (typeMappingDto) {
|
|
694
689
|
writer.writeCollectionOfObjectValues<FieldMappingDto>("fieldMappings", typeMappingDto.fieldMappings, serializeFieldMappingDto);
|
|
690
|
+
writer.writeStringValue("id", typeMappingDto.id);
|
|
695
691
|
writer.writeObjectValue<TypeDefDto>("sourceType", typeMappingDto.sourceType, serializeTypeDefDto);
|
|
696
692
|
writer.writeObjectValue<TypeDefDto>("targetType", typeMappingDto.targetType, serializeTypeDefDto);
|
|
697
693
|
}
|
|
@@ -705,7 +701,7 @@ export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDef
|
|
|
705
701
|
if (typeMetaDefDto) {
|
|
706
702
|
writer.writeCollectionOfObjectValues<FieldDefDto>("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
707
703
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
708
|
-
writer.
|
|
704
|
+
writer.writeEnumValue<TypeKind>("kind", typeMetaDefDto.kind);
|
|
709
705
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
710
706
|
}
|
|
711
707
|
}
|
|
@@ -739,6 +735,10 @@ export interface TypeMappingDto extends Parsable {
|
|
|
739
735
|
* The fieldMappings property
|
|
740
736
|
*/
|
|
741
737
|
fieldMappings?: FieldMappingDto[] | null;
|
|
738
|
+
/**
|
|
739
|
+
* The id property
|
|
740
|
+
*/
|
|
741
|
+
id?: string | null;
|
|
742
742
|
/**
|
|
743
743
|
* The sourceType property
|
|
744
744
|
*/
|
|
@@ -760,7 +760,7 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
760
760
|
/**
|
|
761
761
|
* The kind property
|
|
762
762
|
*/
|
|
763
|
-
kind?:
|
|
763
|
+
kind?: TypeKind | null;
|
|
764
764
|
/**
|
|
765
765
|
* The name property
|
|
766
766
|
*/
|
package/src/v1.json
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"Settings"
|
|
146
146
|
],
|
|
147
147
|
"summary": "Update settings profile",
|
|
148
|
-
"operationId": "
|
|
148
|
+
"operationId": "UpdateProfileEndpoint",
|
|
149
149
|
"requestBody": {
|
|
150
150
|
"x-name": "ProfileDto",
|
|
151
151
|
"description": "",
|
|
@@ -461,11 +461,15 @@
|
|
|
461
461
|
"type": "object",
|
|
462
462
|
"additionalProperties": false,
|
|
463
463
|
"required": [
|
|
464
|
+
"id",
|
|
464
465
|
"sourceType",
|
|
465
466
|
"targetType",
|
|
466
467
|
"fieldMappings"
|
|
467
468
|
],
|
|
468
469
|
"properties": {
|
|
470
|
+
"id": {
|
|
471
|
+
"type": "string"
|
|
472
|
+
},
|
|
469
473
|
"sourceType": {
|
|
470
474
|
"$ref": "#/components/schemas/TypeDefDto"
|
|
471
475
|
},
|
|
@@ -538,9 +542,14 @@
|
|
|
538
542
|
"type": "object",
|
|
539
543
|
"additionalProperties": false,
|
|
540
544
|
"required": [
|
|
545
|
+
"id",
|
|
541
546
|
"type"
|
|
542
547
|
],
|
|
543
548
|
"properties": {
|
|
549
|
+
"id": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"format": "guid"
|
|
552
|
+
},
|
|
544
553
|
"type": {
|
|
545
554
|
"$ref": "#/components/schemas/FieldMappingType"
|
|
546
555
|
},
|
|
@@ -614,10 +623,7 @@
|
|
|
614
623
|
"required": [
|
|
615
624
|
"isReadonly",
|
|
616
625
|
"kind",
|
|
617
|
-
"
|
|
618
|
-
"required",
|
|
619
|
-
"attributes",
|
|
620
|
-
"options"
|
|
626
|
+
"required"
|
|
621
627
|
],
|
|
622
628
|
"properties": {
|
|
623
629
|
"isReadonly": {
|
|
@@ -627,25 +633,23 @@
|
|
|
627
633
|
"$ref": "#/components/schemas/FieldKind"
|
|
628
634
|
},
|
|
629
635
|
"type": {
|
|
630
|
-
"
|
|
636
|
+
"nullable": true,
|
|
637
|
+
"oneOf": [
|
|
638
|
+
{
|
|
639
|
+
"$ref": "#/components/schemas/TypeDefRefDto"
|
|
640
|
+
}
|
|
641
|
+
]
|
|
631
642
|
},
|
|
632
643
|
"required": {
|
|
633
644
|
"type": "boolean"
|
|
634
645
|
},
|
|
635
646
|
"attributes": {
|
|
636
|
-
"
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
"options": {
|
|
643
|
-
"type": "array",
|
|
644
|
-
"items": {}
|
|
645
|
-
},
|
|
646
|
-
"roundsDate": {
|
|
647
|
-
"type": "boolean",
|
|
648
|
-
"nullable": true
|
|
647
|
+
"nullable": true,
|
|
648
|
+
"oneOf": [
|
|
649
|
+
{
|
|
650
|
+
"$ref": "#/components/schemas/FieldAttributesDto"
|
|
651
|
+
}
|
|
652
|
+
]
|
|
649
653
|
}
|
|
650
654
|
}
|
|
651
655
|
},
|
|
@@ -700,6 +704,7 @@
|
|
|
700
704
|
"additionalProperties": false,
|
|
701
705
|
"required": [
|
|
702
706
|
"childType",
|
|
707
|
+
"field",
|
|
703
708
|
"relation"
|
|
704
709
|
],
|
|
705
710
|
"properties": {
|
|
@@ -707,12 +712,7 @@
|
|
|
707
712
|
"$ref": "#/components/schemas/TypeDefRefDto"
|
|
708
713
|
},
|
|
709
714
|
"field": {
|
|
710
|
-
"
|
|
711
|
-
"oneOf": [
|
|
712
|
-
{
|
|
713
|
-
"$ref": "#/components/schemas/FieldDefDto"
|
|
714
|
-
}
|
|
715
|
-
]
|
|
715
|
+
"$ref": "#/components/schemas/FieldDefDto"
|
|
716
716
|
},
|
|
717
717
|
"relation": {
|
|
718
718
|
"$ref": "#/components/schemas/RelationDefRefDto"
|
|
@@ -723,19 +723,16 @@
|
|
|
723
723
|
"type": "object",
|
|
724
724
|
"additionalProperties": false,
|
|
725
725
|
"required": [
|
|
726
|
-
"id"
|
|
726
|
+
"id",
|
|
727
|
+
"direction"
|
|
727
728
|
],
|
|
728
729
|
"properties": {
|
|
729
730
|
"id": {
|
|
730
|
-
"type": "string"
|
|
731
|
+
"type": "string",
|
|
732
|
+
"format": "guid"
|
|
731
733
|
},
|
|
732
734
|
"direction": {
|
|
733
|
-
"
|
|
734
|
-
"oneOf": [
|
|
735
|
-
{
|
|
736
|
-
"$ref": "#/components/schemas/RelationDirection"
|
|
737
|
-
}
|
|
738
|
-
]
|
|
735
|
+
"$ref": "#/components/schemas/RelationDirection"
|
|
739
736
|
}
|
|
740
737
|
}
|
|
741
738
|
},
|
|
@@ -767,10 +764,17 @@
|
|
|
767
764
|
"type": "object",
|
|
768
765
|
"additionalProperties": false,
|
|
769
766
|
"required": [
|
|
770
|
-
"
|
|
767
|
+
"sdmTypes",
|
|
768
|
+
"tpTypes"
|
|
771
769
|
],
|
|
772
770
|
"properties": {
|
|
773
|
-
"
|
|
771
|
+
"sdmTypes": {
|
|
772
|
+
"type": "array",
|
|
773
|
+
"items": {
|
|
774
|
+
"$ref": "#/components/schemas/TypeMetaDefDto"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"tpTypes": {
|
|
774
778
|
"type": "array",
|
|
775
779
|
"items": {
|
|
776
780
|
"$ref": "#/components/schemas/TypeMetaDefDto"
|
|
@@ -792,7 +796,7 @@
|
|
|
792
796
|
"type": "string"
|
|
793
797
|
},
|
|
794
798
|
"kind": {
|
|
795
|
-
"
|
|
799
|
+
"$ref": "#/components/schemas/TypeKind"
|
|
796
800
|
},
|
|
797
801
|
"name": {
|
|
798
802
|
"type": "string"
|
|
@@ -819,7 +823,7 @@
|
|
|
819
823
|
"in": "header",
|
|
820
824
|
"flows": {
|
|
821
825
|
"clientCredentials": {
|
|
822
|
-
"tokenUrl": "
|
|
826
|
+
"tokenUrl": "http://tplocal.com/svc/auth/connect/token",
|
|
823
827
|
"scopes": {
|
|
824
828
|
"tp": "Targetprocess"
|
|
825
829
|
}
|