@seamapi/types 1.503.0 → 1.505.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.
- package/dist/connect.cjs +317 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +281 -0
- package/dist/index.cjs +317 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-delete-data.d.ts +57 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js +75 -0
- package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -0
- package/lib/seam/connect/models/customer/index.d.ts +1 -0
- package/lib/seam/connect/models/customer/index.js +1 -0
- package/lib/seam/connect/models/customer/index.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +237 -0
- package/lib/seam/connect/openapi.js +317 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +44 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-delete-data.ts +79 -0
- package/src/lib/seam/connect/models/customer/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +319 -2
- package/src/lib/seam/connect/route-types.ts +44 -0
|
@@ -35490,6 +35490,321 @@ export default {
|
|
|
35490
35490
|
'x-title': 'Create Customer Portal',
|
|
35491
35491
|
},
|
|
35492
35492
|
},
|
|
35493
|
+
'/customers/delete_data': {
|
|
35494
|
+
delete: {
|
|
35495
|
+
description: 'Deletes customer data including resources like spaces, properties, rooms, users, etc.\nThis will delete the partner resources and any related Seam resources (user identities, access grants, spaces).',
|
|
35496
|
+
operationId: 'customersDeleteDataDelete',
|
|
35497
|
+
parameters: [
|
|
35498
|
+
{
|
|
35499
|
+
in: 'query',
|
|
35500
|
+
name: 'space_keys',
|
|
35501
|
+
schema: {
|
|
35502
|
+
description: 'List of space keys to delete.',
|
|
35503
|
+
items: { type: 'string' },
|
|
35504
|
+
type: 'array',
|
|
35505
|
+
},
|
|
35506
|
+
},
|
|
35507
|
+
{
|
|
35508
|
+
in: 'query',
|
|
35509
|
+
name: 'property_keys',
|
|
35510
|
+
schema: {
|
|
35511
|
+
description: 'List of property keys to delete.',
|
|
35512
|
+
items: { type: 'string' },
|
|
35513
|
+
type: 'array',
|
|
35514
|
+
},
|
|
35515
|
+
},
|
|
35516
|
+
{
|
|
35517
|
+
in: 'query',
|
|
35518
|
+
name: 'room_keys',
|
|
35519
|
+
schema: {
|
|
35520
|
+
description: 'List of room keys to delete.',
|
|
35521
|
+
items: { type: 'string' },
|
|
35522
|
+
type: 'array',
|
|
35523
|
+
},
|
|
35524
|
+
},
|
|
35525
|
+
{
|
|
35526
|
+
in: 'query',
|
|
35527
|
+
name: 'common_area_keys',
|
|
35528
|
+
schema: {
|
|
35529
|
+
description: 'List of common area keys to delete.',
|
|
35530
|
+
items: { type: 'string' },
|
|
35531
|
+
type: 'array',
|
|
35532
|
+
},
|
|
35533
|
+
},
|
|
35534
|
+
{
|
|
35535
|
+
in: 'query',
|
|
35536
|
+
name: 'unit_keys',
|
|
35537
|
+
schema: {
|
|
35538
|
+
description: 'List of unit keys to delete.',
|
|
35539
|
+
items: { type: 'string' },
|
|
35540
|
+
type: 'array',
|
|
35541
|
+
},
|
|
35542
|
+
},
|
|
35543
|
+
{
|
|
35544
|
+
in: 'query',
|
|
35545
|
+
name: 'facility_keys',
|
|
35546
|
+
schema: {
|
|
35547
|
+
description: 'List of facility keys to delete.',
|
|
35548
|
+
items: { type: 'string' },
|
|
35549
|
+
type: 'array',
|
|
35550
|
+
},
|
|
35551
|
+
},
|
|
35552
|
+
{
|
|
35553
|
+
in: 'query',
|
|
35554
|
+
name: 'building_keys',
|
|
35555
|
+
schema: {
|
|
35556
|
+
description: 'List of building keys to delete.',
|
|
35557
|
+
items: { type: 'string' },
|
|
35558
|
+
type: 'array',
|
|
35559
|
+
},
|
|
35560
|
+
},
|
|
35561
|
+
{
|
|
35562
|
+
in: 'query',
|
|
35563
|
+
name: 'listing_keys',
|
|
35564
|
+
schema: {
|
|
35565
|
+
description: 'List of listing keys to delete.',
|
|
35566
|
+
items: { type: 'string' },
|
|
35567
|
+
type: 'array',
|
|
35568
|
+
},
|
|
35569
|
+
},
|
|
35570
|
+
{
|
|
35571
|
+
in: 'query',
|
|
35572
|
+
name: 'property_listing_keys',
|
|
35573
|
+
schema: {
|
|
35574
|
+
description: 'List of property listing keys to delete.',
|
|
35575
|
+
items: { type: 'string' },
|
|
35576
|
+
type: 'array',
|
|
35577
|
+
},
|
|
35578
|
+
},
|
|
35579
|
+
{
|
|
35580
|
+
in: 'query',
|
|
35581
|
+
name: 'guest_keys',
|
|
35582
|
+
schema: {
|
|
35583
|
+
description: 'List of guest keys to delete.',
|
|
35584
|
+
items: { type: 'string' },
|
|
35585
|
+
type: 'array',
|
|
35586
|
+
},
|
|
35587
|
+
},
|
|
35588
|
+
{
|
|
35589
|
+
in: 'query',
|
|
35590
|
+
name: 'tenant_keys',
|
|
35591
|
+
schema: {
|
|
35592
|
+
description: 'List of tenant keys to delete.',
|
|
35593
|
+
items: { type: 'string' },
|
|
35594
|
+
type: 'array',
|
|
35595
|
+
},
|
|
35596
|
+
},
|
|
35597
|
+
{
|
|
35598
|
+
in: 'query',
|
|
35599
|
+
name: 'resident_keys',
|
|
35600
|
+
schema: {
|
|
35601
|
+
description: 'List of resident keys to delete.',
|
|
35602
|
+
items: { type: 'string' },
|
|
35603
|
+
type: 'array',
|
|
35604
|
+
},
|
|
35605
|
+
},
|
|
35606
|
+
{
|
|
35607
|
+
in: 'query',
|
|
35608
|
+
name: 'user_keys',
|
|
35609
|
+
schema: {
|
|
35610
|
+
description: 'List of user keys to delete.',
|
|
35611
|
+
items: { type: 'string' },
|
|
35612
|
+
type: 'array',
|
|
35613
|
+
},
|
|
35614
|
+
},
|
|
35615
|
+
{
|
|
35616
|
+
in: 'query',
|
|
35617
|
+
name: 'user_identity_keys',
|
|
35618
|
+
schema: {
|
|
35619
|
+
description: 'List of user identity keys to delete.',
|
|
35620
|
+
items: { type: 'string' },
|
|
35621
|
+
type: 'array',
|
|
35622
|
+
},
|
|
35623
|
+
},
|
|
35624
|
+
{
|
|
35625
|
+
in: 'query',
|
|
35626
|
+
name: 'reservation_keys',
|
|
35627
|
+
schema: {
|
|
35628
|
+
description: 'List of reservation keys to delete.',
|
|
35629
|
+
items: { type: 'string' },
|
|
35630
|
+
type: 'array',
|
|
35631
|
+
},
|
|
35632
|
+
},
|
|
35633
|
+
{
|
|
35634
|
+
in: 'query',
|
|
35635
|
+
name: 'booking_keys',
|
|
35636
|
+
schema: {
|
|
35637
|
+
description: 'List of booking keys to delete.',
|
|
35638
|
+
items: { type: 'string' },
|
|
35639
|
+
type: 'array',
|
|
35640
|
+
},
|
|
35641
|
+
},
|
|
35642
|
+
{
|
|
35643
|
+
in: 'query',
|
|
35644
|
+
name: 'access_grant_keys',
|
|
35645
|
+
schema: {
|
|
35646
|
+
description: 'List of access grant keys to delete.',
|
|
35647
|
+
items: { type: 'string' },
|
|
35648
|
+
type: 'array',
|
|
35649
|
+
},
|
|
35650
|
+
},
|
|
35651
|
+
],
|
|
35652
|
+
responses: {
|
|
35653
|
+
200: {
|
|
35654
|
+
content: {
|
|
35655
|
+
'application/json': {
|
|
35656
|
+
schema: {
|
|
35657
|
+
properties: { ok: { type: 'boolean' } },
|
|
35658
|
+
required: ['ok'],
|
|
35659
|
+
type: 'object',
|
|
35660
|
+
},
|
|
35661
|
+
},
|
|
35662
|
+
},
|
|
35663
|
+
description: 'OK',
|
|
35664
|
+
},
|
|
35665
|
+
400: { description: 'Bad Request' },
|
|
35666
|
+
401: { description: 'Unauthorized' },
|
|
35667
|
+
},
|
|
35668
|
+
security: [
|
|
35669
|
+
{ pat_with_workspace: [] },
|
|
35670
|
+
{ console_session_with_workspace: [] },
|
|
35671
|
+
{ api_key: [] },
|
|
35672
|
+
],
|
|
35673
|
+
summary: '/customers/delete_data',
|
|
35674
|
+
tags: [],
|
|
35675
|
+
'x-fern-sdk-group-name': ['customers'],
|
|
35676
|
+
'x-fern-sdk-method-name': 'delete_data',
|
|
35677
|
+
'x-response-key': null,
|
|
35678
|
+
'x-title': 'Delete Customer Data',
|
|
35679
|
+
},
|
|
35680
|
+
post: {
|
|
35681
|
+
description: 'Deletes customer data including resources like spaces, properties, rooms, users, etc.\nThis will delete the partner resources and any related Seam resources (user identities, access grants, spaces).',
|
|
35682
|
+
operationId: 'customersDeleteDataPost',
|
|
35683
|
+
requestBody: {
|
|
35684
|
+
content: {
|
|
35685
|
+
'application/json': {
|
|
35686
|
+
schema: {
|
|
35687
|
+
properties: {
|
|
35688
|
+
access_grant_keys: {
|
|
35689
|
+
description: 'List of access grant keys to delete.',
|
|
35690
|
+
items: { type: 'string' },
|
|
35691
|
+
type: 'array',
|
|
35692
|
+
},
|
|
35693
|
+
booking_keys: {
|
|
35694
|
+
description: 'List of booking keys to delete.',
|
|
35695
|
+
items: { type: 'string' },
|
|
35696
|
+
type: 'array',
|
|
35697
|
+
},
|
|
35698
|
+
building_keys: {
|
|
35699
|
+
description: 'List of building keys to delete.',
|
|
35700
|
+
items: { type: 'string' },
|
|
35701
|
+
type: 'array',
|
|
35702
|
+
},
|
|
35703
|
+
common_area_keys: {
|
|
35704
|
+
description: 'List of common area keys to delete.',
|
|
35705
|
+
items: { type: 'string' },
|
|
35706
|
+
type: 'array',
|
|
35707
|
+
},
|
|
35708
|
+
facility_keys: {
|
|
35709
|
+
description: 'List of facility keys to delete.',
|
|
35710
|
+
items: { type: 'string' },
|
|
35711
|
+
type: 'array',
|
|
35712
|
+
},
|
|
35713
|
+
guest_keys: {
|
|
35714
|
+
description: 'List of guest keys to delete.',
|
|
35715
|
+
items: { type: 'string' },
|
|
35716
|
+
type: 'array',
|
|
35717
|
+
},
|
|
35718
|
+
listing_keys: {
|
|
35719
|
+
description: 'List of listing keys to delete.',
|
|
35720
|
+
items: { type: 'string' },
|
|
35721
|
+
type: 'array',
|
|
35722
|
+
},
|
|
35723
|
+
property_keys: {
|
|
35724
|
+
description: 'List of property keys to delete.',
|
|
35725
|
+
items: { type: 'string' },
|
|
35726
|
+
type: 'array',
|
|
35727
|
+
},
|
|
35728
|
+
property_listing_keys: {
|
|
35729
|
+
description: 'List of property listing keys to delete.',
|
|
35730
|
+
items: { type: 'string' },
|
|
35731
|
+
type: 'array',
|
|
35732
|
+
},
|
|
35733
|
+
reservation_keys: {
|
|
35734
|
+
description: 'List of reservation keys to delete.',
|
|
35735
|
+
items: { type: 'string' },
|
|
35736
|
+
type: 'array',
|
|
35737
|
+
},
|
|
35738
|
+
resident_keys: {
|
|
35739
|
+
description: 'List of resident keys to delete.',
|
|
35740
|
+
items: { type: 'string' },
|
|
35741
|
+
type: 'array',
|
|
35742
|
+
},
|
|
35743
|
+
room_keys: {
|
|
35744
|
+
description: 'List of room keys to delete.',
|
|
35745
|
+
items: { type: 'string' },
|
|
35746
|
+
type: 'array',
|
|
35747
|
+
},
|
|
35748
|
+
space_keys: {
|
|
35749
|
+
description: 'List of space keys to delete.',
|
|
35750
|
+
items: { type: 'string' },
|
|
35751
|
+
type: 'array',
|
|
35752
|
+
},
|
|
35753
|
+
tenant_keys: {
|
|
35754
|
+
description: 'List of tenant keys to delete.',
|
|
35755
|
+
items: { type: 'string' },
|
|
35756
|
+
type: 'array',
|
|
35757
|
+
},
|
|
35758
|
+
unit_keys: {
|
|
35759
|
+
description: 'List of unit keys to delete.',
|
|
35760
|
+
items: { type: 'string' },
|
|
35761
|
+
type: 'array',
|
|
35762
|
+
},
|
|
35763
|
+
user_identity_keys: {
|
|
35764
|
+
description: 'List of user identity keys to delete.',
|
|
35765
|
+
items: { type: 'string' },
|
|
35766
|
+
type: 'array',
|
|
35767
|
+
},
|
|
35768
|
+
user_keys: {
|
|
35769
|
+
description: 'List of user keys to delete.',
|
|
35770
|
+
items: { type: 'string' },
|
|
35771
|
+
type: 'array',
|
|
35772
|
+
},
|
|
35773
|
+
},
|
|
35774
|
+
type: 'object',
|
|
35775
|
+
},
|
|
35776
|
+
},
|
|
35777
|
+
},
|
|
35778
|
+
},
|
|
35779
|
+
responses: {
|
|
35780
|
+
200: {
|
|
35781
|
+
content: {
|
|
35782
|
+
'application/json': {
|
|
35783
|
+
schema: {
|
|
35784
|
+
properties: { ok: { type: 'boolean' } },
|
|
35785
|
+
required: ['ok'],
|
|
35786
|
+
type: 'object',
|
|
35787
|
+
},
|
|
35788
|
+
},
|
|
35789
|
+
},
|
|
35790
|
+
description: 'OK',
|
|
35791
|
+
},
|
|
35792
|
+
400: { description: 'Bad Request' },
|
|
35793
|
+
401: { description: 'Unauthorized' },
|
|
35794
|
+
},
|
|
35795
|
+
security: [
|
|
35796
|
+
{ pat_with_workspace: [] },
|
|
35797
|
+
{ console_session_with_workspace: [] },
|
|
35798
|
+
{ api_key: [] },
|
|
35799
|
+
],
|
|
35800
|
+
summary: '/customers/delete_data',
|
|
35801
|
+
tags: [],
|
|
35802
|
+
'x-fern-sdk-group-name': ['customers'],
|
|
35803
|
+
'x-fern-sdk-method-name': 'delete_data',
|
|
35804
|
+
'x-response-key': null,
|
|
35805
|
+
'x-title': 'Delete Customer Data',
|
|
35806
|
+
},
|
|
35807
|
+
},
|
|
35493
35808
|
'/customers/push_data': {
|
|
35494
35809
|
post: {
|
|
35495
35810
|
description: 'Pushes customer data including resources like spaces, properties, rooms, users, etc.',
|
|
@@ -53017,7 +53332,7 @@ export default {
|
|
|
53017
53332
|
'x-fern-sdk-group-name': ['workspaces'],
|
|
53018
53333
|
'x-fern-sdk-method-name': 'update',
|
|
53019
53334
|
'x-response-key': null,
|
|
53020
|
-
'x-title': '
|
|
53335
|
+
'x-title': 'Update a Workspace',
|
|
53021
53336
|
},
|
|
53022
53337
|
post: {
|
|
53023
53338
|
description: 'Updates the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the authentication value.',
|
|
@@ -53087,7 +53402,7 @@ export default {
|
|
|
53087
53402
|
'x-fern-sdk-group-name': ['workspaces'],
|
|
53088
53403
|
'x-fern-sdk-method-name': 'update',
|
|
53089
53404
|
'x-response-key': null,
|
|
53090
|
-
'x-title': '
|
|
53405
|
+
'x-title': 'Update a Workspace',
|
|
53091
53406
|
},
|
|
53092
53407
|
},
|
|
53093
53408
|
},
|