@inceptionbg/main 1.0.57 → 1.0.58
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/dist/index.d.ts +46 -1
- 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,23 @@ interface IDocumentApprovalVote {
|
|
|
330
339
|
returnedStep?: boolean;
|
|
331
340
|
adHocVote?: boolean;
|
|
332
341
|
}
|
|
342
|
+
interface IVoteSearch {
|
|
343
|
+
voted?: boolean;
|
|
344
|
+
documentNumber?: string;
|
|
345
|
+
documentTypeUuid?: string;
|
|
346
|
+
issuerOrReceiverUuid?: string;
|
|
347
|
+
dateFrom?: string;
|
|
348
|
+
dateTo?: string;
|
|
349
|
+
voteTimeFrom?: string;
|
|
350
|
+
voteTimeTo?: string;
|
|
351
|
+
userApprovalStatus?: string;
|
|
352
|
+
currentApprovalStatus?: string;
|
|
353
|
+
active?: boolean;
|
|
354
|
+
myVotes?: boolean;
|
|
355
|
+
sort?: 'PRIORITY_DESC' | 'ID_DESC';
|
|
356
|
+
employee?: IEmployee;
|
|
357
|
+
employeeUuid?: string;
|
|
358
|
+
}
|
|
333
359
|
interface IPhaseGroup {
|
|
334
360
|
uuid?: string;
|
|
335
361
|
name?: string;
|
|
@@ -340,6 +366,25 @@ interface IPhaseGroup {
|
|
|
340
366
|
};
|
|
341
367
|
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
368
|
}
|
|
369
|
+
interface IPhaseGroupSearch {
|
|
370
|
+
nameLike?: string;
|
|
371
|
+
}
|
|
372
|
+
interface ICondition {
|
|
373
|
+
uuid?: string;
|
|
374
|
+
approval?: IApproval;
|
|
375
|
+
amountFrom?: number | string;
|
|
376
|
+
amountTo?: number | string;
|
|
377
|
+
orun?: IOrganizationalUnitUpdate;
|
|
378
|
+
partner?: IPartner;
|
|
379
|
+
documentType?: IDocumentType;
|
|
380
|
+
indexDatas?: IConditionIndexData[];
|
|
381
|
+
}
|
|
382
|
+
interface IConditionIndexData {
|
|
383
|
+
uuid?: string;
|
|
384
|
+
approvalCondition?: ICondition;
|
|
385
|
+
indexData?: IIndexData;
|
|
386
|
+
value?: string;
|
|
387
|
+
}
|
|
343
388
|
|
|
344
389
|
interface IShipment extends IDocument {
|
|
345
390
|
conversationView?: {
|
|
@@ -1517,4 +1562,4 @@ interface Props {
|
|
|
1517
1562
|
}
|
|
1518
1563
|
declare const IndexDataSearch: FC<Props>;
|
|
1519
1564
|
|
|
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 };
|
|
1565
|
+
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 };
|