@microsoft/msgraph-sdk-admin 1.0.0-preview.13 → 1.0.0-preview.14

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 (142) hide show
  1. package/admin/edge/index.d.ts +12 -9
  2. package/admin/edge/index.d.ts.map +1 -1
  3. package/admin/edge/index.js +11 -12
  4. package/admin/edge/internetExplorerMode/index.d.ts +12 -9
  5. package/admin/edge/internetExplorerMode/index.d.ts.map +1 -1
  6. package/admin/edge/internetExplorerMode/index.js +11 -12
  7. package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts +7 -6
  8. package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts.map +1 -1
  9. package/admin/edge/internetExplorerMode/siteLists/count/index.js +7 -7
  10. package/admin/edge/internetExplorerMode/siteLists/index.d.ts +11 -9
  11. package/admin/edge/internetExplorerMode/siteLists/index.d.ts.map +1 -1
  12. package/admin/edge/internetExplorerMode/siteLists/index.js +9 -11
  13. package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts +12 -9
  14. package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts.map +1 -1
  15. package/admin/edge/internetExplorerMode/siteLists/item/index.js +11 -14
  16. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts +9 -8
  17. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts.map +1 -1
  18. package/admin/edge/internetExplorerMode/siteLists/item/publish/index.js +9 -9
  19. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts +7 -6
  20. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts.map +1 -1
  21. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.js +7 -7
  22. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts +11 -9
  23. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts.map +1 -1
  24. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.js +9 -11
  25. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts +12 -9
  26. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts.map +1 -1
  27. package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.js +11 -11
  28. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts +7 -6
  29. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts.map +1 -1
  30. package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.js +7 -7
  31. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts +11 -9
  32. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts.map +1 -1
  33. package/admin/edge/internetExplorerMode/siteLists/item/sites/index.js +9 -11
  34. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts +12 -9
  35. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts.map +1 -1
  36. package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.js +11 -11
  37. package/admin/index.d.ts +10 -8
  38. package/admin/index.d.ts.map +1 -1
  39. package/admin/index.js +9 -13
  40. package/admin/people/index.d.ts +7 -6
  41. package/admin/people/index.d.ts.map +1 -1
  42. package/admin/people/index.js +7 -9
  43. package/admin/people/profileCardProperties/count/index.d.ts +7 -6
  44. package/admin/people/profileCardProperties/count/index.d.ts.map +1 -1
  45. package/admin/people/profileCardProperties/count/index.js +7 -7
  46. package/admin/people/profileCardProperties/index.d.ts +11 -9
  47. package/admin/people/profileCardProperties/index.d.ts.map +1 -1
  48. package/admin/people/profileCardProperties/index.js +9 -11
  49. package/admin/people/profileCardProperties/item/index.d.ts +12 -9
  50. package/admin/people/profileCardProperties/item/index.d.ts.map +1 -1
  51. package/admin/people/profileCardProperties/item/index.js +11 -11
  52. package/admin/people/pronouns/index.d.ts +10 -8
  53. package/admin/people/pronouns/index.d.ts.map +1 -1
  54. package/admin/people/pronouns/index.js +9 -9
  55. package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts +7 -6
  56. package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts.map +1 -1
  57. package/admin/serviceAnnouncement/healthOverviews/count/index.js +7 -7
  58. package/admin/serviceAnnouncement/healthOverviews/index.d.ts +11 -9
  59. package/admin/serviceAnnouncement/healthOverviews/index.d.ts.map +1 -1
  60. package/admin/serviceAnnouncement/healthOverviews/index.js +9 -11
  61. package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts +12 -9
  62. package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts.map +1 -1
  63. package/admin/serviceAnnouncement/healthOverviews/item/index.js +11 -12
  64. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts +7 -6
  65. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts.map +1 -1
  66. package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.js +7 -7
  67. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts +11 -9
  68. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts.map +1 -1
  69. package/admin/serviceAnnouncement/healthOverviews/item/issues/index.js +9 -11
  70. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts +7 -6
  71. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts.map +1 -1
  72. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.js +7 -7
  73. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts +12 -9
  74. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts.map +1 -1
  75. package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.js +11 -12
  76. package/admin/serviceAnnouncement/index.d.ts +12 -9
  77. package/admin/serviceAnnouncement/index.d.ts.map +1 -1
  78. package/admin/serviceAnnouncement/index.js +11 -14
  79. package/admin/serviceAnnouncement/issues/count/index.d.ts +7 -6
  80. package/admin/serviceAnnouncement/issues/count/index.d.ts.map +1 -1
  81. package/admin/serviceAnnouncement/issues/count/index.js +7 -7
  82. package/admin/serviceAnnouncement/issues/index.d.ts +11 -9
  83. package/admin/serviceAnnouncement/issues/index.d.ts.map +1 -1
  84. package/admin/serviceAnnouncement/issues/index.js +9 -11
  85. package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts +7 -6
  86. package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts.map +1 -1
  87. package/admin/serviceAnnouncement/issues/item/incidentReport/index.js +7 -7
  88. package/admin/serviceAnnouncement/issues/item/index.d.ts +12 -9
  89. package/admin/serviceAnnouncement/issues/item/index.d.ts.map +1 -1
  90. package/admin/serviceAnnouncement/issues/item/index.js +11 -12
  91. package/admin/serviceAnnouncement/messages/archive/index.d.ts +11 -10
  92. package/admin/serviceAnnouncement/messages/archive/index.d.ts.map +1 -1
  93. package/admin/serviceAnnouncement/messages/archive/index.js +11 -11
  94. package/admin/serviceAnnouncement/messages/count/index.d.ts +7 -6
  95. package/admin/serviceAnnouncement/messages/count/index.d.ts.map +1 -1
  96. package/admin/serviceAnnouncement/messages/count/index.js +7 -7
  97. package/admin/serviceAnnouncement/messages/favorite/index.d.ts +11 -10
  98. package/admin/serviceAnnouncement/messages/favorite/index.d.ts.map +1 -1
  99. package/admin/serviceAnnouncement/messages/favorite/index.js +11 -11
  100. package/admin/serviceAnnouncement/messages/index.d.ts +11 -9
  101. package/admin/serviceAnnouncement/messages/index.d.ts.map +1 -1
  102. package/admin/serviceAnnouncement/messages/index.js +9 -17
  103. package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts +7 -6
  104. package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts.map +1 -1
  105. package/admin/serviceAnnouncement/messages/item/attachments/count/index.js +7 -7
  106. package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts +11 -9
  107. package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts.map +1 -1
  108. package/admin/serviceAnnouncement/messages/item/attachments/index.js +9 -11
  109. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts +10 -8
  110. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts.map +1 -1
  111. package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.js +9 -9
  112. package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts +12 -9
  113. package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts.map +1 -1
  114. package/admin/serviceAnnouncement/messages/item/attachments/item/index.js +11 -12
  115. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts +10 -8
  116. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts.map +1 -1
  117. package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.js +9 -9
  118. package/admin/serviceAnnouncement/messages/item/index.d.ts +12 -9
  119. package/admin/serviceAnnouncement/messages/item/index.d.ts.map +1 -1
  120. package/admin/serviceAnnouncement/messages/item/index.js +11 -13
  121. package/admin/serviceAnnouncement/messages/markRead/index.d.ts +11 -10
  122. package/admin/serviceAnnouncement/messages/markRead/index.d.ts.map +1 -1
  123. package/admin/serviceAnnouncement/messages/markRead/index.js +11 -11
  124. package/admin/serviceAnnouncement/messages/markUnread/index.d.ts +11 -10
  125. package/admin/serviceAnnouncement/messages/markUnread/index.d.ts.map +1 -1
  126. package/admin/serviceAnnouncement/messages/markUnread/index.js +11 -11
  127. package/admin/serviceAnnouncement/messages/unarchive/index.d.ts +11 -10
  128. package/admin/serviceAnnouncement/messages/unarchive/index.d.ts.map +1 -1
  129. package/admin/serviceAnnouncement/messages/unarchive/index.js +11 -11
  130. package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts +11 -10
  131. package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts.map +1 -1
  132. package/admin/serviceAnnouncement/messages/unfavorite/index.js +11 -11
  133. package/admin/sharepoint/index.d.ts +12 -9
  134. package/admin/sharepoint/index.d.ts.map +1 -1
  135. package/admin/sharepoint/index.js +11 -12
  136. package/admin/sharepoint/settings/index.d.ts +12 -9
  137. package/admin/sharepoint/settings/index.d.ts.map +1 -1
  138. package/admin/sharepoint/settings/index.js +11 -11
  139. package/adminServiceClient.d.ts.map +1 -1
  140. package/adminServiceClient.js +1 -2
  141. package/package.json +3 -3
  142. package/tsconfig.tsbuildinfo +1 -1
