@solibo/solibo-sdk 1.40.1 → 1.41.0
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/client/expense.d.mts +1 -1
- package/client/expense.mjs +14 -0
- package/client/homepage.mjs +38 -0
- package/client-core.mjs +9 -0
- package/client.d.mts +12 -0
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +12 -12
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-api-conversation.mjs +246 -134
- package/solibo-sdk-sdk-api-conversation.mjs.map +1 -1
- package/solibo-sdk-sdk-api-expense.mjs +466 -153
- package/solibo-sdk-sdk-api-expense.mjs.map +1 -1
- package/solibo-sdk-sdk-api-homepage.mjs +171 -0
- package/solibo-sdk-sdk-api-homepage.mjs.map +1 -1
- package/solibo-sdk-sdk-core.mjs +3 -3
- package/solibo-sdk-sdk.d.mts +32 -4
- package/solibo-sdk-sdk.mjs +6 -6
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -330,7 +330,7 @@ function addFormatStructureForDate(structure) {
|
|
|
330
330
|
function addFormatStructureForTime(structure) {
|
|
331
331
|
this.addFormatStructureForDateTime_noiy5b_k$(structure);
|
|
332
332
|
}
|
|
333
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
333
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
334
334
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
335
335
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
336
336
|
function set_fractionOfSecond(value) {
|
package/client/expense.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
|
|
2
2
|
export type { ExpenseApiFacade } from '../client.mjs';
|
|
3
|
-
export { CreateExpenseCommand, Expense, ExpenseApi, ExpenseCount, ExpenseProcessing, ExpenseProcessingResult, ExpenseStatus, ExpenseType, PagedListExpense, PagedListExpenseType, RejectExpenseCommand, expenseApi } from '../solibo-sdk-sdk.mjs';
|
|
3
|
+
export { CreateExpenseCommand, Expense, ExpenseApi, ExpenseCount, ExpenseProcessing, ExpenseProcessingResult, ExpenseReminder, ExpenseStatus, ExpenseType, PagedListExpense, PagedListExpenseType, RejectExpenseCommand, expenseApi } from '../solibo-sdk-sdk.mjs';
|
package/client/expense.mjs
CHANGED
|
@@ -215,6 +215,20 @@ const DESCRIPTORS = {
|
|
|
215
215
|
"bodyType": "RejectExpenseCommand",
|
|
216
216
|
"voidResult": true
|
|
217
217
|
},
|
|
218
|
+
"remindExpense": {
|
|
219
|
+
"args": [
|
|
220
|
+
{
|
|
221
|
+
"name": "companyId",
|
|
222
|
+
"type": "bigint"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "expenseId",
|
|
226
|
+
"type": "bigint"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"body": null,
|
|
230
|
+
"bodyType": null
|
|
231
|
+
},
|
|
218
232
|
"showExpense": {
|
|
219
233
|
"args": [
|
|
220
234
|
{
|
package/client/homepage.mjs
CHANGED
|
@@ -225,6 +225,44 @@ const DESCRIPTORS = {
|
|
|
225
225
|
"weighting"
|
|
226
226
|
]
|
|
227
227
|
},
|
|
228
|
+
"getHomepagePracticalInformation": {
|
|
229
|
+
"args": [
|
|
230
|
+
{
|
|
231
|
+
"name": "companyId",
|
|
232
|
+
"type": "bigint"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "practicalInformationId",
|
|
236
|
+
"type": "bigint"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "purchaseBundleId",
|
|
240
|
+
"type": "bigint | null | undefined"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "publishChanges",
|
|
244
|
+
"type": "boolean | null | undefined"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "fields",
|
|
248
|
+
"type": "string | null | undefined"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"body": null,
|
|
252
|
+
"bodyType": null,
|
|
253
|
+
"requiredProjectionFields": [
|
|
254
|
+
"companyId",
|
|
255
|
+
"content",
|
|
256
|
+
"createdAt",
|
|
257
|
+
"id",
|
|
258
|
+
"pinned",
|
|
259
|
+
"postType",
|
|
260
|
+
"private",
|
|
261
|
+
"title",
|
|
262
|
+
"updatedAt",
|
|
263
|
+
"weighting"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
228
266
|
"homepageRssByDomain": {
|
|
229
267
|
"args": [
|
|
230
268
|
{
|
package/client-core.mjs
CHANGED
|
@@ -2429,6 +2429,7 @@ const PROPS = {
|
|
|
2429
2429
|
"incomingEmailCategory": "boolean | null | undefined",
|
|
2430
2430
|
"name": "string",
|
|
2431
2431
|
"responsible": "bigint",
|
|
2432
|
+
"staffManaged": "boolean | null | undefined",
|
|
2432
2433
|
"template": "string | null | undefined"
|
|
2433
2434
|
},
|
|
2434
2435
|
"CreateConversationCommandProps": {
|
|
@@ -2579,12 +2580,14 @@ const PROPS = {
|
|
|
2579
2580
|
"coResponsiblePersons": "PersonProps[] | null | undefined",
|
|
2580
2581
|
"color": "CategoryColor | null | undefined",
|
|
2581
2582
|
"contactCategory": "boolean",
|
|
2583
|
+
"editable": "boolean | null | undefined",
|
|
2582
2584
|
"id": "bigint",
|
|
2583
2585
|
"inUse": "boolean",
|
|
2584
2586
|
"incomingEmailCategory": "boolean",
|
|
2585
2587
|
"name": "string",
|
|
2586
2588
|
"responsible": "bigint",
|
|
2587
2589
|
"responsiblePerson": "PersonProps | null | undefined",
|
|
2590
|
+
"staffManaged": "boolean | null | undefined",
|
|
2588
2591
|
"template": "string | null | undefined"
|
|
2589
2592
|
},
|
|
2590
2593
|
"UpdateConversationCategoryCommandProps": {
|
|
@@ -2594,6 +2597,7 @@ const PROPS = {
|
|
|
2594
2597
|
"description": "string | null | undefined",
|
|
2595
2598
|
"name": "string",
|
|
2596
2599
|
"responsible": "bigint | null | undefined",
|
|
2600
|
+
"staffManaged": "boolean | null | undefined",
|
|
2597
2601
|
"template": "string | null | undefined"
|
|
2598
2602
|
},
|
|
2599
2603
|
"UpdateConversationCommandProps": {
|
|
@@ -2872,6 +2876,7 @@ const PROPS = {
|
|
|
2872
2876
|
"expenseType": "string",
|
|
2873
2877
|
"id": "bigint",
|
|
2874
2878
|
"payableTo": "PersonProps | null | undefined",
|
|
2879
|
+
"processingHistory": "ExpenseProcessingProps[] | null | undefined",
|
|
2875
2880
|
"status": "ExpenseStatus"
|
|
2876
2881
|
},
|
|
2877
2882
|
"ExpenseCountProps": {
|
|
@@ -2886,6 +2891,10 @@ const PROPS = {
|
|
|
2886
2891
|
"rejectionReason": "string | null | undefined",
|
|
2887
2892
|
"result": "ExpenseProcessingResult"
|
|
2888
2893
|
},
|
|
2894
|
+
"ExpenseReminderProps": {
|
|
2895
|
+
"remindedCount": "bigint",
|
|
2896
|
+
"unreachableCount": "bigint"
|
|
2897
|
+
},
|
|
2889
2898
|
"ExpenseTypeProps": {
|
|
2890
2899
|
"description": "string | null | undefined",
|
|
2891
2900
|
"id": "bigint",
|
package/client.d.mts
CHANGED
|
@@ -316,6 +316,7 @@ import type {
|
|
|
316
316
|
Expense,
|
|
317
317
|
ExpenseCount,
|
|
318
318
|
ExpenseProcessingResult,
|
|
319
|
+
ExpenseReminder,
|
|
319
320
|
ExpenseStatus,
|
|
320
321
|
ExpiredType,
|
|
321
322
|
ExportResidentsCommand,
|
|
@@ -2501,6 +2502,13 @@ export interface HomepageApiFacade {
|
|
|
2501
2502
|
publishChanges?: boolean | null | undefined;
|
|
2502
2503
|
fields?: F;
|
|
2503
2504
|
}): Promise<ProjectionResult<F, Post>>;
|
|
2505
|
+
getHomepagePracticalInformation<F extends string | null | undefined = undefined>(params: {
|
|
2506
|
+
companyId: Id;
|
|
2507
|
+
practicalInformationId: Id;
|
|
2508
|
+
purchaseBundleId?: Id | null | undefined;
|
|
2509
|
+
publishChanges?: boolean | null | undefined;
|
|
2510
|
+
fields?: F;
|
|
2511
|
+
}): Promise<ProjectionResult<F, Post>>;
|
|
2504
2512
|
homepageRssByDomain(params: {
|
|
2505
2513
|
domainName: string;
|
|
2506
2514
|
}): Promise<SdkResult<string>>;
|
|
@@ -5127,6 +5135,10 @@ export interface ExpenseApiFacade {
|
|
|
5127
5135
|
expenseId: Id;
|
|
5128
5136
|
input: RejectExpenseCommand | SdkInput<RejectExpenseCommandProps>;
|
|
5129
5137
|
}): Promise<SdkResult<void>>;
|
|
5138
|
+
remindExpense(params: {
|
|
5139
|
+
companyId: Id;
|
|
5140
|
+
expenseId: Id;
|
|
5141
|
+
}): Promise<SdkResult<ExpenseReminder>>;
|
|
5130
5142
|
showExpense<F extends string | null | undefined = undefined>(params: {
|
|
5131
5143
|
companyId: Id;
|
|
5132
5144
|
expenseId: Id;
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -119,12 +119,12 @@ function asJsReadonlyMapView() {
|
|
|
119
119
|
}
|
|
120
120
|
initMetadataForInterface(KtMap, 'Map');
|
|
121
121
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
122
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
122
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
123
123
|
initMetadataForCompanion(Companion_2);
|
|
124
124
|
function asJsArrayView() {
|
|
125
125
|
return createJsArrayViewFrom(this);
|
|
126
126
|
}
|
|
127
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
127
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
128
128
|
initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
|
|
129
129
|
initMetadataForCompanion(Companion_3);
|
|
130
130
|
function asJsMapView() {
|
|
@@ -155,7 +155,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
|
|
|
155
155
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
156
156
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
157
157
|
initMetadataForObject(Unit, 'Unit');
|
|
158
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
158
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
159
159
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
160
160
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
161
161
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -167,7 +167,7 @@ initMetadataForCompanion(Companion_6);
|
|
|
167
167
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
168
168
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
169
169
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
170
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
170
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
171
171
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
172
172
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
173
173
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -243,6 +243,11 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
243
243
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
244
244
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
245
245
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
246
|
+
function close$default(cause, $super) {
|
|
247
|
+
cause = cause === VOID ? null : cause;
|
|
248
|
+
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
249
|
+
}
|
|
250
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
246
251
|
function cancel$default_0(cause, $super) {
|
|
247
252
|
cause = cause === VOID ? null : cause;
|
|
248
253
|
var tmp;
|
|
@@ -255,12 +260,7 @@ function cancel$default_0(cause, $super) {
|
|
|
255
260
|
return tmp;
|
|
256
261
|
}
|
|
257
262
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
258
|
-
|
|
259
|
-
cause = cause === VOID ? null : cause;
|
|
260
|
-
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
261
|
-
}
|
|
262
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
263
|
-
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
263
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
|
|
264
264
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
265
265
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
266
266
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -270,7 +270,7 @@ initMetadataForCompanion(Companion);
|
|
|
270
270
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
271
271
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
272
272
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
273
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
273
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [1, 0]);
|
|
274
274
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
275
275
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
276
276
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -310,7 +310,7 @@ initMetadataForCoroutine($doSelectCOROUTINE$, CoroutineImpl);
|
|
|
310
310
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
|
|
311
311
|
initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
|
|
312
312
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
|
|
313
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
313
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
314
314
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
315
315
|
function tryLock$default(owner, $super) {
|
|
316
316
|
owner = owner === VOID ? null : owner;
|
|
@@ -10058,7 +10058,7 @@ function ClauseData($outer, clauseObject, regFunc, processResFunc, param, block,
|
|
|
10058
10058
|
this.disposableHandleOrSegment_1 = null;
|
|
10059
10059
|
this.indexInSegment_1 = -1;
|
|
10060
10060
|
}
|
|
10061
|
-
protoOf(ClauseData).
|
|
10061
|
+
protoOf(ClauseData).tryRegisterAsWaiter_kpp8yw_k$ = function (select) {
|
|
10062
10062
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
10063
10063
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
10064
10064
|
this.regFunc_1(this.clauseObject_1, select, this.param_1);
|
|
@@ -10322,7 +10322,7 @@ protoOf(SelectImplementation).doSelect_om1v0v_k$ = function ($completion) {
|
|
|
10322
10322
|
return tmp.doResume_5yljmg_k$();
|
|
10323
10323
|
};
|
|
10324
10324
|
protoOf(SelectImplementation).invoke_43nm97_k$ = function (_this__u8e3s4, block) {
|
|
10325
|
-
return this.register$
|
|
10325
|
+
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$()));
|
|
10326
10326
|
};
|
|
10327
10327
|
protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, reregister) {
|
|
10328
10328
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -10332,7 +10332,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10332
10332
|
if (!reregister) {
|
|
10333
10333
|
checkClauseObject(this, _this__u8e3s4.clauseObject_1);
|
|
10334
10334
|
}
|
|
10335
|
-
if (_this__u8e3s4.
|
|
10335
|
+
if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
|
|
10336
10336
|
if (!reregister) {
|
|
10337
10337
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10338
10338
|
ensureNotNull(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
|
|
@@ -10345,7 +10345,7 @@ protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, rere
|
|
|
10345
10345
|
this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
|
|
10346
10346
|
}
|
|
10347
10347
|
};
|
|
10348
|
-
protoOf(SelectImplementation).register$
|
|
10348
|
+
protoOf(SelectImplementation).register$default_acgh9r_k$ = function (_this__u8e3s4, reregister, $super) {
|
|
10349
10349
|
reregister = reregister === VOID ? false : reregister;
|
|
10350
10350
|
var tmp;
|
|
10351
10351
|
if ($super === VOID) {
|