files-com 1.6.119__py3-none-any.whl → 1.6.191__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of files-com might be problematic. Click here for more details.

Files changed (36) hide show
  1. README.md +1 -0
  2. _VERSION +1 -1
  3. {files_com-1.6.119.dist-info → files_com-1.6.191.dist-info}/METADATA +2 -1
  4. {files_com-1.6.119.dist-info → files_com-1.6.191.dist-info}/RECORD +36 -31
  5. files_sdk/__init__.py +11 -1
  6. files_sdk/error.py +15 -0
  7. files_sdk/models/__init__.py +5 -0
  8. files_sdk/models/agent_push_update.py +44 -0
  9. files_sdk/models/api_key.py +7 -21
  10. files_sdk/models/as2_incoming_message.py +3 -9
  11. files_sdk/models/as2_outgoing_message.py +3 -9
  12. files_sdk/models/as2_partner.py +7 -0
  13. files_sdk/models/as2_station.py +15 -4
  14. files_sdk/models/automation.py +10 -2
  15. files_sdk/models/automation_run.py +2 -1
  16. files_sdk/models/behavior.py +12 -14
  17. files_sdk/models/bundle.py +9 -1
  18. files_sdk/models/file.py +2 -2
  19. files_sdk/models/folder.py +2 -2
  20. files_sdk/models/gpg_key.py +51 -24
  21. files_sdk/models/group.py +10 -2
  22. files_sdk/models/inbound_s3_log.py +95 -0
  23. files_sdk/models/key_lifecycle_rule.py +243 -0
  24. files_sdk/models/partner.py +12 -1
  25. files_sdk/models/public_key.py +3 -2
  26. files_sdk/models/remote_server.py +141 -20
  27. files_sdk/models/remote_server_credential.py +855 -0
  28. files_sdk/models/restore.py +20 -0
  29. files_sdk/models/site.py +12 -12
  30. files_sdk/models/sync.py +14 -0
  31. files_sdk/models/sync_run.py +3 -2
  32. files_sdk/models/user.py +26 -2
  33. files_sdk/models/workspace.py +202 -0
  34. {files_com-1.6.119.dist-info → files_com-1.6.191.dist-info}/WHEEL +0 -0
  35. {files_com-1.6.119.dist-info → files_com-1.6.191.dist-info}/licenses/LICENSE +0 -0
  36. {files_com-1.6.119.dist-info → files_com-1.6.191.dist-info}/top_level.txt +0 -0
README.md CHANGED
@@ -628,6 +628,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
628
628
  |`AlreadyCompletedError`| `ProcessingFailureError` |
629
629
  |`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
630
630
  |`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
631
+ |`BufferedUploadDisabledForThisDestinationError`| `ProcessingFailureError` |
631
632
  |`BundleOnlyAllowsPreviewsError`| `ProcessingFailureError` |
632
633
  |`BundleOperationRequiresSubfolderError`| `ProcessingFailureError` |
633
634
  |`CouldNotCreateParentError`| `ProcessingFailureError` |
_VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.119
1
+ 1.6.191
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: files_com
3
- Version: 1.6.119
3
+ Version: 1.6.191
4
4
  Summary: Python bindings for the Files.com API
5
5
  License: MIT
6
6
  Requires-Python: >=3.5
@@ -640,6 +640,7 @@ files_sdk.error.FolderAdminPermissionRequiredError -> files_sdk.error.NotAuthori
640
640
  |`AlreadyCompletedError`| `ProcessingFailureError` |
641
641
  |`AutomationCannotBeRunManuallyError`| `ProcessingFailureError` |
642
642
  |`BehaviorNotAllowedOnRemoteServerError`| `ProcessingFailureError` |
643
+ |`BufferedUploadDisabledForThisDestinationError`| `ProcessingFailureError` |
643
644
  |`BundleOnlyAllowsPreviewsError`| `ProcessingFailureError` |
644
645
  |`BundleOperationRequiresSubfolderError`| `ProcessingFailureError` |
645
646
  |`CouldNotCreateParentError`| `ProcessingFailureError` |
@@ -1,32 +1,33 @@
1
- README.md,sha256=k4K3G19zaMy-B-BPFztQzrX8Mq1bSx-cyAvuc80WIfc,32051
2
- _VERSION,sha256=q6wNBU1ZCL0Xro2l_-mhAUMNKgJLKKsuAotGcLki0Iw,8
3
- files_com-1.6.119.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
- files_sdk/__init__.py,sha256=YJiFMbJUV_6FhkFr4WtnjDzIgJl_RtwLOasDo_L8KvY,13242
1
+ README.md,sha256=8aKN5Kzi5hFh2nzFLY_3V3TF0_B83n6kIP-nPWktZzk,32129
2
+ _VERSION,sha256=E6_vN9upAVkD21d7P9Kt3v9i8Ni8tUEZX0pbjI4fZF8,8
3
+ files_com-1.6.191.dist-info/licenses/LICENSE,sha256=ziANl9OTD-5-iE8XYIZNm6IYBDxOCHwQ-mdhci7lNew,1102
4
+ files_sdk/__init__.py,sha256=hH7Usj-6QxpC__MXymMT1FghFKQDe3ACBKXA741KCMI,13862
5
5
  files_sdk/api.py,sha256=HOLk50HLQCbnHwnAr9OElQEWvdA_BABBSEvvFSt1S4A,1846
6
6
  files_sdk/api_client.py,sha256=cfFvm-o4Ao8SWADiJv7t7qnJfG_LJmWV3l6ALTC-Opo,11264
7
- files_sdk/error.py,sha256=1Nrfq2AuyTf86XH1Pwx-ykzIKpPGSUibCGs-QF6_9LI,66643
7
+ files_sdk/error.py,sha256=iC7_kFNXRn-xpHfnCix0J5UIT3JtkUpVotp1Okrm3u0,67004
8
8
  files_sdk/list_obj.py,sha256=MWgmESLAmfh1uaSw76PWxmnf9f6_08TLUHe8_mCYKL4,1157
9
9
  files_sdk/path_util.py,sha256=7x8X3JLoMkcqNefCaBeHYXD8MGvPby4AOy-xnBX_LNk,1694
