@serviceai/api-spec 1.2.230 → 1.2.232
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 +61 -2
- package/openapi.yaml +37 -2
- package/package.json +1 -1
- package/types.d.ts +8 -1
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.
|
|
5
|
+
"version": "1.2.232",
|
|
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.
|
|
117
|
+
"example": "1.2.232"
|
|
118
118
|
},
|
|
119
119
|
"minClientVersion": {
|
|
120
120
|
"type": "string",
|
|
@@ -348,6 +348,14 @@
|
|
|
348
348
|
"minimum": -2147483648,
|
|
349
349
|
"maximum": 2147483647
|
|
350
350
|
},
|
|
351
|
+
"leadSourceVendorId": {
|
|
352
|
+
"type": [
|
|
353
|
+
"integer",
|
|
354
|
+
"null"
|
|
355
|
+
],
|
|
356
|
+
"minimum": -2147483648,
|
|
357
|
+
"maximum": 2147483647
|
|
358
|
+
},
|
|
351
359
|
"leadSourceOther": {
|
|
352
360
|
"type": [
|
|
353
361
|
"string",
|
|
@@ -660,6 +668,33 @@
|
|
|
660
668
|
"minimum": -2147483648,
|
|
661
669
|
"maximum": 2147483647
|
|
662
670
|
},
|
|
671
|
+
"appendAnchor": {
|
|
672
|
+
"anyOf": [
|
|
673
|
+
{
|
|
674
|
+
"type": "string"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"type": "number"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"type": "boolean"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"type": "null"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"type": "object",
|
|
687
|
+
"additionalProperties": {}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"type": "array",
|
|
691
|
+
"items": {}
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"type": "null"
|
|
695
|
+
}
|
|
696
|
+
]
|
|
697
|
+
},
|
|
663
698
|
"doorwayLinks": {
|
|
664
699
|
"anyOf": [
|
|
665
700
|
{
|
|
@@ -4140,6 +4175,14 @@
|
|
|
4140
4175
|
"minimum": -2147483648,
|
|
4141
4176
|
"maximum": 2147483647
|
|
4142
4177
|
},
|
|
4178
|
+
"leadSourceVendorId": {
|
|
4179
|
+
"type": [
|
|
4180
|
+
"integer",
|
|
4181
|
+
"null"
|
|
4182
|
+
],
|
|
4183
|
+
"minimum": -2147483648,
|
|
4184
|
+
"maximum": 2147483647
|
|
4185
|
+
},
|
|
4143
4186
|
"leadSourceOther": {
|
|
4144
4187
|
"type": [
|
|
4145
4188
|
"string",
|
|
@@ -4461,6 +4504,14 @@
|
|
|
4461
4504
|
"minimum": -2147483648,
|
|
4462
4505
|
"maximum": 2147483647
|
|
4463
4506
|
},
|
|
4507
|
+
"leadSourceVendorId": {
|
|
4508
|
+
"type": [
|
|
4509
|
+
"integer",
|
|
4510
|
+
"null"
|
|
4511
|
+
],
|
|
4512
|
+
"minimum": -2147483648,
|
|
4513
|
+
"maximum": 2147483647
|
|
4514
|
+
},
|
|
4464
4515
|
"leadSourceOther": {
|
|
4465
4516
|
"type": [
|
|
4466
4517
|
"string",
|
|
@@ -4743,6 +4794,14 @@
|
|
|
4743
4794
|
"minimum": -2147483648,
|
|
4744
4795
|
"maximum": 2147483647
|
|
4745
4796
|
},
|
|
4797
|
+
"leadSourceVendorId": {
|
|
4798
|
+
"type": [
|
|
4799
|
+
"integer",
|
|
4800
|
+
"null"
|
|
4801
|
+
],
|
|
4802
|
+
"minimum": -2147483648,
|
|
4803
|
+
"maximum": 2147483647
|
|
4804
|
+
},
|
|
4746
4805
|
"leadSourceOther": {
|
|
4747
4806
|
"type": [
|
|
4748
4807
|
"string",
|
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.
|
|
4
|
+
version: 1.2.232
|
|
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.
|
|
81
|
+
example: 1.2.232
|
|
82
82
|
minClientVersion:
|
|
83
83
|
type: string
|
|
84
84
|
example: 1.0.0
|
|
@@ -232,6 +232,12 @@ components:
|
|
|
232
232
|
- 'null'
|
|
233
233
|
minimum: -2147483648
|
|
234
234
|
maximum: 2147483647
|
|
235
|
+
leadSourceVendorId:
|
|
236
|
+
type:
|
|
237
|
+
- integer
|
|
238
|
+
- 'null'
|
|
239
|
+
minimum: -2147483648
|
|
240
|
+
maximum: 2147483647
|
|
235
241
|
leadSourceOther:
|
|
236
242
|
type:
|
|
237
243
|
- string
|
|
@@ -433,6 +439,17 @@ components:
|
|
|
433
439
|
- 'null'
|
|
434
440
|
minimum: -2147483648
|
|
435
441
|
maximum: 2147483647
|
|
442
|
+
appendAnchor:
|
|
443
|
+
anyOf:
|
|
444
|
+
- type: string
|
|
445
|
+
- type: number
|
|
446
|
+
- type: boolean
|
|
447
|
+
- type: 'null'
|
|
448
|
+
- type: object
|
|
449
|
+
additionalProperties: {}
|
|
450
|
+
- type: array
|
|
451
|
+
items: {}
|
|
452
|
+
- type: 'null'
|
|
436
453
|
doorwayLinks:
|
|
437
454
|
anyOf:
|
|
438
455
|
- type: string
|
|
@@ -2643,6 +2660,12 @@ paths:
|
|
|
2643
2660
|
- 'null'
|
|
2644
2661
|
minimum: -2147483648
|
|
2645
2662
|
maximum: 2147483647
|
|
2663
|
+
leadSourceVendorId:
|
|
2664
|
+
type:
|
|
2665
|
+
- integer
|
|
2666
|
+
- 'null'
|
|
2667
|
+
minimum: -2147483648
|
|
2668
|
+
maximum: 2147483647
|
|
2646
2669
|
leadSourceOther:
|
|
2647
2670
|
type:
|
|
2648
2671
|
- string
|
|
@@ -2842,6 +2865,12 @@ paths:
|
|
|
2842
2865
|
- 'null'
|
|
2843
2866
|
minimum: -2147483648
|
|
2844
2867
|
maximum: 2147483647
|
|
2868
|
+
leadSourceVendorId:
|
|
2869
|
+
type:
|
|
2870
|
+
- integer
|
|
2871
|
+
- 'null'
|
|
2872
|
+
minimum: -2147483648
|
|
2873
|
+
maximum: 2147483647
|
|
2845
2874
|
leadSourceOther:
|
|
2846
2875
|
type:
|
|
2847
2876
|
- string
|
|
@@ -3026,6 +3055,12 @@ paths:
|
|
|
3026
3055
|
- 'null'
|
|
3027
3056
|
minimum: -2147483648
|
|
3028
3057
|
maximum: 2147483647
|
|
3058
|
+
leadSourceVendorId:
|
|
3059
|
+
type:
|
|
3060
|
+
- integer
|
|
3061
|
+
- 'null'
|
|
3062
|
+
minimum: -2147483648
|
|
3063
|
+
maximum: 2147483647
|
|
3029
3064
|
leadSourceOther:
|
|
3030
3065
|
type:
|
|
3031
3066
|
- string
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -764,6 +764,7 @@ export interface paths {
|
|
|
764
764
|
leadSourceReferralId?: number | null;
|
|
765
765
|
leadSourceReferralUserId?: string | null;
|
|
766
766
|
leadSourcePartnerId?: number | null;
|
|
767
|
+
leadSourceVendorId?: number | null;
|
|
767
768
|
leadSourceOther?: string | null;
|
|
768
769
|
googleDriveCustomerFolderId?: string | null;
|
|
769
770
|
cachedLat?: number | null;
|
|
@@ -836,6 +837,7 @@ export interface paths {
|
|
|
836
837
|
leadSourceReferralId?: number | null;
|
|
837
838
|
leadSourceReferralUserId?: string | null;
|
|
838
839
|
leadSourcePartnerId?: number | null;
|
|
840
|
+
leadSourceVendorId?: number | null;
|
|
839
841
|
leadSourceOther?: string | null;
|
|
840
842
|
googleDriveCustomerFolderId?: string | null;
|
|
841
843
|
cachedLat?: number | null;
|
|
@@ -888,6 +890,7 @@ export interface paths {
|
|
|
888
890
|
leadSourceReferralId?: number | null;
|
|
889
891
|
leadSourceReferralUserId?: string | null;
|
|
890
892
|
leadSourcePartnerId?: number | null;
|
|
893
|
+
leadSourceVendorId?: number | null;
|
|
891
894
|
leadSourceOther?: string | null;
|
|
892
895
|
googleDriveCustomerFolderId?: string | null;
|
|
893
896
|
cachedLat?: number | null;
|
|
@@ -1845,7 +1848,7 @@ export interface components {
|
|
|
1845
1848
|
};
|
|
1846
1849
|
/** @description Cross-platform version handshake manifest. See docs/api-versioning.md. */
|
|
1847
1850
|
VersionManifest: {
|
|
1848
|
-
/** @example 1.2.
|
|
1851
|
+
/** @example 1.2.232 */
|
|
1849
1852
|
apiVersion: string;
|
|
1850
1853
|
/** @example 1.0.0 */
|
|
1851
1854
|
minClientVersion: string;
|
|
@@ -1888,6 +1891,7 @@ export interface components {
|
|
|
1888
1891
|
leadSourceReferralId?: number | null;
|
|
1889
1892
|
leadSourceReferralUserId?: string | null;
|
|
1890
1893
|
leadSourcePartnerId?: number | null;
|
|
1894
|
+
leadSourceVendorId?: number | null;
|
|
1891
1895
|
leadSourceOther?: string | null;
|
|
1892
1896
|
googleDriveCustomerFolderId?: string | null;
|
|
1893
1897
|
cachedLat?: number | null;
|
|
@@ -1941,6 +1945,9 @@ export interface components {
|
|
|
1941
1945
|
[key: string]: unknown;
|
|
1942
1946
|
} | unknown[];
|
|
1943
1947
|
parentScanId?: number | null;
|
|
1948
|
+
appendAnchor?: string | number | boolean | null | {
|
|
1949
|
+
[key: string]: unknown;
|
|
1950
|
+
} | unknown[];
|
|
1944
1951
|
/** @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
1952
|
doorwayLinks?: string | number | boolean | null | {
|
|
1946
1953
|
[key: string]: unknown;
|