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