10
10
  files_sdk/util.py,sha256=6aA4N0Wq_ykINW7eMrs2ntFAL2hRLM6IvJf6n_yP34c,962
11
- files_sdk/models/__init__.py,sha256=GDW9PgdDCyUUy3uUgE9gdJD2-qk4wFvbfUGHlBQ0odw,6005
11
+ files_sdk/models/__init__.py,sha256=CRP7NwvJ8oZgUKw6k8g7vCLbVy0hUhtekwyvTIO6g-Y,6316
12
12
  files_sdk/models/account_line_item.py,sha256=8FLg83Aqpz4y_QYy3fZ_KZsZFWv1f1KGD9T5CH1WSGs,1929
13
13
  files_sdk/models/action.py,sha256=M1lyMybE7SKht2nGXtYWp2l8b4oVkeImo6KF8DLiCos,2034
14
14
  files_sdk/models/action_notification_export.py,sha256=4cdEo2ZCDV3RH3GLSqHV7RWyJ2ONRSUq0glCEi94zd0,6636
15
15
  files_sdk/models/action_notification_export_result.py,sha256=yusHopmVJ9zO5lHG2C4sq4-kDnX3trRdb52SRL-R9Go,4071
16
- files_sdk/models/api_key.py,sha256=YI8-qL7OJL3buOcKCzgDxtVGADPTKHA_wkts-4yA2UM,17939
16
+ files_sdk/models/agent_push_update.py,sha256=ruFoLVbY6OLmE3ah3YU0XmbjJuV8CfGiarhj8qdimnA,1419
17
+ files_sdk/models/api_key.py,sha256=l2kHHSg6zFLnSwICnxRaQG88gQdduH_6vOpXb0-lNjc,16297
17
18
  files_sdk/models/api_request_log.py,sha256=B3H8hwo9Qadh3C9q1UI-RcS9Yetx_gYeDQtCxxmykhQ,86447
18
19
  files_sdk/models/app.py,sha256=JiK40FW3FOp_sUehb3RCWfkc9-1OcjWai15tn9BtxbU,4678
19
- files_sdk/models/as2_incoming_message.py,sha256=VEkva5pSbXo_mM4UWQLcaL3EZSgBWIPqNY8PMLTMn2o,7153
20
- files_sdk/models/as2_outgoing_message.py,sha256=7mSM2Ce-9HUsk7klRmS30kBBPMJBRWsXmWCI7Uz85MQ,6696
21
- files_sdk/models/as2_partner.py,sha256=e7gPlPqTYZorX7XZSA8iSaDAkV9U12ANAFKCviw3T3U,22467
22
- files_sdk/models/as2_station.py,sha256=XKgf0t8HVPevF1nkx8IrvGb00leahz-LSU9RG6Rn2Y4,11003
20
+ files_sdk/models/as2_incoming_message.py,sha256=YbH4X9mNdWIlDGKrKRnT_KSylKgOEPW9urEga4F2-So,7315
21
+ files_sdk/models/as2_outgoing_message.py,sha256=_RQHQkAMh3qfGwMGSph1myAd8xKrmOdb8AvUC7SOwR0,6858
22
+ files_sdk/models/as2_partner.py,sha256=AH4rc9j0Ds1RpBJ_gRYO5CNIlF138j8yi1XQkJ66Td0,23246
23
+ files_sdk/models/as2_station.py,sha256=0vLfQnAWgF9WJBmLe4n6g-GpyxHGN9RWzPWFj5URM4A,11746
23
24
  files_sdk/models/auto.py,sha256=nODYUPqEsTw7suz0s6zDTsFd8j5yeSIzBELTiaXxzRE,995
24
- files_sdk/models/automation.py,sha256=DuuBQxVVwRtldonVveDIZO-zZ1oHqOEt7oPSk9vzO5g,50784
25
+ files_sdk/models/automation.py,sha256=XhTlhVZNGTGsGtfRXxXn_tONSrz-Ya0M49C0wP-bEDA,51409
25
26
  files_sdk/models/automation_log.py,sha256=jFaFfDJTTpY9Jsy1lVRjFtIHYTzbmxuFTTBp4aVEq8E,20922
26
- files_sdk/models/automation_run.py,sha256=ThDA_5inLYaunKOcNgXFD9QLlhndJXC2TOl7-GqK098,5341
27
+ files_sdk/models/automation_run.py,sha256=aM-RVDPhEdTx9KQTSjPO5odv_E-rnlOlxFMvXkLqunw,5519
27
28
  files_sdk/models/bandwidth_snapshot.py,sha256=IBcRP5r_iFl86lhHOb5o5UZdsT8_-cBrAjKyPAc7OBw,4722
28
- files_sdk/models/behavior.py,sha256=nwXTUYZar64CE2lWaGIoWp-DWhXKgbXhU7ebQ1AOfZ8,17791
29
- files_sdk/models/bundle.py,sha256=tLuHkazuBwU3sg44zBjUwdK3x1CIZBTg7lj3-GPRX_I,36244
29
+ files_sdk/models/behavior.py,sha256=kkocek6zCU84c-OrfrSRw_w3o9wvWBcPqlyNeGpIe2M,17701
30
+ files_sdk/models/bundle.py,sha256=AarFYeaoRP_9rxLU7jR-vTBLVVDLK_i9355RLFOn4JI,36698
30
31
  files_sdk/models/bundle_action.py,sha256=Ze0A2n0EyzSxNHO_joS9fOYuQ7fmlOX_RJwC5FWSwyQ,5430
31
32
  files_sdk/models/bundle_download.py,sha256=ZSjf6R0kCiFGgjQq7bu5nsFAtaW0sE72IZhCx2g5D10,4832
32
33
  files_sdk/models/bundle_notification.py,sha256=tMauRH6qmejEisqsneVeprh4rb6UIjB43i6GY022NK8,10081
@@ -41,31 +42,33 @@ files_sdk/models/email_log.py,sha256=7dJx3PA2S4kZAwxWIFoRDPBPDWlZ-8Er8WJaIxSeiUw
41
42
  files_sdk/models/errors.py,sha256=x9hbHLBuLNp-2wq3n8A7nrzRP0QuhKqyQwhtVsgTwpE,1117
