Files.com 1.4.82__tar.gz → 1.4.84__tar.gz

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.
Files changed (110) hide show
  1. {Files.com-1.4.82 → Files.com-1.4.84}/Files.com.egg-info/PKG-INFO +1 -1
  2. {Files.com-1.4.82 → Files.com-1.4.84}/PKG-INFO +1 -1
  3. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/__init__.py +1 -1
  4. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/api_client.py +11 -13
  5. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/account_line_item.py +2 -2
  6. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/action.py +1 -1
  7. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/app.py +1 -1
  8. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/automation.py +7 -7
  9. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle.py +2 -2
  10. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/errors.py +2 -2
  11. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_comment.py +1 -1
  12. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/form_field.py +1 -1
  13. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/form_field_set.py +2 -2
  14. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/group_user.py +1 -1
  15. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/history.py +1 -1
  16. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/invoice.py +2 -2
  17. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/ip_address.py +1 -1
  18. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/message.py +1 -1
  19. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/message_comment.py +1 -1
  20. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/notification.py +3 -3
  21. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/payment.py +2 -2
  22. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/settings_change.py +1 -1
  23. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/share_group.py +1 -1
  24. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/site.py +2 -2
  25. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/status.py +1 -1
  26. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/user.py +1 -1
  27. {Files.com-1.4.82 → Files.com-1.4.84}/Files.com.egg-info/SOURCES.txt +0 -0
  28. {Files.com-1.4.82 → Files.com-1.4.84}/Files.com.egg-info/dependency_links.txt +0 -0
  29. {Files.com-1.4.82 → Files.com-1.4.84}/Files.com.egg-info/requires.txt +0 -0
  30. {Files.com-1.4.82 → Files.com-1.4.84}/Files.com.egg-info/top_level.txt +0 -0
  31. {Files.com-1.4.82 → Files.com-1.4.84}/README.md +0 -0
  32. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/api.py +0 -0
  33. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/error.py +0 -0
  34. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/list_obj.py +0 -0
  35. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/__init__.py +0 -0
  36. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/action_notification_export.py +0 -0
  37. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/action_notification_export_result.py +0 -0
  38. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/action_webhook_failure.py +0 -0
  39. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/api_key.py +0 -0
  40. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/api_request_log.py +0 -0
  41. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/as2_incoming_message.py +0 -0
  42. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/as2_outgoing_message.py +0 -0
  43. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/as2_partner.py +0 -0
  44. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/as2_station.py +0 -0
  45. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/auto.py +0 -0
  46. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/automation_log.py +0 -0
  47. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/automation_run.py +0 -0
  48. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bandwidth_snapshot.py +0 -0
  49. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/behavior.py +0 -0
  50. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_action.py +0 -0
  51. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_download.py +0 -0
  52. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_notification.py +0 -0
  53. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_path.py +0 -0
  54. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_recipient.py +0 -0
  55. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/bundle_registration.py +0 -0
  56. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/clickwrap.py +0 -0
  57. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/dns_record.py +0 -0
  58. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/email_incoming_message.py +0 -0
  59. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/email_log.py +0 -0
  60. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/exavault_api_request_log.py +0 -0
  61. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/external_event.py +0 -0
  62. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file.py +0 -0
  63. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_action.py +0 -0
  64. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_comment_reaction.py +0 -0
  65. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_migration.py +0 -0
  66. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_migration_log.py +0 -0
  67. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/file_upload_part.py +0 -0
  68. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/folder.py +0 -0
  69. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/ftp_action_log.py +0 -0
  70. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/gpg_key.py +0 -0
  71. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/group.py +0 -0
  72. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/history_export.py +0 -0
  73. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/history_export_result.py +0 -0
  74. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/image.py +0 -0
  75. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/inbox_recipient.py +0 -0
  76. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/inbox_registration.py +0 -0
  77. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/inbox_upload.py +0 -0
  78. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/invoice_line_item.py +0 -0
  79. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/lock.py +0 -0
  80. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/message_comment_reaction.py +0 -0
  81. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/message_reaction.py +0 -0
  82. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/payment_line_item.py +0 -0
  83. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/permission.py +0 -0
  84. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/preview.py +0 -0
  85. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/priority.py +0 -0
  86. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/project.py +0 -0
  87. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/public_ip_address.py +0 -0
  88. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/public_key.py +0 -0
  89. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/remote_bandwidth_snapshot.py +0 -0
  90. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/remote_server.py +0 -0
  91. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/remote_server_configuration_file.py +0 -0
  92. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/request.py +0 -0
  93. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/session.py +0 -0
  94. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/sftp_action_log.py +0 -0
  95. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/sftp_host_key.py +0 -0
  96. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/share_group_member.py +0 -0
  97. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/snapshot.py +0 -0
  98. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/sso_strategy.py +0 -0
  99. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/style.py +0 -0
  100. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/sync_log.py +0 -0
  101. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/usage_daily_snapshot.py +0 -0
  102. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/usage_snapshot.py +0 -0
  103. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/user_cipher_use.py +0 -0
  104. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/user_request.py +0 -0
  105. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/models/webhook_test.py +0 -0
  106. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/path_util.py +0 -0
  107. {Files.com-1.4.82 → Files.com-1.4.84}/files_sdk/util.py +0 -0
  108. {Files.com-1.4.82 → Files.com-1.4.84}/pyproject.toml +0 -0
  109. {Files.com-1.4.82 → Files.com-1.4.84}/setup.cfg +0 -0
  110. {Files.com-1.4.82 → Files.com-1.4.84}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: Files.com
