@idunion/tl-sdk 0.0.63 → 0.0.64
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 +8 -8
- package/api.js +8 -8
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -515,11 +515,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
515
515
|
tlrGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
516
516
|
/**
|
|
517
517
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
518
|
-
* @param {string} orgName
|
|
518
|
+
* @param {string} [orgName]
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
521
|
*/
|
|
522
|
-
tlrSearch: (orgName
|
|
522
|
+
tlrSearch: (orgName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
523
523
|
/**
|
|
524
524
|
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
525
525
|
* @param {string} tlId Trust List Identifier
|
|
@@ -692,11 +692,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
692
692
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
693
693
|
/**
|
|
694
694
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
695
|
-
* @param {string} orgName
|
|
695
|
+
* @param {string} [orgName]
|
|
696
696
|
* @param {*} [options] Override http request option.
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
*/
|
|
699
|
-
tlrSearch(orgName
|
|
699
|
+
tlrSearch(orgName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
700
700
|
/**
|
|
701
701
|
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
702
702
|
* @param {string} tlId Trust List Identifier
|
|
@@ -869,11 +869,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
869
869
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
870
870
|
/**
|
|
871
871
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
872
|
-
* @param {string} orgName
|
|
872
|
+
* @param {string} [orgName]
|
|
873
873
|
* @param {*} [options] Override http request option.
|
|
874
874
|
* @throws {RequiredError}
|
|
875
875
|
*/
|
|
876
|
-
tlrSearch(orgName
|
|
876
|
+
tlrSearch(orgName?: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
877
877
|
/**
|
|
878
878
|
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
879
879
|
* @param {string} tlId Trust List Identifier
|
|
@@ -1046,11 +1046,11 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1046
1046
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1047
1047
|
/**
|
|
1048
1048
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
1049
|
-
* @param {string} orgName
|
|
1049
|
+
* @param {string} [orgName]
|
|
1050
1050
|
* @param {*} [options] Override http request option.
|
|
1051
1051
|
* @throws {RequiredError}
|
|
1052
1052
|
*/
|
|
1053
|
-
tlrSearch(orgName
|
|
1053
|
+
tlrSearch(orgName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1054
1054
|
/**
|
|
1055
1055
|
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
1056
1056
|
* @param {string} tlId Trust List Identifier
|
package/api.js
CHANGED
|
@@ -680,15 +680,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
680
680
|
}),
|
|
681
681
|
/**
|
|
682
682
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
683
|
-
* @param {string} orgName
|
|
683
|
+
* @param {string} [orgName]
|
|
684
684
|
* @param {*} [options] Override http request option.
|
|
685
685
|
* @throws {RequiredError}
|
|
686
686
|
*/
|
|
687
687
|
tlrSearch: (orgName_1, ...args_1) => __awaiter(this, [orgName_1, ...args_1], void 0, function* (orgName, options = {}) {
|
|
688
|
-
|
|
689
|
-
(0, common_1.assertParamExists)('tlrSearch', 'orgName', orgName);
|
|
690
|
-
const localVarPath = `/tlrs/{org_name}`
|
|
691
|
-
.replace(`{${"org_name"}}`, encodeURIComponent(String(orgName)));
|
|
688
|
+
const localVarPath = `/tlrs`;
|
|
692
689
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
693
690
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
694
691
|
let baseOptions;
|
|
@@ -698,6 +695,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
698
695
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
699
696
|
const localVarHeaderParameter = {};
|
|
700
697
|
const localVarQueryParameter = {};
|
|
698
|
+
if (orgName !== undefined) {
|
|
699
|
+
localVarQueryParameter['org_name'] = orgName;
|
|
700
|
+
}
|
|
701
701
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
702
702
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
703
703
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1116,7 +1116,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1116
1116
|
},
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
1119
|
-
* @param {string} orgName
|
|
1119
|
+
* @param {string} [orgName]
|
|
1120
1120
|
* @param {*} [options] Override http request option.
|
|
1121
1121
|
* @throws {RequiredError}
|
|
1122
1122
|
*/
|
|
@@ -1367,7 +1367,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1367
1367
|
},
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
1370
|
-
* @param {string} orgName
|
|
1370
|
+
* @param {string} [orgName]
|
|
1371
1371
|
* @param {*} [options] Override http request option.
|
|
1372
1372
|
* @throws {RequiredError}
|
|
1373
1373
|
*/
|
|
@@ -1592,7 +1592,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
/**
|
|
1594
1594
|
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
1595
|
-
* @param {string} orgName
|
|
1595
|
+
* @param {string} [orgName]
|
|
1596
1596
|
* @param {*} [options] Override http request option.
|
|
1597
1597
|
* @throws {RequiredError}
|
|
1598
1598
|
*/
|