@seamapi/types 1.862.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 +19 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +22 -0
- package/dist/index.cjs +19 -0
- 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/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/openapi.ts +19 -0
- package/src/lib/seam/connect/route-types.ts +14 -0
|
@@ -13598,6 +13598,8 @@ export type Routes = {
|
|
|
13598
13598
|
default_checkout_time?: string | undefined;
|
|
13599
13599
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
13600
13600
|
time_zone?: string | undefined;
|
|
13601
|
+
/** 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. */
|
|
13602
|
+
ical_feed_origin?: string | undefined;
|
|
13601
13603
|
}[] | undefined;
|
|
13602
13604
|
acs_systems?: {
|
|
13603
13605
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -34753,6 +34755,8 @@ export type Routes = {
|
|
|
34753
34755
|
default_checkout_time?: string | undefined;
|
|
34754
34756
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
34755
34757
|
time_zone?: string | undefined;
|
|
34758
|
+
/** 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. */
|
|
34759
|
+
ical_feed_origin?: string | undefined;
|
|
34756
34760
|
};
|
|
34757
34761
|
};
|
|
34758
34762
|
maxDuration: undefined;
|
|
@@ -34932,6 +34936,8 @@ export type Routes = {
|
|
|
34932
34936
|
default_checkout_time?: string | undefined;
|
|
34933
34937
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
34934
34938
|
time_zone?: string | undefined;
|
|
34939
|
+
/** 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. */
|
|
34940
|
+
ical_feed_origin?: string | undefined;
|
|
34935
34941
|
}[];
|
|
34936
34942
|
/** Information about the current page of results. */
|
|
34937
34943
|
pagination: {
|
|
@@ -34980,6 +34986,8 @@ export type Routes = {
|
|
|
34980
34986
|
connected_account_id: string;
|
|
34981
34987
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
34982
34988
|
automatically_manage_new_devices?: boolean | undefined;
|
|
34989
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
34990
|
+
display_name?: string | undefined;
|
|
34983
34991
|
/** 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). */
|
|
34984
34992
|
custom_metadata?: {
|
|
34985
34993
|
[x: string]: string | boolean | null;
|
|
@@ -35143,6 +35151,8 @@ export type Routes = {
|
|
|
35143
35151
|
default_checkout_time?: string | undefined;
|
|
35144
35152
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
35145
35153
|
time_zone?: string | undefined;
|
|
35154
|
+
/** 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. */
|
|
35155
|
+
ical_feed_origin?: string | undefined;
|
|
35146
35156
|
};
|
|
35147
35157
|
};
|
|
35148
35158
|
maxDuration: undefined;
|
|
@@ -76008,6 +76018,8 @@ export type Routes = {
|
|
|
76008
76018
|
default_checkout_time?: string | undefined;
|
|
76009
76019
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
76010
76020
|
time_zone?: string | undefined;
|
|
76021
|
+
/** 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. */
|
|
76022
|
+
ical_feed_origin?: string | undefined;
|
|
76011
76023
|
}[] | undefined;
|
|
76012
76024
|
acs_systems?: {
|
|
76013
76025
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -104121,6 +104133,8 @@ export type Routes = {
|
|
|
104121
104133
|
default_checkout_time?: string | undefined;
|
|
104122
104134
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
104123
104135
|
time_zone?: string | undefined;
|
|
104136
|
+
/** 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. */
|
|
104137
|
+
ical_feed_origin?: string | undefined;
|
|
104124
104138
|
}[] | undefined;
|
|
104125
104139
|
events?: ({
|
|
104126
104140
|
/** ID of the event. */
|
package/package.json
CHANGED
|
@@ -373,6 +373,12 @@ export const connected_account = z.object({
|
|
|
373
373
|
.describe(
|
|
374
374
|
'IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration.',
|
|
375
375
|
),
|
|
376
|
+
ical_feed_origin: z
|
|
377
|
+
.string()
|
|
378
|
+
.optional()
|
|
379
|
+
.describe(
|
|
380
|
+
"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.",
|
|
381
|
+
),
|
|
376
382
|
}).describe(`
|
|
377
383
|
---
|
|
378
384
|
route_path: /connected_accounts
|
|
@@ -11845,6 +11845,11 @@ const openapi: OpenAPISpec = {
|
|
|
11845
11845
|
},
|
|
11846
11846
|
type: 'array',
|
|
11847
11847
|
},
|
|
11848
|
+
ical_feed_origin: {
|
|
11849
|
+
description:
|
|
11850
|
+
"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.",
|
|
11851
|
+
type: 'string',
|
|
11852
|
+
},
|
|
11848
11853
|
image_url: {
|
|
11849
11854
|
description: 'Logo URL for the connected account provider.',
|
|
11850
11855
|
format: 'uri',
|
|
@@ -51666,6 +51671,13 @@ const openapi: OpenAPISpec = {
|
|
|
51666
51671
|
minLength: 1,
|
|
51667
51672
|
type: 'string',
|
|
51668
51673
|
},
|
|
51674
|
+
display_name: {
|
|
51675
|
+
description:
|
|
51676
|
+
'Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.',
|
|
51677
|
+
maxLength: 255,
|
|
51678
|
+
minLength: 1,
|
|
51679
|
+
type: 'string',
|
|
51680
|
+
},
|
|
51669
51681
|
},
|
|
51670
51682
|
required: ['connected_account_id'],
|
|
51671
51683
|
type: 'object',
|
|
@@ -51761,6 +51773,13 @@ const openapi: OpenAPISpec = {
|
|
|
51761
51773
|
minLength: 1,
|
|
51762
51774
|
type: 'string',
|
|
51763
51775
|
},
|
|
51776
|
+
display_name: {
|
|
51777
|
+
description:
|
|
51778
|
+
'Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.',
|
|
51779
|
+
maxLength: 255,
|
|
51780
|
+
minLength: 1,
|
|
51781
|
+
type: 'string',
|
|
51782
|
+
},
|
|
51764
51783
|
},
|
|
51765
51784
|
required: ['connected_account_id'],
|
|
51766
51785
|
type: 'object',
|
|
@@ -15657,6 +15657,8 @@ export type Routes = {
|
|
|
15657
15657
|
default_checkout_time?: string | undefined
|
|
15658
15658
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
15659
15659
|
time_zone?: string | undefined
|
|
15660
|
+
/** 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. */
|
|
15661
|
+
ical_feed_origin?: string | undefined
|
|
15660
15662
|
}[]
|
|
15661
15663
|
| undefined
|
|
15662
15664
|
acs_systems?:
|
|
@@ -40412,6 +40414,8 @@ export type Routes = {
|
|
|
40412
40414
|
default_checkout_time?: string | undefined
|
|
40413
40415
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40414
40416
|
time_zone?: string | undefined
|
|
40417
|
+
/** 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. */
|
|
40418
|
+
ical_feed_origin?: string | undefined
|
|
40415
40419
|
}
|
|
40416
40420
|
}
|
|
40417
40421
|
maxDuration: undefined
|
|
@@ -40612,6 +40616,8 @@ export type Routes = {
|
|
|
40612
40616
|
default_checkout_time?: string | undefined
|
|
40613
40617
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40614
40618
|
time_zone?: string | undefined
|
|
40619
|
+
/** 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. */
|
|
40620
|
+
ical_feed_origin?: string | undefined
|
|
40615
40621
|
}[]
|
|
40616
40622
|
/** Information about the current page of results. */
|
|
40617
40623
|
pagination: {
|
|
@@ -40660,6 +40666,8 @@ export type Routes = {
|
|
|
40660
40666
|
connected_account_id: string
|
|
40661
40667
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
40662
40668
|
automatically_manage_new_devices?: boolean | undefined
|
|
40669
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
40670
|
+
display_name?: string | undefined
|
|
40663
40671
|
/** 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). */
|
|
40664
40672
|
custom_metadata?:
|
|
40665
40673
|
| {
|
|
@@ -40852,6 +40860,8 @@ export type Routes = {
|
|
|
40852
40860
|
default_checkout_time?: string | undefined
|
|
40853
40861
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40854
40862
|
time_zone?: string | undefined
|
|
40863
|
+
/** 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. */
|
|
40864
|
+
ical_feed_origin?: string | undefined
|
|
40855
40865
|
}
|
|
40856
40866
|
}
|
|
40857
40867
|
maxDuration: undefined
|
|
@@ -91302,6 +91312,8 @@ export type Routes = {
|
|
|
91302
91312
|
default_checkout_time?: string | undefined
|
|
91303
91313
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
91304
91314
|
time_zone?: string | undefined
|
|
91315
|
+
/** 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. */
|
|
91316
|
+
ical_feed_origin?: string | undefined
|
|
91305
91317
|
}[]
|
|
91306
91318
|
| undefined
|
|
91307
91319
|
acs_systems?:
|
|
@@ -124726,6 +124738,8 @@ export type Routes = {
|
|
|
124726
124738
|
default_checkout_time?: string | undefined
|
|
124727
124739
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
124728
124740
|
time_zone?: string | undefined
|
|
124741
|
+
/** 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. */
|
|
124742
|
+
ical_feed_origin?: string | undefined
|
|
124729
124743
|
}[]
|
|
124730
124744
|
| undefined
|
|
124731
124745
|
events?:
|