@blues-inc/notehub-js 1.0.18 → 1.0.20

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 (100) hide show
  1. package/README.md +86 -95
  2. package/dist/ApiClient.js +18 -9
  3. package/dist/api/AlertApi.js +95 -0
  4. package/dist/api/AuthorizationApi.js +18 -9
  5. package/dist/api/BillingAccountApi.js +18 -9
  6. package/dist/api/DeviceApi.js +904 -182
  7. package/dist/api/EventApi.js +69 -16
  8. package/dist/api/FirmwareApi.js +109 -0
  9. package/dist/api/MonitorApi.js +275 -0
  10. package/dist/api/ProjectApi.js +471 -282
  11. package/dist/api/RouteApi.js +96 -9
  12. package/dist/index.js +76 -41
  13. package/dist/model/Alert.js +259 -0
  14. package/dist/model/AlertDataInner.js +184 -0
  15. package/dist/model/AlertNotificationsInner.js +132 -0
  16. package/dist/model/Aws.js +17 -8
  17. package/dist/model/Azure.js +17 -8
  18. package/dist/model/BillingAccount.js +17 -8
  19. package/dist/model/BillingAccountRole.js +29 -8
  20. package/dist/model/Body.js +17 -8
  21. package/dist/model/CloneProjectRequest.js +17 -8
  22. package/dist/model/Contact.js +17 -8
  23. package/dist/model/CreateFleetRequest.js +17 -8
  24. package/dist/model/CreateMonitor.js +428 -0
  25. package/dist/model/CreateProductRequest.js +17 -8
  26. package/dist/model/CreateProjectRequest.js +17 -8
  27. package/dist/model/DFUEnv.js +17 -8
  28. package/dist/model/DFUState.js +17 -8
  29. package/dist/model/DeleteDeviceFleetsRequest.js +17 -8
  30. package/dist/model/Device.js +21 -14
  31. package/dist/model/DeviceSession.js +17 -8
  32. package/dist/model/DeviceTowerInfo.js +17 -8
  33. package/dist/model/DeviceUsage.js +17 -8
  34. package/dist/model/EnvironmentVariables.js +17 -8
  35. package/dist/model/Error.js +17 -8
  36. package/dist/model/Event.js +17 -8
  37. package/dist/model/FirmwareInfo.js +231 -0
  38. package/dist/model/Fleet.js +17 -8
  39. package/dist/model/GetAlerts200Response.js +143 -0
  40. package/dist/model/GetBillingAccounts200Response.js +17 -8
  41. package/dist/model/GetDeviceEnvironmentVariables200Response.js +17 -8
  42. package/dist/model/GetDeviceHealthLog200Response.js +17 -8
  43. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +17 -8
  44. package/dist/model/GetDeviceLatest200Response.js +17 -8
  45. package/dist/model/GetDevicePublicKey200Response.js +17 -8
  46. package/dist/model/GetDeviceSessions200Response.js +17 -8
  47. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -8
  48. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +17 -8
  49. package/dist/model/GetProjectDevices200Response.js +17 -8
  50. package/dist/model/GetProjectEvents200Response.js +21 -27
  51. package/dist/model/GetProjectEventsByCursor200Response.js +17 -8
  52. package/dist/model/GetProjectFleets200Response.js +17 -8
  53. package/dist/model/GetProjectMembers200Response.js +17 -8
  54. package/dist/model/GetProjectProducts200Response.js +17 -8
  55. package/dist/model/GetProjects200Response.js +17 -8
  56. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +17 -8
  57. package/dist/model/Google.js +17 -8
  58. package/dist/model/HandleNoteChanges200Response.js +17 -8
  59. package/dist/model/HandleNoteGet200Response.js +17 -8
  60. package/dist/model/HandleNoteSignal200Response.js +17 -8
  61. package/dist/model/HandleNotefileChanges200Response.js +17 -8
  62. package/dist/model/HandleNotefileChangesPending200Response.js +17 -8
  63. package/dist/model/HandleNotefileDeleteRequest.js +17 -8
  64. package/dist/model/Http.js +17 -8
  65. package/dist/model/HttpFilter.js +17 -8
  66. package/dist/model/HttpTransform.js +17 -8
  67. package/dist/model/Location.js +17 -8
  68. package/dist/model/Login200Response.js +17 -8
  69. package/dist/model/LoginRequest.js +17 -8
  70. package/dist/model/Monitor.js +328 -0
  71. package/dist/model/MonitorAlertRoutesInner.js +92 -0
  72. package/dist/model/MonitorThresholds.js +88 -0
  73. package/dist/model/Mqtt.js +17 -8
  74. package/dist/model/Note.js +17 -8
  75. package/dist/model/PostProvisionProjectDeviceRequest.js +17 -8
  76. package/dist/model/Product.js +17 -8
  77. package/dist/model/Project.js +17 -8
  78. package/dist/model/ProjectMember.js +17 -8
  79. package/dist/model/Proxy.js +17 -8
  80. package/dist/model/PutDeviceFleetsRequest.js +17 -8
  81. package/dist/model/Radresponder.js +17 -8
  82. package/dist/model/Role.js +37 -8
  83. package/dist/model/Route.js +17 -8
  84. package/dist/model/RouteSchema.js +29 -14
  85. package/dist/model/Slack.js +17 -8
  86. package/dist/model/Snowflake.js +17 -8
  87. package/dist/model/SnowflakeTransform.js +17 -8
  88. package/dist/model/Thingworx.js +17 -8
  89. package/dist/model/TowerLocation.js +17 -8
  90. package/dist/model/Twilio.js +17 -8
  91. package/dist/model/UpdateFleetRequest.js +17 -8
  92. package/dist/model/UserDbRoute.js +17 -8
  93. package/package.json +1 -1
  94. package/dist/api/DevicesApi.js +0 -346
  95. package/dist/api/EnvironmentVariablesApi.js +0 -567
  96. package/dist/api/FilesApi.js +0 -193
  97. package/dist/api/FleetApi.js +0 -736
  98. package/dist/api/NotesApi.js +0 -435
  99. package/dist/api/ProductApi.js +0 -163
  100. package/dist/api/RouteLogsApi.js +0 -160