42
43
  files_sdk/models/exavault_api_request_log.py,sha256=SM5dCWSiVqshiWKclhG3FDDKWnRlBW0eoVvFlCBftkI,8090
43
44
  files_sdk/models/external_event.py,sha256=4hRg9t9W0QIB8SiJ2LUxwFefR4Odo7ip-bqdignqxpk,7594
44
- files_sdk/models/file.py,sha256=ipMIcZVBDnfpaR-_MK6bL3Fciu7BerNJWmNsqgCzWq4,35916
45
+ files_sdk/models/file.py,sha256=F85W2YQ62myY5UW9VnEYj5NZ7PviyV77mDvvC73r8FQ,35860
45
46
  files_sdk/models/file_action.py,sha256=xRUSlnikXt2Y-SbWyuSdG75l0or9Ebl518Jy8btPux4,1231
46
47
  files_sdk/models/file_comment.py,sha256=LcfN0FRcGU6xr_Y6ItLWYAkp3Nxg8wvf_JToj-Q9z-c,7160
47
48
  files_sdk/models/file_comment_reaction.py,sha256=FHvRIpcV69qwN7WEbUyMZ-8dI2EGZsLMGFDUwKzLMLc,4350
48
49
  files_sdk/models/file_migration.py,sha256=s5btcbmfKgxBzKJF60OHmQjtPEev3B04S-IlYzdzua4,2341
49
50
  files_sdk/models/file_migration_log.py,sha256=6zHvlwhK2_m2pTBtMvmohNpyHDL9E5zeUyJgTOR9F9Q,10019
50
51
  files_sdk/models/file_upload_part.py,sha256=Js2XmLdG6lpkMHgehQkoNKQ0yoKpsCbSKOXHKnHWa-8,2584
51
- files_sdk/models/folder.py,sha256=jhdSMVeUkCGTj1qIFjO91yFNO4qWbrFFYeQ4iXutKJA,11286
52
+ files_sdk/models/folder.py,sha256=rY5drNd1G0sLsRdeLeTSeYchKlOO3PSoNeTqSPAuzi8,11230
52
53
  files_sdk/models/form_field.py,sha256=xaaLnvctZ3Do5lnppn-s6UQguzfsyVpfdmz-Ykij9Nw,1509
53
54
  files_sdk/models/form_field_set.py,sha256=7hms9QZNWmSoCdZZUsYoQvTaT5lmDwDGz5YdwBZxOq8,10528
54
55
  files_sdk/models/ftp_action_log.py,sha256=Hcd-cSsDDuqKpWlneQs2rciVl91tdLsSBZO7x6CltFw,168584
55
- files_sdk/models/gpg_key.py,sha256=mwBUB904a0MESKOLJU7wv5EOz5-aSG9CZ8OBTvcscl4,13932
56
- files_sdk/models/group.py,sha256=NCWhnhjBK8jAeCgLp2qYLV2lURxuSD1QO4EsmTF_tzw,16062
56
+ files_sdk/models/gpg_key.py,sha256=9TB3w6AuIeKjZAs-PTtzaVE_NY2HDyTqmzoqKvCAEAk,15593
57
+ files_sdk/models/group.py,sha256=n1-lVfOZdcXp43c4zZzVEOuUGnew_1ANwdXegnsXA-c,16444
57
58
  files_sdk/models/group_user.py,sha256=ZVl2vQ2FuPFC9YW5Geo9iST438eLvs6Pc_BlQRGg9Sg,10087
58
59
  files_sdk/models/history.py,sha256=Elc04ji3rWWhEc68KzPzcEeCqfMSA4Jmjb9sAZ4LvKc,14138
59
60
  files_sdk/models/history_export.py,sha256=yaHqn1ogmd_t9J_OSb1O6iMvykdLA88EYuxnO_Ns_R8,14466
60
61
  files_sdk/models/history_export_result.py,sha256=Wnw1Rmz9TPduYdG6ExM4cai3poK0QhufHHU4OvR7f9E,6391
61
62
  files_sdk/models/holiday_region.py,sha256=WJyvwskMxRf3WwGgxH0bndf04xTnf1cwNEpnjZs0QUQ,2259
62
63
  files_sdk/models/image.py,sha256=xGDz4VULw5EkYGS0h6cmsRkpYv-c1qi5bhOgiyLA3mM,1052
64
+ files_sdk/models/inbound_s3_log.py,sha256=1KyQccAQ2B6oit2aIQH9i968cgJrwpwicQV7vjxDGqo,10463
63
65
  files_sdk/models/inbox_recipient.py,sha256=_iUVVsBJLmAU2GatfjxYNBTEiv4D-DoJ0vbBKAwbG1I,5762
64
66
  files_sdk/models/inbox_registration.py,sha256=SwX7B2JDjmhAJnvVUOJiRtS9KGvtN8wCW4eqOb6q9UQ,3391
65
67
  files_sdk/models/inbox_upload.py,sha256=37SxR8JX_eMn9wJQMeAfDDhqEl-_1o6nCJMHzMGW8no,4484
66
68
  files_sdk/models/invoice.py,sha256=W5fGwC5s53PZsEu_SzGXsIdxN1Pw7MQ0wGZq4brMZ1c,3753
67
69
  files_sdk/models/invoice_line_item.py,sha256=EXuvWqQyNgLBs4KLNLzatStBdJpniyn_K5dUgmUewbM,2011
68
70
  files_sdk/models/ip_address.py,sha256=Uyqd0-8gpbv2Nlt1ttTLH9ylDSTdw1dcrmRjtwDgkIw,5783
71
+ files_sdk/models/key_lifecycle_rule.py,sha256=Q4Qf6OeYeLjKetm3iTOb7XDCoXRFO3lkEHgnsVVjrP4,9432
69
72
  files_sdk/models/lock.py,sha256=RjMPVJJsWOKJ8ll3YwalC64NHDtq5GIBIh9A1w3bM7o,7229
70
73
  files_sdk/models/message.py,sha256=Lp2CHdf2AyXNjSF0giOdozvch-_sdC8FlemSPJMOZLs,10192
71
74
  files_sdk/models/message_comment.py,sha256=6Y0k_uRCKExD-0g9NobqTp22lprrwpZndrmKYhRnuHQ,8546
