@microsoft/msgraph-sdk-directory 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 (250) hide show
  1. package/directory/administrativeUnits/count/index.d.ts +7 -6
  2. package/directory/administrativeUnits/count/index.d.ts.map +1 -1
  3. package/directory/administrativeUnits/count/index.js +7 -7
  4. package/directory/administrativeUnits/delta/index.d.ts +9 -8
  5. package/directory/administrativeUnits/delta/index.d.ts.map +1 -1
  6. package/directory/administrativeUnits/delta/index.js +9 -9
  7. package/directory/administrativeUnits/index.d.ts +11 -9
  8. package/directory/administrativeUnits/index.d.ts.map +1 -1
  9. package/directory/administrativeUnits/index.js +9 -12
  10. package/directory/administrativeUnits/item/extensions/count/index.d.ts +7 -6
  11. package/directory/administrativeUnits/item/extensions/count/index.d.ts.map +1 -1
  12. package/directory/administrativeUnits/item/extensions/count/index.js +7 -7
  13. package/directory/administrativeUnits/item/extensions/index.d.ts +11 -9
  14. package/directory/administrativeUnits/item/extensions/index.d.ts.map +1 -1
  15. package/directory/administrativeUnits/item/extensions/index.js +9 -11
  16. package/directory/administrativeUnits/item/extensions/item/index.d.ts +12 -9
  17. package/directory/administrativeUnits/item/extensions/item/index.d.ts.map +1 -1
  18. package/directory/administrativeUnits/item/extensions/item/index.js +11 -11
  19. package/directory/administrativeUnits/item/index.d.ts +12 -9
  20. package/directory/administrativeUnits/item/index.d.ts.map +1 -1
  21. package/directory/administrativeUnits/item/index.js +11 -14
  22. package/directory/administrativeUnits/item/members/count/index.d.ts +7 -6
  23. package/directory/administrativeUnits/item/members/count/index.d.ts.map +1 -1
  24. package/directory/administrativeUnits/item/members/count/index.js +7 -7
  25. package/directory/administrativeUnits/item/members/graphApplication/count/index.d.ts +7 -6
  26. package/directory/administrativeUnits/item/members/graphApplication/count/index.d.ts.map +1 -1
  27. package/directory/administrativeUnits/item/members/graphApplication/count/index.js +7 -7
  28. package/directory/administrativeUnits/item/members/graphApplication/index.d.ts +7 -6
  29. package/directory/administrativeUnits/item/members/graphApplication/index.d.ts.map +1 -1
  30. package/directory/administrativeUnits/item/members/graphApplication/index.js +7 -8
  31. package/directory/administrativeUnits/item/members/graphDevice/count/index.d.ts +7 -6
  32. package/directory/administrativeUnits/item/members/graphDevice/count/index.d.ts.map +1 -1
  33. package/directory/administrativeUnits/item/members/graphDevice/count/index.js +7 -7
  34. package/directory/administrativeUnits/item/members/graphDevice/index.d.ts +7 -6
  35. package/directory/administrativeUnits/item/members/graphDevice/index.d.ts.map +1 -1
  36. package/directory/administrativeUnits/item/members/graphDevice/index.js +7 -8
  37. package/directory/administrativeUnits/item/members/graphGroup/count/index.d.ts +7 -6
  38. package/directory/administrativeUnits/item/members/graphGroup/count/index.d.ts.map +1 -1
  39. package/directory/administrativeUnits/item/members/graphGroup/count/index.js +7 -7
  40. package/directory/administrativeUnits/item/members/graphGroup/index.d.ts +7 -6
  41. package/directory/administrativeUnits/item/members/graphGroup/index.d.ts.map +1 -1
  42. package/directory/administrativeUnits/item/members/graphGroup/index.js +7 -8
  43. package/directory/administrativeUnits/item/members/graphOrgContact/count/index.d.ts +7 -6
  44. package/directory/administrativeUnits/item/members/graphOrgContact/count/index.d.ts.map +1 -1
  45. package/directory/administrativeUnits/item/members/graphOrgContact/count/index.js +7 -7
  46. package/directory/administrativeUnits/item/members/graphOrgContact/index.d.ts +7 -6
  47. package/directory/administrativeUnits/item/members/graphOrgContact/index.d.ts.map +1 -1
  48. package/directory/administrativeUnits/item/members/graphOrgContact/index.js +7 -8
  49. package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.d.ts +7 -6
  50. package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.d.ts.map +1 -1
  51. package/directory/administrativeUnits/item/members/graphServicePrincipal/count/index.js +7 -7
  52. package/directory/administrativeUnits/item/members/graphServicePrincipal/index.d.ts +7 -6
  53. package/directory/administrativeUnits/item/members/graphServicePrincipal/index.d.ts.map +1 -1
  54. package/directory/administrativeUnits/item/members/graphServicePrincipal/index.js +7 -8
  55. package/directory/administrativeUnits/item/members/graphUser/count/index.d.ts +7 -6
  56. package/directory/administrativeUnits/item/members/graphUser/count/index.d.ts.map +1 -1
  57. package/directory/administrativeUnits/item/members/graphUser/count/index.js +7 -7
  58. package/directory/administrativeUnits/item/members/graphUser/index.d.ts +7 -6
  59. package/directory/administrativeUnits/item/members/graphUser/index.d.ts.map +1 -1
  60. package/directory/administrativeUnits/item/members/graphUser/index.js +7 -8
  61. package/directory/administrativeUnits/item/members/index.d.ts +11 -9
  62. package/directory/administrativeUnits/item/members/index.d.ts.map +1 -1
  63. package/directory/administrativeUnits/item/members/index.js +9 -18
  64. package/directory/administrativeUnits/item/members/item/graphApplication/index.d.ts +7 -6
  65. package/directory/administrativeUnits/item/members/item/graphApplication/index.d.ts.map +1 -1
  66. package/directory/administrativeUnits/item/members/item/graphApplication/index.js +7 -7
  67. package/directory/administrativeUnits/item/members/item/graphDevice/index.d.ts +7 -6
  68. package/directory/administrativeUnits/item/members/item/graphDevice/index.d.ts.map +1 -1
  69. package/directory/administrativeUnits/item/members/item/graphDevice/index.js +7 -7
  70. package/directory/administrativeUnits/item/members/item/graphGroup/index.d.ts +7 -6
  71. package/directory/administrativeUnits/item/members/item/graphGroup/index.d.ts.map +1 -1
  72. package/directory/administrativeUnits/item/members/item/graphGroup/index.js +7 -7
  73. package/directory/administrativeUnits/item/members/item/graphOrgContact/index.d.ts +7 -6
  74. package/directory/administrativeUnits/item/members/item/graphOrgContact/index.d.ts.map +1 -1
  75. package/directory/administrativeUnits/item/members/item/graphOrgContact/index.js +7 -7
  76. package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.d.ts +7 -6
  77. package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.d.ts.map +1 -1
  78. package/directory/administrativeUnits/item/members/item/graphServicePrincipal/index.js +7 -7
  79. package/directory/administrativeUnits/item/members/item/graphUser/index.d.ts +7 -6
  80. package/directory/administrativeUnits/item/members/item/graphUser/index.d.ts.map +1 -1
  81. package/directory/administrativeUnits/item/members/item/graphUser/index.js +7 -7
  82. package/directory/administrativeUnits/item/members/item/index.d.ts +4 -4
  83. package/directory/administrativeUnits/item/members/item/index.d.ts.map +1 -1
  84. package/directory/administrativeUnits/item/members/item/index.js +5 -12
  85. package/directory/administrativeUnits/item/members/item/ref/index.d.ts +6 -5
  86. package/directory/administrativeUnits/item/members/item/ref/index.d.ts.map +1 -1
  87. package/directory/administrativeUnits/item/members/item/ref/index.js +7 -7
  88. package/directory/administrativeUnits/item/members/ref/index.d.ts +11 -8
  89. package/directory/administrativeUnits/item/members/ref/index.d.ts.map +1 -1
  90. package/directory/administrativeUnits/item/members/ref/index.js +11 -11
  91. package/directory/administrativeUnits/item/scopedRoleMembers/count/index.d.ts +7 -6
  92. package/directory/administrativeUnits/item/scopedRoleMembers/count/index.d.ts.map +1 -1
  93. package/directory/administrativeUnits/item/scopedRoleMembers/count/index.js +7 -7
  94. package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts +11 -9
  95. package/directory/administrativeUnits/item/scopedRoleMembers/index.d.ts.map +1 -1
  96. package/directory/administrativeUnits/item/scopedRoleMembers/index.js +9 -11
  97. package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts +12 -9
  98. package/directory/administrativeUnits/item/scopedRoleMembers/item/index.d.ts.map +1 -1
  99. package/directory/administrativeUnits/item/scopedRoleMembers/item/index.js +11 -11
  100. package/directory/attributeSets/count/index.d.ts +7 -6
  101. package/directory/attributeSets/count/index.d.ts.map +1 -1
  102. package/directory/attributeSets/count/index.js +7 -7
  103. package/directory/attributeSets/index.d.ts +11 -9
  104. package/directory/attributeSets/index.d.ts.map +1 -1
  105. package/directory/attributeSets/index.js +9 -11
  106. package/directory/attributeSets/item/index.d.ts +12 -9
  107. package/directory/attributeSets/item/index.d.ts.map +1 -1
  108. package/directory/attributeSets/item/index.js +11 -11
  109. package/directory/customSecurityAttributeDefinitions/count/index.d.ts +7 -6
  110. package/directory/customSecurityAttributeDefinitions/count/index.d.ts.map +1 -1
  111. package/directory/customSecurityAttributeDefinitions/count/index.js +7 -7
  112. package/directory/customSecurityAttributeDefinitions/index.d.ts +11 -9
  113. package/directory/customSecurityAttributeDefinitions/index.d.ts.map +1 -1
  114. package/directory/customSecurityAttributeDefinitions/index.js +9 -11
  115. package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.d.ts +7 -6
  116. package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.d.ts.map +1 -1
  117. package/directory/customSecurityAttributeDefinitions/item/allowedValues/count/index.js +7 -7
  118. package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts +11 -9
  119. package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.d.ts.map +1 -1
  120. package/directory/customSecurityAttributeDefinitions/item/allowedValues/index.js +9 -11
  121. package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts +12 -9
  122. package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.d.ts.map +1 -1
  123. package/directory/customSecurityAttributeDefinitions/item/allowedValues/item/index.js +11 -11
  124. package/directory/customSecurityAttributeDefinitions/item/index.d.ts +12 -9
  125. package/directory/customSecurityAttributeDefinitions/item/index.d.ts.map +1 -1
  126. package/directory/customSecurityAttributeDefinitions/item/index.js +11 -12
  127. package/directory/deletedItems/count/index.d.ts +7 -6
  128. package/directory/deletedItems/count/index.d.ts.map +1 -1
  129. package/directory/deletedItems/count/index.js +7 -7
  130. package/directory/deletedItems/getAvailableExtensionProperties/index.d.ts +11 -10
  131. package/directory/deletedItems/getAvailableExtensionProperties/index.d.ts.map +1 -1
  132. package/directory/deletedItems/getAvailableExtensionProperties/index.js +11 -11
  133. package/directory/deletedItems/getByIds/index.d.ts +11 -10
  134. package/directory/deletedItems/getByIds/index.d.ts.map +1 -1
  135. package/directory/deletedItems/getByIds/index.js +11 -11
  136. package/directory/deletedItems/graphAdministrativeUnit/count/index.d.ts +7 -6
  137. package/directory/deletedItems/graphAdministrativeUnit/count/index.d.ts.map +1 -1
  138. package/directory/deletedItems/graphAdministrativeUnit/count/index.js +7 -7
  139. package/directory/deletedItems/graphAdministrativeUnit/index.d.ts +7 -6
  140. package/directory/deletedItems/graphAdministrativeUnit/index.d.ts.map +1 -1
  141. package/directory/deletedItems/graphAdministrativeUnit/index.js +7 -8
  142. package/directory/deletedItems/graphApplication/count/index.d.ts +7 -6
  143. package/directory/deletedItems/graphApplication/count/index.d.ts.map +1 -1
  144. package/directory/deletedItems/graphApplication/count/index.js +7 -7
  145. package/directory/deletedItems/graphApplication/index.d.ts +7 -6
  146. package/directory/deletedItems/graphApplication/index.d.ts.map +1 -1
  147. package/directory/deletedItems/graphApplication/index.js +7 -8
  148. package/directory/deletedItems/graphDevice/count/index.d.ts +7 -6
  149. package/directory/deletedItems/graphDevice/count/index.d.ts.map +1 -1
  150. package/directory/deletedItems/graphDevice/count/index.js +7 -7
  151. package/directory/deletedItems/graphDevice/index.d.ts +7 -6
  152. package/directory/deletedItems/graphDevice/index.d.ts.map +1 -1
  153. package/directory/deletedItems/graphDevice/index.js +7 -8
  154. package/directory/deletedItems/graphGroup/count/index.d.ts +7 -6
  155. package/directory/deletedItems/graphGroup/count/index.d.ts.map +1 -1
  156. package/directory/deletedItems/graphGroup/count/index.js +7 -7
  157. package/directory/deletedItems/graphGroup/index.d.ts +7 -6
  158. package/directory/deletedItems/graphGroup/index.d.ts.map +1 -1
  159. package/directory/deletedItems/graphGroup/index.js +7 -8
  160. package/directory/deletedItems/graphServicePrincipal/count/index.d.ts +7 -6
  161. package/directory/deletedItems/graphServicePrincipal/count/index.d.ts.map +1 -1
  162. package/directory/deletedItems/graphServicePrincipal/count/index.js +7 -7
  163. package/directory/deletedItems/graphServicePrincipal/index.d.ts +7 -6
  164. package/directory/deletedItems/graphServicePrincipal/index.d.ts.map +1 -1
  165. package/directory/deletedItems/graphServicePrincipal/index.js +7 -8
  166. package/directory/deletedItems/graphUser/count/index.d.ts +7 -6
  167. package/directory/deletedItems/graphUser/count/index.d.ts.map +1 -1
  168. package/directory/deletedItems/graphUser/count/index.js +7 -7
  169. package/directory/deletedItems/graphUser/index.d.ts +7 -6
  170. package/directory/deletedItems/graphUser/index.d.ts.map +1 -1
  171. package/directory/deletedItems/graphUser/index.js +7 -8
  172. package/directory/deletedItems/index.d.ts +8 -7
  173. package/directory/deletedItems/index.d.ts.map +1 -1
  174. package/directory/deletedItems/index.js +7 -18
  175. package/directory/deletedItems/item/checkMemberGroups/index.d.ts +11 -10
  176. package/directory/deletedItems/item/checkMemberGroups/index.d.ts.map +1 -1
  177. package/directory/deletedItems/item/checkMemberGroups/index.js +11 -11
  178. package/directory/deletedItems/item/checkMemberObjects/index.d.ts +11 -10
  179. package/directory/deletedItems/item/checkMemberObjects/index.d.ts.map +1 -1
  180. package/directory/deletedItems/item/checkMemberObjects/index.js +11 -11
  181. package/directory/deletedItems/item/getMemberGroups/index.d.ts +11 -10
  182. package/directory/deletedItems/item/getMemberGroups/index.d.ts.map +1 -1
  183. package/directory/deletedItems/item/getMemberGroups/index.js +11 -11
  184. package/directory/deletedItems/item/getMemberObjects/index.d.ts +11 -10
  185. package/directory/deletedItems/item/getMemberObjects/index.d.ts.map +1 -1
  186. package/directory/deletedItems/item/getMemberObjects/index.js +11 -11
  187. package/directory/deletedItems/item/graphAdministrativeUnit/index.d.ts +7 -6
  188. package/directory/deletedItems/item/graphAdministrativeUnit/index.d.ts.map +1 -1
  189. package/directory/deletedItems/item/graphAdministrativeUnit/index.js +7 -7
  190. package/directory/deletedItems/item/graphApplication/index.d.ts +7 -6
  191. package/directory/deletedItems/item/graphApplication/index.d.ts.map +1 -1
  192. package/directory/deletedItems/item/graphApplication/index.js +7 -7
  193. package/directory/deletedItems/item/graphDevice/index.d.ts +7 -6
  194. package/directory/deletedItems/item/graphDevice/index.d.ts.map +1 -1
  195. package/directory/deletedItems/item/graphDevice/index.js +7 -7
  196. package/directory/deletedItems/item/graphGroup/index.d.ts +7 -6
  197. package/directory/deletedItems/item/graphGroup/index.d.ts.map +1 -1
  198. package/directory/deletedItems/item/graphGroup/index.js +7 -7
  199. package/directory/deletedItems/item/graphServicePrincipal/index.d.ts +7 -6
  200. package/directory/deletedItems/item/graphServicePrincipal/index.d.ts.map +1 -1
  201. package/directory/deletedItems/item/graphServicePrincipal/index.js +7 -7
  202. package/directory/deletedItems/item/graphUser/index.d.ts +7 -6
  203. package/directory/deletedItems/item/graphUser/index.d.ts.map +1 -1
  204. package/directory/deletedItems/item/graphUser/index.js +7 -7
  205. package/directory/deletedItems/item/index.d.ts +7 -6
  206. package/directory/deletedItems/item/index.d.ts.map +1 -1
  207. package/directory/deletedItems/item/index.js +7 -18
  208. package/directory/deletedItems/item/restore/index.d.ts +7 -6
  209. package/directory/deletedItems/item/restore/index.d.ts.map +1 -1
  210. package/directory/deletedItems/item/restore/index.js +7 -7
  211. package/directory/deletedItems/validateProperties/index.d.ts +8 -7
  212. package/directory/deletedItems/validateProperties/index.d.ts.map +1 -1
  213. package/directory/deletedItems/validateProperties/index.js +9 -9
  214. package/directory/deviceLocalCredentials/count/index.d.ts +7 -6
  215. package/directory/deviceLocalCredentials/count/index.d.ts.map +1 -1
  216. package/directory/deviceLocalCredentials/count/index.js +7 -7
  217. package/directory/deviceLocalCredentials/index.d.ts +11 -9
  218. package/directory/deviceLocalCredentials/index.d.ts.map +1 -1
  219. package/directory/deviceLocalCredentials/index.js +9 -11
  220. package/directory/deviceLocalCredentials/item/index.d.ts +12 -9
  221. package/directory/deviceLocalCredentials/item/index.d.ts.map +1 -1
  222. package/directory/deviceLocalCredentials/item/index.js +11 -11
  223. package/directory/federationConfigurations/availableProviderTypes/index.d.ts +9 -8
  224. package/directory/federationConfigurations/availableProviderTypes/index.d.ts.map +1 -1
  225. package/directory/federationConfigurations/availableProviderTypes/index.js +9 -9
  226. package/directory/federationConfigurations/count/index.d.ts +7 -6
  227. package/directory/federationConfigurations/count/index.d.ts.map +1 -1
  228. package/directory/federationConfigurations/count/index.js +7 -7
  229. package/directory/federationConfigurations/index.d.ts +11 -9
  230. package/directory/federationConfigurations/index.d.ts.map +1 -1
  231. package/directory/federationConfigurations/index.js +9 -12
  232. package/directory/federationConfigurations/item/index.d.ts +12 -9
  233. package/directory/federationConfigurations/item/index.d.ts.map +1 -1
  234. package/directory/federationConfigurations/item/index.js +11 -11
  235. package/directory/index.d.ts +10 -8
  236. package/directory/index.d.ts.map +1 -1
  237. package/directory/index.js +9 -16
  238. package/directory/onPremisesSynchronization/count/index.d.ts +7 -6
  239. package/directory/onPremisesSynchronization/count/index.d.ts.map +1 -1
  240. package/directory/onPremisesSynchronization/count/index.js +7 -7
  241. package/directory/onPremisesSynchronization/index.d.ts +11 -9
  242. package/directory/onPremisesSynchronization/index.d.ts.map +1 -1
  243. package/directory/onPremisesSynchronization/index.js +9 -11
  244. package/directory/onPremisesSynchronization/item/index.d.ts +12 -9
  245. package/directory/onPremisesSynchronization/item/index.d.ts.map +1 -1
  246. package/directory/onPremisesSynchronization/item/index.js +11 -11
  247. package/directoryServiceClient.d.ts.map +1 -1
  248. package/directoryServiceClient.js +1 -2
  249. package/package.json +3 -3
  250. package/tsconfig.tsbuildinfo +1 -1
