@seamapi/types 1.1147.0 → 1.1148.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.
@@ -92411,6 +92411,30 @@ export type Routes = {
92411
92411
  };
92412
92412
  maxDuration: undefined;
92413
92413
  };
92414
+ '/seam/console/v1/workspace/get_summary': {
92415
+ route: '/seam/console/v1/workspace/get_summary';
92416
+ method: 'GET' | 'POST';
92417
+ queryParams: {};
92418
+ jsonBody: {};
92419
+ commonParams: {
92420
+ /** Customer key for which you want to summarize the workspace. */
92421
+ customer_key?: string | undefined;
92422
+ };
92423
+ formData: {};
92424
+ jsonResponse: {
92425
+ workspace_summary: {
92426
+ device_count: number;
92427
+ online_device_count: number;
92428
+ devices_needing_attention_count: number;
92429
+ active_access_code_count: number;
92430
+ access_code_delivery_7d: {
92431
+ delivered_count: number;
92432
+ failed_count: number;
92433
+ };
92434
+ };
92435
+ };
92436
+ maxDuration: undefined;
92437
+ };
92414
92438
  '/seam/customer/v1/access_grants/list': {
92415
92439
  route: '/seam/customer/v1/access_grants/list';
92416
92440
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1147.0",
3
+ "version": "1.1148.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -63913,6 +63913,76 @@ const openapi: OpenAPISpec = {
63913
63913
  'x-undocumented': 'Internal endpoint for Console',
63914
63914
  },
63915
63915
  },
63916
+ '/seam/console/v1/workspace/get_summary': {
63917
+ get: {
63918
+ description:
63919
+ 'Returns the device and access code counts shown on the Console home page.',
63920
+ operationId: 'seamConsoleV1WorkspaceGetSummaryGet',
63921
+ parameters: [
63922
+ {
63923
+ in: 'query',
63924
+ name: 'customer_key',
63925
+ schema: {
63926
+ description:
63927
+ 'Customer key for which you want to summarize the workspace.',
63928
+ minLength: 1,
63929
+ type: 'string',
63930
+ },
63931
+ },
63932
+ ],
63933
+ responses: {
63934
+ '200': {
63935
+ content: {
63936
+ 'application/json': {
63937
+ schema: {
63938
+ properties: {
63939
+ ok: { type: 'boolean' },
63940
+ workspace_summary: {
63941
+ properties: {
63942
+ access_code_delivery_7d: {
63943
+ properties: {
63944
+ delivered_count: { type: 'integer' },
63945
+ failed_count: { type: 'integer' },
63946
+ },
63947
+ required: ['delivered_count', 'failed_count'],
63948
+ type: 'object',
63949
+ },
63950
+ active_access_code_count: { type: 'integer' },
63951
+ device_count: { type: 'integer' },
63952
+ devices_needing_attention_count: { type: 'integer' },
63953
+ online_device_count: { type: 'integer' },
63954
+ },
63955
+ required: [
63956
+ 'device_count',
63957
+ 'online_device_count',
63958
+ 'devices_needing_attention_count',
63959
+ 'active_access_code_count',
63960
+ 'access_code_delivery_7d',
63961
+ ],
63962
+ type: 'object',
63963
+ },
63964
+ },
63965
+ required: ['workspace_summary', 'ok'],
63966
+ type: 'object',
63967
+ },
63968
+ },
63969
+ },
63970
+ description: 'OK',
63971
+ },
63972
+ '400': { description: 'Bad Request' },
63973
+ '401': { description: 'Unauthorized' },
63974
+ },
63975
+ security: [{ console_session_with_workspace: [] }],
63976
+ summary: '/seam/console/v1/workspace/get_summary',
63977
+ tags: [],
63978
+ 'x-fern-sdk-group-name': ['seam', 'console', 'v1', 'workspace'],
63979
+ 'x-fern-sdk-method-name': 'get_summary',
63980
+ 'x-fern-sdk-return-value': 'workspace_summary',
63981
+ 'x-response-key': 'workspace_summary',
63982
+ 'x-title': 'Get Workspace Summary',
63983
+ 'x-undocumented': 'Internal endpoint for Console',
63984
+ },
63985
+ },
63916
63986
  '/seam/customer/v1/access_grants/list': {
63917
63987
  get: {
63918
63988
  description: 'Gets an Access Grant.',
@@ -110211,6 +110211,30 @@ export type Routes = {
110211
110211
  }
110212
110212
  maxDuration: undefined
110213
110213
  }
110214
+ '/seam/console/v1/workspace/get_summary': {
110215
+ route: '/seam/console/v1/workspace/get_summary'
110216
+ method: 'GET' | 'POST'
110217
+ queryParams: {}
110218
+ jsonBody: {}
110219
+ commonParams: {
110220
+ /** Customer key for which you want to summarize the workspace. */
110221
+ customer_key?: string | undefined
110222
+ }
110223
+ formData: {}
110224
+ jsonResponse: {
110225
+ workspace_summary: {
110226
+ device_count: number
110227
+ online_device_count: number
110228
+ devices_needing_attention_count: number
110229
+ active_access_code_count: number
110230
+ access_code_delivery_7d: {
110231
+ delivered_count: number
110232
+ failed_count: number
110233
+ }
110234
+ }
110235
+ }
110236
+ maxDuration: undefined
110237
+ }
110214
110238
  '/seam/customer/v1/access_grants/list': {
110215
110239
  route: '/seam/customer/v1/access_grants/list'
110216
110240
  method: 'GET' | 'POST'