files.com 1.1.671 → 1.1.672

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 (345) 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 +0 -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/version.rb +1 -1
  226. data/lib/files.com.rb +0 -59
  227. metadata +1 -119
  228. data/docs/account.md +0 -155
  229. data/docs/action_webhook_failure.md +0 -28
  230. data/docs/agent_proxy_identity.md +0 -49
  231. data/docs/agent_proxy_identity_endpoint.md +0 -11
  232. data/docs/agent_proxy_identity_result.md +0 -24
  233. data/docs/agent_v2_auth.md +0 -17
  234. data/docs/announcement.md +0 -57
  235. data/docs/blog_post.md +0 -57
  236. data/docs/bundle_recipient_registration.md +0 -39
  237. data/docs/certificate.md +0 -258
  238. data/docs/child_site.md +0 -583
  239. data/docs/clickwrap_acceptance.md +0 -30
  240. data/docs/client_log.md +0 -17
  241. data/docs/crash_report.md +0 -50
  242. data/docs/custom_domain_for_proxy.md +0 -23
  243. data/docs/email_preference.md +0 -108
  244. data/docs/email_preference_bundle_notification.md +0 -15
  245. data/docs/email_preference_notification.md +0 -17
  246. data/docs/export.md +0 -90
  247. data/docs/front_end_server.md +0 -111
  248. data/docs/frontend_metric.md +0 -34
  249. data/docs/inbox.md +0 -102
  250. data/docs/inbox_recipient_registration.md +0 -35
  251. data/docs/ip.md +0 -63
  252. data/docs/ip_abuse_entry.md +0 -47
  253. data/docs/label.md +0 -9
  254. data/docs/lead.md +0 -161
  255. data/docs/monitoring_stat.md +0 -38
  256. data/docs/monitoring_stats.md +0 -15
  257. data/docs/mover_package.md +0 -68
  258. data/docs/nps_response.md +0 -75
  259. data/docs/oauth_redirect.md +0 -11
  260. data/docs/paired_api_key.md +0 -19
  261. data/docs/paypal_express_info.md +0 -31
  262. data/docs/paypal_express_url.md +0 -11
  263. data/docs/plan.md +0 -107
  264. data/docs/public_hosting_session_pairing.md +0 -15
  265. data/docs/public_inbox.md +0 -121
  266. data/docs/public_url.md +0 -59
  267. data/docs/regional_migration.md +0 -0
  268. data/docs/release.md +0 -83
  269. data/docs/release_package.md +0 -19
  270. data/docs/revision.md +0 -40
  271. data/docs/safe_plan.md +0 -0
  272. data/docs/session_available_site.md +0 -26
  273. data/docs/setting.md +0 -33
  274. data/docs/settings.md +0 -498
  275. data/docs/ssl_certificate.md +0 -37
  276. data/docs/staging_site.md +0 -591
  277. data/docs/support_request.md +0 -126
  278. data/docs/sync_api_usage_snapshot.md +0 -23
  279. data/docs/sync_api_usage_snapshot_report.md +0 -71
  280. data/docs/sync_bandwidth_snapshot.md +0 -48
  281. data/docs/two_factor_authentication_method.md +0 -169
  282. data/docs/warning.md +0 -36
  283. data/docs/webauthn_sign_request.md +0 -13
  284. data/docs/zip_download.md +0 -32
  285. data/docs/zip_download_file.md +0 -45
  286. data/docs/zip_download_files.md +0 -23
  287. data/lib/files.com/models/account.rb +0 -346
  288. data/lib/files.com/models/action_webhook_failure.rb +0 -34
  289. data/lib/files.com/models/agent_proxy_identity.rb +0 -47
  290. data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
  291. data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
  292. data/lib/files.com/models/agent_v2_auth.rb +0 -32
  293. data/lib/files.com/models/announcement.rb +0 -89
  294. data/lib/files.com/models/blog_post.rb +0 -84
  295. data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
  296. data/lib/files.com/models/certificate.rb +0 -455
  297. data/lib/files.com/models/child_site.rb +0 -1756
  298. data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
  299. data/lib/files.com/models/client_log.rb +0 -25
  300. data/lib/files.com/models/crash_report.rb +0 -151
  301. data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
  302. data/lib/files.com/models/email_preference.rb +0 -124
  303. data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
  304. data/lib/files.com/models/email_preference_notification.rb +0 -32
  305. data/lib/files.com/models/export.rb +0 -153
  306. data/lib/files.com/models/front_end_server.rb +0 -335
  307. data/lib/files.com/models/frontend_metric.rb +0 -65
  308. data/lib/files.com/models/inbox.rb +0 -123
  309. data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
  310. data/lib/files.com/models/ip.rb +0 -82
  311. data/lib/files.com/models/ip_abuse_entry.rb +0 -96
  312. data/lib/files.com/models/label.rb +0 -22
  313. data/lib/files.com/models/lead.rb +0 -434
  314. data/lib/files.com/models/monitoring_stat.rb +0 -43
  315. data/lib/files.com/models/monitoring_stats.rb +0 -22
  316. data/lib/files.com/models/mover_package.rb +0 -80
  317. data/lib/files.com/models/nps_response.rb +0 -128
  318. data/lib/files.com/models/oauth_redirect.rb +0 -17
  319. data/lib/files.com/models/paired_api_key.rb +0 -37
  320. data/lib/files.com/models/paypal_express_info.rb +0 -67
  321. data/lib/files.com/models/paypal_express_url.rb +0 -17
  322. data/lib/files.com/models/plan.rb +0 -209
  323. data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
  324. data/lib/files.com/models/public_inbox.rb +0 -142
  325. data/lib/files.com/models/public_url.rb +0 -177
  326. data/lib/files.com/models/regional_migration.rb +0 -12
  327. data/lib/files.com/models/release.rb +0 -153
  328. data/lib/files.com/models/release_package.rb +0 -37
  329. data/lib/files.com/models/revision.rb +0 -53
  330. data/lib/files.com/models/safe_plan.rb +0 -12
  331. data/lib/files.com/models/session_available_site.rb +0 -47
  332. data/lib/files.com/models/setting.rb +0 -36
  333. data/lib/files.com/models/settings.rb +0 -1072
  334. data/lib/files.com/models/ssl_certificate.rb +0 -77
  335. data/lib/files.com/models/staging_site.rb +0 -1781
  336. data/lib/files.com/models/support_request.rb +0 -209
  337. data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
  338. data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
  339. data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
  340. data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
  341. data/lib/files.com/models/warning.rb +0 -38
  342. data/lib/files.com/models/webauthn_sign_request.rb +0 -17
  343. data/lib/files.com/models/zip_download.rb +0 -73
  344. data/lib/files.com/models/zip_download_file.rb +0 -111
  345. data/lib/files.com/models/zip_download_files.rb +0 -42
