@seamapi/types 1.401.0 → 1.402.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 (30) hide show
  1. package/dist/connect.cjs +638 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +834 -71
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/index.d.ts +1 -0
  8. package/lib/seam/connect/models/index.js +1 -0
  9. package/lib/seam/connect/models/index.js.map +1 -1
  10. package/lib/seam/connect/models/phones/index.d.ts +2 -0
  11. package/lib/seam/connect/models/phones/index.js +3 -0
  12. package/lib/seam/connect/models/phones/index.js.map +1 -0
  13. package/lib/seam/connect/models/phones/phone-registration.d.ts +18 -0
  14. package/lib/seam/connect/models/phones/phone-registration.js +13 -0
  15. package/lib/seam/connect/models/phones/phone-registration.js.map +1 -0
  16. package/lib/seam/connect/models/phones/phone-session.d.ts +2060 -0
  17. package/lib/seam/connect/models/phones/phone-session.js +21 -0
  18. package/lib/seam/connect/models/phones/phone-session.js.map +1 -0
  19. package/lib/seam/connect/openapi.d.ts +556 -0
  20. package/lib/seam/connect/openapi.js +638 -4
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +209 -2
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  25. package/src/lib/seam/connect/models/index.ts +1 -0
  26. package/src/lib/seam/connect/models/phones/index.ts +2 -0
  27. package/src/lib/seam/connect/models/phones/phone-registration.ts +15 -0
  28. package/src/lib/seam/connect/models/phones/phone-session.ts +27 -0
  29. package/src/lib/seam/connect/openapi.ts +704 -4
  30. package/src/lib/seam/connect/route-types.ts +263 -2
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ import { acs_credential } from '../acs/acs-credential.js';
3
+ import { acs_entrance } from '../acs/acs-entrance.js';
4
+ import { phone_registration } from './phone-registration.js';
5
+ const phone_provider_session = z.object({
6
+ phone_registration,
7
+ acs_credentials: acs_credential
8
+ .extend({
9
+ acs_entrances: acs_entrance.array(),
10
+ })
11
+ .array(),
12
+ });
13
+ export const phone_session = z.object({
14
+ provider_sessions: phone_provider_session.array(),
15
+ }).describe(`
16
+ ---
17
+ route_path: /seam/mobile_sdk/v1/phone_sessions
18
+ undocumented: Seam Mobile SDK only.
19
+ ---
20
+ `);
21
+ //# sourceMappingURL=phone-session.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/phones/phone-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB;IAClB,eAAe,EAAE,cAAc;SAC5B,MAAM,CAAC;QACN,aAAa,EAAE,YAAY,CAAC,KAAK,EAAE;KACpC,CAAC;SACD,KAAK,EAAE;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,iBAAiB,EAAE,sBAAsB,CAAC,KAAK,EAAE;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -8479,6 +8479,475 @@ declare const _default: {
8479
8479
  type: string;
8480
8480
  'x-route-path': string;
8481
8481
  };
