n8n-nodes-netsapiens 0.2.0 → 0.2.2
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/README.md +5 -1
- package/dist/nodes/NetSapiens/NetSapiens.node.d.ts +8 -0
- package/dist/nodes/NetSapiens/NetSapiens.node.js +2434 -193
- package/dist/nodes/NetSapiens/NetSapiens.node.js.map +1 -1
- package/dist/nodes/NetSapiens/NetSapiens.node.json +1 -1
- package/dist/overrides/operations.overrides.js +8 -1
- package/dist/overrides/operations.overrides.js.map +1 -1
- package/dist/package.json +3 -2
- package/dist/transport/request.d.ts +9 -0
- package/dist/transport/request.js +14 -0
- package/dist/transport/request.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -56,13 +56,17 @@ The node then renders fields for the endpoint parameters.
|
|
|
56
56
|
|
|
57
57
|
In addition, the node includes a **Raw -> Request** operation that lets you call arbitrary endpoints directly when you need full control.
|
|
58
58
|
|
|
59
|
+
The node also includes a custom **Authentication/JWT (JSON Web Token) -> Validate JWT** operation. This operation accepts a token input (`JSON Web Token (ns_t)`) and validates it against `GET /jwt` using that provided token for the request.
|
|
60
|
+
|
|
59
61
|
NetSapiens provides the [API JSON Schema](https://docs.ns-api.com/docs/download-full-api-json-schema-file) as part of their documentation, which this node uses to generate the basic node interface. The node also implements a number of overrides to handle NetSapiens-specific details and add additional functionality and affordances.
|
|
60
62
|
|
|
61
63
|
Read operations are substantially better tested and usable than write calls, which may require build custom JSON objects for crate and update requests initially.
|
|
62
64
|
|
|
63
65
|
## Credentials
|
|
64
66
|
|
|
65
|
-
Create a new **NetSapiens API** credential. This node is designed for [API Keys](https://docs.ns-api.com/docs/api-keys) (bearer tokens)
|
|
67
|
+
Create a new **NetSapiens API** credential. This node is designed for [API Keys](https://docs.ns-api.com/docs/api-keys) (bearer tokens) as the default credential auth model.
|
|
68
|
+
|
|
69
|
+
OAuth Access Token and refresh-token flows are not currently supported in this node. JWT credential-login flows are also not supported as node credentials, though the node now includes a dedicated **Validate JWT** operation that accepts a JWT value as input for one request.
|
|
66
70
|
|
|
67
71
|
Only NetSapiens API version 2 supports API keys, and this node only connects to API version 2 endpoints (though the API key would be valid for API version 1 as well, for versions of NetSapiens that support API version 2 credentials).
|
|
68
72
|
|
|
@@ -10,6 +10,14 @@ export declare class NetSapiens implements INodeType {
|
|
|
10
10
|
listSearch: {
|
|
11
11
|
searchDomains(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
12
12
|
searchUsersForDomain(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
13
|
+
searchSitesForDomain(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
14
|
+
searchEmergencyAddressesForDomain(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
15
|
+
searchCdrTypes(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
16
|
+
searchTimeZones(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
17
|
+
searchHolidayCountries(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
18
|
+
searchHolidayRegions(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
19
|
+
searchResellers(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
20
|
+
searchWsServers(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult>;
|
|
13
21
|
};
|
|
14
22
|
};
|
|
15
23
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|