@solibo/home-api 1.33.5 → 1.33.6

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.
@@ -51827,12 +51827,18 @@ protoOf(CreateNeighborhoodPostCommand).equals = function (other) {
51827
51827
  return true;
51828
51828
  };
51829
51829
  function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0() {
51830
- return new ArrayListSerializer(StringSerializer_getInstance());
51830
+ return new ArrayListSerializer(LongSerializer_getInstance());
51831
51831
  }
51832
51832
  function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_0() {
51833
- return new ArrayListSerializer($serializer_getInstance_414());
51833
+ return new ArrayListSerializer(LongSerializer_getInstance());
51834
51834
  }
51835
51835
  function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_1() {
51836
+ return new ArrayListSerializer(StringSerializer_getInstance());
51837
+ }
51838
+ function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_2() {
51839
+ return new ArrayListSerializer($serializer_getInstance_414());
51840
+ }
51841
+ function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_3() {
51836
51842
  return new ArrayListSerializer(LongSerializer_getInstance());
51837
51843
  }
51838
51844
  function Companion_237() {
@@ -51843,10 +51849,14 @@ function Companion_237() {
51843
51849
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
51844
51850
  var tmp_3 = lazy(tmp_2, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_0);
51845
51851
  var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
51852
+ var tmp_5 = lazy(tmp_4, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_1);
51853
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
51854
+ var tmp_7 = lazy(tmp_6, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_2);
51855
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
51846
51856
  // Inline function 'kotlin.arrayOf' call
51847
51857
  // Inline function 'kotlin.js.unsafeCast' call
51848
51858
  // Inline function 'kotlin.js.asDynamic' call
51849
- tmp.$childSerializers_1 = [tmp_1, null, tmp_3, null, null, null, lazy(tmp_4, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_1), null];
51859
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, null, lazy(tmp_8, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_3), null];
51850
51860
  }
51851
51861
  var Companion_instance_238;
51852
51862
  function Companion_getInstance_240() {
@@ -51856,7 +51866,9 @@ function Companion_getInstance_240() {
51856
51866
  }
51857
51867
  function $serializer_202() {
51858
51868
  $serializer_instance_202 = this;
51859
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateNewsletterCommand', this, 8);
51869
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateNewsletterCommand', this, 10);
51870
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
51871
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
51860
51872
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
51861
51873
  tmp0_serialDesc.addElement_5pzumi_k$('htmlText', true);
51862
51874
  tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
@@ -51871,26 +51883,32 @@ protoOf($serializer_202).serialize_9dc0j8_k$ = function (encoder, value) {
51871
51883
  var tmp0_desc = this.descriptor_1;
51872
51884
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
51873
51885
  var tmp2_cached = Companion_getInstance_240().$childSerializers_1;
51874
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipients == null)) {
51875
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipients);
51886
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
51887
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
51876
51888
  }
51877
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.htmlText == null)) {
51878
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.htmlText);
51889
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
51890
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
51879
51891
  }
51880
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.notificationGroups == null)) {
51881
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.notificationGroups);
51892
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
51893
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
51882
51894
  }
51883
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.plainText);
51884
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.publish == null)) {
51885
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), value.publish);
51895
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.htmlText == null)) {
51896
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.htmlText);
51886
51897
  }
51887
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.publishedAt == null)) {
51888
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.publishedAt);
51898
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.notificationGroups == null)) {
51899
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
51889
51900
  }
51890
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.reviewers == null)) {
51891
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.reviewers);
51901
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
51902
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publish == null)) {
51903
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), value.publish);
51892
51904
  }
51893
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 7, value.subject);
51905
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.publishedAt == null)) {
51906
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.publishedAt);
51907
+ }
51908
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.reviewers == null)) {
51909
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.reviewers);
51910
+ }
51911
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 9, value.subject);
51894
51912
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
51895
51913
  };
51896
51914
  protoOf($serializer_202).serialize_5ase3y_k$ = function (encoder, value) {
@@ -51909,70 +51927,84 @@ protoOf($serializer_202).deserialize_sy6x50_k$ = function (decoder) {
51909
51927
  var tmp9_local5 = null;
51910
51928
  var tmp10_local6 = null;
51911
51929
  var tmp11_local7 = null;
51912
- var tmp12_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
51913
- var tmp13_cached = Companion_getInstance_240().$childSerializers_1;
51914
- if (tmp12_input.decodeSequentially_xlblqy_k$()) {
51915
- tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
51930
+ var tmp12_local8 = null;
51931
+ var tmp13_local9 = null;
51932
+ var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
51933
+ var tmp15_cached = Companion_getInstance_240().$childSerializers_1;
51934
+ if (tmp14_input.decodeSequentially_xlblqy_k$()) {
51935
+ tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp15_cached[0].get_value_j01efc_k$(), tmp4_local0);
51916
51936
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
51917
- tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
51937
+ tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp15_cached[1].get_value_j01efc_k$(), tmp5_local1);
51918
51938
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
51919
- tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp13_cached[2].get_value_j01efc_k$(), tmp6_local2);
51939
+ tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp15_cached[2].get_value_j01efc_k$(), tmp6_local2);
51920
51940
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
51921
- tmp7_local3 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
51941
+ tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
51922
51942
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
51923
- tmp8_local4 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
51943
+ tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp15_cached[4].get_value_j01efc_k$(), tmp8_local4);
51924
51944
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
51925
- tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
51945
+ tmp9_local5 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
51926
51946
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
51927
- tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp13_cached[6].get_value_j01efc_k$(), tmp10_local6);
51947
+ tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
51928
51948
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
51929
- tmp11_local7 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
51949
+ tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
51930
51950
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
51951
+ tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp15_cached[8].get_value_j01efc_k$(), tmp12_local8);
51952
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
51953
+ tmp13_local9 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
51954
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
51931
51955
  } else
51932
51956
  while (tmp1_flag) {
51933
- tmp2_index = tmp12_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
51957
+ tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
51934
51958
  switch (tmp2_index) {
51935
51959
  case -1:
51936
51960
  tmp1_flag = false;
51937
51961
  break;
51938
51962
  case 0:
51939
- tmp4_local0 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp13_cached[0].get_value_j01efc_k$(), tmp4_local0);
51963
+ tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp15_cached[0].get_value_j01efc_k$(), tmp4_local0);
51940
51964
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
51941
51965
  break;
51942
51966
  case 1:
51943
- tmp5_local1 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
51967
+ tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp15_cached[1].get_value_j01efc_k$(), tmp5_local1);
51944
51968
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
51945
51969
  break;
51946
51970
  case 2:
51947
- tmp6_local2 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp13_cached[2].get_value_j01efc_k$(), tmp6_local2);
51971
+ tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp15_cached[2].get_value_j01efc_k$(), tmp6_local2);
51948
51972
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
51949
51973
  break;
51950
51974
  case 3:
51951
- tmp7_local3 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
51975
+ tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
51952
51976
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
51953
51977
  break;
51954
51978
  case 4:
51955
- tmp8_local4 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), tmp8_local4);
51979
+ tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp15_cached[4].get_value_j01efc_k$(), tmp8_local4);
51956
51980
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
51957
51981
  break;
51958
51982
  case 5:
51959
- tmp9_local5 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
51983
+ tmp9_local5 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
51960
51984
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
51961
51985
  break;
51962
51986
  case 6:
51963
- tmp10_local6 = tmp12_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp13_cached[6].get_value_j01efc_k$(), tmp10_local6);
51987
+ tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
51964
51988
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
51965
51989
  break;
51966
51990
  case 7:
51967
- tmp11_local7 = tmp12_input.decodeStringElement_3oenpg_k$(tmp0_desc, 7);
51991
+ tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
51968
51992
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
51969
51993
  break;
51994
+ case 8:
51995
+ tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp15_cached[8].get_value_j01efc_k$(), tmp12_local8);
51996
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
51997
+ break;
51998
+ case 9:
51999
+ tmp13_local9 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
52000
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
52001
+ break;
51970
52002
  default:
51971
52003
  throw UnknownFieldException_init_$Create$(tmp2_index);
51972
52004
  }
51973
52005
  }
51974
- tmp12_input.endStructure_1xqz0n_k$(tmp0_desc);
51975
- return CreateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
52006
+ tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
52007
+ return CreateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
51976
52008
  };
51977
52009
  protoOf($serializer_202).get_descriptor_wjt6a0_k$ = function () {
51978
52010
  return this.descriptor_1;
@@ -51982,7 +52014,7 @@ protoOf($serializer_202).childSerializers_5ghqw5_k$ = function () {
51982
52014
  // Inline function 'kotlin.arrayOf' call
51983
52015
  // Inline function 'kotlin.js.unsafeCast' call
51984
52016
  // Inline function 'kotlin.js.asDynamic' call
51985
- return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[6].get_value_j01efc_k$()), StringSerializer_getInstance()];
52017
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), StringSerializer_getInstance()];
51986
52018
  };
51987
52019
  var $serializer_instance_202;
51988
52020
  function $serializer_getInstance_202() {
@@ -51990,49 +52022,61 @@ function $serializer_getInstance_202() {
51990
52022
  new $serializer_202();
51991
52023
  return $serializer_instance_202;
51992
52024
  }
51993
- function CreateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
51994
- if (!(136 === (136 & seen0))) {
51995
- throwMissingFieldException(seen0, 136, $serializer_getInstance_202().descriptor_1);
52025
+ function CreateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
52026
+ if (!(544 === (544 & seen0))) {
52027
+ throwMissingFieldException(seen0, 544, $serializer_getInstance_202().descriptor_1);
51996
52028
  }
51997
52029
  if (0 === (seen0 & 1))
52030
+ $this.directRecipientOrganizationIds = null;
52031
+ else
52032
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
52033
+ if (0 === (seen0 & 2))
52034
+ $this.directRecipientPersonIds = null;
52035
+ else
52036
+ $this.directRecipientPersonIds = directRecipientPersonIds;
52037
+ if (0 === (seen0 & 4))
51998
52038
  $this.directRecipients = null;
51999
52039
  else
52000
52040
  $this.directRecipients = directRecipients;
52001
- if (0 === (seen0 & 2))
52041
+ if (0 === (seen0 & 8))
52002
52042
  $this.htmlText = null;
52003
52043
  else
52004
52044
  $this.htmlText = htmlText;
52005
- if (0 === (seen0 & 4))
52045
+ if (0 === (seen0 & 16))
52006
52046
  $this.notificationGroups = null;
52007
52047
  else
52008
52048
  $this.notificationGroups = notificationGroups;
52009
52049
  $this.plainText = plainText;
52010
- if (0 === (seen0 & 16))
52050
+ if (0 === (seen0 & 64))
52011
52051
  $this.publish = null;
52012
52052
  else
52013
52053
  $this.publish = publish;
52014
- if (0 === (seen0 & 32))
52054
+ if (0 === (seen0 & 128))
52015
52055
  $this.publishedAt = null;
52016
52056
  else
52017
52057
  $this.publishedAt = publishedAt;
52018
- if (0 === (seen0 & 64))
52058
+ if (0 === (seen0 & 256))
52019
52059
  $this.reviewers = null;
52020
52060
  else
52021
52061
  $this.reviewers = reviewers;
52022
52062
  $this.subject = subject;
52023
52063
  return $this;
52024
52064
  }
52025
- function CreateNewsletterCommand_init_$Create$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker) {
52026
- return CreateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(CreateNewsletterCommand)));
52065
+ function CreateNewsletterCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker) {
52066
+ return CreateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(CreateNewsletterCommand)));
52027
52067
  }
52028
- function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
52068
+ function CreateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
52029
52069
  Companion_getInstance_240();
52070
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
52071
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
52030
52072
  directRecipients = directRecipients === VOID ? null : directRecipients;
52031
52073
  htmlText = htmlText === VOID ? null : htmlText;
52032
52074
  notificationGroups = notificationGroups === VOID ? null : notificationGroups;
52033
52075
  publish = publish === VOID ? null : publish;
52034
52076
  publishedAt = publishedAt === VOID ? null : publishedAt;
52035
52077
  reviewers = reviewers === VOID ? null : reviewers;
52078
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
52079
+ this.directRecipientPersonIds = directRecipientPersonIds;
52036
52080
  this.directRecipients = directRecipients;
52037
52081
  this.htmlText = htmlText;
52038
52082
  this.notificationGroups = notificationGroups;
@@ -52042,6 +52086,12 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
52042
52086
  this.reviewers = reviewers;
