Skip to content

Commit 37f0d8d

Browse files
committed
v1.19.0
1 parent 616a619 commit 37f0d8d

13 files changed

Lines changed: 164 additions & 171 deletions

.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ docs/BlockAPI.md
2626
docs/ForwardingAPI.md
2727
docs/GasAPI.md
2828
docs/GeneralAPI.md
29-
docs/GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus.md
3029
docs/HandlerError.md
3130
docs/HandlerPostBlobRequest.md
3231
docs/HyperlaneAPI.md
@@ -132,12 +131,12 @@ docs/TransactionsAPI.md
132131
docs/TypesEventType.md
133132
docs/TypesMsgAddressType.md
134133
docs/TypesMsgType.md
134+
docs/TypesStatus.md
135135
docs/ValidatorAPI.md
136136
docs/VestingAPI.md
137137
git_push.sh
138138
go.mod
139139
go.sum
140-
model_github_com_celenium_io_celestia_indexer_internal_storage_types_status.go
141140
model_handler_error.go
142141
model_handler_post_blob_request.go
143142
model_responses_address.go
@@ -234,6 +233,7 @@ model_responses_zk_ism_update.go
234233
model_types_event_type.go
235234
model_types_msg_address_type.go
236235
model_types_msg_type.go
236+
model_types_status.go
237237
response.go
238238
test/api_address_test.go
239239
test/api_block_test.go

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.21.0-SNAPSHOT
1+
7.22.0-SNAPSHOT

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,13 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat
77

