@seamapi/types 1.404.4 → 1.406.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 +171 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +283 -3
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +3 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +210 -0
- package/lib/seam/connect/openapi.js +167 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +67 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +171 -0
- package/src/lib/seam/connect/route-types.ts +67 -0
|
@@ -1132,6 +1132,11 @@ declare const _default: {
|
|
|
1132
1132
|
format: string;
|
|
1133
1133
|
type: string;
|
|
1134
1134
|
};
|
|
1135
|
+
connected_account_id: {
|
|
1136
|
+
description: string;
|
|
1137
|
+
format: string;
|
|
1138
|
+
type: string;
|
|
1139
|
+
};
|
|
1135
1140
|
created_at: {
|
|
1136
1141
|
description: string;
|
|
1137
1142
|
format: string;
|
|
@@ -9617,6 +9622,11 @@ declare const _default: {
|
|
|
9617
9622
|
format: string;
|
|
9618
9623
|
type: string;
|
|
9619
9624
|
};
|
|
9625
|
+
connected_account_id: {
|
|
9626
|
+
description: string;
|
|
9627
|
+
format: string;
|
|
9628
|
+
type: string;
|
|
9629
|
+
};
|
|
9620
9630
|
created_at: {
|
|
9621
9631
|
description: string;
|
|
9622
9632
|
format: string;
|
|
@@ -19432,6 +19442,72 @@ declare const _default: {
|
|
|
19432
19442
|
'x-title': string;
|
|
19433
19443
|
};
|
|
19434
19444
|
};
|
|
19445
|
+
'/connected_accounts/sync': {
|
|
19446
|
+
post: {
|
|
19447
|
+
description: string;
|
|
19448
|
+
operationId: string;
|
|
19449
|
+
requestBody: {
|
|
19450
|
+
content: {
|
|
19451
|
+
'application/json': {
|
|
19452
|
+
schema: {
|
|
19453
|
+
properties: {
|
|
19454
|
+
connected_account_id: {
|
|
19455
|
+
description: string;
|
|
19456
|
+
format: string;
|
|
19457
|
+
type: string;
|
|
19458
|
+
};
|
|
19459
|
+
};
|
|
19460
|
+
required: string[];
|
|
19461
|
+
type: string;
|
|
19462
|
+
};
|
|
19463
|
+
};
|
|
19464
|
+
};
|
|
19465
|
+
};
|
|
19466
|
+
responses: {
|
|
19467
|
+
200: {
|
|
19468
|
+
content: {
|
|
19469
|
+
'application/json': {
|
|
19470
|
+
schema: {
|
|
19471
|
+
properties: {
|
|
19472
|
+
ok: {
|
|
19473
|
+
type: string;
|
|
19474
|
+
};
|
|
19475
|
+
};
|
|
19476
|
+
required: string[];
|
|
19477
|
+
type: string;
|
|
19478
|
+
};
|
|
19479
|
+
};
|
|
19480
|
+
};
|
|
19481
|
+
description: string;
|
|
19482
|
+
};
|
|
19483
|
+
400: {
|
|
19484
|
+
description: string;
|
|
19485
|
+
};
|
|
19486
|
+
401: {
|
|
19487
|
+
description: string;
|
|
19488
|
+
};
|
|
19489
|
+
};
|
|
19490
|
+
security: ({
|
|
19491
|
+
api_key: never[];
|
|
19492
|
+
pat_with_workspace?: never;
|
|
19493
|
+
console_session_with_workspace?: never;
|
|
19494
|
+
} | {
|
|
19495
|
+
pat_with_workspace: never[];
|
|
19496
|
+
api_key?: never;
|
|
19497
|
+
console_session_with_workspace?: never;
|
|
19498
|
+
} | {
|
|
19499
|
+
console_session_with_workspace: never[];
|
|
19500
|
+
api_key?: never;
|
|
19501
|
+
pat_with_workspace?: never;
|
|
19502
|
+
})[];
|
|
19503
|
+
summary: string;
|
|
19504
|
+
tags: string[];
|
|
19505
|
+
'x-fern-sdk-group-name': string[];
|
|
19506
|
+
'x-fern-sdk-method-name': string;
|
|
19507
|
+
'x-response-key': null;
|
|
19508
|
+
'x-title': string;
|
|
19509
|
+
};
|
|
19510
|
+
};
|
|
19435
19511
|
'/connected_accounts/update': {
|
|
19436
19512
|
post: {
|
|
19437
19513
|
description: string;
|
|
@@ -27463,6 +27539,73 @@ declare const _default: {
|
|
|
27463
27539
|
'x-undocumented': string;
|
|
27464
27540
|
};
|
|
27465
27541
|
};
|
|
27542
|
+
'/unstable_access_grants/delete': {
|
|
27543
|
+
post: {
|
|
27544
|
+
description: string;
|
|
27545
|
+
operationId: string;
|
|
27546
|
+
requestBody: {
|
|
27547
|
+
content: {
|
|
27548
|
+
'application/json': {
|
|
27549
|
+
schema: {
|
|
27550
|
+
properties: {
|
|
27551
|
+
access_grant_id: {
|
|
27552
|
+
description: string;
|
|
27553
|
+
format: string;
|
|
27554
|
+
type: string;
|
|
27555
|
+
};
|
|
27556
|
+
};
|
|
27557
|
+
required: string[];
|
|
27558
|
+
type: string;
|
|
27559
|
+
};
|
|
27560
|
+
};
|
|
27561
|
+
};
|
|
27562
|
+
};
|
|
27563
|
+
responses: {
|
|
27564
|
+
200: {
|
|
27565
|
+
content: {
|
|
27566
|
+
'application/json': {
|
|
27567
|
+
schema: {
|
|
27568
|
+
properties: {
|
|
27569
|
+
ok: {
|
|
27570
|
+
type: string;
|
|
27571
|
+
};
|
|
27572
|
+
};
|
|
27573
|
+
required: string[];
|
|
27574
|
+
type: string;
|
|
27575
|
+
};
|
|
27576
|
+
};
|
|
27577
|
+
};
|
|
27578
|
+
description: string;
|
|
27579
|
+
};
|
|
27580
|
+
400: {
|
|
27581
|
+
description: string;
|
|
27582
|
+
};
|
|
27583
|
+
401: {
|
|
27584
|
+
description: string;
|
|
27585
|
+
};
|
|
27586
|
+
};
|
|
27587
|
+
security: ({
|
|
27588
|
+
pat_with_workspace: never[];
|
|
27589
|
+
console_session_with_workspace?: never;
|
|
27590
|
+
api_key?: never;
|
|
27591
|
+
} | {
|
|
27592
|
+
console_session_with_workspace: never[];
|
|
27593
|
+
pat_with_workspace?: never;
|
|
27594
|
+
api_key?: never;
|
|
27595
|
+
} | {
|
|
27596
|
+
api_key: never[];
|
|
27597
|
+
pat_with_workspace?: never;
|
|
27598
|
+
console_session_with_workspace?: never;
|
|
27599
|
+
})[];
|
|
27600
|
+
summary: string;
|
|
27601
|
+
tags: never[];
|
|
27602
|
+
'x-fern-sdk-group-name': string[];
|
|
27603
|
+
'x-fern-sdk-method-name': string;
|
|
27604
|
+
'x-response-key': null;
|
|
27605
|
+
'x-title': string;
|
|
27606
|
+
'x-undocumented': string;
|
|
27607
|
+
};
|
|
27608
|
+
};
|
|
27466
27609
|
'/unstable_access_grants/get': {
|
|
27467
27610
|
post: {
|
|
27468
27611
|
description: string;
|
|
@@ -27776,6 +27919,73 @@ declare const _default: {
|
|
|
27776
27919
|
'x-undocumented': string;
|
|
27777
27920
|
};
|
|
27778
27921
|
};
|
|
27922
|
+
'/unstable_access_methods/delete': {
|
|
27923
|
+
post: {
|
|
27924
|
+
description: string;
|
|
27925
|
+
operationId: string;
|
|
27926
|
+
requestBody: {
|
|
27927
|
+
content: {
|
|
27928
|
+
'application/json': {
|
|
27929
|
+
schema: {
|
|
27930
|
+
properties: {
|
|
27931
|
+
access_method_id: {
|
|
27932
|
+
description: string;
|
|
27933
|
+
format: string;
|
|
27934
|
+
type: string;
|
|
27935
|
+
};
|
|
27936
|
+
};
|
|
27937
|
+
required: string[];
|
|
27938
|
+
type: string;
|
|
27939
|
+
};
|
|
27940
|
+
};
|
|
27941
|
+
};
|
|
27942
|
+
};
|
|
27943
|
+
responses: {
|
|
27944
|
+
200: {
|
|
27945
|
+
content: {
|
|
27946
|
+
'application/json': {
|
|
27947
|
+
schema: {
|
|
27948
|
+
properties: {
|
|
27949
|
+
ok: {
|
|
27950
|
+
type: string;
|
|
27951
|
+
};
|
|
27952
|
+
};
|
|
27953
|
+
required: string[];
|
|
27954
|
+
type: string;
|
|
27955
|
+
};
|
|
27956
|
+
};
|
|
27957
|
+
};
|
|
27958
|
+
description: string;
|
|
27959
|
+
};
|
|
27960
|
+
400: {
|
|
27961
|
+
description: string;
|
|
27962
|
+
};
|
|
27963
|
+
401: {
|
|
27964
|
+
description: string;
|
|
27965
|
+
};
|
|
27966
|
+
};
|
|
27967
|
+
security: ({
|
|
27968
|
+
pat_with_workspace: never[];
|
|
27969
|
+
console_session_with_workspace?: never;
|
|
27970
|
+
api_key?: never;
|
|
27971
|
+
} | {
|
|
27972
|
+
console_session_with_workspace: never[];
|
|
27973
|
+
pat_with_workspace?: never;
|
|
27974
|
+
api_key?: never;
|
|
27975
|
+
} | {
|
|
27976
|
+
api_key: never[];
|
|
27977
|
+
pat_with_workspace?: never;
|
|
27978
|
+
console_session_with_workspace?: never;
|
|
27979
|
+
})[];
|
|
27980
|
+
summary: string;
|
|
27981
|
+
tags: never[];
|
|
27982
|
+
'x-fern-sdk-group-name': string[];
|
|
27983
|
+
'x-fern-sdk-method-name': string;
|
|
27984
|
+
'x-response-key': null;
|
|
27985
|
+
'x-title': string;
|
|
27986
|
+
'x-undocumented': string;
|
|
27987
|
+
};
|
|
27988
|
+
};
|
|
27779
27989
|
'/unstable_access_methods/get': {
|
|
27780
27990
|
post: {
|
|
27781
27991
|
description: string;
|
|
@@ -2440,6 +2440,11 @@ export default {
|
|
|
2440
2440
|
format: 'uuid',
|
|
2441
2441
|
type: 'string',
|
|
2442
2442
|
},
|
|
2443
|
+
connected_account_id: {
|
|
2444
|
+
description: '\n The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).\n ',
|
|
2445
|
+
format: 'uuid',
|
|
2446
|
+
type: 'string',
|
|
2447
|
+
},
|
|
2443
2448
|
created_at: {
|
|
2444
2449
|
description: 'Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.',
|
|
2445
2450
|
format: 'date-time',
|
|
@@ -2988,6 +2993,7 @@ export default {
|
|
|
2988
2993
|
'warnings',
|
|
2989
2994
|
'errors',
|
|
2990
2995
|
'last_successful_sync_at',
|
|
2996
|
+
'connected_account_id',
|
|
2991
2997
|
'is_managed',
|
|
2992
2998
|
],
|
|
2993
2999
|
type: 'object',
|
|
@@ -16431,6 +16437,11 @@ export default {
|
|
|
16431
16437
|
format: 'uuid',
|
|
16432
16438
|
type: 'string',
|
|
16433
16439
|
},
|
|
16440
|
+
connected_account_id: {
|
|
16441
|
+
description: '\n The ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that is associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).\n ',
|
|
16442
|
+
format: 'uuid',
|
|
16443
|
+
type: 'string',
|
|
16444
|
+
},
|
|
16434
16445
|
created_at: {
|
|
16435
16446
|
description: 'Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.',
|
|
16436
16447
|
format: 'date-time',
|
|
@@ -16979,6 +16990,7 @@ export default {
|
|
|
16979
16990
|
'warnings',
|
|
16980
16991
|
'errors',
|
|
16981
16992
|
'last_successful_sync_at',
|
|
16993
|
+
'connected_account_id',
|
|
16982
16994
|
'is_managed',
|
|
16983
16995
|
],
|
|
16984
16996
|
type: 'object',
|
|
@@ -25038,6 +25050,56 @@ export default {
|
|
|
25038
25050
|
'x-title': 'List Connected Accounts',
|
|
25039
25051
|
},
|
|
25040
25052
|
},
|
|
25053
|
+
'/connected_accounts/sync': {
|
|
25054
|
+
post: {
|
|
25055
|
+
description: 'Request a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) sync attempt for the specified connected_account_id.',
|
|
25056
|
+
operationId: 'connectedAccountsSyncPost',
|
|
25057
|
+
requestBody: {
|
|
25058
|
+
content: {
|
|
25059
|
+
'application/json': {
|
|
25060
|
+
schema: {
|
|
25061
|
+
properties: {
|
|
25062
|
+
connected_account_id: {
|
|
25063
|
+
description: 'ID of the connected account that you want to sync.',
|
|
25064
|
+
format: 'uuid',
|
|
25065
|
+
type: 'string',
|
|
25066
|
+
},
|
|
25067
|
+
},
|
|
25068
|
+
required: ['connected_account_id'],
|
|
25069
|
+
type: 'object',
|
|
25070
|
+
},
|
|
25071
|
+
},
|
|
25072
|
+
},
|
|
25073
|
+
},
|
|
25074
|
+
responses: {
|
|
25075
|
+
200: {
|
|
25076
|
+
content: {
|
|
25077
|
+
'application/json': {
|
|
25078
|
+
schema: {
|
|
25079
|
+
properties: { ok: { type: 'boolean' } },
|
|
25080
|
+
required: ['ok'],
|
|
25081
|
+
type: 'object',
|
|
25082
|
+
},
|
|
25083
|
+
},
|
|
25084
|
+
},
|
|
25085
|
+
description: 'OK',
|
|
25086
|
+
},
|
|
25087
|
+
400: { description: 'Bad Request' },
|
|
25088
|
+
401: { description: 'Unauthorized' },
|
|
25089
|
+
},
|
|
25090
|
+
security: [
|
|
25091
|
+
{ api_key: [] },
|
|
25092
|
+
{ pat_with_workspace: [] },
|
|
25093
|
+
{ console_session_with_workspace: [] },
|
|
25094
|
+
],
|
|
25095
|
+
summary: '/connected_accounts/sync',
|
|
25096
|
+
tags: ['/connected_accounts'],
|
|
25097
|
+
'x-fern-sdk-group-name': ['connected_accounts'],
|
|
25098
|
+
'x-fern-sdk-method-name': 'sync',
|
|
25099
|
+
'x-response-key': null,
|
|
25100
|
+
'x-title': 'Sync a Connected Account',
|
|
25101
|
+
},
|
|
25102
|
+
},
|
|
25041
25103
|
'/connected_accounts/update': {
|
|
25042
25104
|
post: {
|
|
25043
25105
|
description: 'Updates a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
@@ -25461,6 +25523,7 @@ export default {
|
|
|
25461
25523
|
'akiles',
|
|
25462
25524
|
'ecobee',
|
|
25463
25525
|
'honeywell_resideo',
|
|
25526
|
+
'kwikset2',
|
|
25464
25527
|
'minut',
|
|
25465
25528
|
'nest',
|
|
25466
25529
|
'noiseaware',
|
|
@@ -26044,6 +26107,7 @@ export default {
|
|
|
26044
26107
|
'akiles',
|
|
26045
26108
|
'ecobee',
|
|
26046
26109
|
'honeywell_resideo',
|
|
26110
|
+
'kwikset2',
|
|
26047
26111
|
'minut',
|
|
26048
26112
|
'nest',
|
|
26049
26113
|
'noiseaware',
|
|
@@ -26951,6 +27015,7 @@ export default {
|
|
|
26951
27015
|
'dormakaba_oracode',
|
|
26952
27016
|
'tedee',
|
|
26953
27017
|
'akiles',
|
|
27018
|
+
'kwikset2',
|
|
26954
27019
|
'smartthings',
|
|
26955
27020
|
],
|
|
26956
27021
|
type: 'string',
|
|
@@ -32098,6 +32163,57 @@ export default {
|
|
|
32098
32163
|
'x-undocumented': 'Unreleased.',
|
|
32099
32164
|
},
|
|
32100
32165
|
},
|
|
32166
|
+
'/unstable_access_grants/delete': {
|
|
32167
|
+
post: {
|
|
32168
|
+
description: 'Delete an access grant.',
|
|
32169
|
+
operationId: 'unstableAccessGrantsDeletePost',
|
|
32170
|
+
requestBody: {
|
|
32171
|
+
content: {
|
|
32172
|
+
'application/json': {
|
|
32173
|
+
schema: {
|
|
32174
|
+
properties: {
|
|
32175
|
+
access_grant_id: {
|
|
32176
|
+
description: 'ID of access grant to delete.',
|
|
32177
|
+
format: 'uuid',
|
|
32178
|
+
type: 'string',
|
|
32179
|
+
},
|
|
32180
|
+
},
|
|
32181
|
+
required: ['access_grant_id'],
|
|
32182
|
+
type: 'object',
|
|
32183
|
+
},
|
|
32184
|
+
},
|
|
32185
|
+
},
|
|
32186
|
+
},
|
|
32187
|
+
responses: {
|
|
32188
|
+
200: {
|
|
32189
|
+
content: {
|
|
32190
|
+
'application/json': {
|
|
32191
|
+
schema: {
|
|
32192
|
+
properties: { ok: { type: 'boolean' } },
|
|
32193
|
+
required: ['ok'],
|
|
32194
|
+
type: 'object',
|
|
32195
|
+
},
|
|
32196
|
+
},
|
|
32197
|
+
},
|
|
32198
|
+
description: 'OK',
|
|
32199
|
+
},
|
|
32200
|
+
400: { description: 'Bad Request' },
|
|
32201
|
+
401: { description: 'Unauthorized' },
|
|
32202
|
+
},
|
|
32203
|
+
security: [
|
|
32204
|
+
{ pat_with_workspace: [] },
|
|
32205
|
+
{ console_session_with_workspace: [] },
|
|
32206
|
+
{ api_key: [] },
|
|
32207
|
+
],
|
|
32208
|
+
summary: '/unstable_access_grants/delete',
|
|
32209
|
+
tags: [],
|
|
32210
|
+
'x-fern-sdk-group-name': ['unstable_access_grants'],
|
|
32211
|
+
'x-fern-sdk-method-name': 'delete',
|
|
32212
|
+
'x-response-key': null,
|
|
32213
|
+
'x-title': 'Delete an Access Grant',
|
|
32214
|
+
'x-undocumented': 'Unreleased.',
|
|
32215
|
+
},
|
|
32216
|
+
},
|
|
32101
32217
|
'/unstable_access_grants/get': {
|
|
32102
32218
|
post: {
|
|
32103
32219
|
description: 'Get an access grant.',
|
|
@@ -32393,6 +32509,57 @@ export default {
|
|
|
32393
32509
|
'x-undocumented': 'Unreleased.',
|
|
32394
32510
|
},
|
|
32395
32511
|
},
|
|
32512
|
+
'/unstable_access_methods/delete': {
|
|
32513
|
+
post: {
|
|
32514
|
+
description: 'Delete an access method.',
|
|
32515
|
+
operationId: 'unstableAccessMethodsDeletePost',
|
|
32516
|
+
requestBody: {
|
|
32517
|
+
content: {
|
|
32518
|
+
'application/json': {
|
|
32519
|
+
schema: {
|
|
32520
|
+
properties: {
|
|
32521
|
+
access_method_id: {
|
|
32522
|
+
description: 'ID of access method to get.',
|
|
32523
|
+
format: 'uuid',
|
|
32524
|
+
type: 'string',
|
|
32525
|
+
},
|
|
32526
|
+
},
|
|
32527
|
+
required: ['access_method_id'],
|
|
32528
|
+
type: 'object',
|
|
32529
|
+
},
|
|
32530
|
+
},
|
|
32531
|
+
},
|
|
32532
|
+
},
|
|
32533
|
+
responses: {
|
|
32534
|
+
200: {
|
|
32535
|
+
content: {
|
|
32536
|
+
'application/json': {
|
|
32537
|
+
schema: {
|
|
32538
|
+
properties: { ok: { type: 'boolean' } },
|
|
32539
|
+
required: ['ok'],
|
|
32540
|
+
type: 'object',
|
|
32541
|
+
},
|
|
32542
|
+
},
|
|
32543
|
+
},
|
|
32544
|
+
description: 'OK',
|
|
32545
|
+
},
|
|
32546
|
+
400: { description: 'Bad Request' },
|
|
32547
|
+
401: { description: 'Unauthorized' },
|
|
32548
|
+
},
|
|
32549
|
+
security: [
|
|
32550
|
+
{ pat_with_workspace: [] },
|
|
32551
|
+
{ console_session_with_workspace: [] },
|
|
32552
|
+
{ api_key: [] },
|
|
32553
|
+
],
|
|
32554
|
+
summary: '/unstable_access_methods/delete',
|
|
32555
|
+
tags: [],
|
|
32556
|
+
'x-fern-sdk-group-name': ['unstable_access_methods'],
|
|
32557
|
+
'x-fern-sdk-method-name': 'delete',
|
|
32558
|
+
'x-response-key': null,
|
|
32559
|
+
'x-title': 'Delete an Access Method',
|
|
32560
|
+
'x-undocumented': 'Unreleased.',
|
|
32561
|
+
},
|
|
32562
|
+
},
|
|
32396
32563
|
'/unstable_access_methods/get': {
|
|
32397
32564
|
post: {
|
|
32398
32565
|
description: 'Get an access method.',
|