@fctc/interface-logic 1.7.2 → 1.7.4

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.
Files changed (40) hide show
  1. package/dist/{configs.d.cts → configs.d.mts} +1 -4
  2. package/dist/configs.d.ts +1 -4
  3. package/dist/configs.js +146 -124
  4. package/dist/{configs.cjs → configs.mjs} +111 -161
  5. package/dist/constants.js +41 -2
  6. package/dist/{constants.cjs → constants.mjs} +2 -40
  7. package/dist/environment.d.mts +37 -0
  8. package/dist/environment.d.ts +35 -54
  9. package/dist/environment.js +2850 -2906
  10. package/dist/{environment.cjs → environment.mjs} +2816 -2945
  11. package/dist/{hooks.d.cts → hooks.d.mts} +7 -2
  12. package/dist/hooks.d.ts +7 -2
  13. package/dist/hooks.js +4181 -4520
  14. package/dist/{hooks.cjs → hooks.mjs} +4081 -4625
  15. package/dist/{provider.d.cts → provider.d.mts} +1 -1
  16. package/dist/provider.d.ts +1 -1
  17. package/dist/provider.js +530 -854
  18. package/dist/{provider.cjs → provider.mjs} +496 -894
  19. package/dist/{services.d.cts → services.d.mts} +2 -1
  20. package/dist/services.d.ts +2 -1
  21. package/dist/services.js +3866 -4282
  22. package/dist/{services.cjs → services.mjs} +3826 -4328
  23. package/dist/{store.d.cts → store.d.mts} +323 -127
  24. package/dist/store.d.ts +323 -127
  25. package/dist/store.js +147 -45
  26. package/dist/{store.cjs → store.mjs} +46 -150
  27. package/dist/{types.d.cts → types.d.mts} +1 -1
  28. package/dist/types.d.ts +1 -1
  29. package/dist/types.js +18 -0
  30. package/dist/types.mjs +0 -0
  31. package/dist/{utils.d.cts → utils.d.mts} +2 -2
  32. package/dist/utils.d.ts +2 -2
  33. package/dist/utils.js +176 -135
  34. package/dist/{utils.cjs → utils.mjs} +115 -202
  35. package/dist/{view-type-BGJfDe73.d.ts → view-type-D8ukwj_2.d.mts} +1 -1
  36. package/dist/{view-type-BGJfDe73.d.cts → view-type-D8ukwj_2.d.ts} +1 -1
  37. package/package.json +81 -82
  38. package/dist/environment.d.cts +0 -56
  39. package/dist/types.cjs +0 -17
  40. /package/dist/{constants.d.cts → constants.d.mts} +0 -0
package/dist/store.d.ts CHANGED
@@ -75,9 +75,9 @@ declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
75
75
  setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
76
76
  setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
77
77
  }, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
78
- declare const setDb: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setDb">;
79
- declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setRedirectTo">;
80
- declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setForgotPasswordUrl">;
78
+ declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
79
+ declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
80
+ declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
81
81
  declare const selectLogin: (state: RootState) => LoginStateType;
82
82
 
83
83
  interface Breadcrumb {
@@ -94,7 +94,7 @@ interface BreadcrumbsState {
94
94
  declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
95
95
  setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
96
96
  }, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
97
- declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
97
+ declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
98
98
  declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
99
99
 
100
100
  interface ViewDataStore {
@@ -121,10 +121,10 @@ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
121
121
  setListSubject: (state: FormState, action: PayloadAction<any>) => void;
122
122
  setDataUser: (state: FormState, action: PayloadAction<any>) => void;
123
123
  }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
124
- declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"form/setViewDataStore">;
125
- declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowingModalDetail">;
126
- declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowModalTranslate">;
127
- declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
124
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
125
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
126
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
127
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
128
128
  key: string;
129
129
  component: any;
130
130
  }, "form/setFormSubmitComponent">;
@@ -164,19 +164,19 @@ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
164
164
  }>) => void;
165
165
  clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
166
166
  }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
167
- declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setGroupByDomain">;
167
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
168
168
  declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
169
- declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setSearchString">;
170
- declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "search/setHoveredIndexSearchList">;
169
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
170
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
171
171
  declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
172
172
  declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
173
173
  declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
174
- declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchMap">;
175
- declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
174
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
175
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
176
176
  key: string;
177
177
  value: any;
178
178
  }, "search/updateSearchMap">;
