@inceptionbg/main 2.0.173 → 2.0.175
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 +2154 -0
- package/dist/types/global.d.ts +63 -63
- package/package.json +48 -48
- package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
- package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
- package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
- package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
- package/dist/tempTypes/auth/Auth.d.ts +0 -55
- package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
- package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
- package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
- package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
- package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
- package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
- package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
- package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
- package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
- package/dist/tempTypes/components/Header/Header.d.ts +0 -9
- package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
- package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
- package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
- package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
- package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
- package/dist/tempTypes/components/Router/Router.d.ts +0 -10
- package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
- package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
- package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
- package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
- package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
- package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
- package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
- package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
- package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
- package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
- package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
- package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
- package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
- package/dist/tempTypes/index.d.ts +0 -56
- package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
- package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
- package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
- package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
- package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
- package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
- package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
- package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
- package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
- package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
- package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
- package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
- package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
- package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
- package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
- package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
- package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
- package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
- package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
- package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
- package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
- package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
- package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
- package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
- package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
- package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
- package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
- package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
- package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
- package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
- package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
- package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
- package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
- package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
- package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
- package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
- package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
- package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
- package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
- package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
- package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
- package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
- package/dist/tempTypes/types/IError.d.ts +0 -5
- package/dist/tempTypes/types/INotifications.d.ts +0 -15
- package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
- package/dist/tempTypes/types/IScan.d.ts +0 -17
- package/dist/tempTypes/types/ISidebar.d.ts +0 -27
- package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
- package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
- package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
- package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
- package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
- package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { ISelectData, ISimpleObject, ISimpleObjectWithCode } from '@inceptionbg/iui';
|
|
2
|
-
import { IOrganization, IOrganizationalUnitUpdate } from '../../Auth/IOrganization';
|
|
3
|
-
import { IEmployee } from '../Administration/IEmployee';
|
|
4
|
-
import { IJob } from '../Administration/IJob';
|
|
5
|
-
import { IIndexData } from './IndexData';
|
|
6
|
-
import { IDocumentAny, IDocumentType } from './IDocument';
|
|
7
|
-
import { IUser } from '../../Auth/IUser';
|
|
8
|
-
import { IPartner } from '../Partner/IPartner';
|
|
9
|
-
import { IInvoice } from './Invoice/IInvoice';
|
|
10
|
-
export interface IApproval {
|
|
11
|
-
uuid?: string;
|
|
12
|
-
name?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
active?: boolean;
|
|
15
|
-
returnResponseToSef?: boolean;
|
|
16
|
-
orun?: IOrganizationalUnitUpdate;
|
|
17
|
-
organization?: IOrganization;
|
|
18
|
-
automaticallyStart?: IApproval;
|
|
19
|
-
automaticallyStartApprovals?: IApproval[];
|
|
20
|
-
automaticallyStartApprovalsData?: ISelectData[];
|
|
21
|
-
generateDocumentApprovalReport?: boolean;
|
|
22
|
-
startApprovalByConditionsOnApprovalEnd?: boolean;
|
|
23
|
-
issueDateChange?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export type DocumentApprovalFetchOption = 'STEPS_WITH_VOTES' | 'APPROVAL' | 'READY_TO_VOTE' | 'DIRECTLY_PROCESS_COMPLETION_USER';
|
|
26
|
-
export interface IApprovalSearch {
|
|
27
|
-
organizationUuid?: string;
|
|
28
|
-
active?: boolean;
|
|
29
|
-
orunUuid?: string;
|
|
30
|
-
}
|
|
31
|
-
export 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"];
|
|
32
|
-
export type IConstraint = (typeof Constraints)[number];
|
|
33
|
-
export interface IApprovalStep {
|
|
34
|
-
uuid: string;
|
|
35
|
-
name?: string;
|
|
36
|
-
description?: string;
|
|
37
|
-
deadline?: number;
|
|
38
|
-
requiredVotes?: number;
|
|
39
|
-
ordinalNumber?: number;
|
|
40
|
-
approval?: IApproval;
|
|
41
|
-
employees?: IEmployee[];
|
|
42
|
-
step?: IApprovalStep;
|
|
43
|
-
conditionedStep?: IApprovalStep;
|
|
44
|
-
job?: IJob;
|
|
45
|
-
activationTime?: string;
|
|
46
|
-
documentHold?: boolean;
|
|
47
|
-
costCenter?: ISimpleObjectWithCode;
|
|
48
|
-
group?: IPhaseGroup;
|
|
49
|
-
lastStep?: boolean;
|
|
50
|
-
constraints?: IConstraint[];
|
|
51
|
-
indexDataConstraints?: IIndexData[];
|
|
52
|
-
}
|
|
53
|
-
export interface IApprovalStepSearch {
|
|
54
|
-
approvalStepGroupUuid?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface ILatestApprovalProcess {
|
|
57
|
-
uuid?: string;
|
|
58
|
-
createdAt?: string;
|
|
59
|
-
status?: string;
|
|
60
|
-
latestStep?: IDocumentApprovalStep;
|
|
61
|
-
}
|
|
62
|
-
export type ApprovalStatus = 'APPROVED' | 'DECLINED';
|
|
63
|
-
export interface IDocumentApproval {
|
|
64
|
-
uuid?: string;
|
|
65
|
-
document?: IDocumentAny;
|
|
66
|
-
approval?: IApproval;
|
|
67
|
-
steps?: IDocumentApprovalStep[];
|
|
68
|
-
status?: ApprovalStatus;
|
|
69
|
-
directlyProcessCompletionUser?: IUser;
|
|
70
|
-
}
|
|
71
|
-
export interface IDocumentApprovalStep {
|
|
72
|
-
uuid?: string;
|
|
73
|
-
activationTime?: string;
|
|
74
|
-
deadline?: string;
|
|
75
|
-
requiredVotes?: number;
|
|
76
|
-
positiveVotes?: number;
|
|
77
|
-
stepStatus?: ApprovalStatus;
|
|
78
|
-
step?: IApprovalStep;
|
|
79
|
-
votes?: IDocumentApprovalVote[];
|
|
80
|
-
documentApproval?: IDocumentApproval;
|
|
81
|
-
notReadyToVoteReason?: 'COST_EXPENSE_ALLOCATION' | 'INVOICE_TAX_ALLOCATION' | 'INVOICE_ACCOUNT' | 'INDEX_DATA';
|
|
82
|
-
customName?: string;
|
|
83
|
-
additionalAddingTime?: string;
|
|
84
|
-
}
|
|
85
|
-
export interface IDocumentApprovalVote {
|
|
86
|
-
uuid: string;
|
|
87
|
-
document: IDocumentAny;
|
|
88
|
-
step: IDocumentApprovalStep;
|
|
89
|
-
employee: IEmployee;
|
|
90
|
-
vote?: ApprovalStatus;
|
|
91
|
-
voteTime?: string;
|
|
92
|
-
votedFiles?: ISimpleObject[];
|
|
93
|
-
note?: string;
|
|
94
|
-
returnedStep?: boolean;
|
|
95
|
-
adHocVote?: boolean;
|
|
96
|
-
}
|
|
97
|
-
export interface IVoteSearch {
|
|
98
|
-
invoice?: boolean;
|
|
99
|
-
voted?: boolean;
|
|
100
|
-
documentNumber?: string;
|
|
101
|
-
documentTypeUuid?: string;
|
|
102
|
-
issuerOrReceiverUuid?: string;
|
|
103
|
-
dateFrom?: string;
|
|
104
|
-
dateTo?: string;
|
|
105
|
-
voteTimeFrom?: string;
|
|
106
|
-
voteTimeTo?: string;
|
|
107
|
-
userApprovalStatus?: string;
|
|
108
|
-
currentApprovalStatus?: string;
|
|
109
|
-
active?: boolean;
|
|
110
|
-
myVotes?: boolean;
|
|
111
|
-
sort?: 'PRIORITY_DESC' | 'ID_DESC';
|
|
112
|
-
employee?: IEmployee;
|
|
113
|
-
employeeUuid?: string;
|
|
114
|
-
}
|
|
115
|
-
export interface IPhaseGroup {
|
|
116
|
-
uuid?: string;
|
|
117
|
-
name?: string;
|
|
118
|
-
organization?: IOrganization;
|
|
119
|
-
items?: {
|
|
120
|
-
invoices: IInvoice[];
|
|
121
|
-
isOpen: boolean;
|
|
122
|
-
};
|
|
123
|
-
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';
|
|
124
|
-
}
|
|
125
|
-
export interface IPhaseGroupSearch {
|
|
126
|
-
nameLike?: string;
|
|
127
|
-
}
|
|
128
|
-
export interface ICondition {
|
|
129
|
-
uuid?: string;
|
|
130
|
-
approval?: IApproval;
|
|
131
|
-
amountFrom?: number | string;
|
|
132
|
-
amountTo?: number | string;
|
|
133
|
-
orun?: IOrganizationalUnitUpdate;
|
|
134
|
-
partner?: IPartner;
|
|
135
|
-
documentType?: IDocumentType;
|
|
136
|
-
indexDatas?: IConditionIndexData[];
|
|
137
|
-
}
|
|
138
|
-
export interface IConditionIndexData {
|
|
139
|
-
uuid?: string;
|
|
140
|
-
approvalCondition?: ICondition;
|
|
141
|
-
indexData?: IIndexData;
|
|
142
|
-
value?: string;
|
|
143
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { IOrganization } from '../../Auth/IOrganization';
|
|
2
|
-
import { IEmployee } from '../Administration/IEmployee';
|
|
3
|
-
import { IDocumentIndex, IDocumentType } from './IDocument';
|
|
4
|
-
import { IFactoringType } from './Invoice/IFactoring';
|
|
5
|
-
export interface ICase {
|
|
6
|
-
uuid: string;
|
|
7
|
-
number: string;
|
|
8
|
-
thirdPartyOrganization?: IOrganization;
|
|
9
|
-
deletable?: boolean;
|
|
10
|
-
name?: string;
|
|
11
|
-
caseType?: IDocumentType;
|
|
12
|
-
organization?: IOrganization;
|
|
13
|
-
caseIndices?: IDocumentIndex[];
|
|
14
|
-
indicesData?: IDocumentIndex[];
|
|
15
|
-
latestStatus?: {
|
|
16
|
-
uuid: string;
|
|
17
|
-
name: string;
|
|
18
|
-
order: number;
|
|
19
|
-
};
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
evidenceNumber?: string;
|
|
22
|
-
assigned?: IEmployee;
|
|
23
|
-
notSeenShipments?: boolean;
|
|
24
|
-
seen?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export type CaseFetchOption = 'CASE_TYPE' | 'LATEST_STATUS' | 'INDEX_DATA' | 'ASSIGNED_EMPLOYEE' | 'ORGANIZATION' | 'THIRD_PARTY_ORGANIZATION';
|
|
27
|
-
export type CasesCountFetchOption = 'FACTORING' | 'FACTORING_REGULAR' | 'FACTORING_REVERSE';
|
|
28
|
-
export interface ICaseSearch {
|
|
29
|
-
nameLike?: string;
|
|
30
|
-
caseTypeUuid?: string;
|
|
31
|
-
latestStatusUuid?: boolean;
|
|
32
|
-
factoringCases?: boolean;
|
|
33
|
-
factoringType?: IFactoringType;
|
|
34
|
-
hasAtLeastOneDocumentWithSend?: boolean;
|
|
35
|
-
}
|
|
36
|
-
export interface ICaseTypeStatus {
|
|
37
|
-
uuid?: string;
|
|
38
|
-
name?: string;
|
|
39
|
-
order?: string;
|
|
40
|
-
caseType?: IDocumentType;
|
|
41
|
-
}
|
|
42
|
-
export interface ICaseStatus {
|
|
43
|
-
createdAt?: string;
|
|
44
|
-
caseStatus?: ICaseTypeStatus;
|
|
45
|
-
}
|
|
46
|
-
export interface ICaseTypeSearch {
|
|
47
|
-
group?: 'FACTORING';
|
|
48
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { ISelectData, IStringObject } from '@inceptionbg/iui';
|
|
2
|
-
import { IUser } from '../../Auth/IUser';
|
|
3
|
-
import { IOrganization, IOrganizationalUnitUpdate } from '../../Auth/IOrganization';
|
|
4
|
-
import { IDocumentFile } from './IDocumentFile';
|
|
5
|
-
import { IIndex, IIndexData } from './IndexData';
|
|
6
|
-
import { IInvoice, ITaxCategory } from './Invoice/IInvoice';
|
|
7
|
-
import { IShipment } from './Shipment/IShipment';
|
|
8
|
-
import { IOfficeDocument } from './Office/IOfficeDocument';
|
|
9
|
-
import { ISendStatus } from './IDocumentSend';
|
|
10
|
-
import { IPartner } from '../Partner/IPartner';
|
|
11
|
-
export interface IDocument {
|
|
12
|
-
uuid: string;
|
|
13
|
-
documentNumber?: string;
|
|
14
|
-
documentType?: IDocumentType;
|
|
15
|
-
files?: IDocumentFile[];
|
|
16
|
-
date?: string;
|
|
17
|
-
note?: string;
|
|
18
|
-
createdAt?: string;
|
|
19
|
-
createdBy?: IUser;
|
|
20
|
-
concluded?: boolean;
|
|
21
|
-
organization?: {
|
|
22
|
-
uuid: string;
|
|
23
|
-
};
|
|
24
|
-
issueDate?: string;
|
|
25
|
-
issuer?: IPartner;
|
|
26
|
-
receiver?: IPartner;
|
|
27
|
-
}
|
|
28
|
-
export interface IDocumentAny extends Partial<IInvoice>, Partial<IShipment>, Partial<IOfficeDocument> {
|
|
29
|
-
}
|
|
30
|
-
export declare const DocumentTypes: readonly ["INDIVIDUAL", "COLLECTIVE"];
|
|
31
|
-
export type DocumentType = (typeof DocumentTypes)[number];
|
|
32
|
-
export type IDocumentCategory = 'DOCUMENT' | 'INVOICE' | 'ARCHIVE' | 'SHIPMENT';
|
|
33
|
-
export type IDocumentSort = 'DOCUMENT_NUMBER_ASC' | 'DOCUMENT_NUMBER_DESC' | 'CONCLUDED_ASC' | 'CONCLUDED_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'RECEIVER_NAME_ASC' | 'RECEIVER_NAME_DESC' | 'ISSUER_NAME_ASC' | 'ISSUER_NAME_DESC' | 'ORUN_ASC' | 'ORUN_DESC' | 'SEF_VERIFICATION_DEADLINE_ASC' | 'SEF_VERIFICATION_DEADLINE_DESC';
|
|
34
|
-
export type DocumentFetchOption = 'TYPE' | 'FILES' | 'ISSUER' | 'RECEIVER' | 'CREATED_BY' | 'SIMPLE' | 'DOCUMENT_SOURCE_TYPE' | 'LATEST_APPROVAL_PROCESS_SIMPLE' | 'CONTRACT' | 'ORUN' | 'LATEST_SEF_SEND' | 'LATEST_SEND' | 'DOCUMENT_LATEST_SEND_TOTAL_PRICE_SUM' | 'EMAIL_DOCUMENT' | 'INDEX_DATA' | 'INDEX_DATA_WITH_NAMES' | 'SHIPMENT_UNREGISTERED_RECEIVER' | 'CREDIT_NOTE_INVOICES' | 'INTERNAL_RECEIVER' | 'APPROVAL_STEP_GROUP' | 'HOLD' | 'PAYMENTS' | 'ADVANCE_PAYMENT_SUM' | 'SEF_APPROVAL_USER' | 'BANK_ACCOUNT' | 'FACTORING' | 'CASES' | 'COST_CENTER_EXPENSE_ALLOCATION' | 'INVOICE_TAX_ALLOCATION' | 'TAX_RECAPITULATION' | 'TAX_CATEGORIES' | 'INVOICE_ITEMS';
|
|
35
|
-
export interface IDocumentSearch {
|
|
36
|
-
accountsUuid?: string[];
|
|
37
|
-
approvalProcessEndTimeFrom?: string;
|
|
38
|
-
approvalProcessEndTimeTo?: string;
|
|
39
|
-
approvalStepGroupUuid?: string;
|
|
40
|
-
approvalUuid?: string;
|
|
41
|
-
approvalUuids?: string[];
|
|
42
|
-
archived?: boolean;
|
|
43
|
-
bestPaidBeforeFrom?: string;
|
|
44
|
-
bestPaidBeforeTo?: string;
|
|
45
|
-
category?: IDocumentCategory;
|
|
46
|
-
concluded?: boolean;
|
|
47
|
-
contractNumber?: string;
|
|
48
|
-
contractNumberSef?: string;
|
|
49
|
-
contractUuid?: string;
|
|
50
|
-
costCentersUuid?: string;
|
|
51
|
-
createdDateFrom?: string;
|
|
52
|
-
createdDateTo?: string;
|
|
53
|
-
currencyUuid?: string;
|
|
54
|
-
dateFrom?: string;
|
|
55
|
-
dateTo?: string;
|
|
56
|
-
documentApprovalStatus?: string;
|
|
57
|
-
documentNumber?: string;
|
|
58
|
-
documentNumberLike?: string;
|
|
59
|
-
documentSent?: boolean;
|
|
60
|
-
documentTypeUuid?: string;
|
|
61
|
-
documentTypesUuid?: string[];
|
|
62
|
-
documentYearMonth?: string;
|
|
63
|
-
domesticCurrency?: boolean;
|
|
64
|
-
evidenceDateFrom?: string;
|
|
65
|
-
evidenceDateTo?: string;
|
|
66
|
-
evidenceNumberLike?: string;
|
|
67
|
-
excludeDocumentUuid?: string;
|
|
68
|
-
excludeSefStatuses?: ISendStatus[];
|
|
69
|
-
factoring?: boolean;
|
|
70
|
-
foreignCurrency?: boolean;
|
|
71
|
-
income?: boolean;
|
|
72
|
-
internalReceiverNotBlank?: boolean;
|
|
73
|
-
internalRoutingNumberLike?: string;
|
|
74
|
-
invoice?: boolean;
|
|
75
|
-
issueDateFrom?: string;
|
|
76
|
-
issueDateTo?: string;
|
|
77
|
-
issuerOrReceiverUuid?: string;
|
|
78
|
-
issuerUuid?: string;
|
|
79
|
-
latestDocumentSendStatus?: ISendStatus;
|
|
80
|
-
latestDocumentSendStatuses?: ISendStatus[];
|
|
81
|
-
nameLike?: string;
|
|
82
|
-
onHold?: boolean;
|
|
83
|
-
onHoldByUserUuid?: string;
|
|
84
|
-
orunUuids?: string[];
|
|
85
|
-
paymentDateFrom?: string;
|
|
86
|
-
paymentDateTo?: string;
|
|
87
|
-
pioInternalCodeBookReportCustomFilter?: boolean;
|
|
88
|
-
plannedPaymentDateFrom?: string;
|
|
89
|
-
plannedPaymentDateTo?: string;
|
|
90
|
-
receiverUuid?: string;
|
|
91
|
-
registerUuid?: string;
|
|
92
|
-
sefDeadlineDaysFrom?: string;
|
|
93
|
-
sefDeadlineDaysTo?: string;
|
|
94
|
-
sefInvoice?: boolean;
|
|
95
|
-
sefInvoiceType?: ISefInvoiceType;
|
|
96
|
-
sefSendStatus?: ISendStatus;
|
|
97
|
-
sefStatus?: ISendStatus;
|
|
98
|
-
sefStatusCommentLike?: string;
|
|
99
|
-
sefStatuses?: ISendStatus[];
|
|
100
|
-
signal?: any;
|
|
101
|
-
sort?: string;
|
|
102
|
-
taxCategory?: ITaxCategory;
|
|
103
|
-
totalPriceWithVatInCurrency?: number;
|
|
104
|
-
trafficDateFrom?: string;
|
|
105
|
-
trafficDateTo?: string;
|
|
106
|
-
vatPercentage?: string;
|
|
107
|
-
year?: number;
|
|
108
|
-
documentTypesObj?: ISelectData[];
|
|
109
|
-
issuerObj?: ISelectData;
|
|
110
|
-
registerObj?: ISelectData;
|
|
111
|
-
receiverObj?: ISelectData;
|
|
112
|
-
approvalObj?: ISelectData;
|
|
113
|
-
accountsObj?: ISelectData[];
|
|
114
|
-
costCentersObj?: ISelectData[];
|
|
115
|
-
concludedObj?: ISelectData;
|
|
116
|
-
currencyObj?: ISelectData;
|
|
117
|
-
approvalStepGroupObj?: ISelectData;
|
|
118
|
-
}
|
|
119
|
-
export declare const SefVatEvidenceTypes: readonly ["INVOICE", "CREDIT_NOTE", "DEBIT_NOTE", "PREPAYMENT_INVOICE", "INTERNAL_ACCOUNT_FOR_TURNOVER_OF_FOREIGNER", "OTHER_INTERNAL_STATEMENT"];
|
|
120
|
-
export type SefVatEvidenceType = (typeof SefVatEvidenceTypes)[number];
|
|
121
|
-
export interface IDocumentType {
|
|
122
|
-
uuid?: string;
|
|
123
|
-
name?: string;
|
|
124
|
-
printName?: string;
|
|
125
|
-
invoice?: boolean;
|
|
126
|
-
income?: boolean;
|
|
127
|
-
fields?: DocumentField[];
|
|
128
|
-
organization?: IOrganization;
|
|
129
|
-
participateInContractRealization?: boolean;
|
|
130
|
-
participateInContractPaymentRealization?: boolean;
|
|
131
|
-
sort?: number;
|
|
132
|
-
sefInvoiceType?: ISefInvoiceType;
|
|
133
|
-
shipment?: boolean;
|
|
134
|
-
category?: 'DOCUMENT' | 'CASE';
|
|
135
|
-
internalCode?: string;
|
|
136
|
-
caseNumberRequired?: boolean;
|
|
137
|
-
retentionPeriod?: string;
|
|
138
|
-
code?: string;
|
|
139
|
-
sefVatEvidenceType?: SefVatEvidenceType;
|
|
140
|
-
}
|
|
141
|
-
export type DocumentTypeFetchOptions = 'FILES' | 'INDEX_DATA' | 'EMAIL_DOCUMENT' | 'SUM_ADVANCED_PAYMENTS';
|
|
142
|
-
export type ISefInvoiceType = 'COMMERCIAL_INVOICE' | 'CREDIT_NOTE' | 'DEBIT_NOTE' | 'PREPAYMENT_INVOICE';
|
|
143
|
-
export declare const SendToCirValues: readonly ["YES", "NO"];
|
|
144
|
-
export type ISendToCir = (typeof SendToCirValues)[number];
|
|
145
|
-
export interface IAdvancedPayment {
|
|
146
|
-
uuid?: string;
|
|
147
|
-
targetDocument?: IDocument;
|
|
148
|
-
totalPriceWithoutVat?: number | string;
|
|
149
|
-
totalPriceWithVat?: number | string;
|
|
150
|
-
totalPriceWithoutVatInCurrency?: number | string;
|
|
151
|
-
totalPriceWithVatInCurrency?: number | string;
|
|
152
|
-
vatPercentage?: number;
|
|
153
|
-
sourceDocumentUuid?: string;
|
|
154
|
-
targetDocumentNumber?: string;
|
|
155
|
-
targetDocumentIssueDate?: string;
|
|
156
|
-
taxCategory?: string;
|
|
157
|
-
externalSource?: string;
|
|
158
|
-
}
|
|
159
|
-
export interface IAdvancedPaymentSum {
|
|
160
|
-
totalPriceWithoutVat?: number;
|
|
161
|
-
totalPriceWithVat?: number;
|
|
162
|
-
}
|
|
163
|
-
export interface ICreditNoteInvoice {
|
|
164
|
-
uuid?: string;
|
|
165
|
-
creditNote?: IDocument;
|
|
166
|
-
invoice?: IDocument;
|
|
167
|
-
invoiceNumber?: string;
|
|
168
|
-
invoiceIssueDate?: string;
|
|
169
|
-
}
|
|
170
|
-
export declare const LatestApprovalStatuses: readonly ["IN_PROGRESS", "DECLINED", "APPROVED", "NOT_STARTED"];
|
|
171
|
-
export type LatestApprovalStatus = (typeof LatestApprovalStatuses)[number];
|
|
172
|
-
export interface IDocumentSource {
|
|
173
|
-
document?: Document;
|
|
174
|
-
uuid?: string;
|
|
175
|
-
}
|
|
176
|
-
export type IDocumentSourceType = 'EMAIL' | 'INTERNAL_SEND' | 'MANUAL_INPUT';
|
|
177
|
-
export interface IDocumentNote {
|
|
178
|
-
uuid?: string;
|
|
179
|
-
document?: IDocument;
|
|
180
|
-
text?: string;
|
|
181
|
-
createdAt?: string;
|
|
182
|
-
createdBy?: IUser;
|
|
183
|
-
}
|
|
184
|
-
export interface IDocumentIndex {
|
|
185
|
-
uuid?: string;
|
|
186
|
-
index?: IIndexData;
|
|
187
|
-
indexDataPosition?: IIndex;
|
|
188
|
-
value?: string;
|
|
189
|
-
codebookItem?: {
|
|
190
|
-
uuid: string;
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
export interface IDocumentWarning {
|
|
194
|
-
uuid: string;
|
|
195
|
-
document?: IDocument | null;
|
|
196
|
-
type: string;
|
|
197
|
-
message: string;
|
|
198
|
-
createdAt: string;
|
|
199
|
-
}
|
|
200
|
-
export declare const DocumentFields: readonly ["TRAFFIC_DATE", "BEST_PAID_BEFORE", "CONTRACT", "DOCUMENT_NUMBER", "NOTE", "ORUN", "INVOICE_ITEM_CODE", "INVOICE_ITEM_UNIT_OF_MEASURE", "INVOICE_ITEM_QUANTITY", "INVOICE_ITEM_UNIT_PRICE_WITHOUT_VAT", "INVOICE_ITEM_TOTAL_PRICE_WITHOUT_VAT", "INVOICE_ITEM_TOTAL_PRICE_WITH_VAT", "INVOICE_ITEM_VAT_PERCENTAGE", "TOTAL_PRICES", "PLANNED_PAYMENT_DATE", "ALLOWANCE_PERCENTAGE", "ALLOWANCE"];
|
|
201
|
-
export type DocumentField = (typeof DocumentFields)[number];
|
|
202
|
-
export declare const DocumentStatuses: readonly ["IN_PROGRESS", "CONCLUDED"];
|
|
203
|
-
export type IDocumentStatus = (typeof DocumentStatuses)[number];
|
|
204
|
-
export interface DocumentIndicies {
|
|
205
|
-
[id: string]: IDocumentIndex;
|
|
206
|
-
}
|
|
207
|
-
export declare const GroupItems: readonly ["ISSUER", "ORUN", "STEP_GROUP", "ACCOUNT", "CONTRACT"];
|
|
208
|
-
export type IGroupItem = (typeof GroupItems)[number];
|
|
209
|
-
export declare const GroupItemsSubLevel: readonly ["ISSUER", "ACCOUNT", "CONTRACT"];
|
|
210
|
-
export type IGroupItemSubLevel = (typeof GroupItemsSubLevel)[number];
|
|
211
|
-
export interface IDocumentForward {
|
|
212
|
-
uuid?: string;
|
|
213
|
-
createdAt?: string;
|
|
214
|
-
createdBy?: IUser;
|
|
215
|
-
note?: string;
|
|
216
|
-
orun?: IOrganizationalUnitUpdate;
|
|
217
|
-
}
|
|
218
|
-
export type DocumentForwardsFetchOption = 'ORUN' | 'CREATED_BY';
|
|
219
|
-
export declare const documentsColumnsMap: IStringObject;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ISimpleObject } from '@inceptionbg/iui';
|
|
2
|
-
import { IFileSignatory } from './ISignatory';
|
|
3
|
-
import { IUser } from '../../Auth/IUser';
|
|
4
|
-
import { IOrganization } from '../../Auth/IOrganization';
|
|
5
|
-
export interface IDocumentFile {
|
|
6
|
-
uuid: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
signedFile?: IFile;
|
|
9
|
-
storedFile?: IFile;
|
|
10
|
-
createdBy?: IUser;
|
|
11
|
-
deleted?: boolean;
|
|
12
|
-
downloaded?: boolean;
|
|
13
|
-
previousVersion?: ISimpleObject;
|
|
14
|
-
externalSource?: boolean;
|
|
15
|
-
orderNumber?: string | number;
|
|
16
|
-
requiredSignature?: boolean;
|
|
17
|
-
confidentialDocument?: boolean;
|
|
18
|
-
signatories?: IFileSignatory[];
|
|
19
|
-
fileType?: IFileType;
|
|
20
|
-
locked?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export type DocumentFileFetchOptions = 'PREVIOUS_VERSION' | 'FILE_TYPE';
|
|
23
|
-
export interface IDocumentFileParams {
|
|
24
|
-
onlyAttachedFiles?: boolean;
|
|
25
|
-
documentSendUuid?: string;
|
|
26
|
-
includeDeleted?: boolean;
|
|
27
|
-
baseDocumentFileUuid?: string;
|
|
28
|
-
documentFileType?: 'SCAN';
|
|
29
|
-
}
|
|
30
|
-
export interface IUploadDocumentType {
|
|
31
|
-
file?: any;
|
|
32
|
-
name?: string;
|
|
33
|
-
}
|
|
34
|
-
export interface IFileSignData {
|
|
35
|
-
redirectUrl?: string;
|
|
36
|
-
notificationEmailAddress?: string;
|
|
37
|
-
notificationPhoneNumber?: string;
|
|
38
|
-
}
|
|
39
|
-
export interface IFile {
|
|
40
|
-
uuid: string;
|
|
41
|
-
contentType?: string;
|
|
42
|
-
digest?: string;
|
|
43
|
-
digestAlgorithm?: string;
|
|
44
|
-
fileUuid?: string;
|
|
45
|
-
lengthInBytes: number;
|
|
46
|
-
md5?: string;
|
|
47
|
-
originalFileName: string;
|
|
48
|
-
downloadUrl?: string;
|
|
49
|
-
uploadedAt?: string;
|
|
50
|
-
storage?: {
|
|
51
|
-
url?: string;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export interface IFileUpload {
|
|
55
|
-
contentType: string;
|
|
56
|
-
digest: string;
|
|
57
|
-
digestAlgorithm: string;
|
|
58
|
-
lengthInBytes: number;
|
|
59
|
-
uuid: string;
|
|
60
|
-
originalFileName: string;
|
|
61
|
-
}
|
|
62
|
-
export interface IFileType {
|
|
63
|
-
uuid?: string;
|
|
64
|
-
name?: string;
|
|
65
|
-
organization?: IOrganization;
|
|
66
|
-
requireSignature?: boolean;
|
|
67
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { IOrganization } from '../../Auth/IOrganization';
|
|
2
|
-
import { IUser } from '../../Auth/IUser';
|
|
3
|
-
import { IContactPerson } from '../Partner/IPartner';
|
|
4
|
-
import { IApproval } from './IApproval';
|
|
5
|
-
import { IDocumentAny, IDocumentType } from './IDocument';
|
|
6
|
-
import { IDocumentFile } from './IDocumentFile';
|
|
7
|
-
import { IShipment } from './Shipment/IShipment';
|
|
8
|
-
export interface IDocumentSend {
|
|
9
|
-
uuid?: string;
|
|
10
|
-
contactPerson?: IContactPerson;
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
body?: string;
|
|
13
|
-
latestStatus?: ISendStatus;
|
|
14
|
-
requireConsent?: boolean;
|
|
15
|
-
consentDeadlineTime?: string;
|
|
16
|
-
requireDeliveryReceipt?: boolean;
|
|
17
|
-
requireFileSignature?: boolean;
|
|
18
|
-
requireDownloadBeforeConsent?: boolean;
|
|
19
|
-
qualifiedDelivery?: boolean;
|
|
20
|
-
accessHash?: string;
|
|
21
|
-
receiverName?: string;
|
|
22
|
-
email?: string;
|
|
23
|
-
document?: IShipment;
|
|
24
|
-
createdBy?: IUser;
|
|
25
|
-
organization?: IOrganization;
|
|
26
|
-
files?: IDocumentFile[];
|
|
27
|
-
description?: string;
|
|
28
|
-
sendFinal?: boolean;
|
|
29
|
-
relatedDocuments?: IDocumentAny[];
|
|
30
|
-
totalPrice?: number;
|
|
31
|
-
discount?: number;
|
|
32
|
-
deletionTime?: string;
|
|
33
|
-
sefComment?: string;
|
|
34
|
-
inBehalfOf?: {
|
|
35
|
-
email: string;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export interface IDocumentSendPub {
|
|
39
|
-
uuid: string;
|
|
40
|
-
files: IDocumentFile[];
|
|
41
|
-
sender: IOrganization;
|
|
42
|
-
receiver: IOrganization;
|
|
43
|
-
sendFinal?: boolean;
|
|
44
|
-
latestStatus: ISendStatus;
|
|
45
|
-
requireConsent?: boolean;
|
|
46
|
-
requireFileSignature?: boolean;
|
|
47
|
-
requireDownloadBeforeConsent?: boolean;
|
|
48
|
-
qualifiedDelivery?: boolean;
|
|
49
|
-
required2Fa?: boolean;
|
|
50
|
-
receiverName: string;
|
|
51
|
-
email?: string;
|
|
52
|
-
shipmentNumber: string;
|
|
53
|
-
shipmentType?: string;
|
|
54
|
-
internalRoutingNumber?: string;
|
|
55
|
-
consentDeadlineTime?: string;
|
|
56
|
-
redirectUrl?: string;
|
|
57
|
-
locale?: string;
|
|
58
|
-
createdAt?: string;
|
|
59
|
-
messageSubject?: string;
|
|
60
|
-
note?: string;
|
|
61
|
-
visualizationProfile?: 'OTP' | 'OTP_VIDEO_KYC' | 'OTP_CLOUD';
|
|
62
|
-
bulkDownoloadUrl: string;
|
|
63
|
-
deliveryConfirmationSigned?: string;
|
|
64
|
-
}
|
|
65
|
-
export type DocumentSendFetchOption = 'CREATED_BY' | 'DOCUMENT' | 'DOCUMENT_WITH_ISSUER_RECEIVER' | 'ORGANIZATION' | 'FILES_WITH_URLS' | 'SIGNATORIES' | 'DESCRIPTION' | 'RELATED_DOCUMENTS' | 'CONVERSATION_VIEW' | 'RECEIVER_ORGANIZATION' | 'IN_BEHALF_OF';
|
|
66
|
-
export interface IDocumentSendSearch {
|
|
67
|
-
documentUuid?: string;
|
|
68
|
-
receiverOrganizationUuid?: string;
|
|
69
|
-
organizationUuid?: string;
|
|
70
|
-
receiverUserUuid?: string;
|
|
71
|
-
status?: ISendStatus;
|
|
72
|
-
excludeStatuses?: ISendStatus[];
|
|
73
|
-
createdFrom?: string;
|
|
74
|
-
createdTo?: string;
|
|
75
|
-
documentNumberLike?: string;
|
|
76
|
-
documentDateFrom?: string;
|
|
77
|
-
documentDateTo?: string;
|
|
78
|
-
documentIssuerFullTextSearch?: string;
|
|
79
|
-
documentTotalPriceWithVatFrom?: number;
|
|
80
|
-
documentTotalPriceWithVatTo?: number;
|
|
81
|
-
documentBestPaidBeforeFrom?: string;
|
|
82
|
-
documentBestPaidBeforeTo?: string;
|
|
83
|
-
firstLevel?: boolean;
|
|
84
|
-
sort?: string;
|
|
85
|
-
conversationViewUuid?: string;
|
|
86
|
-
caseUuid?: string;
|
|
87
|
-
}
|
|
88
|
-
export declare const SendStatuses: readonly ["QUEUED", "SENDING", "NOT_REGISTERED_ON_SEF", "ERROR", "SENT", "SEEN", "DOWNLOADED", "APPROVED", "REJECTED", "UNRESOLVED", "MISTAKE", "CANCELLED", "STORNO", "RENOTIFIED"];
|
|
89
|
-
export type ISendStatus = (typeof SendStatuses)[number];
|
|
90
|
-
export interface IDocumentSendStatusChange {
|
|
91
|
-
status: ISendStatus;
|
|
92
|
-
time: string;
|
|
93
|
-
}
|
|
94
|
-
export interface IDocumentInternalSend extends IDocumentSend {
|
|
95
|
-
receiverOrganization?: IOrganization;
|
|
96
|
-
receiverUser?: IUser;
|
|
97
|
-
internalSend?: boolean;
|
|
98
|
-
}
|
|
99
|
-
export type InternalExchangeFilterType = 'ALL_DOCUMENTS' | 'MY_DOCUMENTS' | 'DECLINED_DOCUMENTS';
|
|
100
|
-
/**
|
|
101
|
-
* Create document from DocumentInternalSend request
|
|
102
|
-
*/
|
|
103
|
-
export interface ICreateDocumentFromDISRequest {
|
|
104
|
-
internalSend: IDocumentInternalSend;
|
|
105
|
-
documentNumber: string;
|
|
106
|
-
documentType: IDocumentType;
|
|
107
|
-
date: string;
|
|
108
|
-
documentFiles?: IDocumentFile[];
|
|
109
|
-
approval?: IApproval;
|
|
110
|
-
}
|
|
111
|
-
export interface IDocumentSendInBulk {
|
|
112
|
-
emailSends?: IEmailSend[];
|
|
113
|
-
sef?: boolean;
|
|
114
|
-
internalSend?: IDocumentInternalSend;
|
|
115
|
-
files?: IDocumentFile[];
|
|
116
|
-
}
|
|
117
|
-
export interface IEmailSend {
|
|
118
|
-
email?: string;
|
|
119
|
-
requireConsent?: boolean;
|
|
120
|
-
emailSend?: boolean;
|
|
121
|
-
qualifiedDelivery?: boolean;
|
|
122
|
-
}
|
|
123
|
-
export interface IDocumentStornOrCancelData {
|
|
124
|
-
status?: 'CANCELLED' | 'STORNO' | '';
|
|
125
|
-
comment?: string;
|
|
126
|
-
stornoNumber?: string;
|
|
127
|
-
invoiceUuids?: string[];
|
|
128
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { IOrganization } from '../../Auth/IOrganization';
|
|
2
|
-
import { IUser } from '../../Auth/IUser';
|
|
3
|
-
import { IPartner } from '../Partner/IPartner';
|
|
4
|
-
import { IApproval } from './IApproval';
|
|
5
|
-
import { IDocument, IDocumentType } from './IDocument';
|
|
6
|
-
import { IDocumentFile } from './IDocumentFile';
|
|
7
|
-
export interface IEmailDocument {
|
|
8
|
-
documentNumber?: string;
|
|
9
|
-
date: string;
|
|
10
|
-
documentType: IDocumentType;
|
|
11
|
-
attachments: IEmailMessageAttachment[];
|
|
12
|
-
emailAccount: IEmailCredential;
|
|
13
|
-
emailMessage: IEmailMessage;
|
|
14
|
-
issuer: IPartner;
|
|
15
|
-
approval?: IApproval;
|
|
16
|
-
}
|
|
17
|
-
export interface IEmailDocumentSaved {
|
|
18
|
-
uuid?: string;
|
|
19
|
-
document?: IDocument;
|
|
20
|
-
emailAccount?: IEmailCredential;
|
|
21
|
-
electronicReturnReceiptTime?: string;
|
|
22
|
-
documentFiles?: IDocumentFile[];
|
|
23
|
-
}
|
|
24
|
-
export interface IEmailMessage {
|
|
25
|
-
subject?: string;
|
|
26
|
-
number?: string;
|
|
27
|
-
from?: string[];
|
|
28
|
-
time?: string;
|
|
29
|
-
textBody?: string;
|
|
30
|
-
htmlBody?: string;
|
|
31
|
-
attachments?: IEmailMessageAttachment[];
|
|
32
|
-
relatedDocuments?: IDocument[];
|
|
33
|
-
emailAccount?: IEmailCredential;
|
|
34
|
-
}
|
|
35
|
-
export interface IEmailMessageAttachment {
|
|
36
|
-
name?: string;
|
|
37
|
-
downloadUrl?: string;
|
|
38
|
-
lengthInBytes?: number;
|
|
39
|
-
}
|
|
40
|
-
export interface IEmailCredential {
|
|
41
|
-
uuid?: string;
|
|
42
|
-
username?: string;
|
|
43
|
-
password?: string;
|
|
44
|
-
imapHost?: string;
|
|
45
|
-
imapPort?: number;
|
|
46
|
-
organization?: IOrganization;
|
|
47
|
-
usersWithAccess?: IUser[];
|
|
48
|
-
createdBy?: IUser;
|
|
49
|
-
}
|
|
50
|
-
export interface IEmailAccountSearch {
|
|
51
|
-
userHasAccess?: boolean;
|
|
52
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface IIndexDataCodebook {
|
|
2
|
-
uuid: string;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
active?: boolean;
|
|
6
|
-
organization?: {
|
|
7
|
-
uuid: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface IIndexDataCodebookItem {
|
|
11
|
-
code: string;
|
|
12
|
-
name: string;
|
|
13
|
-
uuid: string;
|
|
14
|
-
active: boolean;
|
|
15
|
-
}
|