52043
52087
  this.subject = subject;
52044
52088
  }
52089
+ protoOf(CreateNewsletterCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
52090
+ return this.directRecipientOrganizationIds;
52091
+ };
52092
+ protoOf(CreateNewsletterCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
52093
+ return this.directRecipientPersonIds;
52094
+ };
52045
52095
  protoOf(CreateNewsletterCommand).get_directRecipients_cxx8tw_k$ = function () {
52046
52096
  return this.directRecipients;
52047
52097
  };
@@ -52067,33 +52117,41 @@ protoOf(CreateNewsletterCommand).get_subject_tmjbgd_k$ = function () {
52067
52117
  return this.subject;
52068
52118
  };
52069
52119
  protoOf(CreateNewsletterCommand).component1_7eebsc_k$ = function () {
52070
- return this.directRecipients;
52120
+ return this.directRecipientOrganizationIds;
52071
52121
  };
52072
52122
  protoOf(CreateNewsletterCommand).component2_7eebsb_k$ = function () {
52073
- return this.htmlText;
52123
+ return this.directRecipientPersonIds;
52074
52124
  };
52075
52125
  protoOf(CreateNewsletterCommand).component3_7eebsa_k$ = function () {
52076
- return this.notificationGroups;
52126
+ return this.directRecipients;
52077
52127
  };
52078
52128
  protoOf(CreateNewsletterCommand).component4_7eebs9_k$ = function () {
52079
- return this.plainText;
52129
+ return this.htmlText;
52080
52130
  };
52081
52131
  protoOf(CreateNewsletterCommand).component5_7eebs8_k$ = function () {
52082
- return this.publish;
52132
+ return this.notificationGroups;
52083
52133
  };
52084
52134
  protoOf(CreateNewsletterCommand).component6_7eebs7_k$ = function () {
52085
- return this.publishedAt;
52135
+ return this.plainText;
52086
52136
  };
52087
52137
  protoOf(CreateNewsletterCommand).component7_7eebs6_k$ = function () {
52088
- return this.reviewers;
52138
+ return this.publish;
52089
52139
  };
52090
52140
  protoOf(CreateNewsletterCommand).component8_7eebs5_k$ = function () {
52141
+ return this.publishedAt;
52142
+ };
52143
+ protoOf(CreateNewsletterCommand).component9_7eebs4_k$ = function () {
52144
+ return this.reviewers;
52145
+ };
52146
+ protoOf(CreateNewsletterCommand).component10_gazzfo_k$ = function () {
52091
52147
  return this.subject;
52092
52148
  };
52093
- protoOf(CreateNewsletterCommand).copy_ujqti3_k$ = function (directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
52094
- return new CreateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
52149
+ protoOf(CreateNewsletterCommand).copy_5g291h_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
52150
+ return new CreateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
52095
52151
  };
52096
- protoOf(CreateNewsletterCommand).copy = function (directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, $super) {
52152
+ protoOf(CreateNewsletterCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, $super) {
52153
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
52154
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
52097
52155
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
52098
52156
  htmlText = htmlText === VOID ? this.htmlText : htmlText;
52099
52157
  notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
@@ -52102,13 +52160,15 @@ protoOf(CreateNewsletterCommand).copy = function (directRecipients, htmlText, no
52102
52160
  publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
52103
52161
  reviewers = reviewers === VOID ? this.reviewers : reviewers;
52104
52162
  subject = subject === VOID ? this.subject : subject;
52105
- return $super === VOID ? this.copy_ujqti3_k$(directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) : $super.copy_ujqti3_k$.call(this, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
52163
+ return $super === VOID ? this.copy_5g291h_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) : $super.copy_5g291h_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
52106
52164
  };
52107
52165
  protoOf(CreateNewsletterCommand).toString = function () {
52108
- return 'CreateNewsletterCommand(directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
52166
+ return 'CreateNewsletterCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
52109
52167
  };
52110
52168
  protoOf(CreateNewsletterCommand).hashCode = function () {
52111
- var result = this.directRecipients == null ? 0 : hashCode(this.directRecipients);
52169
+ var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
52170
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
52171
+ result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
52112
52172
  result = imul(result, 31) + (this.htmlText == null ? 0 : getStringHashCode(this.htmlText)) | 0;
52113
52173
  result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
52114
52174
  result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
@@ -52123,6 +52183,10 @@ protoOf(CreateNewsletterCommand).equals = function (other) {
52123
52183
  return true;
52124
52184
  if (!(other instanceof CreateNewsletterCommand))
52125
52185
  return false;
52186
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
52187
+ return false;
52188
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
52189
+ return false;
52126
52190
  if (!equals(this.directRecipients, other.directRecipients))
52127
52191
  return false;
52128
52192
  if (!(this.htmlText == other.htmlText))
@@ -56071,9 +56135,15 @@ protoOf(CreateRoutineCommand).equals = function (other) {
56071
56135
  return true;
56072
56136
  };
56073
56137
  function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal() {
56074
- return new ArrayListSerializer(StringSerializer_getInstance());
56138
+ return new ArrayListSerializer(LongSerializer_getInstance());
56075
56139
  }
56076
56140
  function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_0() {
56141
+ return new ArrayListSerializer(LongSerializer_getInstance());
56142
+ }
56143
+ function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_1() {
56144
+ return new ArrayListSerializer(StringSerializer_getInstance());
56145
+ }
56146
+ function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_2() {
56077
56147
  return new ArrayListSerializer($serializer_getInstance_414());
56078
56148
  }
56079
56149
  function Companion_252() {
@@ -56082,10 +56152,14 @@ function Companion_252() {
56082
56152
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
56083
56153
  var tmp_1 = lazy(tmp_0, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal);
56084
56154
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
56155
+ var tmp_3 = lazy(tmp_2, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_0);
56156
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
56157
+ var tmp_5 = lazy(tmp_4, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_1);
56158
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
56085
56159
  // Inline function 'kotlin.arrayOf' call
56086
56160
  // Inline function 'kotlin.js.unsafeCast' call
56087
56161
  // Inline function 'kotlin.js.asDynamic' call
56088
- tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_0), null, null, null];
56162
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, lazy(tmp_6, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_2), null, null, null];
56089
56163
  }
56090
56164
  var Companion_instance_253;
56091
56165
  function Companion_getInstance_255() {
@@ -56095,7 +56169,9 @@ function Companion_getInstance_255() {
56095
56169
  }
56096
56170
  function $serializer_215() {
56097
56171
  $serializer_instance_215 = this;
56098
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand', this, 5);
56172
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand', this, 7);
56173
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
56174
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
56099
56175
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
56100
56176
  tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
56101
56177
  tmp0_serialDesc.addElement_5pzumi_k$('plainText', false);
@@ -56107,18 +56183,24 @@ protoOf($serializer_215).serialize_b39a4l_k$ = function (encoder, value) {
56107
56183
  var tmp0_desc = this.descriptor_1;
56108
56184
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
56109
56185
  var tmp2_cached = Companion_getInstance_255().$childSerializers_1;
56110
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipients == null)) {
56111
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipients);
56186
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
56187
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
56112
56188
  }
56113
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.notificationGroups == null)) {
56114
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.notificationGroups);
56189
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
56190
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
56115
56191
  }
56116
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.plainText);
56117
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.publish == null)) {
56118
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.publish);
56192
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
56193
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
56119
56194
  }
56120
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.publishedAt == null)) {
56121
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.publishedAt);
56195
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.notificationGroups == null)) {
56196
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.notificationGroups);
56197
+ }
56198
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.plainText);
56199
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.publish == null)) {
56200
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), value.publish);
56201
+ }
56202
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
56203
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
56122
56204
  }
56123
56205
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
56124
56206
  };
@@ -56135,52 +56217,66 @@ protoOf($serializer_215).deserialize_sy6x50_k$ = function (decoder) {
56135
56217
  var tmp6_local2 = null;
56136
56218
  var tmp7_local3 = null;
56137
56219
  var tmp8_local4 = null;
56138
- var tmp9_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
56139
- var tmp10_cached = Companion_getInstance_255().$childSerializers_1;
56140
- if (tmp9_input.decodeSequentially_xlblqy_k$()) {
56141
- tmp4_local0 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp10_cached[0].get_value_j01efc_k$(), tmp4_local0);
56220
+ var tmp9_local5 = null;
56221
+ var tmp10_local6 = null;
56222
+ var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
56223
+ var tmp12_cached = Companion_getInstance_255().$childSerializers_1;
56224
+ if (tmp11_input.decodeSequentially_xlblqy_k$()) {
56225
+ tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
56142
56226
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
56143
- tmp5_local1 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp10_cached[1].get_value_j01efc_k$(), tmp5_local1);
56227
+ tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp12_cached[1].get_value_j01efc_k$(), tmp5_local1);
56144
56228
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
56145
- tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
56229
+ tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
56146
56230
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
56147
- tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
56231
+ tmp7_local3 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp12_cached[3].get_value_j01efc_k$(), tmp7_local3);
56148
56232
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
56149
- tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
56233
+ tmp8_local4 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
56150
56234
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
56235
+ tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
56236
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
56237
+ tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
56238
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
56151
56239
  } else
56152
56240
  while (tmp1_flag) {
56153
- tmp2_index = tmp9_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
56241
+ tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
56154
56242
  switch (tmp2_index) {
56155
56243
  case -1:
56156
56244
  tmp1_flag = false;
56157
56245
  break;
56158
56246
  case 0:
56159
- tmp4_local0 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp10_cached[0].get_value_j01efc_k$(), tmp4_local0);
56247
+ tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
56160
56248
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
56161
56249
  break;
56162
56250
  case 1:
56163
- tmp5_local1 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp10_cached[1].get_value_j01efc_k$(), tmp5_local1);
56251
+ tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp12_cached[1].get_value_j01efc_k$(), tmp5_local1);
56164
56252
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
56165
56253
  break;
56166
56254
  case 2:
56167
- tmp6_local2 = tmp9_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
56255
+ tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
56168
56256
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
56169
56257
  break;
56170
56258
  case 3:
56171
- tmp7_local3 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
56259
+ tmp7_local3 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp12_cached[3].get_value_j01efc_k$(), tmp7_local3);
56172
56260
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
56173
56261
  break;
56174
56262
  case 4:
56175
- tmp8_local4 = tmp9_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
56263
+ tmp8_local4 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
56176
56264
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
56177
56265
  break;
56266
+ case 5:
56267
+ tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
56268
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
56269
+ break;
56270
+ case 6:
56271
+ tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
56272
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
56273
+ break;
56178
56274
  default:
56179
56275
  throw UnknownFieldException_init_$Create$(tmp2_index);
56180
56276
  }
56181
56277
  }
56182
- tmp9_input.endStructure_1xqz0n_k$(tmp0_desc);
56183
- return CreateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
56278
+ tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
56279
+ return CreateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
56184
56280
  };
56185
56281
  protoOf($serializer_215).get_descriptor_wjt6a0_k$ = function () {
56186
56282
  return this.descriptor_1;
@@ -56190,7 +56286,7 @@ protoOf($serializer_215).childSerializers_5ghqw5_k$ = function () {
56190
56286
  // Inline function 'kotlin.arrayOf' call
56191
56287
  // Inline function 'kotlin.js.unsafeCast' call
56192
56288
  // Inline function 'kotlin.js.asDynamic' call
56193
- return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance())];
56289
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance())];
56194
56290
  };
56195
56291
  var $serializer_instance_215;
