@microsoft/msgraph-sdk-communications 1.0.0-preview.74 → 1.0.0-preview.77
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/communications/adhocCalls/count/index.d.ts +41 -0
- package/communications/adhocCalls/count/index.d.ts.map +1 -0
- package/communications/adhocCalls/count/index.js +34 -0
- package/communications/adhocCalls/count/index.js.map +1 -0
- package/communications/adhocCalls/index.d.ts +97 -0
- package/communications/adhocCalls/index.d.ts.map +1 -0
- package/communications/adhocCalls/index.js +71 -0
- package/communications/adhocCalls/index.js.map +1 -0
- package/communications/adhocCalls/item/index.d.ts +83 -0
- package/communications/adhocCalls/item/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/index.js +73 -0
- package/communications/adhocCalls/item/index.js.map +1 -0
- package/communications/adhocCalls/item/recordings/count/index.d.ts +41 -0
- package/communications/adhocCalls/item/recordings/count/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/recordings/count/index.js +34 -0
- package/communications/adhocCalls/item/recordings/count/index.js.map +1 -0
- package/communications/adhocCalls/item/recordings/delta/index.d.ts +91 -0
- package/communications/adhocCalls/item/recordings/delta/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/recordings/delta/index.js +74 -0
- package/communications/adhocCalls/item/recordings/delta/index.js.map +1 -0
- package/communications/adhocCalls/item/recordings/index.d.ts +102 -0
- package/communications/adhocCalls/item/recordings/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/recordings/index.js +76 -0
- package/communications/adhocCalls/item/recordings/index.js.map +1 -0
- package/communications/adhocCalls/item/recordings/item/content/index.d.ts +56 -0
- package/communications/adhocCalls/item/recordings/item/content/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/recordings/item/content/index.js +47 -0
- package/communications/adhocCalls/item/recordings/item/content/index.js.map +1 -0
- package/communications/adhocCalls/item/recordings/item/index.d.ts +78 -0
- package/communications/adhocCalls/item/recordings/item/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/recordings/item/index.js +66 -0
- package/communications/adhocCalls/item/recordings/item/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/count/index.d.ts +41 -0
- package/communications/adhocCalls/item/transcripts/count/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/count/index.js +34 -0
- package/communications/adhocCalls/item/transcripts/count/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/delta/index.d.ts +91 -0
- package/communications/adhocCalls/item/transcripts/delta/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/delta/index.js +74 -0
- package/communications/adhocCalls/item/transcripts/delta/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/index.d.ts +102 -0
- package/communications/adhocCalls/item/transcripts/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/index.js +76 -0
- package/communications/adhocCalls/item/transcripts/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/content/index.d.ts +56 -0
- package/communications/adhocCalls/item/transcripts/item/content/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/content/index.js +47 -0
- package/communications/adhocCalls/item/transcripts/item/content/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/index.d.ts +83 -0
- package/communications/adhocCalls/item/transcripts/item/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/index.js +71 -0
- package/communications/adhocCalls/item/transcripts/item/index.js.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/metadataContent/index.d.ts +55 -0
- package/communications/adhocCalls/item/transcripts/item/metadataContent/index.d.ts.map +1 -0
- package/communications/adhocCalls/item/transcripts/item/metadataContent/index.js +45 -0
- package/communications/adhocCalls/item/transcripts/item/metadataContent/index.js.map +1 -0
- package/communications/index.d.ts +5 -0
- package/communications/index.d.ts.map +1 -1
- package/communications/index.js +6 -0
- package/communications/index.js.map +1 -1
- package/communications/presences/item/clearAutomaticLocation/index.d.ts +28 -0
- package/communications/presences/item/clearAutomaticLocation/index.d.ts.map +1 -0
- package/communications/presences/item/clearAutomaticLocation/index.js +25 -0
- package/communications/presences/item/clearAutomaticLocation/index.js.map +1 -0
- package/communications/presences/item/clearLocation/index.d.ts +28 -0
- package/communications/presences/item/clearLocation/index.d.ts.map +1 -0
- package/communications/presences/item/clearLocation/index.js +25 -0
- package/communications/presences/item/clearLocation/index.js.map +1 -0
- package/communications/presences/item/index.d.ts +20 -0
- package/communications/presences/item/index.d.ts.map +1 -1
- package/communications/presences/item/index.js +20 -0
- package/communications/presences/item/index.js.map +1 -1
- package/communications/presences/item/setAutomaticLocation/index.d.ts +64 -0
- package/communications/presences/item/setAutomaticLocation/index.d.ts.map +1 -0
- package/communications/presences/item/setAutomaticLocation/index.js +67 -0
- package/communications/presences/item/setAutomaticLocation/index.js.map +1 -0
- package/communications/presences/item/setManualLocation/index.d.ts +64 -0
- package/communications/presences/item/setManualLocation/index.d.ts.map +1 -0
- package/communications/presences/item/setManualLocation/index.js +67 -0
- package/communications/presences/item/setManualLocation/index.js.map +1 -0
- package/package.json +2 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/LICENSE +0 -21
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to manage the media for the cloudCommunications entity.
|
|
4
|
+
*/
|
|
5
|
+
export interface MetadataContentRequestBuilder extends BaseRequestBuilder<MetadataContentRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
*/
|
|
11
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
14
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
15
|
+
* @returns {Promise<ArrayBuffer>}
|
|
16
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
17
|
+
*/
|
|
18
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
21
|
+
* @param body Binary request body
|
|
22
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
23
|
+
* @returns {Promise<ArrayBuffer>}
|
|
24
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
|
+
*/
|
|
26
|
+
put(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns {RequestInformation}
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
33
|
+
/**
|
|
34
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
35
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
36
|
+
* @returns {RequestInformation}
|
|
37
|
+
*/
|
|
38
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
39
|
+
/**
|
|
40
|
+
* The time-aligned metadata of the utterances in the transcript. Read-only.
|
|
41
|
+
* @param body Binary request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toPutRequestInformation(body: ArrayBuffer | undefined, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export declare const MetadataContentRequestBuilderUriTemplate = "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent";
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const MetadataContentRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,6BAA6B,CAAC;IACpG;;;;OAIG;IACF,MAAM,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACzF;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC;IACzG;;;;;;OAMG;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,0BAA0B,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;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,wCAAwC,4GAA4G,CAAC;AAClK;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,gBA6B3D,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const MetadataContentRequestBuilderUriTemplate = "{+baseurl}/communications/adhocCalls/{adhocCall%2Did}/transcripts/{callTranscript%2Did}/metadataContent";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const MetadataContentRequestBuilderRequestsMetadata = {
|
|
14
|
+
delete: {
|
|
15
|
+
uriTemplate: MetadataContentRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendNoResponseContent",
|
|
21
|
+
},
|
|
22
|
+
get: {
|
|
23
|
+
uriTemplate: MetadataContentRequestBuilderUriTemplate,
|
|
24
|
+
responseBodyContentType: "application/octet-stream, application/json",
|
|
25
|
+
errorMappings: {
|
|
26
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
27
|
+
},
|
|
28
|
+
adapterMethodName: "sendPrimitive",
|
|
29
|
+
responseBodyFactory: "ArrayBuffer",
|
|
30
|
+
},
|
|
31
|
+
put: {
|
|
32
|
+
uriTemplate: MetadataContentRequestBuilderUriTemplate,
|
|
33
|
+
responseBodyContentType: "application/json",
|
|
34
|
+
errorMappings: {
|
|
35
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
36
|
+
},
|
|
37
|
+
adapterMethodName: "sendPrimitive",
|
|
38
|
+
responseBodyFactory: "ArrayBuffer",
|
|
39
|
+
requestBodyContentType: "application/octet-stream",
|
|
40
|
+
requestInformationContentSetMethod: "setStreamContent",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
/* tslint:enable */
|
|
44
|
+
/* eslint-enable */
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAiD7H;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,yGAAyG,CAAC;AAClK;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAqB;IAC3E,MAAM,EAAE;QACJ,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,4CAA4C;QACrE,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;KACtC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,wCAAwC;QACrD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,aAAa;QACnC,sBAAsB,EAAE,0BAA0B;QAClD,kCAAkC,EAAE,kBAAkB;KACzD;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type CloudCommunications } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdhocCallsRequestBuilder } from './adhocCalls/index.js';
|
|
2
3
|
import { type CallRecordsRequestBuilder } from './callRecords/index.js';
|
|
3
4
|
import { type CallsRequestBuilder } from './calls/index.js';
|
|
4
5
|
import { type GetAllOnlineMeetingMessagesRequestBuilder } from './getAllOnlineMeetingMessages/index.js';
|
|
@@ -11,6 +12,10 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
11
12
|
* Provides operations to manage the cloudCommunications singleton.
|
|
12
13
|
*/
|
|
13
14
|
export interface CommunicationsRequestBuilder extends BaseRequestBuilder<CommunicationsRequestBuilder> {
|
|
15
|
+
/**
|
|
16
|
+
* Provides operations to manage the adhocCalls property of the microsoft.graph.cloudCommunications entity.
|
|
17
|
+
*/
|
|
18
|
+
get adhocCalls(): AdhocCallsRequestBuilder;
|
|
14
19
|
/**
|
|
15
20
|
* Provides operations to manage the callRecords property of the microsoft.graph.cloudCommunications entity.
|
|
16
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiF,KAAK,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAIjK,OAAO,EAA0F,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEhK,OAAO,EAA8E,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAExI,OAAO,EAA6D,KAAK,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AAEnK,OAAO,EA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AC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,oDAAoD,CAAC;AAQzG;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA+BtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBAuB1D,CAAC"}
|
package/communications/index.js
CHANGED
|
@@ -6,6 +6,8 @@ import { createCloudCommunicationsFromDiscriminatorValue, serializeCloudCommunic
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { AdhocCallsRequestBuilderNavigationMetadata, AdhocCallsRequestBuilderRequestsMetadata } from './adhocCalls/index.js';
|
|
10
|
+
// @ts-ignore
|
|
9
11
|
import { CallRecordsRequestBuilderNavigationMetadata, CallRecordsRequestBuilderRequestsMetadata } from './callRecords/index.js';
|
|
10
12
|
// @ts-ignore
|
|
11
13
|
import { CallsRequestBuilderNavigationMetadata, CallsRequestBuilderRequestsMetadata } from './calls/index.js';
|
|
@@ -34,6 +36,10 @@ const CommunicationsRequestBuilderGetQueryParametersMapper = {
|
|
|
34
36
|
* Metadata for all the navigation properties in the request builder.
|
|
35
37
|
*/
|
|
36
38
|
export const CommunicationsRequestBuilderNavigationMetadata = {
|
|
39
|
+
adhocCalls: {
|
|
40
|
+
requestsMetadata: AdhocCallsRequestBuilderRequestsMetadata,
|
|
41
|
+
navigationMetadata: AdhocCallsRequestBuilderNavigationMetadata,
|
|
42
|
+
},
|
|
37
43
|
callRecords: {
|
|
38
44
|
requestsMetadata: CallRecordsRequestBuilderRequestsMetadata,
|
|
39
45
|
navigationMetadata: CallRecordsRequestBuilderNavigationMetadata,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,4BAA4B,EAA4B,MAAM,wCAAwC,CAAC;AACjK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AAChK,aAAa;AACb,OAAO,EAAE,qCAAqC,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACxI,aAAa;AACb,OAAO,EAAE,yDAAyD,EAAkD,MAAM,wCAAwC,CAAC;AACnK,aAAa;AACb,OAAO,EAAE,kDAAkD,EAA2C,MAAM,iCAAiC,CAAC;AAC9I,aAAa;AACb,OAAO,EAAE,0DAA0D,EAAE,wDAAwD,EAAiD,MAAM,uCAAuC,CAAC;AAC5N,aAAa;AACb,OAAO,EAAE,8CAA8C,EAAE,4CAA4C,EAAqC,MAAM,2BAA2B,CAAC;AAC5K,aAAa;AACb,OAAO,EAAE,yCAAyC,EAAE,uCAAuC,EAAgC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAE,4BAA4B,EAA4B,MAAM,wCAAwC,CAAC;AACjK,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAiC,MAAM,uBAAuB,CAAC;AAC5J,aAAa;AACb,OAAO,EAAE,2CAA2C,EAAE,yCAAyC,EAAkC,MAAM,wBAAwB,CAAC;AAChK,aAAa;AACb,OAAO,EA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CAAyC;KAChE;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,qBAAqB,EAAE,oDAAoD;KAC9E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,+CAA+C;QACrE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,4BAA4B;QACnD,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the clearAutomaticLocation method.
|
|
4
|
+
*/
|
|
5
|
+
export interface ClearAutomaticLocationRequestBuilder extends BaseRequestBuilder<ClearAutomaticLocationRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/presence-clearautomaticlocation?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Clear the automatic work location signal for a user. After clearing, the user’s final aggregated work location is recomputed according to the precedence rules: Use this operation when you need to remove the current autodetected signal without affecting manual or scheduled layers.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ClearAutomaticLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ClearAutomaticLocationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,oCAAqC,SAAQ,kBAAkB,CAAC,oCAAoC,CAAC;IAClH;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,+CAA+C,+EAA+E,CAAC;AAC5I;;GAEG;AACH,eAAO,MAAM,oDAAoD,EAAE,gBASlE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const ClearAutomaticLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearAutomaticLocation";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const ClearAutomaticLocationRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: ClearAutomaticLocationRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendNoResponseContent",
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/* tslint:enable */
|
|
24
|
+
/* eslint-enable */
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsB7H;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,4EAA4E,CAAC;AAC5I;;GAEG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAqB;IAClF,IAAI,EAAE;QACF,WAAW,EAAE,+CAA+C;QAC5D,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Provides operations to call the clearLocation method.
|
|
4
|
+
*/
|
|
5
|
+
export interface ClearLocationRequestBuilder extends BaseRequestBuilder<ClearLocationRequestBuilder> {
|
|
6
|
+
/**
|
|
7
|
+
* Clear the work location signals for a user, including both the manual and automatic layers for the current date.
|
|
8
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
9
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/presence-clearlocation?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Clear the work location signals for a user, including both the manual and automatic layers for the current date.
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {RequestInformation}
|
|
17
|
+
*/
|
|
18
|
+
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Uri template for the request builder.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ClearLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearLocation";
|
|
24
|
+
/**
|
|
25
|
+
* Metadata for all the requests in the request builder.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ClearLocationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;;;;OAKG;IACF,IAAI,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF;;;;OAIG;IACF,wBAAwB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACnH;AACD;;GAEG;AACH,eAAO,MAAM,sCAAsC,sEAAsE,CAAC;AAC1H;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBASzD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Uri template for the request builder.
|
|
8
|
+
*/
|
|
9
|
+
export const ClearLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/clearLocation";
|
|
10
|
+
/**
|
|
11
|
+
* Metadata for all the requests in the request builder.
|
|
12
|
+
*/
|
|
13
|
+
export const ClearLocationRequestBuilderRequestsMetadata = {
|
|
14
|
+
post: {
|
|
15
|
+
uriTemplate: ClearLocationRequestBuilderUriTemplate,
|
|
16
|
+
responseBodyContentType: "application/json",
|
|
17
|
+
errorMappings: {
|
|
18
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
19
|
+
},
|
|
20
|
+
adapterMethodName: "sendNoResponseContent",
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
/* tslint:enable */
|
|
24
|
+
/* eslint-enable */
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAsB7H;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,mEAAmE,CAAC;AAC1H;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAqB;IACzE,IAAI,EAAE;QACF,WAAW,EAAE,sCAAsC;QACnD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type Presence } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type ClearAutomaticLocationRequestBuilder } from './clearAutomaticLocation/index.js';
|
|
3
|
+
import { type ClearLocationRequestBuilder } from './clearLocation/index.js';
|
|
2
4
|
import { type ClearPresenceRequestBuilder } from './clearPresence/index.js';
|
|
3
5
|
import { type ClearUserPreferredPresenceRequestBuilder } from './clearUserPreferredPresence/index.js';
|
|
6
|
+
import { type SetAutomaticLocationRequestBuilder } from './setAutomaticLocation/index.js';
|
|
7
|
+
import { type SetManualLocationRequestBuilder } from './setManualLocation/index.js';
|
|
4
8
|
import { type SetPresenceRequestBuilder } from './setPresence/index.js';
|
|
5
9
|
import { type SetStatusMessageRequestBuilder } from './setStatusMessage/index.js';
|
|
6
10
|
import { type SetUserPreferredPresenceRequestBuilder } from './setUserPreferredPresence/index.js';
|
|
@@ -9,6 +13,14 @@ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type
|
|
|
9
13
|
* Provides operations to manage the presences property of the microsoft.graph.cloudCommunications entity.
|
|
10
14
|
*/
|
|
11
15
|
export interface PresenceItemRequestBuilder extends BaseRequestBuilder<PresenceItemRequestBuilder> {
|
|
16
|
+
/**
|
|
17
|
+
* Provides operations to call the clearAutomaticLocation method.
|
|
18
|
+
*/
|
|
19
|
+
get clearAutomaticLocation(): ClearAutomaticLocationRequestBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides operations to call the clearLocation method.
|
|
22
|
+
*/
|
|
23
|
+
get clearLocation(): ClearLocationRequestBuilder;
|
|
12
24
|
/**
|
|
13
25
|
* Provides operations to call the clearPresence method.
|
|
14
26
|
*/
|
|
@@ -17,6 +29,14 @@ export interface PresenceItemRequestBuilder extends BaseRequestBuilder<PresenceI
|
|
|
17
29
|
* Provides operations to call the clearUserPreferredPresence method.
|
|
18
30
|
*/
|
|
19
31
|
get clearUserPreferredPresence(): ClearUserPreferredPresenceRequestBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* Provides operations to call the setAutomaticLocation method.
|
|
34
|
+
*/
|
|
35
|
+
get setAutomaticLocation(): SetAutomaticLocationRequestBuilder;
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the setManualLocation method.
|
|
38
|
+
*/
|
|
39
|
+
get setManualLocation(): SetManualLocationRequestBuilder;
|
|
20
40
|
/**
|
|
21
41
|
* Provides operations to call the setPresence method.
|
|
22
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2D,KAAK,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAIhI,OAAO,EAA+C,KAAK,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEzH,OAAO,EAA4D,KAAK,wCAAwC,EAAE,MAAM,uCAAuC,CAAC;AAEhK,OAAO,EAA6C,KAAK,yB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AoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAClH;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,4CAA4C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACrJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,QAAQ,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACpI;AACD;;GAEG;AACH,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,qCAAqC,8EAA8E,CAAC;AAQjI;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,0BAA0B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CA4BlK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,0CAA0C,EAAE,gBA+BxD,CAAC"}
|
|
@@ -6,10 +6,18 @@ import { createPresenceFromDiscriminatorValue, serializePresence } from '@micros
|
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
|
+
import { ClearAutomaticLocationRequestBuilderRequestsMetadata } from './clearAutomaticLocation/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { ClearLocationRequestBuilderRequestsMetadata } from './clearLocation/index.js';
|
|
12
|
+
// @ts-ignore
|
|
9
13
|
import { ClearPresenceRequestBuilderRequestsMetadata } from './clearPresence/index.js';
|
|
10
14
|
// @ts-ignore
|
|
11
15
|
import { ClearUserPreferredPresenceRequestBuilderRequestsMetadata } from './clearUserPreferredPresence/index.js';
|
|
12
16
|
// @ts-ignore
|
|
17
|
+
import { SetAutomaticLocationRequestBuilderRequestsMetadata } from './setAutomaticLocation/index.js';
|
|
18
|
+
// @ts-ignore
|
|
19
|
+
import { SetManualLocationRequestBuilderRequestsMetadata } from './setManualLocation/index.js';
|
|
20
|
+
// @ts-ignore
|
|
13
21
|
import { SetPresenceRequestBuilderRequestsMetadata } from './setPresence/index.js';
|
|
14
22
|
// @ts-ignore
|
|
15
23
|
import { SetStatusMessageRequestBuilderRequestsMetadata } from './setStatusMessage/index.js';
|
|
@@ -30,12 +38,24 @@ const PresenceItemRequestBuilderGetQueryParametersMapper = {
|
|
|
30
38
|
* Metadata for all the navigation properties in the request builder.
|
|
31
39
|
*/
|
|
32
40
|
export const PresenceItemRequestBuilderNavigationMetadata = {
|
|
41
|
+
clearAutomaticLocation: {
|
|
42
|
+
requestsMetadata: ClearAutomaticLocationRequestBuilderRequestsMetadata,
|
|
43
|
+
},
|
|
44
|
+
clearLocation: {
|
|
45
|
+
requestsMetadata: ClearLocationRequestBuilderRequestsMetadata,
|
|
46
|
+
},
|
|
33
47
|
clearPresence: {
|
|
34
48
|
requestsMetadata: ClearPresenceRequestBuilderRequestsMetadata,
|
|
35
49
|
},
|
|
36
50
|
clearUserPreferredPresence: {
|
|
37
51
|
requestsMetadata: ClearUserPreferredPresenceRequestBuilderRequestsMetadata,
|
|
38
52
|
},
|
|
53
|
+
setAutomaticLocation: {
|
|
54
|
+
requestsMetadata: SetAutomaticLocationRequestBuilderRequestsMetadata,
|
|
55
|
+
},
|
|
56
|
+
setManualLocation: {
|
|
57
|
+
requestsMetadata: SetManualLocationRequestBuilderRequestsMetadata,
|
|
58
|
+
},
|
|
39
59
|
setPresence: {
|
|
40
60
|
requestsMetadata: SetPresenceRequestBuilderRequestsMetadata,
|
|
41
61
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAo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C5E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,qCAAqC;QAClD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,oCAAoC;QAC1D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,iBAAiB;QACxC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { WorkLocationType } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {SetAutomaticLocationPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSetAutomaticLocationPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param SetAutomaticLocationPostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoSetAutomaticLocationPostRequestBody(setAutomaticLocationPostRequestBody?: Partial<SetAutomaticLocationPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
/**
|
|
16
|
+
* Serializes information the current object
|
|
17
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
18
|
+
* @param SetAutomaticLocationPostRequestBody The instance to serialize from.
|
|
19
|
+
* @param writer Serialization writer to use to serialize this model
|
|
20
|
+
*/
|
|
21
|
+
export declare function serializeSetAutomaticLocationPostRequestBody(writer: SerializationWriter, setAutomaticLocationPostRequestBody?: Partial<SetAutomaticLocationPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
22
|
+
export interface SetAutomaticLocationPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
23
|
+
/**
|
|
24
|
+
* Stores model information.
|
|
25
|
+
*/
|
|
26
|
+
backingStoreEnabled?: boolean | null;
|
|
27
|
+
/**
|
|
28
|
+
* The placeId property
|
|
29
|
+
*/
|
|
30
|
+
placeId?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The workLocationType property
|
|
33
|
+
*/
|
|
34
|
+
workLocationType?: WorkLocationType | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the setAutomaticLocation method.
|
|
38
|
+
*/
|
|
39
|
+
export interface SetAutomaticLocationRequestBuilder extends BaseRequestBuilder<SetAutomaticLocationRequestBuilder> {
|
|
40
|
+
/**
|
|
41
|
+
* Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
45
|
+
* @see {@link https://learn.microsoft.com/graph/api/presence-setautomaticlocation?view=graph-rest-1.0|Find more info here}
|
|
46
|
+
*/
|
|
47
|
+
post(body: SetAutomaticLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals.
|
|
50
|
+
* @param body The request body
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toPostRequestInformation(body: SetAutomaticLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const SetAutomaticLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation";
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const SetAutomaticLocationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAA0B,MAAM,wCAAwC,CAAC;AAIlG,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AAEH,wBAAgB,+DAA+D,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,CAEvL;AACD;;;;GAIG;AAEH,wBAAgB,kDAAkD,CAAC,mCAAmC,GAAE,OAAO,CAAC,mCAAmC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAMjN;AACD;;;;;GAKG;AAEH,wBAAgB,4CAA4C,CAAC,MAAM,EAAE,mBAAmB,EAAE,mCAAmC,GAAE,OAAO,CAAC,mCAAmC,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAKrP;AACD,MAAM,WAAW,mCAAoC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACpG;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC9C;AACD;;GAEG;AACH,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB,CAAC,kCAAkC,CAAC;IAC9G;;;;;;OAMG;IACF,IAAI,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAClI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,mCAAmC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC9J;AACD;;GAEG;AACH,eAAO,MAAM,6CAA6C,6EAA6E,CAAC;AACxI;;GAEG;AACH,eAAO,MAAM,kDAAkD,EAAE,gBAYhE,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { WorkLocationTypeObject } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {SetAutomaticLocationPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createSetAutomaticLocationPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoSetAutomaticLocationPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param SetAutomaticLocationPostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoSetAutomaticLocationPostRequestBody(setAutomaticLocationPostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { setAutomaticLocationPostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"placeId": n => { setAutomaticLocationPostRequestBody.placeId = n.getStringValue(); },
|
|
27
|
+
"workLocationType": n => { setAutomaticLocationPostRequestBody.workLocationType = n.getEnumValue(WorkLocationTypeObject); },
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Serializes information the current object
|
|
32
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
33
|
+
* @param SetAutomaticLocationPostRequestBody The instance to serialize from.
|
|
34
|
+
* @param writer Serialization writer to use to serialize this model
|
|
35
|
+
*/
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
export function serializeSetAutomaticLocationPostRequestBody(writer, setAutomaticLocationPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
38
|
+
if (!setAutomaticLocationPostRequestBody || isSerializingDerivedType) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
writer.writeStringValue("placeId", setAutomaticLocationPostRequestBody.placeId);
|
|
42
|
+
writer.writeEnumValue("workLocationType", setAutomaticLocationPostRequestBody.workLocationType);
|
|
43
|
+
writer.writeAdditionalData(setAutomaticLocationPostRequestBody.additionalData);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Uri template for the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const SetAutomaticLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/setAutomaticLocation";
|
|
49
|
+
/**
|
|
50
|
+
* Metadata for all the requests in the request builder.
|
|
51
|
+
*/
|
|
52
|
+
export const SetAutomaticLocationRequestBuilderRequestsMetadata = {
|
|
53
|
+
post: {
|
|
54
|
+
uriTemplate: SetAutomaticLocationRequestBuilderUriTemplate,
|
|
55
|
+
responseBodyContentType: "application/json",
|
|
56
|
+
errorMappings: {
|
|
57
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
58
|
+
},
|
|
59
|
+
adapterMethodName: "sendNoResponseContent",
|
|
60
|
+
requestBodyContentType: "application/json",
|
|
61
|
+
requestBodySerializer: serializeSetAutomaticLocationPostRequestBody,
|
|
62
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
/* tslint:enable */
|
|
66
|
+
/* eslint-enable */
|
|
67
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+BAA+B;AAC/B,aAAa;AACb,OAAO,EAAoB,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAClG,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,+DAA+D,CAAC,SAAgC;IAC5G,OAAO,kDAAkD,CAAC;AAC9D,CAAC;AACD;;;;GAIG;AACH,aAAa;AACb,MAAM,UAAU,kDAAk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@ -0,0 +1,64 @@
|
|
|
1
|
+
import { WorkLocationType } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {SetManualLocationPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createSetManualLocationPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param SetManualLocationPostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoSetManualLocationPostRequestBody(setManualLocationPostRequestBody?: Partial<SetManualLocationPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
/**
|
|
16
|
+
* Serializes information the current object
|
|
17
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
18
|
+
* @param SetManualLocationPostRequestBody The instance to serialize from.
|
|
19
|
+
* @param writer Serialization writer to use to serialize this model
|
|
20
|
+
*/
|
|
21
|
+
export declare function serializeSetManualLocationPostRequestBody(writer: SerializationWriter, setManualLocationPostRequestBody?: Partial<SetManualLocationPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
22
|
+
export interface SetManualLocationPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
23
|
+
/**
|
|
24
|
+
* Stores model information.
|
|
25
|
+
*/
|
|
26
|
+
backingStoreEnabled?: boolean | null;
|
|
27
|
+
/**
|
|
28
|
+
* The placeId property
|
|
29
|
+
*/
|
|
30
|
+
placeId?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The workLocationType property
|
|
33
|
+
*/
|
|
34
|
+
workLocationType?: WorkLocationType | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Provides operations to call the setManualLocation method.
|
|
38
|
+
*/
|
|
39
|
+
export interface SetManualLocationRequestBuilder extends BaseRequestBuilder<SetManualLocationRequestBuilder> {
|
|
40
|
+
/**
|
|
41
|
+
* Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location.
|
|
42
|
+
* @param body The request body
|
|
43
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
44
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
45
|
+
* @see {@link https://learn.microsoft.com/graph/api/presence-setmanuallocation?view=graph-rest-1.0|Find more info here}
|
|
46
|
+
*/
|
|
47
|
+
post(body: SetManualLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location.
|
|
50
|
+
* @param body The request body
|
|
51
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
52
|
+
* @returns {RequestInformation}
|
|
53
|
+
*/
|
|
54
|
+
toPostRequestInformation(body: SetManualLocationPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Uri template for the request builder.
|
|
58
|
+
*/
|
|
59
|
+
export declare const SetManualLocationRequestBuilderUriTemplate = "{+baseurl}/communications/presences/{presence%2Did}/setManualLocation";
|
|
60
|
+
/**
|
|
61
|
+
* Metadata for all the requests in the request builder.
|
|
62
|
+
*/
|
|
63
|
+
export declare const SetManualLocationRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
64
|
+
//# sourceMappingURL=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