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

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}
@@ -622,6 +622,10 @@ export interface TypeMetaDefDto extends Parsable {
622
622
  * The fields property
623
623
  */
624
624
  fields?: FieldDefDto[] | null;
625
+ /**
626
+ * The historyParentTypeId property
627
+ */
628
+ historyParentTypeId?: string | null;
625
629
  /**
626
630
  * The id property
627
631
  */
@@ -547,6 +547,7 @@ function deserializeIntoTypeMappingDto(typeMappingDto = {}) {
547
547
  function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
548
548
  return {
549
549
  "fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
550
+ "historyParentTypeId": n => { typeMetaDefDto.historyParentTypeId = n.getStringValue(); },
550
551
  "id": n => { typeMetaDefDto.id = n.getStringValue(); },
551
552
  "name": n => { typeMetaDefDto.name = n.getStringValue(); },
552
553
  };
@@ -826,6 +827,7 @@ function serializeTypeMappingDto(writer, typeMappingDto = {}) {
826
827
  function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
827
828
  if (typeMetaDefDto) {
828
829
  writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
830
+ writer.writeStringValue("historyParentTypeId", typeMetaDefDto.historyParentTypeId);
829
831
  writer.writeStringValue("id", typeMetaDefDto.id);
830
832
  writer.writeStringValue("name", typeMetaDefDto.name);
831
833
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@targetprocess/shared-data-model-client",
3
- "version": "0.30.0-ci.5",
3
+ "version": "1.7.0-ci.5",
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": "9ECDBB009CFE56214E3F1270E9618CBD16AD00110B89C7D64800EC35DF39F19762AD00D5ADBB230BD3FB320F2B6F2186583A617DB38F2A8921888B965A00C4C1",
3
3
  "descriptionLocation": "v1.json",
4
4
  "lockFileVersion": "1.0.0",
5
5
  "kiotaVersion": "1.27.0",
@@ -493,6 +493,7 @@ export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappin
493
493
  export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
494
494
  return {
495
495
  "fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
496
+ "historyParentTypeId": n => { typeMetaDefDto.historyParentTypeId = n.getStringValue(); },
496
497
  "id": n => { typeMetaDefDto.id = n.getStringValue(); },
497
498
  "name": n => { typeMetaDefDto.name = n.getStringValue(); },
498
499
  }
@@ -904,6 +905,7 @@ export function serializeTypeMappingDto(writer: SerializationWriter, typeMapping
904
905
  export function serializeTypeMetaDefDto(writer: SerializationWriter, typeMetaDefDto: Partial<TypeMetaDefDto> | undefined | null = {}) : void {
905
906
  if (typeMetaDefDto) {
906
907
  writer.writeCollectionOfObjectValues<FieldDefDto>("fields", typeMetaDefDto.fields, serializeFieldDefDto);
908
+ writer.writeStringValue("historyParentTypeId", typeMetaDefDto.historyParentTypeId);
907
909
  writer.writeStringValue("id", typeMetaDefDto.id);
908
910
  writer.writeStringValue("name", typeMetaDefDto.name);
909
911
  }
@@ -1039,6 +1041,10 @@ export interface TypeMetaDefDto extends Parsable {
1039
1041
  * The fields property
1040
1042
  */
1041
1043
  fields?: FieldDefDto[] | null;
1044
+ /**
1045
+ * The historyParentTypeId property
1046
+ */
1047
+ historyParentTypeId?: string | null;
1042
1048
  /**
1043
1049
  * The id property
1044
1050
  */
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",
@@ -2487,6 +2469,10 @@
2487
2469
  "items": {
2488
2470
  "$ref": "#/components/schemas/FieldDefDto"
2489
2471
  }
2472
+ },
2473
+ "historyParentTypeId": {
2474
+ "type": "string",
2475
+ "nullable": true
2490
2476
  }
2491
2477
  }
2492
2478
  },