@serviceai/api-spec 1.2.38 → 1.2.40

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.38",
5
+ "version": "1.2.40",
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.38"
117
+ "example": "1.2.40"
118
118
  },
119
119
  "minClientVersion": {
120
120
  "type": "string",
@@ -340,6 +340,14 @@
340
340
  "null"
341
341
  ]
342
342
  },
343
+ "leadSourcePartnerId": {
344
+ "type": [
345
+ "integer",
346
+ "null"
347
+ ],
348
+ "minimum": -2147483648,
349
+ "maximum": 2147483647
350
+ },
343
351
  "leadSourceOther": {
344
352
  "type": [
345
353
  "string",
@@ -4109,6 +4117,14 @@
4109
4117
  "null"
4110
4118
  ]
4111
4119
  },
4120
+ "leadSourcePartnerId": {
4121
+ "type": [
4122
+ "integer",
4123
+ "null"
4124
+ ],
4125
+ "minimum": -2147483648,
4126
+ "maximum": 2147483647
4127
+ },
4112
4128
  "leadSourceOther": {
4113
4129
  "type": [
4114
4130
  "string",
@@ -4422,6 +4438,14 @@
4422
4438
  "null"
4423
4439
  ]
4424
4440
  },
4441
+ "leadSourcePartnerId": {
4442
+ "type": [
4443
+ "integer",
4444
+ "null"
4445
+ ],
4446
+ "minimum": -2147483648,
4447
+ "maximum": 2147483647
4448
+ },
4425
4449
  "leadSourceOther": {
4426
4450
  "type": [
4427
4451
  "string",
@@ -4696,6 +4720,14 @@
4696
4720
  "null"
4697
4721
  ]
4698
4722
  },
4723
+ "leadSourcePartnerId": {
4724
+ "type": [
4725
+ "integer",
4726
+ "null"
4727
+ ],
4728
+ "minimum": -2147483648,
4729
+ "maximum": 2147483647
4730
+ },
4699
4731
  "leadSourceOther": {
4700
4732
  "type": [
4701
4733
  "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.38
4
+ version: 1.2.40
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.38
81
+ example: 1.2.40
82
82
  minClientVersion:
83
83
  type: string
84
84
  example: 1.0.0
@@ -226,6 +226,12 @@ components:
226
226
  type:
227
227
  - string
228
228
  - 'null'
229
+ leadSourcePartnerId:
230
+ type:
231
+ - integer
232
+ - 'null'
233
+ minimum: -2147483648
234
+ maximum: 2147483647
229
235
  leadSourceOther:
230
236
  type:
231
237
  - string
@@ -2621,6 +2627,12 @@ paths:
2621
2627
  type:
2622
2628
  - string
2623
2629
  - 'null'
2630
+ leadSourcePartnerId:
2631
+ type:
2632
+ - integer
2633
+ - 'null'
2634
+ minimum: -2147483648
2635
+ maximum: 2147483647
2624
2636
  leadSourceOther:
2625
2637
  type:
2626
2638
  - string
@@ -2814,6 +2826,12 @@ paths:
2814
2826
  type:
2815
2827
  - string
2816
2828
  - 'null'
2829
+ leadSourcePartnerId:
2830
+ type:
2831
+ - integer
2832
+ - 'null'
2833
+ minimum: -2147483648
2834
+ maximum: 2147483647
2817
2835
  leadSourceOther:
2818
2836
  type:
2819
2837
  - string
@@ -2992,6 +3010,12 @@ paths:
2992
3010
  type:
2993
3011
  - string
2994
3012
  - 'null'
3013
+ leadSourcePartnerId:
3014
+ type:
3015
+ - integer
3016
+ - 'null'
3017
+ minimum: -2147483648
3018
+ maximum: 2147483647
2995
3019
  leadSourceOther:
2996
3020
  type:
2997
3021
  - string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serviceai/api-spec",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
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
@@ -763,6 +763,7 @@ export interface paths {
763
763
  leadSource?: string | null;
764
764
  leadSourceReferralId?: number | null;
765
765
  leadSourceReferralUserId?: string | null;
766
+ leadSourcePartnerId?: number | null;
766
767
  leadSourceOther?: string | null;
767
768
  googleDriveCustomerFolderId?: string | null;
768
769
  cachedLat?: number | null;
@@ -834,6 +835,7 @@ export interface paths {
834
835
  leadSource?: string | null;
835
836
  leadSourceReferralId?: number | null;
836
837
  leadSourceReferralUserId?: string | null;
838
+ leadSourcePartnerId?: number | null;
837
839
  leadSourceOther?: string | null;
838
840
  googleDriveCustomerFolderId?: string | null;
839
841
  cachedLat?: number | null;
@@ -885,6 +887,7 @@ export interface paths {
885
887
  leadSource?: string | null;
886
888
  leadSourceReferralId?: number | null;
887
889
  leadSourceReferralUserId?: string | null;
890
+ leadSourcePartnerId?: number | null;
888
891
  leadSourceOther?: string | null;
889
892
  googleDriveCustomerFolderId?: string | null;
890
893
  cachedLat?: number | null;
@@ -1842,7 +1845,7 @@ export interface components {
1842
1845
  };
1843
1846
  /** @description Cross-platform version handshake manifest. See docs/api-versioning.md. */
1844
1847
  VersionManifest: {
1845
- /** @example 1.2.38 */
1848
+ /** @example 1.2.40 */
1846
1849
  apiVersion: string;
1847
1850
  /** @example 1.0.0 */
1848
1851
  minClientVersion: string;
@@ -1884,6 +1887,7 @@ export interface components {
1884
1887
  leadSource?: string | null;
1885
1888
  leadSourceReferralId?: number | null;
1886
1889
  leadSourceReferralUserId?: string | null;
1890
+ leadSourcePartnerId?: number | null;
1887
1891
  leadSourceOther?: string | null;
1888
1892
  googleDriveCustomerFolderId?: string | null;
1889
1893
  cachedLat?: number | null;