@icure/cardinal-sdk 2.0.0-PREVIEW-8 → 2.0.0-PREVIEW-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 (47) hide show
  1. package/Kermit-kermit-core.mjs +36 -36
  2. package/Kermit-kermit.mjs +6 -6
  3. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1637 -1637
  4. package/KotlinBigInteger-bignum.mjs +1083 -1083
  5. package/api/AnonymousAgendaApi.d.mts +1 -1
  6. package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
  7. package/cardinal-sdk-ts.mjs +34025 -33914
  8. package/cardinal-sdk.mjs +97334 -97082
  9. package/crypto/CryptoStrategies.d.mts +1 -1
  10. package/kerberus.mjs +236 -236
  11. package/kotlin-kotlin-stdlib.mjs +692 -670
  12. package/kotlinx-atomicfu.mjs +13 -13
  13. package/kotlinx-coroutines-core.mjs +2213 -2232
  14. package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
  15. package/kotlinx-io-kotlinx-io-core.mjs +541 -355
  16. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1935 -1939
  17. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1913 -1910
  18. package/kryptom-lib.mjs +990 -990
  19. package/ktor-ktor-client-content-negotiation.mjs +756 -0
  20. package/ktor-ktor-client-core.mjs +8847 -0
  21. package/ktor-ktor-client-websockets.mjs +2 -0
  22. package/ktor-ktor-events.mjs +79 -0
  23. package/ktor-ktor-http-cio.mjs +2236 -0
  24. package/ktor-ktor-http.mjs +697 -659
  25. package/ktor-ktor-io.mjs +805 -790
  26. package/ktor-ktor-serialization-kotlinx-json.mjs +44 -0
  27. package/ktor-ktor-serialization-kotlinx.mjs +857 -0
  28. package/ktor-ktor-serialization.mjs +371 -0
  29. package/ktor-ktor-sse.mjs +2 -0
  30. package/ktor-ktor-utils.mjs +539 -502
  31. package/ktor-ktor-websocket-serialization.mjs +2 -0
  32. package/ktor-ktor-websockets.mjs +2334 -0
  33. package/model/Agenda.d.mts +1 -0
  34. package/model/Agenda.mjs +3 -0
  35. package/model/CalendarItem.d.mts +13 -0
  36. package/model/CalendarItem.mjs +20 -0
  37. package/model/HealthcareParty.d.mts +1 -0
  38. package/model/HealthcareParty.mjs +3 -0
  39. package/model/embed/Measure.d.mts +2 -0
  40. package/model/embed/Measure.mjs +3 -0
  41. package/model/embed/ValueWithPrecision.d.mts +5 -0
  42. package/model/embed/ValueWithPrecision.mjs +7 -0
  43. package/model/embed/form/template/Field.d.mts +1 -1
  44. package/model/filter/predicate/Predicate.d.mts +1 -1
  45. package/model.d.mts +1 -1
  46. package/model.mjs +1 -1
  47. package/package.json +1 -1
