files.com 1.1.735 → 1.1.737

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: 0c5e657a8cede65f1b30b34a5532aa8533b70251cfac4e473bd47533b1e35876
4
- data.tar.gz: 8a8eb050476c8355e42fbe2a86c22f18ad0d0fe2ab1c19b198d26bdd1d2a9b83
3
+ metadata.gz: b2a3fb76a20d379b83e7151a07b4e5d6ca409c8ece689a9a29d227a726bf19fe
4
+ data.tar.gz: f4974b99eb2432f9537d1482a9a22842548dae5c1e0fee494a0fed32d727b4ce
5
5
  SHA512:
6
- metadata.gz: e388c37dd8980d2e00099cca5b45eb56c5640143f87deee41104a8368600d82d2bcb360d25fda3975bdb07940e9844e5da1e047f8afc86a4c8b88ff4139ecc23
7
- data.tar.gz: 5943b844f36c2c4b6212d9e0fd893dc74f78bb049f6055a326fc55d598e8e4480a6a99b79aa7fdc9616f1a8c9c499cf5174d3bdd28520ef70ab0086e155198cb
6
+ metadata.gz: 1e99ed43ddd384c5a6cafcdebbed1540e9b940139fbcb0a18deb95479714ed8eeb5754977ca295d055facf2910de66483c04741ed8b3a55390c7bfab92431f5b
7
+ data.tar.gz: c611152987f1f551e62681e707e4e282fe4e0750cb261cfda7e0d1e6bab8b3761931bf7e7eb859ec7ad372731eb648770b59407108b8d105fa024c9834be1788
data/README.md CHANGED
@@ -559,6 +559,7 @@ Files::FolderAdminPermissionRequiredError -> Files::NotAuthorizedError -> Files:
559
559
  |`ApiKeyIsDisabledError`| `NotAuthorizedError` |
560
560
  |`ApiKeyIsPathRestrictedError`| `NotAuthorizedError` |
561
561
  |`ApiKeyOnlyForDesktopAppError`| `NotAuthorizedError` |
562
+ |`ApiKeyOnlyForFileOperationsError`| `NotAuthorizedError` |
562
563
  |`ApiKeyOnlyForMobileAppError`| `NotAuthorizedError` |
563
564
  |`ApiKeyOnlyForOfficeIntegrationError`| `NotAuthorizedError` |
564
565
  |`BillingInformationHiddenError`| `NotAuthorizedError` |
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.735
1
+ 1.1.737
data/docs/api_key.md CHANGED
@@ -36,14 +36,14 @@
36
36
  * `aws_secret_key` (string): AWS Secret Key to use with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
37
37
  * `last_use_at` (date-time): API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
38
38
  * `name` (string): Internal name for the API Key. For your use.
39
- * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
39
+ * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
40
40
  * `platform` (string): If this API key represents a Desktop app, what platform was it created on?
41
41
  * `site_id` (int64): Site ID
42
42
  * `site_name` (string): Site Name
43
43
  * `url` (string): URL for API host.
44
44
  * `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
45
45
  * `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
46
- * `path` (string): Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
46
+ * `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to the endpoints that do. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
47
47
 
48
48
 
49
49
  ---
@@ -115,8 +115,8 @@ Files::ApiKey.create(
115
115
  * `expires_at` (string): API Key expiration date
116
116
  * `name` (string): Required - Internal name for the API Key. For your use.
117
117
  * `aws_style_credentials` (boolean): If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
118
- * `path` (string): Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
119
- * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
118
+ * `path` (string): Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to the endpoints that do. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
119
+ * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
120
120
  * `workspace_id` (int64): Workspace ID for this API Key. `0` means the default workspace.
121
121
 
122
122
 
@@ -136,7 +136,7 @@ Files::ApiKey.update_current(
136
136
 
137
137
  * `expires_at` (string): API Key expiration date
138
138
  * `name` (string): Internal name for the API Key. For your use.
139
- * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
139
+ * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
140
140
 
141
141
 
142
142
  ---
data/docs/partner.md CHANGED
@@ -48,7 +48,7 @@
48
48
  * `notes` (string): Notes about this Partner.
49
49
  * `partner_admin_ids` (array(int64)): Array of User IDs that are Partner Admins for this Partner.
50
50
  * `partner_channel_template_id` (int64): ID of the Partner Channel Template assigned to this Partner.
51
- * `partnership_role` (string): This site's role in Partner Site relationships for this Partner. Can be `host`, `guest`, `host_and_guest`, or null.
51
+ * `partnership_role` (string): This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
52
52
  * `responsible_group_id` (int64): ID of the Group responsible for this Partner.
53
53
  * `responsible_user_id` (int64): ID of the User responsible for this Partner.
54
54
  * `root_folder` (string): The root folder path for this Partner.
@@ -151,6 +151,7 @@ Files::Partner.update(id,
151
151
  show_partner_channel_home_page: false,
152
152
  tags: "example",
153
153
  name: "Acme Corp",
154
+ partnership_role: "host",
154
155
  root_folder: "/AcmeCorp"
155
156
  )
156
157
  ```
