diff --git a/CHANGELOG.md b/CHANGELOG.md
index 438f85ff4c..f9e0fadec1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,11 @@
Alfresco JS API
+
+# [1.1.1](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.1) (27-01-2017)
+## Fix
+- [AlfrescoApiConfig make optional parameters in the declaration file #174](https://github.com/Alfresco/alfresco-js-api/pull/174)
+
_This project provides a JavaScript client API into the v1 Alfresco REST API_
# [1.1.0](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.0) (26-01-2017)
diff --git a/index.d.ts b/index.d.ts
index 79fc7f0846..f0b33c52d9 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -203,16 +203,23 @@ declare namespace AlfrescoApi {
export interface NodesApi {
new(client: ApiClient): NodesApi;
- getNodeInfo(nodeId: string, opts?: any): Promise;
+ addNode(nodeId: string, nodeBody: any, opts?: any): Promise;
+ copyNode(nodeId: string, copyBody: any, opts?: any): Promise;
+ deleteNode(nodeId: string): Promise;
+ getDeletedNode(nodeId: string, opts?: any): Promise;
+ getDeletedNodes(opts?: any): Promise;
+ getFileContent(nodeId: string, opts?: any): Promise;
+ getNode(nodeId: string, opts?: any): Promise;
getNodeChildren(nodeId: string, opts?: any): Promise;
- deleteNode(nodeId: string): Promise;
- createFolder(name: string, relativePath: string, nodeId?: string, opts?: any): Promise;
- getNode(nodeId: string, opts: any): Promise;
- getDeletedNodes(opts: any): Promise;
- purgeDeletedNode(nodeId: string): Promise;
- getDeletedNode(nodeId: string, opts: any): Promise;
+ moveNode(nodeId: string, moveBody: any, opts?: any): Promise;
+ purgeDeletedNode(nodeId: string): Promise;
restoreNode(nodeId: string): Promise;
- addNode(nodeId: string, nodeBody: any, opts: any): any;
+ updateFileContent(nodeId: string, contentBody: string, opts?: any): Promise;
+ updateNode(nodeId: string, nodeBody: any, opts?: any): Promise;
+ getNodeInfo(nodeId: string, opts?: any): Promise;
+ deleteNodePermanent(nodeId: string): Promise;
+ createFolder(name: string, relativePath: string, nodeId?: string, opts?: any): Promise;
+ createFolderAutoRename(name: string, relativePath: string, nodeId: string, opts): Promise;
}
export interface ApiClient {
@@ -485,14 +492,14 @@ declare namespace AlfrescoApi {
}
export interface AlfrescoApiConfig {
- hostEcm: string;
- hostBpm: string;
- contextRoot: string;
- contextRootBpm: string;
- provider: string;
- ticketEcm: string;
- ticketBpm: string;
- disableCsrf: boolean;
+ hostEcm?: string;
+ hostBpm?: string;
+ contextRoot?: string;
+ contextRootBpm?: string;
+ provider?: string;
+ ticketEcm?: string;
+ ticketBpm?: string;
+ disableCsrf?: boolean;
}
export interface ContentApi {