files.com 1.1.671 → 1.1.673

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 (349) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/action_log.md +1 -21
  4. data/docs/action_notification_export_result.md +0 -17
  5. data/docs/ai_assistant_personality.md +0 -14
  6. data/docs/ai_task.md +0 -14
  7. data/docs/api_key.md +1 -27
  8. data/docs/api_request_log.md +1 -21
  9. data/docs/app.md +0 -15
  10. data/docs/as2_incoming_message.md +0 -18
  11. data/docs/as2_outgoing_message.md +0 -18
  12. data/docs/as2_partner.md +0 -14
  13. data/docs/as2_station.md +0 -14
  14. data/docs/automation.md +1 -22
  15. data/docs/automation_log.md +1 -21
  16. data/docs/automation_run.md +0 -19
  17. data/docs/bandwidth_snapshot.md +0 -18
  18. data/docs/behavior.md +0 -14
  19. data/docs/bundle.md +1 -50
  20. data/docs/bundle_action.md +0 -25
  21. data/docs/bundle_download.md +0 -23
  22. data/docs/bundle_notification.md +0 -19
  23. data/docs/bundle_recipient.md +0 -21
  24. data/docs/bundle_registration.md +0 -61
  25. data/docs/chat_session.md +2 -14
  26. data/docs/child_site_management_policy.md +0 -9
  27. data/docs/clickwrap.md +0 -13
  28. data/docs/custom_domain.md +0 -13
  29. data/docs/desktop_configuration_profile.md +0 -14
  30. data/docs/dns_record.md +0 -9
  31. data/docs/email_incoming_message.md +0 -19
  32. data/docs/email_log.md +1 -20
  33. data/docs/event_channel.md +0 -14
  34. data/docs/event_delivery_attempt.md +0 -14
  35. data/docs/event_record.md +0 -19
  36. data/docs/event_subscription.md +0 -14
  37. data/docs/event_target.md +0 -14
  38. data/docs/exavault_api_request_log.md +1 -21
  39. data/docs/expectation.md +0 -14
  40. data/docs/expectation_evaluation.md +0 -14
  41. data/docs/expectation_incident.md +0 -14
  42. data/docs/external_event.md +0 -18
  43. data/docs/file.md +2 -90
  44. data/docs/file_migration.md +0 -32
  45. data/docs/file_migration_log.md +1 -20
  46. data/docs/file_upload_part.md +1 -3
  47. data/docs/folder.md +0 -20
  48. data/docs/form_field_set.md +0 -15
  49. data/docs/ftp_action_log.md +1 -21
  50. data/docs/gpg_key.md +0 -21
  51. data/docs/group.md +0 -19
  52. data/docs/group_user.md +2 -22
  53. data/docs/history.md +0 -85
  54. data/docs/history_export_result.md +0 -17
  55. data/docs/holiday_region.md +0 -9
  56. data/docs/inbound_s3_log.md +1 -21
  57. data/docs/inbox_recipient.md +0 -19
  58. data/docs/inbox_registration.md +0 -57
  59. data/docs/inbox_upload.md +0 -18
  60. data/docs/invoice.md +0 -9
  61. data/docs/ip_address.md +0 -59
  62. data/docs/key_lifecycle_rule.md +0 -14
  63. data/docs/lock.md +0 -15
  64. data/docs/message.md +0 -17
  65. data/docs/message_comment.md +0 -18
  66. data/docs/message_comment_reaction.md +0 -18
  67. data/docs/message_reaction.md +0 -17
  68. data/docs/metadata_category.md +0 -13
  69. data/docs/notification.md +0 -20
  70. data/docs/outbound_connection_log.md +1 -21
  71. data/docs/partner.md +0 -14
  72. data/docs/partner_channel.md +0 -14
  73. data/docs/partner_site_request.md +0 -14
  74. data/docs/payment.md +0 -9
  75. data/docs/pending_work_event.md +0 -18
  76. data/docs/permission.md +0 -22
  77. data/docs/preview.md +0 -57
  78. data/docs/project.md +0 -9
  79. data/docs/public_hosting_request_log.md +1 -21
  80. data/docs/public_key.md +0 -21
  81. data/docs/remote_bandwidth_snapshot.md +0 -18
  82. data/docs/remote_mount_backend.md +0 -13
  83. data/docs/remote_server.md +0 -233
  84. data/docs/remote_server_credential.md +0 -15
  85. data/docs/request.md +0 -17
  86. data/docs/restore.md +0 -14
  87. data/docs/scheduled_export.md +0 -15
  88. data/docs/scim_log.md +0 -13
  89. data/docs/session.md +1 -232
  90. data/docs/settings_change.md +0 -16
  91. data/docs/sftp_action_log.md +1 -21
  92. data/docs/sftp_host_key.md +0 -9
  93. data/docs/share_group.md +0 -15
  94. data/docs/siem_http_destination.md +0 -9
  95. data/docs/siem_http_destination_event.md +0 -18
  96. data/docs/site.md +0 -179
  97. data/docs/site_subdomain_redirect.md +0 -13
  98. data/docs/snapshot.md +0 -9
  99. data/docs/sso_event.md +0 -19
  100. data/docs/sso_strategy.md +0 -406
  101. data/docs/sync.md +0 -14
  102. data/docs/sync_log.md +1 -20
  103. data/docs/sync_run.md +0 -21
  104. data/docs/usage_daily_snapshot.md +0 -18
  105. data/docs/usage_snapshot.md +0 -9
  106. data/docs/user.md +2 -49
  107. data/docs/user_cipher_use.md +0 -21
  108. data/docs/user_lifecycle_rule.md +0 -14
  109. data/docs/user_request.md +0 -9
  110. data/docs/user_security_event.md +0 -18
  111. data/docs/user_sftp_client_use.md +0 -15
  112. data/docs/web_dav_action_log.md +1 -21
  113. data/docs/workspace.md +0 -15
  114. data/lib/files.com/models/action_log.rb +0 -24
  115. data/lib/files.com/models/action_notification_export_result.rb +0 -12
  116. data/lib/files.com/models/ai_assistant_personality.rb +0 -11
  117. data/lib/files.com/models/ai_task.rb +0 -11
  118. data/lib/files.com/models/api_key.rb +5 -39
  119. data/lib/files.com/models/api_request_log.rb +0 -24
  120. data/lib/files.com/models/app.rb +0 -13
  121. data/lib/files.com/models/as2_incoming_message.rb +0 -19
  122. data/lib/files.com/models/as2_outgoing_message.rb +0 -19
  123. data/lib/files.com/models/as2_partner.rb +0 -11
  124. data/lib/files.com/models/as2_station.rb +0 -11
  125. data/lib/files.com/models/automation.rb +0 -30
  126. data/lib/files.com/models/automation_log.rb +0 -24
  127. data/lib/files.com/models/automation_run.rb +0 -16
  128. data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
  129. data/lib/files.com/models/behavior.rb +0 -11
  130. data/lib/files.com/models/bundle.rb +0 -52
  131. data/lib/files.com/models/bundle_action.rb +0 -25
  132. data/lib/files.com/models/bundle_download.rb +0 -23
  133. data/lib/files.com/models/bundle_notification.rb +0 -15
  134. data/lib/files.com/models/bundle_recipient.rb +0 -27
  135. data/lib/files.com/models/bundle_registration.rb +0 -125
  136. data/lib/files.com/models/chat_session.rb +5 -11
  137. data/lib/files.com/models/child_site_management_policy.rb +0 -5
  138. data/lib/files.com/models/clickwrap.rb +0 -9
  139. data/lib/files.com/models/custom_domain.rb +0 -9
  140. data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
  141. data/lib/files.com/models/dns_record.rb +0 -5
  142. data/lib/files.com/models/email_incoming_message.rb +0 -21
  143. data/lib/files.com/models/email_log.rb +0 -22
  144. data/lib/files.com/models/event_channel.rb +0 -11
  145. data/lib/files.com/models/event_delivery_attempt.rb +0 -11
  146. data/lib/files.com/models/event_record.rb +0 -21
  147. data/lib/files.com/models/event_subscription.rb +0 -11
  148. data/lib/files.com/models/event_target.rb +0 -11
  149. data/lib/files.com/models/exavault_api_request_log.rb +0 -24
  150. data/lib/files.com/models/expectation.rb +0 -11
  151. data/lib/files.com/models/expectation_evaluation.rb +0 -11
  152. data/lib/files.com/models/expectation_incident.rb +0 -11
  153. data/lib/files.com/models/external_event.rb +0 -19
  154. data/lib/files.com/models/file.rb +67 -207
  155. data/lib/files.com/models/file_migration.rb +0 -27
  156. data/lib/files.com/models/file_migration_log.rb +0 -22
  157. data/lib/files.com/models/file_upload_part.rb +0 -5
  158. data/lib/files.com/models/folder.rb +0 -69
  159. data/lib/files.com/models/form_field_set.rb +0 -9
  160. data/lib/files.com/models/ftp_action_log.rb +0 -24
  161. data/lib/files.com/models/gpg_key.rb +0 -21
  162. data/lib/files.com/models/group.rb +0 -16
  163. data/lib/files.com/models/group_user.rb +1 -21
  164. data/lib/files.com/models/history.rb +0 -94
  165. data/lib/files.com/models/history_export_result.rb +0 -12
  166. data/lib/files.com/models/holiday_region.rb +0 -5
  167. data/lib/files.com/models/inbound_s3_log.rb +0 -24
  168. data/lib/files.com/models/inbox_recipient.rb +0 -25
  169. data/lib/files.com/models/inbox_registration.rb +0 -121
  170. data/lib/files.com/models/inbox_upload.rb +0 -19
  171. data/lib/files.com/models/invoice.rb +0 -5
  172. data/lib/files.com/models/ip_address.rb +0 -37
  173. data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
  174. data/lib/files.com/models/lock.rb +0 -27
  175. data/lib/files.com/models/message.rb +0 -12
  176. data/lib/files.com/models/message_comment.rb +0 -14
  177. data/lib/files.com/models/message_comment_reaction.rb +0 -14
  178. data/lib/files.com/models/message_reaction.rb +0 -12
  179. data/lib/files.com/models/metadata_category.rb +0 -9
  180. data/lib/files.com/models/notification.rb +0 -18
  181. data/lib/files.com/models/outbound_connection_log.rb +0 -24
  182. data/lib/files.com/models/partner.rb +0 -11
  183. data/lib/files.com/models/partner_channel.rb +0 -11
  184. data/lib/files.com/models/partner_site_request.rb +0 -11
  185. data/lib/files.com/models/payment.rb +0 -5
  186. data/lib/files.com/models/pending_work_event.rb +0 -19
  187. data/lib/files.com/models/permission.rb +0 -22
  188. data/lib/files.com/models/preview.rb +0 -57
  189. data/lib/files.com/models/project.rb +0 -5
  190. data/lib/files.com/models/public_hosting_request_log.rb +0 -24
  191. data/lib/files.com/models/public_key.rb +0 -21
  192. data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
  193. data/lib/files.com/models/remote_mount_backend.rb +0 -9
  194. data/lib/files.com/models/remote_server.rb +0 -297
  195. data/lib/files.com/models/remote_server_credential.rb +0 -13
  196. data/lib/files.com/models/request.rb +0 -12
  197. data/lib/files.com/models/restore.rb +0 -11
  198. data/lib/files.com/models/scheduled_export.rb +0 -13
  199. data/lib/files.com/models/scim_log.rb +0 -9
  200. data/lib/files.com/models/session.rb +0 -493
  201. data/lib/files.com/models/settings_change.rb +0 -16
  202. data/lib/files.com/models/sftp_action_log.rb +0 -24
  203. data/lib/files.com/models/sftp_host_key.rb +0 -5
  204. data/lib/files.com/models/share_group.rb +0 -9
  205. data/lib/files.com/models/siem_http_destination.rb +0 -5
  206. data/lib/files.com/models/siem_http_destination_event.rb +0 -19
  207. data/lib/files.com/models/site.rb +0 -1021
  208. data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
  209. data/lib/files.com/models/snapshot.rb +0 -5
  210. data/lib/files.com/models/sso_event.rb +0 -21
  211. data/lib/files.com/models/sso_strategy.rb +0 -632
  212. data/lib/files.com/models/sync.rb +0 -11
  213. data/lib/files.com/models/sync_log.rb +0 -22
  214. data/lib/files.com/models/sync_run.rb +0 -21
  215. data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
  216. data/lib/files.com/models/usage_snapshot.rb +0 -5
  217. data/lib/files.com/models/user.rb +0 -59
  218. data/lib/files.com/models/user_cipher_use.rb +0 -21
  219. data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
  220. data/lib/files.com/models/user_request.rb +0 -5
  221. data/lib/files.com/models/user_security_event.rb +0 -19
  222. data/lib/files.com/models/user_sftp_client_use.rb +0 -9
  223. data/lib/files.com/models/web_dav_action_log.rb +0 -24
  224. data/lib/files.com/models/workspace.rb +0 -13
  225. data/lib/files.com/path_util.rb +1 -1
  226. data/lib/files.com/version.rb +1 -1
  227. data/lib/files.com.rb +0 -59
  228. data/shared/normalization_for_comparison_test_data.json +3 -1
  229. data/spec/models/file_underscore_destinations_spec.rb +24 -0
  230. data/spec/path_util_spec.rb +5 -0
  231. metadata +2 -119
  232. data/docs/account.md +0 -155
  233. data/docs/action_webhook_failure.md +0 -28
  234. data/docs/agent_proxy_identity.md +0 -49
  235. data/docs/agent_proxy_identity_endpoint.md +0 -11
  236. data/docs/agent_proxy_identity_result.md +0 -24
  237. data/docs/agent_v2_auth.md +0 -17
  238. data/docs/announcement.md +0 -57
  239. data/docs/blog_post.md +0 -57
  240. data/docs/bundle_recipient_registration.md +0 -39
  241. data/docs/certificate.md +0 -258
  242. data/docs/child_site.md +0 -583
  243. data/docs/clickwrap_acceptance.md +0 -30
  244. data/docs/client_log.md +0 -17
  245. data/docs/crash_report.md +0 -50
  246. data/docs/custom_domain_for_proxy.md +0 -23
  247. data/docs/email_preference.md +0 -108
  248. data/docs/email_preference_bundle_notification.md +0 -15
  249. data/docs/email_preference_notification.md +0 -17
  250. data/docs/export.md +0 -90
  251. data/docs/front_end_server.md +0 -111
  252. data/docs/frontend_metric.md +0 -34
  253. data/docs/inbox.md +0 -102
  254. data/docs/inbox_recipient_registration.md +0 -35
  255. data/docs/ip.md +0 -63
  256. data/docs/ip_abuse_entry.md +0 -47
  257. data/docs/label.md +0 -9
  258. data/docs/lead.md +0 -161
  259. data/docs/monitoring_stat.md +0 -38
  260. data/docs/monitoring_stats.md +0 -15
  261. data/docs/mover_package.md +0 -68
  262. data/docs/nps_response.md +0 -75
  263. data/docs/oauth_redirect.md +0 -11
  264. data/docs/paired_api_key.md +0 -19
  265. data/docs/paypal_express_info.md +0 -31
  266. data/docs/paypal_express_url.md +0 -11
  267. data/docs/plan.md +0 -107
  268. data/docs/public_hosting_session_pairing.md +0 -15
  269. data/docs/public_inbox.md +0 -121
  270. data/docs/public_url.md +0 -59
  271. data/docs/regional_migration.md +0 -0
  272. data/docs/release.md +0 -83
  273. data/docs/release_package.md +0 -19
  274. data/docs/revision.md +0 -40
  275. data/docs/safe_plan.md +0 -0
  276. data/docs/session_available_site.md +0 -26
  277. data/docs/setting.md +0 -33
  278. data/docs/settings.md +0 -498
  279. data/docs/ssl_certificate.md +0 -37
  280. data/docs/staging_site.md +0 -591
  281. data/docs/support_request.md +0 -126
  282. data/docs/sync_api_usage_snapshot.md +0 -23
  283. data/docs/sync_api_usage_snapshot_report.md +0 -71
  284. data/docs/sync_bandwidth_snapshot.md +0 -48
  285. data/docs/two_factor_authentication_method.md +0 -169
  286. data/docs/warning.md +0 -36
  287. data/docs/webauthn_sign_request.md +0 -13
  288. data/docs/zip_download.md +0 -32
  289. data/docs/zip_download_file.md +0 -45
  290. data/docs/zip_download_files.md +0 -23
  291. data/lib/files.com/models/account.rb +0 -346
  292. data/lib/files.com/models/action_webhook_failure.rb +0 -34
  293. data/lib/files.com/models/agent_proxy_identity.rb +0 -47
  294. data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
  295. data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
  296. data/lib/files.com/models/agent_v2_auth.rb +0 -32
  297. data/lib/files.com/models/announcement.rb +0 -89
  298. data/lib/files.com/models/blog_post.rb +0 -84
  299. data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
  300. data/lib/files.com/models/certificate.rb +0 -455
  301. data/lib/files.com/models/child_site.rb +0 -1756
  302. data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
  303. data/lib/files.com/models/client_log.rb +0 -25
  304. data/lib/files.com/models/crash_report.rb +0 -151
  305. data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
  306. data/lib/files.com/models/email_preference.rb +0 -124
  307. data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
  308. data/lib/files.com/models/email_preference_notification.rb +0 -32
  309. data/lib/files.com/models/export.rb +0 -153
  310. data/lib/files.com/models/front_end_server.rb +0 -335
  311. data/lib/files.com/models/frontend_metric.rb +0 -65
  312. data/lib/files.com/models/inbox.rb +0 -123
  313. data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
  314. data/lib/files.com/models/ip.rb +0 -82
  315. data/lib/files.com/models/ip_abuse_entry.rb +0 -96
  316. data/lib/files.com/models/label.rb +0 -22
  317. data/lib/files.com/models/lead.rb +0 -434
  318. data/lib/files.com/models/monitoring_stat.rb +0 -43
  319. data/lib/files.com/models/monitoring_stats.rb +0 -22
  320. data/lib/files.com/models/mover_package.rb +0 -80
  321. data/lib/files.com/models/nps_response.rb +0 -128
  322. data/lib/files.com/models/oauth_redirect.rb +0 -17
  323. data/lib/files.com/models/paired_api_key.rb +0 -37
  324. data/lib/files.com/models/paypal_express_info.rb +0 -67
  325. data/lib/files.com/models/paypal_express_url.rb +0 -17
  326. data/lib/files.com/models/plan.rb +0 -209
  327. data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
  328. data/lib/files.com/models/public_inbox.rb +0 -142
  329. data/lib/files.com/models/public_url.rb +0 -177
  330. data/lib/files.com/models/regional_migration.rb +0 -12
  331. data/lib/files.com/models/release.rb +0 -153
  332. data/lib/files.com/models/release_package.rb +0 -37
  333. data/lib/files.com/models/revision.rb +0 -53
  334. data/lib/files.com/models/safe_plan.rb +0 -12
  335. data/lib/files.com/models/session_available_site.rb +0 -47
  336. data/lib/files.com/models/setting.rb +0 -36
  337. data/lib/files.com/models/settings.rb +0 -1072
  338. data/lib/files.com/models/ssl_certificate.rb +0 -77
  339. data/lib/files.com/models/staging_site.rb +0 -1781
  340. data/lib/files.com/models/support_request.rb +0 -209
  341. data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
  342. data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
  343. data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
  344. data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
  345. data/lib/files.com/models/warning.rb +0 -38
  346. data/lib/files.com/models/webauthn_sign_request.rb +0 -17
  347. data/lib/files.com/models/zip_download.rb +0 -73
  348. data/lib/files.com/models/zip_download_file.rb +0 -111
  349. data/lib/files.com/models/zip_download_files.rb +0 -42
