@microsoft/msgraph-sdk-users 1.0.0-preview.16 → 1.0.0-preview.17
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/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/users/index.d.ts +7 -7
- package/users/item/calendar/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendar/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendarGroups/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/calendarView/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/calendarView/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/calendars/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/events/item/attachments/index.d.ts +3 -3
- package/users/item/events/item/instances/item/attachments/index.d.ts +3 -3
- package/users/item/followedSites/add/index.d.ts +84 -0
- package/users/item/followedSites/add/index.d.ts.map +1 -0
- package/users/item/followedSites/add/index.js +86 -0
- package/users/item/followedSites/index.d.ts +10 -0
- package/users/item/followedSites/index.d.ts.map +1 -1
- package/users/item/followedSites/index.js +8 -0
- package/users/item/followedSites/remove/index.d.ts +84 -0
- package/users/item/followedSites/remove/index.d.ts.map +1 -0
- package/users/item/followedSites/remove/index.js +86 -0
- package/users/item/index.d.ts +8 -8
- package/users/item/joinedTeams/item/channels/item/members/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/members/item/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/members/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/members/item/index.d.ts +3 -3
- package/users/item/mailFolders/item/childFolders/item/messages/item/attachments/index.d.ts +7 -7
- package/users/item/mailFolders/item/index.d.ts +3 -3
- package/users/item/mailFolders/item/messages/item/attachments/index.d.ts +7 -7
- package/users/item/messages/index.d.ts +3 -3
- package/users/item/messages/item/attachments/index.d.ts +7 -7
- package/users/item/messages/item/index.d.ts +6 -6
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddRequestBuilderRequestsMetadata = exports.AddRequestBuilderUriTemplate = exports.serializeAddPostResponse = exports.serializeAddPostRequestBody = exports.deserializeIntoAddPostResponse = exports.deserializeIntoAddPostRequestBody = exports.createAddPostResponseFromDiscriminatorValue = exports.createAddPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {AddPostRequestBody}
|
|
13
|
+
*/
|
|
14
|
+
function createAddPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoAddPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createAddPostRequestBodyFromDiscriminatorValue = createAddPostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns {AddPostResponse}
|
|
22
|
+
*/
|
|
23
|
+
function createAddPostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoAddPostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createAddPostResponseFromDiscriminatorValue = createAddPostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoAddPostRequestBody(addPostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { addPostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"value": n => { addPostRequestBody.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoAddPostRequestBody = deserializeIntoAddPostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoAddPostResponse(addPostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(addPostResponse)), { "value": n => { addPostResponse.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoAddPostResponse = deserializeIntoAddPostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeAddPostRequestBody(writer, addPostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfObjectValues("value", addPostRequestBody.value, models_1.serializeSite);
|
|
52
|
+
writer.writeAdditionalData(addPostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeAddPostRequestBody = serializeAddPostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeAddPostResponse(writer, addPostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, addPostResponse);
|
|
61
|
+
writer.writeCollectionOfObjectValues("value", addPostResponse.value, models_1.serializeSite);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeAddPostResponse = serializeAddPostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.AddRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/followedSites/add";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
exports.AddRequestBuilderRequestsMetadata = {
|
|
72
|
+
post: {
|
|
73
|
+
uriTemplate: exports.AddRequestBuilderUriTemplate,
|
|
74
|
+
responseBodyContentType: "application/json",
|
|
75
|
+
errorMappings: {
|
|
76
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
},
|
|
78
|
+
adapterMethodName: "send",
|
|
79
|
+
responseBodyFactory: createAddPostResponseFromDiscriminatorValue,
|
|
80
|
+
requestBodyContentType: "application/json",
|
|
81
|
+
requestBodySerializer: serializeAddPostRequestBody,
|
|
82
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { type SiteCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AddRequestBuilder } from './add/';
|
|
2
3
|
import { type CountRequestBuilder } from './count/';
|
|
3
4
|
import { type SiteItemRequestBuilder } from './item/';
|
|
5
|
+
import { type RemoveRequestBuilder } from './remove/';
|
|
4
6
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
7
|
/**
|
|
6
8
|
* Provides operations to manage the followedSites property of the microsoft.graph.user entity.
|
|
7
9
|
*/
|
|
8
10
|
export interface FollowedSitesRequestBuilder extends BaseRequestBuilder<FollowedSitesRequestBuilder> {
|
|
11
|
+
/**
|
|
12
|
+
* Provides operations to call the add method.
|
|
13
|
+
*/
|
|
14
|
+
get add(): AddRequestBuilder;
|
|
9
15
|
/**
|
|
10
16
|
* Provides operations to count the resources in the collection.
|
|
11
17
|
*/
|
|
12
18
|
get count(): CountRequestBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides operations to call the remove method.
|
|
21
|
+
*/
|
|
22
|
+
get remove(): RemoveRequestBuilder;
|
|
13
23
|
/**
|
|
14
24
|
* Provides operations to manage the followedSites property of the microsoft.graph.user entity.
|
|
15
25
|
* @param siteId The unique identifier of site
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsD,KAAK,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEjI,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,EAA0C,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAC9F,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,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;IACjC;;;;OAIG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AAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,4HAA4H,CAAC;AAchL;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAcpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAWzD,CAAC"}
|
|
@@ -6,8 +6,10 @@ exports.FollowedSitesRequestBuilderRequestsMetadata = exports.FollowedSitesReque
|
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const add_1 = require("./add/");
|
|
9
10
|
const count_1 = require("./count/");
|
|
10
11
|
const item_1 = require("./item/");
|
|
12
|
+
const remove_1 = require("./remove/");
|
|
11
13
|
/**
|
|
12
14
|
* Uri template for the request builder.
|
|
13
15
|
*/
|
|
@@ -33,9 +35,15 @@ exports.FollowedSitesRequestBuilderNavigationMetadata = {
|
|
|
33
35
|
requestsMetadata: item_1.SiteItemRequestBuilderRequestsMetadata,
|
|
34
36
|
pathParametersMappings: ["site%2Did"],
|
|
35
37
|
},
|
|
38
|
+
add: {
|
|
39
|
+
requestsMetadata: add_1.AddRequestBuilderRequestsMetadata,
|
|
40
|
+
},
|
|
36
41
|
count: {
|
|
37
42
|
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,
|
|
38
43
|
},
|
|
44
|
+
remove: {
|
|
45
|
+
requestsMetadata: remove_1.RemoveRequestBuilderRequestsMetadata,
|
|
46
|
+
},
|
|
39
47
|
};
|
|
40
48
|
/**
|
|
41
49
|
* Metadata for all the requests in the request builder.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type Site } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RemovePostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRemovePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {RemovePostResponse}
|
|
13
|
+
*/
|
|
14
|
+
export declare function createRemovePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
18
|
+
*/
|
|
19
|
+
export declare function deserializeIntoRemovePostRequestBody(removePostRequestBody?: Partial<RemovePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
20
|
+
/**
|
|
21
|
+
* The deserialization information for the current model
|
|
22
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
|
+
*/
|
|
24
|
+
export declare function deserializeIntoRemovePostResponse(removePostResponse?: Partial<RemovePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
25
|
+
export interface RemovePostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
26
|
+
/**
|
|
27
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
28
|
+
*/
|
|
29
|
+
additionalData?: Record<string, unknown>;
|
|
30
|
+
/**
|
|
31
|
+
* Stores model information.
|
|
32
|
+
*/
|
|
33
|
+
backingStoreEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The value property
|
|
36
|
+
*/
|
|
37
|
+
value?: Site[];
|
|
38
|
+
}
|
|
39
|
+
export interface RemovePostResponse extends BaseCollectionPaginationCountResponse, Parsable {
|
|
40
|
+
/**
|
|
41
|
+
* The value property
|
|
42
|
+
*/
|
|
43
|
+
value?: Site[];
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Provides operations to call the remove method.
|
|
47
|
+
*/
|
|
48
|
+
export interface RemoveRequestBuilder extends BaseRequestBuilder<RemoveRequestBuilder> {
|
|
49
|
+
/**
|
|
50
|
+
* Unfollow a user's site or multiple sites.
|
|
51
|
+
* @param body The request body
|
|
52
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
53
|
+
* @returns {Promise<RemovePostResponse>}
|
|
54
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
55
|
+
* @see {@link https://learn.microsoft.com/graph/api/site-unfollow?view=graph-rest-1.0|Find more info here}
|
|
56
|
+
*/
|
|
57
|
+
post(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RemovePostResponse | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* Unfollow a user's site or multiple sites.
|
|
60
|
+
* @param body The request body
|
|
61
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
62
|
+
* @returns {RequestInformation}
|
|
63
|
+
*/
|
|
64
|
+
toPostRequestInformation(body: RemovePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Serializes information the current object
|
|
68
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69
|
+
*/
|
|
70
|
+
export declare function serializeRemovePostRequestBody(writer: SerializationWriter, removePostRequestBody?: Partial<RemovePostRequestBody> | undefined): void;
|
|
71
|
+
/**
|
|
72
|
+
* Serializes information the current object
|
|
73
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74
|
+
*/
|
|
75
|
+
export declare function serializeRemovePostResponse(writer: SerializationWriter, removePostResponse?: Partial<RemovePostResponse> | undefined): void;
|
|
76
|
+
/**
|
|
77
|
+
* Uri template for the request builder.
|
|
78
|
+
*/
|
|
79
|
+
export declare const RemoveRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/followedSites/remove";
|
|
80
|
+
/**
|
|
81
|
+
* Metadata for all the requests in the request builder.
|
|
82
|
+
*/
|
|
83
|
+
export declare const RemoveRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
84
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyJ,KAAK,qCAAqC,EAAE,KAAK,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAE9P,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,iDAAiD,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,CAEzK;AACD;;;;GAIG;AACH,wBAAgB,8CAA8C,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,CAEtK;AACD;;;GAGG;AACH,wBAAgB,oC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GAGG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,mBAAmB,EAAE,kBAAkB,GAAE,OAAO,CAAC,kBAAkB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGhJ;AACD;;GAEG;AACH,eAAO,MAAM,+BAA+B,sDAAsD,CAAC;AACnG;;GAEG;AACH,eAAO,MAAM,oCAAoC,EAAE,gBAalD,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RemoveRequestBuilderRequestsMetadata = exports.RemoveRequestBuilderUriTemplate = exports.serializeRemovePostResponse = exports.serializeRemovePostRequestBody = exports.deserializeIntoRemovePostResponse = exports.deserializeIntoRemovePostRequestBody = exports.createRemovePostResponseFromDiscriminatorValue = exports.createRemovePostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
11
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
12
|
+
* @returns {RemovePostRequestBody}
|
|
13
|
+
*/
|
|
14
|
+
function createRemovePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRemovePostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
exports.createRemovePostRequestBodyFromDiscriminatorValue = createRemovePostRequestBodyFromDiscriminatorValue;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21
|
+
* @returns {RemovePostResponse}
|
|
22
|
+
*/
|
|
23
|
+
function createRemovePostResponseFromDiscriminatorValue(parseNode) {
|
|
24
|
+
return deserializeIntoRemovePostResponse;
|
|
25
|
+
}
|
|
26
|
+
exports.createRemovePostResponseFromDiscriminatorValue = createRemovePostResponseFromDiscriminatorValue;
|
|
27
|
+
/**
|
|
28
|
+
* The deserialization information for the current model
|
|
29
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30
|
+
*/
|
|
31
|
+
function deserializeIntoRemovePostRequestBody(removePostRequestBody = {}) {
|
|
32
|
+
return {
|
|
33
|
+
"backingStoreEnabled": n => { removePostRequestBody.backingStoreEnabled = true; },
|
|
34
|
+
"value": n => { removePostRequestBody.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
exports.deserializeIntoRemovePostRequestBody = deserializeIntoRemovePostRequestBody;
|
|
38
|
+
/**
|
|
39
|
+
* The deserialization information for the current model
|
|
40
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41
|
+
*/
|
|
42
|
+
function deserializeIntoRemovePostResponse(removePostResponse = {}) {
|
|
43
|
+
return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(removePostResponse)), { "value": n => { removePostResponse.value = n.getCollectionOfObjectValues(models_1.createSiteFromDiscriminatorValue); } });
|
|
44
|
+
}
|
|
45
|
+
exports.deserializeIntoRemovePostResponse = deserializeIntoRemovePostResponse;
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param writer Serialization writer to use to serialize this model
|
|
49
|
+
*/
|
|
50
|
+
function serializeRemovePostRequestBody(writer, removePostRequestBody = {}) {
|
|
51
|
+
writer.writeCollectionOfObjectValues("value", removePostRequestBody.value, models_1.serializeSite);
|
|
52
|
+
writer.writeAdditionalData(removePostRequestBody.additionalData);
|
|
53
|
+
}
|
|
54
|
+
exports.serializeRemovePostRequestBody = serializeRemovePostRequestBody;
|
|
55
|
+
/**
|
|
56
|
+
* Serializes information the current object
|
|
57
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58
|
+
*/
|
|
59
|
+
function serializeRemovePostResponse(writer, removePostResponse = {}) {
|
|
60
|
+
(0, models_1.serializeBaseCollectionPaginationCountResponse)(writer, removePostResponse);
|
|
61
|
+
writer.writeCollectionOfObjectValues("value", removePostResponse.value, models_1.serializeSite);
|
|
62
|
+
}
|
|
63
|
+
exports.serializeRemovePostResponse = serializeRemovePostResponse;
|
|
64
|
+
/**
|
|
65
|
+
* Uri template for the request builder.
|
|
66
|
+
*/
|
|
67
|
+
exports.RemoveRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/followedSites/remove";
|
|
68
|
+
/**
|
|
69
|
+
* Metadata for all the requests in the request builder.
|
|
70
|
+
*/
|
|
71
|
+
exports.RemoveRequestBuilderRequestsMetadata = {
|
|
72
|
+
post: {
|
|
73
|
+
uriTemplate: exports.RemoveRequestBuilderUriTemplate,
|
|
74
|
+
responseBodyContentType: "application/json",
|
|
75
|
+
errorMappings: {
|
|
76
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
77
|
+
},
|
|
78
|
+
adapterMethodName: "send",
|
|
79
|
+
responseBodyFactory: createRemovePostResponseFromDiscriminatorValue,
|
|
80
|
+
requestBodyContentType: "application/json",
|
|
81
|
+
requestBodySerializer: serializeRemovePostRequestBody,
|
|
82
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
/* tslint:enable */
|
|
86
|
+
/* eslint-enable */
|
package/users/item/index.d.ts
CHANGED
|
@@ -370,7 +370,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
370
370
|
* Deletes a user.
|
|
371
371
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
372
372
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
373
|
-
* @see {@link https://learn.microsoft.com/graph/api/intune-
|
|
373
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-delete?view=graph-rest-1.0|Find more info here}
|
|
374
374
|
*/
|
|
375
375
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
376
376
|
/**
|
|
@@ -381,20 +381,20 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
381
381
|
*/
|
|
382
382
|
exportDeviceAndAppManagementDataWithSkipWithTop(skip: number | undefined, top: number | undefined): ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder;
|
|
383
383
|
/**
|
|
384
|
-
*
|
|
384
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
385
385
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
386
386
|
* @returns {Promise<User>}
|
|
387
387
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
388
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
388
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0|Find more info here}
|
|
389
389
|
*/
|
|
390
390
|
get(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
|
|
391
391
|
/**
|
|
392
|
-
* Update the properties of a user object.
|
|
392
|
+
* Update the properties of a user object.
|
|
393
393
|
* @param body The request body
|
|
394
394
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
395
395
|
* @returns {Promise<User>}
|
|
396
396
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
397
|
-
* @see {@link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0|Find more info here}
|
|
397
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-update?view=graph-rest-1.0|Find more info here}
|
|
398
398
|
*/
|
|
399
399
|
patch(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
400
400
|
/**
|
|
@@ -411,13 +411,13 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
411
411
|
*/
|
|
412
412
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
413
413
|
/**
|
|
414
|
-
*
|
|
414
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
415
415
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
416
416
|
* @returns {RequestInformation}
|
|
417
417
|
*/
|
|
418
418
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
419
419
|
/**
|
|
420
|
-
* Update the properties of a user object.
|
|
420
|
+
* Update the properties of a user object.
|
|
421
421
|
* @param body The request body
|
|
422
422
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
423
423
|
* @returns {RequestInformation}
|
|
@@ -425,7 +425,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
425
425
|
toPatchRequestInformation(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
|
-
*
|
|
428
|
+
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
|
|
429
429
|
*/
|
|
430
430
|
export interface UserItemRequestBuilderGetQueryParameters {
|
|
431
431
|
/**
|
|
@@ -30,12 +30,12 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Add a conversationMember to a channel.
|
|
33
|
+
* Add a conversationMember to a channel.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ConversationMember>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Add a conversationMember to a channel.
|
|
48
|
+
* Add a conversationMember to a channel.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -20,12 +20,12 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
20
20
|
*/
|
|
21
21
|
get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
|
|
22
22
|
/**
|
|
23
|
-
* Update the role of a conversationMember in a
|
|
23
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
24
24
|
* @param body The request body
|
|
25
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
26
|
* @returns {Promise<ConversationMember>}
|
|
27
27
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0|Find more info here}
|
|
29
29
|
*/
|
|
30
30
|
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
31
31
|
/**
|
|
@@ -41,7 +41,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
41
41
|
*/
|
|
42
42
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
43
|
/**
|
|
44
|
-
* Update the role of a conversationMember in a
|
|
44
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
45
45
|
* @param body The request body
|
|
46
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
47
|
* @returns {RequestInformation}
|
|
@@ -30,12 +30,12 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMemberCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Add a conversationMember to a channel.
|
|
33
|
+
* Add a conversationMember to a channel.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<ConversationMember>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/conversationmember-add?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export interface MembersRequestBuilder extends BaseRequestBuilder<MembersRequest
|
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Add a conversationMember to a channel.
|
|
48
|
+
* Add a conversationMember to a channel.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -20,12 +20,12 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
20
20
|
*/
|
|
21
21
|
get(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): Promise<ConversationMember | undefined>;
|
|
22
22
|
/**
|
|
23
|
-
* Update the role of a conversationMember in a
|
|
23
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
24
24
|
* @param body The request body
|
|
25
25
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
26
26
|
* @returns {Promise<ConversationMember>}
|
|
27
27
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
28
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
28
|
+
* @see {@link https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-1.0|Find more info here}
|
|
29
29
|
*/
|
|
30
30
|
patch(body: ConversationMember, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConversationMember | undefined>;
|
|
31
31
|
/**
|
|
@@ -41,7 +41,7 @@ export interface ConversationMemberItemRequestBuilder extends BaseRequestBuilder
|
|
|
41
41
|
*/
|
|
42
42
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConversationMemberItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
43
43
|
/**
|
|
44
|
-
* Update the role of a conversationMember in a
|
|
44
|
+
* Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared.
|
|
45
45
|
* @param body The request body
|
|
46
46
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
47
47
|
* @returns {RequestInformation}
|
|
@@ -22,30 +22,30 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
22
22
|
*/
|
|
23
23
|
byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a list of attachment objects
|
|
25
|
+
* Retrieve a list of attachment objects.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<AttachmentCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Use this API to
|
|
33
|
+
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<Attachment>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a list of attachment objects
|
|
42
|
+
* Retrieve a list of attachment objects.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Use this API to
|
|
48
|
+
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
53
53
|
toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a list of attachment objects
|
|
56
|
+
* Retrieve a list of attachment objects.
|
|
57
57
|
*/
|
|
58
58
|
export interface AttachmentsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|
|
@@ -45,12 +45,12 @@ export interface MailFolderItemRequestBuilder extends BaseRequestBuilder<MailFol
|
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<MailFolderItemRequestBuilderGetQueryParameters> | undefined): Promise<MailFolder | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Update the properties of
|
|
48
|
+
* Update the writable properties of a mailSearchFolder object.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<MailFolder>}
|
|
52
52
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
53
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/mailsearchfolder-update?view=graph-rest-1.0|Find more info here}
|
|
54
54
|
*/
|
|
55
55
|
patch(body: MailFolder, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MailFolder | undefined>;
|
|
56
56
|
/**
|
|
@@ -66,7 +66,7 @@ export interface MailFolderItemRequestBuilder extends BaseRequestBuilder<MailFol
|
|
|
66
66
|
*/
|
|
67
67
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MailFolderItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
68
68
|
/**
|
|
69
|
-
* Update the properties of
|
|
69
|
+
* Update the writable properties of a mailSearchFolder object.
|
|
70
70
|
* @param body The request body
|
|
71
71
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
72
72
|
* @returns {RequestInformation}
|
|
@@ -22,30 +22,30 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
22
22
|
*/
|
|
23
23
|
byAttachmentId(attachmentId: string): AttachmentItemRequestBuilder;
|
|
24
24
|
/**
|
|
25
|
-
* Retrieve a list of attachment objects
|
|
25
|
+
* Retrieve a list of attachment objects.
|
|
26
26
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
27
27
|
* @returns {Promise<AttachmentCollectionResponse>}
|
|
28
28
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
29
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
29
|
+
* @see {@link https://learn.microsoft.com/graph/api/eventmessage-list-attachments?view=graph-rest-1.0|Find more info here}
|
|
30
30
|
*/
|
|
31
31
|
get(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): Promise<AttachmentCollectionResponse | undefined>;
|
|
32
32
|
/**
|
|
33
|
-
* Use this API to
|
|
33
|
+
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
|
|
34
34
|
* @param body The request body
|
|
35
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
36
|
* @returns {Promise<Attachment>}
|
|
37
37
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
38
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
38
|
+
* @see {@link https://learn.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here}
|
|
39
39
|
*/
|
|
40
40
|
post(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Attachment | undefined>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieve a list of attachment objects
|
|
42
|
+
* Retrieve a list of attachment objects.
|
|
43
43
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
44
|
* @returns {RequestInformation}
|
|
45
45
|
*/
|
|
46
46
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AttachmentsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
47
47
|
/**
|
|
48
|
-
* Use this API to
|
|
48
|
+
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {RequestInformation}
|
|
@@ -53,7 +53,7 @@ export interface AttachmentsRequestBuilder extends BaseRequestBuilder<Attachment
|
|
|
53
53
|
toPostRequestInformation(body: Attachment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Retrieve a list of attachment objects
|
|
56
|
+
* Retrieve a list of attachment objects.
|
|
57
57
|
*/
|
|
58
58
|
export interface AttachmentsRequestBuilderGetQueryParameters {
|
|
59
59
|
/**
|