@microsoft/msgraph-sdk-contacts 1.0.0-preview.10

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 (140) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/contacts/count/index.d.ts +40 -0
  4. package/contacts/count/index.d.ts.map +1 -0
  5. package/contacts/count/index.js +35 -0
  6. package/contacts/delta/index.d.ts +83 -0
  7. package/contacts/delta/index.d.ts.map +1 -0
  8. package/contacts/delta/index.js +67 -0
  9. package/contacts/getAvailableExtensionProperties/index.d.ts +83 -0
  10. package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -0
  11. package/contacts/getAvailableExtensionProperties/index.js +86 -0
  12. package/contacts/getByIds/index.d.ts +87 -0
  13. package/contacts/getByIds/index.d.ts.map +1 -0
  14. package/contacts/getByIds/index.js +88 -0
  15. package/contacts/index.d.ts +116 -0
  16. package/contacts/index.d.ts.map +1 -0
  17. package/contacts/index.js +91 -0
  18. package/contacts/item/checkMemberGroups/index.d.ts +83 -0
  19. package/contacts/item/checkMemberGroups/index.d.ts.map +1 -0
  20. package/contacts/item/checkMemberGroups/index.js +86 -0
  21. package/contacts/item/checkMemberObjects/index.d.ts +82 -0
  22. package/contacts/item/checkMemberObjects/index.d.ts.map +1 -0
  23. package/contacts/item/checkMemberObjects/index.js +86 -0
  24. package/contacts/item/directReports/count/index.d.ts +40 -0
  25. package/contacts/item/directReports/count/index.d.ts.map +1 -0
  26. package/contacts/item/directReports/count/index.js +35 -0
  27. package/contacts/item/directReports/graphOrgContact/count/index.d.ts +40 -0
  28. package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -0
  29. package/contacts/item/directReports/graphOrgContact/count/index.js +35 -0
  30. package/contacts/item/directReports/graphOrgContact/index.d.ts +74 -0
  31. package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -0
  32. package/contacts/item/directReports/graphOrgContact/index.js +52 -0
  33. package/contacts/item/directReports/graphUser/count/index.d.ts +40 -0
  34. package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -0
  35. package/contacts/item/directReports/graphUser/count/index.js +35 -0
  36. package/contacts/item/directReports/graphUser/index.d.ts +74 -0
  37. package/contacts/item/directReports/graphUser/index.d.ts.map +1 -0
  38. package/contacts/item/directReports/graphUser/index.js +52 -0
  39. package/contacts/item/directReports/index.d.ts +92 -0
  40. package/contacts/item/directReports/index.d.ts.map +1 -0
  41. package/contacts/item/directReports/index.js +71 -0
  42. package/contacts/item/directReports/item/graphOrgContact/index.d.ts +41 -0
  43. package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -0
  44. package/contacts/item/directReports/item/graphOrgContact/index.js +36 -0
  45. package/contacts/item/directReports/item/graphUser/index.d.ts +41 -0
  46. package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -0
  47. package/contacts/item/directReports/item/graphUser/index.js +36 -0
  48. package/contacts/item/directReports/item/index.d.ts +55 -0
  49. package/contacts/item/directReports/item/index.d.ts.map +1 -0
  50. package/contacts/item/directReports/item/index.js +51 -0
  51. package/contacts/item/getMemberGroups/index.d.ts +83 -0
  52. package/contacts/item/getMemberGroups/index.d.ts.map +1 -0
  53. package/contacts/item/getMemberGroups/index.js +86 -0
  54. package/contacts/item/getMemberObjects/index.d.ts +83 -0
  55. package/contacts/item/getMemberObjects/index.d.ts.map +1 -0
  56. package/contacts/item/getMemberObjects/index.js +86 -0
  57. package/contacts/item/index.d.ts +126 -0
  58. package/contacts/item/index.d.ts.map +1 -0
  59. package/contacts/item/index.js +120 -0
  60. package/contacts/item/manager/index.d.ts +42 -0
  61. package/contacts/item/manager/index.d.ts.map +1 -0
  62. package/contacts/item/manager/index.js +36 -0
  63. package/contacts/item/memberOf/count/index.d.ts +40 -0
  64. package/contacts/item/memberOf/count/index.d.ts.map +1 -0
  65. package/contacts/item/memberOf/count/index.js +35 -0
  66. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
  67. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
  68. package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +35 -0
  69. package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +74 -0
  70. package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
  71. package/contacts/item/memberOf/graphAdministrativeUnit/index.js +52 -0
  72. package/contacts/item/memberOf/graphGroup/count/index.d.ts +40 -0
  73. package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -0
  74. package/contacts/item/memberOf/graphGroup/count/index.js +35 -0
  75. package/contacts/item/memberOf/graphGroup/index.d.ts +74 -0
  76. package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -0
  77. package/contacts/item/memberOf/graphGroup/index.js +52 -0
  78. package/contacts/item/memberOf/index.d.ts +92 -0
  79. package/contacts/item/memberOf/index.d.ts.map +1 -0
  80. package/contacts/item/memberOf/index.js +71 -0
  81. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
  82. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
  83. package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +36 -0
  84. package/contacts/item/memberOf/item/graphGroup/index.d.ts +41 -0
  85. package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -0
  86. package/contacts/item/memberOf/item/graphGroup/index.js +36 -0
  87. package/contacts/item/memberOf/item/index.d.ts +55 -0
  88. package/contacts/item/memberOf/item/index.d.ts.map +1 -0
  89. package/contacts/item/memberOf/item/index.js +51 -0
  90. package/contacts/item/restore/index.d.ts +29 -0
  91. package/contacts/item/restore/index.d.ts.map +1 -0
  92. package/contacts/item/restore/index.js +28 -0
  93. package/contacts/item/retryServiceProvisioning/index.d.ts +26 -0
  94. package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -0
  95. package/contacts/item/retryServiceProvisioning/index.js +26 -0
  96. package/contacts/item/serviceProvisioningErrors/count/index.d.ts +40 -0
  97. package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
  98. package/contacts/item/serviceProvisioningErrors/count/index.js +35 -0
  99. package/contacts/item/serviceProvisioningErrors/index.d.ts +74 -0
  100. package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -0
  101. package/contacts/item/serviceProvisioningErrors/index.js +52 -0
  102. package/contacts/item/transitiveMemberOf/count/index.d.ts +40 -0
  103. package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -0
  104. package/contacts/item/transitiveMemberOf/count/index.js +35 -0
  105. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
  106. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
  107. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +35 -0
  108. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +74 -0
  109. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
  110. package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +52 -0
  111. package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +40 -0
  112. package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -0
  113. package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +35 -0
  114. package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +74 -0
  115. package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -0
  116. package/contacts/item/transitiveMemberOf/graphGroup/index.js +52 -0
  117. package/contacts/item/transitiveMemberOf/index.d.ts +92 -0
  118. package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -0
  119. package/contacts/item/transitiveMemberOf/index.js +71 -0
  120. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
  121. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
  122. package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +36 -0
  123. package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +41 -0
  124. package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -0
  125. package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +36 -0
  126. package/contacts/item/transitiveMemberOf/item/index.d.ts +55 -0
  127. package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -0
  128. package/contacts/item/transitiveMemberOf/item/index.js +51 -0
  129. package/contacts/validateProperties/index.d.ts +72 -0
  130. package/contacts/validateProperties/index.d.ts.map +1 -0
  131. package/contacts/validateProperties/index.js +64 -0
  132. package/contactsServiceClient.d.ts +25 -0
  133. package/contactsServiceClient.d.ts.map +1 -0
  134. package/contactsServiceClient.js +49 -0
  135. package/index.d.ts +11 -0
  136. package/index.d.ts.map +1 -0
  137. package/index.js +20 -0
  138. package/package.json +48 -0
  139. package/tsconfig.json +15 -0
  140. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphOrgContactRequestBuilderUriTemplate = exports.GraphOrgContactRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const GraphOrgContactRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.GraphOrgContactRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
