@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,1398 +0,0 @@
|
|
|
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/CreateOrganizationResidentCommand.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";
|
|
6
|
-
import {
|
|
7
|
-
protoOf180f3jzyo7rfj as protoOf,
|
|
8
|
-
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
9
|
-
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
10
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
11
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
12
|
-
equals2au1ep9vhcato as equals
|
|
13
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
14
|
-
import {
|
|
15
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
16
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
17
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass
|
|
18
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
19
|
-
import { VOID3gxj6tk5isa35 as VOID } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
20
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
21
|
-
import {
|
|
22
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
|
|
23
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
|
|
24
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance
|
|
25
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
26
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
27
|
-
import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs";
|
|
28
|
-
import { $serializer_getInstance39ah9vs56z62k as $serializer_getInstance } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
|
|
29
|
-
import { $serializer_getInstancerdh476l8vnzy as $serializer_getInstance_0 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
|
|
30
|
-
import { $serializer_getInstance1dowfqlhdk0h4 as $serializer_getInstance_1 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationRoleInput.mjs";
|
|
31
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
32
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
33
|
-
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
34
|
-
import {
|
|
35
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
36
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer
|
|
37
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
38
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
39
|
-
import { toString30pk9tzaqopn as toString } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
40
|
-
import { SerializableWithd2dap36updxd as SerializableWith } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
41
|
-
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
|
|
42
|
-
import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion } from "../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs";
|
|
43
|
-
import { BusinessAddress1mbxnr7mf6ws3 as __soliboType_BusinessAddress } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
|
|
44
|
-
import { BusinessContact3gllsynq58xs4 as __soliboType_BusinessContact } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
|
|
45
|
-
import { OrganizationNumberType2p44g7e9ysiyt as __soliboType_OrganizationNumberType } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationNumberType.mjs";
|
|
46
|
-
import { OrganizationRoleInput4kt32h8ijawe as __soliboType_OrganizationRoleInput } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationRoleInput.mjs";
|
|
47
|
-
var imul = Math.imul;
|
|
48
|
-
function CreateOrganizationResidentCommand$Companion$$childSerializers$_anonymous__wlik7y() {
|
|
49
|
-
return Companion_getInstance().serializer_9w0wvi_k$();
|
|
50
|
-
}
|
|
51
|
-
var CompanionClass;
|
|
52
|
-
function Companion() {
|
|
53
|
-
if (CompanionClass === VOID) {
|
|
54
|
-
let $ = function() {
|
|
55
|
-
Companion_instance = this;
|
|
56
|
-
var tmp = this;
|
|
57
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
58
|
-
tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, null, null, null, null, null, lazy(tmp_0, CreateOrganizationResidentCommand$Companion$$childSerializers$_anonymous__wlik7y), null];
|
|
59
|
-
};
|
|
60
|
-
initMetadataForCompanion($);
|
|
61
|
-
CompanionClass = $;
|
|
62
|
-
}
|
|
63
|
-
return CompanionClass;
|
|
64
|
-
}
|
|
65
|
-
var Companion_instance;
|
|
66
|
-
function Companion_getInstance_1() {
|
|
67
|
-
if (Companion_instance == null) {
|
|
68
|
-
Companion_getInstance2();
|
|
69
|
-
new (Companion())();
|
|
70
|
-
}
|
|
71
|
-
return Companion_instance;
|
|
72
|
-
}
|
|
73
|
-
var $serializerClass;
|
|
74
|
-
function $serializer() {
|
|
75
|
-
if ($serializerClass === VOID) {
|
|
76
|
-
let $ = function() {
|
|
77
|
-
$serializer_instance = this;
|
|
78
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("solibo.residents.command.CreateOrganizationResidentCommand", this, 16);
|
|
79
|
-
tmp0_serialDesc.addElement_5pzumi_k$("accountNumber", true);
|
|
80
|
-
tmp0_serialDesc.addElement_5pzumi_k$("invoiceRecipient", true);
|
|
81
|
-
tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
|
|
82
|
-
tmp0_serialDesc.addElement_5pzumi_k$("parkingSpaceId", true);
|
|
83
|
-
tmp0_serialDesc.addElement_5pzumi_k$("preferredLanguage", true);
|
|
84
|
-
tmp0_serialDesc.addElement_5pzumi_k$("residencyStartedAt", false);
|
|
85
|
-
tmp0_serialDesc.addElement_5pzumi_k$("sectionId", true);
|
|
86
|
-
tmp0_serialDesc.addElement_5pzumi_k$("sendAccessInvitation", true);
|
|
87
|
-
tmp0_serialDesc.addElement_5pzumi_k$("storageRoomId", true);
|
|
88
|
-
tmp0_serialDesc.addElement_5pzumi_k$("businessAddress", true);
|
|
89
|
-
tmp0_serialDesc.addElement_5pzumi_k$("businessContact", true);
|
|
90
|
-
tmp0_serialDesc.addElement_5pzumi_k$("classification", false);
|
|
91
|
-
tmp0_serialDesc.addElement_5pzumi_k$("orgName", false);
|
|
92
|
-
tmp0_serialDesc.addElement_5pzumi_k$("orgNr", true);
|
|
93
|
-
tmp0_serialDesc.addElement_5pzumi_k$("orgNrType", true);
|
|
94
|
-
tmp0_serialDesc.addElement_5pzumi_k$("role", false);
|
|
95
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
96
|
-
};
|
|
97
|
-
initMetadataForObject($, "$serializer", VOID, VOID, [GeneratedSerializer()]);
|
|
98
|
-
protoOf($).serialize_676scr_k$ = function(encoder, value) {
|
|
99
|
-
var tmp0_desc = this.descriptor_1;
|
|
100
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
101
|
-
var tmp2_cached = Companion_getInstance_1().$childSerializers_1;
|
|
102
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.accountNumber_1 == null)) {
|
|
103
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance(), value.accountNumber_1);
|
|
104
|
-
}
|
|
105
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.invoiceRecipient_1 == null)) {
|
|
106
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), value.invoiceRecipient_1);
|
|
107
|
-
}
|
|
108
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.nationality_1 == null)) {
|
|
109
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, LongSerializer_getInstance(), value.nationality_1);
|
|
110
|
-
}
|
|
111
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.parkingSpaceId_1 == null)) {
|
|
112
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance(), value.parkingSpaceId_1);
|
|
113
|
-
}
|
|
114
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.preferredLanguage_1 == null)) {
|
|
115
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, LongSerializer_getInstance(), value.preferredLanguage_1);
|
|
116
|
-
}
|
|
117
|
-
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.residencyStartedAt_1);
|
|
118
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.sectionId_1 == null)) {
|
|
119
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.sectionId_1);
|
|
120
|
-
}
|
|
121
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.sendAccessInvitation_1 == null)) {
|
|
122
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), value.sendAccessInvitation_1);
|
|
123
|
-
}
|
|
124
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.storageRoomId_1 == null)) {
|
|
125
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance(), value.storageRoomId_1);
|
|
126
|
-
}
|
|
127
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.businessAddress == null)) {
|
|
128
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, $serializer_getInstance(), value.businessAddress);
|
|
129
|
-
}
|
|
130
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.businessContact == null)) {
|
|
131
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, $serializer_getInstance_0(), value.businessContact);
|
|
132
|
-
}
|
|
133
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 11, value.classification);
|
|
134
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 12, value.orgName);
|
|
135
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.orgNr == null)) {
|
|
136
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, StringSerializer_getInstance(), value.orgNr);
|
|
137
|
-
}
|
|
138
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.orgNrType == null)) {
|
|
139
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, tmp2_cached[14].get_value_j01efc_k$(), value.orgNrType);
|
|
140
|
-
}
|
|
141
|
-
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 15, $serializer_getInstance_1(), value.role);
|
|
142
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
143
|
-
};
|
|
144
|
-
protoOf($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
145
|
-
return this.serialize_676scr_k$(encoder, value instanceof CreateOrganizationResidentCommand() ? value : THROW_CCE());
|
|
146
|
-
};
|
|
147
|
-
protoOf($).deserialize_sy6x50_k$ = function(decoder) {
|
|
148
|
-
var tmp0_desc = this.descriptor_1;
|
|
149
|
-
var tmp1_flag = true;
|
|
150
|
-
var tmp2_index = 0;
|
|
151
|
-
var tmp3_bitMask0 = 0;
|
|
152
|
-
var tmp4_local0 = null;
|
|
153
|
-
var tmp5_local1 = null;
|
|
154
|
-
var tmp6_local2 = null;
|
|
155
|
-
var tmp7_local3 = null;
|
|
156
|
-
var tmp8_local4 = null;
|
|
157
|
-
var tmp9_local5 = null;
|
|
158
|
-
var tmp10_local6 = null;
|
|
159
|
-
var tmp11_local7 = null;
|
|
160
|
-
var tmp12_local8 = null;
|
|
161
|
-
var tmp13_local9 = null;
|
|
162
|
-
var tmp14_local10 = null;
|
|
163
|
-
var tmp15_local11 = null;
|
|
164
|
-
var tmp16_local12 = null;
|
|
165
|
-
var tmp17_local13 = null;
|
|
166
|
-
var tmp18_local14 = null;
|
|
167
|
-
var tmp19_local15 = null;
|
|
168
|
-
var tmp20_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
169
|
-
var tmp21_cached = Companion_getInstance_1().$childSerializers_1;
|
|
170
|
-
if (tmp20_input.decodeSequentially_xlblqy_k$()) {
|
|
171
|
-
tmp4_local0 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
172
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
173
|
-
tmp5_local1 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
174
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
175
|
-
tmp6_local2 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
176
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
177
|
-
tmp7_local3 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
178
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
179
|
-
tmp8_local4 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
180
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
181
|
-
tmp9_local5 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
|
|
182
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
183
|
-
tmp10_local6 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
184
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
185
|
-
tmp11_local7 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
186
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
187
|
-
tmp12_local8 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
188
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
189
|
-
tmp13_local9 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance(), tmp13_local9);
|
|
190
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
191
|
-
tmp14_local10 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_0(), tmp14_local10);
|
|
192
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
193
|
-
tmp15_local11 = tmp20_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
|
|
194
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
195
|
-
tmp16_local12 = tmp20_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
|
|
196
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
197
|
-
tmp17_local13 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, StringSerializer_getInstance(), tmp17_local13);
|
|
198
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
199
|
-
tmp18_local14 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp21_cached[14].get_value_j01efc_k$(), tmp18_local14);
|
|
200
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
201
|
-
tmp19_local15 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 15, $serializer_getInstance_1(), tmp19_local15);
|
|
202
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
203
|
-
} else
|
|
204
|
-
while (tmp1_flag) {
|
|
205
|
-
tmp2_index = tmp20_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
206
|
-
switch (tmp2_index) {
|
|
207
|
-
case -1:
|
|
208
|
-
tmp1_flag = false;
|
|
209
|
-
break;
|
|
210
|
-
case 0:
|
|
211
|
-
tmp4_local0 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
212
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
213
|
-
break;
|
|
214
|
-
case 1:
|
|
215
|
-
tmp5_local1 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance(), tmp5_local1);
|
|
216
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
217
|
-
break;
|
|
218
|
-
case 2:
|
|
219
|
-
tmp6_local2 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
220
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
221
|
-
break;
|
|
222
|
-
case 3:
|
|
223
|
-
tmp7_local3 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
224
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
225
|
-
break;
|
|
226
|
-
case 4:
|
|
227
|
-
tmp8_local4 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
228
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
229
|
-
break;
|
|
230
|
-
case 5:
|
|
231
|
-
tmp9_local5 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
|
|
232
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
233
|
-
break;
|
|
234
|
-
case 6:
|
|
235
|
-
tmp10_local6 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
236
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
237
|
-
break;
|
|
238
|
-
case 7:
|
|
239
|
-
tmp11_local7 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance(), tmp11_local7);
|
|
240
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
241
|
-
break;
|
|
242
|
-
case 8:
|
|
243
|
-
tmp12_local8 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
244
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
245
|
-
break;
|
|
246
|
-
case 9:
|
|
247
|
-
tmp13_local9 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance(), tmp13_local9);
|
|
248
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
249
|
-
break;
|
|
250
|
-
case 10:
|
|
251
|
-
tmp14_local10 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_0(), tmp14_local10);
|
|
252
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
253
|
-
break;
|
|
254
|
-
case 11:
|
|
255
|
-
tmp15_local11 = tmp20_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
|
|
256
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
257
|
-
break;
|
|
258
|
-
case 12:
|
|
259
|
-
tmp16_local12 = tmp20_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
|
|
260
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
261
|
-
break;
|
|
262
|
-
case 13:
|
|
263
|
-
tmp17_local13 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, StringSerializer_getInstance(), tmp17_local13);
|
|
264
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
265
|
-
break;
|
|
266
|
-
case 14:
|
|
267
|
-
tmp18_local14 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, tmp21_cached[14].get_value_j01efc_k$(), tmp18_local14);
|
|
268
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
269
|
-
break;
|
|
270
|
-
case 15:
|
|
271
|
-
tmp19_local15 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 15, $serializer_getInstance_1(), tmp19_local15);
|
|
272
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
273
|
-
break;
|
|
274
|
-
default:
|
|
275
|
-
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
tmp20_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
279
|
-
return CreateOrganizationResidentCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, null);
|
|
280
|
-
};
|
|
281
|
-
protoOf($).get_descriptor_wjt6a0_k$ = function() {
|
|
282
|
-
return this.descriptor_1;
|
|
283
|
-
};
|
|
284
|
-
protoOf($).childSerializers_5ghqw5_k$ = function() {
|
|
285
|
-
var tmp0_cached = Companion_getInstance_1().$childSerializers_1;
|
|
286
|
-
return [get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), InstantSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable($serializer_getInstance()), get_nullable($serializer_getInstance_0()), StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[14].get_value_j01efc_k$()), $serializer_getInstance_1()];
|
|
287
|
-
};
|
|
288
|
-
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
289
|
-
$serializerClass = $;
|
|
290
|
-
}
|
|
291
|
-
return $serializerClass;
|
|
292
|
-
}
|
|
293
|
-
var $serializer_instance;
|
|
294
|
-
function $serializer_getInstance_2() {
|
|
295
|
-
if ($serializer_instance == null)
|
|
296
|
-
new ($serializer())();
|
|
297
|
-
return $serializer_instance;
|
|
298
|
-
}
|
|
299
|
-
function CreateOrganizationResidentCommand_init_$Init$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role, serializationConstructorMarker, $this) {
|
|
300
|
-
if (!(38944 === (38944 & seen0))) {
|
|
301
|
-
throwMissingFieldException(seen0, 38944, $serializer_getInstance_2().descriptor_1);
|
|
302
|
-
}
|
|
303
|
-
CreateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
304
|
-
if (0 === (seen0 & 1))
|
|
305
|
-
$this.accountNumber_1 = null;
|
|
306
|
-
else
|
|
307
|
-
$this.accountNumber_1 = accountNumber;
|
|
308
|
-
if (0 === (seen0 & 2))
|
|
309
|
-
$this.invoiceRecipient_1 = null;
|
|
310
|
-
else
|
|
311
|
-
$this.invoiceRecipient_1 = invoiceRecipient;
|
|
312
|
-
if (0 === (seen0 & 4))
|
|
313
|
-
$this.nationality_1 = null;
|
|
314
|
-
else
|
|
315
|
-
$this.nationality_1 = nationality;
|
|
316
|
-
if (0 === (seen0 & 8))
|
|
317
|
-
$this.parkingSpaceId_1 = null;
|
|
318
|
-
else
|
|
319
|
-
$this.parkingSpaceId_1 = parkingSpaceId;
|
|
320
|
-
if (0 === (seen0 & 16))
|
|
321
|
-
$this.preferredLanguage_1 = null;
|
|
322
|
-
else
|
|
323
|
-
$this.preferredLanguage_1 = preferredLanguage;
|
|
324
|
-
$this.residencyStartedAt_1 = residencyStartedAt;
|
|
325
|
-
if (0 === (seen0 & 64))
|
|
326
|
-
$this.sectionId_1 = null;
|
|
327
|
-
else
|
|
328
|
-
$this.sectionId_1 = sectionId;
|
|
329
|
-
if (0 === (seen0 & 128))
|
|
330
|
-
$this.sendAccessInvitation_1 = null;
|
|
331
|
-
else
|
|
332
|
-
$this.sendAccessInvitation_1 = sendAccessInvitation;
|
|
333
|
-
if (0 === (seen0 & 256))
|
|
334
|
-
$this.storageRoomId_1 = null;
|
|
335
|
-
else
|
|
336
|
-
$this.storageRoomId_1 = storageRoomId;
|
|
337
|
-
if (0 === (seen0 & 512))
|
|
338
|
-
$this.businessAddress = null;
|
|
339
|
-
else
|
|
340
|
-
$this.businessAddress = businessAddress;
|
|
341
|
-
if (0 === (seen0 & 1024))
|
|
342
|
-
$this.businessContact = null;
|
|
343
|
-
else
|
|
344
|
-
$this.businessContact = businessContact;
|
|
345
|
-
$this.classification = classification;
|
|
346
|
-
$this.orgName = orgName;
|
|
347
|
-
if (0 === (seen0 & 8192))
|
|
348
|
-
$this.orgNr = null;
|
|
349
|
-
else
|
|
350
|
-
$this.orgNr = orgNr;
|
|
351
|
-
if (0 === (seen0 & 16384))
|
|
352
|
-
$this.orgNrType = null;
|
|
353
|
-
else
|
|
354
|
-
$this.orgNrType = orgNrType;
|
|
355
|
-
$this.role = role;
|
|
356
|
-
return $this;
|
|
357
|
-
}
|
|
358
|
-
function CreateOrganizationResidentCommand_init_$Create$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role, serializationConstructorMarker) {
|
|
359
|
-
return CreateOrganizationResidentCommand_init_$Init$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role, serializationConstructorMarker, objectCreate(protoOf(CreateOrganizationResidentCommand())));
|
|
360
|
-
}
|
|
361
|
-
var CreateOrganizationResidentCommandClass;
|
|
362
|
-
function CreateOrganizationResidentCommand() {
|
|
363
|
-
if (CreateOrganizationResidentCommandClass === VOID) {
|
|
364
|
-
let $ = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role) {
|
|
365
|
-
var __soliboProps = arguments.length === 1 && typeof accountNumber === "object" && accountNumber !== null && accountNumber.constructor === Object;
|
|
366
|
-
var __soliboTmp, __soliboConverted = false;
|
|
367
|
-
if (__soliboProps) {
|
|
368
|
-
const props = accountNumber;
|
|
369
|
-
accountNumber = "accountNumber" in props ? props.accountNumber : VOID;
|
|
370
|
-
invoiceRecipient = "invoiceRecipient" in props ? props.invoiceRecipient : VOID;
|
|
371
|
-
nationality = "nationality" in props ? props.nationality : VOID;
|
|
372
|
-
parkingSpaceId = "parkingSpaceId" in props ? props.parkingSpaceId : VOID;
|
|
373
|
-
preferredLanguage = "preferredLanguage" in props ? props.preferredLanguage : VOID;
|
|
374
|
-
residencyStartedAt = "residencyStartedAt" in props ? props.residencyStartedAt : VOID;
|
|
375
|
-
if (typeof residencyStartedAt === "string") {
|
|
376
|
-
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += ":00Z";
|
|
377
|
-
else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += "Z";
|
|
378
|
-
const companion = __soliboInstantCompanion();
|
|
379
|
-
residencyStartedAt = companion.parse_xovy9i_k$(residencyStartedAt);
|
|
380
|
-
} else if (residencyStartedAt != null && typeof residencyStartedAt === "object" && typeof residencyStartedAt.getTime === "function") {
|
|
381
|
-
const companion = __soliboInstantCompanion();
|
|
382
|
-
residencyStartedAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(residencyStartedAt.getTime()));
|
|
383
|
-
}
|
|
384
|
-
sectionId = "sectionId" in props ? props.sectionId : VOID;
|
|
385
|
-
sendAccessInvitation = "sendAccessInvitation" in props ? props.sendAccessInvitation : VOID;
|
|
386
|
-
storageRoomId = "storageRoomId" in props ? props.storageRoomId : VOID;
|
|
387
|
-
businessAddress = "businessAddress" in props ? props.businessAddress : VOID;
|
|
388
|
-
businessContact = "businessContact" in props ? props.businessContact : VOID;
|
|
389
|
-
classification = "classification" in props ? props.classification : VOID;
|
|
390
|
-
orgName = "orgName" in props ? props.orgName : VOID;
|
|
391
|
-
orgNr = "orgNr" in props ? props.orgNr : VOID;
|
|
392
|
-
orgNrType = "orgNrType" in props ? props.orgNrType : VOID;
|
|
393
|
-
role = "role" in props ? props.role : VOID;
|
|
394
|
-
}
|
|
395
|
-
if ((__soliboTmp = __soliboToKt(nationality, ["bigint"])) !== nationality) {
|
|
396
|
-
nationality = __soliboTmp;
|
|
397
|
-
__soliboConverted = true;
|
|
398
|
-
}
|
|
399
|
-
if ((__soliboTmp = __soliboToKt(parkingSpaceId, ["bigint"])) !== parkingSpaceId) {
|
|
400
|
-
parkingSpaceId = __soliboTmp;
|
|
401
|
-
__soliboConverted = true;
|
|
402
|
-
}
|
|
403
|
-
if ((__soliboTmp = __soliboToKt(preferredLanguage, ["bigint"])) !== preferredLanguage) {
|
|
404
|
-
preferredLanguage = __soliboTmp;
|
|
405
|
-
__soliboConverted = true;
|
|
406
|
-
}
|
|
407
|
-
if ((__soliboTmp = __soliboToKt(sectionId, ["bigint"])) !== sectionId) {
|
|
408
|
-
sectionId = __soliboTmp;
|
|
409
|
-
__soliboConverted = true;
|
|
410
|
-
}
|
|
411
|
-
if ((__soliboTmp = __soliboToKt(storageRoomId, ["bigint"])) !== storageRoomId) {
|
|
412
|
-
storageRoomId = __soliboTmp;
|
|
413
|
-
__soliboConverted = true;
|
|
414
|
-
}
|
|
415
|
-
if ((__soliboTmp = __soliboToKt(businessAddress, ["model", "BusinessAddress"])) !== businessAddress) {
|
|
416
|
-
businessAddress = __soliboTmp;
|
|
417
|
-
__soliboConverted = true;
|
|
418
|
-
}
|
|
419
|
-
if ((__soliboTmp = __soliboToKt(businessContact, ["model", "BusinessContact"])) !== businessContact) {
|
|
420
|
-
businessContact = __soliboTmp;
|
|
421
|
-
__soliboConverted = true;
|
|
422
|
-
}
|
|
423
|
-
if ((__soliboTmp = __soliboToKt(orgNrType, ["enum", "OrganizationNumberType"])) !== orgNrType) {
|
|
424
|
-
orgNrType = __soliboTmp;
|
|
425
|
-
__soliboConverted = true;
|
|
426
|
-
}
|
|
427
|
-
if ((__soliboTmp = __soliboToKt(role, ["model", "OrganizationRoleInput"])) !== role) {
|
|
428
|
-
role = __soliboTmp;
|
|
429
|
-
__soliboConverted = true;
|
|
430
|
-
}
|
|
431
|
-
Companion_getInstance_1();
|
|
432
|
-
accountNumber = accountNumber === VOID ? null : accountNumber;
|
|
433
|
-
invoiceRecipient = invoiceRecipient === VOID ? null : invoiceRecipient;
|
|
434
|
-
nationality = nationality === VOID ? null : nationality;
|
|
435
|
-
parkingSpaceId = parkingSpaceId === VOID ? null : parkingSpaceId;
|
|
436
|
-
preferredLanguage = preferredLanguage === VOID ? null : preferredLanguage;
|
|
437
|
-
sectionId = sectionId === VOID ? null : sectionId;
|
|
438
|
-
sendAccessInvitation = sendAccessInvitation === VOID ? null : sendAccessInvitation;
|
|
439
|
-
storageRoomId = storageRoomId === VOID ? null : storageRoomId;
|
|
440
|
-
businessAddress = businessAddress === VOID ? null : businessAddress;
|
|
441
|
-
businessContact = businessContact === VOID ? null : businessContact;
|
|
442
|
-
orgNr = orgNr === VOID ? null : orgNr;
|
|
443
|
-
orgNrType = orgNrType === VOID ? null : orgNrType;
|
|
444
|
-
CreateResidentCommand().call(this);
|
|
445
|
-
this.accountNumber_1 = accountNumber;
|
|
446
|
-
this.invoiceRecipient_1 = invoiceRecipient;
|
|
447
|
-
this.nationality_1 = nationality;
|
|
448
|
-
this.parkingSpaceId_1 = parkingSpaceId;
|
|
449
|
-
this.preferredLanguage_1 = preferredLanguage;
|
|
450
|
-
this.residencyStartedAt_1 = residencyStartedAt;
|
|
451
|
-
this.sectionId_1 = sectionId;
|
|
452
|
-
this.sendAccessInvitation_1 = sendAccessInvitation;
|
|
453
|
-
this.storageRoomId_1 = storageRoomId;
|
|
454
|
-
this.businessAddress = businessAddress;
|
|
455
|
-
this.businessContact = businessContact;
|
|
456
|
-
this.classification = classification;
|
|
457
|
-
this.orgName = orgName;
|
|
458
|
-
this.orgNr = orgNr;
|
|
459
|
-
this.orgNrType = orgNrType;
|
|
460
|
-
this.role = role;
|
|
461
|
-
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
462
|
-
};
|
|
463
|
-
initMetadataForClass($, "CreateOrganizationResidentCommand", VOID, CreateResidentCommand(), VOID, VOID, VOID, { 0: $serializer_getInstance_2 });
|
|
464
|
-
protoOf($).get_accountNumber_hxsifn_k$ = function() {
|
|
465
|
-
return this.accountNumber_1;
|
|
466
|
-
};
|
|
467
|
-
protoOf($).get_invoiceRecipient_gb0udn_k$ = function() {
|
|
468
|
-
return this.invoiceRecipient_1;
|
|
469
|
-
};
|
|
470
|
-
protoOf($).get_nationality_ffhahf_k$ = function() {
|
|
471
|
-
return this.nationality_1;
|
|
472
|
-
};
|
|
473
|
-
protoOf($).get_parkingSpaceId_4fmbda_k$ = function() {
|
|
474
|
-
return this.parkingSpaceId_1;
|
|
475
|
-
};
|
|
476
|
-
protoOf($).get_preferredLanguage_wh0f5c_k$ = function() {
|
|
477
|
-
return this.preferredLanguage_1;
|
|
478
|
-
};
|
|
479
|
-
protoOf($).get_residencyStartedAt_umulel_k$ = function() {
|
|
480
|
-
return this.residencyStartedAt_1;
|
|
481
|
-
};
|
|
482
|
-
protoOf($).get_sectionId_2pkr0p_k$ = function() {
|
|
483
|
-
return this.sectionId_1;
|
|
484
|
-
};
|
|
485
|
-
protoOf($).get_sendAccessInvitation_18n9qm_k$ = function() {
|
|
486
|
-
return this.sendAccessInvitation_1;
|
|
487
|
-
};
|
|
488
|
-
protoOf($).get_storageRoomId_qhd5zc_k$ = function() {
|
|
489
|
-
return this.storageRoomId_1;
|
|
490
|
-
};
|
|
491
|
-
protoOf($).get_businessAddress_gfqq0b_k$ = function() {
|
|
492
|
-
return this.businessAddress;
|
|
493
|
-
};
|
|
494
|
-
protoOf($).get_businessContact_jvjsmh_k$ = function() {
|
|
495
|
-
return this.businessContact;
|
|
496
|
-
};
|
|
497
|
-
protoOf($).get_classification_vci2a9_k$ = function() {
|
|
498
|
-
return this.classification;
|
|
499
|
-
};
|
|
500
|
-
protoOf($).get_orgName_inw8yi_k$ = function() {
|
|
501
|
-
return this.orgName;
|
|
502
|
-
};
|
|
503
|
-
protoOf($).get_orgNr_iwhkf3_k$ = function() {
|
|
504
|
-
return this.orgNr;
|
|
505
|
-
};
|
|
506
|
-
protoOf($).get_orgNrType_z6jrsp_k$ = function() {
|
|
507
|
-
return this.orgNrType;
|
|
508
|
-
};
|
|
509
|
-
protoOf($).get_role_wotsxr_k$ = function() {
|
|
510
|
-
return this.role;
|
|
511
|
-
};
|
|
512
|
-
protoOf($).component1_7eebsc_k$ = function() {
|
|
513
|
-
return this.accountNumber_1;
|
|
514
|
-
};
|
|
515
|
-
protoOf($).component2_7eebsb_k$ = function() {
|
|
516
|
-
return this.invoiceRecipient_1;
|
|
517
|
-
};
|
|
518
|
-
protoOf($).component3_7eebsa_k$ = function() {
|
|
519
|
-
return this.nationality_1;
|
|
520
|
-
};
|
|
521
|
-
protoOf($).component4_7eebs9_k$ = function() {
|
|
522
|
-
return this.parkingSpaceId_1;
|
|
523
|
-
};
|
|
524
|
-
protoOf($).component5_7eebs8_k$ = function() {
|
|
525
|
-
return this.preferredLanguage_1;
|
|
526
|
-
};
|
|
527
|
-
protoOf($).component6_7eebs7_k$ = function() {
|
|
528
|
-
return this.residencyStartedAt_1;
|
|
529
|
-
};
|
|
530
|
-
protoOf($).component7_7eebs6_k$ = function() {
|
|
531
|
-
return this.sectionId_1;
|
|
532
|
-
};
|
|
533
|
-
protoOf($).component8_7eebs5_k$ = function() {
|
|
534
|
-
return this.sendAccessInvitation_1;
|
|
535
|
-
};
|
|
536
|
-
protoOf($).component9_7eebs4_k$ = function() {
|
|
537
|
-
return this.storageRoomId_1;
|
|
538
|
-
};
|
|
539
|
-
protoOf($).component10_gazzfo_k$ = function() {
|
|
540
|
-
return this.businessAddress;
|
|
541
|
-
};
|
|
542
|
-
protoOf($).component11_gazzfn_k$ = function() {
|
|
543
|
-
return this.businessContact;
|
|
544
|
-
};
|
|
545
|
-
protoOf($).component12_gazzfm_k$ = function() {
|
|
546
|
-
return this.classification;
|
|
547
|
-
};
|
|
548
|
-
protoOf($).component13_gazzfl_k$ = function() {
|
|
549
|
-
return this.orgName;
|
|
550
|
-
};
|
|
551
|
-
protoOf($).component14_gazzfk_k$ = function() {
|
|
552
|
-
return this.orgNr;
|
|
553
|
-
};
|
|
554
|
-
protoOf($).component15_gazzfj_k$ = function() {
|
|
555
|
-
return this.orgNrType;
|
|
556
|
-
};
|
|
557
|
-
protoOf($).component16_gazzfi_k$ = function() {
|
|
558
|
-
return this.role;
|
|
559
|
-
};
|
|
560
|
-
protoOf($).copy_doue21_k$ = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role) {
|
|
561
|
-
return new (CreateOrganizationResidentCommand())(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role);
|
|
562
|
-
};
|
|
563
|
-
protoOf($).copy = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role, $super) {
|
|
564
|
-
accountNumber = accountNumber === VOID ? this.accountNumber_1 : accountNumber;
|
|
565
|
-
invoiceRecipient = invoiceRecipient === VOID ? this.invoiceRecipient_1 : invoiceRecipient;
|
|
566
|
-
nationality = nationality === VOID ? this.nationality_1 : nationality;
|
|
567
|
-
parkingSpaceId = parkingSpaceId === VOID ? this.parkingSpaceId_1 : parkingSpaceId;
|
|
568
|
-
preferredLanguage = preferredLanguage === VOID ? this.preferredLanguage_1 : preferredLanguage;
|
|
569
|
-
residencyStartedAt = residencyStartedAt === VOID ? this.residencyStartedAt_1 : residencyStartedAt;
|
|
570
|
-
sectionId = sectionId === VOID ? this.sectionId_1 : sectionId;
|
|
571
|
-
sendAccessInvitation = sendAccessInvitation === VOID ? this.sendAccessInvitation_1 : sendAccessInvitation;
|
|
572
|
-
storageRoomId = storageRoomId === VOID ? this.storageRoomId_1 : storageRoomId;
|
|
573
|
-
businessAddress = businessAddress === VOID ? this.businessAddress : businessAddress;
|
|
574
|
-
businessContact = businessContact === VOID ? this.businessContact : businessContact;
|
|
575
|
-
classification = classification === VOID ? this.classification : classification;
|
|
576
|
-
orgName = orgName === VOID ? this.orgName : orgName;
|
|
577
|
-
orgNr = orgNr === VOID ? this.orgNr : orgNr;
|
|
578
|
-
orgNrType = orgNrType === VOID ? this.orgNrType : orgNrType;
|
|
579
|
-
role = role === VOID ? this.role : role;
|
|
580
|
-
return $super === VOID ? this.copy_doue21_k$(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role) : $super.copy_doue21_k$.call(this, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, businessAddress, businessContact, classification, orgName, orgNr, orgNrType, role);
|
|
581
|
-
};
|
|
582
|
-
protoOf($).toString = function() {
|
|
583
|
-
return "CreateOrganizationResidentCommand(accountNumber=" + this.accountNumber_1 + ", invoiceRecipient=" + this.invoiceRecipient_1 + ", nationality=" + toString(this.nationality_1) + ", parkingSpaceId=" + toString(this.parkingSpaceId_1) + ", preferredLanguage=" + toString(this.preferredLanguage_1) + ", residencyStartedAt=" + this.residencyStartedAt_1.toString() + ", sectionId=" + toString(this.sectionId_1) + ", sendAccessInvitation=" + this.sendAccessInvitation_1 + ", storageRoomId=" + toString(this.storageRoomId_1) + ", businessAddress=" + toString(this.businessAddress) + ", businessContact=" + toString(this.businessContact) + ", classification=" + this.classification + ", orgName=" + this.orgName + ", orgNr=" + this.orgNr + ", orgNrType=" + toString(this.orgNrType) + ", role=" + this.role.toString() + ")";
|
|
584
|
-
};
|
|
585
|
-
protoOf($).hashCode = function() {
|
|
586
|
-
var result = this.accountNumber_1 == null ? 0 : getStringHashCode(this.accountNumber_1);
|
|
587
|
-
result = imul(result, 31) + (this.invoiceRecipient_1 == null ? 0 : getBooleanHashCode(this.invoiceRecipient_1)) | 0;
|
|
588
|
-
result = imul(result, 31) + (this.nationality_1 == null ? 0 : getBigIntHashCode(this.nationality_1)) | 0;
|
|
589
|
-
result = imul(result, 31) + (this.parkingSpaceId_1 == null ? 0 : getBigIntHashCode(this.parkingSpaceId_1)) | 0;
|
|
590
|
-
result = imul(result, 31) + (this.preferredLanguage_1 == null ? 0 : getBigIntHashCode(this.preferredLanguage_1)) | 0;
|
|
591
|
-
result = imul(result, 31) + this.residencyStartedAt_1.hashCode() | 0;
|
|
592
|
-
result = imul(result, 31) + (this.sectionId_1 == null ? 0 : getBigIntHashCode(this.sectionId_1)) | 0;
|
|
593
|
-
result = imul(result, 31) + (this.sendAccessInvitation_1 == null ? 0 : getBooleanHashCode(this.sendAccessInvitation_1)) | 0;
|
|
594
|
-
result = imul(result, 31) + (this.storageRoomId_1 == null ? 0 : getBigIntHashCode(this.storageRoomId_1)) | 0;
|
|
595
|
-
result = imul(result, 31) + (this.businessAddress == null ? 0 : this.businessAddress.hashCode()) | 0;
|
|
596
|
-
result = imul(result, 31) + (this.businessContact == null ? 0 : this.businessContact.hashCode()) | 0;
|
|
597
|
-
result = imul(result, 31) + getStringHashCode(this.classification) | 0;
|
|
598
|
-
result = imul(result, 31) + getStringHashCode(this.orgName) | 0;
|
|
599
|
-
result = imul(result, 31) + (this.orgNr == null ? 0 : getStringHashCode(this.orgNr)) | 0;
|
|
600
|
-
result = imul(result, 31) + (this.orgNrType == null ? 0 : this.orgNrType.hashCode()) | 0;
|
|
601
|
-
result = imul(result, 31) + this.role.hashCode() | 0;
|
|
602
|
-
return result;
|
|
603
|
-
};
|
|
604
|
-
protoOf($).equals = function(other) {
|
|
605
|
-
if (this === other)
|
|
606
|
-
return true;
|
|
607
|
-
if (!(other instanceof CreateOrganizationResidentCommand()))
|
|
608
|
-
return false;
|
|
609
|
-
if (!(this.accountNumber_1 == other.accountNumber_1))
|
|
610
|
-
return false;
|
|
611
|
-
if (!(this.invoiceRecipient_1 == other.invoiceRecipient_1))
|
|
612
|
-
return false;
|
|
613
|
-
if (!(this.nationality_1 == other.nationality_1))
|
|
614
|
-
return false;
|
|
615
|
-
if (!(this.parkingSpaceId_1 == other.parkingSpaceId_1))
|
|
616
|
-
return false;
|
|
617
|
-
if (!(this.preferredLanguage_1 == other.preferredLanguage_1))
|
|
618
|
-
return false;
|
|
619
|
-
if (!this.residencyStartedAt_1.equals(other.residencyStartedAt_1))
|
|
620
|
-
return false;
|
|
621
|
-
if (!(this.sectionId_1 == other.sectionId_1))
|
|
622
|
-
return false;
|
|
623
|
-
if (!(this.sendAccessInvitation_1 == other.sendAccessInvitation_1))
|
|
624
|
-
return false;
|
|
625
|
-
if (!(this.storageRoomId_1 == other.storageRoomId_1))
|
|
626
|
-
return false;
|
|
627
|
-
if (!equals(this.businessAddress, other.businessAddress))
|
|
628
|
-
return false;
|
|
629
|
-
if (!equals(this.businessContact, other.businessContact))
|
|
630
|
-
return false;
|
|
631
|
-
if (!(this.classification === other.classification))
|
|
632
|
-
return false;
|
|
633
|
-
if (!(this.orgName === other.orgName))
|
|
634
|
-
return false;
|
|
635
|
-
if (!(this.orgNr == other.orgNr))
|
|
636
|
-
return false;
|
|
637
|
-
if (!equals(this.orgNrType, other.orgNrType))
|
|
638
|
-
return false;
|
|
639
|
-
if (!this.role.equals(other.role))
|
|
640
|
-
return false;
|
|
641
|
-
return true;
|
|
642
|
-
};
|
|
643
|
-
Object.defineProperty($, "name", { value: "CreateOrganizationResidentCommand", configurable: true });
|
|
644
|
-
__soliboRegisterOwnFields($, { "businessAddress": ["model", "BusinessAddress"], "businessContact": ["model", "BusinessContact"], "role": ["model", "OrganizationRoleInput"] });
|
|
645
|
-
__soliboRegisterLookup("CreateOrganizationResidentCommand", () => $);
|
|
646
|
-
CreateOrganizationResidentCommandClass = $;
|
|
647
|
-
}
|
|
648
|
-
return CreateOrganizationResidentCommandClass;
|
|
649
|
-
}
|
|
650
|
-
__soliboRegisterLookup("BusinessAddress", () => __soliboType_BusinessAddress());
|
|
651
|
-
__soliboRegisterLookup("BusinessContact", () => __soliboType_BusinessContact());
|
|
652
|
-
__soliboRegisterLookup("OrganizationNumberType", () => __soliboType_OrganizationNumberType());
|
|
653
|
-
__soliboRegisterLookup("OrganizationRoleInput", () => __soliboType_OrganizationRoleInput());
|
|
654
|
-
|
|
655
|
-
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreatePersonResidentCommand.mjs
|
|
656
|
-
import {
|
|
657
|
-
protoOf180f3jzyo7rfj as protoOf2,
|
|
658
|
-
objectCreate1ve4bgxiu4x98 as objectCreate2,
|
|
659
|
-
getStringHashCode26igk1bx568vk as getStringHashCode2,
|
|
660
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode2,
|
|
661
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2,
|
|
662
|
-
equals2au1ep9vhcato as equals2
|
|
663
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
664
|
-
import {
|
|
665
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion2,
|
|
666
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject2,
|
|
667
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass2
|
|
668
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
669
|
-
import { VOID3gxj6tk5isa35 as VOID2 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
670
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
671
|
-
import {
|
|
672
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance2,
|
|
673
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance2,
|
|
674
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance2
|
|
675
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
676
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
677
|
-
import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs";
|
|
678
|
-
import { $serializer_getInstance1se14apkjzug7 as $serializer_getInstance2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
679
|
-
import { $serializer_getInstance30spq8el0ek5z as $serializer_getInstance_02 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonRoleInput.mjs";
|
|
680
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
681
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
682
|
-
import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
683
|
-
import {
|
|
684
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers2,
|
|
685
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer2
|
|
686
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
687
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
688
|
-
import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
689
|
-
import { SerializableWithd2dap36updxd as SerializableWith2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
690
|
-
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";
|
|
691
|
-
import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion2 } from "../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs";
|
|
692
|
-
import { Namefq7jqr1w1zl3 as __soliboType_Name } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
693
|
-
import { PersonRoleInputzbwfz7r915q1 as __soliboType_PersonRoleInput } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonRoleInput.mjs";
|
|
694
|
-
var imul2 = Math.imul;
|
|
695
|
-
var CompanionClass2;
|
|
696
|
-
function Companion2() {
|
|
697
|
-
if (CompanionClass2 === VOID2) {
|
|
698
|
-
let $ = function() {
|
|
699
|
-
};
|
|
700
|
-
initMetadataForCompanion2($);
|
|
701
|
-
CompanionClass2 = $;
|
|
702
|
-
}
|
|
703
|
-
return CompanionClass2;
|
|
704
|
-
}
|
|
705
|
-
var Companion_instance2;
|
|
706
|
-
function Companion_getInstance3() {
|
|
707
|
-
return Companion_instance2;
|
|
708
|
-
}
|
|
709
|
-
var $serializerClass2;
|
|
710
|
-
function $serializer2() {
|
|
711
|
-
if ($serializerClass2 === VOID2) {
|
|
712
|
-
let $ = function() {
|
|
713
|
-
$serializer_instance2 = this;
|
|
714
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("solibo.residents.command.CreatePersonResidentCommand", this, 16);
|
|
715
|
-
tmp0_serialDesc.addElement_5pzumi_k$("accountNumber", true);
|
|
716
|
-
tmp0_serialDesc.addElement_5pzumi_k$("invoiceRecipient", true);
|
|
717
|
-
tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
|
|
718
|
-
tmp0_serialDesc.addElement_5pzumi_k$("parkingSpaceId", true);
|
|
719
|
-
tmp0_serialDesc.addElement_5pzumi_k$("preferredLanguage", true);
|
|
720
|
-
tmp0_serialDesc.addElement_5pzumi_k$("residencyStartedAt", false);
|
|
721
|
-
tmp0_serialDesc.addElement_5pzumi_k$("sectionId", true);
|
|
722
|
-
tmp0_serialDesc.addElement_5pzumi_k$("sendAccessInvitation", true);
|
|
723
|
-
tmp0_serialDesc.addElement_5pzumi_k$("storageRoomId", true);
|
|
724
|
-
tmp0_serialDesc.addElement_5pzumi_k$("email", true);
|
|
725
|
-
tmp0_serialDesc.addElement_5pzumi_k$("invoicingEmail", true);
|
|
726
|
-
tmp0_serialDesc.addElement_5pzumi_k$("mobile", true);
|
|
727
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", true);
|
|
728
|
-
tmp0_serialDesc.addElement_5pzumi_k$("personId", true);
|
|
729
|
-
tmp0_serialDesc.addElement_5pzumi_k$("personalIdentityNumber", true);
|
|
730
|
-
tmp0_serialDesc.addElement_5pzumi_k$("role", false);
|
|
731
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
732
|
-
};
|
|
733
|
-
initMetadataForObject2($, "$serializer", VOID2, VOID2, [GeneratedSerializer2()]);
|
|
734
|
-
protoOf2($).serialize_lglo0n_k$ = function(encoder, value) {
|
|
735
|
-
var tmp0_desc = this.descriptor_1;
|
|
736
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
737
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.accountNumber_1 == null)) {
|
|
738
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance2(), value.accountNumber_1);
|
|
739
|
-
}
|
|
740
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.invoiceRecipient_1 == null)) {
|
|
741
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, BooleanSerializer_getInstance2(), value.invoiceRecipient_1);
|
|
742
|
-
}
|
|
743
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.nationality_1 == null)) {
|
|
744
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, LongSerializer_getInstance2(), value.nationality_1);
|
|
745
|
-
}
|
|
746
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.parkingSpaceId_1 == null)) {
|
|
747
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance2(), value.parkingSpaceId_1);
|
|
748
|
-
}
|
|
749
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.preferredLanguage_1 == null)) {
|
|
750
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, LongSerializer_getInstance2(), value.preferredLanguage_1);
|
|
751
|
-
}
|
|
752
|
-
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 5, InstantSerializer_getInstance2(), value.residencyStartedAt_1);
|
|
753
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.sectionId_1 == null)) {
|
|
754
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance2(), value.sectionId_1);
|
|
755
|
-
}
|
|
756
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.sendAccessInvitation_1 == null)) {
|
|
757
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, BooleanSerializer_getInstance2(), value.sendAccessInvitation_1);
|
|
758
|
-
}
|
|
759
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.storageRoomId_1 == null)) {
|
|
760
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance2(), value.storageRoomId_1);
|
|
761
|
-
}
|
|
762
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.email == null)) {
|
|
763
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance2(), value.email);
|
|
764
|
-
}
|
|
765
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.invoicingEmail == null)) {
|
|
766
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance2(), value.invoicingEmail);
|
|
767
|
-
}
|
|
768
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.mobile == null)) {
|
|
769
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, StringSerializer_getInstance2(), value.mobile);
|
|
770
|
-
}
|
|
771
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.name == null)) {
|
|
772
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, $serializer_getInstance2(), value.name);
|
|
773
|
-
}
|
|
774
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.personId == null)) {
|
|
775
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, LongSerializer_getInstance2(), value.personId);
|
|
776
|
-
}
|
|
777
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.personalIdentityNumber == null)) {
|
|
778
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, StringSerializer_getInstance2(), value.personalIdentityNumber);
|
|
779
|
-
}
|
|
780
|
-
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 15, $serializer_getInstance_02(), value.role);
|
|
781
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
782
|
-
};
|
|
783
|
-
protoOf2($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
784
|
-
return this.serialize_lglo0n_k$(encoder, value instanceof CreatePersonResidentCommand() ? value : THROW_CCE2());
|
|
785
|
-
};
|
|
786
|
-
protoOf2($).deserialize_sy6x50_k$ = function(decoder) {
|
|
787
|
-
var tmp0_desc = this.descriptor_1;
|
|
788
|
-
var tmp1_flag = true;
|
|
789
|
-
var tmp2_index = 0;
|
|
790
|
-
var tmp3_bitMask0 = 0;
|
|
791
|
-
var tmp4_local0 = null;
|
|
792
|
-
var tmp5_local1 = null;
|
|
793
|
-
var tmp6_local2 = null;
|
|
794
|
-
var tmp7_local3 = null;
|
|
795
|
-
var tmp8_local4 = null;
|
|
796
|
-
var tmp9_local5 = null;
|
|
797
|
-
var tmp10_local6 = null;
|
|
798
|
-
var tmp11_local7 = null;
|
|
799
|
-
var tmp12_local8 = null;
|
|
800
|
-
var tmp13_local9 = null;
|
|
801
|
-
var tmp14_local10 = null;
|
|
802
|
-
var tmp15_local11 = null;
|
|
803
|
-
var tmp16_local12 = null;
|
|
804
|
-
var tmp17_local13 = null;
|
|
805
|
-
var tmp18_local14 = null;
|
|
806
|
-
var tmp19_local15 = null;
|
|
807
|
-
var tmp20_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
808
|
-
if (tmp20_input.decodeSequentially_xlblqy_k$()) {
|
|
809
|
-
tmp4_local0 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance2(), tmp4_local0);
|
|
810
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
811
|
-
tmp5_local1 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance2(), tmp5_local1);
|
|
812
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
813
|
-
tmp6_local2 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance2(), tmp6_local2);
|
|
814
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
815
|
-
tmp7_local3 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
|
|
816
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
817
|
-
tmp8_local4 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
|
|
818
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
819
|
-
tmp9_local5 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, InstantSerializer_getInstance2(), tmp9_local5);
|
|
820
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
821
|
-
tmp10_local6 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance2(), tmp10_local6);
|
|
822
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
823
|
-
tmp11_local7 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance2(), tmp11_local7);
|
|
824
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
825
|
-
tmp12_local8 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance2(), tmp12_local8);
|
|
826
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
827
|
-
tmp13_local9 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance2(), tmp13_local9);
|
|
828
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
829
|
-
tmp14_local10 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance2(), tmp14_local10);
|
|
830
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
831
|
-
tmp15_local11 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance2(), tmp15_local11);
|
|
832
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
833
|
-
tmp16_local12 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, $serializer_getInstance2(), tmp16_local12);
|
|
834
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
835
|
-
tmp17_local13 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, LongSerializer_getInstance2(), tmp17_local13);
|
|
836
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
837
|
-
tmp18_local14 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, StringSerializer_getInstance2(), tmp18_local14);
|
|
838
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
839
|
-
tmp19_local15 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 15, $serializer_getInstance_02(), tmp19_local15);
|
|
840
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
841
|
-
} else
|
|
842
|
-
while (tmp1_flag) {
|
|
843
|
-
tmp2_index = tmp20_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
844
|
-
switch (tmp2_index) {
|
|
845
|
-
case -1:
|
|
846
|
-
tmp1_flag = false;
|
|
847
|
-
break;
|
|
848
|
-
case 0:
|
|
849
|
-
tmp4_local0 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance2(), tmp4_local0);
|
|
850
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
851
|
-
break;
|
|
852
|
-
case 1:
|
|
853
|
-
tmp5_local1 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, BooleanSerializer_getInstance2(), tmp5_local1);
|
|
854
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
855
|
-
break;
|
|
856
|
-
case 2:
|
|
857
|
-
tmp6_local2 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance2(), tmp6_local2);
|
|
858
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
859
|
-
break;
|
|
860
|
-
case 3:
|
|
861
|
-
tmp7_local3 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
|
|
862
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
863
|
-
break;
|
|
864
|
-
case 4:
|
|
865
|
-
tmp8_local4 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
|
|
866
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
867
|
-
break;
|
|
868
|
-
case 5:
|
|
869
|
-
tmp9_local5 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, InstantSerializer_getInstance2(), tmp9_local5);
|
|
870
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
871
|
-
break;
|
|
872
|
-
case 6:
|
|
873
|
-
tmp10_local6 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance2(), tmp10_local6);
|
|
874
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
875
|
-
break;
|
|
876
|
-
case 7:
|
|
877
|
-
tmp11_local7 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, BooleanSerializer_getInstance2(), tmp11_local7);
|
|
878
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
879
|
-
break;
|
|
880
|
-
case 8:
|
|
881
|
-
tmp12_local8 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance2(), tmp12_local8);
|
|
882
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
883
|
-
break;
|
|
884
|
-
case 9:
|
|
885
|
-
tmp13_local9 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance2(), tmp13_local9);
|
|
886
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
887
|
-
break;
|
|
888
|
-
case 10:
|
|
889
|
-
tmp14_local10 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance2(), tmp14_local10);
|
|
890
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
891
|
-
break;
|
|
892
|
-
case 11:
|
|
893
|
-
tmp15_local11 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance2(), tmp15_local11);
|
|
894
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
895
|
-
break;
|
|
896
|
-
case 12:
|
|
897
|
-
tmp16_local12 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, $serializer_getInstance2(), tmp16_local12);
|
|
898
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
899
|
-
break;
|
|
900
|
-
case 13:
|
|
901
|
-
tmp17_local13 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, LongSerializer_getInstance2(), tmp17_local13);
|
|
902
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
903
|
-
break;
|
|
904
|
-
case 14:
|
|
905
|
-
tmp18_local14 = tmp20_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, StringSerializer_getInstance2(), tmp18_local14);
|
|
906
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
907
|
-
break;
|
|
908
|
-
case 15:
|
|
909
|
-
tmp19_local15 = tmp20_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 15, $serializer_getInstance_02(), tmp19_local15);
|
|
910
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
911
|
-
break;
|
|
912
|
-
default:
|
|
913
|
-
throw UnknownFieldException_init_$Create$2(tmp2_index);
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
tmp20_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
917
|
-
return CreatePersonResidentCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, null);
|
|
918
|
-
};
|
|
919
|
-
protoOf2($).get_descriptor_wjt6a0_k$ = function() {
|
|
920
|
-
return this.descriptor_1;
|
|
921
|
-
};
|
|
922
|
-
protoOf2($).childSerializers_5ghqw5_k$ = function() {
|
|
923
|
-
return [get_nullable2(StringSerializer_getInstance2()), get_nullable2(BooleanSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2()), InstantSerializer_getInstance2(), get_nullable2(LongSerializer_getInstance2()), get_nullable2(BooleanSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), get_nullable2($serializer_getInstance2()), get_nullable2(LongSerializer_getInstance2()), get_nullable2(StringSerializer_getInstance2()), $serializer_getInstance_02()];
|
|
924
|
-
};
|
|
925
|
-
protoOf2($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers2;
|
|
926
|
-
$serializerClass2 = $;
|
|
927
|
-
}
|
|
928
|
-
return $serializerClass2;
|
|
929
|
-
}
|
|
930
|
-
var $serializer_instance2;
|
|
931
|
-
function $serializer_getInstance_12() {
|
|
932
|
-
if ($serializer_instance2 == null)
|
|
933
|
-
new ($serializer2())();
|
|
934
|
-
return $serializer_instance2;
|
|
935
|
-
}
|
|
936
|
-
function CreatePersonResidentCommand_init_$Init$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role, serializationConstructorMarker, $this) {
|
|
937
|
-
if (!(32800 === (32800 & seen0))) {
|
|
938
|
-
throwMissingFieldException2(seen0, 32800, $serializer_getInstance_12().descriptor_1);
|
|
939
|
-
}
|
|
940
|
-
CreateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
941
|
-
if (0 === (seen0 & 1))
|
|
942
|
-
$this.accountNumber_1 = null;
|
|
943
|
-
else
|
|
944
|
-
$this.accountNumber_1 = accountNumber;
|
|
945
|
-
if (0 === (seen0 & 2))
|
|
946
|
-
$this.invoiceRecipient_1 = null;
|
|
947
|
-
else
|
|
948
|
-
$this.invoiceRecipient_1 = invoiceRecipient;
|
|
949
|
-
if (0 === (seen0 & 4))
|
|
950
|
-
$this.nationality_1 = null;
|
|
951
|
-
else
|
|
952
|
-
$this.nationality_1 = nationality;
|
|
953
|
-
if (0 === (seen0 & 8))
|
|
954
|
-
$this.parkingSpaceId_1 = null;
|
|
955
|
-
else
|
|
956
|
-
$this.parkingSpaceId_1 = parkingSpaceId;
|
|
957
|
-
if (0 === (seen0 & 16))
|
|
958
|
-
$this.preferredLanguage_1 = null;
|
|
959
|
-
else
|
|
960
|
-
$this.preferredLanguage_1 = preferredLanguage;
|
|
961
|
-
$this.residencyStartedAt_1 = residencyStartedAt;
|
|
962
|
-
if (0 === (seen0 & 64))
|
|
963
|
-
$this.sectionId_1 = null;
|
|
964
|
-
else
|
|
965
|
-
$this.sectionId_1 = sectionId;
|
|
966
|
-
if (0 === (seen0 & 128))
|
|
967
|
-
$this.sendAccessInvitation_1 = null;
|
|
968
|
-
else
|
|
969
|
-
$this.sendAccessInvitation_1 = sendAccessInvitation;
|
|
970
|
-
if (0 === (seen0 & 256))
|
|
971
|
-
$this.storageRoomId_1 = null;
|
|
972
|
-
else
|
|
973
|
-
$this.storageRoomId_1 = storageRoomId;
|
|
974
|
-
if (0 === (seen0 & 512))
|
|
975
|
-
$this.email = null;
|
|
976
|
-
else
|
|
977
|
-
$this.email = email;
|
|
978
|
-
if (0 === (seen0 & 1024))
|
|
979
|
-
$this.invoicingEmail = null;
|
|
980
|
-
else
|
|
981
|
-
$this.invoicingEmail = invoicingEmail;
|
|
982
|
-
if (0 === (seen0 & 2048))
|
|
983
|
-
$this.mobile = null;
|
|
984
|
-
else
|
|
985
|
-
$this.mobile = mobile;
|
|
986
|
-
if (0 === (seen0 & 4096))
|
|
987
|
-
$this.name = null;
|
|
988
|
-
else
|
|
989
|
-
$this.name = name;
|
|
990
|
-
if (0 === (seen0 & 8192))
|
|
991
|
-
$this.personId = null;
|
|
992
|
-
else
|
|
993
|
-
$this.personId = personId;
|
|
994
|
-
if (0 === (seen0 & 16384))
|
|
995
|
-
$this.personalIdentityNumber = null;
|
|
996
|
-
else
|
|
997
|
-
$this.personalIdentityNumber = personalIdentityNumber;
|
|
998
|
-
$this.role = role;
|
|
999
|
-
return $this;
|
|
1000
|
-
}
|
|
1001
|
-
function CreatePersonResidentCommand_init_$Create$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role, serializationConstructorMarker) {
|
|
1002
|
-
return CreatePersonResidentCommand_init_$Init$(seen0, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role, serializationConstructorMarker, objectCreate2(protoOf2(CreatePersonResidentCommand())));
|
|
1003
|
-
}
|
|
1004
|
-
var CreatePersonResidentCommandClass;
|
|
1005
|
-
function CreatePersonResidentCommand() {
|
|
1006
|
-
if (CreatePersonResidentCommandClass === VOID2) {
|
|
1007
|
-
let $ = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role) {
|
|
1008
|
-
var __soliboProps = arguments.length === 1 && typeof accountNumber === "object" && accountNumber !== null && accountNumber.constructor === Object;
|
|
1009
|
-
var __soliboTmp, __soliboConverted = false;
|
|
1010
|
-
if (__soliboProps) {
|
|
1011
|
-
const props = accountNumber;
|
|
1012
|
-
accountNumber = "accountNumber" in props ? props.accountNumber : VOID2;
|
|
1013
|
-
invoiceRecipient = "invoiceRecipient" in props ? props.invoiceRecipient : VOID2;
|
|
1014
|
-
nationality = "nationality" in props ? props.nationality : VOID2;
|
|
1015
|
-
parkingSpaceId = "parkingSpaceId" in props ? props.parkingSpaceId : VOID2;
|
|
1016
|
-
preferredLanguage = "preferredLanguage" in props ? props.preferredLanguage : VOID2;
|
|
1017
|
-
residencyStartedAt = "residencyStartedAt" in props ? props.residencyStartedAt : VOID2;
|
|
1018
|
-
if (typeof residencyStartedAt === "string") {
|
|
1019
|
-
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += ":00Z";
|
|
1020
|
-
else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(residencyStartedAt)) residencyStartedAt += "Z";
|
|
1021
|
-
const companion = __soliboInstantCompanion2();
|
|
1022
|
-
residencyStartedAt = companion.parse_xovy9i_k$(residencyStartedAt);
|
|
1023
|
-
} else if (residencyStartedAt != null && typeof residencyStartedAt === "object" && typeof residencyStartedAt.getTime === "function") {
|
|
1024
|
-
const companion = __soliboInstantCompanion2();
|
|
1025
|
-
residencyStartedAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(residencyStartedAt.getTime()));
|
|
1026
|
-
}
|
|
1027
|
-
sectionId = "sectionId" in props ? props.sectionId : VOID2;
|
|
1028
|
-
sendAccessInvitation = "sendAccessInvitation" in props ? props.sendAccessInvitation : VOID2;
|
|
1029
|
-
storageRoomId = "storageRoomId" in props ? props.storageRoomId : VOID2;
|
|
1030
|
-
email = "email" in props ? props.email : VOID2;
|
|
1031
|
-
invoicingEmail = "invoicingEmail" in props ? props.invoicingEmail : VOID2;
|
|
1032
|
-
mobile = "mobile" in props ? props.mobile : VOID2;
|
|
1033
|
-
name = "name" in props ? props.name : VOID2;
|
|
1034
|
-
personId = "personId" in props ? props.personId : VOID2;
|
|
1035
|
-
personalIdentityNumber = "personalIdentityNumber" in props ? props.personalIdentityNumber : VOID2;
|
|
1036
|
-
role = "role" in props ? props.role : VOID2;
|
|
1037
|
-
}
|
|
1038
|
-
if ((__soliboTmp = __soliboToKt2(nationality, ["bigint"])) !== nationality) {
|
|
1039
|
-
nationality = __soliboTmp;
|
|
1040
|
-
__soliboConverted = true;
|
|
1041
|
-
}
|
|
1042
|
-
if ((__soliboTmp = __soliboToKt2(parkingSpaceId, ["bigint"])) !== parkingSpaceId) {
|
|
1043
|
-
parkingSpaceId = __soliboTmp;
|
|
1044
|
-
__soliboConverted = true;
|
|
1045
|
-
}
|
|
1046
|
-
if ((__soliboTmp = __soliboToKt2(preferredLanguage, ["bigint"])) !== preferredLanguage) {
|
|
1047
|
-
preferredLanguage = __soliboTmp;
|
|
1048
|
-
__soliboConverted = true;
|
|
1049
|
-
}
|
|
1050
|
-
if ((__soliboTmp = __soliboToKt2(sectionId, ["bigint"])) !== sectionId) {
|
|
1051
|
-
sectionId = __soliboTmp;
|
|
1052
|
-
__soliboConverted = true;
|
|
1053
|
-
}
|
|
1054
|
-
if ((__soliboTmp = __soliboToKt2(storageRoomId, ["bigint"])) !== storageRoomId) {
|
|
1055
|
-
storageRoomId = __soliboTmp;
|
|
1056
|
-
__soliboConverted = true;
|
|
1057
|
-
}
|
|
1058
|
-
if ((__soliboTmp = __soliboToKt2(name, ["model", "Name"])) !== name) {
|
|
1059
|
-
name = __soliboTmp;
|
|
1060
|
-
__soliboConverted = true;
|
|
1061
|
-
}
|
|
1062
|
-
if ((__soliboTmp = __soliboToKt2(personId, ["bigint"])) !== personId) {
|
|
1063
|
-
personId = __soliboTmp;
|
|
1064
|
-
__soliboConverted = true;
|
|
1065
|
-
}
|
|
1066
|
-
if ((__soliboTmp = __soliboToKt2(role, ["model", "PersonRoleInput"])) !== role) {
|
|
1067
|
-
role = __soliboTmp;
|
|
1068
|
-
__soliboConverted = true;
|
|
1069
|
-
}
|
|
1070
|
-
accountNumber = accountNumber === VOID2 ? null : accountNumber;
|
|
1071
|
-
invoiceRecipient = invoiceRecipient === VOID2 ? null : invoiceRecipient;
|
|
1072
|
-
nationality = nationality === VOID2 ? null : nationality;
|
|
1073
|
-
parkingSpaceId = parkingSpaceId === VOID2 ? null : parkingSpaceId;
|
|
1074
|
-
preferredLanguage = preferredLanguage === VOID2 ? null : preferredLanguage;
|
|
1075
|
-
sectionId = sectionId === VOID2 ? null : sectionId;
|
|
1076
|
-
sendAccessInvitation = sendAccessInvitation === VOID2 ? null : sendAccessInvitation;
|
|
1077
|
-
storageRoomId = storageRoomId === VOID2 ? null : storageRoomId;
|
|
1078
|
-
email = email === VOID2 ? null : email;
|
|
1079
|
-
invoicingEmail = invoicingEmail === VOID2 ? null : invoicingEmail;
|
|
1080
|
-
mobile = mobile === VOID2 ? null : mobile;
|
|
1081
|
-
name = name === VOID2 ? null : name;
|
|
1082
|
-
personId = personId === VOID2 ? null : personId;
|
|
1083
|
-
personalIdentityNumber = personalIdentityNumber === VOID2 ? null : personalIdentityNumber;
|
|
1084
|
-
CreateResidentCommand().call(this);
|
|
1085
|
-
this.accountNumber_1 = accountNumber;
|
|
1086
|
-
this.invoiceRecipient_1 = invoiceRecipient;
|
|
1087
|
-
this.nationality_1 = nationality;
|
|
1088
|
-
this.parkingSpaceId_1 = parkingSpaceId;
|
|
1089
|
-
this.preferredLanguage_1 = preferredLanguage;
|
|
1090
|
-
this.residencyStartedAt_1 = residencyStartedAt;
|
|
1091
|
-
this.sectionId_1 = sectionId;
|
|
1092
|
-
this.sendAccessInvitation_1 = sendAccessInvitation;
|
|
1093
|
-
this.storageRoomId_1 = storageRoomId;
|
|
1094
|
-
this.email = email;
|
|
1095
|
-
this.invoicingEmail = invoicingEmail;
|
|
1096
|
-
this.mobile = mobile;
|
|
1097
|
-
this.name = name;
|
|
1098
|
-
this.personId = personId;
|
|
1099
|
-
this.personalIdentityNumber = personalIdentityNumber;
|
|
1100
|
-
this.role = role;
|
|
1101
|
-
if (__soliboConverted && !__soliboBoundaryState2.internalConstruction) return __soliboToJs2(this);
|
|
1102
|
-
};
|
|
1103
|
-
initMetadataForClass2($, "CreatePersonResidentCommand", VOID2, CreateResidentCommand(), VOID2, VOID2, VOID2, { 0: $serializer_getInstance_12 });
|
|
1104
|
-
protoOf2($).get_accountNumber_hxsifn_k$ = function() {
|
|
1105
|
-
return this.accountNumber_1;
|
|
1106
|
-
};
|
|
1107
|
-
protoOf2($).get_invoiceRecipient_gb0udn_k$ = function() {
|
|
1108
|
-
return this.invoiceRecipient_1;
|
|
1109
|
-
};
|
|
1110
|
-
protoOf2($).get_nationality_ffhahf_k$ = function() {
|
|
1111
|
-
return this.nationality_1;
|
|
1112
|
-
};
|
|
1113
|
-
protoOf2($).get_parkingSpaceId_4fmbda_k$ = function() {
|
|
1114
|
-
return this.parkingSpaceId_1;
|
|
1115
|
-
};
|
|
1116
|
-
protoOf2($).get_preferredLanguage_wh0f5c_k$ = function() {
|
|
1117
|
-
return this.preferredLanguage_1;
|
|
1118
|
-
};
|
|
1119
|
-
protoOf2($).get_residencyStartedAt_umulel_k$ = function() {
|
|
1120
|
-
return this.residencyStartedAt_1;
|
|
1121
|
-
};
|
|
1122
|
-
protoOf2($).get_sectionId_2pkr0p_k$ = function() {
|
|
1123
|
-
return this.sectionId_1;
|
|
1124
|
-
};
|
|
1125
|
-
protoOf2($).get_sendAccessInvitation_18n9qm_k$ = function() {
|
|
1126
|
-
return this.sendAccessInvitation_1;
|
|
1127
|
-
};
|
|
1128
|
-
protoOf2($).get_storageRoomId_qhd5zc_k$ = function() {
|
|
1129
|
-
return this.storageRoomId_1;
|
|
1130
|
-
};
|
|
1131
|
-
protoOf2($).get_email_iqwbqr_k$ = function() {
|
|
1132
|
-
return this.email;
|
|
1133
|
-
};
|
|
1134
|
-
protoOf2($).get_invoicingEmail_jgzfh7_k$ = function() {
|
|
1135
|
-
return this.invoicingEmail;
|
|
1136
|
-
};
|
|
1137
|
-
protoOf2($).get_mobile_gqevmz_k$ = function() {
|
|
1138
|
-
return this.mobile;
|
|
1139
|
-
};
|
|
1140
|
-
protoOf2($).get_name_woqyms_k$ = function() {
|
|
1141
|
-
return this.name;
|
|
1142
|
-
};
|
|
1143
|
-
protoOf2($).get_personId_oh37jb_k$ = function() {
|
|
1144
|
-
return this.personId;
|
|
1145
|
-
};
|
|
1146
|
-
protoOf2($).get_personalIdentityNumber_2j77jk_k$ = function() {
|
|
1147
|
-
return this.personalIdentityNumber;
|
|
1148
|
-
};
|
|
1149
|
-
protoOf2($).get_role_wotsxr_k$ = function() {
|
|
1150
|
-
return this.role;
|
|
1151
|
-
};
|
|
1152
|
-
protoOf2($).component1_7eebsc_k$ = function() {
|
|
1153
|
-
return this.accountNumber_1;
|
|
1154
|
-
};
|
|
1155
|
-
protoOf2($).component2_7eebsb_k$ = function() {
|
|
1156
|
-
return this.invoiceRecipient_1;
|
|
1157
|
-
};
|
|
1158
|
-
protoOf2($).component3_7eebsa_k$ = function() {
|
|
1159
|
-
return this.nationality_1;
|
|
1160
|
-
};
|
|
1161
|
-
protoOf2($).component4_7eebs9_k$ = function() {
|
|
1162
|
-
return this.parkingSpaceId_1;
|
|
1163
|
-
};
|
|
1164
|
-
protoOf2($).component5_7eebs8_k$ = function() {
|
|
1165
|
-
return this.preferredLanguage_1;
|
|
1166
|
-
};
|
|
1167
|
-
protoOf2($).component6_7eebs7_k$ = function() {
|
|
1168
|
-
return this.residencyStartedAt_1;
|
|
1169
|
-
};
|
|
1170
|
-
protoOf2($).component7_7eebs6_k$ = function() {
|
|
1171
|
-
return this.sectionId_1;
|
|
1172
|
-
};
|
|
1173
|
-
protoOf2($).component8_7eebs5_k$ = function() {
|
|
1174
|
-
return this.sendAccessInvitation_1;
|
|
1175
|
-
};
|
|
1176
|
-
protoOf2($).component9_7eebs4_k$ = function() {
|
|
1177
|
-
return this.storageRoomId_1;
|
|
1178
|
-
};
|
|
1179
|
-
protoOf2($).component10_gazzfo_k$ = function() {
|
|
1180
|
-
return this.email;
|
|
1181
|
-
};
|
|
1182
|
-
protoOf2($).component11_gazzfn_k$ = function() {
|
|
1183
|
-
return this.invoicingEmail;
|
|
1184
|
-
};
|
|
1185
|
-
protoOf2($).component12_gazzfm_k$ = function() {
|
|
1186
|
-
return this.mobile;
|
|
1187
|
-
};
|
|
1188
|
-
protoOf2($).component13_gazzfl_k$ = function() {
|
|
1189
|
-
return this.name;
|
|
1190
|
-
};
|
|
1191
|
-
protoOf2($).component14_gazzfk_k$ = function() {
|
|
1192
|
-
return this.personId;
|
|
1193
|
-
};
|
|
1194
|
-
protoOf2($).component15_gazzfj_k$ = function() {
|
|
1195
|
-
return this.personalIdentityNumber;
|
|
1196
|
-
};
|
|
1197
|
-
protoOf2($).component16_gazzfi_k$ = function() {
|
|
1198
|
-
return this.role;
|
|
1199
|
-
};
|
|
1200
|
-
protoOf2($).copy_9bowzl_k$ = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role) {
|
|
1201
|
-
return new (CreatePersonResidentCommand())(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role);
|
|
1202
|
-
};
|
|
1203
|
-
protoOf2($).copy = function(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role, $super) {
|
|
1204
|
-
accountNumber = accountNumber === VOID2 ? this.accountNumber_1 : accountNumber;
|
|
1205
|
-
invoiceRecipient = invoiceRecipient === VOID2 ? this.invoiceRecipient_1 : invoiceRecipient;
|
|
1206
|
-
nationality = nationality === VOID2 ? this.nationality_1 : nationality;
|
|
1207
|
-
parkingSpaceId = parkingSpaceId === VOID2 ? this.parkingSpaceId_1 : parkingSpaceId;
|
|
1208
|
-
preferredLanguage = preferredLanguage === VOID2 ? this.preferredLanguage_1 : preferredLanguage;
|
|
1209
|
-
residencyStartedAt = residencyStartedAt === VOID2 ? this.residencyStartedAt_1 : residencyStartedAt;
|
|
1210
|
-
sectionId = sectionId === VOID2 ? this.sectionId_1 : sectionId;
|
|
1211
|
-
sendAccessInvitation = sendAccessInvitation === VOID2 ? this.sendAccessInvitation_1 : sendAccessInvitation;
|
|
1212
|
-
storageRoomId = storageRoomId === VOID2 ? this.storageRoomId_1 : storageRoomId;
|
|
1213
|
-
email = email === VOID2 ? this.email : email;
|
|
1214
|
-
invoicingEmail = invoicingEmail === VOID2 ? this.invoicingEmail : invoicingEmail;
|
|
1215
|
-
mobile = mobile === VOID2 ? this.mobile : mobile;
|
|
1216
|
-
name = name === VOID2 ? this.name : name;
|
|
1217
|
-
personId = personId === VOID2 ? this.personId : personId;
|
|
1218
|
-
personalIdentityNumber = personalIdentityNumber === VOID2 ? this.personalIdentityNumber : personalIdentityNumber;
|
|
1219
|
-
role = role === VOID2 ? this.role : role;
|
|
1220
|
-
return $super === VOID2 ? this.copy_9bowzl_k$(accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role) : $super.copy_9bowzl_k$.call(this, accountNumber, invoiceRecipient, nationality, parkingSpaceId, preferredLanguage, residencyStartedAt, sectionId, sendAccessInvitation, storageRoomId, email, invoicingEmail, mobile, name, personId, personalIdentityNumber, role);
|
|
1221
|
-
};
|
|
1222
|
-
protoOf2($).toString = function() {
|
|
1223
|
-
return "CreatePersonResidentCommand(accountNumber=" + this.accountNumber_1 + ", invoiceRecipient=" + this.invoiceRecipient_1 + ", nationality=" + toString2(this.nationality_1) + ", parkingSpaceId=" + toString2(this.parkingSpaceId_1) + ", preferredLanguage=" + toString2(this.preferredLanguage_1) + ", residencyStartedAt=" + this.residencyStartedAt_1.toString() + ", sectionId=" + toString2(this.sectionId_1) + ", sendAccessInvitation=" + this.sendAccessInvitation_1 + ", storageRoomId=" + toString2(this.storageRoomId_1) + ", email=" + this.email + ", invoicingEmail=" + this.invoicingEmail + ", mobile=" + this.mobile + ", name=" + toString2(this.name) + ", personId=" + toString2(this.personId) + ", personalIdentityNumber=" + this.personalIdentityNumber + ", role=" + this.role.toString() + ")";
|
|
1224
|
-
};
|
|
1225
|
-
protoOf2($).hashCode = function() {
|
|
1226
|
-
var result = this.accountNumber_1 == null ? 0 : getStringHashCode2(this.accountNumber_1);
|
|
1227
|
-
result = imul2(result, 31) + (this.invoiceRecipient_1 == null ? 0 : getBooleanHashCode2(this.invoiceRecipient_1)) | 0;
|
|
1228
|
-
result = imul2(result, 31) + (this.nationality_1 == null ? 0 : getBigIntHashCode2(this.nationality_1)) | 0;
|
|
1229
|
-
result = imul2(result, 31) + (this.parkingSpaceId_1 == null ? 0 : getBigIntHashCode2(this.parkingSpaceId_1)) | 0;
|
|
1230
|
-
result = imul2(result, 31) + (this.preferredLanguage_1 == null ? 0 : getBigIntHashCode2(this.preferredLanguage_1)) | 0;
|
|
1231
|
-
result = imul2(result, 31) + this.residencyStartedAt_1.hashCode() | 0;
|
|
1232
|
-
result = imul2(result, 31) + (this.sectionId_1 == null ? 0 : getBigIntHashCode2(this.sectionId_1)) | 0;
|
|
1233
|
-
result = imul2(result, 31) + (this.sendAccessInvitation_1 == null ? 0 : getBooleanHashCode2(this.sendAccessInvitation_1)) | 0;
|
|
1234
|
-
result = imul2(result, 31) + (this.storageRoomId_1 == null ? 0 : getBigIntHashCode2(this.storageRoomId_1)) | 0;
|
|
1235
|
-
result = imul2(result, 31) + (this.email == null ? 0 : getStringHashCode2(this.email)) | 0;
|
|
1236
|
-
result = imul2(result, 31) + (this.invoicingEmail == null ? 0 : getStringHashCode2(this.invoicingEmail)) | 0;
|
|
1237
|
-
result = imul2(result, 31) + (this.mobile == null ? 0 : getStringHashCode2(this.mobile)) | 0;
|
|
1238
|
-
result = imul2(result, 31) + (this.name == null ? 0 : this.name.hashCode()) | 0;
|
|
1239
|
-
result = imul2(result, 31) + (this.personId == null ? 0 : getBigIntHashCode2(this.personId)) | 0;
|
|
1240
|
-
result = imul2(result, 31) + (this.personalIdentityNumber == null ? 0 : getStringHashCode2(this.personalIdentityNumber)) | 0;
|
|
1241
|
-
result = imul2(result, 31) + this.role.hashCode() | 0;
|
|
1242
|
-
return result;
|
|
1243
|
-
};
|
|
1244
|
-
protoOf2($).equals = function(other) {
|
|
1245
|
-
if (this === other)
|
|
1246
|
-
return true;
|
|
1247
|
-
if (!(other instanceof CreatePersonResidentCommand()))
|
|
1248
|
-
return false;
|
|
1249
|
-
if (!(this.accountNumber_1 == other.accountNumber_1))
|
|
1250
|
-
return false;
|
|
1251
|
-
if (!(this.invoiceRecipient_1 == other.invoiceRecipient_1))
|
|
1252
|
-
return false;
|
|
1253
|
-
if (!(this.nationality_1 == other.nationality_1))
|
|
1254
|
-
return false;
|
|
1255
|
-
if (!(this.parkingSpaceId_1 == other.parkingSpaceId_1))
|
|
1256
|
-
return false;
|
|
1257
|
-
if (!(this.preferredLanguage_1 == other.preferredLanguage_1))
|
|
1258
|
-
return false;
|
|
1259
|
-
if (!this.residencyStartedAt_1.equals(other.residencyStartedAt_1))
|
|
1260
|
-
return false;
|
|
1261
|
-
if (!(this.sectionId_1 == other.sectionId_1))
|
|
1262
|
-
return false;
|
|
1263
|
-
if (!(this.sendAccessInvitation_1 == other.sendAccessInvitation_1))
|
|
1264
|
-
return false;
|
|
1265
|
-
if (!(this.storageRoomId_1 == other.storageRoomId_1))
|
|
1266
|
-
return false;
|
|
1267
|
-
if (!(this.email == other.email))
|
|
1268
|
-
return false;
|
|
1269
|
-
if (!(this.invoicingEmail == other.invoicingEmail))
|
|
1270
|
-
return false;
|
|
1271
|
-
if (!(this.mobile == other.mobile))
|
|
1272
|
-
return false;
|
|
1273
|
-
if (!equals2(this.name, other.name))
|
|
1274
|
-
return false;
|
|
1275
|
-
if (!(this.personId == other.personId))
|
|
1276
|
-
return false;
|
|
1277
|
-
if (!(this.personalIdentityNumber == other.personalIdentityNumber))
|
|
1278
|
-
return false;
|
|
1279
|
-
if (!this.role.equals(other.role))
|
|
1280
|
-
return false;
|
|
1281
|
-
return true;
|
|
1282
|
-
};
|
|
1283
|
-
Object.defineProperty($, "name", { value: "CreatePersonResidentCommand", configurable: true });
|
|
1284
|
-
__soliboRegisterOwnFields2($, { "name": ["model", "Name"], "role": ["model", "PersonRoleInput"] });
|
|
1285
|
-
__soliboRegisterLookup2("CreatePersonResidentCommand", () => $);
|
|
1286
|
-
CreatePersonResidentCommandClass = $;
|
|
1287
|
-
}
|
|
1288
|
-
return CreatePersonResidentCommandClass;
|
|
1289
|
-
}
|
|
1290
|
-
Companion_instance2 = new (Companion2())();
|
|
1291
|
-
__soliboRegisterLookup2("Name", () => __soliboType_Name());
|
|
1292
|
-
__soliboRegisterLookup2("PersonRoleInput", () => __soliboType_PersonRoleInput());
|
|
1293
|
-
|
|
1294
|
-
// build/packages/js/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreateResidentCommand.mjs
|
|
1295
|
-
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
1296
|
-
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
1297
|
-
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance2 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
1298
|
-
import { lazy1261dae0bgscp as lazy2 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
1299
|
-
import {
|
|
1300
|
-
protoOf180f3jzyo7rfj as protoOf3,
|
|
1301
|
-
defineProp3ur6h3slcvq4x as defineProp
|
|
1302
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
1303
|
-
import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1304
|
-
import {
|
|
1305
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
|
|
1306
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
|
|
1307
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
1308
|
-
import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1309
|
-
import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1310
|
-
import { __soliboRegisterLookup as __soliboRegisterLookup3 } from "../solibo-boundary.mjs";
|
|
1311
|
-
function _get_$cachedSerializer__te6jhj($this) {
|
|
1312
|
-
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
1313
|
-
}
|
|
1314
|
-
function CreateResidentCommand$Companion$_anonymous__xnooj4() {
|
|
1315
|
-
var tmp = getKClass(CreateResidentCommand());
|
|
1316
|
-
var tmp_0 = [getKClass(CreateOrganizationResidentCommand()), getKClass(CreatePersonResidentCommand())];
|
|
1317
|
-
var tmp_1 = [$serializer_getInstance_2(), $serializer_getInstance_12()];
|
|
1318
|
-
var tmp$ret$6 = [];
|
|
1319
|
-
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.CreateResidentCommand", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
1320
|
-
}
|
|
1321
|
-
var CompanionClass3;
|
|
1322
|
-
function Companion3() {
|
|
1323
|
-
if (CompanionClass3 === VOID3) {
|
|
1324
|
-
let $ = function() {
|
|
1325
|
-
Companion_instance3 = this;
|
|
1326
|
-
var tmp = this;
|
|
1327
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
|
|
1328
|
-
tmp.$cachedSerializer$delegate_1 = lazy2(tmp_0, CreateResidentCommand$Companion$_anonymous__xnooj4);
|
|
1329
|
-
};
|
|
1330
|
-
initMetadataForCompanion3($, VOID3, [SerializerFactory()]);
|
|
1331
|
-
protoOf3($).serializer_9w0wvi_k$ = function() {
|
|
1332
|
-
return _get_$cachedSerializer__te6jhj(this);
|
|
1333
|
-
};
|
|
1334
|
-
protoOf3($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
1335
|
-
return this.serializer_9w0wvi_k$();
|
|
1336
|
-
};
|
|
1337
|
-
CompanionClass3 = $;
|
|
1338
|
-
}
|
|
1339
|
-
return CompanionClass3;
|
|
1340
|
-
}
|
|
1341
|
-
var Companion_instance3;
|
|
1342
|
-
function Companion_getInstance2() {
|
|
1343
|
-
if (Companion_instance3 == null)
|
|
1344
|
-
new (Companion3())();
|
|
1345
|
-
return Companion_instance3;
|
|
1346
|
-
}
|
|
1347
|
-
function CreateResidentCommand_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
1348
|
-
return $this;
|
|
1349
|
-
}
|
|
1350
|
-
var CreateResidentCommandClass;
|
|
1351
|
-
function CreateResidentCommand() {
|
|
1352
|
-
if (CreateResidentCommandClass === VOID3) {
|
|
1353
|
-
let $ = function() {
|
|
1354
|
-
Companion_getInstance2();
|
|
1355
|
-
};
|
|
1356
|
-
initMetadataForClass3($, "CreateResidentCommand", VOID3, VOID3, VOID3, VOID3, VOID3, { 0: Companion_getInstance2 });
|
|
1357
|
-
defineProp(protoOf3($), "accountNumber", function() {
|
|
1358
|
-
return this.get_accountNumber_hxsifn_k$();
|
|
1359
|
-
});
|
|
1360
|
-
defineProp(protoOf3($), "invoiceRecipient", function() {
|
|
1361
|
-
return this.get_invoiceRecipient_gb0udn_k$();
|
|
1362
|
-
});
|
|
1363
|
-
defineProp(protoOf3($), "nationality", function() {
|
|
1364
|
-
return this.get_nationality_ffhahf_k$();
|
|
1365
|
-
});
|
|
1366
|
-
defineProp(protoOf3($), "parkingSpaceId", function() {
|
|
1367
|
-
return this.get_parkingSpaceId_4fmbda_k$();
|
|
1368
|
-
});
|
|
1369
|
-
defineProp(protoOf3($), "preferredLanguage", function() {
|
|
1370
|
-
return this.get_preferredLanguage_wh0f5c_k$();
|
|
1371
|
-
});
|
|
1372
|
-
defineProp(protoOf3($), "residencyStartedAt", function() {
|
|
1373
|
-
return this.get_residencyStartedAt_umulel_k$();
|
|
1374
|
-
});
|
|
1375
|
-
defineProp(protoOf3($), "sectionId", function() {
|
|
1376
|
-
return this.get_sectionId_2pkr0p_k$();
|
|
1377
|
-
});
|
|
1378
|
-
defineProp(protoOf3($), "sendAccessInvitation", function() {
|
|
1379
|
-
return this.get_sendAccessInvitation_18n9qm_k$();
|
|
1380
|
-
});
|
|
1381
|
-
defineProp(protoOf3($), "storageRoomId", function() {
|
|
1382
|
-
return this.get_storageRoomId_qhd5zc_k$();
|
|
1383
|
-
});
|
|
1384
|
-
Object.defineProperty($, "name", { value: "CreateResidentCommand", configurable: true });
|
|
1385
|
-
__soliboRegisterLookup3("CreateResidentCommand", () => $);
|
|
1386
|
-
CreateResidentCommandClass = $;
|
|
1387
|
-
}
|
|
1388
|
-
return CreateResidentCommandClass;
|
|
1389
|
-
}
|
|
1390
|
-
export {
|
|
1391
|
-
$serializer_getInstance_12 as $serializer_getInstance1ac862k1ibwts,
|
|
1392
|
-
$serializer_getInstance_2 as $serializer_getInstanceoi1vg8rfqbb1,
|
|
1393
|
-
Companion_getInstance2 as Companion_getInstance1rdlo749k6lx3,
|
|
1394
|
-
CreateOrganizationResidentCommand as CreateOrganizationResidentCommand3uq3zxw1f7o1x,
|
|
1395
|
-
CreatePersonResidentCommand as CreatePersonResidentCommand171zrhb1u0i7x,
|
|
1396
|
-
CreateResidentCommand_init_$Init$ as CreateResidentCommand_init_$Init$18wildm61xe6l,
|
|
1397
|
-
CreateResidentCommand as CreateResidentCommands8vm4pvz3ayh
|
|
1398
|
-
};
|