files.com 1.1.340 → 1.1.342
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.
- checksums.yaml +4 -4
 - data/README.md +6 -0
 - data/_VERSION +1 -1
 - data/docs/bundle.md +7 -7
 - data/docs/bundle_download.md +1 -1
 - data/docs/bundle_notification.md +7 -7
 - data/docs/bundle_recipient.md +2 -2
 - data/docs/bundle_registration.md +1 -1
 - data/docs/user.md +7 -2
 - data/lib/files.com/models/user.rb +11 -0
 - data/lib/files.com/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 38408c416d31bce9819a81ec303ddffe83d5e3fb0ac6d5a0212271fddc80c9cc
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: aa2b60ccf3eb9e2625a8b9eb0d0f15f9246b508d2d17baebe79eb596a8cf4247
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1b59393e34a1e4bed67ae869919e12437bd2a9d02e7f596c8cf5aace60eaca95d424f6b1f1e448a7696a9abd45d82eeab122f44ca4558314c4ca3976f7b29db3
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 9a6386c4205335fc7115a8bd0ddf84fe3e62daedf222eaf01750a492008cb422bd0707dfe090044bb4044a7265441c13b8200d142af822e30731ac4f3d8dc2f5
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,5 +1,11 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Files.com Ruby Client
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            The Files.com Ruby Client provides a direct, high performance integration to Files.com from applications written in Ruby.
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Files.com is the cloud-native, next-gen MFT, SFTP, and secure file-sharing platform that replaces brittle legacy servers with one always-on, secure fabric. Automate mission-critical file flows—across any cloud, protocol, or partner—while supporting human collaboration and eliminating manual work.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            With universal SFTP, AS2, HTTPS, and 50+ native connectors backed by military-grade encryption, Files.com unifies governance, visibility, and compliance in a single pane of glass.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
       3 
9 
     | 
    
         
             
            The content included here should be enough to get started, but please visit our
         
     | 
| 
       4 
10 
     | 
    
         
             
            [Developer Documentation Website](https://developers.files.com/ruby/) for the complete documentation.
         
     | 
| 
       5 
11 
     | 
    
         | 
    
        data/_VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1.1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.1.342
         
     | 
    
        data/docs/bundle.md
    CHANGED
    
    | 
         @@ -138,7 +138,7 @@ 
     | 
|
| 
       138 
138 
     | 
    
         | 
| 
       139 
139 
     | 
    
         
             
            ---
         
     | 
| 
       140 
140 
     | 
    
         | 
| 
       141 
     | 
    
         
            -
            ## List  
     | 
| 
      
 141 
     | 
    
         
            +
            ## List Share Links
         
     | 
| 
       142 
142 
     | 
    
         | 
| 
       143 
143 
     | 
    
         
             
            ```
         
     | 
| 
       144 
144 
     | 
    
         
             
            Files::Bundle.list(
         
     | 
| 
         @@ -162,7 +162,7 @@ Files::Bundle.list( 
     | 
|
| 
       162 
162 
     | 
    
         | 
| 
       163 
163 
     | 
    
         
             
            ---
         
     | 
| 
       164 
164 
     | 
    
         | 
| 
       165 
     | 
    
         
            -
            ## Show  
     | 
| 
      
 165 
     | 
    
         
            +
            ## Show Share Link
         
     | 
| 
       166 
166 
     | 
    
         | 
| 
       167 
167 
     | 
    
         
             
            ```
         
     | 
| 
       168 
168 
     | 
    
         
             
            Files::Bundle.find(id)
         
     | 
| 
         @@ -175,7 +175,7 @@ Files::Bundle.find(id) 
     | 
|
| 
       175 
175 
     | 
    
         | 
| 
       176 
176 
     | 
    
         
             
            ---
         
     | 
| 
       177 
177 
     | 
    
         | 
| 
       178 
     | 
    
         
            -
            ## Create  
     | 
| 
      
 178 
     | 
    
         
            +
            ## Create Share Link
         
     | 
| 
       179 
179 
     | 
    
         | 
| 
       180 
180 
     | 
    
         
             
            ```
         
     | 
| 
       181 
181 
     | 
    
         
             
            Files::Bundle.create(
         
     | 
| 
         @@ -259,7 +259,7 @@ Files::Bundle.share(id, 
     | 
|
| 
       259 
259 
     | 
    
         | 
| 
       260 
260 
     | 
    
         
             
            ---
         
     | 
| 
       261 
261 
     | 
    
         | 
| 
       262 
     | 
    
         
            -
            ## Update  
     | 
| 
      
 262 
     | 
    
         
            +
            ## Update Share Link
         
     | 
| 
       263 
263 
     | 
    
         | 
| 
       264 
264 
     | 
    
         
             
            ```
         
     | 
| 
       265 
265 
     | 
    
         
             
            Files::Bundle.update(id, 
         
     | 
| 
         @@ -322,7 +322,7 @@ Files::Bundle.update(id, 
     | 
|
| 
       322 
322 
     | 
    
         | 
| 
       323 
323 
     | 
    
         
             
            ---
         
     | 
| 
       324 
324 
     | 
    
         | 
| 
       325 
     | 
    
         
            -
            ## Delete  
     | 
| 
      
 325 
     | 
    
         
            +
            ## Delete Share Link
         
     | 
| 
       326 
326 
     | 
    
         | 
| 
       327 
327 
     | 
    
         
             
            ```
         
     | 
| 
       328 
328 
     | 
    
         
             
            Files::Bundle.delete(id)
         
     | 
| 
         @@ -357,7 +357,7 @@ bundle.share( 
     | 
|
| 
       357 
357 
     | 
    
         | 
| 
       358 
358 
     | 
    
         
             
            ---
         
     | 
| 
       359 
359 
     | 
    
         | 
| 
       360 
     | 
    
         
            -
            ## Update  
     | 
| 
      
 360 
     | 
    
         
            +
            ## Update Share Link
         
     | 
| 
       361 
361 
     | 
    
         | 
| 
       362 
362 
     | 
    
         
             
            ```
         
     | 
| 
       363 
363 
     | 
    
         
             
            bundle = Files::Bundle.find(id)
         
     | 
| 
         @@ -422,7 +422,7 @@ bundle.update( 
     | 
|
| 
       422 
422 
     | 
    
         | 
| 
       423 
423 
     | 
    
         
             
            ---
         
     | 
| 
       424 
424 
     | 
    
         | 
| 
       425 
     | 
    
         
            -
            ## Delete  
     | 
| 
      
 425 
     | 
    
         
            +
            ## Delete Share Link
         
     | 
| 
       426 
426 
     | 
    
         | 
| 
       427 
427 
     | 
    
         
             
            ```
         
     | 
| 
       428 
428 
     | 
    
         
             
            bundle = Files::Bundle.find(id)
         
     | 
    
        data/docs/bundle_download.md
    CHANGED
    
    
    
        data/docs/bundle_notification.md
    CHANGED
    
    | 
         @@ -22,7 +22,7 @@ 
     | 
|
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
            ---
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            ## List  
     | 
| 
      
 25 
     | 
    
         
            +
            ## List Share Link Notifications
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
            ```
         
     | 
| 
       28 
28 
     | 
    
         
             
            Files::BundleNotification.list(
         
     | 
| 
         @@ -41,7 +41,7 @@ Files::BundleNotification.list( 
     | 
|
| 
       41 
41 
     | 
    
         | 
| 
       42 
42 
     | 
    
         
             
            ---
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
     | 
    
         
            -
            ## Show  
     | 
| 
      
 44 
     | 
    
         
            +
            ## Show Share Link Notification
         
     | 
| 
       45 
45 
     | 
    
         | 
| 
       46 
46 
     | 
    
         
             
            ```
         
     | 
| 
       47 
47 
     | 
    
         
             
            Files::BundleNotification.find(id)
         
     | 
| 
         @@ -54,7 +54,7 @@ Files::BundleNotification.find(id) 
     | 
|
| 
       54 
54 
     | 
    
         | 
| 
       55 
55 
     | 
    
         
             
            ---
         
     | 
| 
       56 
56 
     | 
    
         | 
| 
       57 
     | 
    
         
            -
            ## Create  
     | 
| 
      
 57 
     | 
    
         
            +
            ## Create Share Link Notification
         
     | 
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         
             
            ```
         
     | 
| 
       60 
60 
     | 
    
         
             
            Files::BundleNotification.create(
         
     | 
| 
         @@ -77,7 +77,7 @@ Files::BundleNotification.create( 
     | 
|
| 
       77 
77 
     | 
    
         | 
| 
       78 
78 
     | 
    
         
             
            ---
         
     | 
| 
       79 
79 
     | 
    
         | 
| 
       80 
     | 
    
         
            -
            ## Update  
     | 
| 
      
 80 
     | 
    
         
            +
            ## Update Share Link Notification
         
     | 
| 
       81 
81 
     | 
    
         | 
| 
       82 
82 
     | 
    
         
             
            ```
         
     | 
| 
       83 
83 
     | 
    
         
             
            Files::BundleNotification.update(id, 
         
     | 
| 
         @@ -95,7 +95,7 @@ Files::BundleNotification.update(id, 
     | 
|
| 
       95 
95 
     | 
    
         | 
| 
       96 
96 
     | 
    
         
             
            ---
         
     | 
| 
       97 
97 
     | 
    
         | 
| 
       98 
     | 
    
         
            -
            ## Delete  
     | 
| 
      
 98 
     | 
    
         
            +
            ## Delete Share Link Notification
         
     | 
| 
       99 
99 
     | 
    
         | 
| 
       100 
100 
     | 
    
         
             
            ```
         
     | 
| 
       101 
101 
     | 
    
         
             
            Files::BundleNotification.delete(id)
         
     | 
| 
         @@ -108,7 +108,7 @@ Files::BundleNotification.delete(id) 
     | 
|
| 
       108 
108 
     | 
    
         | 
| 
       109 
109 
     | 
    
         
             
            ---
         
     | 
| 
       110 
110 
     | 
    
         | 
| 
       111 
     | 
    
         
            -
            ## Update  
     | 
| 
      
 111 
     | 
    
         
            +
            ## Update Share Link Notification
         
     | 
| 
       112 
112 
     | 
    
         | 
| 
       113 
113 
     | 
    
         
             
            ```
         
     | 
| 
       114 
114 
     | 
    
         
             
            bundle_notification = Files::BundleNotification.find(id)
         
     | 
| 
         @@ -128,7 +128,7 @@ bundle_notification.update( 
     | 
|
| 
       128 
128 
     | 
    
         | 
| 
       129 
129 
     | 
    
         
             
            ---
         
     | 
| 
       130 
130 
     | 
    
         | 
| 
       131 
     | 
    
         
            -
            ## Delete  
     | 
| 
      
 131 
     | 
    
         
            +
            ## Delete Share Link Notification
         
     | 
| 
       132 
132 
     | 
    
         | 
| 
       133 
133 
     | 
    
         
             
            ```
         
     | 
| 
       134 
134 
     | 
    
         
             
            bundle_notification = Files::BundleNotification.find(id)
         
     | 
    
        data/docs/bundle_recipient.md
    CHANGED
    
    | 
         @@ -24,7 +24,7 @@ 
     | 
|
| 
       24 
24 
     | 
    
         | 
| 
       25 
25 
     | 
    
         
             
            ---
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
     | 
    
         
            -
            ## List  
     | 
| 
      
 27 
     | 
    
         
            +
            ## List Share Link Recipients
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
29 
     | 
    
         
             
            ```
         
     | 
| 
       30 
30 
     | 
    
         
             
            Files::BundleRecipient.list(
         
     | 
| 
         @@ -45,7 +45,7 @@ Files::BundleRecipient.list( 
     | 
|
| 
       45 
45 
     | 
    
         | 
| 
       46 
46 
     | 
    
         
             
            ---
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
       48 
     | 
    
         
            -
            ## Create  
     | 
| 
      
 48 
     | 
    
         
            +
            ## Create Share Link Recipient
         
     | 
| 
       49 
49 
     | 
    
         | 
| 
       50 
50 
     | 
    
         
             
            ```
         
     | 
| 
       51 
51 
     | 
    
         
             
            Files::BundleRecipient.create(
         
     | 
    
        data/docs/bundle_registration.md
    CHANGED
    
    
    
        data/docs/user.md
    CHANGED
    
    | 
         @@ -160,6 +160,7 @@ 
     | 
|
| 
       160 
160 
     | 
    
         
             
            * `password_confirmation` (string): Optional, but if provided, we will ensure that it matches the value sent in `password`.
         
     | 
| 
       161 
161 
     | 
    
         
             
            * `announcements_read` (boolean): Signifies that the user has read all the announcements in the UI.
         
     | 
| 
       162 
162 
     | 
    
         
             
            * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
         
     | 
| 
      
 163 
     | 
    
         
            +
            * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
       163 
164 
     | 
    
         | 
| 
       164 
165 
     | 
    
         | 
| 
       165 
166 
     | 
    
         
             
            ---
         
     | 
| 
         @@ -398,7 +399,8 @@ Files::User.update(id, 
     | 
|
| 
       398 
399 
     | 
    
         
             
              user_root: "example", 
         
     | 
| 
       399 
400 
     | 
    
         
             
              user_home: "example", 
         
     | 
| 
       400 
401 
     | 
    
         
             
              username: "user", 
         
     | 
| 
       401 
     | 
    
         
            -
              clear_2fa: false
         
     | 
| 
      
 402 
     | 
    
         
            +
              clear_2fa: false, 
         
     | 
| 
      
 403 
     | 
    
         
            +
              convert_to_partner_user: false
         
     | 
| 
       402 
404 
     | 
    
         
             
            )
         
     | 
| 
       403 
405 
     | 
    
         
             
            ```
         
     | 
| 
       404 
406 
     | 
    
         | 
| 
         @@ -457,6 +459,7 @@ Files::User.update(id, 
     | 
|
| 
       457 
459 
     | 
    
         
             
            * `user_home` (string): Home folder for FTP/SFTP.  Note that this is not used for API, Desktop, or Web interface.
         
     | 
| 
       458 
460 
     | 
    
         
             
            * `username` (string): User's username
         
     | 
| 
       459 
461 
     | 
    
         
             
            * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
         
     | 
| 
      
 462 
     | 
    
         
            +
            * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
       460 
463 
     | 
    
         | 
| 
       461 
464 
     | 
    
         | 
| 
       462 
465 
     | 
    
         
             
            ---
         
     | 
| 
         @@ -572,7 +575,8 @@ user.update( 
     | 
|
| 
       572 
575 
     | 
    
         
             
              user_root: "example",
         
     | 
| 
       573 
576 
     | 
    
         
             
              user_home: "example",
         
     | 
| 
       574 
577 
     | 
    
         
             
              username: "user",
         
     | 
| 
       575 
     | 
    
         
            -
              clear_2fa: false
         
     | 
| 
      
 578 
     | 
    
         
            +
              clear_2fa: false,
         
     | 
| 
      
 579 
     | 
    
         
            +
              convert_to_partner_user: false
         
     | 
| 
       576 
580 
     | 
    
         
             
            )
         
     | 
| 
       577 
581 
     | 
    
         
             
            ```
         
     | 
| 
       578 
582 
     | 
    
         | 
| 
         @@ -631,6 +635,7 @@ user.update( 
     | 
|
| 
       631 
635 
     | 
    
         
             
            * `user_home` (string): Home folder for FTP/SFTP.  Note that this is not used for API, Desktop, or Web interface.
         
     | 
| 
       632 
636 
     | 
    
         
             
            * `username` (string): User's username
         
     | 
| 
       633 
637 
     | 
    
         
             
            * `clear_2fa` (boolean): If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
         
     | 
| 
      
 638 
     | 
    
         
            +
            * `convert_to_partner_user` (boolean): If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
       634 
639 
     | 
    
         | 
| 
       635 
640 
     | 
    
         | 
| 
       636 
641 
     | 
    
         
             
            ---
         
     | 
| 
         @@ -734,6 +734,15 @@ module Files 
     | 
|
| 
       734 
734 
     | 
    
         
             
                  @attributes[:clear_2fa] = value
         
     | 
| 
       735 
735 
     | 
    
         
             
                end
         
     | 
| 
       736 
736 
     | 
    
         | 
| 
      
 737 
     | 
    
         
            +
                # boolean - If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
      
 738 
     | 
    
         
            +
                def convert_to_partner_user
         
     | 
| 
      
 739 
     | 
    
         
            +
                  @attributes[:convert_to_partner_user]
         
     | 
| 
      
 740 
     | 
    
         
            +
                end
         
     | 
| 
      
 741 
     | 
    
         
            +
             
     | 
| 
      
 742 
     | 
    
         
            +
                def convert_to_partner_user=(value)
         
     | 
| 
      
 743 
     | 
    
         
            +
                  @attributes[:convert_to_partner_user] = value
         
     | 
| 
      
 744 
     | 
    
         
            +
                end
         
     | 
| 
      
 745 
     | 
    
         
            +
             
     | 
| 
       737 
746 
     | 
    
         
             
                # Unlock user who has been locked out due to failed logins
         
     | 
| 
       738 
747 
     | 
    
         
             
                def unlock(params = {})
         
     | 
| 
       739 
748 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
         @@ -820,6 +829,7 @@ module Files 
     | 
|
| 
       820 
829 
     | 
    
         
             
                #   user_home - string - Home folder for FTP/SFTP.  Note that this is not used for API, Desktop, or Web interface.
         
     | 
| 
       821 
830 
     | 
    
         
             
                #   username - string - User's username
         
     | 
| 
       822 
831 
     | 
    
         
             
                #   clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
         
     | 
| 
      
 832 
     | 
    
         
            +
                #   convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
       823 
833 
     | 
    
         
             
                def update(params = {})
         
     | 
| 
       824 
834 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       825 
835 
     | 
    
         
             
                  params[:id] = @attributes[:id]
         
     | 
| 
         @@ -1115,6 +1125,7 @@ module Files 
     | 
|
| 
       1115 
1125 
     | 
    
         
             
                #   user_home - string - Home folder for FTP/SFTP.  Note that this is not used for API, Desktop, or Web interface.
         
     | 
| 
       1116 
1126 
     | 
    
         
             
                #   username - string - User's username
         
     | 
| 
       1117 
1127 
     | 
    
         
             
                #   clear_2fa - boolean - If true when changing authentication_method from `password` to `sso`, remove all two-factor methods. Ignored in all other cases.
         
     | 
| 
      
 1128 
     | 
    
         
            +
                #   convert_to_partner_user - boolean - If true, convert this user to a partner user by assigning the partner_id provided.
         
     | 
| 
       1118 
1129 
     | 
    
         
             
                def self.update(id, params = {}, options = {})
         
     | 
| 
       1119 
1130 
     | 
    
         
             
                  params ||= {}
         
     | 
| 
       1120 
1131 
     | 
    
         
             
                  params[:id] = id
         
     | 
    
        data/lib/files.com/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: files.com
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.342
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - files.com
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2025-10- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2025-10-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: addressable
         
     |