@inceptionbg/main 2.0.59 → 2.0.62

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/axios.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- type IServiceApi = 'idm' | 'codebook' | 'auditLog' | 'notifications';
1
+ type IServiceApi = 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData';
2
2
 
3
3
  // TypeScript Version: 4.7
4
4
  type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null;
package/dist/index.d.ts CHANGED
@@ -69,6 +69,7 @@ interface IUser {
69
69
  umcn?: string;
70
70
  roles: IRole[];
71
71
  active?: boolean;
72
+ organizationalUnits?: IOrganizationalUnit[];
72
73
  }
73
74
  type UserFetchOption = 'PERSONAL_IDENTITY_NUMBER' | 'PLACE' | 'MUNICIPALITY' | 'ORGANIZATIONAL_UNITS' | 'PRIMARY_ORUN';
74
75
  interface IUserSettings {
@@ -285,8 +286,10 @@ interface IOrganizationalUnit {
285
286
  uuid: string;
286
287
  name: string;
287
288
  code: string;
288
- type: IOrganizationalUnitType;
289
- parent?: string;
289
+ type: ISimpleObject;
290
+ parent?: IOrganizationalUnit;
291
+ jbkjs?: string;
292
+ active?: boolean;
290
293
  primaryForInvoiceReceive?: boolean;
291
294
  }
292
295
  interface IOrganizationalUnitUpdate {
@@ -1259,7 +1262,7 @@ interface IConditionIndexData {
1259
1262
  }
1260
1263
 
1261
1264
  type IEnv = 'DEV' | 'TEST' | 'PROD' | 'LOCAL' | 'UAT';
1262
- type IServiceApi = 'idm' | 'codebook' | 'auditLog' | 'notifications';
1265
+ type IServiceApi = 'idm' | 'codebook' | 'auditLog' | 'notifications' | 'indexData';
1263
1266
  type IEnvVar = {
1264
1267
  [env in IEnv]: {
1265
1268
  authApiUrl: string;