@targetprocess/shared-data-model-client 0.30.0-ci.6 → 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.
@@ -27,7 +27,6 @@ export interface EntityTypeItemRequestBuilder extends BaseRequestBuilder<EntityT
27
27
  export interface EntityTypeItemRequestBuilderGetQueryParameters {
28
28
  convertAttachmentsHost?: string;
29
29
  filter?: string;
30
- isodate?: number;
31
30
  orderBy?: string;
32
31
  result?: string;
33
32
  select?: string;
@@ -38,7 +37,7 @@ export interface EntityTypeItemRequestBuilderGetQueryParameters {
38
37
  /**
39
38
  * Uri template for the request builder.
40
39
  */
41
- export declare const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
40
+ export declare const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,orderBy*,result*,select*,skip*,take*,where*}";
42
41
  /**
43
42
  * Metadata for all the requests in the request builder.
44
43
  */
@@ -11,7 +11,7 @@ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
11
11
  /**
12
12
  * Uri template for the request builder.
13
13
  */
14
- exports.EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
14
+ exports.EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,orderBy*,result*,select*,skip*,take*,where*}";
15
15
  /**
16
16
  * Metadata for all the requests in the request builder.
17
17
  */
@@ -28,7 +28,6 @@ export interface WithEntityTypeItemRequestBuilderGetQueryParameters {
28
28
  convertAttachmentsHost?: string;
29
29
  filter?: string;
30
30
  id?: number;
31
- isodate?: number;
32
31
  orderBy?: string;
33
32
  result?: string;
34
33
  select?: string;
@@ -39,7 +38,7 @@ export interface WithEntityTypeItemRequestBuilderGetQueryParameters {
39
38
  /**
40
39
  * Uri template for the request builder.
41
40
  */
42
- export declare const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
41
+ export declare const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,orderBy*,result*,select*,skip*,take*,where*}";
43
42
  /**
44
43
  * Metadata for all the requests in the request builder.
45
44
  */
@@ -11,7 +11,7 @@ const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
11
11
  /**
12
12
  * Uri template for the request builder.
13
13
  */
14
- exports.WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
14
+ exports.WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,orderBy*,result*,select*,skip*,take*,where*}";
15
15
  /**
16
16
  * Metadata for all the requests in the request builder.
17
17
  */
@@ -25,7 +25,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
25
25
  */
26
26
  get validate(): ValidateRequestBuilder;
27
27
  /**
28
- * Copy profile and sets as current
28
+ * Delete profile and sets default one as current
29
29
  * @param body The request body
30
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
31
  * @returns {Promise<ProfileDto>}
@@ -60,7 +60,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
60
60
  */
61
61
  put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileDto | undefined>;
62
62
  /**
63
- * Copy profile and sets as current
63
+ * Delete profile and sets default one as current
64
64
  * @param body The request body
65
65
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
66
  * @returns {RequestInformation}
@@ -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 {
@@ -622,6 +626,10 @@ export interface TypeMetaDefDto extends Parsable {
622
626
  * The fields property
623
627
  */
624
628
  fields?: FieldDefDto[] | null;
629
+ /**
630
+ * The historyParentTypeId property
631
+ */
632
+ historyParentTypeId?: string | null;
625
633
  /**
626
634
  * The id property
627
635
  */
@@ -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
  /**
@@ -547,6 +548,7 @@ function deserializeIntoTypeMappingDto(typeMappingDto = {}) {
547
548
  function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
548
549
  return {
549
550
  "fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
551
+ "historyParentTypeId": n => { typeMetaDefDto.historyParentTypeId = n.getStringValue(); },
550
552
  "id": n => { typeMetaDefDto.id = n.getStringValue(); },
551
553
  "name": n => { typeMetaDefDto.name = n.getStringValue(); },
552
554
  };
@@ -605,7 +607,6 @@ function serializeCopyCurrentProfileRequestDto(writer, copyCurrentProfileRequest
605
607
  // @ts-ignore
606
608
  function serializeDeleteProfileRequestDto(writer, deleteProfileRequestDto = {}) {
607
609
  if (deleteProfileRequestDto) {
608
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
609
610
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
610
611
  }
611
612
  }
@@ -722,8 +723,10 @@ function serializeProfileDto(writer, profileDto = {}) {
722
723
  // @ts-ignore
723
724
  function serializeProfileIdDto(writer, profileIdDto = {}) {
724
725
  if (profileIdDto) {
726
+ writer.writeStringValue("account", profileIdDto.account);
725
727
  writer.writeStringValue("id", profileIdDto.id);
726
728
  writer.writeStringValue("name", profileIdDto.name);
729
+ writer.writeNumberValue("priority", profileIdDto.priority);
727
730
  }
728
731
  }
729
732
  /**
@@ -826,6 +829,7 @@ function serializeTypeMappingDto(writer, typeMappingDto = {}) {
826
829
  function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
827
830
  if (typeMetaDefDto) {
828
831
  writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
832
+ writer.writeStringValue("historyParentTypeId", typeMetaDefDto.historyParentTypeId);
829
833
  writer.writeStringValue("id", typeMetaDefDto.id);
830
834
  writer.writeStringValue("name", typeMetaDefDto.name);
831
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "0.30.0-ci.6",
3
+ "version": "1.7.0-ci.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,7 +34,6 @@ export interface EntityTypeItemRequestBuilder extends BaseRequestBuilder<EntityT
34
34
  export interface EntityTypeItemRequestBuilderGetQueryParameters {
35
35
  convertAttachmentsHost?: string;
36
36
  filter?: string;
37
- isodate?: number;
38
37
  orderBy?: string;
39
38
  result?: string;
40
39
  select?: string;
@@ -45,7 +44,7 @@ export interface EntityTypeItemRequestBuilderGetQueryParameters {
45
44
  /**
46
45
  * Uri template for the request builder.
47
46
  */
