@microsoft/msgraph-sdk-users 1.0.0-preview.92 → 1.0.0-preview.95
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/README.md +2 -0
- package/package.json +5 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/users/item/calendarGroups/item/calendars/delta/index.d.ts +92 -0
- package/users/item/calendarGroups/item/calendars/delta/index.d.ts.map +1 -0
- package/users/item/calendarGroups/item/calendars/delta/index.js +74 -0
- package/users/item/calendarGroups/item/calendars/delta/index.js.map +1 -0
- package/users/item/calendarGroups/item/calendars/index.d.ts +5 -0
- package/users/item/calendarGroups/item/calendars/index.d.ts.map +1 -1
- package/users/item/calendarGroups/item/calendars/index.js +5 -0
- package/users/item/calendarGroups/item/calendars/index.js.map +1 -1
- package/users/item/calendars/delta/index.d.ts +92 -0
- package/users/item/calendars/delta/index.d.ts.map +1 -0
- package/users/item/calendars/delta/index.js +74 -0
- package/users/item/calendars/delta/index.js.map +1 -0
- package/users/item/calendars/index.d.ts +5 -0
- package/users/item/calendars/index.d.ts.map +1 -1
- package/users/item/calendars/index.js +5 -0
- package/users/item/calendars/index.js.map +1 -1
- package/users/item/distributionLists/count/index.d.ts +41 -0
- package/users/item/distributionLists/count/index.d.ts.map +1 -0
- package/users/item/distributionLists/count/index.js +34 -0
- package/users/item/distributionLists/count/index.js.map +1 -0
- package/users/item/distributionLists/index.d.ts +97 -0
- package/users/item/distributionLists/index.d.ts.map +1 -0
- package/users/item/distributionLists/index.js +71 -0
- package/users/item/distributionLists/index.js.map +1 -0
- package/users/item/distributionLists/item/addMembers/index.d.ts +60 -0
- package/users/item/distributionLists/item/addMembers/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/addMembers/index.js +66 -0
- package/users/item/distributionLists/item/addMembers/index.js.map +1 -0
- package/users/item/distributionLists/item/deleteMembers/index.d.ts +60 -0
- package/users/item/distributionLists/item/deleteMembers/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/deleteMembers/index.js +66 -0
- package/users/item/distributionLists/item/deleteMembers/index.js.map +1 -0
- package/users/item/distributionLists/item/index.d.ts +88 -0
- package/users/item/distributionLists/item/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/index.js +77 -0
- package/users/item/distributionLists/item/index.js.map +1 -0
- package/users/item/distributionLists/item/members/count/index.d.ts +41 -0
- package/users/item/distributionLists/item/members/count/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/members/count/index.js +34 -0
- package/users/item/distributionLists/item/members/count/index.js.map +1 -0
- package/users/item/distributionLists/item/members/index.d.ts +82 -0
- package/users/item/distributionLists/item/members/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/members/index.js +59 -0
- package/users/item/distributionLists/item/members/index.js.map +1 -0
- package/users/item/distributionLists/item/members/item/contact/index.d.ts +42 -0
- package/users/item/distributionLists/item/members/item/contact/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/members/item/contact/index.js +36 -0
- package/users/item/distributionLists/item/members/item/contact/index.js.map +1 -0
- package/users/item/distributionLists/item/members/item/index.d.ts +51 -0
- package/users/item/distributionLists/item/members/item/index.d.ts.map +1 -0
- package/users/item/distributionLists/item/members/item/index.js +46 -0
- package/users/item/distributionLists/item/members/item/index.js.map +1 -0
- package/users/item/index.d.ts +5 -0
- package/users/item/index.d.ts.map +1 -1
- package/users/item/index.js +6 -0
- package/users/item/index.js.map +1 -1
- package/users/item/insights/index.d.ts +2 -0
- package/users/item/insights/index.d.ts.map +1 -1
- package/users/item/insights/index.js.map +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { type DistributionList, type DistributionListCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type DistributionListItemRequestBuilder } from './item/index.js';
|
|
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 distributionLists property of the microsoft.graph.user entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface DistributionListsRequestBuilder extends BaseRequestBuilder<DistributionListsRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the distributionLists property of the microsoft.graph.user entity.
|
|
15
|
+
* @param distributionListId The unique identifier of distributionList
|
|
16
|
+
* @returns {DistributionListItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byDistributionListId(distributionListId: string): DistributionListItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<DistributionListCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<DistributionListsRequestBuilderGetQueryParameters> | undefined): Promise<DistributionListCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create new navigation property to distributionLists for users
|
|
28
|
+
* @param body The request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {Promise<DistributionList>}
|
|
31
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
32
|
+
*/
|
|
33
|
+
post(body: DistributionList, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DistributionList | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
36
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
37
|
+
* @returns {RequestInformation}
|
|
38
|
+
*/
|
|
39
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DistributionListsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
40
|
+
/**
|
|
41
|
+
* Create new navigation property to distributionLists for users
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @returns {RequestInformation}
|
|
45
|
+
*/
|
|
46
|
+
toPostRequestInformation(body: DistributionList, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
50
|
+
*/
|
|
51
|
+
export interface DistributionListsRequestBuilderGetQueryParameters {
|
|
52
|
+
/**
|
|
53
|
+
* Include count of items
|
|
54
|
+
*/
|
|
55
|
+
count?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Expand related entities
|
|
58
|
+
*/
|
|
59
|
+
expand?: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter items by property values
|
|
62
|
+
*/
|
|
63
|
+
filter?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Order items by property values
|
|
66
|
+
*/
|
|
67
|
+
orderby?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Search items by search phrases
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Select properties to be returned
|
|
74
|
+
*/
|
|
75
|
+
select?: string[];
|
|
76
|
+
/**
|
|
77
|
+
* Skip the first n items
|
|
78
|
+
*/
|
|
79
|
+
skip?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Show only the first n items
|
|
82
|
+
*/
|
|
83
|
+
top?: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Uri template for the request builder.
|
|
87
|
+
*/
|
|
88
|
+
export declare const DistributionListsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
89
|
+
/**
|
|
90
|
+
* Metadata for all the navigation properties in the request builder.
|
|
91
|
+
*/
|
|
92
|
+
export declare const DistributionListsRequestBuilderNavigationMetadata: Record<Exclude<keyof DistributionListsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
93
|
+
/**
|
|
94
|
+
* Metadata for all the requests in the request builder.
|
|
95
|
+
*/
|
|
96
|
+
export declare const DistributionListsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
97
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2I,KAAK,gBAAgB,EAAE,KAAK,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAIjQ,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4G,KAAK,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAEpL,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,+BAAgC,SAAQ,kBAAkB,CAAC,+BAA+B,CAAC;IACxG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,oBAAoB,CAAC,kBAAkB,EAAE,MAAM,GAAI,kCAAkC,CAAC;IACvF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,kCAAkC,GAAG,SAAS,CAAC,CAAC;IAC3K;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IACvI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,iDAAiD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC1J;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC3I;AACD;;GAEG;AACH,MAAM,WAAW,iDAAiD;IAC9D;;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,0CAA0C,gIAAgI,CAAC;AAcxL;;GAEG;AACH,eAAO,MAAM,iDAAiD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+BAA+B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAS5K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAuB7D,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDistributionListCollectionResponseFromDiscriminatorValue, createDistributionListFromDiscriminatorValue, serializeDistributionList } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { DistributionListItemRequestBuilderNavigationMetadata, DistributionListItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
|
+
/**
|
|
13
|
+
* Uri template for the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const DistributionListsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
16
|
+
/**
|
|
17
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
18
|
+
*/
|
|
19
|
+
const DistributionListsRequestBuilderGetQueryParametersMapper = {
|
|
20
|
+
"count": "%24count",
|
|
21
|
+
"expand": "%24expand",
|
|
22
|
+
"filter": "%24filter",
|
|
23
|
+
"orderby": "%24orderby",
|
|
24
|
+
"search": "%24search",
|
|
25
|
+
"select": "%24select",
|
|
26
|
+
"skip": "%24skip",
|
|
27
|
+
"top": "%24top",
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Metadata for all the navigation properties in the request builder.
|
|
31
|
+
*/
|
|
32
|
+
export const DistributionListsRequestBuilderNavigationMetadata = {
|
|
33
|
+
byDistributionListId: {
|
|
34
|
+
requestsMetadata: DistributionListItemRequestBuilderRequestsMetadata,
|
|
35
|
+
navigationMetadata: DistributionListItemRequestBuilderNavigationMetadata,
|
|
36
|
+
pathParametersMappings: ["distributionList%2Did"],
|
|
37
|
+
},
|
|
38
|
+
count: {
|
|
39
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Metadata for all the requests in the request builder.
|
|
44
|
+
*/
|
|
45
|
+
export const DistributionListsRequestBuilderRequestsMetadata = {
|
|
46
|
+
get: {
|
|
47
|
+
uriTemplate: DistributionListsRequestBuilderUriTemplate,
|
|
48
|
+
responseBodyContentType: "application/json",
|
|
49
|
+
errorMappings: {
|
|
50
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
51
|
+
},
|
|
52
|
+
adapterMethodName: "send",
|
|
53
|
+
responseBodyFactory: createDistributionListCollectionResponseFromDiscriminatorValue,
|
|
54
|
+
queryParametersMapper: DistributionListsRequestBuilderGetQueryParametersMapper,
|
|
55
|
+
},
|
|
56
|
+
post: {
|
|
57
|
+
uriTemplate: DistributionListsRequestBuilderUriTemplate,
|
|
58
|
+
responseBodyContentType: "application/json",
|
|
59
|
+
errorMappings: {
|
|
60
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
61
|
+
},
|
|
62
|
+
adapterMethodName: "send",
|
|
63
|
+
responseBodyFactory: createDistributionListFromDiscriminatorValue,
|
|
64
|
+
requestBodyContentType: "application/json",
|
|
65
|
+
requestBodySerializer: serializeDistributionList,
|
|
66
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
/* tslint:enable */
|
|
70
|
+
/* eslint-enable */
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,8DAA8D,EAAE,4CAA4C,EAAE,yBAAyB,EAAkE,MAAM,wCAAwC,CAAC;AACjQ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AAC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1
|
+
import { type DistributionList, type Member } from '@microsoft/msgraph-sdk/models/index.js';
|
|
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 AddMembersPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
|
+
/**
|
|
5
|
+
* Stores model information.
|
|
6
|
+
*/
|
|
7
|
+
backingStoreEnabled?: boolean | null;
|
|
8
|
+
/**
|
|
9
|
+
* The Members property
|
|
10
|
+
*/
|
|
11
|
+
members?: Member[] | null;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to call the addMembers method.
|
|
15
|
+
*/
|
|
16
|
+
export interface AddMembersRequestBuilder extends BaseRequestBuilder<AddMembersRequestBuilder> {
|
|
17
|
+
/**
|
|
18
|
+
* Invoke action addMembers
|
|
19
|
+
* @param body The request body
|
|
20
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
21
|
+
* @returns {Promise<DistributionList>}
|
|
22
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
23
|
+
*/
|
|
24
|
+
post(body: AddMembersPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DistributionList | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Invoke action addMembers
|
|
27
|
+
* @param body The request body
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toPostRequestInformation(body: AddMembersPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
35
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
36
|
+
* @returns {AddMembersPostRequestBody}
|
|
37
|
+
*/
|
|
38
|
+
export declare function createAddMembersPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @param AddMembersPostRequestBody The instance to deserialize into.
|
|
42
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43
|
+
*/
|
|
44
|
+
export declare function deserializeIntoAddMembersPostRequestBody(addMembersPostRequestBody?: Partial<AddMembersPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
45
|
+
/**
|
|
46
|
+
* Serializes information the current object
|
|
47
|
+
* @param AddMembersPostRequestBody The instance to serialize from.
|
|
48
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
export declare function serializeAddMembersPostRequestBody(writer: SerializationWriter, addMembersPostRequestBody?: Partial<AddMembersPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
52
|
+
/**
|
|
53
|
+
* Uri template for the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const AddMembersRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/addMembers";
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const AddMembersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgI,KAAK,gBAAgB,EAAE,KAAK,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAI1N,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ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GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAIvN;AACD;;GAEG;AACH,eAAO,MAAM,mCAAmC,sFAAsF,CAAC;AACvI;;GAEG;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAatD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDistributionListFromDiscriminatorValue, createMemberFromDiscriminatorValue, serializeMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {AddMembersPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createAddMembersPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAddMembersPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param AddMembersPostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoAddMembersPostRequestBody(addMembersPostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { addMembersPostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"Members": n => { addMembersPostRequestBody.members = n.getCollectionOfObjectValues(createMemberFromDiscriminatorValue); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param AddMembersPostRequestBody The instance to serialize from.
|
|
32
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeAddMembersPostRequestBody(writer, addMembersPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!addMembersPostRequestBody || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeCollectionOfObjectValues("Members", addMembersPostRequestBody.members, serializeMember);
|
|
41
|
+
writer.writeAdditionalData(addMembersPostRequestBody.additionalData);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export const AddMembersRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/addMembers";
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export const AddMembersRequestBuilderRequestsMetadata = {
|
|
51
|
+
post: {
|
|
52
|
+
uriTemplate: AddMembersRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createDistributionListFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeAddMembersPostRequestBody,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oB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B,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,kCAAkC;QACzD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type DistributionList, type Member } from '@microsoft/msgraph-sdk/models/index.js';
|
|
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 {DeleteMembersPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createDeleteMembersPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
export interface DeleteMembersPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
10
|
+
/**
|
|
11
|
+
* Stores model information.
|
|
12
|
+
*/
|
|
13
|
+
backingStoreEnabled?: boolean | null;
|
|
14
|
+
/**
|
|
15
|
+
* The Members property
|
|
16
|
+
*/
|
|
17
|
+
members?: Member[] | null;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to call the deleteMembers method.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteMembersRequestBuilder extends BaseRequestBuilder<DeleteMembersRequestBuilder> {
|
|
23
|
+
/**
|
|
24
|
+
* Invoke action deleteMembers
|
|
25
|
+
* @param body The request body
|
|
26
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
|
+
* @returns {Promise<DistributionList>}
|
|
28
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
+
*/
|
|
30
|
+
post(body: DeleteMembersPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DistributionList | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Invoke action deleteMembers
|
|
33
|
+
* @param body The request body
|
|
34
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
35
|
+
* @returns {RequestInformation}
|
|
36
|
+
*/
|
|
37
|
+
toPostRequestInformation(body: DeleteMembersPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* The deserialization information for the current model
|
|
41
|
+
* @param DeleteMembersPostRequestBody The instance to deserialize into.
|
|
42
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43
|
+
*/
|
|
44
|
+
export declare function deserializeIntoDeleteMembersPostRequestBody(deleteMembersPostRequestBody?: Partial<DeleteMembersPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
45
|
+
/**
|
|
46
|
+
* Serializes information the current object
|
|
47
|
+
* @param DeleteMembersPostRequestBody The instance to serialize from.
|
|
48
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
+
* @param writer Serialization writer to use to serialize this model
|
|
50
|
+
*/
|
|
51
|
+
export declare function serializeDeleteMembersPostRequestBody(writer: SerializationWriter, deleteMembersPostRequestBody?: Partial<DeleteMembersPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
52
|
+
/**
|
|
53
|
+
* Uri template for the request builder.
|
|
54
|
+
*/
|
|
55
|
+
export declare const DeleteMembersRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/deleteMembers";
|
|
56
|
+
/**
|
|
57
|
+
* Metadata for all the requests in the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const DeleteMembersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
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AAC,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK5L;AACD;;;;;GAKG;AAEH,wBAAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAIhO;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,yFAAyF,CAAC;AAC7I;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAazD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDistributionListFromDiscriminatorValue, createMemberFromDiscriminatorValue, serializeMember } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {DeleteMembersPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createDeleteMembersPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoDeleteMembersPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param DeleteMembersPostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoDeleteMembersPostRequestBody(deleteMembersPostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { deleteMembersPostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"Members": n => { deleteMembersPostRequestBody.members = n.getCollectionOfObjectValues(createMemberFromDiscriminatorValue); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param DeleteMembersPostRequestBody The instance to serialize from.
|
|
32
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeDeleteMembersPostRequestBody(writer, deleteMembersPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!deleteMembersPostRequestBody || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeCollectionOfObjectValues("Members", deleteMembersPostRequestBody.members, serializeMember);
|
|
41
|
+
writer.writeAdditionalData(deleteMembersPostRequestBody.additionalData);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export const DeleteMembersRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/deleteMembers";
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export const DeleteMembersRequestBuilderRequestsMetadata = {
|
|
51
|
+
post: {
|
|
52
|
+
uriTemplate: DeleteMembersRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createDistributionListFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeDeleteMembersPostRequestBody,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,kCAAkC,EAA6B,eAAe,EAAsC,MAAM,wCAAwC,CAAC;AAC1N,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,wDAAwD,CAAC,SAAgC;IACrG,OAAO,2CAA2C,CAAC;AACvD,CAAC;AA+BD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,2CAA2C,CAAC,+BAAkF,EAAE;IAC5I,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,4BAA4B,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACxF,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,4BAA4B,CAAC,OAAO,GAAG,CAAC,CAAC,2BAA2B,CAAS,kCAAkC,CAAC,CAAC,CAAC,CAAC;KACxI,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,qCAAqC,CAAC,MAA2B,EAAE,+BAAyF,EAAE,EAAE,2BAAoC,KAAK;IACrN,IAAI,CAAC,4BAA4B,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC1E,MAAM,CAAC,6BAA6B,CAAS,SAAS,EAAE,4BAA4B,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;IAC/G,MAAM,CAAC,mBAAmB,CAAC,4BAA4B,CAAC,cAAc,CAAC,CAAC;AAC5E,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,sFAAsF,CAAC;AAC7I;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,IAAI,EAAE;QACF,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,qCAAqC;QAC5D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { type DistributionList } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AddMembersRequestBuilder } from './addMembers/index.js';
|
|
3
|
+
import { type DeleteMembersRequestBuilder } from './deleteMembers/index.js';
|
|
4
|
+
import { type MembersRequestBuilder } from './members/index.js';
|
|
5
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
6
|
+
/**
|
|
7
|
+
* Provides operations to manage the distributionLists property of the microsoft.graph.user entity.
|
|
8
|
+
*/
|
|
9
|
+
export interface DistributionListItemRequestBuilder extends BaseRequestBuilder<DistributionListItemRequestBuilder> {
|
|
10
|
+
/**
|
|
11
|
+
* Provides operations to call the addMembers method.
|
|
12
|
+
*/
|
|
13
|
+
get addMembers(): AddMembersRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the deleteMembers method.
|
|
16
|
+
*/
|
|
17
|
+
get deleteMembers(): DeleteMembersRequestBuilder;
|
|
18
|
+
/**
|
|
19
|
+
* Provides operations to manage the members property of the microsoft.graph.distributionList entity.
|
|
20
|
+
*/
|
|
21
|
+
get members(): MembersRequestBuilder;
|
|
22
|
+
/**
|
|
23
|
+
* Delete navigation property distributionLists for users
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
26
|
+
*/
|
|
27
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<DistributionList>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
*/
|
|
34
|
+
get(requestConfiguration?: RequestConfiguration<DistributionListItemRequestBuilderGetQueryParameters> | undefined): Promise<DistributionList | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Update the navigation property distributionLists in users
|
|
37
|
+
* @param body The request body
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {Promise<DistributionList>}
|
|
40
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
41
|
+
*/
|
|
42
|
+
patch(body: DistributionList, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DistributionList | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* Delete navigation property distributionLists for users
|
|
45
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
46
|
+
* @returns {RequestInformation}
|
|
47
|
+
*/
|
|
48
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
49
|
+
/**
|
|
50
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DistributionListItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
55
|
+
/**
|
|
56
|
+
* Update the navigation property distributionLists in users
|
|
57
|
+
* @param body The request body
|
|
58
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
|
+
* @returns {RequestInformation}
|
|
60
|
+
*/
|
|
61
|
+
toPatchRequestInformation(body: DistributionList, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The personal distribution lists in the user's mailbox. Read-only. Nullable.
|
|
65
|
+
*/
|
|
66
|
+
export interface DistributionListItemRequestBuilderGetQueryParameters {
|
|
67
|
+
/**
|
|
68
|
+
* Expand related entities
|
|
69
|
+
*/
|
|
70
|
+
expand?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* Select properties to be returned
|
|
73
|
+
*/
|
|
74
|
+
select?: string[];
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Uri template for the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const DistributionListItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}{?%24expand,%24select}";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the navigation properties in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const DistributionListItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DistributionListItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
84
|
+
/**
|
|
85
|
+
* Metadata for all the requests in the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const DistributionListItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
88
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OA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B,CAAC,EAAE,oBAAoB,CAAC,oDAAoD,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC7J;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5I;AACD;;GAEG;AACH,MAAM,WAAW,oDAAoD;IACjE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,iGAAiG,CAAC;AAQ5J;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,kCAAkC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAWlL,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBA+BhE,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDistributionListFromDiscriminatorValue, serializeDistributionList } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { AddMembersRequestBuilderRequestsMetadata } from './addMembers/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { DeleteMembersRequestBuilderRequestsMetadata } from './deleteMembers/index.js';
|
|
12
|
+
// @ts-ignore
|
|
13
|
+
import { MembersRequestBuilderNavigationMetadata, MembersRequestBuilderRequestsMetadata } from './members/index.js';
|
|
14
|
+
/**
|
|
15
|
+
* Uri template for the request builder.
|
|
16
|
+
*/
|
|
17
|
+
export const DistributionListItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}{?%24expand,%24select}";
|
|
18
|
+
/**
|
|
19
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
20
|
+
*/
|
|
21
|
+
const DistributionListItemRequestBuilderGetQueryParametersMapper = {
|
|
22
|
+
"expand": "%24expand",
|
|
23
|
+
"select": "%24select",
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Metadata for all the navigation properties in the request builder.
|
|
27
|
+
*/
|
|
28
|
+
export const DistributionListItemRequestBuilderNavigationMetadata = {
|
|
29
|
+
addMembers: {
|
|
30
|
+
requestsMetadata: AddMembersRequestBuilderRequestsMetadata,
|
|
31
|
+
},
|
|
32
|
+
deleteMembers: {
|
|
33
|
+
requestsMetadata: DeleteMembersRequestBuilderRequestsMetadata,
|
|
34
|
+
},
|
|
35
|
+
members: {
|
|
36
|
+
requestsMetadata: MembersRequestBuilderRequestsMetadata,
|
|
37
|
+
navigationMetadata: MembersRequestBuilderNavigationMetadata,
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Metadata for all the requests in the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export const DistributionListItemRequestBuilderRequestsMetadata = {
|
|
44
|
+
delete: {
|
|
45
|
+
uriTemplate: DistributionListItemRequestBuilderUriTemplate,
|
|
46
|
+
responseBodyContentType: "application/json",
|
|
47
|
+
errorMappings: {
|
|
48
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "sendNoResponseContent",
|
|
51
|
+
},
|
|
52
|
+
get: {
|
|
53
|
+
uriTemplate: DistributionListItemRequestBuilderUriTemplate,
|
|
54
|
+
responseBodyContentType: "application/json",
|
|
55
|
+
errorMappings: {
|
|
56
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
adapterMethodName: "send",
|
|
59
|
+
responseBodyFactory: createDistributionListFromDiscriminatorValue,
|
|
60
|
+
queryParametersMapper: DistributionListItemRequestBuilderGetQueryParametersMapper,
|
|
61
|
+
},
|
|
62
|
+
patch: {
|
|
63
|
+
uriTemplate: DistributionListItemRequestBuilderUriTemplate,
|
|
64
|
+
responseBodyContentType: "application/json",
|
|
65
|
+
errorMappings: {
|
|
66
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
67
|
+
},
|
|
68
|
+
adapterMethodName: "send",
|
|
69
|
+
responseBodyFactory: createDistributionListFromDiscriminatorValue,
|
|
70
|
+
requestBodyContentType: "application/json",
|
|
71
|
+
requestBodySerializer: serializeDistributionList,
|
|
72
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
/* tslint:enable */
|
|
76
|
+
/* eslint-enable */
|
|
77
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,yBAAyB,EAAyB,MAAM,wCAAwC,CAAC;AACxJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AAChH,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAoC,MAAM,0BAA0B,CAAC;AACzH,aAAa;AACb,OAAO,EAAE,uCAAuC,EAAE,qCAAqC,EAA8B,MAAM,oBAAoB,CAAC;AA0EhJ;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAG,8FAA8F,CAAC;AAC5J;;GAEG;AACH,MAAM,0DAA0D,GAA2B;IACvF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CA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