@solibo/solibo-sdk 1.28.11 → 1.29.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.
@@ -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 FollowUpProps = ExpenseFollowUpProps | MeetingProtocolFollowUpProps | SupplierInvoiceFollowUpProps;
10
11
  export type PushNotificationPayloadProps = NewCommunicationCommentPushPayloadProps | NewMessageInConversationPushPayloadProps | NewNeighborhoodPostPushPayloadProps | NewOppslagPushPayloadProps | NewPracticalInfoPushPayloadProps;
11
12
  export type ThirdPartyInformationErrorProps = ThirdPartyInformationAltinnErrorProps | ThirdPartyInformationEmailErrorProps | ThirdPartyInformationPostenErrorProps | ThirdPartyInformationProcessErrorProps;
12
13
  export type WebSocketPayloadProps = ConversationEventPayloadProps | ConversationMessagePayloadProps | ConversationTypingPayloadProps | ConversationUpdatedPayloadProps | GenericPayloadProps;
@@ -8549,6 +8550,46 @@ export declare namespace ExpenseCount {
8549
8550
  const constructor: abstract new () => ExpenseCount;
8550
8551
  }
8551
8552
  }
8553
+ export interface ExpenseFollowUpProps {
8554
+ companyId: bigint;
8555
+ companyName: string;
8556
+ key: string;
8557
+ pending: FollowUpPersonProps[];
8558
+ progress: FollowUpProgressProps;
8559
+ viewerStatus: FollowUpViewerStatus;
8560
+ amount: number;
8561
+ createdAt: SoliboInstant /* Instant */;
8562
+ createdBy?: FollowUpPersonProps | null | undefined;
8563
+ dateOfPurchase: SoliboLocalDate /* LocalDate */;
8564
+ description?: string | null | undefined;
8565
+ expenseId: bigint;
8566
+ hasReceipt: boolean;
8567
+ payableTo: FollowUpPersonProps;
8568
+ }
8569
+ export declare class ExpenseFollowUp extends FollowUp.$metadata$.constructor {
8570
+ constructor(props: ExpenseFollowUpProps);
8571
+ constructor(companyId: bigint, companyName: string, key: string, pending: FollowUpPerson[], progress: FollowUpProgress, viewerStatus: FollowUpViewerStatus, amount: number, createdAt: SoliboInstant /* Instant */, createdBy: FollowUpPerson | null | undefined, dateOfPurchase: SoliboLocalDate /* LocalDate */, description: string | null | undefined, expenseId: bigint, hasReceipt: boolean, payableTo: FollowUpPerson);
8572
+ get companyId(): bigint;
8573
+ get companyName(): string;
8574
+ get key(): string;
8575
+ get pending(): FollowUpPerson[];
8576
+ get progress(): FollowUpProgress;
8577
+ get viewerStatus(): FollowUpViewerStatus;
8578
+ get amount(): number;
8579
+ get createdAt(): SoliboInstant /* Instant */;
8580
+ get createdBy(): FollowUpPerson | null | undefined;
8581
+ get dateOfPurchase(): SoliboLocalDate /* LocalDate */;
8582
+ get description(): string | null | undefined;
8583
+ get expenseId(): bigint;
8584
+ get hasReceipt(): boolean;
8585
+ get payableTo(): FollowUpPerson;
8586
+ }
8587
+ export declare namespace ExpenseFollowUp {
8588
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
8589
+ namespace $metadata$ {
8590
+ const constructor: abstract new () => ExpenseFollowUp;
8591
+ }
8592
+ }
8552
8593
  export interface ExpenseProcessingProps {
8553
8594
  performedAt?: SoliboInstant /* Instant */ | null | undefined;
8554
8595
  performedBy?: PersonProps | null | undefined;
@@ -9373,6 +9414,71 @@ export declare namespace Folkeregisteret {
9373
9414
  const constructor: abstract new () => Folkeregisteret;
9374
9415
  }
9375
9416
  }
