@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,13 +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/PersonUser.mjs
3
- import { $serializer_getInstancei1xl24gtrm2r as $serializer_getInstance } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
4
- import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
1
+ // Generated by sdk/scripts/post-process-per-file.js from an import cycle of 6 files; see collapseCycles.
2
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Attendance.mjs
5
3
  import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
6
4
  import { lazy1261dae0bgscp as lazy } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
7
5
  import {
8
6
  protoOf180f3jzyo7rfj as protoOf,
9
7
  objectCreate1ve4bgxiu4x98 as objectCreate,
10
- getStringHashCode26igk1bx568vk as getStringHashCode,
8
+ toString1pkumu07cwy4m as toString,
11
9
  getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
12
10
  hashCodeq5arwsb9dgti as hashCode,
13
11
  equals2au1ep9vhcato as equals
@@ -19,30 +17,24 @@ import {
19
17
  } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
20
18
  import { VOID3gxj6tk5isa35 as VOID } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
21
19
  import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
22
- import { $serializer_getInstance2wuu3b1fibrdd as $serializer_getInstance_0 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/UserAccess.mjs";
20
+ import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs";
23
21
  import { Unit_instance3kz1zqli6gr1r as Unit_instance } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
24
- import {
25
- StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
26
- LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance
27
- } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
28
- import { $serializer_getInstance1se14apkjzug7 as $serializer_getInstance_1 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
29
22
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
30
23
  import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
24
+ import { LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
31
25
  import { get_nullable197rfua9r7fsz as get_nullable } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
32
26
  import {
33
27
  typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
34
28
  GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer
35
29
  } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
36
30
  import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
37
- import { toString30pk9tzaqopn as toString } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
31
+ import { toString30pk9tzaqopn as toString_0 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
38
32
  import { SerializableWithd2dap36updxd as SerializableWith } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
39
- import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
40
- import { Namefq7jqr1w1zl3 as __soliboType_Name } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
41
- import { Role2m2i30nenojee as __soliboType_Role } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
42
- import { UserAccess3jrnn6xzhsow4 as __soliboType_UserAccess } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/UserAccess.mjs";
33
+ import { __soliboBoundaryState, __soliboRegisterLookup, __soliboToJs, __soliboToKt } from "../solibo-boundary.mjs";
34
+ import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion } from "../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs";
43
35
  var imul = Math.imul;
44
- function PersonUser$Companion$$childSerializers$_anonymous__rnbxpm() {
45
- return new (ArrayListSerializer())($serializer_getInstance());
36
+ function Attendance$Companion$$childSerializers$_anonymous__aepb5r() {
37
+ return Companion_getInstance().serializer_9w0wvi_k$();
46
38
  }
47
39
  var CompanionClass;
48
40
  function Companion() {
@@ -51,7 +43,7 @@ function Companion() {
51
43
  Companion_instance = this;
52
44
  var tmp = this;
53
45
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
54
- tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, null, lazy(tmp_0, PersonUser$Companion$$childSerializers$_anonymous__rnbxpm), null];
46
+ tmp.$childSerializers_1 = [null, null, lazy(tmp_0, Attendance$Companion$$childSerializers$_anonymous__aepb5r), null, null, null];
55
47
  };
56
48
  initMetadataForCompanion($);
57
49
  CompanionClass = $;
@@ -60,10 +52,8 @@ function Companion() {
60
52
  }
61
53
  var Companion_instance;
62
54
  function Companion_getInstance_0() {
63
- if (Companion_instance == null) {
64
- Companion_getInstance();
55
+ if (Companion_instance == null)
65
56
  new (Companion())();
66
- }
67
57
  return Companion_instance;
68
58
  }
69
59
  var $serializerClass;
@@ -71,173 +61,103 @@ function $serializer() {
71
61
  if ($serializerClass === VOID) {
72
62
  let $ = function() {
73
63
  $serializer_instance = this;
74
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("solibo.common.auth.PersonUser", this, 12);
75
- tmp0_serialDesc.addElement_5pzumi_k$("access", true);
76
- tmp0_serialDesc.addElement_5pzumi_k$("country", true);
77
- tmp0_serialDesc.addElement_5pzumi_k$("email", true);
64
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())("no.solibo.oss.sdk.api.gen.models.Attendance", this, 6);
65
+ tmp0_serialDesc.addElement_5pzumi_k$("companyId", false);
78
66
  tmp0_serialDesc.addElement_5pzumi_k$("id", false);
79
- tmp0_serialDesc.addElement_5pzumi_k$("mobile", true);
80
- tmp0_serialDesc.addElement_5pzumi_k$("name", true);
81
- tmp0_serialDesc.addElement_5pzumi_k$("nationality", true);
82
- tmp0_serialDesc.addElement_5pzumi_k$("personId", false);
83
- tmp0_serialDesc.addElement_5pzumi_k$("preferredLanguage", true);
84
- tmp0_serialDesc.addElement_5pzumi_k$("profileUrl", true);
85
- tmp0_serialDesc.addElement_5pzumi_k$("roles", true);
86
- tmp0_serialDesc.addElement_5pzumi_k$("username", false);
67
+ tmp0_serialDesc.addElement_5pzumi_k$("resident", false);
68
+ tmp0_serialDesc.addElement_5pzumi_k$("sectionId", false);
69
+ tmp0_serialDesc.addElement_5pzumi_k$("validFrom", false);
70
+ tmp0_serialDesc.addElement_5pzumi_k$("validTo", true);
87
71
  this.descriptor_1 = tmp0_serialDesc;
88
72
  };
89
73
  initMetadataForObject($, "$serializer", VOID, VOID, [GeneratedSerializer()]);
90
- protoOf($).serialize_6qwh5d_k$ = function(encoder, value) {
74
+ protoOf($).serialize_jmita3_k$ = function(encoder, value) {
91
75
  var tmp0_desc = this.descriptor_1;
92
76
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
93
77
  var tmp2_cached = Companion_getInstance_0().$childSerializers_1;
94
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.access == null)) {
95
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance_0(), value.access);
96
- }
97
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.country == null)) {
98
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.country);
99
- }
100
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.email == null)) {
101
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.email);
78
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.companyId);
79
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id);
80
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.resident);
81
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.sectionId);
82
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.validFrom);
83
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.validTo == null)) {
84
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.validTo);
102
85
  }
103
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.id);
104
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.mobile == null)) {
105
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.mobile);
106
- }
107
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.name == null)) {
108
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, $serializer_getInstance_1(), value.name);
109
- }
110
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.nationality == null)) {
111
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.nationality);
112
- }
113
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 7, value.personId);
114
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.preferredLanguage == null)) {
115
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance(), value.preferredLanguage);
116
- }
117
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.profileUrl == null)) {
118
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.profileUrl);
119
- }
120
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.roles == null)) {
121
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.roles);
122
- }
123
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 11, value.username);
124
86
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
125
87
  };
126
88
  protoOf($).serialize_5ase3y_k$ = function(encoder, value) {
127
- return this.serialize_6qwh5d_k$(encoder, value instanceof PersonUser() ? value : THROW_CCE());
89
+ return this.serialize_jmita3_k$(encoder, value instanceof Attendance() ? value : THROW_CCE());
128
90
  };
129
91
  protoOf($).deserialize_sy6x50_k$ = function(decoder) {
130
92
  var tmp0_desc = this.descriptor_1;
131
93
  var tmp1_flag = true;
132
94
  var tmp2_index = 0;
133
95
  var tmp3_bitMask0 = 0;
134
- var tmp4_local0 = null;
135
- var tmp5_local1 = null;
96
+ var tmp4_local0 = 0n;
97
+ var tmp5_local1 = 0n;
136
98
  var tmp6_local2 = null;
137
- var tmp7_local3 = null;
99
+ var tmp7_local3 = 0n;
138
100
  var tmp8_local4 = null;
139
101
  var tmp9_local5 = null;
140
- var tmp10_local6 = null;
141
- var tmp11_local7 = 0n;
142
- var tmp12_local8 = null;
143
- var tmp13_local9 = null;
144
- var tmp14_local10 = null;
145
- var tmp15_local11 = null;
146
- var tmp16_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
147
- var tmp17_cached = Companion_getInstance_0().$childSerializers_1;
148
- if (tmp16_input.decodeSequentially_xlblqy_k$()) {
149
- tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
102
+ var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
103
+ var tmp11_cached = Companion_getInstance_0().$childSerializers_1;
104
+ if (tmp10_input.decodeSequentially_xlblqy_k$()) {
105
+ tmp4_local0 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
150
106
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
151
- tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
107
+ tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
152
108
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
153
- tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
109
+ tmp6_local2 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
154
110
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
155
- tmp7_local3 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
111
+ tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
156
112
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
157
- tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
113
+ tmp8_local4 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
158
114
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
159
- tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_1(), tmp9_local5);
115
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
160
116
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
161
- tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
162
- tmp3_bitMask0 = tmp3_bitMask0 | 64;
163
- tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
164
- tmp3_bitMask0 = tmp3_bitMask0 | 128;
165
- tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
166
- tmp3_bitMask0 = tmp3_bitMask0 | 256;
167
- tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
168
- tmp3_bitMask0 = tmp3_bitMask0 | 512;
169
- tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp17_cached[10].get_value_j01efc_k$(), tmp14_local10);
170
- tmp3_bitMask0 = tmp3_bitMask0 | 1024;
171
- tmp15_local11 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
172
- tmp3_bitMask0 = tmp3_bitMask0 | 2048;
173
117
  } else
174
118
  while (tmp1_flag) {
175
- tmp2_index = tmp16_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
119
+ tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
176
120
  switch (tmp2_index) {
177
121
  case -1:
178
122
  tmp1_flag = false;
179
123
  break;
180
124
  case 0:
181
- tmp4_local0 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance_0(), tmp4_local0);
125
+ tmp4_local0 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
182
126
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
183
127
  break;
184
128
  case 1:
185
- tmp5_local1 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
129
+ tmp5_local1 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
186
130
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
187
131
  break;
188
132
  case 2:
189
- tmp6_local2 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
133
+ tmp6_local2 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
190
134
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
191
135
  break;
192
136
  case 3:
193
- tmp7_local3 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
137
+ tmp7_local3 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
194
138
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
195
139
  break;
196
140
  case 4:
197
- tmp8_local4 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
141
+ tmp8_local4 = tmp10_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
198
142
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
199
143
  break;
200
144
  case 5:
201
- tmp9_local5 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, $serializer_getInstance_1(), tmp9_local5);
145
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
202
146
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
203
147
  break;
204
- case 6:
205
- tmp10_local6 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
206
- tmp3_bitMask0 = tmp3_bitMask0 | 64;
207
- break;
208
- case 7:
209
- tmp11_local7 = tmp16_input.decodeLongElement_994anb_k$(tmp0_desc, 7);
210
- tmp3_bitMask0 = tmp3_bitMask0 | 128;
211
- break;
212
- case 8:
213
- tmp12_local8 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
214
- tmp3_bitMask0 = tmp3_bitMask0 | 256;
215
- break;
216
- case 9:
217
- tmp13_local9 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
218
- tmp3_bitMask0 = tmp3_bitMask0 | 512;
219
- break;
220
- case 10:
221
- tmp14_local10 = tmp16_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp17_cached[10].get_value_j01efc_k$(), tmp14_local10);
222
- tmp3_bitMask0 = tmp3_bitMask0 | 1024;
223
- break;
224
- case 11:
225
- tmp15_local11 = tmp16_input.decodeStringElement_3oenpg_k$(tmp0_desc, 11);
226
- tmp3_bitMask0 = tmp3_bitMask0 | 2048;
227
- break;
228
148
  default:
229
149
  throw UnknownFieldException_init_$Create$(tmp2_index);
230
150
  }
231
151
  }
232
- tmp16_input.endStructure_1xqz0n_k$(tmp0_desc);
233
- return PersonUser_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, null);
152
+ tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
153
+ return Attendance_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
234
154
  };
235
155
  protoOf($).get_descriptor_wjt6a0_k$ = function() {
236
156
  return this.descriptor_1;
237
157
  };
238
158
  protoOf($).childSerializers_5ghqw5_k$ = function() {
239
159
  var tmp0_cached = Companion_getInstance_0().$childSerializers_1;
240
- return [get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_1()), get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), StringSerializer_getInstance()];
160
+ return [LongSerializer_getInstance(), LongSerializer_getInstance(), tmp0_cached[2].get_value_j01efc_k$(), LongSerializer_getInstance(), InstantSerializer_getInstance(), get_nullable(InstantSerializer_getInstance())];
241
161
  };
242
162
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
243
163
  $serializerClass = $;
@@ -245,304 +165,212 @@ function $serializer() {
245
165
  return $serializerClass;
246
166
  }
247
167
  var $serializer_instance;
248
- function $serializer_getInstance_2() {
168
+ function $serializer_getInstance() {
249
169
  if ($serializer_instance == null)
250
170
  new ($serializer())();
251
171
  return $serializer_instance;
252
172
  }
253
- function PersonUser_init_$Init$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker, $this) {
254
- if (!(2184 === (2184 & seen0))) {
255
- throwMissingFieldException(seen0, 2184, $serializer_getInstance_2().descriptor_1);
173
+ function Attendance_init_$Init$(seen0, companyId, id, resident, sectionId, validFrom, validTo, serializationConstructorMarker, $this) {
174
+ if (!(31 === (31 & seen0))) {
175
+ throwMissingFieldException(seen0, 31, $serializer_getInstance().descriptor_1);
256
176
  }
257
- AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this);
258
- if (0 === (seen0 & 1))
259
- $this.access = null;
260
- else
261
- $this.access = access;
262
- if (0 === (seen0 & 2))
263
- $this.country = null;
264
- else
265
- $this.country = country;
266
- if (0 === (seen0 & 4))
267
- $this.email = null;
268
- else
269
- $this.email = email;
177
+ $this.companyId = companyId;
270
178
  $this.id = id;
271
- if (0 === (seen0 & 16))
272
- $this.mobile = null;
273
- else
274
- $this.mobile = mobile;
179
+ $this.resident = resident;
180
+ $this.sectionId = sectionId;
181
+ $this.validFrom = validFrom;
275
182
  if (0 === (seen0 & 32))
276
- $this.name = null;
183
+ $this.validTo = null;
277
184
  else
278
- $this.name = name;
279
- if (0 === (seen0 & 64))
280
- $this.nationality = null;
281
- else
282
- $this.nationality = nationality;
283
- $this.personId = personId;
284
- if (0 === (seen0 & 256))
285
- $this.preferredLanguage = null;
286
- else
287
- $this.preferredLanguage = preferredLanguage;
288
- if (0 === (seen0 & 512))
289
- $this.profileUrl = null;
290
- else
291
- $this.profileUrl = profileUrl;
292
- if (0 === (seen0 & 1024))
293
- $this.roles = null;
294
- else
295
- $this.roles = roles;
296
- $this.username = username;
185
+ $this.validTo = validTo;
297
186
  return $this;
298
187
  }
299
- function PersonUser_init_$Create$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker) {
300
- return PersonUser_init_$Init$(seen0, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, serializationConstructorMarker, objectCreate(protoOf(PersonUser())));
188
+ function Attendance_init_$Create$(seen0, companyId, id, resident, sectionId, validFrom, validTo, serializationConstructorMarker) {
189
+ return Attendance_init_$Init$(seen0, companyId, id, resident, sectionId, validFrom, validTo, serializationConstructorMarker, objectCreate(protoOf(Attendance())));
301
190
  }
302
- var PersonUserClass;
303
- function PersonUser() {
304
- if (PersonUserClass === VOID) {
305
- let $ = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) {
306
- var __soliboProps = arguments.length === 1 && typeof access === "object" && access !== null && access.constructor === Object;
191
+ var AttendanceClass;
192
+ function Attendance() {
193
+ if (AttendanceClass === VOID) {
194
+ let $ = function(companyId, id, resident, sectionId, validFrom, validTo) {
195
+ var __soliboProps = arguments.length === 1 && typeof companyId === "object" && companyId !== null && companyId.constructor === Object;
307
196
  var __soliboTmp, __soliboConverted = false;
308
197
  if (__soliboProps) {
309
- const props = access;
310
- access = "access" in props ? props.access : VOID;
311
- country = "country" in props ? props.country : VOID;
312
- email = "email" in props ? props.email : VOID;
198
+ const props = companyId;
199
+ companyId = "companyId" in props ? props.companyId : VOID;
313
200
  id = "id" in props ? props.id : VOID;
314
- mobile = "mobile" in props ? props.mobile : VOID;
315
- name = "name" in props ? props.name : VOID;
316
- nationality = "nationality" in props ? props.nationality : VOID;
317
- personId = "personId" in props ? props.personId : VOID;
318
- preferredLanguage = "preferredLanguage" in props ? props.preferredLanguage : VOID;
319
- profileUrl = "profileUrl" in props ? props.profileUrl : VOID;
320
- roles = "roles" in props ? props.roles : VOID;
321
- username = "username" in props ? props.username : VOID;
322
- }
323
- if ((__soliboTmp = __soliboToKt(access, ["model", "UserAccess"])) !== access) {
324
- access = __soliboTmp;
325
- __soliboConverted = true;
326
- }
327
- if ((__soliboTmp = __soliboToKt(name, ["model", "Name"])) !== name) {
328
- name = __soliboTmp;
329
- __soliboConverted = true;
201
+ resident = "resident" in props ? props.resident : VOID;
202
+ sectionId = "sectionId" in props ? props.sectionId : VOID;
203
+ validFrom = "validFrom" in props ? props.validFrom : VOID;
204
+ if (typeof validFrom === "string") {
205
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validFrom)) validFrom += ":00Z";
206
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validFrom)) validFrom += "Z";
207
+ const companion = __soliboInstantCompanion();
208
+ validFrom = companion.parse_xovy9i_k$(validFrom);
209
+ } else if (validFrom != null && typeof validFrom === "object" && typeof validFrom.getTime === "function") {
210
+ const companion = __soliboInstantCompanion();
211
+ validFrom = companion.fromEpochMilliseconds_uaz65_k$(BigInt(validFrom.getTime()));
212
+ }
213
+ validTo = "validTo" in props ? props.validTo : VOID;
214
+ if (typeof validTo === "string") {
215
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(validTo)) validTo += ":00Z";
216
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(validTo)) validTo += "Z";
217
+ const companion = __soliboInstantCompanion();
218
+ validTo = companion.parse_xovy9i_k$(validTo);
219
+ } else if (validTo != null && typeof validTo === "object" && typeof validTo.getTime === "function") {
220
+ const companion = __soliboInstantCompanion();
221
+ validTo = companion.fromEpochMilliseconds_uaz65_k$(BigInt(validTo.getTime()));
222
+ }
330
223
  }
