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 CatalogObject , CatalogObject_Item , CatalogObject_ItemVariation
1513from square .types .location import Location
1614from square .types .money import Money
1715
@@ -47,7 +45,7 @@ def __init__(self):
4745
4846 def variations (self ) -> List [CatalogObject ]:
4947 return [
50- CatalogObjectItemVariation (
48+ CatalogObject_ItemVariation (
5149 type = "ITEM_VARIATION" ,
5250 id = "#variation" + str (uuid .uuid4 ()),
5351 present_at_all_locations = True ,
@@ -69,7 +67,7 @@ def new_test_money(amount: int) -> Money:
6967
7068
7169def create_test_catalog_item (opts : CreateCatalogItemOptions ) -> CatalogObject :
72- return CatalogObjectItem (
70+ return CatalogObject_Item (
7371 type = "ITEM" ,
7472 id = "#" + str (uuid .uuid4 ()),
7573 present_at_all_locations = True ,
0 commit comments