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