@microsoft/msgraph-sdk-privacy 1.0.0-preview.13 → 1.0.0-preview.15
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 +3 -3
- package/privacy/index.d.ts +10 -8
- package/privacy/index.d.ts.map +1 -1
- package/privacy/index.js +9 -10
- package/privacy/subjectRightsRequests/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/count/index.js +7 -7
- package/privacy/subjectRightsRequests/index.d.ts +11 -9
- package/privacy/subjectRightsRequests/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/index.js +9 -11
- package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/count/index.js +7 -7
- package/privacy/subjectRightsRequests/item/approvers/index.d.ts +8 -7
- package/privacy/subjectRightsRequests/item/approvers/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/index.js +7 -9
- package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/item/index.js +7 -9
- package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts +10 -8
- package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.js +9 -9
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.js +7 -7
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.js +7 -8
- package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/count/index.js +7 -7
- package/privacy/subjectRightsRequests/item/collaborators/index.d.ts +8 -7
- package/privacy/subjectRightsRequests/item/collaborators/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/index.js +7 -9
- package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/item/index.js +7 -9
- package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts +10 -8
- package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.js +9 -9
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.js +7 -7
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.js +7 -8
- package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/getFinalAttachment/index.js +7 -7
- package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/getFinalReport/index.js +7 -7
- package/privacy/subjectRightsRequests/item/index.d.ts +12 -9
- package/privacy/subjectRightsRequests/item/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/index.js +11 -17
- package/privacy/subjectRightsRequests/item/notes/count/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/notes/count/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/notes/count/index.js +7 -7
- package/privacy/subjectRightsRequests/item/notes/index.d.ts +11 -9
- package/privacy/subjectRightsRequests/item/notes/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/notes/index.js +9 -11
- package/privacy/subjectRightsRequests/item/notes/item/index.d.ts +12 -9
- package/privacy/subjectRightsRequests/item/notes/item/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/notes/item/index.js +11 -11
- package/privacy/subjectRightsRequests/item/team/index.d.ts +7 -6
- package/privacy/subjectRightsRequests/item/team/index.d.ts.map +1 -1
- package/privacy/subjectRightsRequests/item/team/index.js +7 -7
- package/privacyServiceClient.d.ts.map +1 -1
- package/privacyServiceClient.js +1 -2
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-privacy",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.15",
|
|
4
4
|
"description": "Privacy fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
38
|
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
39
|
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.15",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "1dcf0e9093a5645283fea0e91cc30247bc3a76c4"
|
|
48
48
|
}
|
package/privacy/index.d.ts
CHANGED
|
@@ -12,27 +12,29 @@ export interface PrivacyRequestBuilder extends BaseRequestBuilder<PrivacyRequest
|
|
|
12
12
|
/**
|
|
13
13
|
* Get privacy
|
|
14
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
-
* @returns
|
|
15
|
+
* @returns {Promise<Privacy>}
|
|
16
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
16
17
|
*/
|
|
17
18
|
get(requestConfiguration?: RequestConfiguration<PrivacyRequestBuilderGetQueryParameters> | undefined): Promise<Privacy | undefined>;
|
|
18
19
|
/**
|
|
19
20
|
* Update privacy
|
|
20
21
|
* @param body The request body
|
|
21
22
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
23
|
+
* @returns {Promise<Privacy>}
|
|
24
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
25
|
*/
|
|
24
26
|
patch(body: Privacy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Privacy | undefined>;
|
|
25
27
|
/**
|
|
26
28
|
* Get privacy
|
|
27
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
28
|
-
* @returns
|
|
30
|
+
* @returns {RequestInformation}
|
|
29
31
|
*/
|
|
30
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PrivacyRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
31
33
|
/**
|
|
32
34
|
* Update privacy
|
|
33
35
|
* @param body The request body
|
|
34
36
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
-
* @returns
|
|
37
|
+
* @returns {RequestInformation}
|
|
36
38
|
*/
|
|
37
39
|
toPatchRequestInformation(body: Privacy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
38
40
|
}
|
|
@@ -49,6 +51,10 @@ export interface PrivacyRequestBuilderGetQueryParameters {
|
|
|
49
51
|
*/
|
|
50
52
|
select?: string[];
|
|
51
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Uri template for the request builder.
|
|
56
|
+
*/
|
|
57
|
+
export declare const PrivacyRequestBuilderUriTemplate = "{+baseurl}/privacy{?%24expand,%24select}";
|
|
52
58
|
/**
|
|
53
59
|
* Metadata for all the navigation properties in the request builder.
|
|
54
60
|
*/
|
|
@@ -57,8 +63,4 @@ export declare const PrivacyRequestBuilderNavigationMetadata: Record<Exclude<key
|
|
|
57
63
|
* Metadata for all the requests in the request builder.
|
|
58
64
|
*/
|
|
59
65
|
export declare const PrivacyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
-
/**
|
|
61
|
-
* Uri template for the request builder.
|
|
62
|
-
*/
|
|
63
|
-
export declare const PrivacyRequestBuilderUriTemplate = "{+baseurl}/privacy{?%24expand,%24select}";
|
|
64
66
|
//# sourceMappingURL=index.d.ts.map
|
package/privacy/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyD,KAAK,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAErH,OAAO,EAA8G,KAAK,mCAAmC,EAAE,MAAM,0BAA0B,CAAC;AAChM,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,qBAAqB,IAAI,mCAAmC,CAAC;IACjE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtI;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,6CAA6C,CAAC;AAQ3F;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
|
package/privacy/index.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PrivacyRequestBuilderRequestsMetadata = exports.PrivacyRequestBuilderNavigationMetadata = exports.PrivacyRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const subjectRightsRequests_1 = require("./subjectRightsRequests/");
|
|
10
|
+
/**
|
|
11
|
+
* Uri template for the request builder.
|
|
12
|
+
*/
|
|
13
|
+
exports.PrivacyRequestBuilderUriTemplate = "{+baseurl}/privacy{?%24expand,%24select}";
|
|
10
14
|
/**
|
|
11
15
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
16
|
*/
|
|
@@ -19,7 +23,6 @@ const PrivacyRequestBuilderGetQueryParametersMapper = {
|
|
|
19
23
|
*/
|
|
20
24
|
exports.PrivacyRequestBuilderNavigationMetadata = {
|
|
21
25
|
subjectRightsRequests: {
|
|
22
|
-
uriTemplate: subjectRightsRequests_1.SubjectRightsRequestsRequestBuilderUriTemplate,
|
|
23
26
|
requestsMetadata: subjectRightsRequests_1.SubjectRightsRequestsRequestBuilderRequestsMetadata,
|
|
24
27
|
navigationMetadata: subjectRightsRequests_1.SubjectRightsRequestsRequestBuilderNavigationMetadata,
|
|
25
28
|
},
|
|
@@ -29,20 +32,20 @@ exports.PrivacyRequestBuilderNavigationMetadata = {
|
|
|
29
32
|
*/
|
|
30
33
|
exports.PrivacyRequestBuilderRequestsMetadata = {
|
|
31
34
|
get: {
|
|
35
|
+
uriTemplate: exports.PrivacyRequestBuilderUriTemplate,
|
|
32
36
|
responseBodyContentType: "application/json",
|
|
33
37
|
errorMappings: {
|
|
34
|
-
|
|
35
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
38
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
39
|
},
|
|
37
40
|
adapterMethodName: "sendAsync",
|
|
38
41
|
responseBodyFactory: models_1.createPrivacyFromDiscriminatorValue,
|
|
39
42
|
queryParametersMapper: PrivacyRequestBuilderGetQueryParametersMapper,
|
|
40
43
|
},
|
|
41
44
|
patch: {
|
|
45
|
+
uriTemplate: exports.PrivacyRequestBuilderUriTemplate,
|
|
42
46
|
responseBodyContentType: "application/json",
|
|
43
47
|
errorMappings: {
|
|
44
|
-
|
|
45
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
49
|
},
|
|
47
50
|
adapterMethodName: "sendAsync",
|
|
48
51
|
responseBodyFactory: models_1.createPrivacyFromDiscriminatorValue,
|
|
@@ -51,9 +54,5 @@ exports.PrivacyRequestBuilderRequestsMetadata = {
|
|
|
51
54
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
52
55
|
},
|
|
53
56
|
};
|
|
54
|
-
/**
|
|
55
|
-
* Uri template for the request builder.
|
|
56
|
-
*/
|
|
57
|
-
exports.PrivacyRequestBuilderUriTemplate = "{+baseurl}/privacy{?%24expand,%24select}";
|
|
58
57
|
/* tslint:enable */
|
|
59
58
|
/* eslint-enable */
|
|
@@ -6,14 +6,15 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the number of the resource
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
14
|
/**
|
|
14
15
|
* Get the number of the resource
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns
|
|
17
|
+
* @returns {RequestInformation}
|
|
17
18
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
18
19
|
*/
|
|
19
20
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -31,12 +32,12 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
31
32
|
*/
|
|
32
33
|
search?: string;
|
|
33
34
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Metadata for all the requests in the request builder.
|
|
36
|
-
*/
|
|
37
|
-
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
38
35
|
/**
|
|
39
36
|
* Uri template for the request builder.
|
|
40
37
|
*/
|
|
41
38
|
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/$count{?%24filter,%24search}";
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;;OAKG;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,0EAA0E,CAAC;AAQtH;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/$count{?%24filter,%24search}";
|
|
8
12
|
/**
|
|
9
13
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
14
|
*/
|
|
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
|
|
|
17
21
|
*/
|
|
18
22
|
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
23
|
get: {
|
|
24
|
+
uriTemplate: exports.CountRequestBuilderUriTemplate,
|
|
20
25
|
responseBodyContentType: "text/plain;q=0.9",
|
|
21
26
|
errorMappings: {
|
|
22
|
-
|
|
23
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
27
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
28
|
},
|
|
25
29
|
adapterMethodName: "sendPrimitiveAsync",
|
|
26
30
|
responseBodyFactory: "number",
|
|
27
31
|
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
32
|
},
|
|
29
33
|
};
|
|
30
|
-
/**
|
|
31
|
-
* Uri template for the request builder.
|
|
32
|
-
*/
|
|
33
|
-
exports.CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/$count{?%24filter,%24search}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -14,14 +14,15 @@ export interface SubjectRightsRequestsRequestBuilder extends BaseRequestBuilder<
|
|
|
14
14
|
/**
|
|
15
15
|
* Provides operations to manage the subjectRightsRequests property of the microsoft.graph.privacy entity.
|
|
16
16
|
* @param subjectRightsRequestId The unique identifier of subjectRightsRequest
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns {SubjectRightsRequestItemRequestBuilder}
|
|
18
18
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
19
19
|
*/
|
|
20
20
|
bySubjectRightsRequestId(subjectRightsRequestId: string): SubjectRightsRequestItemRequestBuilder;
|
|
21
21
|
/**
|
|
22
22
|
* Get a list of subjectRightsRequest objects and their properties.
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns {Promise<SubjectRightsRequestCollectionResponse>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
26
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
26
27
|
* @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-list?view=graph-rest-1.0|Find more info here}
|
|
27
28
|
*/
|
|
@@ -30,7 +31,8 @@ export interface SubjectRightsRequestsRequestBuilder extends BaseRequestBuilder<
|
|
|
30
31
|
* Create a new subjectRightsRequest object.
|
|
31
32
|
* @param body The request body
|
|
32
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
-
* @returns
|
|
34
|
+
* @returns {Promise<SubjectRightsRequest>}
|
|
35
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
34
36
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
35
37
|
* @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-post?view=graph-rest-1.0|Find more info here}
|
|
36
38
|
*/
|
|
@@ -38,7 +40,7 @@ export interface SubjectRightsRequestsRequestBuilder extends BaseRequestBuilder<
|
|
|
38
40
|
/**
|
|
39
41
|
* Get a list of subjectRightsRequest objects and their properties.
|
|
40
42
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
41
|
-
* @returns
|
|
43
|
+
* @returns {RequestInformation}
|
|
42
44
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
43
45
|
*/
|
|
44
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubjectRightsRequestsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -46,7 +48,7 @@ export interface SubjectRightsRequestsRequestBuilder extends BaseRequestBuilder<
|
|
|
46
48
|
* Create a new subjectRightsRequest object.
|
|
47
49
|
* @param body The request body
|
|
48
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
49
|
-
* @returns
|
|
51
|
+
* @returns {RequestInformation}
|
|
50
52
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
51
53
|
*/
|
|
52
54
|
toPostRequestInformation(body: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
@@ -88,6 +90,10 @@ export interface SubjectRightsRequestsRequestBuilderGetQueryParameters {
|
|
|
88
90
|
*/
|
|
89
91
|
top?: number;
|
|
90
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const SubjectRightsRequestsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
91
97
|
/**
|
|
92
98
|
* Metadata for all the navigation properties in the request builder.
|
|
93
99
|
*/
|
|
@@ -96,8 +102,4 @@ export declare const SubjectRightsRequestsRequestBuilderNavigationMetadata: Reco
|
|
|
96
102
|
* Metadata for all the requests in the request builder.
|
|
97
103
|
*/
|
|
98
104
|
export declare const SubjectRightsRequestsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
99
|
-
/**
|
|
100
|
-
* Uri template for the request builder.
|
|
101
|
-
*/
|
|
102
|
-
export declare const SubjectRightsRequestsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
103
105
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuJ,KAAK,oBAAoB,EAAE,KAAK,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAE7Q,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuJ,KAAK,oBAAoB,EAAE,KAAK,sCAAsC,EAAE,MAAM,gCAAgC,CAAC;AAE7Q,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAoH,KAAK,sCAAsC,EAAE,MAAM,SAAS,CAAC;AACxL,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,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,wBAAwB,CAAC,sBAAsB,EAAE,MAAM,GAAI,sCAAsC,CAAC;IACnG;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sCAAsC,GAAG,SAAS,CAAC,CAAC;IACnL;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC/I;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;;OAMG;IACF,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/I;AACD;;GAEG;AACH,MAAM,WAAW,qDAAqD;IAClE;;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,8CAA8C,0HAA0H,CAAC;AActL;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CASpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SubjectRightsRequestsRequestBuilderRequestsMetadata = exports.SubjectRightsRequestsRequestBuilderNavigationMetadata = exports.SubjectRightsRequestsRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const count_1 = require("./count/");
|
|
10
10
|
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.SubjectRightsRequestsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,13 +30,11 @@ const SubjectRightsRequestsRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.SubjectRightsRequestsRequestBuilderNavigationMetadata = {
|
|
28
32
|
bySubjectRightsRequestId: {
|
|
29
|
-
uriTemplate: item_1.SubjectRightsRequestItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.SubjectRightsRequestItemRequestBuilderRequestsMetadata,
|
|
31
34
|
navigationMetadata: item_1.SubjectRightsRequestItemRequestBuilderNavigationMetadata,
|
|
32
35
|
pathParametersMappings: ["subjectRightsRequest%2Did"],
|
|
33
36
|
},
|
|
34
37
|
count: {
|
|
35
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
38
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
39
|
},
|
|
38
40
|
};
|
|
@@ -41,20 +43,20 @@ exports.SubjectRightsRequestsRequestBuilderNavigationMetadata = {
|
|
|
41
43
|
*/
|
|
42
44
|
exports.SubjectRightsRequestsRequestBuilderRequestsMetadata = {
|
|
43
45
|
get: {
|
|
46
|
+
uriTemplate: exports.SubjectRightsRequestsRequestBuilderUriTemplate,
|
|
44
47
|
responseBodyContentType: "application/json",
|
|
45
48
|
errorMappings: {
|
|
46
|
-
|
|
47
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
50
|
},
|
|
49
51
|
adapterMethodName: "sendAsync",
|
|
50
52
|
responseBodyFactory: models_1.createSubjectRightsRequestCollectionResponseFromDiscriminatorValue,
|
|
51
53
|
queryParametersMapper: SubjectRightsRequestsRequestBuilderGetQueryParametersMapper,
|
|
52
54
|
},
|
|
53
55
|
post: {
|
|
56
|
+
uriTemplate: exports.SubjectRightsRequestsRequestBuilderUriTemplate,
|
|
54
57
|
responseBodyContentType: "application/json",
|
|
55
58
|
errorMappings: {
|
|
56
|
-
|
|
57
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
60
|
},
|
|
59
61
|
adapterMethodName: "sendAsync",
|
|
60
62
|
responseBodyFactory: models_1.createSubjectRightsRequestFromDiscriminatorValue,
|
|
@@ -63,9 +65,5 @@ exports.SubjectRightsRequestsRequestBuilderRequestsMetadata = {
|
|
|
63
65
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
64
66
|
},
|
|
65
67
|
};
|
|
66
|
-
/**
|
|
67
|
-
* Uri template for the request builder.
|
|
68
|
-
*/
|
|
69
|
-
exports.SubjectRightsRequestsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
70
68
|
/* tslint:enable */
|
|
71
69
|
/* eslint-enable */
|
|
@@ -6,14 +6,15 @@ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuil
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the number of the resource
|
|
8
8
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
-
* @returns
|
|
9
|
+
* @returns {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
11
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
11
12
|
*/
|
|
12
13
|
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
14
|
/**
|
|
14
15
|
* Get the number of the resource
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns
|
|
17
|
+
* @returns {RequestInformation}
|
|
17
18
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
18
19
|
*/
|
|
19
20
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -31,12 +32,12 @@ export interface CountRequestBuilderGetQueryParameters {
|
|
|
31
32
|
*/
|
|
32
33
|
search?: string;
|
|
33
34
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Metadata for all the requests in the request builder.
|
|
36
|
-
*/
|
|
37
|
-
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
38
35
|
/**
|
|
39
36
|
* Uri template for the request builder.
|
|
40
37
|
*/
|
|
41
38
|
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/$count{?%24filter,%24search}";
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for all the requests in the request builder.
|
|
41
|
+
*/
|
|
42
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
42
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;;OAKG;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"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/$count{?%24filter,%24search}";
|
|
8
12
|
/**
|
|
9
13
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
14
|
*/
|
|
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
|
|
|
17
21
|
*/
|
|
18
22
|
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
23
|
get: {
|
|
24
|
+
uriTemplate: exports.CountRequestBuilderUriTemplate,
|
|
20
25
|
responseBodyContentType: "text/plain;q=0.9",
|
|
21
26
|
errorMappings: {
|
|
22
|
-
|
|
23
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
27
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
28
|
},
|
|
25
29
|
adapterMethodName: "sendPrimitiveAsync",
|
|
26
30
|
responseBodyFactory: "number",
|
|
27
31
|
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
32
|
},
|
|
29
33
|
};
|
|
30
|
-
/**
|
|
31
|
-
* Uri template for the request builder.
|
|
32
|
-
*/
|
|
33
|
-
exports.CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/$count{?%24filter,%24search}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -14,21 +14,22 @@ export interface ApproversRequestBuilder extends BaseRequestBuilder<ApproversReq
|
|
|
14
14
|
/**
|
|
15
15
|
* Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.
|
|
16
16
|
* @param userId The unique identifier of user
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns {UserItemRequestBuilder}
|
|
18
18
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
19
19
|
*/
|
|
20
20
|
byUserId(userId: string): UserItemRequestBuilder;
|
|
21
21
|
/**
|
|
22
22
|
* Collection of users who can approve the request. Currently only supported for requests of type delete.
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns {Promise<UserCollectionResponse>}
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
26
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
26
27
|
*/
|
|
27
28
|
get(requestConfiguration?: RequestConfiguration<ApproversRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
|
|
28
29
|
/**
|
|
29
30
|
* Collection of users who can approve the request. Currently only supported for requests of type delete.
|
|
30
31
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
-
* @returns
|
|
32
|
+
* @returns {RequestInformation}
|
|
32
33
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
33
34
|
*/
|
|
34
35
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ApproversRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -70,6 +71,10 @@ export interface ApproversRequestBuilderGetQueryParameters {
|
|
|
70
71
|
*/
|
|
71
72
|
top?: number;
|
|
72
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Uri template for the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const ApproversRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
73
78
|
/**
|
|
74
79
|
* Metadata for all the navigation properties in the request builder.
|
|
75
80
|
*/
|
|
@@ -78,8 +83,4 @@ export declare const ApproversRequestBuilderNavigationMetadata: Record<Exclude<k
|
|
|
78
83
|
* Metadata for all the requests in the request builder.
|
|
79
84
|
*/
|
|
80
85
|
export declare const ApproversRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
81
|
-
/**
|
|
82
|
-
* Uri template for the request builder.
|
|
83
|
-
*/
|
|
84
|
-
export declare const ApproversRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
85
86
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAE,KAAK,sBAAsB,EAAoF,MAAM,SAAS,CAAC;AACxI,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAI,sBAAsB,CAAC;IACnD;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,kCAAkC,gKAAgK,CAAC;AAchN;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ApproversRequestBuilderRequestsMetadata = exports.ApproversRequestBuilderNavigationMetadata = exports.ApproversRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const count_1 = require("./count/");
|
|
10
10
|
const item_1 = require("./item/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.ApproversRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -26,13 +30,11 @@ const ApproversRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.ApproversRequestBuilderNavigationMetadata = {
|
|
28
32
|
byUserId: {
|
|
29
|
-
uriTemplate: item_1.UserItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.UserItemRequestBuilderRequestsMetadata,
|
|
31
34
|
navigationMetadata: item_1.UserItemRequestBuilderNavigationMetadata,
|
|
32
35
|
pathParametersMappings: ["user%2Did"],
|
|
33
36
|
},
|
|
34
37
|
count: {
|
|
35
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
36
38
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
37
39
|
},
|
|
38
40
|
};
|
|
@@ -41,19 +43,15 @@ exports.ApproversRequestBuilderNavigationMetadata = {
|
|
|
41
43
|
*/
|
|
42
44
|
exports.ApproversRequestBuilderRequestsMetadata = {
|
|
43
45
|
get: {
|
|
46
|
+
uriTemplate: exports.ApproversRequestBuilderUriTemplate,
|
|
44
47
|
responseBodyContentType: "application/json",
|
|
45
48
|
errorMappings: {
|
|
46
|
-
|
|
47
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
50
|
},
|
|
49
51
|
adapterMethodName: "sendAsync",
|
|
50
52
|
responseBodyFactory: models_1.createUserCollectionResponseFromDiscriminatorValue,
|
|
51
53
|
queryParametersMapper: ApproversRequestBuilderGetQueryParametersMapper,
|
|
52
54
|
},
|
|
53
55
|
};
|
|
54
|
-
/**
|
|
55
|
-
* Uri template for the request builder.
|
|
56
|
-
*/
|
|
57
|
-
exports.ApproversRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
58
56
|
/* tslint:enable */
|
|
59
57
|
/* eslint-enable */
|
|
@@ -19,14 +19,15 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
19
19
|
/**
|
|
20
20
|
* Collection of users who can approve the request. Currently only supported for requests of type delete.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
-
* @returns
|
|
22
|
+
* @returns {Promise<User>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
24
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
24
25
|
*/
|
|
25
26
|
get(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
|
|
26
27
|
/**
|
|
27
28
|
* Collection of users who can approve the request. Currently only supported for requests of type delete.
|
|
28
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
-
* @returns
|
|
30
|
+
* @returns {RequestInformation}
|
|
30
31
|
* @deprecated The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security. as of 2022-02/PrivacyDeprecate
|
|
31
32
|
*/
|
|
32
33
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -44,6 +45,10 @@ export interface UserItemRequestBuilderGetQueryParameters {
|
|
|
44
45
|
*/
|
|
45
46
|
select?: string[];
|
|
46
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Uri template for the request builder.
|
|
50
|
+
*/
|
|
51
|
+
export declare const UserItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}{?%24expand,%24select}";
|
|
47
52
|
/**
|
|
48
53
|
* Metadata for all the navigation properties in the request builder.
|
|
49
54
|
*/
|
|
@@ -52,8 +57,4 @@ export declare const UserItemRequestBuilderNavigationMetadata: Record<Exclude<ke
|
|
|
52
57
|
* Metadata for all the requests in the request builder.
|
|
53
58
|
*/
|
|
54
59
|
export declare const UserItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
-
/**
|
|
56
|
-
* Uri template for the request builder.
|
|
57
|
-
*/
|
|
58
|
-
export declare const UserItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/approvers/{user%2Did}{?%24expand,%24select}";
|
|
59
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OAAO,EAAiD,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACvH,OAAO,EAAsH,KAAK,uCAAuC,EAAE,MAAM,8BAA8B,CAAC;AAChN,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;OAGG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;;OAGG;IACH,IAAI,yBAAyB,IAAI,uCAAuC,CAAC;IACzE;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACpI;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,qHAAqH,CAAC;AAQpK;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQ1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAWpD,CAAC"}
|