99from square .types .address import Address
1010from square .types .catalog_item import CatalogItem
1111from square .types .catalog_item_variation import CatalogItemVariation
12- from square .types .catalog_object import CatalogObject
13- from square .types .catalog_object_item import CatalogObjectItem
14- from square .types .catalog_object_item_variation import CatalogObjectItemVariation
12+ from square .types .catalog_object import (
13+ CatalogObject ,
14+ CatalogObject_Item ,
15+ CatalogObject_ItemVariation ,
16+ )
1517from square .types .location import Location
1618from square .types .money import Money
1719
@@ -47,7 +49,7 @@ def __init__(self):
4749
4850 def variations (self ) -> List [CatalogObject ]:
4951 return [
50- CatalogObjectItemVariation (
52+ CatalogObject_ItemVariation (
5153 type = "ITEM_VARIATION" ,
5254 id = "#variation" + str (uuid .uuid4 ()),
5355 present_at_all_locations = True ,
@@ -69,7 +71,7 @@ def new_test_money(amount: int) -> Money:
6971
7072
7173def create_test_catalog_item (opts : CreateCatalogItemOptions ) -> CatalogObject :
72- return CatalogObjectItem (
74+ return CatalogObject_Item (
7375 type = "ITEM" ,
7476 id = "#" + str (uuid .uuid4 ()),
7577 present_at_all_locations = True ,
0 commit comments