@serviceai/api-spec 1.2.230 → 1.2.231

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.
package/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "ServiceAi API",
5
- "version": "1.2.230",
5
+ "version": "1.2.231",
6
6
  "description": "Source-of-truth API contract for ServiceAi. Generated from `shared/schema.ts` Zod schemas by `scripts/build-api-spec.ts`. Versioning policy: see `docs/api-versioning.md`. The hand-written docs/ios-contract.md and docs/lidar-mobile-upload-contract.md are human-readable design notes only — this spec is the canonical wire contract.",
7
7
  "license": {
8
8
  "name": "Proprietary",
@@ -114,7 +114,7 @@
114
114
  "properties": {
115
115
  "apiVersion": {
116
116
  "type": "string",
117
- "example": "1.2.230"
117
+ "example": "1.2.231"
118
118
  },
119
119
  "minClientVersion": {
120
120
  "type": "string",
@@ -660,6 +660,33 @@
660
660
  "minimum": -2147483648,
661
661
  "maximum": 2147483647
662
662
  },
663
+ "appendAnchor": {
664
+ "anyOf": [
665
+ {
666
+ "type": "string"
667
+ },
668
+ {
669
+ "type": "number"
670
+ },
671
+ {
672
+ "type": "boolean"
673
+ },
674
+ {
675
+ "type": "null"
676
+ },
677
+ {
678
+ "type": "object",
679
+ "additionalProperties": {}
680
+ },
681
+ {
682
+ "type": "array",
683
+ "items": {}
684
+ },
685
+ {
686
+ "type": "null"
687
+ }
688
+ ]
689
+ },
663
690
  "doorwayLinks": {
664
691
  "anyOf": [
665
692
  {
package/openapi.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  openapi: 3.1.0
2
2
  info:
3
3
  title: ServiceAi API
4
- version: 1.2.230
4
+ version: 1.2.231
5
5
  description: >-
6
6
  Source-of-truth API contract for ServiceAi. Generated from `shared/schema.ts` Zod schemas by
7
7
  `scripts/build-api-spec.ts`. Versioning policy: see `docs/api-versioning.md`. The hand-written docs/ios-contract.md
@@ -78,7 +78,7 @@ components:
78
78
  properties:
79
79
  apiVersion:
80
80
  type: string
81
- example: 1.2.230
81
+ example: 1.2.231
82
82
  minClientVersion:
83
83
  type: string
84
84
  example: 1.0.0
@@ -433,6 +433,17 @@ components:
433
433
  - 'null'
434
434
  minimum: -2147483648
435
435
  maximum: 2147483647
436
+ appendAnchor:
437
+ anyOf:
438
+ - type: string
439
+ - type: number
440
+ - type: boolean
441
+ - type: 'null'
442
+ - type: object
443
+ additionalProperties: {}
444
+ - type: array
445
+ items: {}
446
+ - type: 'null'
436
447
  doorwayLinks:
437
448
  anyOf:
438
449
  - type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serviceai/api-spec",
3
- "version": "1.2.230",
3
+ "version": "1.2.231",
4
4
  "description": "ServiceAi OpenAPI 3.1 contract + generated TS types. Auto-published from the desktop repo.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -1845,7 +1845,7 @@ export interface components {
1845
1845
  };
1846
1846
  /** @description Cross-platform version handshake manifest. See docs/api-versioning.md. */
1847
1847
  VersionManifest: {
1848
- /** @example 1.2.230 */
1848
+ /** @example 1.2.231 */
1849
1849
  apiVersion: string;
1850
1850
  /** @example 1.0.0 */
1851
1851
  minClientVersion: string;
@@ -1941,6 +1941,9 @@ export interface components {
1941
1941
  [key: string]: unknown;
1942
1942
  } | unknown[];
1943
1943
  parentScanId?: number | null;
1944
+ appendAnchor?: string | number | boolean | null | {
1945
+ [key: string]: unknown;
1946
+ } | unknown[];
1944
1947
  /** @description Persisted append-room doorway links on a composite scan. Each link carries both a `sourceOpeningKind` (the appended child scan's entry side — always `door` in practice, since iOS does not capture openings on a single-room append payload) and a `targetOpeningKind` (`door` or `opening`) that controls kind-specific resolution against the parent scan: a link with `targetOpeningKind: "door"` indexes into the target room's `doors[]`, a link with `targetOpeningKind: "opening"` indexes into the target room's `openings[]`. The two arrays are never folded together. Windows are not traversable and never appear here. */
1945
1948
  doorwayLinks?: string | number | boolean | null | {
1946
1949
  [key: string]: unknown;