@solibo/home-api 1.1.69 → 1.1.70
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/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 String.prototype.endsWith === 'undefined') {
|
|
63
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
64
64
|
var subjectString = this.toString();
|
package/package.json
CHANGED
|
@@ -10363,10 +10363,10 @@ export declare namespace SettlementType {
|
|
|
10363
10363
|
}
|
|
10364
10364
|
}
|
|
10365
10365
|
export declare class SoftwareTokenAssociation {
|
|
10366
|
-
constructor(secret: string, session
|
|
10366
|
+
constructor(secret: string, session?: Nullable<string>);
|
|
10367
10367
|
get secret(): string;
|
|
10368
|
-
get session(): string
|
|
10369
|
-
copy(secret?: string, session?: string): SoftwareTokenAssociation;
|
|
10368
|
+
get session(): Nullable<string>;
|
|
10369
|
+
copy(secret?: string, session?: Nullable<string>): SoftwareTokenAssociation;
|
|
10370
10370
|
toString(): string;
|
|
10371
10371
|
hashCode(): number;
|
|
10372
10372
|
equals(other: Nullable<any>): boolean;
|
|
@@ -100193,14 +100193,16 @@ function $serializer_364() {
|
|
|
100193
100193
|
$serializer_instance_364 = this;
|
|
100194
100194
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SoftwareTokenAssociation', this, 2);
|
|
100195
100195
|
tmp0_serialDesc.h23('secret', false);
|
|
100196
|
-
tmp0_serialDesc.h23('session',
|
|
100196
|
+
tmp0_serialDesc.h23('session', true);
|
|
100197
100197
|
this.z7r_1 = tmp0_serialDesc;
|
|
100198
100198
|
}
|
|
100199
100199
|
protoOf($serializer_364).a7s = function (encoder, value) {
|
|
100200
100200
|
var tmp0_desc = this.z7r_1;
|
|
100201
100201
|
var tmp1_output = encoder.t1v(tmp0_desc);
|
|
100202
100202
|
tmp1_output.h1x(tmp0_desc, 0, value.secret);
|
|
100203
|
-
tmp1_output.
|
|
100203
|
+
if (tmp1_output.o1x(tmp0_desc, 1) ? true : !(value.session == null)) {
|
|
100204
|
+
tmp1_output.k1x(tmp0_desc, 1, StringSerializer_getInstance(), value.session);
|
|
100205
|
+
}
|
|
100204
100206
|
tmp1_output.u1v(tmp0_desc);
|
|
100205
100207
|
};
|
|
100206
100208
|
protoOf($serializer_364).r1s = function (encoder, value) {
|
|
@@ -100217,7 +100219,7 @@ protoOf($serializer_364).s1s = function (decoder) {
|
|
|
100217
100219
|
if (tmp6_input.i1w()) {
|
|
100218
100220
|
tmp4_local0 = tmp6_input.d1w(tmp0_desc, 0);
|
|
100219
100221
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
100220
|
-
tmp5_local1 = tmp6_input.
|
|
100222
|
+
tmp5_local1 = tmp6_input.h1w(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
100221
100223
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
100222
100224
|
} else
|
|
100223
100225
|
while (tmp1_flag) {
|
|
@@ -100231,7 +100233,7 @@ protoOf($serializer_364).s1s = function (decoder) {
|
|
|
100231
100233
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
100232
100234
|
break;
|
|
100233
100235
|
case 1:
|
|
100234
|
-
tmp5_local1 = tmp6_input.
|
|
100236
|
+
tmp5_local1 = tmp6_input.h1w(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
100235
100237
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
100236
100238
|
break;
|
|
100237
100239
|
default:
|
|
@@ -100248,7 +100250,7 @@ protoOf($serializer_364).y23 = function () {
|
|
|
100248
100250
|
// Inline function 'kotlin.arrayOf' call
|
|
100249
100251
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
100250
100252
|
// Inline function 'kotlin.js.asDynamic' call
|
|
100251
|
-
return [StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
100253
|
+
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
100252
100254
|
};
|
|
100253
100255
|
var $serializer_instance_364;
|
|
100254
100256
|
function $serializer_getInstance_364() {
|
|
@@ -100257,17 +100259,21 @@ function $serializer_getInstance_364() {
|
|
|
100257
100259
|
return $serializer_instance_364;
|
|
100258
100260
|
}
|
|
100259
100261
|
function SoftwareTokenAssociation_init_$Init$(seen0, secret, session, serializationConstructorMarker, $this) {
|
|
100260
|
-
if (!(
|
|
100261
|
-
throwMissingFieldException(seen0,
|
|
100262
|
+
if (!(1 === (1 & seen0))) {
|
|
100263
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_364().z7r_1);
|
|
100262
100264
|
}
|
|
100263
100265
|
$this.secret = secret;
|
|
100264
|
-
|
|
100266
|
+
if (0 === (seen0 & 2))
|
|
100267
|
+
$this.session = null;
|
|
100268
|
+
else
|
|
100269
|
+
$this.session = session;
|
|
100265
100270
|
return $this;
|
|
100266
100271
|
}
|
|
100267
100272
|
function SoftwareTokenAssociation_init_$Create$(seen0, secret, session, serializationConstructorMarker) {
|
|
100268
100273
|
return SoftwareTokenAssociation_init_$Init$(seen0, secret, session, serializationConstructorMarker, objectCreate(protoOf(SoftwareTokenAssociation)));
|
|
100269
100274
|
}
|
|
100270
100275
|
function SoftwareTokenAssociation(secret, session) {
|
|
100276
|
+
session = session === VOID ? null : session;
|
|
100271
100277
|
this.secret = secret;
|
|
100272
100278
|
this.session = session;
|
|
100273
100279
|
}
|
|
@@ -100283,20 +100289,20 @@ protoOf(SoftwareTokenAssociation).se = function () {
|
|
|
100283
100289
|
protoOf(SoftwareTokenAssociation).te = function () {
|
|
100284
100290
|
return this.session;
|
|
100285
100291
|
};
|
|
100286
|
-
protoOf(SoftwareTokenAssociation).
|
|
100292
|
+
protoOf(SoftwareTokenAssociation).q5g = function (secret, session) {
|
|
100287
100293
|
return new SoftwareTokenAssociation(secret, session);
|
|
100288
100294
|
};
|
|
100289
100295
|
protoOf(SoftwareTokenAssociation).copy = function (secret, session, $super) {
|
|
100290
100296
|
secret = secret === VOID ? this.secret : secret;
|
|
100291
100297
|
session = session === VOID ? this.session : session;
|
|
100292
|
-
return $super === VOID ? this.
|
|
100298
|
+
return $super === VOID ? this.q5g(secret, session) : $super.q5g.call(this, secret, session);
|
|
100293
100299
|
};
|
|
100294
100300
|
protoOf(SoftwareTokenAssociation).toString = function () {
|
|
100295
100301
|
return 'SoftwareTokenAssociation(secret=' + this.secret + ', session=' + this.session + ')';
|
|
100296
100302
|
};
|
|
100297
100303
|
protoOf(SoftwareTokenAssociation).hashCode = function () {
|
|
100298
100304
|
var result = getStringHashCode(this.secret);
|
|
100299
|
-
result = imul(result, 31) + getStringHashCode(this.session) | 0;
|
|
100305
|
+
result = imul(result, 31) + (this.session == null ? 0 : getStringHashCode(this.session)) | 0;
|
|
100300
100306
|
return result;
|
|
100301
100307
|
};
|
|
100302
100308
|
protoOf(SoftwareTokenAssociation).equals = function (other) {
|
|
@@ -100306,7 +100312,7 @@ protoOf(SoftwareTokenAssociation).equals = function (other) {
|
|
|
100306
100312
|
return false;
|
|
100307
100313
|
if (!(this.secret === other.secret))
|
|
100308
100314
|
return false;
|
|
100309
|
-
if (!(this.session
|
|
100315
|
+
if (!(this.session == other.session))
|
|
100310
100316
|
return false;
|
|
100311
100317
|
return true;
|
|
100312
100318
|
};
|