@microsoft/msgraph-sdk-permissiongrants 1.0.0-preview.12 → 1.0.0-preview.14

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.
Files changed (37) hide show
  1. package/package.json +3 -3
  2. package/permissionGrants/delta/index.d.ts +13 -8
  3. package/permissionGrants/delta/index.d.ts.map +1 -1
  4. package/permissionGrants/delta/index.js +10 -9
  5. package/permissionGrants/getAvailableExtensionProperties/index.d.ts +11 -10
  6. package/permissionGrants/getAvailableExtensionProperties/index.d.ts.map +1 -1
  7. package/permissionGrants/getAvailableExtensionProperties/index.js +11 -11
  8. package/permissionGrants/getByIds/index.d.ts +11 -10
  9. package/permissionGrants/getByIds/index.d.ts.map +1 -1
  10. package/permissionGrants/getByIds/index.js +11 -11
  11. package/permissionGrants/index.d.ts +11 -9
  12. package/permissionGrants/index.d.ts.map +1 -1
  13. package/permissionGrants/index.js +9 -14
  14. package/permissionGrants/item/checkMemberGroups/index.d.ts +11 -10
  15. package/permissionGrants/item/checkMemberGroups/index.d.ts.map +1 -1
  16. package/permissionGrants/item/checkMemberGroups/index.js +11 -11
  17. package/permissionGrants/item/checkMemberObjects/index.d.ts +11 -10
  18. package/permissionGrants/item/checkMemberObjects/index.d.ts.map +1 -1
  19. package/permissionGrants/item/checkMemberObjects/index.js +11 -11
  20. package/permissionGrants/item/getMemberGroups/index.d.ts +11 -10
  21. package/permissionGrants/item/getMemberGroups/index.d.ts.map +1 -1
  22. package/permissionGrants/item/getMemberGroups/index.js +11 -11
  23. package/permissionGrants/item/getMemberObjects/index.d.ts +11 -10
  24. package/permissionGrants/item/getMemberObjects/index.d.ts.map +1 -1
  25. package/permissionGrants/item/getMemberObjects/index.js +11 -11
  26. package/permissionGrants/item/index.d.ts +12 -9
  27. package/permissionGrants/item/index.d.ts.map +1 -1
  28. package/permissionGrants/item/index.js +11 -16
  29. package/permissionGrants/item/restore/index.d.ts +7 -6
  30. package/permissionGrants/item/restore/index.d.ts.map +1 -1
  31. package/permissionGrants/item/restore/index.js +7 -7
  32. package/permissionGrants/validateProperties/index.d.ts +8 -7
  33. package/permissionGrants/validateProperties/index.d.ts.map +1 -1
  34. package/permissionGrants/validateProperties/index.js +9 -9
  35. package/permissionGrantsServiceClient.d.ts.map +1 -1
  36. package/permissionGrantsServiceClient.js +1 -2
  37. package/tsconfig.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/msgraph-sdk-permissiongrants",
3
- "version": "1.0.0-preview.12",
3
+ "version": "1.0.0-preview.14",
4
4
  "description": "PermissionGrants fluent API for Microsoft Graph",
5
5
  "keywords": [
6
6
  "Microsoft",
@@ -37,12 +37,12 @@
37
37
  "@microsoft/kiota-serialization-json": "^1.0.0-preview.39",
38
38
  "@microsoft/kiota-serialization-multipart": "^1.0.0-preview.18",
39
39
  "@microsoft/kiota-serialization-text": "^1.0.0-preview.36",
40
- "@microsoft/msgraph-sdk": "^1.0.0-preview.12",
40
+ "@microsoft/msgraph-sdk": "^1.0.0-preview.14",
41
41
  "guid-typescript": "^1.0.9",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.3.3"
46
46
  },
47
- "gitHead": "8718c626245f6b784097692a85c54f4b3b9b15b5"
47
+ "gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7"
48
48
  }
@@ -3,7 +3,7 @@ import { type BaseRequestBuilder, type Parsable, type ParseNode, type RequestCon
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a deltaGetResponse
6
+ * @returns {DeltaGetResponse}
7
7
  */
8
8
  export declare function createDeltaGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  export interface DeltaGetResponse extends BaseDeltaFunctionResponse, Parsable {
@@ -19,13 +19,14 @@ export interface DeltaRequestBuilder extends BaseRequestBuilder<DeltaRequestBuil
19
19
  /**
20
20
  * Invoke function delta
21
21
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
22
- * @returns a Promise of DeltaGetResponse
22
+ * @returns {Promise<DeltaGetResponse>}
23
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
23
24
  */
24
25
  get(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): Promise<DeltaGetResponse | undefined>;
25
26
  /**
26
27
  * Invoke function delta
27
28
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
28
- * @returns a RequestInformation
29
+ * @returns {RequestInformation}
29
30
  */
30
31
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeltaRequestBuilderGetQueryParameters> | undefined): RequestInformation;
31
32
  }