@@ -36,7 +36,7 @@ function formatMessage(severity, tag, message) {
36
36
  return _Message___get_message__impl__3t69n4(message);
37
37
  var sb = StringBuilder_init_$Create$();
38
38
  if (!(severity == null)) {
39
- sb.r8(this.g7i(severity)).r8(' ');
39
+ sb.r8(this.f7i(severity)).r8(' ');
40
40
  }
41
41
  var tmp_1;
42
42
  var tmp_2 = tag;
@@ -48,7 +48,7 @@ function formatMessage(severity, tag, message) {
48
48
  tmp_1 = false;
49
49
  }
50
50
  if (tmp_1) {
51
- sb.r8(this.h7i(tag)).r8(' ');
51
+ sb.r8(this.g7i(tag)).r8(' ');
52
52
  }
53
53
  sb.r8(_Message___get_message__impl__3t69n4(message));
54
54
  return sb.toString();
@@ -67,18 +67,18 @@ function get_DEFAULT_MIN_SEVERITY() {
67
67
  }
68
68
  var DEFAULT_MIN_SEVERITY;
69
69
  function BaseLogger(config) {
70
- this.b7i_1 = config;
70
+ this.a7i_1 = config;
71
71
  }
72
- protoOf(BaseLogger).w3p = function () {
73
- return this.b7i_1;
72
+ protoOf(BaseLogger).w3q = function () {
73
+ return this.a7i_1;
74
74
  };
75
- protoOf(BaseLogger).c7i = function (severity, tag, throwable, message) {
75
+ protoOf(BaseLogger).b7i = function (severity, tag, throwable, message) {
76
76
  // Inline function 'kotlin.collections.forEach' call
77
- var _iterator__ex2g4s = this.w3p().d7i().q();
77
+ var _iterator__ex2g4s = this.w3q().c7i().q();
78
78
  while (_iterator__ex2g4s.r()) {
79
79
  var element = _iterator__ex2g4s.s();
80
- if (element.f7i(tag, severity)) {
81
- element.e7i(severity, message, tag, throwable);
80
+ if (element.e7i(tag, severity)) {
81
+ element.d7i(severity, message, tag, throwable);
82
82
  }
83
83
  }
84
84
  };
@@ -91,7 +91,7 @@ function _init_properties_BaseLogger_kt__lobnq7() {
91
91
  }
92
92
  function LogWriter() {
93
93
  }
94
- protoOf(LogWriter).f7i = function (tag, severity) {
94
+ protoOf(LogWriter).e7i = function (tag, severity) {
95
95
  return true;
96
96
  };
97
97
  function MessageStringFormatter() {
@@ -117,21 +117,21 @@ function Tag__hashCode_impl_848yrc($this) {
117
117
  function Tag__equals_impl_6ocp5g($this, other) {
118
118
  if (!(other instanceof Tag))
119
119
  return false;
120
- if (!($this === (other instanceof Tag ? other.j7i_1 : THROW_CCE())))
120
+ if (!($this === (other instanceof Tag ? other.i7i_1 : THROW_CCE())))
121
121
  return false;
122
122
  return true;
123
123
  }
124
124
  function Tag(tag) {
125
- this.j7i_1 = tag;
125
+ this.i7i_1 = tag;
126
126
  }
127
127
  protoOf(Tag).toString = function () {
128
- return Tag__toString_impl_tvevk7(this.j7i_1);
128
+ return Tag__toString_impl_tvevk7(this.i7i_1);
129
129
  };
130
130
  protoOf(Tag).hashCode = function () {
131
- return Tag__hashCode_impl_848yrc(this.j7i_1);
131
+ return Tag__hashCode_impl_848yrc(this.i7i_1);
132
132
  };
133
133
  protoOf(Tag).equals = function (other) {
134
- return Tag__equals_impl_6ocp5g(this.j7i_1, other);
134
+ return Tag__equals_impl_6ocp5g(this.i7i_1, other);
135
135
  };
136
136
  function _Message___init__impl__p3e8y6(message) {
137
137
  return message;
@@ -182,11 +182,11 @@ function ConsoleWriter_init_$Create$(messageStringFormatter) {
182
182
  }
183
183
  function ConsoleWriter(messageStringFormatter, console) {
184
184
  LogWriter.call(this);
185
- this.k7i_1 = messageStringFormatter;
186
- this.l7i_1 = console;
185
+ this.j7i_1 = messageStringFormatter;
186
+ this.k7i_1 = console;
187
187
  }
188
- protoOf(ConsoleWriter).e7i = function (severity, message, tag, throwable) {
189
- var output = this.k7i_1.i7i(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
188
+ protoOf(ConsoleWriter).d7i = function (severity, message, tag, throwable) {
189
+ var output = this.j7i_1.h7i(null, _Tag___init__impl__opaqzl(tag), _Message___init__impl__p3e8y6(message));
190
190
  if (throwable == null)
191
191
  null;
192
192
  else {
@@ -196,29 +196,29 @@ protoOf(ConsoleWriter).e7i = function (severity, message, tag, throwable) {
196
196
  switch (severity.w2_1) {
197
197
  case 5:
198
198
  case 4:
199
- this.l7i_1.m7i(output);
199
+ this.k7i_1.l7i(output);
200
200
  break;
201
201
  case 3:
202
- this.l7i_1.n7i(output);
202
+ this.k7i_1.m2t(output);
203
203
  break;
204
204
  case 2:
205
- this.l7i_1.o7i(output);
205
+ this.k7i_1.m7i(output);
206
206
  break;
207
207
  case 1:
208
208
  case 0:
209
- this.l7i_1.p7i(output);
209
+ this.k7i_1.n7i(output);
210
210
  break;
211
211
  }
212
212
  };
213
213
  function JsMutableLoggerConfig(logWriters) {
214
- this.q7i_1 = get_DEFAULT_MIN_SEVERITY();
215
- this.r7i_1 = logWriters;
214
+ this.o7i_1 = get_DEFAULT_MIN_SEVERITY();
215
+ this.p7i_1 = logWriters;
216
216
  }
217
- protoOf(JsMutableLoggerConfig).s7i = function () {
218
- return this.q7i_1;
217
+ protoOf(JsMutableLoggerConfig).q7i = function () {
218
+ return this.o7i_1;
219
219
  };
220
- protoOf(JsMutableLoggerConfig).d7i = function () {
221
- return this.r7i_1;
220
+ protoOf(JsMutableLoggerConfig).c7i = function () {
221
+ return this.p7i_1;
222
222
  };
223
223
  function mutableLoggerConfigInit(logWriters) {
224
224
  return new JsMutableLoggerConfig(logWriters);
@@ -229,16 +229,16 @@ function platformLogWriter(messageStringFormatter) {
229
229
  }
230
230
  function ConsoleActual() {
231
231
  }
232
- protoOf(ConsoleActual).m7i = function (output) {
232
+ protoOf(ConsoleActual).l7i = function (output) {
233
233
  console.error(output);
234
234
  };
235
- protoOf(ConsoleActual).n7i = function (output) {
235
+ protoOf(ConsoleActual).m2t = function (output) {
236
236
  console.warn(output);
237
237
  };
238
- protoOf(ConsoleActual).o7i = function (output) {
238
+ protoOf(ConsoleActual).m7i = function (output) {
239
239
  console.info(output);
240
240
  };
241
- protoOf(ConsoleActual).p7i = function (output) {
241
+ protoOf(ConsoleActual).n7i = function (output) {
242
242
  console.log(output);
243
243
  };
244
244
  var ConsoleActual_instance;
@@ -246,9 +246,9 @@ function ConsoleActual_getInstance() {
246
246
  return ConsoleActual_instance;
247
247
  }
248
248
  //region block: post-declaration
249
- protoOf(DefaultFormatter).g7i = formatSeverity;
250
- protoOf(DefaultFormatter).h7i = formatTag;
251
- protoOf(DefaultFormatter).i7i = formatMessage;
249
+ protoOf(DefaultFormatter).f7i = formatSeverity;
250
+ protoOf(DefaultFormatter).g7i = formatTag;
251
+ protoOf(DefaultFormatter).h7i = formatMessage;
252
252
  //endregion
253
253
  //region block: init
254
254
  DefaultFormatter_instance = new DefaultFormatter();
package/Kermit-kermit.mjs CHANGED
@@ -20,7 +20,7 @@ function Companion() {
20
20
  Companion_instance = this;
21
21
  Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
22
22
  }
23
- protoOf(Companion).v7i = function () {
23
+ protoOf(Companion).t7i = function () {
24
24
  return get_defaultTag();
25
25
  };
26
26
  var Companion_instance;
@@ -33,13 +33,13 @@ function Logger(config, tag) {
33
33
  Companion_getInstance();
34
34
  tag = tag === VOID ? '' : tag;
35
35
  BaseLogger.call(this, config);
36
- this.x7i_1 = tag;
36
+ this.v7i_1 = tag;
37
37
  }
38
- protoOf(Logger).v7i = function () {
39
- return this.x7i_1;
38
+ protoOf(Logger).t7i = function () {
39
+ return this.v7i_1;
40
40
  };
41
- protoOf(Logger).y7i = function (tag) {
42
- return new Logger(this.w3p(), tag);
41
+ protoOf(Logger).w7i = function (tag) {
42
+ return new Logger(this.w3q(), tag);
43
43
  };
44
44
  function get_defaultTag() {
45
45
  return defaultTag;