@solibo/solibo-sdk 1.16.18 → 1.17.0
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/client.d.mts +27 -7
- package/client.mjs +70 -4
- package/kotlin-kotlin-stdlib.mjs +71 -70
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +12 -12
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/opentelemetry-kotlin-api.mjs +137 -0
- package/opentelemetry-kotlin-api.mjs.map +1 -0
- package/opentelemetry-kotlin-noop.mjs +281 -0
- package/opentelemetry-kotlin-noop.mjs.map +1 -0
- package/opentelemetry-kotlin-sdk-api.mjs +83 -0
- package/opentelemetry-kotlin-sdk-api.mjs.map +1 -0
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +9921 -8906
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +376 -183
- package/solibo-sdk-sdk.mjs +2331 -1725
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.d.mts
CHANGED
|
@@ -304,6 +304,8 @@ import type {
|
|
|
304
304
|
ExpiredType,
|
|
305
305
|
ExportResidentsCommand,
|
|
306
306
|
ExportResidentsCommandProps,
|
|
307
|
+
FailureKind,
|
|
308
|
+
FailureReason,
|
|
307
309
|
FcmDeviceType,
|
|
308
310
|
FilesDownload,
|
|
309
311
|
FinalizeCommunicationCommentDocumentCreateCommand,
|
|
@@ -886,12 +888,12 @@ export type SdkInput<T> =
|
|
|
886
888
|
T extends CompanyStatus ? CompanyStatus | "LEAD" | "ONBOARDING" | "IMPORTED" | "ACTIVE" | "INACTIVE" :
|
|
887
889
|
T extends CompanySubType ? CompanySubType | "GARAGE" :
|
|
888
890
|
T extends ContactSource ? ContactSource | "PRIVATE" | "ROLE_SCOPED" | "ORGANIZATION_EMPLOYEE" :
|
|
889
|
-
T extends ConversationEventType ? ConversationEventType | "NEW_PARTICIPANT" | "NEW_PARTICIPANT_CHILD" | "REMOVED_PARTICIPANT" | "REMOVED_PARTICIPANT_CHILD" | "LEFT_CONVERSATION" | "JOINED_CONVERSATION" | "STARTED_CONVERSATION" | "UPDATED_TITLE" | "UPDATED_CATEGORY" | "REMOVED_CATEGORY" | "COMPLETED" | "UPLOAD" | "DELETED_UPLOAD" | "BACK_TO_WORK" | "NEW_INQUIRY" | "ATTACH_TO_ISSUE" | "REMOVE_ATTACHMENT_TO_ISSUE" | "CREATED_ISSUE" :
|
|
891
|
+
T extends ConversationEventType ? ConversationEventType | "NEW_PARTICIPANT" | "NEW_PARTICIPANT_CHILD" | "REMOVED_PARTICIPANT" | "REMOVED_PARTICIPANT_CHILD" | "LEFT_CONVERSATION" | "JOINED_CONVERSATION" | "STARTED_CONVERSATION" | "UPDATED_TITLE" | "UPDATED_CATEGORY" | "REMOVED_CATEGORY" | "COMPLETED" | "UPLOAD" | "DELETED_UPLOAD" | "BACK_TO_WORK" | "NEW_INQUIRY" | "ATTACH_TO_ISSUE" | "REMOVE_ATTACHMENT_TO_ISSUE" | "CREATED_ISSUE" | "CLASSIFIED_AS_SPAM" | "MARKED_AS_SPAM" | "UNMARKED_AS_SPAM" :
|
|
890
892
|
T extends ConversationMessageSide ? ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE" :
|
|
891
893
|
T extends ConversationOrderBy ? ConversationOrderBy | "LATEST_ACTIVITY_AT" | "CONVERSATION_STARTED_AT" | "LATEST_MESSAGE_AT" | "LATEST_EVENT_AT" :
|
|
892
894
|
T extends ConversationOrderDirection ? ConversationOrderDirection | "ASC" | "DESC" :
|
|
893
895
|
T extends ConversationPushFallbackCadencePreset ? ConversationPushFallbackCadencePreset | "STANDARD" | "ACTIVE_PROJECT" :
|
|
894
|
-
T extends ConversationStatus ? ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" :
|
|
896
|
+
T extends ConversationStatus ? ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" | "SPAM" :
|
|
895
897
|
T extends CostReliefProgram ? CostReliefProgram | "NORGESPRIS" :
|
|
896
898
|
T extends CreateExternalCustomerCommandDiscriminator ? CreateExternalCustomerCommandDiscriminator | "solibo.economy.invoicing.command.CreateExternalOrganizationCustomerCommand" | "solibo.economy.invoicing.command.CreateExternalPersonCustomerCommand" :
|
|
897
899
|
T extends CreateResidentCommandDiscriminator ? CreateResidentCommandDiscriminator | "solibo.residents.command.CreateOrganizationResidentCommand" | "solibo.residents.command.CreatePersonResidentCommand" :
|
|
@@ -906,6 +908,7 @@ export type SdkInput<T> =
|
|
|
906
908
|
T extends ExpenseProcessingResult ? ExpenseProcessingResult | "APPROVED" | "REJECTED" :
|
|
907
909
|
T extends ExpenseStatus ? ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED" :
|
|
908
910
|
T extends ExpiredType ? ExpiredType | "NONE" | "FIRST" | "SECOND" :
|
|
911
|
+
T extends FailureReason ? FailureReason | "MALFORMED_REQUEST" | "NO_SESSION" | "CREDENTIAL_REJECTED" | "NO_PERSON" :
|
|
909
912
|
T extends FcmDeviceType ? FcmDeviceType | "ANDROID" | "IOS" | "WEB" | "UNKNOWN" :
|
|
910
913
|
T extends FractionRecipientType ? FractionRecipientType | "PERSON" | "ORGANIZATION" :
|
|
911
914
|
T extends FractionType ? FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" :
|
|
@@ -918,7 +921,7 @@ export type SdkInput<T> =
|
|
|
918
921
|
T extends InvoicePlanMode ? InvoicePlanMode | "INVOICE_DATE" | "DUE_DATE" :
|
|
919
922
|
T extends InvoicePlanType ? InvoicePlanType | "FELLESKOSTNADER" | "KAPITALINNKREVING" | "OTHER" :
|
|
920
923
|
T extends InvoiceProcessType ? InvoiceProcessType | "EFAKTURA" | "AVTALEGIRO" | "COMBO" | "COMBOAPI" | "EMAIL" | "DIGIPOST" | "DIGIPOST_PRINT" | "EHF" | "NONE" :
|
|
921
|
-
T extends InvoiceState ? InvoiceState | "UNKNOWN" | "INPUT_ACCEPTED" | "INPUT_REJECTED" | "FAILED_CREATE" | "CREATED" | "CREDITED" | "FAILED_PDF_PERSIST" | "PDF_PERSISTED" | "FAILED_VOUCHER_CREATE" | "VOUCHER_CREATED" | "FAILED_VOUCHER_PDF_PERSIST" | "VOUCHER_PDF_PERSISTED" | "FAILED_INVOICE_SEND" | "INVOICE_SENT_EHF" | "INVOICE_SENT_EFAKTURA" | "INVOICE_SENT_AVTALEGIRO" | "INVOICE_SENT_COMBO" | "INVOICE_SENT_ALTERNATIVE_DIGIPOST" | "INVOICE_SENT_ALTERNATIVE_EMAIL" | "INVOICE_SENT_NONE" | "FAILED_INVOICE_SEND_EHF" | "FAILED_INVOICE_SEND_KRAVIA" | "FAILED_INVOICE_SEND_ALTERNATIVE" | "FAILED_INVOICE_SEND_ALTERNATIVE_DIGIPOST" | "FAILED_INVOICE_SEND_ALTERNATIVE_EMAIL" | "FAILED_INVOICE_RECEIPT_RECEPTION" | "FAILED_INVOICE_EFAKTURA_RECEIPT_RECEPTION" | "FAILED_INVOICE_AVTALEGIRO_RECEIPT_RECEPTION" | "FAILED_PARTIAL_INVOICE_RECEIPT_RECEPTION" | "INVOICE_PROCESSING_FAILED" | "INVOICE_HANDED_OFF_TO_CUSTOMER_SERVICE" | "INVOICE_RECEIPT_RECEIVED" | "INVOICE_EHF_RECEIPT_RECEIVED" | "INVOICE_EFAKTURA_RECEIPT_RECEIVED" | "INVOICE_AVTALEGIRO_RECEIPT_RECEIVED" | "INVOICE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_SMS_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_SMS_RECEIPT_RECEIVED" | "FAILED_INVOICE_EHF_RECEIPT" | "FAILED_INVOICE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_PROCESSING" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_DIGIPOST" | "FAILED_INVOICE_OVERDUE_NOTICE_SMS_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SMS_SEND" | "INVOICE_OVERDUE_NOTICE_SENT" | "INVOICE_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_OVERDUE_SMS_NOTICE_SENT" | "INVOICE_OVERDUE_DIGIPOST_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_SMS_NOTICE_SENT" | "FAILED_INVOICE_OVERDUE_PDF_PERSIST" | "INVOICE_OVERDUE_PDF_PERSIST" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_DIGIPOST" | "INVOICE_SECOND_OVERDUE_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_DIGIPOST_NOTICE_SENT" | "FAILED_INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INVOICE_SENT_KRAVIA" | "FAILED_INVOICE_KRAVIA_DOCUMENT_SEND" | "INVOICE_KRAVIA_DOCUMENT_SENT" | "FAILED_INVOICE_KRAVIA_STATUS_SYNC" | "INVOICE_KRAVIA_STATUS_SYNCED" | "FAILED_INVOICE_KRAVIA_PAYMENT_SYNC" | "INVOICE_KRAVIA_PAYMENT_SYNCED" | "INVOICE_KRAVIA_PAYMENT_RECEIVED" | "FAILED_INVOICE_KRAVIA_CREDIT_SYNC" | "INVOICE_KRAVIA_CREDIT_SYNCED" | "INSUFFICIENT_PAYMENT_RECEIVED" | "FAILED_LOSS_REGISTRATION" | "LOSS_REGISTERED" | "MANUAL_PROCESSING" | "COMPLETE" :
|
|
924
|
+
T extends InvoiceState ? InvoiceState | "UNKNOWN" | "INPUT_ACCEPTED" | "INPUT_REJECTED" | "INVOICE_SEND_ATTEMPTED" | "FAILED_CREATE" | "CREATED" | "CREDITED" | "FAILED_PDF_PERSIST" | "PDF_PERSISTED" | "FAILED_VOUCHER_CREATE" | "VOUCHER_CREATED" | "FAILED_VOUCHER_PDF_PERSIST" | "VOUCHER_PDF_PERSISTED" | "FAILED_INVOICE_SEND" | "INVOICE_SENT_EHF" | "INVOICE_SENT_EFAKTURA" | "INVOICE_SENT_AVTALEGIRO" | "INVOICE_SENT_COMBO" | "INVOICE_SENT_ALTERNATIVE_DIGIPOST" | "INVOICE_SENT_ALTERNATIVE_EMAIL" | "INVOICE_SENT_NONE" | "FAILED_INVOICE_SEND_EHF" | "FAILED_INVOICE_SEND_COMBO" | "FAILED_INVOICE_SEND_DIGIPOST_NOT_RECEIVED" | "FAILED_INVOICE_SEND_EHF_NOT_RECEIVED" | "INVOICE_RESENT_BY_OPERATOR" | "FAILED_INVOICE_SEND_KRAVIA" | "FAILED_INVOICE_SEND_ALTERNATIVE" | "FAILED_INVOICE_SEND_ALTERNATIVE_DIGIPOST" | "FAILED_INVOICE_SEND_ALTERNATIVE_EMAIL" | "FAILED_INVOICE_RECEIPT_RECEPTION" | "FAILED_INVOICE_EFAKTURA_RECEIPT_RECEPTION" | "FAILED_INVOICE_AVTALEGIRO_RECEIPT_RECEPTION" | "FAILED_PARTIAL_INVOICE_RECEIPT_RECEPTION" | "INVOICE_PROCESSING_FAILED" | "INVOICE_HANDED_OFF_TO_CUSTOMER_SERVICE" | "INVOICE_RECEIPT_RECEIVED" | "INVOICE_EHF_RECEIPT_RECEIVED" | "INVOICE_EFAKTURA_RECEIPT_RECEIVED" | "INVOICE_AVTALEGIRO_RECEIPT_RECEIVED" | "INVOICE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT_RECEIVED" | "INVOICE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_EMAIL_OPENED_RECEIPT_RECEIVED" | "INVOICE_OVERDUE_SMS_RECEIPT_RECEIVED" | "INVOICE_SECOND_OVERDUE_SMS_RECEIPT_RECEIVED" | "FAILED_INVOICE_EHF_RECEIPT" | "FAILED_INVOICE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_EMAIL_RECEIPT" | "FAILED_INVOICE_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_SECOND_OVERDUE_SMS_RECEIPT" | "FAILED_INVOICE_PROCESSING" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_OVERDUE_NOTICE_SEND_DIGIPOST" | "FAILED_INVOICE_OVERDUE_NOTICE_SMS_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SMS_SEND" | "INVOICE_OVERDUE_NOTICE_SENT" | "INVOICE_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_OVERDUE_SMS_NOTICE_SENT" | "INVOICE_OVERDUE_DIGIPOST_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_SMS_NOTICE_SENT" | "FAILED_INVOICE_OVERDUE_PDF_PERSIST" | "INVOICE_OVERDUE_PDF_PERSIST" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_EMAIL" | "FAILED_INVOICE_SECOND_OVERDUE_NOTICE_SEND_DIGIPOST" | "INVOICE_SECOND_OVERDUE_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_EMAIL_NOTICE_SENT" | "INVOICE_SECOND_OVERDUE_DIGIPOST_NOTICE_SENT" | "FAILED_INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INVOICE_SECOND_OVERDUE_PDF_PERSIST" | "INVOICE_SENT_KRAVIA" | "FAILED_INVOICE_KRAVIA_DOCUMENT_SEND" | "INVOICE_KRAVIA_DOCUMENT_SENT" | "FAILED_INVOICE_KRAVIA_STATUS_SYNC" | "INVOICE_KRAVIA_STATUS_SYNCED" | "FAILED_INVOICE_KRAVIA_PAYMENT_SYNC" | "INVOICE_KRAVIA_PAYMENT_SYNCED" | "INVOICE_KRAVIA_PAYMENT_RECEIVED" | "FAILED_INVOICE_KRAVIA_CREDIT_SYNC" | "INVOICE_KRAVIA_CREDIT_SYNCED" | "INSUFFICIENT_PAYMENT_RECEIVED" | "FAILED_LOSS_REGISTRATION" | "LOSS_REGISTERED" | "MANUAL_PROCESSING" | "COMPLETE" :
|
|
922
925
|
T extends InvoiceType ? InvoiceType | "DEBIT" | "CREDIT" | "CLAIM" :
|
|
923
926
|
T extends IssueStatus ? IssueStatus | "OPEN" | "IN_MEETING" | "CLOSED" :
|
|
924
927
|
T extends JobState ? JobState | "CREATED" | "PROCESSING" | "CANCELLED" | "COMPLETED" | "FAILED" | "ANY" :
|
|
@@ -979,6 +982,7 @@ export type SdkInput<T> =
|
|
|
979
982
|
T extends RequestMethod ? RequestMethod | "GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" :
|
|
980
983
|
T extends AuthMode ? AuthMode | "TOKEN" | "COOKIE" | "M2M" :
|
|
981
984
|
T extends LoginType ? LoginType | "EMAIL" | "MOBILE" | "ILLEGAL" :
|
|
985
|
+
T extends FailureKind ? FailureKind | "DEFECT" | "EXPECTED_AUTH" | "USER_INPUT" :
|
|
982
986
|
T extends bigint ? Id :
|
|
983
987
|
T extends KtList<infer E> | KtMutableList<infer E> ? ReadonlyArray<SdkInput<E>> :
|
|
984
988
|
T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? ReadonlyMap<SdkInput<K>, SdkInput<V>> | Record<string, SdkInput<V>> :
|
|
@@ -1368,7 +1372,7 @@ export interface ConversationApiFacade {
|
|
|
1368
1372
|
countConversationsInCompany<F extends string | null | undefined = undefined>(params: {
|
|
1369
1373
|
companyId: Id;
|
|
1370
1374
|
search?: string | null | undefined;
|
|
1371
|
-
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED"> | null | undefined;
|
|
1375
|
+
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" | "SPAM"> | null | undefined;
|
|
1372
1376
|
category?: ReadonlyArray<Id> | null | undefined;
|
|
1373
1377
|
assignedToUserId?: ReadonlyArray<Id> | null | undefined;
|
|
1374
1378
|
latestPublicMessageSide?: ReadonlyArray<ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE"> | null | undefined;
|
|
@@ -1536,7 +1540,7 @@ export interface ConversationApiFacade {
|
|
|
1536
1540
|
indexConversation<F extends string | null | undefined = undefined>(params: {
|
|
1537
1541
|
companyId: Id;
|
|
1538
1542
|
search?: string | null | undefined;
|
|
1539
|
-
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED"> | null | undefined;
|
|
1543
|
+
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" | "SPAM"> | null | undefined;
|
|
1540
1544
|
category?: ReadonlyArray<Id> | null | undefined;
|
|
1541
1545
|
assignedToUserId?: ReadonlyArray<Id> | null | undefined;
|
|
1542
1546
|
latestPublicMessageSide?: ReadonlyArray<ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE"> | null | undefined;
|
|
@@ -1574,7 +1578,7 @@ export interface ConversationApiFacade {
|
|
|
1574
1578
|
}): Promise<ProjectionResult<F, PagedListPublicConversationCategory>>;
|
|
1575
1579
|
indexConversationCountByCompany<F extends string | null | undefined = undefined>(params: {
|
|
1576
1580
|
search?: string | null | undefined;
|
|
1577
|
-
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED"> | null | undefined;
|
|
1581
|
+
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" | "SPAM"> | null | undefined;
|
|
1578
1582
|
category?: ReadonlyArray<Id> | null | undefined;
|
|
1579
1583
|
assignedToUserId?: ReadonlyArray<Id> | null | undefined;
|
|
1580
1584
|
latestPublicMessageSide?: ReadonlyArray<ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE"> | null | undefined;
|
|
@@ -1606,7 +1610,7 @@ export interface ConversationApiFacade {
|
|
|
1606
1610
|
}): Promise<ProjectionResult<F, KtList<MessageEditHistory>>>;
|
|
1607
1611
|
indexConversations<F extends string | null | undefined = undefined>(params: {
|
|
1608
1612
|
search?: string | null | undefined;
|
|
1609
|
-
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED"> | null | undefined;
|
|
1613
|
+
status?: ReadonlyArray<ConversationStatus | "DRAFT" | "NEW" | "IN_PROGRESS" | "COMPLETE" | "TRASHED" | "SPAM"> | null | undefined;
|
|
1610
1614
|
category?: ReadonlyArray<Id> | null | undefined;
|
|
1611
1615
|
assignedToUserId?: ReadonlyArray<Id> | null | undefined;
|
|
1612
1616
|
latestPublicMessageSide?: ReadonlyArray<ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE"> | null | undefined;
|
|
@@ -1696,6 +1700,14 @@ export interface ConversationApiFacade {
|
|
|
1696
1700
|
upscale?: string | null | undefined;
|
|
1697
1701
|
background?: string | null | undefined;
|
|
1698
1702
|
}): Promise<ProjectionResult<F, UrlWrapper>>;
|
|
1703
|
+
spamConversation(params: {
|
|
1704
|
+
companyId: Id;
|
|
1705
|
+
conversationId: Id;
|
|
1706
|
+
}): Promise<SdkResult<void>>;
|
|
1707
|
+
spamMultipleConversations(params: {
|
|
1708
|
+
companyId: Id;
|
|
1709
|
+
input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
|
|
1710
|
+
}): Promise<SdkResult<void>>;
|
|
1699
1711
|
trashConversation(params: {
|
|
1700
1712
|
companyId: Id;
|
|
1701
1713
|
conversationId: Id;
|
|
@@ -1704,6 +1716,14 @@ export interface ConversationApiFacade {
|
|
|
1704
1716
|
companyId: Id;
|
|
1705
1717
|
input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
|
|
1706
1718
|
}): Promise<SdkResult<void>>;
|
|
1719
|
+
unspamConversation(params: {
|
|
1720
|
+
companyId: Id;
|
|
1721
|
+
conversationId: Id;
|
|
1722
|
+
}): Promise<SdkResult<void>>;
|
|
1723
|
+
unspamMultipleConversations(params: {
|
|
1724
|
+
companyId: Id;
|
|
1725
|
+
input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
|
|
1726
|
+
}): Promise<SdkResult<void>>;
|
|
1707
1727
|
untrashConversation(params: {
|
|
1708
1728
|
companyId: Id;
|
|
1709
1729
|
conversationId: Id;
|
package/client.mjs
CHANGED
|
@@ -2432,6 +2432,34 @@ const DESCRIPTORS = {
|
|
|
2432
2432
|
"url"
|
|
2433
2433
|
]
|
|
2434
2434
|
},
|
|
2435
|
+
"spamConversation": {
|
|
2436
|
+
"args": [
|
|
2437
|
+
{
|
|
2438
|
+
"name": "companyId",
|
|
2439
|
+
"type": "bigint"
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "conversationId",
|
|
2443
|
+
"type": "bigint"
|
|
2444
|
+
}
|
|
2445
|
+
],
|
|
2446
|
+
"body": null,
|
|
2447
|
+
"bodyType": null
|
|
2448
|
+
},
|
|
2449
|
+
"spamMultipleConversations": {
|
|
2450
|
+
"args": [
|
|
2451
|
+
{
|
|
2452
|
+
"name": "companyId",
|
|
2453
|
+
"type": "bigint"
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "batchConversationStateCommand",
|
|
2457
|
+
"type": "BatchConversationStateCommand"
|
|
2458
|
+
}
|
|
2459
|
+
],
|
|
2460
|
+
"body": "batchConversationStateCommand",
|
|
2461
|
+
"bodyType": "BatchConversationStateCommand"
|
|
2462
|
+
},
|
|
2435
2463
|
"trashConversation": {
|
|
2436
2464
|
"args": [
|
|
2437
2465
|
{
|
|
@@ -2460,6 +2488,34 @@ const DESCRIPTORS = {
|
|
|
2460
2488
|
"body": "batchConversationStateCommand",
|
|
2461
2489
|
"bodyType": "BatchConversationStateCommand"
|
|
2462
2490
|
},
|
|
2491
|
+
"unspamConversation": {
|
|
2492
|
+
"args": [
|
|
2493
|
+
{
|
|
2494
|
+
"name": "companyId",
|
|
2495
|
+
"type": "bigint"
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"name": "conversationId",
|
|
2499
|
+
"type": "bigint"
|
|
2500
|
+
}
|
|
2501
|
+
],
|
|
2502
|
+
"body": null,
|
|
2503
|
+
"bodyType": null
|
|
2504
|
+
},
|
|
2505
|
+
"unspamMultipleConversations": {
|
|
2506
|
+
"args": [
|
|
2507
|
+
{
|
|
2508
|
+
"name": "companyId",
|
|
2509
|
+
"type": "bigint"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"name": "batchConversationStateCommand",
|
|
2513
|
+
"type": "BatchConversationStateCommand"
|
|
2514
|
+
}
|
|
2515
|
+
],
|
|
2516
|
+
"body": "batchConversationStateCommand",
|
|
2517
|
+
"bodyType": "BatchConversationStateCommand"
|
|
2518
|
+
},
|
|
2463
2519
|
"untrashConversation": {
|
|
2464
2520
|
"args": [
|
|
2465
2521
|
{
|
|
@@ -16936,6 +16992,7 @@ const PROPS = {
|
|
|
16936
16992
|
},
|
|
16937
16993
|
"CompanyBusinessAgreementProps": {
|
|
16938
16994
|
"annualMeetingIncluded": "boolean",
|
|
16995
|
+
"economicReportsIncluded": "bigint | null | undefined",
|
|
16939
16996
|
"id": "bigint",
|
|
16940
16997
|
"invoicingEmail": "string | null | undefined",
|
|
16941
16998
|
"serviceStartAt": "SoliboInstant /* Instant */ | null | undefined",
|
|
@@ -17126,6 +17183,7 @@ const PROPS = {
|
|
|
17126
17183
|
"inProgress": "bigint",
|
|
17127
17184
|
"new": "bigint",
|
|
17128
17185
|
"root": "bigint | null | undefined",
|
|
17186
|
+
"spam": "bigint | null | undefined",
|
|
17129
17187
|
"total": "bigint | null | undefined"
|
|
17130
17188
|
},
|
|
17131
17189
|
"ConversationCountConversationCountByCompanyMapProps": {
|
|
@@ -17135,6 +17193,7 @@ const PROPS = {
|
|
|
17135
17193
|
"inProgress": "bigint",
|
|
17136
17194
|
"new": "bigint",
|
|
17137
17195
|
"root": "bigint | null | undefined",
|
|
17196
|
+
"spam": "bigint | null | undefined",
|
|
17138
17197
|
"total": "bigint | null | undefined"
|
|
17139
17198
|
},
|
|
17140
17199
|
"ConversationEventProps": {
|
|
@@ -17311,6 +17370,7 @@ const PROPS = {
|
|
|
17311
17370
|
"classification": "string",
|
|
17312
17371
|
"constructionYear": "bigint | null | undefined",
|
|
17313
17372
|
"detachedSections": "CreateSectionProps[] | null | undefined",
|
|
17373
|
+
"economicReportsIncluded": "bigint | null | undefined",
|
|
17314
17374
|
"invoicingEmail": "string | null | undefined",
|
|
17315
17375
|
"kartverketId": "string | null | undefined",
|
|
17316
17376
|
"location": "CompanyLocationProps | null | undefined",
|
|
@@ -17970,6 +18030,7 @@ const PROPS = {
|
|
|
17970
18030
|
"status": "EconomicReportStatus"
|
|
17971
18031
|
},
|
|
17972
18032
|
"EconomicReportResponseProps": {
|
|
18033
|
+
"economicReportsIncluded": "bigint | null | undefined",
|
|
17973
18034
|
"reports": "EconomicReportProps[]",
|
|
17974
18035
|
"reportsIncluded": "bigint"
|
|
17975
18036
|
},
|
|
@@ -17996,7 +18057,8 @@ const PROPS = {
|
|
|
17996
18057
|
},
|
|
17997
18058
|
"ErrorJsonProps": {
|
|
17998
18059
|
"error": "Errors | null | undefined",
|
|
17999
|
-
"message": "string"
|
|
18060
|
+
"message": "string",
|
|
18061
|
+
"reason": "FailureReason | null | undefined"
|
|
18000
18062
|
},
|
|
18001
18063
|
"ExpenseProps": {
|
|
18002
18064
|
"account": "string",
|
|
@@ -19383,7 +19445,8 @@ const PROPS = {
|
|
|
19383
19445
|
"note": "string | null | undefined",
|
|
19384
19446
|
"outIds": "bigint[] | null | undefined",
|
|
19385
19447
|
"outOrgs": "string[] | null | undefined",
|
|
19386
|
-
"removeContactPersons": "boolean | null | undefined"
|
|
19448
|
+
"removeContactPersons": "boolean | null | undefined",
|
|
19449
|
+
"sendNotification": "boolean | null | undefined"
|
|
19387
19450
|
},
|
|
19388
19451
|
"OwnershipChangeProps": {
|
|
19389
19452
|
"amount": "bigint | null | undefined",
|
|
@@ -21276,6 +21339,7 @@ const PROPS = {
|
|
|
21276
21339
|
},
|
|
21277
21340
|
"UpdateCompanyAvtaleCommandProps": {
|
|
21278
21341
|
"annualMeetingIncluded": "boolean | null | undefined",
|
|
21342
|
+
"economicReportsIncluded": "bigint | null | undefined",
|
|
21279
21343
|
"invoiceReception": "string | null | undefined",
|
|
21280
21344
|
"signedAt": "SoliboInstant /* Instant */",
|
|
21281
21345
|
"startAt": "SoliboInstant /* Instant */ | null | undefined"
|
|
@@ -21856,11 +21920,13 @@ const PROPS = {
|
|
|
21856
21920
|
"error": "string | null | undefined",
|
|
21857
21921
|
"property": "string | null | undefined",
|
|
21858
21922
|
"rule": "string | null | undefined",
|
|
21859
|
-
"value": "string | null | undefined"
|
|
21923
|
+
"value": "string | null | undefined",
|
|
21924
|
+
"reason": "string | null | undefined"
|
|
21860
21925
|
},
|
|
21861
21926
|
"SoliboSDKErrorProps": {
|
|
21862
21927
|
"statusCode": "number",
|
|
21863
|
-
"errors": "Array<SoliboErrorDetailProps>"
|
|
21928
|
+
"errors": "Array<SoliboErrorDetailProps>",
|
|
21929
|
+
"kind": "FailureKind"
|
|
21864
21930
|
},
|
|
21865
21931
|
"DocumentUploadProps": {
|
|
21866
21932
|
"fileName": "string",
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -119,12 +119,12 @@ function asJsReadonlyMapView() {
|
|
|
119
119
|
}
|
|
120
120
|
initMetadataForInterface(KtMap, 'Map');
|
|
121
121
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
122
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
122
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
123
123
|
initMetadataForCompanion(Companion_2);
|
|
124
124
|
function asJsArrayView() {
|
|
125
125
|
return createJsArrayViewFrom(this);
|
|
126
126
|
}
|
|
127
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
127
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
128
128
|
initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
|
|
129
129
|
initMetadataForCompanion(Companion_3);
|
|
130
130
|
function asJsMapView() {
|
|
@@ -155,7 +155,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
|
|
|
155
155
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
156
156
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
157
157
|
initMetadataForObject(Unit, 'Unit');
|
|
158
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
158
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
159
159
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
160
160
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
161
161
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -167,7 +167,7 @@ initMetadataForCompanion(Companion_6);
|
|
|
167
167
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
168
168
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
169
169
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
170
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
170
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
171
171
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
172
172
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
173
173
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -8714,6 +8714,18 @@ function concatToString_0(_this__u8e3s4, startIndex, endIndex) {
|
|
|
8714
8714
|
}
|
|
8715
8715
|
return result;
|
|
8716
8716
|
}
|
|
8717
|
+
function toCharArray(_this__u8e3s4) {
|
|
8718
|
+
_init_properties_stringJs_kt__bg7zye();
|
|
8719
|
+
var tmp = 0;
|
|
8720
|
+
var tmp_0 = _this__u8e3s4.length;
|
|
8721
|
+
var tmp_1 = charArray(tmp_0);
|
|
8722
|
+
while (tmp < tmp_0) {
|
|
8723
|
+
var tmp_2 = tmp;
|
|
8724
|
+
tmp_1[tmp_2] = charCodeAt(_this__u8e3s4, tmp_2);
|
|
8725
|
+
tmp = tmp + 1 | 0;
|
|
8726
|
+
}
|
|
8727
|
+
return tmp_1;
|
|
8728
|
+
}
|
|
8717
8729
|
function encodeToByteArray(_this__u8e3s4) {
|
|
8718
8730
|
_init_properties_stringJs_kt__bg7zye();
|
|
8719
8731
|
return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
@@ -8730,18 +8742,6 @@ function decodeToString_0(_this__u8e3s4) {
|
|
|
8730
8742
|
_init_properties_stringJs_kt__bg7zye();
|
|
8731
8743
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
8732
8744
|
}
|
|
8733
|
-
function toCharArray(_this__u8e3s4) {
|
|
8734
|
-
_init_properties_stringJs_kt__bg7zye();
|
|
8735
|
-
var tmp = 0;
|
|
8736
|
-
var tmp_0 = _this__u8e3s4.length;
|
|
8737
|
-
var tmp_1 = charArray(tmp_0);
|
|
8738
|
-
while (tmp < tmp_0) {
|
|
8739
|
-
var tmp_2 = tmp;
|
|
8740
|
-
tmp_1[tmp_2] = charCodeAt(_this__u8e3s4, tmp_2);
|
|
8741
|
-
tmp = tmp + 1 | 0;
|
|
8742
|
-
}
|
|
8743
|
-
return tmp_1;
|
|
8744
|
-
}
|
|
8745
8745
|
function toCharArray_0(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex) {
|
|
8746
8746
|
destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
|
|
8747
8747
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
@@ -11113,12 +11113,12 @@ function collectionToArrayCommonImpl(collection) {
|
|
|
11113
11113
|
}
|
|
11114
11114
|
return destination;
|
|
11115
11115
|
}
|
|
11116
|
-
function listOf_0(elements) {
|
|
11117
|
-
return elements.length > 0 ? asList(elements) : emptyList();
|
|
11118
|
-
}
|
|
11119
11116
|
function emptyList() {
|
|
11120
11117
|
return EmptyList_instance;
|
|
11121
11118
|
}
|
|
11119
|
+
function listOf_0(elements) {
|
|
11120
|
+
return elements.length > 0 ? asList(elements) : emptyList();
|
|
11121
|
+
}
|
|
11122
11122
|
function mutableListOf(elements) {
|
|
11123
11123
|
var tmp;
|
|
11124
11124
|
if (elements.length === 0) {
|
|
@@ -11140,16 +11140,6 @@ function listOfNotNull(element) {
|
|
|
11140
11140
|
function listOfNotNull_0(elements) {
|
|
11141
11141
|
return filterNotNull(elements);
|
|
11142
11142
|
}
|
|
11143
|
-
function optimizeReadOnlyList(_this__u8e3s4) {
|
|
11144
|
-
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
11145
|
-
case 0:
|
|
11146
|
-
return emptyList();
|
|
11147
|
-
case 1:
|
|
11148
|
-
return listOf(_this__u8e3s4.get_c1px32_k$(0));
|
|
11149
|
-
default:
|
|
11150
|
-
return _this__u8e3s4;
|
|
11151
|
-
}
|
|
11152
|
-
}
|
|
11153
11143
|
function EmptyList() {
|
|
11154
11144
|
this.serialVersionUID_1 = -7390468764508069838n;
|
|
11155
11145
|
}
|
|
@@ -11269,6 +11259,16 @@ var EmptyIterator_instance;
|
|
|
11269
11259
|
function EmptyIterator_getInstance() {
|
|
11270
11260
|
return EmptyIterator_instance;
|
|
11271
11261
|
}
|
|
11262
|
+
function optimizeReadOnlyList(_this__u8e3s4) {
|
|
11263
|
+
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
11264
|
+
case 0:
|
|
11265
|
+
return emptyList();
|
|
11266
|
+
case 1:
|
|
11267
|
+
return listOf(_this__u8e3s4.get_c1px32_k$(0));
|
|
11268
|
+
default:
|
|
11269
|
+
return _this__u8e3s4;
|
|
11270
|
+
}
|
|
11271
|
+
}
|
|
11272
11272
|
function throwCountOverflow() {
|
|
11273
11273
|
throw ArithmeticException_init_$Create$_0('Count overflow has happened.');
|
|
11274
11274
|
}
|
|
@@ -11358,6 +11358,10 @@ function getOrImplicitDefault(_this__u8e3s4, key) {
|
|
|
11358
11358
|
}
|
|
11359
11359
|
function MapWithDefault() {
|
|
11360
11360
|
}
|
|
11361
|
+
function emptyMap() {
|
|
11362
|
+
var tmp = EmptyMap_instance;
|
|
11363
|
+
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
|
|
11364
|
+
}
|
|
11361
11365
|
function mapOf_0(pairs) {
|
|
11362
11366
|
return pairs.length > 0 ? toMap_0(pairs, LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length))) : emptyMap();
|
|
11363
11367
|
}
|
|
@@ -11386,10 +11390,6 @@ function toMap(_this__u8e3s4) {
|
|
|
11386
11390
|
}
|
|
11387
11391
|
return optimizeReadOnlyMap(toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$()));
|
|
11388
11392
|
}
|
|
11389
|
-
function emptyMap() {
|
|
11390
|
-
var tmp = EmptyMap_instance;
|
|
11391
|
-
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
|
|
11392
|
-
}
|
|
11393
11393
|
function getValue(_this__u8e3s4, key) {
|
|
11394
11394
|
return getOrImplicitDefault(_this__u8e3s4, key);
|
|
11395
11395
|
}
|
|
@@ -11399,33 +11399,6 @@ function mutableMapOf(pairs) {
|
|
|
11399
11399
|
putAll(this_0, pairs);
|
|
11400
11400
|
return this_0;
|
|
11401
11401
|
}
|
|
11402
|
-
function toMap_0(_this__u8e3s4, destination) {
|
|
11403
|
-
// Inline function 'kotlin.apply' call
|
|
11404
|
-
putAll(destination, _this__u8e3s4);
|
|
11405
|
-
return destination;
|
|
11406
|
-
}
|
|
11407
|
-
function optimizeReadOnlyMap(_this__u8e3s4) {
|
|
11408
|
-
var tmp;
|
|
11409
|
-
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
11410
|
-
case 0:
|
|
11411
|
-
tmp = emptyMap();
|
|
11412
|
-
break;
|
|
11413
|
-
case 1:
|
|
11414
|
-
// Inline function 'kotlin.collections.toSingletonMapOrSelf' call
|
|
11415
|
-
|
|
11416
|
-
tmp = _this__u8e3s4;
|
|
11417
|
-
break;
|
|
11418
|
-
default:
|
|
11419
|
-
tmp = _this__u8e3s4;
|
|
11420
|
-
break;
|
|
11421
|
-
}
|
|
11422
|
-
return tmp;
|
|
11423
|
-
}
|
|
11424
|
-
function toMap_1(_this__u8e3s4, destination) {
|
|
11425
|
-
// Inline function 'kotlin.apply' call
|
|
11426
|
-
putAll_0(destination, _this__u8e3s4);
|
|
11427
|
-
return destination;
|
|
11428
|
-
}
|
|
11429
11402
|
function EmptyMap() {
|
|
11430
11403
|
this.serialVersionUID_1 = 8246714829545688274n;
|
|
11431
11404
|
}
|
|
@@ -11493,6 +11466,33 @@ var EmptyMap_instance;
|
|
|
11493
11466
|
function EmptyMap_getInstance() {
|
|
11494
11467
|
return EmptyMap_instance;
|
|
11495
11468
|
}
|
|
11469
|
+
function toMap_0(_this__u8e3s4, destination) {
|
|
11470
|
+
// Inline function 'kotlin.apply' call
|
|
11471
|
+
putAll(destination, _this__u8e3s4);
|
|
11472
|
+
return destination;
|
|
11473
|
+
}
|
|
11474
|
+
function optimizeReadOnlyMap(_this__u8e3s4) {
|
|
11475
|
+
var tmp;
|
|
11476
|
+
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
11477
|
+
case 0:
|
|
11478
|
+
tmp = emptyMap();
|
|
11479
|
+
break;
|
|
11480
|
+
case 1:
|
|
11481
|
+
// Inline function 'kotlin.collections.toSingletonMapOrSelf' call
|
|
11482
|
+
|
|
11483
|
+
tmp = _this__u8e3s4;
|
|
11484
|
+
break;
|
|
11485
|
+
default:
|
|
11486
|
+
tmp = _this__u8e3s4;
|
|
11487
|
+
break;
|
|
11488
|
+
}
|
|
11489
|
+
return tmp;
|
|
11490
|
+
}
|
|
11491
|
+
function toMap_1(_this__u8e3s4, destination) {
|
|
11492
|
+
// Inline function 'kotlin.apply' call
|
|
11493
|
+
putAll_0(destination, _this__u8e3s4);
|
|
11494
|
+
return destination;
|
|
11495
|
+
}
|
|
11496
11496
|
function putAll(_this__u8e3s4, pairs) {
|
|
11497
11497
|
var inductionVariable = 0;
|
|
11498
11498
|
var last = pairs.length;
|
|
@@ -12029,16 +12029,6 @@ function setOf_0(elements) {
|
|
|
12029
12029
|
function emptySet() {
|
|
12030
12030
|
return EmptySet_instance;
|
|
12031
12031
|
}
|
|
12032
|
-
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
12033
|
-
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
12034
|
-
case 0:
|
|
12035
|
-
return emptySet();
|
|
12036
|
-
case 1:
|
|
12037
|
-
return setOf(_this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$());
|
|
12038
|
-
default:
|
|
12039
|
-
return _this__u8e3s4;
|
|
12040
|
-
}
|
|
12041
|
-
}
|
|
12042
12032
|
function EmptySet() {
|
|
12043
12033
|
this.serialVersionUID_1 = 3406603774387020532n;
|
|
12044
12034
|
}
|
|
@@ -12090,6 +12080,16 @@ var EmptySet_instance;
|
|
|
12090
12080
|
function EmptySet_getInstance() {
|
|
12091
12081
|
return EmptySet_instance;
|
|
12092
12082
|
}
|
|
12083
|
+
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
12084
|
+
switch (_this__u8e3s4.get_size_woubt6_k$()) {
|
|
12085
|
+
case 0:
|
|
12086
|
+
return emptySet();
|
|
12087
|
+
case 1:
|
|
12088
|
+
return setOf(_this__u8e3s4.iterator_jk1svi_k$().next_20eer_k$());
|
|
12089
|
+
default:
|
|
12090
|
+
return _this__u8e3s4;
|
|
12091
|
+
}
|
|
12092
|
+
}
|
|
12093
12093
|
function hashSetOf(elements) {
|
|
12094
12094
|
return toCollection(elements, HashSet_init_$Create$_1(mapCapacity(elements.length)));
|
|
12095
12095
|
}
|
|
@@ -19987,6 +19987,7 @@ export {
|
|
|
19987
19987
|
map as mapsbvh18eqox7a,
|
|
19988
19988
|
sequence as sequence2vgswtrxvqoa7,
|
|
19989
19989
|
asIterable_0 as asIterable3syp9x858o4em,
|
|
19990
|
+
concatToString as concatToString2syawgu50khxi,
|
|
19990
19991
|
concatToString_0 as concatToString3cxf0c1gqonpo,
|
|
19991
19992
|
contains_7 as contains3ue2qo8xhmpf1,
|
|
19992
19993
|
contains_8 as contains2el4s70rdq4ld,
|