Socket
Socket
Sign inDemoInstall

@microsoft/msgraph-beta-sdk-schemaextensions

Package Overview
Dependencies
11
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-preview.11 to 1.0.0-preview.12

4

package.json
{
"name": "@microsoft/msgraph-beta-sdk-schemaextensions",
"version": "1.0.0-preview.11",
"version": "1.0.0-preview.12",
"description": "SchemaExtensions fluent API for Microsoft Graph",

@@ -46,3 +46,3 @@ "keywords": [

},
"gitHead": "cebc3d874651709531f4c5141d636741983ff594"
"gitHead": "d8e4bb487e2e3e644d52f2004b4d9268fe0d8c64"
}

@@ -9,3 +9,4 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of Integer
* @returns {Promise<number>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/

@@ -16,3 +17,3 @@ get(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): Promise<number | undefined>;

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -35,9 +36,9 @@ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CountRequestBuilderGetQueryParameters> | undefined): RequestInformation;

/**
* Uri template for the request builder.
*/
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/$count{?%24filter,%24search}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const CountRequestBuilderRequestsMetadata: RequestsMetadata;
/**
* Uri template for the request builder.
*/
export declare const CountRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/$count{?%24search,%24filter}";
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
/* tslint:disable */

@@ -9,2 +9,6 @@ /* eslint-disable */

/**
* Uri template for the request builder.
*/
exports.CountRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/$count{?%24filter,%24search}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.

@@ -21,6 +25,6 @@ */

get: {
uriTemplate: exports.CountRequestBuilderUriTemplate,
responseBodyContentType: "text/plain;q=0.9",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -32,7 +36,3 @@ adapterMethodName: "sendPrimitiveAsync",

};
/**
* Uri template for the request builder.
*/
exports.CountRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/$count{?%24search,%24filter}";
/* tslint:enable */
/* eslint-enable */

