@targetprocess/shared-data-model-client 1.56.0-ci.0 → 1.56.0
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/models/index.d.ts +0 -120
- package/dist/models/index.js +0 -126
- package/dist/tpSharedDataModelClient.d.ts +0 -5
- package/dist/tpSharedDataModelClient.js +2 -7
- package/package.json +1 -1
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +0 -174
- package/src/tpSharedDataModelClient.ts +0 -9
- package/src/v1.json +0 -351
- package/dist/cognifyContext/index.d.ts +0 -24
- package/dist/cognifyContext/index.js +0 -28
- package/dist/cognifyContext/organizationContext/index.d.ts +0 -37
- package/dist/cognifyContext/organizationContext/index.js +0 -32
- package/dist/cognifyContext/skills/index.d.ts +0 -61
- package/dist/cognifyContext/skills/index.js +0 -43
- package/dist/cognifyContext/skills/item/index.d.ts +0 -47
- package/dist/cognifyContext/skills/item/index.js +0 -37
- package/src/cognifyContext/index.ts +0 -41
- package/src/cognifyContext/organizationContext/index.ts +0 -59
- package/src/cognifyContext/skills/index.ts +0 -89
- package/src/cognifyContext/skills/item/index.ts +0 -74
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkillsItemRequestBuilderRequestsMetadata = exports.SkillsItemRequestBuilderUriTemplate = void 0;
|
|
4
|
-
/* tslint:disable */
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
// Generated by Microsoft Kiota
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("../../../models/index.js");
|
|
9
|
-
/**
|
|
10
|
-
* Uri template for the request builder.
|
|
11
|
-
*/
|
|
12
|
-
exports.SkillsItemRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills/{id}";
|
|
13
|
-
/**
|
|
14
|
-
* Metadata for all the requests in the request builder.
|
|
15
|
-
*/
|
|
16
|
-
exports.SkillsItemRequestBuilderRequestsMetadata = {
|
|
17
|
-
delete: {
|
|
18
|
-
uriTemplate: exports.SkillsItemRequestBuilderUriTemplate,
|
|
19
|
-
adapterMethodName: "sendPrimitive",
|
|
20
|
-
responseBodyFactory: "ArrayBuffer",
|
|
21
|
-
},
|
|
22
|
-
get: {
|
|
23
|
-
uriTemplate: exports.SkillsItemRequestBuilderUriTemplate,
|
|
24
|
-
adapterMethodName: "sendPrimitive",
|
|
25
|
-
responseBodyFactory: "ArrayBuffer",
|
|
26
|
-
},
|
|
27
|
-
put: {
|
|
28
|
-
uriTemplate: exports.SkillsItemRequestBuilderUriTemplate,
|
|
29
|
-
adapterMethodName: "sendPrimitive",
|
|
30
|
-
responseBodyFactory: "ArrayBuffer",
|
|
31
|
-
requestBodyContentType: "application/json",
|
|
32
|
-
requestBodySerializer: index_js_1.serializeUpdateSkillRequest,
|
|
33
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
/* tslint:enable */
|
|
37
|
-
/* eslint-enable */
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { OrganizationContextRequestBuilderRequestsMetadata, type OrganizationContextRequestBuilder } from './organizationContext/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { SkillsRequestBuilderNavigationMetadata, SkillsRequestBuilderRequestsMetadata, type SkillsRequestBuilder } from './skills/index.js';
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Builds and executes requests for operations under /cognify-context
|
|
13
|
-
*/
|
|
14
|
-
export interface CognifyContextRequestBuilder extends BaseRequestBuilder<CognifyContextRequestBuilder> {
|
|
15
|
-
/**
|
|
16
|
-
* The organizationContext property
|
|
17
|
-
*/
|
|
18
|
-
get organizationContext(): OrganizationContextRequestBuilder;
|
|
19
|
-
/**
|
|
20
|
-
* The skills property
|
|
21
|
-
*/
|
|
22
|
-
get skills(): SkillsRequestBuilder;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Uri template for the request builder.
|
|
26
|
-
*/
|
|
27
|
-
export const CognifyContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context";
|
|
28
|
-
/**
|
|
29
|
-
* Metadata for all the navigation properties in the request builder.
|
|
30
|
-
*/
|
|
31
|
-
export const CognifyContextRequestBuilderNavigationMetadata: Record<Exclude<keyof CognifyContextRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
32
|
-
organizationContext: {
|
|
33
|
-
requestsMetadata: OrganizationContextRequestBuilderRequestsMetadata,
|
|
34
|
-
},
|
|
35
|
-
skills: {
|
|
36
|
-
requestsMetadata: SkillsRequestBuilderRequestsMetadata,
|
|
37
|
-
navigationMetadata: SkillsRequestBuilderNavigationMetadata,
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
/* tslint:enable */
|
|
41
|
-
/* eslint-enable */
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { serializeUpsertOrganizationContextRequest, type UpsertOrganizationContextRequest } from '../../models/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Builds and executes requests for operations under /cognify-context/organization-context
|
|
11
|
-
*/
|
|
12
|
-
export interface OrganizationContextRequestBuilder extends BaseRequestBuilder<OrganizationContextRequestBuilder> {
|
|
13
|
-
/**
|
|
14
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns {Promise<ArrayBuffer>}
|
|
16
|
-
*/
|
|
17
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
18
|
-
/**
|
|
19
|
-
* @param body Request DTO for creating/updating organization context.
|
|
20
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
-
* @returns {Promise<ArrayBuffer>}
|
|
22
|
-
*/
|
|
23
|
-
put(body: UpsertOrganizationContextRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
24
|
-
/**
|
|
25
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
-
* @returns {RequestInformation}
|
|
27
|
-
*/
|
|
28
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
29
|
-
/**
|
|
30
|
-
* @param body Request DTO for creating/updating organization context.
|
|
31
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
32
|
-
* @returns {RequestInformation}
|
|
33
|
-
*/
|
|
34
|
-
toPutRequestInformation(body: UpsertOrganizationContextRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Uri template for the request builder.
|
|
38
|
-
*/
|
|
39
|
-
export const OrganizationContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context/organization-context";
|
|
40
|
-
/**
|
|
41
|
-
* Metadata for all the requests in the request builder.
|
|
42
|
-
*/
|
|
43
|
-
export const OrganizationContextRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
44
|
-
get: {
|
|
45
|
-
uriTemplate: OrganizationContextRequestBuilderUriTemplate,
|
|
46
|
-
adapterMethodName: "sendPrimitive",
|
|
47
|
-
responseBodyFactory: "ArrayBuffer",
|
|
48
|
-
},
|
|
49
|
-
put: {
|
|
50
|
-
uriTemplate: OrganizationContextRequestBuilderUriTemplate,
|
|
51
|
-
adapterMethodName: "sendPrimitive",
|
|
52
|
-
responseBodyFactory: "ArrayBuffer",
|
|
53
|
-
requestBodyContentType: "application/json",
|
|
54
|
-
requestBodySerializer: serializeUpsertOrganizationContextRequest,
|
|
55
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
/* tslint:enable */
|
|
59
|
-
/* eslint-enable */
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { serializeCreateSkillRequest, type CreateSkillRequest } from '../../models/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { SkillsItemRequestBuilderRequestsMetadata, type SkillsItemRequestBuilder } from './item/index.js';
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Builds and executes requests for operations under /cognify-context/skills
|
|
13
|
-
*/
|
|
14
|
-
export interface SkillsRequestBuilder extends BaseRequestBuilder<SkillsRequestBuilder> {
|
|
15
|
-
/**
|
|
16
|
-
* Gets an item from the Tp.cognifyContext.skills.item collection
|
|
17
|
-
* @param id Unique identifier of the item
|
|
18
|
-
* @returns {SkillsItemRequestBuilder}
|
|
19
|
-
*/
|
|
20
|
-
byId(id: string) : SkillsItemRequestBuilder;
|
|
21
|
-
/**
|
|
22
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
23
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns {Promise<ArrayBuffer>}
|
|
25
|
-
*/
|
|
26
|
-
get(requestConfiguration?: RequestConfiguration<SkillsRequestBuilderGetQueryParameters> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
27
|
-
/**
|
|
28
|
-
* @param body Request DTO for creating a skill.
|
|
29
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
-
* @returns {Promise<ArrayBuffer>}
|
|
31
|
-
*/
|
|
32
|
-
post(body: CreateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
35
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
-
* @returns {RequestInformation}
|
|
37
|
-
*/
|
|
38
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SkillsRequestBuilderGetQueryParameters> | undefined) : RequestInformation;
|
|
39
|
-
/**
|
|
40
|
-
* @param body Request DTO for creating a skill.
|
|
41
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
-
* @returns {RequestInformation}
|
|
43
|
-
*/
|
|
44
|
-
toPostRequestInformation(body: CreateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
48
|
-
*/
|
|
49
|
-
export interface SkillsRequestBuilderGetQueryParameters {
|
|
50
|
-
enabledOnly?: boolean;
|
|
51
|
-
limit?: number;
|
|
52
|
-
offset?: number;
|
|
53
|
-
search?: string;
|
|
54
|
-
sortBy?: string;
|
|
55
|
-
sortDirection?: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Uri template for the request builder.
|
|
59
|
-
*/
|
|
60
|
-
export const SkillsRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills{?enabledOnly*,limit*,offset*,search*,sortBy*,sortDirection*}";
|
|
61
|
-
/**
|
|
62
|
-
* Metadata for all the navigation properties in the request builder.
|
|
63
|
-
*/
|
|
64
|
-
export const SkillsRequestBuilderNavigationMetadata: Record<Exclude<keyof SkillsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata> = {
|
|
65
|
-
byId: {
|
|
66
|
-
requestsMetadata: SkillsItemRequestBuilderRequestsMetadata,
|
|
67
|
-
pathParametersMappings: ["id"],
|
|
68
|
-
},
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Metadata for all the requests in the request builder.
|
|
72
|
-
*/
|
|
73
|
-
export const SkillsRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
74
|
-
get: {
|
|
75
|
-
uriTemplate: SkillsRequestBuilderUriTemplate,
|
|
76
|
-
adapterMethodName: "sendPrimitive",
|
|
77
|
-
responseBodyFactory: "ArrayBuffer",
|
|
78
|
-
},
|
|
79
|
-
post: {
|
|
80
|
-
uriTemplate: SkillsRequestBuilderUriTemplate,
|
|
81
|
-
adapterMethodName: "sendPrimitive",
|
|
82
|
-
responseBodyFactory: "ArrayBuffer",
|
|
83
|
-
requestBodyContentType: "application/json",
|
|
84
|
-
requestBodySerializer: serializeCreateSkillRequest,
|
|
85
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
86
|
-
},
|
|
87
|
-
};
|
|
88
|
-
/* tslint:enable */
|
|
89
|
-
/* eslint-enable */
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// Generated by Microsoft Kiota
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import { serializeUpdateSkillRequest, type UpdateSkillRequest } from '../../../models/index.js';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import { type BaseRequestBuilder, type Parsable, type ParsableFactory, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Builds and executes requests for operations under /cognify-context/skills/{id}
|
|
11
|
-
*/
|
|
12
|
-
export interface SkillsItemRequestBuilder extends BaseRequestBuilder<SkillsItemRequestBuilder> {
|
|
13
|
-
/**
|
|
14
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns {Promise<ArrayBuffer>}
|
|
16
|
-
*/
|
|
17
|
-
delete(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
18
|
-
/**
|
|
19
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
-
* @returns {Promise<ArrayBuffer>}
|
|
21
|
-
*/
|
|
22
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
23
|
-
/**
|
|
24
|
-
* @param body Request DTO for updating a skill.
|
|
25
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
-
* @returns {Promise<ArrayBuffer>}
|
|
27
|
-
*/
|
|
28
|
-
put(body: UpdateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ArrayBuffer | undefined>;
|
|
29
|
-
/**
|
|
30
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
-
* @returns {RequestInformation}
|
|
32
|
-
*/
|
|
33
|
-
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
34
|
-
/**
|
|
35
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
-
* @returns {RequestInformation}
|
|
37
|
-
*/
|
|
38
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
39
|
-
/**
|
|
40
|
-
* @param body Request DTO for updating a skill.
|
|
41
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
-
* @returns {RequestInformation}
|
|
43
|
-
*/
|
|
44
|
-
toPutRequestInformation(body: UpdateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Uri template for the request builder.
|
|
48
|
-
*/
|
|
49
|
-
export const SkillsItemRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills/{id}";
|
|
50
|
-
/**
|
|
51
|
-
* Metadata for all the requests in the request builder.
|
|
52
|
-
*/
|
|
53
|
-
export const SkillsItemRequestBuilderRequestsMetadata: RequestsMetadata = {
|
|
54
|
-
delete: {
|
|
55
|
-
uriTemplate: SkillsItemRequestBuilderUriTemplate,
|
|
56
|
-
adapterMethodName: "sendPrimitive",
|
|
57
|
-
responseBodyFactory: "ArrayBuffer",
|
|
58
|
-
},
|
|
59
|
-
get: {
|
|
60
|
-
uriTemplate: SkillsItemRequestBuilderUriTemplate,
|
|
61
|
-
adapterMethodName: "sendPrimitive",
|
|
62
|
-
responseBodyFactory: "ArrayBuffer",
|
|
63
|
-
},
|
|
64
|
-
put: {
|
|
65
|
-
uriTemplate: SkillsItemRequestBuilderUriTemplate,
|
|
66
|
-
adapterMethodName: "sendPrimitive",
|
|
67
|
-
responseBodyFactory: "ArrayBuffer",
|
|
68
|
-
requestBodyContentType: "application/json",
|
|
69
|
-
requestBodySerializer: serializeUpdateSkillRequest,
|
|
70
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
/* tslint:enable */
|
|
74
|
-
/* eslint-enable */
|