@acorex-platform/module-location-management-client 0.0.15

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 (50) hide show
  1. package/contracts/datasource.keys.d.ts +6 -0
  2. package/contracts/datasource.keys.js +8 -0
  3. package/contracts/entities/geographic-region/geographic-region.entity.d.ts +2 -0
  4. package/contracts/entities/geographic-region/geographic-region.entity.js +725 -0
  5. package/contracts/entities/geographic-region/geographic-region.types.d.ts +27 -0
  6. package/contracts/entities/geographic-region/geographic-region.types.js +1 -0
  7. package/contracts/entities/geographic-region/index.d.ts +2 -0
  8. package/contracts/entities/geographic-region/index.js +2 -0
  9. package/contracts/entities/index.d.ts +5 -0
  10. package/contracts/entities/index.js +5 -0
  11. package/contracts/entities/location/index.d.ts +2 -0
  12. package/contracts/entities/location/index.js +2 -0
  13. package/contracts/entities/location/location.entity.d.ts +2 -0
  14. package/contracts/entities/location/location.entity.js +1075 -0
  15. package/contracts/entities/location/location.types.d.ts +30 -0
  16. package/contracts/entities/location/location.types.js +1 -0
  17. package/contracts/entities/location-assignment/index.d.ts +2 -0
  18. package/contracts/entities/location-assignment/index.js +2 -0
  19. package/contracts/entities/location-assignment/location-assignment.entity.d.ts +2 -0
  20. package/contracts/entities/location-assignment/location-assignment.entity.js +194 -0
  21. package/contracts/entities/location-assignment/location-assignment.types.d.ts +35 -0
  22. package/contracts/entities/location-assignment/location-assignment.types.js +2 -0
  23. package/contracts/entities/location-role/index.d.ts +2 -0
  24. package/contracts/entities/location-role/index.js +2 -0
  25. package/contracts/entities/location-role/location-role.entity.d.ts +2 -0
  26. package/contracts/entities/location-role/location-role.entity.js +143 -0
  27. package/contracts/entities/location-role/location-role.types.d.ts +6 -0
  28. package/contracts/entities/location-role/location-role.types.js +1 -0
  29. package/contracts/entities/location-type/index.d.ts +2 -0
  30. package/contracts/entities/location-type/index.js +2 -0
  31. package/contracts/entities/location-type/location-type.entity.d.ts +2 -0
  32. package/contracts/entities/location-type/location-type.entity.js +237 -0
  33. package/contracts/entities/location-type/location-type.types.d.ts +8 -0
  34. package/contracts/entities/location-type/location-type.types.js +1 -0
  35. package/contracts/features.keys.d.ts +1 -0
  36. package/contracts/features.keys.js +2 -0
  37. package/contracts/index.d.ts +8 -0
  38. package/contracts/index.js +10 -0
  39. package/contracts/location-assignment.actions.d.ts +8 -0
  40. package/contracts/location-assignment.actions.js +73 -0
  41. package/contracts/location-assignment.utils.d.ts +53 -0
  42. package/contracts/location-assignment.utils.js +145 -0
  43. package/contracts/menu.keys.d.ts +8 -0
  44. package/contracts/menu.keys.js +8 -0
  45. package/contracts/package.json +5 -0
  46. package/contracts/permission.keys.d.ts +33 -0
  47. package/contracts/permission.keys.js +42 -0
  48. package/contracts/root-config.d.ts +42 -0
  49. package/contracts/root-config.js +43 -0
  50. package/package.json +12 -0
@@ -0,0 +1,27 @@
1
+ import { AXPMultiLanguageString } from '@acorex-platform/framework-shared/core';
2
+ import { AXPEntityModel } from '@acorex-platform/framework-shared/entity';
3
+ export interface AXMLocationManagementGeographicRegionEntityModel extends AXPEntityModel<string> {
4
+ title: string;
5
+ code?: string;
6
+ type: string;
7
+ parentId?: string;
8
+ coordinates?: string;
9
+ timezone?: string;
10
+ population?: number;
11
+ area?: number;
12
+ /** Foreign key to Financial Core Currency. */
13
+ currencyId?: string;
14
+ currency?: {
15
+ id: string;
16
+ code: string;
17
+ symbol: string;
18
+ title: AXPMultiLanguageString;
19
+ };
20
+ isActive: boolean;
21
+ }
22
+ export interface GeographicRegionHierarchy {
23
+ country?: AXMLocationManagementGeographicRegionEntityModel;
24
+ state?: AXMLocationManagementGeographicRegionEntityModel;
25
+ city?: AXMLocationManagementGeographicRegionEntityModel;
26
+ district?: AXMLocationManagementGeographicRegionEntityModel;
27
+ }
@@ -0,0 +1,2 @@
1
+ export * from './geographic-region.entity';
2
+ export * from './geographic-region.types';
@@ -0,0 +1,2 @@
1
+ export * from './geographic-region.entity';
2
+ export * from './geographic-region.types';
@@ -0,0 +1,5 @@
1
+ export * from './geographic-region';
2
+ export * from './location';
3
+ export * from './location-assignment';
4
+ export * from './location-role';
5
+ export * from './location-type';
@@ -0,0 +1,5 @@
1
+ export * from './geographic-region';
2
+ export * from './location';
3
+ export * from './location-assignment';
4
+ export * from './location-role';
5
+ export * from './location-type';
@@ -0,0 +1,2 @@
1
+ export * from './location.entity';
2
+ export * from './location.types';
@@ -0,0 +1,2 @@
1
+ export * from './location.entity';
2
+ export * from './location.types';
@@ -0,0 +1,2 @@
1
+ import { AXPEntity } from '@acorex-platform/framework-shared/entity';
2
+ export declare function locationFactory(): Promise<AXPEntity | null>;