@seamapi/types 1.905.0 → 1.907.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 +20 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +33 -0
- package/dist/index.cjs +20 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +16 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js +2 -0
- package/lib/seam/connect/models/customization-profiles/customization-profile.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +6 -0
- package/lib/seam/connect/models/events/devices.js +5 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.js +13 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customization-profiles/customization-profile.ts +2 -0
- package/src/lib/seam/connect/models/events/devices.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +14 -0
- package/src/lib/seam/connect/route-types.ts +20 -0
package/dist/connect.d.cts
CHANGED
|
@@ -15322,16 +15322,22 @@ declare const customization_profile: z.ZodObject<{
|
|
|
15322
15322
|
primary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
15323
15323
|
secondary_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
15324
15324
|
secondary_foreground_color: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
15325
|
+
font_family: z.ZodOptional<z.ZodString>;
|
|
15326
|
+
mono_font_family: z.ZodOptional<z.ZodString>;
|
|
15325
15327
|
}, "strip", z.ZodTypeAny, {
|
|
15326
15328
|
primary_color?: string | undefined;
|
|
15327
15329
|
primary_foreground_color?: string | undefined;
|
|
15328
15330
|
secondary_color?: string | undefined;
|
|
15329
15331
|
secondary_foreground_color?: string | undefined;
|
|
15332
|
+
font_family?: string | undefined;
|
|
15333
|
+
mono_font_family?: string | undefined;
|
|
15330
15334
|
}, {
|
|
15331
15335
|
primary_color?: string | undefined;
|
|
15332
15336
|
primary_foreground_color?: string | undefined;
|
|
15333
15337
|
secondary_color?: string | undefined;
|
|
15334
15338
|
secondary_foreground_color?: string | undefined;
|
|
15339
|
+
font_family?: string | undefined;
|
|
15340
|
+
mono_font_family?: string | undefined;
|
|
15335
15341
|
}>>;
|
|
15336
15342
|
}, "strip", z.ZodTypeAny, {
|
|
15337
15343
|
name: string | null;
|
|
@@ -15346,6 +15352,8 @@ declare const customization_profile: z.ZodObject<{
|
|
|
15346
15352
|
primary_foreground_color?: string | undefined;
|
|
15347
15353
|
secondary_color?: string | undefined;
|
|
15348
15354
|
secondary_foreground_color?: string | undefined;
|
|
15355
|
+
font_family?: string | undefined;
|
|
15356
|
+
mono_font_family?: string | undefined;
|
|
15349
15357
|
} | undefined;
|
|
15350
15358
|
}, {
|
|
15351
15359
|
name: string | null;
|
|
@@ -15360,6 +15368,8 @@ declare const customization_profile: z.ZodObject<{
|
|
|
15360
15368
|
primary_foreground_color?: string | undefined;
|
|
15361
15369
|
secondary_color?: string | undefined;
|
|
15362
15370
|
secondary_foreground_color?: string | undefined;
|
|
15371
|
+
font_family?: string | undefined;
|
|
15372
|
+
mono_font_family?: string | undefined;
|
|
15363
15373
|
} | undefined;
|
|
15364
15374
|
}>;
|
|
15365
15375
|
type CustomizationProfile = z.infer<typeof customization_profile>;
|
|
@@ -28106,6 +28116,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28106
28116
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
28107
28117
|
} & {
|
|
28108
28118
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
28119
|
+
device_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28109
28120
|
}, "strip", z.ZodTypeAny, {
|
|
28110
28121
|
device_id: string;
|
|
28111
28122
|
workspace_id: string;
|
|
@@ -28115,6 +28126,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28115
28126
|
occurred_at: string;
|
|
28116
28127
|
event_type: "device.deleted";
|
|
28117
28128
|
customer_key?: string | undefined;
|
|
28129
|
+
device_name?: string | null | undefined;
|
|
28118
28130
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28119
28131
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28120
28132
|
}, {
|
|
@@ -28126,6 +28138,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28126
28138
|
occurred_at: string;
|
|
28127
28139
|
event_type: "device.deleted";
|
|
28128
28140
|
customer_key?: string | undefined;
|
|
28141
|
+
device_name?: string | null | undefined;
|
|
28129
28142
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28130
28143
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28131
28144
|
}>, z.ZodObject<{
|
|
@@ -78243,6 +78256,8 @@ type Routes = {
|
|
|
78243
78256
|
[x: string]: string | boolean;
|
|
78244
78257
|
} | undefined;
|
|
78245
78258
|
event_type: 'device.deleted';
|
|
78259
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
78260
|
+
device_name?: (string | null) | undefined;
|
|
78246
78261
|
} | {
|
|
78247
78262
|
/** ID of the event. */
|
|
78248
78263
|
event_id: string;
|
|
@@ -81100,6 +81115,8 @@ type Routes = {
|
|
|
81100
81115
|
[x: string]: string | boolean;
|
|
81101
81116
|
} | undefined;
|
|
81102
81117
|
event_type: 'device.deleted';
|
|
81118
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
81119
|
+
device_name?: (string | null) | undefined;
|
|
81103
81120
|
} | {
|
|
81104
81121
|
/** ID of the event. */
|
|
81105
81122
|
event_id: string;
|
|
@@ -109589,6 +109606,8 @@ type Routes = {
|
|
|
109589
109606
|
[x: string]: string | boolean;
|
|
109590
109607
|
} | undefined;
|
|
109591
109608
|
event_type: 'device.deleted';
|
|
109609
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
109610
|
+
device_name?: (string | null) | undefined;
|
|
109592
109611
|
} | {
|
|
109593
109612
|
/** ID of the event. */
|
|
109594
109613
|
event_id: string;
|
|
@@ -138899,6 +138918,8 @@ type Routes = {
|
|
|
138899
138918
|
primary_foreground_color?: string | undefined;
|
|
138900
138919
|
secondary_color?: string | undefined;
|
|
138901
138920
|
secondary_foreground_color?: string | undefined;
|
|
138921
|
+
font_family?: string | undefined;
|
|
138922
|
+
mono_font_family?: string | undefined;
|
|
138902
138923
|
} | undefined;
|
|
138903
138924
|
};
|
|
138904
138925
|
commonParams: {};
|
|
@@ -138918,6 +138939,8 @@ type Routes = {
|
|
|
138918
138939
|
primary_foreground_color?: string | undefined;
|
|
138919
138940
|
secondary_color?: string | undefined;
|
|
138920
138941
|
secondary_foreground_color?: string | undefined;
|
|
138942
|
+
font_family?: string | undefined;
|
|
138943
|
+
mono_font_family?: string | undefined;
|
|
138921
138944
|
} | undefined;
|
|
138922
138945
|
};
|
|
138923
138946
|
};
|
|
@@ -138947,6 +138970,8 @@ type Routes = {
|
|
|
138947
138970
|
primary_foreground_color?: string | undefined;
|
|
138948
138971
|
secondary_color?: string | undefined;
|
|
138949
138972
|
secondary_foreground_color?: string | undefined;
|
|
138973
|
+
font_family?: string | undefined;
|
|
138974
|
+
mono_font_family?: string | undefined;
|
|
138950
138975
|
} | undefined;
|
|
138951
138976
|
};
|
|
138952
138977
|
};
|
|
@@ -138976,6 +139001,8 @@ type Routes = {
|
|
|
138976
139001
|
primary_foreground_color?: string | undefined;
|
|
138977
139002
|
secondary_color?: string | undefined;
|
|
138978
139003
|
secondary_foreground_color?: string | undefined;
|
|
139004
|
+
font_family?: string | undefined;
|
|
139005
|
+
mono_font_family?: string | undefined;
|
|
138979
139006
|
} | undefined;
|
|
138980
139007
|
}[];
|
|
138981
139008
|
};
|
|
@@ -138995,6 +139022,8 @@ type Routes = {
|
|
|
138995
139022
|
primary_foreground_color?: string | undefined;
|
|
138996
139023
|
secondary_color?: string | undefined;
|
|
138997
139024
|
secondary_foreground_color?: string | undefined;
|
|
139025
|
+
font_family?: string | undefined;
|
|
139026
|
+
mono_font_family?: string | undefined;
|
|
138998
139027
|
} | undefined) | null;
|
|
138999
139028
|
};
|
|
139000
139029
|
commonParams: {};
|
|
@@ -146244,6 +146273,8 @@ type Routes = {
|
|
|
146244
146273
|
[x: string]: string | boolean;
|
|
146245
146274
|
} | undefined;
|
|
146246
146275
|
event_type: 'device.deleted';
|
|
146276
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
146277
|
+
device_name?: (string | null) | undefined;
|
|
146247
146278
|
} | {
|
|
146248
146279
|
/** ID of the event. */
|
|
146249
146280
|
event_id: string;
|
|
@@ -148704,6 +148735,8 @@ type Routes = {
|
|
|
148704
148735
|
primary_foreground_color?: string | undefined;
|
|
148705
148736
|
secondary_color?: string | undefined;
|
|
148706
148737
|
secondary_foreground_color?: string | undefined;
|
|
148738
|
+
font_family?: string | undefined;
|
|
148739
|
+
mono_font_family?: string | undefined;
|
|
148707
148740
|
} | undefined;
|
|
148708
148741
|
}[] | undefined;
|
|
148709
148742
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -5465,7 +5465,9 @@ var customer_portal_theme = zod.z.object({
|
|
|
5465
5465
|
primary_color: hex_color_code.optional(),
|
|
5466
5466
|
primary_foreground_color: hex_color_code.optional(),
|
|
5467
5467
|
secondary_color: hex_color_code.optional(),
|
|
5468
|
-
secondary_foreground_color: hex_color_code.optional()
|
|
5468
|
+
secondary_foreground_color: hex_color_code.optional(),
|
|
5469
|
+
font_family: zod.z.string().optional(),
|
|
5470
|
+
mono_font_family: zod.z.string().optional()
|
|
5469
5471
|
});
|
|
5470
5472
|
var customization_profile = zod.z.object({
|
|
5471
5473
|
workspace_id: zod.z.string().uuid(),
|
|
@@ -6397,7 +6399,10 @@ var device_removed_event = device_event.extend({
|
|
|
6397
6399
|
A [device](https://docs.seam.co/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/core-concepts/connected-accounts).
|
|
6398
6400
|
`);
|
|
6399
6401
|
var device_deleted_event = device_event.extend({
|
|
6400
|
-
event_type: zod.z.literal("device.deleted")
|
|
6402
|
+
event_type: zod.z.literal("device.deleted"),
|
|
6403
|
+
device_name: zod.z.string().nullable().optional().describe(
|
|
6404
|
+
"Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name."
|
|
6405
|
+
)
|
|
6401
6406
|
}).describe(`
|
|
6402
6407
|
---
|
|
6403
6408
|
route_path: /devices
|
|
@@ -19007,6 +19012,8 @@ var openapi = {
|
|
|
19007
19012
|
created_at: { format: "date-time", type: "string" },
|
|
19008
19013
|
customer_portal_theme: {
|
|
19009
19014
|
properties: {
|
|
19015
|
+
font_family: { type: "string" },
|
|
19016
|
+
mono_font_family: { type: "string" },
|
|
19010
19017
|
primary_color: { type: "string" },
|
|
19011
19018
|
primary_foreground_color: { type: "string" },
|
|
19012
19019
|
secondary_color: { type: "string" },
|
|
@@ -28582,6 +28589,11 @@ var openapi = {
|
|
|
28582
28589
|
format: "uuid",
|
|
28583
28590
|
type: "string"
|
|
28584
28591
|
},
|
|
28592
|
+
device_name: {
|
|
28593
|
+
description: "Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.",
|
|
28594
|
+
nullable: true,
|
|
28595
|
+
type: "string"
|
|
28596
|
+
},
|
|
28585
28597
|
event_id: {
|
|
28586
28598
|
description: "ID of the event.",
|
|
28587
28599
|
format: "uuid",
|
|
@@ -87858,6 +87870,8 @@ var openapi = {
|
|
|
87858
87870
|
properties: {
|
|
87859
87871
|
customer_portal_theme: {
|
|
87860
87872
|
properties: {
|
|
87873
|
+
font_family: { type: "string" },
|
|
87874
|
+
mono_font_family: { type: "string" },
|
|
87861
87875
|
primary_color: { type: "string" },
|
|
87862
87876
|
primary_foreground_color: { type: "string" },
|
|
87863
87877
|
secondary_color: { type: "string" },
|
|
@@ -88135,6 +88149,8 @@ var openapi = {
|
|
|
88135
88149
|
customer_portal_theme: {
|
|
88136
88150
|
nullable: true,
|
|
88137
88151
|
properties: {
|
|
88152
|
+
font_family: { type: "string" },
|
|
88153
|
+
mono_font_family: { type: "string" },
|
|
88138
88154
|
primary_color: { type: "string" },
|
|
88139
88155
|
primary_foreground_color: { type: "string" },
|
|
88140
88156
|
secondary_color: { type: "string" },
|
|
@@ -88194,6 +88210,8 @@ var openapi = {
|
|
|
88194
88210
|
customer_portal_theme: {
|
|
88195
88211
|
nullable: true,
|
|
88196
88212
|
properties: {
|
|
88213
|
+
font_family: { type: "string" },
|
|
88214
|
+
mono_font_family: { type: "string" },
|
|
88197
88215
|
primary_color: { type: "string" },
|
|
88198
88216
|
primary_foreground_color: { type: "string" },
|
|
88199
88217
|
secondary_color: { type: "string" },
|