@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,5 +1,5 @@
1
1
  import {
2
- VOID7hggqo3abtya as VOID,
2
+ VOID3gxj6tk5isa35 as VOID,
3
3
  copyOfRange3alro60z4hhf8 as copyOfRange,
4
4
  protoOf180f3jzyo7rfj as protoOf,
5
5
  objectCreate1ve4bgxiu4x98 as objectCreate,
@@ -7,15 +7,15 @@ import {
7
7
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
8
8
  getKClassFromExpression3vpejubogshaw as getKClassFromExpression,
9
9
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
10
- Unit_instance104q5opgivhr8 as Unit_instance,
10
+ Unit_instance1fbcbse1fwigr as Unit_instance,
11
11
  contentEquals1cdp6c846cfdi as contentEquals,
12
12
  contentHashCode25jw6rgkgywwr as contentHashCode,
13
- IndexOutOfBoundsException_init_$Create$jb51qtvf74or as IndexOutOfBoundsException_init_$Create$,
14
- _UByte___init__impl__g9hnc415bxbmye0j11o as _UByte___init__impl__g9hnc4,
15
- _UByte___get_data__impl__jof9qrfj1ch8mjizvj as _UByte___get_data__impl__jof9qr,
13
+ IndexOutOfBoundsException_init_$Create$2w5dv25cjssuw as IndexOutOfBoundsException_init_$Create$,
14
+ _UByte___init__impl__g9hnc43ude1dscg1q30 as _UByte___init__impl__g9hnc4,
15
+ _UByte___get_data__impl__jof9qr2p2xx2i2jvnz8 as _UByte___get_data__impl__jof9qr,
16
16
  compareTo3ankvs086tmwq as compareTo,
17
- StringBuilder_init_$Create$23o1ixl6cos5l as StringBuilder_init_$Create$,
18
- _Char___init__impl__6a9atx281r2pd9o601g as _Char___init__impl__6a9atx,
17
+ StringBuilder_init_$Create$2ujvu6cqvzuyn as StringBuilder_init_$Create$,
18
+ _Char___init__impl__6a9atx2js6krycynjoo as _Char___init__impl__6a9atx,
19
19
  Comparable198qfk8pnblz0 as Comparable,
20
20
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
21
21
  decodeToString1x4faah2liw2p as decodeToString,
@@ -40,10 +40,10 @@ function ByteString_init_$Create$(data, startIndex, endIndex) {
40
40
  }
41
41
  function Companion() {
42
42
  Companion_instance = this;
43
- this.y1k_1 = new ByteString(new Int8Array(0), null);
44
- this.z1k_1 = toCharArray('0123456789abcdef');
43
+ this.y1l_1 = new ByteString(new Int8Array(0), null);
44
+ this.z1l_1 = toCharArray('0123456789abcdef');
45
45
  }
46
- protoOf(Companion).a1l = function (byteArray) {
46
+ protoOf(Companion).a1m = function (byteArray) {
47
47
  return new ByteString(byteArray, null);
48
48
  };
49
49
  var Companion_instance;
@@ -54,11 +54,11 @@ function Companion_getInstance() {
54
54
  }
55
55
  function ByteString(data, dummy) {
56
56
  Companion_getInstance();
57
- this.b1l_1 = data;
58
- this.c1l_1 = 0;
57
+ this.b1m_1 = data;
58
+ this.c1m_1 = 0;
59
59
  }
60
60
  protoOf(ByteString).t = function () {
61
- return this.b1l_1.length;
61
+ return this.b1m_1.length;
62
62
  };
63
63
  protoOf(ByteString).equals = function (other) {
64
64
  if (this === other)
@@ -67,43 +67,43 @@ protoOf(ByteString).equals = function (other) {
67
67
  return false;
68
68
  if (!(other instanceof ByteString))
69
69
  THROW_CCE();
70
- if (!(other.b1l_1.length === this.b1l_1.length))
70
+ if (!(other.b1m_1.length === this.b1m_1.length))
71
71
  return false;
72
- if (!(other.c1l_1 === 0) && !(this.c1l_1 === 0) && !(other.c1l_1 === this.c1l_1))
72
+ if (!(other.c1m_1 === 0) && !(this.c1m_1 === 0) && !(other.c1m_1 === this.c1m_1))
73
73
  return false;
74
- return contentEquals(this.b1l_1, other.b1l_1);
74
+ return contentEquals(this.b1m_1, other.b1m_1);
75
75
  };
76
76
  protoOf(ByteString).hashCode = function () {
77
- var hc = this.c1l_1;
77
+ var hc = this.c1m_1;
78
78
  if (hc === 0) {
79
- hc = contentHashCode(this.b1l_1);
80
- this.c1l_1 = hc;
79
+ hc = contentHashCode(this.b1m_1);
80
+ this.c1m_1 = hc;
81
81
  }
82
82
  return hc;
83
83
  };
84
84
  protoOf(ByteString).v = function (index) {
85
85
  if (index < 0 || index >= this.t())
86
86
  throw IndexOutOfBoundsException_init_$Create$('index (' + index + ') is out of byte string bounds: [0..' + this.t() + ')');
87
- return this.b1l_1[index];
87
+ return this.b1m_1[index];
88
88
  };
89
- protoOf(ByteString).d1l = function (startIndex, endIndex) {
89
+ protoOf(ByteString).d1m = function (startIndex, endIndex) {
90
90
  var tmp;
91
91
  if (startIndex === endIndex) {
92
- tmp = Companion_getInstance().y1k_1;
92
+ tmp = Companion_getInstance().y1l_1;
93
93
  } else {
94
- tmp = ByteString_init_$Create$(this.b1l_1, startIndex, endIndex);
94
+ tmp = ByteString_init_$Create$(this.b1m_1, startIndex, endIndex);
95
95
  }
96
96
  return tmp;
97
97
  };
98
- protoOf(ByteString).e1l = function (startIndex, endIndex, $super) {
98
+ protoOf(ByteString).e1m = function (startIndex, endIndex, $super) {
99
99
  endIndex = endIndex === VOID ? this.t() : endIndex;
100
- return $super === VOID ? this.d1l(startIndex, endIndex) : $super.d1l.call(this, startIndex, endIndex);
100
+ return $super === VOID ? this.d1m(startIndex, endIndex) : $super.d1m.call(this, startIndex, endIndex);
101
101
  };
102
- protoOf(ByteString).f1l = function (other) {
102
+ protoOf(ByteString).f1m = function (other) {
103
103
  if (other === this)
104
104
  return 0;
105
- var localData = this.b1l_1;
106
- var otherData = other.b1l_1;
105
+ var localData = this.b1m_1;
106
+ var otherData = other.b1m_1;
107
107
  var inductionVariable = 0;
108
108
  var tmp0 = this.t();
109
109
  // Inline function 'kotlin.math.min' call
@@ -115,13 +115,13 @@ protoOf(ByteString).f1l = function (other) {
115
115
  inductionVariable = inductionVariable + 1 | 0;
116
116
  // Inline function 'kotlin.toUByte' call
117
117
  var this_0 = localData[i];
118
- var tmp4 = _UByte___init__impl__g9hnc4(this_0);
118
+ var tmp0_0 = _UByte___init__impl__g9hnc4(this_0);
119
119
  // Inline function 'kotlin.toUByte' call
120
120
  var this_1 = otherData[i];
121
121
  // Inline function 'kotlin.UByte.compareTo' call
122
122
  var other_0 = _UByte___init__impl__g9hnc4(this_1);
123
123
  // Inline function 'kotlin.UByte.toInt' call
124
- var tmp = _UByte___get_data__impl__jof9qr(tmp4) & 255;
124
+ var tmp = _UByte___get_data__impl__jof9qr(tmp0_0) & 255;
125
125
  // Inline function 'kotlin.UByte.toInt' call
126
126
  var tmp$ret$4 = _UByte___get_data__impl__jof9qr(other_0) & 255;
127
127
  var cmp = compareTo(tmp, tmp$ret$4);
@@ -132,7 +132,7 @@ protoOf(ByteString).f1l = function (other) {
132
132
  return compareTo(this.t(), other.t());
133
133
  };
134
134
  protoOf(ByteString).d = function (other) {
135
- return this.f1l(other instanceof ByteString ? other : THROW_CCE());
135
+ return this.f1m(other instanceof ByteString ? other : THROW_CCE());
136
136
  };
137
137
  protoOf(ByteString).toString = function () {
138
138
  if (isEmpty(this)) {
@@ -142,10 +142,10 @@ protoOf(ByteString).toString = function () {
142
142
  var len = (22 + sizeStr.length | 0) + imul(this.t(), 2) | 0;
143
143
  // Inline function 'kotlin.with' call
144
144
  var $this$with = StringBuilder_init_$Create$(len);
145
- $this$with.r8('ByteString(size=');
146
- $this$with.r8(sizeStr);
147
- $this$with.r8(' hex=');
148
- var localData = this.b1l_1;
145
+ $this$with.s8('ByteString(size=');
146
+ $this$with.s8(sizeStr);
147
+ $this$with.s8(' hex=');
148
+ var localData = this.b1m_1;
149
149
  var inductionVariable = 0;
150
150
  var last = this.t();
151
151
  if (inductionVariable < last)
@@ -153,22 +153,22 @@ protoOf(ByteString).toString = function () {
153
153
  var i = inductionVariable;
154
154
  inductionVariable = inductionVariable + 1 | 0;
155
155
  var b = localData[i];
156
- $this$with.s8(Companion_getInstance().z1k_1[(b >>> 4 | 0) & 15]);
157
- $this$with.s8(Companion_getInstance().z1k_1[b & 15]);
156
+ $this$with.t8(Companion_getInstance().z1l_1[(b >>> 4 | 0) & 15]);
157
+ $this$with.t8(Companion_getInstance().z1l_1[b & 15]);
158
158
  }
159
159
  while (inductionVariable < last);
160
- return $this$with.s8(_Char___init__impl__6a9atx(41)).toString();
160
+ return $this$with.t8(_Char___init__impl__6a9atx(41)).toString();
161
161
  };
162
- protoOf(ByteString).g1l = function () {
163
- return this.b1l_1;
162
+ protoOf(ByteString).g1m = function () {
163
+ return this.b1m_1;
164
164
  };
165
165
  function ByteString_0(bytes) {
166
166
  var tmp;
167
167
  // Inline function 'kotlin.collections.isEmpty' call
168
168
  if (bytes.length === 0) {
169
- tmp = Companion_getInstance().y1k_1;
169
+ tmp = Companion_getInstance().y1l_1;
170
170
  } else {
171
- tmp = Companion_getInstance().a1l(bytes);
171
+ tmp = Companion_getInstance().a1m(bytes);
172
172
  }
173
173
  return tmp;
174
174
  }
@@ -176,12 +176,12 @@ function isEmpty(_this__u8e3s4) {
176
176
  return _this__u8e3s4.t() === 0;
177
177
  }
178
178
  function decodeToString_0(_this__u8e3s4) {
179
- return decodeToString(_this__u8e3s4.g1l());
179
+ return decodeToString(_this__u8e3s4.g1m());
180
180
  }
181
181
  function UnsafeByteStringOperations() {
182
182
  }
183
- protoOf(UnsafeByteStringOperations).h1l = function (array) {
184
- return Companion_getInstance().a1l(array);
183
+ protoOf(UnsafeByteStringOperations).h1m = function (array) {
184
+ return Companion_getInstance().a1m(array);
185
185
  };
186
186
  var UnsafeByteStringOperations_instance;
187
187
  function UnsafeByteStringOperations_getInstance() {
@@ -192,8 +192,8 @@ UnsafeByteStringOperations_instance = new UnsafeByteStringOperations();
192
192
  //endregion
193
193
  //region block: exports
194
194
  export {
195
- ByteString_init_$Create$ as ByteString_init_$Create$szylcqpww4kx,
196
- UnsafeByteStringOperations_instance as UnsafeByteStringOperations_instance39s7tll95rf4n,
195
+ ByteString_init_$Create$ as ByteString_init_$Create$1zmsyrjuj9mwj,
196
+ UnsafeByteStringOperations_instance as UnsafeByteStringOperations_instance24iw7lp31iicx,
197
197
  ByteString_0 as ByteString3c9fk8lsh3lvs,
198
198
  decodeToString_0 as decodeToString2ede220pr5xir,
199
199
  };