56196
56292
  function $serializer_getInstance_215() {
@@ -56198,44 +56294,62 @@ function $serializer_getInstance_215() {
56198
56294
  new $serializer_215();
56199
56295
  return $serializer_instance_215;
56200
56296
  }
56201
- function CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, $this) {
56202
- if (!(4 === (4 & seen0))) {
56203
- throwMissingFieldException(seen0, 4, $serializer_getInstance_215().descriptor_1);
56297
+ function CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, $this) {
56298
+ if (!(16 === (16 & seen0))) {
56299
+ throwMissingFieldException(seen0, 16, $serializer_getInstance_215().descriptor_1);
56204
56300
  }
56205
56301
  if (0 === (seen0 & 1))
56302
+ $this.directRecipientOrganizationIds = null;
56303
+ else
56304
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
56305
+ if (0 === (seen0 & 2))
56306
+ $this.directRecipientPersonIds = null;
56307
+ else
56308
+ $this.directRecipientPersonIds = directRecipientPersonIds;
56309
+ if (0 === (seen0 & 4))
56206
56310
  $this.directRecipients = null;
56207
56311
  else
56208
56312
  $this.directRecipients = directRecipients;
56209
- if (0 === (seen0 & 2))
56313
+ if (0 === (seen0 & 8))
56210
56314
  $this.notificationGroups = null;
56211
56315
  else
56212
56316
  $this.notificationGroups = notificationGroups;
56213
56317
  $this.plainText = plainText;
56214
- if (0 === (seen0 & 8))
56318
+ if (0 === (seen0 & 32))
56215
56319
  $this.publish = null;
56216
56320
  else
56217
56321
  $this.publish = publish;
56218
- if (0 === (seen0 & 16))
56322
+ if (0 === (seen0 & 64))
56219
56323
  $this.publishedAt = null;
56220
56324
  else
56221
56325
  $this.publishedAt = publishedAt;
56222
56326
  return $this;
56223
56327
  }
56224
- function CreateSMSBroadcastCommand_init_$Create$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker) {
56225
- return CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, objectCreate(protoOf(CreateSMSBroadcastCommand)));
56328
+ function CreateSMSBroadcastCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker) {
56329
+ return CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, objectCreate(protoOf(CreateSMSBroadcastCommand)));
56226
56330
  }
56227
- function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publish, publishedAt) {
56331
+ function CreateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) {
56228
56332
  Companion_getInstance_255();
56333
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
56334
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
56229
56335
  directRecipients = directRecipients === VOID ? null : directRecipients;
56230
56336
  notificationGroups = notificationGroups === VOID ? null : notificationGroups;
56231
56337
  publish = publish === VOID ? null : publish;
56232
56338
  publishedAt = publishedAt === VOID ? null : publishedAt;
56339
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
56340
+ this.directRecipientPersonIds = directRecipientPersonIds;
56233
56341
  this.directRecipients = directRecipients;
56234
56342
  this.notificationGroups = notificationGroups;
56235
56343
  this.plainText = plainText;
56236
56344
  this.publish = publish;
56237
56345
  this.publishedAt = publishedAt;
56238
56346
  }
56347
+ protoOf(CreateSMSBroadcastCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
56348
+ return this.directRecipientOrganizationIds;
56349
+ };
56350
+ protoOf(CreateSMSBroadcastCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
56351
+ return this.directRecipientPersonIds;
56352
+ };
56239
56353
  protoOf(CreateSMSBroadcastCommand).get_directRecipients_cxx8tw_k$ = function () {
56240
56354
  return this.directRecipients;
56241
56355
  };
@@ -56252,36 +56366,46 @@ protoOf(CreateSMSBroadcastCommand).get_publishedAt_3qk02g_k$ = function () {
56252
56366
  return this.publishedAt;
56253
56367
  };
56254
56368
  protoOf(CreateSMSBroadcastCommand).component1_7eebsc_k$ = function () {
56255
- return this.directRecipients;
56369
+ return this.directRecipientOrganizationIds;
56256
56370
  };
56257
56371
  protoOf(CreateSMSBroadcastCommand).component2_7eebsb_k$ = function () {
56258
- return this.notificationGroups;
56372
+ return this.directRecipientPersonIds;
56259
56373
  };
56260
56374
  protoOf(CreateSMSBroadcastCommand).component3_7eebsa_k$ = function () {
56261
- return this.plainText;
56375
+ return this.directRecipients;
56262
56376
  };
56263
56377
  protoOf(CreateSMSBroadcastCommand).component4_7eebs9_k$ = function () {
56264
- return this.publish;
56378
+ return this.notificationGroups;
56265
56379
  };
56266
56380
  protoOf(CreateSMSBroadcastCommand).component5_7eebs8_k$ = function () {
56381
+ return this.plainText;
56382
+ };
56383
+ protoOf(CreateSMSBroadcastCommand).component6_7eebs7_k$ = function () {
56384
+ return this.publish;
56385
+ };
56386
+ protoOf(CreateSMSBroadcastCommand).component7_7eebs6_k$ = function () {
56267
56387
  return this.publishedAt;
56268
56388
  };
56269
- protoOf(CreateSMSBroadcastCommand).copy_jky4rv_k$ = function (directRecipients, notificationGroups, plainText, publish, publishedAt) {
56270
- return new CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publish, publishedAt);
56389
+ protoOf(CreateSMSBroadcastCommand).copy_7luua3_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) {
56390
+ return new CreateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt);
56271
56391
  };
56272
- protoOf(CreateSMSBroadcastCommand).copy = function (directRecipients, notificationGroups, plainText, publish, publishedAt, $super) {
56392
+ protoOf(CreateSMSBroadcastCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, $super) {
56393
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
56394
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
56273
56395
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
56274
56396
  notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
56275
56397
  plainText = plainText === VOID ? this.plainText : plainText;
56276
56398
  publish = publish === VOID ? this.publish : publish;
56277
56399
  publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
56278
- return $super === VOID ? this.copy_jky4rv_k$(directRecipients, notificationGroups, plainText, publish, publishedAt) : $super.copy_jky4rv_k$.call(this, directRecipients, notificationGroups, plainText, publish, publishedAt);
56400
+ return $super === VOID ? this.copy_7luua3_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) : $super.copy_7luua3_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt);
56279
56401
  };
56280
56402
  protoOf(CreateSMSBroadcastCommand).toString = function () {
56281
- return 'CreateSMSBroadcastCommand(directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ')';
56403
+ return 'CreateSMSBroadcastCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ')';
56282
56404
  };
56283
56405
  protoOf(CreateSMSBroadcastCommand).hashCode = function () {
56284
- var result = this.directRecipients == null ? 0 : hashCode(this.directRecipients);
56406
+ var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
56407
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
56408
+ result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
56285
56409
  result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
56286
56410
  result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
56287
56411
  result = imul(result, 31) + (this.publish == null ? 0 : getBooleanHashCode(this.publish)) | 0;
@@ -56293,6 +56417,10 @@ protoOf(CreateSMSBroadcastCommand).equals = function (other) {
56293
56417
  return true;
56294
56418
  if (!(other instanceof CreateSMSBroadcastCommand))
56295
56419
  return false;
56420
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
56421
+ return false;
56422
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
56423
+ return false;
56296
56424
  if (!equals(this.directRecipients, other.directRecipients))
56297
56425
  return false;
56298
56426
  if (!equals(this.notificationGroups, other.notificationGroups))
@@ -109523,18 +109651,24 @@ function Newsletter$Companion$$childSerializers$_anonymous__id2stt() {
109523
109651
  return new ArrayListSerializer($serializer_getInstance_245());
109524
109652
  }
109525
109653
  function Newsletter$Companion$$childSerializers$_anonymous__id2stt_0() {
109526
- return new ArrayListSerializer(StringSerializer_getInstance());
109654
+ return new ArrayListSerializer(LongSerializer_getInstance());
109527
109655
  }
109528
109656
  function Newsletter$Companion$$childSerializers$_anonymous__id2stt_1() {
109529
- return new ArrayListSerializer($serializer_getInstance_245());
109657
+ return new ArrayListSerializer(LongSerializer_getInstance());
109530
109658
  }
109531
109659
  function Newsletter$Companion$$childSerializers$_anonymous__id2stt_2() {
109532
- return new ArrayListSerializer($serializer_getInstance_414());
109660
+ return new ArrayListSerializer(StringSerializer_getInstance());
109533
109661
  }
109534
109662
  function Newsletter$Companion$$childSerializers$_anonymous__id2stt_3() {
109535
- return new ArrayListSerializer($serializer_getInstance_369());
109663
+ return new ArrayListSerializer($serializer_getInstance_245());
109536
109664
  }
109537
109665
  function Newsletter$Companion$$childSerializers$_anonymous__id2stt_4() {
109666
+ return new ArrayListSerializer($serializer_getInstance_414());
109667
+ }
109668
+ function Newsletter$Companion$$childSerializers$_anonymous__id2stt_5() {
109669
+ return new ArrayListSerializer($serializer_getInstance_369());
109670
+ }
109671
+ function Newsletter$Companion$$childSerializers$_anonymous__id2stt_6() {
109538
109672
  return new ArrayListSerializer(LongSerializer_getInstance());
109539
109673
  }
109540
109674
  function Companion_493() {
@@ -109551,10 +109685,14 @@ function Companion_493() {
109551
109685
  var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
109552
109686
  var tmp_9 = lazy(tmp_8, Newsletter$Companion$$childSerializers$_anonymous__id2stt_3);
109553
109687
  var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
109688
+ var tmp_11 = lazy(tmp_10, Newsletter$Companion$$childSerializers$_anonymous__id2stt_4);
109689
+ var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance();
109690
+ var tmp_13 = lazy(tmp_12, Newsletter$Companion$$childSerializers$_anonymous__id2stt_5);
109691
+ var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance();
109554
109692
  // Inline function 'kotlin.arrayOf' call
109555
109693
  // Inline function 'kotlin.js.unsafeCast' call
109556
109694
  // Inline function 'kotlin.js.asDynamic' call
109557
- tmp.$childSerializers_1 = [tmp_1, tmp_3, null, null, tmp_5, tmp_7, null, null, tmp_9, null, null, lazy(tmp_10, Newsletter$Companion$$childSerializers$_anonymous__id2stt_4), null];
109695
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, tmp_7, null, null, tmp_9, tmp_11, null, null, tmp_13, null, null, lazy(tmp_14, Newsletter$Companion$$childSerializers$_anonymous__id2stt_6), null];
109558
109696
  }
109559
109697
  var Companion_instance_494;
109560
109698
  function Companion_getInstance_496() {
@@ -109564,8 +109702,10 @@ function Companion_getInstance_496() {
109564
109702
  }
109565
109703
  function $serializer_412() {
109566
109704
  $serializer_instance_412 = this;
109567
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Newsletter', this, 13);
109705
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Newsletter', this, 15);
109568
109706
  tmp0_serialDesc.addElement_5pzumi_k$('attachments', true);
109707
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
109708
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
109569
109709
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', false);
109570
109710
  tmp0_serialDesc.addElement_5pzumi_k$('htmlText', false);
109571
109711
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
@@ -109587,30 +109727,36 @@ protoOf($serializer_412).serialize_ms553p_k$ = function (encoder, value) {
109587
109727
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.attachments == null)) {
109588
109728
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.attachments);
109589
109729
  }
109590
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipients);
109591
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.htmlText);
109592
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.id);
109593
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.inlineDocuments == null)) {
109594
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.inlineDocuments);
109730
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientOrganizationIds == null)) {
109731
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
109595
109732
  }
109596
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 5, tmp2_cached[5].get_value_j01efc_k$(), value.notificationGroups);
109597
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 6, value.plainText);
109598
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.publishedAt == null)) {
109599
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.publishedAt);
109733
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipientPersonIds == null)) {
109734
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipientPersonIds);
109600
109735
  }
109601
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.recipientStatus == null)) {
109602
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.recipientStatus);
109736
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.directRecipients);
109737
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.htmlText);
109738
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.id);
109739
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.inlineDocuments == null)) {
109740
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.inlineDocuments);
109741
+ }
109742
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.notificationGroups);
109743
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.plainText);
109744
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.publishedAt == null)) {
109745
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, InstantSerializer_getInstance(), value.publishedAt);
109746
+ }
109747
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.recipientStatus == null)) {
109748
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.recipientStatus);
109603
109749
  }
109604
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.recipientsAtPublish == null)) {
109605
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, $serializer_getInstance_368(), value.recipientsAtPublish);
109750
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.recipientsAtPublish == null)) {
109751
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, $serializer_getInstance_368(), value.recipientsAtPublish);
109606
109752
  }
109607
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.renderedHtmlText == null)) {
109608
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.renderedHtmlText);
109753
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.renderedHtmlText == null)) {
109754
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, StringSerializer_getInstance(), value.renderedHtmlText);
109609
109755
  }
109610
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.reviewers == null)) {
109611
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.reviewers);
109756
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.reviewers == null)) {
109757
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.reviewers);
109612
109758
  }
109613
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 12, value.subject);
109759
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 14, value.subject);
109614
109760
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
109615
109761
  };
109616
109762
  protoOf($serializer_412).serialize_5ase3y_k$ = function (encoder, value) {
@@ -109624,9 +109770,9 @@ protoOf($serializer_412).deserialize_sy6x50_k$ = function (decoder) {
109624
109770
  var tmp4_local0 = null;
109625
109771
  var tmp5_local1 = null;
109626
109772
  var tmp6_local2 = null;
109627
- var tmp7_local3 = 0n;
109773
+ var tmp7_local3 = null;
109628
109774
  var tmp8_local4 = null;
109629
- var tmp9_local5 = null;
109775
+ var tmp9_local5 = 0n;
109630
109776
  var tmp10_local6 = null;
109631
109777
  var tmp11_local7 = null;
109632
109778
  var tmp12_local8 = null;
@@ -109634,100 +109780,114 @@ protoOf($serializer_412).deserialize_sy6x50_k$ = function (decoder) {
109634
109780
  var tmp14_local10 = null;
109635
109781
  var tmp15_local11 = null;
109636
109782
  var tmp16_local12 = null;
109637
- var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
109638
- var tmp18_cached = Companion_getInstance_496().$childSerializers_1;
109639
- if (tmp17_input.decodeSequentially_xlblqy_k$()) {
109640
- tmp4_local0 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
109783
+ var tmp17_local13 = null;
109784
+ var tmp18_local14 = null;
109785
+ var tmp19_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
109786
+ var tmp20_cached = Companion_getInstance_496().$childSerializers_1;
109787
+ if (tmp19_input.decodeSequentially_xlblqy_k$()) {
109788
+ tmp4_local0 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp20_cached[0].get_value_j01efc_k$(), tmp4_local0);
109641
109789
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
109642
- tmp5_local1 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
109790
+ tmp5_local1 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp20_cached[1].get_value_j01efc_k$(), tmp5_local1);
109643
109791
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
109644
- tmp6_local2 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
109792
+ tmp6_local2 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp20_cached[2].get_value_j01efc_k$(), tmp6_local2);
109645
109793
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
109646
- tmp7_local3 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
109794
+ tmp7_local3 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp20_cached[3].get_value_j01efc_k$(), tmp7_local3);
109647
109795
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
109648
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp18_cached[4].get_value_j01efc_k$(), tmp8_local4);
109796
+ tmp8_local4 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
109649
109797
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
109650
- tmp9_local5 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, tmp18_cached[5].get_value_j01efc_k$(), tmp9_local5);
109798
+ tmp9_local5 = tmp19_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
109651
109799
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
109652
- tmp10_local6 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
109800
+ tmp10_local6 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp20_cached[6].get_value_j01efc_k$(), tmp10_local6);
109653
109801
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
109654
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
109802
+ tmp11_local7 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp20_cached[7].get_value_j01efc_k$(), tmp11_local7);
109655
109803
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
109656
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
109804
+ tmp12_local8 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
109657
109805
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
109658
- tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_368(), tmp13_local9);
109806
+ tmp13_local9 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
109659
109807
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
109660
- tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
109808
+ tmp14_local10 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp20_cached[10].get_value_j01efc_k$(), tmp14_local10);
109661
109809
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
109662
- tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
109810
+ tmp15_local11 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_368(), tmp15_local11);
109663
109811
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
109664
- tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
109812
+ tmp16_local12 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
109665
109813
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
109814
+ tmp17_local13 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp20_cached[13].get_value_j01efc_k$(), tmp17_local13);
109815
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
109816
+ tmp18_local14 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
109817
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
109666
109818
  } else
109667
109819
  while (tmp1_flag) {
109668
- tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
109820
+ tmp2_index = tmp19_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
109669
109821
  switch (tmp2_index) {
109670
109822
  case -1:
109671
109823
  tmp1_flag = false;
109672
109824
  break;
109673
109825
  case 0:
109674
- tmp4_local0 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp18_cached[0].get_value_j01efc_k$(), tmp4_local0);
109826
+ tmp4_local0 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp20_cached[0].get_value_j01efc_k$(), tmp4_local0);
109675
109827
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
109676
109828
  break;
109677
109829
  case 1:
109678
- tmp5_local1 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
109830
+ tmp5_local1 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp20_cached[1].get_value_j01efc_k$(), tmp5_local1);
109679
109831
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
109680
109832
  break;
109681
109833
  case 2:
109682
- tmp6_local2 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
109834
+ tmp6_local2 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp20_cached[2].get_value_j01efc_k$(), tmp6_local2);
109683
109835
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
109684
109836
  break;
109685
109837
  case 3:
109686
- tmp7_local3 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
109838
+ tmp7_local3 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp20_cached[3].get_value_j01efc_k$(), tmp7_local3);
109687
109839
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
109688
109840
  break;
109689
109841
  case 4:
109690
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp18_cached[4].get_value_j01efc_k$(), tmp8_local4);
109842
+ tmp8_local4 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
109691
109843
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
109692
109844
  break;
109693
109845
  case 5:
109694
- tmp9_local5 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 5, tmp18_cached[5].get_value_j01efc_k$(), tmp9_local5);
109846
+ tmp9_local5 = tmp19_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
109695
109847
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
109696
109848
  break;
109697
109849
  case 6:
109698
- tmp10_local6 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
109850
+ tmp10_local6 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp20_cached[6].get_value_j01efc_k$(), tmp10_local6);
109699
109851
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
109700
109852
  break;
109701
109853
  case 7:
109702
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
109854
+ tmp11_local7 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp20_cached[7].get_value_j01efc_k$(), tmp11_local7);
109703
109855
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
109704
109856
  break;
109705
109857
  case 8:
109706
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
109858
+ tmp12_local8 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
109707
109859
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
109708
109860
  break;
109709
109861
  case 9:
109710
- tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_368(), tmp13_local9);
109862
+ tmp13_local9 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
109711
109863
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
109712
109864
  break;
109713
109865
  case 10:
109714
- tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
109866
+ tmp14_local10 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp20_cached[10].get_value_j01efc_k$(), tmp14_local10);
109715
109867
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
109716
109868
  break;
109717
109869
  case 11:
109718
- tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
109870
+ tmp15_local11 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_368(), tmp15_local11);
109719
109871
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
109720
109872
  break;
109721
109873
  case 12:
109722
- tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
109874
+ tmp16_local12 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
109723
109875
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
109724
109876
  break;
109877
+ case 13:
109878
+ tmp17_local13 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp20_cached[13].get_value_j01efc_k$(), tmp17_local13);
109879
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
109880
+ break;
109881
+ case 14:
109882
+ tmp18_local14 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
109883
+ tmp3_bitMask0 = tmp3_bitMask0 | 16384;
109884
+ break;
109725
109885
  default:
109726
109886
  throw UnknownFieldException_init_$Create$(tmp2_index);
109727
109887
  }
109728
109888
  }
109729
- tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
109730
- return Newsletter_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);
109889
+ tmp19_input.endStructure_1xqz0n_k$(tmp0_desc);
109890
+ return Newsletter_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, null);
109731
109891
  };
109732
109892
  protoOf($serializer_412).get_descriptor_wjt6a0_k$ = function () {
109733
109893
  return this.descriptor_1;
@@ -109737,7 +109897,7 @@ protoOf($serializer_412).childSerializers_5ghqw5_k$ = function () {
109737
109897
  // Inline function 'kotlin.arrayOf' call
109738
109898
  // Inline function 'kotlin.js.unsafeCast' call
109739
109899
  // Inline function 'kotlin.js.asDynamic' call
109740
- return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), tmp0_cached[1].get_value_j01efc_k$(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), tmp0_cached[5].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[11].get_value_j01efc_k$()), StringSerializer_getInstance()];
109900
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), tmp0_cached[3].get_value_j01efc_k$(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[6].get_value_j01efc_k$()), tmp0_cached[7].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[13].get_value_j01efc_k$()), StringSerializer_getInstance()];
109741
109901
  };
109742
109902
  var $serializer_instance_412;
109743
109903
  function $serializer_getInstance_412() {
@@ -109745,52 +109905,62 @@ function $serializer_getInstance_412() {
109745
109905
  new $serializer_412();
109746
109906
  return $serializer_instance_412;
109747
109907
  }
109748
- function Newsletter_init_$Init$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, $this) {
109749
- if (!(4206 === (4206 & seen0))) {
109750
- throwMissingFieldException(seen0, 4206, $serializer_getInstance_412().descriptor_1);
109908
+ function Newsletter_init_$Init$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, $this) {
109909
+ if (!(16824 === (16824 & seen0))) {
109910
+ throwMissingFieldException(seen0, 16824, $serializer_getInstance_412().descriptor_1);
109751
109911
  }
109752
109912
  if (0 === (seen0 & 1))
109753
109913
  $this.attachments = null;
109754
109914
  else
109755
109915
  $this.attachments = attachments;
109916
+ if (0 === (seen0 & 2))
109917
+ $this.directRecipientOrganizationIds = null;
109918
+ else
109919
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
109920
+ if (0 === (seen0 & 4))
109921
+ $this.directRecipientPersonIds = null;
109922
+ else
109923
+ $this.directRecipientPersonIds = directRecipientPersonIds;
109756
109924
  $this.directRecipients = directRecipients;
109757
109925
  $this.htmlText = htmlText;
109758
109926
  $this.id = id;
109759
- if (0 === (seen0 & 16))
109927
+ if (0 === (seen0 & 64))
109760
109928
  $this.inlineDocuments = null;
109761
109929
  else
109762
109930
  $this.inlineDocuments = inlineDocuments;
109763
109931
  $this.notificationGroups = notificationGroups;
109764
109932
  $this.plainText = plainText;
109765
- if (0 === (seen0 & 128))
109933
+ if (0 === (seen0 & 512))
109766
109934
  $this.publishedAt = null;
109767
109935
  else
109768
109936
  $this.publishedAt = publishedAt;
109769
- if (0 === (seen0 & 256))
109937
+ if (0 === (seen0 & 1024))
109770
109938
  $this.recipientStatus = null;
109771
109939
  else
109772
109940
  $this.recipientStatus = recipientStatus;
109773
- if (0 === (seen0 & 512))
109941
+ if (0 === (seen0 & 2048))
109774
109942
  $this.recipientsAtPublish = null;
109775
109943
  else
109776
109944
  $this.recipientsAtPublish = recipientsAtPublish;
109777
- if (0 === (seen0 & 1024))
109945
+ if (0 === (seen0 & 4096))
109778
109946
  $this.renderedHtmlText = null;
109779
109947
  else
109780
109948
  $this.renderedHtmlText = renderedHtmlText;
109781
- if (0 === (seen0 & 2048))
109949
+ if (0 === (seen0 & 8192))
109782
109950
  $this.reviewers = null;
109783
109951
  else
109784
109952
  $this.reviewers = reviewers;
109785
109953
  $this.subject = subject;
109786
109954
  return $this;
109787
109955
  }
109788
- function Newsletter_init_$Create$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker) {
109789
- return Newsletter_init_$Init$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(Newsletter)));
109956
+ function Newsletter_init_$Create$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker) {
109957
+ return Newsletter_init_$Init$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(Newsletter)));
109790
109958
  }
109791
- function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
109959
+ function Newsletter(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
109792
109960
  Companion_getInstance_496();
109793
109961
  attachments = attachments === VOID ? null : attachments;
109962
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
109963
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
109794
109964
  inlineDocuments = inlineDocuments === VOID ? null : inlineDocuments;
109795
109965
  publishedAt = publishedAt === VOID ? null : publishedAt;
109796
109966
  recipientStatus = recipientStatus === VOID ? null : recipientStatus;
@@ -109798,6 +109968,8 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
109798
109968
  renderedHtmlText = renderedHtmlText === VOID ? null : renderedHtmlText;
109799
109969
  reviewers = reviewers === VOID ? null : reviewers;
109800
109970
  this.attachments = attachments;
109971
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
109972
+ this.directRecipientPersonIds = directRecipientPersonIds;
109801
109973
  this.directRecipients = directRecipients;
109802
109974
  this.htmlText = htmlText;
109803
109975
  this.id = id;
@@ -109814,6 +109986,12 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
109814
109986
  protoOf(Newsletter).get_attachments_1o7yvb_k$ = function () {
109815
109987
  return this.attachments;
109816
109988
  };
109989
+ protoOf(Newsletter).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
109990
+ return this.directRecipientOrganizationIds;
109991
+ };
109992
+ protoOf(Newsletter).get_directRecipientPersonIds_e5mu04_k$ = function () {
109993
+ return this.directRecipientPersonIds;
109994
+ };
109817
109995
  protoOf(Newsletter).get_directRecipients_cxx8tw_k$ = function () {
109818
109996
  return this.directRecipients;
109819
109997
  };