@@ -16,3 +16,3 @@ import { type SchemaExtension, type SchemaExtensionCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/';

* @param schemaExtensionId The unique identifier of schemaExtension
* @returns a SchemaExtensionItemRequestBuilder
* @returns {SchemaExtensionItemRequestBuilder}
*/

@@ -23,3 +23,4 @@ bySchemaExtensionId(schemaExtensionId: string): SchemaExtensionItemRequestBuilder;

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of SchemaExtensionCollectionResponse
* @returns {Promise<SchemaExtensionCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/schemaextension-list?view=graph-rest-1.0|Find more info here}

@@ -32,3 +33,4 @@ */

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of SchemaExtension
* @returns {Promise<SchemaExtension>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/schemaextension-post-schemaextensions?view=graph-rest-1.0|Find more info here}

@@ -40,3 +42,3 @@ */

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -48,3 +50,3 @@ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SchemaExtensionsRequestBuilderGetQueryParameters> | undefined): RequestInformation;

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -91,2 +93,6 @@ toPostRequestInformation(body: SchemaExtension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;

/**
* Uri template for the request builder.
*/
export declare const SchemaExtensionsRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.

@@ -99,6 +105,2 @@ */

export declare const SchemaExtensionsRequestBuilderRequestsMetadata: RequestsMetadata;
/**
* Uri template for the request builder.
*/
export declare const SchemaExtensionsRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SchemaExtensionsRequestBuilderUriTemplate = exports.SchemaExtensionsRequestBuilderRequestsMetadata = exports.SchemaExtensionsRequestBuilderNavigationMetadata = void 0;
exports.SchemaExtensionsRequestBuilderRequestsMetadata = exports.SchemaExtensionsRequestBuilderNavigationMetadata = exports.SchemaExtensionsRequestBuilderUriTemplate = void 0;
/* tslint:disable */

@@ -12,2 +12,6 @@ /* eslint-disable */

/**
* Uri template for the request builder.
*/
exports.SchemaExtensionsRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.

@@ -30,3 +34,2 @@ */

bySchemaExtensionId: {
uriTemplate: item_1.SchemaExtensionItemRequestBuilderUriTemplate,
requestsMetadata: item_1.SchemaExtensionItemRequestBuilderRequestsMetadata,

@@ -36,3 +39,2 @@ pathParametersMappings: ["schemaExtension%2Did"],

count: {
uriTemplate: count_1.CountRequestBuilderUriTemplate,
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata,

@@ -46,6 +48,6 @@ },

get: {
uriTemplate: exports.SchemaExtensionsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -57,6 +59,6 @@ adapterMethodName: "sendAsync",

post: {
uriTemplate: exports.SchemaExtensionsRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -70,7 +72,3 @@ adapterMethodName: "sendAsync",

};
/**
* Uri template for the request builder.
*/
exports.SchemaExtensionsRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}";
/* tslint:enable */
/* eslint-enable */

@@ -8,4 +8,5 @@ import { type SchemaExtension } from '@microsoft/msgraph-beta-sdk/models/';

/**
* Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition.
* Delete the definition of a schema extension. In app-only scenarios, only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. In delegated scenarios, the owner of the owner app can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition before deleting the data associated with the extension in the target resources makes the data inaccessible. To recover the data, you can recreate the schema extension definition with the same configuration, but only if you used the verified domain for the schema extension id.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/schemaextension-delete?view=graph-rest-1.0|Find more info here}

@@ -17,3 +18,4 @@ */

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of SchemaExtension
* @returns {Promise<SchemaExtension>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/schemaextension-get?view=graph-rest-1.0|Find more info here}

@@ -26,3 +28,4 @@ */

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a Promise of SchemaExtension
* @returns {Promise<SchemaExtension>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/schemaextension-update?view=graph-rest-1.0|Find more info here}

@@ -32,5 +35,5 @@ */

/**
* Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition.
* Delete the definition of a schema extension. In app-only scenarios, only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. In delegated scenarios, the owner of the owner app can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition before deleting the data associated with the extension in the target resources makes the data inaccessible. To recover the data, you can recreate the schema extension definition with the same configuration, but only if you used the verified domain for the schema extension id.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -41,3 +44,3 @@ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -49,3 +52,3 @@ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SchemaExtensionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;

* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns a RequestInformation
* @returns {RequestInformation}
*/

@@ -68,9 +71,9 @@ toPatchRequestInformation(body: SchemaExtension, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;

/**
* Uri template for the request builder.
*/
export declare const SchemaExtensionItemRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/{schemaExtension%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const SchemaExtensionItemRequestBuilderRequestsMetadata: RequestsMetadata;
/**
* Uri template for the request builder.
*/
export declare const SchemaExtensionItemRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/{schemaExtension%2Did}{?%24select,%24expand}";
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SchemaExtensionItemRequestBuilderUriTemplate = exports.SchemaExtensionItemRequestBuilderRequestsMetadata = void 0;
exports.SchemaExtensionItemRequestBuilderRequestsMetadata = exports.SchemaExtensionItemRequestBuilderUriTemplate = void 0;
/* tslint:disable */

@@ -10,2 +10,6 @@ /* eslint-disable */

/**
* Uri template for the request builder.
*/
exports.SchemaExtensionItemRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/{schemaExtension%2Did}{?%24expand,%24select}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.

@@ -22,6 +26,6 @@ */

delete: {
uriTemplate: exports.SchemaExtensionItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -31,6 +35,6 @@ adapterMethodName: "sendNoResponseContentAsync",

get: {
uriTemplate: exports.SchemaExtensionItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -42,6 +46,6 @@ adapterMethodName: "sendAsync",

patch: {
uriTemplate: exports.SchemaExtensionItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
},

@@ -55,7 +59,3 @@ adapterMethodName: "sendAsync",

};
/**
* Uri template for the request builder.
*/
exports.SchemaExtensionItemRequestBuilderUriTemplate = "{+baseurl}/schemaExtensions/{schemaExtension%2Did}{?%24select,%24expand}";
/* tslint:enable */
/* eslint-enable */

@@ -33,3 +33,3 @@ "use strict";

requestAdapter.enableBackingStore(backingStore);
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.SchemaExtensionsServiceClientUriTemplate, exports.SchemaExtensionsServiceClientNavigationMetadata, undefined);
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.SchemaExtensionsServiceClientNavigationMetadata, undefined);
}

@@ -42,3 +42,2 @@ exports.createSchemaExtensionsServiceClient = createSchemaExtensionsServiceClient;

schemaExtensions: {
uriTemplate: schemaExtensions_1.SchemaExtensionsRequestBuilderUriTemplate,
requestsMetadata: schemaExtensions_1.SchemaExtensionsRequestBuilderRequestsMetadata,

@@ -45,0 +44,0 @@ navigationMetadata: schemaExtensions_1.SchemaExtensionsRequestBuilderNavigationMetadata,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc