@inceptionbg/main 1.0.57 → 1.0.59

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +48 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -267,6 +267,12 @@ interface IApproval {
267
267
  startApprovalByConditionsOnApprovalEnd?: boolean;
268
268
  issueDateChange?: boolean;
269
269
  }
270
+ type DocumentApprovalFetchOption = 'STEPS_WITH_VOTES' | 'APPROVAL' | 'READY_TO_VOTE' | 'DIRECTLY_PROCESS_COMPLETION_USER';
271
+ interface IApprovalSearch {
272
+ organizationUuid?: string;
273
+ active?: boolean;
274
+ orunUuid?: string;
275
+ }
270
276
  declare const Constraints: readonly ["TAX_ALLOCATION_NOT_EMPTY", "TAX_ALLOCATION_BALANCE", "COST_CENTER_EXPENSES_NOT_EMPTY", "ACCOUNTS_NOT_EMPTY", "ACCOUNTS_BALANCE", "ORGANIZATIONAL_UNIT_NOT_EMPTY", "PAYMENT_NOT_EMPTY", "SUGGESTED_PAYMENT_ORDER_NOT_EMPTY", "INDEX_DATA", "ACCOUNTS_SUM_LESS_THAN_INVOICE_TOTAL_PRICE", "VAT_EVIDENCE_TYPE_NOT_EMPTY", "PAYMENT_PLANNED_DATE_NOT_EMPTY"];
271
277
  type IConstraint = (typeof Constraints)[number];
272
278
  interface IApprovalStep {
@@ -289,6 +295,9 @@ interface IApprovalStep {
289
295
  constraints?: IConstraint[];
290
296
  indexDataConstraints?: IIndexData[];
291
297
  }
298
+ interface IApprovalStepSearch {
299
+ approvalStepGroupUuid?: string;
300
+ }
292
301
  interface ILatestApprovalProcess {
293
302
  uuid?: string;
294
303
  createdAt?: string;
@@ -330,6 +339,24 @@ interface IDocumentApprovalVote {
330
339
  returnedStep?: boolean;
331
340
  adHocVote?: boolean;
332
341
  }
342
+ interface IVoteSearch {
343
+ invoice?: boolean;
344
+ voted?: boolean;
345
+ documentNumber?: string;
346
+ documentTypeUuid?: string;
347
+ issuerOrReceiverUuid?: string;
348
+ dateFrom?: string;
349
+ dateTo?: string;
350
+ voteTimeFrom?: string;
351
+ voteTimeTo?: string;
352
+ userApprovalStatus?: string;
353
+ currentApprovalStatus?: string;
354
+ active?: boolean;
355
+ myVotes?: boolean;
356
+ sort?: 'PRIORITY_DESC' | 'ID_DESC';
357
+ employee?: IEmployee;
358
+ employeeUuid?: string;
359
+ }
333
360
  interface IPhaseGroup {
334
361
  uuid?: string;
335
362
  name?: string;
@@ -340,6 +367,25 @@ interface IPhaseGroup {
340
367
  };
341
368
  internalCode?: 'PIO_RECEIPT_AND_SCANNING_DOCUMENT' | 'PIO_DETERMINING_LEGAL_BASIS_AND_COMPLETING_DOCUMENTATION' | 'PIO_DOCUMENTATION_CORRECTNESS_CHECK' | 'PIO_SUPPLIER_OBLIGATION_RECORDING' | 'PIO_PAYMENT_APPROVAL' | 'PIO_PAYMENT_READY' | 'PIO_PAYMENT_DONE' | 'PIO_DOCUMENTATION_VERIFICATION';
342
369
  }
370
+ interface IPhaseGroupSearch {
371
+ nameLike?: string;
372
+ }
373
+ interface ICondition {
374
+ uuid?: string;
375
+ approval?: IApproval;
376
+ amountFrom?: number | string;
377
+ amountTo?: number | string;
378
+ orun?: IOrganizationalUnitUpdate;
379
+ partner?: IPartner;
380
+ documentType?: IDocumentType;
381
+ indexDatas?: IConditionIndexData[];
382
+ }
383
+ interface IConditionIndexData {
384
+ uuid?: string;
385
+ approvalCondition?: ICondition;
386
+ indexData?: IIndexData;
387
+ value?: string;
388
+ }
343
389
 
344
390
  interface IShipment extends IDocument {
345
391
  conversationView?: {
@@ -677,6 +723,7 @@ interface IInvoice extends IDocument {
677
723
  roundingAmount?: number | string;
678
724
  sefStatus?: ISendStatus;
679
725
  sefStatusComment?: string;
726
+ sefVerificationDeadlineTime?: string;
680
727
  advancePaymentSum?: {
681
728
  totalPriceWithVat?: number;
682
729
  totalPriceWithoutVat?: number;
@@ -1517,4 +1564,4 @@ interface Props {
1517
1564
  }
1518
1565
  declare const IndexDataSearch: FC<Props>;
1519
1566
 
1520
- export { AxiosTokenHandler, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IBankAccount, IBankAccountSearch, IBusinessActivity, IContactPerson, ICountry, ICurrency, IDocument, IDocumentAny, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPlace, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IndexDataSearch, LoginPage, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, logout };
1567
+ export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, IBusinessActivity, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, ICurrency, IDocument, IDocumentAny, IDocumentApproval, IDocumentApprovalStep, IDocumentApprovalVote, IDocumentFile, IDocumentFileParams, IDocumentIndex, IDocumentSearch, IDocumentSend, IDocumentSendSearch, IDocumentType, IEnv, IFile, IFileSignData, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationPrivileges, IOrganizationSearch, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, ISidebarItem, IToken, IUploadDocumentType, IUser, IUserPreferences, IUserPrivileges, IVoteSearch, IndexDataSearch, LoginPage, ModuleIds, NoAccessInfo, NoMatchPage, NotificationsContext, NotificationsProvider, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, logout };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inceptionbg/main",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
4
4
  "description": "Main app wrapper for Inception ecosystem",
5
5
  "type": "module",
6
6
  "files": [