9417
+ export declare abstract class FollowUp {
9418
+ private constructor();
9419
+ abstract get companyId(): bigint;
9420
+ abstract get companyName(): string;
9421
+ abstract get key(): string;
9422
+ abstract get pending(): FollowUpPerson[];
9423
+ abstract get progress(): FollowUpProgress;
9424
+ abstract get viewerStatus(): FollowUpViewerStatus;
9425
+ }
9426
+ export declare namespace FollowUp {
9427
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9428
+ namespace $metadata$ {
9429
+ const constructor: abstract new () => FollowUp;
9430
+ }
9431
+ }
9432
+ export declare abstract class FollowUpDiscriminator {
9433
+ private constructor();
9434
+ static get EXPENSE(): FollowUpDiscriminator & {
9435
+ get name(): "EXPENSE";
9436
+ get ordinal(): 0;
9437
+ };
9438
+ static get MEETING_PROTOCOL(): FollowUpDiscriminator & {
9439
+ get name(): "MEETING_PROTOCOL";
9440
+ get ordinal(): 1;
9441
+ };
9442
+ static get SUPPLIER_INVOICE(): FollowUpDiscriminator & {
9443
+ get name(): "SUPPLIER_INVOICE";
9444
+ get ordinal(): 2;
9445
+ };
9446
+ static get Expense(): FollowUpDiscriminator & {
9447
+ get name(): "EXPENSE";
9448
+ get ordinal(): 0;
9449
+ };
9450
+ static get MeetingProtocol(): FollowUpDiscriminator & {
9451
+ get name(): "MEETING_PROTOCOL";
9452
+ get ordinal(): 1;
9453
+ };
9454
+ static get SupplierInvoice(): FollowUpDiscriminator & {
9455
+ get name(): "SUPPLIER_INVOICE";
9456
+ get ordinal(): 2;
9457
+ };
9458
+ static values(): [typeof FollowUpDiscriminator.EXPENSE, typeof FollowUpDiscriminator.MEETING_PROTOCOL, typeof FollowUpDiscriminator.SUPPLIER_INVOICE];
9459
+ static valueOf(value: string): FollowUpDiscriminator;
9460
+ get name(): "EXPENSE" | "MEETING_PROTOCOL" | "SUPPLIER_INVOICE";
9461
+ get ordinal(): 0 | 1 | 2;
9462
+ get value(): string;
9463
+ }
9464
+ export declare namespace FollowUpDiscriminator {
9465
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9466
+ namespace $metadata$ {
9467
+ const constructor: abstract new () => FollowUpDiscriminator;
9468
+ }
9469
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
9470
+ private constructor();
9471
+ }
9472
+ namespace Companion {
9473
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9474
+ namespace $metadata$ {
9475
+ abstract class constructor /* implements SerializerFactory */ {
9476
+ fromValue(value: string): FollowUpDiscriminator | null | undefined;
9477
+ private constructor();
9478
+ }
9479
+ }
9480
+ }
9481
+ }
9376
9482
  export interface FollowUpIssueLaterCommandProps {
9377
9483
  shouldFollowUp: boolean;
9378
9484
  }
@@ -9387,6 +9493,82 @@ export declare namespace FollowUpIssueLaterCommand {
9387
9493
  const constructor: abstract new () => FollowUpIssueLaterCommand;
9388
9494
  }
9389
9495
  }
