@@ -48,7 +48,7 @@ def __init__(self, api_client=None) -> None:
48
48
def broadcast_user_operation (
49
49
self ,
50
50
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet to broadcast the user operation from." )],
51
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to broadcast. " )],
51
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to broadcast" )],
52
52
broadcast_user_operation_request : Optional [BroadcastUserOperationRequest ] = None ,
53
53
_request_timeout : Union [
54
54
None ,
@@ -69,8 +69,8 @@ def broadcast_user_operation(
69
69
70
70
:param smart_wallet_address: The address of the smart wallet to broadcast the user operation from. (required)
71
71
:type smart_wallet_address: str
72
- :param user_operation_id : The ID of the user operation to broadcast. (required)
73
- :type user_operation_id : str
72
+ :param user_op_hash : The hash of the user operation to broadcast (required)
73
+ :type user_op_hash : str
74
74
:param broadcast_user_operation_request:
75
75
:type broadcast_user_operation_request: BroadcastUserOperationRequest
76
76
:param _request_timeout: timeout setting for this request. If one
@@ -97,7 +97,7 @@ def broadcast_user_operation(
97
97
98
98
_param = self ._broadcast_user_operation_serialize (
99
99
smart_wallet_address = smart_wallet_address ,
100
- user_operation_id = user_operation_id ,
100
+ user_op_hash = user_op_hash ,
101
101
broadcast_user_operation_request = broadcast_user_operation_request ,
102
102
_request_auth = _request_auth ,
103
103
_content_type = _content_type ,
@@ -123,7 +123,7 @@ def broadcast_user_operation(
123
123
def broadcast_user_operation_with_http_info (
124
124
self ,
125
125
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet to broadcast the user operation from." )],
126
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to broadcast. " )],
126
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to broadcast" )],
127
127
broadcast_user_operation_request : Optional [BroadcastUserOperationRequest ] = None ,
128
128
_request_timeout : Union [
129
129
None ,
@@ -144,8 +144,8 @@ def broadcast_user_operation_with_http_info(
144
144
145
145
:param smart_wallet_address: The address of the smart wallet to broadcast the user operation from. (required)
146
146
:type smart_wallet_address: str
147
- :param user_operation_id : The ID of the user operation to broadcast. (required)
148
- :type user_operation_id : str
147
+ :param user_op_hash : The hash of the user operation to broadcast (required)
148
+ :type user_op_hash : str
149
149
:param broadcast_user_operation_request:
150
150
:type broadcast_user_operation_request: BroadcastUserOperationRequest
151
151
:param _request_timeout: timeout setting for this request. If one
@@ -172,7 +172,7 @@ def broadcast_user_operation_with_http_info(
172
172
173
173
_param = self ._broadcast_user_operation_serialize (
174
174
smart_wallet_address = smart_wallet_address ,
175
- user_operation_id = user_operation_id ,
175
+ user_op_hash = user_op_hash ,
176
176
broadcast_user_operation_request = broadcast_user_operation_request ,
177
177
_request_auth = _request_auth ,
178
178
_content_type = _content_type ,
@@ -198,7 +198,7 @@ def broadcast_user_operation_with_http_info(
198
198
def broadcast_user_operation_without_preload_content (
199
199
self ,
200
200
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet to broadcast the user operation from." )],
201
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to broadcast. " )],
201
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to broadcast" )],
202
202
broadcast_user_operation_request : Optional [BroadcastUserOperationRequest ] = None ,
203
203
_request_timeout : Union [
204
204
None ,
@@ -219,8 +219,8 @@ def broadcast_user_operation_without_preload_content(
219
219
220
220
:param smart_wallet_address: The address of the smart wallet to broadcast the user operation from. (required)
221
221
:type smart_wallet_address: str
222
- :param user_operation_id : The ID of the user operation to broadcast. (required)
223
- :type user_operation_id : str
222
+ :param user_op_hash : The hash of the user operation to broadcast (required)
223
+ :type user_op_hash : str
224
224
:param broadcast_user_operation_request:
225
225
:type broadcast_user_operation_request: BroadcastUserOperationRequest
226
226
:param _request_timeout: timeout setting for this request. If one
@@ -247,7 +247,7 @@ def broadcast_user_operation_without_preload_content(
247
247
248
248
_param = self ._broadcast_user_operation_serialize (
249
249
smart_wallet_address = smart_wallet_address ,
250
- user_operation_id = user_operation_id ,
250
+ user_op_hash = user_op_hash ,
251
251
broadcast_user_operation_request = broadcast_user_operation_request ,
252
252
_request_auth = _request_auth ,
253
253
_content_type = _content_type ,
@@ -268,7 +268,7 @@ def broadcast_user_operation_without_preload_content(
268
268
def _broadcast_user_operation_serialize (
269
269
self ,
270
270
smart_wallet_address ,
271
- user_operation_id ,
271
+ user_op_hash ,
272
272
broadcast_user_operation_request ,
273
273
_request_auth ,
274
274
_content_type ,
@@ -293,8 +293,8 @@ def _broadcast_user_operation_serialize(
293
293
# process the path parameters
294
294
if smart_wallet_address is not None :
295
295
_path_params ['smart_wallet_address' ] = smart_wallet_address
296
- if user_operation_id is not None :
297
- _path_params ['user_operation_id ' ] = user_operation_id
296
+ if user_op_hash is not None :
297
+ _path_params ['user_op_hash ' ] = user_op_hash
298
298
# process the query parameters
299
299
# process the header parameters
300
300
# process the form parameters
@@ -332,7 +332,7 @@ def _broadcast_user_operation_serialize(
332
332
333
333
return self .api_client .param_serialize (
334
334
method = 'POST' ,
335
- resource_path = '/v1/smart_wallets/{smart_wallet_address}/user_operations/{user_operation_id }/broadcast' ,
335
+ resource_path = '/v1/smart_wallets/{smart_wallet_address}/user_operations/{user_op_hash }/broadcast' ,
336
336
path_params = _path_params ,
337
337
query_params = _query_params ,
338
338
header_params = _header_params ,
@@ -1192,7 +1192,7 @@ def _get_smart_wallet_serialize(
1192
1192
def get_user_operation (
1193
1193
self ,
1194
1194
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet the user operation belongs to." )],
1195
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to fetch. " )],
1195
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to fetch" )],
1196
1196
_request_timeout : Union [
1197
1197
None ,
1198
1198
Annotated [StrictFloat , Field (gt = 0 )],
@@ -1212,8 +1212,8 @@ def get_user_operation(
1212
1212
1213
1213
:param smart_wallet_address: The address of the smart wallet the user operation belongs to. (required)
1214
1214
:type smart_wallet_address: str
1215
- :param user_operation_id : The ID of the user operation to fetch. (required)
1216
- :type user_operation_id : str
1215
+ :param user_op_hash : The hash of the user operation to fetch (required)
1216
+ :type user_op_hash : str
1217
1217
:param _request_timeout: timeout setting for this request. If one
1218
1218
number provided, it will be total request
1219
1219
timeout. It can also be a pair (tuple) of
@@ -1238,7 +1238,7 @@ def get_user_operation(
1238
1238
1239
1239
_param = self ._get_user_operation_serialize (
1240
1240
smart_wallet_address = smart_wallet_address ,
1241
- user_operation_id = user_operation_id ,
1241
+ user_op_hash = user_op_hash ,
1242
1242
_request_auth = _request_auth ,
1243
1243
_content_type = _content_type ,
1244
1244
_headers = _headers ,
@@ -1263,7 +1263,7 @@ def get_user_operation(
1263
1263
def get_user_operation_with_http_info (
1264
1264
self ,
1265
1265
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet the user operation belongs to." )],
1266
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to fetch. " )],
1266
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to fetch" )],
1267
1267
_request_timeout : Union [
1268
1268
None ,
1269
1269
Annotated [StrictFloat , Field (gt = 0 )],
@@ -1283,8 +1283,8 @@ def get_user_operation_with_http_info(
1283
1283
1284
1284
:param smart_wallet_address: The address of the smart wallet the user operation belongs to. (required)
1285
1285
:type smart_wallet_address: str
1286
- :param user_operation_id : The ID of the user operation to fetch. (required)
1287
- :type user_operation_id : str
1286
+ :param user_op_hash : The hash of the user operation to fetch (required)
1287
+ :type user_op_hash : str
1288
1288
:param _request_timeout: timeout setting for this request. If one
1289
1289
number provided, it will be total request
1290
1290
timeout. It can also be a pair (tuple) of
@@ -1309,7 +1309,7 @@ def get_user_operation_with_http_info(
1309
1309
1310
1310
_param = self ._get_user_operation_serialize (
1311
1311
smart_wallet_address = smart_wallet_address ,
1312
- user_operation_id = user_operation_id ,
1312
+ user_op_hash = user_op_hash ,
1313
1313
_request_auth = _request_auth ,
1314
1314
_content_type = _content_type ,
1315
1315
_headers = _headers ,
@@ -1334,7 +1334,7 @@ def get_user_operation_with_http_info(
1334
1334
def get_user_operation_without_preload_content (
1335
1335
self ,
1336
1336
smart_wallet_address : Annotated [StrictStr , Field (description = "The address of the smart wallet the user operation belongs to." )],
1337
- user_operation_id : Annotated [StrictStr , Field (description = "The ID of the user operation to fetch. " )],
1337
+ user_op_hash : Annotated [StrictStr , Field (description = "The hash of the user operation to fetch" )],
1338
1338
_request_timeout : Union [
1339
1339
None ,
1340
1340
Annotated [StrictFloat , Field (gt = 0 )],
@@ -1354,8 +1354,8 @@ def get_user_operation_without_preload_content(
1354
1354
1355
1355
:param smart_wallet_address: The address of the smart wallet the user operation belongs to. (required)
1356
1356
:type smart_wallet_address: str
1357
- :param user_operation_id : The ID of the user operation to fetch. (required)
1358
- :type user_operation_id : str
1357
+ :param user_op_hash : The hash of the user operation to fetch (required)
1358
+ :type user_op_hash : str
1359
1359
:param _request_timeout: timeout setting for this request. If one
1360
1360
number provided, it will be total request
1361
1361
timeout. It can also be a pair (tuple) of
@@ -1380,7 +1380,7 @@ def get_user_operation_without_preload_content(
1380
1380
1381
1381
_param = self ._get_user_operation_serialize (
1382
1382
smart_wallet_address = smart_wallet_address ,
1383
- user_operation_id = user_operation_id ,
1383
+ user_op_hash = user_op_hash ,
1384
1384
_request_auth = _request_auth ,
1385
1385
_content_type = _content_type ,
1386
1386
_headers = _headers ,
@@ -1400,7 +1400,7 @@ def get_user_operation_without_preload_content(
1400
1400
def _get_user_operation_serialize (
1401
1401
self ,
1402
1402
smart_wallet_address ,
1403
- user_operation_id ,
1403
+ user_op_hash ,
1404
1404
_request_auth ,
1405
1405
_content_type ,
1406
1406
_headers ,
@@ -1424,8 +1424,8 @@ def _get_user_operation_serialize(
1424
1424
# process the path parameters
1425
1425
if smart_wallet_address is not None :
1426
1426
_path_params ['smart_wallet_address' ] = smart_wallet_address
1427
- if user_operation_id is not None :
1428
- _path_params ['user_operation_id ' ] = user_operation_id
1427
+ if user_op_hash is not None :
1428
+ _path_params ['user_op_hash ' ] = user_op_hash
1429
1429
# process the query parameters
1430
1430
# process the header parameters
1431
1431
# process the form parameters
@@ -1449,7 +1449,7 @@ def _get_user_operation_serialize(
1449
1449
1450
1450
return self .api_client .param_serialize (
1451
1451
method = 'GET' ,
1452
- resource_path = '/v1/smart_wallets/{smart_wallet_address}/user_operations/{user_operation_id }' ,
1452
+ resource_path = '/v1/smart_wallets/{smart_wallet_address}/user_operations/{user_op_hash }' ,
1453
1453
path_params = _path_params ,
1454
1454
query_params = _query_params ,
1455
1455
header_params = _header_params ,
0 commit comments