@seamapi/types 1.861.0 → 1.863.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 +22 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +22 -0
- package/dist/index.cjs +22 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +5 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +4 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +16 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +6 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +19 -0
- package/src/lib/seam/connect/route-types.ts +14 -0
package/dist/connect.d.cts
CHANGED
|
@@ -18141,6 +18141,7 @@ declare const batch: z.ZodObject<{
|
|
|
18141
18141
|
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
18142
18142
|
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
18143
18143
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
18144
|
+
ical_feed_origin: z.ZodOptional<z.ZodString>;
|
|
18144
18145
|
}, "strip", z.ZodTypeAny, {
|
|
18145
18146
|
display_name: string;
|
|
18146
18147
|
errors: ({
|
|
@@ -18222,6 +18223,7 @@ declare const batch: z.ZodObject<{
|
|
|
18222
18223
|
default_checkin_time?: string | undefined;
|
|
18223
18224
|
default_checkout_time?: string | undefined;
|
|
18224
18225
|
time_zone?: string | undefined;
|
|
18226
|
+
ical_feed_origin?: string | undefined;
|
|
18225
18227
|
}, {
|
|
18226
18228
|
display_name: string;
|
|
18227
18229
|
errors: ({
|
|
@@ -18303,6 +18305,7 @@ declare const batch: z.ZodObject<{
|
|
|
18303
18305
|
default_checkin_time?: string | undefined;
|
|
18304
18306
|
default_checkout_time?: string | undefined;
|
|
18305
18307
|
time_zone?: string | undefined;
|
|
18308
|
+
ical_feed_origin?: string | undefined;
|
|
18306
18309
|
}>, "many">>;
|
|
18307
18310
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18308
18311
|
acs_system_id: z.ZodString;
|
|
@@ -40673,6 +40676,7 @@ declare const batch: z.ZodObject<{
|
|
|
40673
40676
|
default_checkin_time?: string | undefined;
|
|
40674
40677
|
default_checkout_time?: string | undefined;
|
|
40675
40678
|
time_zone?: string | undefined;
|
|
40679
|
+
ical_feed_origin?: string | undefined;
|
|
40676
40680
|
}[] | undefined;
|
|
40677
40681
|
acs_entrances?: {
|
|
40678
40682
|
display_name: string;
|
|
@@ -45773,6 +45777,7 @@ declare const batch: z.ZodObject<{
|
|
|
45773
45777
|
default_checkin_time?: string | undefined;
|
|
45774
45778
|
default_checkout_time?: string | undefined;
|
|
45775
45779
|
time_zone?: string | undefined;
|
|
45780
|
+
ical_feed_origin?: string | undefined;
|
|
45776
45781
|
}[] | undefined;
|
|
45777
45782
|
acs_entrances?: {
|
|
45778
45783
|
display_name: string;
|
|
@@ -50726,6 +50731,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
50726
50731
|
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
50727
50732
|
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
50728
50733
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
50734
|
+
ical_feed_origin: z.ZodOptional<z.ZodString>;
|
|
50729
50735
|
}, "strip", z.ZodTypeAny, {
|
|
50730
50736
|
display_name: string;
|
|
50731
50737
|
errors: ({
|
|
@@ -50807,6 +50813,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
50807
50813
|
default_checkin_time?: string | undefined;
|
|
50808
50814
|
default_checkout_time?: string | undefined;
|
|
50809
50815
|
time_zone?: string | undefined;
|
|
50816
|
+
ical_feed_origin?: string | undefined;
|
|
50810
50817
|
}, {
|
|
50811
50818
|
display_name: string;
|
|
50812
50819
|
errors: ({
|
|
@@ -50888,6 +50895,7 @@ declare const connected_account: z.ZodObject<{
|
|
|
50888
50895
|
default_checkin_time?: string | undefined;
|
|
50889
50896
|
default_checkout_time?: string | undefined;
|
|
50890
50897
|
time_zone?: string | undefined;
|
|
50898
|
+
ical_feed_origin?: string | undefined;
|
|
50891
50899
|
}>;
|
|
50892
50900
|
type ConnectedAccount = z.infer<typeof connected_account>;
|
|
50893
50901
|
|
|
@@ -79216,6 +79224,8 @@ type Routes = {
|
|
|
79216
79224
|
default_checkout_time?: string | undefined;
|
|
79217
79225
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
79218
79226
|
time_zone?: string | undefined;
|
|
79227
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
79228
|
+
ical_feed_origin?: string | undefined;
|
|
79219
79229
|
}[] | undefined;
|
|
79220
79230
|
acs_systems?: {
|
|
79221
79231
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -100371,6 +100381,8 @@ type Routes = {
|
|
|
100371
100381
|
default_checkout_time?: string | undefined;
|
|
100372
100382
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100373
100383
|
time_zone?: string | undefined;
|
|
100384
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
100385
|
+
ical_feed_origin?: string | undefined;
|
|
100374
100386
|
};
|
|
100375
100387
|
};
|
|
100376
100388
|
maxDuration: undefined;
|
|
@@ -100550,6 +100562,8 @@ type Routes = {
|
|
|
100550
100562
|
default_checkout_time?: string | undefined;
|
|
100551
100563
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100552
100564
|
time_zone?: string | undefined;
|
|
100565
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
100566
|
+
ical_feed_origin?: string | undefined;
|
|
100553
100567
|
}[];
|
|
100554
100568
|
/** Information about the current page of results. */
|
|
100555
100569
|
pagination: {
|
|
@@ -100598,6 +100612,8 @@ type Routes = {
|
|
|
100598
100612
|
connected_account_id: string;
|
|
100599
100613
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
100600
100614
|
automatically_manage_new_devices?: boolean | undefined;
|
|
100615
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
100616
|
+
display_name?: string | undefined;
|
|
100601
100617
|
/** Custom metadata that you want to associate with the connected account. Entirely replaces the existing custom metadata object. If a new Connect Webview contains custom metadata and is used to reconnect a connected account, the custom metadata from the Connect Webview will entirely replace the entire custom metadata object on the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
|
|
100602
100618
|
custom_metadata?: {
|
|
100603
100619
|
[x: string]: string | boolean | null;
|
|
@@ -100761,6 +100777,8 @@ type Routes = {
|
|
|
100761
100777
|
default_checkout_time?: string | undefined;
|
|
100762
100778
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100763
100779
|
time_zone?: string | undefined;
|
|
100780
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
100781
|
+
ical_feed_origin?: string | undefined;
|
|
100764
100782
|
};
|
|
100765
100783
|
};
|
|
100766
100784
|
maxDuration: undefined;
|
|
@@ -141626,6 +141644,8 @@ type Routes = {
|
|
|
141626
141644
|
default_checkout_time?: string | undefined;
|
|
141627
141645
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
141628
141646
|
time_zone?: string | undefined;
|
|
141647
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
141648
|
+
ical_feed_origin?: string | undefined;
|
|
141629
141649
|
}[] | undefined;
|
|
141630
141650
|
acs_systems?: {
|
|
141631
141651
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -169739,6 +169759,8 @@ type Routes = {
|
|
|
169739
169759
|
default_checkout_time?: string | undefined;
|
|
169740
169760
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
169741
169761
|
time_zone?: string | undefined;
|
|
169762
|
+
/** For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo. */
|
|
169763
|
+
ical_feed_origin?: string | undefined;
|
|
169742
169764
|
}[] | undefined;
|
|
169743
169765
|
events?: ({
|
|
169744
169766
|
/** ID of the event. */
|
package/dist/index.cjs
CHANGED
|
@@ -765,6 +765,9 @@ var connected_account = zod.z.object({
|
|
|
765
765
|
),
|
|
766
766
|
time_zone: zod.z.string().optional().describe(
|
|
767
767
|
"IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration."
|
|
768
|
+
),
|
|
769
|
+
ical_feed_origin: zod.z.string().optional().describe(
|
|
770
|
+
"For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo."
|
|
768
771
|
)
|
|
769
772
|
}).describe(`
|
|
770
773
|
---
|
|
@@ -2063,7 +2066,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2063
2066
|
"dormakaba_oracode",
|
|
2064
2067
|
"ring",
|
|
2065
2068
|
"first_alert",
|
|
2066
|
-
"korelock"
|
|
2069
|
+
"korelock",
|
|
2070
|
+
"omnitec"
|
|
2067
2071
|
],
|
|
2068
2072
|
consumer_smartlocks: [
|
|
2069
2073
|
"akiles",
|
|
@@ -2082,7 +2086,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2082
2086
|
"dormakaba_oracode",
|
|
2083
2087
|
"korelock"
|
|
2084
2088
|
],
|
|
2085
|
-
beta: [
|
|
2089
|
+
beta: [],
|
|
2086
2090
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
|
|
2087
2091
|
noise_sensors: ["minut", "noiseaware"],
|
|
2088
2092
|
access_control_systems: [
|
|
@@ -17545,6 +17549,10 @@ var openapi = {
|
|
|
17545
17549
|
},
|
|
17546
17550
|
type: "array"
|
|
17547
17551
|
},
|
|
17552
|
+
ical_feed_origin: {
|
|
17553
|
+
description: "For iCal connected accounts, the platform that produced the feed (for example, `airbnb`, `vrbo`, or `booking`), or `unknown` when it could not be determined. Intended for rendering the source platform's logo.",
|
|
17554
|
+
type: "string"
|
|
17555
|
+
},
|
|
17548
17556
|
image_url: {
|
|
17549
17557
|
description: "Logo URL for the connected account provider.",
|
|
17550
17558
|
format: "uri",
|
|
@@ -53913,6 +53921,12 @@ var openapi = {
|
|
|
53913
53921
|
description: "The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. May only be provided if the connected account is not already associated with a customer.",
|
|
53914
53922
|
minLength: 1,
|
|
53915
53923
|
type: "string"
|
|
53924
|
+
},
|
|
53925
|
+
display_name: {
|
|
53926
|
+
description: "Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.",
|
|
53927
|
+
maxLength: 255,
|
|
53928
|
+
minLength: 1,
|
|
53929
|
+
type: "string"
|
|
53916
53930
|
}
|
|
53917
53931
|
},
|
|
53918
53932
|
required: ["connected_account_id"],
|
|
@@ -54001,6 +54015,12 @@ var openapi = {
|
|
|
54001
54015
|
description: "The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. May only be provided if the connected account is not already associated with a customer.",
|
|
54002
54016
|
minLength: 1,
|
|
54003
54017
|
type: "string"
|
|
54018
|
+
},
|
|
54019
|
+
display_name: {
|
|
54020
|
+
description: "Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.",
|
|
54021
|
+
maxLength: 255,
|
|
54022
|
+
minLength: 1,
|
|
54023
|
+
type: "string"
|
|
54004
54024
|
}
|
|
54005
54025
|
},
|
|
54006
54026
|
required: ["connected_account_id"],
|