@inceptionbg/main 2.0.48 → 2.0.50
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 +291 -306
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
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,261 @@ interface IUserSettings {
|
|
|
93
93
|
}
|
|
94
94
|
type IGuideType = 'invoice';
|
|
95
95
|
|
|
96
|
+
type IPartnerType = 'LEGAL_PERSON' | 'NATURAL_PERSON' | 'INO_PARTNER';
|
|
97
|
+
type ILegalForm = 'LLC | ENTREPRENEUR | FOUNDATION | SPORT_ASSOCIATION | CHAMBER_OF_COMMERCE | CULTURE_INSTITUTION';
|
|
98
|
+
type PartnerGroupType = 'BANK';
|
|
99
|
+
interface IPartner {
|
|
100
|
+
uuid: string;
|
|
101
|
+
type: IPartnerType;
|
|
102
|
+
organization?: IOrganization;
|
|
103
|
+
firstName?: string;
|
|
104
|
+
lastName?: string;
|
|
105
|
+
umcn?: string;
|
|
106
|
+
name?: string;
|
|
107
|
+
taxId?: string;
|
|
108
|
+
businessCode?: string;
|
|
109
|
+
jbkjs?: string;
|
|
110
|
+
businessActivity?: ISimpleObjectWithCode;
|
|
111
|
+
country?: ISimpleObjectWithCode;
|
|
112
|
+
town?: string;
|
|
113
|
+
postalCode?: string;
|
|
114
|
+
street?: string;
|
|
115
|
+
houseNumber?: string;
|
|
116
|
+
email?: string;
|
|
117
|
+
website?: string;
|
|
118
|
+
phoneNumber?: string;
|
|
119
|
+
groups?: IPartnerGroup[];
|
|
120
|
+
contactPersons?: IContactPerson[];
|
|
121
|
+
inboxUrl?: string;
|
|
122
|
+
legalForm?: ILegalForm;
|
|
123
|
+
sefSend?: boolean;
|
|
124
|
+
internalSend?: boolean;
|
|
125
|
+
omitJbkjsForSef?: boolean;
|
|
126
|
+
updateMissingData?: boolean;
|
|
127
|
+
checkAuthorizedPersonsOnApr?: boolean;
|
|
128
|
+
}
|
|
129
|
+
interface IPartnersSearch {
|
|
130
|
+
name?: string;
|
|
131
|
+
taxId?: string;
|
|
132
|
+
businessCode?: string;
|
|
133
|
+
nameLike?: string;
|
|
134
|
+
fullText?: string;
|
|
135
|
+
sort?: string;
|
|
136
|
+
physicalPerson?: boolean;
|
|
137
|
+
foreignLegalEntity?: boolean;
|
|
138
|
+
includeCurrentOrganization?: boolean;
|
|
139
|
+
}
|
|
140
|
+
interface IBankAccount {
|
|
141
|
+
uuid: string;
|
|
142
|
+
accountNumber: string;
|
|
143
|
+
bank?: IPartner;
|
|
144
|
+
currency?: ISimpleObjectWithCode;
|
|
145
|
+
paymentInstructionsIntermediaryBank?: string;
|
|
146
|
+
iban?: string;
|
|
147
|
+
active?: boolean;
|
|
148
|
+
main?: boolean;
|
|
149
|
+
invoicePrint?: boolean;
|
|
150
|
+
owner?: IPartner;
|
|
151
|
+
}
|
|
152
|
+
interface IBankAccountSearch {
|
|
153
|
+
accountNumberLike?: string;
|
|
154
|
+
main?: boolean;
|
|
155
|
+
}
|
|
156
|
+
interface INote {
|
|
157
|
+
uuid: string;
|
|
158
|
+
subject: string;
|
|
159
|
+
note: string;
|
|
160
|
+
date?: string;
|
|
161
|
+
createdBy?: IUser;
|
|
162
|
+
}
|
|
163
|
+
interface INoteSearch {
|
|
164
|
+
note?: string;
|
|
165
|
+
}
|
|
166
|
+
interface IContactPerson {
|
|
167
|
+
uuid: string;
|
|
168
|
+
representation: string;
|
|
169
|
+
legalEntity?: Partial<IPartner>;
|
|
170
|
+
firstName?: string;
|
|
171
|
+
lastName?: string;
|
|
172
|
+
personalIdentificationNumber?: string;
|
|
173
|
+
email?: string;
|
|
174
|
+
director?: boolean;
|
|
175
|
+
responsiblePerson?: boolean;
|
|
176
|
+
eInvoiceReceiver?: boolean;
|
|
177
|
+
organization?: IOrganization;
|
|
178
|
+
verificationTime?: string;
|
|
179
|
+
verificationSendTime?: string;
|
|
180
|
+
primary?: boolean;
|
|
181
|
+
position?: string;
|
|
182
|
+
phoneNumber?: string;
|
|
183
|
+
factoringRepresentative?: boolean;
|
|
184
|
+
}
|
|
185
|
+
interface IPartnerGroup {
|
|
186
|
+
uuid: string;
|
|
187
|
+
name: string;
|
|
188
|
+
organization?: IOrganization;
|
|
189
|
+
groupType: PartnerGroupType;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
interface IOrganization {
|
|
193
|
+
uuid: string;
|
|
194
|
+
name?: string;
|
|
195
|
+
firstName?: string;
|
|
196
|
+
lastName?: string;
|
|
197
|
+
taxId?: string;
|
|
198
|
+
businessCode?: string;
|
|
199
|
+
jbkjs?: string;
|
|
200
|
+
locale?: string;
|
|
201
|
+
country?: ICountry;
|
|
202
|
+
town?: string;
|
|
203
|
+
municipality?: IMunicipality;
|
|
204
|
+
place?: IPlace;
|
|
205
|
+
address?: string;
|
|
206
|
+
houseNumber?: string;
|
|
207
|
+
postalCode?: string;
|
|
208
|
+
businessActivity?: ISimpleObjectWithCode;
|
|
209
|
+
email?: string;
|
|
210
|
+
website?: string;
|
|
211
|
+
phoneNumber?: string;
|
|
212
|
+
contactPerson?: IContactPerson;
|
|
213
|
+
physicalPerson?: boolean;
|
|
214
|
+
personalIdentificationNumber?: string;
|
|
215
|
+
personalIdentityNumber?: string;
|
|
216
|
+
inboxUrl?: string;
|
|
217
|
+
status?: OrganizationStatus;
|
|
218
|
+
serviceRequest?: serviceDoc;
|
|
219
|
+
serviceAgreement?: serviceDoc;
|
|
220
|
+
allowNewsletter?: boolean;
|
|
221
|
+
legalRepresentative?: IUser;
|
|
222
|
+
internalCode?: 'PIO' | 'JP_POSTA' | 'DUNAV_AD' | 'DDOR';
|
|
223
|
+
logo?: serviceDoc;
|
|
224
|
+
latestPricingPackage?: ILatestPricingPackage;
|
|
225
|
+
pricingPackage?: IPricingPackage;
|
|
226
|
+
activeEDeliveryContract?: boolean;
|
|
227
|
+
eDeliveryReseller?: boolean;
|
|
228
|
+
factoringCompany?: boolean;
|
|
229
|
+
regularFactoringAllowed?: boolean;
|
|
230
|
+
reverseFactoringAllowed?: boolean;
|
|
231
|
+
type?: 'BASIC';
|
|
232
|
+
reseller?: 'MTS' | 'PPL';
|
|
233
|
+
}
|
|
234
|
+
interface serviceDoc {
|
|
235
|
+
uuid: string;
|
|
236
|
+
originalFileName: string;
|
|
237
|
+
downloadUrl: string;
|
|
238
|
+
lengthInBytes: number;
|
|
239
|
+
uploadedAt: string;
|
|
240
|
+
fileUuid: string;
|
|
241
|
+
md5: string;
|
|
242
|
+
storage: {
|
|
243
|
+
url: string;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
interface IOrganizationSearch {
|
|
247
|
+
status?: string;
|
|
248
|
+
}
|
|
249
|
+
type IOrganizationFetchOption = 'LATEST_PRICING_PACKAGE';
|
|
250
|
+
declare const OrganizationStatuses: readonly ["PENDING_CUSTOMER", "PENDING_SUPPORT", "APPROVED", "DECLINED"];
|
|
251
|
+
type OrganizationStatus = (typeof OrganizationStatuses)[number];
|
|
252
|
+
interface ILatestPricingPackage {
|
|
253
|
+
uuid: string;
|
|
254
|
+
pricingPackage: IPricingPackage;
|
|
255
|
+
contract: IResellerContract;
|
|
256
|
+
createdAt: string;
|
|
257
|
+
}
|
|
258
|
+
interface IPricingPackage {
|
|
259
|
+
uuid: string;
|
|
260
|
+
name?: string;
|
|
261
|
+
code?: string;
|
|
262
|
+
price?: number;
|
|
263
|
+
}
|
|
264
|
+
interface IResellerContract {
|
|
265
|
+
uuid: string;
|
|
266
|
+
contractNumber: string;
|
|
267
|
+
date: string;
|
|
268
|
+
durationInMonths: number;
|
|
269
|
+
reseller?: {
|
|
270
|
+
uuid: string;
|
|
271
|
+
};
|
|
272
|
+
contractor?: {
|
|
273
|
+
uuid: string;
|
|
274
|
+
};
|
|
275
|
+
signatory?: IUser;
|
|
276
|
+
activationDate?: string;
|
|
277
|
+
expirationDate?: string;
|
|
278
|
+
pricingPackage?: IPricingPackage;
|
|
279
|
+
service?: 'DELIVERY' | 'EINVOICE';
|
|
280
|
+
status?: 'CREATED' | 'SIGN_INITIATED' | 'ACTIVE' | 'CANCELED';
|
|
281
|
+
pdfDownloadUrl?: string;
|
|
282
|
+
freeTrail?: boolean;
|
|
283
|
+
}
|
|
284
|
+
interface IOrganizationalUnit {
|
|
285
|
+
uuid: string;
|
|
286
|
+
name: string;
|
|
287
|
+
code: string;
|
|
288
|
+
type: IOrganizationalUnitType;
|
|
289
|
+
parent?: string;
|
|
290
|
+
primaryForInvoiceReceive?: boolean;
|
|
291
|
+
}
|
|
292
|
+
interface IOrganizationalUnitUpdate {
|
|
293
|
+
uuid?: string;
|
|
294
|
+
name?: string;
|
|
295
|
+
code?: string;
|
|
296
|
+
jbkjs?: string;
|
|
297
|
+
type?: IOrganizationalUnitType;
|
|
298
|
+
organization?: {
|
|
299
|
+
uuid: string;
|
|
300
|
+
};
|
|
301
|
+
parent?: {
|
|
302
|
+
uuid: string;
|
|
303
|
+
};
|
|
304
|
+
primaryForInvoiceReceive?: boolean;
|
|
305
|
+
}
|
|
306
|
+
interface IOrganizationalUnitType {
|
|
307
|
+
uuid: string;
|
|
308
|
+
name: string;
|
|
309
|
+
internalCode: 'SECTOR';
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
interface IJob {
|
|
313
|
+
uuid?: string;
|
|
314
|
+
name?: string;
|
|
315
|
+
code?: string;
|
|
316
|
+
organization?: IOrganization;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
interface IEmployee {
|
|
320
|
+
uuid: string;
|
|
321
|
+
firstName?: string;
|
|
322
|
+
lastName?: string;
|
|
323
|
+
personalIdentityNumber?: string;
|
|
324
|
+
evidenceNumber?: string;
|
|
325
|
+
email?: string;
|
|
326
|
+
user?: IUser;
|
|
327
|
+
emailNotifications?: boolean;
|
|
328
|
+
deleted?: boolean;
|
|
329
|
+
job?: IJob;
|
|
330
|
+
orun?: IOrganizationalUnit;
|
|
331
|
+
representation?: string;
|
|
332
|
+
costCenter?: ISimpleObjectWithCode;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
interface IIndexDataCodebook {
|
|
336
|
+
uuid: string;
|
|
337
|
+
name: string;
|
|
338
|
+
description: string;
|
|
339
|
+
active?: boolean;
|
|
340
|
+
organization?: {
|
|
341
|
+
uuid: string;
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
interface IIndexDataCodebookItem {
|
|
345
|
+
code: string;
|
|
346
|
+
name: string;
|
|
347
|
+
uuid: string;
|
|
348
|
+
active: boolean;
|
|
349
|
+
}
|
|
350
|
+
|
|
96
351
|
interface IFileSignatory {
|
|
97
352
|
uuid?: string;
|
|
98
353
|
firstName?: string;
|
|
@@ -169,90 +424,12 @@ interface IFileUpload {
|
|
|
169
424
|
lengthInBytes: number;
|
|
170
425
|
uuid: string;
|
|
171
426
|
originalFileName: string;
|
|
172
|
-
}
|
|
173
|
-
interface IFileType {
|
|
174
|
-
uuid?: string;
|
|
175
|
-
name?: string;
|
|
176
|
-
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 {
|
|
427
|
+
}
|
|
428
|
+
interface IFileType {
|
|
236
429
|
uuid?: string;
|
|
237
430
|
name?: string;
|
|
238
|
-
code?: string;
|
|
239
431
|
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;
|
|
432
|
+
requireSignature?: boolean;
|
|
256
433
|
}
|
|
257
434
|
|
|
258
435
|
interface IShipment extends IDocument {
|
|
@@ -423,7 +600,7 @@ interface IContractNew {
|
|
|
423
600
|
amountWithoutVat?: number;
|
|
424
601
|
warningAmountWithVat?: number;
|
|
425
602
|
warningAmountWithoutVat?: number;
|
|
426
|
-
currency?:
|
|
603
|
+
currency?: ISimpleObjectWithCode;
|
|
427
604
|
exchangeRate?: number;
|
|
428
605
|
warningDate?: string;
|
|
429
606
|
deactivationDate?: string;
|
|
@@ -627,7 +804,7 @@ interface IInvoice extends IDocument {
|
|
|
627
804
|
sefStatusChangeTime?: string;
|
|
628
805
|
usedInFactoring?: boolean;
|
|
629
806
|
numberNonSTaxCategories?: number;
|
|
630
|
-
currency?:
|
|
807
|
+
currency?: ISimpleObjectWithCode;
|
|
631
808
|
exchangeRate?: string;
|
|
632
809
|
costCenterExpenseAllocations?: IExpenseAllocation[];
|
|
633
810
|
taxAllocations?: ITaxAllocation[];
|
|
@@ -907,235 +1084,43 @@ interface DocumentIndicies {
|
|
|
907
1084
|
[id: string]: IDocumentIndex;
|
|
908
1085
|
}
|
|
909
1086
|
|
|
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 {
|
|
1087
|
+
interface IIndexData {
|
|
1088
|
+
uuid?: string;
|
|
949
1089
|
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;
|
|
1090
|
+
fieldType?: IndexDataFieldType;
|
|
1091
|
+
fieldTypeObj?: ISelectData;
|
|
1092
|
+
codebook?: Partial<IIndexDataCodebook>;
|
|
1093
|
+
codebookObj?: ISelectData;
|
|
1094
|
+
documentType?: IDocumentType;
|
|
1095
|
+
deletionTime?: string;
|
|
1096
|
+
required?: boolean;
|
|
1097
|
+
readonly?: boolean;
|
|
1016
1098
|
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;
|
|
1099
|
+
minLength?: number;
|
|
1100
|
+
maxLength?: number;
|
|
1101
|
+
indexOrder?: number;
|
|
1090
1102
|
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
1103
|
}
|
|
1121
|
-
interface
|
|
1104
|
+
interface IIndex {
|
|
1122
1105
|
uuid?: string;
|
|
1106
|
+
value?: string;
|
|
1123
1107
|
name?: string;
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1108
|
+
position?: IIndexDataPosition;
|
|
1109
|
+
indexData?: IIndexData;
|
|
1110
|
+
indexOrder?: string;
|
|
1111
|
+
defaultCodebookItem?: Partial<IIndexDataCodebookItem>;
|
|
1112
|
+
}
|
|
1113
|
+
declare const IndexDataFieldTypes: readonly ["TEXT", "DATE", "CODEBOOK", "NUMERIC", "DECIMAL", "LONG_TEXT"];
|
|
1114
|
+
type IndexDataFieldType = (typeof IndexDataFieldTypes)[number];
|
|
1115
|
+
declare const IndexDataPositions: readonly ["COST_CENTER", "CONTRACT", "CASE", "DOCUMENT", "LEGAL_ENTITY"];
|
|
1116
|
+
type IIndexDataPosition = (typeof IndexDataPositions)[number];
|
|
1117
|
+
interface IIndicesIndex {
|
|
1118
|
+
uuid?: string;
|
|
1119
|
+
indexDataPosition?: IIndex;
|
|
1120
|
+
value?: string;
|
|
1121
|
+
codebookItem?: {
|
|
1131
1122
|
uuid: string;
|
|
1132
1123
|
};
|
|
1133
|
-
primaryForInvoiceReceive?: boolean;
|
|
1134
|
-
}
|
|
1135
|
-
interface IOrganizationalUnitType {
|
|
1136
|
-
uuid: string;
|
|
1137
|
-
name: string;
|
|
1138
|
-
internalCode: 'SECTOR';
|
|
1139
1124
|
}
|
|
1140
1125
|
|
|
1141
1126
|
interface IApproval {
|
|
@@ -1615,4 +1600,4 @@ interface Props {
|
|
|
1615
1600
|
}
|
|
1616
1601
|
declare const IndexDataSearch: FC<Props>;
|
|
1617
1602
|
|
|
1618
|
-
export { ApprovalStatus, AxiosTokenHandler, Constraints, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentFileSignDialog, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FileSignAppPortal, FilesDropzone, Header, IApproval, IApprovalSearch, IApprovalStep, IApprovalStepSearch, IBankAccount, IBankAccountSearch,
|
|
1603
|
+
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 };
|