uapp-communication-sdk 1.0.0-dev.115 → 1.0.0-dev.116

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 (145) hide show
  1. package/package.json +1 -1
  2. package/types/app/App.d.ts +1 -2
  3. package/types/app/App.d.ts.map +1 -1
  4. package/types/app/AppFeatureProviders.d.ts +8 -0
  5. package/types/app/AppFeatureProviders.d.ts.map +1 -0
  6. package/types/app/di/composition-root.d.ts +2 -0
  7. package/types/app/di/composition-root.d.ts.map +1 -1
  8. package/types/app/router/AppRouter.d.ts.map +1 -1
  9. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts +2 -2
  10. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts +4 -4
  11. package/types/features/feed/infrastructure/dto/feed-dtos.d.ts +4 -4
  12. package/types/features/org/infrastructure/dto/org-dtos.d.ts +12 -12
  13. package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts +2 -2
  14. package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts +12 -12
  15. package/types/features/tenant/application/get-tenant-dashboard-stats.use-case.d.ts +14 -0
  16. package/types/features/tenant/application/get-tenant-dashboard-stats.use-case.d.ts.map +1 -0
  17. package/types/features/tenant/application/get-tenant-general-settings.use-case.d.ts +11 -0
  18. package/types/features/tenant/application/get-tenant-general-settings.use-case.d.ts.map +1 -0
  19. package/types/features/tenant/application/get-tenant-list.use-case.d.ts +11 -0
  20. package/types/features/tenant/application/get-tenant-list.use-case.d.ts.map +1 -0
  21. package/types/features/tenant/application/index.d.ts +7 -0
  22. package/types/features/tenant/application/index.d.ts.map +1 -0
  23. package/types/features/tenant/application/login-tenant.use-case.d.ts +14 -0
  24. package/types/features/tenant/application/login-tenant.use-case.d.ts.map +1 -0
  25. package/types/features/tenant/application/register-tenant.use-case.d.ts +14 -0
  26. package/types/features/tenant/application/register-tenant.use-case.d.ts.map +1 -0
  27. package/types/features/tenant/application/update-tenant-general-settings.use-case.d.ts +11 -0
  28. package/types/features/tenant/application/update-tenant-general-settings.use-case.d.ts.map +1 -0
  29. package/types/features/tenant/domain/entities/tenant-dashboard-stats.d.ts +31 -0
  30. package/types/features/tenant/domain/entities/tenant-dashboard-stats.d.ts.map +1 -0
  31. package/types/features/tenant/domain/entities/tenant-general-settings.d.ts +22 -0
  32. package/types/features/tenant/domain/entities/tenant-general-settings.d.ts.map +1 -0
  33. package/types/features/tenant/domain/entities/tenant-item.d.ts +17 -0
  34. package/types/features/tenant/domain/entities/tenant-item.d.ts.map +1 -0
  35. package/types/features/tenant/domain/errors/tenant-errors.d.ts +20 -0
  36. package/types/features/tenant/domain/errors/tenant-errors.d.ts.map +1 -0
  37. package/types/features/tenant/domain/index.d.ts +7 -0
  38. package/types/features/tenant/domain/index.d.ts.map +1 -0
  39. package/types/features/tenant/domain/ports/tenant-auth-gateway.d.ts +37 -0
  40. package/types/features/tenant/domain/ports/tenant-auth-gateway.d.ts.map +1 -0
  41. package/types/features/tenant/domain/value-objects/index.d.ts +6 -0
  42. package/types/features/tenant/domain/value-objects/index.d.ts.map +1 -0
  43. package/types/features/tenant/domain/value-objects/tenant-app-name.vo.d.ts +8 -0
  44. package/types/features/tenant/domain/value-objects/tenant-app-name.vo.d.ts.map +1 -0
  45. package/types/features/tenant/domain/value-objects/tenant-password.vo.d.ts +8 -0
  46. package/types/features/tenant/domain/value-objects/tenant-password.vo.d.ts.map +1 -0
  47. package/types/features/tenant/domain/value-objects/tenant-person-name.vo.d.ts +8 -0
  48. package/types/features/tenant/domain/value-objects/tenant-person-name.vo.d.ts.map +1 -0
  49. package/types/features/tenant/domain/value-objects/tenant-phone.vo.d.ts +8 -0
  50. package/types/features/tenant/domain/value-objects/tenant-phone.vo.d.ts.map +1 -0
  51. package/types/features/tenant/domain/value-objects/tenant-user-name.vo.d.ts +8 -0
  52. package/types/features/tenant/domain/value-objects/tenant-user-name.vo.d.ts.map +1 -0
  53. package/types/features/tenant/index.d.ts +6 -0
  54. package/types/features/tenant/index.d.ts.map +1 -0
  55. package/types/features/tenant/infrastructure/index.d.ts +2 -0
  56. package/types/features/tenant/infrastructure/index.d.ts.map +1 -0
  57. package/types/features/tenant/infrastructure/mock-tenant-auth-gateway.d.ts +17 -0
  58. package/types/features/tenant/infrastructure/mock-tenant-auth-gateway.d.ts.map +1 -0
  59. package/types/features/tenant/presentation/TenantModuleProvider.d.ts +8 -0
  60. package/types/features/tenant/presentation/TenantModuleProvider.d.ts.map +1 -0
  61. package/types/features/tenant/presentation/components/RegisterFormFields.d.ts +10 -0
  62. package/types/features/tenant/presentation/components/RegisterFormFields.d.ts.map +1 -0
  63. package/types/features/tenant/presentation/components/TenantAuthLayout.d.ts +10 -0
  64. package/types/features/tenant/presentation/components/TenantAuthLayout.d.ts.map +1 -0
  65. package/types/features/tenant/presentation/components/TenantLoginForm.d.ts +7 -0
  66. package/types/features/tenant/presentation/components/TenantLoginForm.d.ts.map +1 -0
  67. package/types/features/tenant/presentation/components/TenantRegisterForm.d.ts +12 -0
  68. package/types/features/tenant/presentation/components/TenantRegisterForm.d.ts.map +1 -0
  69. package/types/features/tenant/presentation/components/dashboard/GrowthChartSvg.d.ts +7 -0
  70. package/types/features/tenant/presentation/components/dashboard/GrowthChartSvg.d.ts.map +1 -0
  71. package/types/features/tenant/presentation/components/dashboard/TenantKpiCards.d.ts +7 -0
  72. package/types/features/tenant/presentation/components/dashboard/TenantKpiCards.d.ts.map +1 -0
  73. package/types/features/tenant/presentation/components/dashboard/UserDistributionChart.d.ts +8 -0
  74. package/types/features/tenant/presentation/components/dashboard/UserDistributionChart.d.ts.map +1 -0
  75. package/types/features/tenant/presentation/components/dashboard/UserGrowthChart.d.ts +8 -0
  76. package/types/features/tenant/presentation/components/dashboard/UserGrowthChart.d.ts.map +1 -0
  77. package/types/features/tenant/presentation/components/dashboard/growth-chart-math.d.ts +37 -0
  78. package/types/features/tenant/presentation/components/dashboard/growth-chart-math.d.ts.map +1 -0
  79. package/types/features/tenant/presentation/components/manage/ColorPickerField.d.ts +7 -0
  80. package/types/features/tenant/presentation/components/manage/ColorPickerField.d.ts.map +1 -0
  81. package/types/features/tenant/presentation/components/manage/GeneralSettingsTab.d.ts +9 -0
  82. package/types/features/tenant/presentation/components/manage/GeneralSettingsTab.d.ts.map +1 -0
  83. package/types/features/tenant/presentation/components/manage/TenantManageHeader.d.ts +8 -0
  84. package/types/features/tenant/presentation/components/manage/TenantManageHeader.d.ts.map +1 -0
  85. package/types/features/tenant/presentation/components/manage/TenantManageTabs.d.ts +8 -0
  86. package/types/features/tenant/presentation/components/manage/TenantManageTabs.d.ts.map +1 -0
  87. package/types/features/tenant/presentation/components/manage/index.d.ts +4 -0
  88. package/types/features/tenant/presentation/components/manage/index.d.ts.map +1 -0
  89. package/types/features/tenant/presentation/components/registry/RegisterTenantFields.d.ts +12 -0
  90. package/types/features/tenant/presentation/components/registry/RegisterTenantFields.d.ts.map +1 -0
  91. package/types/features/tenant/presentation/components/registry/RegisterTenantModal.d.ts +50 -0
  92. package/types/features/tenant/presentation/components/registry/RegisterTenantModal.d.ts.map +1 -0
  93. package/types/features/tenant/presentation/components/registry/TableRowActions.d.ts +9 -0
  94. package/types/features/tenant/presentation/components/registry/TableRowActions.d.ts.map +1 -0
  95. package/types/features/tenant/presentation/components/registry/TenantCardActions.d.ts +10 -0
  96. package/types/features/tenant/presentation/components/registry/TenantCardActions.d.ts.map +1 -0
  97. package/types/features/tenant/presentation/components/registry/TenantCardGrid.d.ts +12 -0
  98. package/types/features/tenant/presentation/components/registry/TenantCardGrid.d.ts.map +1 -0
  99. package/types/features/tenant/presentation/components/registry/TenantCardModules.d.ts +6 -0
  100. package/types/features/tenant/presentation/components/registry/TenantCardModules.d.ts.map +1 -0
  101. package/types/features/tenant/presentation/components/registry/TenantGridCard.d.ts +11 -0
  102. package/types/features/tenant/presentation/components/registry/TenantGridCard.d.ts.map +1 -0
  103. package/types/features/tenant/presentation/components/registry/TenantQuickFilterCards.d.ts +12 -0
  104. package/types/features/tenant/presentation/components/registry/TenantQuickFilterCards.d.ts.map +1 -0
  105. package/types/features/tenant/presentation/components/registry/TenantRegistryHeader.d.ts +9 -0
  106. package/types/features/tenant/presentation/components/registry/TenantRegistryHeader.d.ts.map +1 -0
  107. package/types/features/tenant/presentation/components/registry/TenantSearchToolbar.d.ts +11 -0
  108. package/types/features/tenant/presentation/components/registry/TenantSearchToolbar.d.ts.map +1 -0
  109. package/types/features/tenant/presentation/components/registry/TenantTable.d.ts +11 -0
  110. package/types/features/tenant/presentation/components/registry/TenantTable.d.ts.map +1 -0
  111. package/types/features/tenant/presentation/components/registry/TenantTableRow.d.ts +10 -0
  112. package/types/features/tenant/presentation/components/registry/TenantTableRow.d.ts.map +1 -0
  113. package/types/features/tenant/presentation/components/registry/index.d.ts +8 -0
  114. package/types/features/tenant/presentation/components/registry/index.d.ts.map +1 -0
  115. package/types/features/tenant/presentation/components/registry/quick-filter-icons.d.ts +6 -0
  116. package/types/features/tenant/presentation/components/registry/quick-filter-icons.d.ts.map +1 -0
  117. package/types/features/tenant/presentation/components/registry/register-tenant-sub-components.d.ts +13 -0
  118. package/types/features/tenant/presentation/components/registry/register-tenant-sub-components.d.ts.map +1 -0
  119. package/types/features/tenant/presentation/components/registry/registry-action-icons.d.ts +6 -0
  120. package/types/features/tenant/presentation/components/registry/registry-action-icons.d.ts.map +1 -0
  121. package/types/features/tenant/presentation/components/registry/tenant-icon-renderer.d.ts +4 -0
  122. package/types/features/tenant/presentation/components/registry/tenant-icon-renderer.d.ts.map +1 -0
  123. package/types/features/tenant/presentation/index.d.ts +12 -0
  124. package/types/features/tenant/presentation/index.d.ts.map +1 -0
  125. package/types/features/tenant/presentation/pages/TenantDashboardPage.d.ts +3 -0
  126. package/types/features/tenant/presentation/pages/TenantDashboardPage.d.ts.map +1 -0
  127. package/types/features/tenant/presentation/pages/TenantLoginPage.d.ts +3 -0
  128. package/types/features/tenant/presentation/pages/TenantLoginPage.d.ts.map +1 -0
  129. package/types/features/tenant/presentation/pages/TenantManagePage.d.ts +3 -0
  130. package/types/features/tenant/presentation/pages/TenantManagePage.d.ts.map +1 -0
  131. package/types/features/tenant/presentation/pages/TenantRegisterPage.d.ts +3 -0
  132. package/types/features/tenant/presentation/pages/TenantRegisterPage.d.ts.map +1 -0
  133. package/types/features/tenant/presentation/pages/TenantsRegistryContent.d.ts +15 -0
  134. package/types/features/tenant/presentation/pages/TenantsRegistryContent.d.ts.map +1 -0
  135. package/types/features/tenant/presentation/pages/TenantsRegistryPage.d.ts +3 -0
  136. package/types/features/tenant/presentation/pages/TenantsRegistryPage.d.ts.map +1 -0
  137. package/types/features/tenant/presentation/pages/use-tenants-registry-data.d.ts +9 -0
  138. package/types/features/tenant/presentation/pages/use-tenants-registry-data.d.ts.map +1 -0
  139. package/types/features/tenant/presentation/tenant-module-context.d.ts +3 -0
  140. package/types/features/tenant/presentation/tenant-module-context.d.ts.map +1 -0
  141. package/types/features/tenant/presentation/use-tenant-module.d.ts +3 -0
  142. package/types/features/tenant/presentation/use-tenant-module.d.ts.map +1 -0
  143. package/types/features/tenant/tenant-module.d.ts +19 -0
  144. package/types/features/tenant/tenant-module.d.ts.map +1 -0
  145. package/types/features/users/infrastructure/dto/user-dtos.d.ts +24 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uapp-communication-sdk",
