@idunion/tl-sdk 0.0.57 → 0.0.58

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 (3) hide show
  1. package/api.d.ts +15 -0
  2. package/api.js +13 -1
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -188,6 +188,7 @@ export interface Tl {
188
188
  * Trust List human-readable name
189
189
  */
190
190
  'name': string;
191
+ 'type'?: TlType;
191
192
  /**
192
193
  * Trust List description
193
194
  */
@@ -207,6 +208,7 @@ export interface TlPayload {
207
208
  * Trust List human-readable name
208
209
  */
209
210
  'name': string;
211
+ 'type'?: TlType;
210
212
  /**
211
213
  * Trust List description
212
214
  */
@@ -240,6 +242,19 @@ export interface TlPublicInfo {
240
242
  export interface TlPublicInfoList {
241
243
  'items'?: Array<TlPublicInfo>;
242
244
  }
245
+ /**
246
+ * Trust List type
247
+ */
248
+ export declare const TlType: {
249
+ readonly QeaaProvider: "QEAA_Provider";
250
+ readonly PuBeaaProvider: "PuBEAA_Provider";
251
+ readonly WalletProvider: "Wallet_Provider";
252
+ readonly PidProvider: "PID_Provider";
253
+ readonly AccessCertificateAuthority: "Access_Certificate_Authority";
254
+ readonly RegistrationCertificatesProvider: "Registration_Certificates_Provider";
255
+ readonly EaaProvider: "EAA_Provider";
256
+ };
257
+ export type TlType = typeof TlType[keyof typeof TlType];
243
258
  export interface Tlr {
244
259
  'orgName': string;
245
260
  'id': string;
package/api.js CHANGED
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
25
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.TlrStatusEnum = exports.OnboardingStatusStatusEnum = exports.HealthStatusStatusEnum = void 0;
28
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.TlrStatusEnum = exports.TlType = exports.OnboardingStatusStatusEnum = exports.HealthStatusStatusEnum = void 0;
29
29
  const axios_1 = __importDefault(require("axios"));
30
30
  // Some imports not used depending on template conditions
31
31
  // @ts-ignore
@@ -42,6 +42,18 @@ exports.OnboardingStatusStatusEnum = {
42
42
  Completed: 'completed',
43
43
  Error: 'error'
44
44
  };
45
+ /**
46
+ * Trust List type
47
+ */
48
+ exports.TlType = {
49
+ QeaaProvider: 'QEAA_Provider',
50
+ PuBeaaProvider: 'PuBEAA_Provider',
51
+ WalletProvider: 'Wallet_Provider',
52
+ PidProvider: 'PID_Provider',
53
+ AccessCertificateAuthority: 'Access_Certificate_Authority',
54
+ RegistrationCertificatesProvider: 'Registration_Certificates_Provider',
55
+ EaaProvider: 'EAA_Provider'
56
+ };
45
57
  exports.TlrStatusEnum = {
46
58
  Onboarded: 'onboarded',
47
59
  Trusted: 'trusted',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idunion/tl-sdk",
3
3
  "private": false,
4
- "version": "0.0.57",
4
+ "version": "0.0.58",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {