gd-sprest-def 1.8.4 → 1.8.5
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/customV2.js +0 -18
- package/graph.md +3 -16
- package/graph.xml +2 -0
- package/lib/Microsoft/Graph/entityTypes.d.ts +4 -8
- package/lib/mapperv2.d.ts +0 -6
- package/lib/mapperv2.ts +0 -6
- package/main.js +0 -1
- package/package.json +1 -1
package/customV2.js
CHANGED
|
@@ -31,23 +31,5 @@ module.exports = {
|
|
|
31
31
|
name: "update",
|
|
32
32
|
argNames: [{ name: "values", type: "any" }]
|
|
33
33
|
}
|
|
34
|
-
],
|
|
35
|
-
managedAppPolicy: [
|
|
36
|
-
{
|
|
37
|
-
name: "targetApps",
|
|
38
|
-
argNames: [
|
|
39
|
-
{ name: "apps", type: "any" },
|
|
40
|
-
{ name: "appGroupType", type: "any" }
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
managedAppProtection: [
|
|
45
|
-
{
|
|
46
|
-
name: "targetApps",
|
|
47
|
-
argNames: [
|
|
48
|
-
{ name: "apps", type: "any" },
|
|
49
|
-
{ name: "appGroupType", type: "any" }
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
34
|
]
|
|
53
35
|
}
|
package/graph.md
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
###### Missing Properties
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The targetApps action needs to add this property:
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
<Property Name="Title" Type="Edm.String" />
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
###### ComplexType GroupCreationInformation
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
<Property Name="AllowMembersEditMembership" Type="Edm.Boolean" />
|
|
15
|
-
<Property Name="AllowRequestToJoinLeave" Type="Edm.Boolean" />
|
|
16
|
-
<Property Name="AutoAcceptRequestToJoinLeave" Type="Edm.Boolean" />
|
|
17
|
-
<Property Name="OnlyAllowMembersViewMembership" Type="Edm.Boolean" />
|
|
18
|
-
```
|
|
5
|
+
<Parameter Name="appGroupType" Type="graph.targetedManagedAppGroupType" />
|
package/graph.xml
CHANGED
|
@@ -40288,10 +40288,12 @@
|
|
|
40288
40288
|
<Action Name="targetApps" IsBound="true">
|
|
40289
40289
|
<Parameter Name="bindingParameter" Type="graph.managedAppPolicy" />
|
|
40290
40290
|
<Parameter Name="apps" Type="Collection(graph.managedMobileApp)" />
|
|
40291
|
+
<Parameter Name="appGroupType" Type="graph.targetedManagedAppGroupType" />
|
|
40291
40292
|
</Action>
|
|
40292
40293
|
<Action Name="targetApps" IsBound="true">
|
|
40293
40294
|
<Parameter Name="bindingParameter" Type="graph.managedAppProtection" />
|
|
40294
40295
|
<Parameter Name="apps" Type="Collection(graph.managedMobileApp)" />
|
|
40296
|
+
<Parameter Name="appGroupType" Type="graph.targetedManagedAppGroupType" />
|
|
40295
40297
|
</Action>
|
|
40296
40298
|
<Function Name="getUserIdsWithFlaggedAppRegistration" IsBound="true">
|
|
40297
40299
|
<Parameter Name="bindingParameter" Type="Collection(graph.managedAppRegistration)" />
|
|
@@ -10398,12 +10398,10 @@ export interface managedAppPolicyProps extends entityProps {
|
|
|
10398
10398
|
version: string;
|
|
10399
10399
|
}
|
|
10400
10400
|
export interface managedAppPolicyMethods extends entityMethods {
|
|
10401
|
-
targetApps(apps
|
|
10402
|
-
targetApps(apps): IBaseExecution<void>;
|
|
10401
|
+
targetApps(apps, appGroupType): IBaseExecution<void>;
|
|
10403
10402
|
}
|
|
10404
10403
|
export interface managedAppPolicyOData extends entityOData {
|
|
10405
|
-
targetApps(apps
|
|
10406
|
-
targetApps(apps): IBaseExecution<void>;
|
|
10404
|
+
targetApps(apps, appGroupType): IBaseExecution<void>;
|
|
10407
10405
|
}
|
|
10408
10406
|
export interface managedAppPolicyCollection extends IBaseCollection<managedAppPolicy, managedAppPolicyOData & managedAppPolicyProps> {
|
|
10409
10407
|
add(values?: any): IBaseExecution<managedAppPolicy>;
|
|
@@ -10459,12 +10457,10 @@ export interface managedAppProtectionProps extends managedAppPolicyProps {
|
|
|
10459
10457
|
simplePinBlocked: boolean;
|
|
10460
10458
|
}
|
|
10461
10459
|
export interface managedAppProtectionMethods extends managedAppPolicyMethods {
|
|
10462
|
-
targetApps(apps
|
|
10463
|
-
targetApps(apps): IBaseExecution<void>;
|
|
10460
|
+
targetApps(apps, appGroupType): IBaseExecution<void>;
|
|
10464
10461
|
}
|
|
10465
10462
|
export interface managedAppProtectionOData extends managedAppPolicyOData {
|
|
10466
|
-
targetApps(apps
|
|
10467
|
-
targetApps(apps): IBaseExecution<void>;
|
|
10463
|
+
targetApps(apps, appGroupType): IBaseExecution<void>;
|
|
10468
10464
|
}
|
|
10469
10465
|
/*********************************************
|
|
10470
10466
|
* managedAppRegistration
|
package/lib/mapperv2.d.ts
CHANGED
|
@@ -4042,9 +4042,6 @@ export interface IMapper {
|
|
|
4042
4042
|
targetApps: IMapperMethod & {
|
|
4043
4043
|
argNames: ["apps", "appGroupType"]
|
|
4044
4044
|
};
|
|
4045
|
-
targetApps: IMapperMethod & {
|
|
4046
|
-
argNames: ["apps"]
|
|
4047
|
-
};
|
|
4048
4045
|
},
|
|
4049
4046
|
managedAppPolicys: {
|
|
4050
4047
|
properties?: Array<string>;
|
|
@@ -4061,9 +4058,6 @@ export interface IMapper {
|
|
|
4061
4058
|
targetApps: IMapperMethod & {
|
|
4062
4059
|
argNames: ["apps", "appGroupType"]
|
|
4063
4060
|
};
|
|
4064
|
-
targetApps: IMapperMethod & {
|
|
4065
|
-
argNames: ["apps"]
|
|
4066
|
-
};
|
|
4067
4061
|
},
|
|
4068
4062
|
managedAppRegistration: {
|
|
4069
4063
|
properties?: Array<string>;
|
package/lib/mapperv2.ts
CHANGED
|
@@ -6611,9 +6611,6 @@ export const Mapper: IMapper = {
|
|
|
6611
6611
|
query: { argNames: ["oData"], requestType: RequestType.OData },
|
|
6612
6612
|
targetApps: {
|
|
6613
6613
|
argNames: ["apps", "appGroupType"],
|
|
6614
|
-
},
|
|
6615
|
-
targetApps: {
|
|
6616
|
-
argNames: ["apps"],
|
|
6617
6614
|
requestType: RequestType.PostWithArgsInBody,
|
|
6618
6615
|
},
|
|
6619
6616
|
},
|
|
@@ -6634,9 +6631,6 @@ export const Mapper: IMapper = {
|
|
|
6634
6631
|
query: { argNames: ["oData"], requestType: RequestType.OData },
|
|
6635
6632
|
targetApps: {
|
|
6636
6633
|
argNames: ["apps", "appGroupType"],
|
|
6637
|
-
},
|
|
6638
|
-
targetApps: {
|
|
6639
|
-
argNames: ["apps"],
|
|
6640
6634
|
requestType: RequestType.PostWithArgsInBody,
|
|
6641
6635
|
},
|
|
6642
6636
|
},
|
package/main.js
CHANGED
|
@@ -872,7 +872,6 @@ export interface ${name}Collection extends IBaseCollection<${name}, ${name}OData
|
|
|
872
872
|
// Parse the actions
|
|
873
873
|
let entityActions = actions["graph." + name];
|
|
874
874
|
if (entityActions) {
|
|
875
|
-
debugger;
|
|
876
875
|
for (let i = 0; i < entityActions.length; i++) {
|
|
877
876
|
let entityAction = entityActions[i];
|
|
878
877
|
let returnType = entityAction.returnType ? getGraphType(entityAction.returnType) : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gd-sprest-def",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.5",
|
|
4
4
|
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.",
|
|
5
5
|
"author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",
|
|
6
6
|
"license": "MIT",
|