files.com 1.1.179 → 1.1.180

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/action_notification_export_result.md +1 -1
  4. data/docs/api_key.md +1 -1
  5. data/docs/api_request_log.md +1 -1
  6. data/docs/app.md +1 -1
  7. data/docs/as2_incoming_message.md +1 -1
  8. data/docs/as2_outgoing_message.md +1 -1
  9. data/docs/as2_partner.md +1 -1
  10. data/docs/as2_station.md +1 -1
  11. data/docs/automation.md +1 -1
  12. data/docs/automation_log.md +1 -1
  13. data/docs/automation_run.md +1 -1
  14. data/docs/bandwidth_snapshot.md +1 -1
  15. data/docs/behavior.md +1 -1
  16. data/docs/bundle.md +1 -1
  17. data/docs/bundle_action.md +1 -1
  18. data/docs/bundle_download.md +1 -1
  19. data/docs/bundle_notification.md +1 -1
  20. data/docs/bundle_recipient.md +1 -1
  21. data/docs/bundle_registration.md +1 -1
  22. data/docs/clickwrap.md +1 -1
  23. data/docs/email_incoming_message.md +1 -1
  24. data/docs/email_log.md +1 -1
  25. data/docs/exavault_api_request_log.md +1 -1
  26. data/docs/export.md +1 -1
  27. data/docs/external_event.md +1 -1
  28. data/docs/file_migration_log.md +1 -1
  29. data/docs/form_field_set.md +1 -1
  30. data/docs/ftp_action_log.md +1 -1
  31. data/docs/gpg_key.md +1 -1
  32. data/docs/group.md +1 -1
  33. data/docs/group_user.md +1 -1
  34. data/docs/history_export_result.md +1 -1
  35. data/docs/inbox_recipient.md +1 -1
  36. data/docs/inbox_registration.md +1 -1
  37. data/docs/inbox_upload.md +1 -1
  38. data/docs/invoice.md +1 -1
  39. data/docs/message.md +1 -1
  40. data/docs/message_comment.md +1 -1
  41. data/docs/message_comment_reaction.md +1 -1
  42. data/docs/message_reaction.md +1 -1
  43. data/docs/notification.md +1 -1
  44. data/docs/outbound_connection_log.md +1 -1
  45. data/docs/payment.md +1 -1
  46. data/docs/permission.md +1 -1
  47. data/docs/priority.md +1 -1
  48. data/docs/project.md +1 -1
  49. data/docs/public_hosting_request_log.md +1 -1
  50. data/docs/public_key.md +1 -1
  51. data/docs/remote_bandwidth_snapshot.md +1 -1
  52. data/docs/remote_server.md +1 -1
  53. data/docs/request.md +1 -1
  54. data/docs/settings_change.md +1 -1
  55. data/docs/sftp_action_log.md +1 -1
  56. data/docs/sftp_host_key.md +1 -1
  57. data/docs/share_group.md +1 -1
  58. data/docs/siem_http_destination.md +1 -1
  59. data/docs/snapshot.md +1 -1
  60. data/docs/sso_strategy.md +1 -1
  61. data/docs/sync_log.md +1 -1
  62. data/docs/usage_daily_snapshot.md +1 -1
  63. data/docs/usage_snapshot.md +1 -1
  64. data/docs/user.md +1 -1
  65. data/docs/user_cipher_use.md +1 -1
  66. data/docs/user_request.md +1 -1
  67. data/docs/user_sftp_client_use.md +1 -1
  68. data/docs/web_dav_action_log.md +1 -1
  69. data/lib/files.com/models/action_notification_export_result.rb +1 -3
  70. data/lib/files.com/models/api_key.rb +1 -3
  71. data/lib/files.com/models/api_request_log.rb +1 -3
  72. data/lib/files.com/models/app.rb +1 -3
  73. data/lib/files.com/models/as2_incoming_message.rb +1 -3
  74. data/lib/files.com/models/as2_outgoing_message.rb +1 -3
  75. data/lib/files.com/models/as2_partner.rb +1 -3
  76. data/lib/files.com/models/as2_station.rb +1 -3
  77. data/lib/files.com/models/automation.rb +1 -3
  78. data/lib/files.com/models/automation_log.rb +1 -3
  79. data/lib/files.com/models/automation_run.rb +1 -3
  80. data/lib/files.com/models/bandwidth_snapshot.rb +1 -3
  81. data/lib/files.com/models/behavior.rb +1 -3
  82. data/lib/files.com/models/bundle.rb +1 -3
  83. data/lib/files.com/models/bundle_action.rb +1 -3
  84. data/lib/files.com/models/bundle_download.rb +1 -3
  85. data/lib/files.com/models/bundle_notification.rb +1 -3
  86. data/lib/files.com/models/bundle_recipient.rb +1 -3
  87. data/lib/files.com/models/bundle_registration.rb +1 -3
  88. data/lib/files.com/models/clickwrap.rb +1 -3
  89. data/lib/files.com/models/dns_record.rb +1 -3
  90. data/lib/files.com/models/email_incoming_message.rb +1 -3
  91. data/lib/files.com/models/email_log.rb +1 -3
  92. data/lib/files.com/models/exavault_api_request_log.rb +1 -3
  93. data/lib/files.com/models/export.rb +1 -3
  94. data/lib/files.com/models/external_event.rb +1 -3
  95. data/lib/files.com/models/file_migration_log.rb +1 -3
  96. data/lib/files.com/models/form_field_set.rb +1 -3
  97. data/lib/files.com/models/ftp_action_log.rb +1 -3
  98. data/lib/files.com/models/gpg_key.rb +1 -3
  99. data/lib/files.com/models/group.rb +1 -3
  100. data/lib/files.com/models/group_user.rb +1 -3
  101. data/lib/files.com/models/history.rb +5 -15
  102. data/lib/files.com/models/history_export_result.rb +1 -3
  103. data/lib/files.com/models/inbox_recipient.rb +1 -3
  104. data/lib/files.com/models/inbox_registration.rb +1 -3
  105. data/lib/files.com/models/inbox_upload.rb +1 -3
  106. data/lib/files.com/models/invoice.rb +1 -3
  107. data/lib/files.com/models/ip_address.rb +4 -12
  108. data/lib/files.com/models/message.rb +1 -3
  109. data/lib/files.com/models/message_comment.rb +1 -3
  110. data/lib/files.com/models/message_comment_reaction.rb +1 -3
  111. data/lib/files.com/models/message_reaction.rb +1 -3
  112. data/lib/files.com/models/notification.rb +1 -3
  113. data/lib/files.com/models/outbound_connection_log.rb +1 -3
  114. data/lib/files.com/models/payment.rb +1 -3
  115. data/lib/files.com/models/permission.rb +1 -3
  116. data/lib/files.com/models/priority.rb +1 -3
  117. data/lib/files.com/models/project.rb +1 -3
  118. data/lib/files.com/models/public_hosting_request_log.rb +1 -3
  119. data/lib/files.com/models/public_key.rb +1 -3
  120. data/lib/files.com/models/remote_bandwidth_snapshot.rb +1 -3
  121. data/lib/files.com/models/remote_server.rb +1 -3
  122. data/lib/files.com/models/request.rb +1 -3
  123. data/lib/files.com/models/settings_change.rb +1 -3
  124. data/lib/files.com/models/sftp_action_log.rb +1 -3
  125. data/lib/files.com/models/sftp_host_key.rb +1 -3
  126. data/lib/files.com/models/share_group.rb +1 -3
  127. data/lib/files.com/models/siem_http_destination.rb +1 -3
  128. data/lib/files.com/models/snapshot.rb +1 -3
  129. data/lib/files.com/models/sso_strategy.rb +1 -3
  130. data/lib/files.com/models/sync_log.rb +1 -3
  131. data/lib/files.com/models/usage_daily_snapshot.rb +1 -3
  132. data/lib/files.com/models/usage_snapshot.rb +1 -3
  133. data/lib/files.com/models/user.rb +1 -3
  134. data/lib/files.com/models/user_cipher_use.rb +1 -3
  135. data/lib/files.com/models/user_request.rb +1 -3
  136. data/lib/files.com/models/user_sftp_client_use.rb +1 -3
  137. data/lib/files.com/models/web_dav_action_log.rb +1 -3
  138. data/lib/files.com/version.rb +1 -1
  139. metadata +2 -2