@@ -73,7 +76,7 @@ files_sdk/models/message_comment_reaction.py,sha256=h9Kuk1Y2ztqMG7XkyP-ufGQyS7Od
73
76
  files_sdk/models/message_reaction.py,sha256=ZGir-4Qj9k_FRC_X3Av7Yek-SZzFBK-IbvPn5HmaG5g,6288
74
77
  files_sdk/models/notification.py,sha256=HEPLDynR4lCF_vZ7-RJD8hoxaWMl3BrrkGEIbQk6-yg,21993
75
78
  files_sdk/models/outbound_connection_log.py,sha256=RJbcCNDZnbEX4aywguA6Rm4ddYtqOfQdJRHur5LXozs,45923
76
- files_sdk/models/partner.py,sha256=eao0fMooiPmoqJ236lO50-TL2ES9Nap0w9_U5RMiWN8,13848
79
+ files_sdk/models/partner.py,sha256=9y7UKUjTTLEYVGS5lFrSrxGHynJNXqFEyp6g1Fi3ZOY,14517
77
80
  files_sdk/models/payment.py,sha256=UUWxK3x2RVYQdRAWeA-WA_Oegh5TDXYPQA_m3BYd0bQ,3753
78
81
  files_sdk/models/payment_line_item.py,sha256=x97h4kBtul5S1EqI_jskhbebnucwA-EOnQn1oV8Hid0,1284
79
82
  files_sdk/models/permission.py,sha256=llVIdqsQjP7xcTPN-GuaP17hQ0GvQhKHIQhcafyg9mk,9410
@@ -82,13 +85,14 @@ files_sdk/models/priority.py,sha256=kByzhOOVwKVSxrMI5xJb1RwUtQdSuFFBLBNEHYzWSm0,
82
85
  files_sdk/models/project.py,sha256=nDpX0qc7jY6evRprjQ7l4YgjM9WNH0aXaRbE2mpo6zk,7510
83
86
  files_sdk/models/public_hosting_request_log.py,sha256=YOgcT8NX-x7Ag5ti2KU8npPRIjFItpbTHBo_ARhVtyc,7641
84
87
  files_sdk/models/public_ip_address.py,sha256=5VSlJ4PZQilV6tpGRCnyvGJzqRzdSRpwVDZxKwsplcU,1259
85
- files_sdk/models/public_key.py,sha256=3cxoQAD3TdBGgSKHtDeYT1NIKytmPi80jHiNL62jUaY,12809
88
+ files_sdk/models/public_key.py,sha256=adaLO8Z3XM0B4EhaTy_PwGIYL8iMWiFBVhg5t5AfLik,12925
86
89
  files_sdk/models/remote_bandwidth_snapshot.py,sha256=kryNewGqe_ZN4D3JBL26DoVYKDowubUNLXn7NQtEJb8,4476
87
90
  files_sdk/models/remote_mount_backend.py,sha256=TZ6pLJPLy8se4poHMuREHYNavCOKiznBxPLti008CBY,19360
88
- files_sdk/models/remote_server.py,sha256=PIIHCW53MkSfFGnkkv2ArYWDkIcgvQ95B7EEBkgMukk,82993
91
+ files_sdk/models/remote_server.py,sha256=mmw-pHBNhfZF6Mds2AzC9FkHqCF7jTG7UkO9j1il1D4,88672
89
92
  files_sdk/models/remote_server_configuration_file.py,sha256=So6cK83z_6xwLnHJYgEwzSb9eBkDK5XG2Q4k8kp9nno,3476
93
+ files_sdk/models/remote_server_credential.py,sha256=oKd3_eldntnFlrpNS-fR2ZDtJkUi_u06_iXCd33qDWo,38355
90
94
  files_sdk/models/request.py,sha256=mWOS36b5pRiAZqDuf1tGidw-FAikYPDqfv5LXdDJA9Q,8867
91
- files_sdk/models/restore.py,sha256=ukXp-fwsuGFhWl2ULAEWiKarIY3DjOIk3x3hHlshjqE,6685
95
+ files_sdk/models/restore.py,sha256=fDxydLjxeVPwDxxHGKI9sjGLR1fB7DcgGow2EgGU-A0,8620
92
96
  files_sdk/models/scim_log.py,sha256=4j_IynVzpnSttAUAxTGhT2t56_Mx7KNvZdhVplxLmPM,3747
93
97
  files_sdk/models/session.py,sha256=kgRwlDHDtwyMA3U9rk2T37Wfoo8VVr76vwLcZyaJJxM,3790
94
98
  files_sdk/models/settings_change.py,sha256=KdcDdnJVPJGRLLx-W_7pTXSJ5TJnjNHADjU9MnSr2tc,3412
@@ -97,25 +101,26 @@ files_sdk/models/sftp_host_key.py,sha256=3r5noHhRg-Hn3TLGBUDQYayKIw_Dn5waB9YmGSf
97
101
  files_sdk/models/share_group.py,sha256=rw-W2x5XFBPc48rvazaro28HfjOli885417i702Mowc,9066
98
102
  files_sdk/models/share_group_member.py,sha256=m0BUE4AhClJIoaV-_kU0yryCOwQ5EloZlyHQ4WaCVdU,1248
99
103
  files_sdk/models/siem_http_destination.py,sha256=xr_6T1V5SY39LzGXWBtaPYCk_W2_IkmW304p179uDpQ,54672
100
- files_sdk/models/site.py,sha256=cxXogtBHPPk1ZruEPP-IBcyKP9QKHFzgBGlmH1gwunc,70076
104
+ files_sdk/models/site.py,sha256=-ndk514oxgn14zzXJhY6kkeEVu4Hp3457VnSnx7oa3s,70354
101
105
  files_sdk/models/snapshot.py,sha256=zmdQWKR8EhUkF1mFQHFzWfreaEVXG1p_jEtmY4j3cKA,9840
102
106
  files_sdk/models/sso_strategy.py,sha256=PA_B4cF4XUnzaTjH0Ld0yUNwWCy8Wpea46YuJrrXtXM,9305
103
107
  files_sdk/models/status.py,sha256=IIY3RiJ2RZ2yPByAAh8eIq_cgZFTj13eR4UpqHTANQI,1363
