@targetprocess/shared-data-model-client 1.55.0 → 1.56.0-ci.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/cognifyContext/index.d.ts +24 -0
- package/dist/cognifyContext/index.js +28 -0
- package/dist/cognifyContext/organizationContext/index.d.ts +37 -0
- package/dist/cognifyContext/organizationContext/index.js +32 -0
- package/dist/cognifyContext/skills/index.d.ts +61 -0
- package/dist/cognifyContext/skills/index.js +43 -0
- package/dist/cognifyContext/skills/item/index.d.ts +47 -0
- package/dist/cognifyContext/skills/item/index.js +37 -0
- package/dist/models/index.d.ts +120 -0
- package/dist/models/index.js +126 -0
- package/dist/tpSharedDataModelClient.d.ts +5 -0
- package/dist/tpSharedDataModelClient.js +7 -2
- package/package.json +1 -1
- package/src/cognifyContext/index.ts +41 -0
- package/src/cognifyContext/organizationContext/index.ts +59 -0
- package/src/cognifyContext/skills/index.ts +89 -0
- package/src/cognifyContext/skills/item/index.ts +74 -0
- package/src/kiota-lock.json +1 -1
- package/src/models/index.ts +174 -0
- package/src/tpSharedDataModelClient.ts +9 -0
- package/src/v1.json +351 -0
package/dist/models/index.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ValidationStateObject = exports.RefKindObject = exports.FieldMappingKindObject = exports.CacheCategoryObject = void 0;
|
|
4
4
|
exports.createCleanCacheRequestDtoFromDiscriminatorValue = createCleanCacheRequestDtoFromDiscriminatorValue;
|
|
5
5
|
exports.createCopyCurrentProfileRequestDtoFromDiscriminatorValue = createCopyCurrentProfileRequestDtoFromDiscriminatorValue;
|
|
6
|
+
exports.createCreateSkillRequestFromDiscriminatorValue = createCreateSkillRequestFromDiscriminatorValue;
|
|
6
7
|
exports.createDeleteProfileRequestDtoFromDiscriminatorValue = createDeleteProfileRequestDtoFromDiscriminatorValue;
|
|
7
8
|
exports.createFieldDefDtoFromDiscriminatorValue = createFieldDefDtoFromDiscriminatorValue;
|
|
8
9
|
exports.createFieldMappingDtoFromDiscriminatorValue = createFieldMappingDtoFromDiscriminatorValue;
|
|
@@ -29,11 +30,14 @@ exports.createTpTypeMetaDefDtoFromDiscriminatorValue = createTpTypeMetaDefDtoFro
|
|
|
29
30
|
exports.createTypeMappingDtoFromDiscriminatorValue = createTypeMappingDtoFromDiscriminatorValue;
|
|
30
31
|
exports.createTypeMetaDefDtoFromDiscriminatorValue = createTypeMetaDefDtoFromDiscriminatorValue;
|
|
31
32
|
exports.createTypeTermDtoFromDiscriminatorValue = createTypeTermDtoFromDiscriminatorValue;
|
|
33
|
+
exports.createUpdateSkillRequestFromDiscriminatorValue = createUpdateSkillRequestFromDiscriminatorValue;
|
|
34
|
+
exports.createUpsertOrganizationContextRequestFromDiscriminatorValue = createUpsertOrganizationContextRequestFromDiscriminatorValue;
|
|
32
35
|
exports.createValidatedFieldMappingDtoFromDiscriminatorValue = createValidatedFieldMappingDtoFromDiscriminatorValue;
|
|
33
36
|
exports.createValidatedProfileDtoFromDiscriminatorValue = createValidatedProfileDtoFromDiscriminatorValue;
|
|
34
37
|
exports.createValidatedTypeMappingDtoFromDiscriminatorValue = createValidatedTypeMappingDtoFromDiscriminatorValue;
|
|
35
38
|
exports.deserializeIntoCleanCacheRequestDto = deserializeIntoCleanCacheRequestDto;
|
|
36
39
|
exports.deserializeIntoCopyCurrentProfileRequestDto = deserializeIntoCopyCurrentProfileRequestDto;
|
|
40
|
+
exports.deserializeIntoCreateSkillRequest = deserializeIntoCreateSkillRequest;
|
|
37
41
|
exports.deserializeIntoDeleteProfileRequestDto = deserializeIntoDeleteProfileRequestDto;
|
|
38
42
|
exports.deserializeIntoFieldDefDto = deserializeIntoFieldDefDto;
|
|
39
43
|
exports.deserializeIntoFieldMappingDto = deserializeIntoFieldMappingDto;
|
|
@@ -60,11 +64,14 @@ exports.deserializeIntoTpTypeMetaDefDto = deserializeIntoTpTypeMetaDefDto;
|
|
|
60
64
|
exports.deserializeIntoTypeMappingDto = deserializeIntoTypeMappingDto;
|
|
61
65
|
exports.deserializeIntoTypeMetaDefDto = deserializeIntoTypeMetaDefDto;
|
|
62
66
|
exports.deserializeIntoTypeTermDto = deserializeIntoTypeTermDto;
|
|
67
|
+
exports.deserializeIntoUpdateSkillRequest = deserializeIntoUpdateSkillRequest;
|
|
68
|
+
exports.deserializeIntoUpsertOrganizationContextRequest = deserializeIntoUpsertOrganizationContextRequest;
|
|
63
69
|
exports.deserializeIntoValidatedFieldMappingDto = deserializeIntoValidatedFieldMappingDto;
|
|
64
70
|
exports.deserializeIntoValidatedProfileDto = deserializeIntoValidatedProfileDto;
|
|
65
71
|
exports.deserializeIntoValidatedTypeMappingDto = deserializeIntoValidatedTypeMappingDto;
|
|
66
72
|
exports.serializeCleanCacheRequestDto = serializeCleanCacheRequestDto;
|
|
67
73
|
exports.serializeCopyCurrentProfileRequestDto = serializeCopyCurrentProfileRequestDto;
|
|
74
|
+
exports.serializeCreateSkillRequest = serializeCreateSkillRequest;
|
|
68
75
|
exports.serializeDeleteProfileRequestDto = serializeDeleteProfileRequestDto;
|
|
69
76
|
exports.serializeFieldDefDto = serializeFieldDefDto;
|
|
70
77
|
exports.serializeFieldMappingDto = serializeFieldMappingDto;
|
|
@@ -91,6 +98,8 @@ exports.serializeTpTypeMetaDefDto = serializeTpTypeMetaDefDto;
|
|
|
91
98
|
exports.serializeTypeMappingDto = serializeTypeMappingDto;
|
|
92
99
|
exports.serializeTypeMetaDefDto = serializeTypeMetaDefDto;
|
|
93
100
|
exports.serializeTypeTermDto = serializeTypeTermDto;
|
|
101
|
+
exports.serializeUpdateSkillRequest = serializeUpdateSkillRequest;
|
|
102
|
+
exports.serializeUpsertOrganizationContextRequest = serializeUpsertOrganizationContextRequest;
|
|
94
103
|
exports.serializeValidatedFieldMappingDto = serializeValidatedFieldMappingDto;
|
|
95
104
|
exports.serializeValidatedProfileDto = serializeValidatedProfileDto;
|
|
96
105
|
exports.serializeValidatedTypeMappingDto = serializeValidatedTypeMappingDto;
|
|
@@ -117,6 +126,15 @@ function createCleanCacheRequestDtoFromDiscriminatorValue(parseNode) {
|
|
|
117
126
|
function createCopyCurrentProfileRequestDtoFromDiscriminatorValue(parseNode) {
|
|
118
127
|
return deserializeIntoCopyCurrentProfileRequestDto;
|
|
119
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
131
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
132
|
+
* @returns {CreateSkillRequest}
|
|
133
|
+
*/
|
|
134
|
+
// @ts-ignore
|
|
135
|
+
function createCreateSkillRequestFromDiscriminatorValue(parseNode) {
|
|
136
|
+
return deserializeIntoCreateSkillRequest;
|
|
137
|
+
}
|
|
120
138
|
/**
|
|
121
139
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
122
140
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -399,6 +417,24 @@ function createTypeMetaDefDtoFromDiscriminatorValue(parseNode) {
|
|
|
399
417
|
function createTypeTermDtoFromDiscriminatorValue(parseNode) {
|
|
400
418
|
return deserializeIntoTypeTermDto;
|
|
401
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
422
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
423
|
+
* @returns {UpdateSkillRequest}
|
|
424
|
+
*/
|
|
425
|
+
// @ts-ignore
|
|
426
|
+
function createUpdateSkillRequestFromDiscriminatorValue(parseNode) {
|
|
427
|
+
return deserializeIntoUpdateSkillRequest;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
431
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
432
|
+
* @returns {UpsertOrganizationContextRequest}
|
|
433
|
+
*/
|
|
434
|
+
// @ts-ignore
|
|
435
|
+
function createUpsertOrganizationContextRequestFromDiscriminatorValue(parseNode) {
|
|
436
|
+
return deserializeIntoUpsertOrganizationContextRequest;
|
|
437
|
+
}
|
|
402
438
|
/**
|
|
403
439
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
404
440
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -448,6 +484,21 @@ function deserializeIntoCopyCurrentProfileRequestDto(copyCurrentProfileRequestDt
|
|
|
448
484
|
"profileName": n => { copyCurrentProfileRequestDto.profileName = n.getStringValue(); },
|
|
449
485
|
};
|
|
450
486
|
}
|
|
487
|
+
/**
|
|
488
|
+
* The deserialization information for the current model
|
|
489
|
+
* @param CreateSkillRequest The instance to deserialize into.
|
|
490
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
491
|
+
*/
|
|
492
|
+
// @ts-ignore
|
|
493
|
+
function deserializeIntoCreateSkillRequest(createSkillRequest = {}) {
|
|
494
|
+
return {
|
|
495
|
+
"body": n => { createSkillRequest.body = n.getStringValue(); },
|
|
496
|
+
"description": n => { createSkillRequest.description = n.getStringValue(); },
|
|
497
|
+
"isEnabled": n => { createSkillRequest.isEnabled = n.getBooleanValue(); },
|
|
498
|
+
"mcpServers": n => { createSkillRequest.mcpServers = n.getCollectionOfPrimitiveValues("string"); },
|
|
499
|
+
"name": n => { createSkillRequest.name = n.getStringValue(); },
|
|
500
|
+
};
|
|
501
|
+
}
|
|
451
502
|
/**
|
|
452
503
|
* The deserialization information for the current model
|
|
453
504
|
* @param DeleteProfileRequestDto The instance to deserialize into.
|
|
@@ -793,6 +844,33 @@ function deserializeIntoTypeTermDto(typeTermDto = {}) {
|
|
|
793
844
|
"term": n => { typeTermDto.term = n.getStringValue(); },
|
|
794
845
|
};
|
|
795
846
|
}
|
|
847
|
+
/**
|
|
848
|
+
* The deserialization information for the current model
|
|
849
|
+
* @param UpdateSkillRequest The instance to deserialize into.
|
|
850
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
851
|
+
*/
|
|
852
|
+
// @ts-ignore
|
|
853
|
+
function deserializeIntoUpdateSkillRequest(updateSkillRequest = {}) {
|
|
854
|
+
return {
|
|
855
|
+
"body": n => { updateSkillRequest.body = n.getStringValue(); },
|
|
856
|
+
"description": n => { updateSkillRequest.description = n.getStringValue(); },
|
|
857
|
+
"isEnabled": n => { updateSkillRequest.isEnabled = n.getBooleanValue(); },
|
|
858
|
+
"mcpServers": n => { updateSkillRequest.mcpServers = n.getCollectionOfPrimitiveValues("string"); },
|
|
859
|
+
"name": n => { updateSkillRequest.name = n.getStringValue(); },
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* The deserialization information for the current model
|
|
864
|
+
* @param UpsertOrganizationContextRequest The instance to deserialize into.
|
|
865
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
866
|
+
*/
|
|
867
|
+
// @ts-ignore
|
|
868
|
+
function deserializeIntoUpsertOrganizationContextRequest(upsertOrganizationContextRequest = {}) {
|
|
869
|
+
return {
|
|
870
|
+
"contextText": n => { upsertOrganizationContextRequest.contextText = n.getStringValue(); },
|
|
871
|
+
"isEnabled": n => { upsertOrganizationContextRequest.isEnabled = n.getBooleanValue(); },
|
|
872
|
+
};
|
|
873
|
+
}
|
|
796
874
|
/**
|
|
797
875
|
* The deserialization information for the current model
|
|
798
876
|
* @param ValidatedFieldMappingDto The instance to deserialize into.
|
|
@@ -860,6 +938,23 @@ function serializeCopyCurrentProfileRequestDto(writer, copyCurrentProfileRequest
|
|
|
860
938
|
}
|
|
861
939
|
writer.writeStringValue("profileName", copyCurrentProfileRequestDto.profileName);
|
|
862
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
* Serializes information the current object
|
|
943
|
+
* @param CreateSkillRequest The instance to serialize from.
|
|
944
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
945
|
+
* @param writer Serialization writer to use to serialize this model
|
|
946
|
+
*/
|
|
947
|
+
// @ts-ignore
|
|
948
|
+
function serializeCreateSkillRequest(writer, createSkillRequest = {}, isSerializingDerivedType = false) {
|
|
949
|
+
if (!createSkillRequest || isSerializingDerivedType) {
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
writer.writeStringValue("body", createSkillRequest.body);
|
|
953
|
+
writer.writeStringValue("description", createSkillRequest.description);
|
|
954
|
+
writer.writeBooleanValue("isEnabled", createSkillRequest.isEnabled);
|
|
955
|
+
writer.writeCollectionOfPrimitiveValues("mcpServers", createSkillRequest.mcpServers);
|
|
956
|
+
writer.writeStringValue("name", createSkillRequest.name);
|
|
957
|
+
}
|
|
863
958
|
/**
|
|
864
959
|
* Serializes information the current object
|
|
865
960
|
* @param DeleteProfileRequestDto The instance to serialize from.
|
|
@@ -1283,6 +1378,37 @@ function serializeTypeTermDto(writer, typeTermDto = {}, isSerializingDerivedType
|
|
|
1283
1378
|
writer.writeCollectionOfPrimitiveValues("processIds", typeTermDto.processIds);
|
|
1284
1379
|
writer.writeStringValue("term", typeTermDto.term);
|
|
1285
1380
|
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Serializes information the current object
|
|
1383
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1384
|
+
* @param UpdateSkillRequest The instance to serialize from.
|
|
1385
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1386
|
+
*/
|
|
1387
|
+
// @ts-ignore
|
|
1388
|
+
function serializeUpdateSkillRequest(writer, updateSkillRequest = {}, isSerializingDerivedType = false) {
|
|
1389
|
+
if (!updateSkillRequest || isSerializingDerivedType) {
|
|
1390
|
+
return;
|
|
1391
|
+
}
|
|
1392
|
+
writer.writeStringValue("body", updateSkillRequest.body);
|
|
1393
|
+
writer.writeStringValue("description", updateSkillRequest.description);
|
|
1394
|
+
writer.writeBooleanValue("isEnabled", updateSkillRequest.isEnabled);
|
|
1395
|
+
writer.writeCollectionOfPrimitiveValues("mcpServers", updateSkillRequest.mcpServers);
|
|
1396
|
+
writer.writeStringValue("name", updateSkillRequest.name);
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* Serializes information the current object
|
|
1400
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1401
|
+
* @param UpsertOrganizationContextRequest The instance to serialize from.
|
|
1402
|
+
* @param writer Serialization writer to use to serialize this model
|
|
1403
|
+
*/
|
|
1404
|
+
// @ts-ignore
|
|
1405
|
+
function serializeUpsertOrganizationContextRequest(writer, upsertOrganizationContextRequest = {}, isSerializingDerivedType = false) {
|
|
1406
|
+
if (!upsertOrganizationContextRequest || isSerializingDerivedType) {
|
|
1407
|
+
return;
|
|
1408
|
+
}
|
|
1409
|
+
writer.writeStringValue("contextText", upsertOrganizationContextRequest.contextText);
|
|
1410
|
+
writer.writeBooleanValue("isEnabled", upsertOrganizationContextRequest.isEnabled);
|
|
1411
|
+
}
|
|
1286
1412
|
/**
|
|
1287
1413
|
* Serializes information the current object
|
|
1288
1414
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AiRequestBuilder } from './ai/index.js';
|
|
2
2
|
import { type ApiRequestBuilder } from './api/index.js';
|
|
3
|
+
import { type CognifyContextRequestBuilder } from './cognifyContext/index.js';
|
|
3
4
|
import { type McpRequestBuilder } from './mcp/index.js';
|
|
4
5
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
5
6
|
/**
|
|
@@ -19,6 +20,10 @@ export interface TpSharedDataModelClient extends BaseRequestBuilder<TpSharedData
|
|
|
19
20
|
* The api property
|
|
20
21
|
*/
|
|
21
22
|
get api(): ApiRequestBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* The cognifyContext property
|
|
25
|
+
*/
|
|
26
|
+
get cognifyContext(): CognifyContextRequestBuilder;
|
|
22
27
|
/**
|
|
23
28
|
* The mcp property
|
|
24
29
|
*/
|
|
@@ -10,7 +10,9 @@ const index_js_1 = require("./ai/index.js");
|
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
const index_js_2 = require("./api/index.js");
|
|
12
12
|
// @ts-ignore
|
|
13
|
-
const index_js_3 = require("./
|
|
13
|
+
const index_js_3 = require("./cognifyContext/index.js");
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
const index_js_4 = require("./mcp/index.js");
|
|
14
16
|
// @ts-ignore
|
|
15
17
|
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions");
|
|
16
18
|
// @ts-ignore
|
|
@@ -63,8 +65,11 @@ exports.TpSharedDataModelClientNavigationMetadata = {
|
|
|
63
65
|
api: {
|
|
64
66
|
navigationMetadata: index_js_2.ApiRequestBuilderNavigationMetadata,
|
|
65
67
|
},
|
|
68
|
+
cognifyContext: {
|
|
69
|
+
navigationMetadata: index_js_3.CognifyContextRequestBuilderNavigationMetadata,
|
|
70
|
+
},
|
|
66
71
|
mcp: {
|
|
67
|
-
navigationMetadata:
|
|
72
|
+
navigationMetadata: index_js_4.McpRequestBuilderNavigationMetadata,
|
|
68
73
|
},
|
|
69
74
|
};
|
|
70
75
|
/* tslint:enable */
|
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
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 */
|
|
@@ -0,0 +1,59 @@
|
|
|
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 */
|
|
@@ -0,0 +1,89 @@
|
|
|
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 */
|
|
@@ -0,0 +1,74 @@
|
|
|
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 */
|
package/src/kiota-lock.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"descriptionHash": "
|
|
2
|
+
"descriptionHash": "F86BF510C05E0AC3126122B8765D0E7117CE948755CB8ACCD71D5B479F21BC4580E23958A084EE9E61112B757A1E0CD9F24CF62C601F60ECAC09FEBE21DB3D8A",
|
|
3
3
|
"descriptionLocation": "v1.json",
|
|
4
4
|
"lockFileVersion": "1.0.0",
|
|
5
5
|
"kiotaVersion": "1.34.1",
|