@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.SubjectRightsRequestItemRequestBuilderRequestsMetadata = exports.SubjectRightsRequestItemRequestBuilderNavigationMetadata = exports.SubjectRightsRequestItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -12,6 +12,10 @@ const getFinalAttachment_1 = require("./getFinalAttachment/");
|
|
|
12
12
|
const getFinalReport_1 = require("./getFinalReport/");
|
|
13
13
|
const notes_1 = require("./notes/");
|
|
14
14
|
const team_1 = require("./team/");
|
|
15
|
+
/**
|
|
16
|
+
* Uri template for the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}";
|
|
15
19
|
/**
|
|
16
20
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
21
|
*/
|
|
@@ -24,30 +28,24 @@ const SubjectRightsRequestItemRequestBuilderGetQueryParametersMapper = {
|
|
|
24
28
|
*/
|
|
25
29
|
exports.SubjectRightsRequestItemRequestBuilderNavigationMetadata = {
|
|
26
30
|
approvers: {
|
|
27
|
-
uriTemplate: approvers_1.ApproversRequestBuilderUriTemplate,
|
|
28
31
|
requestsMetadata: approvers_1.ApproversRequestBuilderRequestsMetadata,
|
|
29
32
|
navigationMetadata: approvers_1.ApproversRequestBuilderNavigationMetadata,
|
|
30
33
|
},
|
|
31
34
|
collaborators: {
|
|
32
|
-
uriTemplate: collaborators_1.CollaboratorsRequestBuilderUriTemplate,
|
|
33
35
|
requestsMetadata: collaborators_1.CollaboratorsRequestBuilderRequestsMetadata,
|
|
34
36
|
navigationMetadata: collaborators_1.CollaboratorsRequestBuilderNavigationMetadata,
|
|
35
37
|
},
|
|
36
38
|
getFinalAttachment: {
|
|
37
|
-
uriTemplate: getFinalAttachment_1.GetFinalAttachmentRequestBuilderUriTemplate,
|
|
38
39
|
requestsMetadata: getFinalAttachment_1.GetFinalAttachmentRequestBuilderRequestsMetadata,
|
|
39
40
|
},
|
|
40
41
|
getFinalReport: {
|
|
41
|
-
uriTemplate: getFinalReport_1.GetFinalReportRequestBuilderUriTemplate,
|
|
42
42
|
requestsMetadata: getFinalReport_1.GetFinalReportRequestBuilderRequestsMetadata,
|
|
43
43
|
},
|
|
44
44
|
notes: {
|
|
45
|
-
uriTemplate: notes_1.NotesRequestBuilderUriTemplate,
|
|
46
45
|
requestsMetadata: notes_1.NotesRequestBuilderRequestsMetadata,
|
|
47
46
|
navigationMetadata: notes_1.NotesRequestBuilderNavigationMetadata,
|
|
48
47
|
},
|
|
49
48
|
team: {
|
|
50
|
-
uriTemplate: team_1.TeamRequestBuilderUriTemplate,
|
|
51
49
|
requestsMetadata: team_1.TeamRequestBuilderRequestsMetadata,
|
|
52
50
|
},
|
|
53
51
|
};
|
|
@@ -56,28 +54,28 @@ exports.SubjectRightsRequestItemRequestBuilderNavigationMetadata = {
|
|
|
56
54
|
*/
|
|
57
55
|
exports.SubjectRightsRequestItemRequestBuilderRequestsMetadata = {
|
|
58
56
|
delete: {
|
|
57
|
+
uriTemplate: exports.SubjectRightsRequestItemRequestBuilderUriTemplate,
|
|
59
58
|
responseBodyContentType: "application/json",
|
|
60
59
|
errorMappings: {
|
|
61
|
-
|
|
62
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
63
61
|
},
|
|
64
62
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
65
63
|
},
|
|
66
64
|
get: {
|
|
65
|
+
uriTemplate: exports.SubjectRightsRequestItemRequestBuilderUriTemplate,
|
|
67
66
|
responseBodyContentType: "application/json",
|
|
68
67
|
errorMappings: {
|
|
69
|
-
|
|
70
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
68
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
71
69
|
},
|
|
72
70
|
adapterMethodName: "sendAsync",
|
|
73
71
|
responseBodyFactory: models_1.createSubjectRightsRequestFromDiscriminatorValue,
|
|
74
72
|
queryParametersMapper: SubjectRightsRequestItemRequestBuilderGetQueryParametersMapper,
|
|
75
73
|
},
|
|
76
74
|
patch: {
|
|
75
|
+
uriTemplate: exports.SubjectRightsRequestItemRequestBuilderUriTemplate,
|
|
77
76
|
responseBodyContentType: "application/json",
|
|
78
77
|
errorMappings: {
|
|
79
|
-
|
|
80
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
81
79
|
},
|
|
82
80
|
adapterMethodName: "sendAsync",
|
|
83
81
|
responseBodyFactory: models_1.createSubjectRightsRequestFromDiscriminatorValue,
|
|
@@ -86,9 +84,5 @@ exports.SubjectRightsRequestItemRequestBuilderRequestsMetadata = {
|
|
|
86
84
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
87
85
|
},
|
|
88
86
|
};
|
|
89
|
-
/**
|
|
90
|
-
* Uri template for the request builder.
|
|
91
|
-
*/
|
|
92
|
-
exports.SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}";
|
|
93
87
|
/* tslint:enable */
|
|
94
88
|
/* 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}/notes/$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,4GAA4G,CAAC;AAQxJ;;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}/notes/$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}/notes/$count{?%24filter,%24search}";
|
|
34
34
|
/* tslint:enable */
|
|
35
35
|
/* eslint-enable */
|
|
@@ -14,14 +14,15 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
|
|
|
14
14
|
/**
|
|
15
15
|
* Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.
|
|
16
16
|
* @param authoredNoteId The unique identifier of authoredNote
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns {AuthoredNoteItemRequestBuilder}
|
|
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
|
byAuthoredNoteId(authoredNoteId: string): AuthoredNoteItemRequestBuilder;
|
|
21
21
|
/**
|
|
22
22
|
* Get the list of authored notes assoicated with a subject rights request.
|
|
23
23
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
24
|
+
* @returns {Promise<AuthoredNoteCollectionResponse>}
|
|
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-notes?view=graph-rest-1.0|Find more info here}
|
|
27
28
|
*/
|
|
@@ -30,7 +31,8 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
|
|
|
30
31
|
* Create a new authoredNote 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<AuthoredNote>}
|
|
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-notes?view=graph-rest-1.0|Find more info here}
|
|
36
38
|
*/
|
|
@@ -38,7 +40,7 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
|
|
|
38
40
|
/**
|
|
39
41
|
* Get the list of authored notes assoicated with a subject rights request.
|
|
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<NotesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -46,7 +48,7 @@ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuil
|
|
|
46
48
|
* Create a new authoredNote 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: AuthoredNote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
@@ -88,6 +90,10 @@ export interface NotesRequestBuilderGetQueryParameters {
|
|
|
88
90
|
*/
|
|
89
91
|
top?: number;
|
|
90
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Uri template for the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%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 NotesRequestBuilderNavigationMetadata: Record<Exclude<keyof
|
|
|
96
102
|
* Metadata for all the requests in the request builder.
|
|
97
103
|
*/
|
|
98
104
|
export declare const NotesRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
99
|
-
/**
|
|
100
|
-
* Uri template for the request builder.
|
|
101
|
-
*/
|
|
102
|
-
export declare const NotesRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%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,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAErO,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAErO,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAAkD,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAC9G,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,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,8BAA8B,CAAC;IAC3E;;;;;;;OAOG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;;;;OAQG;IACF,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAC/H;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9I;;;;;;OAMG;IACF,wBAAwB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;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,8BAA8B,4JAA4J,CAAC;AAcxM;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NotesRequestBuilderRequestsMetadata = exports.NotesRequestBuilderNavigationMetadata = exports.NotesRequestBuilderUriTemplate = 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.NotesRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%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,12 +30,10 @@ const NotesRequestBuilderGetQueryParametersMapper = {
|
|
|
26
30
|
*/
|
|
27
31
|
exports.NotesRequestBuilderNavigationMetadata = {
|
|
28
32
|
byAuthoredNoteId: {
|
|
29
|
-
uriTemplate: item_1.AuthoredNoteItemRequestBuilderUriTemplate,
|
|
30
33
|
requestsMetadata: item_1.AuthoredNoteItemRequestBuilderRequestsMetadata,
|
|
31
34
|
pathParametersMappings: ["authoredNote%2Did"],
|
|
32
35
|
},
|
|
33
36
|
count: {
|
|
34
|
-
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
35
37
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
36
38
|
},
|
|
37
39
|
};
|
|
@@ -40,20 +42,20 @@ exports.NotesRequestBuilderNavigationMetadata = {
|
|
|
40
42
|
*/
|
|
41
43
|
exports.NotesRequestBuilderRequestsMetadata = {
|
|
42
44
|
get: {
|
|
45
|
+
uriTemplate: exports.NotesRequestBuilderUriTemplate,
|
|
43
46
|
responseBodyContentType: "application/json",
|
|
44
47
|
errorMappings: {
|
|
45
|
-
|
|
46
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
47
49
|
},
|
|
48
50
|
adapterMethodName: "sendAsync",
|
|
49
51
|
responseBodyFactory: models_1.createAuthoredNoteCollectionResponseFromDiscriminatorValue,
|
|
50
52
|
queryParametersMapper: NotesRequestBuilderGetQueryParametersMapper,
|
|
51
53
|
},
|
|
52
54
|
post: {
|
|
55
|
+
uriTemplate: exports.NotesRequestBuilderUriTemplate,
|
|
53
56
|
responseBodyContentType: "application/json",
|
|
54
57
|
errorMappings: {
|
|
55
|
-
|
|
56
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
57
59
|
},
|
|
58
60
|
adapterMethodName: "sendAsync",
|
|
59
61
|
responseBodyFactory: models_1.createAuthoredNoteFromDiscriminatorValue,
|
|
@@ -62,9 +64,5 @@ exports.NotesRequestBuilderRequestsMetadata = {
|
|
|
62
64
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
65
|
},
|
|
64
66
|
};
|
|
65
|
-
/**
|
|
66
|
-
* Uri template for the request builder.
|
|
67
|
-
*/
|
|
68
|
-
exports.NotesRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
69
67
|
/* tslint:enable */
|
|
70
68
|
/* eslint-enable */
|
|
@@ -7,13 +7,15 @@ export interface AuthoredNoteItemRequestBuilder extends BaseRequestBuilder<Autho
|
|
|
7
7
|
/**
|
|
8
8
|
* Delete navigation property notes for privacy
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
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
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
14
|
/**
|
|
14
15
|
* List of notes associated with the request.
|
|
15
16
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
-
* @returns
|
|
17
|
+
* @returns {Promise<AuthoredNote>}
|
|
18
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
19
|
* @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
20
|
*/
|
|
19
21
|
get(requestConfiguration?: RequestConfiguration<AuthoredNoteItemRequestBuilderGetQueryParameters> | undefined): Promise<AuthoredNote | undefined>;
|
|
@@ -21,21 +23,22 @@ export interface AuthoredNoteItemRequestBuilder extends BaseRequestBuilder<Autho
|
|
|
21
23
|
* Update the navigation property notes in privacy
|
|
22
24
|
* @param body The request body
|
|
23
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
-
* @returns
|
|
26
|
+
* @returns {Promise<AuthoredNote>}
|
|
27
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
28
|
* @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
29
|
*/
|
|
27
30
|
patch(body: AuthoredNote, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthoredNote | undefined>;
|
|
28
31
|
/**
|
|
29
32
|
* Delete navigation property notes for privacy
|
|
30
33
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
-
* @returns
|
|
34
|
+
* @returns {RequestInformation}
|
|
32
35
|
* @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
36
|
*/
|
|
34
37
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
35
38
|
/**
|
|
36
39
|
* List of notes associated with the request.
|
|
37
40
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
-
* @returns
|
|
41
|
+
* @returns {RequestInformation}
|
|
39
42
|
* @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
|
|
40
43
|
*/
|
|
41
44
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AuthoredNoteItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -43,7 +46,7 @@ export interface AuthoredNoteItemRequestBuilder extends BaseRequestBuilder<Autho
|
|
|
43
46
|
* Update the navigation property notes in privacy
|
|
44
47
|
* @param body The request body
|
|
45
48
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
-
* @returns
|
|
49
|
+
* @returns {RequestInformation}
|
|
47
50
|
* @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
|
|
48
51
|
*/
|
|
49
52
|
toPatchRequestInformation(body: AuthoredNote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
@@ -61,12 +64,12 @@ export interface AuthoredNoteItemRequestBuilderGetQueryParameters {
|
|
|
61
64
|
*/
|
|
62
65
|
select?: string[];
|
|
63
66
|
}
|
|
64
|
-
/**
|
|
65
|
-
* Metadata for all the requests in the request builder.
|
|
66
|
-
*/
|
|
67
|
-
export declare const AuthoredNoteItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
68
67
|
/**
|
|
69
68
|
* Uri template for the request builder.
|
|
70
69
|
*/
|
|
71
70
|
export declare const AuthoredNoteItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/{authoredNote%2Did}{?%24expand,%24select}";
|
|
71
|
+
/**
|
|
72
|
+
* Metadata for all the requests in the request builder.
|
|
73
|
+
*/
|
|
74
|
+
export declare const AuthoredNoteItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
72
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;OAKG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAC;IAChI;;;;;OAKG;IACF,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,gDAAgD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACzJ;;;;;;OAMG;IACF,yBAAyB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACxI;AACD;;GAEG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,yHAAyH,CAAC;AAQhL;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AuthoredNoteItemRequestBuilderRequestsMetadata = exports.AuthoredNoteItemRequestBuilderUriTemplate = 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
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.AuthoredNoteItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/{authoredNote%2Did}{?%24expand,%24select}";
|
|
9
13
|
/**
|
|
10
14
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
15
|
*/
|
|
@@ -18,28 +22,28 @@ const AuthoredNoteItemRequestBuilderGetQueryParametersMapper = {
|
|
|
18
22
|
*/
|
|
19
23
|
exports.AuthoredNoteItemRequestBuilderRequestsMetadata = {
|
|
20
24
|
delete: {
|
|
25
|
+
uriTemplate: exports.AuthoredNoteItemRequestBuilderUriTemplate,
|
|
21
26
|
responseBodyContentType: "application/json",
|
|
22
27
|
errorMappings: {
|
|
23
|
-
|
|
24
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
29
|
},
|
|
26
30
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
27
31
|
},
|
|
28
32
|
get: {
|
|
33
|
+
uriTemplate: exports.AuthoredNoteItemRequestBuilderUriTemplate,
|
|
29
34
|
responseBodyContentType: "application/json",
|
|
30
35
|
errorMappings: {
|
|
31
|
-
|
|
32
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
36
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
33
37
|
},
|
|
34
38
|
adapterMethodName: "sendAsync",
|
|
35
39
|
responseBodyFactory: models_1.createAuthoredNoteFromDiscriminatorValue,
|
|
36
40
|
queryParametersMapper: AuthoredNoteItemRequestBuilderGetQueryParametersMapper,
|
|
37
41
|
},
|
|
38
42
|
patch: {
|
|
43
|
+
uriTemplate: exports.AuthoredNoteItemRequestBuilderUriTemplate,
|
|
39
44
|
responseBodyContentType: "application/json",
|
|
40
45
|
errorMappings: {
|
|
41
|
-
|
|
42
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
46
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
47
|
},
|
|
44
48
|
adapterMethodName: "sendAsync",
|
|
45
49
|
responseBodyFactory: models_1.createAuthoredNoteFromDiscriminatorValue,
|
|
@@ -48,9 +52,5 @@ exports.AuthoredNoteItemRequestBuilderRequestsMetadata = {
|
|
|
48
52
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
49
53
|
},
|
|
50
54
|
};
|
|
51
|
-
/**
|
|
52
|
-
* Uri template for the request builder.
|
|
53
|
-
*/
|
|
54
|
-
exports.AuthoredNoteItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/{authoredNote%2Did}{?%24expand,%24select}";
|
|
55
55
|
/* tslint:enable */
|
|
56
56
|
/* eslint-enable */
|
|
@@ -7,14 +7,15 @@ export interface TeamRequestBuilder extends BaseRequestBuilder<TeamRequestBuilde
|
|
|
7
7
|
/**
|
|
8
8
|
* Information about the Microsoft Teams team that was created for the request.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
-
* @returns
|
|
10
|
+
* @returns {Promise<Team>}
|
|
11
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
12
|
* @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
|
|
12
13
|
*/
|
|
13
14
|
get(requestConfiguration?: RequestConfiguration<TeamRequestBuilderGetQueryParameters> | undefined): Promise<Team | undefined>;
|
|
14
15
|
/**
|
|
15
16
|
* Information about the Microsoft Teams team that was created for the request.
|
|
16
17
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
-
* @returns
|
|
18
|
+
* @returns {RequestInformation}
|
|
18
19
|
* @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
20
|
*/
|
|
20
21
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<TeamRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
@@ -32,12 +33,12 @@ export interface TeamRequestBuilderGetQueryParameters {
|
|
|
32
33
|
*/
|
|
33
34
|
select?: string[];
|
|
34
35
|
}
|
|
35
|
-
/**
|
|
36
|
-
* Metadata for all the requests in the request builder.
|
|
37
|
-
*/
|
|
38
|
-
export declare const TeamRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
39
36
|
/**
|
|
40
37
|
* Uri template for the request builder.
|
|
41
38
|
*/
|
|
42
39
|
export declare const TeamRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/team{?%24expand,%24select}";
|
|
40
|
+
/**
|
|
41
|
+
* Metadata for all the requests in the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export declare const TeamRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
43
44
|
//# 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,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB,CAAC,kBAAkB,CAAC;IAC9E;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oCAAoC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IAChI;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,oCAAoC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6BAA6B,oGAAoG,CAAC;AAQ/I;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,gBAWhD,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TeamRequestBuilderRequestsMetadata = exports.TeamRequestBuilderUriTemplate = 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
|
+
/**
|
|
10
|
+
* Uri template for the request builder.
|
|
11
|
+
*/
|
|
12
|
+
exports.TeamRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/team{?%24expand,%24select}";
|
|
9
13
|
/**
|
|
10
14
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
15
|
*/
|
|
@@ -18,19 +22,15 @@ const TeamRequestBuilderGetQueryParametersMapper = {
|
|
|
18
22
|
*/
|
|
19
23
|
exports.TeamRequestBuilderRequestsMetadata = {
|
|
20
24
|
get: {
|
|
25
|
+
uriTemplate: exports.TeamRequestBuilderUriTemplate,
|
|
21
26
|
responseBodyContentType: "application/json",
|
|
22
27
|
errorMappings: {
|
|
23
|
-
|
|
24
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
28
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
29
|
},
|
|
26
30
|
adapterMethodName: "sendAsync",
|
|
27
31
|
responseBodyFactory: models_1.createTeamFromDiscriminatorValue,
|
|
28
32
|
queryParametersMapper: TeamRequestBuilderGetQueryParametersMapper,
|
|
29
33
|
},
|
|
30
34
|
};
|
|
31
|
-
/**
|
|
32
|
-
* Uri template for the request builder.
|
|
33
|
-
*/
|
|
34
|
-
exports.TeamRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/team{?%24expand,%24select}";
|
|
35
35
|
/* tslint:enable */
|
|
36
36
|
/* eslint-enable */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privacyServiceClient.d.ts","sourceRoot":"","sources":["privacyServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"privacyServiceClient.d.ts","sourceRoot":"","sources":["privacyServiceClient.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxI,OAAO,EAA8E,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAM3O;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,cAAc,wBAexE;AACD;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,kBAAkB,CAAC,oBAAoB,CAAC;IAClF;;OAEG;IACH,IAAI,OAAO,IAAI,qBAAqB,CAAC;CACxC;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,oBAAoB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAKtJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+BAA+B,eAAe,CAAC"}
|
package/privacyServiceClient.js
CHANGED
|
@@ -28,7 +28,7 @@ function createPrivacyServiceClient(requestAdapter) {
|
|
|
28
28
|
const pathParameters = {
|
|
29
29
|
"baseurl": requestAdapter.baseUrl,
|
|
30
30
|
};
|
|
31
|
-
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.
|
|
31
|
+
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.PrivacyServiceClientNavigationMetadata, undefined);
|
|
32
32
|
}
|
|
33
33
|
exports.createPrivacyServiceClient = createPrivacyServiceClient;
|
|
34
34
|
/**
|
|
@@ -36,7 +36,6 @@ exports.createPrivacyServiceClient = createPrivacyServiceClient;
|
|
|
36
36
|
*/
|
|
37
37
|
exports.PrivacyServiceClientNavigationMetadata = {
|
|
38
38
|
privacy: {
|
|
39
|
-
uriTemplate: privacy_1.PrivacyRequestBuilderUriTemplate,
|
|
40
39
|
requestsMetadata: privacy_1.PrivacyRequestBuilderRequestsMetadata,
|
|
41
40
|
navigationMetadata: privacy_1.PrivacyRequestBuilderNavigationMetadata,
|
|
42
41
|
},
|