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