179
- declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
179
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
180
180
  key: string;
181
181
  item?: any;
182
182
  }, "search/removeKeyFromSearchMap">;
@@ -210,16 +210,16 @@ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
210
210
  setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
211
211
  setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
212
212
  }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
213
- declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPageLimit">;
214
- declare const setFields: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setFields">;
215
- declare const setOrder: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "list/setOrder">;
216
- declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number[], "list/setSelectedRowKeys">;
217
- declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setIndexRowTableModal">;
218
- declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "list/setIsUpdateTableModal">;
219
- declare const setPage: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPage">;
213
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
214
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
215
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
216
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
217
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
218
+ declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
219
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
220
220
  declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
221
221
  declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
222
- declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<any[], "list/setDomainTable">;
222
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
223
223
  declare const selectList: (state: RootState) => ListState;
224
224
 
225
225
  interface NavbarStateType {
@@ -255,27 +255,41 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
255
255
  declare const envStore: _reduxjs_toolkit.EnhancedStore<{
256
256
  env: {
257
257
  baseUrl: string;
258
- requests: any;
259
- companies: any[];
258
+ companies: never[];
260
259
  user: {};
261
- config: any;
262
- envFile: any;
260
+ db: string;
261
+ refreshTokenEndpoint: string;
262
+ config: {
263
+ grantType: string;
264
+ clientId: string;
265
+ clientSecret: string;
266
+ redirectUri: string;
267
+ };
268
+ envFile: null;
269
+ requests: {
270
+ get: (url: string, headers?: any) => Promise<any>;
271
+ post: (url: string, body: any, headers?: any) => Promise<any>;
272
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
273
+ put: (url: string, body: any, headers?: any) => Promise<any>;
274
+ patch: (url: string, body: any) => Promise<any>;
275
+ delete: (url: string, body: any) => Promise<any>;
276
+ };
263
277
  defaultCompany: {
264
- id: any;
278
+ id: null;
265
279
  logo: string;
266
280
  secondary_color: string;
267
281
  primary_color: string;
268
282
  };
269
283
  context: {
270
- uid: any;
271
- allowed_company_ids: any[];
284
+ uid: null;
285
+ allowed_company_ids: never[];
272
286
  lang: string;
273
287
  tz: string;
274
288
  };
275
289
  };
276
290
  header: {
277
291
  value: {
278
- allowedCompanyIds: any[];
292
+ allowedCompanyIds: never[];
279
293
  };
280
294
  };
281
295
  navbar: NavbarStateType;
@@ -290,27 +304,41 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
290
304
  dispatch: redux_thunk.ThunkDispatch<{
291
305
  env: {
292
306
  baseUrl: string;
293
- requests: any;
294
- companies: any[];
307
+ companies: never[];
295
308
  user: {};
296
- config: any;
297
- envFile: any;
309
+ db: string;
310
+ refreshTokenEndpoint: string;
311
+ config: {
312
+ grantType: string;
313
+ clientId: string;
314
+ clientSecret: string;
315
+ redirectUri: string;
316
+ };
317
+ envFile: null;
318
+ requests: {
319
+ get: (url: string, headers?: any) => Promise<any>;
320
+ post: (url: string, body: any, headers?: any) => Promise<any>;
321
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
322
+ put: (url: string, body: any, headers?: any) => Promise<any>;
323
+ patch: (url: string, body: any) => Promise<any>;
324
+ delete: (url: string, body: any) => Promise<any>;
325
+ };
298
326
  defaultCompany: {
299
- id: any;
327
+ id: null;
300
328
  logo: string;
301
329
  secondary_color: string;
302
330
  primary_color: string;
303
331
  };
304
332
  context: {
305
- uid: any;
306
- allowed_company_ids: any[];
333
+ uid: null;
334
+ allowed_company_ids: never[];
307
335
  lang: string;
308
336
  tz: string;
309
337
  };
310
338
  };
311
339
  header: {
312
340
  value: {
313
- allowedCompanyIds: any[];
341
+ allowedCompanyIds: never[];
314
342
  };
315
343
  };
316
344
  navbar: NavbarStateType;
@@ -326,40 +354,68 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
326
354
 
327
355
  declare const envSlice: _reduxjs_toolkit.Slice<{
328
356
  baseUrl: string;
329
- requests: any;
330
- companies: any[];
357
+ companies: never[];
331
358
  user: {};
332
- config: any;
333
- envFile: any;
359
+ db: string;
360
+ refreshTokenEndpoint: string;
361
+ config: {
362
+ grantType: string;
363
+ clientId: string;
364
+ clientSecret: string;
365
+ redirectUri: string;
366
+ };
367
+ envFile: null;
368
+ requests: {
369
+ get: (url: string, headers?: any) => Promise<any>;
370
+ post: (url: string, body: any, headers?: any) => Promise<any>;
371
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
372
+ put: (url: string, body: any, headers?: any) => Promise<any>;
373
+ patch: (url: string, body: any) => Promise<any>;
374
+ delete: (url: string, body: any) => Promise<any>;
375
+ };
334
376
  defaultCompany: {
335
- id: any;
377
+ id: null;
336
378
  logo: string;
337
379
  secondary_color: string;
338
380
  primary_color: string;
339
381
  };
340
382
  context: {
341
- uid: any;
342
- allowed_company_ids: any[];
383
+ uid: null;
384
+ allowed_company_ids: never[];
343
385
  lang: string;
344
386
  tz: string;
345
387
  };
346
388
  }, {
347
389
  setEnv: (state: immer.WritableDraft<{
348
390
  baseUrl: string;
349
- requests: any;
350
- companies: any[];
391
+ companies: never[];
351
392
  user: {};
352
- config: any;
353
- envFile: any;
393
+ db: string;
394
+ refreshTokenEndpoint: string;
395
+ config: {
396
+ grantType: string;
397
+ clientId: string;
398
+ clientSecret: string;
399
+ redirectUri: string;
400
+ };
401
+ envFile: null;
402
+ requests: {
403
+ get: (url: string, headers?: any) => Promise<any>;
404
+ post: (url: string, body: any, headers?: any) => Promise<any>;
405
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
406
+ put: (url: string, body: any, headers?: any) => Promise<any>;
407
+ patch: (url: string, body: any) => Promise<any>;
408
+ delete: (url: string, body: any) => Promise<any>;
409
+ };
354
410
  defaultCompany: {
355
- id: any;
411
+ id: null;
356
412
  logo: string;
357
413
  secondary_color: string;
358
414
  primary_color: string;
359
415
  };
360
416
  context: {
361
- uid: any;
362
- allowed_company_ids: any[];
417
+ uid: null;
418
+ allowed_company_ids: never[];
363
419
  lang: string;
364
420
  tz: string;
365
421
  };
@@ -369,20 +425,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
369
425
  }) => void;
370
426
  setUid: (state: immer.WritableDraft<{
371
427
  baseUrl: string;
372
- requests: any;
373
- companies: any[];
428
+ companies: never[];
374
429
  user: {};
375
- config: any;
376
- envFile: any;
430
+ db: string;
431
+ refreshTokenEndpoint: string;
432
+ config: {
433
+ grantType: string;
434
+ clientId: string;
435
+ clientSecret: string;
436
+ redirectUri: string;
437
+ };
438
+ envFile: null;
439
+ requests: {
440
+ get: (url: string, headers?: any) => Promise<any>;
441
+ post: (url: string, body: any, headers?: any) => Promise<any>;
442
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
443
+ put: (url: string, body: any, headers?: any) => Promise<any>;
444
+ patch: (url: string, body: any) => Promise<any>;
445
+ delete: (url: string, body: any) => Promise<any>;
446
+ };
377
447
  defaultCompany: {
378
- id: any;
448
+ id: null;
379
449
  logo: string;
380
450
  secondary_color: string;
381
451
  primary_color: string;
382
452
  };
383
453
  context: {
384
- uid: any;
385
- allowed_company_ids: any[];
454
+ uid: null;
455
+ allowed_company_ids: never[];
386
456
  lang: string;
387
457
  tz: string;
388
458
  };
@@ -392,20 +462,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
392
462
  }) => void;
393
463
  setAllowCompanies: (state: immer.WritableDraft<{
394
464
  baseUrl: string;
395
- requests: any;
396
- companies: any[];
465
+ companies: never[];
397
466
  user: {};
398
- config: any;
399
- envFile: any;
467
+ db: string;
468
+ refreshTokenEndpoint: string;
469
+ config: {
470
+ grantType: string;
471
+ clientId: string;
472
+ clientSecret: string;
473
+ redirectUri: string;
474
+ };
475
+ envFile: null;
476
+ requests: {
477
+ get: (url: string, headers?: any) => Promise<any>;
478
+ post: (url: string, body: any, headers?: any) => Promise<any>;
479
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
480
+ put: (url: string, body: any, headers?: any) => Promise<any>;
481
+ patch: (url: string, body: any) => Promise<any>;
482
+ delete: (url: string, body: any) => Promise<any>;
483
+ };
400
484
  defaultCompany: {
401
- id: any;
485
+ id: null;
402
486
  logo: string;
403
487
  secondary_color: string;
404
488
  primary_color: string;
405
489
  };
406
490
  context: {
407
- uid: any;
408
- allowed_company_ids: any[];
491
+ uid: null;
492
+ allowed_company_ids: never[];
409
493
  lang: string;
410
494
  tz: string;
411
495
  };
@@ -415,20 +499,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
415
499
  }) => void;
416
500
  setCompanies: (state: immer.WritableDraft<{
417
501
  baseUrl: string;
418
- requests: any;
419
- companies: any[];
502
+ companies: never[];
420
503
  user: {};
421
- config: any;
422
- envFile: any;
504
+ db: string;
505
+ refreshTokenEndpoint: string;
506
+ config: {
507
+ grantType: string;
508
+ clientId: string;
509
+ clientSecret: string;
510
+ redirectUri: string;
511
+ };
512
+ envFile: null;
513
+ requests: {
514
+ get: (url: string, headers?: any) => Promise<any>;
515
+ post: (url: string, body: any, headers?: any) => Promise<any>;
516
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
517
+ put: (url: string, body: any, headers?: any) => Promise<any>;
518
+ patch: (url: string, body: any) => Promise<any>;
519
+ delete: (url: string, body: any) => Promise<any>;
520
+ };
423
521
  defaultCompany: {
424
- id: any;
522
+ id: null;
425
523
  logo: string;
426
524
  secondary_color: string;
427
525
  primary_color: string;
428
526
  };
429
527
  context: {
430
- uid: any;
431
- allowed_company_ids: any[];
528
+ uid: null;
529
+ allowed_company_ids: never[];
432
530
  lang: string;
433
531
  tz: string;
434
532
  };
@@ -438,20 +536,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
438
536
  }) => void;
439
537
  setDefaultCompany: (state: immer.WritableDraft<{
440
538
  baseUrl: string;
441
- requests: any;
442
- companies: any[];
539
+ companies: never[];
443
540
  user: {};
444
- config: any;
445
- envFile: any;
541
+ db: string;
542
+ refreshTokenEndpoint: string;
543
+ config: {
544
+ grantType: string;
545
+ clientId: string;
546
+ clientSecret: string;
547
+ redirectUri: string;
548
+ };
549
+ envFile: null;
550
+ requests: {
551
+ get: (url: string, headers?: any) => Promise<any>;
552
+ post: (url: string, body: any, headers?: any) => Promise<any>;
553
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
554
+ put: (url: string, body: any, headers?: any) => Promise<any>;
555
+ patch: (url: string, body: any) => Promise<any>;
556
+ delete: (url: string, body: any) => Promise<any>;
557
+ };
446
558
  defaultCompany: {
447
- id: any;
559
+ id: null;
448
560
  logo: string;
449
561
  secondary_color: string;
450
562
  primary_color: string;
451
563
  };
452
564
  context: {
453
- uid: any;
454
- allowed_company_ids: any[];
565
+ uid: null;
566
+ allowed_company_ids: never[];
455
567
  lang: string;
456
568
  tz: string;
457
569
  };
@@ -461,20 +573,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
461
573
  }) => void;
462
574
  setLang: (state: immer.WritableDraft<{
463
575
  baseUrl: string;
464
- requests: any;
465
- companies: any[];
576
+ companies: never[];
466
577
  user: {};
467
- config: any;
468
- envFile: any;
578
+ db: string;
579
+ refreshTokenEndpoint: string;
580
+ config: {
581
+ grantType: string;
582
+ clientId: string;
583
+ clientSecret: string;
584
+ redirectUri: string;
585
+ };
586
+ envFile: null;
587
+ requests: {
588
+ get: (url: string, headers?: any) => Promise<any>;
589
+ post: (url: string, body: any, headers?: any) => Promise<any>;
590
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
591
+ put: (url: string, body: any, headers?: any) => Promise<any>;
592
+ patch: (url: string, body: any) => Promise<any>;
593
+ delete: (url: string, body: any) => Promise<any>;
594
+ };
469
595
  defaultCompany: {
470
- id: any;
596
+ id: null;
471
597
  logo: string;
472
598
  secondary_color: string;
473
599
  primary_color: string;
474
600
  };
475
601
  context: {
476
- uid: any;
477
- allowed_company_ids: any[];
602
+ uid: null;
603
+ allowed_company_ids: never[];
478
604
  lang: string;
479
605
  tz: string;
480
606
  };
@@ -484,20 +610,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
484
610
  }) => void;
485
611
  setUser: (state: immer.WritableDraft<{
486
612
  baseUrl: string;
487
- requests: any;
488
- companies: any[];
613
+ companies: never[];
489
614
  user: {};
490
- config: any;
491
- envFile: any;
615
+ db: string;
616
+ refreshTokenEndpoint: string;
617
+ config: {
618
+ grantType: string;
619
+ clientId: string;
620
+ clientSecret: string;
621
+ redirectUri: string;
622
+ };
623
+ envFile: null;
624
+ requests: {
625
+ get: (url: string, headers?: any) => Promise<any>;
626
+ post: (url: string, body: any, headers?: any) => Promise<any>;
627
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
628
+ put: (url: string, body: any, headers?: any) => Promise<any>;
629
+ patch: (url: string, body: any) => Promise<any>;
630
+ delete: (url: string, body: any) => Promise<any>;
631
+ };
492
632
  defaultCompany: {
493
- id: any;
633
+ id: null;
494
634
  logo: string;
495
635
  secondary_color: string;
496
636
  primary_color: string;
497
637
  };
498
638
  context: {
499
- uid: any;
500
- allowed_company_ids: any[];
639
+ uid: null;
640
+ allowed_company_ids: never[];
501
641
  lang: string;
502
642
  tz: string;
503
643
  };
@@ -507,20 +647,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
507
647
  }) => void;
508
648
  setConfig: (state: immer.WritableDraft<{
509
649
  baseUrl: string;
510
- requests: any;
511
- companies: any[];
650
+ companies: never[];
512
651
  user: {};
513
- config: any;
514
- envFile: any;
652
+ db: string;
653
+ refreshTokenEndpoint: string;
654
+ config: {
655
+ grantType: string;
656
+ clientId: string;
657
+ clientSecret: string;
658
+ redirectUri: string;
659
+ };
660
+ envFile: null;
661
+ requests: {
662
+ get: (url: string, headers?: any) => Promise<any>;
663
+ post: (url: string, body: any, headers?: any) => Promise<any>;
664
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
665
+ put: (url: string, body: any, headers?: any) => Promise<any>;
666
+ patch: (url: string, body: any) => Promise<any>;
667
+ delete: (url: string, body: any) => Promise<any>;
668
+ };
515
669
  defaultCompany: {
516
- id: any;
670
+ id: null;
517
671
  logo: string;
518
672
  secondary_color: string;
519
673
  primary_color: string;
520
674
  };
521
675
  context: {
522
- uid: any;
523
- allowed_company_ids: any[];
676
+ uid: null;
677
+ allowed_company_ids: never[];
524
678
  lang: string;
525
679
  tz: string;
526
680
  };
@@ -530,20 +684,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
530
684
  }) => void;
531
685
  setEnvFile: (state: immer.WritableDraft<{
532
686
  baseUrl: string;
533
- requests: any;
534
- companies: any[];
687
+ companies: never[];
535
688
  user: {};
536
- config: any;
537
- envFile: any;
689
+ db: string;
690
+ refreshTokenEndpoint: string;
691
+ config: {
692
+ grantType: string;
693
+ clientId: string;
694
+ clientSecret: string;
695
+ redirectUri: string;
696
+ };
697
+ envFile: null;
698
+ requests: {
699
+ get: (url: string, headers?: any) => Promise<any>;
700
+ post: (url: string, body: any, headers?: any) => Promise<any>;
701
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
702
+ put: (url: string, body: any, headers?: any) => Promise<any>;
703
+ patch: (url: string, body: any) => Promise<any>;
704
+ delete: (url: string, body: any) => Promise<any>;
705
+ };
538
706
  defaultCompany: {
539
- id: any;
707
+ id: null;
540
708
  logo: string;
541
709
  secondary_color: string;
542
710
  primary_color: string;
543
711
  };
544
712
  context: {
545
- uid: any;
546
- allowed_company_ids: any[];
713
+ uid: null;
714
+ allowed_company_ids: never[];
547
715
  lang: string;
548
716
  tz: string;
549
717
  };
@@ -553,20 +721,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
553
721
  }) => void;
554
722
  }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
555
723
  baseUrl: string;
556
- requests: any;
557
- companies: any[];
724
+ companies: never[];
558
725
  user: {};
559
- config: any;
560
- envFile: any;
726
+ db: string;
727
+ refreshTokenEndpoint: string;
728
+ config: {
729
+ grantType: string;
730
+ clientId: string;
731
+ clientSecret: string;
732
+ redirectUri: string;
733
+ };
734
+ envFile: null;
735
+ requests: {
736
+ get: (url: string, headers?: any) => Promise<any>;
737
+ post: (url: string, body: any, headers?: any) => Promise<any>;
738
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
739
+ put: (url: string, body: any, headers?: any) => Promise<any>;
740
+ patch: (url: string, body: any) => Promise<any>;
741
+ delete: (url: string, body: any) => Promise<any>;
742
+ };
561
743
  defaultCompany: {
562
- id: any;
744
+ id: null;
563
745
  logo: string;
564
746
  secondary_color: string;
565
747
  primary_color: string;
566
748
  };
567
749
  context: {
568
- uid: any;
569
- allowed_company_ids: any[];
750
+ uid: null;
751
+ allowed_company_ids: never[];
570
752
  lang: string;
571
753
  tz: string;
572
754
  };
@@ -582,20 +764,34 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
582
764
  declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
583
765
  declare const selectEnv: (state: RootState) => {
584
766
  baseUrl: string;
585
- requests: any;
586
- companies: any[];
767
+ companies: never[];
587
768
  user: {};
588
- config: any;
589
- envFile: any;
769
+ db: string;
770
+ refreshTokenEndpoint: string;
771
+ config: {
772
+ grantType: string;
773
+ clientId: string;
774
+ clientSecret: string;
775
+ redirectUri: string;
776
+ };
777
+ envFile: null;
778
+ requests: {
779
+ get: (url: string, headers?: any) => Promise<any>;
780
+ post: (url: string, body: any, headers?: any) => Promise<any>;
781
+ post_excel: (url: string, body: any, headers?: any) => Promise<any>;
782
+ put: (url: string, body: any, headers?: any) => Promise<any>;
783
+ patch: (url: string, body: any) => Promise<any>;
784
+ delete: (url: string, body: any) => Promise<any>;
785
+ };
590
786
  defaultCompany: {
591
- id: any;
787
+ id: null;
592
788
  logo: string;
593
789
  secondary_color: string;
594
790
  primary_color: string;
595
791
  };
596
792
  context: {
597
- uid: any;
598
- allowed_company_ids: any[];
793
+ uid: null;
794
+ allowed_company_ids: never[];
599
795
  lang: string;
600
796
  tz: string;
601
797
  };
@@ -603,12 +799,12 @@ declare const selectEnv: (state: RootState) => {
603
799
 
604
800
  declare const headerSlice: _reduxjs_toolkit.Slice<{
605
801
  value: {
606
- allowedCompanyIds: any[];
802
+ allowedCompanyIds: never[];
607
803
  };
608
804
  }, {
609
805
  setHeader: (state: immer.WritableDraft<{
610
806
  value: {
611
- allowedCompanyIds: any[];
807
+ allowedCompanyIds: never[];
612
808
  };
613
809
  }>, action: {
614
810
  payload: any;
@@ -616,7 +812,7 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
616
812
  }) => void;
617
813
  setAllowedCompanyIds: (state: immer.WritableDraft<{
618
814
  value: {
619
- allowedCompanyIds: any[];
815
+ allowedCompanyIds: never[];
620
816
  };
621
817
  }>, action: {
622
818
  payload: any;
@@ -624,14 +820,14 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
624
820
  }) => void;
625
821
  }, "header", "header", _reduxjs_toolkit.SliceSelectors<{
626
822
  value: {
627
- allowedCompanyIds: any[];
823
+ allowedCompanyIds: never[];
628
824
  };
629
825
  }>>;
630
826
  declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
631
827
  declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
632
828
  declare const selectHeader: (state: RootState) => {
633
829
  value: {
634
- allowedCompanyIds: any[];
830
+ allowedCompanyIds: never[];
635
831
  };
636
832
  };
637
833