@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.
Files changed (70) hide show
  1. package/package.json +3 -3
  2. package/privacy/index.d.ts +10 -8
  3. package/privacy/index.d.ts.map +1 -1
  4. package/privacy/index.js +9 -10
  5. package/privacy/subjectRightsRequests/count/index.d.ts +7 -6
  6. package/privacy/subjectRightsRequests/count/index.d.ts.map +1 -1
  7. package/privacy/subjectRightsRequests/count/index.js +7 -7
  8. package/privacy/subjectRightsRequests/index.d.ts +11 -9
  9. package/privacy/subjectRightsRequests/index.d.ts.map +1 -1
  10. package/privacy/subjectRightsRequests/index.js +9 -11
  11. package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts +7 -6
  12. package/privacy/subjectRightsRequests/item/approvers/count/index.d.ts.map +1 -1
  13. package/privacy/subjectRightsRequests/item/approvers/count/index.js +7 -7
  14. package/privacy/subjectRightsRequests/item/approvers/index.d.ts +8 -7
  15. package/privacy/subjectRightsRequests/item/approvers/index.d.ts.map +1 -1
  16. package/privacy/subjectRightsRequests/item/approvers/index.js +7 -9
  17. package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts +7 -6
  18. package/privacy/subjectRightsRequests/item/approvers/item/index.d.ts.map +1 -1
  19. package/privacy/subjectRightsRequests/item/approvers/item/index.js +7 -9
  20. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts +10 -8
  21. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.d.ts.map +1 -1
  22. package/privacy/subjectRightsRequests/item/approvers/item/mailboxSettings/index.js +9 -9
  23. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts +7 -6
  24. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
  25. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/count/index.js +7 -7
  26. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts +7 -6
  27. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.d.ts.map +1 -1
  28. package/privacy/subjectRightsRequests/item/approvers/item/serviceProvisioningErrors/index.js +7 -8
  29. package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts +7 -6
  30. package/privacy/subjectRightsRequests/item/collaborators/count/index.d.ts.map +1 -1
  31. package/privacy/subjectRightsRequests/item/collaborators/count/index.js +7 -7
  32. package/privacy/subjectRightsRequests/item/collaborators/index.d.ts +8 -7
  33. package/privacy/subjectRightsRequests/item/collaborators/index.d.ts.map +1 -1
  34. package/privacy/subjectRightsRequests/item/collaborators/index.js +7 -9
  35. package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts +7 -6
  36. package/privacy/subjectRightsRequests/item/collaborators/item/index.d.ts.map +1 -1
  37. package/privacy/subjectRightsRequests/item/collaborators/item/index.js +7 -9
  38. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts +10 -8
  39. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.d.ts.map +1 -1
  40. package/privacy/subjectRightsRequests/item/collaborators/item/mailboxSettings/index.js +9 -9
  41. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts +7 -6
  42. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
  43. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/count/index.js +7 -7
  44. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts +7 -6
  45. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.d.ts.map +1 -1
  46. package/privacy/subjectRightsRequests/item/collaborators/item/serviceProvisioningErrors/index.js +7 -8
  47. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts +7 -6
  48. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.d.ts.map +1 -1
  49. package/privacy/subjectRightsRequests/item/getFinalAttachment/index.js +7 -7
  50. package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts +7 -6
  51. package/privacy/subjectRightsRequests/item/getFinalReport/index.d.ts.map +1 -1
  52. package/privacy/subjectRightsRequests/item/getFinalReport/index.js +7 -7
  53. package/privacy/subjectRightsRequests/item/index.d.ts +12 -9
  54. package/privacy/subjectRightsRequests/item/index.d.ts.map +1 -1
  55. package/privacy/subjectRightsRequests/item/index.js +11 -17
  56. package/privacy/subjectRightsRequests/item/notes/count/index.d.ts +7 -6
  57. package/privacy/subjectRightsRequests/item/notes/count/index.d.ts.map +1 -1
  58. package/privacy/subjectRightsRequests/item/notes/count/index.js +7 -7
  59. package/privacy/subjectRightsRequests/item/notes/index.d.ts +11 -9
  60. package/privacy/subjectRightsRequests/item/notes/index.d.ts.map +1 -1
  61. package/privacy/subjectRightsRequests/item/notes/index.js +9 -11
  62. package/privacy/subjectRightsRequests/item/notes/item/index.d.ts +12 -9
  63. package/privacy/subjectRightsRequests/item/notes/item/index.d.ts.map +1 -1
  64. package/privacy/subjectRightsRequests/item/notes/item/index.js +11 -11
  65. package/privacy/subjectRightsRequests/item/team/index.d.ts +7 -6
  66. package/privacy/subjectRightsRequests/item/team/index.d.ts.map +1 -1
  67. package/privacy/subjectRightsRequests/item/team/index.js +7 -7
  68. package/privacyServiceClient.d.ts.map +1 -1
  69. package/privacyServiceClient.js +1 -2
  70. package/tsconfig.tsbuildinfo +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserItemRequestBuilderUriTemplate = exports.UserItemRequestBuilderRequestsMetadata = exports.UserItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.UserItemRequestBuilderRequestsMetadata = exports.UserItemRequestBuilderNavigationMetadata = exports.UserItemRequestBuilderUriTemplate = 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 mailboxSettings_1 = require("./mailboxSettings/");