104
108
  files_sdk/models/style.py,sha256=KZY0fZ4kP4AtwZpCi24EtNXL8WFLhE9a1Jme1gA6Kkw,5201
105
- files_sdk/models/sync.py,sha256=dIlmpq4LNwYRMeD5-cQpx6r3XCpF5r8uvzYFGFT17fA,28291
109
+ files_sdk/models/sync.py,sha256=N5vsuNYYorzbMp-UC9LPz2rqK2kk89K1PV21eP-dUVw,29608
106
110
  files_sdk/models/sync_log.py,sha256=DjJaLnCgAE-FINRbkHYQ3JCsERucRy6Hc7zQoKBntRc,18062
107
- files_sdk/models/sync_run.py,sha256=O-rpqkNWQ8qo8qsPiPcZUmtBiZUrOfRr3qqjbT--4pg,6955
111
+ files_sdk/models/sync_run.py,sha256=FKoVwhPkmjnKnVI2TwUAM2QGzYkBMMI_EIvUQ0vQ48Y,7733
108
112
  files_sdk/models/usage_by_top_level_dir.py,sha256=o_dETvzcgEA9lsdES_yzwPVAZVFk4ZcnsCTugR8O8eY,1185
109
113
  files_sdk/models/usage_daily_snapshot.py,sha256=rWf6GaTlN9spkUPwfF4IJ0Y6z-JTV9TAWjsFrxI-UFg,5477
110
114
  files_sdk/models/usage_snapshot.py,sha256=3GzMIxBjKelgNP7ksWq4XlrRlAFcYxzd_J6vAgb52qc,4005
111
- files_sdk/models/user.py,sha256=hs0QtLzaGKdJZV1ZhYZHKYBM6OW8VYW8Tk4p_i4LYmk,64862
115
+ files_sdk/models/user.py,sha256=XtkoVHWpocu-Uiz5zJHNyaf5CePlIz9bm60VHBoRyfw,66422
112
116
  files_sdk/models/user_cipher_use.py,sha256=5Mto-oU87rG2jGIq8TQoOdNZgJA4_ViikvOdM9_jdt0,4994
113
117
  files_sdk/models/user_lifecycle_rule.py,sha256=cphIpz9lbHh8g1kIeK91N46LVAQRk-1Wbrjs51byOOA,16422
114
118
  files_sdk/models/user_request.py,sha256=ykA5Lq0MYB7qTDOMMFBuyKa_R_LgQwGVorC-q-6qxgU,6187
115
119
  files_sdk/models/user_sftp_client_use.py,sha256=VnOo3ll6fwSc8grG5ZqGK8o3grYKg5P9b5B_hGS4vCs,2827
116
120
  files_sdk/models/web_dav_action_log.py,sha256=q--_QSmpOhtoJUP2ATx5OQq1tp1eQT5zkzyow8R3B_o,76414
117
121
  files_sdk/models/webhook_test.py,sha256=AWGH8ULsgltBJL2YtTYGnAJ80cCVekrjZ2sUP0UlWgc,5018
118
- files_com-1.6.119.dist-info/METADATA,sha256=RCEgKrVuYksoV2g13sl2kMG-UO6mc5Ho7l6MqvCH158,32344
119
- files_com-1.6.119.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
120
- files_com-1.6.119.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
121
- files_com-1.6.119.dist-info/RECORD,,
122
+ files_sdk/models/workspace.py,sha256=t8oCa7nZqvoqxVwPV5hpbTHn1ixLUvTiUzE88Ibh7kg,7648
123
+ files_com-1.6.191.dist-info/METADATA,sha256=nYAdpBK-L5fg0_4NDJtdTwM1N6k7hIQVoKejqrX_unM,32422
124
+ files_com-1.6.191.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
125
+ files_com-1.6.191.dist-info/top_level.txt,sha256=p_2P-gluT_8boeXQNixTP3x-tFd1-la2NedKOiln21I,10
126
+ files_com-1.6.191.dist-info/RECORD,,
files_sdk/__init__.py CHANGED
@@ -3,6 +3,7 @@ import files_sdk.models.account_line_item as account_line_item
3
3
  import files_sdk.models.action as action
4
4
  import files_sdk.models.action_notification_export as action_notification_export
5
5
  import files_sdk.models.action_notification_export_result as action_notification_export_result
6
+ import files_sdk.models.agent_push_update as agent_push_update
6
7
  import files_sdk.models.api_key as api_key
7
8
  import files_sdk.models.api_request_log as api_request_log
8
9
  import files_sdk.models.app as app
@@ -50,12 +51,14 @@ import files_sdk.models.history_export as history_export
50
51
  import files_sdk.models.history_export_result as history_export_result
51
52
  import files_sdk.models.holiday_region as holiday_region
52
53
  import files_sdk.models.image as image
54
+ import files_sdk.models.inbound_s3_log as inbound_s3_log
53
55
  import files_sdk.models.inbox_recipient as inbox_recipient
54
56
  import files_sdk.models.inbox_registration as inbox_registration
55
57
  import files_sdk.models.inbox_upload as inbox_upload
56
58
  import files_sdk.models.invoice as invoice
57
59
  import files_sdk.models.invoice_line_item as invoice_line_item
58
60
  import files_sdk.models.ip_address as ip_address
61
+ import files_sdk.models.key_lifecycle_rule as key_lifecycle_rule
59
62
  import files_sdk.models.lock as lock
60
63
  import files_sdk.models.message as message
61
64
  import files_sdk.models.message_comment as message_comment
@@ -77,6 +80,7 @@ import files_sdk.models.remote_bandwidth_snapshot as remote_bandwidth_snapshot
77
80
  import files_sdk.models.remote_mount_backend as remote_mount_backend
78
81
  import files_sdk.models.remote_server as remote_server
79
82
  import files_sdk.models.remote_server_configuration_file as remote_server_configuration_file
83
+ import files_sdk.models.remote_server_credential as remote_server_credential
80
84
  import files_sdk.models.request as request
81
85
  import files_sdk.models.restore as restore
82
86
  import files_sdk.models.scim_log as scim_log
@@ -105,6 +109,7 @@ import files_sdk.models.user_request as user_request
105
109
  import files_sdk.models.user_sftp_client_use as user_sftp_client_use