8482
+ phone_registration: {
8483
+ properties: {
8484
+ is_being_activated: {
8485
+ type: string;
8486
+ };
8487
+ phone_registration_id: {
8488
+ type: string;
8489
+ };
8490
+ provider_name: {
8491
+ nullable: boolean;
8492
+ type: string;
8493
+ };
8494
+ provider_state: {};
8495
+ };
8496
+ required: string[];
8497
+ type: string;
8498
+ 'x-route-path': string;
8499
+ 'x-undocumented': string;
8500
+ };
8501
+ phone_session: {
8502
+ properties: {
8503
+ provider_sessions: {
8504
+ items: {
8505
+ properties: {
8506
+ acs_credentials: {
8507
+ items: {
8508
+ description: string;
8509
+ properties: {
8510
+ access_method: {
8511
+ description: string;
8512
+ enum: string[];
8513
+ type: string;
8514
+ };
8515
+ acs_credential_id: {
8516
+ description: string;
8517
+ format: string;
8518
+ type: string;
8519
+ };
8520
+ acs_credential_pool_id: {
8521
+ format: string;
8522
+ type: string;
8523
+ };
8524
+ acs_entrances: {
8525
+ items: {
8526
+ description: string;
8527
+ properties: {
8528
+ acs_entrance_id: {
8529
+ description: string;
8530
+ format: string;
8531
+ type: string;
8532
+ };
8533
+ acs_system_id: {
8534
+ description: string;
8535
+ format: string;
8536
+ type: string;
8537
+ };
8538
+ assa_abloy_vostio_metadata: {
8539
+ description: string;
8540
+ properties: {
8541
+ door_name: {
8542
+ type: string;
8543
+ };
8544
+ door_number: {
8545
+ format: string;
8546
+ type: string;
8547
+ };
8548
+ door_type: {
8549
+ enum: string[];
8550
+ type: string;
8551
+ };
8552
+ pms_id: {
8553
+ type: string;
8554
+ };
8555
+ stand_open: {
8556
+ type: string;
8557
+ };
8558
+ };
8559
+ required: string[];
8560
+ type: string;
8561
+ };
8562
+ created_at: {
8563
+ description: string;
8564
+ format: string;
8565
+ type: string;
8566
+ };
8567
+ display_name: {
8568
+ description: string;
8569
+ type: string;
8570
+ };
8571
+ dormakaba_community_metadata: {
8572
+ description: string;
8573
+ properties: {
8574
+ access_point_name: {
8575
+ type: string;
8576
+ };
8577
+ };
8578
+ required: string[];
8579
+ type: string;
8580
+ };
8581
+ errors: {
8582
+ description: string;
8583
+ items: {
8584
+ properties: {
8585
+ error_code: {
8586
+ description: string;
8587
+ type: string;
8588
+ };
8589
+ message: {
8590
+ description: string;
8591
+ type: string;
8592
+ };
8593
+ };
8594
+ required: string[];
8595
+ type: string;
8596
+ };
8597
+ type: string;
8598
+ };
8599
+ latch_metadata: {
8600
+ description: string;
8601
+ properties: {
8602
+ accessibility_type: {
8603
+ type: string;
8604
+ };
8605
+ door_name: {
8606
+ type: string;
8607
+ };
8608
+ door_type: {
8609
+ type: string;
8610
+ };
8611
+ is_connected: {
8612
+ type: string;
8613
+ };
8614
+ };
8615
+ required: string[];
8616
+ type: string;
8617
+ };
8618
+ salto_ks_metadata: {
8619
+ description: string;
8620
+ properties: {
8621
+ battery_level: {
8622
+ type: string;
8623
+ };
8624
+ door_name: {
8625
+ type: string;
8626
+ };
8627
+ intrusion_alarm: {
8628
+ type: string;
8629
+ };
8630
+ left_open_alarm: {
8631
+ type: string;
8632
+ };
8633
+ lock_type: {
8634
+ type: string;
8635
+ };
8636
+ locked_state: {
8637
+ type: string;
8638
+ };
8639
+ online: {
8640
+ type: string;
8641
+ };
8642
+ privacy_mode: {
8643
+ type: string;
8644
+ };
8645
+ };
8646
+ required: string[];
8647
+ type: string;
8648
+ };
8649
+ salto_space_metadata: {
8650
+ description: string;
8651
+ properties: {
8652
+ door_description: {
8653
+ type: string;
8654
+ };
8655
+ door_name: {
8656
+ type: string;
8657
+ };
8658
+ ext_door_id: {
8659
+ type: string;
8660
+ };
8661
+ };
8662
+ required: string[];
8663
+ type: string;
8664
+ };
8665
+ visionline_metadata: {
8666
+ description: string;
8667
+ properties: {
8668
+ door_category: {
8669
+ enum: string[];
8670
+ type: string;
8671
+ };
8672
+ door_name: {
8673
+ type: string;
8674
+ };
8675
+ profiles: {
8676
+ items: {
8677
+ properties: {
8678
+ visionline_door_profile_id: {
8679
+ type: string;
8680
+ };
8681
+ visionline_door_profile_type: {
8682
+ enum: string[];
8683
+ type: string;
8684
+ };
8685
+ };
8686
+ required: string[];
8687
+ type: string;
8688
+ };
8689
+ type: string;
8690
+ };
8691
+ };
8692
+ required: string[];
8693
+ type: string;
8694
+ };
8695
+ };
8696
+ required: string[];
8697
+ type: string;
8698
+ 'x-route-path': string;
8699
+ };
8700
+ type: string;
8701
+ };
8702
+ acs_system_id: {
8703
+ description: string;
8704
+ format: string;
8705
+ type: string;
8706
+ };
8707
+ acs_user_id: {
8708
+ description: string;
8709
+ format: string;
8710
+ type: string;
8711
+ };
8712
+ assa_abloy_vostio_metadata: {
8713
+ description: string;
8714
+ properties: {
8715
+ auto_join: {
8716
+ type: string;
8717
+ };
8718
+ door_names: {
8719
+ items: {
8720
+ type: string;
8721
+ };
8722
+ type: string;
8723
+ };
8724
+ endpoint_id: {
8725
+ type: string;
8726
+ };
8727
+ key_id: {
8728
+ type: string;
8729
+ };
8730
+ key_issuing_request_id: {
8731
+ type: string;
8732
+ };
8733
+ override_guest_acs_entrance_ids: {
8734
+ items: {
8735
+ type: string;
8736
+ };
8737
+ type: string;
8738
+ };
8739
+ };
8740
+ type: string;
8741
+ };
8742
+ card_number: {
8743
+ description: string;
8744
+ nullable: boolean;
8745
+ type: string;
8746
+ };
8747
+ code: {
8748
+ description: string;
8749
+ nullable: boolean;
8750
+ type: string;
8751
+ };
8752
+ created_at: {
8753
+ description: string;
8754
+ format: string;
8755
+ type: string;
8756
+ };
8757
+ display_name: {
8758
+ description: string;
8759
+ minLength: number;
8760
+ type: string;
8761
+ };
8762
+ ends_at: {
8763
+ description: string;
8764
+ type: string;
8765
+ };
8766
+ errors: {
8767
+ description: string;
8768
+ items: {
8769
+ properties: {
8770
+ error_code: {
8771
+ type: string;
8772
+ };
8773
+ message: {
8774
+ type: string;
8775
+ };
8776
+ };
8777
+ required: string[];
8778
+ type: string;
8779
+ };
8780
+ type: string;
8781
+ };
8782
+ external_type: {
8783
+ description: string;
8784
+ enum: string[];
8785
+ type: string;
8786
+ };
8787
+ external_type_display_name: {
8788
+ description: string;
8789
+ type: string;
8790
+ };
8791
+ is_issued: {
8792
+ description: string;
8793
+ type: string;
8794
+ };
8795
+ is_latest_desired_state_synced_with_provider: {
8796
+ description: string;
8797
+ nullable: boolean;
8798
+ type: string;
8799
+ };
8800
+ is_managed: {
8801
+ enum: boolean[];
8802
+ type: string;
8803
+ };
8804
+ is_multi_phone_sync_credential: {
8805
+ description: string;
8806
+ type: string;
8807
+ };
8808
+ is_one_time_use: {
8809
+ description: string;
8810
+ type: string;
8811
+ };
8812
+ issued_at: {
8813
+ description: string;
8814
+ format: string;
8815
+ nullable: boolean;
8816
+ type: string;
8817
+ };
8818
+ latest_desired_state_synced_with_provider_at: {
8819
+ description: string;
8820
+ format: string;
8821
+ nullable: boolean;
8822
+ type: string;
8823
+ };
8824
+ parent_acs_credential_id: {
8825
+ description: string;
8826
+ format: string;
8827
+ type: string;
8828
+ };
8829
+ starts_at: {
8830
+ description: string;
8831
+ type: string;
8832
+ };
8833
+ visionline_metadata: {
8834
+ description: string;
8835
+ properties: {
8836
+ auto_join: {
8837
+ type: string;
8838
+ };
8839
+ card_function_type: {
8840
+ enum: string[];
8841
+ type: string;
8842
+ };
8843
+ card_id: {
8844
+ type: string;
8845
+ };
8846
+ common_acs_entrance_ids: {
8847
+ items: {
8848
+ format: string;
8849
+ type: string;
8850
+ };
8851
+ type: string;
8852
+ };
8853
+ credential_id: {
8854
+ type: string;
8855
+ };
8856
+ guest_acs_entrance_ids: {
8857
+ items: {
8858
+ format: string;
8859
+ type: string;
8860
+ };
8861
+ type: string;
8862
+ };
8863
+ is_valid: {
8864
+ type: string;
8865
+ };
8866
+ joiner_acs_credential_ids: {
8867
+ items: {
8868
+ format: string;
8869
+ type: string;
8870
+ };
8871
+ type: string;
8872
+ };
8873
+ };
8874
+ required: string[];
8875
+ type: string;
8876
+ };
8877
+ warnings: {
8878
+ description: string;
8879
+ items: {
8880
+ description: string;
8881
+ discriminator: {
8882
+ propertyName: string;
8883
+ };
8884
+ oneOf: {
8885
+ description: string;
8886
+ properties: {
8887
+ created_at: {
8888
+ description: string;
8889
+ format: string;
8890
+ type: string;
8891
+ };
8892
+ message: {
8893
+ description: string;
8894
+ type: string;
8895
+ };
8896
+ warning_code: {
8897
+ description: string;
8898
+ enum: string[];
8899
+ type: string;
8900
+ };
8901
+ };
8902
+ required: string[];
8903
+ type: string;
8904
+ }[];
8905
+ };
8906
+ type: string;
8907
+ };
8908
+ workspace_id: {
8909
+ description: string;
8910
+ format: string;
8911
+ type: string;
8912
+ };
8913
+ };
8914
+ required: string[];
8915
+ type: string;
8916
+ 'x-route-path': string;
8917
+ };
8918
+ type: string;
8919
+ };
8920
+ phone_registration: {
8921
+ properties: {
8922
+ is_being_activated: {
8923
+ type: string;
8924
+ };
8925
+ phone_registration_id: {
8926
+ type: string;
8927
+ };
8928
+ provider_name: {
8929
+ nullable: boolean;
8930
+ type: string;
8931
+ };
8932
+ provider_state: {};
8933
+ };
8934
+ required: string[];
8935
+ type: string;
8936
+ 'x-route-path': string;
8937
+ 'x-undocumented': string;
8938
+ };
8939
+ };
8940
+ required: string[];
8941
+ type: string;
8942
+ };
8943
+ type: string;
8944
+ };
8945
+ };
8946
+ required: string[];
8947
+ type: string;
8948
+ 'x-route-path': string;
8949
+ 'x-undocumented': string;
8950
+ };
8482
8951
  thermostat_schedule: {
8483
8952
  description: string;
8484
8953
  properties: {
@@ -14052,6 +14521,11 @@ declare const _default: {
14052
14521
  format: string;
14053
14522
  type: string;
14054
14523
  };
14524
+ user_identity_id: {
14525
+ description: string;
14526
+ format: string;
14527
+ type: string;
14528
+ };
14055
14529
  };
14056
14530
  required: string[];
14057
14531
  type: string;
@@ -14123,6 +14597,11 @@ declare const _default: {
14123
14597
  format: string;
14124
14598
  type: string;
14125
14599
  };
14600
+ user_identity_id: {
14601
+ description: string;
14602
+ format: string;
14603
+ type: string;
14604
+ };
14126
14605
  };
