@solibo/solibo-sdk 1.28.4 → 1.28.6
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/client.mjs +6 -0
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +11116 -10912
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +23 -3
- package/solibo-sdk-sdk.mjs +11 -11
- package/solibo-sdk-sdk.mjs.map +1 -1
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -7672,6 +7672,7 @@ export interface DocumentProps {
|
|
|
7672
7672
|
deletedByClientUserId?: bigint | null | undefined;
|
|
7673
7673
|
deletedByClientUserName?: string | null | undefined;
|
|
7674
7674
|
deletedByName?: string | null | undefined;
|
|
7675
|
+
editableInOffice?: boolean | null | undefined;
|
|
7675
7676
|
fileName: string;
|
|
7676
7677
|
historicPath?: string | null | undefined;
|
|
7677
7678
|
historicType?: DocumentType | null | undefined;
|
|
@@ -7691,7 +7692,7 @@ export interface DocumentProps {
|
|
|
7691
7692
|
}
|
|
7692
7693
|
export declare class Document {
|
|
7693
7694
|
constructor(props: DocumentProps);
|
|
7694
|
-
constructor(belongsToId: bigint | null | undefined, children: Document[] | null | undefined, companyId: bigint, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByAvatar: PersonAvatar | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, createdByName: string | null | undefined, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletedBy: bigint | null | undefined, deletedByClientUserId: bigint | null | undefined, deletedByClientUserName: string | null | undefined, deletedByName: string | null | undefined, fileName: string, historicPath: string | null | undefined, historicType: DocumentType | null | undefined, id: bigint, isDirectory: boolean | null | undefined, ownedByUser: boolean | null | undefined, parentId: bigint | null | undefined, searchMatch: DocumentSearchMatch | null | undefined, sizeBytes: bigint | null | undefined, sourceDocumentId: bigint | null | undefined, type: DocumentType, updatedAt?: SoliboInstant /* Instant */ | null | undefined, updatedBy?: bigint | null | undefined, updatedByClientUserId?: bigint | null | undefined, updatedByClientUserName?: string | null | undefined, updatedByName?: string | null | undefined);
|
|
7695
|
+
constructor(belongsToId: bigint | null | undefined, children: Document[] | null | undefined, companyId: bigint, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByAvatar: PersonAvatar | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, createdByName: string | null | undefined, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletedBy: bigint | null | undefined, deletedByClientUserId: bigint | null | undefined, deletedByClientUserName: string | null | undefined, deletedByName: string | null | undefined, editableInOffice: boolean | null | undefined, fileName: string, historicPath: string | null | undefined, historicType: DocumentType | null | undefined, id: bigint, isDirectory: boolean | null | undefined, ownedByUser: boolean | null | undefined, parentId: bigint | null | undefined, searchMatch: DocumentSearchMatch | null | undefined, sizeBytes: bigint | null | undefined, sourceDocumentId: bigint | null | undefined, type: DocumentType, updatedAt?: SoliboInstant /* Instant */ | null | undefined, updatedBy?: bigint | null | undefined, updatedByClientUserId?: bigint | null | undefined, updatedByClientUserName?: string | null | undefined, updatedByName?: string | null | undefined);
|
|
7695
7696
|
get belongsToId(): bigint | null | undefined;
|
|
7696
7697
|
get children(): Document[] | null | undefined;
|
|
7697
7698
|
get companyId(): bigint;
|
|
@@ -7706,6 +7707,7 @@ export declare class Document {
|
|
|
7706
7707
|
get deletedByClientUserId(): bigint | null | undefined;
|
|
7707
7708
|
get deletedByClientUserName(): string | null | undefined;
|
|
7708
7709
|
get deletedByName(): string | null | undefined;
|
|
7710
|
+
get editableInOffice(): boolean | null | undefined;
|
|
7709
7711
|
get fileName(): string;
|
|
7710
7712
|
get historicPath(): string | null | undefined;
|
|
7711
7713
|
get historicType(): DocumentType | null | undefined;
|
|
@@ -14548,6 +14550,20 @@ export declare namespace Office365EditSessionActorKind {
|
|
|
14548
14550
|
}
|
|
14549
14551
|
}
|
|
14550
14552
|
}
|
|
14553
|
+
export interface Office365EditSessionConflictProps {
|
|
14554
|
+
code: string;
|
|
14555
|
+
}
|
|
14556
|
+
export declare class Office365EditSessionConflict {
|
|
14557
|
+
constructor(props: Office365EditSessionConflictProps);
|
|
14558
|
+
constructor(code: string);
|
|
14559
|
+
get code(): string;
|
|
14560
|
+
}
|
|
14561
|
+
export declare namespace Office365EditSessionConflict {
|
|
14562
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
14563
|
+
namespace $metadata$ {
|
|
14564
|
+
const constructor: abstract new () => Office365EditSessionConflict;
|
|
14565
|
+
}
|
|
14566
|
+
}
|
|
14551
14567
|
export interface Office365InternalDocumentPublishRequestProps {
|
|
14552
14568
|
requestId: bigint;
|
|
14553
14569
|
state: string;
|
|
@@ -15400,12 +15416,13 @@ export interface OwnerChangeSectionCommandProps {
|
|
|
15400
15416
|
note?: string | null | undefined;
|
|
15401
15417
|
outIds?: bigint[] | null | undefined;
|
|
15402
15418
|
outOrgs?: string[] | null | undefined;
|
|
15419
|
+
price?: bigint | null | undefined;
|
|
15403
15420
|
removeContactPersons?: boolean | null | undefined;
|
|
15404
15421
|
sendNotification?: boolean | null | undefined;
|
|
15405
15422
|
}
|
|
15406
15423
|
export declare class OwnerChangeSectionCommand {
|
|
15407
15424
|
constructor(props: OwnerChangeSectionCommandProps);
|
|
15408
|
-
constructor(amount: bigint | null | undefined, at: SoliboInstant /* Instant */, inIds?: bigint[] | null | undefined, inNew?: CreatePersonOwner[] | null | undefined, inNewOrgs?: CreateOrganizationOwner[] | null | undefined, inOrgs?: string[] | null | undefined, note?: string | null | undefined, outIds?: bigint[] | null | undefined, outOrgs?: string[] | null | undefined, removeContactPersons?: boolean | null | undefined, sendNotification?: boolean | null | undefined);
|
|
15425
|
+
constructor(amount: bigint | null | undefined, at: SoliboInstant /* Instant */, inIds?: bigint[] | null | undefined, inNew?: CreatePersonOwner[] | null | undefined, inNewOrgs?: CreateOrganizationOwner[] | null | undefined, inOrgs?: string[] | null | undefined, note?: string | null | undefined, outIds?: bigint[] | null | undefined, outOrgs?: string[] | null | undefined, price?: bigint | null | undefined, removeContactPersons?: boolean | null | undefined, sendNotification?: boolean | null | undefined);
|
|
15409
15426
|
get amount(): bigint | null | undefined;
|
|
15410
15427
|
get at(): SoliboInstant /* Instant */;
|
|
15411
15428
|
get inIds(): bigint[] | null | undefined;
|
|
@@ -15415,6 +15432,7 @@ export declare class OwnerChangeSectionCommand {
|
|
|
15415
15432
|
get note(): string | null | undefined;
|
|
15416
15433
|
get outIds(): bigint[] | null | undefined;
|
|
15417
15434
|
get outOrgs(): string[] | null | undefined;
|
|
15435
|
+
get price(): bigint | null | undefined;
|
|
15418
15436
|
get removeContactPersons(): boolean | null | undefined;
|
|
15419
15437
|
get sendNotification(): boolean | null | undefined;
|
|
15420
15438
|
}
|
|
@@ -15431,17 +15449,19 @@ export interface OwnershipChangeProps {
|
|
|
15431
15449
|
invoiceRecipientId?: bigint | null | undefined;
|
|
15432
15450
|
invoiceRecipientType?: CustomerType | null | undefined;
|
|
15433
15451
|
note?: string | null | undefined;
|
|
15452
|
+
price?: bigint | null | undefined;
|
|
15434
15453
|
roles: OwnershipChangeRoleProps[];
|
|
15435
15454
|
}
|
|
15436
15455
|
export declare class OwnershipChange {
|
|
15437
15456
|
constructor(props: OwnershipChangeProps);
|
|
15438
|
-
constructor(amount: bigint | null | undefined, changeAt: SoliboInstant /* Instant */, id: bigint, invoiceRecipientId: bigint | null | undefined, invoiceRecipientType: CustomerType | null | undefined, note: string | null | undefined, roles: OwnershipChangeRole[]);
|
|
15457
|
+
constructor(amount: bigint | null | undefined, changeAt: SoliboInstant /* Instant */, id: bigint, invoiceRecipientId: bigint | null | undefined, invoiceRecipientType: CustomerType | null | undefined, note: string | null | undefined, price: bigint | null | undefined, roles: OwnershipChangeRole[]);
|
|
15439
15458
|
get amount(): bigint | null | undefined;
|
|
15440
15459
|
get changeAt(): SoliboInstant /* Instant */;
|
|
15441
15460
|
get id(): bigint;
|
|
15442
15461
|
get invoiceRecipientId(): bigint | null | undefined;
|
|
15443
15462
|
get invoiceRecipientType(): CustomerType | null | undefined;
|
|
15444
15463
|
get note(): string | null | undefined;
|
|
15464
|
+
get price(): bigint | null | undefined;
|
|
15445
15465
|
get roles(): OwnershipChangeRole[];
|
|
15446
15466
|
}
|
|
15447
15467
|
export declare namespace OwnershipChange {
|
package/solibo-sdk-sdk.mjs
CHANGED
|
@@ -7936,8 +7936,8 @@ function HomeApi$clientConfigurator$lambda$lambda_11(this$0, $platformName) {
|
|
|
7936
7936
|
}
|
|
7937
7937
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
7938
7938
|
header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
|
|
7939
|
-
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.28.
|
|
7940
|
-
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.28.
|
|
7939
|
+
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.28.6 (' + $platformName + ')');
|
|
7940
|
+
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.28.6');
|
|
7941
7941
|
return Unit_instance;
|
|
7942
7942
|
};
|
|
7943
7943
|
}
|
|
@@ -20232,7 +20232,7 @@ function MockBackend$registerHandlers$lambda_97(this$0) {
|
|
|
20232
20232
|
tmp = false;
|
|
20233
20233
|
}
|
|
20234
20234
|
var inTitle = tmp;
|
|
20235
|
-
var tmp$ret$6 = item.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, inTitle ? new DocumentSearchMatch(listOf_0(DocumentSearchField_TITLE_getInstance())) : null);
|
|
20235
|
+
var tmp$ret$6 = item.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, inTitle ? new DocumentSearchMatch(listOf_0(DocumentSearchField_TITLE_getInstance())) : null);
|
|
20236
20236
|
destination_0.add_utx5q5_k$(tmp$ret$6);
|
|
20237
20237
|
}
|
|
20238
20238
|
var items = destination_0;
|
|
@@ -20422,7 +20422,7 @@ function MockBackend$registerHandlers$lambda_106(this$0) {
|
|
|
20422
20422
|
var id = _unary__edvuaz;
|
|
20423
20423
|
var tmp0_type = DocumentType_OTHER_getInstance();
|
|
20424
20424
|
var tmp1_createdAt = Companion_getInstance_1().fromEpochSeconds$default_a0tgtu_k$(nowSeconds(this$0));
|
|
20425
|
-
var doc = new Document(VOID, VOID, companyId, tmp1_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_type);
|
|
20425
|
+
var doc = new Document(VOID, VOID, companyId, tmp1_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_type);
|
|
20426
20426
|
// Inline function 'kotlin.collections.set' call
|
|
20427
20427
|
this$0.documents.put_4fpzoq_k$(id, doc);
|
|
20428
20428
|
// Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
|
|
@@ -20475,7 +20475,7 @@ function MockBackend$registerHandlers$lambda_107(this$0) {
|
|
|
20475
20475
|
this$0.nextDocumentId_1 = add(_unary__edvuaz, get_ONE());
|
|
20476
20476
|
var id = _unary__edvuaz;
|
|
20477
20477
|
var tmp0_createdAt = Companion_getInstance_1().fromEpochSeconds$default_a0tgtu_k$(nowSeconds(this$0));
|
|
20478
|
-
var doc = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, docType);
|
|
20478
|
+
var doc = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, docType);
|
|
20479
20479
|
// Inline function 'kotlin.collections.set' call
|
|
20480
20480
|
this$0.documents.put_4fpzoq_k$(id, doc);
|
|
20481
20481
|
// Inline function 'no.solibo.oss.sdk.api.MockBackend.respondSlingshot' call
|
|
@@ -20529,7 +20529,7 @@ function MockBackend$registerHandlers$lambda_108(this$0) {
|
|
|
20529
20529
|
this$0.nextDocumentId_1 = add(_unary__edvuaz, get_ONE());
|
|
20530
20530
|
var id = _unary__edvuaz;
|
|
20531
20531
|
var tmp0_createdAt = Companion_getInstance_1().fromEpochSeconds$default_a0tgtu_k$(nowSeconds(this$0));
|
|
20532
|
-
var doc = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, docType);
|
|
20532
|
+
var doc = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'New Document', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, docType);
|
|
20533
20533
|
// Inline function 'kotlin.collections.set' call
|
|
20534
20534
|
this$0.documents.put_4fpzoq_k$(id, doc);
|
|
20535
20535
|
// Inline function 'no.solibo.oss.sdk.api.MockBackend.respondSlingshot' call
|
|
@@ -27189,7 +27189,7 @@ function MockBackend$registerHandlers$lambda_354(this$0) {
|
|
|
27189
27189
|
if (tmp0_elvis_lhs == null) {
|
|
27190
27190
|
var tmp1_createdAt = Companion_getInstance_1().fromEpochSeconds$default_a0tgtu_k$(nowSeconds(this$0));
|
|
27191
27191
|
var tmp2_type = DocumentType_OTHER_getInstance();
|
|
27192
|
-
tmp = new Document(VOID, VOID, companyId, tmp1_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_type);
|
|
27192
|
+
tmp = new Document(VOID, VOID, companyId, tmp1_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_type);
|
|
27193
27193
|
} else {
|
|
27194
27194
|
tmp = tmp0_elvis_lhs;
|
|
27195
27195
|
}
|
|
@@ -27230,7 +27230,7 @@ function MockBackend$registerHandlers$lambda_354(this$0) {
|
|
|
27230
27230
|
}
|
|
27231
27231
|
var body = tmp_2;
|
|
27232
27232
|
var tmp3_elvis_lhs = body.get_wei43m_k$('name');
|
|
27233
|
-
var renamed = doc.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_elvis_lhs == null ? doc.fileName : tmp3_elvis_lhs);
|
|
27233
|
+
var renamed = doc.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_elvis_lhs == null ? doc.fileName : tmp3_elvis_lhs);
|
|
27234
27234
|
// Inline function 'kotlin.collections.set' call
|
|
27235
27235
|
this$0.documents.put_4fpzoq_k$(id, renamed);
|
|
27236
27236
|
// Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
|
|
@@ -27264,7 +27264,7 @@ function MockBackend$registerHandlers$lambda_356(this$0) {
|
|
|
27264
27264
|
if (value == null) {
|
|
27265
27265
|
var tmp0_createdAt = Companion_getInstance_1().fromEpochSeconds$default_a0tgtu_k$(nowSeconds(this$0));
|
|
27266
27266
|
var tmp1_type = DocumentType_OTHER_getInstance();
|
|
27267
|
-
var answer = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_type);
|
|
27267
|
+
var answer = new Document(VOID, VOID, companyId, tmp0_createdAt, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_type);
|
|
27268
27268
|
this_0.put_4fpzoq_k$(id, answer);
|
|
27269
27269
|
tmp = answer;
|
|
27270
27270
|
} else {
|
|
@@ -30983,7 +30983,7 @@ protoOf(MockBackend).prefillResources = function () {
|
|
|
30983
30983
|
var tmp0_7 = this.documents;
|
|
30984
30984
|
var tmp9_type = DocumentType_OTHER_getInstance();
|
|
30985
30985
|
// Inline function 'kotlin.collections.set' call
|
|
30986
|
-
var value_7 = new Document(VOID, VOID, companyId, now, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, 1n, VOID, VOID, VOID, VOID, VOID, VOID, tmp9_type);
|
|
30986
|
+
var value_7 = new Document(VOID, VOID, companyId, now, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, 'mock.pdf', VOID, VOID, 1n, VOID, VOID, VOID, VOID, VOID, VOID, tmp9_type);
|
|
30987
30987
|
tmp0_7.put_4fpzoq_k$(1n, value_7);
|
|
30988
30988
|
var tmp0_8 = this.insurancesPerCompany;
|
|
30989
30989
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -42537,7 +42537,7 @@ function SoliboOpenTelemetry() {
|
|
|
42537
42537
|
}
|
|
42538
42538
|
protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
|
|
42539
42539
|
var tmp0_elvis_lhs = this.installed_1;
|
|
42540
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.28.
|
|
42540
|
+
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.28.6');
|
|
42541
42541
|
};
|
|
42542
42542
|
var SoliboOpenTelemetry_instance;
|
|
42543
42543
|
function SoliboOpenTelemetry_getInstance() {
|