@solibo/home-api 1.22.2 → 1.22.3

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.22.2",
20
+ "version": "1.22.3",
21
21
  "name": "@solibo/home-api",
22
22
  "dependencies": {
23
23
  "ws": "8.21.3",
@@ -12155,6 +12155,85 @@ export declare namespace NeighborhoodPostStatus {
12155
12155
  }
12156
12156
  }
12157
12157
  }
12158
+ export declare class NewCommunicationCommentPushPayload extends PushNotificationPayload.$metadata$.constructor {
12159
+ constructor(companyId: bigint, commentId: bigint, parentCommentId: Nullable<bigint> | undefined, postId: bigint, postType: PushNotificationCommentPostType);
12160
+ get companyId(): bigint;
12161
+ get commentId(): bigint;
12162
+ get parentCommentId(): Nullable<bigint>;
12163
+ get postId(): bigint;
12164
+ get postType(): PushNotificationCommentPostType;
12165
+ copy(companyId?: bigint, commentId?: bigint, parentCommentId?: Nullable<bigint>, postId?: bigint, postType?: PushNotificationCommentPostType): NewCommunicationCommentPushPayload;
12166
+ toString(): string;
12167
+ hashCode(): number;
12168
+ equals(other: Nullable<any>): boolean;
12169
+ }
12170
+ export declare namespace NewCommunicationCommentPushPayload {
12171
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12172
+ namespace $metadata$ {
12173
+ const constructor: abstract new () => NewCommunicationCommentPushPayload;
12174
+ }
12175
+ }
12176
+ export declare class NewMessageInConversationPushPayload extends PushNotificationPayload.$metadata$.constructor {
12177
+ constructor(companyId: bigint, conversationId: bigint);
12178
+ get companyId(): bigint;
12179
+ get conversationId(): bigint;
12180
+ copy(companyId?: bigint, conversationId?: bigint): NewMessageInConversationPushPayload;
12181
+ toString(): string;
12182
+ hashCode(): number;
12183
+ equals(other: Nullable<any>): boolean;
12184
+ }
12185
+ export declare namespace NewMessageInConversationPushPayload {
12186
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12187
+ namespace $metadata$ {
12188
+ const constructor: abstract new () => NewMessageInConversationPushPayload;
12189
+ }
12190
+ }
12191
+ export declare class NewNeighborhoodPostPushPayload extends PushNotificationPayload.$metadata$.constructor {
12192
+ constructor(companyId: bigint, groupId: Nullable<bigint> | undefined, postId: bigint);
12193
+ get companyId(): bigint;
12194
+ get groupId(): Nullable<bigint>;
12195
+ get postId(): bigint;
12196
+ copy(companyId?: bigint, groupId?: Nullable<bigint>, postId?: bigint): NewNeighborhoodPostPushPayload;
12197
+ toString(): string;
12198
+ hashCode(): number;
12199
+ equals(other: Nullable<any>): boolean;
12200
+ }
12201
+ export declare namespace NewNeighborhoodPostPushPayload {
12202
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12203
+ namespace $metadata$ {
12204
+ const constructor: abstract new () => NewNeighborhoodPostPushPayload;
12205
+ }
12206
+ }
12207
+ export declare class NewOppslagPushPayload extends PushNotificationPayload.$metadata$.constructor {
12208
+ constructor(companyId: bigint, postId: bigint);
12209
+ get companyId(): bigint;
12210
+ get postId(): bigint;
12211
+ copy(companyId?: bigint, postId?: bigint): NewOppslagPushPayload;
12212
+ toString(): string;
12213
+ hashCode(): number;
12214
+ equals(other: Nullable<any>): boolean;
12215
+ }
12216
+ export declare namespace NewOppslagPushPayload {
12217
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12218
+ namespace $metadata$ {
12219
+ const constructor: abstract new () => NewOppslagPushPayload;
12220
+ }
12221
+ }
12222
+ export declare class NewPracticalInfoPushPayload extends PushNotificationPayload.$metadata$.constructor {
12223
+ constructor(companyId: bigint, postId: bigint);
12224
+ get companyId(): bigint;
12225
+ get postId(): bigint;
12226
+ copy(companyId?: bigint, postId?: bigint): NewPracticalInfoPushPayload;
12227
+ toString(): string;
12228
+ hashCode(): number;
12229
+ equals(other: Nullable<any>): boolean;
12230
+ }
12231
+ export declare namespace NewPracticalInfoPushPayload {
12232
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
12233
+ namespace $metadata$ {
12234
+ const constructor: abstract new () => NewPracticalInfoPushPayload;
12235
+ }
12236
+ }
12158
12237
  export declare class Newsletter {
12159
12238
  constructor(attachments: Nullable<KtList<Document>> | undefined, directRecipients: KtList<string>, htmlText: string, id: bigint, notificationGroups: KtList<NotificationGroup>, plainText: string, publishedAt: Nullable<any>/* Nullable<Instant> */ | undefined, recipientStatus: Nullable<KtList<MassCommunicationRecipientStatus>> | undefined, recipientsAtPublish: Nullable<MassCommunicationGroups> | undefined, renderedHtmlText: Nullable<string> | undefined, reviewers: Nullable<KtList<bigint>> | undefined, subject: string);
12160
12239
  get attachments(): Nullable<KtList<Document>>;
@@ -14055,6 +14134,22 @@ export declare namespace PagedListPushNotificationInboxItem {
14055
14134
  const constructor: abstract new () => PagedListPushNotificationInboxItem;
14056
14135
  }
14057
14136
  }
