@solibo/solibo-sdk 1.20.2 → 1.22.0-d3ccd84-1790375326997-SNAPSHOT
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/MultiplatformSettings-multiplatform-settings-test.mjs +5 -0
- package/MultiplatformSettings-multiplatform-settings-test.mjs.map +1 -1
- package/MultiplatformSettings-multiplatform-settings.mjs +7 -0
- package/MultiplatformSettings-multiplatform-settings.mjs.map +1 -1
- package/README.md +19 -2
- package/client.d.mts +37 -2
- package/client.mjs +161 -2
- package/kotlin-kotlin-stdlib.mjs +16 -4
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/package.json +7 -1
- package/solibo-sdk-sdk-home-api.mjs +19682 -17650
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +285 -19
- package/solibo-sdk-sdk.mjs +1210 -631
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -73,6 +73,11 @@ protoOf(MapSettings).putBoolean_wwpo7g_k$ = function (key, value) {
|
|
|
73
73
|
this.delegate_1.put_4fpzoq_k$(key, value);
|
|
74
74
|
invokeListeners(this);
|
|
75
75
|
};
|
|
76
|
+
protoOf(MapSettings).getBoolean_95o09p_k$ = function (key, defaultValue) {
|
|
77
|
+
var tmp = this.delegate_1.get_wei43m_k$(key);
|
|
78
|
+
var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : null;
|
|
79
|
+
return tmp0_elvis_lhs == null ? defaultValue : tmp0_elvis_lhs;
|
|
80
|
+
};
|
|
76
81
|
//region block: exports
|
|
77
82
|
export {
|
|
78
83
|
MapSettings as MapSettings843lmfrlmls0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","MapSettings.kt","_Collections.kt","Maps.kt","Collections.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: NATIVE_IMPLEMENTATIONS.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../multiplatform-settings/multiplatform-settings/multiplatform-settings-test/src/commonMain/kotlin/com/russhwolf/settings/MapSettings.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: common/src/generated/_Collections.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: src/kotlin/collections/Maps.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: src/kotlin/collections/Collections.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[0],"x_google_ignoreList":[0],"names":["invokeListeners","<init>","remove","key","putInt","value","putLong","putString","getStringOrNull","putFloat","putDouble","putBoolean"],"mappings":";;;;;;;;;;;;;ACmCIA,yBDnCJ,KCmCIA,EAAgC;A;MCmnEhB,oBDnnEgB,KCmnEhB,CDnnEgB,WCmnEhB,qB;SAAA,qC,EAAM;A,QFtpE1B,UEspEoB,iC;IAAa,ODnnEuB,E;ECmnEhB,C;EDnnEsB,oB;AAAD,C;AAHpCC,qBAAmB,QAAnBA,EAAA;A,MDhCzB,G;;;UGoF4D,6B;;;;;EFpDhB,0B;MDhC5C,QCkC4B,I;;EAAA,oBGuE4B,yB;AHzE/B,C;wCAqDrBC,UAA2BC,GAA3BD,EAAwC;A;EACpC,IE20BJ,CF30BI,UE20BJ,kBF30BgB,GE20BhB,C;EF10BI,qB;AACJ,C;wCAIAE,UAA2BD,G,EAAaE,KAAxCD,EAAoD;A;EAChD,IE2KJ,CF3KI,UE2KJ,eF3Ka,GE2Kb,EF3KoB,KE2KpB,C;EF1KI,qB;AACJ,C;yCAMAE,UAA4BH,G,EAAaE,KAAzCC,EAAsD;A;EAClD,IEkKJ,CFlKI,UEkKJ,eFlKa,GEkKb,EFlKoB,KEkKpB,C;EFjKI,qB;AACJ,C;2CAMAC,UAA8BJ,G,EAAaE,KAA3CE,EAA0D;A;EACtD,IEyJJ,CFzJI,UEyJJ,eFzJa,GEyJb,EFzJoB,KEyJpB,C;EFxJI,qB;AACJ,C;iDAIAC,UAAoCL,GAApCK,EAA4D;A,MDrHhE,MCqHgE,8BAAS,GAAT,C;EAAwB,OAAxB,+D;AAAuB,C;0CAEnFC,UAA6BN,G,EAAaE,KAA1CI,EAAwD;A;EACpD,IEgJJ,CFhJI,UEgJJ,eFhJa,GEgJb,EFhJoB,KEgJpB,C;EF/II,qB;AACJ,C;2CAMAC,UAA8BP,G,EAAaE,KAA3CK,EAA0D;A;EACtD,IEuIJ,CFvII,UEuIJ,eFvIa,GEuIb,EFvIoB,KEuIpB,C;EFtII,qB;AACJ,C;4CAMAC,UAA+BR,G,EAAaE,KAA5CM,EAA4D;A;EACxD,IE8HJ,CF9HI,UE8HJ,eF9Ha,GE8Hb,EF9HoB,KE8HpB,C;EF7HI,qB;AACJ,C;;;;;"}
|
|
1
|
+
{"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","MapSettings.kt","_Collections.kt","Maps.kt","Collections.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: NATIVE_IMPLEMENTATIONS.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../multiplatform-settings/multiplatform-settings/multiplatform-settings-test/src/commonMain/kotlin/com/russhwolf/settings/MapSettings.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: common/src/generated/_Collections.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: src/kotlin/collections/Maps.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: src/kotlin/collections/Collections.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[0],"x_google_ignoreList":[0],"names":["invokeListeners","<init>","remove","key","putInt","value","putLong","putString","getStringOrNull","putFloat","putDouble","putBoolean","getBoolean","defaultValue"],"mappings":";;;;;;;;;;;;;ACmCIA,yBDnCJ,KCmCIA,EAAgC;A;MCmnEhB,oBDnnEgB,KCmnEhB,CDnnEgB,WCmnEhB,qB;SAAA,qC,EAAM;A,QFtpE1B,UEspEoB,iC;IAAa,ODnnEuB,E;ECmnEhB,C;EDnnEsB,oB;AAAD,C;AAHpCC,qBAAmB,QAAnBA,EAAA;A,MDhCzB,G;;;UGoF4D,6B;;;;;EFpDhB,0B;MDhC5C,QCkC4B,I;;EAAA,oBGuE4B,yB;AHzE/B,C;wCAqDrBC,UAA2BC,GAA3BD,EAAwC;A;EACpC,IE20BJ,CF30BI,UE20BJ,kBF30BgB,GE20BhB,C;EF10BI,qB;AACJ,C;wCAIAE,UAA2BD,G,EAAaE,KAAxCD,EAAoD;A;EAChD,IE2KJ,CF3KI,UE2KJ,eF3Ka,GE2Kb,EF3KoB,KE2KpB,C;EF1KI,qB;AACJ,C;yCAMAE,UAA4BH,G,EAAaE,KAAzCC,EAAsD;A;EAClD,IEkKJ,CFlKI,UEkKJ,eFlKa,GEkKb,EFlKoB,KEkKpB,C;EFjKI,qB;AACJ,C;2CAMAC,UAA8BJ,G,EAAaE,KAA3CE,EAA0D;A;EACtD,IEyJJ,CFzJI,UEyJJ,eFzJa,GEyJb,EFzJoB,KEyJpB,C;EFxJI,qB;AACJ,C;iDAIAC,UAAoCL,GAApCK,EAA4D;A,MDrHhE,MCqHgE,8BAAS,GAAT,C;EAAwB,OAAxB,+D;AAAuB,C;0CAEnFC,UAA6BN,G,EAAaE,KAA1CI,EAAwD;A;EACpD,IEgJJ,CFhJI,UEgJJ,eFhJa,GEgJb,EFhJoB,KEgJpB,C;EF/II,qB;AACJ,C;2CAMAC,UAA8BP,G,EAAaE,KAA3CK,EAA0D;A;EACtD,IEuIJ,CFvII,UEuIJ,eFvIa,GEuIb,EFvIoB,KEuIpB,C;EFtII,qB;AACJ,C;4CAMAC,UAA+BR,G,EAAaE,KAA5CM,EAA4D;A;EACxD,IE8HJ,CF9HI,UE8HJ,eF9Ha,GE8Hb,EF9HoB,KE8HpB,C;EF7HI,qB;AACJ,C;4CAEAC,UAA+BT,G,EAAaU,YAA5CD,EACI;A,MD/IR,MC+IQ,8BAAS,GAAT,C;MAAA,iF;EAAyC,OAAzC,yBAA6B,YAA7B,iB;AAAwC,C;;;;;"}
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
Unit_instance3kz1zqli6gr1r as Unit_instance,
|
|
3
3
|
VOID3gxj6tk5isa35 as VOID,
|
|
4
4
|
protoOf180f3jzyo7rfj as protoOf,
|
|
5
|
+
toBoolean2azvnq2ukl7b3 as toBoolean,
|
|
5
6
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
6
7
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
7
8
|
//region block: imports
|
|
@@ -61,6 +62,12 @@ protoOf(StorageSettings).putBoolean_wwpo7g_k$ = function (key, value) {
|
|
|
61
62
|
var value_0 = value.toString();
|
|
62
63
|
tmp0.setItem(key, value_0);
|
|
63
64
|
};
|
|
65
|
+
protoOf(StorageSettings).getBoolean_95o09p_k$ = function (key, defaultValue) {
|
|
66
|
+
// Inline function 'com.russhwolf.settings.get' call
|
|
67
|
+
var tmp0_safe_receiver = this.delegate_1.getItem(key);
|
|
68
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toBoolean(tmp0_safe_receiver);
|
|
69
|
+
return tmp1_elvis_lhs == null ? defaultValue : tmp1_elvis_lhs;
|
|
70
|
+
};
|
|
64
71
|
//region block: exports
|
|
65
72
|
export {
|
|
66
73
|
StorageSettings as StorageSettings203mesgel706z,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"../../../../../../../../../multiplatform-settings/multiplatform-settings/multiplatform-settings/src/","sources":["NATIVE_IMPLEMENTATIONS.kt","StorageSettings.kt","StorageSettings.js.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: NATIVE_IMPLEMENTATIONS.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: browserCommonMain/kotlin/com/russhwolf/settings/StorageSettings.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: jsMain/kotlin/com/russhwolf/settings/StorageSettings.js.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[0],"x_google_ignoreList":[0],"names":["<init>","remove","key","putInt","value","putLong","putString","getStringOrNull","putFloat","putDouble","putBoolean"],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"../../../../../../../../../multiplatform-settings/multiplatform-settings/multiplatform-settings/src/","sources":["NATIVE_IMPLEMENTATIONS.kt","StorageSettings.kt","StorageSettings.js.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: NATIVE_IMPLEMENTATIONS.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: browserCommonMain/kotlin/com/russhwolf/settings/StorageSettings.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: jsMain/kotlin/com/russhwolf/settings/StorageSettings.js.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[0],"x_google_ignoreList":[0],"names":["<init>","remove","key","putInt","value","putLong","putString","getStringOrNull","putFloat","putDouble","putBoolean","getBoolean","defaultValue"],"mappings":";;;;;;;;;;;;ACwD4BA,yBAAC,QAADA,EAAA;A,MDxD5B,G;;;UEuByD,Y;;;;;EDiC5B,0B;AAAD,C;4CAMxBC,UAA2BC,GAA3BD,EAAgD;A,EAAwB,OAAxB,IAAS,CAAT,UAAS,YAAW,GAAX,C;AAAc,C;4CAGvEE,UAA2BD,G,EAAaE,KAAxCD,EAAoD;A,MDjExD,OCkEQ,IDlER,CCkEQ,U;;MDlER,UCkEwB,KAAM,W;EA/ByC,aA+BtD,GA/BsD,EAAa,OAAb,C;AAgCnE,C;6CAQAE,UAA4BH,G,EAAaE,KAAzCC,EAAsD;A,MD3E1D,OC4EQ,ID5ER,CC4EQ,U;;MD5ER,UC4EwB,KAAM,W;EAzCyC,aAyCtD,GAzCsD,EAAa,OAAb,C;AA0CnE,C;+CASAC,UAA8BJ,G,EAAaE,KAA3CE,EAA0D;A;EACtD,IApD+D,CAoD/D,UApD+D,SAoDtD,GApDsD,EAoD/C,KApD+C,C;AAqDnE,C;qDAIAC,UAAoCL,GAApCK,EAA4D;A;EAAa,OAAb,IA5DC,CA4DD,UA5DC,SA4DQ,GA5DR,C;AA4DW,C;8CAExEC,UAA6BN,G,EAAaE,KAA1CI,EAAwD;A,MD9F5D,OC+FQ,ID/FR,CC+FQ,U;;MD/FR,UC+FwB,KAAM,W;EA5DyC,aA4DtD,GA5DsD,EAAa,OAAb,C;AA6DnE,C;+CAQAC,UAA8BP,G,EAAaE,KAA3CK,EAA0D;A,MDxG9D,OCyGQ,IDzGR,CCyGQ,U;;MDzGR,UCyGwB,KAAM,W;EAtEyC,aAsEtD,GAtEsD,EAAa,OAAb,C;AAuEnE,C;gDAQAC,UAA+BR,G,EAAaE,KAA5CM,EAA4D;A,MDlHhE,OCmHQ,IDnHR,CCmHQ,U;;MDnHR,UCmHwB,KAAM,W;EAhFyC,aAgFtD,GAhFsD,EAAa,OAAb,C;AAiFnE,C;gDAEAC,UAA+BT,G,EAAaU,YAA5CD,EACI;A;MAAA,qBAAA,IAvFyD,CAuFzD,UAvFyD,SAuFhD,GAvFgD,C;MAuFzD,iBAAe,8CAAf,kBAAe,C;EAA2B,OAA1C,yBAA8B,YAA9B,iB;AAAyC,C;;;;;"}
|
package/README.md
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
# @solibo/solibo-sdk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Official TypeScript SDK for Solibo Home, the platform for owning and managing homes in Norway.
|
|
4
|
+
Today Solibo Home serves housing communities (borettslag, sameier and similar) and the boards,
|
|
5
|
+
owners, residents and property managers around them. The package runs in browsers and on Node.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
You need credentials issued by Solibo: see [Getting credentials](https://developers.solibo.no/authentication#credentials)
|
|
8
|
+
or write to [solibohome@solibo.no](mailto:solibohome@solibo.no).
|
|
6
9
|
|
|
7
10
|
## Installation
|
|
8
11
|
|
|
9
12
|
```sh
|
|
10
13
|
npm install @solibo/solibo-sdk
|
|
11
14
|
```
|
|
15
|
+
|
|
16
|
+
## First call
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
import { createSoliboClient } from '@solibo/solibo-sdk'
|
|
20
|
+
|
|
21
|
+
// Run this on your server: the client secret must never reach a browser.
|
|
22
|
+
const sdk = createSoliboClient({ auth: { kind: 'm2m', clientId: 'YOUR_CLIENT_ID', clientSecret: process.env.SOLIBO_CLIENT_SECRET! } })
|
|
23
|
+
// The housing communities your client can reach; needs the read and company:list scopes.
|
|
24
|
+
const page = await sdk.api.companies.indexCompany({})
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Guides, examples and the changelog are at [sdk.solibo.no](https://sdk.solibo.no); every operation
|
|
28
|
+
is in [Swagger](https://swagger.solibo.no).
|
package/client.d.mts
CHANGED
|
@@ -345,6 +345,7 @@ import type {
|
|
|
345
345
|
GenghisPersonnummerSearchCommand,
|
|
346
346
|
GenghisPersonnummerSearchCommandProps,
|
|
347
347
|
HmsSettings,
|
|
348
|
+
HmsSettingsRefusalReason,
|
|
348
349
|
Homepage,
|
|
349
350
|
IncomingEventBusMessageDiscriminator,
|
|
350
351
|
InlineDistributionType,
|
|
@@ -489,6 +490,7 @@ import type {
|
|
|
489
490
|
PagedListDevice,
|
|
490
491
|
PagedListDocument,
|
|
491
492
|
PagedListDocumentType,
|
|
493
|
+
PagedListDocumentUrl,
|
|
492
494
|
PagedListDraftOverview,
|
|
493
495
|
PagedListEconomicReport,
|
|
494
496
|
PagedListExpense,
|
|
@@ -848,6 +850,7 @@ import type {
|
|
|
848
850
|
UpsertSettlementProviderCredentialsCommand,
|
|
849
851
|
UpsertSettlementProviderCredentialsCommandProps,
|
|
850
852
|
UrlWrapper,
|
|
853
|
+
UserAccessStatus,
|
|
851
854
|
ValidateSMSCommand,
|
|
852
855
|
ValidateSMSCommandProps,
|
|
853
856
|
VerifyAssociateTotpMfaCommand,
|
|
@@ -908,10 +911,11 @@ export type SdkInput<T> =
|
|
|
908
911
|
T extends ExpenseProcessingResult ? ExpenseProcessingResult | "APPROVED" | "REJECTED" :
|
|
909
912
|
T extends ExpenseStatus ? ExpenseStatus | "FOR_APPROVAL" | "APPROVED" | "REJECTED" :
|
|
910
913
|
T extends ExpiredType ? ExpiredType | "NONE" | "FIRST" | "SECOND" :
|
|
911
|
-
T extends FailureReason ? FailureReason | "MALFORMED_REQUEST" | "NO_SESSION" | "CREDENTIAL_REJECTED" | "NO_PERSON" :
|
|
914
|
+
T extends FailureReason ? FailureReason | "MALFORMED_REQUEST" | "NO_SESSION" | "CREDENTIAL_REJECTED" | "NO_PERSON" | "DEVICE_REJECTED" | "INVOICING_NOT_ACTIVE" :
|
|
912
915
|
T extends FcmDeviceType ? FcmDeviceType | "ANDROID" | "IOS" | "WEB" | "UNKNOWN" :
|
|
913
916
|
T extends FractionRecipientType ? FractionRecipientType | "PERSON" | "ORGANIZATION" :
|
|
914
917
|
T extends FractionType ? FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" :
|
|
918
|
+
T extends HmsSettingsRefusalReason ? HmsSettingsRefusalReason | "HMS_SETTINGS_NOT_FOUND" | "ROUTINE_GROUP_NOT_FOUND" | "ROUTINE_GROUP_NOT_HMS" | "ROUTINE_NOT_CREATED" :
|
|
915
919
|
T extends IncomingEventBusMessageDiscriminator ? IncomingEventBusMessageDiscriminator | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_PING" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_TYPING" :
|
|
916
920
|
T extends InlineDistributionType ? InlineDistributionType | "FLAT" | "BROK" :
|
|
917
921
|
T extends IntegratedDocumentRole ? IntegratedDocumentRole | "IMAGE" | "ATTACHMENT" | "INLINE" :
|
|
@@ -978,11 +982,12 @@ export type SdkInput<T> =
|
|
|
978
982
|
T extends ThirdPartyInformationErrorDiscriminator ? ThirdPartyInformationErrorDiscriminator | "solibo.thirdpartyinformation.query.domain.ThirdPartyInformationAltinnError" | "solibo.thirdpartyinformation.query.domain.ThirdPartyInformationEmailError" | "solibo.thirdpartyinformation.query.domain.ThirdPartyInformationPostenError" | "solibo.thirdpartyinformation.query.domain.ThirdPartyInformationProcessError" :
|
|
979
983
|
T extends TransmissionDialogType ? TransmissionDialogType | "Information" | "Acceptance" | "Rejection" | "Request" | "Alert" | "Decision" | "Submission" | "Correction" | "Unknown" :
|
|
980
984
|
T extends UpdateResidentCommandDiscriminator ? UpdateResidentCommandDiscriminator | "solibo.residents.command.UpdateOrganizationResidentCommand" | "solibo.residents.command.UpdatePersonResidentCommand" :
|
|
985
|
+
T extends UserAccessStatus ? UserAccessStatus | "ACTIVE" | "UPCOMING" | "ENDED" | "NONE" :
|
|
981
986
|
T extends WebSocketPayloadDiscriminator ? WebSocketPayloadDiscriminator | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_CONVERSATION_EVENT_PAYLOAD" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_CONVERSATION_MESSAGE_PAYLOAD" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_CONVERSATION_TYPING_PAYLOAD" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_CONVERSATION_UPDATED_PAYLOAD" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_GENERIC_PAYLOAD" | "SOLIBO_COMMON_INFRASTRUCTURE_WEBSOCKETS_PONG" :
|
|
982
987
|
T extends RequestMethod ? RequestMethod | "GET" | "DELETE" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" :
|
|
983
988
|
T extends AuthMode ? AuthMode | "TOKEN" | "COOKIE" | "M2M" :
|
|
984
989
|
T extends LoginType ? LoginType | "EMAIL" | "MOBILE" | "ILLEGAL" :
|
|
985
|
-
T extends FailureKind ? FailureKind | "DEFECT" | "EXPECTED_AUTH" | "USER_INPUT" :
|
|
990
|
+
T extends FailureKind ? FailureKind | "DEFECT" | "EXPECTED_AUTH" | "USER_INPUT" | "FEATURE_OFF" :
|
|
986
991
|
T extends bigint ? Id :
|
|
987
992
|
T extends KtList<infer E> | KtMutableList<infer E> ? ReadonlyArray<SdkInput<E>> :
|
|
988
993
|
T extends KtMap<infer K, infer V> | KtMutableMap<infer K, infer V> ? ReadonlyMap<SdkInput<K>, SdkInput<V>> | Record<string, SdkInput<V>> :
|
|
@@ -1307,6 +1312,21 @@ export interface DocumentsApiFacade {
|
|
|
1307
1312
|
autoPaginate?: boolean | null | undefined;
|
|
1308
1313
|
count?: number | null | undefined;
|
|
1309
1314
|
}): Promise<ProjectionResult<F, PagedListDocumentType>>;
|
|
1315
|
+
showDocumentUrls<F extends string | null | undefined = undefined>(params: {
|
|
1316
|
+
companyId: Id;
|
|
1317
|
+
documentIds: ReadonlyArray<Id>;
|
|
1318
|
+
size?: string | null | undefined;
|
|
1319
|
+
fit?: string | null | undefined;
|
|
1320
|
+
position?: string | null | undefined;
|
|
1321
|
+
format?: string | null | undefined;
|
|
1322
|
+
quality?: string | null | undefined;
|
|
1323
|
+
upscale?: string | null | undefined;
|
|
1324
|
+
background?: string | null | undefined;
|
|
1325
|
+
fields?: F;
|
|
1326
|
+
pageToken?: string | null | undefined;
|
|
1327
|
+
autoPaginate?: boolean | null | undefined;
|
|
1328
|
+
count?: number | null | undefined;
|
|
1329
|
+
}): Promise<ProjectionResult<F, PagedListDocumentUrl>>;
|
|
1310
1330
|
showOffice365ManagedDocumentCandidate<F extends string | null | undefined = undefined>(params: {
|
|
1311
1331
|
companyId: Id;
|
|
1312
1332
|
candidateId: Id;
|
|
@@ -1325,6 +1345,21 @@ export interface DocumentsApiFacade {
|
|
|
1325
1345
|
upscale?: string | null | undefined;
|
|
1326
1346
|
background?: string | null | undefined;
|
|
1327
1347
|
}): Promise<ProjectionResult<F, UrlWrapper>>;
|
|
1348
|
+
showPublicDocumentUrls<F extends string | null | undefined = undefined>(params: {
|
|
1349
|
+
companyId: Id;
|
|
1350
|
+
documentIds: ReadonlyArray<Id>;
|
|
1351
|
+
size?: string | null | undefined;
|
|
1352
|
+
fit?: string | null | undefined;
|
|
1353
|
+
position?: string | null | undefined;
|
|
1354
|
+
format?: string | null | undefined;
|
|
1355
|
+
quality?: string | null | undefined;
|
|
1356
|
+
upscale?: string | null | undefined;
|
|
1357
|
+
background?: string | null | undefined;
|
|
1358
|
+
fields?: F;
|
|
1359
|
+
pageToken?: string | null | undefined;
|
|
1360
|
+
autoPaginate?: boolean | null | undefined;
|
|
1361
|
+
count?: number | null | undefined;
|
|
1362
|
+
}): Promise<ProjectionResult<F, PagedListDocumentUrl>>;
|
|
1328
1363
|
showTypeDirectoryZip(params: {
|
|
1329
1364
|
companyId: Id;
|
|
1330
1365
|
documentType: string;
|
package/client.mjs
CHANGED
|
@@ -895,6 +895,69 @@ const DESCRIPTORS = {
|
|
|
895
895
|
"bodyType": null,
|
|
896
896
|
"requiredProjectionFields": []
|
|
897
897
|
},
|
|
898
|
+
"showDocumentUrls": {
|
|
899
|
+
"args": [
|
|
900
|
+
{
|
|
901
|
+
"name": "companyId",
|
|
902
|
+
"type": "bigint"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "documentIds",
|
|
906
|
+
"type": "bigint[]"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "size",
|
|
910
|
+
"type": "string | null | undefined"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "fit",
|
|
914
|
+
"type": "string | null | undefined"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "position",
|
|
918
|
+
"type": "string | null | undefined"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "format",
|
|
922
|
+
"type": "string | null | undefined"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"name": "quality",
|
|
926
|
+
"type": "string | null | undefined"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"name": "upscale",
|
|
930
|
+
"type": "string | null | undefined"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "background",
|
|
934
|
+
"type": "string | null | undefined"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"name": "fields",
|
|
938
|
+
"type": "string | null | undefined"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "pageToken",
|
|
942
|
+
"type": "string | null | undefined"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "autoPaginate",
|
|
946
|
+
"type": "boolean | null | undefined"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "count",
|
|
950
|
+
"type": "number | null | undefined"
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"body": null,
|
|
954
|
+
"bodyType": null,
|
|
955
|
+
"requiredProjectionFields": [
|
|
956
|
+
"documentId",
|
|
957
|
+
"expiresAt",
|
|
958
|
+
"url"
|
|
959
|
+
]
|
|
960
|
+
},
|
|
898
961
|
"showOffice365ManagedDocumentCandidate": {
|
|
899
962
|
"args": [
|
|
900
963
|
{
|
|
@@ -974,6 +1037,69 @@ const DESCRIPTORS = {
|
|
|
974
1037
|
"url"
|
|
975
1038
|
]
|
|
976
1039
|
},
|
|
1040
|
+
"showPublicDocumentUrls": {
|
|
1041
|
+
"args": [
|
|
1042
|
+
{
|
|
1043
|
+
"name": "companyId",
|
|
1044
|
+
"type": "bigint"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "documentIds",
|
|
1048
|
+
"type": "bigint[]"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "size",
|
|
1052
|
+
"type": "string | null | undefined"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "fit",
|
|
1056
|
+
"type": "string | null | undefined"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "position",
|
|
1060
|
+
"type": "string | null | undefined"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "format",
|
|
1064
|
+
"type": "string | null | undefined"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "quality",
|
|
1068
|
+
"type": "string | null | undefined"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "upscale",
|
|
1072
|
+
"type": "string | null | undefined"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "background",
|
|
1076
|
+
"type": "string | null | undefined"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "fields",
|
|
1080
|
+
"type": "string | null | undefined"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"name": "pageToken",
|
|
1084
|
+
"type": "string | null | undefined"
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
"name": "autoPaginate",
|
|
1088
|
+
"type": "boolean | null | undefined"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "count",
|
|
1092
|
+
"type": "number | null | undefined"
|
|
1093
|
+
}
|
|
1094
|
+
],
|
|
1095
|
+
"body": null,
|
|
1096
|
+
"bodyType": null,
|
|
1097
|
+
"requiredProjectionFields": [
|
|
1098
|
+
"documentId",
|
|
1099
|
+
"expiresAt",
|
|
1100
|
+
"url"
|
|
1101
|
+
]
|
|
1102
|
+
},
|
|
977
1103
|
"showTypeDirectoryZip": {
|
|
978
1104
|
"args": [
|
|
979
1105
|
{
|
|
@@ -17102,6 +17228,7 @@ const PROPS = {
|
|
|
17102
17228
|
"deviceKey": "string | null | undefined",
|
|
17103
17229
|
"email": "string",
|
|
17104
17230
|
"fingerprint": "string | null | undefined",
|
|
17231
|
+
"hasDeviceSecret": "boolean | null | undefined",
|
|
17105
17232
|
"mcpRedirectUri": "string | null | undefined",
|
|
17106
17233
|
"mcpState": "string | null | undefined",
|
|
17107
17234
|
"session": "string | null | undefined"
|
|
@@ -17111,6 +17238,7 @@ const PROPS = {
|
|
|
17111
17238
|
"code": "string",
|
|
17112
17239
|
"deviceKey": "string | null | undefined",
|
|
17113
17240
|
"fingerprint": "string | null | undefined",
|
|
17241
|
+
"hasDeviceSecret": "boolean | null | undefined",
|
|
17114
17242
|
"mcpRedirectUri": "string | null | undefined",
|
|
17115
17243
|
"mcpState": "string | null | undefined",
|
|
17116
17244
|
"mobile": "string",
|
|
@@ -17935,7 +18063,7 @@ const PROPS = {
|
|
|
17935
18063
|
"clientId": "string",
|
|
17936
18064
|
"deviceKey": "string | null | undefined",
|
|
17937
18065
|
"email": "string | null | undefined",
|
|
17938
|
-
"fingerprint": "string",
|
|
18066
|
+
"fingerprint": "string | null | undefined",
|
|
17939
18067
|
"mobile": "string | null | undefined",
|
|
17940
18068
|
"session": "string",
|
|
17941
18069
|
"srpA": "string"
|
|
@@ -17944,7 +18072,7 @@ const PROPS = {
|
|
|
17944
18072
|
"clientId": "string",
|
|
17945
18073
|
"deviceKey": "string | null | undefined",
|
|
17946
18074
|
"email": "string | null | undefined",
|
|
17947
|
-
"fingerprint": "string",
|
|
18075
|
+
"fingerprint": "string | null | undefined",
|
|
17948
18076
|
"mcpRedirectUri": "string | null | undefined",
|
|
17949
18077
|
"mcpState": "string | null | undefined",
|
|
17950
18078
|
"mobile": "string | null | undefined",
|
|
@@ -18004,6 +18132,11 @@ const PROPS = {
|
|
|
18004
18132
|
"id": "string",
|
|
18005
18133
|
"uploadUrl": "string"
|
|
18006
18134
|
},
|
|
18135
|
+
"DocumentUrlProps": {
|
|
18136
|
+
"documentId": "bigint",
|
|
18137
|
+
"expiresAt": "SoliboInstant /* Instant */",
|
|
18138
|
+
"url": "string"
|
|
18139
|
+
},
|
|
18007
18140
|
"DraftCompanyProps": {
|
|
18008
18141
|
"id": "bigint",
|
|
18009
18142
|
"orgNr": "string | null | undefined",
|
|
@@ -18046,6 +18179,7 @@ const PROPS = {
|
|
|
18046
18179
|
},
|
|
18047
18180
|
"EmailInlineConfirmCommandProps": {
|
|
18048
18181
|
"fingerprint": "string",
|
|
18182
|
+
"hasDeviceSecret": "boolean | null | undefined",
|
|
18049
18183
|
"session": "string"
|
|
18050
18184
|
},
|
|
18051
18185
|
"EmployeeParticipantProps": {
|
|
@@ -18392,6 +18526,10 @@ const PROPS = {
|
|
|
18392
18526
|
"HmsSettingsProps": {
|
|
18393
18527
|
"routineDraftGroups": "RoutineGroupProps[]"
|
|
18394
18528
|
},
|
|
18529
|
+
"HmsSettingsRefusalProps": {
|
|
18530
|
+
"reason": "HmsSettingsRefusalReason",
|
|
18531
|
+
"routineGroupIds": "bigint[] | null | undefined"
|
|
18532
|
+
},
|
|
18395
18533
|
"HomepageProps": {
|
|
18396
18534
|
"company": "CompanyProps",
|
|
18397
18535
|
"feed": "PostProps[]",
|
|
@@ -18802,6 +18940,7 @@ const PROPS = {
|
|
|
18802
18940
|
"updatedById": "bigint | null | undefined"
|
|
18803
18941
|
},
|
|
18804
18942
|
"IssueInMeetingAttachedToMeetingByProps": {
|
|
18943
|
+
"access": "UserAccessProps | null | undefined",
|
|
18805
18944
|
"country": "string | null | undefined",
|
|
18806
18945
|
"email": "string | null | undefined",
|
|
18807
18946
|
"id": "string",
|
|
@@ -18891,6 +19030,7 @@ const PROPS = {
|
|
|
18891
19030
|
"deviceKey": "string | null | undefined",
|
|
18892
19031
|
"email": "string",
|
|
18893
19032
|
"fingerprint": "string | null | undefined",
|
|
19033
|
+
"hasDeviceSecret": "boolean | null | undefined",
|
|
18894
19034
|
"mcpRedirectUri": "string | null | undefined",
|
|
18895
19035
|
"mcpState": "string | null | undefined"
|
|
18896
19036
|
},
|
|
@@ -18898,6 +19038,7 @@ const PROPS = {
|
|
|
18898
19038
|
"clientId": "string",
|
|
18899
19039
|
"deviceKey": "string | null | undefined",
|
|
18900
19040
|
"fingerprint": "string | null | undefined",
|
|
19041
|
+
"hasDeviceSecret": "boolean | null | undefined",
|
|
18901
19042
|
"mcpRedirectUri": "string | null | undefined",
|
|
18902
19043
|
"mcpState": "string | null | undefined",
|
|
18903
19044
|
"mobile": "string"
|
|
@@ -19562,6 +19703,11 @@ const PROPS = {
|
|
|
19562
19703
|
"meta": "MetaProps",
|
|
19563
19704
|
"paging": "PagingProps"
|
|
19564
19705
|
},
|
|
19706
|
+
"PagedListDocumentUrlProps": {
|
|
19707
|
+
"items": "DocumentUrlProps[]",
|
|
19708
|
+
"meta": "MetaProps",
|
|
19709
|
+
"paging": "PagingProps"
|
|
19710
|
+
},
|
|
19565
19711
|
"PagedListDraftOverviewProps": {
|
|
19566
19712
|
"items": "DraftOverviewProps[]",
|
|
19567
19713
|
"meta": "MetaProps",
|
|
@@ -20133,6 +20279,7 @@ const PROPS = {
|
|
|
20133
20279
|
"inputs": "PersonRoleInputProps[] | null | undefined"
|
|
20134
20280
|
},
|
|
20135
20281
|
"PersonUserProps": {
|
|
20282
|
+
"access": "UserAccessProps | null | undefined",
|
|
20136
20283
|
"country": "string | null | undefined",
|
|
20137
20284
|
"email": "string | null | undefined",
|
|
20138
20285
|
"id": "string",
|
|
@@ -21789,10 +21936,22 @@ const PROPS = {
|
|
|
21789
21936
|
"UrlWrapperProps": {
|
|
21790
21937
|
"url": "string"
|
|
21791
21938
|
},
|
|
21939
|
+
"UserAccessProps": {
|
|
21940
|
+
"ended": "UserCompanyAccessProps[] | null | undefined",
|
|
21941
|
+
"status": "UserAccessStatus",
|
|
21942
|
+
"upcoming": "UserCompanyAccessProps[] | null | undefined"
|
|
21943
|
+
},
|
|
21792
21944
|
"UserActionsByCompanyProps": {
|
|
21793
21945
|
"actions": "string[]",
|
|
21794
21946
|
"companyId": "bigint"
|
|
21795
21947
|
},
|
|
21948
|
+
"UserCompanyAccessProps": {
|
|
21949
|
+
"companyId": "bigint",
|
|
21950
|
+
"companyName": "string | null | undefined",
|
|
21951
|
+
"roleType": "RoleType",
|
|
21952
|
+
"validFrom": "SoliboInstant /* Instant */",
|
|
21953
|
+
"validTo": "SoliboInstant /* Instant */ | null | undefined"
|
|
21954
|
+
},
|
|
21796
21955
|
"UserConversationsProps": {
|
|
21797
21956
|
"company": "CompanyProps",
|
|
21798
21957
|
"conversations": "ConversationProps[]"
|
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, Collection, MutableIterable]);
|
|
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, Collection, MutableIterable]);
|
|
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, [Collection, MutableIterable]);
|
|
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, [Collection, MutableIterable]);
|
|
171
171
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
172
172
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
173
173
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -8243,6 +8243,17 @@ function isNaN_2(_this__u8e3s4) {
|
|
|
8243
8243
|
return false;
|
|
8244
8244
|
}
|
|
8245
8245
|
}
|
|
8246
|
+
function toBoolean(_this__u8e3s4) {
|
|
8247
|
+
var tmp;
|
|
8248
|
+
if (!(_this__u8e3s4 == null)) {
|
|
8249
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
8250
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
8251
|
+
tmp = _this__u8e3s4.toLowerCase() === 'true';
|
|
8252
|
+
} else {
|
|
8253
|
+
tmp = false;
|
|
8254
|
+
}
|
|
8255
|
+
return tmp;
|
|
8256
|
+
}
|
|
8246
8257
|
function Regex_init_$Init$(pattern, $this) {
|
|
8247
8258
|
Regex.call($this, pattern, emptySet());
|
|
8248
8259
|
return $this;
|
|
@@ -20038,6 +20049,7 @@ export {
|
|
|
20038
20049
|
takeLast as takeLast2r8kr8e6g6hi7,
|
|
20039
20050
|
take_0 as take9j4462mea726,
|
|
20040
20051
|
toBooleanStrictOrNull as toBooleanStrictOrNull2j0md398tkvbj,
|
|
20052
|
+
toBoolean as toBoolean2azvnq2ukl7b3,
|
|
20041
20053
|
toByte_0 as toByte1ihbgyfg5m688,
|
|
20042
20054
|
toCharArray as toCharArray32huqyw9tt7kx,
|
|
20043
20055
|
toDoubleOrNull as toDoubleOrNullkxwozihadygj,
|