files.com 1.0.217 → 1.0.219

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/_VERSION +1 -1
  2. package/docs/models/AccountLineItem.md +3 -19
  3. package/docs/models/ActionNotificationExport.md +1 -1
  4. package/docs/models/ApiKey.md +4 -2
  5. package/docs/models/App.md +17 -15
  6. package/docs/models/As2IncomingMessage.md +29 -25
  7. package/docs/models/As2OutgoingMessage.md +24 -20
  8. package/docs/models/As2Partner.md +15 -14
  9. package/docs/models/As2Station.md +18 -18
  10. package/docs/models/Automation.md +28 -40
  11. package/docs/models/Behavior.md +17 -12
  12. package/docs/models/Bundle.md +8 -66
  13. package/docs/models/BundleDownload.md +2 -2
  14. package/docs/models/BundleRegistration.md +5 -3
  15. package/docs/models/Clickwrap.md +12 -6
  16. package/docs/models/DnsRecord.md +1 -1
  17. package/docs/models/ExternalEvent.md +7 -7
  18. package/docs/models/File.md +16 -28
  19. package/docs/models/FileAction.md +1 -1
  20. package/docs/models/FileComment.md +2 -8
  21. package/docs/models/FileUploadPart.md +11 -5
  22. package/docs/models/Folder.md +1 -7
  23. package/docs/models/FormFieldSet.md +4 -30
  24. package/docs/models/Group.md +6 -4
  25. package/docs/models/GroupUser.md +2 -2
  26. package/docs/models/HistoryExport.md +1 -1
  27. package/docs/models/InboxRegistration.md +5 -3
  28. package/docs/models/InboxUpload.md +2 -2
  29. package/docs/models/Invoice.md +3 -19
  30. package/docs/models/Lock.md +1 -1
  31. package/docs/models/Message.md +2 -20
  32. package/docs/models/MessageComment.md +2 -8
  33. package/docs/models/Notification.md +4 -4
  34. package/docs/models/Payment.md +3 -19
  35. package/docs/models/Permission.md +4 -2
  36. package/docs/models/PublicIpAddress.md +2 -2
  37. package/docs/models/RemoteServer.md +12 -6
  38. package/docs/models/Request.md +6 -5
  39. package/docs/models/SettingsChange.md +1 -1
  40. package/docs/models/SftpHostKey.md +8 -10
  41. package/docs/models/Site.md +47 -114
  42. package/docs/models/SsoStrategy.md +12 -12
  43. package/docs/models/Status.md +4 -11
  44. package/docs/models/Style.md +4 -4
  45. package/docs/models/UsageDailySnapshot.md +11 -9
  46. package/docs/models/UsageSnapshot.md +3 -1
  47. package/docs/models/User.md +16 -12
  48. package/docs/models/UserRequest.md +1 -1
  49. package/docs/models/WebhookTest.md +4 -4
  50. package/lib/models/Site.js +104 -87
  51. package/package.json +1 -1
  52. package/src/models/Site.js +16 -0
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.217
1
+ 1.0.219
@@ -11,30 +11,14 @@
11
11
  "currency": "USD",
12
12
  "download_uri": "https://url...",
13
13
  "invoice_line_items": [
14
- {
15
- "amount": 1.0,
16
- "created_at": "2000-01-01T01:00:00Z",
17
- "description": "Service from 2019-01-01 through 2019-12-31",
18
- "type": "invoice",
19
- "service_end_at": "2000-01-01T01:00:00Z",
20
- "service_start_at": "2000-01-01T01:00:00Z",
21
- "updated_at": "2000-01-01T01:00:00Z",
22
- "plan": "Premier",
23
- "site": "My site"
24
- }
14
+ null
25
15
  ],
26
16
  "method": "paypal",
27
17
  "payment_line_items": [
28
- {
29
- "amount": 1.0,
30
- "created_at": "2000-01-01T01:00:00Z",
31
- "invoice_id": 1,
32
- "payment_id": 1,
33
- "updated_at": "2000-01-01T01:00:00Z"
34
- }
18
+ null
35
19
  ],
36
20
  "payment_reversed_at": "2000-01-01T01:00:00Z",
37
- "payment_type": "",
21
+ "payment_type": "example",
38
22
  "site_name": "My Site",
39
23
  "type": "invoice",