3
- "version": "1.0.0-dev.115",
3
+ "version": "1.0.0-dev.116",
4
4
  "description": "Embeddable Communication Hub widgets (chat, feed, bookings, schedule).",
5
5
  "type": "module",
6
6
  "types": "./types/sdk/index.d.ts",
@@ -1,7 +1,6 @@
1
1
  import { type ReactElement } from 'react';
2
2
  /**
3
- * Root component. Builds the dependency graph once, then mounts the provider/router tree. All
4
- * cross-cutting providers belong here so the rest of the app stays unaware of wiring.
3
+ * Root component. Builds the dependency graph once, then mounts the provider/router tree.
5
4
  */
6
5
  export declare const App: () => ReactElement;
7
6
  //# sourceMappingURL=App.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/app/App.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6BnD;;;GAGG;AACH,eAAO,MAAM,GAAG,QAAO,YA8EtB,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../src/app/App.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAUnD;;GAEG;AACH,eAAO,MAAM,GAAG,QAAO,YA4BtB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { AppComposition } from '@app/di/composition-root';
3
+ export interface AppFeatureProvidersProps {
4
+ readonly composition: AppComposition;
5
+ readonly children: ReactNode;
6
+ }
7
+ export declare const AppFeatureProviders: ({ composition, children, }: AppFeatureProvidersProps) => ReactElement;
8
+ //# sourceMappingURL=AppFeatureProviders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppFeatureProviders.d.ts","sourceRoot":"","sources":["../../../../src/app/AppFeatureProviders.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAwBrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;IACrC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,mBAAmB,GAAI,4BAGjC,wBAAwB,KAAG,YA4D7B,CAAC"}
@@ -15,6 +15,7 @@ import { type ScheduleModule } from '@features/schedule';
15
15
  import { type SettingsModule } from '@features/settings';
