@solibo/solibo-sdk 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.
- package/client.d.mts +14 -0
- package/client.mjs +68 -0
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +12 -12
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +2 -2
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +13777 -11746
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +327 -1
- package/solibo-sdk-sdk.mjs +39 -3
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -7,6 +7,7 @@ export type SoliboLocalDateTime = string & { readonly __soliboDateTimeType: 'Loc
|
|
|
7
7
|
export type ResidentProps = OrganizationResidentProps | PersonResidentProps;
|
|
8
8
|
export type ParticipantProps = BoardParticipantProps | ClientUserParticipantProps | EmployeeParticipantProps | InquiryParticipantProps | OrganizationParticipantProps | PersonParticipantProps | SupplierContactParticipantProps;
|
|
9
9
|
export type CustomerProps = OrganizationCustomerProps | PersonCustomerProps;
|
|
10
|
+
export type PushNotificationPayloadProps = NewCommunicationCommentPushPayloadProps | NewMessageInConversationPushPayloadProps | NewNeighborhoodPostPushPayloadProps | NewOppslagPushPayloadProps | NewPracticalInfoPushPayloadProps;
|
|
10
11
|
export type ThirdPartyInformationErrorProps = ThirdPartyInformationAltinnErrorProps | ThirdPartyInformationEmailErrorProps | ThirdPartyInformationPostenErrorProps | ThirdPartyInformationProcessErrorProps;
|
|
11
12
|
export type WebSocketPayloadProps = ConversationEventPayloadProps | ConversationMessagePayloadProps | ConversationTypingPayloadProps | ConversationUpdatedPayloadProps | GenericPayloadProps;
|
|
12
13
|
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
@@ -13913,6 +13914,94 @@ export declare namespace NeighborhoodPostStatus {
|
|
|
13913
13914
|
}
|
|
13914
13915
|
}
|
|
13915
13916
|
}
|
|
13917
|
+
export interface NewCommunicationCommentPushPayloadProps {
|
|
13918
|
+
companyId: bigint;
|
|
13919
|
+
commentId: bigint;
|
|
13920
|
+
parentCommentId?: bigint | null | undefined;
|
|
13921
|
+
postId: bigint;
|
|
13922
|
+
postType: PushNotificationCommentPostType;
|
|
13923
|
+
}
|
|
13924
|
+
export declare class NewCommunicationCommentPushPayload extends PushNotificationPayload.$metadata$.constructor {
|
|
13925
|
+
constructor(props: NewCommunicationCommentPushPayloadProps);
|
|
13926
|
+
constructor(companyId: bigint, commentId: bigint, parentCommentId: bigint | null | undefined, postId: bigint, postType: PushNotificationCommentPostType);
|
|
13927
|
+
get companyId(): bigint;
|
|
13928
|
+
get commentId(): bigint;
|
|
13929
|
+
get parentCommentId(): bigint | null | undefined;
|
|
13930
|
+
get postId(): bigint;
|
|
13931
|
+
get postType(): PushNotificationCommentPostType;
|
|
13932
|
+
}
|
|
13933
|
+
export declare namespace NewCommunicationCommentPushPayload {
|
|
13934
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13935
|
+
namespace $metadata$ {
|
|
13936
|
+
const constructor: abstract new () => NewCommunicationCommentPushPayload;
|
|
13937
|
+
}
|
|
13938
|
+
}
|
|
13939
|
+
export interface NewMessageInConversationPushPayloadProps {
|
|
13940
|
+
companyId: bigint;
|
|
13941
|
+
conversationId: bigint;
|
|
13942
|
+
}
|
|
13943
|
+
export declare class NewMessageInConversationPushPayload extends PushNotificationPayload.$metadata$.constructor {
|
|
13944
|
+
constructor(props: NewMessageInConversationPushPayloadProps);
|
|
13945
|
+
constructor(companyId: bigint, conversationId: bigint);
|
|
13946
|
+
get companyId(): bigint;
|
|
13947
|
+
get conversationId(): bigint;
|
|
13948
|
+
}
|
|
13949
|
+
export declare namespace NewMessageInConversationPushPayload {
|
|
13950
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13951
|
+
namespace $metadata$ {
|
|
13952
|
+
const constructor: abstract new () => NewMessageInConversationPushPayload;
|
|
13953
|
+
}
|
|
13954
|
+
}
|
|
13955
|
+
export interface NewNeighborhoodPostPushPayloadProps {
|
|
13956
|
+
companyId: bigint;
|
|
13957
|
+
groupId?: bigint | null | undefined;
|
|
13958
|
+
postId: bigint;
|
|
13959
|
+
}
|
|
13960
|
+
export declare class NewNeighborhoodPostPushPayload extends PushNotificationPayload.$metadata$.constructor {
|
|
13961
|
+
constructor(props: NewNeighborhoodPostPushPayloadProps);
|
|
13962
|
+
constructor(companyId: bigint, groupId: bigint | null | undefined, postId: bigint);
|
|
13963
|
+
get companyId(): bigint;
|
|
13964
|
+
get groupId(): bigint | null | undefined;
|
|
13965
|
+
get postId(): bigint;
|
|
13966
|
+
}
|
|
13967
|
+
export declare namespace NewNeighborhoodPostPushPayload {
|
|
13968
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13969
|
+
namespace $metadata$ {
|
|
13970
|
+
const constructor: abstract new () => NewNeighborhoodPostPushPayload;
|
|
13971
|
+
}
|
|
13972
|
+
}
|
|
13973
|
+
export interface NewOppslagPushPayloadProps {
|
|
13974
|
+
companyId: bigint;
|
|
13975
|
+
postId: bigint;
|
|
13976
|
+
}
|
|
13977
|
+
export declare class NewOppslagPushPayload extends PushNotificationPayload.$metadata$.constructor {
|
|
13978
|
+
constructor(props: NewOppslagPushPayloadProps);
|
|
13979
|
+
constructor(companyId: bigint, postId: bigint);
|
|
13980
|
+
get companyId(): bigint;
|
|
13981
|
+
get postId(): bigint;
|
|
13982
|
+
}
|
|
13983
|
+
export declare namespace NewOppslagPushPayload {
|
|
13984
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13985
|
+
namespace $metadata$ {
|
|
13986
|
+
const constructor: abstract new () => NewOppslagPushPayload;
|
|
13987
|
+
}
|
|
13988
|
+
}
|
|
13989
|
+
export interface NewPracticalInfoPushPayloadProps {
|
|
13990
|
+
companyId: bigint;
|
|
13991
|
+
postId: bigint;
|
|
13992
|
+
}
|
|
13993
|
+
export declare class NewPracticalInfoPushPayload extends PushNotificationPayload.$metadata$.constructor {
|
|
13994
|
+
constructor(props: NewPracticalInfoPushPayloadProps);
|
|
13995
|
+
constructor(companyId: bigint, postId: bigint);
|
|
13996
|
+
get companyId(): bigint;
|
|
13997
|
+
get postId(): bigint;
|
|
13998
|
+
}
|
|
13999
|
+
export declare namespace NewPracticalInfoPushPayload {
|
|
14000
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
14001
|
+
namespace $metadata$ {
|
|
14002
|
+
const constructor: abstract new () => NewPracticalInfoPushPayload;
|
|
14003
|
+
}
|
|
14004
|
+
}
|
|
13916
14005
|
export interface NewsletterProps {
|
|
13917
14006
|
attachments?: DocumentProps[] | null | undefined;
|
|
13918
14007
|
directRecipients: string[];
|
|
@@ -16135,6 +16224,24 @@ export declare namespace PagedListPushNotificationInboxItem {
|
|
|
16135
16224
|
const constructor: abstract new () => PagedListPushNotificationInboxItem;
|
|
16136
16225
|
}
|
|
16137
16226
|
}
|
|
16227
|
+
export interface PagedListPushNotificationPayloadTypeProps {
|
|
16228
|
+
items: PushNotificationPayloadTypeProps[];
|
|
16229
|
+
meta: MetaProps;
|
|
16230
|
+
paging: PagingProps;
|
|
16231
|
+
}
|
|
16232
|
+
export declare class PagedListPushNotificationPayloadType {
|
|
16233
|
+
constructor(props: PagedListPushNotificationPayloadTypeProps);
|
|
16234
|
+
constructor(items: PushNotificationPayloadType[], meta: Meta, paging: Paging);
|
|
16235
|
+
get items(): PushNotificationPayloadType[];
|
|
16236
|
+
get meta(): Meta;
|
|
16237
|
+
get paging(): Paging;
|
|
16238
|
+
}
|
|
16239
|
+
export declare namespace PagedListPushNotificationPayloadType {
|
|
16240
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
16241
|
+
namespace $metadata$ {
|
|
16242
|
+
const constructor: abstract new () => PagedListPushNotificationPayloadType;
|
|
16243
|
+
}
|
|
16244
|
+
}
|
|
16138
16245
|
export interface PagedListQueuedInvoiceProps {
|
|
16139
16246
|
items: QueuedInvoiceProps[];
|
|
16140
16247
|
meta: MetaProps;
|
|
@@ -18480,12 +18587,121 @@ export declare namespace PublicMessage {
|
|
|
18480
18587
|
const constructor: abstract new () => PublicMessage;
|
|
18481
18588
|
}
|
|
18482
18589
|
}
|
|
18590
|
+
export declare abstract class PushNotificationClassifier {
|
|
18591
|
+
private constructor();
|
|
18592
|
+
static get NEW_OPPSLAG(): PushNotificationClassifier & {
|
|
18593
|
+
get name(): "NEW_OPPSLAG";
|
|
18594
|
+
get ordinal(): 0;
|
|
18595
|
+
};
|
|
18596
|
+
static get NEW_PRACTICAL_INFO(): PushNotificationClassifier & {
|
|
18597
|
+
get name(): "NEW_PRACTICAL_INFO";
|
|
18598
|
+
get ordinal(): 1;
|
|
18599
|
+
};
|
|
18600
|
+
static get NEW_MESSAGE_IN_CONVERSATION(): PushNotificationClassifier & {
|
|
18601
|
+
get name(): "NEW_MESSAGE_IN_CONVERSATION";
|
|
18602
|
+
get ordinal(): 2;
|
|
18603
|
+
};
|
|
18604
|
+
static get NEW_NEIGHBORHOOD_POST(): PushNotificationClassifier & {
|
|
18605
|
+
get name(): "NEW_NEIGHBORHOOD_POST";
|
|
18606
|
+
get ordinal(): 3;
|
|
18607
|
+
};
|
|
18608
|
+
static get NEW_COMMUNICATION_COMMENT(): PushNotificationClassifier & {
|
|
18609
|
+
get name(): "NEW_COMMUNICATION_COMMENT";
|
|
18610
|
+
get ordinal(): 4;
|
|
18611
|
+
};
|
|
18612
|
+
static get NewOppslag(): PushNotificationClassifier & {
|
|
18613
|
+
get name(): "NEW_OPPSLAG";
|
|
18614
|
+
get ordinal(): 0;
|
|
18615
|
+
};
|
|
18616
|
+
static get NewPracticalInfo(): PushNotificationClassifier & {
|
|
18617
|
+
get name(): "NEW_PRACTICAL_INFO";
|
|
18618
|
+
get ordinal(): 1;
|
|
18619
|
+
};
|
|
18620
|
+
static get NewMessageInConversation(): PushNotificationClassifier & {
|
|
18621
|
+
get name(): "NEW_MESSAGE_IN_CONVERSATION";
|
|
18622
|
+
get ordinal(): 2;
|
|
18623
|
+
};
|
|
18624
|
+
static get NewNeighborhoodPost(): PushNotificationClassifier & {
|
|
18625
|
+
get name(): "NEW_NEIGHBORHOOD_POST";
|
|
18626
|
+
get ordinal(): 3;
|
|
18627
|
+
};
|
|
18628
|
+
static get NewCommunicationComment(): PushNotificationClassifier & {
|
|
18629
|
+
get name(): "NEW_COMMUNICATION_COMMENT";
|
|
18630
|
+
get ordinal(): 4;
|
|
18631
|
+
};
|
|
18632
|
+
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];
|
|
18633
|
+
static valueOf(value: string): PushNotificationClassifier;
|
|
18634
|
+
get name(): "NEW_OPPSLAG" | "NEW_PRACTICAL_INFO" | "NEW_MESSAGE_IN_CONVERSATION" | "NEW_NEIGHBORHOOD_POST" | "NEW_COMMUNICATION_COMMENT";
|
|
18635
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
18636
|
+
get value(): string;
|
|
18637
|
+
}
|
|
18638
|
+
export declare namespace PushNotificationClassifier {
|
|
18639
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18640
|
+
namespace $metadata$ {
|
|
18641
|
+
const constructor: abstract new () => PushNotificationClassifier;
|
|
18642
|
+
}
|
|
18643
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
18644
|
+
private constructor();
|
|
18645
|
+
}
|
|
18646
|
+
namespace Companion {
|
|
18647
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18648
|
+
namespace $metadata$ {
|
|
18649
|
+
abstract class constructor /* implements SerializerFactory */ {
|
|
18650
|
+
fromValue(value: string): PushNotificationClassifier | null | undefined;
|
|
18651
|
+
private constructor();
|
|
18652
|
+
}
|
|
18653
|
+
}
|
|
18654
|
+
}
|
|
18655
|
+
}
|
|
18656
|
+
export declare abstract class PushNotificationCommentPostType {
|
|
18657
|
+
private constructor();
|
|
18658
|
+
static get HOMEPAGE(): PushNotificationCommentPostType & {
|
|
18659
|
+
get name(): "HOMEPAGE";
|
|
18660
|
+
get ordinal(): 0;
|
|
18661
|
+
};
|
|
18662
|
+
static get NEIGHBORHOOD(): PushNotificationCommentPostType & {
|
|
18663
|
+
get name(): "NEIGHBORHOOD";
|
|
18664
|
+
get ordinal(): 1;
|
|
18665
|
+
};
|
|
18666
|
+
static get Homepage(): PushNotificationCommentPostType & {
|
|
18667
|
+
get name(): "HOMEPAGE";
|
|
18668
|
+
get ordinal(): 0;
|
|
18669
|
+
};
|
|
18670
|
+
static get Neighborhood(): PushNotificationCommentPostType & {
|
|
18671
|
+
get name(): "NEIGHBORHOOD";
|
|
18672
|
+
get ordinal(): 1;
|
|
18673
|
+
};
|
|
18674
|
+
static values(): [typeof PushNotificationCommentPostType.HOMEPAGE, typeof PushNotificationCommentPostType.NEIGHBORHOOD];
|
|
18675
|
+
static valueOf(value: string): PushNotificationCommentPostType;
|
|
18676
|
+
get name(): "HOMEPAGE" | "NEIGHBORHOOD";
|
|
18677
|
+
get ordinal(): 0 | 1;
|
|
18678
|
+
get value(): string;
|
|
18679
|
+
}
|
|
18680
|
+
export declare namespace PushNotificationCommentPostType {
|
|
18681
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18682
|
+
namespace $metadata$ {
|
|
18683
|
+
const constructor: abstract new () => PushNotificationCommentPostType;
|
|
18684
|
+
}
|
|
18685
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
18686
|
+
private constructor();
|
|
18687
|
+
}
|
|
18688
|
+
namespace Companion {
|
|
18689
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18690
|
+
namespace $metadata$ {
|
|
18691
|
+
abstract class constructor /* implements SerializerFactory */ {
|
|
18692
|
+
fromValue(value: string): PushNotificationCommentPostType | null | undefined;
|
|
18693
|
+
private constructor();
|
|
18694
|
+
}
|
|
18695
|
+
}
|
|
18696
|
+
}
|
|
18697
|
+
}
|
|
18483
18698
|
export interface PushNotificationInboxItemProps {
|
|
18484
18699
|
body?: string | null | undefined;
|
|
18485
18700
|
companyId: bigint;
|
|
18486
18701
|
data?: Map<string, string | null | undefined> | null | undefined;
|
|
18487
18702
|
notificationType?: string | null | undefined;
|
|
18488
18703
|
openedAt?: SoliboInstant /* Instant */ | null | undefined;
|
|
18704
|
+
payload?: PushNotificationPayloadProps | null | undefined;
|
|
18489
18705
|
read?: boolean | null | undefined;
|
|
18490
18706
|
readAt?: SoliboInstant /* Instant */ | null | undefined;
|
|
18491
18707
|
receivedAt?: SoliboInstant /* Instant */ | null | undefined;
|
|
@@ -18497,12 +18713,13 @@ export interface PushNotificationInboxItemProps {
|
|
|
18497
18713
|
}
|
|
18498
18714
|
export declare class PushNotificationInboxItem {
|
|
18499
18715
|
constructor(props: PushNotificationInboxItemProps);
|
|
18500
|
-
constructor(body: string | null | undefined, companyId: bigint, data: Map<string, string | null | undefined> | null | undefined, notificationType: string | null | undefined, openedAt: SoliboInstant /* Instant */ | null | undefined, read: boolean | null | undefined, readAt: SoliboInstant /* Instant */ | null | undefined, receivedAt: SoliboInstant /* Instant */ | null | undefined, sentAt: SoliboInstant /* Instant */, state: CommunicationState | null | undefined, title: string | null | undefined, trackingId: string, updatedAt: SoliboInstant /* Instant */);
|
|
18716
|
+
constructor(body: string | null | undefined, companyId: bigint, data: Map<string, string | null | undefined> | null | undefined, notificationType: string | null | undefined, openedAt: SoliboInstant /* Instant */ | null | undefined, payload: PushNotificationPayload | null | undefined, read: boolean | null | undefined, readAt: SoliboInstant /* Instant */ | null | undefined, receivedAt: SoliboInstant /* Instant */ | null | undefined, sentAt: SoliboInstant /* Instant */, state: CommunicationState | null | undefined, title: string | null | undefined, trackingId: string, updatedAt: SoliboInstant /* Instant */);
|
|
18501
18717
|
get body(): string | null | undefined;
|
|
18502
18718
|
get companyId(): bigint;
|
|
18503
18719
|
get data(): Map<string, string | null | undefined> | null | undefined;
|
|
18504
18720
|
get notificationType(): string | null | undefined;
|
|
18505
18721
|
get openedAt(): SoliboInstant /* Instant */ | null | undefined;
|
|
18722
|
+
get payload(): PushNotificationPayload | null | undefined;
|
|
18506
18723
|
get read(): boolean | null | undefined;
|
|
18507
18724
|
get readAt(): SoliboInstant /* Instant */ | null | undefined;
|
|
18508
18725
|
get receivedAt(): SoliboInstant /* Instant */ | null | undefined;
|
|
@@ -18518,6 +18735,114 @@ export declare namespace PushNotificationInboxItem {
|
|
|
18518
18735
|
const constructor: abstract new () => PushNotificationInboxItem;
|
|
18519
18736
|
}
|
|
18520
18737
|
}
|
|
18738
|
+
export declare abstract class PushNotificationPayload {
|
|
18739
|
+
private constructor();
|
|
18740
|
+
abstract get companyId(): bigint;
|
|
18741
|
+
}
|
|
18742
|
+
export declare namespace PushNotificationPayload {
|
|
18743
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18744
|
+
namespace $metadata$ {
|
|
18745
|
+
const constructor: abstract new () => PushNotificationPayload;
|
|
18746
|
+
}
|
|
18747
|
+
}
|
|
18748
|
+
export declare abstract class PushNotificationPayloadDiscriminator {
|
|
18749
|
+
private constructor();
|
|
18750
|
+
static get NEW_COMMUNICATION_COMMENT(): PushNotificationPayloadDiscriminator & {
|
|
18751
|
+
get name(): "NEW_COMMUNICATION_COMMENT";
|
|
18752
|
+
get ordinal(): 0;
|
|
18753
|
+
};
|
|
18754
|
+
static get NEW_MESSAGE_IN_CONVERSATION(): PushNotificationPayloadDiscriminator & {
|
|
18755
|
+
get name(): "NEW_MESSAGE_IN_CONVERSATION";
|
|
18756
|
+
get ordinal(): 1;
|
|
18757
|
+
};
|
|
18758
|
+
static get NEW_NEIGHBORHOOD_POST(): PushNotificationPayloadDiscriminator & {
|
|
18759
|
+
get name(): "NEW_NEIGHBORHOOD_POST";
|
|
18760
|
+
get ordinal(): 2;
|
|
18761
|
+
};
|
|
18762
|
+
static get NEW_OPPSLAG(): PushNotificationPayloadDiscriminator & {
|
|
18763
|
+
get name(): "NEW_OPPSLAG";
|
|
18764
|
+
get ordinal(): 3;
|
|
18765
|
+
};
|
|
18766
|
+
static get NEW_PRACTICAL_INFO(): PushNotificationPayloadDiscriminator & {
|
|
18767
|
+
get name(): "NEW_PRACTICAL_INFO";
|
|
18768
|
+
get ordinal(): 4;
|
|
18769
|
+
};
|
|
18770
|
+
static get NewCommunicationComment(): PushNotificationPayloadDiscriminator & {
|
|
18771
|
+
get name(): "NEW_COMMUNICATION_COMMENT";
|
|
18772
|
+
get ordinal(): 0;
|
|
18773
|
+
};
|
|
18774
|
+
static get NewMessageInConversation(): PushNotificationPayloadDiscriminator & {
|
|
18775
|
+
get name(): "NEW_MESSAGE_IN_CONVERSATION";
|
|
18776
|
+
get ordinal(): 1;
|
|
18777
|
+
};
|
|
18778
|
+
static get NewNeighborhoodPost(): PushNotificationPayloadDiscriminator & {
|
|
18779
|
+
get name(): "NEW_NEIGHBORHOOD_POST";
|
|
18780
|
+
get ordinal(): 2;
|
|
18781
|
+
};
|
|
18782
|
+
static get NewOppslag(): PushNotificationPayloadDiscriminator & {
|
|
18783
|
+
get name(): "NEW_OPPSLAG";
|
|
18784
|
+
get ordinal(): 3;
|
|
18785
|
+
};
|
|
18786
|
+
static get NewPracticalInfo(): PushNotificationPayloadDiscriminator & {
|
|
18787
|
+
get name(): "NEW_PRACTICAL_INFO";
|
|
18788
|
+
get ordinal(): 4;
|
|
18789
|
+
};
|
|
18790
|
+
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];
|
|
18791
|
+
static valueOf(value: string): PushNotificationPayloadDiscriminator;
|
|
18792
|
+
get name(): "NEW_COMMUNICATION_COMMENT" | "NEW_MESSAGE_IN_CONVERSATION" | "NEW_NEIGHBORHOOD_POST" | "NEW_OPPSLAG" | "NEW_PRACTICAL_INFO";
|
|
18793
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
18794
|
+
get value(): string;
|
|
18795
|
+
}
|
|
18796
|
+
export declare namespace PushNotificationPayloadDiscriminator {
|
|
18797
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18798
|
+
namespace $metadata$ {
|
|
18799
|
+
const constructor: abstract new () => PushNotificationPayloadDiscriminator;
|
|
18800
|
+
}
|
|
18801
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
18802
|
+
private constructor();
|
|
18803
|
+
}
|
|
18804
|
+
namespace Companion {
|
|
18805
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18806
|
+
namespace $metadata$ {
|
|
18807
|
+
abstract class constructor /* implements SerializerFactory */ {
|
|
18808
|
+
fromValue(value: string): PushNotificationPayloadDiscriminator | null | undefined;
|
|
18809
|
+
private constructor();
|
|
18810
|
+
}
|
|
18811
|
+
}
|
|
18812
|
+
}
|
|
18813
|
+
}
|
|
18814
|
+
export interface PushNotificationPayloadFieldProps {
|
|
18815
|
+
name: string;
|
|
18816
|
+
required: boolean;
|
|
18817
|
+
}
|
|
18818
|
+
export declare class PushNotificationPayloadField {
|
|
18819
|
+
constructor(props: PushNotificationPayloadFieldProps);
|
|
18820
|
+
constructor(name: string, required: boolean);
|
|
18821
|
+
get name(): string;
|
|
18822
|
+
get required(): boolean;
|
|
18823
|
+
}
|
|
18824
|
+
export declare namespace PushNotificationPayloadField {
|
|
18825
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18826
|
+
namespace $metadata$ {
|
|
18827
|
+
const constructor: abstract new () => PushNotificationPayloadField;
|
|
18828
|
+
}
|
|
18829
|
+
}
|
|
18830
|
+
export interface PushNotificationPayloadTypeProps {
|
|
18831
|
+
fields: PushNotificationPayloadFieldProps[];
|
|
18832
|
+
type: PushNotificationClassifier;
|
|
18833
|
+
}
|
|
18834
|
+
export declare class PushNotificationPayloadType {
|
|
18835
|
+
constructor(props: PushNotificationPayloadTypeProps);
|
|
18836
|
+
constructor(fields: PushNotificationPayloadField[], type: PushNotificationClassifier);
|
|
18837
|
+
get fields(): PushNotificationPayloadField[];
|
|
18838
|
+
get type(): PushNotificationClassifier;
|
|
18839
|
+
}
|
|
18840
|
+
export declare namespace PushNotificationPayloadType {
|
|
18841
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
18842
|
+
namespace $metadata$ {
|
|
18843
|
+
const constructor: abstract new () => PushNotificationPayloadType;
|
|
18844
|
+
}
|
|
18845
|
+
}
|
|
18521
18846
|
export interface PutCommunicationReactionCommandProps {
|
|
18522
18847
|
reaction: string;
|
|
18523
18848
|
}
|
|
@@ -25587,6 +25912,7 @@ export declare class CommunicationApi extends ApiClient.$metadata$.constructor {
|
|
|
25587
25912
|
indexEmailNewsletters(companyId: bigint, search?: string | null | undefined, published?: boolean | null | undefined, publishedAtFrom?: bigint | null | undefined, publishedAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListNewsletter>>;
|
|
25588
25913
|
indexNewslettersUser(search?: string | null | undefined, companyIds?: bigint[] | null | undefined, published?: boolean | null | undefined, publishedAtFrom?: bigint | null | undefined, publishedAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListNewsletter>>;
|
|
25589
25914
|
indexPushNotificationInbox(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPushNotificationInboxItem>>;
|
|
25915
|
+
indexPushNotificationTypes(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPushNotificationPayloadType>>;
|
|
25590
25916
|
indexSMSBroadcasts(companyId: bigint, search?: string | null | undefined, published?: boolean | null | undefined, publishedAtFrom?: bigint | null | undefined, publishedAtTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListSMSBroadcast>>;
|
|
25591
25917
|
indexSMSBundleAvailable(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListSMSBundle>>;
|
|
25592
25918
|
indexSMSNotificationGroups(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<MassCommunicationGroups>>;
|
package/solibo-sdk-sdk.mjs
CHANGED
|
@@ -7893,8 +7893,8 @@ function HomeApi$clientConfigurator$lambda$lambda_11(this$0, $platformName) {
|
|
|
7893
7893
|
}
|
|
7894
7894
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
7895
7895
|
header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
|
|
7896
|
-
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.22.
|
|
7897
|
-
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.22.
|
|
7896
|
+
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.22.3 (' + $platformName + ')');
|
|
7897
|
+
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.22.3');
|
|
7898
7898
|
return Unit_instance;
|
|
7899
7899
|
};
|
|
7900
7900
|
}
|
|
@@ -42273,7 +42273,7 @@ function SoliboOpenTelemetry() {
|
|
|
42273
42273
|
}
|
|
42274
42274
|
protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
|
|
42275
42275
|
var tmp0_elvis_lhs = this.installed_1;
|
|
42276
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.22.
|
|
42276
|
+
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.22.3');
|
|
42277
42277
|
};
|
|
42278
42278
|
var SoliboOpenTelemetry_instance;
|
|
42279
42279
|
function SoliboOpenTelemetry_getInstance() {
|
|
@@ -44560,6 +44560,39 @@ if (typeof PreferredAdvertisement !== 'undefined') {
|
|
|
44560
44560
|
}
|
|
44561
44561
|
|
|
44562
44562
|
|
|
44563
|
+
/* Enum aliases for PushNotificationClassifier */
|
|
44564
|
+
if (typeof PushNotificationClassifier !== 'undefined') {
|
|
44565
|
+
Object.defineProperties(PushNotificationClassifier, {
|
|
44566
|
+
"NewOppslag": { get() { return PushNotificationClassifier.NEW_OPPSLAG; }, enumerable: true, configurable: true },
|
|
44567
|
+
"NewPracticalInfo": { get() { return PushNotificationClassifier.NEW_PRACTICAL_INFO; }, enumerable: true, configurable: true },
|
|
44568
|
+
"NewMessageInConversation": { get() { return PushNotificationClassifier.NEW_MESSAGE_IN_CONVERSATION; }, enumerable: true, configurable: true },
|
|
44569
|
+
"NewNeighborhoodPost": { get() { return PushNotificationClassifier.NEW_NEIGHBORHOOD_POST; }, enumerable: true, configurable: true },
|
|
44570
|
+
"NewCommunicationComment": { get() { return PushNotificationClassifier.NEW_COMMUNICATION_COMMENT; }, enumerable: true, configurable: true }
|
|
44571
|
+
});
|
|
44572
|
+
}
|
|
44573
|
+
|
|
44574
|
+
|
|
44575
|
+
/* Enum aliases for PushNotificationCommentPostType */
|
|
44576
|
+
if (typeof PushNotificationCommentPostType !== 'undefined') {
|
|
44577
|
+
Object.defineProperties(PushNotificationCommentPostType, {
|
|
44578
|
+
"Homepage": { get() { return PushNotificationCommentPostType.HOMEPAGE; }, enumerable: true, configurable: true },
|
|
44579
|
+
"Neighborhood": { get() { return PushNotificationCommentPostType.NEIGHBORHOOD; }, enumerable: true, configurable: true }
|
|
44580
|
+
});
|
|
44581
|
+
}
|
|
44582
|
+
|
|
44583
|
+
|
|
44584
|
+
/* Enum aliases for PushNotificationPayloadDiscriminator */
|
|
44585
|
+
if (typeof PushNotificationPayloadDiscriminator !== 'undefined') {
|
|
44586
|
+
Object.defineProperties(PushNotificationPayloadDiscriminator, {
|
|
44587
|
+
"NewCommunicationComment": { get() { return PushNotificationPayloadDiscriminator.NEW_COMMUNICATION_COMMENT; }, enumerable: true, configurable: true },
|
|
44588
|
+
"NewMessageInConversation": { get() { return PushNotificationPayloadDiscriminator.NEW_MESSAGE_IN_CONVERSATION; }, enumerable: true, configurable: true },
|
|
44589
|
+
"NewNeighborhoodPost": { get() { return PushNotificationPayloadDiscriminator.NEW_NEIGHBORHOOD_POST; }, enumerable: true, configurable: true },
|
|
44590
|
+
"NewOppslag": { get() { return PushNotificationPayloadDiscriminator.NEW_OPPSLAG; }, enumerable: true, configurable: true },
|
|
44591
|
+
"NewPracticalInfo": { get() { return PushNotificationPayloadDiscriminator.NEW_PRACTICAL_INFO; }, enumerable: true, configurable: true }
|
|
44592
|
+
});
|
|
44593
|
+
}
|
|
44594
|
+
|
|
44595
|
+
|
|
44563
44596
|
/* Enum aliases for RelationType */
|
|
44564
44597
|
if (typeof RelationType !== 'undefined') {
|
|
44565
44598
|
Object.defineProperties(RelationType, {
|
|
@@ -45422,6 +45455,9 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
45422
45455
|
__soliboLookupTable["PublicConversationEvent"] = () => ref(() => PublicConversationEvent);
|
|
45423
45456
|
__soliboLookupTable["PublicMessage"] = () => ref(() => PublicMessage);
|
|
45424
45457
|
__soliboLookupTable["PushNotificationInboxItem"] = () => ref(() => PushNotificationInboxItem);
|
|
45458
|
+
__soliboLookupTable["PushNotificationPayload"] = () => ref(() => PushNotificationPayload);
|
|
45459
|
+
__soliboLookupTable["PushNotificationPayloadField"] = () => ref(() => PushNotificationPayloadField);
|
|
45460
|
+
__soliboLookupTable["PushNotificationPayloadType"] = () => ref(() => PushNotificationPayloadType);
|
|
45425
45461
|
__soliboLookupTable["PutCommunicationReactionCommand"] = () => ref(() => PutCommunicationReactionCommand);
|
|
45426
45462
|
__soliboLookupTable["QueuedInvoice"] = () => ref(() => QueuedInvoice);
|
|
45427
45463
|
__soliboLookupTable["ReceiverFraction"] = () => ref(() => ReceiverFraction);
|