files.com 1.1.551 → 1.1.552

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: f10542810bbb5ff30f62804de6e0041278b915caf013ba52b0d4f4f8db7fbdec
4
- data.tar.gz: 1b78e283e2ef8298125b574d38db9d1f53bd48536b5b8372238248d7113066c0
3
+ metadata.gz: ff94b024ae8fbe84fc4e32d2242953926345e06b1a9294ee14eb254d32795919
4
+ data.tar.gz: d17d9ce8f5ade598aed83a0b59b8f5fde0802867b9c30d01bd1acb4c857803db
5
5
  SHA512:
6
- metadata.gz: 7fed53f89d4f0994e4153836f003cda6f6de8ccaf75ddf90d55e4275634d53c567d9f766f2a799a8dbb456cebb5b41518de24786c56b1349936598171fd67e68
7
- data.tar.gz: 56f061b677d6f57efe7c4068727a683fd7aac982bc61a1f799a33d5bd6faf9b1da4831c9d237b4a19655b565f01d4ebf5c8216b8a1988735ea1397a163f96f27
6
+ metadata.gz: 6605193a0d38201ff3319acc91f2c58248668dc99ef438f29e45b5e1f7f39e947126619c71799351279b6bf3c3c17ffd2342787807c333bf6192063451aebe90
7
+ data.tar.gz: c7637eac6d257c2d3166f0f6225576abaa1a72dee617e17eb0f6a434bd20b6fff274d58206b7f001e050cfa0a07a40b3b27d898323afab5a6b0611d23b3dcda0
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.551
1
+ 1.1.552
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`.
data/docs/partner_site.md CHANGED
@@ -6,13 +6,28 @@
6
6
  {
7
7
  "partner_id": 1,
8
8
  "partner_name": "Acme Corp",
9
- "linked_site_id": 1
9
+ "linked_site_id": 1,
10
+ "linked_site_name": "Acme's Partner Site",
11
+ "main_site_id": 2,
12
+ "main_site_name": "Acme Site"
10
13
  }
11
14
  ```
12
15
 
13
16
  * `partner_id` (int64): Partner ID
14
17
  * `partner_name` (string): Partner Name
15
18
  * `linked_site_id` (int64): Linked Site ID
19
+ * `linked_site_name` (string): Linked Site Name
20
+ * `main_site_id` (int64): Main Site ID
21
+ * `main_site_name` (string): Main Site Name
22
+
23
+
24
+ ---
25
+
26
+ ## Get Partner Sites linked to the current Site
27
+
28
+ ```
29
+ Files::PartnerSite.linkeds
30
+ ```
16
31
 
17
32
 
18
33
  ---
@@ -8,6 +8,7 @@
8
8
  "partner_id": 1,
9
9
  "linked_site_id": 1,
10
10
  "status": "pending",
11
+ "main_site_name": "Acme Site",
11
12
  "pairing_key": "abc123xyz",
12
13
  "created_at": "2000-01-01T01:00:00Z",
13
14
  "updated_at": "2000-01-01T01:00:00Z"
@@ -18,6 +19,7 @@
18
19
  * `partner_id` (int64): Partner ID
19
20
  * `linked_site_id` (int64): Linked Site ID
20
21
  * `status` (string): Request status (pending, approved, rejected)
22
+ * `main_site_name` (string): Main Site Name
21
23
  * `pairing_key` (string): Pairing key used to approve this request on the target site
22
24
  * `created_at` (date-time): Request creation date/time
23
25
  * `updated_at` (date-time): Request last updated date/time
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 ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
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 ]`.
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`. Valid field combinations are `[ company, name ]`.
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`.
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`.
@@ -24,6 +24,28 @@ module Files
24
24
  @attributes[:linked_site_id]
25
25
  end
26
26
 
27
+ # string - Linked Site Name
28
+ def linked_site_name
29
+ @attributes[:linked_site_name]
30
+ end
31
+
32
+ # int64 - Main Site ID
33
+ def main_site_id
34
+ @attributes[:main_site_id]
35
+ end
36
+
37
+ # string - Main Site Name
38
+ def main_site_name
39
+ @attributes[:main_site_name]
40
+ end
41
+
42
+ def self.linkeds(params = {}, options = {})
43
+ response, options = Api.send_request("/partner_sites/linked_partner_sites", :get, params, options)
44
+ response.data.map do |entity_data|
45
+ PartnerSite.new(entity_data, options)
46
+ end
47
+ end
48
+
27
49
  # Parameters:
28
50
  # 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
51
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -45,6 +45,15 @@ module Files
45
45
  @attributes[:status] = value
46
46
  end
47
47
 
48
+ # string - Main Site Name
49
+ def main_site_name
50
+ @attributes[:main_site_name]
51
+ end
52
+
53
+ def main_site_name=(value)
54
+ @attributes[:main_site_name] = value
55
+ end
56
+
48
57
  # string - Pairing key used to approve this request on the target site
49
58
  def pairing_key
50
59
  @attributes[:pairing_key]
@@ -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 ]`, `[ company, name ]`, `[ workspace_id, name ]`, `[ workspace_id, email ]`, `[ workspace_id, company ]`, `[ workspace_id, disabled ]`, `[ workspace_id, disabled, username ]` or `[ workspace_id, company, name ]`.
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 ]`.
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`. Valid field combinations are `[ company, name ]`.
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`.
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.551"
4
+ VERSION = "1.1.552"
5
5
  end
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.551
4
+ version: 1.1.552
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com