files.com 1.1.408 → 1.1.409

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: 2e1565de75caff420c9d3a651f2ee02b199cc11915a6d404e630b670c1e800b8
4
- data.tar.gz: e8ef94458d5129b73f1d422e5a4e0f5c77778d34e1cb05637889ebf9f94a3e3f
3
+ metadata.gz: 76bddbe36a69da856c1e9b0bba1812e32d69237949c21c47da57838db86a255e
4
+ data.tar.gz: b3c6bd2a9e216362b34659d3860104205286c600cde764ce6c45fc79e5ebd5b0
5
5
  SHA512:
6
- metadata.gz: be4e7d3f443ae8cc807b35b1f18eb241688d38e032f300ce51be83545de17af9e10375ef3145310c92a51a591c51cdf1eaefc90ad51e136bdc7c9ddbf99c73c7
7
- data.tar.gz: 380747899a1dc0711011a1d247bff6767ef1c08a7a2f2622ac2f3ee65dda23e47f47ff9a73add6ba01ba490b0a764baf9aeba28cc2e33c0b49fa9121ecaf0339
6
+ metadata.gz: 7ec526be5ce5a7c5ce1de5601cdb840bc0ea51c69b7f5c4487134d57effd3ed977cf19d352a0921334f78b0737036117e116d1b14c12287044c4e553eecc2b46
7
+ data.tar.gz: e24ebeda7304e9dcbd746a168eb20f3abff97ab57b291cbd19bc39ac48bdef5263b5a056844cd44aa4e76dd0614872bc5ef0f02388895a453f2b2e394f6accc7
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.408
1
+ 1.1.409
data/docs/bundle.md CHANGED
@@ -152,7 +152,7 @@ Files::Bundle.list(
152
152
  * `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.
153
153
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
154
154
  * `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
155
- * `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 ]`.
155
+ * `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 ]`.
156
156
  * `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`.
157
157
  * `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`.
158
158
  * `filter_prefix` (object): If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
data/docs/gpg_key.md CHANGED
@@ -14,24 +14,24 @@
14
14
  "private_key_md5": "ab236cfe4a195f0226bc2e674afdd6b0",
15
15
  "generated_public_key": "7f8bc1210b09b9ddf469e6b6b8920e76",
16
16
  "generated_private_key": "ab236cfe4a195f0226bc2e674afdd6b0",
17
- "private_key_password_md5": "[your GPG private key password]"
17
+ "private_key_password_md5": "[the GPG private key password]"
18
18
  }
19
19
  ```
20
20
 
21
- * `id` (int64): Your GPG key ID.
22
- * `expires_at` (date-time): Your GPG key expiration date.
23
- * `name` (string): Your GPG key name.
21
+ * `id` (int64): GPG key ID.
22
+ * `expires_at` (date-time): GPG key expiration date.
23
+ * `name` (string): GPG key name.
24
24
  * `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
25
25
  * `partner_name` (string): Name of the Partner who owns this GPG Key, if applicable.
26
26
  * `user_id` (int64): User ID who owns this GPG Key, if applicable.
27
- * `public_key_md5` (string): MD5 hash of your GPG public key
28
- * `private_key_md5` (string): MD5 hash of your GPG private key.
29
- * `generated_public_key` (string): Your GPG public key
30
- * `generated_private_key` (string): Your GPG private key.
31
- * `private_key_password_md5` (string): Your GPG private key password. Only required for password protected keys.
32
- * `public_key` (string): MD5 hash of your GPG public key
33
- * `private_key` (string): MD5 hash of your GPG private key.
34
- * `private_key_password` (string): Your GPG private key password. Only required for password protected keys.
27
+ * `public_key_md5` (string): MD5 hash of the GPG public key
28
+ * `private_key_md5` (string): MD5 hash of the GPG private key.
29
+ * `generated_public_key` (string): GPG public key
30
+ * `generated_private_key` (string): GPG private key.
31
+ * `private_key_password_md5` (string): GPG private key password. Only required for password protected keys.
32
+ * `public_key` (string): The GPG public key
33
+ * `private_key` (string): The GPG private key
34
+ * `private_key_password` (string): The GPG private key password
35
35
  * `generate_expires_at` (string): Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
36
36
  * `generate_keypair` (boolean): If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`
37
37
  * `generate_full_name` (string): Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
@@ -77,9 +77,6 @@ Files::GpgKey.find(id)
77
77
  Files::GpgKey.create(
78
78
  user_id: 1,
79
79
  partner_id: 1,
80
- public_key: "7f8bc1210b09b9ddf469e6b6b8920e76",
81
- private_key: "ab236cfe4a195f0226bc2e674afdd6b0",
82
- private_key_password: "[your GPG private key password]",
83
80
  name: "key name",
84
81
  generate_expires_at: "2025-06-19 12:00:00",
85
82
  generate_keypair: false,
@@ -92,10 +89,10 @@ Files::GpgKey.create(
92
89
 
93
90
  * `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
