@serviceai/api-spec 1.2.411 → 1.2.412

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.411",
5
+ "version": "1.2.412",
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",
@@ -122,7 +122,7 @@
122
122
  "properties": {
123
123
  "apiVersion": {
124
124
  "type": "string",
125
- "example": "1.2.411"
125
+ "example": "1.2.412"
126
126
  },
127
127
  "minClientVersion": {
128
128
  "type": "string",
@@ -4230,7 +4230,8 @@
4230
4230
  "work",
4231
4231
  "on_call",
4232
4232
  "off",
4233
- "pto"
4233
+ "pto",
4234
+ "sick"
4234
4235
  ],
4235
4236
  "description": "'on_call' never sets a clock-in deadline — on call means reachable, not at work."
4236
4237
  },
@@ -4306,6 +4307,7 @@
4306
4307
  "type": "string",
4307
4308
  "enum": [
4308
4309
  "pto",
4310
+ "sick",
4309
4311
  "off"
4310
4312
  ]
4311
4313
  },
@@ -9907,6 +9909,7 @@
9907
9909
  "type": "string",
9908
9910
  "enum": [
9909
9911
  "pto",
9912
+ "sick",
9910
9913
  "off"
9911
9914
  ]
9912
9915
  },
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.411
4
+ version: 1.2.412
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
@@ -87,7 +87,7 @@ components:
87
87
  properties:
88
88
  apiVersion:
89
89
  type: string
90
- example: 1.2.411
90
+ example: 1.2.412
91
91
  minClientVersion:
92
92
  type: string
93
93
  example: 1.0.0
@@ -2878,6 +2878,7 @@ components:
2878
2878
  - on_call
2879
2879
  - 'off'
2880
2880
  - pto
2881
+ - sick
2881
2882
  description: '''on_call'' never sets a clock-in deadline — on call means reachable, not at work.'
2882
2883
  note:
2883
2884
  type:
@@ -2934,6 +2935,7 @@ components:
2934
2935
  type: string
2935
2936
  enum: &ref_7
2936
2937
  - pto
2938
+ - sick
2937
2939
  - 'off'
2938
2940
  startDate:
2939
2941
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serviceai/api-spec",
3
- "version": "1.2.411",
3
+ "version": "1.2.412",
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
@@ -3332,7 +3332,7 @@ export interface paths {
3332
3332
  content: {
3333
3333
  "application/json": {
3334
3334
  /** @enum {string} */
3335
- kind: "pto" | "off";
3335
+ kind: "pto" | "sick" | "off";
3336
3336
  /** Format: date */
3337
3337
  startDate: string;
3338
3338
  /** Format: date */
@@ -3419,7 +3419,7 @@ export interface components {
3419
3419
  };
3420
3420
  /** @description Cross-platform version handshake manifest. See docs/api-versioning.md. */
3421
3421
  VersionManifest: {
3422
- /** @example 1.2.411 */
3422
+ /** @example 1.2.412 */
3423
3423
  apiVersion: string;
3424
3424
  /** @example 1.0.0 */
3425
3425
  minClientVersion: string;
@@ -4328,7 +4328,7 @@ export interface components {
4328
4328
  * @description 'on_call' never sets a clock-in deadline — on call means reachable, not at work.
4329
4329
  * @enum {string}
4330
4330
  */
4331
- kind: "work" | "on_call" | "off" | "pto";
4331
+ kind: "work" | "on_call" | "off" | "pto" | "sick";
4332
4332
  note: string | null;
4333
4333
  /**
4334
4334
  * Format: date-time
@@ -4348,7 +4348,7 @@ export interface components {
4348
4348
  /** @enum {string} */
4349
4349
  status: "pending" | "approved" | "rejected";
4350
4350
  /** @enum {string} */
4351
- kind: "pto" | "off";
4351
+ kind: "pto" | "sick" | "off";
4352
4352
  /** Format: date */
4353
4353
  startDate: string;
4354
4354
  /** Format: date */