@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,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCalendarFromDiscriminatorValue, deserializeIntoBaseDeltaFunctionResponse, serializeBaseDeltaFunctionResponse, serializeCalendar } 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 {DeltaGetResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoDeltaGetResponse;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param DeltaGetResponse The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
|
|
24
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseDeltaFunctionResponse(deltaGetResponse)), { "value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); } });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param DeltaGetResponse The instance to serialize from.
|
|
29
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
export function serializeDeltaGetResponse(writer, deltaGetResponse = {}, isSerializingDerivedType = false) {
|
|
34
|
+
if (!deltaGetResponse || isSerializingDerivedType) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
serializeBaseDeltaFunctionResponse(writer, deltaGetResponse, isSerializingDerivedType);
|
|
38
|
+
writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeCalendar);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export const DeltaRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
44
|
+
/**
|
|
45
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
46
|
+
*/
|
|
47
|
+
const DeltaRequestBuilderGetQueryParametersMapper = {
|
|
48
|
+
"count": "%24count",
|
|
49
|
+
"expand": "%24expand",
|
|
50
|
+
"filter": "%24filter",
|
|
51
|
+
"orderby": "%24orderby",
|
|
52
|
+
"search": "%24search",
|
|
53
|
+
"select": "%24select",
|
|
54
|
+
"skip": "%24skip",
|
|
55
|
+
"top": "%24top",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export const DeltaRequestBuilderRequestsMetadata = {
|
|
61
|
+
get: {
|
|
62
|
+
uriTemplate: DeltaRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
errorMappings: {
|
|
65
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "send",
|
|
68
|
+
responseBodyFactory: createDeltaGetResponseFromDiscriminatorValue,
|
|
69
|
+
queryParametersMapper: DeltaRequestBuilderGetQueryParametersMapper,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
/* tslint:enable */
|
|
73
|
+
/* eslint-enable */
|
|
74
|
+
//# 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,oCAAoC,EAAE,wCAAwC,EAAE,kCAAkC,EAAE,iBAAiB,EAAiD,MAAM,wCAAwC,CAAC;AAC9O,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,SAAgC;IACzF,OAAO,+BAA+B,CAAC;AAC3C,CAAC;AA+DD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+BAA+B,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type CalendarCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
2
|
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/index.js';
|
|
3
4
|
import { type CalendarItemRequestBuilder } from './item/index.js';
|
|
4
5
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
6
|
/**
|
|
@@ -10,6 +11,10 @@ export interface CalendarsRequestBuilder extends BaseRequestBuilder<CalendarsReq
|
|
|
10
11
|
* Provides operations to count the resources in the collection.
|
|
11
12
|
*/
|
|
12
13
|
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the delta method.
|
|
16
|
+
*/
|
|
17
|
+
get delta(): DeltaRequestBuilder;
|
|
13
18
|
/**
|
|
14
19
|
* Provides operations to manage the calendars property of the microsoft.graph.calendarGroup entity.
|
|
15
20
|
* @param calendarId The unique identifier of calendar
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAIzN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE5J,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IAC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F,wBAAwB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnI;AACD;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;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,kCAAkC,4JAA4J,CAAC;AAc5M;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
|
|
@@ -8,6 +8,8 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
10
|
// @ts-ignore
|
|
11
|
+
import { DeltaRequestBuilderRequestsMetadata } from './delta/index.js';
|
|
12
|
+
// @ts-ignore
|
|
11
13
|
import { CalendarItemRequestBuilderNavigationMetadata, CalendarItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
14
|
/**
|
|
13
15
|
* Uri template for the request builder.
|
|
@@ -38,6 +40,9 @@ export const CalendarsRequestBuilderNavigationMetadata = {
|
|
|
38
40
|
count: {
|
|
39
41
|
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
42
|
},
|
|
43
|
+
delta: {
|
|
44
|
+
requestsMetadata: DeltaRequestBuilderRequestsMetadata,
|
|
45
|
+
},
|
|
41
46
|
};
|
|
42
47
|
/**
|
|
43
48
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +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,sDAAsD,EAAE,oCAAoC,EAAE,iBAAiB,EAAkD,MAAM,wCAAwC,CAAC;AACzN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAmC,MAAM,iBAAiB,CAAC;
|
|
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,sDAAsD,EAAE,oCAAoC,EAAE,iBAAiB,EAAkD,MAAM,wCAAwC,CAAC;AACzN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,4CAA4C,EAAE,0CAA0C,EAAmC,MAAM,iBAAiB,CAAC;AAwF5J;;GAEG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG,yJAAyJ,CAAC;AAC5M;;GAEG;AACH,MAAM,+CAA+C,GAA2B;IAC5E,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAA2G;IAC7J,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;QAC5D,kBAAkB,EAAE,4CAA4C;QAChE,sBAAsB,EAAE,CAAC,eAAe,CAAC;KAC5C;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,qBAAqB,EAAE,+CAA+C;KACzE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iBAAiB;QACxC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { type BaseDeltaFunctionResponse, type Calendar } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { 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 {DeltaGetResponse}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createDeltaGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
10
|
+
/**
|
|
11
|
+
* The value property
|
|
12
|
+
*/
|
|
13
|
+
value?: Calendar[] | null;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to call the delta method.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
|
+
/**
|
|
20
|
+
* Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox.
|
|
21
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
|
+
* @returns {Promise<DeltaGetResponse>}
|
|
23
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
24
|
+
* @see {@link https://learn.microsoft.com/graph/api/calendar-delta?view=graph-rest-1.0|Find more info here}
|
|
25
|
+
*/
|
|
26
|
+
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {RequestInformation}
|
|
31
|
+
*/
|
|
32
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox.
|
|
36
|
+
*/
|
|
37
|
+
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
|
+
/**
|
|
39
|
+
* Include count of items
|
|
40
|
+
*/
|
|
41
|
+
count?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Expand related entities
|
|
44
|
+
*/
|
|
45
|
+
expand?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* Filter items by property values
|
|
48
|
+
*/
|
|
49
|
+
filter?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Order items by property values
|
|
52
|
+
*/
|
|
53
|
+
orderby?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* Search items by search phrases
|
|
56
|
+
*/
|
|
57
|
+
search?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Select properties to be returned
|
|
60
|
+
*/
|
|
61
|
+
select?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* Skip the first n items
|
|
64
|
+
*/
|
|
65
|
+
skip?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Show only the first n items
|
|
68
|
+
*/
|
|
69
|
+
top?: number;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The deserialization information for the current model
|
|
73
|
+
* @param DeltaGetResponse The instance to deserialize into.
|
|
74
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
75
|
+
*/
|
|
76
|
+
export declare function deserializeIntoDeltaGetResponse(deltaGetResponse?: Partial<DeltaGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
77
|
+
/**
|
|
78
|
+
* Serializes information the current object
|
|
79
|
+
* @param DeltaGetResponse The instance to serialize from.
|
|
80
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
81
|
+
* @param writer Serialization writer to use to serialize this model
|
|
82
|
+
*/
|
|
83
|
+
export declare function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse?: Partial<DeltaGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
84
|
+
/**
|
|
85
|
+
* Uri template for the request builder.
|
|
86
|
+
*/
|
|
87
|
+
export declare const DeltaRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
88
|
+
/**
|
|
89
|
+
* Metadata for all the requests in the request builder.
|
|
90
|
+
*/
|
|
91
|
+
export declare const DeltaRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
92
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyI,KAAK,yBAAyB,EAAE,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAI9O,OAAO,EAAE,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;AAElO;;;;GAIG;AAEH,wBAAgB,4CAA4C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ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M,EAAE,mBAAmB,EAAE,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI5L;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,gIAAgI,CAAC;AAc5K;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createCalendarFromDiscriminatorValue, deserializeIntoBaseDeltaFunctionResponse, serializeBaseDeltaFunctionResponse, serializeCalendar } 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 {DeltaGetResponse}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoDeltaGetResponse;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param DeltaGetResponse The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
|
|
24
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseDeltaFunctionResponse(deltaGetResponse)), { "value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); } });
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Serializes information the current object
|
|
28
|
+
* @param DeltaGetResponse The instance to serialize from.
|
|
29
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
30
|
+
* @param writer Serialization writer to use to serialize this model
|
|
31
|
+
*/
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
export function serializeDeltaGetResponse(writer, deltaGetResponse = {}, isSerializingDerivedType = false) {
|
|
34
|
+
if (!deltaGetResponse || isSerializingDerivedType) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
serializeBaseDeltaFunctionResponse(writer, deltaGetResponse, isSerializingDerivedType);
|
|
38
|
+
writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeCalendar);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Uri template for the request builder.
|
|
42
|
+
*/
|
|
43
|
+
export const DeltaRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/calendars/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
44
|
+
/**
|
|
45
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
46
|
+
*/
|
|
47
|
+
const DeltaRequestBuilderGetQueryParametersMapper = {
|
|
48
|
+
"count": "%24count",
|
|
49
|
+
"expand": "%24expand",
|
|
50
|
+
"filter": "%24filter",
|
|
51
|
+
"orderby": "%24orderby",
|
|
52
|
+
"search": "%24search",
|
|
53
|
+
"select": "%24select",
|
|
54
|
+
"skip": "%24skip",
|
|
55
|
+
"top": "%24top",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export const DeltaRequestBuilderRequestsMetadata = {
|
|
61
|
+
get: {
|
|
62
|
+
uriTemplate: DeltaRequestBuilderUriTemplate,
|
|
63
|
+
responseBodyContentType: "application/json",
|
|
64
|
+
errorMappings: {
|
|
65
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
66
|
+
},
|
|
67
|
+
adapterMethodName: "send",
|
|
68
|
+
responseBodyFactory: createDeltaGetResponseFromDiscriminatorValue,
|
|
69
|
+
queryParametersMapper: DeltaRequestBuilderGetQueryParametersMapper,
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
/* tslint:enable */
|
|
73
|
+
/* eslint-enable */
|
|
74
|
+
//# 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,oCAAoC,EAAE,wCAAwC,EAAE,kCAAkC,EAAE,iBAAiB,EAAiD,MAAM,wCAAwC,CAAC;AAC9O,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,4CAA4C,CAAC,SAAgC;IACzF,OAAO,+BAA+B,CAAC;AAC3C,CAAC;AA+DD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+BAA+B,CAAC,mBAA0D,EAAE;IACxG,uCACO,wCAAwC,CAAC,gBAAgB,CAAC,KAC7D,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,gBAAgB,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAW,oCAAoC,CAAC,CAAC,CAAC,CAAC,IAC5H;AACL,CAAC;AACD;;;;;GAKG;AACH,aAAa;AACb,MAAM,UAAU,yBAAyB,CAAC,MAA2B,EAAE,mBAAiE,EAAE,EAAE,2BAAoC,KAAK;IACjL,IAAI,CAAC,gBAAgB,IAAI,wBAAwB,EAAE,CAAC;QAAC,OAAO;IAAC,CAAC;IAC9D,kCAAkC,CAAC,MAAM,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,CAAA;IACtF,MAAM,CAAC,6BAA6B,CAAW,OAAO,EAAE,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACvG,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,6HAA6H,CAAC;AAC5K;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,QAAQ;CAClB,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,MAAM;QACzB,mBAAmB,EAAG,4CAA4C;QAClE,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Calendar, type CalendarCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
2
|
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/index.js';
|
|
3
4
|
import { type CalendarItemRequestBuilder } from './item/index.js';
|
|
4
5
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
6
|
/**
|
|
@@ -10,6 +11,10 @@ export interface CalendarsRequestBuilder extends BaseRequestBuilder<CalendarsReq
|
|
|
10
11
|
* Provides operations to count the resources in the collection.
|
|
11
12
|
*/
|
|
12
13
|
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the delta method.
|
|
16
|
+
*/
|
|
17
|
+
get delta(): DeltaRequestBuilder;
|
|
13
18
|
/**
|
|
14
19
|
* Provides operations to manage the calendars property of the microsoft.graph.user entity.
|
|
15
20
|
* @param calendarId The unique identifier of calendar
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmH,KAAK,QAAQ,EAAE,KAAK,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAIzN,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAA4F,KAAK,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAE5J,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,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG;IACF,YAAY,CAAC,UAAU,EAAE,MAAM,GAAI,0BAA0B,CAAC;IAC/D;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC3J;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACvH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,yCAAyC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClJ;;;;;OAKG;I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ACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,wHAAwH,CAAC;AAcxK;;GAEG;AACH,eAAO,MAAM,yCAAyC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAY5J,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAuBrD,CAAC"}
|
|
@@ -8,6 +8,8 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
10
|
// @ts-ignore
|
|
11
|
+
import { DeltaRequestBuilderRequestsMetadata } from './delta/index.js';
|
|
12
|
+
// @ts-ignore
|
|
11
13
|
import { CalendarItemRequestBuilderNavigationMetadata, CalendarItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
14
|
/**
|
|
13
15
|
* Uri template for the request builder.
|
|
@@ -38,6 +40,9 @@ export const CalendarsRequestBuilderNavigationMetadata = {
|
|
|
38
40
|
count: {
|
|
39
41
|
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
42
|
},
|
|
43
|
+
delta: {
|
|
44
|
+
requestsMetadata: DeltaRequestBuilderRequestsMetadata,
|
|
45
|
+
},
|
|
41
46
|
};
|
|
42
47
|
/**
|
|
43
48
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +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,sDAAsD,EAAE,oCAAoC,EAAE,iBAAiB,EAAkD,MAAM,wCAAwC,CAAC;AACzN,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAA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AACH,MAAM,CAAC,MAAM,uCAAuC,GAAqB;IACrE,GAAG,EAAE;QACD,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sDAAsD;QAC5E,qBAAqB,EAAE,+CAA+C;KACzE;IACD,IAAI,EAAE;QACF,WAAW,EAAE,kCAAkC;QAC/C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iBAAiB;QACxC,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/$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,gFAAgF,CAAC;AAQ5H;;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/$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,6EAA6E,CAAC;AAC5H;;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,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: R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AoB,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;AACb,OAAO,EAAE,oDAAoD,EAAE,kDAAkD,EAA2C,MAAM,iBAAiB,CAAC;AAoFpL;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,6HAA6H,CAAC;AACxL;;GAEG;AACH,MAAM,uDAAuD,GAA2B;IACpF,OAAO,EAAE,UAAU;IACnB,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IAC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