Skip to content

Commit c1d5a79

Browse files
committed
Update WalletDNS model
1 parent 1988939 commit c1d5a79

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Packages/ton-api/Sources/Generated/Types.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6203,6 +6203,8 @@ public enum Components {
62036203
public struct WalletDNS: Codable, Hashable, Sendable {
62046204
/// - Remark: Generated from `#/components/schemas/WalletDNS/address`.
62056205
public var address: Swift.String
6206+
/// - Remark: Generated from `#/components/schemas/WalletDNS/account`.
6207+
public var account: Components.Schemas.AccountAddress
62066208
/// - Remark: Generated from `#/components/schemas/WalletDNS/is_wallet`.
62076209
public var is_wallet: Swift.Bool
62086210
/// - Remark: Generated from `#/components/schemas/WalletDNS/has_method_pubkey`.
@@ -6215,25 +6217,29 @@ public enum Components {
62156217
///
62166218
/// - Parameters:
62176219
/// - address:
6220+
/// - account:
62186221
/// - is_wallet:
62196222
/// - has_method_pubkey:
62206223
/// - has_method_seqno:
62216224
/// - names:
62226225
public init(
62236226
address: Swift.String,
6227+
account: Components.Schemas.AccountAddress,
62246228
is_wallet: Swift.Bool,
62256229
has_method_pubkey: Swift.Bool,
62266230
has_method_seqno: Swift.Bool,
62276231
names: [Swift.String]
62286232
) {
62296233
self.address = address
6234+
self.account = account
62306235
self.is_wallet = is_wallet
62316236
self.has_method_pubkey = has_method_pubkey
62326237
self.has_method_seqno = has_method_seqno
62336238
self.names = names
62346239
}
62356240
public enum CodingKeys: String, CodingKey {
62366241
case address
6242+
case account
62376243
case is_wallet
62386244
case has_method_pubkey
62396245
case has_method_seqno

Packages/ton-api/openapi_generation/openapi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5406,10 +5406,14 @@ components:
54065406
- has_method_pubkey
54075407
- has_method_seqno
54085408
- names
5409+
- account
54095410
properties:
54105411
address:
54115412
type: string
5413+
format: address
54125414
example: "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
5415+
account:
5416+
$ref: '#/components/schemas/AccountAddress'
54135417
is_wallet:
54145418
type: boolean
54155419
example: true

0 commit comments

Comments
 (0)