@solibo/home-api 1.1.45 → 1.1.46

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.
@@ -59,6 +59,12 @@ if (typeof Math.trunc === 'undefined') {
59
59
  return Math.ceil(x);
60
60
  };
61
61
  }
62
+ if (typeof String.prototype.startsWith === 'undefined') {
63
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
+ position = position || 0;
65
+ return this.lastIndexOf(searchString, position) === position;
66
+ }});
67
+ }
62
68
  if (typeof String.prototype.endsWith === 'undefined') {
63
69
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
64
70
  var subjectString = this.toString();
@@ -70,12 +76,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
70
76
  return lastIndex !== -1 && lastIndex === position;
71
77
  }});
72
78
  }
73
- if (typeof String.prototype.startsWith === 'undefined') {
74
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
75
- position = position || 0;
76
- return this.lastIndexOf(searchString, position) === position;
77
- }});
78
- }
79
79
  //endregion
80
80
  //region block: imports
81
81
  var imul_0 = Math.imul;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -8565,13 +8565,12 @@ export declare namespace Pong {
8565
8565
  }
8566
8566
  }
8567
8567
  export declare class Post {
8568
- constructor(companyId: bigint, content: string, contentUrls: Nullable<KtList<Content>> | undefined, createdAt: any/* Instant */, documents: Nullable<KtList<Document>> | undefined, emailRecipientStatus: Nullable<KtList<MassCommunicationRecipientStatus>> | undefined, id: bigint, notificationEmailGroups: Nullable<KtList<NotificationGroup>> | undefined, notificationSMSGroups: Nullable<KtList<NotificationGroup>> | undefined, pictureDocument: Nullable<Document> | undefined, pictureDocumentId: Nullable<bigint> | undefined, pictureUrl: Nullable<Content> | undefined, pinned: boolean, postType: string, _private: boolean, publishedAt: Nullable<any>/* Nullable<Instant> */ | undefined, publishedById: bigint, smsRecipientStatus: Nullable<KtList<MassCommunicationRecipientStatus>> | undefined, title: string, updatedAt: any/* Instant */, weighting: bigint);
8568
+ constructor(companyId: bigint, content: string, contentUrls: Nullable<KtList<Content>> | undefined, createdAt: any/* Instant */, documents: Nullable<KtList<Document>> | undefined, id: bigint, notificationEmailGroups: Nullable<KtList<NotificationGroup>> | undefined, notificationSMSGroups: Nullable<KtList<NotificationGroup>> | undefined, pictureDocument: Nullable<Document> | undefined, pictureDocumentId: Nullable<bigint> | undefined, pictureUrl: Nullable<Content> | undefined, pinned: boolean, postType: string, _private: boolean, publishedAt: Nullable<any>/* Nullable<Instant> */ | undefined, publishedById: bigint, title: string, updatedAt: any/* Instant */, weighting: bigint);
8569
8569
  get companyId(): bigint;
8570
8570
  get content(): string;
8571
8571
  get contentUrls(): Nullable<KtList<Content>>;
8572
8572
  get createdAt(): any/* Instant */;
8573
8573
  get documents(): Nullable<KtList<Document>>;
8574
- get emailRecipientStatus(): Nullable<KtList<MassCommunicationRecipientStatus>>;
8575
8574
  get id(): bigint;
8576
8575
  get notificationEmailGroups(): Nullable<KtList<NotificationGroup>>;
8577
8576
  get notificationSMSGroups(): Nullable<KtList<NotificationGroup>>;
@@ -8583,11 +8582,10 @@ export declare class Post {
8583
8582
  get private(): boolean;
8584
8583
  get publishedAt(): Nullable<any>/* Nullable<Instant> */;
8585
8584
  get publishedById(): bigint;
8586
- get smsRecipientStatus(): Nullable<KtList<MassCommunicationRecipientStatus>>;
8587
8585
  get title(): string;
8588
8586
  get updatedAt(): any/* Instant */;
8589
8587
  get weighting(): bigint;
8590
- copy(companyId?: bigint, content?: string, contentUrls?: Nullable<KtList<Content>>, createdAt?: any/* Instant */, documents?: Nullable<KtList<Document>>, emailRecipientStatus?: Nullable<KtList<MassCommunicationRecipientStatus>>, id?: bigint, notificationEmailGroups?: Nullable<KtList<NotificationGroup>>, notificationSMSGroups?: Nullable<KtList<NotificationGroup>>, pictureDocument?: Nullable<Document>, pictureDocumentId?: Nullable<bigint>, pictureUrl?: Nullable<Content>, pinned?: boolean, postType?: string, _private?: boolean, publishedAt?: Nullable<any>/* Nullable<Instant> */, publishedById?: bigint, smsRecipientStatus?: Nullable<KtList<MassCommunicationRecipientStatus>>, title?: string, updatedAt?: any/* Instant */, weighting?: bigint): Post;
8588
+ copy(companyId?: bigint, content?: string, contentUrls?: Nullable<KtList<Content>>, createdAt?: any/* Instant */, documents?: Nullable<KtList<Document>>, id?: bigint, notificationEmailGroups?: Nullable<KtList<NotificationGroup>>, notificationSMSGroups?: Nullable<KtList<NotificationGroup>>, pictureDocument?: Nullable<Document>, pictureDocumentId?: Nullable<bigint>, pictureUrl?: Nullable<Content>, pinned?: boolean, postType?: string, _private?: boolean, publishedAt?: Nullable<any>/* Nullable<Instant> */, publishedById?: bigint, title?: string, updatedAt?: any/* Instant */, weighting?: bigint): Post;
8591
8589
  toString(): string;
8592
8590
  hashCode(): number;
8593
8591
  equals(other: Nullable<any>): boolean;