spotcharge-types 1.0.306 → 1.0.307

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.
@@ -21,5 +21,18 @@ export interface StationSearchApiModel {
21
21
  updatedAt?: number;
22
22
  businessUnitId?: string | null;
23
23
  companyId?: string | null;
24
+ /**
25
+ * Origin of the station document.
26
+ * - 'owned': a SpotCharge-operated station (default).
27
+ * - 'ocpi': a partner CPO location mirrored via OCPI roaming.
28
+ */
29
+ source?: StationSearchSource;
30
+ /** True when this is a roaming (partner) location. */
31
+ isRoaming?: boolean;
32
+ /** Owning CPO party id (OCPI), present only when source = 'ocpi'. */
33
+ ownerPartyId?: string | null;
34
+ /** Owning CPO country code (OCPI), present only when source = 'ocpi'. */
35
+ ownerCountryCode?: string | null;
24
36
  }
37
+ export type StationSearchSource = 'owned' | 'ocpi';
25
38
  //# sourceMappingURL=station-search.api.model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"station-search.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/station-search.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
1
+ {"version":3,"file":"station-search.api.model.d.ts","sourceRoot":"","sources":["../../../src/models/api/station-search.api.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE;QACH,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAC;IACT,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,sDAAsD;IACtD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spotcharge-types",
3
- "version": "1.0.306",
3
+ "version": "1.0.307",
4
4
  "description": "Spotcharge types",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -22,4 +22,18 @@ export interface StationSearchApiModel {
22
22
  updatedAt?: number;
23
23
  businessUnitId?: string | null;
24
24
  companyId?: string | null;
25
+ /**
26
+ * Origin of the station document.
27
+ * - 'owned': a SpotCharge-operated station (default).
28
+ * - 'ocpi': a partner CPO location mirrored via OCPI roaming.
29
+ */
30
+ source?: StationSearchSource;
31
+ /** True when this is a roaming (partner) location. */
32
+ isRoaming?: boolean;
33
+ /** Owning CPO party id (OCPI), present only when source = 'ocpi'. */
34
+ ownerPartyId?: string | null;
35
+ /** Owning CPO country code (OCPI), present only when source = 'ocpi'. */
36
+ ownerCountryCode?: string | null;
25
37
  }
38
+
39
+ export type StationSearchSource = 'owned' | 'ocpi';