@solibo/solibo-sdk 1.9.15 → 1.9.16
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.
- package/KmLogging-logging.mjs +98 -98
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/client.d.mts +24 -0
- package/client.mjs +68 -0
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/hash-library-md.mjs +30 -30
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +41679 -40149
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +222 -1
- package/solibo-sdk-sdk.mjs +3858 -3828
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -26,14 +26,14 @@ initMetadataForClass(PemContent, 'PemContent');
|
|
|
26
26
|
initMetadataForCompanion(Companion);
|
|
27
27
|
//endregion
|
|
28
28
|
function Pem() {
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
29
|
+
this.sw1_1 = '-----BEGIN ';
|
|
30
|
+
this.tw1_1 = '-----END ';
|
|
31
|
+
this.uw1_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).vw1 = function (bytes) {
|
|
34
|
+
return this.ww1(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).ww1 = function (string) {
|
|
37
37
|
var lines = split(string, ['\n']);
|
|
38
38
|
var tmp$ret$0;
|
|
39
39
|
$l$block: {
|
|
@@ -108,13 +108,13 @@ function Pem_getInstance() {
|
|
|
108
108
|
return Pem_instance;
|
|
109
109
|
}
|
|
110
110
|
function PemContent(label, bytes) {
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
111
|
+
this.xw1_1 = label;
|
|
112
|
+
this.yw1_1 = bytes;
|
|
113
113
|
}
|
|
114
114
|
function ensurePemLabel(_this__u8e3s4, label) {
|
|
115
115
|
// Inline function 'kotlin.check' call
|
|
116
|
-
if (!(_this__u8e3s4.
|
|
117
|
-
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.
|
|
116
|
+
if (!(_this__u8e3s4.xw1_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.xw1_1);
|
|
118
118
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
119
119
|
}
|
|
120
120
|
return _this__u8e3s4;
|
|
@@ -124,11 +124,11 @@ function _PemLabel___init__impl__xifhtx(representation) {
|
|
|
124
124
|
}
|
|
125
125
|
function Companion() {
|
|
126
126
|
Companion_instance = this;
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
127
|
+
this.zw1_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.aw2_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.bw2_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.cw2_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.dw2_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
132
132
|
}
|
|
133
133
|
var Companion_instance;
|
|
134
134
|
function Companion_getInstance() {
|
package/hash-library-md.mjs
CHANGED
|
@@ -25,12 +25,12 @@ initMetadataForClass(MD5, 'MD5', MD5_init_$Create$, Digest);
|
|
|
25
25
|
function MD5_init_$Init$($this) {
|
|
26
26
|
Digest_init_$Init$('MD5', 64, 16, $this);
|
|
27
27
|
MD5.call($this);
|
|
28
|
-
$this.
|
|
28
|
+
$this.bw8_1 = new Int32Array(16);
|
|
29
29
|
var tmp = $this;
|
|
30
30
|
// Inline function 'kotlin.collections.copyOf' call
|
|
31
31
|
// Inline function 'kotlin.js.asDynamic' call
|
|
32
|
-
tmp.
|
|
33
|
-
$this.
|
|
32
|
+
tmp.cw8_1 = Companion_getInstance().fw8_1.slice();
|
|
33
|
+
$this.dw8_1 = Bit32_init_$Create$(64);
|
|
34
34
|
return $this;
|
|
35
35
|
}
|
|
36
36
|
function MD5_init_$Create$() {
|
|
@@ -38,16 +38,16 @@ function MD5_init_$Create$() {
|
|
|
38
38
|
}
|
|
39
39
|
function Companion() {
|
|
40
40
|
Companion_instance = this;
|
|
41
|
-
this.
|
|
41
|
+
this.ew8_1 = 64;
|
|
42
42
|
var tmp = this;
|
|
43
43
|
// Inline function 'kotlin.intArrayOf' call
|
|
44
|
-
tmp.
|
|
44
|
+
tmp.fw8_1 = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
|
|
45
45
|
var tmp_0 = this;
|
|
46
46
|
// Inline function 'kotlin.intArrayOf' call
|
|
47
|
-
tmp_0.
|
|
47
|
+
tmp_0.gw8_1 = new Int32Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]);
|
|
48
48
|
var tmp_1 = this;
|
|
49
49
|
// Inline function 'kotlin.intArrayOf' call
|
|
50
|
-
tmp_1.
|
|
50
|
+
tmp_1.hw8_1 = new Int32Array([-680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426, -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162, 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632, 643717713, -373897302, -701558691, 38016083, -660478335, -405537848, 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784, 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556, -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222, -722521979, 76029189, -640364487, -421815835, 530742520, -995338651, -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606, -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649, -145523070, -1120210379, 718787259, -343485551]);
|
|
51
51
|
}
|
|
52
52
|
var Companion_instance;
|
|
53
53
|
function Companion_getInstance() {
|
|
@@ -55,11 +55,11 @@ function Companion_getInstance() {
|
|
|
55
55
|
new Companion();
|
|
56
56
|
return Companion_instance;
|
|
57
57
|
}
|
|
58
|
-
protoOf(MD5).
|
|
59
|
-
var k = Companion_getInstance().
|
|
60
|
-
var s = Companion_getInstance().
|
|
61
|
-
var x = this.
|
|
62
|
-
var state = this.
|
|
58
|
+
protoOf(MD5).xw6 = function (input, offset) {
|
|
59
|
+
var k = Companion_getInstance().hw8_1;
|
|
60
|
+
var s = Companion_getInstance().gw8_1;
|
|
61
|
+
var x = this.bw8_1;
|
|
62
|
+
var state = this.cw8_1;
|
|
63
63
|
var a = state[0];
|
|
64
64
|
var b = state[1];
|
|
65
65
|
var c = state[2];
|
|
@@ -72,7 +72,7 @@ protoOf(MD5).xw2 = function (input, offset) {
|
|
|
72
72
|
Little_getInstance();
|
|
73
73
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.leIntAt' call
|
|
74
74
|
var offset_0 = imul(i, 4) + offset | 0;
|
|
75
|
-
var xi = Little_getInstance().
|
|
75
|
+
var xi = Little_getInstance().uw7(input, offset_0);
|
|
76
76
|
x[i] = xi;
|
|
77
77
|
var f = (((b & c | ~b & d) + a | 0) + k[i] | 0) + xi | 0;
|
|
78
78
|
a = d;
|
|
@@ -124,40 +124,40 @@ protoOf(MD5).xw2 = function (input, offset) {
|
|
|
124
124
|
state[1] = state[1] + b | 0;
|
|
125
125
|
state[2] = state[2] + c | 0;
|
|
126
126
|
state[3] = state[3] + d | 0;
|
|
127
|
-
this.
|
|
127
|
+
this.dw8_1.jw7();
|
|
128
128
|
};
|
|
129
|
-
protoOf(MD5).
|
|
130
|
-
var digest = new Int8Array(this.
|
|
131
|
-
this.
|
|
129
|
+
protoOf(MD5).yw6 = function (buf, bufPos) {
|
|
130
|
+
var digest = new Int8Array(this.qw6());
|
|
131
|
+
this.vw6(digest, 0, buf, bufPos);
|
|
132
132
|
return digest;
|
|
133
133
|
};
|
|
134
|
-
protoOf(MD5).
|
|
135
|
-
var tmp0_container = this.
|
|
134
|
+
protoOf(MD5).vw6 = function (dest, destOffset, buf, bufPos) {
|
|
135
|
+
var tmp0_container = this.dw8_1.kw7(bufPos).hw7();
|
|
136
136
|
var bitsLo = tmp0_container.ch();
|
|
137
137
|
var bitsHi = tmp0_container.dh();
|
|
138
138
|
buf[bufPos] = -128;
|
|
139
139
|
if ((bufPos + 1 | 0) > 56) {
|
|
140
|
-
this.
|
|
140
|
+
this.xw6(buf, 0);
|
|
141
141
|
fill(buf, 0, 0, 56);
|
|
142
142
|
}
|
|
143
143
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
144
144
|
Little_getInstance();
|
|
145
|
-
Little_getInstance().
|
|
145
|
+
Little_getInstance().vw7(bitsLo, buf, 56);
|
|
146
146
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
147
147
|
Little_getInstance();
|
|
148
|
-
Little_getInstance().
|
|
149
|
-
this.
|
|
148
|
+
Little_getInstance().vw7(bitsHi, buf, 60);
|
|
149
|
+
this.xw6(buf, 0);
|
|
150
150
|
Little_getInstance();
|
|
151
151
|
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
152
|
-
var this_0 = this.
|
|
152
|
+
var this_0 = this.cw8_1;
|
|
153
153
|
var sourceIndexEnd = this_0.length;
|
|
154
|
-
Little_getInstance().
|
|
154
|
+
Little_getInstance().ww7(this_0, dest, destOffset, 0, sourceIndexEnd);
|
|
155
155
|
};
|
|
156
|
-
protoOf(MD5).
|
|
157
|
-
fill_0(this.
|
|
158
|
-
var tmp0 = Companion_getInstance().
|
|
156
|
+
protoOf(MD5).ww6 = function () {
|
|
157
|
+
fill_0(this.bw8_1, 0);
|
|
158
|
+
var tmp0 = Companion_getInstance().fw8_1;
|
|
159
159
|
// Inline function 'kotlin.collections.copyInto' call
|
|
160
|
-
var destination = this.
|
|
160
|
+
var destination = this.cw8_1;
|
|
161
161
|
var endIndex = tmp0.length;
|
|
162
162
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
163
163
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -165,7 +165,7 @@ protoOf(MD5).ww2 = function () {
|
|
|
165
165
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
166
166
|
// Inline function 'kotlin.js.asDynamic' call
|
|
167
167
|
arrayCopy(tmp, destination, 0, 0, endIndex);
|
|
168
|
-
this.
|
|
168
|
+
this.dw8_1.lw7();
|
|
169
169
|
};
|
|
170
170
|
function MD5() {
|
|
171
171
|
Companion_getInstance();
|
package/index.mjs
CHANGED
|
@@ -109,12 +109,15 @@ import {
|
|
|
109
109
|
CompanySubType as _Enum_CompanySubType,
|
|
110
110
|
ContactSource as _Enum_ContactSource,
|
|
111
111
|
ConversationEventType as _Enum_ConversationEventType,
|
|
112
|
+
ConversationPushFallbackCadencePreset as _Enum_ConversationPushFallbackCadencePreset,
|
|
112
113
|
ConversationStatus as _Enum_ConversationStatus,
|
|
113
114
|
CustomerClassification as _Enum_CustomerClassification,
|
|
114
115
|
CustomerType as _Enum_CustomerType,
|
|
115
116
|
DialogActivityType as _Enum_DialogActivityType,
|
|
116
117
|
DialogStatus as _Enum_DialogStatus,
|
|
117
118
|
DialogSystemLabel as _Enum_DialogSystemLabel,
|
|
119
|
+
DocumentContentSearchBackfillReason as _Enum_DocumentContentSearchBackfillReason,
|
|
120
|
+
DocumentContentSearchBackfillStatus as _Enum_DocumentContentSearchBackfillStatus,
|
|
118
121
|
DocumentType as _Enum_DocumentType,
|
|
119
122
|
EconomicReportStatus as _Enum_EconomicReportStatus,
|
|
120
123
|
ExpenseProcessingResult as _Enum_ExpenseProcessingResult,
|
|
@@ -210,12 +213,15 @@ _addPascalEnumAliases(_Enum_CompanyStatus);
|
|
|
210
213
|
_addPascalEnumAliases(_Enum_CompanySubType);
|
|
211
214
|
_addPascalEnumAliases(_Enum_ContactSource);
|
|
212
215
|
_addPascalEnumAliases(_Enum_ConversationEventType);
|
|
216
|
+
_addPascalEnumAliases(_Enum_ConversationPushFallbackCadencePreset);
|
|
213
217
|
_addPascalEnumAliases(_Enum_ConversationStatus);
|
|
214
218
|
_addPascalEnumAliases(_Enum_CustomerClassification);
|
|
215
219
|
_addPascalEnumAliases(_Enum_CustomerType);
|
|
216
220
|
_addPascalEnumAliases(_Enum_DialogActivityType);
|
|
217
221
|
_addPascalEnumAliases(_Enum_DialogStatus);
|
|
218
222
|
_addPascalEnumAliases(_Enum_DialogSystemLabel);
|
|
223
|
+
_addPascalEnumAliases(_Enum_DocumentContentSearchBackfillReason);
|
|
224
|
+
_addPascalEnumAliases(_Enum_DocumentContentSearchBackfillStatus);
|
|
219
225
|
_addPascalEnumAliases(_Enum_DocumentType);
|
|
220
226
|
_addPascalEnumAliases(_Enum_EconomicReportStatus);
|
|
221
227
|
_addPascalEnumAliases(_Enum_ExpenseProcessingResult);
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,17 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
if (typeof Math.trunc === 'undefined') {
|
|
41
|
-
Math.trunc = function (x) {
|
|
42
|
-
if (isNaN(x)) {
|
|
43
|
-
return NaN;
|
|
44
|
-
}
|
|
45
|
-
if (x > 0) {
|
|
46
|
-
return Math.floor(x);
|
|
47
|
-
}
|
|
48
|
-
return Math.ceil(x);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
40
|
if (typeof Math.clz32 === 'undefined') {
|
|
52
41
|
Math.clz32 = function (log, LN2) {
|
|
53
42
|
return function (x) {
|
|
@@ -59,6 +48,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
59
48
|
};
|
|
60
49
|
}(Math.log, Math.LN2);
|
|
61
50
|
}
|
|
51
|
+
if (typeof Math.trunc === 'undefined') {
|
|
52
|
+
Math.trunc = function (x) {
|
|
53
|
+
if (isNaN(x)) {
|
|
54
|
+
return NaN;
|
|
55
|
+
}
|
|
56
|
+
if (x > 0) {
|
|
57
|
+
return Math.floor(x);
|
|
58
|
+
}
|
|
59
|
+
return Math.ceil(x);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
62
|
if (typeof Math.log10 === 'undefined') {
|
|
63
63
|
Math.log10 = function (x) {
|
|
64
64
|
return Math.log(x) * Math.LOG10E;
|