@microsoft/msgraph-sdk-devices 1.0.0-preview.10 → 1.0.0-preview.12
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/devices/delta/index.d.ts +3 -3
- package/devices/delta/index.d.ts.map +1 -1
- package/devices/getAvailableExtensionProperties/index.d.ts +6 -6
- package/devices/getAvailableExtensionProperties/index.d.ts.map +1 -1
- package/devices/getByIds/index.d.ts +6 -6
- package/devices/getByIds/index.d.ts.map +1 -1
- package/devices/item/checkMemberGroups/index.d.ts +6 -6
- package/devices/item/checkMemberGroups/index.d.ts.map +1 -1
- package/devices/item/checkMemberObjects/index.d.ts +6 -6
- package/devices/item/checkMemberObjects/index.d.ts.map +1 -1
- package/devices/item/getMemberGroups/index.d.ts +6 -6
- package/devices/item/getMemberGroups/index.d.ts.map +1 -1
- package/devices/item/getMemberObjects/index.d.ts +6 -6
- package/devices/item/getMemberObjects/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/ref/index.d.ts +3 -12
- package/devices/item/registeredOwners/item/ref/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/ref/index.js +1 -8
- package/devices/item/registeredOwners/ref/index.d.ts +22 -1
- package/devices/item/registeredOwners/ref/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/ref/index.js +16 -1
- package/devices/item/registeredUsers/item/ref/index.d.ts +3 -12
- package/devices/item/registeredUsers/item/ref/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/ref/index.js +1 -8
- package/devices/item/registeredUsers/ref/index.d.ts +22 -1
- package/devices/item/registeredUsers/ref/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/ref/index.js +16 -1
- package/devices/validateProperties/index.d.ts +3 -3
- package/devices/validateProperties/index.d.ts.map +1 -1
- package/package.json +8 -8
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -4,6 +4,12 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
4
4
|
* Provides operations to manage the collection of device entities.
|
|
5
5
|
*/
|
|
6
6
|
export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder> {
|
|
7
|
+
/**
|
|
8
|
+
* Remove a user as a registered user of the device.
|
|
9
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
|
+
* @see {@link https://learn.microsoft.com/graph/api/device-delete-registeredusers?view=graph-rest-1.0|Find more info here}
|
|
11
|
+
*/
|
|
12
|
+
delete(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): Promise<void>;
|
|
7
13
|
/**
|
|
8
14
|
* Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
|
|
9
15
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -18,6 +24,12 @@ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder>
|
|
|
18
24
|
* @see {@link https://learn.microsoft.com/graph/api/device-post-registeredusers?view=graph-rest-1.0|Find more info here}
|
|
19
25
|
*/
|
|
20
26
|
post(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Remove a user as a registered user of the device.
|
|
29
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
30
|
+
* @returns a RequestInformation
|
|
31
|
+
*/
|
|
32
|
+
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<RefRequestBuilderDeleteQueryParameters> | undefined): RequestInformation;
|
|
21
33
|
/**
|
|
22
34
|
* Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
|
|
23
35
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -32,6 +44,15 @@ export interface RefRequestBuilder extends BaseRequestBuilder<RefRequestBuilder>
|
|
|
32
44
|
*/
|
|
33
45
|
toPostRequestInformation(body: ReferenceCreate, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
34
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Remove a user as a registered user of the device.
|
|
49
|
+
*/
|
|
50
|
+
export interface RefRequestBuilderDeleteQueryParameters {
|
|
51
|
+
/**
|
|
52
|
+
* The delete Uri
|
|
53
|
+
*/
|
|
54
|
+
id?: string;
|
|
55
|
+
}
|
|
35
56
|
/**
|
|
36
57
|
* Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
|
|
37
58
|
*/
|
|
@@ -68,5 +89,5 @@ export declare const RefRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
|
68
89
|
/**
|
|
69
90
|
* Uri template for the request builder.
|
|
70
91
|
*/
|
|
71
|
-
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
|
|
92
|
+
export declare const RefRequestBuilderUriTemplate = "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}";
|
|
72
93
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkF,KAAK,eAAe,EAAE,KAAK,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAErL,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;;;;;OAKG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,mCAAmC,CAAC,GAA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ACF;;GAEG;AACH,eAAO,MAAM,4BAA4B,0HAA0H,CAAC"}
|
|
@@ -6,6 +6,12 @@ exports.RefRequestBuilderUriTemplate = exports.RefRequestBuilderRequestsMetadata
|
|
|
6
6
|
// Generated by Microsoft Kiota
|
|
7
7
|
const models_1 = require("@microsoft/msgraph-sdk/models/");
|
|
8
8
|
const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
|
|
9
|
+
/**
|
|
10
|
+
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
|
+
*/
|
|
12
|
+
const RefRequestBuilderDeleteQueryParametersMapper = {
|
|
13
|
+
"id": "%40id",
|
|
14
|
+
};
|
|
9
15
|
/**
|
|
10
16
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
11
17
|
*/
|
|
@@ -21,6 +27,15 @@ const RefRequestBuilderGetQueryParametersMapper = {
|
|
|
21
27
|
* Metadata for all the requests in the request builder.
|
|
22
28
|
*/
|
|
23
29
|
exports.RefRequestBuilderRequestsMetadata = {
|
|
30
|
+
delete: {
|
|
31
|
+
responseBodyContentType: "application/json",
|
|
32
|
+
errorMappings: {
|
|
33
|
+
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
34
|
+
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
|
|
35
|
+
},
|
|
36
|
+
adapterMethodName: "sendNoResponseContentAsync",
|
|
37
|
+
queryParametersMapper: RefRequestBuilderDeleteQueryParametersMapper,
|
|
38
|
+
},
|
|
24
39
|
get: {
|
|
25
40
|
responseBodyContentType: "application/json",
|
|
26
41
|
errorMappings: {
|
|
@@ -46,6 +61,6 @@ exports.RefRequestBuilderRequestsMetadata = {
|
|
|
46
61
|
/**
|
|
47
62
|
* Uri template for the request builder.
|
|
48
63
|
*/
|
|
49
|
-
exports.RefRequestBuilderUriTemplate = "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}";
|
|
64
|
+
exports.RefRequestBuilderUriTemplate = "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}";
|
|
50
65
|
/* tslint:enable */
|
|
51
66
|
/* eslint-enable */
|
|
@@ -5,17 +5,17 @@ import { type Guid } from 'guid-typescript';
|
|
|
5
5
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
6
|
* @returns a validatePropertiesPostRequestBody
|
|
7
7
|
*/
|
|
8
|
-
export declare function createValidatePropertiesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined):
|
|
8
|
+
export declare function createValidatePropertiesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
9
|
/**
|
|
10
10
|
* The deserialization information for the current model
|
|
11
11
|
* @returns a Record<string, (node: ParseNode) => void>
|
|
12
12
|
*/
|
|
13
|
-
export declare function deserializeIntoValidatePropertiesPostRequestBody(validatePropertiesPostRequestBody?: ValidatePropertiesPostRequestBody | undefined): Record<string, (node: ParseNode) => void>;
|
|
13
|
+
export declare function deserializeIntoValidatePropertiesPostRequestBody(validatePropertiesPostRequestBody?: Partial<ValidatePropertiesPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
14
|
/**
|
|
15
15
|
* Serializes information the current object
|
|
16
16
|
* @param writer Serialization writer to use to serialize this model
|
|
17
17
|
*/
|
|
18
|
-
export declare function serializeValidatePropertiesPostRequestBody(writer: SerializationWriter, validatePropertiesPostRequestBody?: ValidatePropertiesPostRequestBody | undefined): void;
|
|
18
|
+
export declare function serializeValidatePropertiesPostRequestBody(writer: SerializationWriter, validatePropertiesPostRequestBody?: Partial<ValidatePropertiesPostRequestBody> | undefined): void;
|
|
19
19
|
export interface ValidatePropertiesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
20
20
|
/**
|
|
21
21
|
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClS,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,6DAA6D,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClS,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,6DAA6D,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,CAErL;AACD;;;GAGG;AACH,wBAAgB,gDAAgD,CAAC,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAQ3M;AACD;;;GAGG;AACH,wBAAgB,0CAA0C,CAAC,MAAM,EAAE,mBAAmB,EAAE,iCAAiC,GAAE,OAAO,CAAC,iCAAiC,CAAC,GAAG,SAAc,GAAI,IAAI,CAM7L;AACD,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAClG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;CAC3B;AACD;;GAEG;AACH,MAAM,WAAW,gCAAiC,SAAQ,kBAAkB,CAAC,gCAAgC,CAAC;IAC1G;;;;;OAKG;IACF,IAAI,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAChI;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,iCAAiC,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CAC5J;AACD;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,gBAY9D,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,0CAA0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/msgraph-sdk-devices",
|
|
3
|
-
"version": "1.0.0-preview.
|
|
3
|
+
"version": "1.0.0-preview.12",
|
|
4
4
|
"description": "Devices fluent API for Microsoft Graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Microsoft",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
"homepage": "https://github.com/microsoftgraph/msgraph-sdk-typescript#readme",
|
|
33
33
|
"types": "index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@microsoft/kiota-abstractions": "^1.0.0-preview.
|
|
36
|
-
"@microsoft/kiota-serialization-form": "^1.0.0-preview.
|
|
37
|
-
"@microsoft/kiota-serialization-json": "^1.0.0-preview.
|
|
38
|
-
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.
|
|
39
|
-
"@microsoft/kiota-serialization-text": "^1.0.0-preview.
|
|
40
|
-
"@microsoft/msgraph-sdk": "^1.0.0-preview.
|
|
35
|
+
"@microsoft/kiota-abstractions": "^1.0.0-preview.39",
|
|
36
|
+
"@microsoft/kiota-serialization-form": "^1.0.0-preview.28",
|
|
37
|
+
"@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
|
|
38
|
+
"@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
|
|
39
|
+
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
|
|
40
|
+
"@microsoft/msgraph-sdk": "^1.0.0-preview.12",
|
|
41
41
|
"guid-typescript": "^1.0.9",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8718c626245f6b784097692a85c54f4b3b9b15b5"
|
|
48
48
|
}
|