@solibo/solibo-sdk 1.57.5 → 1.57.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.
- package/client/board.d.mts +1 -1
- package/client/board.mjs +18 -0
- package/client-core.mjs +7 -0
- package/client.d.mts +13 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/operations/board.d.mts +2 -1
- package/operations/board.mjs +5 -0
- package/package.json +1 -1
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-7.mjs +2 -2
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/client/apis/BoardApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/client/apis/BoardApi.mjs +82 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/client/operations/SetBoardMemberTermOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/client/operations/SetBoardMemberTermOperation.export.mjs +16 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/client/operations/SetBoardMemberTermOperation.mjs +113 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/models/SetBoardTermCommand.export.d.mts +17 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/models/SetBoardTermCommand.export.mjs +12 -0
- package/solibo-sdk-sdk-api-board/no/solibo/oss/sdk/api/gen/models/SetBoardTermCommand.mjs +210 -0
- package/solibo-sdk-sdk-api-board.mjs +2 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonRoleInput.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/PersonRoleInput.mjs +63 -34
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Role.mjs +76 -47
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleInput.export.d.mts +3 -2
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/RoleInput.mjs +76 -47
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +27 -3
|
@@ -49,7 +49,7 @@ function Companion() {
|
|
|
49
49
|
// Inline function 'kotlin.arrayOf' call
|
|
50
50
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
51
51
|
// Inline function 'kotlin.js.asDynamic' call
|
|
52
|
-
tmp.$childSerializers_1 = [null, null, null, null, null, null, lazy(tmp_0, Role$Companion$$childSerializers$_anonymous__76f9e4), null, null];
|
|
52
|
+
tmp.$childSerializers_1 = [null, null, null, null, null, null, null, lazy(tmp_0, Role$Companion$$childSerializers$_anonymous__76f9e4), null, null];
|
|
53
53
|
}
|
|
54
54
|
CompanionClass = $;
|
|
55
55
|
}
|
|
@@ -67,13 +67,14 @@ function $serializer() {
|
|
|
67
67
|
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
68
68
|
function $() {
|
|
69
69
|
$serializer_instance = this;
|
|
70
|
-
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Role', this,
|
|
70
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.Role', this, 10);
|
|
71
71
|
tmp0_serialDesc.addElement_5pzumi_k$('companyId', true);
|
|
72
72
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
73
73
|
tmp0_serialDesc.addElement_5pzumi_k$('organizationId', true);
|
|
74
74
|
tmp0_serialDesc.addElement_5pzumi_k$('personId', true);
|
|
75
75
|
tmp0_serialDesc.addElement_5pzumi_k$('sectionId', true);
|
|
76
76
|
tmp0_serialDesc.addElement_5pzumi_k$('supplierId', true);
|
|
77
|
+
tmp0_serialDesc.addElement_5pzumi_k$('termEndsYear', true);
|
|
77
78
|
tmp0_serialDesc.addElement_5pzumi_k$('type', false);
|
|
78
79
|
tmp0_serialDesc.addElement_5pzumi_k$('validFrom', true);
|
|
79
80
|
tmp0_serialDesc.addElement_5pzumi_k$('validTo', true);
|
|
@@ -99,12 +100,15 @@ function $serializer() {
|
|
|
99
100
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.supplierId == null)) {
|
|
100
101
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.supplierId);
|
|
101
102
|
}
|
|
102
|
-
tmp1_output.
|
|
103
|
-
|
|
104
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.validFrom);
|
|
103
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.termEndsYear == null)) {
|
|
104
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.termEndsYear);
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.type);
|
|
107
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.validFrom == null)) {
|
|
108
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, InstantSerializer_getInstance(), value.validFrom);
|
|
109
|
+
}
|
|
110
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.validTo == null)) {
|
|
111
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, InstantSerializer_getInstance(), value.validTo);
|
|
108
112
|
}
|
|
109
113
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
110
114
|
};
|
|
@@ -125,76 +129,83 @@ function $serializer() {
|
|
|
125
129
|
var tmp10_local6 = null;
|
|
126
130
|
var tmp11_local7 = null;
|
|
127
131
|
var tmp12_local8 = null;
|
|
128
|
-
var
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
var tmp13_local9 = null;
|
|
133
|
+
var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
134
|
+
var tmp15_cached = Companion_getInstance_0().$childSerializers_1;
|
|
135
|
+
if (tmp14_input.decodeSequentially_xlblqy_k$()) {
|
|
136
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
132
137
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
133
|
-
tmp5_local1 =
|
|
138
|
+
tmp5_local1 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
134
139
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
135
|
-
tmp6_local2 =
|
|
140
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
136
141
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
137
|
-
tmp7_local3 =
|
|
142
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
138
143
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
139
|
-
tmp8_local4 =
|
|
144
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
140
145
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
141
|
-
tmp9_local5 =
|
|
146
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
142
147
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
143
|
-
tmp10_local6 =
|
|
148
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
144
149
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
145
|
-
tmp11_local7 =
|
|
150
|
+
tmp11_local7 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp15_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
146
151
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
147
|
-
tmp12_local8 =
|
|
152
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, InstantSerializer_getInstance(), tmp12_local8);
|
|
148
153
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
154
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
155
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
149
156
|
} else
|
|
150
157
|
while (tmp1_flag) {
|
|
151
|
-
tmp2_index =
|
|
158
|
+
tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
152
159
|
switch (tmp2_index) {
|
|
153
160
|
case -1:
|
|
154
161
|
tmp1_flag = false;
|
|
155
162
|
break;
|
|
156
163
|
case 0:
|
|
157
|
-
tmp4_local0 =
|
|
164
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
158
165
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
159
166
|
break;
|
|
160
167
|
case 1:
|
|
161
|
-
tmp5_local1 =
|
|
168
|
+
tmp5_local1 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
|
|
162
169
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
163
170
|
break;
|
|
164
171
|
case 2:
|
|
165
|
-
tmp6_local2 =
|
|
172
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
166
173
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
167
174
|
break;
|
|
168
175
|
case 3:
|
|
169
|
-
tmp7_local3 =
|
|
176
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
170
177
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
171
178
|
break;
|
|
172
179
|
case 4:
|
|
173
|
-
tmp8_local4 =
|
|
180
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
174
181
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
175
182
|
break;
|
|
176
183
|
case 5:
|
|
177
|
-
tmp9_local5 =
|
|
184
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
178
185
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
179
186
|
break;
|
|
180
187
|
case 6:
|
|
181
|
-
tmp10_local6 =
|
|
188
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
182
189
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
183
190
|
break;
|
|
184
191
|
case 7:
|
|
185
|
-
tmp11_local7 =
|
|
192
|
+
tmp11_local7 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp15_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
186
193
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
187
194
|
break;
|
|
188
195
|
case 8:
|
|
189
|
-
tmp12_local8 =
|
|
196
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, InstantSerializer_getInstance(), tmp12_local8);
|
|
190
197
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
191
198
|
break;
|
|
199
|
+
case 9:
|
|
200
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
201
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
202
|
+
break;
|
|
192
203
|
default:
|
|
193
204
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
194
205
|
}
|
|
195
206
|
}
|
|
196
|
-
|
|
197
|
-
return Role_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
207
|
+
tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
208
|
+
return Role_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);
|
|
198
209
|
};
|
|
199
210
|
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
200
211
|
return this.descriptor_1;
|
|
@@ -204,7 +215,7 @@ function $serializer() {
|
|
|
204
215
|
// Inline function 'kotlin.arrayOf' call
|
|
205
216
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
206
217
|
// Inline function 'kotlin.js.asDynamic' call
|
|
207
|
-
return [get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[
|
|
218
|
+
return [get_nullable(LongSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[7].get_value_j01efc_k$(), get_nullable(InstantSerializer_getInstance()), get_nullable(InstantSerializer_getInstance())];
|
|
208
219
|
};
|
|
209
220
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
210
221
|
$serializerClass = $;
|
|
@@ -217,9 +228,9 @@ function $serializer_getInstance() {
|
|
|
217
228
|
new ($serializer())();
|
|
218
229
|
return $serializer_instance;
|
|
219
230
|
}
|
|
220
|
-
function Role_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker, $this) {
|
|
221
|
-
if (!(
|
|
222
|
-
throwMissingFieldException(seen0,
|
|
231
|
+
function Role_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker, $this) {
|
|
232
|
+
if (!(130 === (130 & seen0))) {
|
|
233
|
+
throwMissingFieldException(seen0, 130, $serializer_getInstance().descriptor_1);
|
|
223
234
|
}
|
|
224
235
|
if (0 === (seen0 & 1))
|
|
225
236
|
$this.companyId = null;
|
|
@@ -242,25 +253,29 @@ function Role_init_$Init$(seen0, companyId, id, organizationId, personId, sectio
|
|
|
242
253
|
$this.supplierId = null;
|
|
243
254
|
else
|
|
244
255
|
$this.supplierId = supplierId;
|
|
256
|
+
if (0 === (seen0 & 64))
|
|
257
|
+
$this.termEndsYear = null;
|
|
258
|
+
else
|
|
259
|
+
$this.termEndsYear = termEndsYear;
|
|
245
260
|
$this.type = type;
|
|
246
|
-
if (0 === (seen0 &
|
|
261
|
+
if (0 === (seen0 & 256))
|
|
247
262
|
$this.validFrom = null;
|
|
248
263
|
else
|
|
249
264
|
$this.validFrom = validFrom;
|
|
250
|
-
if (0 === (seen0 &
|
|
265
|
+
if (0 === (seen0 & 512))
|
|
251
266
|
$this.validTo = null;
|
|
252
267
|
else
|
|
253
268
|
$this.validTo = validTo;
|
|
254
269
|
return $this;
|
|
255
270
|
}
|
|
256
|
-
function Role_init_$Create$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker) {
|
|
257
|
-
return Role_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker, objectCreate(protoOf(Role())));
|
|
271
|
+
function Role_init_$Create$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker) {
|
|
272
|
+
return Role_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker, objectCreate(protoOf(Role())));
|
|
258
273
|
}
|
|
259
274
|
var RoleClass;
|
|
260
275
|
function Role() {
|
|
261
276
|
if (RoleClass === VOID) {
|
|
262
277
|
initMetadataForClass($, 'Role', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
263
|
-
function $(companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo) {
|
|
278
|
+
function $(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) {
|
|
264
279
|
var __soliboProps = arguments.length === 1 && typeof companyId === 'object' && companyId !== null && companyId.constructor === Object;
|
|
265
280
|
var __soliboTmp, __soliboConverted = false;
|
|
266
281
|
if (__soliboProps) {
|
|
@@ -271,6 +286,7 @@ function Role() {
|
|
|
271
286
|
personId = ('personId' in props ? props.personId : VOID);
|
|
272
287
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
273
288
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
289
|
+
termEndsYear = ('termEndsYear' in props ? props.termEndsYear : VOID);
|
|
274
290
|
type = ('type' in props ? props.type : VOID);
|
|
275
291
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
276
292
|
if (typeof validFrom === 'string') {
|
|
@@ -299,6 +315,7 @@ function Role() {
|
|
|
299
315
|
if ((__soliboTmp = __soliboToKt(personId, ["bigint"])) !== personId) { personId = __soliboTmp; __soliboConverted = true; }
|
|
300
316
|
if ((__soliboTmp = __soliboToKt(sectionId, ["bigint"])) !== sectionId) { sectionId = __soliboTmp; __soliboConverted = true; }
|
|
301
317
|
if ((__soliboTmp = __soliboToKt(supplierId, ["bigint"])) !== supplierId) { supplierId = __soliboTmp; __soliboConverted = true; }
|
|
318
|
+
if ((__soliboTmp = __soliboToKt(termEndsYear, ["bigint"])) !== termEndsYear) { termEndsYear = __soliboTmp; __soliboConverted = true; }
|
|
302
319
|
if ((__soliboTmp = __soliboToKt(type, ["enum","RoleType"])) !== type) { type = __soliboTmp; __soliboConverted = true; }
|
|
303
320
|
Companion_getInstance_0();
|
|
304
321
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -306,6 +323,7 @@ function Role() {
|
|
|
306
323
|
personId = personId === VOID ? null : personId;
|
|
307
324
|
sectionId = sectionId === VOID ? null : sectionId;
|
|
308
325
|
supplierId = supplierId === VOID ? null : supplierId;
|
|
326
|
+
termEndsYear = termEndsYear === VOID ? null : termEndsYear;
|
|
309
327
|
validFrom = validFrom === VOID ? null : validFrom;
|
|
310
328
|
validTo = validTo === VOID ? null : validTo;
|
|
311
329
|
this.companyId = companyId;
|
|
@@ -314,6 +332,7 @@ function Role() {
|
|
|
314
332
|
this.personId = personId;
|
|
315
333
|
this.sectionId = sectionId;
|
|
316
334
|
this.supplierId = supplierId;
|
|
335
|
+
this.termEndsYear = termEndsYear;
|
|
317
336
|
this.type = type;
|
|
318
337
|
this.validFrom = validFrom;
|
|
319
338
|
this.validTo = validTo;
|
|
@@ -337,6 +356,9 @@ function Role() {
|
|
|
337
356
|
protoOf($).get_supplierId_vw38ts_k$ = function () {
|
|
338
357
|
return this.supplierId;
|
|
339
358
|
};
|
|
359
|
+
protoOf($).get_termEndsYear_qfxwie_k$ = function () {
|
|
360
|
+
return this.termEndsYear;
|
|
361
|
+
};
|
|
340
362
|
protoOf($).get_type_wovaf7_k$ = function () {
|
|
341
363
|
return this.type;
|
|
342
364
|
};
|
|
@@ -365,31 +387,35 @@ function Role() {
|
|
|
365
387
|
return this.supplierId;
|
|
366
388
|
};
|
|
367
389
|
protoOf($).component7_7eebs6_k$ = function () {
|
|
368
|
-
return this.
|
|
390
|
+
return this.termEndsYear;
|
|
369
391
|
};
|
|
370
392
|
protoOf($).component8_7eebs5_k$ = function () {
|
|
371
|
-
return this.
|
|
393
|
+
return this.type;
|
|
372
394
|
};
|
|
373
395
|
protoOf($).component9_7eebs4_k$ = function () {
|
|
396
|
+
return this.validFrom;
|
|
397
|
+
};
|
|
398
|
+
protoOf($).component10_gazzfo_k$ = function () {
|
|
374
399
|
return this.validTo;
|
|
375
400
|
};
|
|
376
|
-
protoOf($).
|
|
377
|
-
return new (Role())(companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo);
|
|
401
|
+
protoOf($).copy_w9wxgf_k$ = function (companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) {
|
|
402
|
+
return new (Role())(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo);
|
|
378
403
|
};
|
|
379
|
-
protoOf($).copy = function (companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, $super) {
|
|
404
|
+
protoOf($).copy = function (companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, $super) {
|
|
380
405
|
companyId = companyId === VOID ? this.companyId : companyId;
|
|
381
406
|
id = id === VOID ? this.id : id;
|
|
382
407
|
organizationId = organizationId === VOID ? this.organizationId : organizationId;
|
|
383
408
|
personId = personId === VOID ? this.personId : personId;
|
|
384
409
|
sectionId = sectionId === VOID ? this.sectionId : sectionId;
|
|
385
410
|
supplierId = supplierId === VOID ? this.supplierId : supplierId;
|
|
411
|
+
termEndsYear = termEndsYear === VOID ? this.termEndsYear : termEndsYear;
|
|
386
412
|
type = type === VOID ? this.type : type;
|
|
387
413
|
validFrom = validFrom === VOID ? this.validFrom : validFrom;
|
|
388
414
|
validTo = validTo === VOID ? this.validTo : validTo;
|
|
389
|
-
return $super === VOID ? this.
|
|
415
|
+
return $super === VOID ? this.copy_w9wxgf_k$(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) : $super.copy_w9wxgf_k$.call(this, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo);
|
|
390
416
|
};
|
|
391
417
|
protoOf($).toString = function () {
|
|
392
|
-
return 'Role(companyId=' + toString(this.companyId) + ', id=' + this.id.toString() + ', organizationId=' + toString(this.organizationId) + ', personId=' + toString(this.personId) + ', sectionId=' + toString(this.sectionId) + ', supplierId=' + toString(this.supplierId) + ', type=' + this.type.toString() + ', validFrom=' + toString(this.validFrom) + ', validTo=' + toString(this.validTo) + ')';
|
|
418
|
+
return 'Role(companyId=' + toString(this.companyId) + ', id=' + this.id.toString() + ', organizationId=' + toString(this.organizationId) + ', personId=' + toString(this.personId) + ', sectionId=' + toString(this.sectionId) + ', supplierId=' + toString(this.supplierId) + ', termEndsYear=' + toString(this.termEndsYear) + ', type=' + this.type.toString() + ', validFrom=' + toString(this.validFrom) + ', validTo=' + toString(this.validTo) + ')';
|
|
393
419
|
};
|
|
394
420
|
protoOf($).hashCode = function () {
|
|
395
421
|
var result = this.companyId == null ? 0 : getBigIntHashCode(this.companyId);
|
|
@@ -398,6 +424,7 @@ function Role() {
|
|
|
398
424
|
result = imul(result, 31) + (this.personId == null ? 0 : getBigIntHashCode(this.personId)) | 0;
|
|
399
425
|
result = imul(result, 31) + (this.sectionId == null ? 0 : getBigIntHashCode(this.sectionId)) | 0;
|
|
400
426
|
result = imul(result, 31) + (this.supplierId == null ? 0 : getBigIntHashCode(this.supplierId)) | 0;
|
|
427
|
+
result = imul(result, 31) + (this.termEndsYear == null ? 0 : getBigIntHashCode(this.termEndsYear)) | 0;
|
|
401
428
|
result = imul(result, 31) + this.type.hashCode() | 0;
|
|
402
429
|
result = imul(result, 31) + (this.validFrom == null ? 0 : this.validFrom.hashCode()) | 0;
|
|
403
430
|
result = imul(result, 31) + (this.validTo == null ? 0 : this.validTo.hashCode()) | 0;
|
|
@@ -420,6 +447,8 @@ function Role() {
|
|
|
420
447
|
return false;
|
|
421
448
|
if (!(this.supplierId == other.supplierId))
|
|
422
449
|
return false;
|
|
450
|
+
if (!(this.termEndsYear == other.termEndsYear))
|
|
451
|
+
return false;
|
|
423
452
|
if (!this.type.equals(other.type))
|
|
424
453
|
return false;
|
|
425
454
|
if (!equals(this.validFrom, other.validFrom))
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
2
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
3
|
export declare class RoleInput {
|
|
4
|
-
constructor(companyId: Nullable<bigint> | undefined, id: Nullable<bigint> | undefined, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, sectionId: Nullable<bigint> | undefined, supplierId: Nullable<bigint> | undefined, type: RoleType, validFrom?: Nullable<any>/* Nullable<Instant> */, validTo?: Nullable<any>/* Nullable<Instant> */);
|
|
4
|
+
constructor(companyId: Nullable<bigint> | undefined, id: Nullable<bigint> | undefined, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, sectionId: Nullable<bigint> | undefined, supplierId: Nullable<bigint> | undefined, termEndsYear: Nullable<bigint> | undefined, type: RoleType, validFrom?: Nullable<any>/* Nullable<Instant> */, validTo?: Nullable<any>/* Nullable<Instant> */);
|
|
5
5
|
get companyId(): Nullable<bigint>;
|
|
6
6
|
get id(): Nullable<bigint>;
|
|
7
7
|
get organizationId(): Nullable<bigint>;
|
|
8
8
|
get personId(): Nullable<bigint>;
|
|
9
9
|
get sectionId(): Nullable<bigint>;
|
|
10
10
|
get supplierId(): Nullable<bigint>;
|
|
11
|
+
get termEndsYear(): Nullable<bigint>;
|
|
11
12
|
get type(): RoleType;
|
|
12
13
|
get validFrom(): Nullable<any>/* Nullable<Instant> */;
|
|
13
14
|
get validTo(): Nullable<any>/* Nullable<Instant> */;
|
|
14
|
-
copy(companyId?: Nullable<bigint>, id?: Nullable<bigint>, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, sectionId?: Nullable<bigint>, supplierId?: Nullable<bigint>, type?: RoleType, validFrom?: Nullable<any>/* Nullable<Instant> */, validTo?: Nullable<any>/* Nullable<Instant> */): RoleInput;
|
|
15
|
+
copy(companyId?: Nullable<bigint>, id?: Nullable<bigint>, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, sectionId?: Nullable<bigint>, supplierId?: Nullable<bigint>, termEndsYear?: Nullable<bigint>, type?: RoleType, validFrom?: Nullable<any>/* Nullable<Instant> */, validTo?: Nullable<any>/* Nullable<Instant> */): RoleInput;
|
|
15
16
|
toString(): string;
|
|
16
17
|
hashCode(): number;
|
|
17
18
|
equals(other: Nullable<any>): boolean;
|