├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── LICENSE ├── README.md ├── index.js ├── lib ├── STBase.js ├── SchemaConnector.js ├── callbacks │ ├── AccessTokenRequest.js │ ├── DiscoveryRequest.js │ ├── RefreshTokenRequest.js │ └── StateUpdateRequest.js ├── discovery │ ├── DiscoveryComponent.js │ ├── DiscoveryDevice.js │ └── DiscoveryResponse.js ├── errors │ ├── device-error-types.js │ └── global-error-types.js ├── lambda.js ├── partnerHelper.js ├── state │ ├── CommandResponse.js │ ├── StateDevice.js │ ├── StateRefreshResponse.js │ └── StateResponse.js └── util │ └── checkFetchStatus.js ├── package.json └── test ├── lib ├── STBase-test.js ├── SchemaConnector-test.js ├── callbacks │ ├── AccessTokenRequest-test.js │ ├── DiscoveryRequest-test.js │ ├── RefreshTokenRequest-test.js │ └── StateUpdateRequest-test.js ├── discovery │ ├── DiscoveryComponent-test.js │ ├── DiscoveryDevice-test.js │ └── DiscoveryResponse.js ├── lambda-test.js └── state │ ├── CommandResponse-test.js │ ├── StateDevice-test.js │ ├── StateRefreshResponse-test.js │ └── StateResponse.js └── mocha.opts /.eslintignore: -------------------------------------------------------------------------------- 1 | coverage 2 | node_modules 3 | Gruntfile.js 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/index.js -------------------------------------------------------------------------------- /lib/STBase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/STBase.js -------------------------------------------------------------------------------- /lib/SchemaConnector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/SchemaConnector.js -------------------------------------------------------------------------------- /lib/callbacks/AccessTokenRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/callbacks/AccessTokenRequest.js -------------------------------------------------------------------------------- /lib/callbacks/DiscoveryRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/callbacks/DiscoveryRequest.js -------------------------------------------------------------------------------- /lib/callbacks/RefreshTokenRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/callbacks/RefreshTokenRequest.js -------------------------------------------------------------------------------- /lib/callbacks/StateUpdateRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/callbacks/StateUpdateRequest.js -------------------------------------------------------------------------------- /lib/discovery/DiscoveryComponent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/discovery/DiscoveryComponent.js -------------------------------------------------------------------------------- /lib/discovery/DiscoveryDevice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/discovery/DiscoveryDevice.js -------------------------------------------------------------------------------- /lib/discovery/DiscoveryResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/discovery/DiscoveryResponse.js -------------------------------------------------------------------------------- /lib/errors/device-error-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/errors/device-error-types.js -------------------------------------------------------------------------------- /lib/errors/global-error-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/errors/global-error-types.js -------------------------------------------------------------------------------- /lib/lambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/lambda.js -------------------------------------------------------------------------------- /lib/partnerHelper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/partnerHelper.js -------------------------------------------------------------------------------- /lib/state/CommandResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/state/CommandResponse.js -------------------------------------------------------------------------------- /lib/state/StateDevice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/state/StateDevice.js -------------------------------------------------------------------------------- /lib/state/StateRefreshResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/state/StateRefreshResponse.js -------------------------------------------------------------------------------- /lib/state/StateResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/state/StateResponse.js -------------------------------------------------------------------------------- /lib/util/checkFetchStatus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/lib/util/checkFetchStatus.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/package.json -------------------------------------------------------------------------------- /test/lib/STBase-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/STBase-test.js -------------------------------------------------------------------------------- /test/lib/SchemaConnector-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/SchemaConnector-test.js -------------------------------------------------------------------------------- /test/lib/callbacks/AccessTokenRequest-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/callbacks/AccessTokenRequest-test.js -------------------------------------------------------------------------------- /test/lib/callbacks/DiscoveryRequest-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/callbacks/DiscoveryRequest-test.js -------------------------------------------------------------------------------- /test/lib/callbacks/RefreshTokenRequest-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/callbacks/RefreshTokenRequest-test.js -------------------------------------------------------------------------------- /test/lib/callbacks/StateUpdateRequest-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/callbacks/StateUpdateRequest-test.js -------------------------------------------------------------------------------- /test/lib/discovery/DiscoveryComponent-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/discovery/DiscoveryComponent-test.js -------------------------------------------------------------------------------- /test/lib/discovery/DiscoveryDevice-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/discovery/DiscoveryDevice-test.js -------------------------------------------------------------------------------- /test/lib/discovery/DiscoveryResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/discovery/DiscoveryResponse.js -------------------------------------------------------------------------------- /test/lib/lambda-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/lambda-test.js -------------------------------------------------------------------------------- /test/lib/state/CommandResponse-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/state/CommandResponse-test.js -------------------------------------------------------------------------------- /test/lib/state/StateDevice-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/state/StateDevice-test.js -------------------------------------------------------------------------------- /test/lib/state/StateRefreshResponse-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/state/StateRefreshResponse-test.js -------------------------------------------------------------------------------- /test/lib/state/StateResponse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/lib/state/StateResponse.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartThingsCommunity/st-schema-nodejs/HEAD/test/mocha.opts --------------------------------------------------------------------------------