@seamapi/types 1.502.0 → 1.504.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.
Files changed (33) hide show
  1. package/dist/connect.cjs +331 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +333 -0
  4. package/dist/index.cjs +331 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +3 -0
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +4 -0
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +3 -0
  10. package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +1 -0
  11. package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
  12. package/lib/seam/connect/models/batch.d.ts +20 -0
  13. package/lib/seam/connect/models/customer/customer-delete-data.d.ts +57 -0
  14. package/lib/seam/connect/models/customer/customer-delete-data.js +75 -0
  15. package/lib/seam/connect/models/customer/customer-delete-data.js.map +1 -0
  16. package/lib/seam/connect/models/customer/index.d.ts +1 -0
  17. package/lib/seam/connect/models/customer/index.js +1 -0
  18. package/lib/seam/connect/models/customer/index.js.map +1 -1
  19. package/lib/seam/connect/models/index.d.ts +1 -0
  20. package/lib/seam/connect/models/index.js +1 -0
  21. package/lib/seam/connect/models/index.js.map +1 -1
  22. package/lib/seam/connect/openapi.d.ts +247 -0
  23. package/lib/seam/connect/openapi.js +327 -0
  24. package/lib/seam/connect/openapi.js.map +1 -1
  25. package/lib/seam/connect/route-types.d.ts +70 -0
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +6 -0
  28. package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +1 -0
  29. package/src/lib/seam/connect/models/customer/customer-delete-data.ts +79 -0
  30. package/src/lib/seam/connect/models/customer/index.ts +1 -0
  31. package/src/lib/seam/connect/models/index.ts +1 -0
  32. package/src/lib/seam/connect/openapi.ts +331 -0
  33. package/src/lib/seam/connect/route-types.ts +70 -0
@@ -367,6 +367,11 @@ declare const _default: {
367
367
  };
368
368
  };
369
369
  };
370
+ workspace_id: {
371
+ description: string;
372
+ format: string;
373
+ type: string;
374
+ };
370
375
  };
371
376
  required: string[];
372
377
  type: string;
@@ -11799,6 +11804,11 @@ declare const _default: {
11799
11804
  };
11800
11805
  };
11801
11806
  };
11807
+ workspace_id: {
11808
+ description: string;
11809
+ format: string;
11810
+ type: string;
11811
+ };
11802
11812
  };
11803
11813
  required: string[];
11804
11814
  type: string;
@@ -29438,6 +29448,243 @@ declare const _default: {
29438
29448
  'x-title': string;
29439
29449
  };
29440
29450
  };
