@seamapi/types 1.681.0 → 1.683.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.
@@ -643,7 +643,7 @@ export default {
643
643
  type: 'object',
644
644
  },
645
645
  {
646
- description: 'No valid user level for Oracode.',
646
+ description: 'No Dormakaba Oracode user levels configured for the requested time range.',
647
647
  properties: {
648
648
  created_at: {
649
649
  description: 'Date and time at which Seam created the error.',
@@ -652,7 +652,7 @@ export default {
652
652
  },
653
653
  error_code: {
654
654
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
655
- enum: ['dormakaba_oracode_no_valid_user_level'],
655
+ enum: ['dormakaba_oracode_invalid_time_range'],
656
656
  type: 'string',
657
657
  },
658
658
  is_access_code_error: {
@@ -8461,6 +8461,29 @@ export default {
8461
8461
  type: 'object',
8462
8462
  'x-route-path': '/connected_accounts',
8463
8463
  },
8464
+ customer: {
8465
+ description: 'Represents a customer within a workspace. Customers are used to organize resources and manage access for different clients, such as hotels, property managers, and more.',
8466
+ properties: {
8467
+ created_at: {
8468
+ description: 'Date and time at which the customer was created.',
8469
+ format: 'date-time',
8470
+ type: 'string',
8471
+ },
8472
+ customer_key: {
8473
+ description: 'Unique key for the customer within the workspace.',
8474
+ type: 'string',
8475
+ },
8476
+ workspace_id: {
8477
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer.',
8478
+ format: 'uuid',
8479
+ type: 'string',
8480
+ },
8481
+ },
8482
+ required: ['customer_key', 'workspace_id', 'created_at'],
8483
+ type: 'object',
8484
+ 'x-route-path': '/customers',
8485
+ 'x-undocumented': 'Internal resource.',
8486
+ },
8464
8487
  customization_profile: {
8465
8488
  description: 'A customization profile.',
8466
8489
  properties: {
@@ -20011,7 +20034,7 @@ export default {
20011
20034
  type: 'object',
20012
20035
  },
20013
20036
  {
20014
- description: 'No valid user level for Oracode.',
20037
+ description: 'No Dormakaba Oracode user levels configured for the requested time range.',
20015
20038
  properties: {
20016
20039
  created_at: {
20017
20040
  description: 'Date and time at which Seam created the error.',
@@ -20020,7 +20043,7 @@ export default {
20020
20043
  },
20021
20044
  error_code: {
20022
20045
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
20023
- enum: ['dormakaba_oracode_no_valid_user_level'],
20046
+ enum: ['dormakaba_oracode_invalid_time_range'],
20024
20047
  type: 'string',
20025
20048
  },
20026
20049
  is_access_code_error: {
@@ -50259,6 +50282,133 @@ export default {
50259
50282
  'x-undocumented': 'Internal endpoint for Console.',
50260
50283
  },
50261
50284
  },
50285
+ '/seam/customer/v1/customers/list': {
50286
+ get: {
50287
+ description: 'Returns a list of all customers within the workspace.',
50288
+ operationId: 'seamCustomerV1CustomersListGet',
50289
+ parameters: [
50290
+ {
50291
+ in: 'query',
50292
+ name: 'limit',
50293
+ schema: {
50294
+ default: 500,
50295
+ description: 'Maximum number of records to return per page.',
50296
+ exclusiveMinimum: true,
50297
+ minimum: 0,
50298
+ type: 'integer',
50299
+ },
50300
+ },
50301
+ {
50302
+ in: 'query',
50303
+ name: 'page_cursor',
50304
+ schema: {
50305
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
50306
+ nullable: true,
50307
+ type: 'string',
50308
+ },
50309
+ },
50310
+ ],
50311
+ responses: {
50312
+ 200: {
50313
+ content: {
50314
+ 'application/json': {
50315
+ schema: {
50316
+ properties: {
50317
+ customers: {
50318
+ items: { $ref: '#/components/schemas/customer' },
50319
+ type: 'array',
50320
+ },
50321
+ ok: { type: 'boolean' },
50322
+ pagination: { $ref: '#/components/schemas/pagination' },
50323
+ },
50324
+ required: ['customers', 'pagination', 'ok'],
50325
+ type: 'object',
50326
+ },
50327
+ },
50328
+ },
50329
+ description: 'OK',
50330
+ },
50331
+ 400: { description: 'Bad Request' },
50332
+ 401: { description: 'Unauthorized' },
50333
+ },
50334
+ security: [
50335
+ { api_key: [] },
50336
+ { pat_with_workspace: [] },
50337
+ { console_session_with_workspace: [] },
50338
+ ],
50339
+ summary: '/seam/customer/v1/customers/list',
50340
+ tags: [],
50341
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
50342
+ 'x-fern-sdk-method-name': 'list',
50343
+ 'x-fern-sdk-return-value': 'customers',
50344
+ 'x-response-key': 'customers',
50345
+ 'x-title': 'List Customers',
50346
+ 'x-undocumented': 'Internal endpoint for Console.',
50347
+ },
50348
+ post: {
50349
+ description: 'Returns a list of all customers within the workspace.',
50350
+ operationId: 'seamCustomerV1CustomersListPost',
50351
+ requestBody: {
50352
+ content: {
50353
+ 'application/json': {
50354
+ schema: {
50355
+ properties: {
50356
+ limit: {
50357
+ default: 500,
50358
+ description: 'Maximum number of records to return per page.',
50359
+ exclusiveMinimum: true,
50360
+ minimum: 0,
50361
+ type: 'integer',
50362
+ },
50363
+ page_cursor: {
50364
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
50365
+ nullable: true,
50366
+ type: 'string',
50367
+ },
50368
+ },
50369
+ type: 'object',
50370
+ },
50371
+ },
50372
+ },
50373
+ },
50374
+ responses: {
50375
+ 200: {
50376
+ content: {
50377
+ 'application/json': {
50378
+ schema: {
50379
+ properties: {
50380
+ customers: {
50381
+ items: { $ref: '#/components/schemas/customer' },
50382
+ type: 'array',
50383
+ },
50384
+ ok: { type: 'boolean' },
50385
+ pagination: { $ref: '#/components/schemas/pagination' },
50386
+ },
50387
+ required: ['customers', 'pagination', 'ok'],
50388
+ type: 'object',
50389
+ },
50390
+ },
50391
+ },
50392
+ description: 'OK',
50393
+ },
50394
+ 400: { description: 'Bad Request' },
50395
+ 401: { description: 'Unauthorized' },
50396
+ },
50397
+ security: [
50398
+ { api_key: [] },
50399
+ { pat_with_workspace: [] },
50400
+ { console_session_with_workspace: [] },
50401
+ ],
50402
+ summary: '/seam/customer/v1/customers/list',
50403
+ tags: [],
50404
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
50405
+ 'x-fern-sdk-method-name': 'list',
50406
+ 'x-fern-sdk-return-value': 'customers',
50407
+ 'x-response-key': 'customers',
50408
+ 'x-title': 'List Customers',
50409
+ 'x-undocumented': 'Internal endpoint for Console.',
50410
+ },
50411
+ },
50262
50412
  '/seam/customer/v1/events/list': {
50263
50413
  get: {
50264
50414
  description: 'Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.',