@microsoft/msgraph-sdk-devices 1.0.0-preview.23 → 1.0.0-preview.25
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/count/index.js +6 -8
- package/devices/count/index.js.map +1 -0
- package/devices/delta/index.d.ts +1 -1
- package/devices/delta/index.d.ts.map +1 -1
- package/devices/delta/index.js +13 -18
- package/devices/delta/index.js.map +1 -0
- package/devices/getAvailableExtensionProperties/index.d.ts +1 -1
- package/devices/getAvailableExtensionProperties/index.d.ts.map +1 -1
- package/devices/getAvailableExtensionProperties/index.js +16 -24
- package/devices/getAvailableExtensionProperties/index.js.map +1 -0
- package/devices/getByIds/index.d.ts +1 -1
- package/devices/getByIds/index.d.ts.map +1 -1
- package/devices/getByIds/index.js +16 -24
- package/devices/getByIds/index.js.map +1 -0
- package/devices/index.d.ts +7 -7
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +26 -28
- package/devices/index.js.map +1 -0
- package/devices/item/checkMemberGroups/index.d.ts +1 -1
- package/devices/item/checkMemberGroups/index.d.ts.map +1 -1
- package/devices/item/checkMemberGroups/index.js +15 -23
- package/devices/item/checkMemberGroups/index.js.map +1 -0
- package/devices/item/checkMemberObjects/index.d.ts +1 -1
- package/devices/item/checkMemberObjects/index.d.ts.map +1 -1
- package/devices/item/checkMemberObjects/index.js +15 -23
- package/devices/item/checkMemberObjects/index.js.map +1 -0
- package/devices/item/extensions/count/index.js +6 -8
- package/devices/item/extensions/count/index.js.map +1 -0
- package/devices/item/extensions/index.d.ts +3 -3
- package/devices/item/extensions/index.d.ts.map +1 -1
- package/devices/item/extensions/index.js +17 -19
- package/devices/item/extensions/index.js.map +1 -0
- package/devices/item/extensions/item/index.d.ts +1 -1
- package/devices/item/extensions/item/index.d.ts.map +1 -1
- package/devices/item/extensions/item/index.js +14 -16
- package/devices/item/extensions/item/index.js.map +1 -0
- package/devices/item/getMemberGroups/index.d.ts +1 -1
- package/devices/item/getMemberGroups/index.d.ts.map +1 -1
- package/devices/item/getMemberGroups/index.js +15 -23
- package/devices/item/getMemberGroups/index.js.map +1 -0
- package/devices/item/getMemberObjects/index.d.ts +1 -1
- package/devices/item/getMemberObjects/index.d.ts.map +1 -1
- package/devices/item/getMemberObjects/index.js +15 -23
- package/devices/item/getMemberObjects/index.js.map +1 -0
- package/devices/item/index.d.ts +11 -11
- package/devices/item/index.d.ts.map +1 -1
- package/devices/item/index.js +40 -42
- package/devices/item/index.js.map +1 -0
- package/devices/item/memberOf/count/index.js +6 -8
- package/devices/item/memberOf/count/index.js.map +1 -0
- package/devices/item/memberOf/graphAdministrativeUnit/count/index.js +6 -8
- package/devices/item/memberOf/graphAdministrativeUnit/count/index.js.map +1 -0
- package/devices/item/memberOf/graphAdministrativeUnit/index.d.ts +2 -2
- package/devices/item/memberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/devices/item/memberOf/graphAdministrativeUnit/index.js +11 -13
- package/devices/item/memberOf/graphAdministrativeUnit/index.js.map +1 -0
- package/devices/item/memberOf/graphGroup/count/index.js +6 -8
- package/devices/item/memberOf/graphGroup/count/index.js.map +1 -0
- package/devices/item/memberOf/graphGroup/index.d.ts +2 -2
- package/devices/item/memberOf/graphGroup/index.d.ts.map +1 -1
- package/devices/item/memberOf/graphGroup/index.js +11 -13
- package/devices/item/memberOf/graphGroup/index.js.map +1 -0
- package/devices/item/memberOf/index.d.ts +5 -5
- package/devices/item/memberOf/index.d.ts.map +1 -1
- package/devices/item/memberOf/index.js +20 -22
- package/devices/item/memberOf/index.js.map +1 -0
- package/devices/item/memberOf/item/graphAdministrativeUnit/index.d.ts +1 -1
- package/devices/item/memberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/devices/item/memberOf/item/graphAdministrativeUnit/index.js +8 -10
- package/devices/item/memberOf/item/graphAdministrativeUnit/index.js.map +1 -0
- package/devices/item/memberOf/item/graphGroup/index.d.ts +1 -1
- package/devices/item/memberOf/item/graphGroup/index.d.ts.map +1 -1
- package/devices/item/memberOf/item/graphGroup/index.js +8 -10
- package/devices/item/memberOf/item/graphGroup/index.js.map +1 -0
- package/devices/item/memberOf/item/index.d.ts +3 -3
- package/devices/item/memberOf/item/index.d.ts.map +1 -1
- package/devices/item/memberOf/item/index.js +13 -15
- package/devices/item/memberOf/item/index.js.map +1 -0
- package/devices/item/registeredOwners/count/index.js +6 -8
- package/devices/item/registeredOwners/count/index.js.map +1 -0
- package/devices/item/registeredOwners/graphAppRoleAssignment/count/index.js +6 -8
- package/devices/item/registeredOwners/graphAppRoleAssignment/count/index.js.map +1 -0
- package/devices/item/registeredOwners/graphAppRoleAssignment/index.d.ts +2 -2
- package/devices/item/registeredOwners/graphAppRoleAssignment/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/graphAppRoleAssignment/index.js +11 -13
- package/devices/item/registeredOwners/graphAppRoleAssignment/index.js.map +1 -0
- package/devices/item/registeredOwners/graphEndpoint/count/index.js +6 -8
- package/devices/item/registeredOwners/graphEndpoint/count/index.js.map +1 -0
- package/devices/item/registeredOwners/graphEndpoint/index.d.ts +2 -2
- package/devices/item/registeredOwners/graphEndpoint/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/graphEndpoint/index.js +11 -13
- package/devices/item/registeredOwners/graphEndpoint/index.js.map +1 -0
- package/devices/item/registeredOwners/graphServicePrincipal/count/index.js +6 -8
- package/devices/item/registeredOwners/graphServicePrincipal/count/index.js.map +1 -0
- package/devices/item/registeredOwners/graphServicePrincipal/index.d.ts +2 -2
- package/devices/item/registeredOwners/graphServicePrincipal/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/graphServicePrincipal/index.js +11 -13
- package/devices/item/registeredOwners/graphServicePrincipal/index.js.map +1 -0
- package/devices/item/registeredOwners/graphUser/count/index.js +6 -8
- package/devices/item/registeredOwners/graphUser/count/index.js.map +1 -0
- package/devices/item/registeredOwners/graphUser/index.d.ts +2 -2
- package/devices/item/registeredOwners/graphUser/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/graphUser/index.js +11 -13
- package/devices/item/registeredOwners/graphUser/index.js.map +1 -0
- package/devices/item/registeredOwners/index.d.ts +8 -8
- package/devices/item/registeredOwners/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/index.js +27 -29
- package/devices/item/registeredOwners/index.js.map +1 -0
- package/devices/item/registeredOwners/item/graphAppRoleAssignment/index.d.ts +1 -1
- package/devices/item/registeredOwners/item/graphAppRoleAssignment/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/graphAppRoleAssignment/index.js +8 -10
- package/devices/item/registeredOwners/item/graphAppRoleAssignment/index.js.map +1 -0
- package/devices/item/registeredOwners/item/graphEndpoint/index.d.ts +1 -1
- package/devices/item/registeredOwners/item/graphEndpoint/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/graphEndpoint/index.js +8 -10
- package/devices/item/registeredOwners/item/graphEndpoint/index.js.map +1 -0
- package/devices/item/registeredOwners/item/graphServicePrincipal/index.d.ts +1 -1
- package/devices/item/registeredOwners/item/graphServicePrincipal/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/graphServicePrincipal/index.js +8 -10
- package/devices/item/registeredOwners/item/graphServicePrincipal/index.js.map +1 -0
- package/devices/item/registeredOwners/item/graphUser/index.d.ts +1 -1
- package/devices/item/registeredOwners/item/graphUser/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/graphUser/index.js +8 -10
- package/devices/item/registeredOwners/item/graphUser/index.js.map +1 -0
- package/devices/item/registeredOwners/item/index.d.ts +5 -5
- package/devices/item/registeredOwners/item/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/item/index.js +13 -15
- package/devices/item/registeredOwners/item/index.js.map +1 -0
- package/devices/item/registeredOwners/item/ref/index.js +6 -8
- package/devices/item/registeredOwners/item/ref/index.js.map +1 -0
- package/devices/item/registeredOwners/ref/index.d.ts +1 -1
- package/devices/item/registeredOwners/ref/index.d.ts.map +1 -1
- package/devices/item/registeredOwners/ref/index.js +13 -15
- package/devices/item/registeredOwners/ref/index.js.map +1 -0
- package/devices/item/registeredUsers/count/index.js +6 -8
- package/devices/item/registeredUsers/count/index.js.map +1 -0
- package/devices/item/registeredUsers/graphAppRoleAssignment/count/index.js +6 -8
- package/devices/item/registeredUsers/graphAppRoleAssignment/count/index.js.map +1 -0
- package/devices/item/registeredUsers/graphAppRoleAssignment/index.d.ts +2 -2
- package/devices/item/registeredUsers/graphAppRoleAssignment/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/graphAppRoleAssignment/index.js +11 -13
- package/devices/item/registeredUsers/graphAppRoleAssignment/index.js.map +1 -0
- package/devices/item/registeredUsers/graphEndpoint/count/index.js +6 -8
- package/devices/item/registeredUsers/graphEndpoint/count/index.js.map +1 -0
- package/devices/item/registeredUsers/graphEndpoint/index.d.ts +2 -2
- package/devices/item/registeredUsers/graphEndpoint/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/graphEndpoint/index.js +11 -13
- package/devices/item/registeredUsers/graphEndpoint/index.js.map +1 -0
- package/devices/item/registeredUsers/graphServicePrincipal/count/index.js +6 -8
- package/devices/item/registeredUsers/graphServicePrincipal/count/index.js.map +1 -0
- package/devices/item/registeredUsers/graphServicePrincipal/index.d.ts +2 -2
- package/devices/item/registeredUsers/graphServicePrincipal/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/graphServicePrincipal/index.js +11 -13
- package/devices/item/registeredUsers/graphServicePrincipal/index.js.map +1 -0
- package/devices/item/registeredUsers/graphUser/count/index.js +6 -8
- package/devices/item/registeredUsers/graphUser/count/index.js.map +1 -0
- package/devices/item/registeredUsers/graphUser/index.d.ts +2 -2
- package/devices/item/registeredUsers/graphUser/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/graphUser/index.js +11 -13
- package/devices/item/registeredUsers/graphUser/index.js.map +1 -0
- package/devices/item/registeredUsers/index.d.ts +8 -8
- package/devices/item/registeredUsers/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/index.js +27 -29
- package/devices/item/registeredUsers/index.js.map +1 -0
- package/devices/item/registeredUsers/item/graphAppRoleAssignment/index.d.ts +1 -1
- package/devices/item/registeredUsers/item/graphAppRoleAssignment/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/graphAppRoleAssignment/index.js +8 -10
- package/devices/item/registeredUsers/item/graphAppRoleAssignment/index.js.map +1 -0
- package/devices/item/registeredUsers/item/graphEndpoint/index.d.ts +1 -1
- package/devices/item/registeredUsers/item/graphEndpoint/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/graphEndpoint/index.js +8 -10
- package/devices/item/registeredUsers/item/graphEndpoint/index.js.map +1 -0
- package/devices/item/registeredUsers/item/graphServicePrincipal/index.d.ts +1 -1
- package/devices/item/registeredUsers/item/graphServicePrincipal/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/graphServicePrincipal/index.js +8 -10
- package/devices/item/registeredUsers/item/graphServicePrincipal/index.js.map +1 -0
- package/devices/item/registeredUsers/item/graphUser/index.d.ts +1 -1
- package/devices/item/registeredUsers/item/graphUser/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/graphUser/index.js +8 -10
- package/devices/item/registeredUsers/item/graphUser/index.js.map +1 -0
- package/devices/item/registeredUsers/item/index.d.ts +5 -5
- package/devices/item/registeredUsers/item/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/item/index.js +13 -15
- package/devices/item/registeredUsers/item/index.js.map +1 -0
- package/devices/item/registeredUsers/item/ref/index.js +6 -8
- package/devices/item/registeredUsers/item/ref/index.js.map +1 -0
- package/devices/item/registeredUsers/ref/index.d.ts +1 -1
- package/devices/item/registeredUsers/ref/index.d.ts.map +1 -1
- package/devices/item/registeredUsers/ref/index.js +13 -15
- package/devices/item/registeredUsers/ref/index.js.map +1 -0
- package/devices/item/restore/index.d.ts +1 -1
- package/devices/item/restore/index.d.ts.map +1 -1
- package/devices/item/restore/index.js +8 -10
- package/devices/item/restore/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/count/index.js +6 -8
- package/devices/item/transitiveMemberOf/count/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js +6 -8
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/count/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts +2 -2
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/index.js +11 -13
- package/devices/item/transitiveMemberOf/graphAdministrativeUnit/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/graphGroup/count/index.js +6 -8
- package/devices/item/transitiveMemberOf/graphGroup/count/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/graphGroup/index.d.ts +2 -2
- package/devices/item/transitiveMemberOf/graphGroup/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/graphGroup/index.js +11 -13
- package/devices/item/transitiveMemberOf/graphGroup/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/index.d.ts +5 -5
- package/devices/item/transitiveMemberOf/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/index.js +20 -22
- package/devices/item/transitiveMemberOf/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts +1 -1
- package/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js +8 -10
- package/devices/item/transitiveMemberOf/item/graphAdministrativeUnit/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/item/graphGroup/index.d.ts +1 -1
- package/devices/item/transitiveMemberOf/item/graphGroup/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/item/graphGroup/index.js +8 -10
- package/devices/item/transitiveMemberOf/item/graphGroup/index.js.map +1 -0
- package/devices/item/transitiveMemberOf/item/index.d.ts +3 -3
- package/devices/item/transitiveMemberOf/item/index.d.ts.map +1 -1
- package/devices/item/transitiveMemberOf/item/index.js +13 -15
- package/devices/item/transitiveMemberOf/item/index.js.map +1 -0
- package/devices/validateProperties/index.js +9 -14
- package/devices/validateProperties/index.js.map +1 -0
- package/devicesServiceClient.d.ts +1 -1
- package/devicesServiceClient.d.ts.map +1 -1
- package/devicesServiceClient.js +20 -23
- package/devicesServiceClient.js.map +1 -0
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +5 -20
- package/index.js.map +1 -0
- package/package.json +4 -3
- package/tsconfig.tsbuildinfo +1 -1
package/devices/count/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
|
|
4
1
|
/* tslint:disable */
|
|
5
2
|
/* eslint-disable */
|
|
6
3
|
// Generated by Microsoft Kiota
|
|
7
4
|
// @ts-ignore
|
|
8
|
-
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
9
6
|
/**
|
|
10
7
|
* Uri template for the request builder.
|
|
11
8
|
*/
|
|
12
|
-
|
|
9
|
+
export const CountRequestBuilderUriTemplate = "{+baseurl}/devices/$count{?%24filter,%24search}";
|
|
13
10
|
/**
|
|
14
11
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
15
12
|
*/
|
|
@@ -20,12 +17,12 @@ const CountRequestBuilderGetQueryParametersMapper = {
|
|
|
20
17
|
/**
|
|
21
18
|
* Metadata for all the requests in the request builder.
|
|
22
19
|
*/
|
|
23
|
-
|
|
20
|
+
export const CountRequestBuilderRequestsMetadata = {
|
|
24
21
|
get: {
|
|
25
|
-
uriTemplate:
|
|
22
|
+
uriTemplate: CountRequestBuilderUriTemplate,
|
|
26
23
|
responseBodyContentType: "text/plain;q=0.9",
|
|
27
24
|
errorMappings: {
|
|
28
|
-
XXX:
|
|
25
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
29
26
|
},
|
|
30
27
|
adapterMethodName: "sendPrimitive",
|
|
31
28
|
responseBodyFactory: "number",
|
|
@@ -34,3 +31,4 @@ exports.CountRequestBuilderRequestsMetadata = {
|
|
|
34
31
|
};
|
|
35
32
|
/* tslint:enable */
|
|
36
33
|
/* eslint-enable */
|
|
34
|
+
//# 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;AAmC7H;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,iDAAiD,CAAC;AAChG;;GAEG;AACH,MAAM,2CAA2C,GAA2B;IACxE,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAqB;IACjE,GAAG,EAAE;QACD,WAAW,EAAE,8BAA8B;QAC3C,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,eAAe;QAClC,mBAAmB,EAAG,QAAQ;QAC9B,qBAAqB,EAAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
package/devices/delta/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BaseDeltaFunctionResponse, type Device } from '@microsoft/msgraph-sdk/models/';
|
|
1
|
+
import { type BaseDeltaFunctionResponse, type Device } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
2
|
import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqI,KAAK,yBAAyB,EAAE,KAAK,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAqI,KAAK,yBAAyB,EAAE,KAAK,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAIxO,OAAO,EAAE,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;AAElO;;;;GAIG;AACH,wBAAgB,4CAA4C,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,CAEpK;AACD,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB,EAAE,QAAQ;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;;;OAMG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjJ;AACD;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAKxJ;AACD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAc,GAAI,IAAI,CAG1I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAA4G,CAAC;AAcxJ;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
|
package/devices/delta/index.js
CHANGED
|
@@ -1,43 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeltaRequestBuilderRequestsMetadata = exports.DeltaRequestBuilderUriTemplate = exports.serializeDeltaGetResponse = exports.deserializeIntoDeltaGetResponse = exports.createDeltaGetResponseFromDiscriminatorValue = void 0;
|
|
4
1
|
/* tslint:disable */
|
|
5
2
|
/* eslint-disable */
|
|
6
3
|
// Generated by Microsoft Kiota
|
|
7
4
|
// @ts-ignore
|
|
8
|
-
|
|
5
|
+
import { createDeviceFromDiscriminatorValue, deserializeIntoBaseDeltaFunctionResponse, serializeBaseDeltaFunctionResponse, serializeDevice } from '@microsoft/msgraph-sdk/models/index.js';
|
|
9
6
|
// @ts-ignore
|
|
10
|
-
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
11
8
|
/**
|
|
12
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
14
11
|
* @returns {DeltaGetResponse}
|
|
15
12
|
*/
|
|
16
|
-
function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
|
|
13
|
+
export function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
|
|
17
14
|
return deserializeIntoDeltaGetResponse;
|
|
18
15
|
}
|
|
19
|
-
exports.createDeltaGetResponseFromDiscriminatorValue = createDeltaGetResponseFromDiscriminatorValue;
|
|
20
16
|
/**
|
|
21
17
|
* The deserialization information for the current model
|
|
22
18
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
23
19
|
*/
|
|
24
|
-
function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
|
|
25
|
-
return Object.assign(Object.assign({},
|
|
20
|
+
export function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
|
|
21
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseDeltaFunctionResponse(deltaGetResponse)), { "value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues(createDeviceFromDiscriminatorValue); } });
|
|
26
22
|
}
|
|
27
|
-
exports.deserializeIntoDeltaGetResponse = deserializeIntoDeltaGetResponse;
|
|
28
23
|
/**
|
|
29
24
|
* Serializes information the current object
|
|
30
25
|
* @param writer Serialization writer to use to serialize this model
|
|
31
26
|
*/
|
|
32
|
-
function serializeDeltaGetResponse(writer, deltaGetResponse = {}) {
|
|
33
|
-
|
|
34
|
-
writer.writeCollectionOfObjectValues("value", deltaGetResponse.value,
|
|
27
|
+
export function serializeDeltaGetResponse(writer, deltaGetResponse = {}) {
|
|
28
|
+
serializeBaseDeltaFunctionResponse(writer, deltaGetResponse);
|
|
29
|
+
writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, serializeDevice);
|
|
35
30
|
}
|
|
36
|
-
exports.serializeDeltaGetResponse = serializeDeltaGetResponse;
|
|
37
31
|
/**
|
|
38
32
|
* Uri template for the request builder.
|
|
39
33
|
*/
|
|
40
|
-
|
|
34
|
+
export const DeltaRequestBuilderUriTemplate = "{+baseurl}/devices/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
41
35
|
/**
|
|
42
36
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
43
37
|
*/
|
|
@@ -54,12 +48,12 @@ const DeltaRequestBuilderGetQueryParametersMapper = {
|
|
|
54
48
|
/**
|
|
55
49
|
* Metadata for all the requests in the request builder.
|
|
56
50
|
*/
|
|
57
|
-
|
|
51
|
+
export const DeltaRequestBuilderRequestsMetadata = {
|
|
58
52
|
get: {
|
|
59
|
-
uriTemplate:
|
|
53
|
+
uriTemplate: DeltaRequestBuilderUriTemplate,
|
|
60
54
|
responseBodyContentType: "application/json",
|
|
61
55
|
errorMappings: {
|
|
62
|
-
XXX:
|
|
56
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
63
57
|
},
|
|
64
58
|
adapterMethodName: "send",
|
|
65
59
|
responseBodyFactory: createDeltaGetResponseFromDiscriminatorValue,
|
|
@@ -68,3 +62,4 @@ exports.DeltaRequestBuilderRequestsMetadata = {
|
|
|
68
62
|
};
|
|
69
63
|
/* tslint:enable */
|
|
70
64
|
/* eslint-enable */
|
|
65
|
+
//# 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,kCAAkC,EAAE,wCAAwC,EAAE,kCAAkC,EAAE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AAE,2CAA2C;KACrE;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BaseCollectionPaginationCountResponse, type ExtensionProperty } from '@microsoft/msgraph-sdk/models/';
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type ExtensionProperty } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
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
3
|
/**
|
|
4
4
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmL,KAAK,qCAAqC,EAAE,KAAK,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmL,KAAK,qCAAqC,EAAE,KAAK,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAI7S,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,kBAAkB,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAElS;;;;GAIG;AACH,wBAAgB,0EAA0E,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,CAElM;AACD;;;;GAIG;AACH,wBAAgB,uEAAuE,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAA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CACzK;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,MAAM,EAAE,mBAAmB,EAAE,8CAA8C,GAAE,OAAO,CAAC,8CAA8C,CAAC,GAAG,SAAc,GAAI,IAAI,CAGpO;AACD;;;GAGG;AACH,wBAAgB,oDAAoD,CAAC,MAAM,EAAE,mBAAmB,EAAE,2CAA2C,GAAE,OAAO,CAAC,2CAA2C,CAAC,GAAG,SAAc,GAAI,IAAI,CAG3N;AACD;;GAEG;AACH,eAAO,MAAM,wDAAwD,uDAAuD,CAAC;AAC7H;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBAa3E,CAAC"}
|
|
@@ -1,81 +1,72 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = exports.serializeGetAvailableExtensionPropertiesPostResponse = exports.serializeGetAvailableExtensionPropertiesPostRequestBody = exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
1
|
/* tslint:disable */
|
|
5
2
|
/* eslint-disable */
|
|
6
3
|
// Generated by Microsoft Kiota
|
|
7
4
|
// @ts-ignore
|
|
8
|
-
|
|
5
|
+
import { createExtensionPropertyFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeExtensionProperty } from '@microsoft/msgraph-sdk/models/index.js';
|
|
9
6
|
// @ts-ignore
|
|
10
|
-
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
11
8
|
/**
|
|
12
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
14
11
|
* @returns {GetAvailableExtensionPropertiesPostRequestBody}
|
|
15
12
|
*/
|
|
16
|
-
function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
+
export function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
17
14
|
return deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
|
|
18
15
|
}
|
|
19
|
-
exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue;
|
|
20
16
|
/**
|
|
21
17
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
22
18
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
23
19
|
* @returns {GetAvailableExtensionPropertiesPostResponse}
|
|
24
20
|
*/
|
|
25
|
-
function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode) {
|
|
21
|
+
export function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode) {
|
|
26
22
|
return deserializeIntoGetAvailableExtensionPropertiesPostResponse;
|
|
27
23
|
}
|
|
28
|
-
exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue;
|
|
29
24
|
/**
|
|
30
25
|
* The deserialization information for the current model
|
|
31
26
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
32
27
|
*/
|
|
33
|
-
function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
28
|
+
export function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
34
29
|
return {
|
|
35
30
|
"backingStoreEnabled": n => { getAvailableExtensionPropertiesPostRequestBody.backingStoreEnabled = true; },
|
|
36
31
|
"isSyncedFromOnPremises": n => { getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises = n.getBooleanValue(); },
|
|
37
32
|
};
|
|
38
33
|
}
|
|
39
|
-
exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
|
|
40
34
|
/**
|
|
41
35
|
* The deserialization information for the current model
|
|
42
36
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43
37
|
*/
|
|
44
|
-
function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse = {}) {
|
|
45
|
-
return Object.assign(Object.assign({},
|
|
38
|
+
export function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse = {}) {
|
|
39
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getAvailableExtensionPropertiesPostResponse)), { "value": n => { getAvailableExtensionPropertiesPostResponse.value = n.getCollectionOfObjectValues(createExtensionPropertyFromDiscriminatorValue); } });
|
|
46
40
|
}
|
|
47
|
-
exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = deserializeIntoGetAvailableExtensionPropertiesPostResponse;
|
|
48
41
|
/**
|
|
49
42
|
* Serializes information the current object
|
|
50
43
|
* @param writer Serialization writer to use to serialize this model
|
|
51
44
|
*/
|
|
52
|
-
function serializeGetAvailableExtensionPropertiesPostRequestBody(writer, getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
45
|
+
export function serializeGetAvailableExtensionPropertiesPostRequestBody(writer, getAvailableExtensionPropertiesPostRequestBody = {}) {
|
|
53
46
|
writer.writeBooleanValue("isSyncedFromOnPremises", getAvailableExtensionPropertiesPostRequestBody.isSyncedFromOnPremises);
|
|
54
47
|
writer.writeAdditionalData(getAvailableExtensionPropertiesPostRequestBody.additionalData);
|
|
55
48
|
}
|
|
56
|
-
exports.serializeGetAvailableExtensionPropertiesPostRequestBody = serializeGetAvailableExtensionPropertiesPostRequestBody;
|
|
57
49
|
/**
|
|
58
50
|
* Serializes information the current object
|
|
59
51
|
* @param writer Serialization writer to use to serialize this model
|
|
60
52
|
*/
|
|
61
|
-
function serializeGetAvailableExtensionPropertiesPostResponse(writer, getAvailableExtensionPropertiesPostResponse = {}) {
|
|
62
|
-
|
|
63
|
-
writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value,
|
|
53
|
+
export function serializeGetAvailableExtensionPropertiesPostResponse(writer, getAvailableExtensionPropertiesPostResponse = {}) {
|
|
54
|
+
serializeBaseCollectionPaginationCountResponse(writer, getAvailableExtensionPropertiesPostResponse);
|
|
55
|
+
writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, serializeExtensionProperty);
|
|
64
56
|
}
|
|
65
|
-
exports.serializeGetAvailableExtensionPropertiesPostResponse = serializeGetAvailableExtensionPropertiesPostResponse;
|
|
66
57
|
/**
|
|
67
58
|
* Uri template for the request builder.
|
|
68
59
|
*/
|
|
69
|
-
|
|
60
|
+
export const GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/devices/getAvailableExtensionProperties";
|
|
70
61
|
/**
|
|
71
62
|
* Metadata for all the requests in the request builder.
|
|
72
63
|
*/
|
|
73
|
-
|
|
64
|
+
export const GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = {
|
|
74
65
|
post: {
|
|
75
|
-
uriTemplate:
|
|
66
|
+
uriTemplate: GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
|
|
76
67
|
responseBodyContentType: "application/json",
|
|
77
68
|
errorMappings: {
|
|
78
|
-
XXX:
|
|
69
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
79
70
|
},
|
|
80
71
|
adapterMethodName: "send",
|
|
81
72
|
responseBodyFactory: createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue,
|
|
@@ -86,3 +77,4 @@ exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = {
|
|
|
86
77
|
};
|
|
87
78
|
/* tslint:enable */
|
|
88
79
|
/* eslint-enable */
|
|
80
|
+
//# 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,6CAA6C,EAAE,oDAAoD,EAAE,8CAA8C,EAAE,0BAA0B,EAAsE,MAAM,wCAAwC,CAAC;AAC7S,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,MAAM,UAAU,0EAA0E,CAAC,SAAgC;IACvH,OAAO,6DAA6D,CAAC;AACzE,CAAC;AACD;;;;GAIG;AACH,MAAM,UAAU,uEAAuE,CAAC,SAAgC;IACpH,OAAO,0DAA0D,CAAC;AACtE,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,6DAA6D,CAAC,iDAAsH,EAAE;IAClM,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,8CAA8C,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QAC1G,wBAAwB,EAAE,CAAC,CAAC,EAAE,GAAG,8CAA8C,CAAC,sBAAsB,GAAG,CAAC,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;KAClI,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,0DAA0D,CAAC,8CAAgH,EAAE;IACzL,uCACO,oDAAoD,CAAC,2CAA2C,CAAC,KACpG,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,2CAA2C,CAAC,KAAK,GAAG,CAAC,CAAC,2BAA2B,CAAoB,6CAA6C,CAAC,CAAC,CAAC,CAAC,IACzK;AACL,CAAC;AA0CD;;;GAGG;AACH,MAAM,UAAU,uDAAuD,CAAC,MAA2B,EAAE,iDAAsH,EAAE;IACzN,MAAM,CAAC,iBAAiB,CAAC,wBAAwB,EAAE,8CAA8C,CAAC,sBAAsB,CAAC,CAAC;IAC1H,MAAM,CAAC,mBAAmB,CAAC,8CAA8C,CAAC,cAAc,CAAC,CAAC;AAC9F,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,oDAAoD,CAAC,MAA2B,EAAE,8CAAgH,EAAE;IAChN,8CAA8C,CAAC,MAAM,EAAE,2CAA2C,CAAC,CAAA;IACnG,MAAM,CAAC,6BAA6B,CAAoB,OAAO,EAAE,2CAA2C,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAC;AACpJ,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GAAG,oDAAoD,CAAC;AAC7H;;GAEG;AACH,MAAM,CAAC,MAAM,6DAA6D,GAAqB;IAC3F,IAAI,EAAE;QACF,WAAW,EAAE,wDAAwD;QACrE,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,uEAAuE;QAC7F,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,uDAAuD;QAC9E,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BaseCollectionPaginationCountResponse, type DirectoryObject } from '@microsoft/msgraph-sdk/models/';
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse, type DirectoryObject } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
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
3
|
/**
|
|
4
4
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAA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ule", { value: true });
|
|
3
|
-
exports.GetByIdsRequestBuilderRequestsMetadata = exports.GetByIdsRequestBuilderUriTemplate = exports.serializeGetByIdsPostResponse = exports.serializeGetByIdsPostRequestBody = exports.deserializeIntoGetByIdsPostResponse = exports.deserializeIntoGetByIdsPostRequestBody = exports.createGetByIdsPostResponseFromDiscriminatorValue = exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = void 0;
|
|
4
1
|
/* tslint:disable */
|
|
5
2
|
/* eslint-disable */
|
|
6
3
|
// Generated by Microsoft Kiota
|
|
7
4
|
// @ts-ignore
|
|
8
|
-
|
|
5
|
+
import { createDirectoryObjectFromDiscriminatorValue, deserializeIntoBaseCollectionPaginationCountResponse, serializeBaseCollectionPaginationCountResponse, serializeDirectoryObject } from '@microsoft/msgraph-sdk/models/index.js';
|
|
9
6
|
// @ts-ignore
|
|
10
|
-
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
11
8
|
/**
|
|
12
9
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13
10
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
14
11
|
* @returns {GetByIdsPostRequestBody}
|
|
15
12
|
*/
|
|
16
|
-
function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
13
|
+
export function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
17
14
|
return deserializeIntoGetByIdsPostRequestBody;
|
|
18
15
|
}
|
|
19
|
-
exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = createGetByIdsPostRequestBodyFromDiscriminatorValue;
|
|
20
16
|
/**
|
|
21
17
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
22
18
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
23
19
|
* @returns {GetByIdsPostResponse}
|
|
24
20
|
*/
|
|
25
|
-
function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
|
|
21
|
+
export function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
|
|
26
22
|
return deserializeIntoGetByIdsPostResponse;
|
|
27
23
|
}
|
|
28
|
-
exports.createGetByIdsPostResponseFromDiscriminatorValue = createGetByIdsPostResponseFromDiscriminatorValue;
|
|
29
24
|
/**
|
|
30
25
|
* The deserialization information for the current model
|
|
31
26
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
32
27
|
*/
|
|
33
|
-
function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
|
|
28
|
+
export function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
|
|
34
29
|
return {
|
|
35
30
|
"backingStoreEnabled": n => { getByIdsPostRequestBody.backingStoreEnabled = true; },
|
|
36
31
|
"ids": n => { getByIdsPostRequestBody.ids = n.getCollectionOfPrimitiveValues(); },
|
|
37
32
|
"types": n => { getByIdsPostRequestBody.types = n.getCollectionOfPrimitiveValues(); },
|
|
38
33
|
};
|
|
39
34
|
}
|
|
40
|
-
exports.deserializeIntoGetByIdsPostRequestBody = deserializeIntoGetByIdsPostRequestBody;
|
|
41
35
|
/**
|
|
42
36
|
* The deserialization information for the current model
|
|
43
37
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44
38
|
*/
|
|
45
|
-
function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse = {}) {
|
|
46
|
-
return Object.assign(Object.assign({},
|
|
39
|
+
export function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse = {}) {
|
|
40
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(getByIdsPostResponse)), { "value": n => { getByIdsPostResponse.value = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); } });
|
|
47
41
|
}
|
|
48
|
-
exports.deserializeIntoGetByIdsPostResponse = deserializeIntoGetByIdsPostResponse;
|
|
49
42
|
/**
|
|
50
43
|
* Serializes information the current object
|
|
51
44
|
* @param writer Serialization writer to use to serialize this model
|
|
52
45
|
*/
|
|
53
|
-
function serializeGetByIdsPostRequestBody(writer, getByIdsPostRequestBody = {}) {
|
|
46
|
+
export function serializeGetByIdsPostRequestBody(writer, getByIdsPostRequestBody = {}) {
|
|
54
47
|
writer.writeCollectionOfPrimitiveValues("ids", getByIdsPostRequestBody.ids);
|
|
55
48
|
writer.writeCollectionOfPrimitiveValues("types", getByIdsPostRequestBody.types);
|
|
56
49
|
writer.writeAdditionalData(getByIdsPostRequestBody.additionalData);
|
|
57
50
|
}
|
|
58
|
-
exports.serializeGetByIdsPostRequestBody = serializeGetByIdsPostRequestBody;
|
|
59
51
|
/**
|
|
60
52
|
* Serializes information the current object
|
|
61
53
|
* @param writer Serialization writer to use to serialize this model
|
|
62
54
|
*/
|
|
63
|
-
function serializeGetByIdsPostResponse(writer, getByIdsPostResponse = {}) {
|
|
64
|
-
|
|
65
|
-
writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value,
|
|
55
|
+
export function serializeGetByIdsPostResponse(writer, getByIdsPostResponse = {}) {
|
|
56
|
+
serializeBaseCollectionPaginationCountResponse(writer, getByIdsPostResponse);
|
|
57
|
+
writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, serializeDirectoryObject);
|
|
66
58
|
}
|
|
67
|
-
exports.serializeGetByIdsPostResponse = serializeGetByIdsPostResponse;
|
|
68
59
|
/**
|
|
69
60
|
* Uri template for the request builder.
|
|
70
61
|
*/
|
|
71
|
-
|
|
62
|
+
export const GetByIdsRequestBuilderUriTemplate = "{+baseurl}/devices/getByIds";
|
|
72
63
|
/**
|
|
73
64
|
* Metadata for all the requests in the request builder.
|
|
74
65
|
*/
|
|
75
|
-
|
|
66
|
+
export const GetByIdsRequestBuilderRequestsMetadata = {
|
|
76
67
|
post: {
|
|
77
|
-
uriTemplate:
|
|
68
|
+
uriTemplate: GetByIdsRequestBuilderUriTemplate,
|
|
78
69
|
responseBodyContentType: "application/json",
|
|
79
70
|
errorMappings: {
|
|
80
|
-
XXX:
|
|
71
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
81
72
|
},
|
|
82
73
|
adapterMethodName: "send",
|
|
83
74
|
responseBodyFactory: createGetByIdsPostResponseFromDiscriminatorValue,
|
|
@@ -88,3 +79,4 @@ exports.GetByIdsRequestBuilderRequestsMetadata = {
|
|
|
88
79
|
};
|
|
89
80
|
/* tslint:enable */
|
|
90
81
|
/* eslint-enable */
|
|
82
|
+
//# 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,2CAA2C,EAAE,oDAAoD,EAAE,8CAA8C,EAAE,wBAAwB,EAAoE,MAAM,wCAAwC,CAAC;AACvS,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAI7H;;;;GAIG;AACH,MAAM,UAAU,mDAAmD,CAAC,SAAgC;IAChG,OAAO,sCAAsC,CAAC;AAClD,CAAC;AACD;;;;GAIG;AACH,MAAM,UAAU,gDAAgD,CAAC,SAAgC;IAC7F,OAAO,mCAAmC,CAAC;AAC/C,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,sCAAsC,CAAC,0BAAwE,EAAE;IAC7H,OAAO;QACH,qBAAqB,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,CAAC;QACnF,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,GAAG,GAAG,CAAC,CAAC,8BAA8B,EAAU,CAAC,CAAC,CAAC;QACzF,OAAO,EAAE,CAAC,CAAC,EAAE,GAAG,uBAAuB,CAAC,KAAK,GAAG,CAAC,CAAC,8BAA8B,EAAU,CAAC,CAAC,CAAC;KAChG,CAAA;AACL,CAAC;AACD;;;GAGG;AACH,MAAM,UAAU,mCAAmC,CAAC,uBAAkE,EAAE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eviceCollectionResponse } from '@microsoft/msgraph-sdk/models/';
|
|
2
|
-
import { type CountRequestBuilder } from './count/';
|
|
3
|
-
import { type DeltaRequestBuilder } from './delta/';
|
|
4
|
-
import { type GetAvailableExtensionPropertiesRequestBuilder } from './getAvailableExtensionProperties/';
|
|
5
|
-
import { type GetByIdsRequestBuilder } from './getByIds/';
|
|
6
|
-
import { type DeviceItemRequestBuilder } from './item/';
|
|
7
|
-
import { type ValidatePropertiesRequestBuilder } from './validateProperties/';
|
|
1
|
+
import { type Device, type DeviceCollectionResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
|
+
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type DeltaRequestBuilder } from './delta/index.js';
|
|
4
|
+
import { type GetAvailableExtensionPropertiesRequestBuilder } from './getAvailableExtensionProperties/index.js';
|
|
5
|
+
import { type GetByIdsRequestBuilder } from './getByIds/index.js';
|
|
6
|
+
import { type DeviceItemRequestBuilder } from './item/index.js';
|
|
7
|
+
import { type ValidatePropertiesRequestBuilder } from './validateProperties/index.js';
|
|
8
8
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
9
9
|
/**
|
|
10
10
|
* Provides operations to manage the collection of device entities.
|
package/devices/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6G,KAAK,MAAM,EAAE,KAAK,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6G,KAAK,MAAM,EAAE,KAAK,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAI/M,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EA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,oBAAoB,CAAC,uCAAuC,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IAChJ;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACjI;AACD;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AACD;;GAEG;AACH,eAAO,MAAM,gCAAgC,oGAAoG,CAAC;AAclJ;;GAEG;AACH,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,qBAAqB,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAqBxJ,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,qCAAqC,EAAE,gBAuBnD,CAAC"}
|
package/devices/index.js
CHANGED
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DevicesRequestBuilderRequestsMetadata = exports.DevicesRequestBuilderNavigationMetadata = exports.DevicesRequestBuilderUriTemplate = void 0;
|
|
4
1
|
/* tslint:disable */
|
|
5
2
|
/* eslint-disable */
|
|
6
3
|
// Generated by Microsoft Kiota
|
|
7
4
|
// @ts-ignore
|
|
8
|
-
|
|
5
|
+
import { createDeviceCollectionResponseFromDiscriminatorValue, createDeviceFromDiscriminatorValue, serializeDevice } from '@microsoft/msgraph-sdk/models/index.js';
|
|
9
6
|
// @ts-ignore
|
|
10
|
-
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
11
8
|
// @ts-ignore
|
|
12
|
-
|
|
9
|
+
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
13
10
|
// @ts-ignore
|
|
14
|
-
|
|
11
|
+
import { DeltaRequestBuilderRequestsMetadata } from './delta/index.js';
|
|
15
12
|
// @ts-ignore
|
|
16
|
-
|
|
13
|
+
import { GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata } from './getAvailableExtensionProperties/index.js';
|
|
17
14
|
// @ts-ignore
|
|
18
|
-
|
|
15
|
+
import { GetByIdsRequestBuilderRequestsMetadata } from './getByIds/index.js';
|
|
19
16
|
// @ts-ignore
|
|
20
|
-
|
|
17
|
+
import { DeviceItemRequestBuilderNavigationMetadata, DeviceItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
21
18
|
// @ts-ignore
|
|
22
|
-
|
|
19
|
+
import { ValidatePropertiesRequestBuilderRequestsMetadata } from './validateProperties/index.js';
|
|
23
20
|
/**
|
|
24
21
|
* Uri template for the request builder.
|
|
25
22
|
*/
|
|
26
|
-
|
|
23
|
+
export const DevicesRequestBuilderUriTemplate = "{+baseurl}/devices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
|
|
27
24
|
/**
|
|
28
25
|
* Mapper for query parameters from symbol name to serialization name represented as a constant.
|
|
29
26
|
*/
|
|
@@ -40,54 +37,55 @@ const DevicesRequestBuilderGetQueryParametersMapper = {
|
|
|
40
37
|
/**
|
|
41
38
|
* Metadata for all the navigation properties in the request builder.
|
|
42
39
|
*/
|
|
43
|
-
|
|
40
|
+
export const DevicesRequestBuilderNavigationMetadata = {
|
|
44
41
|
byDeviceId: {
|
|
45
|
-
requestsMetadata:
|
|
46
|
-
navigationMetadata:
|
|
42
|
+
requestsMetadata: DeviceItemRequestBuilderRequestsMetadata,
|
|
43
|
+
navigationMetadata: DeviceItemRequestBuilderNavigationMetadata,
|
|
47
44
|
pathParametersMappings: ["device%2Did"],
|
|
48
45
|
},
|
|
49
46
|
count: {
|
|
50
|
-
requestsMetadata:
|
|
47
|
+
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
51
48
|
},
|
|
52
49
|
delta: {
|
|
53
|
-
requestsMetadata:
|
|
50
|
+
requestsMetadata: DeltaRequestBuilderRequestsMetadata,
|
|
54
51
|
},
|
|
55
52
|
getAvailableExtensionProperties: {
|
|
56
|
-
requestsMetadata:
|
|
53
|
+
requestsMetadata: GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
|
|
57
54
|
},
|
|
58
55
|
getByIds: {
|
|
59
|
-
requestsMetadata:
|
|
56
|
+
requestsMetadata: GetByIdsRequestBuilderRequestsMetadata,
|
|
60
57
|
},
|
|
61
58
|
validateProperties: {
|
|
62
|
-
requestsMetadata:
|
|
59
|
+
requestsMetadata: ValidatePropertiesRequestBuilderRequestsMetadata,
|
|
63
60
|
},
|
|
64
61
|
};
|
|
65
62
|
/**
|
|
66
63
|
* Metadata for all the requests in the request builder.
|
|
67
64
|
*/
|
|
68
|
-
|
|
65
|
+
export const DevicesRequestBuilderRequestsMetadata = {
|
|
69
66
|
get: {
|
|
70
|
-
uriTemplate:
|
|
67
|
+
uriTemplate: DevicesRequestBuilderUriTemplate,
|
|
71
68
|
responseBodyContentType: "application/json",
|
|
72
69
|
errorMappings: {
|
|
73
|
-
XXX:
|
|
70
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
74
71
|
},
|
|
75
72
|
adapterMethodName: "send",
|
|
76
|
-
responseBodyFactory:
|
|
73
|
+
responseBodyFactory: createDeviceCollectionResponseFromDiscriminatorValue,
|
|
77
74
|
queryParametersMapper: DevicesRequestBuilderGetQueryParametersMapper,
|
|
78
75
|
},
|
|
79
76
|
post: {
|
|
80
|
-
uriTemplate:
|
|
77
|
+
uriTemplate: DevicesRequestBuilderUriTemplate,
|
|
81
78
|
responseBodyContentType: "application/json",
|
|
82
79
|
errorMappings: {
|
|
83
|
-
XXX:
|
|
80
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
84
81
|
},
|
|
85
82
|
adapterMethodName: "send",
|
|
86
|
-
responseBodyFactory:
|
|
83
|
+
responseBodyFactory: createDeviceFromDiscriminatorValue,
|
|
87
84
|
requestBodyContentType: "application/json",
|
|
88
|
-
requestBodySerializer:
|
|
85
|
+
requestBodySerializer: serializeDevice,
|
|
89
86
|
requestInformationContentSetMethod: "setContentFromParsable",
|
|
90
87
|
},
|
|
91
88
|
};
|
|
92
89
|
/* tslint:enable */
|
|
93
90
|
/* eslint-enable */
|
|
91
|
+
//# 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,oDAAoD,EAAE,kCAAkC,EAAE,eAAe,EAA8C,MAAM,wCAAwC,CAAC;AAC/M,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,6DAA6D,EAAsD,MAAM,4CAA4C,CAAC;AAC/K,aAAa;AACb,OAAO,EAAE,sCAAsC,EAA+B,MAAM,qBAAqB,CAAC;AAC1G,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAE,wCAAwC,EAAiC,MAAM,iBAAiB,CAAC;AACtJ,aAAa;AACb,OAAO,EAAyC,gDAAgD,EAAE,MAAM,+BAA+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AsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,eAAe;QACtC,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/';
|
|
1
|
+
import { type BaseCollectionPaginationCountResponse } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
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
3
|
export interface CheckMemberGroupsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAwG,KAAK,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AAI1M,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,MAAM,WAAW,gCAAiC,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IACjG;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;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