@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
@@ -27,7 +27,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
27
27
  /**
28
28
  * The RouteSchema model module.
29
29
  * @module model/RouteSchema
30
- * @version 1.0.10
30
+ * @version 1.0.11
31
31
  */
32
32
  var RouteSchema = /*#__PURE__*/function () {
33
33
  /**
@@ -187,7 +187,8 @@ var RouteSchema = /*#__PURE__*/function () {
187
187
  } else if (match === 0) {
188
188
  this.actualInstance = null; // clear the actual instance in case there are multiple matches
189
189
  throw new Error("No match found constructing `RouteSchema` with oneOf schemas Aws, Azure, Google, Http, Mqtt, Proxy, Radresponder, Snowflake, Thingworx. Details: " + errorMessages.join(", "));
190
- } else {// only 1 match
190
+ } else {
191
+ // only 1 match
191
192
  // the input is valid
192
193
  }
193
194
  }
@@ -239,198 +240,198 @@ var RouteSchema = /*#__PURE__*/function () {
239
240
  _defineProperty(RouteSchema, "fromJSON", function (json_string) {
240
241
  return RouteSchema.constructFromObject(JSON.parse(json_string));
241
242
  });
242
- RouteSchema.prototype['fleets'] = undefined;
243
+ RouteSchema.prototype["fleets"] = undefined;
243
244
 
244
245
  /**
245
246
  * @member {module:model/HttpFilter} filter
246
247
  */
247
- RouteSchema.prototype['filter'] = undefined;
248
+ RouteSchema.prototype["filter"] = undefined;
248
249
 
249
250
  /**
250
251
  * @member {module:model/SnowflakeTransform} transform
251
252
  */
252
- RouteSchema.prototype['transform'] = undefined;
253
+ RouteSchema.prototype["transform"] = undefined;
253
254
 
254
255
  /**
255
256
  * @member {Number} throttle_ms
256
257
  */
257
- RouteSchema.prototype['throttle_ms'] = undefined;
258
+ RouteSchema.prototype["throttle_ms"] = undefined;
258
259
 
259
260
  /**
260
261
  * @member {String} url
261
262
  */
262
- RouteSchema.prototype['url'] = undefined;
263
+ RouteSchema.prototype["url"] = undefined;
263
264
 
264
265
  /**
265
266
  * @member {Object.<String, String>} http_headers
266
267
  */
267
- RouteSchema.prototype['http_headers'] = undefined;
268
+ RouteSchema.prototype["http_headers"] = undefined;
268
269
 
269
270
  /**
270
271
  * @member {Boolean} disable_http_headers
271
272
  * @default false
272
273
  */
273
- RouteSchema.prototype['disable_http_headers'] = false;
274
+ RouteSchema.prototype["disable_http_headers"] = false;
274
275
 
275
276
  /**
276
277
  * Timeout in seconds for each request
277
278
  * @member {Number} timeout
278
279
  * @default 15
279
280
  */
280
- RouteSchema.prototype['timeout'] = 15;
281
+ RouteSchema.prototype["timeout"] = 15;
281
282
 
282
283
  /**
283
284
  * @member {String} alias
284
285
  */
285
- RouteSchema.prototype['alias'] = undefined;
286
+ RouteSchema.prototype["alias"] = undefined;
286
287
 
287
288
  /**
288
289
  * @member {String} broker
289
290
  */
290
- RouteSchema.prototype['broker'] = undefined;
291
+ RouteSchema.prototype["broker"] = undefined;
291
292
 
292
293
  /**
293
294
  * @member {Number} port
294
295
  */
295
- RouteSchema.prototype['port'] = undefined;
296
+ RouteSchema.prototype["port"] = undefined;
296
297
 
297
298
  /**
298
299
  * @member {String} username
299
300
  */
300
- RouteSchema.prototype['username'] = undefined;
301
+ RouteSchema.prototype["username"] = undefined;
301
302
 
302
303
  /**
303
304
  * This value is input-only and will be omitted from the response and replaced with a placeholder
304
305
  * @member {String} password
305
306
  */
306
- RouteSchema.prototype['password'] = undefined;
307
+ RouteSchema.prototype["password"] = undefined;
307
308
 
308
309
  /**
309
310
  * @member {String} topic
310
311
  */
311
- RouteSchema.prototype['topic'] = undefined;
312
+ RouteSchema.prototype["topic"] = undefined;
312
313
 
313
314
  /**
314
315
  * Certificate with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
315
316
  * @member {String} certificate
316
317
  */
317
- RouteSchema.prototype['certificate'] = undefined;
318
+ RouteSchema.prototype["certificate"] = undefined;
318
319
 
319
320
  /**
320
321
  * Name of certificate.
321
322
  * @member {String} certificate_name
322
323
  */
323
- RouteSchema.prototype['certificate_name'] = undefined;
324
+ RouteSchema.prototype["certificate_name"] = undefined;
324
325
 
325
326
  /**
326
327
  * Key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
327
328
  * @member {String} key
328
329
  */
329
- RouteSchema.prototype['key'] = undefined;
330
+ RouteSchema.prototype["key"] = undefined;
330
331
 
331
332
  /**
332
333
  * Name of PEM key. If omitted, defaults to \"present\"
333
334
  * @member {String} private_key_name
334
335
  * @default 'present'
335
336
  */
336
- RouteSchema.prototype['private_key_name'] = 'present';
337
+ RouteSchema.prototype["private_key_name"] = "present";
337
338
 
338
339
  /**
339
340
  * @member {String} region
340
341
  */
341
- RouteSchema.prototype['region'] = undefined;
342
+ RouteSchema.prototype["region"] = undefined;
342
343
 
343
344
  /**
344
345
  * @member {String} access_key_id
345
346
  */
346
- RouteSchema.prototype['access_key_id'] = undefined;
347
+ RouteSchema.prototype["access_key_id"] = undefined;
347
348
 
348
349
  /**
349
350
  * This value is input-only and will be omitted from the response and replaced with a placeholder
350
351
  * @member {String} access_key_secret
351
352
  */
352
- RouteSchema.prototype['access_key_secret'] = undefined;
353
+ RouteSchema.prototype["access_key_secret"] = undefined;
353
354
 
354
355
  /**
355
356
  * @member {String} message_group_id
356
357
  */
357
- RouteSchema.prototype['message_group_id'] = undefined;
358
+ RouteSchema.prototype["message_group_id"] = undefined;
358
359
 
359
360
  /**
360
361
  * @member {String} message_deduplication_id
361
362
  */
362
- RouteSchema.prototype['message_deduplication_id'] = undefined;
363
+ RouteSchema.prototype["message_deduplication_id"] = undefined;
363
364
 
364
365
  /**
365
366
  * @member {String} channel
366
367
  */
367
- RouteSchema.prototype['channel'] = undefined;
368
+ RouteSchema.prototype["channel"] = undefined;
368
369
 
369
370
  /**
370
371
  * @member {Boolean} test_api
371
372
  * @default false
372
373
  */
373
- RouteSchema.prototype['test_api'] = false;
374
+ RouteSchema.prototype["test_api"] = false;
374
375
 
375
376
  /**
376
377
  * @member {String} data_feed_key
377
378
  */
378
- RouteSchema.prototype['data_feed_key'] = undefined;
379
+ RouteSchema.prototype["data_feed_key"] = undefined;
379
380
 
380
381
  /**
381
382
  * @member {String} client_id
382
383
  */
383
- RouteSchema.prototype['client_id'] = undefined;
384
+ RouteSchema.prototype["client_id"] = undefined;
384
385
 
385
386
  /**
386
387
  * This value is input-only and will be omitted from the response and replaced with a placeholder
387
388
  * @member {String} client_secret
388
389
  */
389
- RouteSchema.prototype['client_secret'] = undefined;
390
+ RouteSchema.prototype["client_secret"] = undefined;
390
391
 
391
392
  /**
392
393
  * This value is input-only and will be omitted from the response and replaced with a placeholder
393
394
  * @member {String} functions_key_secret
394
395
  */
395
- RouteSchema.prototype['functions_key_secret'] = undefined;
396
+ RouteSchema.prototype["functions_key_secret"] = undefined;
396
397
 
397
398
  /**
398
399
  * @member {String} sas_policy_name
399
400
  */
400
- RouteSchema.prototype['sas_policy_name'] = undefined;
401
+ RouteSchema.prototype["sas_policy_name"] = undefined;
401
402
 
402
403
  /**
403
404
  * This value is input-only and will be omitted from the response and replaced with a placeholder
404
405
  * @member {String} sas_policy_key
405
406
  */
406
- RouteSchema.prototype['sas_policy_key'] = undefined;
407
+ RouteSchema.prototype["sas_policy_key"] = undefined;
407
408
 
408
409
  /**
409
410
  * This value is input-only and will be omitted from the response and replaced with a placeholder
410
411
  * @member {String} app_key
411
412
  */
412
- RouteSchema.prototype['app_key'] = undefined;
413
+ RouteSchema.prototype["app_key"] = undefined;
413
414
 
414
415
  /**
415
416
  * @member {String} organization_name
416
417
  */
417
- RouteSchema.prototype['organization_name'] = undefined;
418
+ RouteSchema.prototype["organization_name"] = undefined;
418
419
 
419
420
  /**
420
421
  * @member {String} account_name
421
422
  */
422
- RouteSchema.prototype['account_name'] = undefined;
423
+ RouteSchema.prototype["account_name"] = undefined;
423
424
 
424
425
  /**
425
426
  * @member {String} user_name
426
427
  */
427
- RouteSchema.prototype['user_name'] = undefined;
428
+ RouteSchema.prototype["user_name"] = undefined;
428
429
 
429
430
  /**
430
431
  * PEM key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
431
432
  * @member {String} pem
432
433
  */
433
- RouteSchema.prototype['pem'] = undefined;
434
+ RouteSchema.prototype["pem"] = undefined;
434
435
  RouteSchema.OneOf = ["Aws", "Azure", "Google", "Http", "Mqtt", "Proxy", "Radresponder", "Snowflake", "Thingworx"];
435
436
  var _default = RouteSchema;
436
437
  exports["default"] = _default;
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Snowflake model module.
19
19
  * @module model/Snowflake
20
- * @version 1.0.10
20
+ * @version 1.0.11
21
21
  */
22
22
  var Snowflake = /*#__PURE__*/function () {
23
23
  /**
@@ -51,32 +51,32 @@ var Snowflake = /*#__PURE__*/function () {
51
51
  value: function constructFromObject(data, obj) {
52
52
  if (data) {
53
53
  obj = obj || new Snowflake();
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'] = _SnowflakeTransform["default"].constructFromObject(data['transform']);
60
+ if (data.hasOwnProperty("transform")) {
61
+ obj["transform"] = _SnowflakeTransform["default"].constructFromObject(data["transform"]);
62
62
  }
63
- if (data.hasOwnProperty('timeout')) {
64
- obj['timeout'] = _ApiClient["default"].convertToType(data['timeout'], 'Number');
63
+ if (data.hasOwnProperty("timeout")) {
64
+ obj["timeout"] = _ApiClient["default"].convertToType(data["timeout"], "Number");
65
65
  }
66
- if (data.hasOwnProperty('organization_name')) {
67
- obj['organization_name'] = _ApiClient["default"].convertToType(data['organization_name'], 'String');
66
+ if (data.hasOwnProperty("organization_name")) {
67
+ obj["organization_name"] = _ApiClient["default"].convertToType(data["organization_name"], "String");
68
68
  }
69
- if (data.hasOwnProperty('account_name')) {
70
- obj['account_name'] = _ApiClient["default"].convertToType(data['account_name'], 'String');
69
+ if (data.hasOwnProperty("account_name")) {
70
+ obj["account_name"] = _ApiClient["default"].convertToType(data["account_name"], "String");
71
71
  }
72
- if (data.hasOwnProperty('user_name')) {
73
- obj['user_name'] = _ApiClient["default"].convertToType(data['user_name'], 'String');
72
+ if (data.hasOwnProperty("user_name")) {
73
+ obj["user_name"] = _ApiClient["default"].convertToType(data["user_name"], "String");
74
74
  }
75
- if (data.hasOwnProperty('private_key_name')) {
76
- obj['private_key_name'] = _ApiClient["default"].convertToType(data['private_key_name'], 'String');
75
+ if (data.hasOwnProperty("private_key_name")) {
76
+ obj["private_key_name"] = _ApiClient["default"].convertToType(data["private_key_name"], "String");
77
77
  }
78
- if (data.hasOwnProperty('pem')) {
79
- obj['pem'] = _ApiClient["default"].convertToType(data['pem'], 'String');
78
+ if (data.hasOwnProperty("pem")) {
79
+ obj["pem"] = _ApiClient["default"].convertToType(data["pem"], "String");
80
80
  }
81
81
  } else if (data === null) {
82
82
  return null;
@@ -93,38 +93,38 @@ var Snowflake = /*#__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
- _SnowflakeTransform["default"].validateJSON(data['transform']);
107
+ _SnowflakeTransform["default"].validateJSON(data["transform"]);
108
108
  }
109
109
  // ensure the json data is a string
110
- if (data['organization_name'] && !(typeof data['organization_name'] === 'string' || data['organization_name'] instanceof String)) {
111
- throw new Error("Expected the field `organization_name` to be a primitive type in the JSON string but got " + data['organization_name']);
110
+ if (data["organization_name"] && !(typeof data["organization_name"] === "string" || data["organization_name"] instanceof String)) {
111
+ throw new Error("Expected the field `organization_name` to be a primitive type in the JSON string but got " + data["organization_name"]);
112
112
  }
113
113
  // ensure the json data is a string
114
- if (data['account_name'] && !(typeof data['account_name'] === 'string' || data['account_name'] instanceof String)) {
115
- throw new Error("Expected the field `account_name` to be a primitive type in the JSON string but got " + data['account_name']);
114
+ if (data["account_name"] && !(typeof data["account_name"] === "string" || data["account_name"] instanceof String)) {
115
+ throw new Error("Expected the field `account_name` to be a primitive type in the JSON string but got " + data["account_name"]);
116
116
  }
117
117
  // ensure the json data is a string
118
- if (data['user_name'] && !(typeof data['user_name'] === 'string' || data['user_name'] instanceof String)) {
119
- throw new Error("Expected the field `user_name` to be a primitive type in the JSON string but got " + data['user_name']);
118
+ if (data["user_name"] && !(typeof data["user_name"] === "string" || data["user_name"] instanceof String)) {
119
+ throw new Error("Expected the field `user_name` to be a primitive type in the JSON string but got " + data["user_name"]);
120
120
  }
121
121
  // ensure the json data is a string
122
- if (data['private_key_name'] && !(typeof data['private_key_name'] === 'string' || data['private_key_name'] instanceof String)) {
123
- throw new Error("Expected the field `private_key_name` to be a primitive type in the JSON string but got " + data['private_key_name']);
122
+ if (data["private_key_name"] && !(typeof data["private_key_name"] === "string" || data["private_key_name"] instanceof String)) {
123
+ throw new Error("Expected the field `private_key_name` to be a primitive type in the JSON string but got " + data["private_key_name"]);
124
124
  }
125
125
  // ensure the json data is a string
126
- if (data['pem'] && !(typeof data['pem'] === 'string' || data['pem'] instanceof String)) {
127
- throw new Error("Expected the field `pem` to be a primitive type in the JSON string but got " + data['pem']);
126
+ if (data["pem"] && !(typeof data["pem"] === "string" || data["pem"] instanceof String)) {
127
+ throw new Error("Expected the field `pem` to be a primitive type in the JSON string but got " + data["pem"]);
128
128
  }
129
129
  return true;
130
130
  }
@@ -135,51 +135,51 @@ var Snowflake = /*#__PURE__*/function () {
135
135
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
136
136
  * @member {Array.<String>} fleets
137
137
  */
138
- Snowflake.prototype['fleets'] = undefined;
138
+ Snowflake.prototype["fleets"] = undefined;
139
139
 
140
140
  /**
141
141
  * @member {module:model/HttpFilter} filter
142
142
  */
143
- Snowflake.prototype['filter'] = undefined;
143
+ Snowflake.prototype["filter"] = undefined;
144
144
 
145
145
  /**
146
146
  * @member {module:model/SnowflakeTransform} transform
147
147
  */
148
- Snowflake.prototype['transform'] = undefined;
148
+ Snowflake.prototype["transform"] = undefined;
149
149
 
150
150
  /**
151
151
  * Timeout in seconds for each request
152
152
  * @member {Number} timeout
153
153
  * @default 15
154
154
  */
155
- Snowflake.prototype['timeout'] = 15;
155
+ Snowflake.prototype["timeout"] = 15;
156
156
 
157
157
  /**
158
158
  * @member {String} organization_name
159
159
  */
160
- Snowflake.prototype['organization_name'] = undefined;
160
+ Snowflake.prototype["organization_name"] = undefined;
161
161
 
162
162
  /**
163
163
  * @member {String} account_name
164
164
  */
165
- Snowflake.prototype['account_name'] = undefined;
165
+ Snowflake.prototype["account_name"] = undefined;
166
166
 
167
167
  /**
168
168
  * @member {String} user_name
169
169
  */
170
- Snowflake.prototype['user_name'] = undefined;
170
+ Snowflake.prototype["user_name"] = undefined;
171
171
 
172
172
  /**
173
173
  * Name of PEM key. If omitted, defaults to \"present\"
174
174
  * @member {String} private_key_name
175
175
  * @default 'present'
176
176
  */
177
- Snowflake.prototype['private_key_name'] = 'present';
177
+ Snowflake.prototype["private_key_name"] = "present";
178
178
 
179
179
  /**
180
180
  * PEM key with \\n newlines. This value is input-only and will be omitted from the response and replaced with a placeholder
181
181
  * @member {String} pem
182
182
  */
183
- Snowflake.prototype['pem'] = undefined;
183
+ Snowflake.prototype["pem"] = undefined;
184
184
  var _default = Snowflake;
185
185
  exports["default"] = _default;
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The SnowflakeTransform model module.
17
17
  * @module model/SnowflakeTransform
18
- * @version 1.0.10
18
+ * @version 1.0.11
19
19
  */
20
20
  var SnowflakeTransform = /*#__PURE__*/function () {
21
21
  /**
@@ -48,11 +48,11 @@ var SnowflakeTransform = /*#__PURE__*/function () {
48
48
  value: function constructFromObject(data, obj) {
49
49
  if (data) {
50
50
  obj = obj || new SnowflakeTransform();
51
- if (data.hasOwnProperty('format')) {
52
- obj['format'] = _ApiClient["default"].convertToType(data['format'], 'String');
51
+ if (data.hasOwnProperty("format")) {
52
+ obj["format"] = _ApiClient["default"].convertToType(data["format"], "String");
53
53
  }
54
- if (data.hasOwnProperty('jsonata')) {
55
- obj['jsonata'] = _ApiClient["default"].convertToType(data['jsonata'], 'String');
54
+ if (data.hasOwnProperty("jsonata")) {
55
+ obj["jsonata"] = _ApiClient["default"].convertToType(data["jsonata"], "String");
56
56
  }
57
57
  } else if (data === null) {
58
58
  return null;
@@ -69,12 +69,12 @@ var SnowflakeTransform = /*#__PURE__*/function () {
69
69
  key: "validateJSON",
70
70
  value: function validateJSON(data) {
71
71
  // ensure the json data is a string
72
- if (data['format'] && !(typeof data['format'] === 'string' || data['format'] instanceof String)) {
73
- throw new Error("Expected the field `format` to be a primitive type in the JSON string but got " + data['format']);
72
+ if (data["format"] && !(typeof data["format"] === "string" || data["format"] instanceof String)) {
73
+ throw new Error("Expected the field `format` to be a primitive type in the JSON string but got " + data["format"]);
74
74
  }
75
75
  // ensure the json data is a string
76
- if (data['jsonata'] && !(typeof data['jsonata'] === 'string' || data['jsonata'] instanceof String)) {
77
- throw new Error("Expected the field `jsonata` to be a primitive type in the JSON string but got " + data['jsonata']);
76
+ if (data["jsonata"] && !(typeof data["jsonata"] === "string" || data["jsonata"] instanceof String)) {
77
+ throw new Error("Expected the field `jsonata` to be a primitive type in the JSON string but got " + data["jsonata"]);
78
78
  }
79
79
  return true;
80
80
  }
@@ -86,12 +86,12 @@ var SnowflakeTransform = /*#__PURE__*/function () {
86
86
  * @member {String} format
87
87
  * @default 'jsonata'
88
88
  */
89
- SnowflakeTransform.prototype['format'] = 'jsonata';
89
+ SnowflakeTransform.prototype["format"] = "jsonata";
90
90
 
91
91
  /**
92
92
  * JSONata transformation
93
93
  * @member {String} jsonata
94
94
  */
95
- SnowflakeTransform.prototype['jsonata'] = undefined;
95
+ SnowflakeTransform.prototype["jsonata"] = undefined;
96
96
  var _default = SnowflakeTransform;
97
97
  exports["default"] = _default;
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Thingworx model module.
19
19
  * @module model/Thingworx
20
- * @version 1.0.10
20
+ * @version 1.0.11
21
21
  */
22
22
  var Thingworx = /*#__PURE__*/function () {
23
23
  /**
@@ -51,26 +51,26 @@ var Thingworx = /*#__PURE__*/function () {
51
51
  value: function constructFromObject(data, obj) {
52
52
  if (data) {
53
53
  obj = obj || new Thingworx();
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('app_key')) {
73
- obj['app_key'] = _ApiClient["default"].convertToType(data['app_key'], 'String');
72
+ if (data.hasOwnProperty("app_key")) {
73
+ obj["app_key"] = _ApiClient["default"].convertToType(data["app_key"], "String");
74
74
  }
75
75
  } else if (data === null) {
76
76
  return null;
@@ -87,26 +87,26 @@ var Thingworx = /*#__PURE__*/function () {
87
87
  key: "validateJSON",
88
88
  value: function validateJSON(data) {
89
89
  // ensure the json data is an array
90
- if (!Array.isArray(data['fleets'])) {
91
- throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data['fleets']);
90
+ if (!Array.isArray(data["fleets"])) {
91
+ throw new Error("Expected the field `fleets` to be an array in the JSON data but got " + data["fleets"]);
92
92
  }
93
93
  // validate the optional field `filter`
94
- if (data['filter']) {
94
+ if (data["filter"]) {
95
95
  // data not null
96
- _HttpFilter["default"].validateJSON(data['filter']);
96
+ _HttpFilter["default"].validateJSON(data["filter"]);
97
97
  }
98
98
  // validate the optional field `transform`
99
- if (data['transform']) {
99
+ if (data["transform"]) {
100
100
  // data not null
101
- _HttpTransform["default"].validateJSON(data['transform']);
101
+ _HttpTransform["default"].validateJSON(data["transform"]);
102
102
  }
103
103
  // ensure the json data is a string
104
- if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
105
- throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
104
+ if (data["url"] && !(typeof data["url"] === "string" || data["url"] instanceof String)) {
105
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data["url"]);
106
106
  }
107
107
  // ensure the json data is a string
108
- if (data['app_key'] && !(typeof data['app_key'] === 'string' || data['app_key'] instanceof String)) {
109
- throw new Error("Expected the field `app_key` to be a primitive type in the JSON string but got " + data['app_key']);
108
+ if (data["app_key"] && !(typeof data["app_key"] === "string" || data["app_key"] instanceof String)) {
109
+ throw new Error("Expected the field `app_key` to be a primitive type in the JSON string but got " + data["app_key"]);
110
110
  }
111
111
  return true;
112
112
  }
@@ -117,39 +117,39 @@ var Thingworx = /*#__PURE__*/function () {
117
117
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
118
118
  * @member {Array.<String>} fleets
119
119
  */
120
- Thingworx.prototype['fleets'] = undefined;
120
+ Thingworx.prototype["fleets"] = undefined;
121
121
 
122
122
  /**
123
123
  * @member {module:model/HttpFilter} filter
124
124
  */
125
- Thingworx.prototype['filter'] = undefined;
125
+ Thingworx.prototype["filter"] = undefined;
126
126
 
127
127
  /**
128
128
  * @member {module:model/HttpTransform} transform
129
129
  */
130
- Thingworx.prototype['transform'] = undefined;
130
+ Thingworx.prototype["transform"] = undefined;
131
131
 
132
132
  /**
133
133
  * @member {Number} throttle_ms
134
134
  */
135
- Thingworx.prototype['throttle_ms'] = undefined;
135
+ Thingworx.prototype["throttle_ms"] = undefined;
136
136
 
137
137
  /**
138
138
  * @member {String} url
139
139
  */
140
- Thingworx.prototype['url'] = undefined;
140
+ Thingworx.prototype["url"] = undefined;
141
141
 
142
142
  /**
143
143
  * Timeout in seconds for each request
144
144
  * @member {Number} timeout
145
145
  * @default 15
146
146
  */
147
- Thingworx.prototype['timeout'] = 15;
147
+ Thingworx.prototype["timeout"] = 15;
148
148
 
149
149
  /**
150
150
  * This value is input-only and will be omitted from the response and replaced with a placeholder
151
151
  * @member {String} app_key
152
152
  */
153
- Thingworx.prototype['app_key'] = undefined;
153
+ Thingworx.prototype["app_key"] = undefined;
154
154
  var _default = Thingworx;
155
155
  exports["default"] = _default;