clarion-shared-types 1.0.77 → 1.0.79

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.
@@ -1 +1 @@
1
- {"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,WAAW;CAYvB;AAZD,kCAYC"}
1
+ {"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,WAAW;CAkBvB;AAlBD,kCAkBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register.dto.ts"],"names":[],"mappings":"AAKA,MAAM,OAAO,WAAW;CAYvB"}
1
+ {"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../../../src/modules/auth/dtos/register.dto.ts"],"names":[],"mappings":"AAMA,MAAM,OAAO,WAAW;CAkBvB"}
@@ -1,4 +1,5 @@
1
1
  import { MapAddress } from "../../common";
2
+ import { CountryCode } from "../../country";
2
3
  import { IncidentClass } from "../../incident";
3
4
  import { OrganizationType } from "../../organization";
4
5
  import { Roles } from "../../role";
@@ -14,4 +15,10 @@ export declare class RegisterDto {
14
15
  orgAddress: MapAddress;
15
16
  orgWebsite: string;
16
17
  orgType: OrganizationType;
18
+ /**
19
+ * Primary operating country of the organization being registered
20
+ * (ISO 3166-1 alpha-2: KE/UG/TZ). Optional — the backend defaults it to KE.
21
+ * Distinct from the phone/account country and from user.countryCode.
22
+ */
23
+ orgCountryCode?: CountryCode;
17
24
  }
@@ -1,5 +1,6 @@
1
1
  import { ContactPerson, MapAddress } from "../../common";
2
2
  import { ControlCentre } from "../../control-centre";
3
+ import { CountryCode } from "../../country";
3
4
  import { IncidentAppId, IncidentClass } from "../../incident";
4
5
  import { OrganizationType } from "../enums/org-type.enum";
5
6
  import { OrganizationSLA } from "./organization-sla";
@@ -13,6 +14,12 @@ export interface Organization {
13
14
  physicalAddress: MapAddress;
14
15
  website: string;
15
16
  type: OrganizationType;
17
+ /**
18
+ * Primary operating country/market of the organization (ISO 3166-1 alpha-2:
19
+ * KE/UG/TZ). Optional for backward compatibility; the backend backfills/
20
+ * defaults it to KE, so persisted organizations always carry one.
21
+ */
22
+ countryCode?: CountryCode;
16
23
  description?: string;
17
24
  status?: string;
18
25
  logo?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",