@@ -37,6 +38,10 @@ export interface DeltaRequestBuilderGetQueryParameters {
37
38
  * Include count of items
38
39
  */
39
40
  count?: boolean;
41
+ /**
42
+ * Expand related entities
43
+ */
44
+ expand?: string[];
40
45
  /**
41
46
  * Filter items by property values
42
47
  */
@@ -64,7 +69,7 @@ export interface DeltaRequestBuilderGetQueryParameters {
64
69
  }
65
70
  /**
66
71
  * The deserialization information for the current model
67
- * @returns a Record<string, (node: ParseNode) => void>
72
+ * @returns {Record<string, (node: ParseNode) => void>}
68
73
  */
69
74
  export declare function deserializeIntoDeltaGetResponse(deltaGetResponse?: Partial<DeltaGetResponse> | undefined): Record<string, (node: ParseNode) => void>;
70
75
  /**
@@ -73,11 +78,11 @@ export declare function deserializeIntoDeltaGetResponse(deltaGetResponse?: Parti
73
78
  */
74
79
  export declare function serializeDeltaGetResponse(writer: SerializationWriter, deltaGetResponse?: Partial<DeltaGetResponse> | undefined): void;
75
80
  /**
76
- * Metadata for all the requests in the request builder.
81
+ * Uri template for the request builder.
77
82
  */
78
- export declare const DeltaRequestBuilderRequestsMetadata: RequestsMetadata;
83
+ export declare const DeltaRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
79
84
  /**
80
- * Uri template for the request builder.
85
+ * Metadata for all the requests in the request builder.
81
86
  */
82
- export declare const DeltaRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
87
+ export declare const DeltaRequestBuilderRequestsMetadata: RequestsMetadata;
83
88
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAuJ,KAAK,yBAAyB,EAAE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE3P,OAAO,EAAE,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;AAElO;;;;GAIG;AACH,wBAAgB,4CAA4C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAEpK;AACD,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB,EAAE,QAAQ;IACzE;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC7B;AACD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB,CAAC,mBAAmB,CAAC;IAChF;;;;OAIG;IACF,GAAG,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,qCAAqC,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC7I;;;;OAIG;IACF,uBAAuB,CAAC,oBAAoB,CAAC,EAAE,oBAAo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IAAI,CAAC,CAKxJ;AACD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,GAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,SAAc,GAAI,IAAI,CAG1I;AACD;;GAEG;AACH,eAAO,MAAM,8BAA8B,qHAAqH,CAAC;AAcjK;;GAEG;AACH,eAAO,MAAM,mCAAmC,EAAE,gBAWjD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeltaRequestBuilderUriTemplate = exports.DeltaRequestBuilderRequestsMetadata = exports.serializeDeltaGetResponse = exports.deserializeIntoDeltaGetResponse = exports.createDeltaGetResponseFromDiscriminatorValue = void 0;
3
+ exports.DeltaRequestBuilderRequestsMetadata = exports.DeltaRequestBuilderUriTemplate = exports.serializeDeltaGetResponse = exports.deserializeIntoDeltaGetResponse = exports.createDeltaGetResponseFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a deltaGetResponse
12
+ * @returns {DeltaGetResponse}
13
13
  */
14
14
  function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoDeltaGetResponse;
@@ -17,7 +17,7 @@ function createDeltaGetResponseFromDiscriminatorValue(parseNode) {
17
17
  exports.createDeltaGetResponseFromDiscriminatorValue = createDeltaGetResponseFromDiscriminatorValue;
18
18
  /**
19
19
  * The deserialization information for the current model
20
- * @returns a Record<string, (node: ParseNode) => void>
20
+ * @returns {Record<string, (node: ParseNode) => void>}
21
21
  */
22
22
  function deserializeIntoDeltaGetResponse(deltaGetResponse = {}) {
23
23
  return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseDeltaFunctionResponse)(deltaGetResponse)), { "value": n => { deltaGetResponse.value = n.getCollectionOfObjectValues(models_1.createDirectoryObjectFromDiscriminatorValue); } });
