@@ -53,6 +53,19 @@ def create(
5353 destination : Literal [
5454 "Inbox" , "JunkEmail" , "DeletedItems" , "RecoverableItemsDeletions" , "RecoverableItemsPurges"
5555 ],
56+ expected_disposition : Literal [
57+ "MALICIOUS" ,
58+ "MALICIOUS-BEC" ,
59+ "SUSPICIOUS" ,
60+ "SPOOF" ,
61+ "SPAM" ,
62+ "BULK" ,
63+ "ENCRYPTED" ,
64+ "EXTERNAL" ,
65+ "UNKNOWN" ,
66+ "NONE" ,
67+ ]
68+ | Omit = omit ,
5669 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5770 # The extra values given here take precedence over values defined on the client or passed to this method.
5871 extra_headers : Headers | None = None ,
@@ -89,7 +102,13 @@ def create(
89102 investigate_id = investigate_id ,
90103 ),
91104 page = SyncSinglePage [MoveCreateResponse ],
92- body = maybe_transform ({"destination" : destination }, move_create_params .MoveCreateParams ),
105+ body = maybe_transform (
106+ {
107+ "destination" : destination ,
108+ "expected_disposition" : expected_disposition ,
109+ },
110+ move_create_params .MoveCreateParams ,
111+ ),
93112 options = make_request_options (
94113 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
95114 ),
@@ -104,6 +123,19 @@ def bulk(
104123 destination : Literal [
105124 "Inbox" , "JunkEmail" , "DeletedItems" , "RecoverableItemsDeletions" , "RecoverableItemsPurges"
106125 ],
126+ expected_disposition : Literal [
127+ "MALICIOUS" ,
128+ "MALICIOUS-BEC" ,
129+ "SUSPICIOUS" ,
130+ "SPOOF" ,
131+ "SPAM" ,
132+ "BULK" ,
133+ "ENCRYPTED" ,
134+ "EXTERNAL" ,
135+ "UNKNOWN" ,
136+ "NONE" ,
137+ ]
138+ | Omit = omit ,
107139 ids : SequenceNotStr [str ] | Omit = omit ,
108140 postfix_ids : SequenceNotStr [str ] | Omit = omit ,
109141 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -142,6 +174,7 @@ def bulk(
142174 body = maybe_transform (
143175 {
144176 "destination" : destination ,
177+ "expected_disposition" : expected_disposition ,
145178 "ids" : ids ,
146179 "postfix_ids" : postfix_ids ,
147180 },
@@ -183,6 +216,19 @@ def create(
183216 destination : Literal [
184217 "Inbox" , "JunkEmail" , "DeletedItems" , "RecoverableItemsDeletions" , "RecoverableItemsPurges"
185218 ],
219+ expected_disposition : Literal [
220+ "MALICIOUS" ,
221+ "MALICIOUS-BEC" ,
222+ "SUSPICIOUS" ,
223+ "SPOOF" ,
224+ "SPAM" ,
225+ "BULK" ,
226+ "ENCRYPTED" ,
227+ "EXTERNAL" ,
228+ "UNKNOWN" ,
229+ "NONE" ,
230+ ]
231+ | Omit = omit ,
186232 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
187233 # The extra values given here take precedence over values defined on the client or passed to this method.
188234 extra_headers : Headers | None = None ,
@@ -219,7 +265,13 @@ def create(
219265 investigate_id = investigate_id ,
220266 ),
221267 page = AsyncSinglePage [MoveCreateResponse ],
222- body = maybe_transform ({"destination" : destination }, move_create_params .MoveCreateParams ),
268+ body = maybe_transform (
269+ {
270+ "destination" : destination ,
271+ "expected_disposition" : expected_disposition ,
272+ },
273+ move_create_params .MoveCreateParams ,
274+ ),
223275 options = make_request_options (
224276 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
225277 ),
@@ -234,6 +286,19 @@ def bulk(
234286 destination : Literal [
235287 "Inbox" , "JunkEmail" , "DeletedItems" , "RecoverableItemsDeletions" , "RecoverableItemsPurges"
236288 ],
289+ expected_disposition : Literal [
290+ "MALICIOUS" ,
291+ "MALICIOUS-BEC" ,
292+ "SUSPICIOUS" ,
293+ "SPOOF" ,
294+ "SPAM" ,
295+ "BULK" ,
296+ "ENCRYPTED" ,
297+ "EXTERNAL" ,
298+ "UNKNOWN" ,
299+ "NONE" ,
300+ ]
301+ | Omit = omit ,
237302 ids : SequenceNotStr [str ] | Omit = omit ,
238303 postfix_ids : SequenceNotStr [str ] | Omit = omit ,
239304 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -272,6 +337,7 @@ def bulk(
272337 body = maybe_transform (
273338 {
274339 "destination" : destination ,
340+ "expected_disposition" : expected_disposition ,
275341 "ids" : ids ,
276342 "postfix_ids" : postfix_ids ,
277343 },
0 commit comments