@idunion/tl-sdk 0.0.28 → 0.0.29

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 +59 -9
  2. package/api.js +4 -4
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -144,6 +144,50 @@ export declare const HealthStatusStatusEnum: {
144
144
  readonly Critical: "critical";
145
145
  };
146
146
  export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
147
+ /**
148
+ *
149
+ * @export
150
+ * @interface IssuerDisplayItem
151
+ */
152
+ export interface IssuerDisplayItem {
153
+ /**
154
+ *
155
+ * @type {string}
156
+ * @memberof IssuerDisplayItem
157
+ */
158
+ 'name'?: string;
159
+ /**
160
+ *
161
+ * @type {string}
162
+ * @memberof IssuerDisplayItem
163
+ */
164
+ 'locale'?: string;
165
+ /**
166
+ *
167
+ * @type {IssuerLogo}
168
+ * @memberof IssuerDisplayItem
169
+ */
170
+ 'logo'?: IssuerLogo;
171
+ }
172
+ /**
173
+ *
174
+ * @export
175
+ * @interface IssuerLogo
176
+ */
177
+ export interface IssuerLogo {
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof IssuerLogo
182
+ */
183
+ 'uri'?: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof IssuerLogo
188
+ */
189
+ 'alt_text'?: string;
190
+ }
147
191
  /**
148
192
  * Common error message
149
193
  * @export
@@ -176,11 +220,17 @@ export interface OnboardingCredential {
176
220
  */
177
221
  'link': string;
178
222
  /**
179
- * DID or x509
223
+ *
180
224
  * @type {string}
181
225
  * @memberof OnboardingCredential
182
226
  */
183
- 'issuer': string;
227
+ 'issuerDid': string;
228
+ /**
229
+ *
230
+ * @type {Array<IssuerDisplayItem>}
231
+ * @memberof OnboardingCredential
232
+ */
233
+ 'issuerDisplay'?: Array<IssuerDisplayItem>;
184
234
  }
185
235
  /**
186
236
  *
@@ -591,7 +641,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
591
641
  */
592
642
  tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
593
643
  /**
594
- * Retrieves a specific Trust List record
644
+ * Gets Trust List Records that make up a single Trust Chain
595
645
  * @param {string} tlId Trust List Identifier
596
646
  * @param {string} tlrId Trust List Record Identifier
597
647
  * @param {*} [options] Override http request option.
@@ -718,13 +768,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
718
768
  */
719
769
  tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
720
770
  /**
721
- * Retrieves a specific Trust List record
771
+ * Gets Trust List Records that make up a single Trust Chain
722
772
  * @param {string} tlId Trust List Identifier
723
773
  * @param {string} tlrId Trust List Record Identifier
724
774
  * @param {*} [options] Override http request option.
725
775
  * @throws {RequiredError}
726
776
  */
727
- tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
777
+ tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tlr>>>;
728
778
  /**
729
779
  * Retrieves a list of Trust List records.
730
780
  * @param {string} tlId
@@ -845,13 +895,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
845
895
  */
846
896
  tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
847
897
  /**
848
- * Retrieves a specific Trust List record
898
+ * Gets Trust List Records that make up a single Trust Chain
849
899
  * @param {string} tlId Trust List Identifier
850
900
  * @param {string} tlrId Trust List Record Identifier
851
901
  * @param {*} [options] Override http request option.
852
902
  * @throws {RequiredError}
853
903
  */
854
- tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
904
+ tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Tlr>>;
855
905
  /**
856
906
  * Retrieves a list of Trust List records.
857
907
  * @param {string} tlId
@@ -987,14 +1037,14 @@ export declare class DefaultApi extends BaseAPI {
987
1037
  */
988
1038
  tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
989
1039
  /**
990
- * Retrieves a specific Trust List record
1040
+ * Gets Trust List Records that make up a single Trust Chain
991
1041
  * @param {string} tlId Trust List Identifier
992
1042
  * @param {string} tlrId Trust List Record Identifier
993
1043
  * @param {*} [options] Override http request option.
994
1044
  * @throws {RequiredError}
995
1045
  * @memberof DefaultApi
996
1046
  */
997
- tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
1047
+ tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr[], any>>;
998
1048
  /**
999
1049
  * Retrieves a list of Trust List records.
1000
1050
  * @param {string} tlId
package/api.js CHANGED
@@ -458,7 +458,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
458
458
  };
459
459
  }),
460
460
  /**
461
- * Retrieves a specific Trust List record
461
+ * Gets Trust List Records that make up a single Trust Chain
462
462
  * @param {string} tlId Trust List Identifier
463
463
  * @param {string} tlrId Trust List Record Identifier
464
464
  * @param {*} [options] Override http request option.
@@ -771,7 +771,7 @@ const DefaultApiFp = function (configuration) {
771
771
  });
772
772
  },
773
773
  /**
774
- * Retrieves a specific Trust List record
774
+ * Gets Trust List Records that make up a single Trust Chain
775
775
  * @param {string} tlId Trust List Identifier
776
776
  * @param {string} tlrId Trust List Record Identifier
777
777
  * @param {*} [options] Override http request option.
@@ -952,7 +952,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
952
952
  return localVarFp.tlrSearch(orgName, options).then((request) => request(axios, basePath));
953
953
  },
954
954
  /**
955
- * Retrieves a specific Trust List record
955
+ * Gets Trust List Records that make up a single Trust Chain
956
956
  * @param {string} tlId Trust List Identifier
957
957
  * @param {string} tlrId Trust List Record Identifier
958
958
  * @param {*} [options] Override http request option.
@@ -1128,7 +1128,7 @@ class DefaultApi extends base_1.BaseAPI {
1128
1128
  return (0, exports.DefaultApiFp)(this.configuration).tlrSearch(orgName, options).then((request) => request(this.axios, this.basePath));
1129
1129
  }
1130
1130
  /**
1131
- * Retrieves a specific Trust List record
1131
+ * Gets Trust List Records that make up a single Trust Chain
1132
1132
  * @param {string} tlId Trust List Identifier
1133
1133
  * @param {string} tlrId Trust List Record Identifier
1134
1134
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idunion/tl-sdk",
3
3
  "private": false,
4
- "version": "0.0.28",
4
+ "version": "0.0.29",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {