@solibo/solibo-sdk 1.57.3 → 1.57.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client-core.mjs CHANGED
@@ -3847,6 +3847,7 @@ const PROPS = {
3847
3847
  },
3848
3848
  "IssueProps": {
3849
3849
  "companyId": "bigint",
3850
+ "createdAt": "SoliboInstant /* Instant */ | null | undefined",
3850
3851
  "description": "string | null | undefined",
3851
3852
  "id": "bigint",
3852
3853
  "lastResolution": "string | null | undefined",
@@ -6593,7 +6594,8 @@ const PROPS = {
6593
6594
  "InternalConversationProps": {
6594
6595
  "administratorInputRequested": "boolean | null | undefined",
6595
6596
  "id": "bigint",
6596
- "messages": "MessageInConversationProps[] | null | undefined"
6597
+ "messages": "MessageInConversationProps[] | null | undefined",
6598
+ "readByCurrentUser": "boolean | null | undefined"
6597
6599
  },
6598
6600
  "InvoiceBalanceProps": {
6599
6601
  "asOf": "bigint",
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.57.3",
26
+ "version": "1.57.4",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -252,8 +252,8 @@ import {
252
252
  minute$defaultsgib3pp3rn60 as minute$default,
253
253
  second$defaultabrspkhk2hrb as second$default,
254
254
  AbstractDateTimeFormatBuilder2kkelk07l4wb as AbstractDateTimeFormatBuilder,
255
- WithTime2lgb7k6hqa1zi as WithTime,
256
255
  WithDate2bqihss8t5xfv as WithDate,
256
+ WithTime2lgb7k6hqa1zi as WithTime,
257
257
  alternativeParsing1gmwubnsvpp9b as alternativeParsing2,
258
258
  char1r4ssccmdfesy as char2
259
259
  } from "../Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs";
@@ -498,7 +498,7 @@ function AbstractWithDateTimeBuilder() {
498
498
  if (AbstractWithDateTimeBuilderClass === VOID3) {
499
499
  let $ = function() {
500
500
  };
501
- initMetadataForInterface($, "AbstractWithDateTimeBuilder", VOID3, VOID3, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithTime(), WithDate()]);
501
+ initMetadataForInterface($, "AbstractWithDateTimeBuilder", VOID3, VOID3, [AbstractWithDateBuilder(), AbstractWithTimeBuilder(), WithDate(), WithTime()]);
502
502
  AbstractWithDateTimeBuilderClass = $;
503
503
  }
504
504
  return AbstractWithDateTimeBuilderClass;
@@ -2749,7 +2749,7 @@ function ClauseData() {
2749
2749
  this.indexInSegment_1 = -1;
2750
2750
  };
2751
2751
  initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
2752
- protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
2752
+ protoOf17($).tryRegisterAsWaiter_wnojok_k$ = function(select) {
2753
2753
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
2754
2754
  return select.internalResult_1 === get_NO_RESULT();
2755
2755
  };
@@ -3033,7 +3033,7 @@ function SelectImplementation() {
3033
3033
  this.indexInSegment_1 = -1;
3034
3034
  this.internalResult_1 = get_NO_RESULT();
3035
3035
  };
3036
- initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
3036
+ initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), SelectInstance(), Waiter2()], [0, 2]);
3037
3037
  protoOf17($).get_context_h02k06_k$ = function() {
3038
3038
  return this.context_1;
3039
3039
  };
@@ -3044,7 +3044,7 @@ function SelectImplementation() {
3044
3044
  return tmp.doResume_5yljmg_k$();
3045
3045
  };
3046
3046
  protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
3047
- return this.register$default_acgh9r_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3047
+ return this.register$default_bbb1nn_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3048
3048
  };
3049
3049
  protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
3050
3050
  if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
@@ -3052,7 +3052,7 @@ function SelectImplementation() {
3052
3052
  if (!reregister) {
3053
3053
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
3054
3054
  }
3055
- if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
3055
+ if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
3056
3056
  if (!reregister) {
3057
3057
  ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
3058
3058
  }
@@ -3064,7 +3064,7 @@ function SelectImplementation() {
3064
3064
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
3065
3065
  }
3066
3066
  };
3067
- protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
3067
+ protoOf17($).register$default_bbb1nn_k$ = function(_this__u8e3s4, reregister, $super) {
3068
3068
  reregister = reregister === VOID18 ? false : reregister;
3069
3069
  var tmp;
3070
3070
  if ($super === VOID18) {
@@ -2246,8 +2246,8 @@ function HomeApiBase$configureClient$lambda_14(this$0, $platformName) {
2246
2246
  }
2247
2247
  accept($this$defaultRequest, Application_getInstance().Json_1);
2248
2248
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2249
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.3 (" + $platformName + ")");
2250
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.3");
2249
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.57.4 (" + $platformName + ")");
2250
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.57.4");
2251
2251
  return Unit_instance2;
2252
2252
  };
2253
2253
  }
@@ -1840,7 +1840,7 @@ function createMockSettlementProviderConfiguration($this, id) {
1840
1840
  function createMockIssue($this, id, companyId) {
1841
1841
  var tmp0_title = 'Mock Issue ' + id.toString();
1842
1842
  var tmp1_status = IssueStatus_OPEN_getInstance();
1843
- return new (Issue())(companyId, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_status, tmp0_title);
1843
+ return new (Issue())(companyId, VOID, VOID, id, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_status, tmp0_title);
1844
1844
  }
1845
1845
  function createMockMeetingDetails($this, id, companyId) {
1846
1846
  var tmp0_title = 'Mock Meeting ' + id.toString();
@@ -2598,7 +2598,7 @@ function MockBackend$registerHandlers$lambda_12(this$0) {
2598
2598
  var tmp1_description = command.description;
2599
2599
  var tmp2_status = IssueStatus_OPEN_getInstance();
2600
2600
  var tmp3_responsibleId = command.responsibleId;
2601
- var issue = new (Issue())(companyId, tmp1_description, id, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_responsibleId, tmp2_status, tmp0_title);
2601
+ var issue = new (Issue())(companyId, VOID, tmp1_description, id, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp3_responsibleId, tmp2_status, tmp0_title);
2602
2602
  // Inline function 'kotlin.collections.set' call
2603
2603
  this$0.issues.put_4fpzoq_k$(id, issue);
2604
2604
  var tmp0_0 = this$0;
@@ -2814,7 +2814,7 @@ function MockBackend$registerHandlers$lambda_16(this$0) {
2814
2814
  tmp = value;
2815
2815
  }
2816
2816
  var issue = tmp;
2817
- var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, IssueStatus_CLOSED_getInstance());
2817
+ var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, IssueStatus_CLOSED_getInstance());
2818
2818
  // Inline function 'kotlin.collections.set' call
2819
2819
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
2820
2820
  var tmp0 = this$0;
@@ -2847,7 +2847,7 @@ function MockBackend$registerHandlers$lambda_17(this$0) {
2847
2847
  tmp = value;
2848
2848
  }
2849
2849
  var issue = tmp;
2850
- var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, IssueStatus_OPEN_getInstance());
2850
+ var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, IssueStatus_OPEN_getInstance());
2851
2851
  // Inline function 'kotlin.collections.set' call
2852
2852
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
2853
2853
  var tmp0 = this$0;
@@ -2889,7 +2889,7 @@ function MockBackend$registerHandlers$lambda_18(this$0) {
2889
2889
  tmp = value;
2890
2890
  }
2891
2891
  var issue = tmp;
2892
- var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.resolution);
2892
+ var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.resolution);
2893
2893
  // Inline function 'kotlin.collections.set' call
2894
2894
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
2895
2895
  var tmp0_0 = this$0;
@@ -2931,7 +2931,7 @@ function MockBackend$registerHandlers$lambda_19(this$0) {
2931
2931
  tmp = value;
2932
2932
  }
2933
2933
  var issue = tmp;
2934
- var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.responsibleId);
2934
+ var updatedIssue = issue.copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, command.responsibleId);
2935
2935
  // Inline function 'kotlin.collections.set' call
2936
2936
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
2937
2937
  var tmp0_0 = this$0;
@@ -3047,7 +3047,7 @@ function MockBackend$registerHandlers$lambda_23(this$0) {
3047
3047
  var tmp4_description = tmp1_elvis_lhs == null ? issue.description : tmp1_elvis_lhs;
3048
3048
  var tmp2_elvis_lhs = command.proposedResolution;
3049
3049
  var tmp5_proposedResolution = tmp2_elvis_lhs == null ? issue.proposedResolution : tmp2_elvis_lhs;
3050
- var updatedIssue = issue.copy(VOID, tmp4_description, VOID, VOID, VOID, VOID, VOID, tmp5_proposedResolution, VOID, VOID, VOID, VOID, tmp3_title);
3050
+ var updatedIssue = issue.copy(VOID, VOID, tmp4_description, VOID, VOID, VOID, VOID, VOID, tmp5_proposedResolution, VOID, VOID, VOID, VOID, tmp3_title);
3051
3051
  // Inline function 'kotlin.collections.set' call
3052
3052
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
3053
3053
  var tmp0_0 = this$0;
@@ -13611,7 +13611,7 @@ function MockBackend$registerHandlers$lambda_433(this$0) {
13611
13611
  var tmp4_description = tmp1_elvis_lhs == null ? issue.description : tmp1_elvis_lhs;
13612
13612
  var tmp2_elvis_lhs = command.proposedResolution;
13613
13613
  var tmp5_proposedResolution = tmp2_elvis_lhs == null ? issue.proposedResolution : tmp2_elvis_lhs;
13614
- var updatedIssue = issue.copy(VOID, tmp4_description, VOID, VOID, VOID, VOID, VOID, tmp5_proposedResolution, VOID, VOID, VOID, VOID, tmp3_title);
13614
+ var updatedIssue = issue.copy(VOID, VOID, tmp4_description, VOID, VOID, VOID, VOID, VOID, tmp5_proposedResolution, VOID, VOID, VOID, VOID, tmp3_title);
13615
13615
  // Inline function 'kotlin.collections.set' call
13616
13616
  this$0.issues.put_4fpzoq_k$(id, updatedIssue);
13617
13617
  var tmp0_0 = this$0;
@@ -17175,7 +17175,7 @@ function MockBackend() {
17175
17175
  var tmp0_1 = this.issues;
17176
17176
  var tmp2_status = IssueStatus_OPEN_getInstance();
17177
17177
  // Inline function 'kotlin.collections.set' call
17178
- var value_1 = new (Issue())(companyId, VOID, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_status, 'Mock Issue 1');
17178
+ var value_1 = new (Issue())(companyId, VOID, VOID, 1n, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2_status, 'Mock Issue 1');
17179
17179
  tmp0_1.put_4fpzoq_k$(1n, value_1);
17180
17180
  var tmp0_2 = this.issueComments;
17181
17181
  var tmp3_createdBy = createMockUser(this);
@@ -1,8 +1,9 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class Issue {
4
- constructor(companyId: bigint, description: Nullable<string> | undefined, id: bigint, lastResolution: Nullable<string> | undefined, meetingAt: Nullable<any>/* Nullable<Instant> */ | undefined, meetingId: Nullable<bigint> | undefined, meetingTitle: Nullable<string> | undefined, proposedResolution: Nullable<string> | undefined, relatedSections: Nullable<KtList<SectionInIssue>> | undefined, responsible: Nullable<Person> | undefined, responsibleId: Nullable<bigint> | undefined, status: IssueStatus, title: string);
4
+ constructor(companyId: bigint, createdAt: Nullable<any>/* Nullable<Instant> */ | undefined, description: Nullable<string> | undefined, id: bigint, lastResolution: Nullable<string> | undefined, meetingAt: Nullable<any>/* Nullable<Instant> */ | undefined, meetingId: Nullable<bigint> | undefined, meetingTitle: Nullable<string> | undefined, proposedResolution: Nullable<string> | undefined, relatedSections: Nullable<KtList<SectionInIssue>> | undefined, responsible: Nullable<Person> | undefined, responsibleId: Nullable<bigint> | undefined, status: IssueStatus, title: string);
5
5
  get companyId(): bigint;
6
+ get createdAt(): Nullable<any>/* Nullable<Instant> */;
6
7
  get description(): Nullable<string>;
7
8
  get id(): bigint;
8
9
  get lastResolution(): Nullable<string>;
@@ -15,7 +16,7 @@ export declare class Issue {
15
16
  get responsibleId(): Nullable<bigint>;
16
17
  get status(): IssueStatus;
17
18
  get title(): string;
18
- copy(companyId?: bigint, description?: Nullable<string>, id?: bigint, lastResolution?: Nullable<string>, meetingAt?: Nullable<any>/* Nullable<Instant> */, meetingId?: Nullable<bigint>, meetingTitle?: Nullable<string>, proposedResolution?: Nullable<string>, relatedSections?: Nullable<KtList<SectionInIssue>>, responsible?: Nullable<Person>, responsibleId?: Nullable<bigint>, status?: IssueStatus, title?: string): Issue;
19
+ copy(companyId?: bigint, createdAt?: Nullable<any>/* Nullable<Instant> */, description?: Nullable<string>, id?: bigint, lastResolution?: Nullable<string>, meetingAt?: Nullable<any>/* Nullable<Instant> */, meetingId?: Nullable<bigint>, meetingTitle?: Nullable<string>, proposedResolution?: Nullable<string>, relatedSections?: Nullable<KtList<SectionInIssue>>, responsible?: Nullable<Person>, responsibleId?: Nullable<bigint>, status?: IssueStatus, title?: string): Issue;
19
20
  toString(): string;
20
21
  hashCode(): number;
21
22
  equals(other: Nullable<any>): boolean;
@@ -18,12 +18,12 @@ import {
18
18
  } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
19
19
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
20
20
  import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
21
+ import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs';
22
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
21
23
  import {
22
24
  StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
23
25
  LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
24
26
  } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
25
- import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
26
- import { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs';
27
27
  import { $serializer_getInstancernln83sjtidj as $serializer_getInstance_0 } from '../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Person.mjs';
28
28
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
29
29
  import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
@@ -64,7 +64,7 @@ function Companion() {
64
64
  // Inline function 'kotlin.arrayOf' call
65
65
  // Inline function 'kotlin.js.unsafeCast' call
66
66
  // Inline function 'kotlin.js.asDynamic' call
67
- tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, tmp_1, null, null, lazy(tmp_2, Issue$Companion$$childSerializers$_anonymous__bl7qsv_0), null];
67
+ tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, null, tmp_1, null, null, lazy(tmp_2, Issue$Companion$$childSerializers$_anonymous__bl7qsv_0), null];
68
68
  }
69
69
  CompanionClass = $;
70
70
  }
@@ -82,8 +82,9 @@ function $serializer() {
82
82
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
83
83
  function $() {
84
84
  $serializer_instance = this;
85
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Issue', this, 13);
85
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Issue', this, 14);
86
86
  tmp0_serialDesc.addElement_5pzumi_k$('companyId', false);
87
+ tmp0_serialDesc.addElement_5pzumi_k$('createdAt', true);
87
88
  tmp0_serialDesc.addElement_5pzumi_k$('description', true);
88
89
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
89
90
  tmp0_serialDesc.addElement_5pzumi_k$('lastResolution', true);
@@ -103,36 +104,39 @@ function $serializer() {
103
104
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
104
105
  var tmp2_cached = Companion_getInstance_0().$childSerializers_1;
105
106
  tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.companyId);
106
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.description == null)) {
107
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, StringSerializer_getInstance(), value.description);
107
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.createdAt == null)) {
108
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), value.createdAt);
108
109
  }
109
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.id);
110
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.lastResolution == null)) {
111
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.lastResolution);
110
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.description == null)) {
111
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.description);
112
112
  }
113
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.meetingAt == null)) {
114
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.meetingAt);
113
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.id);
114
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.lastResolution == null)) {
115
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.lastResolution);
115
116
  }
116
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.meetingId == null)) {
117
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.meetingId);
117
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.meetingAt == null)) {
118
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.meetingAt);
118
119
  }
119
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.meetingTitle == null)) {
120
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, StringSerializer_getInstance(), value.meetingTitle);
120
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.meetingId == null)) {
121
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.meetingId);
121
122
  }
122
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.proposedResolution == null)) {
123
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.proposedResolution);
123
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.meetingTitle == null)) {
124
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, StringSerializer_getInstance(), value.meetingTitle);
124
125
  }
125
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.relatedSections == null)) {
126
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.relatedSections);
126
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.proposedResolution == null)) {
127
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.proposedResolution);
127
128
  }
128
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.responsible == null)) {
129
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, $serializer_getInstance_0(), value.responsible);
129
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.relatedSections == null)) {
130
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, tmp2_cached[9].get_value_j01efc_k$(), value.relatedSections);
130
131
  }
131
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.responsibleId == null)) {
132
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, LongSerializer_getInstance(), value.responsibleId);
132
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.responsible == null)) {
133
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, $serializer_getInstance_0(), value.responsible);
133
134
  }
134
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.status);
135
- tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 12, value.title);
135
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.responsibleId == null)) {
136
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, LongSerializer_getInstance(), value.responsibleId);
137
+ }
138
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.status);
139
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 13, value.title);
136
140
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
137
141
  };
138
142
  protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
@@ -145,8 +149,8 @@ function $serializer() {
145
149
  var tmp3_bitMask0 = 0;
146
150
  var tmp4_local0 = 0n;
147
151
  var tmp5_local1 = null;
148
- var tmp6_local2 = 0n;
149
- var tmp7_local3 = null;
152
+ var tmp6_local2 = null;
153
+ var tmp7_local3 = 0n;
150
154
  var tmp8_local4 = null;
151
155
  var tmp9_local5 = null;
152
156
  var tmp10_local6 = null;
@@ -156,100 +160,107 @@ function $serializer() {
156
160
  var tmp14_local10 = null;
157
161
  var tmp15_local11 = null;
158
162
  var tmp16_local12 = null;
159
- var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
160
- var tmp18_cached = Companion_getInstance_0().$childSerializers_1;
161
- if (tmp17_input.decodeSequentially_xlblqy_k$()) {
162
- tmp4_local0 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
163
+ var tmp17_local13 = null;
164
+ var tmp18_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
165
+ var tmp19_cached = Companion_getInstance_0().$childSerializers_1;
166
+ if (tmp18_input.decodeSequentially_xlblqy_k$()) {
167
+ tmp4_local0 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
163
168
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
164
- tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
169
+ tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
165
170
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
166
- tmp6_local2 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
171
+ tmp6_local2 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
167
172
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
168
- tmp7_local3 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
173
+ tmp7_local3 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
169
174
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
170
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
175
+ tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
171
176
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
172
- tmp9_local5 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
177
+ tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
173
178
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
174
- tmp10_local6 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
179
+ tmp10_local6 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
175
180
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
176
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
181
+ tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
177
182
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
178
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
183
+ tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
179
184
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
180
- tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
185
+ tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, tmp19_cached[9].get_value_j01efc_k$(), tmp13_local9);
181
186
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
182
- tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, LongSerializer_getInstance(), tmp14_local10);
187
+ tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_0(), tmp14_local10);
183
188
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
184
- tmp15_local11 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
189
+ tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp15_local11);
185
190
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
186
- tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
191
+ tmp16_local12 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
187
192
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
193
+ tmp17_local13 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 13);
194
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
188
195
  } else