40
24
  "updated_at": "2000-01-01T01:00:00Z"
@@ -5,7 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "export_version": "20201213.2",
8
+ "export_version": "example",
9
9
  "start_at": "2000-01-01T01:00:00Z",
10
10
  "end_at": "2000-01-01T01:00:00Z",
11
11
  "status": "ready",
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "id": 1,
8
8
  "descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
9
- "description": "",
9
+ "description": "example",
10
10
  "created_at": "2000-01-01T01:00:00Z",
11
11
  "expires_at": "2000-01-01T01:00:00Z",
12
12
  "key": "[key]",
@@ -87,6 +87,7 @@ await ApiKey.find(id)
87
87
  await ApiKey.create({
88
88
  'user_id': 1,
89
89
  'name': "My Main API Key",
90
+ 'description': "example",
90
91
  'expires_at': "2000-01-01T01:00:00Z",
91
92
  'permission_set': "full",
92
93
  'path': "shared/docs",
@@ -140,6 +141,7 @@ const [api_key] = await ApiKey.list()
140
141
 
141
142
  await api_key.update({
142
143
  'name': "My Main API Key",
144
+ 'description': "example",
143
145
  'expires_at': "2000-01-01T01:00:00Z",
144
146
  'permission_set': "full",
145
147
  })
@@ -159,7 +161,7 @@ await api_key.update({
159
161
  {
160
162
  "id": 1,
161
163
  "descriptive_label": "Site-wide API key for https://site.files.com/ (key ID #1)",
162
- "description": "",
164
+ "description": "example",
163
165
  "created_at": "2000-01-01T01:00:00Z",
164
166
  "expires_at": "2000-01-01T01:00:00Z",
165
167
  "key": "[key]",
@@ -4,23 +4,25 @@
4
4
 
5
5
  ```
6
6
  {
7
- "name": "",
8
- "extended_description": "",
9
- "short_description": "",
10
- "documentation_links": "Important Info => http://files.test/learn-more",
11
- "icon_url": "",
12
- "logo_url": "",
7
+ "name": "example",
8
+ "extended_description": "example",
9
+ "short_description": "example",
10
+ "documentation_links": {
11
+ "Important Info": "http://files.test/learn-more"
12
+ },
13
+ "icon_url": "example",
14
+ "logo_url": "example",
13
15
  "screenshot_list_urls": [
14
- ""
16
+ "example"
15
17
  ],
16
- "logo_thumbnail_url": "",
17
- "sso_strategy_type": "",
18
- "remote_server_type": "",
19
- "folder_behavior_type": "",
20
- "external_homepage_url": "",
21
- "marketing_youtube_url": "",
22
- "tutorial_youtube_url": "",
23
- "app_type": "",
18
+ "logo_thumbnail_url": "example",
19
+ "sso_strategy_type": "example",
20
+ "remote_server_type": "example",
21
+ "folder_behavior_type": "example",
22
+ "external_homepage_url": "example",
23
+ "marketing_youtube_url": "example",
24
+ "tutorial_youtube_url": "example",
25
+ "app_type": "example",
24
26
  "featured": true
25
27
  }
26
28
  ```
@@ -7,38 +7,42 @@
7
7
  "id": 1,
8
8
  "as2_partner_id": 1,
9
9
  "as2_station_id": 1,
10
- "uuid": "",
11
- "content_type": "",
12
- "http_headers": "",
13
- "activity_log": "",
14
- "processing_result": "",
15
- "processing_result_description": "",
16
- "mic": "",
17
- "mic_algo": "",
18
- "as2_to": "",
19
- "as2_from": "",
20
- "message_id": "",
21
- "subject": "",
22
- "date": "",
23
- "body_size": "",
24
- "attachment_filename": "",
25
- "ip": "",
10
+ "uuid": "example",
11
+ "content_type": "example",
12
+ "http_headers": {
13
+ "key": "example value"
14
+ },
15
+ "activity_log": "example",
16
+ "processing_result": "example",
17
+ "processing_result_description": "example",
18
+ "mic": "example",
19
+ "mic_algo": "example",
20
+ "as2_to": "example",
21
+ "as2_from": "example",
22
+ "message_id": "example",
23
+ "subject": "example",
24
+ "date": "example",
25
+ "body_size": "example",
26
+ "attachment_filename": "example",
27
+ "ip": "example",
26
28
  "created_at": "2000-01-01T01:00:00Z",
27
- "http_response_code": "",
28
- "http_response_headers": "",
29
- "recipient_serial": "",
29
+ "http_response_code": "example",
30
+ "http_response_headers": {
31
+ "key": "example value"
32
+ },
33
+ "recipient_serial": "example",
30
34
  "hex_recipient_serial": "A5:EB:C1:95:DC:D8:2B:E7",
31
- "recipient_issuer": "",
35
+ "recipient_issuer": "example",
32
36
  "message_received": true,
33
37
  "message_decrypted": true,
34
38
  "message_signature_verified": true,
35
39
  "message_processing_success": true,
36
40
  "message_mdn_returned": true,
37
- "encrypted_uri": "",
38
- "smime_signed_uri": "",
39
- "smime_uri": "",
40
- "raw_uri": "",
41
- "mdn_response_uri": ""
41
+ "encrypted_uri": "example",
42
+ "smime_signed_uri": "example",
43
+ "smime_uri": "example",
44
+ "raw_uri": "example",
45
+ "mdn_response_uri": "example"
42
46
  }
43
47
  ```
44
48
 
@@ -7,22 +7,26 @@
7
7
  "id": 1,
8
8
  "as2_partner_id": 1,
9
9
  "as2_station_id": 1,
10
- "uuid": "",
11
- "http_headers": "",
12
- "activity_log": "",
13
- "processing_result": "",
14
- "processing_result_description": "",
15
- "mic": "",
16
- "mic_sha_256": "",
17
- "as2_to": "",
18
- "as2_from": "",
19
- "date": "",
20
- "message_id": "",
21
- "body_size": "",
22
- "attachment_filename": "",
10
+ "uuid": "example",
11
+ "http_headers": {
12
+ "key": "example value"
13
+ },
14
+ "activity_log": "example",
15
+ "processing_result": "example",
16
+ "processing_result_description": "example",
17
+ "mic": "example",
18
+ "mic_sha_256": "example",
19
+ "as2_to": "example",
20
+ "as2_from": "example",
21
+ "date": "example",
22
+ "message_id": "example",
23
+ "body_size": "example",
24
+ "attachment_filename": "example",
23
25
  "created_at": "2000-01-01T01:00:00Z",
24
- "http_response_code": "",
25
- "http_response_headers": "",
26
+ "http_response_code": "example",
27
+ "http_response_headers": {
28
+ "key": "example value"
29
+ },
26
30
  "http_transmission_duration": 1.0,
27
31
  "mdn_received": true,
28
32
  "mdn_valid": true,
@@ -30,11 +34,11 @@
30
34
  "mdn_message_id_matched": true,
31
35
  "mdn_mic_matched": true,
32
36
  "mdn_processing_success": true,
33
- "raw_uri": "",
34
- "smime_uri": "",
35
- "smime_signed_uri": "",
36
- "encrypted_uri": "",
37
- "mdn_response_uri": ""
37
+ "raw_uri": "example",
38
+ "smime_uri": "example",
39
+ "smime_signed_uri": "example",
40
+ "encrypted_uri": "example",
41
+ "mdn_response_uri": "example"
38
42
  }
39
43
  ```
40
44
 
@@ -7,15 +7,15 @@
7
7
  "id": 1,
8
8
  "as2_station_id": 1,
9
9
  "name": "AS2 Partner Name",
10
- "uri": "",
10
+ "uri": "example",
11
11
  "server_certificate": "require_match",
12
12
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
13
- "public_certificate_md5": "",
14
- "public_certificate_subject": "",
15
- "public_certificate_issuer": "",
16
- "public_certificate_serial": "",
17
- "public_certificate_not_before": "",
18
- "public_certificate_not_after": ""
13
+ "public_certificate_md5": "example",
14
+ "public_certificate_subject": "example",
15
+ "public_certificate_issuer": "example",
16
+ "public_certificate_serial": "example",
17
+ "public_certificate_not_before": "example",
18
+ "public_certificate_not_after": "example"
19
19
  }
20
20
  ```
21
21
 
@@ -94,6 +94,7 @@ const [as2_partner] = await As2Partner.list()
94
94
 
95
95
  await as2_partner.update({
96
96
  'name': "AS2 Partner Name",
97
+ 'uri': "example",
97
98
  'server_certificate': "require_match",
98
99
  })
99
100
  ```
@@ -113,15 +114,15 @@ await as2_partner.update({
113
114
  "id": 1,
114
115
  "as2_station_id": 1,
115
116
  "name": "AS2 Partner Name",
116
- "uri": "",
117
+ "uri": "example",
117
118
  "server_certificate": "require_match",
118
119
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
119
- "public_certificate_md5": "",
120
- "public_certificate_subject": "",
121
- "public_certificate_issuer": "",
122
- "public_certificate_serial": "",
123
- "public_certificate_not_before": "",
124
- "public_certificate_not_after": ""
120
+ "public_certificate_md5": "example",
121
+ "public_certificate_subject": "example",
122
+ "public_certificate_issuer": "example",
123
+ "public_certificate_serial": "example",
124
+ "public_certificate_not_before": "example",
125
+ "public_certificate_not_after": "example"
125
126
  }
126
127
  ```
127
128
 
@@ -6,17 +6,17 @@
6
6
  {
7
7
  "id": 1,
8
8
  "name": "AS2 Station Name",
9
- "uri": "",
9
+ "uri": "example",
10
10
  "domain": "domain.test",
11
11
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
12
- "public_certificate_md5": "",
13
- "private_key_md5": "",
14
- "public_certificate_subject": "",
15
- "public_certificate_issuer": "",
16
- "public_certificate_serial": "",
17
- "public_certificate_not_before": "",
18
- "public_certificate_not_after": "",
19
- "private_key_password_md5": ""
12
+ "public_certificate_md5": "example",
13
+ "private_key_md5": "example",
14
+ "public_certificate_subject": "example",
15
+ "public_certificate_issuer": "example",
16
+ "public_certificate_serial": "example",
17
+ "public_certificate_not_before": "example",
18
+ "public_certificate_not_after": "example",
19
+ "private_key_password_md5": "example"
20
20
  }
21
21
  ```
22
22
 
@@ -112,17 +112,17 @@ await as2_station.update({
112
112
  {
113
113
  "id": 1,
114
114
  "name": "AS2 Station Name",
115
- "uri": "",
115
+ "uri": "example",
116
116
  "domain": "domain.test",
117
117
  "hex_public_certificate_serial": "A5:EB:C1:95:DC:D8:2B:E7",
118
- "public_certificate_md5": "",
119
- "private_key_md5": "",
120
- "public_certificate_subject": "",
121
- "public_certificate_issuer": "",
122
- "public_certificate_serial": "",
123
- "public_certificate_not_before": "",
124
- "public_certificate_not_after": "",
125
- "private_key_password_md5": ""
118
+ "public_certificate_md5": "example",
119
+ "private_key_md5": "example",
120
+ "public_certificate_subject": "example",
121
+ "public_certificate_issuer": "example",
122
+ "public_certificate_serial": "example",
123
+ "public_certificate_not_before": "example",
124
+ "public_certificate_not_after": "example",
125
+ "private_key_password_md5": "example"
126
126
  }
127
127
  ```
128
128
 
@@ -11,27 +11,16 @@
11
11
  "trigger": "realtime",
12
12
  "interval": "week",
13
13
  "last_modified_at": "2000-01-01T01:00:00Z",
14
- "name": "",
15
- "schedule": {
16
- "days_of_week": [
17
- 0,
18
- 2,
19
- 4
20
- ],
21
- "times_of_day": [
22
- "6:30",
23
- "14:30"
24
- ],
25
- "time_zone": "Eastern Time (US & Canada)"
26
- },
27
- "source": "",
14
+ "name": "example",
15
+ "schedule": "example",
16
+ "source": "example",
28
17
  "destinations": [
29
18
  "destination"
30
19
  ],
31
- "destination_replace_from": "",
32
- "destination_replace_to": "",
33
- "description": "",
34
- "path": "",
20
+ "destination_replace_from": "example",
21
+ "destination_replace_to": "example",
22
+ "description": "example",
23
+ "path": "example",
35
24
  "user_id": 1,
36
25
  "user_ids": [
37
26
  1,
@@ -121,12 +110,17 @@ await Automation.find(id)
121
110
  ```
122
111
  await Automation.create({
123
112
  'source': "source",
124
- 'destinations': "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
113
+ 'destinations': ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
114
+ 'destination_replace_from': "example",
115
+ 'destination_replace_to': "example",
125
116
  'interval': "year",
117
+ 'path': "example",
126
118
  'user_ids': [1,2],
127
119
  'group_ids': [1,2],
128
- 'schedule': "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
120
+ 'schedule': {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
121
+ 'description': "example",
129
122
  'disabled': true,
123
+ 'name': "example",
130
124
  'trigger': "realtime",
131
125
  'trigger_actions': ["create"],
132
126
  'value': {"limit":"1"},
@@ -164,12 +158,17 @@ const [automation] = await Automation.list()
164
158
 
165
159
  await automation.update({
166
160
  'source': "source",
167
- 'destinations': "[\"folder_a/file_a.txt\", {\"folder_path\":\"folder_b\", \"file_path\":\"file_b.txt\"}, {\"folder_path\":\"folder_c\"}]",
161
+ 'destinations': ["folder_a/file_a.txt",{"folder_path":"folder_b","file_path":"file_b.txt"},{"folder_path":"folder_c"}],
162
+ 'destination_replace_from': "example",
163
+ 'destination_replace_to': "example",
168
164
  'interval': "year",
165
+ 'path': "example",
169
166
  'user_ids': [1,2],
170
167
  'group_ids': [1,2],
171
- 'schedule': "{\"days_of_week\": [ 0, 1, 3 ], \"times_of_day\": [ \"7:30\", \"11:30\" ], \"time_zone\": \"Eastern Time (US & Canada)\"}",
168
+ 'schedule': {"days_of_week":[0,1,3],"times_of_day":["7:30","11:30"],"time_zone":"Eastern Time (US & Canada)"},
169
+ 'description': "example",
172
170
  'disabled': true,
171
+ 'name': "example",
173
172
  'trigger': "realtime",
174
173
  'trigger_actions': ["create"],
175
174
  'value': {"limit":"1"},
@@ -209,27 +208,16 @@ await automation.update({
209
208
  "trigger": "realtime",
210
209
  "interval": "week",
211
210
  "last_modified_at": "2000-01-01T01:00:00Z",
212
- "name": "",
213
- "schedule": {
214
- "days_of_week": [
215
- 0,
216
- 2,
217
- 4
218
- ],
219
- "times_of_day": [
220
- "6:30",
221
- "14:30"
222
- ],
223
- "time_zone": "Eastern Time (US & Canada)"
224
- },
225
- "source": "",
211
+ "name": "example",
212
+ "schedule": "example",
213
+ "source": "example",
226
214
  "destinations": [
227
215
  "destination"
228
216
  ],
229
- "destination_replace_from": "",
230
- "destination_replace_to": "",
231
- "description": "",
232
- "path": "",
217
+ "destination_replace_from": "example",
218
+ "destination_replace_to": "example",
219
+ "description": "example",
220
+ "path": "example",
233
221
  "user_id": 1,
234
222
  "user_ids": [
235
223
  1,
@@ -5,13 +5,13 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
- "path": "",
9
- "attachment_url": "",
8
+ "path": "example",
9
+ "attachment_url": "example",
10
10
  "behavior": "webhook",
11
- "name": "",
12
- "description": "",
11
+ "name": "example",
12
+ "description": "example",
13
13
  "value": {
14
- "method": "GET"
14
+ "key": "example value"
15
15
  }
16
16
  }
17
17
  ```
@@ -98,6 +98,8 @@ await Behavior.listFor(path, {
98
98
  ```
99
99
  await Behavior.create({
100
100
  'value': "{\"method\": \"GET\"}",
101
+ 'name': "example",
102
+ 'description': "example",
101
103
  'path': "path",
102
104
  'behavior': "webhook",
103
105
  })
@@ -122,8 +124,8 @@ await Behavior.webhookTest({
122
124
  'url': "https://www.site.com/...",
123
125
  'method': "GET",
124
126
  'encoding': "RAW",
125
- 'headers': "x-test-header => testvalue",
126
- 'body': "test-param => testvalue",
127
+ 'headers': {"x-test-header":"testvalue"},
128
+ 'body': {"test-param":"testvalue"},
127
129
  'action': "test",
128
130
  })
129
131
  ```
@@ -147,7 +149,10 @@ const [behavior] = await Behavior.list()
147
149
 
148
150
  await behavior.update({
149
151
  'value': "{\"method\": \"GET\"}",
152
+ 'name': "example",
153
+ 'description': "example",
150
154
  'behavior': "webhook",
155
+ 'path': "example",
151
156
  'attachment_delete': true,
152
157
  })
153
158
  ```
@@ -168,13 +173,13 @@ await behavior.update({
168
173
  ```json
169
174
  {
170
175
  "id": 1,
171
- "path": "",
172
- "attachment_url": "",
176
+ "path": "example",
177
+ "attachment_url": "example",
173
178
  "behavior": "webhook",
174
- "name": "",
175
- "description": "",
179
+ "name": "example",
180
+ "description": "example",
176
181
  "value": {
177
- "method": "GET"
182
+ "key": "example value"
178
183
  }
179
184
  }
180
185
  ```
@@ -13,35 +13,7 @@
13
13
  "require_registration": true,
14
14
  "require_share_recipient": true,
15
15
  "clickwrap_body": "[Legal text]",
16
- "form_field_set": {
17
- "id": 1,
18
- "title": "Sample Form Title",
19
- "form_layout": [
20
- 1,
21
- 2,
22
- 3,
23
- 4
24
- ],
25
- "form_fields": [
26
- {
27
- "id": 1,
28
- "label": "Sample Label",
29
- "required": true,
30
- "help_text": "Help Text",
31
- "field_type": "text",
32
- "options_for_select": [
33
- "red",
34
- "green",
35
- "blue"
36
- ],
37
- "default_option": "red",
38
- "form_field_set_id": 1
39
- }
40
- ],
41
- "skip_name": true,
42
- "skip_email": true,
43
- "skip_company": true
44
- },
16
+ "form_field_set": "",
45
17
  "skip_name": true,
46
18
  "skip_email": true,
47
19
  "skip_company": true,
@@ -54,11 +26,10 @@
54
26
  "username": "user",
55
27
  "clickwrap_id": 1,
56
28
  "inbox_id": 1,
57
- "watermark_attachment": {
58
- "name": "My logo",
59
- "uri": "https://mysite.files.com/.../my_image.png"
29
+ "watermark_attachment": "",
30
+ "watermark_value": {
31
+ "key": "example value"
60
32
  },
61
- "watermark_value": "",
62
33
  "has_inbox": true,
63
34
  "paths": [
64
35
  "file.txt"
@@ -272,35 +243,7 @@ await bundle.update({
272
243
  "require_registration": true,
273
244
  "require_share_recipient": true,
274
245
  "clickwrap_body": "[Legal text]",
275
- "form_field_set": {
276
- "id": 1,
277
- "title": "Sample Form Title",
278
- "form_layout": [
279
- 1,
280
- 2,
281
- 3,
282
- 4
283
- ],
284
- "form_fields": [
285
- {
286
- "id": 1,
287
- "label": "Sample Label",
288
- "required": true,
289
- "help_text": "Help Text",
290
- "field_type": "text",
291
- "options_for_select": [
292
- "red",
293
- "green",
294
- "blue"
295
- ],
296
- "default_option": "red",
297
- "form_field_set_id": 1
298
- }
299
- ],
300
- "skip_name": true,
301
- "skip_email": true,
302
- "skip_company": true
303
- },
246
+ "form_field_set": "",
304
247
  "skip_name": true,
305
248
  "skip_email": true,
306
249
  "skip_company": true,
@@ -313,11 +256,10 @@ await bundle.update({
313
256
  "username": "user",
314
257
  "clickwrap_id": 1,
315
258
  "inbox_id": 1,
316
- "watermark_attachment": {
317
- "name": "My logo",
318
- "uri": "https://mysite.files.com/.../my_image.png"
259
+ "watermark_attachment": "",
260
+ "watermark_value": {
261
+ "key": "example value"
319
262
  },
320
- "watermark_value": "",
321
263
  "has_inbox": true,
322
264
  "paths": [
323
265
  "file.txt"
@@ -4,10 +4,10 @@
4
4
 
5
5
  ```
6
6
  {
7
- "bundle_registration": "",
7
+ "bundle_registration": "example",
8
8
  "download_method": "file",
9
9
  "path": "a/b/test.txt",
10
- "created_at": "2020-01-01 00:00:00"
10
+ "created_at": "2000-01-01T01:00:00Z"
11
11
  }
12
12
  ```
13
13