@@ -54,16 +54,7 @@ module Files
54
54
  @attributes[:username] = value
55
55
  end
56
56
 
57
- # string
58
- def name
59
- @attributes[:name]
60
- end
61
-
62
- def name=(value)
63
- @attributes[:name] = value
64
- end
65
-
66
- # int64
57
+ # int64 - Group User ID.
67
58
  def id
68
59
  @attributes[:id]
69
60
  end
@@ -157,17 +148,6 @@ module Files
157
148
  GroupUser.new(response.data, options)
158
149
  end
159
150
 
160
- # Parameters:
161
- # group_id - int64 - Group ID. If provided, will return group_users of this group.
162
- # user_id - int64 - User ID. If provided, will return group_users of this user.
163
- def self.create_export(params = {}, options = {})
164
- raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
165
- raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
166
-
167
- response, options = Api.send_request("/group_users/create_export", :post, params, options)
168
- Export.new(response.data, options)
169
- end
170
-
171
151
  # Parameters:
172
152
  # group_id (required) - int64 - Group ID to add user to.
173
153
  # user_id (required) - int64 - User ID to add to group.
@@ -201,99 +201,5 @@ module Files
201
201
  def self.all(params = {}, options = {})
202
202
  list(params, options)
203
203
  end
204
-
205
- # Parameters:
206
- # start_at - string - Leave blank or set to a date/time to filter earlier entries.
207
- # end_at - string - Leave blank or set to a date/time to filter later entries.
208
- # display - string - Display format. Leave blank or set to `full` or `parent`.
209
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
210
- # path (required) - string - Path to operate on.
211
- def self.list_for_file_create_export(path, params = {}, options = {})
212
- params ||= {}
213
- params[:path] = path
214
- raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
215
- raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
216
- raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
217
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
218
- raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
219
- raise MissingParameterError.new("Parameter missing: path") unless params[:path]
220
-
221
- response, options = Api.send_request("/history/files/create_export", :post, params, options)
222
- Export.new(response.data, options)
223
- end
224
-
225
- # Parameters:
226
- # start_at - string - Leave blank or set to a date/time to filter earlier entries.
227
- # end_at - string - Leave blank or set to a date/time to filter later entries.
228
- # display - string - Display format. Leave blank or set to `full` or `parent`.
229
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
230
- # path (required) - string - Path to operate on.
231
- def self.list_for_folder_create_export(path, params = {}, options = {})
232
- params ||= {}
233
- params[:path] = path
234
- raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
235
- raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
236
- raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
237
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
238
- raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
239
- raise MissingParameterError.new("Parameter missing: path") unless params[:path]
240
-
241
- response, options = Api.send_request("/history/folders/create_export", :post, params, options)
242
- Export.new(response.data, options)
243
- end
244
-
245
- # Parameters:
246
- # start_at - string - Leave blank or set to a date/time to filter earlier entries.
247
- # end_at - string - Leave blank or set to a date/time to filter later entries.
248
- # display - string - Display format. Leave blank or set to `full` or `parent`.
249
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
250
- # user_id (required) - int64 - User ID.
251
- def self.list_for_user_create_export(user_id, params = {}, options = {})
252
- params ||= {}
253
- params[:user_id] = user_id
254
- raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
255
- raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
256
- raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
257
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
258
- raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
259
- raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
260
-
261
- response, options = Api.send_request("/history/users/#{params[:user_id]}/create_export", :post, params, options)
262
- Export.new(response.data, options)
263
- end
264
-
265
- # Parameters:
266
- # start_at - string - Leave blank or set to a date/time to filter earlier entries.
267
- # end_at - string - Leave blank or set to a date/time to filter later entries.
268
- # display - string - Display format. Leave blank or set to `full` or `parent`.
269
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
270
- def self.list_logins_create_export(params = {}, options = {})
271
- raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
272
- raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
273
- raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
274
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
275
-
276
- response, options = Api.send_request("/history/login/create_export", :post, params, options)
277
- Export.new(response.data, options)
278
- end
279
-
280
- # Parameters:
281
- # start_at - string - Leave blank or set to a date/time to filter earlier entries.
282
- # end_at - string - Leave blank or set to a date/time to filter later entries.
283
- # display - string - Display format. Leave blank or set to `full` or `parent`.
284
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
285
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `user_id`, `folder` or `path`. Valid field combinations are `[ ]`, `[ path ]`, `[ path ]` or `[ path ]`.
286
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `path`.
287
- def self.list_create_export(params = {}, options = {})
288
- raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params[:start_at] and !params[:start_at].is_a?(String)
289
- raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params[:end_at] and !params[:end_at].is_a?(String)
290
- raise InvalidParameterError.new("Bad parameter: display must be an String") if params[:display] and !params[:display].is_a?(String)
291
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
292
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
293
- raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
294
-
295
- response, options = Api.send_request("/history/create_export", :post, params, options)
296
- Export.new(response.data, options)
297
- end
298
204
  end
