@seamapi/types 1.842.0 → 1.844.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 +227 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +175 -0
- package/dist/index.cjs +227 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +54 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +28 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +34 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +98 -0
- package/lib/seam/connect/openapi.js +197 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +117 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +46 -0
- package/src/lib/seam/connect/openapi.ts +213 -0
- package/src/lib/seam/connect/route-types.ts +117 -0
|
@@ -12801,6 +12801,15 @@ export type Routes = {
|
|
|
12801
12801
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
12802
12802
|
message: string;
|
|
12803
12803
|
}[];
|
|
12804
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
12805
|
+
warnings: {
|
|
12806
|
+
/** Date and time at which Seam created the warning. */
|
|
12807
|
+
created_at: string;
|
|
12808
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
12809
|
+
message: string;
|
|
12810
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
12811
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
12812
|
+
}[];
|
|
12804
12813
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
12805
12814
|
latch_metadata?: {
|
|
12806
12815
|
/** Accessibility type in the Latch access system. */
|
|
@@ -17264,6 +17273,15 @@ export type Routes = {
|
|
|
17264
17273
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
17265
17274
|
message: string;
|
|
17266
17275
|
}[];
|
|
17276
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
17277
|
+
warnings: {
|
|
17278
|
+
/** Date and time at which Seam created the warning. */
|
|
17279
|
+
created_at: string;
|
|
17280
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
17281
|
+
message: string;
|
|
17282
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
17283
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
17284
|
+
}[];
|
|
17267
17285
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
17268
17286
|
latch_metadata?: {
|
|
17269
17287
|
/** Accessibility type in the Latch access system. */
|
|
@@ -18675,6 +18693,15 @@ export type Routes = {
|
|
|
18675
18693
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
18676
18694
|
message: string;
|
|
18677
18695
|
}[];
|
|
18696
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
18697
|
+
warnings: {
|
|
18698
|
+
/** Date and time at which Seam created the warning. */
|
|
18699
|
+
created_at: string;
|
|
18700
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
18701
|
+
message: string;
|
|
18702
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
18703
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
18704
|
+
}[];
|
|
18678
18705
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
18679
18706
|
latch_metadata?: {
|
|
18680
18707
|
/** Accessibility type in the Latch access system. */
|
|
@@ -20387,6 +20414,15 @@ export type Routes = {
|
|
|
20387
20414
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20388
20415
|
message: string;
|
|
20389
20416
|
}[];
|
|
20417
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20418
|
+
warnings: {
|
|
20419
|
+
/** Date and time at which Seam created the warning. */
|
|
20420
|
+
created_at: string;
|
|
20421
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
20422
|
+
message: string;
|
|
20423
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
20424
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
20425
|
+
}[];
|
|
20390
20426
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
20391
20427
|
latch_metadata?: {
|
|
20392
20428
|
/** Accessibility type in the Latch access system. */
|
|
@@ -24040,6 +24076,15 @@ export type Routes = {
|
|
|
24040
24076
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
24041
24077
|
message: string;
|
|
24042
24078
|
}[];
|
|
24079
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24080
|
+
warnings: {
|
|
24081
|
+
/** Date and time at which Seam created the warning. */
|
|
24082
|
+
created_at: string;
|
|
24083
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24084
|
+
message: string;
|
|
24085
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24086
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
24087
|
+
}[];
|
|
24043
24088
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24044
24089
|
latch_metadata?: {
|
|
24045
24090
|
/** Accessibility type in the Latch access system. */
|
|
@@ -24238,6 +24283,15 @@ export type Routes = {
|
|
|
24238
24283
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
24239
24284
|
message: string;
|
|
24240
24285
|
}[];
|
|
24286
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24287
|
+
warnings: {
|
|
24288
|
+
/** Date and time at which Seam created the warning. */
|
|
24289
|
+
created_at: string;
|
|
24290
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24291
|
+
message: string;
|
|
24292
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24293
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
24294
|
+
}[];
|
|
24241
24295
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
24242
24296
|
latch_metadata?: {
|
|
24243
24297
|
/** Accessibility type in the Latch access system. */
|
|
@@ -27230,6 +27284,15 @@ export type Routes = {
|
|
|
27230
27284
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
27231
27285
|
message: string;
|
|
27232
27286
|
}[];
|
|
27287
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27288
|
+
warnings: {
|
|
27289
|
+
/** Date and time at which Seam created the warning. */
|
|
27290
|
+
created_at: string;
|
|
27291
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
27292
|
+
message: string;
|
|
27293
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
27294
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
27295
|
+
}[];
|
|
27233
27296
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27234
27297
|
latch_metadata?: {
|
|
27235
27298
|
/** Accessibility type in the Latch access system. */
|
|
@@ -64068,6 +64131,24 @@ export type Routes = {
|
|
|
64068
64131
|
};
|
|
64069
64132
|
maxDuration: undefined;
|
|
64070
64133
|
};
|
|
64134
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
64135
|
+
route: '/seam/customer/v1/connectors/external_sites/list';
|
|
64136
|
+
method: 'GET' | 'POST';
|
|
64137
|
+
queryParams: {};
|
|
64138
|
+
jsonBody: {};
|
|
64139
|
+
commonParams: {
|
|
64140
|
+
/** ID of the connected account to list external sites for */
|
|
64141
|
+
connected_account_id: string;
|
|
64142
|
+
};
|
|
64143
|
+
formData: {};
|
|
64144
|
+
jsonResponse: {
|
|
64145
|
+
external_sites: {
|
|
64146
|
+
key: string;
|
|
64147
|
+
name: string;
|
|
64148
|
+
}[];
|
|
64149
|
+
};
|
|
64150
|
+
maxDuration: undefined;
|
|
64151
|
+
};
|
|
64071
64152
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
64072
64153
|
route: '/seam/customer/v1/connectors/ical/validate-config';
|
|
64073
64154
|
method: 'POST';
|
|
@@ -68894,6 +68975,15 @@ export type Routes = {
|
|
|
68894
68975
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
68895
68976
|
message: string;
|
|
68896
68977
|
}[];
|
|
68978
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
68979
|
+
warnings: {
|
|
68980
|
+
/** Date and time at which Seam created the warning. */
|
|
68981
|
+
created_at: string;
|
|
68982
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
68983
|
+
message: string;
|
|
68984
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
68985
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
68986
|
+
}[];
|
|
68897
68987
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
68898
68988
|
latch_metadata?: {
|
|
68899
68989
|
/** Accessibility type in the Latch access system. */
|
|
@@ -70712,6 +70802,15 @@ export type Routes = {
|
|
|
70712
70802
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70713
70803
|
message: string;
|
|
70714
70804
|
}[];
|
|
70805
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
70806
|
+
warnings: {
|
|
70807
|
+
/** Date and time at which Seam created the warning. */
|
|
70808
|
+
created_at: string;
|
|
70809
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
70810
|
+
message: string;
|
|
70811
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
70812
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
70813
|
+
}[];
|
|
70715
70814
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
70716
70815
|
latch_metadata?: {
|
|
70717
70816
|
/** Accessibility type in the Latch access system. */
|
|
@@ -91328,6 +91427,15 @@ export type Routes = {
|
|
|
91328
91427
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91329
91428
|
message: string;
|
|
91330
91429
|
}[];
|
|
91430
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
91431
|
+
warnings: {
|
|
91432
|
+
/** Date and time at which Seam created the warning. */
|
|
91433
|
+
created_at: string;
|
|
91434
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91435
|
+
message: string;
|
|
91436
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91437
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
91438
|
+
}[];
|
|
91331
91439
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
91332
91440
|
latch_metadata?: {
|
|
91333
91441
|
/** Accessibility type in the Latch access system. */
|
|
@@ -93806,6 +93914,15 @@ export type Routes = {
|
|
|
93806
93914
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
93807
93915
|
message: string;
|
|
93808
93916
|
}[];
|
|
93917
|
+
/** Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
93918
|
+
warnings: {
|
|
93919
|
+
/** Date and time at which Seam created the warning. */
|
|
93920
|
+
created_at: string;
|
|
93921
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
93922
|
+
message: string;
|
|
93923
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
93924
|
+
warning_code: 'salto_ks_entrance_access_code_support_removed';
|
|
93925
|
+
}[];
|
|
93809
93926
|
/** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
93810
93927
|
latch_metadata?: {
|
|
93811
93928
|
/** Accessibility type in the Latch access system. */
|
package/package.json
CHANGED
|
@@ -13,6 +13,47 @@ import {
|
|
|
13
13
|
} from './metadata/index.js'
|
|
14
14
|
import { acs_entrance_salto_space_metadata } from './metadata/salto-space.js'
|
|
15
15
|
|
|
16
|
+
const warning_code_description =
|
|
17
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.'
|
|
18
|
+
|
|
19
|
+
const common_acs_entrance_warning = z.object({
|
|
20
|
+
created_at: z
|
|
21
|
+
.string()
|
|
22
|
+
.datetime()
|
|
23
|
+
.describe('Date and time at which Seam created the warning.'),
|
|
24
|
+
message: z
|
|
25
|
+
.string()
|
|
26
|
+
.describe(
|
|
27
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
28
|
+
),
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
const salto_ks_entrance_access_code_support_removed =
|
|
32
|
+
common_acs_entrance_warning
|
|
33
|
+
.extend({
|
|
34
|
+
warning_code: z
|
|
35
|
+
.literal('salto_ks_entrance_access_code_support_removed')
|
|
36
|
+
.describe(warning_code_description),
|
|
37
|
+
})
|
|
38
|
+
.describe(
|
|
39
|
+
'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
const acs_entrance_warning = z
|
|
43
|
+
.discriminatedUnion('warning_code', [
|
|
44
|
+
salto_ks_entrance_access_code_support_removed,
|
|
45
|
+
])
|
|
46
|
+
.describe(
|
|
47
|
+
'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
const _acs_entrance_warning_map = z.object({
|
|
51
|
+
salto_ks_entrance_access_code_support_removed:
|
|
52
|
+
salto_ks_entrance_access_code_support_removed.optional().nullable(),
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
export type AcsEntranceWarningMap = z.infer<typeof _acs_entrance_warning_map>
|
|
56
|
+
|
|
16
57
|
export const acs_entrance_capability_flags = z.object({
|
|
17
58
|
can_unlock_with_mobile_key: z
|
|
18
59
|
.boolean()
|
|
@@ -98,6 +139,11 @@ export const acs_entrance = z
|
|
|
98
139
|
.describe(
|
|
99
140
|
'Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
100
141
|
),
|
|
142
|
+
warnings: z
|
|
143
|
+
.array(acs_entrance_warning)
|
|
144
|
+
.describe(
|
|
145
|
+
'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
146
|
+
),
|
|
101
147
|
latch_metadata: acs_entrance_latch_metadata
|
|
102
148
|
.optional()
|
|
103
149
|
.describe(
|
|
@@ -4651,6 +4651,43 @@ const openapi: OpenAPISpec = {
|
|
|
4651
4651
|
required: ['door_name', 'door_category'],
|
|
4652
4652
|
type: 'object',
|
|
4653
4653
|
},
|
|
4654
|
+
warnings: {
|
|
4655
|
+
description:
|
|
4656
|
+
'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4657
|
+
items: {
|
|
4658
|
+
description:
|
|
4659
|
+
'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
4660
|
+
discriminator: { propertyName: 'warning_code' },
|
|
4661
|
+
oneOf: [
|
|
4662
|
+
{
|
|
4663
|
+
description:
|
|
4664
|
+
'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
4665
|
+
properties: {
|
|
4666
|
+
created_at: {
|
|
4667
|
+
description:
|
|
4668
|
+
'Date and time at which Seam created the warning.',
|
|
4669
|
+
format: 'date-time',
|
|
4670
|
+
type: 'string',
|
|
4671
|
+
},
|
|
4672
|
+
message: {
|
|
4673
|
+
description:
|
|
4674
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
4675
|
+
type: 'string',
|
|
4676
|
+
},
|
|
4677
|
+
warning_code: {
|
|
4678
|
+
description:
|
|
4679
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
4680
|
+
enum: ['salto_ks_entrance_access_code_support_removed'],
|
|
4681
|
+
type: 'string',
|
|
4682
|
+
},
|
|
4683
|
+
},
|
|
4684
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
4685
|
+
type: 'object',
|
|
4686
|
+
},
|
|
4687
|
+
],
|
|
4688
|
+
},
|
|
4689
|
+
type: 'array',
|
|
4690
|
+
},
|
|
4654
4691
|
},
|
|
4655
4692
|
required: [
|
|
4656
4693
|
'acs_system_id',
|
|
@@ -4660,6 +4697,7 @@ const openapi: OpenAPISpec = {
|
|
|
4660
4697
|
'display_name',
|
|
4661
4698
|
'connected_account_id',
|
|
4662
4699
|
'errors',
|
|
4700
|
+
'warnings',
|
|
4663
4701
|
],
|
|
4664
4702
|
type: 'object',
|
|
4665
4703
|
'x-route-path': '/acs/entrances',
|
|
@@ -25428,6 +25466,49 @@ const openapi: OpenAPISpec = {
|
|
|
25428
25466
|
required: ['door_name', 'door_category'],
|
|
25429
25467
|
type: 'object',
|
|
25430
25468
|
},
|
|
25469
|
+
warnings: {
|
|
25470
|
+
description:
|
|
25471
|
+
'Warnings associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
25472
|
+
items: {
|
|
25473
|
+
description:
|
|
25474
|
+
'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
25475
|
+
discriminator: { propertyName: 'warning_code' },
|
|
25476
|
+
oneOf: [
|
|
25477
|
+
{
|
|
25478
|
+
description:
|
|
25479
|
+
'Indicates that a change in the reported device model has been detected for this Salto KS entrance, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.',
|
|
25480
|
+
properties: {
|
|
25481
|
+
created_at: {
|
|
25482
|
+
description:
|
|
25483
|
+
'Date and time at which Seam created the warning.',
|
|
25484
|
+
format: 'date-time',
|
|
25485
|
+
type: 'string',
|
|
25486
|
+
},
|
|
25487
|
+
message: {
|
|
25488
|
+
description:
|
|
25489
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
25490
|
+
type: 'string',
|
|
25491
|
+
},
|
|
25492
|
+
warning_code: {
|
|
25493
|
+
description:
|
|
25494
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
25495
|
+
enum: [
|
|
25496
|
+
'salto_ks_entrance_access_code_support_removed',
|
|
25497
|
+
],
|
|
25498
|
+
type: 'string',
|
|
25499
|
+
},
|
|
25500
|
+
},
|
|
25501
|
+
required: [
|
|
25502
|
+
'created_at',
|
|
25503
|
+
'message',
|
|
25504
|
+
'warning_code',
|
|
25505
|
+
],
|
|
25506
|
+
type: 'object',
|
|
25507
|
+
},
|
|
25508
|
+
],
|
|
25509
|
+
},
|
|
25510
|
+
type: 'array',
|
|
25511
|
+
},
|
|
25431
25512
|
},
|
|
25432
25513
|
required: [
|
|
25433
25514
|
'acs_system_id',
|
|
@@ -25437,6 +25518,7 @@ const openapi: OpenAPISpec = {
|
|
|
25437
25518
|
'display_name',
|
|
25438
25519
|
'connected_account_id',
|
|
25439
25520
|
'errors',
|
|
25521
|
+
'warnings',
|
|
25440
25522
|
],
|
|
25441
25523
|
type: 'object',
|
|
25442
25524
|
'x-route-path': '/acs/entrances',
|
|
@@ -65779,6 +65861,137 @@ const openapi: OpenAPISpec = {
|
|
|
65779
65861
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
65780
65862
|
},
|
|
65781
65863
|
},
|
|
65864
|
+
'/seam/customer/v1/connectors/external_sites/list': {
|
|
65865
|
+
get: {
|
|
65866
|
+
description:
|
|
65867
|
+
"Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
65868
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListGet',
|
|
65869
|
+
parameters: [
|
|
65870
|
+
{
|
|
65871
|
+
in: 'query',
|
|
65872
|
+
name: 'connected_account_id',
|
|
65873
|
+
required: true,
|
|
65874
|
+
schema: {
|
|
65875
|
+
description:
|
|
65876
|
+
'ID of the connected account to list external sites for',
|
|
65877
|
+
format: 'uuid',
|
|
65878
|
+
type: 'string',
|
|
65879
|
+
},
|
|
65880
|
+
},
|
|
65881
|
+
],
|
|
65882
|
+
responses: {
|
|
65883
|
+
200: {
|
|
65884
|
+
content: {
|
|
65885
|
+
'application/json': {
|
|
65886
|
+
schema: {
|
|
65887
|
+
properties: {
|
|
65888
|
+
external_sites: {
|
|
65889
|
+
items: {
|
|
65890
|
+
properties: {
|
|
65891
|
+
key: { type: 'string' },
|
|
65892
|
+
name: { type: 'string' },
|
|
65893
|
+
},
|
|
65894
|
+
required: ['key', 'name'],
|
|
65895
|
+
type: 'object',
|
|
65896
|
+
},
|
|
65897
|
+
type: 'array',
|
|
65898
|
+
},
|
|
65899
|
+
ok: { type: 'boolean' },
|
|
65900
|
+
},
|
|
65901
|
+
required: ['external_sites', 'ok'],
|
|
65902
|
+
type: 'object',
|
|
65903
|
+
},
|
|
65904
|
+
},
|
|
65905
|
+
},
|
|
65906
|
+
description: 'OK',
|
|
65907
|
+
},
|
|
65908
|
+
400: { description: 'Bad Request' },
|
|
65909
|
+
401: { description: 'Unauthorized' },
|
|
65910
|
+
},
|
|
65911
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65912
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
65913
|
+
tags: [],
|
|
65914
|
+
'x-fern-sdk-group-name': [
|
|
65915
|
+
'seam',
|
|
65916
|
+
'customer',
|
|
65917
|
+
'v1',
|
|
65918
|
+
'connectors',
|
|
65919
|
+
'external_sites',
|
|
65920
|
+
],
|
|
65921
|
+
'x-fern-sdk-method-name': 'list',
|
|
65922
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
65923
|
+
'x-response-key': 'external_sites',
|
|
65924
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
65925
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
65926
|
+
},
|
|
65927
|
+
post: {
|
|
65928
|
+
description:
|
|
65929
|
+
"Lists sites/properties available from the external system for a given connected account by calling the connector's live API.",
|
|
65930
|
+
operationId: 'seamCustomerV1ConnectorsExternalSitesListPost',
|
|
65931
|
+
requestBody: {
|
|
65932
|
+
content: {
|
|
65933
|
+
'application/json': {
|
|
65934
|
+
schema: {
|
|
65935
|
+
properties: {
|
|
65936
|
+
connected_account_id: {
|
|
65937
|
+
description:
|
|
65938
|
+
'ID of the connected account to list external sites for',
|
|
65939
|
+
format: 'uuid',
|
|
65940
|
+
type: 'string',
|
|
65941
|
+
},
|
|
65942
|
+
},
|
|
65943
|
+
required: ['connected_account_id'],
|
|
65944
|
+
type: 'object',
|
|
65945
|
+
},
|
|
65946
|
+
},
|
|
65947
|
+
},
|
|
65948
|
+
},
|
|
65949
|
+
responses: {
|
|
65950
|
+
200: {
|
|
65951
|
+
content: {
|
|
65952
|
+
'application/json': {
|
|
65953
|
+
schema: {
|
|
65954
|
+
properties: {
|
|
65955
|
+
external_sites: {
|
|
65956
|
+
items: {
|
|
65957
|
+
properties: {
|
|
65958
|
+
key: { type: 'string' },
|
|
65959
|
+
name: { type: 'string' },
|
|
65960
|
+
},
|
|
65961
|
+
required: ['key', 'name'],
|
|
65962
|
+
type: 'object',
|
|
65963
|
+
},
|
|
65964
|
+
type: 'array',
|
|
65965
|
+
},
|
|
65966
|
+
ok: { type: 'boolean' },
|
|
65967
|
+
},
|
|
65968
|
+
required: ['external_sites', 'ok'],
|
|
65969
|
+
type: 'object',
|
|
65970
|
+
},
|
|
65971
|
+
},
|
|
65972
|
+
},
|
|
65973
|
+
description: 'OK',
|
|
65974
|
+
},
|
|
65975
|
+
400: { description: 'Bad Request' },
|
|
65976
|
+
401: { description: 'Unauthorized' },
|
|
65977
|
+
},
|
|
65978
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
65979
|
+
summary: '/seam/customer/v1/connectors/external_sites/list',
|
|
65980
|
+
tags: [],
|
|
65981
|
+
'x-fern-sdk-group-name': [
|
|
65982
|
+
'seam',
|
|
65983
|
+
'customer',
|
|
65984
|
+
'v1',
|
|
65985
|
+
'connectors',
|
|
65986
|
+
'external_sites',
|
|
65987
|
+
],
|
|
65988
|
+
'x-fern-sdk-method-name': 'list',
|
|
65989
|
+
'x-fern-sdk-return-value': 'external_sites',
|
|
65990
|
+
'x-response-key': 'external_sites',
|
|
65991
|
+
'x-title': 'List External Sites for a Connected Account',
|
|
65992
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
65993
|
+
},
|
|
65994
|
+
},
|
|
65782
65995
|
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
65783
65996
|
post: {
|
|
65784
65997
|
description:
|