10
10
  const serviceProvisioningErrors_1 = require("./serviceProvisioningErrors/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.UserItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}{?%24expand,%24select}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -20,11 +24,9 @@ const UserItemRequestBuilderGetQueryParametersMapper = {
20
24
  */
21
25
  exports.UserItemRequestBuilderNavigationMetadata = {
22
26
  mailboxSettings: {
23
- uriTemplate: mailboxSettings_1.MailboxSettingsRequestBuilderUriTemplate,
24
27
  requestsMetadata: mailboxSettings_1.MailboxSettingsRequestBuilderRequestsMetadata,
25
28
  },
26
29
  serviceProvisioningErrors: {
27
- uriTemplate: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderUriTemplate,
28
30
  requestsMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderRequestsMetadata,
29
31
  navigationMetadata: serviceProvisioningErrors_1.ServiceProvisioningErrorsRequestBuilderNavigationMetadata,
30
32
  },
@@ -34,19 +36,15 @@ exports.UserItemRequestBuilderNavigationMetadata = {
34
36
  */
35
37
  exports.UserItemRequestBuilderRequestsMetadata = {
36
38
  get: {
39
+ uriTemplate: exports.UserItemRequestBuilderUriTemplate,
37
40
  responseBodyContentType: "application/json",
38
41
  errorMappings: {
39
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
43
  },
42
44
  adapterMethodName: "sendAsync",
43
45
  responseBodyFactory: models_1.createUserFromDiscriminatorValue,
44
46
  queryParametersMapper: UserItemRequestBuilderGetQueryParametersMapper,
45
47
  },
46
48
  };
47
- /**
48
- * Uri template for the request builder.
49
- */
50
- exports.UserItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}{?%24expand,%24select}";
51
49
  /* tslint:enable */
52
50
  /* eslint-enable */
@@ -7,7 +7,8 @@ export interface MailboxSettingsRequestBuilder extends BaseRequestBuilder<Mailbo
7
7
  /**
8
8
  * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of MailboxSettings
10
+ * @returns {Promise<MailboxSettings>}
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<MailboxSettingsRequestBuilderGetQueryParameters> | undefined): Promise<MailboxSettings | undefined>;
@@ -15,14 +16,15 @@ export interface MailboxSettingsRequestBuilder extends BaseRequestBuilder<Mailbo
15
16
  * Update property mailboxSettings value.
16
17
  * @param body The request body
17
18
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
18
- * @returns a Promise of MailboxSettings
19
+ * @returns {Promise<MailboxSettings>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  * @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
20
22
  */
21
23
  patch(body: MailboxSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MailboxSettings | undefined>;
22
24
  /**
23
25
  * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
24
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
- * @returns a RequestInformation
27
+ * @returns {RequestInformation}
26
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
27
29
  */
28
30
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<MailboxSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
@@ -30,7 +32,7 @@ export interface MailboxSettingsRequestBuilder extends BaseRequestBuilder<Mailbo
30
32
  * Update property mailboxSettings value.
31
33
  * @param body The request body
32
34
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
33
- * @returns a RequestInformation
35
+ * @returns {RequestInformation}
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
  */
36
38
  toPatchRequestInformation(body: MailboxSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
@@ -48,12 +50,12 @@ export interface MailboxSettingsRequestBuilderGetQueryParameters {
48
50
  */
49
51
  select?: string[];
50
52
  }
51
- /**
52
- * Metadata for all the requests in the request builder.
53
- */
54
- export declare const MailboxSettingsRequestBuilderRequestsMetadata: RequestsMetadata;
55
53
  /**
56
54
  * Uri template for the request builder.
57
55
  */
58
56
  export declare const MailboxSettingsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/mailboxSettings{?%24expand,%24select}";
57
+ /**
58
+ * Metadata for all the requests in the request builder.
59
+ */
60
+ export declare const MailboxSettingsRequestBuilderRequestsMetadata: RequestsMetadata;
59
61
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7I,OAAO,EAAE,KAAK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,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtJ;;;;;;;OAOG;IACF,KAAK,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACtI;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,+CAA+C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACxJ;;;;;;OAMG;IACF,yBAAyB,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,yIAAyI,CAAC;AAQ/L;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAuB3D,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MailboxSettingsRequestBuilderUriTemplate = exports.MailboxSettingsRequestBuilderRequestsMetadata = void 0;
3
+ exports.MailboxSettingsRequestBuilderRequestsMetadata = exports.MailboxSettingsRequestBuilderUriTemplate = 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.MailboxSettingsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/mailboxSettings{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,20 +22,20 @@ const MailboxSettingsRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.MailboxSettingsRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.MailboxSettingsRequestBuilderUriTemplate,
21
26
  responseBodyContentType: "application/json",
22
27
  errorMappings: {
23
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
28
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
29
  },
26
30
  adapterMethodName: "sendAsync",
27
31
  responseBodyFactory: models_1.createMailboxSettingsFromDiscriminatorValue,
28
32
  queryParametersMapper: MailboxSettingsRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  patch: {
35
+ uriTemplate: exports.MailboxSettingsRequestBuilderUriTemplate,
31
36
  responseBodyContentType: "application/json",
32
37
  errorMappings: {
33
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
34
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
38
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
35
39
  },
36
40
  adapterMethodName: "sendAsync",
37
41
  responseBodyFactory: models_1.createMailboxSettingsFromDiscriminatorValue,
@@ -40,9 +44,5 @@ exports.MailboxSettingsRequestBuilderRequestsMetadata = {
40
44
  requestInformationContentSetMethod: "setContentFromParsable",
41
45
  },
42
46
  };
43
- /**
44
- * Uri template for the request builder.
45
- */
46
- exports.MailboxSettingsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/mailboxSettings{?%24expand,%24select}";
47
47
  /* tslint:enable */
48
48
  /* 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 a Promise of Integer
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 a RequestInformation
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}/collaborators/{user%2Did}/serviceProvisioningErrors/$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;;;;;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,0JAA0J,CAAC"}
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,0JAA0J,CAAC;AAQtM;;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.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
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}/collaborators/{user%2Did}/serviceProvisioningErrors/$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
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
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}/collaborators/{user%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,14 +13,15 @@ export interface ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuil
13
13
  /**
14
14
  * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
15
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a Promise of ServiceProvisioningErrorCollectionResponse
16
+ * @returns {Promise<ServiceProvisioningErrorCollectionResponse>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
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
  get(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceProvisioningErrorCollectionResponse | undefined>;
20
21
  /**
21
22
  * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from a user object . Supports $filter (eq, not, for isResolved and serviceInstance).
22
23
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a RequestInformation
24
+ * @returns {RequestInformation}
24
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
25
26
  */
26
27
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
@@ -62,6 +63,10 @@ export interface ServiceProvisioningErrorsRequestBuilderGetQueryParameters {
62
63
  */
63
64
  top?: number;
64
65
  }
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
65
70
  /**
66
71
  * Metadata for all the navigation properties in the request builder.
67
72
  */
@@ -70,8 +75,4 @@ export declare const ServiceProvisioningErrorsRequestBuilderNavigationMetadata:
70
75
  * Metadata for all the requests in the request builder.
71
76
  */
72
77
  export declare const ServiceProvisioningErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
73
- /**
74
- * Uri template for the request builder.
75
- */
76
- export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
77
78
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0E,KAAK,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAEzK,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,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,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,S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C,uCAAuC,CAAC;IACxH;;;OAGG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;;OAKG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;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,kDAAkD,0MAA0M,CAAC;AAc1Q;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAWrE,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = void 0;
3
+ exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = 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 count_1 = require("./count/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -25,7 +29,6 @@ const ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper = {
25
29
  */
26
30
  exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
27
31
  count: {
28
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
29
32
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
30
33
  },
31
34
  };
@@ -34,19 +37,15 @@ exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
34
37
  */
35
38
  exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = {
36
39
  get: {
40
+ uriTemplate: exports.ServiceProvisioningErrorsRequestBuilderUriTemplate,
37
41
  responseBodyContentType: "application/json",
38
42
  errorMappings: {
39
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
44
  },
42
45
  adapterMethodName: "sendAsync",
43
46
  responseBodyFactory: models_1.createServiceProvisioningErrorCollectionResponseFromDiscriminatorValue,
44
47
  queryParametersMapper: ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper,
45
48
  },
46
49
  };
47
- /**
48
- * Uri template for the request builder.
49
- */
50
- exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/collaborators/{user%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
51
50
  /* tslint:enable */
52
51
  /* eslint-enable */
@@ -6,24 +6,25 @@ export interface GetFinalAttachmentRequestBuilder extends BaseRequestBuilder<Get
6
6
  /**
7
7
  * Invoke function getFinalAttachment
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
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<object> | undefined): Promise<ArrayBuffer | undefined>;
13
14
  /**
14
15
  * Invoke function getFinalAttachment
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
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<object> | undefined): RequestInformation;
20
21
  }
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export declare const GetFinalAttachmentRequestBuilderRequestsMetadata: RequestsMetadata;
25
22
  /**
26
23
  * Uri template for the request builder.
27
24
  */
28
25
  export declare const GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const GetFinalAttachmentRequestBuilderRequestsMetadata: RequestsMetadata;
29
30
  //# 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,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"}
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;;;;;;OAMG;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,2CAA2C,8FAA8F,CAAC;AACvJ;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAU9D,CAAC"}
@@ -1,27 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetFinalAttachmentRequestBuilderUriTemplate = exports.GetFinalAttachmentRequestBuilderRequestsMetadata = void 0;
3
+ exports.GetFinalAttachmentRequestBuilderRequestsMetadata = exports.GetFinalAttachmentRequestBuilderUriTemplate = 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.GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.GetFinalAttachmentRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.GetFinalAttachmentRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "application/octet-stream, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  };
22
- /**
23
- * Uri template for the request builder.
24
- */
25
- exports.GetFinalAttachmentRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalAttachment()";
26
26
  /* tslint:enable */
27
27
  /* eslint-enable */
@@ -6,24 +6,25 @@ export interface GetFinalReportRequestBuilder extends BaseRequestBuilder<GetFina
6
6
  /**
7
7
  * Invoke function getFinalReport
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns a Promise of ArrayBuffer
9
+ * @returns {Promise<ArrayBuffer>}
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<object> | undefined): Promise<ArrayBuffer | undefined>;
13
14
  /**
14
15
  * Invoke function getFinalReport
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
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<object> | undefined): RequestInformation;
20
21
  }
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export declare const GetFinalReportRequestBuilderRequestsMetadata: RequestsMetadata;
25
22
  /**
26
23
  * Uri template for the request builder.
27
24
  */
28
25
  export declare const GetFinalReportRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const GetFinalReportRequestBuilderRequestsMetadata: RequestsMetadata;
29
30
  //# 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,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"}
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;;;;;;OAMG;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,uCAAuC,0FAA0F,CAAC;AAC/I;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAU1D,CAAC"}
@@ -1,27 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetFinalReportRequestBuilderUriTemplate = exports.GetFinalReportRequestBuilderRequestsMetadata = void 0;
3
+ exports.GetFinalReportRequestBuilderRequestsMetadata = exports.GetFinalReportRequestBuilderUriTemplate = 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.GetFinalReportRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.GetFinalReportRequestBuilderRequestsMetadata = {
12
16
  get: {
17
+ uriTemplate: exports.GetFinalReportRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "application/octet-stream, application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendPrimitiveAsync",
19
23
  responseBodyFactory: "ArrayBuffer",
20
24
  },
21
25
  };
22
- /**
23
- * Uri template for the request builder.
24
- */
25
- exports.GetFinalReportRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}/getFinalReport()";
26
26
  /* tslint:enable */
27
27
  /* eslint-enable */
@@ -43,13 +43,15 @@ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuild
43
43
  /**
44
44
  * Delete navigation property subjectRightsRequests for privacy
45
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
46
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
46
47
  * @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
  */
48
49
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
49
50
  /**
50
51
  * Read the properties and relationships of a subjectRightsRequest object.
51
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
- * @returns a Promise of SubjectRightsRequest
53
+ * @returns {Promise<SubjectRightsRequest>}
54
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
53
55
  * @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
56
  * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-get?view=graph-rest-1.0|Find more info here}
55
57
  */
@@ -58,7 +60,8 @@ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuild
58
60
  * Update the properties of a subjectRightsRequest object.
59
61
  * @param body The request body
60
62
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
- * @returns a Promise of SubjectRightsRequest
63
+ * @returns {Promise<SubjectRightsRequest>}
64
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
62
65
  * @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
66
  * @see {@link https://learn.microsoft.com/graph/api/subjectrightsrequest-update?view=graph-rest-1.0|Find more info here}
64
67
  */
@@ -66,14 +69,14 @@ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuild
66
69
  /**
67
70
  * Delete navigation property subjectRightsRequests for privacy
68
71
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
69
- * @returns a RequestInformation
72
+ * @returns {RequestInformation}
70
73
  * @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
74
  */
72
75
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
73
76
  /**
74
77
  * Read the properties and relationships of a subjectRightsRequest object.
75
78
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
76
- * @returns a RequestInformation
79
+ * @returns {RequestInformation}
77
80
  * @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
81
  */
79
82
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<SubjectRightsRequestItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
@@ -81,7 +84,7 @@ export interface SubjectRightsRequestItemRequestBuilder extends BaseRequestBuild
81
84
  * Update the properties of a subjectRightsRequest object.
82
85
  * @param body The request body
83
86
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
84
- * @returns a RequestInformation
87
+ * @returns {RequestInformation}
85
88
  * @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
89
  */
87
90
  toPatchRequestInformation(body: SubjectRightsRequest, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
@@ -99,6 +102,10 @@ export interface SubjectRightsRequestItemRequestBuilderGetQueryParameters {
99
102
  */
100
103
  select?: string[];
101
104
  }
105
+ /**
106
+ * Uri template for the request builder.
107
+ */
108
+ export declare const SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}";
102
109
  /**
103
110
  * Metadata for all the navigation properties in the request builder.
104
111
  */
@@ -107,8 +114,4 @@ export declare const SubjectRightsRequestItemRequestBuilderNavigationMetadata: R
107
114
  * Metadata for all the requests in the request builder.
108
115
  */
109
116
  export declare const SubjectRightsRequestItemRequestBuilderRequestsMetadata: RequestsMetadata;
110
- /**
111
- * Uri template for the request builder.
112
- */
113
- export declare const SubjectRightsRequestItemRequestBuilderUriTemplate = "{+baseurl}/privacy/subjectRightsRequests/{subjectRightsRequest%2Did}{?%24expand,%24select}";
114
117
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,2BA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