@solibo/solibo-sdk 1.26.11 → 1.27.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/client.d.mts CHANGED
@@ -149,6 +149,7 @@ import type {
149
149
  ConversationCount,
150
150
  ConversationCountConversationCountByCompanyMap,
151
151
  ConversationEventType,
152
+ ConversationEventVisibility,
152
153
  ConversationFolder,
153
154
  ConversationMessageSide,
154
155
  ConversationOrderBy,
@@ -903,6 +904,7 @@ export type SdkInput<T> =
903
904
  T extends CompanySubType ? CompanySubType | "GARAGE" :
904
905
  T extends ContactSource ? ContactSource | "PRIVATE" | "ROLE_SCOPED" | "ORGANIZATION_EMPLOYEE" :
905
906
  T extends ConversationEventType ? ConversationEventType | "NEW_PARTICIPANT" | "NEW_PARTICIPANT_CHILD" | "REMOVED_PARTICIPANT" | "REMOVED_PARTICIPANT_CHILD" | "LEFT_CONVERSATION" | "JOINED_CONVERSATION" | "STARTED_CONVERSATION" | "UPDATED_TITLE" | "UPDATED_CATEGORY" | "REMOVED_CATEGORY" | "COMPLETED" | "UPLOAD" | "DELETED_UPLOAD" | "BACK_TO_WORK" | "NEW_INQUIRY" | "ATTACH_TO_ISSUE" | "REMOVE_ATTACHMENT_TO_ISSUE" | "CREATED_ISSUE" | "CLASSIFIED_AS_SPAM" | "MARKED_AS_SPAM" | "UNMARKED_AS_SPAM" :
907
+ T extends ConversationEventVisibility ? ConversationEventVisibility | "PUBLIC" | "INTERNAL" :
906
908
  T extends ConversationMessageSide ? ConversationMessageSide | "BOARD" | "NON_BOARD" | "NONE" :
907
909
  T extends ConversationOrderBy ? ConversationOrderBy | "LATEST_ACTIVITY_AT" | "CONVERSATION_STARTED_AT" | "LATEST_MESSAGE_AT" | "LATEST_EVENT_AT" :
908
910
  T extends ConversationOrderDirection ? ConversationOrderDirection | "ASC" | "DESC" :
@@ -1182,6 +1184,7 @@ export interface DocumentsApiFacade {
1182
1184
  belongsToId: Id;
1183
1185
  parentId?: Id | null | undefined;
1184
1186
  uploadGroupId?: string | null | undefined;
1187
+ visibility?: string | null | undefined;
1185
1188
  }): Promise<SdkResult<Document>>;
1186
1189
  createDocumentReference(params: {
1187
1190
  companyId: Id;
@@ -5225,7 +5228,7 @@ export interface UnsubscribeApiFacade {
5225
5228
  }): Promise<ProjectionResult<F, string>>;
5226
5229
  unsubscribe(params: {
5227
5230
  token: string;
5228
- }): Promise<SdkResult<void>>;
5231
+ }): Promise<SdkResult<string>>;
5229
5232
  }
5230
5233
 
5231
5234
  export interface SoliboClientApi {
package/client.mjs CHANGED
@@ -307,6 +307,10 @@ const DESCRIPTORS = {
307
307
  {
308
308
  "name": "uploadGroupId",
309
309
  "type": "string | null | undefined"
310
+ },
311
+ {
312
+ "name": "visibility",
313
+ "type": "string | null | undefined"
310
314
  }
311
315
  ],
312
316
  "body": null,
@@ -17399,7 +17403,8 @@ const PROPS = {
17399
17403
  "performedByClientUserId": "bigint | null | undefined",
17400
17404
  "performedById": "bigint | null | undefined",
17401
17405
  "performedByName": "string | null | undefined",
17402
- "system": "boolean"
17406
+ "system": "boolean",
17407
+ "visibility": "ConversationEventVisibility | null | undefined"
17403
17408
  },
17404
17409
  "ConversationEventDocumentProps": {
17405
17410
  "document": "DocumentProps | null | undefined",
@@ -17608,7 +17613,8 @@ const PROPS = {
17608
17613
  "CreateDocumentReferenceCommandProps": {
17609
17614
  "belongsToId": "bigint",
17610
17615
  "type": "DocumentType",
17611
- "uploadGroupId": "string | null | undefined"
17616
+ "uploadGroupId": "string | null | undefined",
17617
+ "visibility": "ConversationEventVisibility | null | undefined"
17612
17618
  },
17613
17619
  "CreateEmployeeCommandProps": {
17614
17620
  "email": "string | null | undefined",
@@ -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, MutableIterable, Collection]);
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, MutableIterable, Collection]);
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, [MutableIterable, Collection]);
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, [MutableIterable, Collection]);
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,11 +243,6 @@ 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]);
251
246
  function cancel$default_0(cause, $super) {
252
247
  cause = cause === VOID ? null : cause;
253
248
  var tmp;
@@ -260,7 +255,12 @@ function cancel$default_0(cause, $super) {
260
255
  return tmp;
261
256
  }
262
257
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
263
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
258
+ function close$default(cause, $super) {
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]);
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, [SendChannel, ReceiveChannel], [1, 0]);
273
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [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]);