106
110
  import files_sdk.models.web_dav_action_log as web_dav_action_log
107
111
  import files_sdk.models.webhook_test as webhook_test
112
+ import files_sdk.models.workspace as workspace
108
113
 
109
114
  from files_sdk.models.account_line_item import AccountLineItem
110
115
  from files_sdk.models.action import Action
@@ -114,6 +119,7 @@ from files_sdk.models.action_notification_export import (
114
119
  from files_sdk.models.action_notification_export_result import (
115
120
  ActionNotificationExportResult,
116
121
  )
122
+ from files_sdk.models.agent_push_update import AgentPushUpdate
117
123
  from files_sdk.models.api_key import ApiKey
118
124
  from files_sdk.models.api_request_log import ApiRequestLog
119
125
  from files_sdk.models.app import App
@@ -163,12 +169,14 @@ from files_sdk.models.history_export import HistoryExport
163
169
  from files_sdk.models.history_export_result import HistoryExportResult
164
170
  from files_sdk.models.holiday_region import HolidayRegion
165
171
  from files_sdk.models.image import Image
172
+ from files_sdk.models.inbound_s3_log import InboundS3Log
166
173
  from files_sdk.models.inbox_recipient import InboxRecipient
167
174
  from files_sdk.models.inbox_registration import InboxRegistration
168
175
  from files_sdk.models.inbox_upload import InboxUpload
169
176
  from files_sdk.models.invoice import Invoice
170
177
  from files_sdk.models.invoice_line_item import InvoiceLineItem
171
178
  from files_sdk.models.ip_address import IpAddress
179
+ from files_sdk.models.key_lifecycle_rule import KeyLifecycleRule
172
180
  from files_sdk.models.lock import Lock
173
181
  from files_sdk.models.message import Message
174
182
  from files_sdk.models.message_comment import MessageComment
@@ -192,6 +200,7 @@ from files_sdk.models.remote_server import RemoteServer
192
200
  from files_sdk.models.remote_server_configuration_file import (
193
201
  RemoteServerConfigurationFile,
194
202
  )
203
+ from files_sdk.models.remote_server_credential import RemoteServerCredential
195
204
  from files_sdk.models.request import Request
196
205
  from files_sdk.models.restore import Restore
197
206
  from files_sdk.models.scim_log import ScimLog
@@ -220,6 +229,7 @@ from files_sdk.models.user_request import UserRequest
220
229
  from files_sdk.models.user_sftp_client_use import UserSftpClientUse
221
230
  from files_sdk.models.web_dav_action_log import WebDavActionLog
222
231
  from files_sdk.models.webhook_test import WebhookTest
232
+ from files_sdk.models.workspace import Workspace
223
233
 
224
234
  import files_sdk.path_util
225
235
  import socket
@@ -231,7 +241,7 @@ session_id = None
231
241
  source_ip = None
232
242
  base_url = "https://app.files.com"
233
243
  base_path = "api/rest/v1"
234
- version = "1.6.119"
244
+ version = "1.6.191"
235
245
 
236
246
  __version__ = version
237
247
 
files_sdk/error.py CHANGED
@@ -1957,6 +1957,21 @@ class BehaviorNotAllowedOnRemoteServerError(ProcessingFailureError):
1957
1957
  )
1958
1958
 
1959
1959
 
1960
+ class BufferedUploadDisabledForThisDestinationError(ProcessingFailureError):
1961
+ def __init__(
1962
+ self,
1963
+ message=None,
1964
+ http_body=None,
1965
+ http_status=None,
1966
+ json_body=None,
1967
+ headers=None,
1968
+ code=None,
1969
+ ):
1970
+ super().__init__(
1971
+ message, http_body, http_status, json_body, headers, code
1972
+ )
1973
+
1974
+
1960
1975
  class BundleOnlyAllowsPreviewsError(ProcessingFailureError):
