@targetprocess/shared-data-model-client 0.2.0-us817798-base-img-dotnet.18 → 0.2.0-us817837-mapping.24
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.
- package/dist/api/index.d.ts +8 -3
- package/dist/api/index.js +8 -3
- package/dist/api/{v1/sdm → sdm}/index.d.ts +3 -3
- package/dist/api/{v1/sdm → sdm}/index.js +1 -1
- package/dist/api/{v1/sdm → sdm}/item/index.d.ts +2 -2
- package/dist/api/{v1/sdm → sdm}/item/index.js +2 -2
- package/dist/api/{v1/settings → settings}/entityTypes/index.d.ts +3 -3
- package/dist/api/{v1/settings → settings}/entityTypes/index.js +2 -2
- package/dist/api/{v1/settings → settings}/index.d.ts +2 -2
- package/dist/api/{v1/settings → settings}/index.js +1 -1
- package/dist/api/{v1/settings → settings}/profile/index.d.ts +3 -3
- package/dist/api/{v1/settings → settings}/profile/index.js +2 -2
- package/dist/models/index.d.ts +8 -71
- package/dist/models/index.js +8 -72
- package/package.json +1 -1
- package/src/api/index.ts +14 -5
- package/src/api/{v1/sdm → sdm}/index.ts +3 -3
- package/src/api/{v1/sdm → sdm}/item/index.ts +3 -3
- package/src/api/{v1/settings → settings}/entityTypes/index.ts +3 -3
- package/src/api/{v1/settings → settings}/index.ts +2 -2
- package/src/api/{v1/settings → settings}/profile/index.ts +3 -3
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +16 -106
- package/src/v1.json +43 -108
- package/dist/api/v1/index.d.ts +0 -24
- package/dist/api/v1/index.js +0 -27
- package/src/api/v1/index.ts +0 -40
package/dist/api/index.d.ts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type SdmRequestBuilder } from './sdm/index.js';
|
|
2
|
+
import { type SettingsRequestBuilder } from './settings/index.js';
|
|
2
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
4
|
/**
|
|
4
5
|
* Builds and executes requests for operations under /api
|
|
5
6
|
*/
|
|
6
7
|
export interface ApiRequestBuilder extends BaseRequestBuilder<ApiRequestBuilder> {
|
|
7
8
|
/**
|
|
8
|
-
* The
|
|
9
|
+
* The sdm property
|
|
9
10
|
*/
|
|
10
|
-
get
|
|
11
|
+
get sdm(): SdmRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* The settings property
|
|
14
|
+
*/
|
|
15
|
+
get settings(): SettingsRequestBuilder;
|
|
11
16
|
}
|
|
12
17
|
/**
|
|
13
18
|
* Uri template for the request builder.
|
package/dist/api/index.js
CHANGED
|
@@ -5,7 +5,9 @@ exports.ApiRequestBuilderNavigationMetadata = exports.ApiRequestBuilderUriTempla
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("./
|
|
8
|
+
const index_js_1 = require("./sdm/index.js");
|
|
9
|
+
// @ts-ignore
|
|
10
|
+
const index_js_2 = require("./settings/index.js");
|
|
9
11
|
/**
|
|
10
12
|
* Uri template for the request builder.
|
|
11
13
|
*/
|
|
@@ -14,8 +16,11 @@ exports.ApiRequestBuilderUriTemplate = "{+baseurl}/api";
|
|
|
14
16
|
* Metadata for all the navigation properties in the request builder.
|
|
15
17
|
*/
|
|
16
18
|
exports.ApiRequestBuilderNavigationMetadata = {
|
|
17
|
-
|
|
18
|
-
navigationMetadata: index_js_1.
|
|
19
|
+
sdm: {
|
|
20
|
+
navigationMetadata: index_js_1.SdmRequestBuilderNavigationMetadata,
|
|
21
|
+
},
|
|
22
|
+
settings: {
|
|
23
|
+
navigationMetadata: index_js_2.SettingsRequestBuilderNavigationMetadata,
|
|
19
24
|
},
|
|
20
25
|
};
|
|
21
26
|
/* tslint:enable */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type WithEntityTypeItemRequestBuilder } from './item/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /api/
|
|
4
|
+
* Builds and executes requests for operations under /api/sdm
|
|
5
5
|
*/
|
|
6
6
|
export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Gets an item from the Tp.api.
|
|
8
|
+
* Gets an item from the Tp.api.sdm.item collection
|
|
9
9
|
* @param entityType Unique identifier of the item
|
|
10
10
|
* @returns {WithEntityTypeItemRequestBuilder}
|
|
11
11
|
*/
|
|
@@ -14,7 +14,7 @@ export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder>
|
|
|
14
14
|
/**
|
|
15
15
|
* Uri template for the request builder.
|
|
16
16
|
*/
|
|
17
|
-
export declare const SdmRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
17
|
+
export declare const SdmRequestBuilderUriTemplate = "{+baseurl}/api/sdm";
|
|
18
18
|
/**
|
|
19
19
|
* Metadata for all the navigation properties in the request builder.
|
|
20
20
|
*/
|
|
@@ -9,7 +9,7 @@ const index_js_1 = require("./item/index.js");
|
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.SdmRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
12
|
+
exports.SdmRequestBuilderUriTemplate = "{+baseurl}/api/sdm";
|
|
13
13
|
/**
|
|
14
14
|
* Metadata for all the navigation properties in the request builder.
|
|
15
15
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type UntypedNode } from '@microsoft/kiota-abstractions';
|
|
2
2
|
/**
|
|
3
|
-
* Builds and executes requests for operations under /api/
|
|
3
|
+
* Builds and executes requests for operations under /api/sdm/{entityType}
|
|
4
4
|
*/
|
|
5
5
|
export interface WithEntityTypeItemRequestBuilder extends BaseRequestBuilder<WithEntityTypeItemRequestBuilder> {
|
|
6
6
|
/**
|
|
@@ -34,7 +34,7 @@ export interface WithEntityTypeItemRequestBuilderGetQueryParameters {
|
|
|
34
34
|
/**
|
|
35
35
|
* Uri template for the request builder.
|
|
36
36
|
*/
|
|
37
|
-
export declare const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
37
|
+
export declare const WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}{?filter*,orderBy*,select*,skip*,take*,where*}";
|
|
38
38
|
/**
|
|
39
39
|
* Metadata for all the requests in the request builder.
|
|
40
40
|
*/
|
|
@@ -5,13 +5,13 @@ exports.WithEntityTypeItemRequestBuilderRequestsMetadata = exports.WithEntityTyp
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("
|
|
8
|
+
const index_js_1 = require("../../../models/index.js");
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
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/
|
|
14
|
+
exports.WithEntityTypeItemRequestBuilderUriTemplate = "{+baseurl}/api/sdm/{entityType}{?filter*,orderBy*,select*,skip*,take*,where*}";
|
|
15
15
|
/**
|
|
16
16
|
* Metadata for all the requests in the request builder.
|
|
17
17
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type GetEntityTypesDto } from '
|
|
1
|
+
import { type GetEntityTypesDto } from '../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /api/
|
|
4
|
+
* Builds and executes requests for operations under /api/settings/entityTypes
|
|
5
5
|
*/
|
|
6
6
|
export interface EntityTypesRequestBuilder extends BaseRequestBuilder<EntityTypesRequestBuilder> {
|
|
7
7
|
/**
|
|
@@ -24,7 +24,7 @@ export interface EntityTypesRequestBuilder extends BaseRequestBuilder<EntityType
|
|
|
24
24
|
/**
|
|
25
25
|
* Uri template for the request builder.
|
|
26
26
|
*/
|
|
27
|
-
export declare const EntityTypesRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
27
|
+
export declare const EntityTypesRequestBuilderUriTemplate = "{+baseurl}/api/settings/entityTypes";
|
|
28
28
|
/**
|
|
29
29
|
* Metadata for all the requests in the request builder.
|
|
30
30
|
*/
|
|
@@ -5,11 +5,11 @@ exports.EntityTypesRequestBuilderRequestsMetadata = exports.EntityTypesRequestBu
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("
|
|
8
|
+
const index_js_1 = require("../../../models/index.js");
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.EntityTypesRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
12
|
+
exports.EntityTypesRequestBuilderUriTemplate = "{+baseurl}/api/settings/entityTypes";
|
|
13
13
|
/**
|
|
14
14
|
* Metadata for all the requests in the request builder.
|
|
15
15
|
*/
|
|
@@ -2,7 +2,7 @@ import { type EntityTypesRequestBuilder } from './entityTypes/index.js';
|
|
|
2
2
|
import { type ProfileRequestBuilder } from './profile/index.js';
|
|
3
3
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
4
4
|
/**
|
|
5
|
-
* Builds and executes requests for operations under /api/
|
|
5
|
+
* Builds and executes requests for operations under /api/settings
|
|
6
6
|
*/
|
|
7
7
|
export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsRequestBuilder> {
|
|
8
8
|
/**
|
|
@@ -17,7 +17,7 @@ export interface SettingsRequestBuilder extends BaseRequestBuilder<SettingsReque
|
|
|
17
17
|
/**
|
|
18
18
|
* Uri template for the request builder.
|
|
19
19
|
*/
|
|
20
|
-
export declare const SettingsRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
20
|
+
export declare const SettingsRequestBuilderUriTemplate = "{+baseurl}/api/settings";
|
|
21
21
|
/**
|
|
22
22
|
* Metadata for all the navigation properties in the request builder.
|
|
23
23
|
*/
|
|
@@ -11,7 +11,7 @@ const index_js_2 = require("./profile/index.js");
|
|
|
11
11
|
/**
|
|
12
12
|
* Uri template for the request builder.
|
|
13
13
|
*/
|
|
14
|
-
exports.SettingsRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
14
|
+
exports.SettingsRequestBuilderUriTemplate = "{+baseurl}/api/settings";
|
|
15
15
|
/**
|
|
16
16
|
* Metadata for all the navigation properties in the request builder.
|
|
17
17
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type GetProfileSettingsDto, type ProfileDto } from '
|
|
1
|
+
import { type GetProfileSettingsDto, type ProfileDto } from '../../../models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
|
-
* Builds and executes requests for operations under /api/
|
|
4
|
+
* Builds and executes requests for operations under /api/settings/profile
|
|
5
5
|
*/
|
|
6
6
|
export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequestBuilder> {
|
|
7
7
|
/**
|
|
@@ -42,7 +42,7 @@ export interface ProfileRequestBuilder extends BaseRequestBuilder<ProfileRequest
|
|
|
42
42
|
/**
|
|
43
43
|
* Uri template for the request builder.
|
|
44
44
|
*/
|
|
45
|
-
export declare const ProfileRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
45
|
+
export declare const ProfileRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile";
|
|
46
46
|
/**
|
|
47
47
|
* Metadata for all the requests in the request builder.
|
|
48
48
|
*/
|
|
@@ -5,11 +5,11 @@ exports.ProfileRequestBuilderRequestsMetadata = exports.ProfileRequestBuilderUri
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("
|
|
8
|
+
const index_js_1 = require("../../../models/index.js");
|
|
9
9
|
/**
|
|
10
10
|
* Uri template for the request builder.
|
|
11
11
|
*/
|
|
12
|
-
exports.ProfileRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
12
|
+
exports.ProfileRequestBuilderUriTemplate = "{+baseurl}/api/settings/profile";
|
|
13
13
|
/**
|
|
14
14
|
* Metadata for all the requests in the request builder.
|
|
15
15
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter
|
|
1
|
+
import { type AdditionalDataHolder, type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -59,12 +59,6 @@ export declare function createProblemDetailsFromDiscriminatorValue(parseNode: Pa
|
|
|
59
59
|
* @returns {ProfileDto}
|
|
60
60
|
*/
|
|
61
61
|
export declare function createProfileDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
62
|
-
/**
|
|
63
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
64
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
65
|
-
* @returns {ProfileMappingDto}
|
|
66
|
-
*/
|
|
67
|
-
export declare function createProfileMappingDtoFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
68
62
|
/**
|
|
69
63
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
70
64
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -151,11 +145,6 @@ export declare function deserializeIntoProblemDetails(problemDetails?: Partial<P
|
|
|
151
145
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
152
146
|
*/
|
|
153
147
|
export declare function deserializeIntoProfileDto(profileDto?: Partial<ProfileDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
154
|
-
/**
|
|
155
|
-
* The deserialization information for the current model
|
|
156
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
157
|
-
*/
|
|
158
|
-
export declare function deserializeIntoProfileMappingDto(profileMappingDto?: Partial<ProfileMappingDto> | undefined): Record<string, (node: ParseNode) => void>;
|
|
159
148
|
/**
|
|
160
149
|
* The deserialization information for the current model
|
|
161
150
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
@@ -197,10 +186,6 @@ export interface FieldAttributesDto extends Parsable {
|
|
|
197
186
|
roleId?: string | null;
|
|
198
187
|
}
|
|
199
188
|
export interface FieldDefDto extends Parsable {
|
|
200
|
-
/**
|
|
201
|
-
* The id property
|
|
202
|
-
*/
|
|
203
|
-
id?: string | null;
|
|
204
189
|
/**
|
|
205
190
|
* The meta property
|
|
206
191
|
*/
|
|
@@ -255,22 +240,10 @@ export interface FieldMetaDto extends Parsable {
|
|
|
255
240
|
* The kind property
|
|
256
241
|
*/
|
|
257
242
|
kind?: FieldKind | null;
|
|
258
|
-
/**
|
|
259
|
-
* The multiple property
|
|
260
|
-
*/
|
|
261
|
-
multiple?: boolean | null;
|
|
262
|
-
/**
|
|
263
|
-
* The options property
|
|
264
|
-
*/
|
|
265
|
-
options?: UntypedNode | null;
|
|
266
243
|
/**
|
|
267
244
|
* The required property
|
|
268
245
|
*/
|
|
269
246
|
required?: boolean | null;
|
|
270
|
-
/**
|
|
271
|
-
* The roundsDate property
|
|
272
|
-
*/
|
|
273
|
-
roundsDate?: boolean | null;
|
|
274
247
|
/**
|
|
275
248
|
* The type property
|
|
276
249
|
*/
|
|
@@ -278,9 +251,13 @@ export interface FieldMetaDto extends Parsable {
|
|
|
278
251
|
}
|
|
279
252
|
export interface GetEntityTypesDto extends Parsable {
|
|
280
253
|
/**
|
|
281
|
-
* The
|
|
254
|
+
* The sdmTypes property
|
|
282
255
|
*/
|
|
283
|
-
|
|
256
|
+
sdmTypes?: TypeMetaDefDto[] | null;
|
|
257
|
+
/**
|
|
258
|
+
* The tpTypes property
|
|
259
|
+
*/
|
|
260
|
+
tpTypes?: TypeMetaDefDto[] | null;
|
|
284
261
|
}
|
|
285
262
|
export interface GetProfileSettingsDto extends Parsable {
|
|
286
263
|
/**
|
|
@@ -339,24 +316,6 @@ export interface ProfileDto extends Parsable {
|
|
|
339
316
|
* The id property
|
|
340
317
|
*/
|
|
341
318
|
id?: string | null;
|
|
342
|
-
/**
|
|
343
|
-
* The mappings property
|
|
344
|
-
*/
|
|
345
|
-
mappings?: ProfileMappingDto[] | null;
|
|
346
|
-
}
|
|
347
|
-
export interface ProfileMappingDto extends Parsable {
|
|
348
|
-
/**
|
|
349
|
-
* The enabled property
|
|
350
|
-
*/
|
|
351
|
-
enabled?: boolean | null;
|
|
352
|
-
/**
|
|
353
|
-
* The id property
|
|
354
|
-
*/
|
|
355
|
-
id?: string | null;
|
|
356
|
-
/**
|
|
357
|
-
* The name property
|
|
358
|
-
*/
|
|
359
|
-
name?: string | null;
|
|
360
319
|
/**
|
|
361
320
|
* The typeMappings property
|
|
362
321
|
*/
|
|
@@ -437,11 +396,6 @@ export declare function serializeProblemDetails(writer: SerializationWriter, pro
|
|
|
437
396
|
* @param writer Serialization writer to use to serialize this model
|
|
438
397
|
*/
|
|
439
398
|
export declare function serializeProfileDto(writer: SerializationWriter, profileDto?: Partial<ProfileDto> | undefined | null): void;
|
|
440
|
-
/**
|
|
441
|
-
* Serializes information the current object
|
|
442
|
-
* @param writer Serialization writer to use to serialize this model
|
|
443
|
-
*/
|
|
444
|
-
export declare function serializeProfileMappingDto(writer: SerializationWriter, profileMappingDto?: Partial<ProfileMappingDto> | undefined | null): void;
|
|
445
399
|
/**
|
|
446
400
|
* Serializes information the current object
|
|
447
401
|
* @param writer Serialization writer to use to serialize this model
|
|
@@ -477,10 +431,6 @@ export interface TypeDefDto extends Parsable {
|
|
|
477
431
|
* The id property
|
|
478
432
|
*/
|
|
479
433
|
id?: string | null;
|
|
480
|
-
/**
|
|
481
|
-
* The javaScriptComparator property
|
|
482
|
-
*/
|
|
483
|
-
javaScriptComparator?: string | null;
|
|
484
434
|
/**
|
|
485
435
|
* The kind property
|
|
486
436
|
*/
|
|
@@ -531,7 +481,7 @@ export interface TypeMetaDefDto extends Parsable {
|
|
|
531
481
|
/**
|
|
532
482
|
* The kind property
|
|
533
483
|
*/
|
|
534
|
-
kind?:
|
|
484
|
+
kind?: TypeKind | null;
|
|
535
485
|
/**
|
|
536
486
|
* The name property
|
|
537
487
|
*/
|
|
@@ -544,19 +494,6 @@ export declare const FieldKindObject: {
|
|
|
544
494
|
};
|
|
545
495
|
export declare const FieldMappingTypeObject: {
|
|
546
496
|
readonly ValueFieldMapping: "ValueFieldMapping";
|
|
547
|
-
readonly CollectionFieldMapping: "CollectionFieldMapping";
|
|
548
|
-
readonly ReferenceToStringFieldMapping: "ReferenceToStringFieldMapping";
|
|
549
|
-
readonly TargetprocessDescriptionMapping: "TargetprocessDescriptionMapping";
|
|
550
|
-
readonly CollectionToStringMapping: "CollectionToStringMapping";
|
|
551
|
-
readonly RelationFieldMapping: "RelationFieldMapping";
|
|
552
|
-
readonly EntityStateMapping: "EntityStateMapping";
|
|
553
|
-
readonly JavaScriptFieldMapping: "JavaScriptFieldMapping";
|
|
554
|
-
readonly UserFieldMapping: "UserFieldMapping";
|
|
555
|
-
readonly RoleAssignmentUserFieldMapping: "RoleAssignmentUserFieldMapping";
|
|
556
|
-
readonly RoleEffortFieldMapping: "RoleEffortFieldMapping";
|
|
557
|
-
readonly ConstantFieldMapping: "ConstantFieldMapping";
|
|
558
|
-
readonly RoleAssignmentsFieldMapping: "RoleAssignmentsFieldMapping";
|
|
559
|
-
readonly RoleEffortToRoleEffortFieldMapping: "RoleEffortToRoleEffortFieldMapping";
|
|
560
497
|
};
|
|
561
498
|
export declare const RelationDirectionObject: {
|
|
562
499
|
readonly Inbound: "Inbound";
|
package/dist/models/index.js
CHANGED
|
@@ -11,7 +11,6 @@ exports.createHttpValidationProblemDetails_errorsFromDiscriminatorValue = create
|
|
|
11
11
|
exports.createHttpValidationProblemDetailsFromDiscriminatorValue = createHttpValidationProblemDetailsFromDiscriminatorValue;
|
|
12
12
|
exports.createProblemDetailsFromDiscriminatorValue = createProblemDetailsFromDiscriminatorValue;
|
|
13
13
|
exports.createProfileDtoFromDiscriminatorValue = createProfileDtoFromDiscriminatorValue;
|
|
14
|
-
exports.createProfileMappingDtoFromDiscriminatorValue = createProfileMappingDtoFromDiscriminatorValue;
|
|
15
14
|
exports.createRelationDefRefDtoFromDiscriminatorValue = createRelationDefRefDtoFromDiscriminatorValue;
|
|
16
15
|
exports.createRelationDtoFromDiscriminatorValue = createRelationDtoFromDiscriminatorValue;
|
|
17
16
|
exports.createTypeDefDtoFromDiscriminatorValue = createTypeDefDtoFromDiscriminatorValue;
|
|
@@ -28,7 +27,6 @@ exports.deserializeIntoHttpValidationProblemDetails = deserializeIntoHttpValidat
|
|
|
28
27
|
exports.deserializeIntoHttpValidationProblemDetails_errors = deserializeIntoHttpValidationProblemDetails_errors;
|
|
29
28
|
exports.deserializeIntoProblemDetails = deserializeIntoProblemDetails;
|
|
30
29
|
exports.deserializeIntoProfileDto = deserializeIntoProfileDto;
|
|
31
|
-
exports.deserializeIntoProfileMappingDto = deserializeIntoProfileMappingDto;
|
|
32
30
|
exports.deserializeIntoRelationDefRefDto = deserializeIntoRelationDefRefDto;
|
|
33
31
|
exports.deserializeIntoRelationDto = deserializeIntoRelationDto;
|
|
34
32
|
exports.deserializeIntoTypeDefDto = deserializeIntoTypeDefDto;
|
|
@@ -45,18 +43,12 @@ exports.serializeHttpValidationProblemDetails = serializeHttpValidationProblemDe
|
|
|
45
43
|
exports.serializeHttpValidationProblemDetails_errors = serializeHttpValidationProblemDetails_errors;
|
|
46
44
|
exports.serializeProblemDetails = serializeProblemDetails;
|
|
47
45
|
exports.serializeProfileDto = serializeProfileDto;
|
|
48
|
-
exports.serializeProfileMappingDto = serializeProfileMappingDto;
|
|
49
46
|
exports.serializeRelationDefRefDto = serializeRelationDefRefDto;
|
|
50
47
|
exports.serializeRelationDto = serializeRelationDto;
|
|
51
48
|
exports.serializeTypeDefDto = serializeTypeDefDto;
|
|
52
49
|
exports.serializeTypeDefRefDto = serializeTypeDefRefDto;
|
|
53
50
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
54
51
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
55
|
-
/* tslint:disable */
|
|
56
|
-
/* eslint-disable */
|
|
57
|
-
// Generated by Microsoft Kiota
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
60
52
|
/**
|
|
61
53
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
62
54
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -147,15 +139,6 @@ function createProblemDetailsFromDiscriminatorValue(parseNode) {
|
|
|
147
139
|
function createProfileDtoFromDiscriminatorValue(parseNode) {
|
|
148
140
|
return deserializeIntoProfileDto;
|
|
149
141
|
}
|
|
150
|
-
/**
|
|
151
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
152
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
153
|
-
* @returns {ProfileMappingDto}
|
|
154
|
-
*/
|
|
155
|
-
// @ts-ignore
|
|
156
|
-
function createProfileMappingDtoFromDiscriminatorValue(parseNode) {
|
|
157
|
-
return deserializeIntoProfileMappingDto;
|
|
158
|
-
}
|
|
159
142
|
/**
|
|
160
143
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
161
144
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -228,7 +211,6 @@ function deserializeIntoFieldAttributesDto(fieldAttributesDto = {}) {
|
|
|
228
211
|
// @ts-ignore
|
|
229
212
|
function deserializeIntoFieldDefDto(fieldDefDto = {}) {
|
|
230
213
|
return {
|
|
231
|
-
"id": n => { fieldDefDto.id = n.getStringValue(); },
|
|
232
214
|
"meta": n => { fieldDefDto.meta = n.getObjectValue(createFieldMetaDtoFromDiscriminatorValue); },
|
|
233
215
|
"name": n => { fieldDefDto.name = n.getStringValue(); },
|
|
234
216
|
"path": n => { fieldDefDto.path = n.getStringValue(); },
|
|
@@ -259,10 +241,7 @@ function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
|
259
241
|
"attributes": n => { fieldMetaDto.attributes = n.getObjectValue(createFieldAttributesDtoFromDiscriminatorValue); },
|
|
260
242
|
"isReadonly": n => { fieldMetaDto.isReadonly = n.getBooleanValue(); },
|
|
261
243
|
"kind": n => { fieldMetaDto.kind = n.getEnumValue(exports.FieldKindObject); },
|
|
262
|
-
"multiple": n => { fieldMetaDto.multiple = n.getBooleanValue(); },
|
|
263
|
-
"options": n => { fieldMetaDto.options = n.getObjectValue(kiota_abstractions_1.createUntypedNodeFromDiscriminatorValue); },
|
|
264
244
|
"required": n => { fieldMetaDto.required = n.getBooleanValue(); },
|
|
265
|
-
"roundsDate": n => { fieldMetaDto.roundsDate = n.getBooleanValue(); },
|
|
266
245
|
"type": n => { fieldMetaDto.type = n.getObjectValue(createTypeDefRefDtoFromDiscriminatorValue); },
|
|
267
246
|
};
|
|
268
247
|
}
|
|
@@ -273,7 +252,8 @@ function deserializeIntoFieldMetaDto(fieldMetaDto = {}) {
|
|
|
273
252
|
// @ts-ignore
|
|
274
253
|
function deserializeIntoGetEntityTypesDto(getEntityTypesDto = {}) {
|
|
275
254
|
return {
|
|
276
|
-
"
|
|
255
|
+
"sdmTypes": n => { getEntityTypesDto.sdmTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
256
|
+
"tpTypes": n => { getEntityTypesDto.tpTypes = n.getCollectionOfObjectValues(createTypeMetaDefDtoFromDiscriminatorValue); },
|
|
277
257
|
};
|
|
278
258
|
}
|
|
279
259
|
/**
|
|
@@ -329,20 +309,7 @@ function deserializeIntoProfileDto(profileDto = {}) {
|
|
|
329
309
|
"account": n => { profileDto.account = n.getStringValue(); },
|
|
330
310
|
"enabled": n => { profileDto.enabled = n.getBooleanValue(); },
|
|
331
311
|
"id": n => { profileDto.id = n.getStringValue(); },
|
|
332
|
-
"
|
|
333
|
-
};
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* The deserialization information for the current model
|
|
337
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
338
|
-
*/
|
|
339
|
-
// @ts-ignore
|
|
340
|
-
function deserializeIntoProfileMappingDto(profileMappingDto = {}) {
|
|
341
|
-
return {
|
|
342
|
-
"enabled": n => { profileMappingDto.enabled = n.getBooleanValue(); },
|
|
343
|
-
"id": n => { profileMappingDto.id = n.getStringValue(); },
|
|
344
|
-
"name": n => { profileMappingDto.name = n.getStringValue(); },
|
|
345
|
-
"typeMappings": n => { profileMappingDto.typeMappings = n.getCollectionOfObjectValues(createTypeMappingDtoFromDiscriminatorValue); },
|
|
312
|
+
"typeMappings": n => { profileDto.typeMappings = n.getCollectionOfObjectValues(createTypeMappingDtoFromDiscriminatorValue); },
|
|
346
313
|
};
|
|
347
314
|
}
|
|
348
315
|
/**
|
|
@@ -376,7 +343,6 @@ function deserializeIntoRelationDto(relationDto = {}) {
|
|
|
376
343
|
function deserializeIntoTypeDefDto(typeDefDto = {}) {
|
|
377
344
|
return {
|
|
378
345
|
"id": n => { typeDefDto.id = n.getStringValue(); },
|
|
379
|
-
"javaScriptComparator": n => { typeDefDto.javaScriptComparator = n.getStringValue(); },
|
|
380
346
|
"kind": n => { typeDefDto.kind = n.getEnumValue(exports.TypeKindObject); },
|
|
381
347
|
"name": n => { typeDefDto.name = n.getStringValue(); },
|
|
382
348
|
};
|
|
@@ -414,7 +380,7 @@ function deserializeIntoTypeMetaDefDto(typeMetaDefDto = {}) {
|
|
|
414
380
|
return {
|
|
415
381
|
"fields": n => { typeMetaDefDto.fields = n.getCollectionOfObjectValues(createFieldDefDtoFromDiscriminatorValue); },
|
|
416
382
|
"id": n => { typeMetaDefDto.id = n.getStringValue(); },
|
|
417
|
-
"kind": n => { typeMetaDefDto.kind = n.
|
|
383
|
+
"kind": n => { typeMetaDefDto.kind = n.getEnumValue(exports.TypeKindObject); },
|
|
418
384
|
"name": n => { typeMetaDefDto.name = n.getStringValue(); },
|
|
419
385
|
};
|
|
420
386
|
}
|
|
@@ -436,7 +402,6 @@ function serializeFieldAttributesDto(writer, fieldAttributesDto = {}) {
|
|
|
436
402
|
// @ts-ignore
|
|
437
403
|
function serializeFieldDefDto(writer, fieldDefDto = {}) {
|
|
438
404
|
if (fieldDefDto) {
|
|
439
|
-
writer.writeStringValue("id", fieldDefDto.id);
|
|
440
405
|
writer.writeObjectValue("meta", fieldDefDto.meta, serializeFieldMetaDto);
|
|
441
406
|
writer.writeStringValue("name", fieldDefDto.name);
|
|
442
407
|
writer.writeStringValue("path", fieldDefDto.path);
|
|
@@ -467,10 +432,7 @@ function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
|
467
432
|
writer.writeObjectValue("attributes", fieldMetaDto.attributes, serializeFieldAttributesDto);
|
|
468
433
|
writer.writeBooleanValue("isReadonly", fieldMetaDto.isReadonly);
|
|
469
434
|
writer.writeEnumValue("kind", fieldMetaDto.kind);
|
|
470
|
-
writer.writeBooleanValue("multiple", fieldMetaDto.multiple);
|
|
471
|
-
writer.writeObjectValue("options", fieldMetaDto.options);
|
|
472
435
|
writer.writeBooleanValue("required", fieldMetaDto.required);
|
|
473
|
-
writer.writeBooleanValue("roundsDate", fieldMetaDto.roundsDate);
|
|
474
436
|
writer.writeObjectValue("type", fieldMetaDto.type, serializeTypeDefRefDto);
|
|
475
437
|
}
|
|
476
438
|
}
|
|
@@ -481,7 +443,8 @@ function serializeFieldMetaDto(writer, fieldMetaDto = {}) {
|
|
|
481
443
|
// @ts-ignore
|
|
482
444
|
function serializeGetEntityTypesDto(writer, getEntityTypesDto = {}) {
|
|
483
445
|
if (getEntityTypesDto) {
|
|
484
|
-
writer.writeCollectionOfObjectValues("
|
|
446
|
+
writer.writeCollectionOfObjectValues("sdmTypes", getEntityTypesDto.sdmTypes, serializeTypeMetaDefDto);
|
|
447
|
+
writer.writeCollectionOfObjectValues("tpTypes", getEntityTypesDto.tpTypes, serializeTypeMetaDefDto);
|
|
485
448
|
}
|
|
486
449
|
}
|
|
487
450
|
/**
|
|
@@ -540,20 +503,7 @@ function serializeProfileDto(writer, profileDto = {}) {
|
|
|
540
503
|
writer.writeStringValue("account", profileDto.account);
|
|
541
504
|
writer.writeBooleanValue("enabled", profileDto.enabled);
|
|
542
505
|
writer.writeStringValue("id", profileDto.id);
|
|
543
|
-
writer.writeCollectionOfObjectValues("
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
/**
|
|
547
|
-
* Serializes information the current object
|
|
548
|
-
* @param writer Serialization writer to use to serialize this model
|
|
549
|
-
*/
|
|
550
|
-
// @ts-ignore
|
|
551
|
-
function serializeProfileMappingDto(writer, profileMappingDto = {}) {
|
|
552
|
-
if (profileMappingDto) {
|
|
553
|
-
writer.writeBooleanValue("enabled", profileMappingDto.enabled);
|
|
554
|
-
writer.writeStringValue("id", profileMappingDto.id);
|
|
555
|
-
writer.writeStringValue("name", profileMappingDto.name);
|
|
556
|
-
writer.writeCollectionOfObjectValues("typeMappings", profileMappingDto.typeMappings, serializeTypeMappingDto);
|
|
506
|
+
writer.writeCollectionOfObjectValues("typeMappings", profileDto.typeMappings, serializeTypeMappingDto);
|
|
557
507
|
}
|
|
558
508
|
}
|
|
559
509
|
/**
|
|
@@ -587,7 +537,6 @@ function serializeRelationDto(writer, relationDto = {}) {
|
|
|
587
537
|
function serializeTypeDefDto(writer, typeDefDto = {}) {
|
|
588
538
|
if (typeDefDto) {
|
|
589
539
|
writer.writeStringValue("id", typeDefDto.id);
|
|
590
|
-
writer.writeStringValue("javaScriptComparator", typeDefDto.javaScriptComparator);
|
|
591
540
|
writer.writeEnumValue("kind", typeDefDto.kind);
|
|
592
541
|
writer.writeStringValue("name", typeDefDto.name);
|
|
593
542
|
}
|
|
@@ -625,7 +574,7 @@ function serializeTypeMetaDefDto(writer, typeMetaDefDto = {}) {
|
|
|
625
574
|
if (typeMetaDefDto) {
|
|
626
575
|
writer.writeCollectionOfObjectValues("fields", typeMetaDefDto.fields, serializeFieldDefDto);
|
|
627
576
|
writer.writeStringValue("id", typeMetaDefDto.id);
|
|
628
|
-
writer.
|
|
577
|
+
writer.writeEnumValue("kind", typeMetaDefDto.kind);
|
|
629
578
|
writer.writeStringValue("name", typeMetaDefDto.name);
|
|
630
579
|
}
|
|
631
580
|
}
|
|
@@ -636,19 +585,6 @@ exports.FieldKindObject = {
|
|
|
636
585
|
};
|
|
637
586
|
exports.FieldMappingTypeObject = {
|
|
638
587
|
ValueFieldMapping: "ValueFieldMapping",
|
|
639
|
-
CollectionFieldMapping: "CollectionFieldMapping",
|
|
640
|
-
ReferenceToStringFieldMapping: "ReferenceToStringFieldMapping",
|
|
641
|
-
TargetprocessDescriptionMapping: "TargetprocessDescriptionMapping",
|
|
642
|
-
CollectionToStringMapping: "CollectionToStringMapping",
|
|
643
|
-
RelationFieldMapping: "RelationFieldMapping",
|
|
644
|
-
EntityStateMapping: "EntityStateMapping",
|
|
645
|
-
JavaScriptFieldMapping: "JavaScriptFieldMapping",
|
|
646
|
-
UserFieldMapping: "UserFieldMapping",
|
|
647
|
-
RoleAssignmentUserFieldMapping: "RoleAssignmentUserFieldMapping",
|
|
648
|
-
RoleEffortFieldMapping: "RoleEffortFieldMapping",
|
|
649
|
-
ConstantFieldMapping: "ConstantFieldMapping",
|
|
650
|
-
RoleAssignmentsFieldMapping: "RoleAssignmentsFieldMapping",
|
|
651
|
-
RoleEffortToRoleEffortFieldMapping: "RoleEffortToRoleEffortFieldMapping",
|
|
652
588
|
};
|
|
653
589
|
exports.RelationDirectionObject = {
|
|
654
590
|
Inbound: "Inbound",
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
// Generated by Microsoft Kiota
|
|
4
4
|
// @ts-ignore
|
|
5
|
-
import { type
|
|
5
|
+
import { SdmRequestBuilderNavigationMetadata, type SdmRequestBuilder } from './sdm/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { SettingsRequestBuilderNavigationMetadata, type SettingsRequestBuilder } from './settings/index.js';
|
|
6
8
|
// @ts-ignore
|
|
7
9
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
8
10
|
|
|
@@ -11,9 +13,13 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
11
13
|
*/
|
|
12
14
|
export interface ApiRequestBuilder extends BaseRequestBuilder<ApiRequestBuilder> {
|
|
13
15
|
/**
|
|
14
|
-
* The
|
|
16
|
+
* The sdm property
|
|
17
|
+
*/
|
|
18
|
+
get sdm(): SdmRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The settings property
|
|
15
21
|
*/
|
|
16
|
-
get
|
|
22
|
+
get settings(): SettingsRequestBuilder;
|
|
17
23
|
}
|
|
18
24
|
/**
|
|
19
25
|
* Uri template for the request builder.
|
|
@@ -23,8 +29,11 @@ export const ApiRequestBuilderUriTemplate = "{+baseurl}/api";
|
|
|
23
29
|
* Metadata for all the navigation properties in the request builder.
|
|
24
30
|
*/
|
|
25
31
|
export const ApiRequestBuilderNavigationMetadata: Record<Exclude<keyof ApiRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
26
|
-
|
|
27
|
-
navigationMetadata:
|
|
32
|
+
sdm: {
|
|
33
|
+
navigationMetadata: SdmRequestBuilderNavigationMetadata,
|
|
34
|
+
},
|
|
35
|
+
settings: {
|
|
36
|
+
navigationMetadata: SettingsRequestBuilderNavigationMetadata,
|
|
28
37
|
},
|
|
29
38
|
};
|
|
30
39
|
/* tslint:enable */
|
|
@@ -7,11 +7,11 @@ import { type WithEntityTypeItemRequestBuilder, WithEntityTypeItemRequestBuilder
|
|
|
7
7
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Builds and executes requests for operations under /api/
|
|
10
|
+
* Builds and executes requests for operations under /api/sdm
|
|
11
11
|
*/
|
|
12
12
|
export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder> {
|
|
13
13
|
/**
|
|
14
|
-
* Gets an item from the Tp.api.
|
|
14
|
+
* Gets an item from the Tp.api.sdm.item collection
|
|
15
15
|
* @param entityType Unique identifier of the item
|
|
16
16
|
* @returns {WithEntityTypeItemRequestBuilder}
|
|
17
17
|
*/
|
|
@@ -20,7 +20,7 @@ export interface SdmRequestBuilder extends BaseRequestBuilder<SdmRequestBuilder>
|
|
|
20
20
|
/**
|
|
21
21
|
* Uri template for the request builder.
|
|
22
22
|
*/
|
|
23
|
-
export const SdmRequestBuilderUriTemplate = "{+baseurl}/api/
|
|
23
|
+
export const SdmRequestBuilderUriTemplate = "{+baseurl}/api/sdm";
|
|
24
24
|
/**
|
|
25
25
|
* Metadata for all the navigation properties in the request builder.
|
|
26
26
|
*/
|