files.com 1.0.248 → 1.0.249

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.
Files changed (79) hide show
  1. package/_VERSION +1 -1
  2. package/lib/models/AccountLineItem.js +14 -0
  3. package/lib/models/Action.js +13 -0
  4. package/lib/models/ActionNotificationExport.js +27 -0
  5. package/lib/models/ActionNotificationExportResult.js +15 -0
  6. package/lib/models/ActionWebhookFailure.js +1 -0
  7. package/lib/models/ApiKey.js +42 -0
  8. package/lib/models/App.js +26 -0
  9. package/lib/models/As2IncomingMessage.js +46 -0
  10. package/lib/models/As2OutgoingMessage.js +42 -0
  11. package/lib/models/As2Partner.js +29 -0
  12. package/lib/models/As2Station.js +31 -0
  13. package/lib/models/Auto.js +1 -0
  14. package/lib/models/Automation.js +72 -0
  15. package/lib/models/AutomationRun.js +20 -0
  16. package/lib/models/BandwidthSnapshot.js +19 -0
  17. package/lib/models/Behavior.js +57 -0
  18. package/lib/models/Bundle.js +98 -0
  19. package/lib/models/BundleDownload.js +16 -0
  20. package/lib/models/BundleNotification.js +20 -0
  21. package/lib/models/BundleRecipient.js +28 -0
  22. package/lib/models/BundleRegistration.js +18 -0
  23. package/lib/models/Clickwrap.js +23 -0
  24. package/lib/models/DnsRecord.js +7 -0
  25. package/lib/models/Errors.js +2 -0
  26. package/lib/models/ExternalEvent.js +26 -0
  27. package/lib/models/File.js +88 -0
  28. package/lib/models/FileAction.js +2 -0
  29. package/lib/models/FileComment.js +13 -0
  30. package/lib/models/FileCommentReaction.js +8 -0
  31. package/lib/models/FileMigration.js +11 -0
  32. package/lib/models/FileUploadPart.js +15 -0
  33. package/lib/models/Folder.js +33 -0
  34. package/lib/models/FormField.js +8 -0
  35. package/lib/models/FormFieldSet.js +27 -0
  36. package/lib/models/Group.js +29 -0
  37. package/lib/models/GroupUser.js +22 -0
  38. package/lib/models/History.js +57 -0
  39. package/lib/models/HistoryExport.js +51 -0
  40. package/lib/models/HistoryExportResult.js +29 -0
  41. package/lib/models/Image.js +2 -0
  42. package/lib/models/InboxRecipient.js +28 -0
  43. package/lib/models/InboxRegistration.js +15 -0
  44. package/lib/models/InboxUpload.js +15 -0
  45. package/lib/models/Invoice.js +19 -0
  46. package/lib/models/InvoiceLineItem.js +9 -0
  47. package/lib/models/IpAddress.js +13 -0
  48. package/lib/models/Lock.js +25 -0
  49. package/lib/models/Message.js +22 -0
  50. package/lib/models/MessageComment.js +16 -0
  51. package/lib/models/MessageCommentReaction.js +13 -0
  52. package/lib/models/MessageReaction.js +13 -0
  53. package/lib/models/Notification.js +70 -0
  54. package/lib/models/Payment.js +19 -0
  55. package/lib/models/PaymentLineItem.js +4 -0
  56. package/lib/models/Permission.js +29 -0
  57. package/lib/models/Preview.js +5 -0
  58. package/lib/models/Priority.js +6 -0
  59. package/lib/models/Project.js +11 -0
  60. package/lib/models/PublicIpAddress.js +4 -0
  61. package/lib/models/PublicKey.js +18 -0
  62. package/lib/models/RemoteBandwidthSnapshot.js +15 -0
  63. package/lib/models/RemoteServer.js +194 -0
  64. package/lib/models/RemoteServerConfigurationFile.js +12 -0
  65. package/lib/models/Request.js +25 -0
  66. package/lib/models/Session.js +13 -0
  67. package/lib/models/SettingsChange.js +15 -0
  68. package/lib/models/SftpHostKey.js +16 -0
  69. package/lib/models/Site.js +276 -0
  70. package/lib/models/SsoStrategy.js +49 -0
  71. package/lib/models/Status.js +7 -0
  72. package/lib/models/Style.js +9 -0
  73. package/lib/models/UsageDailySnapshot.js +21 -0
  74. package/lib/models/UsageSnapshot.js +18 -0
  75. package/lib/models/User.js +183 -0
  76. package/lib/models/UserCipherUse.js +10 -0
  77. package/lib/models/UserRequest.js +13 -0
  78. package/lib/models/WebhookTest.js +24 -0
  79. package/package.json +1 -1
