@inceptionbg/main 2.0.47 → 2.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +296 -305
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISimpleObject, ISelectData,
|
|
1
|
+
import { ISimpleObjectWithCode, ISimpleObject, ISelectData, IAnyObject } from '@inceptionbg/iui';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactElement, FC, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
4
4
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
@@ -93,6 +93,267 @@ interface IUserSettings {
|
|
|
93
93
|
}
|
|
94
94
|
type IGuideType = 'invoice';
|
|
95
95
|
|
|
96
|
+
type ILegalEntityType = 'LEGAL_PERSON' | 'NATURAL_PERSON' | 'INO_PARTNER';
|
|
97
|
+
type ILegalForm = 'LLC | ENTREPRENEUR | FOUNDATION | SPORT_ASSOCIATION | CHAMBER_OF_COMMERCE | CULTURE_INSTITUTION';
|
|
98
|
+
interface IPartner {
|
|
99
|
+
uuid: string;
|
|
100
|
+
type: ILegalEntityType;
|
|
101
|
+
organization?: IOrganization;
|
|
102
|
+
firstName?: string;
|
|
103
|
+
lastName?: string;
|
|
104
|
+
umcn?: string;
|
|
105
|
+
name?: string;
|
|
106
|
+
taxId?: string;
|
|
107
|
+
businessCode?: string;
|
|
108
|
+
jbkjs?: string;
|
|
109
|
+
businessActivity?: ISimpleObjectWithCode;
|
|
110
|
+
country: ISimpleObjectWithCode;
|
|
111
|
+
town?: string;
|
|
112
|
+
postalCode?: string;
|
|
113
|
+
street?: string;
|
|
114
|
+
houseNumber?: string;
|
|
115
|
+
email?: string;
|
|
116
|
+
website?: string;
|
|
117
|
+
phoneNumber?: string;
|
|
118
|
+
groups: [
|
|
119
|
+
{
|
|
120
|
+
uuid: 'c01d4e1f-6fe5-4008-913e-dec68fe54ab1';
|
|
121
|
+
name: 'Grpup 1';
|
|
122
|
+
groupType: 'BANK';
|
|
123
|
+
}
|
|
124
|
+
];
|
|
125
|
+
contactPersons?: IContactPerson[];
|
|
126
|
+
inboxUrl?: string;
|
|
127
|
+
legalForm?: ILegalForm;
|
|
128
|
+
sefSend?: boolean;
|
|
129
|
+
internalSend?: boolean;
|
|
130
|
+
omitJbkjsForSef?: boolean;
|
|
131
|
+
updateMissingData?: boolean;
|
|
132
|
+
checkAuthorizedPersonsOnApr?: boolean;
|
|
133
|
+
}
|
|
134
|
+
interface IPartnersSearch {
|
|
135
|
+
name?: string;
|
|
136
|
+
taxId?: string;
|
|
137
|
+
registrationNumber?: string;
|
|
138
|
+
nameLike?: string;
|
|
139
|
+
fullText?: string;
|
|
140
|
+
sort?: string;
|
|
141
|
+
physicalPerson?: boolean;
|
|
142
|
+
foreignLegalEntity?: boolean;
|
|
143
|
+
includeCurrentOrganization?: boolean;
|
|
144
|
+
}
|
|
145
|
+
interface IBankAccount {
|
|
146
|
+
uuid: string;
|
|
147
|
+
accountNumber: string;
|
|
148
|
+
bank?: IPartner;
|
|
149
|
+
currency?: ISimpleObjectWithCode;
|
|
150
|
+
paymentInstructionsIntermediaryBank?: string;
|
|
151
|
+
iban?: string;
|
|
152
|
+
active?: boolean;
|
|
153
|
+
main?: boolean;
|
|
154
|
+
invoicePrint?: boolean;
|
|
155
|
+
owner?: IPartner;
|
|
156
|
+
}
|
|
157
|
+
interface IBankAccountSearch {
|
|
158
|
+
accountNumberLike?: string;
|
|
159
|
+
main?: boolean;
|
|
160
|
+
}
|
|
161
|
+
interface INote {
|
|
162
|
+
uuid: string;
|
|
163
|
+
subject: string;
|
|
164
|
+
note: string;
|
|
165
|
+
date?: string;
|
|
166
|
+
createdBy?: IUser;
|
|
167
|
+
}
|
|
168
|
+
interface INoteSearch {
|
|
169
|
+
note?: string;
|
|
170
|
+
}
|
|
171
|
+
interface IContactPerson {
|
|
172
|
+
uuid: string;
|
|
173
|
+
representation: string;
|
|
174
|
+
legalEntity?: Partial<IPartner>;
|
|
175
|
+
firstName?: string;
|
|
176
|
+
lastName?: string;
|
|
177
|
+
personalIdentificationNumber?: string;
|
|
178
|
+
email?: string;
|
|
179
|
+
director?: boolean;
|
|
180
|
+
responsiblePerson?: boolean;
|
|
181
|
+
eInvoiceReceiver?: boolean;
|
|
182
|
+
organization?: IOrganization;
|
|
183
|
+
verificationTime?: string;
|
|
184
|
+
verificationSendTime?: string;
|
|
185
|
+
primary?: boolean;
|
|
186
|
+
position?: string;
|
|
187
|
+
phoneNumber?: string;
|
|
188
|
+
factoringRepresentative?: boolean;
|
|
189
|
+
}
|
|
190
|
+
interface IPartnerGroup {
|
|
191
|
+
uuid: string;
|
|
192
|
+
name: string;
|
|
193
|
+
organization?: IOrganization;
|
|
194
|
+
}
|
|
195
|
+
type PartnerGroupType = 'BANK';
|
|
196
|
+
type IPartnerType = 'legalEntity' | 'physicalPerson' | 'foreignPartner';
|
|
197
|
+
|
|
198
|
+
interface IOrganization {
|
|
199
|
+
uuid: string;
|
|
200
|
+
name?: string;
|
|
201
|
+
firstName?: string;
|
|
202
|
+
lastName?: string;
|
|
203
|
+
taxId?: string;
|
|
204
|
+
registrationNumber?: string;
|
|
205
|
+
jbkjs?: string;
|
|
206
|
+
locale?: string;
|
|
207
|
+
country?: ICountry;
|
|
208
|
+
town?: string;
|
|
209
|
+
municipality?: IMunicipality;
|
|
210
|
+
place?: IPlace;
|
|
211
|
+
address?: string;
|
|
212
|
+
houseNumber?: string;
|
|
213
|
+
postalCode?: string;
|
|
214
|
+
businessActivity?: ISimpleObjectWithCode;
|
|
215
|
+
email?: string;
|
|
216
|
+
website?: string;
|
|
217
|
+
phoneNumber?: string;
|
|
218
|
+
contactPerson?: IContactPerson;
|
|
219
|
+
physicalPerson?: boolean;
|
|
220
|
+
personalIdentificationNumber?: string;
|
|
221
|
+
personalIdentityNumber?: string;
|
|
222
|
+
inboxUrl?: string;
|
|
223
|
+
status?: OrganizationStatus;
|
|
224
|
+
serviceRequest?: serviceDoc;
|
|
225
|
+
serviceAgreement?: serviceDoc;
|
|
226
|
+
allowNewsletter?: boolean;
|
|
227
|
+
legalRepresentative?: IUser;
|
|
228
|
+
internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
|
|
229
|
+
logo?: serviceDoc;
|
|
230
|
+
latestPricingPackage?: ILatestPricingPackage;
|
|
231
|
+
pricingPackage?: IPricingPackage;
|
|
232
|
+
activeEDeliveryContract?: boolean;
|
|
233
|
+
eDeliveryReseller?: boolean;
|
|
234
|
+
factoringCompany?: boolean;
|
|
235
|
+
regularFactoringAllowed?: boolean;
|
|
236
|
+
reverseFactoringAllowed?: boolean;
|
|
237
|
+
type?: 'BASIC';
|
|
238
|
+
reseller?: 'MTS' | 'PPL';
|
|
239
|
+
}
|
|
240
|
+
interface serviceDoc {
|
|
241
|
+
uuid: string;
|
|
242
|
+
originalFileName: string;
|
|
243
|
+
downloadUrl: string;
|
|
244
|
+
lengthInBytes: number;
|
|
245
|
+
uploadedAt: string;
|
|
246
|
+
fileUuid: string;
|
|
247
|
+
md5: string;
|
|
248
|
+
storage: {
|
|
249
|
+
url: string;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
interface IOrganizationSearch {
|
|
253
|
+
status?: string;
|
|
254
|
+
}
|
|
255
|
+
type IOrganizationFetchOption = 'LATEST_PRICING_PACKAGE';
|
|
256
|
+
declare const OrganizationStatuses: readonly ["PENDING_CUSTOMER", "PENDING_SUPPORT", "APPROVED", "DECLINED"];
|
|
257
|
+
type OrganizationStatus = (typeof OrganizationStatuses)[number];
|
|
258
|
+
interface ILatestPricingPackage {
|
|
259
|
+
uuid: string;
|
|
260
|
+
pricingPackage: IPricingPackage;
|
|
261
|
+
contract: IResellerContract;
|
|
262
|
+
createdAt: string;
|
|
263
|
+
}
|
|
264
|
+
interface IPricingPackage {
|
|
265
|
+
uuid: string;
|
|
266
|
+
name?: string;
|
|
267
|
+
code?: string;
|
|
268
|
+
price?: number;
|
|
269
|
+
}
|
|
270
|
+
interface IResellerContract {
|
|
271
|
+
uuid: string;
|
|
272
|
+
contractNumber: string;
|
|
273
|
+
date: string;
|
|
274
|
+
durationInMonths: number;
|
|
275
|
+
reseller?: {
|
|
276
|
+
uuid: string;
|
|
277
|
+
};
|
|
278
|
+
contractor?: {
|
|
279
|
+
uuid: string;
|
|
280
|
+
};
|
|
281
|
+
signatory?: IUser;
|
|
282
|
+
activationDate?: string;
|
|
283
|
+
expirationDate?: string;
|
|
284
|
+
pricingPackage?: IPricingPackage;
|
|
285
|
+
service?: 'DELIVERY' | 'EINVOICE';
|
|
286
|
+
status?: 'CREATED' | 'SIGN_INITIATED' | 'ACTIVE' | 'CANCELED';
|
|
287
|
+
pdfDownloadUrl?: string;
|
|
288
|
+
freeTrail?: boolean;
|
|
289
|
+
}
|
|
290
|
+
interface IOrganizationalUnit {
|
|
291
|
+
uuid: string;
|
|
292
|
+
name: string;
|
|
293
|
+
code: string;
|
|
294
|
+
type: IOrganizationalUnitType;
|
|
295
|
+
parent?: string;
|
|
296
|
+
primaryForInvoiceReceive?: boolean;
|
|
297
|
+
}
|
|
298
|
+
interface IOrganizationalUnitUpdate {
|
|
299
|
+
uuid?: string;
|
|
300
|
+
name?: string;
|
|
301
|
+
code?: string;
|
|
302
|
+
jbkjs?: string;
|
|
303
|
+
type?: IOrganizationalUnitType;
|
|
304
|
+
organization?: {
|
|
305
|
+
uuid: string;
|
|
306
|
+
};
|
|
307
|
+
parent?: {
|
|
308
|
+
uuid: string;
|
|
309
|
+
};
|
|
310
|
+
primaryForInvoiceReceive?: boolean;
|
|
311
|
+
}
|
|
312
|
+
interface IOrganizationalUnitType {
|
|
313
|
+
uuid: string;
|
|
314
|
+
name: string;
|
|
315
|
+
internalCode: 'SECTOR';
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
interface IJob {
|
|
319
|
+
uuid?: string;
|
|
320
|
+
name?: string;
|
|
321
|
+
code?: string;
|
|
322
|
+
organization?: IOrganization;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
interface IEmployee {
|
|
326
|
+
uuid: string;
|
|
327
|
+
firstName?: string;
|
|
328
|
+
lastName?: string;
|
|
329
|
+
personalIdentityNumber?: string;
|
|
330
|
+
evidenceNumber?: string;
|
|
331
|
+
email?: string;
|
|
332
|
+
user?: IUser;
|
|
333
|
+
emailNotifications?: boolean;
|
|
334
|
+
deleted?: boolean;
|
|
335
|
+
job?: IJob;
|
|
336
|
+
orun?: IOrganizationalUnit;
|
|
337
|
+
representation?: string;
|
|
338
|
+
costCenter?: ISimpleObjectWithCode;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
interface IIndexDataCodebook {
|
|
342
|
+
uuid: string;
|
|
343
|
+
name: string;
|
|
344
|
+
description: string;
|
|
345
|
+
active?: boolean;
|
|
346
|
+
organization?: {
|
|
347
|
+
uuid: string;
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
interface IIndexDataCodebookItem {
|
|
351
|
+
code: string;
|
|
352
|
+
name: string;
|
|
353
|
+
uuid: string;
|
|
354
|
+
active: boolean;
|
|
355
|
+
}
|
|
356
|
+
|
|
96
357
|
interface IFileSignatory {
|
|
97
358
|
uuid?: string;
|
|
98
359
|
firstName?: string;
|
|
@@ -174,85 +435,7 @@ interface IFileType {
|
|
|
174
435
|
uuid?: string;
|
|
175
436
|
name?: string;
|
|
176
437
|
organization?: IOrganization;
|
|
177
|
-
requireSignature?: boolean;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
interface IIndexDataCodebook {
|
|
181
|
-
uuid: string;
|
|
182
|
-
name: string;
|
|
183
|
-
description: string;
|
|
184
|
-
active?: boolean;
|
|
185
|
-
organization?: {
|
|
186
|
-
uuid: string;
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
interface IIndexDataCodebookItem {
|
|
190
|
-
code: string;
|
|
191
|
-
name: string;
|
|
192
|
-
uuid: string;
|
|
193
|
-
active: boolean;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
interface IIndexData {
|
|
197
|
-
uuid?: string;
|
|
198
|
-
name?: string;
|
|
199
|
-
fieldType?: IndexDataFieldType;
|
|
200
|
-
fieldTypeObj?: ISelectData;
|
|
201
|
-
codebook?: Partial<IIndexDataCodebook>;
|
|
202
|
-
codebookObj?: ISelectData;
|
|
203
|
-
documentType?: IDocumentType;
|
|
204
|
-
deletionTime?: string;
|
|
205
|
-
required?: boolean;
|
|
206
|
-
readonly?: boolean;
|
|
207
|
-
organization?: IOrganization;
|
|
208
|
-
minLength?: number;
|
|
209
|
-
maxLength?: number;
|
|
210
|
-
indexOrder?: number;
|
|
211
|
-
code?: string;
|
|
212
|
-
}
|
|
213
|
-
interface IIndex {
|
|
214
|
-
uuid?: string;
|
|
215
|
-
value?: string;
|
|
216
|
-
name?: string;
|
|
217
|
-
position?: IIndexDataPosition;
|
|
218
|
-
indexData?: IIndexData;
|
|
219
|
-
indexOrder?: string;
|
|
220
|
-
defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
|
|
221
|
-
}
|
|
222
|
-
declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
|
|
223
|
-
type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
|
|
224
|
-
declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
|
|
225
|
-
type IIndexDataPosition = (typeof IndexDataPositions)[number];
|
|
226
|
-
interface IIndicesIndex {
|
|
227
|
-
uuid?: string;
|
|
228
|
-
indexDataPosition?: IIndex;
|
|
229
|
-
value?: string;
|
|
230
|
-
codebookItem?: {
|
|
231
|
-
uuid: string;
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface IJob {
|
|
236
|
-
uuid?: string;
|
|
237
|
-
name?: string;
|
|
238
|
-
code?: string;
|
|
239
|
-
organization?: IOrganization;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
interface IEmployee {
|
|
243
|
-
uuid: string;
|
|
244
|
-
firstName?: string;
|
|
245
|
-
lastName?: string;
|
|
246
|
-
personalIdentityNumber?: string;
|
|
247
|
-
evidenceNumber?: string;
|
|
248
|
-
email?: string;
|
|
249
|
-
user?: IUser;
|
|
250
|
-
emailNotifications?: boolean;
|
|
251
|
-
deleted?: boolean;
|
|
252
|
-
job?: IJob;
|
|
253
|
-
orun?: IOrganizationalUnit;
|
|
254
|
-
representation?: string;
|
|
255
|
-
costCenter?: ISimpleObjectWithCode;
|
|
438
|
+
requireSignature?: boolean;
|
|
256
439
|
}
|
|
257
440
|
|
|
258
441
|
interface IShipment extends IDocument {
|
|
@@ -423,7 +606,7 @@ interface IContractNew {
|
|
|
423
606
|
amountWithoutVat?: number;
|
|
424
607
|
warningAmountWithVat?: number;
|
|
425
608
|
warningAmountWithoutVat?: number;
|
|
426
|
-
currency?:
|
|
609
|
+
currency?: ISimpleObjectWithCode;
|
|
427
610
|
exchangeRate?: number;
|
|
428
611
|
warningDate?: string;
|
|
429
612
|
deactivationDate?: string;
|
|
@@ -627,7 +810,7 @@ interface IInvoice extends IDocument {
|
|
|
627
810
|
sefStatusChangeTime?: string;
|
|
628
811
|
usedInFactoring?: boolean;
|
|
629
812
|
numberNonSTaxCategories?: number;
|
|
630
|
-
currency?:
|
|
813
|
+
currency?: ISimpleObjectWithCode;
|
|
631
814
|
exchangeRate?: string;
|
|
632
815
|
costCenterExpenseAllocations?: IExpenseAllocation[];
|
|
633
816
|
taxAllocations?: ITaxAllocation[];
|
|
@@ -907,235 +1090,43 @@ interface DocumentIndicies {
|
|
|
907
1090
|
[id: string]: IDocumentIndex;
|
|
908
1091
|
}
|
|
909
1092
|
|
|
910
|
-
interface
|
|
911
|
-
uuid
|
|
912
|
-
name: string;
|
|
913
|
-
firstName?: string;
|
|
914
|
-
lastName?: string;
|
|
915
|
-
taxId?: string;
|
|
916
|
-
registrationNumber?: string;
|
|
917
|
-
businessId?: string;
|
|
918
|
-
jbkjs?: string;
|
|
919
|
-
town?: string;
|
|
920
|
-
municipality?: IMunicipality;
|
|
921
|
-
place?: IPlace;
|
|
922
|
-
country?: ICountry;
|
|
923
|
-
address?: string;
|
|
924
|
-
houseNumber?: string;
|
|
925
|
-
postalCode?: string;
|
|
926
|
-
businessActivity?: IBusinessActivity;
|
|
927
|
-
email?: string;
|
|
928
|
-
website?: string;
|
|
929
|
-
phoneNumber?: string;
|
|
930
|
-
groups?: IPartnerGroup[];
|
|
931
|
-
organization?: IOrganization;
|
|
932
|
-
updateMissingData?: boolean;
|
|
933
|
-
personalIdentificationNumber?: string;
|
|
934
|
-
latitude?: number;
|
|
935
|
-
longitude?: number;
|
|
936
|
-
inboxUrl?: string;
|
|
937
|
-
physicalPerson?: boolean;
|
|
938
|
-
foreignLegalEntity?: boolean;
|
|
939
|
-
regularFactoringAllowed?: boolean;
|
|
940
|
-
reverseFactoringAllowed?: boolean;
|
|
941
|
-
futureClaimsFactoringAllowed?: boolean;
|
|
942
|
-
checkAuthorizedPersonsOnApr?: boolean;
|
|
943
|
-
internalSend?: boolean;
|
|
944
|
-
sefSend?: boolean;
|
|
945
|
-
legalEntityIndices?: IDocumentIndex[];
|
|
946
|
-
legal_entityIndices?: IDocumentIndex[];
|
|
947
|
-
}
|
|
948
|
-
interface IPartnersSearch {
|
|
1093
|
+
interface IIndexData {
|
|
1094
|
+
uuid?: string;
|
|
949
1095
|
name?: string;
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
}
|
|
959
|
-
interface IBusinessActivity {
|
|
960
|
-
id: string;
|
|
961
|
-
name: string;
|
|
962
|
-
code?: string;
|
|
963
|
-
}
|
|
964
|
-
interface IBankAccount {
|
|
965
|
-
uuid: string;
|
|
966
|
-
accountNumber: string;
|
|
967
|
-
bank?: IPartner;
|
|
968
|
-
currency?: ISimpleObjectWithCode;
|
|
969
|
-
paymentInstructionsIntermediaryBank?: string;
|
|
970
|
-
iban?: string;
|
|
971
|
-
active?: boolean;
|
|
972
|
-
main?: boolean;
|
|
973
|
-
invoicePrint?: boolean;
|
|
974
|
-
}
|
|
975
|
-
interface IBankAccountSearch {
|
|
976
|
-
accountNumberLike?: string;
|
|
977
|
-
main?: boolean;
|
|
978
|
-
}
|
|
979
|
-
interface ICurrency {
|
|
980
|
-
uuid: string;
|
|
981
|
-
code: string;
|
|
982
|
-
name: string;
|
|
983
|
-
}
|
|
984
|
-
interface INote {
|
|
985
|
-
uuid: string;
|
|
986
|
-
subject: string;
|
|
987
|
-
note: string;
|
|
988
|
-
date?: string;
|
|
989
|
-
createdBy?: IUser;
|
|
990
|
-
}
|
|
991
|
-
interface INoteSearch {
|
|
992
|
-
note?: string;
|
|
993
|
-
}
|
|
994
|
-
interface IContactPerson {
|
|
995
|
-
uuid: string;
|
|
996
|
-
representation: string;
|
|
997
|
-
legalEntity?: Partial<IPartner>;
|
|
998
|
-
firstName?: string;
|
|
999
|
-
lastName?: string;
|
|
1000
|
-
personalIdentificationNumber?: string;
|
|
1001
|
-
email?: string;
|
|
1002
|
-
director?: boolean;
|
|
1003
|
-
responsiblePerson?: boolean;
|
|
1004
|
-
eInvoiceReceiver?: boolean;
|
|
1005
|
-
organization?: IOrganization;
|
|
1006
|
-
verificationTime?: string;
|
|
1007
|
-
verificationSendTime?: string;
|
|
1008
|
-
primary?: boolean;
|
|
1009
|
-
position?: string;
|
|
1010
|
-
phoneNumber?: string;
|
|
1011
|
-
factoringRepresentative?: boolean;
|
|
1012
|
-
}
|
|
1013
|
-
interface IPartnerGroup {
|
|
1014
|
-
uuid: string;
|
|
1015
|
-
name: string;
|
|
1096
|
+
fieldType?: IndexDataFieldType;
|
|
1097
|
+
fieldTypeObj?: ISelectData;
|
|
1098
|
+
codebook?: Partial<IIndexDataCodebook>;
|
|
1099
|
+
codebookObj?: ISelectData;
|
|
1100
|
+
documentType?: IDocumentType;
|
|
1101
|
+
deletionTime?: string;
|
|
1102
|
+
required?: boolean;
|
|
1103
|
+
readonly?: boolean;
|
|
1016
1104
|
organization?: IOrganization;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
interface IOrganization {
|
|
1022
|
-
uuid: string;
|
|
1023
|
-
name?: string;
|
|
1024
|
-
firstName?: string;
|
|
1025
|
-
lastName?: string;
|
|
1026
|
-
taxId?: string;
|
|
1027
|
-
registrationNumber?: string;
|
|
1028
|
-
jbkjs?: string;
|
|
1029
|
-
locale?: string;
|
|
1030
|
-
country?: ICountry;
|
|
1031
|
-
town?: string;
|
|
1032
|
-
municipality?: IMunicipality;
|
|
1033
|
-
place?: IPlace;
|
|
1034
|
-
address?: string;
|
|
1035
|
-
houseNumber?: string;
|
|
1036
|
-
postalCode?: string;
|
|
1037
|
-
businessActivity?: IBusinessActivity;
|
|
1038
|
-
email?: string;
|
|
1039
|
-
website?: string;
|
|
1040
|
-
phoneNumber?: string;
|
|
1041
|
-
contactPerson?: IContactPerson;
|
|
1042
|
-
physicalPerson?: boolean;
|
|
1043
|
-
personalIdentificationNumber?: string;
|
|
1044
|
-
personalIdentityNumber?: string;
|
|
1045
|
-
inboxUrl?: string;
|
|
1046
|
-
status?: OrganizationStatus;
|
|
1047
|
-
serviceRequest?: serviceDoc;
|
|
1048
|
-
serviceAgreement?: serviceDoc;
|
|
1049
|
-
allowNewsletter?: boolean;
|
|
1050
|
-
legalRepresentative?: IUser;
|
|
1051
|
-
internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
|
|
1052
|
-
logo?: serviceDoc;
|
|
1053
|
-
latestPricingPackage?: ILatestPricingPackage;
|
|
1054
|
-
pricingPackage?: IPricingPackage;
|
|
1055
|
-
activeEDeliveryContract?: boolean;
|
|
1056
|
-
eDeliveryReseller?: boolean;
|
|
1057
|
-
factoringCompany?: boolean;
|
|
1058
|
-
regularFactoringAllowed?: boolean;
|
|
1059
|
-
reverseFactoringAllowed?: boolean;
|
|
1060
|
-
type?: 'BASIC';
|
|
1061
|
-
reseller?: 'MTS' | 'PPL';
|
|
1062
|
-
}
|
|
1063
|
-
interface serviceDoc {
|
|
1064
|
-
uuid: string;
|
|
1065
|
-
originalFileName: string;
|
|
1066
|
-
downloadUrl: string;
|
|
1067
|
-
lengthInBytes: number;
|
|
1068
|
-
uploadedAt: string;
|
|
1069
|
-
fileUuid: string;
|
|
1070
|
-
md5: string;
|
|
1071
|
-
storage: {
|
|
1072
|
-
url: string;
|
|
1073
|
-
};
|
|
1074
|
-
}
|
|
1075
|
-
interface IOrganizationSearch {
|
|
1076
|
-
status?: string;
|
|
1077
|
-
}
|
|
1078
|
-
type IOrganizationFetchOption = 'LATEST_PRICING_PACKAGE';
|
|
1079
|
-
declare const OrganizationStatuses: readonly ["PENDING_CUSTOMER", "PENDING_SUPPORT", "APPROVED", "DECLINED"];
|
|
1080
|
-
type OrganizationStatus = (typeof OrganizationStatuses)[number];
|
|
1081
|
-
interface ILatestPricingPackage {
|
|
1082
|
-
uuid: string;
|
|
1083
|
-
pricingPackage: IPricingPackage;
|
|
1084
|
-
contract: IResellerContract;
|
|
1085
|
-
createdAt: string;
|
|
1086
|
-
}
|
|
1087
|
-
interface IPricingPackage {
|
|
1088
|
-
uuid: string;
|
|
1089
|
-
name?: string;
|
|
1105
|
+
minLength?: number;
|
|
1106
|
+
maxLength?: number;
|
|
1107
|
+
indexOrder?: number;
|
|
1090
1108
|
code?: string;
|
|
1091
|
-
price?: number;
|
|
1092
|
-
}
|
|
1093
|
-
interface IResellerContract {
|
|
1094
|
-
uuid: string;
|
|
1095
|
-
contractNumber: string;
|
|
1096
|
-
date: string;
|
|
1097
|
-
durationInMonths: number;
|
|
1098
|
-
reseller?: {
|
|
1099
|
-
uuid: string;
|
|
1100
|
-
};
|
|
1101
|
-
contractor?: {
|
|
1102
|
-
uuid: string;
|
|
1103
|
-
};
|
|
1104
|
-
signatory?: IUser;
|
|
1105
|
-
activationDate?: string;
|
|
1106
|
-
expirationDate?: string;
|
|
1107
|
-
pricingPackage?: IPricingPackage;
|
|
1108
|
-
service?: 'DELIVERY' | 'EINVOICE';
|
|
1109
|
-
status?: 'CREATED' | 'SIGN_INITIATED' | 'ACTIVE' | 'CANCELED';
|
|
1110
|
-
pdfDownloadUrl?: string;
|
|
1111
|
-
freeTrail?: boolean;
|
|
1112
|
-
}
|
|
1113
|
-
interface IOrganizationalUnit {
|
|
1114
|
-
uuid: string;
|
|
1115
|
-
name: string;
|
|
1116
|
-
code: string;
|
|
1117
|
-
type: IOrganizationalUnitType;
|
|
1118
|
-
parent?: string;
|
|
1119
|
-
primaryForInvoiceReceive?: boolean;
|
|
1120
1109
|
}
|
|
1121
|
-
interface
|
|
1110
|
+
interface IIndex {
|
|
1122
1111
|
uuid?: string;
|
|
1112
|
+
value?: string;
|
|
1123
1113
|
name?: string;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1114
|
+
position?: IIndexDataPosition;
|
|
1115
|
+
indexData?: IIndexData;
|
|
1116
|
+
indexOrder?: string;
|
|
1117
|
+
defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
|
|
1118
|
+
}
|
|
1119
|
+
declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
|
|
1120
|
+
type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
|
|
1121
|
+
declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
|
|
1122
|
+
type IIndexDataPosition = (typeof IndexDataPositions)[number];
|
|
1123
|
+
interface IIndicesIndex {
|
|
1124
|
+
uuid?: string;
|
|
1125
|
+
indexDataPosition?: IIndex;
|
|
1126
|
+
value?: string;
|
|
1127
|
+
codebookItem?: {
|
|
1131
1128
|
uuid: string;
|
|
1132
1129
|
};
|
|
1133
|
-
primaryForInvoiceReceive?: boolean;
|
|
1134
|
-
}
|
|
1135
|
-
interface IOrganizationalUnitType {
|
|
1136
|
-
uuid: string;
|
|
1137
|
-
name: string;
|
|
1138
|
-
internalCode: 'SECTOR';
|
|
1139
1130
|
}
|
|
1140
1131
|
|
|
1141
1132
|
interface IApproval {
|
|
@@ -1274,7 +1265,7 @@ interface IConditionIndexData {
|
|
|
1274
1265
|
}
|
|
1275
1266
|
|
|
1276
1267
|
type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT';
|
|
1277
|
-
type IServiceApi = 'idm' | 'codebook';
|
|
1268
|
+
type IServiceApi = 'idm' | 'codebook' | 'auditLog';
|
|
1278
1269
|
type IEnvVar = {
|
|
1279
1270
|
[env in IEnv]: {
|
|
1280
1271
|
authApiUrl: string;
|
|
@@ -1615,4 +1606,4 @@ interface Props {
|
|
|
1615
1606
|
}
|
|
1616
1607
|
declare const IndexDataSearch: FC<Props>;
|
|
1617
1608
|
|
|
1618
|
-
export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch,
|
|
1609
|
+
export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, 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, IFileSignatory, IFileType, IFileUpload, IInvoice, IInvoiceItem, ILatestApprovalProcess, IModule, IModuleId, IMunicipality, INote, INoteSearch, IOrganization, IOrganizationFetchOption, IOrganizationSearch, IOrganizationSettings, IPartner, IPartnerGroup, IPartnerType, IPartnersSearch, IPhaseGroup, IPhaseGroupSearch, IPlace, IPrivileges, IRole, IRolePrivilege, IRoute, IServiceApi, ISidebarItem, ISignatureType, IToken, IUploadDocumentType, IUser, IUserSettings, IVoteSearch, IndexDataSearch, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PDFSignBox, PartnerGroupType, RolePrivilegeGroup, Router, SelectOrgPage, Sidebar, SignatureLocation, UserFetchOption, UserOrgContext, UserOrgProvider, decodeToken, envVars, getUser, login, logout, modules };
|