16
16
  import { type OrgModule } from '@features/org';
17
17
  import { type ApiKeysModule } from '@features/api-keys';
18
+ import { type TenantModule } from '@features/tenant';
18
19
  export interface AppComposition {
19
20
  readonly logger: Logger;
20
21
  readonly authStore: AuthStore;
@@ -32,6 +33,7 @@ export interface AppComposition {
32
33
  readonly settingsModule: SettingsModule;
33
34
  readonly orgModule: OrgModule;
34
35
  readonly apiKeysModule: ApiKeysModule;
36
+ readonly tenantModule: TenantModule;
35
37
  readonly queryClient: QueryClient;
36
38
  }
37
39
  export interface CompositionInput {
@@ -1 +1 @@
1
- {"version":3,"file":"composition-root.d.ts","sourceRoot":"","sources":["../../../../../src/app/di/composition-root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,OAAO,EAAiB,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAU1D,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAA2B,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAE7E,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;CACnC;AA2ED;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,GAAI,kBAAkB,gBAAgB,KAAG,cAyHtE,CAAC"}
1
+ {"version":3,"file":"composition-root.d.ts","sourceRoot":"","sources":["../../../../../src/app/di/composition-root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIpD,OAAO,EAAiB,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAU1D,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAA2B,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEzE,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IAC5C,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IAChD,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,aAAa,EAAE,aAAa,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;CACnC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAC;CACnC;AA2ED;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,GAAI,kBAAkB,gBAAgB,KAAG,cA2HtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../../../../src/app/router/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAgK1D;;;GAGG;AACH,eAAO,MAAM,SAAS,QAAO,YA4D5B,CAAC"}
1
+ {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../../../../src/app/router/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAoL1D;;;GAGG;AACH,eAAO,MAAM,SAAS,QAAO,YAiE5B,CAAC"}
@@ -107,15 +107,15 @@ export declare const ReactionTogglePayloadSchema: z.ZodObject<{
107
107
  emoji: z.ZodString;
108
108
  added: z.ZodBoolean;
109
109
  }, "strip", z.ZodTypeAny, {
110
+ emoji: string;
110
111
  conversationId: string;
111
112
  messageId: string;
112
- emoji: string;
113
113
  byUserId: string;
114
114
  added: boolean;
115
115
  }, {
116
+ emoji: string;
116
117
  conversationId: string;
117
118
  messageId: string;
118
- emoji: string;
119
119
  byUserId: string;
120
120
  added: boolean;
121
121
  }>;
@@ -291,6 +291,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
291
291
  id: string;
292
292
  time: string;
293
293
  text: string;
294
+ conversationId: string;
294
295
  kind: number;
295
296
  authorName: string;
296
297
  authorInitials: string;
@@ -310,7 +311,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
310
311
  mediaFileName: string | null;
311
312
  isEdited: boolean;
312
313
  deletedForEveryone: boolean;
313
- conversationId: string;
314
314
  replyToMessageId: string | null;
315
315
  replyToAuthorName: string;
316
316
  replyToText: string;
@@ -319,6 +319,7 @@ export declare const ChatMessageSchema: z.ZodObject<{
319
319
  id: string;
320
320
  time: string;
321
321
  text: string;
322
+ conversationId: string;
322
323
  kind: number;
323
324
  authorName: string;
324
325
  authorInitials: string;
@@ -333,7 +334,6 @@ export declare const ChatMessageSchema: z.ZodObject<{
333
334
  sequence: number;
334
335
  senderId: string;
335
336
  clientMessageId: string | null;
336
- conversationId: string;
337
337
  mediaUrl?: string | null | undefined;
338
338
  mediaContentType?: string | null | undefined;
339
339
  mediaFileName?: string | null | undefined;
@@ -979,6 +979,7 @@ export declare const ChatMessageListSchema: z.ZodArray<z.ZodObject<{
979
979
  id: string;
980
980
  time: string;
981
981
  text: string;
982
+ conversationId: string;
982
983
  kind: number;
983
984
  authorName: string;
984
985
  authorInitials: string;
@@ -998,7 +999,6 @@ export declare const ChatMessageListSchema: z.ZodArray<z.ZodObject<{
998
999
  mediaFileName: string | null;
999
1000
  isEdited: boolean;
1000
1001
  deletedForEveryone: boolean;
1001
- conversationId: string;
1002
1002
  replyToMessageId: string | null;
1003
1003
  replyToAuthorName: string;
1004
1004
  replyToText: string;
@@ -1007,6 +1007,7 @@ export declare const ChatMessageListSchema: z.ZodArray<z.ZodObject<{
1007
1007
  id: string;
1008
1008
  time: string;
1009
1009
  text: string;
1010
+ conversationId: string;
1010
1011
  kind: number;
1011
1012
  authorName: string;
1012
1013
  authorInitials: string;
@@ -1021,7 +1022,6 @@ export declare const ChatMessageListSchema: z.ZodArray<z.ZodObject<{
1021
1022
  sequence: number;
1022
1023
  senderId: string;
1023
1024
  clientMessageId: string | null;
1024
- conversationId: string;
1025
1025
  mediaUrl?: string | null | undefined;
1026
1026
  mediaContentType?: string | null | undefined;
1027
1027
  mediaFileName?: string | null | undefined;
@@ -933,17 +933,17 @@ export declare const FeedCategoryOptionDtoSchema: z.ZodObject<{
933
933
  label: string;
934
934
  color: string;
935
935
  key?: string | undefined;
936
+ webhookId?: string | null | undefined;
936
937
  templateIds?: string[] | undefined;
937
938
  dataTemplateIds?: string[] | undefined;
938
- webhookId?: string | null | undefined;
939
939
  }, {
940
940
  id: string;
941
941
  label: string;
942
942
  color: string;
943
943
  key?: string | undefined;
944
+ webhookId?: string | null | undefined;
944
945
  templateIds?: string[] | undefined;
945
946
  dataTemplateIds?: string[] | undefined;
946
- webhookId?: string | null | undefined;
947
947
  }>;
948
948
  export type FeedCategoryOptionDto = z.infer<typeof FeedCategoryOptionDtoSchema>;
949
949
  export declare const FeedCategoryOptionListSchema: z.ZodArray<z.ZodObject<{
@@ -959,17 +959,17 @@ export declare const FeedCategoryOptionListSchema: z.ZodArray<z.ZodObject<{
959
959
  label: string;
960
960
  color: string;
961
961
  key?: string | undefined;
962
+ webhookId?: string | null | undefined;
962
963
  templateIds?: string[] | undefined;
963
964
  dataTemplateIds?: string[] | undefined;
964
- webhookId?: string | null | undefined;
965
965
  }, {
966
966
  id: string;
967
967
  label: string;
968
968
  color: string;
969
969
  key?: string | undefined;
970
+ webhookId?: string | null | undefined;
970
971
  templateIds?: string[] | undefined;
971
972
  dataTemplateIds?: string[] | undefined;
972
- webhookId?: string | null | undefined;
973
973
  }>, "many">;
974
974
  export declare const FeedAudienceOptionDtoSchema: z.ZodObject<{
975
975
  key: z.ZodString;
@@ -241,16 +241,16 @@ export declare const HierarchyEdgeDtoSchema: z.ZodObject<{
241
241
  source: z.ZodNumber;
242
242
  }, "strip", z.ZodTypeAny, {
243
243
  source: number;
244
- branchKey: string;
245
244
  subordinateId: string;
246
245
  subordinateUserTypeId: string;
246
+ branchKey: string;
247
247
  managerId: string;
248
248
  managerUserTypeId: string;
249
249
  }, {
250
250
  source: number;
251
- branchKey: string;
252
251
  subordinateId: string;
253
252
  subordinateUserTypeId: string;
253
+ branchKey: string;
254
254
  managerId: string;
255
255
  managerUserTypeId: string;
256
256
  }>;
@@ -264,16 +264,16 @@ export declare const HierarchyEdgeListSchema: z.ZodArray<z.ZodObject<{
264
264
  source: z.ZodNumber;
265
265
  }, "strip", z.ZodTypeAny, {
266
266
  source: number;
267
- branchKey: string;
268
267
  subordinateId: string;
269
268
  subordinateUserTypeId: string;
269
+ branchKey: string;
270
270
  managerId: string;
271
271
  managerUserTypeId: string;
272
272
  }, {
273
273
  source: number;
274
- branchKey: string;
275
274
  subordinateId: string;
276
275
  subordinateUserTypeId: string;
276
+ branchKey: string;
277
277
  managerId: string;
278
278
  managerUserTypeId: string;
279
279
  }>, "many">;
@@ -292,9 +292,9 @@ export declare const HierarchyEdgeViewDtoSchema: z.ZodObject<{
292
292
  managerTypeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
293
293
  }, "strip", z.ZodTypeAny, {
294
294
  source: number;
295
- branchKey: string;
296
295
  subordinateId: string;
297
296
  subordinateUserTypeId: string;
297
+ branchKey: string;
298
298
  managerId: string;
299
299
  managerUserTypeId: string;
300
300
  subordinateName?: string | null | undefined;
@@ -303,9 +303,9 @@ export declare const HierarchyEdgeViewDtoSchema: z.ZodObject<{
303
303
  managerTypeName?: string | null | undefined;
304
304
  }, {
305
305
  source: number;
306
- branchKey: string;
307
306
  subordinateId: string;
308
307
  subordinateUserTypeId: string;
308
+ branchKey: string;
309
309
  managerId: string;
310
310
  managerUserTypeId: string;
311
311
  subordinateName?: string | null | undefined;
@@ -328,9 +328,9 @@ export declare const HierarchyEdgeViewListSchema: z.ZodArray<z.ZodObject<{
328
328
  managerTypeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
329
  }, "strip", z.ZodTypeAny, {
330
330
  source: number;
331
- branchKey: string;
332
331
  subordinateId: string;
333
332
  subordinateUserTypeId: string;
333
+ branchKey: string;
334
334
  managerId: string;
335
335
  managerUserTypeId: string;
336
336
  subordinateName?: string | null | undefined;
@@ -339,9 +339,9 @@ export declare const HierarchyEdgeViewListSchema: z.ZodArray<z.ZodObject<{
339
339
  managerTypeName?: string | null | undefined;
340
340
  }, {
341
341
  source: number;
342
- branchKey: string;
343
342
  subordinateId: string;
344
343
  subordinateUserTypeId: string;
344
+ branchKey: string;
345
345
  managerId: string;
346
346
  managerUserTypeId: string;
347
347
  subordinateName?: string | null | undefined;
@@ -519,8 +519,8 @@ export declare const BranchDtoSchema: z.ZodObject<{
519
519
  address?: string | null | undefined;
520
520
  description?: string | null | undefined;
521
521
  timezone?: string | null | undefined;
522
- flag?: string | null | undefined;
523
522
  refId?: string | null | undefined;
523
+ flag?: string | null | undefined;
524
524
  }, {
525
525
  key: string;
526
526
  name: string;
@@ -532,8 +532,8 @@ export declare const BranchDtoSchema: z.ZodObject<{
532
532
  address?: string | null | undefined;
533
533
  description?: string | null | undefined;
534
534
  timezone?: string | null | undefined;
535
- flag?: string | null | undefined;
536
535
  refId?: string | null | undefined;
536
+ flag?: string | null | undefined;
537
537
  }>;
538
538
  export type BranchDto = z.infer<typeof BranchDtoSchema>;
539
539
  export declare const BranchListSchema: z.ZodArray<z.ZodObject<{
@@ -560,8 +560,8 @@ export declare const BranchListSchema: z.ZodArray<z.ZodObject<{
560
560
  address?: string | null | undefined;
561
561
  description?: string | null | undefined;
562
562
  timezone?: string | null | undefined;
563
- flag?: string | null | undefined;
564
563
  refId?: string | null | undefined;
564
+ flag?: string | null | undefined;
565
565
  }, {
566
566
  key: string;
567
567
  name: string;
@@ -573,7 +573,7 @@ export declare const BranchListSchema: z.ZodArray<z.ZodObject<{
573
573
  address?: string | null | undefined;
574
574
  description?: string | null | undefined;
575
575
  timezone?: string | null | undefined;
576
- flag?: string | null | undefined;
577
576
  refId?: string | null | undefined;
577
+ flag?: string | null | undefined;
578
578
  }>, "many">;
579
579
  //# sourceMappingURL=org-dtos.d.ts.map
@@ -17,9 +17,9 @@ export declare const FeedCategoryDtoSchema: z.ZodObject<{
17
17
  key: string;
18
18
  label: string;
19
19
  color: string;
20
+ webhookId?: string | null | undefined;
20
21
  templateIds?: string[] | undefined;
21
22
  dataTemplateIds?: string[] | undefined;
22
- webhookId?: string | null | undefined;
23
23
  }>;
24
24
  export type FeedCategoryDto = z.infer<typeof FeedCategoryDtoSchema>;
25
25
  export declare const FeedCategoryListSchema: z.ZodArray<z.ZodObject<{
@@ -40,9 +40,9 @@ export declare const FeedCategoryListSchema: z.ZodArray<z.ZodObject<{
40
40
  key: string;
41
41
  label: string;
42
42
  color: string;
43
+ webhookId?: string | null | undefined;
43
44
  templateIds?: string[] | undefined;
44
45
  dataTemplateIds?: string[] | undefined;
45
- webhookId?: string | null | undefined;
46
46
  }>, "many">;
47
47
  export declare const ContentPrefsDtoSchema: z.ZodObject<{
48
48
  seeMore: z.ZodArray<z.ZodString, "many">;
@@ -716,6 +716,17 @@ export declare const WebhookDataDtoSchema: z.ZodObject<{
716
716
  payload: string;
717
717
  }>, "many">;
718
718
  }, "strip", z.ZodTypeAny, {
719
+ templates: {
720
+ url: string;
721
+ name: string;
722
+ id: string;
723
+ method: string;
724
+ desc: string;
725
+ event: string;
726
+ fields: string[];
727
+ cat: string;
728
+ payload: string;
729
+ }[];
719
730
  apps: {
720
731
  status: string | number;
721
732
  url: string;
@@ -755,6 +766,7 @@ export declare const WebhookDataDtoSchema: z.ZodObject<{
755
766
  webhook: string;
756
767
  nextRetry: string;
757
768
  }[];
769
+ }, {
758
770
  templates: {
759
771
  url: string;
760
772
  name: string;
@@ -766,7 +778,6 @@ export declare const WebhookDataDtoSchema: z.ZodObject<{
766
778
  cat: string;
767
779
  payload: string;
768
780
  }[];
769
- }, {
770
781
  apps: {
771
782
  status: string | number;
772
783
  url: string;
@@ -806,16 +817,5 @@ export declare const WebhookDataDtoSchema: z.ZodObject<{
806
817
  webhook: string;
807
818
  nextRetry: string;
808
819
  }[];
809
- templates: {
810
- url: string;
811
- name: string;
812
- id: string;
813
- method: string;
814
- desc: string;
815
- event: string;
816
- fields: string[];
817
- cat: string;
818
- payload: string;
819
- }[];
820
820
  }>;
821
821
  //# sourceMappingURL=settings-dtos.d.ts.map
@@ -0,0 +1,14 @@
1
+ import type { Result } from '@core/result';
2
+ import type { Logger } from '@core/logger';
3
+ import type { TenantAuthGateway, TenantDashboardStats, TenantError } from '../domain';
4
+ export interface GetTenantDashboardStatsDeps {
5
+ readonly gateway: TenantAuthGateway;
6
+ readonly logger: Logger;
7
+ }
8
+ export declare class GetTenantDashboardStatsUseCase {
9
+ private readonly gateway;
10
+ private readonly logger;
11
+ constructor(deps: GetTenantDashboardStatsDeps);
12
+ execute(): Promise<Result<TenantDashboardStats, TenantError>>;
13
+ }
14
+ //# sourceMappingURL=get-tenant-dashboard-stats.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tenant-dashboard-stats.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/get-tenant-dashboard-stats.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEtF,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,8BAA8B;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;gBAEb,IAAI,EAAE,2BAA2B;IAKvC,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;CAI3E"}
@@ -0,0 +1,11 @@
1
+ import type { Result } from '@core/result';
2
+ import type { TenantAuthGateway, TenantGeneralSettings, TenantError } from '../domain';
3
+ export interface GetTenantGeneralSettingsUseCaseDeps {
4
+ readonly gateway: TenantAuthGateway;
5
+ }
6
+ export declare class GetTenantGeneralSettingsUseCase {
7
+ private readonly gateway;
8
+ constructor(deps: GetTenantGeneralSettingsUseCaseDeps);
9
+ execute(tenantId: string): Promise<Result<TenantGeneralSettings, TenantError>>;
10
+ }
11
+ //# sourceMappingURL=get-tenant-general-settings.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tenant-general-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/get-tenant-general-settings.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEvF,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;CACrC;AAED,qBAAa,+BAA+B;IAC1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;gBAEzB,IAAI,EAAE,mCAAmC;IAI/C,OAAO,CAClB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,WAAW,CAAC,CAAC;CAGvD"}
@@ -0,0 +1,11 @@
1
+ import type { Result } from '@core/result';
2
+ import type { TenantAuthGateway, TenantItem, TenantError } from '../domain';
3
+ export interface GetTenantListUseCaseDeps {
4
+ readonly gateway: TenantAuthGateway;
5
+ }
6
+ export declare class GetTenantListUseCase {
7
+ private readonly gateway;
8
+ constructor(deps: GetTenantListUseCaseDeps);
9
+ execute(): Promise<Result<readonly TenantItem[], TenantError>>;
10
+ }
11
+ //# sourceMappingURL=get-tenant-list.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-tenant-list.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/get-tenant-list.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE5E,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;CACrC;AAED,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;gBAEzB,IAAI,EAAE,wBAAwB;IAIpC,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,SAAS,UAAU,EAAE,EAAE,WAAW,CAAC,CAAC;CAG5E"}
@@ -0,0 +1,7 @@
1
+ export * from './register-tenant.use-case';
2
+ export * from './login-tenant.use-case';
3
+ export * from './get-tenant-dashboard-stats.use-case';
4
+ export * from './get-tenant-list.use-case';
5
+ export * from './get-tenant-general-settings.use-case';
6
+ export * from './update-tenant-general-settings.use-case';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { Result } from '@core/result';
2
+ import type { Logger } from '@core/logger';
3
+ import { type TenantAuthGateway, type TenantLoginCommand, type TenantLoginResult, type TenantError } from '../domain';
4
+ export interface LoginTenantDeps {
5
+ readonly gateway: TenantAuthGateway;
6
+ readonly logger: Logger;
7
+ }
8
+ export declare class LoginTenantUseCase {
9
+ private readonly gateway;
10
+ private readonly logger;
11
+ constructor(deps: LoginTenantDeps);
12
+ execute(command: TenantLoginCommand): Promise<Result<TenantLoginResult, TenantError>>;
13
+ }
14
+ //# sourceMappingURL=login-tenant.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login-tenant.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/login-tenant.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EACjB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;gBAEb,IAAI,EAAE,eAAe;IAK3B,OAAO,CAClB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAAC,MAAM,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;CAInD"}
@@ -0,0 +1,14 @@
1
+ import type { Result } from '@core/result';
2
+ import type { Logger } from '@core/logger';
3
+ import { type TenantAuthGateway, type TenantRegisterCommand, type TenantRegisterResult, type TenantError } from '../domain';
4
+ export interface RegisterTenantDeps {
5
+ readonly gateway: TenantAuthGateway;
6
+ readonly logger: Logger;
7
+ }
8
+ export declare class RegisterTenantUseCase {
9
+ private readonly gateway;
10
+ private readonly logger;
11
+ constructor(deps: RegisterTenantDeps);
12
+ execute(command: TenantRegisterCommand): Promise<Result<TenantRegisterResult, TenantError>>;
13
+ }
14
+ //# sourceMappingURL=register-tenant.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register-tenant.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/register-tenant.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,WAAW,EACjB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;gBAEb,IAAI,EAAE,kBAAkB;IAK9B,OAAO,CAClB,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,oBAAoB,EAAE,WAAW,CAAC,CAAC;CAOtD"}
@@ -0,0 +1,11 @@
1
+ import type { Result } from '@core/result';
2
+ import type { TenantAuthGateway, TenantGeneralSettings, UpdateTenantGeneralSettingsCommand, TenantError } from '../domain';
3
+ export interface UpdateTenantGeneralSettingsUseCaseDeps {
4
+ readonly gateway: TenantAuthGateway;
5
+ }
6
+ export declare class UpdateTenantGeneralSettingsUseCase {
7
+ private readonly gateway;
8
+ constructor(deps: UpdateTenantGeneralSettingsUseCaseDeps);
9
+ execute(cmd: UpdateTenantGeneralSettingsCommand): Promise<Result<TenantGeneralSettings, TenantError>>;
10
+ }
11
+ //# sourceMappingURL=update-tenant-general-settings.use-case.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-tenant-general-settings.use-case.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/application/update-tenant-general-settings.use-case.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,kCAAkC,EAClC,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;CACrC;AAED,qBAAa,kCAAkC;IAC7C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;gBAEzB,IAAI,EAAE,sCAAsC;IAIlD,OAAO,CAClB,GAAG,EAAE,kCAAkC,GACtC,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,WAAW,CAAC,CAAC;CAGvD"}
@@ -0,0 +1,31 @@
1
+ export interface TenantKpiMetrics {
2
+ readonly totalTenants: number;
3
+ readonly activeMonitoredText: string;
4
+ readonly activeHealthyTenants: number;
5
+ readonly needAttentionTenants: number;
6
+ readonly totalEndUsers: string;
7
+ readonly userGrowthPercentage: string;
8
+ readonly systemHealth: string;
9
+ readonly slaTarget: string;
10
+ }
11
+ export interface UserGrowthDataPoint {
12
+ readonly date: string;
13
+ readonly communicationHub: number;
14
+ readonly uappPortal: number;
15
+ readonly chatUapp: number;
16
+ }
17
+ export interface UserDistributionItem {
18
+ readonly name: string;
19
+ readonly percentage: number;
20
+ readonly userCount: string;
21
+ readonly color: string;
22
+ }
23
+ export interface TenantDashboardStats {
24
+ readonly subtitle: string;
25
+ readonly kpis: TenantKpiMetrics;
26
+ readonly growthTrajectory30D: readonly UserGrowthDataPoint[];
27
+ readonly growthTrajectory90D: readonly UserGrowthDataPoint[];
28
+ readonly distribution: readonly UserDistributionItem[];
29
+ readonly totalDistributionUsers: string;
30
+ }
31
+ //# sourceMappingURL=tenant-dashboard-stats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant-dashboard-stats.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/tenant/domain/entities/tenant-dashboard-stats.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;IAChC,QAAQ,CAAC,mBAAmB,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC7D,QAAQ,CAAC,mBAAmB,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC7D,QAAQ,CAAC,YAAY,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACvD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;CACzC"}
@@ -0,0 +1,22 @@
1
+ import type { TenantStatus, TenantTier } from './tenant-item';
2
+ export interface TenantGeneralSettings {
3
+ readonly id: string;
4
+ readonly name: string;
5
+ readonly domain: string;
6
+ readonly tier: TenantTier;
7
+ readonly organizationName: string;
8
+ readonly adminNotificationEmail: string;
9
+ readonly status: TenantStatus;
10
+ readonly accentColor: string;
11
+ readonly iconType: 'comm' | 'portal' | 'chat' | 'analytics';
12
+ }
13
+ export interface UpdateTenantGeneralSettingsCommand {
14
+ readonly id: string;
15
+ readonly domain: string;
16
+ readonly tier: TenantTier;
17
+ readonly organizationName: string;
18
+ readonly adminNotificationEmail: string;
19
+ readonly status: TenantStatus;
20
+ readonly accentColor: string;
21
+ }
22
+ //# sourceMappingURL=tenant-general-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant-general-settings.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/tenant/domain/entities/tenant-general-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;CAC7D;AAED,MAAM,WAAW,kCAAkC;IACjD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B"}
@@ -0,0 +1,17 @@
1
+ export type TenantStatus = 'Active' | 'Maintenance' | 'Draft';
2
+ export type TenantTier = 'ENTERPRISE' | 'PRO' | 'STARTER';
3
+ export interface TenantItem {
4
+ readonly id: string;
5
+ readonly name: string;
6
+ readonly domain: string;
7
+ readonly status: TenantStatus;
8
+ readonly tier: TenantTier;
9
+ readonly accentColor: string;
10
+ readonly iconType: 'comm' | 'portal' | 'chat' | 'analytics';
11
+ readonly users: number;
12
+ readonly modules: number;
13
+ readonly uptime: string;
14
+ readonly createdAt: string;
15
+ readonly activeFeatures: readonly string[];
16
+ }
17
+ //# sourceMappingURL=tenant-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant-item.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/tenant/domain/entities/tenant-item.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,CAAC;AAC9D,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,KAAK,GAAG,SAAS,CAAC;AAE1D,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;IAC5D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5C"}
@@ -0,0 +1,20 @@
1
+ import { DomainError } from '@core/errors';
2
+ /** Base type for every tenant-domain failure. */
3
+ export declare abstract class TenantError extends DomainError {
4
+ }
5
+ /** Generic tenant field validation failure. */
6
+ export declare class InvalidTenantFieldError extends TenantError {
7
+ readonly code = "INVALID_TENANT_FIELD";
8
+ constructor(field: string, reason: string);
9
+ }
10
+ /** Authentication failure for tenant login. */
11
+ export declare class TenantAuthFailedError extends TenantError {
12
+ readonly code = "TENANT_AUTH_FAILED";
13
+ constructor(message?: string);
14
+ }
15
+ /** Registration failure for tenant registration. */
16
+ export declare class TenantRegistrationFailedError extends TenantError {
17
+ readonly code = "TENANT_REGISTRATION_FAILED";
18
+ constructor(message?: string);
19
+ }
20
+ //# sourceMappingURL=tenant-errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tenant-errors.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/tenant/domain/errors/tenant-errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,iDAAiD;AACjD,8BAAsB,WAAY,SAAQ,WAAW;CAAG;AAExD,+CAA+C;AAC/C,qBAAa,uBAAwB,SAAQ,WAAW;IACtD,SAAgB,IAAI,0BAA0B;gBAE3B,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;CAGjD;AAED,+CAA+C;AAC/C,qBAAa,qBAAsB,SAAQ,WAAW;IACpD,SAAgB,IAAI,wBAAwB;gBAEzB,OAAO,SAAkC;CAG7D;AAED,oDAAoD;AACpD,qBAAa,6BAA8B,SAAQ,WAAW;IAC5D,SAAgB,IAAI,gCAAgC;gBAEjC,OAAO,SAAiD;CAG5E"}
@@ -0,0 +1,7 @@
1
+ export * from './errors/tenant-errors';
2
+ export * from './value-objects';
3
+ export * from './entities/tenant-dashboard-stats';
4
+ export * from './entities/tenant-item';
5
+ export * from './entities/tenant-general-settings';
6
+ export * from './ports/tenant-auth-gateway';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tenant/domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC"}