@seamapi/types 1.682.0 → 1.684.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.
@@ -1937,24 +1937,50 @@ export default {
1937
1937
  description: 'Warnings associated with the `acs_access_group`.',
1938
1938
  items: {
1939
1939
  description: 'Warning associated with the `acs_access_group`.',
1940
- properties: {
1941
- created_at: {
1942
- description: 'Date and time at which Seam created the warning.',
1943
- format: 'date-time',
1944
- type: 'string',
1945
- },
1946
- message: {
1947
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1948
- type: 'string',
1940
+ oneOf: [
1941
+ {
1942
+ description: 'An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group.',
1943
+ properties: {
1944
+ created_at: {
1945
+ description: 'Date and time at which Seam created the warning.',
1946
+ format: 'date-time',
1947
+ type: 'string',
1948
+ },
1949
+ message: {
1950
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1951
+ type: 'string',
1952
+ },
1953
+ warning_code: {
1954
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1955
+ enum: ['unknown_issue_with_acs_access_group'],
1956
+ type: 'string',
1957
+ },
1958
+ },
1959
+ required: ['created_at', 'message', 'warning_code'],
1960
+ type: 'object',
1949
1961
  },
1950
- warning_code: {
1951
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1952
- enum: ['unknown_issue_with_acs_access_group'],
1953
- type: 'string',
1962
+ {
1963
+ description: 'Indicates that the access group is being deleted from the access system. This is a temporary state, and the access group will be deleted shortly.',
1964
+ properties: {
1965
+ created_at: {
1966
+ description: 'Date and time at which Seam created the warning.',
1967
+ format: 'date-time',
1968
+ type: 'string',
1969
+ },
1970
+ message: {
1971
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1972
+ type: 'string',
1973
+ },
1974
+ warning_code: {
1975
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1976
+ enum: ['being_deleted'],
1977
+ type: 'string',
1978
+ },
1979
+ },
1980
+ required: ['created_at', 'message', 'warning_code'],
1981
+ type: 'object',
1954
1982
  },
1955
- },
1956
- required: ['created_at', 'message', 'warning_code'],
1957
- type: 'object',
1983
+ ],
1958
1984
  },
1959
1985
  type: 'array',
1960
1986
  },
@@ -8461,6 +8487,29 @@ export default {
8461
8487
  type: 'object',
8462
8488
  'x-route-path': '/connected_accounts',
8463
8489
  },
8490
+ customer: {
8491
+ 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.',
8492
+ properties: {
8493
+ created_at: {
8494
+ description: 'Date and time at which the customer was created.',
8495
+ format: 'date-time',
8496
+ type: 'string',
8497
+ },
8498
+ customer_key: {
8499
+ description: 'Unique key for the customer within the workspace.',
8500
+ type: 'string',
8501
+ },
8502
+ workspace_id: {
8503
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer.',
8504
+ format: 'uuid',
8505
+ type: 'string',
8506
+ },
8507
+ },
8508
+ required: ['customer_key', 'workspace_id', 'created_at'],
8509
+ type: 'object',
8510
+ 'x-route-path': '/customers',
8511
+ 'x-undocumented': 'Internal resource.',
8512
+ },
8464
8513
  customization_profile: {
8465
8514
  description: 'A customization profile.',
8466
8515
  properties: {
@@ -20986,24 +21035,50 @@ export default {
20986
21035
  description: 'Warnings associated with the `acs_access_group`.',
20987
21036
  items: {
20988
21037
  description: 'Warning associated with the `acs_access_group`.',
20989
- properties: {
20990
- created_at: {
20991
- description: 'Date and time at which Seam created the warning.',
20992
- format: 'date-time',
20993
- type: 'string',
20994
- },
20995
- message: {
20996
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
20997
- type: 'string',
21038
+ oneOf: [
21039
+ {
21040
+ description: 'An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group.',
21041
+ properties: {
21042
+ created_at: {
21043
+ description: 'Date and time at which Seam created the warning.',
21044
+ format: 'date-time',
21045
+ type: 'string',
21046
+ },
21047
+ message: {
21048
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
21049
+ type: 'string',
21050
+ },
21051
+ warning_code: {
21052
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
21053
+ enum: ['unknown_issue_with_acs_access_group'],
21054
+ type: 'string',
21055
+ },
21056
+ },
21057
+ required: ['created_at', 'message', 'warning_code'],
21058
+ type: 'object',
20998
21059
  },
20999
- warning_code: {
21000
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
21001
- enum: ['unknown_issue_with_acs_access_group'],
21002
- type: 'string',
21060
+ {
21061
+ description: 'Indicates that the access group is being deleted from the access system. This is a temporary state, and the access group will be deleted shortly.',
21062
+ properties: {
21063
+ created_at: {
21064
+ description: 'Date and time at which Seam created the warning.',
21065
+ format: 'date-time',
21066
+ type: 'string',
21067
+ },
21068
+ message: {
21069
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
21070
+ type: 'string',
21071
+ },
21072
+ warning_code: {
21073
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
21074
+ enum: ['being_deleted'],
21075
+ type: 'string',
21076
+ },
21077
+ },
21078
+ required: ['created_at', 'message', 'warning_code'],
21079
+ type: 'object',
21003
21080
  },
21004
- },
21005
- required: ['created_at', 'message', 'warning_code'],
21006
- type: 'object',
21081
+ ],
21007
21082
  },
21008
21083
  type: 'array',
21009
21084
  },
@@ -29551,6 +29626,101 @@ export default {
29551
29626
  'x-title': 'Add an ACS User to an Access Group',
29552
29627
  },
29553
29628
  },
29629
+ '/acs/access_groups/delete': {
29630
+ delete: {
29631
+ description: 'Deletes a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
29632
+ operationId: 'acsAccessGroupsDeleteDelete',
29633
+ parameters: [
29634
+ {
29635
+ in: 'query',
29636
+ name: 'acs_access_group_id',
29637
+ required: true,
29638
+ schema: {
29639
+ description: 'ID of the access group that you want to delete.',
29640
+ format: 'uuid',
29641
+ type: 'string',
29642
+ },
29643
+ },
29644
+ ],
29645
+ responses: {
29646
+ 200: {
29647
+ content: {
29648
+ 'application/json': {
29649
+ schema: {
29650
+ properties: { ok: { type: 'boolean' } },
29651
+ required: ['ok'],
29652
+ type: 'object',
29653
+ },
29654
+ },
29655
+ },
29656
+ description: 'OK',
29657
+ },
29658
+ 400: { description: 'Bad Request' },
29659
+ 401: { description: 'Unauthorized' },
29660
+ },
29661
+ security: [
29662
+ { client_session: [] },
29663
+ { pat_with_workspace: [] },
29664
+ { console_session_with_workspace: [] },
29665
+ { api_key: [] },
29666
+ ],
29667
+ summary: '/acs/access_groups/delete',
29668
+ tags: ['/acs'],
29669
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
29670
+ 'x-fern-sdk-method-name': 'delete',
29671
+ 'x-response-key': null,
29672
+ 'x-title': 'Delete an Access Group',
29673
+ },
29674
+ post: {
29675
+ description: 'Deletes a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
29676
+ operationId: 'acsAccessGroupsDeletePost',
29677
+ requestBody: {
29678
+ content: {
29679
+ 'application/json': {
29680
+ schema: {
29681
+ properties: {
29682
+ acs_access_group_id: {
29683
+ description: 'ID of the access group that you want to delete.',
29684
+ format: 'uuid',
29685
+ type: 'string',
29686
+ },
29687
+ },
29688
+ required: ['acs_access_group_id'],
29689
+ type: 'object',
29690
+ },
29691
+ },
29692
+ },
29693
+ },
29694
+ responses: {
29695
+ 200: {
29696
+ content: {
29697
+ 'application/json': {
29698
+ schema: {
29699
+ properties: { ok: { type: 'boolean' } },
29700
+ required: ['ok'],
29701
+ type: 'object',
29702
+ },
29703
+ },
29704
+ },
29705
+ description: 'OK',
29706
+ },
29707
+ 400: { description: 'Bad Request' },
29708
+ 401: { description: 'Unauthorized' },
29709
+ },
29710
+ security: [
29711
+ { client_session: [] },
29712
+ { pat_with_workspace: [] },
29713
+ { console_session_with_workspace: [] },
29714
+ { api_key: [] },
29715
+ ],
29716
+ summary: '/acs/access_groups/delete',
29717
+ tags: ['/acs'],
29718
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
29719
+ 'x-fern-sdk-method-name': 'delete',
29720
+ 'x-response-key': null,
29721
+ 'x-title': 'Delete an Access Group',
29722
+ },
29723
+ },
29554
29724
  '/acs/access_groups/get': {
29555
29725
  get: {
29556
29726
  description: 'Returns a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
@@ -50259,6 +50429,133 @@ export default {
50259
50429
  'x-undocumented': 'Internal endpoint for Console.',
50260
50430
  },
50261
50431
  },
50432
+ '/seam/customer/v1/customers/list': {
50433
+ get: {
50434
+ description: 'Returns a list of all customers within the workspace.',
50435
+ operationId: 'seamCustomerV1CustomersListGet',
50436
+ parameters: [
50437
+ {
50438
+ in: 'query',
50439
+ name: 'limit',
50440
+ schema: {
50441
+ default: 500,
50442
+ description: 'Maximum number of records to return per page.',
50443
+ exclusiveMinimum: true,
50444
+ minimum: 0,
50445
+ type: 'integer',
50446
+ },
50447
+ },
50448
+ {
50449
+ in: 'query',
50450
+ name: 'page_cursor',
50451
+ schema: {
50452
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
50453
+ nullable: true,
50454
+ type: 'string',
50455
+ },
50456
+ },
50457
+ ],
50458
+ responses: {
50459
+ 200: {
50460
+ content: {
50461
+ 'application/json': {
50462
+ schema: {
50463
+ properties: {
50464
+ customers: {
50465
+ items: { $ref: '#/components/schemas/customer' },
50466
+ type: 'array',
50467
+ },
50468
+ ok: { type: 'boolean' },
50469
+ pagination: { $ref: '#/components/schemas/pagination' },
50470
+ },
50471
+ required: ['customers', 'pagination', 'ok'],
50472
+ type: 'object',
50473
+ },
50474
+ },
50475
+ },
50476
+ description: 'OK',
50477
+ },
50478
+ 400: { description: 'Bad Request' },
50479
+ 401: { description: 'Unauthorized' },
50480
+ },
50481
+ security: [
50482
+ { api_key: [] },
50483
+ { pat_with_workspace: [] },
50484
+ { console_session_with_workspace: [] },
50485
+ ],
50486
+ summary: '/seam/customer/v1/customers/list',
50487
+ tags: [],
50488
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
50489
+ 'x-fern-sdk-method-name': 'list',
50490
+ 'x-fern-sdk-return-value': 'customers',
50491
+ 'x-response-key': 'customers',
50492
+ 'x-title': 'List Customers',
50493
+ 'x-undocumented': 'Internal endpoint for Console.',
50494
+ },
50495
+ post: {
50496
+ description: 'Returns a list of all customers within the workspace.',
50497
+ operationId: 'seamCustomerV1CustomersListPost',
50498
+ requestBody: {
50499
+ content: {
50500
+ 'application/json': {
50501
+ schema: {
50502
+ properties: {
50503
+ limit: {
50504
+ default: 500,
50505
+ description: 'Maximum number of records to return per page.',
50506
+ exclusiveMinimum: true,
50507
+ minimum: 0,
50508
+ type: 'integer',
50509
+ },
50510
+ page_cursor: {
50511
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
50512
+ nullable: true,
50513
+ type: 'string',
50514
+ },
50515
+ },
50516
+ type: 'object',
50517
+ },
50518
+ },
50519
+ },
50520
+ },
50521
+ responses: {
50522
+ 200: {
50523
+ content: {
50524
+ 'application/json': {
50525
+ schema: {
50526
+ properties: {
50527
+ customers: {
50528
+ items: { $ref: '#/components/schemas/customer' },
50529
+ type: 'array',
50530
+ },
50531
+ ok: { type: 'boolean' },
50532
+ pagination: { $ref: '#/components/schemas/pagination' },
50533
+ },
50534
+ required: ['customers', 'pagination', 'ok'],
50535
+ type: 'object',
50536
+ },
50537
+ },
50538
+ },
50539
+ description: 'OK',
50540
+ },
50541
+ 400: { description: 'Bad Request' },
50542
+ 401: { description: 'Unauthorized' },
50543
+ },
50544
+ security: [
50545
+ { api_key: [] },
50546
+ { pat_with_workspace: [] },
50547
+ { console_session_with_workspace: [] },
50548
+ ],
50549
+ summary: '/seam/customer/v1/customers/list',
50550
+ tags: [],
50551
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
50552
+ 'x-fern-sdk-method-name': 'list',
50553
+ 'x-fern-sdk-return-value': 'customers',
50554
+ 'x-response-key': 'customers',
50555
+ 'x-title': 'List Customers',
50556
+ 'x-undocumented': 'Internal endpoint for Console.',
50557
+ },
50558
+ },
50262
50559
  '/seam/customer/v1/events/list': {
50263
50560
  get: {
50264
50561
  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.',