@hedia/types 2.5.0 → 2.6.0

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 (45) hide show
  1. package/lib/commonjs/activity/activity.js +40 -0
  2. package/lib/commonjs/activity/activity.js.map +1 -0
  3. package/lib/commonjs/boluscalculator/boluscalculator.js +38 -0
  4. package/lib/commonjs/boluscalculator/boluscalculator.js.map +1 -0
  5. package/lib/commonjs/enums.js +444 -0
  6. package/lib/commonjs/enums.js.map +1 -0
  7. package/lib/commonjs/index.js +72 -0
  8. package/lib/commonjs/index.js.map +1 -0
  9. package/lib/commonjs/logbook/logbook.js +17 -0
  10. package/lib/commonjs/logbook/logbook.js.map +1 -0
  11. package/lib/commonjs/package.json +1 -0
  12. package/lib/commonjs/userdetails/userdetails.js +6 -0
  13. package/lib/commonjs/userdetails/userdetails.js.map +1 -0
  14. package/lib/commonjs/usersettings/usersettings.js +55 -0
  15. package/lib/commonjs/usersettings/usersettings.js.map +1 -0
  16. package/{dist/src → lib/typescript}/activity/activity.d.ts +1 -0
  17. package/lib/typescript/activity/activity.d.ts.map +1 -0
  18. package/{dist/src → lib/typescript}/boluscalculator/boluscalculator.d.ts +1 -0
  19. package/lib/typescript/boluscalculator/boluscalculator.d.ts.map +1 -0
  20. package/{dist/src → lib/typescript}/enums.d.ts +1 -0
  21. package/lib/typescript/enums.d.ts.map +1 -0
  22. package/{dist/src → lib/typescript}/index.d.ts +1 -0
  23. package/lib/typescript/index.d.ts.map +1 -0
  24. package/{dist/src → lib/typescript}/logbook/logbook.d.ts +1 -0
  25. package/lib/typescript/logbook/logbook.d.ts.map +1 -0
  26. package/{dist/src → lib/typescript}/userdetails/userdetails.d.ts +1 -0
  27. package/lib/typescript/userdetails/userdetails.d.ts.map +1 -0
  28. package/{dist/src → lib/typescript}/usersettings/usersettings.d.ts +1 -0
  29. package/lib/typescript/usersettings/usersettings.d.ts.map +1 -0
  30. package/package.json +14 -8
  31. package/dist/src/activity/activity.js +0 -24
  32. package/dist/src/activity/activity.js.map +0 -1
  33. package/dist/src/boluscalculator/boluscalculator.js +0 -25
  34. package/dist/src/boluscalculator/boluscalculator.js.map +0 -1
  35. package/dist/src/enums.js +0 -438
  36. package/dist/src/enums.js.map +0 -1
  37. package/dist/src/index.js +0 -7
  38. package/dist/src/index.js.map +0 -1
  39. package/dist/src/logbook/logbook.js +0 -10
  40. package/dist/src/logbook/logbook.js.map +0 -1
  41. package/dist/src/userdetails/userdetails.js +0 -2
  42. package/dist/src/userdetails/userdetails.js.map +0 -1
  43. package/dist/src/usersettings/usersettings.js +0 -46
  44. package/dist/src/usersettings/usersettings.js.map +0 -1
  45. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ActivityReductionIntervals = exports.ActivityIntensity = exports.ActivityEnum = void 0;