189
196
  while (tmp1_flag) {
190
- tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
197
+ tmp2_index = tmp18_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
191
198
  switch (tmp2_index) {
192
199
  case -1:
193
200
  tmp1_flag = false;
194
201
  break;
195
202
  case 0:
196
- tmp4_local0 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
203
+ tmp4_local0 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
197
204
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
198
205
  break;
199
206
  case 1:
200
- tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
207
+ tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
201
208
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
202
209
  break;
203
210
  case 2:
204
- tmp6_local2 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
211
+ tmp6_local2 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
205
212
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
206
213
  break;
207
214
  case 3:
208
- tmp7_local3 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
215
+ tmp7_local3 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
209
216
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
210
217
  break;
211
218
  case 4:
212
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
219
+ tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
213
220
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
214
221
  break;
215
222
  case 5:
216
- tmp9_local5 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
223
+ tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
217
224
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
218
225
  break;
219
226
  case 6:
220
- tmp10_local6 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
227
+ tmp10_local6 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
221
228
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
222
229
  break;
223
230
  case 7:
224
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
231
+ tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
225
232
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
226
233
  break;
227
234
  case 8:
228
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
235
+ tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
229
236
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
230
237
  break;
231
238
  case 9:
232
- tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
239
+ tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, tmp19_cached[9].get_value_j01efc_k$(), tmp13_local9);
233
240
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
234
241
  break;
235
242
  case 10:
236
- tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, LongSerializer_getInstance(), tmp14_local10);
243
+ tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, $serializer_getInstance_0(), tmp14_local10);
237
244
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
238
245
  break;
239
246
  case 11:
240
- tmp15_local11 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
247
+ tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, LongSerializer_getInstance(), tmp15_local11);
241
248
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
242
249
  break;
243
250
  case 12:
244
- tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
251
+ tmp16_local12 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
245
252
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
246
253
  break;
254
+ case 13:
255
+ tmp17_local13 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 13);
256
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
257
+ break;
247
258
  default:
248
259
  throw UnknownFieldException_init_$Create$(tmp2_index);
249
260
  }
250
261
  }
251
- tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
252
- return Issue_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);
262
+ tmp18_input.endStructure_1xqz0n_k$(tmp0_desc);
263
+ return Issue_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, null);
253
264
  };
254
265
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
255
266
  return this.descriptor_1;
@@ -259,7 +270,7 @@ function $serializer() {
259
270
  // Inline function 'kotlin.arrayOf' call
260
271
  // Inline function 'kotlin.js.unsafeCast' call
261
272
  // Inline function 'kotlin.js.asDynamic' call
262
- return [LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), get_nullable($serializer_getInstance_0()), get_nullable(LongSerializer_getInstance()), tmp0_cached[11].get_value_j01efc_k$(), StringSerializer_getInstance()];
273
+ return [LongSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[9].get_value_j01efc_k$()), get_nullable($serializer_getInstance_0()), get_nullable(LongSerializer_getInstance()), tmp0_cached[12].get_value_j01efc_k$(), StringSerializer_getInstance()];
263
274
  };
264
275
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
265
276
  $serializerClass = $;
@@ -272,45 +283,49 @@ function $serializer_getInstance_1() {
272
283
  new ($serializer())();
273
284
  return $serializer_instance;
274
285
  }