14127
14606
  required: string[];
14128
14607
  type: string;
@@ -23522,6 +24001,83 @@ declare const _default: {
23522
24001
  'x-undocumented': string;
23523
24002
  };
23524
24003
  };
24004
+ '/seam/mobile_sdk/v1/phone_sessions/get_or_create': {
24005
+ post: {
24006
+ description: string;
24007
+ operationId: string;
24008
+ requestBody: {
24009
+ content: {
24010
+ 'application/json': {
24011
+ schema: {
24012
+ properties: {
24013
+ custom_sdk_installation_id: {
24014
+ type: string;
24015
+ };
24016
+ phone_device_metadata: {
24017
+ properties: {
24018
+ manufacturer: {
24019
+ type: string;
24020
+ };
24021
+ model: {
24022
+ type: string;
24023
+ };
24024
+ os_version: {
24025
+ type: string;
24026
+ };
24027
+ };
24028
+ type: string;
24029
+ };
24030
+ phone_os: {
24031
+ enum: string[];
24032
+ type: string;
24033
+ };
24034
+ };
24035
+ required: string[];
24036
+ type: string;
24037
+ };
24038
+ };
24039
+ };
24040
+ };
24041
+ responses: {
24042
+ 200: {
24043
+ content: {
24044
+ 'application/json': {
24045
+ schema: {
24046
+ properties: {
24047
+ ok: {
24048
+ type: string;
24049
+ };
24050
+ phone_session: {
24051
+ $ref: string;
24052
+ };
24053
+ };
24054
+ required: string[];
24055
+ type: string;
24056
+ };
24057
+ };
24058
+ };
24059
+ description: string;
24060
+ };
24061
+ 400: {
24062
+ description: string;
24063
+ };
24064
+ 401: {
24065
+ description: string;
24066
+ };
24067
+ };
24068
+ security: {
24069
+ client_session: never[];
24070
+ }[];
24071
+ summary: string;
24072
+ tags: never[];
24073
+ 'x-fern-sdk-group-name': string[];
24074
+ 'x-fern-sdk-method-name': string;
24075
+ 'x-fern-sdk-return-value': string;
24076
+ 'x-response-key': string;
24077
+ 'x-title': string;
24078
+ 'x-undocumented': string;
24079
+ };
24080
+ };
23525
24081
  '/thermostats/activate_climate_preset': {
23526
24082
  post: {
23527
24083
  description: string;