@stacks/blockchain-api-client 7.4.0-nakamoto.5 → 7.4.0-nakamoto.7

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 (60) hide show
  1. package/lib/generated/apis/AccountsApi.d.ts +1 -36
  2. package/lib/generated/apis/AccountsApi.js +0 -38
  3. package/lib/generated/apis/AccountsApi.js.map +1 -1
  4. package/lib/generated/apis/BlocksApi.d.ts +63 -9
  5. package/lib/generated/apis/BlocksApi.js +56 -4
  6. package/lib/generated/apis/BlocksApi.js.map +1 -1
  7. package/lib/generated/apis/NonFungibleTokensApi.d.ts +1 -57
  8. package/lib/generated/apis/NonFungibleTokensApi.js +0 -55
  9. package/lib/generated/apis/NonFungibleTokensApi.js.map +1 -1
  10. package/lib/generated/apis/index.d.ts +0 -1
  11. package/lib/generated/apis/index.js +0 -1
  12. package/lib/generated/apis/index.js.map +1 -1
  13. package/lib/generated/models/NakamotoBlock.d.ts +3 -3
  14. package/lib/generated/models/NakamotoBlock.js +2 -2
  15. package/lib/generated/models/NakamotoBlock.js.map +1 -1
  16. package/lib/generated/models/index.d.ts +0 -7
  17. package/lib/generated/models/index.js +0 -7
  18. package/lib/generated/models/index.js.map +1 -1
  19. package/lib/index.umd.js +174 -674
  20. package/lib/index.umd.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/generated/.openapi-generator/FILES +0 -8
  23. package/src/generated/apis/AccountsApi.ts +0 -79
  24. package/src/generated/apis/BlocksApi.ts +118 -8
  25. package/src/generated/apis/NonFungibleTokensApi.ts +0 -116
  26. package/src/generated/apis/index.ts +0 -1
  27. package/src/generated/models/NakamotoBlock.ts +5 -5
  28. package/src/generated/models/index.ts +0 -7
  29. package/lib/generated/apis/FungibleTokensApi.d.ts +0 -82
  30. package/lib/generated/apis/FungibleTokensApi.js +0 -80
  31. package/lib/generated/apis/FungibleTokensApi.js.map +0 -1
  32. package/lib/generated/models/AddressNftListResponse.d.ts +0 -46
  33. package/lib/generated/models/AddressNftListResponse.js +0 -49
  34. package/lib/generated/models/AddressNftListResponse.js.map +0 -1
  35. package/lib/generated/models/AddressNftListResponseValue.d.ts +0 -33
  36. package/lib/generated/models/AddressNftListResponseValue.js +0 -44
  37. package/lib/generated/models/AddressNftListResponseValue.js.map +0 -1
  38. package/lib/generated/models/FungibleTokenMetadata.d.ts +0 -75
  39. package/lib/generated/models/FungibleTokenMetadata.js +0 -58
  40. package/lib/generated/models/FungibleTokenMetadata.js.map +0 -1
  41. package/lib/generated/models/FungibleTokensMetadataList.d.ts +0 -46
  42. package/lib/generated/models/FungibleTokensMetadataList.js +0 -49
  43. package/lib/generated/models/FungibleTokensMetadataList.js.map +0 -1
  44. package/lib/generated/models/NftEvent.d.ts +0 -76
  45. package/lib/generated/models/NftEvent.js +0 -60
  46. package/lib/generated/models/NftEvent.js.map +0 -1
  47. package/lib/generated/models/NonFungibleTokenMetadata.d.ts +0 -63
  48. package/lib/generated/models/NonFungibleTokenMetadata.js +0 -54
  49. package/lib/generated/models/NonFungibleTokenMetadata.js.map +0 -1
  50. package/lib/generated/models/NonFungibleTokensMetadataList.d.ts +0 -46
  51. package/lib/generated/models/NonFungibleTokensMetadataList.js +0 -49
  52. package/lib/generated/models/NonFungibleTokensMetadataList.js.map +0 -1
  53. package/src/generated/apis/FungibleTokensApi.ts +0 -150
  54. package/src/generated/models/AddressNftListResponse.ts +0 -87
  55. package/src/generated/models/AddressNftListResponseValue.ts +0 -64
  56. package/src/generated/models/FungibleTokenMetadata.ts +0 -120
  57. package/src/generated/models/FungibleTokensMetadataList.ts +0 -87
  58. package/src/generated/models/NftEvent.ts +0 -127
  59. package/src/generated/models/NonFungibleTokenMetadata.ts +0 -104
  60. package/src/generated/models/NonFungibleTokensMetadataList.ts +0 -87
