@victorhalla/n8n-nodes-wwebjsapi 1.0.4 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/credentials/WWebjsApiCredentials.credentials.d.ts.map +1 -1
- package/dist/credentials/WWebjsApiCredentials.credentials.js +2 -4
- package/dist/credentials/WWebjsApiCredentials.credentials.js.map +1 -1
- package/dist/nodes/WWebjsApi/WWebjsApi.node.d.ts +8 -8
- package/dist/nodes/WWebjsApi/WWebjsApi.node.d.ts.map +1 -1
- package/dist/nodes/WWebjsApi/WWebjsApi.node.js +7549 -580
- package/dist/nodes/WWebjsApi/WWebjsApi.node.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WWebjsApiCredentials.credentials.d.ts","sourceRoot":"","sources":["../../credentials/WWebjsApiCredentials.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,qBAAa,oBAAqB,YAAW,eAAe;IAC1D,IAAI,SAA0B;IAC9B,WAAW,SAA4B;IACvC,gBAAgB,SAA6C;IAC7D,UAAU,EAAE,eAAe,EAAE,CAkB3B;
|
|
1
|
+
{"version":3,"file":"WWebjsApiCredentials.credentials.d.ts","sourceRoot":"","sources":["../../credentials/WWebjsApiCredentials.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,qBAAa,oBAAqB,YAAW,eAAe;IAC1D,IAAI,SAA0B;IAC9B,WAAW,SAA4B;IACvC,gBAAgB,SAA6C;IAC7D,UAAU,EAAE,eAAe,EAAE,CAkB3B;IACF,YAAY;;;;;;;MAGV;CACH"}
|
|
@@ -22,14 +22,12 @@ class WWebjsApiCredentials {
|
|
|
22
22
|
typeOptions: { password: true },
|
|
23
23
|
default: "",
|
|
24
24
|
required: true,
|
|
25
|
-
description: "Chave de API
|
|
25
|
+
description: "Chave de API (variável API_KEY no servidor WWebJS)",
|
|
26
26
|
},
|
|
27
27
|
];
|
|
28
28
|
this.authenticate = {
|
|
29
29
|
type: "generic",
|
|
30
|
-
properties: {
|
|
31
|
-
headers: { "x-api-key": "={{$credentials.apiKey}}" },
|
|
32
|
-
},
|
|
30
|
+
properties: { headers: { "x-api-key": "={{$credentials.apiKey}}" } },
|
|
33
31
|
};
|
|
34
32
|
}
|
|
35
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WWebjsApiCredentials.credentials.js","sourceRoot":"","sources":["../../credentials/WWebjsApiCredentials.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAAjC;QACE,SAAI,GAAG,sBAAsB,CAAC;QAC9B,gBAAW,GAAG,wBAAwB,CAAC;QACvC,qBAAgB,GAAG,yCAAyC,CAAC;QAC7D,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oDAAoD;aAClE;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"WWebjsApiCredentials.credentials.js","sourceRoot":"","sources":["../../credentials/WWebjsApiCredentials.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,oBAAoB;IAAjC;QACE,SAAI,GAAG,sBAAsB,CAAC;QAC9B,gBAAW,GAAG,wBAAwB,CAAC;QACvC,qBAAgB,GAAG,yCAAyC,CAAC;QAC7D,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oDAAoD;aAClE;YACD;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,oDAAoD;aAClE;SACF,CAAC;QACF,iBAAY,GAAG;YACb,IAAI,EAAE,SAAkB;YACxB,UAAU,EAAE,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,0BAA0B,EAAE,EAAE;SACrE,CAAC;IACJ,CAAC;CAAA;AA3BD,oDA2BC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* GERADO AUTOMATICAMENTE — não edite diretamente!
|
|
5
|
-
*
|
|
2
|
+
* WWebJS API - n8n Node — GERADO AUTOMATICAMENTE
|
|
3
|
+
* Swagger: 1.0.0 | WWebJS API
|
|
6
4
|
* Para regenerar: node scripts/generate-from-swagger.js
|
|
7
|
-
* Swagger version: 1.0.0
|
|
8
|
-
* API: WWebJS API
|
|
9
|
-
* ============================================================
|
|
10
5
|
*/
|
|
11
|
-
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from "n8n-workflow";
|
|
6
|
+
import { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodeListSearchResult, INodeType, INodeTypeDescription } from "n8n-workflow";
|
|
12
7
|
export declare class WWebjsApi implements INodeType {
|
|
13
8
|
description: INodeTypeDescription;
|
|
9
|
+
methods: {
|
|
10
|
+
listSearch: {
|
|
11
|
+
getSessions(this: ILoadOptionsFunctions): Promise<INodeListSearchResult>;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
14
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=WWebjsApi.node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WWebjsApi.node.d.ts","sourceRoot":"","sources":["../../../nodes/WWebjsApi/WWebjsApi.node.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"WWebjsApi.node.d.ts","sourceRoot":"","sources":["../../../nodes/WWebjsApi/WWebjsApi.node.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,iBAAiB,EAEjB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAEtB,qBAAa,SAAU,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,CA40K/B;IAEF,OAAO;;8BAEqB,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC;;MAuChF;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAotFxE"}
|