@targetprocess/shared-data-model-client 1.44.2-rc.2 → 1.44.2-rc.4
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 +33 -0
- package/dist/models/index.js +60 -0
- package/package.json +1 -1
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +68 -0
- package/src/v1.json +41 -0
package/dist/models/index.d.ts
CHANGED
|
@@ -143,6 +143,12 @@ export declare function createTpMcpQueryResponseOfJsonElementFromDiscriminatorVa
|
|
|
143
143
|
* @returns {TpTypeDefDto}
|
|
144
144
|
*/
|
|
145
145
|
export declare function createTpTypeDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
146
|
+
/**
|
|
147
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
148
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
149
|
+
* @returns {TpTypeMetaDefDto}
|
|
150
|
+
*/
|
|
151
|
+
export declare function createTpTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
146
152
|
/**
|
|
147
153
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
148
154
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -317,6 +323,12 @@ export declare function deserializeIntoTpMcpQueryResponseOfJsonElement(tpMcpQuer
|
|
|
317
323
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
318
324
|
*/
|
|
319
325
|
export declare function deserializeIntoTpTypeDefDto(tpTypeDefDto?: Partial<TpTypeDefDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
326
|
+
/**
|
|
327
|
+
* The deserialization information for the current model
|
|
328
|
+
* @param TpTypeMetaDefDto The instance to deserialize into.
|
|
329
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
330
|
+
*/
|
|
331
|
+
export declare function deserializeIntoTpTypeMetaDefDto(tpTypeMetaDefDto?: Partial<TpTypeMetaDefDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
320
332
|
/**
|
|
321
333
|
* The deserialization information for the current model
|
|
322
334
|
* @param TypeMappingDto The instance to deserialize into.
|
|
@@ -666,6 +678,13 @@ export declare function serializeTpMcpQueryResponseOfJsonElement(writer: Seriali
|
|
|
666
678
|
* @param writer Serialization writer to use to serialize this model
|
|
667
679
|
*/
|
|
668
680
|
export declare function serializeTpTypeDefDto(writer: SerializationWriter, tpTypeDefDto?: Partial<TpTypeDefDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
681
|
+
/**
|
|
682
|
+
* Serializes information the current object
|
|
683
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
684
|
+
* @param TpTypeMetaDefDto The instance to serialize from.
|
|
685
|
+
* @param writer Serialization writer to use to serialize this model
|
|
686
|
+
*/
|
|
687
|
+
export declare function serializeTpTypeMetaDefDto(writer: SerializationWriter, tpTypeMetaDefDto?: Partial<TpTypeMetaDefDto> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
669
688
|
/**
|
|
670
689
|
* Serializes information the current object
|
|
671
690
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -834,6 +853,16 @@ export interface TpTypeDefDto extends Parsable {
|
|
|
834
853
|
*/
|
|
835
854
|
name?: string | null;
|
|
836
855
|
}
|
|
856
|
+
export interface TpTypeMetaDefDto extends AdditionalDataHolder, Parsable, TypeMetaDefDto {
|
|
857
|
+
/**
|
|
858
|
+
* Indicates whether entities of this type have a UI page in Targetprocess.Based on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case).
|
|
859
|
+
*/
|
|
860
|
+
isLinkable?: boolean | null;
|
|
861
|
+
/**
|
|
862
|
+
* The terms property
|
|
863
|
+
*/
|
|
864
|
+
terms?: string[] | null;
|
|
865
|
+
}
|
|
837
866
|
export interface TypeMappingDto extends Parsable {
|
|
838
867
|
/**
|
|
839
868
|
* The fieldMappings property
|
|
@@ -877,6 +906,10 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
877
906
|
* The name property
|
|
878
907
|
*/
|
|
879
908
|
name?: string | null;
|
|
909
|
+
/**
|
|
910
|
+
* The Type property
|
|
911
|
+
*/
|
|
912
|
+
type?: string | null;
|
|
880
913
|
}
|
|
881
914
|
export interface ValidatedFieldMappingDto extends AdditionalDataHolder, FieldMappingDto, Parsable {
|
|
882
915
|
/**
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ exports.createTpEntityRequestFromDiscriminatorValue = createTpEntityRequestFromD
|
|
|
24
24
|
exports.createTpFieldDefDtoFromDiscriminatorValue = createTpFieldDefDtoFromDiscriminatorValue;
|
|
25
25
|
exports.createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue = createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue;
|
|
26
26
|
exports.createTpTypeDefDtoFromDiscriminatorValue = createTpTypeDefDtoFromDiscriminatorValue;
|
|
27
|
+
exports.createTpTypeMetaDefDtoFromDiscriminatorValue = createTpTypeMetaDefDtoFromDiscriminatorValue;
|
|
27
28
|
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
28
29
|
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
29
30
|
exports.createValidatedFieldMappingDtoFromDiscriminatorValue = createValidatedFieldMappingDtoFromDiscriminatorValue;
|
|
@@ -52,6 +53,7 @@ exports.deserializeIntoTpEntityRequest = deserializeIntoTpEntityRequest;
|
|
|
52
53
|
exports.deserializeIntoTpFieldDefDto = deserializeIntoTpFieldDefDto;
|
|
53
54
|
exports.deserializeIntoTpMcpQueryResponseOfJsonElement = deserializeIntoTpMcpQueryResponseOfJsonElement;
|
|
54
55
|
exports.deserializeIntoTpTypeDefDto = deserializeIntoTpTypeDefDto;
|
|
56
|
+
exports.deserializeIntoTpTypeMetaDefDto = deserializeIntoTpTypeMetaDefDto;
|
|
55
57
|
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
56
58
|
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
57
59
|
exports.deserializeIntoValidatedFieldMappingDto = deserializeIntoValidatedFieldMappingDto;
|
|
@@ -80,6 +82,7 @@ exports.serializeTpEntityRequest = serializeTpEntityRequest;
|
|
|
80
82
|
exports.serializeTpFieldDefDto = serializeTpFieldDefDto;
|
|
81
83
|
exports.serializeTpMcpQueryResponseOfJsonElement = serializeTpMcpQueryResponseOfJsonElement;
|
|
82
84
|
exports.serializeTpTypeDefDto = serializeTpTypeDefDto;
|
|
85
|
+
exports.serializeTpTypeMetaDefDto = serializeTpTypeMetaDefDto;
|
|
83
86
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
84
87
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
85
88
|
exports.serializeValidatedFieldMappingDto = serializeValidatedFieldMappingDto;
|
|
@@ -321,6 +324,15 @@ function createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue(parseNode)
|
|
|
321
324
|
function createTpTypeDefDtoFromDiscriminatorValue(parseNode) {
|
|
322
325
|
return deserializeIntoTpTypeDefDto;
|
|
323
326
|
}
|
|
327
|
+
/**
|
|
328
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
329
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
330
|
+
* @returns {TpTypeMetaDefDto}
|
|
331
|
+
*/
|
|
332
|
+
// @ts-ignore
|
|
333
|
+
function createTpTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
334
|
+
return deserializeIntoTpTypeMetaDefDto;
|
|
335
|
+
}
|
|
324
336
|
/**
|
|
325
337
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
326
338
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -349,6 +361,18 @@ function createTypeMappingDtoFromDiscriminatorValue(parseNode) {
|
|
|
349
361
|
*/
|
|
350
362
|
// @ts-ignore
|
|
351
363
|
function createTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
364
|
+
if (!parseNode)
|
|
365
|
+
throw new Error("parseNode cannot be undefined");
|
|
366
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
367
|
+
if (mappingValueNode) {
|
|
368
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
369
|
+
if (mappingValue) {
|
|
370
|
+
switch (mappingValue) {
|
|
371
|
+
case "tp":
|
|
372
|
+
return deserializeIntoTpTypeMetaDefDto;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
}
|
|
352
376
|
return deserializeIntoTypeMetaDefDto;
|
|
353
377
|
}
|
|
354
378
|
/**
|
|
@@ -673,6 +697,19 @@ function deserializeIntoTpTypeDefDto(tpTypeDefDto = {}) {
|
|
|
673
697
|
"name": n => { tpTypeDefDto.name = n.getStringValue(); },
|
|
674
698
|
};
|
|
675
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* The deserialization information for the current model
|
|
702
|
+
* @param TpTypeMetaDefDto The instance to deserialize into.
|
|
703
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
704
|
+
*/
|
|
705
|
+
// @ts-ignore
|
|
706
|
+
function deserializeIntoTpTypeMetaDefDto(tpTypeMetaDefDto = {}) {
|
|
707
|
+
return {
|
|
708
|
+
...deserializeIntoTypeMetaDefDto(tpTypeMetaDefDto),
|
|
709
|
+
"isLinkable": n => { tpTypeMetaDefDto.isLinkable = n.getBooleanValue(); },
|
|
710
|
+
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfPrimitiveValues(); },
|
|
711
|
+
};
|
|
712
|
+
}
|
|
676
713
|
/**
|
|
677
714
|
* The deserialization information for the current model
|
|
678
715
|
* @param TypeMappingDto The instance to deserialize into.
|
|
@@ -701,6 +738,7 @@ function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
|
701
738
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
702
739
|
"isEmptyType": n => { typeMetaDefDto.isEmptyType = n.getBooleanValue(); },
|
|
703
740
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
741
|
+
"$type": n => { typeMetaDefDto.type = n.getStringValue(); },
|
|
704
742
|
};
|
|
705
743
|
}
|
|
706
744
|
/**
|
|
@@ -1099,6 +1137,22 @@ function serializeTpTypeDefDto(writer, tpTypeDefDto = {}, isSerializingDerivedTy
|
|
|
1099
1137
|
writer.writeBooleanValue("isEmptyType", tpTypeDefDto.isEmptyType);
|
|
1100
1138
|
writer.writeStringValue("name", tpTypeDefDto.name);
|
|
1101
1139
|
}
|
|
1140
|
+
/**
|
|
1141
|
+
* Serializes information the current object
|
|
1142
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1143
|
+
* @param TpTypeMetaDefDto The instance to serialize from.
|
|
1144
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1145
|
+
*/
|
|
1146
|
+
// @ts-ignore
|
|
1147
|
+
function serializeTpTypeMetaDefDto(writer, tpTypeMetaDefDto = {}, isSerializingDerivedType = false) {
|
|
1148
|
+
if (!tpTypeMetaDefDto || isSerializingDerivedType) {
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
serializeTypeMetaDefDto(writer, tpTypeMetaDefDto, isSerializingDerivedType);
|
|
1152
|
+
writer.writeBooleanValue("isLinkable", tpTypeMetaDefDto.isLinkable);
|
|
1153
|
+
writer.writeCollectionOfPrimitiveValues("terms", tpTypeMetaDefDto.terms);
|
|
1154
|
+
writer.writeAdditionalData(tpTypeMetaDefDto.additionalData);
|
|
1155
|
+
}
|
|
1102
1156
|
/**
|
|
1103
1157
|
* Serializes information the current object
|
|
1104
1158
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1137,6 +1191,12 @@ function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}, isSerializingDeriv
|
|
|
1137
1191
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
1138
1192
|
writer.writeBooleanValue("isEmptyType", typeMetaDefDto.isEmptyType);
|
|
1139
1193
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
1194
|
+
writer.writeStringValue("$type", typeMetaDefDto.type);
|
|
1195
|
+
switch (typeMetaDefDto.type) {
|
|
1196
|
+
case "tp":
|
|
1197
|
+
serializeTpTypeMetaDefDto(writer, typeMetaDefDto, true);
|
|
1198
|
+
break;
|
|
1199
|
+
}
|
|
1140
1200
|
}
|
|
1141
1201
|
/**
|
|
1142
1202
|
* Serializes information the current object
|
package/package.json
CHANGED
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "78246162DE31C6D507790E4A3A8E50DA6E7A9D19BB4F984E57F5C2EC295E03800C6BC6AD2E00309C97A718E4CE16EDD52B1BBE44E2D5B247AEEAB0721611C332",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.31.1",
|
package/src/models/index.ts
CHANGED
|
@@ -239,6 +239,15 @@ export function createTpMcpQueryResponseOfJsonElementFromDiscriminatorValue(pars
|
|
|
239
239
|
export function createTpTypeDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
240
240
|
return deserializeIntoTpTypeDefDto;
|
|
241
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
244
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
245
|
+
* @returns {TpTypeMetaDefDto}
|
|
246
|
+
*/
|
|
247
|
+
// @ts-ignore
|
|
248
|
+
export function createTpTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
249
|
+
return deserializeIntoTpTypeMetaDefDto;
|
|
250
|
+
}
|
|
242
251
|
/**
|
|
243
252
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
244
253
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -266,6 +275,17 @@ export function createTypeMappingDtoFromDiscriminatorValue(parseNode: ParseNode
|
|
|
266
275
|
*/
|
|
267
276
|
// @ts-ignore
|
|
268
277
|
export function createTypeMetaDefDtoFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record<string, (node: ParseNode) => void>) {
|
|
278
|
+
if(!parseNode) throw new Error("parseNode cannot be undefined");
|
|
279
|
+
const mappingValueNode = parseNode?.getChildNode("$type");
|
|
280
|
+
if (mappingValueNode) {
|
|
281
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
282
|
+
if (mappingValue) {
|
|
283
|
+
switch (mappingValue) {
|
|
284
|
+
case "tp":
|
|
285
|
+
return deserializeIntoTpTypeMetaDefDto;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
269
289
|
return deserializeIntoTypeMetaDefDto;
|
|
270
290
|
}
|
|
271
291
|
/**
|
|
@@ -597,6 +617,19 @@ export function deserializeIntoTpTypeDefDto(tpTypeDefDto: Partial<TpTypeDefDto>
|
|
|
597
617
|
"name": n => { tpTypeDefDto.name = n.getStringValue(); },
|
|
598
618
|
}
|
|
599
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
* The deserialization information for the current model
|
|
622
|
+
* @param TpTypeMetaDefDto The instance to deserialize into.
|
|
623
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
624
|
+
*/
|
|
625
|
+
// @ts-ignore
|
|
626
|
+
export function deserializeIntoTpTypeMetaDefDto(tpTypeMetaDefDto: Partial<TpTypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
|
|
627
|
+
return {
|
|
628
|
+
...deserializeIntoTypeMetaDefDto(tpTypeMetaDefDto),
|
|
629
|
+
"isLinkable": n => { tpTypeMetaDefDto.isLinkable = n.getBooleanValue(); },
|
|
630
|
+
"terms": n => { tpTypeMetaDefDto.terms = n.getCollectionOfPrimitiveValues<string>(); },
|
|
631
|
+
}
|
|
632
|
+
}
|
|
600
633
|
/**
|
|
601
634
|
* The deserialization information for the current model
|
|
602
635
|
* @param TypeMappingDto The instance to deserialize into.
|
|
@@ -625,6 +658,7 @@ export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDe
|
|
|
625
658
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
626
659
|
"isEmptyType": n => { typeMetaDefDto.isEmptyType = n.getBooleanValue(); },
|
|
627
660
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
661
|
+
"$type": n => { typeMetaDefDto.type = n.getStringValue(); },
|
|
628
662
|
}
|
|
629
663
|
}
|
|
630
664
|
/**
|
|
@@ -1135,6 +1169,20 @@ export function serializeTpTypeDefDto(writer: SerializationWriter, tpTypeDefDto:
|
|
|
1135
1169
|
writer.writeBooleanValue("isEmptyType", tpTypeDefDto.isEmptyType);
|
|
1136
1170
|
writer.writeStringValue("name", tpTypeDefDto.name);
|
|
1137
1171
|
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Serializes information the current object
|
|
1174
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1175
|
+
* @param TpTypeMetaDefDto The instance to serialize from.
|
|
1176
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1177
|
+
*/
|
|
1178
|
+
// @ts-ignore
|
|
1179
|
+
export function serializeTpTypeMetaDefDto(writer: SerializationWriter, tpTypeMetaDefDto: Partial<TpTypeMetaDefDto> | undefined | null = {}, isSerializingDerivedType: boolean = false) : void {
|
|
1180
|
+
if (!tpTypeMetaDefDto || isSerializingDerivedType) { return; }
|
|
1181
|
+
serializeTypeMetaDefDto(writer, tpTypeMetaDefDto, isSerializingDerivedType)
|
|
1182
|
+
writer.writeBooleanValue("isLinkable", tpTypeMetaDefDto.isLinkable);
|
|
1183
|
+
writer.writeCollectionOfPrimitiveValues<string>("terms", tpTypeMetaDefDto.terms);
|
|
1184
|
+
writer.writeAdditionalData(tpTypeMetaDefDto.additionalData);
|
|
1185
|
+
}
|
|
1138
1186
|
/**
|
|
1139
1187
|
* Serializes information the current object
|
|
1140
1188
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1169,6 +1217,12 @@ export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDef
|
|
|
1169
1217
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
1170
1218
|
writer.writeBooleanValue("isEmptyType", typeMetaDefDto.isEmptyType);
|
|
1171
1219
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
1220
|
+
writer.writeStringValue("$type", typeMetaDefDto.type);
|
|
1221
|
+
switch (typeMetaDefDto.type) {
|
|
1222
|
+
case "tp":
|
|
1223
|
+
serializeTpTypeMetaDefDto(writer, typeMetaDefDto, true);
|
|
1224
|
+
break;
|
|
1225
|
+
}
|
|
1172
1226
|
}
|
|
1173
1227
|
/**
|
|
1174
1228
|
* Serializes information the current object
|
|
@@ -1346,6 +1400,16 @@ export interface TpTypeDefDto extends Parsable {
|
|
|
1346
1400
|
*/
|
|
1347
1401
|
name?: string | null;
|
|
1348
1402
|
}
|
|
1403
|
+
export interface TpTypeMetaDefDto extends AdditionalDataHolder, Parsable, TypeMetaDefDto {
|
|
1404
|
+
/**
|
|
1405
|
+
* Indicates whether entities of this type have a UI page in Targetprocess.Based on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case).
|
|
1406
|
+
*/
|
|
1407
|
+
isLinkable?: boolean | null;
|
|
1408
|
+
/**
|
|
1409
|
+
* The terms property
|
|
1410
|
+
*/
|
|
1411
|
+
terms?: string[] | null;
|
|
1412
|
+
}
|
|
1349
1413
|
export interface TypeMappingDto extends Parsable {
|
|
1350
1414
|
/**
|
|
1351
1415
|
* The fieldMappings property
|
|
@@ -1389,6 +1453,10 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
1389
1453
|
* The name property
|
|
1390
1454
|
*/
|
|
1391
1455
|
name?: string | null;
|
|
1456
|
+
/**
|
|
1457
|
+
* The Type property
|
|
1458
|
+
*/
|
|
1459
|
+
type?: string | null;
|
|
1392
1460
|
}
|
|
1393
1461
|
export interface ValidatedFieldMappingDto extends AdditionalDataHolder, FieldMappingDto, Parsable {
|
|
1394
1462
|
/**
|
package/src/v1.json
CHANGED
|
@@ -3016,8 +3016,15 @@
|
|
|
3016
3016
|
},
|
|
3017
3017
|
"TypeMetaDefDto": {
|
|
3018
3018
|
"type": "object",
|
|
3019
|
+
"discriminator": {
|
|
3020
|
+
"propertyName": "$type",
|
|
3021
|
+
"mapping": {
|
|
3022
|
+
"tp": "#/components/schemas/TpTypeMetaDefDto"
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
3019
3025
|
"additionalProperties": false,
|
|
3020
3026
|
"required": [
|
|
3027
|
+
"$type",
|
|
3021
3028
|
"id",
|
|
3022
3029
|
"name",
|
|
3023
3030
|
"fields",
|
|
@@ -3042,6 +3049,9 @@
|
|
|
3042
3049
|
},
|
|
3043
3050
|
"isEmptyType": {
|
|
3044
3051
|
"type": "boolean"
|
|
3052
|
+
},
|
|
3053
|
+
"$type": {
|
|
3054
|
+
"type": "string"
|
|
3045
3055
|
}
|
|
3046
3056
|
}
|
|
3047
3057
|
},
|
|
@@ -3112,6 +3122,37 @@
|
|
|
3112
3122
|
}
|
|
3113
3123
|
]
|
|
3114
3124
|
},
|
|
3125
|
+
"TpTypeMetaDefDto": {
|
|
3126
|
+
"allOf": [
|
|
3127
|
+
{
|
|
3128
|
+
"$ref": "#/components/schemas/TypeMetaDefDto"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"type": "object",
|
|
3132
|
+
"additionalProperties": false,
|
|
3133
|
+
"required": [
|
|
3134
|
+
"terms",
|
|
3135
|
+
"isLinkable",
|
|
3136
|
+
"isEmptyType"
|
|
3137
|
+
],
|
|
3138
|
+
"properties": {
|
|
3139
|
+
"terms": {
|
|
3140
|
+
"type": "array",
|
|
3141
|
+
"items": {
|
|
3142
|
+
"type": "string"
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3145
|
+
"isLinkable": {
|
|
3146
|
+
"type": "boolean",
|
|
3147
|
+
"description": "Indicates whether entities of this type have a UI page in Targetprocess.\nBased on native types list + extendable domain types (isAssignable || isVisible) + Comment (special case)."
|
|
3148
|
+
},
|
|
3149
|
+
"isEmptyType": {
|
|
3150
|
+
"type": "boolean"
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
]
|
|
3155
|
+
},
|
|
3115
3156
|
"SetCurrentProfileRequestDto": {
|
|
3116
3157
|
"type": "object",
|
|
3117
3158
|
"additionalProperties": false,
|