@@ -172,6 +173,7 @@ Files::Partner.update(id,
172
173
  * `show_partner_channel_home_page` (boolean): Show Partner users a simplified home page built from this Partner's Channels.
173
174
  * `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
174
175
  * `name` (string): The name of the Partner.
176
+ * `partnership_role` (string): This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
175
177
  * `root_folder` (string): The root folder path for this Partner.
176
178
 
177
179
 
@@ -210,6 +212,7 @@ partner.update(
210
212
  show_partner_channel_home_page: false,
211
213
  tags: "example",
212
214
  name: "Acme Corp",
215
+ partnership_role: "host",
213
216
  root_folder: "/AcmeCorp"
214
217
  )
215
218
  ```
@@ -231,6 +234,7 @@ partner.update(
231
234
  * `show_partner_channel_home_page` (boolean): Show Partner users a simplified home page built from this Partner's Channels.
232
235
  * `tags` (string): Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
233
236
  * `name` (string): The name of the Partner.
237
+ * `partnership_role` (string): This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
234
238
  * `root_folder` (string): The root folder path for this Partner.
235
239
 
236
240
 
@@ -94,13 +94,15 @@ Files::PartnerSiteRequest.reject(
94
94
 
95
95
  ```
96
96
  Files::PartnerSiteRequest.approve(
97
- pairing_key: "pairing_key"
97
+ pairing_key: "pairing_key",
98
+ partner_id: 1
98
99
  )
99
100
  ```
100
101
 
101
102
  ### Parameters
102
103
 
103
104
  * `pairing_key` (string): Required - Pairing key for the partner site request
105
+ * `partner_id` (int64): ID of an existing Partner on this site, with the host role, that represents the requesting organization. The connection binds to that Partner and makes it host_and_guest. When omitted, a guest Partner named after the host site is created.
104
106
 
105
107
 
106
108
  ---
@@ -119,6 +119,7 @@ module Files
119
119
  class ApiKeyIsDisabledError < NotAuthorizedError; end
120
120
  class ApiKeyIsPathRestrictedError < NotAuthorizedError; end
121
121
  class ApiKeyOnlyForDesktopAppError < NotAuthorizedError; end
122
+ class ApiKeyOnlyForFileOperationsError < NotAuthorizedError; end
122
123
  class ApiKeyOnlyForMobileAppError < NotAuthorizedError; end
123
124
  class ApiKeyOnlyForOfficeIntegrationError < NotAuthorizedError; end
124
125
  class BillingInformationHiddenError < NotAuthorizedError; end
@@ -104,7 +104,7 @@ module Files
104
104
  @attributes[:name] = value
105
105
  end
106
106
 
107
- # string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
107
+ # string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
108
108
  def permission_set
109
109
  @attributes[:permission_set]
110
110
  end
@@ -167,7 +167,7 @@ module Files
167
167
  @attributes[:workspace_id] = value
168
168
  end
169
169
 
170
- # string - Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
170
+ # string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to the endpoints that do. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
171
171
  def path
172
172
  @attributes[:path]
173
173
  end
@@ -276,8 +276,8 @@ module Files
276
276
  # expires_at - string - API Key expiration date
277
277
  # name (required) - string - Internal name for the API Key. For your use.
278
278
  # aws_style_credentials - boolean - If `true`, this API key will be usable with AWS-compatible endpoints, such as our Inbound S3-compatible endpoint.
279
- # path - string - Restricts this API key to the specified folder and its descendants. Applies to every permission set and all paths accessed by a request, including copy and move destinations. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
280
- # permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
279
+ # path - string - Restricts the file and folder operations made with this key, meaning the files, folders, and file_actions endpoints, to the specified folder and its descendants, including copy and move destinations. Other endpoints do not apply the path restriction; use the `files_only` permission set to confine a key to the endpoints that do. Does not grant access beyond the owning user's permissions. Optional except for `office_integration` keys, which require a path the owning user can read.
280
+ # permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
281
281
  # workspace_id - int64 - Workspace ID for this API Key. `0` means the default workspace.
282
282
  def self.create(params = {}, options = {})
283
283
  raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params[:user_id] and !params[:user_id].is_a?(Integer)
@@ -296,7 +296,7 @@ module Files
296
296
  # Parameters:
297
297
  # expires_at - string - API Key expiration date
298
298
  # name - string - Internal name for the API Key. For your use.
299
- # permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can perform file operations as a full-access file user in the key's workspace scope, but cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user.
299
+ # permission_set - string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Keys with the `office_integration` permission set are auto generated, and automatically expire, to allow users to interact with office integration platforms. Keys with the `files_only` permission set can use only the files, folders, and file_actions endpoints, where they perform file operations as a full-access file user in the key's workspace scope, along with `GET /file_migrations/{id}` and `GET /api_key`. They cannot use site admin, workspace admin, folder admin, group admin, partner admin, or billing privileges from the owning user, and every other endpoint denies them with `not-authorized/api-key-only-for-file-operations`.
300
300
  def self.update_current(params = {}, options = {})
301
301
  raise InvalidParameterError.new("Bad parameter: expires_at must be an String") if params[:expires_at] and !params[:expires_at].is_a?(String)
302
302
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
@@ -126,7 +126,7 @@ module Files
126
126
  @attributes[:partner_channel_template_id] = value
127
127
  end
128
128
 
129
- # string - This site's role in Partner Site relationships for this Partner. Can be `host`, `guest`, `host_and_guest`, or null.
129
+ # string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
130
130
  def partnership_role
131
131
  @attributes[:partnership_role]
132
132
  end
@@ -204,6 +204,7 @@ module Files
204
204
  # show_partner_channel_home_page - boolean - Show Partner users a simplified home page built from this Partner's Channels.
205
205
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
206
206
  # name - string - The name of the Partner.
207
+ # partnership_role - string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
207
208
  # root_folder - string - The root folder path for this Partner.
208
209
  def update(params = {})
209
210
  params ||= {}
@@ -218,6 +219,7 @@ module Files
218
219
  raise InvalidParameterError.new("Bad parameter: responsible_user_id must be an Integer") if params[:responsible_user_id] and !params[:responsible_user_id].is_a?(Integer)
219
220
  raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
220
221
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
222
+ raise InvalidParameterError.new("Bad parameter: partnership_role must be an String") if params[:partnership_role] and !params[:partnership_role].is_a?(String)
221
223
  raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
222
224
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
223
225
 
@@ -336,6 +338,7 @@ module Files
336
338
  # show_partner_channel_home_page - boolean - Show Partner users a simplified home page built from this Partner's Channels.
337
339
  # tags - string - Comma-separated list of Tags for this Partner. Tags are used for other features, such as UserLifecycleRules, which can target specific tags. Tags must only contain lowercase letters, numbers, and hyphens.
338
340
  # name - string - The name of the Partner.
341
+ # partnership_role - string - This site's role for this Partner in Connected Sites relationships. `host` is a Partner this site configured. `guest` is a Partner created by approving another site's connection request; it has no root folder and cannot hold users, permissions, or Partner Channels, or host a connection. `host_and_guest` is a configured Partner that is also the guest side of a connection. Promote a `guest` Partner by setting this to `host_and_guest` together with a `root_folder`.
339
342
  # root_folder - string - The root folder path for this Partner.
340
343
  def self.update(id, params = {}, options = {})
341
344
  params ||= {}
@@ -349,6 +352,7 @@ module Files
349
352
  raise InvalidParameterError.new("Bad parameter: responsible_user_id must be an Integer") if params[:responsible_user_id] and !params[:responsible_user_id].is_a?(Integer)
350
353
  raise InvalidParameterError.new("Bad parameter: tags must be an String") if params[:tags] and !params[:tags].is_a?(String)
351
354
  raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
355
+ raise InvalidParameterError.new("Bad parameter: partnership_role must be an String") if params[:partnership_role] and !params[:partnership_role].is_a?(String)
352
356
  raise InvalidParameterError.new("Bad parameter: root_folder must be an String") if params[:root_folder] and !params[:root_folder].is_a?(String)
353
357
  raise MissingParameterError.new("Parameter missing: id") unless params[:id]
354
358
 
@@ -154,8 +154,10 @@ module Files
154
154
 
155
155
  # Parameters:
156
156
  # pairing_key (required) - string - Pairing key for the partner site request
157
+ # partner_id - int64 - ID of an existing Partner on this site, with the host role, that represents the requesting organization. The connection binds to that Partner and makes it host_and_guest. When omitted, a guest Partner named after the host site is created.
157
158
  def self.approve(params = {}, options = {})
158
159
  raise InvalidParameterError.new("Bad parameter: pairing_key must be an String") if params[:pairing_key] and !params[:pairing_key].is_a?(String)
160
+ raise InvalidParameterError.new("Bad parameter: partner_id must be an Integer") if params[:partner_id] and !params[:partner_id].is_a?(Integer)
159
161
  raise MissingParameterError.new("Parameter missing: pairing_key") unless params[:pairing_key]
160
162
 
161
163
  Api.send_request("/partner_site_requests/approve", :post, params, options)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.735"
4
+ VERSION = "1.1.737"
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.735
4
+ version: 1.1.737
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com