1961
1976
  def __init__(
1962
1977
  self,
@@ -6,6 +6,7 @@ from files_sdk.models.action_notification_export import (
6
6
  from files_sdk.models.action_notification_export_result import (
7
7
  ActionNotificationExportResult,
8
8
  )
9
+ from files_sdk.models.agent_push_update import AgentPushUpdate
9
10
  from files_sdk.models.api_key import ApiKey
10
11
  from files_sdk.models.api_request_log import ApiRequestLog
11
12
  from files_sdk.models.app import App
@@ -55,12 +56,14 @@ from files_sdk.models.history_export import HistoryExport
55
56
  from files_sdk.models.history_export_result import HistoryExportResult
56
57
  from files_sdk.models.holiday_region import HolidayRegion
57
58
  from files_sdk.models.image import Image
59
+ from files_sdk.models.inbound_s3_log import InboundS3Log
58
60
  from files_sdk.models.inbox_recipient import InboxRecipient
59
61
  from files_sdk.models.inbox_registration import InboxRegistration
60
62
  from files_sdk.models.inbox_upload import InboxUpload
61
63
  from files_sdk.models.invoice import Invoice
62
64
  from files_sdk.models.invoice_line_item import InvoiceLineItem
63
65
  from files_sdk.models.ip_address import IpAddress
66
+ from files_sdk.models.key_lifecycle_rule import KeyLifecycleRule
64
67
  from files_sdk.models.lock import Lock
65
68
  from files_sdk.models.message import Message
66
69
  from files_sdk.models.message_comment import MessageComment
@@ -84,6 +87,7 @@ from files_sdk.models.remote_server import RemoteServer
84
87
  from files_sdk.models.remote_server_configuration_file import (
85
88
  RemoteServerConfigurationFile,
86
89
  )
90
+ from files_sdk.models.remote_server_credential import RemoteServerCredential
87
91
  from files_sdk.models.request import Request
88
92
  from files_sdk.models.restore import Restore
89
93
  from files_sdk.models.scim_log import ScimLog
@@ -112,3 +116,4 @@ from files_sdk.models.user_request import UserRequest
112
116
  from files_sdk.models.user_sftp_client_use import UserSftpClientUse
113
117
  from files_sdk.models.web_dav_action_log import WebDavActionLog
114
118
  from files_sdk.models.webhook_test import WebhookTest
119
+ from files_sdk.models.workspace import Workspace
@@ -0,0 +1,44 @@
1
+ import builtins # noqa: F401
2
+ from files_sdk.api import Api # noqa: F401
3
+ from files_sdk.error import ( # noqa: F401
4
+ InvalidParameterError,
5
+ MissingParameterError,
6
+ NotImplementedError,
7
+ )
8
+
9
+
10
+ class AgentPushUpdate:
11
+ default_attributes = {
12
+ "version": None, # string - Pushed agent version
13
+ "message": None, # string - Update accepted or reason
14
+ "current_version": None, # string - Installed agent version
15
+ "pending_version": None, # string - Pending agent version or null
16
+ "last_error": None, # string - Last error message or null
17
+ "error": None, # string - Error code
18
+ }
19
+
20
+ def __init__(self, attributes=None, options=None):
21
+ if not isinstance(attributes, dict):
22
+ attributes = {}
23
+ if not isinstance(options, dict):
24
+ options = {}
25
+ self.set_attributes(attributes)
26
+ self.options = options
27
+
28
+ def set_attributes(self, attributes):
29
+ for (
30
+ attribute,
31
+ default_value,
32
+ ) in AgentPushUpdate.default_attributes.items():
33
+ setattr(self, attribute, attributes.get(attribute, default_value))
34
+
35
+ def get_attributes(self):
36
+ return {
37
+ k: getattr(self, k, None)
38
+ for k in AgentPushUpdate.default_attributes
39
+ if getattr(self, k, None) is not None
40
+ }
41
+
42
+
43
+ def new(*args, **kwargs):
44
+ return AgentPushUpdate(*args, **kwargs)
@@ -50,7 +50,6 @@ class ApiKey:
50
50
  # Parameters:
51
51
  # description - string - User-supplied description of API key.
52
52
  # expires_at - string - API Key expiration date
53
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
54
53
  # name - string - Internal name for the API Key. For your use.
55
54
  def update(self, params=None):
56
55
  if not isinstance(params, dict):
@@ -76,12 +75,6 @@ class ApiKey:
76
75
  raise InvalidParameterError(
77
76
  "Bad parameter: expires_at must be an str"
78
77
  )
79
- if "permission_set" in params and not isinstance(
80
- params["permission_set"], str
81
- ):
82
- raise InvalidParameterError(
83
- "Bad parameter: permission_set must be an str"
84
- )
85
78
  if "name" in params and not isinstance(params["name"], str):
86
79
  raise InvalidParameterError("Bad parameter: name must be an str")
87
80
  response, _options = Api.send_request(
@@ -204,10 +197,10 @@ def get(id, params=None, options=None):
204
197
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
205
198
  # description - string - User-supplied description of API key.
206
199
  # expires_at - string - API Key expiration date
207
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
208
200
  # name (required) - string - Internal name for the API Key. For your use.
209
201
  # aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
210
202
  # path - string - Folder path restriction for `office_integration` permission set API keys.
203
+ # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
211
204
  def create(params=None, options=None):
212
205
  if not isinstance(params, dict):
213
206
  params = {}
@@ -221,12 +214,6 @@ def create(params=None, options=None):
221
214
  )
222
215
  if "expires_at" in params and not isinstance(params["expires_at"], str):
223
216
  raise InvalidParameterError("Bad parameter: expires_at must be an str")
224
- if "permission_set" in params and not isinstance(
225
- params["permission_set"], str
226
- ):
227
- raise InvalidParameterError(
228
- "Bad parameter: permission_set must be an str"
229
- )
230
217
  if "name" in params and not isinstance(params["name"], str):
231
218
  raise InvalidParameterError("Bad parameter: name must be an str")
232
219
  if "aws_style_credentials" in params and not isinstance(
@@ -237,6 +224,12 @@ def create(params=None, options=None):
237
224
  )
238
225
  if "path" in params and not isinstance(params["path"], str):
239
226
  raise InvalidParameterError("Bad parameter: path must be an str")
227
+ if "permission_set" in params and not isinstance(
228
+ params["permission_set"], str
229
+ ):
230
+ raise InvalidParameterError(
231
+ "Bad parameter: permission_set must be an str"
232
+ )
240
233
  if "name" not in params:
241
234
  raise MissingParameterError("Parameter missing: name")
242
235
  response, options = Api.send_request("POST", "/api_keys", params, options)
@@ -269,7 +262,6 @@ def update_current(params=None, options=None):
269
262
  # Parameters:
270
263
  # description - string - User-supplied description of API key.
271
264
  # expires_at - string - API Key expiration date
272
- # permission_set - string - Permissions for this API Key. It must be full for site-wide API Keys. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
273
265
  # name - string - Internal name for the API Key. For your use.
274
266
  def update(id, params=None, options=None):
275
267
  if not isinstance(params, dict):
@@ -285,12 +277,6 @@ def update(id, params=None, options=None):
285
277
  )
286
278
  if "expires_at" in params and not isinstance(params["expires_at"], str):
287
279
  raise InvalidParameterError("Bad parameter: expires_at must be an str")
288
- if "permission_set" in params and not isinstance(
289
- params["permission_set"], str
290
- ):
291
- raise InvalidParameterError(
292
- "Bad parameter: permission_set must be an str"
293
- )
294
280
  if "name" in params and not isinstance(params["name"], str):
295
281
  raise InvalidParameterError("Bad parameter: name must be an str")
296
282
  if "id" not in params:
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2IncomingMessage:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Incoming Message.
14
15
  "as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
15
16
  "as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
16
17
  "uuid": None, # string - UUID assigned to this message.
@@ -72,13 +73,12 @@ class As2IncomingMessage:
72
73
  # Parameters:
73
74
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
74
75
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
75
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
76
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
76
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
77
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
77
78
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
78
79
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
79
80
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
80
81
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
81
- # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
82
82
  def list(params=None, options=None):
83
83
  if not isinstance(params, dict):
84
84
  params = {}
@@ -104,12 +104,6 @@ def list(params=None, options=None):
104
104
  raise InvalidParameterError(
105
105
  "Bad parameter: filter_lteq must be an dict"
106
106
  )
107
- if "as2_partner_id" in params and not isinstance(
108
- params["as2_partner_id"], int
109
- ):
110
- raise InvalidParameterError(
111
- "Bad parameter: as2_partner_id must be an int"
112
- )
113
107
  return ListObj(
114
108
  As2IncomingMessage, "GET", "/as2_incoming_messages", params, options
115
109
  )
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2OutgoingMessage:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Outgoing Message.
14
15
  "as2_partner_id": None, # int64 - Id of the AS2 Partner associated with this message.
15
16
  "as2_station_id": None, # int64 - Id of the AS2 Station associated with this message.
16
17
  "uuid": None, # string - UUID assigned to this message.
@@ -68,13 +69,12 @@ class As2OutgoingMessage:
68
69
  # Parameters:
69
70
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
70
71
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
71
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at` and `as2_partner_id`.
72
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
72
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `created_at` or `as2_partner_id`.
73
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `as2_station_id`, `workspace_id` or `as2_partner_id`. Valid field combinations are `[ as2_station_id, created_at ]`, `[ workspace_id, created_at ]`, `[ as2_partner_id, created_at ]`, `[ workspace_id, as2_station_id ]`, `[ workspace_id, as2_partner_id ]`, `[ workspace_id, as2_station_id, created_at ]` or `[ workspace_id, as2_partner_id, created_at ]`.
73
74
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
74
75
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
75
76
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
76
77
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
77
- # as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
78
78
  def list(params=None, options=None):
79
79
  if not isinstance(params, dict):
80
80
  params = {}
@@ -100,12 +100,6 @@ def list(params=None, options=None):
100
100
  raise InvalidParameterError(
101
101
  "Bad parameter: filter_lteq must be an dict"
102
102
  )
103
- if "as2_partner_id" in params and not isinstance(
104
- params["as2_partner_id"], int
105
- ):
106
- raise InvalidParameterError(
107
- "Bad parameter: as2_partner_id must be an int"
108
- )
109
103
  return ListObj(
110
104
  As2OutgoingMessage, "GET", "/as2_outgoing_messages", params, options
111
105
  )
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2Partner:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - ID of the AS2 Partner.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Partner.
14
15
  "as2_station_id": None, # int64 - ID of the AS2 Station associated with this partner.
15
16
  "name": None, # string - The partner's formal AS2 name.
16
17
  "uri": None, # string - Public URI where we will send the AS2 messages (via HTTP/HTTPS).
@@ -165,6 +166,8 @@ class As2Partner:
165
166
  # Parameters:
166
167
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
167
168
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
169
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id`, `as2_station_id` or `name`.
170
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `as2_station_id` and `workspace_id`. Valid field combinations are `[ workspace_id, as2_station_id ]`.
168
171
  def list(params=None, options=None):
169
172
  if not isinstance(params, dict):
170
173
  params = {}
@@ -174,6 +177,10 @@ def list(params=None, options=None):
174
177
  raise InvalidParameterError("Bad parameter: cursor must be an str")
175
178
  if "per_page" in params and not isinstance(params["per_page"], int):
176
179
  raise InvalidParameterError("Bad parameter: per_page must be an int")
180
+ if "sort_by" in params and not isinstance(params["sort_by"], dict):
181
+ raise InvalidParameterError("Bad parameter: sort_by must be an dict")
182
+ if "filter" in params and not isinstance(params["filter"], dict):
183
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
177
184
  return ListObj(As2Partner, "GET", "/as2_partners", params, options)
178
185
 
179
186
 
@@ -11,6 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class As2Station:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Id of the AS2 Station.
14
+ "workspace_id": None, # int64 - ID of the Workspace associated with this AS2 Station.
14
15
  "name": None, # string - The station's formal AS2 name.
15
16
  "uri": None, # string - Public URI for sending AS2 message to.
16
17
  "domain": None, # string - The station's AS2 domain name.
@@ -48,7 +49,7 @@ class As2Station:
48
49
  }
