@icure/cardinal-sdk 2.0.0-PREVIEW-10 → 2.0.0-PREVIEW-13

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 (44) hide show
  1. package/Kermit-kermit-core.mjs +42 -42
  2. package/Kermit-kermit.mjs +8 -8
  3. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
  4. package/KotlinBigInteger-bignum.mjs +1434 -1470
  5. package/api/AnonymousHealthcarePartyApi.d.mts +2 -2
  6. package/cardinal-sdk-ts.d.mts +338 -100
  7. package/cardinal-sdk-ts.mjs +56590 -56248
  8. package/cardinal-sdk.mjs +126945 -106218
  9. package/kerberus.mjs +381 -381
  10. package/kotlin-kotlin-stdlib.mjs +3412 -2764
  11. package/kotlinx-atomicfu.mjs +14 -14
  12. package/kotlinx-coroutines-core.mjs +2690 -2687
  13. package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
  14. package/kotlinx-io-kotlinx-io-core.mjs +539 -539
  15. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
  16. package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
  17. package/kryptom-lib.mjs +2065 -2081
  18. package/ktor-ktor-client-content-negotiation.mjs +217 -217
  19. package/ktor-ktor-client-core.mjs +2997 -2993
  20. package/ktor-ktor-events.mjs +8 -8
  21. package/ktor-ktor-http-cio.mjs +538 -537
  22. package/ktor-ktor-http.mjs +799 -927
  23. package/ktor-ktor-io.mjs +1079 -1079
  24. package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
  25. package/ktor-ktor-serialization-kotlinx.mjs +270 -270
  26. package/ktor-ktor-serialization.mjs +129 -129
  27. package/ktor-ktor-utils.mjs +614 -600
  28. package/ktor-ktor-websockets.mjs +751 -750
  29. package/model.d.mts +0 -1
  30. package/model.mjs +0 -1
  31. package/package.json +2 -3
  32. package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
  33. package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
  34. package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
  35. package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
  36. package/ktor-ktor-shared-ktor-events.mjs +0 -79
  37. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
  38. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
  39. package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
  40. package/ktor-ktor-shared-ktor-sse.mjs +0 -2
  41. package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
  42. package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
  43. package/model/UserAndHealthcareParty.d.mts +0 -7
  44. package/model/UserAndHealthcareParty.mjs +0 -6
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  protoOf180f3jzyo7rfj as protoOf,
3
- Unit_instance104q5opgivhr8 as Unit_instance,
3
+ Unit_instance1fbcbse1fwigr as Unit_instance,
4
4
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
5
- StringBuilder_init_$Create$2mwec1027v00x as StringBuilder_init_$Create$,
5
+ StringBuilder_init_$Create$2qsge4ydj6bin as StringBuilder_init_$Create$,
6
6
  charSequenceLength3278n89t01tmv as charSequenceLength,
7
7
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
8
8
  initMetadataForObject1cxne3s9w65el as initMetadataForObject,
9
- VOID7hggqo3abtya as VOID,
9
+ VOID3gxj6tk5isa35 as VOID,
10
10
  getStringHashCode26igk1bx568vk as getStringHashCode,
11
11
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
12
12
  Enum3alwj03lh1n41 as Enum,
@@ -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.f7i(severity)).r8(' ');
39
+ sb.s8(this.e7i(severity)).s8(' ');
40
40
  }
41
41
  var tmp_1;
42
42
  var tmp_2 = tag;
@@ -48,9 +48,9 @@ function formatMessage(severity, tag, message) {
48
48
  tmp_1 = false;
49
49
  }
50
50
  if (tmp_1) {
51
- sb.r8(this.g7i(tag)).r8(' ');
51
+ sb.s8(this.f7i(tag)).s8(' ');
52
52
  }
53
- sb.r8(_Message___get_message__impl__3t69n4(message));
53
+ sb.s8(_Message___get_message__impl__3t69n4(message));
54
54
  return sb.toString();
