@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
|
@@ -13598,6 +13598,10 @@ 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;
|
|
13603
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
13604
|
+
ical_url?: string | undefined;
|
|
13601
13605
|
}[] | undefined;
|
|
13602
13606
|
acs_systems?: {
|
|
13603
13607
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -34753,6 +34757,10 @@ export type Routes = {
|
|
|
34753
34757
|
default_checkout_time?: string | undefined;
|
|
34754
34758
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
34755
34759
|
time_zone?: string | undefined;
|
|
34760
|
+
/** 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. */
|
|
34761
|
+
ical_feed_origin?: string | undefined;
|
|
34762
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
34763
|
+
ical_url?: string | undefined;
|
|
34756
34764
|
};
|
|
34757
34765
|
};
|
|
34758
34766
|
maxDuration: undefined;
|
|
@@ -34932,6 +34940,10 @@ export type Routes = {
|
|
|
34932
34940
|
default_checkout_time?: string | undefined;
|
|
34933
34941
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
34934
34942
|
time_zone?: string | undefined;
|
|
34943
|
+
/** 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. */
|
|
34944
|
+
ical_feed_origin?: string | undefined;
|
|
34945
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
34946
|
+
ical_url?: string | undefined;
|
|
34935
34947
|
}[];
|
|
34936
34948
|
/** Information about the current page of results. */
|
|
34937
34949
|
pagination: {
|
|
@@ -34980,6 +34992,8 @@ export type Routes = {
|
|
|
34980
34992
|
connected_account_id: string;
|
|
34981
34993
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
34982
34994
|
automatically_manage_new_devices?: boolean | undefined;
|
|
34995
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
34996
|
+
display_name?: string | undefined;
|
|
34983
34997
|
/** 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
34998
|
custom_metadata?: {
|
|
34985
34999
|
[x: string]: string | boolean | null;
|
|
@@ -35143,6 +35157,10 @@ export type Routes = {
|
|
|
35143
35157
|
default_checkout_time?: string | undefined;
|
|
35144
35158
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
35145
35159
|
time_zone?: string | undefined;
|
|
35160
|
+
/** 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. */
|
|
35161
|
+
ical_feed_origin?: string | undefined;
|
|
35162
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
35163
|
+
ical_url?: string | undefined;
|
|
35146
35164
|
};
|
|
35147
35165
|
};
|
|
35148
35166
|
maxDuration: undefined;
|
|
@@ -76008,6 +76026,10 @@ export type Routes = {
|
|
|
76008
76026
|
default_checkout_time?: string | undefined;
|
|
76009
76027
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
76010
76028
|
time_zone?: string | undefined;
|
|
76029
|
+
/** 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. */
|
|
76030
|
+
ical_feed_origin?: string | undefined;
|
|
76031
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
76032
|
+
ical_url?: string | undefined;
|
|
76011
76033
|
}[] | undefined;
|
|
76012
76034
|
acs_systems?: {
|
|
76013
76035
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -104121,6 +104143,10 @@ export type Routes = {
|
|
|
104121
104143
|
default_checkout_time?: string | undefined;
|
|
104122
104144
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
104123
104145
|
time_zone?: string | undefined;
|
|
104146
|
+
/** 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. */
|
|
104147
|
+
ical_feed_origin?: string | undefined;
|
|
104148
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
104149
|
+
ical_url?: string | undefined;
|
|
104124
104150
|
}[] | undefined;
|
|
104125
104151
|
events?: ({
|
|
104126
104152
|
/** ID of the event. */
|
package/package.json
CHANGED
|
@@ -373,6 +373,18 @@ 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
|
+
),
|
|
382
|
+
ical_url: z
|
|
383
|
+
.string()
|
|
384
|
+
.optional()
|
|
385
|
+
.describe(
|
|
386
|
+
'For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration.',
|
|
387
|
+
),
|
|
376
388
|
}).describe(`
|
|
377
389
|
---
|
|
378
390
|
route_path: /connected_accounts
|
|
@@ -11845,6 +11845,16 @@ 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
|
+
},
|
|
11853
|
+
ical_url: {
|
|
11854
|
+
description:
|
|
11855
|
+
'For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration.',
|
|
11856
|
+
type: 'string',
|
|
11857
|
+
},
|
|
11848
11858
|
image_url: {
|
|
11849
11859
|
description: 'Logo URL for the connected account provider.',
|
|
11850
11860
|
format: 'uri',
|
|
@@ -51666,6 +51676,13 @@ const openapi: OpenAPISpec = {
|
|
|
51666
51676
|
minLength: 1,
|
|
51667
51677
|
type: 'string',
|
|
51668
51678
|
},
|
|
51679
|
+
display_name: {
|
|
51680
|
+
description:
|
|
51681
|
+
'Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.',
|
|
51682
|
+
maxLength: 255,
|
|
51683
|
+
minLength: 1,
|
|
51684
|
+
type: 'string',
|
|
51685
|
+
},
|
|
51669
51686
|
},
|
|
51670
51687
|
required: ['connected_account_id'],
|
|
51671
51688
|
type: 'object',
|
|
@@ -51761,6 +51778,13 @@ const openapi: OpenAPISpec = {
|
|
|
51761
51778
|
minLength: 1,
|
|
51762
51779
|
type: 'string',
|
|
51763
51780
|
},
|
|
51781
|
+
display_name: {
|
|
51782
|
+
description:
|
|
51783
|
+
'Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`.',
|
|
51784
|
+
maxLength: 255,
|
|
51785
|
+
minLength: 1,
|
|
51786
|
+
type: 'string',
|
|
51787
|
+
},
|
|
51764
51788
|
},
|
|
51765
51789
|
required: ['connected_account_id'],
|
|
51766
51790
|
type: 'object',
|
|
@@ -15657,6 +15657,10 @@ 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
|
|
15662
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
15663
|
+
ical_url?: string | undefined
|
|
15660
15664
|
}[]
|
|
15661
15665
|
| undefined
|
|
15662
15666
|
acs_systems?:
|
|
@@ -40412,6 +40416,10 @@ export type Routes = {
|
|
|
40412
40416
|
default_checkout_time?: string | undefined
|
|
40413
40417
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40414
40418
|
time_zone?: string | undefined
|
|
40419
|
+
/** 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. */
|
|
40420
|
+
ical_feed_origin?: string | undefined
|
|
40421
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
40422
|
+
ical_url?: string | undefined
|
|
40415
40423
|
}
|
|
40416
40424
|
}
|
|
40417
40425
|
maxDuration: undefined
|
|
@@ -40612,6 +40620,10 @@ export type Routes = {
|
|
|
40612
40620
|
default_checkout_time?: string | undefined
|
|
40613
40621
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40614
40622
|
time_zone?: string | undefined
|
|
40623
|
+
/** 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. */
|
|
40624
|
+
ical_feed_origin?: string | undefined
|
|
40625
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
40626
|
+
ical_url?: string | undefined
|
|
40615
40627
|
}[]
|
|
40616
40628
|
/** Information about the current page of results. */
|
|
40617
40629
|
pagination: {
|
|
@@ -40660,6 +40672,8 @@ export type Routes = {
|
|
|
40660
40672
|
connected_account_id: string
|
|
40661
40673
|
/** Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). */
|
|
40662
40674
|
automatically_manage_new_devices?: boolean | undefined
|
|
40675
|
+
/** Human-readable name for the connected account, shown in the dashboard. For example, `Booking from Airbnb House 1`. */
|
|
40676
|
+
display_name?: string | undefined
|
|
40663
40677
|
/** 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
40678
|
custom_metadata?:
|
|
40665
40679
|
| {
|
|
@@ -40852,6 +40866,10 @@ export type Routes = {
|
|
|
40852
40866
|
default_checkout_time?: string | undefined
|
|
40853
40867
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
40854
40868
|
time_zone?: string | undefined
|
|
40869
|
+
/** 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. */
|
|
40870
|
+
ical_feed_origin?: string | undefined
|
|
40871
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
40872
|
+
ical_url?: string | undefined
|
|
40855
40873
|
}
|
|
40856
40874
|
}
|
|
40857
40875
|
maxDuration: undefined
|
|
@@ -91302,6 +91320,10 @@ export type Routes = {
|
|
|
91302
91320
|
default_checkout_time?: string | undefined
|
|
91303
91321
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
91304
91322
|
time_zone?: string | undefined
|
|
91323
|
+
/** 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. */
|
|
91324
|
+
ical_feed_origin?: string | undefined
|
|
91325
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
91326
|
+
ical_url?: string | undefined
|
|
91305
91327
|
}[]
|
|
91306
91328
|
| undefined
|
|
91307
91329
|
acs_systems?:
|
|
@@ -124726,6 +124748,10 @@ export type Routes = {
|
|
|
124726
124748
|
default_checkout_time?: string | undefined
|
|
124727
124749
|
/** IANA time zone (e.g. America/Los_Angeles) for this connected account. Sourced from the connector configuration. */
|
|
124728
124750
|
time_zone?: string | undefined
|
|
124751
|
+
/** 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. */
|
|
124752
|
+
ical_feed_origin?: string | undefined
|
|
124753
|
+
/** For iCal connected accounts, the feed URL for the connection. Sourced from the connector configuration. */
|
|
124754
|
+
ical_url?: string | undefined
|
|
124729
124755
|
}[]
|
|
124730
124756
|
| undefined
|
|
124731
124757
|
events?:
|