299
205
  end
@@ -159,17 +159,5 @@ module Files
159
159
  def self.all(params = {}, options = {})
160
160
  list(params, options)
161
161
  end
162
-
163
- # Parameters:
164
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
165
- # history_export_id (required) - int64 - ID of the associated history export.
166
- def self.create_export(params = {}, options = {})
167
- raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
168
- raise InvalidParameterError.new("Bad parameter: history_export_id must be an Integer") if params[:history_export_id] and !params[:history_export_id].is_a?(Integer)
169
- raise MissingParameterError.new("Parameter missing: history_export_id") unless params[:history_export_id]
170
-
171
- response, options = Api.send_request("/history_export_results/create_export", :post, params, options)
172
- Export.new(response.data, options)
173
- end
174
162
  end
175
163
  end
@@ -30,10 +30,5 @@ module Files
30
30
  Api.send_request("/holiday_regions/supported", :get, params, options)
31
31
  end
32
32
  end
33
-
34
- def self.supported_create_export(params = {}, options = {})
35
- response, options = Api.send_request("/holiday_regions/supported/create_export", :post, params, options)
36
- Export.new(response.data, options)
37
- end
38
33
  end
39
34
  end
@@ -64,11 +64,6 @@ module Files
64
64
  @attributes[:created_at]
