@solibo/solibo-sdk 1.32.0 → 1.32.1
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.d.mts +13 -0
- package/client.mjs +49 -0
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +22946 -22368
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +22 -1
- package/solibo-sdk-sdk.mjs +3 -3
package/client.d.mts
CHANGED
|
@@ -24,6 +24,7 @@ import type {
|
|
|
24
24
|
AddExternalConversationParticipantCommandProps,
|
|
25
25
|
AddExternalCustomerCommand,
|
|
26
26
|
AddExternalCustomerCommandProps,
|
|
27
|
+
AdministratorInputRequestResult,
|
|
27
28
|
ApproveSupplierInvoiceCommand,
|
|
28
29
|
ApproveSupplierInvoiceCommandProps,
|
|
29
30
|
AssignParkingSpaceCommand,
|
|
@@ -1510,6 +1511,14 @@ export interface ConversationApiFacade {
|
|
|
1510
1511
|
companySlug: string;
|
|
1511
1512
|
input: CreateInquiryCommand | SdkInput<CreateInquiryCommandProps>;
|
|
1512
1513
|
}): Promise<SdkResult<PublicConversation>>;
|
|
1514
|
+
createInternalConversationRead(params: {
|
|
1515
|
+
companyId: Id;
|
|
1516
|
+
conversationId: Id;
|
|
1517
|
+
}): Promise<SdkResult<void>>;
|
|
1518
|
+
createInternalConversationUnread(params: {
|
|
1519
|
+
companyId: Id;
|
|
1520
|
+
conversationId: Id;
|
|
1521
|
+
}): Promise<SdkResult<void>>;
|
|
1513
1522
|
createInternalMessage(params: {
|
|
1514
1523
|
companyId: Id;
|
|
1515
1524
|
conversationId: Id;
|
|
@@ -1745,6 +1754,10 @@ export interface ConversationApiFacade {
|
|
|
1745
1754
|
companyId: Id;
|
|
1746
1755
|
input: BatchConversationStateCommand | SdkInput<BatchConversationStateCommandProps>;
|
|
1747
1756
|
}): Promise<SdkResult<void>>;
|
|
1757
|
+
requestInternalConversationAdministratorInput(params: {
|
|
1758
|
+
companyId: Id;
|
|
1759
|
+
conversationId: Id;
|
|
1760
|
+
}): Promise<SdkResult<AdministratorInputRequestResult>>;
|
|
1748
1761
|
restoreConversationMessage(params: {
|
|
1749
1762
|
companyId: Id;
|
|
1750
1763
|
conversationId: Id;
|
package/client.mjs
CHANGED
|
@@ -1526,6 +1526,36 @@ const DESCRIPTORS = {
|
|
|
1526
1526
|
"body": "createInquiryCommand",
|
|
1527
1527
|
"bodyType": "CreateInquiryCommand"
|
|
1528
1528
|
},
|
|
1529
|
+
"createInternalConversationRead": {
|
|
1530
|
+
"args": [
|
|
1531
|
+
{
|
|
1532
|
+
"name": "companyId",
|
|
1533
|
+
"type": "bigint"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "conversationId",
|
|
1537
|
+
"type": "bigint"
|
|
1538
|
+
}
|
|
1539
|
+
],
|
|
1540
|
+
"body": null,
|
|
1541
|
+
"bodyType": null,
|
|
1542
|
+
"voidResult": true
|
|
1543
|
+
},
|
|
1544
|
+
"createInternalConversationUnread": {
|
|
1545
|
+
"args": [
|
|
1546
|
+
{
|
|
1547
|
+
"name": "companyId",
|
|
1548
|
+
"type": "bigint"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "conversationId",
|
|
1552
|
+
"type": "bigint"
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"body": null,
|
|
1556
|
+
"bodyType": null,
|
|
1557
|
+
"voidResult": true
|
|
1558
|
+
},
|
|
1529
1559
|
"createInternalMessage": {
|
|
1530
1560
|
"args": [
|
|
1531
1561
|
{
|
|
@@ -2467,6 +2497,20 @@ const DESCRIPTORS = {
|
|
|
2467
2497
|
"bodyType": "BatchConversationStateCommand",
|
|
2468
2498
|
"voidResult": true
|
|
2469
2499
|
},
|
|
2500
|
+
"requestInternalConversationAdministratorInput": {
|
|
2501
|
+
"args": [
|
|
2502
|
+
{
|
|
2503
|
+
"name": "companyId",
|
|
2504
|
+
"type": "bigint"
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "conversationId",
|
|
2508
|
+
"type": "bigint"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"body": null,
|
|
2512
|
+
"bodyType": null
|
|
2513
|
+
},
|
|
2470
2514
|
"restoreConversationMessage": {
|
|
2471
2515
|
"args": [
|
|
2472
2516
|
{
|
|
@@ -17076,6 +17120,10 @@ const PROPS = {
|
|
|
17076
17120
|
"streetAddress": "string",
|
|
17077
17121
|
"zipCode": "string | null | undefined"
|
|
17078
17122
|
},
|
|
17123
|
+
"AdministratorInputRequestResultProps": {
|
|
17124
|
+
"administratorInputRequested": "boolean",
|
|
17125
|
+
"queuedAdministratorNotifications": "bigint"
|
|
17126
|
+
},
|
|
17079
17127
|
"ApproveSupplierInvoiceCommandProps": {
|
|
17080
17128
|
"reason": "string | null | undefined"
|
|
17081
17129
|
},
|
|
@@ -19236,6 +19284,7 @@ const PROPS = {
|
|
|
19236
19284
|
"resource": "NewsletterProps"
|
|
19237
19285
|
},
|
|
19238
19286
|
"InternalConversationProps": {
|
|
19287
|
+
"administratorInputRequested": "boolean | null | undefined",
|
|
19239
19288
|
"id": "bigint",
|
|
19240
19289
|
"messages": "MessageInConversationProps[] | null | undefined"
|
|
19241
19290
|
},
|
|
@@ -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]);
|