@solibo/solibo-sdk 1.57.9 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/decimal/BigDecimal.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/decimal/BigDecimalExtensions.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/integer/BigInteger.mjs +2 -2
- package/KotlinBigInteger-bignum/com/ionspin/kotlin/bignum/integer/BigIntegerExtensions.mjs +2 -2
- package/client-core.mjs +71 -7
- package/client.d.mts +38 -1
- package/core.d.mts +2 -2
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesCbc.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesCtr.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoAesGcm.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEcdh.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEcdsa.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoEdDsa.mjs +2 -2
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoHmac.mjs +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaOaep.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaPkcs1.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoRsaPss.mjs +3 -3
- package/cryptography-kotlin-cryptography-provider-webcrypto/dev/whyoleg/cryptography/providers/webcrypto/algorithms/WebCryptoXdh.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +31 -0
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -1
- package/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +2 -0
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableJob.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Runnable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +8 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +128 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +19 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +50 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Distinct.mjs +215 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +111 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +2 -273
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +2 -366
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +2 -144
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +648 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +13 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +311 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +39 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +2 -2
- package/ktor-ktor-client-auth/io/ktor/client/plugins/auth/Auth.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/fetch/LibDom.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCache.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheEntry.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheLegacy.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/HttpCacheValidation.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/DisabledCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/HttpCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cache/storage/UnlimitedCacheStorage.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/cookies/HttpCookies.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +2 -2
- package/ktor-ktor-client-encoding/io/ktor/client/plugins/compression/ContentEncoding.mjs +1 -1
- package/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/Url.mjs +2 -2
- package/ktor-ktor-http/io/ktor/http/content/CompressedContent.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +11 -2
- package/package.json +1 -1
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-4.mjs +5 -5
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-6.mjs +8 -8
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-7.mjs +4 -4
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-8.mjs +21 -21
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-9.mjs +9 -9
- package/solibo-cycles/cryptography-kotlin-cryptography-serialization-asn1-modules-3.mjs +3 -3
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +11 -11
- package/solibo-cycles/kotlin-kotlin-stdlib-13.mjs +297 -245
- package/solibo-cycles/kotlin-kotlin-stdlib-14.mjs +250 -428
- package/solibo-cycles/kotlin-kotlin-stdlib-15.mjs +482 -0
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +5576 -3023
- package/solibo-cycles/kotlinx-coroutines-core-18.mjs +3500 -365
- package/solibo-cycles/kotlinx-coroutines-core-19.mjs +1316 -0
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-20.mjs +602 -336
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-21.mjs +383 -0
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-22.mjs +4075 -145
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-23.mjs +188 -196
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-24.mjs +186 -360
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-25.mjs +392 -0
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-26.mjs +227 -3646
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-27.mjs +3638 -143
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-28.mjs +179 -0
- package/solibo-cycles/ktor-ktor-client-core-29.mjs +3004 -427
- package/solibo-cycles/ktor-ktor-client-core-30.mjs +455 -3061
- package/solibo-cycles/ktor-ktor-client-core-31.mjs +3176 -0
- package/solibo-cycles/{ktor-ktor-http-31.mjs → ktor-ktor-http-32.mjs} +5 -5
- package/solibo-cycles/ktor-ktor-io-33.mjs +2950 -342
- package/solibo-cycles/ktor-ktor-io-34.mjs +412 -0
- package/solibo-cycles/ktor-ktor-utils-35.mjs +557 -312
- package/solibo-cycles/ktor-ktor-utils-36.mjs +329 -218
- package/solibo-cycles/ktor-ktor-utils-37.mjs +245 -0
- package/solibo-cycles/{solibo-sdk-sdk-api-document-39.mjs → solibo-sdk-sdk-api-document-40.mjs} +1 -1
- package/solibo-cycles/solibo-sdk-sdk-api-resident-43.mjs +819 -332
- package/solibo-cycles/solibo-sdk-sdk-api-resident-44.mjs +745 -1431
- package/solibo-cycles/solibo-sdk-sdk-api-resident-45.mjs +1597 -0
- package/solibo-cycles/solibo-sdk-sdk-core-47.mjs +1020 -3585
- package/solibo-cycles/solibo-sdk-sdk-core-48.mjs +3984 -2184
- package/solibo-cycles/solibo-sdk-sdk-core-49.mjs +2634 -580
- package/solibo-cycles/solibo-sdk-sdk-core-50.mjs +597 -1902
- package/solibo-cycles/solibo-sdk-sdk-core-51.mjs +1873 -943
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +1147 -9240
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +8074 -3853
- package/solibo-cycles/solibo-sdk-sdk-core-54.mjs +5135 -0
- package/solibo-sdk-sdk/no/solibo/oss/sdk/SoliboSDK.mjs +1 -1
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/IntegratedDocumentMutation.export.d.mts +18 -0
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/IntegratedDocumentMutation.mjs +3411 -463
- package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +874 -707
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewCommunicationCommentPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewMessageInConversationPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewNeighborhoodPostPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewOppslagPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/NewPracticalInfoPushPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/PushNotificationPayload.mjs +2 -2
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentUploader.mjs +2 -2
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentsApi.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/ExpenseFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/FollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/MeetingProtocolFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-follow-up/no/solibo/oss/sdk/api/gen/models/SupplierInvoiceFollowUp.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalOrganizationCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CreateExternalPersonCustomerCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/ResidentOperations.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/ResidentsApi.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreateOrganizationResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreatePersonResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/CreateResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateOrganizationResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdatePersonResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-resident/no/solibo/oss/sdk/api/gen/models/UpdateResidentCommand.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationAltinnError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationEmailError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationPostenError.mjs +2 -2
- package/solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformationProcessError.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/Platform.js.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/SoliboSDKBase.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBus.export.d.mts +3 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBus.mjs +743 -69
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBusAccess.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/EventBusSubscriptions.mjs +75 -25
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.export.d.mts +1 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/HomeApiBase.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/ApiClient.mjs +1 -1
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Ack.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AckedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Attendance.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/AuthUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/BoardParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ClientUserParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationEventPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationMessagePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationTypingPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ConversationUpdatedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Customer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DomainEventPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EmployeeParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/EventBusErrorPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/GenericPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/HeartbeatPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IncomingEventBusMessage.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/InquiryParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationCustomer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/OrganizationResident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Participant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonCustomer.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonResident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonUser.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Ping.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Pong.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ReplayCompletePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Resident.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipAggregate.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/ResidentRelationshipPeriod.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextAckedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextClose.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextErrorPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpen.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextOpenedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresence.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextPresencePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextSyncedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdate.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SharedTextUpdatePayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Subscribe.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscribedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SubscriptionEndedPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContactParticipant.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Typing.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Unsubscribe.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/WebSocketPayload.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/auth/Auth.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/auth/SignInResult.mjs +2 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +22 -1
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +0 -5952
- package/solibo-cycles/kotlinx-io-kotlinx-io-core-19.mjs +0 -649
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-core-21.mjs +0 -4140
- package/solibo-cycles/kotlinx-serialization-kotlinx-serialization-json-25.mjs +0 -255
- package/solibo-cycles/ktor-ktor-client-core-28.mjs +0 -3147
- package/solibo-cycles/ktor-ktor-io-32.mjs +0 -3020
- package/solibo-cycles/ktor-ktor-utils-34.mjs +0 -601
- package/solibo-cycles/solibo-sdk-sdk-api-resident-42.mjs +0 -1398
- package/solibo-cycles/solibo-sdk-sdk-core-46.mjs +0 -2166
- /package/solibo-cycles/{KotlinBigInteger-bignum-15.mjs → KotlinBigInteger-bignum-16.mjs} +0 -0
- /package/solibo-cycles/{ktor-ktor-websockets-37.mjs → ktor-ktor-websockets-38.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-communication-38.mjs → solibo-sdk-sdk-api-communication-39.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-follow-up-40.mjs → solibo-sdk-sdk-api-follow-up-41.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-invoicing-41.mjs → solibo-sdk-sdk-api-invoicing-42.mjs} +0 -0
- /package/solibo-cycles/{solibo-sdk-sdk-api-third-party-information-45.mjs → solibo-sdk-sdk-api-third-party-information-46.mjs} +0 -0
|
@@ -90,6 +90,8 @@ import {
|
|
|
90
90
|
toList3jhuyej2anx2q as toList,
|
|
91
91
|
plus310ted5e4i90h as plus,
|
|
92
92
|
filterNotNull3qfgcwmxhwfxe as filterNotNull,
|
|
93
|
+
first58ocm7j58k3q as first,
|
|
94
|
+
drop3na99dw9feawf as drop,
|
|
93
95
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
94
96
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
95
97
|
import {
|
|
@@ -101,10 +103,9 @@ import {
|
|
|
101
103
|
ArrayList_init_$Create$a978fvbbts3d as ArrayList_init_$Create$,
|
|
102
104
|
ArrayList_init_$Create$2xrifdqz5xirg as ArrayList_init_$Create$_0,
|
|
103
105
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
104
|
-
import { supervisorScope2nuftiw8ju904 as supervisorScope } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
|
|
105
106
|
import {
|
|
106
|
-
IntegratedDocumentRole_IMAGE_getInstance2xfia0ynikohd as IntegratedDocumentRole_IMAGE_getInstance,
|
|
107
107
|
IntegratedDocumentRole_ATTACHMENT_getInstance3tm9hdnkzcjuw as IntegratedDocumentRole_ATTACHMENT_getInstance,
|
|
108
|
+
IntegratedDocumentRole_IMAGE_getInstance2xfia0ynikohd as IntegratedDocumentRole_IMAGE_getInstance,
|
|
108
109
|
IntegratedDocumentRole_INLINE_getInstance1210oigehzpjk as IntegratedDocumentRole_INLINE_getInstance,
|
|
109
110
|
} from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/IntegratedDocumentRole.mjs';
|
|
110
111
|
import {
|
|
@@ -112,6 +113,9 @@ import {
|
|
|
112
113
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
113
114
|
listOfNotNull2woi2boe01ub4 as listOfNotNull_0,
|
|
114
115
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
116
|
+
import { emptyMapr06gerzljqtm as emptyMap } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs';
|
|
117
|
+
import { to2cs3ny02qtbcb as to } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Tuples.mjs';
|
|
118
|
+
import { supervisorScope2nuftiw8ju904 as supervisorScope } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs';
|
|
115
119
|
import { isBlank1dvkhjjvox3p0 as isBlank } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs';
|
|
116
120
|
import { Companion_getInstance2o9uk4k3kfl5 as Companion_getInstance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs';
|
|
117
121
|
import { setOf45ia9pnfhe90 as setOf } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs';
|
|
@@ -149,6 +153,42 @@ import { FinalizeCommunicationCommentDocumentUpdateCommand1wu121adejl9m as Final
|
|
|
149
153
|
import { finalizeIntegratedHomepagePostCommentUpdateOperation2mhgg3yaw9hps as finalizeIntegratedHomepagePostCommentUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedHomepagePostCommentUpdateOperation.mjs';
|
|
150
154
|
import { finalizeIntegratedNeighborhoodPostCommentCreateOperation1sl80fgrrzida as finalizeIntegratedNeighborhoodPostCommentCreateOperation } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedNeighborhoodPostCommentCreateOperation.mjs';
|
|
151
155
|
import { finalizeIntegratedNeighborhoodPostCommentUpdateOperation7zvtm9s6qaqb as finalizeIntegratedNeighborhoodPostCommentUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedNeighborhoodPostCommentUpdateOperation.mjs';
|
|
156
|
+
import { FinalizeSettlementDocumentCreateCommandun9takrlcpzy as FinalizeSettlementDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentCreateCommand.mjs';
|
|
157
|
+
import { finalizeIntegratedSettlementCreateOperation2z9ouywhvsgp5 as finalizeIntegratedSettlementCreateOperation } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCreateOperation.mjs';
|
|
158
|
+
import { FinalizeSettlementDocumentUpdateCommand2fkd84n382evs as FinalizeSettlementDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementDocumentUpdateCommand.mjs';
|
|
159
|
+
import { finalizeIntegratedSettlementUpdateOperation2rcubdy1xq6q0 as finalizeIntegratedSettlementUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementUpdateOperation.mjs';
|
|
160
|
+
import { FinalizeSettlementCustomCostDocumentCreateCommand3d99jmufzq6rt as FinalizeSettlementCustomCostDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentCreateCommand.mjs';
|
|
161
|
+
import { finalizeIntegratedSettlementCustomCostCreateOperation296mshza6856n as finalizeIntegratedSettlementCustomCostCreateOperation } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostCreateOperation.mjs';
|
|
162
|
+
import { FinalizeSettlementCustomCostDocumentUpdateCommand6f10x8cmsekm as FinalizeSettlementCustomCostDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/FinalizeSettlementCustomCostDocumentUpdateCommand.mjs';
|
|
163
|
+
import { finalizeIntegratedSettlementCustomCostUpdateOperationhfy6cz8exji8 as finalizeIntegratedSettlementCustomCostUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedSettlementCustomCostUpdateOperation.mjs';
|
|
164
|
+
import { FinalizeExpenseDocumentCreateCommand2ggomp0y9d5ry as FinalizeExpenseDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/FinalizeExpenseDocumentCreateCommand.mjs';
|
|
165
|
+
import { finalizeIntegratedExpenseCreateOperationwnrasj04lk7w as finalizeIntegratedExpenseCreateOperation } from '../../../../../../solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedExpenseCreateOperation.mjs';
|
|
166
|
+
import { FinalizeInsuranceDocumentCreateCommand2b4md9s08aour as FinalizeInsuranceDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentCreateCommand.mjs';
|
|
167
|
+
import { finalizeIntegratedInsuranceCreateOperation3e3cvkgdhpo7k as finalizeIntegratedInsuranceCreateOperation } from '../../../../../../solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceCreateOperation.mjs';
|
|
168
|
+
import { FinalizeInsuranceDocumentUpdateCommand3y9da2f7g7dn as FinalizeInsuranceDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/FinalizeInsuranceDocumentUpdateCommand.mjs';
|
|
169
|
+
import { finalizeIntegratedInsuranceUpdateOperationcb6ccj0uog82 as finalizeIntegratedInsuranceUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInsuranceUpdateOperation.mjs';
|
|
170
|
+
import { FinalizeLoanDocumentCreateCommand2qcgwwskh7m0e as FinalizeLoanDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentCreateCommand.mjs';
|
|
171
|
+
import { finalizeIntegratedLoanCreateOperation1jmkjpop0ux8w as finalizeIntegratedLoanCreateOperation } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanCreateOperation.mjs';
|
|
172
|
+
import { FinalizeLoanDocumentUpdateCommand22mrr2r0lezif as FinalizeLoanDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/FinalizeLoanDocumentUpdateCommand.mjs';
|
|
173
|
+
import { finalizeIntegratedLoanUpdateOperation1ex1qn2yzgtcr as finalizeIntegratedLoanUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedLoanUpdateOperation.mjs';
|
|
174
|
+
import { FinalizeIssueDocumentCreateCommand1oum2o0p2bla2 as FinalizeIssueDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentCreateCommand.mjs';
|
|
175
|
+
import { finalizeIntegratedIssueCreateOperationgsx64quncnpc as finalizeIntegratedIssueCreateOperation } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueCreateOperation.mjs';
|
|
176
|
+
import { FinalizeIssueDocumentUpdateCommand1g94fgmchdl9i as FinalizeIssueDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/FinalizeIssueDocumentUpdateCommand.mjs';
|
|
177
|
+
import { finalizeIntegratedIssueUpdateOperation3qvenjr81krs3 as finalizeIntegratedIssueUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedIssueUpdateOperation.mjs';
|
|
178
|
+
import { FinalizeMeetingDocumentCreateCommandos81fn3hln9d as FinalizeMeetingDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentCreateCommand.mjs';
|
|
179
|
+
import { finalizeIntegratedMeetingCreateOperationn6x1dc44aedd as finalizeIntegratedMeetingCreateOperation } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingCreateOperation.mjs';
|
|
180
|
+
import { FinalizeMeetingDocumentUpdateCommand3ttf8sr2jkvor as FinalizeMeetingDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/FinalizeMeetingDocumentUpdateCommand.mjs';
|
|
181
|
+
import { finalizeIntegratedMeetingUpdateOperation2285yd0b8ltz8 as finalizeIntegratedMeetingUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedMeetingUpdateOperation.mjs';
|
|
182
|
+
import { FinalizeRoutineDocumentCreateCommand1999ht6gvce2a as FinalizeRoutineDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentCreateCommand.mjs';
|
|
183
|
+
import { finalizeIntegratedRoutineCreateOperation1jn1t1bgdg1wz as finalizeIntegratedRoutineCreateOperation } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineCreateOperation.mjs';
|
|
184
|
+
import { FinalizeRoutineDocumentUpdateCommand1fjqad7mm20zt as FinalizeRoutineDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/FinalizeRoutineDocumentUpdateCommand.mjs';
|
|
185
|
+
import { finalizeIntegratedRoutineUpdateOperation3d9zjvenj8i0l as finalizeIntegratedRoutineUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedRoutineUpdateOperation.mjs';
|
|
186
|
+
import { FinalizeSupplierForCompanyDocumentCreateCommand35ak7dexz12h5 as FinalizeSupplierForCompanyDocumentCreateCommand } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentCreateCommand.mjs';
|
|
187
|
+
import { finalizeIntegratedCompanySupplierCreateOperation1fhgeo1erzh6p as finalizeIntegratedCompanySupplierCreateOperation } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierCreateOperation.mjs';
|
|
188
|
+
import { FinalizeSupplierForCompanyDocumentUpdateCommand1t93r73vkmd0i as FinalizeSupplierForCompanyDocumentUpdateCommand } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/FinalizeSupplierForCompanyDocumentUpdateCommand.mjs';
|
|
189
|
+
import { finalizeIntegratedCompanySupplierUpdateOperation3ic0a5ze15ly2 as finalizeIntegratedCompanySupplierUpdateOperation } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedCompanySupplierUpdateOperation.mjs';
|
|
190
|
+
import { FinalizeConversationInquiryDocumentCommand1x8drxji1v9kn as FinalizeConversationInquiryDocumentCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/FinalizeConversationInquiryDocumentCommand.mjs';
|
|
191
|
+
import { finalizeIntegratedInquiryCreateOperation3dm29v7z7yipv as finalizeIntegratedInquiryCreateOperation } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/client/operations/FinalizeIntegratedInquiryCreateOperation.mjs';
|
|
152
192
|
import { Mutex16li1l0asjv17 as Mutex } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs';
|
|
153
193
|
import { copyToArray2j022khrow2yi as copyToArray } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
|
|
154
194
|
import {
|
|
@@ -157,7 +197,6 @@ import {
|
|
|
157
197
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
158
198
|
import { until1jbpn0z3f8lbg as until } from '../../../../../../kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs';
|
|
159
199
|
import { bodyAsText193cd91fn5h1t as bodyAsText } from '../../../../../../ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs';
|
|
160
|
-
import { emptyMapr06gerzljqtm as emptyMap } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs';
|
|
161
200
|
import { operationsClientOfgrn9r9ny98wc as operationsClientOf } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/OperationsClient.mjs';
|
|
162
201
|
import { documentTicketUploadsOf238gijbjrd2tb as documentTicketUploadsOf } from '../../../../../../solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentUploads.mjs';
|
|
163
202
|
import { replace3le3ie7l9k8aq as replace } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
|
|
@@ -166,21 +205,38 @@ import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnField
|
|
|
166
205
|
import { Conversation1wvo3m4wqe8f3 as __soliboType_Conversation } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Conversation.mjs';
|
|
167
206
|
import { CreateCommunicationCommentCommand16euq9rqnbpul as __soliboType_CreateCommunicationCommentCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/CreateCommunicationCommentCommand.mjs';
|
|
168
207
|
import { CreateConversationCommand12h3e15d90zjv as __soliboType_CreateConversationCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateConversationCommand.mjs';
|
|
208
|
+
import { CreateExpenseCommand3cd5vu97oxovz as __soliboType_CreateExpenseCommand } from '../../../../../../solibo-sdk-sdk-api-expense/no/solibo/oss/sdk/api/gen/models/CreateExpenseCommand.mjs';
|
|
209
|
+
import { CreateInquiryCommand2gfj1w2u6nijp as __soliboType_CreateInquiryCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateInquiryCommand.mjs';
|
|
210
|
+
import { CreateInsuranceCommand25nnaw0nx0q86 as __soliboType_CreateInsuranceCommand } from '../../../../../../solibo-sdk-sdk-api-insurance/no/solibo/oss/sdk/api/gen/models/CreateInsuranceCommand.mjs';
|
|
169
211
|
import { CreateInternalMessageCommand2n9g9h4d5lqkr as __soliboType_CreateInternalMessageCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateInternalMessageCommand.mjs';
|
|
212
|
+
import { CreateIssueCommand3oxl3xgu8nna7 as __soliboType_CreateIssueCommand } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/CreateIssueCommand.mjs';
|
|
213
|
+
import { CreateLoanCommand36ityjzf0qchl as __soliboType_CreateLoanCommand } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/CreateLoanCommand.mjs';
|
|
214
|
+
import { CreateMeetingCommand3frrbtco0sine as __soliboType_CreateMeetingCommand } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/CreateMeetingCommand.mjs';
|
|
170
215
|
import { CreateMessageCommand5mq24h7gn74m as __soliboType_CreateMessageCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/CreateMessageCommand.mjs';
|
|
171
216
|
import { CreateNeighborhoodGroupCommandwlf7js67k65o as __soliboType_CreateNeighborhoodGroupCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/CreateNeighborhoodGroupCommand.mjs';
|
|
172
217
|
import { CreateNeighborhoodPostCommand1gojt2hpuesqy as __soliboType_CreateNeighborhoodPostCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/CreateNeighborhoodPostCommand.mjs';
|
|
173
218
|
import { CreateNewsletterCommand20gr23yqrmbvw as __soliboType_CreateNewsletterCommand } from '../../../../../../solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/CreateNewsletterCommand.mjs';
|
|
174
219
|
import { CreatePostCommand2n831vzjhvhp3 as __soliboType_CreatePostCommand } from '../../../../../../solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/CreatePostCommand.mjs';
|
|
220
|
+
import { CreateRoutineCommand1e7zx7c6pzkhl as __soliboType_CreateRoutineCommand } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/CreateRoutineCommand.mjs';
|
|
221
|
+
import { CreateSettlementCommand3f1eur2x4jmwf as __soliboType_CreateSettlementCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/CreateSettlementCommand.mjs';
|
|
222
|
+
import { CreateSettlementCustomCostCommand1uutyqa3kejmc as __soliboType_CreateSettlementCustomCostCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/CreateSettlementCustomCostCommand.mjs';
|
|
223
|
+
import { CreateSupplierForCompanyCommand1p653sj8kbkx2 as __soliboType_CreateSupplierForCompanyCommand } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/CreateSupplierForCompanyCommand.mjs';
|
|
175
224
|
import { Document12mfzyk4gd20m as __soliboType_Document } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Document.mjs';
|
|
176
225
|
import { DocumentTransform1s8k2yu5zr3zu as __soliboType_DocumentTransform } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/DocumentTransform.mjs';
|
|
177
226
|
import { DocumentUpload3ax36222b829v as __soliboType_DocumentUpload } from '../../../../../../solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/DocumentUpload.mjs';
|
|
178
227
|
import { UpdateCommunicationCommentCommand1qenk2sz1lyas as __soliboType_UpdateCommunicationCommentCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/UpdateCommunicationCommentCommand.mjs';
|
|
179
228
|
import { UpdateConversationCommandy52shy85yd7u as __soliboType_UpdateConversationCommand } from '../../../../../../solibo-sdk-sdk-api-conversation/no/solibo/oss/sdk/api/gen/models/UpdateConversationCommand.mjs';
|
|
229
|
+
import { UpdateIssueCommand3a7pvrlqg4d1b as __soliboType_UpdateIssueCommand } from '../../../../../../solibo-sdk-sdk-api-issue/no/solibo/oss/sdk/api/gen/models/UpdateIssueCommand.mjs';
|
|
230
|
+
import { UpdateLoanCommand35omhov50oeoa as __soliboType_UpdateLoanCommand } from '../../../../../../solibo-sdk-sdk-api-loan/no/solibo/oss/sdk/api/gen/models/UpdateLoanCommand.mjs';
|
|
231
|
+
import { UpdateMeetingCommand2p5yqjwt5gqhn as __soliboType_UpdateMeetingCommand } from '../../../../../../solibo-sdk-sdk-api-meeting/no/solibo/oss/sdk/api/gen/models/UpdateMeetingCommand.mjs';
|
|
180
232
|
import { UpdateNeighborhoodGroupCommand2iv33v9hp4mhe as __soliboType_UpdateNeighborhoodGroupCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/UpdateNeighborhoodGroupCommand.mjs';
|
|
181
233
|
import { UpdateNeighborhoodPostCommand2sxkwi4vefrp6 as __soliboType_UpdateNeighborhoodPostCommand } from '../../../../../../solibo-sdk-sdk-api-resident-communication/no/solibo/oss/sdk/api/gen/models/UpdateNeighborhoodPostCommand.mjs';
|
|
182
234
|
import { UpdateNewsletterCommandtyluhr3mo0zt as __soliboType_UpdateNewsletterCommand } from '../../../../../../solibo-sdk-sdk-api-communication/no/solibo/oss/sdk/api/gen/models/UpdateNewsletterCommand.mjs';
|
|
183
235
|
import { UpdatePostCommand356gyay1f8xeh as __soliboType_UpdatePostCommand } from '../../../../../../solibo-sdk-sdk-api-homepage/no/solibo/oss/sdk/api/gen/models/UpdatePostCommand.mjs';
|
|
236
|
+
import { UpdateRoutineCommand18j4iwbsg4408 as __soliboType_UpdateRoutineCommand } from '../../../../../../solibo-sdk-sdk-api-routines/no/solibo/oss/sdk/api/gen/models/UpdateRoutineCommand.mjs';
|
|
237
|
+
import { UpdateSettlementCommandgaycjlw4sagc as __soliboType_UpdateSettlementCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/UpdateSettlementCommand.mjs';
|
|
238
|
+
import { UpdateSettlementCustomCostCommand3fi966tnd8ump as __soliboType_UpdateSettlementCustomCostCommand } from '../../../../../../solibo-sdk-sdk-api-settlement/no/solibo/oss/sdk/api/gen/models/UpdateSettlementCustomCostCommand.mjs';
|
|
239
|
+
import { UpdateSupplierForCompanyCommand3nuygeyqd7fgd as __soliboType_UpdateSupplierForCompanyCommand } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/UpdateSupplierForCompanyCommand.mjs';
|
|
184
240
|
//region block: imports
|
|
185
241
|
var imul = Math.imul;
|
|
186
242
|
//endregion
|
|
@@ -1634,6 +1690,19 @@ function IntegratedDocumentMutation$rollback$slambda$slambda_0($tickets, this$0,
|
|
|
1634
1690
|
return i.invoke_hf666l_k$($this$coroutineScope, $completion);
|
|
1635
1691
|
}, 1);
|
|
1636
1692
|
}
|
|
1693
|
+
function withAgreement($this, agreement, attachments) {
|
|
1694
|
+
var tmp;
|
|
1695
|
+
if (agreement == null) {
|
|
1696
|
+
tmp = null;
|
|
1697
|
+
} else {
|
|
1698
|
+
// Inline function 'kotlin.let' call
|
|
1699
|
+
tmp = new (RequestedDocument())(agreement, IntegratedDocumentRole_ATTACHMENT_getInstance());
|
|
1700
|
+
}
|
|
1701
|
+
return plus(listOfNotNull(tmp), requestedDocuments($this, null, attachments, emptyMap()));
|
|
1702
|
+
}
|
|
1703
|
+
function splitAgreement($this, agreement, prepared) {
|
|
1704
|
+
return agreement == null ? to(null, prepared) : to(first(prepared), drop(prepared, 1));
|
|
1705
|
+
}
|
|
1637
1706
|
function createComment($this, companyId, attachments, inlineDocuments, idempotencyKey, onUploadProgress, finalize, $completion) {
|
|
1638
1707
|
return execute($this, companyId, idempotencyKey, requestedDocuments($this, null, attachments, inlineDocuments), onUploadProgress, finalize, $completion);
|
|
1639
1708
|
}
|
|
@@ -3000,26 +3069,25 @@ function IntegratedDocumentMutation$updateNeighborhoodPostComment$slambda_0(this
|
|
|
3000
3069
|
return i.invoke_qtxnuw_k$(prepared, resolvedIdempotencyKey, $completion);
|
|
3001
3070
|
}, 2);
|
|
3002
3071
|
}
|
|
3003
|
-
var IntegratedDocumentMutation$
|
|
3004
|
-
function IntegratedDocumentMutation$
|
|
3005
|
-
if (IntegratedDocumentMutation$
|
|
3006
|
-
initMetadataForLambda($, CoroutineImpl(), VOID, [
|
|
3007
|
-
function $(
|
|
3008
|
-
this.$requestedDocuments_1 = $requestedDocuments;
|
|
3009
|
-
this.$idempotencyKey_1 = $idempotencyKey;
|
|
3072
|
+
var IntegratedDocumentMutation$createSettlement$slambdaClass;
|
|
3073
|
+
function IntegratedDocumentMutation$createSettlement$slambda() {
|
|
3074
|
+
if (IntegratedDocumentMutation$createSettlement$slambdaClass === VOID) {
|
|
3075
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3076
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
3010
3077
|
this.this$0__1 = this$0;
|
|
3011
3078
|
this.$companyId_1 = $companyId;
|
|
3012
|
-
this.$
|
|
3079
|
+
this.$command_1 = $command;
|
|
3013
3080
|
CoroutineImpl().call(this, resultContinuation);
|
|
3014
3081
|
}
|
|
3015
|
-
protoOf($).
|
|
3016
|
-
var tmp = this.
|
|
3082
|
+
protoOf($).invoke_eknrzs_k$ = function (prepared, key, $completion) {
|
|
3083
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3017
3084
|
tmp.result_1 = Unit_instance;
|
|
3018
3085
|
tmp.exception_1 = null;
|
|
3019
3086
|
return tmp.doResume_5yljmg_k$();
|
|
3020
3087
|
};
|
|
3021
|
-
protoOf($).
|
|
3022
|
-
|
|
3088
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3089
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3090
|
+
return this.invoke_eknrzs_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3023
3091
|
};
|
|
3024
3092
|
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3025
3093
|
var suspendResult = this.result_1;
|
|
@@ -3028,192 +3096,22 @@ function IntegratedDocumentMutation$prepareDocuments$slambda() {
|
|
|
3028
3096
|
var tmp = this.state_1;
|
|
3029
3097
|
switch (tmp) {
|
|
3030
3098
|
case 0:
|
|
3031
|
-
this.exceptionState_1 = 9;
|
|
3032
|
-
var tmp_0 = this;
|
|
3033
|
-
tmp_0.completedTickets3__1 = ArrayList_init_$Create$_0();
|
|
3034
|
-
this.completedTicketsMutex7__1 = Mutex();
|
|
3035
|
-
var tmp_1 = this;
|
|
3036
|
-
tmp_1.cancellationCleanupFailures10__1 = ArrayList_init_$Create$_0();
|
|
3037
|
-
this.cancellationCleanupFailuresMutex11__1 = Mutex();
|
|
3038
|
-
var tmp_2 = this;
|
|
3039
|
-
var this_0 = this.$requestedDocuments_1;
|
|
3040
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3041
|
-
var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
|
|
3042
|
-
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
3043
|
-
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
3044
|
-
destination.add_utx5q5_k$(async(this.$this$supervisorScope_1, VOID, VOID, IntegratedDocumentMutation$prepareDocuments$slambda$slambda_0(item, this.this$0__1, this.$companyId_1, this.$onUploadProgress_1, this.completedTicketsMutex7__1, this.completedTickets3__1, this.cancellationCleanupFailuresMutex11__1, this.cancellationCleanupFailures10__1, null)));
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
tmp_2.operations12__1 = destination;
|
|
3048
3099
|
this.exceptionState_1 = 2;
|
|
3049
3100
|
this.state_1 = 1;
|
|
3050
|
-
suspendResult =
|
|
3101
|
+
suspendResult = finalizeIntegratedSettlementCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeSettlementDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
3051
3102
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3052
3103
|
return suspendResult;
|
|
3053
3104
|
}
|
|
3054
3105
|
|
|
3055
3106
|
continue $sm;
|
|
3056
3107
|
case 1:
|
|
3057
|
-
|
|
3058
|
-
this.exceptionState_1 = 9;
|
|
3059
|
-
this.state_1 = 4;
|
|
3060
|
-
continue $sm;
|
|
3108
|
+
return suspendResult;
|
|
3061
3109
|
case 2:
|
|
3062
|
-
this.exceptionState_1 = 9;
|
|
3063
|
-
var tmp_3 = this.exception_1;
|
|
3064
|
-
if (tmp_3 instanceof CancellationException()) {
|
|
3065
|
-
var cancellation = this.exception_1;
|
|
3066
|
-
this.state_1 = 3;
|
|
3067
|
-
var tmp_4 = NonCancellable_getInstance();
|
|
3068
|
-
suspendResult = withContext(tmp_4, IntegratedDocumentMutation$prepareDocuments$slambda$slambda_2(this.operations12__1, this.completedTicketsMutex7__1, this.completedTickets3__1, this.this$0__1, this.$companyId_1, this.cancellationCleanupFailuresMutex11__1, this.cancellationCleanupFailures10__1, null), this);
|
|
3069
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3070
|
-
return suspendResult;
|
|
3071
|
-
}
|
|
3072
|
-
continue $sm;
|
|
3073
|
-
} else {
|
|
3074
|
-
throw this.exception_1;
|
|
3075
|
-
}
|
|
3076
|
-
|
|
3077
|
-
case 3:
|
|
3078
|
-
var rollbackFailures = suspendResult;
|
|
3079
|
-
var tmp_5 = this;
|
|
3080
|
-
throw new (IntegratedDocumentMutationCancellationException())('UPLOAD', this.$idempotencyKey_1, false, copyToArray(rollbackFailures), 'Integrated document upload was cancelled; prepared tickets were ' + ('rolled back for idempotency key ' + this.$idempotencyKey_1));
|
|
3081
|
-
case 4:
|
|
3082
|
-
this.exceptionState_1 = 9;
|
|
3083
|
-
this.results8__1 = this.TRY_RESULT9__1;
|
|
3084
|
-
var tmp_6 = this;
|
|
3085
|
-
var tmp0 = this.results8__1;
|
|
3086
|
-
var destination_0 = ArrayList_init_$Create$_0();
|
|
3087
|
-
var _iterator__ex2g4s_0 = tmp0.iterator_jk1svi_k$();
|
|
3088
|
-
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
3089
|
-
var element = _iterator__ex2g4s_0.next_20eer_k$();
|
|
3090
|
-
var it = element.value_1;
|
|
3091
|
-
var tmp0_safe_receiver = Result__exceptionOrNull_impl_p6xea9(it);
|
|
3092
|
-
if (tmp0_safe_receiver == null)
|
|
3093
|
-
null;
|
|
3094
|
-
else {
|
|
3095
|
-
destination_0.add_utx5q5_k$(tmp0_safe_receiver);
|
|
3096
|
-
}
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
tmp_6.failures0__1 = destination_0;
|
|
3100
|
-
if (!this.failures0__1.isEmpty_y1axqb_k$()) {
|
|
3101
|
-
this.this2__1 = this.completedTicketsMutex7__1;
|
|
3102
|
-
this.owner1__1 = null;
|
|
3103
|
-
this.state_1 = 7;
|
|
3104
|
-
suspendResult = this.this2__1.lock_ugrcvf_k$(this.owner1__1, this);
|
|
3105
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3106
|
-
return suspendResult;
|
|
3107
|
-
}
|
|
3108
|
-
continue $sm;
|
|
3109
|
-
} else {
|
|
3110
|
-
this.state_1 = 5;
|
|
3111
|
-
continue $sm;
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
|
-
case 5:
|
|
3115
|
-
var tmp_7 = this;
|
|
3116
|
-
var this_1 = this.results8__1;
|
|
3117
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3118
|
-
var _iterator__ex2g4s_1 = this_1.iterator_jk1svi_k$();
|
|
3119
|
-
while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
|
|
3120
|
-
var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
|
|
3121
|
-
var this_2 = item_0.value_1;
|
|
3122
|
-
throwOnFailure(this_2);
|
|
3123
|
-
destination_1.add_utx5q5_k$(_Result___get_value__impl__bjfvqg(this_2));
|
|
3124
|
-
}
|
|
3125
|
-
|
|
3126
|
-
tmp_7.ARGUMENT4__1 = destination_1;
|
|
3127
|
-
this.this6__1 = this.completedTicketsMutex7__1;
|
|
3128
|
-
this.owner5__1 = null;
|
|
3129
|
-
this.state_1 = 6;
|
|
3130
|
-
suspendResult = this.this6__1.lock_ugrcvf_k$(this.owner5__1, this);
|
|
3131
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3132
|
-
return suspendResult;
|
|
3133
|
-
}
|
|
3134
|
-
|
|
3135
|
-
continue $sm;
|
|
3136
|
-
case 6:
|
|
3137
|
-
var tmp$ret$2 = Unit_instance;
|
|
3138
|
-
l$ret$3: do {
|
|
3139
|
-
var tmp_8;
|
|
3140
|
-
try {
|
|
3141
|
-
tmp$ret$2 = toList(this.completedTickets3__1);
|
|
3142
|
-
break l$ret$3;
|
|
3143
|
-
} catch ($p) {
|
|
3144
|
-
var tmp_9;
|
|
3145
|
-
var t = $p;
|
|
3146
|
-
this.this6__1.unlock_ulcrcl_k$(this.owner5__1);
|
|
3147
|
-
throw t;
|
|
3148
|
-
}
|
|
3149
|
-
}
|
|
3150
|
-
while (false);
|
|
3151
|
-
var tmp_10 = tmp$ret$2;
|
|
3152
|
-
this.this6__1.unlock_ulcrcl_k$(this.owner5__1);
|
|
3153
|
-
return new (PreparedDocuments())(this.ARGUMENT4__1, tmp_10);
|
|
3154
|
-
case 7:
|
|
3155
|
-
var tmp$ret$0 = Unit_instance;
|
|
3156
|
-
l$ret$1: do {
|
|
3157
|
-
var tmp_11;
|
|
3158
|
-
try {
|
|
3159
|
-
tmp$ret$0 = toList(this.completedTickets3__1);
|
|
3160
|
-
break l$ret$1;
|
|
3161
|
-
} catch ($p_0) {
|
|
3162
|
-
var tmp_12;
|
|
3163
|
-
var t_0 = $p_0;
|
|
3164
|
-
this.this2__1.unlock_ulcrcl_k$(this.owner1__1);
|
|
3165
|
-
throw t_0;
|
|
3166
|
-
}
|
|
3167
|
-
}
|
|
3168
|
-
while (false);
|
|
3169
|
-
var tmp_13 = tmp$ret$0;
|
|
3170
|
-
this.this2__1.unlock_ulcrcl_k$(this.owner1__1);
|
|
3171
|
-
var tickets = tmp_13;
|
|
3172
|
-
this.state_1 = 8;
|
|
3173
|
-
suspendResult = rollback(this.this$0__1, this.$companyId_1, tickets, this);
|
|
3174
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3175
|
-
return suspendResult;
|
|
3176
|
-
}
|
|
3177
|
-
|
|
3178
|
-
continue $sm;
|
|
3179
|
-
case 8:
|
|
3180
|
-
var ARGUMENT = suspendResult;
|
|
3181
|
-
var tmp0_0 = this.failures0__1;
|
|
3182
|
-
var destination_2 = ArrayList_init_$Create$_0();
|
|
3183
|
-
var _iterator__ex2g4s_2 = tmp0_0.iterator_jk1svi_k$();
|
|
3184
|
-
while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
|
|
3185
|
-
var element_0 = _iterator__ex2g4s_2.next_20eer_k$();
|
|
3186
|
-
var tmp0_safe_receiver_0 = element_0 instanceof DocumentTicketUploadException() ? element_0 : null;
|
|
3187
|
-
var tmp_14;
|
|
3188
|
-
if (tmp0_safe_receiver_0 == null) {
|
|
3189
|
-
tmp_14 = null;
|
|
3190
|
-
} else {
|
|
3191
|
-
var tmp0_safe_receiver_1 = tmp0_safe_receiver_0.cleanupFailure_1;
|
|
3192
|
-
var tmp_15;
|
|
3193
|
-
if (tmp0_safe_receiver_1 == null) {
|
|
3194
|
-
tmp_15 = null;
|
|
3195
|
-
} else {
|
|
3196
|
-
tmp_15 = tmp0_safe_receiver_0.ticketId_1 + ': ' + tmp0_safe_receiver_1;
|
|
3197
|
-
}
|
|
3198
|
-
tmp_14 = tmp_15;
|
|
3199
|
-
}
|
|
3200
|
-
var tmp0_safe_receiver_2 = tmp_14;
|
|
3201
|
-
if (tmp0_safe_receiver_2 == null)
|
|
3202
|
-
null;
|
|
3203
|
-
else {
|
|
3204
|
-
destination_2.add_utx5q5_k$(tmp0_safe_receiver_2);
|
|
3205
|
-
}
|
|
3206
|
-
}
|
|
3207
|
-
|
|
3208
|
-
var rollbackFailures_0 = plus(ARGUMENT, destination_2);
|
|
3209
|
-
var tmp_16 = copyToArray(rollbackFailures_0);
|
|
3210
|
-
throw new (IntegratedDocumentMutationException())('UPLOAD', this.$idempotencyKey_1, false, tmp_16, 'Could not prepare integrated documents: ' + joinToString(this.failures0__1, VOID, VOID, VOID, VOID, VOID, IntegratedDocumentMutation$prepareDocuments$slambda$lambda));
|
|
3211
|
-
case 9:
|
|
3212
3110
|
throw this.exception_1;
|
|
3213
3111
|
}
|
|
3214
|
-
} catch ($
|
|
3215
|
-
var e = $
|
|
3216
|
-
if (this.exceptionState_1 ===
|
|
3112
|
+
} catch ($p) {
|
|
3113
|
+
var e = $p;
|
|
3114
|
+
if (this.exceptionState_1 === 2) {
|
|
3217
3115
|
throw e;
|
|
3218
3116
|
} else {
|
|
3219
3117
|
this.state_1 = this.exceptionState_1;
|
|
@@ -3222,39 +3120,43 @@ function IntegratedDocumentMutation$prepareDocuments$slambda() {
|
|
|
3222
3120
|
}
|
|
3223
3121
|
while (true);
|
|
3224
3122
|
};
|
|
3225
|
-
protoOf($).
|
|
3226
|
-
var i = new (IntegratedDocumentMutation$
|
|
3227
|
-
i
|
|
3123
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3124
|
+
var i = new (IntegratedDocumentMutation$createSettlement$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
3125
|
+
i.prepared_1 = prepared;
|
|
3126
|
+
i.key_1 = key;
|
|
3228
3127
|
return i;
|
|
3229
3128
|
};
|
|
3230
|
-
IntegratedDocumentMutation$
|
|
3129
|
+
IntegratedDocumentMutation$createSettlement$slambdaClass = $;
|
|
3231
3130
|
}
|
|
3232
|
-
return IntegratedDocumentMutation$
|
|
3131
|
+
return IntegratedDocumentMutation$createSettlement$slambdaClass;
|
|
3233
3132
|
}
|
|
3234
|
-
function IntegratedDocumentMutation$
|
|
3235
|
-
var i = new (IntegratedDocumentMutation$
|
|
3236
|
-
return constructCallableReference(function (
|
|
3237
|
-
return i.
|
|
3238
|
-
},
|
|
3133
|
+
function IntegratedDocumentMutation$createSettlement$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
3134
|
+
var i = new (IntegratedDocumentMutation$createSettlement$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
3135
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3136
|
+
return i.invoke_eknrzs_k$(prepared, key, $completion);
|
|
3137
|
+
}, 2);
|
|
3239
3138
|
}
|
|
3240
|
-
var IntegratedDocumentMutation$
|
|
3241
|
-
function IntegratedDocumentMutation$
|
|
3242
|
-
if (IntegratedDocumentMutation$
|
|
3243
|
-
initMetadataForLambda($, CoroutineImpl(), VOID, [
|
|
3244
|
-
function $(
|
|
3245
|
-
this.$tickets_1 = $tickets;
|
|
3139
|
+
var IntegratedDocumentMutation$updateSettlement$slambdaClass;
|
|
3140
|
+
function IntegratedDocumentMutation$updateSettlement$slambda() {
|
|
3141
|
+
if (IntegratedDocumentMutation$updateSettlement$slambdaClass === VOID) {
|
|
3142
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3143
|
+
function $(this$0, $companyId, $settlementId, $command, $removeDocumentIds, resultContinuation) {
|
|
3246
3144
|
this.this$0__1 = this$0;
|
|
3247
3145
|
this.$companyId_1 = $companyId;
|
|
3146
|
+
this.$settlementId_1 = $settlementId;
|
|
3147
|
+
this.$command_1 = $command;
|
|
3148
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3248
3149
|
CoroutineImpl().call(this, resultContinuation);
|
|
3249
3150
|
}
|
|
3250
|
-
protoOf($).
|
|
3251
|
-
var tmp = this.
|
|
3151
|
+
protoOf($).invoke_eknrzs_k$ = function (prepared, key, $completion) {
|
|
3152
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3252
3153
|
tmp.result_1 = Unit_instance;
|
|
3253
3154
|
tmp.exception_1 = null;
|
|
3254
3155
|
return tmp.doResume_5yljmg_k$();
|
|
3255
3156
|
};
|
|
3256
|
-
protoOf($).
|
|
3257
|
-
|
|
3157
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3158
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3159
|
+
return this.invoke_eknrzs_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3258
3160
|
};
|
|
3259
3161
|
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3260
3162
|
var suspendResult = this.result_1;
|
|
@@ -3265,7 +3167,7 @@ function IntegratedDocumentMutation$rollback$slambda() {
|
|
|
3265
3167
|
case 0:
|
|
3266
3168
|
this.exceptionState_1 = 2;
|
|
3267
3169
|
this.state_1 = 1;
|
|
3268
|
-
suspendResult =
|
|
3170
|
+
suspendResult = finalizeIntegratedSettlementUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$settlementId_1, new (FinalizeSettlementDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
3269
3171
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3270
3172
|
return suspendResult;
|
|
3271
3173
|
}
|
|
@@ -3287,34 +3189,2438 @@ function IntegratedDocumentMutation$rollback$slambda() {
|
|
|
3287
3189
|
}
|
|
3288
3190
|
while (true);
|
|
3289
3191
|
};
|
|
3290
|
-
protoOf($).
|
|
3291
|
-
var i = new (IntegratedDocumentMutation$
|
|
3292
|
-
i
|
|
3192
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3193
|
+
var i = new (IntegratedDocumentMutation$updateSettlement$slambda())(this.this$0__1, this.$companyId_1, this.$settlementId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
3194
|
+
i.prepared_1 = prepared;
|
|
3195
|
+
i.key_1 = key;
|
|
3293
3196
|
return i;
|
|
3294
3197
|
};
|
|
3295
|
-
IntegratedDocumentMutation$
|
|
3198
|
+
IntegratedDocumentMutation$updateSettlement$slambdaClass = $;
|
|
3296
3199
|
}
|
|
3297
|
-
return IntegratedDocumentMutation$
|
|
3200
|
+
return IntegratedDocumentMutation$updateSettlement$slambdaClass;
|
|
3298
3201
|
}
|
|
3299
|
-
function IntegratedDocumentMutation$
|
|
3300
|
-
var i = new (IntegratedDocumentMutation$
|
|
3301
|
-
return constructCallableReference(function (
|
|
3302
|
-
return i.
|
|
3303
|
-
},
|
|
3202
|
+
function IntegratedDocumentMutation$updateSettlement$slambda_0(this$0, $companyId, $settlementId, $command, $removeDocumentIds, resultContinuation) {
|
|
3203
|
+
var i = new (IntegratedDocumentMutation$updateSettlement$slambda())(this$0, $companyId, $settlementId, $command, $removeDocumentIds, resultContinuation);
|
|
3204
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3205
|
+
return i.invoke_eknrzs_k$(prepared, key, $completion);
|
|
3206
|
+
}, 2);
|
|
3304
3207
|
}
|
|
3305
|
-
var $
|
|
3306
|
-
function $
|
|
3307
|
-
if ($
|
|
3308
|
-
|
|
3309
|
-
function $(
|
|
3310
|
-
|
|
3311
|
-
this
|
|
3208
|
+
var IntegratedDocumentMutation$createSettlementCustomCost$slambdaClass;
|
|
3209
|
+
function IntegratedDocumentMutation$createSettlementCustomCost$slambda() {
|
|
3210
|
+
if (IntegratedDocumentMutation$createSettlementCustomCost$slambdaClass === VOID) {
|
|
3211
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3212
|
+
function $(this$0, $companyId, $settlementId, $command, resultContinuation) {
|
|
3213
|
+
this.this$0__1 = this$0;
|
|
3214
|
+
this.$companyId_1 = $companyId;
|
|
3215
|
+
this.$settlementId_1 = $settlementId;
|
|
3216
|
+
this.$command_1 = $command;
|
|
3217
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3218
|
+
}
|
|
3219
|
+
protoOf($).invoke_2rezgm_k$ = function (prepared, key, $completion) {
|
|
3220
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3221
|
+
tmp.result_1 = Unit_instance;
|
|
3222
|
+
tmp.exception_1 = null;
|
|
3223
|
+
return tmp.doResume_5yljmg_k$();
|
|
3224
|
+
};
|
|
3225
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3226
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3227
|
+
return this.invoke_2rezgm_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3228
|
+
};
|
|
3229
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3230
|
+
var suspendResult = this.result_1;
|
|
3231
|
+
$sm: do
|
|
3232
|
+
try {
|
|
3233
|
+
var tmp = this.state_1;
|
|
3234
|
+
switch (tmp) {
|
|
3235
|
+
case 0:
|
|
3236
|
+
this.exceptionState_1 = 2;
|
|
3237
|
+
this.state_1 = 1;
|
|
3238
|
+
suspendResult = finalizeIntegratedSettlementCustomCostCreateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$settlementId_1, new (FinalizeSettlementCustomCostDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
3239
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3240
|
+
return suspendResult;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
continue $sm;
|
|
3244
|
+
case 1:
|
|
3245
|
+
return suspendResult;
|
|
3246
|
+
case 2:
|
|
3247
|
+
throw this.exception_1;
|
|
3248
|
+
}
|
|
3249
|
+
} catch ($p) {
|
|
3250
|
+
var e = $p;
|
|
3251
|
+
if (this.exceptionState_1 === 2) {
|
|
3252
|
+
throw e;
|
|
3253
|
+
} else {
|
|
3254
|
+
this.state_1 = this.exceptionState_1;
|
|
3255
|
+
this.exception_1 = e;
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
3258
|
+
while (true);
|
|
3259
|
+
};
|
|
3260
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3261
|
+
var i = new (IntegratedDocumentMutation$createSettlementCustomCost$slambda())(this.this$0__1, this.$companyId_1, this.$settlementId_1, this.$command_1, completion);
|
|
3262
|
+
i.prepared_1 = prepared;
|
|
3263
|
+
i.key_1 = key;
|
|
3264
|
+
return i;
|
|
3265
|
+
};
|
|
3266
|
+
IntegratedDocumentMutation$createSettlementCustomCost$slambdaClass = $;
|
|
3267
|
+
}
|
|
3268
|
+
return IntegratedDocumentMutation$createSettlementCustomCost$slambdaClass;
|
|
3269
|
+
}
|
|
3270
|
+
function IntegratedDocumentMutation$createSettlementCustomCost$slambda_0(this$0, $companyId, $settlementId, $command, resultContinuation) {
|
|
3271
|
+
var i = new (IntegratedDocumentMutation$createSettlementCustomCost$slambda())(this$0, $companyId, $settlementId, $command, resultContinuation);
|
|
3272
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3273
|
+
return i.invoke_2rezgm_k$(prepared, key, $completion);
|
|
3274
|
+
}, 2);
|
|
3275
|
+
}
|
|
3276
|
+
var IntegratedDocumentMutation$updateSettlementCustomCost$slambdaClass;
|
|
3277
|
+
function IntegratedDocumentMutation$updateSettlementCustomCost$slambda() {
|
|
3278
|
+
if (IntegratedDocumentMutation$updateSettlementCustomCost$slambdaClass === VOID) {
|
|
3279
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3280
|
+
function $(this$0, $companyId, $settlementId, $customCostId, $command, $removeDocumentIds, resultContinuation) {
|
|
3281
|
+
this.this$0__1 = this$0;
|
|
3282
|
+
this.$companyId_1 = $companyId;
|
|
3283
|
+
this.$settlementId_1 = $settlementId;
|
|
3284
|
+
this.$customCostId_1 = $customCostId;
|
|
3285
|
+
this.$command_1 = $command;
|
|
3286
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3287
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3288
|
+
}
|
|
3289
|
+
protoOf($).invoke_2rezgm_k$ = function (prepared, key, $completion) {
|
|
3290
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3291
|
+
tmp.result_1 = Unit_instance;
|
|
3292
|
+
tmp.exception_1 = null;
|
|
3293
|
+
return tmp.doResume_5yljmg_k$();
|
|
3294
|
+
};
|
|
3295
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3296
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3297
|
+
return this.invoke_2rezgm_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3298
|
+
};
|
|
3299
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3300
|
+
var suspendResult = this.result_1;
|
|
3301
|
+
$sm: do
|
|
3302
|
+
try {
|
|
3303
|
+
var tmp = this.state_1;
|
|
3304
|
+
switch (tmp) {
|
|
3305
|
+
case 0:
|
|
3306
|
+
this.exceptionState_1 = 2;
|
|
3307
|
+
this.state_1 = 1;
|
|
3308
|
+
suspendResult = finalizeIntegratedSettlementCustomCostUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$settlementId_1, this.$customCostId_1, new (FinalizeSettlementCustomCostDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
3309
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3310
|
+
return suspendResult;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
continue $sm;
|
|
3314
|
+
case 1:
|
|
3315
|
+
return suspendResult;
|
|
3316
|
+
case 2:
|
|
3317
|
+
throw this.exception_1;
|
|
3318
|
+
}
|
|
3319
|
+
} catch ($p) {
|
|
3320
|
+
var e = $p;
|
|
3321
|
+
if (this.exceptionState_1 === 2) {
|
|
3322
|
+
throw e;
|
|
3323
|
+
} else {
|
|
3324
|
+
this.state_1 = this.exceptionState_1;
|
|
3325
|
+
this.exception_1 = e;
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
while (true);
|
|
3329
|
+
};
|
|
3330
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3331
|
+
var i = new (IntegratedDocumentMutation$updateSettlementCustomCost$slambda())(this.this$0__1, this.$companyId_1, this.$settlementId_1, this.$customCostId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
3332
|
+
i.prepared_1 = prepared;
|
|
3333
|
+
i.key_1 = key;
|
|
3334
|
+
return i;
|
|
3335
|
+
};
|
|
3336
|
+
IntegratedDocumentMutation$updateSettlementCustomCost$slambdaClass = $;
|
|
3337
|
+
}
|
|
3338
|
+
return IntegratedDocumentMutation$updateSettlementCustomCost$slambdaClass;
|
|
3339
|
+
}
|
|
3340
|
+
function IntegratedDocumentMutation$updateSettlementCustomCost$slambda_0(this$0, $companyId, $settlementId, $customCostId, $command, $removeDocumentIds, resultContinuation) {
|
|
3341
|
+
var i = new (IntegratedDocumentMutation$updateSettlementCustomCost$slambda())(this$0, $companyId, $settlementId, $customCostId, $command, $removeDocumentIds, resultContinuation);
|
|
3342
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3343
|
+
return i.invoke_2rezgm_k$(prepared, key, $completion);
|
|
3344
|
+
}, 2);
|
|
3345
|
+
}
|
|
3346
|
+
var IntegratedDocumentMutation$createExpense$slambdaClass;
|
|
3347
|
+
function IntegratedDocumentMutation$createExpense$slambda() {
|
|
3348
|
+
if (IntegratedDocumentMutation$createExpense$slambdaClass === VOID) {
|
|
3349
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3350
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
3351
|
+
this.this$0__1 = this$0;
|
|
3352
|
+
this.$companyId_1 = $companyId;
|
|
3353
|
+
this.$command_1 = $command;
|
|
3354
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3355
|
+
}
|
|
3356
|
+
protoOf($).invoke_bww4m9_k$ = function (prepared, key, $completion) {
|
|
3357
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3358
|
+
tmp.result_1 = Unit_instance;
|
|
3359
|
+
tmp.exception_1 = null;
|
|
3360
|
+
return tmp.doResume_5yljmg_k$();
|
|
3361
|
+
};
|
|
3362
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3363
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3364
|
+
return this.invoke_bww4m9_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3365
|
+
};
|
|
3366
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3367
|
+
var suspendResult = this.result_1;
|
|
3368
|
+
$sm: do
|
|
3369
|
+
try {
|
|
3370
|
+
var tmp = this.state_1;
|
|
3371
|
+
switch (tmp) {
|
|
3372
|
+
case 0:
|
|
3373
|
+
this.exceptionState_1 = 2;
|
|
3374
|
+
this.state_1 = 1;
|
|
3375
|
+
suspendResult = finalizeIntegratedExpenseCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeExpenseDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
3376
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3377
|
+
return suspendResult;
|
|
3378
|
+
}
|
|
3379
|
+
|
|
3380
|
+
continue $sm;
|
|
3381
|
+
case 1:
|
|
3382
|
+
return suspendResult;
|
|
3383
|
+
case 2:
|
|
3384
|
+
throw this.exception_1;
|
|
3385
|
+
}
|
|
3386
|
+
} catch ($p) {
|
|
3387
|
+
var e = $p;
|
|
3388
|
+
if (this.exceptionState_1 === 2) {
|
|
3389
|
+
throw e;
|
|
3390
|
+
} else {
|
|
3391
|
+
this.state_1 = this.exceptionState_1;
|
|
3392
|
+
this.exception_1 = e;
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
while (true);
|
|
3396
|
+
};
|
|
3397
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3398
|
+
var i = new (IntegratedDocumentMutation$createExpense$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
3399
|
+
i.prepared_1 = prepared;
|
|
3400
|
+
i.key_1 = key;
|
|
3401
|
+
return i;
|
|
3402
|
+
};
|
|
3403
|
+
IntegratedDocumentMutation$createExpense$slambdaClass = $;
|
|
3404
|
+
}
|
|
3405
|
+
return IntegratedDocumentMutation$createExpense$slambdaClass;
|
|
3406
|
+
}
|
|
3407
|
+
function IntegratedDocumentMutation$createExpense$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
3408
|
+
var i = new (IntegratedDocumentMutation$createExpense$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
3409
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3410
|
+
return i.invoke_bww4m9_k$(prepared, key, $completion);
|
|
3411
|
+
}, 2);
|
|
3412
|
+
}
|
|
3413
|
+
var IntegratedDocumentMutation$createInsurance$slambdaClass;
|
|
3414
|
+
function IntegratedDocumentMutation$createInsurance$slambda() {
|
|
3415
|
+
if (IntegratedDocumentMutation$createInsurance$slambdaClass === VOID) {
|
|
3416
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3417
|
+
function $(this$0, $agreement, $companyId, $command, resultContinuation) {
|
|
3418
|
+
this.this$0__1 = this$0;
|
|
3419
|
+
this.$agreement_1 = $agreement;
|
|
3420
|
+
this.$companyId_1 = $companyId;
|
|
3421
|
+
this.$command_1 = $command;
|
|
3422
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3423
|
+
}
|
|
3424
|
+
protoOf($).invoke_ryceox_k$ = function (prepared, key, $completion) {
|
|
3425
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3426
|
+
tmp.result_1 = Unit_instance;
|
|
3427
|
+
tmp.exception_1 = null;
|
|
3428
|
+
return tmp.doResume_5yljmg_k$();
|
|
3429
|
+
};
|
|
3430
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3431
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3432
|
+
return this.invoke_ryceox_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3433
|
+
};
|
|
3434
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3435
|
+
var suspendResult = this.result_1;
|
|
3436
|
+
$sm: do
|
|
3437
|
+
try {
|
|
3438
|
+
var tmp = this.state_1;
|
|
3439
|
+
switch (tmp) {
|
|
3440
|
+
case 0:
|
|
3441
|
+
this.exceptionState_1 = 2;
|
|
3442
|
+
var _destruct__k2r9zo = splitAgreement(this.this$0__1, this.$agreement_1, this.prepared_1);
|
|
3443
|
+
var agreementInput = _destruct__k2r9zo.component1_7eebsc_k$();
|
|
3444
|
+
var documents = _destruct__k2r9zo.component2_7eebsb_k$();
|
|
3445
|
+
this.state_1 = 1;
|
|
3446
|
+
suspendResult = finalizeIntegratedInsuranceCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeInsuranceDocumentCreateCommand())(agreementInput, this.$command_1, documents, this.key_1), this);
|
|
3447
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3448
|
+
return suspendResult;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
continue $sm;
|
|
3452
|
+
case 1:
|
|
3453
|
+
return suspendResult;
|
|
3454
|
+
case 2:
|
|
3455
|
+
throw this.exception_1;
|
|
3456
|
+
}
|
|
3457
|
+
} catch ($p) {
|
|
3458
|
+
var e = $p;
|
|
3459
|
+
if (this.exceptionState_1 === 2) {
|
|
3460
|
+
throw e;
|
|
3461
|
+
} else {
|
|
3462
|
+
this.state_1 = this.exceptionState_1;
|
|
3463
|
+
this.exception_1 = e;
|
|
3464
|
+
}
|
|
3465
|
+
}
|
|
3466
|
+
while (true);
|
|
3467
|
+
};
|
|
3468
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3469
|
+
var i = new (IntegratedDocumentMutation$createInsurance$slambda())(this.this$0__1, this.$agreement_1, this.$companyId_1, this.$command_1, completion);
|
|
3470
|
+
i.prepared_1 = prepared;
|
|
3471
|
+
i.key_1 = key;
|
|
3472
|
+
return i;
|
|
3473
|
+
};
|
|
3474
|
+
IntegratedDocumentMutation$createInsurance$slambdaClass = $;
|
|
3475
|
+
}
|
|
3476
|
+
return IntegratedDocumentMutation$createInsurance$slambdaClass;
|
|
3477
|
+
}
|
|
3478
|
+
function IntegratedDocumentMutation$createInsurance$slambda_0(this$0, $agreement, $companyId, $command, resultContinuation) {
|
|
3479
|
+
var i = new (IntegratedDocumentMutation$createInsurance$slambda())(this$0, $agreement, $companyId, $command, resultContinuation);
|
|
3480
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3481
|
+
return i.invoke_ryceox_k$(prepared, key, $completion);
|
|
3482
|
+
}, 2);
|
|
3483
|
+
}
|
|
3484
|
+
var IntegratedDocumentMutation$updateInsuranceDocuments$slambdaClass;
|
|
3485
|
+
function IntegratedDocumentMutation$updateInsuranceDocuments$slambda() {
|
|
3486
|
+
if (IntegratedDocumentMutation$updateInsuranceDocuments$slambdaClass === VOID) {
|
|
3487
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3488
|
+
function $(this$0, $agreement, $companyId, $insuranceId, $removeDocumentIds, resultContinuation) {
|
|
3489
|
+
this.this$0__1 = this$0;
|
|
3490
|
+
this.$agreement_1 = $agreement;
|
|
3491
|
+
this.$companyId_1 = $companyId;
|
|
3492
|
+
this.$insuranceId_1 = $insuranceId;
|
|
3493
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3494
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3495
|
+
}
|
|
3496
|
+
protoOf($).invoke_ryceox_k$ = function (prepared, key, $completion) {
|
|
3497
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3498
|
+
tmp.result_1 = Unit_instance;
|
|
3499
|
+
tmp.exception_1 = null;
|
|
3500
|
+
return tmp.doResume_5yljmg_k$();
|
|
3501
|
+
};
|
|
3502
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3503
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3504
|
+
return this.invoke_ryceox_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3505
|
+
};
|
|
3506
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3507
|
+
var suspendResult = this.result_1;
|
|
3508
|
+
$sm: do
|
|
3509
|
+
try {
|
|
3510
|
+
var tmp = this.state_1;
|
|
3511
|
+
switch (tmp) {
|
|
3512
|
+
case 0:
|
|
3513
|
+
this.exceptionState_1 = 2;
|
|
3514
|
+
var _destruct__k2r9zo = splitAgreement(this.this$0__1, this.$agreement_1, this.prepared_1);
|
|
3515
|
+
var agreementInput = _destruct__k2r9zo.component1_7eebsc_k$();
|
|
3516
|
+
var documents = _destruct__k2r9zo.component2_7eebsb_k$();
|
|
3517
|
+
this.state_1 = 1;
|
|
3518
|
+
suspendResult = finalizeIntegratedInsuranceUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$insuranceId_1, new (FinalizeInsuranceDocumentUpdateCommand())(agreementInput, documents, this.key_1, this.$removeDocumentIds_1), this);
|
|
3519
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3520
|
+
return suspendResult;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
continue $sm;
|
|
3524
|
+
case 1:
|
|
3525
|
+
return suspendResult;
|
|
3526
|
+
case 2:
|
|
3527
|
+
throw this.exception_1;
|
|
3528
|
+
}
|
|
3529
|
+
} catch ($p) {
|
|
3530
|
+
var e = $p;
|
|
3531
|
+
if (this.exceptionState_1 === 2) {
|
|
3532
|
+
throw e;
|
|
3533
|
+
} else {
|
|
3534
|
+
this.state_1 = this.exceptionState_1;
|
|
3535
|
+
this.exception_1 = e;
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
while (true);
|
|
3539
|
+
};
|
|
3540
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3541
|
+
var i = new (IntegratedDocumentMutation$updateInsuranceDocuments$slambda())(this.this$0__1, this.$agreement_1, this.$companyId_1, this.$insuranceId_1, this.$removeDocumentIds_1, completion);
|
|
3542
|
+
i.prepared_1 = prepared;
|
|
3543
|
+
i.key_1 = key;
|
|
3544
|
+
return i;
|
|
3545
|
+
};
|
|
3546
|
+
IntegratedDocumentMutation$updateInsuranceDocuments$slambdaClass = $;
|
|
3547
|
+
}
|
|
3548
|
+
return IntegratedDocumentMutation$updateInsuranceDocuments$slambdaClass;
|
|
3549
|
+
}
|
|
3550
|
+
function IntegratedDocumentMutation$updateInsuranceDocuments$slambda_0(this$0, $agreement, $companyId, $insuranceId, $removeDocumentIds, resultContinuation) {
|
|
3551
|
+
var i = new (IntegratedDocumentMutation$updateInsuranceDocuments$slambda())(this$0, $agreement, $companyId, $insuranceId, $removeDocumentIds, resultContinuation);
|
|
3552
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3553
|
+
return i.invoke_ryceox_k$(prepared, key, $completion);
|
|
3554
|
+
}, 2);
|
|
3555
|
+
}
|
|
3556
|
+
var IntegratedDocumentMutation$createLoan$slambdaClass;
|
|
3557
|
+
function IntegratedDocumentMutation$createLoan$slambda() {
|
|
3558
|
+
if (IntegratedDocumentMutation$createLoan$slambdaClass === VOID) {
|
|
3559
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3560
|
+
function $(this$0, $agreement, $companyId, $command, resultContinuation) {
|
|
3561
|
+
this.this$0__1 = this$0;
|
|
3562
|
+
this.$agreement_1 = $agreement;
|
|
3563
|
+
this.$companyId_1 = $companyId;
|
|
3564
|
+
this.$command_1 = $command;
|
|
3565
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3566
|
+
}
|
|
3567
|
+
protoOf($).invoke_46tu3z_k$ = function (prepared, key, $completion) {
|
|
3568
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3569
|
+
tmp.result_1 = Unit_instance;
|
|
3570
|
+
tmp.exception_1 = null;
|
|
3571
|
+
return tmp.doResume_5yljmg_k$();
|
|
3572
|
+
};
|
|
3573
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3574
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3575
|
+
return this.invoke_46tu3z_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3576
|
+
};
|
|
3577
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3578
|
+
var suspendResult = this.result_1;
|
|
3579
|
+
$sm: do
|
|
3580
|
+
try {
|
|
3581
|
+
var tmp = this.state_1;
|
|
3582
|
+
switch (tmp) {
|
|
3583
|
+
case 0:
|
|
3584
|
+
this.exceptionState_1 = 2;
|
|
3585
|
+
var _destruct__k2r9zo = splitAgreement(this.this$0__1, this.$agreement_1, this.prepared_1);
|
|
3586
|
+
var agreementInput = _destruct__k2r9zo.component1_7eebsc_k$();
|
|
3587
|
+
var documents = _destruct__k2r9zo.component2_7eebsb_k$();
|
|
3588
|
+
this.state_1 = 1;
|
|
3589
|
+
suspendResult = finalizeIntegratedLoanCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeLoanDocumentCreateCommand())(agreementInput, this.$command_1, documents, this.key_1), this);
|
|
3590
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3591
|
+
return suspendResult;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
continue $sm;
|
|
3595
|
+
case 1:
|
|
3596
|
+
return suspendResult;
|
|
3597
|
+
case 2:
|
|
3598
|
+
throw this.exception_1;
|
|
3599
|
+
}
|
|
3600
|
+
} catch ($p) {
|
|
3601
|
+
var e = $p;
|
|
3602
|
+
if (this.exceptionState_1 === 2) {
|
|
3603
|
+
throw e;
|
|
3604
|
+
} else {
|
|
3605
|
+
this.state_1 = this.exceptionState_1;
|
|
3606
|
+
this.exception_1 = e;
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
while (true);
|
|
3610
|
+
};
|
|
3611
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3612
|
+
var i = new (IntegratedDocumentMutation$createLoan$slambda())(this.this$0__1, this.$agreement_1, this.$companyId_1, this.$command_1, completion);
|
|
3613
|
+
i.prepared_1 = prepared;
|
|
3614
|
+
i.key_1 = key;
|
|
3615
|
+
return i;
|
|
3616
|
+
};
|
|
3617
|
+
IntegratedDocumentMutation$createLoan$slambdaClass = $;
|
|
3618
|
+
}
|
|
3619
|
+
return IntegratedDocumentMutation$createLoan$slambdaClass;
|
|
3620
|
+
}
|
|
3621
|
+
function IntegratedDocumentMutation$createLoan$slambda_0(this$0, $agreement, $companyId, $command, resultContinuation) {
|
|
3622
|
+
var i = new (IntegratedDocumentMutation$createLoan$slambda())(this$0, $agreement, $companyId, $command, resultContinuation);
|
|
3623
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3624
|
+
return i.invoke_46tu3z_k$(prepared, key, $completion);
|
|
3625
|
+
}, 2);
|
|
3626
|
+
}
|
|
3627
|
+
var IntegratedDocumentMutation$updateLoan$slambdaClass;
|
|
3628
|
+
function IntegratedDocumentMutation$updateLoan$slambda() {
|
|
3629
|
+
if (IntegratedDocumentMutation$updateLoan$slambdaClass === VOID) {
|
|
3630
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3631
|
+
function $(this$0, $agreement, $companyId, $loanId, $command, $removeDocumentIds, resultContinuation) {
|
|
3632
|
+
this.this$0__1 = this$0;
|
|
3633
|
+
this.$agreement_1 = $agreement;
|
|
3634
|
+
this.$companyId_1 = $companyId;
|
|
3635
|
+
this.$loanId_1 = $loanId;
|
|
3636
|
+
this.$command_1 = $command;
|
|
3637
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3638
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3639
|
+
}
|
|
3640
|
+
protoOf($).invoke_46tu3z_k$ = function (prepared, key, $completion) {
|
|
3641
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3642
|
+
tmp.result_1 = Unit_instance;
|
|
3643
|
+
tmp.exception_1 = null;
|
|
3644
|
+
return tmp.doResume_5yljmg_k$();
|
|
3645
|
+
};
|
|
3646
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3647
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3648
|
+
return this.invoke_46tu3z_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3649
|
+
};
|
|
3650
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3651
|
+
var suspendResult = this.result_1;
|
|
3652
|
+
$sm: do
|
|
3653
|
+
try {
|
|
3654
|
+
var tmp = this.state_1;
|
|
3655
|
+
switch (tmp) {
|
|
3656
|
+
case 0:
|
|
3657
|
+
this.exceptionState_1 = 2;
|
|
3658
|
+
var _destruct__k2r9zo = splitAgreement(this.this$0__1, this.$agreement_1, this.prepared_1);
|
|
3659
|
+
var agreementInput = _destruct__k2r9zo.component1_7eebsc_k$();
|
|
3660
|
+
var documents = _destruct__k2r9zo.component2_7eebsb_k$();
|
|
3661
|
+
this.state_1 = 1;
|
|
3662
|
+
suspendResult = finalizeIntegratedLoanUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$loanId_1, new (FinalizeLoanDocumentUpdateCommand())(agreementInput, this.$command_1, documents, this.key_1, this.$removeDocumentIds_1), this);
|
|
3663
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3664
|
+
return suspendResult;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
continue $sm;
|
|
3668
|
+
case 1:
|
|
3669
|
+
return suspendResult;
|
|
3670
|
+
case 2:
|
|
3671
|
+
throw this.exception_1;
|
|
3672
|
+
}
|
|
3673
|
+
} catch ($p) {
|
|
3674
|
+
var e = $p;
|
|
3675
|
+
if (this.exceptionState_1 === 2) {
|
|
3676
|
+
throw e;
|
|
3677
|
+
} else {
|
|
3678
|
+
this.state_1 = this.exceptionState_1;
|
|
3679
|
+
this.exception_1 = e;
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
while (true);
|
|
3683
|
+
};
|
|
3684
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3685
|
+
var i = new (IntegratedDocumentMutation$updateLoan$slambda())(this.this$0__1, this.$agreement_1, this.$companyId_1, this.$loanId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
3686
|
+
i.prepared_1 = prepared;
|
|
3687
|
+
i.key_1 = key;
|
|
3688
|
+
return i;
|
|
3689
|
+
};
|
|
3690
|
+
IntegratedDocumentMutation$updateLoan$slambdaClass = $;
|
|
3691
|
+
}
|
|
3692
|
+
return IntegratedDocumentMutation$updateLoan$slambdaClass;
|
|
3693
|
+
}
|
|
3694
|
+
function IntegratedDocumentMutation$updateLoan$slambda_0(this$0, $agreement, $companyId, $loanId, $command, $removeDocumentIds, resultContinuation) {
|
|
3695
|
+
var i = new (IntegratedDocumentMutation$updateLoan$slambda())(this$0, $agreement, $companyId, $loanId, $command, $removeDocumentIds, resultContinuation);
|
|
3696
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3697
|
+
return i.invoke_46tu3z_k$(prepared, key, $completion);
|
|
3698
|
+
}, 2);
|
|
3699
|
+
}
|
|
3700
|
+
var IntegratedDocumentMutation$createIssue$slambdaClass;
|
|
3701
|
+
function IntegratedDocumentMutation$createIssue$slambda() {
|
|
3702
|
+
if (IntegratedDocumentMutation$createIssue$slambdaClass === VOID) {
|
|
3703
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3704
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
3705
|
+
this.this$0__1 = this$0;
|
|
3706
|
+
this.$companyId_1 = $companyId;
|
|
3707
|
+
this.$command_1 = $command;
|
|
3708
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3709
|
+
}
|
|
3710
|
+
protoOf($).invoke_1q9ebk_k$ = function (prepared, key, $completion) {
|
|
3711
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3712
|
+
tmp.result_1 = Unit_instance;
|
|
3713
|
+
tmp.exception_1 = null;
|
|
3714
|
+
return tmp.doResume_5yljmg_k$();
|
|
3715
|
+
};
|
|
3716
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3717
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3718
|
+
return this.invoke_1q9ebk_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3719
|
+
};
|
|
3720
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3721
|
+
var suspendResult = this.result_1;
|
|
3722
|
+
$sm: do
|
|
3723
|
+
try {
|
|
3724
|
+
var tmp = this.state_1;
|
|
3725
|
+
switch (tmp) {
|
|
3726
|
+
case 0:
|
|
3727
|
+
this.exceptionState_1 = 2;
|
|
3728
|
+
this.state_1 = 1;
|
|
3729
|
+
suspendResult = finalizeIntegratedIssueCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeIssueDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
3730
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3731
|
+
return suspendResult;
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
continue $sm;
|
|
3735
|
+
case 1:
|
|
3736
|
+
return suspendResult;
|
|
3737
|
+
case 2:
|
|
3738
|
+
throw this.exception_1;
|
|
3739
|
+
}
|
|
3740
|
+
} catch ($p) {
|
|
3741
|
+
var e = $p;
|
|
3742
|
+
if (this.exceptionState_1 === 2) {
|
|
3743
|
+
throw e;
|
|
3744
|
+
} else {
|
|
3745
|
+
this.state_1 = this.exceptionState_1;
|
|
3746
|
+
this.exception_1 = e;
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
while (true);
|
|
3750
|
+
};
|
|
3751
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3752
|
+
var i = new (IntegratedDocumentMutation$createIssue$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
3753
|
+
i.prepared_1 = prepared;
|
|
3754
|
+
i.key_1 = key;
|
|
3755
|
+
return i;
|
|
3756
|
+
};
|
|
3757
|
+
IntegratedDocumentMutation$createIssue$slambdaClass = $;
|
|
3758
|
+
}
|
|
3759
|
+
return IntegratedDocumentMutation$createIssue$slambdaClass;
|
|
3760
|
+
}
|
|
3761
|
+
function IntegratedDocumentMutation$createIssue$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
3762
|
+
var i = new (IntegratedDocumentMutation$createIssue$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
3763
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3764
|
+
return i.invoke_1q9ebk_k$(prepared, key, $completion);
|
|
3765
|
+
}, 2);
|
|
3766
|
+
}
|
|
3767
|
+
var IntegratedDocumentMutation$updateIssue$slambdaClass;
|
|
3768
|
+
function IntegratedDocumentMutation$updateIssue$slambda() {
|
|
3769
|
+
if (IntegratedDocumentMutation$updateIssue$slambdaClass === VOID) {
|
|
3770
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3771
|
+
function $(this$0, $companyId, $issueId, $command, $removeDocumentIds, resultContinuation) {
|
|
3772
|
+
this.this$0__1 = this$0;
|
|
3773
|
+
this.$companyId_1 = $companyId;
|
|
3774
|
+
this.$issueId_1 = $issueId;
|
|
3775
|
+
this.$command_1 = $command;
|
|
3776
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3777
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3778
|
+
}
|
|
3779
|
+
protoOf($).invoke_1q9ebk_k$ = function (prepared, key, $completion) {
|
|
3780
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3781
|
+
tmp.result_1 = Unit_instance;
|
|
3782
|
+
tmp.exception_1 = null;
|
|
3783
|
+
return tmp.doResume_5yljmg_k$();
|
|
3784
|
+
};
|
|
3785
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3786
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3787
|
+
return this.invoke_1q9ebk_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3788
|
+
};
|
|
3789
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3790
|
+
var suspendResult = this.result_1;
|
|
3791
|
+
$sm: do
|
|
3792
|
+
try {
|
|
3793
|
+
var tmp = this.state_1;
|
|
3794
|
+
switch (tmp) {
|
|
3795
|
+
case 0:
|
|
3796
|
+
this.exceptionState_1 = 2;
|
|
3797
|
+
this.state_1 = 1;
|
|
3798
|
+
suspendResult = finalizeIntegratedIssueUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$issueId_1, new (FinalizeIssueDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
3799
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3800
|
+
return suspendResult;
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
continue $sm;
|
|
3804
|
+
case 1:
|
|
3805
|
+
return suspendResult;
|
|
3806
|
+
case 2:
|
|
3807
|
+
throw this.exception_1;
|
|
3808
|
+
}
|
|
3809
|
+
} catch ($p) {
|
|
3810
|
+
var e = $p;
|
|
3811
|
+
if (this.exceptionState_1 === 2) {
|
|
3812
|
+
throw e;
|
|
3813
|
+
} else {
|
|
3814
|
+
this.state_1 = this.exceptionState_1;
|
|
3815
|
+
this.exception_1 = e;
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
while (true);
|
|
3819
|
+
};
|
|
3820
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3821
|
+
var i = new (IntegratedDocumentMutation$updateIssue$slambda())(this.this$0__1, this.$companyId_1, this.$issueId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
3822
|
+
i.prepared_1 = prepared;
|
|
3823
|
+
i.key_1 = key;
|
|
3824
|
+
return i;
|
|
3825
|
+
};
|
|
3826
|
+
IntegratedDocumentMutation$updateIssue$slambdaClass = $;
|
|
3827
|
+
}
|
|
3828
|
+
return IntegratedDocumentMutation$updateIssue$slambdaClass;
|
|
3829
|
+
}
|
|
3830
|
+
function IntegratedDocumentMutation$updateIssue$slambda_0(this$0, $companyId, $issueId, $command, $removeDocumentIds, resultContinuation) {
|
|
3831
|
+
var i = new (IntegratedDocumentMutation$updateIssue$slambda())(this$0, $companyId, $issueId, $command, $removeDocumentIds, resultContinuation);
|
|
3832
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3833
|
+
return i.invoke_1q9ebk_k$(prepared, key, $completion);
|
|
3834
|
+
}, 2);
|
|
3835
|
+
}
|
|
3836
|
+
var IntegratedDocumentMutation$createMeeting$slambdaClass;
|
|
3837
|
+
function IntegratedDocumentMutation$createMeeting$slambda() {
|
|
3838
|
+
if (IntegratedDocumentMutation$createMeeting$slambdaClass === VOID) {
|
|
3839
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3840
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
3841
|
+
this.this$0__1 = this$0;
|
|
3842
|
+
this.$companyId_1 = $companyId;
|
|
3843
|
+
this.$command_1 = $command;
|
|
3844
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3845
|
+
}
|
|
3846
|
+
protoOf($).invoke_c9csda_k$ = function (prepared, key, $completion) {
|
|
3847
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3848
|
+
tmp.result_1 = Unit_instance;
|
|
3849
|
+
tmp.exception_1 = null;
|
|
3850
|
+
return tmp.doResume_5yljmg_k$();
|
|
3851
|
+
};
|
|
3852
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3853
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3854
|
+
return this.invoke_c9csda_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3855
|
+
};
|
|
3856
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3857
|
+
var suspendResult = this.result_1;
|
|
3858
|
+
$sm: do
|
|
3859
|
+
try {
|
|
3860
|
+
var tmp = this.state_1;
|
|
3861
|
+
switch (tmp) {
|
|
3862
|
+
case 0:
|
|
3863
|
+
this.exceptionState_1 = 2;
|
|
3864
|
+
this.state_1 = 1;
|
|
3865
|
+
suspendResult = finalizeIntegratedMeetingCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeMeetingDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
3866
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3867
|
+
return suspendResult;
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
continue $sm;
|
|
3871
|
+
case 1:
|
|
3872
|
+
return suspendResult;
|
|
3873
|
+
case 2:
|
|
3874
|
+
throw this.exception_1;
|
|
3875
|
+
}
|
|
3876
|
+
} catch ($p) {
|
|
3877
|
+
var e = $p;
|
|
3878
|
+
if (this.exceptionState_1 === 2) {
|
|
3879
|
+
throw e;
|
|
3880
|
+
} else {
|
|
3881
|
+
this.state_1 = this.exceptionState_1;
|
|
3882
|
+
this.exception_1 = e;
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
while (true);
|
|
3886
|
+
};
|
|
3887
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3888
|
+
var i = new (IntegratedDocumentMutation$createMeeting$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
3889
|
+
i.prepared_1 = prepared;
|
|
3890
|
+
i.key_1 = key;
|
|
3891
|
+
return i;
|
|
3892
|
+
};
|
|
3893
|
+
IntegratedDocumentMutation$createMeeting$slambdaClass = $;
|
|
3894
|
+
}
|
|
3895
|
+
return IntegratedDocumentMutation$createMeeting$slambdaClass;
|
|
3896
|
+
}
|
|
3897
|
+
function IntegratedDocumentMutation$createMeeting$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
3898
|
+
var i = new (IntegratedDocumentMutation$createMeeting$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
3899
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3900
|
+
return i.invoke_c9csda_k$(prepared, key, $completion);
|
|
3901
|
+
}, 2);
|
|
3902
|
+
}
|
|
3903
|
+
var IntegratedDocumentMutation$updateMeeting$slambdaClass;
|
|
3904
|
+
function IntegratedDocumentMutation$updateMeeting$slambda() {
|
|
3905
|
+
if (IntegratedDocumentMutation$updateMeeting$slambdaClass === VOID) {
|
|
3906
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3907
|
+
function $(this$0, $companyId, $meetingId, $command, $removeDocumentIds, resultContinuation) {
|
|
3908
|
+
this.this$0__1 = this$0;
|
|
3909
|
+
this.$companyId_1 = $companyId;
|
|
3910
|
+
this.$meetingId_1 = $meetingId;
|
|
3911
|
+
this.$command_1 = $command;
|
|
3912
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
3913
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3914
|
+
}
|
|
3915
|
+
protoOf($).invoke_c9csda_k$ = function (prepared, key, $completion) {
|
|
3916
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3917
|
+
tmp.result_1 = Unit_instance;
|
|
3918
|
+
tmp.exception_1 = null;
|
|
3919
|
+
return tmp.doResume_5yljmg_k$();
|
|
3920
|
+
};
|
|
3921
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3922
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3923
|
+
return this.invoke_c9csda_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3924
|
+
};
|
|
3925
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3926
|
+
var suspendResult = this.result_1;
|
|
3927
|
+
$sm: do
|
|
3928
|
+
try {
|
|
3929
|
+
var tmp = this.state_1;
|
|
3930
|
+
switch (tmp) {
|
|
3931
|
+
case 0:
|
|
3932
|
+
this.exceptionState_1 = 2;
|
|
3933
|
+
this.state_1 = 1;
|
|
3934
|
+
suspendResult = finalizeIntegratedMeetingUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$meetingId_1, new (FinalizeMeetingDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
3935
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3936
|
+
return suspendResult;
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
continue $sm;
|
|
3940
|
+
case 1:
|
|
3941
|
+
return suspendResult;
|
|
3942
|
+
case 2:
|
|
3943
|
+
throw this.exception_1;
|
|
3944
|
+
}
|
|
3945
|
+
} catch ($p) {
|
|
3946
|
+
var e = $p;
|
|
3947
|
+
if (this.exceptionState_1 === 2) {
|
|
3948
|
+
throw e;
|
|
3949
|
+
} else {
|
|
3950
|
+
this.state_1 = this.exceptionState_1;
|
|
3951
|
+
this.exception_1 = e;
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
while (true);
|
|
3955
|
+
};
|
|
3956
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
3957
|
+
var i = new (IntegratedDocumentMutation$updateMeeting$slambda())(this.this$0__1, this.$companyId_1, this.$meetingId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
3958
|
+
i.prepared_1 = prepared;
|
|
3959
|
+
i.key_1 = key;
|
|
3960
|
+
return i;
|
|
3961
|
+
};
|
|
3962
|
+
IntegratedDocumentMutation$updateMeeting$slambdaClass = $;
|
|
3963
|
+
}
|
|
3964
|
+
return IntegratedDocumentMutation$updateMeeting$slambdaClass;
|
|
3965
|
+
}
|
|
3966
|
+
function IntegratedDocumentMutation$updateMeeting$slambda_0(this$0, $companyId, $meetingId, $command, $removeDocumentIds, resultContinuation) {
|
|
3967
|
+
var i = new (IntegratedDocumentMutation$updateMeeting$slambda())(this$0, $companyId, $meetingId, $command, $removeDocumentIds, resultContinuation);
|
|
3968
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
3969
|
+
return i.invoke_c9csda_k$(prepared, key, $completion);
|
|
3970
|
+
}, 2);
|
|
3971
|
+
}
|
|
3972
|
+
var IntegratedDocumentMutation$createRoutine$slambdaClass;
|
|
3973
|
+
function IntegratedDocumentMutation$createRoutine$slambda() {
|
|
3974
|
+
if (IntegratedDocumentMutation$createRoutine$slambdaClass === VOID) {
|
|
3975
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
3976
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
3977
|
+
this.this$0__1 = this$0;
|
|
3978
|
+
this.$companyId_1 = $companyId;
|
|
3979
|
+
this.$command_1 = $command;
|
|
3980
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
3981
|
+
}
|
|
3982
|
+
protoOf($).invoke_67lcaz_k$ = function (prepared, key, $completion) {
|
|
3983
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
3984
|
+
tmp.result_1 = Unit_instance;
|
|
3985
|
+
tmp.exception_1 = null;
|
|
3986
|
+
return tmp.doResume_5yljmg_k$();
|
|
3987
|
+
};
|
|
3988
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
3989
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
3990
|
+
return this.invoke_67lcaz_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
3991
|
+
};
|
|
3992
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3993
|
+
var suspendResult = this.result_1;
|
|
3994
|
+
$sm: do
|
|
3995
|
+
try {
|
|
3996
|
+
var tmp = this.state_1;
|
|
3997
|
+
switch (tmp) {
|
|
3998
|
+
case 0:
|
|
3999
|
+
this.exceptionState_1 = 2;
|
|
4000
|
+
this.state_1 = 1;
|
|
4001
|
+
suspendResult = finalizeIntegratedRoutineCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeRoutineDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
4002
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4003
|
+
return suspendResult;
|
|
4004
|
+
}
|
|
4005
|
+
|
|
4006
|
+
continue $sm;
|
|
4007
|
+
case 1:
|
|
4008
|
+
return suspendResult;
|
|
4009
|
+
case 2:
|
|
4010
|
+
throw this.exception_1;
|
|
4011
|
+
}
|
|
4012
|
+
} catch ($p) {
|
|
4013
|
+
var e = $p;
|
|
4014
|
+
if (this.exceptionState_1 === 2) {
|
|
4015
|
+
throw e;
|
|
4016
|
+
} else {
|
|
4017
|
+
this.state_1 = this.exceptionState_1;
|
|
4018
|
+
this.exception_1 = e;
|
|
4019
|
+
}
|
|
4020
|
+
}
|
|
4021
|
+
while (true);
|
|
4022
|
+
};
|
|
4023
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
4024
|
+
var i = new (IntegratedDocumentMutation$createRoutine$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
4025
|
+
i.prepared_1 = prepared;
|
|
4026
|
+
i.key_1 = key;
|
|
4027
|
+
return i;
|
|
4028
|
+
};
|
|
4029
|
+
IntegratedDocumentMutation$createRoutine$slambdaClass = $;
|
|
4030
|
+
}
|
|
4031
|
+
return IntegratedDocumentMutation$createRoutine$slambdaClass;
|
|
4032
|
+
}
|
|
4033
|
+
function IntegratedDocumentMutation$createRoutine$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
4034
|
+
var i = new (IntegratedDocumentMutation$createRoutine$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
4035
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
4036
|
+
return i.invoke_67lcaz_k$(prepared, key, $completion);
|
|
4037
|
+
}, 2);
|
|
4038
|
+
}
|
|
4039
|
+
var IntegratedDocumentMutation$updateRoutine$slambdaClass;
|
|
4040
|
+
function IntegratedDocumentMutation$updateRoutine$slambda() {
|
|
4041
|
+
if (IntegratedDocumentMutation$updateRoutine$slambdaClass === VOID) {
|
|
4042
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
4043
|
+
function $(this$0, $companyId, $routineId, $command, $removeDocumentIds, resultContinuation) {
|
|
4044
|
+
this.this$0__1 = this$0;
|
|
4045
|
+
this.$companyId_1 = $companyId;
|
|
4046
|
+
this.$routineId_1 = $routineId;
|
|
4047
|
+
this.$command_1 = $command;
|
|
4048
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
4049
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4050
|
+
}
|
|
4051
|
+
protoOf($).invoke_67lcaz_k$ = function (prepared, key, $completion) {
|
|
4052
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
4053
|
+
tmp.result_1 = Unit_instance;
|
|
4054
|
+
tmp.exception_1 = null;
|
|
4055
|
+
return tmp.doResume_5yljmg_k$();
|
|
4056
|
+
};
|
|
4057
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
4058
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
4059
|
+
return this.invoke_67lcaz_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
4060
|
+
};
|
|
4061
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4062
|
+
var suspendResult = this.result_1;
|
|
4063
|
+
$sm: do
|
|
4064
|
+
try {
|
|
4065
|
+
var tmp = this.state_1;
|
|
4066
|
+
switch (tmp) {
|
|
4067
|
+
case 0:
|
|
4068
|
+
this.exceptionState_1 = 2;
|
|
4069
|
+
this.state_1 = 1;
|
|
4070
|
+
suspendResult = finalizeIntegratedRoutineUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$routineId_1, new (FinalizeRoutineDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
4071
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4072
|
+
return suspendResult;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
continue $sm;
|
|
4076
|
+
case 1:
|
|
4077
|
+
return suspendResult;
|
|
4078
|
+
case 2:
|
|
4079
|
+
throw this.exception_1;
|
|
4080
|
+
}
|
|
4081
|
+
} catch ($p) {
|
|
4082
|
+
var e = $p;
|
|
4083
|
+
if (this.exceptionState_1 === 2) {
|
|
4084
|
+
throw e;
|
|
4085
|
+
} else {
|
|
4086
|
+
this.state_1 = this.exceptionState_1;
|
|
4087
|
+
this.exception_1 = e;
|
|
4088
|
+
}
|
|
4089
|
+
}
|
|
4090
|
+
while (true);
|
|
4091
|
+
};
|
|
4092
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
4093
|
+
var i = new (IntegratedDocumentMutation$updateRoutine$slambda())(this.this$0__1, this.$companyId_1, this.$routineId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
4094
|
+
i.prepared_1 = prepared;
|
|
4095
|
+
i.key_1 = key;
|
|
4096
|
+
return i;
|
|
4097
|
+
};
|
|
4098
|
+
IntegratedDocumentMutation$updateRoutine$slambdaClass = $;
|
|
4099
|
+
}
|
|
4100
|
+
return IntegratedDocumentMutation$updateRoutine$slambdaClass;
|
|
4101
|
+
}
|
|
4102
|
+
function IntegratedDocumentMutation$updateRoutine$slambda_0(this$0, $companyId, $routineId, $command, $removeDocumentIds, resultContinuation) {
|
|
4103
|
+
var i = new (IntegratedDocumentMutation$updateRoutine$slambda())(this$0, $companyId, $routineId, $command, $removeDocumentIds, resultContinuation);
|
|
4104
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
4105
|
+
return i.invoke_67lcaz_k$(prepared, key, $completion);
|
|
4106
|
+
}, 2);
|
|
4107
|
+
}
|
|
4108
|
+
var IntegratedDocumentMutation$createCompanySupplier$slambdaClass;
|
|
4109
|
+
function IntegratedDocumentMutation$createCompanySupplier$slambda() {
|
|
4110
|
+
if (IntegratedDocumentMutation$createCompanySupplier$slambdaClass === VOID) {
|
|
4111
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
4112
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
4113
|
+
this.this$0__1 = this$0;
|
|
4114
|
+
this.$companyId_1 = $companyId;
|
|
4115
|
+
this.$command_1 = $command;
|
|
4116
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4117
|
+
}
|
|
4118
|
+
protoOf($).invoke_h4xm3j_k$ = function (prepared, key, $completion) {
|
|
4119
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
4120
|
+
tmp.result_1 = Unit_instance;
|
|
4121
|
+
tmp.exception_1 = null;
|
|
4122
|
+
return tmp.doResume_5yljmg_k$();
|
|
4123
|
+
};
|
|
4124
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
4125
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
4126
|
+
return this.invoke_h4xm3j_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
4127
|
+
};
|
|
4128
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4129
|
+
var suspendResult = this.result_1;
|
|
4130
|
+
$sm: do
|
|
4131
|
+
try {
|
|
4132
|
+
var tmp = this.state_1;
|
|
4133
|
+
switch (tmp) {
|
|
4134
|
+
case 0:
|
|
4135
|
+
this.exceptionState_1 = 2;
|
|
4136
|
+
this.state_1 = 1;
|
|
4137
|
+
suspendResult = finalizeIntegratedCompanySupplierCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeSupplierForCompanyDocumentCreateCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
4138
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4139
|
+
return suspendResult;
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
continue $sm;
|
|
4143
|
+
case 1:
|
|
4144
|
+
return suspendResult;
|
|
4145
|
+
case 2:
|
|
4146
|
+
throw this.exception_1;
|
|
4147
|
+
}
|
|
4148
|
+
} catch ($p) {
|
|
4149
|
+
var e = $p;
|
|
4150
|
+
if (this.exceptionState_1 === 2) {
|
|
4151
|
+
throw e;
|
|
4152
|
+
} else {
|
|
4153
|
+
this.state_1 = this.exceptionState_1;
|
|
4154
|
+
this.exception_1 = e;
|
|
4155
|
+
}
|
|
4156
|
+
}
|
|
4157
|
+
while (true);
|
|
4158
|
+
};
|
|
4159
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
4160
|
+
var i = new (IntegratedDocumentMutation$createCompanySupplier$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
4161
|
+
i.prepared_1 = prepared;
|
|
4162
|
+
i.key_1 = key;
|
|
4163
|
+
return i;
|
|
4164
|
+
};
|
|
4165
|
+
IntegratedDocumentMutation$createCompanySupplier$slambdaClass = $;
|
|
4166
|
+
}
|
|
4167
|
+
return IntegratedDocumentMutation$createCompanySupplier$slambdaClass;
|
|
4168
|
+
}
|
|
4169
|
+
function IntegratedDocumentMutation$createCompanySupplier$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
4170
|
+
var i = new (IntegratedDocumentMutation$createCompanySupplier$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
4171
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
4172
|
+
return i.invoke_h4xm3j_k$(prepared, key, $completion);
|
|
4173
|
+
}, 2);
|
|
4174
|
+
}
|
|
4175
|
+
var IntegratedDocumentMutation$updateCompanySupplier$slambdaClass;
|
|
4176
|
+
function IntegratedDocumentMutation$updateCompanySupplier$slambda() {
|
|
4177
|
+
if (IntegratedDocumentMutation$updateCompanySupplier$slambdaClass === VOID) {
|
|
4178
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
4179
|
+
function $(this$0, $companyId, $supplierId, $command, $removeDocumentIds, resultContinuation) {
|
|
4180
|
+
this.this$0__1 = this$0;
|
|
4181
|
+
this.$companyId_1 = $companyId;
|
|
4182
|
+
this.$supplierId_1 = $supplierId;
|
|
4183
|
+
this.$command_1 = $command;
|
|
4184
|
+
this.$removeDocumentIds_1 = $removeDocumentIds;
|
|
4185
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4186
|
+
}
|
|
4187
|
+
protoOf($).invoke_h4xm3j_k$ = function (prepared, key, $completion) {
|
|
4188
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
4189
|
+
tmp.result_1 = Unit_instance;
|
|
4190
|
+
tmp.exception_1 = null;
|
|
4191
|
+
return tmp.doResume_5yljmg_k$();
|
|
4192
|
+
};
|
|
4193
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
4194
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
4195
|
+
return this.invoke_h4xm3j_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
4196
|
+
};
|
|
4197
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4198
|
+
var suspendResult = this.result_1;
|
|
4199
|
+
$sm: do
|
|
4200
|
+
try {
|
|
4201
|
+
var tmp = this.state_1;
|
|
4202
|
+
switch (tmp) {
|
|
4203
|
+
case 0:
|
|
4204
|
+
this.exceptionState_1 = 2;
|
|
4205
|
+
this.state_1 = 1;
|
|
4206
|
+
suspendResult = finalizeIntegratedCompanySupplierUpdateOperation(this.this$0__1.operations_1, this.$companyId_1, this.$supplierId_1, new (FinalizeSupplierForCompanyDocumentUpdateCommand())(this.$command_1, this.prepared_1, this.key_1, this.$removeDocumentIds_1), this);
|
|
4207
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4208
|
+
return suspendResult;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
continue $sm;
|
|
4212
|
+
case 1:
|
|
4213
|
+
return suspendResult;
|
|
4214
|
+
case 2:
|
|
4215
|
+
throw this.exception_1;
|
|
4216
|
+
}
|
|
4217
|
+
} catch ($p) {
|
|
4218
|
+
var e = $p;
|
|
4219
|
+
if (this.exceptionState_1 === 2) {
|
|
4220
|
+
throw e;
|
|
4221
|
+
} else {
|
|
4222
|
+
this.state_1 = this.exceptionState_1;
|
|
4223
|
+
this.exception_1 = e;
|
|
4224
|
+
}
|
|
4225
|
+
}
|
|
4226
|
+
while (true);
|
|
4227
|
+
};
|
|
4228
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
4229
|
+
var i = new (IntegratedDocumentMutation$updateCompanySupplier$slambda())(this.this$0__1, this.$companyId_1, this.$supplierId_1, this.$command_1, this.$removeDocumentIds_1, completion);
|
|
4230
|
+
i.prepared_1 = prepared;
|
|
4231
|
+
i.key_1 = key;
|
|
4232
|
+
return i;
|
|
4233
|
+
};
|
|
4234
|
+
IntegratedDocumentMutation$updateCompanySupplier$slambdaClass = $;
|
|
4235
|
+
}
|
|
4236
|
+
return IntegratedDocumentMutation$updateCompanySupplier$slambdaClass;
|
|
4237
|
+
}
|
|
4238
|
+
function IntegratedDocumentMutation$updateCompanySupplier$slambda_0(this$0, $companyId, $supplierId, $command, $removeDocumentIds, resultContinuation) {
|
|
4239
|
+
var i = new (IntegratedDocumentMutation$updateCompanySupplier$slambda())(this$0, $companyId, $supplierId, $command, $removeDocumentIds, resultContinuation);
|
|
4240
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
4241
|
+
return i.invoke_h4xm3j_k$(prepared, key, $completion);
|
|
4242
|
+
}, 2);
|
|
4243
|
+
}
|
|
4244
|
+
var IntegratedDocumentMutation$createInquiry$slambdaClass;
|
|
4245
|
+
function IntegratedDocumentMutation$createInquiry$slambda() {
|
|
4246
|
+
if (IntegratedDocumentMutation$createInquiry$slambdaClass === VOID) {
|
|
4247
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [2]);
|
|
4248
|
+
function $(this$0, $companyId, $command, resultContinuation) {
|
|
4249
|
+
this.this$0__1 = this$0;
|
|
4250
|
+
this.$companyId_1 = $companyId;
|
|
4251
|
+
this.$command_1 = $command;
|
|
4252
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4253
|
+
}
|
|
4254
|
+
protoOf($).invoke_e52jmm_k$ = function (prepared, key, $completion) {
|
|
4255
|
+
var tmp = this.create_qonpi6_k$(prepared, key, $completion);
|
|
4256
|
+
tmp.result_1 = Unit_instance;
|
|
4257
|
+
tmp.exception_1 = null;
|
|
4258
|
+
return tmp.doResume_5yljmg_k$();
|
|
4259
|
+
};
|
|
4260
|
+
protoOf($).invoke_4tzzq6_k$ = function (p1, p2, $completion) {
|
|
4261
|
+
var tmp = (!(p1 == null) ? isInterface(p1, KtList()) : false) ? p1 : THROW_CCE();
|
|
4262
|
+
return this.invoke_e52jmm_k$(tmp, (!(p2 == null) ? typeof p2 === 'string' : false) ? p2 : THROW_CCE(), $completion);
|
|
4263
|
+
};
|
|
4264
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4265
|
+
var suspendResult = this.result_1;
|
|
4266
|
+
$sm: do
|
|
4267
|
+
try {
|
|
4268
|
+
var tmp = this.state_1;
|
|
4269
|
+
switch (tmp) {
|
|
4270
|
+
case 0:
|
|
4271
|
+
this.exceptionState_1 = 2;
|
|
4272
|
+
this.state_1 = 1;
|
|
4273
|
+
suspendResult = finalizeIntegratedInquiryCreateOperation(this.this$0__1.operations_1, this.$companyId_1, new (FinalizeConversationInquiryDocumentCommand())(this.$command_1, this.prepared_1, this.key_1), this);
|
|
4274
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4275
|
+
return suspendResult;
|
|
4276
|
+
}
|
|
4277
|
+
|
|
4278
|
+
continue $sm;
|
|
4279
|
+
case 1:
|
|
4280
|
+
return suspendResult;
|
|
4281
|
+
case 2:
|
|
4282
|
+
throw this.exception_1;
|
|
4283
|
+
}
|
|
4284
|
+
} catch ($p) {
|
|
4285
|
+
var e = $p;
|
|
4286
|
+
if (this.exceptionState_1 === 2) {
|
|
4287
|
+
throw e;
|
|
4288
|
+
} else {
|
|
4289
|
+
this.state_1 = this.exceptionState_1;
|
|
4290
|
+
this.exception_1 = e;
|
|
4291
|
+
}
|
|
4292
|
+
}
|
|
4293
|
+
while (true);
|
|
4294
|
+
};
|
|
4295
|
+
protoOf($).create_qonpi6_k$ = function (prepared, key, completion) {
|
|
4296
|
+
var i = new (IntegratedDocumentMutation$createInquiry$slambda())(this.this$0__1, this.$companyId_1, this.$command_1, completion);
|
|
4297
|
+
i.prepared_1 = prepared;
|
|
4298
|
+
i.key_1 = key;
|
|
4299
|
+
return i;
|
|
4300
|
+
};
|
|
4301
|
+
IntegratedDocumentMutation$createInquiry$slambdaClass = $;
|
|
4302
|
+
}
|
|
4303
|
+
return IntegratedDocumentMutation$createInquiry$slambdaClass;
|
|
4304
|
+
}
|
|
4305
|
+
function IntegratedDocumentMutation$createInquiry$slambda_0(this$0, $companyId, $command, resultContinuation) {
|
|
4306
|
+
var i = new (IntegratedDocumentMutation$createInquiry$slambda())(this$0, $companyId, $command, resultContinuation);
|
|
4307
|
+
return constructCallableReference(function (prepared, key, $completion) {
|
|
4308
|
+
return i.invoke_e52jmm_k$(prepared, key, $completion);
|
|
4309
|
+
}, 2);
|
|
4310
|
+
}
|
|
4311
|
+
var IntegratedDocumentMutation$prepareDocuments$slambdaClass;
|
|
4312
|
+
function IntegratedDocumentMutation$prepareDocuments$slambda() {
|
|
4313
|
+
if (IntegratedDocumentMutation$prepareDocuments$slambdaClass === VOID) {
|
|
4314
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [1]);
|
|
4315
|
+
function $($requestedDocuments, $idempotencyKey, this$0, $companyId, $onUploadProgress, resultContinuation) {
|
|
4316
|
+
this.$requestedDocuments_1 = $requestedDocuments;
|
|
4317
|
+
this.$idempotencyKey_1 = $idempotencyKey;
|
|
4318
|
+
this.this$0__1 = this$0;
|
|
4319
|
+
this.$companyId_1 = $companyId;
|
|
4320
|
+
this.$onUploadProgress_1 = $onUploadProgress;
|
|
4321
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4322
|
+
}
|
|
4323
|
+
protoOf($).invoke_q0y815_k$ = function ($this$supervisorScope, $completion) {
|
|
4324
|
+
var tmp = this.create_rcuf4x_k$($this$supervisorScope, $completion);
|
|
4325
|
+
tmp.result_1 = Unit_instance;
|
|
4326
|
+
tmp.exception_1 = null;
|
|
4327
|
+
return tmp.doResume_5yljmg_k$();
|
|
4328
|
+
};
|
|
4329
|
+
protoOf($).invoke_qns8j1_k$ = function (p1, $completion) {
|
|
4330
|
+
return this.invoke_q0y815_k$((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
4331
|
+
};
|
|
4332
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4333
|
+
var suspendResult = this.result_1;
|
|
4334
|
+
$sm: do
|
|
4335
|
+
try {
|
|
4336
|
+
var tmp = this.state_1;
|
|
4337
|
+
switch (tmp) {
|
|
4338
|
+
case 0:
|
|
4339
|
+
this.exceptionState_1 = 9;
|
|
4340
|
+
var tmp_0 = this;
|
|
4341
|
+
tmp_0.completedTickets3__1 = ArrayList_init_$Create$_0();
|
|
4342
|
+
this.completedTicketsMutex7__1 = Mutex();
|
|
4343
|
+
var tmp_1 = this;
|
|
4344
|
+
tmp_1.cancellationCleanupFailures10__1 = ArrayList_init_$Create$_0();
|
|
4345
|
+
this.cancellationCleanupFailuresMutex11__1 = Mutex();
|
|
4346
|
+
var tmp_2 = this;
|
|
4347
|
+
var this_0 = this.$requestedDocuments_1;
|
|
4348
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4349
|
+
var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
|
|
4350
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
4351
|
+
var item = _iterator__ex2g4s.next_20eer_k$();
|
|
4352
|
+
destination.add_utx5q5_k$(async(this.$this$supervisorScope_1, VOID, VOID, IntegratedDocumentMutation$prepareDocuments$slambda$slambda_0(item, this.this$0__1, this.$companyId_1, this.$onUploadProgress_1, this.completedTicketsMutex7__1, this.completedTickets3__1, this.cancellationCleanupFailuresMutex11__1, this.cancellationCleanupFailures10__1, null)));
|
|
4353
|
+
}
|
|
4354
|
+
|
|
4355
|
+
tmp_2.operations12__1 = destination;
|
|
4356
|
+
this.exceptionState_1 = 2;
|
|
4357
|
+
this.state_1 = 1;
|
|
4358
|
+
suspendResult = awaitAll(this.operations12__1, this);
|
|
4359
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4360
|
+
return suspendResult;
|
|
4361
|
+
}
|
|
4362
|
+
|
|
4363
|
+
continue $sm;
|
|
4364
|
+
case 1:
|
|
4365
|
+
this.TRY_RESULT9__1 = suspendResult;
|
|
4366
|
+
this.exceptionState_1 = 9;
|
|
4367
|
+
this.state_1 = 4;
|
|
4368
|
+
continue $sm;
|
|
4369
|
+
case 2:
|
|
4370
|
+
this.exceptionState_1 = 9;
|
|
4371
|
+
var tmp_3 = this.exception_1;
|
|
4372
|
+
if (tmp_3 instanceof CancellationException()) {
|
|
4373
|
+
var cancellation = this.exception_1;
|
|
4374
|
+
this.state_1 = 3;
|
|
4375
|
+
var tmp_4 = NonCancellable_getInstance();
|
|
4376
|
+
suspendResult = withContext(tmp_4, IntegratedDocumentMutation$prepareDocuments$slambda$slambda_2(this.operations12__1, this.completedTicketsMutex7__1, this.completedTickets3__1, this.this$0__1, this.$companyId_1, this.cancellationCleanupFailuresMutex11__1, this.cancellationCleanupFailures10__1, null), this);
|
|
4377
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4378
|
+
return suspendResult;
|
|
4379
|
+
}
|
|
4380
|
+
continue $sm;
|
|
4381
|
+
} else {
|
|
4382
|
+
throw this.exception_1;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
case 3:
|
|
4386
|
+
var rollbackFailures = suspendResult;
|
|
4387
|
+
var tmp_5 = this;
|
|
4388
|
+
throw new (IntegratedDocumentMutationCancellationException())('UPLOAD', this.$idempotencyKey_1, false, copyToArray(rollbackFailures), 'Integrated document upload was cancelled; prepared tickets were ' + ('rolled back for idempotency key ' + this.$idempotencyKey_1));
|
|
4389
|
+
case 4:
|
|
4390
|
+
this.exceptionState_1 = 9;
|
|
4391
|
+
this.results8__1 = this.TRY_RESULT9__1;
|
|
4392
|
+
var tmp_6 = this;
|
|
4393
|
+
var tmp0 = this.results8__1;
|
|
4394
|
+
var destination_0 = ArrayList_init_$Create$_0();
|
|
4395
|
+
var _iterator__ex2g4s_0 = tmp0.iterator_jk1svi_k$();
|
|
4396
|
+
while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
|
|
4397
|
+
var element = _iterator__ex2g4s_0.next_20eer_k$();
|
|
4398
|
+
var it = element.value_1;
|
|
4399
|
+
var tmp0_safe_receiver = Result__exceptionOrNull_impl_p6xea9(it);
|
|
4400
|
+
if (tmp0_safe_receiver == null)
|
|
4401
|
+
null;
|
|
4402
|
+
else {
|
|
4403
|
+
destination_0.add_utx5q5_k$(tmp0_safe_receiver);
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
tmp_6.failures0__1 = destination_0;
|
|
4408
|
+
if (!this.failures0__1.isEmpty_y1axqb_k$()) {
|
|
4409
|
+
this.this2__1 = this.completedTicketsMutex7__1;
|
|
4410
|
+
this.owner1__1 = null;
|
|
4411
|
+
this.state_1 = 7;
|
|
4412
|
+
suspendResult = this.this2__1.lock_ugrcvf_k$(this.owner1__1, this);
|
|
4413
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4414
|
+
return suspendResult;
|
|
4415
|
+
}
|
|
4416
|
+
continue $sm;
|
|
4417
|
+
} else {
|
|
4418
|
+
this.state_1 = 5;
|
|
4419
|
+
continue $sm;
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
case 5:
|
|
4423
|
+
var tmp_7 = this;
|
|
4424
|
+
var this_1 = this.results8__1;
|
|
4425
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
4426
|
+
var _iterator__ex2g4s_1 = this_1.iterator_jk1svi_k$();
|
|
4427
|
+
while (_iterator__ex2g4s_1.hasNext_bitz1p_k$()) {
|
|
4428
|
+
var item_0 = _iterator__ex2g4s_1.next_20eer_k$();
|
|
4429
|
+
var this_2 = item_0.value_1;
|
|
4430
|
+
throwOnFailure(this_2);
|
|
4431
|
+
destination_1.add_utx5q5_k$(_Result___get_value__impl__bjfvqg(this_2));
|
|
4432
|
+
}
|
|
4433
|
+
|
|
4434
|
+
tmp_7.ARGUMENT4__1 = destination_1;
|
|
4435
|
+
this.this6__1 = this.completedTicketsMutex7__1;
|
|
4436
|
+
this.owner5__1 = null;
|
|
4437
|
+
this.state_1 = 6;
|
|
4438
|
+
suspendResult = this.this6__1.lock_ugrcvf_k$(this.owner5__1, this);
|
|
4439
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4440
|
+
return suspendResult;
|
|
4441
|
+
}
|
|
4442
|
+
|
|
4443
|
+
continue $sm;
|
|
4444
|
+
case 6:
|
|
4445
|
+
var tmp$ret$2 = Unit_instance;
|
|
4446
|
+
l$ret$3: do {
|
|
4447
|
+
var tmp_8;
|
|
4448
|
+
try {
|
|
4449
|
+
tmp$ret$2 = toList(this.completedTickets3__1);
|
|
4450
|
+
break l$ret$3;
|
|
4451
|
+
} catch ($p) {
|
|
4452
|
+
var tmp_9;
|
|
4453
|
+
var t = $p;
|
|
4454
|
+
this.this6__1.unlock_ulcrcl_k$(this.owner5__1);
|
|
4455
|
+
throw t;
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
while (false);
|
|
4459
|
+
var tmp_10 = tmp$ret$2;
|
|
4460
|
+
this.this6__1.unlock_ulcrcl_k$(this.owner5__1);
|
|
4461
|
+
return new (PreparedDocuments())(this.ARGUMENT4__1, tmp_10);
|
|
4462
|
+
case 7:
|
|
4463
|
+
var tmp$ret$0 = Unit_instance;
|
|
4464
|
+
l$ret$1: do {
|
|
4465
|
+
var tmp_11;
|
|
4466
|
+
try {
|
|
4467
|
+
tmp$ret$0 = toList(this.completedTickets3__1);
|
|
4468
|
+
break l$ret$1;
|
|
4469
|
+
} catch ($p_0) {
|
|
4470
|
+
var tmp_12;
|
|
4471
|
+
var t_0 = $p_0;
|
|
4472
|
+
this.this2__1.unlock_ulcrcl_k$(this.owner1__1);
|
|
4473
|
+
throw t_0;
|
|
4474
|
+
}
|
|
4475
|
+
}
|
|
4476
|
+
while (false);
|
|
4477
|
+
var tmp_13 = tmp$ret$0;
|
|
4478
|
+
this.this2__1.unlock_ulcrcl_k$(this.owner1__1);
|
|
4479
|
+
var tickets = tmp_13;
|
|
4480
|
+
this.state_1 = 8;
|
|
4481
|
+
suspendResult = rollback(this.this$0__1, this.$companyId_1, tickets, this);
|
|
4482
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4483
|
+
return suspendResult;
|
|
4484
|
+
}
|
|
4485
|
+
|
|
4486
|
+
continue $sm;
|
|
4487
|
+
case 8:
|
|
4488
|
+
var ARGUMENT = suspendResult;
|
|
4489
|
+
var tmp0_0 = this.failures0__1;
|
|
4490
|
+
var destination_2 = ArrayList_init_$Create$_0();
|
|
4491
|
+
var _iterator__ex2g4s_2 = tmp0_0.iterator_jk1svi_k$();
|
|
4492
|
+
while (_iterator__ex2g4s_2.hasNext_bitz1p_k$()) {
|
|
4493
|
+
var element_0 = _iterator__ex2g4s_2.next_20eer_k$();
|
|
4494
|
+
var tmp0_safe_receiver_0 = element_0 instanceof DocumentTicketUploadException() ? element_0 : null;
|
|
4495
|
+
var tmp_14;
|
|
4496
|
+
if (tmp0_safe_receiver_0 == null) {
|
|
4497
|
+
tmp_14 = null;
|
|
4498
|
+
} else {
|
|
4499
|
+
var tmp0_safe_receiver_1 = tmp0_safe_receiver_0.cleanupFailure_1;
|
|
4500
|
+
var tmp_15;
|
|
4501
|
+
if (tmp0_safe_receiver_1 == null) {
|
|
4502
|
+
tmp_15 = null;
|
|
4503
|
+
} else {
|
|
4504
|
+
tmp_15 = tmp0_safe_receiver_0.ticketId_1 + ': ' + tmp0_safe_receiver_1;
|
|
4505
|
+
}
|
|
4506
|
+
tmp_14 = tmp_15;
|
|
4507
|
+
}
|
|
4508
|
+
var tmp0_safe_receiver_2 = tmp_14;
|
|
4509
|
+
if (tmp0_safe_receiver_2 == null)
|
|
4510
|
+
null;
|
|
4511
|
+
else {
|
|
4512
|
+
destination_2.add_utx5q5_k$(tmp0_safe_receiver_2);
|
|
4513
|
+
}
|
|
4514
|
+
}
|
|
4515
|
+
|
|
4516
|
+
var rollbackFailures_0 = plus(ARGUMENT, destination_2);
|
|
4517
|
+
var tmp_16 = copyToArray(rollbackFailures_0);
|
|
4518
|
+
throw new (IntegratedDocumentMutationException())('UPLOAD', this.$idempotencyKey_1, false, tmp_16, 'Could not prepare integrated documents: ' + joinToString(this.failures0__1, VOID, VOID, VOID, VOID, VOID, IntegratedDocumentMutation$prepareDocuments$slambda$lambda));
|
|
4519
|
+
case 9:
|
|
4520
|
+
throw this.exception_1;
|
|
4521
|
+
}
|
|
4522
|
+
} catch ($p_1) {
|
|
4523
|
+
var e = $p_1;
|
|
4524
|
+
if (this.exceptionState_1 === 9) {
|
|
4525
|
+
throw e;
|
|
4526
|
+
} else {
|
|
4527
|
+
this.state_1 = this.exceptionState_1;
|
|
4528
|
+
this.exception_1 = e;
|
|
4529
|
+
}
|
|
4530
|
+
}
|
|
4531
|
+
while (true);
|
|
4532
|
+
};
|
|
4533
|
+
protoOf($).create_rcuf4x_k$ = function ($this$supervisorScope, completion) {
|
|
4534
|
+
var i = new (IntegratedDocumentMutation$prepareDocuments$slambda())(this.$requestedDocuments_1, this.$idempotencyKey_1, this.this$0__1, this.$companyId_1, this.$onUploadProgress_1, completion);
|
|
4535
|
+
i.$this$supervisorScope_1 = $this$supervisorScope;
|
|
4536
|
+
return i;
|
|
4537
|
+
};
|
|
4538
|
+
IntegratedDocumentMutation$prepareDocuments$slambdaClass = $;
|
|
4539
|
+
}
|
|
4540
|
+
return IntegratedDocumentMutation$prepareDocuments$slambdaClass;
|
|
4541
|
+
}
|
|
4542
|
+
function IntegratedDocumentMutation$prepareDocuments$slambda_0($requestedDocuments, $idempotencyKey, this$0, $companyId, $onUploadProgress, resultContinuation) {
|
|
4543
|
+
var i = new (IntegratedDocumentMutation$prepareDocuments$slambda())($requestedDocuments, $idempotencyKey, this$0, $companyId, $onUploadProgress, resultContinuation);
|
|
4544
|
+
return constructCallableReference(function ($this$supervisorScope, $completion) {
|
|
4545
|
+
return i.invoke_q0y815_k$($this$supervisorScope, $completion);
|
|
4546
|
+
}, 1);
|
|
4547
|
+
}
|
|
4548
|
+
var IntegratedDocumentMutation$rollback$slambdaClass;
|
|
4549
|
+
function IntegratedDocumentMutation$rollback$slambda() {
|
|
4550
|
+
if (IntegratedDocumentMutation$rollback$slambdaClass === VOID) {
|
|
4551
|
+
initMetadataForLambda($, CoroutineImpl(), VOID, [1]);
|
|
4552
|
+
function $($tickets, this$0, $companyId, resultContinuation) {
|
|
4553
|
+
this.$tickets_1 = $tickets;
|
|
4554
|
+
this.this$0__1 = this$0;
|
|
4555
|
+
this.$companyId_1 = $companyId;
|
|
4556
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4557
|
+
}
|
|
4558
|
+
protoOf($).invoke_hf666l_k$ = function ($this$withContext, $completion) {
|
|
4559
|
+
var tmp = this.create_rcuf4x_k$($this$withContext, $completion);
|
|
4560
|
+
tmp.result_1 = Unit_instance;
|
|
4561
|
+
tmp.exception_1 = null;
|
|
4562
|
+
return tmp.doResume_5yljmg_k$();
|
|
4563
|
+
};
|
|
4564
|
+
protoOf($).invoke_qns8j1_k$ = function (p1, $completion) {
|
|
4565
|
+
return this.invoke_hf666l_k$((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
4566
|
+
};
|
|
4567
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4568
|
+
var suspendResult = this.result_1;
|
|
4569
|
+
$sm: do
|
|
4570
|
+
try {
|
|
4571
|
+
var tmp = this.state_1;
|
|
4572
|
+
switch (tmp) {
|
|
4573
|
+
case 0:
|
|
4574
|
+
this.exceptionState_1 = 2;
|
|
4575
|
+
this.state_1 = 1;
|
|
4576
|
+
suspendResult = coroutineScope(IntegratedDocumentMutation$rollback$slambda$slambda_0(this.$tickets_1, this.this$0__1, this.$companyId_1, null), this);
|
|
4577
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4578
|
+
return suspendResult;
|
|
4579
|
+
}
|
|
4580
|
+
|
|
4581
|
+
continue $sm;
|
|
4582
|
+
case 1:
|
|
4583
|
+
return suspendResult;
|
|
4584
|
+
case 2:
|
|
4585
|
+
throw this.exception_1;
|
|
4586
|
+
}
|
|
4587
|
+
} catch ($p) {
|
|
4588
|
+
var e = $p;
|
|
4589
|
+
if (this.exceptionState_1 === 2) {
|
|
4590
|
+
throw e;
|
|
4591
|
+
} else {
|
|
4592
|
+
this.state_1 = this.exceptionState_1;
|
|
4593
|
+
this.exception_1 = e;
|
|
4594
|
+
}
|
|
4595
|
+
}
|
|
4596
|
+
while (true);
|
|
4597
|
+
};
|
|
4598
|
+
protoOf($).create_rcuf4x_k$ = function ($this$withContext, completion) {
|
|
4599
|
+
var i = new (IntegratedDocumentMutation$rollback$slambda())(this.$tickets_1, this.this$0__1, this.$companyId_1, completion);
|
|
4600
|
+
i.$this$withContext_1 = $this$withContext;
|
|
4601
|
+
return i;
|
|
4602
|
+
};
|
|
4603
|
+
IntegratedDocumentMutation$rollback$slambdaClass = $;
|
|
4604
|
+
}
|
|
4605
|
+
return IntegratedDocumentMutation$rollback$slambdaClass;
|
|
4606
|
+
}
|
|
4607
|
+
function IntegratedDocumentMutation$rollback$slambda_0($tickets, this$0, $companyId, resultContinuation) {
|
|
4608
|
+
var i = new (IntegratedDocumentMutation$rollback$slambda())($tickets, this$0, $companyId, resultContinuation);
|
|
4609
|
+
return constructCallableReference(function ($this$withContext, $completion) {
|
|
4610
|
+
return i.invoke_hf666l_k$($this$withContext, $completion);
|
|
4611
|
+
}, 1);
|
|
4612
|
+
}
|
|
4613
|
+
var $createHomepagePost$suspendBridgeCOROUTINE$Class;
|
|
4614
|
+
function $createHomepagePost$suspendBridgeCOROUTINE$() {
|
|
4615
|
+
if ($createHomepagePost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4616
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4617
|
+
function $(_this__u8e3s4, companyId, command, image, attachments, inlineDocuments, purchaseBundleId, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4618
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4619
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4620
|
+
this.companyId_1 = companyId;
|
|
4621
|
+
this.command_1 = command;
|
|
4622
|
+
this.image_1 = image;
|
|
4623
|
+
this.attachments_1 = attachments;
|
|
4624
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4625
|
+
this.purchaseBundleId_1 = purchaseBundleId;
|
|
4626
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4627
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4628
|
+
}
|
|
4629
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4630
|
+
var suspendResult = this.result_1;
|
|
4631
|
+
$sm: do
|
|
4632
|
+
try {
|
|
4633
|
+
var tmp = this.state_1;
|
|
4634
|
+
switch (tmp) {
|
|
4635
|
+
case 0:
|
|
4636
|
+
this.exceptionState_1 = 4;
|
|
4637
|
+
if (this._this__u8e3s4__1.createHomepagePost === protoOf(IntegratedDocumentMutation()).createHomepagePost) {
|
|
4638
|
+
this.state_1 = 2;
|
|
4639
|
+
suspendResult = this._this__u8e3s4__1.createHomepagePost$default_rv9f5n_k$(this.companyId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4640
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4641
|
+
return suspendResult;
|
|
4642
|
+
}
|
|
4643
|
+
continue $sm;
|
|
4644
|
+
} else {
|
|
4645
|
+
this.state_1 = 1;
|
|
4646
|
+
suspendResult = await_0(this._this__u8e3s4__1.createHomepagePost(this.companyId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4647
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4648
|
+
return suspendResult;
|
|
4649
|
+
}
|
|
4650
|
+
continue $sm;
|
|
4651
|
+
}
|
|
4652
|
+
|
|
4653
|
+
case 1:
|
|
4654
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4655
|
+
this.state_1 = 3;
|
|
4656
|
+
continue $sm;
|
|
4657
|
+
case 2:
|
|
4658
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4659
|
+
this.state_1 = 3;
|
|
4660
|
+
continue $sm;
|
|
4661
|
+
case 3:
|
|
4662
|
+
return this.WHEN_RESULT0__1;
|
|
4663
|
+
case 4:
|
|
4664
|
+
throw this.exception_1;
|
|
4665
|
+
}
|
|
4666
|
+
} catch ($p) {
|
|
4667
|
+
var e = $p;
|
|
4668
|
+
if (this.exceptionState_1 === 4) {
|
|
4669
|
+
throw e;
|
|
4670
|
+
} else {
|
|
4671
|
+
this.state_1 = this.exceptionState_1;
|
|
4672
|
+
this.exception_1 = e;
|
|
4673
|
+
}
|
|
4674
|
+
}
|
|
4675
|
+
while (true);
|
|
4676
|
+
};
|
|
4677
|
+
$createHomepagePost$suspendBridgeCOROUTINE$Class = $;
|
|
4678
|
+
}
|
|
4679
|
+
return $createHomepagePost$suspendBridgeCOROUTINE$Class;
|
|
4680
|
+
}
|
|
4681
|
+
var $updateHomepagePost$suspendBridgeCOROUTINE$Class;
|
|
4682
|
+
function $updateHomepagePost$suspendBridgeCOROUTINE$() {
|
|
4683
|
+
if ($updateHomepagePost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4684
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4685
|
+
function $(_this__u8e3s4, companyId, postId, command, image, attachments, inlineDocuments, removeDocumentIds, publishChanges, purchaseBundleId, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4686
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4687
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4688
|
+
this.companyId_1 = companyId;
|
|
4689
|
+
this.postId_1 = postId;
|
|
4690
|
+
this.command_1 = command;
|
|
4691
|
+
this.image_1 = image;
|
|
4692
|
+
this.attachments_1 = attachments;
|
|
4693
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4694
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4695
|
+
this.publishChanges_1 = publishChanges;
|
|
4696
|
+
this.purchaseBundleId_1 = purchaseBundleId;
|
|
4697
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4698
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4699
|
+
}
|
|
4700
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4701
|
+
var suspendResult = this.result_1;
|
|
4702
|
+
$sm: do
|
|
4703
|
+
try {
|
|
4704
|
+
var tmp = this.state_1;
|
|
4705
|
+
switch (tmp) {
|
|
4706
|
+
case 0:
|
|
4707
|
+
this.exceptionState_1 = 4;
|
|
4708
|
+
if (this._this__u8e3s4__1.updateHomepagePost === protoOf(IntegratedDocumentMutation()).updateHomepagePost) {
|
|
4709
|
+
this.state_1 = 2;
|
|
4710
|
+
suspendResult = this._this__u8e3s4__1.updateHomepagePost$default_3czkvc_k$(this.companyId_1, this.postId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.publishChanges_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4711
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4712
|
+
return suspendResult;
|
|
4713
|
+
}
|
|
4714
|
+
continue $sm;
|
|
4715
|
+
} else {
|
|
4716
|
+
this.state_1 = 1;
|
|
4717
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateHomepagePost(this.companyId_1, this.postId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.publishChanges_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4718
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4719
|
+
return suspendResult;
|
|
4720
|
+
}
|
|
4721
|
+
continue $sm;
|
|
4722
|
+
}
|
|
4723
|
+
|
|
4724
|
+
case 1:
|
|
4725
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4726
|
+
this.state_1 = 3;
|
|
4727
|
+
continue $sm;
|
|
4728
|
+
case 2:
|
|
4729
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4730
|
+
this.state_1 = 3;
|
|
4731
|
+
continue $sm;
|
|
4732
|
+
case 3:
|
|
4733
|
+
return this.WHEN_RESULT0__1;
|
|
4734
|
+
case 4:
|
|
4735
|
+
throw this.exception_1;
|
|
4736
|
+
}
|
|
4737
|
+
} catch ($p) {
|
|
4738
|
+
var e = $p;
|
|
4739
|
+
if (this.exceptionState_1 === 4) {
|
|
4740
|
+
throw e;
|
|
4741
|
+
} else {
|
|
4742
|
+
this.state_1 = this.exceptionState_1;
|
|
4743
|
+
this.exception_1 = e;
|
|
4744
|
+
}
|
|
4745
|
+
}
|
|
4746
|
+
while (true);
|
|
4747
|
+
};
|
|
4748
|
+
$updateHomepagePost$suspendBridgeCOROUTINE$Class = $;
|
|
4749
|
+
}
|
|
4750
|
+
return $updateHomepagePost$suspendBridgeCOROUTINE$Class;
|
|
4751
|
+
}
|
|
4752
|
+
var $createPracticalInformation$suspendBridgeCOROUTINE$Class;
|
|
4753
|
+
function $createPracticalInformation$suspendBridgeCOROUTINE$() {
|
|
4754
|
+
if ($createPracticalInformation$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4755
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4756
|
+
function $(_this__u8e3s4, companyId, command, image, attachments, inlineDocuments, purchaseBundleId, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4757
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4758
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4759
|
+
this.companyId_1 = companyId;
|
|
4760
|
+
this.command_1 = command;
|
|
4761
|
+
this.image_1 = image;
|
|
4762
|
+
this.attachments_1 = attachments;
|
|
4763
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4764
|
+
this.purchaseBundleId_1 = purchaseBundleId;
|
|
4765
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4766
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4767
|
+
}
|
|
4768
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4769
|
+
var suspendResult = this.result_1;
|
|
4770
|
+
$sm: do
|
|
4771
|
+
try {
|
|
4772
|
+
var tmp = this.state_1;
|
|
4773
|
+
switch (tmp) {
|
|
4774
|
+
case 0:
|
|
4775
|
+
this.exceptionState_1 = 4;
|
|
4776
|
+
if (this._this__u8e3s4__1.createPracticalInformation === protoOf(IntegratedDocumentMutation()).createPracticalInformation) {
|
|
4777
|
+
this.state_1 = 2;
|
|
4778
|
+
suspendResult = this._this__u8e3s4__1.createPracticalInformation$default_48a06q_k$(this.companyId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4779
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4780
|
+
return suspendResult;
|
|
4781
|
+
}
|
|
4782
|
+
continue $sm;
|
|
4783
|
+
} else {
|
|
4784
|
+
this.state_1 = 1;
|
|
4785
|
+
suspendResult = await_0(this._this__u8e3s4__1.createPracticalInformation(this.companyId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4786
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4787
|
+
return suspendResult;
|
|
4788
|
+
}
|
|
4789
|
+
continue $sm;
|
|
4790
|
+
}
|
|
4791
|
+
|
|
4792
|
+
case 1:
|
|
4793
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4794
|
+
this.state_1 = 3;
|
|
4795
|
+
continue $sm;
|
|
4796
|
+
case 2:
|
|
4797
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4798
|
+
this.state_1 = 3;
|
|
4799
|
+
continue $sm;
|
|
4800
|
+
case 3:
|
|
4801
|
+
return this.WHEN_RESULT0__1;
|
|
4802
|
+
case 4:
|
|
4803
|
+
throw this.exception_1;
|
|
4804
|
+
}
|
|
4805
|
+
} catch ($p) {
|
|
4806
|
+
var e = $p;
|
|
4807
|
+
if (this.exceptionState_1 === 4) {
|
|
4808
|
+
throw e;
|
|
4809
|
+
} else {
|
|
4810
|
+
this.state_1 = this.exceptionState_1;
|
|
4811
|
+
this.exception_1 = e;
|
|
4812
|
+
}
|
|
4813
|
+
}
|
|
4814
|
+
while (true);
|
|
4815
|
+
};
|
|
4816
|
+
$createPracticalInformation$suspendBridgeCOROUTINE$Class = $;
|
|
4817
|
+
}
|
|
4818
|
+
return $createPracticalInformation$suspendBridgeCOROUTINE$Class;
|
|
4819
|
+
}
|
|
4820
|
+
var $updatePracticalInformation$suspendBridgeCOROUTINE$Class;
|
|
4821
|
+
function $updatePracticalInformation$suspendBridgeCOROUTINE$() {
|
|
4822
|
+
if ($updatePracticalInformation$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4823
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4824
|
+
function $(_this__u8e3s4, companyId, practicalInformationId, command, image, attachments, inlineDocuments, removeDocumentIds, publishChanges, purchaseBundleId, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4825
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4826
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4827
|
+
this.companyId_1 = companyId;
|
|
4828
|
+
this.practicalInformationId_1 = practicalInformationId;
|
|
4829
|
+
this.command_1 = command;
|
|
4830
|
+
this.image_1 = image;
|
|
4831
|
+
this.attachments_1 = attachments;
|
|
4832
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4833
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4834
|
+
this.publishChanges_1 = publishChanges;
|
|
4835
|
+
this.purchaseBundleId_1 = purchaseBundleId;
|
|
4836
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4837
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4838
|
+
}
|
|
4839
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4840
|
+
var suspendResult = this.result_1;
|
|
4841
|
+
$sm: do
|
|
4842
|
+
try {
|
|
4843
|
+
var tmp = this.state_1;
|
|
4844
|
+
switch (tmp) {
|
|
4845
|
+
case 0:
|
|
4846
|
+
this.exceptionState_1 = 4;
|
|
4847
|
+
if (this._this__u8e3s4__1.updatePracticalInformation === protoOf(IntegratedDocumentMutation()).updatePracticalInformation) {
|
|
4848
|
+
this.state_1 = 2;
|
|
4849
|
+
suspendResult = this._this__u8e3s4__1.updatePracticalInformation$default_a4pbfl_k$(this.companyId_1, this.practicalInformationId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.publishChanges_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4850
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4851
|
+
return suspendResult;
|
|
4852
|
+
}
|
|
4853
|
+
continue $sm;
|
|
4854
|
+
} else {
|
|
4855
|
+
this.state_1 = 1;
|
|
4856
|
+
suspendResult = await_0(this._this__u8e3s4__1.updatePracticalInformation(this.companyId_1, this.practicalInformationId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.publishChanges_1, this.purchaseBundleId_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4857
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4858
|
+
return suspendResult;
|
|
4859
|
+
}
|
|
4860
|
+
continue $sm;
|
|
4861
|
+
}
|
|
4862
|
+
|
|
4863
|
+
case 1:
|
|
4864
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4865
|
+
this.state_1 = 3;
|
|
4866
|
+
continue $sm;
|
|
4867
|
+
case 2:
|
|
4868
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4869
|
+
this.state_1 = 3;
|
|
4870
|
+
continue $sm;
|
|
4871
|
+
case 3:
|
|
4872
|
+
return this.WHEN_RESULT0__1;
|
|
4873
|
+
case 4:
|
|
4874
|
+
throw this.exception_1;
|
|
4875
|
+
}
|
|
4876
|
+
} catch ($p) {
|
|
4877
|
+
var e = $p;
|
|
4878
|
+
if (this.exceptionState_1 === 4) {
|
|
4879
|
+
throw e;
|
|
4880
|
+
} else {
|
|
4881
|
+
this.state_1 = this.exceptionState_1;
|
|
4882
|
+
this.exception_1 = e;
|
|
4883
|
+
}
|
|
4884
|
+
}
|
|
4885
|
+
while (true);
|
|
4886
|
+
};
|
|
4887
|
+
$updatePracticalInformation$suspendBridgeCOROUTINE$Class = $;
|
|
4888
|
+
}
|
|
4889
|
+
return $updatePracticalInformation$suspendBridgeCOROUTINE$Class;
|
|
4890
|
+
}
|
|
4891
|
+
var $createNewsletter$suspendBridgeCOROUTINE$Class;
|
|
4892
|
+
function $createNewsletter$suspendBridgeCOROUTINE$() {
|
|
4893
|
+
if ($createNewsletter$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4894
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4895
|
+
function $(_this__u8e3s4, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4896
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4897
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4898
|
+
this.companyId_1 = companyId;
|
|
4899
|
+
this.command_1 = command;
|
|
4900
|
+
this.attachments_1 = attachments;
|
|
4901
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4902
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4903
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4904
|
+
}
|
|
4905
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4906
|
+
var suspendResult = this.result_1;
|
|
4907
|
+
$sm: do
|
|
4908
|
+
try {
|
|
4909
|
+
var tmp = this.state_1;
|
|
4910
|
+
switch (tmp) {
|
|
4911
|
+
case 0:
|
|
4912
|
+
this.exceptionState_1 = 4;
|
|
4913
|
+
if (this._this__u8e3s4__1.createNewsletter === protoOf(IntegratedDocumentMutation()).createNewsletter) {
|
|
4914
|
+
this.state_1 = 2;
|
|
4915
|
+
suspendResult = this._this__u8e3s4__1.createNewsletter$default_dw37dm_k$(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4916
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4917
|
+
return suspendResult;
|
|
4918
|
+
}
|
|
4919
|
+
continue $sm;
|
|
4920
|
+
} else {
|
|
4921
|
+
this.state_1 = 1;
|
|
4922
|
+
suspendResult = await_0(this._this__u8e3s4__1.createNewsletter(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4923
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4924
|
+
return suspendResult;
|
|
4925
|
+
}
|
|
4926
|
+
continue $sm;
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
case 1:
|
|
4930
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4931
|
+
this.state_1 = 3;
|
|
4932
|
+
continue $sm;
|
|
4933
|
+
case 2:
|
|
4934
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4935
|
+
this.state_1 = 3;
|
|
4936
|
+
continue $sm;
|
|
4937
|
+
case 3:
|
|
4938
|
+
return this.WHEN_RESULT0__1;
|
|
4939
|
+
case 4:
|
|
4940
|
+
throw this.exception_1;
|
|
4941
|
+
}
|
|
4942
|
+
} catch ($p) {
|
|
4943
|
+
var e = $p;
|
|
4944
|
+
if (this.exceptionState_1 === 4) {
|
|
4945
|
+
throw e;
|
|
4946
|
+
} else {
|
|
4947
|
+
this.state_1 = this.exceptionState_1;
|
|
4948
|
+
this.exception_1 = e;
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4951
|
+
while (true);
|
|
4952
|
+
};
|
|
4953
|
+
$createNewsletter$suspendBridgeCOROUTINE$Class = $;
|
|
4954
|
+
}
|
|
4955
|
+
return $createNewsletter$suspendBridgeCOROUTINE$Class;
|
|
4956
|
+
}
|
|
4957
|
+
var $updateNewsletter$suspendBridgeCOROUTINE$Class;
|
|
4958
|
+
function $updateNewsletter$suspendBridgeCOROUTINE$() {
|
|
4959
|
+
if ($updateNewsletter$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4960
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4961
|
+
function $(_this__u8e3s4, companyId, newsletterId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4962
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4963
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4964
|
+
this.companyId_1 = companyId;
|
|
4965
|
+
this.newsletterId_1 = newsletterId;
|
|
4966
|
+
this.command_1 = command;
|
|
4967
|
+
this.attachments_1 = attachments;
|
|
4968
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
4969
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4970
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
4971
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
4972
|
+
}
|
|
4973
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4974
|
+
var suspendResult = this.result_1;
|
|
4975
|
+
$sm: do
|
|
4976
|
+
try {
|
|
4977
|
+
var tmp = this.state_1;
|
|
4978
|
+
switch (tmp) {
|
|
4979
|
+
case 0:
|
|
4980
|
+
this.exceptionState_1 = 4;
|
|
4981
|
+
if (this._this__u8e3s4__1.updateNewsletter === protoOf(IntegratedDocumentMutation()).updateNewsletter) {
|
|
4982
|
+
this.state_1 = 2;
|
|
4983
|
+
suspendResult = this._this__u8e3s4__1.updateNewsletter$default_ekn1a9_k$(this.companyId_1, this.newsletterId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4984
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4985
|
+
return suspendResult;
|
|
4986
|
+
}
|
|
4987
|
+
continue $sm;
|
|
4988
|
+
} else {
|
|
4989
|
+
this.state_1 = 1;
|
|
4990
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateNewsletter(this.companyId_1, this.newsletterId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4991
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4992
|
+
return suspendResult;
|
|
4993
|
+
}
|
|
4994
|
+
continue $sm;
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
case 1:
|
|
4998
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4999
|
+
this.state_1 = 3;
|
|
5000
|
+
continue $sm;
|
|
5001
|
+
case 2:
|
|
5002
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5003
|
+
this.state_1 = 3;
|
|
5004
|
+
continue $sm;
|
|
5005
|
+
case 3:
|
|
5006
|
+
return this.WHEN_RESULT0__1;
|
|
5007
|
+
case 4:
|
|
5008
|
+
throw this.exception_1;
|
|
5009
|
+
}
|
|
5010
|
+
} catch ($p) {
|
|
5011
|
+
var e = $p;
|
|
5012
|
+
if (this.exceptionState_1 === 4) {
|
|
5013
|
+
throw e;
|
|
5014
|
+
} else {
|
|
5015
|
+
this.state_1 = this.exceptionState_1;
|
|
5016
|
+
this.exception_1 = e;
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
while (true);
|
|
5020
|
+
};
|
|
5021
|
+
$updateNewsletter$suspendBridgeCOROUTINE$Class = $;
|
|
5022
|
+
}
|
|
5023
|
+
return $updateNewsletter$suspendBridgeCOROUTINE$Class;
|
|
5024
|
+
}
|
|
5025
|
+
var $createConversationMessage$suspendBridgeCOROUTINE$Class;
|
|
5026
|
+
function $createConversationMessage$suspendBridgeCOROUTINE$() {
|
|
5027
|
+
if ($createConversationMessage$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5028
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5029
|
+
function $(_this__u8e3s4, companyId, conversationId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5030
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5031
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5032
|
+
this.companyId_1 = companyId;
|
|
5033
|
+
this.conversationId_1 = conversationId;
|
|
5034
|
+
this.command_1 = command;
|
|
5035
|
+
this.attachments_1 = attachments;
|
|
5036
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5037
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5038
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5039
|
+
}
|
|
5040
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5041
|
+
var suspendResult = this.result_1;
|
|
5042
|
+
$sm: do
|
|
5043
|
+
try {
|
|
5044
|
+
var tmp = this.state_1;
|
|
5045
|
+
switch (tmp) {
|
|
5046
|
+
case 0:
|
|
5047
|
+
this.exceptionState_1 = 4;
|
|
5048
|
+
if (this._this__u8e3s4__1.createConversationMessage === protoOf(IntegratedDocumentMutation()).createConversationMessage) {
|
|
5049
|
+
this.state_1 = 2;
|
|
5050
|
+
suspendResult = this._this__u8e3s4__1.createConversationMessage$default_wypttt_k$(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5051
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5052
|
+
return suspendResult;
|
|
5053
|
+
}
|
|
5054
|
+
continue $sm;
|
|
5055
|
+
} else {
|
|
5056
|
+
this.state_1 = 1;
|
|
5057
|
+
suspendResult = await_0(this._this__u8e3s4__1.createConversationMessage(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5058
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5059
|
+
return suspendResult;
|
|
5060
|
+
}
|
|
5061
|
+
continue $sm;
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
case 1:
|
|
5065
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5066
|
+
this.state_1 = 3;
|
|
5067
|
+
continue $sm;
|
|
5068
|
+
case 2:
|
|
5069
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5070
|
+
this.state_1 = 3;
|
|
5071
|
+
continue $sm;
|
|
5072
|
+
case 3:
|
|
5073
|
+
return this.WHEN_RESULT0__1;
|
|
5074
|
+
case 4:
|
|
5075
|
+
throw this.exception_1;
|
|
5076
|
+
}
|
|
5077
|
+
} catch ($p) {
|
|
5078
|
+
var e = $p;
|
|
5079
|
+
if (this.exceptionState_1 === 4) {
|
|
5080
|
+
throw e;
|
|
5081
|
+
} else {
|
|
5082
|
+
this.state_1 = this.exceptionState_1;
|
|
5083
|
+
this.exception_1 = e;
|
|
5084
|
+
}
|
|
5085
|
+
}
|
|
5086
|
+
while (true);
|
|
5087
|
+
};
|
|
5088
|
+
$createConversationMessage$suspendBridgeCOROUTINE$Class = $;
|
|
5089
|
+
}
|
|
5090
|
+
return $createConversationMessage$suspendBridgeCOROUTINE$Class;
|
|
5091
|
+
}
|
|
5092
|
+
var $createConversationInternalMessage$suspendBridgeCOROUTINE$Class;
|
|
5093
|
+
function $createConversationInternalMessage$suspendBridgeCOROUTINE$() {
|
|
5094
|
+
if ($createConversationInternalMessage$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5095
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5096
|
+
function $(_this__u8e3s4, companyId, conversationId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5097
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5098
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5099
|
+
this.companyId_1 = companyId;
|
|
5100
|
+
this.conversationId_1 = conversationId;
|
|
5101
|
+
this.command_1 = command;
|
|
5102
|
+
this.attachments_1 = attachments;
|
|
5103
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5104
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5105
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5106
|
+
}
|
|
5107
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5108
|
+
var suspendResult = this.result_1;
|
|
5109
|
+
$sm: do
|
|
5110
|
+
try {
|
|
5111
|
+
var tmp = this.state_1;
|
|
5112
|
+
switch (tmp) {
|
|
5113
|
+
case 0:
|
|
5114
|
+
this.exceptionState_1 = 4;
|
|
5115
|
+
if (this._this__u8e3s4__1.createConversationInternalMessage === protoOf(IntegratedDocumentMutation()).createConversationInternalMessage) {
|
|
5116
|
+
this.state_1 = 2;
|
|
5117
|
+
suspendResult = this._this__u8e3s4__1.createConversationInternalMessage$default_a0wtzz_k$(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5118
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5119
|
+
return suspendResult;
|
|
5120
|
+
}
|
|
5121
|
+
continue $sm;
|
|
5122
|
+
} else {
|
|
5123
|
+
this.state_1 = 1;
|
|
5124
|
+
suspendResult = await_0(this._this__u8e3s4__1.createConversationInternalMessage(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5125
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5126
|
+
return suspendResult;
|
|
5127
|
+
}
|
|
5128
|
+
continue $sm;
|
|
5129
|
+
}
|
|
5130
|
+
|
|
5131
|
+
case 1:
|
|
5132
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5133
|
+
this.state_1 = 3;
|
|
5134
|
+
continue $sm;
|
|
5135
|
+
case 2:
|
|
5136
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5137
|
+
this.state_1 = 3;
|
|
5138
|
+
continue $sm;
|
|
5139
|
+
case 3:
|
|
5140
|
+
return this.WHEN_RESULT0__1;
|
|
5141
|
+
case 4:
|
|
5142
|
+
throw this.exception_1;
|
|
5143
|
+
}
|
|
5144
|
+
} catch ($p) {
|
|
5145
|
+
var e = $p;
|
|
5146
|
+
if (this.exceptionState_1 === 4) {
|
|
5147
|
+
throw e;
|
|
5148
|
+
} else {
|
|
5149
|
+
this.state_1 = this.exceptionState_1;
|
|
5150
|
+
this.exception_1 = e;
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
while (true);
|
|
5154
|
+
};
|
|
5155
|
+
$createConversationInternalMessage$suspendBridgeCOROUTINE$Class = $;
|
|
5156
|
+
}
|
|
5157
|
+
return $createConversationInternalMessage$suspendBridgeCOROUTINE$Class;
|
|
5158
|
+
}
|
|
5159
|
+
var $createConversationCOROUTINE$Class;
|
|
5160
|
+
function $createConversationCOROUTINE$() {
|
|
5161
|
+
if ($createConversationCOROUTINE$Class === VOID) {
|
|
5162
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5163
|
+
function $(_this__u8e3s4, companyId, command, attachments, onUploadProgress, inlineDocuments, idempotencyKey, resultContinuation) {
|
|
5164
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5165
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5166
|
+
this.companyId_1 = companyId;
|
|
5167
|
+
this.command_1 = command;
|
|
5168
|
+
this.attachments_1 = attachments;
|
|
5169
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5170
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5171
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5172
|
+
}
|
|
5173
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5174
|
+
var suspendResult = this.result_1;
|
|
5175
|
+
$sm: do
|
|
5176
|
+
try {
|
|
5177
|
+
var tmp = this.state_1;
|
|
5178
|
+
switch (tmp) {
|
|
5179
|
+
case 0:
|
|
5180
|
+
this.exceptionState_1 = 2;
|
|
5181
|
+
this.state_1 = 1;
|
|
5182
|
+
var tmp_0 = requestedDocuments(this._this__u8e3s4__1, null, this.attachments_1, this.inlineDocuments_1);
|
|
5183
|
+
suspendResult = execute(this._this__u8e3s4__1, this.companyId_1, this.idempotencyKey_1, tmp_0, this.onUploadProgress_1, IntegratedDocumentMutation$createConversation$slambda_0(this._this__u8e3s4__1, this.companyId_1, this.command_1, null), this);
|
|
5184
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5185
|
+
return suspendResult;
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
continue $sm;
|
|
5189
|
+
case 1:
|
|
5190
|
+
var result = suspendResult;
|
|
5191
|
+
return new (CreateConversationWithDocumentsResult())(result.resource, result.documents.documents);
|
|
5192
|
+
case 2:
|
|
5193
|
+
throw this.exception_1;
|
|
5194
|
+
}
|
|
5195
|
+
} catch ($p) {
|
|
5196
|
+
var e = $p;
|
|
5197
|
+
if (this.exceptionState_1 === 2) {
|
|
5198
|
+
throw e;
|
|
5199
|
+
} else {
|
|
5200
|
+
this.state_1 = this.exceptionState_1;
|
|
5201
|
+
this.exception_1 = e;
|
|
5202
|
+
}
|
|
5203
|
+
}
|
|
5204
|
+
while (true);
|
|
5205
|
+
};
|
|
5206
|
+
$createConversationCOROUTINE$Class = $;
|
|
5207
|
+
}
|
|
5208
|
+
return $createConversationCOROUTINE$Class;
|
|
5209
|
+
}
|
|
5210
|
+
var $createConversation$suspendBridgeCOROUTINE$Class;
|
|
5211
|
+
function $createConversation$suspendBridgeCOROUTINE$() {
|
|
5212
|
+
if ($createConversation$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5213
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5214
|
+
function $(_this__u8e3s4, companyId, command, attachments, onUploadProgress, inlineDocuments, idempotencyKey, resultContinuation) {
|
|
5215
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5216
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5217
|
+
this.companyId_1 = companyId;
|
|
5218
|
+
this.command_1 = command;
|
|
5219
|
+
this.attachments_1 = attachments;
|
|
5220
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5221
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5222
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5223
|
+
}
|
|
5224
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5225
|
+
var suspendResult = this.result_1;
|
|
5226
|
+
$sm: do
|
|
5227
|
+
try {
|
|
5228
|
+
var tmp = this.state_1;
|
|
5229
|
+
switch (tmp) {
|
|
5230
|
+
case 0:
|
|
5231
|
+
this.exceptionState_1 = 4;
|
|
5232
|
+
if (this._this__u8e3s4__1.createConversation === protoOf(IntegratedDocumentMutation()).createConversation) {
|
|
5233
|
+
this.state_1 = 2;
|
|
5234
|
+
suspendResult = this._this__u8e3s4__1.createConversation$default_2orw32_k$(this.companyId_1, this.command_1, this.attachments_1, this.onUploadProgress_1, this.inlineDocuments_1, this.idempotencyKey_1, this);
|
|
5235
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5236
|
+
return suspendResult;
|
|
5237
|
+
}
|
|
5238
|
+
continue $sm;
|
|
5239
|
+
} else {
|
|
5240
|
+
this.state_1 = 1;
|
|
5241
|
+
suspendResult = await_0(this._this__u8e3s4__1.createConversation(this.companyId_1, this.command_1, this.attachments_1, this.onUploadProgress_1, this.inlineDocuments_1, this.idempotencyKey_1), this);
|
|
5242
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5243
|
+
return suspendResult;
|
|
5244
|
+
}
|
|
5245
|
+
continue $sm;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
case 1:
|
|
5249
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5250
|
+
this.state_1 = 3;
|
|
5251
|
+
continue $sm;
|
|
5252
|
+
case 2:
|
|
5253
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5254
|
+
this.state_1 = 3;
|
|
5255
|
+
continue $sm;
|
|
5256
|
+
case 3:
|
|
5257
|
+
return this.WHEN_RESULT0__1;
|
|
5258
|
+
case 4:
|
|
5259
|
+
throw this.exception_1;
|
|
5260
|
+
}
|
|
5261
|
+
} catch ($p) {
|
|
5262
|
+
var e = $p;
|
|
5263
|
+
if (this.exceptionState_1 === 4) {
|
|
5264
|
+
throw e;
|
|
5265
|
+
} else {
|
|
5266
|
+
this.state_1 = this.exceptionState_1;
|
|
5267
|
+
this.exception_1 = e;
|
|
5268
|
+
}
|
|
5269
|
+
}
|
|
5270
|
+
while (true);
|
|
5271
|
+
};
|
|
5272
|
+
$createConversation$suspendBridgeCOROUTINE$Class = $;
|
|
5273
|
+
}
|
|
5274
|
+
return $createConversation$suspendBridgeCOROUTINE$Class;
|
|
5275
|
+
}
|
|
5276
|
+
var $createConversation$suspendBridgeCOROUTINE$Class_0;
|
|
5277
|
+
function $createConversation$suspendBridgeCOROUTINE$_0() {
|
|
5278
|
+
if ($createConversation$suspendBridgeCOROUTINE$Class_0 === VOID) {
|
|
5279
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5280
|
+
function $(_this__u8e3s4, companyId, command, attachments, onUploadProgress, resultContinuation) {
|
|
5281
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5282
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5283
|
+
this.companyId_1 = companyId;
|
|
5284
|
+
this.command_1 = command;
|
|
5285
|
+
this.attachments_1 = attachments;
|
|
5286
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5287
|
+
}
|
|
5288
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5289
|
+
var suspendResult = this.result_1;
|
|
5290
|
+
$sm: do
|
|
5291
|
+
try {
|
|
5292
|
+
var tmp = this.state_1;
|
|
5293
|
+
switch (tmp) {
|
|
5294
|
+
case 0:
|
|
5295
|
+
this.exceptionState_1 = 4;
|
|
5296
|
+
if (this._this__u8e3s4__1.createConversationWithUploadProgress === protoOf(IntegratedDocumentMutation()).createConversationWithUploadProgress) {
|
|
5297
|
+
this.state_1 = 2;
|
|
5298
|
+
suspendResult = this._this__u8e3s4__1.createConversation$default_l0wvd1_k$(this.companyId_1, this.command_1, this.attachments_1, this.onUploadProgress_1, this);
|
|
5299
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5300
|
+
return suspendResult;
|
|
5301
|
+
}
|
|
5302
|
+
continue $sm;
|
|
5303
|
+
} else {
|
|
5304
|
+
this.state_1 = 1;
|
|
5305
|
+
suspendResult = await_0(this._this__u8e3s4__1.createConversationWithUploadProgress(this.companyId_1, this.command_1, this.attachments_1, this.onUploadProgress_1), this);
|
|
5306
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5307
|
+
return suspendResult;
|
|
5308
|
+
}
|
|
5309
|
+
continue $sm;
|
|
5310
|
+
}
|
|
5311
|
+
|
|
5312
|
+
case 1:
|
|
5313
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5314
|
+
this.state_1 = 3;
|
|
5315
|
+
continue $sm;
|
|
5316
|
+
case 2:
|
|
5317
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5318
|
+
this.state_1 = 3;
|
|
5319
|
+
continue $sm;
|
|
5320
|
+
case 3:
|
|
5321
|
+
return this.WHEN_RESULT0__1;
|
|
5322
|
+
case 4:
|
|
5323
|
+
throw this.exception_1;
|
|
5324
|
+
}
|
|
5325
|
+
} catch ($p) {
|
|
5326
|
+
var e = $p;
|
|
5327
|
+
if (this.exceptionState_1 === 4) {
|
|
5328
|
+
throw e;
|
|
5329
|
+
} else {
|
|
5330
|
+
this.state_1 = this.exceptionState_1;
|
|
5331
|
+
this.exception_1 = e;
|
|
5332
|
+
}
|
|
5333
|
+
}
|
|
5334
|
+
while (true);
|
|
5335
|
+
};
|
|
5336
|
+
$createConversation$suspendBridgeCOROUTINE$Class_0 = $;
|
|
5337
|
+
}
|
|
5338
|
+
return $createConversation$suspendBridgeCOROUTINE$Class_0;
|
|
5339
|
+
}
|
|
5340
|
+
var $updateConversation$suspendBridgeCOROUTINE$Class;
|
|
5341
|
+
function $updateConversation$suspendBridgeCOROUTINE$() {
|
|
5342
|
+
if ($updateConversation$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5343
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5344
|
+
function $(_this__u8e3s4, companyId, conversationId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5345
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5346
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5347
|
+
this.companyId_1 = companyId;
|
|
5348
|
+
this.conversationId_1 = conversationId;
|
|
5349
|
+
this.command_1 = command;
|
|
5350
|
+
this.attachments_1 = attachments;
|
|
5351
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5352
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
5353
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5354
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5355
|
+
}
|
|
5356
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5357
|
+
var suspendResult = this.result_1;
|
|
5358
|
+
$sm: do
|
|
5359
|
+
try {
|
|
5360
|
+
var tmp = this.state_1;
|
|
5361
|
+
switch (tmp) {
|
|
5362
|
+
case 0:
|
|
5363
|
+
this.exceptionState_1 = 4;
|
|
5364
|
+
if (this._this__u8e3s4__1.updateConversation === protoOf(IntegratedDocumentMutation()).updateConversation) {
|
|
5365
|
+
this.state_1 = 2;
|
|
5366
|
+
suspendResult = this._this__u8e3s4__1.updateConversation$default_xqvifx_k$(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5367
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5368
|
+
return suspendResult;
|
|
5369
|
+
}
|
|
5370
|
+
continue $sm;
|
|
5371
|
+
} else {
|
|
5372
|
+
this.state_1 = 1;
|
|
5373
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateConversation(this.companyId_1, this.conversationId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5374
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5375
|
+
return suspendResult;
|
|
5376
|
+
}
|
|
5377
|
+
continue $sm;
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
case 1:
|
|
5381
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5382
|
+
this.state_1 = 3;
|
|
5383
|
+
continue $sm;
|
|
5384
|
+
case 2:
|
|
5385
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5386
|
+
this.state_1 = 3;
|
|
5387
|
+
continue $sm;
|
|
5388
|
+
case 3:
|
|
5389
|
+
return this.WHEN_RESULT0__1;
|
|
5390
|
+
case 4:
|
|
5391
|
+
throw this.exception_1;
|
|
5392
|
+
}
|
|
5393
|
+
} catch ($p) {
|
|
5394
|
+
var e = $p;
|
|
5395
|
+
if (this.exceptionState_1 === 4) {
|
|
5396
|
+
throw e;
|
|
5397
|
+
} else {
|
|
5398
|
+
this.state_1 = this.exceptionState_1;
|
|
5399
|
+
this.exception_1 = e;
|
|
5400
|
+
}
|
|
5401
|
+
}
|
|
5402
|
+
while (true);
|
|
5403
|
+
};
|
|
5404
|
+
$updateConversation$suspendBridgeCOROUTINE$Class = $;
|
|
5405
|
+
}
|
|
5406
|
+
return $updateConversation$suspendBridgeCOROUTINE$Class;
|
|
5407
|
+
}
|
|
5408
|
+
var $createNeighborhoodGroup$suspendBridgeCOROUTINE$Class;
|
|
5409
|
+
function $createNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
5410
|
+
if ($createNeighborhoodGroup$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5411
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5412
|
+
function $(_this__u8e3s4, companyId, command, image, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5413
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5414
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5415
|
+
this.companyId_1 = companyId;
|
|
5416
|
+
this.command_1 = command;
|
|
5417
|
+
this.image_1 = image;
|
|
5418
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5419
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5420
|
+
}
|
|
5421
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5422
|
+
var suspendResult = this.result_1;
|
|
5423
|
+
$sm: do
|
|
5424
|
+
try {
|
|
5425
|
+
var tmp = this.state_1;
|
|
5426
|
+
switch (tmp) {
|
|
5427
|
+
case 0:
|
|
5428
|
+
this.exceptionState_1 = 4;
|
|
5429
|
+
if (this._this__u8e3s4__1.createNeighborhoodGroup === protoOf(IntegratedDocumentMutation()).createNeighborhoodGroup) {
|
|
5430
|
+
this.state_1 = 2;
|
|
5431
|
+
suspendResult = this._this__u8e3s4__1.createNeighborhoodGroup$default_fiklsw_k$(this.companyId_1, this.command_1, this.image_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5432
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5433
|
+
return suspendResult;
|
|
5434
|
+
}
|
|
5435
|
+
continue $sm;
|
|
5436
|
+
} else {
|
|
5437
|
+
this.state_1 = 1;
|
|
5438
|
+
suspendResult = await_0(this._this__u8e3s4__1.createNeighborhoodGroup(this.companyId_1, this.command_1, this.image_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5439
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5440
|
+
return suspendResult;
|
|
5441
|
+
}
|
|
5442
|
+
continue $sm;
|
|
5443
|
+
}
|
|
5444
|
+
|
|
5445
|
+
case 1:
|
|
5446
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5447
|
+
this.state_1 = 3;
|
|
5448
|
+
continue $sm;
|
|
5449
|
+
case 2:
|
|
5450
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5451
|
+
this.state_1 = 3;
|
|
5452
|
+
continue $sm;
|
|
5453
|
+
case 3:
|
|
5454
|
+
return this.WHEN_RESULT0__1;
|
|
5455
|
+
case 4:
|
|
5456
|
+
throw this.exception_1;
|
|
5457
|
+
}
|
|
5458
|
+
} catch ($p) {
|
|
5459
|
+
var e = $p;
|
|
5460
|
+
if (this.exceptionState_1 === 4) {
|
|
5461
|
+
throw e;
|
|
5462
|
+
} else {
|
|
5463
|
+
this.state_1 = this.exceptionState_1;
|
|
5464
|
+
this.exception_1 = e;
|
|
5465
|
+
}
|
|
5466
|
+
}
|
|
5467
|
+
while (true);
|
|
5468
|
+
};
|
|
5469
|
+
$createNeighborhoodGroup$suspendBridgeCOROUTINE$Class = $;
|
|
5470
|
+
}
|
|
5471
|
+
return $createNeighborhoodGroup$suspendBridgeCOROUTINE$Class;
|
|
5472
|
+
}
|
|
5473
|
+
var $updateNeighborhoodGroup$suspendBridgeCOROUTINE$Class;
|
|
5474
|
+
function $updateNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
5475
|
+
if ($updateNeighborhoodGroup$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5476
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5477
|
+
function $(_this__u8e3s4, companyId, groupId, command, pictureDocumentId, image, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5478
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5479
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5480
|
+
this.companyId_1 = companyId;
|
|
5481
|
+
this.groupId_1 = groupId;
|
|
5482
|
+
this.command_1 = command;
|
|
5483
|
+
this.pictureDocumentId_1 = pictureDocumentId;
|
|
5484
|
+
this.image_1 = image;
|
|
5485
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
5486
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5487
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5488
|
+
}
|
|
5489
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5490
|
+
var suspendResult = this.result_1;
|
|
5491
|
+
$sm: do
|
|
5492
|
+
try {
|
|
5493
|
+
var tmp = this.state_1;
|
|
5494
|
+
switch (tmp) {
|
|
5495
|
+
case 0:
|
|
5496
|
+
this.exceptionState_1 = 4;
|
|
5497
|
+
if (this._this__u8e3s4__1.updateNeighborhoodGroup === protoOf(IntegratedDocumentMutation()).updateNeighborhoodGroup) {
|
|
5498
|
+
this.state_1 = 2;
|
|
5499
|
+
suspendResult = this._this__u8e3s4__1.updateNeighborhoodGroup$default_4dyjd_k$(this.companyId_1, this.groupId_1, this.command_1, this.pictureDocumentId_1, this.image_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5500
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5501
|
+
return suspendResult;
|
|
5502
|
+
}
|
|
5503
|
+
continue $sm;
|
|
5504
|
+
} else {
|
|
5505
|
+
this.state_1 = 1;
|
|
5506
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateNeighborhoodGroup(this.companyId_1, this.groupId_1, this.command_1, this.pictureDocumentId_1, this.image_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5507
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5508
|
+
return suspendResult;
|
|
5509
|
+
}
|
|
5510
|
+
continue $sm;
|
|
5511
|
+
}
|
|
5512
|
+
|
|
5513
|
+
case 1:
|
|
5514
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5515
|
+
this.state_1 = 3;
|
|
5516
|
+
continue $sm;
|
|
5517
|
+
case 2:
|
|
5518
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5519
|
+
this.state_1 = 3;
|
|
5520
|
+
continue $sm;
|
|
5521
|
+
case 3:
|
|
5522
|
+
return this.WHEN_RESULT0__1;
|
|
5523
|
+
case 4:
|
|
5524
|
+
throw this.exception_1;
|
|
5525
|
+
}
|
|
5526
|
+
} catch ($p) {
|
|
5527
|
+
var e = $p;
|
|
5528
|
+
if (this.exceptionState_1 === 4) {
|
|
5529
|
+
throw e;
|
|
5530
|
+
} else {
|
|
5531
|
+
this.state_1 = this.exceptionState_1;
|
|
5532
|
+
this.exception_1 = e;
|
|
5533
|
+
}
|
|
5534
|
+
}
|
|
5535
|
+
while (true);
|
|
5536
|
+
};
|
|
5537
|
+
$updateNeighborhoodGroup$suspendBridgeCOROUTINE$Class = $;
|
|
5538
|
+
}
|
|
5539
|
+
return $updateNeighborhoodGroup$suspendBridgeCOROUTINE$Class;
|
|
5540
|
+
}
|
|
5541
|
+
var $createNeighborhoodPost$suspendBridgeCOROUTINE$Class;
|
|
5542
|
+
function $createNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
5543
|
+
if ($createNeighborhoodPost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5544
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5545
|
+
function $(_this__u8e3s4, companyId, groupId, command, image, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5546
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5547
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5548
|
+
this.companyId_1 = companyId;
|
|
5549
|
+
this.groupId_1 = groupId;
|
|
5550
|
+
this.command_1 = command;
|
|
5551
|
+
this.image_1 = image;
|
|
5552
|
+
this.attachments_1 = attachments;
|
|
5553
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5554
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5555
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5556
|
+
}
|
|
5557
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5558
|
+
var suspendResult = this.result_1;
|
|
5559
|
+
$sm: do
|
|
5560
|
+
try {
|
|
5561
|
+
var tmp = this.state_1;
|
|
5562
|
+
switch (tmp) {
|
|
5563
|
+
case 0:
|
|
5564
|
+
this.exceptionState_1 = 4;
|
|
5565
|
+
if (this._this__u8e3s4__1.createNeighborhoodPost === protoOf(IntegratedDocumentMutation()).createNeighborhoodPost) {
|
|
5566
|
+
this.state_1 = 2;
|
|
5567
|
+
suspendResult = this._this__u8e3s4__1.createNeighborhoodPost$default_xcezd5_k$(this.companyId_1, this.groupId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5568
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5569
|
+
return suspendResult;
|
|
5570
|
+
}
|
|
5571
|
+
continue $sm;
|
|
5572
|
+
} else {
|
|
5573
|
+
this.state_1 = 1;
|
|
5574
|
+
suspendResult = await_0(this._this__u8e3s4__1.createNeighborhoodPost(this.companyId_1, this.groupId_1, this.command_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5575
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5576
|
+
return suspendResult;
|
|
5577
|
+
}
|
|
5578
|
+
continue $sm;
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
case 1:
|
|
5582
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5583
|
+
this.state_1 = 3;
|
|
5584
|
+
continue $sm;
|
|
5585
|
+
case 2:
|
|
5586
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5587
|
+
this.state_1 = 3;
|
|
5588
|
+
continue $sm;
|
|
5589
|
+
case 3:
|
|
5590
|
+
return this.WHEN_RESULT0__1;
|
|
5591
|
+
case 4:
|
|
5592
|
+
throw this.exception_1;
|
|
5593
|
+
}
|
|
5594
|
+
} catch ($p) {
|
|
5595
|
+
var e = $p;
|
|
5596
|
+
if (this.exceptionState_1 === 4) {
|
|
5597
|
+
throw e;
|
|
5598
|
+
} else {
|
|
5599
|
+
this.state_1 = this.exceptionState_1;
|
|
5600
|
+
this.exception_1 = e;
|
|
5601
|
+
}
|
|
5602
|
+
}
|
|
5603
|
+
while (true);
|
|
5604
|
+
};
|
|
5605
|
+
$createNeighborhoodPost$suspendBridgeCOROUTINE$Class = $;
|
|
5606
|
+
}
|
|
5607
|
+
return $createNeighborhoodPost$suspendBridgeCOROUTINE$Class;
|
|
5608
|
+
}
|
|
5609
|
+
var $updateNeighborhoodPost$suspendBridgeCOROUTINE$Class;
|
|
5610
|
+
function $updateNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
5611
|
+
if ($updateNeighborhoodPost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5612
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5613
|
+
function $(_this__u8e3s4, companyId, postId, command, pictureDocumentId, image, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5614
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5615
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3312
5616
|
this.companyId_1 = companyId;
|
|
5617
|
+
this.postId_1 = postId;
|
|
3313
5618
|
this.command_1 = command;
|
|
5619
|
+
this.pictureDocumentId_1 = pictureDocumentId;
|
|
3314
5620
|
this.image_1 = image;
|
|
3315
5621
|
this.attachments_1 = attachments;
|
|
3316
5622
|
this.inlineDocuments_1 = inlineDocuments;
|
|
3317
|
-
this.
|
|
5623
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
3318
5624
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3319
5625
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3320
5626
|
}
|
|
@@ -3326,16 +5632,16 @@ function $createHomepagePost$suspendBridgeCOROUTINE$() {
|
|
|
3326
5632
|
switch (tmp) {
|
|
3327
5633
|
case 0:
|
|
3328
5634
|
this.exceptionState_1 = 4;
|
|
3329
|
-
if (this._this__u8e3s4__1.
|
|
5635
|
+
if (this._this__u8e3s4__1.updateNeighborhoodPost === protoOf(IntegratedDocumentMutation()).updateNeighborhoodPost) {
|
|
3330
5636
|
this.state_1 = 2;
|
|
3331
|
-
suspendResult = this._this__u8e3s4__1.
|
|
5637
|
+
suspendResult = this._this__u8e3s4__1.updateNeighborhoodPost$default_gkkgtm_k$(this.companyId_1, this.postId_1, this.command_1, this.pictureDocumentId_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3332
5638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3333
5639
|
return suspendResult;
|
|
3334
5640
|
}
|
|
3335
5641
|
continue $sm;
|
|
3336
5642
|
} else {
|
|
3337
5643
|
this.state_1 = 1;
|
|
3338
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
5644
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateNeighborhoodPost(this.companyId_1, this.postId_1, this.command_1, this.pictureDocumentId_1, this.image_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3339
5645
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3340
5646
|
return suspendResult;
|
|
3341
5647
|
}
|
|
@@ -3366,26 +5672,227 @@ function $createHomepagePost$suspendBridgeCOROUTINE$() {
|
|
|
3366
5672
|
}
|
|
3367
5673
|
while (true);
|
|
3368
5674
|
};
|
|
3369
|
-
$
|
|
5675
|
+
$updateNeighborhoodPost$suspendBridgeCOROUTINE$Class = $;
|
|
3370
5676
|
}
|
|
3371
|
-
return $
|
|
5677
|
+
return $updateNeighborhoodPost$suspendBridgeCOROUTINE$Class;
|
|
3372
5678
|
}
|
|
3373
|
-
var $
|
|
3374
|
-
function $
|
|
3375
|
-
if ($
|
|
5679
|
+
var $createHomepagePostComment$suspendBridgeCOROUTINE$Class;
|
|
5680
|
+
function $createHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
5681
|
+
if ($createHomepagePostComment$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3376
5682
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3377
|
-
function $(_this__u8e3s4, companyId, postId, command,
|
|
5683
|
+
function $(_this__u8e3s4, companyId, postId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5684
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5685
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5686
|
+
this.companyId_1 = companyId;
|
|
5687
|
+
this.postId_1 = postId;
|
|
5688
|
+
this.command_1 = command;
|
|
5689
|
+
this.attachments_1 = attachments;
|
|
5690
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5691
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5692
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5693
|
+
}
|
|
5694
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5695
|
+
var suspendResult = this.result_1;
|
|
5696
|
+
$sm: do
|
|
5697
|
+
try {
|
|
5698
|
+
var tmp = this.state_1;
|
|
5699
|
+
switch (tmp) {
|
|
5700
|
+
case 0:
|
|
5701
|
+
this.exceptionState_1 = 4;
|
|
5702
|
+
if (this._this__u8e3s4__1.createHomepagePostComment === protoOf(IntegratedDocumentMutation()).createHomepagePostComment) {
|
|
5703
|
+
this.state_1 = 2;
|
|
5704
|
+
suspendResult = this._this__u8e3s4__1.createHomepagePostComment$default_ns4asa_k$(this.companyId_1, this.postId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5705
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5706
|
+
return suspendResult;
|
|
5707
|
+
}
|
|
5708
|
+
continue $sm;
|
|
5709
|
+
} else {
|
|
5710
|
+
this.state_1 = 1;
|
|
5711
|
+
suspendResult = await_0(this._this__u8e3s4__1.createHomepagePostComment(this.companyId_1, this.postId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5712
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5713
|
+
return suspendResult;
|
|
5714
|
+
}
|
|
5715
|
+
continue $sm;
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
case 1:
|
|
5719
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5720
|
+
this.state_1 = 3;
|
|
5721
|
+
continue $sm;
|
|
5722
|
+
case 2:
|
|
5723
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5724
|
+
this.state_1 = 3;
|
|
5725
|
+
continue $sm;
|
|
5726
|
+
case 3:
|
|
5727
|
+
return this.WHEN_RESULT0__1;
|
|
5728
|
+
case 4:
|
|
5729
|
+
throw this.exception_1;
|
|
5730
|
+
}
|
|
5731
|
+
} catch ($p) {
|
|
5732
|
+
var e = $p;
|
|
5733
|
+
if (this.exceptionState_1 === 4) {
|
|
5734
|
+
throw e;
|
|
5735
|
+
} else {
|
|
5736
|
+
this.state_1 = this.exceptionState_1;
|
|
5737
|
+
this.exception_1 = e;
|
|
5738
|
+
}
|
|
5739
|
+
}
|
|
5740
|
+
while (true);
|
|
5741
|
+
};
|
|
5742
|
+
$createHomepagePostComment$suspendBridgeCOROUTINE$Class = $;
|
|
5743
|
+
}
|
|
5744
|
+
return $createHomepagePostComment$suspendBridgeCOROUTINE$Class;
|
|
5745
|
+
}
|
|
5746
|
+
var $updateHomepagePostComment$suspendBridgeCOROUTINE$Class;
|
|
5747
|
+
function $updateHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
5748
|
+
if ($updateHomepagePostComment$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5749
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5750
|
+
function $(_this__u8e3s4, companyId, postId, commentId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5751
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5752
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5753
|
+
this.companyId_1 = companyId;
|
|
5754
|
+
this.postId_1 = postId;
|
|
5755
|
+
this.commentId_1 = commentId;
|
|
5756
|
+
this.command_1 = command;
|
|
5757
|
+
this.attachments_1 = attachments;
|
|
5758
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5759
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
5760
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5761
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5762
|
+
}
|
|
5763
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5764
|
+
var suspendResult = this.result_1;
|
|
5765
|
+
$sm: do
|
|
5766
|
+
try {
|
|
5767
|
+
var tmp = this.state_1;
|
|
5768
|
+
switch (tmp) {
|
|
5769
|
+
case 0:
|
|
5770
|
+
this.exceptionState_1 = 4;
|
|
5771
|
+
if (this._this__u8e3s4__1.updateHomepagePostComment === protoOf(IntegratedDocumentMutation()).updateHomepagePostComment) {
|
|
5772
|
+
this.state_1 = 2;
|
|
5773
|
+
suspendResult = this._this__u8e3s4__1.updateHomepagePostComment$default_2i7lwh_k$(this.companyId_1, this.postId_1, this.commentId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5774
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5775
|
+
return suspendResult;
|
|
5776
|
+
}
|
|
5777
|
+
continue $sm;
|
|
5778
|
+
} else {
|
|
5779
|
+
this.state_1 = 1;
|
|
5780
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateHomepagePostComment(this.companyId_1, this.postId_1, this.commentId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5781
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5782
|
+
return suspendResult;
|
|
5783
|
+
}
|
|
5784
|
+
continue $sm;
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5787
|
+
case 1:
|
|
5788
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5789
|
+
this.state_1 = 3;
|
|
5790
|
+
continue $sm;
|
|
5791
|
+
case 2:
|
|
5792
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5793
|
+
this.state_1 = 3;
|
|
5794
|
+
continue $sm;
|
|
5795
|
+
case 3:
|
|
5796
|
+
return this.WHEN_RESULT0__1;
|
|
5797
|
+
case 4:
|
|
5798
|
+
throw this.exception_1;
|
|
5799
|
+
}
|
|
5800
|
+
} catch ($p) {
|
|
5801
|
+
var e = $p;
|
|
5802
|
+
if (this.exceptionState_1 === 4) {
|
|
5803
|
+
throw e;
|
|
5804
|
+
} else {
|
|
5805
|
+
this.state_1 = this.exceptionState_1;
|
|
5806
|
+
this.exception_1 = e;
|
|
5807
|
+
}
|
|
5808
|
+
}
|
|
5809
|
+
while (true);
|
|
5810
|
+
};
|
|
5811
|
+
$updateHomepagePostComment$suspendBridgeCOROUTINE$Class = $;
|
|
5812
|
+
}
|
|
5813
|
+
return $updateHomepagePostComment$suspendBridgeCOROUTINE$Class;
|
|
5814
|
+
}
|
|
5815
|
+
var $createNeighborhoodPostComment$suspendBridgeCOROUTINE$Class;
|
|
5816
|
+
function $createNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
5817
|
+
if ($createNeighborhoodPostComment$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5818
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5819
|
+
function $(_this__u8e3s4, companyId, postId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
5820
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5821
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5822
|
+
this.companyId_1 = companyId;
|
|
5823
|
+
this.postId_1 = postId;
|
|
5824
|
+
this.command_1 = command;
|
|
5825
|
+
this.attachments_1 = attachments;
|
|
5826
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
5827
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
5828
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
5829
|
+
}
|
|
5830
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5831
|
+
var suspendResult = this.result_1;
|
|
5832
|
+
$sm: do
|
|
5833
|
+
try {
|
|
5834
|
+
var tmp = this.state_1;
|
|
5835
|
+
switch (tmp) {
|
|
5836
|
+
case 0:
|
|
5837
|
+
this.exceptionState_1 = 4;
|
|
5838
|
+
if (this._this__u8e3s4__1.createNeighborhoodPostComment === protoOf(IntegratedDocumentMutation()).createNeighborhoodPostComment) {
|
|
5839
|
+
this.state_1 = 2;
|
|
5840
|
+
suspendResult = this._this__u8e3s4__1.createNeighborhoodPostComment$default_13zfy2_k$(this.companyId_1, this.postId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
5841
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5842
|
+
return suspendResult;
|
|
5843
|
+
}
|
|
5844
|
+
continue $sm;
|
|
5845
|
+
} else {
|
|
5846
|
+
this.state_1 = 1;
|
|
5847
|
+
suspendResult = await_0(this._this__u8e3s4__1.createNeighborhoodPostComment(this.companyId_1, this.postId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
5848
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5849
|
+
return suspendResult;
|
|
5850
|
+
}
|
|
5851
|
+
continue $sm;
|
|
5852
|
+
}
|
|
5853
|
+
|
|
5854
|
+
case 1:
|
|
5855
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5856
|
+
this.state_1 = 3;
|
|
5857
|
+
continue $sm;
|
|
5858
|
+
case 2:
|
|
5859
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5860
|
+
this.state_1 = 3;
|
|
5861
|
+
continue $sm;
|
|
5862
|
+
case 3:
|
|
5863
|
+
return this.WHEN_RESULT0__1;
|
|
5864
|
+
case 4:
|
|
5865
|
+
throw this.exception_1;
|
|
5866
|
+
}
|
|
5867
|
+
} catch ($p) {
|
|
5868
|
+
var e = $p;
|
|
5869
|
+
if (this.exceptionState_1 === 4) {
|
|
5870
|
+
throw e;
|
|
5871
|
+
} else {
|
|
5872
|
+
this.state_1 = this.exceptionState_1;
|
|
5873
|
+
this.exception_1 = e;
|
|
5874
|
+
}
|
|
5875
|
+
}
|
|
5876
|
+
while (true);
|
|
5877
|
+
};
|
|
5878
|
+
$createNeighborhoodPostComment$suspendBridgeCOROUTINE$Class = $;
|
|
5879
|
+
}
|
|
5880
|
+
return $createNeighborhoodPostComment$suspendBridgeCOROUTINE$Class;
|
|
5881
|
+
}
|
|
5882
|
+
var $updateNeighborhoodPostComment$suspendBridgeCOROUTINE$Class;
|
|
5883
|
+
function $updateNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
5884
|
+
if ($updateNeighborhoodPostComment$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5885
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5886
|
+
function $(_this__u8e3s4, companyId, postId, commentId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3378
5887
|
CoroutineImpl().call(this, resultContinuation);
|
|
3379
5888
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3380
5889
|
this.companyId_1 = companyId;
|
|
3381
5890
|
this.postId_1 = postId;
|
|
5891
|
+
this.commentId_1 = commentId;
|
|
3382
5892
|
this.command_1 = command;
|
|
3383
|
-
this.image_1 = image;
|
|
3384
5893
|
this.attachments_1 = attachments;
|
|
3385
5894
|
this.inlineDocuments_1 = inlineDocuments;
|
|
3386
5895
|
this.removeDocumentIds_1 = removeDocumentIds;
|
|
3387
|
-
this.publishChanges_1 = publishChanges;
|
|
3388
|
-
this.purchaseBundleId_1 = purchaseBundleId;
|
|
3389
5896
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3390
5897
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3391
5898
|
}
|
|
@@ -3397,16 +5904,16 @@ function $updateHomepagePost$suspendBridgeCOROUTINE$() {
|
|
|
3397
5904
|
switch (tmp) {
|
|
3398
5905
|
case 0:
|
|
3399
5906
|
this.exceptionState_1 = 4;
|
|
3400
|
-
if (this._this__u8e3s4__1.
|
|
5907
|
+
if (this._this__u8e3s4__1.updateNeighborhoodPostComment === protoOf(IntegratedDocumentMutation()).updateNeighborhoodPostComment) {
|
|
3401
5908
|
this.state_1 = 2;
|
|
3402
|
-
suspendResult = this._this__u8e3s4__1.
|
|
5909
|
+
suspendResult = this._this__u8e3s4__1.updateNeighborhoodPostComment$default_tky8zj_k$(this.companyId_1, this.postId_1, this.commentId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3403
5910
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3404
5911
|
return suspendResult;
|
|
3405
5912
|
}
|
|
3406
5913
|
continue $sm;
|
|
3407
5914
|
} else {
|
|
3408
5915
|
this.state_1 = 1;
|
|
3409
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
5916
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateNeighborhoodPostComment(this.companyId_1, this.postId_1, this.commentId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3410
5917
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3411
5918
|
return suspendResult;
|
|
3412
5919
|
}
|
|
@@ -3437,23 +5944,20 @@ function $updateHomepagePost$suspendBridgeCOROUTINE$() {
|
|
|
3437
5944
|
}
|
|
3438
5945
|
while (true);
|
|
3439
5946
|
};
|
|
3440
|
-
$
|
|
5947
|
+
$updateNeighborhoodPostComment$suspendBridgeCOROUTINE$Class = $;
|
|
3441
5948
|
}
|
|
3442
|
-
return $
|
|
5949
|
+
return $updateNeighborhoodPostComment$suspendBridgeCOROUTINE$Class;
|
|
3443
5950
|
}
|
|
3444
|
-
var $
|
|
3445
|
-
function $
|
|
3446
|
-
if ($
|
|
5951
|
+
var $createSettlement$suspendBridgeCOROUTINE$Class;
|
|
5952
|
+
function $createSettlement$suspendBridgeCOROUTINE$() {
|
|
5953
|
+
if ($createSettlement$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3447
5954
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3448
|
-
function $(_this__u8e3s4, companyId, command,
|
|
5955
|
+
function $(_this__u8e3s4, companyId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3449
5956
|
CoroutineImpl().call(this, resultContinuation);
|
|
3450
5957
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3451
5958
|
this.companyId_1 = companyId;
|
|
3452
5959
|
this.command_1 = command;
|
|
3453
|
-
this.image_1 = image;
|
|
3454
5960
|
this.attachments_1 = attachments;
|
|
3455
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3456
|
-
this.purchaseBundleId_1 = purchaseBundleId;
|
|
3457
5961
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3458
5962
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3459
5963
|
}
|
|
@@ -3465,16 +5969,16 @@ function $createPracticalInformation$suspendBridgeCOROUTINE$() {
|
|
|
3465
5969
|
switch (tmp) {
|
|
3466
5970
|
case 0:
|
|
3467
5971
|
this.exceptionState_1 = 4;
|
|
3468
|
-
if (this._this__u8e3s4__1.
|
|
5972
|
+
if (this._this__u8e3s4__1.createSettlement === protoOf(IntegratedDocumentMutation()).createSettlement) {
|
|
3469
5973
|
this.state_1 = 2;
|
|
3470
|
-
suspendResult = this._this__u8e3s4__1.
|
|
5974
|
+
suspendResult = this._this__u8e3s4__1.createSettlement$default_6cx41d_k$(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3471
5975
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3472
5976
|
return suspendResult;
|
|
3473
5977
|
}
|
|
3474
5978
|
continue $sm;
|
|
3475
5979
|
} else {
|
|
3476
5980
|
this.state_1 = 1;
|
|
3477
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
5981
|
+
suspendResult = await_0(this._this__u8e3s4__1.createSettlement(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3478
5982
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3479
5983
|
return suspendResult;
|
|
3480
5984
|
}
|
|
@@ -3505,26 +6009,22 @@ function $createPracticalInformation$suspendBridgeCOROUTINE$() {
|
|
|
3505
6009
|
}
|
|
3506
6010
|
while (true);
|
|
3507
6011
|
};
|
|
3508
|
-
$
|
|
6012
|
+
$createSettlement$suspendBridgeCOROUTINE$Class = $;
|
|
3509
6013
|
}
|
|
3510
|
-
return $
|
|
6014
|
+
return $createSettlement$suspendBridgeCOROUTINE$Class;
|
|
3511
6015
|
}
|
|
3512
|
-
var $
|
|
3513
|
-
function $
|
|
3514
|
-
if ($
|
|
6016
|
+
var $updateSettlement$suspendBridgeCOROUTINE$Class;
|
|
6017
|
+
function $updateSettlement$suspendBridgeCOROUTINE$() {
|
|
6018
|
+
if ($updateSettlement$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3515
6019
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3516
|
-
function $(_this__u8e3s4, companyId,
|
|
6020
|
+
function $(_this__u8e3s4, companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3517
6021
|
CoroutineImpl().call(this, resultContinuation);
|
|
3518
6022
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3519
6023
|
this.companyId_1 = companyId;
|
|
3520
|
-
this.
|
|
6024
|
+
this.settlementId_1 = settlementId;
|
|
3521
6025
|
this.command_1 = command;
|
|
3522
|
-
this.image_1 = image;
|
|
3523
6026
|
this.attachments_1 = attachments;
|
|
3524
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3525
6027
|
this.removeDocumentIds_1 = removeDocumentIds;
|
|
3526
|
-
this.publishChanges_1 = publishChanges;
|
|
3527
|
-
this.purchaseBundleId_1 = purchaseBundleId;
|
|
3528
6028
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3529
6029
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3530
6030
|
}
|
|
@@ -3536,16 +6036,16 @@ function $updatePracticalInformation$suspendBridgeCOROUTINE$() {
|
|
|
3536
6036
|
switch (tmp) {
|
|
3537
6037
|
case 0:
|
|
3538
6038
|
this.exceptionState_1 = 4;
|
|
3539
|
-
if (this._this__u8e3s4__1.
|
|
6039
|
+
if (this._this__u8e3s4__1.updateSettlement === protoOf(IntegratedDocumentMutation()).updateSettlement) {
|
|
3540
6040
|
this.state_1 = 2;
|
|
3541
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6041
|
+
suspendResult = this._this__u8e3s4__1.updateSettlement$default_yzasfq_k$(this.companyId_1, this.settlementId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3542
6042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3543
6043
|
return suspendResult;
|
|
3544
6044
|
}
|
|
3545
6045
|
continue $sm;
|
|
3546
6046
|
} else {
|
|
3547
6047
|
this.state_1 = 1;
|
|
3548
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6048
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateSettlement(this.companyId_1, this.settlementId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3549
6049
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3550
6050
|
return suspendResult;
|
|
3551
6051
|
}
|
|
@@ -3576,21 +6076,21 @@ function $updatePracticalInformation$suspendBridgeCOROUTINE$() {
|
|
|
3576
6076
|
}
|
|
3577
6077
|
while (true);
|
|
3578
6078
|
};
|
|
3579
|
-
$
|
|
6079
|
+
$updateSettlement$suspendBridgeCOROUTINE$Class = $;
|
|
3580
6080
|
}
|
|
3581
|
-
return $
|
|
6081
|
+
return $updateSettlement$suspendBridgeCOROUTINE$Class;
|
|
3582
6082
|
}
|
|
3583
|
-
var $
|
|
3584
|
-
function $
|
|
3585
|
-
if ($
|
|
6083
|
+
var $createSettlementCustomCost$suspendBridgeCOROUTINE$Class;
|
|
6084
|
+
function $createSettlementCustomCost$suspendBridgeCOROUTINE$() {
|
|
6085
|
+
if ($createSettlementCustomCost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3586
6086
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3587
|
-
function $(_this__u8e3s4, companyId, command, attachments,
|
|
6087
|
+
function $(_this__u8e3s4, companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3588
6088
|
CoroutineImpl().call(this, resultContinuation);
|
|
3589
6089
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3590
6090
|
this.companyId_1 = companyId;
|
|
6091
|
+
this.settlementId_1 = settlementId;
|
|
3591
6092
|
this.command_1 = command;
|
|
3592
6093
|
this.attachments_1 = attachments;
|
|
3593
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3594
6094
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3595
6095
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3596
6096
|
}
|
|
@@ -3602,16 +6102,16 @@ function $createNewsletter$suspendBridgeCOROUTINE$() {
|
|
|
3602
6102
|
switch (tmp) {
|
|
3603
6103
|
case 0:
|
|
3604
6104
|
this.exceptionState_1 = 4;
|
|
3605
|
-
if (this._this__u8e3s4__1.
|
|
6105
|
+
if (this._this__u8e3s4__1.createSettlementCustomCost === protoOf(IntegratedDocumentMutation()).createSettlementCustomCost) {
|
|
3606
6106
|
this.state_1 = 2;
|
|
3607
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6107
|
+
suspendResult = this._this__u8e3s4__1.createSettlementCustomCost$default_8ofjov_k$(this.companyId_1, this.settlementId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3608
6108
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3609
6109
|
return suspendResult;
|
|
3610
6110
|
}
|
|
3611
6111
|
continue $sm;
|
|
3612
6112
|
} else {
|
|
3613
6113
|
this.state_1 = 1;
|
|
3614
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6114
|
+
suspendResult = await_0(this._this__u8e3s4__1.createSettlementCustomCost(this.companyId_1, this.settlementId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3615
6115
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3616
6116
|
return suspendResult;
|
|
3617
6117
|
}
|
|
@@ -3642,22 +6142,22 @@ function $createNewsletter$suspendBridgeCOROUTINE$() {
|
|
|
3642
6142
|
}
|
|
3643
6143
|
while (true);
|
|
3644
6144
|
};
|
|
3645
|
-
$
|
|
6145
|
+
$createSettlementCustomCost$suspendBridgeCOROUTINE$Class = $;
|
|
3646
6146
|
}
|
|
3647
|
-
return $
|
|
6147
|
+
return $createSettlementCustomCost$suspendBridgeCOROUTINE$Class;
|
|
3648
6148
|
}
|
|
3649
|
-
var $
|
|
3650
|
-
function $
|
|
3651
|
-
if ($
|
|
6149
|
+
var $updateSettlementCustomCost$suspendBridgeCOROUTINE$Class;
|
|
6150
|
+
function $updateSettlementCustomCost$suspendBridgeCOROUTINE$() {
|
|
6151
|
+
if ($updateSettlementCustomCost$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3652
6152
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3653
|
-
function $(_this__u8e3s4, companyId,
|
|
6153
|
+
function $(_this__u8e3s4, companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3654
6154
|
CoroutineImpl().call(this, resultContinuation);
|
|
3655
6155
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3656
6156
|
this.companyId_1 = companyId;
|
|
3657
|
-
this.
|
|
6157
|
+
this.settlementId_1 = settlementId;
|
|
6158
|
+
this.customCostId_1 = customCostId;
|
|
3658
6159
|
this.command_1 = command;
|
|
3659
6160
|
this.attachments_1 = attachments;
|
|
3660
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3661
6161
|
this.removeDocumentIds_1 = removeDocumentIds;
|
|
3662
6162
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3663
6163
|
this.onUploadProgress_1 = onUploadProgress;
|
|
@@ -3670,16 +6170,16 @@ function $updateNewsletter$suspendBridgeCOROUTINE$() {
|
|
|
3670
6170
|
switch (tmp) {
|
|
3671
6171
|
case 0:
|
|
3672
6172
|
this.exceptionState_1 = 4;
|
|
3673
|
-
if (this._this__u8e3s4__1.
|
|
6173
|
+
if (this._this__u8e3s4__1.updateSettlementCustomCost === protoOf(IntegratedDocumentMutation()).updateSettlementCustomCost) {
|
|
3674
6174
|
this.state_1 = 2;
|
|
3675
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6175
|
+
suspendResult = this._this__u8e3s4__1.updateSettlementCustomCost$default_euvmh2_k$(this.companyId_1, this.settlementId_1, this.customCostId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3676
6176
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3677
6177
|
return suspendResult;
|
|
3678
6178
|
}
|
|
3679
6179
|
continue $sm;
|
|
3680
6180
|
} else {
|
|
3681
6181
|
this.state_1 = 1;
|
|
3682
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6182
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateSettlementCustomCost(this.companyId_1, this.settlementId_1, this.customCostId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3683
6183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3684
6184
|
return suspendResult;
|
|
3685
6185
|
}
|
|
@@ -3710,22 +6210,20 @@ function $updateNewsletter$suspendBridgeCOROUTINE$() {
|
|
|
3710
6210
|
}
|
|
3711
6211
|
while (true);
|
|
3712
6212
|
};
|
|
3713
|
-
$
|
|
6213
|
+
$updateSettlementCustomCost$suspendBridgeCOROUTINE$Class = $;
|
|
3714
6214
|
}
|
|
3715
|
-
return $
|
|
6215
|
+
return $updateSettlementCustomCost$suspendBridgeCOROUTINE$Class;
|
|
3716
6216
|
}
|
|
3717
|
-
var $
|
|
3718
|
-
function $
|
|
3719
|
-
if ($
|
|
6217
|
+
var $createExpense$suspendBridgeCOROUTINE$Class;
|
|
6218
|
+
function $createExpense$suspendBridgeCOROUTINE$() {
|
|
6219
|
+
if ($createExpense$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3720
6220
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3721
|
-
function $(_this__u8e3s4, companyId,
|
|
6221
|
+
function $(_this__u8e3s4, companyId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3722
6222
|
CoroutineImpl().call(this, resultContinuation);
|
|
3723
6223
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3724
6224
|
this.companyId_1 = companyId;
|
|
3725
|
-
this.conversationId_1 = conversationId;
|
|
3726
6225
|
this.command_1 = command;
|
|
3727
6226
|
this.attachments_1 = attachments;
|
|
3728
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3729
6227
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3730
6228
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3731
6229
|
}
|
|
@@ -3737,16 +6235,16 @@ function $createConversationMessage$suspendBridgeCOROUTINE$() {
|
|
|
3737
6235
|
switch (tmp) {
|
|
3738
6236
|
case 0:
|
|
3739
6237
|
this.exceptionState_1 = 4;
|
|
3740
|
-
if (this._this__u8e3s4__1.
|
|
6238
|
+
if (this._this__u8e3s4__1.createExpense === protoOf(IntegratedDocumentMutation()).createExpense) {
|
|
3741
6239
|
this.state_1 = 2;
|
|
3742
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6240
|
+
suspendResult = this._this__u8e3s4__1.createExpense$default_8igovk_k$(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3743
6241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3744
6242
|
return suspendResult;
|
|
3745
6243
|
}
|
|
3746
6244
|
continue $sm;
|
|
3747
6245
|
} else {
|
|
3748
6246
|
this.state_1 = 1;
|
|
3749
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6247
|
+
suspendResult = await_0(this._this__u8e3s4__1.createExpense(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3750
6248
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3751
6249
|
return suspendResult;
|
|
3752
6250
|
}
|
|
@@ -3777,22 +6275,21 @@ function $createConversationMessage$suspendBridgeCOROUTINE$() {
|
|
|
3777
6275
|
}
|
|
3778
6276
|
while (true);
|
|
3779
6277
|
};
|
|
3780
|
-
$
|
|
6278
|
+
$createExpense$suspendBridgeCOROUTINE$Class = $;
|
|
3781
6279
|
}
|
|
3782
|
-
return $
|
|
6280
|
+
return $createExpense$suspendBridgeCOROUTINE$Class;
|
|
3783
6281
|
}
|
|
3784
|
-
var $
|
|
3785
|
-
function $
|
|
3786
|
-
if ($
|
|
6282
|
+
var $createInsurance$suspendBridgeCOROUTINE$Class;
|
|
6283
|
+
function $createInsurance$suspendBridgeCOROUTINE$() {
|
|
6284
|
+
if ($createInsurance$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3787
6285
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3788
|
-
function $(_this__u8e3s4, companyId,
|
|
6286
|
+
function $(_this__u8e3s4, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3789
6287
|
CoroutineImpl().call(this, resultContinuation);
|
|
3790
6288
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3791
6289
|
this.companyId_1 = companyId;
|
|
3792
|
-
this.conversationId_1 = conversationId;
|
|
3793
6290
|
this.command_1 = command;
|
|
6291
|
+
this.agreement_1 = agreement;
|
|
3794
6292
|
this.attachments_1 = attachments;
|
|
3795
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3796
6293
|
this.idempotencyKey_1 = idempotencyKey;
|
|
3797
6294
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3798
6295
|
}
|
|
@@ -3804,16 +6301,16 @@ function $createConversationInternalMessage$suspendBridgeCOROUTINE$() {
|
|
|
3804
6301
|
switch (tmp) {
|
|
3805
6302
|
case 0:
|
|
3806
6303
|
this.exceptionState_1 = 4;
|
|
3807
|
-
if (this._this__u8e3s4__1.
|
|
6304
|
+
if (this._this__u8e3s4__1.createInsurance === protoOf(IntegratedDocumentMutation()).createInsurance) {
|
|
3808
6305
|
this.state_1 = 2;
|
|
3809
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6306
|
+
suspendResult = this._this__u8e3s4__1.createInsurance$default_l80hw0_k$(this.companyId_1, this.command_1, this.agreement_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3810
6307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3811
6308
|
return suspendResult;
|
|
3812
6309
|
}
|
|
3813
6310
|
continue $sm;
|
|
3814
6311
|
} else {
|
|
3815
6312
|
this.state_1 = 1;
|
|
3816
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6313
|
+
suspendResult = await_0(this._this__u8e3s4__1.createInsurance(this.companyId_1, this.command_1, this.agreement_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3817
6314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3818
6315
|
return suspendResult;
|
|
3819
6316
|
}
|
|
@@ -3844,23 +6341,24 @@ function $createConversationInternalMessage$suspendBridgeCOROUTINE$() {
|
|
|
3844
6341
|
}
|
|
3845
6342
|
while (true);
|
|
3846
6343
|
};
|
|
3847
|
-
$
|
|
6344
|
+
$createInsurance$suspendBridgeCOROUTINE$Class = $;
|
|
3848
6345
|
}
|
|
3849
|
-
return $
|
|
6346
|
+
return $createInsurance$suspendBridgeCOROUTINE$Class;
|
|
3850
6347
|
}
|
|
3851
|
-
var $
|
|
3852
|
-
function $
|
|
3853
|
-
if ($
|
|
6348
|
+
var $updateInsuranceDocuments$suspendBridgeCOROUTINE$Class;
|
|
6349
|
+
function $updateInsuranceDocuments$suspendBridgeCOROUTINE$() {
|
|
6350
|
+
if ($updateInsuranceDocuments$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3854
6351
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3855
|
-
function $(_this__u8e3s4, companyId,
|
|
6352
|
+
function $(_this__u8e3s4, companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3856
6353
|
CoroutineImpl().call(this, resultContinuation);
|
|
3857
6354
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3858
6355
|
this.companyId_1 = companyId;
|
|
3859
|
-
this.
|
|
6356
|
+
this.insuranceId_1 = insuranceId;
|
|
6357
|
+
this.agreement_1 = agreement;
|
|
3860
6358
|
this.attachments_1 = attachments;
|
|
3861
|
-
this.
|
|
3862
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
6359
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
3863
6360
|
this.idempotencyKey_1 = idempotencyKey;
|
|
6361
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
3864
6362
|
}
|
|
3865
6363
|
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3866
6364
|
var suspendResult = this.result_1;
|
|
@@ -3869,24 +6367,39 @@ function $createConversationCOROUTINE$() {
|
|
|
3869
6367
|
var tmp = this.state_1;
|
|
3870
6368
|
switch (tmp) {
|
|
3871
6369
|
case 0:
|
|
3872
|
-
this.exceptionState_1 =
|
|
3873
|
-
this.
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
6370
|
+
this.exceptionState_1 = 4;
|
|
6371
|
+
if (this._this__u8e3s4__1.updateInsuranceDocuments === protoOf(IntegratedDocumentMutation()).updateInsuranceDocuments) {
|
|
6372
|
+
this.state_1 = 2;
|
|
6373
|
+
suspendResult = this._this__u8e3s4__1.updateInsuranceDocuments$default_wz2fho_k$(this.companyId_1, this.insuranceId_1, this.agreement_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
6374
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6375
|
+
return suspendResult;
|
|
6376
|
+
}
|
|
6377
|
+
continue $sm;
|
|
6378
|
+
} else {
|
|
6379
|
+
this.state_1 = 1;
|
|
6380
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateInsuranceDocuments(this.companyId_1, this.insuranceId_1, this.agreement_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
6381
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6382
|
+
return suspendResult;
|
|
6383
|
+
}
|
|
6384
|
+
continue $sm;
|
|
3878
6385
|
}
|
|
3879
6386
|
|
|
3880
|
-
continue $sm;
|
|
3881
6387
|
case 1:
|
|
3882
|
-
|
|
3883
|
-
|
|
6388
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
6389
|
+
this.state_1 = 3;
|
|
6390
|
+
continue $sm;
|
|
3884
6391
|
case 2:
|
|
6392
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
6393
|
+
this.state_1 = 3;
|
|
6394
|
+
continue $sm;
|
|
6395
|
+
case 3:
|
|
6396
|
+
return this.WHEN_RESULT0__1;
|
|
6397
|
+
case 4:
|
|
3885
6398
|
throw this.exception_1;
|
|
3886
6399
|
}
|
|
3887
6400
|
} catch ($p) {
|
|
3888
6401
|
var e = $p;
|
|
3889
|
-
if (this.exceptionState_1 ===
|
|
6402
|
+
if (this.exceptionState_1 === 4) {
|
|
3890
6403
|
throw e;
|
|
3891
6404
|
} else {
|
|
3892
6405
|
this.state_1 = this.exceptionState_1;
|
|
@@ -3895,23 +6408,23 @@ function $createConversationCOROUTINE$() {
|
|
|
3895
6408
|
}
|
|
3896
6409
|
while (true);
|
|
3897
6410
|
};
|
|
3898
|
-
$
|
|
6411
|
+
$updateInsuranceDocuments$suspendBridgeCOROUTINE$Class = $;
|
|
3899
6412
|
}
|
|
3900
|
-
return $
|
|
6413
|
+
return $updateInsuranceDocuments$suspendBridgeCOROUTINE$Class;
|
|
3901
6414
|
}
|
|
3902
|
-
var $
|
|
3903
|
-
function $
|
|
3904
|
-
if ($
|
|
6415
|
+
var $createLoan$suspendBridgeCOROUTINE$Class;
|
|
6416
|
+
function $createLoan$suspendBridgeCOROUTINE$() {
|
|
6417
|
+
if ($createLoan$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3905
6418
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3906
|
-
function $(_this__u8e3s4, companyId, command,
|
|
6419
|
+
function $(_this__u8e3s4, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3907
6420
|
CoroutineImpl().call(this, resultContinuation);
|
|
3908
6421
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3909
6422
|
this.companyId_1 = companyId;
|
|
3910
6423
|
this.command_1 = command;
|
|
6424
|
+
this.agreement_1 = agreement;
|
|
3911
6425
|
this.attachments_1 = attachments;
|
|
3912
|
-
this.onUploadProgress_1 = onUploadProgress;
|
|
3913
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
3914
6426
|
this.idempotencyKey_1 = idempotencyKey;
|
|
6427
|
+
this.onUploadProgress_1 = onUploadProgress;
|
|
3915
6428
|
}
|
|
3916
6429
|
protoOf($).doResume_5yljmg_k$ = function () {
|
|
3917
6430
|
var suspendResult = this.result_1;
|
|
@@ -3921,16 +6434,16 @@ function $createConversation$suspendBridgeCOROUTINE$() {
|
|
|
3921
6434
|
switch (tmp) {
|
|
3922
6435
|
case 0:
|
|
3923
6436
|
this.exceptionState_1 = 4;
|
|
3924
|
-
if (this._this__u8e3s4__1.
|
|
6437
|
+
if (this._this__u8e3s4__1.createLoan === protoOf(IntegratedDocumentMutation()).createLoan) {
|
|
3925
6438
|
this.state_1 = 2;
|
|
3926
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6439
|
+
suspendResult = this._this__u8e3s4__1.createLoan$default_unnv8o_k$(this.companyId_1, this.command_1, this.agreement_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3927
6440
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3928
6441
|
return suspendResult;
|
|
3929
6442
|
}
|
|
3930
6443
|
continue $sm;
|
|
3931
6444
|
} else {
|
|
3932
6445
|
this.state_1 = 1;
|
|
3933
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6446
|
+
suspendResult = await_0(this._this__u8e3s4__1.createLoan(this.companyId_1, this.command_1, this.agreement_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3934
6447
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3935
6448
|
return suspendResult;
|
|
3936
6449
|
}
|
|
@@ -3961,20 +6474,24 @@ function $createConversation$suspendBridgeCOROUTINE$() {
|
|
|
3961
6474
|
}
|
|
3962
6475
|
while (true);
|
|
3963
6476
|
};
|
|
3964
|
-
$
|
|
6477
|
+
$createLoan$suspendBridgeCOROUTINE$Class = $;
|
|
3965
6478
|
}
|
|
3966
|
-
return $
|
|
6479
|
+
return $createLoan$suspendBridgeCOROUTINE$Class;
|
|
3967
6480
|
}
|
|
3968
|
-
var $
|
|
3969
|
-
function $
|
|
3970
|
-
if ($
|
|
6481
|
+
var $updateLoan$suspendBridgeCOROUTINE$Class;
|
|
6482
|
+
function $updateLoan$suspendBridgeCOROUTINE$() {
|
|
6483
|
+
if ($updateLoan$suspendBridgeCOROUTINE$Class === VOID) {
|
|
3971
6484
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
3972
|
-
function $(_this__u8e3s4, companyId, command, attachments, onUploadProgress, resultContinuation) {
|
|
6485
|
+
function $(_this__u8e3s4, companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
3973
6486
|
CoroutineImpl().call(this, resultContinuation);
|
|
3974
6487
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
3975
6488
|
this.companyId_1 = companyId;
|
|
6489
|
+
this.loanId_1 = loanId;
|
|
3976
6490
|
this.command_1 = command;
|
|
6491
|
+
this.agreement_1 = agreement;
|
|
3977
6492
|
this.attachments_1 = attachments;
|
|
6493
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
6494
|
+
this.idempotencyKey_1 = idempotencyKey;
|
|
3978
6495
|
this.onUploadProgress_1 = onUploadProgress;
|
|
3979
6496
|
}
|
|
3980
6497
|
protoOf($).doResume_5yljmg_k$ = function () {
|
|
@@ -3985,16 +6502,16 @@ function $createConversation$suspendBridgeCOROUTINE$_0() {
|
|
|
3985
6502
|
switch (tmp) {
|
|
3986
6503
|
case 0:
|
|
3987
6504
|
this.exceptionState_1 = 4;
|
|
3988
|
-
if (this._this__u8e3s4__1.
|
|
6505
|
+
if (this._this__u8e3s4__1.updateLoan === protoOf(IntegratedDocumentMutation()).updateLoan) {
|
|
3989
6506
|
this.state_1 = 2;
|
|
3990
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6507
|
+
suspendResult = this._this__u8e3s4__1.updateLoan$default_m5ryo9_k$(this.companyId_1, this.loanId_1, this.command_1, this.agreement_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
3991
6508
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3992
6509
|
return suspendResult;
|
|
3993
6510
|
}
|
|
3994
6511
|
continue $sm;
|
|
3995
6512
|
} else {
|
|
3996
6513
|
this.state_1 = 1;
|
|
3997
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6514
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateLoan(this.companyId_1, this.loanId_1, this.command_1, this.agreement_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
3998
6515
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3999
6516
|
return suspendResult;
|
|
4000
6517
|
}
|
|
@@ -4025,23 +6542,21 @@ function $createConversation$suspendBridgeCOROUTINE$_0() {
|
|
|
4025
6542
|
}
|
|
4026
6543
|
while (true);
|
|
4027
6544
|
};
|
|
4028
|
-
$
|
|
6545
|
+
$updateLoan$suspendBridgeCOROUTINE$Class = $;
|
|
4029
6546
|
}
|
|
4030
|
-
return $
|
|
6547
|
+
return $updateLoan$suspendBridgeCOROUTINE$Class;
|
|
4031
6548
|
}
|
|
4032
|
-
var $
|
|
4033
|
-
function $
|
|
4034
|
-
if ($
|
|
6549
|
+
var $createIssue$suspendBridgeCOROUTINE$Class;
|
|
6550
|
+
function $createIssue$suspendBridgeCOROUTINE$() {
|
|
6551
|
+
if ($createIssue$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4035
6552
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4036
|
-
function $(_this__u8e3s4, companyId,
|
|
6553
|
+
function $(_this__u8e3s4, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4037
6554
|
CoroutineImpl().call(this, resultContinuation);
|
|
4038
6555
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4039
6556
|
this.companyId_1 = companyId;
|
|
4040
|
-
this.conversationId_1 = conversationId;
|
|
4041
6557
|
this.command_1 = command;
|
|
4042
6558
|
this.attachments_1 = attachments;
|
|
4043
6559
|
this.inlineDocuments_1 = inlineDocuments;
|
|
4044
|
-
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4045
6560
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4046
6561
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4047
6562
|
}
|
|
@@ -4053,16 +6568,16 @@ function $updateConversation$suspendBridgeCOROUTINE$() {
|
|
|
4053
6568
|
switch (tmp) {
|
|
4054
6569
|
case 0:
|
|
4055
6570
|
this.exceptionState_1 = 4;
|
|
4056
|
-
if (this._this__u8e3s4__1.
|
|
6571
|
+
if (this._this__u8e3s4__1.createIssue === protoOf(IntegratedDocumentMutation()).createIssue) {
|
|
4057
6572
|
this.state_1 = 2;
|
|
4058
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6573
|
+
suspendResult = this._this__u8e3s4__1.createIssue$default_5aeggc_k$(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4059
6574
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4060
6575
|
return suspendResult;
|
|
4061
6576
|
}
|
|
4062
6577
|
continue $sm;
|
|
4063
6578
|
} else {
|
|
4064
6579
|
this.state_1 = 1;
|
|
4065
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6580
|
+
suspendResult = await_0(this._this__u8e3s4__1.createIssue(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4066
6581
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4067
6582
|
return suspendResult;
|
|
4068
6583
|
}
|
|
@@ -4093,20 +6608,23 @@ function $updateConversation$suspendBridgeCOROUTINE$() {
|
|
|
4093
6608
|
}
|
|
4094
6609
|
while (true);
|
|
4095
6610
|
};
|
|
4096
|
-
$
|
|
6611
|
+
$createIssue$suspendBridgeCOROUTINE$Class = $;
|
|
4097
6612
|
}
|
|
4098
|
-
return $
|
|
6613
|
+
return $createIssue$suspendBridgeCOROUTINE$Class;
|
|
4099
6614
|
}
|
|
4100
|
-
var $
|
|
4101
|
-
function $
|
|
4102
|
-
if ($
|
|
6615
|
+
var $updateIssue$suspendBridgeCOROUTINE$Class;
|
|
6616
|
+
function $updateIssue$suspendBridgeCOROUTINE$() {
|
|
6617
|
+
if ($updateIssue$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4103
6618
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4104
|
-
function $(_this__u8e3s4, companyId, command,
|
|
6619
|
+
function $(_this__u8e3s4, companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4105
6620
|
CoroutineImpl().call(this, resultContinuation);
|
|
4106
6621
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4107
6622
|
this.companyId_1 = companyId;
|
|
6623
|
+
this.issueId_1 = issueId;
|
|
4108
6624
|
this.command_1 = command;
|
|
4109
|
-
this.
|
|
6625
|
+
this.attachments_1 = attachments;
|
|
6626
|
+
this.inlineDocuments_1 = inlineDocuments;
|
|
6627
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4110
6628
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4111
6629
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4112
6630
|
}
|
|
@@ -4118,16 +6636,16 @@ function $createNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
|
4118
6636
|
switch (tmp) {
|
|
4119
6637
|
case 0:
|
|
4120
6638
|
this.exceptionState_1 = 4;
|
|
4121
|
-
if (this._this__u8e3s4__1.
|
|
6639
|
+
if (this._this__u8e3s4__1.updateIssue === protoOf(IntegratedDocumentMutation()).updateIssue) {
|
|
4122
6640
|
this.state_1 = 2;
|
|
4123
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6641
|
+
suspendResult = this._this__u8e3s4__1.updateIssue$default_g6r88j_k$(this.companyId_1, this.issueId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4124
6642
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4125
6643
|
return suspendResult;
|
|
4126
6644
|
}
|
|
4127
6645
|
continue $sm;
|
|
4128
6646
|
} else {
|
|
4129
6647
|
this.state_1 = 1;
|
|
4130
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6648
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssue(this.companyId_1, this.issueId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4131
6649
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4132
6650
|
return suspendResult;
|
|
4133
6651
|
}
|
|
@@ -4158,23 +6676,20 @@ function $createNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
|
4158
6676
|
}
|
|
4159
6677
|
while (true);
|
|
4160
6678
|
};
|
|
4161
|
-
$
|
|
6679
|
+
$updateIssue$suspendBridgeCOROUTINE$Class = $;
|
|
4162
6680
|
}
|
|
4163
|
-
return $
|
|
6681
|
+
return $updateIssue$suspendBridgeCOROUTINE$Class;
|
|
4164
6682
|
}
|
|
4165
|
-
var $
|
|
4166
|
-
function $
|
|
4167
|
-
if ($
|
|
6683
|
+
var $createMeeting$suspendBridgeCOROUTINE$Class;
|
|
6684
|
+
function $createMeeting$suspendBridgeCOROUTINE$() {
|
|
6685
|
+
if ($createMeeting$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4168
6686
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4169
|
-
function $(_this__u8e3s4, companyId,
|
|
6687
|
+
function $(_this__u8e3s4, companyId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4170
6688
|
CoroutineImpl().call(this, resultContinuation);
|
|
4171
6689
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4172
6690
|
this.companyId_1 = companyId;
|
|
4173
|
-
this.groupId_1 = groupId;
|
|
4174
6691
|
this.command_1 = command;
|
|
4175
|
-
this.
|
|
4176
|
-
this.image_1 = image;
|
|
4177
|
-
this.removeDocumentIds_1 = removeDocumentIds;
|
|
6692
|
+
this.attachments_1 = attachments;
|
|
4178
6693
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4179
6694
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4180
6695
|
}
|
|
@@ -4186,16 +6701,16 @@ function $updateNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
|
4186
6701
|
switch (tmp) {
|
|
4187
6702
|
case 0:
|
|
4188
6703
|
this.exceptionState_1 = 4;
|
|
4189
|
-
if (this._this__u8e3s4__1.
|
|
6704
|
+
if (this._this__u8e3s4__1.createMeeting === protoOf(IntegratedDocumentMutation()).createMeeting) {
|
|
4190
6705
|
this.state_1 = 2;
|
|
4191
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6706
|
+
suspendResult = this._this__u8e3s4__1.createMeeting$default_9qlwx3_k$(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4192
6707
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4193
6708
|
return suspendResult;
|
|
4194
6709
|
}
|
|
4195
6710
|
continue $sm;
|
|
4196
6711
|
} else {
|
|
4197
6712
|
this.state_1 = 1;
|
|
4198
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6713
|
+
suspendResult = await_0(this._this__u8e3s4__1.createMeeting(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4199
6714
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4200
6715
|
return suspendResult;
|
|
4201
6716
|
}
|
|
@@ -4226,23 +6741,22 @@ function $updateNeighborhoodGroup$suspendBridgeCOROUTINE$() {
|
|
|
4226
6741
|
}
|
|
4227
6742
|
while (true);
|
|
4228
6743
|
};
|
|
4229
|
-
$
|
|
6744
|
+
$createMeeting$suspendBridgeCOROUTINE$Class = $;
|
|
4230
6745
|
}
|
|
4231
|
-
return $
|
|
6746
|
+
return $createMeeting$suspendBridgeCOROUTINE$Class;
|
|
4232
6747
|
}
|
|
4233
|
-
var $
|
|
4234
|
-
function $
|
|
4235
|
-
if ($
|
|
6748
|
+
var $updateMeeting$suspendBridgeCOROUTINE$Class;
|
|
6749
|
+
function $updateMeeting$suspendBridgeCOROUTINE$() {
|
|
6750
|
+
if ($updateMeeting$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4236
6751
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4237
|
-
function $(_this__u8e3s4, companyId,
|
|
6752
|
+
function $(_this__u8e3s4, companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4238
6753
|
CoroutineImpl().call(this, resultContinuation);
|
|
4239
6754
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4240
6755
|
this.companyId_1 = companyId;
|
|
4241
|
-
this.
|
|
6756
|
+
this.meetingId_1 = meetingId;
|
|
4242
6757
|
this.command_1 = command;
|
|
4243
|
-
this.image_1 = image;
|
|
4244
6758
|
this.attachments_1 = attachments;
|
|
4245
|
-
this.
|
|
6759
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4246
6760
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4247
6761
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4248
6762
|
}
|
|
@@ -4254,16 +6768,16 @@ function $createNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
|
4254
6768
|
switch (tmp) {
|
|
4255
6769
|
case 0:
|
|
4256
6770
|
this.exceptionState_1 = 4;
|
|
4257
|
-
if (this._this__u8e3s4__1.
|
|
6771
|
+
if (this._this__u8e3s4__1.updateMeeting === protoOf(IntegratedDocumentMutation()).updateMeeting) {
|
|
4258
6772
|
this.state_1 = 2;
|
|
4259
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6773
|
+
suspendResult = this._this__u8e3s4__1.updateMeeting$default_p3ryjs_k$(this.companyId_1, this.meetingId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4260
6774
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4261
6775
|
return suspendResult;
|
|
4262
6776
|
}
|
|
4263
6777
|
continue $sm;
|
|
4264
6778
|
} else {
|
|
4265
6779
|
this.state_1 = 1;
|
|
4266
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6780
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateMeeting(this.companyId_1, this.meetingId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4267
6781
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4268
6782
|
return suspendResult;
|
|
4269
6783
|
}
|
|
@@ -4294,25 +6808,20 @@ function $createNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
|
4294
6808
|
}
|
|
4295
6809
|
while (true);
|
|
4296
6810
|
};
|
|
4297
|
-
$
|
|
6811
|
+
$updateMeeting$suspendBridgeCOROUTINE$Class = $;
|
|
4298
6812
|
}
|
|
4299
|
-
return $
|
|
6813
|
+
return $updateMeeting$suspendBridgeCOROUTINE$Class;
|
|
4300
6814
|
}
|
|
4301
|
-
var $
|
|
4302
|
-
function $
|
|
4303
|
-
if ($
|
|
6815
|
+
var $createRoutine$suspendBridgeCOROUTINE$Class;
|
|
6816
|
+
function $createRoutine$suspendBridgeCOROUTINE$() {
|
|
6817
|
+
if ($createRoutine$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4304
6818
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4305
|
-
function $(_this__u8e3s4, companyId,
|
|
6819
|
+
function $(_this__u8e3s4, companyId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4306
6820
|
CoroutineImpl().call(this, resultContinuation);
|
|
4307
6821
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4308
6822
|
this.companyId_1 = companyId;
|
|
4309
|
-
this.postId_1 = postId;
|
|
4310
6823
|
this.command_1 = command;
|
|
4311
|
-
this.pictureDocumentId_1 = pictureDocumentId;
|
|
4312
|
-
this.image_1 = image;
|
|
4313
6824
|
this.attachments_1 = attachments;
|
|
4314
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
4315
|
-
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4316
6825
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4317
6826
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4318
6827
|
}
|
|
@@ -4324,16 +6833,16 @@ function $updateNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
|
4324
6833
|
switch (tmp) {
|
|
4325
6834
|
case 0:
|
|
4326
6835
|
this.exceptionState_1 = 4;
|
|
4327
|
-
if (this._this__u8e3s4__1.
|
|
6836
|
+
if (this._this__u8e3s4__1.createRoutine === protoOf(IntegratedDocumentMutation()).createRoutine) {
|
|
4328
6837
|
this.state_1 = 2;
|
|
4329
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6838
|
+
suspendResult = this._this__u8e3s4__1.createRoutine$default_40a7n0_k$(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4330
6839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4331
6840
|
return suspendResult;
|
|
4332
6841
|
}
|
|
4333
6842
|
continue $sm;
|
|
4334
6843
|
} else {
|
|
4335
6844
|
this.state_1 = 1;
|
|
4336
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6845
|
+
suspendResult = await_0(this._this__u8e3s4__1.createRoutine(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4337
6846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4338
6847
|
return suspendResult;
|
|
4339
6848
|
}
|
|
@@ -4364,22 +6873,22 @@ function $updateNeighborhoodPost$suspendBridgeCOROUTINE$() {
|
|
|
4364
6873
|
}
|
|
4365
6874
|
while (true);
|
|
4366
6875
|
};
|
|
4367
|
-
$
|
|
6876
|
+
$createRoutine$suspendBridgeCOROUTINE$Class = $;
|
|
4368
6877
|
}
|
|
4369
|
-
return $
|
|
6878
|
+
return $createRoutine$suspendBridgeCOROUTINE$Class;
|
|
4370
6879
|
}
|
|
4371
|
-
var $
|
|
4372
|
-
function $
|
|
4373
|
-
if ($
|
|
6880
|
+
var $updateRoutine$suspendBridgeCOROUTINE$Class;
|
|
6881
|
+
function $updateRoutine$suspendBridgeCOROUTINE$() {
|
|
6882
|
+
if ($updateRoutine$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4374
6883
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4375
|
-
function $(_this__u8e3s4, companyId,
|
|
6884
|
+
function $(_this__u8e3s4, companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4376
6885
|
CoroutineImpl().call(this, resultContinuation);
|
|
4377
6886
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4378
6887
|
this.companyId_1 = companyId;
|
|
4379
|
-
this.
|
|
6888
|
+
this.routineId_1 = routineId;
|
|
4380
6889
|
this.command_1 = command;
|
|
4381
6890
|
this.attachments_1 = attachments;
|
|
4382
|
-
this.
|
|
6891
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4383
6892
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4384
6893
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4385
6894
|
}
|
|
@@ -4391,16 +6900,16 @@ function $createHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
|
4391
6900
|
switch (tmp) {
|
|
4392
6901
|
case 0:
|
|
4393
6902
|
this.exceptionState_1 = 4;
|
|
4394
|
-
if (this._this__u8e3s4__1.
|
|
6903
|
+
if (this._this__u8e3s4__1.updateRoutine === protoOf(IntegratedDocumentMutation()).updateRoutine) {
|
|
4395
6904
|
this.state_1 = 2;
|
|
4396
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6905
|
+
suspendResult = this._this__u8e3s4__1.updateRoutine$default_skwbwv_k$(this.companyId_1, this.routineId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4397
6906
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4398
6907
|
return suspendResult;
|
|
4399
6908
|
}
|
|
4400
6909
|
continue $sm;
|
|
4401
6910
|
} else {
|
|
4402
6911
|
this.state_1 = 1;
|
|
4403
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6912
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateRoutine(this.companyId_1, this.routineId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4404
6913
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4405
6914
|
return suspendResult;
|
|
4406
6915
|
}
|
|
@@ -4431,24 +6940,20 @@ function $createHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
|
4431
6940
|
}
|
|
4432
6941
|
while (true);
|
|
4433
6942
|
};
|
|
4434
|
-
$
|
|
6943
|
+
$updateRoutine$suspendBridgeCOROUTINE$Class = $;
|
|
4435
6944
|
}
|
|
4436
|
-
return $
|
|
6945
|
+
return $updateRoutine$suspendBridgeCOROUTINE$Class;
|
|
4437
6946
|
}
|
|
4438
|
-
var $
|
|
4439
|
-
function $
|
|
4440
|
-
if ($
|
|
6947
|
+
var $createCompanySupplier$suspendBridgeCOROUTINE$Class;
|
|
6948
|
+
function $createCompanySupplier$suspendBridgeCOROUTINE$() {
|
|
6949
|
+
if ($createCompanySupplier$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4441
6950
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4442
|
-
function $(_this__u8e3s4, companyId,
|
|
6951
|
+
function $(_this__u8e3s4, companyId, command, attachments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4443
6952
|
CoroutineImpl().call(this, resultContinuation);
|
|
4444
6953
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4445
6954
|
this.companyId_1 = companyId;
|
|
4446
|
-
this.postId_1 = postId;
|
|
4447
|
-
this.commentId_1 = commentId;
|
|
4448
6955
|
this.command_1 = command;
|
|
4449
6956
|
this.attachments_1 = attachments;
|
|
4450
|
-
this.inlineDocuments_1 = inlineDocuments;
|
|
4451
|
-
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4452
6957
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4453
6958
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4454
6959
|
}
|
|
@@ -4460,16 +6965,16 @@ function $updateHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
|
4460
6965
|
switch (tmp) {
|
|
4461
6966
|
case 0:
|
|
4462
6967
|
this.exceptionState_1 = 4;
|
|
4463
|
-
if (this._this__u8e3s4__1.
|
|
6968
|
+
if (this._this__u8e3s4__1.createCompanySupplier === protoOf(IntegratedDocumentMutation()).createCompanySupplier) {
|
|
4464
6969
|
this.state_1 = 2;
|
|
4465
|
-
suspendResult = this._this__u8e3s4__1.
|
|
6970
|
+
suspendResult = this._this__u8e3s4__1.createCompanySupplier$default_c76nrd_k$(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4466
6971
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4467
6972
|
return suspendResult;
|
|
4468
6973
|
}
|
|
4469
6974
|
continue $sm;
|
|
4470
6975
|
} else {
|
|
4471
6976
|
this.state_1 = 1;
|
|
4472
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
6977
|
+
suspendResult = await_0(this._this__u8e3s4__1.createCompanySupplier(this.companyId_1, this.command_1, this.attachments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4473
6978
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4474
6979
|
return suspendResult;
|
|
4475
6980
|
}
|
|
@@ -4500,22 +7005,22 @@ function $updateHomepagePostComment$suspendBridgeCOROUTINE$() {
|
|
|
4500
7005
|
}
|
|
4501
7006
|
while (true);
|
|
4502
7007
|
};
|
|
4503
|
-
$
|
|
7008
|
+
$createCompanySupplier$suspendBridgeCOROUTINE$Class = $;
|
|
4504
7009
|
}
|
|
4505
|
-
return $
|
|
7010
|
+
return $createCompanySupplier$suspendBridgeCOROUTINE$Class;
|
|
4506
7011
|
}
|
|
4507
|
-
var $
|
|
4508
|
-
function $
|
|
4509
|
-
if ($
|
|
7012
|
+
var $updateCompanySupplier$suspendBridgeCOROUTINE$Class;
|
|
7013
|
+
function $updateCompanySupplier$suspendBridgeCOROUTINE$() {
|
|
7014
|
+
if ($updateCompanySupplier$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4510
7015
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4511
|
-
function $(_this__u8e3s4, companyId,
|
|
7016
|
+
function $(_this__u8e3s4, companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4512
7017
|
CoroutineImpl().call(this, resultContinuation);
|
|
4513
7018
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4514
7019
|
this.companyId_1 = companyId;
|
|
4515
|
-
this.
|
|
7020
|
+
this.supplierId_1 = supplierId;
|
|
4516
7021
|
this.command_1 = command;
|
|
4517
7022
|
this.attachments_1 = attachments;
|
|
4518
|
-
this.
|
|
7023
|
+
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4519
7024
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4520
7025
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4521
7026
|
}
|
|
@@ -4527,16 +7032,16 @@ function $createNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
|
4527
7032
|
switch (tmp) {
|
|
4528
7033
|
case 0:
|
|
4529
7034
|
this.exceptionState_1 = 4;
|
|
4530
|
-
if (this._this__u8e3s4__1.
|
|
7035
|
+
if (this._this__u8e3s4__1.updateCompanySupplier === protoOf(IntegratedDocumentMutation()).updateCompanySupplier) {
|
|
4531
7036
|
this.state_1 = 2;
|
|
4532
|
-
suspendResult = this._this__u8e3s4__1.
|
|
7037
|
+
suspendResult = this._this__u8e3s4__1.updateCompanySupplier$default_ocltam_k$(this.companyId_1, this.supplierId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4533
7038
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4534
7039
|
return suspendResult;
|
|
4535
7040
|
}
|
|
4536
7041
|
continue $sm;
|
|
4537
7042
|
} else {
|
|
4538
7043
|
this.state_1 = 1;
|
|
4539
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
7044
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateCompanySupplier(this.companyId_1, this.supplierId_1, this.command_1, this.attachments_1, this.removeDocumentIds_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4540
7045
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4541
7046
|
return suspendResult;
|
|
4542
7047
|
}
|
|
@@ -4567,24 +7072,21 @@ function $createNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
|
4567
7072
|
}
|
|
4568
7073
|
while (true);
|
|
4569
7074
|
};
|
|
4570
|
-
$
|
|
7075
|
+
$updateCompanySupplier$suspendBridgeCOROUTINE$Class = $;
|
|
4571
7076
|
}
|
|
4572
|
-
return $
|
|
7077
|
+
return $updateCompanySupplier$suspendBridgeCOROUTINE$Class;
|
|
4573
7078
|
}
|
|
4574
|
-
var $
|
|
4575
|
-
function $
|
|
4576
|
-
if ($
|
|
7079
|
+
var $createInquiry$suspendBridgeCOROUTINE$Class;
|
|
7080
|
+
function $createInquiry$suspendBridgeCOROUTINE$() {
|
|
7081
|
+
if ($createInquiry$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4577
7082
|
initMetadataForCoroutine($, CoroutineImpl());
|
|
4578
|
-
function $(_this__u8e3s4, companyId,
|
|
7083
|
+
function $(_this__u8e3s4, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, resultContinuation) {
|
|
4579
7084
|
CoroutineImpl().call(this, resultContinuation);
|
|
4580
7085
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4581
7086
|
this.companyId_1 = companyId;
|
|
4582
|
-
this.postId_1 = postId;
|
|
4583
|
-
this.commentId_1 = commentId;
|
|
4584
7087
|
this.command_1 = command;
|
|
4585
7088
|
this.attachments_1 = attachments;
|
|
4586
7089
|
this.inlineDocuments_1 = inlineDocuments;
|
|
4587
|
-
this.removeDocumentIds_1 = removeDocumentIds;
|
|
4588
7090
|
this.idempotencyKey_1 = idempotencyKey;
|
|
4589
7091
|
this.onUploadProgress_1 = onUploadProgress;
|
|
4590
7092
|
}
|
|
@@ -4596,16 +7098,16 @@ function $updateNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
|
4596
7098
|
switch (tmp) {
|
|
4597
7099
|
case 0:
|
|
4598
7100
|
this.exceptionState_1 = 4;
|
|
4599
|
-
if (this._this__u8e3s4__1.
|
|
7101
|
+
if (this._this__u8e3s4__1.createInquiry === protoOf(IntegratedDocumentMutation()).createInquiry) {
|
|
4600
7102
|
this.state_1 = 2;
|
|
4601
|
-
suspendResult = this._this__u8e3s4__1.
|
|
7103
|
+
suspendResult = this._this__u8e3s4__1.createInquiry$default_wbw4b8_k$(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1, this);
|
|
4602
7104
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4603
7105
|
return suspendResult;
|
|
4604
7106
|
}
|
|
4605
7107
|
continue $sm;
|
|
4606
7108
|
} else {
|
|
4607
7109
|
this.state_1 = 1;
|
|
4608
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
7110
|
+
suspendResult = await_0(this._this__u8e3s4__1.createInquiry(this.companyId_1, this.command_1, this.attachments_1, this.inlineDocuments_1, this.idempotencyKey_1, this.onUploadProgress_1), this);
|
|
4609
7111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4610
7112
|
return suspendResult;
|
|
4611
7113
|
}
|
|
@@ -4636,9 +7138,9 @@ function $updateNeighborhoodPostComment$suspendBridgeCOROUTINE$() {
|
|
|
4636
7138
|
}
|
|
4637
7139
|
while (true);
|
|
4638
7140
|
};
|
|
4639
|
-
$
|
|
7141
|
+
$createInquiry$suspendBridgeCOROUTINE$Class = $;
|
|
4640
7142
|
}
|
|
4641
|
-
return $
|
|
7143
|
+
return $createInquiry$suspendBridgeCOROUTINE$Class;
|
|
4642
7144
|
}
|
|
4643
7145
|
var $executeCOROUTINE$Class;
|
|
4644
7146
|
function $executeCOROUTINE$() {
|
|
@@ -4706,7 +7208,7 @@ function $executeCOROUTINE$() {
|
|
|
4706
7208
|
var tmp_0 = this.exception_1;
|
|
4707
7209
|
if (tmp_0 instanceof CancellationException()) {
|
|
4708
7210
|
var cause = this.exception_1;
|
|
4709
|
-
throw new (IntegratedDocumentMutationCancellationException())('FINALIZE', this.resolvedIdempotencyKey0__1, true, [], 'Integrated document mutation finalization was cancelled; outcome is ' + ('unknown for idempotency key ' + this.resolvedIdempotencyKey0__1 + ';
|
|
7211
|
+
throw new (IntegratedDocumentMutationCancellationException())('FINALIZE', this.resolvedIdempotencyKey0__1, true, [], 'Integrated document mutation finalization was cancelled; outcome is ' + ('unknown for idempotency key ' + this.resolvedIdempotencyKey0__1 + '; retry the ') + 'same request and files with that key to get the saved result');
|
|
4710
7212
|
} else {
|
|
4711
7213
|
var tmp_1 = this.exception_1;
|
|
4712
7214
|
if (tmp_1 instanceof Error) {
|
|
@@ -4753,7 +7255,7 @@ function $executeCOROUTINE$() {
|
|
|
4753
7255
|
}
|
|
4754
7256
|
while (false);
|
|
4755
7257
|
var cause_0 = tmp$ret$0;
|
|
4756
|
-
throw new (IntegratedDocumentMutationException())('FINALIZE', this.resolvedIdempotencyKey0__1, true, [], 'Integrated document mutation outcome is unknown after 2 attempts; temporary binaries were retained;
|
|
7258
|
+
throw new (IntegratedDocumentMutationException())('FINALIZE', this.resolvedIdempotencyKey0__1, true, [], 'Integrated document mutation outcome is unknown after 2 attempts; temporary binaries were retained; retry the same request and files with ' + ('idempotency key ' + this.resolvedIdempotencyKey0__1 + ' to get the saved result: ' + cause_0.message));
|
|
4757
7259
|
case 10:
|
|
4758
7260
|
throw this.exception_1;
|
|
4759
7261
|
}
|
|
@@ -5293,6 +7795,417 @@ function IntegratedDocumentMutation() {
|
|
|
5293
7795
|
tmp.exception_1 = null;
|
|
5294
7796
|
return tmp.doResume_5yljmg_k$();
|
|
5295
7797
|
};
|
|
7798
|
+
protoOf($).createSettlement_4apwaa_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7799
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
7800
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createSettlement$slambda_0(this, companyId, command, null), $completion);
|
|
7801
|
+
};
|
|
7802
|
+
protoOf($).createSettlement$default_6cx41d_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7803
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7804
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7805
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7806
|
+
return $super === VOID ? this.createSettlement_4apwaa_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createSettlement_4apwaa_k$.call(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7807
|
+
};
|
|
7808
|
+
protoOf($).createSettlement = function (companyId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
7809
|
+
var tmp = this;
|
|
7810
|
+
return promisify(function ($completion) {
|
|
7811
|
+
return tmp.createSettlement$default_6cx41d_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7812
|
+
});
|
|
7813
|
+
};
|
|
7814
|
+
protoOf($).createSettlement$suspendBridge_calvwx_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7815
|
+
var tmp = new ($createSettlement$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7816
|
+
tmp.result_1 = Unit_instance;
|
|
7817
|
+
tmp.exception_1 = null;
|
|
7818
|
+
return tmp.doResume_5yljmg_k$();
|
|
7819
|
+
};
|
|
7820
|
+
protoOf($).updateSettlement_xin55o_k$ = function (companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7821
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
7822
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateSettlement$slambda_0(this, companyId, settlementId, command, removeDocumentIds, null), $completion);
|
|
7823
|
+
};
|
|
7824
|
+
protoOf($).updateSettlement$default_yzasfq_k$ = function (companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7825
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7826
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
7827
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7828
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7829
|
+
return $super === VOID ? this.updateSettlement_xin55o_k$(companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateSettlement_xin55o_k$.call(this, companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7830
|
+
};
|
|
7831
|
+
protoOf($).updateSettlement = function (companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
7832
|
+
var tmp = this;
|
|
7833
|
+
return promisify(function ($completion) {
|
|
7834
|
+
return tmp.updateSettlement$default_yzasfq_k$(companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7835
|
+
});
|
|
7836
|
+
};
|
|
7837
|
+
protoOf($).updateSettlement$suspendBridge_ffbyal_k$ = function (companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7838
|
+
var tmp = new ($updateSettlement$suspendBridgeCOROUTINE$())(this, companyId, settlementId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7839
|
+
tmp.result_1 = Unit_instance;
|
|
7840
|
+
tmp.exception_1 = null;
|
|
7841
|
+
return tmp.doResume_5yljmg_k$();
|
|
7842
|
+
};
|
|
7843
|
+
protoOf($).createSettlementCustomCost_ei0k32_k$ = function (companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7844
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
7845
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createSettlementCustomCost$slambda_0(this, companyId, settlementId, command, null), $completion);
|
|
7846
|
+
};
|
|
7847
|
+
protoOf($).createSettlementCustomCost$default_8ofjov_k$ = function (companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7848
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7849
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7850
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7851
|
+
return $super === VOID ? this.createSettlementCustomCost_ei0k32_k$(companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createSettlementCustomCost_ei0k32_k$.call(this, companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7852
|
+
};
|
|
7853
|
+
protoOf($).createSettlementCustomCost = function (companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
7854
|
+
var tmp = this;
|
|
7855
|
+
return promisify(function ($completion) {
|
|
7856
|
+
return tmp.createSettlementCustomCost$default_8ofjov_k$(companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7857
|
+
});
|
|
7858
|
+
};
|
|
7859
|
+
protoOf($).createSettlementCustomCost$suspendBridge_g93v71_k$ = function (companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7860
|
+
var tmp = new ($createSettlementCustomCost$suspendBridgeCOROUTINE$())(this, companyId, settlementId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7861
|
+
tmp.result_1 = Unit_instance;
|
|
7862
|
+
tmp.exception_1 = null;
|
|
7863
|
+
return tmp.doResume_5yljmg_k$();
|
|
7864
|
+
};
|
|
7865
|
+
protoOf($).updateSettlementCustomCost_c9i1ty_k$ = function (companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7866
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
7867
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateSettlementCustomCost$slambda_0(this, companyId, settlementId, customCostId, command, removeDocumentIds, null), $completion);
|
|
7868
|
+
};
|
|
7869
|
+
protoOf($).updateSettlementCustomCost$default_euvmh2_k$ = function (companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7870
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7871
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
7872
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7873
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7874
|
+
return $super === VOID ? this.updateSettlementCustomCost_c9i1ty_k$(companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateSettlementCustomCost_c9i1ty_k$.call(this, companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7875
|
+
};
|
|
7876
|
+
protoOf($).updateSettlementCustomCost = function (companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
7877
|
+
var tmp = this;
|
|
7878
|
+
return promisify(function ($completion) {
|
|
7879
|
+
return tmp.updateSettlementCustomCost$default_euvmh2_k$(companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7880
|
+
});
|
|
7881
|
+
};
|
|
7882
|
+
protoOf($).updateSettlementCustomCost$suspendBridge_qdqc9_k$ = function (companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7883
|
+
var tmp = new ($updateSettlementCustomCost$suspendBridgeCOROUTINE$())(this, companyId, settlementId, customCostId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7884
|
+
tmp.result_1 = Unit_instance;
|
|
7885
|
+
tmp.exception_1 = null;
|
|
7886
|
+
return tmp.doResume_5yljmg_k$();
|
|
7887
|
+
};
|
|
7888
|
+
protoOf($).createExpense_nfsyp3_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7889
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
7890
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createExpense$slambda_0(this, companyId, command, null), $completion);
|
|
7891
|
+
};
|
|
7892
|
+
protoOf($).createExpense$default_8igovk_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7893
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7894
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7895
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7896
|
+
return $super === VOID ? this.createExpense_nfsyp3_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createExpense_nfsyp3_k$.call(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7897
|
+
};
|
|
7898
|
+
protoOf($).createExpense = function (companyId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
7899
|
+
var tmp = this;
|
|
7900
|
+
return promisify(function ($completion) {
|
|
7901
|
+
return tmp.createExpense$default_8igovk_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7902
|
+
});
|
|
7903
|
+
};
|
|
7904
|
+
protoOf($).createExpense$suspendBridge_5t6y2g_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7905
|
+
var tmp = new ($createExpense$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7906
|
+
tmp.result_1 = Unit_instance;
|
|
7907
|
+
tmp.exception_1 = null;
|
|
7908
|
+
return tmp.doResume_5yljmg_k$();
|
|
7909
|
+
};
|
|
7910
|
+
protoOf($).createInsurance_o88ie0_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7911
|
+
var tmp = withAgreement(this, agreement, attachments);
|
|
7912
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createInsurance$slambda_0(this, agreement, companyId, command, null), $completion);
|
|
7913
|
+
};
|
|
7914
|
+
protoOf($).createInsurance$default_l80hw0_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7915
|
+
agreement = agreement === VOID ? null : agreement;
|
|
7916
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7917
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7918
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7919
|
+
return $super === VOID ? this.createInsurance_o88ie0_k$(companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createInsurance_o88ie0_k$.call(this, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7920
|
+
};
|
|
7921
|
+
protoOf($).createInsurance = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress) {
|
|
7922
|
+
var tmp = this;
|
|
7923
|
+
return promisify(function ($completion) {
|
|
7924
|
+
return tmp.createInsurance$default_l80hw0_k$(companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7925
|
+
});
|
|
7926
|
+
};
|
|
7927
|
+
protoOf($).createInsurance$suspendBridge_7ia0lj_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7928
|
+
var tmp = new ($createInsurance$suspendBridgeCOROUTINE$())(this, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7929
|
+
tmp.result_1 = Unit_instance;
|
|
7930
|
+
tmp.exception_1 = null;
|
|
7931
|
+
return tmp.doResume_5yljmg_k$();
|
|
7932
|
+
};
|
|
7933
|
+
protoOf($).updateInsuranceDocuments_uj5r6t_k$ = function (companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7934
|
+
var tmp = withAgreement(this, agreement, attachments);
|
|
7935
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateInsuranceDocuments$slambda_0(this, agreement, companyId, insuranceId, removeDocumentIds, null), $completion);
|
|
7936
|
+
};
|
|
7937
|
+
protoOf($).updateInsuranceDocuments$default_wz2fho_k$ = function (companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7938
|
+
agreement = agreement === VOID ? null : agreement;
|
|
7939
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7940
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
7941
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7942
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7943
|
+
return $super === VOID ? this.updateInsuranceDocuments_uj5r6t_k$(companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateInsuranceDocuments_uj5r6t_k$.call(this, companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7944
|
+
};
|
|
7945
|
+
protoOf($).updateInsuranceDocuments = function (companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
7946
|
+
var tmp = this;
|
|
7947
|
+
return promisify(function ($completion) {
|
|
7948
|
+
return tmp.updateInsuranceDocuments$default_wz2fho_k$(companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7949
|
+
});
|
|
7950
|
+
};
|
|
7951
|
+
protoOf($).updateInsuranceDocuments$suspendBridge_ouvxc4_k$ = function (companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7952
|
+
var tmp = new ($updateInsuranceDocuments$suspendBridgeCOROUTINE$())(this, companyId, insuranceId, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7953
|
+
tmp.result_1 = Unit_instance;
|
|
7954
|
+
tmp.exception_1 = null;
|
|
7955
|
+
return tmp.doResume_5yljmg_k$();
|
|
7956
|
+
};
|
|
7957
|
+
protoOf($).createLoan_y6cgm0_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7958
|
+
var tmp = withAgreement(this, agreement, attachments);
|
|
7959
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createLoan$slambda_0(this, agreement, companyId, command, null), $completion);
|
|
7960
|
+
};
|
|
7961
|
+
protoOf($).createLoan$default_unnv8o_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7962
|
+
agreement = agreement === VOID ? null : agreement;
|
|
7963
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7964
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7965
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7966
|
+
return $super === VOID ? this.createLoan_y6cgm0_k$(companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createLoan_y6cgm0_k$.call(this, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7967
|
+
};
|
|
7968
|
+
protoOf($).createLoan = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress) {
|
|
7969
|
+
var tmp = this;
|
|
7970
|
+
return promisify(function ($completion) {
|
|
7971
|
+
return tmp.createLoan$default_unnv8o_k$(companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7972
|
+
});
|
|
7973
|
+
};
|
|
7974
|
+
protoOf($).createLoan$suspendBridge_66fr2f_k$ = function (companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
7975
|
+
var tmp = new ($createLoan$suspendBridgeCOROUTINE$())(this, companyId, command, agreement, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
7976
|
+
tmp.result_1 = Unit_instance;
|
|
7977
|
+
tmp.exception_1 = null;
|
|
7978
|
+
return tmp.doResume_5yljmg_k$();
|
|
7979
|
+
};
|
|
7980
|
+
protoOf($).updateLoan_4147nk_k$ = function (companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7981
|
+
var tmp = withAgreement(this, agreement, attachments);
|
|
7982
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateLoan$slambda_0(this, agreement, companyId, loanId, command, removeDocumentIds, null), $completion);
|
|
7983
|
+
};
|
|
7984
|
+
protoOf($).updateLoan$default_m5ryo9_k$ = function (companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
7985
|
+
agreement = agreement === VOID ? null : agreement;
|
|
7986
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
7987
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
7988
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
7989
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
7990
|
+
return $super === VOID ? this.updateLoan_4147nk_k$(companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateLoan_4147nk_k$.call(this, companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7991
|
+
};
|
|
7992
|
+
protoOf($).updateLoan = function (companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
7993
|
+
var tmp = this;
|
|
7994
|
+
return promisify(function ($completion) {
|
|
7995
|
+
return tmp.updateLoan$default_m5ryo9_k$(companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
7996
|
+
});
|
|
7997
|
+
};
|
|
7998
|
+
protoOf($).updateLoan$suspendBridge_udhedb_k$ = function (companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
7999
|
+
var tmp = new ($updateLoan$suspendBridgeCOROUTINE$())(this, companyId, loanId, command, agreement, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8000
|
+
tmp.result_1 = Unit_instance;
|
|
8001
|
+
tmp.exception_1 = null;
|
|
8002
|
+
return tmp.doResume_5yljmg_k$();
|
|
8003
|
+
};
|
|
8004
|
+
protoOf($).createIssue_ddym24_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) {
|
|
8005
|
+
var tmp = requestedDocuments(this, null, attachments, inlineDocuments);
|
|
8006
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createIssue$slambda_0(this, companyId, command, null), $completion);
|
|
8007
|
+
};
|
|
8008
|
+
protoOf($).createIssue$default_5aeggc_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8009
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8010
|
+
inlineDocuments = inlineDocuments === VOID ? emptyMap() : inlineDocuments;
|
|
8011
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8012
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8013
|
+
return $super === VOID ? this.createIssue_ddym24_k$(companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) : $super.createIssue_ddym24_k$.call(this, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8014
|
+
};
|
|
8015
|
+
protoOf($).createIssue = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress) {
|
|
8016
|
+
var tmp = this;
|
|
8017
|
+
return promisify(function ($completion) {
|
|
8018
|
+
return tmp.createIssue$default_5aeggc_k$(companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8019
|
+
});
|
|
8020
|
+
};
|
|
8021
|
+
protoOf($).createIssue$suspendBridge_267jjh_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) {
|
|
8022
|
+
var tmp = new ($createIssue$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8023
|
+
tmp.result_1 = Unit_instance;
|
|
8024
|
+
tmp.exception_1 = null;
|
|
8025
|
+
return tmp.doResume_5yljmg_k$();
|
|
8026
|
+
};
|
|
8027
|
+
protoOf($).updateIssue_2blvm4_k$ = function (companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8028
|
+
var tmp = requestedDocuments(this, null, attachments, inlineDocuments);
|
|
8029
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateIssue$slambda_0(this, companyId, issueId, command, removeDocumentIds, null), $completion);
|
|
8030
|
+
};
|
|
8031
|
+
protoOf($).updateIssue$default_g6r88j_k$ = function (companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8032
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8033
|
+
inlineDocuments = inlineDocuments === VOID ? emptyMap() : inlineDocuments;
|
|
8034
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
8035
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8036
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8037
|
+
return $super === VOID ? this.updateIssue_2blvm4_k$(companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateIssue_2blvm4_k$.call(this, companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8038
|
+
};
|
|
8039
|
+
protoOf($).updateIssue = function (companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
8040
|
+
var tmp = this;
|
|
8041
|
+
return promisify(function ($completion) {
|
|
8042
|
+
return tmp.updateIssue$default_g6r88j_k$(companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8043
|
+
});
|
|
8044
|
+
};
|
|
8045
|
+
protoOf($).updateIssue$suspendBridge_feejpx_k$ = function (companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8046
|
+
var tmp = new ($updateIssue$suspendBridgeCOROUTINE$())(this, companyId, issueId, command, attachments, inlineDocuments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8047
|
+
tmp.result_1 = Unit_instance;
|
|
8048
|
+
tmp.exception_1 = null;
|
|
8049
|
+
return tmp.doResume_5yljmg_k$();
|
|
8050
|
+
};
|
|
8051
|
+
protoOf($).createMeeting_94ozt6_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8052
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8053
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createMeeting$slambda_0(this, companyId, command, null), $completion);
|
|
8054
|
+
};
|
|
8055
|
+
protoOf($).createMeeting$default_9qlwx3_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8056
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8057
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8058
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8059
|
+
return $super === VOID ? this.createMeeting_94ozt6_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createMeeting_94ozt6_k$.call(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8060
|
+
};
|
|
8061
|
+
protoOf($).createMeeting = function (companyId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
8062
|
+
var tmp = this;
|
|
8063
|
+
return promisify(function ($completion) {
|
|
8064
|
+
return tmp.createMeeting$default_9qlwx3_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8065
|
+
});
|
|
8066
|
+
};
|
|
8067
|
+
protoOf($).createMeeting$suspendBridge_qqn82d_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8068
|
+
var tmp = new ($createMeeting$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8069
|
+
tmp.result_1 = Unit_instance;
|
|
8070
|
+
tmp.exception_1 = null;
|
|
8071
|
+
return tmp.doResume_5yljmg_k$();
|
|
8072
|
+
};
|
|
8073
|
+
protoOf($).updateMeeting_18k88q_k$ = function (companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8074
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8075
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateMeeting$slambda_0(this, companyId, meetingId, command, removeDocumentIds, null), $completion);
|
|
8076
|
+
};
|
|
8077
|
+
protoOf($).updateMeeting$default_p3ryjs_k$ = function (companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8078
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8079
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
8080
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8081
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8082
|
+
return $super === VOID ? this.updateMeeting_18k88q_k$(companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateMeeting_18k88q_k$.call(this, companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8083
|
+
};
|
|
8084
|
+
protoOf($).updateMeeting = function (companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
8085
|
+
var tmp = this;
|
|
8086
|
+
return promisify(function ($completion) {
|
|
8087
|
+
return tmp.updateMeeting$default_p3ryjs_k$(companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8088
|
+
});
|
|
8089
|
+
};
|
|
8090
|
+
protoOf($).updateMeeting$suspendBridge_mger21_k$ = function (companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8091
|
+
var tmp = new ($updateMeeting$suspendBridgeCOROUTINE$())(this, companyId, meetingId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8092
|
+
tmp.result_1 = Unit_instance;
|
|
8093
|
+
tmp.exception_1 = null;
|
|
8094
|
+
return tmp.doResume_5yljmg_k$();
|
|
8095
|
+
};
|
|
8096
|
+
protoOf($).createRoutine_wjn3zh_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8097
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8098
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createRoutine$slambda_0(this, companyId, command, null), $completion);
|
|
8099
|
+
};
|
|
8100
|
+
protoOf($).createRoutine$default_40a7n0_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8101
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8102
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8103
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8104
|
+
return $super === VOID ? this.createRoutine_wjn3zh_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createRoutine_wjn3zh_k$.call(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8105
|
+
};
|
|
8106
|
+
protoOf($).createRoutine = function (companyId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
8107
|
+
var tmp = this;
|
|
8108
|
+
return promisify(function ($completion) {
|
|
8109
|
+
return tmp.createRoutine$default_40a7n0_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8110
|
+
});
|
|
8111
|
+
};
|
|
8112
|
+
protoOf($).createRoutine$suspendBridge_d1i5cc_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8113
|
+
var tmp = new ($createRoutine$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8114
|
+
tmp.result_1 = Unit_instance;
|
|
8115
|
+
tmp.exception_1 = null;
|
|
8116
|
+
return tmp.doResume_5yljmg_k$();
|
|
8117
|
+
};
|
|
8118
|
+
protoOf($).updateRoutine_2kjlld_k$ = function (companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8119
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8120
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateRoutine$slambda_0(this, companyId, routineId, command, removeDocumentIds, null), $completion);
|
|
8121
|
+
};
|
|
8122
|
+
protoOf($).updateRoutine$default_skwbwv_k$ = function (companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8123
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8124
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
8125
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8126
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8127
|
+
return $super === VOID ? this.updateRoutine_2kjlld_k$(companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateRoutine_2kjlld_k$.call(this, companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8128
|
+
};
|
|
8129
|
+
protoOf($).updateRoutine = function (companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
8130
|
+
var tmp = this;
|
|
8131
|
+
return promisify(function ($completion) {
|
|
8132
|
+
return tmp.updateRoutine$default_skwbwv_k$(companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8133
|
+
});
|
|
8134
|
+
};
|
|
8135
|
+
protoOf($).updateRoutine$suspendBridge_j137n4_k$ = function (companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8136
|
+
var tmp = new ($updateRoutine$suspendBridgeCOROUTINE$())(this, companyId, routineId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8137
|
+
tmp.result_1 = Unit_instance;
|
|
8138
|
+
tmp.exception_1 = null;
|
|
8139
|
+
return tmp.doResume_5yljmg_k$();
|
|
8140
|
+
};
|
|
8141
|
+
protoOf($).createCompanySupplier_y0lcq0_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8142
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8143
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createCompanySupplier$slambda_0(this, companyId, command, null), $completion);
|
|
8144
|
+
};
|
|
8145
|
+
protoOf($).createCompanySupplier$default_c76nrd_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8146
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8147
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8148
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8149
|
+
return $super === VOID ? this.createCompanySupplier_y0lcq0_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) : $super.createCompanySupplier_y0lcq0_k$.call(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8150
|
+
};
|
|
8151
|
+
protoOf($).createCompanySupplier = function (companyId, command, attachments, idempotencyKey, onUploadProgress) {
|
|
8152
|
+
var tmp = this;
|
|
8153
|
+
return promisify(function ($completion) {
|
|
8154
|
+
return tmp.createCompanySupplier$default_c76nrd_k$(companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8155
|
+
});
|
|
8156
|
+
};
|
|
8157
|
+
protoOf($).createCompanySupplier$suspendBridge_k46y6h_k$ = function (companyId, command, attachments, idempotencyKey, onUploadProgress, $completion) {
|
|
8158
|
+
var tmp = new ($createCompanySupplier$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, idempotencyKey, onUploadProgress, $completion);
|
|
8159
|
+
tmp.result_1 = Unit_instance;
|
|
8160
|
+
tmp.exception_1 = null;
|
|
8161
|
+
return tmp.doResume_5yljmg_k$();
|
|
8162
|
+
};
|
|
8163
|
+
protoOf($).updateCompanySupplier_5z7ep4_k$ = function (companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8164
|
+
var tmp = requestedDocuments(this, null, attachments, emptyMap());
|
|
8165
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$updateCompanySupplier$slambda_0(this, companyId, supplierId, command, removeDocumentIds, null), $completion);
|
|
8166
|
+
};
|
|
8167
|
+
protoOf($).updateCompanySupplier$default_ocltam_k$ = function (companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8168
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8169
|
+
removeDocumentIds = removeDocumentIds === VOID ? emptyList() : removeDocumentIds;
|
|
8170
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8171
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8172
|
+
return $super === VOID ? this.updateCompanySupplier_5z7ep4_k$(companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) : $super.updateCompanySupplier_5z7ep4_k$.call(this, companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8173
|
+
};
|
|
8174
|
+
protoOf($).updateCompanySupplier = function (companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress) {
|
|
8175
|
+
var tmp = this;
|
|
8176
|
+
return promisify(function ($completion) {
|
|
8177
|
+
return tmp.updateCompanySupplier$default_ocltam_k$(companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8178
|
+
});
|
|
8179
|
+
};
|
|
8180
|
+
protoOf($).updateCompanySupplier$suspendBridge_agb7dz_k$ = function (companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion) {
|
|
8181
|
+
var tmp = new ($updateCompanySupplier$suspendBridgeCOROUTINE$())(this, companyId, supplierId, command, attachments, removeDocumentIds, idempotencyKey, onUploadProgress, $completion);
|
|
8182
|
+
tmp.result_1 = Unit_instance;
|
|
8183
|
+
tmp.exception_1 = null;
|
|
8184
|
+
return tmp.doResume_5yljmg_k$();
|
|
8185
|
+
};
|
|
8186
|
+
protoOf($).createInquiry_8prr1m_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) {
|
|
8187
|
+
var tmp = requestedDocuments(this, null, attachments, inlineDocuments);
|
|
8188
|
+
return execute(this, companyId, idempotencyKey, tmp, onUploadProgress, IntegratedDocumentMutation$createInquiry$slambda_0(this, companyId, command, null), $completion);
|
|
8189
|
+
};
|
|
8190
|
+
protoOf($).createInquiry$default_wbw4b8_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion, $super) {
|
|
8191
|
+
attachments = attachments === VOID ? emptyList() : attachments;
|
|
8192
|
+
inlineDocuments = inlineDocuments === VOID ? emptyMap() : inlineDocuments;
|
|
8193
|
+
idempotencyKey = idempotencyKey === VOID ? null : idempotencyKey;
|
|
8194
|
+
onUploadProgress = onUploadProgress === VOID ? null : onUploadProgress;
|
|
8195
|
+
return $super === VOID ? this.createInquiry_8prr1m_k$(companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) : $super.createInquiry_8prr1m_k$.call(this, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8196
|
+
};
|
|
8197
|
+
protoOf($).createInquiry = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress) {
|
|
8198
|
+
var tmp = this;
|
|
8199
|
+
return promisify(function ($completion) {
|
|
8200
|
+
return tmp.createInquiry$default_wbw4b8_k$(companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8201
|
+
});
|
|
8202
|
+
};
|
|
8203
|
+
protoOf($).createInquiry$suspendBridge_84mfnt_k$ = function (companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion) {
|
|
8204
|
+
var tmp = new ($createInquiry$suspendBridgeCOROUTINE$())(this, companyId, command, attachments, inlineDocuments, idempotencyKey, onUploadProgress, $completion);
|
|
8205
|
+
tmp.result_1 = Unit_instance;
|
|
8206
|
+
tmp.exception_1 = null;
|
|
8207
|
+
return tmp.doResume_5yljmg_k$();
|
|
8208
|
+
};
|
|
5296
8209
|
/* Solibo boundary patches */
|
|
5297
8210
|
Object.defineProperty($, 'name', { value: "IntegratedDocumentMutation", configurable: true });
|
|
5298
8211
|
__soliboWrapMethod($, "createHomepagePost", {"args":{"0":["bigint"],"1":["model","CreatePostCommand"],"2":["model","DocumentInput"],"3":["list",["model","DocumentInput"]],"4":["map",null,["model","DocumentInput"]],"5":["bigint"],"7":["callback"]},"result":true});
|
|
@@ -5314,6 +8227,24 @@ function IntegratedDocumentMutation() {
|
|
|
5314
8227
|
__soliboWrapMethod($, "updateHomepagePostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","UpdateCommunicationCommentCommand"],"4":["list",["model","DocumentInput"]],"5":["map",null,["model","DocumentInput"]],"6":["list",["bigint"]],"8":["callback"]},"result":true});
|
|
5315
8228
|
__soliboWrapMethod($, "createNeighborhoodPostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","CreateCommunicationCommentCommand"],"3":["list",["model","DocumentInput"]],"4":["map",null,["model","DocumentInput"]],"6":["callback"]},"result":true});
|
|
5316
8229
|
__soliboWrapMethod($, "updateNeighborhoodPostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","UpdateCommunicationCommentCommand"],"4":["list",["model","DocumentInput"]],"5":["map",null,["model","DocumentInput"]],"6":["list",["bigint"]],"8":["callback"]},"result":true});
|
|
8230
|
+
__soliboWrapMethod($, "createSettlement", {"args":{"0":["bigint"],"1":["model","CreateSettlementCommand"],"2":["list",["model","DocumentInput"]],"4":["callback"]},"result":true});
|
|
8231
|
+
__soliboWrapMethod($, "updateSettlement", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateSettlementCommand"],"3":["list",["model","DocumentInput"]],"4":["list",["bigint"]],"6":["callback"]},"result":true});
|
|
8232
|
+
__soliboWrapMethod($, "createSettlementCustomCost", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","CreateSettlementCustomCostCommand"],"3":["list",["model","DocumentInput"]],"5":["callback"]},"result":true});
|
|
8233
|
+
__soliboWrapMethod($, "updateSettlementCustomCost", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","UpdateSettlementCustomCostCommand"],"4":["list",["model","DocumentInput"]],"5":["list",["bigint"]],"7":["callback"]},"result":true});
|
|
8234
|
+
__soliboWrapMethod($, "createExpense", {"args":{"0":["bigint"],"1":["model","CreateExpenseCommand"],"2":["list",["model","DocumentInput"]],"4":["callback"]},"result":true});
|
|
8235
|
+
__soliboWrapMethod($, "createInsurance", {"args":{"0":["bigint"],"1":["model","CreateInsuranceCommand"],"2":["model","DocumentInput"],"3":["list",["model","DocumentInput"]],"5":["callback"]},"result":true});
|
|
8236
|
+
__soliboWrapMethod($, "updateInsuranceDocuments", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","DocumentInput"],"3":["list",["model","DocumentInput"]],"4":["list",["bigint"]],"6":["callback"]},"result":true});
|
|
8237
|
+
__soliboWrapMethod($, "createLoan", {"args":{"0":["bigint"],"1":["model","CreateLoanCommand"],"2":["model","DocumentInput"],"3":["list",["model","DocumentInput"]],"5":["callback"]},"result":true});
|
|
8238
|
+
__soliboWrapMethod($, "updateLoan", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateLoanCommand"],"3":["model","DocumentInput"],"4":["list",["model","DocumentInput"]],"5":["list",["bigint"]],"7":["callback"]},"result":true});
|
|
8239
|
+
__soliboWrapMethod($, "createIssue", {"args":{"0":["bigint"],"1":["model","CreateIssueCommand"],"2":["list",["model","DocumentInput"]],"3":["map",null,["model","DocumentInput"]],"5":["callback"]},"result":true});
|
|
8240
|
+
__soliboWrapMethod($, "updateIssue", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateIssueCommand"],"3":["list",["model","DocumentInput"]],"4":["map",null,["model","DocumentInput"]],"5":["list",["bigint"]],"7":["callback"]},"result":true});
|
|
8241
|
+
__soliboWrapMethod($, "createMeeting", {"args":{"0":["bigint"],"1":["model","CreateMeetingCommand"],"2":["list",["model","DocumentInput"]],"4":["callback"]},"result":true});
|
|
8242
|
+
__soliboWrapMethod($, "updateMeeting", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateMeetingCommand"],"3":["list",["model","DocumentInput"]],"4":["list",["bigint"]],"6":["callback"]},"result":true});
|
|
8243
|
+
__soliboWrapMethod($, "createRoutine", {"args":{"0":["bigint"],"1":["model","CreateRoutineCommand"],"2":["list",["model","DocumentInput"]],"4":["callback"]},"result":true});
|
|
8244
|
+
__soliboWrapMethod($, "updateRoutine", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateRoutineCommand"],"3":["list",["model","DocumentInput"]],"4":["list",["bigint"]],"6":["callback"]},"result":true});
|
|
8245
|
+
__soliboWrapMethod($, "createCompanySupplier", {"args":{"0":["bigint"],"1":["model","CreateSupplierForCompanyCommand"],"2":["list",["model","DocumentInput"]],"4":["callback"]},"result":true});
|
|
8246
|
+
__soliboWrapMethod($, "updateCompanySupplier", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateSupplierForCompanyCommand"],"3":["list",["model","DocumentInput"]],"4":["list",["bigint"]],"6":["callback"]},"result":true});
|
|
8247
|
+
__soliboWrapMethod($, "createInquiry", {"args":{"0":["bigint"],"1":["model","CreateInquiryCommand"],"2":["list",["model","DocumentInput"]],"3":["map",null,["model","DocumentInput"]],"5":["callback"]},"result":true});
|
|
5317
8248
|
__soliboRegisterLookup("IntegratedDocumentMutation", () => $);
|
|
5318
8249
|
IntegratedDocumentMutationClass = $;
|
|
5319
8250
|
}
|
|
@@ -6198,20 +9129,37 @@ export {
|
|
|
6198
9129
|
__soliboRegisterLookup("Conversation", () => __soliboType_Conversation());
|
|
6199
9130
|
__soliboRegisterLookup("CreateCommunicationCommentCommand", () => __soliboType_CreateCommunicationCommentCommand());
|
|
6200
9131
|
__soliboRegisterLookup("CreateConversationCommand", () => __soliboType_CreateConversationCommand());
|
|
9132
|
+
__soliboRegisterLookup("CreateExpenseCommand", () => __soliboType_CreateExpenseCommand());
|
|
9133
|
+
__soliboRegisterLookup("CreateInquiryCommand", () => __soliboType_CreateInquiryCommand());
|
|
9134
|
+
__soliboRegisterLookup("CreateInsuranceCommand", () => __soliboType_CreateInsuranceCommand());
|
|
6201
9135
|
__soliboRegisterLookup("CreateInternalMessageCommand", () => __soliboType_CreateInternalMessageCommand());
|
|
9136
|
+
__soliboRegisterLookup("CreateIssueCommand", () => __soliboType_CreateIssueCommand());
|
|
9137
|
+
__soliboRegisterLookup("CreateLoanCommand", () => __soliboType_CreateLoanCommand());
|
|
9138
|
+
__soliboRegisterLookup("CreateMeetingCommand", () => __soliboType_CreateMeetingCommand());
|
|
6202
9139
|
__soliboRegisterLookup("CreateMessageCommand", () => __soliboType_CreateMessageCommand());
|
|
6203
9140
|
__soliboRegisterLookup("CreateNeighborhoodGroupCommand", () => __soliboType_CreateNeighborhoodGroupCommand());
|
|
6204
9141
|
__soliboRegisterLookup("CreateNeighborhoodPostCommand", () => __soliboType_CreateNeighborhoodPostCommand());
|
|
6205
9142
|
__soliboRegisterLookup("CreateNewsletterCommand", () => __soliboType_CreateNewsletterCommand());
|
|
6206
9143
|
__soliboRegisterLookup("CreatePostCommand", () => __soliboType_CreatePostCommand());
|
|
9144
|
+
__soliboRegisterLookup("CreateRoutineCommand", () => __soliboType_CreateRoutineCommand());
|
|
9145
|
+
__soliboRegisterLookup("CreateSettlementCommand", () => __soliboType_CreateSettlementCommand());
|
|
9146
|
+
__soliboRegisterLookup("CreateSettlementCustomCostCommand", () => __soliboType_CreateSettlementCustomCostCommand());
|
|
9147
|
+
__soliboRegisterLookup("CreateSupplierForCompanyCommand", () => __soliboType_CreateSupplierForCompanyCommand());
|
|
6207
9148
|
__soliboRegisterLookup("Document", () => __soliboType_Document());
|
|
6208
9149
|
__soliboRegisterLookup("DocumentInput", () => DocumentInput());
|
|
6209
9150
|
__soliboRegisterLookup("DocumentTransform", () => __soliboType_DocumentTransform());
|
|
6210
9151
|
__soliboRegisterLookup("DocumentUpload", () => __soliboType_DocumentUpload());
|
|
6211
9152
|
__soliboRegisterLookup("UpdateCommunicationCommentCommand", () => __soliboType_UpdateCommunicationCommentCommand());
|
|
6212
9153
|
__soliboRegisterLookup("UpdateConversationCommand", () => __soliboType_UpdateConversationCommand());
|
|
9154
|
+
__soliboRegisterLookup("UpdateIssueCommand", () => __soliboType_UpdateIssueCommand());
|
|
9155
|
+
__soliboRegisterLookup("UpdateLoanCommand", () => __soliboType_UpdateLoanCommand());
|
|
9156
|
+
__soliboRegisterLookup("UpdateMeetingCommand", () => __soliboType_UpdateMeetingCommand());
|
|
6213
9157
|
__soliboRegisterLookup("UpdateNeighborhoodGroupCommand", () => __soliboType_UpdateNeighborhoodGroupCommand());
|
|
6214
9158
|
__soliboRegisterLookup("UpdateNeighborhoodPostCommand", () => __soliboType_UpdateNeighborhoodPostCommand());
|
|
6215
9159
|
__soliboRegisterLookup("UpdateNewsletterCommand", () => __soliboType_UpdateNewsletterCommand());
|
|
6216
9160
|
__soliboRegisterLookup("UpdatePostCommand", () => __soliboType_UpdatePostCommand());
|
|
9161
|
+
__soliboRegisterLookup("UpdateRoutineCommand", () => __soliboType_UpdateRoutineCommand());
|
|
9162
|
+
__soliboRegisterLookup("UpdateSettlementCommand", () => __soliboType_UpdateSettlementCommand());
|
|
9163
|
+
__soliboRegisterLookup("UpdateSettlementCustomCostCommand", () => __soliboType_UpdateSettlementCustomCostCommand());
|
|
9164
|
+
__soliboRegisterLookup("UpdateSupplierForCompanyCommand", () => __soliboType_UpdateSupplierForCompanyCommand());
|
|
6217
9165
|
|