File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,19 @@ def update(self, data: Dict):
4242 }
4343 return self .format_and_send_request (data )
4444
45+ def delete (self , key : str ):
46+ """Delete an attachment in Sage Intacct.
47+
48+ Returns:
49+ Dict of state of request response
50+ """
51+ data = {
52+ 'delete_supdoc' : {
53+ '@key' : key
54+ }
55+ }
56+ return self .format_and_send_request (data )
57+
4558 def get_folder (self , field : str , value : str ):
4659 """Get attachment folder from Sage Intacct
4760
Original file line number Diff line number Diff line change 88
99setuptools .setup (
1010 name = 'sageintacctsdk' ,
11- version = '1.26.1 ' ,
11+ version = '1.26.2 ' ,
1212 author = 'Ashwin T' ,
1313 author_email = 'ashwin.t@fyle.in' ,
1414 description = 'Python SDK for accessing Sage Intacct APIs' ,
You can’t perform that action at this time.
0 commit comments