@solibo/home-api 1.36.0 → 1.36.2
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.
|
@@ -223,11 +223,6 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
223
223
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
224
224
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
225
225
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
226
|
-
function close$default(cause, $super) {
|
|
227
|
-
cause = cause === VOID ? null : cause;
|
|
228
|
-
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
229
|
-
}
|
|
230
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
231
226
|
function cancel$default_0(cause, $super) {
|
|
232
227
|
cause = cause === VOID ? null : cause;
|
|
233
228
|
var tmp;
|
|
@@ -240,7 +235,12 @@ function cancel$default_0(cause, $super) {
|
|
|
240
235
|
return tmp;
|
|
241
236
|
}
|
|
242
237
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
243
|
-
|
|
238
|
+
function close$default(cause, $super) {
|
|
239
|
+
cause = cause === VOID ? null : cause;
|
|
240
|
+
return $super === VOID ? this.close_ukldxa_k$(cause) : $super.close_ukldxa_k$.call(this, cause);
|
|
241
|
+
}
|
|
242
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
243
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
244
244
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
245
245
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
246
246
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -250,7 +250,7 @@ initMetadataForCompanion(Companion);
|
|
|
250
250
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
251
251
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
252
252
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
253
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
253
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
|
|
254
254
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
255
255
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
256
256
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -269,7 +269,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
269
269
|
initMetadataForClass(Symbol, 'Symbol');
|
|
270
270
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
271
271
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
272
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
272
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
273
273
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
274
274
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [Delay], [1]);
|
|
275
275
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
package/ktor-ktor-websockets.mjs
CHANGED
|
@@ -80,8 +80,8 @@ import {
|
|
|
80
80
|
_ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
|
|
81
81
|
close$default2suggcywjwe8g as close$default,
|
|
82
82
|
cancel$default3v09jht7i082i as cancel$default,
|
|
83
|
-
SendChannel38sllbxw662ws as SendChannel,
|
|
84
83
|
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
84
|
+
SendChannel38sllbxw662ws as SendChannel,
|
|
85
85
|
} from './kotlinx-coroutines-core.mjs';
|
|
86
86
|
import {
|
|
87
87
|
get_isTraceEnabled82xibuu04nxp as get_isTraceEnabled,
|
|
@@ -145,7 +145,7 @@ initMetadataForCompanion(Companion_4);
|
|
|
145
145
|
initMetadataForClass(ChannelConfig, 'ChannelConfig');
|
|
146
146
|
initMetadataForClass(ChannelOverflow, 'ChannelOverflow', VOID, Enum);
|
|
147
147
|
initMetadataForCompanion(Companion_5);
|
|
148
|
-
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [
|
|
148
|
+
initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 0]);
|
|
149
149
|
initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
|
|
150
150
|
initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
|
|
151
151
|
initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
|
package/package.json
CHANGED
|
@@ -23869,7 +23869,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
|
|
|
23869
23869
|
getMessageFullEmailContent(companyId: bigint, conversationId: bigint, messageId: bigint, fields?: Nullable<string>): Promise<HttpResponse<FullEmailContent>>;
|
|
23870
23870
|
indexCompanyConversationCategories(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListSecureConversationCategory>>;
|
|
23871
23871
|
indexCompanyConversationCategoriesForRequests(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPublicConversationCategory>>;
|
|
23872
|
-
indexCompanyConversationContacts(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListConversationContact>>;
|
|
23872
|
+
indexCompanyConversationContacts(companyId: bigint, search?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListConversationContact>>;
|
|
23873
23873
|
indexConversation(companyId: bigint, search?: Nullable<string>, status?: Nullable<KtList<ConversationStatus>>, category?: Nullable<KtList<bigint>>, assignedToUserId?: Nullable<KtList<bigint>>, latestPublicMessageSide?: Nullable<KtList<ConversationMessageSide>>, hasAttachments?: Nullable<boolean>, folderIds?: Nullable<KtList<bigint>>, onlyRoot?: Nullable<boolean>, byParticipant?: Nullable<KtList<bigint>>, byParticipantType?: Nullable<KtList<ParticipantType>>, createdSince?: Nullable<bigint>, updatedSince?: Nullable<bigint>, flaggedByCurrentUser?: Nullable<boolean>, readByCurrentUser?: Nullable<boolean>, orderBy?: Nullable<ConversationOrderBy>, orderDirection?: Nullable<ConversationOrderDirection>, pageToken?: Nullable<string>, count?: Nullable<number>, autoPaginate?: Nullable<boolean>, fields?: Nullable<string>): Promise<HttpResponse<PagedListConversation>>;
|
|
23874
23874
|
indexConversationByParticipant(companyId: bigint, participantId: bigint, participantType: ParticipantType, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListConversation>>;
|
|
23875
23875
|
indexConversationCategoriesOpen(companySlug: string, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPublicConversationCategory>>;
|
|
@@ -3281,7 +3281,7 @@ initMetadataForCoroutine($updateConversationSettingsCOROUTINE$, CoroutineImpl);
|
|
|
3281
3281
|
initMetadataForCoroutine($updateConversationSettings$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3282
3282
|
initMetadataForCoroutine($updateFolderCOROUTINE$, CoroutineImpl);
|
|
3283
3283
|
initMetadataForCoroutine($updateFolder$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
3284
|
-
initMetadataForClass(ConversationApi, 'ConversationApi', create_6, ApiClient, VOID, [2, 3, 16, 4, 1, 5, 21, 7,
|
|
3284
|
+
initMetadataForClass(ConversationApi, 'ConversationApi', create_6, ApiClient, VOID, [2, 3, 16, 4, 1, 5, 6, 21, 7, 12]);
|
|
3285
3285
|
initMetadataForCompanion(Companion_958, VOID, [KSerializer]);
|
|
3286
3286
|
initMetadataForClass(MoveMultipleDocumentsResponse, 'MoveMultipleDocumentsResponse', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_961});
|
|
3287
3287
|
initMetadataForCoroutine($abortDocumentUploadTicketCOROUTINE$, CoroutineImpl);
|
|
@@ -229787,10 +229787,11 @@ protoOf($indexCompanyConversationCategoriesForRequests$suspendBridgeCOROUTINE$).
|
|
|
229787
229787
|
}
|
|
229788
229788
|
while (true);
|
|
229789
229789
|
};
|
|
229790
|
-
function $indexCompanyConversationContactsCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
229790
|
+
function $indexCompanyConversationContactsCOROUTINE$(_this__u8e3s4, companyId, search, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
229791
229791
|
CoroutineImpl.call(this, resultContinuation);
|
|
229792
229792
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
229793
229793
|
this.companyId_1 = companyId;
|
|
229794
|
+
this.search_1 = search;
|
|
229794
229795
|
this.fields_1 = fields;
|
|
229795
229796
|
this.pageToken_1 = pageToken;
|
|
229796
229797
|
this.autoPaginate_1 = autoPaginate;
|
|
@@ -229807,40 +229808,47 @@ protoOf($indexCompanyConversationContactsCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
229807
229808
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
229808
229809
|
var localVariableBody = EmptyContent_getInstance();
|
|
229809
229810
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
229811
|
+
if (this.search_1 == null)
|
|
229812
|
+
null;
|
|
229813
|
+
else {
|
|
229814
|
+
var value = listOf_0(this.search_1);
|
|
229815
|
+
localVariableQuery.put_4fpzoq_k$('search', value);
|
|
229816
|
+
}
|
|
229817
|
+
|
|
229810
229818
|
if (this.fields_1 == null)
|
|
229811
229819
|
null;
|
|
229812
229820
|
else {
|
|
229813
|
-
var
|
|
229814
|
-
localVariableQuery.put_4fpzoq_k$('fields',
|
|
229821
|
+
var value_0 = listOf_0(this.fields_1);
|
|
229822
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_0);
|
|
229815
229823
|
}
|
|
229816
229824
|
|
|
229817
229825
|
if (this.pageToken_1 == null)
|
|
229818
229826
|
null;
|
|
229819
229827
|
else {
|
|
229820
229828
|
var tmp2 = 'pageToken';
|
|
229821
|
-
var
|
|
229822
|
-
localVariableQuery.put_4fpzoq_k$(tmp2,
|
|
229829
|
+
var value_1 = listOf_0(this.pageToken_1);
|
|
229830
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value_1);
|
|
229823
229831
|
}
|
|
229824
229832
|
|
|
229825
229833
|
if (this.autoPaginate_1 == null)
|
|
229826
229834
|
null;
|
|
229827
229835
|
else {
|
|
229828
229836
|
var tmp2_0 = 'autoPaginate';
|
|
229829
|
-
var
|
|
229830
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0,
|
|
229837
|
+
var value_2 = listOf_0('' + this.autoPaginate_1);
|
|
229838
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
|
|
229831
229839
|
}
|
|
229832
229840
|
|
|
229833
229841
|
if (this.count_1 == null)
|
|
229834
229842
|
null;
|
|
229835
229843
|
else {
|
|
229836
|
-
var
|
|
229837
|
-
localVariableQuery.put_4fpzoq_k$('count',
|
|
229844
|
+
var value_3 = listOf_0('' + this.count_1);
|
|
229845
|
+
localVariableQuery.put_4fpzoq_k$('count', value_3);
|
|
229838
229846
|
}
|
|
229839
229847
|
|
|
229840
229848
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
229841
|
-
var
|
|
229842
|
-
var
|
|
229843
|
-
var localVariableConfig = new RequestConfig(
|
|
229849
|
+
var tmp5_method = RequestMethod_GET_getInstance();
|
|
229850
|
+
var tmp6_path = replace('/companies/{companyId}/conversations/contacts', '{companyId}', this.companyId_1.toString());
|
|
229851
|
+
var localVariableConfig = new RequestConfig(tmp5_method, tmp6_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
229844
229852
|
this.state_1 = 1;
|
|
229845
229853
|
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
229846
229854
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -229881,10 +229889,11 @@ protoOf($indexCompanyConversationContactsCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
229881
229889
|
}
|
|
229882
229890
|
while (true);
|
|
229883
229891
|
};
|
|
229884
|
-
function $indexCompanyConversationContacts$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
229892
|
+
function $indexCompanyConversationContacts$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, search, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
229885
229893
|
CoroutineImpl.call(this, resultContinuation);
|
|
229886
229894
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
229887
229895
|
this.companyId_1 = companyId;
|
|
229896
|
+
this.search_1 = search;
|
|
229888
229897
|
this.fields_1 = fields;
|
|
229889
229898
|
this.pageToken_1 = pageToken;
|
|
229890
229899
|
this.autoPaginate_1 = autoPaginate;
|
|
@@ -229900,14 +229909,14 @@ protoOf($indexCompanyConversationContacts$suspendBridgeCOROUTINE$).doResume_5ylj
|
|
|
229900
229909
|
this.exceptionState_1 = 4;
|
|
229901
229910
|
if (this._this__u8e3s4__1.indexCompanyConversationContacts === protoOf(ConversationApi).indexCompanyConversationContacts) {
|
|
229902
229911
|
this.state_1 = 2;
|
|
229903
|
-
suspendResult = this._this__u8e3s4__1.indexCompanyConversationContacts$
|
|
229912
|
+
suspendResult = this._this__u8e3s4__1.indexCompanyConversationContacts$default_9eqnlu_k$(this.companyId_1, this.search_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
|
|
229904
229913
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
229905
229914
|
return suspendResult;
|
|
229906
229915
|
}
|
|
229907
229916
|
continue $sm;
|
|
229908
229917
|
} else {
|
|
229909
229918
|
this.state_1 = 1;
|
|
229910
|
-
suspendResult = await_0(this._this__u8e3s4__1.indexCompanyConversationContacts(this.companyId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
229919
|
+
suspendResult = await_0(this._this__u8e3s4__1.indexCompanyConversationContacts(this.companyId_1, this.search_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
229911
229920
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
229912
229921
|
return suspendResult;
|
|
229913
229922
|
}
|
|
@@ -235876,27 +235885,28 @@ protoOf(ConversationApi).indexCompanyConversationCategoriesForRequests$suspendBr
|
|
|
235876
235885
|
tmp.exception_1 = null;
|
|
235877
235886
|
return tmp.doResume_5yljmg_k$();
|
|
235878
235887
|
};
|
|
235879
|
-
protoOf(ConversationApi).
|
|
235880
|
-
var tmp = new $indexCompanyConversationContactsCOROUTINE$(this, companyId, fields, pageToken, autoPaginate, count, $completion);
|
|
235888
|
+
protoOf(ConversationApi).indexCompanyConversationContacts_uq3at2_k$ = function (companyId, search, fields, pageToken, autoPaginate, count, $completion) {
|
|
235889
|
+
var tmp = new $indexCompanyConversationContactsCOROUTINE$(this, companyId, search, fields, pageToken, autoPaginate, count, $completion);
|
|
235881
235890
|
tmp.result_1 = Unit_instance;
|
|
235882
235891
|
tmp.exception_1 = null;
|
|
235883
235892
|
return tmp.doResume_5yljmg_k$();
|
|
235884
235893
|
};
|
|
235885
|
-
protoOf(ConversationApi).indexCompanyConversationContacts$
|
|
235894
|
+
protoOf(ConversationApi).indexCompanyConversationContacts$default_9eqnlu_k$ = function (companyId, search, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
235895
|
+
search = search === VOID ? null : search;
|
|
235886
235896
|
fields = fields === VOID ? null : fields;
|
|
235887
235897
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
235888
235898
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
235889
235899
|
count = count === VOID ? null : count;
|
|
235890
|
-
return $super === VOID ? this.
|
|
235900
|
+
return $super === VOID ? this.indexCompanyConversationContacts_uq3at2_k$(companyId, search, fields, pageToken, autoPaginate, count, $completion) : $super.indexCompanyConversationContacts_uq3at2_k$.call(this, companyId, search, fields, pageToken, autoPaginate, count, $completion);
|
|
235891
235901
|
};
|
|
235892
|
-
protoOf(ConversationApi).indexCompanyConversationContacts = function (companyId, fields, pageToken, autoPaginate, count) {
|
|
235902
|
+
protoOf(ConversationApi).indexCompanyConversationContacts = function (companyId, search, fields, pageToken, autoPaginate, count) {
|
|
235893
235903
|
var tmp = this;
|
|
235894
235904
|
return promisify(function ($completion) {
|
|
235895
|
-
return tmp.indexCompanyConversationContacts$
|
|
235905
|
+
return tmp.indexCompanyConversationContacts$default_9eqnlu_k$(companyId, search, fields, pageToken, autoPaginate, count, $completion);
|
|
235896
235906
|
});
|
|
235897
235907
|
};
|
|
235898
|
-
protoOf(ConversationApi).indexCompanyConversationContacts$
|
|
235899
|
-
var tmp = new $indexCompanyConversationContacts$suspendBridgeCOROUTINE$(this, companyId, fields, pageToken, autoPaginate, count, $completion);
|
|
235908
|
+
protoOf(ConversationApi).indexCompanyConversationContacts$suspendBridge_xleglx_k$ = function (companyId, search, fields, pageToken, autoPaginate, count, $completion) {
|
|
235909
|
+
var tmp = new $indexCompanyConversationContacts$suspendBridgeCOROUTINE$(this, companyId, search, fields, pageToken, autoPaginate, count, $completion);
|
|
235900
235910
|
tmp.result_1 = Unit_instance;
|
|
235901
235911
|
tmp.exception_1 = null;
|
|
235902
235912
|
return tmp.doResume_5yljmg_k$();
|