9496
+ export interface FollowUpPersonProps {
9497
+ name: string;
9498
+ personId: bigint;
9499
+ role?: RoleType | null | undefined;
9500
+ }
9501
+ export declare class FollowUpPerson {
9502
+ constructor(props: FollowUpPersonProps);
9503
+ constructor(name: string, personId: bigint, role?: RoleType | null | undefined);
9504
+ get name(): string;
9505
+ get personId(): bigint;
9506
+ get role(): RoleType | null | undefined;
9507
+ }
9508
+ export declare namespace FollowUpPerson {
9509
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9510
+ namespace $metadata$ {
9511
+ const constructor: abstract new () => FollowUpPerson;
9512
+ }
9513
+ }
9514
+ export interface FollowUpProgressProps {
9515
+ done: bigint;
9516
+ required: bigint;
9517
+ }
9518
+ export declare class FollowUpProgress {
9519
+ constructor(props: FollowUpProgressProps);
9520
+ constructor(done: bigint, required: bigint);
9521
+ get done(): bigint;
9522
+ get required(): bigint;
9523
+ }
9524
+ export declare namespace FollowUpProgress {
9525
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9526
+ namespace $metadata$ {
9527
+ const constructor: abstract new () => FollowUpProgress;
9528
+ }
9529
+ }
9530
+ export declare abstract class FollowUpViewerStatus {
9531
+ private constructor();
9532
+ static get AWAITING_ME(): FollowUpViewerStatus & {
9533
+ get name(): "AWAITING_ME";
9534
+ get ordinal(): 0;
9535
+ };
9536
+ static get AWAITING_OTHERS(): FollowUpViewerStatus & {
9537
+ get name(): "AWAITING_OTHERS";
9538
+ get ordinal(): 1;
9539
+ };
9540
+ static get AwaitingMe(): FollowUpViewerStatus & {
9541
+ get name(): "AWAITING_ME";
9542
+ get ordinal(): 0;
9543
+ };
9544
+ static get AwaitingOthers(): FollowUpViewerStatus & {
9545
+ get name(): "AWAITING_OTHERS";
9546
+ get ordinal(): 1;
9547
+ };
9548
+ static values(): [typeof FollowUpViewerStatus.AWAITING_ME, typeof FollowUpViewerStatus.AWAITING_OTHERS];
9549
+ static valueOf(value: string): FollowUpViewerStatus;
9550
+ get name(): "AWAITING_ME" | "AWAITING_OTHERS";
9551
+ get ordinal(): 0 | 1;
9552
+ get value(): string;
9553
+ }
9554
+ export declare namespace FollowUpViewerStatus {
9555
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9556
+ namespace $metadata$ {
9557
+ const constructor: abstract new () => FollowUpViewerStatus;
9558
+ }
9559
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
9560
+ private constructor();
9561
+ }
9562
+ namespace Companion {
9563
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9564
+ namespace $metadata$ {
9565
+ abstract class constructor /* implements SerializerFactory */ {
9566
+ fromValue(value: string): FollowUpViewerStatus | null | undefined;
9567
+ private constructor();
9568
+ }
9569
+ }
9570
+ }
9571
+ }
9390
9572
  export interface FractionRecipientProps {
9391
9573
  gateadresse?: string | null | undefined;
9392
9574
  id: bigint;
@@ -13480,6 +13662,38 @@ export declare namespace MeetingParticipant {
13480
13662
  const constructor: abstract new () => MeetingParticipant;
13481
13663
  }
13482
13664
  }