65
65
  end
66
66
 
67
- # string - Log Type
68
- def log_type
69
- @attributes[:log_type]
70
- end
71
-
72
67
  # Parameters:
73
68
  # 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
69
  # per_page - int64 - Number of records to show per page. (Max: 2000, 1,000 or less is recommended).
@@ -96,24 +91,5 @@ module Files
96
91
  def self.all(params = {}, options = {})
97
92
  list(params, options)
98
93
  end
99
-
100
- # Parameters:
101
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `operation`, `status`, `path`, `client_ip` or `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
102
- # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
103
- # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
104
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `operation`, `status`, `path` or `client_ip`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
105
- # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
106
- # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`. Valid field combinations are `[ operation ]`, `[ status ]`, `[ path ]`, `[ client_ip ]`, `[ created_at ]`, `[ operation, status ]`, `[ operation, path ]`, `[ operation, client_ip ]`, `[ operation, created_at ]`, `[ status, path ]`, `[ status, client_ip ]`, `[ status, created_at ]`, `[ path, client_ip ]`, `[ path, created_at ]`, `[ client_ip, created_at ]`, `[ operation, status, path ]`, `[ operation, status, client_ip ]`, `[ operation, status, created_at ]`, `[ operation, path, client_ip ]`, `[ operation, path, created_at ]`, `[ operation, client_ip, created_at ]`, `[ status, path, client_ip ]`, `[ status, path, created_at ]`, `[ status, client_ip, created_at ]`, `[ path, client_ip, created_at ]`, `[ operation, status, path, client_ip ]`, `[ operation, status, path, created_at ]`, `[ operation, status, client_ip, created_at ]`, `[ operation, path, client_ip, created_at ]` or `[ status, path, client_ip, created_at ]`.
107
- def self.create_export(params = {}, options = {})
108
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
109
- raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
110
- raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
111
- raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
112
- raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
113
- raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
114
-
115
- response, options = Api.send_request("/inbound_s3_logs/create_export", :post, params, options)
116
- Export.new(response.data, options)
117
- end
118
94
  end