@@ -31,108 +31,143 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Id of the AS2 Partner.
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
38
+ // int64 # Id of the AS2 Partner associated with this message.
37
39
  (0, _defineProperty2.default)(this, "getAs2PartnerId", function () {
38
40
  return _this.attributes.as2_partner_id;
39
41
  });
42
+ // int64 # Id of the AS2 Station associated with this message.
40
43
  (0, _defineProperty2.default)(this, "getAs2StationId", function () {
41
44
  return _this.attributes.as2_station_id;
42
45
  });
46
+ // string # UUID assigned to this message.
43
47
  (0, _defineProperty2.default)(this, "getUuid", function () {
44
48
  return _this.attributes.uuid;
45
49
  });
50
+ // string # Content Type header of the incoming message.
46
51
  (0, _defineProperty2.default)(this, "getContentType", function () {
47
52
  return _this.attributes.content_type;
48
53
  });
54
+ // object # HTTP Headers sent with this message.
49
55
  (0, _defineProperty2.default)(this, "getHttpHeaders", function () {
50
56
  return _this.attributes.http_headers;
51
57
  });
58
+ // string # JSON Structure of the activity log.
52
59
  (0, _defineProperty2.default)(this, "getActivityLog", function () {
53
60
  return _this.attributes.activity_log;
54
61
  });
62
+ // string # Result of processing.
55
63
  (0, _defineProperty2.default)(this, "getProcessingResult", function () {
56
64
  return _this.attributes.processing_result;
57
65
  });
66
+ // string # Result of processing description.
58
67
  (0, _defineProperty2.default)(this, "getProcessingResultDescription", function () {
59
68
  return _this.attributes.processing_result_description;
60
69
  });
70
+ // string # AS2 Message Integrity Check
61
71
  (0, _defineProperty2.default)(this, "getMic", function () {
62
72
  return _this.attributes.mic;
63
73
  });
74
+ // string # AS2 Message Integrity Check Algorithm Used
64
75
  (0, _defineProperty2.default)(this, "getMicAlgo", function () {
65
76
  return _this.attributes.mic_algo;
66
77
  });
78
+ // string # AS2 TO header of message
67
79
  (0, _defineProperty2.default)(this, "getAs2To", function () {
68
80
  return _this.attributes.as2_to;
69
81
  });
82
+ // string # AS2 FROM header of message
70
83
  (0, _defineProperty2.default)(this, "getAs2From", function () {
71
84
  return _this.attributes.as2_from;
72
85
  });
86
+ // string # AS2 Message Id
73
87
  (0, _defineProperty2.default)(this, "getMessageId", function () {
74
88
  return _this.attributes.message_id;
75
89
  });
90
+ // string # AS2 Subject Header
76
91
  (0, _defineProperty2.default)(this, "getSubject", function () {
77
92
  return _this.attributes.subject;
78
93
  });
94
+ // string # Date Header
79
95
  (0, _defineProperty2.default)(this, "getDate", function () {
80
96
  return _this.attributes.date;
81
97
  });
98
+ // string # Encrypted Payload Body Size
82
99
  (0, _defineProperty2.default)(this, "getBodySize", function () {
83
100
  return _this.attributes.body_size;
84
101
  });
102
+ // string # Filename of the file being received.
85
103
  (0, _defineProperty2.default)(this, "getAttachmentFilename", function () {
86
104
  return _this.attributes.attachment_filename;
87
105
  });
106
+ // string # IP Address of the Sender
88
107
  (0, _defineProperty2.default)(this, "getIp", function () {
89
108
  return _this.attributes.ip;
90
109
  });
110
+ // date-time # Message creation date/time
91
111
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
92
112
  return _this.attributes.created_at;
93
113
  });
114
+ // string # HTTP Response Code sent for this message
94
115
  (0, _defineProperty2.default)(this, "getHttpResponseCode", function () {
95
116
  return _this.attributes.http_response_code;
96
117
  });
