New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@azure/cognitiveservices-luis-authoring

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/cognitiveservices-luis-authoring - npm Package Compare versions

Comparing version 4.0.0-preview.2 to 4.0.0-preview.3

1

esm/lUISAuthoringClient.d.ts

@@ -13,3 +13,2 @@ import * as msRest from "@azure/ms-rest-js";

train: operations.Train;
permissions: operations.Permissions;
pattern: operations.Pattern;

@@ -16,0 +15,0 @@ settings: operations.Settings;

@@ -32,3 +32,2 @@ /*

_this.train = new operations.Train(_this);
_this.permissions = new operations.Permissions(_this);
_this.pattern = new operations.Pattern(_this);

@@ -35,0 +34,0 @@ _this.settings = new operations.Settings(_this);

2

esm/lUISAuthoringClientContext.js

@@ -13,3 +13,3 @@ /*

var packageName = "@azure/cognitiveservices-luis-authoring";
var packageVersion = "4.0.0-preview.2";
var packageVersion = "4.0.0-preview.3";
var LUISAuthoringClientContext = /** @class */ (function (_super) {

@@ -16,0 +16,0 @@ __extends(LUISAuthoringClientContext, _super);

@@ -11,2 +11,3 @@ import * as msRest from "@azure/ms-rest-js";

export declare const domainName: msRest.OperationURLParameter;
export declare const enableNestedChildren: msRest.OperationQueryParameter;
export declare const endpoint: msRest.OperationURLParameter;

@@ -13,0 +14,0 @@ export declare const entityId: msRest.OperationURLParameter;

@@ -107,2 +107,15 @@ /*

};
export var enableNestedChildren = {
parameterPath: [
"options",
"enableNestedChildren"
],
mapper: {
serializedName: "enableNestedChildren",
defaultValue: false,
type: {
name: "Boolean"
}
}
};
export var endpoint = {

@@ -109,0 +122,0 @@ parameterPath: "endpoint",

@@ -450,19 +450,19 @@ import * as msRest from "@azure/ms-rest-js";

* Imports an application to LUIS, the application's structure is included in the request body.
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param [options] The optional parameters
* @returns Promise<Models.AppsImportLuFromatResponse>
* @returns Promise<Models.AppsImportLuFormatResponse>
*/
importLuFromat(luisApplu: string, options?: Models.AppsImportLuFromatOptionalParams): Promise<Models.AppsImportLuFromatResponse>;
importLuFormat(luisAppLu: string, options?: Models.AppsImportLuFormatOptionalParams): Promise<Models.AppsImportLuFormatResponse>;
/**
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param callback The callback
*/
importLuFromat(luisApplu: string, callback: msRest.ServiceCallback<string>): void;
importLuFormat(luisAppLu: string, callback: msRest.ServiceCallback<string>): void;
/**
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param options The optional parameters
* @param callback The callback
*/
importLuFromat(luisApplu: string, options: Models.AppsImportLuFromatOptionalParams, callback: msRest.ServiceCallback<string>): void;
importLuFormat(luisAppLu: string, options: Models.AppsImportLuFormatOptionalParams, callback: msRest.ServiceCallback<string>): void;
}
//# sourceMappingURL=apps.d.ts.map

@@ -161,7 +161,7 @@ /*

};
Apps.prototype.importLuFromat = function (luisApplu, options, callback) {
Apps.prototype.importLuFormat = function (luisAppLu, options, callback) {
return this.client.sendOperationRequest({
luisApplu: luisApplu,
luisAppLu: luisAppLu,
options: options
}, importLuFromatOperationSpec, callback);
}, importLuFormatOperationSpec, callback);
};

@@ -711,3 +711,3 @@ return Apps;

};
var importLuFromatOperationSpec = {
var importLuFormatOperationSpec = {
httpMethod: "POST",

@@ -722,6 +722,6 @@ path: "apps/import",

requestBody: {
parameterPath: "luisApplu",
parameterPath: "luisAppLu",
mapper: {
required: true,
serializedName: "luisApplu",
serializedName: "luisAppLu",
type: {

@@ -728,0 +728,0 @@ name: "String"

@@ -20,3 +20,3 @@ import * as msRest from "@azure/ms-rest-js";

*/
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: msRest.RequestOptionsBase): Promise<Models.ExamplesAddResponse>;
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: Models.ExamplesAddOptionalParams): Promise<Models.ExamplesAddResponse>;
/**

@@ -36,3 +36,3 @@ * @param appId The application ID.

*/
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LabelExampleResponse>): void;
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options: Models.ExamplesAddOptionalParams, callback: msRest.ServiceCallback<Models.LabelExampleResponse>): void;
/**

@@ -46,3 +46,3 @@ * Adds a batch of labeled example utterances to a version of the application.

*/
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: msRest.RequestOptionsBase): Promise<Models.ExamplesBatchResponse>;
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: Models.ExamplesBatchOptionalParams): Promise<Models.ExamplesBatchResponse>;
/**

@@ -62,3 +62,3 @@ * @param appId The application ID.

*/
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BatchLabelExample[]>): void;
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options: Models.ExamplesBatchOptionalParams, callback: msRest.ServiceCallback<Models.BatchLabelExample[]>): void;
/**

@@ -65,0 +65,0 @@ * Returns example utterances to be reviewed from a version of the application.

@@ -67,2 +67,5 @@ /*

],
queryParameters: [
Parameters.enableNestedChildren
],
requestBody: {

@@ -90,2 +93,5 @@ parameterPath: "exampleLabelObject",

],
queryParameters: [
Parameters.enableNestedChildren
],
requestBody: {

@@ -152,3 +158,4 @@ parameterPath: "exampleLabelObjectArray",

Parameters.skip,
Parameters.take
Parameters.take,
Parameters.enableNestedChildren
],

@@ -155,0 +162,0 @@ responses: {

@@ -7,3 +7,2 @@ export * from "./features";

export * from "./train";
export * from "./permissions";
export * from "./pattern";

@@ -10,0 +9,0 @@ export * from "./settings";

@@ -16,3 +16,2 @@ /*

export * from "./train";
export * from "./permissions";
export * from "./pattern";

@@ -19,0 +18,0 @@ export * from "./settings";

@@ -384,5 +384,3 @@ /*

},
default: {
bodyMapper: Mappers.ErrorResponse
}
default: {}
},

@@ -389,0 +387,0 @@ serializer: serializer

@@ -5,3 +5,3 @@ {

"description": "LUISAuthoringClient Library with typescript type definitions for node.js and browser.",
"version": "4.0.0-preview.2",
"version": "4.0.0-preview.3",
"dependencies": {

@@ -8,0 +8,0 @@ "@azure/ms-rest-js": "^2.0.3",

@@ -8,3 +8,3 @@ ## An isomorphic javascript sdk for - LUISAuthoringClient

3.0.0 | /luis/api/v2.0
4.0.0-preview.2 | /luis/authoring/v3.0-preview
4.0.0-preview.3 | /luis/authoring/v3.0-preview

@@ -11,0 +11,0 @@ ### Currently supported environments

@@ -25,3 +25,2 @@ /*

train: operations.Train;
permissions: operations.Permissions;
pattern: operations.Pattern;

@@ -46,3 +45,2 @@ settings: operations.Settings;

this.train = new operations.Train(this);
this.permissions = new operations.Permissions(this);
this.pattern = new operations.Pattern(this);

@@ -49,0 +47,0 @@ this.settings = new operations.Settings(this);

@@ -14,3 +14,3 @@ /*

const packageName = "@azure/cognitiveservices-luis-authoring";
const packageVersion = "4.0.0-preview.2";
const packageVersion = "4.0.0-preview.3";

@@ -17,0 +17,0 @@ export class LUISAuthoringClientContext extends msRest.ServiceClient {

@@ -110,2 +110,15 @@ /*

};
export const enableNestedChildren: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"enableNestedChildren"
],
mapper: {
serializedName: "enableNestedChildren",
defaultValue: false,
type: {
name: "Boolean"
}
}
};
export const endpoint: msRest.OperationURLParameter = {

@@ -112,0 +125,0 @@ parameterPath: "endpoint",

@@ -693,26 +693,26 @@ /*

* Imports an application to LUIS, the application's structure is included in the request body.
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param [options] The optional parameters
* @returns Promise<Models.AppsImportLuFromatResponse>
* @returns Promise<Models.AppsImportLuFormatResponse>
*/
importLuFromat(luisApplu: string, options?: Models.AppsImportLuFromatOptionalParams): Promise<Models.AppsImportLuFromatResponse>;
importLuFormat(luisAppLu: string, options?: Models.AppsImportLuFormatOptionalParams): Promise<Models.AppsImportLuFormatResponse>;
/**
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param callback The callback
*/
importLuFromat(luisApplu: string, callback: msRest.ServiceCallback<string>): void;
importLuFormat(luisAppLu: string, callback: msRest.ServiceCallback<string>): void;
/**
* @param luisApplu A LUIS application structure.
* @param luisAppLu A LUIS application structure.
* @param options The optional parameters
* @param callback The callback
*/
importLuFromat(luisApplu: string, options: Models.AppsImportLuFromatOptionalParams, callback: msRest.ServiceCallback<string>): void;
importLuFromat(luisApplu: string, options?: Models.AppsImportLuFromatOptionalParams | msRest.ServiceCallback<string>, callback?: msRest.ServiceCallback<string>): Promise<Models.AppsImportLuFromatResponse> {
importLuFormat(luisAppLu: string, options: Models.AppsImportLuFormatOptionalParams, callback: msRest.ServiceCallback<string>): void;
importLuFormat(luisAppLu: string, options?: Models.AppsImportLuFormatOptionalParams | msRest.ServiceCallback<string>, callback?: msRest.ServiceCallback<string>): Promise<Models.AppsImportLuFormatResponse> {
return this.client.sendOperationRequest(
{
luisApplu,
luisAppLu,
options
},
importLuFromatOperationSpec,
callback) as Promise<Models.AppsImportLuFromatResponse>;
importLuFormatOperationSpec,
callback) as Promise<Models.AppsImportLuFormatResponse>;
}