88
- API version: 1.0
99
- Package version: 1.0.0
10-
- Generator version: 7.21.0-SNAPSHOT
10+
- Generator version: 7.22.0-SNAPSHOT
1111
- Build package: org.openapitools.codegen.languages.GoClientCodegen
1212
For more information, please visit [https://discord.gg/3k83Przqk8](https://discord.gg/3k83Przqk8)
1313

1414
## Installation
1515

16-
Install the following dependencies:
17-
18-
```sh
19-
go get github.com/stretchr/testify/assert
20-
go get golang.org/x/net/context
21-
```
22-
23-
Put the package under your project folder and add the following in import:
16+
Import the package in a go file in your project and run `go mod tidy`:
2417

2518
```go
2619
import celenium "github.com/celenium-io/celenium-api-go"
@@ -206,7 +199,6 @@ Class | Method | HTTP request | Description
206199

207200
## Documentation For Models
208201

209-
- [GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus](docs/GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus.md)
210202
- [HandlerError](docs/HandlerError.md)
211203
- [HandlerPostBlobRequest](docs/HandlerPostBlobRequest.md)
212204
- [ResponsesAddress](docs/ResponsesAddress.md)
@@ -303,6 +295,7 @@ Class | Method | HTTP request | Description
303295
- [TypesEventType](docs/TypesEventType.md)
304296
- [TypesMsgAddressType](docs/TypesMsgAddressType.md)
305297
- [TypesMsgType](docs/TypesMsgType.md)
298+
- [TypesStatus](docs/TypesStatus.md)
306299

307300

308301
## Documentation For Authorization

api/openapi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7249,14 +7249,6 @@ paths:
72497249
x-internal: true
72507250
components:
72517251
schemas:
7252-
github_com_celenium-io_celestia-indexer_internal_storage_types.Status:
7253-
enum:
7254-
- success
7255-
- failed
7256-
type: string
7257-
x-enum-varnames:
7258-
- StatusSuccess
7259-
- StatusFailed
72607252
handler.Error:
72617253
example:
72627254
message: message
@@ -8065,7 +8057,7 @@ components:
80658057
responses.Event:
80668058
example:
80678059
data:
8068-
key: "{}"
8060+
key: data
80698061
id: 321
80708062
position: 1
80718063
time: 2023-07-04T03:10:57Z
@@ -8075,7 +8067,7 @@ components:
80758067
properties:
80768068
data:
80778069
additionalProperties:
8078-
type: object
8070+
type: string
80798071
type: object
80808072
height:
80818073
example: 100
@@ -11131,7 +11123,7 @@ components:
1113111123
type: array
1113211124
status:
1113311125
allOf:
11134-
- $ref: "#/components/schemas/github_com_celenium-io_celestia-indexer_internal_storage_types.Status"
11126+
- $ref: "#/components/schemas/types.Status"
1113511127
example: success
1113611128
type: object
1113711129
time:
@@ -11174,7 +11166,7 @@ components:
1117411166
type: integer
1117511167
status:
1117611168
allOf:
11177-
- $ref: "#/components/schemas/github_com_celenium-io_celestia-indexer_internal_storage_types.Status"
11169+
- $ref: "#/components/schemas/types.Status"
1117811170
example: success
1117911171
type: object
1118011172
type: object
@@ -12166,6 +12158,14 @@ components:
1216612158
- MsgCreateInterchainSecurityModule
1216712159
- MsgUpdateInterchainSecurityModule
1216812160
- MsgSubmitMessages
12161+
types.Status:
12162+
enum:
12163+
- success
12164+
- failed
12165+
type: string
12166+
x-enum-varnames:
12167+
- StatusSuccess
12168+
- StatusFailed
1216912169
securitySchemes:
1217012170
ApiKeyAuth:
1217112171
description: To authorize your requests you have to select the required tariff

docs/ResponsesEvent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Data** | Pointer to **map[string]map[string]interface{}** | | [optional]
7+
**Data** | Pointer to **map[string]string** | | [optional]
88
**Height** | Pointer to **int64** | | [optional]
99
**Id** | Pointer to **int64** | | [optional]
1010
**Position** | Pointer to **int64** | | [optional]
@@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set
3333

3434
### GetData
3535

36-
`func (o *ResponsesEvent) GetData() map[string]map[string]interface{}`
36+
`func (o *ResponsesEvent) GetData() map[string]string`
3737

3838
GetData returns the Data field if non-nil, zero value otherwise.
3939

4040
### GetDataOk
4141

42-
`func (o *ResponsesEvent) GetDataOk() (*map[string]map[string]interface{}, bool)`
42+
`func (o *ResponsesEvent) GetDataOk() (*map[string]string, bool)`
4343

4444
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
4545
and a boolean to check if the value has been set.
4646

4747
### SetData
4848

49-
`func (o *ResponsesEvent) SetData(v map[string]map[string]interface{})`
49+
`func (o *ResponsesEvent) SetData(v map[string]string)`
5050

5151
SetData sets Data field to given value.
5252

docs/ResponsesTx.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919
**MessagesCount** | Pointer to **int64** | | [optional]
2020
**Position** | Pointer to **int64** | | [optional]
2121
**Signers** | Pointer to [**[]ResponsesShortAddress**](ResponsesShortAddress.md) | | [optional]
22-
**Status** | Pointer to [**GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus**](GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus.md) | | [optional]
22+
**Status** | Pointer to [**TypesStatus**](TypesStatus.md) | | [optional]
2323
**Time** | Pointer to **time.Time** | | [optional]
2424
**TimeoutHeight** | Pointer to **int64** | | [optional]
2525

@@ -419,20 +419,20 @@ HasSigners returns a boolean if a field has been set.
419419

420420
### GetStatus
421421

422-
`func (o *ResponsesTx) GetStatus() GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus`
422+
`func (o *ResponsesTx) GetStatus() TypesStatus`
423423

424424
GetStatus returns the Status field if non-nil, zero value otherwise.
425425

426426
### GetStatusOk
427427

428-
`func (o *ResponsesTx) GetStatusOk() (*GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus, bool)`
428+
`func (o *ResponsesTx) GetStatusOk() (*TypesStatus, bool)`
429429

430430
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
431431
and a boolean to check if the value has been set.
432432

433433
### SetStatus
434434

435-
`func (o *ResponsesTx) SetStatus(v GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus)`
435+
`func (o *ResponsesTx) SetStatus(v TypesStatus)`
436436

437437
SetStatus sets Status field to given value.
438438

docs/ResponsesTxForAddress.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**Hash** | Pointer to ***os.File** | | [optional]
99
**MessageTypes** | Pointer to [**[]TypesMsgType**](TypesMsgType.md) | | [optional]
1010
**MessagesCount** | Pointer to **int64** | | [optional]
11-
**Status** | Pointer to [**GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus**](GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus.md) | | [optional]
11+
**Status** | Pointer to [**TypesStatus**](TypesStatus.md) | | [optional]
1212

1313
## Methods
1414

@@ -131,20 +131,20 @@ HasMessagesCount returns a boolean if a field has been set.
131131

132132
### GetStatus
133133

134-
`func (o *ResponsesTxForAddress) GetStatus() GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus`
134+
`func (o *ResponsesTxForAddress) GetStatus() TypesStatus`
135135

136136
GetStatus returns the Status field if non-nil, zero value otherwise.
137137

138138
### GetStatusOk
139139

140-
`func (o *ResponsesTxForAddress) GetStatusOk() (*GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus, bool)`
140+
`func (o *ResponsesTxForAddress) GetStatusOk() (*TypesStatus, bool)`
141141

142142
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
143143
and a boolean to check if the value has been set.
144144

145145
### SetStatus
146146

147-
`func (o *ResponsesTxForAddress) SetStatus(v GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus)`
147+
`func (o *ResponsesTxForAddress) SetStatus(v TypesStatus)`
148148

149149
SetStatus sets Status field to given value.
150150

docs/GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus.md renamed to docs/TypesStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GithubComCeleniumIoCelestiaIndexerInternalStorageTypesStatus
1+
# TypesStatus
22

33
## Enum
44

model_github_com_celenium_io_celestia_indexer_internal_storage_types_status.go

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)