@seamapi/types 1.895.0 → 1.896.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.
- package/dist/connect.cjs +9 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +18 -18
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +20 -20
- package/lib/seam/connect/models/events/access-codes.js +2 -2
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
- package/lib/seam/connect/openapi.js +7 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +8 -8
- package/src/lib/seam/connect/route-types.ts +8 -8
package/dist/connect.d.cts
CHANGED
|
@@ -24683,16 +24683,16 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
24683
24683
|
event_type: z.ZodLiteral<"access_code.changed">;
|
|
24684
24684
|
changed_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24685
24685
|
property: z.ZodString;
|
|
24686
|
-
|
|
24687
|
-
|
|
24686
|
+
from: z.ZodNullable<z.ZodString>;
|
|
24687
|
+
to: z.ZodNullable<z.ZodString>;
|
|
24688
24688
|
}, "strip", z.ZodTypeAny, {
|
|
24689
|
+
from: string | null;
|
|
24690
|
+
to: string | null;
|
|
24689
24691
|
property: string;
|
|
24690
|
-
previous_value: string | null;
|
|
24691
|
-
new_value: string | null;
|
|
24692
24692
|
}, {
|
|
24693
|
+
from: string | null;
|
|
24694
|
+
to: string | null;
|
|
24693
24695
|
property: string;
|
|
24694
|
-
previous_value: string | null;
|
|
24695
|
-
new_value: string | null;
|
|
24696
24696
|
}>, "many">>;
|
|
24697
24697
|
change_reason: z.ZodOptional<z.ZodString>;
|
|
24698
24698
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24707,9 +24707,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
24707
24707
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24708
24708
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24709
24709
|
changed_properties?: {
|
|
24710
|
+
from: string | null;
|
|
24711
|
+
to: string | null;
|
|
24710
24712
|
property: string;
|
|
24711
|
-
previous_value: string | null;
|
|
24712
|
-
new_value: string | null;
|
|
24713
24713
|
}[] | undefined;
|
|
24714
24714
|
change_reason?: string | undefined;
|
|
24715
24715
|
}, {
|
|
@@ -24724,9 +24724,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
24724
24724
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24725
24725
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24726
24726
|
changed_properties?: {
|
|
24727
|
+
from: string | null;
|
|
24728
|
+
to: string | null;
|
|
24727
24729
|
property: string;
|
|
24728
|
-
previous_value: string | null;
|
|
24729
|
-
new_value: string | null;
|
|
24730
24730
|
}[] | undefined;
|
|
24731
24731
|
change_reason?: string | undefined;
|
|
24732
24732
|
}>, z.ZodObject<{
|
|
@@ -76321,9 +76321,9 @@ type Routes = {
|
|
|
76321
76321
|
/** Name of the property that changed (e.g. `code`). */
|
|
76322
76322
|
property: string;
|
|
76323
76323
|
/** Previous value of the property, or null if not set. */
|
|
76324
|
-
|
|
76324
|
+
from: string | null;
|
|
76325
76325
|
/** New value of the property, or null if cleared. */
|
|
76326
|
-
|
|
76326
|
+
to: string | null;
|
|
76327
76327
|
}[] | undefined;
|
|
76328
76328
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
76329
76329
|
change_reason?: string | undefined;
|
|
@@ -79178,9 +79178,9 @@ type Routes = {
|
|
|
79178
79178
|
/** Name of the property that changed (e.g. `code`). */
|
|
79179
79179
|
property: string;
|
|
79180
79180
|
/** Previous value of the property, or null if not set. */
|
|
79181
|
-
|
|
79181
|
+
from: string | null;
|
|
79182
79182
|
/** New value of the property, or null if cleared. */
|
|
79183
|
-
|
|
79183
|
+
to: string | null;
|
|
79184
79184
|
}[] | undefined;
|
|
79185
79185
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
79186
79186
|
change_reason?: string | undefined;
|
|
@@ -107478,9 +107478,9 @@ type Routes = {
|
|
|
107478
107478
|
/** Name of the property that changed (e.g. `code`). */
|
|
107479
107479
|
property: string;
|
|
107480
107480
|
/** Previous value of the property, or null if not set. */
|
|
107481
|
-
|
|
107481
|
+
from: string | null;
|
|
107482
107482
|
/** New value of the property, or null if cleared. */
|
|
107483
|
-
|
|
107483
|
+
to: string | null;
|
|
107484
107484
|
}[] | undefined;
|
|
107485
107485
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
107486
107486
|
change_reason?: string | undefined;
|
|
@@ -144013,9 +144013,9 @@ type Routes = {
|
|
|
144013
144013
|
/** Name of the property that changed (e.g. `code`). */
|
|
144014
144014
|
property: string;
|
|
144015
144015
|
/** Previous value of the property, or null if not set. */
|
|
144016
|
-
|
|
144016
|
+
from: string | null;
|
|
144017
144017
|
/** New value of the property, or null if cleared. */
|
|
144018
|
-
|
|
144018
|
+
to: string | null;
|
|
144019
144019
|
}[] | undefined;
|
|
144020
144020
|
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
144021
144021
|
change_reason?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -5544,8 +5544,8 @@ var access_code_changed_event = access_code_event.extend({
|
|
|
5544
5544
|
changed_properties: zod.z.array(
|
|
5545
5545
|
zod.z.object({
|
|
5546
5546
|
property: zod.z.string().describe("Name of the property that changed (e.g. `code`)."),
|
|
5547
|
-
|
|
5548
|
-
|
|
5547
|
+
from: zod.z.string().nullable().describe("Previous value of the property, or null if not set."),
|
|
5548
|
+
to: zod.z.string().nullable().describe("New value of the property, or null if cleared.")
|
|
5549
5549
|
})
|
|
5550
5550
|
).optional().describe("List of properties that changed on the access code."),
|
|
5551
5551
|
change_reason: zod.z.string().optional().describe(
|
|
@@ -23073,12 +23073,7 @@ var openapi = {
|
|
|
23073
23073
|
description: "List of properties that changed on the access code.",
|
|
23074
23074
|
items: {
|
|
23075
23075
|
properties: {
|
|
23076
|
-
|
|
23077
|
-
description: "New value of the property, or null if cleared.",
|
|
23078
|
-
nullable: true,
|
|
23079
|
-
type: "string"
|
|
23080
|
-
},
|
|
23081
|
-
previous_value: {
|
|
23076
|
+
from: {
|
|
23082
23077
|
description: "Previous value of the property, or null if not set.",
|
|
23083
23078
|
nullable: true,
|
|
23084
23079
|
type: "string"
|
|
@@ -23086,9 +23081,14 @@ var openapi = {
|
|
|
23086
23081
|
property: {
|
|
23087
23082
|
description: "Name of the property that changed (e.g. `code`).",
|
|
23088
23083
|
type: "string"
|
|
23084
|
+
},
|
|
23085
|
+
to: {
|
|
23086
|
+
description: "New value of the property, or null if cleared.",
|
|
23087
|
+
nullable: true,
|
|
23088
|
+
type: "string"
|
|
23089
23089
|
}
|
|
23090
23090
|
},
|
|
23091
|
-
required: ["property", "
|
|
23091
|
+
required: ["property", "from", "to"],
|
|
23092
23092
|
type: "object"
|
|
23093
23093
|
},
|
|
23094
23094
|
type: "array"
|