7
+ /** Type that represents the user’s settings related to physical activity. */
8
+ /** Represents a set of insulin reduction fraction settings that can vary by the duration of the activity. */
9
+ /**
10
+ * Represents whether the reduction fraction is a number or it is null.
11
+ * Only for the settings of hard physical activities over 45 minutes the value is null.
12
+ * A null value represents that it is not supported by HDA.
13
+ */
14
+ // prettier-ignore
15
+ // tslint:disable-next-line: interface-over-type-literal
16
+ // tslint:disable-next-line: interface-over-type-literal
17
+ /** Enum that represents a set of insulin reduction fraction settings that can vary by the duration of the activity */
18
+ let ActivityReductionIntervals = exports.ActivityReductionIntervals = /*#__PURE__*/function (ActivityReductionIntervals) {
19
+ ActivityReductionIntervals["fromZero"] = "fromZero";
20
+ ActivityReductionIntervals["fromThirty"] = "fromThirty";
21
+ ActivityReductionIntervals["fromFortysix"] = "fromFortysix";
22
+ return ActivityReductionIntervals;
23
+ }({});
24
+ /** Enum used to indicate the category or intensity of a physical activity. */
25
+ let ActivityIntensity = exports.ActivityIntensity = /*#__PURE__*/function (ActivityIntensity) {
26
+ ActivityIntensity["light"] = "light";
27
+ ActivityIntensity["moderate"] = "moderate";
28
+ ActivityIntensity["hard"] = "hard";
29
+ return ActivityIntensity;
30
+ }({});
31
+ /** Enum used to indicate the type of physical activity performed by the user. */
32
+ let ActivityEnum = exports.ActivityEnum = /*#__PURE__*/function (ActivityEnum) {
33
+ ActivityEnum["Run"] = "Run";
34
+ ActivityEnum["Walk"] = "Walk";
35
+ ActivityEnum["Cycling"] = "Cycling";
36
+ ActivityEnum["Swim"] = "Swim";
37
+ ActivityEnum["Other"] = "Other";
38
+ return ActivityEnum;
39
+ }({});
40
+ //# sourceMappingURL=activity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ActivityReductionIntervals","exports","ActivityIntensity","ActivityEnum"],"sourceRoot":"../../../src","sources":["activity/activity.ts"],"mappings":";;;;;;AAYA;AAEA;AAEA;AACA;AACA;AACA;AACA;AAMA;AAKA;AAIA;AAaA;AAAA,IACYA,0BAA0B,GAAAC,OAAA,CAAAD,0BAAA,0BAA1BA,0BAA0B;EAA1BA,0BAA0B;EAA1BA,0BAA0B;EAA1BA,0BAA0B;EAAA,OAA1BA,0BAA0B;AAAA;AAMtC;AAAA,IACYE,iBAAiB,GAAAD,OAAA,CAAAC,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA;AAM7B;AAAA,IACYC,YAAY,GAAAF,OAAA,CAAAE,YAAA,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.GlucoseErrors = exports.Constants = exports.ActivityErrors = void 0;
7
+ let Constants = exports.Constants = /*#__PURE__*/function (Constants) {
8
+ /** The maximum amount of insulin that may be recommended to the user. */
9
+ Constants[Constants["SAFETY_INSULIN_LIMIT"] = 60] = "SAFETY_INSULIN_LIMIT";
10
+ /** The maximum duration in minutes of a physical activity. */
11
+ Constants[Constants["SAFETY_ACTIVITY_LIMIT"] = 60] = "SAFETY_ACTIVITY_LIMIT";
12
+ /** The maximum reduction factor for a physical activity */
13
+ Constants[Constants["REDUCTION_MAX"] = 1] = "REDUCTION_MAX";
14
+ /** The minimum reduction factor for a physical activity */
15
+ Constants[Constants["REDUCTION_MIN"] = 0] = "REDUCTION_MIN";
16
+ return Constants;
17
+ }({});
18
+ /** Enum for differentiating between types of errors. */
19
+ let ActivityErrors = exports.ActivityErrors = /*#__PURE__*/function (ActivityErrors) {
20
+ ActivityErrors["OutOfRange"] = "Out of range";
21
+ ActivityErrors["InvalidInterval"] = "Invalid activity settings interval";
22
+ ActivityErrors["InvalidReduction"] = "Invalid activity Reduction";
23
+ ActivityErrors["MissingIntensity"] = "Missing activity intensity";
24
+ return ActivityErrors;
25
+ }({});
26
+ let GlucoseErrors = exports.GlucoseErrors = /*#__PURE__*/function (GlucoseErrors) {
27
+ GlucoseErrors["MissingCurrentBGL"] = "Missing current BGL";
28
+ GlucoseErrors["OutOfRangeCurrentBGL"] = "Current BGL out of range";
29
+ return GlucoseErrors;
30
+ }({});
31
+ /** Represents a single bolus of fast-acting insulin that has been administered within the past 4 hours. */
32
+ /** Details about a physical activity. */
33
+ /** IRecommendationParams contains data that is used to calculate a recommendation. */
34
+ /**
35
+ * The result of a recommendation calculation is returned by the calculateRecommendation() function as an object that implements this interface.
36
+ * Note that only one of bolus and carbRecommendation may be positive. If one is non-zero then the other must be zero.
37
+ */
38
+ //# sourceMappingURL=boluscalculator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Constants","exports","ActivityErrors","GlucoseErrors"],"sourceRoot":"../../../src","sources":["boluscalculator/boluscalculator.ts"],"mappings":";;;;;;IAEYA,SAAS,GAAAC,OAAA,CAAAD,SAAA,0BAATA,SAAS;EACpB;EADWA,SAAS,CAATA,SAAS;EAGpB;EAHWA,SAAS,CAATA,SAAS;EAKpB;EALWA,SAAS,CAATA,SAAS;EAOpB;EAPWA,SAAS,CAATA,SAAS;EAAA,OAATA,SAAS;AAAA;AAWrB;AAAA,IACYE,cAAc,GAAAD,OAAA,CAAAC,cAAA,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAAA,IAOdC,aAAa,GAAAF,OAAA,CAAAE,aAAA,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB;AAQA;AAYA;AAkBA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,444 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StatusCode = exports.Milliseconds = exports.Languages = exports.KetonesRGB = exports.KetoneLevels = exports.InsulinUnit = exports.HTTPRequestMethod = exports.BloodKetonesUnit = exports.BloodGlucoseUnit = void 0;
7
+ var Units = /*#__PURE__*/function (Units) {
8
+ Units["MMOL_L"] = "mmol/l";
9
+ Units["MG_DL"] = "mg/dl";
10
+ return Units;
11
+ }(Units || {});
12
+ /** Represents a unit for measuring blood glucose levels. */
13
+ let BloodGlucoseUnit = exports.BloodGlucoseUnit = /*#__PURE__*/function (BloodGlucoseUnit) {
14
+ BloodGlucoseUnit["MMOL_L"] = "mmol/l";
15
+ BloodGlucoseUnit["MG_DL"] = "mg/dl";
16
+ return BloodGlucoseUnit;
17
+ }({});
18
+ /** Represents a unit for measuring blood ketone levels. */
19
+ let BloodKetonesUnit = exports.BloodKetonesUnit = /*#__PURE__*/function (BloodKetonesUnit) {
20
+ BloodKetonesUnit["MMOL_L"] = "mmol/l";
21
+ BloodKetonesUnit["MG_DL"] = "mg/dl";
22
+ return BloodKetonesUnit;
23
+ }({});
24
+ /** Represents a unit for measuring insulin intake */
25
+ let InsulinUnit = exports.InsulinUnit = /*#__PURE__*/function (InsulinUnit) {
26
+ InsulinUnit["IU"] = "IU";
27
+ return InsulinUnit;
28
+ }({});
29
+ /** Represents a language that the app can be displayed in. */
30
+ let Languages = exports.Languages = /*#__PURE__*/function (Languages) {
31
+ Languages["da"] = "Dansk";
32
+ Languages["en"] = "English";
33
+ Languages["de"] = "Deutsch";
34
+ Languages["es"] = "Espa\xF1ol";
35
+ Languages["fr"] = "Fran\xE7ais";
36
+ Languages["it"] = "Italiano";
37
+ Languages["sv"] = "Svenska";
38
+ return Languages;
39
+ }({});
40
+ /** Enum containing constants for seconds, minutes, hours, or days in milliseconds */
41
+ let Milliseconds = exports.Milliseconds = /*#__PURE__*/function (Milliseconds) {
42
+ Milliseconds[Milliseconds["Second"] = 1000] = "Second";
43
+ Milliseconds[Milliseconds["Minute"] = 60000] = "Minute";
44
+ Milliseconds[Milliseconds["Hour"] = 3600000] = "Hour";
45
+ Milliseconds[Milliseconds["Day"] = 86400000] = "Day";
46
+ return Milliseconds;
47
+ }({});
48
+ /** Enum containing the possible ketone levels of the user */
49
+ let KetoneLevels = exports.KetoneLevels = /*#__PURE__*/function (KetoneLevels) {
50
+ KetoneLevels["None"] = "None";
51
+ KetoneLevels["Normal"] = "Normal";
52
+ KetoneLevels["SlightlyIncreased"] = "SlightlyIncreased";
53
+ KetoneLevels["Moderate"] = "Moderate";
54
+ KetoneLevels["High"] = "High";
55
+ return KetoneLevels;
56
+ }({});
57
+ /**
58
+ * Enum containing constants for displaying colour indicators regarding the blood ketone levels of the user.
59
+ * Blood ketones ranges and the color scheme can be found at:
60
+ * https://hedia.atlassian.net/wiki/spaces/QMS/pages/827785277/QF-73-3-1+Ketones+and+current+functions+in+HDA#4.0-Ketone-procedure-in-HDA
61
+ */
62
+ const KetonesRGB = exports.KetonesRGB = {
63
+ [KetoneLevels.None]: "#171931",
64
+ [KetoneLevels.Normal]: "#DFB38F",
65
+ [KetoneLevels.SlightlyIncreased]: "#DB988D",
66
+ [KetoneLevels.Moderate]: "#A96660",
67
+ [KetoneLevels.High]: "#773751"
68
+ };
69
+ let StatusCode = exports.StatusCode = /*#__PURE__*/function (StatusCode) {
70
+ /**
71
+ * The server has received the request headers and the client should proceed to send the request body
72
+ * (in the case of a request for which a body needs to be sent; for example, a POST request).
73
+ * Sending a large request body to a server after a request
74
+ * has been rejected for inappropriate headers would be inefficient.
75
+ * To have a server check the request's headers, a client
76
+ * must send Expect: 100-continue as a header in its initial request
77
+ * and receive a 100 Continue status code in response before
78
+ * sending the body. The response 417 Expectation Failed indicates the request should not be continued.
79
+ */
80
+ StatusCode[StatusCode["CONTINUE"] = 100] = "CONTINUE";
81
+ /**
82
+ * The requester has asked the server to switch protocols and the server has agreed to do so.
83
+ */
84
+ StatusCode[StatusCode["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
85
+ /**
86
+ * A WebDAV request may contain many sub-requests involving
87
+ * file operations, requiring a long time to complete the request.
88
+ * This code indicates that the server has received and is processing the request, but no response is available yet.
89
+ * This prevents the client from timing out and assuming the request was lost.
90
+ */
91
+ StatusCode[StatusCode["PROCESSING"] = 102] = "PROCESSING";
92
+ /**
93
+ * Standard response for successful HTTP requests.
94
+ * The actual response will depend on the request method used.
95
+ * In a GET request, the response will contain an entity corresponding to the requested resource.
96
+ * In a POST request, the response will contain an entity describing or containing the result of the action.
97
+ */
98
+ StatusCode[StatusCode["OK"] = 200] = "OK";
99
+ /**
100
+ * The request has been fulfilled, resulting in the creation of a new resource.
101
+ */
102
+ StatusCode[StatusCode["CREATED"] = 201] = "CREATED";
103
+ /**
104
+ * The request has been accepted for processing, but the processing has not been completed.
105
+ * The request might or might not be eventually acted upon, and may be disallowed when processing occurs.
106
+ */
107
+ StatusCode[StatusCode["ACCEPTED"] = 202] = "ACCEPTED";
108
+ /**
109
+ * SINCE HTTP/1.1
110
+ * The server is a transforming proxy that received a 200 OK from its origin,
111
+ * but is returning a modified version of the origin's response.
112
+ */
113
+ StatusCode[StatusCode["NON_AUTHORITATIVE_INFORMATION"] = 203] = "NON_AUTHORITATIVE_INFORMATION";
114
+ /**
115
+ * The server successfully processed the request and is not returning any content.
116
+ */
117
+ StatusCode[StatusCode["NO_CONTENT"] = 204] = "NO_CONTENT";
118
+ /**
119
+ * The server successfully processed the request, but is not returning any content.
120
+ * Unlike a 204 response, this response requires that the requester reset the document view.
121
+ */
122
+ StatusCode[StatusCode["RESET_CONTENT"] = 205] = "RESET_CONTENT";
123
+ /**
124
+ * The server is delivering only part of the resource (byte serving) due to a range header sent by the client.
125
+ * The range header is used by HTTP clients to enable resuming of interrupted downloads,
126
+ * or split a download into multiple simultaneous streams.
127
+ */
128
+ StatusCode[StatusCode["PARTIAL_CONTENT"] = 206] = "PARTIAL_CONTENT";
129
+ /**
130
+ * The message body that follows is an XML message and can contain a number of separate response codes,
131
+ * depending on how many sub-requests were made.
132
+ */
133
+ StatusCode[StatusCode["MULTI_STATUS"] = 207] = "MULTI_STATUS";
134
+ /**
135
+ * The members of a DAV binding have already been enumerated in a preceding part of the (multistatus) response,
136
+ * and are not being included again.
137
+ */
138
+ StatusCode[StatusCode["ALREADY_REPORTED"] = 208] = "ALREADY_REPORTED";
139
+ /**
140
+ * The server has fulfilled a request for the resource,
141
+ * and the response is a representation of the result of
142
+ * one or more instance-manipulations applied to the current instance.
143
+ */
144
+ StatusCode[StatusCode["IM_USED"] = 226] = "IM_USED";
145
+ /**
146
+ * Indicates multiple options for the resource from which the
147
+ * client may choose (via agent-driven content negotiation).
148
+ * For example, this code could be used to present multiple video format options,
149
+ * to list files with different filename extensions, or to suggest word-sense disambiguation.
150
+ */
151
+ StatusCode[StatusCode["MULTIPLE_CHOICES"] = 300] = "MULTIPLE_CHOICES";
152
+ /**
153
+ * This and all future requests should be directed to the given URI.
154
+ */
155
+ StatusCode[StatusCode["MOVED_PERMANENTLY"] = 301] = "MOVED_PERMANENTLY";
156
+ /**
157
+ * This is an example of industry practice contradicting the standard.
158
+ * The HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect
159
+ * (the original describing phrase was "Moved Temporarily"), but popular browsers implemented 302
160
+ * with the functionality of a 303 See Other. Therefore, HTTP/1.1 added status codes 303 and 307
161
+ * to distinguish between the two behaviours. However, some Web applications and frameworks
162
+ * use the 302 status code as if it were the 303.
163
+ */
164
+ StatusCode[StatusCode["FOUND"] = 302] = "FOUND";
165
+ /**
166
+ * SINCE HTTP/1.1
167
+ * The response to the request can be found under another URI using a GET method.
168
+ * When received in response to a POST (or PUT/DELETE), the client should presume that
169
+ * the server has received the data and should issue a redirect with a separate GET message.
170
+ */
171
+ StatusCode[StatusCode["SEE_OTHER"] = 303] = "SEE_OTHER";
172
+ /**
173
+ * Indicates that the resource has not been modified since the
174
+ * version specified by the request headers If-Modified-Since or If-None-Match.
175
+ * In such case, there is no need to retransmit the resource
176
+ * since the client still has a previously-downloaded copy.
177
+ */
178
+ StatusCode[StatusCode["NOT_MODIFIED"] = 304] = "NOT_MODIFIED";
179
+ /**
180
+ * SINCE HTTP/1.1
181
+ * The requested resource is available only through a proxy, the address for which is provided in the response.
182
+ * Many HTTP clients (such as Mozilla and Internet Explorer) do not
183
+ * correctly handle responses with this status code, primarily for security reasons.
184
+ */
185
+ StatusCode[StatusCode["USE_PROXY"] = 305] = "USE_PROXY";
186
+ /**
187
+ * No longer used. Originally meant "Subsequent requests should use the specified proxy."
188
+ */
189
+ StatusCode[StatusCode["SWITCH_PROXY"] = 306] = "SWITCH_PROXY";
190
+ /**
191
+ * SINCE HTTP/1.1
192
+ * In this case, the request should be repeated with another URI;
193
+ * however, future requests should still use the original URI.
194
+ * In contrast to how 302 was historically implemented,
195
+ * the request method is not allowed to be changed when reissuing the original request.
196
+ * For example, a POST request should be repeated using another POST request.
197
+ */
198
+ StatusCode[StatusCode["TEMPORARY_REDIRECT"] = 307] = "TEMPORARY_REDIRECT";
199
+ /**
200
+ * The request and all future requests should be repeated using another URI.
201
+ * 307 and 308 parallel the behaviors of 302 and 301, but do not allow the HTTP method to change.
202
+ * So, for example, submitting a form to a permanently redirected resource may continue smoothly.
203
+ */
204
+ StatusCode[StatusCode["PERMANENT_REDIRECT"] = 308] = "PERMANENT_REDIRECT";
205
+ /**
206
+ * The server cannot or will not process the request due to an apparent client error
207
+ * (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing).
208
+ */
209
+ StatusCode[StatusCode["BAD_REQUEST"] = 400] = "BAD_REQUEST";
210
+ /**
211
+ * Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet
212
+ * been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the
213
+ * requested resource. See Basic access authentication and Digest access authentication. 401 semantically means
214
+ * "unauthenticated",i.e. the user does not have the necessary credentials.
215
+ */
216
+ StatusCode[StatusCode["UNAUTHORIZED"] = 401] = "UNAUTHORIZED";
217
+ /**
218
+ * Reserved for future use. The original intention was that this code might be used as part of some form of digital
219
+ * cash or micro payment scheme, but that has not happened, and this code is not usually used.
220
+ * Google Developers API uses this status if a particular developer has exceeded the daily limit on requests.
221
+ */
222
+ StatusCode[StatusCode["PAYMENT_REQUIRED"] = 402] = "PAYMENT_REQUIRED";
223
+ /**
224
+ * The request was valid, but the server is refusing action.
225
+ * The user might not have the necessary permissions for a resource.
226
+ */
227
+ StatusCode[StatusCode["FORBIDDEN"] = 403] = "FORBIDDEN";
228
+ /**
229
+ * The requested resource could not be found but may be available in the future.
230
+ * Subsequent requests by the client are permissible.
231
+ */
232
+ StatusCode[StatusCode["NOT_FOUND"] = 404] = "NOT_FOUND";
233
+ /**
234
+ * A request method is not supported for the requested resource;
235
+ * for example, a GET request on a form that requires data to be
236
+ * presented via POST, or a PUT request on a read-only resource.
237
+ */
238
+ StatusCode[StatusCode["METHOD_NOT_ALLOWED"] = 405] = "METHOD_NOT_ALLOWED";
239
+ /**
240
+ * The requested resource is capable of generating only content
241
+ * not acceptable according to the Accept headers sent in the request.
242
+ */
243
+ StatusCode[StatusCode["NOT_ACCEPTABLE"] = 406] = "NOT_ACCEPTABLE";
244
+ /**
245
+ * The client must first authenticate itself with the proxy.
246
+ */
247
+ StatusCode[StatusCode["PROXY_AUTHENTICATION_REQUIRED"] = 407] = "PROXY_AUTHENTICATION_REQUIRED";
248
+ /**
249
+ * The server timed out waiting for the request.
250
+ * According to HTTP specifications:
251
+ * "The client did not produce a request within the time that
252
+ * the server was prepared to wait. The client MAY repeat the request without modifications at any later time."
253
+ */
254
+ StatusCode[StatusCode["REQUEST_TIMEOUT"] = 408] = "REQUEST_TIMEOUT";
255
+ /**
256
+ * Indicates that the request could not be processed because of conflict in the request,
257
+ * such as an edit conflict between multiple simultaneous updates.
258
+ */
259
+ StatusCode[StatusCode["CONFLICT"] = 409] = "CONFLICT";
260
+ /**
261
+ * Indicates that the resource requested is no longer available and will not be available again.
262
+ * This should be used when a resource has been intentionally removed and the resource should be purged.
263
+ * Upon receiving a 410 status code, the client should not request the resource in the future.
264
+ * Clients such as search engines should remove the resource from their indices.
265
+ * Most use cases do not require clients and search engines
266
+ * to purge the resource, and a "404 Not Found" may be used instead.
267
+ */
268
+ StatusCode[StatusCode["GONE"] = 410] = "GONE";
269
+ /**
270
+ * The request did not specify the length of its content, which is required by the requested resource.
271
+ */
272
+ StatusCode[StatusCode["LENGTH_REQUIRED"] = 411] = "LENGTH_REQUIRED";
273
+ /**
274
+ * The server does not meet one of the preconditions that the requester put on the request.
275
+ */
276
+ StatusCode[StatusCode["PRECONDITION_FAILED"] = 412] = "PRECONDITION_FAILED";
277
+ /**
278
+ * The request is larger than the server is willing or
279
+ * able to process. Previously called "Request Entity Too Large".
280
+ */
281
+ StatusCode[StatusCode["PAYLOAD_TOO_LARGE"] = 413] = "PAYLOAD_TOO_LARGE";
282
+ /**
283
+ * The URI provided was too long for the server to process.
284
+ * Often the result of too much data being encoded as a query-string of a GET request,
285
+ * in which case it should be converted to a POST request.
286
+ * Called "Request-URI Too Long" previously.
287
+ */
288
+ StatusCode[StatusCode["URI_TOO_LONG"] = 414] = "URI_TOO_LONG";
289
+ /**
290
+ * The request entity has a media type which the server or resource does not support.
291
+ * For example, the client uploads an image as image/svg+xml,
292
+ * but the server requires that images use a different format.
293
+ */
294
+ StatusCode[StatusCode["UNSUPPORTED_MEDIA_TYPE"] = 415] = "UNSUPPORTED_MEDIA_TYPE";
295
+ /**
296
+ * The client has asked for a portion of the file (byte serving), but the server cannot supply that portion.
297
+ * For example, if the client asked for a part of the file that lies beyond the end of the file.
298
+ * Called "Requested Range Not Satisfiable" previously.
299
+ */
300
+ StatusCode[StatusCode["RANGE_NOT_SATISFIABLE"] = 416] = "RANGE_NOT_SATISFIABLE";
301
+ /**
302
+ * The server cannot meet the requirements of the Expect request-header field.
303
+ */
304
+ StatusCode[StatusCode["EXPECTATION_FAILED"] = 417] = "EXPECTATION_FAILED";
305
+ /**
306
+ * The request was directed at a server that is not able to
307
+ * produce a response (for example because a connection reuse).
308
+ */
309
+ StatusCode[StatusCode["MISDIRECTED_REQUEST"] = 421] = "MISDIRECTED_REQUEST";
310
+ /**
311
+ * The request was well-formed but was unable to be followed due to semantic errors.
312
+ */
313
+ StatusCode[StatusCode["UNPROCESSABLE_ENTITY"] = 422] = "UNPROCESSABLE_ENTITY";
314
+ /**
315
+ * The resource that is being accessed is locked.
316
+ */
317
+ StatusCode[StatusCode["LOCKED"] = 423] = "LOCKED";
318
+ /**
319
+ * The request failed due to failure of a previous request (e.g., a PROPPATCH).
320
+ */
321
+ StatusCode[StatusCode["FAILED_DEPENDENCY"] = 424] = "FAILED_DEPENDENCY";
322
+ /**
323
+ * The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field.
324
+ */
325
+ StatusCode[StatusCode["UPGRADE_REQUIRED"] = 426] = "UPGRADE_REQUIRED";
326
+ /**
327
+ * The origin server requires the request to be conditional.
328
+ * Intended to prevent "the 'lost update' problem, where a client
329
+ * GETs a resource's state, modifies it, and PUTs it back to the server,
330
+ * when meanwhile a third party has modified the state on the server, leading to a conflict."
331
+ */
332
+ StatusCode[StatusCode["PRECONDITION_REQUIRED"] = 428] = "PRECONDITION_REQUIRED";
333
+ /**
334
+ * The user has sent too many requests in a given amount of time. Intended for use with rate-limiting schemes.
335
+ */
336
+ StatusCode[StatusCode["TOO_MANY_REQUESTS"] = 429] = "TOO_MANY_REQUESTS";
337
+ /**
338
+ * The server is unwilling to process the request because either an individual header field,
339
+ * or all the header fields collectively, are too large.
340
+ */
341
+ StatusCode[StatusCode["REQUEST_HEADER_FIELDS_TOO_LARGE"] = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE";
342
+ /**
343
+ * A server operator has received a legal demand to deny access to a resource or to a set of resources
344
+ * that includes the requested resource. The code 451 was chosen as a reference to the novel Fahrenheit 451.
345
+ */
346
+ StatusCode[StatusCode["UNAVAILABLE_FOR_LEGAL_REASONS"] = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS";
347
+ /**
348
+ * A generic error message, given when an unexpected condition
349
+ * was encountered and no more specific message is suitable.
350
+ */
351
+ StatusCode[StatusCode["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
352
+ /**
353
+ * The server either does not recognize the request method, or it lacks the ability to fulfill the request.
354
+ * Usually this implies future availability (e.g., a new feature of a web-service API).
355
+ */
356
+ StatusCode[StatusCode["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
357
+ /**
358
+ * The server was acting as a gateway or proxy and received an invalid response from the upstream server.
359
+ */
360
+ StatusCode[StatusCode["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
361
+ /**
362
+ * The server is currently unavailable (because it is overloaded or down for maintenance).
363
+ * Generally, this is a temporary state.
364
+ */
365
+ StatusCode[StatusCode["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
366
+ /**
367
+ * The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
368
+ */
369
+ StatusCode[StatusCode["GATEWAY_TIMEOUT"] = 504] = "GATEWAY_TIMEOUT";
370
+ /**
371
+ * The server does not support the HTTP protocol version used in the request
372
+ */
373
+ StatusCode[StatusCode["HTTP_VERSION_NOT_SUPPORTED"] = 505] = "HTTP_VERSION_NOT_SUPPORTED";
374
+ /**
375
+ * Transparent content negotiation for the request results in a circular reference.
376
+ */
377
+ StatusCode[StatusCode["VARIANT_ALSO_NEGOTIATES"] = 506] = "VARIANT_ALSO_NEGOTIATES";
378
+ /**
379
+ * The server is unable to store the representation needed to complete the request.
380
+ */
381
+ StatusCode[StatusCode["INSUFFICIENT_STORAGE"] = 507] = "INSUFFICIENT_STORAGE";
382
+ /**
383
+ * Further extensions to the request are required for the server to fulfill it.
384
+ */
385
+ StatusCode[StatusCode["NOT_EXTENDED"] = 510] = "NOT_EXTENDED";
386
+ /**
387
+ * The client needs to authenticate to gain network access.
388
+ * Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used
389
+ * to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).
390
+ */
391
+ StatusCode[StatusCode["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
392
+ /**
393
+ * Client token expired, new token available from server.
394
+ */
395
+ StatusCode[StatusCode["TOKEN_EXPIRED"] = 666] = "TOKEN_EXPIRED";
396
+ return StatusCode;
397
+ }({});
398
+ let HTTPRequestMethod = exports.HTTPRequestMethod = /*#__PURE__*/function (HTTPRequestMethod) {
399
+ /**
400
+ * The "CONNECT" method establishes a tunnel to the server identified by the
401
+ * target resource.
402
+ */
403
+ HTTPRequestMethod["CONNECT"] = "CONNECT";
404
+ /**
405
+ * The "DELETE" method deletes the specified resource.
406
+ */
407
+ HTTPRequestMethod["DELETE"] = "DELETE";
408
+ /**
409
+ * The "GET" method requests a representation of the specified resource.
410
+ * Requests using GET should only retrieve data.
411
+ */
412
+ HTTPRequestMethod["GET"] = "GET";
413
+ /**
414
+ * The "HEAD" method asks for a response identical to that of a GET request,
415
+ * but without the response body.
416
+ */
417
+ HTTPRequestMethod["HEAD"] = "HEAD";
418
+ /**
419
+ * The "OPTIONS" method is used to describe the communication options for the
420
+ * target resource.
421
+ */
422
+ HTTPRequestMethod["OPTIONS"] = "OPTIONS";
423
+ /**
424
+ * The PATCH method is used to apply partial modifications to a resource.
425
+ */
426
+ HTTPRequestMethod["PATCH"] = "PATCH";
427
+ /**
428
+ * The "POST" method is used to submit an entity to the specified resource,
429
+ * often causing a change in state or side effects on the server.
430
+ */
431
+ HTTPRequestMethod["POST"] = "POST";
432
+ /**
433
+ * The "PUT" method replaces all current representations of the target
434
+ * resource with the request payload.
435
+ */
436
+ HTTPRequestMethod["PUT"] = "PUT";
437
+ /**
438
+ * The "TRACE" method performs a message loop-back test along the path to the
439
+ * target resource.
440
+ */
441
+ HTTPRequestMethod["TRACE"] = "TRACE";
442
+ return HTTPRequestMethod;
443
+ }({});
444
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Units","BloodGlucoseUnit","exports","BloodKetonesUnit","InsulinUnit","Languages","Milliseconds","KetoneLevels","KetonesRGB","None","Normal","SlightlyIncreased","Moderate","High","StatusCode","HTTPRequestMethod"],"sourceRoot":"../../src","sources":["enums.ts"],"mappings":";;;;;;IAAKA,KAAK,0BAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAAA,OAALA,KAAK;AAAA,EAALA,KAAK;AAKV;AAAA,IACYC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAK5B;AAAA,IACYE,gBAAgB,GAAAD,OAAA,CAAAC,gBAAA,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAK5B;AAAA,IACYC,WAAW,GAAAF,OAAA,CAAAE,WAAA,0BAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAIvB;AAAA,IACYC,SAAS,GAAAH,OAAA,CAAAG,SAAA,0BAATA,SAA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ACD;AACA;EApWYA,UAAU,CAAVA,UAAU;EAuWrB;AACD;AACA;EAzWYA,UAAU,CAAVA,UAAU;EA4WrB;AACD;AACA;EA9WYA,UAAU,CAAVA,UAAU;EAiXrB;AACD;AACA;EAnXYA,UAAU,CAAVA,UAAU;EAsXrB;AACD;AACA;AACA;AACA;EA1XYA,UAAU,CAAVA,UAAU;EA6XrB;AACD;AACA;EA/XYA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAA,IAmYVC,iBAAiB,GAAAb,OAAA,CAAAa,iBAAA,0BAAjBA,iBAAiB;EAC5B;AACD;AACA;AACA;EAJYA,iBAAiB;EAO5B;AACD;AACA;EATYA,iBAAiB;EAY5B;AACD;AACA;AACA;EAfYA,iBAAiB;EAkB5B;AACD;AACA;AACA;EArBYA,iBAAiB;EAwB5B;AACD;AACA;AACA;EA3BYA,iBAAiB;EA8B5B;AACD;AACA;EAhCYA,iBAAiB;EAmC5B;AACD;AACA;AACA;EAtCYA,iBAAiB;EAyC5B;AACD;AACA;AACA;EA5CYA,iBAAiB;EA+C5B;AACD;AACA;AACA;EAlDYA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _activity = require("./activity/activity.js");
7
+ Object.keys(_activity).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _activity[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _activity[key];
14
+ }
15
+ });
16
+ });
17
+ var _boluscalculator = require("./boluscalculator/boluscalculator.js");
18
+ Object.keys(_boluscalculator).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _boluscalculator[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _boluscalculator[key];
25
+ }
26
+ });
27
+ });
28
+ var _logbook = require("./logbook/logbook.js");
29
+ Object.keys(_logbook).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _logbook[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _logbook[key];
36
+ }
37
+ });
38
+ });
39
+ var _userdetails = require("./userdetails/userdetails.js");
40
+ Object.keys(_userdetails).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _userdetails[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _userdetails[key];
47
+ }
48
+ });
49
+ });
50
+ var _usersettings = require("./usersettings/usersettings.js");
51
+ Object.keys(_usersettings).forEach(function (key) {
52
+ if (key === "default" || key === "__esModule") return;
53
+ if (key in exports && exports[key] === _usersettings[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _usersettings[key];
58
+ }
59
+ });
60
+ });
61
+ var _enums = require("./enums.js");
62
+ Object.keys(_enums).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (key in exports && exports[key] === _enums[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function () {
68
+ return _enums[key];
69
+ }
70
+ });
71
+ });
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_activity","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_boluscalculator","_logbook","_userdetails","_usersettings","_enums"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MA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A;IAAA;EAAA;AAAA;AACA,IAAAQ,aAAA,GAAAZ,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAU,aAAA,EAAAT,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAQ,aAAA,CAAAR,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,aAAA,CAAAR,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,MAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,MAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,MAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,MAAA,CAAAT,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.MoodEnum = void 0;
7
+ /** Used to differentiate the different moods that users can select. */
8
+ let MoodEnum = exports.MoodEnum = /*#__PURE__*/function (MoodEnum) {
9
+ MoodEnum[MoodEnum["Sad"] = 1] = "Sad";
10
+ MoodEnum[MoodEnum["SemiSad"] = 2] = "SemiSad";
11
+ MoodEnum[MoodEnum["Neutral"] = 3] = "Neutral";
12
+ MoodEnum[MoodEnum["SemiHappy"] = 4] = "SemiHappy";
13
+ MoodEnum[MoodEnum["Happy"] = 5] = "Happy";
14
+ return MoodEnum;
15
+ }({}); // Used for the app to know what payload needs to be sent
16
+ // Response object from the server after sync
17
+ //# sourceMappingURL=logbook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["MoodEnum","exports"],"sourceRoot":"../../../src","sources":["logbook/logbook.ts"],"mappings":";;;;;;AAAA;AAAA,IACYA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,0BAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAARA,QAAQ,CAARA,QAAQ;EAAA,OAARA,QAAQ;AAAA,OAYpB;AAOA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=userdetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["userdetails/userdetails.ts"],"mappings":"","ignoreList":[]}