@solibo/solibo-sdk 1.57.9 → 1.58.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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/decimal/BigDecimal.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/decimal/BigDecimalExtensions.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/integer/BigInteger.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/integer/BigIntegerExtensions.mjs +2 -2
- package/client-core.mjs +71 -7
- package/client.d.mts +38 -1
- package/core.d.mts +2 -2
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesCbc.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesCtr.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesGcm.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEcdh.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEcdsa.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEdDsa.mjs +2 -2
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoHmac.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaOaep.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaPkcs1.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaPss.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoXdh.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +31 -0
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -1
- package/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableJob.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Runnable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +8 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +128 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +19 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +50 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Distinct.mjs +215 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +111 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +2 -273
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +2 -366
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +2 -144
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +648 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +13 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +311 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +39 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +2 -2
- package/ktor-ktor-client-auth/io/ktor/client/plugins/auth/Auth.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/fetch/LibDom.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCache.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheEntry.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheLegacy.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheValidation.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/DisabledCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/HttpCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/UnlimitedCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cookies/HttpCookies.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +2 -2
- package/ktor-ktor-client-encoding/io/ktor/client/plugins/compression/ContentEncoding.mjs +1 -1
- package/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/Url.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/content/CompressedContent.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +11 -2
- package/package.json +1 -1
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-4.mjs +5 -5
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-6.mjs +8 -8
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-7.mjs +4 -4
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-8.mjs +21 -21
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-9.mjs +9 -9
- package/solibo-cycles/cryptography-kotlin-cryptography-serialization-asn1-modules-3.mjs +3 -3
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +11 -11
- package/solibo-cycles/kotlin-kotlin-stdlib-13.mjs +297 -245
- package/solibo-cycles/kotlin-kotlin-stdlib-14.mjs +250 -428
- package/solibo-cycles/kotlin-kotlin-stdlib-15.mjs +482 -0
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +5576 -3023
- package/solibo-cycles/kotlinx-coroutines-core-18.mjs +3500 -365
- package/solibo-cycles/kotlinx-coroutines-core-19.mjs +1316 -0
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-20.mjs +602 -336
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-21.mjs +383 -0
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-22.mjs +4075 -145
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-23.mjs +188 -196
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-24.mjs +186 -360
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-25.mjs +392 -0
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-26.mjs +227 -3646
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-27.mjs +3638 -143
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-28.mjs +179 -0
- package/solibo-cycles/ktor-ktor-client-core-29.mjs +3004 -427
- package/solibo-cycles/ktor-ktor-client-core-30.mjs +455 -3061
- package/solibo-cycles/ktor-ktor-client-core-31.mjs +3176 -0
- package/solibo-cycles/{ktor-ktor-http-31.mjs → ktor-ktor-http-32.mjs} +5 -5
- package/solibo-cycles/ktor-ktor-io-33.mjs +2950 -342
- package/solibo-cycles/ktor-ktor-io-34.mjs +412 -0
- package/solibo-cycles/ktor-ktor-utils-35.mjs +557 -312
- package/solibo-cycles/ktor-ktor-utils-36.mjs +329 -218
- package/solibo-cycles/ktor-ktor-utils-37.mjs +245 -0
- package/solibo-cycles/{solibo-sdk-sdk-api-document-39.mjs → solibo-sdk-sdk-api-document-40.mjs} +1 -1
- package/solibo-cycles/solibo-sdk-sdk-api-resident-43.mjs +819 -332
- package/solibo-cycles/solibo-sdk-sdk-api-resident-44.mjs +745 -1431
- package/solibo-cycles/solibo-sdk-sdk-api-resident-45.mjs +1597 -0
- package/solibo-cycles/solibo-sdk-sdk-core-47.mjs +1020 -3585
- package/solibo-cycles/solibo-sdk-sdk-core-48.mjs +3984 -2184
- package/solibo-cycles/solibo-sdk-sdk-core-49.mjs +2634 -580
- package/solibo-cycles/solibo-sdk-sdk-core-50.mjs +597 -1902
- package/solibo-cycles/solibo-sdk-sdk-core-51.mjs +1873 -943
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +1147 -9240
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +8074 -3853
- package/solibo-cycles/solibo-sdk-sdk-core-54.mjs +5135 -0
- package/solibo-sdk-sdk/no/solibo/oss/sdk/SoliboSDK.mjs +1 -1
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/IntegratedDocumentMutation.export.d.mts +18 -0
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/IntegratedDocumentMutation.mjs +3411 -463
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +874 -707
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewCommunicationCommentPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewMessageInConversationPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewNeighborhoodPostPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewOppslagPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewPracticalInfoPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/PushNotificationPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentUploader.mjs +2 -2
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentsApi.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/ExpenseFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/FollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/MeetingProtocolFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/SupplierInvoiceFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalOrganizationCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalPersonCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/ResidentOperations.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/ResidentsApi.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreateOrganizationResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreatePersonResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreateResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateOrganizationResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdatePersonResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationAltinnError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationEmailError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationPostenError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationProcessError.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/Platform.js.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/SoliboSDKBase.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBus.export.d.mts +3 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBus.mjs +743 -69
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBusAccess.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBusSubscriptions.mjs +75 -25
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.export.d.mts +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/ApiClient.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Ack.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AckedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Attendance.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AuthUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BoardParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUserParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationEventPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationMessagePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationTypingPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationUpdatedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Customer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DomainEventPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EmployeeParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/GenericPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/HeartbeatPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IncomingEventBusMessage.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/InquiryParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationCustomer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationResident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Participant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonCustomer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonResident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Ping.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Pong.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ReplayCompletePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Resident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipAggregate.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipPeriod.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextClose.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpen.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresence.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdate.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Subscribe.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscribedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContactParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Typing.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Unsubscribe.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/auth/Auth.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/auth/SignInResult.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +22 -1
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +0 -5952
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-19.mjs +0 -649
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-21.mjs +0 -4140
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-25.mjs +0 -255
- package/solibo-cycles/ktor-ktor-client-core-28.mjs +0 -3147
- package/solibo-cycles/ktor-ktor-io-32.mjs +0 -3020
- package/solibo-cycles/ktor-ktor-utils-34.mjs +0 -601
- package/solibo-cycles/solibo-sdk-sdk-api-resident-42.mjs +0 -1398
- package/solibo-cycles/solibo-sdk-sdk-core-46.mjs +0 -2166
- /package/solibo-cycles/{KotlinBigInteger-bignum-15.mjs → KotlinBigInteger-bignum-16.mjs} +0 -0
- /package/solibo-cycles/{ktor-ktor-websockets-37.mjs → ktor-ktor-websockets-38.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-communication-38.mjs → solibo-sdk-sdk-api-communication-39.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-follow-up-40.mjs → solibo-sdk-sdk-api-follow-up-41.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-invoicing-41.mjs → solibo-sdk-sdk-api-invoicing-42.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-third-party-information-45.mjs → solibo-sdk-sdk-api-third-party-information-46.mjs} +0 -0
|
@@ -1,654 +1,30 @@
|
|
|
1
|
-
// Generated by sdk/scripts/post-process-per-file.js from an import cycle of
|
|
2
|
-
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from "../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs";
|
|
7
|
-
import {
|
|
8
|
-
ResidentType_PERSON_getInstance3impdovdxjz2m as ResidentType_PERSON_getInstance,
|
|
9
|
-
ResidentType_ORGANIZATION_getInstance2v3y9nyybtu7a as ResidentType_ORGANIZATION_getInstance
|
|
10
|
-
} from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentType.mjs";
|
|
11
|
-
import { createResidentOperation3lqffqvhmae17 as createResidentOperation } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/client/operations/CreateResidentOperation.mjs";
|
|
12
|
-
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from "../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs";
|
|
13
|
-
import { bodyAsText193cd91fn5h1t as bodyAsText } from "../ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs";
|
|
14
|
-
import { isBlank1dvkhjjvox3p0 as isBlank } from "../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs";
|
|
15
|
-
import { Person2qfwnvdasq352 as Person } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Person.mjs";
|
|
16
|
-
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
17
|
-
import { arrayOf1akklvh2at202 as arrayOf } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
18
|
-
import { createKType31ecntyyaay3k as createKType } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs";
|
|
19
|
-
import { serializer1i4e9ym37oxmo as serializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs";
|
|
20
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
21
|
-
import { KSerializerzf77vz1967fq as KSerializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs";
|
|
22
|
-
import { isInterface3d6p8outrmvmk as isInterface } from "../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs";
|
|
1
|
+
// Generated by sdk/scripts/post-process-per-file.js from an import cycle of 3 files; see collapseCycles.
|
|
2
|
+
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateOrganizationResidentCommand.mjs
|
|
3
|
+
import { Companion_getInstance25z09y6q6rzib as Companion_getInstance } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationNumberType.mjs";
|
|
4
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
5
|
+
import { lazy1261dae0bgscp as lazy } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
23
6
|
import {
|
|
24
7
|
protoOf180f3jzyo7rfj as protoOf,
|
|
25
|
-
toString1pkumu07cwy4m as toString
|
|
26
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
27
|
-
import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
28
|
-
import { Organization12q9lomw4ny0l as Organization } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Organization.mjs";
|
|
29
|
-
import { updateResidentOperation3quldb6kwgq8f as updateResidentOperation } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/client/operations/UpdateResidentOperation.mjs";
|
|
30
|
-
import { IllegalArgumentException_init_$Create$1gox8sdqs91jy as IllegalArgumentException_init_$Create$ } from "../kotlin-kotlin-stdlib/kotlin/exceptions.mjs";
|
|
31
|
-
import { exportResidentsOperationykxqqh8jwdld as exportResidentsOperation } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/client/operations/ExportResidentsOperation.mjs";
|
|
32
|
-
import { exportSelectedResidentsOperation39l1iujz1cr5u as exportSelectedResidentsOperation } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/client/operations/ExportSelectedResidentsOperation.mjs";
|
|
33
|
-
import { readRawBytesfstflas0z5ue as readRawBytes } from "../ktor-ktor-client-core/io/ktor/client/statement/Readers.mjs";
|
|
34
|
-
function createPersonResidentOperation(client, companyId, input) {
|
|
35
|
-
return promisify(function($completion) {
|
|
36
|
-
return createPersonResidentOperation_0(client, companyId, input, $completion);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function createPersonResidentOperation_0(client, companyId, input, $completion) {
|
|
40
|
-
return createPersonResident(client, get_RESIDENT_RESPONSE_JSON(), companyId, input, $completion);
|
|
41
|
-
}
|
|
42
|
-
function createOrganizationResidentOperation(client, companyId, input) {
|
|
43
|
-
return promisify(function($completion) {
|
|
44
|
-
return createOrganizationResidentOperation_0(client, companyId, input, $completion);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function createOrganizationResidentOperation_0(client, companyId, input, $completion) {
|
|
48
|
-
return createOrganizationResident(client, get_RESIDENT_RESPONSE_JSON(), companyId, input, $completion);
|
|
49
|
-
}
|
|
50
|
-
function updatePersonResidentOperation(client, companyId, residentId, input) {
|
|
51
|
-
return promisify(function($completion) {
|
|
52
|
-
return updatePersonResidentOperation_0(client, companyId, residentId, input, $completion);
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
function updatePersonResidentOperation_0(client, companyId, residentId, input, $completion) {
|
|
56
|
-
return updatePersonResident(client, get_RESIDENT_RESPONSE_JSON(), companyId, residentId, input, $completion);
|
|
57
|
-
}
|
|
58
|
-
function updateOrganizationResidentOperation(client, companyId, residentId, input) {
|
|
59
|
-
return promisify(function($completion) {
|
|
60
|
-
return updateOrganizationResidentOperation_0(client, companyId, residentId, input, $completion);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
function updateOrganizationResidentOperation_0(client, companyId, residentId, input, $completion) {
|
|
64
|
-
return updateOrganizationResident(client, get_RESIDENT_RESPONSE_JSON(), companyId, residentId, input, $completion);
|
|
65
|
-
}
|
|
66
|
-
function exportResidentsFileOperation(client, companyId, includePnr) {
|
|
67
|
-
return promisify(function($completion) {
|
|
68
|
-
return exportResidentsFileOperation_0(client, companyId, includePnr, $completion);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
function exportResidentsFileOperation_0(client, companyId, includePnr, $completion) {
|
|
72
|
-
includePnr = includePnr === VOID ? false : includePnr;
|
|
73
|
-
return exportResidentsFile(client, companyId, includePnr, $completion);
|
|
74
|
-
}
|
|
75
|
-
function exportSelectedResidentsFileOperation(client, companyId, input) {
|
|
76
|
-
return promisify(function($completion) {
|
|
77
|
-
return exportSelectedResidentsFileOperation_0(client, companyId, input, $completion);
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
function exportSelectedResidentsFileOperation_0(client, companyId, input, $completion) {
|
|
81
|
-
return exportSelectedResidentsFile(client, companyId, input, $completion);
|
|
82
|
-
}
|
|
83
|
-
function createPersonResident(client, json, companyId, input, $completion) {
|
|
84
|
-
var tmp = new ($createPersonResidentCOROUTINE$())(client, json, companyId, input, $completion);
|
|
85
|
-
tmp.result_1 = Unit_instance;
|
|
86
|
-
tmp.exception_1 = null;
|
|
87
|
-
return tmp.doResume_5yljmg_k$();
|
|
88
|
-
}
|
|
89
|
-
function createOrganizationResident(client, json, companyId, input, $completion) {
|
|
90
|
-
var tmp = new ($createOrganizationResidentCOROUTINE$())(client, json, companyId, input, $completion);
|
|
91
|
-
tmp.result_1 = Unit_instance;
|
|
92
|
-
tmp.exception_1 = null;
|
|
93
|
-
return tmp.doResume_5yljmg_k$();
|
|
94
|
-
}
|
|
95
|
-
function updatePersonResident(client, json, companyId, residentId, input, $completion) {
|
|
96
|
-
var tmp = new ($updatePersonResidentCOROUTINE$())(client, json, companyId, residentId, input, $completion);
|
|
97
|
-
tmp.result_1 = Unit_instance;
|
|
98
|
-
tmp.exception_1 = null;
|
|
99
|
-
return tmp.doResume_5yljmg_k$();
|
|
100
|
-
}
|
|
101
|
-
function updateOrganizationResident(client, json, companyId, residentId, input, $completion) {
|
|
102
|
-
var tmp = new ($updateOrganizationResidentCOROUTINE$())(client, json, companyId, residentId, input, $completion);
|
|
103
|
-
tmp.result_1 = Unit_instance;
|
|
104
|
-
tmp.exception_1 = null;
|
|
105
|
-
return tmp.doResume_5yljmg_k$();
|
|
106
|
-
}
|
|
107
|
-
function exportResidentsFile(client, companyId, includePnr, $completion) {
|
|
108
|
-
var tmp = new ($exportResidentsFileCOROUTINE$())(client, companyId, includePnr, $completion);
|
|
109
|
-
tmp.result_1 = Unit_instance;
|
|
110
|
-
tmp.exception_1 = null;
|
|
111
|
-
return tmp.doResume_5yljmg_k$();
|
|
112
|
-
}
|
|
113
|
-
function exportSelectedResidentsFile(client, companyId, input, $completion) {
|
|
114
|
-
var tmp = new ($exportSelectedResidentsFileCOROUTINE$())(client, companyId, input, $completion);
|
|
115
|
-
tmp.result_1 = Unit_instance;
|
|
116
|
-
tmp.exception_1 = null;
|
|
117
|
-
return tmp.doResume_5yljmg_k$();
|
|
118
|
-
}
|
|
119
|
-
function toExportFile(_this__u8e3s4, $completion) {
|
|
120
|
-
var tmp = new ($toExportFileCOROUTINE$())(_this__u8e3s4, $completion);
|
|
121
|
-
tmp.result_1 = Unit_instance;
|
|
122
|
-
tmp.exception_1 = null;
|
|
123
|
-
return tmp.doResume_5yljmg_k$();
|
|
124
|
-
}
|
|
125
|
-
var $createPersonResidentCOROUTINE$Class;
|
|
126
|
-
function $createPersonResidentCOROUTINE$() {
|
|
127
|
-
if ($createPersonResidentCOROUTINE$Class === VOID) {
|
|
128
|
-
let $ = function(client, json, companyId, input, resultContinuation) {
|
|
129
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
130
|
-
this.client_1 = client;
|
|
131
|
-
this.json_1 = json;
|
|
132
|
-
this.companyId_1 = companyId;
|
|
133
|
-
this.input_1 = input;
|
|
134
|
-
};
|
|
135
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
136
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
137
|
-
var suspendResult = this.result_1;
|
|
138
|
-
$sm: do
|
|
139
|
-
try {
|
|
140
|
-
var tmp = this.state_1;
|
|
141
|
-
switch (tmp) {
|
|
142
|
-
case 0:
|
|
143
|
-
this.exceptionState_1 = 4;
|
|
144
|
-
this.tmp02__1 = this.json_1;
|
|
145
|
-
this.state_1 = 1;
|
|
146
|
-
suspendResult = createResidentOperation(this.client_1, this.companyId_1, ResidentType_PERSON_getInstance(), this.input_1, this);
|
|
147
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
148
|
-
return suspendResult;
|
|
149
|
-
}
|
|
150
|
-
continue $sm;
|
|
151
|
-
case 1:
|
|
152
|
-
var tmp2 = suspendResult;
|
|
153
|
-
this.this0__1 = this.tmp02__1;
|
|
154
|
-
this.response1__1 = tmp2;
|
|
155
|
-
this.state_1 = 2;
|
|
156
|
-
suspendResult = ensureSuccess(this.response1__1, this);
|
|
157
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
158
|
-
return suspendResult;
|
|
159
|
-
}
|
|
160
|
-
continue $sm;
|
|
161
|
-
case 2:
|
|
162
|
-
this.state_1 = 3;
|
|
163
|
-
suspendResult = bodyAsText(this.response1__1.response, VOID, this);
|
|
164
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
165
|
-
return suspendResult;
|
|
166
|
-
}
|
|
167
|
-
continue $sm;
|
|
168
|
-
case 3:
|
|
169
|
-
var body = suspendResult;
|
|
170
|
-
var tmp_0;
|
|
171
|
-
if (!isBlank(body)) {
|
|
172
|
-
tmp_0 = body;
|
|
173
|
-
} else {
|
|
174
|
-
tmp_0 = null;
|
|
175
|
-
}
|
|
176
|
-
var tmp0_safe_receiver = tmp_0;
|
|
177
|
-
var tmp_1;
|
|
178
|
-
if (tmp0_safe_receiver == null) {
|
|
179
|
-
tmp_1 = null;
|
|
180
|
-
} else {
|
|
181
|
-
var this_0 = this.this0__1;
|
|
182
|
-
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
183
|
-
var this_2 = serializer(this_1, createKType(getKClass(Person()), arrayOf([]), false));
|
|
184
|
-
tmp_1 = this_0.decodeFromString_jwu9sq_k$(isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE(), tmp0_safe_receiver);
|
|
185
|
-
}
|
|
186
|
-
return tmp_1;
|
|
187
|
-
case 4:
|
|
188
|
-
throw this.exception_1;
|
|
189
|
-
}
|
|
190
|
-
} catch ($p) {
|
|
191
|
-
var e = $p;
|
|
192
|
-
if (this.exceptionState_1 === 4) {
|
|
193
|
-
throw e;
|
|
194
|
-
} else {
|
|
195
|
-
this.state_1 = this.exceptionState_1;
|
|
196
|
-
this.exception_1 = e;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
while (true);
|
|
200
|
-
};
|
|
201
|
-
$createPersonResidentCOROUTINE$Class = $;
|
|
202
|
-
}
|
|
203
|
-
return $createPersonResidentCOROUTINE$Class;
|
|
204
|
-
}
|
|
205
|
-
var $createOrganizationResidentCOROUTINE$Class;
|
|
206
|
-
function $createOrganizationResidentCOROUTINE$() {
|
|
207
|
-
if ($createOrganizationResidentCOROUTINE$Class === VOID) {
|
|
208
|
-
let $ = function(client, json, companyId, input, resultContinuation) {
|
|
209
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
210
|
-
this.client_1 = client;
|
|
211
|
-
this.json_1 = json;
|
|
212
|
-
this.companyId_1 = companyId;
|
|
213
|
-
this.input_1 = input;
|
|
214
|
-
};
|
|
215
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
216
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
217
|
-
var suspendResult = this.result_1;
|
|
218
|
-
$sm: do
|
|
219
|
-
try {
|
|
220
|
-
var tmp = this.state_1;
|
|
221
|
-
switch (tmp) {
|
|
222
|
-
case 0:
|
|
223
|
-
this.exceptionState_1 = 4;
|
|
224
|
-
this.tmp02__1 = this.json_1;
|
|
225
|
-
this.state_1 = 1;
|
|
226
|
-
suspendResult = createResidentOperation(this.client_1, this.companyId_1, ResidentType_ORGANIZATION_getInstance(), this.input_1, this);
|
|
227
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
228
|
-
return suspendResult;
|
|
229
|
-
}
|
|
230
|
-
continue $sm;
|
|
231
|
-
case 1:
|
|
232
|
-
var tmp2 = suspendResult;
|
|
233
|
-
this.this0__1 = this.tmp02__1;
|
|
234
|
-
this.response1__1 = tmp2;
|
|
235
|
-
this.state_1 = 2;
|
|
236
|
-
suspendResult = ensureSuccess(this.response1__1, this);
|
|
237
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
238
|
-
return suspendResult;
|
|
239
|
-
}
|
|
240
|
-
continue $sm;
|
|
241
|
-
case 2:
|
|
242
|
-
this.state_1 = 3;
|
|
243
|
-
suspendResult = bodyAsText(this.response1__1.response, VOID, this);
|
|
244
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
245
|
-
return suspendResult;
|
|
246
|
-
}
|
|
247
|
-
continue $sm;
|
|
248
|
-
case 3:
|
|
249
|
-
var body = suspendResult;
|
|
250
|
-
var tmp_0;
|
|
251
|
-
if (!isBlank(body)) {
|
|
252
|
-
tmp_0 = body;
|
|
253
|
-
} else {
|
|
254
|
-
tmp_0 = null;
|
|
255
|
-
}
|
|
256
|
-
var tmp0_safe_receiver = tmp_0;
|
|
257
|
-
var tmp_1;
|
|
258
|
-
if (tmp0_safe_receiver == null) {
|
|
259
|
-
tmp_1 = null;
|
|
260
|
-
} else {
|
|
261
|
-
var this_0 = this.this0__1;
|
|
262
|
-
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
263
|
-
var this_2 = serializer(this_1, createKType(getKClass(Organization()), arrayOf([]), false));
|
|
264
|
-
tmp_1 = this_0.decodeFromString_jwu9sq_k$(isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE(), tmp0_safe_receiver);
|
|
265
|
-
}
|
|
266
|
-
return tmp_1;
|
|
267
|
-
case 4:
|
|
268
|
-
throw this.exception_1;
|
|
269
|
-
}
|
|
270
|
-
} catch ($p) {
|
|
271
|
-
var e = $p;
|
|
272
|
-
if (this.exceptionState_1 === 4) {
|
|
273
|
-
throw e;
|
|
274
|
-
} else {
|
|
275
|
-
this.state_1 = this.exceptionState_1;
|
|
276
|
-
this.exception_1 = e;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
while (true);
|
|
280
|
-
};
|
|
281
|
-
$createOrganizationResidentCOROUTINE$Class = $;
|
|
282
|
-
}
|
|
283
|
-
return $createOrganizationResidentCOROUTINE$Class;
|
|
284
|
-
}
|
|
285
|
-
var $updatePersonResidentCOROUTINE$Class;
|
|
286
|
-
function $updatePersonResidentCOROUTINE$() {
|
|
287
|
-
if ($updatePersonResidentCOROUTINE$Class === VOID) {
|
|
288
|
-
let $ = function(client, json, companyId, residentId, input, resultContinuation) {
|
|
289
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
290
|
-
this.client_1 = client;
|
|
291
|
-
this.json_1 = json;
|
|
292
|
-
this.companyId_1 = companyId;
|
|
293
|
-
this.residentId_1 = residentId;
|
|
294
|
-
this.input_1 = input;
|
|
295
|
-
};
|
|
296
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
297
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
298
|
-
var suspendResult = this.result_1;
|
|
299
|
-
$sm: do
|
|
300
|
-
try {
|
|
301
|
-
var tmp = this.state_1;
|
|
302
|
-
switch (tmp) {
|
|
303
|
-
case 0:
|
|
304
|
-
this.exceptionState_1 = 4;
|
|
305
|
-
this.tmp02__1 = this.json_1;
|
|
306
|
-
this.state_1 = 1;
|
|
307
|
-
suspendResult = updateResidentOperation(this.client_1, this.companyId_1, ResidentType_PERSON_getInstance(), this.residentId_1, this.input_1, this);
|
|
308
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
309
|
-
return suspendResult;
|
|
310
|
-
}
|
|
311
|
-
continue $sm;
|
|
312
|
-
case 1:
|
|
313
|
-
var tmp2 = suspendResult;
|
|
314
|
-
this.this0__1 = this.tmp02__1;
|
|
315
|
-
this.response1__1 = tmp2;
|
|
316
|
-
this.state_1 = 2;
|
|
317
|
-
suspendResult = ensureSuccess(this.response1__1, this);
|
|
318
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
319
|
-
return suspendResult;
|
|
320
|
-
}
|
|
321
|
-
continue $sm;
|
|
322
|
-
case 2:
|
|
323
|
-
this.state_1 = 3;
|
|
324
|
-
suspendResult = bodyAsText(this.response1__1.response, VOID, this);
|
|
325
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
326
|
-
return suspendResult;
|
|
327
|
-
}
|
|
328
|
-
continue $sm;
|
|
329
|
-
case 3:
|
|
330
|
-
var body = suspendResult;
|
|
331
|
-
var tmp_0;
|
|
332
|
-
if (!isBlank(body)) {
|
|
333
|
-
tmp_0 = body;
|
|
334
|
-
} else {
|
|
335
|
-
tmp_0 = null;
|
|
336
|
-
}
|
|
337
|
-
var tmp0_safe_receiver = tmp_0;
|
|
338
|
-
var tmp_1;
|
|
339
|
-
if (tmp0_safe_receiver == null) {
|
|
340
|
-
tmp_1 = null;
|
|
341
|
-
} else {
|
|
342
|
-
var this_0 = this.this0__1;
|
|
343
|
-
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
344
|
-
var this_2 = serializer(this_1, createKType(getKClass(Person()), arrayOf([]), false));
|
|
345
|
-
tmp_1 = this_0.decodeFromString_jwu9sq_k$(isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE(), tmp0_safe_receiver);
|
|
346
|
-
}
|
|
347
|
-
var tmp0 = tmp_1;
|
|
348
|
-
var tmp$ret$0;
|
|
349
|
-
l$ret$1: do {
|
|
350
|
-
if (tmp0 == null) {
|
|
351
|
-
var message = "Resident update returned an empty person response";
|
|
352
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
353
|
-
} else {
|
|
354
|
-
tmp$ret$0 = tmp0;
|
|
355
|
-
break l$ret$1;
|
|
356
|
-
}
|
|
357
|
-
} while (false);
|
|
358
|
-
return tmp$ret$0;
|
|
359
|
-
case 4:
|
|
360
|
-
throw this.exception_1;
|
|
361
|
-
}
|
|
362
|
-
} catch ($p) {
|
|
363
|
-
var e = $p;
|
|
364
|
-
if (this.exceptionState_1 === 4) {
|
|
365
|
-
throw e;
|
|
366
|
-
} else {
|
|
367
|
-
this.state_1 = this.exceptionState_1;
|
|
368
|
-
this.exception_1 = e;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
while (true);
|
|
372
|
-
};
|
|
373
|
-
$updatePersonResidentCOROUTINE$Class = $;
|
|
374
|
-
}
|
|
375
|
-
return $updatePersonResidentCOROUTINE$Class;
|
|
376
|
-
}
|
|
377
|
-
var $updateOrganizationResidentCOROUTINE$Class;
|
|
378
|
-
function $updateOrganizationResidentCOROUTINE$() {
|
|
379
|
-
if ($updateOrganizationResidentCOROUTINE$Class === VOID) {
|
|
380
|
-
let $ = function(client, json, companyId, residentId, input, resultContinuation) {
|
|
381
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
382
|
-
this.client_1 = client;
|
|
383
|
-
this.json_1 = json;
|
|
384
|
-
this.companyId_1 = companyId;
|
|
385
|
-
this.residentId_1 = residentId;
|
|
386
|
-
this.input_1 = input;
|
|
387
|
-
};
|
|
388
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
389
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
390
|
-
var suspendResult = this.result_1;
|
|
391
|
-
$sm: do
|
|
392
|
-
try {
|
|
393
|
-
var tmp = this.state_1;
|
|
394
|
-
switch (tmp) {
|
|
395
|
-
case 0:
|
|
396
|
-
this.exceptionState_1 = 4;
|
|
397
|
-
this.tmp02__1 = this.json_1;
|
|
398
|
-
this.state_1 = 1;
|
|
399
|
-
suspendResult = updateResidentOperation(this.client_1, this.companyId_1, ResidentType_ORGANIZATION_getInstance(), this.residentId_1, this.input_1, this);
|
|
400
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
401
|
-
return suspendResult;
|
|
402
|
-
}
|
|
403
|
-
continue $sm;
|
|
404
|
-
case 1:
|
|
405
|
-
var tmp2 = suspendResult;
|
|
406
|
-
this.this0__1 = this.tmp02__1;
|
|
407
|
-
this.response1__1 = tmp2;
|
|
408
|
-
this.state_1 = 2;
|
|
409
|
-
suspendResult = ensureSuccess(this.response1__1, this);
|
|
410
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
411
|
-
return suspendResult;
|
|
412
|
-
}
|
|
413
|
-
continue $sm;
|
|
414
|
-
case 2:
|
|
415
|
-
this.state_1 = 3;
|
|
416
|
-
suspendResult = bodyAsText(this.response1__1.response, VOID, this);
|
|
417
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
418
|
-
return suspendResult;
|
|
419
|
-
}
|
|
420
|
-
continue $sm;
|
|
421
|
-
case 3:
|
|
422
|
-
var body = suspendResult;
|
|
423
|
-
var tmp_0;
|
|
424
|
-
if (!isBlank(body)) {
|
|
425
|
-
tmp_0 = body;
|
|
426
|
-
} else {
|
|
427
|
-
tmp_0 = null;
|
|
428
|
-
}
|
|
429
|
-
var tmp0_safe_receiver = tmp_0;
|
|
430
|
-
var tmp_1;
|
|
431
|
-
if (tmp0_safe_receiver == null) {
|
|
432
|
-
tmp_1 = null;
|
|
433
|
-
} else {
|
|
434
|
-
var this_0 = this.this0__1;
|
|
435
|
-
var this_1 = this_0.get_serializersModule_piitvg_k$();
|
|
436
|
-
var this_2 = serializer(this_1, createKType(getKClass(Organization()), arrayOf([]), false));
|
|
437
|
-
tmp_1 = this_0.decodeFromString_jwu9sq_k$(isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE(), tmp0_safe_receiver);
|
|
438
|
-
}
|
|
439
|
-
var tmp0 = tmp_1;
|
|
440
|
-
var tmp$ret$0;
|
|
441
|
-
l$ret$1: do {
|
|
442
|
-
if (tmp0 == null) {
|
|
443
|
-
var message = "Resident update returned an empty organization response";
|
|
444
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
445
|
-
} else {
|
|
446
|
-
tmp$ret$0 = tmp0;
|
|
447
|
-
break l$ret$1;
|
|
448
|
-
}
|
|
449
|
-
} while (false);
|
|
450
|
-
return tmp$ret$0;
|
|
451
|
-
case 4:
|
|
452
|
-
throw this.exception_1;
|
|
453
|
-
}
|
|
454
|
-
} catch ($p) {
|
|
455
|
-
var e = $p;
|
|
456
|
-
if (this.exceptionState_1 === 4) {
|
|
457
|
-
throw e;
|
|
458
|
-
} else {
|
|
459
|
-
this.state_1 = this.exceptionState_1;
|
|
460
|
-
this.exception_1 = e;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
while (true);
|
|
464
|
-
};
|
|
465
|
-
$updateOrganizationResidentCOROUTINE$Class = $;
|
|
466
|
-
}
|
|
467
|
-
return $updateOrganizationResidentCOROUTINE$Class;
|
|
468
|
-
}
|
|
469
|
-
var $exportResidentsFileCOROUTINE$Class;
|
|
470
|
-
function $exportResidentsFileCOROUTINE$() {
|
|
471
|
-
if ($exportResidentsFileCOROUTINE$Class === VOID) {
|
|
472
|
-
let $ = function(client, companyId, includePnr, resultContinuation) {
|
|
473
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
474
|
-
this.client_1 = client;
|
|
475
|
-
this.companyId_1 = companyId;
|
|
476
|
-
this.includePnr_1 = includePnr;
|
|
477
|
-
};
|
|
478
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
479
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
480
|
-
var suspendResult = this.result_1;
|
|
481
|
-
$sm: do
|
|
482
|
-
try {
|
|
483
|
-
var tmp = this.state_1;
|
|
484
|
-
switch (tmp) {
|
|
485
|
-
case 0:
|
|
486
|
-
this.exceptionState_1 = 4;
|
|
487
|
-
this.state_1 = 1;
|
|
488
|
-
suspendResult = exportResidentsOperation(this.client_1, this.companyId_1, this.includePnr_1, this);
|
|
489
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
490
|
-
return suspendResult;
|
|
491
|
-
}
|
|
492
|
-
continue $sm;
|
|
493
|
-
case 1:
|
|
494
|
-
this.response0__1 = suspendResult;
|
|
495
|
-
this.state_1 = 2;
|
|
496
|
-
suspendResult = ensureFileSuccess(this.response0__1, this);
|
|
497
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
498
|
-
return suspendResult;
|
|
499
|
-
}
|
|
500
|
-
continue $sm;
|
|
501
|
-
case 2:
|
|
502
|
-
this.state_1 = 3;
|
|
503
|
-
suspendResult = toExportFile(this.response0__1, this);
|
|
504
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
505
|
-
return suspendResult;
|
|
506
|
-
}
|
|
507
|
-
continue $sm;
|
|
508
|
-
case 3:
|
|
509
|
-
return suspendResult;
|
|
510
|
-
case 4:
|
|
511
|
-
throw this.exception_1;
|
|
512
|
-
}
|
|
513
|
-
} catch ($p) {
|
|
514
|
-
var e = $p;
|
|
515
|
-
if (this.exceptionState_1 === 4) {
|
|
516
|
-
throw e;
|
|
517
|
-
} else {
|
|
518
|
-
this.state_1 = this.exceptionState_1;
|
|
519
|
-
this.exception_1 = e;
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
while (true);
|
|
523
|
-
};
|
|
524
|
-
$exportResidentsFileCOROUTINE$Class = $;
|
|
525
|
-
}
|
|
526
|
-
return $exportResidentsFileCOROUTINE$Class;
|
|
527
|
-
}
|
|
528
|
-
var $exportSelectedResidentsFileCOROUTINE$Class;
|
|
529
|
-
function $exportSelectedResidentsFileCOROUTINE$() {
|
|
530
|
-
if ($exportSelectedResidentsFileCOROUTINE$Class === VOID) {
|
|
531
|
-
let $ = function(client, companyId, input, resultContinuation) {
|
|
532
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
533
|
-
this.client_1 = client;
|
|
534
|
-
this.companyId_1 = companyId;
|
|
535
|
-
this.input_1 = input;
|
|
536
|
-
};
|
|
537
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
538
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
539
|
-
var suspendResult = this.result_1;
|
|
540
|
-
$sm: do
|
|
541
|
-
try {
|
|
542
|
-
var tmp = this.state_1;
|
|
543
|
-
switch (tmp) {
|
|
544
|
-
case 0:
|
|
545
|
-
this.exceptionState_1 = 4;
|
|
546
|
-
this.state_1 = 1;
|
|
547
|
-
var tmp0_elvis_lhs = this.input_1.includePnr;
|
|
548
|
-
suspendResult = exportSelectedResidentsOperation(this.client_1, this.companyId_1, this.input_1.copy(VOID, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs), this);
|
|
549
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
550
|
-
return suspendResult;
|
|
551
|
-
}
|
|
552
|
-
continue $sm;
|
|
553
|
-
case 1:
|
|
554
|
-
this.response0__1 = suspendResult;
|
|
555
|
-
this.state_1 = 2;
|
|
556
|
-
suspendResult = ensureFileSuccess(this.response0__1, this);
|
|
557
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
558
|
-
return suspendResult;
|
|
559
|
-
}
|
|
560
|
-
continue $sm;
|
|
561
|
-
case 2:
|
|
562
|
-
this.state_1 = 3;
|
|
563
|
-
suspendResult = toExportFile(this.response0__1, this);
|
|
564
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
565
|
-
return suspendResult;
|
|
566
|
-
}
|
|
567
|
-
continue $sm;
|
|
568
|
-
case 3:
|
|
569
|
-
return suspendResult;
|
|
570
|
-
case 4:
|
|
571
|
-
throw this.exception_1;
|
|
572
|
-
}
|
|
573
|
-
} catch ($p) {
|
|
574
|
-
var e = $p;
|
|
575
|
-
if (this.exceptionState_1 === 4) {
|
|
576
|
-
throw e;
|
|
577
|
-
} else {
|
|
578
|
-
this.state_1 = this.exceptionState_1;
|
|
579
|
-
this.exception_1 = e;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
while (true);
|
|
583
|
-
};
|
|
584
|
-
$exportSelectedResidentsFileCOROUTINE$Class = $;
|
|
585
|
-
}
|
|
586
|
-
return $exportSelectedResidentsFileCOROUTINE$Class;
|
|
587
|
-
}
|
|
588
|
-
var $toExportFileCOROUTINE$Class;
|
|
589
|
-
function $toExportFileCOROUTINE$() {
|
|
590
|
-
if ($toExportFileCOROUTINE$Class === VOID) {
|
|
591
|
-
let $ = function(_this__u8e3s4, resultContinuation) {
|
|
592
|
-
CoroutineImpl().call(this, resultContinuation);
|
|
593
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
594
|
-
};
|
|
595
|
-
initMetadataForCoroutine($, CoroutineImpl());
|
|
596
|
-
protoOf($).doResume_5yljmg_k$ = function() {
|
|
597
|
-
var suspendResult = this.result_1;
|
|
598
|
-
$sm: do
|
|
599
|
-
try {
|
|
600
|
-
var tmp = this.state_1;
|
|
601
|
-
switch (tmp) {
|
|
602
|
-
case 0:
|
|
603
|
-
this.exceptionState_1 = 2;
|
|
604
|
-
this.state_1 = 1;
|
|
605
|
-
suspendResult = readRawBytes(this._this__u8e3s4__1.response, this);
|
|
606
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
607
|
-
return suspendResult;
|
|
608
|
-
}
|
|
609
|
-
continue $sm;
|
|
610
|
-
case 1:
|
|
611
|
-
var ARGUMENT = suspendResult;
|
|
612
|
-
return new (ResidentExportFile())(ARGUMENT, this._this__u8e3s4__1.response.get_headers_ef25jx_k$().get_6bo4tg_k$("Content-Type"), exportFileName(this._this__u8e3s4__1.response.get_headers_ef25jx_k$().get_6bo4tg_k$("Content-Disposition")));
|
|
613
|
-
case 2:
|
|
614
|
-
throw this.exception_1;
|
|
615
|
-
}
|
|
616
|
-
} catch ($p) {
|
|
617
|
-
var e = $p;
|
|
618
|
-
if (this.exceptionState_1 === 2) {
|
|
619
|
-
throw e;
|
|
620
|
-
} else {
|
|
621
|
-
this.state_1 = this.exceptionState_1;
|
|
622
|
-
this.exception_1 = e;
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
while (true);
|
|
626
|
-
};
|
|
627
|
-
$toExportFileCOROUTINE$Class = $;
|
|
628
|
-
}
|
|
629
|
-
return $toExportFileCOROUTINE$Class;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/ResidentsApi.mjs
|
|
633
|
-
import {
|
|
634
|
-
protoOf180f3jzyo7rfj as protoOf2,
|
|
635
8
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
636
|
-
|
|
637
|
-
hashCodeq5arwsb9dgti as hashCode,
|
|
9
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
638
10
|
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
639
11
|
equals2au1ep9vhcato as equals
|
|
640
12
|
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
641
13
|
import {
|
|
642
14
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
643
15
|
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
644
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass
|
|
645
|
-
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine2
|
|
16
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass
|
|
646
17
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
647
|
-
import { VOID3gxj6tk5isa35 as
|
|
18
|
+
import { VOID3gxj6tk5isa35 as VOID } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
648
19
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
649
|
-
import {
|
|
650
|
-
import {
|
|
651
|
-
import {
|
|
20
|
+
import { $serializer_getInstance39ah9vs56z62k as $serializer_getInstance } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
|
|
21
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
22
|
+
import { $serializer_getInstancerdh476l8vnzy as $serializer_getInstance_0 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
|
|
23
|
+
import {
|
|
24
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
|
|
25
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance
|
|
26
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
27
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
652
28
|
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
653
29
|
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
654
30
|
import {
|
|
@@ -656,89 +32,79 @@ import {
|
|
|
656
32
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer
|
|
657
33
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
658
34
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
659
|
-
import {
|
|
660
|
-
import {
|
|
661
|
-
ResidentApi_init_$Init$1c1fxeh634wmc as ResidentApi_init_$Init$,
|
|
662
|
-
ResidentApi_init_$Init$1q280k7unhtra as ResidentApi_init_$Init$_0,
|
|
663
|
-
ResidentApi3ju5qrs02dgu1 as ResidentApi
|
|
664
|
-
} from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/client/apis/ResidentApi.mjs";
|
|
665
|
-
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl2 } from "../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs";
|
|
666
|
-
import {
|
|
667
|
-
await3n7kedgocftsv as await_0,
|
|
668
|
-
promisify1z0ncraq1ipzh as promisify2
|
|
669
|
-
} from "../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs";
|
|
670
|
-
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED2 } from "../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs";
|
|
671
|
-
import {
|
|
672
|
-
isBlank1dvkhjjvox3p0 as isBlank2,
|
|
673
|
-
substringAfter35b3qhto7hchb as substringAfter
|
|
674
|
-
} from "../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs";
|
|
675
|
-
import {
|
|
676
|
-
Companion_instancejy2056q2ma5w as Companion_instance,
|
|
677
|
-
_Result___init__impl__xyqfz832zdzqrocazzs as _Result___init__impl__xyqfz8,
|
|
678
|
-
createFailure8paxfkfa5dc7 as createFailure,
|
|
679
|
-
_Result___get_value__impl__bjfvqg9vwgdwmhxc4m as _Result___get_value__impl__bjfvqg,
|
|
680
|
-
_Result___get_isFailure__impl__jpiriv2yxkms7bg2hpm as _Result___get_isFailure__impl__jpiriv
|
|
681
|
-
} from "../kotlin-kotlin-stdlib/kotlin/Result.mjs";
|
|
682
|
-
import { Companion_getInstance2bxtvxv3ldpev as Companion_getInstance } from "../ktor-ktor-http/io/ktor/http/ContentDisposition.mjs";
|
|
683
|
-
import { decodeURLPart53igalrwb9si as decodeURLPart } from "../ktor-ktor-http/io/ktor/http/Codecs.mjs";
|
|
684
|
-
import { bodyAsText193cd91fn5h1t as bodyAsText2 } from "../ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs";
|
|
685
|
-
import {
|
|
686
|
-
parseApiErrors13ngtm3oxhh7i as parseApiErrors,
|
|
687
|
-
SoliboSDKError1711sby0x5qaf as SoliboSDKError
|
|
688
|
-
} from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.mjs";
|
|
689
|
-
import { Companion_getInstanceu2wrlss616lb as Companion_getInstance_0 } from "../ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs";
|
|
690
|
-
import { Jsonsmkyu9xjl7fv as Json } from "../kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs";
|
|
35
|
+
import { toString30pk9tzaqopn as toString } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
691
36
|
import { SerializableWithd2dap36updxd as SerializableWith } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
692
37
|
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
|
|
693
|
-
import {
|
|
694
|
-
import {
|
|
695
|
-
import {
|
|
696
|
-
import { UpdateOrganizationResidentCommand1c390oii5ca5p as __soliboType_UpdateOrganizationResidentCommand } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateOrganizationResidentCommand.mjs";
|
|
697
|
-
import { UpdatePersonResidentCommand2kabdje6vnsd6 as __soliboType_UpdatePersonResidentCommand } from "../solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdatePersonResidentCommand.mjs";
|
|
38
|
+
import { BusinessAddress1mbxnr7mf6ws3 as __soliboType_BusinessAddress } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
|
|
39
|
+
import { BusinessContact3gllsynq58xs4 as __soliboType_BusinessContact } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
|
|
40
|
+
import { OrganizationNumberType2p44g7e9ysiyt as __soliboType_OrganizationNumberType } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationNumberType.mjs";
|
|
698
41
|
var imul = Math.imul;
|
|
699
|
-
function
|
|
700
|
-
|
|
701
|
-
return RESIDENT_RESPONSE_JSON;
|
|
42
|
+
function UpdateOrganizationResidentCommand$Companion$$childSerializers$_anonymous__q6y7yj() {
|
|
43
|
+
return Companion_getInstance().serializer_9w0wvi_k$();
|
|
702
44
|
}
|
|
703
|
-
var RESIDENT_RESPONSE_JSON;
|
|
704
45
|
var CompanionClass;
|
|
705
46
|
function Companion() {
|
|
706
|
-
if (CompanionClass ===
|
|
47
|
+
if (CompanionClass === VOID) {
|
|
707
48
|
let $ = function() {
|
|
49
|
+
Companion_instance = this;
|
|
50
|
+
var tmp = this;
|
|
51
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
52
|
+
tmp.$childSerializers_1 = [null, null, null, null, null, lazy(tmp_0, UpdateOrganizationResidentCommand$Companion$$childSerializers$_anonymous__q6y7yj)];
|
|
708
53
|
};
|
|
709
54
|
initMetadataForCompanion($);
|
|
710
55
|
CompanionClass = $;
|
|
711
56
|
}
|
|
712
57
|
return CompanionClass;
|
|
713
58
|
}
|
|
714
|
-
var
|
|
59
|
+
var Companion_instance;
|
|
715
60
|
function Companion_getInstance_1() {
|
|
716
|
-
|
|
61
|
+
if (Companion_instance == null) {
|
|
62
|
+
Companion_getInstance2();
|
|
63
|
+
new (Companion())();
|
|
64
|
+
}
|
|
65
|
+
return Companion_instance;
|
|
717
66
|
}
|
|
718
67
|
var $serializerClass;
|
|
719
68
|
function $serializer() {
|
|
720
|
-
if ($serializerClass ===
|
|
69
|
+
if ($serializerClass === VOID) {
|
|
721
70
|
let $ = function() {
|
|
722
71
|
$serializer_instance = this;
|
|
723
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("
|
|
724
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
725
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
726
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
72
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("solibo.residents.command.UpdateOrganizationResidentCommand", this, 6);
|
|
73
|
+
tmp0_serialDesc.addElement_5pzumi_k$("businessAddress", true);
|
|
74
|
+
tmp0_serialDesc.addElement_5pzumi_k$("businessContact", true);
|
|
75
|
+
tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
|
|
76
|
+
tmp0_serialDesc.addElement_5pzumi_k$("orgName", false);
|
|
77
|
+
tmp0_serialDesc.addElement_5pzumi_k$("orgNr", true);
|
|
78
|
+
tmp0_serialDesc.addElement_5pzumi_k$("orgNrType", true);
|
|
727
79
|
this.descriptor_1 = tmp0_serialDesc;
|
|
728
80
|
};
|
|
729
|
-
initMetadataForObject($, "$serializer",
|
|
730
|
-
|
|
81
|
+
initMetadataForObject($, "$serializer", VOID, VOID, [GeneratedSerializer()]);
|
|
82
|
+
protoOf($).serialize_tckrmz_k$ = function(encoder, value) {
|
|
731
83
|
var tmp0_desc = this.descriptor_1;
|
|
732
84
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
733
|
-
|
|
734
|
-
tmp1_output.
|
|
735
|
-
|
|
85
|
+
var tmp2_cached = Companion_getInstance_1().$childSerializers_1;
|
|
86
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.businessAddress == null)) {
|
|
87
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance(), value.businessAddress);
|
|
88
|
+
}
|
|
89
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.businessContact == null)) {
|
|
90
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, $serializer_getInstance_0(), value.businessContact);
|
|
91
|
+
}
|
|
92
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.nationality == null)) {
|
|
93
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, LongSerializer_getInstance(), value.nationality);
|
|
94
|
+
}
|
|
95
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.orgName);
|
|
96
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.orgNr == null)) {
|
|
97
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.orgNr);
|
|
98
|
+
}
|
|
99
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.orgNrType == null)) {
|
|
100
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, tmp2_cached[5].get_value_j01efc_k$(), value.orgNrType);
|
|
101
|
+
}
|
|
736
102
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
737
103
|
};
|
|
738
|
-
|
|
739
|
-
return this.
|
|
104
|
+
protoOf($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
105
|
+
return this.serialize_tckrmz_k$(encoder, value instanceof UpdateOrganizationResidentCommand() ? value : THROW_CCE());
|
|
740
106
|
};
|
|
741
|
-
|
|
107
|
+
protoOf($).deserialize_sy6x50_k$ = function(decoder) {
|
|
742
108
|
var tmp0_desc = this.descriptor_1;
|
|
743
109
|
var tmp1_flag = true;
|
|
744
110
|
var tmp2_index = 0;
|
|
@@ -746,852 +112,800 @@ function $serializer() {
|
|
|
746
112
|
var tmp4_local0 = null;
|
|
747
113
|
var tmp5_local1 = null;
|
|
748
114
|
var tmp6_local2 = null;
|
|
749
|
-
var
|
|
750
|
-
|
|
751
|
-
|
|
115
|
+
var tmp7_local3 = null;
|
|
116
|
+
var tmp8_local4 = null;
|
|
117
|
+
var tmp9_local5 = null;
|
|
118
|
+
var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
119
|
+
var tmp11_cached = Companion_getInstance_1().$childSerializers_1;
|
|
120
|
+
if (tmp10_input.decodeSequentially_xlblqy_k$()) {
|
|
121
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
752
122
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
753
|
-
tmp5_local1 =
|
|
123
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
754
124
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
755
|
-
tmp6_local2 =
|
|
125
|
+
tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
756
126
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
127
|
+
tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
128
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
129
|
+
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
130
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
131
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp11_cached[5].get_value_j01efc_k$(), tmp9_local5);
|
|
132
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
757
133
|
} else
|
|
758
134
|
while (tmp1_flag) {
|
|
759
|
-
tmp2_index =
|
|
135
|
+
tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
760
136
|
switch (tmp2_index) {
|
|
761
137
|
case -1:
|
|
762
138
|
tmp1_flag = false;
|
|
763
139
|
break;
|
|
764
140
|
case 0:
|
|
765
|
-
tmp4_local0 =
|
|
141
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
766
142
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
767
143
|
break;
|
|
768
144
|
case 1:
|
|
769
|
-
tmp5_local1 =
|
|
145
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
770
146
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
771
147
|
break;
|
|
772
148
|
case 2:
|
|
773
|
-
tmp6_local2 =
|
|
149
|
+
tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
774
150
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
775
151
|
break;
|
|
152
|
+
case 3:
|
|
153
|
+
tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
154
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
155
|
+
break;
|
|
156
|
+
case 4:
|
|
157
|
+
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
158
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
159
|
+
break;
|
|
160
|
+
case 5:
|
|
161
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp11_cached[5].get_value_j01efc_k$(), tmp9_local5);
|
|
162
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
163
|
+
break;
|
|
776
164
|
default:
|
|
777
165
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
778
166
|
}
|
|
779
167
|
}
|
|
780
|
-
|
|
781
|
-
return
|
|
168
|
+
tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
169
|
+
return UpdateOrganizationResidentCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
782
170
|
};
|
|
783
|
-
|
|
171
|
+
protoOf($).get_descriptor_wjt6a0_k$ = function() {
|
|
784
172
|
return this.descriptor_1;
|
|
785
173
|
};
|
|
786
|
-
|
|
787
|
-
|
|
174
|
+
protoOf($).childSerializers_5ghqw5_k$ = function() {
|
|
175
|
+
var tmp0_cached = Companion_getInstance_1().$childSerializers_1;
|
|
176
|
+
return [get_nullable($serializer_getInstance()), get_nullable($serializer_getInstance_0()), get_nullable(LongSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[5].get_value_j01efc_k$())];
|
|
788
177
|
};
|
|
789
|
-
|
|
178
|
+
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
790
179
|
$serializerClass = $;
|
|
791
180
|
}
|
|
792
181
|
return $serializerClass;
|
|
793
182
|
}
|
|
794
183
|
var $serializer_instance;
|
|
795
|
-
function $
|
|
184
|
+
function $serializer_getInstance_1() {
|
|
796
185
|
if ($serializer_instance == null)
|
|
797
186
|
new ($serializer())();
|
|
798
187
|
return $serializer_instance;
|
|
799
188
|
}
|
|
800
|
-
function
|
|
801
|
-
if (!(
|
|
802
|
-
throwMissingFieldException(seen0,
|
|
189
|
+
function UpdateOrganizationResidentCommand_init_$Init$(seen0, businessAddress, businessContact, nationality, orgName, orgNr, orgNrType, serializationConstructorMarker, $this) {
|
|
190
|
+
if (!(8 === (8 & seen0))) {
|
|
191
|
+
throwMissingFieldException(seen0, 8, $serializer_getInstance_1().descriptor_1);
|
|
803
192
|
}
|
|
804
|
-
$
|
|
805
|
-
|
|
806
|
-
|
|
193
|
+
UpdateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
194
|
+
if (0 === (seen0 & 1))
|
|
195
|
+
$this.businessAddress = null;
|
|
196
|
+
else
|
|
197
|
+
$this.businessAddress = businessAddress;
|
|
198
|
+
if (0 === (seen0 & 2))
|
|
199
|
+
$this.businessContact = null;
|
|
200
|
+
else
|
|
201
|
+
$this.businessContact = businessContact;
|
|
202
|
+
if (0 === (seen0 & 4))
|
|
203
|
+
$this.nationality = null;
|
|
204
|
+
else
|
|
205
|
+
$this.nationality = nationality;
|
|
206
|
+
$this.orgName = orgName;
|
|
207
|
+
if (0 === (seen0 & 16))
|
|
208
|
+
$this.orgNr = null;
|
|
209
|
+
else
|
|
210
|
+
$this.orgNr = orgNr;
|
|
211
|
+
if (0 === (seen0 & 32))
|
|
212
|
+
$this.orgNrType = null;
|
|
213
|
+
else
|
|
214
|
+
$this.orgNrType = orgNrType;
|
|
807
215
|
return $this;
|
|
808
216
|
}
|
|
809
|
-
function
|
|
810
|
-
return
|
|
217
|
+
function UpdateOrganizationResidentCommand_init_$Create$(seen0, businessAddress, businessContact, nationality, orgName, orgNr, orgNrType, serializationConstructorMarker) {
|
|
218
|
+
return UpdateOrganizationResidentCommand_init_$Init$(seen0, businessAddress, businessContact, nationality, orgName, orgNr, orgNrType, serializationConstructorMarker, objectCreate(protoOf(UpdateOrganizationResidentCommand())));
|
|
811
219
|
}
|
|
812
|
-
var
|
|
813
|
-
function
|
|
814
|
-
if (
|
|
815
|
-
let $ = function(
|
|
816
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
220
|
+
var UpdateOrganizationResidentCommandClass;
|
|
221
|
+
function UpdateOrganizationResidentCommand() {
|
|
222
|
+
if (UpdateOrganizationResidentCommandClass === VOID) {
|
|
223
|
+
let $ = function(businessAddress, businessContact, nationality, orgName, orgNr, orgNrType) {
|
|
224
|
+
var __soliboProps = arguments.length === 1 && typeof businessAddress === "object" && businessAddress !== null && businessAddress.constructor === Object;
|
|
817
225
|
var __soliboTmp, __soliboConverted = false;
|
|
818
226
|
if (__soliboProps) {
|
|
819
|
-
const props =
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
227
|
+
const props = businessAddress;
|
|
228
|
+
businessAddress = "businessAddress" in props ? props.businessAddress : VOID;
|
|
229
|
+
businessContact = "businessContact" in props ? props.businessContact : VOID;
|
|
230
|
+
nationality = "nationality" in props ? props.nationality : VOID;
|
|
231
|
+
orgName = "orgName" in props ? props.orgName : VOID;
|
|
232
|
+
orgNr = "orgNr" in props ? props.orgNr : VOID;
|
|
233
|
+
orgNrType = "orgNrType" in props ? props.orgNrType : VOID;
|
|
234
|
+
}
|
|
235
|
+
if ((__soliboTmp = __soliboToKt(businessAddress, ["model", "BusinessAddress"])) !== businessAddress) {
|
|
236
|
+
businessAddress = __soliboTmp;
|
|
237
|
+
__soliboConverted = true;
|
|
823
238
|
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
239
|
+
if ((__soliboTmp = __soliboToKt(businessContact, ["model", "BusinessContact"])) !== businessContact) {
|
|
240
|
+
businessContact = __soliboTmp;
|
|
241
|
+
__soliboConverted = true;
|
|
242
|
+
}
|
|
243
|
+
if ((__soliboTmp = __soliboToKt(nationality, ["bigint"])) !== nationality) {
|
|
244
|
+
nationality = __soliboTmp;
|
|
245
|
+
__soliboConverted = true;
|
|
246
|
+
}
|
|
247
|
+
if ((__soliboTmp = __soliboToKt(orgNrType, ["enum", "OrganizationNumberType"])) !== orgNrType) {
|
|
248
|
+
orgNrType = __soliboTmp;
|
|
249
|
+
__soliboConverted = true;
|
|
250
|
+
}
|
|
251
|
+
Companion_getInstance_1();
|
|
252
|
+
businessAddress = businessAddress === VOID ? null : businessAddress;
|
|
253
|
+
businessContact = businessContact === VOID ? null : businessContact;
|
|
254
|
+
nationality = nationality === VOID ? null : nationality;
|
|
255
|
+
orgNr = orgNr === VOID ? null : orgNr;
|
|
256
|
+
orgNrType = orgNrType === VOID ? null : orgNrType;
|
|
257
|
+
UpdateResidentCommand().call(this);
|
|
258
|
+
this.businessAddress = businessAddress;
|
|
259
|
+
this.businessContact = businessContact;
|
|
260
|
+
this.nationality = nationality;
|
|
261
|
+
this.orgName = orgName;
|
|
262
|
+
this.orgNr = orgNr;
|
|
263
|
+
this.orgNrType = orgNrType;
|
|
827
264
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
828
265
|
};
|
|
829
|
-
initMetadataForClass($, "
|
|
830
|
-
|
|
831
|
-
return this.
|
|
266
|
+
initMetadataForClass($, "UpdateOrganizationResidentCommand", VOID, UpdateResidentCommand(), VOID, VOID, VOID, { 0: $serializer_getInstance_1 });
|
|
267
|
+
protoOf($).get_businessAddress_gfqq0b_k$ = function() {
|
|
268
|
+
return this.businessAddress;
|
|
832
269
|
};
|
|
833
|
-
|
|
834
|
-
return this.
|
|
270
|
+
protoOf($).get_businessContact_jvjsmh_k$ = function() {
|
|
271
|
+
return this.businessContact;
|
|
835
272
|
};
|
|
836
|
-
|
|
837
|
-
return this.
|
|
273
|
+
protoOf($).get_nationality_ffhahf_k$ = function() {
|
|
274
|
+
return this.nationality;
|
|
838
275
|
};
|
|
839
|
-
|
|
840
|
-
return this.
|
|
276
|
+
protoOf($).get_orgName_inw8yi_k$ = function() {
|
|
277
|
+
return this.orgName;
|
|
841
278
|
};
|
|
842
|
-
|
|
843
|
-
return this.
|
|
279
|
+
protoOf($).get_orgNr_iwhkf3_k$ = function() {
|
|
280
|
+
return this.orgNr;
|
|
844
281
|
};
|
|
845
|
-
|
|
846
|
-
return this.
|
|
282
|
+
protoOf($).get_orgNrType_z6jrsp_k$ = function() {
|
|
283
|
+
return this.orgNrType;
|
|
847
284
|
};
|
|
848
|
-
|
|
849
|
-
return
|
|
285
|
+
protoOf($).component1_7eebsc_k$ = function() {
|
|
286
|
+
return this.businessAddress;
|
|
850
287
|
};
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
contentType = contentType === VOID2 ? this.contentType : contentType;
|
|
854
|
-
fileName = fileName === VOID2 ? this.fileName : fileName;
|
|
855
|
-
return $super === VOID2 ? this.copy_reld8n_k$(bytes, contentType, fileName) : $super.copy_reld8n_k$.call(this, bytes, contentType, fileName);
|
|
288
|
+
protoOf($).component2_7eebsb_k$ = function() {
|
|
289
|
+
return this.businessContact;
|
|
856
290
|
};
|
|
857
|
-
|
|
858
|
-
return
|
|
291
|
+
protoOf($).component3_7eebsa_k$ = function() {
|
|
292
|
+
return this.nationality;
|
|
859
293
|
};
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
294
|
+
protoOf($).component4_7eebs9_k$ = function() {
|
|
295
|
+
return this.orgName;
|
|
296
|
+
};
|
|
297
|
+
protoOf($).component5_7eebs8_k$ = function() {
|
|
298
|
+
return this.orgNr;
|
|
299
|
+
};
|
|
300
|
+
protoOf($).component6_7eebs7_k$ = function() {
|
|
301
|
+
return this.orgNrType;
|
|
302
|
+
};
|
|
303
|
+
protoOf($).copy_6plava_k$ = function(businessAddress, businessContact, nationality, orgName, orgNr, orgNrType) {
|
|
304
|
+
return new (UpdateOrganizationResidentCommand())(businessAddress, businessContact, nationality, orgName, orgNr, orgNrType);
|
|
305
|
+
};
|
|
306
|
+
protoOf($).copy = function(businessAddress, businessContact, nationality, orgName, orgNr, orgNrType, $super) {
|
|
307
|
+
businessAddress = businessAddress === VOID ? this.businessAddress : businessAddress;
|
|
308
|
+
businessContact = businessContact === VOID ? this.businessContact : businessContact;
|
|
309
|
+
nationality = nationality === VOID ? this.nationality : nationality;
|
|
310
|
+
orgName = orgName === VOID ? this.orgName : orgName;
|
|
311
|
+
orgNr = orgNr === VOID ? this.orgNr : orgNr;
|
|
312
|
+
orgNrType = orgNrType === VOID ? this.orgNrType : orgNrType;
|
|
313
|
+
return $super === VOID ? this.copy_6plava_k$(businessAddress, businessContact, nationality, orgName, orgNr, orgNrType) : $super.copy_6plava_k$.call(this, businessAddress, businessContact, nationality, orgName, orgNr, orgNrType);
|
|
314
|
+
};
|
|
315
|
+
protoOf($).toString = function() {
|
|
316
|
+
return "UpdateOrganizationResidentCommand(businessAddress=" + toString(this.businessAddress) + ", businessContact=" + toString(this.businessContact) + ", nationality=" + toString(this.nationality) + ", orgName=" + this.orgName + ", orgNr=" + this.orgNr + ", orgNrType=" + toString(this.orgNrType) + ")";
|
|
317
|
+
};
|
|
318
|
+
protoOf($).hashCode = function() {
|
|
319
|
+
var result = this.businessAddress == null ? 0 : this.businessAddress.hashCode();
|
|
320
|
+
result = imul(result, 31) + (this.businessContact == null ? 0 : this.businessContact.hashCode()) | 0;
|
|
321
|
+
result = imul(result, 31) + (this.nationality == null ? 0 : getBigIntHashCode(this.nationality)) | 0;
|
|
322
|
+
result = imul(result, 31) + getStringHashCode(this.orgName) | 0;
|
|
323
|
+
result = imul(result, 31) + (this.orgNr == null ? 0 : getStringHashCode(this.orgNr)) | 0;
|
|
324
|
+
result = imul(result, 31) + (this.orgNrType == null ? 0 : this.orgNrType.hashCode()) | 0;
|
|
864
325
|
return result;
|
|
865
326
|
};
|
|
866
|
-
|
|
327
|
+
protoOf($).equals = function(other) {
|
|
867
328
|
if (this === other)
|
|
868
329
|
return true;
|
|
869
|
-
if (!(other instanceof
|
|
330
|
+
if (!(other instanceof UpdateOrganizationResidentCommand()))
|
|
331
|
+
return false;
|
|
332
|
+
if (!equals(this.businessAddress, other.businessAddress))
|
|
870
333
|
return false;
|
|
871
|
-
if (!equals(this.
|
|
334
|
+
if (!equals(this.businessContact, other.businessContact))
|
|
872
335
|
return false;
|
|
873
|
-
if (!(this.
|
|
336
|
+
if (!(this.nationality == other.nationality))
|
|
874
337
|
return false;
|
|
875
|
-
if (!(this.
|
|
338
|
+
if (!(this.orgName === other.orgName))
|
|
339
|
+
return false;
|
|
340
|
+
if (!(this.orgNr == other.orgNr))
|
|
341
|
+
return false;
|
|
342
|
+
if (!equals(this.orgNrType, other.orgNrType))
|
|
876
343
|
return false;
|
|
877
344
|
return true;
|
|
878
345
|
};
|
|
879
|
-
Object.defineProperty($, "name", { value: "
|
|
880
|
-
|
|
881
|
-
|
|
346
|
+
Object.defineProperty($, "name", { value: "UpdateOrganizationResidentCommand", configurable: true });
|
|
347
|
+
__soliboRegisterOwnFields($, { "businessAddress": ["model", "BusinessAddress"], "businessContact": ["model", "BusinessContact"] });
|
|
348
|
+
__soliboRegisterLookup("UpdateOrganizationResidentCommand", () => $);
|
|
349
|
+
UpdateOrganizationResidentCommandClass = $;
|
|
882
350
|
}
|
|
883
|
-
return
|
|
884
|
-
}
|
|
885
|
-
function ResidentsApi_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, $this) {
|
|
886
|
-
baseUrl = baseUrl === VOID2 ? "https://home.solibo.no/api" : baseUrl;
|
|
887
|
-
httpClientEngine = httpClientEngine === VOID2 ? null : httpClientEngine;
|
|
888
|
-
httpClientConfig = httpClientConfig === VOID2 ? null : httpClientConfig;
|
|
889
|
-
jsonSerializer = jsonSerializer === VOID2 ? get_RESIDENT_RESPONSE_JSON() : jsonSerializer;
|
|
890
|
-
ResidentApi_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, $this);
|
|
891
|
-
ResidentsApi().call($this);
|
|
892
|
-
$this.responseJson_1 = jsonSerializer;
|
|
893
|
-
return $this;
|
|
894
|
-
}
|
|
895
|
-
function create(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer) {
|
|
896
|
-
return ResidentsApi_init_$Init$(baseUrl, httpClientEngine, httpClientConfig, jsonSerializer, objectCreate(protoOf2(ResidentsApi())));
|
|
351
|
+
return UpdateOrganizationResidentCommandClass;
|
|
897
352
|
}
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
} else {
|
|
958
|
-
this.state_1 = this.exceptionState_1;
|
|
959
|
-
this.exception_1 = e;
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
while (true);
|
|
353
|
+
__soliboRegisterLookup("BusinessAddress", () => __soliboType_BusinessAddress());
|
|
354
|
+
__soliboRegisterLookup("BusinessContact", () => __soliboType_BusinessContact());
|
|
355
|
+
__soliboRegisterLookup("OrganizationNumberType", () => __soliboType_OrganizationNumberType());
|
|
356
|
+
|
|
357
|
+
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdatePersonResidentCommand.mjs
|
|
358
|
+
import { $serializer_getInstanceo2hyuslo9wni as $serializer_getInstance2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleInput.mjs";
|
|
359
|
+
import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
|
|
360
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance2 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
361
|
+
import { lazy1261dae0bgscp as lazy2 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
362
|
+
import {
|
|
363
|
+
protoOf180f3jzyo7rfj as protoOf2,
|
|
364
|
+
objectCreate1ve4bgxiu4x98 as objectCreate2,
|
|
365
|
+
getStringHashCode26igk1bx568vk as getStringHashCode2,
|
|
366
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2,
|
|
367
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
368
|
+
equals2au1ep9vhcato as equals2
|
|
369
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
370
|
+
import {
|
|
371
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion2,
|
|
372
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject2,
|
|
373
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass2
|
|
374
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
375
|
+
import { VOID3gxj6tk5isa35 as VOID2 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
376
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
377
|
+
import { $serializer_getInstance350sqkw87kuga as $serializer_getInstance_02 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AddressSpecifics.mjs";
|
|
378
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
379
|
+
import {
|
|
380
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance2,
|
|
381
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance2
|
|
382
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
383
|
+
import { $serializer_getInstance1se14apkjzug7 as $serializer_getInstance_12 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
384
|
+
import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs";
|
|
385
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
386
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
387
|
+
import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
388
|
+
import {
|
|
389
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers2,
|
|
390
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer2
|
|
391
|
+
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
392
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
393
|
+
import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
394
|
+
import { SerializableWithd2dap36updxd as SerializableWith2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
395
|
+
import { __soliboBoundaryState as __soliboBoundaryState2, __soliboRegisterLookup as __soliboRegisterLookup2, __soliboRegisterOwnFields as __soliboRegisterOwnFields2, __soliboToJs as __soliboToJs2, __soliboToKt as __soliboToKt2, __soliboWrapAccessor as __soliboWrapAccessor2, __soliboWrapFunction as __soliboWrapFunction2, __soliboWrapMethod as __soliboWrapMethod2 } from "../solibo-boundary.mjs";
|
|
396
|
+
import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion } from "../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs";
|
|
397
|
+
import { AddressSpecifics2b1mdhcbru52k as __soliboType_AddressSpecifics } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AddressSpecifics.mjs";
|
|
398
|
+
import { Namefq7jqr1w1zl3 as __soliboType_Name } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
399
|
+
import { RoleInput11qx6wb8ck9q7 as __soliboType_RoleInput } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleInput.mjs";
|
|
400
|
+
var imul2 = Math.imul;
|
|
401
|
+
function UpdatePersonResidentCommand$Companion$$childSerializers$_anonymous__9l9qzx() {
|
|
402
|
+
return new (ArrayListSerializer())($serializer_getInstance2());
|
|
403
|
+
}
|
|
404
|
+
var CompanionClass2;
|
|
405
|
+
function Companion2() {
|
|
406
|
+
if (CompanionClass2 === VOID2) {
|
|
407
|
+
let $ = function() {
|
|
408
|
+
Companion_instance2 = this;
|
|
409
|
+
var tmp = this;
|
|
410
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
|
|
411
|
+
tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, lazy2(tmp_0, UpdatePersonResidentCommand$Companion$$childSerializers$_anonymous__9l9qzx)];
|
|
963
412
|
};
|
|
964
|
-
$
|
|
413
|
+
initMetadataForCompanion2($);
|
|
414
|
+
CompanionClass2 = $;
|
|
965
415
|
}
|
|
966
|
-
return
|
|
416
|
+
return CompanionClass2;
|
|
967
417
|
}
|
|
968
|
-
var
|
|
969
|
-
function
|
|
970
|
-
if (
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
974
|
-
this.companyId_1 = companyId;
|
|
975
|
-
this.input_1 = input;
|
|
976
|
-
};
|
|
977
|
-
initMetadataForCoroutine2($, CoroutineImpl2());
|
|
978
|
-
protoOf2($).doResume_5yljmg_k$ = function() {
|
|
979
|
-
var suspendResult = this.result_1;
|
|
980
|
-
$sm: do
|
|
981
|
-
try {
|
|
982
|
-
var tmp = this.state_1;
|
|
983
|
-
switch (tmp) {
|
|
984
|
-
case 0:
|
|
985
|
-
this.exceptionState_1 = 4;
|
|
986
|
-
if (this._this__u8e3s4__1.createOrganizationResident === protoOf2(ResidentsApi()).createOrganizationResident) {
|
|
987
|
-
this.state_1 = 2;
|
|
988
|
-
suspendResult = this._this__u8e3s4__1.createOrganizationResident_y7ajg3_k$(this.companyId_1, this.input_1, this);
|
|
989
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
990
|
-
return suspendResult;
|
|
991
|
-
}
|
|
992
|
-
continue $sm;
|
|
993
|
-
} else {
|
|
994
|
-
this.state_1 = 1;
|
|
995
|
-
suspendResult = await_0(this._this__u8e3s4__1.createOrganizationResident(this.companyId_1, this.input_1), this);
|
|
996
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
997
|
-
return suspendResult;
|
|
998
|
-
}
|
|
999
|
-
continue $sm;
|
|
1000
|
-
}
|
|
1001
|
-
case 1:
|
|
1002
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1003
|
-
this.state_1 = 3;
|
|
1004
|
-
continue $sm;
|
|
1005
|
-
case 2:
|
|
1006
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1007
|
-
this.state_1 = 3;
|
|
1008
|
-
continue $sm;
|
|
1009
|
-
case 3:
|
|
1010
|
-
return this.WHEN_RESULT0__1;
|
|
1011
|
-
case 4:
|
|
1012
|
-
throw this.exception_1;
|
|
1013
|
-
}
|
|
1014
|
-
} catch ($p) {
|
|
1015
|
-
var e = $p;
|
|
1016
|
-
if (this.exceptionState_1 === 4) {
|
|
1017
|
-
throw e;
|
|
1018
|
-
} else {
|
|
1019
|
-
this.state_1 = this.exceptionState_1;
|
|
1020
|
-
this.exception_1 = e;
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
while (true);
|
|
1024
|
-
};
|
|
1025
|
-
$createOrganizationResident$suspendBridgeCOROUTINE$Class = $;
|
|
418
|
+
var Companion_instance2;
|
|
419
|
+
function Companion_getInstance_0() {
|
|
420
|
+
if (Companion_instance2 == null) {
|
|
421
|
+
Companion_getInstance2();
|
|
422
|
+
new (Companion2())();
|
|
1026
423
|
}
|
|
1027
|
-
return
|
|
424
|
+
return Companion_instance2;
|
|
1028
425
|
}
|
|
1029
|
-
var $
|
|
1030
|
-
function $
|
|
1031
|
-
if ($
|
|
1032
|
-
let $ = function(
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
426
|
+
var $serializerClass2;
|
|
427
|
+
function $serializer2() {
|
|
428
|
+
if ($serializerClass2 === VOID2) {
|
|
429
|
+
let $ = function() {
|
|
430
|
+
$serializer_instance2 = this;
|
|
431
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("solibo.residents.command.UpdatePersonResidentCommand", this, 10);
|
|
432
|
+
tmp0_serialDesc.addElement_5pzumi_k$("address", true);
|
|
433
|
+
tmp0_serialDesc.addElement_5pzumi_k$("email", true);
|
|
434
|
+
tmp0_serialDesc.addElement_5pzumi_k$("invoicingEmail", true);
|
|
435
|
+
tmp0_serialDesc.addElement_5pzumi_k$("mobile", true);
|
|
436
|
+
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
437
|
+
tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
|
|
438
|
+
tmp0_serialDesc.addElement_5pzumi_k$("passportExpiration", true);
|
|
439
|
+
tmp0_serialDesc.addElement_5pzumi_k$("passportNumber", true);
|
|
440
|
+
tmp0_serialDesc.addElement_5pzumi_k$("personnummerTwo", true);
|
|
441
|
+
tmp0_serialDesc.addElement_5pzumi_k$("roles", true);
|
|
442
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
1038
443
|
};
|
|
1039
|
-
|
|
1040
|
-
protoOf2($).
|
|
1041
|
-
var
|
|
1042
|
-
$
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
case 4:
|
|
1074
|
-
throw this.exception_1;
|
|
1075
|
-
}
|
|
1076
|
-
} catch ($p) {
|
|
1077
|
-
var e = $p;
|
|
1078
|
-
if (this.exceptionState_1 === 4) {
|
|
1079
|
-
throw e;
|
|
1080
|
-
} else {
|
|
1081
|
-
this.state_1 = this.exceptionState_1;
|
|
1082
|
-
this.exception_1 = e;
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
while (true);
|
|
444
|
+
initMetadataForObject2($, "$serializer", VOID2, VOID2, [GeneratedSerializer2()]);
|
|
445
|
+
protoOf2($).serialize_97kjav_k$ = function(encoder, value) {
|
|
446
|
+
var tmp0_desc = this.descriptor_1;
|
|
447
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
448
|
+
var tmp2_cached = Companion_getInstance_0().$childSerializers_1;
|
|
449
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.address == null)) {
|
|
450
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance_02(), value.address);
|
|
451
|
+
}
|
|
452
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.email == null)) {
|
|
453
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance2(), value.email);
|
|
454
|
+
}
|
|
455
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.invoicingEmail == null)) {
|
|
456
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance2(), value.invoicingEmail);
|
|
457
|
+
}
|
|
458
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.mobile == null)) {
|
|
459
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance2(), value.mobile);
|
|
460
|
+
}
|
|
461
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 4, $serializer_getInstance_12(), value.name);
|
|
462
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.nationality == null)) {
|
|
463
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance2(), value.nationality);
|
|
464
|
+
}
|
|
465
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.passportExpiration == null)) {
|
|
466
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.passportExpiration);
|
|
467
|
+
}
|
|
468
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.passportNumber == null)) {
|
|
469
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance2(), value.passportNumber);
|
|
470
|
+
}
|
|
471
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.personnummerTwo == null)) {
|
|
472
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance2(), value.personnummerTwo);
|
|
473
|
+
}
|
|
474
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.roles == null)) {
|
|
475
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, tmp2_cached[9].get_value_j01efc_k$(), value.roles);
|
|
476
|
+
}
|
|
477
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1086
478
|
};
|
|
1087
|
-
$
|
|
1088
|
-
|
|
1089
|
-
return $updatePersonResident$suspendBridgeCOROUTINE$Class;
|
|
1090
|
-
}
|
|
1091
|
-
var $updateOrganizationResident$suspendBridgeCOROUTINE$Class;
|
|
1092
|
-
function $updateOrganizationResident$suspendBridgeCOROUTINE$() {
|
|
1093
|
-
if ($updateOrganizationResident$suspendBridgeCOROUTINE$Class === VOID2) {
|
|
1094
|
-
let $ = function(_this__u8e3s4, companyId, residentId, input, resultContinuation) {
|
|
1095
|
-
CoroutineImpl2().call(this, resultContinuation);
|
|
1096
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1097
|
-
this.companyId_1 = companyId;
|
|
1098
|
-
this.residentId_1 = residentId;
|
|
1099
|
-
this.input_1 = input;
|
|
479
|
+
protoOf2($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
480
|
+
return this.serialize_97kjav_k$(encoder, value instanceof UpdatePersonResidentCommand() ? value : THROW_CCE2());
|
|
1100
481
|
};
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
var
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
482
|
+
protoOf2($).deserialize_sy6x50_k$ = function(decoder) {
|
|
483
|
+
var tmp0_desc = this.descriptor_1;
|
|
484
|
+
var tmp1_flag = true;
|
|
485
|
+
var tmp2_index = 0;
|
|
486
|
+
var tmp3_bitMask0 = 0;
|
|
487
|
+
var tmp4_local0 = null;
|
|
488
|
+
var tmp5_local1 = null;
|
|
489
|
+
var tmp6_local2 = null;
|
|
490
|
+
var tmp7_local3 = null;
|
|
491
|
+
var tmp8_local4 = null;
|
|
492
|
+
var tmp9_local5 = null;
|
|
493
|
+
var tmp10_local6 = null;
|
|
494
|
+
var tmp11_local7 = null;
|
|
495
|
+
var tmp12_local8 = null;
|
|
496
|
+
var tmp13_local9 = null;
|
|
497
|
+
var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
498
|
+
var tmp15_cached = Companion_getInstance_0().$childSerializers_1;
|
|
499
|
+
if (tmp14_input.decodeSequentially_xlblqy_k$()) {
|
|
500
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_02(), tmp4_local0);
|
|
501
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
502
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance2(), tmp5_local1);
|
|
503
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
504
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance2(), tmp6_local2);
|
|
505
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
506
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance2(), tmp7_local3);
|
|
507
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
508
|
+
tmp8_local4 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, $serializer_getInstance_12(), tmp8_local4);
|
|
509
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
510
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance2(), tmp9_local5);
|
|
511
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
512
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
513
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
514
|
+
tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance2(), tmp11_local7);
|
|
515
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
516
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance2(), tmp12_local8);
|
|
517
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
518
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, tmp15_cached[9].get_value_j01efc_k$(), tmp13_local9);
|
|
519
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
520
|
+
} else
|
|
521
|
+
while (tmp1_flag) {
|
|
522
|
+
tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
523
|
+
switch (tmp2_index) {
|
|
524
|
+
case -1:
|
|
525
|
+
tmp1_flag = false;
|
|
526
|
+
break;
|
|
1108
527
|
case 0:
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
suspendResult = this._this__u8e3s4__1.updateOrganizationResident_ooppx_k$(this.companyId_1, this.residentId_1, this.input_1, this);
|
|
1113
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1114
|
-
return suspendResult;
|
|
1115
|
-
}
|
|
1116
|
-
continue $sm;
|
|
1117
|
-
} else {
|
|
1118
|
-
this.state_1 = 1;
|
|
1119
|
-
suspendResult = await_0(this._this__u8e3s4__1.updateOrganizationResident(this.companyId_1, this.residentId_1, this.input_1), this);
|
|
1120
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1121
|
-
return suspendResult;
|
|
1122
|
-
}
|
|
1123
|
-
continue $sm;
|
|
1124
|
-
}
|
|
528
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_02(), tmp4_local0);
|
|
529
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
530
|
+
break;
|
|
1125
531
|
case 1:
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
532
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance2(), tmp5_local1);
|
|
533
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
534
|
+
break;
|
|
1129
535
|
case 2:
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
536
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance2(), tmp6_local2);
|
|
537
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
538
|
+
break;
|
|
1133
539
|
case 3:
|
|
1134
|
-
|
|
540
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance2(), tmp7_local3);
|
|
541
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
542
|
+
break;
|
|
1135
543
|
case 4:
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
544
|
+
tmp8_local4 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, $serializer_getInstance_12(), tmp8_local4);
|
|
545
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
546
|
+
break;
|
|
547
|
+
case 5:
|
|
548
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance2(), tmp9_local5);
|
|
549
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
550
|
+
break;
|
|
551
|
+
case 6:
|
|
552
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
553
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
554
|
+
break;
|
|
555
|
+
case 7:
|
|
556
|
+
tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance2(), tmp11_local7);
|
|
557
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
558
|
+
break;
|
|
559
|
+
case 8:
|
|
560
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance2(), tmp12_local8);
|
|
561
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
562
|
+
break;
|
|
563
|
+
case 9:
|
|
564
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, tmp15_cached[9].get_value_j01efc_k$(), tmp13_local9);
|
|
565
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
566
|
+
break;
|
|
567
|
+
default:
|
|
568
|
+
throw UnknownFieldException_init_$Create$2(tmp2_index);
|
|
1145
569
|
}
|
|
1146
570
|
}
|
|
1147
|
-
|
|
571
|
+
tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
572
|
+
return UpdatePersonResidentCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
|
|
1148
573
|
};
|
|
1149
|
-
$
|
|
1150
|
-
|
|
1151
|
-
return $updateOrganizationResident$suspendBridgeCOROUTINE$Class;
|
|
1152
|
-
}
|
|
1153
|
-
var $exportResidentsFile$suspendBridgeCOROUTINE$Class;
|
|
1154
|
-
function $exportResidentsFile$suspendBridgeCOROUTINE$() {
|
|
1155
|
-
if ($exportResidentsFile$suspendBridgeCOROUTINE$Class === VOID2) {
|
|
1156
|
-
let $ = function(_this__u8e3s4, companyId, includePnr, resultContinuation) {
|
|
1157
|
-
CoroutineImpl2().call(this, resultContinuation);
|
|
1158
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1159
|
-
this.companyId_1 = companyId;
|
|
1160
|
-
this.includePnr_1 = includePnr;
|
|
574
|
+
protoOf2($).get_descriptor_wjt6a0_k$ = function() {
|
|
575
|
+
return this.descriptor_1;
|
|
1161
576
|
};
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
$sm: do
|
|
1166
|
-
try {
|
|
1167
|
-
var tmp = this.state_1;
|
|
1168
|
-
switch (tmp) {
|
|
1169
|
-
case 0:
|
|
1170
|
-
this.exceptionState_1 = 4;
|
|
1171
|
-
if (this._this__u8e3s4__1.exportResidentsFile === protoOf2(ResidentsApi()).exportResidentsFile) {
|
|
1172
|
-
this.state_1 = 2;
|
|
1173
|
-
suspendResult = this._this__u8e3s4__1.exportResidentsFile$default_kg19pw_k$(this.companyId_1, this.includePnr_1, this);
|
|
1174
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1175
|
-
return suspendResult;
|
|
1176
|
-
}
|
|
1177
|
-
continue $sm;
|
|
1178
|
-
} else {
|
|
1179
|
-
this.state_1 = 1;
|
|
1180
|
-
suspendResult = await_0(this._this__u8e3s4__1.exportResidentsFile(this.companyId_1, this.includePnr_1), this);
|
|
1181
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1182
|
-
return suspendResult;
|
|
1183
|
-
}
|
|
1184
|
-
continue $sm;
|
|
1185
|
-
}
|
|
1186
|
-
case 1:
|
|
1187
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1188
|
-
this.state_1 = 3;
|
|
1189
|
-
continue $sm;
|
|
1190
|
-
case 2:
|
|
1191
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1192
|
-
this.state_1 = 3;
|
|
1193
|
-
continue $sm;
|
|
1194
|
-
case 3:
|
|
1195
|
-
return this.WHEN_RESULT0__1;
|
|
1196
|
-
case 4:
|
|
1197
|
-
throw this.exception_1;
|
|
1198
|
-
}
|
|
1199
|
-
} catch ($p) {
|
|
1200
|
-
var e = $p;
|
|
1201
|
-
if (this.exceptionState_1 === 4) {
|
|
1202
|
-
throw e;
|
|
1203
|
-
} else {
|
|
1204
|
-
this.state_1 = this.exceptionState_1;
|
|
1205
|
-
this.exception_1 = e;
|
|
1206
|
-
}
|
|
1207
|
-
}
|
|
1208
|
-
while (true);
|
|
577
|
+
protoOf2($).childSerializers_5ghqw5_k$ = function() {
|
|
578
|
+
var tmp0_cached = Companion_getInstance_0().$childSerializers_1;
|
|
579
|
+
return [get_nullable2($serializer_getInstance_02()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), $serializer_getInstance_12(), get_nullable2(LongSerializer_getInstance2()), get_nullable2(InstantSerializer_getInstance()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(tmp0_cached[9].get_value_j01efc_k$())];
|
|
1209
580
|
};
|
|
1210
|
-
$
|
|
581
|
+
protoOf2($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers2;
|
|
582
|
+
$serializerClass2 = $;
|
|
1211
583
|
}
|
|
1212
|
-
return $
|
|
584
|
+
return $serializerClass2;
|
|
1213
585
|
}
|
|
1214
|
-
var $
|
|
1215
|
-
function $
|
|
1216
|
-
if ($
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
initMetadataForCoroutine2($, CoroutineImpl2());
|
|
1224
|
-
protoOf2($).doResume_5yljmg_k$ = function() {
|
|
1225
|
-
var suspendResult = this.result_1;
|
|
1226
|
-
$sm: do
|
|
1227
|
-
try {
|
|
1228
|
-
var tmp = this.state_1;
|
|
1229
|
-
switch (tmp) {
|
|
1230
|
-
case 0:
|
|
1231
|
-
this.exceptionState_1 = 4;
|
|
1232
|
-
if (this._this__u8e3s4__1.exportSelectedResidentsFile === protoOf2(ResidentsApi()).exportSelectedResidentsFile) {
|
|
1233
|
-
this.state_1 = 2;
|
|
1234
|
-
suspendResult = this._this__u8e3s4__1.exportSelectedResidentsFile_s3rsyj_k$(this.companyId_1, this.input_1, this);
|
|
1235
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1236
|
-
return suspendResult;
|
|
1237
|
-
}
|
|
1238
|
-
continue $sm;
|
|
1239
|
-
} else {
|
|
1240
|
-
this.state_1 = 1;
|
|
1241
|
-
suspendResult = await_0(this._this__u8e3s4__1.exportSelectedResidentsFile(this.companyId_1, this.input_1), this);
|
|
1242
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1243
|
-
return suspendResult;
|
|
1244
|
-
}
|
|
1245
|
-
continue $sm;
|
|
1246
|
-
}
|
|
1247
|
-
case 1:
|
|
1248
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1249
|
-
this.state_1 = 3;
|
|
1250
|
-
continue $sm;
|
|
1251
|
-
case 2:
|
|
1252
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1253
|
-
this.state_1 = 3;
|
|
1254
|
-
continue $sm;
|
|
1255
|
-
case 3:
|
|
1256
|
-
return this.WHEN_RESULT0__1;
|
|
1257
|
-
case 4:
|
|
1258
|
-
throw this.exception_1;
|
|
1259
|
-
}
|
|
1260
|
-
} catch ($p) {
|
|
1261
|
-
var e = $p;
|
|
1262
|
-
if (this.exceptionState_1 === 4) {
|
|
1263
|
-
throw e;
|
|
1264
|
-
} else {
|
|
1265
|
-
this.state_1 = this.exceptionState_1;
|
|
1266
|
-
this.exception_1 = e;
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
while (true);
|
|
1270
|
-
};
|
|
1271
|
-
$exportSelectedResidentsFile$suspendBridgeCOROUTINE$Class = $;
|
|
586
|
+
var $serializer_instance2;
|
|
587
|
+
function $serializer_getInstance_2() {
|
|
588
|
+
if ($serializer_instance2 == null)
|
|
589
|
+
new ($serializer2())();
|
|
590
|
+
return $serializer_instance2;
|
|
591
|
+
}
|
|
592
|
+
function UpdatePersonResidentCommand_init_$Init$(seen0, address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles, serializationConstructorMarker, $this) {
|
|
593
|
+
if (!(16 === (16 & seen0))) {
|
|
594
|
+
throwMissingFieldException2(seen0, 16, $serializer_getInstance_2().descriptor_1);
|
|
1272
595
|
}
|
|
1273
|
-
|
|
596
|
+
UpdateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
597
|
+
if (0 === (seen0 & 1))
|
|
598
|
+
$this.address = null;
|
|
599
|
+
else
|
|
600
|
+
$this.address = address;
|
|
601
|
+
if (0 === (seen0 & 2))
|
|
602
|
+
$this.email = null;
|
|
603
|
+
else
|
|
604
|
+
$this.email = email;
|
|
605
|
+
if (0 === (seen0 & 4))
|
|
606
|
+
$this.invoicingEmail = null;
|
|
607
|
+
else
|
|
608
|
+
$this.invoicingEmail = invoicingEmail;
|
|
609
|
+
if (0 === (seen0 & 8))
|
|
610
|
+
$this.mobile = null;
|
|
611
|
+
else
|
|
612
|
+
$this.mobile = mobile;
|
|
613
|
+
$this.name = name;
|
|
614
|
+
if (0 === (seen0 & 32))
|
|
615
|
+
$this.nationality = null;
|
|
616
|
+
else
|
|
617
|
+
$this.nationality = nationality;
|
|
618
|
+
if (0 === (seen0 & 64))
|
|
619
|
+
$this.passportExpiration = null;
|
|
620
|
+
else
|
|
621
|
+
$this.passportExpiration = passportExpiration;
|
|
622
|
+
if (0 === (seen0 & 128))
|
|
623
|
+
$this.passportNumber = null;
|
|
624
|
+
else
|
|
625
|
+
$this.passportNumber = passportNumber;
|
|
626
|
+
if (0 === (seen0 & 256))
|
|
627
|
+
$this.personnummerTwo = null;
|
|
628
|
+
else
|
|
629
|
+
$this.personnummerTwo = personnummerTwo;
|
|
630
|
+
if (0 === (seen0 & 512))
|
|
631
|
+
$this.roles = null;
|
|
632
|
+
else
|
|
633
|
+
$this.roles = roles;
|
|
634
|
+
return $this;
|
|
1274
635
|
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
636
|
+
function UpdatePersonResidentCommand_init_$Create$(seen0, address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles, serializationConstructorMarker) {
|
|
637
|
+
return UpdatePersonResidentCommand_init_$Init$(seen0, address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles, serializationConstructorMarker, objectCreate2(protoOf2(UpdatePersonResidentCommand())));
|
|
638
|
+
}
|
|
639
|
+
var UpdatePersonResidentCommandClass;
|
|
640
|
+
function UpdatePersonResidentCommand() {
|
|
641
|
+
if (UpdatePersonResidentCommandClass === VOID2) {
|
|
642
|
+
let $ = function(address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles) {
|
|
643
|
+
var __soliboProps = arguments.length === 1 && typeof address === "object" && address !== null && address.constructor === Object;
|
|
644
|
+
var __soliboTmp, __soliboConverted = false;
|
|
645
|
+
if (__soliboProps) {
|
|
646
|
+
const props = address;
|
|
647
|
+
address = "address" in props ? props.address : VOID2;
|
|
648
|
+
email = "email" in props ? props.email : VOID2;
|
|
649
|
+
invoicingEmail = "invoicingEmail" in props ? props.invoicingEmail : VOID2;
|
|
650
|
+
mobile = "mobile" in props ? props.mobile : VOID2;
|
|
651
|
+
name = "name" in props ? props.name : VOID2;
|
|
652
|
+
nationality = "nationality" in props ? props.nationality : VOID2;
|
|
653
|
+
passportExpiration = "passportExpiration" in props ? props.passportExpiration : VOID2;
|
|
654
|
+
if (typeof passportExpiration === "string") {
|
|
655
|
+
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += ":00Z";
|
|
656
|
+
else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += "Z";
|
|
657
|
+
const companion = __soliboInstantCompanion();
|
|
658
|
+
passportExpiration = companion.parse_xovy9i_k$(passportExpiration);
|
|
659
|
+
} else if (passportExpiration != null && typeof passportExpiration === "object" && typeof passportExpiration.getTime === "function") {
|
|
660
|
+
const companion = __soliboInstantCompanion();
|
|
661
|
+
passportExpiration = companion.fromEpochMilliseconds_uaz65_k$(BigInt(passportExpiration.getTime()));
|
|
662
|
+
}
|
|
663
|
+
passportNumber = "passportNumber" in props ? props.passportNumber : VOID2;
|
|
664
|
+
personnummerTwo = "personnummerTwo" in props ? props.personnummerTwo : VOID2;
|
|
665
|
+
roles = "roles" in props ? props.roles : VOID2;
|
|
666
|
+
}
|
|
667
|
+
if ((__soliboTmp = __soliboToKt2(address, ["model", "AddressSpecifics"])) !== address) {
|
|
668
|
+
address = __soliboTmp;
|
|
669
|
+
__soliboConverted = true;
|
|
670
|
+
}
|
|
671
|
+
if ((__soliboTmp = __soliboToKt2(name, ["model", "Name"])) !== name) {
|
|
672
|
+
name = __soliboTmp;
|
|
673
|
+
__soliboConverted = true;
|
|
674
|
+
}
|
|
675
|
+
if ((__soliboTmp = __soliboToKt2(nationality, ["bigint"])) !== nationality) {
|
|
676
|
+
nationality = __soliboTmp;
|
|
677
|
+
__soliboConverted = true;
|
|
678
|
+
}
|
|
679
|
+
if ((__soliboTmp = __soliboToKt2(roles, ["list", ["model", "RoleInput"]])) !== roles) {
|
|
680
|
+
roles = __soliboTmp;
|
|
681
|
+
__soliboConverted = true;
|
|
682
|
+
}
|
|
683
|
+
Companion_getInstance_0();
|
|
684
|
+
address = address === VOID2 ? null : address;
|
|
685
|
+
email = email === VOID2 ? null : email;
|
|
686
|
+
invoicingEmail = invoicingEmail === VOID2 ? null : invoicingEmail;
|
|
687
|
+
mobile = mobile === VOID2 ? null : mobile;
|
|
688
|
+
nationality = nationality === VOID2 ? null : nationality;
|
|
689
|
+
passportExpiration = passportExpiration === VOID2 ? null : passportExpiration;
|
|
690
|
+
passportNumber = passportNumber === VOID2 ? null : passportNumber;
|
|
691
|
+
personnummerTwo = personnummerTwo === VOID2 ? null : personnummerTwo;
|
|
692
|
+
roles = roles === VOID2 ? null : roles;
|
|
693
|
+
UpdateResidentCommand().call(this);
|
|
694
|
+
this.address = address;
|
|
695
|
+
this.email = email;
|
|
696
|
+
this.invoicingEmail = invoicingEmail;
|
|
697
|
+
this.mobile = mobile;
|
|
698
|
+
this.name = name;
|
|
699
|
+
this.nationality = nationality;
|
|
700
|
+
this.passportExpiration = passportExpiration;
|
|
701
|
+
this.passportNumber = passportNumber;
|
|
702
|
+
this.personnummerTwo = personnummerTwo;
|
|
703
|
+
this.roles = roles;
|
|
704
|
+
if (__soliboConverted && !__soliboBoundaryState2.internalConstruction) return __soliboToJs2(this);
|
|
705
|
+
};
|
|
706
|
+
initMetadataForClass2($, "UpdatePersonResidentCommand", VOID2, UpdateResidentCommand(), VOID2, VOID2, VOID2, { 0: $serializer_getInstance_2 });
|
|
707
|
+
protoOf2($).get_address_hpr2t1_k$ = function() {
|
|
708
|
+
return this.address;
|
|
709
|
+
};
|
|
710
|
+
protoOf2($).get_email_iqwbqr_k$ = function() {
|
|
711
|
+
return this.email;
|
|
712
|
+
};
|
|
713
|
+
protoOf2($).get_invoicingEmail_jgzfh7_k$ = function() {
|
|
714
|
+
return this.invoicingEmail;
|
|
715
|
+
};
|
|
716
|
+
protoOf2($).get_mobile_gqevmz_k$ = function() {
|
|
717
|
+
return this.mobile;
|
|
718
|
+
};
|
|
719
|
+
protoOf2($).get_name_woqyms_k$ = function() {
|
|
720
|
+
return this.name;
|
|
721
|
+
};
|
|
722
|
+
protoOf2($).get_nationality_ffhahf_k$ = function() {
|
|
723
|
+
return this.nationality;
|
|
724
|
+
};
|
|
725
|
+
protoOf2($).get_passportExpiration_22nzze_k$ = function() {
|
|
726
|
+
return this.passportExpiration;
|
|
727
|
+
};
|
|
728
|
+
protoOf2($).get_passportNumber_49xd6k_k$ = function() {
|
|
729
|
+
return this.passportNumber;
|
|
730
|
+
};
|
|
731
|
+
protoOf2($).get_personnummerTwo_pw2tfq_k$ = function() {
|
|
732
|
+
return this.personnummerTwo;
|
|
733
|
+
};
|
|
734
|
+
protoOf2($).get_roles_iy35hw_k$ = function() {
|
|
735
|
+
return this.roles;
|
|
1289
736
|
};
|
|
1290
|
-
protoOf2($).
|
|
1291
|
-
|
|
1292
|
-
tmp.result_1 = Unit_instance2;
|
|
1293
|
-
tmp.exception_1 = null;
|
|
1294
|
-
return tmp.doResume_5yljmg_k$();
|
|
737
|
+
protoOf2($).component1_7eebsc_k$ = function() {
|
|
738
|
+
return this.address;
|
|
1295
739
|
};
|
|
1296
|
-
protoOf2($).
|
|
1297
|
-
return
|
|
740
|
+
protoOf2($).component2_7eebsb_k$ = function() {
|
|
741
|
+
return this.email;
|
|
1298
742
|
};
|
|
1299
|
-
protoOf2($).
|
|
1300
|
-
|
|
1301
|
-
return promisify2(function($completion) {
|
|
1302
|
-
return tmp.createOrganizationResident_y7ajg3_k$(companyId, input, $completion);
|
|
1303
|
-
});
|
|
743
|
+
protoOf2($).component3_7eebsa_k$ = function() {
|
|
744
|
+
return this.invoicingEmail;
|
|
1304
745
|
};
|
|
1305
|
-
protoOf2($).
|
|
1306
|
-
|
|
1307
|
-
tmp.result_1 = Unit_instance2;
|
|
1308
|
-
tmp.exception_1 = null;
|
|
1309
|
-
return tmp.doResume_5yljmg_k$();
|
|
746
|
+
protoOf2($).component4_7eebs9_k$ = function() {
|
|
747
|
+
return this.mobile;
|
|
1310
748
|
};
|
|
1311
|
-
protoOf2($).
|
|
1312
|
-
return
|
|
749
|
+
protoOf2($).component5_7eebs8_k$ = function() {
|
|
750
|
+
return this.name;
|
|
1313
751
|
};
|
|
1314
|
-
protoOf2($).
|
|
1315
|
-
|
|
1316
|
-
return promisify2(function($completion) {
|
|
1317
|
-
return tmp.updatePersonResident_de5phv_k$(companyId, residentId, input, $completion);
|
|
1318
|
-
});
|
|
752
|
+
protoOf2($).component6_7eebs7_k$ = function() {
|
|
753
|
+
return this.nationality;
|
|
1319
754
|
};
|
|
1320
|
-
protoOf2($).
|
|
1321
|
-
|
|
1322
|
-
tmp.result_1 = Unit_instance2;
|
|
1323
|
-
tmp.exception_1 = null;
|
|
1324
|
-
return tmp.doResume_5yljmg_k$();
|
|
755
|
+
protoOf2($).component7_7eebs6_k$ = function() {
|
|
756
|
+
return this.passportExpiration;
|
|
1325
757
|
};
|
|
1326
|
-
protoOf2($).
|
|
1327
|
-
return
|
|
758
|
+
protoOf2($).component8_7eebs5_k$ = function() {
|
|
759
|
+
return this.passportNumber;
|
|
1328
760
|
};
|
|
1329
|
-
protoOf2($).
|
|
1330
|
-
|
|
1331
|
-
return promisify2(function($completion) {
|
|
1332
|
-
return tmp.updateOrganizationResident_ooppx_k$(companyId, residentId, input, $completion);
|
|
1333
|
-
});
|
|
761
|
+
protoOf2($).component9_7eebs4_k$ = function() {
|
|
762
|
+
return this.personnummerTwo;
|
|
1334
763
|
};
|
|
1335
|
-
protoOf2($).
|
|
1336
|
-
|
|
1337
|
-
tmp.result_1 = Unit_instance2;
|
|
1338
|
-
tmp.exception_1 = null;
|
|
1339
|
-
return tmp.doResume_5yljmg_k$();
|
|
764
|
+
protoOf2($).component10_gazzfo_k$ = function() {
|
|
765
|
+
return this.roles;
|
|
1340
766
|
};
|
|
1341
|
-
protoOf2($).
|
|
1342
|
-
return
|
|
767
|
+
protoOf2($).copy_hsb04t_k$ = function(address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles) {
|
|
768
|
+
return new (UpdatePersonResidentCommand())(address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles);
|
|
1343
769
|
};
|
|
1344
|
-
protoOf2($).
|
|
1345
|
-
|
|
1346
|
-
|
|
770
|
+
protoOf2($).copy = function(address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles, $super) {
|
|
771
|
+
address = address === VOID2 ? this.address : address;
|
|
772
|
+
email = email === VOID2 ? this.email : email;
|
|
773
|
+
invoicingEmail = invoicingEmail === VOID2 ? this.invoicingEmail : invoicingEmail;
|
|
774
|
+
mobile = mobile === VOID2 ? this.mobile : mobile;
|
|
775
|
+
name = name === VOID2 ? this.name : name;
|
|
776
|
+
nationality = nationality === VOID2 ? this.nationality : nationality;
|
|
777
|
+
passportExpiration = passportExpiration === VOID2 ? this.passportExpiration : passportExpiration;
|
|
778
|
+
passportNumber = passportNumber === VOID2 ? this.passportNumber : passportNumber;
|
|
779
|
+
personnummerTwo = personnummerTwo === VOID2 ? this.personnummerTwo : personnummerTwo;
|
|
780
|
+
roles = roles === VOID2 ? this.roles : roles;
|
|
781
|
+
return $super === VOID2 ? this.copy_hsb04t_k$(address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles) : $super.copy_hsb04t_k$.call(this, address, email, invoicingEmail, mobile, name, nationality, passportExpiration, passportNumber, personnummerTwo, roles);
|
|
1347
782
|
};
|
|
1348
|
-
protoOf2($).
|
|
1349
|
-
|
|
1350
|
-
return promisify2(function($completion) {
|
|
1351
|
-
return tmp.exportResidentsFile$default_kg19pw_k$(companyId, includePnr, $completion);
|
|
1352
|
-
});
|
|
783
|
+
protoOf2($).toString = function() {
|
|
784
|
+
return "UpdatePersonResidentCommand(address=" + toString2(this.address) + ", email=" + this.email + ", invoicingEmail=" + this.invoicingEmail + ", mobile=" + this.mobile + ", name=" + this.name.toString() + ", nationality=" + toString2(this.nationality) + ", passportExpiration=" + toString2(this.passportExpiration) + ", passportNumber=" + this.passportNumber + ", personnummerTwo=" + this.personnummerTwo + ", roles=" + toString2(this.roles) + ")";
|
|
1353
785
|
};
|
|
1354
|
-
protoOf2($).
|
|
1355
|
-
var
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
786
|
+
protoOf2($).hashCode = function() {
|
|
787
|
+
var result = this.address == null ? 0 : this.address.hashCode();
|
|
788
|
+
result = imul2(result, 31) + (this.email == null ? 0 : getStringHashCode2(this.email)) | 0;
|
|
789
|
+
result = imul2(result, 31) + (this.invoicingEmail == null ? 0 : getStringHashCode2(this.invoicingEmail)) | 0;
|
|
790
|
+
result = imul2(result, 31) + (this.mobile == null ? 0 : getStringHashCode2(this.mobile)) | 0;
|
|
791
|
+
result = imul2(result, 31) + this.name.hashCode() | 0;
|
|
792
|
+
result = imul2(result, 31) + (this.nationality == null ? 0 : getBigIntHashCode2(this.nationality)) | 0;
|
|
793
|
+
result = imul2(result, 31) + (this.passportExpiration == null ? 0 : this.passportExpiration.hashCode()) | 0;
|
|
794
|
+
result = imul2(result, 31) + (this.passportNumber == null ? 0 : getStringHashCode2(this.passportNumber)) | 0;
|
|
795
|
+
result = imul2(result, 31) + (this.personnummerTwo == null ? 0 : getStringHashCode2(this.personnummerTwo)) | 0;
|
|
796
|
+
result = imul2(result, 31) + (this.roles == null ? 0 : hashCode(this.roles)) | 0;
|
|
797
|
+
return result;
|
|
1359
798
|
};
|
|
1360
|
-
protoOf2($).
|
|
1361
|
-
|
|
799
|
+
protoOf2($).equals = function(other) {
|
|
800
|
+
if (this === other)
|
|
801
|
+
return true;
|
|
802
|
+
if (!(other instanceof UpdatePersonResidentCommand()))
|
|
803
|
+
return false;
|
|
804
|
+
if (!equals2(this.address, other.address))
|
|
805
|
+
return false;
|
|
806
|
+
if (!(this.email == other.email))
|
|
807
|
+
return false;
|
|
808
|
+
if (!(this.invoicingEmail == other.invoicingEmail))
|
|
809
|
+
return false;
|
|
810
|
+
if (!(this.mobile == other.mobile))
|
|
811
|
+
return false;
|
|
812
|
+
if (!this.name.equals(other.name))
|
|
813
|
+
return false;
|
|
814
|
+
if (!(this.nationality == other.nationality))
|
|
815
|
+
return false;
|
|
816
|
+
if (!equals2(this.passportExpiration, other.passportExpiration))
|
|
817
|
+
return false;
|
|
818
|
+
if (!(this.passportNumber == other.passportNumber))
|
|
819
|
+
return false;
|
|
820
|
+
if (!(this.personnummerTwo == other.personnummerTwo))
|
|
821
|
+
return false;
|
|
822
|
+
if (!equals2(this.roles, other.roles))
|
|
823
|
+
return false;
|
|
824
|
+
return true;
|
|
1362
825
|
};
|
|
1363
|
-
|
|
826
|
+
Object.defineProperty($, "name", { value: "UpdatePersonResidentCommand", configurable: true });
|
|
827
|
+
__soliboRegisterOwnFields2($, { "address": ["model", "AddressSpecifics"], "name": ["model", "Name"], "roles": ["list", ["model", "RoleInput"]] });
|
|
828
|
+
__soliboRegisterLookup2("UpdatePersonResidentCommand", () => $);
|
|
829
|
+
UpdatePersonResidentCommandClass = $;
|
|
830
|
+
}
|
|
831
|
+
return UpdatePersonResidentCommandClass;
|
|
832
|
+
}
|
|
833
|
+
__soliboRegisterLookup2("AddressSpecifics", () => __soliboType_AddressSpecifics());
|
|
834
|
+
__soliboRegisterLookup2("Name", () => __soliboType_Name());
|
|
835
|
+
__soliboRegisterLookup2("RoleInput", () => __soliboType_RoleInput());
|
|
836
|
+
|
|
837
|
+
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateResidentCommand.mjs
|
|
838
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
839
|
+
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
840
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance3 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
841
|
+
import { lazy1261dae0bgscp as lazy3 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
842
|
+
import { protoOf180f3jzyo7rfj as protoOf3 } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
843
|
+
import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
844
|
+
import {
|
|
845
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
|
|
846
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
|
|
847
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
848
|
+
import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
849
|
+
import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
850
|
+
import { __soliboRegisterLookup as __soliboRegisterLookup3 } from "../solibo-boundary.mjs";
|
|
851
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
852
|
+
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
853
|
+
}
|
|
854
|
+
function UpdateResidentCommand$Companion$_anonymous__z29a5() {
|
|
855
|
+
var tmp = getKClass(UpdateResidentCommand());
|
|
856
|
+
var tmp_0 = [getKClass(UpdateOrganizationResidentCommand()), getKClass(UpdatePersonResidentCommand())];
|
|
857
|
+
var tmp_1 = [$serializer_getInstance_1(), $serializer_getInstance_2()];
|
|
858
|
+
var tmp$ret$6 = [];
|
|
859
|
+
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.UpdateResidentCommand", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
860
|
+
}
|
|
861
|
+
var CompanionClass3;
|
|
862
|
+
function Companion3() {
|
|
863
|
+
if (CompanionClass3 === VOID3) {
|
|
864
|
+
let $ = function() {
|
|
865
|
+
Companion_instance3 = this;
|
|
1364
866
|
var tmp = this;
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
});
|
|
867
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
|
|
868
|
+
tmp.$cachedSerializer$delegate_1 = lazy3(tmp_0, UpdateResidentCommand$Companion$_anonymous__z29a5);
|
|
1368
869
|
};
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
tmp.exception_1 = null;
|
|
1373
|
-
return tmp.doResume_5yljmg_k$();
|
|
870
|
+
initMetadataForCompanion3($, VOID3, [SerializerFactory()]);
|
|
871
|
+
protoOf3($).serializer_9w0wvi_k$ = function() {
|
|
872
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
1374
873
|
};
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
__soliboWrapMethod($, "updateOrganizationResident", { "args": { "0": ["bigint"], "1": ["bigint"], "2": ["model", "UpdateOrganizationResidentCommand"] }, "result": true });
|
|
1380
|
-
__soliboWrapMethod($, "exportResidentsFile", { "args": { "0": ["bigint"] }, "result": true });
|
|
1381
|
-
__soliboWrapMethod($, "exportSelectedResidentsFile", { "args": { "0": ["bigint"], "1": ["model", "ExportResidentsCommand"] }, "result": true });
|
|
1382
|
-
__soliboRegisterLookup("ResidentsApi", () => $);
|
|
1383
|
-
ResidentsApiClass = $;
|
|
1384
|
-
}
|
|
1385
|
-
return ResidentsApiClass;
|
|
1386
|
-
}
|
|
1387
|
-
function ensureSuccess(_this__u8e3s4, $completion) {
|
|
1388
|
-
var tmp = new ($ensureSuccessCOROUTINE$())(_this__u8e3s4, $completion);
|
|
1389
|
-
tmp.result_1 = Unit_instance2;
|
|
1390
|
-
tmp.exception_1 = null;
|
|
1391
|
-
return tmp.doResume_5yljmg_k$();
|
|
1392
|
-
}
|
|
1393
|
-
function ensureFileSuccess(_this__u8e3s4, $completion) {
|
|
1394
|
-
var tmp = new ($ensureFileSuccessCOROUTINE$())(_this__u8e3s4, $completion);
|
|
1395
|
-
tmp.result_1 = Unit_instance2;
|
|
1396
|
-
tmp.exception_1 = null;
|
|
1397
|
-
return tmp.doResume_5yljmg_k$();
|
|
1398
|
-
}
|
|
1399
|
-
function exportFileName(_this__u8e3s4) {
|
|
1400
|
-
_init_properties_ResidentsApi_kt__5q5gd3();
|
|
1401
|
-
if (_this__u8e3s4 == null || isBlank2(_this__u8e3s4))
|
|
1402
|
-
return null;
|
|
1403
|
-
var tmp;
|
|
1404
|
-
try {
|
|
1405
|
-
var value = Companion_getInstance().parse_pc1q8p_k$(_this__u8e3s4);
|
|
1406
|
-
tmp = _Result___init__impl__xyqfz8(value);
|
|
1407
|
-
} catch ($p) {
|
|
1408
|
-
var tmp_0;
|
|
1409
|
-
if ($p instanceof Error) {
|
|
1410
|
-
var e = $p;
|
|
1411
|
-
tmp_0 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
1412
|
-
} else {
|
|
1413
|
-
throw $p;
|
|
1414
|
-
}
|
|
1415
|
-
tmp = tmp_0;
|
|
1416
|
-
}
|
|
1417
|
-
var this_0 = tmp;
|
|
1418
|
-
var tmp0_elvis_lhs = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg(this_0);
|
|
1419
|
-
var tmp_1;
|
|
1420
|
-
if (tmp0_elvis_lhs == null) {
|
|
1421
|
-
return null;
|
|
1422
|
-
} else {
|
|
1423
|
-
tmp_1 = tmp0_elvis_lhs;
|
|
1424
|
-
}
|
|
1425
|
-
var disposition = tmp_1;
|
|
1426
|
-
var tmp1_safe_receiver = disposition.parameter_w3eqbz_k$("filename");
|
|
1427
|
-
if (tmp1_safe_receiver == null)
|
|
1428
|
-
null;
|
|
1429
|
-
else {
|
|
1430
|
-
return tmp1_safe_receiver;
|
|
1431
|
-
}
|
|
1432
|
-
var tmp2_elvis_lhs = disposition.parameter_w3eqbz_k$("filename*");
|
|
1433
|
-
var tmp_2;
|
|
1434
|
-
if (tmp2_elvis_lhs == null) {
|
|
1435
|
-
return null;
|
|
1436
|
-
} else {
|
|
1437
|
-
tmp_2 = tmp2_elvis_lhs;
|
|
1438
|
-
}
|
|
1439
|
-
var extended = tmp_2;
|
|
1440
|
-
var encoded = substringAfter(extended, "''", extended);
|
|
1441
|
-
var tmp_3;
|
|
1442
|
-
try {
|
|
1443
|
-
var value_0 = decodeURLPart(encoded);
|
|
1444
|
-
tmp_3 = _Result___init__impl__xyqfz8(value_0);
|
|
1445
|
-
} catch ($p_0) {
|
|
1446
|
-
var tmp_4;
|
|
1447
|
-
if ($p_0 instanceof Error) {
|
|
1448
|
-
var e_0 = $p_0;
|
|
1449
|
-
tmp_4 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
1450
|
-
} else {
|
|
1451
|
-
throw $p_0;
|
|
1452
|
-
}
|
|
1453
|
-
tmp_3 = tmp_4;
|
|
1454
|
-
}
|
|
1455
|
-
var tmp0 = tmp_3;
|
|
1456
|
-
var tmp$ret$12;
|
|
1457
|
-
$l$block: {
|
|
1458
|
-
if (_Result___get_isFailure__impl__jpiriv(tmp0)) {
|
|
1459
|
-
tmp$ret$12 = encoded;
|
|
1460
|
-
break $l$block;
|
|
1461
|
-
}
|
|
1462
|
-
tmp$ret$12 = _Result___get_value__impl__bjfvqg(tmp0);
|
|
874
|
+
protoOf3($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
875
|
+
return this.serializer_9w0wvi_k$();
|
|
876
|
+
};
|
|
877
|
+
CompanionClass3 = $;
|
|
1463
878
|
}
|
|
1464
|
-
return
|
|
879
|
+
return CompanionClass3;
|
|
1465
880
|
}
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
return Unit_instance2;
|
|
881
|
+
var Companion_instance3;
|
|
882
|
+
function Companion_getInstance2() {
|
|
883
|
+
if (Companion_instance3 == null)
|
|
884
|
+
new (Companion3())();
|
|
885
|
+
return Companion_instance3;
|
|
1472
886
|
}
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
if ($ensureSuccessCOROUTINE$Class === VOID2) {
|
|
1476
|
-
let $ = function(_this__u8e3s4, resultContinuation) {
|
|
1477
|
-
CoroutineImpl2().call(this, resultContinuation);
|
|
1478
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1479
|
-
};
|
|
1480
|
-
initMetadataForCoroutine2($, CoroutineImpl2());
|
|
1481
|
-
protoOf2($).doResume_5yljmg_k$ = function() {
|
|
1482
|
-
var suspendResult = this.result_1;
|
|
1483
|
-
$sm: do
|
|
1484
|
-
try {
|
|
1485
|
-
var tmp = this.state_1;
|
|
1486
|
-
switch (tmp) {
|
|
1487
|
-
case 0:
|
|
1488
|
-
this.exceptionState_1 = 2;
|
|
1489
|
-
if (this._this__u8e3s4__1.success)
|
|
1490
|
-
return Unit_instance2;
|
|
1491
|
-
this.state_1 = 1;
|
|
1492
|
-
suspendResult = bodyAsText2(this._this__u8e3s4__1.response, VOID2, this);
|
|
1493
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1494
|
-
return suspendResult;
|
|
1495
|
-
}
|
|
1496
|
-
continue $sm;
|
|
1497
|
-
case 1:
|
|
1498
|
-
var body = suspendResult;
|
|
1499
|
-
throw new (SoliboSDKError())(this._this__u8e3s4__1.status, parseApiErrors(body));
|
|
1500
|
-
case 2:
|
|
1501
|
-
throw this.exception_1;
|
|
1502
|
-
}
|
|
1503
|
-
} catch ($p) {
|
|
1504
|
-
var e = $p;
|
|
1505
|
-
if (this.exceptionState_1 === 2) {
|
|
1506
|
-
throw e;
|
|
1507
|
-
} else {
|
|
1508
|
-
this.state_1 = this.exceptionState_1;
|
|
1509
|
-
this.exception_1 = e;
|
|
1510
|
-
}
|
|
1511
|
-
}
|
|
1512
|
-
while (true);
|
|
1513
|
-
};
|
|
1514
|
-
$ensureSuccessCOROUTINE$Class = $;
|
|
1515
|
-
}
|
|
1516
|
-
return $ensureSuccessCOROUTINE$Class;
|
|
887
|
+
function UpdateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
888
|
+
return $this;
|
|
1517
889
|
}
|
|
1518
|
-
var
|
|
1519
|
-
function
|
|
1520
|
-
if (
|
|
1521
|
-
let $ = function(
|
|
1522
|
-
|
|
1523
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1524
|
-
};
|
|
1525
|
-
initMetadataForCoroutine2($, CoroutineImpl2());
|
|
1526
|
-
protoOf2($).doResume_5yljmg_k$ = function() {
|
|
1527
|
-
var suspendResult = this.result_1;
|
|
1528
|
-
$sm: do
|
|
1529
|
-
try {
|
|
1530
|
-
var tmp = this.state_1;
|
|
1531
|
-
switch (tmp) {
|
|
1532
|
-
case 0:
|
|
1533
|
-
this.exceptionState_1 = 2;
|
|
1534
|
-
if (this._this__u8e3s4__1.success && this._this__u8e3s4__1.status === Companion_getInstance_0().OK_1.value_1)
|
|
1535
|
-
return Unit_instance2;
|
|
1536
|
-
this.state_1 = 1;
|
|
1537
|
-
suspendResult = bodyAsText2(this._this__u8e3s4__1.response, VOID2, this);
|
|
1538
|
-
if (suspendResult === get_COROUTINE_SUSPENDED2()) {
|
|
1539
|
-
return suspendResult;
|
|
1540
|
-
}
|
|
1541
|
-
continue $sm;
|
|
1542
|
-
case 1:
|
|
1543
|
-
var body = suspendResult;
|
|
1544
|
-
throw new (SoliboSDKError())(this._this__u8e3s4__1.status, parseApiErrors(body));
|
|
1545
|
-
case 2:
|
|
1546
|
-
throw this.exception_1;
|
|
1547
|
-
}
|
|
1548
|
-
} catch ($p) {
|
|
1549
|
-
var e = $p;
|
|
1550
|
-
if (this.exceptionState_1 === 2) {
|
|
1551
|
-
throw e;
|
|
1552
|
-
} else {
|
|
1553
|
-
this.state_1 = this.exceptionState_1;
|
|
1554
|
-
this.exception_1 = e;
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
while (true);
|
|
890
|
+
var UpdateResidentCommandClass;
|
|
891
|
+
function UpdateResidentCommand() {
|
|
892
|
+
if (UpdateResidentCommandClass === VOID3) {
|
|
893
|
+
let $ = function() {
|
|
894
|
+
Companion_getInstance2();
|
|
1558
895
|
};
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
var properties_initialized_ResidentsApi_kt_wv1jx5;
|
|
1564
|
-
function _init_properties_ResidentsApi_kt__5q5gd3() {
|
|
1565
|
-
if (!properties_initialized_ResidentsApi_kt_wv1jx5) {
|
|
1566
|
-
properties_initialized_ResidentsApi_kt_wv1jx5 = true;
|
|
1567
|
-
RESIDENT_RESPONSE_JSON = Json(VOID2, RESIDENT_RESPONSE_JSON$lambda);
|
|
896
|
+
initMetadataForClass3($, "UpdateResidentCommand", VOID3, VOID3, VOID3, VOID3, VOID3, { 0: Companion_getInstance2 });
|
|
897
|
+
Object.defineProperty($, "name", { value: "UpdateResidentCommand", configurable: true });
|
|
898
|
+
__soliboRegisterLookup3("UpdateResidentCommand", () => $);
|
|
899
|
+
UpdateResidentCommandClass = $;
|
|
1568
900
|
}
|
|
901
|
+
return UpdateResidentCommandClass;
|
|
1569
902
|
}
|
|
1570
|
-
Companion_instance_0 = new (Companion())();
|
|
1571
|
-
__soliboRegisterLookup("CreateOrganizationResidentCommand", () => __soliboType_CreateOrganizationResidentCommand());
|
|
1572
|
-
__soliboRegisterLookup("CreatePersonResidentCommand", () => __soliboType_CreatePersonResidentCommand());
|
|
1573
|
-
__soliboRegisterLookup("ExportResidentsCommand", () => __soliboType_ExportResidentsCommand());
|
|
1574
|
-
__soliboRegisterLookup("UpdateOrganizationResidentCommand", () => __soliboType_UpdateOrganizationResidentCommand());
|
|
1575
|
-
__soliboRegisterLookup("UpdatePersonResidentCommand", () => __soliboType_UpdatePersonResidentCommand());
|
|
1576
903
|
export {
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
createWithClient as createWithClient2wav12bz6fxmc,
|
|
1585
|
-
ensureFileSuccess as ensureFileSuccess3m8bm6o7lihyr,
|
|
1586
|
-
ensureSuccess as ensureSuccess30cw0fas0nik8,
|
|
1587
|
-
exportFileName as exportFileNamenvad8v5n2t1b,
|
|
1588
|
-
exportResidentsFile as exportResidentsFile395mt0ldkg9r7,
|
|
1589
|
-
exportResidentsFileOperation as exportResidentsFileOperation3r0sxude2xxf7,
|
|
1590
|
-
exportSelectedResidentsFile as exportSelectedResidentsFile1lt7c2bbr77uf,
|
|
1591
|
-
exportSelectedResidentsFileOperation as exportSelectedResidentsFileOperation1wjlf0mtduy6h,
|
|
1592
|
-
get_RESIDENT_RESPONSE_JSON as get_RESIDENT_RESPONSE_JSON14lhj242m5rbk,
|
|
1593
|
-
updateOrganizationResident as updateOrganizationResident3kqk5orbzcegp,
|
|
1594
|
-
updateOrganizationResidentOperation as updateOrganizationResidentOperation1ucq2aka0bxo9,
|
|
1595
|
-
updatePersonResident as updatePersonResident2hul44ca7fx3m,
|
|
1596
|
-
updatePersonResidentOperation as updatePersonResidentOperation3772slme7ybmr
|
|
904
|
+
$serializer_getInstance_1 as $serializer_getInstance15dd5eubwj3dw,
|
|
905
|
+
$serializer_getInstance_2 as $serializer_getInstancewrzsp4clrcrk,
|
|
906
|
+
Companion_getInstance2 as Companion_getInstance3d1j3v2s3n95k,
|
|
907
|
+
UpdateOrganizationResidentCommand as UpdateOrganizationResidentCommand1c390oii5ca5p,
|
|
908
|
+
UpdatePersonResidentCommand as UpdatePersonResidentCommand2kabdje6vnsd6,
|
|
909
|
+
UpdateResidentCommand_init_$Init$ as UpdateResidentCommand_init_$Init$2465jblswvmub,
|
|
910
|
+
UpdateResidentCommand as UpdateResidentCommandu5e2cuf0siia
|
|
1597
911
|
};
|