@solibo/home-api 1.29.3 → 1.30.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.
@@ -223,6 +223,11 @@ 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]);
226
231
  function cancel$default_0(cause, $super) {
227
232
  cause = cause === VOID ? null : cause;
228
233
  var tmp;
@@ -235,12 +240,7 @@ function cancel$default_0(cause, $super) {
235
240
  return tmp;
236
241
  }
237
242
  initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
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]);
243
+ initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [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, [ReceiveChannel, SendChannel], [1, 0]);
253
+ initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [SendChannel, ReceiveChannel], [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]);
@@ -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
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
84
83
  SendChannel38sllbxw662ws as SendChannel,
84
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
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, [ReceiveChannel, SendChannel], [1, 0]);
148
+ initMetadataForClass(BoundedChannel, 'BoundedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 0]);
149
149
  initMetadataForClass(ChannelOverflowException, 'ChannelOverflowException', VOID, RuntimeException);
150
150
  initMetadataForInterface(WebSocketExtension, 'WebSocketExtension');
151
151
  initMetadataForClass(WebSocketExtensionsConfig, 'WebSocketExtensionsConfig', WebSocketExtensionsConfig);
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "directory": "sdk/home-api"
18
18
  },
19
19
  "main": "solibo-sdk-sdk-home-api.mjs",
20
- "version": "1.29.3",
20
+ "version": "1.30.0",
21
21
  "name": "@solibo/home-api",
22
22
  "dependencies": {
23
23
  "ws": "8.21.3",
@@ -8862,10 +8862,11 @@ export declare namespace HmsSettingsRefusalReason {
8862
8862
  }
8863
8863
  }
8864
8864
  export declare class Homepage {
8865
- constructor(company: Company, image?: Nullable<Document>);
8865
+ constructor(company: Company, image: Nullable<Document> | undefined, settings: HomepageSettings);
8866
8866
  get company(): Company;
8867
8867
  get image(): Nullable<Document>;
8868
- copy(company?: Company, image?: Nullable<Document>): Homepage;
8868
+ get settings(): HomepageSettings;
8869
+ copy(company?: Company, image?: Nullable<Document>, settings?: HomepageSettings): Homepage;
8869
8870
  toString(): string;
8870
8871
  hashCode(): number;
8871
8872
  equals(other: Nullable<any>): boolean;
@@ -8876,6 +8877,22 @@ export declare namespace Homepage {
8876
8877
  const constructor: abstract new () => Homepage;
8877
8878
  }
8878
8879
  }
8880
+ export declare class HomepageSettings {
8881
+ constructor(defaultPostCommentsEnabled: boolean, neighborhoodAppEnabled: boolean, neighborhoodEnabled: boolean);
8882
+ get defaultPostCommentsEnabled(): boolean;
8883
+ get neighborhoodAppEnabled(): boolean;
8884
+ get neighborhoodEnabled(): boolean;
8885
+ copy(defaultPostCommentsEnabled?: boolean, neighborhoodAppEnabled?: boolean, neighborhoodEnabled?: boolean): HomepageSettings;
8886
+ toString(): string;
8887
+ hashCode(): number;
8888
+ equals(other: Nullable<any>): boolean;
8889
+ }
8890
+ export declare namespace HomepageSettings {
8891
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
8892
+ namespace $metadata$ {
8893
+ const constructor: abstract new () => HomepageSettings;
8894
+ }
8895
+ }
8879
8896
  export declare abstract class IncomingEventBusMessage {
8880
8897
  private constructor();
8881
8898
  }
@@ -13071,6 +13088,21 @@ export declare namespace Office365ManagedDocumentCopyRequest {
13071
13088
  const constructor: abstract new () => Office365ManagedDocumentCopyRequest;
13072
13089
  }
13073
13090
  }
13091
+ export declare class OpenHomepage {
13092
+ constructor(company: Company, image?: Nullable<Document>);
13093
+ get company(): Company;
13094
+ get image(): Nullable<Document>;
13095
+ copy(company?: Company, image?: Nullable<Document>): OpenHomepage;
13096
+ toString(): string;
13097
+ hashCode(): number;
13098
+ equals(other: Nullable<any>): boolean;
13099
+ }
13100
+ export declare namespace OpenHomepage {
13101
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
13102
+ namespace $metadata$ {
13103
+ const constructor: abstract new () => OpenHomepage;
13104
+ }
13105
+ }
13074
13106
  export declare class Oppgave {
13075
13107
  constructor(avvik?: Nullable<KtList<Avvik>>, oppgaveeier?: Nullable<Oppgaveeier>, oppgavenoekkel?: Nullable<string>);
13076
13108
  get avvik(): Nullable<KtList<Avvik>>;
@@ -21886,6 +21918,22 @@ export declare namespace UpdateHmsSettingsCommand {
21886
21918
  const constructor: abstract new () => UpdateHmsSettingsCommand;
21887
21919
  }
21888
21920
  }
21921
+ export declare class UpdateHomepageSettingsCommand {
21922
+ constructor(defaultPostCommentsEnabled?: Nullable<boolean>, neighborhoodAppEnabled?: Nullable<boolean>, neighborhoodEnabled?: Nullable<boolean>);
21923
+ get defaultPostCommentsEnabled(): Nullable<boolean>;
21924
+ get neighborhoodAppEnabled(): Nullable<boolean>;
21925
+ get neighborhoodEnabled(): Nullable<boolean>;
21926
+ copy(defaultPostCommentsEnabled?: Nullable<boolean>, neighborhoodAppEnabled?: Nullable<boolean>, neighborhoodEnabled?: Nullable<boolean>): UpdateHomepageSettingsCommand;
21927
+ toString(): string;
21928
+ hashCode(): number;
21929
+ equals(other: Nullable<any>): boolean;
21930
+ }
21931
+ export declare namespace UpdateHomepageSettingsCommand {
21932
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
21933
+ namespace $metadata$ {
21934
+ const constructor: abstract new () => UpdateHomepageSettingsCommand;
21935
+ }
21936
+ }
21889
21937
  export declare class UpdateINAgreementCommand {
21890
21938
  constructor(inAgreement: boolean);
21891
21939
  get inAgreement(): boolean;
@@ -23694,11 +23742,13 @@ export declare class HomepageApi extends ApiClient.$metadata$.constructor {
23694
23742
  listOpenHomepageFeed(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPost>>;
23695
23743
  listOpenHomepagePracticalInformation(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPost>>;
23696
23744
  showHomepage(companyId: bigint, fields?: Nullable<string>): Promise<HttpResponse<Homepage>>;
23697
- showOpenHomepage(companySlug: string, fields?: Nullable<string>): Promise<HttpResponse<Homepage>>;
23698
- showOpenHomepageByDomain(domainName: string, fields?: Nullable<string>): Promise<HttpResponse<Homepage>>;
23745
+ showHomepageSettings(companyId: bigint, fields?: Nullable<string>): Promise<HttpResponse<HomepageSettings>>;
23746
+ showOpenHomepage(companySlug: string, fields?: Nullable<string>): Promise<HttpResponse<OpenHomepage>>;
23747
+ showOpenHomepageByDomain(domainName: string, fields?: Nullable<string>): Promise<HttpResponse<OpenHomepage>>;
23699
23748
  showOpenHomepageDocument(companyId: bigint, postId: bigint, documentId: bigint, redirect?: Nullable<boolean>, size?: Nullable<string>, fields?: Nullable<string>, fit?: Nullable<string>, position?: Nullable<string>, format?: Nullable<string>, quality?: Nullable<string>, upscale?: Nullable<string>, background?: Nullable<string>): Promise<HttpResponse<UrlWrapper>>;
23700
23749
  showOpenHomepageDocumentsByPost(companyId: bigint, postId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListDocument>>;
23701
23750
  updateFeedWeighting(companyId: bigint, updateFeedWeightingCommand: UpdateFeedWeightingCommand): Promise<HttpResponse<void>>;
23751
+ updateHomepageSettings(companyId: bigint, updateHomepageSettingsCommand: UpdateHomepageSettingsCommand): Promise<HttpResponse<HomepageSettings>>;
23702
23752
  updatePost(companyId: bigint, postId: bigint, updatePostCommand: UpdatePostCommand, purchaseBundleId?: Nullable<bigint>, publishChanges?: Nullable<boolean>): Promise<HttpResponse<Post>>;
23703
23753
  updatePracticalInfo(companyId: bigint, practicalInformationId: bigint, updatePostCommand: UpdatePostCommand, purchaseBundleId?: Nullable<bigint>, publishChanges?: Nullable<boolean>): Promise<HttpResponse<Post>>;
23704
23754
  }