13665
+ export interface MeetingProtocolFollowUpProps {
13666
+ companyId: bigint;
13667
+ companyName: string;
13668
+ key: string;
13669
+ pending: FollowUpPersonProps[];
13670
+ progress: FollowUpProgressProps;
13671
+ viewerStatus: FollowUpViewerStatus;
13672
+ attendeeId: bigint;
13673
+ meetingDate?: SoliboInstant /* Instant */ | null | undefined;
13674
+ meetingId: bigint;
13675
+ title: string;
13676
+ }
13677
+ export declare class MeetingProtocolFollowUp extends FollowUp.$metadata$.constructor {
13678
+ constructor(props: MeetingProtocolFollowUpProps);
13679
+ constructor(companyId: bigint, companyName: string, key: string, pending: FollowUpPerson[], progress: FollowUpProgress, viewerStatus: FollowUpViewerStatus, attendeeId: bigint, meetingDate: SoliboInstant /* Instant */ | null | undefined, meetingId: bigint, title: string);
13680
+ get companyId(): bigint;
13681
+ get companyName(): string;
13682
+ get key(): string;
13683
+ get pending(): FollowUpPerson[];
13684
+ get progress(): FollowUpProgress;
13685
+ get viewerStatus(): FollowUpViewerStatus;
13686
+ get attendeeId(): bigint;
13687
+ get meetingDate(): SoliboInstant /* Instant */ | null | undefined;
13688
+ get meetingId(): bigint;
13689
+ get title(): string;
13690
+ }
13691
+ export declare namespace MeetingProtocolFollowUp {
13692
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
13693
+ namespace $metadata$ {
13694
+ const constructor: abstract new () => MeetingProtocolFollowUp;
13695
+ }
13696
+ }
13483
13697
  export declare abstract class MeetingStatus {
13484
13698
  private constructor();
13485
13699
  static get PLANNING(): MeetingStatus & {
@@ -15996,6 +16210,24 @@ export declare namespace PagedListExpiredType {
15996
16210
  const constructor: abstract new () => PagedListExpiredType;
15997
16211
  }
15998
16212
  }
16213
+ export interface PagedListFollowUpProps {
16214
+ items: FollowUpProps[];
16215
+ meta: MetaProps;
16216
+ paging: PagingProps;
16217
+ }
16218
+ export declare class PagedListFollowUp {
16219
+ constructor(props: PagedListFollowUpProps);
16220
+ constructor(items: FollowUp[], meta: Meta, paging: Paging);
16221
+ get items(): FollowUp[];
16222
+ get meta(): Meta;
16223
+ get paging(): Paging;
16224
+ }
16225
+ export declare namespace PagedListFollowUp {
16226
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
16227
+ namespace $metadata$ {
16228
+ const constructor: abstract new () => PagedListFollowUp;
16229
+ }
16230
+ }
15999
16231
  export interface PagedListGlobalPreviewProps {
16000
16232
  items: GlobalPreviewProps[];
16001
16233
  meta: MetaProps;
@@ -22990,6 +23222,48 @@ export declare namespace SupplierInvoiceCount {
22990
23222
  const constructor: abstract new () => SupplierInvoiceCount;
22991
23223
  }
22992
23224
  }
23225
+ export interface SupplierInvoiceFollowUpProps {
23226
+ companyId: bigint;
23227
+ companyName: string;
23228
+ key: string;
23229
+ pending: FollowUpPersonProps[];
23230
+ progress: FollowUpProgressProps;
23231
+ viewerStatus: FollowUpViewerStatus;
23232
+ amount: number;
23233
+ currency: string;
23234
+ description?: string | null | undefined;
23235
+ dueDate?: SoliboInstant /* Instant */ | null | undefined;
23236
+ invoiceDate: SoliboInstant /* Instant */;
23237
+ invoiceId: bigint;
23238
+ overdue: boolean;
23239
+ supplierName?: string | null | undefined;
23240
+ supplierOrgNr?: string | null | undefined;
23241
+ }
23242
+ export declare class SupplierInvoiceFollowUp extends FollowUp.$metadata$.constructor {
23243
+ constructor(props: SupplierInvoiceFollowUpProps);
23244
+ constructor(companyId: bigint, companyName: string, key: string, pending: FollowUpPerson[], progress: FollowUpProgress, viewerStatus: FollowUpViewerStatus, amount: number, currency: string, description: string | null | undefined, dueDate: SoliboInstant /* Instant */ | null | undefined, invoiceDate: SoliboInstant /* Instant */, invoiceId: bigint, overdue: boolean, supplierName?: string | null | undefined, supplierOrgNr?: string | null | undefined);
23245
+ get companyId(): bigint;
23246
+ get companyName(): string;
23247
+ get key(): string;
23248
+ get pending(): FollowUpPerson[];
23249
+ get progress(): FollowUpProgress;
23250
+ get viewerStatus(): FollowUpViewerStatus;
23251
+ get amount(): number;
23252
+ get currency(): string;
23253
+ get description(): string | null | undefined;
23254
+ get dueDate(): SoliboInstant /* Instant */ | null | undefined;
23255
+ get invoiceDate(): SoliboInstant /* Instant */;
23256
+ get invoiceId(): bigint;
23257
+ get overdue(): boolean;
23258
+ get supplierName(): string | null | undefined;
23259
+ get supplierOrgNr(): string | null | undefined;
23260
+ }
23261
+ export declare namespace SupplierInvoiceFollowUp {
23262
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
23263
+ namespace $metadata$ {
23264
+ const constructor: abstract new () => SupplierInvoiceFollowUp;
23265
+ }
23266
+ }
22993
23267
  export interface SupplierInvoiceListProps {
22994
23268
  invoices: SupplierInvoiceProps[];
22995
23269
  totalCount: bigint;
@@ -26814,6 +27088,18 @@ export declare namespace ExpenseApi {
26814
27088
  const constructor: abstract new () => ExpenseApi;
26815
27089
  }
26816
27090
  }
27091
+ export declare class FollowUpApi extends ApiClient.$metadata$.constructor {
27092
+ private constructor();
27093
+ static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<any> */) => void | null | undefined, jsonSerializer?: any/* Json */): FollowUpApi;
27094
+ static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): FollowUpApi;
27095
+ indexFollowUpsForCompanies(companyIds?: bigint[] | null | undefined, includeAwaitingOthers?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListFollowUp>>;
27096
+ }
27097
+ export declare namespace FollowUpApi {
27098
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
27099
+ namespace $metadata$ {
27100
+ const constructor: abstract new () => FollowUpApi;
27101
+ }
27102
+ }
26817
27103
  export declare class HMSApi extends ApiClient.$metadata$.constructor {
26818
27104
  private constructor();
26819
27105
  static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<any> */) => void | null | undefined, jsonSerializer?: any/* Json */): HMSApi;
