@microsoft/msgraph-beta-sdk-functions
Advanced tools
Comparing version 1.0.0-preview.20 to 1.0.0-preview.21
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,7 +5,7 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.CountRequestBuilderUriTemplate = "{+baseurl}/functions/$count{?%24filter,%24search}"; | ||
export const CountRequestBuilderUriTemplate = "{+baseurl}/functions/$count{?%24filter,%24search}"; | ||
/** | ||
@@ -24,8 +21,8 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.CountRequestBuilderRequestsMetadata = { | ||
export const CountRequestBuilderRequestsMetadata = { | ||
get: { | ||
uriTemplate: exports.CountRequestBuilderUriTemplate, | ||
uriTemplate: CountRequestBuilderUriTemplate, | ||
responseBodyContentType: "text/plain;q=0.9", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -39,1 +36,2 @@ adapterMethodName: "sendPrimitive", | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,4 +0,4 @@ | ||
import { type AttributeMappingFunctionSchema, type AttributeMappingFunctionSchemaCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/'; | ||
import { type CountRequestBuilder } from './count/'; | ||
import { type AttributeMappingFunctionSchemaItemRequestBuilder } from './item/'; | ||
import { type AttributeMappingFunctionSchema, type AttributeMappingFunctionSchemaCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
import { type CountRequestBuilder } from './count/index.js'; | ||
import { type AttributeMappingFunctionSchemaItemRequestBuilder } from './item/index.js'; | ||
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; | ||
@@ -5,0 +5,0 @@ /** |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FunctionsRequestBuilderRequestsMetadata = exports.FunctionsRequestBuilderNavigationMetadata = exports.FunctionsRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,13 +5,13 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const models_1 = require("@microsoft/msgraph-beta-sdk/models/"); | ||
import { createAttributeMappingFunctionSchemaCollectionResponseFromDiscriminatorValue, createAttributeMappingFunctionSchemaFromDiscriminatorValue, serializeAttributeMappingFunctionSchema } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
// @ts-ignore | ||
const count_1 = require("./count/"); | ||
import { CountRequestBuilderRequestsMetadata } from './count/index.js'; | ||
// @ts-ignore | ||
const item_1 = require("./item/"); | ||
import { AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata } from './item/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.FunctionsRequestBuilderUriTemplate = "{+baseurl}/functions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; | ||
export const FunctionsRequestBuilderUriTemplate = "{+baseurl}/functions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; | ||
/** | ||
@@ -36,9 +33,9 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.FunctionsRequestBuilderNavigationMetadata = { | ||
export const FunctionsRequestBuilderNavigationMetadata = { | ||
byAttributeMappingFunctionSchemaId: { | ||
requestsMetadata: item_1.AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata, | ||
requestsMetadata: AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata, | ||
pathParametersMappings: ["attributeMappingFunctionSchema%2Did"], | ||
}, | ||
count: { | ||
requestsMetadata: count_1.CountRequestBuilderRequestsMetadata, | ||
requestsMetadata: CountRequestBuilderRequestsMetadata, | ||
}, | ||
@@ -49,23 +46,23 @@ }; | ||
*/ | ||
exports.FunctionsRequestBuilderRequestsMetadata = { | ||
export const FunctionsRequestBuilderRequestsMetadata = { | ||
get: { | ||
uriTemplate: exports.FunctionsRequestBuilderUriTemplate, | ||
uriTemplate: FunctionsRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createAttributeMappingFunctionSchemaCollectionResponseFromDiscriminatorValue, | ||
responseBodyFactory: createAttributeMappingFunctionSchemaCollectionResponseFromDiscriminatorValue, | ||
queryParametersMapper: FunctionsRequestBuilderGetQueryParametersMapper, | ||
}, | ||
post: { | ||
uriTemplate: exports.FunctionsRequestBuilderUriTemplate, | ||
uriTemplate: FunctionsRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
responseBodyFactory: createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
requestBodyContentType: "application/json", | ||
requestBodySerializer: models_1.serializeAttributeMappingFunctionSchema, | ||
requestBodySerializer: serializeAttributeMappingFunctionSchema, | ||
requestInformationContentSetMethod: "setContentFromParsable", | ||
@@ -76,1 +73,2 @@ }, | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { type AttributeMappingFunctionSchema } from '@microsoft/msgraph-beta-sdk/models/'; | ||
import { type AttributeMappingFunctionSchema } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata = exports.AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -8,9 +5,9 @@ /* eslint-disable */ | ||
// @ts-ignore | ||
const models_1 = require("@microsoft/msgraph-beta-sdk/models/"); | ||
import { createAttributeMappingFunctionSchemaFromDiscriminatorValue, serializeAttributeMappingFunctionSchema } from '@microsoft/msgraph-beta-sdk/models/index.js'; | ||
// @ts-ignore | ||
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/"); | ||
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate = "{+baseurl}/functions/{attributeMappingFunctionSchema%2Did}{?%24expand,%24select}"; | ||
export const AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate = "{+baseurl}/functions/{attributeMappingFunctionSchema%2Did}{?%24expand,%24select}"; | ||
/** | ||
@@ -26,8 +23,8 @@ * Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
*/ | ||
exports.AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata = { | ||
export const AttributeMappingFunctionSchemaItemRequestBuilderRequestsMetadata = { | ||
delete: { | ||
uriTemplate: exports.AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
uriTemplate: AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -37,21 +34,21 @@ adapterMethodName: "sendNoResponseContent", | ||
get: { | ||
uriTemplate: exports.AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
uriTemplate: AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
responseBodyFactory: createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
queryParametersMapper: AttributeMappingFunctionSchemaItemRequestBuilderGetQueryParametersMapper, | ||
}, | ||
patch: { | ||
uriTemplate: exports.AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
uriTemplate: AttributeMappingFunctionSchemaItemRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: createODataErrorFromDiscriminatorValue, | ||
}, | ||
adapterMethodName: "send", | ||
responseBodyFactory: models_1.createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
responseBodyFactory: createAttributeMappingFunctionSchemaFromDiscriminatorValue, | ||
requestBodyContentType: "application/json", | ||
requestBodySerializer: models_1.serializeAttributeMappingFunctionSchema, | ||
requestBodySerializer: serializeAttributeMappingFunctionSchema, | ||
requestInformationContentSetMethod: "setContentFromParsable", | ||
@@ -62,1 +59,2 @@ }, | ||
/* eslint-enable */ | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { type FunctionsRequestBuilder } from './functions/'; | ||
import { type FunctionsRequestBuilder } from './functions/index.js'; | ||
import { type BackingStoreFactory, type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestAdapter } from '@microsoft/kiota-abstractions'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,13 +0,10 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FunctionsServiceClientUriTemplate = exports.FunctionsServiceClientNavigationMetadata = exports.createFunctionsServiceClient = void 0; | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// Generated by Microsoft Kiota | ||
const functions_1 = require("./functions/"); | ||
const kiota_abstractions_1 = require("@microsoft/kiota-abstractions"); | ||
const kiota_serialization_form_1 = require("@microsoft/kiota-serialization-form"); | ||
const kiota_serialization_json_1 = require("@microsoft/kiota-serialization-json"); | ||
const kiota_serialization_multipart_1 = require("@microsoft/kiota-serialization-multipart"); | ||
const kiota_serialization_text_1 = require("@microsoft/kiota-serialization-text"); | ||
import { FunctionsRequestBuilderNavigationMetadata, FunctionsRequestBuilderRequestsMetadata } from './functions/index.js'; | ||
import { apiClientProxifier, registerDefaultDeserializer, registerDefaultSerializer } from '@microsoft/kiota-abstractions'; | ||
import { FormParseNodeFactory, FormSerializationWriterFactory } from '@microsoft/kiota-serialization-form'; | ||
import { JsonParseNodeFactory, JsonSerializationWriterFactory } from '@microsoft/kiota-serialization-json'; | ||
import { MultipartSerializationWriterFactory } from '@microsoft/kiota-serialization-multipart'; | ||
import { TextParseNodeFactory, TextSerializationWriterFactory } from '@microsoft/kiota-serialization-text'; | ||
/** | ||
@@ -18,10 +15,10 @@ * Instantiates a new FunctionsServiceClient and sets the default values. | ||
*/ | ||
function createFunctionsServiceClient(requestAdapter, backingStore) { | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_json_1.JsonSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_text_1.TextSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_form_1.FormSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultSerializer)(kiota_serialization_multipart_1.MultipartSerializationWriterFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_json_1.JsonParseNodeFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_text_1.TextParseNodeFactory); | ||
(0, kiota_abstractions_1.registerDefaultDeserializer)(kiota_serialization_form_1.FormParseNodeFactory); | ||
export function createFunctionsServiceClient(requestAdapter, backingStore) { | ||
registerDefaultSerializer(JsonSerializationWriterFactory); | ||
registerDefaultSerializer(TextSerializationWriterFactory); | ||
registerDefaultSerializer(FormSerializationWriterFactory); | ||
registerDefaultSerializer(MultipartSerializationWriterFactory); | ||
registerDefaultDeserializer(JsonParseNodeFactory); | ||
registerDefaultDeserializer(TextParseNodeFactory); | ||
registerDefaultDeserializer(FormParseNodeFactory); | ||
if (requestAdapter.baseUrl === undefined || requestAdapter.baseUrl === "") { | ||
@@ -34,12 +31,11 @@ requestAdapter.baseUrl = "https://graph.microsoft.com/beta"; | ||
requestAdapter.enableBackingStore(backingStore); | ||
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.FunctionsServiceClientNavigationMetadata, undefined); | ||
return apiClientProxifier(requestAdapter, pathParameters, FunctionsServiceClientNavigationMetadata, undefined); | ||
} | ||
exports.createFunctionsServiceClient = createFunctionsServiceClient; | ||
/** | ||
* Metadata for all the navigation properties in the request builder. | ||
*/ | ||
exports.FunctionsServiceClientNavigationMetadata = { | ||
export const FunctionsServiceClientNavigationMetadata = { | ||
functions: { | ||
requestsMetadata: functions_1.FunctionsRequestBuilderRequestsMetadata, | ||
navigationMetadata: functions_1.FunctionsRequestBuilderNavigationMetadata, | ||
requestsMetadata: FunctionsRequestBuilderRequestsMetadata, | ||
navigationMetadata: FunctionsRequestBuilderNavigationMetadata, | ||
}, | ||
@@ -50,4 +46,5 @@ }; | ||
*/ | ||
exports.FunctionsServiceClientUriTemplate = "{+baseurl}"; | ||
export const FunctionsServiceClientUriTemplate = "{+baseurl}"; | ||
/* tslint:enable */ | ||
/* eslint-enable */ | ||
//# sourceMappingURL=functionsServiceClient.js.map |
@@ -1,2 +0,2 @@ | ||
import type { FunctionsRequestBuilder } from "./functions"; | ||
import type { FunctionsRequestBuilder } from "./functions/index.js"; | ||
declare module "@microsoft/msgraph-beta-sdk" { | ||
@@ -10,3 +10,3 @@ interface GraphBetaServiceClient { | ||
} | ||
export * from "./functionsServiceClient"; | ||
export * from "./functionsServiceClient.js"; | ||
//# sourceMappingURL=index.d.ts.map |
25
index.js
@@ -1,20 +0,5 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const msgraph_beta_sdk_1 = require("@microsoft/msgraph-beta-sdk"); | ||
const functionsServiceClient_1 = require("./functionsServiceClient"); | ||
(0, msgraph_beta_sdk_1.extendGraphBetaServiceClient)(functionsServiceClient_1.FunctionsServiceClientNavigationMetadata); | ||
__exportStar(require("./functionsServiceClient"), exports); | ||
import { extendGraphBetaServiceClient } from "@microsoft/msgraph-beta-sdk"; | ||
import { FunctionsServiceClientNavigationMetadata } from "./functionsServiceClient.js"; | ||
extendGraphBetaServiceClient(FunctionsServiceClientNavigationMetadata); | ||
export * from "./functionsServiceClient.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@microsoft/msgraph-beta-sdk-functions", | ||
"version": "1.0.0-preview.20", | ||
"version": "1.0.0-preview.21", | ||
"description": "Functions fluent API for Microsoft Graph", | ||
@@ -46,3 +46,4 @@ "keywords": [ | ||
}, | ||
"gitHead": "6af4e59c5fec989bb08eea41b838a315da5faa3f" | ||
"type": "module", | ||
"gitHead": "eeea280f1539fdcf00de865ad89a6fe69a709150" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25
Yes
88560
461