@solibo/home-api 1.28.7 → 1.28.8
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.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
- package/kotlin-kotlin-stdlib.mjs +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +1 -1
- package/kotlinx-atomicfu.mjs +1 -1
- package/kotlinx-browser.mjs +1 -1
- package/kotlinx-coroutines-core.mjs +2 -2
- package/kotlinx-io-kotlinx-io-bytestring.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1 -1
- package/ktor-ktor-client-auth.mjs +1 -1
- package/ktor-ktor-client-content-negotiation.mjs +1 -1
- package/ktor-ktor-client-core.mjs +1 -1
- package/ktor-ktor-client-encoding.mjs +1 -1
- package/ktor-ktor-client-logging.mjs +1 -1
- package/ktor-ktor-client-websockets.mjs +1 -1
- package/ktor-ktor-events.mjs +1 -1
- package/ktor-ktor-http-cio.mjs +1 -1
- package/ktor-ktor-http.mjs +1 -1
- package/ktor-ktor-io.mjs +1 -1
- package/ktor-ktor-openapi-schema.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx.mjs +1 -1
- package/ktor-ktor-serialization.mjs +1 -1
- package/ktor-ktor-sse.mjs +1 -1
- package/ktor-ktor-utils.mjs +1 -1
- package/ktor-ktor-websocket-serialization.mjs +1 -1
- package/ktor-ktor-websockets.mjs +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +2 -0
- package/solibo-sdk-sdk-home-api.mjs +275 -2
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +0 -1
- package/MultiplatformSettings-multiplatform-settings.mjs.map +0 -1
- package/kotlin-kotlin-stdlib.mjs.map +0 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +0 -1
- package/kotlinx-atomicfu.mjs.map +0 -1
- package/kotlinx-browser.mjs.map +0 -1
- package/kotlinx-coroutines-core.mjs.map +0 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +0 -1
- package/kotlinx-io-kotlinx-io-core.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +0 -1
- package/ktor-ktor-client-auth.mjs.map +0 -1
- package/ktor-ktor-client-content-negotiation.mjs.map +0 -1
- package/ktor-ktor-client-core.mjs.map +0 -1
- package/ktor-ktor-client-encoding.mjs.map +0 -1
- package/ktor-ktor-client-logging.mjs.map +0 -1
- package/ktor-ktor-client-websockets.mjs.map +0 -1
- package/ktor-ktor-events.mjs.map +0 -1
- package/ktor-ktor-http-cio.mjs.map +0 -1
- package/ktor-ktor-http.mjs.map +0 -1
- package/ktor-ktor-io.mjs.map +0 -1
- package/ktor-ktor-openapi-schema.mjs.map +0 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs.map +0 -1
- package/ktor-ktor-serialization-kotlinx.mjs.map +0 -1
- package/ktor-ktor-serialization.mjs.map +0 -1
- package/ktor-ktor-sse.mjs.map +0 -1
- package/ktor-ktor-utils.mjs.map +0 -1
- package/ktor-ktor-websocket-serialization.mjs.map +0 -1
- package/ktor-ktor-websockets.mjs.map +0 -1
- package/solibo-sdk-sdk-home-api.mjs.map +0 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -17458,4 +17458,4 @@ export {
|
|
|
17458
17458
|
};
|
|
17459
17459
|
//endregion
|
|
17460
17460
|
|
|
17461
|
-
|
|
17461
|
+
|
package/kotlinx-atomicfu.mjs
CHANGED
package/kotlinx-browser.mjs
CHANGED
|
@@ -269,7 +269,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
269
269
|
initMetadataForClass(Symbol, 'Symbol');
|
|
270
270
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
271
271
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
272
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
272
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
273
273
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
274
274
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [Delay], [1]);
|
|
275
275
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
|
@@ -8961,4 +8961,4 @@ export {
|
|
|
8961
8961
|
};
|
|
8962
8962
|
//endregion
|
|
8963
8963
|
|
|
8964
|
-
|
|
8964
|
+
|
|
@@ -10044,4 +10044,4 @@ export {
|
|
|
10044
10044
|
};
|
|
10045
10045
|
//endregion
|
|
10046
10046
|
|
|
10047
|
-
|
|
10047
|
+
|
package/ktor-ktor-events.mjs
CHANGED
package/ktor-ktor-http-cio.mjs
CHANGED
package/ktor-ktor-http.mjs
CHANGED
package/ktor-ktor-io.mjs
CHANGED
package/ktor-ktor-sse.mjs
CHANGED
package/ktor-ktor-utils.mjs
CHANGED
package/ktor-ktor-websockets.mjs
CHANGED
package/package.json
CHANGED
|
@@ -23268,6 +23268,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
|
|
|
23268
23268
|
deleteConversationParticipant(companyId: bigint, conversationId: bigint, participantType: string, participantId: bigint): Promise<HttpResponse<void>>;
|
|
23269
23269
|
deleteDocumentPublicConversation(companySlug: string, conversationId: bigint, documentId: bigint, redirect?: Nullable<boolean>): Promise<HttpResponse<void>>;
|
|
23270
23270
|
deleteFolder(companyId: bigint, folderId: bigint): Promise<HttpResponse<void>>;
|
|
23271
|
+
deleteInternalConversationMessage(companyId: bigint, conversationId: bigint, messageId: bigint): Promise<HttpResponse<void>>;
|
|
23271
23272
|
deleteMultipleConversationFlags(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
|
|
23272
23273
|
deleteMultipleConversations(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
|
|
23273
23274
|
finalizeConversation(companyId: bigint, conversationId: bigint): Promise<HttpResponse<Conversation>>;
|
|
@@ -23291,6 +23292,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
|
|
|
23291
23292
|
reOpenConversation(companyId: bigint, conversationId: bigint): Promise<HttpResponse<Conversation>>;
|
|
23292
23293
|
reOpenMultipleConversations(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
|
|
23293
23294
|
restoreConversationMessage(companyId: bigint, conversationId: bigint, messageId: bigint): Promise<HttpResponse<void>>;
|
|
23295
|
+
restoreInternalConversationMessage(companyId: bigint, conversationId: bigint, messageId: bigint): Promise<HttpResponse<void>>;
|
|
23294
23296
|
showConversation(companyId: bigint, conversationId: bigint, translateToCountryId?: Nullable<bigint>, fields?: Nullable<string>): Promise<HttpResponse<Conversation>>;
|
|
23295
23297
|
showConversationFolder(companyId: bigint, folderId: bigint, fields?: Nullable<string>): Promise<HttpResponse<ConversationFolder>>;
|
|
23296
23298
|
showConversationPublic(companySlug: string, conversationId: bigint, fields?: Nullable<string>): Promise<HttpResponse<PublicConversation>>;
|
|
@@ -49,7 +49,6 @@ import {
|
|
|
49
49
|
KtMap140uvy3s5zad8 as KtMap,
|
|
50
50
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
51
51
|
ArrayList_init_$Create$a978fvbbts3d as ArrayList_init_$Create$,
|
|
52
|
-
ArrayList3it5z8td81qkl as ArrayList_BridgeFix,
|
|
53
52
|
lazy2hsh8ze7j6ikd as lazy_0,
|
|
54
53
|
KProperty1ca4yb4wlo496 as KProperty1,
|
|
55
54
|
getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
|
|
@@ -3098,6 +3097,8 @@ initMetadataForCoroutine($deleteDocumentPublicConversationCOROUTINE$, CoroutineI
|
|
|
3098
3097
|
initMetadataForCoroutine($deleteDocumentPublicConversation$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3099
3098
|
initMetadataForCoroutine($deleteFolderCOROUTINE$, CoroutineImpl);
|
|
3100
3099
|
initMetadataForCoroutine($deleteFolder$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3100
|
+
initMetadataForCoroutine($deleteInternalConversationMessageCOROUTINE$, CoroutineImpl);
|
|
3101
|
+
initMetadataForCoroutine($deleteInternalConversationMessage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3101
3102
|
initMetadataForCoroutine($deleteMultipleConversationFlagsCOROUTINE$, CoroutineImpl);
|
|
3102
3103
|
initMetadataForCoroutine($deleteMultipleConversationFlags$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3103
3104
|
initMetadataForCoroutine($deleteMultipleConversationsCOROUTINE$, CoroutineImpl);
|
|
@@ -3144,6 +3145,8 @@ initMetadataForCoroutine($reOpenMultipleConversationsCOROUTINE$, CoroutineImpl);
|
|
|
3144
3145
|
initMetadataForCoroutine($reOpenMultipleConversations$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3145
3146
|
initMetadataForCoroutine($restoreConversationMessageCOROUTINE$, CoroutineImpl);
|
|
3146
3147
|
initMetadataForCoroutine($restoreConversationMessage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3148
|
+
initMetadataForCoroutine($restoreInternalConversationMessageCOROUTINE$, CoroutineImpl);
|
|
3149
|
+
initMetadataForCoroutine($restoreInternalConversationMessage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3147
3150
|
initMetadataForCoroutine($showConversationCOROUTINE$, CoroutineImpl);
|
|
3148
3151
|
initMetadataForCoroutine($showConversation$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3149
3152
|
initMetadataForCoroutine($showConversationFolderCOROUTINE$, CoroutineImpl);
|
|
@@ -221773,6 +221776,123 @@ protoOf($deleteFolder$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
221773
221776
|
}
|
|
221774
221777
|
while (true);
|
|
221775
221778
|
};
|
|
221779
|
+
function $deleteInternalConversationMessageCOROUTINE$(_this__u8e3s4, companyId, conversationId, messageId, resultContinuation) {
|
|
221780
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
221781
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
221782
|
+
this.companyId_1 = companyId;
|
|
221783
|
+
this.conversationId_1 = conversationId;
|
|
221784
|
+
this.messageId_1 = messageId;
|
|
221785
|
+
}
|
|
221786
|
+
protoOf($deleteInternalConversationMessageCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
221787
|
+
var suspendResult = this.result_1;
|
|
221788
|
+
$sm: do
|
|
221789
|
+
try {
|
|
221790
|
+
var tmp = this.state_1;
|
|
221791
|
+
switch (tmp) {
|
|
221792
|
+
case 0:
|
|
221793
|
+
this.exceptionState_1 = 2;
|
|
221794
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
221795
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
221796
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
221797
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
221798
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
221799
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/conversations/{conversationId}/internalMessages/{messageId}', '{companyId}', this.companyId_1.toString()), '{conversationId}', this.conversationId_1.toString()), '{messageId}', this.messageId_1.toString());
|
|
221800
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
221801
|
+
this.state_1 = 1;
|
|
221802
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
221803
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221804
|
+
return suspendResult;
|
|
221805
|
+
}
|
|
221806
|
+
|
|
221807
|
+
continue $sm;
|
|
221808
|
+
case 1:
|
|
221809
|
+
var this_0 = suspendResult;
|
|
221810
|
+
var tmp_0 = getKClass(Unit);
|
|
221811
|
+
var tmp_1 = null instanceof Unit;
|
|
221812
|
+
var tmp_2;
|
|
221813
|
+
try {
|
|
221814
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
221815
|
+
} catch ($p) {
|
|
221816
|
+
var tmp_3;
|
|
221817
|
+
if ($p instanceof Error) {
|
|
221818
|
+
var _unused_var__etf5q3 = $p;
|
|
221819
|
+
tmp_3 = null;
|
|
221820
|
+
} else {
|
|
221821
|
+
throw $p;
|
|
221822
|
+
}
|
|
221823
|
+
tmp_2 = tmp_3;
|
|
221824
|
+
}
|
|
221825
|
+
|
|
221826
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
221827
|
+
case 2:
|
|
221828
|
+
throw this.exception_1;
|
|
221829
|
+
}
|
|
221830
|
+
} catch ($p_0) {
|
|
221831
|
+
var e = $p_0;
|
|
221832
|
+
if (this.exceptionState_1 === 2) {
|
|
221833
|
+
throw e;
|
|
221834
|
+
} else {
|
|
221835
|
+
this.state_1 = this.exceptionState_1;
|
|
221836
|
+
this.exception_1 = e;
|
|
221837
|
+
}
|
|
221838
|
+
}
|
|
221839
|
+
while (true);
|
|
221840
|
+
};
|
|
221841
|
+
function $deleteInternalConversationMessage$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, conversationId, messageId, resultContinuation) {
|
|
221842
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
221843
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
221844
|
+
this.companyId_1 = companyId;
|
|
221845
|
+
this.conversationId_1 = conversationId;
|
|
221846
|
+
this.messageId_1 = messageId;
|
|
221847
|
+
}
|
|
221848
|
+
protoOf($deleteInternalConversationMessage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
221849
|
+
var suspendResult = this.result_1;
|
|
221850
|
+
$sm: do
|
|
221851
|
+
try {
|
|
221852
|
+
var tmp = this.state_1;
|
|
221853
|
+
switch (tmp) {
|
|
221854
|
+
case 0:
|
|
221855
|
+
this.exceptionState_1 = 4;
|
|
221856
|
+
if (this._this__u8e3s4__1.deleteInternalConversationMessage === protoOf(ConversationApi).deleteInternalConversationMessage) {
|
|
221857
|
+
this.state_1 = 2;
|
|
221858
|
+
suspendResult = this._this__u8e3s4__1.deleteInternalConversationMessage_gisxyc_k$(this.companyId_1, this.conversationId_1, this.messageId_1, this);
|
|
221859
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221860
|
+
return suspendResult;
|
|
221861
|
+
}
|
|
221862
|
+
continue $sm;
|
|
221863
|
+
} else {
|
|
221864
|
+
this.state_1 = 1;
|
|
221865
|
+
suspendResult = await_0(this._this__u8e3s4__1.deleteInternalConversationMessage(this.companyId_1, this.conversationId_1, this.messageId_1), this);
|
|
221866
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
221867
|
+
return suspendResult;
|
|
221868
|
+
}
|
|
221869
|
+
continue $sm;
|
|
221870
|
+
}
|
|
221871
|
+
|
|
221872
|
+
case 1:
|
|
221873
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
221874
|
+
this.state_1 = 3;
|
|
221875
|
+
continue $sm;
|
|
221876
|
+
case 2:
|
|
221877
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
221878
|
+
this.state_1 = 3;
|
|
221879
|
+
continue $sm;
|
|
221880
|
+
case 3:
|
|
221881
|
+
return this.WHEN_RESULT0__1;
|
|
221882
|
+
case 4:
|
|
221883
|
+
throw this.exception_1;
|
|
221884
|
+
}
|
|
221885
|
+
} catch ($p) {
|
|
221886
|
+
var e = $p;
|
|
221887
|
+
if (this.exceptionState_1 === 4) {
|
|
221888
|
+
throw e;
|
|
221889
|
+
} else {
|
|
221890
|
+
this.state_1 = this.exceptionState_1;
|
|
221891
|
+
this.exception_1 = e;
|
|
221892
|
+
}
|
|
221893
|
+
}
|
|
221894
|
+
while (true);
|
|
221895
|
+
};
|
|
221776
221896
|
function $deleteMultipleConversationFlagsCOROUTINE$(_this__u8e3s4, companyId, batchConversationStateCommand, resultContinuation) {
|
|
221777
221897
|
CoroutineImpl.call(this, resultContinuation);
|
|
221778
221898
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -225238,6 +225358,123 @@ protoOf($restoreConversationMessage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
225238
225358
|
}
|
|
225239
225359
|
while (true);
|
|
225240
225360
|
};
|
|
225361
|
+
function $restoreInternalConversationMessageCOROUTINE$(_this__u8e3s4, companyId, conversationId, messageId, resultContinuation) {
|
|
225362
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
225363
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
225364
|
+
this.companyId_1 = companyId;
|
|
225365
|
+
this.conversationId_1 = conversationId;
|
|
225366
|
+
this.messageId_1 = messageId;
|
|
225367
|
+
}
|
|
225368
|
+
protoOf($restoreInternalConversationMessageCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
225369
|
+
var suspendResult = this.result_1;
|
|
225370
|
+
$sm: do
|
|
225371
|
+
try {
|
|
225372
|
+
var tmp = this.state_1;
|
|
225373
|
+
switch (tmp) {
|
|
225374
|
+
case 0:
|
|
225375
|
+
this.exceptionState_1 = 2;
|
|
225376
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
225377
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
225378
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
225379
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
225380
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
225381
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/conversations/{conversationId}/internalMessages/{messageId}/restore', '{companyId}', this.companyId_1.toString()), '{conversationId}', this.conversationId_1.toString()), '{messageId}', this.messageId_1.toString());
|
|
225382
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
225383
|
+
this.state_1 = 1;
|
|
225384
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
225385
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225386
|
+
return suspendResult;
|
|
225387
|
+
}
|
|
225388
|
+
|
|
225389
|
+
continue $sm;
|
|
225390
|
+
case 1:
|
|
225391
|
+
var this_0 = suspendResult;
|
|
225392
|
+
var tmp_0 = getKClass(Unit);
|
|
225393
|
+
var tmp_1 = null instanceof Unit;
|
|
225394
|
+
var tmp_2;
|
|
225395
|
+
try {
|
|
225396
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
225397
|
+
} catch ($p) {
|
|
225398
|
+
var tmp_3;
|
|
225399
|
+
if ($p instanceof Error) {
|
|
225400
|
+
var _unused_var__etf5q3 = $p;
|
|
225401
|
+
tmp_3 = null;
|
|
225402
|
+
} else {
|
|
225403
|
+
throw $p;
|
|
225404
|
+
}
|
|
225405
|
+
tmp_2 = tmp_3;
|
|
225406
|
+
}
|
|
225407
|
+
|
|
225408
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
225409
|
+
case 2:
|
|
225410
|
+
throw this.exception_1;
|
|
225411
|
+
}
|
|
225412
|
+
} catch ($p_0) {
|
|
225413
|
+
var e = $p_0;
|
|
225414
|
+
if (this.exceptionState_1 === 2) {
|
|
225415
|
+
throw e;
|
|
225416
|
+
} else {
|
|
225417
|
+
this.state_1 = this.exceptionState_1;
|
|
225418
|
+
this.exception_1 = e;
|
|
225419
|
+
}
|
|
225420
|
+
}
|
|
225421
|
+
while (true);
|
|
225422
|
+
};
|
|
225423
|
+
function $restoreInternalConversationMessage$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, conversationId, messageId, resultContinuation) {
|
|
225424
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
225425
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
225426
|
+
this.companyId_1 = companyId;
|
|
225427
|
+
this.conversationId_1 = conversationId;
|
|
225428
|
+
this.messageId_1 = messageId;
|
|
225429
|
+
}
|
|
225430
|
+
protoOf($restoreInternalConversationMessage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
225431
|
+
var suspendResult = this.result_1;
|
|
225432
|
+
$sm: do
|
|
225433
|
+
try {
|
|
225434
|
+
var tmp = this.state_1;
|
|
225435
|
+
switch (tmp) {
|
|
225436
|
+
case 0:
|
|
225437
|
+
this.exceptionState_1 = 4;
|
|
225438
|
+
if (this._this__u8e3s4__1.restoreInternalConversationMessage === protoOf(ConversationApi).restoreInternalConversationMessage) {
|
|
225439
|
+
this.state_1 = 2;
|
|
225440
|
+
suspendResult = this._this__u8e3s4__1.restoreInternalConversationMessage_bbnxx5_k$(this.companyId_1, this.conversationId_1, this.messageId_1, this);
|
|
225441
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225442
|
+
return suspendResult;
|
|
225443
|
+
}
|
|
225444
|
+
continue $sm;
|
|
225445
|
+
} else {
|
|
225446
|
+
this.state_1 = 1;
|
|
225447
|
+
suspendResult = await_0(this._this__u8e3s4__1.restoreInternalConversationMessage(this.companyId_1, this.conversationId_1, this.messageId_1), this);
|
|
225448
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225449
|
+
return suspendResult;
|
|
225450
|
+
}
|
|
225451
|
+
continue $sm;
|
|
225452
|
+
}
|
|
225453
|
+
|
|
225454
|
+
case 1:
|
|
225455
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
225456
|
+
this.state_1 = 3;
|
|
225457
|
+
continue $sm;
|
|
225458
|
+
case 2:
|
|
225459
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
225460
|
+
this.state_1 = 3;
|
|
225461
|
+
continue $sm;
|
|
225462
|
+
case 3:
|
|
225463
|
+
return this.WHEN_RESULT0__1;
|
|
225464
|
+
case 4:
|
|
225465
|
+
throw this.exception_1;
|
|
225466
|
+
}
|
|
225467
|
+
} catch ($p) {
|
|
225468
|
+
var e = $p;
|
|
225469
|
+
if (this.exceptionState_1 === 4) {
|
|
225470
|
+
throw e;
|
|
225471
|
+
} else {
|
|
225472
|
+
this.state_1 = this.exceptionState_1;
|
|
225473
|
+
this.exception_1 = e;
|
|
225474
|
+
}
|
|
225475
|
+
}
|
|
225476
|
+
while (true);
|
|
225477
|
+
};
|
|
225241
225478
|
function $showConversationCOROUTINE$(_this__u8e3s4, companyId, conversationId, translateToCountryId, fields, resultContinuation) {
|
|
225242
225479
|
CoroutineImpl.call(this, resultContinuation);
|
|
225243
225480
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -228367,6 +228604,24 @@ protoOf(ConversationApi).deleteFolder$suspendBridge_v22gm_k$ = function (company
|
|
|
228367
228604
|
tmp.exception_1 = null;
|
|
228368
228605
|
return tmp.doResume_5yljmg_k$();
|
|
228369
228606
|
};
|
|
228607
|
+
protoOf(ConversationApi).deleteInternalConversationMessage_gisxyc_k$ = function (companyId, conversationId, messageId, $completion) {
|
|
228608
|
+
var tmp = new $deleteInternalConversationMessageCOROUTINE$(this, companyId, conversationId, messageId, $completion);
|
|
228609
|
+
tmp.result_1 = Unit_instance;
|
|
228610
|
+
tmp.exception_1 = null;
|
|
228611
|
+
return tmp.doResume_5yljmg_k$();
|
|
228612
|
+
};
|
|
228613
|
+
protoOf(ConversationApi).deleteInternalConversationMessage = function (companyId, conversationId, messageId) {
|
|
228614
|
+
var tmp = this;
|
|
228615
|
+
return promisify(function ($completion) {
|
|
228616
|
+
return tmp.deleteInternalConversationMessage_gisxyc_k$(companyId, conversationId, messageId, $completion);
|
|
228617
|
+
});
|
|
228618
|
+
};
|
|
228619
|
+
protoOf(ConversationApi).deleteInternalConversationMessage$suspendBridge_wfkiyr_k$ = function (companyId, conversationId, messageId, $completion) {
|
|
228620
|
+
var tmp = new $deleteInternalConversationMessage$suspendBridgeCOROUTINE$(this, companyId, conversationId, messageId, $completion);
|
|
228621
|
+
tmp.result_1 = Unit_instance;
|
|
228622
|
+
tmp.exception_1 = null;
|
|
228623
|
+
return tmp.doResume_5yljmg_k$();
|
|
228624
|
+
};
|
|
228370
228625
|
protoOf(ConversationApi).deleteMultipleConversationFlags_hvd2qt_k$ = function (companyId, batchConversationStateCommand, $completion) {
|
|
228371
228626
|
var tmp = new $deleteMultipleConversationFlagsCOROUTINE$(this, companyId, batchConversationStateCommand, $completion);
|
|
228372
228627
|
tmp.result_1 = Unit_instance;
|
|
@@ -228895,6 +229150,24 @@ protoOf(ConversationApi).restoreConversationMessage$suspendBridge_so0utl_k$ = fu
|
|
|
228895
229150
|
tmp.exception_1 = null;
|
|
228896
229151
|
return tmp.doResume_5yljmg_k$();
|
|
228897
229152
|
};
|
|
229153
|
+
protoOf(ConversationApi).restoreInternalConversationMessage_bbnxx5_k$ = function (companyId, conversationId, messageId, $completion) {
|
|
229154
|
+
var tmp = new $restoreInternalConversationMessageCOROUTINE$(this, companyId, conversationId, messageId, $completion);
|
|
229155
|
+
tmp.result_1 = Unit_instance;
|
|
229156
|
+
tmp.exception_1 = null;
|
|
229157
|
+
return tmp.doResume_5yljmg_k$();
|
|
229158
|
+
};
|
|
229159
|
+
protoOf(ConversationApi).restoreInternalConversationMessage = function (companyId, conversationId, messageId) {
|
|
229160
|
+
var tmp = this;
|
|
229161
|
+
return promisify(function ($completion) {
|
|
229162
|
+
return tmp.restoreInternalConversationMessage_bbnxx5_k$(companyId, conversationId, messageId, $completion);
|
|
229163
|
+
});
|
|
229164
|
+
};
|
|
229165
|
+
protoOf(ConversationApi).restoreInternalConversationMessage$suspendBridge_38qqhm_k$ = function (companyId, conversationId, messageId, $completion) {
|
|
229166
|
+
var tmp = new $restoreInternalConversationMessage$suspendBridgeCOROUTINE$(this, companyId, conversationId, messageId, $completion);
|
|
229167
|
+
tmp.result_1 = Unit_instance;
|
|
229168
|
+
tmp.exception_1 = null;
|
|
229169
|
+
return tmp.doResume_5yljmg_k$();
|
|
229170
|
+
};
|
|
228898
229171
|
protoOf(ConversationApi).showConversation_922xq_k$ = function (companyId, conversationId, translateToCountryId, fields, $completion) {
|
|
228899
229172
|
var tmp = new $showConversationCOROUTINE$(this, companyId, conversationId, translateToCountryId, fields, $completion);
|
|
228900
229173
|
tmp.result_1 = Unit_instance;
|
|
@@ -315992,4 +316265,4 @@ export {
|
|
|
315992
316265
|
};
|
|
315993
316266
|
//endregion
|
|
315994
316267
|
|
|
315995
|
-
|
|
316268
|
+
|