@inceptionbg/main 2.0.173 → 2.0.174

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 (129) hide show
  1. package/dist/index.d.ts +2154 -0
  2. package/package.json +1 -1
  3. package/dist/tempTypes/assets/icons/duotone/faBell.d.ts +0 -2
  4. package/dist/tempTypes/assets/icons/duotone/faBoxArchive.d.ts +0 -2
  5. package/dist/tempTypes/assets/icons/duotone/faCabinetFiling.d.ts +0 -2
  6. package/dist/tempTypes/assets/icons/duotone/faCashRegister.d.ts +0 -2
  7. package/dist/tempTypes/assets/icons/duotone/faDisplayChartUpCircleDollar.d.ts +0 -2
  8. package/dist/tempTypes/assets/icons/duotone/faEnvelope.d.ts +0 -2
  9. package/dist/tempTypes/assets/icons/duotone/faFileContract.d.ts +0 -2
  10. package/dist/tempTypes/assets/icons/duotone/faFileInvoice.d.ts +0 -2
  11. package/dist/tempTypes/assets/icons/duotone/faFilePen.d.ts +0 -2
  12. package/dist/tempTypes/assets/icons/duotone/faGear.d.ts +0 -2
  13. package/dist/tempTypes/assets/icons/duotone/faGridHorizontal.d.ts +0 -2
  14. package/dist/tempTypes/assets/icons/duotone/faHandsHoldingHeart.d.ts +0 -2
  15. package/dist/tempTypes/assets/icons/duotone/faList.d.ts +0 -2
  16. package/dist/tempTypes/assets/icons/duotone/faListCheck.d.ts +0 -2
  17. package/dist/tempTypes/assets/icons/duotone/faPlusCircle.d.ts +0 -2
  18. package/dist/tempTypes/assets/icons/duotone/faScreencast.d.ts +0 -2
  19. package/dist/tempTypes/assets/icons/duotone/faShelves.d.ts +0 -2
  20. package/dist/tempTypes/assets/icons/duotone/faSignature.d.ts +0 -2
  21. package/dist/tempTypes/assets/icons/duotone/faWarehouse.d.ts +0 -2
  22. package/dist/tempTypes/assets/icons/duotone/faWarehouseFull.d.ts +0 -2
  23. package/dist/tempTypes/assets/icons/light/faAngleDown.d.ts +0 -2
  24. package/dist/tempTypes/assets/icons/light/faArrowRightFromBracket.d.ts +0 -2
  25. package/dist/tempTypes/assets/icons/light/faBell.d.ts +0 -2
  26. package/dist/tempTypes/assets/icons/light/faBriefcase.d.ts +0 -2
  27. package/dist/tempTypes/assets/icons/light/faBusinessPlus.d.ts +0 -2
  28. package/dist/tempTypes/assets/icons/light/faCalendarDays.d.ts +0 -2
  29. package/dist/tempTypes/assets/icons/light/faCircleUser.d.ts +0 -2
  30. package/dist/tempTypes/assets/icons/light/faEnvelope.d.ts +0 -2
  31. package/dist/tempTypes/assets/icons/light/faMagnifyingGlass.d.ts +0 -2
  32. package/dist/tempTypes/assets/icons/light/faTrashCan.d.ts +0 -2
  33. package/dist/tempTypes/assets/icons/light/faUserGear.d.ts +0 -2
  34. package/dist/tempTypes/assets/icons/regular/faAngleLeft.d.ts +0 -2
  35. package/dist/tempTypes/assets/icons/regular/faAngleRight.d.ts +0 -2
  36. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassMinus.d.ts +0 -2
  37. package/dist/tempTypes/assets/icons/regular/faMagnifyingGlassPlus.d.ts +0 -2
  38. package/dist/tempTypes/assets/icons/regular/faQrcode.d.ts +0 -2
  39. package/dist/tempTypes/assets/icons/solid/faAngleLeft.d.ts +0 -2
  40. package/dist/tempTypes/assets/icons/solid/faArrowRight.d.ts +0 -2
  41. package/dist/tempTypes/assets/icons/solid/faCaretDown.d.ts +0 -2
  42. package/dist/tempTypes/assets/icons/solid/faCheck.d.ts +0 -2
  43. package/dist/tempTypes/assets/icons/solid/faEnvelopeDot.d.ts +0 -2
  44. package/dist/tempTypes/assets/icons/solid/faPlus.d.ts +0 -2
  45. package/dist/tempTypes/assets/icons/solid/faXmark.d.ts +0 -2
  46. package/dist/tempTypes/auth/Auth.d.ts +0 -55
  47. package/dist/tempTypes/auth/AuthUtils.d.ts +0 -4
  48. package/dist/tempTypes/auth/AxiosTokenHandler.d.ts +0 -6
  49. package/dist/tempTypes/components/BusinessYear/BusinessYearChooser.d.ts +0 -2
  50. package/dist/tempTypes/components/BusinessYear/BusinessYearPage.d.ts +0 -3
  51. package/dist/tempTypes/components/Dialogs/DeleteItemDialog.d.ts +0 -13
  52. package/dist/tempTypes/components/Dialogs/DeleteItemsDialog.d.ts +0 -15
  53. package/dist/tempTypes/components/Header/Components/ModuleSelect.d.ts +0 -6
  54. package/dist/tempTypes/components/Header/Components/Notifications.d.ts +0 -2
  55. package/dist/tempTypes/components/Header/Components/UserMenu.d.ts +0 -2
  56. package/dist/tempTypes/components/Header/Header.d.ts +0 -9
  57. package/dist/tempTypes/components/IndexData/IndexDataSearch.d.ts +0 -13
  58. package/dist/tempTypes/components/IndexData/IndexDataSearchFields.d.ts +0 -10
  59. package/dist/tempTypes/components/Organizations/ChangeOrganizationDialog.d.ts +0 -7
  60. package/dist/tempTypes/components/Organizations/OrganizationInvitesDialog.d.ts +0 -7
  61. package/dist/tempTypes/components/ReactQuery/ReactQueryProvider.d.ts +0 -6
  62. package/dist/tempTypes/components/Router/Router.d.ts +0 -10
  63. package/dist/tempTypes/components/Sidebar/AddButton.d.ts +0 -6
  64. package/dist/tempTypes/components/Sidebar/Sidebar.d.ts +0 -8
  65. package/dist/tempTypes/components/Sidebar/SidebarItem.d.ts +0 -3
  66. package/dist/tempTypes/components/User/MyAccountDialog.d.ts +0 -7
  67. package/dist/tempTypes/components/User/components/ChangePassword.d.ts +0 -7
  68. package/dist/tempTypes/components/User/repo/useUserMutations.d.ts +0 -9
  69. package/dist/tempTypes/components/Wrappers/App/AppContent.d.ts +0 -6
  70. package/dist/tempTypes/components/Wrappers/App/AppWrapper.d.ts +0 -7
  71. package/dist/tempTypes/components/Wrappers/MainPageWrapper.d.ts +0 -9
  72. package/dist/tempTypes/context/BusinessYearContext.d.ts +0 -12
  73. package/dist/tempTypes/context/ErrorContext.d.ts +0 -13
  74. package/dist/tempTypes/context/UserOrgContext.d.ts +0 -28
  75. package/dist/tempTypes/hooks/useOrgInvites.d.ts +0 -12
  76. package/dist/tempTypes/index.d.ts +0 -56
  77. package/dist/tempTypes/pages/LoginPage.d.ts +0 -3
  78. package/dist/tempTypes/pages/NoAccessInfo.d.ts +0 -8
  79. package/dist/tempTypes/pages/NoMatchPage.d.ts +0 -3
  80. package/dist/tempTypes/pages/Roles/RolesWithPrivileges.d.ts +0 -8
  81. package/dist/tempTypes/pages/Roles/components/PrivilegesForm.d.ts +0 -11
  82. package/dist/tempTypes/pages/SelectOrg/SelectOrgPage.d.ts +0 -3
  83. package/dist/tempTypes/pages/SelectOrg/components/OrgInvites.d.ts +0 -2
  84. package/dist/tempTypes/repo/NotificationsRepository.d.ts +0 -8
  85. package/dist/tempTypes/repo/RoleRepo.d.ts +0 -7
  86. package/dist/tempTypes/types/App/Administration/IEmployee.d.ts +0 -23
  87. package/dist/tempTypes/types/App/Administration/IJob.d.ts +0 -10
  88. package/dist/tempTypes/types/App/Contracts/File/IContractFile.d.ts +0 -30
  89. package/dist/tempTypes/types/App/Contracts/IContract.d.ts +0 -241
  90. package/dist/tempTypes/types/App/Document/IApproval.d.ts +0 -143
  91. package/dist/tempTypes/types/App/Document/ICase.d.ts +0 -48
  92. package/dist/tempTypes/types/App/Document/IDocument.d.ts +0 -219
  93. package/dist/tempTypes/types/App/Document/IDocumentFile.d.ts +0 -67
  94. package/dist/tempTypes/types/App/Document/IDocumentSend.d.ts +0 -128
  95. package/dist/tempTypes/types/App/Document/IEmailDocument.d.ts +0 -52
  96. package/dist/tempTypes/types/App/Document/IIndexDataCodebook.d.ts +0 -15
  97. package/dist/tempTypes/types/App/Document/ISignatory.d.ts +0 -34
  98. package/dist/tempTypes/types/App/Document/IndexData.d.ts +0 -60
  99. package/dist/tempTypes/types/App/Document/Invoice/IAccount.d.ts +0 -11
  100. package/dist/tempTypes/types/App/Document/Invoice/IExpenseAllocation.d.ts +0 -39
  101. package/dist/tempTypes/types/App/Document/Invoice/IFactoring.d.ts +0 -6
  102. package/dist/tempTypes/types/App/Document/Invoice/IInvoice.d.ts +0 -236
  103. package/dist/tempTypes/types/App/Document/Invoice/IPayment.d.ts +0 -40
  104. package/dist/tempTypes/types/App/Document/Invoice/IProduct.d.ts +0 -23
  105. package/dist/tempTypes/types/App/Document/Invoice/ITaxAllocation.d.ts +0 -37
  106. package/dist/tempTypes/types/App/Document/Invoice/IVatIndicator.d.ts +0 -14
  107. package/dist/tempTypes/types/App/Document/Office/IOfficeDocument.d.ts +0 -27
  108. package/dist/tempTypes/types/App/Document/Shipment/IShipment.d.ts +0 -25
  109. package/dist/tempTypes/types/App/Partner/IAddress.d.ts +0 -14
  110. package/dist/tempTypes/types/App/Partner/IPartner.d.ts +0 -98
  111. package/dist/tempTypes/types/Auth/IEnv.d.ts +0 -13
  112. package/dist/tempTypes/types/Auth/IModule.d.ts +0 -15
  113. package/dist/tempTypes/types/Auth/IOrganization.d.ts +0 -140
  114. package/dist/tempTypes/types/Auth/IPrivileges.d.ts +0 -2
  115. package/dist/tempTypes/types/Auth/IRole.d.ts +0 -25
  116. package/dist/tempTypes/types/Auth/IRouter.d.ts +0 -7
  117. package/dist/tempTypes/types/Auth/IToken.d.ts +0 -12
  118. package/dist/tempTypes/types/Auth/IUser.d.ts +0 -39
  119. package/dist/tempTypes/types/IError.d.ts +0 -5
  120. package/dist/tempTypes/types/INotifications.d.ts +0 -15
  121. package/dist/tempTypes/types/IReactQuerry.d.ts +0 -4
  122. package/dist/tempTypes/types/IScan.d.ts +0 -17
  123. package/dist/tempTypes/types/ISidebar.d.ts +0 -27
  124. package/dist/tempTypes/types/ISubsystem.d.ts +0 -2
  125. package/dist/tempTypes/utils/EnvVars.d.ts +0 -2
  126. package/dist/tempTypes/utils/ImageUtils.d.ts +0 -4
  127. package/dist/tempTypes/utils/LoadOptions.d.ts +0 -20
  128. package/dist/tempTypes/utils/ModuleUtils.d.ts +0 -3
  129. package/dist/tempTypes/utils/i18nMain.d.ts +0 -662
