@idunion/tl-sdk 0.0.48 → 0.0.49

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 +4 -4
  2. package/api.js +5 -8
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -380,7 +380,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
380
380
  */
381
381
  tlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
382
382
  /**
383
- * Provides a list of Trusted Lists
383
+ * Provides a list of public Trusted Lists
384
384
  * @param {string} [search]
385
385
  * @param {*} [options] Override http request option.
386
386
  * @throws {RequiredError}
@@ -543,7 +543,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
543
543
  */
544
544
  tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
545
545
  /**
546
- * Provides a list of Trusted Lists
546
+ * Provides a list of public Trusted Lists
547
547
  * @param {string} [search]
548
548
  * @param {*} [options] Override http request option.
549
549
  * @throws {RequiredError}
@@ -706,7 +706,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
706
706
  */
707
707
  tlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
708
708
  /**
709
- * Provides a list of Trusted Lists
709
+ * Provides a list of public Trusted Lists
710
710
  * @param {string} [search]
711
711
  * @param {*} [options] Override http request option.
712
712
  * @throws {RequiredError}
@@ -869,7 +869,7 @@ export declare class DefaultApi extends BaseAPI {
869
869
  */
870
870
  tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
871
871
  /**
872
- * Provides a list of Trusted Lists
872
+ * Provides a list of public Trusted Lists
873
873
  * @param {string} [search]
874
874
  * @param {*} [options] Override http request option.
875
875
  * @throws {RequiredError}
package/api.js CHANGED
@@ -445,13 +445,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
445
445
  };
446
446
  }),
447
447
  /**
448
- * Provides a list of Trusted Lists
448
+ * Provides a list of public Trusted Lists
449
449
  * @param {string} [search]
450
450
  * @param {*} [options] Override http request option.
451
451
  * @throws {RequiredError}
452
452
  */
453
453
  tlList: (search_1, ...args_1) => __awaiter(this, [search_1, ...args_1], void 0, function* (search, options = {}) {
454
- const localVarPath = `/tl`;
454
+ const localVarPath = `/tl/directory`;
455
455
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
456
456
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
457
457
  let baseOptions;
@@ -461,9 +461,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
461
461
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
462
462
  const localVarHeaderParameter = {};
463
463
  const localVarQueryParameter = {};
464
- // authentication accessToken required
465
- // http bearer authentication required
466
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
467
464
  if (search !== undefined) {
468
465
  localVarQueryParameter['search'] = search;
469
466
  }
@@ -938,7 +935,7 @@ const DefaultApiFp = function (configuration) {
938
935
  });
939
936
  },
940
937
  /**
941
- * Provides a list of Trusted Lists
938
+ * Provides a list of public Trusted Lists
942
939
  * @param {string} [search]
943
940
  * @param {*} [options] Override http request option.
944
941
  * @throws {RequiredError}
@@ -1201,7 +1198,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1201
1198
  return localVarFp.tlGet(tlId, options).then((request) => request(axios, basePath));
1202
1199
  },
1203
1200
  /**
1204
- * Provides a list of Trusted Lists
1201
+ * Provides a list of public Trusted Lists
1205
1202
  * @param {string} [search]
1206
1203
  * @param {*} [options] Override http request option.
1207
1204
  * @throws {RequiredError}
@@ -1408,7 +1405,7 @@ class DefaultApi extends base_1.BaseAPI {
1408
1405
  return (0, exports.DefaultApiFp)(this.configuration).tlGet(tlId, options).then((request) => request(this.axios, this.basePath));
1409
1406
  }
1410
1407
  /**
1411
- * Provides a list of Trusted Lists
1408
+ * Provides a list of public Trusted Lists
1412
1409
  * @param {string} [search]
1413
1410
  * @param {*} [options] Override http request option.
1414
1411
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idunion/tl-sdk",
3
3
  "private": false,
4
- "version": "0.0.48",
4
+ "version": "0.0.49",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {