@inceptionbg/main 2.0.171 → 2.0.173

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 (132) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.map +1 -1
  3. package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +2 -0
  4. package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +2 -0
  5. package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +2 -0
  6. package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +2 -0
  7. package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +2 -0
  8. package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +2 -0
  9. package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +2 -0
  10. package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +2 -0
  11. package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +2 -0
  12. package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +2 -0
  13. package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +2 -0
  14. package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +2 -0
  15. package/dist/tempTypes/assets/icons/duotone/faList.d.ts +2 -0
  16. package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +2 -0
  17. package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +2 -0
  18. package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +2 -0
  19. package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +2 -0
  20. package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +2 -0
  21. package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +2 -0
  22. package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +2 -0
  23. package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +2 -0
  24. package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +2 -0
  25. package/dist/tempTypes/assets/icons/light/faBell.d.ts +2 -0
  26. package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +2 -0
  27. package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +2 -0
  28. package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +2 -0
  29. package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +2 -0
  30. package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +2 -0
  31. package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +2 -0
  32. package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +2 -0
  33. package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +2 -0
  34. package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +2 -0
  35. package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +2 -0
  36. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +2 -0
  37. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +2 -0
  38. package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +2 -0
  39. package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +2 -0
  40. package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +2 -0
  41. package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +2 -0
  42. package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +2 -0
  43. package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +2 -0
  44. package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +2 -0
  45. package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +2 -0
  46. package/dist/tempTypes/auth/Auth.d.ts +55 -0
  47. package/dist/tempTypes/auth/AuthUtils.d.ts +4 -0
  48. package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +6 -0
  49. package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +2 -0
  50. package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +3 -0
  51. package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +13 -0
  52. package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +15 -0
  53. package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +6 -0
  54. package/dist/tempTypes/components/Header/Components/Notifications.d.ts +2 -0
  55. package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +2 -0
  56. package/dist/tempTypes/components/Header/Header.d.ts +9 -0
  57. package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +13 -0
  58. package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +10 -0
  59. package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +7 -0
  60. package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +7 -0
  61. package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +6 -0
  62. package/dist/tempTypes/components/Router/Router.d.ts +10 -0
  63. package/dist/tempTypes/components/Sidebar/AddButton.d.ts +6 -0
  64. package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +8 -0
  65. package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +3 -0
  66. package/dist/tempTypes/components/User/MyAccountDialog.d.ts +7 -0
  67. package/dist/tempTypes/components/User/components/ChangePassword.d.ts +7 -0
  68. package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +9 -0
  69. package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +6 -0
  70. package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +7 -0
  71. package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +9 -0
  72. package/dist/tempTypes/context/BusinessYearContext.d.ts +12 -0
  73. package/dist/tempTypes/context/ErrorContext.d.ts +13 -0
  74. package/dist/tempTypes/context/UserOrgContext.d.ts +28 -0
  75. package/dist/tempTypes/hooks/useOrgInvites.d.ts +12 -0
  76. package/dist/tempTypes/index.d.ts +56 -0
  77. package/dist/tempTypes/pages/LoginPage.d.ts +3 -0
  78. package/dist/tempTypes/pages/NoAccessInfo.d.ts +8 -0
  79. package/dist/tempTypes/pages/NoMatchPage.d.ts +3 -0
  80. package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +8 -0
  81. package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +11 -0
  82. package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +3 -0
  83. package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +2 -0
  84. package/dist/tempTypes/repo/NotificationsRepository.d.ts +8 -0
  85. package/dist/tempTypes/repo/RoleRepo.d.ts +7 -0
  86. package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +23 -0
  87. package/dist/tempTypes/types/App/Administration/IJob.d.ts +10 -0
  88. package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +30 -0
  89. package/dist/tempTypes/types/App/Contracts/IContract.d.ts +241 -0
  90. package/dist/tempTypes/types/App/Document/IApproval.d.ts +143 -0
  91. package/dist/tempTypes/types/App/Document/ICase.d.ts +48 -0
  92. package/dist/tempTypes/types/App/Document/IDocument.d.ts +219 -0
  93. package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +67 -0
  94. package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +128 -0
  95. package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +52 -0
  96. package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +15 -0
  97. package/dist/tempTypes/types/App/Document/ISignatory.d.ts +34 -0
  98. package/dist/tempTypes/types/App/Document/IndexData.d.ts +60 -0
  99. package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +11 -0
  100. package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +39 -0
  101. package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +6 -0
  102. package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +236 -0
  103. package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +40 -0
  104. package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +23 -0
  105. package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +37 -0
  106. package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +14 -0
  107. package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +27 -0
  108. package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +25 -0
  109. package/dist/tempTypes/types/App/Partner/IAddress.d.ts +14 -0
  110. package/dist/tempTypes/types/App/Partner/IPartner.d.ts +98 -0
  111. package/dist/tempTypes/types/Auth/IEnv.d.ts +13 -0
  112. package/dist/tempTypes/types/Auth/IModule.d.ts +15 -0
  113. package/dist/tempTypes/types/Auth/IOrganization.d.ts +140 -0
  114. package/dist/tempTypes/types/Auth/IPrivileges.d.ts +2 -0
  115. package/dist/tempTypes/types/Auth/IRole.d.ts +25 -0
  116. package/dist/tempTypes/types/Auth/IRouter.d.ts +7 -0
  117. package/dist/tempTypes/types/Auth/IToken.d.ts +12 -0
  118. package/dist/tempTypes/types/Auth/IUser.d.ts +39 -0
  119. package/dist/tempTypes/types/IError.d.ts +5 -0
  120. package/dist/tempTypes/types/INotifications.d.ts +15 -0
  121. package/dist/tempTypes/types/IReactQuerry.d.ts +4 -0
  122. package/dist/tempTypes/types/IScan.d.ts +17 -0
  123. package/dist/tempTypes/types/ISidebar.d.ts +27 -0
  124. package/dist/tempTypes/types/ISubsystem.d.ts +2 -0
  125. package/dist/tempTypes/utils/EnvVars.d.ts +2 -0
  126. package/dist/tempTypes/utils/ImageUtils.d.ts +4 -0
  127. package/dist/tempTypes/utils/LoadOptions.d.ts +20 -0
  128. package/dist/tempTypes/utils/ModuleUtils.d.ts +3 -0
  129. package/dist/tempTypes/utils/i18nMain.d.ts +662 -0
  130. package/dist/types/global.d.ts +619 -601
  131. package/package.json +2 -2
  132. package/dist/index.d.ts +0 -2154
