@seamapi/types 1.598.0 → 1.600.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 +243 -76
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +377 -107
- package/dist/index.cjs +243 -76
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +26 -92
- package/lib/seam/connect/models/customer/customer-portal.js +15 -16
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +296 -83
- package/lib/seam/connect/openapi.js +243 -76
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +81 -24
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +19 -18
- package/src/lib/seam/connect/openapi.ts +249 -85
- package/src/lib/seam/connect/route-types.ts +85 -24
|
@@ -36535,24 +36535,20 @@ export type Routes = {
|
|
|
36535
36535
|
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
36536
36536
|
excluded_providers?: string[] | undefined
|
|
36537
36537
|
}
|
|
36538
|
-
/** Configuration for the manage
|
|
36539
|
-
|
|
36538
|
+
/** Configuration for the manage feature. */
|
|
36539
|
+
manage?: {
|
|
36540
36540
|
/** Whether to exclude this feature from the portal. */
|
|
36541
36541
|
exclude?: boolean
|
|
36542
|
-
/**
|
|
36543
|
-
|
|
36544
|
-
/** Indicates whether the customer can view reservations for their properties. */
|
|
36545
|
-
exclude?: boolean
|
|
36546
|
-
}
|
|
36542
|
+
/** Indicates whether the customer can manage reservations for their properties. */
|
|
36543
|
+
exclude_reservation_management?: boolean
|
|
36547
36544
|
}
|
|
36548
|
-
/** Configuration for the manage devices feature.
|
|
36545
|
+
/** Configuration for the manage devices feature.
|
|
36546
|
+
---
|
|
36547
|
+
deprecated: Use `manage` instead.
|
|
36548
|
+
--- */
|
|
36549
36549
|
manage_devices?: {
|
|
36550
36550
|
/** Whether to exclude this feature from the portal. */
|
|
36551
36551
|
exclude?: boolean
|
|
36552
|
-
/** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
|
|
36553
|
-
accepted_providers?: string[] | undefined
|
|
36554
|
-
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
36555
|
-
excluded_providers?: string[] | undefined
|
|
36556
36552
|
}
|
|
36557
36553
|
/** Configuration for the organize feature. */
|
|
36558
36554
|
organize?: {
|
|
@@ -67363,6 +67359,62 @@ export type Routes = {
|
|
|
67363
67359
|
formData: {}
|
|
67364
67360
|
jsonResponse: {}
|
|
67365
67361
|
}
|
|
67362
|
+
'/seam/customer/v1/connectors/create': {
|
|
67363
|
+
route: '/seam/customer/v1/connectors/create'
|
|
67364
|
+
method: 'POST'
|
|
67365
|
+
queryParams: {}
|
|
67366
|
+
jsonBody: {
|
|
67367
|
+
/** Type of connector to create */
|
|
67368
|
+
connector_type: 'mews' | 'mock'
|
|
67369
|
+
/** Key identifying the customer */
|
|
67370
|
+
customer_key: string
|
|
67371
|
+
/** Instance-specific configuration for the connector */
|
|
67372
|
+
config:
|
|
67373
|
+
| {
|
|
67374
|
+
client_token: string
|
|
67375
|
+
access_token: string
|
|
67376
|
+
client: string
|
|
67377
|
+
enterprise_ids?: string[] | undefined
|
|
67378
|
+
}
|
|
67379
|
+
| {}
|
|
67380
|
+
}
|
|
67381
|
+
commonParams: {}
|
|
67382
|
+
formData: {}
|
|
67383
|
+
jsonResponse: {
|
|
67384
|
+
connector: {
|
|
67385
|
+
connector_id: string
|
|
67386
|
+
connector_type: string
|
|
67387
|
+
status: 'active' | 'inactive' | 'error'
|
|
67388
|
+
webhook_subscription?:
|
|
67389
|
+
| {
|
|
67390
|
+
subscription_id: string
|
|
67391
|
+
webhook_url: string
|
|
67392
|
+
events: string[]
|
|
67393
|
+
status: 'active' | 'inactive' | 'error'
|
|
67394
|
+
}
|
|
67395
|
+
| undefined
|
|
67396
|
+
error?: string | undefined
|
|
67397
|
+
}
|
|
67398
|
+
}
|
|
67399
|
+
}
|
|
67400
|
+
'/seam/customer/v1/connectors/sync': {
|
|
67401
|
+
route: '/seam/customer/v1/connectors/sync'
|
|
67402
|
+
method: 'POST'
|
|
67403
|
+
queryParams: {}
|
|
67404
|
+
jsonBody: {}
|
|
67405
|
+
commonParams: {
|
|
67406
|
+
/** ID of the connector to sync */
|
|
67407
|
+
connector_id: string
|
|
67408
|
+
}
|
|
67409
|
+
formData: {}
|
|
67410
|
+
jsonResponse: {
|
|
67411
|
+
connector_sync: {
|
|
67412
|
+
connector_id: string
|
|
67413
|
+
status: string
|
|
67414
|
+
message: string
|
|
67415
|
+
}
|
|
67416
|
+
}
|
|
67417
|
+
}
|
|
67366
67418
|
'/seam/customer/v1/events/list': {
|
|
67367
67419
|
route: '/seam/customer/v1/events/list'
|
|
67368
67420
|
method: 'GET' | 'POST'
|
|
@@ -69821,24 +69873,20 @@ export type Routes = {
|
|
|
69821
69873
|
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
69822
69874
|
excluded_providers?: string[] | undefined
|
|
69823
69875
|
}
|
|
69824
|
-
/** Configuration for the manage
|
|
69825
|
-
|
|
69876
|
+
/** Configuration for the manage feature. */
|
|
69877
|
+
manage?: {
|
|
69826
69878
|
/** Whether to exclude this feature from the portal. */
|
|
69827
69879
|
exclude?: boolean
|
|
69828
|
-
/**
|
|
69829
|
-
|
|
69830
|
-
/** Indicates whether the customer can view reservations for their properties. */
|
|
69831
|
-
exclude?: boolean
|
|
69832
|
-
}
|
|
69880
|
+
/** Indicates whether the customer can manage reservations for their properties. */
|
|
69881
|
+
exclude_reservation_management?: boolean
|
|
69833
69882
|
}
|
|
69834
|
-
/** Configuration for the manage devices feature.
|
|
69883
|
+
/** Configuration for the manage devices feature.
|
|
69884
|
+
---
|
|
69885
|
+
deprecated: Use `manage` instead.
|
|
69886
|
+
--- */
|
|
69835
69887
|
manage_devices?: {
|
|
69836
69888
|
/** Whether to exclude this feature from the portal. */
|
|
69837
69889
|
exclude?: boolean
|
|
69838
|
-
/** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
|
|
69839
|
-
accepted_providers?: string[] | undefined
|
|
69840
|
-
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
69841
|
-
excluded_providers?: string[] | undefined
|
|
69842
69890
|
}
|
|
69843
69891
|
/** Configuration for the organize feature. */
|
|
69844
69892
|
organize?: {
|
|
@@ -70132,6 +70180,19 @@ export type Routes = {
|
|
|
70132
70180
|
}[]
|
|
70133
70181
|
}
|
|
70134
70182
|
}
|
|
70183
|
+
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
70184
|
+
route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]'
|
|
70185
|
+
method: 'POST'
|
|
70186
|
+
queryParams: {}
|
|
70187
|
+
jsonBody: {}
|
|
70188
|
+
commonParams: {}
|
|
70189
|
+
formData: {}
|
|
70190
|
+
jsonResponse: {
|
|
70191
|
+
success: boolean
|
|
70192
|
+
processed_events: number
|
|
70193
|
+
error?: string | undefined
|
|
70194
|
+
}
|
|
70195
|
+
}
|
|
70135
70196
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
70136
70197
|
route: '/seam/instant_key/v1/client_sessions/exchange_short_code'
|
|
70137
70198
|
method: 'POST'
|