94
91
  * `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
95
- * `public_key` (string): MD5 hash of your GPG public key
96
- * `private_key` (string): MD5 hash of your GPG private key.
97
- * `private_key_password` (string): Your GPG private key password. Only required for password protected keys.
98
- * `name` (string): Required - Your GPG key name.
92
+ * `public_key` (string): The GPG public key
93
+ * `private_key` (string): The GPG private key
94
+ * `private_key_password` (string): The GPG private key password
95
+ * `name` (string): Required - GPG key name.
99
96
  * `generate_expires_at` (string): Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
100
97
  * `generate_keypair` (boolean): If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`
101
98
  * `generate_full_name` (string): Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
@@ -109,9 +106,6 @@ Files::GpgKey.create(
109
106
  ```
110
107
  Files::GpgKey.update(id,
111
108
  partner_id: 1,
112
- public_key: "7f8bc1210b09b9ddf469e6b6b8920e76",
113
- private_key: "ab236cfe4a195f0226bc2e674afdd6b0",
114
- private_key_password: "[your GPG private key password]",
115
109
  name: "key name"
116
110
  )
117
111
  ```
@@ -120,10 +114,10 @@ Files::GpgKey.update(id,
120
114
 
121
115
  * `id` (int64): Required - Gpg Key ID.
122
116
  * `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
123
- * `public_key` (string): MD5 hash of your GPG public key
124
- * `private_key` (string): MD5 hash of your GPG private key.
125
- * `private_key_password` (string): Your GPG private key password. Only required for password protected keys.
126
- * `name` (string): Your GPG key name.
117
+ * `public_key` (string): The GPG public key
118
+ * `private_key` (string): The GPG private key
119
+ * `private_key_password` (string): The GPG private key password
120
+ * `name` (string): GPG key name.
127
121
 
128
122
 
129
123
  ---
@@ -148,9 +142,6 @@ gpg_key = Files::GpgKey.find(id)
148
142
 
149
143
  gpg_key.update(
150
144
  partner_id: 1,
151
- public_key: "7f8bc1210b09b9ddf469e6b6b8920e76",
152
- private_key: "ab236cfe4a195f0226bc2e674afdd6b0",
153
- private_key_password: "[your GPG private key password]",
154
145
  name: "key name"
155
146
  )
156
147
  ```
@@ -159,10 +150,10 @@ gpg_key.update(
159
150
 
160
151
  * `id` (int64): Required - Gpg Key ID.
161
152
  * `partner_id` (int64): Partner ID who owns this GPG Key, if applicable.
162
- * `public_key` (string): MD5 hash of your GPG public key
163
- * `private_key` (string): MD5 hash of your GPG private key.
164
- * `private_key_password` (string): Your GPG private key password. Only required for password protected keys.
165
- * `name` (string): Your GPG key name.
153
+ * `public_key` (string): The GPG public key
154
+ * `private_key` (string): The GPG private key
155
+ * `private_key_password` (string): The GPG private key password
156
+ * `name` (string): GPG key name.
166
157
 
167
158
 
168
159
  ---
@@ -519,7 +519,7 @@ module Files
519
519
  # 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.
520
520
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
521
521
  # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `expires_at`.
522
- # 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 ]`.
522
+ # 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 ]`.
523
523
  # 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`.
524
524
  # 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`.
525
525
  # filter_prefix - object - If set, return records where the specified field is prefixed by the supplied value. Valid fields are `code`.
@@ -9,7 +9,7 @@ module Files
9
9
  @options = options || {}
10
10
  end
11
11
 
12
- # int64 - Your GPG key ID.
12
+ # int64 - GPG key ID.
13
13
  def id
14
14
  @attributes[:id]
15
15
  end
@@ -18,7 +18,7 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
- # date-time - Your GPG key expiration date.
21
+ # date-time - GPG key expiration date.
22
22
  def expires_at
23
23
  @attributes[:expires_at]
24
24
  end
@@ -27,7 +27,7 @@ module Files
27
27
  @attributes[:expires_at] = value
28
28
  end
29
29
 
30
- # string - Your GPG key name.
30
+ # string - GPG key name.
31
31
  def name
32
32
  @attributes[:name]
33
33
  end
@@ -63,7 +63,7 @@ module Files
63
63
  @attributes[:user_id] = value
64
64
  end
65
65
 
66
- # string - MD5 hash of your GPG public key
66
+ # string - MD5 hash of the GPG public key
67
67
  def public_key_md5
68
68
  @attributes[:public_key_md5]
69
69
  end
@@ -72,7 +72,7 @@ module Files
72
72
  @attributes[:public_key_md5] = value
73
73
  end
74
74
 
75
- # string - MD5 hash of your GPG private key.
75
+ # string - MD5 hash of the GPG private key.
76
76
  def private_key_md5
77
77
  @attributes[:private_key_md5]
78
78
  end
@@ -81,7 +81,7 @@ module Files
81
81
  @attributes[:private_key_md5] = value
82
82
  end
83
83
 
84
- # string - Your GPG public key
84
+ # string - GPG public key
85
85
  def generated_public_key
86
86
  @attributes[:generated_public_key]
87
87
  end
@@ -90,7 +90,7 @@ module Files
90
90
  @attributes[:generated_public_key] = value
91
91
  end
92
92
 
93
- # string - Your GPG private key.
93
+ # string - GPG private key.
94
94
  def generated_private_key
95
95
  @attributes[:generated_private_key]
96
96
  end
@@ -99,7 +99,7 @@ module Files
99
99
  @attributes[:generated_private_key] = value
100
100
  end
101
101
 
102
- # string - Your GPG private key password. Only required for password protected keys.
102
+ # string - GPG private key password. Only required for password protected keys.
103
103
  def private_key_password_md5
104
104
  @attributes[:private_key_password_md5]
105
105
  end
@@ -108,7 +108,7 @@ module Files
108
108
  @attributes[:private_key_password_md5] = value
109
109
  end
110
110
 
111
- # string - MD5 hash of your GPG public key
111
+ # string - The GPG public key
112
112
  def public_key
113
113
  @attributes[:public_key]
114
114
  end
@@ -117,7 +117,7 @@ module Files
117
117
  @attributes[:public_key] = value
118
118
  end
119
119
 
120
- # string - MD5 hash of your GPG private key.
120
+ # string - The GPG private key
121
121
  def private_key
122
122
  @attributes[:private_key]
123
123
  end
@@ -126,7 +126,7 @@ module Files
126
126
  @attributes[:private_key] = value
127
127
  end
128
128
 
129
- # string - Your GPG private key password. Only required for password protected keys.
129
+ # string - The GPG private key password
130
130
  def private_key_password
131
131
  @attributes[:private_key_password]
132
132
  end
@@ -173,10 +173,10 @@ module Files
173
173
 
174
174
  # Parameters:
175
175
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
176
- # public_key - string - MD5 hash of your GPG public key
177
- # private_key - string - MD5 hash of your GPG private key.
178
- # private_key_password - string - Your GPG private key password. Only required for password protected keys.
179
- # name - string - Your GPG key name.
176
+ # public_key - string - The GPG public key
177
+ # private_key - string - The GPG private key
178
+ # private_key_password - string - The GPG private key password
179
+ # name - string - GPG key name.
180
180
  def update(params = {})
181
181
  params ||= {}
182
182
  params[:id] = @attributes[:id]
@@ -257,10 +257,10 @@ module Files
257
257
  # Parameters:
258
258
  # user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
259
259
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
260
- # public_key - string - MD5 hash of your GPG public key
261
- # private_key - string - MD5 hash of your GPG private key.
262
- # private_key_password - string - Your GPG private key password. Only required for password protected keys.
263
- # name (required) - string - Your GPG key name.
260
+ # public_key - string - The GPG public key
261
+ # private_key - string - The GPG private key
262
+ # private_key_password - string - The GPG private key password
263
+ # name (required) - string - GPG key name.
264
264
  # generate_expires_at - string - Expiration date of the key. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
265
265
  # generate_keypair - boolean - If true, generate a new GPG key pair. Can not be used with `public_key`/`private_key`
266
266
  # generate_full_name - string - Full name of the key owner. Used for the generation of the key. Will be ignored if `generate_keypair` is false.
@@ -283,10 +283,10 @@ module Files
283
283
 
284
284
  # Parameters:
285
285
  # partner_id - int64 - Partner ID who owns this GPG Key, if applicable.
286
- # public_key - string - MD5 hash of your GPG public key
287
- # private_key - string - MD5 hash of your GPG private key.
288
- # private_key_password - string - Your GPG private key password. Only required for password protected keys.
289
- # name - string - Your GPG key name.
286
+ # public_key - string - The GPG public key
287
+ # private_key - string - The GPG private key
288
+ # private_key_password - string - The GPG private key password
289
+ # name - string - GPG key name.
290
290
  def self.update(id, params = {}, options = {})
291
291
  params ||= {}
292
292
  params[:id] = id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.408"
4
+ VERSION = "1.1.409"
5
5
  end
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.408
4
+ version: 1.1.409
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-12-11 00:00:00.000000000 Z
11
+ date: 2025-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable