files.com 1.1.508 → 1.1.510

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26aecc97bf9646c7b3054d2a896110ff41fcc703ae98eafbe72f7d7a36141417
4
- data.tar.gz: e3b8b0a93ee04896070353c46587b2381a28fff3550166ae2d07b2a7ce1be266
3
+ metadata.gz: a89300b2fb95e9eaabb4f7a8dd8dc98d8d55a79b0a27495c82224a2406ad71b2
4
+ data.tar.gz: 8746e30b6793a431f883bc5595ca5cb9a3cf713f7035d6ea4d5f418131d6994d
5
5
  SHA512:
6
- metadata.gz: 6a39f54ba49b7f73a8fadb5785364515fe385309c62f17e5ded428967878b2e35724901b897ea0b07371ccee41fb6656b95d4891412186ee73a5bacc5e8f7027
7
- data.tar.gz: 3923b0fd749ccf81da70097358b9442730da98231dcf92be6f1077654ce7c4d5c9a8a8406731e31b54c8882b5b945336c8913b29e2f18394269d8e8a7c62f77b
6
+ metadata.gz: a955c1ea79870919d6441bf22922ebff5237c7ea0abf51c3dddf14cacda2240023e41a29f02f3b0aed755ff5481dadd620da3420acc2074b93c57e7ee5b41a83
7
+ data.tar.gz: 21191e9fd1b71a6e59474770c3ee9acf949e828c2eed9ea7a4f1b28ea2c724c23708e00de9033c625d522c0420ffa0f01858d67fbb07c5f4c7755eab2d3ed51a
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.508
1
+ 1.1.510
data/docs/bundle.md CHANGED
@@ -154,7 +154,7 @@ Files::Bundle.list(
154
154
  * `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.
155
155
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
156
156
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
157
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
157
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
158
158
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
159
159
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
160
160
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -0,0 +1,29 @@
1
+ # PartnerSite
2
+
3
+ ## Example PartnerSite Object
4
+
5
+ ```
6
+ {
7
+ "partner_id": 1,
8
+ "partner_name": "Acme Corp",
9
+ "linked_site_id": 1
10
+ }
11
+ ```
12
+
13
+ * `partner_id` (int64): Partner ID
14
+ * `partner_name` (string): Partner Name
15
+ * `linked_site_id` (int64): Linked Site ID
16
+
17
+
18
+ ---
19
+
20
+ ## List Partner Sites
21
+
22
+ ```
23
+ Files::PartnerSite.list
24
+ ```
25
+
26
+ ### Parameters
27
+
28
+ * `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.
29
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
data/docs/user.md CHANGED
@@ -184,10 +184,10 @@ Files::User.list(
184
184
  * `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.
185
185
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
186
186
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `last_desktop_login_at`, `last_login_at`, `site_admin`, `password_validity_days` or `ssl_required`.
187
- * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ workspace_id, disabled ]` or `[ workspace_id, disabled, username ]`.
187
+ * `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
188
188
  * `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
189
189
  * `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
190
- * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`.
190
+ * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
191
191
  * `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
192
192
  * `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
193
193
  * `ids` (string): comma-separated list of User IDs
@@ -531,7 +531,7 @@ module Files
531
531
  # 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.
532
532
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
533
533
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
534
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, created_at ]` and `[ user_id, expires_at ]`.
534
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`, `expires_at`, `code` or `user_id`. Valid field combinations are `[ user_id, expires_at ]`.
535
535
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at` and `expires_at`.
536
536
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `created_at` and `expires_at`.
537
537
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Files
4
+ class PartnerSite
5
+ attr_reader :options, :attributes
6
+
7
+ def initialize(attributes = {}, options = {})
8
+ @attributes = attributes || {}
9
+ @options = options || {}
10
+ end
11
+
12
+ # int64 - Partner ID
13
+ def partner_id
14
+ @attributes[:partner_id]
15
+ end
16
+
17
+ # string - Partner Name
18
+ def partner_name
19
+ @attributes[:partner_name]
20
+ end
21
+
22
+ # int64 - Linked Site ID
23
+ def linked_site_id
24
+ @attributes[:linked_site_id]
25
+ end
26
+
27
+ # Parameters:
28
+ # 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.
29
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
30
+ def self.list(params = {}, options = {})
31
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
32
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
33
+
34
+ List.new(PartnerSite, params) do
35
+ Api.send_request("/partner_sites", :get, params, options)
36
+ end
37
+ end
38
+
39
+ def self.all(params = {}, options = {})
40
+ list(params, options)
41
+ end
42
+ end
43
+ end
@@ -931,10 +931,10 @@ module Files
931
931
  # 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.
932
932
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
933
933
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `site_id`, `workspace_id`, `company`, `name`, `disabled`, `authenticate_until`, `username`, `email`, `last_desktop_login_at`, `last_login_at`, `site_admin`, `password_validity_days` or `ssl_required`.
934
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ workspace_id, disabled ]` or `[ workspace_id, disabled, username ]`.
934
+ # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `username`, `name`, `email`, `company`, `site_admin`, `password_validity_days`, `ssl_required`, `last_login_at`, `authenticate_until`, `not_site_admin`, `disabled`, `partner_id` or `workspace_id`. Valid field combinations are `[ site_admin, username ]`, `[ not_site_admin, username ]`, `[ workspace_id, username ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
935
935
  # filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
936
936
  # filter_gteq - object - If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
937
- # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`.
937
+ # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `username`, `name`, `email` or `company`. Valid field combinations are `[ company, name ]`.
938
938
  # filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
939
939
  # filter_lteq - object - If set, return records where the specified field is less than or equal the supplied value. Valid fields are `password_validity_days`, `last_login_at` or `authenticate_until`.
940
940
  # ids - string - comma-separated list of User IDs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.508"
4
+ VERSION = "1.1.510"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -100,6 +100,7 @@ require "files.com/models/message_reaction"
100
100
  require "files.com/models/notification"
101
101
  require "files.com/models/outbound_connection_log"
102
102
  require "files.com/models/partner"
103
+ require "files.com/models/partner_site"
103
104
  require "files.com/models/partner_site_request"
104
105
  require "files.com/models/payment"
105
106
  require "files.com/models/payment_line_item"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.508
4
+ version: 1.1.510
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
@@ -225,6 +225,7 @@ files:
225
225
  - docs/notification.md
226
226
  - docs/outbound_connection_log.md
227
227
  - docs/partner.md
228
+ - docs/partner_site.md
228
229
  - docs/partner_site_request.md
229
230
  - docs/payment.md
230
231
  - docs/payment_line_item.md
@@ -345,6 +346,7 @@ files:
345
346
  - lib/files.com/models/notification.rb
346
347
  - lib/files.com/models/outbound_connection_log.rb
347
348
  - lib/files.com/models/partner.rb
349
+ - lib/files.com/models/partner_site.rb
348
350
  - lib/files.com/models/partner_site_request.rb
349
351
  - lib/files.com/models/payment.rb
350
352
  - lib/files.com/models/payment_line_item.rb