49
50
 
50
51
  # Parameters:
51
- # name - string - AS2 Name
52
+ # name - string - The station's formal AS2 name.
52
53
  # public_certificate - string
53
54
  # private_key - string
54
55
  # private_key_password - string
@@ -128,7 +129,8 @@ class As2Station:
128
129
  # Parameters:
129
130
  # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
130
131
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
131
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `name`.
132
+ # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `name`.
133
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `workspace_id`.
132
134
  def list(params=None, options=None):
133
135
  if not isinstance(params, dict):
134
136
  params = {}
@@ -140,6 +142,8 @@ def list(params=None, options=None):
140
142
  raise InvalidParameterError("Bad parameter: per_page must be an int")
141
143
  if "sort_by" in params and not isinstance(params["sort_by"], dict):
142
144
  raise InvalidParameterError("Bad parameter: sort_by must be an dict")
145
+ if "filter" in params and not isinstance(params["filter"], dict):
146
+ raise InvalidParameterError("Bad parameter: filter must be an dict")
143
147
  return ListObj(As2Station, "GET", "/as2_stations", params, options)
144
148
 
145
149
 
@@ -170,7 +174,8 @@ def get(id, params=None, options=None):
170
174
 
171
175
 
172
176
  # Parameters:
173
- # name (required) - string - AS2 Name
177
+ # name (required) - string - The station's formal AS2 name.
178
+ # workspace_id - int64 - ID of the Workspace associated with this AS2 Station.
174
179
  # public_certificate (required) - string
175
180
  # private_key (required) - string
176
181
  # private_key_password - string
@@ -181,6 +186,12 @@ def create(params=None, options=None):
181
186
  options = {}
182
187
  if "name" in params and not isinstance(params["name"], str):
183
188
  raise InvalidParameterError("Bad parameter: name must be an str")
189
+ if "workspace_id" in params and not isinstance(
190
+ params["workspace_id"], int
191
+ ):
192
+ raise InvalidParameterError(
193
+ "Bad parameter: workspace_id must be an int"
194
+ )
184
195
  if "public_certificate" in params and not isinstance(
185
196
  params["public_certificate"], str
186
197
  ):
@@ -210,7 +221,7 @@ def create(params=None, options=None):
210
221
 
211
222
 
212
223
  # Parameters:
213
- # name - string - AS2 Name
224
+ # name - string - The station's formal AS2 name.
214
225
  # public_certificate - string
215
226
  # private_key - string
216
227
  # private_key_password - string