@microsoft/msgraph-sdk-users 1.0.0-preview.29 → 1.0.0-preview.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/users/index.d.ts +7 -7
- package/users/item/chats/item/messages/delta/index.d.ts +3 -3
- package/users/item/chats/item/messages/item/replies/delta/index.d.ts +3 -3
- package/users/item/index.d.ts +8 -8
- package/users/item/joinedTeams/item/channels/item/messages/delta/index.d.ts +3 -3
- package/users/item/joinedTeams/item/channels/item/messages/item/replies/delta/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/messages/delta/index.d.ts +3 -3
- package/users/item/joinedTeams/item/primaryChannel/messages/item/replies/delta/index.d.ts +3 -3
- package/users/item/managedDevices/item/deviceCategory/index.d.ts +10 -1
- package/users/item/managedDevices/item/deviceCategory/index.d.ts.map +1 -1
- package/users/item/managedDevices/item/deviceCategory/index.js +10 -0
- package/users/item/managedDevices/item/deviceCategory/index.js.map +1 -1
- package/users/item/managedDevices/item/deviceCategory/ref/index.d.ts +55 -0
- package/users/item/managedDevices/item/deviceCategory/ref/index.d.ts.map +1 -0
- package/users/item/managedDevices/item/deviceCategory/ref/index.js +47 -0
- package/users/item/managedDevices/item/deviceCategory/ref/index.js.map +1 -0
- package/users/item/managedDevices/item/index.d.ts.map +1 -1
- package/users/item/managedDevices/item/index.js +2 -1
- package/users/item/managedDevices/item/index.js.map +1 -1
- package/users/item/presence/index.d.ts +4 -4
package/users/index.d.ts
CHANGED
|
@@ -37,30 +37,30 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
37
37
|
*/
|
|
38
38
|
byUserId(userId: string): UserItemRequestBuilder;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* List properties and relationships of the user objects.
|
|
41
41
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
42
|
* @returns {Promise<UserCollectionResponse>}
|
|
43
43
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
44
|
-
* @see {@link https://learn.microsoft.com/graph/api/user-list?view=graph-rest-1.0|Find more info here}
|
|
44
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-list?view=graph-rest-1.0|Find more info here}
|
|
45
45
|
*/
|
|
46
46
|
get(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): Promise<UserCollectionResponse | undefined>;
|
|
47
47
|
/**
|
|
48
|
-
* Create a new user
|
|
48
|
+
* Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
|
49
49
|
* @param body The request body
|
|
50
50
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
51
51
|
* @returns {Promise<User>}
|
|
52
52
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
53
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
53
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-post-users?view=graph-rest-1.0|Find more info here}
|
|
54
54
|
*/
|
|
55
55
|
post(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* List properties and relationships of the user objects.
|
|
58
58
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
59
59
|
* @returns {RequestInformation}
|
|
60
60
|
*/
|
|
61
61
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UsersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
62
62
|
/**
|
|
63
|
-
* Create a new user
|
|
63
|
+
* Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties.
|
|
64
64
|
* @param body The request body
|
|
65
65
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
66
66
|
* @returns {RequestInformation}
|
|
@@ -68,7 +68,7 @@ export interface UsersRequestBuilder extends BaseRequestBuilder<UsersRequestBuil
|
|
|
68
68
|
toPostRequestInformation(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* List properties and relationships of the user objects.
|
|
72
72
|
*/
|
|
73
73
|
export interface UsersRequestBuilderGetQueryParameters {
|
|
74
74
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
package/users/item/index.d.ts
CHANGED
|
@@ -377,10 +377,10 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
377
377
|
*/
|
|
378
378
|
get wipeManagedAppRegistrationsByDeviceTag(): WipeManagedAppRegistrationsByDeviceTagRequestBuilder;
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
|
381
381
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
382
382
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
383
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
383
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-delete?view=graph-rest-1.0|Find more info here}
|
|
384
384
|
*/
|
|
385
385
|
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
386
386
|
/**
|
|
@@ -391,11 +391,11 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
391
391
|
*/
|
|
392
392
|
exportDeviceAndAppManagementDataWithSkipWithTop(skip: number | undefined, top: number | undefined): ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder;
|
|
393
393
|
/**
|
|
394
|
-
*
|
|
394
|
+
* Read properties and relationships of the user object.
|
|
395
395
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
396
396
|
* @returns {Promise<User>}
|
|
397
397
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
398
|
-
* @see {@link https://learn.microsoft.com/graph/api/user-get?view=graph-rest-1.0|Find more info here}
|
|
398
|
+
* @see {@link https://learn.microsoft.com/graph/api/intune-onboarding-user-get?view=graph-rest-1.0|Find more info here}
|
|
399
399
|
*/
|
|
400
400
|
get(requestConfiguration?: RequestConfiguration<UserItemRequestBuilderGetQueryParameters> | undefined): Promise<User | undefined>;
|
|
401
401
|
/**
|
|
@@ -404,7 +404,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
404
404
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
405
405
|
* @returns {Promise<User>}
|
|
406
406
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
407
|
-
* @see {@link https://learn.microsoft.com/graph/api/
|
|
407
|
+
* @see {@link https://learn.microsoft.com/graph/api/user-update?view=graph-rest-1.0|Find more info here}
|
|
408
408
|
*/
|
|
409
409
|
patch(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<User | undefined>;
|
|
410
410
|
/**
|
|
@@ -415,13 +415,13 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
415
415
|
*/
|
|
416
416
|
reminderViewWithStartDateTimeWithEndDateTime(endDateTime: string | undefined, startDateTime: string | undefined): ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder;
|
|
417
417
|
/**
|
|
418
|
-
*
|
|
418
|
+
* Delete a user object. When deleted, user resources, including their mailbox and license assignments, are moved to a temporary container and if the user is restored within 30 days, these objects are restored to them. The user is also restored to any groups they were a member of. After 30 days and if not restored, the user object is permanently deleted and their assigned resources freed. To manage the deleted user object, see deletedItems.
|
|
419
419
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
420
420
|
* @returns {RequestInformation}
|
|
421
421
|
*/
|
|
422
422
|
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* Read properties and relationships of the user object.
|
|
425
425
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
426
426
|
* @returns {RequestInformation}
|
|
427
427
|
*/
|
|
@@ -435,7 +435,7 @@ export interface UserItemRequestBuilder extends BaseRequestBuilder<UserItemReque
|
|
|
435
435
|
toPatchRequestInformation(body: User, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* Read properties and relationships of the user object.
|
|
439
439
|
*/
|
|
440
440
|
export interface UserItemRequestBuilderGetQueryParameters {
|
|
441
441
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
|
@@ -17,7 +17,7 @@ export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuilder> {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {Promise<DeltaGetResponse>}
|
|
23
23
|
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
@@ -25,14 +25,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
|
|
|
25
25
|
*/
|
|
26
26
|
get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
29
29
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
30
|
* @returns {RequestInformation}
|
|
31
31
|
*/
|
|
32
32
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
|
|
36
36
|
*/
|
|
37
37
|
export interface DeltaRequestBuilderGetQueryParameters {
|
|
38
38
|
/**
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { type DeviceCategory } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
-
import { type
|
|
2
|
+
import { type RefRequestBuilder } from './ref/index.js';
|
|
3
|
+
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
4
|
/**
|
|
4
5
|
* Provides operations to manage the deviceCategory property of the microsoft.graph.managedDevice entity.
|
|
5
6
|
*/
|
|
6
7
|
export interface DeviceCategoryRequestBuilder extends BaseRequestBuilder<DeviceCategoryRequestBuilder> {
|
|
8
|
+
/**
|
|
9
|
+
* Provides operations to manage the collection of user entities.
|
|
10
|
+
*/
|
|
11
|
+
get ref(): RefRequestBuilder;
|
|
7
12
|
/**
|
|
8
13
|
* Delete navigation property deviceCategory for users
|
|
9
14
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -62,6 +67,10 @@ export interface DeviceCategoryRequestBuilderGetQueryParameters {
|
|
|
62
67
|
* Uri template for the request builder.
|
|
63
68
|
*/
|
|
64
69
|
export declare const DeviceCategoryRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/deviceCategory{?%24expand,%24select}";
|
|
70
|
+
/**
|
|
71
|
+
* Metadata for all the navigation properties in the request builder.
|
|
72
|
+
*/
|
|
73
|
+
export declare const DeviceCategoryRequestBuilderNavigationMetadata: Record<Exclude<keyof DeviceCategoryRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
|
|
65
74
|
/**
|
|
66
75
|
* Metadata for all the requests in the request builder.
|
|
67
76
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAIlJ,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuE,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAIlJ,OAAO,EAAqC,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE3F,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,kBAAkB,CAAC,4BAA4B,CAAC;IAClG;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,CAAC;IAC7B;;;;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,8CAA8C,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpJ;;;;;;OAMG;IACF,KAAK,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IACpI;;;;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,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC1I;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,0GAA0G,CAAC;AAQ/J;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAItK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
import { createDeviceCategoryFromDiscriminatorValue, serializeDeviceCategory } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
6
|
// @ts-ignore
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
import { RefRequestBuilderRequestsMetadata } from './ref/index.js';
|
|
8
10
|
/**
|
|
9
11
|
* Uri template for the request builder.
|
|
10
12
|
*/
|
|
@@ -16,6 +18,14 @@ const DeviceCategoryRequestBuilderGetQueryParametersMapper = {
|
|
|
16
18
|
"expand": "%24expand",
|
|
17
19
|
"select": "%24select",
|
|
18
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Metadata for all the navigation properties in the request builder.
|
|
23
|
+
*/
|
|
24
|
+
export const DeviceCategoryRequestBuilderNavigationMetadata = {
|
|
25
|
+
ref: {
|
|
26
|
+
requestsMetadata: RefRequestBuilderRequestsMetadata,
|
|
27
|
+
},
|
|
28
|
+
};
|
|
19
29
|
/**
|
|
20
30
|
* Metadata for all the requests in the request builder.
|
|
21
31
|
*/
|
|
@@ -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,0CAA0C,EAAE,uBAAuB,EAAuB,MAAM,wCAAwC,CAAC;AAClJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,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,0CAA0C,EAAE,uBAAuB,EAAuB,MAAM,wCAAwC,CAAC;AAClJ,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,iCAAiC,EAA0B,MAAM,gBAAgB,CAAC;AAkE3F;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,uGAAuG,CAAC;AAC/J;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,GAAG,EAAE;QACD,gBAAgB,EAAE,iCAAiC;KACtD;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,MAAM,EAAE;QACJ,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,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,0CAA0C;QAChE,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,0CAA0C;QAChE,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uBAAuB;QAC9C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type ReferenceUpdate } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
3
|
+
/**
|
|
4
|
+
* Provides operations to manage the collection of user entities.
|
|
5
|
+
*/
|
|
6
|
+
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Delete ref of navigation property deviceCategory for users
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Device category
|
|
15
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
16
|
+
* @returns {Promise<string>}
|
|
17
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
18
|
+
*/
|
|
19
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<string | undefined>;
|
|
20
|
+
/**
|
|
21
|
+
* Update the ref of navigation property deviceCategory in users
|
|
22
|
+
* @param body The request body
|
|
23
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
24
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
25
|
+
*/
|
|
26
|
+
put(body: ReferenceUpdate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete ref of navigation property deviceCategory for users
|
|
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
|
+
* Device category
|
|
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
|
+
* Update the ref of navigation property deviceCategory in users
|
|
41
|
+
* @param body The request body
|
|
42
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
43
|
+
* @returns {RequestInformation}
|
|
44
|
+
*/
|
|
45
|
+
toPutRequestInformation(body: ReferenceUpdate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Uri template for the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/deviceCategory/$ref";
|
|
51
|
+
/**
|
|
52
|
+
* Metadata for all the requests in the request builder.
|
|
53
|
+
*/
|
|
54
|
+
export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
55
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAIxG,OAAO,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAExL;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IAC5E;;;;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,MAAM,GAAG,SAAS,CAAC,CAAC;IACpG;;;;;OAKG;IACF,GAAG,CAAC,IAAI,EAAE,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7G;;;;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,eAAe,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzI;AACD;;GAEG;AACH,eAAO,MAAM,4BAA4B,yFAAyF,CAAC;AACnI;;GAEG;AACH,eAAO,MAAM,iCAAiC,EAAE,gBA6B/C,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { serializeReferenceUpdate } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Uri template for the request builder.
|
|
10
|
+
*/
|
|
11
|
+
export const RefRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/deviceCategory/$ref";
|
|
12
|
+
/**
|
|
13
|
+
* Metadata for all the requests in the request builder.
|
|
14
|
+
*/
|
|
15
|
+
export const RefRequestBuilderRequestsMetadata = {
|
|
16
|
+
delete: {
|
|
17
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
18
|
+
responseBodyContentType: "application/json",
|
|
19
|
+
errorMappings: {
|
|
20
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
21
|
+
},
|
|
22
|
+
adapterMethodName: "sendNoResponseContent",
|
|
23
|
+
},
|
|
24
|
+
get: {
|
|
25
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
26
|
+
responseBodyContentType: "application/json",
|
|
27
|
+
errorMappings: {
|
|
28
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
29
|
+
},
|
|
30
|
+
adapterMethodName: "sendPrimitive",
|
|
31
|
+
responseBodyFactory: "string",
|
|
32
|
+
},
|
|
33
|
+
put: {
|
|
34
|
+
uriTemplate: RefRequestBuilderUriTemplate,
|
|
35
|
+
responseBodyContentType: "application/json",
|
|
36
|
+
errorMappings: {
|
|
37
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
38
|
+
},
|
|
39
|
+
adapterMethodName: "sendNoResponseContent",
|
|
40
|
+
requestBodyContentType: "application/json",
|
|
41
|
+
requestBodySerializer: serializeReferenceUpdate,
|
|
42
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
/* tslint:enable */
|
|
46
|
+
/* eslint-enable */
|
|
47
|
+
//# 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,wBAAwB,EAAwB,MAAM,wCAAwC,CAAC;AACxG,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAgD7H;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,sFAAsF,CAAC;AACnI;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAqB;IAC/D,MAAM,EAAE;QACJ,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;KACjC;IACD,GAAG,EAAE;QACD,WAAW,EAAE,4BAA4B;QACzC,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,wBAAwB;QAC/C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAI/I,OAAO,EAAsD,KAAK,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAE9I,OAAO,EAAoD,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAExI,OAAO,EAAiE,KAAK,6CAA6C,EAAE,MAAM,4CAA4C,CAAC;AAE/K,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqE,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAI/I,OAAO,EAAsD,KAAK,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAE9I,OAAO,EAAoD,KAAK,gCAAgC,EAAE,MAAM,+BAA+B,CAAC;AAExI,OAAO,EAAiE,KAAK,6CAA6C,EAAE,MAAM,4CAA4C,CAAC;AAE/K,OAAO,EAAgG,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAE5K,OAAO,EAA4H,KAAK,0CAA0C,EAAE,MAAM,yCAAyC,CAAC;AAEpO,OAAO,EAAsH,KAAK,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAExN,OAAO,EAAiD,KAAK,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE/H,OAAO,EAA8C,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAEtH,OAAO,EAA8G,KAAK,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAExM,OAAO,EAAmE,KAAK,+CAA+C,EAAE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
import { DeleteUserFromSharedAppleDeviceRequestBuilderRequestsMetadata } from './deleteUserFromSharedAppleDevice/index.js';
|
|
14
14
|
// @ts-ignore
|
|
15
|
-
import { DeviceCategoryRequestBuilderRequestsMetadata } from './deviceCategory/index.js';
|
|
15
|
+
import { DeviceCategoryRequestBuilderNavigationMetadata, DeviceCategoryRequestBuilderRequestsMetadata } from './deviceCategory/index.js';
|
|
16
16
|
// @ts-ignore
|
|
17
17
|
import { DeviceCompliancePolicyStatesRequestBuilderNavigationMetadata, DeviceCompliancePolicyStatesRequestBuilderRequestsMetadata } from './deviceCompliancePolicyStates/index.js';
|
|
18
18
|
// @ts-ignore
|
|
@@ -79,6 +79,7 @@ export const ManagedDeviceItemRequestBuilderNavigationMetadata = {
|
|
|
79
79
|
},
|
|
80
80
|
deviceCategory: {
|
|
81
81
|
requestsMetadata: DeviceCategoryRequestBuilderRequestsMetadata,
|
|
82
|
+
navigationMetadata: DeviceCategoryRequestBuilderNavigationMetadata,
|
|
82
83
|
},
|
|
83
84
|
deviceCompliancePolicyStates: {
|
|
84
85
|
requestsMetadata: DeviceCompliancePolicyStatesRequestBuilderRequestsMetadata,
|