@oneblink/sdk
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,9 @@ # Changelog | ||
## 0.2.2 (2018-09-25) | ||
### Added | ||
- `Organisations` classes | ||
- `Keys` class | ||
## 0.2.1 (2018-09-04) | ||
@@ -7,0 +14,0 @@ |
@@ -5,5 +5,9 @@ // @flow | ||
const Forms = require('./lib/forms.js') | ||
const Keys = require('./lib/keys.js') | ||
const Organisations = require('./lib/organisations.js') | ||
module.exports = { | ||
Forms | ||
Forms, | ||
Keys, | ||
Organisations | ||
} |
{ | ||
"name": "@oneblink/sdk", | ||
"description": "OneBlink SDK to serve as an entry point for all OneBlink Services in NodeJS", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"bugs": { | ||
@@ -6,0 +6,0 @@ "url": "https://github.com/blinkmobile/oneblink-sdk-js/issues" |
28
types.js
@@ -106,2 +106,30 @@ // @flow | ||
} | ||
export type Key = { | ||
id: string, | ||
secret: string | void, | ||
name: string, | ||
privilege: { | ||
'API HOSTING'?: 'DEPLOYMENT', | ||
'PDF'?: 'BUILDER', | ||
'WEB APP HOSTING'?: 'DEPLOYMENT', | ||
'FORMS'?: 'FaaS' | ||
}, | ||
links: { | ||
organisations: string | ||
} | ||
} | ||
export type Organisation = { | ||
id: string, | ||
name: string, | ||
formsHostname: string, | ||
formsCloudFrontDistributionOrigin?: string, | ||
beeFormsCustomer: boolean, | ||
createdAt: string, | ||
tags: string[], | ||
links: { | ||
awsAccounts: string[] | ||
} | ||
} | ||
*/ |
15774
14
445