@targetprocess/shared-data-model-client 1.54.0-ci.2 → 1.55.0

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.
@@ -140,7 +140,7 @@ function createFieldDefDtoFromDiscriminatorValue(parseNode) {
140
140
  const mappingValue = mappingValueNode.getStringValue();
141
141
  if (mappingValue) {
142
142
  switch (mappingValue) {
143
- case "TpFieldDefDto":
143
+ case "tp":
144
144
  return deserializeIntoTpFieldDefDto;
145
145
  }
146
146
  }
@@ -890,7 +890,7 @@ function serializeFieldDefDto(writer, fieldDefDto = {}, isSerializingDerivedType
890
890
  writer.writeStringValue("refType", fieldDefDto.refType);
891
891
  writer.writeStringValue("type", fieldDefDto.type);
892
892
  switch (fieldDefDto.fieldDefDtoType) {
893
- case "TpFieldDefDto":
893
+ case "tp":
894
894
  serializeTpFieldDefDto(writer, fieldDefDto, true);
895
895
  break;
896
896
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "1.54.0-ci.2",
3
+ "version": "1.55.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "4092617FD4BFA45B0D86A77D97963343A987476A84BEDCFA12410D822BC2C803B82D07A7024D123120D4C0ED9DF405FE80359E26811608DA14A3FBC8463EBA52",
2
+ "descriptionHash": "C32036AB2E8C7555E960F9AA0229B8FCBFAEA771C456758C966DDD6A53F52420D59C46E4A62B7B298EF10367523792DB6BEE4EAFCA5D6858D43C5EA032039CEA",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.34.1",
@@ -57,7 +57,7 @@ export function createFieldDefDtoFromDiscriminatorValue(parseNode: ParseNode | u
57
57
  const mappingValue = mappingValueNode.getStringValue();
58
58
  if (mappingValue) {
59
59
  switch (mappingValue) {
60
- case "TpFieldDefDto":
60
+ case "tp":
61
61
  return deserializeIntoTpFieldDefDto;
62
62
  }
63
63
  }
@@ -961,7 +961,7 @@ export function serializeFieldDefDto(writer: SerializationWriter, fieldDefDto: P
961
961
  writer.writeStringValue("refType", fieldDefDto.refType);
962
962
  writer.writeStringValue("type", fieldDefDto.type);
963
963
  switch (fieldDefDto.fieldDefDtoType) {
964
- case "TpFieldDefDto":
964
+ case "tp":
965
965
  serializeTpFieldDefDto(writer, fieldDefDto, true);
966
966
  break;
967
967
  }
package/src/v1.json CHANGED
@@ -3174,7 +3174,7 @@
3174
3174
  "discriminator": {
3175
3175
  "propertyName": "$type",
3176
3176
  "mapping": {
3177
- "TpFieldDefDto": "#/components/schemas/TpFieldDefDto"
3177
+ "tp": "#/components/schemas/TpFieldDefDto"
3178
3178
  }
3179
3179
  },
3180
3180
  "additionalProperties": false,