@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
|
@@ -6,8 +6,6 @@ import { AiRequestBuilderNavigationMetadata, type AiRequestBuilder } from './ai/
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { ApiRequestBuilderNavigationMetadata, type ApiRequestBuilder } from './api/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
-
import { CognifyContextRequestBuilderNavigationMetadata, type CognifyContextRequestBuilder } from './cognifyContext/index.js';
|
|
10
|
-
// @ts-ignore
|
|
11
9
|
import { McpRequestBuilderNavigationMetadata, type McpRequestBuilder } from './mcp/index.js';
|
|
12
10
|
// @ts-ignore
|
|
13
11
|
import { apiClientProxifier, ParseNodeFactoryRegistry, SerializationWriterFactoryRegistry, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions';
|
|
@@ -63,10 +61,6 @@ export interface TpSharedDataModelClient extends BaseRequestBuilder<TpSharedData
|
|
|
63
61
|
* The api property
|
|
64
62
|
*/
|
|
65
63
|
get api(): ApiRequestBuilder;
|
|
66
|
-
/**
|
|
67
|
-
* The cognifyContext property
|
|
68
|
-
*/
|
|
69
|
-
get cognifyContext(): CognifyContextRequestBuilder;
|
|
70
64
|
/**
|
|
71
65
|
* The mcp property
|
|
72
66
|
*/
|
|
@@ -86,9 +80,6 @@ export const TpSharedDataModelClientNavigationMetadata: Record<Exclude<keyof TpS
|
|
|
86
80
|
api: {
|
|
87
81
|
navigationMetadata: ApiRequestBuilderNavigationMetadata,
|
|
88
82
|
},
|
|
89
|
-
cognifyContext: {
|
|
90
|
-
navigationMetadata: CognifyContextRequestBuilderNavigationMetadata,
|
|
91
|
-
},
|
|
92
83
|
mcp: {
|
|
93
84
|
navigationMetadata: McpRequestBuilderNavigationMetadata,
|
|
94
85
|
},
|
package/src/v1.json
CHANGED
|
@@ -52,276 +52,6 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"/cognify-context/organization-context": {
|
|
56
|
-
"get": {
|
|
57
|
-
"operationId": "GetCognifyContextOrganizationContext",
|
|
58
|
-
"responses": {
|
|
59
|
-
"200": {
|
|
60
|
-
"description": ""
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"security": [
|
|
64
|
-
{
|
|
65
|
-
"JWTBearerAuth": []
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"apptio-token-scheme": []
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"OAuth2": []
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"put": {
|
|
76
|
-
"operationId": "PutCognifyContextOrganizationContext",
|
|
77
|
-
"requestBody": {
|
|
78
|
-
"x-name": "request",
|
|
79
|
-
"content": {
|
|
80
|
-
"application/json": {
|
|
81
|
-
"schema": {
|
|
82
|
-
"$ref": "#/components/schemas/UpsertOrganizationContextRequest"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": true,
|
|
87
|
-
"x-position": 1
|
|
88
|
-
},
|
|
89
|
-
"responses": {
|
|
90
|
-
"200": {
|
|
91
|
-
"description": ""
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"security": [
|
|
95
|
-
{
|
|
96
|
-
"JWTBearerAuth": []
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"apptio-token-scheme": []
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"OAuth2": []
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"/cognify-context/skills": {
|
|
108
|
-
"get": {
|
|
109
|
-
"summary": "Admin list: includes all skills (enabled/disabled), metadata, pagination.",
|
|
110
|
-
"operationId": "GetCognifyContextSkills",
|
|
111
|
-
"parameters": [
|
|
112
|
-
{
|
|
113
|
-
"name": "enabledOnly",
|
|
114
|
-
"in": "query",
|
|
115
|
-
"schema": {
|
|
116
|
-
"type": "boolean",
|
|
117
|
-
"nullable": true
|
|
118
|
-
},
|
|
119
|
-
"x-position": 1
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"name": "offset",
|
|
123
|
-
"in": "query",
|
|
124
|
-
"schema": {
|
|
125
|
-
"type": "integer",
|
|
126
|
-
"format": "int32",
|
|
127
|
-
"nullable": true
|
|
128
|
-
},
|
|
129
|
-
"x-position": 2
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"name": "limit",
|
|
133
|
-
"in": "query",
|
|
134
|
-
"schema": {
|
|
135
|
-
"type": "integer",
|
|
136
|
-
"format": "int32",
|
|
137
|
-
"nullable": true
|
|
138
|
-
},
|
|
139
|
-
"x-position": 3
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"name": "search",
|
|
143
|
-
"in": "query",
|
|
144
|
-
"schema": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"nullable": true
|
|
147
|
-
},
|
|
148
|
-
"x-position": 4
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "sortBy",
|
|
152
|
-
"in": "query",
|
|
153
|
-
"schema": {
|
|
154
|
-
"type": "string",
|
|
155
|
-
"nullable": true
|
|
156
|
-
},
|
|
157
|
-
"x-position": 5
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "sortDirection",
|
|
161
|
-
"in": "query",
|
|
162
|
-
"schema": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"nullable": true
|
|
165
|
-
},
|
|
166
|
-
"x-position": 6
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
"responses": {
|
|
170
|
-
"200": {
|
|
171
|
-
"description": ""
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"security": [
|
|
175
|
-
{
|
|
176
|
-
"JWTBearerAuth": []
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"apptio-token-scheme": []
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"OAuth2": []
|
|
183
|
-
}
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
"post": {
|
|
187
|
-
"operationId": "PostCognifyContextSkills",
|
|
188
|
-
"requestBody": {
|
|
189
|
-
"x-name": "request",
|
|
190
|
-
"content": {
|
|
191
|
-
"application/json": {
|
|
192
|
-
"schema": {
|
|
193
|
-
"$ref": "#/components/schemas/CreateSkillRequest"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"required": true,
|
|
198
|
-
"x-position": 1
|
|
199
|
-
},
|
|
200
|
-
"responses": {
|
|
201
|
-
"200": {
|
|
202
|
-
"description": ""
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"security": [
|
|
206
|
-
{
|
|
207
|
-
"JWTBearerAuth": []
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"apptio-token-scheme": []
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"OAuth2": []
|
|
214
|
-
}
|
|
215
|
-
]
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"/cognify-context/skills/{id}": {
|
|
219
|
-
"get": {
|
|
220
|
-
"operationId": "GetCognifyContextSkills2",
|
|
221
|
-
"parameters": [
|
|
222
|
-
{
|
|
223
|
-
"name": "id",
|
|
224
|
-
"in": "path",
|
|
225
|
-
"required": true,
|
|
226
|
-
"schema": {
|
|
227
|
-
"type": "string",
|
|
228
|
-
"format": "guid"
|
|
229
|
-
},
|
|
230
|
-
"x-position": 1
|
|
231
|
-
}
|
|
232
|
-
],
|
|
233
|
-
"responses": {
|
|
234
|
-
"200": {
|
|
235
|
-
"description": ""
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
"security": [
|
|
239
|
-
{
|
|
240
|
-
"JWTBearerAuth": []
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"apptio-token-scheme": []
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
"OAuth2": []
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
},
|
|
250
|
-
"put": {
|
|
251
|
-
"operationId": "PutCognifyContextSkills",
|
|
252
|
-
"parameters": [
|
|
253
|
-
{
|
|
254
|
-
"name": "id",
|
|
255
|
-
"in": "path",
|
|
256
|
-
"required": true,
|
|
257
|
-
"schema": {
|
|
258
|
-
"type": "string",
|
|
259
|
-
"format": "guid"
|
|
260
|
-
},
|
|
261
|
-
"x-position": 1
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"requestBody": {
|
|
265
|
-
"x-name": "request",
|
|
266
|
-
"content": {
|
|
267
|
-
"application/json": {
|
|
268
|
-
"schema": {
|
|
269
|
-
"$ref": "#/components/schemas/UpdateSkillRequest"
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
"required": true,
|
|
274
|
-
"x-position": 2
|
|
275
|
-
},
|
|
276
|
-
"responses": {
|
|
277
|
-
"200": {
|
|
278
|
-
"description": ""
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"security": [
|
|
282
|
-
{
|
|
283
|
-
"JWTBearerAuth": []
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"apptio-token-scheme": []
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"OAuth2": []
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
},
|
|
293
|
-
"delete": {
|
|
294
|
-
"operationId": "DeleteCognifyContextSkills",
|
|
295
|
-
"parameters": [
|
|
296
|
-
{
|
|
297
|
-
"name": "id",
|
|
298
|
-
"in": "path",
|
|
299
|
-
"required": true,
|
|
300
|
-
"schema": {
|
|
301
|
-
"type": "string",
|
|
302
|
-
"format": "guid"
|
|
303
|
-
},
|
|
304
|
-
"x-position": 1
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"responses": {
|
|
308
|
-
"200": {
|
|
309
|
-
"description": ""
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"security": [
|
|
313
|
-
{
|
|
314
|
-
"JWTBearerAuth": []
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"apptio-token-scheme": []
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
"OAuth2": []
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
55
|
"/mcp/.well-known/openid-configuration": {
|
|
326
56
|
"get": {
|
|
327
57
|
"operationId": "GetMcp.wellKnownOpenidConfiguration",
|
|
@@ -2928,87 +2658,6 @@
|
|
|
2928
2658
|
},
|
|
2929
2659
|
"components": {
|
|
2930
2660
|
"schemas": {
|
|
2931
|
-
"UpsertOrganizationContextRequest": {
|
|
2932
|
-
"type": "object",
|
|
2933
|
-
"description": "Request DTO for creating/updating organization context.",
|
|
2934
|
-
"additionalProperties": false,
|
|
2935
|
-
"required": [
|
|
2936
|
-
"contextText",
|
|
2937
|
-
"isEnabled"
|
|
2938
|
-
],
|
|
2939
|
-
"properties": {
|
|
2940
|
-
"contextText": {
|
|
2941
|
-
"type": "string"
|
|
2942
|
-
},
|
|
2943
|
-
"isEnabled": {
|
|
2944
|
-
"type": "boolean"
|
|
2945
|
-
}
|
|
2946
|
-
}
|
|
2947
|
-
},
|
|
2948
|
-
"CreateSkillRequest": {
|
|
2949
|
-
"type": "object",
|
|
2950
|
-
"description": "Request DTO for creating a skill.",
|
|
2951
|
-
"additionalProperties": false,
|
|
2952
|
-
"required": [
|
|
2953
|
-
"name",
|
|
2954
|
-
"description",
|
|
2955
|
-
"body",
|
|
2956
|
-
"isEnabled"
|
|
2957
|
-
],
|
|
2958
|
-
"properties": {
|
|
2959
|
-
"name": {
|
|
2960
|
-
"type": "string"
|
|
2961
|
-
},
|
|
2962
|
-
"description": {
|
|
2963
|
-
"type": "string"
|
|
2964
|
-
},
|
|
2965
|
-
"body": {
|
|
2966
|
-
"type": "string"
|
|
2967
|
-
},
|
|
2968
|
-
"mcpServers": {
|
|
2969
|
-
"type": "array",
|
|
2970
|
-
"nullable": true,
|
|
2971
|
-
"items": {
|
|
2972
|
-
"type": "string"
|
|
2973
|
-
}
|
|
2974
|
-
},
|
|
2975
|
-
"isEnabled": {
|
|
2976
|
-
"type": "boolean"
|
|
2977
|
-
}
|
|
2978
|
-
}
|
|
2979
|
-
},
|
|
2980
|
-
"UpdateSkillRequest": {
|
|
2981
|
-
"type": "object",
|
|
2982
|
-
"description": "Request DTO for updating a skill.",
|
|
2983
|
-
"additionalProperties": false,
|
|
2984
|
-
"required": [
|
|
2985
|
-
"name",
|
|
2986
|
-
"description",
|
|
2987
|
-
"body",
|
|
2988
|
-
"isEnabled"
|
|
2989
|
-
],
|
|
2990
|
-
"properties": {
|
|
2991
|
-
"name": {
|
|
2992
|
-
"type": "string"
|
|
2993
|
-
},
|
|
2994
|
-
"description": {
|
|
2995
|
-
"type": "string"
|
|
2996
|
-
},
|
|
2997
|
-
"body": {
|
|
2998
|
-
"type": "string"
|
|
2999
|
-
},
|
|
3000
|
-
"mcpServers": {
|
|
3001
|
-
"type": "array",
|
|
3002
|
-
"nullable": true,
|
|
3003
|
-
"items": {
|
|
3004
|
-
"type": "string"
|
|
3005
|
-
}
|
|
3006
|
-
},
|
|
3007
|
-
"isEnabled": {
|
|
3008
|
-
"type": "boolean"
|
|
3009
|
-
}
|
|
3010
|
-
}
|
|
3011
|
-
},
|
|
3012
2661
|
"TpMcpQueryResponseOfJsonElement": {
|
|
3013
2662
|
"type": "object",
|
|
3014
2663
|
"description": "Separate model for MCP; HasMore field is confusing for LLM's, LLM can retry exact same call to get more data",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type OrganizationContextRequestBuilder } from './organizationContext/index.js';
|
|
2
|
-
import { type SkillsRequestBuilder } from './skills/index.js';
|
|
3
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
-
/**
|
|
5
|
-
* Builds and executes requests for operations under /cognify-context
|
|
6
|
-
*/
|
|
7
|
-
export interface CognifyContextRequestBuilder extends BaseRequestBuilder<CognifyContextRequestBuilder> {
|
|
8
|
-
/**
|
|
9
|
-
* The organizationContext property
|
|
10
|
-
*/
|
|
11
|
-
get organizationContext(): OrganizationContextRequestBuilder;
|
|
12
|
-
/**
|
|
13
|
-
* The skills property
|
|
14
|
-
*/
|
|
15
|
-
get skills(): SkillsRequestBuilder;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Uri template for the request builder.
|
|
19
|
-
*/
|
|
20
|
-
export declare const CognifyContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context";
|
|
21
|
-
/**
|
|
22
|
-
* Metadata for all the navigation properties in the request builder.
|
|
23
|
-
*/
|
|
24
|
-
export declare const CognifyContextRequestBuilderNavigationMetadata: Record<Exclude<keyof CognifyContextRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CognifyContextRequestBuilderNavigationMetadata = exports.CognifyContextRequestBuilderUriTemplate = void 0;
|
|
4
|
-
/* tslint:disable */
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
// Generated by Microsoft Kiota
|
|
7
|
-
// @ts-ignore
|
|
8
|
-
const index_js_1 = require("./organizationContext/index.js");
|
|
9
|
-
// @ts-ignore
|
|
10
|
-
const index_js_2 = require("./skills/index.js");
|
|
11
|
-
/**
|
|
12
|
-
* Uri template for the request builder.
|
|
13
|
-
*/
|
|
14
|
-
exports.CognifyContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context";
|
|
15
|
-
/**
|
|
16
|
-
* Metadata for all the navigation properties in the request builder.
|
|
17
|
-
*/
|
|
18
|
-
exports.CognifyContextRequestBuilderNavigationMetadata = {
|
|
19
|
-
organizationContext: {
|
|
20
|
-
requestsMetadata: index_js_1.OrganizationContextRequestBuilderRequestsMetadata,
|
|
21
|
-
},
|
|
22
|
-
skills: {
|
|
23
|
-
requestsMetadata: index_js_2.SkillsRequestBuilderRequestsMetadata,
|
|
24
|
-
navigationMetadata: index_js_2.SkillsRequestBuilderNavigationMetadata,
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
/* tslint:enable */
|
|
28
|
-
/* eslint-enable */
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { type UpsertOrganizationContextRequest } from '../../models/index.js';
|
|
2
|
-
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
-
/**
|
|
4
|
-
* Builds and executes requests for operations under /cognify-context/organization-context
|
|
5
|
-
*/
|
|
6
|
-
export interface OrganizationContextRequestBuilder extends BaseRequestBuilder<OrganizationContextRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns {Promise<ArrayBuffer>}
|
|
10
|
-
*/
|
|
11
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
12
|
-
/**
|
|
13
|
-
* @param body Request DTO for creating/updating organization context.
|
|
14
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns {Promise<ArrayBuffer>}
|
|
16
|
-
*/
|
|
17
|
-
put(body: UpsertOrganizationContextRequest, 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 {RequestInformation}
|
|
21
|
-
*/
|
|
22
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
23
|
-
/**
|
|
24
|
-
* @param body Request DTO for creating/updating organization context.
|
|
25
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
|
-
* @returns {RequestInformation}
|
|
27
|
-
*/
|
|
28
|
-
toPutRequestInformation(body: UpsertOrganizationContextRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Uri template for the request builder.
|
|
32
|
-
*/
|
|
33
|
-
export declare const OrganizationContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context/organization-context";
|
|
34
|
-
/**
|
|
35
|
-
* Metadata for all the requests in the request builder.
|
|
36
|
-
*/
|
|
37
|
-
export declare const OrganizationContextRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrganizationContextRequestBuilderRequestsMetadata = exports.OrganizationContextRequestBuilderUriTemplate = 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.OrganizationContextRequestBuilderUriTemplate = "{+baseurl}/cognify-context/organization-context";
|
|
13
|
-
/**
|
|
14
|
-
* Metadata for all the requests in the request builder.
|
|
15
|
-
*/
|
|
16
|
-
exports.OrganizationContextRequestBuilderRequestsMetadata = {
|
|
17
|
-
get: {
|
|
18
|
-
uriTemplate: exports.OrganizationContextRequestBuilderUriTemplate,
|
|
19
|
-
adapterMethodName: "sendPrimitive",
|
|
20
|
-
responseBodyFactory: "ArrayBuffer",
|
|
21
|
-
},
|
|
22
|
-
put: {
|
|
23
|
-
uriTemplate: exports.OrganizationContextRequestBuilderUriTemplate,
|
|
24
|
-
adapterMethodName: "sendPrimitive",
|
|
25
|
-
responseBodyFactory: "ArrayBuffer",
|
|
26
|
-
requestBodyContentType: "application/json",
|
|
27
|
-
requestBodySerializer: index_js_1.serializeUpsertOrganizationContextRequest,
|
|
28
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
/* tslint:enable */
|
|
32
|
-
/* eslint-enable */
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { type CreateSkillRequest } from '../../models/index.js';
|
|
2
|
-
import { type SkillsItemRequestBuilder } from './item/index.js';
|
|
3
|
-
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
-
/**
|
|
5
|
-
* Builds and executes requests for operations under /cognify-context/skills
|
|
6
|
-
*/
|
|
7
|
-
export interface SkillsRequestBuilder extends BaseRequestBuilder<SkillsRequestBuilder> {
|
|
8
|
-
/**
|
|
9
|
-
* Gets an item from the Tp.cognifyContext.skills.item collection
|
|
10
|
-
* @param id Unique identifier of the item
|
|
11
|
-
* @returns {SkillsItemRequestBuilder}
|
|
12
|
-
*/
|
|
13
|
-
byId(id: string): SkillsItemRequestBuilder;
|
|
14
|
-
/**
|
|
15
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
16
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns {Promise<ArrayBuffer>}
|
|
18
|
-
*/
|
|
19
|
-
get(requestConfiguration?: RequestConfiguration<SkillsRequestBuilderGetQueryParameters> | undefined): Promise<ArrayBuffer | undefined>;
|
|
20
|
-
/**
|
|
21
|
-
* @param body Request DTO for creating a skill.
|
|
22
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
-
* @returns {Promise<ArrayBuffer>}
|
|
24
|
-
*/
|
|
25
|
-
post(body: CreateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
26
|
-
/**
|
|
27
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
28
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
-
* @returns {RequestInformation}
|
|
30
|
-
*/
|
|
31
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SkillsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
-
/**
|
|
33
|
-
* @param body Request DTO for creating a skill.
|
|
34
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
-
* @returns {RequestInformation}
|
|
36
|
-
*/
|
|
37
|
-
toPostRequestInformation(body: CreateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Admin list: includes all skills (enabled/disabled), metadata, pagination.
|
|
41
|
-
*/
|
|
42
|
-
export interface SkillsRequestBuilderGetQueryParameters {
|
|
43
|
-
enabledOnly?: boolean;
|
|
44
|
-
limit?: number;
|
|
45
|
-
offset?: number;
|
|
46
|
-
search?: string;
|
|
47
|
-
sortBy?: string;
|
|
48
|
-
sortDirection?: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Uri template for the request builder.
|
|
52
|
-
*/
|
|
53
|
-
export declare const SkillsRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills{?enabledOnly*,limit*,offset*,search*,sortBy*,sortDirection*}";
|
|
54
|
-
/**
|
|
55
|
-
* Metadata for all the navigation properties in the request builder.
|
|
56
|
-
*/
|
|
57
|
-
export declare const SkillsRequestBuilderNavigationMetadata: Record<Exclude<keyof SkillsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
58
|
-
/**
|
|
59
|
-
* Metadata for all the requests in the request builder.
|
|
60
|
-
*/
|
|
61
|
-
export declare const SkillsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkillsRequestBuilderRequestsMetadata = exports.SkillsRequestBuilderNavigationMetadata = exports.SkillsRequestBuilderUriTemplate = 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
|
-
// @ts-ignore
|
|
10
|
-
const index_js_2 = require("./item/index.js");
|
|
11
|
-
/**
|
|
12
|
-
* Uri template for the request builder.
|
|
13
|
-
*/
|
|
14
|
-
exports.SkillsRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills{?enabledOnly*,limit*,offset*,search*,sortBy*,sortDirection*}";
|
|
15
|
-
/**
|
|
16
|
-
* Metadata for all the navigation properties in the request builder.
|
|
17
|
-
*/
|
|
18
|
-
exports.SkillsRequestBuilderNavigationMetadata = {
|
|
19
|
-
byId: {
|
|
20
|
-
requestsMetadata: index_js_2.SkillsItemRequestBuilderRequestsMetadata,
|
|
21
|
-
pathParametersMappings: ["id"],
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Metadata for all the requests in the request builder.
|
|
26
|
-
*/
|
|
27
|
-
exports.SkillsRequestBuilderRequestsMetadata = {
|
|
28
|
-
get: {
|
|
29
|
-
uriTemplate: exports.SkillsRequestBuilderUriTemplate,
|
|
30
|
-
adapterMethodName: "sendPrimitive",
|
|
31
|
-
responseBodyFactory: "ArrayBuffer",
|
|
32
|
-
},
|
|
33
|
-
post: {
|
|
34
|
-
uriTemplate: exports.SkillsRequestBuilderUriTemplate,
|
|
35
|
-
adapterMethodName: "sendPrimitive",
|
|
36
|
-
responseBodyFactory: "ArrayBuffer",
|
|
37
|
-
requestBodyContentType: "application/json",
|
|
38
|
-
requestBodySerializer: index_js_1.serializeCreateSkillRequest,
|
|
39
|
-
requestInformationContentSetMethod: "setContentFromParsable",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
/* tslint:enable */
|
|
43
|
-
/* eslint-enable */
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { type UpdateSkillRequest } from '../../../models/index.js';
|
|
2
|
-
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
-
/**
|
|
4
|
-
* Builds and executes requests for operations under /cognify-context/skills/{id}
|
|
5
|
-
*/
|
|
6
|
-
export interface SkillsItemRequestBuilder extends BaseRequestBuilder<SkillsItemRequestBuilder> {
|
|
7
|
-
/**
|
|
8
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns {Promise<ArrayBuffer>}
|
|
10
|
-
*/
|
|
11
|
-
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
12
|
-
/**
|
|
13
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
14
|
-
* @returns {Promise<ArrayBuffer>}
|
|
15
|
-
*/
|
|
16
|
-
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
17
|
-
/**
|
|
18
|
-
* @param body Request DTO for updating a skill.
|
|
19
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
-
* @returns {Promise<ArrayBuffer>}
|
|
21
|
-
*/
|
|
22
|
-
put(body: UpdateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
23
|
-
/**
|
|
24
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
-
* @returns {RequestInformation}
|
|
26
|
-
*/
|
|
27
|
-
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
28
|
-
/**
|
|
29
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
-
* @returns {RequestInformation}
|
|
31
|
-
*/
|
|
32
|
-
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
-
/**
|
|
34
|
-
* @param body Request DTO for updating a skill.
|
|
35
|
-
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
-
* @returns {RequestInformation}
|
|
37
|
-
*/
|
|
38
|
-
toPutRequestInformation(body: UpdateSkillRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Uri template for the request builder.
|
|
42
|
-
*/
|
|
43
|
-
export declare const SkillsItemRequestBuilderUriTemplate = "{+baseurl}/cognify-context/skills/{id}";
|
|
44
|
-
/**
|
|
45
|
-
* Metadata for all the requests in the request builder.
|
|
46
|
-
*/
|
|
47
|
-
export declare const SkillsItemRequestBuilderRequestsMetadata: RequestsMetadata;
|