@inceptionbg/main 2.0.248 → 2.0.250
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 +12 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/global.d.ts +706 -702
- package/package.json +48 -49
package/dist/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ interface IScanData {
|
|
|
33
33
|
duplex?: boolean;
|
|
34
34
|
}
|
|
35
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", "VEOSP", "ERP_FIXED_ASSETS", "DISPATCH_ADVICE"];
|
|
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", "VEOSP", "ERP_FIXED_ASSETS", "DISPATCH_ADVICE", "TELEGRAM_MNGMNT"];
|
|
37
37
|
declare const modules: IModule;
|
|
38
38
|
|
|
39
39
|
type IModuleId = (typeof ModuleIds)[number];
|
|
@@ -1274,12 +1274,16 @@ interface IConditionIndexData {
|
|
|
1274
1274
|
value?: string;
|
|
1275
1275
|
}
|
|
1276
1276
|
|
|
1277
|
-
type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG' | 'PROD_PPLCG';
|
|
1278
|
-
type
|
|
1277
|
+
type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT' | 'TEST_PPLCG' | 'PROD_PPLCG' | 'TEST_MSP';
|
|
1278
|
+
type IRequiredServiceApi = 'auth' | 'idm' | 'registration';
|
|
1279
|
+
type IOptionalServiceApi = 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'delivery' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article' | 'approval' | 'messenger' | 'veosp' | 'fixedAssets' | 'dispatchAdvice';
|
|
1280
|
+
type IServiceApi = IRequiredServiceApi | IOptionalServiceApi;
|
|
1279
1281
|
type IEnvVar = {
|
|
1280
1282
|
[env in IEnv]: {
|
|
1281
1283
|
serviceApiUrl: {
|
|
1282
|
-
[service in
|
|
1284
|
+
[service in IRequiredServiceApi]: string;
|
|
1285
|
+
} & {
|
|
1286
|
+
[service in IOptionalServiceApi]?: string;
|
|
1283
1287
|
};
|
|
1284
1288
|
modules: {
|
|
1285
1289
|
[id in IModuleId]?: string;
|
|
@@ -1356,7 +1360,7 @@ declare const logout: (options?: {
|
|
|
1356
1360
|
}) => void;
|
|
1357
1361
|
declare const getUser: () => Promise<IUser>;
|
|
1358
1362
|
|
|
1359
|
-
declare const decodeToken: (token?: string | null) =>
|
|
1363
|
+
declare const decodeToken: (token?: string | null) => any;
|
|
1360
1364
|
|
|
1361
1365
|
interface IProps$1 {
|
|
1362
1366
|
children: ReactNode;
|
|
@@ -2277,6 +2281,7 @@ declare const ArticlePage: FC;
|
|
|
2277
2281
|
|
|
2278
2282
|
declare const ArticlesPage: FC;
|
|
2279
2283
|
|
|
2280
|
-
declare const buildIndexFilterItem: (index: Partial<IIndexData>, search: any, setSearch: (s: any) => void, t: (k: string) => string, type:
|
|
2284
|
+
declare const buildIndexFilterItem: (index: Partial<IIndexData>, search: any, setSearch: (s: any) => void, t: (k: string) => string, type: "document" | "case" | "contract") => ITableFilterItem;
|
|
2281
2285
|
|
|
2282
|
-
export { AppWrapper,
|
|
2286
|
+
export { AppWrapper, ArticlePage, ArticlesPage, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentStatuses, ErrorContext, FiscalYearLockManager, Header, IndexDataSearch, LastArticlesWidget, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatuses, ReactQueryProvider, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserOrgContext, UserOrgProvider, buildIndexFilterItem, clearToken, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useFiscalYearStatus, useModules, useUserAndOrg };
|
|
2287
|
+
export type { ApprovalStatus, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, 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, OrganizationStatus, PartnerGroupType, RolePrivilegeGroup, UserFetchOption };
|