@@ -109854,46 +110032,54 @@ protoOf(Newsletter).component1_7eebsc_k$ = function () {
109854
110032
  return this.attachments;
109855
110033
  };
109856
110034
  protoOf(Newsletter).component2_7eebsb_k$ = function () {
109857
- return this.directRecipients;
110035
+ return this.directRecipientOrganizationIds;
109858
110036
  };
109859
110037
  protoOf(Newsletter).component3_7eebsa_k$ = function () {
109860
- return this.htmlText;
110038
+ return this.directRecipientPersonIds;
109861
110039
  };
109862
110040
  protoOf(Newsletter).component4_7eebs9_k$ = function () {
109863
- return this.id;
110041
+ return this.directRecipients;
109864
110042
  };
109865
110043
  protoOf(Newsletter).component5_7eebs8_k$ = function () {
109866
- return this.inlineDocuments;
110044
+ return this.htmlText;
109867
110045
  };
109868
110046
  protoOf(Newsletter).component6_7eebs7_k$ = function () {
109869
- return this.notificationGroups;
110047
+ return this.id;
109870
110048
  };
109871
110049
  protoOf(Newsletter).component7_7eebs6_k$ = function () {
109872
- return this.plainText;
110050
+ return this.inlineDocuments;
109873
110051
  };
109874
110052
  protoOf(Newsletter).component8_7eebs5_k$ = function () {
109875
- return this.publishedAt;
110053
+ return this.notificationGroups;
109876
110054
  };
109877
110055
  protoOf(Newsletter).component9_7eebs4_k$ = function () {
109878
- return this.recipientStatus;
110056
+ return this.plainText;
109879
110057
  };
109880
110058
  protoOf(Newsletter).component10_gazzfo_k$ = function () {
109881
- return this.recipientsAtPublish;
110059
+ return this.publishedAt;
109882
110060
  };
109883
110061
  protoOf(Newsletter).component11_gazzfn_k$ = function () {
109884
- return this.renderedHtmlText;
110062
+ return this.recipientStatus;
109885
110063
  };
109886
110064
  protoOf(Newsletter).component12_gazzfm_k$ = function () {
109887
- return this.reviewers;
110065
+ return this.recipientsAtPublish;
109888
110066
  };
109889
110067
  protoOf(Newsletter).component13_gazzfl_k$ = function () {
110068
+ return this.renderedHtmlText;
110069
+ };
110070
+ protoOf(Newsletter).component14_gazzfk_k$ = function () {
110071
+ return this.reviewers;
110072
+ };
110073
+ protoOf(Newsletter).component15_gazzfj_k$ = function () {
109890
110074
  return this.subject;
109891
110075
  };
109892
- protoOf(Newsletter).copy_viazrk_k$ = function (attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
109893
- return new Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
110076
+ protoOf(Newsletter).copy_wquhw0_k$ = function (attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
110077
+ return new Newsletter(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
109894
110078
  };
109895
- protoOf(Newsletter).copy = function (attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, $super) {
110079
+ protoOf(Newsletter).copy = function (attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, $super) {
109896
110080
  attachments = attachments === VOID ? this.attachments : attachments;
110081
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
110082
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
109897
110083
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
109898
110084
  htmlText = htmlText === VOID ? this.htmlText : htmlText;
109899
110085
  id = id === VOID ? this.id : id;
@@ -109906,13 +110092,15 @@ protoOf(Newsletter).copy = function (attachments, directRecipients, htmlText, id
109906
110092
  renderedHtmlText = renderedHtmlText === VOID ? this.renderedHtmlText : renderedHtmlText;
109907
110093
  reviewers = reviewers === VOID ? this.reviewers : reviewers;
109908
110094
  subject = subject === VOID ? this.subject : subject;
109909
- return $super === VOID ? this.copy_viazrk_k$(attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) : $super.copy_viazrk_k$.call(this, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
110095
+ return $super === VOID ? this.copy_wquhw0_k$(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) : $super.copy_wquhw0_k$.call(this, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
109910
110096
  };
109911
110097
  protoOf(Newsletter).toString = function () {
109912
- return 'Newsletter(attachments=' + toString(this.attachments) + ', directRecipients=' + toString_0(this.directRecipients) + ', htmlText=' + this.htmlText + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ', renderedHtmlText=' + this.renderedHtmlText + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
110098
+ return 'Newsletter(attachments=' + toString(this.attachments) + ', directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString_0(this.directRecipients) + ', htmlText=' + this.htmlText + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ', renderedHtmlText=' + this.renderedHtmlText + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
109913
110099
  };
109914
110100
  protoOf(Newsletter).hashCode = function () {
109915
110101
  var result = this.attachments == null ? 0 : hashCode(this.attachments);
110102
+ result = imul(result, 31) + (this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds)) | 0;
110103
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
109916
110104
  result = imul(result, 31) + hashCode(this.directRecipients) | 0;
109917
110105
  result = imul(result, 31) + getStringHashCode(this.htmlText) | 0;
109918
110106
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
@@ -109934,6 +110122,10 @@ protoOf(Newsletter).equals = function (other) {
109934
110122
  return false;
109935
110123
  if (!equals(this.attachments, other.attachments))
109936
110124
  return false;
110125
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
110126
+ return false;
110127
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
110128
+ return false;
109937
110129
  if (!equals(this.directRecipients, other.directRecipients))
109938
110130
  return false;
109939
110131
  if (!(this.htmlText === other.htmlText))
@@ -157271,12 +157463,18 @@ protoOf(RsvpCommand).equals = function (other) {
157271
157463
  return true;
157272
157464
  };
157273
157465
  function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu() {
157274
- return new ArrayListSerializer(StringSerializer_getInstance());
157466
+ return new ArrayListSerializer(LongSerializer_getInstance());
157275
157467
  }
157276
157468
  function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_0() {
157277
- return new ArrayListSerializer($serializer_getInstance_414());
157469
+ return new ArrayListSerializer(LongSerializer_getInstance());
157278
157470
  }
157279
157471
  function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_1() {
157472
+ return new ArrayListSerializer(StringSerializer_getInstance());
157473
+ }
157474
+ function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_2() {
157475
+ return new ArrayListSerializer($serializer_getInstance_414());
157476
+ }
157477
+ function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_3() {
157280
157478
  return new ArrayListSerializer($serializer_getInstance_369());
157281
157479
  }
157282
157480
  function Companion_724() {
@@ -157287,10 +157485,14 @@ function Companion_724() {
157287
157485
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
157288
157486
  var tmp_3 = lazy(tmp_2, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_0);
157289
157487
  var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
157488
+ var tmp_5 = lazy(tmp_4, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_1);
157489
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
157490
+ var tmp_7 = lazy(tmp_6, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_2);
157491
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
157290
157492
  // Inline function 'kotlin.arrayOf' call
157291
157493
  // Inline function 'kotlin.js.unsafeCast' call
157292
157494
  // Inline function 'kotlin.js.asDynamic' call
157293
- tmp.$childSerializers_1 = [tmp_1, null, tmp_3, null, null, lazy(tmp_4, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_1), null];
157495
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, lazy(tmp_8, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_3), null];
157294
157496
  }
157295
157497
  var Companion_instance_725;
157296
157498
  function Companion_getInstance_727() {
@@ -157300,7 +157502,9 @@ function Companion_getInstance_727() {
157300
157502
  }
157301
157503
  function $serializer_610() {
157302
157504
  $serializer_instance_610 = this;
157303
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SMSBroadcast', this, 7);
157505
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SMSBroadcast', this, 9);
157506
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
157507
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
157304
157508
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', false);
157305
157509
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
157306
157510
  tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', false);
@@ -157314,18 +157518,24 @@ protoOf($serializer_610).serialize_mqlkt8_k$ = function (encoder, value) {
157314
157518
  var tmp0_desc = this.descriptor_1;
157315
157519
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
157316
157520
  var tmp2_cached = Companion_getInstance_727().$childSerializers_1;
157317
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipients);
157318
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.id);
157319
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.notificationGroups);
157320
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.plainText);
157321
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.publishedAt == null)) {
157322
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.publishedAt);
157521
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
157522
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
157323
157523
  }
157324
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.recipientStatus == null)) {
157325
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, tmp2_cached[5].get_value_j01efc_k$(), value.recipientStatus);
157524
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
157525
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
157526
+ }
157527
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
157528
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.id);
157529
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
157530
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
157531
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
157532
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
157326
157533
  }
157327
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.recipientsAtPublish == null)) {
157328
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, $serializer_getInstance_368(), value.recipientsAtPublish);
157534
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.recipientStatus == null)) {
157535
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.recipientStatus);
157536
+ }
157537
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.recipientsAtPublish == null)) {
157538
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, $serializer_getInstance_368(), value.recipientsAtPublish);
157329
157539
  }
157330
157540
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
157331
157541
  };
@@ -157338,70 +157548,84 @@ protoOf($serializer_610).deserialize_sy6x50_k$ = function (decoder) {
157338
157548
  var tmp2_index = 0;
157339
157549
  var tmp3_bitMask0 = 0;
157340
157550
  var tmp4_local0 = null;
157341
- var tmp5_local1 = 0n;
157551
+ var tmp5_local1 = null;
157342
157552
  var tmp6_local2 = null;
157343
- var tmp7_local3 = null;
157553
+ var tmp7_local3 = 0n;
157344
157554
  var tmp8_local4 = null;
157345
157555
  var tmp9_local5 = null;
157346
157556
  var tmp10_local6 = null;
157347
- var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
157348
- var tmp12_cached = Companion_getInstance_727().$childSerializers_1;
157349
- if (tmp11_input.decodeSequentially_xlblqy_k$()) {
157350
- tmp4_local0 = tmp11_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
157557
+ var tmp11_local7 = null;
157558
+ var tmp12_local8 = null;
157559
+ var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
157560
+ var tmp14_cached = Companion_getInstance_727().$childSerializers_1;
157561
+ if (tmp13_input.decodeSequentially_xlblqy_k$()) {
157562
+ tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
157351
157563
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
157352
- tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
157564
+ tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
157353
157565
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
157354
- tmp6_local2 = tmp11_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
157566
+ tmp6_local2 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
157355
157567
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
157356
- tmp7_local3 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
157568
+ tmp7_local3 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
157357
157569
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
157358
- tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
157570
+ tmp8_local4 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
157359
157571
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
157360
- tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp12_cached[5].get_value_j01efc_k$(), tmp9_local5);
157572
+ tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
157361
157573
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
157362
- tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_368(), tmp10_local6);
157574
+ tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
157363
157575
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
157576
+ tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
157577
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
157578
+ tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_368(), tmp12_local8);
157579
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
157364
157580
  } else
157365
157581
  while (tmp1_flag) {
157366
- tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
157582
+ tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
157367
157583
  switch (tmp2_index) {
157368
157584
  case -1:
157369
157585
  tmp1_flag = false;
157370
157586
  break;
157371
157587
  case 0:
157372
- tmp4_local0 = tmp11_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
157588
+ tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
157373
157589
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
157374
157590
  break;
157375
157591
  case 1:
157376
- tmp5_local1 = tmp11_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
157592
+ tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
157377
157593
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
157378
157594
  break;
157379
157595
  case 2:
157380
- tmp6_local2 = tmp11_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
157596
+ tmp6_local2 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
157381
157597
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
157382
157598
  break;
157383
157599
  case 3:
157384
- tmp7_local3 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
157600
+ tmp7_local3 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
157385
157601
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
157386
157602
  break;
157387
157603
  case 4:
157388
- tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
157604
+ tmp8_local4 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
157389
157605
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
157390
157606
  break;
157391
157607
  case 5:
157392
- tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp12_cached[5].get_value_j01efc_k$(), tmp9_local5);
157608
+ tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
157393
157609
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
157394
157610
  break;
157395
157611
  case 6:
157396
- tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, $serializer_getInstance_368(), tmp10_local6);
157612
+ tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
157397
157613
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
157398
157614
  break;
157615
+ case 7:
157616
+ tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
157617
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
157618
+ break;
157619
+ case 8:
157620
+ tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_368(), tmp12_local8);
157621
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
157622
+ break;
157399
157623
  default:
157400
157624
  throw UnknownFieldException_init_$Create$(tmp2_index);
157401
157625
  }
157402
157626
  }
157403
- tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
157404
- return SMSBroadcast_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
157627
+ tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
157628
+ return SMSBroadcast_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
157405
157629
  };
