@microsoft/msgraph-sdk-privacy 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/index.d.ts +11 -0
  4. package/index.d.ts.map +1 -0
  5. package/index.js +20 -0
  6. package/package.json +48 -0
  7. package/privacy/index.d.ts +64 -0
  8. package/privacy/index.d.ts.map +1 -0
  9. package/privacy/index.js +59 -0
  10. package/privacy/subjectRightsRequests/count/index.d.ts +42 -0
  11. package/privacy/subjectRightsRequests/count/index.d.ts.map +1 -0
  12. package/privacy/subjectRightsRequests/count/index.js +35 -0
  13. package/privacy/subjectRightsRequests/index.d.ts +103 -0
  14. package/privacy/subjectRightsRequests/index.d.ts.map +1 -0
  15. package/privacy/subjectRightsRequests/index.js +71 -0
  16. package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts +42 -0
  17. package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts.map +1 -0
  18. package/privacy/subjectRightsRequests/item/approvers/count/index.js +35 -0
  19. package/privacy/subjectRightsRequests/item/approvers/index.d.ts +85 -0
  20. package/privacy/subjectRightsRequests/item/approvers/index.d.ts.map +1 -0
  21. package/privacy/subjectRightsRequests/item/approvers/index.js +59 -0
  22. package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts +59 -0
  23. package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts.map +1 -0
  24. package/privacy/subjectRightsRequests/item/approvers/item/index.js +52 -0
  25. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts +59 -0
  26. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts.map +1 -0
  27. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.js +48 -0
  28. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts +42 -0
  29. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  30. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.js +35 -0
  31. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts +77 -0
  32. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  33. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.js +52 -0
  34. package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts +42 -0
  35. package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts.map +1 -0
  36. package/privacy/subjectRightsRequests/item/collaborators/count/index.js +35 -0
  37. package/privacy/subjectRightsRequests/item/collaborators/index.d.ts +85 -0
  38. package/privacy/subjectRightsRequests/item/collaborators/index.d.ts.map +1 -0
  39. package/privacy/subjectRightsRequests/item/collaborators/index.js +59 -0
  40. package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts +59 -0
  41. package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts.map +1 -0
  42. package/privacy/subjectRightsRequests/item/collaborators/item/index.js +52 -0
  43. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts +59 -0
  44. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts.map +1 -0
  45. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.js +48 -0
  46. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts +42 -0
  47. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  48. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.js +35 -0
  49. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts +77 -0
  50. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  51. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.js +52 -0
  52. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts +29 -0
  53. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts.map +1 -0
  54. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.js +27 -0
  55. package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts +29 -0
  56. package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts.map +1 -0
  57. package/privacy/subjectRightsRequests/item/getFinalReport/index.js +27 -0
  58. package/privacy/subjectRightsRequests/item/index.d.ts +114 -0
  59. package/privacy/subjectRightsRequests/item/index.d.ts.map +1 -0
  60. package/privacy/subjectRightsRequests/item/index.js +94 -0
  61. package/privacy/subjectRightsRequests/item/notes/count/index.d.ts +42 -0
  62. package/privacy/subjectRightsRequests/item/notes/count/index.d.ts.map +1 -0
  63. package/privacy/subjectRightsRequests/item/notes/count/index.js +35 -0
  64. package/privacy/subjectRightsRequests/item/notes/index.d.ts +103 -0
  65. package/privacy/subjectRightsRequests/item/notes/index.d.ts.map +1 -0
  66. package/privacy/subjectRightsRequests/item/notes/index.js +70 -0
  67. package/privacy/subjectRightsRequests/item/notes/item/index.d.ts +72 -0
  68. package/privacy/subjectRightsRequests/item/notes/item/index.d.ts.map +1 -0
  69. package/privacy/subjectRightsRequests/item/notes/item/index.js +56 -0
  70. package/privacy/subjectRightsRequests/item/team/index.d.ts +43 -0
  71. package/privacy/subjectRightsRequests/item/team/index.d.ts.map +1 -0
  72. package/privacy/subjectRightsRequests/item/team/index.js +36 -0
  73. package/privacyServiceClient.d.ts +25 -0
  74. package/privacyServiceClient.d.ts.map +1 -0
  75. package/privacyServiceClient.js +49 -0
  76. package/tsconfig.json +15 -0
  77. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,29 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the getFinalAttachment method.
