@solibo/solibo-sdk 1.1.11 → 1.1.12

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.
@@ -812,6 +812,148 @@ export declare namespace CloseMeetingCommand {
812
812
  const constructor: abstract new () => CloseMeetingCommand;
813
813
  }
814
814
  }
815
+ export interface CommunicationChannelReportProps {
816
+ communicationType: CommunicationMessageType;
817
+ finishedAt?: any | null | undefined/* Instant | null | undefined */ | undefined;
818
+ recipient: string;
819
+ sentAt: any/* Instant */;
820
+ status: CommunicationState;
821
+ updatedAt: any/* Instant */;
822
+ }
823
+ export declare class CommunicationChannelReport {
824
+ constructor(props: CommunicationChannelReportProps);
825
+ constructor(communicationType: CommunicationMessageType, finishedAt: any | null | undefined/* Instant | null | undefined */ | undefined, recipient: string, sentAt: any/* Instant */, status: CommunicationState, updatedAt: any/* Instant */);
826
+ get communicationType(): CommunicationMessageType;
827
+ get finishedAt(): any | null | undefined/* Instant | null | undefined */;
828
+ get recipient(): string;
829
+ get sentAt(): any/* Instant */;
830
+ get status(): CommunicationState;
831
+ get updatedAt(): any/* Instant */;
832
+ }
833
+ export declare namespace CommunicationChannelReport {
834
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
835
+ namespace $metadata$ {
836
+ const constructor: abstract new () => CommunicationChannelReport;
837
+ }
838
+ }
839
+ export declare abstract class CommunicationMessageType {
840
+ private constructor();
841
+ static get EMAIL(): CommunicationMessageType & {
842
+ get name(): "EMAIL";
843
+ get ordinal(): 0;
844
+ };
845
+ static get SMS(): CommunicationMessageType & {
846
+ get name(): "SMS";
847
+ get ordinal(): 1;
848
+ };
849
+ static get PUSH(): CommunicationMessageType & {
850
+ get name(): "PUSH";
851
+ get ordinal(): 2;
852
+ };
853
+ get name(): "EMAIL" | "SMS" | "PUSH";
854
+ get ordinal(): 0 | 1 | 2;
855
+ get value(): string;
856
+ static values(): Array<CommunicationMessageType>;
857
+ static valueOf(value: string): CommunicationMessageType;
858
+ }
859
+ export declare namespace CommunicationMessageType {
860
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
861
+ namespace $metadata$ {
862
+ const constructor: abstract new () => CommunicationMessageType;
863
+ }
864
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
865
+ private constructor();
866
+ }
867
+ namespace Companion {
868
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
869
+ namespace $metadata$ {
870
+ abstract class constructor /* implements SerializerFactory */ {
871
+ fromValue(value: string): CommunicationMessageType | null | undefined;
872
+ private constructor();
873
+ }
874
+ }
875
+ }
876
+ }
877
+ export interface CommunicationRecipientReportProps {
878
+ email?: CommunicationChannelReportProps | null | undefined;
879
+ id?: bigint | null | undefined;
880
+ name: string;
881
+ notificationGroups?: KtList<string> | null | undefined;
882
+ orgNr?: string | null | undefined;
883
+ push?: CommunicationChannelReportProps | null | undefined;
884
+ recipientType: CommunicationRecipientType;
885
+ sms?: CommunicationChannelReportProps | null | undefined;
886
+ }
887
+ export declare class CommunicationRecipientReport {
888
+ constructor(props: CommunicationRecipientReportProps);
889
+ constructor(email: CommunicationChannelReport | null | undefined, id: bigint | null | undefined, name: string, notificationGroups: KtList<string> | null | undefined, orgNr: string | null | undefined, push: CommunicationChannelReport | null | undefined, recipientType: CommunicationRecipientType, sms?: CommunicationChannelReport | null | undefined);
890
+ get email(): CommunicationChannelReport | null | undefined;
891
+ get id(): bigint | null | undefined;
892
+ get name(): string;
893
+ get notificationGroups(): KtList<string> | null | undefined;
894
+ get orgNr(): string | null | undefined;
895
+ get push(): CommunicationChannelReport | null | undefined;
896
+ get recipientType(): CommunicationRecipientType;
897
+ get sms(): CommunicationChannelReport | null | undefined;
898
+ }
899
+ export declare namespace CommunicationRecipientReport {
900
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
901
+ namespace $metadata$ {
902
+ const constructor: abstract new () => CommunicationRecipientReport;
903
+ }
904
+ }
905
+ export declare abstract class CommunicationRecipientType {
906
+ private constructor();
907
+ static get PERSON(): CommunicationRecipientType & {
908
+ get name(): "PERSON";
909
+ get ordinal(): 0;
910
+ };
911
+ static get ORGANIZATION(): CommunicationRecipientType & {
912
+ get name(): "ORGANIZATION";
913
+ get ordinal(): 1;
914
+ };
915
+ static get EXTERNAL(): CommunicationRecipientType & {
916
+ get name(): "EXTERNAL";
917
+ get ordinal(): 2;
918
+ };
919
+ get name(): "PERSON" | "ORGANIZATION" | "EXTERNAL";
920
+ get ordinal(): 0 | 1 | 2;
921
+ get value(): string;
922
+ static values(): Array<CommunicationRecipientType>;
923
+ static valueOf(value: string): CommunicationRecipientType;
924
+ }
925
+ export declare namespace CommunicationRecipientType {
926
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
927
+ namespace $metadata$ {
928
+ const constructor: abstract new () => CommunicationRecipientType;
929
+ }
930
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
931
+ private constructor();
932
+ }
933
+ namespace Companion {
934
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
935
+ namespace $metadata$ {
936
+ abstract class constructor /* implements SerializerFactory */ {
937
+ fromValue(value: string): CommunicationRecipientType | null | undefined;
938
+ private constructor();
939
+ }
940
+ }
941
+ }
942
+ }
943
+ export interface CommunicationReportProps {
944
+ recipients: KtList<CommunicationRecipientReportProps>;
945
+ }
946
+ export declare class CommunicationReport {
947
+ constructor(props: CommunicationReportProps);
948
+ constructor(recipients: KtList<CommunicationRecipientReport>);
949
+ get recipients(): KtList<CommunicationRecipientReport>;
950
+ }
951
+ export declare namespace CommunicationReport {
952
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
953
+ namespace $metadata$ {
954
+ const constructor: abstract new () => CommunicationReport;
955
+ }
956
+ }
815
957
  export declare abstract class CommunicationState {
816
958
  private constructor();
817
959
  static get SENT(): CommunicationState & {
@@ -14678,6 +14820,7 @@ export declare class AuthApi extends ApiClient.$metadata$.constructor {
14678
14820
  indexUserDevices(): Promise<HttpResponse<KtList<Device>>>;
14679
14821
  refreshTokens(refreshTokensCommand: RefreshTokensCommand): Promise<HttpResponse<SoliboAuthentication>>;
14680
14822
  registerFCMDeviceForUser(registerDeviceCommand: RegisterDeviceCommand): Promise<HttpResponse<void>>;
14823
+ reportPushNotificationRead(trackingId: string): Promise<HttpResponse<void>>;
14681
14824
  revokeTokens(clientId?: string | null | undefined, deviceKey?: string | null | undefined, deviceKeyGroup?: string | null | undefined, userId?: string | null | undefined, refreshToken?: string | null | undefined): Promise<HttpResponse<void>>;
14682
14825
  verifyCreateTOTPMfa(verifyAssociateTotpMfaCommand: VerifyAssociateTotpMfaCommand): Promise<HttpResponse<SoftwareTokenAssociation>>;
14683
14826
  verifySMSMfa(verifyMfaCommand: VerifyMfaCommand): Promise<HttpResponse<SoliboAuthentication>>;
@@ -14723,6 +14866,7 @@ export declare class CommunicationApi extends ApiClient.$metadata$.constructor {
14723
14866
  indexSMSPurchases(companyId: bigint): Promise<HttpResponse<KtList<SMSBundlePurchase>>>;
14724
14867
  publishEmailNewsletter(companyId: bigint, newsletterId: bigint): Promise<HttpResponse<Newsletter>>;
14725
14868
  publishSMSBroadcast(companyId: bigint, broadcastId: bigint, purchaseBundleId?: bigint | null | undefined): Promise<HttpResponse<SMSBroadcast>>;
14869
+ showCommunicationReport(companyId: bigint, communicationType: string, communicationId: bigint, reportType: string): Promise<HttpResponse<CommunicationReport>>;
14726
14870
  showEmailNewsletter(companyId: bigint, newsletterId: bigint): Promise<HttpResponse<Newsletter>>;
14727
14871
  showSMSAvailable(companyId: bigint): Promise<HttpResponse<SMSCount>>;
14728
14872
  showSMSBroadcast(companyId: bigint, broadcastId: bigint): Promise<HttpResponse<SMSBroadcast>>;
@@ -16089,6 +16233,16 @@ export declare class Auth {
16089
16233
  clearSession(): void;
16090
16234
  initiateAuth(fcmDevice: FcmDeviceType, creds: Credentials, usePassword?: boolean, skipSrp?: boolean): Promise<SoliboAuthentication | null | undefined>;
16091
16235
  loginByCode(login: string, code: string, fcmDevice: FcmDeviceType): Promise<SoliboAuthentication>;
16236
+ loginByOAuth(code: string, state: string, fcmDevice: FcmDeviceType): Promise<SoliboAuthentication>;
16237
+ verifySMSMfa(code: string, session?: string | null | undefined, login?: string | null | undefined, fcmDevice?: FcmDeviceType | null | undefined): Promise<SoliboAuthentication>;
16238
+ verifyTOTPMfa(code: string, session?: string | null | undefined, login?: string | null | undefined, fcmDevice?: FcmDeviceType | null | undefined): Promise<SoliboAuthentication>;
16239
+ verifyEmailMfa(code: string, session?: string | null | undefined, login?: string | null | undefined, fcmDevice?: FcmDeviceType | null | undefined): Promise<SoliboAuthentication>;
16240
+ verifyEmailOtp(code: string, session?: string | null | undefined, login?: string | null | undefined, fcmDevice?: FcmDeviceType | null | undefined): Promise<SoliboAuthentication>;
16241
+ createTOTPMfa(session?: string | null | undefined): Promise<SoftwareTokenAssociation>;
16242
+ verifyCreateTOTPMfa(code: string, deviceName?: string | null | undefined, session?: string | null | undefined): Promise<SoftwareTokenAssociation>;
16243
+ createMfaPreference(mfaType?: MfaType | null | undefined): Promise<boolean>;
16244
+ createMfaSelection(mfaType: MfaType, session?: string | null | undefined, login?: string | null | undefined): Promise<boolean>;
16245
+ createMfaSelectionConfirmation(session?: string | null | undefined, login?: string | null | undefined): Promise<boolean>;
16092
16246
  forgotPassword(login: string): Promise<boolean>;
16093
16247
  confirmNewPassword(login: string, password: string, code?: string | null | undefined): Promise<boolean>;
16094
16248
  logout(): Promise<boolean>;