@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.
@@ -2227,27 +2227,58 @@ export default {
2227
2227
  description: 'Warnings associated with the `acs_access_group`.',
2228
2228
  items: {
2229
2229
  description: 'Warning associated with the `acs_access_group`.',
2230
- properties: {
2231
- created_at: {
2232
- description:
2233
- 'Date and time at which Seam created the warning.',
2234
- format: 'date-time',
2235
- type: 'string',
2236
- },
2237
- message: {
2230
+ oneOf: [
2231
+ {
2238
2232
  description:
2239
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2240
- type: 'string',
2233
+ '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.',
2234
+ properties: {
2235
+ created_at: {
2236
+ description:
2237
+ 'Date and time at which Seam created the warning.',
2238
+ format: 'date-time',
2239
+ type: 'string',
2240
+ },
2241
+ message: {
2242
+ description:
2243
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2244
+ type: 'string',
2245
+ },
2246
+ warning_code: {
2247
+ description:
2248
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2249
+ enum: ['unknown_issue_with_acs_access_group'],
2250
+ type: 'string',
2251
+ },
2252
+ },
2253
+ required: ['created_at', 'message', 'warning_code'],
2254
+ type: 'object',
2241
2255
  },
2242
- warning_code: {
2256
+ {
2243
2257
  description:
2244
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2245
- enum: ['unknown_issue_with_acs_access_group'],
2246
- type: 'string',
2258
+ '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.',
2259
+ properties: {
2260
+ created_at: {
2261
+ description:
2262
+ 'Date and time at which Seam created the warning.',
2263
+ format: 'date-time',
2264
+ type: 'string',
2265
+ },
2266
+ message: {
2267
+ description:
2268
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
2269
+ type: 'string',
2270
+ },
2271
+ warning_code: {
2272
+ description:
2273
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
2274
+ enum: ['being_deleted'],
2275
+ type: 'string',
2276
+ },
2277
+ },
2278
+ required: ['created_at', 'message', 'warning_code'],
2279
+ type: 'object',
2247
2280
  },
2248
- },
2249
- required: ['created_at', 'message', 'warning_code'],
2250
- type: 'object',
2281
+ ],
2251
2282
  },
2252
2283
  type: 'array',
2253
2284
  },
@@ -9570,6 +9601,31 @@ export default {
9570
9601
  type: 'object',
9571
9602
  'x-route-path': '/connected_accounts',
9572
9603
  },
9604
+ customer: {
9605
+ description:
9606
+ '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.',
9607
+ properties: {
9608
+ created_at: {
9609
+ description: 'Date and time at which the customer was created.',
9610
+ format: 'date-time',
9611
+ type: 'string',
9612
+ },
9613
+ customer_key: {
9614
+ description: 'Unique key for the customer within the workspace.',
9615
+ type: 'string',
9616
+ },
9617
+ workspace_id: {
9618
+ description:
9619
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer.',
9620
+ format: 'uuid',
9621
+ type: 'string',
9622
+ },
9623
+ },
9624
+ required: ['customer_key', 'workspace_id', 'created_at'],
9625
+ type: 'object',
9626
+ 'x-route-path': '/customers',
9627
+ 'x-undocumented': 'Internal resource.',
9628
+ },
9573
9629
  customization_profile: {
9574
9630
  description: 'A customization profile.',
9575
9631
  properties: {
@@ -23396,27 +23452,58 @@ export default {
23396
23452
  description: 'Warnings associated with the `acs_access_group`.',
23397
23453
  items: {
23398
23454
  description: 'Warning associated with the `acs_access_group`.',
23399
- properties: {
23400
- created_at: {
23401
- description:
23402
- 'Date and time at which Seam created the warning.',
23403
- format: 'date-time',
23404
- type: 'string',
23405
- },
23406
- message: {
23455
+ oneOf: [
23456
+ {
23407
23457
  description:
23408
- 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
23409
- type: 'string',
23458
+ '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.',
23459
+ properties: {
23460
+ created_at: {
23461
+ description:
23462
+ 'Date and time at which Seam created the warning.',
23463
+ format: 'date-time',
23464
+ type: 'string',
23465
+ },
23466
+ message: {
23467
+ description:
23468
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
23469
+ type: 'string',
23470
+ },
23471
+ warning_code: {
23472
+ description:
23473
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
23474
+ enum: ['unknown_issue_with_acs_access_group'],
23475
+ type: 'string',
23476
+ },
23477
+ },
23478
+ required: ['created_at', 'message', 'warning_code'],
23479
+ type: 'object',
23410
23480
  },
23411
- warning_code: {
23481
+ {
23412
23482
  description:
23413
- 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
23414
- enum: ['unknown_issue_with_acs_access_group'],
23415
- type: 'string',
23483
+ '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.',
23484
+ properties: {
23485
+ created_at: {
23486
+ description:
23487
+ 'Date and time at which Seam created the warning.',
23488
+ format: 'date-time',
23489
+ type: 'string',
23490
+ },
23491
+ message: {
23492
+ description:
23493
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
23494
+ type: 'string',
23495
+ },
23496
+ warning_code: {
23497
+ description:
23498
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
23499
+ enum: ['being_deleted'],
23500
+ type: 'string',
23501
+ },
23502
+ },
23503
+ required: ['created_at', 'message', 'warning_code'],
23504
+ type: 'object',
23416
23505
  },
23417
- },
23418
- required: ['created_at', 'message', 'warning_code'],
23419
- type: 'object',
23506
+ ],
23420
23507
  },
23421
23508
  type: 'array',
23422
23509
  },
@@ -32736,6 +32823,104 @@ export default {
32736
32823
  'x-title': 'Add an ACS User to an Access Group',
32737
32824
  },
32738
32825
  },
32826
+ '/acs/access_groups/delete': {
32827
+ delete: {
32828
+ description:
32829
+ 'Deletes a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
32830
+ operationId: 'acsAccessGroupsDeleteDelete',
32831
+ parameters: [
32832
+ {
32833
+ in: 'query',
32834
+ name: 'acs_access_group_id',
32835
+ required: true,
32836
+ schema: {
32837
+ description: 'ID of the access group that you want to delete.',
32838
+ format: 'uuid',
32839
+ type: 'string',
32840
+ },
32841
+ },
32842
+ ],
32843
+ responses: {
32844
+ 200: {
32845
+ content: {
32846
+ 'application/json': {
32847
+ schema: {
32848
+ properties: { ok: { type: 'boolean' } },
32849
+ required: ['ok'],
32850
+ type: 'object',
32851
+ },
32852
+ },
32853
+ },
32854
+ description: 'OK',
32855
+ },
32856
+ 400: { description: 'Bad Request' },
32857
+ 401: { description: 'Unauthorized' },
32858
+ },
32859
+ security: [
32860
+ { client_session: [] },
32861
+ { pat_with_workspace: [] },
32862
+ { console_session_with_workspace: [] },
32863
+ { api_key: [] },
32864
+ ],
32865
+ summary: '/acs/access_groups/delete',
32866
+ tags: ['/acs'],
32867
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
32868
+ 'x-fern-sdk-method-name': 'delete',
32869
+ 'x-response-key': null,
32870
+ 'x-title': 'Delete an Access Group',
32871
+ },
32872
+ post: {
32873
+ description:
32874
+ 'Deletes a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).',
32875
+ operationId: 'acsAccessGroupsDeletePost',
32876
+ requestBody: {
32877
+ content: {
32878
+ 'application/json': {
32879
+ schema: {
32880
+ properties: {
32881
+ acs_access_group_id: {
32882
+ description:
32883
+ 'ID of the access group that you want to delete.',
32884
+ format: 'uuid',
32885
+ type: 'string',
32886
+ },
32887
+ },
32888
+ required: ['acs_access_group_id'],
32889
+ type: 'object',
32890
+ },
32891
+ },
32892
+ },
32893
+ },
32894
+ responses: {
32895
+ 200: {
32896
+ content: {
32897
+ 'application/json': {
32898
+ schema: {
32899
+ properties: { ok: { type: 'boolean' } },
32900
+ required: ['ok'],
32901
+ type: 'object',
32902
+ },
32903
+ },
32904
+ },
32905
+ description: 'OK',
32906
+ },
32907
+ 400: { description: 'Bad Request' },
32908
+ 401: { description: 'Unauthorized' },
32909
+ },
32910
+ security: [
32911
+ { client_session: [] },
32912
+ { pat_with_workspace: [] },
32913
+ { console_session_with_workspace: [] },
32914
+ { api_key: [] },
32915
+ ],
32916
+ summary: '/acs/access_groups/delete',
32917
+ tags: ['/acs'],
32918
+ 'x-fern-sdk-group-name': ['acs', 'access_groups'],
32919
+ 'x-fern-sdk-method-name': 'delete',
32920
+ 'x-response-key': null,
32921
+ 'x-title': 'Delete an Access Group',
32922
+ },
32923
+ },
32739
32924
  '/acs/access_groups/get': {
32740
32925
  get: {
32741
32926
  description:
@@ -54527,6 +54712,136 @@ export default {
54527
54712
  'x-undocumented': 'Internal endpoint for Console.',
54528
54713
  },
54529
54714
  },
54715
+ '/seam/customer/v1/customers/list': {
54716
+ get: {
54717
+ description: 'Returns a list of all customers within the workspace.',
54718
+ operationId: 'seamCustomerV1CustomersListGet',
54719
+ parameters: [
54720
+ {
54721
+ in: 'query',
54722
+ name: 'limit',
54723
+ schema: {
54724
+ default: 500,
54725
+ description: 'Maximum number of records to return per page.',
54726
+ exclusiveMinimum: true,
54727
+ minimum: 0,
54728
+ type: 'integer',
54729
+ },
54730
+ },
54731
+ {
54732
+ in: 'query',
54733
+ name: 'page_cursor',
54734
+ schema: {
54735
+ description:
54736
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
54737
+ nullable: true,
54738
+ type: 'string',
54739
+ },
54740
+ },
54741
+ ],
54742
+ responses: {
54743
+ 200: {
54744
+ content: {
54745
+ 'application/json': {
54746
+ schema: {
54747
+ properties: {
54748
+ customers: {
54749
+ items: { $ref: '#/components/schemas/customer' },
54750
+ type: 'array',
54751
+ },
54752
+ ok: { type: 'boolean' },
54753
+ pagination: { $ref: '#/components/schemas/pagination' },
54754
+ },
54755
+ required: ['customers', 'pagination', 'ok'],
54756
+ type: 'object',
54757
+ },
54758
+ },
54759
+ },
54760
+ description: 'OK',
54761
+ },
54762
+ 400: { description: 'Bad Request' },
54763
+ 401: { description: 'Unauthorized' },
54764
+ },
54765
+ security: [
54766
+ { api_key: [] },
54767
+ { pat_with_workspace: [] },
54768
+ { console_session_with_workspace: [] },
54769
+ ],
54770
+ summary: '/seam/customer/v1/customers/list',
54771
+ tags: [],
54772
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
54773
+ 'x-fern-sdk-method-name': 'list',
54774
+ 'x-fern-sdk-return-value': 'customers',
54775
+ 'x-response-key': 'customers',
54776
+ 'x-title': 'List Customers',
54777
+ 'x-undocumented': 'Internal endpoint for Console.',
54778
+ },
54779
+ post: {
54780
+ description: 'Returns a list of all customers within the workspace.',
54781
+ operationId: 'seamCustomerV1CustomersListPost',
54782
+ requestBody: {
54783
+ content: {
54784
+ 'application/json': {
54785
+ schema: {
54786
+ properties: {
54787
+ limit: {
54788
+ default: 500,
54789
+ description:
54790
+ 'Maximum number of records to return per page.',
54791
+ exclusiveMinimum: true,
54792
+ minimum: 0,
54793
+ type: 'integer',
54794
+ },
54795
+ page_cursor: {
54796
+ description:
54797
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
54798
+ nullable: true,
54799
+ type: 'string',
54800
+ },
54801
+ },
54802
+ type: 'object',
54803
+ },
54804
+ },
54805
+ },
54806
+ },
54807
+ responses: {
54808
+ 200: {
54809
+ content: {
54810
+ 'application/json': {
54811
+ schema: {
54812
+ properties: {
54813
+ customers: {
54814
+ items: { $ref: '#/components/schemas/customer' },
54815
+ type: 'array',
54816
+ },
54817
+ ok: { type: 'boolean' },
54818
+ pagination: { $ref: '#/components/schemas/pagination' },
54819
+ },
54820
+ required: ['customers', 'pagination', 'ok'],
54821
+ type: 'object',
54822
+ },
54823
+ },
54824
+ },
54825
+ description: 'OK',
54826
+ },
54827
+ 400: { description: 'Bad Request' },
54828
+ 401: { description: 'Unauthorized' },
54829
+ },
54830
+ security: [
54831
+ { api_key: [] },
54832
+ { pat_with_workspace: [] },
54833
+ { console_session_with_workspace: [] },
54834
+ ],
54835
+ summary: '/seam/customer/v1/customers/list',
54836
+ tags: [],
54837
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'customers'],
54838
+ 'x-fern-sdk-method-name': 'list',
54839
+ 'x-fern-sdk-return-value': 'customers',
54840
+ 'x-response-key': 'customers',
54841
+ 'x-title': 'List Customers',
54842
+ 'x-undocumented': 'Internal endpoint for Console.',
54843
+ },
54844
+ },
54530
54845
  '/seam/customer/v1/events/list': {
54531
54846
  get: {
54532
54847
  description: