n8n-workflow
Advanced tools
Comparing version 0.95.0 to 0.96.0
@@ -147,5 +147,13 @@ /// <reference types="node" /> | ||
} | ||
export interface IAuthenticateRuleResponseSuccessBody extends IAuthenticateRuleBase { | ||
type: 'responseSuccessBody'; | ||
properties: { | ||
message: string; | ||
key: string; | ||
value: any; | ||
}; | ||
} | ||
export interface ICredentialTestRequest { | ||
request: IHttpRequestOptions; | ||
rules?: IAuthenticateRuleResponseCode[]; | ||
rules?: IAuthenticateRuleResponseCode[] | IAuthenticateRuleResponseSuccessBody[]; | ||
} | ||
@@ -288,3 +296,3 @@ export interface ICredentialTestRequestData { | ||
getContext(type: string): IContextObject; | ||
getCredentials(type: string, itemIndex?: number): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string, itemIndex?: number): Promise<ICredentialDataDecryptedObject>; | ||
getInputData(inputIndex?: number, inputName?: string): INodeExecutionData[]; | ||
@@ -316,3 +324,3 @@ getMode(): WorkflowExecuteMode; | ||
getContext(type: string): IContextObject; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getInputData(inputIndex?: number, inputName?: string): INodeExecutionData; | ||
@@ -347,3 +355,3 @@ getMode(): WorkflowExecuteMode; | ||
export interface ILoadOptionsFunctions { | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getNode(): INode; | ||
@@ -363,3 +371,3 @@ getNodeParameter(parameterName: string, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object; | ||
export interface IHookFunctions { | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getMode(): WorkflowExecuteMode; | ||
@@ -383,3 +391,3 @@ getActivationMode(): WorkflowActivateMode; | ||
__emit(data: INodeExecutionData[][]): void; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getMode(): WorkflowExecuteMode; | ||
@@ -402,3 +410,3 @@ getActivationMode(): WorkflowActivateMode; | ||
emitError(error: Error, responsePromise?: IDeferredPromise<IExecuteResponsePromiseData>): void; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getMode(): WorkflowExecuteMode; | ||
@@ -420,3 +428,3 @@ getActivationMode(): WorkflowActivateMode; | ||
getBodyData(): IDataObject; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject | undefined>; | ||
getCredentials(type: string): Promise<ICredentialDataDecryptedObject>; | ||
getHeaderData(): object; | ||
@@ -423,0 +431,0 @@ getMode(): WorkflowExecuteMode; |
{ | ||
"name": "n8n-workflow", | ||
"version": "0.95.0", | ||
"version": "0.96.0", | ||
"description": "Workflow base code of n8n", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
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
675198
10546