@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.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/contacts/count/index.d.ts +40 -0
- package/contacts/count/index.d.ts.map +1 -0
- package/contacts/count/index.js +35 -0
- package/contacts/delta/index.d.ts +83 -0
- package/contacts/delta/index.d.ts.map +1 -0
- package/contacts/delta/index.js +67 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts +83 -0
- package/contacts/getAvailableExtensionProperties/index.d.ts.map +1 -0
- package/contacts/getAvailableExtensionProperties/index.js +86 -0
- package/contacts/getByIds/index.d.ts +87 -0
- package/contacts/getByIds/index.d.ts.map +1 -0
- package/contacts/getByIds/index.js +88 -0
- package/contacts/index.d.ts +116 -0
- package/contacts/index.d.ts.map +1 -0
- package/contacts/index.js +91 -0
- package/contacts/item/checkMemberGroups/index.d.ts +83 -0
- package/contacts/item/checkMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/checkMemberGroups/index.js +86 -0
- package/contacts/item/checkMemberObjects/index.d.ts +82 -0
- package/contacts/item/checkMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/checkMemberObjects/index.js +86 -0
- package/contacts/item/directReports/count/index.d.ts +40 -0
- package/contacts/item/directReports/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphOrgContact/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/count/index.js +35 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts +74 -0
- package/contacts/item/directReports/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphOrgContact/index.js +52 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts +40 -0
- package/contacts/item/directReports/graphUser/count/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/count/index.js +35 -0
- package/contacts/item/directReports/graphUser/index.d.ts +74 -0
- package/contacts/item/directReports/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/graphUser/index.js +52 -0
- package/contacts/item/directReports/index.d.ts +92 -0
- package/contacts/item/directReports/index.d.ts.map +1 -0
- package/contacts/item/directReports/index.js +71 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphOrgContact/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphOrgContact/index.js +36 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts +41 -0
- package/contacts/item/directReports/item/graphUser/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/graphUser/index.js +36 -0
- package/contacts/item/directReports/item/index.d.ts +55 -0
- package/contacts/item/directReports/item/index.d.ts.map +1 -0
- package/contacts/item/directReports/item/index.js +51 -0
- package/contacts/item/getMemberGroups/index.d.ts +83 -0
- package/contacts/item/getMemberGroups/index.d.ts.map +1 -0
- package/contacts/item/getMemberGroups/index.js +86 -0
- package/contacts/item/getMemberObjects/index.d.ts +83 -0
- package/contacts/item/getMemberObjects/index.d.ts.map +1 -0
- package/contacts/item/getMemberObjects/index.js +86 -0
- package/contacts/item/index.d.ts +126 -0
- package/contacts/item/index.d.ts.map +1 -0
- package/contacts/item/index.js +120 -0
- package/contacts/item/manager/index.d.ts +42 -0
- package/contacts/item/manager/index.d.ts.map +1 -0
- package/contacts/item/manager/index.js +36 -0
- package/contacts/item/memberOf/count/index.d.ts +40 -0
- package/contacts/item/memberOf/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/memberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/memberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/graphGroup/index.js +52 -0
- package/contacts/item/memberOf/index.d.ts +92 -0
- package/contacts/item/memberOf/index.d.ts.map +1 -0
- package/contacts/item/memberOf/index.js +71 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/memberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/memberOf/item/index.d.ts +55 -0
- package/contacts/item/memberOf/item/index.d.ts.map +1 -0
- package/contacts/item/memberOf/item/index.js +51 -0
- package/contacts/item/restore/index.d.ts +29 -0
- package/contacts/item/restore/index.d.ts.map +1 -0
- package/contacts/item/restore/index.js +28 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts +26 -0
- package/contacts/item/retryServiceProvisioning/index.d.ts.map +1 -0
- package/contacts/item/retryServiceProvisioning/index.js +26 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts +40 -0
- package/contacts/item/serviceProvisioningErrors/count/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/count/index.js +35 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts +74 -0
- package/contacts/item/serviceProvisioningErrors/index.d.ts.map +1 -0
- package/contacts/item/serviceProvisioningErrors/index.js +52 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphAdministrativeUnit/index.js +52 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts +40 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/count/index.js +35 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts +74 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/graphGroup/index.js +52 -0
- package/contacts/item/transitiveMemberOf/index.d.ts +92 -0
- package/contacts/item/transitiveMemberOf/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/index.js +71 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts +41 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/graphGroup/index.js +36 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts +55 -0
- package/contacts/item/transitiveMemberOf/item/index.d.ts.map +1 -0
- package/contacts/item/transitiveMemberOf/item/index.js +51 -0
- package/contacts/validateProperties/index.d.ts +72 -0
- package/contacts/validateProperties/index.d.ts.map +1 -0
- package/contacts/validateProperties/index.js +64 -0
- package/contactsServiceClient.d.ts +25 -0
- package/contactsServiceClient.d.ts.map +1 -0
- package/contactsServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { type OrgContact, type OrgContactCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type CountRequestBuilder } from './count/';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/';
|
|
4
|
+
import { type GetAvailableExtensionPropertiesRequestBuilder } from './getAvailableExtensionProperties/';
|
|
5
|
+
import { type GetByIdsRequestBuilder } from './getByIds/';
|
|
6
|
+
import { type OrgContactItemRequestBuilder } from './item/';
|
|
7
|
+
import { type ValidatePropertiesRequestBuilder } from './validateProperties/';
|
|
8
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the collection of orgContact entities.
|
|
11
|
+
*/
|
|
12
|
+
export interface ContactsRequestBuilder extends BaseRequestBuilder<ContactsRequestBuilder> {
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to count the resources in the collection.
|
|
15
|
+
*/
|
|
16
|
+
get count(): CountRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Provides operations to call the delta method.
|
|
19
|
+
*/
|
|
20
|
+
get delta(): DeltaRequestBuilder;
|
|
21
|
+
/**
|
|
22
|
+
* Provides operations to call the getAvailableExtensionProperties method.
|
|
23
|
+
*/
|
|
24
|
+
get getAvailableExtensionProperties(): GetAvailableExtensionPropertiesRequestBuilder;
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the getByIds method.
|
|
27
|
+
*/
|
|
28
|
+
get getByIds(): GetByIdsRequestBuilder;
|
|
29
|
+
/**
|
|
30
|
+
* Provides operations to call the validateProperties method.
|
|
31
|
+
*/
|
|
32
|
+
get validateProperties(): ValidatePropertiesRequestBuilder;
|
|
33
|
+
/**
|
|
34
|
+
* Provides operations to manage the collection of orgContact entities.
|
|
35
|
+
* @param orgContactId The unique identifier of orgContact
|
|
36
|
+
* @returns a OrgContactItemRequestBuilder
|
|
37
|
+
*/
|
|
38
|
+
byOrgContactId(orgContactId: string): OrgContactItemRequestBuilder;
|
|
39
|
+
/**
|
|
40
|
+
* Get the list of organizational contacts for this organization.
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns a Promise of OrgContactCollectionResponse
|
|
43
|
+
* @see {@link https://learn.microsoft.com/graph/api/orgcontact-list?view=graph-rest-1.0|Find more info here}
|
|
44
|
+
*/
|
|
45
|
+
get(requestConfiguration?: RequestConfiguration<ContactsRequestBuilderGetQueryParameters> | undefined): Promise<OrgContactCollectionResponse | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Add new entity to contacts
|
|
48
|
+
* @param body The request body
|
|
49
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
50
|
+
* @returns a Promise of OrgContact
|
|
51
|
+
*/
|
|
52
|
+
post(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OrgContact | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Get the list of organizational contacts for this organization.
|
|
55
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
56
|
+
* @returns a RequestInformation
|
|
57
|
+
*/
|
|
58
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ContactsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
59
|
+
/**
|
|
60
|
+
* Add new entity to contacts
|
|
61
|
+
* @param body The request body
|
|
62
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
63
|
+
* @returns a RequestInformation
|
|
64
|
+
*/
|
|
65
|
+
toPostRequestInformation(body: OrgContact, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get the list of organizational contacts for this organization.
|
|
69
|
+
*/
|
|
70
|
+
export interface ContactsRequestBuilderGetQueryParameters {
|
|
71
|
+
/**
|
|
72
|
+
* Include count of items
|
|
73
|
+
*/
|
|
74
|
+
count?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Expand related entities
|
|
77
|
+
*/
|
|
78
|
+
expand?: string[];
|
|
79
|
+
/**
|
|
80
|
+
* Filter items by property values
|
|
81
|
+
*/
|
|
82
|
+
filter?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Order items by property values
|
|
85
|
+
*/
|
|
86
|
+
orderby?: string[];
|
|
87
|
+
/**
|
|
88
|
+
* Search items by search phrases
|
|
89
|
+
*/
|
|
90
|
+
search?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Select properties to be returned
|
|
93
|
+
*/
|
|
94
|
+
select?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Skip the first n items
|
|
97
|
+
*/
|
|
98
|
+
skip?: number;
|
|
99
|
+
/**
|
|
100
|
+
* Show only the first n items
|
|
101
|
+
*/
|
|
102
|
+
top?: number;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Metadata for all the navigation properties in the request builder.
|
|
106
|
+
*/
|
|
107
|
+
export declare const ContactsRequestBuilderNavigationMetadata: Record<Exclude<keyof ContactsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
108
|
+
/**
|
|
109
|
+
* Metadata for all the requests in the request builder.
|
|
110
|
+
*/
|
|
111
|
+
export declare const ContactsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
112
|
+
/**
|
|
113
|
+
* Uri template for the request builder.
|
|
114
|
+
*/
|
|
115
|
+
export declare const ContactsRequestBuilderUriTemplate = "{+baseurl}/contacts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
116
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyH,KAAK,UAAU,EAAE,KAAK,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE3N,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAAuE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzH,OAAO,EAA2H,KAAK,6CAA6C,EAAE,MAAM,oCAAoC,CAAC;AACjO,OAAO,EAA6E,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrI,OAAO,EAAyI,KAAK,4BAA4B,EAAE,MAAM,SAAS,CAAC;AACnM,OAAO,EAAE,KAAK,gCAAgC,EAAiG,MAAM,uBAAuB,CAAC;AAC7K,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,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;OAEG;IACH,IAAI,+BAA+B,IAAI,6CAA6C,CAAC;IACrF;;OAEG;IACH,IAAI,QAAQ,IAAI,sBAAsB,CAAC;IACvC;;OAEG;IACH,IAAI,kBAAkB,IAAI,gCAAgC,CAAC;IAC3D;;;;OAIG;IACF,cAAc,CAAC,YAAY,EAAE,MAAM,GAAI,4BAA4B,CAAC;IACrE;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAC5J;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAC3H;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,wCAAwC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACjJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACrI;AACD;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAcD;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA2B1J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAuBpD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,qGAAqG,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContactsRequestBuilderUriTemplate = exports.ContactsRequestBuilderRequestsMetadata = exports.ContactsRequestBuilderNavigationMetadata = 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 count_1 = require("./count/");
|
|
10
|
+
const delta_1 = require("./delta/");
|
|
11
|
+
const getAvailableExtensionProperties_1 = require("./getAvailableExtensionProperties/");
|
|
12
|
+
const getByIds_1 = require("./getByIds/");
|
|
13
|
+
const item_1 = require("./item/");
|
|
14
|
+
const validateProperties_1 = require("./validateProperties/");
|
|
15
|
+
/**
|
|
16
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
17
|
+
*/
|
|
18
|
+
const ContactsRequestBuilderGetQueryParametersMapper = {
|
|
19
|
+
"count": "%24count",
|
|
20
|
+
"expand": "%24expand",
|
|
21
|
+
"filter": "%24filter",
|
|
22
|
+
"orderby": "%24orderby",
|
|
23
|
+
"search": "%24search",
|
|
24
|
+
"select": "%24select",
|
|
25
|
+
"skip": "%24skip",
|
|
26
|
+
"top": "%24top",
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Metadata for all the navigation properties in the request builder.
|
|
30
|
+
*/
|
|
31
|
+
exports.ContactsRequestBuilderNavigationMetadata = {
|
|
32
|
+
byOrgContactId: {
|
|
33
|
+
uriTemplate: item_1.OrgContactItemRequestBuilderUriTemplate,
|
|
34
|
+
requestsMetadata: item_1.OrgContactItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: item_1.OrgContactItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["orgContact%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
uriTemplate: count_1.CountRequestBuilderUriTemplate,
|
|
40
|
+
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
41
|
+
},
|
|
42
|
+
delta: {
|
|
43
|
+
uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
|
|
44
|
+
requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
|
|
45
|
+
},
|
|
46
|
+
getAvailableExtensionProperties: {
|
|
47
|
+
uriTemplate: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
|
|
48
|
+
requestsMetadata: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
|
|
49
|
+
},
|
|
50
|
+
getByIds: {
|
|
51
|
+
uriTemplate: getByIds_1.GetByIdsRequestBuilderUriTemplate,
|
|
52
|
+
requestsMetadata: getByIds_1.GetByIdsRequestBuilderRequestsMetadata,
|
|
53
|
+
},
|
|
54
|
+
validateProperties: {
|
|
55
|
+
uriTemplate: validateProperties_1.ValidatePropertiesRequestBuilderUriTemplate,
|
|
56
|
+
requestsMetadata: validateProperties_1.ValidatePropertiesRequestBuilderRequestsMetadata,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Metadata for all the requests in the request builder.
|
|
61
|
+
*/
|
|
62
|
+
exports.ContactsRequestBuilderRequestsMetadata = {
|
|
63
|
+
get: {
|
|
64
|
+
responseBodyContentType: "application/json",
|
|
65
|
+
errorMappings: {
|
|
66
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
67
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
68
|
+
},
|
|
69
|
+
adapterMethodName: "sendAsync",
|
|
70
|
+
responseBodyFactory: models_1.createOrgContactCollectionResponseFromDiscriminatorValue,
|
|
71
|
+
queryParametersMapper: ContactsRequestBuilderGetQueryParametersMapper,
|
|
72
|
+
},
|
|
73
|
+
post: {
|
|
74
|
+
responseBodyContentType: "application/json",
|
|
75
|
+
errorMappings: {
|
|
76
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
},
|
|
79
|
+
adapterMethodName: "sendAsync",
|
|
80
|
+
responseBodyFactory: models_1.createOrgContactFromDiscriminatorValue,
|
|
81
|
+
requestBodyContentType: "application/json",
|
|
82
|
+
requestBodySerializer: models_1.serializeOrgContact,
|
|
83
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
84
|
+
},
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
exports.ContactsRequestBuilderUriTemplate = "{+baseurl}/contacts{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
|
|
90
|
+
/* tslint:enable */
|
|
91
|
+
/* 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
|
+
export interface CheckMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The groupIds property
|
|
14
|
+
*/
|
|
15
|
+
groupIds?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface CheckMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
18
|
+
/**
|
|
19
|
+
* The value property
|
|
20
|
+
*/
|
|
21
|
+
value?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the checkMemberGroups method.
|
|
25
|
+
*/
|
|
26
|
+
export interface CheckMemberGroupsRequestBuilder extends BaseRequestBuilder<CheckMemberGroupsRequestBuilder> {
|
|
27
|
+
/**
|
|
28
|
+
* Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a Promise of CheckMemberGroupsPostResponse
|
|
32
|
+
* @see {@link https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-1.0|Find more info here}
|
|
33
|
+
*/
|
|
34
|
+
post(body: CheckMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckMemberGroupsPostResponse | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toPostRequestInformation(body: CheckMemberGroupsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
45
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
46
|
+
* @returns a checkMemberGroupsPostRequestBody
|
|
47
|
+
*/
|
|
48
|
+
export declare function createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
51
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
52
|
+
* @returns a checkMemberGroupsPostResponse
|
|
53
|
+
*/
|
|
54
|
+
export declare function createCheckMemberGroupsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberGroupsPostResponse;
|
|
55
|
+
/**
|
|
56
|
+
* The deserialization information for the current model
|
|
57
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
58
|
+
*/
|
|
59
|
+
export declare function deserializeIntoCheckMemberGroupsPostRequestBody(checkMemberGroupsPostRequestBody?: CheckMemberGroupsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
60
|
+
/**
|
|
61
|
+
* The deserialization information for the current model
|
|
62
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
63
|
+
*/
|
|
64
|
+
export declare function deserializeIntoCheckMemberGroupsPostResponse(checkMemberGroupsPostResponse?: CheckMemberGroupsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
65
|
+
/**
|
|
66
|
+
* Serializes information the current object
|
|
67
|
+
* @param writer Serialization writer to use to serialize this model
|
|
68
|
+
*/
|
|
69
|
+
export declare function serializeCheckMemberGroupsPostRequestBody(writer: SerializationWriter, checkMemberGroupsPostRequestBody?: CheckMemberGroupsPostRequestBody | 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 serializeCheckMemberGroupsPostResponse(writer: SerializationWriter, checkMemberGroupsPostResponse?: CheckMemberGroupsPostResponse | undefined): void;
|
|
75
|
+
/**
|
|
76
|
+
* Metadata for all the requests in the request builder.
|
|
77
|
+
*/
|
|
78
|
+
export declare const CheckMemberGroupsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
79
|
+
/**
|
|
80
|
+
* Uri template for the request builder.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CheckMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/checkMemberGroups";
|
|
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,MAAM,WAAW,gCAAiC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACjG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AACD,MAAM,WAAW,6BAA8B,SAAQ,qCAAqC,EAAE,QAAQ;IAClG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;IACpK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,gCAAgC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3J;AACD;;;;GAIG;AACH,wBAAgB,4DAA4D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,0DAE5G;AACD;;;;GAIG;AACH,wBAAgB,yDAAyD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,uDAEzG;AACD;;;GAGG;AACH,wBAAgB,+CAA+C,CAAC,gCAAgC,GAAE,gCAAgC,GAAG,SAAkD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnO;AACD;;;GAGG;AACH,wBAAgB,4CAA4C,CAAC,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvN;AACD;;;GAGG;AACH,wBAAgB,yCAAyC,CAAC,MAAM,EAAE,mBAAmB,EAAE,gCAAgC,GAAE,gCAAgC,GAAG,SAAkD,GAAI,IAAI,CAGrN;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,MAAM,EAAE,mBAAmB,EAAE,6BAA6B,GAAE,6BAA6B,GAAG,SAA+C,GAAI,IAAI,CAGzM;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAa7D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckMemberGroupsRequestBuilderUriTemplate = exports.CheckMemberGroupsRequestBuilderRequestsMetadata = exports.serializeCheckMemberGroupsPostResponse = exports.serializeCheckMemberGroupsPostRequestBody = exports.deserializeIntoCheckMemberGroupsPostResponse = exports.deserializeIntoCheckMemberGroupsPostRequestBody = exports.createCheckMemberGroupsPostResponseFromDiscriminatorValue = exports.createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue = 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 checkMemberGroupsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue = createCheckMemberGroupsPostRequestBodyFromDiscriminatorValue;
|
|
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 checkMemberGroupsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createCheckMemberGroupsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoCheckMemberGroupsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createCheckMemberGroupsPostResponseFromDiscriminatorValue = createCheckMemberGroupsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoCheckMemberGroupsPostRequestBody(checkMemberGroupsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { checkMemberGroupsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"groupIds": n => { checkMemberGroupsPostRequestBody.groupIds = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoCheckMemberGroupsPostRequestBody = deserializeIntoCheckMemberGroupsPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoCheckMemberGroupsPostResponse(checkMemberGroupsPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(checkMemberGroupsPostResponse)), { "value": n => { checkMemberGroupsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoCheckMemberGroupsPostResponse = deserializeIntoCheckMemberGroupsPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeCheckMemberGroupsPostRequestBody(writer, checkMemberGroupsPostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfPrimitiveValues("groupIds", checkMemberGroupsPostRequestBody.groupIds);
|
|
52
|
+
writer.writeAdditionalData(checkMemberGroupsPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeCheckMemberGroupsPostRequestBody = serializeCheckMemberGroupsPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeCheckMemberGroupsPostResponse(writer, checkMemberGroupsPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, checkMemberGroupsPostResponse);
|
|
61
|
+
writer.writeCollectionOfPrimitiveValues("value", checkMemberGroupsPostResponse.value);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeCheckMemberGroupsPostResponse = serializeCheckMemberGroupsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.CheckMemberGroupsRequestBuilderRequestsMetadata = {
|
|
68
|
+
post: {
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
|
+
},
|
|
74
|
+
adapterMethodName: "sendAsync",
|
|
75
|
+
responseBodyFactory: createCheckMemberGroupsPostResponseFromDiscriminatorValue,
|
|
76
|
+
requestBodyContentType: "application/json",
|
|
77
|
+
requestBodySerializer: serializeCheckMemberGroupsPostRequestBody,
|
|
78
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
exports.CheckMemberGroupsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/checkMemberGroups";
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
export interface CheckMemberObjectsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
6
|
+
*/
|
|
7
|
+
additionalData?: Record<string, unknown>;
|
|
8
|
+
/**
|
|
9
|
+
* Stores model information.
|
|
10
|
+
*/
|
|
11
|
+
backingStoreEnabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The ids property
|
|
14
|
+
*/
|
|
15
|
+
ids?: string[];
|
|
16
|
+
}
|
|
17
|
+
export interface CheckMemberObjectsPostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
18
|
+
/**
|
|
19
|
+
* The value property
|
|
20
|
+
*/
|
|
21
|
+
value?: string[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Provides operations to call the checkMemberObjects method.
|
|
25
|
+
*/
|
|
26
|
+
export interface CheckMemberObjectsRequestBuilder extends BaseRequestBuilder<CheckMemberObjectsRequestBuilder> {
|
|
27
|
+
/**
|
|
28
|
+
* Invoke action checkMemberObjects
|
|
29
|
+
* @param body The request body
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns a Promise of CheckMemberObjectsPostResponse
|
|
32
|
+
*/
|
|
33
|
+
post(body: CheckMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CheckMemberObjectsPostResponse | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Invoke action checkMemberObjects
|
|
36
|
+
* @param body The request body
|
|
37
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
38
|
+
* @returns a RequestInformation
|
|
39
|
+
*/
|
|
40
|
+
toPostRequestInformation(body: CheckMemberObjectsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
44
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
45
|
+
* @returns a checkMemberObjectsPostRequestBody
|
|
46
|
+
*/
|
|
47
|
+
export declare function createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
48
|
+
/**
|
|
49
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
50
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
51
|
+
* @returns a checkMemberObjectsPostResponse
|
|
52
|
+
*/
|
|
53
|
+
export declare function createCheckMemberObjectsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoCheckMemberObjectsPostResponse;
|
|
54
|
+
/**
|
|
55
|
+
* The deserialization information for the current model
|
|
56
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
57
|
+
*/
|
|
58
|
+
export declare function deserializeIntoCheckMemberObjectsPostRequestBody(checkMemberObjectsPostRequestBody?: CheckMemberObjectsPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
59
|
+
/**
|
|
60
|
+
* The deserialization information for the current model
|
|
61
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
62
|
+
*/
|
|
63
|
+
export declare function deserializeIntoCheckMemberObjectsPostResponse(checkMemberObjectsPostResponse?: CheckMemberObjectsPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
64
|
+
/**
|
|
65
|
+
* Serializes information the current object
|
|
66
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67
|
+
*/
|
|
68
|
+
export declare function serializeCheckMemberObjectsPostRequestBody(writer: SerializationWriter, checkMemberObjectsPostRequestBody?: CheckMemberObjectsPostRequestBody | undefined): void;
|
|
69
|
+
/**
|
|
70
|
+
* Serializes information the current object
|
|
71
|
+
* @param writer Serialization writer to use to serialize this model
|
|
72
|
+
*/
|
|
73
|
+
export declare function serializeCheckMemberObjectsPostResponse(writer: SerializationWriter, checkMemberObjectsPostResponse?: CheckMemberObjectsPostResponse | undefined): void;
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the requests in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const CheckMemberObjectsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
78
|
+
/**
|
|
79
|
+
* Uri template for the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const CheckMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/checkMemberObjects";
|
|
82
|
+
//# 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,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAClG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AACD,MAAM,WAAW,8BAA+B,SAAQ,qCAAqC,EAAE,QAAQ;IACnG;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IACtK;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;;;GAIG;AACH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,2DAE7G;AACD;;;;GAIG;AACH,wBAAgB,0DAA0D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,wDAE1G;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKvO;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,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,iCAAiC,GAAG,SAAmD,GAAI,IAAI,CAGzN;AACD;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,MAAM,EAAE,mBAAmB,EAAE,8BAA8B,GAAE,8BAA8B,GAAG,SAAgD,GAAI,IAAI,CAG7M;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAa9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckMemberObjectsRequestBuilderUriTemplate = exports.CheckMemberObjectsRequestBuilderRequestsMetadata = exports.serializeCheckMemberObjectsPostResponse = exports.serializeCheckMemberObjectsPostRequestBody = exports.deserializeIntoCheckMemberObjectsPostResponse = exports.deserializeIntoCheckMemberObjectsPostRequestBody = exports.createCheckMemberObjectsPostResponseFromDiscriminatorValue = exports.createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue = 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 checkMemberObjectsPostRequestBody
|
|
13
|
+
*/
|
|
14
|
+
function createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue = createCheckMemberObjectsPostRequestBodyFromDiscriminatorValue;
|
|
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 checkMemberObjectsPostResponse
|
|
22
|
+
*/
|
|
23
|
+
function createCheckMemberObjectsPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoCheckMemberObjectsPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createCheckMemberObjectsPostResponseFromDiscriminatorValue = createCheckMemberObjectsPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoCheckMemberObjectsPostRequestBody(checkMemberObjectsPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { checkMemberObjectsPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"ids": n => { checkMemberObjectsPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoCheckMemberObjectsPostRequestBody = deserializeIntoCheckMemberObjectsPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoCheckMemberObjectsPostResponse(checkMemberObjectsPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(checkMemberObjectsPostResponse)), { "value": n => { checkMemberObjectsPostResponse.value = n.getCollectionOfPrimitiveValues(); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoCheckMemberObjectsPostResponse = deserializeIntoCheckMemberObjectsPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeCheckMemberObjectsPostRequestBody(writer, checkMemberObjectsPostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfPrimitiveValues("ids", checkMemberObjectsPostRequestBody.ids);
|
|
52
|
+
writer.writeAdditionalData(checkMemberObjectsPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeCheckMemberObjectsPostRequestBody = serializeCheckMemberObjectsPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeCheckMemberObjectsPostResponse(writer, checkMemberObjectsPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, checkMemberObjectsPostResponse);
|
|
61
|
+
writer.writeCollectionOfPrimitiveValues("value", checkMemberObjectsPostResponse.value);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeCheckMemberObjectsPostResponse = serializeCheckMemberObjectsPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata for all the requests in the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.CheckMemberObjectsRequestBuilderRequestsMetadata = {
|
|
68
|
+
post: {
|
|
69
|
+
responseBodyContentType: "application/json",
|
|
70
|
+
errorMappings: {
|
|
71
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
72
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
73
|
+
},
|
|
74
|
+
adapterMethodName: "sendAsync",
|
|
75
|
+
responseBodyFactory: createCheckMemberObjectsPostResponseFromDiscriminatorValue,
|
|
76
|
+
requestBodyContentType: "application/json",
|
|
77
|
+
requestBodySerializer: serializeCheckMemberObjectsPostRequestBody,
|
|
78
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Uri template for the request builder.
|
|
83
|
+
*/
|
|
84
|
+
exports.CheckMemberObjectsRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/checkMemberObjects";
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to count the resources in the collection.
|
|
4
|
+
*/
|
|
5
|
+
export interface CountRequestBuilder extends BaseRequestBuilder<CountRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Get the number of the resource
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of Integer
|
|
10
|
+
*/
|
|
11
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Get the number of the resource
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns a RequestInformation
|
|
16
|
+
*/
|
|
17
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get the number of the resource
|
|
21
|
+
*/
|
|
22
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Filter items by property values
|
|
25
|
+
*/
|
|
26
|
+
filter?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Search items by search phrases
|
|
29
|
+
*/
|
|
30
|
+
search?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
36
|
+
/**
|
|
37
|
+
* Uri template for the request builder.
|
|
38
|
+
*/
|
|
39
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/$count{?%24search,%24filter}";
|
|
40
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,qFAAqF,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
10
|
+
*/
|
|
11
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
12
|
+
"filter": "%24filter",
|
|
13
|
+
"search": "%24search",
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Metadata for all the requests in the request builder.
|
|
17
|
+
*/
|
|
18
|
+
exports.CountRequestBuilderRequestsMetadata = {
|
|
19
|
+
get: {
|
|
20
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
21
|
+
errorMappings: {
|
|
22
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
23
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
24
|
+
},
|
|
25
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
26
|
+
responseBodyFactory: "number",
|
|
27
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Uri template for the request builder.
|
|
32
|
+
*/
|
|
33
|
+
exports.CountRequestBuilderUriTemplate = "{+baseurl}/contacts/{orgContact%2Did}/directReports/$count{?%24search,%24filter}";
|
|
34
|
+
/* tslint:enable */
|
|
35
|
+
/* eslint-enable */
|