@@ -10,10 +10,10 @@ def test_create_contact_import(self) -> None:
1010 {"object" : "contact_import" , "id" : "479e3145-dd38-476b-932c-529ceb705947" }
1111 )
1212
13- params : resend .ContactImports .CreateParams = {
13+ params : resend .Contacts . Imports .CreateParams = {
1414 "file" : b"email,first_name\n steve@example.com,Steve" ,
1515 }
16- resp : resend .ContactImports .CreateContactImportResponse = resend .Contacts .Imports .create (params )
16+ resp : resend .Contacts . Imports .CreateContactImportResponse = resend .Contacts .Imports .create (params )
1717 assert resp ["id" ] == "479e3145-dd38-476b-932c-529ceb705947"
1818 assert resp ["object" ] == "contact_import"
1919
@@ -22,7 +22,7 @@ def test_create_contact_import_with_options(self) -> None:
2222 {"object" : "contact_import" , "id" : "479e3145-dd38-476b-932c-529ceb705947" }
2323 )
2424
25- params : resend .ContactImports .CreateParams = {
25+ params : resend .Contacts . Imports .CreateParams = {
2626 "file" : b"email,first_name\n steve@example.com,Steve" ,
2727 "filename" : "contacts.csv" ,
2828 "on_conflict" : "upsert" ,
@@ -84,7 +84,7 @@ def test_list_contact_imports(self) -> None:
8484 }
8585 )
8686
87- result : resend .ContactImports .ListContactImportsResponse = resend .Contacts .Imports .list ()
87+ result : resend .Contacts . Imports .ListContactImportsResponse = resend .Contacts .Imports .list ()
8888 assert result ["object" ] == "list"
8989 assert result ["has_more" ] is False
9090 assert len (result ["data" ]) == 1
0 commit comments