119
95
  end
@@ -63,15 +63,6 @@ module Files
63
63
  @attributes[:inbox_id] = value
64
64
  end
65
65
 
66
- # string - The method to use, must be email or null
67
- def method
68
- @attributes[:method]
69
- end
70
-
71
- def method=(value)
72
- @attributes[:method] = value
73
- end
74
-
75
66
  # boolean - Set to true to share the link with the recipient upon creation.
76
67
  def share_after_create
77
68
  @attributes[:share_after_create]
@@ -121,7 +112,6 @@ module Files
121
112
  # name - string - Name of recipient.
122
113
  # company - string - Company of recipient.
123
114
  # note - string - Note to include in email.
124
- # method - string - The method to use, must be email or null
125
115
  # share_after_create - boolean - Set to true to share the link with the recipient upon creation.
126
116
  def self.create(params = {}, options = {})
127
117
  raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
@@ -129,26 +119,11 @@ module Files
129
119
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
130
120
  raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
131
121
  raise InvalidParameterError.new("Bad parameter: note must be an String") if params[:note] and !params[:note].is_a?(String)
132
- raise InvalidParameterError.new("Bad parameter: method must be an String") if params[:method] and !params[:method].is_a?(String)
133
122
  raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
134
123
  raise MissingParameterError.new("Parameter missing: recipient") unless params[:recipient]
