Skip to content

Commit

Permalink
fix: add interfaces certs
Browse files Browse the repository at this point in the history
Signed-off-by: Musilah <[email protected]>
  • Loading branch information
Musilah committed Apr 15, 2024
1 parent 2eeb570 commit 85af13d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,3 +217,18 @@ export interface SenMLMessage {
bool_value?: boolean | null
sum?: number | null
}

export interface Cert {
thing_id?: string
cert_serial?: string
client_key?: string
client_cert?: string
expiration?: string
}

export interface CertSerials {
certs: Cert[]
total: number
offset: number
limit: number
}
2 changes: 2 additions & 0 deletions src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export type {
Response,
Domain,
DomainsPage,
Cert,
CertSerials,
Invitation,
InvitationsPage,
Relation,
Expand Down

0 comments on commit 85af13d

Please sign in to comment.