157406
157630
  protoOf($serializer_610).get_descriptor_wjt6a0_k$ = function () {
157407
157631
  return this.descriptor_1;
@@ -157411,7 +157635,7 @@ protoOf($serializer_610).childSerializers_5ghqw5_k$ = function () {
157411
157635
  // Inline function 'kotlin.arrayOf' call
157412
157636
  // Inline function 'kotlin.js.unsafeCast' call
157413
157637
  // Inline function 'kotlin.js.asDynamic' call
157414
- return [tmp0_cached[0].get_value_j01efc_k$(), LongSerializer_getInstance(), tmp0_cached[2].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[5].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368())];
157638
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), tmp0_cached[2].get_value_j01efc_k$(), LongSerializer_getInstance(), tmp0_cached[4].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368())];
157415
157639
  };
157416
157640
  var $serializer_instance_610;
157417
157641
  function $serializer_getInstance_610() {
@@ -157419,36 +157643,48 @@ function $serializer_getInstance_610() {
157419
157643
  new $serializer_610();
157420
157644
  return $serializer_instance_610;
157421
157645
  }
157422
- function SMSBroadcast_init_$Init$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, $this) {
157423
- if (!(15 === (15 & seen0))) {
157424
- throwMissingFieldException(seen0, 15, $serializer_getInstance_610().descriptor_1);
157646
+ function SMSBroadcast_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, $this) {
157647
+ if (!(60 === (60 & seen0))) {
157648
+ throwMissingFieldException(seen0, 60, $serializer_getInstance_610().descriptor_1);
157425
157649
  }
157650
+ if (0 === (seen0 & 1))
157651
+ $this.directRecipientOrganizationIds = null;
157652
+ else
157653
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
157654
+ if (0 === (seen0 & 2))
157655
+ $this.directRecipientPersonIds = null;
157656
+ else
157657
+ $this.directRecipientPersonIds = directRecipientPersonIds;
157426
157658
  $this.directRecipients = directRecipients;
157427
157659
  $this.id = id;
157428
157660
  $this.notificationGroups = notificationGroups;
157429
157661
  $this.plainText = plainText;
157430
- if (0 === (seen0 & 16))
157662
+ if (0 === (seen0 & 64))
157431
157663
  $this.publishedAt = null;
157432
157664
  else
157433
157665
  $this.publishedAt = publishedAt;
157434
- if (0 === (seen0 & 32))
157666
+ if (0 === (seen0 & 128))
157435
157667
  $this.recipientStatus = null;
157436
157668
  else
157437
157669
  $this.recipientStatus = recipientStatus;
157438
- if (0 === (seen0 & 64))
157670
+ if (0 === (seen0 & 256))
157439
157671
  $this.recipientsAtPublish = null;
157440
157672
  else
157441
157673
  $this.recipientsAtPublish = recipientsAtPublish;
157442
157674
  return $this;
157443
157675
  }
157444
- function SMSBroadcast_init_$Create$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker) {
157445
- return SMSBroadcast_init_$Init$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, objectCreate(protoOf(SMSBroadcast)));
157676
+ function SMSBroadcast_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker) {
157677
+ return SMSBroadcast_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, objectCreate(protoOf(SMSBroadcast)));
157446
157678
  }
157447
- function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
157679
+ function SMSBroadcast(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
157448
157680
  Companion_getInstance_727();
157681
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
157682
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
157449
157683
  publishedAt = publishedAt === VOID ? null : publishedAt;
157450
157684
  recipientStatus = recipientStatus === VOID ? null : recipientStatus;
157451
157685
  recipientsAtPublish = recipientsAtPublish === VOID ? null : recipientsAtPublish;
157686
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
157687
+ this.directRecipientPersonIds = directRecipientPersonIds;
157452
157688
  this.directRecipients = directRecipients;
157453
157689
  this.id = id;
157454
157690
  this.notificationGroups = notificationGroups;
@@ -157457,6 +157693,12 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
157457
157693
  this.recipientStatus = recipientStatus;
157458
157694
  this.recipientsAtPublish = recipientsAtPublish;
157459
157695
  }
157696
+ protoOf(SMSBroadcast).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
157697
+ return this.directRecipientOrganizationIds;
157698
+ };
157699
+ protoOf(SMSBroadcast).get_directRecipientPersonIds_e5mu04_k$ = function () {
157700
+ return this.directRecipientPersonIds;
157701
+ };
157460
157702
  protoOf(SMSBroadcast).get_directRecipients_cxx8tw_k$ = function () {
157461
157703
  return this.directRecipients;
157462
157704
  };
@@ -157479,30 +157721,38 @@ protoOf(SMSBroadcast).get_recipientsAtPublish_3y81ax_k$ = function () {
157479
157721
  return this.recipientsAtPublish;
157480
157722
  };
157481
157723
  protoOf(SMSBroadcast).component1_7eebsc_k$ = function () {
157482
- return this.directRecipients;
157724
+ return this.directRecipientOrganizationIds;
157483
157725
  };
157484
157726
  protoOf(SMSBroadcast).component2_7eebsb_k$ = function () {
157485
- return this.id;
157727
+ return this.directRecipientPersonIds;
157486
157728
  };
157487
157729
  protoOf(SMSBroadcast).component3_7eebsa_k$ = function () {
157488
- return this.notificationGroups;
157730
+ return this.directRecipients;
157489
157731
  };
157490
157732
  protoOf(SMSBroadcast).component4_7eebs9_k$ = function () {
157491
- return this.plainText;
157733
+ return this.id;
157492
157734
  };
157493
157735
  protoOf(SMSBroadcast).component5_7eebs8_k$ = function () {
157494
- return this.publishedAt;
157736
+ return this.notificationGroups;
157495
157737
  };
157496
157738
  protoOf(SMSBroadcast).component6_7eebs7_k$ = function () {
157497
- return this.recipientStatus;
157739
+ return this.plainText;
157498
157740
  };
157499
157741
  protoOf(SMSBroadcast).component7_7eebs6_k$ = function () {
157742
+ return this.publishedAt;
157743
+ };
157744
+ protoOf(SMSBroadcast).component8_7eebs5_k$ = function () {
157745
+ return this.recipientStatus;
157746
+ };
157747
+ protoOf(SMSBroadcast).component9_7eebs4_k$ = function () {
157500
157748
  return this.recipientsAtPublish;
157501
157749
  };
157502
- protoOf(SMSBroadcast).copy_t83cbg_k$ = function (directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
157503
- return new SMSBroadcast(directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
157750
+ protoOf(SMSBroadcast).copy_bbuypo_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
157751
+ return new SMSBroadcast(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
157504
157752
  };
157505
- protoOf(SMSBroadcast).copy = function (directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, $super) {
157753
+ protoOf(SMSBroadcast).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, $super) {
157754
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
157755
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
157506
157756
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
157507
157757
  id = id === VOID ? this.id : id;
157508
157758
  notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
@@ -157510,13 +157760,15 @@ protoOf(SMSBroadcast).copy = function (directRecipients, id, notificationGroups,
157510
157760
  publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
157511
157761
  recipientStatus = recipientStatus === VOID ? this.recipientStatus : recipientStatus;
157512
157762
  recipientsAtPublish = recipientsAtPublish === VOID ? this.recipientsAtPublish : recipientsAtPublish;
157513
- return $super === VOID ? this.copy_t83cbg_k$(directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) : $super.copy_t83cbg_k$.call(this, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
157763
+ return $super === VOID ? this.copy_bbuypo_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) : $super.copy_bbuypo_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
157514
157764
  };
157515
157765
  protoOf(SMSBroadcast).toString = function () {
157516
- return 'SMSBroadcast(directRecipients=' + toString_0(this.directRecipients) + ', id=' + this.id.toString() + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ')';
157766
+ return 'SMSBroadcast(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString_0(this.directRecipients) + ', id=' + this.id.toString() + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ')';
157517
157767
  };
157518
157768
  protoOf(SMSBroadcast).hashCode = function () {
157519
- var result = hashCode(this.directRecipients);
157769
+ var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
157770
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
157771
+ result = imul(result, 31) + hashCode(this.directRecipients) | 0;
157520
157772
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
157521
157773
  result = imul(result, 31) + hashCode(this.notificationGroups) | 0;
157522
157774
  result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
@@ -157530,6 +157782,10 @@ protoOf(SMSBroadcast).equals = function (other) {
157530
157782
  return true;
157531
157783
  if (!(other instanceof SMSBroadcast))
157532
157784
  return false;
157785
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
157786
+ return false;
157787
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
157788
+ return false;
157533
157789
  if (!equals(this.directRecipients, other.directRecipients))
157534
157790
  return false;
157535
157791
  if (!(this.id === other.id))
@@ -193156,12 +193412,18 @@ protoOf(UpdateNeighborhoodPostCommand).equals = function (other) {
193156
193412
  return true;
193157
193413
  };
193158
193414
  function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41() {
193159
- return new ArrayListSerializer(StringSerializer_getInstance());
193415
+ return new ArrayListSerializer(LongSerializer_getInstance());
193160
193416
  }
193161
193417
  function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_0() {
193162
- return new ArrayListSerializer($serializer_getInstance_414());
193418
+ return new ArrayListSerializer(LongSerializer_getInstance());
193163
193419
  }
193164
193420
  function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_1() {
193421
+ return new ArrayListSerializer(StringSerializer_getInstance());
193422
+ }
193423
+ function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_2() {
193424
+ return new ArrayListSerializer($serializer_getInstance_414());
193425
+ }
193426
+ function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_3() {
193165
193427
  return new ArrayListSerializer(LongSerializer_getInstance());
193166
193428
  }
193167
193429
  function Companion_890() {
@@ -193172,10 +193434,14 @@ function Companion_890() {
193172
193434
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
193173
193435
  var tmp_3 = lazy(tmp_2, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_0);
193174
193436
  var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
193437
+ var tmp_5 = lazy(tmp_4, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_1);
193438
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
193439
+ var tmp_7 = lazy(tmp_6, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_2);
193440
+ var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
193175
193441
  // Inline function 'kotlin.arrayOf' call
193176
193442
  // Inline function 'kotlin.js.unsafeCast' call
193177
193443
  // Inline function 'kotlin.js.asDynamic' call
193178
- tmp.$childSerializers_1 = [tmp_1, null, tmp_3, null, null, lazy(tmp_4, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_1), null];
193444
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, lazy(tmp_8, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_3), null];
193179
193445
  }
193180
193446
  var Companion_instance_891;
193181
193447
  function Companion_getInstance_893() {
@@ -193185,7 +193451,9 @@ function Companion_getInstance_893() {
193185
193451
  }
193186
193452
  function $serializer_757() {
193187
193453
  $serializer_instance_757 = this;
193188
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateNewsletterCommand', this, 7);
193454
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateNewsletterCommand', this, 9);
193455
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
193456
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
193189
193457
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
193190
193458
  tmp0_serialDesc.addElement_5pzumi_k$('htmlText', true);
193191
193459
  tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
@@ -193199,23 +193467,29 @@ protoOf($serializer_757).serialize_pq1svb_k$ = function (encoder, value) {
193199
193467
  var tmp0_desc = this.descriptor_1;
193200
193468
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
193201
193469
  var tmp2_cached = Companion_getInstance_893().$childSerializers_1;
193202
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipients == null)) {
193203
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipients);
193470
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
193471
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
193472
+ }
193473
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
193474
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
193204
193475
  }
193205
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.htmlText == null)) {
193206
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.htmlText);
193476
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
193477
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
193207
193478
  }
193208
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.notificationGroups == null)) {
193209
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.notificationGroups);
193479
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.htmlText == null)) {
193480
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.htmlText);
193210
193481
  }
193211
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.plainText);
193212
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.publishedAt == null)) {
193213
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.publishedAt);
193482
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.notificationGroups == null)) {
193483
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
193214
193484
  }
193215
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.reviewers == null)) {
193216
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, tmp2_cached[5].get_value_j01efc_k$(), value.reviewers);
193485
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
193486
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
193487
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
193217
193488
  }
193218
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 6, value.subject);
193489
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.reviewers == null)) {
193490
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.reviewers);
193491
+ }
193492
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.subject);
193219
193493
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
193220
193494
  };
