@microsoft/msgraph-sdk-shares 1.0.0-preview.90 → 1.0.0-preview.92
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/package.json +1 -1
- package/shares/item/list/items/item/permissions/item/index.d.ts +5 -0
- package/shares/item/list/items/item/permissions/item/index.d.ts.map +1 -1
- package/shares/item/list/items/item/permissions/item/index.js +5 -0
- package/shares/item/list/items/item/permissions/item/index.js.map +1 -1
- package/shares/item/list/items/item/permissions/item/revokeGrants/index.d.ts +61 -0
- package/shares/item/list/items/item/permissions/item/revokeGrants/index.d.ts.map +1 -0
- package/shares/item/list/items/item/permissions/item/revokeGrants/index.js +66 -0
- package/shares/item/list/items/item/permissions/item/revokeGrants/index.js.map +1 -0
- package/shares/item/list/permissions/item/index.d.ts +5 -0
- package/shares/item/list/permissions/item/index.d.ts.map +1 -1
- package/shares/item/list/permissions/item/index.js +5 -0
- package/shares/item/list/permissions/item/index.js.map +1 -1
- package/shares/item/list/permissions/item/revokeGrants/index.d.ts +61 -0
- package/shares/item/list/permissions/item/revokeGrants/index.d.ts.map +1 -0
- package/shares/item/list/permissions/item/revokeGrants/index.js +66 -0
- package/shares/item/list/permissions/item/revokeGrants/index.js.map +1 -0
- package/shares/item/list/subscriptions/getVapidPublicKey/index.d.ts +58 -0
- package/shares/item/list/subscriptions/getVapidPublicKey/index.d.ts.map +1 -0
- package/shares/item/list/subscriptions/getVapidPublicKey/index.js +61 -0
- package/shares/item/list/subscriptions/getVapidPublicKey/index.js.map +1 -0
- package/shares/item/list/subscriptions/index.d.ts +5 -0
- package/shares/item/list/subscriptions/index.d.ts.map +1 -1
- package/shares/item/list/subscriptions/index.js +5 -0
- package/shares/item/list/subscriptions/index.js.map +1 -1
- package/shares/item/permission/index.d.ts +5 -0
- package/shares/item/permission/index.d.ts.map +1 -1
- package/shares/item/permission/index.js +5 -0
- package/shares/item/permission/index.js.map +1 -1
- package/shares/item/permission/revokeGrants/index.d.ts +61 -0
- package/shares/item/permission/revokeGrants/index.d.ts.map +1 -0
- package/shares/item/permission/revokeGrants/index.js +66 -0
- package/shares/item/permission/revokeGrants/index.js.map +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Permission } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
2
|
import { type GrantRequestBuilder } from './grant/index.js';
|
|
3
|
+
import { type RevokeGrantsRequestBuilder } from './revokeGrants/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Provides operations to manage the permissions property of the microsoft.graph.listItem entity.
|
|
@@ -9,6 +10,10 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
|
|
|
9
10
|
* Provides operations to call the grant method.
|
|
10
11
|
*/
|
|
11
12
|
get grant(): GrantRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to call the revokeGrants method.
|
|
15
|
+
*/
|
|
16
|
+
get revokeGrants(): RevokeGrantsRequestBuilder;
|
|
12
17
|
/**
|
|
13
18
|
* Delete navigation property permissions for shares
|
|
14
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+D,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAItI,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AA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oBAAoB,CAAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,4HAA4H,CAAC;AAQjL;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
|
|
@@ -7,6 +7,8 @@ import { createPermissionFromDiscriminatorValue, serializePermission } from '@mi
|
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { GrantRequestBuilderRequestsMetadata } from './grant/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { RevokeGrantsRequestBuilderRequestsMetadata } from './revokeGrants/index.js';
|
|
10
12
|
/**
|
|
11
13
|
* Uri template for the request builder.
|
|
12
14
|
*/
|
|
@@ -25,6 +27,9 @@ export const PermissionItemRequestBuilderNavigationMetadata = {
|
|
|
25
27
|
grant: {
|
|
26
28
|
requestsMetadata: GrantRequestBuilderRequestsMetadata,
|
|
27
29
|
},
|
|
30
|
+
revokeGrants: {
|
|
31
|
+
requestsMetadata: RevokeGrantsRequestBuilderRequestsMetadata,
|
|
32
|
+
},
|
|
28
33
|
};
|
|
29
34
|
/**
|
|
30
35
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +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,EAAE,mBAAmB,EAAmB,MAAM,wCAAwC,CAAC;AACtI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;
|
|
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,EAAE,mBAAmB,EAAmB,MAAM,wCAAwC,CAAC;AACtI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AAsEtH;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,yHAAyH,CAAC;AACjL;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;KAC/D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,MAAM,EAAE;QACJ,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sCAAsC;QAC5D,qBAAqB,EAAE,oDAAoD;KAC9E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sCAAsC;QAC5D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mBAAmB;QAC1C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type DriveRecipient, type Permission } from '@microsoft/msgraph-sdk/models/index.js';
|
|
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
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RevokeGrantsPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param RevokeGrantsPostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoRevokeGrantsPostRequestBody(revokeGrantsPostRequestBody?: Partial<RevokeGrantsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
export interface RevokeGrantsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
16
|
+
/**
|
|
17
|
+
* Stores model information.
|
|
18
|
+
*/
|
|
19
|
+
backingStoreEnabled?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* The grantees property
|
|
22
|
+
*/
|
|
23
|
+
grantees?: DriveRecipient[] | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the revokeGrants method.
|
|
27
|
+
*/
|
|
28
|
+
export interface RevokeGrantsRequestBuilder extends BaseRequestBuilder<RevokeGrantsRequestBuilder> {
|
|
29
|
+
/**
|
|
30
|
+
* Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {Promise<Permission>}
|
|
34
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
post(body: RevokeGrantsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Permission | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: RevokeGrantsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
+
* @param RevokeGrantsPostRequestBody The instance to serialize from.
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
export declare function serializeRevokeGrantsPostRequestBody(writer: SerializationWriter, revokeGrantsPostRequestBody?: Partial<RevokeGrantsPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const RevokeGrantsRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants";
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const RevokeGrantsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoI,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAIhO,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;AAEH,wBAAgB,uD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CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDriveRecipientFromDiscriminatorValue, createPermissionFromDiscriminatorValue, serializeDriveRecipient } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {RevokeGrantsPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRevokeGrantsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param RevokeGrantsPostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoRevokeGrantsPostRequestBody(revokeGrantsPostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { revokeGrantsPostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"grantees": n => { revokeGrantsPostRequestBody.grantees = n.getCollectionOfObjectValues(createDriveRecipientFromDiscriminatorValue); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
32
|
+
* @param RevokeGrantsPostRequestBody The instance to serialize from.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeRevokeGrantsPostRequestBody(writer, revokeGrantsPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!revokeGrantsPostRequestBody || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeCollectionOfObjectValues("grantees", revokeGrantsPostRequestBody.grantees, serializeDriveRecipient);
|
|
41
|
+
writer.writeAdditionalData(revokeGrantsPostRequestBody.additionalData);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export const RevokeGrantsRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/items/{listItem%2Did}/permissions/{permission%2Did}/revokeGrants";
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export const RevokeGrantsRequestBuilderRequestsMetadata = {
|
|
51
|
+
post: {
|
|
52
|
+
uriTemplate: RevokeGrantsRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createPermissionFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeRevokeGrantsPostRequestBody,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# 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,aAA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AAsC;QAC5D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Permission } from '@microsoft/msgraph-sdk/models/index.js';
|
|
2
2
|
import { type GrantRequestBuilder } from './grant/index.js';
|
|
3
|
+
import { type RevokeGrantsRequestBuilder } from './revokeGrants/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Provides operations to manage the permissions property of the microsoft.graph.list entity.
|
|
@@ -9,6 +10,10 @@ export interface PermissionItemRequestBuilder extends BaseRequestBuilder<Permiss
|
|
|
9
10
|
* Provides operations to call the grant method.
|
|
10
11
|
*/
|
|
11
12
|
get grant(): GrantRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to call the revokeGrants method.
|
|
15
|
+
*/
|
|
16
|
+
get revokeGrants(): RevokeGrantsRequestBuilder;
|
|
12
17
|
/**
|
|
13
18
|
* Delete navigation property permissions for shares
|
|
14
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+D,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAItI,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG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AAC,8CAA8C,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;IACvJ;;;;;OAKG;IACF,yBAAyB,CAAC,IAAI,EAAE,UAAU,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACtI;AACD;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,uCAAuC,sGAAsG,CAAC;AAQ3J;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,4BAA4B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAOtK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,4CAA4C,EAAE,gBA+B1D,CAAC"}
|
|
@@ -7,6 +7,8 @@ import { createPermissionFromDiscriminatorValue, serializePermission } from '@mi
|
|
|
7
7
|
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { GrantRequestBuilderRequestsMetadata } from './grant/index.js';
|
|
10
|
+
// @ts-ignore
|
|
11
|
+
import { RevokeGrantsRequestBuilderRequestsMetadata } from './revokeGrants/index.js';
|
|
10
12
|
/**
|
|
11
13
|
* Uri template for the request builder.
|
|
12
14
|
*/
|
|
@@ -25,6 +27,9 @@ export const PermissionItemRequestBuilderNavigationMetadata = {
|
|
|
25
27
|
grant: {
|
|
26
28
|
requestsMetadata: GrantRequestBuilderRequestsMetadata,
|
|
27
29
|
},
|
|
30
|
+
revokeGrants: {
|
|
31
|
+
requestsMetadata: RevokeGrantsRequestBuilderRequestsMetadata,
|
|
32
|
+
},
|
|
28
33
|
};
|
|
29
34
|
/**
|
|
30
35
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +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,EAAE,mBAAmB,EAAmB,MAAM,wCAAwC,CAAC;AACtI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;
|
|
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,EAAE,mBAAmB,EAAmB,MAAM,wCAAwC,CAAC;AACtI,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,0CAA0C,EAAmC,MAAM,yBAAyB,CAAC;AAsEtH;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,mGAAmG,CAAC;AAC3J;;GAEG;AACH,MAAM,oDAAoD,GAA2B;IACjF,QAAQ,EAAE,WAAW;IACrB,QAAQ,EAAE,WAAW;CACxB,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAgH;IACvK,KAAK,EAAE;QACH,gBAAgB,EAAE,mCAAmC;KACxD;IACD,YAAY,EAAE;QACV,gBAAgB,EAAE,0CAA0C;KAC/D;CACJ,CAAC;AACF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAqB;IAC1E,MAAM,EAAE;QACJ,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,uBAAuB;KAC7C;IACD,GAAG,EAAE;QACD,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sCAAsC;QAC5D,qBAAqB,EAAE,oDAAoD;KAC9E;IACD,KAAK,EAAE;QACH,WAAW,EAAE,uCAAuC;QACpD,uBAAuB,EAAE,kBAAkB;QAC3C,aAAa,EAAE;YACX,GAAG,EAAE,sCAAmE;SAC3E;QACD,iBAAiB,EAAE,MAAM;QACzB,mBAAmB,EAAG,sCAAsC;QAC5D,sBAAsB,EAAE,kBAAkB;QAC1C,qBAAqB,EAAE,mBAAmB;QAC1C,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type DriveRecipient, type Permission } from '@microsoft/msgraph-sdk/models/index.js';
|
|
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
|
+
/**
|
|
4
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6
|
+
* @returns {RevokeGrantsPostRequestBody}
|
|
7
|
+
*/
|
|
8
|
+
export declare function createRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
9
|
+
/**
|
|
10
|
+
* The deserialization information for the current model
|
|
11
|
+
* @param RevokeGrantsPostRequestBody The instance to deserialize into.
|
|
12
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
13
|
+
*/
|
|
14
|
+
export declare function deserializeIntoRevokeGrantsPostRequestBody(revokeGrantsPostRequestBody?: Partial<RevokeGrantsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
|
|
15
|
+
export interface RevokeGrantsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
|
|
16
|
+
/**
|
|
17
|
+
* Stores model information.
|
|
18
|
+
*/
|
|
19
|
+
backingStoreEnabled?: boolean | null;
|
|
20
|
+
/**
|
|
21
|
+
* The grantees property
|
|
22
|
+
*/
|
|
23
|
+
grantees?: DriveRecipient[] | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Provides operations to call the revokeGrants method.
|
|
27
|
+
*/
|
|
28
|
+
export interface RevokeGrantsRequestBuilder extends BaseRequestBuilder<RevokeGrantsRequestBuilder> {
|
|
29
|
+
/**
|
|
30
|
+
* Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
|
|
31
|
+
* @param body The request body
|
|
32
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
33
|
+
* @returns {Promise<Permission>}
|
|
34
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
35
|
+
* @see {@link https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0|Find more info here}
|
|
36
|
+
*/
|
|
37
|
+
post(body: RevokeGrantsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Permission | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
|
|
40
|
+
* @param body The request body
|
|
41
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
42
|
+
* @returns {RequestInformation}
|
|
43
|
+
*/
|
|
44
|
+
toPostRequestInformation(body: RevokeGrantsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Serializes information the current object
|
|
48
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
49
|
+
* @param RevokeGrantsPostRequestBody The instance to serialize from.
|
|
50
|
+
* @param writer Serialization writer to use to serialize this model
|
|
51
|
+
*/
|
|
52
|
+
export declare function serializeRevokeGrantsPostRequestBody(writer: SerializationWriter, revokeGrantsPostRequestBody?: Partial<RevokeGrantsPostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
53
|
+
/**
|
|
54
|
+
* Uri template for the request builder.
|
|
55
|
+
*/
|
|
56
|
+
export declare const RevokeGrantsRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/revokeGrants";
|
|
57
|
+
/**
|
|
58
|
+
* Metadata for all the requests in the request builder.
|
|
59
|
+
*/
|
|
60
|
+
export declare const RevokeGrantsRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoI,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAIhO,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;AAEH,wBAAgB,uDAAuD,CAAC,SAAS,EAA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0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createDriveRecipientFromDiscriminatorValue, createPermissionFromDiscriminatorValue, serializeDriveRecipient } from '@microsoft/msgraph-sdk/models/index.js';
|
|
6
|
+
// @ts-ignore
|
|
7
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns {RevokeGrantsPostRequestBody}
|
|
12
|
+
*/
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
export function createRevokeGrantsPostRequestBodyFromDiscriminatorValue(parseNode) {
|
|
15
|
+
return deserializeIntoRevokeGrantsPostRequestBody;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The deserialization information for the current model
|
|
19
|
+
* @param RevokeGrantsPostRequestBody The instance to deserialize into.
|
|
20
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
21
|
+
*/
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
export function deserializeIntoRevokeGrantsPostRequestBody(revokeGrantsPostRequestBody = {}) {
|
|
24
|
+
return {
|
|
25
|
+
"backingStoreEnabled": n => { revokeGrantsPostRequestBody.backingStoreEnabled = true; },
|
|
26
|
+
"grantees": n => { revokeGrantsPostRequestBody.grantees = n.getCollectionOfObjectValues(createDriveRecipientFromDiscriminatorValue); },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Serializes information the current object
|
|
31
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
32
|
+
* @param RevokeGrantsPostRequestBody The instance to serialize from.
|
|
33
|
+
* @param writer Serialization writer to use to serialize this model
|
|
34
|
+
*/
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
export function serializeRevokeGrantsPostRequestBody(writer, revokeGrantsPostRequestBody = {}, isSerializingDerivedType = false) {
|
|
37
|
+
if (!revokeGrantsPostRequestBody || isSerializingDerivedType) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
writer.writeCollectionOfObjectValues("grantees", revokeGrantsPostRequestBody.grantees, serializeDriveRecipient);
|
|
41
|
+
writer.writeAdditionalData(revokeGrantsPostRequestBody.additionalData);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Uri template for the request builder.
|
|
45
|
+
*/
|
|
46
|
+
export const RevokeGrantsRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/permissions/{permission%2Did}/revokeGrants";
|
|
47
|
+
/**
|
|
48
|
+
* Metadata for all the requests in the request builder.
|
|
49
|
+
*/
|
|
50
|
+
export const RevokeGrantsRequestBuilderRequestsMetadata = {
|
|
51
|
+
post: {
|
|
52
|
+
uriTemplate: RevokeGrantsRequestBuilderUriTemplate,
|
|
53
|
+
responseBodyContentType: "application/json",
|
|
54
|
+
errorMappings: {
|
|
55
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
56
|
+
},
|
|
57
|
+
adapterMethodName: "send",
|
|
58
|
+
responseBodyFactory: createPermissionFromDiscriminatorValue,
|
|
59
|
+
requestBodyContentType: "application/json",
|
|
60
|
+
requestBodySerializer: serializeRevokeGrantsPostRequestBody,
|
|
61
|
+
requestInformationContentSetMethod: "setContentFromParsable",
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
/* tslint:enable */
|
|
65
|
+
/* eslint-enable */
|
|
66
|
+
//# 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,0CAA0C,EAAE,s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B;QAC1C,qBAAqB,EAAE,oCAAoC;QAC3D,kCAAkC,EAAE,wBAAwB;KAC/D;CACJ,CAAC;AACF,mBAAmB;AACnB,mBAAmB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
|
|
2
|
+
/**
|
|
3
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5
|
+
* @returns {GetVapidPublicKeyGetResponse}
|
|
6
|
+
*/
|
|
7
|
+
export declare function createGetVapidPublicKeyGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
8
|
+
/**
|
|
9
|
+
* The deserialization information for the current model
|
|
10
|
+
* @param GetVapidPublicKeyGetResponse The instance to deserialize into.
|
|
11
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
12
|
+
*/
|
|
13
|
+
export declare function deserializeIntoGetVapidPublicKeyGetResponse(getVapidPublicKeyGetResponse?: Partial<GetVapidPublicKeyGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
14
|
+
export interface GetVapidPublicKeyGetResponse extends AdditionalDataHolder, BackedModel, Parsable {
|
|
15
|
+
/**
|
|
16
|
+
* Stores model information.
|
|
17
|
+
*/
|
|
18
|
+
backingStoreEnabled?: boolean | null;
|
|
19
|
+
/**
|
|
20
|
+
* The value property
|
|
21
|
+
*/
|
|
22
|
+
value?: string | null;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Provides operations to call the getVapidPublicKey method.
|
|
26
|
+
*/
|
|
27
|
+
export interface GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder<GetVapidPublicKeyRequestBuilder> {
|
|
28
|
+
/**
|
|
29
|
+
* Get the public key information required to validate push notifications according to RFC 8292 specifications.
|
|
30
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
31
|
+
* @returns {Promise<GetVapidPublicKeyGetResponse>}
|
|
32
|
+
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
|
|
33
|
+
* @see {@link https://learn.microsoft.com/graph/api/subscription-getvapidpublickey?view=graph-rest-1.0|Find more info here}
|
|
34
|
+
*/
|
|
35
|
+
get(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetVapidPublicKeyGetResponse | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Get the public key information required to validate push notifications according to RFC 8292 specifications.
|
|
38
|
+
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
39
|
+
* @returns {RequestInformation}
|
|
40
|
+
*/
|
|
41
|
+
toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Serializes information the current object
|
|
45
|
+
* @param GetVapidPublicKeyGetResponse The instance to serialize from.
|
|
46
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
47
|
+
* @param writer Serialization writer to use to serialize this model
|
|
48
|
+
*/
|
|
49
|
+
export declare function serializeGetVapidPublicKeyGetResponse(writer: SerializationWriter, getVapidPublicKeyGetResponse?: Partial<GetVapidPublicKeyGetResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
50
|
+
/**
|
|
51
|
+
* Uri template for the request builder.
|
|
52
|
+
*/
|
|
53
|
+
export declare const GetVapidPublicKeyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()";
|
|
54
|
+
/**
|
|
55
|
+
* Metadata for all the requests in the request builder.
|
|
56
|
+
*/
|
|
57
|
+
export declare const GetVapidPublicKeyRequestBuilderRequestsMetadata: RequestsMetadata;
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @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AAgB,qCAAqC,CAAC,MAAM,EAAE,mBAAmB,EAAE,4BAA4B,GAAE,OAAO,CAAC,4BAA4B,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAIhO;AACD;;GAEG;AACH,eAAO,MAAM,0CAA0C,oFAAoF,CAAC;AAC5I;;GAEG;AACH,eAAO,MAAM,+CAA+C,EAAE,gBAU7D,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
// Generated by Microsoft Kiota
|
|
4
|
+
// @ts-ignore
|
|
5
|
+
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/models/oDataErrors/index.js';
|
|
6
|
+
/**
|
|
7
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
8
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
|
+
* @returns {GetVapidPublicKeyGetResponse}
|
|
10
|
+
*/
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
export function createGetVapidPublicKeyGetResponseFromDiscriminatorValue(parseNode) {
|
|
13
|
+
return deserializeIntoGetVapidPublicKeyGetResponse;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The deserialization information for the current model
|
|
17
|
+
* @param GetVapidPublicKeyGetResponse The instance to deserialize into.
|
|
18
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
19
|
+
*/
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
export function deserializeIntoGetVapidPublicKeyGetResponse(getVapidPublicKeyGetResponse = {}) {
|
|
22
|
+
return {
|
|
23
|
+
"backingStoreEnabled": n => { getVapidPublicKeyGetResponse.backingStoreEnabled = true; },
|
|
24
|
+
"value": n => { getVapidPublicKeyGetResponse.value = n.getStringValue(); },
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Serializes information the current object
|
|
29
|
+
* @param GetVapidPublicKeyGetResponse The instance to serialize from.
|
|
30
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
31
|
+
* @param writer Serialization writer to use to serialize this model
|
|
32
|
+
*/
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
export function serializeGetVapidPublicKeyGetResponse(writer, getVapidPublicKeyGetResponse = {}, isSerializingDerivedType = false) {
|
|
35
|
+
if (!getVapidPublicKeyGetResponse || isSerializingDerivedType) {
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
writer.writeStringValue("value", getVapidPublicKeyGetResponse.value);
|
|
39
|
+
writer.writeAdditionalData(getVapidPublicKeyGetResponse.additionalData);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Uri template for the request builder.
|
|
43
|
+
*/
|
|
44
|
+
export const GetVapidPublicKeyRequestBuilderUriTemplate = "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()";
|
|
45
|
+
/**
|
|
46
|
+
* Metadata for all the requests in the request builder.
|
|
47
|
+
*/
|
|
48
|
+
export const GetVapidPublicKeyRequestBuilderRequestsMetadata = {
|
|
49
|
+
get: {
|
|
50
|
+
uriTemplate: GetVapidPublicKeyRequestBuilderUriTemplate,
|
|
51
|
+
responseBodyContentType: "application/json",
|
|
52
|
+
errorMappings: {
|
|
53
|
+
XXX: createODataErrorFromDiscriminatorValue,
|
|
54
|
+
},
|
|
55
|
+
adapterMethodName: "send",
|
|
56
|
+
responseBodyFactory: createGetVapidPublicKeyGetResponseFromDiscriminatorValue,
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
/* tslint:enable */
|
|
60
|
+
/* eslint-enable */
|
|
61
|
+
//# 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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index.js';
|
|
2
2
|
import { type CountRequestBuilder } from './count/index.js';
|
|
3
|
+
import { type GetVapidPublicKeyRequestBuilder } from './getVapidPublicKey/index.js';
|
|
3
4
|
import { type SubscriptionItemRequestBuilder } from './item/index.js';
|
|
4
5
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
5
6
|
/**
|
|
@@ -10,6 +11,10 @@ export interface SubscriptionsRequestBuilder extends BaseRequestBuilder<Subscrip
|
|
|
10
11
|
* Provides operations to count the resources in the collection.
|
|
11
12
|
*/
|
|
12
13
|
get count(): CountRequestBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides operations to call the getVapidPublicKey method.
|
|
16
|
+
*/
|
|
17
|
+
get getVapidPublicKey(): GetVapidPublicKeyRequestBuilder;
|
|
13
18
|
/**
|
|
14
19
|
* Provides operations to manage the subscriptions property of the microsoft.graph.list entity.
|
|
15
20
|
* @param subscriptionId The unique identifier of subscription
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+H,KAAK,YAAY,EAAE,KAAK,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAI7O,OAAO,EAAuC,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAoG,KAAK,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAExK,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kCAAkC,EAAE,KAAK,kBAAkB,EAAuC,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAE1P;;GAEG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kBAAkB,CAAC,2BAA2B,CAAC;IAChG;;OAEG;IACH,IAAI,KAAK,IAAI,mBAAmB,CAAC;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ACF,wBAAwB,CAAC,IAAI,EAAE,YAAY,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACvI;AACD;;GAEG;AACH,MAAM,WAAW,6CAA6C;IAC1D;;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,sCAAsC,6IAA6I,CAAC;AAcjM;;GAEG;AACH,eAAO,MAAM,6CAA6C,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,2BAA2B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAYpK,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,2CAA2C,EAAE,gBAuBzD,CAAC"}
|
|
@@ -8,6 +8,8 @@ import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-sdk/m
|
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
|
|
10
10
|
// @ts-ignore
|
|
11
|
+
import { GetVapidPublicKeyRequestBuilderRequestsMetadata } from './getVapidPublicKey/index.js';
|
|
12
|
+
// @ts-ignore
|
|
11
13
|
import { SubscriptionItemRequestBuilderNavigationMetadata, SubscriptionItemRequestBuilderRequestsMetadata } from './item/index.js';
|
|
12
14
|
/**
|
|
13
15
|
* Uri template for the request builder.
|
|
@@ -38,6 +40,9 @@ export const SubscriptionsRequestBuilderNavigationMetadata = {
|
|
|
38
40
|
count: {
|
|
39
41
|
requestsMetadata: CountRequestBuilderRequestsMetadata,
|
|
40
42
|
},
|
|
43
|
+
getVapidPublicKey: {
|
|
44
|
+
requestsMetadata: GetVapidPublicKeyRequestBuilderRequestsMetadata,
|
|
45
|
+
},
|
|
41
46
|
};
|
|
42
47
|
/**
|
|
43
48
|
* Metadata for all the requests in the request builder.
|
|
@@ -1 +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,0DAA0D,EAAE,wCAAwC,EAAE,qBAAqB,EAA0D,MAAM,wCAAwC,CAAC;AAC7O,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,8CAA8C,EAAuC,MAAM,iBAAiB,CAAC;
|
|
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,0DAA0D,EAAE,wCAAwC,EAAE,qBAAqB,EAA0D,MAAM,wCAAwC,CAAC;AAC7O,aAAa;AACb,OAAO,EAAE,sCAAsC,EAAmB,MAAM,oDAAoD,CAAC;AAC7H,aAAa;AACb,OAAO,EAAE,mCAAmC,EAA4B,MAAM,kBAAkB,CAAC;AACjG,aAAa;AACb,OAAO,EAAE,+CAA+C,EAAwC,MAAM,8BAA8B,CAAC;AACrI,aAAa;AACb,OAAO,EAAE,gDAAgD,EAAE,8CAA8C,EAAuC,MAAM,iBAAiB,CAAC;AAwFxK;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG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RequestBuilder } from './grant/index.js';
|
|
3
|
+
import { type RevokeGrantsRequestBuilder } from './revokeGrants/index.js';
|
|
3
4
|
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
|
|
4
5
|
/**
|
|
5
6
|
* Provides operations to manage the permission property of the microsoft.graph.sharedDriveItem entity.
|
|
@@ -9,6 +10,10 @@ export interface PermissionRequestBuilder extends BaseRequestBuilder<PermissionR
|
|
|
9
10
|
* Provides operations to call the grant method.
|
|
10
11
|
*/
|
|
11
12
|
get grant(): GrantRequestBuilder;
|
|
13
|
+
/**
|
|
14
|
+
* Provides operations to call the revokeGrants method.
|
|
15
|
+
*/
|
|
16
|
+
get revokeGrants(): RevokeGrantsRequestBuilder;
|
|
12
17
|
/**
|
|
13
18
|
* Delete navigation property permission for shares
|
|
14
19
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|