gd-sprest 9.1.6 → 9.1.7

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.
@@ -1,5 +1,5 @@
1
- import { IBaseExecution } from "gd-sprest-def/lib/base";
2
- import { drive } from "gd-sprest-def/lib/Microsoft/Graph/entityTypes";
1
+ import { IBaseQuery } from "gd-sprest-def/lib/base";
2
+ import { drive, driveMethods } from "gd-sprest-def/lib/Microsoft/Graph/entityTypes";
3
3
  import { ITargetInfoProps } from "../utils";
4
4
 
5
5
  /**
@@ -30,5 +30,5 @@ export interface Idrive {
30
30
  * @param siteId - (Optional) The site id to target, current by default.
31
31
  * @param targetInfo - (Optional) The target information.
32
32
  */
33
- (props?: { driveId?: string, siteId?: string, siteUrl?: string, targetInfo?: ITargetInfoProps }): IBaseExecution<drive>;
33
+ (props?: { driveId?: string, siteId?: string, siteUrl?: string, targetInfo?: ITargetInfoProps }): IBaseQuery<drive> & driveMethods;
34
34
  }
package/build/rest.js CHANGED
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 9.16,
12
+ __ver: 9.17,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,
@@ -4455,8 +4455,8 @@ declare module 'gd-sprest/helper/methods' {
4455
4455
  }
4456
4456
 
4457
4457
  declare module 'gd-sprest/v2/drive' {
4458
- import { IBaseExecution } from "gd-sprest-def/lib/base";
4459
- import { drive } from "gd-sprest-def/lib/Microsoft/Graph/entityTypes";
4458
+ import { IBaseQuery } from "gd-sprest-def/lib/base";
4459
+ import { drive, driveMethods } from "gd-sprest-def/lib/Microsoft/Graph/entityTypes";
4460
4460
  import { ITargetInfoProps } from "gd-sprest/utils";
4461
4461
 
4462
4462
  /**
@@ -4487,7 +4487,7 @@ declare module 'gd-sprest/v2/drive' {
4487
4487
  * @param siteId - (Optional) The site id to target, current by default.
4488
4488
  * @param targetInfo - (Optional) The target information.
4489
4489
  */
4490
- (props?: { driveId?: string, siteId?: string, siteUrl?: string, targetInfo?: ITargetInfoProps }): IBaseExecution<drive>;
4490
+ (props?: { driveId?: string, siteId?: string, siteUrl?: string, targetInfo?: ITargetInfoProps }): IBaseQuery<drive> & driveMethods;
4491
4491
  }
4492
4492
  }
4493
4493