@inceptionbg/main 2.0.247 → 2.0.249

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 CHANGED
@@ -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 IServiceApi = 'auth' | 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData' | 'registration' | 'reportTemplates' | 'procurement' | 'archive' | 'invoice' | 'delivery' | 'edms' | 'rif' | 'cashRegister' | 'jisuszProxy' | 'fosterCare' | 'article' | 'approval' | 'messenger' | 'veosp' | 'fixedAssets' | 'dispatchAdvice';
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 IServiceApi]: string;
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) => IToken | undefined;
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: 'document' | 'case' | 'contract') => ITableFilterItem;
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, ApprovalStatus, ArticlePage, ArticlesPage, AxiosTokenHandler, BusinessYearChooser, BusinessYearPage, BusinessYearProvider, Constraints, DeleteItemDialog, DeleteItemsDialog, DocumentApprovalFetchOption, DocumentFetchOption, DocumentFileFetchOptions, DocumentIndicies, DocumentSendFetchOption, DocumentStatuses, ErrorContext, FiscalYearLockManager, 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, 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, IndexDataSearch, LastArticlesWidget, LoginPage, MainPageWrapper, ModuleIds, NoAccessInfo, NoMatchPage, OrganizationStatus, OrganizationStatuses, PartnerGroupType, ReactQueryProvider, RolePrivilegeGroup, RolesWithPrivileges, Router, SelectOrgPage, Sidebar, SubSystems, UserFetchOption, UserOrgContext, UserOrgProvider, buildIndexFilterItem, clearToken, decodeToken, envVars, getUser, i18nMainCyrilic, i18nMainLatin, i18nMainME_Latin, login, logout, modules, setBusinessYearContext, useBusinessYearContext, useFiscalYearStatus, useModules, useUserAndOrg };
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 };