@@ -32,11 +32,16 @@ function serializeDeltaGetResponse(writer, deltaGetResponse = {}) {
32
32
  writer.writeCollectionOfObjectValues("value", deltaGetResponse.value, models_1.serializeDirectoryObject);
33
33
  }
34
34
  exports.serializeDeltaGetResponse = serializeDeltaGetResponse;
35
+ /**
36
+ * Uri template for the request builder.
37
+ */
38
+ exports.DeltaRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
35
39
  /**
36
40
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
37
41
  */
38
42
  const DeltaRequestBuilderGetQueryParametersMapper = {
39
43
  "count": "%24count",
44
+ "expand": "%24expand",
40
45
  "filter": "%24filter",
41
46
  "orderby": "%24orderby",
42
47
  "search": "%24search",
@@ -49,19 +54,15 @@ const DeltaRequestBuilderGetQueryParametersMapper = {
49
54
  */
50
55
  exports.DeltaRequestBuilderRequestsMetadata = {
51
56
  get: {
57
+ uriTemplate: exports.DeltaRequestBuilderUriTemplate,
52
58
  responseBodyContentType: "application/json",
53
59
  errorMappings: {
54
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
55
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
56
61
  },
57
62
  adapterMethodName: "sendAsync",
58
63
  responseBodyFactory: createDeltaGetResponseFromDiscriminatorValue,
59
64
  queryParametersMapper: DeltaRequestBuilderGetQueryParametersMapper,
60
65
  },
61
66
  };
62
- /**
63
- * Uri template for the request builder.
64
- */
65
- exports.DeltaRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/delta(){?%24top,%24skip,%24search,%24filter,%24count,%24select,%24orderby}";
66
67
  /* tslint:enable */
67
68
  /* eslint-enable */
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a getAvailableExtensionPropertiesPostRequestBody
6
+ * @returns {GetAvailableExtensionPropertiesPostRequestBody}
7
7
  */
8
8
  export declare function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getAvailableExtensionPropertiesPostResponse
12
+ * @returns {GetAvailableExtensionPropertiesPostResponse}
13
13
  */
14
14
  export declare function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
15
  /**
16
16
  * The deserialization information for the current model
17
- * @returns a Record<string, (node: ParseNode) => void>
17
+ * @returns {Record<string, (node: ParseNode) => void>}
18
18
  */
19
19
  export declare function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody?: Partial<GetAvailableExtensionPropertiesPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
20
20
  /**
21
21
  * The deserialization information for the current model
22
- * @returns a Record<string, (node: ParseNode) => void>
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
23
  */
24
24
  export declare function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse?: Partial<GetAvailableExtensionPropertiesPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
25
25
  export interface GetAvailableExtensionPropertiesPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -50,7 +50,8 @@ export interface GetAvailableExtensionPropertiesRequestBuilder extends BaseReque
50
50
  * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
51
51
  * @param body The request body
52
52
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
53
- * @returns a Promise of GetAvailableExtensionPropertiesPostResponse
53
+ * @returns {Promise<GetAvailableExtensionPropertiesPostResponse>}
54
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
54
55
  * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getavailableextensionproperties?view=graph-rest-1.0|Find more info here}
55
56
  */
56
57
  post(body: GetAvailableExtensionPropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetAvailableExtensionPropertiesPostResponse | undefined>;
@@ -58,7 +59,7 @@ export interface GetAvailableExtensionPropertiesRequestBuilder extends BaseReque
58
59
  * Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
59
60
  * @param body The request body
60
61
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
61
- * @returns a RequestInformation
62
+ * @returns {RequestInformation}
62
63
  */
63
64
  toPostRequestInformation(body: GetAvailableExtensionPropertiesPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
64
65
  }
@@ -72,12 +73,12 @@ export declare function serializeGetAvailableExtensionPropertiesPostRequestBody(
72
73
  * @param writer Serialization writer to use to serialize this model
73
74
  */
74
75
  export declare function serializeGetAvailableExtensionPropertiesPostResponse(writer: SerializationWriter, getAvailableExtensionPropertiesPostResponse?: Partial<GetAvailableExtensionPropertiesPostResponse> | undefined): void;
75
- /**
76
- * Metadata for all the requests in the request builder.
77
- */
78
- export declare const GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata: RequestsMetadata;
79
76
  /**
80
77
  * Uri template for the request builder.
81
78
  */
82
79
  export declare const GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getAvailableExtensionProperties";
80
+ /**
81
+ * Metadata for all the requests in the request builder.
82
+ */
83
+ export declare const GetAvailableExtensionPropertiesRequestBu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ACpC;AACD,MAAM,WAAW,2CAA4C,SAAQ,qCAAqC,EAAE,QAAQ;IAChH;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AACD;;GAEG;AACH,MAAM,WAAW,6CAA8C,SAAQ,kBAAkB,CAAC,6CAA6C,CAAC;IACpI;;;;;;;OAOG;IACF,IAAI,CAAC,IAAI,EAAE,8CAA8C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAChM;;;;;OAKG;IACF,wBAAwB,CAAC,IAAI,EAAE,8CAA8C,EAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,GAAG,SAAS,GAAI,kBAAkB,CAAC;CACzK;AACD;;;GAGG;AACH,wBAAgB,uDAAuD,CAAC,MAAM,EAAE,mBAAmB,EAAE,8CAA8C,GAAE,OAAO,CAAC,8CAA8C,CAAC,GAAG,SAAc,GAAI,IAAI,CAGpO;AACD;;;GAGG;AACH,wBAAgB,oDAAoD,CAAC,MAAM,EAAE,mBAAmB,EAAE,2CAA2C,GAAE,OAAO,CAAC,2CAA2C,CAAC,GAAG,SAAc,GAAI,IAAI,CAG3N;AACD;;GAEG;AACH,eAAO,MAAM,wDAAwD,gEAAgE,CAAC;AACtI;;GAEG;AACH,eAAO,MAAM,6DAA6D,EAAE,gBAa3E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = exports.serializeGetAvailableExtensionPropertiesPostResponse = exports.serializeGetAvailableExtensionPropertiesPostRequestBody = exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = exports.serializeGetAvailableExtensionPropertiesPostResponse = exports.serializeGetAvailableExtensionPropertiesPostRequestBody = exports.deserializeIntoGetAvailableExtensionPropertiesPostResponse = exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getAvailableExtensionPropertiesPostRequestBody
12
+ * @returns {GetAvailableExtensionPropertiesPostRequestBody}
13
13
  */
14
14
  function createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
@@ -18,7 +18,7 @@ exports.createGetAvailableExtensionPropertiesPostRequestBodyFromDiscriminatorVal
18
18
  /**
19
19
  * Creates a new instance of the appropriate class based on discriminator value
20
20
  * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns a getAvailableExtensionPropertiesPostResponse
21
+ * @returns {GetAvailableExtensionPropertiesPostResponse}
22
22
  */
23
23
  function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue(parseNode) {
24
24
  return deserializeIntoGetAvailableExtensionPropertiesPostResponse;
@@ -26,7 +26,7 @@ function createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue
26
26
  exports.createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue = createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue;
27
27
  /**
28
28
  * The deserialization information for the current model
29
- * @returns a Record<string, (node: ParseNode) => void>
29
+ * @returns {Record<string, (node: ParseNode) => void>}
30
30
  */
31
31
  function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvailableExtensionPropertiesPostRequestBody = {}) {
32
32
  return {
@@ -37,7 +37,7 @@ function deserializeIntoGetAvailableExtensionPropertiesPostRequestBody(getAvaila
37
37
  exports.deserializeIntoGetAvailableExtensionPropertiesPostRequestBody = deserializeIntoGetAvailableExtensionPropertiesPostRequestBody;
38
38
  /**
39
39
  * The deserialization information for the current model
40
- * @returns a Record<string, (node: ParseNode) => void>
40
+ * @returns {Record<string, (node: ParseNode) => void>}
41
41
  */
42
42
  function deserializeIntoGetAvailableExtensionPropertiesPostResponse(getAvailableExtensionPropertiesPostResponse = {}) {
43
43
  return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getAvailableExtensionPropertiesPostResponse)), { "value": n => { getAvailableExtensionPropertiesPostResponse.value = n.getCollectionOfObjectValues(models_1.createExtensionPropertyFromDiscriminatorValue); } });
@@ -61,15 +61,19 @@ function serializeGetAvailableExtensionPropertiesPostResponse(writer, getAvailab
61
61
  writer.writeCollectionOfObjectValues("value", getAvailableExtensionPropertiesPostResponse.value, models_1.serializeExtensionProperty);
62
62
  }
63
63
  exports.serializeGetAvailableExtensionPropertiesPostResponse = serializeGetAvailableExtensionPropertiesPostResponse;
64
+ /**
65
+ * Uri template for the request builder.
66
+ */
67
+ exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getAvailableExtensionProperties";
64
68
  /**
65
69
  * Metadata for all the requests in the request builder.
66
70
  */
67
71
  exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = {
68
72
  post: {
73
+ uriTemplate: exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
69
74
  responseBodyContentType: "application/json",
70
75
  errorMappings: {
71
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
72
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
76
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
73
77
  },
74
78
  adapterMethodName: "sendAsync",
75
79
  responseBodyFactory: createGetAvailableExtensionPropertiesPostResponseFromDiscriminatorValue,
@@ -78,9 +82,5 @@ exports.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata = {
78
82
  requestInformationContentSetMethod: "setContentFromParsable",
79
83
  },
80
84
  };
81
- /**
82
- * Uri template for the request builder.
83
- */
84
- exports.GetAvailableExtensionPropertiesRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getAvailableExtensionProperties";
85
85
  /* tslint:enable */
86
86
  /* eslint-enable */
@@ -3,23 +3,23 @@ import { type AdditionalDataHolder, type BackedModel, type BaseRequestBuilder, t
3
3
  /**
4
4
  * Creates a new instance of the appropriate class based on discriminator value
5
5
  * @param parseNode The parse node to use to read the discriminator value and create the object
6
- * @returns a getByIdsPostRequestBody
6
+ * @returns {GetByIdsPostRequestBody}
7
7
  */
8
8
  export declare function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getByIdsPostResponse
12
+ * @returns {GetByIdsPostResponse}
13
13
  */
14
14
  export declare function createGetByIdsPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
15
15
  /**
16
16
  * The deserialization information for the current model
17
- * @returns a Record<string, (node: ParseNode) => void>
17
+ * @returns {Record<string, (node: ParseNode) => void>}
18
18
  */
19
19
  export declare function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody?: Partial<GetByIdsPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
20
20
  /**
21
21
  * The deserialization information for the current model
22
- * @returns a Record<string, (node: ParseNode) => void>
22
+ * @returns {Record<string, (node: ParseNode) => void>}
23
23
  */
24
24
  export declare function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse?: Partial<GetByIdsPostResponse> | undefined): Record<string, (node: ParseNode) => void>;
25
25
  export interface GetByIdsPostRequestBody extends AdditionalDataHolder, BackedModel, Parsable {
@@ -54,7 +54,8 @@ export interface GetByIdsRequestBuilder extends BaseRequestBuilder<GetByIdsReque
54
54
  * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to:
55
55
  * @param body The request body
56
56
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
- * @returns a Promise of GetByIdsPostResponse
57
+ * @returns {Promise<GetByIdsPostResponse>}
58
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
58
59
  * @see {@link https://learn.microsoft.com/graph/api/directoryobject-getbyids?view=graph-rest-1.0|Find more info here}
59
60
  */
60
61
  post(body: GetByIdsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GetByIdsPostResponse | undefined>;
@@ -62,7 +63,7 @@ export interface GetByIdsRequestBuilder extends BaseRequestBuilder<GetByIdsReque
62
63
  * Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to:
63
64
  * @param body The request body
64
65
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
65
- * @returns a RequestInformation
66
+ * @returns {RequestInformation}
66
67
  */
67
68
  toPostRequestInformation(body: GetByIdsPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
68
69
  }
@@ -76,12 +77,12 @@ export declare function serializeGetByIdsPostRequestBody(writer: SerializationWr
76
77
  * @param writer Serialization writer to use to serialize this model
77
78
  */
78
79
  export declare function serializeGetByIdsPostResponse(writer: SerializationWriter, getByIdsPostResponse?: Partial<GetByIdsPostResponse> | undefined): void;
79
- /**
80
- * Metadata for all the requests in the request builder.
81
- */
82
- export declare const GetByIdsRequestBuilderRequestsMetadata: RequestsMetadata;
83
80
  /**
84
81
  * Uri template for the request builder.
85
82
  */
86
83
  export declare const GetByIdsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getByIds";
84
+ /**
85
+ * Metadata for all the requests in the request builder.
86
+ */
87
+ export declare const GetByIdsRequestBuilderRequestsMetadata: RequestsMetadata;
87
88
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+K,KAAK,qCAAqC,EAAE,KAAK,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE/R,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;AACH,wBAAgB,mDAAmD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAE3K;AACD;;;;GAIG;AACH,wBAAgB,gDAAgD,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAExK;AACD;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,uBAAuB,GAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,SAAc,GAAI,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,C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,gBAapD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetByIdsRequestBuilderUriTemplate = exports.GetByIdsRequestBuilderRequestsMetadata = exports.serializeGetByIdsPostResponse = exports.serializeGetByIdsPostRequestBody = exports.deserializeIntoGetByIdsPostResponse = exports.deserializeIntoGetByIdsPostRequestBody = exports.createGetByIdsPostResponseFromDiscriminatorValue = exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = void 0;
3
+ exports.GetByIdsRequestBuilderRequestsMetadata = exports.GetByIdsRequestBuilderUriTemplate = exports.serializeGetByIdsPostResponse = exports.serializeGetByIdsPostRequestBody = exports.deserializeIntoGetByIdsPostResponse = exports.deserializeIntoGetByIdsPostRequestBody = exports.createGetByIdsPostResponseFromDiscriminatorValue = exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -9,7 +9,7 @@ const oDataErrors_1 = require("@microsoft/msgraph-sdk/models/oDataErrors/");
9
9
  /**
10
10
  * Creates a new instance of the appropriate class based on discriminator value
11
11
  * @param parseNode The parse node to use to read the discriminator value and create the object
12
- * @returns a getByIdsPostRequestBody
12
+ * @returns {GetByIdsPostRequestBody}
13
13
  */
14
14
  function createGetByIdsPostRequestBodyFromDiscriminatorValue(parseNode) {
15
15
  return deserializeIntoGetByIdsPostRequestBody;
@@ -18,7 +18,7 @@ exports.createGetByIdsPostRequestBodyFromDiscriminatorValue = createGetByIdsPost
18
18
  /**
19
19
  * Creates a new instance of the appropriate class based on discriminator value
20
20
  * @param parseNode The parse node to use to read the discriminator value and create the object
21
- * @returns a getByIdsPostResponse
21
+ * @returns {GetByIdsPostResponse}
22
22
  */
23
23
  function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
24
24
  return deserializeIntoGetByIdsPostResponse;
@@ -26,7 +26,7 @@ function createGetByIdsPostResponseFromDiscriminatorValue(parseNode) {
26
26
  exports.createGetByIdsPostResponseFromDiscriminatorValue = createGetByIdsPostResponseFromDiscriminatorValue;
27
27
  /**
28
28
  * The deserialization information for the current model
29
- * @returns a Record<string, (node: ParseNode) => void>
29
+ * @returns {Record<string, (node: ParseNode) => void>}
30
30
  */
31
31
  function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
32
32
  return {
@@ -38,7 +38,7 @@ function deserializeIntoGetByIdsPostRequestBody(getByIdsPostRequestBody = {}) {
38
38
  exports.deserializeIntoGetByIdsPostRequestBody = deserializeIntoGetByIdsPostRequestBody;
39
39
  /**
40
40
  * The deserialization information for the current model
41
- * @returns a Record<string, (node: ParseNode) => void>
41
+ * @returns {Record<string, (node: ParseNode) => void>}
42
42
  */
43
43
  function deserializeIntoGetByIdsPostResponse(getByIdsPostResponse = {}) {
44
44
  return Object.assign(Object.assign({}, (0, models_1.deserializeIntoBaseCollectionPaginationCountResponse)(getByIdsPostResponse)), { "value": n => { getByIdsPostResponse.value = n.getCollectionOfObjectValues(models_1.createDirectoryObjectFromDiscriminatorValue); } });
@@ -63,15 +63,19 @@ function serializeGetByIdsPostResponse(writer, getByIdsPostResponse = {}) {
63
63
  writer.writeCollectionOfObjectValues("value", getByIdsPostResponse.value, models_1.serializeDirectoryObject);
64
64
  }
65
65
  exports.serializeGetByIdsPostResponse = serializeGetByIdsPostResponse;
66
+ /**
67
+ * Uri template for the request builder.
68
+ */
69
+ exports.GetByIdsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getByIds";
66
70
  /**
67
71
  * Metadata for all the requests in the request builder.
68
72
  */
69
73
  exports.GetByIdsRequestBuilderRequestsMetadata = {
70
74
  post: {
75
+ uriTemplate: exports.GetByIdsRequestBuilderUriTemplate,
71
76
  responseBodyContentType: "application/json",
72
77
  errorMappings: {
73
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
74
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
78
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
75
79
  },
76
80
  adapterMethodName: "sendAsync",
77
81
  responseBodyFactory: createGetByIdsPostResponseFromDiscriminatorValue,
@@ -80,9 +84,5 @@ exports.GetByIdsRequestBuilderRequestsMetadata = {
80
84
  requestInformationContentSetMethod: "setContentFromParsable",
81
85
  },
82
86
  };
83
- /**
84
- * Uri template for the request builder.
85
- */
86
- exports.GetByIdsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants/getByIds";
87
87
  /* tslint:enable */
88
88
  /* eslint-enable */
@@ -28,33 +28,35 @@ export interface PermissionGrantsRequestBuilder extends BaseRequestBuilder<Permi
28
28
  /**
29
29
  * Provides operations to manage the collection of resourceSpecificPermissionGrant entities.
30
30
  * @param resourceSpecificPermissionGrantId The unique identifier of resourceSpecificPermissionGrant
31
- * @returns a ResourceSpecificPermissionGrantItemRequestBuilder
31
+ * @returns {ResourceSpecificPermissionGrantItemRequestBuilder}
32
32
  */
33
33
  byResourceSpecificPermissionGrantId(resourceSpecificPermissionGrantId: string): ResourceSpecificPermissionGrantItemRequestBuilder;
34
34
  /**
35
35
  * Get entities from permissionGrants
36
36
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
37
- * @returns a Promise of ResourceSpecificPermissionGrantCollectionResponse
37
+ * @returns {Promise<ResourceSpecificPermissionGrantCollectionResponse>}
38
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
38
39
  */
39
40
  get(requestConfiguration?: RequestConfiguration<PermissionGrantsRequestBuilderGetQueryParameters> | undefined): Promise<ResourceSpecificPermissionGrantCollectionResponse | undefined>;
40
41
  /**
41
42
  * Add new entity to permissionGrants
42
43
  * @param body The request body
43
44
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
44
- * @returns a Promise of ResourceSpecificPermissionGrant
45
+ * @returns {Promise<ResourceSpecificPermissionGrant>}
46
+ * @throws {ODataError} error when the service returns a 4XX or 5XX status code
45
47
  */
46
48
  post(body: ResourceSpecificPermissionGrant, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ResourceSpecificPermissionGrant | undefined>;
47
49
  /**
48
50
  * Get entities from permissionGrants
49
51
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
50
- * @returns a RequestInformation
52
+ * @returns {RequestInformation}
51
53
  */
52
54
  toGetRequestInformation(requestConfiguration?: RequestConfiguration<PermissionGrantsRequestBuilderGetQueryParameters> | undefined): RequestInformation;
53
55
  /**
54
56
  * Add new entity to permissionGrants
55
57
  * @param body The request body
56
58
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
57
- * @returns a RequestInformation
59
+ * @returns {RequestInformation}
58
60
  */
59
61
  toPostRequestInformation(body: ResourceSpecificPermissionGrant, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
60
62
  }
@@ -83,6 +85,10 @@ export interface PermissionGrantsRequestBuilderGetQueryParameters {
83
85
  */
84
86
  select?: string[];
85
87
  }
88
+ /**
89
+ * Uri template for the request builder.
90
+ */
91
+ export declare const PermissionGrantsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants{?%24expand,%24filter,%24orderby,%24search,%24select}";
86
92
  /**
87
93
  * Metadata for all the navigation properties in the request builder.
88
94
  */
@@ -91,8 +97,4 @@ export declare const PermissionGrantsRequestBuilderNavigationMetadata: Record<Ex
91
97
  * Metadata for all the requests in the request builder.
92
98
  */
93
99
  export declare const PermissionGrantsRequestBuilderRequestsMetadata: RequestsMetadata;
94
- /**
95
- * Uri template for the request builder.
96
- */
97
- export declare const PermissionGrantsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants{?%24search,%24filter,%24orderby,%24select,%24expand}";
98
100
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAwL,KAAK,+BAA+B,EAAE,KAAK,iDAAiD,EAAE,MAAM,gCAAgC,CAAC;AAEpU,OAA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AAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AACD;;GAEG;AACH,eAAO,MAAM,yCAAyC,qFAAqF,CAAC;AAW5I;;GAEG;AACH,eAAO,MAAM,gDAAgD,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,8BAA8B,EAAE,kCAAkC,CAAC,EAAE,kBAAkB,CAkB1K,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,8CAA8C,EAAE,gBAuB5D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionGrantsRequestBuilderUriTemplate = exports.PermissionGrantsRequestBuilderRequestsMetadata = exports.PermissionGrantsRequestBuilderNavigationMetadata = void 0;
3
+ exports.PermissionGrantsRequestBuilderRequestsMetadata = exports.PermissionGrantsRequestBuilderNavigationMetadata = exports.PermissionGrantsRequestBuilderUriTemplate = void 0;
4
4
  /* tslint:disable */
5
5
  /* eslint-disable */
6
6
  // Generated by Microsoft Kiota
@@ -11,6 +11,10 @@ const getAvailableExtensionProperties_1 = require("./getAvailableExtensionProper
11
11
  const getByIds_1 = require("./getByIds/");
12
12
  const item_1 = require("./item/");
13
13
  const validateProperties_1 = require("./validateProperties/");
14
+ /**
15
+ * Uri template for the request builder.
16
+ */
17
+ exports.PermissionGrantsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants{?%24expand,%24filter,%24orderby,%24search,%24select}";
14
18
  /**
15
19
  * Mapper for query parameters from symbol name to serialization name represented as a constant.
16
20
  */
@@ -26,25 +30,20 @@ const PermissionGrantsRequestBuilderGetQueryParametersMapper = {
26
30
  */
27
31
  exports.PermissionGrantsRequestBuilderNavigationMetadata = {
28
32
  byResourceSpecificPermissionGrantId: {
29
- uriTemplate: item_1.ResourceSpecificPermissionGrantItemRequestBuilderUriTemplate,
30
33
  requestsMetadata: item_1.ResourceSpecificPermissionGrantItemRequestBuilderRequestsMetadata,
31
34
  navigationMetadata: item_1.ResourceSpecificPermissionGrantItemRequestBuilderNavigationMetadata,
32
35
  pathParametersMappings: ["resourceSpecificPermissionGrant%2Did"],
33
36
  },
34
37
  delta: {
35
- uriTemplate: delta_1.DeltaRequestBuilderUriTemplate,
36
38
  requestsMetadata: delta_1.DeltaRequestBuilderRequestsMetadata,
37
39
  },
38
40
  getAvailableExtensionProperties: {
39
- uriTemplate: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderUriTemplate,
40
41
  requestsMetadata: getAvailableExtensionProperties_1.GetAvailableExtensionPropertiesRequestBuilderRequestsMetadata,
41
42
  },
42
43
  getByIds: {
43
- uriTemplate: getByIds_1.GetByIdsRequestBuilderUriTemplate,
44
44
  requestsMetadata: getByIds_1.GetByIdsRequestBuilderRequestsMetadata,
45
45
  },
46
46
  validateProperties: {
47
- uriTemplate: validateProperties_1.ValidatePropertiesRequestBuilderUriTemplate,
48
47
  requestsMetadata: validateProperties_1.ValidatePropertiesRequestBuilderRequestsMetadata,
49
48
  },
50
49
  };
@@ -53,20 +52,20 @@ exports.PermissionGrantsRequestBuilderNavigationMetadata = {
53
52
  */
54
53
  exports.PermissionGrantsRequestBuilderRequestsMetadata = {
55
54
  get: {
55
+ uriTemplate: exports.PermissionGrantsRequestBuilderUriTemplate,
56
56
  responseBodyContentType: "application/json",
57
57
  errorMappings: {
58
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
59
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
58
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
60
59
  },
61
60
  adapterMethodName: "sendAsync",
62
61
  responseBodyFactory: models_1.createResourceSpecificPermissionGrantCollectionResponseFromDiscriminatorValue,
63
62
  queryParametersMapper: PermissionGrantsRequestBuilderGetQueryParametersMapper,
64
63
  },
65
64
  post: {
65
+ uriTemplate: exports.PermissionGrantsRequestBuilderUriTemplate,
66
66
  responseBodyContentType: "application/json",
67
67
  errorMappings: {
68
- _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
69
- _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
68
+ XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
70
69
  },
71
70
  adapterMethodName: "sendAsync",
72
71
  responseBodyFactory: models_1.createResourceSpecificPermissionGrantFromDiscriminatorValue,
@@ -75,9 +74,5 @@ exports.PermissionGrantsRequestBuilderRequestsMetadata = {
75
74
  requestInformationContentSetMethod: "setContentFromParsable",
76
75
  },
77
76
  };
78
- /**
79
- * Uri template for the request builder.
80
- */
81
- exports.PermissionGrantsRequestBuilderUriTemplate = "{+baseurl}/permissionGrants{?%24search,%24filter,%24orderby,%24select,%24expand}";
82
77
  /* tslint:enable */
83
78
  /* eslint-enable */