@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
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Azure model module.
19
19
  * @module model/Azure
20
- * @version 1.0.10
20
+ * @version 1.0.11
21
21
  */
22
22
  var Azure = /*#__PURE__*/function () {
23
23
  /**
@@ -51,32 +51,32 @@ var Azure = /*#__PURE__*/function () {
51
51
  value: function constructFromObject(data, obj) {
52
52
  if (data) {
53
53
  obj = obj || new Azure();
54
- if (data.hasOwnProperty('fleets')) {
55
- obj['fleets'] = _ApiClient["default"].convertToType(data['fleets'], ['String']);
54
+ if (data.hasOwnProperty("fleets")) {
55
+ obj["fleets"] = _ApiClient["default"].convertToType(data["fleets"], ["String"]);
56
56
  }
57
- if (data.hasOwnProperty('filter')) {
58
- obj['filter'] = _HttpFilter["default"].constructFromObject(data['filter']);
57
+ if (data.hasOwnProperty("filter")) {
58
+ obj["filter"] = _HttpFilter["default"].constructFromObject(data["filter"]);
59
59
  }
60
- if (data.hasOwnProperty('transform')) {
61
- obj['transform'] = _HttpTransform["default"].constructFromObject(data['transform']);
60
+ if (data.hasOwnProperty("transform")) {
61
+ obj["transform"] = _HttpTransform["default"].constructFromObject(data["transform"]);
62
62
  }
63
- if (data.hasOwnProperty('throttle_ms')) {
64
- obj['throttle_ms'] = _ApiClient["default"].convertToType(data['throttle_ms'], 'Number');
63
+ if (data.hasOwnProperty("throttle_ms")) {
64
+ obj["throttle_ms"] = _ApiClient["default"].convertToType(data["throttle_ms"], "Number");
65
65
  }
66
- if (data.hasOwnProperty('url')) {
67
- obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
66
+ if (data.hasOwnProperty("url")) {
67
+ obj["url"] = _ApiClient["default"].convertToType(data["url"], "String");
68
68
  }
69
- if (data.hasOwnProperty('timeout')) {
70
- obj['timeout'] = _ApiClient["default"].convertToType(data['timeout'], 'Number');
69
+ if (data.hasOwnProperty("timeout")) {
70
+ obj["timeout"] = _ApiClient["default"].convertToType(data["timeout"], "Number");
71
71
  }
72
- if (data.hasOwnProperty('functions_key_secret')) {
73
- obj['functions_key_secret'] = _ApiClient["default"].convertToType(data['functions_key_secret'], 'String');
72
+ if (data.hasOwnProperty("functions_key_secret")) {
73
+ obj["functions_key_secret"] = _ApiClient["default"].convertToType(data["functions_key_secret"], "String");
74
74
  }
75
- if (data.hasOwnProperty('sas_policy_name')) {
76
- obj['sas_policy_name'] = _ApiClient["default"].convertToType(data['sas_policy_name'], 'String');
75
+ if (data.hasOwnProperty("sas_policy_name")) {
76
+ obj["sas_policy_name"] = _ApiClient["default"].convertToType(data["sas_policy_name"], "String");
77
77
  }
78
- if (data.hasOwnProperty('sas_policy_key')) {
79
- obj['sas_policy_key'] = _ApiClient["default"].convertToType(data['sas_policy_key'], 'String');
78
+ if (data.hasOwnProperty("sas_policy_key")) {
79
+ obj["sas_policy_key"] = _ApiClient["default"].convertToType(data["sas_policy_key"], "String");
80
80
  }
81
81
  } else if (data === null) {
82
82
  return null;
@@ -93,34 +93,34 @@ var Azure = /*#__PURE__*/function () {
93
93
  key: "validateJSON",
94
94
  value: function validateJSON(data) {
95
95
  // ensure the json data is an array
96
- if (!Array.isArray(data['fleets'])) {
97
- throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data['fleets']);
96
+ if (!Array.isArray(data["fleets"])) {
97
+ throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data["fleets"]);
98
98
  }
99
99
  // validate the optional field `filter`
100
- if (data['filter']) {
100
+ if (data["filter"]) {
101
101
  // data not null
102
- _HttpFilter["default"].validateJSON(data['filter']);
102
+ _HttpFilter["default"].validateJSON(data["filter"]);
103
103
  }
104
104
  // validate the optional field `transform`
105
- if (data['transform']) {
105
+ if (data["transform"]) {
106
106
  // data not null
107
- _HttpTransform["default"].validateJSON(data['transform']);
107
+ _HttpTransform["default"].validateJSON(data["transform"]);
108
108
  }
109
109
  // ensure the json data is a string
110
- if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
111
- throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
110
+ if (data["url"] && !(typeof data["url"] === "string" || data["url"] instanceof String)) {
111
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data["url"]);
112
112
  }
113
113
  // ensure the json data is a string
114
- if (data['functions_key_secret'] && !(typeof data['functions_key_secret'] === 'string' || data['functions_key_secret'] instanceof String)) {
115
- throw new Error("Expected the field `functions_key_secret` to be a primitive type in the JSON string but got " + data['functions_key_secret']);
114
+ if (data["functions_key_secret"] && !(typeof data["functions_key_secret"] === "string" || data["functions_key_secret"] instanceof String)) {
115
+ throw new Error("Expected the field `functions_key_secret` to be a primitive type in the JSON string but got " + data["functions_key_secret"]);
116
116
  }
117
117
  // ensure the json data is a string
118
- if (data['sas_policy_name'] && !(typeof data['sas_policy_name'] === 'string' || data['sas_policy_name'] instanceof String)) {
119
- throw new Error("Expected the field `sas_policy_name` to be a primitive type in the JSON string but got " + data['sas_policy_name']);
118
+ if (data["sas_policy_name"] && !(typeof data["sas_policy_name"] === "string" || data["sas_policy_name"] instanceof String)) {
119
+ throw new Error("Expected the field `sas_policy_name` to be a primitive type in the JSON string but got " + data["sas_policy_name"]);
120
120
  }
121
121
  // ensure the json data is a string
122
- if (data['sas_policy_key'] && !(typeof data['sas_policy_key'] === 'string' || data['sas_policy_key'] instanceof String)) {
123
- throw new Error("Expected the field `sas_policy_key` to be a primitive type in the JSON string but got " + data['sas_policy_key']);
122
+ if (data["sas_policy_key"] && !(typeof data["sas_policy_key"] === "string" || data["sas_policy_key"] instanceof String)) {
123
+ throw new Error("Expected the field `sas_policy_key` to be a primitive type in the JSON string but got " + data["sas_policy_key"]);
124
124
  }
125
125
  return true;
126
126
  }
@@ -131,50 +131,50 @@ var Azure = /*#__PURE__*/function () {
131
131
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
132
132
  * @member {Array.<String>} fleets
133
133
  */
134
- Azure.prototype['fleets'] = undefined;
134
+ Azure.prototype["fleets"] = undefined;
135
135
 
136
136
  /**
137
137
  * @member {module:model/HttpFilter} filter
138
138
  */
139
- Azure.prototype['filter'] = undefined;
139
+ Azure.prototype["filter"] = undefined;
140
140
 
141
141
  /**
142
142
  * @member {module:model/HttpTransform} transform
143
143
  */
144
- Azure.prototype['transform'] = undefined;
144
+ Azure.prototype["transform"] = undefined;
145
145
 
146
146
  /**
147
147
  * @member {Number} throttle_ms
148
148
  */
149
- Azure.prototype['throttle_ms'] = undefined;
149
+ Azure.prototype["throttle_ms"] = undefined;
150
150
 
151
151
  /**
152
152
  * @member {String} url
153
153
  */
154
- Azure.prototype['url'] = undefined;
154
+ Azure.prototype["url"] = undefined;
155
155
 
156
156
  /**
157
157
  * Timeout in seconds for each request
158
158
  * @member {Number} timeout
159
159
  * @default 15
160
160
  */
161
- Azure.prototype['timeout'] = 15;
161
+ Azure.prototype["timeout"] = 15;
162
162
 
163
163
  /**
164
164
  * This value is input-only and will be omitted from the response and replaced with a placeholder
165
165
  * @member {String} functions_key_secret
166
166
  */
167
- Azure.prototype['functions_key_secret'] = undefined;
167
+ Azure.prototype["functions_key_secret"] = undefined;
168
168
 
169
169
  /**
170
170
  * @member {String} sas_policy_name
171
171
  */
172
- Azure.prototype['sas_policy_name'] = undefined;
172
+ Azure.prototype["sas_policy_name"] = undefined;
173
173
 
174
174
  /**
175
175
  * This value is input-only and will be omitted from the response and replaced with a placeholder
176
176
  * @member {String} sas_policy_key
177
177
  */
178
- Azure.prototype['sas_policy_key'] = undefined;
178
+ Azure.prototype["sas_policy_key"] = undefined;
179
179
  var _default = Azure;
180
180
  exports["default"] = _default;
@@ -19,15 +19,15 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The BillingAccount model module.
21
21
  * @module model/BillingAccount
22
- * @version 1.0.10
22
+ * @version 1.0.11
23
23
  */
24
24
  var BillingAccount = /*#__PURE__*/function () {
25
25
  /**
26
26
  * Constructs a new <code>BillingAccount</code>.
27
27
  * @alias module:model/BillingAccount
28
- * @param uid {String}
29
- * @param name {String}
30
- * @param role {module:model/BillingAccountRole}
28
+ * @param uid {String}
29
+ * @param name {String}
30
+ * @param role {module:model/BillingAccountRole}
31
31
  */
32
32
  function BillingAccount(uid, name, role) {
33
33
  _classCallCheck(this, BillingAccount);
@@ -42,9 +42,9 @@ var BillingAccount = /*#__PURE__*/function () {
42
42
  _createClass(BillingAccount, null, [{
43
43
  key: "initialize",
44
44
  value: function initialize(obj, uid, name, role) {
45
- obj['uid'] = uid;
46
- obj['name'] = name;
47
- obj['role'] = role;
45
+ obj["uid"] = uid;
46
+ obj["name"] = name;
47
+ obj["role"] = role;
48
48
  }
49
49
 
50
50
  /**
@@ -59,14 +59,14 @@ var BillingAccount = /*#__PURE__*/function () {
59
59
  value: function constructFromObject(data, obj) {
60
60
  if (data) {
61
61
  obj = obj || new BillingAccount();
62
- if (data.hasOwnProperty('uid')) {
63
- obj['uid'] = _ApiClient["default"].convertToType(data['uid'], 'String');
62
+ if (data.hasOwnProperty("uid")) {
63
+ obj["uid"] = _ApiClient["default"].convertToType(data["uid"], "String");
64
64
  }
65
- if (data.hasOwnProperty('name')) {
66
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
65
+ if (data.hasOwnProperty("name")) {
66
+ obj["name"] = _ApiClient["default"].convertToType(data["name"], "String");
67
67
  }
68
- if (data.hasOwnProperty('role')) {
69
- obj['role'] = _BillingAccountRole["default"].constructFromObject(data['role']);
68
+ if (data.hasOwnProperty("role")) {
69
+ obj["role"] = _BillingAccountRole["default"].constructFromObject(data["role"]);
70
70
  }
71
71
  } else if (data === null) {
72
72
  return null;
@@ -98,12 +98,12 @@ var BillingAccount = /*#__PURE__*/function () {
98
98
  } finally {
99
99
  _iterator.f();
100
100
  }
101
- if (data['uid'] && !(typeof data['uid'] === 'string' || data['uid'] instanceof String)) {
102
- throw new Error("Expected the field `uid` to be a primitive type in the JSON string but got " + data['uid']);
101
+ if (data["uid"] && !(typeof data["uid"] === "string" || data["uid"] instanceof String)) {
102
+ throw new Error("Expected the field `uid` to be a primitive type in the JSON string but got " + data["uid"]);
103
103
  }
104
104
  // ensure the json data is a string
105
- if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
106
- throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
105
+ if (data["name"] && !(typeof data["name"] === "string" || data["name"] instanceof String)) {
106
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data["name"]);
107
107
  }
108
108
  return true;
109
109
  }
@@ -115,16 +115,16 @@ BillingAccount.RequiredProperties = ["uid", "name", "role"];
115
115
  /**
116
116
  * @member {String} uid
117
117
  */
118
- BillingAccount.prototype['uid'] = undefined;
118
+ BillingAccount.prototype["uid"] = undefined;
119
119
 
120
120
  /**
121
121
  * @member {String} name
122
122
  */
123
- BillingAccount.prototype['name'] = undefined;
123
+ BillingAccount.prototype["name"] = undefined;
124
124
 
125
125
  /**
126
126
  * @member {module:model/BillingAccountRole} role
127
127
  */
128
- BillingAccount.prototype['role'] = undefined;
128
+ BillingAccount.prototype["role"] = undefined;
129
129
  var _default = BillingAccount;
130
130
  exports["default"] = _default;
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Body model module.
17
17
  * @module model/Body
18
- * @version 1.0.10
18
+ * @version 1.0.11
19
19
  */
20
20
  var Body = /*#__PURE__*/function () {
21
21
  /**
@@ -48,8 +48,8 @@ var Body = /*#__PURE__*/function () {
48
48
  value: function constructFromObject(data, obj) {
49
49
  if (data) {
50
50
  obj = obj || new Body();
51
- if (data.hasOwnProperty('body')) {
52
- obj['body'] = _ApiClient["default"].convertToType(data['body'], Object);
51
+ if (data.hasOwnProperty("body")) {
52
+ obj["body"] = _ApiClient["default"].convertToType(data["body"], Object);
53
53
  }
54
54
  } else if (data === null) {
55
55
  return null;
@@ -73,6 +73,6 @@ var Body = /*#__PURE__*/function () {
73
73
  /**
74
74
  * @member {Object} body
75
75
  */
76
- Body.prototype['body'] = undefined;
76
+ Body.prototype["body"] = undefined;
77
77
  var _default = Body;
78
78
  exports["default"] = _default;
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Contact model module.
17
17
  * @module model/Contact
18
- * @version 1.0.10
18
+ * @version 1.0.11
19
19
  */
20
20
  var Contact = /*#__PURE__*/function () {
21
21
  /**
@@ -48,17 +48,17 @@ var Contact = /*#__PURE__*/function () {
48
48
  value: function constructFromObject(data, obj) {
49
49
  if (data) {
50
50
  obj = obj || new Contact();
51
- if (data.hasOwnProperty('name')) {
52
- obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
51
+ if (data.hasOwnProperty("name")) {
52
+ obj["name"] = _ApiClient["default"].convertToType(data["name"], "String");
53
53
  }
54
- if (data.hasOwnProperty('email')) {
55
- obj['email'] = _ApiClient["default"].convertToType(data['email'], 'String');
54
+ if (data.hasOwnProperty("email")) {
55
+ obj["email"] = _ApiClient["default"].convertToType(data["email"], "String");
56
56
  }
57
- if (data.hasOwnProperty('role')) {
58
- obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
57
+ if (data.hasOwnProperty("role")) {
58
+ obj["role"] = _ApiClient["default"].convertToType(data["role"], "String");
59
59
  }
60
- if (data.hasOwnProperty('organization')) {
61
- obj['organization'] = _ApiClient["default"].convertToType(data['organization'], 'String');
60
+ if (data.hasOwnProperty("organization")) {
61
+ obj["organization"] = _ApiClient["default"].convertToType(data["organization"], "String");
62
62
  }
63
63
  } else if (data === null) {
64
64
  return null;
@@ -75,20 +75,20 @@ var Contact = /*#__PURE__*/function () {
75
75
  key: "validateJSON",
76
76
  value: function validateJSON(data) {
77
77
  // ensure the json data is a string
78
- if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
79
- throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
78
+ if (data["name"] && !(typeof data["name"] === "string" || data["name"] instanceof String)) {
79
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data["name"]);
80
80
  }
81
81
  // ensure the json data is a string
82
- if (data['email'] && !(typeof data['email'] === 'string' || data['email'] instanceof String)) {
83
- throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data['email']);
82
+ if (data["email"] && !(typeof data["email"] === "string" || data["email"] instanceof String)) {
83
+ throw new Error("Expected the field `email` to be a primitive type in the JSON string but got " + data["email"]);
84
84
  }
85
85
  // ensure the json data is a string
86
- if (data['role'] && !(typeof data['role'] === 'string' || data['role'] instanceof String)) {
87
- throw new Error("Expected the field `role` to be a primitive type in the JSON string but got " + data['role']);
86
+ if (data["role"] && !(typeof data["role"] === "string" || data["role"] instanceof String)) {
87
+ throw new Error("Expected the field `role` to be a primitive type in the JSON string but got " + data["role"]);
88
88
  }
89
89
  // ensure the json data is a string
90
- if (data['organization'] && !(typeof data['organization'] === 'string' || data['organization'] instanceof String)) {
91
- throw new Error("Expected the field `organization` to be a primitive type in the JSON string but got " + data['organization']);
90
+ if (data["organization"] && !(typeof data["organization"] === "string" || data["organization"] instanceof String)) {
91
+ throw new Error("Expected the field `organization` to be a primitive type in the JSON string but got " + data["organization"]);
92
92
  }
93
93
  return true;
94
94
  }
@@ -98,21 +98,21 @@ var Contact = /*#__PURE__*/function () {
98
98
  /**
99
99
  * @member {String} name
100
100
  */
101
- Contact.prototype['name'] = undefined;
101
+ Contact.prototype["name"] = undefined;
102
102
 
103
103
  /**
104
104
  * @member {String} email
105
105
  */
106
- Contact.prototype['email'] = undefined;
106
+ Contact.prototype["email"] = undefined;
107
107
 
108
108
  /**
109
109
  * @member {String} role
110
110
  */
111
- Contact.prototype['role'] = undefined;
111
+ Contact.prototype["role"] = undefined;
112
112
 
113
113
  /**
114
114
  * @member {String} organization
115
115
  */
116
- Contact.prototype['organization'] = undefined;
116
+ Contact.prototype["organization"] = undefined;
117
117
  var _default = Contact;
118
118
  exports["default"] = _default;
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The CreateFleetRequest model module.
17
17
  * @module model/CreateFleetRequest
18
- * @version 1.0.10
18
+ * @version 1.0.11
19
19
  */
20
20
  var CreateFleetRequest = /*#__PURE__*/function () {
21
21
  /**
@@ -48,8 +48,8 @@ var CreateFleetRequest = /*#__PURE__*/function () {
48
48
  value: function constructFromObject(data, obj) {
49
49
  if (data) {
50
50
  obj = obj || new CreateFleetRequest();
51
- if (data.hasOwnProperty('label')) {
52
- obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
51
+ if (data.hasOwnProperty("label")) {
52
+ obj["label"] = _ApiClient["default"].convertToType(data["label"], "String");
53
53
  }
54
54
  } else if (data === null) {
55
55
  return null;
@@ -66,8 +66,8 @@ var CreateFleetRequest = /*#__PURE__*/function () {
66
66
  key: "validateJSON",
67
67
  value: function validateJSON(data) {
68
68
  // ensure the json data is a string
69
- if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
70
- throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
69
+ if (data["label"] && !(typeof data["label"] === "string" || data["label"] instanceof String)) {
70
+ throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data["label"]);
71
71
  }
72
72
  return true;
73
73
  }
@@ -78,6 +78,6 @@ var CreateFleetRequest = /*#__PURE__*/function () {
78
78
  * The label for the Fleet.
79
79
  * @member {String} label
80
80
  */
81
- CreateFleetRequest.prototype['label'] = undefined;
81
+ CreateFleetRequest.prototype["label"] = undefined;
82
82
  var _default = CreateFleetRequest;
83
83
  exports["default"] = _default;
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProductRequest model module.
20
20
  * @module model/CreateProductRequest
21
- * @version 1.0.10
21
+ * @version 1.0.11
22
22
  */
23
23
  var CreateProductRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -40,8 +40,8 @@ var CreateProductRequest = /*#__PURE__*/function () {
40
40
  _createClass(CreateProductRequest, null, [{
41
41
  key: "initialize",
42
42
  value: function initialize(obj, productUid, label) {
43
- obj['product_uid'] = productUid;
44
- obj['label'] = label;
43
+ obj["product_uid"] = productUid;
44
+ obj["label"] = label;
45
45
  }
46
46
 
47
47
  /**
@@ -56,17 +56,17 @@ var CreateProductRequest = /*#__PURE__*/function () {
56
56
  value: function constructFromObject(data, obj) {
57
57
  if (data) {
58
58
  obj = obj || new CreateProductRequest();
59
- if (data.hasOwnProperty('product_uid')) {
60
- obj['product_uid'] = _ApiClient["default"].convertToType(data['product_uid'], 'String');
59
+ if (data.hasOwnProperty("product_uid")) {
60
+ obj["product_uid"] = _ApiClient["default"].convertToType(data["product_uid"], "String");
61
61
  }
62
- if (data.hasOwnProperty('label')) {
63
- obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
62
+ if (data.hasOwnProperty("label")) {
63
+ obj["label"] = _ApiClient["default"].convertToType(data["label"], "String");
64
64
  }
65
- if (data.hasOwnProperty('auto_provision_fleets')) {
66
- obj['auto_provision_fleets'] = _ApiClient["default"].convertToType(data['auto_provision_fleets'], ['String']);
65
+ if (data.hasOwnProperty("auto_provision_fleets")) {
66
+ obj["auto_provision_fleets"] = _ApiClient["default"].convertToType(data["auto_provision_fleets"], ["String"]);
67
67
  }
68
- if (data.hasOwnProperty('disable_devices_by_default')) {
69
- obj['disable_devices_by_default'] = _ApiClient["default"].convertToType(data['disable_devices_by_default'], 'Boolean');
68
+ if (data.hasOwnProperty("disable_devices_by_default")) {
69
+ obj["disable_devices_by_default"] = _ApiClient["default"].convertToType(data["disable_devices_by_default"], "Boolean");
70
70
  }
71
71
  } else if (data === null) {
72
72
  return null;
@@ -98,16 +98,16 @@ var CreateProductRequest = /*#__PURE__*/function () {
98
98
  } finally {
99
99
  _iterator.f();
100
100
  }
101
- if (data['product_uid'] && !(typeof data['product_uid'] === 'string' || data['product_uid'] instanceof String)) {
102
- throw new Error("Expected the field `product_uid` to be a primitive type in the JSON string but got " + data['product_uid']);
101
+ if (data["product_uid"] && !(typeof data["product_uid"] === "string" || data["product_uid"] instanceof String)) {
102
+ throw new Error("Expected the field `product_uid` to be a primitive type in the JSON string but got " + data["product_uid"]);
103
103
  }
104
104
  // ensure the json data is a string
105
- if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
106
- throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
105
+ if (data["label"] && !(typeof data["label"] === "string" || data["label"] instanceof String)) {
106
+ throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data["label"]);
107
107
  }
108
108
  // ensure the json data is an array
109
- if (!Array.isArray(data['auto_provision_fleets'])) {
110
- throw new Error("Expected the field `auto_provision_fleets` to be an array in the JSON data but got " + data['auto_provision_fleets']);
109
+ if (!Array.isArray(data["auto_provision_fleets"])) {
110
+ throw new Error("Expected the field `auto_provision_fleets` to be an array in the JSON data but got " + data["auto_provision_fleets"]);
111
111
  }
112
112
  return true;
113
113
  }
@@ -120,23 +120,23 @@ CreateProductRequest.RequiredProperties = ["product_uid", "label"];
120
120
  * The requested uid for the Product. Will be prefixed with the user's reversed email.
121
121
  * @member {String} product_uid
122
122
  */
123
- CreateProductRequest.prototype['product_uid'] = undefined;
123
+ CreateProductRequest.prototype["product_uid"] = undefined;
124
124
 
125
125
  /**
126
126
  * The label for the Product.
127
127
  * @member {String} label
128
128
  */
129
- CreateProductRequest.prototype['label'] = undefined;
129
+ CreateProductRequest.prototype["label"] = undefined;
130
130
 
131
131
  /**
132
132
  * @member {Array.<String>} auto_provision_fleets
133
133
  */
134
- CreateProductRequest.prototype['auto_provision_fleets'] = undefined;
134
+ CreateProductRequest.prototype["auto_provision_fleets"] = undefined;
135
135
 
136
136
  /**
137
137
  * If `true`, devices provisioned to this product will be automatically disabled by default.
138
138
  * @member {Boolean} disable_devices_by_default
139
139
  */
140
- CreateProductRequest.prototype['disable_devices_by_default'] = undefined;
140
+ CreateProductRequest.prototype["disable_devices_by_default"] = undefined;
141
141
  var _default = CreateProductRequest;
142
142
  exports["default"] = _default;
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProjectRequest model module.
20
20
  * @module model/CreateProjectRequest
21
- * @version 1.0.10
21
+ * @version 1.0.11
22
22
  */
23
23
  var CreateProjectRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -39,7 +39,7 @@ var CreateProjectRequest = /*#__PURE__*/function () {
39
39
  _createClass(CreateProjectRequest, null, [{
40
40
  key: "initialize",
41
41
  value: function initialize(obj, label) {
42
- obj['label'] = label;
42
+ obj["label"] = label;
43
43
  }
44
44
 
45
45
  /**
@@ -54,11 +54,11 @@ var CreateProjectRequest = /*#__PURE__*/function () {
54
54
  value: function constructFromObject(data, obj) {
55
55
  if (data) {
56
56
  obj = obj || new CreateProjectRequest();
57
- if (data.hasOwnProperty('label')) {
58
- obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
57
+ if (data.hasOwnProperty("label")) {
58
+ obj["label"] = _ApiClient["default"].convertToType(data["label"], "String");
59
59
  }
60
- if (data.hasOwnProperty('billing_account_uid')) {
61
- obj['billing_account_uid'] = _ApiClient["default"].convertToType(data['billing_account_uid'], 'String');
60
+ if (data.hasOwnProperty("billing_account_uid")) {
61
+ obj["billing_account_uid"] = _ApiClient["default"].convertToType(data["billing_account_uid"], "String");
62
62
  }
63
63
  } else if (data === null) {
64
64
  return null;
@@ -90,12 +90,12 @@ var CreateProjectRequest = /*#__PURE__*/function () {
90
90
  } finally {
91
91
  _iterator.f();
92
92
  }
93
- if (data['label'] && !(typeof data['label'] === 'string' || data['label'] instanceof String)) {
94
- throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data['label']);
93
+ if (data["label"] && !(typeof data["label"] === "string" || data["label"] instanceof String)) {
94
+ throw new Error("Expected the field `label` to be a primitive type in the JSON string but got " + data["label"]);
95
95
  }
96
96
  // ensure the json data is a string
97
- if (data['billing_account_uid'] && !(typeof data['billing_account_uid'] === 'string' || data['billing_account_uid'] instanceof String)) {
98
- throw new Error("Expected the field `billing_account_uid` to be a primitive type in the JSON string but got " + data['billing_account_uid']);
97
+ if (data["billing_account_uid"] && !(typeof data["billing_account_uid"] === "string" || data["billing_account_uid"] instanceof String)) {
98
+ throw new Error("Expected the field `billing_account_uid` to be a primitive type in the JSON string but got " + data["billing_account_uid"]);
99
99
  }
100
100
  return true;
101
101
  }
@@ -108,12 +108,12 @@ CreateProjectRequest.RequiredProperties = ["label"];
108
108
  * The label for the project.
109
109
  * @member {String} label
110
110
  */
111
- CreateProjectRequest.prototype['label'] = undefined;
111
+ CreateProjectRequest.prototype["label"] = undefined;
112
112
 
113
113
  /**
114
- * The billing account UID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
114
+ * The billing account UID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
115
115
  * @member {String} billing_account_uid
116
116
  */
117
- CreateProjectRequest.prototype['billing_account_uid'] = undefined;
117
+ CreateProjectRequest.prototype["billing_account_uid"] = undefined;
118
118
  var _default = CreateProjectRequest;
119
119
  exports["default"] = _default;