48
- export const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
47
+ export const EntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}/{id}{?convertAttachmentsHost*,filter*,orderBy*,result*,select*,skip*,take*,where*}";
49
48
  /**
50
49
  * Metadata for all the requests in the request builder.
51
50
  */
@@ -35,7 +35,6 @@ export interface WithEntityTypeItemRequestBuilderGetQueryParameters {
35
35
  convertAttachmentsHost?: string;
36
36
  filter?: string;
37
37
  id?: number;
38
- isodate?: number;
39
38
  orderBy?: string;
40
39
  result?: string;
41
40
  select?: string;
@@ -46,7 +45,7 @@ export interface WithEntityTypeItemRequestBuilderGetQueryParameters {
46
45
  /**
47
46
  * Uri template for the request builder.
48
47
  */
49
- export const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,isodate*,orderBy*,result*,select*,skip*,take*,where*}";
48
+ export const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/schema/{entityType}{?convertAttachmentsHost*,filter*,id*,orderBy*,result*,select*,skip*,take*,where*}";
50
49
  /**
51
50
  * Metadata for all the requests in the request builder.
52
51
  */
@@ -35,7 +35,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
35
35
  */
36
36
  get validate(): ValidateRequestBuilder;
37
37
  /**
38
- * Copy profile and sets as current
38
+ * Delete profile and sets default one as current
39
39
  * @param body The request body
40
40
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
41
  * @returns {Promise<ProfileDto>}
@@ -70,7 +70,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
70
70
  */
71
71
  put(body: ProfileDto, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ProfileDto | undefined>;
72
72
  /**
73
- * Copy profile and sets as current
73
+ * Delete profile and sets default one as current
74
74
  * @param body The request body
75
75
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
76
  * @returns {RequestInformation}
@@ -1,5 +1,5 @@
1
1
  {
2
- "descriptionHash": "FE2CB22F7DF468E7073B9054EB0A6AF65D42498D19BBF93DB197EBC2D1C38C5B33AAA88625A35FC4AD3E3F640318B3ACCF81941ECAA6CD8CF82C2107D77FD61C",
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
  /**
@@ -493,6 +490,7 @@ export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappin
493
490
  export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
494
491
  return {
495
492
  "fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
493
+ "historyParentTypeId": n => { typeMetaDefDto.historyParentTypeId = n.getStringValue(); },
496
494
  "id": n => { typeMetaDefDto.id = n.getStringValue(); },
497
495
  "name": n => { typeMetaDefDto.name = n.getStringValue(); },
498
496
  }
@@ -646,6 +644,10 @@ export interface ProfileDto extends AdditionalDataHolder, Parsable, ProfileIdDto
646
644
  typeMappings?: TypeMappingDto[] | null;
647
645
  }
648
646
  export interface ProfileIdDto extends Parsable {
647
+ /**
648
+ * The account property
649
+ */
650
+ account?: string | null;
649
651
  /**
650
652
  * The id property
651
653
  */
@@ -654,6 +656,10 @@ export interface ProfileIdDto extends Parsable {
654
656
  * The name property
655
657
  */
656
658
  name?: string | null;
659
+ /**
660
+ * The priority property
661
+ */
662
+ priority?: number | null;
657
663
  }
658
664
  export type RefKind = (typeof RefKindObject)[keyof typeof RefKindObject];
659
665
  export interface SdmTypeDefDto extends Parsable {
@@ -683,7 +689,6 @@ export function serializeCopyCurrentProfileRequestDto(writer: SerializationWrite
683
689
  // @ts-ignore
684
690
  export function serializeDeleteProfileRequestDto(writer: SerializationWriter, deleteProfileRequestDto: Partial<DeleteProfileRequestDto> | undefined | null = {}) : void {
685
691
  if (deleteProfileRequestDto) {
686
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
687
692
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
688
693
  }
689
694
  }
@@ -800,8 +805,10 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
800
805
  // @ts-ignore
801
806
  export function serializeProfileIdDto(writer: SerializationWriter, profileIdDto: Partial<ProfileIdDto> | undefined | null = {}) : void {
802
807
  if (profileIdDto) {
808
+ writer.writeStringValue("account", profileIdDto.account);
803
809
  writer.writeStringValue("id", profileIdDto.id);
804
810
  writer.writeStringValue("name", profileIdDto.name);
811
+ writer.writeNumberValue("priority", profileIdDto.priority);
805
812
  }
806
813
  }
807
814
  /**
@@ -904,6 +911,7 @@ export function serializeTypeMappingDto(writer: SerializationWriter, typeMapping
904
911
  export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDefDto: Partial<TypeMetaDefDto> | undefined | null = {}) : void {
905
912
  if (typeMetaDefDto) {
906
913
  writer.writeCollectionOfObjectValues<FieldDefDto>("fields", typeMetaDefDto.fields, serializeFieldDefDto);
914
+ writer.writeStringValue("historyParentTypeId", typeMetaDefDto.historyParentTypeId);
907
915
  writer.writeStringValue("id", typeMetaDefDto.id);
908
916
  writer.writeStringValue("name", typeMetaDefDto.name);
909
917
  }
@@ -1039,6 +1047,10 @@ export interface TypeMetaDefDto extends Parsable {
1039
1047
  * The fields property
1040
1048
  */
1041
1049
  fields?: FieldDefDto[] | null;
1050
+ /**
1051
+ * The historyParentTypeId property
1052
+ */
1053
+ historyParentTypeId?: string | null;
1042
1054
  /**
1043
1055
  * The id property
1044
1056
  */
package/src/v1.json CHANGED
@@ -449,15 +449,6 @@
449
449
  "nullable": true
450
450
  }
451
451
  },
452
- {
453
- "name": "isodate",
454
- "in": "query",
455
- "schema": {
456
- "type": "integer",
457
- "format": "int32",
458
- "nullable": true
459
- }
460
- },
461
452
  {
462
453
  "name": "convertAttachmentsHost",
463
454
  "in": "query",
@@ -623,15 +614,6 @@
623
614
  "nullable": true
624
615
  }
625
616
  },
626
- {
627
- "name": "isodate",
628
- "in": "query",
629
- "schema": {
630
- "type": "integer",
631
- "format": "int32",
632
- "nullable": true
633
- }
634
- },
635
617
  {
636
618
  "name": "convertAttachmentsHost",
637
619
  "in": "query",
@@ -1372,7 +1354,7 @@
1372
1354
  "tags": [
1373
1355
  "Settings"
1374
1356
  ],
1375
- "summary": "Copy profile and sets as current",
1357
+ "summary": "Delete profile and sets default one as current",
1376
1358
  "operationId": "DeleteProfileEndpoint",
1377
1359
  "requestBody": {
1378
1360
  "x-name": "DeleteProfileRequestDto",
@@ -2367,7 +2349,8 @@
2367
2349
  "type": "object",
2368
2350
  "additionalProperties": false,
2369
2351
  "required": [
2370
- "name"
2352
+ "name",
2353
+ "priority"
2371
2354
  ],
2372
2355
  "properties": {
2373
2356
  "id": {
@@ -2375,8 +2358,16 @@
2375
2358
  "format": "guid",
2376
2359
  "nullable": true
2377
2360
  },
2361
+ "account": {
2362
+ "type": "string",
2363
+ "nullable": true
2364
+ },
2378
2365
  "name": {
2379
2366
  "type": "string"
2367
+ },
2368
+ "priority": {
2369
+ "type": "integer",
2370
+ "format": "int32"
2380
2371
  }
2381
2372
  }
2382
2373
  },
@@ -2487,6 +2478,10 @@
2487
2478
  "items": {
2488
2479
  "$ref": "#/components/schemas/FieldDefDto"
2489
2480
  }
2481
+ },
2482
+ "historyParentTypeId": {
2483
+ "type": "string",
2484
+ "nullable": true
2490
2485
  }
2491
2486
  }
2492
2487
  },
@@ -2540,10 +2535,6 @@
2540
2535
  "profileId": {
2541
2536
  "type": "string",
2542
2537
  "format": "guid"
2543
- },
2544
- "forceDelete": {
2545
- "type": "boolean",
2546
- "nullable": true
2547
2538
  }
2548
2539
  }
2549
2540
  },