@@ -0,0 +1,184 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Notehub API
16
+ * The OpenAPI definition for the Notehub.io API.
17
+ *
18
+ * The version of the OpenAPI document: 1.0.0
19
+ * Contact: engineering@blues.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The AlertDataInner model module.
28
+ * @module model/AlertDataInner
29
+ * @version 1.0.20
30
+ */
31
+ var AlertDataInner = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AlertDataInner</code>.
34
+ * @alias module:model/AlertDataInner
35
+ */
36
+ function AlertDataInner() {
37
+ _classCallCheck(this, AlertDataInner);
38
+ AlertDataInner.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(AlertDataInner, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>AlertDataInner</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/AlertDataInner} obj Optional instance to populate.
55
+ * @return {module:model/AlertDataInner} The populated <code>AlertDataInner</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new AlertDataInner();
62
+ if (data.hasOwnProperty("alert_source")) {
63
+ obj["alert_source"] = _ApiClient["default"].convertToType(data["alert_source"], "String");
64
+ }
65
+ if (data.hasOwnProperty("source")) {
66
+ obj["source"] = _ApiClient["default"].convertToType(data["source"], "String");
67
+ }
68
+ if (data.hasOwnProperty("source_type")) {
69
+ obj["source_type"] = _ApiClient["default"].convertToType(data["source_type"], "String");
70
+ }
71
+ if (data.hasOwnProperty("value")) {
72
+ obj["value"] = _ApiClient["default"].convertToType(data["value"], "Number");
73
+ }
74
+ if (data.hasOwnProperty("source_uid")) {
75
+ obj["source_uid"] = _ApiClient["default"].convertToType(data["source_uid"], "String");
76
+ }
77
+ if (data.hasOwnProperty("when")) {
78
+ obj["when"] = _ApiClient["default"].convertToType(data["when"], "String");
79
+ }
80
+ } else if (data === null) {
81
+ return null;
82
+ }
83
+ return obj;
84
+ }
85
+
86
+ /**
87
+ * Validates the JSON data with respect to <code>AlertDataInner</code>.
88
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
89
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AlertDataInner</code>.
90
+ */
91
+ }, {
92
+ key: "validateJSON",
93
+ value: function validateJSON(data) {
94
+ // ensure the json data is a string
95
+ if (data["alert_source"] && !(typeof data["alert_source"] === "string" || data["alert_source"] instanceof String)) {
96
+ throw new Error("Expected the field `alert_source` to be a primitive type in the JSON string but got " + data["alert_source"]);
97
+ }
98
+ // ensure the json data is a string
99
+ if (data["source"] && !(typeof data["source"] === "string" || data["source"] instanceof String)) {
100
+ throw new Error("Expected the field `source` to be a primitive type in the JSON string but got " + data["source"]);
101
+ }
102
+ // ensure the json data is a string
103
+ if (data["source_type"] && !(typeof data["source_type"] === "string" || data["source_type"] instanceof String)) {
104
+ throw new Error("Expected the field `source_type` to be a primitive type in the JSON string but got " + data["source_type"]);
105
+ }
106
+ // ensure the json data is a string
107
+ if (data["source_uid"] && !(typeof data["source_uid"] === "string" || data["source_uid"] instanceof String)) {
108
+ throw new Error("Expected the field `source_uid` to be a primitive type in the JSON string but got " + data["source_uid"]);
109
+ }
110
+ // ensure the json data is a string
111
+ if (data["when"] && !(typeof data["when"] === "string" || data["when"] instanceof String)) {
112
+ throw new Error("Expected the field `when` to be a primitive type in the JSON string but got " + data["when"]);
113
+ }
114
+ return true;
115
+ }
116
+ }]);
117
+ }();
118
+ /**
119
+ * The source of the alert
120
+ * @member {module:model/AlertDataInner.AlertSourceEnum} alert_source
121
+ */
122
+ AlertDataInner.prototype["alert_source"] = undefined;
123
+
124
+ /**
125
+ * The UID of the source of the alert
126
+ * @member {String} source
127
+ */
128
+ AlertDataInner.prototype["source"] = undefined;
129
+
130
+ /**
131
+ * The type of source.
132
+ * @member {module:model/AlertDataInner.SourceTypeEnum} source_type
133
+ */
134
+ AlertDataInner.prototype["source_type"] = undefined;
135
+
136
+ /**
137
+ * The value that triggered the alert
138
+ * @member {Number} value
139
+ */
140
+ AlertDataInner.prototype["value"] = undefined;
141
+
142
+ /**
143
+ * The UID of the source of the alert
144
+ * @member {String} source_uid
145
+ */
146
+ AlertDataInner.prototype["source_uid"] = undefined;
147
+
148
+ /**
149
+ * The time the alert was created
150
+ * @member {String} when
151
+ */
152
+ AlertDataInner.prototype["when"] = undefined;
153
+
154
+ /**
155
+ * Allowed values for the <code>alert_source</code> property.
156
+ * @enum {String}
157
+ * @readonly
158
+ */
159
+ AlertDataInner["AlertSourceEnum"] = {
160
+ /**
161
+ * value: "app"
162
+ * @const
163
+ */
164
+ app: "app",
165
+ /**
166
+ * value: "device"
167
+ * @const
168
+ */
169
+ device: "device"
170
+ };
171
+
172
+ /**
173
+ * Allowed values for the <code>source_type</code> property.
174
+ * @enum {String}
175
+ * @readonly
176
+ */
177
+ AlertDataInner["SourceTypeEnum"] = {
178
+ /**
179
+ * value: "event"
180
+ * @const
181
+ */
182
+ event: "event"
183
+ };
184
+ var _default = exports["default"] = AlertDataInner;
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Notehub API
16
+ * The OpenAPI definition for the Notehub.io API.
17
+ *
18
+ * The version of the OpenAPI document: 1.0.0
19
+ * Contact: engineering@blues.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The AlertNotificationsInner model module.
28
+ * @module model/AlertNotificationsInner
29
+ * @version 1.0.20
30
+ */
31
+ var AlertNotificationsInner = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AlertNotificationsInner</code>.
34
+ * @alias module:model/AlertNotificationsInner
35
+ */
36
+ function AlertNotificationsInner() {
37
+ _classCallCheck(this, AlertNotificationsInner);
38
+ AlertNotificationsInner.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(AlertNotificationsInner, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>AlertNotificationsInner</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/AlertNotificationsInner} obj Optional instance to populate.
55
+ * @return {module:model/AlertNotificationsInner} The populated <code>AlertNotificationsInner</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new AlertNotificationsInner();
62
+ if (data.hasOwnProperty("notification_type")) {
63
+ obj["notification_type"] = _ApiClient["default"].convertToType(data["notification_type"], "String");
64
+ }
65
+ if (data.hasOwnProperty("status")) {
66
+ obj["status"] = _ApiClient["default"].convertToType(data["status"], "Number");
67
+ }
68
+ if (data.hasOwnProperty("recipients")) {
69
+ obj["recipients"] = _ApiClient["default"].convertToType(data["recipients"], "String");
70
+ }
71
+ } else if (data === null) {
72
+ return null;
73
+ }
74
+ return obj;
75
+ }
76
+
77
+ /**
78
+ * Validates the JSON data with respect to <code>AlertNotificationsInner</code>.
79
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
80
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AlertNotificationsInner</code>.
81
+ */
82
+ }, {
83
+ key: "validateJSON",
84
+ value: function validateJSON(data) {
85
+ // ensure the json data is a string
86
+ if (data["notification_type"] && !(typeof data["notification_type"] === "string" || data["notification_type"] instanceof String)) {
87
+ throw new Error("Expected the field `notification_type` to be a primitive type in the JSON string but got " + data["notification_type"]);
88
+ }
89
+ // ensure the json data is a string
90
+ if (data["recipients"] && !(typeof data["recipients"] === "string" || data["recipients"] instanceof String)) {
91
+ throw new Error("Expected the field `recipients` to be a primitive type in the JSON string but got " + data["recipients"]);
92
+ }
93
+ return true;
94
+ }
95
+ }]);
96
+ }();
97
+ /**
98
+ * The type of notification
99
+ * @member {module:model/AlertNotificationsInner.NotificationTypeEnum} notification_type
100
+ */
101
+ AlertNotificationsInner.prototype["notification_type"] = undefined;
102
+
103
+ /**
104
+ * The status of the notification
105
+ * @member {Number} status
106
+ */
107
+ AlertNotificationsInner.prototype["status"] = undefined;
108
+
109
+ /**
110
+ * The recipients of the notification
111
+ * @member {String} recipients
112
+ */
113
+ AlertNotificationsInner.prototype["recipients"] = undefined;
114
+
115
+ /**
116
+ * Allowed values for the <code>notification_type</code> property.
117
+ * @enum {String}
118
+ * @readonly
119
+ */
120
+ AlertNotificationsInner["NotificationTypeEnum"] = {
121
+ /**
122
+ * value: "email"
123
+ * @const
124
+ */
125
+ email: "email",
126
+ /**
127
+ * value: "slack"
128
+ * @const
129
+ */
130
+ slack: "slack"
131
+ };
132
+ var _default = exports["default"] = AlertNotificationsInner;
package/dist/model/Aws.js CHANGED
@@ -8,16 +8,27 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _HttpFilter = _interopRequireDefault(require("./HttpFilter"));
9
9
  var _HttpTransform = _interopRequireDefault(require("./HttpTransform"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ * Notehub API
18
+ * The OpenAPI definition for the Notehub.io API.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: engineering@blues.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
17
28
  /**
18
29
  * The Aws model module.
19
30
  * @module model/Aws
20
- * @version 1.0.18
31
+ * @version 1.0.20
21
32
  */
22
33
  var Aws = /*#__PURE__*/function () {
23
34
  /**
@@ -35,7 +46,7 @@ var Aws = /*#__PURE__*/function () {
35
46
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
47
  * Only for internal use.
37
48
  */
38
- _createClass(Aws, null, [{
49
+ return _createClass(Aws, null, [{
39
50
  key: "initialize",
40
51
  value: function initialize(obj) {}
41
52
 
@@ -154,7 +165,6 @@ var Aws = /*#__PURE__*/function () {
154
165
  return true;
155
166
  }
156
167
  }]);
157
- return Aws;
158
168
  }();
159
169
  /**
160
170
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
@@ -230,5 +240,4 @@ Aws.prototype["message_deduplication_id"] = undefined;
230
240
  * @member {String} channel
231
241
  */
232
242
  Aws.prototype["channel"] = undefined;
233
- var _default = Aws;
234
- exports["default"] = _default;
243
+ var _default = exports["default"] = Aws;
@@ -8,16 +8,27 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _HttpFilter = _interopRequireDefault(require("./HttpFilter"));
9
9
  var _HttpTransform = _interopRequireDefault(require("./HttpTransform"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
13
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
14
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ * Notehub API
18
+ * The OpenAPI definition for the Notehub.io API.
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ * Contact: engineering@blues.io
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
17
28
  /**
18
29
  * The Azure model module.
19
30
  * @module model/Azure
20
- * @version 1.0.18
31
+ * @version 1.0.20
21
32
  */
22
33
  var Azure = /*#__PURE__*/function () {
23
34
  /**
@@ -35,7 +46,7 @@ var Azure = /*#__PURE__*/function () {
35
46
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
36
47
  * Only for internal use.
37
48
  */
38
- _createClass(Azure, null, [{
49
+ return _createClass(Azure, null, [{
39
50
  key: "initialize",
40
51
  value: function initialize(obj) {}
41
52
 
@@ -125,7 +136,6 @@ var Azure = /*#__PURE__*/function () {
125
136
  return true;
126
137
  }
127
138
  }]);
128
- return Azure;
129
139
  }();
130
140
  /**
131
141
  * list of Fleet UIDs to apply route to, if any. If empty, applies to all Fleets
@@ -176,5 +186,4 @@ Azure.prototype["sas_policy_name"] = undefined;
176
186
  * @member {String} sas_policy_key
177
187
  */
178
188
  Azure.prototype["sas_policy_key"] = undefined;
179
- var _default = Azure;
180
- exports["default"] = _default;
189
+ var _default = exports["default"] = Azure;
@@ -7,19 +7,30 @@ exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _BillingAccountRole = _interopRequireDefault(require("./BillingAccountRole"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
11
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
12
12
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
13
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
16
16
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
17
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
19
+ * Notehub API
20
+ * The OpenAPI definition for the Notehub.io API.
21
+ *
22
+ * The version of the OpenAPI document: 1.0.0
23
+ * Contact: engineering@blues.io
24
+ *
25
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
26
+ * https://openapi-generator.tech
27
+ * Do not edit the class manually.
28
+ *
29
+ */
19
30
  /**
20
31
  * The BillingAccount model module.
21
32
  * @module model/BillingAccount
22
- * @version 1.0.18
33
+ * @version 1.0.20
23
34
  */
24
35
  var BillingAccount = /*#__PURE__*/function () {
25
36
  /**
@@ -39,7 +50,7 @@ var BillingAccount = /*#__PURE__*/function () {
39
50
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
40
51
  * Only for internal use.
41
52
  */
42
- _createClass(BillingAccount, null, [{
53
+ return _createClass(BillingAccount, null, [{
43
54
  key: "initialize",
44
55
  value: function initialize(obj, uid, name, role) {
45
56
  obj["uid"] = uid;
@@ -108,7 +119,6 @@ var BillingAccount = /*#__PURE__*/function () {
108
119
  return true;
109
120
  }
110
121
  }]);
111
- return BillingAccount;
112
122
  }();
113
123
  BillingAccount.RequiredProperties = ["uid", "name", "role"];
114
124
 
@@ -126,5 +136,4 @@ BillingAccount.prototype["name"] = undefined;
126
136
  * @member {module:model/BillingAccountRole} role
127
137
  */
128
138
  BillingAccount.prototype["role"] = undefined;
129
- var _default = BillingAccount;
130
- exports["default"] = _default;
139
+ var _default = exports["default"] = BillingAccount;
@@ -6,26 +6,49 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
11
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
13
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
15
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
14
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
15
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ * Notehub API
17
+ * The OpenAPI definition for the Notehub.io API.
18
+ *
19
+ * The version of the OpenAPI document: 1.0.0
20
+ * Contact: engineering@blues.io
21
+ *
22
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
23
+ * https://openapi-generator.tech
24
+ * Do not edit the class manually.
25
+ *
26
+ */
16
27
  /**
17
28
  * Enum class BillingAccountRole.
18
29
  * @enum {}
19
30
  * @readonly
20
31
  */
21
- var BillingAccountRole = /*#__PURE__*/function () {
32
+ var BillingAccountRole = exports["default"] = /*#__PURE__*/function () {
22
33
  function BillingAccountRole() {
23
34
  _classCallCheck(this, BillingAccountRole);
35
+ /**
36
+ * value: "billing_admin"
37
+ * @const
38
+ */
24
39
  _defineProperty(this, "billing_admin", "billing_admin");
40
+ /**
41
+ * value: "billing_manager"
42
+ * @const
43
+ */
25
44
  _defineProperty(this, "billing_manager", "billing_manager");
45
+ /**
46
+ * value: "project_creator"
47
+ * @const
48
+ */
26
49
  _defineProperty(this, "project_creator", "project_creator");
27
50
  }
28
- _createClass(BillingAccountRole, null, [{
51
+ return _createClass(BillingAccountRole, null, [{
29
52
  key: "constructFromObject",
30
53
  value:
31
54
  /**
@@ -37,6 +60,4 @@ var BillingAccountRole = /*#__PURE__*/function () {
37
60
  return object;
38
61
  }
39
62
  }]);
40
- return BillingAccountRole;
41
- }();
42
- exports["default"] = BillingAccountRole;
63
+ }();
@@ -6,16 +6,27 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
10
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
11
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
12
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
14
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Notehub API
16
+ * The OpenAPI definition for the Notehub.io API.
17
+ *
18
+ * The version of the OpenAPI document: 1.0.0
19
+ * Contact: engineering@blues.io
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
15
26
  /**
16
27
  * The Body model module.
17
28
  * @module model/Body
18
- * @version 1.0.18
29
+ * @version 1.0.20
19
30
  */
20
31
  var Body = /*#__PURE__*/function () {
21
32
  /**
@@ -32,7 +43,7 @@ var Body = /*#__PURE__*/function () {
32
43
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
33
44
  * Only for internal use.
34
45
  */
35
- _createClass(Body, null, [{
46
+ return _createClass(Body, null, [{
36
47
  key: "initialize",
37
48
  value: function initialize(obj) {}
38
49
 
@@ -68,11 +79,9 @@ var Body = /*#__PURE__*/function () {
68
79
  return true;
69
80
  }
70
81
  }]);
71
- return Body;
72
82
  }();
73
83
  /**
74
84
  * @member {Object} body
75
85
  */
76
86
  Body.prototype["body"] = undefined;
77
- var _default = Body;
78
- exports["default"] = _default;
87
+ var _default = exports["default"] = Body;