@pnp/graph 2.7.0 → 2.11.0
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/LICENSE +25 -25
- package/attachments/conversations.d.ts +9 -9
- package/attachments/conversations.js +4 -4
- package/attachments/index.d.ts +2 -2
- package/attachments/index.js +2 -2
- package/attachments/types.d.ts +26 -26
- package/attachments/types.js +46 -46
- package/batch.d.ts +17 -17
- package/batch.js +176 -176
- package/calendars/funcs.d.ts +36 -24
- package/calendars/funcs.d.ts.map +1 -1
- package/calendars/funcs.js +43 -29
- package/calendars/funcs.js.map +1 -1
- package/calendars/groups.d.ts +13 -13
- package/calendars/groups.js +5 -5
- package/calendars/index.d.ts +4 -4
- package/calendars/index.js +3 -3
- package/calendars/types.d.ts +52 -51
- package/calendars/types.d.ts.map +1 -1
- package/calendars/types.js +98 -96
- package/calendars/types.js.map +1 -1
- package/calendars/users.d.ts +22 -22
- package/calendars/users.js +9 -9
- package/cloud-communications/index.d.ts +8 -8
- package/cloud-communications/index.js +14 -14
- package/cloud-communications/types.d.ts +21 -21
- package/cloud-communications/types.js +46 -46
- package/cloud-communications/users.d.ts +9 -9
- package/cloud-communications/users.js +4 -4
- package/contacts/index.d.ts +2 -2
- package/contacts/index.js +2 -2
- package/contacts/types.d.ts +75 -75
- package/contacts/types.js +145 -145
- package/contacts/users.d.ts +11 -11
- package/contacts/users.js +5 -5
- package/conversations/groups.d.ts +13 -13
- package/conversations/groups.js +6 -6
- package/conversations/index.d.ts +2 -2
- package/conversations/index.js +2 -2
- package/conversations/types.d.ts +103 -103
- package/conversations/types.js +173 -173
- package/decorators.d.ts +103 -103
- package/decorators.js +138 -138
- package/directory-objects/index.d.ts +7 -7
- package/directory-objects/index.js +13 -13
- package/directory-objects/types.d.ts +67 -67
- package/directory-objects/types.js +96 -96
- package/graphhttpclient.d.ts +13 -13
- package/graphhttpclient.js +95 -95
- package/graphlibconfig.d.ts +21 -21
- package/graphlibconfig.js +19 -19
- package/graphqueryable.d.ts +156 -156
- package/graphqueryable.d.ts.map +1 -1
- package/graphqueryable.js +247 -237
- package/graphqueryable.js.map +1 -1
- package/groups/index.d.ts +7 -7
- package/groups/index.js +13 -13
- package/groups/types.d.ts +81 -81
- package/groups/types.d.ts.map +1 -1
- package/groups/types.js +137 -137
- package/groups/types.js.map +1 -1
- package/index.d.ts +8 -8
- package/index.js +7 -7
- package/insights/index.d.ts +2 -2
- package/insights/index.js +2 -2
- package/insights/types.d.ts +76 -76
- package/insights/types.js +162 -162
- package/insights/users.d.ts +9 -9
- package/insights/users.js +4 -4
- package/invitations/index.d.ts +7 -7
- package/invitations/index.js +13 -13
- package/invitations/types.d.ts +25 -25
- package/invitations/types.js +44 -44
- package/members/groups.d.ts +11 -11
- package/members/groups.js +5 -5
- package/members/index.d.ts +2 -2
- package/members/index.js +2 -2
- package/members/types.d.ts +31 -31
- package/members/types.js +49 -49
- package/messages/index.d.ts +2 -2
- package/messages/index.js +2 -2
- package/messages/types.d.ts +43 -43
- package/messages/types.d.ts.map +1 -1
- package/messages/types.js +77 -77
- package/messages/types.js.map +1 -1
- package/messages/users.d.ts +15 -15
- package/messages/users.js +10 -10
- package/onedrive/index.d.ts +2 -2
- package/onedrive/index.js +2 -2
- package/onedrive/types.d.ts +95 -87
- package/onedrive/types.d.ts.map +1 -1
- package/onedrive/types.js +241 -192
- package/onedrive/types.js.map +1 -1
- package/onedrive/users.d.ts +11 -11
- package/onedrive/users.js +5 -5
- package/onenote/index.d.ts +2 -2
- package/onenote/index.js +2 -2
- package/onenote/types.d.ts +76 -76
- package/onenote/types.js +149 -149
- package/onenote/users.d.ts +9 -9
- package/onenote/users.js +4 -4
- package/operations.d.ts +8 -8
- package/operations.js +41 -41
- package/outlook/index.d.ts +2 -2
- package/outlook/index.js +2 -2
- package/outlook/types.d.ts +40 -40
- package/outlook/types.js +76 -76
- package/outlook/users.d.ts +9 -9
- package/outlook/users.js +4 -4
- package/package.json +5 -5
- package/photos/groups.d.ts +9 -9
- package/photos/groups.js +4 -4
- package/photos/index.d.ts +3 -3
- package/photos/index.js +3 -3
- package/photos/types.d.ts +21 -21
- package/photos/types.js +37 -37
- package/photos/users.d.ts +9 -9
- package/photos/users.js +4 -4
- package/planner/groups.d.ts +9 -9
- package/planner/groups.js +4 -4
- package/planner/index.d.ts +9 -9
- package/planner/index.js +15 -15
- package/planner/types.d.ts +117 -117
- package/planner/types.js +291 -291
- package/planner/users.d.ts +9 -9
- package/planner/users.js +4 -4
- package/presets/all.d.ts +38 -38
- package/presets/all.js +38 -38
- package/readme.md +21 -21
- package/rest.d.ts +30 -30
- package/rest.js +57 -57
- package/search/index.d.ts +7 -7
- package/search/index.js +18 -18
- package/search/types.d.ts +16 -16
- package/search/types.js +23 -23
- package/sites/group.d.ts +9 -9
- package/sites/group.js +4 -4
- package/sites/index.d.ts +2 -2
- package/sites/index.js +2 -2
- package/sites/types.d.ts +23 -23
- package/sites/types.js +47 -47
- package/subscriptions/index.d.ts +7 -7
- package/subscriptions/index.js +13 -13
- package/subscriptions/types.d.ts +37 -37
- package/subscriptions/types.js +72 -72
- package/teams/index.d.ts +19 -19
- package/teams/index.js +35 -35
- package/teams/types.d.ts +112 -111
- package/teams/types.d.ts.map +1 -1
- package/teams/types.js +261 -254
- package/teams/types.js.map +1 -1
- package/teams/users.d.ts +9 -9
- package/teams/users.js +4 -4
- package/types.d.ts +9 -9
- package/types.js +19 -19
- package/users/index.d.ts +8 -8
- package/users/index.js +23 -23
- package/users/types.d.ts +35 -35
- package/users/types.d.ts.map +1 -1
- package/users/types.js +82 -82
- package/users/types.js.map +1 -1
- package/utils/toabsoluteurl.d.ts +7 -7
- package/utils/toabsoluteurl.js +48 -48
- package/utils/type.d.ts +3 -3
- package/utils/type.js +3 -3
package/insights/types.d.ts
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { OfficeGraphInsights as IOfficeGraphInsightsType, Trending as ITrendingInsightType, UsedInsight as IUsedInsightType, SharedInsight as ISharedInsightType, Entity as IEntityType } from "@microsoft/microsoft-graph-types";
|
|
2
|
-
import { _GraphQueryableInstance, _GraphQueryableCollection } from "../graphqueryable.js";
|
|
3
|
-
import { IGetById } from "../decorators.js";
|
|
4
|
-
/**
|
|
5
|
-
* Represents a insights entity
|
|
6
|
-
*/
|
|
7
|
-
export declare class _Insights extends _GraphQueryableInstance<IOfficeGraphInsightsType> {
|
|
8
|
-
get trending(): ITrendingInsights;
|
|
9
|
-
get used(): IUsedInsights;
|
|
10
|
-
get shared(): ISharedInsights;
|
|
11
|
-
}
|
|
12
|
-
export interface IInsights extends _Insights {
|
|
13
|
-
}
|
|
14
|
-
export declare const Insights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
15
|
-
/**
|
|
16
|
-
* Describes a Trending Insight instance
|
|
17
|
-
*/
|
|
18
|
-
export declare class _TrendingInsight extends _GraphQueryableInstance<ITrendingInsightType> {
|
|
19
|
-
get resource(): IResource;
|
|
20
|
-
}
|
|
21
|
-
export interface ITrendingInsight extends _TrendingInsight {
|
|
22
|
-
}
|
|
23
|
-
export declare const TrendingInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ITrendingInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
24
|
-
/**
|
|
25
|
-
* Describes a collection of Trending Insight objects
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
export declare class _TrendingInsights extends _GraphQueryableCollection<ITrendingInsightType[]> {
|
|
29
|
-
}
|
|
30
|
-
export interface ITrendingInsights extends _TrendingInsights, IGetById<ITrendingInsight> {
|
|
31
|
-
}
|
|
32
|
-
export declare const TrendingInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ITrendingInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
33
|
-
/**
|
|
34
|
-
* Describes a Used Insight instance
|
|
35
|
-
*/
|
|
36
|
-
export declare class _UsedInsight extends _GraphQueryableInstance<IUsedInsightType> {
|
|
37
|
-
get resource(): IResource;
|
|
38
|
-
}
|
|
39
|
-
export interface IUsedInsight extends _UsedInsight {
|
|
40
|
-
}
|
|
41
|
-
export declare const UsedInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IUsedInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
42
|
-
/**
|
|
43
|
-
* Describes a collection of Used Insight objects
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export declare class _UsedInsights extends _GraphQueryableCollection<IUsedInsightType[]> {
|
|
47
|
-
}
|
|
48
|
-
export interface IUsedInsights extends _UsedInsights, IGetById<IUsedInsight> {
|
|
49
|
-
}
|
|
50
|
-
export declare const UsedInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IUsedInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
51
|
-
/**
|
|
52
|
-
* Describes a Shared Insight instance
|
|
53
|
-
*/
|
|
54
|
-
export declare class _SharedInsight extends _GraphQueryableInstance<ISharedInsightType> {
|
|
55
|
-
get resource(): IResource;
|
|
56
|
-
}
|
|
57
|
-
export interface ISharedInsight extends _SharedInsight {
|
|
58
|
-
}
|
|
59
|
-
export declare const SharedInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ISharedInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
60
|
-
/**
|
|
61
|
-
* Describes a collection of Shared Insight objects
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export declare class _SharedInsights extends _GraphQueryableCollection<ISharedInsightType[]> {
|
|
65
|
-
}
|
|
66
|
-
export interface ISharedInsights extends _SharedInsights, IGetById<ISharedInsight> {
|
|
67
|
-
}
|
|
68
|
-
export declare const SharedInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ISharedInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
69
|
-
/**
|
|
70
|
-
* Describes a Resource Entity instance
|
|
71
|
-
*/
|
|
72
|
-
export declare class _Resource extends _GraphQueryableInstance<IEntityType> {
|
|
73
|
-
}
|
|
74
|
-
export interface IResource extends _Resource {
|
|
75
|
-
}
|
|
76
|
-
export declare const Resource: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IResource & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
1
|
+
import { OfficeGraphInsights as IOfficeGraphInsightsType, Trending as ITrendingInsightType, UsedInsight as IUsedInsightType, SharedInsight as ISharedInsightType, Entity as IEntityType } from "@microsoft/microsoft-graph-types";
|
|
2
|
+
import { _GraphQueryableInstance, _GraphQueryableCollection } from "../graphqueryable.js";
|
|
3
|
+
import { IGetById } from "../decorators.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a insights entity
|
|
6
|
+
*/
|
|
7
|
+
export declare class _Insights extends _GraphQueryableInstance<IOfficeGraphInsightsType> {
|
|
8
|
+
get trending(): ITrendingInsights;
|
|
9
|
+
get used(): IUsedInsights;
|
|
10
|
+
get shared(): ISharedInsights;
|
|
11
|
+
}
|
|
12
|
+
export interface IInsights extends _Insights {
|
|
13
|
+
}
|
|
14
|
+
export declare const Insights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
15
|
+
/**
|
|
16
|
+
* Describes a Trending Insight instance
|
|
17
|
+
*/
|
|
18
|
+
export declare class _TrendingInsight extends _GraphQueryableInstance<ITrendingInsightType> {
|
|
19
|
+
get resource(): IResource;
|
|
20
|
+
}
|
|
21
|
+
export interface ITrendingInsight extends _TrendingInsight {
|
|
22
|
+
}
|
|
23
|
+
export declare const TrendingInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ITrendingInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
24
|
+
/**
|
|
25
|
+
* Describes a collection of Trending Insight objects
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class _TrendingInsights extends _GraphQueryableCollection<ITrendingInsightType[]> {
|
|
29
|
+
}
|
|
30
|
+
export interface ITrendingInsights extends _TrendingInsights, IGetById<ITrendingInsight> {
|
|
31
|
+
}
|
|
32
|
+
export declare const TrendingInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ITrendingInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
33
|
+
/**
|
|
34
|
+
* Describes a Used Insight instance
|
|
35
|
+
*/
|
|
36
|
+
export declare class _UsedInsight extends _GraphQueryableInstance<IUsedInsightType> {
|
|
37
|
+
get resource(): IResource;
|
|
38
|
+
}
|
|
39
|
+
export interface IUsedInsight extends _UsedInsight {
|
|
40
|
+
}
|
|
41
|
+
export declare const UsedInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IUsedInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Describes a collection of Used Insight objects
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export declare class _UsedInsights extends _GraphQueryableCollection<IUsedInsightType[]> {
|
|
47
|
+
}
|
|
48
|
+
export interface IUsedInsights extends _UsedInsights, IGetById<IUsedInsight> {
|
|
49
|
+
}
|
|
50
|
+
export declare const UsedInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IUsedInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
51
|
+
/**
|
|
52
|
+
* Describes a Shared Insight instance
|
|
53
|
+
*/
|
|
54
|
+
export declare class _SharedInsight extends _GraphQueryableInstance<ISharedInsightType> {
|
|
55
|
+
get resource(): IResource;
|
|
56
|
+
}
|
|
57
|
+
export interface ISharedInsight extends _SharedInsight {
|
|
58
|
+
}
|
|
59
|
+
export declare const SharedInsight: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ISharedInsight & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
60
|
+
/**
|
|
61
|
+
* Describes a collection of Shared Insight objects
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class _SharedInsights extends _GraphQueryableCollection<ISharedInsightType[]> {
|
|
65
|
+
}
|
|
66
|
+
export interface ISharedInsights extends _SharedInsights, IGetById<ISharedInsight> {
|
|
67
|
+
}
|
|
68
|
+
export declare const SharedInsights: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => ISharedInsights & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
69
|
+
/**
|
|
70
|
+
* Describes a Resource Entity instance
|
|
71
|
+
*/
|
|
72
|
+
export declare class _Resource extends _GraphQueryableInstance<IEntityType> {
|
|
73
|
+
}
|
|
74
|
+
export interface IResource extends _Resource {
|
|
75
|
+
}
|
|
76
|
+
export declare const Resource: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IResource & import("@pnp/odata/invokable-binder.js").IInvokable<any>;
|
|
77
77
|
//# sourceMappingURL=types.d.ts.map
|
package/insights/types.js
CHANGED
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
import { __decorate, __extends } from "tslib";
|
|
2
|
-
import { _GraphQueryableInstance, _GraphQueryableCollection, graphInvokableFactory, } from "../graphqueryable.js";
|
|
3
|
-
import { defaultPath, getById } from "../decorators.js";
|
|
4
|
-
/**
|
|
5
|
-
* Represents a insights entity
|
|
6
|
-
*/
|
|
7
|
-
var _Insights = /** @class */ (function (_super) {
|
|
8
|
-
__extends(_Insights, _super);
|
|
9
|
-
function _Insights() {
|
|
10
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(_Insights.prototype, "trending", {
|
|
13
|
-
get: function () {
|
|
14
|
-
return TrendingInsights(this);
|
|
15
|
-
},
|
|
16
|
-
enumerable: false,
|
|
17
|
-
configurable: true
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(_Insights.prototype, "used", {
|
|
20
|
-
get: function () {
|
|
21
|
-
return UsedInsights(this);
|
|
22
|
-
},
|
|
23
|
-
enumerable: false,
|
|
24
|
-
configurable: true
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(_Insights.prototype, "shared", {
|
|
27
|
-
get: function () {
|
|
28
|
-
return SharedInsights(this);
|
|
29
|
-
},
|
|
30
|
-
enumerable: false,
|
|
31
|
-
configurable: true
|
|
32
|
-
});
|
|
33
|
-
_Insights = __decorate([
|
|
34
|
-
defaultPath("insights")
|
|
35
|
-
], _Insights);
|
|
36
|
-
return _Insights;
|
|
37
|
-
}(_GraphQueryableInstance));
|
|
38
|
-
export { _Insights };
|
|
39
|
-
export var Insights = graphInvokableFactory(_Insights);
|
|
40
|
-
/**
|
|
41
|
-
* Describes a Trending Insight instance
|
|
42
|
-
*/
|
|
43
|
-
var _TrendingInsight = /** @class */ (function (_super) {
|
|
44
|
-
__extends(_TrendingInsight, _super);
|
|
45
|
-
function _TrendingInsight() {
|
|
46
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
-
}
|
|
48
|
-
Object.defineProperty(_TrendingInsight.prototype, "resource", {
|
|
49
|
-
get: function () {
|
|
50
|
-
return Resource(this);
|
|
51
|
-
},
|
|
52
|
-
enumerable: false,
|
|
53
|
-
configurable: true
|
|
54
|
-
});
|
|
55
|
-
return _TrendingInsight;
|
|
56
|
-
}(_GraphQueryableInstance));
|
|
57
|
-
export { _TrendingInsight };
|
|
58
|
-
export var TrendingInsight = graphInvokableFactory(_TrendingInsight);
|
|
59
|
-
/**
|
|
60
|
-
* Describes a collection of Trending Insight objects
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
var _TrendingInsights = /** @class */ (function (_super) {
|
|
64
|
-
__extends(_TrendingInsights, _super);
|
|
65
|
-
function _TrendingInsights() {
|
|
66
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
67
|
-
}
|
|
68
|
-
_TrendingInsights = __decorate([
|
|
69
|
-
defaultPath("trending"),
|
|
70
|
-
getById(TrendingInsight)
|
|
71
|
-
], _TrendingInsights);
|
|
72
|
-
return _TrendingInsights;
|
|
73
|
-
}(_GraphQueryableCollection));
|
|
74
|
-
export { _TrendingInsights };
|
|
75
|
-
export var TrendingInsights = graphInvokableFactory(_TrendingInsights);
|
|
76
|
-
/**
|
|
77
|
-
* Describes a Used Insight instance
|
|
78
|
-
*/
|
|
79
|
-
var _UsedInsight = /** @class */ (function (_super) {
|
|
80
|
-
__extends(_UsedInsight, _super);
|
|
81
|
-
function _UsedInsight() {
|
|
82
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
83
|
-
}
|
|
84
|
-
Object.defineProperty(_UsedInsight.prototype, "resource", {
|
|
85
|
-
get: function () {
|
|
86
|
-
return Resource(this);
|
|
87
|
-
},
|
|
88
|
-
enumerable: false,
|
|
89
|
-
configurable: true
|
|
90
|
-
});
|
|
91
|
-
return _UsedInsight;
|
|
92
|
-
}(_GraphQueryableInstance));
|
|
93
|
-
export { _UsedInsight };
|
|
94
|
-
export var UsedInsight = graphInvokableFactory(_UsedInsight);
|
|
95
|
-
/**
|
|
96
|
-
* Describes a collection of Used Insight objects
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
var _UsedInsights = /** @class */ (function (_super) {
|
|
100
|
-
__extends(_UsedInsights, _super);
|
|
101
|
-
function _UsedInsights() {
|
|
102
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
103
|
-
}
|
|
104
|
-
_UsedInsights = __decorate([
|
|
105
|
-
defaultPath("used"),
|
|
106
|
-
getById(UsedInsight)
|
|
107
|
-
], _UsedInsights);
|
|
108
|
-
return _UsedInsights;
|
|
109
|
-
}(_GraphQueryableCollection));
|
|
110
|
-
export { _UsedInsights };
|
|
111
|
-
export var UsedInsights = graphInvokableFactory(_UsedInsights);
|
|
112
|
-
/**
|
|
113
|
-
* Describes a Shared Insight instance
|
|
114
|
-
*/
|
|
115
|
-
var _SharedInsight = /** @class */ (function (_super) {
|
|
116
|
-
__extends(_SharedInsight, _super);
|
|
117
|
-
function _SharedInsight() {
|
|
118
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
119
|
-
}
|
|
120
|
-
Object.defineProperty(_SharedInsight.prototype, "resource", {
|
|
121
|
-
get: function () {
|
|
122
|
-
return Resource(this);
|
|
123
|
-
},
|
|
124
|
-
enumerable: false,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
return _SharedInsight;
|
|
128
|
-
}(_GraphQueryableInstance));
|
|
129
|
-
export { _SharedInsight };
|
|
130
|
-
export var SharedInsight = graphInvokableFactory(_SharedInsight);
|
|
131
|
-
/**
|
|
132
|
-
* Describes a collection of Shared Insight objects
|
|
133
|
-
*
|
|
134
|
-
*/
|
|
135
|
-
var _SharedInsights = /** @class */ (function (_super) {
|
|
136
|
-
__extends(_SharedInsights, _super);
|
|
137
|
-
function _SharedInsights() {
|
|
138
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
139
|
-
}
|
|
140
|
-
_SharedInsights = __decorate([
|
|
141
|
-
defaultPath("shared"),
|
|
142
|
-
getById(SharedInsight)
|
|
143
|
-
], _SharedInsights);
|
|
144
|
-
return _SharedInsights;
|
|
145
|
-
}(_GraphQueryableCollection));
|
|
146
|
-
export { _SharedInsights };
|
|
147
|
-
export var SharedInsights = graphInvokableFactory(_SharedInsights);
|
|
148
|
-
/**
|
|
149
|
-
* Describes a Resource Entity instance
|
|
150
|
-
*/
|
|
151
|
-
var _Resource = /** @class */ (function (_super) {
|
|
152
|
-
__extends(_Resource, _super);
|
|
153
|
-
function _Resource() {
|
|
154
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
155
|
-
}
|
|
156
|
-
_Resource = __decorate([
|
|
157
|
-
defaultPath("resource")
|
|
158
|
-
], _Resource);
|
|
159
|
-
return _Resource;
|
|
160
|
-
}(_GraphQueryableInstance));
|
|
161
|
-
export { _Resource };
|
|
162
|
-
export var Resource = graphInvokableFactory(_Resource);
|
|
1
|
+
import { __decorate, __extends } from "tslib";
|
|
2
|
+
import { _GraphQueryableInstance, _GraphQueryableCollection, graphInvokableFactory, } from "../graphqueryable.js";
|
|
3
|
+
import { defaultPath, getById } from "../decorators.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a insights entity
|
|
6
|
+
*/
|
|
7
|
+
var _Insights = /** @class */ (function (_super) {
|
|
8
|
+
__extends(_Insights, _super);
|
|
9
|
+
function _Insights() {
|
|
10
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(_Insights.prototype, "trending", {
|
|
13
|
+
get: function () {
|
|
14
|
+
return TrendingInsights(this);
|
|
15
|
+
},
|
|
16
|
+
enumerable: false,
|
|
17
|
+
configurable: true
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(_Insights.prototype, "used", {
|
|
20
|
+
get: function () {
|
|
21
|
+
return UsedInsights(this);
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(_Insights.prototype, "shared", {
|
|
27
|
+
get: function () {
|
|
28
|
+
return SharedInsights(this);
|
|
29
|
+
},
|
|
30
|
+
enumerable: false,
|
|
31
|
+
configurable: true
|
|
32
|
+
});
|
|
33
|
+
_Insights = __decorate([
|
|
34
|
+
defaultPath("insights")
|
|
35
|
+
], _Insights);
|
|
36
|
+
return _Insights;
|
|
37
|
+
}(_GraphQueryableInstance));
|
|
38
|
+
export { _Insights };
|
|
39
|
+
export var Insights = graphInvokableFactory(_Insights);
|
|
40
|
+
/**
|
|
41
|
+
* Describes a Trending Insight instance
|
|
42
|
+
*/
|
|
43
|
+
var _TrendingInsight = /** @class */ (function (_super) {
|
|
44
|
+
__extends(_TrendingInsight, _super);
|
|
45
|
+
function _TrendingInsight() {
|
|
46
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
47
|
+
}
|
|
48
|
+
Object.defineProperty(_TrendingInsight.prototype, "resource", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return Resource(this);
|
|
51
|
+
},
|
|
52
|
+
enumerable: false,
|
|
53
|
+
configurable: true
|
|
54
|
+
});
|
|
55
|
+
return _TrendingInsight;
|
|
56
|
+
}(_GraphQueryableInstance));
|
|
57
|
+
export { _TrendingInsight };
|
|
58
|
+
export var TrendingInsight = graphInvokableFactory(_TrendingInsight);
|
|
59
|
+
/**
|
|
60
|
+
* Describes a collection of Trending Insight objects
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
var _TrendingInsights = /** @class */ (function (_super) {
|
|
64
|
+
__extends(_TrendingInsights, _super);
|
|
65
|
+
function _TrendingInsights() {
|
|
66
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
67
|
+
}
|
|
68
|
+
_TrendingInsights = __decorate([
|
|
69
|
+
defaultPath("trending"),
|
|
70
|
+
getById(TrendingInsight)
|
|
71
|
+
], _TrendingInsights);
|
|
72
|
+
return _TrendingInsights;
|
|
73
|
+
}(_GraphQueryableCollection));
|
|
74
|
+
export { _TrendingInsights };
|
|
75
|
+
export var TrendingInsights = graphInvokableFactory(_TrendingInsights);
|
|
76
|
+
/**
|
|
77
|
+
* Describes a Used Insight instance
|
|
78
|
+
*/
|
|
79
|
+
var _UsedInsight = /** @class */ (function (_super) {
|
|
80
|
+
__extends(_UsedInsight, _super);
|
|
81
|
+
function _UsedInsight() {
|
|
82
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
83
|
+
}
|
|
84
|
+
Object.defineProperty(_UsedInsight.prototype, "resource", {
|
|
85
|
+
get: function () {
|
|
86
|
+
return Resource(this);
|
|
87
|
+
},
|
|
88
|
+
enumerable: false,
|
|
89
|
+
configurable: true
|
|
90
|
+
});
|
|
91
|
+
return _UsedInsight;
|
|
92
|
+
}(_GraphQueryableInstance));
|
|
93
|
+
export { _UsedInsight };
|
|
94
|
+
export var UsedInsight = graphInvokableFactory(_UsedInsight);
|
|
95
|
+
/**
|
|
96
|
+
* Describes a collection of Used Insight objects
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
var _UsedInsights = /** @class */ (function (_super) {
|
|
100
|
+
__extends(_UsedInsights, _super);
|
|
101
|
+
function _UsedInsights() {
|
|
102
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
103
|
+
}
|
|
104
|
+
_UsedInsights = __decorate([
|
|
105
|
+
defaultPath("used"),
|
|
106
|
+
getById(UsedInsight)
|
|
107
|
+
], _UsedInsights);
|
|
108
|
+
return _UsedInsights;
|
|
109
|
+
}(_GraphQueryableCollection));
|
|
110
|
+
export { _UsedInsights };
|
|
111
|
+
export var UsedInsights = graphInvokableFactory(_UsedInsights);
|
|
112
|
+
/**
|
|
113
|
+
* Describes a Shared Insight instance
|
|
114
|
+
*/
|
|
115
|
+
var _SharedInsight = /** @class */ (function (_super) {
|
|
116
|
+
__extends(_SharedInsight, _super);
|
|
117
|
+
function _SharedInsight() {
|
|
118
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
119
|
+
}
|
|
120
|
+
Object.defineProperty(_SharedInsight.prototype, "resource", {
|
|
121
|
+
get: function () {
|
|
122
|
+
return Resource(this);
|
|
123
|
+
},
|
|
124
|
+
enumerable: false,
|
|
125
|
+
configurable: true
|
|
126
|
+
});
|
|
127
|
+
return _SharedInsight;
|
|
128
|
+
}(_GraphQueryableInstance));
|
|
129
|
+
export { _SharedInsight };
|
|
130
|
+
export var SharedInsight = graphInvokableFactory(_SharedInsight);
|
|
131
|
+
/**
|
|
132
|
+
* Describes a collection of Shared Insight objects
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
var _SharedInsights = /** @class */ (function (_super) {
|
|
136
|
+
__extends(_SharedInsights, _super);
|
|
137
|
+
function _SharedInsights() {
|
|
138
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
139
|
+
}
|
|
140
|
+
_SharedInsights = __decorate([
|
|
141
|
+
defaultPath("shared"),
|
|
142
|
+
getById(SharedInsight)
|
|
143
|
+
], _SharedInsights);
|
|
144
|
+
return _SharedInsights;
|
|
145
|
+
}(_GraphQueryableCollection));
|
|
146
|
+
export { _SharedInsights };
|
|
147
|
+
export var SharedInsights = graphInvokableFactory(_SharedInsights);
|
|
148
|
+
/**
|
|
149
|
+
* Describes a Resource Entity instance
|
|
150
|
+
*/
|
|
151
|
+
var _Resource = /** @class */ (function (_super) {
|
|
152
|
+
__extends(_Resource, _super);
|
|
153
|
+
function _Resource() {
|
|
154
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
155
|
+
}
|
|
156
|
+
_Resource = __decorate([
|
|
157
|
+
defaultPath("resource")
|
|
158
|
+
], _Resource);
|
|
159
|
+
return _Resource;
|
|
160
|
+
}(_GraphQueryableInstance));
|
|
161
|
+
export { _Resource };
|
|
162
|
+
export var Resource = graphInvokableFactory(_Resource);
|
|
163
163
|
//# sourceMappingURL=types.js.map
|
package/insights/users.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IInsights } from "./types.js";
|
|
2
|
-
declare module "../users/types" {
|
|
3
|
-
interface _User {
|
|
4
|
-
readonly insights: IInsights;
|
|
5
|
-
}
|
|
6
|
-
interface IUser {
|
|
7
|
-
readonly insights: IInsights;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
import { IInsights } from "./types.js";
|
|
2
|
+
declare module "../users/types" {
|
|
3
|
+
interface _User {
|
|
4
|
+
readonly insights: IInsights;
|
|
5
|
+
}
|
|
6
|
+
interface IUser {
|
|
7
|
+
readonly insights: IInsights;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=users.d.ts.map
|
package/insights/users.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { addProp } from "@pnp/odata";
|
|
2
|
-
import { _User } from "../users/types.js";
|
|
3
|
-
import { Insights } from "./types.js";
|
|
4
|
-
addProp(_User, "insights", Insights);
|
|
1
|
+
import { addProp } from "@pnp/odata";
|
|
2
|
+
import { _User } from "../users/types.js";
|
|
3
|
+
import { Insights } from "./types.js";
|
|
4
|
+
addProp(_User, "insights", Insights);
|
|
5
5
|
//# sourceMappingURL=users.js.map
|
package/invitations/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IInvitations } from "./types.js";
|
|
2
|
-
export { IInvitationAddResult, IInvitations, Invitations, } from "./types.js";
|
|
3
|
-
declare module "../rest" {
|
|
4
|
-
interface GraphRest {
|
|
5
|
-
readonly invitations: IInvitations;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
import { IInvitations } from "./types.js";
|
|
2
|
+
export { IInvitationAddResult, IInvitations, Invitations, } from "./types.js";
|
|
3
|
+
declare module "../rest" {
|
|
4
|
+
interface GraphRest {
|
|
5
|
+
readonly invitations: IInvitations;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/invitations/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { GraphRest } from "../rest.js";
|
|
2
|
-
import { Invitations } from "./types.js";
|
|
3
|
-
export { Invitations, } from "./types.js";
|
|
4
|
-
Reflect.defineProperty(GraphRest.prototype, "invitations", {
|
|
5
|
-
configurable: true,
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function () {
|
|
8
|
-
return this.childConfigHook(function (_a) {
|
|
9
|
-
var options = _a.options, baseUrl = _a.baseUrl, runtime = _a.runtime;
|
|
10
|
-
return Invitations(baseUrl).configure(options).setRuntime(runtime);
|
|
11
|
-
});
|
|
12
|
-
},
|
|
13
|
-
});
|
|
1
|
+
import { GraphRest } from "../rest.js";
|
|
2
|
+
import { Invitations } from "./types.js";
|
|
3
|
+
export { Invitations, } from "./types.js";
|
|
4
|
+
Reflect.defineProperty(GraphRest.prototype, "invitations", {
|
|
5
|
+
configurable: true,
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function () {
|
|
8
|
+
return this.childConfigHook(function (_a) {
|
|
9
|
+
var options = _a.options, baseUrl = _a.baseUrl, runtime = _a.runtime;
|
|
10
|
+
return Invitations(baseUrl).configure(options).setRuntime(runtime);
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
package/invitations/types.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { ITypedHash } from "@pnp/common";
|
|
2
|
-
import { Invitation as IInvitationType } from "@microsoft/microsoft-graph-types";
|
|
3
|
-
import { _GraphQueryableCollection } from "../graphqueryable.js";
|
|
4
|
-
/**
|
|
5
|
-
* Invitations
|
|
6
|
-
*/
|
|
7
|
-
export declare class _Invitations extends _GraphQueryableCollection<IInvitationType[]> {
|
|
8
|
-
/**
|
|
9
|
-
* Create a new Invitation via invitation manager.
|
|
10
|
-
*
|
|
11
|
-
* @param invitedUserEmailAddress The email address of the user being invited.
|
|
12
|
-
* @param inviteRedirectUrl The URL user should be redirected to once the invitation is redeemed.
|
|
13
|
-
* @param additionalProperties A plain object collection of additional properties you want to set in the invitation
|
|
14
|
-
*/
|
|
15
|
-
create(invitedUserEmailAddress: string, inviteRedirectUrl: string, additionalProperties?: ITypedHash<any>): Promise<IInvitationAddResult>;
|
|
16
|
-
}
|
|
17
|
-
export interface IInvitations extends _Invitations {
|
|
18
|
-
}
|
|
19
|
-
export declare const Invitations: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IInvitations & import("@pnp/odata").IInvokable<any>;
|
|
20
|
-
/**
|
|
21
|
-
* IInvitationAddResult
|
|
22
|
-
*/
|
|
23
|
-
export interface IInvitationAddResult {
|
|
24
|
-
data: IInvitationType;
|
|
25
|
-
}
|
|
1
|
+
import { ITypedHash } from "@pnp/common";
|
|
2
|
+
import { Invitation as IInvitationType } from "@microsoft/microsoft-graph-types";
|
|
3
|
+
import { _GraphQueryableCollection } from "../graphqueryable.js";
|
|
4
|
+
/**
|
|
5
|
+
* Invitations
|
|
6
|
+
*/
|
|
7
|
+
export declare class _Invitations extends _GraphQueryableCollection<IInvitationType[]> {
|
|
8
|
+
/**
|
|
9
|
+
* Create a new Invitation via invitation manager.
|
|
10
|
+
*
|
|
11
|
+
* @param invitedUserEmailAddress The email address of the user being invited.
|
|
12
|
+
* @param inviteRedirectUrl The URL user should be redirected to once the invitation is redeemed.
|
|
13
|
+
* @param additionalProperties A plain object collection of additional properties you want to set in the invitation
|
|
14
|
+
*/
|
|
15
|
+
create(invitedUserEmailAddress: string, inviteRedirectUrl: string, additionalProperties?: ITypedHash<any>): Promise<IInvitationAddResult>;
|
|
16
|
+
}
|
|
17
|
+
export interface IInvitations extends _Invitations {
|
|
18
|
+
}
|
|
19
|
+
export declare const Invitations: (baseUrl: string | import("../graphqueryable.js").IGraphQueryable<any>, path?: string) => IInvitations & import("@pnp/odata").IInvokable<any>;
|
|
20
|
+
/**
|
|
21
|
+
* IInvitationAddResult
|
|
22
|
+
*/
|
|
23
|
+
export interface IInvitationAddResult {
|
|
24
|
+
data: IInvitationType;
|
|
25
|
+
}
|
|
26
26
|
//# sourceMappingURL=types.d.ts.map
|