@inceptionbg/main 2.0.126 → 2.0.129
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 +5 -39
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/global.d.ts +657 -657
- package/package.json +47 -47
package/dist/index.d.ts
CHANGED
|
@@ -1285,43 +1285,7 @@ type IEnvVar = {
|
|
|
1285
1285
|
};
|
|
1286
1286
|
};
|
|
1287
1287
|
|
|
1288
|
-
|
|
1289
|
-
sefApiKey?: string;
|
|
1290
|
-
sefApiKeySet?: boolean;
|
|
1291
|
-
incomeInvoices?: boolean;
|
|
1292
|
-
outcomeInvoices?: boolean;
|
|
1293
|
-
dms?: boolean;
|
|
1294
|
-
contracts?: boolean;
|
|
1295
|
-
approvals?: boolean;
|
|
1296
|
-
scan?: boolean;
|
|
1297
|
-
showCostExpenseAllocationIncomeInvoices?: boolean;
|
|
1298
|
-
showInvoiceTaxAllocationIncomeInvoices?: boolean;
|
|
1299
|
-
showCostExpenseAllocationOutcomeInvoices?: boolean;
|
|
1300
|
-
showInvoiceTaxAllocationOutcomeInvoices?: boolean;
|
|
1301
|
-
showPaymentsOutcomeInvoices?: boolean;
|
|
1302
|
-
showPaymentsIncomeInvoices?: boolean;
|
|
1303
|
-
showInvoiceAccountOutcomeInvoices?: boolean;
|
|
1304
|
-
showInvoiceAccountIncomeInvoices?: boolean;
|
|
1305
|
-
paymentOrder?: boolean;
|
|
1306
|
-
eDelivery?: boolean;
|
|
1307
|
-
signatureAugmentation?: boolean;
|
|
1308
|
-
selfManagedWidgets?: boolean;
|
|
1309
|
-
contractOrunRequired?: boolean;
|
|
1310
|
-
workHourStart?: string;
|
|
1311
|
-
workHourEnd?: string;
|
|
1312
|
-
costCenterAdditionalCodebook?: {
|
|
1313
|
-
uuid: string;
|
|
1314
|
-
name: string;
|
|
1315
|
-
code?: string;
|
|
1316
|
-
description?: string;
|
|
1317
|
-
active?: boolean;
|
|
1318
|
-
};
|
|
1319
|
-
remoteSigning?: boolean;
|
|
1320
|
-
preservationEnabled?: boolean;
|
|
1321
|
-
sealSignatureValidation?: boolean;
|
|
1322
|
-
vatEvidence?: boolean;
|
|
1323
|
-
availableForms?: boolean;
|
|
1324
|
-
}
|
|
1288
|
+
type IOrganizationSettings = Record<string, any>;
|
|
1325
1289
|
|
|
1326
1290
|
interface IRoute {
|
|
1327
1291
|
path?: string;
|
|
@@ -1399,14 +1363,16 @@ declare const ErrorContext: react.Context<IErrorContext>;
|
|
|
1399
1363
|
|
|
1400
1364
|
interface IUserOrgContext {
|
|
1401
1365
|
user: IUser | null;
|
|
1402
|
-
userSettings: IUserSettings;
|
|
1403
|
-
privileges: IBooleanObject;
|
|
1404
1366
|
reloadUser: (callback?: () => void) => void;
|
|
1367
|
+
userSettings: IUserSettings;
|
|
1405
1368
|
updateUserSettings: (data: IUserSettings, showToast?: boolean) => void;
|
|
1369
|
+
privileges: IBooleanObject;
|
|
1406
1370
|
organization: IOrganization | null;
|
|
1407
1371
|
changeOrganization: (orgUuid: string, callback?: () => void) => void;
|
|
1408
1372
|
orgSettings: IOrganizationSettings;
|
|
1409
1373
|
updateOrgSettings: (data: IOrganizationSettings) => void;
|
|
1374
|
+
userSettingsByOrg: IAnyObject;
|
|
1375
|
+
updateUserSettingsByOrg: (data: IOrganizationSettings) => void;
|
|
1410
1376
|
moduleIds: IModuleIdsObj;
|
|
1411
1377
|
}
|
|
1412
1378
|
declare const UserOrgContext: react.Context<IUserOrgContext>;
|