@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, RoleInput$Companion$$childSerializers$_anonymous__vsnzau), null, null];
|
|
52
|
+
tmp.$childSerializers_1 = [null, null, null, null, null, null, null, lazy(tmp_0, RoleInput$Companion$$childSerializers$_anonymous__vsnzau), 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.RoleInput', this,
|
|
70
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.RoleInput', this, 10);
|
|
71
71
|
tmp0_serialDesc.addElement_5pzumi_k$('companyId', true);
|
|
72
72
|
tmp0_serialDesc.addElement_5pzumi_k$('id', true);
|
|
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);
|
|
@@ -101,12 +102,15 @@ function $serializer() {
|
|
|
101
102
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.supplierId == null)) {
|
|
102
103
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, LongSerializer_getInstance(), value.supplierId);
|
|
103
104
|
}
|
|
104
|
-
tmp1_output.
|
|
105
|
-
|
|
106
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.validFrom);
|
|
105
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.termEndsYear == null)) {
|
|
106
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, LongSerializer_getInstance(), value.termEndsYear);
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.type);
|
|
109
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.validFrom == null)) {
|
|
110
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, InstantSerializer_getInstance(), value.validFrom);
|
|
111
|
+
}
|
|
112
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.validTo == null)) {
|
|
113
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, InstantSerializer_getInstance(), value.validTo);
|
|
110
114
|
}
|
|
111
115
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
112
116
|
};
|
|
@@ -127,76 +131,83 @@ function $serializer() {
|
|
|
127
131
|
var tmp10_local6 = null;
|
|
128
132
|
var tmp11_local7 = null;
|
|
129
133
|
var tmp12_local8 = null;
|
|
130
|
-
var
|
|
131
|
-
var
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
var tmp13_local9 = null;
|
|
135
|
+
var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
136
|
+
var tmp15_cached = Companion_getInstance_0().$childSerializers_1;
|
|
137
|
+
if (tmp14_input.decodeSequentially_xlblqy_k$()) {
|
|
138
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
134
139
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
135
|
-
tmp5_local1 =
|
|
140
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, LongSerializer_getInstance(), tmp5_local1);
|
|
136
141
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
137
|
-
tmp6_local2 =
|
|
142
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
138
143
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
139
|
-
tmp7_local3 =
|
|
144
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
140
145
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
141
|
-
tmp8_local4 =
|
|
146
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
142
147
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
143
|
-
tmp9_local5 =
|
|
148
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
144
149
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
145
|
-
tmp10_local6 =
|
|
150
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
146
151
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
147
|
-
tmp11_local7 =
|
|
152
|
+
tmp11_local7 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp15_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
148
153
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
149
|
-
tmp12_local8 =
|
|
154
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, InstantSerializer_getInstance(), tmp12_local8);
|
|
150
155
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
156
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
157
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
151
158
|
} else
|
|
152
159
|
while (tmp1_flag) {
|
|
153
|
-
tmp2_index =
|
|
160
|
+
tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
154
161
|
switch (tmp2_index) {
|
|
155
162
|
case -1:
|
|
156
163
|
tmp1_flag = false;
|
|
157
164
|
break;
|
|
158
165
|
case 0:
|
|
159
|
-
tmp4_local0 =
|
|
166
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
160
167
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
161
168
|
break;
|
|
162
169
|
case 1:
|
|
163
|
-
tmp5_local1 =
|
|
170
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, LongSerializer_getInstance(), tmp5_local1);
|
|
164
171
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
165
172
|
break;
|
|
166
173
|
case 2:
|
|
167
|
-
tmp6_local2 =
|
|
174
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, LongSerializer_getInstance(), tmp6_local2);
|
|
168
175
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
169
176
|
break;
|
|
170
177
|
case 3:
|
|
171
|
-
tmp7_local3 =
|
|
178
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
|
|
172
179
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
173
180
|
break;
|
|
174
181
|
case 4:
|
|
175
|
-
tmp8_local4 =
|
|
182
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
|
|
176
183
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
177
184
|
break;
|
|
178
185
|
case 5:
|
|
179
|
-
tmp9_local5 =
|
|
186
|
+
tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, LongSerializer_getInstance(), tmp9_local5);
|
|
180
187
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
181
188
|
break;
|
|
182
189
|
case 6:
|
|
183
|
-
tmp10_local6 =
|
|
190
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, LongSerializer_getInstance(), tmp10_local6);
|
|
184
191
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
185
192
|
break;
|
|
186
193
|
case 7:
|
|
187
|
-
tmp11_local7 =
|
|
194
|
+
tmp11_local7 = tmp14_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp15_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
188
195
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
189
196
|
break;
|
|
190
197
|
case 8:
|
|
191
|
-
tmp12_local8 =
|
|
198
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, InstantSerializer_getInstance(), tmp12_local8);
|
|
192
199
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
193
200
|
break;
|
|
201
|
+
case 9:
|
|
202
|
+
tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
203
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
204
|
+
break;
|
|
194
205
|
default:
|
|
195
206
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
196
207
|
}
|
|
197
208
|
}
|
|
198
|
-
|
|
199
|
-
return RoleInput_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
209
|
+
tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
210
|
+
return RoleInput_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);
|
|
200
211
|
};
|
|
201
212
|
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
202
213
|
return this.descriptor_1;
|
|
@@ -206,7 +217,7 @@ function $serializer() {
|
|
|
206
217
|
// Inline function 'kotlin.arrayOf' call
|
|
207
218
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
208
219
|
// Inline function 'kotlin.js.asDynamic' call
|
|
209
|
-
return [get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), tmp0_cached[
|
|
220
|
+
return [get_nullable(LongSerializer_getInstance()), get_nullable(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())];
|
|
210
221
|
};
|
|
211
222
|
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
212
223
|
$serializerClass = $;
|
|
@@ -219,9 +230,9 @@ function $serializer_getInstance() {
|
|
|
219
230
|
new ($serializer())();
|
|
220
231
|
return $serializer_instance;
|
|
221
232
|
}
|
|
222
|
-
function RoleInput_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker, $this) {
|
|
223
|
-
if (!(
|
|
224
|
-
throwMissingFieldException(seen0,
|
|
233
|
+
function RoleInput_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker, $this) {
|
|
234
|
+
if (!(128 === (128 & seen0))) {
|
|
235
|
+
throwMissingFieldException(seen0, 128, $serializer_getInstance().descriptor_1);
|
|
225
236
|
}
|
|
226
237
|
if (0 === (seen0 & 1))
|
|
227
238
|
$this.companyId = null;
|
|
@@ -247,25 +258,29 @@ function RoleInput_init_$Init$(seen0, companyId, id, organizationId, personId, s
|
|
|
247
258
|
$this.supplierId = null;
|
|
248
259
|
else
|
|
249
260
|
$this.supplierId = supplierId;
|
|
261
|
+
if (0 === (seen0 & 64))
|
|
262
|
+
$this.termEndsYear = null;
|
|
263
|
+
else
|
|
264
|
+
$this.termEndsYear = termEndsYear;
|
|
250
265
|
$this.type = type;
|
|
251
|
-
if (0 === (seen0 &
|
|
266
|
+
if (0 === (seen0 & 256))
|
|
252
267
|
$this.validFrom = null;
|
|
253
268
|
else
|
|
254
269
|
$this.validFrom = validFrom;
|
|
255
|
-
if (0 === (seen0 &
|
|
270
|
+
if (0 === (seen0 & 512))
|
|
256
271
|
$this.validTo = null;
|
|
257
272
|
else
|
|
258
273
|
$this.validTo = validTo;
|
|
259
274
|
return $this;
|
|
260
275
|
}
|
|
261
|
-
function RoleInput_init_$Create$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker) {
|
|
262
|
-
return RoleInput_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, serializationConstructorMarker, objectCreate(protoOf(RoleInput())));
|
|
276
|
+
function RoleInput_init_$Create$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker) {
|
|
277
|
+
return RoleInput_init_$Init$(seen0, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, serializationConstructorMarker, objectCreate(protoOf(RoleInput())));
|
|
263
278
|
}
|
|
264
279
|
var RoleInputClass;
|
|
265
280
|
function RoleInput() {
|
|
266
281
|
if (RoleInputClass === VOID) {
|
|
267
282
|
initMetadataForClass($, 'RoleInput', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
268
|
-
function $(companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo) {
|
|
283
|
+
function $(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) {
|
|
269
284
|
var __soliboProps = arguments.length === 1 && typeof companyId === 'object' && companyId !== null && companyId.constructor === Object;
|
|
270
285
|
var __soliboTmp, __soliboConverted = false;
|
|
271
286
|
if (__soliboProps) {
|
|
@@ -276,6 +291,7 @@ function RoleInput() {
|
|
|
276
291
|
personId = ('personId' in props ? props.personId : VOID);
|
|
277
292
|
sectionId = ('sectionId' in props ? props.sectionId : VOID);
|
|
278
293
|
supplierId = ('supplierId' in props ? props.supplierId : VOID);
|
|
294
|
+
termEndsYear = ('termEndsYear' in props ? props.termEndsYear : VOID);
|
|
279
295
|
type = ('type' in props ? props.type : VOID);
|
|
280
296
|
validFrom = ('validFrom' in props ? props.validFrom : VOID);
|
|
281
297
|
if (typeof validFrom === 'string') {
|
|
@@ -304,6 +320,7 @@ function RoleInput() {
|
|
|
304
320
|
if ((__soliboTmp = __soliboToKt(personId, ["bigint"])) !== personId) { personId = __soliboTmp; __soliboConverted = true; }
|
|
305
321
|
if ((__soliboTmp = __soliboToKt(sectionId, ["bigint"])) !== sectionId) { sectionId = __soliboTmp; __soliboConverted = true; }
|
|
306
322
|
if ((__soliboTmp = __soliboToKt(supplierId, ["bigint"])) !== supplierId) { supplierId = __soliboTmp; __soliboConverted = true; }
|
|
323
|
+
if ((__soliboTmp = __soliboToKt(termEndsYear, ["bigint"])) !== termEndsYear) { termEndsYear = __soliboTmp; __soliboConverted = true; }
|
|
307
324
|
if ((__soliboTmp = __soliboToKt(type, ["enum","RoleType"])) !== type) { type = __soliboTmp; __soliboConverted = true; }
|
|
308
325
|
Companion_getInstance_0();
|
|
309
326
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -312,6 +329,7 @@ function RoleInput() {
|
|
|
312
329
|
personId = personId === VOID ? null : personId;
|
|
313
330
|
sectionId = sectionId === VOID ? null : sectionId;
|
|
314
331
|
supplierId = supplierId === VOID ? null : supplierId;
|
|
332
|
+
termEndsYear = termEndsYear === VOID ? null : termEndsYear;
|
|
315
333
|
validFrom = validFrom === VOID ? null : validFrom;
|
|
316
334
|
validTo = validTo === VOID ? null : validTo;
|
|
317
335
|
this.companyId = companyId;
|
|
@@ -320,6 +338,7 @@ function RoleInput() {
|
|
|
320
338
|
this.personId = personId;
|
|
321
339
|
this.sectionId = sectionId;
|
|
322
340
|
this.supplierId = supplierId;
|
|
341
|
+
this.termEndsYear = termEndsYear;
|
|
323
342
|
this.type = type;
|
|
324
343
|
this.validFrom = validFrom;
|
|
325
344
|
this.validTo = validTo;
|
|
@@ -343,6 +362,9 @@ function RoleInput() {
|
|
|
343
362
|
protoOf($).get_supplierId_vw38ts_k$ = function () {
|
|
344
363
|
return this.supplierId;
|
|
345
364
|
};
|
|
365
|
+
protoOf($).get_termEndsYear_qfxwie_k$ = function () {
|
|
366
|
+
return this.termEndsYear;
|
|
367
|
+
};
|
|
346
368
|
protoOf($).get_type_wovaf7_k$ = function () {
|
|
347
369
|
return this.type;
|
|
348
370
|
};
|
|
@@ -371,31 +393,35 @@ function RoleInput() {
|
|
|
371
393
|
return this.supplierId;
|
|
372
394
|
};
|
|
373
395
|
protoOf($).component7_7eebs6_k$ = function () {
|
|
374
|
-
return this.
|
|
396
|
+
return this.termEndsYear;
|
|
375
397
|
};
|
|
376
398
|
protoOf($).component8_7eebs5_k$ = function () {
|
|
377
|
-
return this.
|
|
399
|
+
return this.type;
|
|
378
400
|
};
|
|
379
401
|
protoOf($).component9_7eebs4_k$ = function () {
|
|
402
|
+
return this.validFrom;
|
|
403
|
+
};
|
|
404
|
+
protoOf($).component10_gazzfo_k$ = function () {
|
|
380
405
|
return this.validTo;
|
|
381
406
|
};
|
|
382
|
-
protoOf($).
|
|
383
|
-
return new (RoleInput())(companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo);
|
|
407
|
+
protoOf($).copy_7tx9mw_k$ = function (companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) {
|
|
408
|
+
return new (RoleInput())(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo);
|
|
384
409
|
};
|
|
385
|
-
protoOf($).copy = function (companyId, id, organizationId, personId, sectionId, supplierId, type, validFrom, validTo, $super) {
|
|
410
|
+
protoOf($).copy = function (companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo, $super) {
|
|
386
411
|
companyId = companyId === VOID ? this.companyId : companyId;
|
|
387
412
|
id = id === VOID ? this.id : id;
|
|
388
413
|
organizationId = organizationId === VOID ? this.organizationId : organizationId;
|
|
389
414
|
personId = personId === VOID ? this.personId : personId;
|
|
390
415
|
sectionId = sectionId === VOID ? this.sectionId : sectionId;
|
|
391
416
|
supplierId = supplierId === VOID ? this.supplierId : supplierId;
|
|
417
|
+
termEndsYear = termEndsYear === VOID ? this.termEndsYear : termEndsYear;
|
|
392
418
|
type = type === VOID ? this.type : type;
|
|
393
419
|
validFrom = validFrom === VOID ? this.validFrom : validFrom;
|
|
394
420
|
validTo = validTo === VOID ? this.validTo : validTo;
|
|
395
|
-
return $super === VOID ? this.
|
|
421
|
+
return $super === VOID ? this.copy_7tx9mw_k$(companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo) : $super.copy_7tx9mw_k$.call(this, companyId, id, organizationId, personId, sectionId, supplierId, termEndsYear, type, validFrom, validTo);
|
|
396
422
|
};
|
|
397
423
|
protoOf($).toString = function () {
|
|
398
|
-
return 'RoleInput(companyId=' + toString(this.companyId) + ', id=' + toString(this.id) + ', 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) + ')';
|
|
424
|
+
return 'RoleInput(companyId=' + toString(this.companyId) + ', id=' + toString(this.id) + ', 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) + ')';
|
|
399
425
|
};
|
|
400
426
|
protoOf($).hashCode = function () {
|
|
401
427
|
var result = this.companyId == null ? 0 : getBigIntHashCode(this.companyId);
|
|
@@ -404,6 +430,7 @@ function RoleInput() {
|
|
|
404
430
|
result = imul(result, 31) + (this.personId == null ? 0 : getBigIntHashCode(this.personId)) | 0;
|
|
405
431
|
result = imul(result, 31) + (this.sectionId == null ? 0 : getBigIntHashCode(this.sectionId)) | 0;
|
|
406
432
|
result = imul(result, 31) + (this.supplierId == null ? 0 : getBigIntHashCode(this.supplierId)) | 0;
|
|
433
|
+
result = imul(result, 31) + (this.termEndsYear == null ? 0 : getBigIntHashCode(this.termEndsYear)) | 0;
|
|
407
434
|
result = imul(result, 31) + this.type.hashCode() | 0;
|
|
408
435
|
result = imul(result, 31) + (this.validFrom == null ? 0 : this.validFrom.hashCode()) | 0;
|
|
409
436
|
result = imul(result, 31) + (this.validTo == null ? 0 : this.validTo.hashCode()) | 0;
|
|
@@ -426,6 +453,8 @@ function RoleInput() {
|
|
|
426
453
|
return false;
|
|
427
454
|
if (!(this.supplierId == other.supplierId))
|
|
428
455
|
return false;
|
|
456
|
+
if (!(this.termEndsYear == other.termEndsYear))
|
|
457
|
+
return false;
|
|
429
458
|
if (!this.type.equals(other.type))
|
|
430
459
|
return false;
|
|
431
460
|
if (!equals(this.validFrom, other.validFrom))
|
|
@@ -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.
|
|
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.6');
|
|
32
32
|
};
|
|
33
33
|
SoliboOpenTelemetryClass = $;
|
|
34
34
|
}
|
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -603,6 +603,7 @@ export declare class BoardApi extends ApiClient.$metadata$.constructor {
|
|
|
603
603
|
deletePersonBoard(companyId: bigint, personId: bigint): Promise<HttpResponse<void>>;
|
|
604
604
|
indexBoard(companyId: bigint, search?: string | null | undefined, roleType?: RoleType[] | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPerson>>;
|
|
605
605
|
indexBoardMembersUser(companyIds?: bigint[] | null | undefined, search?: string | null | undefined, roleType?: RoleType[] | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPerson>>;
|
|
606
|
+
setBoardMemberTerm(companyId: bigint, personId: bigint, setBoardTermCommand: SetBoardTermCommand): Promise<HttpResponse<Role>>;
|
|
606
607
|
showBoardMemberPersonnummer(companyId: bigint, personId: bigint, fields?: string | null | undefined): Promise<HttpResponse<BoardmemberPersonnummer>>;
|
|
607
608
|
}
|
|
608
609
|
export declare namespace BoardApi {
|
|
@@ -615,6 +616,7 @@ export declare function createPersonBoardOperation(client: ApiClient, companyId:
|
|
|
615
616
|
export declare function deletePersonBoardOperation(client: ApiClient, companyId: bigint, personId: bigint): Promise<HttpResponse<void>>;
|
|
616
617
|
export declare function indexBoardMembersUserOperation(client: ApiClient, companyIds?: bigint[] | null | undefined, search?: string | null | undefined, roleType?: RoleType[] | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPerson>>;
|
|
617
618
|
export declare function indexBoardOperation(client: ApiClient, companyId: bigint, search?: string | null | undefined, roleType?: RoleType[] | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPerson>>;
|
|
619
|
+
export declare function setBoardMemberTermOperation(client: ApiClient, companyId: bigint, personId: bigint, setBoardTermCommand: SetBoardTermCommand): Promise<HttpResponse<Role>>;
|
|
618
620
|
export declare function showBoardMemberPersonnummerOperation(client: ApiClient, companyId: bigint, personId: bigint, fields?: string | null | undefined): Promise<HttpResponse<BoardmemberPersonnummer>>;
|
|
619
621
|
export interface AddBoardmemberCommandProps {
|
|
620
622
|
email: string;
|
|
@@ -650,6 +652,22 @@ export declare namespace BoardmemberPersonnummer {
|
|
|
650
652
|
const constructor: abstract new () => BoardmemberPersonnummer;
|
|
651
653
|
}
|
|
652
654
|
}
|
|
655
|
+
export interface SetBoardTermCommandProps {
|
|
656
|
+
roleId: bigint;
|
|
657
|
+
termEndsYear?: bigint | null | undefined;
|
|
658
|
+
}
|
|
659
|
+
export declare class SetBoardTermCommand {
|
|
660
|
+
constructor(props: SetBoardTermCommandProps);
|
|
661
|
+
constructor(roleId: bigint, termEndsYear?: bigint | null | undefined);
|
|
662
|
+
get roleId(): bigint;
|
|
663
|
+
get termEndsYear(): bigint | null | undefined;
|
|
664
|
+
}
|
|
665
|
+
export declare namespace SetBoardTermCommand {
|
|
666
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
667
|
+
namespace $metadata$ {
|
|
668
|
+
const constructor: abstract new () => SetBoardTermCommand;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
653
671
|
export declare function communicationApi(api: HomeApiBase): CommunicationApi;
|
|
654
672
|
export declare class CommunicationApi extends ApiClient.$metadata$.constructor {
|
|
655
673
|
private constructor();
|
|
@@ -33760,15 +33778,17 @@ export interface PersonRoleInputProps {
|
|
|
33760
33778
|
residenceNr?: bigint | null | undefined;
|
|
33761
33779
|
role: RoleType;
|
|
33762
33780
|
sectionId?: bigint | null | undefined;
|
|
33781
|
+
termEndsYear?: bigint | null | undefined;
|
|
33763
33782
|
validFrom?: SoliboInstant /* Instant */ | null | undefined;
|
|
33764
33783
|
validTo?: SoliboInstant /* Instant */ | null | undefined;
|
|
33765
33784
|
}
|
|
33766
33785
|
export declare class PersonRoleInput {
|
|
33767
33786
|
constructor(props: PersonRoleInputProps);
|
|
33768
|
-
constructor(residenceNr: bigint | null | undefined, role: RoleType, sectionId?: bigint | null | undefined, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
33787
|
+
constructor(residenceNr: bigint | null | undefined, role: RoleType, sectionId?: bigint | null | undefined, termEndsYear?: bigint | null | undefined, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
33769
33788
|
get residenceNr(): bigint | null | undefined;
|
|
33770
33789
|
get role(): RoleType;
|
|
33771
33790
|
get sectionId(): bigint | null | undefined;
|
|
33791
|
+
get termEndsYear(): bigint | null | undefined;
|
|
33772
33792
|
get validFrom(): SoliboInstant /* Instant */ | null | undefined;
|
|
33773
33793
|
get validTo(): SoliboInstant /* Instant */ | null | undefined;
|
|
33774
33794
|
}
|
|
@@ -34268,19 +34288,21 @@ export interface RoleProps {
|
|
|
34268
34288
|
personId?: bigint | null | undefined;
|
|
34269
34289
|
sectionId?: bigint | null | undefined;
|
|
34270
34290
|
supplierId?: bigint | null | undefined;
|
|
34291
|
+
termEndsYear?: bigint | null | undefined;
|
|
34271
34292
|
type: RoleType;
|
|
34272
34293
|
validFrom?: SoliboInstant /* Instant */ | null | undefined;
|
|
34273
34294
|
validTo?: SoliboInstant /* Instant */ | null | undefined;
|
|
34274
34295
|
}
|
|
34275
34296
|
export declare class Role {
|
|
34276
34297
|
constructor(props: RoleProps);
|
|
34277
|
-
constructor(companyId: bigint | null | undefined, id: bigint, organizationId: bigint | null | undefined, personId: bigint | null | undefined, sectionId: bigint | null | undefined, supplierId: bigint | null | undefined, type: RoleType, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
34298
|
+
constructor(companyId: bigint | null | undefined, id: bigint, organizationId: bigint | null | undefined, personId: bigint | null | undefined, sectionId: bigint | null | undefined, supplierId: bigint | null | undefined, termEndsYear: bigint | null | undefined, type: RoleType, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
34278
34299
|
get companyId(): bigint | null | undefined;
|
|
34279
34300
|
get id(): bigint;
|
|
34280
34301
|
get organizationId(): bigint | null | undefined;
|
|
34281
34302
|
get personId(): bigint | null | undefined;
|
|
34282
34303
|
get sectionId(): bigint | null | undefined;
|
|
34283
34304
|
get supplierId(): bigint | null | undefined;
|
|
34305
|
+
get termEndsYear(): bigint | null | undefined;
|
|
34284
34306
|
get type(): RoleType;
|
|
34285
34307
|
get validFrom(): SoliboInstant /* Instant */ | null | undefined;
|
|
34286
34308
|
get validTo(): SoliboInstant /* Instant */ | null | undefined;
|
|
@@ -34298,19 +34320,21 @@ export interface RoleInputProps {
|
|
|
34298
34320
|
personId?: bigint | null | undefined;
|
|
34299
34321
|
sectionId?: bigint | null | undefined;
|
|
34300
34322
|
supplierId?: bigint | null | undefined;
|
|
34323
|
+
termEndsYear?: bigint | null | undefined;
|
|
34301
34324
|
type: RoleType;
|
|
34302
34325
|
validFrom?: SoliboInstant /* Instant */ | null | undefined;
|
|
34303
34326
|
validTo?: SoliboInstant /* Instant */ | null | undefined;
|
|
34304
34327
|
}
|
|
34305
34328
|
export declare class RoleInput {
|
|
34306
34329
|
constructor(props: RoleInputProps);
|
|
34307
|
-
constructor(companyId: bigint | null | undefined, id: bigint | null | undefined, organizationId: bigint | null | undefined, personId: bigint | null | undefined, sectionId: bigint | null | undefined, supplierId: bigint | null | undefined, type: RoleType, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
34330
|
+
constructor(companyId: bigint | null | undefined, id: bigint | null | undefined, organizationId: bigint | null | undefined, personId: bigint | null | undefined, sectionId: bigint | null | undefined, supplierId: bigint | null | undefined, termEndsYear: bigint | null | undefined, type: RoleType, validFrom?: SoliboInstant /* Instant */ | null | undefined, validTo?: SoliboInstant /* Instant */ | null | undefined);
|
|
34308
34331
|
get companyId(): bigint | null | undefined;
|
|
34309
34332
|
get id(): bigint | null | undefined;
|
|
34310
34333
|
get organizationId(): bigint | null | undefined;
|
|
34311
34334
|
get personId(): bigint | null | undefined;
|
|
34312
34335
|
get sectionId(): bigint | null | undefined;
|
|
34313
34336
|
get supplierId(): bigint | null | undefined;
|
|
34337
|
+
get termEndsYear(): bigint | null | undefined;
|
|
34314
34338
|
get type(): RoleType;
|
|
34315
34339
|
get validFrom(): SoliboInstant /* Instant */ | null | undefined;
|
|
34316
34340
|
get validTo(): SoliboInstant /* Instant */ | null | undefined;
|