@solibo/home-api 1.1.37 → 1.1.38

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,12 +59,6 @@ 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
- }
68
62
  if (typeof String.prototype.endsWith === 'undefined') {
69
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
70
64
  var subjectString = this.toString();
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
76
70
  return lastIndex !== -1 && lastIndex === position;
77
71
  }});
78
72
  }
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.37",
3
+ "version": "1.1.38",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -12982,6 +12982,12 @@ export declare class HomepageApi extends ApiClient.$metadata$.constructor {
12982
12982
  deletePost(companyId: bigint, postId: bigint, purchaseBundleId?: Nullable<bigint>, publishChanges?: Nullable<boolean>): Promise<HttpResponse<void>>;
12983
12983
  deletePostContent(companyId: bigint, contentTypeIdentifier: string, contentId: string, fileName: string): Promise<HttpResponse<void>>;
12984
12984
  deletePracticalInfo(companyId: bigint, practicalInformationId: bigint, purchaseBundleId?: Nullable<bigint>, publishChanges?: Nullable<boolean>): Promise<HttpResponse<void>>;
12985
+ homepageRssByDomain(domainName: string): Promise<HttpResponse<string>>;
12986
+ homepageRssBySlug(companySlug: string, slug: string): Promise<HttpResponse<string>>;
12987
+ homepageRssOppslagByDomain(domainName: string): Promise<HttpResponse<string>>;
12988
+ homepageRssOppslagBySlug(companySlug: string): Promise<HttpResponse<string>>;
12989
+ homepageRssPraktiskInfoByDomain(domainName: string): Promise<HttpResponse<string>>;
12990
+ homepageRssPraktiskInfoBySlug(companySlug: string): Promise<HttpResponse<string>>;
12985
12991
  listHomepageNotificationGroups(companyId: bigint): Promise<HttpResponse<KtList<NotificationGroup>>>;
12986
12992
  showContent(contentTypeIdentifier: string, companyId: bigint, contentId: string, fileName: string, size?: Nullable<string>): Promise<HttpResponse<void>>;
12987
12993
  showHomepage(companyId: bigint): Promise<HttpResponse<Homepage>>;