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

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
  */
@@ -399,6 +399,10 @@ export interface ProfileIdDto extends Parsable {
399
399
  * The name property
400
400
  */
401
401
  name?: string | null;
402
+ /**
403
+ * The priority property
404
+ */
405
+ priority?: number | null;
402
406
  }
403
407
  export type RefKind = (typeof RefKindObject)[keyof typeof RefKindObject];
404
408
  export interface SdmTypeDefDto extends Parsable {
@@ -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,8 +442,10 @@ 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
+ "priority": n => { profileIdDto.priority = n.getNumberValue(); },
448
449
  };
449
450
  }
450
451
  /**
@@ -606,7 +607,6 @@ function serializeCopyCurrentProfileRequestDto(writer, copyCurrentProfileRequest
606
607
  // @ts-ignore
607
608
  function serializeDeleteProfileRequestDto(writer, deleteProfileRequestDto = {}) {
608
609
  if (deleteProfileRequestDto) {
609
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
610
610
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
611
611
  }
612
612
  }
@@ -723,8 +723,10 @@ function serializeProfileDto(writer, profileDto = {}) {
723
723
  // @ts-ignore
724
724
  function serializeProfileIdDto(writer, profileIdDto = {}) {
725
725
  if (profileIdDto) {
726
+ writer.writeStringValue("account", profileIdDto.account);
726
727
  writer.writeStringValue("id", profileIdDto.id);
727
728
  writer.writeStringValue("name", profileIdDto.name);
729
+ writer.writeNumberValue("priority", profileIdDto.priority);
728
730
  }
729
731
  }
730
732
  /**
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.6",
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": "0B5C9024D41E20F690B064C11A939AE70F7ACEEFFF73F3B0B12D29D22C482BBD4D9D1C293972863F8555DA8E9DAD066DF33BAC5A11323B1A20F068E0F2D4C662",
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,8 +384,10 @@ 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(); },
390
+ "priority": n => { profileIdDto.priority = n.getNumberValue(); },
394
391
  }
395
392
  }
396
393
  /**
@@ -647,6 +644,10 @@ export interface ProfileDto extends AdditionalDataHolder, Parsable, ProfileIdDto
647
644
  typeMappings?: TypeMappingDto[] | null;
648
645
  }
649
646
  export interface ProfileIdDto extends Parsable {
647
+ /**
648
+ * The account property
649
+ */
650
+ account?: string | null;
650
651
  /**
651
652
  * The id property
652
653
  */
@@ -655,6 +656,10 @@ export interface ProfileIdDto extends Parsable {
655
656
  * The name property
656
657
  */
657
658
  name?: string | null;
659
+ /**
660
+ * The priority property
661
+ */
662
+ priority?: number | null;
658
663
  }
659
664
  export type RefKind = (typeof RefKindObject)[keyof typeof RefKindObject];
660
665
  export interface SdmTypeDefDto extends Parsable {
@@ -684,7 +689,6 @@ export function serializeCopyCurrentProfileRequestDto(writer: SerializationWrite
684
689
  // @ts-ignore
685
690
  export function serializeDeleteProfileRequestDto(writer: SerializationWriter, deleteProfileRequestDto: Partial<DeleteProfileRequestDto> | undefined | null = {}) : void {
686
691
  if (deleteProfileRequestDto) {
687
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
688
692
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
689
693
  }
690
694
  }
@@ -801,8 +805,10 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
801
805
  // @ts-ignore
802
806
  export function serializeProfileIdDto(writer: SerializationWriter, profileIdDto: Partial<ProfileIdDto> | undefined | null = {}) : void {
803
807
  if (profileIdDto) {
808
+ writer.writeStringValue("account", profileIdDto.account);
804
809
  writer.writeStringValue("id", profileIdDto.id);
805
810
  writer.writeStringValue("name", profileIdDto.name);
811
+ writer.writeNumberValue("priority", profileIdDto.priority);
806
812
  }
807
813
  }
808
814
  /**
package/src/v1.json CHANGED
@@ -2349,7 +2349,8 @@
2349
2349
  "type": "object",
2350
2350
  "additionalProperties": false,
2351
2351
  "required": [
2352
- "name"
2352
+ "name",
2353
+ "priority"
2353
2354
  ],
2354
2355
  "properties": {
2355
2356
  "id": {
@@ -2357,8 +2358,16 @@
2357
2358
  "format": "guid",
2358
2359
  "nullable": true
2359
2360
  },
2361
+ "account": {
2362
+ "type": "string",
2363
+ "nullable": true
2364
+ },
2360
2365
  "name": {
2361
2366
  "type": "string"
2367
+ },
2368
+ "priority": {
2369
+ "type": "integer",
2370
+ "format": "int32"
2362
2371
  }
2363
2372
  }
2364
2373
  },
@@ -2526,10 +2535,6 @@
2526
2535
  "profileId": {
2527
2536
  "type": "string",
2528
2537
  "format": "guid"
2529
- },
2530
- "forceDelete": {
2531
- "type": "boolean",
2532
- "nullable": true
2533
2538
  }
2534
2539
  }
2535
2540
  },