@hirosystems/token-metadata-api-client 1.3.0 → 2.0.0

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/configuration.ts DELETED
@@ -1,65 +0,0 @@
1
- // tslint:disable
2
- /**
3
- * Token Metadata API
4
- * Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
5
- *
6
- * OpenAPI spec version: v0.4.0
7
- *
8
- *
9
- * NOTE: This file is auto generated by the swagger code generator program.
10
- * https://github.com/swagger-api/swagger-codegen.git
11
- * Do not edit the file manually.
12
- */
13
-
14
- export interface ConfigurationParameters {
15
- apiKey?: string | ((name: string) => string);
16
- username?: string;
17
- password?: string;
18
- accessToken?: string | ((name: string, scopes?: string[]) => string);
19
- basePath?: string;
20
- }
21
-
22
- export class Configuration {
23
- /**
24
- * parameter for apiKey security
25
- * @param name security name
26
- * @memberof Configuration
27
- */
28
- apiKey?: string | ((name: string) => string);
29
- /**
30
- * parameter for basic security
31
- *
32
- * @type {string}
33
- * @memberof Configuration
34
- */
35
- username?: string;
36
- /**
37
- * parameter for basic security
38
- *
39
- * @type {string}
40
- * @memberof Configuration
41
- */
42
- password?: string;
43
- /**
44
- * parameter for oauth2 security
45
- * @param name security name
46
- * @param scopes oauth2 scope
47
- * @memberof Configuration
48
- */
49
- accessToken?: string | ((name: string, scopes?: string[]) => string);
50
- /**
51
- * override base path
52
- *
53
- * @type {string}
54
- * @memberof Configuration
55
- */
56
- basePath?: string;
57
-
58
- constructor(param: ConfigurationParameters = {}) {
59
- this.apiKey = param.apiKey;
60
- this.username = param.username;
61
- this.password = param.password;
62
- this.accessToken = param.accessToken;
63
- this.basePath = param.basePath;
64
- }
65
- }
package/custom.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare module 'isomorphic-fetch';
2
- declare module 'url';