@types/tizentv__webide-common-tizentv
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -17,5 +17,16 @@ // Type definitions for @tizentv/webide-common-tizentv 1.0 | ||
} | ||
export interface SamsungAuthorInfo { | ||
name: string; | ||
password: string; | ||
country: string; | ||
state: string; | ||
city: string; | ||
organization: string; | ||
department: string; | ||
} | ||
export interface DistributorInfo { | ||
distributorPassword: string; | ||
privilegeLevel: string; | ||
privilegeLevel: SamsungPrivilegeLevel; | ||
duidList: string[]; | ||
@@ -52,2 +63,3 @@ } | ||
export type PrivilegeLevel = 'partner' | 'public'; | ||
export type SamsungPrivilegeLevel = 'Partner' | 'Public'; | ||
export type ItemType = 'author' | 'distributor1' | 'distributor2'; | ||
@@ -79,5 +91,5 @@ | ||
init(): Promise<void>; | ||
createAuthorCert(profileName: string, authorInfo: AuthorInfo, accessInfo: AccessInfo): Promise<void>; | ||
createDistributorCert(profileName: string, distrbutorInfo: DistributorInfo, accessInfo: AccessInfo): Promise<void>; | ||
generateAuthorCSR(authorInfo: AuthorInfo): void; | ||
createAuthorCert(profileName: string, authorInfo: SamsungAuthorInfo, accessInfo: AccessInfo): Promise<string>; | ||
createDistributorCert(profileName: string, distrbutorInfo: DistributorInfo, accessInfo: AccessInfo): Promise<string>; | ||
generateAuthorCSR(authorInfo: SamsungAuthorInfo): void; | ||
generateDistributorCSR(duidList: string[], accessInfo: AccessInfo): void; | ||
@@ -87,3 +99,3 @@ fetchAuthorCRT(accessInfo: AccessInfo): Promise<void>; | ||
generateAuthorPCKS12(password: string): void; | ||
generateDistributorPCKS12(password: string, privilegeLevel: PrivilegeLevel): void; | ||
generateDistributorPCKS12(password: string, privilegeLevel: SamsungPrivilegeLevel): void; | ||
loadCaCert(certFile: string): string; | ||
@@ -99,5 +111,5 @@ } | ||
isProfileExist(profileName: string): boolean; | ||
listProfile(): string[]; | ||
getProfileKeys(profileName: string): string[]; | ||
getProfileItems(profileName: string): ProfileItem[]; | ||
listProfile(): string[] | null; | ||
getProfileKeys(profileName: string): string[] | null; | ||
getProfileItems(profileName: string): ProfileItem | null; | ||
} |
{ | ||
"name": "@types/tizentv__webide-common-tizentv", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for @tizentv/webide-common-tizentv", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tizentv__webide-common-tizentv", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f88d89e1c280fec336e646d88c78babd730c58606fa1f8e542196e2b4e993e76", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "3ff5d7f43e1ee695dc16f453337416342b49c3555db60f33a576a9e6c9af929d", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 12 Oct 2021 08:01:22 GMT | ||
* Last updated: Sun, 26 Dec 2021 21:01:25 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
6305
98