@microsoft/msgraph-sdk-admin 1.0.0-preview.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +11 -0
- package/admin/edge/index.d.ts +75 -0
- package/admin/edge/index.d.ts.map +1 -0
- package/admin/edge/index.js +67 -0
- package/admin/edge/internetExplorerMode/index.d.ts +75 -0
- package/admin/edge/internetExplorerMode/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/index.js +67 -0
- package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts +40 -0
- package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/count/index.js +35 -0
- package/admin/edge/internetExplorerMode/siteLists/index.d.ts +97 -0
- package/admin/edge/internetExplorerMode/siteLists/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/index.js +71 -0
- package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts +88 -0
- package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/index.js +78 -0
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts +69 -0
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.js +64 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts +40 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.js +35 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts +97 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.js +70 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts +69 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.js +56 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts +40 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.js +35 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts +97 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.js +70 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts +69 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts.map +1 -0
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.js +56 -0
- package/admin/index.d.ts +79 -0
- package/admin/index.d.ts.map +1 -0
- package/admin/index.js +77 -0
- package/admin/people/index.d.ts +56 -0
- package/admin/people/index.d.ts.map +1 -0
- package/admin/people/index.js +52 -0
- package/admin/people/profileCardProperties/count/index.d.ts +40 -0
- package/admin/people/profileCardProperties/count/index.d.ts.map +1 -0
- package/admin/people/profileCardProperties/count/index.js +35 -0
- package/admin/people/profileCardProperties/index.d.ts +97 -0
- package/admin/people/profileCardProperties/index.d.ts.map +1 -0
- package/admin/people/profileCardProperties/index.js +70 -0
- package/admin/people/profileCardProperties/item/index.d.ts +69 -0
- package/admin/people/profileCardProperties/item/index.d.ts.map +1 -0
- package/admin/people/profileCardProperties/item/index.js +56 -0
- package/admin/people/pronouns/index.d.ts +57 -0
- package/admin/people/pronouns/index.d.ts.map +1 -0
- package/admin/people/pronouns/index.js +48 -0
- package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts +40 -0
- package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/count/index.js +35 -0
- package/admin/serviceAnnouncement/healthOverviews/index.d.ts +96 -0
- package/admin/serviceAnnouncement/healthOverviews/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/index.js +71 -0
- package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts +76 -0
- package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/item/index.js +67 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts +40 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.js +35 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts +95 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.js +71 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts +27 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.js +27 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts +75 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.js +66 -0
- package/admin/serviceAnnouncement/index.d.ts +85 -0
- package/admin/serviceAnnouncement/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/index.js +79 -0
- package/admin/serviceAnnouncement/issues/count/index.d.ts +40 -0
- package/admin/serviceAnnouncement/issues/count/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/issues/count/index.js +35 -0
- package/admin/serviceAnnouncement/issues/index.d.ts +96 -0
- package/admin/serviceAnnouncement/issues/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/issues/index.js +71 -0
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts +27 -0
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.js +27 -0
- package/admin/serviceAnnouncement/issues/item/index.d.ts +76 -0
- package/admin/serviceAnnouncement/issues/item/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/issues/item/index.js +66 -0
- package/admin/serviceAnnouncement/messages/archive/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/archive/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/archive/index.js +88 -0
- package/admin/serviceAnnouncement/messages/count/index.d.ts +40 -0
- package/admin/serviceAnnouncement/messages/count/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/count/index.js +35 -0
- package/admin/serviceAnnouncement/messages/favorite/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/favorite/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/favorite/index.js +88 -0
- package/admin/serviceAnnouncement/messages/index.d.ts +126 -0
- package/admin/serviceAnnouncement/messages/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/index.js +101 -0
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts +40 -0
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.js +35 -0
- package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts +96 -0
- package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/attachments/index.js +71 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts +43 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.js +39 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts +76 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.js +66 -0
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts +42 -0
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.js +38 -0
- package/admin/serviceAnnouncement/messages/item/index.d.ts +81 -0
- package/admin/serviceAnnouncement/messages/item/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/item/index.js +72 -0
- package/admin/serviceAnnouncement/messages/markRead/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/markRead/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/markRead/index.js +88 -0
- package/admin/serviceAnnouncement/messages/markUnread/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/markUnread/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/markUnread/index.js +88 -0
- package/admin/serviceAnnouncement/messages/unarchive/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/unarchive/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/unarchive/index.js +88 -0
- package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts +90 -0
- package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts.map +1 -0
- package/admin/serviceAnnouncement/messages/unfavorite/index.js +88 -0
- package/admin/sharepoint/index.d.ts +75 -0
- package/admin/sharepoint/index.d.ts.map +1 -0
- package/admin/sharepoint/index.js +66 -0
- package/admin/sharepoint/settings/index.d.ts +68 -0
- package/admin/sharepoint/settings/index.d.ts.map +1 -0
- package/admin/sharepoint/settings/index.js +56 -0
- package/adminServiceClient.d.ts +25 -0
- package/adminServiceClient.d.ts.map +1 -0
- package/adminServiceClient.js +49 -0
- package/index.d.ts +11 -0
- package/index.d.ts.map +1 -0
- package/index.js +20 -0
- package/package.json +48 -0
- package/tsconfig.json +15 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.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,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzJ;AACD;;GAEG;AACH,MAAM,WAAW,iEAAiE;IAC9E;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,iEAAiE,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,+CAA+C,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAK5M,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,+DAA+D,EAAE,gBA+B7E,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0DAA0D,qJAAqJ,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceAnnouncementAttachmentItemRequestBuilderUriTemplate = exports.ServiceAnnouncementAttachmentItemRequestBuilderRequestsMetadata = exports.ServiceAnnouncementAttachmentItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const content_1 = require("./content/");
|
|
10
|
+
/**
|
|
11
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
12
|
+
*/
|
|
13
|
+
const ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParametersMapper = {
|
|
14
|
+
"expand": "%24expand",
|
|
15
|
+
"select": "%24select",
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Metadata for all the navigation properties in the request builder.
|
|
19
|
+
*/
|
|
20
|
+
exports.ServiceAnnouncementAttachmentItemRequestBuilderNavigationMetadata = {
|
|
21
|
+
content: {
|
|
22
|
+
uriTemplate: content_1.ContentRequestBuilderUriTemplate,
|
|
23
|
+
requestsMetadata: content_1.ContentRequestBuilderRequestsMetadata,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Metadata for all the requests in the request builder.
|
|
28
|
+
*/
|
|
29
|
+
exports.ServiceAnnouncementAttachmentItemRequestBuilderRequestsMetadata = {
|
|
30
|
+
delete: {
|
|
31
|
+
responseBodyContentType: "application/json",
|
|
32
|
+
errorMappings: {
|
|
33
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
34
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
37
|
+
},
|
|
38
|
+
get: {
|
|
39
|
+
responseBodyContentType: "application/json",
|
|
40
|
+
errorMappings: {
|
|
41
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
43
|
+
},
|
|
44
|
+
adapterMethodName: "sendAsync",
|
|
45
|
+
responseBodyFactory: models_1.createServiceAnnouncementAttachmentFromDiscriminatorValue,
|
|
46
|
+
queryParametersMapper: ServiceAnnouncementAttachmentItemRequestBuilderGetQueryParametersMapper,
|
|
47
|
+
},
|
|
48
|
+
patch: {
|
|
49
|
+
responseBodyContentType: "application/json",
|
|
50
|
+
errorMappings: {
|
|
51
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
52
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
53
|
+
},
|
|
54
|
+
adapterMethodName: "sendAsync",
|
|
55
|
+
responseBodyFactory: models_1.createServiceAnnouncementAttachmentFromDiscriminatorValue,
|
|
56
|
+
requestBodyContentType: "application/json",
|
|
57
|
+
requestBodySerializer: models_1.serializeServiceAnnouncementAttachment,
|
|
58
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Uri template for the request builder.
|
|
63
|
+
*/
|
|
64
|
+
exports.ServiceAnnouncementAttachmentItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachments/{serviceAnnouncementAttachment%2Did}{?%24select,%24expand}";
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the admin entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface AttachmentsArchiveRequestBuilder extends BaseRequestBuilder<AttachmentsArchiveRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* The zip file that contains all attachments for a message.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @returns a Promise of ArrayBuffer
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceannouncement-list-messages?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
13
|
+
/**
|
|
14
|
+
* The zip file that contains all attachments for a message.
|
|
15
|
+
* @param body Binary request body
|
|
16
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
17
|
+
* @returns a Promise of ArrayBuffer
|
|
18
|
+
*/
|
|
19
|
+
put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* The zip file that contains all attachments for a message.
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns a RequestInformation
|
|
24
|
+
*/
|
|
25
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
26
|
+
/**
|
|
27
|
+
* The zip file that contains all attachments for a message.
|
|
28
|
+
* @param body Binary request body
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Metadata for all the requests in the request builder.
|
|
36
|
+
*/
|
|
37
|
+
export declare const AttachmentsArchiveRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
38
|
+
/**
|
|
39
|
+
* Uri template for the request builder.
|
|
40
|
+
*/
|
|
41
|
+
export declare const AttachmentsArchiveRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachmentsArchive";
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;OAKG;IACF,GAAG,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACxI;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAC/G;;;;;OAKG;IACF,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAqB9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,iGAAiG,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttachmentsArchiveRequestBuilderUriTemplate = exports.AttachmentsArchiveRequestBuilderRequestsMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* Metadata for all the requests in the request builder.
|
|
10
|
+
*/
|
|
11
|
+
exports.AttachmentsArchiveRequestBuilderRequestsMetadata = {
|
|
12
|
+
get: {
|
|
13
|
+
responseBodyContentType: "application/octet-stream, application/json",
|
|
14
|
+
errorMappings: {
|
|
15
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
16
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
17
|
+
},
|
|
18
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
19
|
+
responseBodyFactory: "ArrayBuffer",
|
|
20
|
+
},
|
|
21
|
+
put: {
|
|
22
|
+
responseBodyContentType: "application/json",
|
|
23
|
+
errorMappings: {
|
|
24
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
25
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
26
|
+
},
|
|
27
|
+
adapterMethodName: "sendPrimitiveAsync",
|
|
28
|
+
responseBodyFactory: "ArrayBuffer",
|
|
29
|
+
requestBodyContentType: "application/octet-stream",
|
|
30
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Uri template for the request builder.
|
|
35
|
+
*/
|
|
36
|
+
exports.AttachmentsArchiveRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachmentsArchive";
|
|
37
|
+
/* tslint:enable */
|
|
38
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type ServiceUpdateMessage } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
+
import { type AttachmentsRequestBuilder } from './attachments/';
|
|
3
|
+
import { type AttachmentsArchiveRequestBuilder } from './attachmentsArchive/';
|
|
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 messages property of the microsoft.graph.serviceAnnouncement entity.
|
|
7
|
+
*/
|
|
8
|
+
export interface ServiceUpdateMessageItemRequestBuilder extends BaseRequestBuilder<ServiceUpdateMessageItemRequestBuilder> {
|
|
9
|
+
/**
|
|
10
|
+
* Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity.
|
|
11
|
+
*/
|
|
12
|
+
get attachments(): AttachmentsRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to manage the media for the admin entity.
|
|
15
|
+
*/
|
|
16
|
+
get attachmentsArchive(): AttachmentsArchiveRequestBuilder;
|
|
17
|
+
/**
|
|
18
|
+
* Delete navigation property messages for admin
|
|
19
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
20
|
+
*/
|
|
21
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
|
|
24
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
25
|
+
* @returns a Promise of ServiceUpdateMessage
|
|
26
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-get?view=graph-rest-1.0|Find more info here}
|
|
27
|
+
*/
|
|
28
|
+
get(requestConfiguration?: RequestConfiguration<ServiceUpdateMessageItemRequestBuilderGetQueryParameters> | undefined): Promise<ServiceUpdateMessage | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Update the navigation property messages in admin
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns a Promise of ServiceUpdateMessage
|
|
34
|
+
*/
|
|
35
|
+
patch(body: ServiceUpdateMessage, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServiceUpdateMessage | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete navigation property messages for admin
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns a RequestInformation
|
|
40
|
+
*/
|
|
41
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
/**
|
|
43
|
+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
|
|
44
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
45
|
+
* @returns a RequestInformation
|
|
46
|
+
*/
|
|
47
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceUpdateMessageItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
48
|
+
/**
|
|
49
|
+
* Update the navigation property messages in admin
|
|
50
|
+
* @param body The request body
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns a RequestInformation
|
|
53
|
+
*/
|
|
54
|
+
toPatchRequestInformation(body: ServiceUpdateMessage, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
|
|
58
|
+
*/
|
|
59
|
+
export interface ServiceUpdateMessageItemRequestBuilderGetQueryParameters {
|
|
60
|
+
/**
|
|
61
|
+
* Expand related entities
|
|
62
|
+
*/
|
|
63
|
+
expand?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* Select properties to be returned
|
|
66
|
+
*/
|
|
67
|
+
select?: string[];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Metadata for all the navigation properties in the request builder.
|
|
71
|
+
*/
|
|
72
|
+
export declare const ServiceUpdateMessageItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceUpdateMessageItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
73
|
+
/**
|
|
74
|
+
* Metadata for all the requests in the request builder.
|
|
75
|
+
*/
|
|
76
|
+
export declare const ServiceUpdateMessageItemRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
77
|
+
/**
|
|
78
|
+
* Uri template for the request builder.
|
|
79
|
+
*/
|
|
80
|
+
export declare const ServiceUpdateMessageItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}{?%24select,%24expand}";
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts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,CAAC;IACjK;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAChJ;AACD;;GAEG;AACH,MAAM,WAAW,wDAAwD;IACrE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAQD;;GAEG;AACH,eAAO,MAAM,wDAAwD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,sCAAsC,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAU1L,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,sDAAsD,EAAE,gBA+BpE,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iDAAiD,oGAAoG,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceUpdateMessageItemRequestBuilderUriTemplate = exports.ServiceUpdateMessageItemRequestBuilderRequestsMetadata = exports.ServiceUpdateMessageItemRequestBuilderNavigationMetadata = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
const attachments_1 = require("./attachments/");
|
|
10
|
+
const attachmentsArchive_1 = require("./attachmentsArchive/");
|
|
11
|
+
/**
|
|
12
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
|
+
*/
|
|
14
|
+
const ServiceUpdateMessageItemRequestBuilderGetQueryParametersMapper = {
|
|
15
|
+
"expand": "%24expand",
|
|
16
|
+
"select": "%24select",
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for all the navigation properties in the request builder.
|
|
20
|
+
*/
|
|
21
|
+
exports.ServiceUpdateMessageItemRequestBuilderNavigationMetadata = {
|
|
22
|
+
attachments: {
|
|
23
|
+
uriTemplate: attachments_1.AttachmentsRequestBuilderUriTemplate,
|
|
24
|
+
requestsMetadata: attachments_1.AttachmentsRequestBuilderRequestsMetadata,
|
|
25
|
+
navigationMetadata: attachments_1.AttachmentsRequestBuilderNavigationMetadata,
|
|
26
|
+
},
|
|
27
|
+
attachmentsArchive: {
|
|
28
|
+
uriTemplate: attachmentsArchive_1.AttachmentsArchiveRequestBuilderUriTemplate,
|
|
29
|
+
requestsMetadata: attachmentsArchive_1.AttachmentsArchiveRequestBuilderRequestsMetadata,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Metadata for all the requests in the request builder.
|
|
34
|
+
*/
|
|
35
|
+
exports.ServiceUpdateMessageItemRequestBuilderRequestsMetadata = {
|
|
36
|
+
delete: {
|
|
37
|
+
responseBodyContentType: "application/json",
|
|
38
|
+
errorMappings: {
|
|
39
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
40
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
|
+
},
|
|
42
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
43
|
+
},
|
|
44
|
+
get: {
|
|
45
|
+
responseBodyContentType: "application/json",
|
|
46
|
+
errorMappings: {
|
|
47
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
48
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
|
+
},
|
|
50
|
+
adapterMethodName: "sendAsync",
|
|
51
|
+
responseBodyFactory: models_1.createServiceUpdateMessageFromDiscriminatorValue,
|
|
52
|
+
queryParametersMapper: ServiceUpdateMessageItemRequestBuilderGetQueryParametersMapper,
|
|
53
|
+
},
|
|
54
|
+
patch: {
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
58
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
|
+
},
|
|
60
|
+
adapterMethodName: "sendAsync",
|
|
61
|
+
responseBodyFactory: models_1.createServiceUpdateMessageFromDiscriminatorValue,
|
|
62
|
+
requestBodyContentType: "application/json",
|
|
63
|
+
requestBodySerializer: models_1.serializeServiceUpdateMessage,
|
|
64
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Uri template for the request builder.
|
|
69
|
+
*/
|
|
70
|
+
exports.ServiceUpdateMessageItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}{?%24select,%24expand}";
|
|
71
|
+
/* tslint:enable */
|
|
72
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns a markReadPostRequestBody
|
|
6
|
+
*/
|
|
7
|
+
export declare function createMarkReadPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoMarkReadPostRequestBody;
|
|
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 a markReadPostResponse
|
|
12
|
+
*/
|
|
13
|
+
export declare function createMarkReadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoMarkReadPostResponse;
|
|
14
|
+
/**
|
|
15
|
+
* The deserialization information for the current model
|
|
16
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
17
|
+
*/
|
|
18
|
+
export declare function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody?: MarkReadPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
|
+
/**
|
|
20
|
+
* The deserialization information for the current model
|
|
21
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
22
|
+
*/
|
|
23
|
+
export declare function deserializeIntoMarkReadPostResponse(markReadPostResponse?: MarkReadPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
|
+
export interface MarkReadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
25
|
+
/**
|
|
26
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
27
|
+
*/
|
|
28
|
+
additionalData?: Record<string, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* Stores model information.
|
|
31
|
+
*/
|
|
32
|
+
backingStoreEnabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The messageIds property
|
|
35
|
+
*/
|
|
36
|
+
messageIds?: string[];
|
|
37
|
+
}
|
|
38
|
+
export interface MarkReadPostResponse extends AdditionalDataHolder, BackedModel, Parsable {
|
|
39
|
+
/**
|
|
40
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
41
|
+
*/
|
|
42
|
+
additionalData?: Record<string, unknown>;
|
|
43
|
+
/**
|
|
44
|
+
* Stores model information.
|
|
45
|
+
*/
|
|
46
|
+
backingStoreEnabled?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The value property
|
|
49
|
+
*/
|
|
50
|
+
value?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Provides operations to call the markRead method.
|
|
54
|
+
*/
|
|
55
|
+
export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadRequestBuilder> {
|
|
56
|
+
/**
|
|
57
|
+
* Mark a list of serviceUpdateMessages as read for the signed in user.
|
|
58
|
+
* @param body The request body
|
|
59
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
* @returns a Promise of MarkReadPostResponse
|
|
61
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0|Find more info here}
|
|
62
|
+
*/
|
|
63
|
+
post(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MarkReadPostResponse | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Mark a list of serviceUpdateMessages as read for the signed in user.
|
|
66
|
+
* @param body The request body
|
|
67
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
+
* @returns a RequestInformation
|
|
69
|
+
*/
|
|
70
|
+
toPostRequestInformation(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Serializes information the current object
|
|
74
|
+
* @param writer Serialization writer to use to serialize this model
|
|
75
|
+
*/
|
|
76
|
+
export declare function serializeMarkReadPostRequestBody(writer: SerializationWriter, markReadPostRequestBody?: MarkReadPostRequestBody | undefined): void;
|
|
77
|
+
/**
|
|
78
|
+
* Serializes information the current object
|
|
79
|
+
* @param writer Serialization writer to use to serialize this model
|
|
80
|
+
*/
|
|
81
|
+
export declare function serializeMarkReadPostResponse(writer: SerializationWriter, markReadPostResponse?: MarkReadPostResponse | undefined): void;
|
|
82
|
+
/**
|
|
83
|
+
* Metadata for all the requests in the request builder.
|
|
84
|
+
*/
|
|
85
|
+
export declare const MarkReadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const MarkReadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markRead";
|
|
90
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H,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AACD;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,kBAAkB,CAAC,sBAAsB,CAAC;IACtF;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAClJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAClJ;AACD;;;GAGG;AACH,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,mBAAmB,EAAE,uBAAuB,GAAE,uBAAuB,GAAG,SAAyC,GAAI,IAAI,CAGjL;AACD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,oBAAoB,GAAG,SAAsC,GAAI,IAAI,CAGrK;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,iCAAiC,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MarkReadRequestBuilderUriTemplate = exports.MarkReadRequestBuilderRequestsMetadata = exports.serializeMarkReadPostResponse = exports.serializeMarkReadPostRequestBody = exports.deserializeIntoMarkReadPostResponse = exports.deserializeIntoMarkReadPostRequestBody = exports.createMarkReadPostResponseFromDiscriminatorValue = exports.createMarkReadPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
8
|
+
/**
|
|
9
|
+
* 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 a markReadPostRequestBody
|
|
12
|
+
*/
|
|
13
|
+
function createMarkReadPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoMarkReadPostRequestBody;
|
|
15
|
+
}
|
|
16
|
+
exports.createMarkReadPostRequestBodyFromDiscriminatorValue = createMarkReadPostRequestBodyFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns a markReadPostResponse
|
|
21
|
+
*/
|
|
22
|
+
function createMarkReadPostResponseFromDiscriminatorValue(parseNode) {
|
|
23
|
+
return deserializeIntoMarkReadPostResponse;
|
|
24
|
+
}
|
|
25
|
+
exports.createMarkReadPostResponseFromDiscriminatorValue = createMarkReadPostResponseFromDiscriminatorValue;
|
|
26
|
+
/**
|
|
27
|
+
* The deserialization information for the current model
|
|
28
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
29
|
+
*/
|
|
30
|
+
function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody = {}) {
|
|
31
|
+
return {
|
|
32
|
+
"backingStoreEnabled": n => { markReadPostRequestBody.backingStoreEnabled = true; },
|
|
33
|
+
"messageIds": n => { markReadPostRequestBody.messageIds = n.getCollectionOfPrimitiveValues(); },
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
exports.deserializeIntoMarkReadPostRequestBody = deserializeIntoMarkReadPostRequestBody;
|
|
37
|
+
/**
|
|
38
|
+
* The deserialization information for the current model
|
|
39
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
40
|
+
*/
|
|
41
|
+
function deserializeIntoMarkReadPostResponse(markReadPostResponse = {}) {
|
|
42
|
+
return {
|
|
43
|
+
"backingStoreEnabled": n => { markReadPostResponse.backingStoreEnabled = true; },
|
|
44
|
+
"value": n => { markReadPostResponse.value = n.getBooleanValue(); },
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.deserializeIntoMarkReadPostResponse = deserializeIntoMarkReadPostResponse;
|
|
48
|
+
/**
|
|
49
|
+
* Serializes information the current object
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
function serializeMarkReadPostRequestBody(writer, markReadPostRequestBody = {}) {
|
|
53
|
+
writer.writeCollectionOfPrimitiveValues("messageIds", markReadPostRequestBody.messageIds);
|
|
54
|
+
writer.writeAdditionalData(markReadPostRequestBody.additionalData);
|
|
55
|
+
}
|
|
56
|
+
exports.serializeMarkReadPostRequestBody = serializeMarkReadPostRequestBody;
|
|
57
|
+
/**
|
|
58
|
+
* Serializes information the current object
|
|
59
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60
|
+
*/
|
|
61
|
+
function serializeMarkReadPostResponse(writer, markReadPostResponse = {}) {
|
|
62
|
+
writer.writeBooleanValue("value", markReadPostResponse.value);
|
|
63
|
+
writer.writeAdditionalData(markReadPostResponse.additionalData);
|
|
64
|
+
}
|
|
65
|
+
exports.serializeMarkReadPostResponse = serializeMarkReadPostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Metadata for all the requests in the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.MarkReadRequestBuilderRequestsMetadata = {
|
|
70
|
+
post: {
|
|
71
|
+
responseBodyContentType: "application/json",
|
|
72
|
+
errorMappings: {
|
|
73
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
74
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
|
+
},
|
|
76
|
+
adapterMethodName: "sendAsync",
|
|
77
|
+
responseBodyFactory: createMarkReadPostResponseFromDiscriminatorValue,
|
|
78
|
+
requestBodyContentType: "application/json",
|
|
79
|
+
requestBodySerializer: serializeMarkReadPostRequestBody,
|
|
80
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Uri template for the request builder.
|
|
85
|
+
*/
|
|
86
|
+
exports.MarkReadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markRead";
|
|
87
|
+
/* tslint:enable */
|
|
88
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns a markUnreadPostRequestBody
|
|
6
|
+
*/
|
|
7
|
+
export declare function createMarkUnreadPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoMarkUnreadPostRequestBody;
|
|
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 a markUnreadPostResponse
|
|
12
|
+
*/
|
|
13
|
+
export declare function createMarkUnreadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoMarkUnreadPostResponse;
|
|
14
|
+
/**
|
|
15
|
+
* The deserialization information for the current model
|
|
16
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
17
|
+
*/
|
|
18
|
+
export declare function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBody?: MarkUnreadPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
|
+
/**
|
|
20
|
+
* The deserialization information for the current model
|
|
21
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
22
|
+
*/
|
|
23
|
+
export declare function deserializeIntoMarkUnreadPostResponse(markUnreadPostResponse?: MarkUnreadPostResponse | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
|
+
export interface MarkUnreadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
25
|
+
/**
|
|
26
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
27
|
+
*/
|
|
28
|
+
additionalData?: Record<string, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* Stores model information.
|
|
31
|
+
*/
|
|
32
|
+
backingStoreEnabled?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The messageIds property
|
|
35
|
+
*/
|
|
36
|
+
messageIds?: string[];
|
|
37
|
+
}
|
|
38
|
+
export interface MarkUnreadPostResponse extends AdditionalDataHolder, BackedModel, Parsable {
|
|
39
|
+
/**
|
|
40
|
+
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
41
|
+
*/
|
|
42
|
+
additionalData?: Record<string, unknown>;
|
|
43
|
+
/**
|
|
44
|
+
* Stores model information.
|
|
45
|
+
*/
|
|
46
|
+
backingStoreEnabled?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The value property
|
|
49
|
+
*/
|
|
50
|
+
value?: boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Provides operations to call the markUnread method.
|
|
54
|
+
*/
|
|
55
|
+
export interface MarkUnreadRequestBuilder extends BaseRequestBuilder<MarkUnreadRequestBuilder> {
|
|
56
|
+
/**
|
|
57
|
+
* Mark a list of serviceUpdateMessages as unread for the signed in user.
|
|
58
|
+
* @param body The request body
|
|
59
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
+
* @returns a Promise of MarkUnreadPostResponse
|
|
61
|
+
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0|Find more info here}
|
|
62
|
+
*/
|
|
63
|
+
post(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MarkUnreadPostResponse | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Mark a list of serviceUpdateMessages as unread for the signed in user.
|
|
66
|
+
* @param body The request body
|
|
67
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
+
* @returns a RequestInformation
|
|
69
|
+
*/
|
|
70
|
+
toPostRequestInformation(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Serializes information the current object
|
|
74
|
+
* @param writer Serialization writer to use to serialize this model
|
|
75
|
+
*/
|
|
76
|
+
export declare function serializeMarkUnreadPostRequestBody(writer: SerializationWriter, markUnreadPostRequestBody?: MarkUnreadPostRequestBody | undefined): void;
|
|
77
|
+
/**
|
|
78
|
+
* Serializes information the current object
|
|
79
|
+
* @param writer Serialization writer to use to serialize this model
|
|
80
|
+
*/
|
|
81
|
+
export declare function serializeMarkUnreadPostResponse(writer: SerializationWriter, markUnreadPostResponse?: MarkUnreadPostResponse | undefined): void;
|
|
82
|
+
/**
|
|
83
|
+
* Metadata for all the requests in the request builder.
|
|
84
|
+
*/
|
|
85
|
+
export declare const MarkUnreadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
|
+
/**
|
|
87
|
+
* Uri template for the request builder.
|
|
88
|
+
*/
|
|
89
|
+
export declare const MarkUnreadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markUnread";
|
|
90
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,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