275
- function Issue_init_$Init$(seen0, companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker, $this) {
276
- if (!(6149 === (6149 & seen0))) {
277
- throwMissingFieldException(seen0, 6149, $serializer_getInstance_1().descriptor_1);
286
+ function Issue_init_$Init$(seen0, companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker, $this) {
287
+ if (!(12297 === (12297 & seen0))) {
288
+ throwMissingFieldException(seen0, 12297, $serializer_getInstance_1().descriptor_1);
278
289
  }
279
290
  $this.companyId = companyId;
280
291
  if (0 === (seen0 & 2))
292
+ $this.createdAt = null;
293
+ else
294
+ $this.createdAt = createdAt;
295
+ if (0 === (seen0 & 4))
281
296
  $this.description = null;
282
297
  else
283
298
  $this.description = description;
284
299
  $this.id = id;
285
- if (0 === (seen0 & 8))
300
+ if (0 === (seen0 & 16))
286
301
  $this.lastResolution = null;
287
302
  else
288
303
  $this.lastResolution = lastResolution;
289
- if (0 === (seen0 & 16))
304
+ if (0 === (seen0 & 32))
290
305
  $this.meetingAt = null;
291
306
  else
292
307
  $this.meetingAt = meetingAt;
293
- if (0 === (seen0 & 32))
308
+ if (0 === (seen0 & 64))
294
309
  $this.meetingId = null;
295
310
  else
296
311
  $this.meetingId = meetingId;
297
- if (0 === (seen0 & 64))
312
+ if (0 === (seen0 & 128))
298
313
  $this.meetingTitle = null;
299
314
  else
300
315
  $this.meetingTitle = meetingTitle;
301
- if (0 === (seen0 & 128))
316
+ if (0 === (seen0 & 256))
302
317
  $this.proposedResolution = null;
303
318
  else
304
319
  $this.proposedResolution = proposedResolution;
305
- if (0 === (seen0 & 256))
320
+ if (0 === (seen0 & 512))
306
321
  $this.relatedSections = null;
307
322
  else
308
323
  $this.relatedSections = relatedSections;
309
- if (0 === (seen0 & 512))
324
+ if (0 === (seen0 & 1024))
310
325
  $this.responsible = null;
311
326
  else
312
327
  $this.responsible = responsible;
313
- if (0 === (seen0 & 1024))
328
+ if (0 === (seen0 & 2048))
314
329
  $this.responsibleId = null;
315
330
  else
316
331
  $this.responsibleId = responsibleId;
@@ -318,19 +333,29 @@ function Issue_init_$Init$(seen0, companyId, description, id, lastResolution, me
318
333
  $this.title = title;
319
334
  return $this;
320
335
  }
321
- function Issue_init_$Create$(seen0, companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker) {
322
- return Issue_init_$Init$(seen0, companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker, objectCreate(protoOf(Issue())));
336
+ function Issue_init_$Create$(seen0, companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker) {
337
+ return Issue_init_$Init$(seen0, companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, serializationConstructorMarker, objectCreate(protoOf(Issue())));
323
338
  }
324
339
  var IssueClass;
325
340
  function Issue() {
326
341
  if (IssueClass === VOID) {
327
342
  initMetadataForClass($, 'Issue', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
328
- function $(companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) {
343
+ function $(companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) {
329
344
  var __soliboProps = arguments.length === 1 && typeof companyId === 'object' && companyId !== null && companyId.constructor === Object;
330
345
  var __soliboTmp, __soliboConverted = false;
331
346
  if (__soliboProps) {
332
347
  const props = companyId;
333
348
  companyId = ('companyId' in props ? props.companyId : VOID);
349
+ createdAt = ('createdAt' in props ? props.createdAt : VOID);
350
+ if (typeof createdAt === 'string') {
351
+ if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
352
+ else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
353
+ const companion = __soliboInstantCompanion();
354
+ createdAt = companion.parse_xovy9i_k$(createdAt);
355
+ } else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
356
+ const companion = __soliboInstantCompanion();
357
+ createdAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(createdAt.getTime()));
358
+ }
334
359
  description = ('description' in props ? props.description : VOID);
335
360
  id = ('id' in props ? props.id : VOID);
336
361
  lastResolution = ('lastResolution' in props ? props.lastResolution : VOID);
@@ -361,6 +386,7 @@ function Issue() {
361
386
  if ((__soliboTmp = __soliboToKt(responsibleId, ["bigint"])) !== responsibleId) { responsibleId = __soliboTmp; __soliboConverted = true; }
362
387
  if ((__soliboTmp = __soliboToKt(status, ["enum","IssueStatus"])) !== status) { status = __soliboTmp; __soliboConverted = true; }
363
388
  Companion_getInstance_0();
389
+ createdAt = createdAt === VOID ? null : createdAt;
364
390
  description = description === VOID ? null : description;
365
391
  lastResolution = lastResolution === VOID ? null : lastResolution;
366
392
  meetingAt = meetingAt === VOID ? null : meetingAt;
@@ -371,6 +397,7 @@ function Issue() {
371
397
  responsible = responsible === VOID ? null : responsible;
372
398
  responsibleId = responsibleId === VOID ? null : responsibleId;
373
399
  this.companyId = companyId;
400
+ this.createdAt = createdAt;
374
401
  this.description = description;
375
402
  this.id = id;
376
403
  this.lastResolution = lastResolution;
@@ -388,6 +415,9 @@ function Issue() {
388
415
  protoOf($).get_companyId_eumsdt_k$ = function () {
389
416
  return this.companyId;
390
417
  };
418
+ protoOf($).get_createdAt_ierzpu_k$ = function () {
419
+ return this.createdAt;
420
+ };
391
421
  protoOf($).get_description_emjre5_k$ = function () {
392
422
  return this.description;
393
423
  };
@@ -428,46 +458,50 @@ function Issue() {
428
458
  return this.companyId;
429
459
  };
430
460
  protoOf($).component2_7eebsb_k$ = function () {
431
- return this.description;
461
+ return this.createdAt;
432
462
  };
433
463
  protoOf($).component3_7eebsa_k$ = function () {
434
- return this.id;
464
+ return this.description;
435
465
  };
436
466
  protoOf($).component4_7eebs9_k$ = function () {
437
- return this.lastResolution;
467
+ return this.id;
438
468
  };
439
469
  protoOf($).component5_7eebs8_k$ = function () {
440
- return this.meetingAt;
470
+ return this.lastResolution;
441
471
  };
442
472
  protoOf($).component6_7eebs7_k$ = function () {
443
- return this.meetingId;
473
+ return this.meetingAt;
444
474
  };
445
475
  protoOf($).component7_7eebs6_k$ = function () {
446
- return this.meetingTitle;
476
+ return this.meetingId;
447
477
  };
448
478
  protoOf($).component8_7eebs5_k$ = function () {
449
- return this.proposedResolution;
479
+ return this.meetingTitle;
450
480
  };
451
481
  protoOf($).component9_7eebs4_k$ = function () {
452
- return this.relatedSections;
482
+ return this.proposedResolution;
453
483
  };
454
484
  protoOf($).component10_gazzfo_k$ = function () {
455
- return this.responsible;
485
+ return this.relatedSections;
456
486
  };
457
487
  protoOf($).component11_gazzfn_k$ = function () {
458
- return this.responsibleId;
488
+ return this.responsible;
459
489
  };
460
490
  protoOf($).component12_gazzfm_k$ = function () {
461
- return this.status;
491
+ return this.responsibleId;
462
492
  };
463
493
  protoOf($).component13_gazzfl_k$ = function () {
494
+ return this.status;
495
+ };
496
+ protoOf($).component14_gazzfk_k$ = function () {
464
497
  return this.title;
465
498
  };
466
- protoOf($).copy_4i6985_k$ = function (companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) {
467
- return new (Issue())(companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title);
499
+ protoOf($).copy_hqzep0_k$ = function (companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) {
500
+ return new (Issue())(companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title);
468
501
  };
469
- protoOf($).copy = function (companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, $super) {
502
+ protoOf($).copy = function (companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title, $super) {
470
503
  companyId = companyId === VOID ? this.companyId : companyId;
504
+ createdAt = createdAt === VOID ? this.createdAt : createdAt;
471
505
  description = description === VOID ? this.description : description;
472
506
  id = id === VOID ? this.id : id;
473
507
  lastResolution = lastResolution === VOID ? this.lastResolution : lastResolution;
@@ -480,13 +514,14 @@ function Issue() {
480
514
  responsibleId = responsibleId === VOID ? this.responsibleId : responsibleId;
481
515
  status = status === VOID ? this.status : status;
482
516
  title = title === VOID ? this.title : title;
483
- return $super === VOID ? this.copy_4i6985_k$(companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) : $super.copy_4i6985_k$.call(this, companyId, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title);
517
+ return $super === VOID ? this.copy_hqzep0_k$(companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title) : $super.copy_hqzep0_k$.call(this, companyId, createdAt, description, id, lastResolution, meetingAt, meetingId, meetingTitle, proposedResolution, relatedSections, responsible, responsibleId, status, title);
484
518
  };
485
519
  protoOf($).toString = function () {
486
- return 'Issue(companyId=' + this.companyId.toString() + ', description=' + this.description + ', id=' + this.id.toString() + ', lastResolution=' + this.lastResolution + ', meetingAt=' + toString(this.meetingAt) + ', meetingId=' + toString(this.meetingId) + ', meetingTitle=' + this.meetingTitle + ', proposedResolution=' + this.proposedResolution + ', relatedSections=' + toString(this.relatedSections) + ', responsible=' + toString(this.responsible) + ', responsibleId=' + toString(this.responsibleId) + ', status=' + this.status.toString() + ', title=' + this.title + ')';
520
+ return 'Issue(companyId=' + this.companyId.toString() + ', createdAt=' + toString(this.createdAt) + ', description=' + this.description + ', id=' + this.id.toString() + ', lastResolution=' + this.lastResolution + ', meetingAt=' + toString(this.meetingAt) + ', meetingId=' + toString(this.meetingId) + ', meetingTitle=' + this.meetingTitle + ', proposedResolution=' + this.proposedResolution + ', relatedSections=' + toString(this.relatedSections) + ', responsible=' + toString(this.responsible) + ', responsibleId=' + toString(this.responsibleId) + ', status=' + this.status.toString() + ', title=' + this.title + ')';
487
521
  };
488
522
  protoOf($).hashCode = function () {
489
523
  var result = getBigIntHashCode(this.companyId);
524
+ result = imul(result, 31) + (this.createdAt == null ? 0 : this.createdAt.hashCode()) | 0;
490
525
  result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
491
526
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
492
527
  result = imul(result, 31) + (this.lastResolution == null ? 0 : getStringHashCode(this.lastResolution)) | 0;
@@ -508,6 +543,8 @@ function Issue() {
508
543
  return false;
509
544
  if (!(this.companyId === other.companyId))
510
545
  return false;
546
+ if (!equals(this.createdAt, other.createdAt))
547
+ return false;
511
548
  if (!(this.description == other.description))
512
549
  return false;
513
550
  if (!(this.id === other.id))
@@ -1,11 +1,12 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class InternalConversation {
4
- constructor(administratorInputRequested: Nullable<boolean> | undefined, id: bigint, messages?: Nullable<KtList<MessageInConversation>>);
4
+ constructor(administratorInputRequested: Nullable<boolean> | undefined, id: bigint, messages?: Nullable<KtList<MessageInConversation>>, readByCurrentUser?: Nullable<boolean>);
5
5
  get administratorInputRequested(): Nullable<boolean>;
6
6
  get id(): bigint;
7
7
  get messages(): Nullable<KtList<MessageInConversation>>;
8
- copy(administratorInputRequested?: Nullable<boolean>, id?: bigint, messages?: Nullable<KtList<MessageInConversation>>): InternalConversation;
8
+ get readByCurrentUser(): Nullable<boolean>;
9
+ copy(administratorInputRequested?: Nullable<boolean>, id?: bigint, messages?: Nullable<KtList<MessageInConversation>>, readByCurrentUser?: Nullable<boolean>): InternalConversation;
9
10
  toString(): string;
10
11
  hashCode(): number;
11
12
  equals(other: Nullable<any>): boolean;
@@ -53,7 +53,7 @@ function Companion() {
53
53
  // Inline function 'kotlin.arrayOf' call
54
54
  // Inline function 'kotlin.js.unsafeCast' call
55
55
  // Inline function 'kotlin.js.asDynamic' call
56
- tmp.$childSerializers_1 = [null, null, lazy(tmp_0, InternalConversation$Companion$$childSerializers$_anonymous__54y6ve)];
56
+ tmp.$childSerializers_1 = [null, null, lazy(tmp_0, InternalConversation$Companion$$childSerializers$_anonymous__54y6ve), null];
57
57
  }
58
58
  CompanionClass = $;
59
59
  }
@@ -71,10 +71,11 @@ function $serializer() {
71
71
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
72
72
  function $() {
73
73
  $serializer_instance = this;
74
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.InternalConversation', this, 3);
74
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.InternalConversation', this, 4);
75
75
  tmp0_serialDesc.addElement_5pzumi_k$('administratorInputRequested', true);
76
76
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
77
77
  tmp0_serialDesc.addElement_5pzumi_k$('messages', true);
78
+ tmp0_serialDesc.addElement_5pzumi_k$('readByCurrentUser', true);
78
79
  this.descriptor_1 = tmp0_serialDesc;
79
80
  }
80
81
  protoOf($).serialize_5kdhk4_k$ = function (encoder, value) {
@@ -88,6 +89,9 @@ function $serializer() {
88
89
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.messages == null)) {
89
90
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.messages);
90
91
  }
92
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.readByCurrentUser == null)) {
93
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.readByCurrentUser);
94
+ }
91
95
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
92
96
  };
93
97
  protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
@@ -101,40 +105,47 @@ function $serializer() {
101
105
  var tmp4_local0 = null;
102
106
  var tmp5_local1 = 0n;
103
107
  var tmp6_local2 = null;
104
- var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
105
- var tmp8_cached = Companion_getInstance().$childSerializers_1;
106
- if (tmp7_input.decodeSequentially_xlblqy_k$()) {
107
- tmp4_local0 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
108
+ var tmp7_local3 = null;
109
+ var tmp8_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
110
+ var tmp9_cached = Companion_getInstance().$childSerializers_1;
111
+ if (tmp8_input.decodeSequentially_xlblqy_k$()) {
112
+ tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
108
113
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
109
- tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
114
+ tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
110
115
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
111
- tmp6_local2 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp8_cached[2].get_value_j01efc_k$(), tmp6_local2);
116
+ tmp6_local2 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp9_cached[2].get_value_j01efc_k$(), tmp6_local2);
112
117
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
118
+ tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
119
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
113
120
  } else
114
121
  while (tmp1_flag) {
115
- tmp2_index = tmp7_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
122
+ tmp2_index = tmp8_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
116
123
  switch (tmp2_index) {
117
124
  case -1:
118
125
  tmp1_flag = false;
119
126
  break;
120
127
  case 0:
121
- tmp4_local0 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
128
+ tmp4_local0 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
122
129
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
123
130
  break;
124
131
  case 1:
125
- tmp5_local1 = tmp7_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
132
+ tmp5_local1 = tmp8_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
126
133
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
127
134
  break;
128
135
  case 2:
129
- tmp6_local2 = tmp7_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp8_cached[2].get_value_j01efc_k$(), tmp6_local2);
136
+ tmp6_local2 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp9_cached[2].get_value_j01efc_k$(), tmp6_local2);
130
137
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
131
138
  break;
139
+ case 3:
140
+ tmp7_local3 = tmp8_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
141
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
142
+ break;
132
143
  default:
133
144
  throw UnknownFieldException_init_$Create$(tmp2_index);
134
145
  }
135
146
  }
136
- tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
137
- return InternalConversation_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
147
+ tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
148
+ return InternalConversation_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
138
149
  };
139
150
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
140
151
  return this.descriptor_1;
@@ -144,7 +155,7 @@ function $serializer() {
144
155
  // Inline function 'kotlin.arrayOf' call
145
156
  // Inline function 'kotlin.js.unsafeCast' call
146
157
  // Inline function 'kotlin.js.asDynamic' call
147
- return [get_nullable(BooleanSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[2].get_value_j01efc_k$())];
158
+ return [get_nullable(BooleanSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(BooleanSerializer_getInstance())];
148
159
  };
149
160
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
150
161
  $serializerClass = $;
@@ -157,7 +168,7 @@ function $serializer_getInstance_0() {
157
168
  new ($serializer())();
158
169
  return $serializer_instance;
159
170
  }
160
- function InternalConversation_init_$Init$(seen0, administratorInputRequested, id, messages, serializationConstructorMarker, $this) {
171
+ function InternalConversation_init_$Init$(seen0, administratorInputRequested, id, messages, readByCurrentUser, serializationConstructorMarker, $this) {
161
172
  if (!(2 === (2 & seen0))) {
162
173
  throwMissingFieldException(seen0, 2, $serializer_getInstance_0().descriptor_1);
163
174
  }
@@ -170,16 +181,20 @@ function InternalConversation_init_$Init$(seen0, administratorInputRequested, id
170
181
  $this.messages = null;
171
182
  else
172
183
  $this.messages = messages;
184
+ if (0 === (seen0 & 8))
185
+ $this.readByCurrentUser = null;
186
+ else
187
+ $this.readByCurrentUser = readByCurrentUser;
173
188
  return $this;
174
189
  }
175
- function InternalConversation_init_$Create$(seen0, administratorInputRequested, id, messages, serializationConstructorMarker) {
176
- return InternalConversation_init_$Init$(seen0, administratorInputRequested, id, messages, serializationConstructorMarker, objectCreate(protoOf(InternalConversation())));
190
+ function InternalConversation_init_$Create$(seen0, administratorInputRequested, id, messages, readByCurrentUser, serializationConstructorMarker) {
191
+ return InternalConversation_init_$Init$(seen0, administratorInputRequested, id, messages, readByCurrentUser, serializationConstructorMarker, objectCreate(protoOf(InternalConversation())));
177
192
  }
178
193
  var InternalConversationClass;
179
194
  function InternalConversation() {
180
195
  if (InternalConversationClass === VOID) {
181
196
  initMetadataForClass($, 'InternalConversation', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
182
- function $(administratorInputRequested, id, messages) {
197
+ function $(administratorInputRequested, id, messages, readByCurrentUser) {
183
198
  var __soliboProps = arguments.length === 1 && typeof administratorInputRequested === 'object' && administratorInputRequested !== null && administratorInputRequested.constructor === Object;
184
199
  var __soliboTmp, __soliboConverted = false;
185
200
  if (__soliboProps) {
@@ -187,15 +202,18 @@ function InternalConversation() {
187
202
  administratorInputRequested = ('administratorInputRequested' in props ? props.administratorInputRequested : VOID);
188
203
  id = ('id' in props ? props.id : VOID);
189
204
  messages = ('messages' in props ? props.messages : VOID);
205
+ readByCurrentUser = ('readByCurrentUser' in props ? props.readByCurrentUser : VOID);
190
206
  }
191
207
  if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
192
208
  if ((__soliboTmp = __soliboToKt(messages, ["list",["model","MessageInConversation"]])) !== messages) { messages = __soliboTmp; __soliboConverted = true; }
193
209
  Companion_getInstance();
194
210
  administratorInputRequested = administratorInputRequested === VOID ? null : administratorInputRequested;
195
211
  messages = messages === VOID ? null : messages;
212
+ readByCurrentUser = readByCurrentUser === VOID ? null : readByCurrentUser;
196
213
  this.administratorInputRequested = administratorInputRequested;
197
214
  this.id = id;
198
215
  this.messages = messages;
216
+ this.readByCurrentUser = readByCurrentUser;
199
217
  if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
200
218
  }
201
219
  protoOf($).get_administratorInputRequested_t9lugo_k$ = function () {
@@ -207,6 +225,9 @@ function InternalConversation() {
207
225
  protoOf($).get_messages_vl21at_k$ = function () {
208
226
  return this.messages;
209
227
  };
228
+ protoOf($).get_readByCurrentUser_v9otpq_k$ = function () {
229
+ return this.readByCurrentUser;
230
+ };
210
231
  protoOf($).component1_7eebsc_k$ = function () {
211
232
  return this.administratorInputRequested;
212
233
  };
@@ -216,22 +237,27 @@ function InternalConversation() {
216
237
  protoOf($).component3_7eebsa_k$ = function () {
217
238
  return this.messages;
218
239
  };
219
- protoOf($).copy_okff6u_k$ = function (administratorInputRequested, id, messages) {
220
- return new (InternalConversation())(administratorInputRequested, id, messages);
240
+ protoOf($).component4_7eebs9_k$ = function () {
241
+ return this.readByCurrentUser;
242
+ };
243
+ protoOf($).copy_paxckq_k$ = function (administratorInputRequested, id, messages, readByCurrentUser) {
244
+ return new (InternalConversation())(administratorInputRequested, id, messages, readByCurrentUser);
221
245
  };
222
- protoOf($).copy = function (administratorInputRequested, id, messages, $super) {
246
+ protoOf($).copy = function (administratorInputRequested, id, messages, readByCurrentUser, $super) {
223
247
  administratorInputRequested = administratorInputRequested === VOID ? this.administratorInputRequested : administratorInputRequested;
224
248
  id = id === VOID ? this.id : id;
225
249
  messages = messages === VOID ? this.messages : messages;
226
- return $super === VOID ? this.copy_okff6u_k$(administratorInputRequested, id, messages) : $super.copy_okff6u_k$.call(this, administratorInputRequested, id, messages);
250
+ readByCurrentUser = readByCurrentUser === VOID ? this.readByCurrentUser : readByCurrentUser;
251
+ return $super === VOID ? this.copy_paxckq_k$(administratorInputRequested, id, messages, readByCurrentUser) : $super.copy_paxckq_k$.call(this, administratorInputRequested, id, messages, readByCurrentUser);
227
252
  };
228
253
  protoOf($).toString = function () {
229
- return 'InternalConversation(administratorInputRequested=' + this.administratorInputRequested + ', id=' + this.id.toString() + ', messages=' + toString(this.messages) + ')';
254
+ return 'InternalConversation(administratorInputRequested=' + this.administratorInputRequested + ', id=' + this.id.toString() + ', messages=' + toString(this.messages) + ', readByCurrentUser=' + this.readByCurrentUser + ')';
230
255
  };
231
256
  protoOf($).hashCode = function () {
232
257
  var result = this.administratorInputRequested == null ? 0 : getBooleanHashCode(this.administratorInputRequested);
233
258
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
234
259
  result = imul(result, 31) + (this.messages == null ? 0 : hashCode(this.messages)) | 0;
260
+ result = imul(result, 31) + (this.readByCurrentUser == null ? 0 : getBooleanHashCode(this.readByCurrentUser)) | 0;
235
261
  return result;
236
262
  };
237
263
  protoOf($).equals = function (other) {
@@ -245,6 +271,8 @@ function InternalConversation() {
245
271
  return false;
246
272
  if (!equals(this.messages, other.messages))
247
273
  return false;
274
+ if (!(this.readByCurrentUser == other.readByCurrentUser))
275
+ return false;
248
276
  return true;
249
277
  };
250
278
  /* Solibo boundary patches */
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
28
28
  }
29
29
  protoOf($).tracer_4zr7of_k$ = function () {
30
30
  var tmp0_elvis_lhs = this.installed_1;
31
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.57.3');
31
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.57.4');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -17637,6 +17637,7 @@ export declare namespace CreateIssueCommentCommand {
17637
17637
  }
17638
17638
  export interface IssueProps {
17639
17639
  companyId: bigint;
17640
+ createdAt?: SoliboInstant /* Instant */ | null | undefined;
17640
17641
  description?: string | null | undefined;
17641
17642
  id: bigint;
17642
17643
  lastResolution?: string | null | undefined;
@@ -17652,8 +17653,9 @@ export interface IssueProps {
17652
17653
  }
17653
17654
  export declare class Issue {
17654
17655
  constructor(props: IssueProps);
17655
- constructor(companyId: bigint, description: string | null | undefined, id: bigint, lastResolution: string | null | undefined, meetingAt: SoliboInstant /* Instant */ | null | undefined, meetingId: bigint | null | undefined, meetingTitle: string | null | undefined, proposedResolution: string | null | undefined, relatedSections: SectionInIssue[] | null | undefined, responsible: Person | null | undefined, responsibleId: bigint | null | undefined, status: IssueStatus, title: string);
17656
+ constructor(companyId: bigint, createdAt: SoliboInstant /* Instant */ | null | undefined, description: string | null | undefined, id: bigint, lastResolution: string | null | undefined, meetingAt: SoliboInstant /* Instant */ | null | undefined, meetingId: bigint | null | undefined, meetingTitle: string | null | undefined, proposedResolution: string | null | undefined, relatedSections: SectionInIssue[] | null | undefined, responsible: Person | null | undefined, responsibleId: bigint | null | undefined, status: IssueStatus, title: string);
17656
17657
  get companyId(): bigint;
17658
+ get createdAt(): SoliboInstant /* Instant */ | null | undefined;
17657
17659
  get description(): string | null | undefined;
17658
17660
  get id(): bigint;
17659
17661
  get lastResolution(): string | null | undefined;
@@ -31451,13 +31453,15 @@ export interface InternalConversationProps {
31451
31453
  administratorInputRequested?: boolean | null | undefined;
31452
31454
  id: bigint;
31453
31455
  messages?: MessageInConversationProps[] | null | undefined;
31456
+ readByCurrentUser?: boolean | null | undefined;
31454
31457
  }
31455
31458
  export declare class InternalConversation {
31456
31459
  constructor(props: InternalConversationProps);
31457
- constructor(administratorInputRequested: boolean | null | undefined, id: bigint, messages?: MessageInConversation[] | null | undefined);
31460
+ constructor(administratorInputRequested: boolean | null | undefined, id: bigint, messages?: MessageInConversation[] | null | undefined, readByCurrentUser?: boolean | null | undefined);
31458
31461
  get administratorInputRequested(): boolean | null | undefined;
31459
31462
  get id(): bigint;
31460
31463
  get messages(): MessageInConversation[] | null | undefined;
31464
+ get readByCurrentUser(): boolean | null | undefined;
31461
31465
  }
31462
31466
  export declare namespace InternalConversation {
31463
31467
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */