@blues-inc/notehub-js 1.0.10 → 1.0.11

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 (82) hide show
  1. package/README.md +181 -178
  2. package/dist/ApiClient.js +157 -154
  3. package/dist/api/AuthorizationApi.js +63 -18
  4. package/dist/api/BillingAccountApi.js +15 -15
  5. package/dist/api/DeviceApi.js +159 -159
  6. package/dist/api/DevicesApi.js +58 -58
  7. package/dist/api/EnvironmentVariablesApi.js +110 -110
  8. package/dist/api/EventApi.js +94 -94
  9. package/dist/api/FilesApi.js +42 -42
  10. package/dist/api/FleetApi.js +160 -160
  11. package/dist/api/NotesApi.js +105 -105
  12. package/dist/api/ProductApi.js +29 -29
  13. package/dist/api/ProjectApi.js +139 -139
  14. package/dist/api/RouteApi.js +51 -51
  15. package/dist/index.js +7 -0
  16. package/dist/model/Aws.js +64 -64
  17. package/dist/model/Azure.js +42 -42
  18. package/dist/model/BillingAccount.js +20 -20
  19. package/dist/model/Body.js +4 -4
  20. package/dist/model/Contact.js +21 -21
  21. package/dist/model/CreateFleetRequest.js +6 -6
  22. package/dist/model/CreateProductRequest.js +21 -21
  23. package/dist/model/CreateProjectRequest.js +13 -13
  24. package/dist/model/DFUEnv.js +11 -11
  25. package/dist/model/DFUState.js +64 -64
  26. package/dist/model/DeleteDeviceFleetsRequest.js +7 -7
  27. package/dist/model/Device.js +82 -82
  28. package/dist/model/DeviceSession.js +181 -181
  29. package/dist/model/DeviceTowerInfo.js +13 -13
  30. package/dist/model/DeviceUsage.js +31 -31
  31. package/dist/model/EnvironmentVariables.js +7 -7
  32. package/dist/model/Error.js +30 -30
  33. package/dist/model/Event.js +222 -222
  34. package/dist/model/Fleet.js +20 -20
  35. package/dist/model/GenerateAuthToken200Response.js +114 -0
  36. package/dist/model/GetBillingAccounts200Response.js +8 -9
  37. package/dist/model/GetDeviceEnvironmentVariables200Response.js +11 -11
  38. package/dist/model/GetDeviceHealthLog200Response.js +10 -11
  39. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +18 -18
  40. package/dist/model/GetDeviceLatest200Response.js +8 -9
  41. package/dist/model/GetDevicePublicKey200Response.js +15 -15
  42. package/dist/model/GetDeviceSessions200Response.js +15 -16
  43. package/dist/model/GetProjectDevicePublicKeys200Response.js +15 -16
  44. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +11 -11
  45. package/dist/model/GetProjectDevices200Response.js +15 -16
  46. package/dist/model/GetProjectEvents200Response.js +20 -21
  47. package/dist/model/GetProjectEventsByCursor200Response.js +22 -23
  48. package/dist/model/GetProjectFleets200Response.js +10 -11
  49. package/dist/model/GetProjectMembers200Response.js +10 -11
  50. package/dist/model/GetProjectProducts200Response.js +8 -9
  51. package/dist/model/GetProjects200Response.js +8 -9
  52. package/dist/model/Google.js +27 -27
  53. package/dist/model/HandleNoteChanges200Response.js +10 -10
  54. package/dist/model/HandleNoteGet200Response.js +12 -12
  55. package/dist/model/HandleNoteSignal200Response.js +4 -4
  56. package/dist/model/HandleNotefileChanges200Response.js +10 -10
  57. package/dist/model/HandleNotefileChangesPending200Response.js +13 -13
  58. package/dist/model/HandleNotefileDeleteRequest.js +6 -6
  59. package/dist/model/Http.js +34 -34
  60. package/dist/model/HttpFilter.js +18 -18
  61. package/dist/model/HttpTransform.js +19 -19
  62. package/dist/model/Location.js +39 -39
  63. package/dist/model/Login200Response.js +6 -6
  64. package/dist/model/LoginRequest.js +11 -11
  65. package/dist/model/Mqtt.js +65 -65
  66. package/dist/model/Note.js +9 -9
  67. package/dist/model/Product.js +25 -25
  68. package/dist/model/Project.js +33 -33
  69. package/dist/model/ProjectMember.js +21 -21
  70. package/dist/model/Proxy.js +23 -23
  71. package/dist/model/PutDeviceFleetsRequest.js +7 -7
  72. package/dist/model/Radresponder.js +24 -24
  73. package/dist/model/Route.js +35 -35
  74. package/dist/model/RouteSchema.js +39 -38
  75. package/dist/model/Snowflake.js +44 -44
  76. package/dist/model/SnowflakeTransform.js +11 -11
  77. package/dist/model/Thingworx.js +32 -32
  78. package/dist/model/TowerLocation.js +51 -51
  79. package/dist/model/Twilio.js +42 -42
  80. package/dist/model/UpdateFleetRequest.js +16 -16
  81. package/dist/model/UserDbRoute.js +24 -24
  82. package/package.json +3 -3
