@seamapi/types 1.862.0 → 1.864.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 +26 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +42 -0
- package/dist/index.cjs +26 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +6 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +8 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +24 -0
- package/src/lib/seam/connect/route-types.ts +26 -0
package/dist/connect.d.cts
CHANGED
|
@@ -18141,6 +18141,8 @@ 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>;
|
|
18145
|
+
ical_url: z.ZodOptional<z.ZodString>;
|
|
18144
18146
|
}, "strip", z.ZodTypeAny, {
|
|
18145
18147
|
display_name: string;
|
|
18146
18148
|
errors: ({
|
|
@@ -18222,6 +18224,8 @@ declare const batch: z.ZodObject<{
|
|
|
18222
18224
|
default_checkin_time?: string | undefined;
|
|
18223
18225
|
default_checkout_time?: string | undefined;
|
|
18224
18226
|
time_zone?: string | undefined;
|
|
18227
|
+
ical_feed_origin?: string | undefined;
|
|
18228
|
+
ical_url?: string | undefined;
|
|
18225
18229
|
}, {
|
|
18226
18230
|
display_name: string;
|
|
18227
18231
|
errors: ({
|
|
@@ -18303,6 +18307,8 @@ declare const batch: z.ZodObject<{
|
|
|
18303
18307
|
default_checkin_time?: string | undefined;
|
|
18304
18308
|
default_checkout_time?: string | undefined;
|
|
18305
18309
|
time_zone?: string | undefined;
|
|
18310
|
+
ical_feed_origin?: string | undefined;
|
|
18311
|
+
ical_url?: string | undefined;
|
|
18306
18312
|
}>, "many">>;
|
|
18307
18313
|
acs_entrances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18308
18314
|
acs_system_id: z.ZodString;
|
|
@@ -40673,6 +40679,8 @@ declare const batch: z.ZodObject<{
|
|
|
40673
40679
|
default_checkin_time?: string | undefined;
|
|
40674
40680
|
default_checkout_time?: string | undefined;
|
|
40675
40681
|
time_zone?: string | undefined;
|
|
40682
|
+
ical_feed_origin?: string | undefined;
|
|
40683
|
+
ical_url?: string | undefined;
|
|
40676
40684
|
}[] | undefined;
|
|
40677
40685
|
acs_entrances?: {
|
|
40678
40686
|
display_name: string;
|
|
@@ -45773,6 +45781,8 @@ declare const batch: z.ZodObject<{
|
|
|
45773
45781
|
default_checkin_time?: string | undefined;
|
|
45774
45782
|
default_checkout_time?: string | undefined;
|
|
45775
45783
|
time_zone?: string | undefined;
|
|
45784
|
+
ical_feed_origin?: string | undefined;
|
|
45785
|
+
ical_url?: string | undefined;
|
|
45776
45786
|
}[] | undefined;
|
|
45777
45787
|
acs_entrances?: {
|
|
45778
45788
|
display_name: string;
|
|
@@ -50726,6 +50736,8 @@ declare const connected_account: z.ZodObject<{
|
|
|
50726
50736
|
default_checkin_time: z.ZodOptional<z.ZodString>;
|
|
50727
50737
|
default_checkout_time: z.ZodOptional<z.ZodString>;
|
|
50728
50738
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
50739
|
+
ical_feed_origin: z.ZodOptional<z.ZodString>;
|
|
50740
|
+
ical_url: z.ZodOptional<z.ZodString>;
|
|
50729
50741
|
}, "strip", z.ZodTypeAny, {
|
|
50730
50742
|
display_name: string;
|
|
50731
50743
|
errors: ({
|
|
@@ -50807,6 +50819,8 @@ declare const connected_account: z.ZodObject<{
|
|
|
50807
50819
|
default_checkin_time?: string | undefined;
|
|
50808
50820
|
default_checkout_time?: string | undefined;
|
|
50809
50821
|
time_zone?: string | undefined;
|
|
50822
|
+
ical_feed_origin?: string | undefined;
|
|
50823
|
+
ical_url?: string | undefined;
|
|
50810
50824
|
}, {
|
|
50811
50825
|
display_name: string;
|
|
50812
50826
|
errors: ({
|
|
@@ -50888,6 +50902,8 @@ declare const connected_account: z.ZodObject<{
|
|
|
50888
50902
|
default_checkin_time?: string | undefined;
|
|
50889
50903
|
default_checkout_time?: string | undefined;
|
|
50890
50904
|
time_zone?: string | undefined;
|
|
50905
|
+
ical_feed_origin?: string | undefined;
|
|
50906
|
+
ical_url?: string | undefined;
|
|
50891
50907
|
}>;
|
|
50892
50908
|
type ConnectedAccount = z.infer<typeof connected_account>;
|
|
50893
50909
|
|
|
@@ -79216,6 +79232,10 @@ type Routes = {
|
|
|
79216
79232
|
default_checkout_time?: string | undefined;
|
|
79217
79233
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
79218
79234
|
time_zone?: string | undefined;
|
|
79235
|
+
/** 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. */
|
|
79236
|
+
ical_feed_origin?: string | undefined;
|
|
79237
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
79238
|
+
ical_url?: string | undefined;
|
|
79219
79239
|
}[] | undefined;
|
|
79220
79240
|
acs_systems?: {
|
|
79221
79241
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -100371,6 +100391,10 @@ type Routes = {
|
|
|
100371
100391
|
default_checkout_time?: string | undefined;
|
|
100372
100392
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100373
100393
|
time_zone?: string | undefined;
|
|
100394
|
+
/** 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. */
|
|
100395
|
+
ical_feed_origin?: string | undefined;
|
|
100396
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
100397
|
+
ical_url?: string | undefined;
|
|
100374
100398
|
};
|
|
100375
100399
|
};
|
|
100376
100400
|
maxDuration: undefined;
|
|
@@ -100550,6 +100574,10 @@ type Routes = {
|
|
|
100550
100574
|
default_checkout_time?: string | undefined;
|
|
100551
100575
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100552
100576
|
time_zone?: string | undefined;
|
|
100577
|
+
/** 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. */
|
|
100578
|
+
ical_feed_origin?: string | undefined;
|
|
100579
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
100580
|
+
ical_url?: string | undefined;
|
|
100553
100581
|
}[];
|
|
100554
100582
|
/** Information about the current page of results. */
|
|
100555
100583
|
pagination: {
|
|
@@ -100598,6 +100626,8 @@ type Routes = {
|
|
|
100598
100626
|
connected_account_id: string;
|
|
100599
100627
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
100600
100628
|
automatically_manage_new_devices?: boolean | undefined;
|
|
100629
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
100630
|
+
display_name?: string | undefined;
|
|
100601
100631
|
/** 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
100632
|
custom_metadata?: {
|
|
100603
100633
|
[x: string]: string | boolean | null;
|
|
@@ -100761,6 +100791,10 @@ type Routes = {
|
|
|
100761
100791
|
default_checkout_time?: string | undefined;
|
|
100762
100792
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
100763
100793
|
time_zone?: string | undefined;
|
|
100794
|
+
/** 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. */
|
|
100795
|
+
ical_feed_origin?: string | undefined;
|
|
100796
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
100797
|
+
ical_url?: string | undefined;
|
|
100764
100798
|
};
|
|
100765
100799
|
};
|
|
100766
100800
|
maxDuration: undefined;
|
|
@@ -141626,6 +141660,10 @@ type Routes = {
|
|
|
141626
141660
|
default_checkout_time?: string | undefined;
|
|
141627
141661
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
141628
141662
|
time_zone?: string | undefined;
|
|
141663
|
+
/** 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. */
|
|
141664
|
+
ical_feed_origin?: string | undefined;
|
|
141665
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
141666
|
+
ical_url?: string | undefined;
|
|
141629
141667
|
}[] | undefined;
|
|
141630
141668
|
acs_systems?: {
|
|
141631
141669
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -169739,6 +169777,10 @@ type Routes = {
|
|
|
169739
169777
|
default_checkout_time?: string | undefined;
|
|
169740
169778
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
169741
169779
|
time_zone?: string | undefined;
|
|
169780
|
+
/** 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. */
|
|
169781
|
+
ical_feed_origin?: string | undefined;
|
|
169782
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
169783
|
+
ical_url?: string | undefined;
|
|
169742
169784
|
}[] | undefined;
|
|
169743
169785
|
events?: ({
|
|
169744
169786
|
/** ID of the event. */
|
package/dist/index.cjs
CHANGED
|
@@ -765,6 +765,12 @@ 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."
|
|
771
|
+
),
|
|
772
|
+
ical_url: zod.z.string().optional().describe(
|
|
773
|
+
"For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration."
|
|
768
774
|
)
|
|
769
775
|
}).describe(`
|
|
770
776
|
---
|
|
@@ -17546,6 +17552,14 @@ var openapi = {
|
|
|
17546
17552
|
},
|
|
17547
17553
|
type: "array"
|
|
17548
17554
|
},
|
|
17555
|
+
ical_feed_origin: {
|
|
17556
|
+
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.",
|
|
17557
|
+
type: "string"
|
|
17558
|
+
},
|
|
17559
|
+
ical_url: {
|
|
17560
|
+
description: "For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration.",
|
|
17561
|
+
type: "string"
|
|
17562
|
+
},
|
|
17549
17563
|
image_url: {
|
|
17550
17564
|
description: "Logo URL for the connected account provider.",
|
|
17551
17565
|
format: "uri",
|
|
@@ -53914,6 +53928,12 @@ var openapi = {
|
|
|
53914
53928
|
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.",
|
|
53915
53929
|
minLength: 1,
|
|
53916
53930
|
type: "string"
|
|
53931
|
+
},
|
|
53932
|
+
display_name: {
|
|
53933
|
+
description: "Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.",
|
|
53934
|
+
maxLength: 255,
|
|
53935
|
+
minLength: 1,
|
|
53936
|
+
type: "string"
|
|
53917
53937
|
}
|
|
53918
53938
|
},
|
|
53919
53939
|
required: ["connected_account_id"],
|
|
@@ -54002,6 +54022,12 @@ var openapi = {
|
|
|
54002
54022
|
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.",
|
|
54003
54023
|
minLength: 1,
|
|
54004
54024
|
type: "string"
|
|
54025
|
+
},
|
|
54026
|
+
display_name: {
|
|
54027
|
+
description: "Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.",
|
|
54028
|
+
maxLength: 255,
|
|
54029
|
+
minLength: 1,
|
|
54030
|
+
type: "string"
|
|
54005
54031
|
}
|
|
54006
54032
|
},
|
|
54007
54033
|
required: ["connected_account_id"],
|