@solibo/solibo-sdk 1.33.8 → 1.33.9
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/client.d.mts +20 -0
- package/client.mjs +77 -0
- package/kotlinx-coroutines-core.mjs +12 -12
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +693 -113
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +7 -1
- package/solibo-sdk-sdk.mjs +3 -3
|
@@ -4043,6 +4043,10 @@ initMetadataForCoroutine($listNeighborhoodGroupsCOROUTINE$, CoroutineImpl);
|
|
|
4043
4043
|
initMetadataForCoroutine($listNeighborhoodGroups$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4044
4044
|
initMetadataForCoroutine($listNeighborhoodPostCommentsCOROUTINE$, CoroutineImpl);
|
|
4045
4045
|
initMetadataForCoroutine($listNeighborhoodPostComments$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4046
|
+
initMetadataForCoroutine($permanentlyDeleteHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4047
|
+
initMetadataForCoroutine($permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4048
|
+
initMetadataForCoroutine($permanentlyDeleteNeighborhoodPostCommentCOROUTINE$, CoroutineImpl);
|
|
4049
|
+
initMetadataForCoroutine($permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4046
4050
|
initMetadataForCoroutine($putHomepageCommentReactionCOROUTINE$, CoroutineImpl);
|
|
4047
4051
|
initMetadataForCoroutine($putHomepageCommentReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4048
4052
|
initMetadataForCoroutine($putHomepagePostReactionCOROUTINE$, CoroutineImpl);
|
|
@@ -4051,6 +4055,10 @@ initMetadataForCoroutine($putNeighborhoodCommentReactionCOROUTINE$, CoroutineImp
|
|
|
4051
4055
|
initMetadataForCoroutine($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4052
4056
|
initMetadataForCoroutine($putNeighborhoodPostReactionCOROUTINE$, CoroutineImpl);
|
|
4053
4057
|
initMetadataForCoroutine($putNeighborhoodPostReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4058
|
+
initMetadataForCoroutine($restoreHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4059
|
+
initMetadataForCoroutine($restoreHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4060
|
+
initMetadataForCoroutine($restoreNeighborhoodPostCommentCOROUTINE$, CoroutineImpl);
|
|
4061
|
+
initMetadataForCoroutine($restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4054
4062
|
initMetadataForCoroutine($updateHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4055
4063
|
initMetadataForCoroutine($updateHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4056
4064
|
initMetadataForCoroutine($updateHomepagePostCommentModerationStatusCOROUTINE$, CoroutineImpl);
|
|
@@ -30832,7 +30840,7 @@ function Companion_133() {
|
|
|
30832
30840
|
// Inline function 'kotlin.arrayOf' call
|
|
30833
30841
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
30834
30842
|
// Inline function 'kotlin.js.asDynamic' call
|
|
30835
|
-
tmp.$childSerializers_1 = [null, tmp_1, null, null, null, null, tmp_3, null, null, tmp_5, null, tmp_7, lazy(tmp_8, CommunicationComment$Companion$$childSerializers$_anonymous__dkvfr3_3)];
|
|
30843
|
+
tmp.$childSerializers_1 = [null, tmp_1, null, null, null, null, null, tmp_3, null, null, tmp_5, null, tmp_7, lazy(tmp_8, CommunicationComment$Companion$$childSerializers$_anonymous__dkvfr3_3)];
|
|
30836
30844
|
}
|
|
30837
30845
|
var Companion_instance_134;
|
|
30838
30846
|
function Companion_getInstance_136() {
|
|
@@ -30842,10 +30850,11 @@ function Companion_getInstance_136() {
|
|
|
30842
30850
|
}
|
|
30843
30851
|
function $serializer_116() {
|
|
30844
30852
|
$serializer_instance_116 = this;
|
|
30845
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CommunicationComment', this,
|
|
30853
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CommunicationComment', this, 14);
|
|
30846
30854
|
tmp0_serialDesc.addElement_5pzumi_k$('actor', false);
|
|
30847
30855
|
tmp0_serialDesc.addElement_5pzumi_k$('attachments', true);
|
|
30848
30856
|
tmp0_serialDesc.addElement_5pzumi_k$('createdAt', false);
|
|
30857
|
+
tmp0_serialDesc.addElement_5pzumi_k$('deletedByAuthor', true);
|
|
30849
30858
|
tmp0_serialDesc.addElement_5pzumi_k$('editedAt', true);
|
|
30850
30859
|
tmp0_serialDesc.addElement_5pzumi_k$('htmlContent', true);
|
|
30851
30860
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
@@ -30867,32 +30876,35 @@ protoOf($serializer_116).serialize_wxo9xh_k$ = function (encoder, value) {
|
|
|
30867
30876
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.attachments);
|
|
30868
30877
|
}
|
|
30869
30878
|
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, InstantSerializer_getInstance(), value.createdAt);
|
|
30870
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.
|
|
30871
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3,
|
|
30879
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.deletedByAuthor == null)) {
|
|
30880
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.deletedByAuthor);
|
|
30872
30881
|
}
|
|
30873
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.
|
|
30874
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4,
|
|
30882
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.editedAt == null)) {
|
|
30883
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.editedAt);
|
|
30875
30884
|
}
|
|
30876
|
-
tmp1_output.
|
|
30877
|
-
|
|
30878
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.inlineDocuments);
|
|
30885
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.htmlContent == null)) {
|
|
30886
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.htmlContent);
|
|
30879
30887
|
}
|
|
30880
|
-
|
|
30881
|
-
|
|
30888
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.id);
|
|
30889
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.inlineDocuments == null)) {
|
|
30890
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.inlineDocuments);
|
|
30882
30891
|
}
|
|
30883
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.
|
|
30884
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8,
|
|
30892
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.parentId == null)) {
|
|
30893
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance(), value.parentId);
|
|
30885
30894
|
}
|
|
30886
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.
|
|
30887
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9,
|
|
30895
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.plainContent == null)) {
|
|
30896
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.plainContent);
|
|
30888
30897
|
}
|
|
30889
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.
|
|
30890
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10,
|
|
30898
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.reactions == null)) {
|
|
30899
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.reactions);
|
|
30891
30900
|
}
|
|
30892
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.
|
|
30893
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11,
|
|
30901
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.renderedHtml == null)) {
|
|
30902
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, StringSerializer_getInstance(), value.renderedHtml);
|
|
30894
30903
|
}
|
|
30895
|
-
tmp1_output.
|
|
30904
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.replies == null)) {
|
|
30905
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.replies);
|
|
30906
|
+
}
|
|
30907
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.status);
|
|
30896
30908
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
30897
30909
|
};
|
|
30898
30910
|
protoOf($serializer_116).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -30908,108 +30920,115 @@ protoOf($serializer_116).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
30908
30920
|
var tmp6_local2 = null;
|
|
30909
30921
|
var tmp7_local3 = null;
|
|
30910
30922
|
var tmp8_local4 = null;
|
|
30911
|
-
var tmp9_local5 =
|
|
30912
|
-
var tmp10_local6 =
|
|
30923
|
+
var tmp9_local5 = null;
|
|
30924
|
+
var tmp10_local6 = 0n;
|
|
30913
30925
|
var tmp11_local7 = null;
|
|
30914
30926
|
var tmp12_local8 = null;
|
|
30915
30927
|
var tmp13_local9 = null;
|
|
30916
30928
|
var tmp14_local10 = null;
|
|
30917
30929
|
var tmp15_local11 = null;
|
|
30918
30930
|
var tmp16_local12 = null;
|
|
30919
|
-
var
|
|
30920
|
-
var
|
|
30921
|
-
|
|
30922
|
-
|
|
30931
|
+
var tmp17_local13 = null;
|
|
30932
|
+
var tmp18_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
30933
|
+
var tmp19_cached = Companion_getInstance_136().$childSerializers_1;
|
|
30934
|
+
if (tmp18_input.decodeSequentially_xlblqy_k$()) {
|
|
30935
|
+
tmp4_local0 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_113(), tmp4_local0);
|
|
30923
30936
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
30924
|
-
tmp5_local1 =
|
|
30937
|
+
tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp19_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
30925
30938
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
30926
|
-
tmp6_local2 =
|
|
30939
|
+
tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
|
|
30927
30940
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
30928
|
-
tmp7_local3 =
|
|
30941
|
+
tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
30929
30942
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
30930
|
-
tmp8_local4 =
|
|
30943
|
+
tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
|
|
30931
30944
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
30932
|
-
tmp9_local5 =
|
|
30945
|
+
tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
30933
30946
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
30934
|
-
tmp10_local6 =
|
|
30947
|
+
tmp10_local6 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
30935
30948
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
30936
|
-
tmp11_local7 =
|
|
30949
|
+
tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp19_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
30937
30950
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
30938
|
-
tmp12_local8 =
|
|
30951
|
+
tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
30939
30952
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
30940
|
-
tmp13_local9 =
|
|
30953
|
+
tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
30941
30954
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
30942
|
-
tmp14_local10 =
|
|
30955
|
+
tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp19_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
30943
30956
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
30944
|
-
tmp15_local11 =
|
|
30957
|
+
tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
30945
30958
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
30946
|
-
tmp16_local12 =
|
|
30959
|
+
tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
|
|
30947
30960
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
30961
|
+
tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
30962
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
30948
30963
|
} else
|
|
30949
30964
|
while (tmp1_flag) {
|
|
30950
|
-
tmp2_index =
|
|
30965
|
+
tmp2_index = tmp18_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
30951
30966
|
switch (tmp2_index) {
|
|
30952
30967
|
case -1:
|
|
30953
30968
|
tmp1_flag = false;
|
|
30954
30969
|
break;
|
|
30955
30970
|
case 0:
|
|
30956
|
-
tmp4_local0 =
|
|
30971
|
+
tmp4_local0 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_113(), tmp4_local0);
|
|
30957
30972
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
30958
30973
|
break;
|
|
30959
30974
|
case 1:
|
|
30960
|
-
tmp5_local1 =
|
|
30975
|
+
tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp19_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
30961
30976
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
30962
30977
|
break;
|
|
30963
30978
|
case 2:
|
|
30964
|
-
tmp6_local2 =
|
|
30979
|
+
tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
|
|
30965
30980
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
30966
30981
|
break;
|
|
30967
30982
|
case 3:
|
|
30968
|
-
tmp7_local3 =
|
|
30983
|
+
tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
30969
30984
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
30970
30985
|
break;
|
|
30971
30986
|
case 4:
|
|
30972
|
-
tmp8_local4 =
|
|
30987
|
+
tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
|
|
30973
30988
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
30974
30989
|
break;
|
|
30975
30990
|
case 5:
|
|
30976
|
-
tmp9_local5 =
|
|
30991
|
+
tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
30977
30992
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
30978
30993
|
break;
|
|
30979
30994
|
case 6:
|
|
30980
|
-
tmp10_local6 =
|
|
30995
|
+
tmp10_local6 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
30981
30996
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
30982
30997
|
break;
|
|
30983
30998
|
case 7:
|
|
30984
|
-
tmp11_local7 =
|
|
30999
|
+
tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp19_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
30985
31000
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
30986
31001
|
break;
|
|
30987
31002
|
case 8:
|
|
30988
|
-
tmp12_local8 =
|
|
31003
|
+
tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
30989
31004
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
30990
31005
|
break;
|
|
30991
31006
|
case 9:
|
|
30992
|
-
tmp13_local9 =
|
|
31007
|
+
tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
30993
31008
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
30994
31009
|
break;
|
|
30995
31010
|
case 10:
|
|
30996
|
-
tmp14_local10 =
|
|
31011
|
+
tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp19_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
30997
31012
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
30998
31013
|
break;
|
|
30999
31014
|
case 11:
|
|
31000
|
-
tmp15_local11 =
|
|
31015
|
+
tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
31001
31016
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
31002
31017
|
break;
|
|
31003
31018
|
case 12:
|
|
31004
|
-
tmp16_local12 =
|
|
31019
|
+
tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
|
|
31005
31020
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
31006
31021
|
break;
|
|
31022
|
+
case 13:
|
|
31023
|
+
tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
31024
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
31025
|
+
break;
|
|
31007
31026
|
default:
|
|
31008
31027
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
31009
31028
|
}
|
|
31010
31029
|
}
|
|
31011
|
-
|
|
31012
|
-
return CommunicationComment_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
|
|
31030
|
+
tmp18_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
31031
|
+
return CommunicationComment_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, null);
|
|
31013
31032
|
};
|
|
31014
31033
|
protoOf($serializer_116).get_descriptor_wjt6a0_k$ = function () {
|
|
31015
31034
|
return this.descriptor_1;
|
|
@@ -31019,7 +31038,7 @@ protoOf($serializer_116).childSerializers_5ghqw5_k$ = function () {
|
|
|
31019
31038
|
// Inline function 'kotlin.arrayOf' call
|
|
31020
31039
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
31021
31040
|
// Inline function 'kotlin.js.asDynamic' call
|
|
31022
|
-
return [$serializer_getInstance_113(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), InstantSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[
|
|
31041
|
+
return [$serializer_getInstance_113(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), InstantSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[12].get_value_j01efc_k$()), tmp0_cached[13].get_value_j01efc_k$()];
|
|
31023
31042
|
};
|
|
31024
31043
|
var $serializer_instance_116;
|
|
31025
31044
|
function $serializer_getInstance_116() {
|
|
@@ -31027,9 +31046,9 @@ function $serializer_getInstance_116() {
|
|
|
31027
31046
|
new $serializer_116();
|
|
31028
31047
|
return $serializer_instance_116;
|
|
31029
31048
|
}
|
|
31030
|
-
function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, $this) {
|
|
31031
|
-
if (!(
|
|
31032
|
-
throwMissingFieldException(seen0,
|
|
31049
|
+
function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, $this) {
|
|
31050
|
+
if (!(8261 === (8261 & seen0))) {
|
|
31051
|
+
throwMissingFieldException(seen0, 8261, $serializer_getInstance_116().descriptor_1);
|
|
31033
31052
|
}
|
|
31034
31053
|
$this.actor = actor;
|
|
31035
31054
|
if (0 === (seen0 & 2))
|
|
@@ -31038,45 +31057,49 @@ function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt,
|
|
|
31038
31057
|
$this.attachments = attachments;
|
|
31039
31058
|
$this.createdAt = createdAt;
|
|
31040
31059
|
if (0 === (seen0 & 8))
|
|
31060
|
+
$this.deletedByAuthor = null;
|
|
31061
|
+
else
|
|
31062
|
+
$this.deletedByAuthor = deletedByAuthor;
|
|
31063
|
+
if (0 === (seen0 & 16))
|
|
31041
31064
|
$this.editedAt = null;
|
|
31042
31065
|
else
|
|
31043
31066
|
$this.editedAt = editedAt;
|
|
31044
|
-
if (0 === (seen0 &
|
|
31067
|
+
if (0 === (seen0 & 32))
|
|
31045
31068
|
$this.htmlContent = null;
|
|
31046
31069
|
else
|
|
31047
31070
|
$this.htmlContent = htmlContent;
|
|
31048
31071
|
$this.id = id;
|
|
31049
|
-
if (0 === (seen0 &
|
|
31072
|
+
if (0 === (seen0 & 128))
|
|
31050
31073
|
$this.inlineDocuments = null;
|
|
31051
31074
|
else
|
|
31052
31075
|
$this.inlineDocuments = inlineDocuments;
|
|
31053
|
-
if (0 === (seen0 &
|
|
31076
|
+
if (0 === (seen0 & 256))
|
|
31054
31077
|
$this.parentId = null;
|
|
31055
31078
|
else
|
|
31056
31079
|
$this.parentId = parentId;
|
|
31057
|
-
if (0 === (seen0 &
|
|
31080
|
+
if (0 === (seen0 & 512))
|
|
31058
31081
|
$this.plainContent = null;
|
|
31059
31082
|
else
|
|
31060
31083
|
$this.plainContent = plainContent;
|
|
31061
|
-
if (0 === (seen0 &
|
|
31084
|
+
if (0 === (seen0 & 1024))
|
|
31062
31085
|
$this.reactions = null;
|
|
31063
31086
|
else
|
|
31064
31087
|
$this.reactions = reactions;
|
|
31065
|
-
if (0 === (seen0 &
|
|
31088
|
+
if (0 === (seen0 & 2048))
|
|
31066
31089
|
$this.renderedHtml = null;
|
|
31067
31090
|
else
|
|
31068
31091
|
$this.renderedHtml = renderedHtml;
|
|
31069
|
-
if (0 === (seen0 &
|
|
31092
|
+
if (0 === (seen0 & 4096))
|
|
31070
31093
|
$this.replies = null;
|
|
31071
31094
|
else
|
|
31072
31095
|
$this.replies = replies;
|
|
31073
31096
|
$this.status = status;
|
|
31074
31097
|
return $this;
|
|
31075
31098
|
}
|
|
31076
|
-
function CommunicationComment_init_$Create$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker) {
|
|
31077
|
-
return CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, objectCreate(protoOf(CommunicationComment)));
|
|
31099
|
+
function CommunicationComment_init_$Create$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker) {
|
|
31100
|
+
return CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, objectCreate(protoOf(CommunicationComment)));
|
|
31078
31101
|
}
|
|
31079
|
-
function CommunicationComment(actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
31102
|
+
function CommunicationComment(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
31080
31103
|
var __soliboProps = arguments.length === 1 && typeof actor === 'object' && actor !== null && actor.constructor === Object;
|
|
31081
31104
|
var __soliboTmp, __soliboConverted = false;
|
|
31082
31105
|
if (__soliboProps) {
|
|
@@ -31093,6 +31116,7 @@ function CommunicationComment(actor, attachments, createdAt, editedAt, htmlConte
|
|
|
31093
31116
|
const companion = Companion_getInstance138pnyl3l6agm();
|
|
31094
31117
|
createdAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(createdAt.getTime()));
|
|
31095
31118
|
}
|
|
31119
|
+
deletedByAuthor = ('deletedByAuthor' in props ? props.deletedByAuthor : VOID);
|
|
31096
31120
|
editedAt = ('editedAt' in props ? props.editedAt : VOID);
|
|
31097
31121
|
if (typeof editedAt === 'string') {
|
|
31098
31122
|
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(editedAt)) editedAt += ':00Z';
|
|
@@ -31123,6 +31147,7 @@ function CommunicationComment(actor, attachments, createdAt, editedAt, htmlConte
|
|
|
31123
31147
|
if ((__soliboTmp = __soliboToKt(status, ["enum","CommunicationCommentStatus"])) !== status) { status = __soliboTmp; __soliboConverted = true; }
|
|
31124
31148
|
Companion_getInstance_136();
|
|
31125
31149
|
attachments = attachments === VOID ? null : attachments;
|
|
31150
|
+
deletedByAuthor = deletedByAuthor === VOID ? null : deletedByAuthor;
|
|
31126
31151
|
editedAt = editedAt === VOID ? null : editedAt;
|
|
31127
31152
|
htmlContent = htmlContent === VOID ? null : htmlContent;
|
|
31128
31153
|
inlineDocuments = inlineDocuments === VOID ? null : inlineDocuments;
|
|
@@ -31134,6 +31159,7 @@ function CommunicationComment(actor, attachments, createdAt, editedAt, htmlConte
|
|
|
31134
31159
|
this.actor = actor;
|
|
31135
31160
|
this.attachments = attachments;
|
|
31136
31161
|
this.createdAt = createdAt;
|
|
31162
|
+
this.deletedByAuthor = deletedByAuthor;
|
|
31137
31163
|
this.editedAt = editedAt;
|
|
31138
31164
|
this.htmlContent = htmlContent;
|
|
31139
31165
|
this.id = id;
|
|
@@ -31155,6 +31181,9 @@ protoOf(CommunicationComment).get_attachments_1o7yvb_k$ = function () {
|
|
|
31155
31181
|
protoOf(CommunicationComment).get_createdAt_ierzpu_k$ = function () {
|
|
31156
31182
|
return this.createdAt;
|
|
31157
31183
|
};
|
|
31184
|
+
protoOf(CommunicationComment).get_deletedByAuthor_uyddsi_k$ = function () {
|
|
31185
|
+
return this.deletedByAuthor;
|
|
31186
|
+
};
|
|
31158
31187
|
protoOf(CommunicationComment).get_editedAt_5attyz_k$ = function () {
|
|
31159
31188
|
return this.editedAt;
|
|
31160
31189
|
};
|
|
@@ -31195,42 +31224,46 @@ protoOf(CommunicationComment).component3_7eebsa_k$ = function () {
|
|
|
31195
31224
|
return this.createdAt;
|
|
31196
31225
|
};
|
|
31197
31226
|
protoOf(CommunicationComment).component4_7eebs9_k$ = function () {
|
|
31198
|
-
return this.
|
|
31227
|
+
return this.deletedByAuthor;
|
|
31199
31228
|
};
|
|
31200
31229
|
protoOf(CommunicationComment).component5_7eebs8_k$ = function () {
|
|
31201
|
-
return this.
|
|
31230
|
+
return this.editedAt;
|
|
31202
31231
|
};
|
|
31203
31232
|
protoOf(CommunicationComment).component6_7eebs7_k$ = function () {
|
|
31204
|
-
return this.
|
|
31233
|
+
return this.htmlContent;
|
|
31205
31234
|
};
|
|
31206
31235
|
protoOf(CommunicationComment).component7_7eebs6_k$ = function () {
|
|
31207
|
-
return this.
|
|
31236
|
+
return this.id;
|
|
31208
31237
|
};
|
|
31209
31238
|
protoOf(CommunicationComment).component8_7eebs5_k$ = function () {
|
|
31210
|
-
return this.
|
|
31239
|
+
return this.inlineDocuments;
|
|
31211
31240
|
};
|
|
31212
31241
|
protoOf(CommunicationComment).component9_7eebs4_k$ = function () {
|
|
31213
|
-
return this.
|
|
31242
|
+
return this.parentId;
|
|
31214
31243
|
};
|
|
31215
31244
|
protoOf(CommunicationComment).component10_gazzfo_k$ = function () {
|
|
31216
|
-
return this.
|
|
31245
|
+
return this.plainContent;
|
|
31217
31246
|
};
|
|
31218
31247
|
protoOf(CommunicationComment).component11_gazzfn_k$ = function () {
|
|
31219
|
-
return this.
|
|
31248
|
+
return this.reactions;
|
|
31220
31249
|
};
|
|
31221
31250
|
protoOf(CommunicationComment).component12_gazzfm_k$ = function () {
|
|
31222
|
-
return this.
|
|
31251
|
+
return this.renderedHtml;
|
|
31223
31252
|
};
|
|
31224
31253
|
protoOf(CommunicationComment).component13_gazzfl_k$ = function () {
|
|
31254
|
+
return this.replies;
|
|
31255
|
+
};
|
|
31256
|
+
protoOf(CommunicationComment).component14_gazzfk_k$ = function () {
|
|
31225
31257
|
return this.status;
|
|
31226
31258
|
};
|
|
31227
|
-
protoOf(CommunicationComment).
|
|
31228
|
-
return new CommunicationComment(actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
31259
|
+
protoOf(CommunicationComment).copy_974r6d_k$ = function (actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
31260
|
+
return new CommunicationComment(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
31229
31261
|
};
|
|
31230
|
-
protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, $super) {
|
|
31262
|
+
protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, $super) {
|
|
31231
31263
|
actor = actor === VOID ? this.actor : actor;
|
|
31232
31264
|
attachments = attachments === VOID ? this.attachments : attachments;
|
|
31233
31265
|
createdAt = createdAt === VOID ? this.createdAt : createdAt;
|
|
31266
|
+
deletedByAuthor = deletedByAuthor === VOID ? this.deletedByAuthor : deletedByAuthor;
|
|
31234
31267
|
editedAt = editedAt === VOID ? this.editedAt : editedAt;
|
|
31235
31268
|
htmlContent = htmlContent === VOID ? this.htmlContent : htmlContent;
|
|
31236
31269
|
id = id === VOID ? this.id : id;
|
|
@@ -31241,15 +31274,16 @@ protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, ed
|
|
|
31241
31274
|
renderedHtml = renderedHtml === VOID ? this.renderedHtml : renderedHtml;
|
|
31242
31275
|
replies = replies === VOID ? this.replies : replies;
|
|
31243
31276
|
status = status === VOID ? this.status : status;
|
|
31244
|
-
return $super === VOID ? this.
|
|
31277
|
+
return $super === VOID ? this.copy_974r6d_k$(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) : $super.copy_974r6d_k$.call(this, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
31245
31278
|
};
|
|
31246
31279
|
protoOf(CommunicationComment).toString = function () {
|
|
31247
|
-
return 'CommunicationComment(actor=' + this.actor.toString() + ', attachments=' + toString(this.attachments) + ', createdAt=' + this.createdAt.toString() + ', editedAt=' + toString(this.editedAt) + ', htmlContent=' + this.htmlContent + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', parentId=' + toString(this.parentId) + ', plainContent=' + this.plainContent + ', reactions=' + toString(this.reactions) + ', renderedHtml=' + this.renderedHtml + ', replies=' + toString(this.replies) + ', status=' + this.status.toString() + ')';
|
|
31280
|
+
return 'CommunicationComment(actor=' + this.actor.toString() + ', attachments=' + toString(this.attachments) + ', createdAt=' + this.createdAt.toString() + ', deletedByAuthor=' + this.deletedByAuthor + ', editedAt=' + toString(this.editedAt) + ', htmlContent=' + this.htmlContent + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', parentId=' + toString(this.parentId) + ', plainContent=' + this.plainContent + ', reactions=' + toString(this.reactions) + ', renderedHtml=' + this.renderedHtml + ', replies=' + toString(this.replies) + ', status=' + this.status.toString() + ')';
|
|
31248
31281
|
};
|
|
31249
31282
|
protoOf(CommunicationComment).hashCode = function () {
|
|
31250
31283
|
var result = this.actor.hashCode();
|
|
31251
31284
|
result = imul(result, 31) + (this.attachments == null ? 0 : hashCode(this.attachments)) | 0;
|
|
31252
31285
|
result = imul(result, 31) + this.createdAt.hashCode() | 0;
|
|
31286
|
+
result = imul(result, 31) + (this.deletedByAuthor == null ? 0 : getBooleanHashCode(this.deletedByAuthor)) | 0;
|
|
31253
31287
|
result = imul(result, 31) + (this.editedAt == null ? 0 : this.editedAt.hashCode()) | 0;
|
|
31254
31288
|
result = imul(result, 31) + (this.htmlContent == null ? 0 : getStringHashCode(this.htmlContent)) | 0;
|
|
31255
31289
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
@@ -31273,6 +31307,8 @@ protoOf(CommunicationComment).equals = function (other) {
|
|
|
31273
31307
|
return false;
|
|
31274
31308
|
if (!this.createdAt.equals(other.createdAt))
|
|
31275
31309
|
return false;
|
|
31310
|
+
if (!(this.deletedByAuthor == other.deletedByAuthor))
|
|
31311
|
+
return false;
|
|
31276
31312
|
if (!equals(this.editedAt, other.editedAt))
|
|
31277
31313
|
return false;
|
|
31278
31314
|
if (!(this.htmlContent == other.htmlContent))
|
|
@@ -305687,15 +305723,14 @@ protoOf($listNeighborhoodPostComments$suspendBridgeCOROUTINE$).doResume_5yljmg_k
|
|
|
305687
305723
|
}
|
|
305688
305724
|
while (true);
|
|
305689
305725
|
};
|
|
305690
|
-
function $
|
|
305726
|
+
function $permanentlyDeleteHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
305691
305727
|
CoroutineImpl.call(this, resultContinuation);
|
|
305692
305728
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305693
305729
|
this.companyId_1 = companyId;
|
|
305694
305730
|
this.postId_1 = postId;
|
|
305695
305731
|
this.commentId_1 = commentId;
|
|
305696
|
-
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305697
305732
|
}
|
|
305698
|
-
protoOf($
|
|
305733
|
+
protoOf($permanentlyDeleteHomepagePostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305699
305734
|
var suspendResult = this.result_1;
|
|
305700
305735
|
$sm: do
|
|
305701
305736
|
try {
|
|
@@ -305704,14 +305739,14 @@ protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
305704
305739
|
case 0:
|
|
305705
305740
|
this.exceptionState_1 = 2;
|
|
305706
305741
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
305707
|
-
var localVariableBody =
|
|
305742
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
305708
305743
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
305709
305744
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
305710
|
-
var tmp0_method =
|
|
305711
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/
|
|
305745
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
305746
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/permanent', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
305712
305747
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
305713
305748
|
this.state_1 = 1;
|
|
305714
|
-
suspendResult = this._this__u8e3s4__1.
|
|
305749
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
305715
305750
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305716
305751
|
return suspendResult;
|
|
305717
305752
|
}
|
|
@@ -305750,15 +305785,14 @@ protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
305750
305785
|
}
|
|
305751
305786
|
while (true);
|
|
305752
305787
|
};
|
|
305753
|
-
function $
|
|
305788
|
+
function $permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
305754
305789
|
CoroutineImpl.call(this, resultContinuation);
|
|
305755
305790
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305756
305791
|
this.companyId_1 = companyId;
|
|
305757
305792
|
this.postId_1 = postId;
|
|
305758
305793
|
this.commentId_1 = commentId;
|
|
305759
|
-
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305760
305794
|
}
|
|
305761
|
-
protoOf($
|
|
305795
|
+
protoOf($permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305762
305796
|
var suspendResult = this.result_1;
|
|
305763
305797
|
$sm: do
|
|
305764
305798
|
try {
|
|
@@ -305766,16 +305800,16 @@ protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
305766
305800
|
switch (tmp) {
|
|
305767
305801
|
case 0:
|
|
305768
305802
|
this.exceptionState_1 = 4;
|
|
305769
|
-
if (this._this__u8e3s4__1.
|
|
305803
|
+
if (this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment === protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment) {
|
|
305770
305804
|
this.state_1 = 2;
|
|
305771
|
-
suspendResult = this._this__u8e3s4__1.
|
|
305805
|
+
suspendResult = this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment_yhholn_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
305772
305806
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305773
305807
|
return suspendResult;
|
|
305774
305808
|
}
|
|
305775
305809
|
continue $sm;
|
|
305776
305810
|
} else {
|
|
305777
305811
|
this.state_1 = 1;
|
|
305778
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
305812
|
+
suspendResult = await_0(this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
305779
305813
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305780
305814
|
return suspendResult;
|
|
305781
305815
|
}
|
|
@@ -305806,14 +305840,132 @@ protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
305806
305840
|
}
|
|
305807
305841
|
while (true);
|
|
305808
305842
|
};
|
|
305809
|
-
function $
|
|
305843
|
+
function $permanentlyDeleteNeighborhoodPostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
305810
305844
|
CoroutineImpl.call(this, resultContinuation);
|
|
305811
305845
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305812
305846
|
this.companyId_1 = companyId;
|
|
305813
305847
|
this.postId_1 = postId;
|
|
305848
|
+
this.commentId_1 = commentId;
|
|
305849
|
+
}
|
|
305850
|
+
protoOf($permanentlyDeleteNeighborhoodPostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305851
|
+
var suspendResult = this.result_1;
|
|
305852
|
+
$sm: do
|
|
305853
|
+
try {
|
|
305854
|
+
var tmp = this.state_1;
|
|
305855
|
+
switch (tmp) {
|
|
305856
|
+
case 0:
|
|
305857
|
+
this.exceptionState_1 = 2;
|
|
305858
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
305859
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
305860
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
305861
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
305862
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
305863
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/permanent', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
305864
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
305865
|
+
this.state_1 = 1;
|
|
305866
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
305867
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305868
|
+
return suspendResult;
|
|
305869
|
+
}
|
|
305870
|
+
|
|
305871
|
+
continue $sm;
|
|
305872
|
+
case 1:
|
|
305873
|
+
var this_0 = suspendResult;
|
|
305874
|
+
var tmp_0 = getKClass(Unit);
|
|
305875
|
+
var tmp_1 = null instanceof Unit;
|
|
305876
|
+
var tmp_2;
|
|
305877
|
+
try {
|
|
305878
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
305879
|
+
} catch ($p) {
|
|
305880
|
+
var tmp_3;
|
|
305881
|
+
if ($p instanceof Error) {
|
|
305882
|
+
var _unused_var__etf5q3 = $p;
|
|
305883
|
+
tmp_3 = null;
|
|
305884
|
+
} else {
|
|
305885
|
+
throw $p;
|
|
305886
|
+
}
|
|
305887
|
+
tmp_2 = tmp_3;
|
|
305888
|
+
}
|
|
305889
|
+
|
|
305890
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
305891
|
+
case 2:
|
|
305892
|
+
throw this.exception_1;
|
|
305893
|
+
}
|
|
305894
|
+
} catch ($p_0) {
|
|
305895
|
+
var e = $p_0;
|
|
305896
|
+
if (this.exceptionState_1 === 2) {
|
|
305897
|
+
throw e;
|
|
305898
|
+
} else {
|
|
305899
|
+
this.state_1 = this.exceptionState_1;
|
|
305900
|
+
this.exception_1 = e;
|
|
305901
|
+
}
|
|
305902
|
+
}
|
|
305903
|
+
while (true);
|
|
305904
|
+
};
|
|
305905
|
+
function $permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
305906
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
305907
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305908
|
+
this.companyId_1 = companyId;
|
|
305909
|
+
this.postId_1 = postId;
|
|
305910
|
+
this.commentId_1 = commentId;
|
|
305911
|
+
}
|
|
305912
|
+
protoOf($permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305913
|
+
var suspendResult = this.result_1;
|
|
305914
|
+
$sm: do
|
|
305915
|
+
try {
|
|
305916
|
+
var tmp = this.state_1;
|
|
305917
|
+
switch (tmp) {
|
|
305918
|
+
case 0:
|
|
305919
|
+
this.exceptionState_1 = 4;
|
|
305920
|
+
if (this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment === protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment) {
|
|
305921
|
+
this.state_1 = 2;
|
|
305922
|
+
suspendResult = this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment_nfgc45_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
305923
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305924
|
+
return suspendResult;
|
|
305925
|
+
}
|
|
305926
|
+
continue $sm;
|
|
305927
|
+
} else {
|
|
305928
|
+
this.state_1 = 1;
|
|
305929
|
+
suspendResult = await_0(this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
305930
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305931
|
+
return suspendResult;
|
|
305932
|
+
}
|
|
305933
|
+
continue $sm;
|
|
305934
|
+
}
|
|
305935
|
+
|
|
305936
|
+
case 1:
|
|
305937
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
305938
|
+
this.state_1 = 3;
|
|
305939
|
+
continue $sm;
|
|
305940
|
+
case 2:
|
|
305941
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
305942
|
+
this.state_1 = 3;
|
|
305943
|
+
continue $sm;
|
|
305944
|
+
case 3:
|
|
305945
|
+
return this.WHEN_RESULT0__1;
|
|
305946
|
+
case 4:
|
|
305947
|
+
throw this.exception_1;
|
|
305948
|
+
}
|
|
305949
|
+
} catch ($p) {
|
|
305950
|
+
var e = $p;
|
|
305951
|
+
if (this.exceptionState_1 === 4) {
|
|
305952
|
+
throw e;
|
|
305953
|
+
} else {
|
|
305954
|
+
this.state_1 = this.exceptionState_1;
|
|
305955
|
+
this.exception_1 = e;
|
|
305956
|
+
}
|
|
305957
|
+
}
|
|
305958
|
+
while (true);
|
|
305959
|
+
};
|
|
305960
|
+
function $putHomepageCommentReactionCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
305961
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
305962
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305963
|
+
this.companyId_1 = companyId;
|
|
305964
|
+
this.postId_1 = postId;
|
|
305965
|
+
this.commentId_1 = commentId;
|
|
305814
305966
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305815
305967
|
}
|
|
305816
|
-
protoOf($
|
|
305968
|
+
protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305817
305969
|
var suspendResult = this.result_1;
|
|
305818
305970
|
$sm: do
|
|
305819
305971
|
try {
|
|
@@ -305826,7 +305978,7 @@ protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
305826
305978
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
305827
305979
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
305828
305980
|
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
305829
|
-
var tmp1_path = replace(replace('/companies/{companyId}/homepage/feed/{postId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString());
|
|
305981
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
305830
305982
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
305831
305983
|
this.state_1 = 1;
|
|
305832
305984
|
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
@@ -305868,14 +306020,15 @@ protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
305868
306020
|
}
|
|
305869
306021
|
while (true);
|
|
305870
306022
|
};
|
|
305871
|
-
function $
|
|
306023
|
+
function $putHomepageCommentReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
305872
306024
|
CoroutineImpl.call(this, resultContinuation);
|
|
305873
306025
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305874
306026
|
this.companyId_1 = companyId;
|
|
305875
306027
|
this.postId_1 = postId;
|
|
306028
|
+
this.commentId_1 = commentId;
|
|
305876
306029
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305877
306030
|
}
|
|
305878
|
-
protoOf($
|
|
306031
|
+
protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305879
306032
|
var suspendResult = this.result_1;
|
|
305880
306033
|
$sm: do
|
|
305881
306034
|
try {
|
|
@@ -305883,16 +306036,16 @@ protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
305883
306036
|
switch (tmp) {
|
|
305884
306037
|
case 0:
|
|
305885
306038
|
this.exceptionState_1 = 4;
|
|
305886
|
-
if (this._this__u8e3s4__1.
|
|
306039
|
+
if (this._this__u8e3s4__1.putHomepageCommentReaction === protoOf(ResidentCommunicationApi).putHomepageCommentReaction) {
|
|
305887
306040
|
this.state_1 = 2;
|
|
305888
|
-
suspendResult = this._this__u8e3s4__1.
|
|
306041
|
+
suspendResult = this._this__u8e3s4__1.putHomepageCommentReaction_v53ilb_k$(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1, this);
|
|
305889
306042
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305890
306043
|
return suspendResult;
|
|
305891
306044
|
}
|
|
305892
306045
|
continue $sm;
|
|
305893
306046
|
} else {
|
|
305894
306047
|
this.state_1 = 1;
|
|
305895
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
306048
|
+
suspendResult = await_0(this._this__u8e3s4__1.putHomepageCommentReaction(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1), this);
|
|
305896
306049
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305897
306050
|
return suspendResult;
|
|
305898
306051
|
}
|
|
@@ -305923,15 +306076,14 @@ protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
305923
306076
|
}
|
|
305924
306077
|
while (true);
|
|
305925
306078
|
};
|
|
305926
|
-
function $
|
|
306079
|
+
function $putHomepagePostReactionCOROUTINE$(_this__u8e3s4, companyId, postId, putCommunicationReactionCommand, resultContinuation) {
|
|
305927
306080
|
CoroutineImpl.call(this, resultContinuation);
|
|
305928
306081
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305929
306082
|
this.companyId_1 = companyId;
|
|
305930
306083
|
this.postId_1 = postId;
|
|
305931
|
-
this.commentId_1 = commentId;
|
|
305932
306084
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305933
306085
|
}
|
|
305934
|
-
protoOf($
|
|
306086
|
+
protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305935
306087
|
var suspendResult = this.result_1;
|
|
305936
306088
|
$sm: do
|
|
305937
306089
|
try {
|
|
@@ -305944,7 +306096,7 @@ protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
305944
306096
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
305945
306097
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
305946
306098
|
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
305947
|
-
var tmp1_path = replace(replace(
|
|
306099
|
+
var tmp1_path = replace(replace('/companies/{companyId}/homepage/feed/{postId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString());
|
|
305948
306100
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
305949
306101
|
this.state_1 = 1;
|
|
305950
306102
|
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
@@ -305986,15 +306138,14 @@ protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
305986
306138
|
}
|
|
305987
306139
|
while (true);
|
|
305988
306140
|
};
|
|
305989
|
-
function $
|
|
306141
|
+
function $putHomepagePostReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, putCommunicationReactionCommand, resultContinuation) {
|
|
305990
306142
|
CoroutineImpl.call(this, resultContinuation);
|
|
305991
306143
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
305992
306144
|
this.companyId_1 = companyId;
|
|
305993
306145
|
this.postId_1 = postId;
|
|
305994
|
-
this.commentId_1 = commentId;
|
|
305995
306146
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
305996
306147
|
}
|
|
305997
|
-
protoOf($
|
|
306148
|
+
protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
305998
306149
|
var suspendResult = this.result_1;
|
|
305999
306150
|
$sm: do
|
|
306000
306151
|
try {
|
|
@@ -306002,16 +306153,135 @@ protoOf($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg
|
|
|
306002
306153
|
switch (tmp) {
|
|
306003
306154
|
case 0:
|
|
306004
306155
|
this.exceptionState_1 = 4;
|
|
306005
|
-
if (this._this__u8e3s4__1.
|
|
306156
|
+
if (this._this__u8e3s4__1.putHomepagePostReaction === protoOf(ResidentCommunicationApi).putHomepagePostReaction) {
|
|
306006
306157
|
this.state_1 = 2;
|
|
306007
|
-
suspendResult = this._this__u8e3s4__1.
|
|
306158
|
+
suspendResult = this._this__u8e3s4__1.putHomepagePostReaction_ljrz3g_k$(this.companyId_1, this.postId_1, this.putCommunicationReactionCommand_1, this);
|
|
306008
306159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306009
306160
|
return suspendResult;
|
|
306010
306161
|
}
|
|
306011
306162
|
continue $sm;
|
|
306012
306163
|
} else {
|
|
306013
306164
|
this.state_1 = 1;
|
|
306014
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
306165
|
+
suspendResult = await_0(this._this__u8e3s4__1.putHomepagePostReaction(this.companyId_1, this.postId_1, this.putCommunicationReactionCommand_1), this);
|
|
306166
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306167
|
+
return suspendResult;
|
|
306168
|
+
}
|
|
306169
|
+
continue $sm;
|
|
306170
|
+
}
|
|
306171
|
+
|
|
306172
|
+
case 1:
|
|
306173
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306174
|
+
this.state_1 = 3;
|
|
306175
|
+
continue $sm;
|
|
306176
|
+
case 2:
|
|
306177
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306178
|
+
this.state_1 = 3;
|
|
306179
|
+
continue $sm;
|
|
306180
|
+
case 3:
|
|
306181
|
+
return this.WHEN_RESULT0__1;
|
|
306182
|
+
case 4:
|
|
306183
|
+
throw this.exception_1;
|
|
306184
|
+
}
|
|
306185
|
+
} catch ($p) {
|
|
306186
|
+
var e = $p;
|
|
306187
|
+
if (this.exceptionState_1 === 4) {
|
|
306188
|
+
throw e;
|
|
306189
|
+
} else {
|
|
306190
|
+
this.state_1 = this.exceptionState_1;
|
|
306191
|
+
this.exception_1 = e;
|
|
306192
|
+
}
|
|
306193
|
+
}
|
|
306194
|
+
while (true);
|
|
306195
|
+
};
|
|
306196
|
+
function $putNeighborhoodCommentReactionCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
306197
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306198
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306199
|
+
this.companyId_1 = companyId;
|
|
306200
|
+
this.postId_1 = postId;
|
|
306201
|
+
this.commentId_1 = commentId;
|
|
306202
|
+
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
306203
|
+
}
|
|
306204
|
+
protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306205
|
+
var suspendResult = this.result_1;
|
|
306206
|
+
$sm: do
|
|
306207
|
+
try {
|
|
306208
|
+
var tmp = this.state_1;
|
|
306209
|
+
switch (tmp) {
|
|
306210
|
+
case 0:
|
|
306211
|
+
this.exceptionState_1 = 2;
|
|
306212
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
306213
|
+
var localVariableBody = this.putCommunicationReactionCommand_1;
|
|
306214
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
306215
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
306216
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
306217
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
306218
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
306219
|
+
this.state_1 = 1;
|
|
306220
|
+
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
306221
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306222
|
+
return suspendResult;
|
|
306223
|
+
}
|
|
306224
|
+
|
|
306225
|
+
continue $sm;
|
|
306226
|
+
case 1:
|
|
306227
|
+
var this_0 = suspendResult;
|
|
306228
|
+
var tmp_0 = getKClass(Unit);
|
|
306229
|
+
var tmp_1 = null instanceof Unit;
|
|
306230
|
+
var tmp_2;
|
|
306231
|
+
try {
|
|
306232
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
306233
|
+
} catch ($p) {
|
|
306234
|
+
var tmp_3;
|
|
306235
|
+
if ($p instanceof Error) {
|
|
306236
|
+
var _unused_var__etf5q3 = $p;
|
|
306237
|
+
tmp_3 = null;
|
|
306238
|
+
} else {
|
|
306239
|
+
throw $p;
|
|
306240
|
+
}
|
|
306241
|
+
tmp_2 = tmp_3;
|
|
306242
|
+
}
|
|
306243
|
+
|
|
306244
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
306245
|
+
case 2:
|
|
306246
|
+
throw this.exception_1;
|
|
306247
|
+
}
|
|
306248
|
+
} catch ($p_0) {
|
|
306249
|
+
var e = $p_0;
|
|
306250
|
+
if (this.exceptionState_1 === 2) {
|
|
306251
|
+
throw e;
|
|
306252
|
+
} else {
|
|
306253
|
+
this.state_1 = this.exceptionState_1;
|
|
306254
|
+
this.exception_1 = e;
|
|
306255
|
+
}
|
|
306256
|
+
}
|
|
306257
|
+
while (true);
|
|
306258
|
+
};
|
|
306259
|
+
function $putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
306260
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306261
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306262
|
+
this.companyId_1 = companyId;
|
|
306263
|
+
this.postId_1 = postId;
|
|
306264
|
+
this.commentId_1 = commentId;
|
|
306265
|
+
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
306266
|
+
}
|
|
306267
|
+
protoOf($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306268
|
+
var suspendResult = this.result_1;
|
|
306269
|
+
$sm: do
|
|
306270
|
+
try {
|
|
306271
|
+
var tmp = this.state_1;
|
|
306272
|
+
switch (tmp) {
|
|
306273
|
+
case 0:
|
|
306274
|
+
this.exceptionState_1 = 4;
|
|
306275
|
+
if (this._this__u8e3s4__1.putNeighborhoodCommentReaction === protoOf(ResidentCommunicationApi).putNeighborhoodCommentReaction) {
|
|
306276
|
+
this.state_1 = 2;
|
|
306277
|
+
suspendResult = this._this__u8e3s4__1.putNeighborhoodCommentReaction_uoh1fj_k$(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1, this);
|
|
306278
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306279
|
+
return suspendResult;
|
|
306280
|
+
}
|
|
306281
|
+
continue $sm;
|
|
306282
|
+
} else {
|
|
306283
|
+
this.state_1 = 1;
|
|
306284
|
+
suspendResult = await_0(this._this__u8e3s4__1.putNeighborhoodCommentReaction(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1), this);
|
|
306015
306285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306016
306286
|
return suspendResult;
|
|
306017
306287
|
}
|
|
@@ -306159,6 +306429,240 @@ protoOf($putNeighborhoodPostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
306159
306429
|
}
|
|
306160
306430
|
while (true);
|
|
306161
306431
|
};
|
|
306432
|
+
function $restoreHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
306433
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306434
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306435
|
+
this.companyId_1 = companyId;
|
|
306436
|
+
this.postId_1 = postId;
|
|
306437
|
+
this.commentId_1 = commentId;
|
|
306438
|
+
}
|
|
306439
|
+
protoOf($restoreHomepagePostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306440
|
+
var suspendResult = this.result_1;
|
|
306441
|
+
$sm: do
|
|
306442
|
+
try {
|
|
306443
|
+
var tmp = this.state_1;
|
|
306444
|
+
switch (tmp) {
|
|
306445
|
+
case 0:
|
|
306446
|
+
this.exceptionState_1 = 2;
|
|
306447
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
306448
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
306449
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
306450
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
306451
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
306452
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/restore', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
306453
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
306454
|
+
this.state_1 = 1;
|
|
306455
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
306456
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306457
|
+
return suspendResult;
|
|
306458
|
+
}
|
|
306459
|
+
|
|
306460
|
+
continue $sm;
|
|
306461
|
+
case 1:
|
|
306462
|
+
var this_0 = suspendResult;
|
|
306463
|
+
var tmp_0 = getKClass(Unit);
|
|
306464
|
+
var tmp_1 = null instanceof Unit;
|
|
306465
|
+
var tmp_2;
|
|
306466
|
+
try {
|
|
306467
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
306468
|
+
} catch ($p) {
|
|
306469
|
+
var tmp_3;
|
|
306470
|
+
if ($p instanceof Error) {
|
|
306471
|
+
var _unused_var__etf5q3 = $p;
|
|
306472
|
+
tmp_3 = null;
|
|
306473
|
+
} else {
|
|
306474
|
+
throw $p;
|
|
306475
|
+
}
|
|
306476
|
+
tmp_2 = tmp_3;
|
|
306477
|
+
}
|
|
306478
|
+
|
|
306479
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
306480
|
+
case 2:
|
|
306481
|
+
throw this.exception_1;
|
|
306482
|
+
}
|
|
306483
|
+
} catch ($p_0) {
|
|
306484
|
+
var e = $p_0;
|
|
306485
|
+
if (this.exceptionState_1 === 2) {
|
|
306486
|
+
throw e;
|
|
306487
|
+
} else {
|
|
306488
|
+
this.state_1 = this.exceptionState_1;
|
|
306489
|
+
this.exception_1 = e;
|
|
306490
|
+
}
|
|
306491
|
+
}
|
|
306492
|
+
while (true);
|
|
306493
|
+
};
|
|
306494
|
+
function $restoreHomepagePostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
306495
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306496
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306497
|
+
this.companyId_1 = companyId;
|
|
306498
|
+
this.postId_1 = postId;
|
|
306499
|
+
this.commentId_1 = commentId;
|
|
306500
|
+
}
|
|
306501
|
+
protoOf($restoreHomepagePostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306502
|
+
var suspendResult = this.result_1;
|
|
306503
|
+
$sm: do
|
|
306504
|
+
try {
|
|
306505
|
+
var tmp = this.state_1;
|
|
306506
|
+
switch (tmp) {
|
|
306507
|
+
case 0:
|
|
306508
|
+
this.exceptionState_1 = 4;
|
|
306509
|
+
if (this._this__u8e3s4__1.restoreHomepagePostComment === protoOf(ResidentCommunicationApi).restoreHomepagePostComment) {
|
|
306510
|
+
this.state_1 = 2;
|
|
306511
|
+
suspendResult = this._this__u8e3s4__1.restoreHomepagePostComment_3zwdq5_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
306512
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306513
|
+
return suspendResult;
|
|
306514
|
+
}
|
|
306515
|
+
continue $sm;
|
|
306516
|
+
} else {
|
|
306517
|
+
this.state_1 = 1;
|
|
306518
|
+
suspendResult = await_0(this._this__u8e3s4__1.restoreHomepagePostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
306519
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306520
|
+
return suspendResult;
|
|
306521
|
+
}
|
|
306522
|
+
continue $sm;
|
|
306523
|
+
}
|
|
306524
|
+
|
|
306525
|
+
case 1:
|
|
306526
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306527
|
+
this.state_1 = 3;
|
|
306528
|
+
continue $sm;
|
|
306529
|
+
case 2:
|
|
306530
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306531
|
+
this.state_1 = 3;
|
|
306532
|
+
continue $sm;
|
|
306533
|
+
case 3:
|
|
306534
|
+
return this.WHEN_RESULT0__1;
|
|
306535
|
+
case 4:
|
|
306536
|
+
throw this.exception_1;
|
|
306537
|
+
}
|
|
306538
|
+
} catch ($p) {
|
|
306539
|
+
var e = $p;
|
|
306540
|
+
if (this.exceptionState_1 === 4) {
|
|
306541
|
+
throw e;
|
|
306542
|
+
} else {
|
|
306543
|
+
this.state_1 = this.exceptionState_1;
|
|
306544
|
+
this.exception_1 = e;
|
|
306545
|
+
}
|
|
306546
|
+
}
|
|
306547
|
+
while (true);
|
|
306548
|
+
};
|
|
306549
|
+
function $restoreNeighborhoodPostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
306550
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306551
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306552
|
+
this.companyId_1 = companyId;
|
|
306553
|
+
this.postId_1 = postId;
|
|
306554
|
+
this.commentId_1 = commentId;
|
|
306555
|
+
}
|
|
306556
|
+
protoOf($restoreNeighborhoodPostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306557
|
+
var suspendResult = this.result_1;
|
|
306558
|
+
$sm: do
|
|
306559
|
+
try {
|
|
306560
|
+
var tmp = this.state_1;
|
|
306561
|
+
switch (tmp) {
|
|
306562
|
+
case 0:
|
|
306563
|
+
this.exceptionState_1 = 2;
|
|
306564
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
306565
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
306566
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
306567
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
306568
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
306569
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/restore', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
306570
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
306571
|
+
this.state_1 = 1;
|
|
306572
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
306573
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306574
|
+
return suspendResult;
|
|
306575
|
+
}
|
|
306576
|
+
|
|
306577
|
+
continue $sm;
|
|
306578
|
+
case 1:
|
|
306579
|
+
var this_0 = suspendResult;
|
|
306580
|
+
var tmp_0 = getKClass(Unit);
|
|
306581
|
+
var tmp_1 = null instanceof Unit;
|
|
306582
|
+
var tmp_2;
|
|
306583
|
+
try {
|
|
306584
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
306585
|
+
} catch ($p) {
|
|
306586
|
+
var tmp_3;
|
|
306587
|
+
if ($p instanceof Error) {
|
|
306588
|
+
var _unused_var__etf5q3 = $p;
|
|
306589
|
+
tmp_3 = null;
|
|
306590
|
+
} else {
|
|
306591
|
+
throw $p;
|
|
306592
|
+
}
|
|
306593
|
+
tmp_2 = tmp_3;
|
|
306594
|
+
}
|
|
306595
|
+
|
|
306596
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
306597
|
+
case 2:
|
|
306598
|
+
throw this.exception_1;
|
|
306599
|
+
}
|
|
306600
|
+
} catch ($p_0) {
|
|
306601
|
+
var e = $p_0;
|
|
306602
|
+
if (this.exceptionState_1 === 2) {
|
|
306603
|
+
throw e;
|
|
306604
|
+
} else {
|
|
306605
|
+
this.state_1 = this.exceptionState_1;
|
|
306606
|
+
this.exception_1 = e;
|
|
306607
|
+
}
|
|
306608
|
+
}
|
|
306609
|
+
while (true);
|
|
306610
|
+
};
|
|
306611
|
+
function $restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
306612
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
306613
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
306614
|
+
this.companyId_1 = companyId;
|
|
306615
|
+
this.postId_1 = postId;
|
|
306616
|
+
this.commentId_1 = commentId;
|
|
306617
|
+
}
|
|
306618
|
+
protoOf($restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
306619
|
+
var suspendResult = this.result_1;
|
|
306620
|
+
$sm: do
|
|
306621
|
+
try {
|
|
306622
|
+
var tmp = this.state_1;
|
|
306623
|
+
switch (tmp) {
|
|
306624
|
+
case 0:
|
|
306625
|
+
this.exceptionState_1 = 4;
|
|
306626
|
+
if (this._this__u8e3s4__1.restoreNeighborhoodPostComment === protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment) {
|
|
306627
|
+
this.state_1 = 2;
|
|
306628
|
+
suspendResult = this._this__u8e3s4__1.restoreNeighborhoodPostComment_7zny3n_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
306629
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306630
|
+
return suspendResult;
|
|
306631
|
+
}
|
|
306632
|
+
continue $sm;
|
|
306633
|
+
} else {
|
|
306634
|
+
this.state_1 = 1;
|
|
306635
|
+
suspendResult = await_0(this._this__u8e3s4__1.restoreNeighborhoodPostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
306636
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
306637
|
+
return suspendResult;
|
|
306638
|
+
}
|
|
306639
|
+
continue $sm;
|
|
306640
|
+
}
|
|
306641
|
+
|
|
306642
|
+
case 1:
|
|
306643
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306644
|
+
this.state_1 = 3;
|
|
306645
|
+
continue $sm;
|
|
306646
|
+
case 2:
|
|
306647
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
306648
|
+
this.state_1 = 3;
|
|
306649
|
+
continue $sm;
|
|
306650
|
+
case 3:
|
|
306651
|
+
return this.WHEN_RESULT0__1;
|
|
306652
|
+
case 4:
|
|
306653
|
+
throw this.exception_1;
|
|
306654
|
+
}
|
|
306655
|
+
} catch ($p) {
|
|
306656
|
+
var e = $p;
|
|
306657
|
+
if (this.exceptionState_1 === 4) {
|
|
306658
|
+
throw e;
|
|
306659
|
+
} else {
|
|
306660
|
+
this.state_1 = this.exceptionState_1;
|
|
306661
|
+
this.exception_1 = e;
|
|
306662
|
+
}
|
|
306663
|
+
}
|
|
306664
|
+
while (true);
|
|
306665
|
+
};
|
|
306162
306666
|
function $updateHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, updateCommunicationCommentCommand, resultContinuation) {
|
|
306163
306667
|
CoroutineImpl.call(this, resultContinuation);
|
|
306164
306668
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -308423,6 +308927,42 @@ protoOf(ResidentCommunicationApi).listNeighborhoodPostComments$suspendBridge_dul
|
|
|
308423
308927
|
tmp.exception_1 = null;
|
|
308424
308928
|
return tmp.doResume_5yljmg_k$();
|
|
308425
308929
|
};
|
|
308930
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment_yhholn_k$ = function (companyId, postId, commentId, $completion) {
|
|
308931
|
+
var tmp = new $permanentlyDeleteHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
308932
|
+
tmp.result_1 = Unit_instance;
|
|
308933
|
+
tmp.exception_1 = null;
|
|
308934
|
+
return tmp.doResume_5yljmg_k$();
|
|
308935
|
+
};
|
|
308936
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment = function (companyId, postId, commentId) {
|
|
308937
|
+
var tmp = this;
|
|
308938
|
+
return promisify(function ($completion) {
|
|
308939
|
+
return tmp.permanentlyDeleteHomepagePostComment_yhholn_k$(companyId, postId, commentId, $completion);
|
|
308940
|
+
});
|
|
308941
|
+
};
|
|
308942
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment$suspendBridge_mno1p0_k$ = function (companyId, postId, commentId, $completion) {
|
|
308943
|
+
var tmp = new $permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
308944
|
+
tmp.result_1 = Unit_instance;
|
|
308945
|
+
tmp.exception_1 = null;
|
|
308946
|
+
return tmp.doResume_5yljmg_k$();
|
|
308947
|
+
};
|
|
308948
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment_nfgc45_k$ = function (companyId, postId, commentId, $completion) {
|
|
308949
|
+
var tmp = new $permanentlyDeleteNeighborhoodPostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
308950
|
+
tmp.result_1 = Unit_instance;
|
|
308951
|
+
tmp.exception_1 = null;
|
|
308952
|
+
return tmp.doResume_5yljmg_k$();
|
|
308953
|
+
};
|
|
308954
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment = function (companyId, postId, commentId) {
|
|
308955
|
+
var tmp = this;
|
|
308956
|
+
return promisify(function ($completion) {
|
|
308957
|
+
return tmp.permanentlyDeleteNeighborhoodPostComment_nfgc45_k$(companyId, postId, commentId, $completion);
|
|
308958
|
+
});
|
|
308959
|
+
};
|
|
308960
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment$suspendBridge_8rvwl0_k$ = function (companyId, postId, commentId, $completion) {
|
|
308961
|
+
var tmp = new $permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
308962
|
+
tmp.result_1 = Unit_instance;
|
|
308963
|
+
tmp.exception_1 = null;
|
|
308964
|
+
return tmp.doResume_5yljmg_k$();
|
|
308965
|
+
};
|
|
308426
308966
|
protoOf(ResidentCommunicationApi).putHomepageCommentReaction_v53ilb_k$ = function (companyId, postId, commentId, putCommunicationReactionCommand, $completion) {
|
|
308427
308967
|
var tmp = new $putHomepageCommentReactionCOROUTINE$(this, companyId, postId, commentId, putCommunicationReactionCommand, $completion);
|
|
308428
308968
|
tmp.result_1 = Unit_instance;
|
|
@@ -308495,6 +309035,42 @@ protoOf(ResidentCommunicationApi).putNeighborhoodPostReaction$suspendBridge_afnl
|
|
|
308495
309035
|
tmp.exception_1 = null;
|
|
308496
309036
|
return tmp.doResume_5yljmg_k$();
|
|
308497
309037
|
};
|
|
309038
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment_3zwdq5_k$ = function (companyId, postId, commentId, $completion) {
|
|
309039
|
+
var tmp = new $restoreHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
309040
|
+
tmp.result_1 = Unit_instance;
|
|
309041
|
+
tmp.exception_1 = null;
|
|
309042
|
+
return tmp.doResume_5yljmg_k$();
|
|
309043
|
+
};
|
|
309044
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment = function (companyId, postId, commentId) {
|
|
309045
|
+
var tmp = this;
|
|
309046
|
+
return promisify(function ($completion) {
|
|
309047
|
+
return tmp.restoreHomepagePostComment_3zwdq5_k$(companyId, postId, commentId, $completion);
|
|
309048
|
+
});
|
|
309049
|
+
};
|
|
309050
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment$suspendBridge_ejydk4_k$ = function (companyId, postId, commentId, $completion) {
|
|
309051
|
+
var tmp = new $restoreHomepagePostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
309052
|
+
tmp.result_1 = Unit_instance;
|
|
309053
|
+
tmp.exception_1 = null;
|
|
309054
|
+
return tmp.doResume_5yljmg_k$();
|
|
309055
|
+
};
|
|
309056
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment_7zny3n_k$ = function (companyId, postId, commentId, $completion) {
|
|
309057
|
+
var tmp = new $restoreNeighborhoodPostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
309058
|
+
tmp.result_1 = Unit_instance;
|
|
309059
|
+
tmp.exception_1 = null;
|
|
309060
|
+
return tmp.doResume_5yljmg_k$();
|
|
309061
|
+
};
|
|
309062
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment = function (companyId, postId, commentId) {
|
|
309063
|
+
var tmp = this;
|
|
309064
|
+
return promisify(function ($completion) {
|
|
309065
|
+
return tmp.restoreNeighborhoodPostComment_7zny3n_k$(companyId, postId, commentId, $completion);
|
|
309066
|
+
});
|
|
309067
|
+
};
|
|
309068
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment$suspendBridge_2oo938_k$ = function (companyId, postId, commentId, $completion) {
|
|
309069
|
+
var tmp = new $restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
309070
|
+
tmp.result_1 = Unit_instance;
|
|
309071
|
+
tmp.exception_1 = null;
|
|
309072
|
+
return tmp.doResume_5yljmg_k$();
|
|
309073
|
+
};
|
|
308498
309074
|
protoOf(ResidentCommunicationApi).updateHomepagePostComment_4zpzb0_k$ = function (companyId, postId, commentId, updateCommunicationCommentCommand, $completion) {
|
|
308499
309075
|
var tmp = new $updateHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, updateCommunicationCommentCommand, $completion);
|
|
308500
309076
|
tmp.result_1 = Unit_instance;
|
|
@@ -341503,10 +342079,14 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
341503
342079
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "listNeighborhoodGroupPosts", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
|
|
341504
342080
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "listNeighborhoodGroups", {"args":{"0":["bigint"]},"result":true});
|
|
341505
342081
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "listNeighborhoodPostComments", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
|
|
342082
|
+
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "permanentlyDeleteHomepagePostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
|
|
342083
|
+
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "permanentlyDeleteNeighborhoodPostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
|
|
341506
342084
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "putHomepageCommentReaction", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","PutCommunicationReactionCommand"]},"result":true});
|
|
341507
342085
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "putHomepagePostReaction", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","PutCommunicationReactionCommand"]},"result":true});
|
|
341508
342086
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "putNeighborhoodCommentReaction", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","PutCommunicationReactionCommand"]},"result":true});
|
|
341509
342087
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "putNeighborhoodPostReaction", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","PutCommunicationReactionCommand"]},"result":true});
|
|
342088
|
+
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "restoreHomepagePostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
|
|
342089
|
+
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "restoreNeighborhoodPostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
|
|
341510
342090
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "updateHomepagePostComment", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","UpdateCommunicationCommentCommand"]},"result":true});
|
|
341511
342091
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "updateHomepagePostCommentModerationStatus", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"],"3":["model","UpdateCommunicationModerationStatusCommand"]},"result":true});
|
|
341512
342092
|
__soliboWrapMethod(ref(() => ResidentCommunicationApi), "updateHomepagePostCommentsEnabled", {"args":{"0":["bigint"],"1":["bigint"],"2":["model","UpdateCommunicationCommentsEnabledCommand"]},"result":true});
|