135
124
 
136
125
  response, options = Api.send_request("/inbox_recipients", :post, params, options)
137
126
  InboxRecipient.new(response.data, options)
138
127
  end
139
-
140
- # Parameters:
141
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
142
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `has_registrations`.
143
- # inbox_id (required) - int64 - List recipients for the inbox with this ID.
144
- def self.create_export(params = {}, options = {})
145
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
146
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
147
- raise InvalidParameterError.new("Bad parameter: inbox_id must be an Integer") if params[:inbox_id] and !params[:inbox_id].is_a?(Integer)
148
- raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
149
-
150
- response, options = Api.send_request("/inbox_recipients/create_export", :post, params, options)
151
- Export.new(response.data, options)
152
- end
153
128
  end
154
129
  end
@@ -14,143 +14,61 @@ module Files
14
14
  @attributes[:code]
15
15
  end
16
16
 
17
- def code=(value)
18
- @attributes[:code] = value
19
- end
20
-
21
17
  # string - Registrant name
22
18
  def name
23
19
  @attributes[:name]
24
20
  end
25
21
 
26
- def name=(value)
27
- @attributes[:name] = value
28
- end
29
-
30
22
  # string - Registrant company name
31
23
  def company
32
24
  @attributes[:company]
33
25
  end
34
26
 
35
- def company=(value)
36
- @attributes[:company] = value
37
- end
38
-
39
27
  # string - Registrant email address
40
28
  def email
41
29
  @attributes[:email]
42
30
  end
43
31
 
44
- def email=(value)
45
- @attributes[:email] = value
46
- end
47
-
48
32
  # string - Registrant IP Address
49
33
  def ip
50
34
  @attributes[:ip]
51
35
  end
52
36
 
53
- def ip=(value)
54
- @attributes[:ip] = value
55
- end
56
-
57
37
  # string - Clickwrap text that was shown to the registrant
58
38
  def clickwrap_body
59
39
  @attributes[:clickwrap_body]
60
40
  end
61
41
 
62
- def clickwrap_body=(value)
63
- @attributes[:clickwrap_body] = value
64
- end
65
-
66
42
  # int64 - Id of associated form field set
67
43
  def form_field_set_id
68
44
  @attributes[:form_field_set_id]
69
45
  end
70
46
 
71
- def form_field_set_id=(value)
72
- @attributes[:form_field_set_id] = value
73
- end
74
-
75
47
  # object - Data for form field set with form field ids as keys and user data as values
76
48
  def form_field_data
77
49
  @attributes[:form_field_data]
78
50
  end
79
51
 
80
- def form_field_data=(value)
81
- @attributes[:form_field_data] = value
82
- end
83
-
84
52
  # int64 - Id of associated inbox
85
53
  def inbox_id
86
54
  @attributes[:inbox_id]
87
55
  end
88
56
 
89
- def inbox_id=(value)
90
- @attributes[:inbox_id] = value
91
- end
92
-
93
57
  # int64 - Id of associated inbox recipient
94
58
  def inbox_recipient_id
95
59
  @attributes[:inbox_recipient_id]
96
60
  end
97
61
 
98
- def inbox_recipient_id=(value)
99
- @attributes[:inbox_recipient_id] = value
100
- end
101
-
102
62
  # string - Title of associated inbox
103
63
  def inbox_title
104
64
  @attributes[:inbox_title]
105
65
  end
106
66
 
107
- def inbox_title=(value)
108
- @attributes[:inbox_title] = value
109
- end
110
-
111
67
  # date-time - Registration creation date/time
112
68
  def created_at
113
69
  @attributes[:created_at]
114
70
  end
115
71
 
