@solibo/home-api 1.1.15 → 1.1.17-2bd80e5-1772477339150-SNAPSHOT

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.
@@ -5054,6 +5054,7 @@ Tombstone_instance = new Tombstone();
5054
5054
  //endregion
5055
5055
  //region block: exports
5056
5056
  export {
5057
+ JsonElementSerializer_getInstance as JsonElementSerializer_getInstanceiquifkyyjet4,
5057
5058
  Json_0 as Jsonsmkyu9xjl7fv,
5058
5059
  };
5059
5060
  //endregion
@@ -0,0 +1,4 @@
1
+ //region block: pre-declaration
2
+ //endregion
3
+
4
+ //# sourceMappingURL=ktor-ktor-client-websockets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.15",
3
+ "version": "1.1.17-2bd80e5-1772477339150-SNAPSHOT",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -1482,15 +1482,15 @@ export declare namespace ConversationCountConversationCountMapValue {
1482
1482
  }
1483
1483
  }
1484
1484
  export declare class ConversationEvent {
1485
- constructor(description: Nullable<string> | undefined, descriptionMeta: KtMap<string, Nullable<string>>, eventType: ConversationEventType, performedAt: any/* Instant */, performedBy: Nullable<Participant> | undefined, performedById: bigint, system: boolean);
1485
+ constructor(description: Nullable<string> | undefined, descriptionMeta: KtMap<string, Nullable<string>>, eventType: ConversationEventType, performedAt: any/* Instant */, performedBy: Nullable<any>/* Nullable<JsonElement> */ | undefined, performedById: bigint, system: boolean);
1486
1486
  get description(): Nullable<string>;
1487
1487
  get descriptionMeta(): KtMap<string, Nullable<string>>;
1488
1488
  get eventType(): ConversationEventType;
1489
1489
  get performedAt(): any/* Instant */;
1490
- get performedBy(): Nullable<Participant>;
1490
+ get performedBy(): Nullable<any>/* Nullable<JsonElement> */;
1491
1491
  get performedById(): bigint;
1492
1492
  get system(): boolean;
1493
- copy(description?: Nullable<string>, descriptionMeta?: KtMap<string, Nullable<string>>, eventType?: ConversationEventType, performedAt?: any/* Instant */, performedBy?: Nullable<Participant>, performedById?: bigint, system?: boolean): ConversationEvent;
1493
+ copy(description?: Nullable<string>, descriptionMeta?: KtMap<string, Nullable<string>>, eventType?: ConversationEventType, performedAt?: any/* Instant */, performedBy?: Nullable<any>/* Nullable<JsonElement> */, performedById?: bigint, system?: boolean): ConversationEvent;
1494
1494
  toString(): string;
1495
1495
  hashCode(): number;
1496
1496
  equals(other: Nullable<any>): boolean;
@@ -1501,6 +1501,21 @@ export declare namespace ConversationEvent {
1501
1501
  const constructor: abstract new () => ConversationEvent;
1502
1502
  }
1503
1503
  }
1504
+ export declare class ConversationEventPayload extends WebSocketPayload.$metadata$.constructor {
1505
+ constructor(conversationId: bigint, event: ConversationEvent);
1506
+ get conversationId(): bigint;
1507
+ get event(): ConversationEvent;
1508
+ copy(conversationId?: bigint, event?: ConversationEvent): ConversationEventPayload;
1509
+ toString(): string;
1510
+ hashCode(): number;
1511
+ equals(other: Nullable<any>): boolean;
1512
+ }
1513
+ export declare namespace ConversationEventPayload {
1514
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1515
+ namespace $metadata$ {
1516
+ const constructor: abstract new () => ConversationEventPayload;
1517
+ }
1518
+ }
1504
1519
  export declare abstract class ConversationEventType {
1505
1520
  private constructor();
1506
1521
  static get NEW_PARTICIPANT(): ConversationEventType & {
@@ -1612,6 +1627,21 @@ export declare namespace ConversationList {
1612
1627
  const constructor: abstract new () => ConversationList;
1613
1628
  }
1614
1629
  }
1630
+ export declare class ConversationMessagePayload extends WebSocketPayload.$metadata$.constructor {
1631
+ constructor(conversationId: bigint, message: MessageInConversation);
1632
+ get conversationId(): bigint;
1633
+ get message(): MessageInConversation;
1634
+ copy(conversationId?: bigint, message?: MessageInConversation): ConversationMessagePayload;
1635
+ toString(): string;
1636
+ hashCode(): number;
1637
+ equals(other: Nullable<any>): boolean;
1638
+ }
1639
+ export declare namespace ConversationMessagePayload {
1640
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1641
+ namespace $metadata$ {
1642
+ const constructor: abstract new () => ConversationMessagePayload;
1643
+ }
1644
+ }
1615
1645
  export declare class ConversationParticipantMeta {
1616
1646
  constructor(participantId: bigint, participantType: ParticipantType);
1617
1647
  get participantId(): bigint;
@@ -1670,6 +1700,23 @@ export declare namespace ConversationStatus {
1670
1700
  }
1671
1701
  }
1672
1702
  }
