gd-sprest-def 1.8.8 → 1.8.9

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 CHANGED
@@ -8,7 +8,7 @@ module.exports = {
8
8
  },
9
9
  {
10
10
  name: "update",
11
- argNames: [{ name: "values", type: "any" }]
11
+ argNames: [{ name: "values", type: "{ [key: string]: any }" }]
12
12
  }
13
13
  ],
14
14
  contentType: [
@@ -17,7 +17,7 @@ module.exports = {
17
17
  },
18
18
  {
19
19
  name: "update",
20
- argNames: [{ name: "values", type: "any" }]
20
+ argNames: [{ name: "values", type: "{ [key: string]: any }" }]
21
21
  }
22
22
  ],
23
23
  driveItem: [
@@ -40,7 +40,7 @@ module.exports = {
40
40
  },
41
41
  {
42
42
  name: "update",
43
- argNames: [{ name: "values", type: "any" }]
43
+ argNames: [{ name: "values", type: "{ [key: string]: any }" }]
44
44
  }
45
45
  ],
46
46
  permission: [
@@ -49,7 +49,7 @@ module.exports = {
49
49
  },
50
50
  {
51
51
  name: "update",
52
- argNames: [{ name: "values", type: "any" }]
52
+ argNames: [{ name: "values", type: "{ roles: string[] }" }]
53
53
  }
54
54
  ],
55
55
  permissionCollection: [
@@ -64,7 +64,7 @@ module.exports = {
64
64
  },
65
65
  {
66
66
  name: "update",
67
- argNames: [{ name: "values", type: "any" }]
67
+ argNames: [{ name: "values", type: "{ [key: string]: any }" }]
68
68
  }
69
69
  ]
70
70
  }
@@ -3762,12 +3762,12 @@ export interface columnDefinitionProps extends entityProps {
3762
3762
  export interface columnDefinitionMethods extends entityMethods {
3763
3763
  sourceColumn(): IBaseQuery<columnDefinition> & columnDefinitionMethods;
3764
3764
  delete(): IBaseExecution<void>;
3765
- update(values: any): IBaseExecution<void>;
3765
+ update(values: { [key: string]: any }): IBaseExecution<void>;
3766
3766
  }
3767
3767
  export interface columnDefinitionOData extends entityOData {
3768
3768
  sourceColumn: columnDefinition;
3769
3769
  delete: void;
3770
- update(values: any): IBaseExecution<void>;
3770
+ update(values: { [key: string]: any }): IBaseExecution<void>;
3771
3771
  }
3772
3772
  export interface columnDefinitionCollection extends IBaseCollection<columnDefinition, columnDefinitionOData & columnDefinitionProps> {
3773
3773
  add(values?: any): IBaseExecution<columnDefinition>;
@@ -4130,7 +4130,7 @@ export interface contentTypeMethods extends entityMethods {
4130
4130
  columns(): columnDefinitionCollection;
4131
4131
  columns(id: string | number): IBaseQuery<columnDefinition> & columnDefinitionMethods;
4132
4132
  delete(): IBaseExecution<void>;
4133
- update(values: any): IBaseExecution<void>;
4133
+ update(values: { [key: string]: any }): IBaseExecution<void>;
4134
4134
  publish(): IBaseExecution<void>;
4135
4135
  unpublish(): IBaseExecution<void>;
4136
4136
  associateWithHubSites(hubSiteUrls, propagateToExistingLists): IBaseExecution<void>;
@@ -4144,7 +4144,7 @@ export interface contentTypeOData extends entityOData {
4144
4144
  columnPositions: IBaseResults<columnDefinition>;
4145
4145
  columns: IBaseResults<columnDefinition>;
4146
4146
  delete: void;
4147
- update(values: any): IBaseExecution<void>;
4147
+ update(values: { [key: string]: any }): IBaseExecution<void>;
4148
4148
  publish(): IBaseExecution<void>;
4149
4149
  unpublish(): IBaseExecution<void>;
4150
4150
  associateWithHubSites(hubSiteUrls, propagateToExistingLists): IBaseExecution<void>;
@@ -9872,7 +9872,7 @@ export interface listMethods extends baseItemMethods {
9872
9872
  subscriptions(): subscriptionCollection;
9873
9873
  subscriptions(id: string | number): IBaseQuery<subscription> & subscriptionMethods;
9874
9874
  delete(): IBaseExecution<void>;
9875
- update(values: any): IBaseExecution<void>;
9875
+ update(values: { [key: string]: any }): IBaseExecution<void>;
9876
9876
  }
9877
9877
  export interface listOData extends baseItemOData {
9878
9878
  columns: IBaseResults<columnDefinition>;
@@ -9882,7 +9882,7 @@ export interface listOData extends baseItemOData {
9882
9882
  operations: IBaseResults<richLongRunningOperation>;
9883
9883
  subscriptions: IBaseResults<subscription>;
9884
9884
  delete: void;
9885
- update(values: any): IBaseExecution<void>;
9885
+ update(values: { [key: string]: any }): IBaseExecution<void>;
9886
9886
  }
9887
9887
  export interface listCollection extends IBaseCollection<list, listOData & listProps> {
9888
9888
  add(values?: any): IBaseExecution<list>;
@@ -9904,7 +9904,7 @@ export interface listItemMethods extends baseItemMethods {
9904
9904
  versions(): listItemVersionCollection;
9905
9905
  versions(id: string | number): IBaseQuery<listItemVersion> & listItemVersionMethods;
9906
9906
  delete(): IBaseExecution<void>;
9907
- update(values: any): IBaseExecution<void>;
9907
+ update(values: { [key: string]: any }): IBaseExecution<void>;
9908
9908
  createLink(type, scope, expirationDateTime, password, message, recipients, retainInheritedPermissions, sendNotification): IBaseExecution<permission>;
9909
9909
  getActivitiesByInterval(): itemActivityStat[];
9910
9910
  getActivitiesByInterval(startDateTime, endDateTime, interval): itemActivityStat[];
@@ -9916,7 +9916,7 @@ export interface listItemOData extends baseItemOData {
9916
9916
  fields: fieldValueSet;
9917
9917
  versions: IBaseResults<listItemVersion>;
9918
9918
  delete: void;
9919
- update(values: any): IBaseExecution<void>;
9919
+ update(values: { [key: string]: any }): IBaseExecution<void>;
9920
9920
  createLink(type, scope, expirationDateTime, password, message, recipients, retainInheritedPermissions, sendNotification): IBaseExecution<permission>;
9921
9921
  getActivitiesByInterval(): itemActivityStat[];
9922
9922
  getActivitiesByInterval(startDateTime, endDateTime, interval): itemActivityStat[];
@@ -12465,12 +12465,12 @@ export interface permissionProps extends entityProps {
12465
12465
  }
12466
12466
  export interface permissionMethods extends entityMethods {
12467
12467
  delete(): IBaseExecution<void>;
12468
- update(values: any): IBaseExecution<void>;
12468
+ update(values: { roles: string[] }): IBaseExecution<void>;
12469
12469
  grant(roles, recipients): IBaseExecution<permission[]>;
12470
12470
  }
12471
12471
  export interface permissionOData extends entityOData {
12472
12472
  delete: void;
12473
- update(values: any): IBaseExecution<void>;
12473
+ update(values: { roles: string[] }): IBaseExecution<void>;
12474
12474
  grant(roles, recipients): IBaseExecution<permission[]>;
12475
12475
  }
12476
12476
  export interface permissionCollection extends IBaseCollection<permission, permissionOData & permissionProps> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
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",