@microsoft/msgraph-sdk-solutions 1.0.0-preview.80 → 1.0.0-preview.83
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/browseSessions/count/index.d.ts +41 -0
- package/solutions/backupRestore/browseSessions/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/browseSessions/count/index.js +34 -0
- package/solutions/backupRestore/browseSessions/count/index.js.map +1 -0
- package/solutions/backupRestore/browseSessions/index.d.ts +98 -0
- package/solutions/backupRestore/browseSessions/index.d.ts.map +1 -0
- package/solutions/backupRestore/browseSessions/index.js +71 -0
- package/solutions/backupRestore/browseSessions/index.js.map +1 -0
- package/solutions/backupRestore/browseSessions/item/browse/index.d.ts +97 -0
- package/solutions/backupRestore/browseSessions/item/browse/index.d.ts.map +1 -0
- package/solutions/backupRestore/browseSessions/item/browse/index.js +104 -0
- package/solutions/backupRestore/browseSessions/item/browse/index.js.map +1 -0
- package/solutions/backupRestore/browseSessions/item/browseWithNextFetchToken/index.d.ts +79 -0
- package/solutions/backupRestore/browseSessions/item/browseWithNextFetchToken/index.d.ts.map +1 -0
- package/solutions/backupRestore/browseSessions/item/browseWithNextFetchToken/index.js +71 -0
- package/solutions/backupRestore/browseSessions/item/browseWithNextFetchToken/index.js.map +1 -0
- package/solutions/backupRestore/browseSessions/item/index.d.ts +85 -0
- package/solutions/backupRestore/browseSessions/item/index.d.ts.map +1 -0
- package/solutions/backupRestore/browseSessions/item/index.js +72 -0
- package/solutions/backupRestore/browseSessions/item/index.js.map +1 -0
- package/solutions/backupRestore/index.d.ts +15 -0
- package/solutions/backupRestore/index.d.ts.map +1 -1
- package/solutions/backupRestore/index.js +18 -0
- package/solutions/backupRestore/index.js.map +1 -1
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/count/index.d.ts +41 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/count/index.js +34 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/count/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/index.d.ts +99 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/index.js +70 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/item/index.d.ts +70 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/item/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/item/index.js +56 -0
- package/solutions/backupRestore/oneDriveForBusinessBrowseSessions/item/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/index.d.ts +2 -2
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/count/index.d.ts +41 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/count/index.js +34 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/count/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/index.d.ts +98 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/index.js +70 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/item/index.d.ts +69 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/item/index.d.ts.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/item/index.js +56 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/granularDriveRestoreArtifacts/item/index.js.map +1 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/index.d.ts +5 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/index.d.ts.map +1 -1
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/index.js +6 -0
- package/solutions/backupRestore/oneDriveForBusinessRestoreSessions/item/index.js.map +1 -1
- package/solutions/backupRestore/protectionPolicies/item/deactivate/index.d.ts +2 -2
- package/solutions/backupRestore/protectionPolicies/item/index.d.ts +2 -2
- package/solutions/backupRestore/restorePoints/search/index.d.ts +1 -1
- package/solutions/backupRestore/restorePoints/search/index.d.ts.map +1 -1
- package/solutions/backupRestore/restorePoints/search/index.js.map +1 -1
- package/solutions/backupRestore/sharePointBrowseSessions/count/index.d.ts +41 -0
- package/solutions/backupRestore/sharePointBrowseSessions/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointBrowseSessions/count/index.js +34 -0
- package/solutions/backupRestore/sharePointBrowseSessions/count/index.js.map +1 -0
- package/solutions/backupRestore/sharePointBrowseSessions/index.d.ts +99 -0
- package/solutions/backupRestore/sharePointBrowseSessions/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointBrowseSessions/index.js +70 -0
- package/solutions/backupRestore/sharePointBrowseSessions/index.js.map +1 -0
- package/solutions/backupRestore/sharePointBrowseSessions/item/index.d.ts +70 -0
- package/solutions/backupRestore/sharePointBrowseSessions/item/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointBrowseSessions/item/index.js +56 -0
- package/solutions/backupRestore/sharePointBrowseSessions/item/index.js.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/index.d.ts +2 -2
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/count/index.d.ts +41 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/count/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/count/index.js +34 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/count/index.js.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/index.d.ts +98 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/index.js +70 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/index.js.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/item/index.d.ts +69 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/item/index.d.ts.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/item/index.js +56 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/granularSiteRestoreArtifacts/item/index.js.map +1 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/index.d.ts +8 -2
- package/solutions/backupRestore/sharePointRestoreSessions/item/index.d.ts.map +1 -1
- package/solutions/backupRestore/sharePointRestoreSessions/item/index.js +6 -0
- package/solutions/backupRestore/sharePointRestoreSessions/item/index.js.map +1 -1
- package/tsconfig.json +0 -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.83",
|
|
4
4
|
"description": "Solutions fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"typescript": "^
|
|
37
|
+
"typescript": "^6.0.3"
|
|
38
38
|
},
|
|
39
39
|
"type": "module"
|
|
40
40
|
}
|
|
@@ -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/browseSessions/$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,mFAAmF,CAAC;AAQ/H;;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/browseSessions/$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,gFAAgF,CAAC;AAC/H;;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,98 @@
|
|
|
1
|
+
import { type BrowseSessionBase, type BrowseSessionBaseCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type BrowseSessionBaseItemRequestBuilder } from './item/index.js';
|
|
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 browseSessions property of the microsoft.graph.backupRestoreRoot entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface BrowseSessionsRequestBuilder extends BaseRequestBuilder<BrowseSessionsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity.
|
|
15
|
+
* @param browseSessionBaseId The unique identifier of browseSessionBase
|
|
16
|
+
* @returns {BrowseSessionBaseItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byBrowseSessionBaseId(browseSessionBaseId: string): BrowseSessionBaseItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Get a list of the browseSessionBase objects and their properties.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<BrowseSessionBaseCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/backuprestoreroot-list-browsesessions?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<BrowseSessionsRequestBuilderGetQueryParameters> | undefined): Promise<BrowseSessionBaseCollectionResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Create new navigation property to browseSessions for solutions
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<BrowseSessionBase>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
*/
|
|
34
|
+
post(body: BrowseSessionBase, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BrowseSessionBase | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Get a list of the browseSessionBase objects and their properties.
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns {RequestInformation}
|
|
39
|
+
*/
|
|
40
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BrowseSessionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
41
|
+
/**
|
|
42
|
+
* Create new navigation property to browseSessions for solutions
|
|
43
|
+
* @param body The request body
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns {RequestInformation}
|
|
46
|
+
*/
|
|
47
|
+
toPostRequestInformation(body: BrowseSessionBase, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Get a list of the browseSessionBase objects and their properties.
|
|
51
|
+
*/
|
|
52
|
+
export interface BrowseSessionsRequestBuilderGetQueryParameters {
|
|
53
|
+
/**
|
|
54
|
+
* Include count of items
|
|
55
|
+
*/
|
|
56
|
+
count?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Expand related entities
|
|
59
|
+
*/
|
|
60
|
+
expand?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Filter items by property values
|
|
63
|
+
*/
|
|
64
|
+
filter?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Order items by property values
|
|
67
|
+
*/
|
|
68
|
+
orderby?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* Search items by search phrases
|
|
71
|
+
*/
|
|
72
|
+
search?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Select properties to be returned
|
|
75
|
+
*/
|
|
76
|
+
select?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* Skip the first n items
|
|
79
|
+
*/
|
|
80
|
+
skip?: number;
|
|
81
|
+
/**
|
|
82
|
+
* Show only the first n items
|
|
83
|
+
*/
|
|
84
|
+
top?: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const BrowseSessionsRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
90
|
+
/**
|
|
91
|
+
* Metadata for all the navigation properties in the request builder.
|
|
92
|
+
*/
|
|
93
|
+
export declare const BrowseSessionsRequestBuilderNavigationMetadata: Record<Exclude<keyof BrowseSessionsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
94
|
+
/**
|
|
95
|
+
* Metadata for all the requests in the request builder.
|
|
96
|
+
*/
|
|
97
|
+
export declare const BrowseSessionsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
98
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA8I,KAAK,iBAAiB,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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,mIAAmI,CAAC;AAcxL;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAStK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAuB1D,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createBrowseSessionBaseCollectionResponseFromDiscriminatorValue, createBrowseSessionBaseFromDiscriminatorValue, serializeBrowseSessionBase } 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
|
+
// @ts-ignore
|
|
11
|
+
import { BrowseSessionBaseItemRequestBuilderNavigationMetadata, BrowseSessionBaseItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const BrowseSessionsRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const BrowseSessionsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const BrowseSessionsRequestBuilderNavigationMetadata = {
|
|
33
|
+
byBrowseSessionBaseId: {
|
|
34
|
+
requestsMetadata: BrowseSessionBaseItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: BrowseSessionBaseItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["browseSessionBase%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export const BrowseSessionsRequestBuilderRequestsMetadata = {
|
|
46
|
+
get: {
|
|
47
|
+
uriTemplate: BrowseSessionsRequestBuilderUriTemplate,
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "send",
|
|
53
|
+
responseBodyFactory: createBrowseSessionBaseCollectionResponseFromDiscriminatorValue,
|
|
54
|
+
queryParametersMapper: BrowseSessionsRequestBuilderGetQueryParametersMapper,
|
|
55
|
+
},
|
|
56
|
+
post: {
|
|
57
|
+
uriTemplate: BrowseSessionsRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "send",
|
|
63
|
+
responseBodyFactory: createBrowseSessionBaseFromDiscriminatorValue,
|
|
64
|
+
requestBodyContentType: "application/json",
|
|
65
|
+
requestBodySerializer: serializeBrowseSessionBase,
|
|
66
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
71
|
+
//# 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,+DAA+D,EAAE,6CAA6C,EAAE,0BAA0B,EAAoE,MAAM,wCAAwC,CAAC;AACtQ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,qDAAqD,EAAE,mDAAmD,EAA4C,MAAM,iBAAiB,CAAC;AAqFvL;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,gIAAgI,CAAC;AACxL;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,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,8CAA8C,GAAgH;IACvK,qBAAqB,EAAE;QACnB,gBAAgB,EAAE,mDAAmD;QACrE,kBAAkB,EAAE,qDAAqD;QACzE,sBAAsB,EAAE,CAAC,wBAAwB,CAAC;KACrD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+DAA+D;QACrF,qBAAqB,EAAE,oDAAoD;KAC9E;IACD,IAAI,EAAE;QACF,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,6CAA6C;QACnE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,0BAA0B;QACjD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type BrowsableResourceType, type BrowseQueryOrder, type BrowseQueryResponseItem } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface BrowsePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores model information.
|
|
6
|
+
*/
|
|
7
|
+
backingStoreEnabled?: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* The browseLocationItemKey property
|
|
10
|
+
*/
|
|
11
|
+
browseLocationItemKey?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The browseResourceType property
|
|
14
|
+
*/
|
|
15
|
+
browseResourceType?: BrowsableResourceType | null;
|
|
16
|
+
/**
|
|
17
|
+
* The filter property
|
|
18
|
+
*/
|
|
19
|
+
filter?: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* The orderBy property
|
|
22
|
+
*/
|
|
23
|
+
orderBy?: BrowseQueryOrder | null;
|
|
24
|
+
}
|
|
25
|
+
export interface BrowsePostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
26
|
+
/**
|
|
27
|
+
* The value property
|
|
28
|
+
*/
|
|
29
|
+
value?: BrowseQueryResponseItem[] | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Provides operations to call the browse method.
|
|
33
|
+
*/
|
|
34
|
+
export interface BrowseRequestBuilder extends BaseRequestBuilder<BrowseRequestBuilder> {
|
|
35
|
+
/**
|
|
36
|
+
* Invoke action browse
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {Promise<BrowsePostResponse>}
|
|
40
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
41
|
+
*/
|
|
42
|
+
post(body: BrowsePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BrowsePostResponse | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Invoke action browse
|
|
45
|
+
* @param body The request body
|
|
46
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
|
+
* @returns {RequestInformation}
|
|
48
|
+
*/
|
|
49
|
+
toPostRequestInformation(body: BrowsePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
53
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
54
|
+
* @returns {BrowsePostRequestBody}
|
|
55
|
+
*/
|
|
56
|
+
export declare function createBrowsePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
57
|
+
/**
|
|
58
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
59
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
60
|
+
* @returns {BrowsePostResponse}
|
|
61
|
+
*/
|
|
62
|
+
export declare function createBrowsePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
63
|
+
/**
|
|
64
|
+
* The deserialization information for the current model
|
|
65
|
+
* @param BrowsePostRequestBody The instance to deserialize into.
|
|
66
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
67
|
+
*/
|
|
68
|
+
export declare function deserializeIntoBrowsePostRequestBody(browsePostRequestBody?: Partial<BrowsePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
69
|
+
/**
|
|
70
|
+
* The deserialization information for the current model
|
|
71
|
+
* @param BrowsePostResponse The instance to deserialize into.
|
|
72
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
73
|
+
*/
|
|
74
|
+
export declare function deserializeIntoBrowsePostResponse(browsePostResponse?: Partial<BrowsePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
75
|
+
/**
|
|
76
|
+
* Serializes information the current object
|
|
77
|
+
* @param BrowsePostRequestBody The instance to serialize from.
|
|
78
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
79
|
+
* @param writer Serialization writer to use to serialize this model
|
|
80
|
+
*/
|
|
81
|
+
export declare function serializeBrowsePostRequestBody(writer: SerializationWriter, browsePostRequestBody?: Partial<BrowsePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
82
|
+
/**
|
|
83
|
+
* Serializes information the current object
|
|
84
|
+
* @param BrowsePostResponse The instance to serialize from.
|
|
85
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86
|
+
* @param writer Serialization writer to use to serialize this model
|
|
87
|
+
*/
|
|
88
|
+
export declare function serializeBrowsePostResponse(writer: SerializationWriter, browsePostResponse?: Partial<BrowsePostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
89
|
+
/**
|
|
90
|
+
* Uri template for the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const BrowseRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse";
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const BrowseRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoP,KAAK,qCAAqC,EAAE,KAAK,qBAAqB,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAIva,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;OAEG;IACH,kBAAkB,CAAC,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AAE,SAAS,KAAK,IAAI,CAAC,CAQvK;AACD;;;;GAIG;AAEH,wBAAgB,iCAAiC,CAAC,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK9J;AACD;;;;;GAKG;AAEH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAO3M;AACD;;;;;GAKG;AAEH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAIlM;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,sFAAsF,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { BrowsableResourceTypeObject, BrowseQueryOrderObject, createBrowseQueryResponseItemFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeBrowseQueryResponseItem } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {BrowsePostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createBrowsePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoBrowsePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns {BrowsePostResponse}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function createBrowsePostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoBrowsePostResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @param BrowsePostRequestBody The instance to deserialize into.
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
export function deserializeIntoBrowsePostRequestBody(browsePostRequestBody = {}) {
|
|
33
|
+
return {
|
|
34
|
+
"backingStoreEnabled": n => { browsePostRequestBody.backingStoreEnabled = true; },
|
|
35
|
+
"browseLocationItemKey": n => { browsePostRequestBody.browseLocationItemKey = n.getStringValue(); },
|
|
36
|
+
"browseResourceType": n => { browsePostRequestBody.browseResourceType = n.getEnumValue(BrowsableResourceTypeObject); },
|
|
37
|
+
"filter": n => { browsePostRequestBody.filter = n.getStringValue(); },
|
|
38
|
+
"orderBy": n => { browsePostRequestBody.orderBy = n.getEnumValue(BrowseQueryOrderObject); },
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The deserialization information for the current model
|
|
43
|
+
* @param BrowsePostResponse The instance to deserialize into.
|
|
44
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45
|
+
*/
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
export function deserializeIntoBrowsePostResponse(browsePostResponse = {}) {
|
|
48
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(browsePostResponse)), { "value": n => { browsePostResponse.value = n.getCollectionOfObjectValues(createBrowseQueryResponseItemFromDiscriminatorValue); } });
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Serializes information the current object
|
|
52
|
+
* @param BrowsePostRequestBody The instance to serialize from.
|
|
53
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
54
|
+
* @param writer Serialization writer to use to serialize this model
|
|
55
|
+
*/
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
export function serializeBrowsePostRequestBody(writer, browsePostRequestBody = {}, isSerializingDerivedType = false) {
|
|
58
|
+
if (!browsePostRequestBody || isSerializingDerivedType) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
writer.writeStringValue("browseLocationItemKey", browsePostRequestBody.browseLocationItemKey);
|
|
62
|
+
writer.writeEnumValue("browseResourceType", browsePostRequestBody.browseResourceType);
|
|
63
|
+
writer.writeStringValue("filter", browsePostRequestBody.filter);
|
|
64
|
+
writer.writeEnumValue("orderBy", browsePostRequestBody.orderBy);
|
|
65
|
+
writer.writeAdditionalData(browsePostRequestBody.additionalData);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Serializes information the current object
|
|
69
|
+
* @param BrowsePostResponse The instance to serialize from.
|
|
70
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
71
|
+
* @param writer Serialization writer to use to serialize this model
|
|
72
|
+
*/
|
|
73
|
+
// @ts-ignore
|
|
74
|
+
export function serializeBrowsePostResponse(writer, browsePostResponse = {}, isSerializingDerivedType = false) {
|
|
75
|
+
if (!browsePostResponse || isSerializingDerivedType) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
serializeBaseCollectionPaginationCountResponse(writer, browsePostResponse, isSerializingDerivedType);
|
|
79
|
+
writer.writeCollectionOfObjectValues("value", browsePostResponse.value, serializeBrowseQueryResponseItem);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
export const BrowseRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse";
|
|
85
|
+
/**
|
|
86
|
+
* Metadata for all the requests in the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export const BrowseRequestBuilderRequestsMetadata = {
|
|
89
|
+
post: {
|
|
90
|
+
uriTemplate: BrowseRequestBuilderUriTemplate,
|
|
91
|
+
responseBodyContentType: "application/json",
|
|
92
|
+
errorMappings: {
|
|
93
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
94
|
+
},
|
|
95
|
+
adapterMethodName: "send",
|
|
96
|
+
responseBodyFactory: createBrowsePostResponseFromDiscriminatorValue,
|
|
97
|
+
requestBodyContentType: "application/json",
|
|
98
|
+
requestBodySerializer: serializeBrowsePostRequestBody,
|
|
99
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
/* tslint:enable */
|
|
103
|
+
/* eslint-enable */
|
|
104
|
+
//# 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,2BAA2B,EAAE,sBAAsB,EAAE,mDAAmD,EAAE,oDAAoD,EAAE,8CAA8C,EAAE,gCAAgC,EAA+H,MAAM,wCAAwC,CAAC;AACva,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAoD7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,iDAAiD,CAAC,SAAgC;IAC9F,OAAO,oCAAoC,CAAC;AAChD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,8CAA8C,CAAC,SAAgC;IAC3F,OAAO,i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type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
export interface BrowseWithNextFetchTokenGetResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* The value property
|
|
6
|
+
*/
|
|
7
|
+
value?: BrowseQueryResponseItem[] | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to call the browse method.
|
|
11
|
+
*/
|
|
12
|
+
export interface BrowseWithNextFetchTokenRequestBuilder extends BaseRequestBuilder<BrowseWithNextFetchTokenRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Invoke function browse
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<BrowseWithNextFetchTokenGetResponse>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<BrowseWithNextFetchTokenRequestBuilderGetQueryParameters> | undefined): Promise<BrowseWithNextFetchTokenGetResponse | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Invoke function browse
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {RequestInformation}
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<BrowseWithNextFetchTokenRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Invoke function browse
|
|
29
|
+
*/
|
|
30
|
+
export interface BrowseWithNextFetchTokenRequestBuilderGetQueryParameters {
|
|
31
|
+
/**
|
|
32
|
+
* Include count of items
|
|
33
|
+
*/
|
|
34
|
+
count?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Filter items by property values
|
|
37
|
+
*/
|
|
38
|
+
filter?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Search items by search phrases
|
|
41
|
+
*/
|
|
42
|
+
search?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Skip the first n items
|
|
45
|
+
*/
|
|
46
|
+
skip?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Show only the first n items
|
|
49
|
+
*/
|
|
50
|
+
top?: number;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
54
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
55
|
+
* @returns {BrowseWithNextFetchTokenGetResponse}
|
|
56
|
+
*/
|
|
57
|
+
export declare function createBrowseWithNextFetchTokenGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
58
|
+
/**
|
|
59
|
+
* The deserialization information for the current model
|
|
60
|
+
* @param BrowseWithNextFetchTokenGetResponse The instance to deserialize into.
|
|
61
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
62
|
+
*/
|
|
63
|
+
export declare function deserializeIntoBrowseWithNextFetchTokenGetResponse(browseWithNextFetchTokenGetResponse?: Partial<BrowseWithNextFetchTokenGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
64
|
+
/**
|
|
65
|
+
* Serializes information the current object
|
|
66
|
+
* @param BrowseWithNextFetchTokenGetResponse The instance to serialize from.
|
|
67
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
68
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69
|
+
*/
|
|
70
|
+
export declare function serializeBrowseWithNextFetchTokenGetResponse(writer: SerializationWriter, browseWithNextFetchTokenGetResponse?: Partial<BrowseWithNextFetchTokenGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
71
|
+
/**
|
|
72
|
+
* Uri template for the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const BrowseWithNextFetchTokenRequestBuilderUriTemplate = "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}";
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const BrowseWithNextFetchTokenRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+L,KAAK,qCAAqC,EAAE,KAAK,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAI/T,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElO,MAAM,WAAW,mCAAoC,SAAQ,qCAAqC,EAAE,QAAQ;IACxG;;OAEG;IACH,KAAK,CAAC,EAAE,uBAAuB,EAAE,GAAG,IAAI,CAAC;CAC5C;AACD;;GAEG;AACH,MAAM,WAAW,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;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,CAAC;IAChB;;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