@microsoft/msgraph-sdk-users 1.0.0-preview.91 → 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/authentication/index.d.ts +5 -0
- package/users/item/authentication/index.d.ts.map +1 -1
- package/users/item/authentication/index.js +6 -0
- package/users/item/authentication/index.js.map +1 -1
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/count/index.d.ts +41 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/count/index.d.ts.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/count/index.js +34 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/count/index.js.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/index.d.ts +83 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/index.d.ts.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/index.js +59 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/index.js.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/device/index.d.ts +42 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/device/index.d.ts.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/device/index.js +36 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/device/index.js.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/index.d.ts +65 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/index.d.ts.map +1 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/index.js +54 -0
- package/users/item/authentication/resourceAccountKeyAuthenticationMethods/item/index.js.map +1 -0
- 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
- package/users/item/mailFolders/delta/index.d.ts +3 -3
- package/users/item/mailFolders/item/childFolders/delta/index.d.ts +3 -3
|
@@ -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
|
+
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,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC1F;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAC7B;AACD;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,kBAAkB,CAAC,wBAAwB,CAAC;IAC1F;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,yBAAyB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpJ;AACD;;;;GAIG;AAEH,wBAAgB,qDAAqD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE7K;AACD;;;;GAIG;AAEH,wBAAgB,wCAAwC,CAAC,yBAAyB,GAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKnL;AACD;;;;;GAKG;AAEH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,mBAAmB,EAAE,yBAAyB,GAAE,OAAO,CAAC,yBAAyB,CAAC,GAAG,SAAS,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,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;AAkC7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,qDAAqD,CAAC,SAAgC;IAClG,OAAO,wCAAwC,CAAC;AACpD,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,wCAAwC,CAAC,4BAA4E,EAAE;IACnI,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACrF,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,yBAAyB,CAAC,OAAO,GAAG,CAAC,CAAC,2BAA2B,CAAS,kCAAkC,CAAC,CAAC,CAAC,CAAC;KACrI,CAAA;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,kCAAkC,CAAC,MAA2B,EAAE,4BAAmF,EAAE,EAAE,2BAAoC,KAAK;IAC5M,IAAI,CAAC,yBAAyB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IACvE,MAAM,CAAC,6BAA6B,CAAS,SAAS,EAAE,yBAAyB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;IAC5G,MAAM,CAAC,mBAAmB,CAAC,yBAAyB,CAAC,cAAc,CAAC,CAAC;AACzE,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,mFAAmF,CAAC;AACvI;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAqB;IACtE,IAAI,EAAE;QACF,WAAW,EAAE,mCAAmC;QAChD,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,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
|
|
@@ -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,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AAEH,wBAAgB,wDAAwD,CAAC,SAAS,EAAE,SAAS,GAAG,S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|
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,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AC;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,OAAO,EAA2E,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAIxJ,OAAO,EAA4C,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEhH,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,OAAO,EAAkF,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhJ,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,kCAAmC,SAAQ,kBAAkB,CAA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,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,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAsH;IACnL,UAAU,EAAE;QACR,gBAAgB,EAAE,wCAAwC;KAC7D;IACD,aAAa,EAAE;QACX,gBAAgB,EAAE,2CAA2C;KAChE;IACD,OAAO,EAAE;QACL,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,uCAAuC;KAC9D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,kDAAkD,GAAqB;IAChF,MAAM,EAAE;QACJ,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,6CAA6C;QAC1D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,qBAAqB,EAAE,0DAA0D;KACpF;IACD,KAAK,EAAE;QACH,WAAW,EAAE,6CAA6C;QAC1D,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,yBAAyB;QAChD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 {Promise<number>}
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* Get the number of the resource
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get the number of the resource
|
|
22
|
+
*/
|
|
23
|
+
export interface CountRequestBuilderGetQueryParameters {
|
|
24
|
+
/**
|
|
25
|
+
* Filter items by property values
|
|
26
|
+
*/
|
|
27
|
+
filter?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Search items by search phrases
|
|
30
|
+
*/
|
|
31
|
+
search?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$count{?%24filter,%24search}";
|
|
37
|
+
/**
|
|
38
|
+
* Metadata for all the requests in the request builder.
|
|
39
|
+
*/
|
|
40
|
+
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
41
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,gHAAgH,CAAC;AAQ5J;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members/$count{?%24filter,%24search}";
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const CountRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"filter": "%24filter",
|
|
15
|
+
"search": "%24search",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the requests in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
21
|
+
get: {
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
23
|
+
responseBodyContentType: "text/plain;q=0.9",
|
|
24
|
+
errorMappings: {
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitive",
|
|
28
|
+
responseBodyFactory: "number",
|
|
29
|
+
queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/* tslint:enable */
|
|
33
|
+
/* eslint-enable */
|
|
34
|
+
//# 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,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,6GAA6G,CAAC;AAC5J;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { type DistributionListMemberCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type DistributionListMemberItemRequestBuilder } 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 members property of the microsoft.graph.distributionList entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to count the resources in the collection.
|
|
11
|
+
*/
|
|
12
|
+
get count(): CountRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the members property of the microsoft.graph.distributionList entity.
|
|
15
|
+
* @param distributionListMemberId The unique identifier of distributionListMember
|
|
16
|
+
* @returns {DistributionListMemberItemRequestBuilder}
|
|
17
|
+
*/
|
|
18
|
+
byDistributionListMemberId(distributionListMemberId: string): DistributionListMemberItemRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* The members of the distribution list. Not returned by default; use $expand=members to include. Read-only.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<DistributionListMemberCollectionResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
*/
|
|
25
|
+
get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<DistributionListMemberCollectionResponse | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The members of the distribution list. Not returned by default; use $expand=members to include. Read-only.
|
|
28
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
29
|
+
* @returns {RequestInformation}
|
|
30
|
+
*/
|
|
31
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The members of the distribution list. Not returned by default; use $expand=members to include. Read-only.
|
|
35
|
+
*/
|
|
36
|
+
export interface MembersRequestBuilderGetQueryParameters {
|
|
37
|
+
/**
|
|
38
|
+
* Include count of items
|
|
39
|
+
*/
|
|
40
|
+
count?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Expand related entities
|
|
43
|
+
*/
|
|
44
|
+
expand?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* Filter items by property values
|
|
47
|
+
*/
|
|
48
|
+
filter?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Order items by property values
|
|
51
|
+
*/
|
|
52
|
+
orderby?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Search items by search phrases
|
|
55
|
+
*/
|
|
56
|
+
search?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Select properties to be returned
|
|
59
|
+
*/
|
|
60
|
+
select?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* Skip the first n items
|
|
63
|
+
*/
|
|
64
|
+
skip?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Show only the first n items
|
|
67
|
+
*/
|
|
68
|
+
top?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Uri template for the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const MembersRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/distributionLists/{distributionList%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
74
|
+
/**
|
|
75
|
+
* Metadata for all the navigation properties in the request builder.
|
|
76
|
+
*/
|
|
77
|
+
export declare const MembersRequestBuilderNavigationMetadata: Record<Exclude<keyof MembersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
78
|
+
/**
|
|
79
|
+
* Metadata for all the requests in the request builder.
|
|
80
|
+
*/
|
|
81
|
+
export declare const MembersRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
82
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwE,KAAK,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AAI7K,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAwH,KAAK,wCAAwC,EAAE,MAAM,iBAAiB,CAAC;AAEtM,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,qBAA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