@microsoft/msgraph-sdk-contacts 1.0.0-preview.13 → 1.0.0-preview.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/contacts/count/index.d.ts +7 -6
  2. package/contacts/count/index.d.ts.map +1 -1
  3. package/contacts/count/index.js +7 -7
  4. package/contacts/delta/index.d.ts +9 -8
  5. package/contacts/delta/index.d.ts.map +1 -1
  6. package/contacts/delta/index.js +9 -9
  7. package/contacts/getAvailableExtensionProperties/index.d.ts +11 -10
  8. package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -1
  9. package/contacts/getAvailableExtensionProperties/index.js +11 -11
  10. package/contacts/getByIds/index.d.ts +11 -10
  11. package/contacts/getByIds/index.d.ts.map +1 -1
  12. package/contacts/getByIds/index.js +11 -11
  13. package/contacts/index.d.ts +11 -9
  14. package/contacts/index.d.ts.map +1 -1
  15. package/contacts/index.js +9 -15
  16. package/contacts/item/checkMemberGroups/index.d.ts +11 -10
  17. package/contacts/item/checkMemberGroups/index.d.ts.map +1 -1
  18. package/contacts/item/checkMemberGroups/index.js +11 -11
  19. package/contacts/item/checkMemberObjects/index.d.ts +11 -10
  20. package/contacts/item/checkMemberObjects/index.d.ts.map +1 -1
  21. package/contacts/item/checkMemberObjects/index.js +11 -11
  22. package/contacts/item/directReports/count/index.d.ts +7 -6
  23. package/contacts/item/directReports/count/index.d.ts.map +1 -1
  24. package/contacts/item/directReports/count/index.js +7 -7
  25. package/contacts/item/directReports/graphOrgContact/count/index.d.ts +7 -6
  26. package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -1
  27. package/contacts/item/directReports/graphOrgContact/count/index.js +7 -7
  28. package/contacts/item/directReports/graphOrgContact/index.d.ts +7 -6
  29. package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -1
  30. package/contacts/item/directReports/graphOrgContact/index.js +7 -8
  31. package/contacts/item/directReports/graphUser/count/index.d.ts +7 -6
  32. package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -1
  33. package/contacts/item/directReports/graphUser/count/index.js +7 -7
  34. package/contacts/item/directReports/graphUser/index.d.ts +7 -6
  35. package/contacts/item/directReports/graphUser/index.d.ts.map +1 -1
  36. package/contacts/item/directReports/graphUser/index.js +7 -8
  37. package/contacts/item/directReports/index.d.ts +8 -7
  38. package/contacts/item/directReports/index.d.ts.map +1 -1
  39. package/contacts/item/directReports/index.js +7 -11
  40. package/contacts/item/directReports/item/graphOrgContact/index.d.ts +7 -6
  41. package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -1
  42. package/contacts/item/directReports/item/graphOrgContact/index.js +7 -7
  43. package/contacts/item/directReports/item/graphUser/index.d.ts +7 -6
  44. package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -1
  45. package/contacts/item/directReports/item/graphUser/index.js +7 -7
  46. package/contacts/item/directReports/item/index.d.ts +7 -6
  47. package/contacts/item/directReports/item/index.d.ts.map +1 -1
  48. package/contacts/item/directReports/item/index.js +7 -9
  49. package/contacts/item/getMemberGroups/index.d.ts +11 -10
  50. package/contacts/item/getMemberGroups/index.d.ts.map +1 -1
  51. package/contacts/item/getMemberGroups/index.js +11 -11
  52. package/contacts/item/getMemberObjects/index.d.ts +11 -10
  53. package/contacts/item/getMemberObjects/index.d.ts.map +1 -1
  54. package/contacts/item/getMemberObjects/index.js +11 -11
  55. package/contacts/item/index.d.ts +12 -9
  56. package/contacts/item/index.d.ts.map +1 -1
  57. package/contacts/item/index.js +11 -22
  58. package/contacts/item/manager/index.d.ts +7 -6
  59. package/contacts/item/manager/index.d.ts.map +1 -1
  60. package/contacts/item/manager/index.js +7 -7
  61. package/contacts/item/memberOf/count/index.d.ts +7 -6
  62. package/contacts/item/memberOf/count/index.d.ts.map +1 -1
  63. package/contacts/item/memberOf/count/index.js +7 -7
  64. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +7 -6
  65. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -1
  66. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +7 -7
  67. package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +7 -6
  68. package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
  69. package/contacts/item/memberOf/graphAdministrativeUnit/index.js +7 -8
  70. package/contacts/item/memberOf/graphGroup/count/index.d.ts +7 -6
  71. package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -1
  72. package/contacts/item/memberOf/graphGroup/count/index.js +7 -7
  73. package/contacts/item/memberOf/graphGroup/index.d.ts +7 -6
  74. package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -1
  75. package/contacts/item/memberOf/graphGroup/index.js +7 -8
  76. package/contacts/item/memberOf/index.d.ts +8 -7
  77. package/contacts/item/memberOf/index.d.ts.map +1 -1
  78. package/contacts/item/memberOf/index.js +7 -11
  79. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +7 -6
  80. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
  81. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +7 -7
  82. package/contacts/item/memberOf/item/graphGroup/index.d.ts +7 -6
  83. package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -1
  84. package/contacts/item/memberOf/item/graphGroup/index.js +7 -7
  85. package/contacts/item/memberOf/item/index.d.ts +7 -6
  86. package/contacts/item/memberOf/item/index.d.ts.map +1 -1
  87. package/contacts/item/memberOf/item/index.js +7 -9
  88. package/contacts/item/restore/index.d.ts +7 -6
  89. package/contacts/item/restore/index.d.ts.map +1 -1
  90. package/contacts/item/restore/index.js +7 -7
  91. package/contacts/item/retryServiceProvisioning/index.d.ts +6 -5
  92. package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -1
  93. package/contacts/item/retryServiceProvisioning/index.js +7 -7
  94. package/contacts/item/serviceProvisioningErrors/count/index.d.ts +7 -6
  95. package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -1
  96. package/contacts/item/serviceProvisioningErrors/count/index.js +7 -7
  97. package/contacts/item/serviceProvisioningErrors/index.d.ts +7 -6
  98. package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -1
  99. package/contacts/item/serviceProvisioningErrors/index.js +7 -8
  100. package/contacts/item/transitiveMemberOf/count/index.d.ts +7 -6
  101. package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -1
  102. package/contacts/item/transitiveMemberOf/count/index.js +7 -7
  103. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +7 -6
  104. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -1
  105. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +7 -7
  106. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +7 -6
  107. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
  108. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +7 -8
  109. package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +7 -6
  110. package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -1
  111. package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +7 -7
  112. package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +7 -6
  113. package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -1
  114. package/contacts/item/transitiveMemberOf/graphGroup/index.js +7 -8
  115. package/contacts/item/transitiveMemberOf/index.d.ts +8 -7
  116. package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -1
  117. package/contacts/item/transitiveMemberOf/index.js +7 -11
  118. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +7 -6
  119. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
  120. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +7 -7
  121. package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +7 -6
  122. package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -1
  123. package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +7 -7
  124. package/contacts/item/transitiveMemberOf/item/index.d.ts +7 -6
  125. package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -1
  126. package/contacts/item/transitiveMemberOf/item/index.js +7 -9
  127. package/contacts/validateProperties/index.d.ts +8 -7
  128. package/contacts/validateProperties/index.d.ts.map +1 -1
  129. package/contacts/validateProperties/index.js +9 -9
  130. package/contactsServiceClient.d.ts.map +1 -1
  131. package/contactsServiceClient.js +1 -2
  132. package/package.json +3 -3
  133. package/tsconfig.tsbuildinfo +1 -1
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphOrgContactRequestBuilderUriTemplate = exports.GraphOrgContactRequestBuilderRequestsMetadata = exports.GraphOrgContactRequestBuilderNavigationMetadata = void 0;
3
+ exports.GraphOrgContactRequestBuilderRequestsMetadata = exports.GraphOrgContactRequestBuilderNavigationMetadata = exports.GraphOrgContactRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.orgContact{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -25,7 +29,6 @@ const GraphOrgContactRequestBuilderGetQueryParametersMapper = {
25
29
  */
26
30
  exports.GraphOrgContactRequestBuilderNavigationMetadata = {
27
31
  count: {
28
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
29
32
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
30
33
  },
31
34
  };
@@ -34,19 +37,15 @@ exports.GraphOrgContactRequestBuilderNavigationMetadata = {
34
37
  */
35
38
  exports.GraphOrgContactRequestBuilderRequestsMetadata = {
36
39
  get: {
40
+ uriTemplate: exports.GraphOrgContactRequestBuilderUriTemplate,
37
41
  responseBodyContentType: "application/json",
38
42
  errorMappings: {
39
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
44
  },
42
45
  adapterMethodName: "sendAsync",
43
46
  responseBodyFactory: models_1.createOrgContactCollectionResponseFromDiscriminatorValue,
44
47
  queryParametersMapper: GraphOrgContactRequestBuilderGetQueryParametersMapper,
45
48
  },
46
49
  };
47
- /**
48
- * Uri template for the request builder.
49
- */
50
- exports.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.orgContact{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
51
50
  /* tslint:enable */
52
51
  /* 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}/contacts/{orgContact%2Did}/directReports/graph.user/$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,gGAAgG,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,gGAAgG,CAAC;AAQ5I;;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}/contacts/{orgContact%2Did}/directReports/graph.user/$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}/contacts/{orgContact%2Did}/directReports/graph.user/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -12,13 +12,14 @@ export interface GraphUserRequestBuilder extends BaseRequestBuilder<GraphUserReq
12
12
  /**
13
13
  * Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of UserCollectionResponse
15
+ * @returns {Promise<UserCollectionResponse>}
16
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
17
  */
17
18
  get(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
18
19
  /**
19
20
  * Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection
20
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
21
- * @returns a RequestInformation
22
+ * @returns {RequestInformation}
22
23
  */
23
24
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
25
  }
@@ -59,6 +60,10 @@ export interface GraphUserRequestBuilderGetQueryParameters {
59
60
  */
60
61
  top?: number;
61
62
  }
63
+ /**
64
+ * Uri template for the request builder.
65
+ */
66
+ export declare const GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
62
67
  /**
63
68
  * Metadata for all the navigation properties in the request builder.
64
69
  */
@@ -67,8 +72,4 @@ export declare const GraphUserRequestBuilderNavigationMetadata: Record<Exclude<k
67
72
  * Metadata for all the requests in the request builder.
68
73
  */
69
74
  export declare const GraphUserRequestBuilderRequestsMetadata: RequestsMetadata;
70
- /**
71
- * Uri template for the request builder.
72
- */
73
- export declare const GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
74
75
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;OA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;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACvJ;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,kCAAkC,gJAAgJ,CAAC;AAchM;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphUserRequestBuilderUriTemplate = exports.GraphUserRequestBuilderRequestsMetadata = exports.GraphUserRequestBuilderNavigationMetadata = void 0;
3
+ exports.GraphUserRequestBuilderRequestsMetadata = exports.GraphUserRequestBuilderNavigationMetadata = exports.GraphUserRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -25,7 +29,6 @@ const GraphUserRequestBuilderGetQueryParametersMapper = {
25
29
  */
26
30
  exports.GraphUserRequestBuilderNavigationMetadata = {
27
31
  count: {
28
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
29
32
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
30
33
  },
31
34
  };
@@ -34,19 +37,15 @@ exports.GraphUserRequestBuilderNavigationMetadata = {
34
37
  */
35
38
  exports.GraphUserRequestBuilderRequestsMetadata = {
36
39
  get: {
40
+ uriTemplate: exports.GraphUserRequestBuilderUriTemplate,
37
41
  responseBodyContentType: "application/json",
38
42
  errorMappings: {
39
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
44
  },
42
45
  adapterMethodName: "sendAsync",
43
46
  responseBodyFactory: models_1.createUserCollectionResponseFromDiscriminatorValue,
44
47
  queryParametersMapper: GraphUserRequestBuilderGetQueryParametersMapper,
45
48
  },
46
49
  };
47
- /**
48
- * Uri template for the request builder.
49
- */
50
- exports.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/graph.user{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
51
50
  /* tslint:enable */
52
51
  /* eslint-enable */
@@ -23,20 +23,21 @@ export interface DirectReportsRequestBuilder extends BaseRequestBuilder<DirectRe
23
23
  /**
24
24
  * Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.
25
25
  * @param directoryObjectId The unique identifier of directoryObject
26
- * @returns a DirectoryObjectItemRequestBuilder
26
+ * @returns {DirectoryObjectItemRequestBuilder}
27
27
  */
28
28
  byDirectoryObjectId(directoryObjectId: string): DirectoryObjectItemRequestBuilder;
29
29
  /**
30
30
  * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
31
31
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
32
- * @returns a Promise of DirectoryObjectCollectionResponse
32
+ * @returns {Promise<DirectoryObjectCollectionResponse>}
33
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
33
34
  * @see {@link https://learn.microsoft.com/graph/api/orgcontact-list-directreports?view=graph-rest-1.0|Find more info here}
34
35
  */
35
36
  get(requestConfiguration?: RequestConfiguration<DirectReportsRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObjectCollectionResponse | undefined>;
36
37
  /**
37
38
  * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
38
39
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
39
- * @returns a RequestInformation
40
+ * @returns {RequestInformation}
40
41
  */
41
42
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectReportsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
42
43
  }
@@ -77,6 +78,10 @@ export interface DirectReportsRequestBuilderGetQueryParameters {
77
78
  */
78
79
  top?: number;
79
80
  }
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ export declare const DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
80
85
  /**
81
86
  * Metadata for all the navigation properties in the request builder.
82
87
  */
@@ -85,8 +90,4 @@ export declare const DirectReportsRequestBuilderNavigationMetadata: Record<Exclu
85
90
  * Metadata for all the requests in the request builder.
86
91
  */
87
92
  export declare const DirectReportsRequestBuilderRequestsMetadata: RequestsMetadata;
88
- /**
89
- * Uri template for the request builder.
90
- */
91
- export declare const DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
92
93
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiE,KAAK,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEvJ,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA4I,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAClN,OAAO,EAA0H,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACpL,OAAO,EAAwJ,KAAK,iCAAiC,EAAE,MAAM,SAAS,CAAC;AACvN,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;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;OAIG;IACF,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,GAAI,iCAAiC,CAAC;IACpF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBA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O,MAAM,sCAAsC,qIAAqI,CAAC;AAczL;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAiBpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectReportsRequestBuilderUriTemplate = exports.DirectReportsRequestBuilderRequestsMetadata = exports.DirectReportsRequestBuilderNavigationMetadata = void 0;
3
+ exports.DirectReportsRequestBuilderRequestsMetadata = exports.DirectReportsRequestBuilderNavigationMetadata = exports.DirectReportsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -10,6 +10,10 @@ const count_1 = require("./count/");
10
10
  const graphOrgContact_1 = require("./graphOrgContact/");
11
11
  const graphUser_1 = require("./graphUser/");
12
12
  const item_1 = require("./item/");
13
+ /**
14
+ * Uri template for the request builder.
15
+ */
16
+ exports.DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
13
17
  /**
14
18
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
15
19
  */
@@ -28,22 +32,18 @@ const DirectReportsRequestBuilderGetQueryParametersMapper = {
28
32
  */
29
33
  exports.DirectReportsRequestBuilderNavigationMetadata = {
30
34
  byDirectoryObjectId: {
31
- uriTemplate: item_1.DirectoryObjectItemRequestBuilderUriTemplate,
32
35
  requestsMetadata: item_1.DirectoryObjectItemRequestBuilderRequestsMetadata,
33
36
  navigationMetadata: item_1.DirectoryObjectItemRequestBuilderNavigationMetadata,
34
37
  pathParametersMappings: ["directoryObject%2Did"],
35
38
  },
36
39
  count: {
37
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
38
40
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
39
41
  },
40
42
  graphOrgContact: {
41
- uriTemplate: graphOrgContact_1.GraphOrgContactRequestBuilderUriTemplate,
42
43
  requestsMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderRequestsMetadata,
43
44
  navigationMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderNavigationMetadata,
44
45
  },
45
46
  graphUser: {
46
- uriTemplate: graphUser_1.GraphUserRequestBuilderUriTemplate,
47
47
  requestsMetadata: graphUser_1.GraphUserRequestBuilderRequestsMetadata,
48
48
  navigationMetadata: graphUser_1.GraphUserRequestBuilderNavigationMetadata,
49
49
  },
@@ -53,19 +53,15 @@ exports.DirectReportsRequestBuilderNavigationMetadata = {
53
53
  */
54
54
  exports.DirectReportsRequestBuilderRequestsMetadata = {
55
55
  get: {
56
+ uriTemplate: exports.DirectReportsRequestBuilderUriTemplate,
56
57
  responseBodyContentType: "application/json",
57
58
  errorMappings: {
58
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
60
  },
61
61
  adapterMethodName: "sendAsync",
62
62
  responseBodyFactory: models_1.createDirectoryObjectCollectionResponseFromDiscriminatorValue,
63
63
  queryParametersMapper: DirectReportsRequestBuilderGetQueryParametersMapper,
64
64
  },
65
65
  };
66
- /**
67
- * Uri template for the request builder.
68
- */
69
- exports.DirectReportsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
70
66
  /* tslint:enable */
71
67
  /* eslint-enable */
@@ -7,13 +7,14 @@ export interface GraphOrgContactRequestBuilder extends BaseRequestBuilder<GraphO
7
7
  /**
8
8
  * Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of OrgContact
10
+ * @returns {Promise<OrgContact>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): Promise<OrgContact | undefined>;
13
14
  /**
14
15
  * Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphOrgContactRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
20
  }
@@ -30,12 +31,12 @@ export interface GraphOrgContactRequestBuilderGetQueryParameters {
30
31
  */
31
32
  select?: string[];
32
33
  }
33
- /**
34
- * Metadata for all the requests in the request builder.
35
- */
36
- export declare const GraphOrgContactRequestBuilderRequestsMetadata: RequestsMetadata;
37
34
  /**
38
35
  * Uri template for the request builder.
39
36
  */
40
37
  export declare const GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.orgContact{?%24expand,%24select}";
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ export declare const GraphOrgContactRequestBuilderRequestsMetadata: RequestsMetadata;
41
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0C,KAAK,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEzG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;OAIG;IACF,GAAG,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CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,wCAAwC,sHAAsH,CAAC;AAQ5K;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAW3D,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphOrgContactRequestBuilderUriTemplate = exports.GraphOrgContactRequestBuilderRequestsMetadata = void 0;
3
+ exports.GraphOrgContactRequestBuilderRequestsMetadata = exports.GraphOrgContactRequestBuilderUriTemplate = 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.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.orgContact{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,19 +22,15 @@ const GraphOrgContactRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.GraphOrgContactRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.GraphOrgContactRequestBuilderUriTemplate,
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.createOrgContactFromDiscriminatorValue,
28
32
  queryParametersMapper: GraphOrgContactRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  };
31
- /**
32
- * Uri template for the request builder.
33
- */
34
- exports.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.orgContact{?%24expand,%24select}";
35
35
  /* tslint:enable */
36
36
  /* eslint-enable */
@@ -7,13 +7,14 @@ export interface GraphUserRequestBuilder extends BaseRequestBuilder<GraphUserReq
7
7
  /**
8
8
  * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of User
10
+ * @returns {Promise<User>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  */
12
13
  get(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
13
14
  /**
14
15
  * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
15
16
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
- * @returns a RequestInformation
17
+ * @returns {RequestInformation}
17
18
  */
18
19
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
20
  }
@@ -30,12 +31,12 @@ export interface GraphUserRequestBuilderGetQueryParameters {
30
31
  */
31
32
  select?: string[];
32
33
  }
33
- /**
34
- * Metadata for all the requests in the request builder.
35
- */
36
- export declare const GraphUserRequestBuilderRequestsMetadata: RequestsMetadata;
37
34
  /**
38
35
  * Uri template for the request builder.
39
36
  */
40
37
  export declare const GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.user{?%24expand,%24select}";
38
+ /**
39
+ * Metadata for all the requests in the request builder.
40
+ */
41
+ export declare const GraphUserRequestBuilderRequestsMetadata: RequestsMetadata;
41
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OA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,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrJ;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,gHAAgH,CAAC;AAQhK;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC"}
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphUserRequestBuilderUriTemplate = exports.GraphUserRequestBuilderRequestsMetadata = void 0;
3
+ exports.GraphUserRequestBuilderRequestsMetadata = exports.GraphUserRequestBuilderUriTemplate = 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.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.user{?%24expand,%24select}";
9
13
  /**
10
14
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
15
  */
@@ -18,19 +22,15 @@ const GraphUserRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.GraphUserRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.GraphUserRequestBuilderUriTemplate,
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.createUserFromDiscriminatorValue,
28
32
  queryParametersMapper: GraphUserRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  };
31
- /**
32
- * Uri template for the request builder.
33
- */
34
- exports.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.user{?%24expand,%24select}";
35
35
  /* tslint:enable */
36
36
  /* eslint-enable */
@@ -17,13 +17,14 @@ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<Di
17
17
  /**
18
18
  * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
19
19
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
- * @returns a Promise of DirectoryObject
20
+ * @returns {Promise<DirectoryObject>}
21
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
21
22
  */
22
23
  get(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
23
24
  /**
24
25
  * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
25
26
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
- * @returns a RequestInformation
27
+ * @returns {RequestInformation}
27
28
  */
28
29
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
29
30
  }
@@ -40,6 +41,10 @@ export interface DirectoryObjectItemRequestBuilderGetQueryParameters {
40
41
  */
41
42
  select?: string[];
42
43
  }
44
+ /**
45
+ * Uri template for the request builder.
46
+ */
47
+ export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}{?%24expand,%24select}";
43
48
  /**
44
49
  * Metadata for all the navigation properties in the request builder.
45
50
  */
@@ -48,8 +53,4 @@ export declare const DirectoryObjectItemRequestBuilderNavigationMetadata: Record
48
53
  * Metadata for all the requests in the request builder.
49
54
  */
50
55
  export declare const DirectoryObjectItemRequestBuilderRequestsMetadata: RequestsMetadata;
51
- /**
52
- * Uri template for the request builder.
53
- */
54
- export declare const DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}{?%24expand,%24select}";
55
56
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+C,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEnH,OAAO,EAA2F,KAAK,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjK,OAAO,EAA+E,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACzI,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,iCAAkC,SAAQ,kBAAkB,CAAC,iCAAiC,CAAC;IAC5G;;OAEG;IACH,IAAI,eAAe,IAAI,6BAA6B,CAAC;IACrD;;OAEG;IACH,IAAI,SAAS,IAAI,uBAAuB,CAAC;IACzC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC1J;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mDAAmD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC/J;AACD;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,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M,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,qGAAqG,CAAC;AAQ/J;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iCAAiC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOhL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAW/D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DirectoryObjectItemRequestBuilderUriTemplate = exports.DirectoryObjectItemRequestBuilderRequestsMetadata = exports.DirectoryObjectItemRequestBuilderNavigationMetadata = void 0;
3
+ exports.DirectoryObjectItemRequestBuilderRequestsMetadata = exports.DirectoryObjectItemRequestBuilderNavigationMetadata = exports.DirectoryObjectItemRequestBuilderUriTemplate = 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 graphOrgContact_1 = require("./graphOrgContact/");
10
10
  const graphUser_1 = require("./graphUser/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}{?%24expand,%24select}";
11
15
  /**
12
16
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
17
  */
@@ -20,11 +24,9 @@ const DirectoryObjectItemRequestBuilderGetQueryParametersMapper = {
20
24
  */
21
25
  exports.DirectoryObjectItemRequestBuilderNavigationMetadata = {
22
26
  graphOrgContact: {
23
- uriTemplate: graphOrgContact_1.GraphOrgContactRequestBuilderUriTemplate,
24
27
  requestsMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderRequestsMetadata,
25
28
  },
26
29
  graphUser: {
27
- uriTemplate: graphUser_1.GraphUserRequestBuilderUriTemplate,
28
30
  requestsMetadata: graphUser_1.GraphUserRequestBuilderRequestsMetadata,
29
31
  },
30
32
  };
@@ -33,19 +35,15 @@ exports.DirectoryObjectItemRequestBuilderNavigationMetadata = {
33
35
  */
34
36
  exports.DirectoryObjectItemRequestBuilderRequestsMetadata = {
35
37
  get: {
38
+ uriTemplate: exports.DirectoryObjectItemRequestBuilderUriTemplate,
36
39
  responseBodyContentType: "application/json",
37
40
  errorMappings: {
38
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
39
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
42
  },
41
43
  adapterMethodName: "sendAsync",
42
44
  responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
43
45
  queryParametersMapper: DirectoryObjectItemRequestBuilderGetQueryParametersMapper,
44
46
  },
45
47
  };
46
- /**
47
- * Uri template for the request builder.
48
- */
49
- exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}{?%24expand,%24select}";
50
48
  /* tslint:enable */
51
49
  /* eslint-enable */