@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
|
@@ -31453,24 +31453,20 @@ export type Routes = {
|
|
|
31453
31453
|
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
31454
31454
|
excluded_providers?: string[] | undefined;
|
|
31455
31455
|
};
|
|
31456
|
-
/** Configuration for the manage
|
|
31457
|
-
|
|
31456
|
+
/** Configuration for the manage feature. */
|
|
31457
|
+
manage?: {
|
|
31458
31458
|
/** Whether to exclude this feature from the portal. */
|
|
31459
31459
|
exclude?: boolean;
|
|
31460
|
-
/**
|
|
31461
|
-
|
|
31462
|
-
/** Indicates whether the customer can view reservations for their properties. */
|
|
31463
|
-
exclude?: boolean;
|
|
31464
|
-
};
|
|
31460
|
+
/** Indicates whether the customer can manage reservations for their properties. */
|
|
31461
|
+
exclude_reservation_management?: boolean;
|
|
31465
31462
|
};
|
|
31466
|
-
/** Configuration for the manage devices feature.
|
|
31463
|
+
/** Configuration for the manage devices feature.
|
|
31464
|
+
---
|
|
31465
|
+
deprecated: Use `manage` instead.
|
|
31466
|
+
--- */
|
|
31467
31467
|
manage_devices?: {
|
|
31468
31468
|
/** Whether to exclude this feature from the portal. */
|
|
31469
31469
|
exclude?: boolean;
|
|
31470
|
-
/** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
|
|
31471
|
-
accepted_providers?: string[] | undefined;
|
|
31472
|
-
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
31473
|
-
excluded_providers?: string[] | undefined;
|
|
31474
31470
|
};
|
|
31475
31471
|
/** Configuration for the organize feature. */
|
|
31476
31472
|
organize?: {
|
|
@@ -56664,6 +56660,58 @@ export type Routes = {
|
|
|
56664
56660
|
formData: {};
|
|
56665
56661
|
jsonResponse: {};
|
|
56666
56662
|
};
|
|
56663
|
+
'/seam/customer/v1/connectors/create': {
|
|
56664
|
+
route: '/seam/customer/v1/connectors/create';
|
|
56665
|
+
method: 'POST';
|
|
56666
|
+
queryParams: {};
|
|
56667
|
+
jsonBody: {
|
|
56668
|
+
/** Type of connector to create */
|
|
56669
|
+
connector_type: 'mews' | 'mock';
|
|
56670
|
+
/** Key identifying the customer */
|
|
56671
|
+
customer_key: string;
|
|
56672
|
+
/** Instance-specific configuration for the connector */
|
|
56673
|
+
config: {
|
|
56674
|
+
client_token: string;
|
|
56675
|
+
access_token: string;
|
|
56676
|
+
client: string;
|
|
56677
|
+
enterprise_ids?: string[] | undefined;
|
|
56678
|
+
} | {};
|
|
56679
|
+
};
|
|
56680
|
+
commonParams: {};
|
|
56681
|
+
formData: {};
|
|
56682
|
+
jsonResponse: {
|
|
56683
|
+
connector: {
|
|
56684
|
+
connector_id: string;
|
|
56685
|
+
connector_type: string;
|
|
56686
|
+
status: 'active' | 'inactive' | 'error';
|
|
56687
|
+
webhook_subscription?: {
|
|
56688
|
+
subscription_id: string;
|
|
56689
|
+
webhook_url: string;
|
|
56690
|
+
events: string[];
|
|
56691
|
+
status: 'active' | 'inactive' | 'error';
|
|
56692
|
+
} | undefined;
|
|
56693
|
+
error?: string | undefined;
|
|
56694
|
+
};
|
|
56695
|
+
};
|
|
56696
|
+
};
|
|
56697
|
+
'/seam/customer/v1/connectors/sync': {
|
|
56698
|
+
route: '/seam/customer/v1/connectors/sync';
|
|
56699
|
+
method: 'POST';
|
|
56700
|
+
queryParams: {};
|
|
56701
|
+
jsonBody: {};
|
|
56702
|
+
commonParams: {
|
|
56703
|
+
/** ID of the connector to sync */
|
|
56704
|
+
connector_id: string;
|
|
56705
|
+
};
|
|
56706
|
+
formData: {};
|
|
56707
|
+
jsonResponse: {
|
|
56708
|
+
connector_sync: {
|
|
56709
|
+
connector_id: string;
|
|
56710
|
+
status: string;
|
|
56711
|
+
message: string;
|
|
56712
|
+
};
|
|
56713
|
+
};
|
|
56714
|
+
};
|
|
56667
56715
|
'/seam/customer/v1/events/list': {
|
|
56668
56716
|
route: '/seam/customer/v1/events/list';
|
|
56669
56717
|
method: 'GET' | 'POST';
|
|
@@ -58605,24 +58653,20 @@ export type Routes = {
|
|
|
58605
58653
|
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
58606
58654
|
excluded_providers?: string[] | undefined;
|
|
58607
58655
|
};
|
|
58608
|
-
/** Configuration for the manage
|
|
58609
|
-
|
|
58656
|
+
/** Configuration for the manage feature. */
|
|
58657
|
+
manage?: {
|
|
58610
58658
|
/** Whether to exclude this feature from the portal. */
|
|
58611
58659
|
exclude?: boolean;
|
|
58612
|
-
/**
|
|
58613
|
-
|
|
58614
|
-
/** Indicates whether the customer can view reservations for their properties. */
|
|
58615
|
-
exclude?: boolean;
|
|
58616
|
-
};
|
|
58660
|
+
/** Indicates whether the customer can manage reservations for their properties. */
|
|
58661
|
+
exclude_reservation_management?: boolean;
|
|
58617
58662
|
};
|
|
58618
|
-
/** Configuration for the manage devices feature.
|
|
58663
|
+
/** Configuration for the manage devices feature.
|
|
58664
|
+
---
|
|
58665
|
+
deprecated: Use `manage` instead.
|
|
58666
|
+
--- */
|
|
58619
58667
|
manage_devices?: {
|
|
58620
58668
|
/** Whether to exclude this feature from the portal. */
|
|
58621
58669
|
exclude?: boolean;
|
|
58622
|
-
/** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
|
|
58623
|
-
accepted_providers?: string[] | undefined;
|
|
58624
|
-
/** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
|
|
58625
|
-
excluded_providers?: string[] | undefined;
|
|
58626
58670
|
};
|
|
58627
58671
|
/** Configuration for the organize feature. */
|
|
58628
58672
|
organize?: {
|
|
@@ -58870,6 +58914,19 @@ export type Routes = {
|
|
|
58870
58914
|
}[];
|
|
58871
58915
|
};
|
|
58872
58916
|
};
|
|
58917
|
+
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
58918
|
+
route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
|
|
58919
|
+
method: 'POST';
|
|
58920
|
+
queryParams: {};
|
|
58921
|
+
jsonBody: {};
|
|
58922
|
+
commonParams: {};
|
|
58923
|
+
formData: {};
|
|
58924
|
+
jsonResponse: {
|
|
58925
|
+
success: boolean;
|
|
58926
|
+
processed_events: number;
|
|
58927
|
+
error?: string | undefined;
|
|
58928
|
+
};
|
|
58929
|
+
};
|
|
58873
58930
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
58874
58931
|
route: '/seam/instant_key/v1/client_sessions/exchange_short_code';
|
|
58875
58932
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -24,19 +24,17 @@ const base_connect_feature = base_feature.extend({
|
|
|
24
24
|
'List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.',
|
|
25
25
|
),
|
|
26
26
|
})
|
|
27
|
-
const base_manage_devices_feature = base_feature
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
.default({ exclude: false })
|
|
38
|
-
.describe('Configuration for the reservations feature.'),
|
|
27
|
+
const base_manage_devices_feature = base_feature
|
|
28
|
+
|
|
29
|
+
const base_manage_feature = base_feature.extend({
|
|
30
|
+
exclude_reservation_management: z
|
|
31
|
+
.boolean()
|
|
32
|
+
.default(false)
|
|
33
|
+
.describe(
|
|
34
|
+
'Indicates whether the customer can manage reservations for their properties.',
|
|
35
|
+
),
|
|
39
36
|
})
|
|
37
|
+
|
|
40
38
|
const base_organize_feature = base_feature
|
|
41
39
|
|
|
42
40
|
const base_configure_feature = base_feature.extend({
|
|
@@ -58,12 +56,15 @@ const base_features = z.object({
|
|
|
58
56
|
connect: base_connect_feature
|
|
59
57
|
.default({})
|
|
60
58
|
.describe('Configuration for the connect accounts feature.'),
|
|
61
|
-
|
|
62
|
-
.default({})
|
|
63
|
-
.describe('Configuration for the manage reservations feature.'),
|
|
64
|
-
manage_devices: base_connect_feature
|
|
59
|
+
manage: base_manage_feature
|
|
65
60
|
.default({})
|
|
66
|
-
.describe('Configuration for the manage
|
|
61
|
+
.describe('Configuration for the manage feature.'),
|
|
62
|
+
manage_devices: base_manage_devices_feature.default({}).describe(`
|
|
63
|
+
Configuration for the manage devices feature.
|
|
64
|
+
---
|
|
65
|
+
deprecated: Use \`manage\` instead.
|
|
66
|
+
---
|
|
67
|
+
`),
|
|
67
68
|
organize: base_organize_feature
|
|
68
69
|
.default({})
|
|
69
70
|
.describe('Configuration for the organize feature.'),
|
|
@@ -93,7 +94,7 @@ export const portal_configuration = portal_configuration_base
|
|
|
93
94
|
features: {
|
|
94
95
|
connect: { exclude: false },
|
|
95
96
|
organize: { exclude: false },
|
|
96
|
-
|
|
97
|
+
manage: { exclude: false, exclude_reservation_management: false },
|
|
97
98
|
manage_devices: {
|
|
98
99
|
exclude: false,
|
|
99
100
|
},
|
|
@@ -40662,8 +40662,11 @@ export default {
|
|
|
40662
40662
|
exclude: false,
|
|
40663
40663
|
},
|
|
40664
40664
|
connect: { exclude: false },
|
|
40665
|
+
manage: {
|
|
40666
|
+
exclude: false,
|
|
40667
|
+
exclude_reservation_management: false,
|
|
40668
|
+
},
|
|
40665
40669
|
manage_devices: { exclude: false },
|
|
40666
|
-
manage_reservations: { exclude: false },
|
|
40667
40670
|
organize: { exclude: false },
|
|
40668
40671
|
},
|
|
40669
40672
|
is_embedded: false,
|
|
@@ -40725,36 +40728,30 @@ export default {
|
|
|
40725
40728
|
},
|
|
40726
40729
|
type: 'object',
|
|
40727
40730
|
},
|
|
40728
|
-
|
|
40731
|
+
manage: {
|
|
40729
40732
|
default: {},
|
|
40730
40733
|
description:
|
|
40731
|
-
'Configuration for the manage
|
|
40734
|
+
'Configuration for the manage feature.',
|
|
40732
40735
|
properties: {
|
|
40733
|
-
accepted_providers: {
|
|
40734
|
-
description:
|
|
40735
|
-
'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
|
|
40736
|
-
items: { type: 'string' },
|
|
40737
|
-
type: 'array',
|
|
40738
|
-
},
|
|
40739
40736
|
exclude: {
|
|
40740
40737
|
default: false,
|
|
40741
40738
|
description:
|
|
40742
40739
|
'Whether to exclude this feature from the portal.',
|
|
40743
40740
|
type: 'boolean',
|
|
40744
40741
|
},
|
|
40745
|
-
|
|
40742
|
+
exclude_reservation_management: {
|
|
40743
|
+
default: false,
|
|
40746
40744
|
description:
|
|
40747
|
-
'
|
|
40748
|
-
|
|
40749
|
-
type: 'array',
|
|
40745
|
+
'Indicates whether the customer can manage reservations for their properties.',
|
|
40746
|
+
type: 'boolean',
|
|
40750
40747
|
},
|
|
40751
40748
|
},
|
|
40752
40749
|
type: 'object',
|
|
40753
40750
|
},
|
|
40754
|
-
|
|
40751
|
+
manage_devices: {
|
|
40755
40752
|
default: {},
|
|
40756
40753
|
description:
|
|
40757
|
-
'Configuration for the manage
|
|
40754
|
+
'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
|
|
40758
40755
|
properties: {
|
|
40759
40756
|
exclude: {
|
|
40760
40757
|
default: false,
|
|
@@ -40762,20 +40759,6 @@ export default {
|
|
|
40762
40759
|
'Whether to exclude this feature from the portal.',
|
|
40763
40760
|
type: 'boolean',
|
|
40764
40761
|
},
|
|
40765
|
-
reservations: {
|
|
40766
|
-
default: { exclude: false },
|
|
40767
|
-
description:
|
|
40768
|
-
'Configuration for the reservations feature.',
|
|
40769
|
-
properties: {
|
|
40770
|
-
exclude: {
|
|
40771
|
-
default: false,
|
|
40772
|
-
description:
|
|
40773
|
-
'Indicates whether the customer can view reservations for their properties.',
|
|
40774
|
-
type: 'boolean',
|
|
40775
|
-
},
|
|
40776
|
-
},
|
|
40777
|
-
type: 'object',
|
|
40778
|
-
},
|
|
40779
40762
|
},
|
|
40780
40763
|
type: 'object',
|
|
40781
40764
|
},
|
|
@@ -51379,6 +51362,174 @@ export default {
|
|
|
51379
51362
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
51380
51363
|
},
|
|
51381
51364
|
},
|
|
51365
|
+
'/seam/customer/v1/connectors/create': {
|
|
51366
|
+
post: {
|
|
51367
|
+
description:
|
|
51368
|
+
'Creates a new connector for a customer in a workspace. The connector will be activated and start syncing data from the external API.',
|
|
51369
|
+
operationId: 'seamCustomerV1ConnectorsCreatePost',
|
|
51370
|
+
requestBody: {
|
|
51371
|
+
content: {
|
|
51372
|
+
'application/json': {
|
|
51373
|
+
schema: {
|
|
51374
|
+
properties: {
|
|
51375
|
+
config: {
|
|
51376
|
+
description:
|
|
51377
|
+
'Instance-specific configuration for the connector',
|
|
51378
|
+
oneOf: [
|
|
51379
|
+
{
|
|
51380
|
+
properties: {
|
|
51381
|
+
access_token: { minLength: 1, type: 'string' },
|
|
51382
|
+
client: { minLength: 1, type: 'string' },
|
|
51383
|
+
client_token: { minLength: 1, type: 'string' },
|
|
51384
|
+
enterprise_ids: {
|
|
51385
|
+
items: { format: 'uuid', type: 'string' },
|
|
51386
|
+
type: 'array',
|
|
51387
|
+
},
|
|
51388
|
+
},
|
|
51389
|
+
required: ['client_token', 'access_token', 'client'],
|
|
51390
|
+
type: 'object',
|
|
51391
|
+
},
|
|
51392
|
+
{ properties: {}, type: 'object' },
|
|
51393
|
+
],
|
|
51394
|
+
},
|
|
51395
|
+
connector_type: {
|
|
51396
|
+
description: 'Type of connector to create',
|
|
51397
|
+
enum: ['mews', 'mock'],
|
|
51398
|
+
type: 'string',
|
|
51399
|
+
},
|
|
51400
|
+
customer_key: {
|
|
51401
|
+
description: 'Key identifying the customer',
|
|
51402
|
+
minLength: 1,
|
|
51403
|
+
type: 'string',
|
|
51404
|
+
},
|
|
51405
|
+
},
|
|
51406
|
+
required: ['connector_type', 'customer_key', 'config'],
|
|
51407
|
+
type: 'object',
|
|
51408
|
+
},
|
|
51409
|
+
},
|
|
51410
|
+
},
|
|
51411
|
+
},
|
|
51412
|
+
responses: {
|
|
51413
|
+
200: {
|
|
51414
|
+
content: {
|
|
51415
|
+
'application/json': {
|
|
51416
|
+
schema: {
|
|
51417
|
+
properties: {
|
|
51418
|
+
connector: {
|
|
51419
|
+
properties: {
|
|
51420
|
+
connector_id: { type: 'string' },
|
|
51421
|
+
connector_type: { type: 'string' },
|
|
51422
|
+
error: { type: 'string' },
|
|
51423
|
+
status: {
|
|
51424
|
+
enum: ['active', 'inactive', 'error'],
|
|
51425
|
+
type: 'string',
|
|
51426
|
+
},
|
|
51427
|
+
webhook_subscription: {
|
|
51428
|
+
properties: {
|
|
51429
|
+
events: {
|
|
51430
|
+
items: { type: 'string' },
|
|
51431
|
+
type: 'array',
|
|
51432
|
+
},
|
|
51433
|
+
status: {
|
|
51434
|
+
enum: ['active', 'inactive', 'error'],
|
|
51435
|
+
type: 'string',
|
|
51436
|
+
},
|
|
51437
|
+
subscription_id: { type: 'string' },
|
|
51438
|
+
webhook_url: { type: 'string' },
|
|
51439
|
+
},
|
|
51440
|
+
required: [
|
|
51441
|
+
'subscription_id',
|
|
51442
|
+
'webhook_url',
|
|
51443
|
+
'events',
|
|
51444
|
+
'status',
|
|
51445
|
+
],
|
|
51446
|
+
type: 'object',
|
|
51447
|
+
},
|
|
51448
|
+
},
|
|
51449
|
+
required: ['connector_id', 'connector_type', 'status'],
|
|
51450
|
+
type: 'object',
|
|
51451
|
+
},
|
|
51452
|
+
ok: { type: 'boolean' },
|
|
51453
|
+
},
|
|
51454
|
+
required: ['connector', 'ok'],
|
|
51455
|
+
type: 'object',
|
|
51456
|
+
},
|
|
51457
|
+
},
|
|
51458
|
+
},
|
|
51459
|
+
description: 'OK',
|
|
51460
|
+
},
|
|
51461
|
+
400: { description: 'Bad Request' },
|
|
51462
|
+
401: { description: 'Unauthorized' },
|
|
51463
|
+
},
|
|
51464
|
+
security: [{ api_key: [] }],
|
|
51465
|
+
summary: '/seam/customer/v1/connectors/create',
|
|
51466
|
+
tags: [],
|
|
51467
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
51468
|
+
'x-fern-sdk-method-name': 'create',
|
|
51469
|
+
'x-fern-sdk-return-value': 'connector',
|
|
51470
|
+
'x-response-key': 'connector',
|
|
51471
|
+
'x-title': 'Create Connector',
|
|
51472
|
+
},
|
|
51473
|
+
},
|
|
51474
|
+
'/seam/customer/v1/connectors/sync': {
|
|
51475
|
+
post: {
|
|
51476
|
+
description:
|
|
51477
|
+
'Triggers an immediate data sync for a connector by scheduling a polling task.',
|
|
51478
|
+
operationId: 'seamCustomerV1ConnectorsSyncPost',
|
|
51479
|
+
requestBody: {
|
|
51480
|
+
content: {
|
|
51481
|
+
'application/json': {
|
|
51482
|
+
schema: {
|
|
51483
|
+
properties: {
|
|
51484
|
+
connector_id: {
|
|
51485
|
+
description: 'ID of the connector to sync',
|
|
51486
|
+
format: 'uuid',
|
|
51487
|
+
type: 'string',
|
|
51488
|
+
},
|
|
51489
|
+
},
|
|
51490
|
+
required: ['connector_id'],
|
|
51491
|
+
type: 'object',
|
|
51492
|
+
},
|
|
51493
|
+
},
|
|
51494
|
+
},
|
|
51495
|
+
},
|
|
51496
|
+
responses: {
|
|
51497
|
+
200: {
|
|
51498
|
+
content: {
|
|
51499
|
+
'application/json': {
|
|
51500
|
+
schema: {
|
|
51501
|
+
properties: {
|
|
51502
|
+
connector_sync: {
|
|
51503
|
+
properties: {
|
|
51504
|
+
connector_id: { type: 'string' },
|
|
51505
|
+
message: { type: 'string' },
|
|
51506
|
+
status: { type: 'string' },
|
|
51507
|
+
},
|
|
51508
|
+
required: ['connector_id', 'status', 'message'],
|
|
51509
|
+
type: 'object',
|
|
51510
|
+
},
|
|
51511
|
+
ok: { type: 'boolean' },
|
|
51512
|
+
},
|
|
51513
|
+
required: ['connector_sync', 'ok'],
|
|
51514
|
+
type: 'object',
|
|
51515
|
+
},
|
|
51516
|
+
},
|
|
51517
|
+
},
|
|
51518
|
+
description: 'OK',
|
|
51519
|
+
},
|
|
51520
|
+
400: { description: 'Bad Request' },
|
|
51521
|
+
401: { description: 'Unauthorized' },
|
|
51522
|
+
},
|
|
51523
|
+
security: [{ api_key: [] }],
|
|
51524
|
+
summary: '/seam/customer/v1/connectors/sync',
|
|
51525
|
+
tags: [],
|
|
51526
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'connectors'],
|
|
51527
|
+
'x-fern-sdk-method-name': 'sync',
|
|
51528
|
+
'x-fern-sdk-return-value': 'connector_sync',
|
|
51529
|
+
'x-response-key': 'connector_sync',
|
|
51530
|
+
'x-title': 'Sync Connector Data',
|
|
51531
|
+
},
|
|
51532
|
+
},
|
|
51382
51533
|
'/seam/customer/v1/events/list': {
|
|
51383
51534
|
get: {
|
|
51384
51535
|
description:
|
|
@@ -52051,40 +52202,34 @@ export default {
|
|
|
52051
52202
|
},
|
|
52052
52203
|
type: 'object',
|
|
52053
52204
|
},
|
|
52054
|
-
|
|
52205
|
+
manage: {
|
|
52055
52206
|
default: {
|
|
52056
52207
|
$ref: '#/components/schemas/access_code',
|
|
52057
52208
|
},
|
|
52058
52209
|
description:
|
|
52059
|
-
'Configuration for the manage
|
|
52210
|
+
'Configuration for the manage feature.',
|
|
52060
52211
|
properties: {
|
|
52061
|
-
accepted_providers: {
|
|
52062
|
-
description:
|
|
52063
|
-
'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
|
|
52064
|
-
items: { type: 'string' },
|
|
52065
|
-
type: 'array',
|
|
52066
|
-
},
|
|
52067
52212
|
exclude: {
|
|
52068
52213
|
default: false,
|
|
52069
52214
|
description:
|
|
52070
52215
|
'Whether to exclude this feature from the portal.',
|
|
52071
52216
|
type: 'boolean',
|
|
52072
52217
|
},
|
|
52073
|
-
|
|
52218
|
+
exclude_reservation_management: {
|
|
52219
|
+
default: false,
|
|
52074
52220
|
description:
|
|
52075
|
-
'
|
|
52076
|
-
|
|
52077
|
-
type: 'array',
|
|
52221
|
+
'Indicates whether the customer can manage reservations for their properties.',
|
|
52222
|
+
type: 'boolean',
|
|
52078
52223
|
},
|
|
52079
52224
|
},
|
|
52080
52225
|
type: 'object',
|
|
52081
52226
|
},
|
|
52082
|
-
|
|
52227
|
+
manage_devices: {
|
|
52083
52228
|
default: {
|
|
52084
52229
|
$ref: '#/components/schemas/access_code',
|
|
52085
52230
|
},
|
|
52086
52231
|
description:
|
|
52087
|
-
'Configuration for the manage
|
|
52232
|
+
'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
|
|
52088
52233
|
properties: {
|
|
52089
52234
|
exclude: {
|
|
52090
52235
|
default: false,
|
|
@@ -52092,20 +52237,6 @@ export default {
|
|
|
52092
52237
|
'Whether to exclude this feature from the portal.',
|
|
52093
52238
|
type: 'boolean',
|
|
52094
52239
|
},
|
|
52095
|
-
reservations: {
|
|
52096
|
-
default: { exclude: false },
|
|
52097
|
-
description:
|
|
52098
|
-
'Configuration for the reservations feature.',
|
|
52099
|
-
properties: {
|
|
52100
|
-
exclude: {
|
|
52101
|
-
default: false,
|
|
52102
|
-
description:
|
|
52103
|
-
'Indicates whether the customer can view reservations for their properties.',
|
|
52104
|
-
type: 'boolean',
|
|
52105
|
-
},
|
|
52106
|
-
},
|
|
52107
|
-
type: 'object',
|
|
52108
|
-
},
|
|
52109
52240
|
},
|
|
52110
52241
|
type: 'object',
|
|
52111
52242
|
},
|
|
@@ -52371,40 +52502,34 @@ export default {
|
|
|
52371
52502
|
},
|
|
52372
52503
|
type: 'object',
|
|
52373
52504
|
},
|
|
52374
|
-
|
|
52505
|
+
manage: {
|
|
52375
52506
|
default: {
|
|
52376
52507
|
$ref: '#/components/schemas/access_code',
|
|
52377
52508
|
},
|
|
52378
52509
|
description:
|
|
52379
|
-
'Configuration for the manage
|
|
52510
|
+
'Configuration for the manage feature.',
|
|
52380
52511
|
properties: {
|
|
52381
|
-
accepted_providers: {
|
|
52382
|
-
description:
|
|
52383
|
-
'List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account.',
|
|
52384
|
-
items: { type: 'string' },
|
|
52385
|
-
type: 'array',
|
|
52386
|
-
},
|
|
52387
52512
|
exclude: {
|
|
52388
52513
|
default: false,
|
|
52389
52514
|
description:
|
|
52390
52515
|
'Whether to exclude this feature from the portal.',
|
|
52391
52516
|
type: 'boolean',
|
|
52392
52517
|
},
|
|
52393
|
-
|
|
52518
|
+
exclude_reservation_management: {
|
|
52519
|
+
default: false,
|
|
52394
52520
|
description:
|
|
52395
|
-
'
|
|
52396
|
-
|
|
52397
|
-
type: 'array',
|
|
52521
|
+
'Indicates whether the customer can manage reservations for their properties.',
|
|
52522
|
+
type: 'boolean',
|
|
52398
52523
|
},
|
|
52399
52524
|
},
|
|
52400
52525
|
type: 'object',
|
|
52401
52526
|
},
|
|
52402
|
-
|
|
52527
|
+
manage_devices: {
|
|
52403
52528
|
default: {
|
|
52404
52529
|
$ref: '#/components/schemas/access_code',
|
|
52405
52530
|
},
|
|
52406
52531
|
description:
|
|
52407
|
-
'Configuration for the manage
|
|
52532
|
+
'Configuration for the manage devices feature.\n---\ndeprecated: Use `manage` instead.\n---',
|
|
52408
52533
|
properties: {
|
|
52409
52534
|
exclude: {
|
|
52410
52535
|
default: false,
|
|
@@ -52412,20 +52537,6 @@ export default {
|
|
|
52412
52537
|
'Whether to exclude this feature from the portal.',
|
|
52413
52538
|
type: 'boolean',
|
|
52414
52539
|
},
|
|
52415
|
-
reservations: {
|
|
52416
|
-
default: { exclude: false },
|
|
52417
|
-
description:
|
|
52418
|
-
'Configuration for the reservations feature.',
|
|
52419
|
-
properties: {
|
|
52420
|
-
exclude: {
|
|
52421
|
-
default: false,
|
|
52422
|
-
description:
|
|
52423
|
-
'Indicates whether the customer can view reservations for their properties.',
|
|
52424
|
-
type: 'boolean',
|
|
52425
|
-
},
|
|
52426
|
-
},
|
|
52427
|
-
type: 'object',
|
|
52428
|
-
},
|
|
52429
52540
|
},
|
|
52430
52541
|
type: 'object',
|
|
52431
52542
|
},
|
|
@@ -53484,6 +53595,59 @@ export default {
|
|
|
53484
53595
|
'x-title': 'List Spaces',
|
|
53485
53596
|
},
|
|
53486
53597
|
},
|
|
53598
|
+
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
|
|
53599
|
+
post: {
|
|
53600
|
+
description:
|
|
53601
|
+
'Receives webhook events from external connector APIs and processes them into partner resources.',
|
|
53602
|
+
operationId:
|
|
53603
|
+
'seamCustomerV1WebhooksConnectorsByWorkspaceIdByConnectorIdPost',
|
|
53604
|
+
requestBody: {
|
|
53605
|
+
content: {
|
|
53606
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
53607
|
+
},
|
|
53608
|
+
},
|
|
53609
|
+
responses: {
|
|
53610
|
+
200: {
|
|
53611
|
+
content: {
|
|
53612
|
+
'application/json': {
|
|
53613
|
+
schema: {
|
|
53614
|
+
properties: {
|
|
53615
|
+
error: { type: 'string' },
|
|
53616
|
+
ok: { type: 'boolean' },
|
|
53617
|
+
processed_events: { format: 'float', type: 'number' },
|
|
53618
|
+
success: { type: 'boolean' },
|
|
53619
|
+
},
|
|
53620
|
+
required: ['success', 'processed_events', 'ok'],
|
|
53621
|
+
type: 'object',
|
|
53622
|
+
},
|
|
53623
|
+
},
|
|
53624
|
+
},
|
|
53625
|
+
description: 'OK',
|
|
53626
|
+
},
|
|
53627
|
+
400: { description: 'Bad Request' },
|
|
53628
|
+
401: { description: 'Unauthorized' },
|
|
53629
|
+
},
|
|
53630
|
+
security: [
|
|
53631
|
+
{ pat_with_workspace: [] },
|
|
53632
|
+
{ console_session_with_workspace: [] },
|
|
53633
|
+
{ api_key: [] },
|
|
53634
|
+
],
|
|
53635
|
+
summary:
|
|
53636
|
+
'/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]',
|
|
53637
|
+
tags: ['/webhooks'],
|
|
53638
|
+
'x-fern-sdk-group-name': [
|
|
53639
|
+
'seam',
|
|
53640
|
+
'customer',
|
|
53641
|
+
'v1',
|
|
53642
|
+
'webhooks',
|
|
53643
|
+
'connectors',
|
|
53644
|
+
'[workspace_id]',
|
|
53645
|
+
],
|
|
53646
|
+
'x-fern-sdk-method-name': 'by_connector_id',
|
|
53647
|
+
'x-response-key': null,
|
|
53648
|
+
'x-title': 'Connector Webhook Endpoint',
|
|
53649
|
+
},
|
|
53650
|
+
},
|
|
53487
53651
|
'/seam/instant_key/v1/client_sessions/exchange_short_code': {
|
|
53488
53652
|
post: {
|
|
53489
53653
|
description:
|