331
- if ((__soliboTmp = __soliboToKt(nationality, ["bigint"])) !== nationality) {
332
- nationality = __soliboTmp;
224
+ if ((__soliboTmp = __soliboToKt(companyId, ["bigint"])) !== companyId) {
225
+ companyId = __soliboTmp;
333
226
  __soliboConverted = true;
334
227
  }
335
- if ((__soliboTmp = __soliboToKt(personId, ["bigint"])) !== personId) {
336
- personId = __soliboTmp;
228
+ if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) {
229
+ id = __soliboTmp;
337
230
  __soliboConverted = true;
338
231
  }
339
- if ((__soliboTmp = __soliboToKt(preferredLanguage, ["bigint"])) !== preferredLanguage) {
340
- preferredLanguage = __soliboTmp;
232
+ if ((__soliboTmp = __soliboToKt(resident, ["model", "Resident"])) !== resident) {
233
+ resident = __soliboTmp;
341
234
  __soliboConverted = true;
342
235
  }
343
- if ((__soliboTmp = __soliboToKt(roles, ["list", ["model", "Role"]])) !== roles) {
344
- roles = __soliboTmp;
236
+ if ((__soliboTmp = __soliboToKt(sectionId, ["bigint"])) !== sectionId) {
237
+ sectionId = __soliboTmp;
345
238
  __soliboConverted = true;
346
239
  }
347
240
  Companion_getInstance_0();
348
- access = access === VOID ? null : access;
349
- country = country === VOID ? null : country;
350
- email = email === VOID ? null : email;
351
- mobile = mobile === VOID ? null : mobile;
352
- name = name === VOID ? null : name;
353
- nationality = nationality === VOID ? null : nationality;
354
- preferredLanguage = preferredLanguage === VOID ? null : preferredLanguage;
355
- profileUrl = profileUrl === VOID ? null : profileUrl;
356
- roles = roles === VOID ? null : roles;
357
- AuthUser().call(this);
358
- this.access = access;
359
- this.country = country;
360
- this.email = email;
241
+ validTo = validTo === VOID ? null : validTo;
242
+ this.companyId = companyId;
361
243
  this.id = id;
362
- this.mobile = mobile;
363
- this.name = name;
364
- this.nationality = nationality;
365
- this.personId = personId;
366
- this.preferredLanguage = preferredLanguage;
367
- this.profileUrl = profileUrl;
368
- this.roles = roles;
369
- this.username = username;
244
+ this.resident = resident;
245
+ this.sectionId = sectionId;
246
+ this.validFrom = validFrom;
247
+ this.validTo = validTo;
370
248
  if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
371
249
  };
372
- initMetadataForClass($, "PersonUser", VOID, AuthUser(), VOID, VOID, VOID, { 0: $serializer_getInstance_2 });
373
- protoOf($).get_access_avafzh_k$ = function() {
374
- return this.access;
375
- };
376
- protoOf($).get_country_h3tl7x_k$ = function() {
377
- return this.country;
378
- };
379
- protoOf($).get_email_iqwbqr_k$ = function() {
380
- return this.email;
250
+ initMetadataForClass($, "Attendance", VOID, VOID, VOID, VOID, VOID, { 0: $serializer_getInstance });
251
+ protoOf($).get_companyId_eumsdt_k$ = function() {
252
+ return this.companyId;
381
253
  };
382
254
  protoOf($).get_id_kntnx8_k$ = function() {
383
255
  return this.id;
384
256
  };
385
- protoOf($).get_mobile_gqevmz_k$ = function() {
386
- return this.mobile;
387
- };
388
- protoOf($).get_name_woqyms_k$ = function() {
389
- return this.name;
390
- };
391
- protoOf($).get_nationality_ffhahf_k$ = function() {
392
- return this.nationality;
257
+ protoOf($).get_resident_xhi8ex_k$ = function() {
258
+ return this.resident;
393
259
  };
394
- protoOf($).get_personId_oh37jb_k$ = function() {
395
- return this.personId;
260
+ protoOf($).get_sectionId_2pkr0p_k$ = function() {
261
+ return this.sectionId;
396
262
  };
397
- protoOf($).get_preferredLanguage_wh0f5c_k$ = function() {
398
- return this.preferredLanguage;
263
+ protoOf($).get_validFrom_9uozj7_k$ = function() {
264
+ return this.validFrom;
399
265
  };
400
- protoOf($).get_profileUrl_wmdgnj_k$ = function() {
401
- return this.profileUrl;
402
- };
403
- protoOf($).get_roles_iy35hw_k$ = function() {
404
- return this.roles;
405
- };
406
- protoOf($).get_username_ytz5i7_k$ = function() {
407
- return this.username;
266
+ protoOf($).get_validTo_538d66_k$ = function() {
267
+ return this.validTo;
408
268
  };
409
269
  protoOf($).component1_7eebsc_k$ = function() {
410
- return this.access;
270
+ return this.companyId;
411
271
  };
412
272
  protoOf($).component2_7eebsb_k$ = function() {
413
- return this.country;
273
+ return this.id;
414
274
  };
415
275
  protoOf($).component3_7eebsa_k$ = function() {
416
- return this.email;
276
+ return this.resident;
417
277
  };
418
278
  protoOf($).component4_7eebs9_k$ = function() {
419
- return this.id;
279
+ return this.sectionId;
420
280
  };
421
281
  protoOf($).component5_7eebs8_k$ = function() {
422
- return this.mobile;
282
+ return this.validFrom;
423
283
  };
424
284
  protoOf($).component6_7eebs7_k$ = function() {
425
- return this.name;
426
- };
427
- protoOf($).component7_7eebs6_k$ = function() {
428
- return this.nationality;
429
- };
430
- protoOf($).component8_7eebs5_k$ = function() {
431
- return this.personId;
432
- };
433
- protoOf($).component9_7eebs4_k$ = function() {
434
- return this.preferredLanguage;
435
- };
436
- protoOf($).component10_gazzfo_k$ = function() {
437
- return this.profileUrl;
285
+ return this.validTo;
438
286
  };
439
- protoOf($).component11_gazzfn_k$ = function() {
440
- return this.roles;
441
- };
442
- protoOf($).component12_gazzfm_k$ = function() {
443
- return this.username;
287
+ protoOf($).copy_3hj6rn_k$ = function(companyId, id, resident, sectionId, validFrom, validTo) {
288
+ return new (Attendance())(companyId, id, resident, sectionId, validFrom, validTo);
444
289
  };
445
- protoOf($).copy_r71fnr_k$ = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) {
446
- return new (PersonUser())(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username);
447
- };
448
- protoOf($).copy = function(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username, $super) {
449
- access = access === VOID ? this.access : access;
450
- country = country === VOID ? this.country : country;
451
- email = email === VOID ? this.email : email;
290
+ protoOf($).copy = function(companyId, id, resident, sectionId, validFrom, validTo, $super) {
291
+ companyId = companyId === VOID ? this.companyId : companyId;
452
292
  id = id === VOID ? this.id : id;
453
- mobile = mobile === VOID ? this.mobile : mobile;
454
- name = name === VOID ? this.name : name;
455
- nationality = nationality === VOID ? this.nationality : nationality;
456
- personId = personId === VOID ? this.personId : personId;
457
- preferredLanguage = preferredLanguage === VOID ? this.preferredLanguage : preferredLanguage;
458
- profileUrl = profileUrl === VOID ? this.profileUrl : profileUrl;
459
- roles = roles === VOID ? this.roles : roles;
460
- username = username === VOID ? this.username : username;
461
- return $super === VOID ? this.copy_r71fnr_k$(access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username) : $super.copy_r71fnr_k$.call(this, access, country, email, id, mobile, name, nationality, personId, preferredLanguage, profileUrl, roles, username);
293
+ resident = resident === VOID ? this.resident : resident;
294
+ sectionId = sectionId === VOID ? this.sectionId : sectionId;
295
+ validFrom = validFrom === VOID ? this.validFrom : validFrom;
296
+ validTo = validTo === VOID ? this.validTo : validTo;
297
+ return $super === VOID ? this.copy_3hj6rn_k$(companyId, id, resident, sectionId, validFrom, validTo) : $super.copy_3hj6rn_k$.call(this, companyId, id, resident, sectionId, validFrom, validTo);
462
298
  };
463
299
  protoOf($).toString = function() {
464
- return "PersonUser(access=" + toString(this.access) + ", country=" + this.country + ", email=" + this.email + ", id=" + this.id + ", mobile=" + this.mobile + ", name=" + toString(this.name) + ", nationality=" + toString(this.nationality) + ", personId=" + this.personId.toString() + ", preferredLanguage=" + toString(this.preferredLanguage) + ", profileUrl=" + this.profileUrl + ", roles=" + toString(this.roles) + ", username=" + this.username + ")";
300
+ return "Attendance(companyId=" + this.companyId.toString() + ", id=" + this.id.toString() + ", resident=" + toString(this.resident) + ", sectionId=" + this.sectionId.toString() + ", validFrom=" + this.validFrom.toString() + ", validTo=" + toString_0(this.validTo) + ")";
465
301
  };
466
302
  protoOf($).hashCode = function() {
467
- var result = this.access == null ? 0 : this.access.hashCode();
468
- result = imul(result, 31) + (this.country == null ? 0 : getStringHashCode(this.country)) | 0;
469
- result = imul(result, 31) + (this.email == null ? 0 : getStringHashCode(this.email)) | 0;
470
- result = imul(result, 31) + getStringHashCode(this.id) | 0;
471
- result = imul(result, 31) + (this.mobile == null ? 0 : getStringHashCode(this.mobile)) | 0;
472
- result = imul(result, 31) + (this.name == null ? 0 : this.name.hashCode()) | 0;
473
- result = imul(result, 31) + (this.nationality == null ? 0 : getBigIntHashCode(this.nationality)) | 0;
474
- result = imul(result, 31) + getBigIntHashCode(this.personId) | 0;
475
- result = imul(result, 31) + (this.preferredLanguage == null ? 0 : getBigIntHashCode(this.preferredLanguage)) | 0;
476
- result = imul(result, 31) + (this.profileUrl == null ? 0 : getStringHashCode(this.profileUrl)) | 0;
477
- result = imul(result, 31) + (this.roles == null ? 0 : hashCode(this.roles)) | 0;
478
- result = imul(result, 31) + getStringHashCode(this.username) | 0;
303
+ var result = getBigIntHashCode(this.companyId);
304
+ result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
305
+ result = imul(result, 31) + hashCode(this.resident) | 0;
306
+ result = imul(result, 31) + getBigIntHashCode(this.sectionId) | 0;
307
+ result = imul(result, 31) + this.validFrom.hashCode() | 0;
308
+ result = imul(result, 31) + (this.validTo == null ? 0 : this.validTo.hashCode()) | 0;
479
309
  return result;
480
310
  };
481
311
  protoOf($).equals = function(other) {
482
312
  if (this === other)
483
313
  return true;
484
- if (!(other instanceof PersonUser()))
485
- return false;
486
- if (!equals(this.access, other.access))
314
+ if (!(other instanceof Attendance()))
487
315
  return false;
488
- if (!(this.country == other.country))
489
- return false;
490
- if (!(this.email == other.email))
316
+ if (!(this.companyId === other.companyId))
491
317
  return false;
492
318
  if (!(this.id === other.id))
493
319
  return false;
494
- if (!(this.mobile == other.mobile))
495
- return false;
496
- if (!equals(this.name, other.name))
320
+ if (!equals(this.resident, other.resident))
497
321
  return false;
498
- if (!(this.nationality == other.nationality))
322
+ if (!(this.sectionId === other.sectionId))
499
323
  return false;
500
- if (!(this.personId === other.personId))
324
+ if (!this.validFrom.equals(other.validFrom))
501
325
  return false;
502
- if (!(this.preferredLanguage == other.preferredLanguage))
503
- return false;
504
- if (!(this.profileUrl == other.profileUrl))
505
- return false;
506
- if (!equals(this.roles, other.roles))
507
- return false;
508
- if (!(this.username === other.username))
326
+ if (!equals(this.validTo, other.validTo))
509
327
  return false;
510
328
  return true;
511
329
  };
512
- Object.defineProperty($, "name", { value: "PersonUser", configurable: true });
513
- __soliboRegisterOwnFields($, { "access": ["model", "UserAccess"], "name": ["model", "Name"], "roles": ["list", ["model", "Role"]] });
514
- __soliboRegisterLookup("PersonUser", () => $);
515
- PersonUserClass = $;
330
+ Object.defineProperty($, "name", { value: "Attendance", configurable: true });
331
+ __soliboRegisterLookup("Attendance", () => $);
332
+ AttendanceClass = $;
516
333
  }
517
- return PersonUserClass;
334
+ return AttendanceClass;
518
335
  }
519
- __soliboRegisterLookup("Name", () => __soliboType_Name());
520
- __soliboRegisterLookup("Role", () => __soliboType_Role());
521
- __soliboRegisterLookup("UserAccess", () => __soliboType_UserAccess());
336
+ __soliboRegisterLookup("Resident", () => Resident());
522
337
 
523
- // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AuthUser.mjs
524
- import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
525
- import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
338
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipPeriod.mjs
339
+ import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
340
+ import { $serializer_getInstancei1xl24gtrm2r as $serializer_getInstance_0 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
526
341
  import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance2 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
527
342
  import { lazy1261dae0bgscp as lazy2 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
528
- import { protoOf180f3jzyo7rfj as protoOf2 } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
529
- import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
343
+ import {
344
+ protoOf180f3jzyo7rfj as protoOf2,
345
+ objectCreate1ve4bgxiu4x98 as objectCreate2,
346
+ toString1pkumu07cwy4m as toString2,
347
+ hashCodeq5arwsb9dgti as hashCode2,
348
+ equals2au1ep9vhcato as equals2
349
+ } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
530
350
  import {
531
351
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion2,
352
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject2,
532
353
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass2
533
354
  } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
534
355
  import { VOID3gxj6tk5isa35 as VOID2 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
356
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
357
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
358
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
359
+ import {
360
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers2,
361
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer2
362
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
363
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
364
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
535
365
  import { SerializableWithd2dap36updxd as SerializableWith2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
536
- import { __soliboRegisterLookup as __soliboRegisterLookup2 } from "../solibo-boundary.mjs";
537
- function _get_$cachedSerializer__te6jhj($this) {
538
- return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
366
+ import { __soliboBoundaryState as __soliboBoundaryState2, __soliboRegisterLookup as __soliboRegisterLookup2, __soliboRegisterOwnFields, __soliboToJs as __soliboToJs2, __soliboToKt as __soliboToKt2, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from "../solibo-boundary.mjs";
367
+ import { Role2m2i30nenojee as __soliboType_Role } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
368
+ var imul2 = Math.imul;
369
+ function ResidentRelationshipPeriod$Companion$$childSerializers$_anonymous__azz2xt() {
370
+ return new (ArrayListSerializer())($serializer_getInstance());
539
371
  }
540
- function AuthUser$Companion$_anonymous__hw964c() {
541
- var tmp = getKClass(AuthUser());
542
- var tmp_0 = [getKClass(ClientUser()), getKClass(PersonUser())];
543
- var tmp_1 = [$serializer_getInstance2(), $serializer_getInstance_2()];
544
- var tmp$ret$6 = [];
545
- return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.AuthUser", tmp, tmp_0, tmp_1, tmp$ret$6);
372
+ function ResidentRelationshipPeriod$Companion$$childSerializers$_anonymous__azz2xt_0() {
373
+ return new (ArrayListSerializer())($serializer_getInstance_0());
546
374
  }
547
375
  var CompanionClass2;
548
376
  function Companion2() {
@@ -551,327 +379,2553 @@ function Companion2() {
551
379
  Companion_instance2 = this;
552
380
  var tmp = this;
553
381
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
554
- tmp.$cachedSerializer$delegate_1 = lazy2(tmp_0, AuthUser$Companion$_anonymous__hw964c);
555
- };
556
- initMetadataForCompanion2($, VOID2, [SerializerFactory()]);
557
- protoOf2($).serializer_9w0wvi_k$ = function() {
558
- return _get_$cachedSerializer__te6jhj(this);
559
- };
560
- protoOf2($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
561
- return this.serializer_9w0wvi_k$();
382
+ var tmp_1 = lazy2(tmp_0, ResidentRelationshipPeriod$Companion$$childSerializers$_anonymous__azz2xt);
383
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance2();
384
+ tmp.$childSerializers_1 = [tmp_1, lazy2(tmp_2, ResidentRelationshipPeriod$Companion$$childSerializers$_anonymous__azz2xt_0)];
562
385
  };
386
+ initMetadataForCompanion2($);
563
387
  CompanionClass2 = $;
564
388
  }
565
389
  return CompanionClass2;
566
390
  }
567
391
  var Companion_instance2;
568
- function Companion_getInstance() {
392
+ function Companion_getInstance2() {
569
393
  if (Companion_instance2 == null)
570
394
  new (Companion2())();
571
395
  return Companion_instance2;
572
396
  }
573
- function AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this) {
574
- return $this;
575
- }
576
- var AuthUserClass;
577
- function AuthUser() {
578
- if (AuthUserClass === VOID2) {
579
- let $ = function() {
580
- Companion_getInstance();
581
- };
582
- initMetadataForClass2($, "AuthUser", VOID2, VOID2, VOID2, VOID2, VOID2, { 0: Companion_getInstance });
583
- Object.defineProperty($, "name", { value: "AuthUser", configurable: true });
584
- __soliboRegisterLookup2("AuthUser", () => $);
585
- AuthUserClass = $;
586
- }
587
- return AuthUserClass;
588
- }
589
-
590
- // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUser.mjs
591
- import {
592
- protoOf180f3jzyo7rfj as protoOf3,
593
- objectCreate1ve4bgxiu4x98 as objectCreate2,
594
- getStringHashCode26igk1bx568vk as getStringHashCode2,
595
- getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2
596
- } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
597
- import {
598
- initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
599
- initMetadataForObject1cxne3s9w65el as initMetadataForObject2,
600
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
601
- } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
602
- import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
603
- import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
604
- import {
605
- LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance2,
606
- StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance2
607
- } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
608
- import { Unit_instance3kz1zqli6gr1r as Unit_instance2 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
609
- import { THROW_CCE2g6jy02ryeudk as THROW_CCE2 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
610
- import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
611
- import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
612
- import {
613
- typeParametersSerializers2likxjr48tr7y as typeParametersSerializers2,
614
- GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer2
615
- } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
616
- import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
617
- import { toString30pk9tzaqopn as toString2 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
618
- import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
619
- import { __soliboBoundaryState as __soliboBoundaryState2, __soliboRegisterLookup as __soliboRegisterLookup3, __soliboToJs as __soliboToJs2, __soliboToKt as __soliboToKt2 } from "../solibo-boundary.mjs";
620
- var imul2 = Math.imul;
621
- var CompanionClass3;
622
- function Companion3() {
623
- if (CompanionClass3 === VOID3) {
624
- let $ = function() {
625
- };
626
- initMetadataForCompanion3($);
627
- CompanionClass3 = $;
628
- }
629
- return CompanionClass3;
630
- }
631
- var Companion_instance3;
632
- function Companion_getInstance2() {
633
- return Companion_instance3;
634
- }
635
397
  var $serializerClass2;
636
398
  function $serializer2() {
637
- if ($serializerClass2 === VOID3) {
399
+ if ($serializerClass2 === VOID2) {
638
400
  let $ = function() {
639
401
  $serializer_instance2 = this;
640
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("solibo.common.auth.ClientUser", this, 5);
641
- tmp0_serialDesc.addElement_5pzumi_k$("clientId", false);
642
- tmp0_serialDesc.addElement_5pzumi_k$("displayName", false);
643
- tmp0_serialDesc.addElement_5pzumi_k$("id", false);
644
- tmp0_serialDesc.addElement_5pzumi_k$("organizationId", true);
645
- tmp0_serialDesc.addElement_5pzumi_k$("personId", true);
402
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor2())("no.solibo.oss.sdk.api.gen.models.ResidentRelationshipPeriod", this, 2);
403
+ tmp0_serialDesc.addElement_5pzumi_k$("occupancies", false);
404
+ tmp0_serialDesc.addElement_5pzumi_k$("roles", false);
646
405
  this.descriptor_1 = tmp0_serialDesc;
647
406
  };
648
- initMetadataForObject2($, "$serializer", VOID3, VOID3, [GeneratedSerializer2()]);
649
- protoOf3($).serialize_e7q5gl_k$ = function(encoder, value) {
407
+ initMetadataForObject2($, "$serializer", VOID2, VOID2, [GeneratedSerializer2()]);
408
+ protoOf2($).serialize_1kgjqd_k$ = function(encoder, value) {
650
409
  var tmp0_desc = this.descriptor_1;
651
410
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
652
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 0, value.clientId);
653
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 1, value.displayName);
654
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.id);
655
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.organizationId == null)) {
656
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, LongSerializer_getInstance2(), value.organizationId);
657
- }
658
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.personId == null)) {
659
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, LongSerializer_getInstance2(), value.personId);
660
- }
411
+ var tmp2_cached = Companion_getInstance2().$childSerializers_1;
412
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.occupancies);
413
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.roles);
661
414
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
662
415
  };
663
- protoOf3($).serialize_5ase3y_k$ = function(encoder, value) {
664
- return this.serialize_e7q5gl_k$(encoder, value instanceof ClientUser() ? value : THROW_CCE2());
416
+ protoOf2($).serialize_5ase3y_k$ = function(encoder, value) {
417
+ return this.serialize_1kgjqd_k$(encoder, value instanceof ResidentRelationshipPeriod() ? value : THROW_CCE2());
665
418
  };
666
- protoOf3($).deserialize_sy6x50_k$ = function(decoder) {
419
+ protoOf2($).deserialize_sy6x50_k$ = function(decoder) {
667
420
  var tmp0_desc = this.descriptor_1;
668
421
  var tmp1_flag = true;
669
422
  var tmp2_index = 0;
670
423
  var tmp3_bitMask0 = 0;
671
424
  var tmp4_local0 = null;
672
425
  var tmp5_local1 = null;
673
- var tmp6_local2 = null;
674
- var tmp7_local3 = null;
675
- var tmp8_local4 = null;
676
- var tmp9_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
677
- if (tmp9_input.decodeSequentially_xlblqy_k$()) {
678
- tmp4_local0 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
426
+ var tmp6_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
427
+ var tmp7_cached = Companion_getInstance2().$childSerializers_1;
428
+ if (tmp6_input.decodeSequentially_xlblqy_k$()) {
429
+ tmp4_local0 = tmp6_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp7_cached[0].get_value_j01efc_k$(), tmp4_local0);
679
430
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
680
- tmp5_local1 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
431
+ tmp5_local1 = tmp6_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp7_cached[1].get_value_j01efc_k$(), tmp5_local1);
681
432
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
682
- tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
683
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
684
- tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
685
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
686
- tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
687
- tmp3_bitMask0 = tmp3_bitMask0 | 16;
688
433
  } else
689
434
  while (tmp1_flag) {
690
- tmp2_index = tmp9_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
435
+ tmp2_index = tmp6_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
691
436
  switch (tmp2_index) {
692
437
  case -1:
693
438
  tmp1_flag = false;
694
439
  break;
695
440
  case 0:
696
- tmp4_local0 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
441
+ tmp4_local0 = tmp6_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp7_cached[0].get_value_j01efc_k$(), tmp4_local0);
697
442
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
698
443
  break;
699
444
  case 1:
700
- tmp5_local1 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 1);
445
+ tmp5_local1 = tmp6_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp7_cached[1].get_value_j01efc_k$(), tmp5_local1);
701
446
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
702
447
  break;
703
- case 2:
704
- tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
705
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
706
- break;
707
- case 3:
708
- tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance2(), tmp7_local3);
709
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
710
- break;
711
- case 4:
712
- tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance2(), tmp8_local4);
713
- tmp3_bitMask0 = tmp3_bitMask0 | 16;
714
- break;
715
448
  default:
716
449
  throw UnknownFieldException_init_$Create$2(tmp2_index);
717
450
  }
718
451
  }
719
- tmp9_input.endStructure_1xqz0n_k$(tmp0_desc);
720
- return ClientUser_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
452
+ tmp6_input.endStructure_1xqz0n_k$(tmp0_desc);
453
+ return ResidentRelationshipPeriod_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
721
454
  };
722
- protoOf3($).get_descriptor_wjt6a0_k$ = function() {
455
+ protoOf2($).get_descriptor_wjt6a0_k$ = function() {
723
456
  return this.descriptor_1;
724
457
  };
725
- protoOf3($).childSerializers_5ghqw5_k$ = function() {
726
- return [StringSerializer_getInstance2(), StringSerializer_getInstance2(), StringSerializer_getInstance2(), get_nullable2(LongSerializer_getInstance2()), get_nullable2(LongSerializer_getInstance2())];
458
+ protoOf2($).childSerializers_5ghqw5_k$ = function() {
459
+ var tmp0_cached = Companion_getInstance2().$childSerializers_1;
460
+ return [tmp0_cached[0].get_value_j01efc_k$(), tmp0_cached[1].get_value_j01efc_k$()];
727
461
  };
728
- protoOf3($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers2;
462
+ protoOf2($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers2;
729
463
  $serializerClass2 = $;
730
464
  }
731
465
  return $serializerClass2;
732
466
  }
733
467
  var $serializer_instance2;
734
- function $serializer_getInstance2() {
468
+ function $serializer_getInstance_1() {
735
469
  if ($serializer_instance2 == null)
736
470
  new ($serializer2())();
737
471
  return $serializer_instance2;
738
472
  }
739
- function ClientUser_init_$Init$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker, $this) {
740
- if (!(7 === (7 & seen0))) {
741
- throwMissingFieldException2(seen0, 7, $serializer_getInstance2().descriptor_1);
473
+ function ResidentRelationshipPeriod_init_$Init$(seen0, occupancies, roles, serializationConstructorMarker, $this) {
474
+ if (!(3 === (3 & seen0))) {
475
+ throwMissingFieldException2(seen0, 3, $serializer_getInstance_1().descriptor_1);
742
476
  }
743
- AuthUser_init_$Init$(seen0, serializationConstructorMarker, $this);
744
- $this.clientId = clientId;
745
- $this.displayName = displayName;
746
- $this.id = id;
747
- if (0 === (seen0 & 8))
748
- $this.organizationId = null;
749
- else
750
- $this.organizationId = organizationId;
751
- if (0 === (seen0 & 16))
752
- $this.personId = null;
753
- else
754
- $this.personId = personId;
477
+ $this.occupancies = occupancies;
478
+ $this.roles = roles;
755
479
  return $this;
756
480
  }
757
- function ClientUser_init_$Create$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker) {
758
- return ClientUser_init_$Init$(seen0, clientId, displayName, id, organizationId, personId, serializationConstructorMarker, objectCreate2(protoOf3(ClientUser())));
481
+ function ResidentRelationshipPeriod_init_$Create$(seen0, occupancies, roles, serializationConstructorMarker) {
482
+ return ResidentRelationshipPeriod_init_$Init$(seen0, occupancies, roles, serializationConstructorMarker, objectCreate2(protoOf2(ResidentRelationshipPeriod())));
759
483
  }
760
- var ClientUserClass;
761
- function ClientUser() {
762
- if (ClientUserClass === VOID3) {
763
- let $ = function(clientId, displayName, id, organizationId, personId) {
764
- var __soliboProps = arguments.length === 1 && typeof clientId === "object" && clientId !== null && clientId.constructor === Object;
484
+ var ResidentRelationshipPeriodClass;
485
+ function ResidentRelationshipPeriod() {
486
+ if (ResidentRelationshipPeriodClass === VOID2) {
487
+ let $ = function(occupancies, roles) {
488
+ var __soliboProps = arguments.length === 1 && typeof occupancies === "object" && occupancies !== null && occupancies.constructor === Object;
765
489
  var __soliboTmp, __soliboConverted = false;
766
490
  if (__soliboProps) {
767
- const props = clientId;
768
- clientId = "clientId" in props ? props.clientId : VOID3;
769
- displayName = "displayName" in props ? props.displayName : VOID3;
770
- id = "id" in props ? props.id : VOID3;
771
- organizationId = "organizationId" in props ? props.organizationId : VOID3;
772
- personId = "personId" in props ? props.personId : VOID3;
491
+ const props = occupancies;
492
+ occupancies = "occupancies" in props ? props.occupancies : VOID2;
493
+ roles = "roles" in props ? props.roles : VOID2;
773
494
  }
774
- if ((__soliboTmp = __soliboToKt2(organizationId, ["bigint"])) !== organizationId) {
775
- organizationId = __soliboTmp;
495
+ if ((__soliboTmp = __soliboToKt2(occupancies, ["list", ["model", "Attendance"]])) !== occupancies) {
496
+ occupancies = __soliboTmp;
776
497
  __soliboConverted = true;
777
498
  }
778
- if ((__soliboTmp = __soliboToKt2(personId, ["bigint"])) !== personId) {
779
- personId = __soliboTmp;
499
+ if ((__soliboTmp = __soliboToKt2(roles, ["list", ["model", "Role"]])) !== roles) {
500
+ roles = __soliboTmp;
780
501
  __soliboConverted = true;
781
502
  }
782
- organizationId = organizationId === VOID3 ? null : organizationId;
783
- personId = personId === VOID3 ? null : personId;
784
- AuthUser().call(this);
785
- this.clientId = clientId;
786
- this.displayName = displayName;
787
- this.id = id;
788
- this.organizationId = organizationId;
789
- this.personId = personId;
503
+ Companion_getInstance2();
504
+ this.occupancies = occupancies;
505
+ this.roles = roles;
790
506
  if (__soliboConverted && !__soliboBoundaryState2.internalConstruction) return __soliboToJs2(this);
791
507
  };
792
- initMetadataForClass3($, "ClientUser", VOID3, AuthUser(), VOID3, VOID3, VOID3, { 0: $serializer_getInstance2 });
793
- protoOf3($).get_clientId_gs3e9d_k$ = function() {
794
- return this.clientId;
795
- };
796
- protoOf3($).get_displayName_sscnb0_k$ = function() {
797
- return this.displayName;
798
- };
799
- protoOf3($).get_id_kntnx8_k$ = function() {
800
- return this.id;
801
- };
802
- protoOf3($).get_organizationId_i1160n_k$ = function() {
803
- return this.organizationId;
804
- };
805
- protoOf3($).get_personId_oh37jb_k$ = function() {
806
- return this.personId;
807
- };
808
- protoOf3($).component1_7eebsc_k$ = function() {
809
- return this.clientId;
810
- };
811
- protoOf3($).component2_7eebsb_k$ = function() {
812
- return this.displayName;
508
+ initMetadataForClass2($, "ResidentRelationshipPeriod", VOID2, VOID2, VOID2, VOID2, VOID2, { 0: $serializer_getInstance_1 });
509
+ protoOf2($).get_occupancies_aejdmm_k$ = function() {
510
+ return this.occupancies;
813
511
  };
814
- protoOf3($).component3_7eebsa_k$ = function() {
815
- return this.id;
512
+ protoOf2($).get_roles_iy35hw_k$ = function() {
513
+ return this.roles;
816
514
  };
817
- protoOf3($).component4_7eebs9_k$ = function() {
818
- return this.organizationId;
515
+ protoOf2($).component1_7eebsc_k$ = function() {
516
+ return this.occupancies;
819
517
  };
820
- protoOf3($).component5_7eebs8_k$ = function() {
821
- return this.personId;
518
+ protoOf2($).component2_7eebsb_k$ = function() {
519
+ return this.roles;
822
520
  };
823
- protoOf3($).copy_9u32jf_k$ = function(clientId, displayName, id, organizationId, personId) {
824
- return new (ClientUser())(clientId, displayName, id, organizationId, personId);
521
+ protoOf2($).copy_dd55ey_k$ = function(occupancies, roles) {
522
+ return new (ResidentRelationshipPeriod())(occupancies, roles);
825
523
  };
826
- protoOf3($).copy = function(clientId, displayName, id, organizationId, personId, $super) {
827
- clientId = clientId === VOID3 ? this.clientId : clientId;
828
- displayName = displayName === VOID3 ? this.displayName : displayName;
829
- id = id === VOID3 ? this.id : id;
830
- organizationId = organizationId === VOID3 ? this.organizationId : organizationId;
831
- personId = personId === VOID3 ? this.personId : personId;
832
- return $super === VOID3 ? this.copy_9u32jf_k$(clientId, displayName, id, organizationId, personId) : $super.copy_9u32jf_k$.call(this, clientId, displayName, id, organizationId, personId);
524
+ protoOf2($).copy = function(occupancies, roles, $super) {
525
+ occupancies = occupancies === VOID2 ? this.occupancies : occupancies;
526
+ roles = roles === VOID2 ? this.roles : roles;
527
+ return $super === VOID2 ? this.copy_dd55ey_k$(occupancies, roles) : $super.copy_dd55ey_k$.call(this, occupancies, roles);
833
528
  };
834
- protoOf3($).toString = function() {
835
- return "ClientUser(clientId=" + this.clientId + ", displayName=" + this.displayName + ", id=" + this.id + ", organizationId=" + toString2(this.organizationId) + ", personId=" + toString2(this.personId) + ")";
529
+ protoOf2($).toString = function() {
530
+ return "ResidentRelationshipPeriod(occupancies=" + toString2(this.occupancies) + ", roles=" + toString2(this.roles) + ")";
836
531
  };
837
- protoOf3($).hashCode = function() {
838
- var result = getStringHashCode2(this.clientId);
839
- result = imul2(result, 31) + getStringHashCode2(this.displayName) | 0;
840
- result = imul2(result, 31) + getStringHashCode2(this.id) | 0;
841
- result = imul2(result, 31) + (this.organizationId == null ? 0 : getBigIntHashCode2(this.organizationId)) | 0;
842
- result = imul2(result, 31) + (this.personId == null ? 0 : getBigIntHashCode2(this.personId)) | 0;
532
+ protoOf2($).hashCode = function() {
533
+ var result = hashCode2(this.occupancies);
534
+ result = imul2(result, 31) + hashCode2(this.roles) | 0;
843
535
  return result;
844
536
  };
845
- protoOf3($).equals = function(other) {
537
+ protoOf2($).equals = function(other) {
846
538
  if (this === other)
847
539
  return true;
848
- if (!(other instanceof ClientUser()))
849
- return false;
850
- if (!(this.clientId === other.clientId))
851
- return false;
852
- if (!(this.displayName === other.displayName))
853
- return false;
854
- if (!(this.id === other.id))
540
+ if (!(other instanceof ResidentRelationshipPeriod()))
855
541
  return false;
856
- if (!(this.organizationId == other.organizationId))
542
+ if (!equals2(this.occupancies, other.occupancies))
857
543
  return false;
858
- if (!(this.personId == other.personId))
544
+ if (!equals2(this.roles, other.roles))
859
545
  return false;
860
546
  return true;
861
547
  };
862
- Object.defineProperty($, "name", { value: "ClientUser", configurable: true });
863
- __soliboRegisterLookup3("ClientUser", () => $);
864
- ClientUserClass = $;
548
+ Object.defineProperty($, "name", { value: "ResidentRelationshipPeriod", configurable: true });
549
+ __soliboRegisterOwnFields($, { "occupancies": ["list", ["model", "Attendance"]], "roles": ["list", ["model", "Role"]] });
550
+ __soliboRegisterLookup2("ResidentRelationshipPeriod", () => $);
551
+ ResidentRelationshipPeriodClass = $;
865
552
  }
866
- return ClientUserClass;
553
+ return ResidentRelationshipPeriodClass;
554
+ }
555
+ __soliboRegisterLookup2("Attendance", () => Attendance());
556
+ __soliboRegisterLookup2("Role", () => __soliboType_Role());
557
+
558
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipAggregate.mjs
559
+ import {
560
+ protoOf180f3jzyo7rfj as protoOf3,
561
+ objectCreate1ve4bgxiu4x98 as objectCreate3
562
+ } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
563
+ import {
564
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion3,
565
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject3,
566
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass3
567
+ } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
568
+ import { VOID3gxj6tk5isa35 as VOID3 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
569
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
570
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE3 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
571
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
572
+ import {
573
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers3,
574
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer3
575
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
576
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
577
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance3 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
578
+ import { SerializableWithd2dap36updxd as SerializableWith3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
579
+ import { __soliboBoundaryState as __soliboBoundaryState3, __soliboRegisterLookup as __soliboRegisterLookup3, __soliboRegisterOwnFields as __soliboRegisterOwnFields2, __soliboToJs as __soliboToJs3, __soliboToKt as __soliboToKt3, __soliboWrapAccessor as __soliboWrapAccessor2, __soliboWrapFunction as __soliboWrapFunction2, __soliboWrapMethod as __soliboWrapMethod2 } from "../solibo-boundary.mjs";
580
+ var imul3 = Math.imul;
581
+ var CompanionClass3;
582
+ function Companion3() {
583
+ if (CompanionClass3 === VOID3) {
584
+ let $ = function() {
585
+ };
586
+ initMetadataForCompanion3($);
587
+ CompanionClass3 = $;
588
+ }
589
+ return CompanionClass3;
590
+ }
591
+ var Companion_instance3;
592
+ function Companion_getInstance3() {
593
+ return Companion_instance3;
594
+ }
595
+ var $serializerClass3;
596
+ function $serializer3() {
597
+ if ($serializerClass3 === VOID3) {
598
+ let $ = function() {
599
+ $serializer_instance3 = this;
600
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor3())("no.solibo.oss.sdk.api.gen.models.ResidentRelationshipAggregate", this, 3);
601
+ tmp0_serialDesc.addElement_5pzumi_k$("current", false);
602
+ tmp0_serialDesc.addElement_5pzumi_k$("future", false);
603
+ tmp0_serialDesc.addElement_5pzumi_k$("historic", false);
604
+ this.descriptor_1 = tmp0_serialDesc;
605
+ };
606
+ initMetadataForObject3($, "$serializer", VOID3, VOID3, [GeneratedSerializer3()]);
607
+ protoOf3($).serialize_crm4et_k$ = function(encoder, value) {
608
+ var tmp0_desc = this.descriptor_1;
609
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
610
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, $serializer_getInstance_1(), value.current);
611
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, $serializer_getInstance_1(), value.future);
612
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, $serializer_getInstance_1(), value.historic);
613
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
614
+ };
615
+ protoOf3($).serialize_5ase3y_k$ = function(encoder, value) {
616
+ return this.serialize_crm4et_k$(encoder, value instanceof ResidentRelationshipAggregate() ? value : THROW_CCE3());
617
+ };
618
+ protoOf3($).deserialize_sy6x50_k$ = function(decoder) {
619
+ var tmp0_desc = this.descriptor_1;
620
+ var tmp1_flag = true;
621
+ var tmp2_index = 0;
622
+ var tmp3_bitMask0 = 0;
623
+ var tmp4_local0 = null;
624
+ var tmp5_local1 = null;
625
+ var tmp6_local2 = null;
626
+ var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
627
+ if (tmp7_input.decodeSequentially_xlblqy_k$()) {
628
+ tmp4_local0 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_1(), tmp4_local0);
629
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
630
+ tmp5_local1 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, $serializer_getInstance_1(), tmp5_local1);
631
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
632
+ tmp6_local2 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
633
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
634
+ } else
635
+ while (tmp1_flag) {
636
+ tmp2_index = tmp7_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
637
+ switch (tmp2_index) {
638
+ case -1:
639
+ tmp1_flag = false;
640
+ break;
641
+ case 0:
642
+ tmp4_local0 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_1(), tmp4_local0);
643
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
644
+ break;
645
+ case 1:
646
+ tmp5_local1 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, $serializer_getInstance_1(), tmp5_local1);
647
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
648
+ break;
649
+ case 2:
650
+ tmp6_local2 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, $serializer_getInstance_1(), tmp6_local2);
651
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
652
+ break;
653
+ default:
654
+ throw UnknownFieldException_init_$Create$3(tmp2_index);
655
+ }
656
+ }
657
+ tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
658
+ return ResidentRelationshipAggregate_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
659
+ };
660
+ protoOf3($).get_descriptor_wjt6a0_k$ = function() {
661
+ return this.descriptor_1;
662
+ };
663
+ protoOf3($).childSerializers_5ghqw5_k$ = function() {
664
+ return [$serializer_getInstance_1(), $serializer_getInstance_1(), $serializer_getInstance_1()];
665
+ };
666
+ protoOf3($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers3;
667
+ $serializerClass3 = $;
668
+ }
669
+ return $serializerClass3;
670
+ }
671
+ var $serializer_instance3;
672
+ function $serializer_getInstance_02() {
673
+ if ($serializer_instance3 == null)
674
+ new ($serializer3())();
675
+ return $serializer_instance3;
676
+ }
677
+ function ResidentRelationshipAggregate_init_$Init$(seen0, current, future, historic, serializationConstructorMarker, $this) {
678
+ if (!(7 === (7 & seen0))) {
679
+ throwMissingFieldException3(seen0, 7, $serializer_getInstance_02().descriptor_1);
680
+ }
681
+ $this.current = current;
682
+ $this.future = future;
683
+ $this.historic = historic;
684
+ return $this;
685
+ }
686
+ function ResidentRelationshipAggregate_init_$Create$(seen0, current, future, historic, serializationConstructorMarker) {
687
+ return ResidentRelationshipAggregate_init_$Init$(seen0, current, future, historic, serializationConstructorMarker, objectCreate3(protoOf3(ResidentRelationshipAggregate())));
688
+ }
689
+ var ResidentRelationshipAggregateClass;
690
+ function ResidentRelationshipAggregate() {
691
+ if (ResidentRelationshipAggregateClass === VOID3) {
692
+ let $ = function(current, future, historic) {
693
+ var __soliboProps = arguments.length === 1 && typeof current === "object" && current !== null && current.constructor === Object;
694
+ var __soliboTmp, __soliboConverted = false;
695
+ if (__soliboProps) {
696
+ const props = current;
697
+ current = "current" in props ? props.current : VOID3;
698
+ future = "future" in props ? props.future : VOID3;
699
+ historic = "historic" in props ? props.historic : VOID3;
700
+ }
701
+ if ((__soliboTmp = __soliboToKt3(current, ["model", "ResidentRelationshipPeriod"])) !== current) {
702
+ current = __soliboTmp;
703
+ __soliboConverted = true;
704
+ }
705
+ if ((__soliboTmp = __soliboToKt3(future, ["model", "ResidentRelationshipPeriod"])) !== future) {
706
+ future = __soliboTmp;
707
+ __soliboConverted = true;
708
+ }
709
+ if ((__soliboTmp = __soliboToKt3(historic, ["model", "ResidentRelationshipPeriod"])) !== historic) {
710
+ historic = __soliboTmp;
711
+ __soliboConverted = true;
712
+ }
713
+ this.current = current;
714
+ this.future = future;
715
+ this.historic = historic;
716
+ if (__soliboConverted && !__soliboBoundaryState3.internalConstruction) return __soliboToJs3(this);
717
+ };
718
+ initMetadataForClass3($, "ResidentRelationshipAggregate", VOID3, VOID3, VOID3, VOID3, VOID3, { 0: $serializer_getInstance_02 });
719
+ protoOf3($).get_current_jwi6j4_k$ = function() {
720
+ return this.current;
721
+ };
722
+ protoOf3($).get_future_diq18s_k$ = function() {
723
+ return this.future;
724
+ };
725
+ protoOf3($).get_historic_h8ftig_k$ = function() {
726
+ return this.historic;
727
+ };
728
+ protoOf3($).component1_7eebsc_k$ = function() {
729
+ return this.current;
730
+ };
731
+ protoOf3($).component2_7eebsb_k$ = function() {
732
+ return this.future;
733
+ };
734
+ protoOf3($).component3_7eebsa_k$ = function() {
735
+ return this.historic;
736
+ };
737
+ protoOf3($).copy_ve89x9_k$ = function(current, future, historic) {
738
+ return new (ResidentRelationshipAggregate())(current, future, historic);
739
+ };
740
+ protoOf3($).copy = function(current, future, historic, $super) {
741
+ current = current === VOID3 ? this.current : current;
742
+ future = future === VOID3 ? this.future : future;
743
+ historic = historic === VOID3 ? this.historic : historic;
744
+ return $super === VOID3 ? this.copy_ve89x9_k$(current, future, historic) : $super.copy_ve89x9_k$.call(this, current, future, historic);
745
+ };
746
+ protoOf3($).toString = function() {
747
+ return "ResidentRelationshipAggregate(current=" + this.current.toString() + ", future=" + this.future.toString() + ", historic=" + this.historic.toString() + ")";
748
+ };
749
+ protoOf3($).hashCode = function() {
750
+ var result = this.current.hashCode();
751
+ result = imul3(result, 31) + this.future.hashCode() | 0;
752
+ result = imul3(result, 31) + this.historic.hashCode() | 0;
753
+ return result;
754
+ };
755
+ protoOf3($).equals = function(other) {
756
+ if (this === other)
757
+ return true;
758
+ if (!(other instanceof ResidentRelationshipAggregate()))
759
+ return false;
760
+ if (!this.current.equals(other.current))
761
+ return false;
762
+ if (!this.future.equals(other.future))
763
+ return false;
764
+ if (!this.historic.equals(other.historic))
765
+ return false;
766
+ return true;
767
+ };
768
+ Object.defineProperty($, "name", { value: "ResidentRelationshipAggregate", configurable: true });
769
+ __soliboRegisterOwnFields2($, { "current": ["model", "ResidentRelationshipPeriod"], "future": ["model", "ResidentRelationshipPeriod"], "historic": ["model", "ResidentRelationshipPeriod"] });
770
+ __soliboRegisterLookup3("ResidentRelationshipAggregate", () => $);
771
+ ResidentRelationshipAggregateClass = $;
772
+ }
773
+ return ResidentRelationshipAggregateClass;
774
+ }
775
+ Companion_instance3 = new (Companion3())();
776
+ __soliboRegisterLookup3("ResidentRelationshipPeriod", () => ResidentRelationshipPeriod());
777
+
778
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationResident.mjs
779
+ import {
780
+ ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer2,
781
+ LinkedHashMapSerializermaoj2nyji7op as LinkedHashMapSerializer
782
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
783
+ import { $serializer_getInstancei1xl24gtrm2r as $serializer_getInstance_03 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
784
+ import { $serializer_getInstancewozh4ynnjvne as $serializer_getInstance_12 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ParkingSpaceOwnership.mjs";
785
+ import { $serializer_getInstance3n33oaya9hqkg as $serializer_getInstance_2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SearchMatch.mjs";
786
+ import { $serializer_getInstance1s9oe0ng6xo2z as $serializer_getInstance_3 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/StorageRoomOwnership.mjs";
787
+ import { $serializer_getInstance1ppforsu8xwmb as $serializer_getInstance_4 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationEmployee.mjs";
788
+ import { Companion_getInstance25z09y6q6rzib as Companion_getInstance4 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationNumberType.mjs";
789
+ import {
790
+ StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
791
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
792
+ LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance2
793
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
794
+ import { $serializer_getInstance1aufdb02prd13 as $serializer_getInstance_5 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationReservations.mjs";
795
+ import { get_nullable197rfua9r7fsz as get_nullable2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
796
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance3 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
797
+ import { lazy1261dae0bgscp as lazy3 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
798
+ import {
799
+ protoOf180f3jzyo7rfj as protoOf4,
800
+ objectCreate1ve4bgxiu4x98 as objectCreate4,
801
+ getStringHashCode26igk1bx568vk as getStringHashCode,
802
+ hashCodeq5arwsb9dgti as hashCode3,
803
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode2,
804
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
805
+ equals2au1ep9vhcato as equals3
806
+ } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
807
+ import {
808
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion4,
809
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject4,
810
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass4
811
+ } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
812
+ import { VOID3gxj6tk5isa35 as VOID4 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
813
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
814
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance4 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
815
+ import { $serializer_getInstance39ah9vs56z62k as $serializer_getInstance_6 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
816
+ import { $serializer_getInstancerdh476l8vnzy as $serializer_getInstance_7 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
817
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE4 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
818
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
819
+ import {
820
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers4,
821
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer4
822
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
823
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
824
+ import { toString30pk9tzaqopn as toString3 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
825
+ import { SerializableWithd2dap36updxd as SerializableWith4 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
826
+ import { __soliboBoundaryState as __soliboBoundaryState4, __soliboRegisterLookup as __soliboRegisterLookup4, __soliboRegisterOwnFields as __soliboRegisterOwnFields3, __soliboToJs as __soliboToJs4, __soliboToKt as __soliboToKt4, __soliboWrapAccessor as __soliboWrapAccessor3, __soliboWrapFunction as __soliboWrapFunction3, __soliboWrapMethod as __soliboWrapMethod3 } from "../solibo-boundary.mjs";
827
+ import { BusinessAddress1mbxnr7mf6ws3 as __soliboType_BusinessAddress } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessAddress.mjs";
828
+ import { BusinessContact3gllsynq58xs4 as __soliboType_BusinessContact } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BusinessContact.mjs";
829
+ import { OrganizationEmployee1n7v5908s0o57 as __soliboType_OrganizationEmployee } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationEmployee.mjs";
830
+ import { OrganizationNumberType2p44g7e9ysiyt as __soliboType_OrganizationNumberType } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationNumberType.mjs";
831
+ import { OrganizationReservationss2v6yvhic2va as __soliboType_OrganizationReservations } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationReservations.mjs";
832
+ import { ParkingSpaceOwnership6mm1elbe5ezi as __soliboType_ParkingSpaceOwnership } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ParkingSpaceOwnership.mjs";
833
+ import { Role2m2i30nenojee as __soliboType_Role2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
834
+ import { SearchMatch1t96enctwb48b as __soliboType_SearchMatch } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SearchMatch.mjs";
835
+ import { StorageRoomOwnership1fx74kdb2tzt3 as __soliboType_StorageRoomOwnership } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/StorageRoomOwnership.mjs";
836
+ var imul4 = Math.imul;
837
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1() {
838
+ return new (ArrayListSerializer2())($serializer_getInstance());
839
+ }
840
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_0() {
841
+ return new (ArrayListSerializer2())($serializer_getInstance_03());
842
+ }
843
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_1() {
844
+ return new (ArrayListSerializer2())($serializer_getInstance_12());
845
+ }
846
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_2() {
847
+ return new (ArrayListSerializer2())($serializer_getInstance_03());
848
+ }
849
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_3() {
850
+ return new (ArrayListSerializer2())($serializer_getInstance_2());
851
+ }
852
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_4() {
853
+ return new (ArrayListSerializer2())($serializer_getInstance_3());
854
+ }
855
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_5() {
856
+ return new (ArrayListSerializer2())($serializer_getInstance_4());
857
+ }
858
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_6() {
859
+ return Companion_getInstance4().serializer_9w0wvi_k$();
860
+ }
861
+ function OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_7() {
862
+ return new (LinkedHashMapSerializer())(StringSerializer_getInstance(), get_nullable2($serializer_getInstance_5()));
863
+ }
864
+ var CompanionClass4;
865
+ function Companion4() {
866
+ if (CompanionClass4 === VOID4) {
867
+ let $ = function() {
868
+ Companion_instance4 = this;
869
+ var tmp = this;
870
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
871
+ var tmp_1 = lazy3(tmp_0, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1);
872
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
873
+ var tmp_3 = lazy3(tmp_2, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_0);
874
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
875
+ var tmp_5 = lazy3(tmp_4, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_1);
876
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
877
+ var tmp_7 = lazy3(tmp_6, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_2);
878
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
879
+ var tmp_9 = lazy3(tmp_8, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_3);
880
+ var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
881
+ var tmp_11 = lazy3(tmp_10, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_4);
882
+ var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
883
+ var tmp_13 = lazy3(tmp_12, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_5);
884
+ var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
885
+ var tmp_15 = lazy3(tmp_14, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_6);
886
+ var tmp_16 = LazyThreadSafetyMode_PUBLICATION_getInstance3();
887
+ tmp.$childSerializers_1 = [null, tmp_1, null, tmp_3, null, null, null, tmp_5, null, null, null, tmp_7, tmp_9, tmp_11, null, null, tmp_13, null, null, tmp_15, null, lazy3(tmp_16, OrganizationResident$Companion$$childSerializers$_anonymous__xgycu1_7)];
888
+ };
889
+ initMetadataForCompanion4($);
890
+ CompanionClass4 = $;
891
+ }
892
+ return CompanionClass4;
893
+ }
894
+ var Companion_instance4;
895
+ function Companion_getInstance_1() {
896
+ if (Companion_instance4 == null) {
897
+ Companion_getInstance();
898
+ new (Companion4())();
899
+ }
900
+ return Companion_instance4;
901
+ }
902
+ var $serializerClass4;
903
+ function $serializer4() {
904
+ if ($serializerClass4 === VOID4) {
905
+ let $ = function() {
906
+ $serializer_instance4 = this;
907
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor4())("solibo.residents.query.domain.OrganizationResident", this, 22);
908
+ tmp0_serialDesc.addElement_5pzumi_k$("accountNumber", true);
909
+ tmp0_serialDesc.addElement_5pzumi_k$("attendances", true);
910
+ tmp0_serialDesc.addElement_5pzumi_k$("country", false);
911
+ tmp0_serialDesc.addElement_5pzumi_k$("historicRoles", true);
912
+ tmp0_serialDesc.addElement_5pzumi_k$("id", false);
913
+ tmp0_serialDesc.addElement_5pzumi_k$("nationality", false);
914
+ tmp0_serialDesc.addElement_5pzumi_k$("note", true);
915
+ tmp0_serialDesc.addElement_5pzumi_k$("parkingSpaces", true);
916
+ tmp0_serialDesc.addElement_5pzumi_k$("profileUrl", true);
917
+ tmp0_serialDesc.addElement_5pzumi_k$("reservedEmail", true);
918
+ tmp0_serialDesc.addElement_5pzumi_k$("reservedSMS", true);
919
+ tmp0_serialDesc.addElement_5pzumi_k$("roles", true);
920
+ tmp0_serialDesc.addElement_5pzumi_k$("searchMatches", true);
921
+ tmp0_serialDesc.addElement_5pzumi_k$("storageRooms", true);
922
+ tmp0_serialDesc.addElement_5pzumi_k$("businessAddress", true);
923
+ tmp0_serialDesc.addElement_5pzumi_k$("businessContact", true);
924
+ tmp0_serialDesc.addElement_5pzumi_k$("employees", true);
925
+ tmp0_serialDesc.addElement_5pzumi_k$("name", false);
926
+ tmp0_serialDesc.addElement_5pzumi_k$("orgNr", true);
927
+ tmp0_serialDesc.addElement_5pzumi_k$("orgNrType", true);
928
+ tmp0_serialDesc.addElement_5pzumi_k$("relationships", true);
929
+ tmp0_serialDesc.addElement_5pzumi_k$("reservations", true);
930
+ this.descriptor_1 = tmp0_serialDesc;
931
+ };
932
+ initMetadataForObject4($, "$serializer", VOID4, VOID4, [GeneratedSerializer4()]);
933
+ protoOf4($).serialize_u6oecx_k$ = function(encoder, value) {
934
+ var tmp0_desc = this.descriptor_1;
935
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
936
+ var tmp2_cached = Companion_getInstance_1().$childSerializers_1;
937
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.accountNumber_1 == null)) {
938
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance(), value.accountNumber_1);
939
+ }
940
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.attendances_1 == null)) {
941
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.attendances_1);
942
+ }
943
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.country_1);
944
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.historicRoles_1 == null)) {
945
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.historicRoles_1);
946
+ }
947
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.id_1);
948
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.nationality_1);
949
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.note_1 == null)) {
950
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance(), value.note_1);
951
+ }
952
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.parkingSpaces_1 == null)) {
953
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.parkingSpaces_1);
954
+ }
955
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.profileUrl_1 == null)) {
956
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.profileUrl_1);
957
+ }
958
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.reservedEmail_1 == null)) {
959
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, BooleanSerializer_getInstance(), value.reservedEmail_1);
960
+ }
961
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.reservedSMS_1 == null)) {
962
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), value.reservedSMS_1);
963
+ }
964
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.roles_1 == null)) {
965
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.roles_1);
966
+ }
967
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.searchMatches_1 == null)) {
968
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.searchMatches_1);
969
+ }
970
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.storageRooms_1 == null)) {
971
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.storageRooms_1);
972
+ }
973
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.businessAddress == null)) {
974
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, $serializer_getInstance_6(), value.businessAddress);
975
+ }
976
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 15) ? true : !(value.businessContact == null)) {
977
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 15, $serializer_getInstance_7(), value.businessContact);
978
+ }
979
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.employees == null)) {
980
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, tmp2_cached[16].get_value_j01efc_k$(), value.employees);
981
+ }
982
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 17, value.name);
983
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.orgNr == null)) {
984
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, StringSerializer_getInstance(), value.orgNr);
985
+ }
986
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.orgNrType == null)) {
987
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, tmp2_cached[19].get_value_j01efc_k$(), value.orgNrType);
988
+ }
989
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.relationships == null)) {
990
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, $serializer_getInstance_02(), value.relationships);
991
+ }
992
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.reservations == null)) {
993
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, tmp2_cached[21].get_value_j01efc_k$(), value.reservations);
994
+ }
995
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
996
+ };
997
+ protoOf4($).serialize_5ase3y_k$ = function(encoder, value) {
998
+ return this.serialize_u6oecx_k$(encoder, value instanceof OrganizationResident() ? value : THROW_CCE4());
999
+ };
1000
+ protoOf4($).deserialize_sy6x50_k$ = function(decoder) {
1001
+ var tmp0_desc = this.descriptor_1;
1002
+ var tmp1_flag = true;
1003
+ var tmp2_index = 0;
1004
+ var tmp3_bitMask0 = 0;
1005
+ var tmp4_local0 = null;
1006
+ var tmp5_local1 = null;
1007
+ var tmp6_local2 = null;
1008
+ var tmp7_local3 = null;
1009
+ var tmp8_local4 = 0n;
1010
+ var tmp9_local5 = 0n;
1011
+ var tmp10_local6 = null;
1012
+ var tmp11_local7 = null;
1013
+ var tmp12_local8 = null;
1014
+ var tmp13_local9 = null;
1015
+ var tmp14_local10 = null;
1016
+ var tmp15_local11 = null;
1017
+ var tmp16_local12 = null;
1018
+ var tmp17_local13 = null;
1019
+ var tmp18_local14 = null;
1020
+ var tmp19_local15 = null;
1021
+ var tmp20_local16 = null;
1022
+ var tmp21_local17 = null;
1023
+ var tmp22_local18 = null;
1024
+ var tmp23_local19 = null;
1025
+ var tmp24_local20 = null;
1026
+ var tmp25_local21 = null;
1027
+ var tmp26_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
1028
+ var tmp27_cached = Companion_getInstance_1().$childSerializers_1;
1029
+ if (tmp26_input.decodeSequentially_xlblqy_k$()) {
1030
+ tmp4_local0 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1031
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
1032
+ tmp5_local1 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp27_cached[1].get_value_j01efc_k$(), tmp5_local1);
1033
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
1034
+ tmp6_local2 = tmp26_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
1035
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
1036
+ tmp7_local3 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp27_cached[3].get_value_j01efc_k$(), tmp7_local3);
1037
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
1038
+ tmp8_local4 = tmp26_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
1039
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
1040
+ tmp9_local5 = tmp26_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
1041
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
1042
+ tmp10_local6 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1043
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
1044
+ tmp11_local7 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp27_cached[7].get_value_j01efc_k$(), tmp11_local7);
1045
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
1046
+ tmp12_local8 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1047
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
1048
+ tmp13_local9 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
1049
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
1050
+ tmp14_local10 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
1051
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1052
+ tmp15_local11 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp27_cached[11].get_value_j01efc_k$(), tmp15_local11);
1053
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1054
+ tmp16_local12 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp27_cached[12].get_value_j01efc_k$(), tmp16_local12);
1055
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
1056
+ tmp17_local13 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp27_cached[13].get_value_j01efc_k$(), tmp17_local13);
1057
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
1058
+ tmp18_local14 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_6(), tmp18_local14);
1059
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
1060
+ tmp19_local15 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, $serializer_getInstance_7(), tmp19_local15);
1061
+ tmp3_bitMask0 = tmp3_bitMask0 | 32768;
1062
+ tmp20_local16 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, tmp27_cached[16].get_value_j01efc_k$(), tmp20_local16);
1063
+ tmp3_bitMask0 = tmp3_bitMask0 | 65536;
1064
+ tmp21_local17 = tmp26_input.decodeStringElement_3oenpg_k$(tmp0_desc, 17);
1065
+ tmp3_bitMask0 = tmp3_bitMask0 | 131072;
1066
+ tmp22_local18 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance(), tmp22_local18);
1067
+ tmp3_bitMask0 = tmp3_bitMask0 | 262144;
1068
+ tmp23_local19 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, tmp27_cached[19].get_value_j01efc_k$(), tmp23_local19);
1069
+ tmp3_bitMask0 = tmp3_bitMask0 | 524288;
1070
+ tmp24_local20 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, $serializer_getInstance_02(), tmp24_local20);
1071
+ tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
1072
+ tmp25_local21 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp27_cached[21].get_value_j01efc_k$(), tmp25_local21);
1073
+ tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
1074
+ } else
1075
+ while (tmp1_flag) {
1076
+ tmp2_index = tmp26_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
1077
+ switch (tmp2_index) {
1078
+ case -1:
1079
+ tmp1_flag = false;
1080
+ break;
1081
+ case 0:
1082
+ tmp4_local0 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1083
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
1084
+ break;
1085
+ case 1:
1086
+ tmp5_local1 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp27_cached[1].get_value_j01efc_k$(), tmp5_local1);
1087
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
1088
+ break;
1089
+ case 2:
1090
+ tmp6_local2 = tmp26_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
1091
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
1092
+ break;
1093
+ case 3:
1094
+ tmp7_local3 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp27_cached[3].get_value_j01efc_k$(), tmp7_local3);
1095
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
1096
+ break;
1097
+ case 4:
1098
+ tmp8_local4 = tmp26_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
1099
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
1100
+ break;
1101
+ case 5:
1102
+ tmp9_local5 = tmp26_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
1103
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
1104
+ break;
1105
+ case 6:
1106
+ tmp10_local6 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1107
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
1108
+ break;
1109
+ case 7:
1110
+ tmp11_local7 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp27_cached[7].get_value_j01efc_k$(), tmp11_local7);
1111
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
1112
+ break;
1113
+ case 8:
1114
+ tmp12_local8 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1115
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
1116
+ break;
1117
+ case 9:
1118
+ tmp13_local9 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, BooleanSerializer_getInstance(), tmp13_local9);
1119
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
1120
+ break;
1121
+ case 10:
1122
+ tmp14_local10 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
1123
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1124
+ break;
1125
+ case 11:
1126
+ tmp15_local11 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp27_cached[11].get_value_j01efc_k$(), tmp15_local11);
1127
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1128
+ break;
1129
+ case 12:
1130
+ tmp16_local12 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp27_cached[12].get_value_j01efc_k$(), tmp16_local12);
1131
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
1132
+ break;
1133
+ case 13:
1134
+ tmp17_local13 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp27_cached[13].get_value_j01efc_k$(), tmp17_local13);
1135
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
1136
+ break;
1137
+ case 14:
1138
+ tmp18_local14 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_6(), tmp18_local14);
1139
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
1140
+ break;
1141
+ case 15:
1142
+ tmp19_local15 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, $serializer_getInstance_7(), tmp19_local15);
1143
+ tmp3_bitMask0 = tmp3_bitMask0 | 32768;
1144
+ break;
1145
+ case 16:
1146
+ tmp20_local16 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, tmp27_cached[16].get_value_j01efc_k$(), tmp20_local16);
1147
+ tmp3_bitMask0 = tmp3_bitMask0 | 65536;
1148
+ break;
1149
+ case 17:
1150
+ tmp21_local17 = tmp26_input.decodeStringElement_3oenpg_k$(tmp0_desc, 17);
1151
+ tmp3_bitMask0 = tmp3_bitMask0 | 131072;
1152
+ break;
1153
+ case 18:
1154
+ tmp22_local18 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance(), tmp22_local18);
1155
+ tmp3_bitMask0 = tmp3_bitMask0 | 262144;
1156
+ break;
1157
+ case 19:
1158
+ tmp23_local19 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, tmp27_cached[19].get_value_j01efc_k$(), tmp23_local19);
1159
+ tmp3_bitMask0 = tmp3_bitMask0 | 524288;
1160
+ break;
1161
+ case 20:
1162
+ tmp24_local20 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, $serializer_getInstance_02(), tmp24_local20);
1163
+ tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
1164
+ break;
1165
+ case 21:
1166
+ tmp25_local21 = tmp26_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, tmp27_cached[21].get_value_j01efc_k$(), tmp25_local21);
1167
+ tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
1168
+ break;
1169
+ default:
1170
+ throw UnknownFieldException_init_$Create$4(tmp2_index);
1171
+ }
1172
+ }
1173
+ tmp26_input.endStructure_1xqz0n_k$(tmp0_desc);
1174
+ return OrganizationResident_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, null);
1175
+ };
1176
+ protoOf4($).get_descriptor_wjt6a0_k$ = function() {
1177
+ return this.descriptor_1;
1178
+ };
1179
+ protoOf4($).childSerializers_5ghqw5_k$ = function() {
1180
+ var tmp0_cached = Companion_getInstance_1().$childSerializers_1;
1181
+ return [get_nullable2(StringSerializer_getInstance()), get_nullable2(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable2(tmp0_cached[3].get_value_j01efc_k$()), LongSerializer_getInstance2(), LongSerializer_getInstance2(), get_nullable2(StringSerializer_getInstance()), get_nullable2(tmp0_cached[7].get_value_j01efc_k$()), get_nullable2(StringSerializer_getInstance()), get_nullable2(BooleanSerializer_getInstance()), get_nullable2(BooleanSerializer_getInstance()), get_nullable2(tmp0_cached[11].get_value_j01efc_k$()), get_nullable2(tmp0_cached[12].get_value_j01efc_k$()), get_nullable2(tmp0_cached[13].get_value_j01efc_k$()), get_nullable2($serializer_getInstance_6()), get_nullable2($serializer_getInstance_7()), get_nullable2(tmp0_cached[16].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable2(StringSerializer_getInstance()), get_nullable2(tmp0_cached[19].get_value_j01efc_k$()), get_nullable2($serializer_getInstance_02()), get_nullable2(tmp0_cached[21].get_value_j01efc_k$())];
1182
+ };
1183
+ protoOf4($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers4;
1184
+ $serializerClass4 = $;
1185
+ }
1186
+ return $serializerClass4;
1187
+ }
1188
+ var $serializer_instance4;
1189
+ function $serializer_getInstance_9() {
1190
+ if ($serializer_instance4 == null)
1191
+ new ($serializer4())();
1192
+ return $serializer_instance4;
1193
+ }
1194
+ function OrganizationResident_init_$Init$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations, serializationConstructorMarker, $this) {
1195
+ if (!(131124 === (131124 & seen0))) {
1196
+ throwMissingFieldException4(seen0, 131124, $serializer_getInstance_9().descriptor_1);
1197
+ }
1198
+ Resident_init_$Init$(seen0, serializationConstructorMarker, $this);
1199
+ if (0 === (seen0 & 1))
1200
+ $this.accountNumber_1 = null;
1201
+ else
1202
+ $this.accountNumber_1 = accountNumber;
1203
+ if (0 === (seen0 & 2))
1204
+ $this.attendances_1 = null;
1205
+ else
1206
+ $this.attendances_1 = attendances;
1207
+ $this.country_1 = country;
1208
+ if (0 === (seen0 & 8))
1209
+ $this.historicRoles_1 = null;
1210
+ else
1211
+ $this.historicRoles_1 = historicRoles;
1212
+ $this.id_1 = id;
1213
+ $this.nationality_1 = nationality;
1214
+ if (0 === (seen0 & 64))
1215
+ $this.note_1 = null;
1216
+ else
1217
+ $this.note_1 = note;
1218
+ if (0 === (seen0 & 128))
1219
+ $this.parkingSpaces_1 = null;
1220
+ else
1221
+ $this.parkingSpaces_1 = parkingSpaces;
1222
+ if (0 === (seen0 & 256))
1223
+ $this.profileUrl_1 = null;
1224
+ else
1225
+ $this.profileUrl_1 = profileUrl;
1226
+ if (0 === (seen0 & 512))
1227
+ $this.reservedEmail_1 = null;
1228
+ else
1229
+ $this.reservedEmail_1 = reservedEmail;
1230
+ if (0 === (seen0 & 1024))
1231
+ $this.reservedSMS_1 = null;
1232
+ else
1233
+ $this.reservedSMS_1 = reservedSMS;
1234
+ if (0 === (seen0 & 2048))
1235
+ $this.roles_1 = null;
1236
+ else
1237
+ $this.roles_1 = roles;
1238
+ if (0 === (seen0 & 4096))
1239
+ $this.searchMatches_1 = null;
1240
+ else
1241
+ $this.searchMatches_1 = searchMatches;
1242
+ if (0 === (seen0 & 8192))
1243
+ $this.storageRooms_1 = null;
1244
+ else
1245
+ $this.storageRooms_1 = storageRooms;
1246
+ if (0 === (seen0 & 16384))
1247
+ $this.businessAddress = null;
1248
+ else
1249
+ $this.businessAddress = businessAddress;
1250
+ if (0 === (seen0 & 32768))
1251
+ $this.businessContact = null;
1252
+ else
1253
+ $this.businessContact = businessContact;
1254
+ if (0 === (seen0 & 65536))
1255
+ $this.employees = null;
1256
+ else
1257
+ $this.employees = employees;
1258
+ $this.name = name;
1259
+ if (0 === (seen0 & 262144))
1260
+ $this.orgNr = null;
1261
+ else
1262
+ $this.orgNr = orgNr;
1263
+ if (0 === (seen0 & 524288))
1264
+ $this.orgNrType = null;
1265
+ else
1266
+ $this.orgNrType = orgNrType;
1267
+ if (0 === (seen0 & 1048576))
1268
+ $this.relationships = null;
1269
+ else
1270
+ $this.relationships = relationships;
1271
+ if (0 === (seen0 & 2097152))
1272
+ $this.reservations = null;
1273
+ else
1274
+ $this.reservations = reservations;
1275
+ return $this;
1276
+ }
1277
+ function OrganizationResident_init_$Create$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations, serializationConstructorMarker) {
1278
+ return OrganizationResident_init_$Init$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations, serializationConstructorMarker, objectCreate4(protoOf4(OrganizationResident())));
1279
+ }
1280
+ var OrganizationResidentClass;
1281
+ function OrganizationResident() {
1282
+ if (OrganizationResidentClass === VOID4) {
1283
+ let $ = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations) {
1284
+ var __soliboProps = arguments.length === 1 && typeof accountNumber === "object" && accountNumber !== null && accountNumber.constructor === Object;
1285
+ var __soliboTmp, __soliboConverted = false;
1286
+ if (__soliboProps) {
1287
+ const props = accountNumber;
1288
+ accountNumber = "accountNumber" in props ? props.accountNumber : VOID4;
1289
+ attendances = "attendances" in props ? props.attendances : VOID4;
1290
+ country = "country" in props ? props.country : VOID4;
1291
+ historicRoles = "historicRoles" in props ? props.historicRoles : VOID4;
1292
+ id = "id" in props ? props.id : VOID4;
1293
+ nationality = "nationality" in props ? props.nationality : VOID4;
1294
+ note = "note" in props ? props.note : VOID4;
1295
+ parkingSpaces = "parkingSpaces" in props ? props.parkingSpaces : VOID4;
1296
+ profileUrl = "profileUrl" in props ? props.profileUrl : VOID4;
1297
+ reservedEmail = "reservedEmail" in props ? props.reservedEmail : VOID4;
1298
+ reservedSMS = "reservedSMS" in props ? props.reservedSMS : VOID4;
1299
+ roles = "roles" in props ? props.roles : VOID4;
1300
+ searchMatches = "searchMatches" in props ? props.searchMatches : VOID4;
1301
+ storageRooms = "storageRooms" in props ? props.storageRooms : VOID4;
1302
+ businessAddress = "businessAddress" in props ? props.businessAddress : VOID4;
1303
+ businessContact = "businessContact" in props ? props.businessContact : VOID4;
1304
+ employees = "employees" in props ? props.employees : VOID4;
1305
+ name = "name" in props ? props.name : VOID4;
1306
+ orgNr = "orgNr" in props ? props.orgNr : VOID4;
1307
+ orgNrType = "orgNrType" in props ? props.orgNrType : VOID4;
1308
+ relationships = "relationships" in props ? props.relationships : VOID4;
1309
+ reservations = "reservations" in props ? props.reservations : VOID4;
1310
+ }
1311
+ if ((__soliboTmp = __soliboToKt4(attendances, ["list", ["model", "Attendance"]])) !== attendances) {
1312
+ attendances = __soliboTmp;
1313
+ __soliboConverted = true;
1314
+ }
1315
+ if ((__soliboTmp = __soliboToKt4(historicRoles, ["list", ["model", "Role"]])) !== historicRoles) {
1316
+ historicRoles = __soliboTmp;
1317
+ __soliboConverted = true;
1318
+ }
1319
+ if ((__soliboTmp = __soliboToKt4(id, ["bigint"])) !== id) {
1320
+ id = __soliboTmp;
1321
+ __soliboConverted = true;
1322
+ }
1323
+ if ((__soliboTmp = __soliboToKt4(nationality, ["bigint"])) !== nationality) {
1324
+ nationality = __soliboTmp;
1325
+ __soliboConverted = true;
1326
+ }
1327
+ if ((__soliboTmp = __soliboToKt4(parkingSpaces, ["list", ["model", "ParkingSpaceOwnership"]])) !== parkingSpaces) {
1328
+ parkingSpaces = __soliboTmp;
1329
+ __soliboConverted = true;
1330
+ }
1331
+ if ((__soliboTmp = __soliboToKt4(roles, ["list", ["model", "Role"]])) !== roles) {
1332
+ roles = __soliboTmp;
1333
+ __soliboConverted = true;
1334
+ }
1335
+ if ((__soliboTmp = __soliboToKt4(searchMatches, ["list", ["model", "SearchMatch"]])) !== searchMatches) {
1336
+ searchMatches = __soliboTmp;
1337
+ __soliboConverted = true;
1338
+ }
1339
+ if ((__soliboTmp = __soliboToKt4(storageRooms, ["list", ["model", "StorageRoomOwnership"]])) !== storageRooms) {
1340
+ storageRooms = __soliboTmp;
1341
+ __soliboConverted = true;
1342
+ }
1343
+ if ((__soliboTmp = __soliboToKt4(businessAddress, ["model", "BusinessAddress"])) !== businessAddress) {
1344
+ businessAddress = __soliboTmp;
1345
+ __soliboConverted = true;
1346
+ }
1347
+ if ((__soliboTmp = __soliboToKt4(businessContact, ["model", "BusinessContact"])) !== businessContact) {
1348
+ businessContact = __soliboTmp;
1349
+ __soliboConverted = true;
1350
+ }
1351
+ if ((__soliboTmp = __soliboToKt4(employees, ["list", ["model", "OrganizationEmployee"]])) !== employees) {
1352
+ employees = __soliboTmp;
1353
+ __soliboConverted = true;
1354
+ }
1355
+ if ((__soliboTmp = __soliboToKt4(orgNrType, ["enum", "OrganizationNumberType"])) !== orgNrType) {
1356
+ orgNrType = __soliboTmp;
1357
+ __soliboConverted = true;
1358
+ }
1359
+ if ((__soliboTmp = __soliboToKt4(relationships, ["model", "ResidentRelationshipAggregate"])) !== relationships) {
1360
+ relationships = __soliboTmp;
1361
+ __soliboConverted = true;
1362
+ }
1363
+ if ((__soliboTmp = __soliboToKt4(reservations, ["map", null, ["model", "OrganizationReservations"]])) !== reservations) {
1364
+ reservations = __soliboTmp;
1365
+ __soliboConverted = true;
1366
+ }
1367
+ Companion_getInstance_1();
1368
+ accountNumber = accountNumber === VOID4 ? null : accountNumber;
1369
+ attendances = attendances === VOID4 ? null : attendances;
1370
+ historicRoles = historicRoles === VOID4 ? null : historicRoles;
1371
+ note = note === VOID4 ? null : note;
1372
+ parkingSpaces = parkingSpaces === VOID4 ? null : parkingSpaces;
1373
+ profileUrl = profileUrl === VOID4 ? null : profileUrl;
1374
+ reservedEmail = reservedEmail === VOID4 ? null : reservedEmail;
1375
+ reservedSMS = reservedSMS === VOID4 ? null : reservedSMS;
1376
+ roles = roles === VOID4 ? null : roles;
1377
+ searchMatches = searchMatches === VOID4 ? null : searchMatches;
1378
+ storageRooms = storageRooms === VOID4 ? null : storageRooms;
1379
+ businessAddress = businessAddress === VOID4 ? null : businessAddress;
1380
+ businessContact = businessContact === VOID4 ? null : businessContact;
1381
+ employees = employees === VOID4 ? null : employees;
1382
+ orgNr = orgNr === VOID4 ? null : orgNr;
1383
+ orgNrType = orgNrType === VOID4 ? null : orgNrType;
1384
+ relationships = relationships === VOID4 ? null : relationships;
1385
+ reservations = reservations === VOID4 ? null : reservations;
1386
+ Resident().call(this);
1387
+ this.accountNumber_1 = accountNumber;
1388
+ this.attendances_1 = attendances;
1389
+ this.country_1 = country;
1390
+ this.historicRoles_1 = historicRoles;
1391
+ this.id_1 = id;
1392
+ this.nationality_1 = nationality;
1393
+ this.note_1 = note;
1394
+ this.parkingSpaces_1 = parkingSpaces;
1395
+ this.profileUrl_1 = profileUrl;
1396
+ this.reservedEmail_1 = reservedEmail;
1397
+ this.reservedSMS_1 = reservedSMS;
1398
+ this.roles_1 = roles;
1399
+ this.searchMatches_1 = searchMatches;
1400
+ this.storageRooms_1 = storageRooms;
1401
+ this.businessAddress = businessAddress;
1402
+ this.businessContact = businessContact;
1403
+ this.employees = employees;
1404
+ this.name = name;
1405
+ this.orgNr = orgNr;
1406
+ this.orgNrType = orgNrType;
1407
+ this.relationships = relationships;
1408
+ this.reservations = reservations;
1409
+ if (__soliboConverted && !__soliboBoundaryState4.internalConstruction) return __soliboToJs4(this);
1410
+ };
1411
+ initMetadataForClass4($, "OrganizationResident", VOID4, Resident(), VOID4, VOID4, VOID4, { 0: $serializer_getInstance_9 });
1412
+ protoOf4($).get_accountNumber_hxsifn_k$ = function() {
1413
+ return this.accountNumber_1;
1414
+ };
1415
+ protoOf4($).get_attendances_7rzqnz_k$ = function() {
1416
+ return this.attendances_1;
1417
+ };
1418
+ protoOf4($).get_country_h3tl7x_k$ = function() {
1419
+ return this.country_1;
1420
+ };
1421
+ protoOf4($).get_historicRoles_x3391n_k$ = function() {
1422
+ return this.historicRoles_1;
1423
+ };
1424
+ protoOf4($).get_id_kntnx8_k$ = function() {
1425
+ return this.id_1;
1426
+ };
1427
+ protoOf4($).get_nationality_ffhahf_k$ = function() {
1428
+ return this.nationality_1;
1429
+ };
1430
+ protoOf4($).get_note_wor96j_k$ = function() {
1431
+ return this.note_1;
1432
+ };
1433
+ protoOf4($).get_parkingSpaces_2fmwx0_k$ = function() {
1434
+ return this.parkingSpaces_1;
1435
+ };
1436
+ protoOf4($).get_profileUrl_wmdgnj_k$ = function() {
1437
+ return this.profileUrl_1;
1438
+ };
1439
+ protoOf4($).get_reservedEmail_36tf4l_k$ = function() {
1440
+ return this.reservedEmail_1;
1441
+ };
1442
+ protoOf4($).get_reservedSMS_bwijbs_k$ = function() {
1443
+ return this.reservedSMS_1;
1444
+ };
1445
+ protoOf4($).get_roles_iy35hw_k$ = function() {
1446
+ return this.roles_1;
1447
+ };
1448
+ protoOf4($).get_searchMatches_ygomrm_k$ = function() {
1449
+ return this.searchMatches_1;
1450
+ };
1451
+ protoOf4($).get_storageRooms_j6njba_k$ = function() {
1452
+ return this.storageRooms_1;
1453
+ };
1454
+ protoOf4($).get_businessAddress_gfqq0b_k$ = function() {
1455
+ return this.businessAddress;
1456
+ };
1457
+ protoOf4($).get_businessContact_jvjsmh_k$ = function() {
1458
+ return this.businessContact;
1459
+ };
1460
+ protoOf4($).get_employees_iw3m04_k$ = function() {
1461
+ return this.employees;
1462
+ };
1463
+ protoOf4($).get_name_woqyms_k$ = function() {
1464
+ return this.name;
1465
+ };
1466
+ protoOf4($).get_orgNr_iwhkf3_k$ = function() {
1467
+ return this.orgNr;
1468
+ };
1469
+ protoOf4($).get_orgNrType_z6jrsp_k$ = function() {
1470
+ return this.orgNrType;
1471
+ };
1472
+ protoOf4($).get_relationships_6ll72q_k$ = function() {
1473
+ return this.relationships;
1474
+ };
1475
+ protoOf4($).get_reservations_fhddow_k$ = function() {
1476
+ return this.reservations;
1477
+ };
1478
+ protoOf4($).component1_7eebsc_k$ = function() {
1479
+ return this.accountNumber_1;
1480
+ };
1481
+ protoOf4($).component2_7eebsb_k$ = function() {
1482
+ return this.attendances_1;
1483
+ };
1484
+ protoOf4($).component3_7eebsa_k$ = function() {
1485
+ return this.country_1;
1486
+ };
1487
+ protoOf4($).component4_7eebs9_k$ = function() {
1488
+ return this.historicRoles_1;
1489
+ };
1490
+ protoOf4($).component5_7eebs8_k$ = function() {
1491
+ return this.id_1;
1492
+ };
1493
+ protoOf4($).component6_7eebs7_k$ = function() {
1494
+ return this.nationality_1;
1495
+ };
1496
+ protoOf4($).component7_7eebs6_k$ = function() {
1497
+ return this.note_1;
1498
+ };
1499
+ protoOf4($).component8_7eebs5_k$ = function() {
1500
+ return this.parkingSpaces_1;
1501
+ };
1502
+ protoOf4($).component9_7eebs4_k$ = function() {
1503
+ return this.profileUrl_1;
1504
+ };
1505
+ protoOf4($).component10_gazzfo_k$ = function() {
1506
+ return this.reservedEmail_1;
1507
+ };
1508
+ protoOf4($).component11_gazzfn_k$ = function() {
1509
+ return this.reservedSMS_1;
1510
+ };
1511
+ protoOf4($).component12_gazzfm_k$ = function() {
1512
+ return this.roles_1;
1513
+ };
1514
+ protoOf4($).component13_gazzfl_k$ = function() {
1515
+ return this.searchMatches_1;
1516
+ };
1517
+ protoOf4($).component14_gazzfk_k$ = function() {
1518
+ return this.storageRooms_1;
1519
+ };
1520
+ protoOf4($).component15_gazzfj_k$ = function() {
1521
+ return this.businessAddress;
1522
+ };
1523
+ protoOf4($).component16_gazzfi_k$ = function() {
1524
+ return this.businessContact;
1525
+ };
1526
+ protoOf4($).component17_gazzfh_k$ = function() {
1527
+ return this.employees;
1528
+ };
1529
+ protoOf4($).component18_gazzfg_k$ = function() {
1530
+ return this.name;
1531
+ };
1532
+ protoOf4($).component19_gazzff_k$ = function() {
1533
+ return this.orgNr;
1534
+ };
1535
+ protoOf4($).component20_gazzet_k$ = function() {
1536
+ return this.orgNrType;
1537
+ };
1538
+ protoOf4($).component21_gazzes_k$ = function() {
1539
+ return this.relationships;
1540
+ };
1541
+ protoOf4($).component22_gazzer_k$ = function() {
1542
+ return this.reservations;
1543
+ };
1544
+ protoOf4($).copy_5vfvgx_k$ = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations) {
1545
+ return new (OrganizationResident())(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations);
1546
+ };
1547
+ protoOf4($).copy = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations, $super) {
1548
+ accountNumber = accountNumber === VOID4 ? this.accountNumber_1 : accountNumber;
1549
+ attendances = attendances === VOID4 ? this.attendances_1 : attendances;
1550
+ country = country === VOID4 ? this.country_1 : country;
1551
+ historicRoles = historicRoles === VOID4 ? this.historicRoles_1 : historicRoles;
1552
+ id = id === VOID4 ? this.id_1 : id;
1553
+ nationality = nationality === VOID4 ? this.nationality_1 : nationality;
1554
+ note = note === VOID4 ? this.note_1 : note;
1555
+ parkingSpaces = parkingSpaces === VOID4 ? this.parkingSpaces_1 : parkingSpaces;
1556
+ profileUrl = profileUrl === VOID4 ? this.profileUrl_1 : profileUrl;
1557
+ reservedEmail = reservedEmail === VOID4 ? this.reservedEmail_1 : reservedEmail;
1558
+ reservedSMS = reservedSMS === VOID4 ? this.reservedSMS_1 : reservedSMS;
1559
+ roles = roles === VOID4 ? this.roles_1 : roles;
1560
+ searchMatches = searchMatches === VOID4 ? this.searchMatches_1 : searchMatches;
1561
+ storageRooms = storageRooms === VOID4 ? this.storageRooms_1 : storageRooms;
1562
+ businessAddress = businessAddress === VOID4 ? this.businessAddress : businessAddress;
1563
+ businessContact = businessContact === VOID4 ? this.businessContact : businessContact;
1564
+ employees = employees === VOID4 ? this.employees : employees;
1565
+ name = name === VOID4 ? this.name : name;
1566
+ orgNr = orgNr === VOID4 ? this.orgNr : orgNr;
1567
+ orgNrType = orgNrType === VOID4 ? this.orgNrType : orgNrType;
1568
+ relationships = relationships === VOID4 ? this.relationships : relationships;
1569
+ reservations = reservations === VOID4 ? this.reservations : reservations;
1570
+ return $super === VOID4 ? this.copy_5vfvgx_k$(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations) : $super.copy_5vfvgx_k$.call(this, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, businessAddress, businessContact, employees, name, orgNr, orgNrType, relationships, reservations);
1571
+ };
1572
+ protoOf4($).toString = function() {
1573
+ return "OrganizationResident(accountNumber=" + this.accountNumber_1 + ", attendances=" + toString3(this.attendances_1) + ", country=" + this.country_1 + ", historicRoles=" + toString3(this.historicRoles_1) + ", id=" + this.id_1.toString() + ", nationality=" + this.nationality_1.toString() + ", note=" + this.note_1 + ", parkingSpaces=" + toString3(this.parkingSpaces_1) + ", profileUrl=" + this.profileUrl_1 + ", reservedEmail=" + this.reservedEmail_1 + ", reservedSMS=" + this.reservedSMS_1 + ", roles=" + toString3(this.roles_1) + ", searchMatches=" + toString3(this.searchMatches_1) + ", storageRooms=" + toString3(this.storageRooms_1) + ", businessAddress=" + toString3(this.businessAddress) + ", businessContact=" + toString3(this.businessContact) + ", employees=" + toString3(this.employees) + ", name=" + this.name + ", orgNr=" + this.orgNr + ", orgNrType=" + toString3(this.orgNrType) + ", relationships=" + toString3(this.relationships) + ", reservations=" + toString3(this.reservations) + ")";
1574
+ };
1575
+ protoOf4($).hashCode = function() {
1576
+ var result = this.accountNumber_1 == null ? 0 : getStringHashCode(this.accountNumber_1);
1577
+ result = imul4(result, 31) + (this.attendances_1 == null ? 0 : hashCode3(this.attendances_1)) | 0;
1578
+ result = imul4(result, 31) + getStringHashCode(this.country_1) | 0;
1579
+ result = imul4(result, 31) + (this.historicRoles_1 == null ? 0 : hashCode3(this.historicRoles_1)) | 0;
1580
+ result = imul4(result, 31) + getBigIntHashCode2(this.id_1) | 0;
1581
+ result = imul4(result, 31) + getBigIntHashCode2(this.nationality_1) | 0;
1582
+ result = imul4(result, 31) + (this.note_1 == null ? 0 : getStringHashCode(this.note_1)) | 0;
1583
+ result = imul4(result, 31) + (this.parkingSpaces_1 == null ? 0 : hashCode3(this.parkingSpaces_1)) | 0;
1584
+ result = imul4(result, 31) + (this.profileUrl_1 == null ? 0 : getStringHashCode(this.profileUrl_1)) | 0;
1585
+ result = imul4(result, 31) + (this.reservedEmail_1 == null ? 0 : getBooleanHashCode(this.reservedEmail_1)) | 0;
1586
+ result = imul4(result, 31) + (this.reservedSMS_1 == null ? 0 : getBooleanHashCode(this.reservedSMS_1)) | 0;
1587
+ result = imul4(result, 31) + (this.roles_1 == null ? 0 : hashCode3(this.roles_1)) | 0;
1588
+ result = imul4(result, 31) + (this.searchMatches_1 == null ? 0 : hashCode3(this.searchMatches_1)) | 0;
1589
+ result = imul4(result, 31) + (this.storageRooms_1 == null ? 0 : hashCode3(this.storageRooms_1)) | 0;
1590
+ result = imul4(result, 31) + (this.businessAddress == null ? 0 : this.businessAddress.hashCode()) | 0;
1591
+ result = imul4(result, 31) + (this.businessContact == null ? 0 : this.businessContact.hashCode()) | 0;
1592
+ result = imul4(result, 31) + (this.employees == null ? 0 : hashCode3(this.employees)) | 0;
1593
+ result = imul4(result, 31) + getStringHashCode(this.name) | 0;
1594
+ result = imul4(result, 31) + (this.orgNr == null ? 0 : getStringHashCode(this.orgNr)) | 0;
1595
+ result = imul4(result, 31) + (this.orgNrType == null ? 0 : this.orgNrType.hashCode()) | 0;
1596
+ result = imul4(result, 31) + (this.relationships == null ? 0 : this.relationships.hashCode()) | 0;
1597
+ result = imul4(result, 31) + (this.reservations == null ? 0 : hashCode3(this.reservations)) | 0;
1598
+ return result;
1599
+ };
1600
+ protoOf4($).equals = function(other) {
1601
+ if (this === other)
1602
+ return true;
1603
+ if (!(other instanceof OrganizationResident()))
1604
+ return false;
1605
+ if (!(this.accountNumber_1 == other.accountNumber_1))
1606
+ return false;
1607
+ if (!equals3(this.attendances_1, other.attendances_1))
1608
+ return false;
1609
+ if (!(this.country_1 === other.country_1))
1610
+ return false;
1611
+ if (!equals3(this.historicRoles_1, other.historicRoles_1))
1612
+ return false;
1613
+ if (!(this.id_1 === other.id_1))
1614
+ return false;
1615
+ if (!(this.nationality_1 === other.nationality_1))
1616
+ return false;
1617
+ if (!(this.note_1 == other.note_1))
1618
+ return false;
1619
+ if (!equals3(this.parkingSpaces_1, other.parkingSpaces_1))
1620
+ return false;
1621
+ if (!(this.profileUrl_1 == other.profileUrl_1))
1622
+ return false;
1623
+ if (!(this.reservedEmail_1 == other.reservedEmail_1))
1624
+ return false;
1625
+ if (!(this.reservedSMS_1 == other.reservedSMS_1))
1626
+ return false;
1627
+ if (!equals3(this.roles_1, other.roles_1))
1628
+ return false;
1629
+ if (!equals3(this.searchMatches_1, other.searchMatches_1))
1630
+ return false;
1631
+ if (!equals3(this.storageRooms_1, other.storageRooms_1))
1632
+ return false;
1633
+ if (!equals3(this.businessAddress, other.businessAddress))
1634
+ return false;
1635
+ if (!equals3(this.businessContact, other.businessContact))
1636
+ return false;
1637
+ if (!equals3(this.employees, other.employees))
1638
+ return false;
1639
+ if (!(this.name === other.name))
1640
+ return false;
1641
+ if (!(this.orgNr == other.orgNr))
1642
+ return false;
1643
+ if (!equals3(this.orgNrType, other.orgNrType))
1644
+ return false;
1645
+ if (!equals3(this.relationships, other.relationships))
1646
+ return false;
1647
+ if (!equals3(this.reservations, other.reservations))
1648
+ return false;
1649
+ return true;
1650
+ };
1651
+ Object.defineProperty($, "name", { value: "OrganizationResident", configurable: true });
1652
+ __soliboRegisterOwnFields3($, { "businessAddress": ["model", "BusinessAddress"], "businessContact": ["model", "BusinessContact"], "employees": ["list", ["model", "OrganizationEmployee"]], "relationships": ["model", "ResidentRelationshipAggregate"], "reservations": ["map", null, ["model", "OrganizationReservations"]] });
1653
+ __soliboRegisterLookup4("OrganizationResident", () => $);
1654
+ OrganizationResidentClass = $;
1655
+ }
1656
+ return OrganizationResidentClass;
1657
+ }
1658
+ __soliboRegisterLookup4("Attendance", () => Attendance());
1659
+ __soliboRegisterLookup4("BusinessAddress", () => __soliboType_BusinessAddress());
1660
+ __soliboRegisterLookup4("BusinessContact", () => __soliboType_BusinessContact());
1661
+ __soliboRegisterLookup4("OrganizationEmployee", () => __soliboType_OrganizationEmployee());
1662
+ __soliboRegisterLookup4("OrganizationNumberType", () => __soliboType_OrganizationNumberType());
1663
+ __soliboRegisterLookup4("OrganizationReservations", () => __soliboType_OrganizationReservations());
1664
+ __soliboRegisterLookup4("ParkingSpaceOwnership", () => __soliboType_ParkingSpaceOwnership());
1665
+ __soliboRegisterLookup4("ResidentRelationshipAggregate", () => ResidentRelationshipAggregate());
1666
+ __soliboRegisterLookup4("Role", () => __soliboType_Role2());
1667
+ __soliboRegisterLookup4("SearchMatch", () => __soliboType_SearchMatch());
1668
+ __soliboRegisterLookup4("StorageRoomOwnership", () => __soliboType_StorageRoomOwnership());
1669
+
1670
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonResident.mjs
1671
+ import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs";
1672
+ import { $serializer_getInstancei1xl24gtrm2r as $serializer_getInstance_04 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
1673
+ import { $serializer_getInstancewozh4ynnjvne as $serializer_getInstance_13 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ParkingSpaceOwnership.mjs";
1674
+ import { $serializer_getInstance3n33oaya9hqkg as $serializer_getInstance_22 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SearchMatch.mjs";
1675
+ import { $serializer_getInstance1s9oe0ng6xo2z as $serializer_getInstance_32 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/StorageRoomOwnership.mjs";
1676
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance4 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
1677
+ import { lazy1261dae0bgscp as lazy4 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
1678
+ import {
1679
+ protoOf180f3jzyo7rfj as protoOf5,
1680
+ objectCreate1ve4bgxiu4x98 as objectCreate5,
1681
+ getStringHashCode26igk1bx568vk as getStringHashCode2,
1682
+ hashCodeq5arwsb9dgti as hashCode4,
1683
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode3,
1684
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode2,
1685
+ equals2au1ep9vhcato as equals4
1686
+ } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
1687
+ import {
1688
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion5,
1689
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject5,
1690
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass5
1691
+ } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
1692
+ import { VOID3gxj6tk5isa35 as VOID5 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
1693
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs";
1694
+ import {
1695
+ StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance2,
1696
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance2,
1697
+ LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance3
1698
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs";
1699
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance5 } from "../kotlin-kotlin-stdlib/kotlin/Unit.mjs";
1700
+ import { $serializer_getInstance350sqkw87kuga as $serializer_getInstance_42 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AddressSpecifics.mjs";
1701
+ import { $serializer_getInstance2519og2ax3hyr as $serializer_getInstance_52 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
1702
+ import { $serializer_getInstance1qtf4ron5d8yz as $serializer_getInstance_62 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Folkeregisteret.mjs";
1703
+ import { $serializer_getInstance1se14apkjzug7 as $serializer_getInstance_72 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
1704
+ import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance2 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs";
1705
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE5 } from "../kotlin-kotlin-stdlib/kotlin/hacks.mjs";
1706
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs";
1707
+ import { get_nullable197rfua9r7fsz as get_nullable3 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs";
1708
+ import {
1709
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers5,
1710
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer5
1711
+ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
1712
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs";
1713
+ import { toString30pk9tzaqopn as toString4 } from "../kotlin-kotlin-stdlib/kotlin/Library.mjs";
1714
+ import { SerializableWithd2dap36updxd as SerializableWith5 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
1715
+ import { __soliboBoundaryState as __soliboBoundaryState5, __soliboRegisterLookup as __soliboRegisterLookup5, __soliboRegisterOwnFields as __soliboRegisterOwnFields4, __soliboToJs as __soliboToJs5, __soliboToKt as __soliboToKt5, __soliboWrapAccessor as __soliboWrapAccessor4, __soliboWrapFunction as __soliboWrapFunction4, __soliboWrapMethod as __soliboWrapMethod4 } from "../solibo-boundary.mjs";
1716
+ import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion2 } from "../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs";
1717
+ import { AddressSpecifics2b1mdhcbru52k as __soliboType_AddressSpecifics } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AddressSpecifics.mjs";
1718
+ import { Folkeregisteret9dy8puhso3yl as __soliboType_Folkeregisteret } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Folkeregisteret.mjs";
1719
+ import { Namefq7jqr1w1zl3 as __soliboType_Name } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs";
1720
+ import { ParkingSpaceOwnership6mm1elbe5ezi as __soliboType_ParkingSpaceOwnership2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ParkingSpaceOwnership.mjs";
1721
+ import { PersonAvatar3dgsumyig44gy as __soliboType_PersonAvatar } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonAvatar.mjs";
1722
+ import { Role2m2i30nenojee as __soliboType_Role3 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs";
1723
+ import { SearchMatch1t96enctwb48b as __soliboType_SearchMatch2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SearchMatch.mjs";
1724
+ import { StorageRoomOwnership1fx74kdb2tzt3 as __soliboType_StorageRoomOwnership2 } from "../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/StorageRoomOwnership.mjs";
1725
+ var imul5 = Math.imul;
1726
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1() {
1727
+ return new (ArrayListSerializer3())($serializer_getInstance());
1728
+ }
1729
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1_0() {
1730
+ return new (ArrayListSerializer3())($serializer_getInstance_04());
1731
+ }
1732
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1_1() {
1733
+ return new (ArrayListSerializer3())($serializer_getInstance_13());
1734
+ }
1735
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1_2() {
1736
+ return new (ArrayListSerializer3())($serializer_getInstance_04());
1737
+ }
1738
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1_3() {
1739
+ return new (ArrayListSerializer3())($serializer_getInstance_22());
1740
+ }
1741
+ function PersonResident$Companion$$childSerializers$_anonymous__2fjip1_4() {
1742
+ return new (ArrayListSerializer3())($serializer_getInstance_32());
1743
+ }
1744
+ var CompanionClass5;
1745
+ function Companion5() {
1746
+ if (CompanionClass5 === VOID5) {
1747
+ let $ = function() {
1748
+ Companion_instance5 = this;
1749
+ var tmp = this;
1750
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1751
+ var tmp_1 = lazy4(tmp_0, PersonResident$Companion$$childSerializers$_anonymous__2fjip1);
1752
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1753
+ var tmp_3 = lazy4(tmp_2, PersonResident$Companion$$childSerializers$_anonymous__2fjip1_0);
1754
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1755
+ var tmp_5 = lazy4(tmp_4, PersonResident$Companion$$childSerializers$_anonymous__2fjip1_1);
1756
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1757
+ var tmp_7 = lazy4(tmp_6, PersonResident$Companion$$childSerializers$_anonymous__2fjip1_2);
1758
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1759
+ var tmp_9 = lazy4(tmp_8, PersonResident$Companion$$childSerializers$_anonymous__2fjip1_3);
1760
+ var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance4();
1761
+ tmp.$childSerializers_1 = [null, tmp_1, null, tmp_3, null, null, null, tmp_5, null, null, null, tmp_7, tmp_9, lazy4(tmp_10, PersonResident$Companion$$childSerializers$_anonymous__2fjip1_4), null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
1762
+ };
1763
+ initMetadataForCompanion5($);
1764
+ CompanionClass5 = $;
1765
+ }
1766
+ return CompanionClass5;
1767
+ }
1768
+ var Companion_instance5;
1769
+ function Companion_getInstance_02() {
1770
+ if (Companion_instance5 == null) {
1771
+ Companion_getInstance();
1772
+ new (Companion5())();
1773
+ }
1774
+ return Companion_instance5;
1775
+ }
1776
+ var $serializerClass5;
1777
+ function $serializer5() {
1778
+ if ($serializerClass5 === VOID5) {
1779
+ let $ = function() {
1780
+ $serializer_instance5 = this;
1781
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor5())("solibo.residents.query.domain.PersonResident", this, 31);
1782
+ tmp0_serialDesc.addElement_5pzumi_k$("accountNumber", true);
1783
+ tmp0_serialDesc.addElement_5pzumi_k$("attendances", true);
1784
+ tmp0_serialDesc.addElement_5pzumi_k$("country", false);
1785
+ tmp0_serialDesc.addElement_5pzumi_k$("historicRoles", true);
1786
+ tmp0_serialDesc.addElement_5pzumi_k$("id", false);
1787
+ tmp0_serialDesc.addElement_5pzumi_k$("nationality", false);
1788
+ tmp0_serialDesc.addElement_5pzumi_k$("note", true);
1789
+ tmp0_serialDesc.addElement_5pzumi_k$("parkingSpaces", true);
1790
+ tmp0_serialDesc.addElement_5pzumi_k$("profileUrl", true);
1791
+ tmp0_serialDesc.addElement_5pzumi_k$("reservedEmail", true);
1792
+ tmp0_serialDesc.addElement_5pzumi_k$("reservedSMS", true);
1793
+ tmp0_serialDesc.addElement_5pzumi_k$("roles", true);
1794
+ tmp0_serialDesc.addElement_5pzumi_k$("searchMatches", true);
1795
+ tmp0_serialDesc.addElement_5pzumi_k$("storageRooms", true);
1796
+ tmp0_serialDesc.addElement_5pzumi_k$("address", true);
1797
+ tmp0_serialDesc.addElement_5pzumi_k$("avatar", true);
1798
+ tmp0_serialDesc.addElement_5pzumi_k$("birthDay", true);
1799
+ tmp0_serialDesc.addElement_5pzumi_k$("completeMobile", true);
1800
+ tmp0_serialDesc.addElement_5pzumi_k$("email", true);
1801
+ tmp0_serialDesc.addElement_5pzumi_k$("folkeregisteret", true);
1802
+ tmp0_serialDesc.addElement_5pzumi_k$("invoicingEmail", true);
1803
+ tmp0_serialDesc.addElement_5pzumi_k$("isUser", true);
1804
+ tmp0_serialDesc.addElement_5pzumi_k$("mobile", true);
1805
+ tmp0_serialDesc.addElement_5pzumi_k$("mobileCountryCode", true);
1806
+ tmp0_serialDesc.addElement_5pzumi_k$("name", false);
1807
+ tmp0_serialDesc.addElement_5pzumi_k$("passportExpiration", true);
1808
+ tmp0_serialDesc.addElement_5pzumi_k$("passportNumberId", true);
1809
+ tmp0_serialDesc.addElement_5pzumi_k$("personnummerId", true);
1810
+ tmp0_serialDesc.addElement_5pzumi_k$("personnummerTwoId", true);
1811
+ tmp0_serialDesc.addElement_5pzumi_k$("relationships", true);
1812
+ tmp0_serialDesc.addElement_5pzumi_k$("title", true);
1813
+ this.descriptor_1 = tmp0_serialDesc;
1814
+ };
1815
+ initMetadataForObject5($, "$serializer", VOID5, VOID5, [GeneratedSerializer5()]);
1816
+ protoOf5($).serialize_6r7u8f_k$ = function(encoder, value) {
1817
+ var tmp0_desc = this.descriptor_1;
1818
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
1819
+ var tmp2_cached = Companion_getInstance_02().$childSerializers_1;
1820
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.accountNumber_1 == null)) {
1821
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance2(), value.accountNumber_1);
1822
+ }
1823
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.attendances_1 == null)) {
1824
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.attendances_1);
1825
+ }
1826
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.country_1);
1827
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.historicRoles_1 == null)) {
1828
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.historicRoles_1);
1829
+ }
1830
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.id_1);
1831
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.nationality_1);
1832
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.note_1 == null)) {
1833
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance2(), value.note_1);
1834
+ }
1835
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.parkingSpaces_1 == null)) {
1836
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.parkingSpaces_1);
1837
+ }
1838
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.profileUrl_1 == null)) {
1839
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance2(), value.profileUrl_1);
1840
+ }
1841
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.reservedEmail_1 == null)) {
1842
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, BooleanSerializer_getInstance2(), value.reservedEmail_1);
1843
+ }
1844
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.reservedSMS_1 == null)) {
1845
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, BooleanSerializer_getInstance2(), value.reservedSMS_1);
1846
+ }
1847
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.roles_1 == null)) {
1848
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.roles_1);
1849
+ }
1850
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.searchMatches_1 == null)) {
1851
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.searchMatches_1);
1852
+ }
1853
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.storageRooms_1 == null)) {
1854
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.storageRooms_1);
1855
+ }
1856
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 14) ? true : !(value.address == null)) {
1857
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 14, $serializer_getInstance_42(), value.address);
1858
+ }
1859
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 15) ? true : !(value.avatar == null)) {
1860
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 15, $serializer_getInstance_52(), value.avatar);
1861
+ }
1862
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 16) ? true : !(value.birthDay == null)) {
1863
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 16, StringSerializer_getInstance2(), value.birthDay);
1864
+ }
1865
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 17) ? true : !(value.completeMobile == null)) {
1866
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 17, StringSerializer_getInstance2(), value.completeMobile);
1867
+ }
1868
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 18) ? true : !(value.email == null)) {
1869
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 18, StringSerializer_getInstance2(), value.email);
1870
+ }
1871
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 19) ? true : !(value.folkeregisteret == null)) {
1872
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 19, $serializer_getInstance_62(), value.folkeregisteret);
1873
+ }
1874
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 20) ? true : !(value.invoicingEmail == null)) {
1875
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 20, StringSerializer_getInstance2(), value.invoicingEmail);
1876
+ }
1877
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 21) ? true : !(value.isUser == null)) {
1878
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 21, BooleanSerializer_getInstance2(), value.isUser);
1879
+ }
1880
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 22) ? true : !(value.mobile == null)) {
1881
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 22, StringSerializer_getInstance2(), value.mobile);
1882
+ }
1883
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 23) ? true : !(value.mobileCountryCode == null)) {
1884
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 23, StringSerializer_getInstance2(), value.mobileCountryCode);
1885
+ }
1886
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 24, $serializer_getInstance_72(), value.name);
1887
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 25) ? true : !(value.passportExpiration == null)) {
1888
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 25, InstantSerializer_getInstance2(), value.passportExpiration);
1889
+ }
1890
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 26) ? true : !(value.passportNumberId == null)) {
1891
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 26, StringSerializer_getInstance2(), value.passportNumberId);
1892
+ }
1893
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 27) ? true : !(value.personnummerId == null)) {
1894
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 27, StringSerializer_getInstance2(), value.personnummerId);
1895
+ }
1896
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 28) ? true : !(value.personnummerTwoId == null)) {
1897
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 28, StringSerializer_getInstance2(), value.personnummerTwoId);
1898
+ }
1899
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 29) ? true : !(value.relationships == null)) {
1900
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 29, $serializer_getInstance_02(), value.relationships);
1901
+ }
1902
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 30) ? true : !(value.title == null)) {
1903
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 30, StringSerializer_getInstance2(), value.title);
1904
+ }
1905
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
1906
+ };
1907
+ protoOf5($).serialize_5ase3y_k$ = function(encoder, value) {
1908
+ return this.serialize_6r7u8f_k$(encoder, value instanceof PersonResident() ? value : THROW_CCE5());
1909
+ };
1910
+ protoOf5($).deserialize_sy6x50_k$ = function(decoder) {
1911
+ var tmp0_desc = this.descriptor_1;
1912
+ var tmp1_flag = true;
1913
+ var tmp2_index = 0;
1914
+ var tmp3_bitMask0 = 0;
1915
+ var tmp4_local0 = null;
1916
+ var tmp5_local1 = null;
1917
+ var tmp6_local2 = null;
1918
+ var tmp7_local3 = null;
1919
+ var tmp8_local4 = 0n;
1920
+ var tmp9_local5 = 0n;
1921
+ var tmp10_local6 = null;
1922
+ var tmp11_local7 = null;
1923
+ var tmp12_local8 = null;
1924
+ var tmp13_local9 = null;
1925
+ var tmp14_local10 = null;
1926
+ var tmp15_local11 = null;
1927
+ var tmp16_local12 = null;
1928
+ var tmp17_local13 = null;
1929
+ var tmp18_local14 = null;
1930
+ var tmp19_local15 = null;
1931
+ var tmp20_local16 = null;
1932
+ var tmp21_local17 = null;
1933
+ var tmp22_local18 = null;
1934
+ var tmp23_local19 = null;
1935
+ var tmp24_local20 = null;
1936
+ var tmp25_local21 = null;
1937
+ var tmp26_local22 = null;
1938
+ var tmp27_local23 = null;
1939
+ var tmp28_local24 = null;
1940
+ var tmp29_local25 = null;
1941
+ var tmp30_local26 = null;
1942
+ var tmp31_local27 = null;
1943
+ var tmp32_local28 = null;
1944
+ var tmp33_local29 = null;
1945
+ var tmp34_local30 = null;
1946
+ var tmp35_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
1947
+ var tmp36_cached = Companion_getInstance_02().$childSerializers_1;
1948
+ if (tmp35_input.decodeSequentially_xlblqy_k$()) {
1949
+ tmp4_local0 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance2(), tmp4_local0);
1950
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
1951
+ tmp5_local1 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp36_cached[1].get_value_j01efc_k$(), tmp5_local1);
1952
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
1953
+ tmp6_local2 = tmp35_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
1954
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
1955
+ tmp7_local3 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp36_cached[3].get_value_j01efc_k$(), tmp7_local3);
1956
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
1957
+ tmp8_local4 = tmp35_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
1958
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
1959
+ tmp9_local5 = tmp35_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
1960
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
1961
+ tmp10_local6 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance2(), tmp10_local6);
1962
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
1963
+ tmp11_local7 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp36_cached[7].get_value_j01efc_k$(), tmp11_local7);
1964
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
1965
+ tmp12_local8 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance2(), tmp12_local8);
1966
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
1967
+ tmp13_local9 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, BooleanSerializer_getInstance2(), tmp13_local9);
1968
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
1969
+ tmp14_local10 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance2(), tmp14_local10);
1970
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1971
+ tmp15_local11 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp36_cached[11].get_value_j01efc_k$(), tmp15_local11);
1972
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1973
+ tmp16_local12 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp36_cached[12].get_value_j01efc_k$(), tmp16_local12);
1974
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
1975
+ tmp17_local13 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp36_cached[13].get_value_j01efc_k$(), tmp17_local13);
1976
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
1977
+ tmp18_local14 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_42(), tmp18_local14);
1978
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
1979
+ tmp19_local15 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, $serializer_getInstance_52(), tmp19_local15);
1980
+ tmp3_bitMask0 = tmp3_bitMask0 | 32768;
1981
+ tmp20_local16 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, StringSerializer_getInstance2(), tmp20_local16);
1982
+ tmp3_bitMask0 = tmp3_bitMask0 | 65536;
1983
+ tmp21_local17 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, StringSerializer_getInstance2(), tmp21_local17);
1984
+ tmp3_bitMask0 = tmp3_bitMask0 | 131072;
1985
+ tmp22_local18 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance2(), tmp22_local18);
1986
+ tmp3_bitMask0 = tmp3_bitMask0 | 262144;
1987
+ tmp23_local19 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, $serializer_getInstance_62(), tmp23_local19);
1988
+ tmp3_bitMask0 = tmp3_bitMask0 | 524288;
1989
+ tmp24_local20 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance2(), tmp24_local20);
1990
+ tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
1991
+ tmp25_local21 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, BooleanSerializer_getInstance2(), tmp25_local21);
1992
+ tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
1993
+ tmp26_local22 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, StringSerializer_getInstance2(), tmp26_local22);
1994
+ tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
1995
+ tmp27_local23 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, StringSerializer_getInstance2(), tmp27_local23);
1996
+ tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
1997
+ tmp28_local24 = tmp35_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 24, $serializer_getInstance_72(), tmp28_local24);
1998
+ tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
1999
+ tmp29_local25 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, InstantSerializer_getInstance2(), tmp29_local25);
2000
+ tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
2001
+ tmp30_local26 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance2(), tmp30_local26);
2002
+ tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
2003
+ tmp31_local27 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance2(), tmp31_local27);
2004
+ tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
2005
+ tmp32_local28 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance2(), tmp32_local28);
2006
+ tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
2007
+ tmp33_local29 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, $serializer_getInstance_02(), tmp33_local29);
2008
+ tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
2009
+ tmp34_local30 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance2(), tmp34_local30);
2010
+ tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
2011
+ } else
2012
+ while (tmp1_flag) {
2013
+ tmp2_index = tmp35_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
2014
+ switch (tmp2_index) {
2015
+ case -1:
2016
+ tmp1_flag = false;
2017
+ break;
2018
+ case 0:
2019
+ tmp4_local0 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance2(), tmp4_local0);
2020
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
2021
+ break;
2022
+ case 1:
2023
+ tmp5_local1 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp36_cached[1].get_value_j01efc_k$(), tmp5_local1);
2024
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
2025
+ break;
2026
+ case 2:
2027
+ tmp6_local2 = tmp35_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
2028
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
2029
+ break;
2030
+ case 3:
2031
+ tmp7_local3 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp36_cached[3].get_value_j01efc_k$(), tmp7_local3);
2032
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
2033
+ break;
2034
+ case 4:
2035
+ tmp8_local4 = tmp35_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
2036
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
2037
+ break;
2038
+ case 5:
2039
+ tmp9_local5 = tmp35_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
2040
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
2041
+ break;
2042
+ case 6:
2043
+ tmp10_local6 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance2(), tmp10_local6);
2044
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
2045
+ break;
2046
+ case 7:
2047
+ tmp11_local7 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp36_cached[7].get_value_j01efc_k$(), tmp11_local7);
2048
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
2049
+ break;
2050
+ case 8:
2051
+ tmp12_local8 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance2(), tmp12_local8);
2052
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
2053
+ break;
2054
+ case 9:
2055
+ tmp13_local9 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, BooleanSerializer_getInstance2(), tmp13_local9);
2056
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
2057
+ break;
2058
+ case 10:
2059
+ tmp14_local10 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance2(), tmp14_local10);
2060
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
2061
+ break;
2062
+ case 11:
2063
+ tmp15_local11 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp36_cached[11].get_value_j01efc_k$(), tmp15_local11);
2064
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
2065
+ break;
2066
+ case 12:
2067
+ tmp16_local12 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp36_cached[12].get_value_j01efc_k$(), tmp16_local12);
2068
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
2069
+ break;
2070
+ case 13:
2071
+ tmp17_local13 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp36_cached[13].get_value_j01efc_k$(), tmp17_local13);
2072
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
2073
+ break;
2074
+ case 14:
2075
+ tmp18_local14 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 14, $serializer_getInstance_42(), tmp18_local14);
2076
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
2077
+ break;
2078
+ case 15:
2079
+ tmp19_local15 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 15, $serializer_getInstance_52(), tmp19_local15);
2080
+ tmp3_bitMask0 = tmp3_bitMask0 | 32768;
2081
+ break;
2082
+ case 16:
2083
+ tmp20_local16 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 16, StringSerializer_getInstance2(), tmp20_local16);
2084
+ tmp3_bitMask0 = tmp3_bitMask0 | 65536;
2085
+ break;
2086
+ case 17:
2087
+ tmp21_local17 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 17, StringSerializer_getInstance2(), tmp21_local17);
2088
+ tmp3_bitMask0 = tmp3_bitMask0 | 131072;
2089
+ break;
2090
+ case 18:
2091
+ tmp22_local18 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 18, StringSerializer_getInstance2(), tmp22_local18);
2092
+ tmp3_bitMask0 = tmp3_bitMask0 | 262144;
2093
+ break;
2094
+ case 19:
2095
+ tmp23_local19 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 19, $serializer_getInstance_62(), tmp23_local19);
2096
+ tmp3_bitMask0 = tmp3_bitMask0 | 524288;
2097
+ break;
2098
+ case 20:
2099
+ tmp24_local20 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 20, StringSerializer_getInstance2(), tmp24_local20);
2100
+ tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
2101
+ break;
2102
+ case 21:
2103
+ tmp25_local21 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 21, BooleanSerializer_getInstance2(), tmp25_local21);
2104
+ tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
2105
+ break;
2106
+ case 22:
2107
+ tmp26_local22 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 22, StringSerializer_getInstance2(), tmp26_local22);
2108
+ tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
2109
+ break;
2110
+ case 23:
2111
+ tmp27_local23 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 23, StringSerializer_getInstance2(), tmp27_local23);
2112
+ tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
2113
+ break;
2114
+ case 24:
2115
+ tmp28_local24 = tmp35_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 24, $serializer_getInstance_72(), tmp28_local24);
2116
+ tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
2117
+ break;
2118
+ case 25:
2119
+ tmp29_local25 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 25, InstantSerializer_getInstance2(), tmp29_local25);
2120
+ tmp3_bitMask0 = tmp3_bitMask0 | 33554432;
2121
+ break;
2122
+ case 26:
2123
+ tmp30_local26 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 26, StringSerializer_getInstance2(), tmp30_local26);
2124
+ tmp3_bitMask0 = tmp3_bitMask0 | 67108864;
2125
+ break;
2126
+ case 27:
2127
+ tmp31_local27 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 27, StringSerializer_getInstance2(), tmp31_local27);
2128
+ tmp3_bitMask0 = tmp3_bitMask0 | 134217728;
2129
+ break;
2130
+ case 28:
2131
+ tmp32_local28 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 28, StringSerializer_getInstance2(), tmp32_local28);
2132
+ tmp3_bitMask0 = tmp3_bitMask0 | 268435456;
2133
+ break;
2134
+ case 29:
2135
+ tmp33_local29 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 29, $serializer_getInstance_02(), tmp33_local29);
2136
+ tmp3_bitMask0 = tmp3_bitMask0 | 536870912;
2137
+ break;
2138
+ case 30:
2139
+ tmp34_local30 = tmp35_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 30, StringSerializer_getInstance2(), tmp34_local30);
2140
+ tmp3_bitMask0 = tmp3_bitMask0 | 1073741824;
2141
+ break;
2142
+ default:
2143
+ throw UnknownFieldException_init_$Create$5(tmp2_index);
2144
+ }
2145
+ }
2146
+ tmp35_input.endStructure_1xqz0n_k$(tmp0_desc);
2147
+ return PersonResident_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, tmp27_local23, tmp28_local24, tmp29_local25, tmp30_local26, tmp31_local27, tmp32_local28, tmp33_local29, tmp34_local30, null);
2148
+ };
2149
+ protoOf5($).get_descriptor_wjt6a0_k$ = function() {
2150
+ return this.descriptor_1;
2151
+ };
2152
+ protoOf5($).childSerializers_5ghqw5_k$ = function() {
2153
+ var tmp0_cached = Companion_getInstance_02().$childSerializers_1;
2154
+ return [get_nullable3(StringSerializer_getInstance2()), get_nullable3(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance2(), get_nullable3(tmp0_cached[3].get_value_j01efc_k$()), LongSerializer_getInstance3(), LongSerializer_getInstance3(), get_nullable3(StringSerializer_getInstance2()), get_nullable3(tmp0_cached[7].get_value_j01efc_k$()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(BooleanSerializer_getInstance2()), get_nullable3(BooleanSerializer_getInstance2()), get_nullable3(tmp0_cached[11].get_value_j01efc_k$()), get_nullable3(tmp0_cached[12].get_value_j01efc_k$()), get_nullable3(tmp0_cached[13].get_value_j01efc_k$()), get_nullable3($serializer_getInstance_42()), get_nullable3($serializer_getInstance_52()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3($serializer_getInstance_62()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(BooleanSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), $serializer_getInstance_72(), get_nullable3(InstantSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3(StringSerializer_getInstance2()), get_nullable3($serializer_getInstance_02()), get_nullable3(StringSerializer_getInstance2())];
2155
+ };
2156
+ protoOf5($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers5;
2157
+ $serializerClass5 = $;
2158
+ }
2159
+ return $serializerClass5;
2160
+ }
2161
+ var $serializer_instance5;
2162
+ function $serializer_getInstance_92() {
2163
+ if ($serializer_instance5 == null)
2164
+ new ($serializer5())();
2165
+ return $serializer_instance5;
2166
+ }
2167
+ function PersonResident_init_$Init$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title, serializationConstructorMarker, $this) {
2168
+ if (!(16777268 === (16777268 & seen0))) {
2169
+ throwMissingFieldException5(seen0, 16777268, $serializer_getInstance_92().descriptor_1);
2170
+ }
2171
+ Resident_init_$Init$(seen0, serializationConstructorMarker, $this);
2172
+ if (0 === (seen0 & 1))
2173
+ $this.accountNumber_1 = null;
2174
+ else
2175
+ $this.accountNumber_1 = accountNumber;
2176
+ if (0 === (seen0 & 2))
2177
+ $this.attendances_1 = null;
2178
+ else
2179
+ $this.attendances_1 = attendances;
2180
+ $this.country_1 = country;
2181
+ if (0 === (seen0 & 8))
2182
+ $this.historicRoles_1 = null;
2183
+ else
2184
+ $this.historicRoles_1 = historicRoles;
2185
+ $this.id_1 = id;
2186
+ $this.nationality_1 = nationality;
2187
+ if (0 === (seen0 & 64))
2188
+ $this.note_1 = null;
2189
+ else
2190
+ $this.note_1 = note;
2191
+ if (0 === (seen0 & 128))
2192
+ $this.parkingSpaces_1 = null;
2193
+ else
2194
+ $this.parkingSpaces_1 = parkingSpaces;
2195
+ if (0 === (seen0 & 256))
2196
+ $this.profileUrl_1 = null;
2197
+ else
2198
+ $this.profileUrl_1 = profileUrl;
2199
+ if (0 === (seen0 & 512))
2200
+ $this.reservedEmail_1 = null;
2201
+ else
2202
+ $this.reservedEmail_1 = reservedEmail;
2203
+ if (0 === (seen0 & 1024))
2204
+ $this.reservedSMS_1 = null;
2205
+ else
2206
+ $this.reservedSMS_1 = reservedSMS;
2207
+ if (0 === (seen0 & 2048))
2208
+ $this.roles_1 = null;
2209
+ else
2210
+ $this.roles_1 = roles;
2211
+ if (0 === (seen0 & 4096))
2212
+ $this.searchMatches_1 = null;
2213
+ else
2214
+ $this.searchMatches_1 = searchMatches;
2215
+ if (0 === (seen0 & 8192))
2216
+ $this.storageRooms_1 = null;
2217
+ else
2218
+ $this.storageRooms_1 = storageRooms;
2219
+ if (0 === (seen0 & 16384))
2220
+ $this.address = null;
2221
+ else
2222
+ $this.address = address;
2223
+ if (0 === (seen0 & 32768))
2224
+ $this.avatar = null;
2225
+ else
2226
+ $this.avatar = avatar;
2227
+ if (0 === (seen0 & 65536))
2228
+ $this.birthDay = null;
2229
+ else
2230
+ $this.birthDay = birthDay;
2231
+ if (0 === (seen0 & 131072))
2232
+ $this.completeMobile = null;
2233
+ else
2234
+ $this.completeMobile = completeMobile;
2235
+ if (0 === (seen0 & 262144))
2236
+ $this.email = null;
2237
+ else
2238
+ $this.email = email;
2239
+ if (0 === (seen0 & 524288))
2240
+ $this.folkeregisteret = null;
2241
+ else
2242
+ $this.folkeregisteret = folkeregisteret;
2243
+ if (0 === (seen0 & 1048576))
2244
+ $this.invoicingEmail = null;
2245
+ else
2246
+ $this.invoicingEmail = invoicingEmail;
2247
+ if (0 === (seen0 & 2097152))
2248
+ $this.isUser = null;
2249
+ else
2250
+ $this.isUser = isUser;
2251
+ if (0 === (seen0 & 4194304))
2252
+ $this.mobile = null;
2253
+ else
2254
+ $this.mobile = mobile;
2255
+ if (0 === (seen0 & 8388608))
2256
+ $this.mobileCountryCode = null;
2257
+ else
2258
+ $this.mobileCountryCode = mobileCountryCode;
2259
+ $this.name = name;
2260
+ if (0 === (seen0 & 33554432))
2261
+ $this.passportExpiration = null;
2262
+ else
2263
+ $this.passportExpiration = passportExpiration;
2264
+ if (0 === (seen0 & 67108864))
2265
+ $this.passportNumberId = null;
2266
+ else
2267
+ $this.passportNumberId = passportNumberId;
2268
+ if (0 === (seen0 & 134217728))
2269
+ $this.personnummerId = null;
2270
+ else
2271
+ $this.personnummerId = personnummerId;
2272
+ if (0 === (seen0 & 268435456))
2273
+ $this.personnummerTwoId = null;
2274
+ else
2275
+ $this.personnummerTwoId = personnummerTwoId;
2276
+ if (0 === (seen0 & 536870912))
2277
+ $this.relationships = null;
2278
+ else
2279
+ $this.relationships = relationships;
2280
+ if (0 === (seen0 & 1073741824))
2281
+ $this.title = null;
2282
+ else
2283
+ $this.title = title;
2284
+ return $this;
2285
+ }
2286
+ function PersonResident_init_$Create$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title, serializationConstructorMarker) {
2287
+ return PersonResident_init_$Init$(seen0, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title, serializationConstructorMarker, objectCreate5(protoOf5(PersonResident())));
2288
+ }
2289
+ var PersonResidentClass;
2290
+ function PersonResident() {
2291
+ if (PersonResidentClass === VOID5) {
2292
+ let $ = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title) {
2293
+ var __soliboProps = arguments.length === 1 && typeof accountNumber === "object" && accountNumber !== null && accountNumber.constructor === Object;
2294
+ var __soliboTmp, __soliboConverted = false;
2295
+ if (__soliboProps) {
2296
+ const props = accountNumber;
2297
+ accountNumber = "accountNumber" in props ? props.accountNumber : VOID5;
2298
+ attendances = "attendances" in props ? props.attendances : VOID5;
2299
+ country = "country" in props ? props.country : VOID5;
2300
+ historicRoles = "historicRoles" in props ? props.historicRoles : VOID5;
2301
+ id = "id" in props ? props.id : VOID5;
2302
+ nationality = "nationality" in props ? props.nationality : VOID5;
2303
+ note = "note" in props ? props.note : VOID5;
2304
+ parkingSpaces = "parkingSpaces" in props ? props.parkingSpaces : VOID5;
2305
+ profileUrl = "profileUrl" in props ? props.profileUrl : VOID5;
2306
+ reservedEmail = "reservedEmail" in props ? props.reservedEmail : VOID5;
2307
+ reservedSMS = "reservedSMS" in props ? props.reservedSMS : VOID5;
2308
+ roles = "roles" in props ? props.roles : VOID5;
2309
+ searchMatches = "searchMatches" in props ? props.searchMatches : VOID5;
2310
+ storageRooms = "storageRooms" in props ? props.storageRooms : VOID5;
2311
+ address = "address" in props ? props.address : VOID5;
2312
+ avatar = "avatar" in props ? props.avatar : VOID5;
2313
+ birthDay = "birthDay" in props ? props.birthDay : VOID5;
2314
+ completeMobile = "completeMobile" in props ? props.completeMobile : VOID5;
2315
+ email = "email" in props ? props.email : VOID5;
2316
+ folkeregisteret = "folkeregisteret" in props ? props.folkeregisteret : VOID5;
2317
+ invoicingEmail = "invoicingEmail" in props ? props.invoicingEmail : VOID5;
2318
+ isUser = "isUser" in props ? props.isUser : VOID5;
2319
+ mobile = "mobile" in props ? props.mobile : VOID5;
2320
+ mobileCountryCode = "mobileCountryCode" in props ? props.mobileCountryCode : VOID5;
2321
+ name = "name" in props ? props.name : VOID5;
2322
+ passportExpiration = "passportExpiration" in props ? props.passportExpiration : VOID5;
2323
+ if (typeof passportExpiration === "string") {
2324
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += ":00Z";
2325
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(passportExpiration)) passportExpiration += "Z";
2326
+ const companion = __soliboInstantCompanion2();
2327
+ passportExpiration = companion.parse_xovy9i_k$(passportExpiration);
2328
+ } else if (passportExpiration != null && typeof passportExpiration === "object" && typeof passportExpiration.getTime === "function") {
2329
+ const companion = __soliboInstantCompanion2();
2330
+ passportExpiration = companion.fromEpochMilliseconds_uaz65_k$(BigInt(passportExpiration.getTime()));
2331
+ }
2332
+ passportNumberId = "passportNumberId" in props ? props.passportNumberId : VOID5;
2333
+ personnummerId = "personnummerId" in props ? props.personnummerId : VOID5;
2334
+ personnummerTwoId = "personnummerTwoId" in props ? props.personnummerTwoId : VOID5;
2335
+ relationships = "relationships" in props ? props.relationships : VOID5;
2336
+ title = "title" in props ? props.title : VOID5;
2337
+ }
2338
+ if ((__soliboTmp = __soliboToKt5(attendances, ["list", ["model", "Attendance"]])) !== attendances) {
2339
+ attendances = __soliboTmp;
2340
+ __soliboConverted = true;
2341
+ }
2342
+ if ((__soliboTmp = __soliboToKt5(historicRoles, ["list", ["model", "Role"]])) !== historicRoles) {
2343
+ historicRoles = __soliboTmp;
2344
+ __soliboConverted = true;
2345
+ }
2346
+ if ((__soliboTmp = __soliboToKt5(id, ["bigint"])) !== id) {
2347
+ id = __soliboTmp;
2348
+ __soliboConverted = true;
2349
+ }
2350
+ if ((__soliboTmp = __soliboToKt5(nationality, ["bigint"])) !== nationality) {
2351
+ nationality = __soliboTmp;
2352
+ __soliboConverted = true;
2353
+ }
2354
+ if ((__soliboTmp = __soliboToKt5(parkingSpaces, ["list", ["model", "ParkingSpaceOwnership"]])) !== parkingSpaces) {
2355
+ parkingSpaces = __soliboTmp;
2356
+ __soliboConverted = true;
2357
+ }
2358
+ if ((__soliboTmp = __soliboToKt5(roles, ["list", ["model", "Role"]])) !== roles) {
2359
+ roles = __soliboTmp;
2360
+ __soliboConverted = true;
2361
+ }
2362
+ if ((__soliboTmp = __soliboToKt5(searchMatches, ["list", ["model", "SearchMatch"]])) !== searchMatches) {
2363
+ searchMatches = __soliboTmp;
2364
+ __soliboConverted = true;
2365
+ }
2366
+ if ((__soliboTmp = __soliboToKt5(storageRooms, ["list", ["model", "StorageRoomOwnership"]])) !== storageRooms) {
2367
+ storageRooms = __soliboTmp;
2368
+ __soliboConverted = true;
2369
+ }
2370
+ if ((__soliboTmp = __soliboToKt5(address, ["model", "AddressSpecifics"])) !== address) {
2371
+ address = __soliboTmp;
2372
+ __soliboConverted = true;
2373
+ }
2374
+ if ((__soliboTmp = __soliboToKt5(avatar, ["model", "PersonAvatar"])) !== avatar) {
2375
+ avatar = __soliboTmp;
2376
+ __soliboConverted = true;
2377
+ }
2378
+ if ((__soliboTmp = __soliboToKt5(folkeregisteret, ["model", "Folkeregisteret"])) !== folkeregisteret) {
2379
+ folkeregisteret = __soliboTmp;
2380
+ __soliboConverted = true;
2381
+ }
2382
+ if ((__soliboTmp = __soliboToKt5(name, ["model", "Name"])) !== name) {
2383
+ name = __soliboTmp;
2384
+ __soliboConverted = true;
2385
+ }
2386
+ if ((__soliboTmp = __soliboToKt5(relationships, ["model", "ResidentRelationshipAggregate"])) !== relationships) {
2387
+ relationships = __soliboTmp;
2388
+ __soliboConverted = true;
2389
+ }
2390
+ Companion_getInstance_02();
2391
+ accountNumber = accountNumber === VOID5 ? null : accountNumber;
2392
+ attendances = attendances === VOID5 ? null : attendances;
2393
+ historicRoles = historicRoles === VOID5 ? null : historicRoles;
2394
+ note = note === VOID5 ? null : note;
2395
+ parkingSpaces = parkingSpaces === VOID5 ? null : parkingSpaces;
2396
+ profileUrl = profileUrl === VOID5 ? null : profileUrl;
2397
+ reservedEmail = reservedEmail === VOID5 ? null : reservedEmail;
2398
+ reservedSMS = reservedSMS === VOID5 ? null : reservedSMS;
2399
+ roles = roles === VOID5 ? null : roles;
2400
+ searchMatches = searchMatches === VOID5 ? null : searchMatches;
2401
+ storageRooms = storageRooms === VOID5 ? null : storageRooms;
2402
+ address = address === VOID5 ? null : address;
2403
+ avatar = avatar === VOID5 ? null : avatar;
2404
+ birthDay = birthDay === VOID5 ? null : birthDay;
2405
+ completeMobile = completeMobile === VOID5 ? null : completeMobile;
2406
+ email = email === VOID5 ? null : email;
2407
+ folkeregisteret = folkeregisteret === VOID5 ? null : folkeregisteret;
2408
+ invoicingEmail = invoicingEmail === VOID5 ? null : invoicingEmail;
2409
+ isUser = isUser === VOID5 ? null : isUser;
2410
+ mobile = mobile === VOID5 ? null : mobile;
2411
+ mobileCountryCode = mobileCountryCode === VOID5 ? null : mobileCountryCode;
2412
+ passportExpiration = passportExpiration === VOID5 ? null : passportExpiration;
2413
+ passportNumberId = passportNumberId === VOID5 ? null : passportNumberId;
2414
+ personnummerId = personnummerId === VOID5 ? null : personnummerId;
2415
+ personnummerTwoId = personnummerTwoId === VOID5 ? null : personnummerTwoId;
2416
+ relationships = relationships === VOID5 ? null : relationships;
2417
+ title = title === VOID5 ? null : title;
2418
+ Resident().call(this);
2419
+ this.accountNumber_1 = accountNumber;
2420
+ this.attendances_1 = attendances;
2421
+ this.country_1 = country;
2422
+ this.historicRoles_1 = historicRoles;
2423
+ this.id_1 = id;
2424
+ this.nationality_1 = nationality;
2425
+ this.note_1 = note;
2426
+ this.parkingSpaces_1 = parkingSpaces;
2427
+ this.profileUrl_1 = profileUrl;
2428
+ this.reservedEmail_1 = reservedEmail;
2429
+ this.reservedSMS_1 = reservedSMS;
2430
+ this.roles_1 = roles;
2431
+ this.searchMatches_1 = searchMatches;
2432
+ this.storageRooms_1 = storageRooms;
2433
+ this.address = address;
2434
+ this.avatar = avatar;
2435
+ this.birthDay = birthDay;
2436
+ this.completeMobile = completeMobile;
2437
+ this.email = email;
2438
+ this.folkeregisteret = folkeregisteret;
2439
+ this.invoicingEmail = invoicingEmail;
2440
+ this.isUser = isUser;
2441
+ this.mobile = mobile;
2442
+ this.mobileCountryCode = mobileCountryCode;
2443
+ this.name = name;
2444
+ this.passportExpiration = passportExpiration;
2445
+ this.passportNumberId = passportNumberId;
2446
+ this.personnummerId = personnummerId;
2447
+ this.personnummerTwoId = personnummerTwoId;
2448
+ this.relationships = relationships;
2449
+ this.title = title;
2450
+ if (__soliboConverted && !__soliboBoundaryState5.internalConstruction) return __soliboToJs5(this);
2451
+ };
2452
+ initMetadataForClass5($, "PersonResident", VOID5, Resident(), VOID5, VOID5, VOID5, { 0: $serializer_getInstance_92 });
2453
+ protoOf5($).get_accountNumber_hxsifn_k$ = function() {
2454
+ return this.accountNumber_1;
2455
+ };
2456
+ protoOf5($).get_attendances_7rzqnz_k$ = function() {
2457
+ return this.attendances_1;
2458
+ };
2459
+ protoOf5($).get_country_h3tl7x_k$ = function() {
2460
+ return this.country_1;
2461
+ };
2462
+ protoOf5($).get_historicRoles_x3391n_k$ = function() {
2463
+ return this.historicRoles_1;
2464
+ };
2465
+ protoOf5($).get_id_kntnx8_k$ = function() {
2466
+ return this.id_1;
2467
+ };
2468
+ protoOf5($).get_nationality_ffhahf_k$ = function() {
2469
+ return this.nationality_1;
2470
+ };
2471
+ protoOf5($).get_note_wor96j_k$ = function() {
2472
+ return this.note_1;
2473
+ };
2474
+ protoOf5($).get_parkingSpaces_2fmwx0_k$ = function() {
2475
+ return this.parkingSpaces_1;
2476
+ };
2477
+ protoOf5($).get_profileUrl_wmdgnj_k$ = function() {
2478
+ return this.profileUrl_1;
2479
+ };
2480
+ protoOf5($).get_reservedEmail_36tf4l_k$ = function() {
2481
+ return this.reservedEmail_1;
2482
+ };
2483
+ protoOf5($).get_reservedSMS_bwijbs_k$ = function() {
2484
+ return this.reservedSMS_1;
2485
+ };
2486
+ protoOf5($).get_roles_iy35hw_k$ = function() {
2487
+ return this.roles_1;
2488
+ };
2489
+ protoOf5($).get_searchMatches_ygomrm_k$ = function() {
2490
+ return this.searchMatches_1;
2491
+ };
2492
+ protoOf5($).get_storageRooms_j6njba_k$ = function() {
2493
+ return this.storageRooms_1;
2494
+ };
2495
+ protoOf5($).get_address_hpr2t1_k$ = function() {
2496
+ return this.address;
2497
+ };
2498
+ protoOf5($).get_avatar_b5pjz6_k$ = function() {
2499
+ return this.avatar;
2500
+ };
2501
+ protoOf5($).get_birthDay_e49yhm_k$ = function() {
2502
+ return this.birthDay;
2503
+ };
2504
+ protoOf5($).get_completeMobile_mgo5a4_k$ = function() {
2505
+ return this.completeMobile;
2506
+ };
2507
+ protoOf5($).get_email_iqwbqr_k$ = function() {
2508
+ return this.email;
2509
+ };
2510
+ protoOf5($).get_folkeregisteret_vdov5y_k$ = function() {
2511
+ return this.folkeregisteret;
2512
+ };
2513
+ protoOf5($).get_invoicingEmail_jgzfh7_k$ = function() {
2514
+ return this.invoicingEmail;
2515
+ };
2516
+ protoOf5($).get_isUser_ew7gv2_k$ = function() {
2517
+ return this.isUser;
2518
+ };
2519
+ protoOf5($).get_mobile_gqevmz_k$ = function() {
2520
+ return this.mobile;
2521
+ };
2522
+ protoOf5($).get_mobileCountryCode_yen4e0_k$ = function() {
2523
+ return this.mobileCountryCode;
2524
+ };
2525
+ protoOf5($).get_name_woqyms_k$ = function() {
2526
+ return this.name;
2527
+ };
2528
+ protoOf5($).get_passportExpiration_22nzze_k$ = function() {
2529
+ return this.passportExpiration;
2530
+ };
2531
+ protoOf5($).get_passportNumberId_asuce7_k$ = function() {
2532
+ return this.passportNumberId;
2533
+ };
2534
+ protoOf5($).get_personnummerId_7pj2kz_k$ = function() {
2535
+ return this.personnummerId;
2536
+ };
2537
+ protoOf5($).get_personnummerTwoId_khsjij_k$ = function() {
2538
+ return this.personnummerTwoId;
2539
+ };
2540
+ protoOf5($).get_relationships_6ll72q_k$ = function() {
2541
+ return this.relationships;
2542
+ };
2543
+ protoOf5($).get_title_iz32un_k$ = function() {
2544
+ return this.title;
2545
+ };
2546
+ protoOf5($).component1_7eebsc_k$ = function() {
2547
+ return this.accountNumber_1;
2548
+ };
2549
+ protoOf5($).component2_7eebsb_k$ = function() {
2550
+ return this.attendances_1;
2551
+ };
2552
+ protoOf5($).component3_7eebsa_k$ = function() {
2553
+ return this.country_1;
2554
+ };
2555
+ protoOf5($).component4_7eebs9_k$ = function() {
2556
+ return this.historicRoles_1;
2557
+ };
2558
+ protoOf5($).component5_7eebs8_k$ = function() {
2559
+ return this.id_1;
2560
+ };
2561
+ protoOf5($).component6_7eebs7_k$ = function() {
2562
+ return this.nationality_1;
2563
+ };
2564
+ protoOf5($).component7_7eebs6_k$ = function() {
2565
+ return this.note_1;
2566
+ };
2567
+ protoOf5($).component8_7eebs5_k$ = function() {
2568
+ return this.parkingSpaces_1;
2569
+ };
2570
+ protoOf5($).component9_7eebs4_k$ = function() {
2571
+ return this.profileUrl_1;
2572
+ };
2573
+ protoOf5($).component10_gazzfo_k$ = function() {
2574
+ return this.reservedEmail_1;
2575
+ };
2576
+ protoOf5($).component11_gazzfn_k$ = function() {
2577
+ return this.reservedSMS_1;
2578
+ };
2579
+ protoOf5($).component12_gazzfm_k$ = function() {
2580
+ return this.roles_1;
2581
+ };
2582
+ protoOf5($).component13_gazzfl_k$ = function() {
2583
+ return this.searchMatches_1;
2584
+ };
2585
+ protoOf5($).component14_gazzfk_k$ = function() {
2586
+ return this.storageRooms_1;
2587
+ };
2588
+ protoOf5($).component15_gazzfj_k$ = function() {
2589
+ return this.address;
2590
+ };
2591
+ protoOf5($).component16_gazzfi_k$ = function() {
2592
+ return this.avatar;
2593
+ };
2594
+ protoOf5($).component17_gazzfh_k$ = function() {
2595
+ return this.birthDay;
2596
+ };
2597
+ protoOf5($).component18_gazzfg_k$ = function() {
2598
+ return this.completeMobile;
2599
+ };
2600
+ protoOf5($).component19_gazzff_k$ = function() {
2601
+ return this.email;
2602
+ };
2603
+ protoOf5($).component20_gazzet_k$ = function() {
2604
+ return this.folkeregisteret;
2605
+ };
2606
+ protoOf5($).component21_gazzes_k$ = function() {
2607
+ return this.invoicingEmail;
2608
+ };
2609
+ protoOf5($).component22_gazzer_k$ = function() {
2610
+ return this.isUser;
2611
+ };
2612
+ protoOf5($).component23_gazzeq_k$ = function() {
2613
+ return this.mobile;
2614
+ };
2615
+ protoOf5($).component24_gazzep_k$ = function() {
2616
+ return this.mobileCountryCode;
2617
+ };
2618
+ protoOf5($).component25_gazzeo_k$ = function() {
2619
+ return this.name;
2620
+ };
2621
+ protoOf5($).component26_gazzen_k$ = function() {
2622
+ return this.passportExpiration;
2623
+ };
2624
+ protoOf5($).component27_gazzem_k$ = function() {
2625
+ return this.passportNumberId;
2626
+ };
2627
+ protoOf5($).component28_gazzel_k$ = function() {
2628
+ return this.personnummerId;
2629
+ };
2630
+ protoOf5($).component29_gazzek_k$ = function() {
2631
+ return this.personnummerTwoId;
2632
+ };
2633
+ protoOf5($).component30_gazzdy_k$ = function() {
2634
+ return this.relationships;
2635
+ };
2636
+ protoOf5($).component31_gazzdx_k$ = function() {
2637
+ return this.title;
2638
+ };
2639
+ protoOf5($).copy_1g0m12_k$ = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title) {
2640
+ return new (PersonResident())(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title);
2641
+ };
2642
+ protoOf5($).copy = function(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title, $super) {
2643
+ accountNumber = accountNumber === VOID5 ? this.accountNumber_1 : accountNumber;
2644
+ attendances = attendances === VOID5 ? this.attendances_1 : attendances;
2645
+ country = country === VOID5 ? this.country_1 : country;
2646
+ historicRoles = historicRoles === VOID5 ? this.historicRoles_1 : historicRoles;
2647
+ id = id === VOID5 ? this.id_1 : id;
2648
+ nationality = nationality === VOID5 ? this.nationality_1 : nationality;
2649
+ note = note === VOID5 ? this.note_1 : note;
2650
+ parkingSpaces = parkingSpaces === VOID5 ? this.parkingSpaces_1 : parkingSpaces;
2651
+ profileUrl = profileUrl === VOID5 ? this.profileUrl_1 : profileUrl;
2652
+ reservedEmail = reservedEmail === VOID5 ? this.reservedEmail_1 : reservedEmail;
2653
+ reservedSMS = reservedSMS === VOID5 ? this.reservedSMS_1 : reservedSMS;
2654
+ roles = roles === VOID5 ? this.roles_1 : roles;
2655
+ searchMatches = searchMatches === VOID5 ? this.searchMatches_1 : searchMatches;
2656
+ storageRooms = storageRooms === VOID5 ? this.storageRooms_1 : storageRooms;
2657
+ address = address === VOID5 ? this.address : address;
2658
+ avatar = avatar === VOID5 ? this.avatar : avatar;
2659
+ birthDay = birthDay === VOID5 ? this.birthDay : birthDay;
2660
+ completeMobile = completeMobile === VOID5 ? this.completeMobile : completeMobile;
2661
+ email = email === VOID5 ? this.email : email;
2662
+ folkeregisteret = folkeregisteret === VOID5 ? this.folkeregisteret : folkeregisteret;
2663
+ invoicingEmail = invoicingEmail === VOID5 ? this.invoicingEmail : invoicingEmail;
2664
+ isUser = isUser === VOID5 ? this.isUser : isUser;
2665
+ mobile = mobile === VOID5 ? this.mobile : mobile;
2666
+ mobileCountryCode = mobileCountryCode === VOID5 ? this.mobileCountryCode : mobileCountryCode;
2667
+ name = name === VOID5 ? this.name : name;
2668
+ passportExpiration = passportExpiration === VOID5 ? this.passportExpiration : passportExpiration;
2669
+ passportNumberId = passportNumberId === VOID5 ? this.passportNumberId : passportNumberId;
2670
+ personnummerId = personnummerId === VOID5 ? this.personnummerId : personnummerId;
2671
+ personnummerTwoId = personnummerTwoId === VOID5 ? this.personnummerTwoId : personnummerTwoId;
2672
+ relationships = relationships === VOID5 ? this.relationships : relationships;
2673
+ title = title === VOID5 ? this.title : title;
2674
+ return $super === VOID5 ? this.copy_1g0m12_k$(accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title) : $super.copy_1g0m12_k$.call(this, accountNumber, attendances, country, historicRoles, id, nationality, note, parkingSpaces, profileUrl, reservedEmail, reservedSMS, roles, searchMatches, storageRooms, address, avatar, birthDay, completeMobile, email, folkeregisteret, invoicingEmail, isUser, mobile, mobileCountryCode, name, passportExpiration, passportNumberId, personnummerId, personnummerTwoId, relationships, title);
2675
+ };
2676
+ protoOf5($).toString = function() {
2677
+ return "PersonResident(accountNumber=" + this.accountNumber_1 + ", attendances=" + toString4(this.attendances_1) + ", country=" + this.country_1 + ", historicRoles=" + toString4(this.historicRoles_1) + ", id=" + this.id_1.toString() + ", nationality=" + this.nationality_1.toString() + ", note=" + this.note_1 + ", parkingSpaces=" + toString4(this.parkingSpaces_1) + ", profileUrl=" + this.profileUrl_1 + ", reservedEmail=" + this.reservedEmail_1 + ", reservedSMS=" + this.reservedSMS_1 + ", roles=" + toString4(this.roles_1) + ", searchMatches=" + toString4(this.searchMatches_1) + ", storageRooms=" + toString4(this.storageRooms_1) + ", address=" + toString4(this.address) + ", avatar=" + toString4(this.avatar) + ", birthDay=" + this.birthDay + ", completeMobile=" + this.completeMobile + ", email=" + this.email + ", folkeregisteret=" + toString4(this.folkeregisteret) + ", invoicingEmail=" + this.invoicingEmail + ", isUser=" + this.isUser + ", mobile=" + this.mobile + ", mobileCountryCode=" + this.mobileCountryCode + ", name=" + this.name.toString() + ", passportExpiration=" + toString4(this.passportExpiration) + ", passportNumberId=" + this.passportNumberId + ", personnummerId=" + this.personnummerId + ", personnummerTwoId=" + this.personnummerTwoId + ", relationships=" + toString4(this.relationships) + ", title=" + this.title + ")";
2678
+ };
2679
+ protoOf5($).hashCode = function() {
2680
+ var result = this.accountNumber_1 == null ? 0 : getStringHashCode2(this.accountNumber_1);
2681
+ result = imul5(result, 31) + (this.attendances_1 == null ? 0 : hashCode4(this.attendances_1)) | 0;
2682
+ result = imul5(result, 31) + getStringHashCode2(this.country_1) | 0;
2683
+ result = imul5(result, 31) + (this.historicRoles_1 == null ? 0 : hashCode4(this.historicRoles_1)) | 0;
2684
+ result = imul5(result, 31) + getBigIntHashCode3(this.id_1) | 0;
2685
+ result = imul5(result, 31) + getBigIntHashCode3(this.nationality_1) | 0;
2686
+ result = imul5(result, 31) + (this.note_1 == null ? 0 : getStringHashCode2(this.note_1)) | 0;
2687
+ result = imul5(result, 31) + (this.parkingSpaces_1 == null ? 0 : hashCode4(this.parkingSpaces_1)) | 0;
2688
+ result = imul5(result, 31) + (this.profileUrl_1 == null ? 0 : getStringHashCode2(this.profileUrl_1)) | 0;
2689
+ result = imul5(result, 31) + (this.reservedEmail_1 == null ? 0 : getBooleanHashCode2(this.reservedEmail_1)) | 0;
2690
+ result = imul5(result, 31) + (this.reservedSMS_1 == null ? 0 : getBooleanHashCode2(this.reservedSMS_1)) | 0;
2691
+ result = imul5(result, 31) + (this.roles_1 == null ? 0 : hashCode4(this.roles_1)) | 0;
2692
+ result = imul5(result, 31) + (this.searchMatches_1 == null ? 0 : hashCode4(this.searchMatches_1)) | 0;
2693
+ result = imul5(result, 31) + (this.storageRooms_1 == null ? 0 : hashCode4(this.storageRooms_1)) | 0;
2694
+ result = imul5(result, 31) + (this.address == null ? 0 : this.address.hashCode()) | 0;
2695
+ result = imul5(result, 31) + (this.avatar == null ? 0 : this.avatar.hashCode()) | 0;
2696
+ result = imul5(result, 31) + (this.birthDay == null ? 0 : getStringHashCode2(this.birthDay)) | 0;
2697
+ result = imul5(result, 31) + (this.completeMobile == null ? 0 : getStringHashCode2(this.completeMobile)) | 0;
2698
+ result = imul5(result, 31) + (this.email == null ? 0 : getStringHashCode2(this.email)) | 0;
2699
+ result = imul5(result, 31) + (this.folkeregisteret == null ? 0 : this.folkeregisteret.hashCode()) | 0;
2700
+ result = imul5(result, 31) + (this.invoicingEmail == null ? 0 : getStringHashCode2(this.invoicingEmail)) | 0;
2701
+ result = imul5(result, 31) + (this.isUser == null ? 0 : getBooleanHashCode2(this.isUser)) | 0;
2702
+ result = imul5(result, 31) + (this.mobile == null ? 0 : getStringHashCode2(this.mobile)) | 0;
2703
+ result = imul5(result, 31) + (this.mobileCountryCode == null ? 0 : getStringHashCode2(this.mobileCountryCode)) | 0;
2704
+ result = imul5(result, 31) + this.name.hashCode() | 0;
2705
+ result = imul5(result, 31) + (this.passportExpiration == null ? 0 : this.passportExpiration.hashCode()) | 0;
2706
+ result = imul5(result, 31) + (this.passportNumberId == null ? 0 : getStringHashCode2(this.passportNumberId)) | 0;
2707
+ result = imul5(result, 31) + (this.personnummerId == null ? 0 : getStringHashCode2(this.personnummerId)) | 0;
2708
+ result = imul5(result, 31) + (this.personnummerTwoId == null ? 0 : getStringHashCode2(this.personnummerTwoId)) | 0;
2709
+ result = imul5(result, 31) + (this.relationships == null ? 0 : this.relationships.hashCode()) | 0;
2710
+ result = imul5(result, 31) + (this.title == null ? 0 : getStringHashCode2(this.title)) | 0;
2711
+ return result;
2712
+ };
2713
+ protoOf5($).equals = function(other) {
2714
+ if (this === other)
2715
+ return true;
2716
+ if (!(other instanceof PersonResident()))
2717
+ return false;
2718
+ if (!(this.accountNumber_1 == other.accountNumber_1))
2719
+ return false;
2720
+ if (!equals4(this.attendances_1, other.attendances_1))
2721
+ return false;
2722
+ if (!(this.country_1 === other.country_1))
2723
+ return false;
2724
+ if (!equals4(this.historicRoles_1, other.historicRoles_1))
2725
+ return false;
2726
+ if (!(this.id_1 === other.id_1))
2727
+ return false;
2728
+ if (!(this.nationality_1 === other.nationality_1))
2729
+ return false;
2730
+ if (!(this.note_1 == other.note_1))
2731
+ return false;
2732
+ if (!equals4(this.parkingSpaces_1, other.parkingSpaces_1))
2733
+ return false;
2734
+ if (!(this.profileUrl_1 == other.profileUrl_1))
2735
+ return false;
2736
+ if (!(this.reservedEmail_1 == other.reservedEmail_1))
2737
+ return false;
2738
+ if (!(this.reservedSMS_1 == other.reservedSMS_1))
2739
+ return false;
2740
+ if (!equals4(this.roles_1, other.roles_1))
2741
+ return false;
2742
+ if (!equals4(this.searchMatches_1, other.searchMatches_1))
2743
+ return false;
2744
+ if (!equals4(this.storageRooms_1, other.storageRooms_1))
2745
+ return false;
2746
+ if (!equals4(this.address, other.address))
2747
+ return false;
2748
+ if (!equals4(this.avatar, other.avatar))
2749
+ return false;
2750
+ if (!(this.birthDay == other.birthDay))
2751
+ return false;
2752
+ if (!(this.completeMobile == other.completeMobile))
2753
+ return false;
2754
+ if (!(this.email == other.email))
2755
+ return false;
2756
+ if (!equals4(this.folkeregisteret, other.folkeregisteret))
2757
+ return false;
2758
+ if (!(this.invoicingEmail == other.invoicingEmail))
2759
+ return false;
2760
+ if (!(this.isUser == other.isUser))
2761
+ return false;
2762
+ if (!(this.mobile == other.mobile))
2763
+ return false;
2764
+ if (!(this.mobileCountryCode == other.mobileCountryCode))
2765
+ return false;
2766
+ if (!this.name.equals(other.name))
2767
+ return false;
2768
+ if (!equals4(this.passportExpiration, other.passportExpiration))
2769
+ return false;
2770
+ if (!(this.passportNumberId == other.passportNumberId))
2771
+ return false;
2772
+ if (!(this.personnummerId == other.personnummerId))
2773
+ return false;
2774
+ if (!(this.personnummerTwoId == other.personnummerTwoId))
2775
+ return false;
2776
+ if (!equals4(this.relationships, other.relationships))
2777
+ return false;
2778
+ if (!(this.title == other.title))
2779
+ return false;
2780
+ return true;
2781
+ };
2782
+ Object.defineProperty($, "name", { value: "PersonResident", configurable: true });
2783
+ __soliboRegisterOwnFields4($, { "address": ["model", "AddressSpecifics"], "avatar": ["model", "PersonAvatar"], "folkeregisteret": ["model", "Folkeregisteret"], "name": ["model", "Name"], "relationships": ["model", "ResidentRelationshipAggregate"] });
2784
+ __soliboRegisterLookup5("PersonResident", () => $);
2785
+ PersonResidentClass = $;
2786
+ }
2787
+ return PersonResidentClass;
2788
+ }
2789
+ __soliboRegisterLookup5("AddressSpecifics", () => __soliboType_AddressSpecifics());
2790
+ __soliboRegisterLookup5("Attendance", () => Attendance());
2791
+ __soliboRegisterLookup5("Folkeregisteret", () => __soliboType_Folkeregisteret());
2792
+ __soliboRegisterLookup5("Name", () => __soliboType_Name());
2793
+ __soliboRegisterLookup5("ParkingSpaceOwnership", () => __soliboType_ParkingSpaceOwnership2());
2794
+ __soliboRegisterLookup5("PersonAvatar", () => __soliboType_PersonAvatar());
2795
+ __soliboRegisterLookup5("ResidentRelationshipAggregate", () => ResidentRelationshipAggregate());
2796
+ __soliboRegisterLookup5("Role", () => __soliboType_Role3());
2797
+ __soliboRegisterLookup5("SearchMatch", () => __soliboType_SearchMatch2());
2798
+ __soliboRegisterLookup5("StorageRoomOwnership", () => __soliboType_StorageRoomOwnership2());
2799
+
2800
+ // build/packages/js/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Resident.mjs
2801
+ import { getKClass3t8tygqu4lcxf as getKClass } from "../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs";
2802
+ import { SealedClassSerializer_init_$Create$15ycao7509ndt as SealedClassSerializer_init_$Create$ } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs";
2803
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance5 } from "../kotlin-kotlin-stdlib/kotlin/Lazy.mjs";
2804
+ import { lazy1261dae0bgscp as lazy5 } from "../kotlin-kotlin-stdlib/kotlin/kotlin.mjs";
2805
+ import {
2806
+ protoOf180f3jzyo7rfj as protoOf6,
2807
+ defineProp3ur6h3slcvq4x as defineProp
2808
+ } from "../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs";
2809
+ import { SerializerFactory1qv9hivitncuv as SerializerFactory } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs";
2810
+ import {
2811
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion6,
2812
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass6
2813
+ } from "../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs";
2814
+ import { VOID3gxj6tk5isa35 as VOID6 } from "../kotlin-kotlin-stdlib/kotlin/js/void.mjs";
2815
+ import { SerializableWithd2dap36updxd as SerializableWith6 } from "../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs";
2816
+ import { __soliboBoundaryState as __soliboBoundaryState6, __soliboRegisterLookup as __soliboRegisterLookup6, __soliboRegisterOwnFields as __soliboRegisterOwnFields5, __soliboToJs as __soliboToJs6, __soliboToKt as __soliboToKt6, __soliboWrapAccessor as __soliboWrapAccessor5, __soliboWrapFunction as __soliboWrapFunction5, __soliboWrapMethod as __soliboWrapMethod5 } from "../solibo-boundary.mjs";
2817
+ function _get_$cachedSerializer__te6jhj($this) {
2818
+ return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
2819
+ }
2820
+ function Resident$Companion$_anonymous__dbd0lb() {
2821
+ var tmp = getKClass(Resident());
2822
+ var tmp_0 = [getKClass(OrganizationResident()), getKClass(PersonResident())];
2823
+ var tmp_1 = [$serializer_getInstance_9(), $serializer_getInstance_92()];
2824
+ var tmp$ret$6 = [];
2825
+ return SealedClassSerializer_init_$Create$("no.solibo.oss.sdk.api.gen.models.Resident", tmp, tmp_0, tmp_1, tmp$ret$6);
2826
+ }
2827
+ var CompanionClass6;
2828
+ function Companion6() {
2829
+ if (CompanionClass6 === VOID6) {
2830
+ let $ = function() {
2831
+ Companion_instance6 = this;
2832
+ var tmp = this;
2833
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance5();
2834
+ tmp.$cachedSerializer$delegate_1 = lazy5(tmp_0, Resident$Companion$_anonymous__dbd0lb);
2835
+ };
2836
+ initMetadataForCompanion6($, VOID6, [SerializerFactory()]);
2837
+ protoOf6($).serializer_9w0wvi_k$ = function() {
2838
+ return _get_$cachedSerializer__te6jhj(this);
2839
+ };
2840
+ protoOf6($).serializer_nv39qc_k$ = function(typeParamsSerializers) {
2841
+ return this.serializer_9w0wvi_k$();
2842
+ };
2843
+ CompanionClass6 = $;
2844
+ }
2845
+ return CompanionClass6;
2846
+ }
2847
+ var Companion_instance6;
2848
+ function Companion_getInstance() {
2849
+ if (Companion_instance6 == null)
2850
+ new (Companion6())();
2851
+ return Companion_instance6;
2852
+ }
2853
+ function Resident_init_$Init$(seen0, serializationConstructorMarker, $this) {
2854
+ return $this;
2855
+ }
2856
+ var ResidentClass;
2857
+ function Resident() {
2858
+ if (ResidentClass === VOID6) {
2859
+ let $ = function() {
2860
+ Companion_getInstance();
2861
+ };
2862
+ initMetadataForClass6($, "Resident", VOID6, VOID6, VOID6, VOID6, VOID6, { 0: Companion_getInstance });
2863
+ defineProp(protoOf6($), "accountNumber", function() {
2864
+ return this.get_accountNumber_hxsifn_k$();
2865
+ });
2866
+ defineProp(protoOf6($), "attendances", function() {
2867
+ return this.get_attendances_7rzqnz_k$();
2868
+ });
2869
+ defineProp(protoOf6($), "country", function() {
2870
+ return this.get_country_h3tl7x_k$();
2871
+ });
2872
+ defineProp(protoOf6($), "historicRoles", function() {
2873
+ return this.get_historicRoles_x3391n_k$();
2874
+ });
2875
+ defineProp(protoOf6($), "id", function() {
2876
+ return this.get_id_kntnx8_k$();
2877
+ });
2878
+ defineProp(protoOf6($), "nationality", function() {
2879
+ return this.get_nationality_ffhahf_k$();
2880
+ });
2881
+ defineProp(protoOf6($), "note", function() {
2882
+ return this.get_note_wor96j_k$();
2883
+ });
2884
+ defineProp(protoOf6($), "parkingSpaces", function() {
2885
+ return this.get_parkingSpaces_2fmwx0_k$();
2886
+ });
2887
+ defineProp(protoOf6($), "profileUrl", function() {
2888
+ return this.get_profileUrl_wmdgnj_k$();
2889
+ });
2890
+ defineProp(protoOf6($), "reservedEmail", function() {
2891
+ return this.get_reservedEmail_36tf4l_k$();
2892
+ });
2893
+ defineProp(protoOf6($), "reservedSMS", function() {
2894
+ return this.get_reservedSMS_bwijbs_k$();
2895
+ });
2896
+ defineProp(protoOf6($), "roles", function() {
2897
+ return this.get_roles_iy35hw_k$();
2898
+ });
2899
+ defineProp(protoOf6($), "searchMatches", function() {
2900
+ return this.get_searchMatches_ygomrm_k$();
2901
+ });
2902
+ defineProp(protoOf6($), "storageRooms", function() {
2903
+ return this.get_storageRooms_j6njba_k$();
2904
+ });
2905
+ Object.defineProperty($, "name", { value: "Resident", configurable: true });
2906
+ __soliboWrapAccessor5($, "attendances", { "get": true, "isStatic": false });
2907
+ __soliboWrapAccessor5($, "historicRoles", { "get": true, "isStatic": false });
2908
+ __soliboWrapAccessor5($, "parkingSpaces", { "get": true, "isStatic": false });
2909
+ __soliboWrapAccessor5($, "roles", { "get": true, "isStatic": false });
2910
+ __soliboWrapAccessor5($, "searchMatches", { "get": true, "isStatic": false });
2911
+ __soliboWrapAccessor5($, "storageRooms", { "get": true, "isStatic": false });
2912
+ __soliboRegisterLookup6("Resident", () => $);
2913
+ ResidentClass = $;
2914
+ }
2915
+ return ResidentClass;
867
2916
  }