116
- # string - Inbox URL code
117
- def inbox_code
118
- @attributes[:inbox_code]
119
- end
120
-
121
- def inbox_code=(value)
122
- @attributes[:inbox_code] = value
123
- end
124
-
125
- # string - Inbox recipient registration code
126
- def inbox_recipient_registration_code
127
- @attributes[:inbox_recipient_registration_code]
128
- end
129
-
130
- def inbox_recipient_registration_code=(value)
131
- @attributes[:inbox_recipient_registration_code] = value
132
- end
133
-
134
- # string - Inbox password
135
- def password
136
- @attributes[:password]
137
- end
138
-
139
- def password=(value)
140
- @attributes[:password] = value
141
- end
142
-
143
- def save
144
- if @attributes[:id]
145
- raise NotImplementedError.new("The InboxRegistration object doesn't support updates.")
146
- else
147
- new_obj = InboxRegistration.create(@attributes, @options)
148
- end
149
-
150
- @attributes = new_obj.attributes
151
- true
152
- end
153
-
154
72
  # Parameters:
155
73
  # 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.
156
74
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
@@ -168,44 +86,5 @@ module Files
168
86
  def self.all(params = {}, options = {})
169
87
  list(params, options)
170
88
  end
171
-
172
- # Parameters:
173
- # inbox_code (required) - string - Inbox URL code
174
- # inbox_recipient_registration_code - string - Inbox recipient registration code
175
- # password - string - Inbox password
176
- # name - string - Registrant name
177
- # company - string - Registrant company name
178
- # email - string - Registrant email address
179
- def self.create(params = {}, options = {})
180
- raise InvalidParameterError.new("Bad parameter: inbox_code must be an String") if params[:inbox_code] and !params[:inbox_code].is_a?(String)
181
- raise InvalidParameterError.new("Bad parameter: inbox_recipient_registration_code must be an String") if params[:inbox_recipient_registration_code] and !params[:inbox_recipient_registration_code].is_a?(String)
182
- raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
183
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
184
- raise InvalidParameterError.new("Bad parameter: company must be an String") if params[:company] and !params[:company].is_a?(String)
185
- raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
186
- raise MissingParameterError.new("Parameter missing: inbox_code") unless params[:inbox_code]
187
-
188
- response, options = Api.send_request("/inbox_registrations", :post, params, options)
189
- InboxRegistration.new(response.data, options)
190
- end
191
-
192
- # Parameters:
193
- # inbox_registration_code (required) - string - Inbox registration cookie code
194
- def self.last_activity(params = {}, options = {})
195
- raise InvalidParameterError.new("Bad parameter: inbox_registration_code must be an String") if params[:inbox_registration_code] and !params[:inbox_registration_code].is_a?(String)
196
- raise MissingParameterError.new("Parameter missing: inbox_registration_code") unless params[:inbox_registration_code]
197
-
198
- Api.send_request("/inbox_registrations/last_activity", :post, params, options)
199
- nil
200
- end
201
-
202
- # Parameters:
203
- # folder_behavior_id - int64 - ID of the associated Inbox. This is required if the user is not a site admin.
204
- def self.create_export(params = {}, options = {})
205
- raise InvalidParameterError.new("Bad parameter: folder_behavior_id must be an Integer") if params[:folder_behavior_id] and !params[:folder_behavior_id].is_a?(Integer)
206
-
207
- response, options = Api.send_request("/inbox_registrations/create_export", :post, params, options)
208
- Export.new(response.data, options)
209
- end
210
89
  end
211
90
  end
@@ -51,24 +51,5 @@ module Files
51
51
  def self.all(params = {}, options = {})
52
52
  list(params, options)
53
53
  end
54
-
55
- # Parameters:
56
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `created_at`.
57
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `folder_behavior_id` or `inbox_registration_id`. Valid field combinations are `[ folder_behavior_id, created_at ]`, `[ inbox_registration_id, created_at ]`, `[ folder_behavior_id, inbox_registration_id ]` or `[ folder_behavior_id, inbox_registration_id, created_at ]`.
58
- # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
59
- # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at`.
60
- # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
61
- # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `created_at`.
62
- def self.create_export(params = {}, options = {})
63
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
64
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
65
- raise InvalidParameterError.new("Bad parameter: filter_gt must be an Hash") if params[:filter_gt] and !params[:filter_gt].is_a?(Hash)
66
- raise InvalidParameterError.new("Bad parameter: filter_gteq must be an Hash") if params[:filter_gteq] and !params[:filter_gteq].is_a?(Hash)
67
- raise InvalidParameterError.new("Bad parameter: filter_lt must be an Hash") if params[:filter_lt] and !params[:filter_lt].is_a?(Hash)
68
- raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
69
-
70
- response, options = Api.send_request("/inbox_uploads/create_export", :post, params, options)
71
- Export.new(response.data, options)
72
- end
73
54
  end
74
55
  end
@@ -113,10 +113,5 @@ module Files
113
113
  def self.get(id, params = {}, options = {})
114
114
  find(id, params, options)
115
115
  end
116
-
117
- def self.create_export(params = {}, options = {})
118
- response, options = Api.send_request("/invoices/create_export", :post, params, options)
119
- Export.new(response.data, options)
120
- end
121
116
  end
122
117
  end
@@ -45,18 +45,6 @@ module Files
45
45
  list(params, options)
46
46
  end
47
47
 
48
- # Parameters:
49
- # 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.
50
- # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
51
- def self.get_active(params = {}, options = {})
52
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
54
-
55
- List.new(PublicIpAddress, params) do
56
- Api.send_request("/ip_addresses/active", :get, params, options)
57
- end
58
- end
59
-
60
48
  # Parameters:
61
49
  # 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.
62
50
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
@@ -92,30 +80,5 @@ module Files
92
80
  Api.send_request("/ip_addresses/reserved", :get, params, options)
