@seamapi/types 1.1147.0 → 1.1149.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.
|
@@ -53136,7 +53136,7 @@ const openapi = {
|
|
|
53136
53136
|
},
|
|
53137
53137
|
'/events/get': {
|
|
53138
53138
|
get: {
|
|
53139
|
-
description: 'Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place.',
|
|
53139
|
+
description: 'Returns a specified event. This endpoint returns the same event that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to retrieve an event that already took place. Events older than 90 days are not returned.',
|
|
53140
53140
|
operationId: 'eventsGetGet',
|
|
53141
53141
|
parameters: [
|
|
53142
53142
|
{
|
|
@@ -53208,7 +53208,7 @@ const openapi = {
|
|
|
53208
53208
|
},
|
|
53209
53209
|
'/events/list': {
|
|
53210
53210
|
get: {
|
|
53211
|
-
description: 'Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place.',
|
|
53211
|
+
description: 'Returns a list of all events. This endpoint returns the same events that would be sent to a [webhook](https://www.seam.co/docs/developer-tools/webhooks), but it enables you to filter or see events that already took place. Only events from the last 90 days are returned.',
|
|
53212
53212
|
operationId: 'eventsListGet',
|
|
53213
53213
|
parameters: [
|
|
53214
53214
|
{
|
|
@@ -53233,7 +53233,7 @@ const openapi = {
|
|
|
53233
53233
|
in: 'query',
|
|
53234
53234
|
name: 'since',
|
|
53235
53235
|
schema: {
|
|
53236
|
-
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.',
|
|
53236
|
+
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a `since` older than 90 days is treated as 90 days ago.',
|
|
53237
53237
|
type: 'string',
|
|
53238
53238
|
},
|
|
53239
53239
|
},
|
|
@@ -53241,7 +53241,7 @@ const openapi = {
|
|
|
53241
53241
|
in: 'query',
|
|
53242
53242
|
name: 'between',
|
|
53243
53243
|
schema: {
|
|
53244
|
-
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
|
|
53244
|
+
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago.',
|
|
53245
53245
|
items: { type: 'string' },
|
|
53246
53246
|
maxItems: 2,
|
|
53247
53247
|
minItems: 2,
|
|
@@ -58243,6 +58243,74 @@ const openapi = {
|
|
|
58243
58243
|
'x-undocumented': 'Internal endpoint for Console',
|
|
58244
58244
|
},
|
|
58245
58245
|
},
|
|
58246
|
+
'/seam/console/v1/workspace/get_summary': {
|
|
58247
|
+
get: {
|
|
58248
|
+
description: 'Returns the device and access code counts shown on the Console home page.',
|
|
58249
|
+
operationId: 'seamConsoleV1WorkspaceGetSummaryGet',
|
|
58250
|
+
parameters: [
|
|
58251
|
+
{
|
|
58252
|
+
in: 'query',
|
|
58253
|
+
name: 'customer_key',
|
|
58254
|
+
schema: {
|
|
58255
|
+
description: 'Customer key for which you want to summarize the workspace.',
|
|
58256
|
+
minLength: 1,
|
|
58257
|
+
type: 'string',
|
|
58258
|
+
},
|
|
58259
|
+
},
|
|
58260
|
+
],
|
|
58261
|
+
responses: {
|
|
58262
|
+
'200': {
|
|
58263
|
+
content: {
|
|
58264
|
+
'application/json': {
|
|
58265
|
+
schema: {
|
|
58266
|
+
properties: {
|
|
58267
|
+
ok: { type: 'boolean' },
|
|
58268
|
+
workspace_summary: {
|
|
58269
|
+
properties: {
|
|
58270
|
+
access_code_delivery_7d: {
|
|
58271
|
+
properties: {
|
|
58272
|
+
delivered_count: { type: 'integer' },
|
|
58273
|
+
failed_count: { type: 'integer' },
|
|
58274
|
+
},
|
|
58275
|
+
required: ['delivered_count', 'failed_count'],
|
|
58276
|
+
type: 'object',
|
|
58277
|
+
},
|
|
58278
|
+
active_access_code_count: { type: 'integer' },
|
|
58279
|
+
device_count: { type: 'integer' },
|
|
58280
|
+
devices_needing_attention_count: { type: 'integer' },
|
|
58281
|
+
online_device_count: { type: 'integer' },
|
|
58282
|
+
},
|
|
58283
|
+
required: [
|
|
58284
|
+
'device_count',
|
|
58285
|
+
'online_device_count',
|
|
58286
|
+
'devices_needing_attention_count',
|
|
58287
|
+
'active_access_code_count',
|
|
58288
|
+
'access_code_delivery_7d',
|
|
58289
|
+
],
|
|
58290
|
+
type: 'object',
|
|
58291
|
+
},
|
|
58292
|
+
},
|
|
58293
|
+
required: ['workspace_summary', 'ok'],
|
|
58294
|
+
type: 'object',
|
|
58295
|
+
},
|
|
58296
|
+
},
|
|
58297
|
+
},
|
|
58298
|
+
description: 'OK',
|
|
58299
|
+
},
|
|
58300
|
+
'400': { description: 'Bad Request' },
|
|
58301
|
+
'401': { description: 'Unauthorized' },
|
|
58302
|
+
},
|
|
58303
|
+
security: [{ console_session_with_workspace: [] }],
|
|
58304
|
+
summary: '/seam/console/v1/workspace/get_summary',
|
|
58305
|
+
tags: [],
|
|
58306
|
+
'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'workspace'],
|
|
58307
|
+
'x-fern-sdk-method-name': 'get_summary',
|
|
58308
|
+
'x-fern-sdk-return-value': 'workspace_summary',
|
|
58309
|
+
'x-response-key': 'workspace_summary',
|
|
58310
|
+
'x-title': 'Get Workspace Summary',
|
|
58311
|
+
'x-undocumented': 'Internal endpoint for Console',
|
|
58312
|
+
},
|
|
58313
|
+
},
|
|
58246
58314
|
'/seam/customer/v1/access_grants/list': {
|
|
58247
58315
|
get: {
|
|
58248
58316
|
description: 'Gets an Access Grant.',
|
|
@@ -62174,7 +62242,7 @@ const openapi = {
|
|
|
62174
62242
|
name: 'since',
|
|
62175
62243
|
required: false,
|
|
62176
62244
|
schema: {
|
|
62177
|
-
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.',
|
|
62245
|
+
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a `since` older than 90 days is treated as 90 days ago.',
|
|
62178
62246
|
type: 'string',
|
|
62179
62247
|
},
|
|
62180
62248
|
},
|
|
@@ -62183,7 +62251,7 @@ const openapi = {
|
|
|
62183
62251
|
name: 'between',
|
|
62184
62252
|
required: false,
|
|
62185
62253
|
schema: {
|
|
62186
|
-
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
|
|
62254
|
+
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. Only events from the last 90 days are returned, so a lower timestamp older than 90 days is treated as 90 days ago.',
|
|
62187
62255
|
items: { type: 'string' },
|
|
62188
62256
|
maxItems: 2,
|
|
62189
62257
|
minItems: 2,
|