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

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
  */
@@ -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
  */
@@ -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
  };
@@ -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
  };
@@ -605,7 +606,6 @@ function serializeCopyCurrentProfileRequestDto(writer, copyCurrentProfileRequest
605
606
  // @ts-ignore
606
607
  function serializeDeleteProfileRequestDto(writer, deleteProfileRequestDto = {}) {
607
608
  if (deleteProfileRequestDto) {
608
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
609
609
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
610
610
  }
611
611
  }
@@ -722,6 +722,7 @@ function serializeProfileDto(writer, profileDto = {}) {
722
722
  // @ts-ignore
723
723
  function serializeProfileIdDto(writer, profileIdDto = {}) {
724
724
  if (profileIdDto) {
725
+ writer.writeStringValue("account", profileIdDto.account);
725
726
  writer.writeStringValue("id", profileIdDto.id);
726
727
  writer.writeStringValue("name", profileIdDto.name);
727
728
  }
@@ -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.6",
3
+ "version": "1.7.0-ci.10",
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": "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
  }
@@ -493,6 +489,7 @@ export function deserializeIntoTypeMappingDto(typeMappingDto: Partial<TypeMappin
493
489
  export function deserializeIntoTypeMetaDefDto(typeMetaDefDto: Partial<TypeMetaDefDto> | undefined = {}) : Record<string, (node: ParseNode) => void> {
494
490
  return {
495
491
  "fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues<FieldDefDto>(createFieldDefDtoFromDiscriminatorValue); },
492
+ "historyParentTypeId": n => { typeMetaDefDto.historyParentTypeId = n.getStringValue(); },
496
493
  "id": n => { typeMetaDefDto.id = n.getStringValue(); },
497
494
  "name": n => { typeMetaDefDto.name = n.getStringValue(); },
498
495
  }
@@ -646,6 +643,10 @@ export interface ProfileDto extends AdditionalDataHolder, Parsable, ProfileIdDto
646
643
  typeMappings?: TypeMappingDto[] | null;
647
644
  }
648
645
  export interface ProfileIdDto extends Parsable {
646
+ /**
647
+ * The account property
648
+ */
649
+ account?: string | null;
649
650
  /**
650
651
  * The id property
651
652
  */
@@ -683,7 +684,6 @@ export function serializeCopyCurrentProfileRequestDto(writer: SerializationWrite
683
684
  // @ts-ignore
684
685
  export function serializeDeleteProfileRequestDto(writer: SerializationWriter, deleteProfileRequestDto: Partial<DeleteProfileRequestDto> | undefined | null = {}) : void {
685
686
  if (deleteProfileRequestDto) {
686
- writer.writeBooleanValue("forceDelete", deleteProfileRequestDto.forceDelete);
687
687
  writer.writeStringValue("profileId", deleteProfileRequestDto.profileId);
688
688
  }
689
689
  }
@@ -800,6 +800,7 @@ export function serializeProfileDto(writer: SerializationWriter, profileDto: Par
800
800
  // @ts-ignore
801
801
  export function serializeProfileIdDto(writer: SerializationWriter, profileIdDto: Partial<ProfileIdDto> | undefined | null = {}) : void {
802
802
  if (profileIdDto) {
803
+ writer.writeStringValue("account", profileIdDto.account);
803
804
  writer.writeStringValue("id", profileIdDto.id);
804
805
  writer.writeStringValue("name", profileIdDto.name);
805
806
  }
@@ -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",
@@ -2375,6 +2357,10 @@
2375
2357
  "format": "guid",
2376
2358
  "nullable": true
2377
2359
  },
2360
+ "account": {
2361
+ "type": "string",
2362
+ "nullable": true
2363
+ },
2378
2364
  "name": {
2379
2365
  "type": "string"
2380
2366
  }
@@ -2487,6 +2473,10 @@
2487
2473
  "items": {
2488
2474
  "$ref": "#/components/schemas/FieldDefDto"
2489
2475
  }
2476
+ },
2477
+ "historyParentTypeId": {
2478
+ "type": "string",
2479
+ "nullable": true
2490
2480
  }
2491
2481
  }
2492
2482
  },
@@ -2540,10 +2530,6 @@
2540
2530
  "profileId": {
2541
2531
  "type": "string",
2542
2532
  "format": "guid"
2543
- },
2544
- "forceDelete": {
2545
- "type": "boolean",
2546
- "nullable": true
2547
2533
  }
2548
2534
  }
2549
2535
  },