@seamapi/types 1.190.0 → 1.191.0

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.
@@ -7098,13 +7098,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7098
7098
  event_type: z.ZodLiteral<"lock.locked">;
7099
7099
  access_code_id: z.ZodOptional<z.ZodString>;
7100
7100
  action_attempt_id: z.ZodOptional<z.ZodString>;
7101
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
7101
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
7102
7102
  }, "strip", z.ZodTypeAny, {
7103
7103
  device_id: string;
7104
7104
  created_at: string;
7105
7105
  workspace_id: string;
7106
7106
  connected_account_id: string;
7107
- method: "unknown" | "keycode" | "manual" | "seamapi";
7107
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7108
7108
  occurred_at: string;
7109
7109
  event_type: "lock.locked";
7110
7110
  access_code_id?: string | undefined;
@@ -7114,7 +7114,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7114
7114
  created_at: string;
7115
7115
  workspace_id: string;
7116
7116
  connected_account_id: string;
7117
- method: "unknown" | "keycode" | "manual" | "seamapi";
7117
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7118
7118
  occurred_at: string;
7119
7119
  event_type: "lock.locked";
7120
7120
  access_code_id?: string | undefined;
@@ -7128,13 +7128,13 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7128
7128
  event_type: z.ZodLiteral<"lock.unlocked">;
7129
7129
  access_code_id: z.ZodOptional<z.ZodString>;
7130
7130
  action_attempt_id: z.ZodOptional<z.ZodString>;
7131
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
7131
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
7132
7132
  }, "strip", z.ZodTypeAny, {
7133
7133
  device_id: string;
7134
7134
  created_at: string;
7135
7135
  workspace_id: string;
7136
7136
  connected_account_id: string;
7137
- method: "unknown" | "keycode" | "manual" | "seamapi";
7137
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7138
7138
  occurred_at: string;
7139
7139
  event_type: "lock.unlocked";
7140
7140
  access_code_id?: string | undefined;
@@ -7144,7 +7144,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
7144
7144
  created_at: string;
7145
7145
  workspace_id: string;
7146
7146
  connected_account_id: string;
7147
- method: "unknown" | "keycode" | "manual" | "seamapi";
7147
+ method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
7148
7148
  occurred_at: string;
7149
7149
  event_type: "lock.unlocked";
7150
7150
  access_code_id?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const lock_method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
2
+ export declare const lock_method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
3
3
  export type LockMethod = z.infer<typeof lock_method>;
4
4
  export declare const device_connected_event: z.ZodObject<{
5
5
  device_id: z.ZodString;
@@ -537,9 +537,9 @@ export declare const lock_locked_event: z.ZodObject<{
537
537
  event_type: z.ZodLiteral<"lock.locked">;
538
538
  access_code_id: z.ZodOptional<z.ZodString>;
539
539
  action_attempt_id: z.ZodOptional<z.ZodString>;
540
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
540
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
541
541
  }, "strip", z.ZodTypeAny, {
542
- method: "manual" | "unknown" | "keycode" | "seamapi";
542
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
543
543
  device_id: string;
544
544
  created_at: string;
545
545
  workspace_id: string;
@@ -549,7 +549,7 @@ export declare const lock_locked_event: z.ZodObject<{
549
549
  access_code_id?: string | undefined;
550
550
  action_attempt_id?: string | undefined;
551
551
  }, {
552
- method: "manual" | "unknown" | "keycode" | "seamapi";
552
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
553
553
  device_id: string;
554
554
  created_at: string;
555
555
  workspace_id: string;
@@ -569,9 +569,9 @@ export declare const lock_unlocked_event: z.ZodObject<{
569
569
  event_type: z.ZodLiteral<"lock.unlocked">;
570
570
  access_code_id: z.ZodOptional<z.ZodString>;
571
571
  action_attempt_id: z.ZodOptional<z.ZodString>;
572
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
572
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
573
573
  }, "strip", z.ZodTypeAny, {
574
- method: "manual" | "unknown" | "keycode" | "seamapi";
574
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
575
575
  device_id: string;
576
576
  created_at: string;
577
577
  workspace_id: string;
@@ -581,7 +581,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
581
581
  access_code_id?: string | undefined;
582
582
  action_attempt_id?: string | undefined;
583
583
  }, {
584
- method: "manual" | "unknown" | "keycode" | "seamapi";
584
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
585
585
  device_id: string;
586
586
  created_at: string;
587
587
  workspace_id: string;
@@ -1084,9 +1084,9 @@ export declare const device_events: readonly [z.ZodObject<{
1084
1084
  event_type: z.ZodLiteral<"lock.locked">;
1085
1085
  access_code_id: z.ZodOptional<z.ZodString>;
1086
1086
  action_attempt_id: z.ZodOptional<z.ZodString>;
1087
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1087
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1088
1088
  }, "strip", z.ZodTypeAny, {
1089
- method: "manual" | "unknown" | "keycode" | "seamapi";
1089
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1090
1090
  device_id: string;
1091
1091
  created_at: string;
1092
1092
  workspace_id: string;
@@ -1096,7 +1096,7 @@ export declare const device_events: readonly [z.ZodObject<{
1096
1096
  access_code_id?: string | undefined;
1097
1097
  action_attempt_id?: string | undefined;
1098
1098
  }, {
1099
- method: "manual" | "unknown" | "keycode" | "seamapi";
1099
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1100
1100
  device_id: string;
1101
1101
  created_at: string;
1102
1102
  workspace_id: string;
@@ -1114,9 +1114,9 @@ export declare const device_events: readonly [z.ZodObject<{
1114
1114
  event_type: z.ZodLiteral<"lock.unlocked">;
1115
1115
  access_code_id: z.ZodOptional<z.ZodString>;
1116
1116
  action_attempt_id: z.ZodOptional<z.ZodString>;
1117
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1117
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1118
1118
  }, "strip", z.ZodTypeAny, {
1119
- method: "manual" | "unknown" | "keycode" | "seamapi";
1119
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1120
1120
  device_id: string;
1121
1121
  created_at: string;
1122
1122
  workspace_id: string;
@@ -1126,7 +1126,7 @@ export declare const device_events: readonly [z.ZodObject<{
1126
1126
  access_code_id?: string | undefined;
1127
1127
  action_attempt_id?: string | undefined;
1128
1128
  }, {
1129
- method: "manual" | "unknown" | "keycode" | "seamapi";
1129
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1130
1130
  device_id: string;
1131
1131
  created_at: string;
1132
1132
  workspace_id: string;
@@ -37,8 +37,13 @@ const disconnection_error_code = z.enum([
37
37
  ---
38
38
  The error code associated with the event, if any.
39
39
  `);
40
- export const lock_method = z.enum(['keycode', 'manual', 'unknown', 'seamapi'])
41
- .describe(`
40
+ export const lock_method = z.enum([
41
+ 'keycode',
42
+ 'manual',
43
+ 'automatic',
44
+ 'unknown',
45
+ 'seamapi',
46
+ ]).describe(`
42
47
  ---
43
48
  title: Lock Lock/Unlock Method
44
49
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"devices.js","sourceRoot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pB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;CACX,CAAA"}
@@ -1133,9 +1133,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1133
1133
  event_type: z.ZodLiteral<"lock.locked">;
1134
1134
  access_code_id: z.ZodOptional<z.ZodString>;
1135
1135
  action_attempt_id: z.ZodOptional<z.ZodString>;
1136
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1136
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1137
1137
  }, "strip", z.ZodTypeAny, {
1138
- method: "manual" | "unknown" | "keycode" | "seamapi";
1138
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1139
1139
  device_id: string;
1140
1140
  created_at: string;
1141
1141
  workspace_id: string;
@@ -1145,7 +1145,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1145
1145
  access_code_id?: string | undefined;
1146
1146
  action_attempt_id?: string | undefined;
1147
1147
  }, {
1148
- method: "manual" | "unknown" | "keycode" | "seamapi";
1148
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1149
1149
  device_id: string;
1150
1150
  created_at: string;
1151
1151
  workspace_id: string;
@@ -1163,9 +1163,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1163
1163
  event_type: z.ZodLiteral<"lock.unlocked">;
1164
1164
  access_code_id: z.ZodOptional<z.ZodString>;
1165
1165
  action_attempt_id: z.ZodOptional<z.ZodString>;
1166
- method: z.ZodEnum<["keycode", "manual", "unknown", "seamapi"]>;
1166
+ method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
- method: "manual" | "unknown" | "keycode" | "seamapi";
1168
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1169
1169
  device_id: string;
1170
1170
  created_at: string;
1171
1171
  workspace_id: string;
@@ -1175,7 +1175,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
1175
1175
  access_code_id?: string | undefined;
1176
1176
  action_attempt_id?: string | undefined;
1177
1177
  }, {
1178
- method: "manual" | "unknown" | "keycode" | "seamapi";
1178
+ method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1179
1179
  device_id: string;
1180
1180
  created_at: string;
1181
1181
  workspace_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.190.0",
3
+ "version": "1.191.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -43,8 +43,13 @@ const disconnection_error_code = z.enum([
43
43
  The error code associated with the event, if any.
44
44
  `)
45
45
 
46
- export const lock_method = z.enum(['keycode', 'manual', 'unknown', 'seamapi'])
47
- .describe(`
46
+ export const lock_method = z.enum([
47
+ 'keycode',
48
+ 'manual',
49
+ 'automatic',
50
+ 'unknown',
51
+ 'seamapi',
52
+ ]).describe(`
48
53
  ---
49
54
  title: Lock Lock/Unlock Method
50
55
  ---