@@ -1,82 +0,0 @@
1
- /**
2
- * Stacks Blockchain API
3
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
4
- *
5
- * The version of the OpenAPI document: STACKS_API_VERSION
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import * as runtime from '../runtime';
13
- import { FungibleTokenMetadata, FungibleTokensMetadataList } from '../models';
14
- export interface GetContractFtMetadataRequest {
15
- contractId: string;
16
- }
17
- export interface GetFtMetadataListRequest {
18
- limit?: number;
19
- offset?: number;
20
- }
21
- /**
22
- * FungibleTokensApi - interface
23
- *
24
- * @export
25
- * @interface FungibleTokensApiInterface
26
- */
27
- export interface FungibleTokensApiInterface {
28
- /**
29
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
30
- * @summary Fungible tokens metadata for contract id
31
- * @param {string} contractId token\&#39;s contract id
32
- * @param {*} [options] Override http request option.
33
- * @throws {RequiredError}
34
- * @memberof FungibleTokensApiInterface
35
- */
36
- getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
37
- /**
38
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
39
- * Fungible tokens metadata for contract id
40
- */
41
- getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
42
- /**
43
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
44
- * @summary Fungible tokens metadata list
45
- * @param {number} [limit] max number of tokens to fetch.
46
- * @param {number} [offset] index of first tokens to fetch
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- * @memberof FungibleTokensApiInterface
50
- */
51
- getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
52
- /**
53
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
54
- * Fungible tokens metadata list
55
- */
56
- getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
57
- }
58
- /**
59
- *
60
- */
61
- export declare class FungibleTokensApi extends runtime.BaseAPI implements FungibleTokensApiInterface {
62
- /**
63
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
64
- * Fungible tokens metadata for contract id
65
- */
66
- getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
67
- /**
68
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
69
- * Fungible tokens metadata for contract id
70
- */
71
- getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
72
- /**
73
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
74
- * Fungible tokens metadata list
75
- */
76
- getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
77
- /**
78
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
79
- * Fungible tokens metadata list
80
- */
81
- getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
82
- }
@@ -1,80 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Stacks Blockchain API
6
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
7
- *
8
- * The version of the OpenAPI document: STACKS_API_VERSION
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FungibleTokensApi = void 0;
17
- const runtime = require("../runtime");
18
- const models_1 = require("../models");
19
- /**
20
- *
21
- */
22
- class FungibleTokensApi extends runtime.BaseAPI {
23
- /**
24
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
25
- * Fungible tokens metadata for contract id
26
- */
27
- async getContractFtMetadataRaw(requestParameters, initOverrides) {
28
- if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
29
- throw new runtime.RequiredError('contractId', 'Required parameter requestParameters.contractId was null or undefined when calling getContractFtMetadata.');
30
- }
31
- const queryParameters = {};
32
- const headerParameters = {};
33
- const response = await this.request({
34
- path: `/extended/v1/tokens/{contractId}/ft/metadata`.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters.contractId))),
35
- method: 'GET',
36
- headers: headerParameters,
37
- query: queryParameters,
38
- }, initOverrides);
39
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokenMetadataFromJSON)(jsonValue));
40
- }
41
- /**
42
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
43
- * Fungible tokens metadata for contract id
44
- */
45
- async getContractFtMetadata(requestParameters, initOverrides) {
46
- const response = await this.getContractFtMetadataRaw(requestParameters, initOverrides);
47
- return await response.value();
48
- }
49
- /**
50
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
51
- * Fungible tokens metadata list
52
- */
53
- async getFtMetadataListRaw(requestParameters, initOverrides) {
54
- const queryParameters = {};
55
- if (requestParameters.limit !== undefined) {
56
- queryParameters['limit'] = requestParameters.limit;
57
- }
58
- if (requestParameters.offset !== undefined) {
59
- queryParameters['offset'] = requestParameters.offset;
60
- }
61
- const headerParameters = {};
62
- const response = await this.request({
63
- path: `/extended/v1/tokens/ft/metadata`,
64
- method: 'GET',
65
- headers: headerParameters,
66
- query: queryParameters,
67
- }, initOverrides);
68
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokensMetadataListFromJSON)(jsonValue));
69
- }
70
- /**
71
- * **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
72
- * Fungible tokens metadata list
73
- */
74
- async getFtMetadataList(requestParameters, initOverrides) {
75
- const response = await this.getFtMetadataListRaw(requestParameters, initOverrides);
76
- return await response.value();
77
- }
78
- }
79
- exports.FungibleTokensApi = FungibleTokensApi;
80
- //# sourceMappingURL=FungibleTokensApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FungibleTokensApi.js","sourceRoot":"","sources":["../../../src/generated/apis/FungibleTokensApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAOmB;AAqDnB;;GAEG;AACH,MAAa,iBAAkB,SAAQ,OAAO,CAAC,OAAO;IAElD;;;OAGG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAA+C,EAAE,aAA2B;QACvG,IAAI,iBAAiB,CAAC,UAAU,KAAK,IAAI,IAAI,iBAAiB,CAAC,UAAU,KAAK,SAAS,EAAE;YACrF,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,YAAY,EAAC,2GAA2G,CAAC,CAAC;SAC7J;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,8CAA8C,CAAC,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;YAC3I,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,sCAA6B,EAAC,SAAS,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,iBAA+C,EAAE,aAA2B;QACpG,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACvF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CAAC,iBAA2C,EAAE,aAA2B;QAC/F,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,IAAI,iBAAiB,CAAC,KAAK,KAAK,SAAS,EAAE;YACvC,eAAe,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC;SACtD;QAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,SAAS,EAAE;YACxC,eAAe,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC;SACxD;QAED,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,iCAAiC;YACvC,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2CAAkC,EAAC,SAAS,CAAC,CAAC,CAAC;IAC/G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,iBAAiB,CAAC,iBAA2C,EAAE,aAA2B;QAC5F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACnF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAtED,8CAsEC"}
@@ -1,46 +0,0 @@
1
- /**
2
- * Stacks Blockchain API
3
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
4
- *
5
- * The version of the OpenAPI document: STACKS_API_VERSION
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { NftEvent } from './';
13
- /**
14
- *
15
- * @export
16
- * @interface AddressNftListResponse
17
- */
18
- export interface AddressNftListResponse {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof AddressNftListResponse
23
- */
24
- limit: number;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof AddressNftListResponse
29
- */
30
- offset: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof AddressNftListResponse
35
- */
36
- total: number;
37
- /**
38
- *
39
- * @type {Array<NftEvent>}
40
- * @memberof AddressNftListResponse
41
- */
42
- nft_events: Array<NftEvent>;
43
- }
44
- export declare function AddressNftListResponseFromJSON(json: any): AddressNftListResponse;
45
- export declare function AddressNftListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponse;
46
- export declare function AddressNftListResponseToJSON(value?: AddressNftListResponse | null): any;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Stacks Blockchain API
6
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
7
- *
8
- * The version of the OpenAPI document: STACKS_API_VERSION
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AddressNftListResponseToJSON = exports.AddressNftListResponseFromJSONTyped = exports.AddressNftListResponseFromJSON = void 0;
17
- const _1 = require("./");
18
- function AddressNftListResponseFromJSON(json) {
19
- return AddressNftListResponseFromJSONTyped(json, false);
20
- }
21
- exports.AddressNftListResponseFromJSON = AddressNftListResponseFromJSON;
22
- function AddressNftListResponseFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'limit': json['limit'],
28
- 'offset': json['offset'],
29
- 'total': json['total'],
30
- 'nft_events': (json['nft_events'].map(_1.NftEventFromJSON)),
31
- };
32
- }
33
- exports.AddressNftListResponseFromJSONTyped = AddressNftListResponseFromJSONTyped;
34
- function AddressNftListResponseToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'limit': value.limit,
43
- 'offset': value.offset,
44
- 'total': value.total,
45
- 'nft_events': (value.nft_events.map(_1.NftEventToJSON)),
46
- };
47
- }
48
- exports.AddressNftListResponseToJSON = AddressNftListResponseToJSON;
49
- //# sourceMappingURL=AddressNftListResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddressNftListResponse.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,yBAKY;AAkCZ,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAFD,wEAEC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,YAAY,EAAE,CAAE,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,mBAAgB,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC;AAXD,kFAWC;AAED,SAAgB,4BAA4B,CAAC,KAAqC;IAC9E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,YAAY,EAAE,CAAE,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,iBAAc,CAAC,CAAC;KACvE,CAAC;AACN,CAAC;AAdD,oEAcC"}
@@ -1,33 +0,0 @@
1
- /**
2
- * Stacks Blockchain API
3
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
4
- *
5
- * The version of the OpenAPI document: STACKS_API_VERSION
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Identifier of the NFT
14
- * @export
15
- * @interface AddressNftListResponseValue
16
- */
17
- export interface AddressNftListResponseValue {
18
- /**
19
- * Hex string representing the identifier of the NFT
20
- * @type {string}
21
- * @memberof AddressNftListResponseValue
22
- */
23
- hex: string;
24
- /**
25
- * Readable string of the NFT identifier
26
- * @type {string}
27
- * @memberof AddressNftListResponseValue
28
- */
29
- repr: string;
30
- }
31
- export declare function AddressNftListResponseValueFromJSON(json: any): AddressNftListResponseValue;
32
- export declare function AddressNftListResponseValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponseValue;
33
- export declare function AddressNftListResponseValueToJSON(value?: AddressNftListResponseValue | null): any;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Stacks Blockchain API
6
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
7
- *
8
- * The version of the OpenAPI document: STACKS_API_VERSION
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AddressNftListResponseValueToJSON = exports.AddressNftListResponseValueFromJSONTyped = exports.AddressNftListResponseValueFromJSON = void 0;
17
- function AddressNftListResponseValueFromJSON(json) {
18
- return AddressNftListResponseValueFromJSONTyped(json, false);
19
- }
20
- exports.AddressNftListResponseValueFromJSON = AddressNftListResponseValueFromJSON;
21
- function AddressNftListResponseValueFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'hex': json['hex'],
27
- 'repr': json['repr'],
28
- };
29
- }
30
- exports.AddressNftListResponseValueFromJSONTyped = AddressNftListResponseValueFromJSONTyped;
31
- function AddressNftListResponseValueToJSON(value) {
32
- if (value === undefined) {
33
- return undefined;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- 'hex': value.hex,
40
- 'repr': value.repr,
41
- };
42
- }
43
- exports.AddressNftListResponseValueToJSON = AddressNftListResponseValueToJSON;
44
- //# sourceMappingURL=AddressNftListResponseValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AddressNftListResponseValue.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponseValue.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAFD,kFAEC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AATD,4FASC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC;AAZD,8EAYC"}
@@ -1,75 +0,0 @@
1
- /**
2
- * Stacks Blockchain API
3
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
4
- *
5
- * The version of the OpenAPI document: STACKS_API_VERSION
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface FungibleTokenMetadata
16
- */
17
- export interface FungibleTokenMetadata {
18
- /**
19
- * An optional string that is a valid URI which resolves to this token's metadata. Can be empty.
20
- * @type {string}
21
- * @memberof FungibleTokenMetadata
22
- */
23
- token_uri: string;
24
- /**
25
- * Identifies the asset to which this token represents
26
- * @type {string}
27
- * @memberof FungibleTokenMetadata
28
- */
29
- name: string;
30
- /**
31
- * Describes the asset to which this token represents
32
- * @type {string}
33
- * @memberof FungibleTokenMetadata
34
- */
35
- description: string;
36
- /**
37
- * A URI pointing to a resource with mime type image/* representing the asset to which this token represents. The API may provide a URI to a cached resource, dependending on configuration. Otherwise, this can be the same value as the canonical image URI.
38
- * @type {string}
39
- * @memberof FungibleTokenMetadata
40
- */
41
- image_uri: string;
42
- /**
43
- * The original image URI specified by the contract. A URI pointing to a resource with mime type image/* representing the asset to which this token represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.
44
- * @type {string}
45
- * @memberof FungibleTokenMetadata
46
- */
47
- image_canonical_uri: string;
48
- /**
49
- * A shorter representation of a token. This is sometimes referred to as a "ticker". Examples: "STX", "COOL", etc. Typically, a token could be referred to as $SYMBOL when referencing it in writing.
50
- * @type {string}
51
- * @memberof FungibleTokenMetadata
52
- */
53
- symbol: string;
54
- /**
55
- * The number of decimal places in a token.
56
- * @type {number}
57
- * @memberof FungibleTokenMetadata
58
- */
59
- decimals: number;
60
- /**
61
- * Tx id that deployed the contract
62
- * @type {string}
63
- * @memberof FungibleTokenMetadata
64
- */
65
- tx_id: string;
66
- /**
67
- * principle that deployed the contract
68
- * @type {string}
69
- * @memberof FungibleTokenMetadata
70
- */
71
- sender_address: string;
72
- }
73
- export declare function FungibleTokenMetadataFromJSON(json: any): FungibleTokenMetadata;
74
- export declare function FungibleTokenMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): FungibleTokenMetadata;
75
- export declare function FungibleTokenMetadataToJSON(value?: FungibleTokenMetadata | null): any;
@@ -1,58 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Stacks Blockchain API
6
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
7
- *
8
- * The version of the OpenAPI document: STACKS_API_VERSION
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FungibleTokenMetadataToJSON = exports.FungibleTokenMetadataFromJSONTyped = exports.FungibleTokenMetadataFromJSON = void 0;
17
- function FungibleTokenMetadataFromJSON(json) {
18
- return FungibleTokenMetadataFromJSONTyped(json, false);
19
- }
20
- exports.FungibleTokenMetadataFromJSON = FungibleTokenMetadataFromJSON;
21
- function FungibleTokenMetadataFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'token_uri': json['token_uri'],
27
- 'name': json['name'],
28
- 'description': json['description'],
29
- 'image_uri': json['image_uri'],
30
- 'image_canonical_uri': json['image_canonical_uri'],
31
- 'symbol': json['symbol'],
32
- 'decimals': json['decimals'],
33
- 'tx_id': json['tx_id'],
34
- 'sender_address': json['sender_address'],
35
- };
36
- }
37
- exports.FungibleTokenMetadataFromJSONTyped = FungibleTokenMetadataFromJSONTyped;
38
- function FungibleTokenMetadataToJSON(value) {
39
- if (value === undefined) {
40
- return undefined;
41
- }
42
- if (value === null) {
43
- return null;
44
- }
45
- return {
46
- 'token_uri': value.token_uri,
47
- 'name': value.name,
48
- 'description': value.description,
49
- 'image_uri': value.image_uri,
50
- 'image_canonical_uri': value.image_canonical_uri,
51
- 'symbol': value.symbol,
52
- 'decimals': value.decimals,
53
- 'tx_id': value.tx_id,
54
- 'sender_address': value.sender_address,
55
- };
56
- }
57
- exports.FungibleTokenMetadataToJSON = FungibleTokenMetadataToJSON;
58
- //# sourceMappingURL=FungibleTokenMetadata.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FungibleTokenMetadata.js","sourceRoot":"","sources":["../../../src/generated/models/FungibleTokenMetadata.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiEH,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,sEAEC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;KAC3C,CAAC;AACN,CAAC;AAhBD,gFAgBC;AAED,SAAgB,2BAA2B,CAAC,KAAoC;IAC5E,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,gBAAgB,EAAE,KAAK,CAAC,cAAc;KACzC,CAAC;AACN,CAAC;AAnBD,kEAmBC"}
@@ -1,46 +0,0 @@
1
- /**
2
- * Stacks Blockchain API
3
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
4
- *
5
- * The version of the OpenAPI document: STACKS_API_VERSION
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { FungibleTokenMetadata } from './';
13
- /**
14
- * List of fungible tokens metadata
15
- * @export
16
- * @interface FungibleTokensMetadataList
17
- */
18
- export interface FungibleTokensMetadataList {
19
- /**
20
- * The number of tokens metadata to return
21
- * @type {number}
22
- * @memberof FungibleTokensMetadataList
23
- */
24
- limit: number;
25
- /**
26
- * The number to tokens metadata to skip (starting at `0`)
27
- * @type {number}
28
- * @memberof FungibleTokensMetadataList
29
- */
30
- offset: number;
31
- /**
32
- * The number of tokens metadata available
33
- * @type {number}
34
- * @memberof FungibleTokensMetadataList
35
- */
36
- total: number;
37
- /**
38
- *
39
- * @type {Array<FungibleTokenMetadata>}
40
- * @memberof FungibleTokensMetadataList
41
- */
42
- results: Array<FungibleTokenMetadata>;
43
- }
44
- export declare function FungibleTokensMetadataListFromJSON(json: any): FungibleTokensMetadataList;
45
- export declare function FungibleTokensMetadataListFromJSONTyped(json: any, ignoreDiscriminator: boolean): FungibleTokensMetadataList;
46
- export declare function FungibleTokensMetadataListToJSON(value?: FungibleTokensMetadataList | null): any;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Stacks Blockchain API
6
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
7
- *
8
- * The version of the OpenAPI document: STACKS_API_VERSION
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.FungibleTokensMetadataListToJSON = exports.FungibleTokensMetadataListFromJSONTyped = exports.FungibleTokensMetadataListFromJSON = void 0;
17
- const _1 = require("./");
18
- function FungibleTokensMetadataListFromJSON(json) {
19
- return FungibleTokensMetadataListFromJSONTyped(json, false);
20
- }
21
- exports.FungibleTokensMetadataListFromJSON = FungibleTokensMetadataListFromJSON;
22
- function FungibleTokensMetadataListFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'limit': json['limit'],
28
- 'offset': json['offset'],
29
- 'total': json['total'],
30
- 'results': (json['results'].map(_1.FungibleTokenMetadataFromJSON)),
31
- };
32
- }
33
- exports.FungibleTokensMetadataListFromJSONTyped = FungibleTokensMetadataListFromJSONTyped;
34
- function FungibleTokensMetadataListToJSON(value) {
35
- if (value === undefined) {
36
- return undefined;
37
- }
38
- if (value === null) {
39
- return null;
40
- }
41
- return {
42
- 'limit': value.limit,
43
- 'offset': value.offset,
44
- 'total': value.total,
45
- 'results': (value.results.map(_1.FungibleTokenMetadataToJSON)),
46
- };
47
- }
48
- exports.FungibleTokensMetadataListToJSON = FungibleTokensMetadataListToJSON;
49
- //# sourceMappingURL=FungibleTokensMetadataList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FungibleTokensMetadataList.js","sourceRoot":"","sources":["../../../src/generated/models/FungibleTokensMetadataList.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,yBAKY;AAkCZ,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAFD,gFAEC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,gCAA6B,CAAC,CAAC;KAClF,CAAC;AACN,CAAC;AAXD,0FAWC;AAED,SAAgB,gCAAgC,CAAC,KAAyC;IACtF,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,SAAS,EAAE,CAAE,KAAK,CAAC,OAAsB,CAAC,GAAG,CAAC,8BAA2B,CAAC,CAAC;KAC9E,CAAC;AACN,CAAC;AAdD,4EAcC"}