From 439bdf354693caee6b9cfa0e9d47e797a15178c8 Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Thu, 19 Feb 2026 11:58:48 -0800 Subject: [PATCH 1/2] Add transaction type (standard, system, scheduled) for tx and result responses --- openapi/access.yaml | 13 ++++++- .../go-client-generated/README.md | 1 + .../go-client-generated/api/swagger.yaml | 39 +++++++++++++++++++ .../go-client-generated/docs/Transaction.md | 1 + .../docs/TransactionResult.md | 1 + .../docs/TransactionType.md | 8 ++++ .../go-client-generated/model_transaction.go | 1 + .../model_transaction_result.go | 1 + .../model_transaction_type.go | 18 +++++++++ openapi/experimental/openapi.yaml | 11 ++++++ openapi/go-client-generated/README.md | 1 + openapi/go-client-generated/api/swagger.yaml | 19 +++++++++ .../go-client-generated/docs/Transaction.md | 1 + .../docs/TransactionResult.md | 1 + .../docs/TransactionType.md | 8 ++++ .../go-client-generated/model_transaction.go | 1 + .../model_transaction_result.go | 1 + .../model_transaction_type.go | 18 +++++++++ 18 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 openapi/experimental/go-client-generated/docs/TransactionType.md create mode 100644 openapi/experimental/go-client-generated/model_transaction_type.go create mode 100644 openapi/go-client-generated/docs/TransactionType.md create mode 100644 openapi/go-client-generated/model_transaction_type.go diff --git a/openapi/access.yaml b/openapi/access.yaml index 586436eb8..243f01498 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1082,6 +1082,8 @@ components: type: array items: $ref: '#/components/schemas/TransactionSignature' + transaction_type: + $ref: '#/components/schemas/TransactionType' result: $ref: '#/components/schemas/TransactionResult' _expandable: @@ -1149,6 +1151,8 @@ components: computation_used: type: string format: uint64 + transaction_type: + $ref: '#/components/schemas/TransactionType' events: type: array items: @@ -1157,9 +1161,16 @@ components: $ref: '#/components/schemas/Metadata' _links: $ref: '#/components/schemas/Links' + TransactionType: + type: string + description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. + enum: + - standard + - scheduled + - system TransactionExecution: type: string - description: This value indicates whether the transaction execution succeded or not, this value should be checked when determining transaction success. + description: This value indicates whether the transaction execution succeded or not, this value should be checked when determining transaction success. enum: - Pending - Success diff --git a/openapi/experimental/go-client-generated/README.md b/openapi/experimental/go-client-generated/README.md index 8978e2305..c168fdeec 100644 --- a/openapi/experimental/go-client-generated/README.md +++ b/openapi/experimental/go-client-generated/README.md @@ -45,6 +45,7 @@ Class | Method | HTTP request | Description - [TransactionResult](docs/TransactionResult.md) - [TransactionSignature](docs/TransactionSignature.md) - [TransactionStatus](docs/TransactionStatus.md) + - [TransactionType](docs/TransactionType.md) - [TransferRole](docs/TransferRole.md) ## Documentation For Authorization diff --git a/openapi/experimental/go-client-generated/api/swagger.yaml b/openapi/experimental/go-client-generated/api/swagger.yaml index 87c3096b6..42a3d2b64 100644 --- a/openapi/experimental/go-client-generated/api/swagger.yaml +++ b/openapi/experimental/go-client-generated/api/swagger.yaml @@ -403,6 +403,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -412,6 +413,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -465,6 +467,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -474,6 +477,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -569,6 +573,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -578,6 +583,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -751,6 +757,8 @@ components: type: array items: $ref: "#/components/schemas/TransactionSignature" + transaction_type: + $ref: "#/components/schemas/TransactionType" result: $ref: "#/components/schemas/TransactionResult" _expandable: @@ -760,6 +768,7 @@ components: example: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -769,6 +778,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -834,6 +844,8 @@ components: computation_used: type: string format: uint64 + transaction_type: + $ref: "#/components/schemas/TransactionType" events: type: array items: @@ -847,6 +859,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -861,6 +874,14 @@ components: type: type event_index: event_index status: Pending + TransactionType: + type: string + description: "This value indicates whether the transaction is a standard transaction,\ + \ a scheduled transaction, or a system transaction." + enum: + - standard + - scheduled + - system TransactionExecution: type: string description: "This value indicates whether the transaction execution succeeded\ @@ -930,6 +951,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -951,6 +973,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -960,6 +983,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1028,6 +1052,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1049,6 +1074,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -1058,6 +1084,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1139,6 +1166,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1161,6 +1189,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -1170,6 +1199,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1237,6 +1267,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1259,6 +1290,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -1268,6 +1300,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1394,6 +1427,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1415,6 +1449,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -1424,6 +1459,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1550,6 +1586,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -1572,6 +1609,7 @@ components: transaction: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -1581,6 +1619,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: diff --git a/openapi/experimental/go-client-generated/docs/Transaction.md b/openapi/experimental/go-client-generated/docs/Transaction.md index e53d808fa..66caa5d07 100644 --- a/openapi/experimental/go-client-generated/docs/Transaction.md +++ b/openapi/experimental/go-client-generated/docs/Transaction.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Authorizers** | **[]string** | | [default to null] **PayloadSignatures** | [**[]TransactionSignature**](TransactionSignature.md) | | [default to null] **EnvelopeSignatures** | [**[]TransactionSignature**](TransactionSignature.md) | | [default to null] +**TransactionType** | [***TransactionType**](TransactionType.md) | | [optional] [default to null] **Result** | [***TransactionResult**](TransactionResult.md) | | [optional] [default to null] **Expandable** | [***TransactionExpandable**](Transaction__expandable.md) | | [default to null] **Links** | [***Links**](Links.md) | | [optional] [default to null] diff --git a/openapi/experimental/go-client-generated/docs/TransactionResult.md b/openapi/experimental/go-client-generated/docs/TransactionResult.md index a37402ccd..22f1acc26 100644 --- a/openapi/experimental/go-client-generated/docs/TransactionResult.md +++ b/openapi/experimental/go-client-generated/docs/TransactionResult.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **StatusCode** | **int32** | | [default to null] **ErrorMessage** | **string** | Provided transaction error in case the transaction wasn't successful. | [default to null] **ComputationUsed** | **string** | | [default to null] +**TransactionType** | [***TransactionType**](TransactionType.md) | | [optional] [default to null] **Events** | [**[]Event**](Event.md) | | [default to null] **Links** | [***Links**](Links.md) | | [optional] [default to null] diff --git a/openapi/experimental/go-client-generated/docs/TransactionType.md b/openapi/experimental/go-client-generated/docs/TransactionType.md new file mode 100644 index 000000000..40ea482c9 --- /dev/null +++ b/openapi/experimental/go-client-generated/docs/TransactionType.md @@ -0,0 +1,8 @@ +# TransactionType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/openapi/experimental/go-client-generated/model_transaction.go b/openapi/experimental/go-client-generated/model_transaction.go index 68bfec85e..d042b150a 100644 --- a/openapi/experimental/go-client-generated/model_transaction.go +++ b/openapi/experimental/go-client-generated/model_transaction.go @@ -22,6 +22,7 @@ type Transaction struct { Authorizers []string `json:"authorizers"` PayloadSignatures []TransactionSignature `json:"payload_signatures"` EnvelopeSignatures []TransactionSignature `json:"envelope_signatures"` + TransactionType *TransactionType `json:"transaction_type,omitempty"` Result *TransactionResult `json:"result,omitempty"` Expandable *TransactionExpandable `json:"_expandable"` Links *Links `json:"_links,omitempty"` diff --git a/openapi/experimental/go-client-generated/model_transaction_result.go b/openapi/experimental/go-client-generated/model_transaction_result.go index d7640d848..136b35427 100644 --- a/openapi/experimental/go-client-generated/model_transaction_result.go +++ b/openapi/experimental/go-client-generated/model_transaction_result.go @@ -17,6 +17,7 @@ type TransactionResult struct { // Provided transaction error in case the transaction wasn't successful. ErrorMessage string `json:"error_message"` ComputationUsed string `json:"computation_used"` + TransactionType *TransactionType `json:"transaction_type,omitempty"` Events []Event `json:"events"` Links *Links `json:"_links,omitempty"` } diff --git a/openapi/experimental/go-client-generated/model_transaction_type.go b/openapi/experimental/go-client-generated/model_transaction_type.go new file mode 100644 index 000000000..52982c2ab --- /dev/null +++ b/openapi/experimental/go-client-generated/model_transaction_type.go @@ -0,0 +1,18 @@ +/* + * Flow Experimental API + * + * Experimental API endpoints for the Flow Access Node. These endpoints are subject to change without notice. Endpoints may be moved to a permanent API once they are stable. + * + * API version: 0.1.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger +// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. +type TransactionType string + +// List of TransactionType +const ( + STANDARD_TransactionType TransactionType = "standard" + SCHEDULED_TransactionType TransactionType = "scheduled" + SYSTEM_TransactionType TransactionType = "system" +) diff --git a/openapi/experimental/openapi.yaml b/openapi/experimental/openapi.yaml index a8d33426b..c242b94cf 100644 --- a/openapi/experimental/openapi.yaml +++ b/openapi/experimental/openapi.yaml @@ -451,6 +451,8 @@ components: type: array items: $ref: '#/components/schemas/TransactionSignature' + transaction_type: + $ref: '#/components/schemas/TransactionType' result: $ref: '#/components/schemas/TransactionResult' _expandable: @@ -488,12 +490,21 @@ components: computation_used: type: string format: uint64 + transaction_type: + $ref: '#/components/schemas/TransactionType' events: type: array items: $ref: '#/components/schemas/Event' _links: $ref: '#/components/schemas/Links' + TransactionType: + type: string + description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. + enum: + - standard + - scheduled + - system TransactionExecution: type: string description: This value indicates whether the transaction execution succeeded or not, this value should be checked when determining transaction success. diff --git a/openapi/go-client-generated/README.md b/openapi/go-client-generated/README.md index dea02883f..14e4221d7 100644 --- a/openapi/go-client-generated/README.md +++ b/openapi/go-client-generated/README.md @@ -84,6 +84,7 @@ Class | Method | HTTP request | Description - [TransactionResult](docs/TransactionResult.md) - [TransactionSignature](docs/TransactionSignature.md) - [TransactionStatus](docs/TransactionStatus.md) + - [TransactionType](docs/TransactionType.md) - [TransactionsBody](docs/TransactionsBody.md) ## Documentation For Authorization diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 7a143d4c7..6116cccd2 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -1988,6 +1988,7 @@ components: transactions: - _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -2003,6 +2004,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -2043,6 +2045,7 @@ components: key_index: key_index - _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -2058,6 +2061,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -2151,6 +2155,8 @@ components: type: array items: $ref: "#/components/schemas/TransactionSignature" + transaction_type: + $ref: "#/components/schemas/TransactionType" result: $ref: "#/components/schemas/TransactionResult" _expandable: @@ -2160,6 +2166,7 @@ components: example: _links: null reference_block_id: null + transaction_type: standard payer: payer script: script result: @@ -2175,6 +2182,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -2278,6 +2286,8 @@ components: computation_used: type: string format: uint64 + transaction_type: + $ref: "#/components/schemas/TransactionType" events: type: array items: @@ -2299,6 +2309,7 @@ components: status_code: 0 _links: _self: _self + transaction_type: null block_id: null computation_used: computation_used events: @@ -2313,6 +2324,14 @@ components: type: type event_index: event_index status: Pending + TransactionType: + type: string + description: "This value indicates whether the transaction is a standard transaction,\ + \ a scheduled transaction, or a system transaction." + enum: + - standard + - scheduled + - system TransactionExecution: type: string description: "This value indicates whether the transaction execution succeded\ diff --git a/openapi/go-client-generated/docs/Transaction.md b/openapi/go-client-generated/docs/Transaction.md index 672dd7bc7..c97b89139 100644 --- a/openapi/go-client-generated/docs/Transaction.md +++ b/openapi/go-client-generated/docs/Transaction.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **Authorizers** | **[]string** | | [default to null] **PayloadSignatures** | [**[]TransactionSignature**](TransactionSignature.md) | | [default to null] **EnvelopeSignatures** | [**[]TransactionSignature**](TransactionSignature.md) | | [default to null] +**TransactionType** | [***TransactionType**](TransactionType.md) | | [optional] [default to null] **Result** | [***TransactionResult**](TransactionResult.md) | | [optional] [default to null] **Expandable** | [***TransactionExpandable**](Transaction__expandable.md) | | [default to null] **Links** | [***Links**](Links.md) | | [optional] [default to null] diff --git a/openapi/go-client-generated/docs/TransactionResult.md b/openapi/go-client-generated/docs/TransactionResult.md index 51eb96100..a84508e63 100644 --- a/openapi/go-client-generated/docs/TransactionResult.md +++ b/openapi/go-client-generated/docs/TransactionResult.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **StatusCode** | **int32** | | [default to null] **ErrorMessage** | **string** | Provided transaction error in case the transaction wasn't successful. | [default to null] **ComputationUsed** | **string** | | [default to null] +**TransactionType** | [***TransactionType**](TransactionType.md) | | [optional] [default to null] **Events** | [**[]Event**](Event.md) | | [default to null] **Metadata** | [***Metadata**](Metadata.md) | | [optional] [default to null] **Links** | [***Links**](Links.md) | | [optional] [default to null] diff --git a/openapi/go-client-generated/docs/TransactionType.md b/openapi/go-client-generated/docs/TransactionType.md new file mode 100644 index 000000000..40ea482c9 --- /dev/null +++ b/openapi/go-client-generated/docs/TransactionType.md @@ -0,0 +1,8 @@ +# TransactionType + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/openapi/go-client-generated/model_transaction.go b/openapi/go-client-generated/model_transaction.go index ed5c61023..e1dd38875 100644 --- a/openapi/go-client-generated/model_transaction.go +++ b/openapi/go-client-generated/model_transaction.go @@ -22,6 +22,7 @@ type Transaction struct { Authorizers []string `json:"authorizers"` PayloadSignatures []TransactionSignature `json:"payload_signatures"` EnvelopeSignatures []TransactionSignature `json:"envelope_signatures"` + TransactionType *TransactionType `json:"transaction_type,omitempty"` Result *TransactionResult `json:"result,omitempty"` Expandable *TransactionExpandable `json:"_expandable"` Links *Links `json:"_links,omitempty"` diff --git a/openapi/go-client-generated/model_transaction_result.go b/openapi/go-client-generated/model_transaction_result.go index 528d230d8..6cdb6ac28 100644 --- a/openapi/go-client-generated/model_transaction_result.go +++ b/openapi/go-client-generated/model_transaction_result.go @@ -17,6 +17,7 @@ type TransactionResult struct { // Provided transaction error in case the transaction wasn't successful. ErrorMessage string `json:"error_message"` ComputationUsed string `json:"computation_used"` + TransactionType *TransactionType `json:"transaction_type,omitempty"` Events []Event `json:"events"` Metadata *Metadata `json:"metadata,omitempty"` Links *Links `json:"_links,omitempty"` diff --git a/openapi/go-client-generated/model_transaction_type.go b/openapi/go-client-generated/model_transaction_type.go new file mode 100644 index 000000000..b0cce6aab --- /dev/null +++ b/openapi/go-client-generated/model_transaction_type.go @@ -0,0 +1,18 @@ +/* + * Access API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger +// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. +type TransactionType string + +// List of TransactionType +const ( + STANDARD_TransactionType TransactionType = "standard" + SCHEDULED_TransactionType TransactionType = "scheduled" + SYSTEM_TransactionType TransactionType = "system" +) From 2773221879a604cdab13185ef12115d9dfdd54bb Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Thu, 19 Feb 2026 12:23:42 -0800 Subject: [PATCH 2/2] add unknown type --- openapi/access.yaml | 3 ++- openapi/experimental/go-client-generated/api/swagger.yaml | 4 +++- .../go-client-generated/model_transaction_type.go | 3 ++- openapi/experimental/openapi.yaml | 3 ++- openapi/go-client-generated/api/swagger.yaml | 4 +++- openapi/go-client-generated/model_transaction_type.go | 3 ++- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/openapi/access.yaml b/openapi/access.yaml index 243f01498..8a8473df4 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1163,11 +1163,12 @@ components: $ref: '#/components/schemas/Links' TransactionType: type: string - description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. + description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. Unknown is returned for transactions that are not yet executed or could not be determined. enum: - standard - scheduled - system + - unknown TransactionExecution: type: string description: This value indicates whether the transaction execution succeded or not, this value should be checked when determining transaction success. diff --git a/openapi/experimental/go-client-generated/api/swagger.yaml b/openapi/experimental/go-client-generated/api/swagger.yaml index 42a3d2b64..479c97ff3 100644 --- a/openapi/experimental/go-client-generated/api/swagger.yaml +++ b/openapi/experimental/go-client-generated/api/swagger.yaml @@ -877,11 +877,13 @@ components: TransactionType: type: string description: "This value indicates whether the transaction is a standard transaction,\ - \ a scheduled transaction, or a system transaction." + \ a scheduled transaction, or a system transaction. Unknown is returned for\ + \ transactions that are not yet executed or could not be determined." enum: - standard - scheduled - system + - unknown TransactionExecution: type: string description: "This value indicates whether the transaction execution succeeded\ diff --git a/openapi/experimental/go-client-generated/model_transaction_type.go b/openapi/experimental/go-client-generated/model_transaction_type.go index 52982c2ab..1f22f9448 100644 --- a/openapi/experimental/go-client-generated/model_transaction_type.go +++ b/openapi/experimental/go-client-generated/model_transaction_type.go @@ -7,7 +7,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package swagger -// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. +// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. Unknown is returned for transactions that are not yet executed or could not be determined. type TransactionType string // List of TransactionType @@ -15,4 +15,5 @@ const ( STANDARD_TransactionType TransactionType = "standard" SCHEDULED_TransactionType TransactionType = "scheduled" SYSTEM_TransactionType TransactionType = "system" + UNKNOWN_TransactionType TransactionType = "unknown" ) diff --git a/openapi/experimental/openapi.yaml b/openapi/experimental/openapi.yaml index c242b94cf..b69fd930d 100644 --- a/openapi/experimental/openapi.yaml +++ b/openapi/experimental/openapi.yaml @@ -500,11 +500,12 @@ components: $ref: '#/components/schemas/Links' TransactionType: type: string - description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. + description: This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. Unknown is returned for transactions that are not yet executed or could not be determined. enum: - standard - scheduled - system + - unknown TransactionExecution: type: string description: This value indicates whether the transaction execution succeeded or not, this value should be checked when determining transaction success. diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 6116cccd2..24c33618d 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2327,11 +2327,13 @@ components: TransactionType: type: string description: "This value indicates whether the transaction is a standard transaction,\ - \ a scheduled transaction, or a system transaction." + \ a scheduled transaction, or a system transaction. Unknown is returned for\ + \ transactions that are not yet executed or could not be determined." enum: - standard - scheduled - system + - unknown TransactionExecution: type: string description: "This value indicates whether the transaction execution succeded\ diff --git a/openapi/go-client-generated/model_transaction_type.go b/openapi/go-client-generated/model_transaction_type.go index b0cce6aab..8a3ff18bb 100644 --- a/openapi/go-client-generated/model_transaction_type.go +++ b/openapi/go-client-generated/model_transaction_type.go @@ -7,7 +7,7 @@ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) */ package swagger -// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. +// TransactionType : This value indicates whether the transaction is a standard transaction, a scheduled transaction, or a system transaction. Unknown is returned for transactions that are not yet executed or could not be determined. type TransactionType string // List of TransactionType @@ -15,4 +15,5 @@ const ( STANDARD_TransactionType TransactionType = "standard" SCHEDULED_TransactionType TransactionType = "scheduled" SYSTEM_TransactionType TransactionType = "system" + UNKNOWN_TransactionType TransactionType = "unknown" )