@@ -28221,16 +28507,18 @@ export interface SoliboErrorDetailProps {
28221
28507
  rule?: string | null | undefined;
28222
28508
  value?: string | null | undefined;
28223
28509
  reason?: string | null | undefined;
28510
+ code?: string | null | undefined;
28224
28511
  }
28225
28512
  export declare class SoliboErrorDetail {
28226
28513
  constructor(props: SoliboErrorDetailProps);
28227
- constructor(message: string | null | undefined, error: string | null | undefined, property: string | null | undefined, rule: string | null | undefined, value: string | null | undefined, reason?: string | null | undefined);
28514
+ constructor(message: string | null | undefined, error: string | null | undefined, property: string | null | undefined, rule: string | null | undefined, value: string | null | undefined, reason?: string | null | undefined, code?: string | null | undefined);
28228
28515
  get message(): string | null | undefined;
28229
28516
  get error(): string | null | undefined;
28230
28517
  get property(): string | null | undefined;
28231
28518
  get rule(): string | null | undefined;
28232
28519
  get value(): string | null | undefined;
28233
28520
  get reason(): string | null | undefined;
28521
+ get code(): string | null | undefined;
28234
28522
  }
28235
28523
  export declare namespace SoliboErrorDetail {
28236
28524
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -28318,6 +28606,7 @@ export declare class HomeApi {
28318
28606
  get settlement(): SettlementApi;
28319
28607
  get appStores(): AppStoresApi;
28320
28608
  get unsubscribe(): UnsubscribeApi;
28609
+ get followUps(): FollowUpApi;
28321
28610
  revoke(deviceKey: string | null | undefined, deviceKeyGroup: string | null | undefined): Promise<boolean>;
28322
28611
  }
28323
28612
  export declare namespace HomeApi {