193221
193495
  protoOf($serializer_757).serialize_5ase3y_k$ = function (encoder, value) {
@@ -193233,64 +193507,78 @@ protoOf($serializer_757).deserialize_sy6x50_k$ = function (decoder) {
193233
193507
  var tmp8_local4 = null;
193234
193508
  var tmp9_local5 = null;
193235
193509
  var tmp10_local6 = null;
193236
- var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
193237
- var tmp12_cached = Companion_getInstance_893().$childSerializers_1;
193238
- if (tmp11_input.decodeSequentially_xlblqy_k$()) {
193239
- tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
193510
+ var tmp11_local7 = null;
193511
+ var tmp12_local8 = null;
193512
+ var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
193513
+ var tmp14_cached = Companion_getInstance_893().$childSerializers_1;
193514
+ if (tmp13_input.decodeSequentially_xlblqy_k$()) {
193515
+ tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
193240
193516
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
193241
- tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
193517
+ tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
193242
193518
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
193243
- tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
193519
+ tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
193244
193520
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
193245
- tmp7_local3 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
193521
+ tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
193246
193522
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
193247
- tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
193523
+ tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
193248
193524
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
193249
- tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp12_cached[5].get_value_j01efc_k$(), tmp9_local5);
193525
+ tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
193250
193526
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
193251
- tmp10_local6 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
193527
+ tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
193252
193528
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
193529
+ tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
193530
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
193531
+ tmp12_local8 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
193532
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
193253
193533
  } else
193254
193534
  while (tmp1_flag) {
193255
- tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
193535
+ tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
193256
193536
  switch (tmp2_index) {
193257
193537
  case -1:
193258
193538
  tmp1_flag = false;
193259
193539
  break;
193260
193540
  case 0:
193261
- tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
193541
+ tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
193262
193542
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
193263
193543
  break;
193264
193544
  case 1:
193265
- tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
193545
+ tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
193266
193546
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
193267
193547
  break;
193268
193548
  case 2:
193269
- tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
193549
+ tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
193270
193550
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
193271
193551
  break;
193272
193552
  case 3:
193273
- tmp7_local3 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
193553
+ tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
193274
193554
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
193275
193555
  break;
193276
193556
  case 4:
193277
- tmp8_local4 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
193557
+ tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
193278
193558
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
193279
193559
  break;
193280
193560
  case 5:
193281
- tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, tmp12_cached[5].get_value_j01efc_k$(), tmp9_local5);
193561
+ tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
193282
193562
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
193283
193563
  break;
193284
193564
  case 6:
193285
- tmp10_local6 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 6);
193565
+ tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
193286
193566
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
193287
193567
  break;
193568
+ case 7:
193569
+ tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
193570
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
193571
+ break;
193572
+ case 8:
193573
+ tmp12_local8 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
193574
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
193575
+ break;
193288
193576
  default:
193289
193577
  throw UnknownFieldException_init_$Create$(tmp2_index);
193290
193578
  }
193291
193579
  }
193292
- tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
193293
- return UpdateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
193580
+ tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
193581
+ return UpdateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
193294
193582
  };
193295
193583
  protoOf($serializer_757).get_descriptor_wjt6a0_k$ = function () {
193296
193584
  return this.descriptor_1;
@@ -193300,7 +193588,7 @@ protoOf($serializer_757).childSerializers_5ghqw5_k$ = function () {
193300
193588
  // Inline function 'kotlin.arrayOf' call
193301
193589
  // Inline function 'kotlin.js.unsafeCast' call
193302
193590
  // Inline function 'kotlin.js.asDynamic' call
193303
- return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[5].get_value_j01efc_k$()), StringSerializer_getInstance()];
193591
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), StringSerializer_getInstance()];
193304
193592
  };
193305
193593
  var $serializer_instance_757;
193306
193594
  function $serializer_getInstance_757() {
@@ -193308,44 +193596,56 @@ function $serializer_getInstance_757() {
193308
193596
  new $serializer_757();
193309
193597
  return $serializer_instance_757;
193310
193598
  }
193311
- function UpdateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
193312
- if (!(72 === (72 & seen0))) {
193313
- throwMissingFieldException(seen0, 72, $serializer_getInstance_757().descriptor_1);
193599
+ function UpdateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
193600
+ if (!(288 === (288 & seen0))) {
193601
+ throwMissingFieldException(seen0, 288, $serializer_getInstance_757().descriptor_1);
193314
193602
  }
193315
193603
  if (0 === (seen0 & 1))
193604
+ $this.directRecipientOrganizationIds = null;
193605
+ else
193606
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
193607
+ if (0 === (seen0 & 2))
193608
+ $this.directRecipientPersonIds = null;
193609
+ else
193610
+ $this.directRecipientPersonIds = directRecipientPersonIds;
193611
+ if (0 === (seen0 & 4))
193316
193612
  $this.directRecipients = null;
193317
193613
  else
193318
193614
  $this.directRecipients = directRecipients;
193319
- if (0 === (seen0 & 2))
193615
+ if (0 === (seen0 & 8))
193320
193616
  $this.htmlText = null;
193321
193617
  else
193322
193618
  $this.htmlText = htmlText;
193323
- if (0 === (seen0 & 4))
193619
+ if (0 === (seen0 & 16))
193324
193620
  $this.notificationGroups = null;
193325
193621
  else
193326
193622
  $this.notificationGroups = notificationGroups;
193327
193623
  $this.plainText = plainText;
193328
- if (0 === (seen0 & 16))
193624
+ if (0 === (seen0 & 64))
193329
193625
  $this.publishedAt = null;
193330
193626
  else
193331
193627
  $this.publishedAt = publishedAt;
193332
- if (0 === (seen0 & 32))
193628
+ if (0 === (seen0 & 128))
193333
193629
  $this.reviewers = null;
193334
193630
  else
193335
193631
  $this.reviewers = reviewers;
193336
193632
  $this.subject = subject;
193337
193633
  return $this;
193338
193634
  }
193339
- function UpdateNewsletterCommand_init_$Create$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker) {
193340
- return UpdateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(UpdateNewsletterCommand)));
193635
+ function UpdateNewsletterCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker) {
193636
+ return UpdateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(UpdateNewsletterCommand)));
193341
193637
  }
193342
- function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
193638
+ function UpdateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
193343
193639
  Companion_getInstance_893();
193640
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
193641
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
193344
193642
  directRecipients = directRecipients === VOID ? null : directRecipients;
193345
193643
  htmlText = htmlText === VOID ? null : htmlText;
193346
193644
  notificationGroups = notificationGroups === VOID ? null : notificationGroups;
193347
193645
  publishedAt = publishedAt === VOID ? null : publishedAt;
193348
193646
  reviewers = reviewers === VOID ? null : reviewers;
193647
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
193648
+ this.directRecipientPersonIds = directRecipientPersonIds;
193349
193649
  this.directRecipients = directRecipients;
193350
193650
  this.htmlText = htmlText;
193351
193651
  this.notificationGroups = notificationGroups;
@@ -193354,6 +193654,12 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
193354
193654
  this.reviewers = reviewers;
193355
193655
  this.subject = subject;
193356
193656
  }
193657
+ protoOf(UpdateNewsletterCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
193658
+ return this.directRecipientOrganizationIds;
193659
+ };
193660
+ protoOf(UpdateNewsletterCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
193661
+ return this.directRecipientPersonIds;
193662
+ };
193357
193663
  protoOf(UpdateNewsletterCommand).get_directRecipients_cxx8tw_k$ = function () {
193358
193664
  return this.directRecipients;
193359
193665
  };
@@ -193376,30 +193682,38 @@ protoOf(UpdateNewsletterCommand).get_subject_tmjbgd_k$ = function () {
193376
193682
  return this.subject;
193377
193683
  };
193378
193684
  protoOf(UpdateNewsletterCommand).component1_7eebsc_k$ = function () {
193379
- return this.directRecipients;
193685
+ return this.directRecipientOrganizationIds;
193380
193686
  };
193381
193687
  protoOf(UpdateNewsletterCommand).component2_7eebsb_k$ = function () {
193382
- return this.htmlText;
193688
+ return this.directRecipientPersonIds;
193383
193689
  };
193384
193690
  protoOf(UpdateNewsletterCommand).component3_7eebsa_k$ = function () {
193385
- return this.notificationGroups;
193691
+ return this.directRecipients;
193386
193692
  };
193387
193693
  protoOf(UpdateNewsletterCommand).component4_7eebs9_k$ = function () {
193388
- return this.plainText;
193694
+ return this.htmlText;
193389
193695
  };
193390
193696
  protoOf(UpdateNewsletterCommand).component5_7eebs8_k$ = function () {
193391
- return this.publishedAt;
193697
+ return this.notificationGroups;
193392
193698
  };
193393
193699
  protoOf(UpdateNewsletterCommand).component6_7eebs7_k$ = function () {
193394
- return this.reviewers;
193700
+ return this.plainText;
193395
193701
  };
193396
193702
  protoOf(UpdateNewsletterCommand).component7_7eebs6_k$ = function () {
193703
+ return this.publishedAt;
193704
+ };
193705
+ protoOf(UpdateNewsletterCommand).component8_7eebs5_k$ = function () {
193706
+ return this.reviewers;
193707
+ };
193708
+ protoOf(UpdateNewsletterCommand).component9_7eebs4_k$ = function () {
193397
193709
  return this.subject;
193398
193710
  };
193399
- protoOf(UpdateNewsletterCommand).copy_3mm08b_k$ = function (directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
193400
- return new UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
193711
+ protoOf(UpdateNewsletterCommand).copy_9odwuj_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
193712
+ return new UpdateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
193401
193713
  };
193402
- protoOf(UpdateNewsletterCommand).copy = function (directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, $super) {
193714
+ protoOf(UpdateNewsletterCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, $super) {
193715
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
193716
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
193403
193717
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
193404
193718
  htmlText = htmlText === VOID ? this.htmlText : htmlText;
193405
193719
  notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
@@ -193407,13 +193721,15 @@ protoOf(UpdateNewsletterCommand).copy = function (directRecipients, htmlText, no
193407
193721
  publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
193408
193722
  reviewers = reviewers === VOID ? this.reviewers : reviewers;
193409
193723
  subject = subject === VOID ? this.subject : subject;
193410
- return $super === VOID ? this.copy_3mm08b_k$(directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) : $super.copy_3mm08b_k$.call(this, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
193724
+ return $super === VOID ? this.copy_9odwuj_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) : $super.copy_9odwuj_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
193411
193725
  };
193412
193726
  protoOf(UpdateNewsletterCommand).toString = function () {
193413
- return 'UpdateNewsletterCommand(directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
193727
+ return 'UpdateNewsletterCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
193414
193728
  };
193415
193729
  protoOf(UpdateNewsletterCommand).hashCode = function () {
193416
- var result = this.directRecipients == null ? 0 : hashCode(this.directRecipients);
193730
+ var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
193731
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
193732
+ result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
193417
193733
  result = imul(result, 31) + (this.htmlText == null ? 0 : getStringHashCode(this.htmlText)) | 0;
193418
193734
  result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
193419
193735
  result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
@@ -193427,6 +193743,10 @@ protoOf(UpdateNewsletterCommand).equals = function (other) {
193427
193743
  return true;
193428
193744
  if (!(other instanceof UpdateNewsletterCommand))
193429
193745
  return false;
193746
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
193747
+ return false;
193748
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
193749
+ return false;
193430
193750
  if (!equals(this.directRecipients, other.directRecipients))
193431
193751
  return false;
193432
193752
  if (!(this.htmlText == other.htmlText))
@@ -197316,9 +197636,15 @@ protoOf(UpdateRoutineCommand).equals = function (other) {
197316
197636
  return true;
197317
197637
  };
197318
197638
  function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc() {
197319
- return new ArrayListSerializer(StringSerializer_getInstance());
197639
+ return new ArrayListSerializer(LongSerializer_getInstance());
197320
197640
  }
197321
197641
  function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_0() {
197642
+ return new ArrayListSerializer(LongSerializer_getInstance());
197643
+ }
197644
+ function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_1() {
197645
+ return new ArrayListSerializer(StringSerializer_getInstance());
197646
+ }
197647
+ function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_2() {
197322
197648
  return new ArrayListSerializer($serializer_getInstance_414());
197323
197649
  }
197324
197650
  function Companion_908() {
@@ -197327,10 +197653,14 @@ function Companion_908() {
197327
197653
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
197328
197654
  var tmp_1 = lazy(tmp_0, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc);
197329
197655
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
197656
+ var tmp_3 = lazy(tmp_2, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_0);
197657
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
197658
+ var tmp_5 = lazy(tmp_4, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_1);
197659
+ var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
197330
197660
  // Inline function 'kotlin.arrayOf' call
197331
197661
  // Inline function 'kotlin.js.unsafeCast' call
197332
197662
  // Inline function 'kotlin.js.asDynamic' call
197333
- tmp.$childSerializers_1 = [tmp_1, lazy(tmp_2, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_0), null, null];
197663
+ tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, lazy(tmp_6, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_2), null, null];
197334
197664
  }
197335
197665
  var Companion_instance_909;
197336
197666
  function Companion_getInstance_911() {
@@ -197340,7 +197670,9 @@ function Companion_getInstance_911() {
197340
197670
  }
197341
197671
  function $serializer_773() {
197342
197672
  $serializer_instance_773 = this;
197343
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand', this, 4);
197673
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand', this, 6);
197674
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
197675
+ tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
197344
197676
  tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
197345
197677
  tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
197346
197678
  tmp0_serialDesc.addElement_5pzumi_k$('plainText', false);
@@ -197351,15 +197683,21 @@ protoOf($serializer_773).serialize_spqk54_k$ = function (encoder, value) {
197351
197683
  var tmp0_desc = this.descriptor_1;
197352
197684
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
197353
197685
  var tmp2_cached = Companion_getInstance_911().$childSerializers_1;
197354
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipients == null)) {
197355
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipients);
197686
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
197687
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
197356
197688
  }
197357
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.notificationGroups == null)) {
197358
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.notificationGroups);
197689
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
197690
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
197359
197691
  }
197360
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 2, value.plainText);
197361
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.publishedAt == null)) {
197362
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, InstantSerializer_getInstance(), value.publishedAt);
197692
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
197693
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
197694
+ }
197695
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.notificationGroups == null)) {
197696
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.notificationGroups);
197697
+ }
197698
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.plainText);
197699
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.publishedAt == null)) {
197700
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.publishedAt);
197363
197701
  }