@@ -1308,3 +1308,3 @@ }

const importLuFromatOperationSpec: msRest.OperationSpec = {
const importLuFormatOperationSpec: msRest.OperationSpec = {
httpMethod: "POST",

@@ -1319,6 +1319,6 @@ path: "apps/import",

requestBody: {
parameterPath: "luisApplu",
parameterPath: "luisAppLu",
mapper: {
required: true,
serializedName: "luisApplu",
serializedName: "luisAppLu",
type: {

@@ -1325,0 +1325,0 @@ name: "String"

@@ -37,3 +37,3 @@ /*

*/
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: msRest.RequestOptionsBase): Promise<Models.ExamplesAddResponse>;
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: Models.ExamplesAddOptionalParams): Promise<Models.ExamplesAddResponse>;
/**

@@ -53,4 +53,4 @@ * @param appId The application ID.

*/
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.LabelExampleResponse>): void;
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.LabelExampleResponse>, callback?: msRest.ServiceCallback<Models.LabelExampleResponse>): Promise<Models.ExamplesAddResponse> {
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options: Models.ExamplesAddOptionalParams, callback: msRest.ServiceCallback<Models.LabelExampleResponse>): void;
add(appId: string, versionId: string, exampleLabelObject: Models.ExampleLabelObject, options?: Models.ExamplesAddOptionalParams | msRest.ServiceCallback<Models.LabelExampleResponse>, callback?: msRest.ServiceCallback<Models.LabelExampleResponse>): Promise<Models.ExamplesAddResponse> {
return this.client.sendOperationRequest(

@@ -75,3 +75,3 @@ {

*/
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: msRest.RequestOptionsBase): Promise<Models.ExamplesBatchResponse>;
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: Models.ExamplesBatchOptionalParams): Promise<Models.ExamplesBatchResponse>;
/**

@@ -91,4 +91,4 @@ * @param appId The application ID.

*/
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.BatchLabelExample[]>): void;
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.BatchLabelExample[]>, callback?: msRest.ServiceCallback<Models.BatchLabelExample[]>): Promise<Models.ExamplesBatchResponse> {
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options: Models.ExamplesBatchOptionalParams, callback: msRest.ServiceCallback<Models.BatchLabelExample[]>): void;
batch(appId: string, versionId: string, exampleLabelObjectArray: Models.ExampleLabelObject[], options?: Models.ExamplesBatchOptionalParams | msRest.ServiceCallback<Models.BatchLabelExample[]>, callback?: msRest.ServiceCallback<Models.BatchLabelExample[]>): Promise<Models.ExamplesBatchResponse> {
return this.client.sendOperationRequest(

@@ -184,2 +184,5 @@ {

],
queryParameters: [
Parameters.enableNestedChildren
],
requestBody: {

@@ -211,2 +214,5 @@ parameterPath: "exampleLabelObject",

],
queryParameters: [
Parameters.enableNestedChildren
],
requestBody: {

@@ -274,3 +280,4 @@ parameterPath: "exampleLabelObjectArray",

Parameters.skip,
Parameters.take
Parameters.take,
Parameters.enableNestedChildren
],

@@ -277,0 +284,0 @@ responses: {

@@ -17,5 +17,4 @@ /*

export * from "./train";
export * from "./permissions";
export * from "./pattern";
export * from "./settings";
export * from "./azureAccounts";

@@ -692,7 +692,5 @@ /*

},
default: {
bodyMapper: Mappers.ErrorResponse
}
default: {}
},
serializer
};

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

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 too big to display

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

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 too big to display

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 too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc