@blues-inc/notehub-js 1.0.35-beta.3 → 1.0.35

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 (129) hide show
  1. package/README.md +222 -239
  2. package/dist/ApiClient.js +156 -156
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +16 -16
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +351 -351
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/ExternalDevicesApi.js +41 -41
  9. package/dist/api/MonitorApi.js +52 -52
  10. package/dist/api/ProjectApi.js +355 -355
  11. package/dist/api/RepositoryApi.js +103 -103
  12. package/dist/api/RouteApi.js +77 -77
  13. package/dist/api/WebhookApi.js +51 -51
  14. package/dist/index.js +0 -42
  15. package/dist/model/Alert.js +74 -76
  16. package/dist/model/AlertDataInner.js +35 -35
  17. package/dist/model/AlertNotificationsInner.js +18 -18
  18. package/dist/model/Aws.js +65 -65
  19. package/dist/model/Azure.js +43 -43
  20. package/dist/model/BillingAccount.js +21 -21
  21. package/dist/model/BillingAccountRole.js +9 -9
  22. package/dist/model/Body.js +5 -5
  23. package/dist/model/CloneProjectRequest.js +20 -20
  24. package/dist/model/Contact.js +22 -22
  25. package/dist/model/CreateFleetRequest.js +12 -12
  26. package/dist/model/CreateMonitor.js +125 -126
  27. package/dist/model/CreateProductRequest.js +22 -22
  28. package/dist/model/CreateProjectRequest.js +16 -16
  29. package/dist/model/CreateUpdateRepository.js +17 -17
  30. package/dist/model/CurrentFirmware.js +12 -12
  31. package/dist/model/DFUEnv.js +12 -12
  32. package/dist/model/DFUState.js +65 -65
  33. package/dist/model/DataField.js +7 -7
  34. package/dist/model/DataSet.js +29 -30
  35. package/dist/model/DataSetField.js +19 -19
  36. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  37. package/dist/model/Device.js +101 -102
  38. package/dist/model/DeviceDfuHistory.js +19 -20
  39. package/dist/model/DeviceDfuHistoryPage.js +12 -13
  40. package/dist/model/DeviceDfuStateMachine.js +24 -25
  41. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  42. package/dist/model/DeviceDfuStatus.js +20 -20
  43. package/dist/model/DeviceDfuStatusCurrent.js +32 -32
  44. package/dist/model/DeviceDfuStatusPage.js +12 -13
  45. package/dist/model/DeviceSession.js +221 -221
  46. package/dist/model/DeviceTowerInfo.js +14 -14
  47. package/dist/model/DeviceUsage.js +32 -32
  48. package/dist/model/DfuActionRequest.js +7 -7
  49. package/dist/model/EmailNotification.js +7 -7
  50. package/dist/model/EnvironmentVariables.js +8 -8
  51. package/dist/model/Error.js +31 -31
  52. package/dist/model/Event.js +248 -248
  53. package/dist/model/Firmware.js +49 -49
  54. package/dist/model/FirmwareInfo.js +60 -60
  55. package/dist/model/Fleet.js +27 -27
  56. package/dist/model/GetAlerts200Response.js +14 -15
  57. package/dist/model/GetBillingAccounts200Response.js +9 -10
  58. package/dist/model/GetDeviceEnvironmentVariables200Response.js +16 -16
  59. package/dist/model/GetDeviceHealthLog200Response.js +11 -12
  60. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  61. package/dist/model/GetDeviceLatest200Response.js +9 -10
  62. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  63. package/dist/model/GetDeviceSessions200Response.js +16 -17
  64. package/dist/model/GetProjectDevicePublicKeys200Response.js +16 -17
  65. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  66. package/dist/model/GetProjectDevices200Response.js +16 -17
  67. package/dist/model/GetProjectEvents200Response.js +20 -21
  68. package/dist/model/GetProjectEventsByCursor200Response.js +23 -24
  69. package/dist/model/GetProjectFleets200Response.js +11 -12
  70. package/dist/model/GetProjectMembers200Response.js +11 -12
  71. package/dist/model/GetProjectProducts200Response.js +9 -10
  72. package/dist/model/GetProjects200Response.js +9 -10
  73. package/dist/model/GetWebhooks200Response.js +9 -10
  74. package/dist/model/Google.js +33 -33
  75. package/dist/model/HandleNoteChanges200Response.js +11 -11
  76. package/dist/model/HandleNoteGet200Response.js +13 -13
  77. package/dist/model/HandleNoteSignal200Response.js +5 -5
  78. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  79. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  80. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  81. package/dist/model/Http.js +35 -35
  82. package/dist/model/HttpFilter.js +19 -19
  83. package/dist/model/HttpTransform.js +20 -20
  84. package/dist/model/Location.js +40 -40
  85. package/dist/model/Login200Response.js +7 -7
  86. package/dist/model/LoginRequest.js +12 -12
  87. package/dist/model/Monitor.js +99 -100
  88. package/dist/model/MonitorAlertRoutesInner.js +10 -9
  89. package/dist/model/Mqtt.js +66 -66
  90. package/dist/model/Note.js +10 -10
  91. package/dist/model/NotefileSchema.js +18 -19
  92. package/dist/model/NotehubRoute.js +36 -36
  93. package/dist/model/NotehubRouteSchema.js +46 -45
  94. package/dist/model/PostProvisionProjectDeviceRequest.js +18 -18
  95. package/dist/model/Product.js +26 -26
  96. package/dist/model/Project.js +34 -34
  97. package/dist/model/ProjectMember.js +22 -22
  98. package/dist/model/Proxy.js +24 -24
  99. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  100. package/dist/model/QuestionDataResponseLineChart.js +39 -39
  101. package/dist/model/QuestionDataResponseMap.js +16 -16
  102. package/dist/model/Radresponder.js +25 -25
  103. package/dist/model/Repository.js +22 -22
  104. package/dist/model/Role.js +9 -9
  105. package/dist/model/RouteLog.js +35 -35
  106. package/dist/model/SchemaProperty.js +38 -40
  107. package/dist/model/SimUsage.js +19 -19
  108. package/dist/model/Slack.js +53 -53
  109. package/dist/model/SlackBearerNotification.js +25 -25
  110. package/dist/model/SlackWebHookNotification.js +20 -20
  111. package/dist/model/Snowflake.js +45 -45
  112. package/dist/model/SnowflakeTransform.js +12 -12
  113. package/dist/model/Thingworx.js +33 -33
  114. package/dist/model/TowerLocation.js +54 -54
  115. package/dist/model/Twilio.js +43 -43
  116. package/dist/model/UpdateFleetRequest.js +22 -22
  117. package/dist/model/UploadMetadata.js +59 -59
  118. package/dist/model/UserDbRoute.js +25 -25
  119. package/dist/model/UserDfuStateMachine.js +20 -20
  120. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  121. package/dist/model/UserFirmwareInfo.js +12 -12
  122. package/dist/model/WebhookSettings.js +15 -15
  123. package/package.json +3 -3
  124. package/dist/api/ApiAccessApi.js +0 -161
  125. package/dist/model/ApiKey.js +0 -160
  126. package/dist/model/ApiKeyCreatedBy.js +0 -116
  127. package/dist/model/ApiKeyPermissionEntry.js +0 -127
  128. package/dist/model/ApiKeyPermissions.js +0 -141
  129. package/dist/model/UpdateApiKeyRequest.js +0 -111
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
18
  * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The DeviceTowerInfo model module.
28
28
  * @module model/DeviceTowerInfo
29
- * @version 1.0.35-beta.3
29
+ * @version 1.0.35
30
30
  */
31
31
  var DeviceTowerInfo = /*#__PURE__*/function () {
32
32
  /**
@@ -59,17 +59,17 @@ var DeviceTowerInfo = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new DeviceTowerInfo();
62
- if (data.hasOwnProperty('mcc')) {
63
- obj['mcc'] = _ApiClient["default"].convertToType(data['mcc'], 'Number');
62
+ if (data.hasOwnProperty("mcc")) {
63
+ obj["mcc"] = _ApiClient["default"].convertToType(data["mcc"], "Number");
64
64
  }
65
- if (data.hasOwnProperty('mnc')) {
66
- obj['mnc'] = _ApiClient["default"].convertToType(data['mnc'], 'Number');
65
+ if (data.hasOwnProperty("mnc")) {
66
+ obj["mnc"] = _ApiClient["default"].convertToType(data["mnc"], "Number");
67
67
  }
68
- if (data.hasOwnProperty('lac')) {
69
- obj['lac'] = _ApiClient["default"].convertToType(data['lac'], 'Number');
68
+ if (data.hasOwnProperty("lac")) {
69
+ obj["lac"] = _ApiClient["default"].convertToType(data["lac"], "Number");
70
70
  }
71
- if (data.hasOwnProperty('cell_id')) {
72
- obj['cell_id'] = _ApiClient["default"].convertToType(data['cell_id'], 'Number');
71
+ if (data.hasOwnProperty("cell_id")) {
72
+ obj["cell_id"] = _ApiClient["default"].convertToType(data["cell_id"], "Number");
73
73
  }
74
74
  } else if (data === null) {
75
75
  return null;
@@ -92,20 +92,20 @@ var DeviceTowerInfo = /*#__PURE__*/function () {
92
92
  /**
93
93
  * @member {Number} mcc
94
94
  */
95
- DeviceTowerInfo.prototype['mcc'] = undefined;
95
+ DeviceTowerInfo.prototype["mcc"] = undefined;
96
96
 
97
97
  /**
98
98
  * @member {Number} mnc
99
99
  */
100
- DeviceTowerInfo.prototype['mnc'] = undefined;
100
+ DeviceTowerInfo.prototype["mnc"] = undefined;
101
101
 
102
102
  /**
103
103
  * @member {Number} lac
104
104
  */
105
- DeviceTowerInfo.prototype['lac'] = undefined;
105
+ DeviceTowerInfo.prototype["lac"] = undefined;
106
106
 
107
107
  /**
108
108
  * @member {Number} cell_id
109
109
  */
110
- DeviceTowerInfo.prototype['cell_id'] = undefined;
110
+ DeviceTowerInfo.prototype["cell_id"] = undefined;
111
111
  var _default = exports["default"] = DeviceTowerInfo;
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
18
  * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The DeviceUsage model module.
28
28
  * @module model/DeviceUsage
29
- * @version 1.0.35-beta.3
29
+ * @version 1.0.35
30
30
  */
31
31
  var DeviceUsage = /*#__PURE__*/function () {
32
32
  /**
@@ -59,35 +59,35 @@ var DeviceUsage = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new DeviceUsage();
62
- if (data.hasOwnProperty('since')) {
63
- obj['since'] = _ApiClient["default"].convertToType(data['since'], 'Number');
62
+ if (data.hasOwnProperty("since")) {
63
+ obj["since"] = _ApiClient["default"].convertToType(data["since"], "Number");
64
64
  }
65
- if (data.hasOwnProperty('duration')) {
66
- obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'Number');
65
+ if (data.hasOwnProperty("duration")) {
66
+ obj["duration"] = _ApiClient["default"].convertToType(data["duration"], "Number");
67
67
  }
68
- if (data.hasOwnProperty('bytes_rcvd')) {
69
- obj['bytes_rcvd'] = _ApiClient["default"].convertToType(data['bytes_rcvd'], 'Number');
68
+ if (data.hasOwnProperty("bytes_rcvd")) {
69
+ obj["bytes_rcvd"] = _ApiClient["default"].convertToType(data["bytes_rcvd"], "Number");
70
70
  }
71
- if (data.hasOwnProperty('bytes_sent')) {
72
- obj['bytes_sent'] = _ApiClient["default"].convertToType(data['bytes_sent'], 'Number');
71
+ if (data.hasOwnProperty("bytes_sent")) {
72
+ obj["bytes_sent"] = _ApiClient["default"].convertToType(data["bytes_sent"], "Number");
73
73
  }
74
- if (data.hasOwnProperty('bytes_rcvd_secondary')) {
75
- obj['bytes_rcvd_secondary'] = _ApiClient["default"].convertToType(data['bytes_rcvd_secondary'], 'Number');
74
+ if (data.hasOwnProperty("bytes_rcvd_secondary")) {
75
+ obj["bytes_rcvd_secondary"] = _ApiClient["default"].convertToType(data["bytes_rcvd_secondary"], "Number");
76
76
  }
77
- if (data.hasOwnProperty('bytes_sent_secondary')) {
78
- obj['bytes_sent_secondary'] = _ApiClient["default"].convertToType(data['bytes_sent_secondary'], 'Number');
77
+ if (data.hasOwnProperty("bytes_sent_secondary")) {
78
+ obj["bytes_sent_secondary"] = _ApiClient["default"].convertToType(data["bytes_sent_secondary"], "Number");
79
79
  }
80
- if (data.hasOwnProperty('sessions_tcp')) {
81
- obj['sessions_tcp'] = _ApiClient["default"].convertToType(data['sessions_tcp'], 'Number');
80
+ if (data.hasOwnProperty("sessions_tcp")) {
81
+ obj["sessions_tcp"] = _ApiClient["default"].convertToType(data["sessions_tcp"], "Number");
82
82
  }
83
- if (data.hasOwnProperty('sessions_tls')) {
84
- obj['sessions_tls'] = _ApiClient["default"].convertToType(data['sessions_tls'], 'Number');
83
+ if (data.hasOwnProperty("sessions_tls")) {
84
+ obj["sessions_tls"] = _ApiClient["default"].convertToType(data["sessions_tls"], "Number");
85
85
  }
86
- if (data.hasOwnProperty('notes_rcvd')) {
87
- obj['notes_rcvd'] = _ApiClient["default"].convertToType(data['notes_rcvd'], 'Number');
86
+ if (data.hasOwnProperty("notes_rcvd")) {
87
+ obj["notes_rcvd"] = _ApiClient["default"].convertToType(data["notes_rcvd"], "Number");
88
88
  }
89
- if (data.hasOwnProperty('notes_sent')) {
90
- obj['notes_sent'] = _ApiClient["default"].convertToType(data['notes_sent'], 'Number');
89
+ if (data.hasOwnProperty("notes_sent")) {
90
+ obj["notes_sent"] = _ApiClient["default"].convertToType(data["notes_sent"], "Number");
91
91
  }
92
92
  } else if (data === null) {
93
93
  return null;
@@ -111,51 +111,51 @@ var DeviceUsage = /*#__PURE__*/function () {
111
111
  * Unix timestamp
112
112
  * @member {Number} since
113
113
  */
114
- DeviceUsage.prototype['since'] = undefined;
114
+ DeviceUsage.prototype["since"] = undefined;
115
115
 
116
116
  /**
117
117
  * Duration in seconds
118
118
  * @member {Number} duration
119
119
  */
120
- DeviceUsage.prototype['duration'] = undefined;
120
+ DeviceUsage.prototype["duration"] = undefined;
121
121
 
122
122
  /**
123
123
  * @member {Number} bytes_rcvd
124
124
  */
125
- DeviceUsage.prototype['bytes_rcvd'] = undefined;
125
+ DeviceUsage.prototype["bytes_rcvd"] = undefined;
126
126
 
127
127
  /**
128
128
  * @member {Number} bytes_sent
129
129
  */
130
- DeviceUsage.prototype['bytes_sent'] = undefined;
130
+ DeviceUsage.prototype["bytes_sent"] = undefined;
131
131
 
132
132
  /**
133
133
  * @member {Number} bytes_rcvd_secondary
134
134
  */
135
- DeviceUsage.prototype['bytes_rcvd_secondary'] = undefined;
135
+ DeviceUsage.prototype["bytes_rcvd_secondary"] = undefined;
136
136
 
137
137
  /**
138
138
  * @member {Number} bytes_sent_secondary
139
139
  */
140
- DeviceUsage.prototype['bytes_sent_secondary'] = undefined;
140
+ DeviceUsage.prototype["bytes_sent_secondary"] = undefined;
141
141
 
142
142
  /**
143
143
  * @member {Number} sessions_tcp
144
144
  */
145
- DeviceUsage.prototype['sessions_tcp'] = undefined;
145
+ DeviceUsage.prototype["sessions_tcp"] = undefined;
146
146
 
147
147
  /**
148
148
  * @member {Number} sessions_tls
149
149
  */
150
- DeviceUsage.prototype['sessions_tls'] = undefined;
150
+ DeviceUsage.prototype["sessions_tls"] = undefined;
151
151
 
152
152
  /**
153
153
  * @member {Number} notes_rcvd
154
154
  */
155
- DeviceUsage.prototype['notes_rcvd'] = undefined;
155
+ DeviceUsage.prototype["notes_rcvd"] = undefined;
156
156
 
157
157
  /**
158
158
  * @member {Number} notes_sent
159
159
  */
160
- DeviceUsage.prototype['notes_sent'] = undefined;
160
+ DeviceUsage.prototype["notes_sent"] = undefined;
161
161
  var _default = exports["default"] = DeviceUsage;
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
18
  * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The DfuActionRequest model module.
28
28
  * @module model/DfuActionRequest
29
- * @version 1.0.35-beta.3
29
+ * @version 1.0.35
30
30
  */
31
31
  var DfuActionRequest = /*#__PURE__*/function () {
32
32
  /**
@@ -59,8 +59,8 @@ var DfuActionRequest = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new DfuActionRequest();
62
- if (data.hasOwnProperty('filename')) {
63
- obj['filename'] = _ApiClient["default"].convertToType(data['filename'], 'String');
62
+ if (data.hasOwnProperty("filename")) {
63
+ obj["filename"] = _ApiClient["default"].convertToType(data["filename"], "String");
64
64
  }
65
65
  } else if (data === null) {
66
66
  return null;
@@ -77,8 +77,8 @@ var DfuActionRequest = /*#__PURE__*/function () {
77
77
  key: "validateJSON",
78
78
  value: function validateJSON(data) {
79
79
  // ensure the json data is a string
80
- if (data['filename'] && !(typeof data['filename'] === 'string' || data['filename'] instanceof String)) {
81
- throw new Error("Expected the field `filename` to be a primitive type in the JSON string but got " + data['filename']);
80
+ if (data["filename"] && !(typeof data["filename"] === "string" || data["filename"] instanceof String)) {
81
+ throw new Error("Expected the field `filename` to be a primitive type in the JSON string but got " + data["filename"]);
82
82
  }
83
83
  return true;
84
84
  }
@@ -88,5 +88,5 @@ var DfuActionRequest = /*#__PURE__*/function () {
88
88
  * The name of the firmware file
89
89
  * @member {String} filename
90
90
  */
91
- DfuActionRequest.prototype['filename'] = undefined;
91
+ DfuActionRequest.prototype["filename"] = undefined;
92
92
  var _default = exports["default"] = DfuActionRequest;
@@ -13,7 +13,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
14
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
15
  * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
16
+ * The OpenAPI definition for the Notehub.io API.
17
17
  *
18
18
  * The version of the OpenAPI document: 1.2.0
19
19
  * Contact: engineering@blues.io
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The EmailNotification model module.
28
28
  * @module model/EmailNotification
29
- * @version 1.0.35-beta.3
29
+ * @version 1.0.35
30
30
  */
31
31
  var EmailNotification = /*#__PURE__*/function () {
32
32
  /**
@@ -59,8 +59,8 @@ var EmailNotification = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new EmailNotification();
62
- if (data.hasOwnProperty('email')) {
63
- obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
62
+ if (data.hasOwnProperty("email")) {
63
+ obj["email"] = _ApiClient["default"].convertToType(data["email"], "String");
64
64
  }
65
65
  } else if (data === null) {
66
66
  return null;
@@ -77,8 +77,8 @@ var EmailNotification = /*#__PURE__*/function () {
77
77
  key: "validateJSON",
78
78
  value: function validateJSON(data) {
79
79
  // ensure the json data is a string
80
- if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
81
- throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
80
+ if (data["email"] && !(typeof data["email"] === "string" || data["email"] instanceof String)) {
81
+ throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data["email"]);
82
82
  }
83
83
  return true;
84
84
  }
@@ -88,5 +88,5 @@ var EmailNotification = /*#__PURE__*/function () {
88
88
  * Email Address
89
89
  * @member {String} email
90
90
  */
91
- EmailNotification.prototype['email'] = undefined;
91
+ EmailNotification.prototype["email"] = undefined;
92
92
  var _default = exports["default"] = EmailNotification;
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API.
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
21
  * The version of the OpenAPI document: 1.2.0
22
22
  * Contact: engineering@blues.io
@@ -29,13 +29,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The EnvironmentVariables model module.
31
31
  * @module model/EnvironmentVariables
32
- * @version 1.0.35-beta.3
32
+ * @version 1.0.35
33
33
  */
34
34
  var EnvironmentVariables = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>EnvironmentVariables</code>.
37
37
  * @alias module:model/EnvironmentVariables
38
- * @param environmentVariables {Object.<String, String>}
38
+ * @param environmentVariables {Object.<String, String>}
39
39
  */
40
40
  function EnvironmentVariables(environmentVariables) {
41
41
  _classCallCheck(this, EnvironmentVariables);
@@ -50,7 +50,7 @@ var EnvironmentVariables = /*#__PURE__*/function () {
50
50
  return _createClass(EnvironmentVariables, null, [{
51
51
  key: "initialize",
52
52
  value: function initialize(obj, environmentVariables) {
53
- obj['environment_variables'] = environmentVariables;
53
+ obj["environment_variables"] = environmentVariables;
54
54
  }
55
55
 
56
56
  /**
@@ -65,9 +65,9 @@ var EnvironmentVariables = /*#__PURE__*/function () {
65
65
  value: function constructFromObject(data, obj) {
66
66
  if (data) {
67
67
  obj = obj || new EnvironmentVariables();
68
- if (data.hasOwnProperty('environment_variables')) {
69
- obj['environment_variables'] = _ApiClient["default"].convertToType(data['environment_variables'], {
70
- 'String': 'String'
68
+ if (data.hasOwnProperty("environment_variables")) {
69
+ obj["environment_variables"] = _ApiClient["default"].convertToType(data["environment_variables"], {
70
+ String: "String"
71
71
  });
72
72
  }
73
73
  } else if (data === null) {
@@ -108,5 +108,5 @@ EnvironmentVariables.RequiredProperties = ["environment_variables"];
108
108
  /**
109
109
  * @member {Object.<String, String>} environment_variables
110
110
  */
111
- EnvironmentVariables.prototype['environment_variables'] = undefined;
111
+ EnvironmentVariables.prototype["environment_variables"] = undefined;
112
112
  var _default = exports["default"] = EnvironmentVariables;
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
17
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
18
  * Notehub API
19
- * The OpenAPI definition for the Notehub.io API.
19
+ * The OpenAPI definition for the Notehub.io API.
20
20
  *
21
21
  * The version of the OpenAPI document: 1.2.0
22
22
  * Contact: engineering@blues.io
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The Error model module.
31
31
  * @module model/Error
32
- * @version 1.0.35-beta.3
32
+ * @version 1.0.35
33
33
  */
34
34
  var Error = /*#__PURE__*/function () {
35
35
  /**
@@ -52,9 +52,9 @@ var Error = /*#__PURE__*/function () {
52
52
  return _createClass(Error, null, [{
53
53
  key: "initialize",
54
54
  value: function initialize(obj, err, code, status) {
55
- obj['err'] = err;
56
- obj['code'] = code;
57
- obj['status'] = status;
55
+ obj["err"] = err;
56
+ obj["code"] = code;
57
+ obj["status"] = status;
58
58
  }
59
59
 
60
60
  /**
@@ -69,23 +69,23 @@ var Error = /*#__PURE__*/function () {
69
69
  value: function constructFromObject(data, obj) {
70
70
  if (data) {
71
71
  obj = obj || new Error();
72
- if (data.hasOwnProperty('err')) {
73
- obj['err'] = _ApiClient["default"].convertToType(data['err'], 'String');
72
+ if (data.hasOwnProperty("err")) {
73
+ obj["err"] = _ApiClient["default"].convertToType(data["err"], "String");
74
74
  }
75
- if (data.hasOwnProperty('code')) {
76
- obj['code'] = _ApiClient["default"].convertToType(data['code'], 'Number');
75
+ if (data.hasOwnProperty("code")) {
76
+ obj["code"] = _ApiClient["default"].convertToType(data["code"], "Number");
77
77
  }
78
- if (data.hasOwnProperty('status')) {
79
- obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
78
+ if (data.hasOwnProperty("status")) {
79
+ obj["status"] = _ApiClient["default"].convertToType(data["status"], "String");
80
80
  }
81
- if (data.hasOwnProperty('request')) {
82
- obj['request'] = _ApiClient["default"].convertToType(data['request'], 'String');
81
+ if (data.hasOwnProperty("request")) {
82
+ obj["request"] = _ApiClient["default"].convertToType(data["request"], "String");
83
83
  }
84
- if (data.hasOwnProperty('details')) {
85
- obj['details'] = _ApiClient["default"].convertToType(data['details'], Object);
84
+ if (data.hasOwnProperty("details")) {
85
+ obj["details"] = _ApiClient["default"].convertToType(data["details"], Object);
86
86
  }
87
- if (data.hasOwnProperty('debug')) {
88
- obj['debug'] = _ApiClient["default"].convertToType(data['debug'], 'String');
87
+ if (data.hasOwnProperty("debug")) {
88
+ obj["debug"] = _ApiClient["default"].convertToType(data["debug"], "String");
89
89
  }
90
90
  } else if (data === null) {
91
91
  return null;
@@ -117,20 +117,20 @@ var Error = /*#__PURE__*/function () {
117
117
  } finally {
118
118
  _iterator.f();
119
119
  }
120
- if (data['err'] && !(typeof data['err'] === 'string' || data['err'] instanceof String)) {
121
- throw new Error("Expected the field `err` to be a primitive type in the JSON string but got " + data['err']);
120
+ if (data["err"] && !(typeof data["err"] === "string" || data["err"] instanceof String)) {
121
+ throw new Error("Expected the field `err` to be a primitive type in the JSON string but got " + data["err"]);
122
122
  }
123
123
  // ensure the json data is a string
124
- if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
125
- throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
124
+ if (data["status"] && !(typeof data["status"] === "string" || data["status"] instanceof String)) {
125
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data["status"]);
126
126
  }
127
127
  // ensure the json data is a string
128
- if (data['request'] && !(typeof data['request'] === 'string' || data['request'] instanceof String)) {
129
- throw new Error("Expected the field `request` to be a primitive type in the JSON string but got " + data['request']);
128
+ if (data["request"] && !(typeof data["request"] === "string" || data["request"] instanceof String)) {
129
+ throw new Error("Expected the field `request` to be a primitive type in the JSON string but got " + data["request"]);
130
130
  }
131
131
  // ensure the json data is a string
132
- if (data['debug'] && !(typeof data['debug'] === 'string' || data['debug'] instanceof String)) {
133
- throw new Error("Expected the field `debug` to be a primitive type in the JSON string but got " + data['debug']);
132
+ if (data["debug"] && !(typeof data["debug"] === "string" || data["debug"] instanceof String)) {
133
+ throw new Error("Expected the field `debug` to be a primitive type in the JSON string but got " + data["debug"]);
134
134
  }
135
135
  return true;
136
136
  }
@@ -142,32 +142,32 @@ Error.RequiredProperties = ["err", "code", "status"];
142
142
  * Human readable error message.
143
143
  * @member {String} err
144
144
  */
145
- Error.prototype['err'] = undefined;
145
+ Error.prototype["err"] = undefined;
146
146
 
147
147
  /**
148
148
  * The HTTP error code associated with the error.
149
149
  * @member {Number} code
150
150
  */
151
- Error.prototype['code'] = undefined;
151
+ Error.prototype["code"] = undefined;
152
152
 
153
153
  /**
154
154
  * Machine readable representation of the HTTP error code.
155
155
  * @member {String} status
156
156
  */
157
- Error.prototype['status'] = undefined;
157
+ Error.prototype["status"] = undefined;
158
158
 
159
159
  /**
160
160
  * @member {String} request
161
161
  */
162
- Error.prototype['request'] = undefined;
162
+ Error.prototype["request"] = undefined;
163
163
 
164
164
  /**
165
165
  * @member {Object} details
166
166
  */
167
- Error.prototype['details'] = undefined;
167
+ Error.prototype["details"] = undefined;
168
168
 
169
169
  /**
170
170
  * @member {String} debug
171
171
  */
172
- Error.prototype['debug'] = undefined;
172
+ Error.prototype["debug"] = undefined;
173
173
  var _default = exports["default"] = Error;