UNPKG

homebridge-homeconnect

Version:

A Homebridge plugin that connects Home Connect appliances to Apple HomeKit

44 lines 1.12 kB
/** * This module was automatically generated by `ts-interface-builder` */ import * as t from "ts-interface-checker"; // tslint:disable:object-literal-key-quotes export const RefreshToken = t.iface([], { "x-reg": "string", "x-env": "string", "token": "string", "clty": "string", }); export const SimulatorToken = t.iface([], { "x-reg": t.lit('SIM'), "x-env": "string", "token": "string", }); export const AccessTokenHeader = t.iface([], { "x-reg": "string", "x-env": "string", "alg": "string", "kid": "string", "typ": t.opt("string"), }); export const AccessTokenPayload = t.iface([], { "sub": "string", "jti": "string", "aud": "string", "azp": "string", "scope": t.array("string"), "iss": "string", "iat": "number", "exp": "number", "clty": t.opt("string"), "fgrp": t.opt(t.array("unknown")), "prm": t.opt(t.array("unknown")), }); const exportedTypeSuite = { RefreshToken, SimulatorToken, AccessTokenHeader, AccessTokenPayload, }; export default exportedTypeSuite; //# sourceMappingURL=token-types-ti.js.map