@@ -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
- };
@@ -1,15 +0,0 @@
1
- import { ModuleIds } from '../../utils/ModuleUtils';
2
- export type IModuleId = (typeof ModuleIds)[number];
3
- export type IModule = {
4
- [id in IModuleId]: {
5
- icon: any;
6
- disabled?: boolean;
7
- hidden?: boolean;
8
- };
9
- };
10
- export interface IModuleIdsObj {
11
- availableModules: IModuleId[];
12
- userModules: IModuleId[];
13
- organizationModules: IModuleId[];
14
- activeModules: IModuleId[];
15
- }
@@ -1,140 +0,0 @@
1
- import { ISimpleObject, ISimpleObjectWithCode } from '@inceptionbg/iui';
2
- import { ICountry, IMunicipality, IPlace } from '../App/Partner/IAddress';
3
- import { IContactPerson, IPartner } from '../App/Partner/IPartner';
4
- import { IUser } from './IUser';
5
- import { IRole } from './IRole';
6
- export interface IOrganization {
7
- uuid: string;
8
- name?: string;
9
- firstName?: string;
10
- lastName?: string;
11
- taxId?: string;
12
- businessCode?: string;
13
- jbkjs?: string;
14
- locale?: string;
15
- country?: ICountry;
16
- town?: string;
17
- municipality?: IMunicipality;
18
- place?: IPlace;
19
- address?: string;
20
- houseNumber?: string;
21
- postalCode?: string;
22
- businessActivity?: ISimpleObjectWithCode;
23
- email?: string;
24
- website?: string;
25
- phoneNumber?: string;
26
- contactPerson?: IContactPerson;
27
- physicalPerson?: boolean;
28
- personalIdentificationNumber?: string;
29
- personalIdentityNumber?: string;
30
- inboxUrl?: string;
31
- status?: OrganizationStatus;
32
- serviceRequest?: serviceDoc;
33
- serviceAgreement?: serviceDoc;
34
- allowNewsletter?: boolean;
35
- legalRepresentative?: IUser;
36
- internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
37
- logo?: serviceDoc;
38
- latestPricingPackage?: ILatestPricingPackage;
39
- pricingPackage?: IPricingPackage;
40
- activeEDeliveryContract?: boolean;
41
- eDeliveryReseller?: boolean;
42
- factoringCompany?: boolean;
43
- regularFactoringAllowed?: boolean;
44
- reverseFactoringAllowed?: boolean;
45
- type?: 'BASIC';
46
- reseller?: 'MTS' | 'PPL';
47
- }
48
- export interface IOrganizationInvite {
49
- uuid: string;
50
- createdAt: string;
51
- organization?: IOrganization;
52
- sender?: IPartner;
53
- receiver?: IPartner;
54
- roles?: IRole[];
55
- }
56
- export type IOrganizationInvitesFetchOption = 'SENDER' | 'ORGANIZATION' | 'ROLE';
57
- interface serviceDoc {
58
- uuid: string;
59
- originalFileName: string;
60
- downloadUrl: string;
61
- lengthInBytes: number;
62
- uploadedAt: string;
63
- fileUuid: string;
64
- md5: string;
65
- storage: {
66
- url: string;
67
- };
68
- }
69
- export interface IOrganizationSearch {
70
- status?: string;
71
- }
72
- export type IOrganizationFetchOption = 'LATEST_PRICING_PACKAGE';
73
- export declare const OrganizationStatuses: readonly ["PENDING_CUSTOMER", "PENDING_SUPPORT", "APPROVED", "DECLINED"];
74
- export type OrganizationStatus = (typeof OrganizationStatuses)[number];
75
- export interface ILatestPricingPackage {
76
- uuid: string;
77
- pricingPackage: IPricingPackage;
78
- contract: IResellerContract;
79
- createdAt: string;
80
- }
81
- export interface IPricingPackage {
82
- uuid: string;
83
- name?: string;
84
- code?: string;
85
- price?: number;
86
- }
87
- export interface IResellerContract {
88
- uuid: string;
89
- contractNumber: string;
90
- date: string;
91
- durationInMonths: number;
92
- reseller?: {
93
- uuid: string;
94
- };
95
- contractor?: {
96
- uuid: string;
97
- };
98
- signatory?: IUser;
99
- activationDate?: string;
100
- expirationDate?: string;
101
- pricingPackage?: IPricingPackage;
102
- service?: 'DELIVERY' | 'EINVOICE';
103
- status?: 'CREATED' | 'SIGN_INITIATED' | 'ACTIVE' | 'CANCELED';
104
- pdfDownloadUrl?: string;
105
- freeTrail?: boolean;
106
- }
107
- export interface IOrganizationalUnit {
108
- uuid: string;
109
- name: string;
110
- code: string;
111
- type: ISimpleObject;
112
- parent?: IOrganizationalUnit;
113
- jbkjs?: string;
114
- active?: boolean;
115
- primaryForInvoiceReceive?: boolean;
116
- }
117
- export interface IOrganizationalUnitUpdate {
118
- uuid?: string;
119
- name?: string;
120
- code?: string;
121
- jbkjs?: string;
122
- type?: IOrganizationalUnitType;
123
- organization?: {
124
- uuid: string;
125
- };
126
- parent?: {
127
- uuid: string;
128
- };
129
- primaryForInvoiceReceive?: boolean;
130
- }
131
- export interface IOrganizationalUnitType {
132
- uuid: string;
133
- name: string;
134
- internalCode: 'SECTOR';
135
- }
136
- export interface IOrunTreeItem {
137
- organizationalUnit: IOrganizationalUnit;
138
- childs?: IOrunTreeItem[];
139
- }
140
- export {};
@@ -1,2 +0,0 @@
1
- export type IOrganizationSettings = Record<string, any>;
2
- export type IUserSettingsByOrg = Record<string, any>;