118
+ // object # HTTP Headers sent for this message.
97
119
  (0, _defineProperty2.default)(this, "getHttpResponseHeaders", function () {
98
120
  return _this.attributes.http_response_headers;
99
121
  });
122
+ // string # Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial
100
123
  (0, _defineProperty2.default)(this, "getRecipientSerial", function () {
101
124
  return _this.attributes.recipient_serial;
102
125
  });
126
+ // string # Incoming Message Recipient(the Client Cert used to encrypt this message)'s serial in hex format.
103
127
  (0, _defineProperty2.default)(this, "getHexRecipientSerial", function () {
104
128
  return _this.attributes.hex_recipient_serial;
105
129
  });
130
+ // string # Incoming Message Recipient(the Client Cert used to encrypt this message)'s issuer
106
131
  (0, _defineProperty2.default)(this, "getRecipientIssuer", function () {
107
132
  return _this.attributes.recipient_issuer;
108
133
  });
134
+ // boolean # Message body received?
109
135
  (0, _defineProperty2.default)(this, "getMessageReceived", function () {
110
136
  return _this.attributes.message_received;
111
137
  });
138
+ // boolean # Message decrypted successfully?
112
139
  (0, _defineProperty2.default)(this, "getMessageDecrypted", function () {
113
140
  return _this.attributes.message_decrypted;
114
141
  });
142
+ // boolean # Message signature verified?
115
143
  (0, _defineProperty2.default)(this, "getMessageSignatureVerified", function () {
116
144
  return _this.attributes.message_signature_verified;
117
145
  });
146
+ // boolean # Message processed successfully?
118
147
  (0, _defineProperty2.default)(this, "getMessageProcessingSuccess", function () {
119
148
  return _this.attributes.message_processing_success;
120
149
  });
150
+ // boolean # MDN returned?
121
151
  (0, _defineProperty2.default)(this, "getMessageMdnReturned", function () {
122
152
  return _this.attributes.message_mdn_returned;
123
153
  });
154
+ // string # URL to download the encrypted signed smime that is to sent as AS2 body
124
155
  (0, _defineProperty2.default)(this, "getEncryptedUri", function () {
125
156
  return _this.attributes.encrypted_uri;
126
157
  });
158
+ // string # URL to download the file contents as smime with signature
127
159
  (0, _defineProperty2.default)(this, "getSmimeSignedUri", function () {
128
160
  return _this.attributes.smime_signed_uri;
129
161
  });
162
+ // string # URL to download the file contents encoded as smime
130
163
  (0, _defineProperty2.default)(this, "getSmimeUri", function () {
131
164
  return _this.attributes.smime_uri;
132
165
  });
166
+ // string # URL to download the original file contents
133
167
  (0, _defineProperty2.default)(this, "getRawUri", function () {
134
168
  return _this.attributes.raw_uri;
135
169
  });
170
+ // string # URL to download the http response body
136
171
  (0, _defineProperty2.default)(this, "getMdnResponseUri", function () {
137
172
  return _this.attributes.mdn_response_uri;
138
173
  });
@@ -149,6 +184,17 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
149
184
  });
150
185
  this.options = _objectSpread({}, options);
151
186
  });
187
+ // Parameters:
188
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
189
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
190
+ // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
191
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
192
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
193
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
194
+ // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
195
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
196
+ // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
197
+ // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
152
198
  (0, _defineProperty2.default)(As2IncomingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
153
199
  var _response$data;
154
200
  var params,
@@ -31,96 +31,127 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Id of the AS2 Partner.
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
38
+ // int64 # Id of the AS2 Partner associated with this message.
37
39
  (0, _defineProperty2.default)(this, "getAs2PartnerId", function () {
38
40
  return _this.attributes.as2_partner_id;
39
41
  });
42
+ // int64 # Id of the AS2 Station associated with this message.
40
43
  (0, _defineProperty2.default)(this, "getAs2StationId", function () {
41
44
  return _this.attributes.as2_station_id;
42
45
  });
46
+ // string # UUID assigned to this message.
43
47
  (0, _defineProperty2.default)(this, "getUuid", function () {
44
48
  return _this.attributes.uuid;
45
49
  });
50
+ // object # HTTP Headers sent with this message.
46
51
  (0, _defineProperty2.default)(this, "getHttpHeaders", function () {
47
52
  return _this.attributes.http_headers;
48
53
  });
54
+ // string # JSON Structure of the activity log.
49
55
  (0, _defineProperty2.default)(this, "getActivityLog", function () {
50
56
  return _this.attributes.activity_log;
51
57
  });
58
+ // string # Result of processing.
52
59
  (0, _defineProperty2.default)(this, "getProcessingResult", function () {
53
60
  return _this.attributes.processing_result;
54
61
  });
62
+ // string # Result of processing description.
55
63
  (0, _defineProperty2.default)(this, "getProcessingResultDescription", function () {
56
64
  return _this.attributes.processing_result_description;
57
65
  });
66
+ // string # AS2 Message Integrity Check SHA1
58
67
  (0, _defineProperty2.default)(this, "getMic", function () {
59
68
  return _this.attributes.mic;
60
69
  });
70
+ // string # AS2 Message Integrity Check SHA256
61
71
  (0, _defineProperty2.default)(this, "getMicSha256", function () {
62
72
  return _this.attributes.mic_sha_256;
63
73
  });
74
+ // string # AS2 TO
64
75
  (0, _defineProperty2.default)(this, "getAs2To", function () {
65
76
  return _this.attributes.as2_to;
66
77
  });
78
+ // string # AS2 FROM
67
79
  (0, _defineProperty2.default)(this, "getAs2From", function () {
68
80
  return _this.attributes.as2_from;
69
81
  });
82
+ // string # Date Header
70
83
  (0, _defineProperty2.default)(this, "getDate", function () {
71
84
  return _this.attributes.date;
72
85
  });
86
+ // string # AS2 Message Id
73
87
  (0, _defineProperty2.default)(this, "getMessageId", function () {
74
88
  return _this.attributes.message_id;
75
89
  });
90
+ // string # Encrypted Payload Body Size
76
91
  (0, _defineProperty2.default)(this, "getBodySize", function () {
77
92
  return _this.attributes.body_size;
78
93
  });
94
+ // string # Filename of the file being sent.
79
95
  (0, _defineProperty2.default)(this, "getAttachmentFilename", function () {
80
96
  return _this.attributes.attachment_filename;
81
97
  });
98
+ // date-time # Message creation date/time
82
99
  (0, _defineProperty2.default)(this, "getCreatedAt", function () {
83
100
  return _this.attributes.created_at;
84
101
  });
102
+ // string # HTTP Response Code received for this message
85
103
  (0, _defineProperty2.default)(this, "getHttpResponseCode", function () {
86
104
  return _this.attributes.http_response_code;
87
105
  });
106
+ // object # HTTP Headers received for this message.
88
107
  (0, _defineProperty2.default)(this, "getHttpResponseHeaders", function () {
89
108
  return _this.attributes.http_response_headers;
90
109
  });
110
+ // double # HTTP transmission duration in seceonds
91
111
  (0, _defineProperty2.default)(this, "getHttpTransmissionDuration", function () {
92
112
  return _this.attributes.http_transmission_duration;
93
113
  });
114
+ // boolean # Did the partner give a response body?
94
115
  (0, _defineProperty2.default)(this, "getMdnReceived", function () {
95
116
  return _this.attributes.mdn_received;
96
117
  });
118
+ // boolean # Is the response in MDN format?
97
119
  (0, _defineProperty2.default)(this, "getMdnValid", function () {
98
120
  return _this.attributes.mdn_valid;
99
121
  });
122
+ // boolean # MDN signature verified?
100
123
  (0, _defineProperty2.default)(this, "getMdnSignatureVerified", function () {
101
124
  return _this.attributes.mdn_signature_verified;
102
125
  });
126
+ // boolean # MDN message id matched?
103
127
  (0, _defineProperty2.default)(this, "getMdnMessageIdMatched", function () {
104
128
  return _this.attributes.mdn_message_id_matched;
105
129
  });
130
+ // boolean # MDN MIC matched?
106
131
  (0, _defineProperty2.default)(this, "getMdnMicMatched", function () {
107
132
  return _this.attributes.mdn_mic_matched;
108
133
  });
134
+ // boolean # MDN disposition indicate a successful processing?
109
135
  (0, _defineProperty2.default)(this, "getMdnProcessingSuccess", function () {
110
136
  return _this.attributes.mdn_processing_success;
111
137
  });
138
+ // string # URL to download the original file contents
112
139
  (0, _defineProperty2.default)(this, "getRawUri", function () {
113
140
  return _this.attributes.raw_uri;
114
141
  });
142
+ // string # URL to download the file contents encoded as smime
115
143
  (0, _defineProperty2.default)(this, "getSmimeUri", function () {
116
144
  return _this.attributes.smime_uri;
117
145
  });
146
+ // string # URL to download the file contents as smime with signature
118
147
  (0, _defineProperty2.default)(this, "getSmimeSignedUri", function () {
119
148
  return _this.attributes.smime_signed_uri;
120
149
  });
150
+ // string # URL to download the encrypted signed smime that is to sent as AS2 body
121
151
  (0, _defineProperty2.default)(this, "getEncryptedUri", function () {
122
152
  return _this.attributes.encrypted_uri;
123
153
  });
154
+ // string # URL to download the http response body
124
155
  (0, _defineProperty2.default)(this, "getMdnResponseUri", function () {
125
156
  return _this.attributes.mdn_response_uri;
126
157
  });
@@ -137,6 +168,17 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
137
168
  });
