@microsoft/msgraph-sdk-admin 1.0.0-preview.12 → 1.0.0-preview.14
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/admin/edge/index.d.ts +12 -9
- package/admin/edge/index.d.ts.map +1 -1
- package/admin/edge/index.js +11 -12
- package/admin/edge/internetExplorerMode/index.d.ts +12 -9
- package/admin/edge/internetExplorerMode/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/index.js +11 -12
- package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts +7 -6
- package/admin/edge/internetExplorerMode/siteLists/count/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/count/index.js +7 -7
- package/admin/edge/internetExplorerMode/siteLists/index.d.ts +11 -9
- package/admin/edge/internetExplorerMode/siteLists/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/index.js +9 -11
- package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts +12 -9
- package/admin/edge/internetExplorerMode/siteLists/item/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/index.js +11 -14
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts +9 -8
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/publish/index.js +9 -9
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts +7 -6
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/count/index.js +7 -7
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts +11 -9
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/index.js +9 -11
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts +12 -9
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sharedCookies/item/index.js +11 -11
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts +7 -6
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sites/count/index.js +7 -7
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts +11 -9
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sites/index.js +9 -11
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts +12 -9
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.d.ts.map +1 -1
- package/admin/edge/internetExplorerMode/siteLists/item/sites/item/index.js +11 -11
- package/admin/index.d.ts +10 -8
- package/admin/index.d.ts.map +1 -1
- package/admin/index.js +9 -13
- package/admin/people/index.d.ts +7 -6
- package/admin/people/index.d.ts.map +1 -1
- package/admin/people/index.js +7 -9
- package/admin/people/profileCardProperties/count/index.d.ts +7 -6
- package/admin/people/profileCardProperties/count/index.d.ts.map +1 -1
- package/admin/people/profileCardProperties/count/index.js +7 -7
- package/admin/people/profileCardProperties/index.d.ts +11 -9
- package/admin/people/profileCardProperties/index.d.ts.map +1 -1
- package/admin/people/profileCardProperties/index.js +9 -11
- package/admin/people/profileCardProperties/item/index.d.ts +12 -9
- package/admin/people/profileCardProperties/item/index.d.ts.map +1 -1
- package/admin/people/profileCardProperties/item/index.js +11 -11
- package/admin/people/pronouns/index.d.ts +10 -8
- package/admin/people/pronouns/index.d.ts.map +1 -1
- package/admin/people/pronouns/index.js +9 -9
- package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts +7 -6
- package/admin/serviceAnnouncement/healthOverviews/count/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/count/index.js +7 -7
- package/admin/serviceAnnouncement/healthOverviews/index.d.ts +11 -9
- package/admin/serviceAnnouncement/healthOverviews/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/index.js +9 -11
- package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts +12 -9
- package/admin/serviceAnnouncement/healthOverviews/item/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/item/index.js +11 -12
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts +7 -6
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/item/issues/count/index.js +7 -7
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts +11 -9
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/item/issues/index.js +9 -11
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts +7 -6
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/incidentReport/index.js +7 -7
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts +12 -9
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/healthOverviews/item/issues/item/index.js +11 -12
- package/admin/serviceAnnouncement/index.d.ts +12 -9
- package/admin/serviceAnnouncement/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/index.js +11 -14
- package/admin/serviceAnnouncement/issues/count/index.d.ts +7 -6
- package/admin/serviceAnnouncement/issues/count/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/issues/count/index.js +7 -7
- package/admin/serviceAnnouncement/issues/index.d.ts +11 -9
- package/admin/serviceAnnouncement/issues/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/issues/index.js +9 -11
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts +7 -6
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/issues/item/incidentReport/index.js +7 -7
- package/admin/serviceAnnouncement/issues/item/index.d.ts +12 -9
- package/admin/serviceAnnouncement/issues/item/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/issues/item/index.js +11 -12
- package/admin/serviceAnnouncement/messages/archive/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/archive/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/archive/index.js +11 -11
- package/admin/serviceAnnouncement/messages/count/index.d.ts +7 -6
- package/admin/serviceAnnouncement/messages/count/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/count/index.js +7 -7
- package/admin/serviceAnnouncement/messages/favorite/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/favorite/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/favorite/index.js +11 -11
- package/admin/serviceAnnouncement/messages/index.d.ts +11 -9
- package/admin/serviceAnnouncement/messages/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/index.js +9 -17
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts +7 -6
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/attachments/count/index.js +7 -7
- package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts +11 -9
- package/admin/serviceAnnouncement/messages/item/attachments/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/attachments/index.js +9 -11
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts +10 -8
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/attachments/item/content/index.js +9 -9
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts +12 -9
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/attachments/item/index.js +11 -12
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts +10 -8
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/attachmentsArchive/index.js +9 -9
- package/admin/serviceAnnouncement/messages/item/index.d.ts +12 -9
- package/admin/serviceAnnouncement/messages/item/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/item/index.js +11 -13
- package/admin/serviceAnnouncement/messages/markRead/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/markRead/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/markRead/index.js +11 -11
- package/admin/serviceAnnouncement/messages/markUnread/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/markUnread/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/markUnread/index.js +11 -11
- package/admin/serviceAnnouncement/messages/unarchive/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/unarchive/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/unarchive/index.js +11 -11
- package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts +11 -10
- package/admin/serviceAnnouncement/messages/unfavorite/index.d.ts.map +1 -1
- package/admin/serviceAnnouncement/messages/unfavorite/index.js +11 -11
- package/admin/sharepoint/index.d.ts +12 -9
- package/admin/sharepoint/index.d.ts.map +1 -1
- package/admin/sharepoint/index.js +11 -12
- package/admin/sharepoint/settings/index.d.ts +12 -9
- package/admin/sharepoint/settings/index.d.ts.map +1 -1
- package/admin/sharepoint/settings/index.js +11 -11
- package/adminServiceClient.d.ts.map +1 -1
- package/adminServiceClient.js +1 -2
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ServiceUpdateMessageItemRequestBuilderRequestsMetadata = exports.ServiceUpdateMessageItemRequestBuilderNavigationMetadata = exports.ServiceUpdateMessageItemRequestBuilderUriTemplate = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,6 +8,10 @@ const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
9
|
const attachments_1 = require("./attachments/");
|
|
10
10
|
const attachmentsArchive_1 = require("./attachmentsArchive/");
|
|
11
|
+
/**
|
|
12
|
+
* Uri template for the request builder.
|
|
13
|
+
*/
|
|
14
|
+
exports.ServiceUpdateMessageItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}{?%24expand,%24select}";
|
|
11
15
|
/**
|
|
12
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
13
17
|
*/
|
|
@@ -20,12 +24,10 @@ const ServiceUpdateMessageItemRequestBuilderGetQueryParametersMapper = {
|
|
|
20
24
|
*/
|
|
21
25
|
exports.ServiceUpdateMessageItemRequestBuilderNavigationMetadata = {
|
|
22
26
|
attachments: {
|
|
23
|
-
uriTemplate: attachments_1.AttachmentsRequestBuilderUriTemplate,
|
|
24
27
|
requestsMetadata: attachments_1.AttachmentsRequestBuilderRequestsMetadata,
|
|
25
28
|
navigationMetadata: attachments_1.AttachmentsRequestBuilderNavigationMetadata,
|
|
26
29
|
},
|
|
27
30
|
attachmentsArchive: {
|
|
28
|
-
uriTemplate: attachmentsArchive_1.AttachmentsArchiveRequestBuilderUriTemplate,
|
|
29
31
|
requestsMetadata: attachmentsArchive_1.AttachmentsArchiveRequestBuilderRequestsMetadata,
|
|
30
32
|
},
|
|
31
33
|
};
|
|
@@ -34,28 +36,28 @@ exports.ServiceUpdateMessageItemRequestBuilderNavigationMetadata = {
|
|
|
34
36
|
*/
|
|
35
37
|
exports.ServiceUpdateMessageItemRequestBuilderRequestsMetadata = {
|
|
36
38
|
delete: {
|
|
39
|
+
uriTemplate: exports.ServiceUpdateMessageItemRequestBuilderUriTemplate,
|
|
37
40
|
responseBodyContentType: "application/json",
|
|
38
41
|
errorMappings: {
|
|
39
|
-
|
|
40
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
42
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
41
43
|
},
|
|
42
44
|
adapterMethodName: "sendNoResponseContentAsync",
|
|
43
45
|
},
|
|
44
46
|
get: {
|
|
47
|
+
uriTemplate: exports.ServiceUpdateMessageItemRequestBuilderUriTemplate,
|
|
45
48
|
responseBodyContentType: "application/json",
|
|
46
49
|
errorMappings: {
|
|
47
|
-
|
|
48
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
50
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
49
51
|
},
|
|
50
52
|
adapterMethodName: "sendAsync",
|
|
51
53
|
responseBodyFactory: models_1.createServiceUpdateMessageFromDiscriminatorValue,
|
|
52
54
|
queryParametersMapper: ServiceUpdateMessageItemRequestBuilderGetQueryParametersMapper,
|
|
53
55
|
},
|
|
54
56
|
patch: {
|
|
57
|
+
uriTemplate: exports.ServiceUpdateMessageItemRequestBuilderUriTemplate,
|
|
55
58
|
responseBodyContentType: "application/json",
|
|
56
59
|
errorMappings: {
|
|
57
|
-
|
|
58
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
60
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
59
61
|
},
|
|
60
62
|
adapterMethodName: "sendAsync",
|
|
61
63
|
responseBodyFactory: models_1.createServiceUpdateMessageFromDiscriminatorValue,
|
|
@@ -64,9 +66,5 @@ exports.ServiceUpdateMessageItemRequestBuilderRequestsMetadata = {
|
|
|
64
66
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
65
67
|
},
|
|
66
68
|
};
|
|
67
|
-
/**
|
|
68
|
-
* Uri template for the request builder.
|
|
69
|
-
*/
|
|
70
|
-
exports.ServiceUpdateMessageItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}{?%24select,%24expand}";
|
|
71
69
|
/* tslint:enable */
|
|
72
70
|
/* eslint-enable */
|
|
@@ -2,23 +2,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
-
* @returns
|
|
5
|
+
* @returns {MarkReadPostRequestBody}
|
|
6
6
|
*/
|
|
7
7
|
export declare function createMarkReadPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {MarkReadPostResponse}
|
|
12
12
|
*/
|
|
13
13
|
export declare function createMarkReadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
14
14
|
/**
|
|
15
15
|
* The deserialization information for the current model
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
17
17
|
*/
|
|
18
18
|
export declare function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody?: Partial<MarkReadPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
19
|
/**
|
|
20
20
|
* The deserialization information for the current model
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
22
22
|
*/
|
|
23
23
|
export declare function deserializeIntoMarkReadPostResponse(markReadPostResponse?: Partial<MarkReadPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
24
|
export interface MarkReadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
@@ -57,7 +57,8 @@ export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadReque
|
|
|
57
57
|
* Mark a list of serviceUpdateMessages as read for the signed in user.
|
|
58
58
|
* @param body The request body
|
|
59
59
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
-
* @returns
|
|
60
|
+
* @returns {Promise<MarkReadPostResponse>}
|
|
61
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
61
62
|
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markread?view=graph-rest-1.0|Find more info here}
|
|
62
63
|
*/
|
|
63
64
|
post(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MarkReadPostResponse | undefined>;
|
|
@@ -65,7 +66,7 @@ export interface MarkReadRequestBuilder extends BaseRequestBuilder<MarkReadReque
|
|
|
65
66
|
* Mark a list of serviceUpdateMessages as read for the signed in user.
|
|
66
67
|
* @param body The request body
|
|
67
68
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
-
* @returns
|
|
69
|
+
* @returns {RequestInformation}
|
|
69
70
|
*/
|
|
70
71
|
toPostRequestInformation(body: MarkReadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
72
|
}
|
|
@@ -79,12 +80,12 @@ export declare function serializeMarkReadPostRequestBody(writer: SerializationWr
|
|
|
79
80
|
* @param writer Serialization writer to use to serialize this model
|
|
80
81
|
*/
|
|
81
82
|
export declare function serializeMarkReadPostResponse(writer: SerializationWriter, markReadPostResponse?: Partial<MarkReadPostResponse> | undefined): void;
|
|
82
|
-
/**
|
|
83
|
-
* Metadata for all the requests in the request builder.
|
|
84
|
-
*/
|
|
85
|
-
export declare const MarkReadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
83
|
/**
|
|
87
84
|
* Uri template for the request builder.
|
|
88
85
|
*/
|
|
89
86
|
export declare const MarkReadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markRead";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const MarkReadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
90
91
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,mDAAmD,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,CAE3K;AACD;;;;GAIG;AACH,wBAAgB,gDAAgD,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,CAExK;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAK7K;AACD;;;GAGG;AACH,wBAAgB,mCAAmC,CAAC,oBAAoB,GAAE,OAAO,CAAC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,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,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAc,GAAI,IAAI,CAG/J;AACD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,mBAAmB,EAAE,oBAAoB,GAAE,OAAO,CAAC,oBAAoB,CAAC,GAAG,SAAc,GAAI,IAAI,CAGtJ;AACD;;GAEG;AACH,eAAO,MAAM,iCAAiC,2DAA2D,CAAC;AAC1G;;GAEG;AACH,eAAO,MAAM,sCAAsC,EAAE,gBAapD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MarkReadRequestBuilderRequestsMetadata = exports.MarkReadRequestBuilderUriTemplate = exports.serializeMarkReadPostResponse = exports.serializeMarkReadPostRequestBody = exports.deserializeIntoMarkReadPostResponse = exports.deserializeIntoMarkReadPostRequestBody = exports.createMarkReadPostResponseFromDiscriminatorValue = exports.createMarkReadPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,7 +8,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {MarkReadPostRequestBody}
|
|
12
12
|
*/
|
|
13
13
|
function createMarkReadPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
14
|
return deserializeIntoMarkReadPostRequestBody;
|
|
@@ -17,7 +17,7 @@ exports.createMarkReadPostRequestBodyFromDiscriminatorValue = createMarkReadPost
|
|
|
17
17
|
/**
|
|
18
18
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
19
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
-
* @returns
|
|
20
|
+
* @returns {MarkReadPostResponse}
|
|
21
21
|
*/
|
|
22
22
|
function createMarkReadPostResponseFromDiscriminatorValue(parseNode) {
|
|
23
23
|
return deserializeIntoMarkReadPostResponse;
|
|
@@ -25,7 +25,7 @@ function createMarkReadPostResponseFromDiscriminatorValue(parseNode) {
|
|
|
25
25
|
exports.createMarkReadPostResponseFromDiscriminatorValue = createMarkReadPostResponseFromDiscriminatorValue;
|
|
26
26
|
/**
|
|
27
27
|
* The deserialization information for the current model
|
|
28
|
-
* @returns
|
|
28
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29
29
|
*/
|
|
30
30
|
function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody = {}) {
|
|
31
31
|
return {
|
|
@@ -36,7 +36,7 @@ function deserializeIntoMarkReadPostRequestBody(markReadPostRequestBody = {}) {
|
|
|
36
36
|
exports.deserializeIntoMarkReadPostRequestBody = deserializeIntoMarkReadPostRequestBody;
|
|
37
37
|
/**
|
|
38
38
|
* The deserialization information for the current model
|
|
39
|
-
* @returns
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
40
|
*/
|
|
41
41
|
function deserializeIntoMarkReadPostResponse(markReadPostResponse = {}) {
|
|
42
42
|
return {
|
|
@@ -63,15 +63,19 @@ function serializeMarkReadPostResponse(writer, markReadPostResponse = {}) {
|
|
|
63
63
|
writer.writeAdditionalData(markReadPostResponse.additionalData);
|
|
64
64
|
}
|
|
65
65
|
exports.serializeMarkReadPostResponse = serializeMarkReadPostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.MarkReadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markRead";
|
|
66
70
|
/**
|
|
67
71
|
* Metadata for all the requests in the request builder.
|
|
68
72
|
*/
|
|
69
73
|
exports.MarkReadRequestBuilderRequestsMetadata = {
|
|
70
74
|
post: {
|
|
75
|
+
uriTemplate: exports.MarkReadRequestBuilderUriTemplate,
|
|
71
76
|
responseBodyContentType: "application/json",
|
|
72
77
|
errorMappings: {
|
|
73
|
-
|
|
74
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
79
|
},
|
|
76
80
|
adapterMethodName: "sendAsync",
|
|
77
81
|
responseBodyFactory: createMarkReadPostResponseFromDiscriminatorValue,
|
|
@@ -80,9 +84,5 @@ exports.MarkReadRequestBuilderRequestsMetadata = {
|
|
|
80
84
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
85
|
},
|
|
82
86
|
};
|
|
83
|
-
/**
|
|
84
|
-
* Uri template for the request builder.
|
|
85
|
-
*/
|
|
86
|
-
exports.MarkReadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markRead";
|
|
87
87
|
/* tslint:enable */
|
|
88
88
|
/* eslint-enable */
|
|
@@ -2,23 +2,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
-
* @returns
|
|
5
|
+
* @returns {MarkUnreadPostRequestBody}
|
|
6
6
|
*/
|
|
7
7
|
export declare function createMarkUnreadPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {MarkUnreadPostResponse}
|
|
12
12
|
*/
|
|
13
13
|
export declare function createMarkUnreadPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
14
14
|
/**
|
|
15
15
|
* The deserialization information for the current model
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
17
17
|
*/
|
|
18
18
|
export declare function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBody?: Partial<MarkUnreadPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
19
|
/**
|
|
20
20
|
* The deserialization information for the current model
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
22
22
|
*/
|
|
23
23
|
export declare function deserializeIntoMarkUnreadPostResponse(markUnreadPostResponse?: Partial<MarkUnreadPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
24
|
export interface MarkUnreadPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
@@ -57,7 +57,8 @@ export interface MarkUnreadRequestBuilder extends BaseRequestBuilder<MarkUnreadR
|
|
|
57
57
|
* Mark a list of serviceUpdateMessages as unread for the signed in user.
|
|
58
58
|
* @param body The request body
|
|
59
59
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
60
|
-
* @returns
|
|
60
|
+
* @returns {Promise<MarkUnreadPostResponse>}
|
|
61
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
61
62
|
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-markunread?view=graph-rest-1.0|Find more info here}
|
|
62
63
|
*/
|
|
63
64
|
post(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MarkUnreadPostResponse | undefined>;
|
|
@@ -65,7 +66,7 @@ export interface MarkUnreadRequestBuilder extends BaseRequestBuilder<MarkUnreadR
|
|
|
65
66
|
* Mark a list of serviceUpdateMessages as unread for the signed in user.
|
|
66
67
|
* @param body The request body
|
|
67
68
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
68
|
-
* @returns
|
|
69
|
+
* @returns {RequestInformation}
|
|
69
70
|
*/
|
|
70
71
|
toPostRequestInformation(body: MarkUnreadPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
71
72
|
}
|
|
@@ -79,12 +80,12 @@ export declare function serializeMarkUnreadPostRequestBody(writer: Serialization
|
|
|
79
80
|
* @param writer Serialization writer to use to serialize this model
|
|
80
81
|
*/
|
|
81
82
|
export declare function serializeMarkUnreadPostResponse(writer: SerializationWriter, markUnreadPostResponse?: Partial<MarkUnreadPostResponse> | undefined): void;
|
|
82
|
-
/**
|
|
83
|
-
* Metadata for all the requests in the request builder.
|
|
84
|
-
*/
|
|
85
|
-
export declare const MarkUnreadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
83
|
/**
|
|
87
84
|
* Uri template for the request builder.
|
|
88
85
|
*/
|
|
89
86
|
export declare const MarkUnreadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markUnread";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const MarkUnreadRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
90
91
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB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G;AACH,eAAO,MAAM,wCAAwC,EAAE,gBAatD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MarkUnreadRequestBuilderRequestsMetadata = exports.MarkUnreadRequestBuilderUriTemplate = exports.serializeMarkUnreadPostResponse = exports.serializeMarkUnreadPostRequestBody = exports.deserializeIntoMarkUnreadPostResponse = exports.deserializeIntoMarkUnreadPostRequestBody = exports.createMarkUnreadPostResponseFromDiscriminatorValue = exports.createMarkUnreadPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,7 +8,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {MarkUnreadPostRequestBody}
|
|
12
12
|
*/
|
|
13
13
|
function createMarkUnreadPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
14
|
return deserializeIntoMarkUnreadPostRequestBody;
|
|
@@ -17,7 +17,7 @@ exports.createMarkUnreadPostRequestBodyFromDiscriminatorValue = createMarkUnread
|
|
|
17
17
|
/**
|
|
18
18
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
19
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
-
* @returns
|
|
20
|
+
* @returns {MarkUnreadPostResponse}
|
|
21
21
|
*/
|
|
22
22
|
function createMarkUnreadPostResponseFromDiscriminatorValue(parseNode) {
|
|
23
23
|
return deserializeIntoMarkUnreadPostResponse;
|
|
@@ -25,7 +25,7 @@ function createMarkUnreadPostResponseFromDiscriminatorValue(parseNode) {
|
|
|
25
25
|
exports.createMarkUnreadPostResponseFromDiscriminatorValue = createMarkUnreadPostResponseFromDiscriminatorValue;
|
|
26
26
|
/**
|
|
27
27
|
* The deserialization information for the current model
|
|
28
|
-
* @returns
|
|
28
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29
29
|
*/
|
|
30
30
|
function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBody = {}) {
|
|
31
31
|
return {
|
|
@@ -36,7 +36,7 @@ function deserializeIntoMarkUnreadPostRequestBody(markUnreadPostRequestBody = {}
|
|
|
36
36
|
exports.deserializeIntoMarkUnreadPostRequestBody = deserializeIntoMarkUnreadPostRequestBody;
|
|
37
37
|
/**
|
|
38
38
|
* The deserialization information for the current model
|
|
39
|
-
* @returns
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
40
|
*/
|
|
41
41
|
function deserializeIntoMarkUnreadPostResponse(markUnreadPostResponse = {}) {
|
|
42
42
|
return {
|
|
@@ -63,15 +63,19 @@ function serializeMarkUnreadPostResponse(writer, markUnreadPostResponse = {}) {
|
|
|
63
63
|
writer.writeAdditionalData(markUnreadPostResponse.additionalData);
|
|
64
64
|
}
|
|
65
65
|
exports.serializeMarkUnreadPostResponse = serializeMarkUnreadPostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.MarkUnreadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markUnread";
|
|
66
70
|
/**
|
|
67
71
|
* Metadata for all the requests in the request builder.
|
|
68
72
|
*/
|
|
69
73
|
exports.MarkUnreadRequestBuilderRequestsMetadata = {
|
|
70
74
|
post: {
|
|
75
|
+
uriTemplate: exports.MarkUnreadRequestBuilderUriTemplate,
|
|
71
76
|
responseBodyContentType: "application/json",
|
|
72
77
|
errorMappings: {
|
|
73
|
-
|
|
74
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
79
|
},
|
|
76
80
|
adapterMethodName: "sendAsync",
|
|
77
81
|
responseBodyFactory: createMarkUnreadPostResponseFromDiscriminatorValue,
|
|
@@ -80,9 +84,5 @@ exports.MarkUnreadRequestBuilderRequestsMetadata = {
|
|
|
80
84
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
85
|
},
|
|
82
86
|
};
|
|
83
|
-
/**
|
|
84
|
-
* Uri template for the request builder.
|
|
85
|
-
*/
|
|
86
|
-
exports.MarkUnreadRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/markUnread";
|
|
87
87
|
/* tslint:enable */
|
|
88
88
|
/* eslint-enable */
|
|
@@ -2,23 +2,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
-
* @returns
|
|
5
|
+
* @returns {UnarchivePostRequestBody}
|
|
6
6
|
*/
|
|
7
7
|
export declare function createUnarchivePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {UnarchivePostResponse}
|
|
12
12
|
*/
|
|
13
13
|
export declare function createUnarchivePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
14
14
|
/**
|
|
15
15
|
* The deserialization information for the current model
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
17
17
|
*/
|
|
18
18
|
export declare function deserializeIntoUnarchivePostRequestBody(unarchivePostRequestBody?: Partial<UnarchivePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
19
|
/**
|
|
20
20
|
* The deserialization information for the current model
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
22
22
|
*/
|
|
23
23
|
export declare function deserializeIntoUnarchivePostResponse(unarchivePostResponse?: Partial<UnarchivePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
24
|
/**
|
|
@@ -67,7 +67,8 @@ export interface UnarchiveRequestBuilder extends BaseRequestBuilder<UnarchiveReq
|
|
|
67
67
|
* Unarchive a list of serviceUpdateMessages for the signed in user.
|
|
68
68
|
* @param body The request body
|
|
69
69
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
|
-
* @returns
|
|
70
|
+
* @returns {Promise<UnarchivePostResponse>}
|
|
71
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
71
72
|
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-unarchive?view=graph-rest-1.0|Find more info here}
|
|
72
73
|
*/
|
|
73
74
|
post(body: UnarchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnarchivePostResponse | undefined>;
|
|
@@ -75,16 +76,16 @@ export interface UnarchiveRequestBuilder extends BaseRequestBuilder<UnarchiveReq
|
|
|
75
76
|
* Unarchive a list of serviceUpdateMessages for the signed in user.
|
|
76
77
|
* @param body The request body
|
|
77
78
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
78
|
-
* @returns
|
|
79
|
+
* @returns {RequestInformation}
|
|
79
80
|
*/
|
|
80
81
|
toPostRequestInformation(body: UnarchivePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
81
82
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Metadata for all the requests in the request builder.
|
|
84
|
-
*/
|
|
85
|
-
export declare const UnarchiveRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
83
|
/**
|
|
87
84
|
* Uri template for the request builder.
|
|
88
85
|
*/
|
|
89
86
|
export declare const UnarchiveRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/unarchive";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const UnarchiveRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
90
91
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,oDAAoD,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,CAE5K;AACD;;;;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;;;GAGG;AACH,wBAAgB,uCAAuC,CAAC,wBAAwB,GAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKhL;AACD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,qBAAqB,GAAE,OAAO,CAAC,qBAA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EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AACD,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACtF;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AACD;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,kBAAkB,CAAC,uBAAuB,CAAC;IACxF;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,wBAAwB,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnJ;AACD;;GAEG;AACH,eAAO,MAAM,kCAAkC,4DAA4D,CAAC;AAC5G;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,gBAarD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.UnarchiveRequestBuilderRequestsMetadata = exports.UnarchiveRequestBuilderUriTemplate = exports.serializeUnarchivePostResponse = exports.serializeUnarchivePostRequestBody = exports.deserializeIntoUnarchivePostResponse = exports.deserializeIntoUnarchivePostRequestBody = exports.createUnarchivePostResponseFromDiscriminatorValue = exports.createUnarchivePostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
@@ -8,7 +8,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {UnarchivePostRequestBody}
|
|
12
12
|
*/
|
|
13
13
|
function createUnarchivePostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
14
14
|
return deserializeIntoUnarchivePostRequestBody;
|
|
@@ -17,7 +17,7 @@ exports.createUnarchivePostRequestBodyFromDiscriminatorValue = createUnarchivePo
|
|
|
17
17
|
/**
|
|
18
18
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
19
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
-
* @returns
|
|
20
|
+
* @returns {UnarchivePostResponse}
|
|
21
21
|
*/
|
|
22
22
|
function createUnarchivePostResponseFromDiscriminatorValue(parseNode) {
|
|
23
23
|
return deserializeIntoUnarchivePostResponse;
|
|
@@ -25,7 +25,7 @@ function createUnarchivePostResponseFromDiscriminatorValue(parseNode) {
|
|
|
25
25
|
exports.createUnarchivePostResponseFromDiscriminatorValue = createUnarchivePostResponseFromDiscriminatorValue;
|
|
26
26
|
/**
|
|
27
27
|
* The deserialization information for the current model
|
|
28
|
-
* @returns
|
|
28
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29
29
|
*/
|
|
30
30
|
function deserializeIntoUnarchivePostRequestBody(unarchivePostRequestBody = {}) {
|
|
31
31
|
return {
|
|
@@ -36,7 +36,7 @@ function deserializeIntoUnarchivePostRequestBody(unarchivePostRequestBody = {})
|
|
|
36
36
|
exports.deserializeIntoUnarchivePostRequestBody = deserializeIntoUnarchivePostRequestBody;
|
|
37
37
|
/**
|
|
38
38
|
* The deserialization information for the current model
|
|
39
|
-
* @returns
|
|
39
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40
40
|
*/
|
|
41
41
|
function deserializeIntoUnarchivePostResponse(unarchivePostResponse = {}) {
|
|
42
42
|
return {
|
|
@@ -63,15 +63,19 @@ function serializeUnarchivePostResponse(writer, unarchivePostResponse = {}) {
|
|
|
63
63
|
writer.writeAdditionalData(unarchivePostResponse.additionalData);
|
|
64
64
|
}
|
|
65
65
|
exports.serializeUnarchivePostResponse = serializeUnarchivePostResponse;
|
|
66
|
+
/**
|
|
67
|
+
* Uri template for the request builder.
|
|
68
|
+
*/
|
|
69
|
+
exports.UnarchiveRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/unarchive";
|
|
66
70
|
/**
|
|
67
71
|
* Metadata for all the requests in the request builder.
|
|
68
72
|
*/
|
|
69
73
|
exports.UnarchiveRequestBuilderRequestsMetadata = {
|
|
70
74
|
post: {
|
|
75
|
+
uriTemplate: exports.UnarchiveRequestBuilderUriTemplate,
|
|
71
76
|
responseBodyContentType: "application/json",
|
|
72
77
|
errorMappings: {
|
|
73
|
-
|
|
74
|
-
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
78
|
+
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
75
79
|
},
|
|
76
80
|
adapterMethodName: "sendAsync",
|
|
77
81
|
responseBodyFactory: createUnarchivePostResponseFromDiscriminatorValue,
|
|
@@ -80,9 +84,5 @@ exports.UnarchiveRequestBuilderRequestsMetadata = {
|
|
|
80
84
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
81
85
|
},
|
|
82
86
|
};
|
|
83
|
-
/**
|
|
84
|
-
* Uri template for the request builder.
|
|
85
|
-
*/
|
|
86
|
-
exports.UnarchiveRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/unarchive";
|
|
87
87
|
/* tslint:enable */
|
|
88
88
|
/* eslint-enable */
|
|
@@ -2,23 +2,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
|
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
4
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
-
* @returns
|
|
5
|
+
* @returns {UnfavoritePostRequestBody}
|
|
6
6
|
*/
|
|
7
7
|
export declare function createUnfavoritePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
8
|
/**
|
|
9
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
-
* @returns
|
|
11
|
+
* @returns {UnfavoritePostResponse}
|
|
12
12
|
*/
|
|
13
13
|
export declare function createUnfavoritePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
14
14
|
/**
|
|
15
15
|
* The deserialization information for the current model
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
17
17
|
*/
|
|
18
18
|
export declare function deserializeIntoUnfavoritePostRequestBody(unfavoritePostRequestBody?: Partial<UnfavoritePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
19
19
|
/**
|
|
20
20
|
* The deserialization information for the current model
|
|
21
|
-
* @returns
|
|
21
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
22
22
|
*/
|
|
23
23
|
export declare function deserializeIntoUnfavoritePostResponse(unfavoritePostResponse?: Partial<UnfavoritePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
24
24
|
/**
|
|
@@ -67,7 +67,8 @@ export interface UnfavoriteRequestBuilder extends BaseRequestBuilder<UnfavoriteR
|
|
|
67
67
|
* Remove the favorite status of serviceUpdateMessages for the signed in user.
|
|
68
68
|
* @param body The request body
|
|
69
69
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
70
|
-
* @returns
|
|
70
|
+
* @returns {Promise<UnfavoritePostResponse>}
|
|
71
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
71
72
|
* @see {@link https://learn.microsoft.com/graph/api/serviceupdatemessage-unfavorite?view=graph-rest-1.0|Find more info here}
|
|
72
73
|
*/
|
|
73
74
|
post(body: UnfavoritePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UnfavoritePostResponse | undefined>;
|
|
@@ -75,16 +76,16 @@ export interface UnfavoriteRequestBuilder extends BaseRequestBuilder<UnfavoriteR
|
|
|
75
76
|
* Remove the favorite status of serviceUpdateMessages for the signed in user.
|
|
76
77
|
* @param body The request body
|
|
77
78
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
78
|
-
* @returns
|
|
79
|
+
* @returns {RequestInformation}
|
|
79
80
|
*/
|
|
80
81
|
toPostRequestInformation(body: UnfavoritePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
81
82
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Metadata for all the requests in the request builder.
|
|
84
|
-
*/
|
|
85
|
-
export declare const UnfavoriteRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
86
83
|
/**
|
|
87
84
|
* Uri template for the request builder.
|
|
88
85
|
*/
|
|
89
86
|
export declare const UnfavoriteRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/messages/unfavorite";
|
|
87
|
+
/**
|
|
88
|
+
* Metadata for all the requests in the request builder.
|
|
89
|
+
*/
|
|
90
|
+
export declare const UnfavoriteRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
90
91
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,KAAK,SAAS,EAAE,KAAK,oBA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