4
+ */
5
+ export interface GetFinalAttachmentRequestBuilder extends BaseRequestBuilder<GetFinalAttachmentRequestBuilder> {
6
+ /**
7
+ * Invoke function getFinalAttachment
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of ArrayBuffer
10
+ * @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
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
13
+ /**
14
+ * Invoke function getFinalAttachment
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ * @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
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Metadata for all the requests in the request builder.
23
+ */
24
+ export declare const GetFinalAttachmentRequestBuilderRequestsMetadata: RequestsMetadata;
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()";
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAU9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,8FAA8F,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFinalAttachmentRequestBuilderUriTemplate = exports.GetFinalAttachmentRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.GetFinalAttachmentRequestBuilderRequestsMetadata = {
12
+ get: {
13
+ responseBodyContentType: "application/octet-stream, application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendPrimitiveAsync",
19
+ responseBodyFactory: "ArrayBuffer",
20
+ },
21
+ };
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ exports.GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()";
26
+ /* tslint:enable */
27
+ /* eslint-enable */
@@ -0,0 +1,29 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to call the getFinalReport method.
4
+ */
5
+ export interface GetFinalReportRequestBuilder extends BaseRequestBuilder<GetFinalReportRequestBuilder> {
6
+ /**
7
+ * Invoke function getFinalReport
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of ArrayBuffer
10
+ * @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
+ get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
13
+ /**
14
+ * Invoke function getFinalReport
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ * @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
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Metadata for all the requests in the request builder.
23
+ */
24
+ export declare const GetFinalReportRequestBuilderRequestsMetadata: RequestsMetadata;
25
+ /**
26
+ * Uri template for the request builder.
27
+ */
28
+ export declare const GetFinalReportRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()";
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClH;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAU1D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,0FAA0F,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFinalReportRequestBuilderUriTemplate = exports.GetFinalReportRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Metadata for all the requests in the request builder.
10
+ */
11
+ exports.GetFinalReportRequestBuilderRequestsMetadata = {
12
+ get: {
13
+ responseBodyContentType: "application/octet-stream, application/json",
14
+ errorMappings: {
15
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
+ },
18
+ adapterMethodName: "sendPrimitiveAsync",
19
+ responseBodyFactory: "ArrayBuffer",
20
+ },
21
+ };
22
+ /**
23
+ * Uri template for the request builder.
24
+ */
25
+ exports.GetFinalReportRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()";
26
+ /* tslint:enable */
27
+ /* eslint-enable */
@@ -0,0 +1,114 @@
1
+ import { type SubjectRightsRequest } from '@microsoft/msgraph-sdk/models/';
2
+ import { type ApproversRequestBuilder } from './approvers/';
3
+ import { type CollaboratorsRequestBuilder } from './collaborators/';
4
+ import { type GetFinalAttachmentRequestBuilder } from './getFinalAttachment/';
5
+ import { type GetFinalReportRequestBuilder } from './getFinalReport/';
6
+ import { type NotesRequestBuilder } from './notes/';
7
+ import { type TeamRequestBuilder } from './team/';
8
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
9
+ /**
10
+ * Provides operations to manage the subjectRightsRequests property of the microsoft.graph.privacy entity.
11
+ */
12
+ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuilder<SubjectRightsRequestItemRequestBuilder> {
13
+ /**
14
+ * Provides operations to manage the approvers property of the microsoft.graph.subjectRightsRequest entity.
15
+ * @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
16
+ */
17
+ get approvers(): ApproversRequestBuilder;
18
+ /**
19
+ * Provides operations to manage the collaborators property of the microsoft.graph.subjectRightsRequest entity.
20
+ * @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
21
+ */
22
+ get collaborators(): CollaboratorsRequestBuilder;
23
+ /**
24
+ * Provides operations to call the getFinalAttachment method.
25
+ * @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
+ get getFinalAttachment(): GetFinalAttachmentRequestBuilder;
28
+ /**
29
+ * Provides operations to call the getFinalReport method.
30
+ * @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
+ get getFinalReport(): GetFinalReportRequestBuilder;
33
+ /**
34
+ * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.
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
36
+ */
37
+ get notes(): NotesRequestBuilder;
38
+ /**
39
+ * Provides operations to manage the team property of the microsoft.graph.subjectRightsRequest entity.
40
+ * @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
41
+ */
42
+ get team(): TeamRequestBuilder;
43
+ /**
44
+ * Delete navigation property subjectRightsRequests for privacy
45
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @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
47
+ */
48
+ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
49
+ /**
50
+ * Read the properties and relationships of a subjectRightsRequest object.
51
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
+ * @returns a Promise of SubjectRightsRequest
53
+ * @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
54
+ * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-1.0|Find more info here}
55
+ */
56
+ get(requestConfiguration?: RequestConfiguration<SubjectRightsRequestItemRequestBuilderGetQueryParameters> | undefined): Promise<SubjectRightsRequest | undefined>;
57
+ /**
58
+ * Update the properties of a subjectRightsRequest object.
59
+ * @param body The request body
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns a Promise of SubjectRightsRequest
62
+ * @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
63
+ * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-update?view=graph-rest-1.0|Find more info here}
64
+ */
65
+ patch(body: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SubjectRightsRequest | undefined>;
66
+ /**
67
+ * Delete navigation property subjectRightsRequests for privacy
68
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
+ * @returns a RequestInformation
70
+ * @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
71
+ */
72
+ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
73
+ /**
74
+ * Read the properties and relationships of a subjectRightsRequest object.
75
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
+ * @returns a RequestInformation
77
+ * @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
78
+ */
79
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubjectRightsRequestItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
80
+ /**
81
+ * Update the properties of a subjectRightsRequest object.
82
+ * @param body The request body
83
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
84
+ * @returns a RequestInformation
85
+ * @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
86
+ */
87
+ toPatchRequestInformation(body: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
88
+ }
89
+ /**
90
+ * Read the properties and relationships of a subjectRightsRequest object.
91
+ */
92
+ export interface SubjectRightsRequestItemRequestBuilderGetQueryParameters {
93
+ /**
94
+ * Expand related entities
95
+ */
96
+ expand?: string[];
97
+ /**
98
+ * Select properties to be returned
99
+ */
100
+ select?: string[];
101
+ }
102
+ /**
103
+ * Metadata for all the navigation properties in the request builder.
104
+ */
105
+ export declare const SubjectRightsRequestItemRequestBuilderNavigationMetadata: Record<Exclude<keyof SubjectRightsRequestItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
106
+ /**
107
+ * Metadata for all the requests in the request builder.
108
+ */
109
+ export declare const SubjectRightsRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
110
+ /**
111
+ * Uri template for the request builder.
112
+ */
113
+ export declare const SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24select,%24expand}";
114
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmF,KAAK,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE5J,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACxM,OAAO,EAAiG,KAAK,gCAAgC,EAAE,MAAM,uBAAuB,CAAC;AAC7K,OAAO,EAAyF,KAAK,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AAC7J,OAAO,EAA8G,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChK,OAAO,EAAqE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACrH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;OAGG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;OAGG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;OAGG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;OAGG;IACH,IAAI,cAAc,IAAI,4BAA4B,CAAC;IACnD;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;OAGG;IACH,IAAI,IAAI,IAAI,kBAAkB,CAAC;IAC/B;;;;OAIG;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,wDAAwD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IACpK;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;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,wDAAwD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjK;;;;;;OAMG;IACF,yBAAyB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA4B1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBA+BpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,+FAA+F,CAAC"}
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubjectRightsRequestItemRequestBuilderUriTemplate = exports.SubjectRightsRequestItemRequestBuilderRequestsMetadata = exports.SubjectRightsRequestItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const approvers_1 = require("./approvers/");
10
+ const collaborators_1 = require("./collaborators/");
11
+ const getFinalAttachment_1 = require("./getFinalAttachment/");
12
+ const getFinalReport_1 = require("./getFinalReport/");
13
+ const notes_1 = require("./notes/");
14
+ const team_1 = require("./team/");
15
+ /**
16
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
17
+ */
18
+ const SubjectRightsRequestItemRequestBuilderGetQueryParametersMapper = {
19
+ "expand": "%24expand",
20
+ "select": "%24select",
21
+ };
22
+ /**
23
+ * Metadata for all the navigation properties in the request builder.
24
+ */
25
+ exports.SubjectRightsRequestItemRequestBuilderNavigationMetadata = {
26
+ approvers: {
27
+ uriTemplate: approvers_1.ApproversRequestBuilderUriTemplate,
28
+ requestsMetadata: approvers_1.ApproversRequestBuilderRequestsMetadata,
29
+ navigationMetadata: approvers_1.ApproversRequestBuilderNavigationMetadata,
30
+ },
31
+ collaborators: {
32
+ uriTemplate: collaborators_1.CollaboratorsRequestBuilderUriTemplate,
33
+ requestsMetadata: collaborators_1.CollaboratorsRequestBuilderRequestsMetadata,
34
+ navigationMetadata: collaborators_1.CollaboratorsRequestBuilderNavigationMetadata,
35
+ },
36
+ getFinalAttachment: {
37
+ uriTemplate: getFinalAttachment_1.GetFinalAttachmentRequestBuilderUriTemplate,
38
+ requestsMetadata: getFinalAttachment_1.GetFinalAttachmentRequestBuilderRequestsMetadata,
39
+ },
40
+ getFinalReport: {
41
+ uriTemplate: getFinalReport_1.GetFinalReportRequestBuilderUriTemplate,
42
+ requestsMetadata: getFinalReport_1.GetFinalReportRequestBuilderRequestsMetadata,
43
+ },
44
+ notes: {
45
+ uriTemplate: notes_1.NotesRequestBuilderUriTemplate,
46
+ requestsMetadata: notes_1.NotesRequestBuilderRequestsMetadata,
47
+ navigationMetadata: notes_1.NotesRequestBuilderNavigationMetadata,
48
+ },
49
+ team: {
50
+ uriTemplate: team_1.TeamRequestBuilderUriTemplate,
51
+ requestsMetadata: team_1.TeamRequestBuilderRequestsMetadata,
52
+ },
53
+ };
54
+ /**
55
+ * Metadata for all the requests in the request builder.
56
+ */
57
+ exports.SubjectRightsRequestItemRequestBuilderRequestsMetadata = {
58
+ delete: {
59
+ responseBodyContentType: "application/json",
60
+ errorMappings: {
61
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
62
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
63
+ },
64
+ adapterMethodName: "sendNoResponseContentAsync",
65
+ },
66
+ get: {
67
+ responseBodyContentType: "application/json",
68
+ errorMappings: {
69
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
70
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
71
+ },
72
+ adapterMethodName: "sendAsync",
73
+ responseBodyFactory: models_1.createSubjectRightsRequestFromDiscriminatorValue,
74
+ queryParametersMapper: SubjectRightsRequestItemRequestBuilderGetQueryParametersMapper,
75
+ },
76
+ patch: {
77
+ responseBodyContentType: "application/json",
78
+ errorMappings: {
79
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
80
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
81
+ },
82
+ adapterMethodName: "sendAsync",
83
+ responseBodyFactory: models_1.createSubjectRightsRequestFromDiscriminatorValue,
84
+ requestBodyContentType: "application/json",
85
+ requestBodySerializer: models_1.serializeSubjectRightsRequest,
86
+ requestInformationContentSetMethod: "setContentFromParsable",
87
+ },
88
+ };
89
+ /**
90
+ * Uri template for the request builder.
91
+ */
92
+ exports.SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24select,%24expand}";
93
+ /* tslint:enable */
94
+ /* eslint-enable */
@@ -0,0 +1,42 @@
1
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Provides operations to count the resources in the collection.
4
+ */
5
+ export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
6
+ /**
7
+ * Get the number of the resource
8
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @returns a Promise of Integer
10
+ * @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
+ 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 a RequestInformation
17
+ * @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
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
20
+ }
21
+ /**
22
+ * Get the number of the resource
23
+ */
24
+ export interface CountRequestBuilderGetQueryParameters {
25
+ /**
26
+ * Filter items by property values
27
+ */
28
+ filter?: string;
29
+ /**
30
+ * Search items by search phrases
31
+ */
32
+ search?: string;
33
+ }
34
+ /**
35
+ * Metadata for all the requests in the request builder.
36
+ */
37
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
38
+ /**
39
+ * Uri template for the request builder.
40
+ */
41
+ export declare const CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/$count{?%24search,%24filter}";
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;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;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAA4G,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
8
+ /**
9
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
+ */
11
+ const CountRequestBuilderGetQueryParametersMapper = {
12
+ "filter": "%24filter",
13
+ "search": "%24search",
14
+ };
15
+ /**
16
+ * Metadata for all the requests in the request builder.
17
+ */
18
+ exports.CountRequestBuilderRequestsMetadata = {
19
+ get: {
20
+ responseBodyContentType: "text/plain;q=0.9",
21
+ errorMappings: {
22
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ },
25
+ adapterMethodName: "sendPrimitiveAsync",
26
+ responseBodyFactory: "number",
27
+ queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
+ },
29
+ };
30
+ /**
31
+ * Uri template for the request builder.
32
+ */
33
+ exports.CountRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes/$count{?%24search,%24filter}";
34
+ /* tslint:enable */
35
+ /* eslint-enable */
@@ -0,0 +1,103 @@
1
+ import { type AuthoredNote, type AuthoredNoteCollectionResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type CountRequestBuilder } from './count/';
3
+ import { type AuthoredNoteItemRequestBuilder } from './item/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.
7
+ */
8
+ export interface NotesRequestBuilder extends BaseRequestBuilder<NotesRequestBuilder> {
9
+ /**
10
+ * Provides operations to count the resources in the collection.
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
12
+ */
13
+ get count(): CountRequestBuilder;
14
+ /**
15
+ * Provides operations to manage the notes property of the microsoft.graph.subjectRightsRequest entity.
16
+ * @param authoredNoteId The unique identifier of authoredNote
17
+ * @returns a AuthoredNoteItemRequestBuilder
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
+ */
20
+ byAuthoredNoteId(authoredNoteId: string): AuthoredNoteItemRequestBuilder;
21
+ /**
22
+ * Get the list of authored notes assoicated with a subject rights request.
23
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
24
+ * @returns a Promise of AuthoredNoteCollectionResponse
25
+ * @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
+ * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-list-notes?view=graph-rest-1.0|Find more info here}
27
+ */
28
+ get(requestConfiguration?: RequestConfiguration<NotesRequestBuilderGetQueryParameters> | undefined): Promise<AuthoredNoteCollectionResponse | undefined>;
29
+ /**
30
+ * Create a new authoredNote object.
31
+ * @param body The request body
32
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
+ * @returns a Promise of AuthoredNote
34
+ * @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
+ * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-post-notes?view=graph-rest-1.0|Find more info here}
36
+ */
37
+ post(body: AuthoredNote, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AuthoredNote | undefined>;
38
+ /**
39
+ * Get the list of authored notes assoicated with a subject rights request.
40
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
+ * @returns a RequestInformation
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
43
+ */
44
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<NotesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
45
+ /**
46
+ * Create a new authoredNote object.
47
+ * @param body The request body
48
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
49
+ * @returns a RequestInformation
50
+ * @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
+ */
52
+ toPostRequestInformation(body: AuthoredNote, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
53
+ }
54
+ /**
55
+ * Get the list of authored notes assoicated with a subject rights request.
56
+ */
57
+ export interface NotesRequestBuilderGetQueryParameters {
58
+ /**
59
+ * Include count of items
60
+ */
61
+ count?: boolean;
62
+ /**
63
+ * Expand related entities
64
+ */
65
+ expand?: string[];
66
+ /**
67
+ * Filter items by property values
68
+ */
69
+ filter?: string;
70
+ /**
71
+ * Order items by property values
72
+ */
73
+ orderby?: string[];
74
+ /**
75
+ * Search items by search phrases
76
+ */
77
+ search?: string;
78
+ /**
79
+ * Select properties to be returned
80
+ */
81
+ select?: string[];
82
+ /**
83
+ * Skip the first n items
84
+ */
85
+ skip?: number;
86
+ /**
87
+ * Show only the first n items
88
+ */
89
+ top?: number;
90
+ }
91
+ /**
92
+ * Metadata for all the navigation properties in the request builder.
93
+ */
94
+ export declare const NotesRequestBuilderNavigationMetadata: Record<Exclude<keyof NotesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
95
+ /**
96
+ * Metadata for all the requests in the request builder.
97
+ */
98
+ 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{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
103
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6F,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AACzJ,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;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;;;OAOG;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,qCAAqC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mBAAmB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAUpJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAuBjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,4JAA4J,CAAC"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotesRequestBuilderUriTemplate = exports.NotesRequestBuilderRequestsMetadata = exports.NotesRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const count_1 = require("./count/");
10
+ const item_1 = require("./item/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const NotesRequestBuilderGetQueryParametersMapper = {
15
+ "count": "%24count",
16
+ "expand": "%24expand",
17
+ "filter": "%24filter",
18
+ "orderby": "%24orderby",
19
+ "search": "%24search",
20
+ "select": "%24select",
21
+ "skip": "%24skip",
22
+ "top": "%24top",
23
+ };
24
+ /**
25
+ * Metadata for all the navigation properties in the request builder.
26
+ */
27
+ exports.NotesRequestBuilderNavigationMetadata = {
28
+ byAuthoredNoteId: {
29
+ uriTemplate: item_1.AuthoredNoteItemRequestBuilderUriTemplate,
30
+ requestsMetadata: item_1.AuthoredNoteItemRequestBuilderRequestsMetadata,
31
+ pathParametersMappings: ["authoredNote%2Did"],
32
+ },
33
+ count: {
34
+ uriTemplate: count_1.CountRequestBuilderUriTemplate,
35
+ requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
36
+ },
37
+ };
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ exports.NotesRequestBuilderRequestsMetadata = {
42
+ get: {
43
+ responseBodyContentType: "application/json",
44
+ errorMappings: {
45
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
+ },
48
+ adapterMethodName: "sendAsync",
49
+ responseBodyFactory: models_1.createAuthoredNoteCollectionResponseFromDiscriminatorValue,
50
+ queryParametersMapper: NotesRequestBuilderGetQueryParametersMapper,
51
+ },
52
+ post: {
53
+ responseBodyContentType: "application/json",
54
+ errorMappings: {
55
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
+ },
58
+ adapterMethodName: "sendAsync",
59
+ responseBodyFactory: models_1.createAuthoredNoteFromDiscriminatorValue,
60
+ requestBodyContentType: "application/json",
61
+ requestBodySerializer: models_1.serializeAuthoredNote,
62
+ requestInformationContentSetMethod: "setContentFromParsable",
63
+ },
64
+ };
65
+ /**
66
+ * Uri template for the request builder.
67
+ */
68
+ exports.NotesRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/notes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
69
+ /* tslint:enable */
70
+ /* eslint-enable */