@@ -19,14 +19,14 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetDeviceSessions200Response model module.
21
21
  * @module model/GetDeviceSessions200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetDeviceSessions200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetDeviceSessions200Response</code>.
27
27
  * @alias module:model/GetDeviceSessions200Response
28
- * @param sessions {Array.<module:model/DeviceSession>}
29
- * @param hasMore {Boolean}
28
+ * @param sessions {Array.<module:model/DeviceSession>}
29
+ * @param hasMore {Boolean}
30
30
  */
31
31
  function GetDeviceSessions200Response(sessions, hasMore) {
32
32
  _classCallCheck(this, GetDeviceSessions200Response);
@@ -41,8 +41,8 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
41
41
  _createClass(GetDeviceSessions200Response, null, [{
42
42
  key: "initialize",
43
43
  value: function initialize(obj, sessions, hasMore) {
44
- obj['sessions'] = sessions;
45
- obj['has_more'] = hasMore;
44
+ obj["sessions"] = sessions;
45
+ obj["has_more"] = hasMore;
46
46
  }
47
47
 
48
48
  /**
@@ -57,11 +57,11 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
57
57
  value: function constructFromObject(data, obj) {
58
58
  if (data) {
59
59
  obj = obj || new GetDeviceSessions200Response();
60
- if (data.hasOwnProperty('sessions')) {
61
- obj['sessions'] = _ApiClient["default"].convertToType(data['sessions'], [_DeviceSession["default"]]);
60
+ if (data.hasOwnProperty("sessions")) {
61
+ obj["sessions"] = _ApiClient["default"].convertToType(data["sessions"], [_DeviceSession["default"]]);
62
62
  }
63
- if (data.hasOwnProperty('has_more')) {
64
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
63
+ if (data.hasOwnProperty("has_more")) {
64
+ obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
65
65
  }
66
66
  } else if (data === null) {
67
67
  return null;
@@ -92,14 +92,14 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
92
92
  } finally {
93
93
  _iterator.f();
94
94
  }
95
- if (data['sessions']) {
95
+ if (data["sessions"]) {
96
96
  // data not null
97
97
  // ensure the json data is an array
98
- if (!Array.isArray(data['sessions'])) {
99
- throw new Error("Expected the field `sessions` to be an array in the JSON data but got " + data['sessions']);
98
+ if (!Array.isArray(data["sessions"])) {
99
+ throw new Error("Expected the field `sessions` to be an array in the JSON data but got " + data["sessions"]);
100
100
  }
101
101
  // validate the optional field `sessions` (array)
102
- var _iterator2 = _createForOfIteratorHelper(data['sessions']),
102
+ var _iterator2 = _createForOfIteratorHelper(data["sessions"]),
103
103
  _step2;
104
104
  try {
105
105
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -111,7 +111,6 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
111
111
  } finally {
112
112
  _iterator2.f();
113
113
  }
114
- ;
115
114
  }
116
115
  return true;
117
116
  }
@@ -123,11 +122,11 @@ GetDeviceSessions200Response.RequiredProperties = ["sessions", "has_more"];
123
122
  /**
124
123
  * @member {Array.<module:model/DeviceSession>} sessions
125
124
  */
126
- GetDeviceSessions200Response.prototype['sessions'] = undefined;
125
+ GetDeviceSessions200Response.prototype["sessions"] = undefined;
127
126
 
128
127
  /**
129
128
  * @member {Boolean} has_more
130
129
  */
131
- GetDeviceSessions200Response.prototype['has_more'] = undefined;
130
+ GetDeviceSessions200Response.prototype["has_more"] = undefined;
132
131
  var _default = GetDeviceSessions200Response;
133
132
  exports["default"] = _default;
@@ -19,14 +19,14 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetProjectDevicePublicKeys200Response model module.
21
21
  * @module model/GetProjectDevicePublicKeys200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetProjectDevicePublicKeys200Response</code>.
27
27
  * @alias module:model/GetProjectDevicePublicKeys200Response
28
- * @param devicePublicKeys {Array.<module:model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner>}
29
- * @param hasMore {Boolean}
28
+ * @param devicePublicKeys {Array.<module:model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner>}
29
+ * @param hasMore {Boolean}
30
30
  */
31
31
  function GetProjectDevicePublicKeys200Response(devicePublicKeys, hasMore) {
32
32
  _classCallCheck(this, GetProjectDevicePublicKeys200Response);
@@ -41,8 +41,8 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
41
41
  _createClass(GetProjectDevicePublicKeys200Response, null, [{
42
42
  key: "initialize",
43
43
  value: function initialize(obj, devicePublicKeys, hasMore) {
44
- obj['device_public_keys'] = devicePublicKeys;
45
- obj['has_more'] = hasMore;
44
+ obj["device_public_keys"] = devicePublicKeys;
45
+ obj["has_more"] = hasMore;
46
46
  }
47
47
 
48
48
  /**
@@ -57,11 +57,11 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
57
57
  value: function constructFromObject(data, obj) {
58
58
  if (data) {
59
59
  obj = obj || new GetProjectDevicePublicKeys200Response();
60
- if (data.hasOwnProperty('device_public_keys')) {
61
- obj['device_public_keys'] = _ApiClient["default"].convertToType(data['device_public_keys'], [_GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner["default"]]);
60
+ if (data.hasOwnProperty("device_public_keys")) {
61
+ obj["device_public_keys"] = _ApiClient["default"].convertToType(data["device_public_keys"], [_GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner["default"]]);
62
62
  }
63
- if (data.hasOwnProperty('has_more')) {
64
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
63
+ if (data.hasOwnProperty("has_more")) {
64
+ obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
65
65
  }
66
66
  } else if (data === null) {
67
67
  return null;
@@ -92,14 +92,14 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
92
92
  } finally {
93
93
  _iterator.f();
94
94
  }
95
- if (data['device_public_keys']) {
95
+ if (data["device_public_keys"]) {
96
96
  // data not null
97
97
  // ensure the json data is an array
98
- if (!Array.isArray(data['device_public_keys'])) {
99
- throw new Error("Expected the field `device_public_keys` to be an array in the JSON data but got " + data['device_public_keys']);
98
+ if (!Array.isArray(data["device_public_keys"])) {
99
+ throw new Error("Expected the field `device_public_keys` to be an array in the JSON data but got " + data["device_public_keys"]);
100
100
  }
101
101
  // validate the optional field `device_public_keys` (array)
102
- var _iterator2 = _createForOfIteratorHelper(data['device_public_keys']),
102
+ var _iterator2 = _createForOfIteratorHelper(data["device_public_keys"]),
103
103
  _step2;
104
104
  try {
105
105
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -111,7 +111,6 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
111
111
  } finally {
112
112
  _iterator2.f();
113
113
  }
114
- ;
115
114
  }
116
115
  return true;
117
116
  }
@@ -123,11 +122,11 @@ GetProjectDevicePublicKeys200Response.RequiredProperties = ["device_public_keys"
123
122
  /**
124
123
  * @member {Array.<module:model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner>} device_public_keys
125
124
  */
126
- GetProjectDevicePublicKeys200Response.prototype['device_public_keys'] = undefined;
125
+ GetProjectDevicePublicKeys200Response.prototype["device_public_keys"] = undefined;
127
126
 
128
127
  /**
129
128
  * @member {Boolean} has_more
130
129
  */
131
- GetProjectDevicePublicKeys200Response.prototype['has_more'] = undefined;
130
+ GetProjectDevicePublicKeys200Response.prototype["has_more"] = undefined;
132
131
  var _default = GetProjectDevicePublicKeys200Response;
133
132
  exports["default"] = _default;
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module.
17
17
  * @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner
18
- * @version 1.0.10
18
+ * @version 1.0.11
19
19
  */
20
20
  var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/function () {
21
21
  /**
@@ -48,11 +48,11 @@ var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/fu
48
48
  value: function constructFromObject(data, obj) {
49
49
  if (data) {
50
50
  obj = obj || new GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner();
51
- if (data.hasOwnProperty('uid')) {
52
- obj['uid'] = _ApiClient["default"].convertToType(data['uid'], 'String');
51
+ if (data.hasOwnProperty("uid")) {
52
+ obj["uid"] = _ApiClient["default"].convertToType(data["uid"], "String");
53
53
  }
54
- if (data.hasOwnProperty('key')) {
55
- obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
54
+ if (data.hasOwnProperty("key")) {
55
+ obj["key"] = _ApiClient["default"].convertToType(data["key"], "String");
56
56
  }
57
57
  } else if (data === null) {
58
58
  return null;
@@ -69,12 +69,12 @@ var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/fu
69
69
  key: "validateJSON",
70
70
  value: function validateJSON(data) {
71
71
  // ensure the json data is a string
72
- if (data['uid'] && !(typeof data['uid'] === 'string' || data['uid'] instanceof String)) {
73
- throw new Error("Expected the field `uid` to be a primitive type in the JSON string but got " + data['uid']);
72
+ if (data["uid"] && !(typeof data["uid"] === "string" || data["uid"] instanceof String)) {
73
+ throw new Error("Expected the field `uid` to be a primitive type in the JSON string but got " + data["uid"]);
74
74
  }
75
75
  // ensure the json data is a string
76
- if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
77
- throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
76
+ if (data["key"] && !(typeof data["key"] === "string" || data["key"] instanceof String)) {
77
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data["key"]);
78
78
  }
79
79
  return true;
80
80
  }
@@ -84,11 +84,11 @@ var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/fu
84
84
  /**
85
85
  * @member {String} uid
86
86
  */
87
- GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype['uid'] = undefined;
87
+ GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype["uid"] = undefined;
88
88
 
89
89
  /**
90
90
  * @member {String} key
91
91
  */
92
- GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype['key'] = undefined;
92
+ GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype["key"] = undefined;
93
93
  var _default = GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner;
94
94
  exports["default"] = _default;
@@ -19,14 +19,14 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetProjectDevices200Response model module.
21
21
  * @module model/GetProjectDevices200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetProjectDevices200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetProjectDevices200Response</code>.
27
27
  * @alias module:model/GetProjectDevices200Response
28
- * @param devices {Array.<module:model/Device>}
29
- * @param hasMore {Boolean}
28
+ * @param devices {Array.<module:model/Device>}
29
+ * @param hasMore {Boolean}
30
30
  */
31
31
  function GetProjectDevices200Response(devices, hasMore) {
32
32
  _classCallCheck(this, GetProjectDevices200Response);
@@ -41,8 +41,8 @@ var GetProjectDevices200Response = /*#__PURE__*/function () {
41
41
  _createClass(GetProjectDevices200Response, null, [{
42
42
  key: "initialize",
43
43
  value: function initialize(obj, devices, hasMore) {
44
- obj['devices'] = devices;
45
- obj['has_more'] = hasMore;
44
+ obj["devices"] = devices;
45
+ obj["has_more"] = hasMore;
46
46
  }
47
47
 
48
48
  /**
@@ -57,11 +57,11 @@ var GetProjectDevices200Response = /*#__PURE__*/function () {
57
57
  value: function constructFromObject(data, obj) {
58
58
  if (data) {
59
59
  obj = obj || new GetProjectDevices200Response();
60
- if (data.hasOwnProperty('devices')) {
61
- obj['devices'] = _ApiClient["default"].convertToType(data['devices'], [_Device["default"]]);
60
+ if (data.hasOwnProperty("devices")) {
61
+ obj["devices"] = _ApiClient["default"].convertToType(data["devices"], [_Device["default"]]);
62
62
  }
63
- if (data.hasOwnProperty('has_more')) {
64
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
63
+ if (data.hasOwnProperty("has_more")) {
64
+ obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
65
65
  }
66
66
  } else if (data === null) {
67
67
  return null;
@@ -92,14 +92,14 @@ var GetProjectDevices200Response = /*#__PURE__*/function () {
92
92
  } finally {
93
93
  _iterator.f();
94
94
  }
95
- if (data['devices']) {
95
+ if (data["devices"]) {
96
96
  // data not null
97
97
  // ensure the json data is an array
98
- if (!Array.isArray(data['devices'])) {
99
- throw new Error("Expected the field `devices` to be an array in the JSON data but got " + data['devices']);
98
+ if (!Array.isArray(data["devices"])) {
99
+ throw new Error("Expected the field `devices` to be an array in the JSON data but got " + data["devices"]);
100
100
  }
101
101
  // validate the optional field `devices` (array)
102
- var _iterator2 = _createForOfIteratorHelper(data['devices']),
102
+ var _iterator2 = _createForOfIteratorHelper(data["devices"]),
103
103
  _step2;
104
104
  try {
105
105
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -111,7 +111,6 @@ var GetProjectDevices200Response = /*#__PURE__*/function () {
111
111
  } finally {
112
112
  _iterator2.f();
113
113
  }
114
- ;
115
114
  }
116
115
  return true;
117
116
  }
@@ -123,11 +122,11 @@ GetProjectDevices200Response.RequiredProperties = ["devices", "has_more"];
123
122
  /**
124
123
  * @member {Array.<module:model/Device>} devices
125
124
  */
126
- GetProjectDevices200Response.prototype['devices'] = undefined;
125
+ GetProjectDevices200Response.prototype["devices"] = undefined;
127
126
 
128
127
  /**
129
128
  * @member {Boolean} has_more
130
129
  */
131
- GetProjectDevices200Response.prototype['has_more'] = undefined;
130
+ GetProjectDevices200Response.prototype["has_more"] = undefined;
132
131
  var _default = GetProjectDevices200Response;
133
132
  exports["default"] = _default;
@@ -19,13 +19,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetProjectEvents200Response model module.
21
21
  * @module model/GetProjectEvents200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetProjectEvents200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetProjectEvents200Response</code>.
27
27
  * @alias module:model/GetProjectEvents200Response
28
- * @param events {Array.<module:model/Event>}
28
+ * @param events {Array.<module:model/Event>}
29
29
  * @param through {String} the EventUID of the most recent event displayed
30
30
  * @param hasMore {Boolean} True if there are more events
31
31
  */
@@ -42,9 +42,9 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
42
42
  _createClass(GetProjectEvents200Response, null, [{
43
43
  key: "initialize",
44
44
  value: function initialize(obj, events, through, hasMore) {
45
- obj['events'] = events;
46
- obj['through'] = through;
47
- obj['has_more'] = hasMore;
45
+ obj["events"] = events;
46
+ obj["through"] = through;
47
+ obj["has_more"] = hasMore;
48
48
  }
49
49
 
50
50
  /**
@@ -59,14 +59,14 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new GetProjectEvents200Response();
62
- if (data.hasOwnProperty('events')) {
63
- obj['events'] = _ApiClient["default"].convertToType(data['events'], [_Event["default"]]);
62
+ if (data.hasOwnProperty("events")) {
63
+ obj["events"] = _ApiClient["default"].convertToType(data["events"], [_Event["default"]]);
64
64
  }
65
- if (data.hasOwnProperty('through')) {
66
- obj['through'] = _ApiClient["default"].convertToType(data['through'], 'String');
65
+ if (data.hasOwnProperty("through")) {
66
+ obj["through"] = _ApiClient["default"].convertToType(data["through"], "String");
67
67
  }
68
- if (data.hasOwnProperty('has_more')) {
69
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
68
+ if (data.hasOwnProperty("has_more")) {
69
+ obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
70
70
  }
71
71
  } else if (data === null) {
72
72
  return null;
@@ -97,14 +97,14 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
97
97
  } finally {
98
98
  _iterator.f();
99
99
  }
100
- if (data['events']) {
100
+ if (data["events"]) {
101
101
  // data not null
102
102
  // ensure the json data is an array
103
- if (!Array.isArray(data['events'])) {
104
- throw new Error("Expected the field `events` to be an array in the JSON data but got " + data['events']);
103
+ if (!Array.isArray(data["events"])) {
104
+ throw new Error("Expected the field `events` to be an array in the JSON data but got " + data["events"]);
105
105
  }
106
106
  // validate the optional field `events` (array)
107
- var _iterator2 = _createForOfIteratorHelper(data['events']),
107
+ var _iterator2 = _createForOfIteratorHelper(data["events"]),
108
108
  _step2;
109
109
  try {
110
110
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -116,11 +116,10 @@ var GetProjectEvents200Response = /*#__PURE__*/function () {
116
116
  } finally {
117
117
  _iterator2.f();
118
118
  }
119
- ;
120
119
  }
121
120
  // ensure the json data is a string
122
- if (data['through'] && !(typeof data['through'] === 'string' || data['through'] instanceof String)) {
123
- throw new Error("Expected the field `through` to be a primitive type in the JSON string but got " + data['through']);
121
+ if (data["through"] && !(typeof data["through"] === "string" || data["through"] instanceof String)) {
122
+ throw new Error("Expected the field `through` to be a primitive type in the JSON string but got " + data["through"]);
124
123
  }
125
124
  return true;
126
125
  }
@@ -132,18 +131,18 @@ GetProjectEvents200Response.RequiredProperties = ["events", "through", "has_more
132
131
  /**
133
132
  * @member {Array.<module:model/Event>} events
134
133
  */
135
- GetProjectEvents200Response.prototype['events'] = undefined;
134
+ GetProjectEvents200Response.prototype["events"] = undefined;
136
135
 
137
136
  /**
138
137
  * the EventUID of the most recent event displayed
139
138
  * @member {String} through
140
139
  */
141
- GetProjectEvents200Response.prototype['through'] = undefined;
140
+ GetProjectEvents200Response.prototype["through"] = undefined;
142
141
 
143
142
  /**
144
143
  * True if there are more events
145
144
  * @member {Boolean} has_more
146
145
  */
147
- GetProjectEvents200Response.prototype['has_more'] = undefined;
146
+ GetProjectEvents200Response.prototype["has_more"] = undefined;
148
147
  var _default = GetProjectEvents200Response;
149
148
  exports["default"] = _default;
@@ -19,14 +19,14 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetProjectEventsByCursor200Response model module.
21
21
  * @module model/GetProjectEventsByCursor200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetProjectEventsByCursor200Response</code>.
27
27
  * @alias module:model/GetProjectEventsByCursor200Response
28
- * @param events {Array.<module:model/Event>}
29
- * @param nextCursor {String} The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
28
+ * @param events {Array.<module:model/Event>}
29
+ * @param nextCursor {String} The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
30
30
  * @param hasMore {Boolean} True if there are more events
31
31
  */
32
32
  function GetProjectEventsByCursor200Response(events, nextCursor, hasMore) {
@@ -42,9 +42,9 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
42
42
  _createClass(GetProjectEventsByCursor200Response, null, [{
43
43
  key: "initialize",
44
44
  value: function initialize(obj, events, nextCursor, hasMore) {
45
- obj['events'] = events;
46
- obj['next_cursor'] = nextCursor;
47
- obj['has_more'] = hasMore;
45
+ obj["events"] = events;
46
+ obj["next_cursor"] = nextCursor;
47
+ obj["has_more"] = hasMore;
48
48
  }
49
49
 
50
50
  /**
@@ -59,14 +59,14 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new GetProjectEventsByCursor200Response();
62
- if (data.hasOwnProperty('events')) {
63
- obj['events'] = _ApiClient["default"].convertToType(data['events'], [_Event["default"]]);
62
+ if (data.hasOwnProperty("events")) {
63
+ obj["events"] = _ApiClient["default"].convertToType(data["events"], [_Event["default"]]);
64
64
  }
65
- if (data.hasOwnProperty('next_cursor')) {
66
- obj['next_cursor'] = _ApiClient["default"].convertToType(data['next_cursor'], 'String');
65
+ if (data.hasOwnProperty("next_cursor")) {
66
+ obj["next_cursor"] = _ApiClient["default"].convertToType(data["next_cursor"], "String");
67
67
  }
68
- if (data.hasOwnProperty('has_more')) {
69
- obj['has_more'] = _ApiClient["default"].convertToType(data['has_more'], 'Boolean');
68
+ if (data.hasOwnProperty("has_more")) {
69
+ obj["has_more"] = _ApiClient["default"].convertToType(data["has_more"], "Boolean");
70
70
  }
71
71
  } else if (data === null) {
72
72
  return null;
@@ -97,14 +97,14 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
97
97
  } finally {
98
98
  _iterator.f();
99
99
  }
100
- if (data['events']) {
100
+ if (data["events"]) {
101
101
  // data not null
102
102
  // ensure the json data is an array
103
- if (!Array.isArray(data['events'])) {
104
- throw new Error("Expected the field `events` to be an array in the JSON data but got " + data['events']);
103
+ if (!Array.isArray(data["events"])) {
104
+ throw new Error("Expected the field `events` to be an array in the JSON data but got " + data["events"]);
105
105
  }
106
106
  // validate the optional field `events` (array)
107
- var _iterator2 = _createForOfIteratorHelper(data['events']),
107
+ var _iterator2 = _createForOfIteratorHelper(data["events"]),
108
108
  _step2;
109
109
  try {
110
110
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -116,11 +116,10 @@ var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
116
116
  } finally {
117
117
  _iterator2.f();
118
118
  }
119
- ;
120
119
  }
121
120
  // ensure the json data is a string
122
- if (data['next_cursor'] && !(typeof data['next_cursor'] === 'string' || data['next_cursor'] instanceof String)) {
123
- throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data['next_cursor']);
121
+ if (data["next_cursor"] && !(typeof data["next_cursor"] === "string" || data["next_cursor"] instanceof String)) {
122
+ throw new Error("Expected the field `next_cursor` to be a primitive type in the JSON string but got " + data["next_cursor"]);
124
123
  }
125
124
  return true;
126
125
  }
@@ -132,18 +131,18 @@ GetProjectEventsByCursor200Response.RequiredProperties = ["events", "next_cursor
132
131
  /**
133
132
  * @member {Array.<module:model/Event>} events
134
133
  */
135
- GetProjectEventsByCursor200Response.prototype['events'] = undefined;
134
+ GetProjectEventsByCursor200Response.prototype["events"] = undefined;
136
135
 
137
136
  /**
138
- * The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
137
+ * The cursor value of the next result, which is intended to be used as the \"cursor\" parameter value of the next call to this method. An empty string is returned if there are no more results after this results set.
139
138
  * @member {String} next_cursor
140
139
  */
141
- GetProjectEventsByCursor200Response.prototype['next_cursor'] = undefined;
140
+ GetProjectEventsByCursor200Response.prototype["next_cursor"] = undefined;
142
141
 
143
142
  /**
144
143
  * True if there are more events
145
144
  * @member {Boolean} has_more
146
145
  */
147
- GetProjectEventsByCursor200Response.prototype['has_more'] = undefined;
146
+ GetProjectEventsByCursor200Response.prototype["has_more"] = undefined;
148
147
  var _default = GetProjectEventsByCursor200Response;
149
148
  exports["default"] = _default;
@@ -19,13 +19,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The GetProjectFleets200Response model module.
21
21
  * @module model/GetProjectFleets200Response
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var GetProjectFleets200Response = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>GetProjectFleets200Response</code>.
27
27
  * @alias module:model/GetProjectFleets200Response
28
- * @param fleets {Array.<module:model/Fleet>}
28
+ * @param fleets {Array.<module:model/Fleet>}
29
29
  */
30
30
  function GetProjectFleets200Response(fleets) {
31
31
  _classCallCheck(this, GetProjectFleets200Response);
@@ -40,7 +40,7 @@ var GetProjectFleets200Response = /*#__PURE__*/function () {
40
40
  _createClass(GetProjectFleets200Response, null, [{
41
41
  key: "initialize",
42
42
  value: function initialize(obj, fleets) {
43
- obj['fleets'] = fleets;
43
+ obj["fleets"] = fleets;
44
44
  }
45
45
 
46
46
  /**
@@ -55,8 +55,8 @@ var GetProjectFleets200Response = /*#__PURE__*/function () {
55
55
  value: function constructFromObject(data, obj) {
56
56
  if (data) {
57
57
  obj = obj || new GetProjectFleets200Response();
58
- if (data.hasOwnProperty('fleets')) {
59
- obj['fleets'] = _ApiClient["default"].convertToType(data['fleets'], [_Fleet["default"]]);
58
+ if (data.hasOwnProperty("fleets")) {
59
+ obj["fleets"] = _ApiClient["default"].convertToType(data["fleets"], [_Fleet["default"]]);
60
60
  }
61
61
  } else if (data === null) {
62
62
  return null;
@@ -87,14 +87,14 @@ var GetProjectFleets200Response = /*#__PURE__*/function () {
87
87
  } finally {
88
88
  _iterator.f();
89
89
  }
90
- if (data['fleets']) {
90
+ if (data["fleets"]) {
91
91
  // data not null
92
92
  // ensure the json data is an array
93
- if (!Array.isArray(data['fleets'])) {
94
- throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data['fleets']);
93
+ if (!Array.isArray(data["fleets"])) {
94
+ throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data["fleets"]);
95
95
  }
96
96
  // validate the optional field `fleets` (array)
97
- var _iterator2 = _createForOfIteratorHelper(data['fleets']),
97
+ var _iterator2 = _createForOfIteratorHelper(data["fleets"]),
98
98
  _step2;
99
99
  try {
100
100
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -106,7 +106,6 @@ var GetProjectFleets200Response = /*#__PURE__*/function () {
106
106
  } finally {
107
107
  _iterator2.f();
108
108
  }
109
- ;
110
109
  }
111
110
  return true;
112
111
  }
@@ -118,6 +117,6 @@ GetProjectFleets200Response.RequiredProperties = ["fleets"];
118
117
  /**
119
118
  * @member {Array.<module:model/Fleet>} fleets
120
119
  */
121
- GetProjectFleets200Response.prototype['fleets'] = undefined;
120
+ GetProjectFleets200Response.prototype["fleets"] = undefined;
122
121
  var _default = GetProjectFleets200Response;
123
122
  exports["default"] = _default;