@@ -13,13 +13,14 @@ export interface ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder<
13
13
  /**
14
14
  * Provides operations to manage the profileCardProperties property of the microsoft.graph.peopleAdminSettings entity.
15
15
  * @param profileCardPropertyId The unique identifier of profileCardProperty
16
- * @returns a ProfileCardPropertyItemRequestBuilder
16
+ * @returns {ProfileCardPropertyItemRequestBuilder}
17
17
  */
18
18
  byProfileCardPropertyId(profileCardPropertyId: string): ProfileCardPropertyItemRequestBuilder;
19
19
  /**
20
20
  * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of ProfileCardPropertyCollectionResponse
22
+ * @returns {Promise<ProfileCardPropertyCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilecardproperties?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<ProfileCardPropertiesRequestBuilderGetQueryParameters> | undefined): Promise<ProfileCardPropertyCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface ProfileCardPropertiesRequestBuilder extends BaseRequestBuilder<
27
28
  * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of ProfileCardProperty
31
+ * @returns {Promise<ProfileCardProperty>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilecardproperties?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileCardProperty | undefined>;
34
36
  /**
35
37
  * Get a collection of profileCardProperty resources for an organization. Each resource is identified by its directoryPropertyName property.
36
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
38
40
  */
39
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileCardPropertiesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new profileCardProperty for an organization. The new property is identified by its directoryPropertyName property. For more information about how to add properties to the profile card for an organization, see Add or remove custom attributes on a profile card using the profile card API.
42
44
  * @param body The request body