28
+ queryParametersMapper: GraphOrgContactRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ };
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ exports.GraphOrgContactRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.orgContact{?%24select,%24expand}";
35
+ /* tslint:enable */
36
+ /* eslint-enable */
@@ -0,0 +1,41 @@
1
+ import { type User } from '@microsoft/msgraph-sdk/models/';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Casts the previous resource to user.
5
+ */
6
+ export interface GraphUserRequestBuilder extends BaseRequestBuilder<GraphUserRequestBuilder> {
7
+ /**
8
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns a Promise of User
11
+ */
12
+ get(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
13
+ /**
14
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
15
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
16
+ * @returns a RequestInformation
17
+ */
18
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<GraphUserRequestBuilderGetQueryParameters> | undefined): RequestInformation;
19
+ }
20
+ /**
21
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.user
22
+ */
23
+ export interface GraphUserRequestBuilderGetQueryParameters {
24
+ /**
25
+ * Expand related entities
26
+ */
27
+ expand?: string[];
28
+ /**
29
+ * Select properties to be returned
30
+ */
31
+ select?: string[];
32
+ }
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const GraphUserRequestBuilderRequestsMetadata: RequestsMetadata;
37
+ /**
38
+ * Uri template for the request builder.
39
+ */
40
+ export declare const GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.user{?%24select,%24expand}";
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE7F,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,GAAG,SAAS,CAAC,CAAC;IACrI;;;;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,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAWrD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kCAAkC,gHAAgH,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GraphUserRequestBuilderUriTemplate = exports.GraphUserRequestBuilderRequestsMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
11
+ */
12
+ const GraphUserRequestBuilderGetQueryParametersMapper = {
13
+ "expand": "%24expand",
14
+ "select": "%24select",
15
+ };
16
+ /**
17
+ * Metadata for all the requests in the request builder.
18
+ */
19
+ exports.GraphUserRequestBuilderRequestsMetadata = {
20
+ get: {
21
+ responseBodyContentType: "application/json",
22
+ errorMappings: {
23
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
24
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
25
+ },
26
+ adapterMethodName: "sendAsync",
27
+ responseBodyFactory: models_1.createUserFromDiscriminatorValue,
28
+ queryParametersMapper: GraphUserRequestBuilderGetQueryParametersMapper,
29
+ },
30
+ };
31
+ /**
32
+ * Uri template for the request builder.
33
+ */
34
+ exports.GraphUserRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}/graph.user{?%24select,%24expand}";
35
+ /* tslint:enable */
36
+ /* eslint-enable */
@@ -0,0 +1,55 @@
1
+ import { type DirectoryObject } from '@microsoft/msgraph-sdk/models/';
2
+ import { type GraphOrgContactRequestBuilder } from './graphOrgContact/';
3
+ import { type GraphUserRequestBuilder } from './graphUser/';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Provides operations to manage the directReports property of the microsoft.graph.orgContact entity.
7
+ */
8
+ export interface DirectoryObjectItemRequestBuilder extends BaseRequestBuilder<DirectoryObjectItemRequestBuilder> {
9
+ /**
10
+ * Casts the previous resource to orgContact.
11
+ */
12
+ get graphOrgContact(): GraphOrgContactRequestBuilder;
13
+ /**
14
+ * Casts the previous resource to user.
15
+ */
16
+ get graphUser(): GraphUserRequestBuilder;
17
+ /**
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
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns a Promise of DirectoryObject
21
+ */
22
+ get(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>;
23
+ /**
24
+ * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
25
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
26
+ * @returns a RequestInformation
27
+ */
28
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DirectoryObjectItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
29
+ }
30
+ /**
31
+ * The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand.
32
+ */
33
+ export interface DirectoryObjectItemRequestBuilderGetQueryParameters {
34
+ /**
35
+ * Expand related entities
36
+ */
37
+ expand?: string[];
38
+ /**
39
+ * Select properties to be returned
40
+ */
41
+ select?: string[];
42
+ }
43
+ /**
44
+ * Metadata for all the navigation properties in the request builder.
45
+ */
46
+ export declare const DirectoryObjectItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DirectoryObjectItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
47
+ /**
48
+ * Metadata for all the requests in the request builder.
49
+ */
50
+ 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}{?%24select,%24expand}";
55
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,mDAAmD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,iCAAiC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAShL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,gBAW/D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,qGAAqG,CAAC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DirectoryObjectItemRequestBuilderUriTemplate = exports.DirectoryObjectItemRequestBuilderRequestsMetadata = exports.DirectoryObjectItemRequestBuilderNavigationMetadata = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ const graphOrgContact_1 = require("./graphOrgContact/");
10
+ const graphUser_1 = require("./graphUser/");
11
+ /**
12
+ * Mapper for query parameters from symbol name to serialization name represented as a constant.
13
+ */
14
+ const DirectoryObjectItemRequestBuilderGetQueryParametersMapper = {
15
+ "expand": "%24expand",
16
+ "select": "%24select",
17
+ };
18
+ /**
19
+ * Metadata for all the navigation properties in the request builder.
20
+ */
21
+ exports.DirectoryObjectItemRequestBuilderNavigationMetadata = {
22
+ graphOrgContact: {
23
+ uriTemplate: graphOrgContact_1.GraphOrgContactRequestBuilderUriTemplate,
24
+ requestsMetadata: graphOrgContact_1.GraphOrgContactRequestBuilderRequestsMetadata,
25
+ },
26
+ graphUser: {
27
+ uriTemplate: graphUser_1.GraphUserRequestBuilderUriTemplate,
28
+ requestsMetadata: graphUser_1.GraphUserRequestBuilderRequestsMetadata,
29
+ },
30
+ };
31
+ /**
32
+ * Metadata for all the requests in the request builder.
33
+ */
34
+ exports.DirectoryObjectItemRequestBuilderRequestsMetadata = {
35
+ get: {
36
+ responseBodyContentType: "application/json",
37
+ errorMappings: {
38
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
39
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
40
+ },
41
+ adapterMethodName: "sendAsync",
42
+ responseBodyFactory: models_1.createDirectoryObjectFromDiscriminatorValue,
43
+ queryParametersMapper: DirectoryObjectItemRequestBuilderGetQueryParametersMapper,
44
+ },
45
+ };
46
+ /**
47
+ * Uri template for the request builder.
48
+ */
49
+ exports.DirectoryObjectItemRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/{directoryObject%2Did}{?%24select,%24expand}";
50
+ /* tslint:enable */
51
+ /* eslint-enable */
@@ -0,0 +1,83 @@
1
+ import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a getMemberGroupsPostRequestBody
7
+ */
8
+ export declare function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetMemberGroupsPostRequestBody;
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getMemberGroupsPostResponse
13
+ */
14
+ export declare function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetMemberGroupsPostResponse;
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @returns a Record<string, (node: ParseNode) => void>
18
+ */
19
+ export declare function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody?: GetMemberGroupsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
20
+ /**
21
+ * The deserialization information for the current model
22
+ * @returns a Record<string, (node: ParseNode) => void>
23
+ */
24
+ export declare function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse?: GetMemberGroupsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
25
+ export interface GetMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
26
+ /**
27
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
28
+ */
29
+ additionalData?: Record<string, unknown>;
30
+ /**
31
+ * Stores model information.
32
+ */
33
+ backingStoreEnabled?: boolean;
34
+ /**
35
+ * The securityEnabledOnly property
36
+ */
37
+ securityEnabledOnly?: boolean;
38
+ }
39
+ export interface GetMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
40
+ /**
41
+ * The value property
42
+ */
43
+ value?: string[];
44
+ }
45
+ /**
46
+ * Provides operations to call the getMemberGroups method.
47
+ */
48
+ export interface GetMemberGroupsRequestBuilder extends BaseRequestBuilder<GetMemberGroupsRequestBuilder> {
49
+ /**
50
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
51
+ * @param body The request body
52
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
+ * @returns a Promise of GetMemberGroupsPostResponse
54
+ * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-1.0|Find more info here}
55
+ */
56
+ post(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberGroupsPostResponse | undefined>;
57
+ /**
58
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
59
+ * @param body The request body
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns a RequestInformation
62
+ */
63
+ toPostRequestInformation(body: GetMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
+ }
65
+ /**
66
+ * Serializes information the current object
67
+ * @param writer Serialization writer to use to serialize this model
68
+ */
69
+ export declare function serializeGetMemberGroupsPostRequestBody(writer: SerializationWriter, getMemberGroupsPostRequestBody?: GetMemberGroupsPostRequestBody | undefined): void;
70
+ /**
71
+ * Serializes information the current object
72
+ * @param writer Serialization writer to use to serialize this model
73
+ */
74
+ export declare function serializeGetMemberGroupsPostResponse(writer: SerializationWriter, getMemberGroupsPostResponse?: GetMemberGroupsPostResponse | undefined): void;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const GetMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups";
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wDAE1G;AACD;;;;GAIG;AACH,wBAAgB,uDAAuD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,qDAEvG;AACD;;;GAGG;AACH,wBAAgB,6CAA6C,CAAC,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK3N;AACD;;;GAGG;AACH,wBAAgB,0CAA0C,CAAC,2BAA2B,GAAE,2BAA2B,GAAG,SAA6C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/M;AACD,MAAM,WAAW,8BAA+B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC/F;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,MAAM,WAAW,2BAA4B,SAAQ,qCAAqC,EAAE,QAAQ;IAChG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;IAChK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8BAA8B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,mBAAmB,EAAE,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,IAAI,CAG7M;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,MAAM,EAAE,mBAAmB,EAAE,2BAA2B,GAAE,2BAA2B,GAAG,SAA6C,GAAI,IAAI,CAGjM;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBAa3D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,wCAAwC,0DAA0D,CAAC"}
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMemberGroupsRequestBuilderUriTemplate = exports.GetMemberGroupsRequestBuilderRequestsMetadata = exports.serializeGetMemberGroupsPostResponse = exports.serializeGetMemberGroupsPostRequestBody = exports.deserializeIntoGetMemberGroupsPostResponse = exports.deserializeIntoGetMemberGroupsPostRequestBody = exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getMemberGroupsPostRequestBody
13
+ */
14
+ function createGetMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoGetMemberGroupsPostRequestBody;
16
+ }
17
+ exports.createGetMemberGroupsPostRequestBodyFromDiscriminatorValue = createGetMemberGroupsPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * Creates a new instance of the appropriate class based on discriminator value
20
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21
+ * @returns a getMemberGroupsPostResponse
22
+ */
23
+ function createGetMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoGetMemberGroupsPostResponse;
25
+ }
26
+ exports.createGetMemberGroupsPostResponseFromDiscriminatorValue = createGetMemberGroupsPostResponseFromDiscriminatorValue;
27
+ /**
28
+ * The deserialization information for the current model
29
+ * @returns a Record<string, (node: ParseNode) => void>
30
+ */
31
+ function deserializeIntoGetMemberGroupsPostRequestBody(getMemberGroupsPostRequestBody = {}) {
32
+ return {
33
+ "backingStoreEnabled": n => { getMemberGroupsPostRequestBody.backingStoreEnabled = true; },
34
+ "securityEnabledOnly": n => { getMemberGroupsPostRequestBody.securityEnabledOnly = n.getBooleanValue(); },
35
+ };
36
+ }
37
+ exports.deserializeIntoGetMemberGroupsPostRequestBody = deserializeIntoGetMemberGroupsPostRequestBody;
38
+ /**
39
+ * The deserialization information for the current model
40
+ * @returns a Record<string, (node: ParseNode) => void>
41
+ */
42
+ function deserializeIntoGetMemberGroupsPostResponse(getMemberGroupsPostResponse = {}) {
43
+ return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberGroupsPostResponse)), { "value": n => { getMemberGroupsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
44
+ }
45
+ exports.deserializeIntoGetMemberGroupsPostResponse = deserializeIntoGetMemberGroupsPostResponse;
46
+ /**
47
+ * Serializes information the current object
48
+ * @param writer Serialization writer to use to serialize this model
49
+ */
50
+ function serializeGetMemberGroupsPostRequestBody(writer, getMemberGroupsPostRequestBody = {}) {
51
+ writer.writeBooleanValue("securityEnabledOnly", getMemberGroupsPostRequestBody.securityEnabledOnly);
52
+ writer.writeAdditionalData(getMemberGroupsPostRequestBody.additionalData);
53
+ }
54
+ exports.serializeGetMemberGroupsPostRequestBody = serializeGetMemberGroupsPostRequestBody;
55
+ /**
56
+ * Serializes information the current object
57
+ * @param writer Serialization writer to use to serialize this model
58
+ */
59
+ function serializeGetMemberGroupsPostResponse(writer, getMemberGroupsPostResponse = {}) {
60
+ (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getMemberGroupsPostResponse);
61
+ writer.writeCollectionOfPrimitiveValues("value", getMemberGroupsPostResponse.value);
62
+ }
63
+ exports.serializeGetMemberGroupsPostResponse = serializeGetMemberGroupsPostResponse;
64
+ /**
65
+ * Metadata for all the requests in the request builder.
66
+ */
67
+ exports.GetMemberGroupsRequestBuilderRequestsMetadata = {
68
+ post: {
69
+ responseBodyContentType: "application/json",
70
+ errorMappings: {
71
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
+ },
74
+ adapterMethodName: "sendAsync",
75
+ responseBodyFactory: createGetMemberGroupsPostResponseFromDiscriminatorValue,
76
+ requestBodyContentType: "application/json",
77
+ requestBodySerializer: serializeGetMemberGroupsPostRequestBody,
78
+ requestInformationContentSetMethod: "setContentFromParsable",
79
+ },
80
+ };
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ exports.GetMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups";
85
+ /* tslint:enable */
86
+ /* eslint-enable */
@@ -0,0 +1,83 @@
1
+ import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/';
2
+ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Creates a new instance of the appropriate class based on discriminator value
5
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6
+ * @returns a getMemberObjectsPostRequestBody
7
+ */
8
+ export declare function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetMemberObjectsPostRequestBody;
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getMemberObjectsPostResponse
13
+ */
14
+ export declare function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoGetMemberObjectsPostResponse;
15
+ /**
16
+ * The deserialization information for the current model
17
+ * @returns a Record<string, (node: ParseNode) => void>
18
+ */
19
+ export declare function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody?: GetMemberObjectsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
20
+ /**
21
+ * The deserialization information for the current model
22
+ * @returns a Record<string, (node: ParseNode) => void>
23
+ */
24
+ export declare function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse?: GetMemberObjectsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
25
+ export interface GetMemberObjectsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
26
+ /**
27
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
28
+ */
29
+ additionalData?: Record<string, unknown>;
30
+ /**
31
+ * Stores model information.
32
+ */
33
+ backingStoreEnabled?: boolean;
34
+ /**
35
+ * The securityEnabledOnly property
36
+ */
37
+ securityEnabledOnly?: boolean;
38
+ }
39
+ export interface GetMemberObjectsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
40
+ /**
41
+ * The value property
42
+ */
43
+ value?: string[];
44
+ }
45
+ /**
46
+ * Provides operations to call the getMemberObjects method.
47
+ */
48
+ export interface GetMemberObjectsRequestBuilder extends BaseRequestBuilder<GetMemberObjectsRequestBuilder> {
49
+ /**
50
+ * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
51
+ * @param body The request body
52
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
+ * @returns a Promise of GetMemberObjectsPostResponse
54
+ * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getmemberobjects?view=graph-rest-1.0|Find more info here}
55
+ */
56
+ post(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetMemberObjectsPostResponse | undefined>;
57
+ /**
58
+ * Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles.
59
+ * @param body The request body
60
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
+ * @returns a RequestInformation
62
+ */
63
+ toPostRequestInformation(body: GetMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
+ }
65
+ /**
66
+ * Serializes information the current object
67
+ * @param writer Serialization writer to use to serialize this model
68
+ */
69
+ export declare function serializeGetMemberObjectsPostRequestBody(writer: SerializationWriter, getMemberObjectsPostRequestBody?: GetMemberObjectsPostRequestBody | undefined): void;
70
+ /**
71
+ * Serializes information the current object
72
+ * @param writer Serialization writer to use to serialize this model
73
+ */
74
+ export declare function serializeGetMemberObjectsPostResponse(writer: SerializationWriter, getMemberObjectsPostResponse?: GetMemberObjectsPostResponse | undefined): void;
75
+ /**
76
+ * Metadata for all the requests in the request builder.
77
+ */
78
+ export declare const GetMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
79
+ /**
80
+ * Uri template for the request builder.
81
+ */
82
+ export declare const GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberObjects";
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,gCAAgC,CAAC;AAElM,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,2DAA2D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,yDAE3G;AACD;;;;GAIG;AACH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,sDAExG;AACD;;;GAGG;AACH,wBAAgB,8CAA8C,CAAC,+BAA+B,GAAE,+BAA+B,GAAG,SAAiD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK/N;AACD;;;GAGG;AACH,wBAAgB,2CAA2C,CAAC,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnN;AACD,MAAM,WAAW,+BAAgC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAChG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AACD,MAAM,WAAW,4BAA6B,SAAQ,qCAAqC,EAAE,QAAQ;IACjG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,kBAAkB,CAAC,8BAA8B,CAAC;IACtG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAClK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1J;AACD;;;GAGG;AACH,wBAAgB,wCAAwC,CAAC,MAAM,EAAE,mBAAmB,EAAE,+BAA+B,GAAE,+BAA+B,GAAG,SAAiD,GAAI,IAAI,CAGjN;AACD;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,4BAA4B,GAAG,SAA8C,GAAI,IAAI,CAGrM;AACD;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAa5D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,yCAAyC,2DAA2D,CAAC"}
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMemberObjectsRequestBuilderUriTemplate = exports.GetMemberObjectsRequestBuilderRequestsMetadata = exports.serializeGetMemberObjectsPostResponse = exports.serializeGetMemberObjectsPostRequestBody = exports.deserializeIntoGetMemberObjectsPostResponse = exports.deserializeIntoGetMemberObjectsPostRequestBody = exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = void 0;
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ // Generated by Microsoft Kiota
7
+ const models_1 = require("@microsoft/msgraph-sdk/models/");
8
+ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
+ /**
10
+ * Creates a new instance of the appropriate class based on discriminator value
11
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12
+ * @returns a getMemberObjectsPostRequestBody
13
+ */
14
+ function createGetMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
+ return deserializeIntoGetMemberObjectsPostRequestBody;
16
+ }
17
+ exports.createGetMemberObjectsPostRequestBodyFromDiscriminatorValue = createGetMemberObjectsPostRequestBodyFromDiscriminatorValue;
18
+ /**
19
+ * Creates a new instance of the appropriate class based on discriminator value
20
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21
+ * @returns a getMemberObjectsPostResponse
22
+ */
23
+ function createGetMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
24
+ return deserializeIntoGetMemberObjectsPostResponse;
25
+ }
26
+ exports.createGetMemberObjectsPostResponseFromDiscriminatorValue = createGetMemberObjectsPostResponseFromDiscriminatorValue;
27
+ /**
28
+ * The deserialization information for the current model
29
+ * @returns a Record<string, (node: ParseNode) => void>
30
+ */
31
+ function deserializeIntoGetMemberObjectsPostRequestBody(getMemberObjectsPostRequestBody = {}) {
32
+ return {
33
+ "backingStoreEnabled": n => { getMemberObjectsPostRequestBody.backingStoreEnabled = true; },
34
+ "securityEnabledOnly": n => { getMemberObjectsPostRequestBody.securityEnabledOnly = n.getBooleanValue(); },
35
+ };
36
+ }
37
+ exports.deserializeIntoGetMemberObjectsPostRequestBody = deserializeIntoGetMemberObjectsPostRequestBody;
38
+ /**
39
+ * The deserialization information for the current model
40
+ * @returns a Record<string, (node: ParseNode) => void>
41
+ */
42
+ function deserializeIntoGetMemberObjectsPostResponse(getMemberObjectsPostResponse = {}) {
43
+ return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getMemberObjectsPostResponse)), { "value": n => { getMemberObjectsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
44
+ }
45
+ exports.deserializeIntoGetMemberObjectsPostResponse = deserializeIntoGetMemberObjectsPostResponse;
46
+ /**
47
+ * Serializes information the current object
48
+ * @param writer Serialization writer to use to serialize this model
49
+ */
50
+ function serializeGetMemberObjectsPostRequestBody(writer, getMemberObjectsPostRequestBody = {}) {
51
+ writer.writeBooleanValue("securityEnabledOnly", getMemberObjectsPostRequestBody.securityEnabledOnly);
52
+ writer.writeAdditionalData(getMemberObjectsPostRequestBody.additionalData);
53
+ }
54
+ exports.serializeGetMemberObjectsPostRequestBody = serializeGetMemberObjectsPostRequestBody;
55
+ /**
56
+ * Serializes information the current object
57
+ * @param writer Serialization writer to use to serialize this model
58
+ */
59
+ function serializeGetMemberObjectsPostResponse(writer, getMemberObjectsPostResponse = {}) {
60
+ (0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, getMemberObjectsPostResponse);
61
+ writer.writeCollectionOfPrimitiveValues("value", getMemberObjectsPostResponse.value);
62
+ }
63
+ exports.serializeGetMemberObjectsPostResponse = serializeGetMemberObjectsPostResponse;
64
+ /**
65
+ * Metadata for all the requests in the request builder.
66
+ */
67
+ exports.GetMemberObjectsRequestBuilderRequestsMetadata = {
68
+ post: {
69
+ responseBodyContentType: "application/json",
70
+ errorMappings: {
71
+ _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
+ _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
+ },
74
+ adapterMethodName: "sendAsync",
75
+ responseBodyFactory: createGetMemberObjectsPostResponseFromDiscriminatorValue,
76
+ requestBodyContentType: "application/json",
77
+ requestBodySerializer: serializeGetMemberObjectsPostRequestBody,
78
+ requestInformationContentSetMethod: "setContentFromParsable",
79
+ },
80
+ };
81
+ /**
82
+ * Uri template for the request builder.
83
+ */
84
+ exports.GetMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/getMemberObjects";
85
+ /* tslint:enable */
86
+ /* eslint-enable */