@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,11 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GraphGroupRequestBuilderUriTemplate = exports.GraphGroupRequestBuilderRequestsMetadata = void 0;
3
+ exports.GraphGroupRequestBuilderRequestsMetadata = exports.GraphGroupRequestBuilderUriTemplate = 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.GraphGroupRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/{directoryObject%2Did}/graph.group{?%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 GraphGroupRequestBuilderGetQueryParametersMapper = {
18
22
  */
19
23
  exports.GraphGroupRequestBuilderRequestsMetadata = {
20
24
  get: {
25
+ uriTemplate: exports.GraphGroupRequestBuilderUriTemplate,
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.createGroupFromDiscriminatorValue,
28
32
  queryParametersMapper: GraphGroupRequestBuilderGetQueryParametersMapper,
29
33
  },
30
34
  };
31
- /**
32
- * Uri template for the request builder.
33
- */
34
- exports.GraphGroupRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/{directoryObject%2Did}/graph.group{?%24expand,%24select}";
35
35
  /* tslint:enable */
36
36
  /* eslint-enable */
@@ -17,13 +17,14 @@ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<Di
17
17
  /**
18
18
  * Groups that this contact is a member of. 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
  * Groups that this contact is a member of. 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}/memberOf/{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}/memberOf/{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,EAA2G,KAAK,qCAAqC,EAAE,MAAM,4BAA4B,CAAC;AACjM,OAAO,EAAiF,KAAK,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAC7I,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,uBAAuB,IAAI,qCAAqC,CAAC;IACrE;;OAEG;IACH,IAAI,UAAU,IAAI,wBAAwB,CAAC;IAC3C;;;;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,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;;GAEG;AACH,MAAM,WAAW,mDAAmD;IAChE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,4CAA4C,gGAAgG,CAAC;AAQ1J;;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 graphAdministrativeUnit_1 = require("./graphAdministrativeUnit/");
10
10
  const graphGroup_1 = require("./graphGroup/");
11
+ /**
12
+ * Uri template for the request builder.
13
+ */
14
+ exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/memberOf/{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
  graphAdministrativeUnit: {
23
- uriTemplate: graphAdministrativeUnit_1.GraphAdministrativeUnitRequestBuilderUriTemplate,
24
27
  requestsMetadata: graphAdministrativeUnit_1.GraphAdministrativeUnitRequestBuilderRequestsMetadata,
25
28
  },
26
29
  graphGroup: {
27
- uriTemplate: graphGroup_1.GraphGroupRequestBuilderUriTemplate,
28
30
  requestsMetadata: graphGroup_1.GraphGroupRequestBuilderRequestsMetadata,
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}/memberOf/{directoryObject%2Did}{?%24expand,%24select}";
50
48
  /* tslint:enable */
51
49
  /* eslint-enable */
@@ -7,23 +7,24 @@ export interface RestoreRequestBuilder extends BaseRequestBuilder<RestoreRequest
7
7
  /**
8
8
  * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
9
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
- * @returns a Promise of DirectoryObject
10
+ * @returns {Promise<DirectoryObject>}
11
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
11
12
  * @see {@link https://learn.microsoft.com/graph/api/directory-deleteditems-restore?view=graph-rest-1.0|Find more info here}
12
13
  */
13
14
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DirectoryObject | undefined>;
14
15
  /**
15
16
  * Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. However, security groups cannot be restored. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
16
17
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
17
- * @returns a RequestInformation
18
+ * @returns {RequestInformation}
18
19
  */
19
20
  toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
20
21
  }
21
- /**
22
- * Metadata for all the requests in the request builder.
23
- */
24
- export declare const RestoreRequestBuilderRequestsMetadata: RequestsMetadata;
25
22
  /**
26
23
  * Uri template for the request builder.
27
24
  */
28
25
  export declare const RestoreRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/restore";
26
+ /**
27
+ * Metadata for all the requests in the request builder.
28
+ */
29
+ export declare const RestoreRequestBuilderRequestsMetadata: RequestsMetadata;
29
30
  //# 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,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,gCAAgC,kDAAkD,CAAC"}
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,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IACpF;;;;;;OAMG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IAC9G;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,kDAAkD,CAAC;AAChG;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAUnD,CAAC"}
@@ -1,28 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RestoreRequestBuilderUriTemplate = exports.RestoreRequestBuilderRequestsMetadata = void 0;
3
+ exports.RestoreRequestBuilderRequestsMetadata = exports.RestoreRequestBuilderUriTemplate = 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.RestoreRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/restore";
9
13
  /**
10
14
  * Metadata for all the requests in the request builder.
11
15
  */
12
16
  exports.RestoreRequestBuilderRequestsMetadata = {
13
17
  post: {
18
+ uriTemplate: exports.RestoreRequestBuilderUriTemplate,
14
19
  responseBodyContentType: "application/json",
15
20
  errorMappings: {
16
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
21
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
18
22
  },
19
23
  adapterMethodName: "sendAsync",
20
24
  responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
21
25
  },
22
26
  };
23
- /**
24
- * Uri template for the request builder.
25
- */
26
- exports.RestoreRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/restore";
27
27
  /* tslint:enable */
28
28
  /* eslint-enable */
@@ -6,21 +6,22 @@ export interface RetryServiceProvisioningRequestBuilder extends BaseRequestBuild
6
6
  /**
7
7
  * Invoke action retryServiceProvisioning
8
8
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
9
10
  */
10
11
  post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
11
12
  /**
12
13
  * Invoke action retryServiceProvisioning
13
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
14
- * @returns a RequestInformation
15
+ * @returns {RequestInformation}
15
16
  */
16
17
  toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
17
18
  }
18
- /**
19
- * Metadata for all the requests in the request builder.
20
- */
21
- export declare const RetryServiceProvisioningRequestBuilderRequestsMetadata: RequestsMetadata;
22
19
  /**
23
20
  * Uri template for the request builder.
24
21
  */
25
22
  export declare const RetryServiceProvisioningRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning";
23
+ /**
24
+ * Metadata for all the requests in the request builder.
25
+ */
26
+ export declare const RetryServiceProvisioningRequestBuilderRequestsMetadata: RequestsMetadata;
26
27
  //# 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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;OAGG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBASpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,mEAAmE,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,sCAAuC,SAAQ,kBAAkB,CAAC,sCAAsC,CAAC;IACtH;;;;OAIG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,iDAAiD,mEAAmE,CAAC;AAClI;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBASpE,CAAC"}
@@ -1,26 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RetryServiceProvisioningRequestBuilderUriTemplate = exports.RetryServiceProvisioningRequestBuilderRequestsMetadata = void 0;
3
+ exports.RetryServiceProvisioningRequestBuilderRequestsMetadata = exports.RetryServiceProvisioningRequestBuilderUriTemplate = 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.RetryServiceProvisioningRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning";
8
12
  /**
9
13
  * Metadata for all the requests in the request builder.
10
14
  */
11
15
  exports.RetryServiceProvisioningRequestBuilderRequestsMetadata = {
12
16
  post: {
17
+ uriTemplate: exports.RetryServiceProvisioningRequestBuilderUriTemplate,
13
18
  responseBodyContentType: "application/json",
14
19
  errorMappings: {
15
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
16
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
20
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
17
21
  },
18
22
  adapterMethodName: "sendNoResponseContentAsync",
19
23
  },
20
24
  };
21
- /**
22
- * Uri template for the request builder.
23
- */
24
- exports.RetryServiceProvisioningRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/retryServiceProvisioning";
25
25
  /* tslint:enable */
26
26
  /* 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}/serviceProvisioningErrors/$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,M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CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,iGAAiG,CAAC;AAQ7I;;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}/serviceProvisioningErrors/$count{?%24filter,%24search}";
8
12
  /**
9
13
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
10
14
  */
@@ -17,19 +21,15 @@ const CountRequestBuilderGetQueryParametersMapper = {
17
21
  */
18
22
  exports.CountRequestBuilderRequestsMetadata = {
19
23
  get: {
24
+ uriTemplate: exports.CountRequestBuilderUriTemplate,
20
25
  responseBodyContentType: "text/plain;q=0.9",
21
26
  errorMappings: {
22
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
23
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
27
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
28
  },
25
29
  adapterMethodName: "sendPrimitiveAsync",
26
30
  responseBodyFactory: "number",
27
31
  queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
28
32
  },
29
33
  };
30
- /**
31
- * Uri template for the request builder.
32
- */
33
- exports.CountRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */
@@ -12,13 +12,14 @@ export interface ServiceProvisioningErrorsRequestBuilder extends BaseRequestBuil
12
12
  /**
13
13
  * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from an organizational contact object . Supports $filter (eq, not, for isResolved and serviceInstance).
14
14
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
15
- * @returns a Promise of ServiceProvisioningErrorCollectionResponse
15
+ * @returns {Promise<ServiceProvisioningErrorCollectionResponse>}
16
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
16
17
  */
17
18
  get(requestConfiguration?: RequestConfiguration<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): Promise<ServiceProvisioningErrorCollectionResponse | undefined>;
18
19
  /**
19
20
  * Errors published by a federated service describing a non-transient, service-specific error regarding the properties or link from an organizational contact object . Supports $filter (eq, not, for isResolved and serviceInstance).
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<ServiceProvisioningErrorsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
24
25
  }
@@ -59,6 +60,10 @@ export interface ServiceProvisioningErrorsRequestBuilderGetQueryParameters {
59
60
  */
60
61
  top?: number;
61
62
  }
63
+ /**
64
+ * Uri template for the request builder.
65
+ */
66
+ export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilderNavigationMetadata:
67
72
  * Metadata for all the requests in the request builder.
68
73
  */
69
74
  export declare const ServiceProvisioningErrorsRequestBuilderRequestsMetadata: RequestsMetadata;
70
- /**
71
- * Uri template for the request builder.
72
- */
73
- export declare const ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%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,EAA0E,KAAK,0CAA0C,EAAE,MAAM,gCAAgC,CAAC;AAEzK,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,uCAAwC,SAAQ,kBAAkB,CAAC,uCAAuC,CAAC;IACxH;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0CAA0C,GAAG,SAAS,CAAC,CAAC;IAC3L;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yDAAyD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrK;AACD;;GAEG;AACH,MAAM,WAAW,yDAAyD;IACtE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAA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MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kDAAkD,iJAAiJ,CAAC;AAcjN;;GAEG;AACH,eAAO,MAAM,yDAAyD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uCAAuC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAI5L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uDAAuD,EAAE,gBAWrE,CAAC"}
@@ -1,12 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = void 0;
3
+ exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
7
7
  const models_1 = require("@microsoft/msgraph-sdk/models/");
8
8
  const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  const count_1 = require("./count/");
10
+ /**
11
+ * Uri template for the request builder.
12
+ */
13
+ exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
10
14
  /**
11
15
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
12
16
  */
@@ -25,7 +29,6 @@ const ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper = {
25
29
  */
26
30
  exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
27
31
  count: {
28
- uriTemplate: count_1.CountRequestBuilderUriTemplate,
29
32
  requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
30
33
  },
31
34
  };
@@ -34,19 +37,15 @@ exports.ServiceProvisioningErrorsRequestBuilderNavigationMetadata = {
34
37
  */
35
38
  exports.ServiceProvisioningErrorsRequestBuilderRequestsMetadata = {
36
39
  get: {
40
+ uriTemplate: exports.ServiceProvisioningErrorsRequestBuilderUriTemplate,
37
41
  responseBodyContentType: "application/json",
38
42
  errorMappings: {
39
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
43
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
41
44
  },
42
45
  adapterMethodName: "sendAsync",
43
46
  responseBodyFactory: models_1.createServiceProvisioningErrorCollectionResponseFromDiscriminatorValue,
44
47
  queryParametersMapper: ServiceProvisioningErrorsRequestBuilderGetQueryParametersMapper,
45
48
  },
46
49
  };
47
- /**
48
- * Uri template for the request builder.
49
- */
50
- exports.ServiceProvisioningErrorsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/serviceProvisioningErrors{?%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}/transitiveMemberOf/$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,0FAA0F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,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,0FAA0F,CAAC;AAQtI;;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}/transitiveMemberOf/$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}/transitiveMemberOf/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* 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}/transitiveMemberOf/graph.administrativeUnit/$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,mHAAmH,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,mHAAmH,CAAC;AAQ/J;;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}/transitiveMemberOf/graph.administrativeUnit/$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}/transitiveMemberOf/graph.administrativeUnit/$count{?%24filter,%24search}";
34
34
  /* tslint:enable */
35
35
  /* eslint-enable */