@idunion/tl-sdk 0.0.39 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/api.d.ts +29 -0
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -30,6 +30,10 @@ export interface AccreditedFor {
30
30
  */
31
31
  'types'?: string;
32
32
  }
33
+ export interface ContactInformation {
34
+ 'website': string;
35
+ 'email': string;
36
+ }
33
37
  export interface DidDocument {
34
38
  /**
35
39
  * The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
@@ -97,6 +101,7 @@ export interface OnboardingCredential {
97
101
  'link': string;
98
102
  'issuerDid': string;
99
103
  'issuerDisplay'?: Array<IssuerDisplayItem>;
104
+ 'subject': OnboardingVcSubject;
100
105
  }
101
106
  export interface OnboardingPayload {
102
107
  /**
@@ -143,6 +148,30 @@ export declare const OnboardingStatusStatusEnum: {
143
148
  readonly Error: "error";
144
149
  };
145
150
  export type OnboardingStatusStatusEnum = typeof OnboardingStatusStatusEnum[keyof typeof OnboardingStatusStatusEnum];
151
+ export interface OnboardingVcSubject {
152
+ 'organizationName': string;
153
+ /**
154
+ * TSP trade name as defined by ETSI TS 119 612 V2.3.1 - 5.4.2
155
+ */
156
+ 'tradeName': string;
157
+ 'trustListId': string;
158
+ /**
159
+ * If not provided, one will be automatically generated.
160
+ */
161
+ 'didToOnboard'?: string;
162
+ 'accreditedFor': string;
163
+ 'orgAddress': OrgAddress;
164
+ 'orgWebsite': string;
165
+ 'contactInfo': ContactInformation;
166
+ 'x509Certificate'?: string;
167
+ }
168
+ export interface OrgAddress {
169
+ 'streetAddress': string;
170
+ 'city': string;
171
+ 'province'?: string;
172
+ 'postalCode': string;
173
+ 'country': string;
174
+ }
146
175
  /**
147
176
  * Services are used in DID documents to express ways of communicating with the DID subject or associated entities. A service can be any type of service the DID subject wants to advertise, including decentralized identity management services for further discovery, authentication, authorization, or interaction. https://www.w3.org/TR/did-1.0/#services
148
177
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idunion/tl-sdk",
3
3
  "private": false,
4
- "version": "0.0.39",
4
+ "version": "0.0.41",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {