@seamapi/types 1.252.1 → 1.253.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 +103 -75
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +451 -374
- package/lib/seam/connect/models/acs/acs-credential.d.ts +36 -36
- package/lib/seam/connect/models/acs/acs-system.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
- package/lib/seam/connect/models/devices/device-metadata.js +3 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +8 -1
- package/lib/seam/connect/models/devices/device-type.js +7 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +22 -3
- package/lib/seam/connect/models/devices/phone.d.ts +14 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
- package/lib/seam/connect/openapi.d.ts +93 -84
- package/lib/seam/connect/openapi.js +79 -62
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +280 -244
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +4 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +17 -0
- package/src/lib/seam/connect/openapi.ts +79 -62
- package/src/lib/seam/connect/route-types.ts +430 -346
|
@@ -2358,6 +2358,15 @@ declare const _default: {
|
|
|
2358
2358
|
required: string[];
|
|
2359
2359
|
type: string;
|
|
2360
2360
|
};
|
|
2361
|
+
visionline_metadata: {
|
|
2362
|
+
properties: {
|
|
2363
|
+
encoder_id: {
|
|
2364
|
+
type: string;
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
required: string[];
|
|
2368
|
+
type: string;
|
|
2369
|
+
};
|
|
2361
2370
|
wyze_metadata: {
|
|
2362
2371
|
properties: {
|
|
2363
2372
|
device_id: {
|
|
@@ -7103,90 +7112,6 @@ declare const _default: {
|
|
|
7103
7112
|
'x-fern-sdk-return-value': string;
|
|
7104
7113
|
};
|
|
7105
7114
|
};
|
|
7106
|
-
'/acs/credentials/read_card': {
|
|
7107
|
-
post: {
|
|
7108
|
-
operationId: string;
|
|
7109
|
-
requestBody: {
|
|
7110
|
-
content: {
|
|
7111
|
-
'application/json': {
|
|
7112
|
-
schema: {
|
|
7113
|
-
oneOf: ({
|
|
7114
|
-
properties: {
|
|
7115
|
-
acs_system_id: {
|
|
7116
|
-
format: string;
|
|
7117
|
-
type: string;
|
|
7118
|
-
};
|
|
7119
|
-
device_name: {
|
|
7120
|
-
type: string;
|
|
7121
|
-
};
|
|
7122
|
-
device_id?: never;
|
|
7123
|
-
};
|
|
7124
|
-
required: string[];
|
|
7125
|
-
type: string;
|
|
7126
|
-
} | {
|
|
7127
|
-
properties: {
|
|
7128
|
-
device_id: {
|
|
7129
|
-
format: string;
|
|
7130
|
-
type: string;
|
|
7131
|
-
};
|
|
7132
|
-
acs_system_id?: never;
|
|
7133
|
-
device_name?: never;
|
|
7134
|
-
};
|
|
7135
|
-
required: string[];
|
|
7136
|
-
type: string;
|
|
7137
|
-
})[];
|
|
7138
|
-
};
|
|
7139
|
-
};
|
|
7140
|
-
};
|
|
7141
|
-
};
|
|
7142
|
-
responses: {
|
|
7143
|
-
200: {
|
|
7144
|
-
content: {
|
|
7145
|
-
'application/json': {
|
|
7146
|
-
schema: {
|
|
7147
|
-
properties: {
|
|
7148
|
-
action_attempt: {
|
|
7149
|
-
$ref: string;
|
|
7150
|
-
};
|
|
7151
|
-
ok: {
|
|
7152
|
-
type: string;
|
|
7153
|
-
};
|
|
7154
|
-
};
|
|
7155
|
-
required: string[];
|
|
7156
|
-
type: string;
|
|
7157
|
-
};
|
|
7158
|
-
};
|
|
7159
|
-
};
|
|
7160
|
-
description: string;
|
|
7161
|
-
};
|
|
7162
|
-
400: {
|
|
7163
|
-
description: string;
|
|
7164
|
-
};
|
|
7165
|
-
401: {
|
|
7166
|
-
description: string;
|
|
7167
|
-
};
|
|
7168
|
-
};
|
|
7169
|
-
security: ({
|
|
7170
|
-
pat_with_workspace: never[];
|
|
7171
|
-
console_session?: never;
|
|
7172
|
-
api_key?: never;
|
|
7173
|
-
} | {
|
|
7174
|
-
console_session: never[];
|
|
7175
|
-
pat_with_workspace?: never;
|
|
7176
|
-
api_key?: never;
|
|
7177
|
-
} | {
|
|
7178
|
-
api_key: never[];
|
|
7179
|
-
pat_with_workspace?: never;
|
|
7180
|
-
console_session?: never;
|
|
7181
|
-
})[];
|
|
7182
|
-
summary: string;
|
|
7183
|
-
tags: string[];
|
|
7184
|
-
'x-fern-sdk-group-name': string[];
|
|
7185
|
-
'x-fern-sdk-method-name': string;
|
|
7186
|
-
'x-fern-sdk-return-value': string;
|
|
7187
|
-
'x-undocumented': string;
|
|
7188
|
-
};
|
|
7189
|
-
};
|
|
7190
7115
|
'/acs/credentials/unassign': {
|
|
7191
7116
|
patch: {
|
|
7192
7117
|
operationId: string;
|
|
@@ -7942,6 +7867,90 @@ declare const _default: {
|
|
|
7942
7867
|
'x-fern-sdk-method-name': string;
|
|
7943
7868
|
};
|
|
7944
7869
|
};
|
|
7870
|
+
'/acs/encoders/read_card': {
|
|
7871
|
+
post: {
|
|
7872
|
+
operationId: string;
|
|
7873
|
+
requestBody: {
|
|
7874
|
+
content: {
|
|
7875
|
+
'application/json': {
|
|
7876
|
+
schema: {
|
|
7877
|
+
oneOf: ({
|
|
7878
|
+
properties: {
|
|
7879
|
+
acs_system_id: {
|
|
7880
|
+
format: string;
|
|
7881
|
+
type: string;
|
|
7882
|
+
};
|
|
7883
|
+
device_name: {
|
|
7884
|
+
type: string;
|
|
7885
|
+
};
|
|
7886
|
+
device_id?: never;
|
|
7887
|
+
};
|
|
7888
|
+
required: string[];
|
|
7889
|
+
type: string;
|
|
7890
|
+
} | {
|
|
7891
|
+
properties: {
|
|
7892
|
+
device_id: {
|
|
7893
|
+
format: string;
|
|
7894
|
+
type: string;
|
|
7895
|
+
};
|
|
7896
|
+
acs_system_id?: never;
|
|
7897
|
+
device_name?: never;
|
|
7898
|
+
};
|
|
7899
|
+
required: string[];
|
|
7900
|
+
type: string;
|
|
7901
|
+
})[];
|
|
7902
|
+
};
|
|
7903
|
+
};
|
|
7904
|
+
};
|
|
7905
|
+
};
|
|
7906
|
+
responses: {
|
|
7907
|
+
200: {
|
|
7908
|
+
content: {
|
|
7909
|
+
'application/json': {
|
|
7910
|
+
schema: {
|
|
7911
|
+
properties: {
|
|
7912
|
+
action_attempt: {
|
|
7913
|
+
$ref: string;
|
|
7914
|
+
};
|
|
7915
|
+
ok: {
|
|
7916
|
+
type: string;
|
|
7917
|
+
};
|
|
7918
|
+
};
|
|
7919
|
+
required: string[];
|
|
7920
|
+
type: string;
|
|
7921
|
+
};
|
|
7922
|
+
};
|
|
7923
|
+
};
|
|
7924
|
+
description: string;
|
|
7925
|
+
};
|
|
7926
|
+
400: {
|
|
7927
|
+
description: string;
|
|
7928
|
+
};
|
|
7929
|
+
401: {
|
|
7930
|
+
description: string;
|
|
7931
|
+
};
|
|
7932
|
+
};
|
|
7933
|
+
security: ({
|
|
7934
|
+
pat_with_workspace: never[];
|
|
7935
|
+
console_session?: never;
|
|
7936
|
+
api_key?: never;
|
|
7937
|
+
} | {
|
|
7938
|
+
console_session: never[];
|
|
7939
|
+
pat_with_workspace?: never;
|
|
7940
|
+
api_key?: never;
|
|
7941
|
+
} | {
|
|
7942
|
+
api_key: never[];
|
|
7943
|
+
pat_with_workspace?: never;
|
|
7944
|
+
console_session?: never;
|
|
7945
|
+
})[];
|
|
7946
|
+
summary: string;
|
|
7947
|
+
tags: string[];
|
|
7948
|
+
'x-fern-sdk-group-name': string[];
|
|
7949
|
+
'x-fern-sdk-method-name': string;
|
|
7950
|
+
'x-fern-sdk-return-value': string;
|
|
7951
|
+
'x-undocumented': string;
|
|
7952
|
+
};
|
|
7953
|
+
};
|
|
7945
7954
|
'/acs/entrances/get': {
|
|
7946
7955
|
post: {
|
|
7947
7956
|
operationId: string;
|
|
@@ -2505,6 +2505,7 @@ export default {
|
|
|
2505
2505
|
type: 'string',
|
|
2506
2506
|
},
|
|
2507
2507
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
2508
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
2508
2509
|
],
|
|
2509
2510
|
},
|
|
2510
2511
|
display_name: {
|
|
@@ -3218,6 +3219,11 @@ export default {
|
|
|
3218
3219
|
required: ['device_id', 'device_name'],
|
|
3219
3220
|
type: 'object',
|
|
3220
3221
|
},
|
|
3222
|
+
visionline_metadata: {
|
|
3223
|
+
properties: { encoder_id: { type: 'string' } },
|
|
3224
|
+
required: ['encoder_id'],
|
|
3225
|
+
type: 'object',
|
|
3226
|
+
},
|
|
3221
3227
|
wyze_metadata: {
|
|
3222
3228
|
properties: {
|
|
3223
3229
|
device_id: { type: 'string' },
|
|
@@ -4163,6 +4169,7 @@ export default {
|
|
|
4163
4169
|
type: 'string',
|
|
4164
4170
|
},
|
|
4165
4171
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
4172
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
4166
4173
|
],
|
|
4167
4174
|
},
|
|
4168
4175
|
errors: {
|
|
@@ -6668,68 +6675,6 @@ export default {
|
|
|
6668
6675
|
'x-fern-sdk-return-value': 'acs_entrances',
|
|
6669
6676
|
},
|
|
6670
6677
|
},
|
|
6671
|
-
'/acs/credentials/read_card': {
|
|
6672
|
-
post: {
|
|
6673
|
-
operationId: 'acsCredentialsReadCardPost',
|
|
6674
|
-
requestBody: {
|
|
6675
|
-
content: {
|
|
6676
|
-
'application/json': {
|
|
6677
|
-
schema: {
|
|
6678
|
-
oneOf: [
|
|
6679
|
-
{
|
|
6680
|
-
properties: {
|
|
6681
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
6682
|
-
device_name: { type: 'string' },
|
|
6683
|
-
},
|
|
6684
|
-
required: ['acs_system_id', 'device_name'],
|
|
6685
|
-
type: 'object',
|
|
6686
|
-
},
|
|
6687
|
-
{
|
|
6688
|
-
properties: {
|
|
6689
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
6690
|
-
},
|
|
6691
|
-
required: ['device_id'],
|
|
6692
|
-
type: 'object',
|
|
6693
|
-
},
|
|
6694
|
-
],
|
|
6695
|
-
},
|
|
6696
|
-
},
|
|
6697
|
-
},
|
|
6698
|
-
},
|
|
6699
|
-
responses: {
|
|
6700
|
-
200: {
|
|
6701
|
-
content: {
|
|
6702
|
-
'application/json': {
|
|
6703
|
-
schema: {
|
|
6704
|
-
properties: {
|
|
6705
|
-
action_attempt: {
|
|
6706
|
-
$ref: '#/components/schemas/action_attempt',
|
|
6707
|
-
},
|
|
6708
|
-
ok: { type: 'boolean' },
|
|
6709
|
-
},
|
|
6710
|
-
required: ['action_attempt', 'ok'],
|
|
6711
|
-
type: 'object',
|
|
6712
|
-
},
|
|
6713
|
-
},
|
|
6714
|
-
},
|
|
6715
|
-
description: 'OK',
|
|
6716
|
-
},
|
|
6717
|
-
400: { description: 'Bad Request' },
|
|
6718
|
-
401: { description: 'Unauthorized' },
|
|
6719
|
-
},
|
|
6720
|
-
security: [
|
|
6721
|
-
{ pat_with_workspace: [] },
|
|
6722
|
-
{ console_session: [] },
|
|
6723
|
-
{ api_key: [] },
|
|
6724
|
-
],
|
|
6725
|
-
summary: '/acs/credentials/read_card',
|
|
6726
|
-
tags: ['/acs'],
|
|
6727
|
-
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
6728
|
-
'x-fern-sdk-method-name': 'read_card',
|
|
6729
|
-
'x-fern-sdk-return-value': 'action_attempt',
|
|
6730
|
-
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
6731
|
-
},
|
|
6732
|
-
},
|
|
6733
6678
|
'/acs/credentials/unassign': {
|
|
6734
6679
|
patch: {
|
|
6735
6680
|
operationId: 'acsCredentialsUnassignPatch',
|
|
@@ -7265,6 +7210,68 @@ export default {
|
|
|
7265
7210
|
'x-fern-sdk-method-name': 'update',
|
|
7266
7211
|
},
|
|
7267
7212
|
},
|
|
7213
|
+
'/acs/encoders/read_card': {
|
|
7214
|
+
post: {
|
|
7215
|
+
operationId: 'acsEncodersReadCardPost',
|
|
7216
|
+
requestBody: {
|
|
7217
|
+
content: {
|
|
7218
|
+
'application/json': {
|
|
7219
|
+
schema: {
|
|
7220
|
+
oneOf: [
|
|
7221
|
+
{
|
|
7222
|
+
properties: {
|
|
7223
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7224
|
+
device_name: { type: 'string' },
|
|
7225
|
+
},
|
|
7226
|
+
required: ['acs_system_id', 'device_name'],
|
|
7227
|
+
type: 'object',
|
|
7228
|
+
},
|
|
7229
|
+
{
|
|
7230
|
+
properties: {
|
|
7231
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
7232
|
+
},
|
|
7233
|
+
required: ['device_id'],
|
|
7234
|
+
type: 'object',
|
|
7235
|
+
},
|
|
7236
|
+
],
|
|
7237
|
+
},
|
|
7238
|
+
},
|
|
7239
|
+
},
|
|
7240
|
+
},
|
|
7241
|
+
responses: {
|
|
7242
|
+
200: {
|
|
7243
|
+
content: {
|
|
7244
|
+
'application/json': {
|
|
7245
|
+
schema: {
|
|
7246
|
+
properties: {
|
|
7247
|
+
action_attempt: {
|
|
7248
|
+
$ref: '#/components/schemas/action_attempt',
|
|
7249
|
+
},
|
|
7250
|
+
ok: { type: 'boolean' },
|
|
7251
|
+
},
|
|
7252
|
+
required: ['action_attempt', 'ok'],
|
|
7253
|
+
type: 'object',
|
|
7254
|
+
},
|
|
7255
|
+
},
|
|
7256
|
+
},
|
|
7257
|
+
description: 'OK',
|
|
7258
|
+
},
|
|
7259
|
+
400: { description: 'Bad Request' },
|
|
7260
|
+
401: { description: 'Unauthorized' },
|
|
7261
|
+
},
|
|
7262
|
+
security: [
|
|
7263
|
+
{ pat_with_workspace: [] },
|
|
7264
|
+
{ console_session: [] },
|
|
7265
|
+
{ api_key: [] },
|
|
7266
|
+
],
|
|
7267
|
+
summary: '/acs/encoders/read_card',
|
|
7268
|
+
tags: ['/acs'],
|
|
7269
|
+
'x-fern-sdk-group-name': ['acs', 'encoders'],
|
|
7270
|
+
'x-fern-sdk-method-name': 'read_card',
|
|
7271
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
7272
|
+
'x-undocumented': 'Reading a card is currently unimplemented.',
|
|
7273
|
+
},
|
|
7274
|
+
},
|
|
7268
7275
|
'/acs/entrances/get': {
|
|
7269
7276
|
post: {
|
|
7270
7277
|
operationId: 'acsEntrancesGetPost',
|
|
@@ -10410,6 +10417,7 @@ export default {
|
|
|
10410
10417
|
type: 'string',
|
|
10411
10418
|
},
|
|
10412
10419
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
10420
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
10413
10421
|
],
|
|
10414
10422
|
},
|
|
10415
10423
|
device_types: {
|
|
@@ -10462,6 +10470,7 @@ export default {
|
|
|
10462
10470
|
enum: ['ios_phone', 'android_phone'],
|
|
10463
10471
|
type: 'string',
|
|
10464
10472
|
},
|
|
10473
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
10465
10474
|
],
|
|
10466
10475
|
},
|
|
10467
10476
|
type: 'array',
|
|
@@ -10891,6 +10900,7 @@ export default {
|
|
|
10891
10900
|
type: 'string',
|
|
10892
10901
|
},
|
|
10893
10902
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
10903
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
10894
10904
|
],
|
|
10895
10905
|
},
|
|
10896
10906
|
device_types: {
|
|
@@ -10943,6 +10953,7 @@ export default {
|
|
|
10943
10953
|
enum: ['ios_phone', 'android_phone'],
|
|
10944
10954
|
type: 'string',
|
|
10945
10955
|
},
|
|
10956
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
10946
10957
|
],
|
|
10947
10958
|
},
|
|
10948
10959
|
type: 'array',
|
|
@@ -11652,6 +11663,7 @@ export default {
|
|
|
11652
11663
|
type: 'string',
|
|
11653
11664
|
},
|
|
11654
11665
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
11666
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
11655
11667
|
],
|
|
11656
11668
|
},
|
|
11657
11669
|
device_types: {
|
|
@@ -11704,6 +11716,7 @@ export default {
|
|
|
11704
11716
|
enum: ['ios_phone', 'android_phone'],
|
|
11705
11717
|
type: 'string',
|
|
11706
11718
|
},
|
|
11719
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
11707
11720
|
],
|
|
11708
11721
|
},
|
|
11709
11722
|
type: 'array',
|
|
@@ -12096,6 +12109,7 @@ export default {
|
|
|
12096
12109
|
type: 'string',
|
|
12097
12110
|
},
|
|
12098
12111
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
12112
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
12099
12113
|
],
|
|
12100
12114
|
},
|
|
12101
12115
|
device_types: {
|
|
@@ -12148,6 +12162,7 @@ export default {
|
|
|
12148
12162
|
enum: ['ios_phone', 'android_phone'],
|
|
12149
12163
|
type: 'string',
|
|
12150
12164
|
},
|
|
12165
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
12151
12166
|
],
|
|
12152
12167
|
},
|
|
12153
12168
|
type: 'array',
|
|
@@ -13344,6 +13359,7 @@ export default {
|
|
|
13344
13359
|
type: 'string',
|
|
13345
13360
|
},
|
|
13346
13361
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
13362
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
13347
13363
|
],
|
|
13348
13364
|
},
|
|
13349
13365
|
device_types: {
|
|
@@ -13396,6 +13412,7 @@ export default {
|
|
|
13396
13412
|
enum: ['ios_phone', 'android_phone'],
|
|
13397
13413
|
type: 'string',
|
|
13398
13414
|
},
|
|
13415
|
+
{ enum: ['visionline_encoder'], type: 'string' },
|
|
13399
13416
|
],
|
|
13400
13417
|
},
|
|
13401
13418
|
type: 'array',
|