circle-developer-controlled-wallets 1.0__py3-none-any.whl → 1.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of circle-developer-controlled-wallets might be problematic. Click here for more details.

Files changed (61) hide show
  1. circle/web3/developer_controlled_wallets/__init__.py +26 -24
  2. circle/web3/developer_controlled_wallets/api/signing_api.py +2 -2
  3. circle/web3/developer_controlled_wallets/api/token_lookup_api.py +1 -1
  4. circle/web3/developer_controlled_wallets/api/transactions_api.py +25 -23
  5. circle/web3/developer_controlled_wallets/api/wallet_sets_api.py +118 -80
  6. circle/web3/developer_controlled_wallets/api/wallets_api.py +240 -209
  7. circle/web3/developer_controlled_wallets/api_client.py +1 -1
  8. circle/web3/developer_controlled_wallets/configuration.py +3 -3
  9. circle/web3/developer_controlled_wallets/models/__init__.py +25 -23
  10. circle/web3/developer_controlled_wallets/models/accelerate_transaction_for_developer_response.py +1 -1
  11. circle/web3/developer_controlled_wallets/models/account_type.py +1 -1
  12. circle/web3/developer_controlled_wallets/models/bad_request_response.py +85 -0
  13. circle/web3/developer_controlled_wallets/models/balance.py +1 -1
  14. circle/web3/developer_controlled_wallets/models/blockchain.py +3 -1
  15. circle/web3/developer_controlled_wallets/models/cancel_transaction_for_developer_response.py +1 -1
  16. circle/web3/developer_controlled_wallets/models/create_contract_execution_transaction_for_developer_request.py +4 -4
  17. circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_request.py +6 -5
  18. circle/web3/developer_controlled_wallets/models/create_transfer_transaction_for_developer_response.py +1 -1
  19. circle/web3/developer_controlled_wallets/models/{create_developer_wallet_request.py → create_wallet_request.py} +9 -9
  20. circle/web3/developer_controlled_wallets/models/{create_developer_wallet_set_request.py → create_wallet_set_request.py} +11 -11
  21. circle/web3/developer_controlled_wallets/models/custody_type.py +1 -1
  22. circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_response.py → developer_wallet_set.py} +26 -17
  23. circle/web3/developer_controlled_wallets/models/{wallet_set_response.py → end_user_wallet_set.py} +24 -20
  24. circle/web3/developer_controlled_wallets/models/{ext_wallet_response_wallet.py → eoa_wallet.py} +29 -25
  25. circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request.py +2 -2
  26. circle/web3/developer_controlled_wallets/models/estimate_contract_execution_transaction_fee_request_blockchain.py +40 -0
  27. circle/web3/developer_controlled_wallets/models/estimate_transfer_transaction_fee_request.py +2 -1
  28. circle/web3/developer_controlled_wallets/models/nft.py +1 -1
  29. circle/web3/developer_controlled_wallets/models/not_authorized_response.py +85 -0
  30. circle/web3/developer_controlled_wallets/models/not_found_response.py +85 -0
  31. circle/web3/developer_controlled_wallets/models/sca_wallet.py +117 -0
  32. circle/web3/developer_controlled_wallets/models/token_blockchain.py +42 -0
  33. circle/web3/developer_controlled_wallets/models/token_response.py +3 -3
  34. circle/web3/developer_controlled_wallets/models/transaction.py +3 -3
  35. circle/web3/developer_controlled_wallets/models/{ext_update_wallet_metadata_request.py → update_wallet_request.py} +9 -9
  36. circle/web3/developer_controlled_wallets/models/{update_wallet_set_metadata_request.py → update_wallet_set_request.py} +8 -8
  37. circle/web3/developer_controlled_wallets/models/{wallet_response.py → wallet.py} +17 -22
  38. circle/web3/developer_controlled_wallets/models/{update_wallet200_response.py → wallet2.py} +13 -13
  39. circle/web3/developer_controlled_wallets/models/{ext_wallet_response.py → wallet2_data.py} +13 -13
  40. circle/web3/developer_controlled_wallets/models/wallet_metadata.py +1 -1
  41. circle/web3/developer_controlled_wallets/models/wallet_set.py +87 -0
  42. circle/web3/developer_controlled_wallets/models/{get_wallet200_response.py → wallet_set2.py} +13 -13
  43. circle/web3/developer_controlled_wallets/models/{get_wallet_set_by_id_response.py → wallet_set2_data.py} +12 -12
  44. circle/web3/developer_controlled_wallets/models/{list_wallets200_response.py → wallet_sets.py} +13 -13
  45. circle/web3/developer_controlled_wallets/models/{get_wallet_sets_response.py → wallet_sets_data.py} +12 -12
  46. circle/web3/developer_controlled_wallets/models/wallet_sets_data_wallet_sets_inner.py +140 -0
  47. circle/web3/developer_controlled_wallets/models/wallet_state.py +1 -1
  48. circle/web3/developer_controlled_wallets/models/{get_wallet_set200_response.py → wallets.py} +13 -13
  49. circle/web3/developer_controlled_wallets/models/{ext_get_all_wallets_response.py → wallets_data.py} +13 -13
  50. circle/web3/developer_controlled_wallets/models/wallets_data_wallets_inner.py +140 -0
  51. {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/METADATA +4 -4
  52. {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/RECORD +54 -52
  53. circle/web3/developer_controlled_wallets/models/create_developer_wallet200_response.py +0 -87
  54. circle/web3/developer_controlled_wallets/models/create_developer_wallet_response.py +0 -91
  55. circle/web3/developer_controlled_wallets/models/create_developer_wallet_set_response.py +0 -87
  56. circle/web3/developer_controlled_wallets/models/create_wallet_set200_response.py +0 -87
  57. circle/web3/developer_controlled_wallets/models/ext_get_wallet_by_id_response.py +0 -87
  58. circle/web3/developer_controlled_wallets/models/list_wallet_sets200_response.py +0 -87
  59. circle/web3/developer_controlled_wallets/models/update_wallet_set200_response.py +0 -87
  60. {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/WHEEL +0 -0
  61. {circle_developer_controlled_wallets-1.0.dist-info → circle_developer_controlled_wallets-1.1.0.dist-info}/top_level.txt +0 -0
@@ -22,12 +22,10 @@ from pydantic import Field, StrictStr, conint
22
22
 
23
23
  from typing import Optional
24
24
 
25
- from circle.web3.developer_controlled_wallets.models.create_developer_wallet_set_request import CreateDeveloperWalletSetRequest
26
- from circle.web3.developer_controlled_wallets.models.create_wallet_set200_response import CreateWalletSet200Response
27
- from circle.web3.developer_controlled_wallets.models.get_wallet_set200_response import GetWalletSet200Response
28
- from circle.web3.developer_controlled_wallets.models.list_wallet_sets200_response import ListWalletSets200Response
29
- from circle.web3.developer_controlled_wallets.models.update_wallet_set200_response import UpdateWalletSet200Response
30
- from circle.web3.developer_controlled_wallets.models.update_wallet_set_metadata_request import UpdateWalletSetMetadataRequest
25
+ from circle.web3.developer_controlled_wallets.models.create_wallet_set_request import CreateWalletSetRequest
26
+ from circle.web3.developer_controlled_wallets.models.update_wallet_set_request import UpdateWalletSetRequest
27
+ from circle.web3.developer_controlled_wallets.models.wallet_set2 import WalletSet2
28
+ from circle.web3.developer_controlled_wallets.models.wallet_sets import WalletSets
31
29
 
32
30
  from circle.web3.developer_controlled_wallets.api_client import ApiClient
33
31
  from circle.web3.developer_controlled_wallets.api_response import ApiResponse
@@ -67,18 +65,20 @@ class WalletSetsApi(object):
67
65
 
68
66
  @auto_fill
69
67
  @validate_arguments
70
- def create_wallet_set(self, create_developer_wallet_set_request : Annotated[CreateDeveloperWalletSetRequest, Field(..., description="WalletSet creation request")], **kwargs) -> CreateWalletSet200Response: # noqa: E501
68
+ def create_wallet_set(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSet2: # noqa: E501
71
69
  """Create a new wallet set # noqa: E501
72
70
 
73
- Generate a developer controlled wallet set. # noqa: E501
71
+ Create a developer controlled wallet set. # noqa: E501
74
72
  This method makes a synchronous HTTP request by default. To make an
75
73
  asynchronous HTTP request, please pass async_req=True
76
74
 
77
- >>> thread = api.create_wallet_set(create_developer_wallet_set_request, async_req=True)
75
+ >>> thread = api.create_wallet_set(create_wallet_set_request, x_request_id, async_req=True)
78
76
  >>> result = thread.get()
79
77
 
80
- :param create_developer_wallet_set_request: WalletSet creation request (required)
81
- :type create_developer_wallet_set_request: CreateDeveloperWalletSetRequest
78
+ :param create_wallet_set_request: Schema for the request payload to create a new wallet set. (required)
79
+ :type create_wallet_set_request: CreateWalletSetRequest
80
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
81
+ :type x_request_id: str
82
82
  :param async_req: Whether to execute the request asynchronously.
83
83
  :type async_req: bool, optional
84
84
  :param _request_timeout: timeout setting for this request. If one
@@ -88,27 +88,29 @@ class WalletSetsApi(object):
88
88
  :return: Returns the result object.
89
89
  If the method is called asynchronously,
90
90
  returns the request thread.
91
- :rtype: CreateWalletSet200Response
91
+ :rtype: WalletSet2
92
92
  """
93
93
  kwargs['_return_http_data_only'] = True
94
94
  if '_preload_content' in kwargs:
95
95
  raise ValueError("Error! Please call the create_wallet_set_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
96
- return self.create_wallet_set_with_http_info(create_developer_wallet_set_request, **kwargs) # noqa: E501
96
+ return self.create_wallet_set_with_http_info(create_wallet_set_request, x_request_id, **kwargs) # noqa: E501
97
97
 
98
98
  @auto_fill
99
99
  @validate_arguments
100
- def create_wallet_set_with_http_info(self, create_developer_wallet_set_request : Annotated[CreateDeveloperWalletSetRequest, Field(..., description="WalletSet creation request")], **kwargs) -> ApiResponse: # noqa: E501
100
+ def create_wallet_set_with_http_info(self, create_wallet_set_request : Annotated[CreateWalletSetRequest, Field(..., description="Schema for the request payload to create a new wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
101
101
  """Create a new wallet set # noqa: E501
102
102
 
103
- Generate a developer controlled wallet set. # noqa: E501
103
+ Create a developer controlled wallet set. # noqa: E501
104
104
  This method makes a synchronous HTTP request by default. To make an
105
105
  asynchronous HTTP request, please pass async_req=True
106
106
 
107
- >>> thread = api.create_wallet_set_with_http_info(create_developer_wallet_set_request, async_req=True)
107
+ >>> thread = api.create_wallet_set_with_http_info(create_wallet_set_request, x_request_id, async_req=True)
108
108
  >>> result = thread.get()
109
109
 
110
- :param create_developer_wallet_set_request: WalletSet creation request (required)
111
- :type create_developer_wallet_set_request: CreateDeveloperWalletSetRequest
110
+ :param create_wallet_set_request: Schema for the request payload to create a new wallet set. (required)
111
+ :type create_wallet_set_request: CreateWalletSetRequest
112
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
113
+ :type x_request_id: str
112
114
  :param async_req: Whether to execute the request asynchronously.
113
115
  :type async_req: bool, optional
114
116
  :param _preload_content: if False, the ApiResponse.data will
@@ -131,13 +133,14 @@ class WalletSetsApi(object):
131
133
  :return: Returns the result object.
132
134
  If the method is called asynchronously,
133
135
  returns the request thread.
134
- :rtype: tuple(CreateWalletSet200Response, status_code(int), headers(HTTPHeaderDict))
136
+ :rtype: tuple(WalletSet2, status_code(int), headers(HTTPHeaderDict))
135
137
  """
136
138
 
137
139
  _params = locals()
138
140
 
139
141
  _all_params = [
140
- 'create_developer_wallet_set_request'
142
+ 'create_wallet_set_request',
143
+ 'x_request_id'
141
144
  ]
142
145
  _all_params.extend(
143
146
  [
@@ -170,13 +173,16 @@ class WalletSetsApi(object):
170
173
  _query_params = []
171
174
  # process the header parameters
172
175
  _header_params = dict(_params.get('_headers', {}))
176
+ if _params['x_request_id']:
177
+ _header_params['X-Request-Id'] = _params['x_request_id']
178
+
173
179
  # process the form parameters
174
180
  _form_params = []
175
181
  _files = {}
176
182
  # process the body parameter
177
183
  _body_params = None
178
- if _params['create_developer_wallet_set_request'] is not None:
179
- _body_params = _params['create_developer_wallet_set_request']
184
+ if _params['create_wallet_set_request'] is not None:
185
+ _body_params = _params['create_wallet_set_request']
180
186
 
181
187
  # set the HTTP header `Accept`
182
188
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -193,12 +199,14 @@ class WalletSetsApi(object):
193
199
  _auth_settings = ['BearerAuth'] # noqa: E501
194
200
 
195
201
  _response_types_map = {
196
- '200': "CreateWalletSet200Response",
197
- '201': "CreateWalletSet200Response",
202
+ '200': "WalletSet2",
203
+ '201': "WalletSet2",
204
+ '400': "BadRequestResponse",
205
+ '401': "NotAuthorizedResponse",
198
206
  }
199
207
 
200
208
  return self.api_client.call_api(
201
- '/developer/walletSets', 'POST',
209
+ '/v1/w3s/developer/walletSets', 'POST',
202
210
  _path_params,
203
211
  _query_params,
204
212
  _header_params,
@@ -216,18 +224,20 @@ class WalletSetsApi(object):
216
224
 
217
225
  @auto_fill
218
226
  @validate_arguments
219
- def get_wallet_set(self, id : Annotated[StrictStr, Field(..., description="WalletSet ID")], **kwargs) -> GetWalletSet200Response: # noqa: E501
227
+ def get_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSet2: # noqa: E501
220
228
  """Get a wallet set # noqa: E501
221
229
 
222
- Retreive info for a single wallet set. # noqa: E501
230
+ Retrieve an existing wallet set. # noqa: E501
223
231
  This method makes a synchronous HTTP request by default. To make an
224
232
  asynchronous HTTP request, please pass async_req=True
225
233
 
226
- >>> thread = api.get_wallet_set(id, async_req=True)
234
+ >>> thread = api.get_wallet_set(id, x_request_id, async_req=True)
227
235
  >>> result = thread.get()
228
236
 
229
- :param id: WalletSet ID (required)
237
+ :param id: The universally unique identifier (UUID v4) of the resource. (required)
230
238
  :type id: str
239
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
240
+ :type x_request_id: str
231
241
  :param async_req: Whether to execute the request asynchronously.
232
242
  :type async_req: bool, optional
233
243
  :param _request_timeout: timeout setting for this request. If one
@@ -237,27 +247,29 @@ class WalletSetsApi(object):
237
247
  :return: Returns the result object.
238
248
  If the method is called asynchronously,
239
249
  returns the request thread.
240
- :rtype: GetWalletSet200Response
250
+ :rtype: WalletSet2
241
251
  """
242
252
  kwargs['_return_http_data_only'] = True
243
253
  if '_preload_content' in kwargs:
244
254
  raise ValueError("Error! Please call the get_wallet_set_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
245
- return self.get_wallet_set_with_http_info(id, **kwargs) # noqa: E501
255
+ return self.get_wallet_set_with_http_info(id, x_request_id, **kwargs) # noqa: E501
246
256
 
247
257
  @auto_fill
248
258
  @validate_arguments
249
- def get_wallet_set_with_http_info(self, id : Annotated[StrictStr, Field(..., description="WalletSet ID")], **kwargs) -> ApiResponse: # noqa: E501
259
+ def get_wallet_set_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
250
260
  """Get a wallet set # noqa: E501
251
261
 
252
- Retreive info for a single wallet set. # noqa: E501
262
+ Retrieve an existing wallet set. # noqa: E501
253
263
  This method makes a synchronous HTTP request by default. To make an
254
264
  asynchronous HTTP request, please pass async_req=True
255
265
 
256
- >>> thread = api.get_wallet_set_with_http_info(id, async_req=True)
266
+ >>> thread = api.get_wallet_set_with_http_info(id, x_request_id, async_req=True)
257
267
  >>> result = thread.get()
258
268
 
259
- :param id: WalletSet ID (required)
269
+ :param id: The universally unique identifier (UUID v4) of the resource. (required)
260
270
  :type id: str
271
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
272
+ :type x_request_id: str
261
273
  :param async_req: Whether to execute the request asynchronously.
262
274
  :type async_req: bool, optional
263
275
  :param _preload_content: if False, the ApiResponse.data will
@@ -280,13 +292,14 @@ class WalletSetsApi(object):
280
292
  :return: Returns the result object.
281
293
  If the method is called asynchronously,
282
294
  returns the request thread.
283
- :rtype: tuple(GetWalletSet200Response, status_code(int), headers(HTTPHeaderDict))
295
+ :rtype: tuple(WalletSet2, status_code(int), headers(HTTPHeaderDict))
284
296
  """
285
297
 
286
298
  _params = locals()
287
299
 
288
300
  _all_params = [
289
- 'id'
301
+ 'id',
302
+ 'x_request_id'
290
303
  ]
291
304
  _all_params.extend(
292
305
  [
@@ -322,6 +335,9 @@ class WalletSetsApi(object):
322
335
  _query_params = []
323
336
  # process the header parameters
324
337
  _header_params = dict(_params.get('_headers', {}))
338
+ if _params['x_request_id']:
339
+ _header_params['X-Request-Id'] = _params['x_request_id']
340
+
325
341
  # process the form parameters
326
342
  _form_params = []
327
343
  _files = {}
@@ -335,11 +351,13 @@ class WalletSetsApi(object):
335
351
  _auth_settings = ['BearerAuth'] # noqa: E501
336
352
 
337
353
  _response_types_map = {
338
- '200': "GetWalletSet200Response",
354
+ '200': "WalletSet2",
355
+ '401': "NotAuthorizedResponse",
356
+ '404': "NotFoundResponse",
339
357
  }
340
358
 
341
359
  return self.api_client.call_api(
342
- '/walletSets/{id}', 'GET',
360
+ '/v1/w3s/walletSets/{id}', 'GET',
343
361
  _path_params,
344
362
  _query_params,
345
363
  _header_params,
@@ -357,25 +375,27 @@ class WalletSetsApi(object):
357
375
 
358
376
  @auto_fill
359
377
  @validate_arguments
360
- def list_wallet_sets(self, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> ListWalletSets200Response: # noqa: E501
361
- """List wallet sets # noqa: E501
378
+ def get_wallet_sets(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> WalletSets: # noqa: E501
379
+ """Get all wallet sets # noqa: E501
362
380
 
363
- Retreive a list of all wallet sets. # noqa: E501
381
+ Retrieve an array of existing wallet sets. # noqa: E501
364
382
  This method makes a synchronous HTTP request by default. To make an
365
383
  asynchronous HTTP request, please pass async_req=True
366
384
 
367
- >>> thread = api.list_wallet_sets(var_from, to, page_before, page_after, page_size, async_req=True)
385
+ >>> thread = api.get_wallet_sets(x_request_id, var_from, to, page_before, page_after, page_size, async_req=True)
368
386
  >>> result = thread.get()
369
387
 
388
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
389
+ :type x_request_id: str
370
390
  :param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
371
391
  :type var_from: datetime
372
392
  :param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
373
393
  :type to: datetime
374
- :param page_before: A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageAfter.
394
+ :param page_before: A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
375
395
  :type page_before: str
376
- :param page_after: A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageBefore.
396
+ :param page_after: A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
377
397
  :type page_after: str
378
- :param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
398
+ :param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
379
399
  :type page_size: int
380
400
  :param async_req: Whether to execute the request asynchronously.
381
401
  :type async_req: bool, optional
@@ -386,34 +406,36 @@ class WalletSetsApi(object):
386
406
  :return: Returns the result object.
387
407
  If the method is called asynchronously,
388
408
  returns the request thread.
389
- :rtype: ListWalletSets200Response
409
+ :rtype: WalletSets
390
410
  """
391
411
  kwargs['_return_http_data_only'] = True
392
412
  if '_preload_content' in kwargs:
393
- raise ValueError("Error! Please call the list_wallet_sets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
394
- return self.list_wallet_sets_with_http_info(var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
413
+ raise ValueError("Error! Please call the get_wallet_sets_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
414
+ return self.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, **kwargs) # noqa: E501
395
415
 
396
416
  @auto_fill
397
417
  @validate_arguments
398
- def list_wallet_sets_with_http_info(self, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> ApiResponse: # noqa: E501
399
- """List wallet sets # noqa: E501
418
+ def get_wallet_sets_with_http_info(self, x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, var_from : Annotated[Optional[datetime], Field(description="Queries items created since the specified date-time (inclusive) in ISO 8601 format.")] = None, to : Annotated[Optional[datetime], Field(description="Queries items created before the specified date-time (inclusive) in ISO 8601 format.")] = None, page_before : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter. ")] = None, page_after : Annotated[Optional[StrictStr], Field(description="A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore. ")] = None, page_size : Annotated[Optional[conint(strict=True, le=50, ge=1)], Field(description="Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself. ")] = None, **kwargs) -> ApiResponse: # noqa: E501
419
+ """Get all wallet sets # noqa: E501
400
420
 
401
- Retreive a list of all wallet sets. # noqa: E501
421
+ Retrieve an array of existing wallet sets. # noqa: E501
402
422
  This method makes a synchronous HTTP request by default. To make an
403
423
  asynchronous HTTP request, please pass async_req=True
404
424
 
405
- >>> thread = api.list_wallet_sets_with_http_info(var_from, to, page_before, page_after, page_size, async_req=True)
425
+ >>> thread = api.get_wallet_sets_with_http_info(x_request_id, var_from, to, page_before, page_after, page_size, async_req=True)
406
426
  >>> result = thread.get()
407
427
 
428
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
429
+ :type x_request_id: str
408
430
  :param var_from: Queries items created since the specified date-time (inclusive) in ISO 8601 format.
409
431
  :type var_from: datetime
410
432
  :param to: Queries items created before the specified date-time (inclusive) in ISO 8601 format.
411
433
  :type to: datetime
412
- :param page_before: A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageAfter.
434
+ :param page_before: A collection ID value used for pagination. It marks the exclusive end of a page. When provided, the collection resource will return the next n items before the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageAfter.
413
435
  :type page_before: str
414
- :param page_after: A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjuction with pageBefore.
436
+ :param page_after: A collection ID value used for pagination. It marks the exclusive begin of a page. When provided, the collection resource will return the next n items after the id, with n being specified by pageSize. The items will be returned in the natural order of the collection. The resource will return the first page if neither pageAfter nor pageBefore are specified. SHOULD NOT be used in conjunction with pageBefore.
415
437
  :type page_after: str
416
- :param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
438
+ :param page_size: Limits the number of items to be returned. Some collections have a strict upper bound that will disregard this value. In case the specified value is higher than the allowed limit, the collection limit will be used. If avoided, the collection will determine the page size itself.
417
439
  :type page_size: int
418
440
  :param async_req: Whether to execute the request asynchronously.
419
441
  :type async_req: bool, optional
@@ -437,12 +459,13 @@ class WalletSetsApi(object):
437
459
  :return: Returns the result object.
438
460
  If the method is called asynchronously,
439
461
  returns the request thread.
440
- :rtype: tuple(ListWalletSets200Response, status_code(int), headers(HTTPHeaderDict))
462
+ :rtype: tuple(WalletSets, status_code(int), headers(HTTPHeaderDict))
441
463
  """
442
464
 
443
465
  _params = locals()
444
466
 
445
467
  _all_params = [
468
+ 'x_request_id',
446
469
  'var_from',
447
470
  'to',
448
471
  'page_before',
@@ -466,7 +489,7 @@ class WalletSetsApi(object):
466
489
  if _key not in _all_params:
467
490
  raise ApiTypeError(
468
491
  "Got an unexpected keyword argument '%s'"
469
- " to method list_wallet_sets" % _key
492
+ " to method get_wallet_sets" % _key
470
493
  )
471
494
  _params[_key] = _val
472
495
  del _params['kwargs']
@@ -501,6 +524,9 @@ class WalletSetsApi(object):
501
524
 
502
525
  # process the header parameters
503
526
  _header_params = dict(_params.get('_headers', {}))
527
+ if _params['x_request_id']:
528
+ _header_params['X-Request-Id'] = _params['x_request_id']
529
+
504
530
  # process the form parameters
505
531
  _form_params = []
506
532
  _files = {}
@@ -514,11 +540,12 @@ class WalletSetsApi(object):
514
540
  _auth_settings = ['BearerAuth'] # noqa: E501
515
541
 
516
542
  _response_types_map = {
517
- '200': "ListWalletSets200Response",
543
+ '200': "WalletSets",
544
+ '401': "NotAuthorizedResponse",
518
545
  }
519
546
 
520
547
  return self.api_client.call_api(
521
- '/walletSets', 'GET',
548
+ '/v1/w3s/walletSets', 'GET',
522
549
  _path_params,
523
550
  _query_params,
524
551
  _header_params,
@@ -536,20 +563,22 @@ class WalletSetsApi(object):
536
563
 
537
564
  @auto_fill
538
565
  @validate_arguments
539
- def update_wallet_set(self, id : Annotated[StrictStr, Field(..., description="WalletSet ID")], update_wallet_set_metadata_request : Annotated[UpdateWalletSetMetadataRequest, Field(..., description="Update walletSet metadata request")], **kwargs) -> UpdateWalletSet200Response: # noqa: E501
566
+ def update_wallet_set(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_set_request : Annotated[UpdateWalletSetRequest, Field(..., description="Schema for the request payload to update an existing wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> WalletSet2: # noqa: E501
540
567
  """Update a wallet set # noqa: E501
541
568
 
542
- Update the wallet set associated with the given wallet set ID. # noqa: E501
569
+ Update the name of the wallet set # noqa: E501
543
570
  This method makes a synchronous HTTP request by default. To make an
544
571
  asynchronous HTTP request, please pass async_req=True
545
572
 
546
- >>> thread = api.update_wallet_set(id, update_wallet_set_metadata_request, async_req=True)
573
+ >>> thread = api.update_wallet_set(id, update_wallet_set_request, x_request_id, async_req=True)
547
574
  >>> result = thread.get()
548
575
 
549
- :param id: WalletSet ID (required)
576
+ :param id: The universally unique identifier (UUID v4) of the resource. (required)
550
577
  :type id: str
551
- :param update_wallet_set_metadata_request: Update walletSet metadata request (required)
552
- :type update_wallet_set_metadata_request: UpdateWalletSetMetadataRequest
578
+ :param update_wallet_set_request: Schema for the request payload to update an existing wallet set. (required)
579
+ :type update_wallet_set_request: UpdateWalletSetRequest
580
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
581
+ :type x_request_id: str
553
582
  :param async_req: Whether to execute the request asynchronously.
554
583
  :type async_req: bool, optional
555
584
  :param _request_timeout: timeout setting for this request. If one
@@ -559,29 +588,31 @@ class WalletSetsApi(object):
559
588
  :return: Returns the result object.
560
589
  If the method is called asynchronously,
561
590
  returns the request thread.
562
- :rtype: UpdateWalletSet200Response
591
+ :rtype: WalletSet2
563
592
  """
564
593
  kwargs['_return_http_data_only'] = True
565
594
  if '_preload_content' in kwargs:
566
595
  raise ValueError("Error! Please call the update_wallet_set_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data")
567
- return self.update_wallet_set_with_http_info(id, update_wallet_set_metadata_request, **kwargs) # noqa: E501
596
+ return self.update_wallet_set_with_http_info(id, update_wallet_set_request, x_request_id, **kwargs) # noqa: E501
568
597
 
569
598
  @auto_fill
570
599
  @validate_arguments
571
- def update_wallet_set_with_http_info(self, id : Annotated[StrictStr, Field(..., description="WalletSet ID")], update_wallet_set_metadata_request : Annotated[UpdateWalletSetMetadataRequest, Field(..., description="Update walletSet metadata request")], **kwargs) -> ApiResponse: # noqa: E501
600
+ def update_wallet_set_with_http_info(self, id : Annotated[StrictStr, Field(..., description="The universally unique identifier (UUID v4) of the resource.")], update_wallet_set_request : Annotated[UpdateWalletSetRequest, Field(..., description="Schema for the request payload to update an existing wallet set.")], x_request_id : Annotated[Optional[StrictStr], Field(description="Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.")] = None, **kwargs) -> ApiResponse: # noqa: E501
572
601
  """Update a wallet set # noqa: E501
573
602
 
574
- Update the wallet set associated with the given wallet set ID. # noqa: E501
603
+ Update the name of the wallet set # noqa: E501
575
604
  This method makes a synchronous HTTP request by default. To make an
576
605
  asynchronous HTTP request, please pass async_req=True
577
606
 
578
- >>> thread = api.update_wallet_set_with_http_info(id, update_wallet_set_metadata_request, async_req=True)
607
+ >>> thread = api.update_wallet_set_with_http_info(id, update_wallet_set_request, x_request_id, async_req=True)
579
608
  >>> result = thread.get()
580
609
 
581
- :param id: WalletSet ID (required)
610
+ :param id: The universally unique identifier (UUID v4) of the resource. (required)
582
611
  :type id: str
583
- :param update_wallet_set_metadata_request: Update walletSet metadata request (required)
584
- :type update_wallet_set_metadata_request: UpdateWalletSetMetadataRequest
612
+ :param update_wallet_set_request: Schema for the request payload to update an existing wallet set. (required)
613
+ :type update_wallet_set_request: UpdateWalletSetRequest
614
+ :param x_request_id: Developer-provided parameter used to identify this request. Useful when communicating with Circle Support.
615
+ :type x_request_id: str
585
616
  :param async_req: Whether to execute the request asynchronously.
586
617
  :type async_req: bool, optional
587
618
  :param _preload_content: if False, the ApiResponse.data will
@@ -604,14 +635,15 @@ class WalletSetsApi(object):
604
635
  :return: Returns the result object.
605
636
  If the method is called asynchronously,
606
637
  returns the request thread.
607
- :rtype: tuple(UpdateWalletSet200Response, status_code(int), headers(HTTPHeaderDict))
638
+ :rtype: tuple(WalletSet2, status_code(int), headers(HTTPHeaderDict))
608
639
  """
609
640
 
610
641
  _params = locals()
611
642
 
612
643
  _all_params = [
613
644
  'id',
614
- 'update_wallet_set_metadata_request'
645
+ 'update_wallet_set_request',
646
+ 'x_request_id'
615
647
  ]
616
648
  _all_params.extend(
617
649
  [
@@ -647,13 +679,16 @@ class WalletSetsApi(object):
647
679
  _query_params = []
648
680
  # process the header parameters
649
681
  _header_params = dict(_params.get('_headers', {}))
682
+ if _params['x_request_id']:
683
+ _header_params['X-Request-Id'] = _params['x_request_id']
684
+
650
685
  # process the form parameters
651
686
  _form_params = []
652
687
  _files = {}
653
688
  # process the body parameter
654
689
  _body_params = None
655
- if _params['update_wallet_set_metadata_request'] is not None:
656
- _body_params = _params['update_wallet_set_metadata_request']
690
+ if _params['update_wallet_set_request'] is not None:
691
+ _body_params = _params['update_wallet_set_request']
657
692
 
658
693
  # set the HTTP header `Accept`
659
694
  _header_params['Accept'] = self.api_client.select_header_accept(
@@ -670,11 +705,14 @@ class WalletSetsApi(object):
670
705
  _auth_settings = ['BearerAuth'] # noqa: E501
671
706
 
672
707
  _response_types_map = {
673
- '200': "UpdateWalletSet200Response",
708
+ '200': "WalletSet2",
709
+ '400': "BadRequestResponse",
710
+ '401': "NotAuthorizedResponse",
711
+ '404': "NotFoundResponse",
674
712
  }
675
713
 
676
714
  return self.api_client.call_api(
677
- '/developer/walletSets/{id}', 'PUT',
715
+ '/v1/w3s/developer/walletSets/{id}', 'PUT',
678
716
  _path_params,
679
717
  _query_params,
680
718
  _header_params,