868
- Companion_instance3 = new (Companion3())();
869
2917
  export {
870
- $serializer_getInstance_2 as $serializer_getInstance1xofxx6tmbleh,
871
- $serializer_getInstance2 as $serializer_getInstance2nu5loepr19az,
872
- AuthUser as AuthUser16f63me897m7a,
873
- AuthUser_init_$Init$ as AuthUser_init_$Init$j8nshj2o3way,
874
- ClientUser as ClientUsersjd6zino4nc5,
875
- Companion_getInstance as Companion_getInstance3992bes6ol5x4,
876
- PersonUser as PersonUser1o3jqucjhp8kn
2918
+ $serializer_getInstance as $serializer_getInstance1xc1ayfikyq2e,
2919
+ $serializer_getInstance_92 as $serializer_getInstance29hfa3e8646x3,
2920
+ $serializer_getInstance_9 as $serializer_getInstance2of8m2vsb4jgm,
2921
+ $serializer_getInstance_1 as $serializer_getInstance3w2yi7ls0lgvn,
2922
+ $serializer_getInstance_02 as $serializer_getInstancekazghgtgecp9,
2923
+ Attendance as Attendanceulw9l8mqz73z,
2924
+ Companion_getInstance as Companion_getInstancey8z43a9cxmd4,
2925
+ OrganizationResident as OrganizationResident300vdqe6b03vt,
2926
+ PersonResident as PersonResidentntvn8fiejh7l,
2927
+ Resident as Resident1usxjju9a7kfe,
2928
+ ResidentRelationshipAggregate as ResidentRelationshipAggregate15w53vuzbwut8,
2929
+ ResidentRelationshipPeriod as ResidentRelationshipPeriodwjj1rxqihr5j,
2930
+ Resident_init_$Init$ as Resident_init_$Init$4amzwwrkhlkh
877
2931
  };