138
169
  this.options = _objectSpread({}, options);
139
170
  });
171
+ // Parameters:
172
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
173
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
174
+ // sort_by - object - If set, sort records by the specified field in either 'asc' or 'desc' direction (e.g. sort_by[last_login_at]=desc). Valid fields are `created_at` and `as2_partner_id`.
175
+ // filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
176
+ // filter_gt - object - If set, return records where the specified field is greater than the supplied value. Valid fields are `created_at`.
177
+ // filter_gteq - object - If set, return records where the specified field is greater than or equal to the supplied value. Valid fields are `created_at`.
178
+ // filter_like - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `created_at`.
179
+ // filter_lt - object - If set, return records where the specified field is less than the supplied value. Valid fields are `created_at`.
180
+ // filter_lteq - object - If set, return records where the specified field is less than or equal to the supplied value. Valid fields are `created_at`.
181
+ // as2_partner_id - int64 - As2 Partner ID. If provided, will return message specific to that partner.
140
182
  (0, _defineProperty2.default)(As2OutgoingMessage, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
141
183
  var _response$data;
142
184
  var params,
@@ -31,84 +31,102 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Id of the AS2 Partner.
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
37
38
  (0, _defineProperty2.default)(this, "setId", function (value) {
38
39
  _this.attributes.id = value;
39
40
  });
41
+ // int64 # Id of the AS2 Station associated with this partner.
40
42
  (0, _defineProperty2.default)(this, "getAs2StationId", function () {
41
43
  return _this.attributes.as2_station_id;
42
44
  });
43
45
  (0, _defineProperty2.default)(this, "setAs2StationId", function (value) {
44
46
  _this.attributes.as2_station_id = value;
45
47
  });
48
+ // string # The partner's formal AS2 name.
46
49
  (0, _defineProperty2.default)(this, "getName", function () {
47
50
  return _this.attributes.name;
48
51
  });
49
52
  (0, _defineProperty2.default)(this, "setName", function (value) {
50
53
  _this.attributes.name = value;
51
54
  });
55
+ // string # Public URI for sending AS2 message to.
52
56
  (0, _defineProperty2.default)(this, "getUri", function () {
53
57
  return _this.attributes.uri;
54
58
  });
55
59
  (0, _defineProperty2.default)(this, "setUri", function (value) {
56
60
  _this.attributes.uri = value;
57
61
  });
62
+ // string # Remote server certificate security setting
58
63
  (0, _defineProperty2.default)(this, "getServerCertificate", function () {
59
64
  return _this.attributes.server_certificate;
60
65
  });
61
66
  (0, _defineProperty2.default)(this, "setServerCertificate", function (value) {
62
67
  _this.attributes.server_certificate = value;
63
68
  });
69
+ // string # Serial of public certificate used for message security in hex format.
64
70
  (0, _defineProperty2.default)(this, "getHexPublicCertificateSerial", function () {
65
71
  return _this.attributes.hex_public_certificate_serial;
66
72
  });
67
73
  (0, _defineProperty2.default)(this, "setHexPublicCertificateSerial", function (value) {
68
74
  _this.attributes.hex_public_certificate_serial = value;
69
75
  });
76
+ // string # MD5 hash of public certificate used for message security.
70
77
  (0, _defineProperty2.default)(this, "getPublicCertificateMd5", function () {
71
78
  return _this.attributes.public_certificate_md5;
72
79
  });
73
80
  (0, _defineProperty2.default)(this, "setPublicCertificateMd5", function (value) {
74
81
  _this.attributes.public_certificate_md5 = value;
75
82
  });
83
+ // string # Subject of public certificate used for message security.
76
84
  (0, _defineProperty2.default)(this, "getPublicCertificateSubject", function () {
77
85
  return _this.attributes.public_certificate_subject;
78
86
  });
79
87
  (0, _defineProperty2.default)(this, "setPublicCertificateSubject", function (value) {
80
88
  _this.attributes.public_certificate_subject = value;
81
89
  });
90
+ // string # Issuer of public certificate used for message security.
82
91
  (0, _defineProperty2.default)(this, "getPublicCertificateIssuer", function () {
83
92
  return _this.attributes.public_certificate_issuer;
84
93
  });
85
94
  (0, _defineProperty2.default)(this, "setPublicCertificateIssuer", function (value) {
86
95
  _this.attributes.public_certificate_issuer = value;
87
96
  });
97
+ // string # Serial of public certificate used for message security.
88
98
  (0, _defineProperty2.default)(this, "getPublicCertificateSerial", function () {
89
99
  return _this.attributes.public_certificate_serial;
90
100
  });
91
101
  (0, _defineProperty2.default)(this, "setPublicCertificateSerial", function (value) {
92
102
  _this.attributes.public_certificate_serial = value;
93
103
  });
104
+ // string # Not before value of public certificate used for message security.
94
105
  (0, _defineProperty2.default)(this, "getPublicCertificateNotBefore", function () {
95
106
  return _this.attributes.public_certificate_not_before;
96
107
  });
97
108
  (0, _defineProperty2.default)(this, "setPublicCertificateNotBefore", function (value) {
98
109
  _this.attributes.public_certificate_not_before = value;
99
110
  });
111
+ // string # Not after value of public certificate used for message security.
100
112
  (0, _defineProperty2.default)(this, "getPublicCertificateNotAfter", function () {
101
113
  return _this.attributes.public_certificate_not_after;
102
114
  });
103
115
  (0, _defineProperty2.default)(this, "setPublicCertificateNotAfter", function (value) {
104
116
  _this.attributes.public_certificate_not_after = value;
105
117
  });
118
+ // string
106
119
  (0, _defineProperty2.default)(this, "getPublicCertificate", function () {
107
120
  return _this.attributes.public_certificate;
108
121
  });
109
122
  (0, _defineProperty2.default)(this, "setPublicCertificate", function (value) {
110
123
  _this.attributes.public_certificate = value;
111
124
  });
125
+ // Parameters:
126
+ // name - string - AS2 Name
127
+ // uri - string - URL base for AS2 responses
128
+ // server_certificate - string - Remote server certificate security setting
129
+ // public_certificate - string
112
130
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
113
131
  var params,
114
132
  response,
@@ -263,6 +281,9 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
263
281
  });