@@ -42,7 +42,7 @@ Files::UserCipherUse.list(
42
42
 
43
43
  ---
44
44
 
45
- ## Create Export User Cipher Use
45
+ ## Create an export CSV of User Cipher Use resources
46
46
 
47
47
  ```
48
48
  Files::UserCipherUse.create_export(
data/docs/user_request.md CHANGED
@@ -69,7 +69,7 @@ Files::UserRequest.create(
69
69
 
70
70
  ---
71
71
 
72
- ## Create Export User Request
72
+ ## Create an export CSV of User Request resources
73
73
 
74
74
  ```
75
75
  Files::UserRequest.create_export
@@ -38,7 +38,7 @@ Files::UserSftpClientUse.list(
38
38
 
39
39
  ---
40
40
 
41
- ## Create Export User SFTP Client Use
41
+ ## Create an export CSV of User SFTP Client Use resources
42
42
 
43
43
  ```
44
44
  Files::UserSftpClientUse.create_export(
@@ -59,7 +59,7 @@ Files::WebDavActionLog.list
59
59
 
60
60
  ---
61
61
 
62
- ## Create Export WebDAV Action Log
62
+ ## Create an export CSV of WebDAV Action Log resources
63
63
 
64
64
  ```
65
65
  Files::WebDavActionLog.create_export
@@ -89,9 +89,7 @@ module Files
89
89
  raise MissingParameterError.new("Parameter missing: action_notification_export_id") unless params[:action_notification_export_id]
90
90
 
91
91
  response, options = Api.send_request("/action_notification_export_results/create_export", :post, params, options)
92
- response.data.map do |entity_data|
93
- Export.new(entity_data, options)
94
- end
92
+ Export.new(response.data, options)
95
93
  end
96
94
  end
97
95
  end
@@ -256,9 +256,7 @@ module Files
256
256
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
257
257
 
258
258
  response, options = Api.send_request("/api_keys/create_export", :post, params, options)
259
- response.data.map do |entity_data|
260
- Export.new(entity_data, options)
261
- end
259
+ Export.new(response.data, options)
262
260
  end
263
261
 
264
262
  # Parameters:
@@ -132,9 +132,7 @@ module Files
132
132
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
133
133
 
134
134
  response, options = Api.send_request("/api_request_logs/create_export", :post, params, options)
135
- response.data.map do |entity_data|
136
- Export.new(entity_data, options)
137
- end
135
+ Export.new(response.data, options)
138
136
  end
139
137
  end
140
138
  end
@@ -146,9 +146,7 @@ module Files
146
146
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
147
147
 
148
148
  response, options = Api.send_request("/apps/create_export", :post, params, options)
149
- response.data.map do |entity_data|
150
- Export.new(entity_data, options)
151
- end
149
+ Export.new(response.data, options)
152
150
  end
153
151
  end
154
152
  end
@@ -232,9 +232,7 @@ module Files
232
232
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
233
233
 
234
234
  response, options = Api.send_request("/as2_incoming_messages/create_export", :post, params, options)
235
- response.data.map do |entity_data|
236
- Export.new(entity_data, options)
237
- end
235
+ Export.new(response.data, options)
238
236
  end
239
237
  end
240
238
  end
@@ -212,9 +212,7 @@ module Files
212
212
  raise InvalidParameterError.new("Bad parameter: as2_partner_id must be an Integer") if params[:as2_partner_id] and !params[:as2_partner_id].is_a?(Integer)
213
213
 
214
214
  response, options = Api.send_request("/as2_outgoing_messages/create_export", :post, params, options)
215
- response.data.map do |entity_data|
216
- Export.new(entity_data, options)
217
- end
215
+ Export.new(response.data, options)
218
216
  end
219
217
  end
220
218
  end
@@ -301,9 +301,7 @@ module Files
301
301
 
302
302
  def self.create_export(params = {}, options = {})
303
303
  response, options = Api.send_request("/as2_partners/create_export", :post, params, options)
304
- response.data.map do |entity_data|
305
- Export.new(entity_data, options)
306
- end
304
+ Export.new(response.data, options)
307
305
  end
308
306
 
309
307
  # Parameters:
@@ -250,9 +250,7 @@ module Files
250
250
 
251
251
  def self.create_export(params = {}, options = {})
252
252
  response, options = Api.send_request("/as2_stations/create_export", :post, params, options)
253
- response.data.map do |entity_data|
254
- Export.new(entity_data, options)
255
- end
253
+ Export.new(response.data, options)
256
254
  end
257
255
 
258
256
  # Parameters:
@@ -537,9 +537,7 @@ module Files
537
537
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
538
538
 
539
539
  response, options = Api.send_request("/automations/create_export", :post, params, options)
540
- response.data.map do |entity_data|
541
- Export.new(entity_data, options)
542
- end
540
+ Export.new(response.data, options)
543
541
  end
544
542
 
545
543
  # Parameters:
@@ -82,9 +82,7 @@ module Files
82
82
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
83
83
 
84
84
  response, options = Api.send_request("/automation_logs/create_export", :post, params, options)
85
- response.data.map do |entity_data|
86
- Export.new(entity_data, options)
87
- end
85
+ Export.new(response.data, options)
88
86
  end
89
87
  end
90
88
  end
@@ -104,9 +104,7 @@ module Files
104
104
  raise MissingParameterError.new("Parameter missing: automation_id") unless params[:automation_id]
105
105
 
106
106
  response, options = Api.send_request("/automation_runs/create_export", :post, params, options)
107
- response.data.map do |entity_data|
108
- Export.new(entity_data, options)
109
- end
107
+ Export.new(response.data, options)
110
108
  end
111
109
  end
112
110
  end
@@ -98,9 +98,7 @@ module Files
98
98
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
99
99
 
100
100
  response, options = Api.send_request("/bandwidth_snapshots/create_export", :post, params, options)
101
- response.data.map do |entity_data|
102
- Export.new(entity_data, options)
103
- end
101
+ Export.new(response.data, options)
104
102
  end
105
103
  end
106
104
  end
@@ -269,9 +269,7 @@ module Files
269
269
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
270
270
 
271
271
  response, options = Api.send_request("/behaviors/create_export", :post, params, options)
272
- response.data.map do |entity_data|
273
- Export.new(entity_data, options)
274
- end
272
+ Export.new(response.data, options)
275
273
  end
276
274
 
277
275
  # Parameters:
@@ -632,9 +632,7 @@ module Files
632
632
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
633
633
 
634
634
  response, options = Api.send_request("/bundles/create_export", :post, params, options)
635
- response.data.map do |entity_data|
636
- Export.new(entity_data, options)
637
- end
635
+ Export.new(response.data, options)
638
636
  end
639
637
 
640
638
  # Send email(s) with a link to bundle
@@ -83,9 +83,7 @@ module Files
83
83
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
84
84
 
85
85
  response, options = Api.send_request("/bundle_actions/create_export", :post, params, options)
86
- response.data.map do |entity_data|
87
- Export.new(entity_data, options)
88
- end
86
+ Export.new(response.data, options)
89
87
  end
90
88
  end
91
89
  end
@@ -81,9 +81,7 @@ module Files
81
81
  raise InvalidParameterError.new("Bad parameter: bundle_registration_id must be an Integer") if params[:bundle_registration_id] and !params[:bundle_registration_id].is_a?(Integer)
82
82
 
83
83
  response, options = Api.send_request("/bundle_downloads/create_export", :post, params, options)
84
- response.data.map do |entity_data|
85
- Export.new(entity_data, options)
86
- end
84
+ Export.new(response.data, options)
87
85
  end
88
86
  end
89
87
  end
@@ -151,9 +151,7 @@ module Files
151
151
  raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
152
152
 
153
153
  response, options = Api.send_request("/bundle_notifications/create_export", :post, params, options)
154
- response.data.map do |entity_data|
155
- Export.new(entity_data, options)
156
- end
154
+ Export.new(response.data, options)
157
155
  end
158
156
 
159
157
  # Parameters:
@@ -137,9 +137,7 @@ module Files
137
137
  raise MissingParameterError.new("Parameter missing: bundle_id") unless params[:bundle_id]
138
138
 
139
139
  response, options = Api.send_request("/bundle_recipients/create_export", :post, params, options)
140
- response.data.map do |entity_data|
141
- Export.new(entity_data, options)
142
- end
140
+ Export.new(response.data, options)
143
141
  end
144
142
  end
145
143
  end
@@ -98,9 +98,7 @@ module Files
98
98
  raise InvalidParameterError.new("Bad parameter: bundle_id must be an Integer") if params[:bundle_id] and !params[:bundle_id].is_a?(Integer)
99
99
 
100
100
  response, options = Api.send_request("/bundle_registrations/create_export", :post, params, options)
101
- response.data.map do |entity_data|
102
- Export.new(entity_data, options)
103
- end
101
+ Export.new(response.data, options)
104
102
  end
105
103
  end
106
104
  end
@@ -161,9 +161,7 @@ module Files
161
161
 
162
162
  def self.create_export(params = {}, options = {})
163
163
  response, options = Api.send_request("/clickwraps/create_export", :post, params, options)
164
- response.data.map do |entity_data|
165
- Export.new(entity_data, options)
166
- end
164
+ Export.new(response.data, options)
167
165
  end
168
166
 
169
167
  # Parameters:
@@ -47,9 +47,7 @@ module Files
47
47
 
48
48
  def self.create_export(params = {}, options = {})
49
49
  response, options = Api.send_request("/dns_records/create_export", :post, params, options)
50
- response.data.map do |entity_data|
51
- Export.new(entity_data, options)
52
- end
50
+ Export.new(response.data, options)
53
51
  end
54
52
  end
55
53
  end
@@ -102,9 +102,7 @@ module Files
102
102
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
103
103
 
104
104
  response, options = Api.send_request("/email_incoming_messages/create_export", :post, params, options)
105
- response.data.map do |entity_data|
106
- Export.new(entity_data, options)
107
- end
105
+ Export.new(response.data, options)
108
106
  end
109
107
  end
110
108
  end
@@ -82,9 +82,7 @@ module Files
82
82
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
83
83
 
84
84
  response, options = Api.send_request("/email_logs/create_export", :post, params, options)
85
- response.data.map do |entity_data|
86
- Export.new(entity_data, options)
87
- end
85
+ Export.new(response.data, options)
88
86
  end
89
87
  end
90
88
  end
@@ -92,9 +92,7 @@ module Files
92
92
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
93
93
 
94
94
  response, options = Api.send_request("/exavault_api_request_logs/create_export", :post, params, options)
95
- response.data.map do |entity_data|
96
- Export.new(entity_data, options)
97
- end
95
+ Export.new(response.data, options)
98
96
  end
99
97
  end
100
98
  end
@@ -162,9 +162,7 @@ module Files
162
162
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
163
163
 
164
164
  response, options = Api.send_request("/exports/create_export", :post, params, options)
165
- response.data.map do |entity_data|
166
- Export.new(entity_data, options)
167
- end
165
+ Export.new(response.data, options)
168
166
  end
169
167
  end
170
168
  end
@@ -219,9 +219,7 @@ module Files
219
219
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
220
220
 
221
221
  response, options = Api.send_request("/external_events/create_export", :post, params, options)
222
- response.data.map do |entity_data|
223
- Export.new(entity_data, options)
224
- end
222
+ Export.new(response.data, options)
225
223
  end
226
224
  end
227
225
  end
@@ -77,9 +77,7 @@ module Files
77
77
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
78
78
 
79
79
  response, options = Api.send_request("/file_migration_logs/create_export", :post, params, options)
80
- response.data.map do |entity_data|
81
- Export.new(entity_data, options)
82
- end
80
+ Export.new(response.data, options)
83
81
  end
84
82
  end
85
83
  end
@@ -181,9 +181,7 @@ module Files
181
181
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
182
182
 
183
183
  response, options = Api.send_request("/form_field_sets/create_export", :post, params, options)
184
- response.data.map do |entity_data|
185
- Export.new(entity_data, options)
186
- end
184
+ Export.new(response.data, options)
187
185
  end
188
186
 
189
187
  # Parameters:
@@ -127,9 +127,7 @@ module Files
127
127
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
128
128
 
129
129
  response, options = Api.send_request("/ftp_action_logs/create_export", :post, params, options)
130
- response.data.map do |entity_data|
131
- Export.new(entity_data, options)
132
- end
130
+ Export.new(response.data, options)
133
131
  end
134
132
  end
135
133
  end
@@ -179,9 +179,7 @@ module Files
179
179
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
180
180
 
181
181
  response, options = Api.send_request("/gpg_keys/create_export", :post, params, options)
182
- response.data.map do |entity_data|
183
- Export.new(entity_data, options)
184
- end
182
+ Export.new(response.data, options)
185
183
  end
186
184
 
187
185
  # Parameters:
@@ -244,9 +244,7 @@ module Files
244
244
  raise InvalidParameterError.new("Bad parameter: ids must be an String") if params[:ids] and !params[:ids].is_a?(String)
245
245
 
246
246
  response, options = Api.send_request("/groups/create_export", :post, params, options)
247
- response.data.map do |entity_data|
248
- Export.new(entity_data, options)
249
- end
247
+ Export.new(response.data, options)
250
248
  end
251
249
 
252
250
  # Parameters:
@@ -156,9 +156,7 @@ module Files
156
156
  raise InvalidParameterError.new("Bad parameter: group_id must be an Integer") if params[:group_id] and !params[:group_id].is_a?(Integer)
157
157
 
158
158
  response, options = Api.send_request("/group_users/create_export", :post, params, options)
159
- response.data.map do |entity_data|
160
- Export.new(entity_data, options)
161
- end
159
+ Export.new(response.data, options)
162
160
  end
163
161
 
164
162
  # Parameters:
@@ -219,9 +219,7 @@ module Files
219
219
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
220
220
 
221
221
  response, options = Api.send_request("/history/files/#{params[:path]}/create_export", :post, params, options)
222
- response.data.map do |entity_data|
223
- Export.new(entity_data, options)
224
- end
222
+ Export.new(response.data, options)
225
223
  end
226
224
 
227
225
  # Parameters:
@@ -241,9 +239,7 @@ module Files
241
239
  raise MissingParameterError.new("Parameter missing: path") unless params[:path]
242
240
 
243
241
  response, options = Api.send_request("/history/folders/#{params[:path]}/create_export", :post, params, options)
244
- response.data.map do |entity_data|
245
- Export.new(entity_data, options)
246
- end
242
+ Export.new(response.data, options)
247
243
  end
248
244
 
249
245
  # Parameters:
@@ -263,9 +259,7 @@ module Files
263
259
  raise MissingParameterError.new("Parameter missing: user_id") unless params[:user_id]
264
260
 
265
261
  response, options = Api.send_request("/history/users/#{params[:user_id]}/create_export", :post, params, options)
266
- response.data.map do |entity_data|
267
- Export.new(entity_data, options)
268
- end
262
+ Export.new(response.data, options)
269
263
  end
270
264
 
271
265
  # Parameters:
@@ -280,9 +274,7 @@ module Files
280
274
  raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
281
275
 
282
276
  response, options = Api.send_request("/history/login/create_export", :post, params, options)
283
- response.data.map do |entity_data|
284
- Export.new(entity_data, options)
285
- end
277
+ Export.new(response.data, options)
286
278
  end
287
279
 
288
280
  # Parameters:
@@ -301,9 +293,7 @@ module Files
301
293
  raise InvalidParameterError.new("Bad parameter: filter_prefix must be an Hash") if params[:filter_prefix] and !params[:filter_prefix].is_a?(Hash)
302
294
 
303
295
  response, options = Api.send_request("/history/create_export", :post, params, options)
304
- response.data.map do |entity_data|
305
- Export.new(entity_data, options)
306
- end
296
+ Export.new(response.data, options)
307
297
  end
308
298
  end
309
299
  end
@@ -169,9 +169,7 @@ module Files
169
169
  raise MissingParameterError.new("Parameter missing: history_export_id") unless params[:history_export_id]
170
170
 
171
171
  response, options = Api.send_request("/history_export_results/create_export", :post, params, options)
172
- response.data.map do |entity_data|
173
- Export.new(entity_data, options)
174
- end
172
+ Export.new(response.data, options)
175
173
  end
176
174
  end
177
175
  end
@@ -137,9 +137,7 @@ module Files
137
137
  raise MissingParameterError.new("Parameter missing: inbox_id") unless params[:inbox_id]
138
138
 
139
139
  response, options = Api.send_request("/inbox_recipients/create_export", :post, params, options)
140
- response.data.map do |entity_data|
141
- Export.new(entity_data, options)
142
- end
140
+ Export.new(response.data, options)
143
141
  end
144
142
  end
145
143
  end
@@ -93,9 +93,7 @@ module Files
93
93
  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)
94
94
 
95
95
  response, options = Api.send_request("/inbox_registrations/create_export", :post, params, options)
96
- response.data.map do |entity_data|
97
- Export.new(entity_data, options)
98
- end
96
+ Export.new(response.data, options)
99
97
  end
100
98
  end
101
99
  end
@@ -68,9 +68,7 @@ module Files
68
68
  raise InvalidParameterError.new("Bad parameter: filter_lteq must be an Hash") if params[:filter_lteq] and !params[:filter_lteq].is_a?(Hash)
69
69
 
70
70
  response, options = Api.send_request("/inbox_uploads/create_export", :post, params, options)
71
- response.data.map do |entity_data|
72
- Export.new(entity_data, options)
73
- end
71
+ Export.new(response.data, options)
74
72
  end
75
73
  end
76
74
  end
@@ -108,9 +108,7 @@ module Files
108
108
 
109
109
  def self.create_export(params = {}, options = {})
110
110
  response, options = Api.send_request("/invoices/create_export", :post, params, options)
111
- response.data.map do |entity_data|
112
- Export.new(entity_data, options)
113
- end
111
+ Export.new(response.data, options)
114
112
  end
115
113
  end
116
114
  end
@@ -83,30 +83,22 @@ module Files
83
83
 
84
84
  def self.smartfile_reserved_create_export(params = {}, options = {})
85
85
  response, options = Api.send_request("/ip_addresses/smartfile-reserved/create_export", :post, params, options)
86
- response.data.map do |entity_data|
87
- Export.new(entity_data, options)
88
- end
86
+ Export.new(response.data, options)
89
87
  end
90
88
 
91
89
  def self.exavault_reserved_create_export(params = {}, options = {})
92
90
  response, options = Api.send_request("/ip_addresses/exavault-reserved/create_export", :post, params, options)
93
- response.data.map do |entity_data|
94
- Export.new(entity_data, options)
95
- end
91
+ Export.new(response.data, options)
96
92
  end
97
93
 
98
94
  def self.reserved_create_export(params = {}, options = {})
99
95
  response, options = Api.send_request("/ip_addresses/reserved/create_export", :post, params, options)
100
- response.data.map do |entity_data|
101
- Export.new(entity_data, options)
102
- end
96
+ Export.new(response.data, options)
103
97
  end
104
98
 
105
99
  def self.create_export(params = {}, options = {})
106
100
  response, options = Api.send_request("/ip_addresses/create_export", :post, params, options)
107
- response.data.map do |entity_data|
108
- Export.new(entity_data, options)
109
- end
101
+ Export.new(response.data, options)
110
102
  end
111
103
  end
112
104
  end
@@ -173,9 +173,7 @@ module Files
173
173
  raise MissingParameterError.new("Parameter missing: project_id") unless params[:project_id]
174
174
 
175
175
  response, options = Api.send_request("/messages/create_export", :post, params, options)
176
- response.data.map do |entity_data|
177
- Export.new(entity_data, options)
178
- end
176
+ Export.new(response.data, options)
179
177
  end
180
178
 
181
179
  # Parameters:
@@ -143,9 +143,7 @@ module Files
143
143
  raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
144
144
 
145
145
  response, options = Api.send_request("/message_comments/create_export", :post, params, options)
146
- response.data.map do |entity_data|
147
- Export.new(entity_data, options)
148
- end
146
+ Export.new(response.data, options)
149
147
  end
150
148
 
151
149
  # Parameters:
@@ -120,9 +120,7 @@ module Files
120
120
  raise MissingParameterError.new("Parameter missing: message_comment_id") unless params[:message_comment_id]
121
121
 
122
122
  response, options = Api.send_request("/message_comment_reactions/create_export", :post, params, options)
123
- response.data.map do |entity_data|
124
- Export.new(entity_data, options)
125
- end
123
+ Export.new(response.data, options)
126
124
  end
127
125
 
128
126
  def self.delete(id, params = {}, options = {})
@@ -120,9 +120,7 @@ module Files
120
120
  raise MissingParameterError.new("Parameter missing: message_id") unless params[:message_id]
121
121
 
122
122
  response, options = Api.send_request("/message_reactions/create_export", :post, params, options)
123
- response.data.map do |entity_data|
124
- Export.new(entity_data, options)
125
- end
123
+ Export.new(response.data, options)
126
124
  end
127
125
 
128
126
  def self.delete(id, params = {}, options = {})