@seamapi/types 1.800.0 → 1.802.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 +225 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +459 -0
- package/dist/index.cjs +225 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +58 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +9 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +21 -0
- package/lib/seam/connect/models/batch.d.ts +58 -0
- package/lib/seam/connect/openapi.d.ts +226 -0
- package/lib/seam/connect/openapi.js +218 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +120 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +234 -0
- package/src/lib/seam/connect/route-types.ts +131 -0
|
@@ -1527,6 +1527,27 @@ export default {
|
|
|
1527
1527
|
required: ['message', 'warning_code'],
|
|
1528
1528
|
type: 'object',
|
|
1529
1529
|
},
|
|
1530
|
+
{
|
|
1531
|
+
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
1532
|
+
properties: {
|
|
1533
|
+
created_at: {
|
|
1534
|
+
description: 'Date and time at which Seam created the warning.',
|
|
1535
|
+
format: 'date-time',
|
|
1536
|
+
type: 'string',
|
|
1537
|
+
},
|
|
1538
|
+
message: {
|
|
1539
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1540
|
+
type: 'string',
|
|
1541
|
+
},
|
|
1542
|
+
warning_code: {
|
|
1543
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1544
|
+
enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
|
|
1545
|
+
type: 'string',
|
|
1546
|
+
},
|
|
1547
|
+
},
|
|
1548
|
+
required: ['message', 'warning_code'],
|
|
1549
|
+
type: 'object',
|
|
1550
|
+
},
|
|
1530
1551
|
{
|
|
1531
1552
|
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
1532
1553
|
properties: {
|
|
@@ -24623,6 +24644,27 @@ export default {
|
|
|
24623
24644
|
required: ['message', 'warning_code'],
|
|
24624
24645
|
type: 'object',
|
|
24625
24646
|
},
|
|
24647
|
+
{
|
|
24648
|
+
description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
24649
|
+
properties: {
|
|
24650
|
+
created_at: {
|
|
24651
|
+
description: 'Date and time at which Seam created the warning.',
|
|
24652
|
+
format: 'date-time',
|
|
24653
|
+
type: 'string',
|
|
24654
|
+
},
|
|
24655
|
+
message: {
|
|
24656
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
24657
|
+
type: 'string',
|
|
24658
|
+
},
|
|
24659
|
+
warning_code: {
|
|
24660
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
24661
|
+
enum: ['schlage_access_code_ambiguous_timezone_dst_risk'],
|
|
24662
|
+
type: 'string',
|
|
24663
|
+
},
|
|
24664
|
+
},
|
|
24665
|
+
required: ['message', 'warning_code'],
|
|
24666
|
+
type: 'object',
|
|
24667
|
+
},
|
|
24626
24668
|
{
|
|
24627
24669
|
description: 'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
24628
24670
|
properties: {
|
|
@@ -56086,6 +56128,182 @@ export default {
|
|
|
56086
56128
|
'x-undocumented': 'Seam Bridge Client only.',
|
|
56087
56129
|
},
|
|
56088
56130
|
},
|
|
56131
|
+
'/seam/connect_webview/v1/get_current_pane': {
|
|
56132
|
+
get: {
|
|
56133
|
+
description: 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
56134
|
+
operationId: 'seamConnectWebviewV1GetCurrentPaneGet',
|
|
56135
|
+
parameters: [
|
|
56136
|
+
{
|
|
56137
|
+
in: 'query',
|
|
56138
|
+
name: 'connect_webview_id',
|
|
56139
|
+
required: true,
|
|
56140
|
+
schema: { format: 'uuid', type: 'string' },
|
|
56141
|
+
},
|
|
56142
|
+
],
|
|
56143
|
+
responses: {
|
|
56144
|
+
200: {
|
|
56145
|
+
content: {
|
|
56146
|
+
'application/json': {
|
|
56147
|
+
schema: {
|
|
56148
|
+
properties: {
|
|
56149
|
+
ok: { type: 'boolean' },
|
|
56150
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
56151
|
+
},
|
|
56152
|
+
required: ['ok'],
|
|
56153
|
+
type: 'object',
|
|
56154
|
+
},
|
|
56155
|
+
},
|
|
56156
|
+
},
|
|
56157
|
+
description: 'OK',
|
|
56158
|
+
},
|
|
56159
|
+
400: { description: 'Bad Request' },
|
|
56160
|
+
401: { description: 'Unauthorized' },
|
|
56161
|
+
},
|
|
56162
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56163
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
56164
|
+
tags: [],
|
|
56165
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56166
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
56167
|
+
'x-fern-sdk-return-value': 'pane',
|
|
56168
|
+
'x-response-key': 'pane',
|
|
56169
|
+
'x-title': 'Get Current Pane',
|
|
56170
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56171
|
+
},
|
|
56172
|
+
post: {
|
|
56173
|
+
description: 'Returns the current render pane for a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews).',
|
|
56174
|
+
operationId: 'seamConnectWebviewV1GetCurrentPanePost',
|
|
56175
|
+
requestBody: {
|
|
56176
|
+
content: {
|
|
56177
|
+
'application/json': {
|
|
56178
|
+
schema: {
|
|
56179
|
+
properties: {
|
|
56180
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56181
|
+
},
|
|
56182
|
+
required: ['connect_webview_id'],
|
|
56183
|
+
type: 'object',
|
|
56184
|
+
},
|
|
56185
|
+
},
|
|
56186
|
+
},
|
|
56187
|
+
},
|
|
56188
|
+
responses: {
|
|
56189
|
+
200: {
|
|
56190
|
+
content: {
|
|
56191
|
+
'application/json': {
|
|
56192
|
+
schema: {
|
|
56193
|
+
properties: {
|
|
56194
|
+
ok: { type: 'boolean' },
|
|
56195
|
+
pane: { $ref: '#/components/schemas/access_code' },
|
|
56196
|
+
},
|
|
56197
|
+
required: ['ok'],
|
|
56198
|
+
type: 'object',
|
|
56199
|
+
},
|
|
56200
|
+
},
|
|
56201
|
+
},
|
|
56202
|
+
description: 'OK',
|
|
56203
|
+
},
|
|
56204
|
+
400: { description: 'Bad Request' },
|
|
56205
|
+
401: { description: 'Unauthorized' },
|
|
56206
|
+
},
|
|
56207
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56208
|
+
summary: '/seam/connect_webview/v1/get_current_pane',
|
|
56209
|
+
tags: [],
|
|
56210
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56211
|
+
'x-fern-sdk-method-name': 'get_current_pane',
|
|
56212
|
+
'x-fern-sdk-return-value': 'pane',
|
|
56213
|
+
'x-response-key': 'pane',
|
|
56214
|
+
'x-title': 'Get Current Pane',
|
|
56215
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56216
|
+
},
|
|
56217
|
+
},
|
|
56218
|
+
'/seam/connect_webview/v1/reset': {
|
|
56219
|
+
post: {
|
|
56220
|
+
description: 'Resets an errored [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) so its login flow can be retried.',
|
|
56221
|
+
operationId: 'seamConnectWebviewV1ResetPost',
|
|
56222
|
+
requestBody: {
|
|
56223
|
+
content: {
|
|
56224
|
+
'application/json': {
|
|
56225
|
+
schema: {
|
|
56226
|
+
properties: {
|
|
56227
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56228
|
+
},
|
|
56229
|
+
required: ['connect_webview_id'],
|
|
56230
|
+
type: 'object',
|
|
56231
|
+
},
|
|
56232
|
+
},
|
|
56233
|
+
},
|
|
56234
|
+
},
|
|
56235
|
+
responses: {
|
|
56236
|
+
200: {
|
|
56237
|
+
content: {
|
|
56238
|
+
'application/json': {
|
|
56239
|
+
schema: {
|
|
56240
|
+
properties: { ok: { type: 'boolean' } },
|
|
56241
|
+
required: ['ok'],
|
|
56242
|
+
type: 'object',
|
|
56243
|
+
},
|
|
56244
|
+
},
|
|
56245
|
+
},
|
|
56246
|
+
description: 'OK',
|
|
56247
|
+
},
|
|
56248
|
+
400: { description: 'Bad Request' },
|
|
56249
|
+
401: { description: 'Unauthorized' },
|
|
56250
|
+
},
|
|
56251
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56252
|
+
summary: '/seam/connect_webview/v1/reset',
|
|
56253
|
+
tags: [],
|
|
56254
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56255
|
+
'x-fern-sdk-method-name': 'reset',
|
|
56256
|
+
'x-fern-sdk-return-value': 'ok',
|
|
56257
|
+
'x-response-key': 'ok',
|
|
56258
|
+
'x-title': 'Reset Connect Webview',
|
|
56259
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56260
|
+
},
|
|
56261
|
+
},
|
|
56262
|
+
'/seam/connect_webview/v1/submit': {
|
|
56263
|
+
post: {
|
|
56264
|
+
description: 'Submits pane arguments to advance a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) login state machine.',
|
|
56265
|
+
operationId: 'seamConnectWebviewV1SubmitPost',
|
|
56266
|
+
requestBody: {
|
|
56267
|
+
content: {
|
|
56268
|
+
'application/json': {
|
|
56269
|
+
schema: {
|
|
56270
|
+
properties: {
|
|
56271
|
+
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
56272
|
+
submit_args: {},
|
|
56273
|
+
},
|
|
56274
|
+
required: ['connect_webview_id'],
|
|
56275
|
+
type: 'object',
|
|
56276
|
+
},
|
|
56277
|
+
},
|
|
56278
|
+
},
|
|
56279
|
+
},
|
|
56280
|
+
responses: {
|
|
56281
|
+
200: {
|
|
56282
|
+
content: {
|
|
56283
|
+
'application/json': {
|
|
56284
|
+
schema: {
|
|
56285
|
+
properties: { ok: { type: 'boolean' } },
|
|
56286
|
+
required: ['ok'],
|
|
56287
|
+
type: 'object',
|
|
56288
|
+
},
|
|
56289
|
+
},
|
|
56290
|
+
},
|
|
56291
|
+
description: 'OK',
|
|
56292
|
+
},
|
|
56293
|
+
400: { description: 'Bad Request' },
|
|
56294
|
+
401: { description: 'Unauthorized' },
|
|
56295
|
+
},
|
|
56296
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56297
|
+
summary: '/seam/connect_webview/v1/submit',
|
|
56298
|
+
tags: [],
|
|
56299
|
+
'x-fern-sdk-group-name': ['seam', 'connect_webview', 'v1'],
|
|
56300
|
+
'x-fern-sdk-method-name': 'submit',
|
|
56301
|
+
'x-fern-sdk-return-value': 'ok',
|
|
56302
|
+
'x-response-key': 'ok',
|
|
56303
|
+
'x-title': 'Submit Connect Webview Pane',
|
|
56304
|
+
'x-undocumented': 'Internal endpoint for driving Connect Webview flows programmatically.',
|
|
56305
|
+
},
|
|
56306
|
+
},
|
|
56089
56307
|
'/seam/console/v1/get_resource_locator': {
|
|
56090
56308
|
get: {
|
|
56091
56309
|
description: 'Returns the type and system information of a resource given its UUID.',
|