@@ -1,128 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class NpsResponse
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # int64 - NPS response id
13
- def id
14
- @attributes[:id]
15
- end
16
-
17
- def id=(value)
18
- @attributes[:id] = value
19
- end
20
-
21
- # string
22
- def next_step
23
- @attributes[:next_step]
24
- end
25
-
26
- def next_step=(value)
27
- @attributes[:next_step] = value
28
- end
29
-
30
- # int64 - User ID. Provide a value of `0` to operate the current session's user.
31
- def user_id
32
- @attributes[:user_id]
33
- end
34
-
35
- def user_id=(value)
36
- @attributes[:user_id] = value
37
- end
38
-
39
- # int64 - NPS score
40
- def score
41
- @attributes[:score]
42
- end
43
-
44
- def score=(value)
45
- @attributes[:score] = value
46
- end
47
-
48
- # boolean - NPS skipped
49
- def skipped
50
- @attributes[:skipped]
51
- end
52
-
53
- def skipped=(value)
54
- @attributes[:skipped] = value
55
- end
56
-
57
- # string - NPS comment
58
- def comment
59
- @attributes[:comment]
60
- end
61
-
62
- def comment=(value)
63
- @attributes[:comment] = value
64
- end
65
-
66
- # boolean - NPS contact_me
67
- def contact_me
68
- @attributes[:contact_me]
69
- end
70
-
71
- def contact_me=(value)
72
- @attributes[:contact_me] = value
73
- end
74
-
75
- # Parameters:
76
- # comment (required) - string - NPS comment
77
- # contact_me - boolean - NPS contact_me
78
- def update(params = {})
79
- params ||= {}
80
- params[:id] = @attributes[:id]
81
- raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
82
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
83
- raise InvalidParameterError.new("Bad parameter: comment must be an String") if params[:comment] and !params[:comment].is_a?(String)
84
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
85
- raise MissingParameterError.new("Parameter missing: comment") unless params[:comment]
86
-
87
- Api.send_request("/nps_responses/#{@attributes[:id]}", :patch, params, @options)
88
- end
89
-
90
- def save
91
- if @attributes[:id]
92
- new_obj = update(@attributes)
93
- else
94
- new_obj = NpsResponse.create(@attributes, @options)
95
- end
96
-
97
- @attributes = new_obj.attributes
98
- true
99
- end
100
-
101
- # Parameters:
102
- # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
103
- # score - int64 - NPS score
104
- # skipped - boolean - NPS skipped
105
- def self.create(params = {}, options = {})
106
- raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
107
- raise InvalidParameterError.new("Bad parameter: score must be an Integer") if params[:score] and !params[:score].is_a?(Integer)
108
-
109
- response, options = Api.send_request("/nps_responses", :post, params, options)
110
- NpsResponse.new(response.data, options)
111
- end
112
-
113
- # Parameters:
114
- # comment (required) - string - NPS comment
115
- # contact_me - boolean - NPS contact_me
116
- def self.update(id, params = {}, options = {})
117
- params ||= {}
118
- params[:id] = id
119
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
120
- raise InvalidParameterError.new("Bad parameter: comment must be an String") if params[:comment] and !params[:comment].is_a?(String)
121
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
122
- raise MissingParameterError.new("Parameter missing: comment") unless params[:comment]
123
-
124
- response, options = Api.send_request("/nps_responses/#{params[:id]}", :patch, params, options)
125
- NpsResponse.new(response.data, options)
126
- end
127
- end
128
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class OauthRedirect
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Redirect URL
13
- def redirect_uri
14
- @attributes[:redirect_uri]
15
- end
16
- end
17
- end
@@ -1,37 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class PairedApiKey
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Site URL
13
- def server
14
- @attributes[:server]
15
- end
16
-
17
- # string - Paired API key username
18
- def username
19
- @attributes[:username]
20
- end
21
-
22
- # string - Paired API key password
23
- def password
24
- @attributes[:password]
25
- end
26
-
27
- # string - Unique nickname for this API key
28
- def user_username
29
- @attributes[:user_username]
30
- end
31
-
32
- # string - Unique nickname for this API key
33
- def nickname
34
- @attributes[:nickname]
35
- end
36
- end
37
- end
@@ -1,67 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class PaypalExpressInfo
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # email - Paypal billing email
13
- def billing_email
14
- @attributes[:billing_email]
15
- end
16
-
17
- # string - Paypal billing company name
18
- def billing_company_name
19
- @attributes[:billing_company_name]
20
- end
21
-
22
- # string - Paypal billing address
23
- def billing_address
24
- @attributes[:billing_address]
25
- end
26
-
27
- # string - Paypal billing address 2
28
- def billing_address_2
29
- @attributes[:billing_address_2]
30
- end
31
-
32
- # string - Paypal billing city
33
- def billing_city
34
- @attributes[:billing_city]
35
- end
36
-
37
- # string - Paypal billing state
38
- def billing_state
39
- @attributes[:billing_state]
40
- end
41
-
42
- # string - Paypal billing country
43
- def billing_country
44
- @attributes[:billing_country]
45
- end
46
-
47
- # string - Paypal billing zipcode
48
- def billing_zip
49
- @attributes[:billing_zip]
50
- end
51
-
52
- # string - Paypal billing name
53
- def billing_name
54
- @attributes[:billing_name]
55
- end
56
-
57
- # string - Paypal billing phone
58
- def billing_phone
59
- @attributes[:billing_phone]
60
- end
61
-
62
- # string - Paypal payer ID
63
- def paypal_payer_id
64
- @attributes[:paypal_payer_id]
65
- end
66
- end
67
- end
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class PaypalExpressUrl
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Redirect link
13
- def redirect_to
14
- @attributes[:redirect_to]
15
- end
16
- end
17
- end
@@ -1,209 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bigdecimal"
4
-
5
- module Files
6
- class Plan
7
- attr_reader :options, :attributes
8
-
9
- def initialize(attributes = {}, options = {})
10
- @attributes = attributes || {}
11
- @options = options || {}
12
- end
13
-
14
- # int64 - Plan ID
15
- def id
16
- @attributes[:id]
17
- end
18
-
19
- # decimal - Activation cost (upfront)
20
- def activation_cost
21
- value = @attributes[:activation_cost]
22
- return value if value.nil? || value.is_a?(BigDecimal)
23
-
24
- BigDecimal(value.to_s)
25
- end
26
-
27
- # string - Description of add on charges
28
- def addon_description
29
- @attributes[:addon_description]
30
- end
31
-
32
- # string - Price annually
33
- def annually
34
- @attributes[:annually]
35
- end
36
-
37
- # string - Addons price annually
38
- def annually_addon
39
- @attributes[:annually_addon]
40
- end
41
-
42
- # string - Cost per additional automation and sync flow
43
- def automation_and_sync_flow_overage_cost
44
- @attributes[:automation_and_sync_flow_overage_cost]
45
- end
46
-
47
- # int64 - Number of automation and sync flows included. 0 means unlimited.
48
- def automation_and_sync_flows
49
- @attributes[:automation_and_sync_flows]
50
- end
51
-
52
- # int64 - Number of child sites available
53
- def child_sites
54
- @attributes[:child_sites]
55
- end
56
-
57
- # string - Currency
58
- def currency
59
- @attributes[:currency]
60
- end
61
-
62
- # boolean - Offers dedicated ip?
63
- def dedicated_ip
64
- @attributes[:dedicated_ip]
65
- end
66
-
67
- # int64 - Number of dedicated IPs
68
- def dedicated_ips
69
- @attributes[:dedicated_ips]
70
- end
71
-
72
- # int64 - Number of custom domains
73
- def domain_count
74
- @attributes[:domain_count]
75
- end
76
-
77
- # boolean - Does this plan include the ECA feature bundle?
78
- def feature_bundle_eca
79
- @attributes[:feature_bundle_eca]
80
- end
81
-
82
- # boolean - Does this plan include the Power feature bundle?
83
- def feature_bundle_power
84
- @attributes[:feature_bundle_power]
85
- end
86
-
87
- # boolean - Does this plan include the Enterprise feature bundle?
88
- def feature_bundle_premier
89
- @attributes[:feature_bundle_premier]
90
- end
91
-
92
- # boolean - Does this plan include the Starter feature bundle?
93
- def feature_bundle_starter
94
- @attributes[:feature_bundle_starter]
95
- end
96
-
97
- # string - Price monthly
98
- def monthly
99
- @attributes[:monthly]
100
- end
101
-
102
- # string - Addons price monthly
103
- def monthly_addon
104
- @attributes[:monthly_addon]
105
- end
106
-
107
- # string - Plan name
108
- def name
109
- @attributes[:name]
110
- end
111
-
112
- # int64 - Number of outbound connections
113
- def outbound_connections
114
- @attributes[:outbound_connections]
115
- end
116
-
117
- # int64 - Number of previews available
118
- def preview_page_limit
119
- @attributes[:preview_page_limit]
120
- end
121
-
122
- # int64 - Number of storage regions included
123
- def regions_included
124
- @attributes[:regions_included]
125
- end
126
-
127
- # int64 - Number of minutes between remote sync
128
- def remote_sync_interval
129
- @attributes[:remote_sync_interval]
130
- end
131
-
132
- # string - Additional marketing text to show on signup page
133
- def signup_page_marketing_text
134
- @attributes[:signup_page_marketing_text]
135
- end
136
-
137
- # int64 - # of System Users included. 0 means that system users are included in the normal user quota.
138
- def system_users
139
- @attributes[:system_users]
140
- end
141
-
142
- # int64 - Number of child sites available
143
- def staging_sites
144
- @attributes[:staging_sites]
145
- end
146
-
147
- # string - Cost per million additional transformation and AI credits
148
- def transformation_and_ai_credit_overage_cost_per_million
149
- @attributes[:transformation_and_ai_credit_overage_cost_per_million]
150
- end
151
-
152
- # int64 - Transformation and AI credits included
153
- def transformation_and_ai_credits
154
- @attributes[:transformation_and_ai_credits]
155
- end
156
-
157
- # int64 - # of trial days included. Values of 0 or less mean no trial is offered.
158
- def trial_days
159
- @attributes[:trial_days]
160
- end
161
-
162
- # string - Cost per additional user
163
- def user_cost
164
- @attributes[:user_cost]
165
- end
166
-
167
- # string - Usage cost per GB of overage
168
- def usage_cost
169
- @attributes[:usage_cost]
170
- end
171
-
172
- # int64 - Usage included per month, in GB
173
- def usage_included
174
- @attributes[:usage_included]
175
- end
176
-
177
- # int64 - # of users included. 0 or -1 mean unlimited.
178
- def users
179
- @attributes[:users]
180
- end
181
-
182
- # Parameters:
183
- # 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.
184
- # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
185
- # currency - string - Currency.
186
- def self.list(params = {}, options = {})
187
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
188
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
189
- raise InvalidParameterError.new("Bad parameter: currency must be an String") if params[:currency] and !params[:currency].is_a?(String)
190
-
191
- List.new(Plan, params) do
192
- Api.send_request("/plans", :get, params, options)
193
- end
194
- end
195
-
196
- def self.all(params = {}, options = {})
197
- list(params, options)
198
- end
199
-
200
- # Parameters:
201
- # currency - string - Currency.
202
- def self.create_export(params = {}, options = {})
203
- raise InvalidParameterError.new("Bad parameter: currency must be an String") if params[:currency] and !params[:currency].is_a?(String)
204
-
205
- response, options = Api.send_request("/plans/create_export", :post, params, options)
206
- Export.new(response.data, options)
207
- end
208
- end
209
- end
@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class PublicHostingSessionPairing
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - One-time pairing key for the Public Hosting session
13
- def pairing_key
14
- @attributes[:pairing_key]
15
- end
16
-
17
- # string - Public Hosting URL that exchanges the pairing key for a Public Hosting session cookie
18
- def redirect_uri
19
- @attributes[:redirect_uri]
20
- end
21
-
22
- # date-time - When the pairing key expires
23
- def expires_at
24
- @attributes[:expires_at]
25
- end
26
- end
27
- end
@@ -1,142 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class PublicInbox
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Page link and button color
13
- def color_left
14
- @attributes[:color_left]
15
- end
16
-
17
- # string - Top bar link color
18
- def color_link
19
- @attributes[:color_link]
20
- end
21
-
22
- # string - Page link and button color
23
- def color_text
24
- @attributes[:color_text]
25
- end
26
-
27
- # string - Top bar background color
28
- def color_top
29
- @attributes[:color_top]
30
- end
31
-
32
- # string - Top bar text color
33
- def color_top_text
34
- @attributes[:color_top_text]
35
- end
36
-
37
- # string - Inbox title
38
- def title
39
- @attributes[:title]
40
- end
41
-
42
- # string - User description
43
- def description
44
- @attributes[:description]
45
- end
46
-
47
- # string - Text that will be shown to the users on the Inbox. Use this field to provide custom instructions.
48
- def help_text
49
- @attributes[:help_text]
50
- end
51
-
52
- # string - Unique key for inbox
53
- def key
54
- @attributes[:key]
55
- end
56
-
57
- # boolean - Show this inbox on site login page?
58
- def show_on_login_page
59
- @attributes[:show_on_login_page]
60
- end
61
-
62
- # boolean - Is this inbox password protected?
63
- def has_password
64
- @attributes[:has_password]
65
- end
66
-
67
- # boolean - Does this inbox require registration?
68
- def require_registration
69
- @attributes[:require_registration]
70
- end
71
-
72
- # boolean - Should folder uploads be prevented?
73
- def dont_allow_folders_in_uploads
74
- @attributes[:dont_allow_folders_in_uploads]
75
- end
76
-
77
- # string - Legal text that must be agreed to prior to accessing Inbox.
78
- def clickwrap_body
79
- @attributes[:clickwrap_body]
80
- end
81
-
82
- # FormFieldSet - Custom Form to use
83
- def form_field_set
84
- @attributes[:form_field_set]
85
- end
86
-
87
- # boolean - If true, we will hide the 'Remember Me' box on the Inbox registration page, requiring that the user logout and log back in every time they visit the page.
88
- def require_logout
89
- @attributes[:require_logout]
90
- end
91
-
92
- # Image - Custom logo for Inbox folder
93
- def logo
94
- @attributes[:logo]
95
- end
96
-
97
- # string - URL to open when a public visitor clicks the custom logo
98
- def logo_click_href
99
- @attributes[:logo_click_href]
100
- end
101
-
102
- # Image - Custom logo thumbnail for Inbox folder
103
- def thumbnail
104
- @attributes[:thumbnail]
105
- end
106
-
107
- # Parameters:
108
- # 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.
109
- # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
110
- def self.list(params = {}, options = {})
111
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
112
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
113
-
114
- List.new(PublicInbox, params) do
115
- Api.send_request("/public_inboxes", :get, params, options)
116
- end
117
- end
118
-
119
- def self.all(params = {}, options = {})
120
- list(params, options)
121
- end
122
-
123
- # Parameters:
124
- # key (required) - string - Unique key for inbox
125
- # recipient_code - string - Inbox recipient code
126
- def self.get_key(key, params = {}, options = {})
127
- params ||= {}
128
- params[:key] = key
129
- raise InvalidParameterError.new("Bad parameter: key must be an String") if params[:key] and !params[:key].is_a?(String)
130
- raise InvalidParameterError.new("Bad parameter: recipient_code must be an String") if params[:recipient_code] and !params[:recipient_code].is_a?(String)
131
- raise MissingParameterError.new("Parameter missing: key") unless params[:key]
132
-
133
- response, options = Api.send_request("/public_inboxes/key/#{params[:key]}", :get, params, options)
134
- PublicInbox.new(response.data, options)
135
- end
136
-
137
- def self.create_export(params = {}, options = {})
138
- response, options = Api.send_request("/public_inboxes/create_export", :post, params, options)
139
- Export.new(response.data, options)
140
- end
141
- end
142
- end