Skip to content

Commit 6352d42

Browse files
Matthew Littlezone117x
Matthew Little
authored andcommitted
chore: rebuild client with latest schema changes
1 parent 75f7f8e commit 6352d42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/generated/models/RosettaConstructionMetadataRequest.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export interface RosettaConstructionMetadataRequest {
4848
options: RosettaOptions;
4949
/**
5050
*
51-
* @type {RosettaPublicKey}
51+
* @type {Array<RosettaPublicKey>}
5252
* @memberof RosettaConstructionMetadataRequest
5353
*/
54-
public_keys?: RosettaPublicKey;
54+
public_keys?: Array<RosettaPublicKey>;
5555
}
5656

5757
export function RosettaConstructionMetadataRequestFromJSON(json: any): RosettaConstructionMetadataRequest {
@@ -66,7 +66,7 @@ export function RosettaConstructionMetadataRequestFromJSONTyped(json: any, ignor
6666

6767
'network_identifier': NetworkIdentifierFromJSON(json['network_identifier']),
6868
'options': RosettaOptionsFromJSON(json['options']),
69-
'public_keys': !exists(json, 'public_keys') ? undefined : RosettaPublicKeyFromJSON(json['public_keys']),
69+
'public_keys': !exists(json, 'public_keys') ? undefined : ((json['public_keys'] as Array<any>).map(RosettaPublicKeyFromJSON)),
7070
};
7171
}
7272

@@ -81,7 +81,7 @@ export function RosettaConstructionMetadataRequestToJSON(value?: RosettaConstruc
8181

8282
'network_identifier': NetworkIdentifierToJSON(value.network_identifier),
8383
'options': RosettaOptionsToJSON(value.options),
84-
'public_keys': RosettaPublicKeyToJSON(value.public_keys),
84+
'public_keys': value.public_keys === undefined ? undefined : ((value.public_keys as Array<any>).map(RosettaPublicKeyToJSON)),
8585
};
8686
}
8787

0 commit comments

Comments
 (0)