93
81
  end
94
82
  end
95
-
96
- def self.active_create_export(params = {}, options = {})
97
- response, options = Api.send_request("/ip_addresses/active/create_export", :post, params, options)
98
- Export.new(response.data, options)
99
- end
100
-
101
- def self.smartfile_reserved_create_export(params = {}, options = {})
102
- response, options = Api.send_request("/ip_addresses/smartfile-reserved/create_export", :post, params, options)
103
- Export.new(response.data, options)
104
- end
105
-
106
- def self.exavault_reserved_create_export(params = {}, options = {})
107
- response, options = Api.send_request("/ip_addresses/exavault-reserved/create_export", :post, params, options)
108
- Export.new(response.data, options)
109
- end
110
-
111
- def self.reserved_create_export(params = {}, options = {})
112
- response, options = Api.send_request("/ip_addresses/reserved/create_export", :post, params, options)
113
- Export.new(response.data, options)
114
- end
115
-
116
- def self.create_export(params = {}, options = {})
117
- response, options = Api.send_request("/ip_addresses/create_export", :post, params, options)
118
- Export.new(response.data, options)
119
- end
120
83
  end
121
84
  end
@@ -174,17 +174,6 @@ module Files
174
174
  KeyLifecycleRule.new(response.data, options)
175
175
  end
176
176
 
177
- # Parameters:
178
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `workspace_id` and `key_type`.
179
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `key_type` and `workspace_id`. Valid field combinations are `[ workspace_id, key_type ]`.
180
- def self.create_export(params = {}, options = {})
181
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
182
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
183
-
184
- response, options = Api.send_request("/key_lifecycle_rules/create_export", :post, params, options)
185
- Export.new(response.data, options)
186
- end
187
-
188
177
  # Parameters:
189
178
  # apply_to_all_workspaces - boolean - If true, a default-workspace rule also applies to keys in all workspaces.
190
179
  # expiration_days - int64 - Number of days after creation before an SSH key expires. Applies only to SSH keys.
@@ -117,25 +117,14 @@ module Files
117
117
  @attributes[:username] = value
118
118
  end
119
119
 
120
- # string
121
- def bundle_registration_code
122
- @attributes[:bundle_registration_code]
123
- end
124
-
125
- def bundle_registration_code=(value)
126
- @attributes[:bundle_registration_code] = value
127
- end
128
-
129
120
  # Parameters:
130
121
  # token (required) - string - Lock token
131
- # bundle_registration_code - string
132
122
  def delete(params = {})
133
123
  params ||= {}
134
124
  params[:path] = @attributes[:path]
135
125
  raise MissingParameterError.new("Current object doesn't have a path") unless @attributes[:path]
136
126
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
137
127
  raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
138
- raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
139
128
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
140
129
  raise MissingParameterError.new("Parameter missing: token") unless params[:token]
141
130
 
@@ -158,14 +147,12 @@ module Files
158
147
  # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
159
148
  # path (required) - string - Path to operate on.
160
149
  # include_children - boolean - Include locks from children objects?
161
- # bundle_registration_code - string
162
150
  def self.list_for(path, params = {}, options = {})
163
151
  params ||= {}
164
152
  params[:path] = path
165
153
  raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
166
154
  raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
167
155
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
168
- raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
169
156
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
170
157
 
171
158
  List.new(Lock, params) do
@@ -175,27 +162,15 @@ module Files
175
162
 
176
163
  # Parameters:
177
164
  # path (required) - string - Path
178
- # token - string
179
- # type - string
180
165
  # allow_access_by_any_user - boolean - Can lock be modified by users other than its creator?
181
- # scope - string
182
166
  # exclusive - boolean - Is lock exclusive?
183
- # depth - string
184
167
  # recursive - boolean - Does lock apply to subfolders?
185
- # owner - string
186
168
  # timeout - int64 - Lock timeout in seconds
187
- # bundle_registration_code - string
188
169
  def self.create(path, params = {}, options = {})
189
170
  params ||= {}
190
171
  params[:path] = path
191
172
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
192
- raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
193
- raise InvalidParameterError.new("Bad parameter: type must be an String") if params[:type] and !params[:type].is_a?(String)
194
- raise InvalidParameterError.new("Bad parameter: scope must be an String") if params[:scope] and !params[:scope].is_a?(String)
195
- raise InvalidParameterError.new("Bad parameter: depth must be an String") if params[:depth] and !params[:depth].is_a?(String)
196
- raise InvalidParameterError.new("Bad parameter: owner must be an String") if params[:owner] and !params[:owner].is_a?(String)
197
173
  raise InvalidParameterError.new("Bad parameter: timeout must be an Integer") if params[:timeout] and !params[:timeout].is_a?(Integer)
198
- raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
199
174
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
200
175
 
201
176
  response, options = Api.send_request("/locks/#{params[:path]}", :post, params, options)
@@ -204,13 +179,11 @@ module Files
204
179
 
205
180
  # Parameters:
206
181
  # token (required) - string - Lock token
207
- # bundle_registration_code - string
208
182
  def self.delete(path, params = {}, options = {})
209
183
  params ||= {}
210
184
  params[:path] = path
211
185
  raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
212
186
  raise InvalidParameterError.new("Bad parameter: token must be an String") if params[:token] and !params[:token].is_a?(String)
213
- raise InvalidParameterError.new("Bad parameter: bundle_registration_code must be an String") if params[:bundle_registration_code] and !params[:bundle_registration_code].is_a?(String)
214
187
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
215
188
  raise MissingParameterError.new("Parameter missing: token") unless params[:token]
216
189