1703
+ export declare class ConversationTypingPayload extends WebSocketPayload.$metadata$.constructor {
1704
+ constructor(conversationId: bigint, name: string, personId: bigint, typing: boolean);
1705
+ get conversationId(): bigint;
1706
+ get name(): string;
1707
+ get personId(): bigint;
1708
+ get typing(): boolean;
1709
+ copy(conversationId?: bigint, name?: string, personId?: bigint, typing?: boolean): ConversationTypingPayload;
1710
+ toString(): string;
1711
+ hashCode(): number;
1712
+ equals(other: Nullable<any>): boolean;
1713
+ }
1714
+ export declare namespace ConversationTypingPayload {
1715
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1716
+ namespace $metadata$ {
1717
+ const constructor: abstract new () => ConversationTypingPayload;
1718
+ }
1719
+ }
1673
1720
  export declare class Country {
1674
1721
  constructor(id: bigint, iso: string, iso3: Nullable<string> | undefined, language: string, name: string, nicename: string, numcode: Nullable<string> | undefined, phonecode: string);
1675
1722
  get id(): bigint;
@@ -4154,6 +4201,20 @@ export declare namespace GenerellAdresse {
4154
4201
  const constructor: abstract new () => GenerellAdresse;
4155
4202
  }
4156
4203
  }
4204
+ export declare class GenericMessage extends WebSocketPayload.$metadata$.constructor {
4205
+ constructor(message: string);
4206
+ get message(): string;
4207
+ copy(message?: string): GenericMessage;
4208
+ toString(): string;
4209
+ hashCode(): number;
4210
+ equals(other: Nullable<any>): boolean;
4211
+ }
4212
+ export declare namespace GenericMessage {
4213
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4214
+ namespace $metadata$ {
4215
+ const constructor: abstract new () => GenericMessage;
4216
+ }
4217
+ }
4157
4218
  export declare class GenghisCompany {
4158
4219
  constructor(accountNumber: Nullable<string> | undefined, etag: string, id: bigint, invoiceReception: Nullable<string> | undefined, name: string, nationality: Nullable<string> | undefined, orgnr: Nullable<string> | undefined, soliboManaged: boolean, type: string);
4159
4220
  get accountNumber(): Nullable<string>;
@@ -12594,6 +12655,30 @@ export declare namespace Voucher {
12594
12655
  const constructor: abstract new () => Voucher;
12595
12656
  }
12596
12657
  }
12658
+ export declare abstract class WebSocketPayload {
12659
+ protected constructor();
12660
+ }
12661
+ export declare namespace WebSocketPayload {
12662
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12663
+ namespace $metadata$ {
12664
+ const constructor: abstract new () => WebSocketPayload;
12665
+ }
12666
+ }
12667
+ export declare class WsEvent {
12668
+ constructor(payload: WebSocketPayload, userId?: Nullable<bigint>);
12669
+ get payload(): WebSocketPayload;
12670
+ get userId(): Nullable<bigint>;
12671
+ copy(payload?: WebSocketPayload, userId?: Nullable<bigint>): WsEvent;
12672
+ toString(): string;
12673
+ hashCode(): number;
12674
+ equals(other: Nullable<any>): boolean;
12675
+ }
12676
+ export declare namespace WsEvent {
12677
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12678
+ namespace $metadata$ {
12679
+ const constructor: abstract new () => WsEvent;
12680
+ }
12681
+ }
12597
12682
  export declare class AuthApi extends ApiClient.$metadata$.constructor {
12598
12683
  private constructor();
12599
12684
  static create(baseUrl?: string, httpClientEngine?: Nullable<any>/* Nullable<HttpClientEngine> */, httpClientConfig?: Nullable<(p0: any/* HttpClientConfig<UnknownType *> */) => void>, jsonSerializer?: any/* Json */): AuthApi;
@@ -13418,6 +13503,18 @@ export declare namespace UserApi {
13418
13503
  const constructor: abstract new () => UserApi;
13419
13504
  }
13420
13505
  }
13506
+ export declare class WebSocketApi extends ApiClient.$metadata$.constructor {
13507
+ private constructor();
13508
+ static create(baseUrl?: string, httpClientEngine?: Nullable<any>/* Nullable<HttpClientEngine> */, httpClientConfig?: Nullable<(p0: any/* HttpClientConfig<UnknownType *> */) => void>, jsonSerializer?: any/* Json */): WebSocketApi;
13509
+ static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): WebSocketApi;
13510
+ connectToEventBus(): Promise<HttpResponse<void>>;
13511
+ }
13512
+ export declare namespace WebSocketApi {
13513
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
13514
+ namespace $metadata$ {
13515
+ const constructor: abstract new () => WebSocketApi;
13516
+ }
13517
+ }
13421
13518
  export declare function collectionDelimiter(collectionFormat: string): string;
13422
13519
  export declare class ApiClient {
13423
13520
  constructor(baseUrl: string);