3
- Version: 1.4.82
3
+ Version: 1.4.84
4
4
  Summary: Python bindings for the Files.com API
5
5
  Home-page: UNKNOWN
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: Files.com
3
- Version: 1.4.82
3
+ Version: 1.4.84
4
4
  Summary: Python bindings for the Files.com API
5
5
  Home-page: UNKNOWN
6
6
  License: MIT
@@ -197,7 +197,7 @@ the_api_key = ""
197
197
  session_id = None
198
198
  base_url = "https://app.files.com"
199
199
  base_path = "api/rest/v1"
200
- version = "1.4.82"
200
+ version = "1.4.84"
201
201
 
202
202
  __version__ = version
203
203
 
@@ -19,6 +19,8 @@ class ApiClient:
19
19
  The Files.com API Client.
20
20
  """
21
21
 
22
+ session = requests.Session()
23
+
22
24
  def __init__(self):
23
25
  pass
24
26
 
@@ -123,19 +125,15 @@ class ApiClient:
123
125
  request_start = time.time()
124
126
  try:
125
127
  self.log_request(request, try_num)
126
- with requests.Session() as s:
127
- prepped = request.prepare()
128
- settings = s.merge_environment_settings(
129
- prepped.url, {}, None, None, None
130
- )
131
- response = s.send(
132
- prepped,
133
- timeout=(
134
- files_sdk.open_timeout,
135
- files_sdk.read_timeout,
136
- ),
137
- **settings,
138
- )
128
+ prepped = request.prepare()
129
+ settings = self.session.merge_environment_settings(
130
+ prepped.url, {}, None, None, None
131
+ )
132
+ response = self.session.send(
133
+ prepped,
134
+ timeout=(files_sdk.open_timeout, files_sdk.read_timeout),
135
+ **settings,
136
+ )
139
137
  self.log_response(
140
138
  request,
141
139
  request_start,
@@ -15,9 +15,9 @@ class AccountLineItem:
15
15
  "created_at": None, # date-time - Line item created at
16
16
  "currency": None, # string - Line item currency
17
17
  "download_uri": None, # string - Line item download uri
18
- "invoice_line_items": None, # array - Associated invoice line items
18
+ "invoice_line_items": None, # array(object) - Associated invoice line items
19
19
  "method": None, # string - Line item payment method
20
- "payment_line_items": None, # array - Associated payment line items
20
+ "payment_line_items": None, # array(object) - Associated payment line items
21
21
  "payment_reversed_at": None, # date-time - Date/time payment was reversed if applicable
22
22
  "payment_type": None, # string - Type of payment if applicable
23
23
  "site_name": None, # string - Site name this line item is for
@@ -16,7 +16,7 @@ class Action:
16
16
  "display": None, # string - Friendly displayed output
17
17
  "ip": None, # string - IP Address that performed this action
18
18
  "source": None, # string - The source path for this action, if applicable
19
- "targets": None, # array - Targets
19
+ "targets": None, # array(object) - Targets
20
20
  "user_id": None, # int64 - User ID
21
21
  "username": None, # string - Username
22
22
  "action": None, # string - Type of action
@@ -25,7 +25,7 @@ class App:
25
25
  "name": None, # string - Name of the App
26
26
  "package_manager_install_command": None, # string - Package manager install command
27
27
  "remote_server_type": None, # string - Associated Remote Server type, if any
28
- "screenshot_list_urls": None, # array - Screenshots of the App
28
+ "screenshot_list_urls": None, # array(string) - Screenshots of the App
29
29
  "sdk_installation_instructions_link": None, # string - Link to SDK installation instructions
30
30
  "short_description": None, # string - Short description of the App
31
31
  "sso_strategy_type": None, # string - Associated SSO Strategy type, if any
@@ -17,10 +17,10 @@ class Automation:
17
17
  "description": None, # string - Description for the this Automation.
18
18
  "destination_replace_from": None, # string - If set, this string in the destination path will be replaced with the value in `destination_replace_to`.
19
19
  "destination_replace_to": None, # string - If set, this string will replace the value `destination_replace_from` in the destination filename. You can use special patterns here.
20
- "destinations": None, # array - Destination Paths
20
+ "destinations": None, # array(string) - Destination Paths
21
21
  "disabled": None, # boolean - If true, this automation will not run.
22
22
  "flatten_destination_structure": None, # boolean - Normally copy and move automations that use globs will implicitly preserve the source folder structure in the destination. If this flag is `true`, the source folder structure will be flattened in the destination. This is useful for copying or moving files from multiple folders into a single destination folder.
23
- "group_ids": None, # array - IDs of Groups for the Automation (i.e. who to Request File from)
23
+ "group_ids": None, # array(int64) - IDs of Groups for the Automation (i.e. who to Request File from)
24
24
  "ignore_locked_folders": None, # boolean - If true, the Lock Folders behavior will be disregarded for automated actions.
25
25
  "interval": None, # string - If trigger is `daily`, this specifies how often to run this automation. One of: `day`, `week`, `week_end`, `month`, `month_end`, `quarter`, `quarter_end`, `year`, `year_end`
26
26
  "last_modified_at": None, # date-time - Time when automation was last modified. Does not change for name or description updates.
@@ -31,15 +31,15 @@ class Automation:
31
31
  "recurring_day": None, # int64 - If trigger type is `daily`, this specifies a day number to run in one of the supported intervals: `week`, `month`, `quarter`, `year`.
32
32
  "schedule": None, # object - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run in json format.
33
33
  "human_readable_schedule": None, # string - If trigger is `custom_schedule`, Human readable Custom schedule description for when the automation should be run.
34
- "schedule_days_of_week": None, # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
35
- "schedule_times_of_day": None, # array - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
34
+ "schedule_days_of_week": None, # array(int64) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc.
35
+ "schedule_times_of_day": None, # array(string) - If trigger is `custom_schedule`, Custom schedule description for when the automation should be run. Times of day in HH:MM format.
36
36
  "schedule_time_zone": None, # string - If trigger is `custom_schedule`, Custom schedule Time Zone for when the automation should be run.
37
37
  "source": None, # string - Source Path
38
- "sync_ids": None, # array - IDs of remote sync folder behaviors to run by this Automation
39
- "trigger_actions": None, # array - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
38
+ "sync_ids": None, # array(int64) - IDs of remote sync folder behaviors to run by this Automation
39
+ "trigger_actions": None, # array(string) - If trigger is `action`, this is the list of action types on which to trigger the automation. Valid actions are create, read, update, destroy, move, copy
40
40
  "trigger": None, # string - How this automation is triggered to run.
41
41
  "user_id": None, # int64 - User ID of the Automation's creator.
42
- "user_ids": None, # array - IDs of Users for the Automation (i.e. who to Request File from)
42
+ "user_ids": None, # array(int64) - IDs of Users for the Automation (i.e. who to Request File from)
43
43
  "value": None, # object - A Hash of attributes specific to the automation type.
44
44
  "webhook_url": None, # string - If trigger is `webhook`, this is the URL of the webhook to trigger the Automation.
45
45
  "destination": None, # string - DEPRECATED: Destination Path. Use `destinations` instead.
@@ -47,8 +47,8 @@ class Bundle:
47
47
  "watermark_attachment": None, # Image - Preview watermark image applied to all bundle items.
48
48
  "watermark_value": None, # object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
49
49
  "has_inbox": None, # boolean - Does this bundle have an associated inbox?
50
- "paths": None, # array - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
51
- "bundlepaths": None, # array - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
50
+ "paths": None, # array(string) - A list of paths in this bundle. For performance reasons, this is not provided when listing bundles.
51
+ "bundlepaths": None, # array(object) - A list of bundlepaths in this bundle. For performance reasons, this is not provided when listing bundles.
52
52
  "password": None, # string - Password for this bundle.
53
53
  "form_field_set_id": None, # int64 - Id of Form Field Set to use with this bundle
54
54
  "create_snapshot": None, # boolean - If true, create a snapshot of this bundle's contents.
@@ -9,8 +9,8 @@ from files_sdk.error import ( # noqa: F401
9
9
 
10
10
  class Errors:
11
11
  default_attributes = {
12
- "fields": None, # array - A list of fields where errors occur
13
- "messages": None, # array - A list of error messages
12
+ "fields": None, # array(string) - A list of fields where errors occur
13
+ "messages": None, # array(string) - A list of error messages
14
14
  }
15
15
 
16
16
  def __init__(self, attributes=None, options=None):
@@ -12,7 +12,7 @@ class FileComment:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - File Comment ID
14
14
  "body": None, # string - Comment body.
15
- "reactions": None, # array - Reactions to this comment.
15
+ "reactions": None, # array(object) - Reactions to this comment.
16
16
  "path": None, # string - File path.
17
17
  }
18
18
 
@@ -14,7 +14,7 @@ class FormField:
14
14
  "required": None, # boolean - Is this a required field?
15
15
  "help_text": None, # string - Help text to be displayed
16
16
  "field_type": None, # string - Type of Field
17
- "options_for_select": None, # array - Options to display for radio and dropdown
17
+ "options_for_select": None, # array(string) - Options to display for radio and dropdown
18
18
  "default_option": None, # string - Default option for radio and dropdown
19
19
  "form_field_set_id": None, # int64 - Form field set id
20
20
  }
@@ -12,8 +12,8 @@ class FormFieldSet:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Form field set id
14
14
  "title": None, # string - Title to be displayed
15
- "form_layout": None, # array - Layout of the form
16
- "form_fields": None, # array - Associated form fields
15
+ "form_layout": None, # array(int64) - Layout of the form
16
+ "form_fields": None, # array(object) - Associated form fields
17
17
  "skip_name": None, # boolean - Any associated InboxRegistrations or BundleRegistrations can be saved without providing name
18
18
  "skip_email": None, # boolean - Any associated InboxRegistrations or BundleRegistrations can be saved without providing email
19
19
  "skip_company": None, # boolean - Any associated InboxRegistrations or BundleRegistrations can be saved without providing company
@@ -14,7 +14,7 @@ class GroupUser:
14
14
  "group_id": None, # int64 - Group ID
15
15
  "user_id": None, # int64 - User ID
16
16
  "admin": None, # boolean - Is this user an administrator of this group?
17
- "usernames": None, # array - A list of usernames for users in this group
17
+ "usernames": None, # array(string) - A list of usernames for users in this group
18
18
  "id": None, # int64 - Group User ID.
19
19
  }
20
20
 
@@ -18,7 +18,7 @@ class History:
18
18
  "display": None, # string - Friendly displayed output
19
19
  "ip": None, # string - IP Address that performed this action
20
20
  "source": None, # string - The source path for this action, if applicable
21
- "targets": None, # array - Targets
21
+ "targets": None, # array(object) - Targets
22
22
  "user_id": None, # int64 - User ID
23
23
  "username": None, # string - Username
24
24
  "action": None, # string - Type of action
@@ -17,9 +17,9 @@ class Invoice:
17
17
  "created_at": None, # date-time - Line item created at
18
18
  "currency": None, # string - Line item currency
19
19
  "download_uri": None, # string - Line item download uri
20
- "invoice_line_items": None, # array - Associated invoice line items
20
+ "invoice_line_items": None, # array(object) - Associated invoice line items
21
21
  "method": None, # string - Line item payment method
22
- "payment_line_items": None, # array - Associated payment line items
22
+ "payment_line_items": None, # array(object) - Associated payment line items
23
23
  "payment_reversed_at": None, # date-time - Date/time payment was reversed if applicable
24
24
  "payment_type": None, # string - Type of payment if applicable
25
25
  "site_name": None, # string - Site name this line item is for
@@ -14,7 +14,7 @@ class IpAddress:
14
14
  "id": None, # string - Unique label for list; used by Zapier and other integrations.
15
15
  "associated_with": None, # string - The object that this public IP address list is associated with.
16
16
  "group_id": None, # int64 - Group ID
17
- "ip_addresses": None, # array - A list of IP addresses.
17
+ "ip_addresses": None, # array(string) - A list of IP addresses.
18
18
  }
19
19
 
20
20
  def __init__(self, attributes=None, options=None):
@@ -13,7 +13,7 @@ class Message:
13
13
  "id": None, # int64 - Message ID
14
14
  "subject": None, # string - Message subject.
15
15
  "body": None, # string - Message body.
16
- "comments": None, # array - Comments.
16
+ "comments": None, # array(object) - Comments.
17
17
  "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
18
18
  "project_id": None, # int64 - Project to which the message should be attached.
19
19
  }
@@ -12,7 +12,7 @@ class MessageComment:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - Message Comment ID
14
14
  "body": None, # string - Comment body.
15
- "reactions": None, # array - Reactions to this comment.
15
+ "reactions": None, # array(object) - Reactions to this comment.
16
16
  "user_id": None, # int64 - User ID. Provide a value of `0` to operate the current session's user.
17
17
  }
18
18
 
@@ -14,8 +14,8 @@ class Notification:
14
14
  "path": None, # string - Folder path to notify on This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
15
15
  "group_id": None, # int64 - ID of Group to receive notifications
16
16
  "group_name": None, # string - Group name, if a Group ID is set
17
- "triggering_group_ids": None, # array - If set, will only notify on actions made by a member of one of the specified groups
18
- "triggering_user_ids": None, # array - If set, will onlynotify on actions made one of the specified users
17
+ "triggering_group_ids": None, # array(int64) - If set, will only notify on actions made by a member of one of the specified groups
18
+ "triggering_user_ids": None, # array(int64) - If set, will onlynotify on actions made one of the specified users
19
19
  "trigger_by_share_recipients": None, # boolean - Notify when actions are performed by a share recipient?
20
20
  "notify_user_actions": None, # boolean - If true, will send notifications about a user's own activity to that user. If false, only activity performed by other users (or anonymous users) will be sent in notifications.
21
21
  "notify_on_copy": None, # boolean - Trigger on files copied to this path?
@@ -26,7 +26,7 @@ class Notification:
26
26
  "recursive": None, # boolean - Apply notification recursively? This will enable notifications for each subfolder.
27
27
  "send_interval": None, # string - The time interval that notifications are aggregated to
28
28
  "message": None, # string - Custom message to include in notification emails
29
- "triggering_filenames": None, # array - Array of filenames (possibly with wildcards) to scope trigger
29
+ "triggering_filenames": None, # array(string) - Array of filenames (possibly with wildcards) to scope trigger
30
30
  "unsubscribed": None, # boolean - Is the user unsubscribed from this notification?
31
31
  "unsubscribed_reason": None, # string - The reason that the user unsubscribed
32
32
  "user_id": None, # int64 - Notification user ID
@@ -17,9 +17,9 @@ class Payment:
17
17
  "created_at": None, # date-time - Line item created at
18
18
  "currency": None, # string - Line item currency
19
19
  "download_uri": None, # string - Line item download uri
20
- "invoice_line_items": None, # array - Associated invoice line items
20
+ "invoice_line_items": None, # array(object) - Associated invoice line items
21
21
  "method": None, # string - Line item payment method
22
- "payment_line_items": None, # array - Associated payment line items
22
+ "payment_line_items": None, # array(object) - Associated payment line items
23
23
  "payment_reversed_at": None, # date-time - Date/time payment was reversed if applicable
24
24
  "payment_type": None, # string - Type of payment if applicable
25
25
  "site_name": None, # string - Site name this line item is for
@@ -10,7 +10,7 @@ from files_sdk.error import ( # noqa: F401
10
10
 
11
11
  class SettingsChange:
12
12
  default_attributes = {
13
- "changes": None, # array - Markdown-formatted change messages.
13
+ "changes": None, # array(string) - Markdown-formatted change messages.
14
14
  "created_at": None, # date-time - The time this change was made
15
15
  "user_id": None, # int64 - The user id responsible for this change
16
16
  "api_key_id": None, # int64 - The api key id responsible for this change
@@ -14,7 +14,7 @@ class ShareGroup:
14
14
  "name": None, # string - Name of the share group
15
15
  "notes": None, # string - Additional notes of the share group
16
16
  "user_id": None, # int64 - Owner User ID
17
- "members": None, # array - A list of share group members
17
+ "members": None, # array(object) - A list of share group members
18
18
  }
19
19
 
20
20
  def __init__(self, attributes=None, options=None):
@@ -11,7 +11,7 @@ from files_sdk.error import ( # noqa: F401
11
11
  class Site:
12
12
  default_attributes = {
13
13
  "name": None, # string - Site name
14
- "additional_text_file_types": None, # array - Additional extensions that are considered text files
14
+ "additional_text_file_types": None, # array(string) - Additional extensions that are considered text files
15
15
  "allowed_2fa_method_sms": None, # boolean - Is SMS two factor authentication allowed?
16
16
  "allowed_2fa_method_totp": None, # boolean - Is TOTP two factor authentication allowed?
17
17
  "allowed_2fa_method_u2f": None, # boolean - Is U2F two factor authentication allowed?
@@ -31,7 +31,7 @@ class Site:
31
31
  "bundle_expiration": None, # int64 - Site-wide Bundle expiration in days
32
32
  "bundle_not_found_message": None, # string - Custom error message to show when bundle is not found.
33
33
  "bundle_password_required": None, # boolean - Do Bundles require password protection?
34
- "bundle_recipient_blacklist_domains": None, # array - List of email domains to disallow when entering a Bundle/Inbox recipients
34
+ "bundle_recipient_blacklist_domains": None, # array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
35
35
  "bundle_recipient_blacklist_free_email_domains": None, # boolean - Disallow free email domains for Bundle/Inbox recipients?
36
36
  "bundle_registration_notifications": None, # string - Do Bundle owners receive registration notification?
37
37
  "bundle_require_registration": None, # boolean - Do Bundles require registration?
@@ -13,7 +13,7 @@ class Status:
13
13
  "message": None, # string - Error message
14
14
  "status": None, # string - Status message
15
15
  "data": None, # Auto - Additional data
16
- "errors": None, # array - A list of api errors
16
+ "errors": None, # array(object) - A list of api errors
17
17
  "clickwrap_id": None, # int64 - Required Clickwrap id
18
18
  "clickwrap_body": None, # string - Required Clickwrap body
19
19
  }
@@ -12,7 +12,7 @@ class User:
12
12
  default_attributes = {
13
13
  "id": None, # int64 - User ID
14
14
  "username": None, # string - User's username
15
- "admin_group_ids": None, # array - List of group IDs of which this user is an administrator
15
+ "admin_group_ids": None, # array(int64) - List of group IDs of which this user is an administrator
16
16
  "allowed_ips": None, # string - A list of allowed IPs if applicable. Newline delimited
17
17
  "attachments_permission": None, # boolean - DEPRECATED: Can the user create Bundles (aka Share Links)? Use the bundle permission instead.
18
18
  "api_keys_count": None, # int64 - Number of api keys associated with this user
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes