@microsoft/msgraph-sdk-planner 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/planner/buckets/count/index.d.ts +40 -0
- package/planner/buckets/count/index.d.ts.map +1 -0
- package/planner/buckets/count/index.js +35 -0
- package/planner/buckets/index.d.ts +97 -0
- package/planner/buckets/index.d.ts.map +1 -0
- package/planner/buckets/index.js +71 -0
- package/planner/buckets/item/index.d.ts +78 -0
- package/planner/buckets/item/index.d.ts.map +1 -0
- package/planner/buckets/item/index.js +67 -0
- package/planner/buckets/item/tasks/count/index.d.ts +40 -0
- package/planner/buckets/item/tasks/count/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/count/index.js +35 -0
- package/planner/buckets/item/tasks/index.d.ts +96 -0
- package/planner/buckets/item/tasks/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/index.js +71 -0
- package/planner/buckets/item/tasks/item/assignedToTaskBoardFormat/index.d.ts +68 -0
- package/planner/buckets/item/tasks/item/assignedToTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/item/assignedToTaskBoardFormat/index.js +56 -0
- package/planner/buckets/item/tasks/item/bucketTaskBoardFormat/index.d.ts +68 -0
- package/planner/buckets/item/tasks/item/bucketTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/item/bucketTaskBoardFormat/index.js +56 -0
- package/planner/buckets/item/tasks/item/details/index.d.ts +68 -0
- package/planner/buckets/item/tasks/item/details/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/item/details/index.js +56 -0
- package/planner/buckets/item/tasks/item/index.d.ts +90 -0
- package/planner/buckets/item/tasks/item/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/item/index.js +81 -0
- package/planner/buckets/item/tasks/item/progressTaskBoardFormat/index.d.ts +68 -0
- package/planner/buckets/item/tasks/item/progressTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/buckets/item/tasks/item/progressTaskBoardFormat/index.js +56 -0
- package/planner/index.d.ts +74 -0
- package/planner/index.d.ts.map +1 -0
- package/planner/index.js +71 -0
- package/planner/plans/count/index.d.ts +40 -0
- package/planner/plans/count/index.d.ts.map +1 -0
- package/planner/plans/count/index.js +35 -0
- package/planner/plans/index.d.ts +97 -0
- package/planner/plans/index.d.ts.map +1 -0
- package/planner/plans/index.js +71 -0
- package/planner/plans/item/buckets/count/index.d.ts +40 -0
- package/planner/plans/item/buckets/count/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/count/index.js +35 -0
- package/planner/plans/item/buckets/index.d.ts +96 -0
- package/planner/plans/item/buckets/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/index.js +71 -0
- package/planner/plans/item/buckets/item/index.d.ts +75 -0
- package/planner/plans/item/buckets/item/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/index.js +67 -0
- package/planner/plans/item/buckets/item/tasks/count/index.d.ts +40 -0
- package/planner/plans/item/buckets/item/tasks/count/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/count/index.js +35 -0
- package/planner/plans/item/buckets/item/tasks/index.d.ts +96 -0
- package/planner/plans/item/buckets/item/tasks/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/index.js +71 -0
- package/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/item/assignedToTaskBoardFormat/index.js +56 -0
- package/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/item/bucketTaskBoardFormat/index.js +56 -0
- package/planner/plans/item/buckets/item/tasks/item/details/index.d.ts +68 -0
- package/planner/plans/item/buckets/item/tasks/item/details/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/item/details/index.js +56 -0
- package/planner/plans/item/buckets/item/tasks/item/index.d.ts +90 -0
- package/planner/plans/item/buckets/item/tasks/item/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/item/index.js +81 -0
- package/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/buckets/item/tasks/item/progressTaskBoardFormat/index.js +56 -0
- package/planner/plans/item/details/index.d.ts +68 -0
- package/planner/plans/item/details/index.d.ts.map +1 -0
- package/planner/plans/item/details/index.js +56 -0
- package/planner/plans/item/index.d.ts +88 -0
- package/planner/plans/item/index.d.ts.map +1 -0
- package/planner/plans/item/index.js +78 -0
- package/planner/plans/item/tasks/count/index.d.ts +40 -0
- package/planner/plans/item/tasks/count/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/count/index.js +35 -0
- package/planner/plans/item/tasks/index.d.ts +96 -0
- package/planner/plans/item/tasks/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/index.js +71 -0
- package/planner/plans/item/tasks/item/assignedToTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/tasks/item/assignedToTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/item/assignedToTaskBoardFormat/index.js +56 -0
- package/planner/plans/item/tasks/item/bucketTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/tasks/item/bucketTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/item/bucketTaskBoardFormat/index.js +56 -0
- package/planner/plans/item/tasks/item/details/index.d.ts +68 -0
- package/planner/plans/item/tasks/item/details/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/item/details/index.js +56 -0
- package/planner/plans/item/tasks/item/index.d.ts +90 -0
- package/planner/plans/item/tasks/item/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/item/index.js +81 -0
- package/planner/plans/item/tasks/item/progressTaskBoardFormat/index.d.ts +68 -0
- package/planner/plans/item/tasks/item/progressTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/plans/item/tasks/item/progressTaskBoardFormat/index.js +56 -0
- package/planner/tasks/count/index.d.ts +40 -0
- package/planner/tasks/count/index.d.ts.map +1 -0
- package/planner/tasks/count/index.js +35 -0
- package/planner/tasks/index.d.ts +97 -0
- package/planner/tasks/index.d.ts.map +1 -0
- package/planner/tasks/index.js +71 -0
- package/planner/tasks/item/assignedToTaskBoardFormat/index.d.ts +68 -0
- package/planner/tasks/item/assignedToTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/tasks/item/assignedToTaskBoardFormat/index.js +56 -0
- package/planner/tasks/item/bucketTaskBoardFormat/index.d.ts +68 -0
- package/planner/tasks/item/bucketTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/tasks/item/bucketTaskBoardFormat/index.js +56 -0
- package/planner/tasks/item/details/index.d.ts +68 -0
- package/planner/tasks/item/details/index.d.ts.map +1 -0
- package/planner/tasks/item/details/index.js +56 -0
- package/planner/tasks/item/index.d.ts +93 -0
- package/planner/tasks/item/index.d.ts.map +1 -0
- package/planner/tasks/item/index.js +81 -0
- package/planner/tasks/item/progressTaskBoardFormat/index.d.ts +68 -0
- package/planner/tasks/item/progressTaskBoardFormat/index.d.ts.map +1 -0
- package/planner/tasks/item/progressTaskBoardFormat/index.js +56 -0
- package/plannerServiceClient.d.ts +25 -0
- package/plannerServiceClient.d.ts.map +1 -0
- package/plannerServiceClient.js +49 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Microsoft Graph
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
package/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PlannerRequestBuilder } from "./planner";
|
|
2
|
+
declare module "@microsoft/msgraph-sdk" {
|
|
3
|
+
interface GraphServiceClient {
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the planner singleton.
|
|
6
|
+
*/
|
|
7
|
+
get planner(): PlannerRequestBuilder;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export * from "./plannerServiceClient";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAU,kBAAkB;QAC1B;;WAEG;QACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;KACtC;CACF;AAED,cAAc,wBAAwB,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
const msgraph_sdk_1 = require("@microsoft/msgraph-sdk");
|
|
18
|
+
const plannerServiceClient_1 = require("./plannerServiceClient");
|
|
19
|
+
(0, msgraph_sdk_1.extendGraphServiceClient)(plannerServiceClient_1.PlannerServiceClientNavigationMetadata);
|
|
20
|
+
__exportStar(require("./plannerServiceClient"), exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/msgraph-sdk-planner",
|
|
3
|
+
"version": "1.0.0-preview.10",
|
|
4
|
+
"description": "Planner fluent API for Microsoft Graph",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Microsoft",
|
|
7
|
+
"Graph",
|
|
8
|
+
"msgraph",
|
|
9
|
+
"API",
|
|
10
|
+
"SDK",
|
|
11
|
+
"planner"
|
|
12
|
+
],
|
|
13
|
+
"author": "Microsoft <graphsdkpub+javascript@microsoft.com>",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"main": "index.js",
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/microsoftgraph/msgraph-sdk-typescript.git"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "tsc -p tsconfig.json",
|
|
25
|
+
"lint": "eslint . --ext .ts",
|
|
26
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
27
|
+
"clean": "rimraf -g **/*.d.ts && rimraf -g **/*.d.ts.map && rimraf -g **/*.js.map && rimraf -g **/*.js && rimraf tsconfig.tsbuildinfo"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/microsoftgraph/msgraph-sdk-typescript/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
|
|
33
|
+
"types": "index.d.ts",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@microsoft/kiota-abstractions": "^1.0.0-preview.38",
|
|
36
|
+
"@microsoft/kiota-serialization-form": "^1.0.0-preview.27",
|
|
37
|
+
"@microsoft/kiota-serialization-json": "^1.0.0-preview.38",
|
|
38
|
+
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.17",
|
|
39
|
+
"@microsoft/kiota-serialization-text": "^1.0.0-preview.35",
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.10",
|
|
41
|
+
"guid-typescript": "^1.0.9",
|
|
42
|
+
"tslib": "^2.6.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"typescript": "^5.3.3"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "15d9675ebafd32092472a638aa8d5d9276e283b1"
|
|
48
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type PlannerBucket, type PlannerBucketCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type PlannerBucketItemRequestBuilder } from './item/';
|
|
4
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
|
+
/**
|
|
6
|
+
* Provides operations to manage the buckets property of the microsoft.graph.planner entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface BucketsRequestBuilder extends BaseRequestBuilder<BucketsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the buckets property of the microsoft.graph.planner entity.
|
|
15
|
+
* @param plannerBucketId The unique identifier of plannerBucket
|
|
16
|
+
* @returns a PlannerBucketItemRequestBuilder
|
|
17
|
+
*/
|
|
18
|
+
byPlannerBucketId(plannerBucketId: string): PlannerBucketItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a list of plannerbucket objects.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns a Promise of PlannerBucketCollectionResponse
|
|
23
|
+
* @see {@link https://learn.microsoft.com/graph/api/planner-list-buckets?view=graph-rest-1.0|Find more info here}
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<BucketsRequestBuilderGetQueryParameters> | undefined): Promise<PlannerBucketCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a new plannerBucket object.
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a Promise of PlannerBucket
|
|
31
|
+
* @see {@link https://learn.microsoft.com/graph/api/planner-post-buckets?view=graph-rest-1.0|Find more info here}
|
|
32
|
+
*/
|
|
33
|
+
post(body: PlannerBucket, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerBucket | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieve a list of plannerbucket objects.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns a RequestInformation
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BucketsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create a new plannerBucket object.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns a RequestInformation
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: PlannerBucket, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve a list of plannerbucket objects.
|
|
50
|
+
*/
|
|
51
|
+
export interface BucketsRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Metadata for all the navigation properties in the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const BucketsRequestBuilderNavigationMetadata: Record<Exclude<keyof BucketsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the requests in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const BucketsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const BucketsRequestBuilderUriTemplate = "{+baseurl}/planner/buckets{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkI,KAAK,aAAa,EAAE,KAAK,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AAE1O,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAkJ,KAAK,+BAA+B,EAAE,MAAM,SAAS,CAAC;AAC/M,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,iBAAiB,CAAC,eAAe,EAAE,MAAM,GAAI,+BAA+B,CAAC;IAC9E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC9J;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACjI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,4GAA4G,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BucketsRequestBuilderUriTemplate = exports.BucketsRequestBuilderRequestsMetadata = exports.BucketsRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const count_1 = require("./count/");
|
|
10
|
+
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const BucketsRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"count": "%24count",
|
|
16
|
+
"expand": "%24expand",
|
|
17
|
+
"filter": "%24filter",
|
|
18
|
+
"orderby": "%24orderby",
|
|
19
|
+
"search": "%24search",
|
|
20
|
+
"select": "%24select",
|
|
21
|
+
"skip": "%24skip",
|
|
22
|
+
"top": "%24top",
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the navigation properties in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
exports.BucketsRequestBuilderNavigationMetadata = {
|
|
28
|
+
byPlannerBucketId: {
|
|
29
|
+
uriTemplate: item_1.PlannerBucketItemRequestBuilderUriTemplate,
|
|
30
|
+
requestsMetadata: item_1.PlannerBucketItemRequestBuilderRequestsMetadata,
|
|
31
|
+
navigationMetadata: item_1.PlannerBucketItemRequestBuilderNavigationMetadata,
|
|
32
|
+
pathParametersMappings: ["plannerBucket%2Did"],
|
|
33
|
+
},
|
|
34
|
+
count: {
|
|
35
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
exports.BucketsRequestBuilderRequestsMetadata = {
|
|
43
|
+
get: {
|
|
44
|
+
responseBodyContentType: "application/json",
|
|
45
|
+
errorMappings: {
|
|
46
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
},
|
|
49
|
+
adapterMethodName: "sendAsync",
|
|
50
|
+
responseBodyFactory: models_1.createPlannerBucketCollectionResponseFromDiscriminatorValue,
|
|
51
|
+
queryParametersMapper: BucketsRequestBuilderGetQueryParametersMapper,
|
|
52
|
+
},
|
|
53
|
+
post: {
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendAsync",
|
|
60
|
+
responseBodyFactory: models_1.createPlannerBucketFromDiscriminatorValue,
|
|
61
|
+
requestBodyContentType: "application/json",
|
|
62
|
+
requestBodySerializer: models_1.serializePlannerBucket,
|
|
63
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.BucketsRequestBuilderUriTemplate = "{+baseurl}/planner/buckets{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
70
|
+
/* tslint:enable */
|
|
71
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { type PlannerBucket } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type TasksRequestBuilder } from './tasks/';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Provides operations to manage the buckets property of the microsoft.graph.planner entity.
|
|
6
|
+
*/
|
|
7
|
+
export interface PlannerBucketItemRequestBuilder extends BaseRequestBuilder<PlannerBucketItemRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the tasks property of the microsoft.graph.plannerBucket entity.
|
|
10
|
+
*/
|
|
11
|
+
get tasks(): TasksRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Delete plannerBucket.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @see {@link https://learn.microsoft.com/graph/api/plannerbucket-delete?view=graph-rest-1.0|Find more info here}
|
|
16
|
+
*/
|
|
17
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve the properties and relationships of a plannerBucket object.
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns a Promise of PlannerBucket
|
|
22
|
+
* @see {@link https://learn.microsoft.com/graph/api/plannerbucket-get?view=graph-rest-1.0|Find more info here}
|
|
23
|
+
*/
|
|
24
|
+
get(requestConfiguration?: RequestConfiguration<PlannerBucketItemRequestBuilderGetQueryParameters> | undefined): Promise<PlannerBucket | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Update the navigation property buckets in planner
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns a Promise of PlannerBucket
|
|
30
|
+
* @see {@link https://learn.microsoft.com/graph/api/plannerbucket-update?view=graph-rest-1.0|Find more info here}
|
|
31
|
+
*/
|
|
32
|
+
patch(body: PlannerBucket, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PlannerBucket | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Delete plannerBucket.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns a RequestInformation
|
|
37
|
+
*/
|
|
38
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve the properties and relationships of a plannerBucket object.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a RequestInformation
|
|
43
|
+
*/
|
|
44
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PlannerBucketItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
45
|
+
/**
|
|
46
|
+
* Update the navigation property buckets in planner
|
|
47
|
+
* @param body The request body
|
|
48
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
+
* @returns a RequestInformation
|
|
50
|
+
*/
|
|
51
|
+
toPatchRequestInformation(body: PlannerBucket, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Retrieve the properties and relationships of a plannerBucket object.
|
|
55
|
+
*/
|
|
56
|
+
export interface PlannerBucketItemRequestBuilderGetQueryParameters {
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Select properties to be returned
|
|
63
|
+
*/
|
|
64
|
+
select?: string[];
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the navigation properties in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
export declare const PlannerBucketItemRequestBuilderNavigationMetadata: Record<Exclude<keyof PlannerBucketItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the requests in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const PlannerBucketItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
74
|
+
/**
|
|
75
|
+
* Uri template for the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const PlannerBucketItemRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/{plannerBucket%2Did}{?%24select,%24expand}";
|
|
78
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEvI,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAClI;;;;OAIG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,aAAa,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAM5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBA+B7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,0EAA0E,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PlannerBucketItemRequestBuilderUriTemplate = exports.PlannerBucketItemRequestBuilderRequestsMetadata = exports.PlannerBucketItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const tasks_1 = require("./tasks/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const PlannerBucketItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.PlannerBucketItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
tasks: {
|
|
22
|
+
uriTemplate: tasks_1.TasksRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: tasks_1.TasksRequestBuilderRequestsMetadata,
|
|
24
|
+
navigationMetadata: tasks_1.TasksRequestBuilderNavigationMetadata,
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the requests in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
exports.PlannerBucketItemRequestBuilderRequestsMetadata = {
|
|
31
|
+
delete: {
|
|
32
|
+
responseBodyContentType: "application/json",
|
|
33
|
+
errorMappings: {
|
|
34
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
38
|
+
},
|
|
39
|
+
get: {
|
|
40
|
+
responseBodyContentType: "application/json",
|
|
41
|
+
errorMappings: {
|
|
42
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "sendAsync",
|
|
46
|
+
responseBodyFactory: models_1.createPlannerBucketFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: PlannerBucketItemRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
patch: {
|
|
50
|
+
responseBodyContentType: "application/json",
|
|
51
|
+
errorMappings: {
|
|
52
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "sendAsync",
|
|
56
|
+
responseBodyFactory: models_1.createPlannerBucketFromDiscriminatorValue,
|
|
57
|
+
requestBodyContentType: "application/json",
|
|
58
|
+
requestBodySerializer: models_1.serializePlannerBucket,
|
|
59
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Uri template for the request builder.
|
|
64
|
+
*/
|
|
65
|
+
exports.PlannerBucketItemRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/{plannerBucket%2Did}{?%24select,%24expand}";
|
|
66
|
+
/* tslint:enable */
|
|
67
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/{plannerBucket%2Did}/tasks/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,uFAAuF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/planner/buckets/{plannerBucket%2Did}/tasks/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|