@microsoft/msgraph-sdk-solutions 1.0.0-preview.47 → 1.0.0-preview.49
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/package.json +2 -2
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.d.ts +41 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.js +34 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/count/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.d.ts +76 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.js +52 -0
- package/solutions/backupRestore/protectionUnits/graphDriveProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.d.ts +41 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.js +34 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.d.ts +76 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.js +52 -0
- package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.d.ts +41 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.js +34 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/count/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.d.ts +76 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.js +52 -0
- package/solutions/backupRestore/protectionUnits/graphSiteProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/index.d.ts +15 -0
- package/solutions/backupRestore/protectionUnits/index.d.ts.map +1 -1
- package/solutions/backupRestore/protectionUnits/index.js +20 -1
- package/solutions/backupRestore/protectionUnits/index.js.map +1 -1
- package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.d.ts +43 -0
- package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.js +36 -0
- package/solutions/backupRestore/protectionUnits/item/graphDriveProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.d.ts +43 -0
- package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.js +36 -0
- package/solutions/backupRestore/protectionUnits/item/graphMailboxProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.d.ts +43 -0
- package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.d.ts.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.js +36 -0
- package/solutions/backupRestore/protectionUnits/item/graphSiteProtectionUnit/index.js.map +1 -0
- package/solutions/backupRestore/protectionUnits/item/index.d.ts +20 -1
- package/solutions/backupRestore/protectionUnits/item/index.d.ts.map +1 -1
- package/solutions/backupRestore/protectionUnits/item/index.js +20 -0
- package/solutions/backupRestore/protectionUnits/item/index.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-solutions",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.49",
|
|
4
4
|
"description": "Solutions fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"typescript": "^5.3.3"
|
|
38
38
|
},
|
|
39
39
|
"type": "module",
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "43ab89da4d8e537c38123b66331918504a412c29"
|
|
41
41
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,8GAA8G,CAAC;AAQ1J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,2GAA2G,CAAC;AAC1J;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type DriveProtectionUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to driveProtectionUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphDriveProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphDriveProtectionUnitRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<DriveProtectionUnitCollectionResponse>}
|
|
16
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-driveprotectionunits?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<GraphDriveProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<DriveProtectionUnitCollectionResponse | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {RequestInformation}
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphDriveProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a list of the driveProtectionUnit objects that are associated with a oneDriveForBusinessProtectionPolicy.
|
|
29
|
+
*/
|
|
30
|
+
export interface GraphDriveProtectionUnitRequestBuilderGetQueryParameters {
|
|
31
|
+
/**
|
|
32
|
+
* Include count of items
|
|
33
|
+
*/
|
|
34
|
+
count?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Expand related entities
|
|
37
|
+
*/
|
|
38
|
+
expand?: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Filter items by property values
|
|
41
|
+
*/
|
|
42
|
+
filter?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Order items by property values
|
|
45
|
+
*/
|
|
46
|
+
orderby?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Search items by search phrases
|
|
49
|
+
*/
|
|
50
|
+
search?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Select properties to be returned
|
|
53
|
+
*/
|
|
54
|
+
select?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Skip the first n items
|
|
57
|
+
*/
|
|
58
|
+
skip?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Show only the first n items
|
|
61
|
+
*/
|
|
62
|
+
top?: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const GraphDriveProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the navigation properties in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const GraphDriveProtectionUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphDriveProtectionUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
72
|
+
/**
|
|
73
|
+
* Metadata for all the requests in the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const GraphDriveProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqE,KAAK,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AAIvK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IACrL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpK;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;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,iDAAiD,8JAA8J,CAAC;AAc7N;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBAWpE,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDriveProtectionUnitCollectionResponseFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const GraphDriveProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.driveProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const GraphDriveProtectionUnitRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"count": "%24count",
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"filter": "%24filter",
|
|
21
|
+
"orderby": "%24orderby",
|
|
22
|
+
"search": "%24search",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
"skip": "%24skip",
|
|
25
|
+
"top": "%24top",
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export const GraphDriveProtectionUnitRequestBuilderNavigationMetadata = {
|
|
31
|
+
count: {
|
|
32
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export const GraphDriveProtectionUnitRequestBuilderRequestsMetadata = {
|
|
39
|
+
get: {
|
|
40
|
+
uriTemplate: GraphDriveProtectionUnitRequestBuilderUriTemplate,
|
|
41
|
+
responseBodyContentType: "application/json",
|
|
42
|
+
errorMappings: {
|
|
43
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "send",
|
|
46
|
+
responseBodyFactory: createDriveProtectionUnitCollectionResponseFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: GraphDriveProtectionUnitRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
/* tslint:enable */
|
|
51
|
+
/* eslint-enable */
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,iEAAiE,EAA8C,MAAM,wCAAwC,CAAC;AACvK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAgEjG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAG,2JAA2J,CAAC;AAC7N;;GAEG;AACH,MAAM,8DAA8D,GAA2B;IAC3F,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAA0H;IAC3L,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,sDAAsD,GAAqB;IACpF,GAAG,EAAE;QACD,WAAW,EAAE,iDAAiD;QAC9D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,iEAAiE;QACvF,qBAAqB,EAAE,8DAA8D;KACxF;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
package/solutions/backupRestore/protectionUnits/graphMailboxProtectionUnit/count/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,gHAAgH,CAAC;AAQ5J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,6GAA6G,CAAC;AAC5J;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type MailboxProtectionUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to mailboxProtectionUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphMailboxProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphMailboxProtectionUnitRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get a list of mailboxProtectionUnit objects.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<MailboxProtectionUnitCollectionResponse>}
|
|
16
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-mailboxprotectionunits?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<GraphMailboxProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<MailboxProtectionUnitCollectionResponse | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a list of mailboxProtectionUnit objects.
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {RequestInformation}
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphMailboxProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a list of mailboxProtectionUnit objects.
|
|
29
|
+
*/
|
|
30
|
+
export interface GraphMailboxProtectionUnitRequestBuilderGetQueryParameters {
|
|
31
|
+
/**
|
|
32
|
+
* Include count of items
|
|
33
|
+
*/
|
|
34
|
+
count?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Expand related entities
|
|
37
|
+
*/
|
|
38
|
+
expand?: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Filter items by property values
|
|
41
|
+
*/
|
|
42
|
+
filter?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Order items by property values
|
|
45
|
+
*/
|
|
46
|
+
orderby?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Search items by search phrases
|
|
49
|
+
*/
|
|
50
|
+
search?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Select properties to be returned
|
|
53
|
+
*/
|
|
54
|
+
select?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Skip the first n items
|
|
57
|
+
*/
|
|
58
|
+
skip?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Show only the first n items
|
|
61
|
+
*/
|
|
62
|
+
top?: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const GraphMailboxProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the navigation properties in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const GraphMailboxProtectionUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphMailboxProtectionUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
72
|
+
/**
|
|
73
|
+
* Metadata for all the requests in the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const GraphMailboxProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuE,KAAK,uCAAuC,EAAE,MAAM,wCAAwC,CAAC;AAI3K,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,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,wCAAyC,SAAQ,kBAAkB,CAAC,wCAAwC,CAAC;IAC1H;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,uCAAuC,GAAG,SAAS,CAAC,CAAC;IACzL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,0DAA0D,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtK;AACD;;GAEG;AACH,MAAM,WAAW,0DAA0D;IACvE;;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,mDAAmD,gKAAgK,CAAC;AAcjO;;GAEG;AACH,eAAO,MAAM,0DAA0D,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,wCAAwC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI9L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,gBAWtE,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createMailboxProtectionUnitCollectionResponseFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const GraphMailboxProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.mailboxProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
14
|
+
/**
|
|
15
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
16
|
+
*/
|
|
17
|
+
const GraphMailboxProtectionUnitRequestBuilderGetQueryParametersMapper = {
|
|
18
|
+
"count": "%24count",
|
|
19
|
+
"expand": "%24expand",
|
|
20
|
+
"filter": "%24filter",
|
|
21
|
+
"orderby": "%24orderby",
|
|
22
|
+
"search": "%24search",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
"skip": "%24skip",
|
|
25
|
+
"top": "%24top",
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Metadata for all the navigation properties in the request builder.
|
|
29
|
+
*/
|
|
30
|
+
export const GraphMailboxProtectionUnitRequestBuilderNavigationMetadata = {
|
|
31
|
+
count: {
|
|
32
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Metadata for all the requests in the request builder.
|
|
37
|
+
*/
|
|
38
|
+
export const GraphMailboxProtectionUnitRequestBuilderRequestsMetadata = {
|
|
39
|
+
get: {
|
|
40
|
+
uriTemplate: GraphMailboxProtectionUnitRequestBuilderUriTemplate,
|
|
41
|
+
responseBodyContentType: "application/json",
|
|
42
|
+
errorMappings: {
|
|
43
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
44
|
+
},
|
|
45
|
+
adapterMethodName: "send",
|
|
46
|
+
responseBodyFactory: createMailboxProtectionUnitCollectionResponseFromDiscriminatorValue,
|
|
47
|
+
queryParametersMapper: GraphMailboxProtectionUnitRequestBuilderGetQueryParametersMapper,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
/* tslint:enable */
|
|
51
|
+
/* eslint-enable */
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,mEAAmE,EAAgD,MAAM,wCAAwC,CAAC;AAC3K,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AAgEjG;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,6JAA6J,CAAC;AACjO;;GAEG;AACH,MAAM,gEAAgE,GAA2B;IAC7F,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,0DAA0D,GAA4H;IAC/L,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAqB;IACtF,GAAG,EAAE;QACD,WAAW,EAAE,mDAAmD;QAChE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,mEAAmE;QACzF,qBAAqB,EAAE,gEAAgE;KAC1F;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,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;;;;;OAKG;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;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,6GAA6G,CAAC;AAQzJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,0GAA0G,CAAC;AACzJ;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type SiteProtectionUnitCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
|
+
/**
|
|
5
|
+
* Casts the previous resource to siteProtectionUnit.
|
|
6
|
+
*/
|
|
7
|
+
export interface GraphSiteProtectionUnitRequestBuilder extends BaseRequestBuilder<GraphSiteProtectionUnitRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to count the resources in the collection.
|
|
10
|
+
*/
|
|
11
|
+
get count(): CountRequestBuilder;
|
|
12
|
+
/**
|
|
13
|
+
* Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<SiteProtectionUnitCollectionResponse>}
|
|
16
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
* @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-siteprotectionunits?view=graph-rest-1.0|Find more info here}
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<GraphSiteProtectionUnitRequestBuilderGetQueryParameters> | undefined): Promise<SiteProtectionUnitCollectionResponse | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {RequestInformation}
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphSiteProtectionUnitRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a list of the siteProtectionUnit objects that are associated with a sharePointProtectionPolicy.
|
|
29
|
+
*/
|
|
30
|
+
export interface GraphSiteProtectionUnitRequestBuilderGetQueryParameters {
|
|
31
|
+
/**
|
|
32
|
+
* Include count of items
|
|
33
|
+
*/
|
|
34
|
+
count?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Expand related entities
|
|
37
|
+
*/
|
|
38
|
+
expand?: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Filter items by property values
|
|
41
|
+
*/
|
|
42
|
+
filter?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Order items by property values
|
|
45
|
+
*/
|
|
46
|
+
orderby?: string[];
|
|
47
|
+
/**
|
|
48
|
+
* Search items by search phrases
|
|
49
|
+
*/
|
|
50
|
+
search?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Select properties to be returned
|
|
53
|
+
*/
|
|
54
|
+
select?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Skip the first n items
|
|
57
|
+
*/
|
|
58
|
+
skip?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Show only the first n items
|
|
61
|
+
*/
|
|
62
|
+
top?: number;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
export declare const GraphSiteProtectionUnitRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/protectionUnits/graph.siteProtectionUnit{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the navigation properties in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
export declare const GraphSiteProtectionUnitRequestBuilderNavigationMetadata: Record<Exclude<keyof GraphSiteProtectionUnitRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
72
|
+
/**
|
|
73
|
+
* Metadata for all the requests in the request builder.
|
|
74
|
+
*/
|
|
75
|
+
export declare const GraphSiteProtectionUnitRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoE,KAAK,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAIrK,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,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,qCAAsC,SAAQ,kBAAkB,CAAC,qCAAqC,CAAC;IACpH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oCAAoC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uDAAuD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnK;AACD;;GAEG;AACH,MAAM,WAAW,uDAAuD;IACpE;;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,gDAAgD,6JAA6J,CAAC;AAc3N;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qCAAqC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAIxL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBAWnE,CAAC"}
|