197364
197702
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
197365
197703
  };
@@ -197375,46 +197713,60 @@ protoOf($serializer_773).deserialize_sy6x50_k$ = function (decoder) {
197375
197713
  var tmp5_local1 = null;
197376
197714
  var tmp6_local2 = null;
197377
197715
  var tmp7_local3 = null;
197378
- var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
197379
- var tmp9_cached = Companion_getInstance_911().$childSerializers_1;
197380
- if (tmp8_input.decodeSequentially_xlblqy_k$()) {
197381
- tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp9_cached[0].get_value_j01efc_k$(), tmp4_local0);
197716
+ var tmp8_local4 = null;
197717
+ var tmp9_local5 = null;
197718
+ var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
197719
+ var tmp11_cached = Companion_getInstance_911().$childSerializers_1;
197720
+ if (tmp10_input.decodeSequentially_xlblqy_k$()) {
197721
+ tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp11_cached[0].get_value_j01efc_k$(), tmp4_local0);
197382
197722
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
197383
- tmp5_local1 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp9_cached[1].get_value_j01efc_k$(), tmp5_local1);
197723
+ tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
197384
197724
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
197385
- tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
197725
+ tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
197386
197726
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
197387
- tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, InstantSerializer_getInstance(), tmp7_local3);
197727
+ tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp11_cached[3].get_value_j01efc_k$(), tmp7_local3);
197388
197728
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
197729
+ tmp8_local4 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
197730
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
197731
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
197732
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
197389
197733
  } else
197390
197734
  while (tmp1_flag) {
197391
- tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
197735
+ tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
197392
197736
  switch (tmp2_index) {
197393
197737
  case -1:
197394
197738
  tmp1_flag = false;
197395
197739
  break;
197396
197740
  case 0:
197397
- tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp9_cached[0].get_value_j01efc_k$(), tmp4_local0);
197741
+ tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp11_cached[0].get_value_j01efc_k$(), tmp4_local0);
197398
197742
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
197399
197743
  break;
197400
197744
  case 1:
197401
- tmp5_local1 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp9_cached[1].get_value_j01efc_k$(), tmp5_local1);
197745
+ tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
197402
197746
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
197403
197747
  break;
197404
197748
  case 2:
197405
- tmp6_local2 = tmp8_input.decodeStringElement_3oenpg_k$(tmp0_desc, 2);
197749
+ tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
197406
197750
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
197407
197751
  break;
197408
197752
  case 3:
197409
- tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, InstantSerializer_getInstance(), tmp7_local3);
197753
+ tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp11_cached[3].get_value_j01efc_k$(), tmp7_local3);
197410
197754
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
197411
197755
  break;
197756
+ case 4:
197757
+ tmp8_local4 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
197758
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
197759
+ break;
197760
+ case 5:
197761
+ tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
197762
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
197763
+ break;
197412
197764
  default:
197413
197765
  throw UnknownFieldException_init_$Create$(tmp2_index);
197414
197766
  }
197415
197767
  }
197416
- tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
197417
- return UpdateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
197768
+ tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
197769
+ return UpdateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
197418
197770
  };
197419
197771
  protoOf($serializer_773).get_descriptor_wjt6a0_k$ = function () {
197420
197772
  return this.descriptor_1;
@@ -197424,7 +197776,7 @@ protoOf($serializer_773).childSerializers_5ghqw5_k$ = function () {
197424
197776
  // Inline function 'kotlin.arrayOf' call
197425
197777
  // Inline function 'kotlin.js.unsafeCast' call
197426
197778
  // Inline function 'kotlin.js.asDynamic' call
197427
- return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance())];
197779
+ return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance())];
197428
197780
  };
197429
197781
  var $serializer_instance_773;
197430
197782
  function $serializer_getInstance_773() {
@@ -197432,38 +197784,56 @@ function $serializer_getInstance_773() {
197432
197784
  new $serializer_773();
197433
197785
  return $serializer_instance_773;
197434
197786
  }
197435
- function UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, $this) {
197436
- if (!(4 === (4 & seen0))) {
197437
- throwMissingFieldException(seen0, 4, $serializer_getInstance_773().descriptor_1);
197787
+ function UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, $this) {
197788
+ if (!(16 === (16 & seen0))) {
197789
+ throwMissingFieldException(seen0, 16, $serializer_getInstance_773().descriptor_1);
197438
197790
  }
197439
197791
  if (0 === (seen0 & 1))
197792
+ $this.directRecipientOrganizationIds = null;
197793
+ else
197794
+ $this.directRecipientOrganizationIds = directRecipientOrganizationIds;
197795
+ if (0 === (seen0 & 2))
197796
+ $this.directRecipientPersonIds = null;
197797
+ else
197798
+ $this.directRecipientPersonIds = directRecipientPersonIds;
197799
+ if (0 === (seen0 & 4))
197440
197800
  $this.directRecipients = null;
197441
197801
  else
197442
197802
  $this.directRecipients = directRecipients;
197443
- if (0 === (seen0 & 2))
197803
+ if (0 === (seen0 & 8))
197444
197804
  $this.notificationGroups = null;
197445
197805
  else
197446
197806
  $this.notificationGroups = notificationGroups;
197447
197807
  $this.plainText = plainText;
197448
- if (0 === (seen0 & 8))
197808
+ if (0 === (seen0 & 32))
197449
197809
  $this.publishedAt = null;
197450
197810
  else
197451
197811
  $this.publishedAt = publishedAt;
197452
197812
  return $this;
197453
197813
  }
197454
- function UpdateSMSBroadcastCommand_init_$Create$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker) {
197455
- return UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, objectCreate(protoOf(UpdateSMSBroadcastCommand)));
197814
+ function UpdateSMSBroadcastCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker) {
197815
+ return UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, objectCreate(protoOf(UpdateSMSBroadcastCommand)));
197456
197816
  }
197457
- function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publishedAt) {
197817
+ function UpdateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) {
197458
197818
  Companion_getInstance_911();
197819
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
197820
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
197459
197821
  directRecipients = directRecipients === VOID ? null : directRecipients;
197460
197822
  notificationGroups = notificationGroups === VOID ? null : notificationGroups;
197461
197823
  publishedAt = publishedAt === VOID ? null : publishedAt;
197824
+ this.directRecipientOrganizationIds = directRecipientOrganizationIds;
197825
+ this.directRecipientPersonIds = directRecipientPersonIds;
197462
197826
  this.directRecipients = directRecipients;
197463
197827
  this.notificationGroups = notificationGroups;
197464
197828
  this.plainText = plainText;
197465
197829
  this.publishedAt = publishedAt;
197466
197830
  }
197831
+ protoOf(UpdateSMSBroadcastCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
197832
+ return this.directRecipientOrganizationIds;
197833
+ };
197834
+ protoOf(UpdateSMSBroadcastCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
197835
+ return this.directRecipientPersonIds;
197836
+ };
197467
197837
  protoOf(UpdateSMSBroadcastCommand).get_directRecipients_cxx8tw_k$ = function () {
197468
197838
  return this.directRecipients;
197469
197839
  };
@@ -197477,32 +197847,42 @@ protoOf(UpdateSMSBroadcastCommand).get_publishedAt_3qk02g_k$ = function () {
197477
197847
  return this.publishedAt;
197478
197848
  };
197479
197849
  protoOf(UpdateSMSBroadcastCommand).component1_7eebsc_k$ = function () {
197480
- return this.directRecipients;
197850
+ return this.directRecipientOrganizationIds;
197481
197851
  };
197482
197852
  protoOf(UpdateSMSBroadcastCommand).component2_7eebsb_k$ = function () {
197483
- return this.notificationGroups;
197853
+ return this.directRecipientPersonIds;
197484
197854
  };
197485
197855
  protoOf(UpdateSMSBroadcastCommand).component3_7eebsa_k$ = function () {
197486
- return this.plainText;
197856
+ return this.directRecipients;
197487
197857
  };
197488
197858
  protoOf(UpdateSMSBroadcastCommand).component4_7eebs9_k$ = function () {
197859
+ return this.notificationGroups;
197860
+ };
197861
+ protoOf(UpdateSMSBroadcastCommand).component5_7eebs8_k$ = function () {
197862
+ return this.plainText;
197863
+ };
197864
+ protoOf(UpdateSMSBroadcastCommand).component6_7eebs7_k$ = function () {
197489
197865
  return this.publishedAt;
197490
197866
  };
197491
- protoOf(UpdateSMSBroadcastCommand).copy_u3wtph_k$ = function (directRecipients, notificationGroups, plainText, publishedAt) {
197492
- return new UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publishedAt);
197867
+ protoOf(UpdateSMSBroadcastCommand).copy_wan96t_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) {
197868
+ return new UpdateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt);
197493
197869
  };
197494
- protoOf(UpdateSMSBroadcastCommand).copy = function (directRecipients, notificationGroups, plainText, publishedAt, $super) {
197870
+ protoOf(UpdateSMSBroadcastCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, $super) {
197871
+ directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
197872
+ directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
197495
197873
  directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
197496
197874
  notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
197497
197875
  plainText = plainText === VOID ? this.plainText : plainText;
197498
197876
  publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
197499
- return $super === VOID ? this.copy_u3wtph_k$(directRecipients, notificationGroups, plainText, publishedAt) : $super.copy_u3wtph_k$.call(this, directRecipients, notificationGroups, plainText, publishedAt);
197877
+ return $super === VOID ? this.copy_wan96t_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) : $super.copy_wan96t_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt);
197500
197878
  };
197501
197879
  protoOf(UpdateSMSBroadcastCommand).toString = function () {
197502
- return 'UpdateSMSBroadcastCommand(directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ')';
197880
+ return 'UpdateSMSBroadcastCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ')';
197503
197881
  };
197504
197882
  protoOf(UpdateSMSBroadcastCommand).hashCode = function () {
197505
- var result = this.directRecipients == null ? 0 : hashCode(this.directRecipients);
197883
+ var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
197884
+ result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
197885
+ result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
197506
197886
  result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
197507
197887
  result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
197508
197888
  result = imul(result, 31) + (this.publishedAt == null ? 0 : this.publishedAt.hashCode()) | 0;
@@ -197513,6 +197893,10 @@ protoOf(UpdateSMSBroadcastCommand).equals = function (other) {
197513
197893
  return true;
197514
197894
  if (!(other instanceof UpdateSMSBroadcastCommand))
197515
197895
  return false;
197896
+ if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
197897
+ return false;
197898
+ if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
197899
+ return false;
197516
197900
  if (!equals(this.directRecipients, other.directRecipients))
197517
197901
  return false;
197518
197902
  if (!equals(this.notificationGroups, other.notificationGroups))