@idunion/tl-sdk 0.0.27 → 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.
- package/api.d.ts +65 -9
- package/api.js +4 -4
- 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
|
-
*
|
|
223
|
+
*
|
|
180
224
|
* @type {string}
|
|
181
225
|
* @memberof OnboardingCredential
|
|
182
226
|
*/
|
|
183
|
-
'
|
|
227
|
+
'issuerDid': string;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {Array<IssuerDisplayItem>}
|
|
231
|
+
* @memberof OnboardingCredential
|
|
232
|
+
*/
|
|
233
|
+
'issuerDisplay'?: Array<IssuerDisplayItem>;
|
|
184
234
|
}
|
|
185
235
|
/**
|
|
186
236
|
*
|
|
@@ -387,6 +437,12 @@ export interface Tlr {
|
|
|
387
437
|
* @memberof Tlr
|
|
388
438
|
*/
|
|
389
439
|
'orgName': string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof Tlr
|
|
444
|
+
*/
|
|
445
|
+
'id': string;
|
|
390
446
|
/**
|
|
391
447
|
*
|
|
392
448
|
* @type {string}
|
|
@@ -585,7 +641,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
585
641
|
*/
|
|
586
642
|
tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
587
643
|
/**
|
|
588
|
-
*
|
|
644
|
+
* Gets Trust List Records that make up a single Trust Chain
|
|
589
645
|
* @param {string} tlId Trust List Identifier
|
|
590
646
|
* @param {string} tlrId Trust List Record Identifier
|
|
591
647
|
* @param {*} [options] Override http request option.
|
|
@@ -712,13 +768,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
712
768
|
*/
|
|
713
769
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
714
770
|
/**
|
|
715
|
-
*
|
|
771
|
+
* Gets Trust List Records that make up a single Trust Chain
|
|
716
772
|
* @param {string} tlId Trust List Identifier
|
|
717
773
|
* @param {string} tlrId Trust List Record Identifier
|
|
718
774
|
* @param {*} [options] Override http request option.
|
|
719
775
|
* @throws {RequiredError}
|
|
720
776
|
*/
|
|
721
|
-
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>>>;
|
|
722
778
|
/**
|
|
723
779
|
* Retrieves a list of Trust List records.
|
|
724
780
|
* @param {string} tlId
|
|
@@ -839,13 +895,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
839
895
|
*/
|
|
840
896
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
841
897
|
/**
|
|
842
|
-
*
|
|
898
|
+
* Gets Trust List Records that make up a single Trust Chain
|
|
843
899
|
* @param {string} tlId Trust List Identifier
|
|
844
900
|
* @param {string} tlrId Trust List Record Identifier
|
|
845
901
|
* @param {*} [options] Override http request option.
|
|
846
902
|
* @throws {RequiredError}
|
|
847
903
|
*/
|
|
848
|
-
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr
|
|
904
|
+
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Tlr>>;
|
|
849
905
|
/**
|
|
850
906
|
* Retrieves a list of Trust List records.
|
|
851
907
|
* @param {string} tlId
|
|
@@ -981,14 +1037,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
981
1037
|
*/
|
|
982
1038
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
983
1039
|
/**
|
|
984
|
-
*
|
|
1040
|
+
* Gets Trust List Records that make up a single Trust Chain
|
|
985
1041
|
* @param {string} tlId Trust List Identifier
|
|
986
1042
|
* @param {string} tlrId Trust List Record Identifier
|
|
987
1043
|
* @param {*} [options] Override http request option.
|
|
988
1044
|
* @throws {RequiredError}
|
|
989
1045
|
* @memberof DefaultApi
|
|
990
1046
|
*/
|
|
991
|
-
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>>;
|
|
992
1048
|
/**
|
|
993
1049
|
* Retrieves a list of Trust List records.
|
|
994
1050
|
* @param {string} tlId
|
package/api.js
CHANGED
|
@@ -458,7 +458,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
458
458
|
};
|
|
459
459
|
}),
|
|
460
460
|
/**
|
|
461
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|