264
282
  this.options = _objectSpread({}, options);
265
283
  });
284
+ // Parameters:
285
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
286
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
266
287
  (0, _defineProperty2.default)(As2Partner, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
267
288
  var _response$data;
268
289
  var params,
@@ -304,6 +325,8 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
304
325
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
305
326
  return As2Partner.list(params, options);
306
327
  });
328
+ // Parameters:
329
+ // id (required) - int64 - As2 Partner ID.
307
330
  (0, _defineProperty2.default)(As2Partner, "find", /*#__PURE__*/function () {
308
331
  var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(id) {
309
332
  var params,
@@ -354,6 +377,12 @@ var As2Partner = /*#__PURE__*/(0, _createClass2.default)(function As2Partner() {
354
377
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
355
378
  return As2Partner.find(id, params, options);
356
379
  });
380
+ // Parameters:
381
+ // name (required) - string - AS2 Name
382
+ // uri (required) - string - URL base for AS2 responses
383
+ // public_certificate (required) - string
384
+ // as2_station_id (required) - int64 - Id of As2Station for this partner
385
+ // server_certificate - string - Remote server certificate security setting
357
386
  (0, _defineProperty2.default)(As2Partner, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
358
387
  var params,
359
388
  options,
@@ -31,102 +31,123 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
31
31
  (0, _defineProperty2.default)(this, "isLoaded", function () {
32
32
  return !!_this.attributes.id;
33
33
  });
34
+ // int64 # Id of the AS2 Station.
34
35
  (0, _defineProperty2.default)(this, "getId", function () {
35
36
  return _this.attributes.id;
36
37
  });
37
38
  (0, _defineProperty2.default)(this, "setId", function (value) {
38
39
  _this.attributes.id = value;
39
40
  });
41
+ // string # The station's formal AS2 name.
40
42
  (0, _defineProperty2.default)(this, "getName", function () {
41
43
  return _this.attributes.name;
42
44
  });
43
45
  (0, _defineProperty2.default)(this, "setName", function (value) {
44
46
  _this.attributes.name = value;
45
47
  });
48
+ // string # Public URI for sending AS2 message to.
46
49
  (0, _defineProperty2.default)(this, "getUri", function () {
47
50
  return _this.attributes.uri;
48
51
  });
49
52
  (0, _defineProperty2.default)(this, "setUri", function (value) {
50
53
  _this.attributes.uri = value;
51
54
  });
55
+ // string # The station's AS2 domain name.
52
56
  (0, _defineProperty2.default)(this, "getDomain", function () {
53
57
  return _this.attributes.domain;
54
58
  });
55
59
  (0, _defineProperty2.default)(this, "setDomain", function (value) {
56
60
  _this.attributes.domain = value;
57
61
  });
62
+ // string # Serial of public certificate used for message security in hex format.
58
63
  (0, _defineProperty2.default)(this, "getHexPublicCertificateSerial", function () {
59
64
  return _this.attributes.hex_public_certificate_serial;
60
65
  });
61
66
  (0, _defineProperty2.default)(this, "setHexPublicCertificateSerial", function (value) {
62
67
  _this.attributes.hex_public_certificate_serial = value;
63
68
  });
69
+ // string # MD5 hash of public certificate used for message security.
64
70
  (0, _defineProperty2.default)(this, "getPublicCertificateMd5", function () {
65
71
  return _this.attributes.public_certificate_md5;
66
72
  });
67
73
  (0, _defineProperty2.default)(this, "setPublicCertificateMd5", function (value) {
68
74
  _this.attributes.public_certificate_md5 = value;
69
75
  });
76
+ // string # MD5 hash of private key used for message security.
70
77
  (0, _defineProperty2.default)(this, "getPrivateKeyMd5", function () {
71
78
  return _this.attributes.private_key_md5;
72
79
  });
73
80
  (0, _defineProperty2.default)(this, "setPrivateKeyMd5", function (value) {
74
81
  _this.attributes.private_key_md5 = value;
75
82
  });
83
+ // string # Subject of public certificate used for message security.
76
84
  (0, _defineProperty2.default)(this, "getPublicCertificateSubject", function () {
77
85
  return _this.attributes.public_certificate_subject;
78
86
  });
79
87
  (0, _defineProperty2.default)(this, "setPublicCertificateSubject", function (value) {
80
88
  _this.attributes.public_certificate_subject = value;
81
89
  });
90
+ // string # Issuer of public certificate used for message security.
82
91
  (0, _defineProperty2.default)(this, "getPublicCertificateIssuer", function () {
83
92
  return _this.attributes.public_certificate_issuer;
84
93
  });
85
94
  (0, _defineProperty2.default)(this, "setPublicCertificateIssuer", function (value) {
86
95
  _this.attributes.public_certificate_issuer = value;
87
96
  });
97
+ // string # Serial of public certificate used for message security.
88
98
  (0, _defineProperty2.default)(this, "getPublicCertificateSerial", function () {
89
99
  return _this.attributes.public_certificate_serial;
90
100
  });
91
101
  (0, _defineProperty2.default)(this, "setPublicCertificateSerial", function (value) {
92
102
  _this.attributes.public_certificate_serial = value;
93
103
  });
104
+ // string # Not before value of public certificate used for message security.
94
105
  (0, _defineProperty2.default)(this, "getPublicCertificateNotBefore", function () {
95
106
  return _this.attributes.public_certificate_not_before;
96
107
  });
97
108
  (0, _defineProperty2.default)(this, "setPublicCertificateNotBefore", function (value) {
98
109
  _this.attributes.public_certificate_not_before = value;
99
110
  });
111
+ // string # Not after value of public certificate used for message security.
100
112
  (0, _defineProperty2.default)(this, "getPublicCertificateNotAfter", function () {
101
113
  return _this.attributes.public_certificate_not_after;
102
114
  });
103
115
  (0, _defineProperty2.default)(this, "setPublicCertificateNotAfter", function (value) {
104
116
  _this.attributes.public_certificate_not_after = value;
105
117
  });
118
+ // string # MD5 hash of private key password used for message security.
106
119
  (0, _defineProperty2.default)(this, "getPrivateKeyPasswordMd5", function () {
107
120
  return _this.attributes.private_key_password_md5;
108
121
  });
109
122
  (0, _defineProperty2.default)(this, "setPrivateKeyPasswordMd5", function (value) {
110
123
  _this.attributes.private_key_password_md5 = value;
111
124
  });
125
+ // string
112
126
  (0, _defineProperty2.default)(this, "getPublicCertificate", function () {
113
127
  return _this.attributes.public_certificate;
114
128
  });
115
129
  (0, _defineProperty2.default)(this, "setPublicCertificate", function (value) {
116
130
  _this.attributes.public_certificate = value;
117
131
  });
132
+ // string
118
133
  (0, _defineProperty2.default)(this, "getPrivateKey", function () {
119
134
  return _this.attributes.private_key;
120
135
  });
121
136
  (0, _defineProperty2.default)(this, "setPrivateKey", function (value) {
122
137
  _this.attributes.private_key = value;
123
138
  });
139
+ // string
124
140
  (0, _defineProperty2.default)(this, "getPrivateKeyPassword", function () {
125
141
  return _this.attributes.private_key_password;
126
142
  });
127
143
  (0, _defineProperty2.default)(this, "setPrivateKeyPassword", function (value) {
128
144
  _this.attributes.private_key_password = value;
129
145
  });
146
+ // Parameters:
147
+ // name - string - AS2 Name
148
+ // public_certificate - string
149
+ // private_key - string
150
+ // private_key_password - string
130
151
  (0, _defineProperty2.default)(this, "update", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
131
152
  var params,
132
153
  response,
@@ -281,6 +302,9 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
281
302
  });
282
303
  this.options = _objectSpread({}, options);
283
304
  });
305
+ // Parameters:
306
+ // cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
307
+ // per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
284
308
  (0, _defineProperty2.default)(As2Station, "list", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
285
309
  var _response$data;
286
310
  var params,
@@ -322,6 +346,8 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
322
346
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
323
347
  return As2Station.list(params, options);
324
348
  });
349
+ // Parameters:
350
+ // id (required) - int64 - As2 Station ID.
325
351
  (0, _defineProperty2.default)(As2Station, "find", /*#__PURE__*/function () {
326
352
  var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(id) {
327
353
  var params,
@@ -372,6 +398,11 @@ var As2Station = /*#__PURE__*/(0, _createClass2.default)(function As2Station() {
372
398
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
373
399
  return As2Station.find(id, params, options);
374
400
  });
401
+ // Parameters:
402
+ // name (required) - string - AS2 Name
403
+ // public_certificate (required) - string
404
+ // private_key (required) - string
405
+ // private_key_password - string
375
406
  (0, _defineProperty2.default)(As2Station, "create", /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
376
407
  var params,
377
408
  options,
@@ -29,6 +29,7 @@ var Auto = /*#__PURE__*/(0, _createClass2.default)(function Auto() {
29
29
  (0, _defineProperty2.default)(this, "isLoaded", function () {
30
30
  return !!_this.attributes.id;
31
31
  });
32
+ // object
32
33
  (0, _defineProperty2.default)(this, "getDynamic", function () {
33
34
  return _this.attributes.dynamic;
34
35
  });