43
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
45
47
  */
46
48
  toPostRequestInformation(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface ProfileCardPropertiesRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
85
91
  /**
86
92
  * Metadata for all the navigation properties in the request builder.
87
93
  */
@@ -90,8 +96,4 @@ export declare const ProfileCardPropertiesRequestBuilderNavigationMetadata: Reco
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const ProfileCardPropertiesRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
97
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoJ,KAAK,mBAAmB,EAAE,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAExQ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2G,KAAK,qCAAqC,EAAE,MAAM,SAAS,CAAC;AAC9K,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,mCAAoC,SAAQ,kBAAkB,CAAC,mCAAmC,CAAC;IAChH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,uBAAuB,CAAC,qBAAqB,EAAE,MAAM,GAAI,qCAAqC,CAAC;IAChG;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qCAAqC,GAAG,SAAS,CAAC,CAAC;IAClL;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qDAAqD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC9J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,oBA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8C,+HAA+H,CAAC;AAc3L;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,mCAAmC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,gBAuBjE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfileCardPropertiesRequestBuilderUriTemplate = exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = exports.ProfileCardPropertiesRequestBuilderNavigationMetadata = void 0;
3
+ exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = exports.ProfileCardPropertiesRequestBuilderNavigationMetadata = exports.ProfileCardPropertiesRequestBuilderUriTemplate = 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.ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%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 ProfileCardPropertiesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.ProfileCardPropertiesRequestBuilderNavigationMetadata = {
28
32
  byProfileCardPropertyId: {
29
- uriTemplate: item_1.ProfileCardPropertyItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.ProfileCardPropertyItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["profileCardProperty%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.ProfileCardPropertiesRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.ProfileCardPropertiesRequestBuilderUriTemplate,
43
46
  responseBodyContentType: "application/json",
44
47
  errorMappings: {
45
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
49
  },
48
50
  adapterMethodName: "sendAsync",
49
51
  responseBodyFactory: models_1.createProfileCardPropertyCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: ProfileCardPropertiesRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.ProfileCardPropertiesRequestBuilderUriTemplate,
53
56
  responseBodyContentType: "application/json",
54
57
  errorMappings: {
55
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
59
  },
58
60
  adapterMethodName: "sendAsync",
59
61
  responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.ProfileCardPropertiesRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.ProfileCardPropertiesRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,13 +7,15 @@ export interface ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilde
7
7
  /**
8
8
  * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
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
  * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-delete?view=graph-rest-1.0|Find more info here}
11
12
  */
12
13
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
13
14
  /**
14
15
  * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a Promise of ProfileCardProperty
17
+ * @returns {Promise<ProfileCardProperty>}
18
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
17
19
  * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-get?view=graph-rest-1.0|Find more info here}
18
20
  */
19
21
  get(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): Promise<ProfileCardProperty | undefined>;
@@ -21,27 +23,28 @@ export interface ProfileCardPropertyItemRequestBuilder extends BaseRequestBuilde
21
23
  * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
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 a Promise of ProfileCardProperty
26
+ * @returns {Promise<ProfileCardProperty>}
27
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
25
28
  * @see {@link https://learn.microsoft.com/graph/api/profilecardproperty-update?view=graph-rest-1.0|Find more info here}
26
29
  */
27
30
  patch(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ProfileCardProperty | undefined>;
28
31
  /**
29
32
  * Delete the profileCardProperty object specified by its directoryPropertyName from the organization's profile card, and remove any localized customizations for that property.
30
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
32
35
  */
33
36
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
34
37
  /**
35
38
  * Retrieve the properties of a profileCardProperty entity. The profileCardProperty is identified by its directoryPropertyName property.
36
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a RequestInformation
40
+ * @returns {RequestInformation}
38
41
  */
39
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<ProfileCardPropertyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
43
  /**
41
44
  * Update the properties of a profileCardProperty object, identified by its directoryPropertyName property.
42
45
  * @param body The request body
43
46
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a RequestInformation
47
+ * @returns {RequestInformation}
45
48
  */
46
49
  toPatchRequestInformation(body: ProfileCardProperty, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
50
  }
@@ -58,12 +61,12 @@ export interface ProfileCardPropertyItemRequestBuilderGetQueryParameters {
58
61
  */
59
62
  select?: string[];
60
63
  }
61
- /**
62
- * Metadata for all the requests in the request builder.
63
- */
64
- export declare const ProfileCardPropertyItemRequestBuilderRequestsMetadata: RequestsMetadata;
65
64
  /**
66
65
  * Uri template for the request builder.
67
66
  */
68
67
  export declare const ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24expand,%24select}";
68
+ /**
69
+ * Metadata for all the requests in the request builder.
70
+ */
71
+ export declare const ProfileCardPropertyItemRequestBuilderRequestsMetadata: RequestsMetadata;
69
72
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAEzJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EA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,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,mGAAmG,CAAC;AAQjK;;GAEG;AACH,eAAO,MAAM,qDAAqD,EAAE,gBA+BnE,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProfileCardPropertyItemRequestBuilderUriTemplate = exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = exports.ProfileCardPropertyItemRequestBuilderUriTemplate = 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.ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%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 ProfileCardPropertyItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.ProfileCardPropertyItemRequestBuilderUriTemplate,
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: "sendNoResponseContentAsync",
27
31
  },
28
32
  get: {
33
+ uriTemplate: exports.ProfileCardPropertyItemRequestBuilderUriTemplate,
29
34
  responseBodyContentType: "application/json",
30
35
  errorMappings: {
31
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
32
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
36
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
33
37
  },
34
38
  adapterMethodName: "sendAsync",
35
39
  responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
36
40
  queryParametersMapper: ProfileCardPropertyItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.ProfileCardPropertyItemRequestBuilderUriTemplate,
39
44
  responseBodyContentType: "application/json",
40
45
  errorMappings: {
41
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
42
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
46
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
47
  },
44
48
  adapterMethodName: "sendAsync",
45
49
  responseBodyFactory: models_1.createProfileCardPropertyFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.ProfileCardPropertyItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.ProfileCardPropertyItemRequestBuilderUriTemplate = "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -7,7 +7,8 @@ export interface PronounsRequestBuilder extends BaseRequestBuilder<PronounsReque
7
7
  /**
8
8
  * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of PronounsSettings
10
+ * @returns {Promise<PronounsSettings>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  * @see {@link https://learn.microsoft.com/graph/api/peopleadminsettings-list-pronouns?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  get(requestConfiguration?: RequestConfiguration<PronounsRequestBuilderGetQueryParameters> | undefined): Promise<PronounsSettings | undefined>;
@@ -15,21 +16,22 @@ export interface PronounsRequestBuilder extends BaseRequestBuilder<PronounsReque
15
16
  * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
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 PronounsSettings
19
+ * @returns {Promise<PronounsSettings>}
20
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
19
21
  * @see {@link https://learn.microsoft.com/graph/api/pronounssettings-update?view=graph-rest-1.0|Find more info here}
20
22
  */
21
23
  patch(body: PronounsSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PronounsSettings | undefined>;
22
24
  /**
23
25
  * Get the properties of the pronounsSettings resource for an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
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
  */
27
29
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PronounsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
28
30
  /**
29
31
  * Update the properties of a pronounsSettings object in an organization. For more information on settings to manage pronouns support, see Manage pronouns settings for an organization using the Microsoft Graph API.
30
32
  * @param body The request body
31
33
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a RequestInformation
34
+ * @returns {RequestInformation}
33
35
  */
34
36
  toPatchRequestInformation(body: PronounsSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
35
37
  }
@@ -46,12 +48,12 @@ export interface PronounsRequestBuilderGetQueryParameters {
46
48
  */
47
49
  select?: string[];
48
50
  }
49
- /**
50
- * Metadata for all the requests in the request builder.
51
- */
52
- export declare const PronounsRequestBuilderRequestsMetadata: RequestsMetadata;
53
51
  /**
54
52
  * Uri template for the request builder.
55
53
  */
56
54
  export declare const PronounsRequestBuilderUriTemplate = "{+baseurl}/admin/people/pronouns{?%24expand,%24select}";
55
+ /**
56
+ * Metadata for all the requests in the request builder.
57
+ */
58
+ export declare const PronounsRequestBuilderRequestsMetadata: RequestsMetadata;
57
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEhJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,MA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AAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,2DAA2D,CAAC;AAQ1G;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PronounsRequestBuilderUriTemplate = exports.PronounsRequestBuilderRequestsMetadata = void 0;
3
+ exports.PronounsRequestBuilderRequestsMetadata = exports.PronounsRequestBuilderUriTemplate = 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.PronounsRequestBuilderUriTemplate = "{+baseurl}/admin/people/pronouns{?%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 PronounsRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.PronounsRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.PronounsRequestBuilderUriTemplate,
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.createPronounsSettingsFromDiscriminatorValue,
28
32
  queryParametersMapper: PronounsRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  patch: {
35
+ uriTemplate: exports.PronounsRequestBuilderUriTemplate,
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.createPronounsSettingsFromDiscriminatorValue,
@@ -40,9 +44,5 @@ exports.PronounsRequestBuilderRequestsMetadata = {
40
44
  requestInformationContentSetMethod: "setContentFromParsable",
41
45
  },
42
46
  };
43
- /**
44
- * Uri template for the request builder.
45
- */
46
- exports.PronounsRequestBuilderUriTemplate = "{+baseurl}/admin/people/pronouns{?%24expand,%24select}";
47
47
  /* tslint:enable */
48
48
  /* eslint-enable */
@@ -6,13 +6,14 @@ 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
  */
11
12
  get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
12
13
  /**
13
14
  * Get the number of the resource
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a RequestInformation
16
+ * @returns {RequestInformation}
16
17
  */
17
18
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
18
19
  }
@@ -29,12 +30,12 @@ export interface CountRequestBuilderGetQueryParameters {
29
30
  */
30
31
  search?: string;
31
32
  }
32
- /**
33
- * Metadata for all the requests in the request builder.
34
- */
35
- export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
36
33
  /**
37
34
  * Uri template for the request builder.
38
35
  */
39
36
  export declare const CountRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/$count{?%24filter,%24search}";
37
+ /**
38
+ * Metadata for all the requests in the request builder.
39
+ */
40
+ export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
40
41
  //# 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;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAQD;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8BAA8B,sFAAsF,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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,sFAAsF,CAAC;AAQlI;;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}/admin/serviceAnnouncement/healthOverviews/$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}/admin/serviceAnnouncement/healthOverviews/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface HealthOverviewsRequestBuilder extends BaseRequestBuilder<Health
13
13
  /**
14
14
  * Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity.
15
15
  * @param serviceHealthId The unique identifier of serviceHealth
16
- * @returns a ServiceHealthItemRequestBuilder
16
+ * @returns {ServiceHealthItemRequestBuilder}
17
17
  */
18
18
  byServiceHealthId(serviceHealthId: string): ServiceHealthItemRequestBuilder;
19
19
  /**
20
20
  * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of ServiceHealthCollectionResponse
22
+ * @returns {Promise<ServiceHealthCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/serviceannouncement-list-healthoverviews?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<HealthOverviewsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceHealthCollectionResponse | undefined>;
@@ -27,20 +28,21 @@ export interface HealthOverviewsRequestBuilder extends BaseRequestBuilder<Health
27
28
  * Create new navigation property to healthOverviews for admin
28
29
  * @param body The request body
29
30
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a Promise of ServiceHealth
31
+ * @returns {Promise<ServiceHealth>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  */
32
34
  post(body: ServiceHealth, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServiceHealth | undefined>;
33
35
  /**
34
36
  * Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant.
35
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
37
39
  */
38
40
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<HealthOverviewsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
41
  /**
40
42
  * Create new navigation property to healthOverviews for admin
41
43
  * @param body The request body
42
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
45
+ * @returns {RequestInformation}
44
46
  */
45
47
  toPostRequestInformation(body: ServiceHealth, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
48
  }
@@ -81,6 +83,10 @@ export interface HealthOverviewsRequestBuilderGetQueryParameters {
81
83
  */
82
84
  top?: number;
83
85
  }
86
+ /**
87
+ * Uri template for the request builder.
88
+ */
89
+ export declare const HealthOverviewsRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
84
90
  /**
85
91
  * Metadata for all the navigation properties in the request builder.
86
92
  */
@@ -89,8 +95,4 @@ export declare const HealthOverviewsRequestBuilderNavigationMetadata: Record<Exc
89
95
  * Metadata for all the requests in the request builder.
90
96
  */
91
97
  export declare const HealthOverviewsRequestBuilderRequestsMetadata: RequestsMetadata;
92
- /**
93
- * Uri template for the request builder.
94
- */
95
- export declare const HealthOverviewsRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
96
98
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkI,KAAK,aAAa,EAAE,KAAK,+BA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
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthOverviewsRequestBuilderUriTemplate = exports.HealthOverviewsRequestBuilderRequestsMetadata = exports.HealthOverviewsRequestBuilderNavigationMetadata = void 0;
3
+ exports.HealthOverviewsRequestBuilderRequestsMetadata = exports.HealthOverviewsRequestBuilderNavigationMetadata = exports.HealthOverviewsRequestBuilderUriTemplate = 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.HealthOverviewsRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -26,13 +30,11 @@ const HealthOverviewsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.HealthOverviewsRequestBuilderNavigationMetadata = {
28
32
  byServiceHealthId: {
29
- uriTemplate: item_1.ServiceHealthItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.ServiceHealthItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.ServiceHealthItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["serviceHealth%2Did"],
33
36
  },
34
37
  count: {
35
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
36
38
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
37
39
  },
38
40
  };
@@ -41,20 +43,20 @@ exports.HealthOverviewsRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.HealthOverviewsRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.HealthOverviewsRequestBuilderUriTemplate,
44
47
  responseBodyContentType: "application/json",
45
48
  errorMappings: {
46
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
47
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
49
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
48
50
  },
49
51
  adapterMethodName: "sendAsync",
50
52
  responseBodyFactory: models_1.createServiceHealthCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: HealthOverviewsRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.HealthOverviewsRequestBuilderUriTemplate,
54
57
  responseBodyContentType: "application/json",
55
58
  errorMappings: {
56
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
57
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
60
  },
59
61
  adapterMethodName: "sendAsync",
60
62
  responseBodyFactory: models_1.createServiceHealthFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.HealthOverviewsRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.HealthOverviewsRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* eslint-enable */