55
55
  }
56
56
  initMetadataForInterface(MessageStringFormatter, 'MessageStringFormatter');
@@ -67,18 +67,18 @@ function get_DEFAULT_MIN_SEVERITY() {
67
67
  }
68
68
  var DEFAULT_MIN_SEVERITY;
69
69
  function BaseLogger(config) {
70
- this.a7i_1 = config;
70
+ this.z7h_1 = config;
71
71
  }
72
- protoOf(BaseLogger).w3q = function () {
73
- return this.a7i_1;
72
+ protoOf(BaseLogger).y3r = function () {
73
+ return this.z7h_1;
74
74
  };
75
- protoOf(BaseLogger).b7i = function (severity, tag, throwable, message) {
75
+ protoOf(BaseLogger).a7i = function (severity, tag, throwable, message) {
76
76
  // Inline function 'kotlin.collections.forEach' call
77
- var _iterator__ex2g4s = this.w3q().c7i().q();
77
+ var _iterator__ex2g4s = this.y3r().b7i().q();
78
78
  while (_iterator__ex2g4s.r()) {
79
79
  var element = _iterator__ex2g4s.s();
80
- if (element.e7i(tag, severity)) {
81
- element.d7i(severity, message, tag, throwable);
80
+ if (element.d7i(tag, severity)) {
81
+ element.c7i(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).e7i = function (tag, severity) {
94
+ protoOf(LogWriter).d7i = 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.i7i_1 : THROW_CCE())))
120
+ if (!($this === (other instanceof Tag ? other.h7i_1 : THROW_CCE())))
121
121
  return false;
122
122
  return true;
123
123
  }
124
124
  function Tag(tag) {
125
- this.i7i_1 = tag;
125
+ this.h7i_1 = tag;
126
126
  }
127
127
  protoOf(Tag).toString = function () {
128
- return Tag__toString_impl_tvevk7(this.i7i_1);
128
+ return Tag__toString_impl_tvevk7(this.h7i_1);
129
129
  };
130
130
  protoOf(Tag).hashCode = function () {
131
- return Tag__hashCode_impl_848yrc(this.i7i_1);
131
+ return Tag__hashCode_impl_848yrc(this.h7i_1);
132
132
  };
133
133
  protoOf(Tag).equals = function (other) {
134
- return Tag__equals_impl_6ocp5g(this.i7i_1, other);
134
+ return Tag__equals_impl_6ocp5g(this.h7i_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.j7i_1 = messageStringFormatter;
186
- this.k7i_1 = console;
185
+ this.i7i_1 = messageStringFormatter;
186
+ this.j7i_1 = console;
187
187
  }
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));
188
+ protoOf(ConsoleWriter).c7i = function (severity, message, tag, throwable) {
189
+ var output = this.i7i_1.g7i(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).d7i = function (severity, message, tag, throwable) {
196
196
  switch (severity.w2_1) {
197
197
  case 5:
198
198
  case 4:
199
- this.k7i_1.l7i(output);
199
+ this.j7i_1.k7i(output);
200
200
  break;
201
201
  case 3:
202
- this.k7i_1.m2t(output);
202
+ this.j7i_1.o2u(output);
203
203
  break;
204
204
  case 2:
205
- this.k7i_1.m7i(output);
205
+ this.j7i_1.l7i(output);
206
206
  break;
207
207
  case 1:
208
208
  case 0:
209
- this.k7i_1.n7i(output);
209
+ this.j7i_1.m7i(output);
210
210
  break;
211
211
  }
212
212
  };
213
213
  function JsMutableLoggerConfig(logWriters) {
214
- this.o7i_1 = get_DEFAULT_MIN_SEVERITY();
215
- this.p7i_1 = logWriters;
214
+ this.n7i_1 = get_DEFAULT_MIN_SEVERITY();
215
+ this.o7i_1 = logWriters;
216
216
  }
217
- protoOf(JsMutableLoggerConfig).q7i = function () {
218
- return this.o7i_1;
217
+ protoOf(JsMutableLoggerConfig).p7i = function () {
218
+ return this.n7i_1;
219
219
  };
220
- protoOf(JsMutableLoggerConfig).c7i = function () {
221
- return this.p7i_1;
220
+ protoOf(JsMutableLoggerConfig).b7i = function () {
221
+ return this.o7i_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).l7i = function (output) {
232
+ protoOf(ConsoleActual).k7i = function (output) {
233
233
  console.error(output);
234
234
  };
235
- protoOf(ConsoleActual).m2t = function (output) {
235
+ protoOf(ConsoleActual).o2u = function (output) {
236
236
  console.warn(output);
237
237
  };
238
- protoOf(ConsoleActual).m7i = function (output) {
238
+ protoOf(ConsoleActual).l7i = function (output) {
239
239
  console.info(output);
240
240
  };
241
- protoOf(ConsoleActual).n7i = function (output) {
241
+ protoOf(ConsoleActual).m7i = 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).f7i = formatSeverity;
250
- protoOf(DefaultFormatter).g7i = formatTag;
251
- protoOf(DefaultFormatter).h7i = formatMessage;
249
+ protoOf(DefaultFormatter).e7i = formatSeverity;
250
+ protoOf(DefaultFormatter).f7i = formatTag;
251
+ protoOf(DefaultFormatter).g7i = formatMessage;
252
252
  //endregion
253
253
  //region block: init
254
254
  DefaultFormatter_instance = new DefaultFormatter();
@@ -259,7 +259,7 @@ export {
259
259
  BaseLogger as BaseLogger15vxnko5xe4r1,
260
260
  mutableLoggerConfigInit as mutableLoggerConfigInit3a48t6gios6eh,
261
261
  platformLogWriter as platformLogWritersobyk8c3gam2,
262
- Severity_Debug_getInstance as Severity_Debug_getInstance1dcdfkj7ori48,
263
- Severity_Warn_getInstance as Severity_Warn_getInstancezzjn43tmhkhl,
262
+ Severity_Debug_getInstance as Severity_Debug_getInstance21tlo27z25xrn,
263
+ Severity_Warn_getInstance as Severity_Warn_getInstance3jtjy1majw2ot,
264
264
  };
265
265
  //endregion
package/Kermit-kermit.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  listOfvhqybd2zx248 as listOf,
8
8
  protoOf180f3jzyo7rfj as protoOf,
9
9
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
10
- VOID7hggqo3abtya as VOID,
10
+ VOID3gxj6tk5isa35 as VOID,
11
11
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
12
12
  } from './kotlin-kotlin-stdlib.mjs';
13
13
  //region block: imports
@@ -20,7 +20,7 @@ function Companion() {
20
20
  Companion_instance = this;
21
21
  Logger.call(this, mutableLoggerConfigInit(listOf(platformLogWriter())), '');
22
22
  }
23
- protoOf(Companion).t7i = function () {
23
+ protoOf(Companion).s7i = 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.v7i_1 = tag;
36
+ this.u7i_1 = tag;
37
37
  }
38
- protoOf(Logger).t7i = function () {
39
- return this.v7i_1;
38
+ protoOf(Logger).s7i = function () {
39
+ return this.u7i_1;
40
40
  };
41
- protoOf(Logger).w7i = function (tag) {
42
- return new Logger(this.w3q(), tag);
41
+ protoOf(Logger).v7i = function (tag) {
42
+ return new Logger(this.y3r(), tag);
43
43
  };
44
44
  function get_defaultTag() {
45
45
  return defaultTag;
@@ -50,6 +50,6 @@ defaultTag = '';
50
50
  //endregion
51
51
  //region block: exports
52
52
  export {
53
- Companion_getInstance as Companion_getInstance36dcckm0dcv7d,
53
+ Companion_getInstance as Companion_getInstance2tq9586fmqdq3,
54
54
  };
55
55
  //endregion