@@ -13,13 +13,14 @@ export interface CustomSecurityAttributeDefinitionsRequestBuilder extends BaseRe
13
13
  /**
14
14
  * Provides operations to manage the customSecurityAttributeDefinitions property of the microsoft.graph.directory entity.
15
15
  * @param customSecurityAttributeDefinitionId The unique identifier of customSecurityAttributeDefinition
16
- * @returns a CustomSecurityAttributeDefinitionItemRequestBuilder
16
+ * @returns {CustomSecurityAttributeDefinitionItemRequestBuilder}
17
17
  */
18
18
  byCustomSecurityAttributeDefinitionId(customSecurityAttributeDefinitionId: string): CustomSecurityAttributeDefinitionItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the customSecurityAttributeDefinition objects and their properties.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of CustomSecurityAttributeDefinitionCollectionResponse
22
+ * @returns {Promise<CustomSecurityAttributeDefinitionCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/directory-list-customsecurityattributedefinitions?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters> | undefined): Promise<CustomSecurityAttributeDefinitionCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface CustomSecurityAttributeDefinitionsRequestBuilder extends BaseRe
27
28
  * Create a new customSecurityAttributeDefinition object.
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 CustomSecurityAttributeDefinition
31
+ * @returns {Promise<CustomSecurityAttributeDefinition>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/directory-post-customsecurityattributedefinitions?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: CustomSecurityAttributeDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CustomSecurityAttributeDefinition | undefined>;
34
36
  /**
35
37
  * Get a list of the customSecurityAttributeDefinition objects and their properties.
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<CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new customSecurityAttributeDefinition object.
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: CustomSecurityAttributeDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParamet
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions{?%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 CustomSecurityAttributeDefinitionsRequestBuilderNavigationM
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const CustomSecurityAttributeDefinitionsRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions{?%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,EAA8L,KAAK,iCAAiC,EAAE,KAAK,mDAAmD,EAAE,MAAM,gCAAgC,CAAC;AAE9U,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA8M,KAAK,mDAAmD,EAAE,MAAM,SAAS,CAAC;AAC/R,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,gDAAiD,SAAQ,kBAAkB,CAAC,gDAAgD,CAAC;IAC1I;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,qCAAqC,CAAC,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,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,MAAM,WAAW,kEAAkE;IAC/E;;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,2DAA2D,yIAAyI,CAAC;AAclN;;GAEG;AACH,eAAO,MAAM,kEAAkE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,gDAAgD,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS9M,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gEAAgE,EAAE,gBAuB9E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = exports.CustomSecurityAttributeDefinitionsRequestBuilderRequestsMetadata = exports.CustomSecurityAttributeDefinitionsRequestBuilderNavigationMetadata = void 0;
3
+ exports.CustomSecurityAttributeDefinitionsRequestBuilderRequestsMetadata = exports.CustomSecurityAttributeDefinitionsRequestBuilderNavigationMetadata = exports.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = 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.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions{?%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 CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParametersMapper =
26
30
  */
27
31
  exports.CustomSecurityAttributeDefinitionsRequestBuilderNavigationMetadata = {
28
32
  byCustomSecurityAttributeDefinitionId: {
29
- uriTemplate: item_1.CustomSecurityAttributeDefinitionItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.CustomSecurityAttributeDefinitionItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.CustomSecurityAttributeDefinitionItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["customSecurityAttributeDefinition%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.CustomSecurityAttributeDefinitionsRequestBuilderNavigationMetadata = {
41
43
  */
42
44
  exports.CustomSecurityAttributeDefinitionsRequestBuilderRequestsMetadata = {
43
45
  get: {
46
+ uriTemplate: exports.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate,
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.createCustomSecurityAttributeDefinitionCollectionResponseFromDiscriminatorValue,
51
53
  queryParametersMapper: CustomSecurityAttributeDefinitionsRequestBuilderGetQueryParametersMapper,
52
54
  },
53
55
  post: {
56
+ uriTemplate: exports.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate,
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.createCustomSecurityAttributeDefinitionFromDiscriminatorValue,
@@ -63,9 +65,5 @@ exports.CustomSecurityAttributeDefinitionsRequestBuilderRequestsMetadata = {
63
65
  requestInformationContentSetMethod: "setContentFromParsable",
64
66
  },
65
67
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.CustomSecurityAttributeDefinitionsRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
68
  /* tslint:enable */
71
69
  /* 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}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/$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,gJAAgJ,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,gJAAgJ,CAAC;AAQ5L;;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}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/$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}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -13,13 +13,14 @@ export interface AllowedValuesRequestBuilder extends BaseRequestBuilder<AllowedV
13
13
  /**
14
14
  * Provides operations to manage the allowedValues property of the microsoft.graph.customSecurityAttributeDefinition entity.
15
15
  * @param allowedValueId The unique identifier of allowedValue
16
- * @returns a AllowedValueItemRequestBuilder
16
+ * @returns {AllowedValueItemRequestBuilder}
17
17
  */
18
18
  byAllowedValueId(allowedValueId: string): AllowedValueItemRequestBuilder;
19
19
  /**
20
20
  * Get a list of the allowedValue objects and their properties.
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of AllowedValueCollectionResponse
22
+ * @returns {Promise<AllowedValueCollectionResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  * @see {@link https://learn.microsoft.com/graph/api/customsecurityattributedefinition-list-allowedvalues?view=graph-rest-1.0|Find more info here}
24
25
  */
25
26
  get(requestConfiguration?: RequestConfiguration<AllowedValuesRequestBuilderGetQueryParameters> | undefined): Promise<AllowedValueCollectionResponse | undefined>;
@@ -27,21 +28,22 @@ export interface AllowedValuesRequestBuilder extends BaseRequestBuilder<AllowedV
27
28
  * Create a new allowedValue object.
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 AllowedValue
31
+ * @returns {Promise<AllowedValue>}
32
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
31
33
  * @see {@link https://learn.microsoft.com/graph/api/customsecurityattributedefinition-post-allowedvalues?view=graph-rest-1.0|Find more info here}
32
34
  */
33
35
  post(body: AllowedValue, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AllowedValue | undefined>;
34
36
  /**
35
37
  * Get a list of the allowedValue objects and their properties.
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<AllowedValuesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
40
42
  /**
41
43
  * Create a new allowedValue object.
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: AllowedValue, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
47
49
  }
@@ -82,6 +84,10 @@ export interface AllowedValuesRequestBuilderGetQueryParameters {
82
84
  */
83
85
  top?: number;
84
86
  }
87
+ /**
88
+ * Uri template for the request builder.
89
+ */
90
+ export declare const AllowedValuesRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues{?%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 AllowedValuesRequestBuilderNavigationMetadata: Record<Exclu
90
96
  * Metadata for all the requests in the request builder.
91
97
  */
92
98
  export declare const AllowedValuesRequestBuilderRequestsMetadata: RequestsMetadata;
93
- /**
94
- * Uri template for the request builder.
95
- */
96
- export declare const AllowedValuesRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues{?%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,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAErO,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA6F,KAAK,8BAA8B,EAAE,MAAM,SAAS,CAAC;AACzJ,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAI,8BAA8B,CAAC;IAC3E;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,6CAA6C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACnK;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAA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,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,sCAAsC,gMAAgM,CAAC;AAcpP;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAQpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAuBzD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllowedValuesRequestBuilderUriTemplate = exports.AllowedValuesRequestBuilderRequestsMetadata = exports.AllowedValuesRequestBuilderNavigationMetadata = void 0;
3
+ exports.AllowedValuesRequestBuilderRequestsMetadata = exports.AllowedValuesRequestBuilderNavigationMetadata = exports.AllowedValuesRequestBuilderUriTemplate = 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.AllowedValuesRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues{?%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 AllowedValuesRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.AllowedValuesRequestBuilderNavigationMetadata = {
28
32
  byAllowedValueId: {
29
- uriTemplate: item_1.AllowedValueItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.AllowedValueItemRequestBuilderRequestsMetadata,
31
34
  pathParametersMappings: ["allowedValue%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.AllowedValuesRequestBuilderNavigationMetadata = {
40
42
  */
41
43
  exports.AllowedValuesRequestBuilderRequestsMetadata = {
42
44
  get: {
45
+ uriTemplate: exports.AllowedValuesRequestBuilderUriTemplate,
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.createAllowedValueCollectionResponseFromDiscriminatorValue,
50
52
  queryParametersMapper: AllowedValuesRequestBuilderGetQueryParametersMapper,
51
53
  },
52
54
  post: {
55
+ uriTemplate: exports.AllowedValuesRequestBuilderUriTemplate,
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.createAllowedValueFromDiscriminatorValue,
@@ -62,9 +64,5 @@ exports.AllowedValuesRequestBuilderRequestsMetadata = {
62
64
  requestInformationContentSetMethod: "setContentFromParsable",
63
65
  },
64
66
  };
65
- /**
66
- * Uri template for the request builder.
67
- */
68
- exports.AllowedValuesRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
69
67
  /* tslint:enable */
70
68
  /* eslint-enable */
@@ -7,12 +7,14 @@ export interface AllowedValueItemRequestBuilder extends BaseRequestBuilder<Allow
7
7
  /**
8
8
  * Delete navigation property allowedValues for directory
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
  */
11
12
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
12
13
  /**
13
14
  * Read the properties and relationships of an allowedValue object.
14
15
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of AllowedValue
16
+ * @returns {Promise<AllowedValue>}
17
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
18
  * @see {@link https://learn.microsoft.com/graph/api/allowedvalue-get?view=graph-rest-1.0|Find more info here}
17
19
  */
18
20
  get(requestConfiguration?: RequestConfiguration<AllowedValueItemRequestBuilderGetQueryParameters> | undefined): Promise<AllowedValue | undefined>;
@@ -20,27 +22,28 @@ export interface AllowedValueItemRequestBuilder extends BaseRequestBuilder<Allow
20
22
  * Update the properties of an allowedValue object.
21
23
  * @param body The request body
22
24
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
- * @returns a Promise of AllowedValue
25
+ * @returns {Promise<AllowedValue>}
26
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
24
27
  * @see {@link https://learn.microsoft.com/graph/api/allowedvalue-update?view=graph-rest-1.0|Find more info here}
25
28
  */
26
29
  patch(body: AllowedValue, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AllowedValue | undefined>;
27
30
  /**
28
31
  * Delete navigation property allowedValues for directory
29
32
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
30
- * @returns a RequestInformation
33
+ * @returns {RequestInformation}
31
34
  */
32
35
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
33
36
  /**
34
37
  * Read the properties and relationships of an allowedValue object.
35
38
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
36
- * @returns a RequestInformation
39
+ * @returns {RequestInformation}
37
40
  */
38
41
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllowedValueItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
39
42
  /**
40
43
  * Update the properties of an allowedValue object.
41
44
  * @param body The request body
42
45
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
43
- * @returns a RequestInformation
46
+ * @returns {RequestInformation}
44
47
  */
45
48
  toPatchRequestInformation(body: AllowedValue, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
46
49
  }
@@ -57,12 +60,12 @@ export interface AllowedValueItemRequestBuilderGetQueryParameters {
57
60
  */
58
61
  select?: string[];
59
62
  }
60
- /**
61
- * Metadata for all the requests in the request builder.
62
- */
63
- export declare const AllowedValueItemRequestBuilderRequestsMetadata: RequestsMetadata;
64
63
  /**
65
64
  * Uri template for the request builder.
66
65
  */
67
66
  export declare const AllowedValueItemRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/{allowedValue%2Did}{?%24expand,%24select}";
67
+ /**
68
+ * Metadata for all the requests in the request builder.
69
+ */
70
+ export declare const AllowedValueItemRequestBuilderRequestsMetadata: RequestsMetadata;
68
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmE,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEpI,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,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,CAAC;AAQpN;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBA+B5D,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AllowedValueItemRequestBuilderUriTemplate = exports.AllowedValueItemRequestBuilderRequestsMetadata = void 0;
3
+ exports.AllowedValueItemRequestBuilderRequestsMetadata = exports.AllowedValueItemRequestBuilderUriTemplate = 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.AllowedValueItemRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/{allowedValue%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 AllowedValueItemRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.AllowedValueItemRequestBuilderRequestsMetadata = {
20
24
  delete: {
25
+ uriTemplate: exports.AllowedValueItemRequestBuilderUriTemplate,
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.AllowedValueItemRequestBuilderUriTemplate,
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.createAllowedValueFromDiscriminatorValue,
36
40
  queryParametersMapper: AllowedValueItemRequestBuilderGetQueryParametersMapper,
37
41
  },
38
42
  patch: {
43
+ uriTemplate: exports.AllowedValueItemRequestBuilderUriTemplate,
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.createAllowedValueFromDiscriminatorValue,
@@ -48,9 +52,5 @@ exports.AllowedValueItemRequestBuilderRequestsMetadata = {
48
52
  requestInformationContentSetMethod: "setContentFromParsable",
49
53
  },
50
54
  };
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- exports.AllowedValueItemRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/{allowedValue%2Did}{?%24expand,%24select}";
55
55
  /* tslint:enable */
56
56
  /* eslint-enable */
@@ -12,12 +12,14 @@ export interface CustomSecurityAttributeDefinitionItemRequestBuilder extends Bas
12
12
  /**
13
13
  * Delete navigation property customSecurityAttributeDefinitions for directory
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
15
16
  */
16
17
  delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
17
18
  /**
18
19
  * Read the properties and relationships of a customSecurityAttributeDefinition object.
19
20
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
- * @returns a Promise of CustomSecurityAttributeDefinition
21
+ * @returns {Promise<CustomSecurityAttributeDefinition>}
22
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
23
  * @see {@link https://learn.microsoft.com/graph/api/customsecurityattributedefinition-get?view=graph-rest-1.0|Find more info here}
22
24
  */
23
25
  get(requestConfiguration?: RequestConfiguration<CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters> | undefined): Promise<CustomSecurityAttributeDefinition | undefined>;
@@ -25,27 +27,28 @@ export interface CustomSecurityAttributeDefinitionItemRequestBuilder extends Bas
25
27
  * Update the properties of a customSecurityAttributeDefinition object.
26
28
  * @param body The request body
27
29
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a Promise of CustomSecurityAttributeDefinition
30
+ * @returns {Promise<CustomSecurityAttributeDefinition>}
31
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
29
32
  * @see {@link https://learn.microsoft.com/graph/api/customsecurityattributedefinition-update?view=graph-rest-1.0|Find more info here}
30
33
  */
31
34
  patch(body: CustomSecurityAttributeDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CustomSecurityAttributeDefinition | undefined>;
32
35
  /**
33
36
  * Delete navigation property customSecurityAttributeDefinitions for directory
34
37
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
35
- * @returns a RequestInformation
38
+ * @returns {RequestInformation}
36
39
  */
37
40
  toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
38
41
  /**
39
42
  * Read the properties and relationships of a customSecurityAttributeDefinition object.
40
43
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
41
- * @returns a RequestInformation
44
+ * @returns {RequestInformation}
42
45
  */
43
46
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
44
47
  /**
45
48
  * Update the properties of a customSecurityAttributeDefinition object.
46
49
  * @param body The request body
47
50
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
48
- * @returns a RequestInformation
51
+ * @returns {RequestInformation}
49
52
  */
50
53
  toPatchRequestInformation(body: CustomSecurityAttributeDefinition, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
51
54
  }
@@ -62,6 +65,10 @@ export interface CustomSecurityAttributeDefinitionItemRequestBuilderGetQueryPara
62
65
  */
63
66
  select?: string[];
64
67
  }
68
+ /**
69
+ * Uri template for the request builder.
70
+ */
71
+ export declare const CustomSecurityAttributeDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}{?%24expand,%24select}";
65
72
  /**
66
73
  * Metadata for all the navigation properties in the request builder.
67
74
  */
@@ -70,8 +77,4 @@ export declare const CustomSecurityAttributeDefinitionItemRequestBuilderNavigati
70
77
  * Metadata for all the requests in the request builder.
71
78
  */
72
79
  export declare const CustomSecurityAttributeDefinitionItemRequestBuilderRequestsMetadata: RequestsMetadata;
73
- /**
74
- * Uri template for the request builder.
75
- */
76
- export declare const CustomSecurityAttributeDefinitionItemRequestBuilderUriTemplate = "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}{?%24expand,%24select}";
77
80
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6G,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEnM,OAAO,EAAsI,KAAK,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AACxM,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,mDAAoD,SAAQ,kBAAkB,CAAC,mDAAmD,CAAC;IAChJ;;OAEG;IACH,IAAI,aAAa,IAAI,2BAA2B,CAAC;IACjD;;;OAGG;IACF,MAAM,CA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