@solibo/solibo-sdk 1.5.13 → 1.5.14

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.
@@ -1939,6 +1939,50 @@ export declare namespace ConversationCount {
1939
1939
  const constructor: abstract new () => ConversationCount;
1940
1940
  }
1941
1941
  }
1942
+ export interface ConversationCountConversationCountByCompanyMapProps {
1943
+ done: bigint;
1944
+ draft: bigint;
1945
+ inProgress: bigint;
1946
+ new: bigint;
1947
+ total?: bigint | null | undefined;
1948
+ }
1949
+ export declare class ConversationCountConversationCountByCompanyMap {
1950
+ constructor(props: ConversationCountConversationCountByCompanyMapProps);
1951
+ constructor(done: bigint, draft: bigint, inProgress: bigint, _new: bigint, total?: bigint | null | undefined);
1952
+ get done(): bigint;
1953
+ get draft(): bigint;
1954
+ get inProgress(): bigint;
1955
+ get new(): bigint;
1956
+ get total(): bigint | null | undefined;
1957
+ }
1958
+ export declare namespace ConversationCountConversationCountByCompanyMap {
1959
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1960
+ namespace $metadata$ {
1961
+ const constructor: abstract new () => ConversationCountConversationCountByCompanyMap;
1962
+ }
1963
+ }
1964
+ export interface ConversationCountConversationCountByCompanyMapValueProps {
1965
+ done: bigint;
1966
+ draft: bigint;
1967
+ inProgress: bigint;
1968
+ new: bigint;
1969
+ total?: bigint | null | undefined;
1970
+ }
1971
+ export declare class ConversationCountConversationCountByCompanyMapValue {
1972
+ constructor(props: ConversationCountConversationCountByCompanyMapValueProps);
1973
+ constructor(done: bigint, draft: bigint, inProgress: bigint, _new: bigint, total?: bigint | null | undefined);
1974
+ get done(): bigint;
1975
+ get draft(): bigint;
1976
+ get inProgress(): bigint;
1977
+ get new(): bigint;
1978
+ get total(): bigint | null | undefined;
1979
+ }
1980
+ export declare namespace ConversationCountConversationCountByCompanyMapValue {
1981
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1982
+ namespace $metadata$ {
1983
+ const constructor: abstract new () => ConversationCountConversationCountByCompanyMapValue;
1984
+ }
1985
+ }
1942
1986
  export interface ConversationCountConversationCountMapProps {
1943
1987
  done: bigint;
1944
1988
  draft: bigint;
@@ -15376,6 +15420,20 @@ export declare namespace SupplierInvoice {
15376
15420
  const constructor: abstract new () => SupplierInvoice;
15377
15421
  }
15378
15422
  }
15423
+ export interface SupplierInvoiceApprovalCountsProps {
15424
+ counts?: Map<string, bigint | null | undefined>;
15425
+ }
15426
+ export declare class SupplierInvoiceApprovalCounts {
15427
+ constructor(props: SupplierInvoiceApprovalCountsProps);
15428
+ constructor(counts: Map<string, bigint | null | undefined>);
15429
+ get counts(): Map<string, bigint | null | undefined>;
15430
+ }
15431
+ export declare namespace SupplierInvoiceApprovalCounts {
15432
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
15433
+ namespace $metadata$ {
15434
+ const constructor: abstract new () => SupplierInvoiceApprovalCounts;
15435
+ }
15436
+ }
15379
15437
  export interface SupplierInvoiceCountProps {
15380
15438
  count: bigint;
15381
15439
  }
@@ -18355,6 +18413,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
18355
18413
  indexConversationByParticipant(companyId: bigint, participantId: bigint, participantType: ParticipantType, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListConversation>>;
18356
18414
  indexConversationCategoriesOpen(companySlug: string, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListConversationCategory>>;
18357
18415
  indexConversationCount(fields?: string | null | undefined): Promise<HttpResponse<KtMap<string, ConversationCountConversationCountMap>>>;
18416
+ indexConversationCountByCompany(companyIds?: KtList<bigint> | null | undefined, categoryIds?: KtList<bigint> | null | undefined, status?: ConversationStatus | null | undefined, folderId?: bigint | null | undefined, assignedToUserId?: bigint | null | undefined, createdSince?: bigint | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<KtMap<string, ConversationCountConversationCountByCompanyMap>>>;
18358
18417
  indexConversationCountInCompany(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<ConversationCount>>;
18359
18418
  indexConversationFolders(companyId: bigint, parentId?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListConversationFolder>>;
18360
18419
  indexConversations(search?: string | null | undefined, companyIds?: KtList<bigint> | null | undefined, categoryIds?: KtList<bigint> | null | undefined, status?: ConversationStatus | null | undefined, byParticipants?: KtList<bigint> | null | undefined, byParticipantTypes?: KtList<ParticipantType> | null | undefined, folderId?: bigint | null | undefined, assignedToUserId?: bigint | null | undefined, createdSince?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListConversation>>;
@@ -18517,6 +18576,7 @@ export declare class InvoiceApi extends ApiClient.$metadata$.constructor {
18517
18576
  createInvoiceApproval(companyId: bigint, invoiceId: string, approveSupplierInvoiceCommand: ApproveSupplierInvoiceCommand): Promise<HttpResponse<void>>;
18518
18577
  createInvoiceNotice(companyId: bigint, createSupplierInvoiceNotificationCommand: CreateSupplierInvoiceNotificationCommand): Promise<HttpResponse<void>>;
18519
18578
  createInvoiceRejection(companyId: bigint, invoiceId: string, rejectSupplierInvoiceCommand: RejectSupplierInvoiceCommand): Promise<HttpResponse<void>>;
18579
+ indexCachedApprovalCounts(fields?: string | null | undefined): Promise<HttpResponse<SupplierInvoiceApprovalCounts>>;
18520
18580
  indexInvoice(companyId: bigint, archive?: boolean | null | undefined, year?: number | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<SupplierInvoiceList>>;
18521
18581
  indexInvoiceCount(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<SupplierInvoiceList>>;
18522
18582
  indexInvoiceUnattestedCount(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<SupplierInvoiceCount>>;