@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,11 +1,16 @@
|
|
|
1
|
-
// Generated by sdk/scripts/post-process-per-file.js from an import cycle of
|
|
2
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/
|
|
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-core/no/solibo/oss/sdk/api/gen/models/PersonUser.mjs
|
|
3
|
+
import { $serializer_getInstancei1xl24gtrm2r as $serializer_getInstance } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
|
|
4
|
+
import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
|
|
5
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
6
|
+
import { lazy1261dae0bgscp as lazy } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
3
7
|
import {
|
|
4
8
|
protoOf180f3jzyo7rfj as protoOf,
|
|
5
9
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
6
|
-
|
|
10
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
7
11
|
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
8
|
-
|
|
12
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
13
|
+
equals2au1ep9vhcato as equals
|
|
9
14
|
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
10
15
|
import {
|
|
11
16
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
@@ -14,26 +19,39 @@ import {
|
|
|
14
19
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
15
20
|
import { VOID3gxj6tk5isa35 as VOID } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
16
21
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
22
|
+
import { $serializer_getInstance2wuu3b1fibrdd as $serializer_getInstance_0 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/UserAccess.mjs";
|
|
23
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
19
24
|
import {
|
|
20
|
-
|
|
21
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance
|
|
22
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance
|
|
25
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
|
|
26
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance
|
|
23
27
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
28
|
+
import { $serializer_getInstance1se14apkjzug7 as $serializer_getInstance_1 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
29
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
30
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
31
|
+
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
24
32
|
import {
|
|
25
33
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
26
34
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer
|
|
27
35
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
28
36
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
29
|
-
import {
|
|
37
|
+
import { toString30pk9tzaqopn as toString } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
30
38
|
import { SerializableWithd2dap36updxd as SerializableWith } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
31
|
-
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboToJs, __soliboToKt } from "../solibo-boundary.mjs";
|
|
39
|
+
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
|
|
40
|
+
import { Namefq7jqr1w1zl3 as __soliboType_Name } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
|
|
41
|
+
import { Role2m2i30nenojee as __soliboType_Role } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
|
|
42
|
+
import { UserAccess3jrnn6xzhsow4 as __soliboType_UserAccess } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/UserAccess.mjs";
|
|
32
43
|
var imul = Math.imul;
|
|
44
|
+
function PersonUser$Companion$$childSerializers$_anonymous__rnbxpm() {
|
|
45
|
+
return new (ArrayListSerializer())($serializer_getInstance());
|
|
46
|
+
}
|
|
33
47
|
var CompanionClass;
|
|
34
48
|
function Companion() {
|
|
35
49
|
if (CompanionClass === VOID) {
|
|
36
50
|
let $ = function() {
|
|
51
|
+
Companion_instance = this;
|
|
52
|
+
var tmp = this;
|
|
53
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
54
|
+
tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, null, lazy(tmp_0, PersonUser$Companion$$childSerializers$_anonymous__rnbxpm), null];
|
|
37
55
|
};
|
|
38
56
|
initMetadataForCompanion($);
|
|
39
57
|
CompanionClass = $;
|
|
@@ -41,7 +59,11 @@ function Companion() {
|
|
|
41
59
|
return CompanionClass;
|
|
42
60
|
}
|
|
43
61
|
var Companion_instance;
|
|
44
|
-
function
|
|
62
|
+
function Companion_getInstance_0() {
|
|
63
|
+
if (Companion_instance == null) {
|
|
64
|
+
Companion_getInstance();
|
|
65
|
+
new (Companion())();
|
|
66
|
+
}
|
|
45
67
|
return Companion_instance;
|
|
46
68
|
}
|
|
47
69
|
var $serializerClass;
|
|
@@ -49,80 +71,173 @@ function $serializer() {
|
|
|
49
71
|
if ($serializerClass === VOID) {
|
|
50
72
|
let $ = function() {
|
|
51
73
|
$serializer_instance = this;
|
|
52
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("solibo.
|
|
53
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
74
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("solibo.common.auth.PersonUser", this, 12);
|
|
75
|
+
tmp0_serialDesc.addElement_5pzumi_k$("access", true);
|
|
76
|
+
tmp0_serialDesc.addElement_5pzumi_k$("country", true);
|
|
77
|
+
tmp0_serialDesc.addElement_5pzumi_k$("email", true);
|
|
54
78
|
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
55
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
56
|
-
tmp0_serialDesc.addElement_5pzumi_k$("
|
|
79
|
+
tmp0_serialDesc.addElement_5pzumi_k$("mobile", true);
|
|
80
|
+
tmp0_serialDesc.addElement_5pzumi_k$("name", true);
|
|
81
|
+
tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
|
|
82
|
+
tmp0_serialDesc.addElement_5pzumi_k$("personId", false);
|
|
83
|
+
tmp0_serialDesc.addElement_5pzumi_k$("preferredLanguage", true);
|
|
84
|
+
tmp0_serialDesc.addElement_5pzumi_k$("profileUrl", true);
|
|
85
|
+
tmp0_serialDesc.addElement_5pzumi_k$("roles", true);
|
|
86
|
+
tmp0_serialDesc.addElement_5pzumi_k$("username", false);
|
|
57
87
|
this.descriptor_1 = tmp0_serialDesc;
|
|
58
88
|
};
|
|
59
89
|
initMetadataForObject($, "$serializer", VOID, VOID, [GeneratedSerializer()]);
|
|
60
|
-
protoOf($).
|
|
90
|
+
protoOf($).serialize_6qwh5d_k$ = function(encoder, value) {
|
|
61
91
|
var tmp0_desc = this.descriptor_1;
|
|
62
92
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
63
|
-
|
|
64
|
-
tmp1_output.
|
|
65
|
-
|
|
66
|
-
|
|
93
|
+
var tmp2_cached = Companion_getInstance_0().$childSerializers_1;
|
|
94
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.access == null)) {
|
|
95
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance_0(), value.access);
|
|
96
|
+
}
|
|
97
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.country == null)) {
|
|
98
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.country);
|
|
99
|
+
}
|
|
100
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.email == null)) {
|
|
101
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.email);
|
|
102
|
+
}
|
|
103
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.id);
|
|
104
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.mobile == null)) {
|
|
105
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.mobile);
|
|
106
|
+
}
|
|
107
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.name == null)) {
|
|
108
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, $serializer_getInstance_1(), value.name);
|
|
109
|
+
}
|
|
110
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.nationality == null)) {
|
|
111
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.nationality);
|
|
112
|
+
}
|
|
113
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 7, value.personId);
|
|
114
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.preferredLanguage == null)) {
|
|
115
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance(), value.preferredLanguage);
|
|
116
|
+
}
|
|
117
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.profileUrl == null)) {
|
|
118
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.profileUrl);
|
|
119
|
+
}
|
|
120
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.roles == null)) {
|
|
121
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.roles);
|
|
122
|
+
}
|
|
123
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 11, value.username);
|
|
67
124
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
68
125
|
};
|
|
69
126
|
protoOf($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
70
|
-
return this.
|
|
127
|
+
return this.serialize_6qwh5d_k$(encoder, value instanceof PersonUser() ? value : THROW_CCE());
|
|
71
128
|
};
|
|
72
129
|
protoOf($).deserialize_sy6x50_k$ = function(decoder) {
|
|
73
130
|
var tmp0_desc = this.descriptor_1;
|
|
74
131
|
var tmp1_flag = true;
|
|
75
132
|
var tmp2_index = 0;
|
|
76
133
|
var tmp3_bitMask0 = 0;
|
|
77
|
-
var tmp4_local0 =
|
|
78
|
-
var tmp5_local1 =
|
|
134
|
+
var tmp4_local0 = null;
|
|
135
|
+
var tmp5_local1 = null;
|
|
79
136
|
var tmp6_local2 = null;
|
|
80
|
-
var tmp7_local3 =
|
|
81
|
-
var
|
|
82
|
-
|
|
83
|
-
|
|
137
|
+
var tmp7_local3 = null;
|
|
138
|
+
var tmp8_local4 = null;
|
|
139
|
+
var tmp9_local5 = null;
|
|
140
|
+
var tmp10_local6 = null;
|
|
141
|
+
var tmp11_local7 = 0n;
|
|
142
|
+
var tmp12_local8 = null;
|
|
143
|
+
var tmp13_local9 = null;
|
|
144
|
+
var tmp14_local10 = null;
|
|
145
|
+
var tmp15_local11 = null;
|
|
146
|
+
var tmp16_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
147
|
+
var tmp17_cached = Companion_getInstance_0().$childSerializers_1;
|
|
148
|
+
if (tmp16_input.decodeSequentially_xlblqy_k$()) {
|
|
149
|
+
tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
|
|
84
150
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
85
|
-
tmp5_local1 =
|
|
151
|
+
tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
86
152
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
87
|
-
tmp6_local2 =
|
|
153
|
+
tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
88
154
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
89
|
-
tmp7_local3 =
|
|
155
|
+
tmp7_local3 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
90
156
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
157
|
+
tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
158
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
159
|
+
tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_1(), tmp9_local5);
|
|
160
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
161
|
+
tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
162
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
163
|
+
tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
|
|
164
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
165
|
+
tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
166
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
167
|
+
tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
168
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
169
|
+
tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp17_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
170
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
171
|
+
tmp15_local11 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
|
|
172
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
91
173
|
} else
|
|
92
174
|
while (tmp1_flag) {
|
|
93
|
-
tmp2_index =
|
|
175
|
+
tmp2_index = tmp16_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
94
176
|
switch (tmp2_index) {
|
|
95
177
|
case -1:
|
|
96
178
|
tmp1_flag = false;
|
|
97
179
|
break;
|
|
98
180
|
case 0:
|
|
99
|
-
tmp4_local0 =
|
|
181
|
+
tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
|
|
100
182
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
101
183
|
break;
|
|
102
184
|
case 1:
|
|
103
|
-
tmp5_local1 =
|
|
185
|
+
tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
104
186
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
105
187
|
break;
|
|
106
188
|
case 2:
|
|
107
|
-
tmp6_local2 =
|
|
189
|
+
tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
108
190
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
109
191
|
break;
|
|
110
192
|
case 3:
|
|
111
|
-
tmp7_local3 =
|
|
193
|
+
tmp7_local3 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
|
|
112
194
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
113
195
|
break;
|
|
196
|
+
case 4:
|
|
197
|
+
tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
198
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
199
|
+
break;
|
|
200
|
+
case 5:
|
|
201
|
+
tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_1(), tmp9_local5);
|
|
202
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
203
|
+
break;
|
|
204
|
+
case 6:
|
|
205
|
+
tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
206
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
207
|
+
break;
|
|
208
|
+
case 7:
|
|
209
|
+
tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
|
|
210
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
211
|
+
break;
|
|
212
|
+
case 8:
|
|
213
|
+
tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
214
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
215
|
+
break;
|
|
216
|
+
case 9:
|
|
217
|
+
tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
218
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
219
|
+
break;
|
|
220
|
+
case 10:
|
|
221
|
+
tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp17_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
222
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
223
|
+
break;
|
|
224
|
+
case 11:
|
|
225
|
+
tmp15_local11 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
|
|
226
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
227
|
+
break;
|
|
114
228
|
default:
|
|
115
229
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
116
230
|
}
|
|
117
231
|
}
|
|
118
|
-
|
|
119
|
-
return
|
|
232
|
+
tmp16_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
233
|
+
return PersonUser_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, null);
|
|
120
234
|
};
|
|
121
235
|
protoOf($).get_descriptor_wjt6a0_k$ = function() {
|
|
122
236
|
return this.descriptor_1;
|
|
123
237
|
};
|
|
124
238
|
protoOf($).childSerializers_5ghqw5_k$ = function() {
|
|
125
|
-
|
|
239
|
+
var tmp0_cached = Companion_getInstance_0().$childSerializers_1;
|
|
240
|
+
return [get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), StringSerializer_getInstance()];
|
|
126
241
|
};
|
|
127
242
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
128
243
|
$serializerClass = $;
|
|
@@ -130,214 +245,445 @@ function $serializer() {
|
|
|
130
245
|
return $serializerClass;
|
|
131
246
|
}
|
|
132
247
|
var $serializer_instance;
|
|
133
|
-
function $
|
|
248
|
+
function $serializer_getInstance_2() {
|
|
134
249
|
if ($serializer_instance == null)
|
|
135
250
|
new ($serializer())();
|
|
136
251
|
return $serializer_instance;
|
|
137
252
|
}
|
|
138
|
-
function
|
|
139
|
-
if (!(
|
|
140
|
-
throwMissingFieldException(seen0,
|
|
253
|
+
function PersonUser_init_$Init$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker, $this) {
|
|
254
|
+
if (!(2184 === (2184 & seen0))) {
|
|
255
|
+
throwMissingFieldException(seen0, 2184, $serializer_getInstance_2().descriptor_1);
|
|
141
256
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
257
|
+
AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
258
|
+
if (0 === (seen0 & 1))
|
|
259
|
+
$this.access = null;
|
|
260
|
+
else
|
|
261
|
+
$this.access = access;
|
|
262
|
+
if (0 === (seen0 & 2))
|
|
263
|
+
$this.country = null;
|
|
264
|
+
else
|
|
265
|
+
$this.country = country;
|
|
266
|
+
if (0 === (seen0 & 4))
|
|
267
|
+
$this.email = null;
|
|
268
|
+
else
|
|
269
|
+
$this.email = email;
|
|
270
|
+
$this.id = id;
|
|
271
|
+
if (0 === (seen0 & 16))
|
|
272
|
+
$this.mobile = null;
|
|
273
|
+
else
|
|
274
|
+
$this.mobile = mobile;
|
|
275
|
+
if (0 === (seen0 & 32))
|
|
276
|
+
$this.name = null;
|
|
277
|
+
else
|
|
278
|
+
$this.name = name;
|
|
279
|
+
if (0 === (seen0 & 64))
|
|
280
|
+
$this.nationality = null;
|
|
281
|
+
else
|
|
282
|
+
$this.nationality = nationality;
|
|
283
|
+
$this.personId = personId;
|
|
284
|
+
if (0 === (seen0 & 256))
|
|
285
|
+
$this.preferredLanguage = null;
|
|
286
|
+
else
|
|
287
|
+
$this.preferredLanguage = preferredLanguage;
|
|
288
|
+
if (0 === (seen0 & 512))
|
|
289
|
+
$this.profileUrl = null;
|
|
290
|
+
else
|
|
291
|
+
$this.profileUrl = profileUrl;
|
|
292
|
+
if (0 === (seen0 & 1024))
|
|
293
|
+
$this.roles = null;
|
|
294
|
+
else
|
|
295
|
+
$this.roles = roles;
|
|
296
|
+
$this.username = username;
|
|
147
297
|
return $this;
|
|
148
298
|
}
|
|
149
|
-
function
|
|
150
|
-
return
|
|
299
|
+
function PersonUser_init_$Create$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker) {
|
|
300
|
+
return PersonUser_init_$Init$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker, objectCreate(protoOf(PersonUser())));
|
|
151
301
|
}
|
|
152
|
-
var
|
|
153
|
-
function
|
|
154
|
-
if (
|
|
155
|
-
let $ = function(
|
|
156
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
302
|
+
var PersonUserClass;
|
|
303
|
+
function PersonUser() {
|
|
304
|
+
if (PersonUserClass === VOID) {
|
|
305
|
+
let $ = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) {
|
|
306
|
+
var __soliboProps = arguments.length === 1 && typeof access === "object" && access !== null && access.constructor === Object;
|
|
157
307
|
var __soliboTmp, __soliboConverted = false;
|
|
158
308
|
if (__soliboProps) {
|
|
159
|
-
const props =
|
|
160
|
-
|
|
309
|
+
const props = access;
|
|
310
|
+
access = "access" in props ? props.access : VOID;
|
|
311
|
+
country = "country" in props ? props.country : VOID;
|
|
312
|
+
email = "email" in props ? props.email : VOID;
|
|
161
313
|
id = "id" in props ? props.id : VOID;
|
|
314
|
+
mobile = "mobile" in props ? props.mobile : VOID;
|
|
162
315
|
name = "name" in props ? props.name : VOID;
|
|
163
|
-
|
|
316
|
+
nationality = "nationality" in props ? props.nationality : VOID;
|
|
317
|
+
personId = "personId" in props ? props.personId : VOID;
|
|
318
|
+
preferredLanguage = "preferredLanguage" in props ? props.preferredLanguage : VOID;
|
|
319
|
+
profileUrl = "profileUrl" in props ? props.profileUrl : VOID;
|
|
320
|
+
roles = "roles" in props ? props.roles : VOID;
|
|
321
|
+
username = "username" in props ? props.username : VOID;
|
|
322
|
+
}
|
|
323
|
+
if ((__soliboTmp = __soliboToKt(access, ["model", "UserAccess"])) !== access) {
|
|
324
|
+
access = __soliboTmp;
|
|
325
|
+
__soliboConverted = true;
|
|
326
|
+
}
|
|
327
|
+
if ((__soliboTmp = __soliboToKt(name, ["model", "Name"])) !== name) {
|
|
328
|
+
name = __soliboTmp;
|
|
329
|
+
__soliboConverted = true;
|
|
330
|
+
}
|
|
331
|
+
if ((__soliboTmp = __soliboToKt(nationality, ["bigint"])) !== nationality) {
|
|
332
|
+
nationality = __soliboTmp;
|
|
333
|
+
__soliboConverted = true;
|
|
334
|
+
}
|
|
335
|
+
if ((__soliboTmp = __soliboToKt(personId, ["bigint"])) !== personId) {
|
|
336
|
+
personId = __soliboTmp;
|
|
337
|
+
__soliboConverted = true;
|
|
164
338
|
}
|
|
165
|
-
if ((__soliboTmp = __soliboToKt(
|
|
166
|
-
|
|
339
|
+
if ((__soliboTmp = __soliboToKt(preferredLanguage, ["bigint"])) !== preferredLanguage) {
|
|
340
|
+
preferredLanguage = __soliboTmp;
|
|
167
341
|
__soliboConverted = true;
|
|
168
342
|
}
|
|
169
|
-
if ((__soliboTmp = __soliboToKt(
|
|
170
|
-
|
|
343
|
+
if ((__soliboTmp = __soliboToKt(roles, ["list", ["model", "Role"]])) !== roles) {
|
|
344
|
+
roles = __soliboTmp;
|
|
171
345
|
__soliboConverted = true;
|
|
172
346
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
347
|
+
Companion_getInstance_0();
|
|
348
|
+
access = access === VOID ? null : access;
|
|
349
|
+
country = country === VOID ? null : country;
|
|
350
|
+
email = email === VOID ? null : email;
|
|
351
|
+
mobile = mobile === VOID ? null : mobile;
|
|
352
|
+
name = name === VOID ? null : name;
|
|
353
|
+
nationality = nationality === VOID ? null : nationality;
|
|
354
|
+
preferredLanguage = preferredLanguage === VOID ? null : preferredLanguage;
|
|
355
|
+
profileUrl = profileUrl === VOID ? null : profileUrl;
|
|
356
|
+
roles = roles === VOID ? null : roles;
|
|
357
|
+
AuthUser().call(this);
|
|
358
|
+
this.access = access;
|
|
359
|
+
this.country = country;
|
|
360
|
+
this.email = email;
|
|
361
|
+
this.id = id;
|
|
362
|
+
this.mobile = mobile;
|
|
363
|
+
this.name = name;
|
|
364
|
+
this.nationality = nationality;
|
|
365
|
+
this.personId = personId;
|
|
366
|
+
this.preferredLanguage = preferredLanguage;
|
|
367
|
+
this.profileUrl = profileUrl;
|
|
368
|
+
this.roles = roles;
|
|
369
|
+
this.username = username;
|
|
178
370
|
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
179
371
|
};
|
|
180
|
-
initMetadataForClass($, "
|
|
181
|
-
protoOf($).
|
|
182
|
-
return this.
|
|
372
|
+
initMetadataForClass($, "PersonUser", VOID, AuthUser(), VOID, VOID, VOID, { 0: $serializer_getInstance_2 });
|
|
373
|
+
protoOf($).get_access_avafzh_k$ = function() {
|
|
374
|
+
return this.access;
|
|
375
|
+
};
|
|
376
|
+
protoOf($).get_country_h3tl7x_k$ = function() {
|
|
377
|
+
return this.country;
|
|
378
|
+
};
|
|
379
|
+
protoOf($).get_email_iqwbqr_k$ = function() {
|
|
380
|
+
return this.email;
|
|
183
381
|
};
|
|
184
382
|
protoOf($).get_id_kntnx8_k$ = function() {
|
|
185
|
-
return this.
|
|
383
|
+
return this.id;
|
|
384
|
+
};
|
|
385
|
+
protoOf($).get_mobile_gqevmz_k$ = function() {
|
|
386
|
+
return this.mobile;
|
|
186
387
|
};
|
|
187
388
|
protoOf($).get_name_woqyms_k$ = function() {
|
|
188
|
-
return this.
|
|
389
|
+
return this.name;
|
|
189
390
|
};
|
|
190
|
-
protoOf($).
|
|
191
|
-
return this.
|
|
391
|
+
protoOf($).get_nationality_ffhahf_k$ = function() {
|
|
392
|
+
return this.nationality;
|
|
393
|
+
};
|
|
394
|
+
protoOf($).get_personId_oh37jb_k$ = function() {
|
|
395
|
+
return this.personId;
|
|
396
|
+
};
|
|
397
|
+
protoOf($).get_preferredLanguage_wh0f5c_k$ = function() {
|
|
398
|
+
return this.preferredLanguage;
|
|
399
|
+
};
|
|
400
|
+
protoOf($).get_profileUrl_wmdgnj_k$ = function() {
|
|
401
|
+
return this.profileUrl;
|
|
402
|
+
};
|
|
403
|
+
protoOf($).get_roles_iy35hw_k$ = function() {
|
|
404
|
+
return this.roles;
|
|
405
|
+
};
|
|
406
|
+
protoOf($).get_username_ytz5i7_k$ = function() {
|
|
407
|
+
return this.username;
|
|
192
408
|
};
|
|
193
409
|
protoOf($).component1_7eebsc_k$ = function() {
|
|
194
|
-
return this.
|
|
410
|
+
return this.access;
|
|
195
411
|
};
|
|
196
412
|
protoOf($).component2_7eebsb_k$ = function() {
|
|
197
|
-
return this.
|
|
413
|
+
return this.country;
|
|
198
414
|
};
|
|
199
415
|
protoOf($).component3_7eebsa_k$ = function() {
|
|
200
|
-
return this.
|
|
416
|
+
return this.email;
|
|
201
417
|
};
|
|
202
418
|
protoOf($).component4_7eebs9_k$ = function() {
|
|
203
|
-
return this.
|
|
419
|
+
return this.id;
|
|
420
|
+
};
|
|
421
|
+
protoOf($).component5_7eebs8_k$ = function() {
|
|
422
|
+
return this.mobile;
|
|
423
|
+
};
|
|
424
|
+
protoOf($).component6_7eebs7_k$ = function() {
|
|
425
|
+
return this.name;
|
|
204
426
|
};
|
|
205
|
-
protoOf($).
|
|
206
|
-
return
|
|
427
|
+
protoOf($).component7_7eebs6_k$ = function() {
|
|
428
|
+
return this.nationality;
|
|
207
429
|
};
|
|
208
|
-
protoOf($).
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
430
|
+
protoOf($).component8_7eebs5_k$ = function() {
|
|
431
|
+
return this.personId;
|
|
432
|
+
};
|
|
433
|
+
protoOf($).component9_7eebs4_k$ = function() {
|
|
434
|
+
return this.preferredLanguage;
|
|
435
|
+
};
|
|
436
|
+
protoOf($).component10_gazzfo_k$ = function() {
|
|
437
|
+
return this.profileUrl;
|
|
438
|
+
};
|
|
439
|
+
protoOf($).component11_gazzfn_k$ = function() {
|
|
440
|
+
return this.roles;
|
|
441
|
+
};
|
|
442
|
+
protoOf($).component12_gazzfm_k$ = function() {
|
|
443
|
+
return this.username;
|
|
444
|
+
};
|
|
445
|
+
protoOf($).copy_r71fnr_k$ = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) {
|
|
446
|
+
return new (PersonUser())(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username);
|
|
447
|
+
};
|
|
448
|
+
protoOf($).copy = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, $super) {
|
|
449
|
+
access = access === VOID ? this.access : access;
|
|
450
|
+
country = country === VOID ? this.country : country;
|
|
451
|
+
email = email === VOID ? this.email : email;
|
|
452
|
+
id = id === VOID ? this.id : id;
|
|
453
|
+
mobile = mobile === VOID ? this.mobile : mobile;
|
|
454
|
+
name = name === VOID ? this.name : name;
|
|
455
|
+
nationality = nationality === VOID ? this.nationality : nationality;
|
|
456
|
+
personId = personId === VOID ? this.personId : personId;
|
|
457
|
+
preferredLanguage = preferredLanguage === VOID ? this.preferredLanguage : preferredLanguage;
|
|
458
|
+
profileUrl = profileUrl === VOID ? this.profileUrl : profileUrl;
|
|
459
|
+
roles = roles === VOID ? this.roles : roles;
|
|
460
|
+
username = username === VOID ? this.username : username;
|
|
461
|
+
return $super === VOID ? this.copy_r71fnr_k$(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) : $super.copy_r71fnr_k$.call(this, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username);
|
|
214
462
|
};
|
|
215
463
|
protoOf($).toString = function() {
|
|
216
|
-
return "
|
|
464
|
+
return "PersonUser(access=" + toString(this.access) + ", country=" + this.country + ", email=" + this.email + ", id=" + this.id + ", mobile=" + this.mobile + ", name=" + toString(this.name) + ", nationality=" + toString(this.nationality) + ", personId=" + this.personId.toString() + ", preferredLanguage=" + toString(this.preferredLanguage) + ", profileUrl=" + this.profileUrl + ", roles=" + toString(this.roles) + ", username=" + this.username + ")";
|
|
217
465
|
};
|
|
218
466
|
protoOf($).hashCode = function() {
|
|
219
|
-
var result =
|
|
220
|
-
result = imul(result, 31) +
|
|
221
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
222
|
-
result = imul(result, 31) +
|
|
467
|
+
var result = this.access == null ? 0 : this.access.hashCode();
|
|
468
|
+
result = imul(result, 31) + (this.country == null ? 0 : getStringHashCode(this.country)) | 0;
|
|
469
|
+
result = imul(result, 31) + (this.email == null ? 0 : getStringHashCode(this.email)) | 0;
|
|
470
|
+
result = imul(result, 31) + getStringHashCode(this.id) | 0;
|
|
471
|
+
result = imul(result, 31) + (this.mobile == null ? 0 : getStringHashCode(this.mobile)) | 0;
|
|
472
|
+
result = imul(result, 31) + (this.name == null ? 0 : this.name.hashCode()) | 0;
|
|
473
|
+
result = imul(result, 31) + (this.nationality == null ? 0 : getBigIntHashCode(this.nationality)) | 0;
|
|
474
|
+
result = imul(result, 31) + getBigIntHashCode(this.personId) | 0;
|
|
475
|
+
result = imul(result, 31) + (this.preferredLanguage == null ? 0 : getBigIntHashCode(this.preferredLanguage)) | 0;
|
|
476
|
+
result = imul(result, 31) + (this.profileUrl == null ? 0 : getStringHashCode(this.profileUrl)) | 0;
|
|
477
|
+
result = imul(result, 31) + (this.roles == null ? 0 : hashCode(this.roles)) | 0;
|
|
478
|
+
result = imul(result, 31) + getStringHashCode(this.username) | 0;
|
|
223
479
|
return result;
|
|
224
480
|
};
|
|
225
481
|
protoOf($).equals = function(other) {
|
|
226
482
|
if (this === other)
|
|
227
483
|
return true;
|
|
228
|
-
if (!(other instanceof
|
|
484
|
+
if (!(other instanceof PersonUser()))
|
|
485
|
+
return false;
|
|
486
|
+
if (!equals(this.access, other.access))
|
|
487
|
+
return false;
|
|
488
|
+
if (!(this.country == other.country))
|
|
229
489
|
return false;
|
|
230
|
-
if (!(this.
|
|
490
|
+
if (!(this.email == other.email))
|
|
491
|
+
return false;
|
|
492
|
+
if (!(this.id === other.id))
|
|
493
|
+
return false;
|
|
494
|
+
if (!(this.mobile == other.mobile))
|
|
495
|
+
return false;
|
|
496
|
+
if (!equals(this.name, other.name))
|
|
231
497
|
return false;
|
|
232
|
-
if (!(this.
|
|
498
|
+
if (!(this.nationality == other.nationality))
|
|
233
499
|
return false;
|
|
234
|
-
if (!(this.
|
|
500
|
+
if (!(this.personId === other.personId))
|
|
235
501
|
return false;
|
|
236
|
-
if (!(this.
|
|
502
|
+
if (!(this.preferredLanguage == other.preferredLanguage))
|
|
503
|
+
return false;
|
|
504
|
+
if (!(this.profileUrl == other.profileUrl))
|
|
505
|
+
return false;
|
|
506
|
+
if (!equals(this.roles, other.roles))
|
|
507
|
+
return false;
|
|
508
|
+
if (!(this.username === other.username))
|
|
237
509
|
return false;
|
|
238
510
|
return true;
|
|
239
511
|
};
|
|
240
|
-
Object.defineProperty($, "name", { value: "
|
|
241
|
-
|
|
242
|
-
|
|
512
|
+
Object.defineProperty($, "name", { value: "PersonUser", configurable: true });
|
|
513
|
+
__soliboRegisterOwnFields($, { "access": ["model", "UserAccess"], "name": ["model", "Name"], "roles": ["list", ["model", "Role"]] });
|
|
514
|
+
__soliboRegisterLookup("PersonUser", () => $);
|
|
515
|
+
PersonUserClass = $;
|
|
516
|
+
}
|
|
517
|
+
return PersonUserClass;
|
|
518
|
+
}
|
|
519
|
+
__soliboRegisterLookup("Name", () => __soliboType_Name());
|
|
520
|
+
__soliboRegisterLookup("Role", () => __soliboType_Role());
|
|
521
|
+
__soliboRegisterLookup("UserAccess", () => __soliboType_UserAccess());
|
|
522
|
+
|
|
523
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AuthUser.mjs
|
|
524
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
525
|
+
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
526
|
+
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance2 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
527
|
+
import { lazy1261dae0bgscp as lazy2 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
528
|
+
import { protoOf180f3jzyo7rfj as protoOf2 } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
529
|
+
import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
530
|
+
import {
|
|
531
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion2,
|
|
532
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass2
|
|
533
|
+
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
534
|
+
import { VOID3gxj6tk5isa35 as VOID2 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
535
|
+
import { SerializableWithd2dap36updxd as SerializableWith2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
536
|
+
import { __soliboRegisterLookup as __soliboRegisterLookup2 } from "../solibo-boundary.mjs";
|
|
537
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
538
|
+
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
539
|
+
}
|
|
540
|
+
function AuthUser$Companion$_anonymous__hw964c() {
|
|
541
|
+
var tmp = getKClass(AuthUser());
|
|
542
|
+
var tmp_0 = [getKClass(ClientUser()), getKClass(PersonUser())];
|
|
543
|
+
var tmp_1 = [$serializer_getInstance2(), $serializer_getInstance_2()];
|
|
544
|
+
var tmp$ret$6 = [];
|
|
545
|
+
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.AuthUser", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
546
|
+
}
|
|
547
|
+
var CompanionClass2;
|
|
548
|
+
function Companion2() {
|
|
549
|
+
if (CompanionClass2 === VOID2) {
|
|
550
|
+
let $ = function() {
|
|
551
|
+
Companion_instance2 = this;
|
|
552
|
+
var tmp = this;
|
|
553
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
|
|
554
|
+
tmp.$cachedSerializer$delegate_1 = lazy2(tmp_0, AuthUser$Companion$_anonymous__hw964c);
|
|
555
|
+
};
|
|
556
|
+
initMetadataForCompanion2($, VOID2, [SerializerFactory()]);
|
|
557
|
+
protoOf2($).serializer_9w0wvi_k$ = function() {
|
|
558
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
559
|
+
};
|
|
560
|
+
protoOf2($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
561
|
+
return this.serializer_9w0wvi_k$();
|
|
562
|
+
};
|
|
563
|
+
CompanionClass2 = $;
|
|
564
|
+
}
|
|
565
|
+
return CompanionClass2;
|
|
566
|
+
}
|
|
567
|
+
var Companion_instance2;
|
|
568
|
+
function Companion_getInstance() {
|
|
569
|
+
if (Companion_instance2 == null)
|
|
570
|
+
new (Companion2())();
|
|
571
|
+
return Companion_instance2;
|
|
572
|
+
}
|
|
573
|
+
function AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
574
|
+
return $this;
|
|
575
|
+
}
|
|
576
|
+
var AuthUserClass;
|
|
577
|
+
function AuthUser() {
|
|
578
|
+
if (AuthUserClass === VOID2) {
|
|
579
|
+
let $ = function() {
|
|
580
|
+
Companion_getInstance();
|
|
581
|
+
};
|
|
582
|
+
initMetadataForClass2($, "AuthUser", VOID2, VOID2, VOID2, VOID2, VOID2, { 0: Companion_getInstance });
|
|
583
|
+
Object.defineProperty($, "name", { value: "AuthUser", configurable: true });
|
|
584
|
+
__soliboRegisterLookup2("AuthUser", () => $);
|
|
585
|
+
AuthUserClass = $;
|
|
243
586
|
}
|
|
244
|
-
return
|
|
587
|
+
return AuthUserClass;
|
|
245
588
|
}
|
|
246
|
-
Companion_instance = new (Companion())();
|
|
247
589
|
|
|
248
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/
|
|
590
|
+
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUser.mjs
|
|
249
591
|
import {
|
|
250
|
-
protoOf180f3jzyo7rfj as
|
|
592
|
+
protoOf180f3jzyo7rfj as protoOf3,
|
|
251
593
|
objectCreate1ve4bgxiu4x98 as objectCreate2,
|
|
252
|
-
|
|
253
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2
|
|
254
|
-
getStringHashCode26igk1bx568vk as getStringHashCode2
|
|
594
|
+
getStringHashCode26igk1bx568vk as getStringHashCode2,
|
|
595
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2
|
|
255
596
|
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
256
597
|
import {
|
|
257
|
-
initMetadataForCompanion1wyw17z38v6ac as
|
|
598
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
|
|
258
599
|
initMetadataForObject1cxne3s9w65el as initMetadataForObject2,
|
|
259
|
-
initMetadataForClassbxx6q50dy2s7 as
|
|
600
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
|
|
260
601
|
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
261
|
-
import { VOID3gxj6tk5isa35 as
|
|
602
|
+
import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
262
603
|
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
263
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
264
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
265
604
|
import {
|
|
266
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance2,
|
|
267
605
|
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance2,
|
|
268
606
|
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance2
|
|
269
607
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
608
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
609
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
610
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
611
|
+
import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
270
612
|
import {
|
|
271
613
|
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers2,
|
|
272
614
|
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer2
|
|
273
615
|
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
274
616
|
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
275
|
-
import {
|
|
276
|
-
import { SerializableWithd2dap36updxd as
|
|
277
|
-
import { __soliboBoundaryState as __soliboBoundaryState2, __soliboRegisterLookup as
|
|
617
|
+
import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
618
|
+
import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
619
|
+
import { __soliboBoundaryState as __soliboBoundaryState2, __soliboRegisterLookup as __soliboRegisterLookup3, __soliboToJs as __soliboToJs2, __soliboToKt as __soliboToKt2 } from "../solibo-boundary.mjs";
|
|
278
620
|
var imul2 = Math.imul;
|
|
279
|
-
var
|
|
280
|
-
function
|
|
281
|
-
if (
|
|
621
|
+
var CompanionClass3;
|
|
622
|
+
function Companion3() {
|
|
623
|
+
if (CompanionClass3 === VOID3) {
|
|
282
624
|
let $ = function() {
|
|
283
625
|
};
|
|
284
|
-
|
|
285
|
-
|
|
626
|
+
initMetadataForCompanion3($);
|
|
627
|
+
CompanionClass3 = $;
|
|
286
628
|
}
|
|
287
|
-
return
|
|
629
|
+
return CompanionClass3;
|
|
288
630
|
}
|
|
289
|
-
var
|
|
631
|
+
var Companion_instance3;
|
|
290
632
|
function Companion_getInstance2() {
|
|
291
|
-
return
|
|
633
|
+
return Companion_instance3;
|
|
292
634
|
}
|
|
293
635
|
var $serializerClass2;
|
|
294
636
|
function $serializer2() {
|
|
295
|
-
if ($serializerClass2 ===
|
|
637
|
+
if ($serializerClass2 === VOID3) {
|
|
296
638
|
let $ = function() {
|
|
297
639
|
$serializer_instance2 = this;
|
|
298
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("solibo.
|
|
299
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
300
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
301
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
302
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
640
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("solibo.common.auth.ClientUser", this, 5);
|
|
303
641
|
tmp0_serialDesc.addElement_5pzumi_k$("clientId", false);
|
|
642
|
+
tmp0_serialDesc.addElement_5pzumi_k$("displayName", false);
|
|
643
|
+
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
644
|
+
tmp0_serialDesc.addElement_5pzumi_k$("organizationId", true);
|
|
645
|
+
tmp0_serialDesc.addElement_5pzumi_k$("personId", true);
|
|
304
646
|
this.descriptor_1 = tmp0_serialDesc;
|
|
305
647
|
};
|
|
306
|
-
initMetadataForObject2($, "$serializer",
|
|
307
|
-
|
|
648
|
+
initMetadataForObject2($, "$serializer", VOID3, VOID3, [GeneratedSerializer2()]);
|
|
649
|
+
protoOf3($).serialize_e7q5gl_k$ = function(encoder, value) {
|
|
308
650
|
var tmp0_desc = this.descriptor_1;
|
|
309
651
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
310
|
-
tmp1_output.
|
|
311
|
-
tmp1_output.
|
|
312
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.
|
|
313
|
-
tmp1_output.
|
|
314
|
-
|
|
652
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 0, value.clientId);
|
|
653
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 1, value.displayName);
|
|
654
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.id);
|
|
655
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.organizationId == null)) {
|
|
656
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance2(), value.organizationId);
|
|
657
|
+
}
|
|
658
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.personId == null)) {
|
|
659
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, LongSerializer_getInstance2(), value.personId);
|
|
660
|
+
}
|
|
315
661
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
316
662
|
};
|
|
317
|
-
|
|
318
|
-
return this.
|
|
663
|
+
protoOf3($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
664
|
+
return this.serialize_e7q5gl_k$(encoder, value instanceof ClientUser() ? value : THROW_CCE2());
|
|
319
665
|
};
|
|
320
|
-
|
|
666
|
+
protoOf3($).deserialize_sy6x50_k$ = function(decoder) {
|
|
321
667
|
var tmp0_desc = this.descriptor_1;
|
|
322
668
|
var tmp1_flag = true;
|
|
323
669
|
var tmp2_index = 0;
|
|
324
670
|
var tmp3_bitMask0 = 0;
|
|
325
|
-
var tmp4_local0 =
|
|
326
|
-
var tmp5_local1 =
|
|
671
|
+
var tmp4_local0 = null;
|
|
672
|
+
var tmp5_local1 = null;
|
|
327
673
|
var tmp6_local2 = null;
|
|
328
|
-
var tmp7_local3 =
|
|
674
|
+
var tmp7_local3 = null;
|
|
329
675
|
var tmp8_local4 = null;
|
|
330
676
|
var tmp9_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
331
677
|
if (tmp9_input.decodeSequentially_xlblqy_k$()) {
|
|
332
|
-
tmp4_local0 = tmp9_input.
|
|
678
|
+
tmp4_local0 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
|
|
333
679
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
334
|
-
tmp5_local1 = tmp9_input.
|
|
680
|
+
tmp5_local1 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
|
|
335
681
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
336
682
|
tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
337
683
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
338
|
-
tmp7_local3 = tmp9_input.
|
|
684
|
+
tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
|
|
339
685
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
340
|
-
tmp8_local4 = tmp9_input.
|
|
686
|
+
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
|
|
341
687
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
342
688
|
} else
|
|
343
689
|
while (tmp1_flag) {
|
|
@@ -347,11 +693,11 @@ function $serializer2() {
|
|
|
347
693
|
tmp1_flag = false;
|
|
348
694
|
break;
|
|
349
695
|
case 0:
|
|
350
|
-
tmp4_local0 = tmp9_input.
|
|
696
|
+
tmp4_local0 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
|
|
351
697
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
352
698
|
break;
|
|
353
699
|
case 1:
|
|
354
|
-
tmp5_local1 = tmp9_input.
|
|
700
|
+
tmp5_local1 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
|
|
355
701
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
356
702
|
break;
|
|
357
703
|
case 2:
|
|
@@ -359,11 +705,11 @@ function $serializer2() {
|
|
|
359
705
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
360
706
|
break;
|
|
361
707
|
case 3:
|
|
362
|
-
tmp7_local3 = tmp9_input.
|
|
708
|
+
tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
|
|
363
709
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
364
710
|
break;
|
|
365
711
|
case 4:
|
|
366
|
-
tmp8_local4 = tmp9_input.
|
|
712
|
+
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
|
|
367
713
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
368
714
|
break;
|
|
369
715
|
default:
|
|
@@ -371,15 +717,15 @@ function $serializer2() {
|
|
|
371
717
|
}
|
|
372
718
|
}
|
|
373
719
|
tmp9_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
374
|
-
return
|
|
720
|
+
return ClientUser_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
375
721
|
};
|
|
376
|
-
|
|
722
|
+
protoOf3($).get_descriptor_wjt6a0_k$ = function() {
|
|
377
723
|
return this.descriptor_1;
|
|
378
724
|
};
|
|
379
|
-
|
|
380
|
-
return [
|
|
725
|
+
protoOf3($).childSerializers_5ghqw5_k$ = function() {
|
|
726
|
+
return [StringSerializer_getInstance2(), StringSerializer_getInstance2(), StringSerializer_getInstance2(), get_nullable2(LongSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2())];
|
|
381
727
|
};
|
|
382
|
-
|
|
728
|
+
protoOf3($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers2;
|
|
383
729
|
$serializerClass2 = $;
|
|
384
730
|
}
|
|
385
731
|
return $serializerClass2;
|
|
@@ -390,1793 +736,142 @@ function $serializer_getInstance2() {
|
|
|
390
736
|
new ($serializer2())();
|
|
391
737
|
return $serializer_instance2;
|
|
392
738
|
}
|
|
393
|
-
function
|
|
394
|
-
if (!(
|
|
395
|
-
throwMissingFieldException2(seen0,
|
|
739
|
+
function ClientUser_init_$Init$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker, $this) {
|
|
740
|
+
if (!(7 === (7 & seen0))) {
|
|
741
|
+
throwMissingFieldException2(seen0, 7, $serializer_getInstance2().descriptor_1);
|
|
396
742
|
}
|
|
397
|
-
|
|
398
|
-
$this.active_1 = active;
|
|
399
|
-
$this.id_1 = id;
|
|
400
|
-
$this.name_1 = name;
|
|
401
|
-
$this.participantId_1 = participantId;
|
|
743
|
+
AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
402
744
|
$this.clientId = clientId;
|
|
745
|
+
$this.displayName = displayName;
|
|
746
|
+
$this.id = id;
|
|
747
|
+
if (0 === (seen0 & 8))
|
|
748
|
+
$this.organizationId = null;
|
|
749
|
+
else
|
|
750
|
+
$this.organizationId = organizationId;
|
|
751
|
+
if (0 === (seen0 & 16))
|
|
752
|
+
$this.personId = null;
|
|
753
|
+
else
|
|
754
|
+
$this.personId = personId;
|
|
403
755
|
return $this;
|
|
404
756
|
}
|
|
405
|
-
function
|
|
406
|
-
return
|
|
757
|
+
function ClientUser_init_$Create$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker) {
|
|
758
|
+
return ClientUser_init_$Init$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker, objectCreate2(protoOf3(ClientUser())));
|
|
407
759
|
}
|
|
408
|
-
var
|
|
409
|
-
function
|
|
410
|
-
if (
|
|
411
|
-
let $ = function(
|
|
412
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
760
|
+
var ClientUserClass;
|
|
761
|
+
function ClientUser() {
|
|
762
|
+
if (ClientUserClass === VOID3) {
|
|
763
|
+
let $ = function(clientId, displayName, id, organizationId, personId) {
|
|
764
|
+
var __soliboProps = arguments.length === 1 && typeof clientId === "object" && clientId !== null && clientId.constructor === Object;
|
|
413
765
|
var __soliboTmp, __soliboConverted = false;
|
|
414
766
|
if (__soliboProps) {
|
|
415
|
-
const props =
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
767
|
+
const props = clientId;
|
|
768
|
+
clientId = "clientId" in props ? props.clientId : VOID3;
|
|
769
|
+
displayName = "displayName" in props ? props.displayName : VOID3;
|
|
770
|
+
id = "id" in props ? props.id : VOID3;
|
|
771
|
+
organizationId = "organizationId" in props ? props.organizationId : VOID3;
|
|
772
|
+
personId = "personId" in props ? props.personId : VOID3;
|
|
421
773
|
}
|
|
422
|
-
if ((__soliboTmp = __soliboToKt2(
|
|
423
|
-
|
|
774
|
+
if ((__soliboTmp = __soliboToKt2(organizationId, ["bigint"])) !== organizationId) {
|
|
775
|
+
organizationId = __soliboTmp;
|
|
424
776
|
__soliboConverted = true;
|
|
425
777
|
}
|
|
426
|
-
if ((__soliboTmp = __soliboToKt2(
|
|
427
|
-
|
|
778
|
+
if ((__soliboTmp = __soliboToKt2(personId, ["bigint"])) !== personId) {
|
|
779
|
+
personId = __soliboTmp;
|
|
428
780
|
__soliboConverted = true;
|
|
429
781
|
}
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
this
|
|
433
|
-
this.name_1 = name;
|
|
434
|
-
this.participantId_1 = participantId;
|
|
782
|
+
organizationId = organizationId === VOID3 ? null : organizationId;
|
|
783
|
+
personId = personId === VOID3 ? null : personId;
|
|
784
|
+
AuthUser().call(this);
|
|
435
785
|
this.clientId = clientId;
|
|
786
|
+
this.displayName = displayName;
|
|
787
|
+
this.id = id;
|
|
788
|
+
this.organizationId = organizationId;
|
|
789
|
+
this.personId = personId;
|
|
436
790
|
if (__soliboConverted && !__soliboBoundaryState2.internalConstruction) return __soliboToJs2(this);
|
|
437
791
|
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
return this.
|
|
792
|
+
initMetadataForClass3($, "ClientUser", VOID3, AuthUser(), VOID3, VOID3, VOID3, { 0: $serializer_getInstance2 });
|
|
793
|
+
protoOf3($).get_clientId_gs3e9d_k$ = function() {
|
|
794
|
+
return this.clientId;
|
|
795
|
+
};
|
|
796
|
+
protoOf3($).get_displayName_sscnb0_k$ = function() {
|
|
797
|
+
return this.displayName;
|
|
441
798
|
};
|
|
442
|
-
|
|
443
|
-
return this.
|
|
799
|
+
protoOf3($).get_id_kntnx8_k$ = function() {
|
|
800
|
+
return this.id;
|
|
444
801
|
};
|
|
445
|
-
|
|
446
|
-
return this.
|
|
802
|
+
protoOf3($).get_organizationId_i1160n_k$ = function() {
|
|
803
|
+
return this.organizationId;
|
|
447
804
|
};
|
|
448
|
-
|
|
449
|
-
return this.
|
|
805
|
+
protoOf3($).get_personId_oh37jb_k$ = function() {
|
|
806
|
+
return this.personId;
|
|
450
807
|
};
|
|
451
|
-
|
|
808
|
+
protoOf3($).component1_7eebsc_k$ = function() {
|
|
452
809
|
return this.clientId;
|
|
453
810
|
};
|
|
454
|
-
|
|
455
|
-
return this.
|
|
811
|
+
protoOf3($).component2_7eebsb_k$ = function() {
|
|
812
|
+
return this.displayName;
|
|
813
|
+
};
|
|
814
|
+
protoOf3($).component3_7eebsa_k$ = function() {
|
|
815
|
+
return this.id;
|
|
816
|
+
};
|
|
817
|
+
protoOf3($).component4_7eebs9_k$ = function() {
|
|
818
|
+
return this.organizationId;
|
|
456
819
|
};
|
|
457
|
-
|
|
458
|
-
return this.
|
|
820
|
+
protoOf3($).component5_7eebs8_k$ = function() {
|
|
821
|
+
return this.personId;
|
|
459
822
|
};
|
|
460
|
-
|
|
461
|
-
return
|
|
823
|
+
protoOf3($).copy_9u32jf_k$ = function(clientId, displayName, id, organizationId, personId) {
|
|
824
|
+
return new (ClientUser())(clientId, displayName, id, organizationId, personId);
|
|
462
825
|
};
|
|
463
|
-
|
|
464
|
-
|
|
826
|
+
protoOf3($).copy = function(clientId, displayName, id, organizationId, personId, $super) {
|
|
827
|
+
clientId = clientId === VOID3 ? this.clientId : clientId;
|
|
828
|
+
displayName = displayName === VOID3 ? this.displayName : displayName;
|
|
829
|
+
id = id === VOID3 ? this.id : id;
|
|
830
|
+
organizationId = organizationId === VOID3 ? this.organizationId : organizationId;
|
|
831
|
+
personId = personId === VOID3 ? this.personId : personId;
|
|
832
|
+
return $super === VOID3 ? this.copy_9u32jf_k$(clientId, displayName, id, organizationId, personId) : $super.copy_9u32jf_k$.call(this, clientId, displayName, id, organizationId, personId);
|
|
465
833
|
};
|
|
466
|
-
|
|
467
|
-
return this.clientId;
|
|
834
|
+
protoOf3($).toString = function() {
|
|
835
|
+
return "ClientUser(clientId=" + this.clientId + ", displayName=" + this.displayName + ", id=" + this.id + ", organizationId=" + toString2(this.organizationId) + ", personId=" + toString2(this.personId) + ")";
|
|
468
836
|
};
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
name = name === VOID2 ? this.name_1 : name;
|
|
476
|
-
participantId = participantId === VOID2 ? this.participantId_1 : participantId;
|
|
477
|
-
clientId = clientId === VOID2 ? this.clientId : clientId;
|
|
478
|
-
return $super === VOID2 ? this.copy_m6e81w_k$(active, id, name, participantId, clientId) : $super.copy_m6e81w_k$.call(this, active, id, name, participantId, clientId);
|
|
479
|
-
};
|
|
480
|
-
protoOf2($).toString = function() {
|
|
481
|
-
return "ClientUserParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", clientId=" + this.clientId + ")";
|
|
482
|
-
};
|
|
483
|
-
protoOf2($).hashCode = function() {
|
|
484
|
-
var result = getBooleanHashCode2(this.active_1);
|
|
485
|
-
result = imul2(result, 31) + getBigIntHashCode2(this.id_1) | 0;
|
|
486
|
-
result = imul2(result, 31) + getStringHashCode2(this.name_1) | 0;
|
|
487
|
-
result = imul2(result, 31) + getBigIntHashCode2(this.participantId_1) | 0;
|
|
488
|
-
result = imul2(result, 31) + getStringHashCode2(this.clientId) | 0;
|
|
837
|
+
protoOf3($).hashCode = function() {
|
|
838
|
+
var result = getStringHashCode2(this.clientId);
|
|
839
|
+
result = imul2(result, 31) + getStringHashCode2(this.displayName) | 0;
|
|
840
|
+
result = imul2(result, 31) + getStringHashCode2(this.id) | 0;
|
|
841
|
+
result = imul2(result, 31) + (this.organizationId == null ? 0 : getBigIntHashCode2(this.organizationId)) | 0;
|
|
842
|
+
result = imul2(result, 31) + (this.personId == null ? 0 : getBigIntHashCode2(this.personId)) | 0;
|
|
489
843
|
return result;
|
|
490
844
|
};
|
|
491
|
-
|
|
845
|
+
protoOf3($).equals = function(other) {
|
|
492
846
|
if (this === other)
|
|
493
847
|
return true;
|
|
494
|
-
if (!(other instanceof
|
|
848
|
+
if (!(other instanceof ClientUser()))
|
|
495
849
|
return false;
|
|
496
|
-
if (!(this.
|
|
850
|
+
if (!(this.clientId === other.clientId))
|
|
497
851
|
return false;
|
|
498
|
-
if (!(this.
|
|
852
|
+
if (!(this.displayName === other.displayName))
|
|
499
853
|
return false;
|
|
500
|
-
if (!(this.
|
|
854
|
+
if (!(this.id === other.id))
|
|
501
855
|
return false;
|
|
502
|
-
if (!(this.
|
|
856
|
+
if (!(this.organizationId == other.organizationId))
|
|
503
857
|
return false;
|
|
504
|
-
if (!(this.
|
|
858
|
+
if (!(this.personId == other.personId))
|
|
505
859
|
return false;
|
|
506
860
|
return true;
|
|
507
861
|
};
|
|
508
|
-
Object.defineProperty($, "name", { value: "
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
}
|
|
512
|
-
return ClientUserParticipantClass;
|
|
513
|
-
}
|
|
514
|
-
Companion_instance2 = new (Companion2())();
|
|
515
|
-
|
|
516
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EmployeeParticipant.mjs
|
|
517
|
-
import {
|
|
518
|
-
protoOf180f3jzyo7rfj as protoOf3,
|
|
519
|
-
objectCreate1ve4bgxiu4x98 as objectCreate3,
|
|
520
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode3,
|
|
521
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode3,
|
|
522
|
-
getStringHashCode26igk1bx568vk as getStringHashCode3,
|
|
523
|
-
equals2au1ep9vhcato as equals
|
|
524
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
525
|
-
import {
|
|
526
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
|
|
527
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject3,
|
|
528
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
|
|
529
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
530
|
-
import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
531
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
532
|
-
import { $serializer_getInstance1ppforsu8xwmb as $serializer_getInstance3 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationEmployee.mjs";
|
|
533
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance3 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
534
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE3 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
535
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
536
|
-
import {
|
|
537
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance3,
|
|
538
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance3,
|
|
539
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance3
|
|
540
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
541
|
-
import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
542
|
-
import {
|
|
543
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers3,
|
|
544
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer3
|
|
545
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
546
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
547
|
-
import { toString30pk9tzaqopn as toString } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
548
|
-
import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
549
|
-
import { __soliboBoundaryState as __soliboBoundaryState3, __soliboRegisterLookup as __soliboRegisterLookup3, __soliboRegisterOwnFields, __soliboToJs as __soliboToJs3, __soliboToKt as __soliboToKt3, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
|
|
550
|
-
import { OrganizationEmployee1n7v5908s0o57 as __soliboType_OrganizationEmployee } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationEmployee.mjs";
|
|
551
|
-
var imul3 = Math.imul;
|
|
552
|
-
var CompanionClass3;
|
|
553
|
-
function Companion3() {
|
|
554
|
-
if (CompanionClass3 === VOID3) {
|
|
555
|
-
let $ = function() {
|
|
556
|
-
};
|
|
557
|
-
initMetadataForCompanion3($);
|
|
558
|
-
CompanionClass3 = $;
|
|
862
|
+
Object.defineProperty($, "name", { value: "ClientUser", configurable: true });
|
|
863
|
+
__soliboRegisterLookup3("ClientUser", () => $);
|
|
864
|
+
ClientUserClass = $;
|
|
559
865
|
}
|
|
560
|
-
return
|
|
561
|
-
}
|
|
562
|
-
var Companion_instance3;
|
|
563
|
-
function Companion_getInstance3() {
|
|
564
|
-
return Companion_instance3;
|
|
565
|
-
}
|
|
566
|
-
var $serializerClass3;
|
|
567
|
-
function $serializer3() {
|
|
568
|
-
if ($serializerClass3 === VOID3) {
|
|
569
|
-
let $ = function() {
|
|
570
|
-
$serializer_instance3 = this;
|
|
571
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor3())("solibo.conversation.query.domain.EmployeeParticipant", this, 5);
|
|
572
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
573
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
574
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
575
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
576
|
-
tmp0_serialDesc.addElement_5pzumi_k$("employee", true);
|
|
577
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
578
|
-
};
|
|
579
|
-
initMetadataForObject3($, "$serializer", VOID3, VOID3, [GeneratedSerializer3()]);
|
|
580
|
-
protoOf3($).serialize_g5emuo_k$ = function(encoder, value) {
|
|
581
|
-
var tmp0_desc = this.descriptor_1;
|
|
582
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
583
|
-
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 0, value.active_1);
|
|
584
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id_1);
|
|
585
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name_1);
|
|
586
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.participantId_1);
|
|
587
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.employee == null)) {
|
|
588
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, $serializer_getInstance3(), value.employee);
|
|
589
|
-
}
|
|
590
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
591
|
-
};
|
|
592
|
-
protoOf3($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
593
|
-
return this.serialize_g5emuo_k$(encoder, value instanceof EmployeeParticipant() ? value : THROW_CCE3());
|
|
594
|
-
};
|
|
595
|
-
protoOf3($).deserialize_sy6x50_k$ = function(decoder) {
|
|
596
|
-
var tmp0_desc = this.descriptor_1;
|
|
597
|
-
var tmp1_flag = true;
|
|
598
|
-
var tmp2_index = 0;
|
|
599
|
-
var tmp3_bitMask0 = 0;
|
|
600
|
-
var tmp4_local0 = false;
|
|
601
|
-
var tmp5_local1 = 0n;
|
|
602
|
-
var tmp6_local2 = null;
|
|
603
|
-
var tmp7_local3 = 0n;
|
|
604
|
-
var tmp8_local4 = null;
|
|
605
|
-
var tmp9_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
606
|
-
if (tmp9_input.decodeSequentially_xlblqy_k$()) {
|
|
607
|
-
tmp4_local0 = tmp9_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
608
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
609
|
-
tmp5_local1 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
610
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
611
|
-
tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
612
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
613
|
-
tmp7_local3 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
614
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
615
|
-
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance3(), tmp8_local4);
|
|
616
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
617
|
-
} else
|
|
618
|
-
while (tmp1_flag) {
|
|
619
|
-
tmp2_index = tmp9_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
620
|
-
switch (tmp2_index) {
|
|
621
|
-
case -1:
|
|
622
|
-
tmp1_flag = false;
|
|
623
|
-
break;
|
|
624
|
-
case 0:
|
|
625
|
-
tmp4_local0 = tmp9_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
626
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
627
|
-
break;
|
|
628
|
-
case 1:
|
|
629
|
-
tmp5_local1 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
630
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
631
|
-
break;
|
|
632
|
-
case 2:
|
|
633
|
-
tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
634
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
635
|
-
break;
|
|
636
|
-
case 3:
|
|
637
|
-
tmp7_local3 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
638
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
639
|
-
break;
|
|
640
|
-
case 4:
|
|
641
|
-
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance3(), tmp8_local4);
|
|
642
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
643
|
-
break;
|
|
644
|
-
default:
|
|
645
|
-
throw UnknownFieldException_init_$Create$3(tmp2_index);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
tmp9_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
649
|
-
return EmployeeParticipant_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
650
|
-
};
|
|
651
|
-
protoOf3($).get_descriptor_wjt6a0_k$ = function() {
|
|
652
|
-
return this.descriptor_1;
|
|
653
|
-
};
|
|
654
|
-
protoOf3($).childSerializers_5ghqw5_k$ = function() {
|
|
655
|
-
return [BooleanSerializer_getInstance3(), LongSerializer_getInstance3(), StringSerializer_getInstance3(), LongSerializer_getInstance3(), get_nullable($serializer_getInstance3())];
|
|
656
|
-
};
|
|
657
|
-
protoOf3($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers3;
|
|
658
|
-
$serializerClass3 = $;
|
|
659
|
-
}
|
|
660
|
-
return $serializerClass3;
|
|
661
|
-
}
|
|
662
|
-
var $serializer_instance3;
|
|
663
|
-
function $serializer_getInstance_0() {
|
|
664
|
-
if ($serializer_instance3 == null)
|
|
665
|
-
new ($serializer3())();
|
|
666
|
-
return $serializer_instance3;
|
|
667
|
-
}
|
|
668
|
-
function EmployeeParticipant_init_$Init$(seen0, active, id, name, participantId, employee, serializationConstructorMarker, $this) {
|
|
669
|
-
if (!(15 === (15 & seen0))) {
|
|
670
|
-
throwMissingFieldException3(seen0, 15, $serializer_getInstance_0().descriptor_1);
|
|
671
|
-
}
|
|
672
|
-
Participant_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
673
|
-
$this.active_1 = active;
|
|
674
|
-
$this.id_1 = id;
|
|
675
|
-
$this.name_1 = name;
|
|
676
|
-
$this.participantId_1 = participantId;
|
|
677
|
-
if (0 === (seen0 & 16))
|
|
678
|
-
$this.employee = null;
|
|
679
|
-
else
|
|
680
|
-
$this.employee = employee;
|
|
681
|
-
return $this;
|
|
682
|
-
}
|
|
683
|
-
function EmployeeParticipant_init_$Create$(seen0, active, id, name, participantId, employee, serializationConstructorMarker) {
|
|
684
|
-
return EmployeeParticipant_init_$Init$(seen0, active, id, name, participantId, employee, serializationConstructorMarker, objectCreate3(protoOf3(EmployeeParticipant())));
|
|
685
|
-
}
|
|
686
|
-
var EmployeeParticipantClass;
|
|
687
|
-
function EmployeeParticipant() {
|
|
688
|
-
if (EmployeeParticipantClass === VOID3) {
|
|
689
|
-
let $ = function(active, id, name, participantId, employee) {
|
|
690
|
-
var __soliboProps = arguments.length === 1 && typeof active === "object" && active !== null && active.constructor === Object;
|
|
691
|
-
var __soliboTmp, __soliboConverted = false;
|
|
692
|
-
if (__soliboProps) {
|
|
693
|
-
const props = active;
|
|
694
|
-
active = "active" in props ? props.active : VOID3;
|
|
695
|
-
id = "id" in props ? props.id : VOID3;
|
|
696
|
-
name = "name" in props ? props.name : VOID3;
|
|
697
|
-
participantId = "participantId" in props ? props.participantId : VOID3;
|
|
698
|
-
employee = "employee" in props ? props.employee : VOID3;
|
|
699
|
-
}
|
|
700
|
-
if ((__soliboTmp = __soliboToKt3(id, ["bigint"])) !== id) {
|
|
701
|
-
id = __soliboTmp;
|
|
702
|
-
__soliboConverted = true;
|
|
703
|
-
}
|
|
704
|
-
if ((__soliboTmp = __soliboToKt3(participantId, ["bigint"])) !== participantId) {
|
|
705
|
-
participantId = __soliboTmp;
|
|
706
|
-
__soliboConverted = true;
|
|
707
|
-
}
|
|
708
|
-
if ((__soliboTmp = __soliboToKt3(employee, ["model", "OrganizationEmployee"])) !== employee) {
|
|
709
|
-
employee = __soliboTmp;
|
|
710
|
-
__soliboConverted = true;
|
|
711
|
-
}
|
|
712
|
-
employee = employee === VOID3 ? null : employee;
|
|
713
|
-
Participant().call(this);
|
|
714
|
-
this.active_1 = active;
|
|
715
|
-
this.id_1 = id;
|
|
716
|
-
this.name_1 = name;
|
|
717
|
-
this.participantId_1 = participantId;
|
|
718
|
-
this.employee = employee;
|
|
719
|
-
if (__soliboConverted && !__soliboBoundaryState3.internalConstruction) return __soliboToJs3(this);
|
|
720
|
-
};
|
|
721
|
-
initMetadataForClass3($, "EmployeeParticipant", VOID3, Participant(), VOID3, VOID3, VOID3, { 0: $serializer_getInstance_0 });
|
|
722
|
-
protoOf3($).get_active_avldsf_k$ = function() {
|
|
723
|
-
return this.active_1;
|
|
724
|
-
};
|
|
725
|
-
protoOf3($).get_id_kntnx8_k$ = function() {
|
|
726
|
-
return this.id_1;
|
|
727
|
-
};
|
|
728
|
-
protoOf3($).get_name_woqyms_k$ = function() {
|
|
729
|
-
return this.name_1;
|
|
730
|
-
};
|
|
731
|
-
protoOf3($).get_participantId_lqya2j_k$ = function() {
|
|
732
|
-
return this.participantId_1;
|
|
733
|
-
};
|
|
734
|
-
protoOf3($).get_employee_c2djm1_k$ = function() {
|
|
735
|
-
return this.employee;
|
|
736
|
-
};
|
|
737
|
-
protoOf3($).component1_7eebsc_k$ = function() {
|
|
738
|
-
return this.active_1;
|
|
739
|
-
};
|
|
740
|
-
protoOf3($).component2_7eebsb_k$ = function() {
|
|
741
|
-
return this.id_1;
|
|
742
|
-
};
|
|
743
|
-
protoOf3($).component3_7eebsa_k$ = function() {
|
|
744
|
-
return this.name_1;
|
|
745
|
-
};
|
|
746
|
-
protoOf3($).component4_7eebs9_k$ = function() {
|
|
747
|
-
return this.participantId_1;
|
|
748
|
-
};
|
|
749
|
-
protoOf3($).component5_7eebs8_k$ = function() {
|
|
750
|
-
return this.employee;
|
|
751
|
-
};
|
|
752
|
-
protoOf3($).copy_kkmtnf_k$ = function(active, id, name, participantId, employee) {
|
|
753
|
-
return new (EmployeeParticipant())(active, id, name, participantId, employee);
|
|
754
|
-
};
|
|
755
|
-
protoOf3($).copy = function(active, id, name, participantId, employee, $super) {
|
|
756
|
-
active = active === VOID3 ? this.active_1 : active;
|
|
757
|
-
id = id === VOID3 ? this.id_1 : id;
|
|
758
|
-
name = name === VOID3 ? this.name_1 : name;
|
|
759
|
-
participantId = participantId === VOID3 ? this.participantId_1 : participantId;
|
|
760
|
-
employee = employee === VOID3 ? this.employee : employee;
|
|
761
|
-
return $super === VOID3 ? this.copy_kkmtnf_k$(active, id, name, participantId, employee) : $super.copy_kkmtnf_k$.call(this, active, id, name, participantId, employee);
|
|
762
|
-
};
|
|
763
|
-
protoOf3($).toString = function() {
|
|
764
|
-
return "EmployeeParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", employee=" + toString(this.employee) + ")";
|
|
765
|
-
};
|
|
766
|
-
protoOf3($).hashCode = function() {
|
|
767
|
-
var result = getBooleanHashCode3(this.active_1);
|
|
768
|
-
result = imul3(result, 31) + getBigIntHashCode3(this.id_1) | 0;
|
|
769
|
-
result = imul3(result, 31) + getStringHashCode3(this.name_1) | 0;
|
|
770
|
-
result = imul3(result, 31) + getBigIntHashCode3(this.participantId_1) | 0;
|
|
771
|
-
result = imul3(result, 31) + (this.employee == null ? 0 : this.employee.hashCode()) | 0;
|
|
772
|
-
return result;
|
|
773
|
-
};
|
|
774
|
-
protoOf3($).equals = function(other) {
|
|
775
|
-
if (this === other)
|
|
776
|
-
return true;
|
|
777
|
-
if (!(other instanceof EmployeeParticipant()))
|
|
778
|
-
return false;
|
|
779
|
-
if (!(this.active_1 === other.active_1))
|
|
780
|
-
return false;
|
|
781
|
-
if (!(this.id_1 === other.id_1))
|
|
782
|
-
return false;
|
|
783
|
-
if (!(this.name_1 === other.name_1))
|
|
784
|
-
return false;
|
|
785
|
-
if (!(this.participantId_1 === other.participantId_1))
|
|
786
|
-
return false;
|
|
787
|
-
if (!equals(this.employee, other.employee))
|
|
788
|
-
return false;
|
|
789
|
-
return true;
|
|
790
|
-
};
|
|
791
|
-
Object.defineProperty($, "name", { value: "EmployeeParticipant", configurable: true });
|
|
792
|
-
__soliboRegisterOwnFields($, { "employee": ["model", "OrganizationEmployee"] });
|
|
793
|
-
__soliboRegisterLookup3("EmployeeParticipant", () => $);
|
|
794
|
-
EmployeeParticipantClass = $;
|
|
795
|
-
}
|
|
796
|
-
return EmployeeParticipantClass;
|
|
866
|
+
return ClientUserClass;
|
|
797
867
|
}
|
|
798
868
|
Companion_instance3 = new (Companion3())();
|
|
799
|
-
__soliboRegisterLookup3("OrganizationEmployee", () => __soliboType_OrganizationEmployee());
|
|
800
|
-
|
|
801
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/InquiryParticipant.mjs
|
|
802
|
-
import {
|
|
803
|
-
protoOf180f3jzyo7rfj as protoOf4,
|
|
804
|
-
objectCreate1ve4bgxiu4x98 as objectCreate4,
|
|
805
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode4,
|
|
806
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode4,
|
|
807
|
-
getStringHashCode26igk1bx568vk as getStringHashCode4,
|
|
808
|
-
equals2au1ep9vhcato as equals2
|
|
809
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
810
|
-
import {
|
|
811
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion4,
|
|
812
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject4,
|
|
813
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass4
|
|
814
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
815
|
-
import { VOID3gxj6tk5isa35 as VOID4 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
816
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
817
|
-
import {
|
|
818
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance4,
|
|
819
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance4,
|
|
820
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance4
|
|
821
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
822
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance4 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
823
|
-
import { $serializer_getInstance2519og2ax3hyr as $serializer_getInstance4 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
|
|
824
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE4 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
825
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
826
|
-
import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
827
|
-
import {
|
|
828
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers4,
|
|
829
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer4
|
|
830
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
831
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
832
|
-
import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
833
|
-
import { SerializableWithd2dap36updxd as SerializableWith4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
834
|
-
import { __soliboBoundaryState as __soliboBoundaryState4, __soliboRegisterLookup as __soliboRegisterLookup4, __soliboRegisterOwnFields as __soliboRegisterOwnFields2, __soliboToJs as __soliboToJs4, __soliboToKt as __soliboToKt4, __soliboWrapAccessor as __soliboWrapAccessor2, __soliboWrapFunction as __soliboWrapFunction2, __soliboWrapMethod as __soliboWrapMethod2 } from "../solibo-boundary.mjs";
|
|
835
|
-
import { PersonAvatar3dgsumyig44gy as __soliboType_PersonAvatar } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
|
|
836
|
-
var imul4 = Math.imul;
|
|
837
|
-
var CompanionClass4;
|
|
838
|
-
function Companion4() {
|
|
839
|
-
if (CompanionClass4 === VOID4) {
|
|
840
|
-
let $ = function() {
|
|
841
|
-
};
|
|
842
|
-
initMetadataForCompanion4($);
|
|
843
|
-
CompanionClass4 = $;
|
|
844
|
-
}
|
|
845
|
-
return CompanionClass4;
|
|
846
|
-
}
|
|
847
|
-
var Companion_instance4;
|
|
848
|
-
function Companion_getInstance4() {
|
|
849
|
-
return Companion_instance4;
|
|
850
|
-
}
|
|
851
|
-
var $serializerClass4;
|
|
852
|
-
function $serializer4() {
|
|
853
|
-
if ($serializerClass4 === VOID4) {
|
|
854
|
-
let $ = function() {
|
|
855
|
-
$serializer_instance4 = this;
|
|
856
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor4())("solibo.conversation.query.domain.InquiryParticipant", this, 6);
|
|
857
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
858
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
859
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
860
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
861
|
-
tmp0_serialDesc.addElement_5pzumi_k$("email", true);
|
|
862
|
-
tmp0_serialDesc.addElement_5pzumi_k$("matchedResident", true);
|
|
863
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
864
|
-
};
|
|
865
|
-
initMetadataForObject4($, "$serializer", VOID4, VOID4, [GeneratedSerializer4()]);
|
|
866
|
-
protoOf4($).serialize_4ewit1_k$ = function(encoder, value) {
|
|
867
|
-
var tmp0_desc = this.descriptor_1;
|
|
868
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
869
|
-
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 0, value.active_1);
|
|
870
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id_1);
|
|
871
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name_1);
|
|
872
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.participantId_1);
|
|
873
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.email == null)) {
|
|
874
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance4(), value.email);
|
|
875
|
-
}
|
|
876
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.matchedResident == null)) {
|
|
877
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, $serializer_getInstance4(), value.matchedResident);
|
|
878
|
-
}
|
|
879
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
880
|
-
};
|
|
881
|
-
protoOf4($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
882
|
-
return this.serialize_4ewit1_k$(encoder, value instanceof InquiryParticipant() ? value : THROW_CCE4());
|
|
883
|
-
};
|
|
884
|
-
protoOf4($).deserialize_sy6x50_k$ = function(decoder) {
|
|
885
|
-
var tmp0_desc = this.descriptor_1;
|
|
886
|
-
var tmp1_flag = true;
|
|
887
|
-
var tmp2_index = 0;
|
|
888
|
-
var tmp3_bitMask0 = 0;
|
|
889
|
-
var tmp4_local0 = false;
|
|
890
|
-
var tmp5_local1 = 0n;
|
|
891
|
-
var tmp6_local2 = null;
|
|
892
|
-
var tmp7_local3 = 0n;
|
|
893
|
-
var tmp8_local4 = null;
|
|
894
|
-
var tmp9_local5 = null;
|
|
895
|
-
var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
896
|
-
if (tmp10_input.decodeSequentially_xlblqy_k$()) {
|
|
897
|
-
tmp4_local0 = tmp10_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
898
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
899
|
-
tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
900
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
901
|
-
tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
902
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
903
|
-
tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
904
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
905
|
-
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance4(), tmp8_local4);
|
|
906
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
907
|
-
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance4(), tmp9_local5);
|
|
908
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
909
|
-
} else
|
|
910
|
-
while (tmp1_flag) {
|
|
911
|
-
tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
912
|
-
switch (tmp2_index) {
|
|
913
|
-
case -1:
|
|
914
|
-
tmp1_flag = false;
|
|
915
|
-
break;
|
|
916
|
-
case 0:
|
|
917
|
-
tmp4_local0 = tmp10_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
918
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
919
|
-
break;
|
|
920
|
-
case 1:
|
|
921
|
-
tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
922
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
923
|
-
break;
|
|
924
|
-
case 2:
|
|
925
|
-
tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
926
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
927
|
-
break;
|
|
928
|
-
case 3:
|
|
929
|
-
tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
930
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
931
|
-
break;
|
|
932
|
-
case 4:
|
|
933
|
-
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance4(), tmp8_local4);
|
|
934
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
935
|
-
break;
|
|
936
|
-
case 5:
|
|
937
|
-
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance4(), tmp9_local5);
|
|
938
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
939
|
-
break;
|
|
940
|
-
default:
|
|
941
|
-
throw UnknownFieldException_init_$Create$4(tmp2_index);
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
945
|
-
return InquiryParticipant_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
946
|
-
};
|
|
947
|
-
protoOf4($).get_descriptor_wjt6a0_k$ = function() {
|
|
948
|
-
return this.descriptor_1;
|
|
949
|
-
};
|
|
950
|
-
protoOf4($).childSerializers_5ghqw5_k$ = function() {
|
|
951
|
-
return [BooleanSerializer_getInstance4(), LongSerializer_getInstance4(), StringSerializer_getInstance4(), LongSerializer_getInstance4(), get_nullable2(StringSerializer_getInstance4()), get_nullable2($serializer_getInstance4())];
|
|
952
|
-
};
|
|
953
|
-
protoOf4($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers4;
|
|
954
|
-
$serializerClass4 = $;
|
|
955
|
-
}
|
|
956
|
-
return $serializerClass4;
|
|
957
|
-
}
|
|
958
|
-
var $serializer_instance4;
|
|
959
|
-
function $serializer_getInstance_02() {
|
|
960
|
-
if ($serializer_instance4 == null)
|
|
961
|
-
new ($serializer4())();
|
|
962
|
-
return $serializer_instance4;
|
|
963
|
-
}
|
|
964
|
-
function InquiryParticipant_init_$Init$(seen0, active, id, name, participantId, email, matchedResident, serializationConstructorMarker, $this) {
|
|
965
|
-
if (!(15 === (15 & seen0))) {
|
|
966
|
-
throwMissingFieldException4(seen0, 15, $serializer_getInstance_02().descriptor_1);
|
|
967
|
-
}
|
|
968
|
-
Participant_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
969
|
-
$this.active_1 = active;
|
|
970
|
-
$this.id_1 = id;
|
|
971
|
-
$this.name_1 = name;
|
|
972
|
-
$this.participantId_1 = participantId;
|
|
973
|
-
if (0 === (seen0 & 16))
|
|
974
|
-
$this.email = null;
|
|
975
|
-
else
|
|
976
|
-
$this.email = email;
|
|
977
|
-
if (0 === (seen0 & 32))
|
|
978
|
-
$this.matchedResident = null;
|
|
979
|
-
else
|
|
980
|
-
$this.matchedResident = matchedResident;
|
|
981
|
-
return $this;
|
|
982
|
-
}
|
|
983
|
-
function InquiryParticipant_init_$Create$(seen0, active, id, name, participantId, email, matchedResident, serializationConstructorMarker) {
|
|
984
|
-
return InquiryParticipant_init_$Init$(seen0, active, id, name, participantId, email, matchedResident, serializationConstructorMarker, objectCreate4(protoOf4(InquiryParticipant())));
|
|
985
|
-
}
|
|
986
|
-
var InquiryParticipantClass;
|
|
987
|
-
function InquiryParticipant() {
|
|
988
|
-
if (InquiryParticipantClass === VOID4) {
|
|
989
|
-
let $ = function(active, id, name, participantId, email, matchedResident) {
|
|
990
|
-
var __soliboProps = arguments.length === 1 && typeof active === "object" && active !== null && active.constructor === Object;
|
|
991
|
-
var __soliboTmp, __soliboConverted = false;
|
|
992
|
-
if (__soliboProps) {
|
|
993
|
-
const props = active;
|
|
994
|
-
active = "active" in props ? props.active : VOID4;
|
|
995
|
-
id = "id" in props ? props.id : VOID4;
|
|
996
|
-
name = "name" in props ? props.name : VOID4;
|
|
997
|
-
participantId = "participantId" in props ? props.participantId : VOID4;
|
|
998
|
-
email = "email" in props ? props.email : VOID4;
|
|
999
|
-
matchedResident = "matchedResident" in props ? props.matchedResident : VOID4;
|
|
1000
|
-
}
|
|
1001
|
-
if ((__soliboTmp = __soliboToKt4(id, ["bigint"])) !== id) {
|
|
1002
|
-
id = __soliboTmp;
|
|
1003
|
-
__soliboConverted = true;
|
|
1004
|
-
}
|
|
1005
|
-
if ((__soliboTmp = __soliboToKt4(participantId, ["bigint"])) !== participantId) {
|
|
1006
|
-
participantId = __soliboTmp;
|
|
1007
|
-
__soliboConverted = true;
|
|
1008
|
-
}
|
|
1009
|
-
if ((__soliboTmp = __soliboToKt4(matchedResident, ["model", "PersonAvatar"])) !== matchedResident) {
|
|
1010
|
-
matchedResident = __soliboTmp;
|
|
1011
|
-
__soliboConverted = true;
|
|
1012
|
-
}
|
|
1013
|
-
email = email === VOID4 ? null : email;
|
|
1014
|
-
matchedResident = matchedResident === VOID4 ? null : matchedResident;
|
|
1015
|
-
Participant().call(this);
|
|
1016
|
-
this.active_1 = active;
|
|
1017
|
-
this.id_1 = id;
|
|
1018
|
-
this.name_1 = name;
|
|
1019
|
-
this.participantId_1 = participantId;
|
|
1020
|
-
this.email = email;
|
|
1021
|
-
this.matchedResident = matchedResident;
|
|
1022
|
-
if (__soliboConverted && !__soliboBoundaryState4.internalConstruction) return __soliboToJs4(this);
|
|
1023
|
-
};
|
|
1024
|
-
initMetadataForClass4($, "InquiryParticipant", VOID4, Participant(), VOID4, VOID4, VOID4, { 0: $serializer_getInstance_02 });
|
|
1025
|
-
protoOf4($).get_active_avldsf_k$ = function() {
|
|
1026
|
-
return this.active_1;
|
|
1027
|
-
};
|
|
1028
|
-
protoOf4($).get_id_kntnx8_k$ = function() {
|
|
1029
|
-
return this.id_1;
|
|
1030
|
-
};
|
|
1031
|
-
protoOf4($).get_name_woqyms_k$ = function() {
|
|
1032
|
-
return this.name_1;
|
|
1033
|
-
};
|
|
1034
|
-
protoOf4($).get_participantId_lqya2j_k$ = function() {
|
|
1035
|
-
return this.participantId_1;
|
|
1036
|
-
};
|
|
1037
|
-
protoOf4($).get_email_iqwbqr_k$ = function() {
|
|
1038
|
-
return this.email;
|
|
1039
|
-
};
|
|
1040
|
-
protoOf4($).get_matchedResident_c2oe5n_k$ = function() {
|
|
1041
|
-
return this.matchedResident;
|
|
1042
|
-
};
|
|
1043
|
-
protoOf4($).component1_7eebsc_k$ = function() {
|
|
1044
|
-
return this.active_1;
|
|
1045
|
-
};
|
|
1046
|
-
protoOf4($).component2_7eebsb_k$ = function() {
|
|
1047
|
-
return this.id_1;
|
|
1048
|
-
};
|
|
1049
|
-
protoOf4($).component3_7eebsa_k$ = function() {
|
|
1050
|
-
return this.name_1;
|
|
1051
|
-
};
|
|
1052
|
-
protoOf4($).component4_7eebs9_k$ = function() {
|
|
1053
|
-
return this.participantId_1;
|
|
1054
|
-
};
|
|
1055
|
-
protoOf4($).component5_7eebs8_k$ = function() {
|
|
1056
|
-
return this.email;
|
|
1057
|
-
};
|
|
1058
|
-
protoOf4($).component6_7eebs7_k$ = function() {
|
|
1059
|
-
return this.matchedResident;
|
|
1060
|
-
};
|
|
1061
|
-
protoOf4($).copy_cn561h_k$ = function(active, id, name, participantId, email, matchedResident) {
|
|
1062
|
-
return new (InquiryParticipant())(active, id, name, participantId, email, matchedResident);
|
|
1063
|
-
};
|
|
1064
|
-
protoOf4($).copy = function(active, id, name, participantId, email, matchedResident, $super) {
|
|
1065
|
-
active = active === VOID4 ? this.active_1 : active;
|
|
1066
|
-
id = id === VOID4 ? this.id_1 : id;
|
|
1067
|
-
name = name === VOID4 ? this.name_1 : name;
|
|
1068
|
-
participantId = participantId === VOID4 ? this.participantId_1 : participantId;
|
|
1069
|
-
email = email === VOID4 ? this.email : email;
|
|
1070
|
-
matchedResident = matchedResident === VOID4 ? this.matchedResident : matchedResident;
|
|
1071
|
-
return $super === VOID4 ? this.copy_cn561h_k$(active, id, name, participantId, email, matchedResident) : $super.copy_cn561h_k$.call(this, active, id, name, participantId, email, matchedResident);
|
|
1072
|
-
};
|
|
1073
|
-
protoOf4($).toString = function() {
|
|
1074
|
-
return "InquiryParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", email=" + this.email + ", matchedResident=" + toString2(this.matchedResident) + ")";
|
|
1075
|
-
};
|
|
1076
|
-
protoOf4($).hashCode = function() {
|
|
1077
|
-
var result = getBooleanHashCode4(this.active_1);
|
|
1078
|
-
result = imul4(result, 31) + getBigIntHashCode4(this.id_1) | 0;
|
|
1079
|
-
result = imul4(result, 31) + getStringHashCode4(this.name_1) | 0;
|
|
1080
|
-
result = imul4(result, 31) + getBigIntHashCode4(this.participantId_1) | 0;
|
|
1081
|
-
result = imul4(result, 31) + (this.email == null ? 0 : getStringHashCode4(this.email)) | 0;
|
|
1082
|
-
result = imul4(result, 31) + (this.matchedResident == null ? 0 : this.matchedResident.hashCode()) | 0;
|
|
1083
|
-
return result;
|
|
1084
|
-
};
|
|
1085
|
-
protoOf4($).equals = function(other) {
|
|
1086
|
-
if (this === other)
|
|
1087
|
-
return true;
|
|
1088
|
-
if (!(other instanceof InquiryParticipant()))
|
|
1089
|
-
return false;
|
|
1090
|
-
if (!(this.active_1 === other.active_1))
|
|
1091
|
-
return false;
|
|
1092
|
-
if (!(this.id_1 === other.id_1))
|
|
1093
|
-
return false;
|
|
1094
|
-
if (!(this.name_1 === other.name_1))
|
|
1095
|
-
return false;
|
|
1096
|
-
if (!(this.participantId_1 === other.participantId_1))
|
|
1097
|
-
return false;
|
|
1098
|
-
if (!(this.email == other.email))
|
|
1099
|
-
return false;
|
|
1100
|
-
if (!equals2(this.matchedResident, other.matchedResident))
|
|
1101
|
-
return false;
|
|
1102
|
-
return true;
|
|
1103
|
-
};
|
|
1104
|
-
Object.defineProperty($, "name", { value: "InquiryParticipant", configurable: true });
|
|
1105
|
-
__soliboRegisterOwnFields2($, { "matchedResident": ["model", "PersonAvatar"] });
|
|
1106
|
-
__soliboRegisterLookup4("InquiryParticipant", () => $);
|
|
1107
|
-
InquiryParticipantClass = $;
|
|
1108
|
-
}
|
|
1109
|
-
return InquiryParticipantClass;
|
|
1110
|
-
}
|
|
1111
|
-
Companion_instance4 = new (Companion4())();
|
|
1112
|
-
__soliboRegisterLookup4("PersonAvatar", () => __soliboType_PersonAvatar());
|
|
1113
|
-
|
|
1114
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationParticipant.mjs
|
|
1115
|
-
import {
|
|
1116
|
-
protoOf180f3jzyo7rfj as protoOf5,
|
|
1117
|
-
objectCreate1ve4bgxiu4x98 as objectCreate5,
|
|
1118
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode5,
|
|
1119
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode5,
|
|
1120
|
-
getStringHashCode26igk1bx568vk as getStringHashCode5,
|
|
1121
|
-
equals2au1ep9vhcato as equals3
|
|
1122
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
1123
|
-
import {
|
|
1124
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion5,
|
|
1125
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject5,
|
|
1126
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass5
|
|
1127
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
1128
|
-
import { VOID3gxj6tk5isa35 as VOID5 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1129
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
1130
|
-
import { $serializer_getInstance3q72tl1v2zgjm as $serializer_getInstance5 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Organization.mjs";
|
|
1131
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance5 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1132
|
-
import {
|
|
1133
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance5,
|
|
1134
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance5,
|
|
1135
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance5
|
|
1136
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
1137
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE5 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1138
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1139
|
-
import { get_nullable197rfua9r7fsz as get_nullable3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1140
|
-
import {
|
|
1141
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers5,
|
|
1142
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer5
|
|
1143
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1144
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
1145
|
-
import { toString30pk9tzaqopn as toString3 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
1146
|
-
import { SerializableWithd2dap36updxd as SerializableWith5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1147
|
-
import { __soliboBoundaryState as __soliboBoundaryState5, __soliboRegisterLookup as __soliboRegisterLookup5, __soliboRegisterOwnFields as __soliboRegisterOwnFields3, __soliboToJs as __soliboToJs5, __soliboToKt as __soliboToKt5, __soliboWrapAccessor as __soliboWrapAccessor3, __soliboWrapFunction as __soliboWrapFunction3, __soliboWrapMethod as __soliboWrapMethod3 } from "../solibo-boundary.mjs";
|
|
1148
|
-
import { Organization12q9lomw4ny0l as __soliboType_Organization } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Organization.mjs";
|
|
1149
|
-
var imul5 = Math.imul;
|
|
1150
|
-
var CompanionClass5;
|
|
1151
|
-
function Companion5() {
|
|
1152
|
-
if (CompanionClass5 === VOID5) {
|
|
1153
|
-
let $ = function() {
|
|
1154
|
-
};
|
|
1155
|
-
initMetadataForCompanion5($);
|
|
1156
|
-
CompanionClass5 = $;
|
|
1157
|
-
}
|
|
1158
|
-
return CompanionClass5;
|
|
1159
|
-
}
|
|
1160
|
-
var Companion_instance5;
|
|
1161
|
-
function Companion_getInstance5() {
|
|
1162
|
-
return Companion_instance5;
|
|
1163
|
-
}
|
|
1164
|
-
var $serializerClass5;
|
|
1165
|
-
function $serializer5() {
|
|
1166
|
-
if ($serializerClass5 === VOID5) {
|
|
1167
|
-
let $ = function() {
|
|
1168
|
-
$serializer_instance5 = this;
|
|
1169
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor5())("solibo.conversation.query.domain.OrganizationParticipant", this, 6);
|
|
1170
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
1171
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
1172
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
1173
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
1174
|
-
tmp0_serialDesc.addElement_5pzumi_k$("organization", true);
|
|
1175
|
-
tmp0_serialDesc.addElement_5pzumi_k$("orgnr", true);
|
|
1176
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
1177
|
-
};
|
|
1178
|
-
initMetadataForObject5($, "$serializer", VOID5, VOID5, [GeneratedSerializer5()]);
|
|
1179
|
-
protoOf5($).serialize_kkrc51_k$ = function(encoder, value) {
|
|
1180
|
-
var tmp0_desc = this.descriptor_1;
|
|
1181
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1182
|
-
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 0, value.active_1);
|
|
1183
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id_1);
|
|
1184
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name_1);
|
|
1185
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.participantId_1);
|
|
1186
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.organization == null)) {
|
|
1187
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, $serializer_getInstance5(), value.organization);
|
|
1188
|
-
}
|
|
1189
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.orgnr == null)) {
|
|
1190
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance5(), value.orgnr);
|
|
1191
|
-
}
|
|
1192
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1193
|
-
};
|
|
1194
|
-
protoOf5($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
1195
|
-
return this.serialize_kkrc51_k$(encoder, value instanceof OrganizationParticipant() ? value : THROW_CCE5());
|
|
1196
|
-
};
|
|
1197
|
-
protoOf5($).deserialize_sy6x50_k$ = function(decoder) {
|
|
1198
|
-
var tmp0_desc = this.descriptor_1;
|
|
1199
|
-
var tmp1_flag = true;
|
|
1200
|
-
var tmp2_index = 0;
|
|
1201
|
-
var tmp3_bitMask0 = 0;
|
|
1202
|
-
var tmp4_local0 = false;
|
|
1203
|
-
var tmp5_local1 = 0n;
|
|
1204
|
-
var tmp6_local2 = null;
|
|
1205
|
-
var tmp7_local3 = 0n;
|
|
1206
|
-
var tmp8_local4 = null;
|
|
1207
|
-
var tmp9_local5 = null;
|
|
1208
|
-
var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1209
|
-
if (tmp10_input.decodeSequentially_xlblqy_k$()) {
|
|
1210
|
-
tmp4_local0 = tmp10_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1211
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1212
|
-
tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1213
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1214
|
-
tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1215
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1216
|
-
tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1217
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1218
|
-
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance5(), tmp8_local4);
|
|
1219
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1220
|
-
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance5(), tmp9_local5);
|
|
1221
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1222
|
-
} else
|
|
1223
|
-
while (tmp1_flag) {
|
|
1224
|
-
tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
1225
|
-
switch (tmp2_index) {
|
|
1226
|
-
case -1:
|
|
1227
|
-
tmp1_flag = false;
|
|
1228
|
-
break;
|
|
1229
|
-
case 0:
|
|
1230
|
-
tmp4_local0 = tmp10_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1231
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1232
|
-
break;
|
|
1233
|
-
case 1:
|
|
1234
|
-
tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1235
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1236
|
-
break;
|
|
1237
|
-
case 2:
|
|
1238
|
-
tmp6_local2 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1239
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1240
|
-
break;
|
|
1241
|
-
case 3:
|
|
1242
|
-
tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1243
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1244
|
-
break;
|
|
1245
|
-
case 4:
|
|
1246
|
-
tmp8_local4 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance5(), tmp8_local4);
|
|
1247
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1248
|
-
break;
|
|
1249
|
-
case 5:
|
|
1250
|
-
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance5(), tmp9_local5);
|
|
1251
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1252
|
-
break;
|
|
1253
|
-
default:
|
|
1254
|
-
throw UnknownFieldException_init_$Create$5(tmp2_index);
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1258
|
-
return OrganizationParticipant_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1259
|
-
};
|
|
1260
|
-
protoOf5($).get_descriptor_wjt6a0_k$ = function() {
|
|
1261
|
-
return this.descriptor_1;
|
|
1262
|
-
};
|
|
1263
|
-
protoOf5($).childSerializers_5ghqw5_k$ = function() {
|
|
1264
|
-
return [BooleanSerializer_getInstance5(), LongSerializer_getInstance5(), StringSerializer_getInstance5(), LongSerializer_getInstance5(), get_nullable3($serializer_getInstance5()), get_nullable3(StringSerializer_getInstance5())];
|
|
1265
|
-
};
|
|
1266
|
-
protoOf5($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers5;
|
|
1267
|
-
$serializerClass5 = $;
|
|
1268
|
-
}
|
|
1269
|
-
return $serializerClass5;
|
|
1270
|
-
}
|
|
1271
|
-
var $serializer_instance5;
|
|
1272
|
-
function $serializer_getInstance_03() {
|
|
1273
|
-
if ($serializer_instance5 == null)
|
|
1274
|
-
new ($serializer5())();
|
|
1275
|
-
return $serializer_instance5;
|
|
1276
|
-
}
|
|
1277
|
-
function OrganizationParticipant_init_$Init$(seen0, active, id, name, participantId, organization, orgnr, serializationConstructorMarker, $this) {
|
|
1278
|
-
if (!(15 === (15 & seen0))) {
|
|
1279
|
-
throwMissingFieldException5(seen0, 15, $serializer_getInstance_03().descriptor_1);
|
|
1280
|
-
}
|
|
1281
|
-
Participant_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1282
|
-
$this.active_1 = active;
|
|
1283
|
-
$this.id_1 = id;
|
|
1284
|
-
$this.name_1 = name;
|
|
1285
|
-
$this.participantId_1 = participantId;
|
|
1286
|
-
if (0 === (seen0 & 16))
|
|
1287
|
-
$this.organization = null;
|
|
1288
|
-
else
|
|
1289
|
-
$this.organization = organization;
|
|
1290
|
-
if (0 === (seen0 & 32))
|
|
1291
|
-
$this.orgnr = null;
|
|
1292
|
-
else
|
|
1293
|
-
$this.orgnr = orgnr;
|
|
1294
|
-
return $this;
|
|
1295
|
-
}
|
|
1296
|
-
function OrganizationParticipant_init_$Create$(seen0, active, id, name, participantId, organization, orgnr, serializationConstructorMarker) {
|
|
1297
|
-
return OrganizationParticipant_init_$Init$(seen0, active, id, name, participantId, organization, orgnr, serializationConstructorMarker, objectCreate5(protoOf5(OrganizationParticipant())));
|
|
1298
|
-
}
|
|
1299
|
-
var OrganizationParticipantClass;
|
|
1300
|
-
function OrganizationParticipant() {
|
|
1301
|
-
if (OrganizationParticipantClass === VOID5) {
|
|
1302
|
-
let $ = function(active, id, name, participantId, organization, orgnr) {
|
|
1303
|
-
var __soliboProps = arguments.length === 1 && typeof active === "object" && active !== null && active.constructor === Object;
|
|
1304
|
-
var __soliboTmp, __soliboConverted = false;
|
|
1305
|
-
if (__soliboProps) {
|
|
1306
|
-
const props = active;
|
|
1307
|
-
active = "active" in props ? props.active : VOID5;
|
|
1308
|
-
id = "id" in props ? props.id : VOID5;
|
|
1309
|
-
name = "name" in props ? props.name : VOID5;
|
|
1310
|
-
participantId = "participantId" in props ? props.participantId : VOID5;
|
|
1311
|
-
organization = "organization" in props ? props.organization : VOID5;
|
|
1312
|
-
orgnr = "orgnr" in props ? props.orgnr : VOID5;
|
|
1313
|
-
}
|
|
1314
|
-
if ((__soliboTmp = __soliboToKt5(id, ["bigint"])) !== id) {
|
|
1315
|
-
id = __soliboTmp;
|
|
1316
|
-
__soliboConverted = true;
|
|
1317
|
-
}
|
|
1318
|
-
if ((__soliboTmp = __soliboToKt5(participantId, ["bigint"])) !== participantId) {
|
|
1319
|
-
participantId = __soliboTmp;
|
|
1320
|
-
__soliboConverted = true;
|
|
1321
|
-
}
|
|
1322
|
-
if ((__soliboTmp = __soliboToKt5(organization, ["model", "Organization"])) !== organization) {
|
|
1323
|
-
organization = __soliboTmp;
|
|
1324
|
-
__soliboConverted = true;
|
|
1325
|
-
}
|
|
1326
|
-
organization = organization === VOID5 ? null : organization;
|
|
1327
|
-
orgnr = orgnr === VOID5 ? null : orgnr;
|
|
1328
|
-
Participant().call(this);
|
|
1329
|
-
this.active_1 = active;
|
|
1330
|
-
this.id_1 = id;
|
|
1331
|
-
this.name_1 = name;
|
|
1332
|
-
this.participantId_1 = participantId;
|
|
1333
|
-
this.organization = organization;
|
|
1334
|
-
this.orgnr = orgnr;
|
|
1335
|
-
if (__soliboConverted && !__soliboBoundaryState5.internalConstruction) return __soliboToJs5(this);
|
|
1336
|
-
};
|
|
1337
|
-
initMetadataForClass5($, "OrganizationParticipant", VOID5, Participant(), VOID5, VOID5, VOID5, { 0: $serializer_getInstance_03 });
|
|
1338
|
-
protoOf5($).get_active_avldsf_k$ = function() {
|
|
1339
|
-
return this.active_1;
|
|
1340
|
-
};
|
|
1341
|
-
protoOf5($).get_id_kntnx8_k$ = function() {
|
|
1342
|
-
return this.id_1;
|
|
1343
|
-
};
|
|
1344
|
-
protoOf5($).get_name_woqyms_k$ = function() {
|
|
1345
|
-
return this.name_1;
|
|
1346
|
-
};
|
|
1347
|
-
protoOf5($).get_participantId_lqya2j_k$ = function() {
|
|
1348
|
-
return this.participantId_1;
|
|
1349
|
-
};
|
|
1350
|
-
protoOf5($).get_organization_o1gozg_k$ = function() {
|
|
1351
|
-
return this.organization;
|
|
1352
|
-
};
|
|
1353
|
-
protoOf5($).get_orgnr_iwhl6n_k$ = function() {
|
|
1354
|
-
return this.orgnr;
|
|
1355
|
-
};
|
|
1356
|
-
protoOf5($).component1_7eebsc_k$ = function() {
|
|
1357
|
-
return this.active_1;
|
|
1358
|
-
};
|
|
1359
|
-
protoOf5($).component2_7eebsb_k$ = function() {
|
|
1360
|
-
return this.id_1;
|
|
1361
|
-
};
|
|
1362
|
-
protoOf5($).component3_7eebsa_k$ = function() {
|
|
1363
|
-
return this.name_1;
|
|
1364
|
-
};
|
|
1365
|
-
protoOf5($).component4_7eebs9_k$ = function() {
|
|
1366
|
-
return this.participantId_1;
|
|
1367
|
-
};
|
|
1368
|
-
protoOf5($).component5_7eebs8_k$ = function() {
|
|
1369
|
-
return this.organization;
|
|
1370
|
-
};
|
|
1371
|
-
protoOf5($).component6_7eebs7_k$ = function() {
|
|
1372
|
-
return this.orgnr;
|
|
1373
|
-
};
|
|
1374
|
-
protoOf5($).copy_a5nptc_k$ = function(active, id, name, participantId, organization, orgnr) {
|
|
1375
|
-
return new (OrganizationParticipant())(active, id, name, participantId, organization, orgnr);
|
|
1376
|
-
};
|
|
1377
|
-
protoOf5($).copy = function(active, id, name, participantId, organization, orgnr, $super) {
|
|
1378
|
-
active = active === VOID5 ? this.active_1 : active;
|
|
1379
|
-
id = id === VOID5 ? this.id_1 : id;
|
|
1380
|
-
name = name === VOID5 ? this.name_1 : name;
|
|
1381
|
-
participantId = participantId === VOID5 ? this.participantId_1 : participantId;
|
|
1382
|
-
organization = organization === VOID5 ? this.organization : organization;
|
|
1383
|
-
orgnr = orgnr === VOID5 ? this.orgnr : orgnr;
|
|
1384
|
-
return $super === VOID5 ? this.copy_a5nptc_k$(active, id, name, participantId, organization, orgnr) : $super.copy_a5nptc_k$.call(this, active, id, name, participantId, organization, orgnr);
|
|
1385
|
-
};
|
|
1386
|
-
protoOf5($).toString = function() {
|
|
1387
|
-
return "OrganizationParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", organization=" + toString3(this.organization) + ", orgnr=" + this.orgnr + ")";
|
|
1388
|
-
};
|
|
1389
|
-
protoOf5($).hashCode = function() {
|
|
1390
|
-
var result = getBooleanHashCode5(this.active_1);
|
|
1391
|
-
result = imul5(result, 31) + getBigIntHashCode5(this.id_1) | 0;
|
|
1392
|
-
result = imul5(result, 31) + getStringHashCode5(this.name_1) | 0;
|
|
1393
|
-
result = imul5(result, 31) + getBigIntHashCode5(this.participantId_1) | 0;
|
|
1394
|
-
result = imul5(result, 31) + (this.organization == null ? 0 : this.organization.hashCode()) | 0;
|
|
1395
|
-
result = imul5(result, 31) + (this.orgnr == null ? 0 : getStringHashCode5(this.orgnr)) | 0;
|
|
1396
|
-
return result;
|
|
1397
|
-
};
|
|
1398
|
-
protoOf5($).equals = function(other) {
|
|
1399
|
-
if (this === other)
|
|
1400
|
-
return true;
|
|
1401
|
-
if (!(other instanceof OrganizationParticipant()))
|
|
1402
|
-
return false;
|
|
1403
|
-
if (!(this.active_1 === other.active_1))
|
|
1404
|
-
return false;
|
|
1405
|
-
if (!(this.id_1 === other.id_1))
|
|
1406
|
-
return false;
|
|
1407
|
-
if (!(this.name_1 === other.name_1))
|
|
1408
|
-
return false;
|
|
1409
|
-
if (!(this.participantId_1 === other.participantId_1))
|
|
1410
|
-
return false;
|
|
1411
|
-
if (!equals3(this.organization, other.organization))
|
|
1412
|
-
return false;
|
|
1413
|
-
if (!(this.orgnr == other.orgnr))
|
|
1414
|
-
return false;
|
|
1415
|
-
return true;
|
|
1416
|
-
};
|
|
1417
|
-
Object.defineProperty($, "name", { value: "OrganizationParticipant", configurable: true });
|
|
1418
|
-
__soliboRegisterOwnFields3($, { "organization": ["model", "Organization"] });
|
|
1419
|
-
__soliboRegisterLookup5("OrganizationParticipant", () => $);
|
|
1420
|
-
OrganizationParticipantClass = $;
|
|
1421
|
-
}
|
|
1422
|
-
return OrganizationParticipantClass;
|
|
1423
|
-
}
|
|
1424
|
-
Companion_instance5 = new (Companion5())();
|
|
1425
|
-
__soliboRegisterLookup5("Organization", () => __soliboType_Organization());
|
|
1426
|
-
|
|
1427
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContactParticipant.mjs
|
|
1428
|
-
import {
|
|
1429
|
-
protoOf180f3jzyo7rfj as protoOf6,
|
|
1430
|
-
objectCreate1ve4bgxiu4x98 as objectCreate6,
|
|
1431
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode6,
|
|
1432
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode6,
|
|
1433
|
-
getStringHashCode26igk1bx568vk as getStringHashCode6,
|
|
1434
|
-
equals2au1ep9vhcato as equals4
|
|
1435
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
1436
|
-
import {
|
|
1437
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion6,
|
|
1438
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject6,
|
|
1439
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass6
|
|
1440
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
1441
|
-
import { VOID3gxj6tk5isa35 as VOID6 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1442
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
1443
|
-
import { $serializer_getInstance1jio6v0to7itv as $serializer_getInstance6 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContact.mjs";
|
|
1444
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance6 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1445
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE6 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1446
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1447
|
-
import {
|
|
1448
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance6,
|
|
1449
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance6,
|
|
1450
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance6
|
|
1451
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
1452
|
-
import { get_nullable197rfua9r7fsz as get_nullable4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1453
|
-
import {
|
|
1454
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers6,
|
|
1455
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer6
|
|
1456
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1457
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
1458
|
-
import { toString30pk9tzaqopn as toString4 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
1459
|
-
import { SerializableWithd2dap36updxd as SerializableWith6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1460
|
-
import { __soliboBoundaryState as __soliboBoundaryState6, __soliboRegisterLookup as __soliboRegisterLookup6, __soliboRegisterOwnFields as __soliboRegisterOwnFields4, __soliboToJs as __soliboToJs6, __soliboToKt as __soliboToKt6, __soliboWrapAccessor as __soliboWrapAccessor4, __soliboWrapFunction as __soliboWrapFunction4, __soliboWrapMethod as __soliboWrapMethod4 } from "../solibo-boundary.mjs";
|
|
1461
|
-
import { SupplierContact3cz3f92ph8k5o as __soliboType_SupplierContact } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContact.mjs";
|
|
1462
|
-
var imul6 = Math.imul;
|
|
1463
|
-
var CompanionClass6;
|
|
1464
|
-
function Companion6() {
|
|
1465
|
-
if (CompanionClass6 === VOID6) {
|
|
1466
|
-
let $ = function() {
|
|
1467
|
-
};
|
|
1468
|
-
initMetadataForCompanion6($);
|
|
1469
|
-
CompanionClass6 = $;
|
|
1470
|
-
}
|
|
1471
|
-
return CompanionClass6;
|
|
1472
|
-
}
|
|
1473
|
-
var Companion_instance6;
|
|
1474
|
-
function Companion_getInstance6() {
|
|
1475
|
-
return Companion_instance6;
|
|
1476
|
-
}
|
|
1477
|
-
var $serializerClass6;
|
|
1478
|
-
function $serializer6() {
|
|
1479
|
-
if ($serializerClass6 === VOID6) {
|
|
1480
|
-
let $ = function() {
|
|
1481
|
-
$serializer_instance6 = this;
|
|
1482
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor6())("solibo.conversation.query.domain.SupplierContactParticipant", this, 5);
|
|
1483
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
1484
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
1485
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
1486
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
1487
|
-
tmp0_serialDesc.addElement_5pzumi_k$("contact", true);
|
|
1488
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
1489
|
-
};
|
|
1490
|
-
initMetadataForObject6($, "$serializer", VOID6, VOID6, [GeneratedSerializer6()]);
|
|
1491
|
-
protoOf6($).serialize_97izpk_k$ = function(encoder, value) {
|
|
1492
|
-
var tmp0_desc = this.descriptor_1;
|
|
1493
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1494
|
-
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 0, value.active_1);
|
|
1495
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id_1);
|
|
1496
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name_1);
|
|
1497
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.participantId_1);
|
|
1498
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.contact == null)) {
|
|
1499
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, $serializer_getInstance6(), value.contact);
|
|
1500
|
-
}
|
|
1501
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1502
|
-
};
|
|
1503
|
-
protoOf6($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
1504
|
-
return this.serialize_97izpk_k$(encoder, value instanceof SupplierContactParticipant() ? value : THROW_CCE6());
|
|
1505
|
-
};
|
|
1506
|
-
protoOf6($).deserialize_sy6x50_k$ = function(decoder) {
|
|
1507
|
-
var tmp0_desc = this.descriptor_1;
|
|
1508
|
-
var tmp1_flag = true;
|
|
1509
|
-
var tmp2_index = 0;
|
|
1510
|
-
var tmp3_bitMask0 = 0;
|
|
1511
|
-
var tmp4_local0 = false;
|
|
1512
|
-
var tmp5_local1 = 0n;
|
|
1513
|
-
var tmp6_local2 = null;
|
|
1514
|
-
var tmp7_local3 = 0n;
|
|
1515
|
-
var tmp8_local4 = null;
|
|
1516
|
-
var tmp9_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1517
|
-
if (tmp9_input.decodeSequentially_xlblqy_k$()) {
|
|
1518
|
-
tmp4_local0 = tmp9_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1519
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1520
|
-
tmp5_local1 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1521
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1522
|
-
tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1523
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1524
|
-
tmp7_local3 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1525
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1526
|
-
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance6(), tmp8_local4);
|
|
1527
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1528
|
-
} else
|
|
1529
|
-
while (tmp1_flag) {
|
|
1530
|
-
tmp2_index = tmp9_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
1531
|
-
switch (tmp2_index) {
|
|
1532
|
-
case -1:
|
|
1533
|
-
tmp1_flag = false;
|
|
1534
|
-
break;
|
|
1535
|
-
case 0:
|
|
1536
|
-
tmp4_local0 = tmp9_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1537
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1538
|
-
break;
|
|
1539
|
-
case 1:
|
|
1540
|
-
tmp5_local1 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1541
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1542
|
-
break;
|
|
1543
|
-
case 2:
|
|
1544
|
-
tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1545
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1546
|
-
break;
|
|
1547
|
-
case 3:
|
|
1548
|
-
tmp7_local3 = tmp9_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1549
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1550
|
-
break;
|
|
1551
|
-
case 4:
|
|
1552
|
-
tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, $serializer_getInstance6(), tmp8_local4);
|
|
1553
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1554
|
-
break;
|
|
1555
|
-
default:
|
|
1556
|
-
throw UnknownFieldException_init_$Create$6(tmp2_index);
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
tmp9_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1560
|
-
return SupplierContactParticipant_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
1561
|
-
};
|
|
1562
|
-
protoOf6($).get_descriptor_wjt6a0_k$ = function() {
|
|
1563
|
-
return this.descriptor_1;
|
|
1564
|
-
};
|
|
1565
|
-
protoOf6($).childSerializers_5ghqw5_k$ = function() {
|
|
1566
|
-
return [BooleanSerializer_getInstance6(), LongSerializer_getInstance6(), StringSerializer_getInstance6(), LongSerializer_getInstance6(), get_nullable4($serializer_getInstance6())];
|
|
1567
|
-
};
|
|
1568
|
-
protoOf6($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers6;
|
|
1569
|
-
$serializerClass6 = $;
|
|
1570
|
-
}
|
|
1571
|
-
return $serializerClass6;
|
|
1572
|
-
}
|
|
1573
|
-
var $serializer_instance6;
|
|
1574
|
-
function $serializer_getInstance_04() {
|
|
1575
|
-
if ($serializer_instance6 == null)
|
|
1576
|
-
new ($serializer6())();
|
|
1577
|
-
return $serializer_instance6;
|
|
1578
|
-
}
|
|
1579
|
-
function SupplierContactParticipant_init_$Init$(seen0, active, id, name, participantId, contact, serializationConstructorMarker, $this) {
|
|
1580
|
-
if (!(15 === (15 & seen0))) {
|
|
1581
|
-
throwMissingFieldException6(seen0, 15, $serializer_getInstance_04().descriptor_1);
|
|
1582
|
-
}
|
|
1583
|
-
Participant_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1584
|
-
$this.active_1 = active;
|
|
1585
|
-
$this.id_1 = id;
|
|
1586
|
-
$this.name_1 = name;
|
|
1587
|
-
$this.participantId_1 = participantId;
|
|
1588
|
-
if (0 === (seen0 & 16))
|
|
1589
|
-
$this.contact = null;
|
|
1590
|
-
else
|
|
1591
|
-
$this.contact = contact;
|
|
1592
|
-
return $this;
|
|
1593
|
-
}
|
|
1594
|
-
function SupplierContactParticipant_init_$Create$(seen0, active, id, name, participantId, contact, serializationConstructorMarker) {
|
|
1595
|
-
return SupplierContactParticipant_init_$Init$(seen0, active, id, name, participantId, contact, serializationConstructorMarker, objectCreate6(protoOf6(SupplierContactParticipant())));
|
|
1596
|
-
}
|
|
1597
|
-
var SupplierContactParticipantClass;
|
|
1598
|
-
function SupplierContactParticipant() {
|
|
1599
|
-
if (SupplierContactParticipantClass === VOID6) {
|
|
1600
|
-
let $ = function(active, id, name, participantId, contact) {
|
|
1601
|
-
var __soliboProps = arguments.length === 1 && typeof active === "object" && active !== null && active.constructor === Object;
|
|
1602
|
-
var __soliboTmp, __soliboConverted = false;
|
|
1603
|
-
if (__soliboProps) {
|
|
1604
|
-
const props = active;
|
|
1605
|
-
active = "active" in props ? props.active : VOID6;
|
|
1606
|
-
id = "id" in props ? props.id : VOID6;
|
|
1607
|
-
name = "name" in props ? props.name : VOID6;
|
|
1608
|
-
participantId = "participantId" in props ? props.participantId : VOID6;
|
|
1609
|
-
contact = "contact" in props ? props.contact : VOID6;
|
|
1610
|
-
}
|
|
1611
|
-
if ((__soliboTmp = __soliboToKt6(id, ["bigint"])) !== id) {
|
|
1612
|
-
id = __soliboTmp;
|
|
1613
|
-
__soliboConverted = true;
|
|
1614
|
-
}
|
|
1615
|
-
if ((__soliboTmp = __soliboToKt6(participantId, ["bigint"])) !== participantId) {
|
|
1616
|
-
participantId = __soliboTmp;
|
|
1617
|
-
__soliboConverted = true;
|
|
1618
|
-
}
|
|
1619
|
-
if ((__soliboTmp = __soliboToKt6(contact, ["model", "SupplierContact"])) !== contact) {
|
|
1620
|
-
contact = __soliboTmp;
|
|
1621
|
-
__soliboConverted = true;
|
|
1622
|
-
}
|
|
1623
|
-
contact = contact === VOID6 ? null : contact;
|
|
1624
|
-
Participant().call(this);
|
|
1625
|
-
this.active_1 = active;
|
|
1626
|
-
this.id_1 = id;
|
|
1627
|
-
this.name_1 = name;
|
|
1628
|
-
this.participantId_1 = participantId;
|
|
1629
|
-
this.contact = contact;
|
|
1630
|
-
if (__soliboConverted && !__soliboBoundaryState6.internalConstruction) return __soliboToJs6(this);
|
|
1631
|
-
};
|
|
1632
|
-
initMetadataForClass6($, "SupplierContactParticipant", VOID6, Participant(), VOID6, VOID6, VOID6, { 0: $serializer_getInstance_04 });
|
|
1633
|
-
protoOf6($).get_active_avldsf_k$ = function() {
|
|
1634
|
-
return this.active_1;
|
|
1635
|
-
};
|
|
1636
|
-
protoOf6($).get_id_kntnx8_k$ = function() {
|
|
1637
|
-
return this.id_1;
|
|
1638
|
-
};
|
|
1639
|
-
protoOf6($).get_name_woqyms_k$ = function() {
|
|
1640
|
-
return this.name_1;
|
|
1641
|
-
};
|
|
1642
|
-
protoOf6($).get_participantId_lqya2j_k$ = function() {
|
|
1643
|
-
return this.participantId_1;
|
|
1644
|
-
};
|
|
1645
|
-
protoOf6($).get_contact_h02gjb_k$ = function() {
|
|
1646
|
-
return this.contact;
|
|
1647
|
-
};
|
|
1648
|
-
protoOf6($).component1_7eebsc_k$ = function() {
|
|
1649
|
-
return this.active_1;
|
|
1650
|
-
};
|
|
1651
|
-
protoOf6($).component2_7eebsb_k$ = function() {
|
|
1652
|
-
return this.id_1;
|
|
1653
|
-
};
|
|
1654
|
-
protoOf6($).component3_7eebsa_k$ = function() {
|
|
1655
|
-
return this.name_1;
|
|
1656
|
-
};
|
|
1657
|
-
protoOf6($).component4_7eebs9_k$ = function() {
|
|
1658
|
-
return this.participantId_1;
|
|
1659
|
-
};
|
|
1660
|
-
protoOf6($).component5_7eebs8_k$ = function() {
|
|
1661
|
-
return this.contact;
|
|
1662
|
-
};
|
|
1663
|
-
protoOf6($).copy_w8ctig_k$ = function(active, id, name, participantId, contact) {
|
|
1664
|
-
return new (SupplierContactParticipant())(active, id, name, participantId, contact);
|
|
1665
|
-
};
|
|
1666
|
-
protoOf6($).copy = function(active, id, name, participantId, contact, $super) {
|
|
1667
|
-
active = active === VOID6 ? this.active_1 : active;
|
|
1668
|
-
id = id === VOID6 ? this.id_1 : id;
|
|
1669
|
-
name = name === VOID6 ? this.name_1 : name;
|
|
1670
|
-
participantId = participantId === VOID6 ? this.participantId_1 : participantId;
|
|
1671
|
-
contact = contact === VOID6 ? this.contact : contact;
|
|
1672
|
-
return $super === VOID6 ? this.copy_w8ctig_k$(active, id, name, participantId, contact) : $super.copy_w8ctig_k$.call(this, active, id, name, participantId, contact);
|
|
1673
|
-
};
|
|
1674
|
-
protoOf6($).toString = function() {
|
|
1675
|
-
return "SupplierContactParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", contact=" + toString4(this.contact) + ")";
|
|
1676
|
-
};
|
|
1677
|
-
protoOf6($).hashCode = function() {
|
|
1678
|
-
var result = getBooleanHashCode6(this.active_1);
|
|
1679
|
-
result = imul6(result, 31) + getBigIntHashCode6(this.id_1) | 0;
|
|
1680
|
-
result = imul6(result, 31) + getStringHashCode6(this.name_1) | 0;
|
|
1681
|
-
result = imul6(result, 31) + getBigIntHashCode6(this.participantId_1) | 0;
|
|
1682
|
-
result = imul6(result, 31) + (this.contact == null ? 0 : this.contact.hashCode()) | 0;
|
|
1683
|
-
return result;
|
|
1684
|
-
};
|
|
1685
|
-
protoOf6($).equals = function(other) {
|
|
1686
|
-
if (this === other)
|
|
1687
|
-
return true;
|
|
1688
|
-
if (!(other instanceof SupplierContactParticipant()))
|
|
1689
|
-
return false;
|
|
1690
|
-
if (!(this.active_1 === other.active_1))
|
|
1691
|
-
return false;
|
|
1692
|
-
if (!(this.id_1 === other.id_1))
|
|
1693
|
-
return false;
|
|
1694
|
-
if (!(this.name_1 === other.name_1))
|
|
1695
|
-
return false;
|
|
1696
|
-
if (!(this.participantId_1 === other.participantId_1))
|
|
1697
|
-
return false;
|
|
1698
|
-
if (!equals4(this.contact, other.contact))
|
|
1699
|
-
return false;
|
|
1700
|
-
return true;
|
|
1701
|
-
};
|
|
1702
|
-
Object.defineProperty($, "name", { value: "SupplierContactParticipant", configurable: true });
|
|
1703
|
-
__soliboRegisterOwnFields4($, { "contact": ["model", "SupplierContact"] });
|
|
1704
|
-
__soliboRegisterLookup6("SupplierContactParticipant", () => $);
|
|
1705
|
-
SupplierContactParticipantClass = $;
|
|
1706
|
-
}
|
|
1707
|
-
return SupplierContactParticipantClass;
|
|
1708
|
-
}
|
|
1709
|
-
Companion_instance6 = new (Companion6())();
|
|
1710
|
-
__soliboRegisterLookup6("SupplierContact", () => __soliboType_SupplierContact());
|
|
1711
|
-
|
|
1712
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Participant.mjs
|
|
1713
|
-
import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
|
|
1714
|
-
import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
|
|
1715
|
-
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
1716
|
-
import { lazy1261dae0bgscp as lazy } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
1717
|
-
import {
|
|
1718
|
-
protoOf180f3jzyo7rfj as protoOf7,
|
|
1719
|
-
defineProp3ur6h3slcvq4x as defineProp
|
|
1720
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
1721
|
-
import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1722
|
-
import {
|
|
1723
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion7,
|
|
1724
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass7
|
|
1725
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
1726
|
-
import { VOID3gxj6tk5isa35 as VOID7 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1727
|
-
import { SerializableWithd2dap36updxd as SerializableWith7 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1728
|
-
import { __soliboRegisterLookup as __soliboRegisterLookup7 } from "../solibo-boundary.mjs";
|
|
1729
|
-
function _get_$cachedSerializer__te6jhj($this) {
|
|
1730
|
-
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
1731
|
-
}
|
|
1732
|
-
function Participant$Companion$_anonymous__h840yk() {
|
|
1733
|
-
var tmp = getKClass(Participant());
|
|
1734
|
-
var tmp_0 = [getKClass(BoardParticipant()), getKClass(ClientUserParticipant()), getKClass(EmployeeParticipant()), getKClass(InquiryParticipant()), getKClass(OrganizationParticipant()), getKClass(PersonParticipant()), getKClass(SupplierContactParticipant())];
|
|
1735
|
-
var tmp_1 = [$serializer_getInstance(), $serializer_getInstance2(), $serializer_getInstance_0(), $serializer_getInstance_02(), $serializer_getInstance_03(), $serializer_getInstance_1(), $serializer_getInstance_04()];
|
|
1736
|
-
var tmp$ret$6 = [];
|
|
1737
|
-
return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.Participant", tmp, tmp_0, tmp_1, tmp$ret$6);
|
|
1738
|
-
}
|
|
1739
|
-
var CompanionClass7;
|
|
1740
|
-
function Companion7() {
|
|
1741
|
-
if (CompanionClass7 === VOID7) {
|
|
1742
|
-
let $ = function() {
|
|
1743
|
-
Companion_instance7 = this;
|
|
1744
|
-
var tmp = this;
|
|
1745
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1746
|
-
tmp.$cachedSerializer$delegate_1 = lazy(tmp_0, Participant$Companion$_anonymous__h840yk);
|
|
1747
|
-
};
|
|
1748
|
-
initMetadataForCompanion7($, VOID7, [SerializerFactory()]);
|
|
1749
|
-
protoOf7($).serializer_9w0wvi_k$ = function() {
|
|
1750
|
-
return _get_$cachedSerializer__te6jhj(this);
|
|
1751
|
-
};
|
|
1752
|
-
protoOf7($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
|
|
1753
|
-
return this.serializer_9w0wvi_k$();
|
|
1754
|
-
};
|
|
1755
|
-
CompanionClass7 = $;
|
|
1756
|
-
}
|
|
1757
|
-
return CompanionClass7;
|
|
1758
|
-
}
|
|
1759
|
-
var Companion_instance7;
|
|
1760
|
-
function Companion_getInstance7() {
|
|
1761
|
-
if (Companion_instance7 == null)
|
|
1762
|
-
new (Companion7())();
|
|
1763
|
-
return Companion_instance7;
|
|
1764
|
-
}
|
|
1765
|
-
function Participant_init_$Init$(seen0, serializationConstructorMarker, $this) {
|
|
1766
|
-
return $this;
|
|
1767
|
-
}
|
|
1768
|
-
var ParticipantClass;
|
|
1769
|
-
function Participant() {
|
|
1770
|
-
if (ParticipantClass === VOID7) {
|
|
1771
|
-
let $ = function() {
|
|
1772
|
-
Companion_getInstance7();
|
|
1773
|
-
};
|
|
1774
|
-
initMetadataForClass7($, "Participant", VOID7, VOID7, VOID7, VOID7, VOID7, { 0: Companion_getInstance7 });
|
|
1775
|
-
defineProp(protoOf7($), "active", function() {
|
|
1776
|
-
return this.get_active_avldsf_k$();
|
|
1777
|
-
});
|
|
1778
|
-
defineProp(protoOf7($), "id", function() {
|
|
1779
|
-
return this.get_id_kntnx8_k$();
|
|
1780
|
-
});
|
|
1781
|
-
defineProp(protoOf7($), "name", function() {
|
|
1782
|
-
return this.get_name_woqyms_k$();
|
|
1783
|
-
});
|
|
1784
|
-
defineProp(protoOf7($), "participantId", function() {
|
|
1785
|
-
return this.get_participantId_lqya2j_k$();
|
|
1786
|
-
});
|
|
1787
|
-
Object.defineProperty($, "name", { value: "Participant", configurable: true });
|
|
1788
|
-
__soliboRegisterLookup7("Participant", () => $);
|
|
1789
|
-
ParticipantClass = $;
|
|
1790
|
-
}
|
|
1791
|
-
return ParticipantClass;
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
// build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonParticipant.mjs
|
|
1795
|
-
import { Companion_getInstancecsmssmjcrvz9 as Companion_getInstance8 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleType.mjs";
|
|
1796
|
-
import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance2 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
|
|
1797
|
-
import { lazy1261dae0bgscp as lazy2 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
|
|
1798
|
-
import {
|
|
1799
|
-
protoOf180f3jzyo7rfj as protoOf8,
|
|
1800
|
-
objectCreate1ve4bgxiu4x98 as objectCreate7,
|
|
1801
|
-
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode7,
|
|
1802
|
-
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode7,
|
|
1803
|
-
getStringHashCode26igk1bx568vk as getStringHashCode7,
|
|
1804
|
-
equals2au1ep9vhcato as equals5
|
|
1805
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
|
|
1806
|
-
import {
|
|
1807
|
-
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion8,
|
|
1808
|
-
initMetadataForObject1cxne3s9w65el as initMetadataForObject7,
|
|
1809
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass8
|
|
1810
|
-
} from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
|
|
1811
|
-
import { VOID3gxj6tk5isa35 as VOID8 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
|
|
1812
|
-
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor7 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
|
|
1813
|
-
import { Unit_instance3kz1zqli6gr1r as Unit_instance7 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
|
|
1814
|
-
import { $serializer_getInstance2519og2ax3hyr as $serializer_getInstance7 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
|
|
1815
|
-
import { $serializer_getInstancernln83sjtidj as $serializer_getInstance_05 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Person.mjs";
|
|
1816
|
-
import { THROW_CCE2g6jy02ryeudk as THROW_CCE7 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
|
|
1817
|
-
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$7 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
|
|
1818
|
-
import {
|
|
1819
|
-
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance7,
|
|
1820
|
-
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance7,
|
|
1821
|
-
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance7
|
|
1822
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
|
|
1823
|
-
import { get_nullable197rfua9r7fsz as get_nullable5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
|
|
1824
|
-
import {
|
|
1825
|
-
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers7,
|
|
1826
|
-
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer7
|
|
1827
|
-
} from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
|
|
1828
|
-
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException7 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
|
|
1829
|
-
import { toString30pk9tzaqopn as toString5 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
|
|
1830
|
-
import { SerializableWithd2dap36updxd as SerializableWith8 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
|
|
1831
|
-
import { __soliboBoundaryState as __soliboBoundaryState7, __soliboRegisterLookup as __soliboRegisterLookup8, __soliboRegisterOwnFields as __soliboRegisterOwnFields5, __soliboToJs as __soliboToJs7, __soliboToKt as __soliboToKt7, __soliboWrapAccessor as __soliboWrapAccessor5, __soliboWrapFunction as __soliboWrapFunction5, __soliboWrapMethod as __soliboWrapMethod5 } from "../solibo-boundary.mjs";
|
|
1832
|
-
import { Person2qfwnvdasq352 as __soliboType_Person } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Person.mjs";
|
|
1833
|
-
import { PersonAvatar3dgsumyig44gy as __soliboType_PersonAvatar2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
|
|
1834
|
-
import { RoleType1dugir7tkrq2z as __soliboType_RoleType } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleType.mjs";
|
|
1835
|
-
var imul7 = Math.imul;
|
|
1836
|
-
function PersonParticipant$Companion$$childSerializers$_anonymous__1jtia4() {
|
|
1837
|
-
return Companion_getInstance8().serializer_9w0wvi_k$();
|
|
1838
|
-
}
|
|
1839
|
-
var CompanionClass8;
|
|
1840
|
-
function Companion8() {
|
|
1841
|
-
if (CompanionClass8 === VOID8) {
|
|
1842
|
-
let $ = function() {
|
|
1843
|
-
Companion_instance8 = this;
|
|
1844
|
-
var tmp = this;
|
|
1845
|
-
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
|
|
1846
|
-
tmp.$childSerializers_1 = [null, null, null, null, lazy2(tmp_0, PersonParticipant$Companion$$childSerializers$_anonymous__1jtia4), null, null];
|
|
1847
|
-
};
|
|
1848
|
-
initMetadataForCompanion8($);
|
|
1849
|
-
CompanionClass8 = $;
|
|
1850
|
-
}
|
|
1851
|
-
return CompanionClass8;
|
|
1852
|
-
}
|
|
1853
|
-
var Companion_instance8;
|
|
1854
|
-
function Companion_getInstance_1() {
|
|
1855
|
-
if (Companion_instance8 == null) {
|
|
1856
|
-
Companion_getInstance7();
|
|
1857
|
-
new (Companion8())();
|
|
1858
|
-
}
|
|
1859
|
-
return Companion_instance8;
|
|
1860
|
-
}
|
|
1861
|
-
var $serializerClass7;
|
|
1862
|
-
function $serializer7() {
|
|
1863
|
-
if ($serializerClass7 === VOID8) {
|
|
1864
|
-
let $ = function() {
|
|
1865
|
-
$serializer_instance7 = this;
|
|
1866
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor7())("solibo.conversation.query.domain.PersonParticipant", this, 7);
|
|
1867
|
-
tmp0_serialDesc.addElement_5pzumi_k$("active", false);
|
|
1868
|
-
tmp0_serialDesc.addElement_5pzumi_k$("id", false);
|
|
1869
|
-
tmp0_serialDesc.addElement_5pzumi_k$("name", false);
|
|
1870
|
-
tmp0_serialDesc.addElement_5pzumi_k$("participantId", false);
|
|
1871
|
-
tmp0_serialDesc.addElement_5pzumi_k$("actingRoleType", true);
|
|
1872
|
-
tmp0_serialDesc.addElement_5pzumi_k$("avatar", true);
|
|
1873
|
-
tmp0_serialDesc.addElement_5pzumi_k$("person", true);
|
|
1874
|
-
this.descriptor_1 = tmp0_serialDesc;
|
|
1875
|
-
};
|
|
1876
|
-
initMetadataForObject7($, "$serializer", VOID8, VOID8, [GeneratedSerializer7()]);
|
|
1877
|
-
protoOf8($).serialize_mntyeh_k$ = function(encoder, value) {
|
|
1878
|
-
var tmp0_desc = this.descriptor_1;
|
|
1879
|
-
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1880
|
-
var tmp2_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1881
|
-
tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 0, value.active_1);
|
|
1882
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id_1);
|
|
1883
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.name_1);
|
|
1884
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.participantId_1);
|
|
1885
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.actingRoleType == null)) {
|
|
1886
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.actingRoleType);
|
|
1887
|
-
}
|
|
1888
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.avatar == null)) {
|
|
1889
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, $serializer_getInstance7(), value.avatar);
|
|
1890
|
-
}
|
|
1891
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.person == null)) {
|
|
1892
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, $serializer_getInstance_05(), value.person);
|
|
1893
|
-
}
|
|
1894
|
-
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1895
|
-
};
|
|
1896
|
-
protoOf8($).serialize_5ase3y_k$ = function(encoder, value) {
|
|
1897
|
-
return this.serialize_mntyeh_k$(encoder, value instanceof PersonParticipant() ? value : THROW_CCE7());
|
|
1898
|
-
};
|
|
1899
|
-
protoOf8($).deserialize_sy6x50_k$ = function(decoder) {
|
|
1900
|
-
var tmp0_desc = this.descriptor_1;
|
|
1901
|
-
var tmp1_flag = true;
|
|
1902
|
-
var tmp2_index = 0;
|
|
1903
|
-
var tmp3_bitMask0 = 0;
|
|
1904
|
-
var tmp4_local0 = false;
|
|
1905
|
-
var tmp5_local1 = 0n;
|
|
1906
|
-
var tmp6_local2 = null;
|
|
1907
|
-
var tmp7_local3 = 0n;
|
|
1908
|
-
var tmp8_local4 = null;
|
|
1909
|
-
var tmp9_local5 = null;
|
|
1910
|
-
var tmp10_local6 = null;
|
|
1911
|
-
var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
1912
|
-
var tmp12_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1913
|
-
if (tmp11_input.decodeSequentially_xlblqy_k$()) {
|
|
1914
|
-
tmp4_local0 = tmp11_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1915
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1916
|
-
tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1917
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1918
|
-
tmp6_local2 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1919
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1920
|
-
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1921
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1922
|
-
tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp12_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
1923
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1924
|
-
tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance7(), tmp9_local5);
|
|
1925
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1926
|
-
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_05(), tmp10_local6);
|
|
1927
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1928
|
-
} else
|
|
1929
|
-
while (tmp1_flag) {
|
|
1930
|
-
tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
1931
|
-
switch (tmp2_index) {
|
|
1932
|
-
case -1:
|
|
1933
|
-
tmp1_flag = false;
|
|
1934
|
-
break;
|
|
1935
|
-
case 0:
|
|
1936
|
-
tmp4_local0 = tmp11_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 0);
|
|
1937
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1938
|
-
break;
|
|
1939
|
-
case 1:
|
|
1940
|
-
tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
1941
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1942
|
-
break;
|
|
1943
|
-
case 2:
|
|
1944
|
-
tmp6_local2 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
|
|
1945
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1946
|
-
break;
|
|
1947
|
-
case 3:
|
|
1948
|
-
tmp7_local3 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
1949
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1950
|
-
break;
|
|
1951
|
-
case 4:
|
|
1952
|
-
tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp12_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
1953
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1954
|
-
break;
|
|
1955
|
-
case 5:
|
|
1956
|
-
tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance7(), tmp9_local5);
|
|
1957
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1958
|
-
break;
|
|
1959
|
-
case 6:
|
|
1960
|
-
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_05(), tmp10_local6);
|
|
1961
|
-
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1962
|
-
break;
|
|
1963
|
-
default:
|
|
1964
|
-
throw UnknownFieldException_init_$Create$7(tmp2_index);
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
1968
|
-
return PersonParticipant_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
1969
|
-
};
|
|
1970
|
-
protoOf8($).get_descriptor_wjt6a0_k$ = function() {
|
|
1971
|
-
return this.descriptor_1;
|
|
1972
|
-
};
|
|
1973
|
-
protoOf8($).childSerializers_5ghqw5_k$ = function() {
|
|
1974
|
-
var tmp0_cached = Companion_getInstance_1().$childSerializers_1;
|
|
1975
|
-
return [BooleanSerializer_getInstance7(), LongSerializer_getInstance7(), StringSerializer_getInstance7(), LongSerializer_getInstance7(), get_nullable5(tmp0_cached[4].get_value_j01efc_k$()), get_nullable5($serializer_getInstance7()), get_nullable5($serializer_getInstance_05())];
|
|
1976
|
-
};
|
|
1977
|
-
protoOf8($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers7;
|
|
1978
|
-
$serializerClass7 = $;
|
|
1979
|
-
}
|
|
1980
|
-
return $serializerClass7;
|
|
1981
|
-
}
|
|
1982
|
-
var $serializer_instance7;
|
|
1983
|
-
function $serializer_getInstance_1() {
|
|
1984
|
-
if ($serializer_instance7 == null)
|
|
1985
|
-
new ($serializer7())();
|
|
1986
|
-
return $serializer_instance7;
|
|
1987
|
-
}
|
|
1988
|
-
function PersonParticipant_init_$Init$(seen0, active, id, name, participantId, actingRoleType, avatar, person, serializationConstructorMarker, $this) {
|
|
1989
|
-
if (!(15 === (15 & seen0))) {
|
|
1990
|
-
throwMissingFieldException7(seen0, 15, $serializer_getInstance_1().descriptor_1);
|
|
1991
|
-
}
|
|
1992
|
-
Participant_init_$Init$(seen0, serializationConstructorMarker, $this);
|
|
1993
|
-
$this.active_1 = active;
|
|
1994
|
-
$this.id_1 = id;
|
|
1995
|
-
$this.name_1 = name;
|
|
1996
|
-
$this.participantId_1 = participantId;
|
|
1997
|
-
if (0 === (seen0 & 16))
|
|
1998
|
-
$this.actingRoleType = null;
|
|
1999
|
-
else
|
|
2000
|
-
$this.actingRoleType = actingRoleType;
|
|
2001
|
-
if (0 === (seen0 & 32))
|
|
2002
|
-
$this.avatar = null;
|
|
2003
|
-
else
|
|
2004
|
-
$this.avatar = avatar;
|
|
2005
|
-
if (0 === (seen0 & 64))
|
|
2006
|
-
$this.person = null;
|
|
2007
|
-
else
|
|
2008
|
-
$this.person = person;
|
|
2009
|
-
return $this;
|
|
2010
|
-
}
|
|
2011
|
-
function PersonParticipant_init_$Create$(seen0, active, id, name, participantId, actingRoleType, avatar, person, serializationConstructorMarker) {
|
|
2012
|
-
return PersonParticipant_init_$Init$(seen0, active, id, name, participantId, actingRoleType, avatar, person, serializationConstructorMarker, objectCreate7(protoOf8(PersonParticipant())));
|
|
2013
|
-
}
|
|
2014
|
-
var PersonParticipantClass;
|
|
2015
|
-
function PersonParticipant() {
|
|
2016
|
-
if (PersonParticipantClass === VOID8) {
|
|
2017
|
-
let $ = function(active, id, name, participantId, actingRoleType, avatar, person) {
|
|
2018
|
-
var __soliboProps = arguments.length === 1 && typeof active === "object" && active !== null && active.constructor === Object;
|
|
2019
|
-
var __soliboTmp, __soliboConverted = false;
|
|
2020
|
-
if (__soliboProps) {
|
|
2021
|
-
const props = active;
|
|
2022
|
-
active = "active" in props ? props.active : VOID8;
|
|
2023
|
-
id = "id" in props ? props.id : VOID8;
|
|
2024
|
-
name = "name" in props ? props.name : VOID8;
|
|
2025
|
-
participantId = "participantId" in props ? props.participantId : VOID8;
|
|
2026
|
-
actingRoleType = "actingRoleType" in props ? props.actingRoleType : VOID8;
|
|
2027
|
-
avatar = "avatar" in props ? props.avatar : VOID8;
|
|
2028
|
-
person = "person" in props ? props.person : VOID8;
|
|
2029
|
-
}
|
|
2030
|
-
if ((__soliboTmp = __soliboToKt7(id, ["bigint"])) !== id) {
|
|
2031
|
-
id = __soliboTmp;
|
|
2032
|
-
__soliboConverted = true;
|
|
2033
|
-
}
|
|
2034
|
-
if ((__soliboTmp = __soliboToKt7(participantId, ["bigint"])) !== participantId) {
|
|
2035
|
-
participantId = __soliboTmp;
|
|
2036
|
-
__soliboConverted = true;
|
|
2037
|
-
}
|
|
2038
|
-
if ((__soliboTmp = __soliboToKt7(actingRoleType, ["enum", "RoleType"])) !== actingRoleType) {
|
|
2039
|
-
actingRoleType = __soliboTmp;
|
|
2040
|
-
__soliboConverted = true;
|
|
2041
|
-
}
|
|
2042
|
-
if ((__soliboTmp = __soliboToKt7(avatar, ["model", "PersonAvatar"])) !== avatar) {
|
|
2043
|
-
avatar = __soliboTmp;
|
|
2044
|
-
__soliboConverted = true;
|
|
2045
|
-
}
|
|
2046
|
-
if ((__soliboTmp = __soliboToKt7(person, ["model", "Person"])) !== person) {
|
|
2047
|
-
person = __soliboTmp;
|
|
2048
|
-
__soliboConverted = true;
|
|
2049
|
-
}
|
|
2050
|
-
Companion_getInstance_1();
|
|
2051
|
-
actingRoleType = actingRoleType === VOID8 ? null : actingRoleType;
|
|
2052
|
-
avatar = avatar === VOID8 ? null : avatar;
|
|
2053
|
-
person = person === VOID8 ? null : person;
|
|
2054
|
-
Participant().call(this);
|
|
2055
|
-
this.active_1 = active;
|
|
2056
|
-
this.id_1 = id;
|
|
2057
|
-
this.name_1 = name;
|
|
2058
|
-
this.participantId_1 = participantId;
|
|
2059
|
-
this.actingRoleType = actingRoleType;
|
|
2060
|
-
this.avatar = avatar;
|
|
2061
|
-
this.person = person;
|
|
2062
|
-
if (__soliboConverted && !__soliboBoundaryState7.internalConstruction) return __soliboToJs7(this);
|
|
2063
|
-
};
|
|
2064
|
-
initMetadataForClass8($, "PersonParticipant", VOID8, Participant(), VOID8, VOID8, VOID8, { 0: $serializer_getInstance_1 });
|
|
2065
|
-
protoOf8($).get_active_avldsf_k$ = function() {
|
|
2066
|
-
return this.active_1;
|
|
2067
|
-
};
|
|
2068
|
-
protoOf8($).get_id_kntnx8_k$ = function() {
|
|
2069
|
-
return this.id_1;
|
|
2070
|
-
};
|
|
2071
|
-
protoOf8($).get_name_woqyms_k$ = function() {
|
|
2072
|
-
return this.name_1;
|
|
2073
|
-
};
|
|
2074
|
-
protoOf8($).get_participantId_lqya2j_k$ = function() {
|
|
2075
|
-
return this.participantId_1;
|
|
2076
|
-
};
|
|
2077
|
-
protoOf8($).get_actingRoleType_trphc9_k$ = function() {
|
|
2078
|
-
return this.actingRoleType;
|
|
2079
|
-
};
|
|
2080
|
-
protoOf8($).get_avatar_b5pjz6_k$ = function() {
|
|
2081
|
-
return this.avatar;
|
|
2082
|
-
};
|
|
2083
|
-
protoOf8($).get_person_i0c866_k$ = function() {
|
|
2084
|
-
return this.person;
|
|
2085
|
-
};
|
|
2086
|
-
protoOf8($).component1_7eebsc_k$ = function() {
|
|
2087
|
-
return this.active_1;
|
|
2088
|
-
};
|
|
2089
|
-
protoOf8($).component2_7eebsb_k$ = function() {
|
|
2090
|
-
return this.id_1;
|
|
2091
|
-
};
|
|
2092
|
-
protoOf8($).component3_7eebsa_k$ = function() {
|
|
2093
|
-
return this.name_1;
|
|
2094
|
-
};
|
|
2095
|
-
protoOf8($).component4_7eebs9_k$ = function() {
|
|
2096
|
-
return this.participantId_1;
|
|
2097
|
-
};
|
|
2098
|
-
protoOf8($).component5_7eebs8_k$ = function() {
|
|
2099
|
-
return this.actingRoleType;
|
|
2100
|
-
};
|
|
2101
|
-
protoOf8($).component6_7eebs7_k$ = function() {
|
|
2102
|
-
return this.avatar;
|
|
2103
|
-
};
|
|
2104
|
-
protoOf8($).component7_7eebs6_k$ = function() {
|
|
2105
|
-
return this.person;
|
|
2106
|
-
};
|
|
2107
|
-
protoOf8($).copy_ujgmk6_k$ = function(active, id, name, participantId, actingRoleType, avatar, person) {
|
|
2108
|
-
return new (PersonParticipant())(active, id, name, participantId, actingRoleType, avatar, person);
|
|
2109
|
-
};
|
|
2110
|
-
protoOf8($).copy = function(active, id, name, participantId, actingRoleType, avatar, person, $super) {
|
|
2111
|
-
active = active === VOID8 ? this.active_1 : active;
|
|
2112
|
-
id = id === VOID8 ? this.id_1 : id;
|
|
2113
|
-
name = name === VOID8 ? this.name_1 : name;
|
|
2114
|
-
participantId = participantId === VOID8 ? this.participantId_1 : participantId;
|
|
2115
|
-
actingRoleType = actingRoleType === VOID8 ? this.actingRoleType : actingRoleType;
|
|
2116
|
-
avatar = avatar === VOID8 ? this.avatar : avatar;
|
|
2117
|
-
person = person === VOID8 ? this.person : person;
|
|
2118
|
-
return $super === VOID8 ? this.copy_ujgmk6_k$(active, id, name, participantId, actingRoleType, avatar, person) : $super.copy_ujgmk6_k$.call(this, active, id, name, participantId, actingRoleType, avatar, person);
|
|
2119
|
-
};
|
|
2120
|
-
protoOf8($).toString = function() {
|
|
2121
|
-
return "PersonParticipant(active=" + this.active_1 + ", id=" + this.id_1.toString() + ", name=" + this.name_1 + ", participantId=" + this.participantId_1.toString() + ", actingRoleType=" + toString5(this.actingRoleType) + ", avatar=" + toString5(this.avatar) + ", person=" + toString5(this.person) + ")";
|
|
2122
|
-
};
|
|
2123
|
-
protoOf8($).hashCode = function() {
|
|
2124
|
-
var result = getBooleanHashCode7(this.active_1);
|
|
2125
|
-
result = imul7(result, 31) + getBigIntHashCode7(this.id_1) | 0;
|
|
2126
|
-
result = imul7(result, 31) + getStringHashCode7(this.name_1) | 0;
|
|
2127
|
-
result = imul7(result, 31) + getBigIntHashCode7(this.participantId_1) | 0;
|
|
2128
|
-
result = imul7(result, 31) + (this.actingRoleType == null ? 0 : this.actingRoleType.hashCode()) | 0;
|
|
2129
|
-
result = imul7(result, 31) + (this.avatar == null ? 0 : this.avatar.hashCode()) | 0;
|
|
2130
|
-
result = imul7(result, 31) + (this.person == null ? 0 : this.person.hashCode()) | 0;
|
|
2131
|
-
return result;
|
|
2132
|
-
};
|
|
2133
|
-
protoOf8($).equals = function(other) {
|
|
2134
|
-
if (this === other)
|
|
2135
|
-
return true;
|
|
2136
|
-
if (!(other instanceof PersonParticipant()))
|
|
2137
|
-
return false;
|
|
2138
|
-
if (!(this.active_1 === other.active_1))
|
|
2139
|
-
return false;
|
|
2140
|
-
if (!(this.id_1 === other.id_1))
|
|
2141
|
-
return false;
|
|
2142
|
-
if (!(this.name_1 === other.name_1))
|
|
2143
|
-
return false;
|
|
2144
|
-
if (!(this.participantId_1 === other.participantId_1))
|
|
2145
|
-
return false;
|
|
2146
|
-
if (!equals5(this.actingRoleType, other.actingRoleType))
|
|
2147
|
-
return false;
|
|
2148
|
-
if (!equals5(this.avatar, other.avatar))
|
|
2149
|
-
return false;
|
|
2150
|
-
if (!equals5(this.person, other.person))
|
|
2151
|
-
return false;
|
|
2152
|
-
return true;
|
|
2153
|
-
};
|
|
2154
|
-
Object.defineProperty($, "name", { value: "PersonParticipant", configurable: true });
|
|
2155
|
-
__soliboRegisterOwnFields5($, { "avatar": ["model", "PersonAvatar"], "person": ["model", "Person"] });
|
|
2156
|
-
__soliboRegisterLookup8("PersonParticipant", () => $);
|
|
2157
|
-
PersonParticipantClass = $;
|
|
2158
|
-
}
|
|
2159
|
-
return PersonParticipantClass;
|
|
2160
|
-
}
|
|
2161
|
-
__soliboRegisterLookup8("Person", () => __soliboType_Person());
|
|
2162
|
-
__soliboRegisterLookup8("PersonAvatar", () => __soliboType_PersonAvatar2());
|
|
2163
|
-
__soliboRegisterLookup8("RoleType", () => __soliboType_RoleType());
|
|
2164
869
|
export {
|
|
2165
|
-
$
|
|
2166
|
-
$
|
|
2167
|
-
|
|
2168
|
-
$
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
BoardParticipant as BoardParticipant3rrt8vvdzs19z,
|
|
2173
|
-
ClientUserParticipant as ClientUserParticipant1fqbmoz8gw40u,
|
|
2174
|
-
Companion_getInstance7 as Companion_getInstance3ptym1drrgc7q,
|
|
2175
|
-
EmployeeParticipant as EmployeeParticipant43nyi3yl6myp,
|
|
2176
|
-
InquiryParticipant as InquiryParticipant15wnjrrua8d7n,
|
|
2177
|
-
OrganizationParticipant as OrganizationParticipant1y1jtq5wfi0mu,
|
|
2178
|
-
Participant as Participant30c88lxj8npmu,
|
|
2179
|
-
Participant_init_$Init$ as Participant_init_$Init$3otpwqpk8c1l8,
|
|
2180
|
-
PersonParticipant as PersonParticipant1n2tqml7sab09,
|
|
2181
|
-
SupplierContactParticipant as SupplierContactParticipant3chwsqgxenjja
|
|
870
|
+
$serializer_getInstance_2 as $serializer_getInstance1xofxx6tmbleh,
|
|
871
|
+
$serializer_getInstance2 as $serializer_getInstance2nu5loepr19az,
|
|
872
|
+
AuthUser as AuthUser16f63me897m7a,
|
|
873
|
+
AuthUser_init_$Init$ as AuthUser_init_$Init$j8nshj2o3way,
|
|
874
|
+
ClientUser as ClientUsersjd6zino4nc5,
|
|
875
|
+
Companion_getInstance as Companion_getInstance3992bes6ol5x4,
|
|
876
|
+
PersonUser as PersonUser1o3jqucjhp8kn
|
|
2182
877
|
};
|