@solibo/solibo-sdk 1.1.13 → 1.1.14
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-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/kotlin-kotlin-stdlib.mjs +18 -18
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +750 -750
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +1 -1
- package/solibo-sdk-sdk.mjs +25 -25
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -14846,7 +14846,6 @@ export declare class AuthApi extends ApiClient.$metadata$.constructor {
|
|
|
14846
14846
|
indexUserDevices(): Promise<HttpResponse<KtList<Device>>>;
|
|
14847
14847
|
refreshTokens(refreshTokensCommand: RefreshTokensCommand): Promise<HttpResponse<SoliboAuthentication>>;
|
|
14848
14848
|
registerFCMDeviceForUser(registerDeviceCommand: RegisterDeviceCommand): Promise<HttpResponse<void>>;
|
|
14849
|
-
reportPushNotificationRead(companyId: bigint, trackingId: string): Promise<HttpResponse<void>>;
|
|
14850
14849
|
revokeTokens(clientId?: string | null | undefined, deviceKey?: string | null | undefined, deviceKeyGroup?: string | null | undefined, userId?: string | null | undefined, refreshToken?: string | null | undefined): Promise<HttpResponse<void>>;
|
|
14851
14850
|
verifyCreateTOTPMfa(verifyAssociateTotpMfaCommand: VerifyAssociateTotpMfaCommand): Promise<HttpResponse<SoftwareTokenAssociation>>;
|
|
14852
14851
|
verifySMSMfa(verifyMfaCommand: VerifyMfaCommand): Promise<HttpResponse<SoliboAuthentication>>;
|
|
@@ -14892,6 +14891,7 @@ export declare class CommunicationApi extends ApiClient.$metadata$.constructor {
|
|
|
14892
14891
|
indexSMSPurchases(companyId: bigint): Promise<HttpResponse<KtList<SMSBundlePurchase>>>;
|
|
14893
14892
|
publishEmailNewsletter(companyId: bigint, newsletterId: bigint): Promise<HttpResponse<Newsletter>>;
|
|
14894
14893
|
publishSMSBroadcast(companyId: bigint, broadcastId: bigint, purchaseBundleId?: bigint | null | undefined): Promise<HttpResponse<SMSBroadcast>>;
|
|
14894
|
+
reportPushNotificationRead(companyId: bigint, trackingId: string): Promise<HttpResponse<void>>;
|
|
14895
14895
|
showCommunicationReport(companyId: bigint, communicationType: string, communicationId: bigint, reportType: string): Promise<HttpResponse<CommunicationReport>>;
|
|
14896
14896
|
showEmailNewsletter(companyId: bigint, newsletterId: bigint): Promise<HttpResponse<Newsletter>>;
|
|
14897
14897
|
showSMSAvailable(companyId: bigint): Promise<HttpResponse<SMSCount>>;
|
package/solibo-sdk-sdk.mjs
CHANGED
|
@@ -2240,7 +2240,7 @@ protoOf($refreshCOROUTINE$).t9 = function () {
|
|
|
2240
2240
|
} else {
|
|
2241
2241
|
tmp_1 = tmp0_elvis_lhs_0;
|
|
2242
2242
|
}
|
|
2243
|
-
suspendResult = tmp_0.
|
|
2243
|
+
suspendResult = tmp_0.na3(new RefreshTokensCommand(tmp_1, VOID, fingerprint), this);
|
|
2244
2244
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2245
2245
|
return suspendResult;
|
|
2246
2246
|
}
|
|
@@ -2344,7 +2344,7 @@ protoOf($refreshCOROUTINE$).t9 = function () {
|
|
|
2344
2344
|
var tmp3_refreshToken = tmp0_elvis_lhs_2 == null ? ensureNotNull(this.mpd_1.ho5_1) : tmp0_elvis_lhs_2;
|
|
2345
2345
|
var tmp4_userId = ensureNotNull(this.qpd_1.userId);
|
|
2346
2346
|
var tmp5_deviceKey = this.qpd_1.dpa_1.key(ensureNotNull(this.qpd_1.userId));
|
|
2347
|
-
suspendResult = tmp_13.
|
|
2347
|
+
suspendResult = tmp_13.na3(new RefreshTokensCommand(tmp1_clientId, tmp5_deviceKey, tmp2_fingerprint, tmp3_refreshToken, tmp4_userId), this);
|
|
2348
2348
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2349
2349
|
return suspendResult;
|
|
2350
2350
|
}
|
|
@@ -2712,7 +2712,7 @@ protoOf($revokeCOROUTINE$).t9 = function () {
|
|
|
2712
2712
|
var tmp1_clientId = ensureNotNull(this.npe_1.clientId);
|
|
2713
2713
|
var tmp2_userId = this.npe_1.userId;
|
|
2714
2714
|
this.l9_1 = 1;
|
|
2715
|
-
suspendResult = tmp0_$this.
|
|
2715
|
+
suspendResult = tmp0_$this.pa3(tmp1_clientId, this.ope_1, this.ppe_1, tmp2_userId, tmp0_safe_receiver, this);
|
|
2716
2716
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2717
2717
|
return suspendResult;
|
|
2718
2718
|
}
|
|
@@ -11216,7 +11216,7 @@ protoOf($directAuthCOROUTINE$).t9 = function () {
|
|
|
11216
11216
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.qpl_1 : null;
|
|
11217
11217
|
var command = new CreateTokensCommand(tmp0_clientId, this.spl_1, tmp1_email, fingerprint, tmp2_mobile, this.rpl_1);
|
|
11218
11218
|
this.l9_1 = 1;
|
|
11219
|
-
suspendResult = this_0.api.auth.
|
|
11219
|
+
suspendResult = this_0.api.auth.ga3(command, this);
|
|
11220
11220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11221
11221
|
return suspendResult;
|
|
11222
11222
|
}
|
|
@@ -11332,7 +11332,7 @@ protoOf($startLoginCOROUTINE$).t9 = function () {
|
|
|
11332
11332
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.fpm_1 : null;
|
|
11333
11333
|
var command = new CreateTokensCommand(tmp0_clientId, this.hpm_1, tmp1_email, fingerprint, tmp2_mobile, VOID, this.gpm_1);
|
|
11334
11334
|
this.l9_1 = 1;
|
|
11335
|
-
suspendResult = this_0.api.auth.
|
|
11335
|
+
suspendResult = this_0.api.auth.ga3(command, this);
|
|
11336
11336
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11337
11337
|
return suspendResult;
|
|
11338
11338
|
}
|
|
@@ -11445,7 +11445,7 @@ protoOf($verifySrpCOROUTINE$).t9 = function () {
|
|
|
11445
11445
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.tpm_1 : null;
|
|
11446
11446
|
var command = new VerifySrpCommand(tmp0_clientId, this.xpm_1, tmp1_email, fingerprint, tmp2_mobile, this.upm_1, this.vpm_1, this.wpm_1);
|
|
11447
11447
|
this.l9_1 = 1;
|
|
11448
|
-
suspendResult = this_0.api.auth.
|
|
11448
|
+
suspendResult = this_0.api.auth.ka3(command, this);
|
|
11449
11449
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11450
11450
|
return suspendResult;
|
|
11451
11451
|
}
|
|
@@ -11613,7 +11613,7 @@ protoOf($startDeviceLoginCOROUTINE$).t9 = function () {
|
|
|
11613
11613
|
var tmp4_fingerprint = getFingerprint(this_0, this_0.fingerprinter, ensureNotNull(this_0.userId()));
|
|
11614
11614
|
var command = new DeviceSrpCommand(tmp0_clientId, tmp3_deviceKey, tmp1_email, tmp4_fingerprint, tmp2_mobile, this.ppn_1, this.opn_1);
|
|
11615
11615
|
this.l9_1 = 1;
|
|
11616
|
-
suspendResult = this_0.api.auth.
|
|
11616
|
+
suspendResult = this_0.api.auth.za2(command, this);
|
|
11617
11617
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11618
11618
|
return suspendResult;
|
|
11619
11619
|
}
|
|
@@ -11727,7 +11727,7 @@ protoOf($verifyDeviceSrpCOROUTINE$).t9 = function () {
|
|
|
11727
11727
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.bpo_1 : null;
|
|
11728
11728
|
var command = new DeviceVerifySrpCommand(tmp0_clientId, deviceKey, tmp1_email, fingerprint, tmp2_mobile, this.dpo_1, this.epo_1, this.cpo_1, this.fpo_1);
|
|
11729
11729
|
this.l9_1 = 1;
|
|
11730
|
-
suspendResult = this_0.api.auth.
|
|
11730
|
+
suspendResult = this_0.api.auth.aa3(command, this);
|
|
11731
11731
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11732
11732
|
return suspendResult;
|
|
11733
11733
|
}
|
|
@@ -11976,7 +11976,7 @@ protoOf($loginByCodeCOROUTINE$).t9 = function () {
|
|
|
11976
11976
|
var tmp0_clientId = ensureNotNull(this_0.api.clientId);
|
|
11977
11977
|
var command = new ConfirmMagicEmailCommand(tmp0_clientId, this.spt_1, deviceKey, this.rpt_1, fingerprint, session);
|
|
11978
11978
|
this.l9_1 = 9;
|
|
11979
|
-
suspendResult = this_0.api.auth.
|
|
11979
|
+
suspendResult = this_0.api.auth.va2(command, this);
|
|
11980
11980
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11981
11981
|
return suspendResult;
|
|
11982
11982
|
}
|
|
@@ -11998,7 +11998,7 @@ protoOf($loginByCodeCOROUTINE$).t9 = function () {
|
|
|
11998
11998
|
var tmp3_session = tmp_3;
|
|
11999
11999
|
var command_0 = new ConfirmMagicSmsCommand(tmp2_clientId, this.spt_1, deviceKey, fingerprint, this.rpt_1, tmp3_session);
|
|
12000
12000
|
this.l9_1 = 1;
|
|
12001
|
-
suspendResult = this_1.api.auth.
|
|
12001
|
+
suspendResult = this_1.api.auth.xa2(command_0, this);
|
|
12002
12002
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
12003
12003
|
return suspendResult;
|
|
12004
12004
|
}
|
|
@@ -12421,7 +12421,7 @@ protoOf($loginByOAuthCOROUTINE$).t9 = function () {
|
|
|
12421
12421
|
this.m9_1 = 3;
|
|
12422
12422
|
this.opv_1 = Companion_instance;
|
|
12423
12423
|
this.l9_1 = 1;
|
|
12424
|
-
suspendResult = this_0.api.auth.
|
|
12424
|
+
suspendResult = this_0.api.auth.ia3(this.fpv_1, this.gpv_1, this);
|
|
12425
12425
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
12426
12426
|
return suspendResult;
|
|
12427
12427
|
}
|
|
@@ -12726,7 +12726,7 @@ protoOf($verifySMSMfaCOROUTINE$).t9 = function () {
|
|
|
12726
12726
|
this.m9_1 = 3;
|
|
12727
12727
|
this.ypw_1 = Companion_instance;
|
|
12728
12728
|
this.l9_1 = 1;
|
|
12729
|
-
suspendResult = this_1.api.auth.
|
|
12729
|
+
suspendResult = this_1.api.auth.sa3(command, this);
|
|
12730
12730
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
12731
12731
|
return suspendResult;
|
|
12732
12732
|
}
|
|
@@ -13038,7 +13038,7 @@ protoOf($verifyTOTPMfaCOROUTINE$).t9 = function () {
|
|
|
13038
13038
|
this.m9_1 = 3;
|
|
13039
13039
|
this.ipy_1 = Companion_instance;
|
|
13040
13040
|
this.l9_1 = 1;
|
|
13041
|
-
suspendResult = this_1.api.auth.
|
|
13041
|
+
suspendResult = this_1.api.auth.ta3(command, this);
|
|
13042
13042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13043
13043
|
return suspendResult;
|
|
13044
13044
|
}
|
|
@@ -13350,7 +13350,7 @@ protoOf($verifyEmailMfaCOROUTINE$).t9 = function () {
|
|
|
13350
13350
|
this.m9_1 = 3;
|
|
13351
13351
|
this.spz_1 = Companion_instance;
|
|
13352
13352
|
this.l9_1 = 1;
|
|
13353
|
-
suspendResult = this_1.api.auth.
|
|
13353
|
+
suspendResult = this_1.api.auth.sa3(command, this);
|
|
13354
13354
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13355
13355
|
return suspendResult;
|
|
13356
13356
|
}
|
|
@@ -13662,7 +13662,7 @@ protoOf($verifyEmailOtpCOROUTINE$).t9 = function () {
|
|
|
13662
13662
|
this.m9_1 = 3;
|
|
13663
13663
|
this.cq1_1 = Companion_instance;
|
|
13664
13664
|
this.l9_1 = 1;
|
|
13665
|
-
suspendResult = this_1.api.auth.
|
|
13665
|
+
suspendResult = this_1.api.auth.sa3(command, this);
|
|
13666
13666
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13667
13667
|
return suspendResult;
|
|
13668
13668
|
}
|
|
@@ -13924,7 +13924,7 @@ protoOf($createTOTPMfaCOROUTINE$).t9 = function () {
|
|
|
13924
13924
|
var finalSession = tmp_0;
|
|
13925
13925
|
var command = new AssociateTotpMfaCommand(ensureNotNull(this.xq1_1.api.clientId), finalSession);
|
|
13926
13926
|
this.l9_1 = 1;
|
|
13927
|
-
suspendResult = this.xq1_1.api.auth.
|
|
13927
|
+
suspendResult = this.xq1_1.api.auth.fa3(command, this);
|
|
13928
13928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13929
13929
|
return suspendResult;
|
|
13930
13930
|
}
|
|
@@ -14046,7 +14046,7 @@ protoOf($verifyCreateTOTPMfaCOROUTINE$).t9 = function () {
|
|
|
14046
14046
|
var tmp3_clientId = ensureNotNull(this.vq2_1.api.clientId);
|
|
14047
14047
|
var command = new VerifyAssociateTotpMfaCommand(tmp3_clientId, this.wq2_1, this.xq2_1, finalSession);
|
|
14048
14048
|
this.l9_1 = 1;
|
|
14049
|
-
suspendResult = this.vq2_1.api.auth.
|
|
14049
|
+
suspendResult = this.vq2_1.api.auth.ra3(command, this);
|
|
14050
14050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14051
14051
|
return suspendResult;
|
|
14052
14052
|
}
|
|
@@ -14145,7 +14145,7 @@ protoOf($createMfaPreferenceCOROUTINE$).t9 = function () {
|
|
|
14145
14145
|
this.m9_1 = 2;
|
|
14146
14146
|
var command = new MfaPreferenceCommand(ensureNotNull(this.tq3_1.api.clientId), this.uq3_1);
|
|
14147
14147
|
this.l9_1 = 1;
|
|
14148
|
-
suspendResult = this.tq3_1.api.auth.
|
|
14148
|
+
suspendResult = this.tq3_1.api.auth.ba3(command, this);
|
|
14149
14149
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14150
14150
|
return suspendResult;
|
|
14151
14151
|
}
|
|
@@ -14287,7 +14287,7 @@ protoOf($createMfaSelectionCOROUTINE$).t9 = function () {
|
|
|
14287
14287
|
var tmp10_mobile = equals(loginType, LoginType_MOBILE_getInstance()) ? finalLogin : null;
|
|
14288
14288
|
var command = new MfaSelectionCommand(tmp8_clientId, deviceKey, tmp9_email, fingerprint, this.sq4_1, tmp10_mobile, finalSession);
|
|
14289
14289
|
this.l9_1 = 1;
|
|
14290
|
-
suspendResult = this.rq4_1.api.auth.
|
|
14290
|
+
suspendResult = this.rq4_1.api.auth.ca3(command, this);
|
|
14291
14291
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14292
14292
|
return suspendResult;
|
|
14293
14293
|
}
|
|
@@ -14427,7 +14427,7 @@ protoOf($createMfaSelectionConfirmationCOROUTINE$).t9 = function () {
|
|
|
14427
14427
|
var tmp10_mobile = equals(loginType, LoginType_MOBILE_getInstance()) ? finalLogin : null;
|
|
14428
14428
|
var command = new MfaConfirmationCommand(tmp8_clientId, deviceKey, tmp9_email, fingerprint, tmp10_mobile, finalSession);
|
|
14429
14429
|
this.l9_1 = 1;
|
|
14430
|
-
suspendResult = this.qq5_1.api.auth.
|
|
14430
|
+
suspendResult = this.qq5_1.api.auth.da3(command, this);
|
|
14431
14431
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14432
14432
|
return suspendResult;
|
|
14433
14433
|
}
|
|
@@ -14614,7 +14614,7 @@ protoOf($forgotPasswordCOROUTINE$).t9 = function () {
|
|
|
14614
14614
|
var tmp0_clientId = ensureNotNull(this_0.api.clientId);
|
|
14615
14615
|
var tmp1_email = loginType.equals(LoginType_EMAIL_getInstance()) ? this.oq6_1 : null;
|
|
14616
14616
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.oq6_1 : null;
|
|
14617
|
-
suspendResult = tmp_0.
|
|
14617
|
+
suspendResult = tmp_0.ea3(new CreateResetPasswordCommand(tmp0_clientId, tmp1_email, fingerprint, tmp2_mobile), this);
|
|
14618
14618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14619
14619
|
return suspendResult;
|
|
14620
14620
|
}
|
|
@@ -14767,7 +14767,7 @@ protoOf($confirmNewPasswordCOROUTINE$).t9 = function () {
|
|
|
14767
14767
|
var tmp0_clientId = ensureNotNull(this_0.api.clientId);
|
|
14768
14768
|
var tmp1_email = loginType.equals(LoginType_EMAIL_getInstance()) ? this.oq7_1 : null;
|
|
14769
14769
|
var tmp2_mobile = loginType.equals(LoginType_MOBILE_getInstance()) ? this.oq7_1 : null;
|
|
14770
|
-
suspendResult = tmp_0.
|
|
14770
|
+
suspendResult = tmp_0.ua2(new ConfirmNewPasswordCommand(tmp0_clientId, this.qq7_1, VOID, tmp1_email, fingerprint, tmp2_mobile, this.pq7_1), this);
|
|
14771
14771
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14772
14772
|
return suspendResult;
|
|
14773
14773
|
}
|
|
@@ -15029,7 +15029,7 @@ protoOf($magicLoginCOROUTINE$).t9 = function () {
|
|
|
15029
15029
|
var tmp1_clientId = ensureNotNull(this.npp_1.api.clientId);
|
|
15030
15030
|
var cmd = new MagicEmailCommand(tmp1_clientId, this.kpp_1, this.jpp_1, fingerprint);
|
|
15031
15031
|
this.l9_1 = 3;
|
|
15032
|
-
suspendResult = this.npp_1.api.auth.
|
|
15032
|
+
suspendResult = this.npp_1.api.auth.ha3(cmd, this);
|
|
15033
15033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
15034
15034
|
return suspendResult;
|
|
15035
15035
|
}
|
|
@@ -15039,7 +15039,7 @@ protoOf($magicLoginCOROUTINE$).t9 = function () {
|
|
|
15039
15039
|
var tmp2_clientId = ensureNotNull(this.npp_1.api.clientId);
|
|
15040
15040
|
var cmd_0 = new MagicSMSCommand(tmp2_clientId, this.kpp_1, fingerprint, this.jpp_1);
|
|
15041
15041
|
this.l9_1 = 1;
|
|
15042
|
-
suspendResult = this.npp_1.api.auth.
|
|
15042
|
+
suspendResult = this.npp_1.api.auth.ja3(cmd_0, this);
|
|
15043
15043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
15044
15044
|
return suspendResult;
|
|
15045
15045
|
}
|
|
@@ -15361,7 +15361,7 @@ protoOf($registerTokenCOROUTINE$).t9 = function () {
|
|
|
15361
15361
|
this.l9_1 = 1;
|
|
15362
15362
|
var tmp_0 = this_0.api.auth;
|
|
15363
15363
|
var tmp0_deviceConfirmationRequest = !(this.tq9_1 == null) && !(this.uq9_1 == null);
|
|
15364
|
-
suspendResult = tmp_0.
|
|
15364
|
+
suspendResult = tmp_0.oa3(new RegisterDeviceCommand(tmp0_deviceConfirmationRequest, this.rq9_1, this.sq9_1, this.wq9_1, this.vq9_1, this.tq9_1, this.uq9_1), this);
|
|
15365
15365
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
15366
15366
|
return suspendResult;
|
|
15367
15367
|
}
|