package/dist/index.d.ts DELETED
@@ -1,2154 +0,0 @@
1
- import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IBooleanObject, IAnyObject } from '@inceptionbg/iui';
2
- import * as react from 'react';
3
- import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
4
- import { AxiosResponse } from 'axios';
5
- export { AxiosError } from 'axios';
6
- import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
7
- import { UseMutationResult } from '@tanstack/react-query';
8
- import * as reactQuery from '@tanstack/react-query';
9
- export { reactQuery as ReactQuery };
10
- export { keepPreviousData, useMutation, useQuery } from '@tanstack/react-query';
11
- import * as react_jsx_runtime from 'react/jsx-runtime';
12
-
13
- interface IPlace {
14
- uuid: string;
15
- name: string;
16
- postalCode?: number;
17
- }
18
- interface IMunicipality {
19
- uuid: string;
20
- name: string;
21
- }
22
- interface ICountry {
23
- id: number;
24
- code: string;
25
- name: string;
26
- }
27
-
28
- interface IScanData {
29
- scannerUId?: string;
30
- mod?: 'GRAY_8' | 'RGB_8' | 'BLACK_AND_WHITE';
31
- resolution?: string;
32
- adf?: boolean;
33
- duplex?: boolean;
34
- }
35
-
36
- declare const ModuleIds: readonly ["DASHBOARD", "ADMIN", "EARCHIVE", "ERDS", "EINVOICE", "EFORMS", "EDMS", "ESIGN", "EVALIDATION", "EPROCUREMENT", "EREGISTER", "PAM", "ERP_CASH_REGISTER", "ERP_RIF", "ERP_MAT_ACC", "ERP_SMALL_INVENTORY", "ERP_WMS", "JISUSZ_BACKOFFICE"];
37
- declare const modules: IModule;
38
-
39
- type IModuleId = (typeof ModuleIds)[number];
40
- type IModule = {
41
- [id in IModuleId]: {
42
- icon: any;
43
- disabled?: boolean;
44
- hidden?: boolean;
45
- };
46
- };
47
- interface IModuleIdsObj {
48
- availableModules: IModuleId[];
49
- userModules: IModuleId[];
50
- organizationModules: IModuleId[];
51
- activeModules: IModuleId[];
52
- }
53
-
54
- interface IRole {
55
- uuid: string;
56
- name: string;
57
- organization?: IOrganization;
58
- privileges?: IRolePrivilege[];
59
- global?: boolean;
60
- subsystem?: IModuleId;
61
- createdAt?: string;
62
- parent?: IRole;
63
- children?: IRole[];
64
- }
65
- interface IRolePrivilege {
66
- code: string;
67
- group: RolePrivilegeGroup;
68
- }
69
- declare const rolePrivilegeGroups: readonly ["ADMIN", "INVOICE", "DELIVERY", "CONTRACT", "APPROVAL", "OFFICE", "FACTORING", "VAT_EVIDENCE", "REPORT", "NO_GROUP"];
70
- type RolePrivilegeGroup = (typeof rolePrivilegeGroups)[number];
71
-
72
- interface IUser {
73
- uuid: string;
74
- username?: string;
75
- firstName?: string;
76
- lastName?: string;
77
- password?: string;
78
- email?: string;
79
- representation?: string;
80
- umcn?: string;
81
- roles: IRole[];
82
- active?: boolean;
83
- organizationalUnits?: IOrganizationalUnit[];
84
- }
85
- type UserFetchOption = 'PERSONAL_IDENTITY_NUMBER' | 'PLACE' | 'MUNICIPALITY' | 'ORGANIZATIONAL_UNITS' | 'PRIMARY_ORUN';
86
- interface IUserSettings {
87
- documentTabOrientation?: 'HORIZONTAL' | 'VERTICAL';
88
- shipmentView?: 'CONVERSATION' | 'LIST';
89
- consolidated?: boolean;
90
- tableLimit?: number;
91
- zoomInfoWidgetVisible?: boolean;
92
- accountStatusWidgetVisible?: boolean;
93
- organizationRegistrationWidgetVisible?: boolean;
94
- personalAccountWidgetVisible?: boolean;
95
- singingApplicationWidgetVisible?: boolean;
96
- organizationSettingsWidgetVisible?: boolean;
97
- approvalListWidgetVisible?: boolean;
98
- expiringContractsWidgetVisible?: boolean;
99
- exchangeRateWidgetVisible?: boolean;
100
- notificationsSound?: boolean;
101
- startGuideOpen?: boolean;
102
- scannerData?: IScanData;
103
- guide?: {
104
- [key in IGuideType]: boolean;
105
- };
106
- }
107
- type IGuideType = 'invoice';
108
-
109
- type IPartnerType = 'LEGAL_PERSON' | 'NATURAL_PERSON' | 'INO_PARTNER';
110
- type ILegalForm = 'LLC | ENTREPRENEUR | FOUNDATION | SPORT_ASSOCIATION | CHAMBER_OF_COMMERCE | CULTURE_INSTITUTION';
111
- type PartnerGroupType = 'BANK';
112
- interface IPartner {
113
- uuid: string;
114
- type: IPartnerType;
115
- organization?: IOrganization;
116
- firstName?: string;
117
- lastName?: string;
118
- umcn?: string;
119
- name?: string;
120
- taxId?: string;
121
- businessCode?: string;
122
- jbkjs?: string;
123
- businessActivity?: ISimpleObjectWithCode;
124
- country?: ISimpleObjectWithCode;
125
- town?: string;
126
- postalCode?: string;
127
- street?: string;
128
- houseNumber?: string;
129
- email?: string;
130
- website?: string;
131
- phoneNumber?: string;
132
- groups?: IPartnerGroup[];
133
- contactPersons?: IContactPerson[];
134
- inboxUrl?: string;
135
- legalForm?: ILegalForm;
136
- sefSend?: boolean;
137
- internalSend?: boolean;
138
- omitJbkjsForSef?: boolean;
139
- updateMissingData?: boolean;
140
- checkAuthorizedPersonsOnApr?: boolean;
141
- }
142
- interface IPartnersSearch {
143
- name?: string;
144
- taxId?: string;
145
- businessCode?: string;
146
- nameLike?: string;
147
- fullText?: string;
148
- sort?: string;
149
- physicalPerson?: boolean;
150
- foreignLegalEntity?: boolean;
151
- includeCurrentOrganization?: boolean;
152
- }
153
- interface IBankAccount {
154
- uuid: string;
155
- accountNumber: string;
156
- bank?: IPartner;
157
- currency?: ISimpleObjectWithCode;
158
- paymentInstructionsIntermediaryBank?: string;
159
- iban?: string;
160
- active?: boolean;
161
- main?: boolean;
162
- invoicePrint?: boolean;
163
- owner?: IPartner;
164
- }
165
- interface IBankAccountSearch {
166
- accountNumberLike?: string;
167
- main?: boolean;
168
- }
169
- interface INote {
170
- uuid: string;
171
- subject: string;
172
- note: string;
173
- date?: string;
174
- createdBy?: IUser;
175
- }
176
- interface INoteSearch {
177
- note?: string;
178
- }
179
- interface IContactPerson {
180
- uuid: string;
181
- representation: string;
182
- legalEntity?: Partial<IPartner>;
183
- firstName: string;
184
- lastName: string;
185
- umcn?: string;
186
- email?: string;
187
- director?: boolean;
188
- responsiblePerson?: boolean;
189
- eInvoiceReceiver?: boolean;
190
- organization?: IOrganization;
191
- verificationTime?: string;
192
- verificationSendTime?: string;
193
- primary?: boolean;
194
- position?: string;
195
- phoneNumber?: string;
196
- factoringRepresentative?: boolean;
197
- }
198
- interface IPartnerGroup {
199
- uuid: string;
200
- name: string;
201
- organization?: IOrganization;
202
- groupType: PartnerGroupType;
203
- }
204
-
205
- interface IOrganization {
206
- uuid: string;
207
- name?: string;
208
- firstName?: string;
209
- lastName?: string;
210
- taxId?: string;
211
- businessCode?: string;
212
- jbkjs?: string;
213
- locale?: string;
214
- country?: ICountry;
215
- town?: string;
216
- municipality?: IMunicipality;
217
- place?: IPlace;
218
- address?: string;
219
- houseNumber?: string;
220
- postalCode?: string;
221
- businessActivity?: ISimpleObjectWithCode;
222
- email?: string;
223
- website?: string;
224
- phoneNumber?: string;
225
- contactPerson?: IContactPerson;
226
- physicalPerson?: boolean;
227
- personalIdentificationNumber?: string;
228
- personalIdentityNumber?: string;
229
- inboxUrl?: string;
230
- status?: OrganizationStatus;
231
- serviceRequest?: serviceDoc;
232
- serviceAgreement?: serviceDoc;
233
- allowNewsletter?: boolean;
234
- legalRepresentative?: IUser;
235
- internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
236
- logo?: serviceDoc;
237
- latestPricingPackage?: ILatestPricingPackage;
238
- pricingPackage?: IPricingPackage;
239
- activeEDeliveryContract?: boolean;
240
- eDeliveryReseller?: boolean;
241
- factoringCompany?: boolean;
242
- regularFactoringAllowed?: boolean;
243
- reverseFactoringAllowed?: boolean;
244
- type?: 'BASIC';
245
- reseller?: 'MTS' | 'PPL';
246
- }
247
- interface serviceDoc {
248
- uuid: string;
249
- originalFileName: string;
250
- downloadUrl: string;
251
- lengthInBytes: number;
252
- uploadedAt: string;
253
- fileUuid: string;
254
- md5: string;
255
- storage: {
256
- url: string;
257
- };
258
- }
259
- interface IOrganizationSearch {
260
- status?: string;
261
- }
262
- type IOrganizationFetchOption = 'LATEST_PRICING_PACKAGE';
263
- declare const OrganizationStatuses: readonly ["PENDING_CUSTOMER", "PENDING_SUPPORT", "APPROVED", "DECLINED"];
264
- type OrganizationStatus = (typeof OrganizationStatuses)[number];
265
- interface ILatestPricingPackage {
266
- uuid: string;
267
- pricingPackage: IPricingPackage;
268
- contract: IResellerContract;
269
- createdAt: string;
270
- }
271
- interface IPricingPackage {
272
- uuid: string;
273
- name?: string;
274
- code?: string;
275
- price?: number;
276
- }
277
- interface IResellerContract {
278
- uuid: string;
279
- contractNumber: string;
280
- date: string;
281
- durationInMonths: number;
282
- reseller?: {
283
- uuid: string;
284
- };
285
- contractor?: {
286
- uuid: string;
287
- };
288
- signatory?: IUser;
289
- activationDate?: string;
290
- expirationDate?: string;
291
- pricingPackage?: IPricingPackage;
292
- service?: 'DELIVERY' | 'EINVOICE';
293
- status?: 'CREATED' | 'SIGN_INITIATED' | 'ACTIVE' | 'CANCELED';
294
- pdfDownloadUrl?: string;
295
- freeTrail?: boolean;
296
- }
297
- interface IOrganizationalUnit {
298
- uuid: string;
299
- name: string;
300
- code: string;
301
- type: ISimpleObject;
302
- parent?: IOrganizationalUnit;
303
- jbkjs?: string;
304
- active?: boolean;
305
- primaryForInvoiceReceive?: boolean;
306
- }
307
- interface IOrganizationalUnitUpdate {
308
- uuid?: string;
309
- name?: string;
310
- code?: string;
311
- jbkjs?: string;
312
- type?: IOrganizationalUnitType;
313
- organization?: {
314
- uuid: string;
315
- };
316
- parent?: {
317
- uuid: string;
318
- };
319
- primaryForInvoiceReceive?: boolean;
320
- }
321
- interface IOrganizationalUnitType {
322
- uuid: string;
323
- name: string;
324
- internalCode: 'SECTOR';
325
- }
326
-
327
- interface IJob {
328
- uuid?: string;
329
- name?: string;
330
- code?: string;
331
- organization?: IOrganization;
332
- }
333
-
334
- interface IEmployee {
335
- uuid: string;
336
- firstName?: string;
337
- lastName?: string;
338
- personalIdentityNumber?: string;
339
- evidenceNumber?: string;
340
- email?: string;
341
- user?: IUser;
342
- emailNotifications?: boolean;
343
- deleted?: boolean;
344
- job?: IJob;
345
- orun?: IOrganizationalUnit;
346
- representation?: string;
347
- costCenter?: ISimpleObjectWithCode;
348
- }
349
-
350
- interface IIndexDataCodebook {
351
- uuid: string;
352
- name: string;
353
- description: string;
354
- active?: boolean;
355
- organization?: {
356
- uuid: string;
357
- };
358
- }
359
- interface IIndexDataCodebookItem {
360
- code: string;
361
- name: string;
362
- uuid: string;
363
- active: boolean;
364
- }
365
-
366
- interface IIndexData {
367
- uuid: string;
368
- name: string;
369
- code: string;
370
- createdAt: string;
371
- fieldType: IndexDataFieldType;
372
- indexDataCodebook?: Partial<IIndexDataCodebook>;
373
- deletionTime?: string;
374
- readonly?: boolean;
375
- organization?: IOrganization;
376
- minLength?: number;
377
- maxLength?: number;
378
- order?: number;
379
- fieldTypeObj?: ISelectData;
380
- codebookObj?: ISelectData;
381
- }
382
- interface IIndex {
383
- uuid?: string;
384
- value?: string;
385
- name?: string;
386
- position?: IIndexDataPosition;
387
- indexData?: IIndexData;
388
- indexOrder?: string;
389
- defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
390
- }
391
- declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
392
- type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
393
- declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
394
- type IIndexDataPosition = (typeof IndexDataPositions)[number];
395
- interface IIndicesIndex {
396
- uuid?: string;
397
- indexDataPosition?: IIndex;
398
- value?: string;
399
- codebookItem?: {
400
- uuid: string;
401
- };
402
- }
403
-
404
- interface IFileSignatory {
405
- uuid?: string;
406
- firstName?: string;
407
- lastName?: string;
408
- email?: string;
409
- phoneNumber?: string;
410
- personalIdentityNumber?: string;
411
- signatureAppearance?: ISignatureAppearance;
412
- visualizationProfile?: ISimpleObject;
413
- signatureType?: ISignatureType;
414
- }
415
- type ISignatureType = 'ESIG' | 'ESEAL';
416
- interface ISignatureAppearance {
417
- pageNumber?: string;
418
- x?: string;
419
- y?: string;
420
- width?: string | number;
421
- height?: string | number;
422
- }
423
-
424
- interface IDocumentFile {
425
- uuid: string;
426
- name?: string;
427
- signedFile?: IFile;
428
- storedFile?: IFile;
429
- createdBy?: IUser;
430
- deleted?: boolean;
431
- downloaded?: boolean;
432
- previousVersion?: ISimpleObject;
433
- externalSource?: boolean;
434
- orderNumber?: string | number;
435
- requiredSignature?: boolean;
436
- confidentialDocument?: boolean;
437
- signatories?: IFileSignatory[];
438
- fileType?: IFileType;
439
- locked?: boolean;
440
- }
441
- type DocumentFileFetchOptions = 'PREVIOUS_VERSION' | 'FILE_TYPE';
442
- interface IDocumentFileParams {
443
- onlyAttachedFiles?: boolean;
444
- documentSendUuid?: string;
445
- includeDeleted?: boolean;
446
- baseDocumentFileUuid?: string;
447
- documentFileType?: 'SCAN';
448
- }
449
- interface IUploadDocumentType {
450
- file?: any;
451
- name?: string;
452
- }
453
- interface IFileSignData {
454
- redirectUrl?: string;
455
- notificationEmailAddress?: string;
456
- notificationPhoneNumber?: string;
457
- }
458
- interface IFile {
459
- uuid: string;
460
- contentType?: string;
461
- digest?: string;
462
- digestAlgorithm?: string;
463
- fileUuid?: string;
464
- lengthInBytes: number;
465
- md5?: string;
466
- originalFileName: string;
467
- downloadUrl?: string;
468
- uploadedAt?: string;
469
- storage?: {
470
- url?: string;
471
- };
472
- }
473
- interface IFileUpload {
474
- contentType: string;
475
- digest: string;
476
- digestAlgorithm: string;
477
- lengthInBytes: number;
478
- uuid: string;
479
- originalFileName: string;
480
- }
481
- interface IFileType {
482
- uuid?: string;
483
- name?: string;
484
- organization?: IOrganization;
485
- requireSignature?: boolean;
486
- }
487
-
488
- interface IShipment extends IDocument {
489
- conversationView?: {
490
- uuid: string;
491
- };
492
- receiver?: IPartner;
493
- issuer?: IPartner;
494
- receiverOrganization?: {
495
- uuid: string;
496
- };
497
- shipmentUnregisteredReceiver?: {
498
- firstName?: string;
499
- lastName?: string;
500
- email: string;
501
- inboxUrl?: string;
502
- personalIdentityNumber?: string;
503
- phoneNumber?: string;
504
- };
505
- messageSubject?: string;
506
- messageBody?: string;
507
- generateManualShipmentFiles?: boolean;
508
- internalReceiver?: IEmployee;
509
- }
510
-
511
- interface IDocumentSend {
512
- uuid?: string;
513
- contactPerson?: IContactPerson;
514
- createdAt?: string;
515
- body?: string;
516
- latestStatus?: ISendStatus;
517
- requireConsent?: boolean;
518
- consentDeadlineTime?: string;
519
- requireDeliveryReceipt?: boolean;
520
- requireFileSignature?: boolean;
521
- requireDownloadBeforeConsent?: boolean;
522
- qualifiedDelivery?: boolean;
523
- accessHash?: string;
524
- receiverName?: string;
525
- email?: string;
526
- document?: IShipment;
527
- createdBy?: IUser;
528
- organization?: IOrganization;
529
- files?: IDocumentFile[];
530
- description?: string;
531
- sendFinal?: boolean;
532
- relatedDocuments?: IDocumentAny[];
533
- totalPrice?: number;
534
- discount?: number;
535
- deletionTime?: string;
536
- sefComment?: string;
537
- inBehalfOf?: {
538
- email: string;
539
- };
540
- }
541
- type DocumentSendFetchOption = 'CREATED_BY' | 'DOCUMENT' | 'DOCUMENT_WITH_ISSUER_RECEIVER' | 'ORGANIZATION' | 'FILES_WITH_URLS' | 'SIGNATORIES' | 'DESCRIPTION' | 'RELATED_DOCUMENTS' | 'CONVERSATION_VIEW' | 'RECEIVER_ORGANIZATION' | 'IN_BEHALF_OF';
542
- interface IDocumentSendSearch {
543
- documentUuid?: string;
544
- receiverOrganizationUuid?: string;
545
- organizationUuid?: string;
546
- receiverUserUuid?: string;
547
- status?: ISendStatus;
548
- excludeStatuses?: ISendStatus[];
549
- createdFrom?: string;
550
- createdTo?: string;
551
- documentNumberLike?: string;
552
- documentDateFrom?: string;
553
- documentDateTo?: string;
554
- documentIssuerFullTextSearch?: string;
555
- documentTotalPriceWithVatFrom?: number;
556
- documentTotalPriceWithVatTo?: number;
557
- documentBestPaidBeforeFrom?: string;
558
- documentBestPaidBeforeTo?: string;
559
- firstLevel?: boolean;
560
- sort?: string;
561
- conversationViewUuid?: string;
562
- caseUuid?: string;
563
- }
564
- declare const SendStatuses: readonly ["QUEUED", "SENDING", "NOT_REGISTERED_ON_SEF", "ERROR", "SENT", "SEEN", "DOWNLOADED", "APPROVED", "REJECTED", "UNRESOLVED", "MISTAKE", "CANCELLED", "STORNO", "RENOTIFIED"];
565
- type ISendStatus = (typeof SendStatuses)[number];
566
-
567
- interface IProduct {
568
- uuid: string;
569
- code?: string;
570
- name?: string;
571
- priceWithoutVat?: number | string;
572
- vatPercentage?: number;
573
- serialNumber?: string;
574
- manufacturer?: string;
575
- taxCategory?: string;
576
- barcode?: string;
577
- taxExemptionNote?: ITaxExemptionNote;
578
- unitOfMeasure?: ISimpleObject;
579
- bankingService?: boolean;
580
- }
581
-
582
- interface IVatIndicator {
583
- uuid: string;
584
- code: string;
585
- name: string;
586
- vatPercentage: number;
587
- calculateVatAmount?: boolean;
588
- internalVatCalculation?: boolean;
589
- organization?: IOrganization;
590
- }
591
-
592
- interface ITaxAllocation {
593
- uuid: string;
594
- vatIndicator: IVatIndicator;
595
- lowerVatTaxBase?: number;
596
- higherVatTaxBase?: number;
597
- lowerVatTaxAmount?: number;
598
- higherVatTaxAmount?: number;
599
- totalAmountWithoutVat?: number;
600
- totalVatAmount?: number;
601
- totalAmountWithVat?: number;
602
- taxExcemptionAmount?: number;
603
- nonVatPayerAmount?: number;
604
- participateInPdfReport?: boolean;
605
- orderNumber?: string;
606
- }
607
- interface ITaxRecapitulation {
608
- priceWithoutVat: number;
609
- priceWithVat: number;
610
- vatAmount: number;
611
- vatPercentage: number;
612
- }
613
-
614
- interface IAccount {
615
- uuid?: string;
616
- name?: string;
617
- code?: string;
618
- deleted?: boolean;
619
- organization?: IOrganization;
620
- }
621
-
622
- interface IPayment {
623
- uuid?: string;
624
- amountWithoutVat?: number | string;
625
- description?: string;
626
- invoice?: IDocument;
627
- paymentAmount?: number | string;
628
- paymentDate?: string;
629
- vatAmount?: number | string;
630
- vatPercentage?: number | string;
631
- organization?: IOrganization;
632
- orderNumber?: string;
633
- account?: IAccount;
634
- }
635
-
636
- interface IContractNew {
637
- uuid?: string;
638
- contractor?: IPartner;
639
- contractors?: IPartner[];
640
- partnerContractNumber?: string;
641
- type?: ContractType;
642
- contractNumber?: string;
643
- conclusionDate?: string;
644
- expirationDate?: string;
645
- periodFrom?: string;
646
- periodTo?: string;
647
- subject?: string;
648
- note?: string;
649
- active?: boolean;
650
- organization?: IOrganization;
651
- manager?: IEmployee;
652
- amountWithVat?: number;
653
- amountWithoutVat?: number;
654
- warningAmountWithVat?: number;
655
- warningAmountWithoutVat?: number;
656
- currency?: ISimpleObjectWithCode;
657
- exchangeRate?: number;
658
- warningDate?: string;
659
- deactivationDate?: string;
660
- deactivationNote?: string;
661
- utilization?: IContractUtilization;
662
- paymentUtilization?: IContractUtilization;
663
- frameworkAgreementUtilization?: IContractUtilization;
664
- bestPaidBefore?: number;
665
- deliveryTime?: number;
666
- complaintDeadline?: number;
667
- warrantyPeriod?: number;
668
- discount?: number;
669
- account?: IAccount;
670
- organizationalUnit?: IOrganizationalUnitUpdate;
671
- amountWarningPercentage?: number;
672
- foreignAmountWithVat?: number;
673
- foreignAmountWithoutVat?: number;
674
- warningForeignAmountWithVat?: number;
675
- warningForeignAmountWithoutVat?: number;
676
- lastAnnex?: IAnnex;
677
- annexes?: IAnnex[];
678
- frameworkAgreement?: IContract;
679
- group?: 'CONTRACT' | 'FRAMEWORK_AGREEMENT';
680
- estimatedValueWithVat?: number;
681
- estimatedValueWithoutVat?: number;
682
- jointOffer?: boolean;
683
- subContractor?: boolean;
684
- procurementCaseType?: IProcurementCaseType;
685
- publicProcurementLaw?: boolean;
686
- publicProcurementLawObj?: ISimpleObject;
687
- procurementLawReferenceNUmber?: string;
688
- procurementLawReason?: string;
689
- reservedAmountWithoutVat?: string;
690
- reservedAmountWithVat?: string;
691
- foreignExchange?: boolean;
692
- procurementOrdinalNumber?: string;
693
- providingServicesDeadline?: ServiceCostCenter;
694
- providingServicesCostCenter?: ISimpleObjectWithCode;
695
- commissionMembers?: IEmployee[];
696
- contractType?: IContractType;
697
- contractIndices?: IIndicesIndex[];
698
- indicesData?: IIndicesIndex[];
699
- }
700
- interface IContract extends IContractNew {
701
- uuid: string;
702
- }
703
- type ContractFieldOption = 'EXPIRATION_DATE' | 'SUBJECT' | 'BEST_PAID_BEFORE' | 'DELIVERY_TIME' | 'COMPLAINT_DEADLINE' | 'WARRANTY_PERIOD' | 'AMOUNT_WITH_VAT' | 'AMOUNT_WITHOUT_VAT' | 'DISCOUNT' | 'CONTRACTOR';
704
- declare const ContractTypes: readonly ["INCOME", "OUTCOME"];
705
- type ContractType = (typeof ContractTypes)[number];
706
- interface IAnnex {
707
- uuid?: string;
708
- annexNumber: string;
709
- changes: IAnnexChange[];
710
- contract: IContract;
711
- date: string;
712
- partnerAnnexNumber: string;
713
- }
714
- interface IAnnexChange {
715
- field?: ContractFieldOption;
716
- newValue?: string | number;
717
- oldValue?: string | number;
718
- representation?: string;
719
- }
720
- interface IContractUtilization {
721
- utilizationWithVat?: number;
722
- utilizationWithoutVat?: number;
723
- remainingAmountWithVat?: number;
724
- remainingAmountWithoutVat?: number;
725
- utilizationPercentage?: number;
726
- }
727
- interface IContractUtilization {
728
- uuid: string;
729
- contractNumber: string;
730
- amountWithVat?: number;
731
- amountWithoutVat?: number;
732
- contractorName: string;
733
- contractUtilizationThisYear: IContractUtilizationByYear;
734
- contractUtilizationLastYear: IContractUtilizationByYear;
735
- }
736
- interface IContractUtilizationByYear {
737
- utilizationWithVat?: number;
738
- utilizationWithoutVat?: number;
739
- year: number;
740
- }
741
- interface IProcurementCaseType {
742
- uuid?: string;
743
- name?: string;
744
- organization?: IOrganization;
745
- }
746
- declare const ServiceCostCenters: readonly ["SUCCESSIVELY", "COMPLETELY"];
747
- type ServiceCostCenter = (typeof ServiceCostCenters)[number];
748
- interface IContractType {
749
- uuid?: string;
750
- name?: string;
751
- organization?: IOrganization;
752
- }
753
-
754
- interface ICase {
755
- uuid: string;
756
- number: string;
757
- thirdPartyOrganization?: IOrganization;
758
- deletable?: boolean;
759
- name?: string;
760
- caseType?: IDocumentType;
761
- organization?: IOrganization;
762
- caseIndices?: IDocumentIndex[];
763
- indicesData?: IDocumentIndex[];
764
- latestStatus?: {
765
- uuid: string;
766
- name: string;
767
- order: number;
768
- };
769
- createdAt?: string;
770
- evidenceNumber?: string;
771
- assigned?: IEmployee;
772
- notSeenShipments?: boolean;
773
- seen?: boolean;
774
- }
775
-
776
- interface IExpenseAllocation {
777
- uuid: string;
778
- document: {
779
- uuid: string;
780
- };
781
- costCenter: {
782
- uuid: string;
783
- code: string;
784
- name: string;
785
- };
786
- expenseAmount: string;
787
- orderNumber?: string;
788
- note?: string;
789
- account?: IAccount;
790
- costCenterExpenseAllocationIndexes?: ICostCenterExpenseAllocationIndex[];
791
- }
792
- interface ICostCenterExpenseAllocationIndex {
793
- uuid?: string;
794
- indexDataPosition?: IIndex;
795
- value?: string;
796
- codebookItem?: {
797
- uuid: string;
798
- code?: string;
799
- name?: string;
800
- active?: boolean;
801
- };
802
- }
803
-
804
- interface IInvoice extends IDocument {
805
- name?: string;
806
- trafficDate?: string;
807
- bestPaidBefore?: string;
808
- plannedPaymentDate?: string;
809
- orun?: IOrganizationalUnitUpdate;
810
- description?: string;
811
- issuer?: IPartner;
812
- receiver?: IPartner;
813
- contract?: IContract;
814
- annex?: IAnnex;
815
- contractNumberText?: string;
816
- contractRepresentation?: string;
817
- issueDate?: string;
818
- copyItemsFrom?: IDocument;
819
- totalPriceWithoutVat?: number;
820
- totalPriceWithVat?: number;
821
- roundingAmount?: number | string;
822
- sefStatus?: ISendStatus;
823
- sefStatusComment?: string;
824
- sefVerificationDeadlineTime?: string;
825
- advancePaymentSum?: {
826
- totalPriceWithVat?: number;
827
- totalPriceWithoutVat?: number;
828
- latestSefSend?: IDocumentSend;
829
- generateInvoicePdf?: boolean;
830
- creditNoteInvoices?: ICreditNoteInvoice[];
831
- periodFrom?: string;
832
- periodTo?: string;
833
- purchaseOrderReference?: string;
834
- frameworkAgreementNumber?: string;
835
- objectCode?: string;
836
- internalRoutingNumber?: string;
837
- tenderReference?: string;
838
- contractNumberSef?: string;
839
- invoiceTaxCategories?: IInvoiceTaxCategory[];
840
- referenceCreditNumber?: string;
841
- referenceDebitNumber?: string;
842
- taxLiabilityDate?: TaxLiabilityDate;
843
- issuerBankAccount?: Partial<IBankAccount>;
844
- receiverBankAccount?: Partial<IBankAccount>;
845
- purposePayment?: string;
846
- sourceOfFinance?: Partial<ISimpleObjectWithCode>;
847
- paymentCode?: Partial<ISimpleObjectWithCode>;
848
- approvalStepGroup?: {
849
- name: string;
850
- uuid: string;
851
- };
852
- sefApprovalUser?: IUser;
853
- sefApprovalTime?: string;
854
- payments?: IPayment[];
855
- frameworkAgreement?: IContract;
856
- sendToCir?: ISendToCir;
857
- sefStatusChangeTime?: string;
858
- usedInFactoring?: boolean;
859
- numberNonSTaxCategories?: number;
860
- currency?: ISimpleObjectWithCode;
861
- exchangeRate?: string;
862
- costCenterExpenseAllocations?: IExpenseAllocation[];
863
- taxAllocations?: ITaxAllocation[];
864
- taxRecapitulationItems?: ITaxRecapitulation[];
865
- items?: IInvoiceItem[];
866
- contractDate?: string;
867
- sefVerificationDeadlineTime?: string;
868
- sefVerificationDeadlineTimeExpired?: boolean;
869
- };
870
- foreignCurrency?: boolean;
871
- forceNoteSefSend?: boolean;
872
- evidenceDate?: string;
873
- registerOrdinalNumber?: number;
874
- documentIndices?: IDocumentIndex[];
875
- latestApprovalProcess?: ILatestApprovalProcess;
876
- latestApprovalStatus?: LatestApprovalStatus;
877
- latestSend?: IDocumentSend;
878
- hold?: {
879
- user: IUser;
880
- startTime: string;
881
- endTime?: string;
882
- };
883
- evidenceNumber?: string;
884
- documentWatch?: boolean;
885
- cases?: ICase[];
886
- }
887
- declare const TaxCategoriesFull: readonly ["S", ...string[]];
888
- type ITaxCategory = (typeof TaxCategoriesFull)[number];
889
- interface IInvoiceItemNew {
890
- uuid?: string;
891
- name?: string;
892
- unitOfMeasure?: ISimpleObject;
893
- quantity?: number | string;
894
- vatPercentage?: VatPercentage;
895
- product?: IProduct;
896
- orderNumber?: string | number;
897
- taxCategory?: ITaxCategory;
898
- allowancePercentage?: number | string;
899
- allowanceAmount?: number | string;
900
- unitPriceWithoutVat?: number | string;
901
- totalPriceWithoutVat?: number;
902
- totalPriceWithVat?: number | string;
903
- allowanceAmountInCurrency?: number | string;
904
- unitPriceWithoutVatInCurrency?: number | string;
905
- totalPriceWithoutVatInCurrency?: number;
906
- totalPriceWithVatInCurrency?: number | string;
907
- }
908
- interface IInvoiceItem extends IInvoiceItemNew {
909
- uuid: string;
910
- name: string;
911
- unitOfMeasure?: ISimpleObject;
912
- quantity: number;
913
- unitPriceWithoutVat: number | string;
914
- totalPriceWithoutVat: number;
915
- totalPriceWithVat: number | string;
916
- vatPercentage: VatPercentage;
917
- product?: IProduct;
918
- taxCategory: ITaxCategory;
919
- allowancePercentage?: number | string;
920
- allowanceAmount?: number | string;
921
- }
922
- declare const VatPercentages: readonly [20, 10, 8, 0];
923
- type VatPercentage = (typeof VatPercentages)[number];
924
- interface ITaxExemptionNote {
925
- uuid?: string;
926
- name?: string;
927
- code?: string;
928
- taxCategory?: string;
929
- decisionNumberRequired?: boolean;
930
- }
931
- interface IInvoiceTaxCategoryNew {
932
- uuid?: string;
933
- taxCategory?: ITaxCategory;
934
- taxExemptionNote?: ITaxExemptionNote;
935
- decisionNumber?: string;
936
- }
937
- interface IInvoiceTaxCategory extends IInvoiceTaxCategoryNew {
938
- uuid: string;
939
- taxCategory: ITaxCategory;
940
- }
941
- declare const TaxLiabilityDates: readonly ["TRAFFIC_DATE", "PAYMENT_DATE", "ISSUE_DATE"];
942
- type TaxLiabilityDate = (typeof TaxLiabilityDates)[number];
943
-
944
- interface IEmailDocumentSaved {
945
- uuid?: string;
946
- document?: IDocument;
947
- emailAccount?: IEmailCredential;
948
- electronicReturnReceiptTime?: string;
949
- documentFiles?: IDocumentFile[];
950
- }
951
- interface IEmailCredential {
952
- uuid?: string;
953
- username?: string;
954
- password?: string;
955
- imapHost?: string;
956
- imapPort?: number;
957
- organization?: IOrganization;
958
- usersWithAccess?: IUser[];
959
- createdBy?: IUser;
960
- }
961
-
962
- interface IOfficeDocument extends IDocument {
963
- documentSource?: IEmailDocumentSaved;
964
- documentSourceType?: IDocumentSourceType;
965
- emailDocument?: IEmailDocumentSaved;
966
- caseNumber?: string;
967
- canCreateSubOrdinalNumber?: boolean;
968
- evidenceDate?: string;
969
- registerOrdinalNumber?: number;
970
- documentIndices?: IDocumentIndex[];
971
- latestApprovalProcess?: ILatestApprovalProcess;
972
- latestApprovalStatus?: LatestApprovalStatus;
973
- latestSend?: IDocumentSend;
974
- hold?: {
975
- user: IUser;
976
- startTime: string;
977
- endTime?: string;
978
- };
979
- evidenceNumber?: string;
980
- documentWatch?: boolean;
981
- cases?: ICase[];
982
- }
983
-
984
- interface IDocument {
985
- uuid: string;
986
- documentNumber?: string;
987
- documentType?: IDocumentType;
988
- files?: IDocumentFile[];
989
- date?: string;
990
- note?: string;
991
- createdAt?: string;
992
- createdBy?: IUser;
993
- concluded?: boolean;
994
- organization?: {
995
- uuid: string;
996
- };
997
- issueDate?: string;
998
- issuer?: IPartner;
999
- receiver?: IPartner;
1000
- }
1001
- interface IDocumentAny extends Partial<IInvoice>, Partial<IShipment>, Partial<IOfficeDocument> {
1002
- }
1003
- type IDocumentCategory = 'DOCUMENT' | 'INVOICE' | 'ARCHIVE' | 'SHIPMENT';
1004
- 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';
1005
- interface IDocumentSearch {
1006
- accountsUuid?: string[];
1007
- approvalProcessEndTimeFrom?: string;
1008
- approvalProcessEndTimeTo?: string;
1009
- approvalStepGroupUuid?: string;
1010
- approvalUuid?: string;
1011
- approvalUuids?: string[];
1012
- archived?: boolean;
1013
- bestPaidBeforeFrom?: string;
1014
- bestPaidBeforeTo?: string;
1015
- category?: IDocumentCategory;
1016
- concluded?: boolean;
1017
- contractNumber?: string;
1018
- contractNumberSef?: string;
1019
- contractUuid?: string;
1020
- costCentersUuid?: string;
1021
- createdDateFrom?: string;
1022
- createdDateTo?: string;
1023
- currencyUuid?: string;
1024
- dateFrom?: string;
1025
- dateTo?: string;
1026
- documentApprovalStatus?: string;
1027
- documentNumber?: string;
1028
- documentNumberLike?: string;
1029
- documentSent?: boolean;
1030
- documentTypeUuid?: string;
1031
- documentTypesUuid?: string[];
1032
- documentYearMonth?: string;
1033
- domesticCurrency?: boolean;
1034
- evidenceDateFrom?: string;
1035
- evidenceDateTo?: string;
1036
- evidenceNumberLike?: string;
1037
- excludeDocumentUuid?: string;
1038
- excludeSefStatuses?: ISendStatus[];
1039
- factoring?: boolean;
1040
- foreignCurrency?: boolean;
1041
- income?: boolean;
1042
- internalReceiverNotBlank?: boolean;
1043
- internalRoutingNumberLike?: string;
1044
- invoice?: boolean;
1045
- issueDateFrom?: string;
1046
- issueDateTo?: string;
1047
- issuerOrReceiverUuid?: string;
1048
- issuerUuid?: string;
1049
- latestDocumentSendStatus?: ISendStatus;
1050
- latestDocumentSendStatuses?: ISendStatus[];
1051
- nameLike?: string;
1052
- onHold?: boolean;
1053
- onHoldByUserUuid?: string;
1054
- orunUuids?: string[];
1055
- paymentDateFrom?: string;
1056
- paymentDateTo?: string;
1057
- pioInternalCodeBookReportCustomFilter?: boolean;
1058
- plannedPaymentDateFrom?: string;
1059
- plannedPaymentDateTo?: string;
1060
- receiverUuid?: string;
1061
- registerUuid?: string;
1062
- sefDeadlineDaysFrom?: string;
1063
- sefDeadlineDaysTo?: string;
1064
- sefInvoice?: boolean;
1065
- sefInvoiceType?: ISefInvoiceType;
1066
- sefSendStatus?: ISendStatus;
1067
- sefStatus?: ISendStatus;
1068
- sefStatusCommentLike?: string;
1069
- sefStatuses?: ISendStatus[];
1070
- signal?: any;
1071
- sort?: string;
1072
- taxCategory?: ITaxCategory;
1073
- totalPriceWithVatInCurrency?: number;
1074
- trafficDateFrom?: string;
1075
- trafficDateTo?: string;
1076
- vatPercentage?: string;
1077
- year?: number;
1078
- documentTypesObj?: ISelectData[];
1079
- issuerObj?: ISelectData;
1080
- registerObj?: ISelectData;
1081
- receiverObj?: ISelectData;
1082
- approvalObj?: ISelectData;
1083
- accountsObj?: ISelectData[];
1084
- costCentersObj?: ISelectData[];
1085
- concludedObj?: ISelectData;
1086
- currencyObj?: ISelectData;
1087
- approvalStepGroupObj?: ISelectData;
1088
- }
1089
- declare const SefVatEvidenceTypes: readonly ["INVOICE", "CREDIT_NOTE", "DEBIT_NOTE", "PREPAYMENT_INVOICE", "INTERNAL_ACCOUNT_FOR_TURNOVER_OF_FOREIGNER", "OTHER_INTERNAL_STATEMENT"];
1090
- type SefVatEvidenceType = (typeof SefVatEvidenceTypes)[number];
1091
- interface IDocumentType {
1092
- uuid?: string;
1093
- name?: string;
1094
- printName?: string;
1095
- invoice?: boolean;
1096
- income?: boolean;
1097
- fields?: DocumentField[];
1098
- organization?: IOrganization;
1099
- participateInContractRealization?: boolean;
1100
- participateInContractPaymentRealization?: boolean;
1101
- sort?: number;
1102
- sefInvoiceType?: ISefInvoiceType;
1103
- shipment?: boolean;
1104
- category?: 'DOCUMENT' | 'CASE';
1105
- internalCode?: string;
1106
- caseNumberRequired?: boolean;
1107
- retentionPeriod?: string;
1108
- code?: string;
1109
- sefVatEvidenceType?: SefVatEvidenceType;
1110
- }
1111
- type ISefInvoiceType = 'COMMERCIAL_INVOICE' | 'CREDIT_NOTE' | 'DEBIT_NOTE' | 'PREPAYMENT_INVOICE';
1112
- declare const SendToCirValues: readonly ["YES", "NO"];
1113
- type ISendToCir = (typeof SendToCirValues)[number];
1114
- interface ICreditNoteInvoice {
1115
- uuid?: string;
1116
- creditNote?: IDocument;
1117
- invoice?: IDocument;
1118
- invoiceNumber?: string;
1119
- invoiceIssueDate?: string;
1120
- }
1121
- declare const LatestApprovalStatuses: readonly ["IN_PROGRESS", "DECLINED", "APPROVED", "NOT_STARTED"];
1122
- type LatestApprovalStatus = (typeof LatestApprovalStatuses)[number];
1123
- type IDocumentSourceType = 'EMAIL' | 'INTERNAL_SEND' | 'MANUAL_INPUT';
1124
- interface IDocumentIndex {
1125
- uuid?: string;
1126
- index?: IIndexData;
1127
- indexDataPosition?: IIndex;
1128
- value?: string;
1129
- codebookItem?: {
1130
- uuid: string;
1131
- };
1132
- }
1133
- 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"];
1134
- type DocumentField = (typeof DocumentFields)[number];
1135
- declare const DocumentStatuses: readonly ["IN_PROGRESS", "CONCLUDED"];
1136
- interface DocumentIndicies {
1137
- [id: string]: IDocumentIndex;
1138
- }
1139
-
1140
- interface IApproval {
1141
- uuid?: string;
1142
- name?: string;
1143
- description?: string;
1144
- active?: boolean;
1145
- returnResponseToSef?: boolean;
1146
- orun?: IOrganizationalUnitUpdate;
1147
- organization?: IOrganization;
1148
- automaticallyStart?: IApproval;
1149
- automaticallyStartApprovals?: IApproval[];
1150
- automaticallyStartApprovalsData?: ISelectData[];
1151
- generateDocumentApprovalReport?: boolean;
1152
- startApprovalByConditionsOnApprovalEnd?: boolean;
1153
- issueDateChange?: boolean;
1154
- }
1155
- type DocumentApprovalFetchOption = 'STEPS_WITH_VOTES' | 'APPROVAL' | 'READY_TO_VOTE' | 'DIRECTLY_PROCESS_COMPLETION_USER';
1156
- interface IApprovalSearch {
1157
- organizationUuid?: string;
1158
- active?: boolean;
1159
- orunUuid?: string;
1160
- }
1161
- 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"];
1162
- type IConstraint = (typeof Constraints)[number];
1163
- interface IApprovalStep {
1164
- uuid: string;
1165
- name?: string;
1166
- description?: string;
1167
- deadline?: number;
1168
- requiredVotes?: number;
1169
- ordinalNumber?: number;
1170
- approval?: IApproval;
1171
- employees?: IEmployee[];
1172
- step?: IApprovalStep;
1173
- conditionedStep?: IApprovalStep;
1174
- job?: IJob;
1175
- activationTime?: string;
1176
- documentHold?: boolean;
1177
- costCenter?: ISimpleObjectWithCode;
1178
- group?: IPhaseGroup;
1179
- lastStep?: boolean;
1180
- constraints?: IConstraint[];
1181
- indexDataConstraints?: IIndexData[];
1182
- }
1183
- interface IApprovalStepSearch {
1184
- approvalStepGroupUuid?: string;
1185
- }
1186
- interface ILatestApprovalProcess {
1187
- uuid?: string;
1188
- createdAt?: string;
1189
- status?: string;
1190
- latestStep?: IDocumentApprovalStep;
1191
- }
1192
- type ApprovalStatus = 'APPROVED' | 'DECLINED';
1193
- interface IDocumentApproval {
1194
- uuid?: string;
1195
- document?: IDocumentAny;
1196
- approval?: IApproval;
1197
- steps?: IDocumentApprovalStep[];
1198
- status?: ApprovalStatus;
1199
- directlyProcessCompletionUser?: IUser;
1200
- }
1201
- interface IDocumentApprovalStep {
1202
- uuid?: string;
1203
- activationTime?: string;
1204
- deadline?: string;
1205
- requiredVotes?: number;
1206
- positiveVotes?: number;
1207
- stepStatus?: ApprovalStatus;
1208
- step?: IApprovalStep;
1209
- votes?: IDocumentApprovalVote[];
1210
- documentApproval?: IDocumentApproval;
1211
- notReadyToVoteReason?: 'COST_EXPENSE_ALLOCATION' | 'INVOICE_TAX_ALLOCATION' | 'INVOICE_ACCOUNT' | 'INDEX_DATA';
1212
- customName?: string;
1213
- additionalAddingTime?: string;
1214
- }
1215
- interface IDocumentApprovalVote {
1216
- uuid: string;
1217
- document: IDocumentAny;
1218
- step: IDocumentApprovalStep;
1219
- employee: IEmployee;
1220
- vote?: ApprovalStatus;
1221
- voteTime?: string;
1222
- votedFiles?: ISimpleObject[];
1223
- note?: string;
1224
- returnedStep?: boolean;
1225
- adHocVote?: boolean;
1226
- }
1227
- interface IVoteSearch {
1228
- invoice?: boolean;
1229
- voted?: boolean;
1230
- documentNumber?: string;
1231
- documentTypeUuid?: string;
1232
- issuerOrReceiverUuid?: string;
1233
- dateFrom?: string;
1234
- dateTo?: string;
1235
- voteTimeFrom?: string;
1236
- voteTimeTo?: string;
1237
- userApprovalStatus?: string;
1238
- currentApprovalStatus?: string;
1239
- active?: boolean;
1240
- myVotes?: boolean;
1241
- sort?: 'PRIORITY_DESC' | 'ID_DESC';
1242
- employee?: IEmployee;
1243
- employeeUuid?: string;
1244
- }
1245
- interface IPhaseGroup {
1246
- uuid?: string;
1247
- name?: string;
1248
- organization?: IOrganization;
1249
- items?: {
1250
- invoices: IInvoice[];
1251
- isOpen: boolean;
1252
- };
1253
- 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';
1254
- }
1255
- interface IPhaseGroupSearch {
1256
- nameLike?: string;
1257
- }
1258
- interface ICondition {
1259
- uuid?: string;
1260
- approval?: IApproval;
1261
- amountFrom?: number | string;
1262
- amountTo?: number | string;
1263
- orun?: IOrganizationalUnitUpdate;
1264
- partner?: IPartner;
1265
- documentType?: IDocumentType;
1266
- indexDatas?: IConditionIndexData[];
1267
- }
1268
- interface IConditionIndexData {
1269
- uuid?: string;
1270
- approvalCondition?: ICondition;
1271
- indexData?: IIndexData;
1272
- value?: string;
1273
- }
1274
-
1275
- type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG';
1276
- type IServiceApi = 'auth' | 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'registration' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article';
1277
- type IEnvVar = {
1278
- [env in IEnv]: {
1279
- serviceApiUrl: {
1280
- [service in IServiceApi]: string;
1281
- };
1282
- modules: {
1283
- [id in IModuleId]?: string;
1284
- };
1285
- };
1286
- };
1287
-
1288
- type IOrganizationSettings = Record<string, any>;
1289
-
1290
- interface IRoute {
1291
- path?: string;
1292
- element?: ReactElement;
1293
- fullPage?: boolean;
1294
- childrenRoutes?: IRoute[];
1295
- }
1296
-
1297
- interface IToken {
1298
- sub: string;
1299
- userUuid: string;
1300
- clientCertificate: string;
1301
- scope: string[];
1302
- iat: number;
1303
- exp: number;
1304
- iss: string;
1305
- firstName?: string;
1306
- lastName?: string;
1307
- umcn?: string;
1308
- }
1309
-
1310
- type IUseMutationData = {
1311
- onSuccess: (data: AxiosResponse<any, any>, variables: any) => void;
1312
- };
1313
-
1314
- interface ISidebarItem {
1315
- label: string;
1316
- icon?: IconDefinition;
1317
- to?: string;
1318
- content?: ISidebarSubItem[];
1319
- menu?: {
1320
- content: ISidebarSubItem[];
1321
- openedMenu: string;
1322
- setOpenedMenu: (label: string) => void;
1323
- };
1324
- hidden?: boolean;
1325
- badge?: number;
1326
- addUrl?: string;
1327
- collapsed?: boolean;
1328
- }
1329
- interface ISidebarSubItem {
1330
- label: string;
1331
- to?: string;
1332
- content?: ISidebarItem[];
1333
- hidden?: boolean;
1334
- tooltip?: string;
1335
- badge?: number;
1336
- addUrl?: string;
1337
- primary?: boolean;
1338
- collapsed?: boolean;
1339
- }
1340
-
1341
- declare const SubSystems: readonly ["ADMIN", "EARCHIVE", "EDELIVERY", "EDMS", "EFORMS", "EINVOICE", "EPROCUREMENT", "ERDS", "EREGISTER", "ERP", "ERP_SMALL_INVENTORY", "ERP_WMS", "ERP_MAT_ACC", "FINANCES", "CONTRACTS", "ESIGN", "EVALIDATION", "IDM", "REGISTRATION", "QC_REGISTRATION", "ERP_CASH_REGISTER", "ERP_RIF", "SETTINGS", "JISUSZ_BACKOFFICE"];
1342
- type ISubsystem = (typeof SubSystems)[number];
1343
-
1344
- declare const login: () => void;
1345
- declare const logout: (options?: {
1346
- nextUrl?: boolean;
1347
- clearData?: boolean;
1348
- redirectUrl?: string;
1349
- }) => void;
1350
- declare const getUser: () => Promise<IUser>;
1351
-
1352
- declare const decodeToken: (token?: string | null) => IToken | undefined;
1353
-
1354
- interface IProps$1 {
1355
- children: ReactNode;
1356
- }
1357
- declare const AxiosTokenHandler: FC<IProps$1>;
1358
-
1359
- declare const envVars: IEnvVar;
1360
-
1361
- interface IErrorContext {
1362
- errors: string[];
1363
- setErrors: Dispatch<SetStateAction<string[]>>;
1364
- }
1365
- declare const ErrorContext: react.Context<IErrorContext>;
1366
-
1367
- interface IUserOrgContext {
1368
- user: IUser | null;
1369
- reloadUser: (callback?: () => void) => void;
1370
- userSettings: IUserSettings;
1371
- updateUserSettings: (data: IUserSettings, showToast?: boolean) => void;
1372
- privileges: IBooleanObject;
1373
- organization: IOrganization | null;
1374
- changeOrganization: (orgUuid: string, callback?: () => void) => void;
1375
- orgSettings: IOrganizationSettings;
1376
- updateOrgSettings: (data: IOrganizationSettings) => void;
1377
- userSettingsByOrg: IAnyObject;
1378
- updateUserSettingsByOrg: (data: IOrganizationSettings) => void;
1379
- moduleIds: IModuleIdsObj;
1380
- }
1381
- declare const UserOrgContext: react.Context<IUserOrgContext>;
1382
- interface IProps {
1383
- children: ReactNode;
1384
- }
1385
- declare const UserOrgProvider: ({ children }: IProps) => react_jsx_runtime.JSX.Element;
1386
- declare const useUserAndOrg: () => IUserOrgContext;
1387
- declare const useModules: () => IModuleIdsObj;
1388
-
1389
- interface IBusinessYearContext {
1390
- businessYear: string;
1391
- setBusinessYear: Dispatch<SetStateAction<string>>;
1392
- }
1393
- declare const BusinessYearProvider: ({ children }: {
1394
- children: ReactNode;
1395
- }) => react_jsx_runtime.JSX.Element;
1396
- declare const useBusinessYearContext: () => IBusinessYearContext;
1397
- declare const setBusinessYearContext: (year: string) => void;
1398
-
1399
- interface Props$a {
1400
- routes: IRoute[];
1401
- sidebarItems: ISidebarItem[][];
1402
- hideNotifications?: boolean;
1403
- }
1404
- declare const Router: FC<Props$a>;
1405
-
1406
- declare const LoginPage: FC;
1407
-
1408
- interface Props$9 {
1409
- title?: string;
1410
- buttonLabel?: string;
1411
- showLogout?: boolean;
1412
- }
1413
- declare const NoAccessInfo: FC<Props$9>;
1414
-
1415
- declare const NoMatchPage: FC;
1416
-
1417
- declare const SelectOrgPage: FC;
1418
-
1419
- interface Props$8 {
1420
- modulePrivileges: string[];
1421
- usePrivileges: () => IAnyObject;
1422
- }
1423
- declare const RolesWithPrivileges: FC<Props$8>;
1424
-
1425
- interface Props$7 {
1426
- i18n: any;
1427
- children: ReactNode;
1428
- }
1429
- declare const AppWrapper: FC<Props$7>;
1430
-
1431
- interface Props$6 {
1432
- customTitle?: string;
1433
- hideModules?: boolean;
1434
- hideNotifications?: boolean;
1435
- children?: ReactNode;
1436
- }
1437
- declare const Header: FC<Props$6>;
1438
-
1439
- interface Props$5 {
1440
- sidebarItems: ISidebarItem[][];
1441
- hideNotifications?: boolean;
1442
- children: ReactNode;
1443
- }
1444
- declare const MainPageWrapper: FC<Props$5>;
1445
-
1446
- interface Props$4 {
1447
- children: ReactNode;
1448
- }
1449
- declare const ReactQueryProvider: FC<Props$4>;
1450
-
1451
- interface Props$3 {
1452
- items: ISidebarItem[][];
1453
- UserBox?: ReactElement;
1454
- }
1455
- declare const Sidebar: FC<Props$3>;
1456
-
1457
- interface Props$2 {
1458
- searchData: IAnyObject;
1459
- setSearchData: Dispatch<SetStateAction<IAnyObject>>;
1460
- indexesSearch: Partial<IIndexData>[];
1461
- setIndexesSearch: Dispatch<SetStateAction<Partial<IIndexData>[]>>;
1462
- documentTypeUuid?: string;
1463
- type?: 'document' | 'case' | 'contract';
1464
- }
1465
- declare const IndexDataSearch: FC<Props$2>;
1466
-
1467
- interface Props$1 {
1468
- textId: string;
1469
- itemUuid: string;
1470
- setItemUuid: Dispatch<SetStateAction<string>>;
1471
- onSuccess: () => void;
1472
- useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, string, unknown>;
1473
- }
1474
- declare const DeleteItemDialog: FC<Props$1>;
1475
-
1476
- interface Props {
1477
- textId: string;
1478
- itemUuids: string[];
1479
- setItemUuids: Dispatch<SetStateAction<string[]>>;
1480
- onSuccess: () => void;
1481
- useDeleteItemMutation: ({ onSuccess, }: IUseMutationData) => UseMutationResult<AxiosResponse<any, any>, Error, {
1482
- itemUuids: string[];
1483
- }, unknown>;
1484
- }
1485
- declare const DeleteItemsDialog: FC<Props>;
1486
-
1487
- declare const i18nMainLatin: {
1488
- ADMIN: string;
1489
- EARCHIVE: string;
1490
- ERDS: string;
1491
- EDMS: string;
1492
- EFORMS: string;
1493
- EINVOICE: string;
1494
- ESIGN: string;
1495
- EVALIDATION: string;
1496
- EPROCUREMENT: string;
1497
- EREGISTER: string;
1498
- ERP_RIF: string;
1499
- ERP_CASH_REGISTER: string;
1500
- ERP_MAT_ACC: string;
1501
- ERP_SMALL_INVENTORY: string;
1502
- ERP_WMS: string;
1503
- DASHBOARD: string;
1504
- Basic: string;
1505
- BasicData: string;
1506
- SendHistory: string;
1507
- AccordionView: string;
1508
- TabView: string;
1509
- FooterText: string;
1510
- PageNotFound: string;
1511
- Settings: string;
1512
- Roles: string;
1513
- Logout: string;
1514
- MyAccount: string;
1515
- SelectAccount: string;
1516
- SelectOrgDesc: string;
1517
- SessionExpired: string;
1518
- SessionExpiredInfo: string;
1519
- SetOrgAsDefault: string;
1520
- SignInWithDifferentAccount: string;
1521
- NoAccessTitle: string;
1522
- ReturnToHomepage: string;
1523
- ChangeOrganization: string;
1524
- OrganizationInvite: string;
1525
- RejectInvite: string;
1526
- AcceptInvite: string;
1527
- RedirectInvite: string;
1528
- RejectInviteDesc: string;
1529
- AcceptInviteDesc: string;
1530
- RedirectInviteDesc: string;
1531
- Sender: string;
1532
- YouHaveNewInvites: string;
1533
- Name: string;
1534
- FirstName: string;
1535
- LastName: string;
1536
- Email: string;
1537
- TaxId: string;
1538
- BusinessCode: string;
1539
- FullPhoneNumber: string;
1540
- LoggedUserOrganizations: string;
1541
- Organization: string;
1542
- Organizations: string;
1543
- OrganizationalUnit: string;
1544
- OrganizationalUnits: string;
1545
- OrganizationName: string;
1546
- Partner: string;
1547
- Partners: string;
1548
- PhysicalPerson: string;
1549
- PhysicalPersons: string;
1550
- LegalEntity: string;
1551
- LegalEntities: string;
1552
- ForeignPartner: string;
1553
- ForeignPartners: string;
1554
- BusinessId: string;
1555
- BusinessActivity: string;
1556
- Country: string;
1557
- Town: string;
1558
- PostalCode: string;
1559
- Address: string;
1560
- Street: string;
1561
- HouseNumber: string;
1562
- PhoneNumber: string;
1563
- Website: string;
1564
- AddressBook: string;
1565
- Contacts: string;
1566
- EmailAddress: string;
1567
- ShowOnInvoice: string;
1568
- User: string;
1569
- UserName: string;
1570
- UpdateUser: string;
1571
- ChangePassword: string;
1572
- OldPassword: string;
1573
- NewPassword: string;
1574
- RepeatNewPassword: string;
1575
- PasswordValidationInfo: string;
1576
- RepeatPasswordValidationInfo: string;
1577
- Bank: string;
1578
- BankAccount: string;
1579
- BankAccounts: string;
1580
- EditBankAccount: string;
1581
- AddBankAccount: string;
1582
- MainBankAccount: string;
1583
- IntermediaryBank: string;
1584
- Iban: string;
1585
- Category: string;
1586
- CreatedAt: string;
1587
- CreatedBy: string;
1588
- CreatedTime: string;
1589
- Currency: string;
1590
- Date: string;
1591
- DateOfReceipt: string;
1592
- Description: string;
1593
- IssueDate: string;
1594
- Issuer: string;
1595
- Receiver: string;
1596
- Jbkjs: string;
1597
- Municipality: string;
1598
- Note: string;
1599
- Notes: string;
1600
- Number: string;
1601
- OrderNumber: string;
1602
- UMCN: string;
1603
- Phone: string;
1604
- PlaceOfResidence: string;
1605
- Position: string;
1606
- PrimaryContact: string;
1607
- Status: string;
1608
- Subject: string;
1609
- Time: string;
1610
- AddIndexField: string;
1611
- UmcnValidation: string;
1612
- Attachments: string;
1613
- CreationTime: string;
1614
- DeleteFileDesc: string;
1615
- DeleteFileTitle: string;
1616
- DisplaySignatureOnDocument: string;
1617
- Download: string;
1618
- DownloadAll: string;
1619
- DownloadDocument: string;
1620
- Downloaded: string;
1621
- DownloadOriginalDocument: string;
1622
- DownloadSignedDocument: string;
1623
- DownloadValidationReport: string;
1624
- ElSignature: string;
1625
- ErrorUnsupportedFile: string;
1626
- FailedToLoadPDF: string;
1627
- FileName: string;
1628
- Files: string;
1629
- FileSendNotificationInfo: string;
1630
- FileType: string;
1631
- FileTypes: string;
1632
- LoadingPDF: string;
1633
- NotificationChannel: string;
1634
- OrJustDragAndDropFile: string;
1635
- UMCNDescription: string;
1636
- UMCNLong: string;
1637
- ScanQR: string;
1638
- ScanQRInfo: string;
1639
- SendForSigning: string;
1640
- Sign: string;
1641
- Signature: string;
1642
- SignatureLook: string;
1643
- Signed: string;
1644
- SignOnThisDevice: string;
1645
- Size: string;
1646
- Type: string;
1647
- AddSignatory: string;
1648
- AddSignatories: string;
1649
- DeleteFileSignatoryTitle: string;
1650
- DeleteFileSignatoryDesc: string;
1651
- Report: string;
1652
- ReportDate: string;
1653
- ReportFromTo: string;
1654
- DeleteDialogTitle: string;
1655
- DeleteItemDesc: string;
1656
- DeleteItemBulkDesc: string;
1657
- InApp: string;
1658
- MarkAllAsRead: string;
1659
- NoNewNotifications: string;
1660
- Notifications: string;
1661
- NotificationsAll: string;
1662
- NotificationsUnread: string;
1663
- NotificationsRead: string;
1664
- NotificationSound: string;
1665
- InProgress: string;
1666
- FinalStatus: string;
1667
- LatestApprovalStatus: string;
1668
- LatestApprovalStatusAPPROVED: string;
1669
- LatestApprovalStatusDECLINED: string;
1670
- LatestApprovalStatusIN_PROGRESS: string;
1671
- LatestApprovalStatusNOT_STARTED: string;
1672
- SendStatusAPPROVED: string;
1673
- SendStatusCANCELLED: string;
1674
- SendStatusDELETED: string;
1675
- SendStatusDOWNLOADED: string;
1676
- SendStatusERROR: string;
1677
- SendStatusMISTAKE: string;
1678
- SendStatusNOT_REGISTERED_ON_SEF: string;
1679
- SendStatusQUEUED: string;
1680
- SendStatusREJECTED: string;
1681
- SendStatusRENOTIFIED: string;
1682
- SendStatusSEEN: string;
1683
- SendStatusSENDING: string;
1684
- SendStatusSENT: string;
1685
- SendStatusSIGNED: string;
1686
- SendStatusSTORNO: string;
1687
- SendStatusUNRESOLVED: string;
1688
- Month1: string;
1689
- Month2: string;
1690
- Month3: string;
1691
- Month4: string;
1692
- Month5: string;
1693
- Month6: string;
1694
- Month7: string;
1695
- Month8: string;
1696
- Month9: string;
1697
- Month10: string;
1698
- Month11: string;
1699
- Month12: string;
1700
- BusinessYearChooser: string;
1701
- Successfully: string;
1702
- Year: string;
1703
- BusinessYearPage: string;
1704
- BusinessYearInfoTitle: string;
1705
- BusinessYearInfoDesc: string;
1706
- HomePage: string;
1707
- };
1708
- declare const i18nMainCyrilic: {
1709
- ADMIN: string;
1710
- EARCHIVE: string;
1711
- ERDS: string;
1712
- EDMS: string;
1713
- EFORMS: string;
1714
- EINVOICE: string;
1715
- ESIGN: string;
1716
- EVALIDATION: string;
1717
- EPROCUREMENT: string;
1718
- EREGISTER: string;
1719
- EPR_RIF: string;
1720
- ERP_CASH_REGISTER: string;
1721
- ERP_MAT_ACC: string;
1722
- ERP_SMALL_INVENTORY: string;
1723
- ERP_WMS: string;
1724
- DASHBOARD: string;
1725
- Basic: string;
1726
- BasicData: string;
1727
- SendHistory: string;
1728
- AccordionView: string;
1729
- TabView: string;
1730
- FooterText: string;
1731
- PageNotFound: string;
1732
- Settings: string;
1733
- Roles: string;
1734
- Logout: string;
1735
- MyAccount: string;
1736
- SelectAccount: string;
1737
- SelectOrgDesc: string;
1738
- SessionExpired: string;
1739
- SessionExpiredInfo: string;
1740
- SetOrgAsDefault: string;
1741
- SignInWithDifferentAccount: string;
1742
- NoAccessTitle: string;
1743
- ReturnToHomepage: string;
1744
- ChangeOrganization: string;
1745
- OrganizationInvite: string;
1746
- RejectInvite: string;
1747
- AcceptInvite: string;
1748
- RedirectInvite: string;
1749
- RejectInviteDesc: string;
1750
- AcceptInviteDesc: string;
1751
- RedirectInviteDesc: string;
1752
- Sender: string;
1753
- YouHaveNewInvites: string;
1754
- Name: string;
1755
- FirstName: string;
1756
- LastName: string;
1757
- Email: string;
1758
- TaxId: string;
1759
- BusinessCode: string;
1760
- FullPhoneNumber: string;
1761
- LoggedUserOrganizations: string;
1762
- Organization: string;
1763
- Organizations: string;
1764
- OrganizationalUnit: string;
1765
- OrganizationalUnits: string;
1766
- OrganizationName: string;
1767
- Partner: string;
1768
- Partners: string;
1769
- PhysicalPerson: string;
1770
- PhysicalPersons: string;
1771
- LegalEntity: string;
1772
- LegalEntities: string;
1773
- ForeignPartner: string;
1774
- ForeignPartners: string;
1775
- BusinessId: string;
1776
- BusinessActivity: string;
1777
- Country: string;
1778
- Town: string;
1779
- PostalCode: string;
1780
- Address: string;
1781
- Street: string;
1782
- HouseNumber: string;
1783
- PhoneNumber: string;
1784
- Website: string;
1785
- AddressBook: string;
1786
- Contacts: string;
1787
- EmailAddress: string;
1788
- ShowOnInvoice: string;
1789
- User: string;
1790
- UserName: string;
1791
- UpdateUser: string;
1792
- ChangePassword: string;
1793
- OldPassword: string;
1794
- NewPassword: string;
1795
- RepeatNewPassword: string;
1796
- PasswordValidationInfo: string;
1797
- RepeatPasswordValidationInfo: string;
1798
- Bank: string;
1799
- BankAccount: string;
1800
- BankAccounts: string;
1801
- EditBankAccount: string;
1802
- AddBankAccount: string;
1803
- MainBankAccount: string;
1804
- IntermediaryBank: string;
1805
- Iban: string;
1806
- Category: string;
1807
- CreatedAt: string;
1808
- CreatedBy: string;
1809
- CreatedTime: string;
1810
- Currency: string;
1811
- Date: string;
1812
- DateOfReceipt: string;
1813
- Description: string;
1814
- IssueDate: string;
1815
- Issuer: string;
1816
- Receiver: string;
1817
- Jbkjs: string;
1818
- Municipality: string;
1819
- Note: string;
1820
- Notes: string;
1821
- Number: string;
1822
- OrderNumber: string;
1823
- UMCN: string;
1824
- Phone: string;
1825
- PlaceOfResidence: string;
1826
- Position: string;
1827
- PrimaryContact: string;
1828
- Status: string;
1829
- Subject: string;
1830
- Time: string;
1831
- AddIndexField: string;
1832
- UmcnValidation: string;
1833
- Attachments: string;
1834
- CreationTime: string;
1835
- DeleteFileDesc: string;
1836
- DeleteFileTitle: string;
1837
- DisplaySignatureOnDocument: string;
1838
- Download: string;
1839
- DownloadAll: string;
1840
- DownloadDocument: string;
1841
- Downloaded: string;
1842
- DownloadOriginalDocument: string;
1843
- DownloadSignedDocument: string;
1844
- DownloadValidationReport: string;
1845
- ElSignature: string;
1846
- ErrorUnsupportedFile: string;
1847
- FailedToLoadPDF: string;
1848
- FileName: string;
1849
- Files: string;
1850
- FileSendNotificationInfo: string;
1851
- FileType: string;
1852
- FileTypes: string;
1853
- LoadingPDF: string;
1854
- NotificationChannel: string;
1855
- OrJustDragAndDropFile: string;
1856
- UMCNDescription: string;
1857
- UMCNLong: string;
1858
- ScanQR: string;
1859
- ScanQRInfo: string;
1860
- SendForSigning: string;
1861
- Sign: string;
1862
- Signature: string;
1863
- SignatureLook: string;
1864
- Signed: string;
1865
- SignOnThisDevice: string;
1866
- Size: string;
1867
- Type: string;
1868
- AddSignatory: string;
1869
- AddSignatories: string;
1870
- DeleteFileSignatoryTitle: string;
1871
- DeleteFileSignatoryDesc: string;
1872
- Report: string;
1873
- ReportDate: string;
1874
- ReportFromTo: string;
1875
- DeleteDialogTitle: string;
1876
- DeleteItemDesc: string;
1877
- DeleteItemBulkDesc: string;
1878
- InApp: string;
1879
- MarkAllAsRead: string;
1880
- NoNewNotifications: string;
1881
- Notifications: string;
1882
- NotificationsAll: string;
1883
- NotificationsUnread: string;
1884
- NotificationsRead: string;
1885
- NotificationSound: string;
1886
- InProgress: string;
1887
- FinalStatus: string;
1888
- LatestApprovalStatus: string;
1889
- LatestApprovalStatusAPPROVED: string;
1890
- LatestApprovalStatusDECLINED: string;
1891
- LatestApprovalStatusIN_PROGRESS: string;
1892
- LatestApprovalStatusNOT_STARTED: string;
1893
- SendStatusAPPROVED: string;
1894
- SendStatusCANCELLED: string;
1895
- SendStatusDELETED: string;
1896
- SendStatusDOWNLOADED: string;
1897
- SendStatusERROR: string;
1898
- SendStatusMISTAKE: string;
1899
- SendStatusNOT_REGISTERED_ON_SEF: string;
1900
- SendStatusQUEUED: string;
1901
- SendStatusREJECTED: string;
1902
- SendStatusRENOTIFIED: string;
1903
- SendStatusSEEN: string;
1904
- SendStatusSENDING: string;
1905
- SendStatusSENT: string;
1906
- SendStatusSIGNED: string;
1907
- SendStatusSTORNO: string;
1908
- SendStatusUNRESOLVED: string;
1909
- Month1: string;
1910
- Month2: string;
1911
- Month3: string;
1912
- Month4: string;
1913
- Month5: string;
1914
- Month6: string;
1915
- Month7: string;
1916
- Month8: string;
1917
- Month9: string;
1918
- Month10: string;
1919
- Month11: string;
1920
- Month12: string;
1921
- BusinessYearChooser: string;
1922
- Successfully: string;
1923
- Year: string;
1924
- BusinessYearInfoTitle: string;
1925
- BusinessYearInfoDesc: string;
1926
- HomePage: string;
1927
- };
1928
- declare const i18nMainME_Latin: {
1929
- ADMIN: string;
1930
- EARCHIVE: string;
1931
- ERDS: string;
1932
- EDMS: string;
1933
- EFORMS: string;
1934
- EINVOICE: string;
1935
- ESIGN: string;
1936
- EVALIDATION: string;
1937
- EPROCUREMENT: string;
1938
- EREGISTER: string;
1939
- ERP_RIF: string;
1940
- ERP_CASH_REGISTER: string;
1941
- ERP_MAT_ACC: string;
1942
- ERP_SMALL_INVENTORY: string;
1943
- ERP_WMS: string;
1944
- DASHBOARD: string;
1945
- Basic: string;
1946
- BasicData: string;
1947
- SendHistory: string;
1948
- AccordionView: string;
1949
- TabView: string;
1950
- FooterText: string;
1951
- PageNotFound: string;
1952
- Settings: string;
1953
- Roles: string;
1954
- Logout: string;
1955
- MyAccount: string;
1956
- SelectAccount: string;
1957
- SelectOrgDesc: string;
1958
- SessionExpired: string;
1959
- SessionExpiredInfo: string;
1960
- SetOrgAsDefault: string;
1961
- SignInWithDifferentAccount: string;
1962
- NoAccessTitle: string;
1963
- ReturnToHomepage: string;
1964
- ChangeOrganization: string;
1965
- OrganizationInvite: string;
1966
- RejectInvite: string;
1967
- AcceptInvite: string;
1968
- RedirectInvite: string;
1969
- RejectInviteDesc: string;
1970
- AcceptInviteDesc: string;
1971
- RedirectInviteDesc: string;
1972
- Sender: string;
1973
- YouHaveNewInvites: string;
1974
- Name: string;
1975
- FirstName: string;
1976
- LastName: string;
1977
- Email: string;
1978
- TaxId: string;
1979
- BusinessCode: string;
1980
- FullPhoneNumber: string;
1981
- LoggedUserOrganizations: string;
1982
- Organization: string;
1983
- Organizations: string;
1984
- OrganizationalUnit: string;
1985
- OrganizationalUnits: string;
1986
- OrganizationName: string;
1987
- Partner: string;
1988
- Partners: string;
1989
- PhysicalPerson: string;
1990
- PhysicalPersons: string;
1991
- LegalEntity: string;
1992
- LegalEntities: string;
1993
- ForeignPartner: string;
1994
- ForeignPartners: string;
1995
- BusinessId: string;
1996
- BusinessActivity: string;
1997
- Country: string;
1998
- Town: string;
1999
- PostalCode: string;
2000
- Address: string;
2001
- Street: string;
2002
- HouseNumber: string;
2003
- PhoneNumber: string;
2004
- Website: string;
2005
- AddressBook: string;
2006
- Contacts: string;
2007
- EmailAddress: string;
2008
- ShowOnInvoice: string;
2009
- User: string;
2010
- UserName: string;
2011
- UpdateUser: string;
2012
- ChangePassword: string;
2013
- OldPassword: string;
2014
- NewPassword: string;
2015
- RepeatNewPassword: string;
2016
- PasswordValidationInfo: string;
2017
- RepeatPasswordValidationInfo: string;
2018
- Bank: string;
2019
- BankAccount: string;
2020
- BankAccounts: string;
2021
- EditBankAccount: string;
2022
- AddBankAccount: string;
2023
- MainBankAccount: string;
2024
- IntermediaryBank: string;
2025
- Iban: string;
2026
- Category: string;
2027
- CreatedAt: string;
2028
- CreatedBy: string;
2029
- CreatedTime: string;
2030
- Currency: string;
2031
- Date: string;
2032
- DateOfReceipt: string;
2033
- Description: string;
2034
- IssueDate: string;
2035
- Issuer: string;
2036
- Receiver: string;
2037
- Jbkjs: string;
2038
- Municipality: string;
2039
- Note: string;
2040
- Notes: string;
2041
- Number: string;
2042
- OrderNumber: string;
2043
- UMCN: string;
2044
- Phone: string;
2045
- PlaceOfResidence: string;
2046
- Position: string;
2047
- PrimaryContact: string;
2048
- Status: string;
2049
- Subject: string;
2050
- Time: string;
2051
- AddIndexField: string;
2052
- UmcnValidation: string;
2053
- Attachments: string;
2054
- CreationTime: string;
2055
- DeleteFileDesc: string;
2056
- DeleteFileTitle: string;
2057
- DisplaySignatureOnDocument: string;
2058
- Download: string;
2059
- DownloadAll: string;
2060
- DownloadDocument: string;
2061
- Downloaded: string;
2062
- DownloadOriginalDocument: string;
2063
- DownloadSignedDocument: string;
2064
- DownloadValidationReport: string;
2065
- ElSignature: string;
2066
- ErrorUnsupportedFile: string;
2067
- FailedToLoadPDF: string;
2068
- FileName: string;
2069
- Files: string;
2070
- FileSendNotificationInfo: string;
2071
- FileType: string;
2072
- FileTypes: string;
2073
- LoadingPDF: string;
2074
- NotificationChannel: string;
2075
- OrJustDragAndDropFile: string;
2076
- UMCNDescription: string;
2077
- UMCNLong: string;
2078
- ScanQR: string;
2079
- ScanQRInfo: string;
2080
- SendForSigning: string;
2081
- Sign: string;
2082
- Signature: string;
2083
- SignatureLook: string;
2084
- Signed: string;
2085
- SignOnThisDevice: string;
2086
- Size: string;
2087
- Type: string;
2088
- AddSignatory: string;
2089
- AddSignatories: string;
2090
- DeleteFileSignatoryTitle: string;
2091
- DeleteFileSignatoryDesc: string;
2092
- Report: string;
2093
- ReportDate: string;
2094
- ReportFromTo: string;
2095
- DeleteDialogTitle: string;
2096
- DeleteItemDesc: string;
2097
- DeleteItemBulkDesc: string;
2098
- InApp: string;
2099
- MarkAllAsRead: string;
2100
- NoNewNotifications: string;
2101
- Notifications: string;
2102
- NotificationsAll: string;
2103
- NotificationsUnread: string;
2104
- NotificationsRead: string;
2105
- NotificationSound: string;
2106
- InProgress: string;
2107
- FinalStatus: string;
2108
- LatestApprovalStatus: string;
2109
- LatestApprovalStatusAPPROVED: string;
2110
- LatestApprovalStatusDECLINED: string;
2111
- LatestApprovalStatusIN_PROGRESS: string;
2112
- LatestApprovalStatusNOT_STARTED: string;
2113
- SendStatusAPPROVED: string;
2114
- SendStatusCANCELLED: string;
2115
- SendStatusDELETED: string;
2116
- SendStatusDOWNLOADED: string;
2117
- SendStatusERROR: string;
2118
- SendStatusMISTAKE: string;
2119
- SendStatusNOT_REGISTERED_ON_SEF: string;
2120
- SendStatusQUEUED: string;
2121
- SendStatusREJECTED: string;
2122
- SendStatusRENOTIFIED: string;
2123
- SendStatusSEEN: string;
2124
- SendStatusSENDING: string;
2125
- SendStatusSENT: string;
2126
- SendStatusSIGNED: string;
2127
- SendStatusSTORNO: string;
2128
- SendStatusUNRESOLVED: string;
2129
- Month1: string;
2130
- Month2: string;
2131
- Month3: string;
2132
- Month4: string;
2133
- Month5: string;
2134
- Month6: string;
2135
- Month7: string;
2136
- Month8: string;
2137
- Month9: string;
2138
- Month10: string;
2139
- Month11: string;
2140
- Month12: string;
2141
- BusinessYearChooser: string;
2142
- Successfully: string;
2143
- Year: string;
2144
- BusinessYearPage: string;
2145
- BusinessYearInfoTitle: string;
2146
- BusinessYearInfoDesc: string;
2147
- HomePage: string;
2148
- };
2149
-
2150
- declare const BusinessYearChooser: FC;
2151
-
2152
- declare const BusinessYearPage: FC;
2153
-
2154
- export { AppWrapper, ApprovalStatus, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch, ICondition, IConditionIndexData, IConstraint, IContactPerson, ICountry, 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, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, ISubsystem, IToken, IUploadDocumentType, IUseMutationData, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useModules, useUserAndOrg };