@stacks/blockchain-api-client 6.0.0-beta.5 → 6.0.0-beta.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.
@@ -1,127 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Stacks Blockchain API
5
- * 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>
6
- *
7
- * The version of the OpenAPI document: STACKS_API_VERSION
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { exists, mapValues } from '../runtime';
16
- import {
17
- AddressNftListResponseValue,
18
- AddressNftListResponseValueFromJSON,
19
- AddressNftListResponseValueFromJSONTyped,
20
- AddressNftListResponseValueToJSON,
21
- } from './';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface NftEvent
27
- */
28
- export interface NftEvent {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof NftEvent
33
- */
34
- sender?: string;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof NftEvent
39
- */
40
- recipient?: string;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof NftEvent
45
- */
46
- asset_identifier: string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof NftEvent
51
- */
52
- asset_event_type: string;
53
- /**
54
- *
55
- * @type {AddressNftListResponseValue}
56
- * @memberof NftEvent
57
- */
58
- value: AddressNftListResponseValue;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof NftEvent
63
- */
64
- tx_id: string;
65
- /**
66
- *
67
- * @type {number}
68
- * @memberof NftEvent
69
- */
70
- tx_index: number;
71
- /**
72
- *
73
- * @type {number}
74
- * @memberof NftEvent
75
- */
76
- block_height: number;
77
- /**
78
- *
79
- * @type {number}
80
- * @memberof NftEvent
81
- */
82
- event_index: number;
83
- }
84
-
85
- export function NftEventFromJSON(json: any): NftEvent {
86
- return NftEventFromJSONTyped(json, false);
87
- }
88
-
89
- export function NftEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): NftEvent {
90
- if ((json === undefined) || (json === null)) {
91
- return json;
92
- }
93
- return {
94
-
95
- 'sender': !exists(json, 'sender') ? undefined : json['sender'],
96
- 'recipient': !exists(json, 'recipient') ? undefined : json['recipient'],
97
- 'asset_identifier': json['asset_identifier'],
98
- 'asset_event_type': json['asset_event_type'],
99
- 'value': AddressNftListResponseValueFromJSON(json['value']),
100
- 'tx_id': json['tx_id'],
101
- 'tx_index': json['tx_index'],
102
- 'block_height': json['block_height'],
103
- 'event_index': json['event_index'],
104
- };
105
- }
106
-
107
- export function NftEventToJSON(value?: NftEvent | null): any {
108
- if (value === undefined) {
109
- return undefined;
110
- }
111
- if (value === null) {
112
- return null;
113
- }
114
- return {
115
-
116
- 'sender': value.sender,
117
- 'recipient': value.recipient,
118
- 'asset_identifier': value.asset_identifier,
119
- 'asset_event_type': value.asset_event_type,
120
- 'value': AddressNftListResponseValueToJSON(value.value),
121
- 'tx_id': value.tx_id,
122
- 'tx_index': value.tx_index,
123
- 'block_height': value.block_height,
124
- 'event_index': value.event_index,
125
- };
126
- }
127
-