29451
+ '/customers/delete_data': {
29452
+ delete: {
29453
+ description: string;
29454
+ operationId: string;
29455
+ parameters: {
29456
+ in: string;
29457
+ name: string;
29458
+ schema: {
29459
+ description: string;
29460
+ items: {
29461
+ type: string;
29462
+ };
29463
+ type: string;
29464
+ };
29465
+ }[];
29466
+ responses: {
29467
+ 200: {
29468
+ content: {
29469
+ 'application/json': {
29470
+ schema: {
29471
+ properties: {
29472
+ ok: {
29473
+ type: string;
29474
+ };
29475
+ };
29476
+ required: string[];
29477
+ type: string;
29478
+ };
29479
+ };
29480
+ };
29481
+ description: string;
29482
+ };
29483
+ 400: {
29484
+ description: string;
29485
+ };
29486
+ 401: {
29487
+ description: string;
29488
+ };
29489
+ };
29490
+ security: ({
29491
+ pat_with_workspace: never[];
29492
+ console_session_with_workspace?: never;
29493
+ api_key?: never;
29494
+ } | {
29495
+ console_session_with_workspace: never[];
29496
+ pat_with_workspace?: never;
29497
+ api_key?: never;
29498
+ } | {
29499
+ api_key: never[];
29500
+ pat_with_workspace?: never;
29501
+ console_session_with_workspace?: never;
29502
+ })[];
29503
+ summary: string;
29504
+ tags: never[];
29505
+ 'x-fern-sdk-group-name': string[];
29506
+ 'x-fern-sdk-method-name': string;
29507
+ 'x-response-key': null;
29508
+ 'x-title': string;
29509
+ };
29510
+ post: {
29511
+ description: string;
29512
+ operationId: string;
29513
+ requestBody: {
29514
+ content: {
29515
+ 'application/json': {
29516
+ schema: {
29517
+ properties: {
29518
+ access_grant_keys: {
29519
+ description: string;
29520
+ items: {
29521
+ type: string;
29522
+ };
29523
+ type: string;
29524
+ };
29525
+ booking_keys: {
29526
+ description: string;
29527
+ items: {
29528
+ type: string;
29529
+ };
29530
+ type: string;
29531
+ };
29532
+ building_keys: {
29533
+ description: string;
29534
+ items: {
29535
+ type: string;
29536
+ };
29537
+ type: string;
29538
+ };
29539
+ common_area_keys: {
29540
+ description: string;
29541
+ items: {
29542
+ type: string;
29543
+ };
29544
+ type: string;
29545
+ };
29546
+ facility_keys: {
29547
+ description: string;
29548
+ items: {
29549
+ type: string;
29550
+ };
29551
+ type: string;
29552
+ };
29553
+ guest_keys: {
29554
+ description: string;
29555
+ items: {
29556
+ type: string;
29557
+ };
29558
+ type: string;
29559
+ };
29560
+ listing_keys: {
29561
+ description: string;
29562
+ items: {
29563
+ type: string;
29564
+ };
29565
+ type: string;
29566
+ };
29567
+ property_keys: {
29568
+ description: string;
29569
+ items: {
29570
+ type: string;
29571
+ };
29572
+ type: string;
29573
+ };
29574
+ property_listing_keys: {
29575
+ description: string;
29576
+ items: {
29577
+ type: string;
29578
+ };
29579
+ type: string;
29580
+ };
29581
+ reservation_keys: {
29582
+ description: string;
29583
+ items: {
29584
+ type: string;
29585
+ };
29586
+ type: string;
29587
+ };
29588
+ resident_keys: {
29589
+ description: string;
29590
+ items: {
29591
+ type: string;
29592
+ };
29593
+ type: string;
29594
+ };
29595
+ room_keys: {
29596
+ description: string;
29597
+ items: {
29598
+ type: string;
29599
+ };
29600
+ type: string;
29601
+ };
29602
+ space_keys: {
29603
+ description: string;
29604
+ items: {
29605
+ type: string;
29606
+ };
29607
+ type: string;
29608
+ };
29609
+ tenant_keys: {
29610
+ description: string;
29611
+ items: {
29612
+ type: string;
29613
+ };
29614
+ type: string;
29615
+ };
29616
+ unit_keys: {
29617
+ description: string;
29618
+ items: {
29619
+ type: string;
29620
+ };
29621
+ type: string;
29622
+ };
29623
+ user_identity_keys: {
29624
+ description: string;
29625
+ items: {
29626
+ type: string;
29627
+ };
29628
+ type: string;
29629
+ };
29630
+ user_keys: {
29631
+ description: string;
29632
+ items: {
29633
+ type: string;
29634
+ };
29635
+ type: string;
29636
+ };
29637
+ };
29638
+ type: string;
29639
+ };
29640
+ };
29641
+ };
29642
+ };
29643
+ responses: {
29644
+ 200: {
29645
+ content: {
29646
+ 'application/json': {
29647
+ schema: {
29648
+ properties: {
29649
+ ok: {
29650
+ type: string;
29651
+ };
29652
+ };
29653
+ required: string[];
29654
+ type: string;
29655
+ };
29656
+ };
29657
+ };
29658
+ description: string;
29659
+ };
29660
+ 400: {
29661
+ description: string;
29662
+ };
29663
+ 401: {
29664
+ description: string;
29665
+ };
29666
+ };
29667
+ security: ({
29668
+ pat_with_workspace: never[];
29669
+ console_session_with_workspace?: never;
29670
+ api_key?: never;
29671
+ } | {
29672
+ console_session_with_workspace: never[];
29673
+ pat_with_workspace?: never;
29674
+ api_key?: never;
29675
+ } | {
29676
+ api_key: never[];
29677
+ pat_with_workspace?: never;
29678
+ console_session_with_workspace?: never;
29679
+ })[];
29680
+ summary: string;
29681
+ tags: never[];
29682
+ 'x-fern-sdk-group-name': string[];
29683
+ 'x-fern-sdk-method-name': string;
29684
+ 'x-response-key': null;
29685
+ 'x-title': string;
29686
+ };
29687
+ };
29441
29688
  '/customers/push_data': {
29442
29689
  post: {
29443
29690
  description: string;
@@ -1547,8 +1547,14 @@ export default {
1547
1547
  thermostats: { name: 'Thermostats' },
1548
1548
  },
1549
1549
  },
1550
+ workspace_id: {
1551
+ description: 'Unique identifier for the Seam workspace associated with the access code.',
1552
+ format: 'uuid',
1553
+ type: 'string',
1554
+ },
1550
1555
  },
1551
1556
  required: [
1557
+ 'workspace_id',
1552
1558
  'common_code_key',
1553
1559
  'type',
1554
1560
  'access_code_id',
@@ -19962,8 +19968,14 @@ export default {
19962
19968
  thermostats: { name: 'Thermostats' },
19963
19969
  },
19964
19970
  },
19971
+ workspace_id: {
19972
+ description: 'Unique identifier for the Seam workspace associated with the access code.',
19973
+ format: 'uuid',
19974
+ type: 'string',
19975
+ },
19965
19976
  },
19966
19977
  required: [
19978
+ 'workspace_id',
19967
19979
  'type',
19968
19980
  'access_code_id',
19969
19981
  'device_id',
@@ -35478,6 +35490,321 @@ export default {
35478
35490
  'x-title': 'Create Customer Portal',
35479
35491
  },
35480
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
+ },
35481
35808
  '/customers/push_data': {
35482
35809
  post: {
35483
35810
  description: 'Pushes customer data including resources like spaces, properties, rooms, users, etc.',