@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.
Files changed (130) hide show
  1. package/dist/index.d.ts +2154 -0
  2. package/dist/types/global.d.ts +63 -63
  3. package/package.json +48 -48
  4. package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
  5. package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
  6. package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
  7. package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
  8. package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
  9. package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
  10. package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
  11. package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
  12. package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
  13. package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
  14. package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
  15. package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
  16. package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
  17. package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
  18. package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
  19. package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
  20. package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
  21. package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
  22. package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
  23. package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
  24. package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
  25. package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
  26. package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
  27. package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
  28. package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
  29. package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
  30. package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
  31. package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
  32. package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
  33. package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
  34. package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
  35. package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
  36. package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
  37. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
  38. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
  39. package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
  40. package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
  41. package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
  42. package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
  43. package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
  44. package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
  45. package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
  46. package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
  47. package/dist/tempTypes/auth/Auth.d.ts +0 -55
  48. package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
  49. package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
  50. package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
  51. package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
  52. package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
  53. package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
  54. package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
  55. package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
  56. package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
  57. package/dist/tempTypes/components/Header/Header.d.ts +0 -9
  58. package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
  59. package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
  60. package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
  61. package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
  62. package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
  63. package/dist/tempTypes/components/Router/Router.d.ts +0 -10
  64. package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
  65. package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
  66. package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
  67. package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
  68. package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
  69. package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
  70. package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
  71. package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
  72. package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
  73. package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
  74. package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
  75. package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
  76. package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
  77. package/dist/tempTypes/index.d.ts +0 -56
  78. package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
  79. package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
  80. package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
  81. package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
  82. package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
  83. package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
  84. package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
  85. package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
  86. package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
  87. package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
  88. package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
  89. package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
  90. package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
  91. package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
  92. package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
  93. package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
  94. package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
  95. package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
  96. package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
  97. package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
  98. package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
  99. package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
  100. package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
  101. package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
  102. package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
  103. package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
  104. package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
  105. package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
  106. package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
  107. package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
  108. package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
  109. package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
  110. package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
  111. package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
  112. package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
  113. package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
  114. package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
  115. package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
  116. package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
  117. package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
  118. package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
  119. package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
  120. package/dist/tempTypes/types/IError.d.ts +0 -5
  121. package/dist/tempTypes/types/INotifications.d.ts +0 -15
  122. package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
  123. package/dist/tempTypes/types/IScan.d.ts +0 -17
  124. package/dist/tempTypes/types/ISidebar.d.ts +0 -27
  125. package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
  126. package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
  127. package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
  128. package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
  129. package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
  130. package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
@@ -1,34 +0,0 @@
1
- import { ISimpleObject } from '@inceptionbg/iui';
2
- export interface IFileSignatory {
3
- uuid?: string;
4
- firstName?: string;
5
- lastName?: string;
6
- email?: string;
7
- phoneNumber?: string;
8
- personalIdentityNumber?: string;
9
- signatureAppearance?: ISignatureAppearance;
10
- visualizationProfile?: ISimpleObject;
11
- signatureType?: ISignatureType;
12
- }
13
- export type ISignatureType = 'ESIG' | 'ESEAL';
14
- export interface ISignatureAppearance {
15
- pageNumber?: string;
16
- x?: string;
17
- y?: string;
18
- width?: string | number;
19
- height?: string | number;
20
- }
21
- export interface ISignatoriesTemplateNew {
22
- uuid?: string;
23
- name?: string;
24
- signatories?: IFileSignatory[];
25
- }
26
- export interface ISignatoriesTemplate extends ISignatoriesTemplateNew {
27
- uuid: string;
28
- name: string;
29
- signatories: IFileSignatory[];
30
- }
31
- export interface ISignatoriesTemplateSearch {
32
- nameLike?: string;
33
- }
34
- export type ISignatoriesTemplateFetchOption = 'SIGNATORIES';
@@ -1,60 +0,0 @@
1
- import { ISelectData } from '@inceptionbg/iui';
2
- import { IIndexDataCodebookItem, IIndexDataCodebook } from './IIndexDataCodebook';
3
- import { IOrganization } from '../../Auth/IOrganization';
4
- export interface IIndexData {
5
- uuid: string;
6
- name: string;
7
- code: string;
8
- createdAt: string;
9
- fieldType: IndexDataFieldType;
10
- indexDataCodebook?: Partial<IIndexDataCodebook>;
11
- deletionTime?: string;
12
- readonly?: boolean;
13
- organization?: IOrganization;
14
- minLength?: number;
15
- maxLength?: number;
16
- order?: number;
17
- fieldTypeObj?: ISelectData;
18
- codebookObj?: ISelectData;
19
- }
20
- export interface IIndex {
21
- uuid?: string;
22
- value?: string;
23
- name?: string;
24
- position?: IIndexDataPosition;
25
- indexData?: IIndexData;
26
- indexOrder?: string;
27
- defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
28
- }
29
- export declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
30
- export type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
31
- export declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
32
- export type IIndexDataPosition = (typeof IndexDataPositions)[number];
33
- export interface IIndicesIndex {
34
- uuid?: string;
35
- indexDataPosition?: IIndex;
36
- value?: string;
37
- codebookItem?: {
38
- uuid: string;
39
- };
40
- }
41
- export interface IIndexDataPositionSearch {
42
- contractTypeUuid?: string;
43
- caseTypeUuid?: string;
44
- documentTypeUuid?: string;
45
- }
46
- export interface IIndexDataCreate {
47
- uuid?: string;
48
- position: IIndexDataPosition;
49
- indexData: IIndexData;
50
- contractType?: {
51
- uuid: string;
52
- };
53
- caseType?: {
54
- uuid: string;
55
- };
56
- documentType?: {
57
- uuid: string;
58
- };
59
- indexOrder?: number;
60
- }
@@ -1,11 +0,0 @@
1
- import { IOrganization } from '../../../Auth/IOrganization';
2
- export interface IAccount {
3
- uuid?: string;
4
- name?: string;
5
- code?: string;
6
- deleted?: boolean;
7
- organization?: IOrganization;
8
- }
9
- export interface IAccountSearch {
10
- fullText?: string;
11
- }
@@ -1,39 +0,0 @@
1
- import { IIndex } from '../IndexData';
2
- import { IAccount } from './IAccount';
3
- export interface IExpenseAllocation {
4
- uuid: string;
5
- document: {
6
- uuid: string;
7
- };
8
- costCenter: {
9
- uuid: string;
10
- code: string;
11
- name: string;
12
- };
13
- expenseAmount: string;
14
- orderNumber?: string;
15
- note?: string;
16
- account?: IAccount;
17
- costCenterExpenseAllocationIndexes?: ICostCenterExpenseAllocationIndex[];
18
- }
19
- export interface ICostCenterAdditionalCodebook {
20
- uuid: string;
21
- name: string;
22
- code?: string;
23
- description?: string;
24
- active?: boolean;
25
- }
26
- export interface ICostCenterExpenseAllocationIndex {
27
- uuid?: string;
28
- indexDataPosition?: IIndex;
29
- value?: string;
30
- codebookItem?: {
31
- uuid: string;
32
- code?: string;
33
- name?: string;
34
- active?: boolean;
35
- };
36
- }
37
- export interface ICostCenterIndices {
38
- [id: string]: ICostCenterExpenseAllocationIndex;
39
- }
@@ -1,6 +0,0 @@
1
- export interface IFactoringAccess {
2
- regular?: boolean;
3
- reverse?: boolean;
4
- futureClaims?: boolean;
5
- }
6
- export type IFactoringType = 'FACTORING_REGULAR' | 'FACTORING_REVERSE';
@@ -1,236 +0,0 @@
1
- import { ISimpleObject, ISimpleObjectWithCode } from '@inceptionbg/iui';
2
- import { IBankAccount, IPartner } from '../../Partner/IPartner';
3
- import { ICreditNoteInvoice, IDocument, IDocumentIndex, IDocumentType, IGroupItem, ISendToCir, LatestApprovalStatus } from '../IDocument';
4
- import { IDocumentSend, ISendStatus } from '../IDocumentSend';
5
- import { IProduct } from './IProduct';
6
- import { ITaxAllocation, ITaxRecapitulation } from './ITaxAllocation';
7
- import { IOrganizationalUnit, IOrganizationalUnitUpdate } from '../../../Auth/IOrganization';
8
- import { IUser } from '../../../Auth/IUser';
9
- import { IPayment } from './IPayment';
10
- import { IAccount } from './IAccount';
11
- import { IAnnex, IContract } from '../../Contracts/IContract';
12
- import { ILatestApprovalProcess } from '../IApproval';
13
- import { ICase } from '../ICase';
14
- import { IExpenseAllocation } from './IExpenseAllocation';
15
- export interface IInvoice extends IDocument {
16
- name?: string;
17
- trafficDate?: string;
18
- bestPaidBefore?: string;
19
- plannedPaymentDate?: string;
20
- orun?: IOrganizationalUnitUpdate;
21
- description?: string;
22
- issuer?: IPartner;
23
- receiver?: IPartner;
24
- contract?: IContract;
25
- annex?: IAnnex;
26
- contractNumberText?: string;
27
- contractRepresentation?: string;
28
- issueDate?: string;
29
- copyItemsFrom?: IDocument;
30
- totalPriceWithoutVat?: number;
31
- totalPriceWithVat?: number;
32
- roundingAmount?: number | string;
33
- sefStatus?: ISendStatus;
34
- sefStatusComment?: string;
35
- sefVerificationDeadlineTime?: string;
36
- advancePaymentSum?: {
37
- totalPriceWithVat?: number;
38
- totalPriceWithoutVat?: number;
39
- latestSefSend?: IDocumentSend;
40
- generateInvoicePdf?: boolean;
41
- creditNoteInvoices?: ICreditNoteInvoice[];
42
- periodFrom?: string;
43
- periodTo?: string;
44
- purchaseOrderReference?: string;
45
- frameworkAgreementNumber?: string;
46
- objectCode?: string;
47
- internalRoutingNumber?: string;
48
- tenderReference?: string;
49
- contractNumberSef?: string;
50
- invoiceTaxCategories?: IInvoiceTaxCategory[];
51
- referenceCreditNumber?: string;
52
- referenceDebitNumber?: string;
53
- taxLiabilityDate?: TaxLiabilityDate;
54
- issuerBankAccount?: Partial<IBankAccount>;
55
- receiverBankAccount?: Partial<IBankAccount>;
56
- purposePayment?: string;
57
- sourceOfFinance?: Partial<ISimpleObjectWithCode>;
58
- paymentCode?: Partial<ISimpleObjectWithCode>;
59
- approvalStepGroup?: {
60
- name: string;
61
- uuid: string;
62
- };
63
- sefApprovalUser?: IUser;
64
- sefApprovalTime?: string;
65
- payments?: IPayment[];
66
- frameworkAgreement?: IContract;
67
- sendToCir?: ISendToCir;
68
- sefStatusChangeTime?: string;
69
- usedInFactoring?: boolean;
70
- numberNonSTaxCategories?: number;
71
- currency?: ISimpleObjectWithCode;
72
- exchangeRate?: string;
73
- costCenterExpenseAllocations?: IExpenseAllocation[];
74
- taxAllocations?: ITaxAllocation[];
75
- taxRecapitulationItems?: ITaxRecapitulation[];
76
- items?: IInvoiceItem[];
77
- contractDate?: string;
78
- sefVerificationDeadlineTime?: string;
79
- sefVerificationDeadlineTimeExpired?: boolean;
80
- };
81
- foreignCurrency?: boolean;
82
- forceNoteSefSend?: boolean;
83
- evidenceDate?: string;
84
- registerOrdinalNumber?: number;
85
- documentIndices?: IDocumentIndex[];
86
- latestApprovalProcess?: ILatestApprovalProcess;
87
- latestApprovalStatus?: LatestApprovalStatus;
88
- latestSend?: IDocumentSend;
89
- hold?: {
90
- user: IUser;
91
- startTime: string;
92
- endTime?: string;
93
- };
94
- evidenceNumber?: string;
95
- documentWatch?: boolean;
96
- cases?: ICase[];
97
- }
98
- export declare const TaxCategories: string[];
99
- export declare const TaxCategoriesFull: readonly ["S", ...string[]];
100
- export type ITaxCategory = (typeof TaxCategoriesFull)[number];
101
- export interface IInvoiceItemNew {
102
- uuid?: string;
103
- name?: string;
104
- unitOfMeasure?: ISimpleObject;
105
- quantity?: number | string;
106
- vatPercentage?: VatPercentage;
107
- product?: IProduct;
108
- orderNumber?: string | number;
109
- taxCategory?: ITaxCategory;
110
- allowancePercentage?: number | string;
111
- allowanceAmount?: number | string;
112
- unitPriceWithoutVat?: number | string;
113
- totalPriceWithoutVat?: number;
114
- totalPriceWithVat?: number | string;
115
- allowanceAmountInCurrency?: number | string;
116
- unitPriceWithoutVatInCurrency?: number | string;
117
- totalPriceWithoutVatInCurrency?: number;
118
- totalPriceWithVatInCurrency?: number | string;
119
- }
120
- export interface IInvoiceItem extends IInvoiceItemNew {
121
- uuid: string;
122
- name: string;
123
- unitOfMeasure?: ISimpleObject;
124
- quantity: number;
125
- unitPriceWithoutVat: number | string;
126
- totalPriceWithoutVat: number;
127
- totalPriceWithVat: number | string;
128
- vatPercentage: VatPercentage;
129
- product?: IProduct;
130
- taxCategory: ITaxCategory;
131
- allowancePercentage?: number | string;
132
- allowanceAmount?: number | string;
133
- }
134
- export interface IInvoiceItemRecapitulation {
135
- priceWithoutVat: number;
136
- vatAmount: number;
137
- priceWithVat: number;
138
- taxCategory: ITaxCategory;
139
- vatPercentage: VatPercentage;
140
- }
141
- export declare const VatPercentages: readonly [20, 10, 8, 0];
142
- export type VatPercentage = (typeof VatPercentages)[number];
143
- export declare const TaxCategorySVatPercentages: readonly [20, 10, 8];
144
- export interface ITaxExemptionNote {
145
- uuid?: string;
146
- name?: string;
147
- code?: string;
148
- taxCategory?: string;
149
- decisionNumberRequired?: boolean;
150
- }
151
- export interface IInvoiceTaxAllocationSearch {
152
- vatIndicatorsUuid?: string;
153
- dateFrom?: string;
154
- dateTo?: string;
155
- trafficDateFrom?: string;
156
- trafficDateTo?: string;
157
- issueDateFrom?: string;
158
- issueDateTo?: string;
159
- income?: boolean;
160
- sefStatus?: ISendStatus;
161
- sefStatuses?: ISendStatus[];
162
- sort?: string;
163
- }
164
- export interface IInvoiceTaxAllocation {
165
- invoice: IDocument;
166
- sum: ITaxAllocation;
167
- }
168
- export interface IInvoiceTaxCategoryNew {
169
- uuid?: string;
170
- taxCategory?: ITaxCategory;
171
- taxExemptionNote?: ITaxExemptionNote;
172
- decisionNumber?: string;
173
- }
174
- export interface IInvoiceTaxCategory extends IInvoiceTaxCategoryNew {
175
- uuid: string;
176
- taxCategory: ITaxCategory;
177
- }
178
- export declare const TaxLiabilityDates: readonly ["TRAFFIC_DATE", "PAYMENT_DATE", "ISSUE_DATE"];
179
- export type TaxLiabilityDate = (typeof TaxLiabilityDates)[number];
180
- export interface IInvoiceGroup {
181
- identificator?: string;
182
- name?: string;
183
- sumWithoutVat?: string;
184
- sumWithVat?: string;
185
- subgroups?: IInvoiceGroup[];
186
- items?: IInvoiceGroupItem[];
187
- }
188
- export interface IInvoiceGroupSearch {
189
- issueDateFrom?: string;
190
- issueDateTo?: string;
191
- trafficDateFrom?: string;
192
- trafficDateTo?: string;
193
- documentTypeUuid?: string;
194
- documentType?: IDocumentType;
195
- organizationUuid?: string;
196
- groupItem?: IGroupItem;
197
- approvalStepGroup?: {
198
- name: string;
199
- uuid: string;
200
- };
201
- approvalStepGroupUuid?: string;
202
- issuer?: IPartner;
203
- issuerUuid?: string;
204
- accounts?: IAccount[];
205
- accountUuids?: string[];
206
- contract?: IContract;
207
- contractUuid?: string;
208
- oruns?: IOrganizationalUnit[];
209
- orunUuids?: string[];
210
- contractNumber?: string;
211
- hideItems?: boolean;
212
- paymentDateFrom?: string;
213
- paymentDateTo?: string;
214
- evidenceDateFrom?: string;
215
- evidenceDateTo?: string;
216
- }
217
- export interface IInvoiceGroupItem {
218
- issuer?: IPartner;
219
- documentNumber?: string;
220
- documentUuid?: string;
221
- contractNumber?: string;
222
- issueDate?: string;
223
- paymentDates?: string[];
224
- totalAmountWithoutVat?: string;
225
- totalAmountWithVat?: string;
226
- trafficDate?: string;
227
- evidenceDate?: string;
228
- }
229
- export interface IVatReduction {
230
- uuid?: string;
231
- document?: IDocument;
232
- taxCategory?: ITaxCategory;
233
- percentage?: number;
234
- amount?: number;
235
- amountInCurrency?: number;
236
- }
@@ -1,40 +0,0 @@
1
- import { ISimpleObjectWithCode } from '@inceptionbg/iui';
2
- import { IOrganization } from '../../../Auth/IOrganization';
3
- import { IBankAccount, IPartner } from '../../Partner/IPartner';
4
- import { IDocument } from '../IDocument';
5
- import { IAccount } from './IAccount';
6
- export interface IPayment {
7
- uuid?: string;
8
- amountWithoutVat?: number | string;
9
- description?: string;
10
- invoice?: IDocument;
11
- paymentAmount?: number | string;
12
- paymentDate?: string;
13
- vatAmount?: number | string;
14
- vatPercentage?: number | string;
15
- organization?: IOrganization;
16
- orderNumber?: string;
17
- account?: IAccount;
18
- }
19
- export interface IPaymentSum {
20
- vatAmount?: number;
21
- paymentAmount?: number | string;
22
- amountWithoutVat?: number;
23
- }
24
- export type PaymentSortOption = 'ID_DESC' | 'ID_ASC' | 'PAYMENT_DATE_DESC' | 'PAYMENT_DATE_ASC';
25
- export type PaymentFetchOption = 'DOCUMENT' | 'ACCOUNT';
26
- export interface IPaymentOrderItems {
27
- documentNumber?: string;
28
- dueDate?: string;
29
- issuer?: IPartner;
30
- paymentAmount?: number;
31
- purposePayment?: string;
32
- paymentCode?: ISimpleObjectWithCode;
33
- referenceDebitNumber?: string;
34
- referenceDebitNumberMod?: string;
35
- referenceCreditNumber?: string;
36
- referenceCreditNumberMod?: number;
37
- issuerBankAccount?: IBankAccount;
38
- receiverBankAccount?: IBankAccount;
39
- invoice?: IDocument;
40
- }
@@ -1,23 +0,0 @@
1
- import { ISimpleObject } from '@inceptionbg/iui';
2
- import { ITaxExemptionNote } from './IInvoice';
3
- export interface IProduct {
4
- uuid: string;
5
- code?: string;
6
- name?: string;
7
- priceWithoutVat?: number | string;
8
- vatPercentage?: number;
9
- serialNumber?: string;
10
- manufacturer?: string;
11
- taxCategory?: string;
12
- barcode?: string;
13
- taxExemptionNote?: ITaxExemptionNote;
14
- unitOfMeasure?: ISimpleObject;
15
- bankingService?: boolean;
16
- }
17
- export type ProductFetchOptions = 'TAX_EXEMPTION_NOTE';
18
- export interface IProductSearch {
19
- codeLike?: string;
20
- nameLike?: string;
21
- manufacturerLike?: string;
22
- fullText?: string;
23
- }
@@ -1,37 +0,0 @@
1
- import { IVatIndicator } from './IVatIndicator';
2
- export interface ITaxAllocation {
3
- uuid: string;
4
- vatIndicator: IVatIndicator;
5
- lowerVatTaxBase?: number;
6
- higherVatTaxBase?: number;
7
- lowerVatTaxAmount?: number;
8
- higherVatTaxAmount?: number;
9
- totalAmountWithoutVat?: number;
10
- totalVatAmount?: number;
11
- totalAmountWithVat?: number;
12
- taxExcemptionAmount?: number;
13
- nonVatPayerAmount?: number;
14
- participateInPdfReport?: boolean;
15
- orderNumber?: string;
16
- }
17
- export interface ITaxAllocationSearch {
18
- vatIndicatorUuid: string;
19
- }
20
- export interface ITaxAllocationsSum {
21
- higherVatTaxAmount?: number;
22
- higherVatTaxBase?: number;
23
- lowerVatTaxAmount?: number;
24
- lowerVatTaxBase?: number;
25
- nonVatPayerAmount?: number;
26
- taxExcemptionAmount?: number;
27
- totalAmountWithVat?: number;
28
- totalAmountWithoutVat?: number;
29
- totalVatAmount?: number;
30
- }
31
- export type ITaxAllocationFetchOption = 'SUM';
32
- export interface ITaxRecapitulation {
33
- priceWithoutVat: number;
34
- priceWithVat: number;
35
- vatAmount: number;
36
- vatPercentage: number;
37
- }
@@ -1,14 +0,0 @@
1
- import { IOrganization } from '../../../Auth/IOrganization';
2
- export interface IVatIndicator {
3
- uuid: string;
4
- code: string;
5
- name: string;
6
- vatPercentage: number;
7
- calculateVatAmount?: boolean;
8
- internalVatCalculation?: boolean;
9
- organization?: IOrganization;
10
- }
11
- export interface IVatIndicatorSearch {
12
- codeLike?: string;
13
- nameLike?: string;
14
- }
@@ -1,27 +0,0 @@
1
- import { IUser } from '../../../Auth/IUser';
2
- import { ILatestApprovalProcess } from '../IApproval';
3
- import { ICase } from '../ICase';
4
- import { IDocument, IDocumentIndex, IDocumentSourceType, LatestApprovalStatus } from '../IDocument';
5
- import { IDocumentSend } from '../IDocumentSend';
6
- import { IEmailDocumentSaved } from '../IEmailDocument';
7
- export interface IOfficeDocument extends IDocument {
8
- documentSource?: IEmailDocumentSaved;
9
- documentSourceType?: IDocumentSourceType;
10
- emailDocument?: IEmailDocumentSaved;
11
- caseNumber?: string;
12
- canCreateSubOrdinalNumber?: boolean;
13
- evidenceDate?: string;
14
- registerOrdinalNumber?: number;
15
- documentIndices?: IDocumentIndex[];
16
- latestApprovalProcess?: ILatestApprovalProcess;
17
- latestApprovalStatus?: LatestApprovalStatus;
18
- latestSend?: IDocumentSend;
19
- hold?: {
20
- user: IUser;
21
- startTime: string;
22
- endTime?: string;
23
- };
24
- evidenceNumber?: string;
25
- documentWatch?: boolean;
26
- cases?: ICase[];
27
- }
@@ -1,25 +0,0 @@
1
- import { IEmployee } from '../../Administration/IEmployee';
2
- import { IPartner } from '../../Partner/IPartner';
3
- import { IDocument } from '../IDocument';
4
- export interface IShipment extends IDocument {
5
- conversationView?: {
6
- uuid: string;
7
- };
8
- receiver?: IPartner;
9
- issuer?: IPartner;
10
- receiverOrganization?: {
11
- uuid: string;
12
- };
13
- shipmentUnregisteredReceiver?: {
14
- firstName?: string;
15
- lastName?: string;
16
- email: string;
17
- inboxUrl?: string;
18
- personalIdentityNumber?: string;
19
- phoneNumber?: string;
20
- };
21
- messageSubject?: string;
22
- messageBody?: string;
23
- generateManualShipmentFiles?: boolean;
24
- internalReceiver?: IEmployee;
25
- }
@@ -1,14 +0,0 @@
1
- export interface IPlace {
2
- uuid: string;
3
- name: string;
4
- postalCode?: number;
5
- }
6
- export interface IMunicipality {
7
- uuid: string;
8
- name: string;
9
- }
10
- export interface ICountry {
11
- id: number;
12
- code: string;
13
- name: string;
14
- }
@@ -1,98 +0,0 @@
1
- import { ISimpleObjectWithCode } from '@inceptionbg/iui';
2
- import { IOrganization } from '../../Auth/IOrganization';
3
- import { IUser } from '../../Auth/IUser';
4
- export type IPartnerType = 'LEGAL_PERSON' | 'NATURAL_PERSON' | 'INO_PARTNER';
5
- export type ILegalForm = 'LLC | ENTREPRENEUR | FOUNDATION | SPORT_ASSOCIATION | CHAMBER_OF_COMMERCE | CULTURE_INSTITUTION';
6
- export type PartnerGroupType = 'BANK';
7
- export interface IPartner {
8
- uuid: string;
9
- type: IPartnerType;
10
- organization?: IOrganization;
11
- firstName?: string;
12
- lastName?: string;
13
- umcn?: string;
14
- name?: string;
15
- taxId?: string;
16
- businessCode?: string;
17
- jbkjs?: string;
18
- businessActivity?: ISimpleObjectWithCode;
19
- country?: ISimpleObjectWithCode;
20
- town?: string;
21
- postalCode?: string;
22
- street?: string;
23
- houseNumber?: string;
24
- email?: string;
25
- website?: string;
26
- phoneNumber?: string;
27
- groups?: IPartnerGroup[];
28
- contactPersons?: IContactPerson[];
29
- inboxUrl?: string;
30
- legalForm?: ILegalForm;
31
- sefSend?: boolean;
32
- internalSend?: boolean;
33
- omitJbkjsForSef?: boolean;
34
- updateMissingData?: boolean;
35
- checkAuthorizedPersonsOnApr?: boolean;
36
- }
37
- export interface IPartnersSearch {
38
- name?: string;
39
- taxId?: string;
40
- businessCode?: string;
41
- nameLike?: string;
42
- fullText?: string;
43
- sort?: string;
44
- physicalPerson?: boolean;
45
- foreignLegalEntity?: boolean;
46
- includeCurrentOrganization?: boolean;
47
- }
48
- export interface IBankAccount {
49
- uuid: string;
50
- accountNumber: string;
51
- bank?: IPartner;
52
- currency?: ISimpleObjectWithCode;
53
- paymentInstructionsIntermediaryBank?: string;
54
- iban?: string;
55
- active?: boolean;
56
- main?: boolean;
57
- invoicePrint?: boolean;
58
- owner?: IPartner;
59
- }
60
- export interface IBankAccountSearch {
61
- accountNumberLike?: string;
62
- main?: boolean;
63
- }
64
- export interface INote {
65
- uuid: string;
66
- subject: string;
67
- note: string;
68
- date?: string;
69
- createdBy?: IUser;
70
- }
71
- export interface INoteSearch {
72
- note?: string;
73
- }
74
- export interface IContactPerson {
75
- uuid: string;
76
- representation: string;
77
- legalEntity?: Partial<IPartner>;
78
- firstName: string;
79
- lastName: string;
80
- umcn?: string;
81
- email?: string;
82
- director?: boolean;
83
- responsiblePerson?: boolean;
84
- eInvoiceReceiver?: boolean;
85
- organization?: IOrganization;
86
- verificationTime?: string;
87
- verificationSendTime?: string;
88
- primary?: boolean;
89
- position?: string;
90
- phoneNumber?: string;
91
- factoringRepresentative?: boolean;
92
- }
93
- export interface IPartnerGroup {
94
- uuid: string;
95
- name: string;
96
- organization?: IOrganization;
97
- groupType: PartnerGroupType;
98
- }
@@ -1,13 +0,0 @@
1
- import { IModuleId } from './IModule';
2
- export type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
3
- export type IServiceApi = 'auth' | 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'registration' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article';
4
- export type IEnvVar = {
5
- [env in IEnv]: {
6
- serviceApiUrl: {
7
- [service in IServiceApi]: string;
8
- };
9
- modules: {
10
- [id in IModuleId]?: string;
11
- };
12
- };
13
- };