@targetprocess/shared-data-model-client 1.7.0-ci.5 → 1.7.0-ci.7

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.
@@ -150,10 +150,6 @@ export declare function createValidatedProfileDtoFromDiscriminatorValue(parseNod
150
150
  */
151
151
  export declare function createValidatedTypeMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
152
152
  export interface DeleteProfileRequestDto extends Parsable {
153
- /**
154
- * The forceDelete property
155
- */
156
- forceDelete?: boolean | null;
157
153
  /**
158
154
  * The profileId property
159
155
  */
@@ -391,6 +387,10 @@ export interface ProfileDto extends AdditionalDataHolder, Parsable, ProfileIdDto
391
387
  typeMappings?: TypeMappingDto[] | null;
392
388
  }
393
389
  export interface ProfileIdDto extends Parsable {
390
+ /**
391
+ * The account property
392
+ */
393
+ account?: string | null;
394
394
  /**
395
395
  * The id property
396
396
  */
@@ -330,7 +330,6 @@ function deserializeIntoCopyCurrentProfileRequestDto(copyCurrentProfileRequestDt
330
330
  // @ts-ignore
331
331
  function deserializeIntoDeleteProfileRequestDto(deleteProfileRequestDto = {}) {
332
332
  return {
333
- "forceDelete": n => { deleteProfileRequestDto.forceDelete = n.getBooleanValue(); },
334
333
  "profileId": n => { deleteProfileRequestDto.profileId = n.getStringValue(); },
335
334
  };
336
335
  }
@@ -443,6 +442,7 @@ function deserializeIntoProfileDto(profileDto = {}) {
443
442
  // @ts-ignore
444
443
  function deserializeIntoProfileIdDto(profileIdDto = {}) {
445
444
  return {
445
+ "account": n => { profileIdDto.account = n.getStringValue(); },
446
446
  "id": n => { profileIdDto.id = n.getStringValue(); },
447
447
  "name": n => { profileIdDto.name = n.getStringValue(); },
448
448
  };
@@ -606,7 +606,6 @@ function serializeCopyCurrentProfileRequestDto(writer, copyCurrentProfileRequest
606
606
  // @ts-ignore
607
607
  function serializeDeleteProfileRequestDto(writer, deleteProfileRequestDto = {}) {
608
608
  if (deleteProfileRequestDto) {
609
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
610
609
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
611
610
  }
612
611
  }
@@ -723,6 +722,7 @@ function serializeProfileDto(writer, profileDto = {}) {
723
722
  // @ts-ignore
724
723
  function serializeProfileIdDto(writer, profileIdDto = {}) {
725
724
  if (profileIdDto) {
725
+ writer.writeStringValue("account", profileIdDto.account);
726
726
  writer.writeStringValue("id", profileIdDto.id);
727
727
  writer.writeStringValue("name", profileIdDto.name);
728
728
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "1.7.0-ci.5",
3
+ "version": "1.7.0-ci.7",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "9ECDBB009CFE56214E3F1270E9618CBD16AD00110B89C7D64800EC35DF39F19762AD00D5ADBB230BD3FB320F2B6F2186583A617DB38F2A8921888B965A00C4C1",
2
+ "descriptionHash": "5D93C2217D817F9719A58FC17BF7E4EFCB51D7135C34DA97EB70EFF4C8188B74750EDC3BD2737C92DB0D31D2EEE13C63266A79949CC0B77372356D72C4DAED15",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.27.0",
@@ -249,10 +249,6 @@ export function createValidatedTypeMappingDtoFromDiscriminatorValue(parseNode: P
249
249
  return deserializeIntoValidatedTypeMappingDto;
250
250
  }
251
251
  export interface DeleteProfileRequestDto extends Parsable {
252
- /**
253
- * The forceDelete property
254
- */
255
- forceDelete?: boolean | null;
256
252
  /**
257
253
  * The profileId property
258
254
  */
@@ -275,7 +271,6 @@ export function deserializeIntoCopyCurrentProfileRequestDto(copyCurrentProfileRe
275
271
  // @ts-ignore
276
272
  export function deserializeIntoDeleteProfileRequestDto(deleteProfileRequestDto: Partial<DeleteProfileRequestDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
277
273
  return {
278
- "forceDelete": n => { deleteProfileRequestDto.forceDelete = n.getBooleanValue(); },
279
274
  "profileId": n => { deleteProfileRequestDto.profileId = n.getStringValue(); },
280
275
  }
281
276
  }
@@ -389,6 +384,7 @@ export function deserializeIntoProfileDto(profileDto: Partial<ProfileDto> | unde
389
384
  // @ts-ignore
390
385
  export function deserializeIntoProfileIdDto(profileIdDto: Partial<ProfileIdDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
391
386
  return {
387
+ "account": n => { profileIdDto.account = n.getStringValue(); },
392
388
  "id": n => { profileIdDto.id = n.getStringValue(); },
393
389
  "name": n => { profileIdDto.name = n.getStringValue(); },
394
390
  }
@@ -647,6 +643,10 @@ export interface ProfileDto extends AdditionalDataHolder, Parsable, ProfileIdDto
647
643
  typeMappings?: TypeMappingDto[] | null;
648
644
  }
649
645
  export interface ProfileIdDto extends Parsable {
646
+ /**
647
+ * The account property
648
+ */
649
+ account?: string | null;
650
650
  /**
651
651
  * The id property
652
652
  */
@@ -684,7 +684,6 @@ export function serializeCopyCurrentProfileRequestDto(writer: SerializationWrite
684
684
  // @ts-ignore
685
685
  export function serializeDeleteProfileRequestDto(writer: SerializationWriter, deleteProfileRequestDto: Partial<DeleteProfileRequestDto> | undefined | null = {}) : void {
686
686
  if (deleteProfileRequestDto) {
687
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
688
687
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
689
688
  }
690
689
  }
@@ -801,6 +800,7 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
801
800
  // @ts-ignore
802
801
  export function serializeProfileIdDto(writer: SerializationWriter, profileIdDto: Partial<ProfileIdDto> | undefined | null = {}) : void {
803
802
  if (profileIdDto) {
803
+ writer.writeStringValue("account", profileIdDto.account);
804
804
  writer.writeStringValue("id", profileIdDto.id);
805
805
  writer.writeStringValue("name", profileIdDto.name);
806
806
  }
package/src/v1.json CHANGED
@@ -2357,6 +2357,10 @@
2357
2357
  "format": "guid",
2358
2358
  "nullable": true
2359
2359
  },
2360
+ "account": {
2361
+ "type": "string",
2362
+ "nullable": true
2363
+ },
2360
2364
  "name": {
2361
2365
  "type": "string"
2362
2366
  }
@@ -2526,10 +2530,6 @@
2526
2530
  "profileId": {
2527
2531
  "type": "string",
2528
2532
  "format": "guid"
2529
- },
2530
- "forceDelete": {
2531
- "type": "boolean",
2532
- "nullable": true
2533
2533
  }
2534
2534
  }
2535
2535
  },