14137
+ export declare class PagedListPushNotificationPayloadType {
14138
+ constructor(items: KtList<PushNotificationPayloadType>, meta: Meta, paging: Paging);
14139
+ get items(): KtList<PushNotificationPayloadType>;
14140
+ get meta(): Meta;
14141
+ get paging(): Paging;
14142
+ copy(items?: KtList<PushNotificationPayloadType>, meta?: Meta, paging?: Paging): PagedListPushNotificationPayloadType;
14143
+ toString(): string;
14144
+ hashCode(): number;
14145
+ equals(other: Nullable<any>): boolean;
14146
+ }
14147
+ export declare namespace PagedListPushNotificationPayloadType {
14148
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14149
+ namespace $metadata$ {
14150
+ const constructor: abstract new () => PagedListPushNotificationPayloadType;
14151
+ }
14152
+ }
14058
14153
  export declare class PagedListQueuedInvoice {
14059
14154
  constructor(items: KtList<QueuedInvoice>, meta: Meta, paging: Paging);
14060
14155
  get items(): KtList<QueuedInvoice>;
@@ -16098,13 +16193,124 @@ export declare namespace PublicMessage {
16098
16193
  const constructor: abstract new () => PublicMessage;
16099
16194
  }
16100
16195
  }
16196
+ export declare abstract class PushNotificationClassifier {
16197
+ private constructor();
16198
+ static get NEW_OPPSLAG(): PushNotificationClassifier & {
16199
+ get name(): "NEW_OPPSLAG";
16200
+ get ordinal(): 0;
16201
+ };
16202
+ static get NEW_PRACTICAL_INFO(): PushNotificationClassifier & {
16203
+ get name(): "NEW_PRACTICAL_INFO";
16204
+ get ordinal(): 1;
16205
+ };
16206
+ static get NEW_MESSAGE_IN_CONVERSATION(): PushNotificationClassifier & {
16207
+ get name(): "NEW_MESSAGE_IN_CONVERSATION";
16208
+ get ordinal(): 2;
16209
+ };
16210
+ static get NEW_NEIGHBORHOOD_POST(): PushNotificationClassifier & {
16211
+ get name(): "NEW_NEIGHBORHOOD_POST";
16212
+ get ordinal(): 3;
16213
+ };
16214
+ static get NEW_COMMUNICATION_COMMENT(): PushNotificationClassifier & {
16215
+ get name(): "NEW_COMMUNICATION_COMMENT";
16216
+ get ordinal(): 4;
16217
+ };
16218
+ static get NewOppslag(): PushNotificationClassifier & {
16219
+ get name(): "NEW_OPPSLAG";
16220
+ get ordinal(): 0;
16221
+ };
16222
+ static get NewPracticalInfo(): PushNotificationClassifier & {
16223
+ get name(): "NEW_PRACTICAL_INFO";
16224
+ get ordinal(): 1;
16225
+ };
16226
+ static get NewMessageInConversation(): PushNotificationClassifier & {
16227
+ get name(): "NEW_MESSAGE_IN_CONVERSATION";
16228
+ get ordinal(): 2;
16229
+ };
16230
+ static get NewNeighborhoodPost(): PushNotificationClassifier & {
16231
+ get name(): "NEW_NEIGHBORHOOD_POST";
16232
+ get ordinal(): 3;
16233
+ };
16234
+ static get NewCommunicationComment(): PushNotificationClassifier & {
16235
+ get name(): "NEW_COMMUNICATION_COMMENT";
16236
+ get ordinal(): 4;
16237
+ };
16238
+ static values(): [typeof PushNotificationClassifier.NEW_OPPSLAG, typeof PushNotificationClassifier.NEW_PRACTICAL_INFO, typeof PushNotificationClassifier.NEW_MESSAGE_IN_CONVERSATION, typeof PushNotificationClassifier.NEW_NEIGHBORHOOD_POST, typeof PushNotificationClassifier.NEW_COMMUNICATION_COMMENT];
16239
+ static valueOf(value: string): PushNotificationClassifier;
16240
+ get name(): "NEW_OPPSLAG" | "NEW_PRACTICAL_INFO" | "NEW_MESSAGE_IN_CONVERSATION" | "NEW_NEIGHBORHOOD_POST" | "NEW_COMMUNICATION_COMMENT";
16241
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
16242
+ get value(): string;
16243
+ toString(): string;
16244
+ }
16245
+ export declare namespace PushNotificationClassifier {
16246
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16247
+ namespace $metadata$ {
16248
+ const constructor: abstract new () => PushNotificationClassifier;
16249
+ }
16250
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
16251
+ private constructor();
16252
+ }
16253
+ namespace Companion {
16254
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16255
+ namespace $metadata$ {
16256
+ abstract class constructor /* implements SerializerFactory */ {
16257
+ fromValue(value: string): Nullable<PushNotificationClassifier>;
16258
+ private constructor();
16259
+ }
16260
+ }
16261
+ }
16262
+ }
16263
+ export declare abstract class PushNotificationCommentPostType {
16264
+ private constructor();
16265
+ static get HOMEPAGE(): PushNotificationCommentPostType & {
16266
+ get name(): "HOMEPAGE";
16267
+ get ordinal(): 0;
16268
+ };
16269
+ static get NEIGHBORHOOD(): PushNotificationCommentPostType & {
16270
+ get name(): "NEIGHBORHOOD";
16271
+ get ordinal(): 1;
16272
+ };
16273
+ static get Homepage(): PushNotificationCommentPostType & {
16274
+ get name(): "HOMEPAGE";
16275
+ get ordinal(): 0;
16276
+ };
16277
+ static get Neighborhood(): PushNotificationCommentPostType & {
16278
+ get name(): "NEIGHBORHOOD";
16279
+ get ordinal(): 1;
16280
+ };
16281
+ static values(): [typeof PushNotificationCommentPostType.HOMEPAGE, typeof PushNotificationCommentPostType.NEIGHBORHOOD];
16282
+ static valueOf(value: string): PushNotificationCommentPostType;
16283
+ get name(): "HOMEPAGE" | "NEIGHBORHOOD";
16284
+ get ordinal(): 0 | 1;
16285
+ get value(): string;
16286
+ toString(): string;
16287
+ }
16288
+ export declare namespace PushNotificationCommentPostType {
16289
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16290
+ namespace $metadata$ {
16291
+ const constructor: abstract new () => PushNotificationCommentPostType;
16292
+ }
16293
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
16294
+ private constructor();
16295
+ }
16296
+ namespace Companion {
16297
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16298
+ namespace $metadata$ {
16299
+ abstract class constructor /* implements SerializerFactory */ {
16300
+ fromValue(value: string): Nullable<PushNotificationCommentPostType>;
16301
+ private constructor();
16302
+ }
16303
+ }
16304
+ }
16305
+ }
16101
16306
  export declare class PushNotificationInboxItem {
16102
- constructor(body: Nullable<string> | undefined, companyId: bigint, data: Nullable<KtMap<string, Nullable<string>>> | undefined, notificationType: Nullable<string> | undefined, openedAt: Nullable<any>/* Nullable<Instant> */ | undefined, read: Nullable<boolean> | undefined, readAt: Nullable<any>/* Nullable<Instant> */ | undefined, receivedAt: Nullable<any>/* Nullable<Instant> */ | undefined, sentAt: any/* Instant */, state: Nullable<CommunicationState> | undefined, title: Nullable<string> | undefined, trackingId: string, updatedAt: any/* Instant */);
16307
+ constructor(body: Nullable<string> | undefined, companyId: bigint, data: Nullable<KtMap<string, Nullable<string>>> | undefined, notificationType: Nullable<string> | undefined, openedAt: Nullable<any>/* Nullable<Instant> */ | undefined, payload: Nullable<PushNotificationPayload> | undefined, read: Nullable<boolean> | undefined, readAt: Nullable<any>/* Nullable<Instant> */ | undefined, receivedAt: Nullable<any>/* Nullable<Instant> */ | undefined, sentAt: any/* Instant */, state: Nullable<CommunicationState> | undefined, title: Nullable<string> | undefined, trackingId: string, updatedAt: any/* Instant */);
16103
16308
  get body(): Nullable<string>;
16104
16309
  get companyId(): bigint;
16105
16310
  get data(): Nullable<KtMap<string, Nullable<string>>>;
16106
16311
  get notificationType(): Nullable<string>;
16107
16312
  get openedAt(): Nullable<any>/* Nullable<Instant> */;
16313
+ get payload(): Nullable<PushNotificationPayload>;
16108
16314
  get read(): Nullable<boolean>;
16109
16315
  get readAt(): Nullable<any>/* Nullable<Instant> */;
16110
16316
  get receivedAt(): Nullable<any>/* Nullable<Instant> */;
@@ -16113,7 +16319,7 @@ export declare class PushNotificationInboxItem {
16113
16319
  get title(): Nullable<string>;
16114
16320
  get trackingId(): string;
16115
16321
  get updatedAt(): any/* Instant */;
16116
- copy(body?: Nullable<string>, companyId?: bigint, data?: Nullable<KtMap<string, Nullable<string>>>, notificationType?: Nullable<string>, openedAt?: Nullable<any>/* Nullable<Instant> */, read?: Nullable<boolean>, readAt?: Nullable<any>/* Nullable<Instant> */, receivedAt?: Nullable<any>/* Nullable<Instant> */, sentAt?: any/* Instant */, state?: Nullable<CommunicationState>, title?: Nullable<string>, trackingId?: string, updatedAt?: any/* Instant */): PushNotificationInboxItem;
16322
+ copy(body?: Nullable<string>, companyId?: bigint, data?: Nullable<KtMap<string, Nullable<string>>>, notificationType?: Nullable<string>, openedAt?: Nullable<any>/* Nullable<Instant> */, payload?: Nullable<PushNotificationPayload>, read?: Nullable<boolean>, readAt?: Nullable<any>/* Nullable<Instant> */, receivedAt?: Nullable<any>/* Nullable<Instant> */, sentAt?: any/* Instant */, state?: Nullable<CommunicationState>, title?: Nullable<string>, trackingId?: string, updatedAt?: any/* Instant */): PushNotificationInboxItem;
16117
16323
  toString(): string;
16118
16324
  hashCode(): number;
16119
16325
  equals(other: Nullable<any>): boolean;
@@ -16124,6 +16330,113 @@ export declare namespace PushNotificationInboxItem {
16124
16330
  const constructor: abstract new () => PushNotificationInboxItem;
16125
16331
  }
16126
16332
  }
16333
+ export declare abstract class PushNotificationPayload {
16334
+ private constructor();
16335
+ abstract get companyId(): bigint;
16336
+ }
16337
+ export declare namespace PushNotificationPayload {
16338
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16339
+ namespace $metadata$ {
16340
+ const constructor: abstract new () => PushNotificationPayload;
16341
+ }
16342
+ }
16343
+ export declare abstract class PushNotificationPayloadDiscriminator {
16344
+ private constructor();
16345
+ static get NEW_COMMUNICATION_COMMENT(): PushNotificationPayloadDiscriminator & {
16346
+ get name(): "NEW_COMMUNICATION_COMMENT";
16347
+ get ordinal(): 0;
16348
+ };
16349
+ static get NEW_MESSAGE_IN_CONVERSATION(): PushNotificationPayloadDiscriminator & {
16350
+ get name(): "NEW_MESSAGE_IN_CONVERSATION";
16351
+ get ordinal(): 1;
16352
+ };
16353
+ static get NEW_NEIGHBORHOOD_POST(): PushNotificationPayloadDiscriminator & {
16354
+ get name(): "NEW_NEIGHBORHOOD_POST";
16355
+ get ordinal(): 2;
16356
+ };
16357
+ static get NEW_OPPSLAG(): PushNotificationPayloadDiscriminator & {
16358
+ get name(): "NEW_OPPSLAG";
16359
+ get ordinal(): 3;
16360
+ };
16361
+ static get NEW_PRACTICAL_INFO(): PushNotificationPayloadDiscriminator & {
16362
+ get name(): "NEW_PRACTICAL_INFO";
16363
+ get ordinal(): 4;
16364
+ };
16365
+ static get NewCommunicationComment(): PushNotificationPayloadDiscriminator & {
16366
+ get name(): "NEW_COMMUNICATION_COMMENT";
16367
+ get ordinal(): 0;
16368
+ };
16369
+ static get NewMessageInConversation(): PushNotificationPayloadDiscriminator & {
16370
+ get name(): "NEW_MESSAGE_IN_CONVERSATION";
16371
+ get ordinal(): 1;
16372
+ };
16373
+ static get NewNeighborhoodPost(): PushNotificationPayloadDiscriminator & {
16374
+ get name(): "NEW_NEIGHBORHOOD_POST";
16375
+ get ordinal(): 2;
16376
+ };
16377
+ static get NewOppslag(): PushNotificationPayloadDiscriminator & {
16378
+ get name(): "NEW_OPPSLAG";
16379
+ get ordinal(): 3;
16380
+ };
16381
+ static get NewPracticalInfo(): PushNotificationPayloadDiscriminator & {
16382
+ get name(): "NEW_PRACTICAL_INFO";
16383
+ get ordinal(): 4;
16384
+ };
16385
+ static values(): [typeof PushNotificationPayloadDiscriminator.NEW_COMMUNICATION_COMMENT, typeof PushNotificationPayloadDiscriminator.NEW_MESSAGE_IN_CONVERSATION, typeof PushNotificationPayloadDiscriminator.NEW_NEIGHBORHOOD_POST, typeof PushNotificationPayloadDiscriminator.NEW_OPPSLAG, typeof PushNotificationPayloadDiscriminator.NEW_PRACTICAL_INFO];
16386
+ static valueOf(value: string): PushNotificationPayloadDiscriminator;
16387
+ get name(): "NEW_COMMUNICATION_COMMENT" | "NEW_MESSAGE_IN_CONVERSATION" | "NEW_NEIGHBORHOOD_POST" | "NEW_OPPSLAG" | "NEW_PRACTICAL_INFO";
16388
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
16389
+ get value(): string;
16390
+ toString(): string;
16391
+ }
16392
+ export declare namespace PushNotificationPayloadDiscriminator {
16393
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16394
+ namespace $metadata$ {
16395
+ const constructor: abstract new () => PushNotificationPayloadDiscriminator;
16396
+ }
16397
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
16398
+ private constructor();
16399
+ }
16400
+ namespace Companion {
16401
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16402
+ namespace $metadata$ {
16403
+ abstract class constructor /* implements SerializerFactory */ {
16404
+ fromValue(value: string): Nullable<PushNotificationPayloadDiscriminator>;
16405
+ private constructor();
16406
+ }
16407
+ }
16408
+ }
16409
+ }
16410
+ export declare class PushNotificationPayloadField {
16411
+ constructor(name: string, required: boolean);
16412
+ get name(): string;
16413
+ get required(): boolean;
16414
+ copy(name?: string, required?: boolean): PushNotificationPayloadField;
16415
+ toString(): string;
16416
+ hashCode(): number;
16417
+ equals(other: Nullable<any>): boolean;
16418
+ }
16419
+ export declare namespace PushNotificationPayloadField {
16420
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16421
+ namespace $metadata$ {
16422
+ const constructor: abstract new () => PushNotificationPayloadField;
16423
+ }
16424
+ }
16425
+ export declare class PushNotificationPayloadType {
16426
+ constructor(fields: KtList<PushNotificationPayloadField>, type: PushNotificationClassifier);
16427
+ get fields(): KtList<PushNotificationPayloadField>;
16428
+ get type(): PushNotificationClassifier;
16429
+ copy(fields?: KtList<PushNotificationPayloadField>, type?: PushNotificationClassifier): PushNotificationPayloadType;
16430
+ toString(): string;
16431
+ hashCode(): number;
16432
+ equals(other: Nullable<any>): boolean;
16433
+ }
16434
+ export declare namespace PushNotificationPayloadType {
16435
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16436
+ namespace $metadata$ {
16437
+ const constructor: abstract new () => PushNotificationPayloadType;
16438
+ }
16439
+ }
16127
16440
  export declare class PutCommunicationReactionCommand {
16128
16441
  constructor(reaction: string);
16129
16442
  get reaction(): string;
@@ -22285,6 +22598,7 @@ export declare class CommunicationApi extends ApiClient.$metadata$.constructor {
22285
22598
  indexEmailNewsletters(companyId: bigint, search?: Nullable<string>, published?: Nullable<boolean>, publishedAtFrom?: Nullable<bigint>, publishedAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListNewsletter>>;
22286
22599
  indexNewslettersUser(search?: Nullable<string>, companyIds?: Nullable<KtList<bigint>>, published?: Nullable<boolean>, publishedAtFrom?: Nullable<bigint>, publishedAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListNewsletter>>;
22287
22600
  indexPushNotificationInbox(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPushNotificationInboxItem>>;
22601
+ indexPushNotificationTypes(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPushNotificationPayloadType>>;
22288
22602
  indexSMSBroadcasts(companyId: bigint, search?: Nullable<string>, published?: Nullable<boolean>, publishedAtFrom?: Nullable<bigint>, publishedAtTo?: Nullable<bigint>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListSMSBroadcast>>;
22289
22603
  indexSMSBundleAvailable(companyId: bigint, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListSMSBundle>>;
22290
22604
  indexSMSNotificationGroups(companyId: bigint, fields?: Nullable<string>): Promise<HttpResponse<MassCommunicationGroups>>;