@seamapi/types 1.233.0 → 1.235.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 +678 -11
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1514 -169
  4. package/lib/seam/connect/models/acs/acs-access-group.d.ts +45 -2
  5. package/lib/seam/connect/models/acs/acs-access-group.js +7 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-credential.d.ts +160 -2
  8. package/lib/seam/connect/models/acs/acs-credential.js +7 -1
  9. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +114 -1
  11. package/lib/seam/connect/models/acs/acs-user.js +7 -1
  12. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  13. package/lib/seam/connect/models/acs/metadata/visionline.d.ts +9 -0
  14. package/lib/seam/connect/models/acs/metadata/visionline.js +3 -0
  15. package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -1
  16. package/lib/seam/connect/openapi.d.ts +867 -41
  17. package/lib/seam/connect/openapi.js +638 -3
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +206 -1
  20. package/lib/seam/connect/schemas.d.ts +1 -1
  21. package/lib/seam/connect/schemas.js +1 -1
  22. package/lib/seam/connect/schemas.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/acs/acs-access-group.ts +11 -1
  25. package/src/lib/seam/connect/models/acs/acs-credential.ts +14 -1
  26. package/src/lib/seam/connect/models/acs/acs-user.ts +14 -1
  27. package/src/lib/seam/connect/models/acs/metadata/visionline.ts +3 -0
  28. package/src/lib/seam/connect/openapi.ts +638 -3
  29. package/src/lib/seam/connect/route-types.ts +246 -1
  30. package/src/lib/seam/connect/schemas.ts +3 -0
@@ -2359,6 +2359,7 @@ export interface Routes {
2359
2359
  | 'brivo_group'
2360
2360
  external_type_display_name: string
2361
2361
  created_at: string
2362
+ is_managed: true
2362
2363
  }
2363
2364
  }
2364
2365
  }
@@ -2396,6 +2397,7 @@ export interface Routes {
2396
2397
  | 'brivo_group'
2397
2398
  external_type_display_name: string
2398
2399
  created_at: string
2400
+ is_managed: true
2399
2401
  }>
2400
2402
  }
2401
2403
  }
@@ -2497,6 +2499,7 @@ export interface Routes {
2497
2499
  email?: string | undefined
2498
2500
  email_address?: string | undefined
2499
2501
  phone_number?: string | undefined
2502
+ is_managed: true
2500
2503
  }>
2501
2504
  }
2502
2505
  }
@@ -2512,6 +2515,81 @@ export interface Routes {
2512
2515
  formData: {}
2513
2516
  jsonResponse: {}
2514
2517
  }
2518
+ '/acs/access_groups/unmanaged/get': {
2519
+ route: '/acs/access_groups/unmanaged/get'
2520
+ method: 'GET' | 'POST'
2521
+ queryParams: {}
2522
+ jsonBody: {}
2523
+ commonParams: {
2524
+ acs_access_group_id: string
2525
+ }
2526
+ formData: {}
2527
+ jsonResponse: {
2528
+ acs_access_group: {
2529
+ acs_access_group_id: string
2530
+ acs_system_id: string
2531
+ workspace_id: string
2532
+ name: string
2533
+ /**
2534
+ * @deprecated use external_type */
2535
+ access_group_type:
2536
+ | 'pti_unit'
2537
+ | 'pti_access_level'
2538
+ | 'salto_access_group'
2539
+ | 'brivo_group'
2540
+ /**
2541
+ * @deprecated use external_type_display_name */
2542
+ access_group_type_display_name: string
2543
+ display_name: string
2544
+ external_type:
2545
+ | 'pti_unit'
2546
+ | 'pti_access_level'
2547
+ | 'salto_access_group'
2548
+ | 'brivo_group'
2549
+ external_type_display_name: string
2550
+ created_at: string
2551
+ is_managed: false
2552
+ }
2553
+ }
2554
+ }
2555
+ '/acs/access_groups/unmanaged/list': {
2556
+ route: '/acs/access_groups/unmanaged/list'
2557
+ method: 'GET' | 'POST'
2558
+ queryParams: {}
2559
+ jsonBody: {}
2560
+ commonParams: {
2561
+ acs_system_id?: string | undefined
2562
+ acs_user_id?: string | undefined
2563
+ }
2564
+ formData: {}
2565
+ jsonResponse: {
2566
+ acs_access_groups: Array<{
2567
+ acs_access_group_id: string
2568
+ acs_system_id: string
2569
+ workspace_id: string
2570
+ name: string
2571
+ /**
2572
+ * @deprecated use external_type */
2573
+ access_group_type:
2574
+ | 'pti_unit'
2575
+ | 'pti_access_level'
2576
+ | 'salto_access_group'
2577
+ | 'brivo_group'
2578
+ /**
2579
+ * @deprecated use external_type_display_name */
2580
+ access_group_type_display_name: string
2581
+ display_name: string
2582
+ external_type:
2583
+ | 'pti_unit'
2584
+ | 'pti_access_level'
2585
+ | 'salto_access_group'
2586
+ | 'brivo_group'
2587
+ external_type_display_name: string
2588
+ created_at: string
2589
+ is_managed: false
2590
+ }>
2591
+ }
2592
+ }
2515
2593
  '/acs/credential_pools/list': {
2516
2594
  route: '/acs/credential_pools/list'
2517
2595
  method: 'GET' | 'POST'
@@ -2607,8 +2685,12 @@ export interface Routes {
2607
2685
  joiner_acs_credential_ids?: string[] | undefined
2608
2686
  guest_acs_entrance_ids?: string[] | undefined
2609
2687
  common_acs_entrance_ids?: string[] | undefined
2688
+ is_valid?: boolean | undefined
2689
+ card_id?: string | undefined
2690
+ credential_id?: string | undefined
2610
2691
  }
2611
2692
  | undefined
2693
+ is_managed: true
2612
2694
  }
2613
2695
  }
2614
2696
  }
@@ -2683,8 +2765,12 @@ export interface Routes {
2683
2765
  joiner_acs_credential_ids?: string[] | undefined
2684
2766
  guest_acs_entrance_ids?: string[] | undefined
2685
2767
  common_acs_entrance_ids?: string[] | undefined
2768
+ is_valid?: boolean | undefined
2769
+ card_id?: string | undefined
2770
+ credential_id?: string | undefined
2686
2771
  }
2687
2772
  | undefined
2773
+ is_managed: true
2688
2774
  }
2689
2775
  }
2690
2776
  }
@@ -2749,8 +2835,12 @@ export interface Routes {
2749
2835
  joiner_acs_credential_ids?: string[] | undefined
2750
2836
  guest_acs_entrance_ids?: string[] | undefined
2751
2837
  common_acs_entrance_ids?: string[] | undefined
2838
+ is_valid?: boolean | undefined
2839
+ card_id?: string | undefined
2840
+ credential_id?: string | undefined
2752
2841
  }
2753
2842
  | undefined
2843
+ is_managed: true
2754
2844
  }
2755
2845
  }
2756
2846
  }
@@ -2820,8 +2910,12 @@ export interface Routes {
2820
2910
  joiner_acs_credential_ids?: string[] | undefined
2821
2911
  guest_acs_entrance_ids?: string[] | undefined
2822
2912
  common_acs_entrance_ids?: string[] | undefined
2913
+ is_valid?: boolean | undefined
2914
+ card_id?: string | undefined
2915
+ credential_id?: string | undefined
2823
2916
  }
2824
2917
  | undefined
2918
+ is_managed: true
2825
2919
  }>
2826
2920
  }
2827
2921
  }
@@ -2923,11 +3017,144 @@ export interface Routes {
2923
3017
  joiner_acs_credential_ids?: string[] | undefined
2924
3018
  guest_acs_entrance_ids?: string[] | undefined
2925
3019
  common_acs_entrance_ids?: string[] | undefined
3020
+ is_valid?: boolean | undefined
3021
+ card_id?: string | undefined
3022
+ credential_id?: string | undefined
3023
+ }
3024
+ | undefined
3025
+ is_managed: true
3026
+ }
3027
+ }
3028
+ }
3029
+ '/acs/credentials/unmanaged/get': {
3030
+ route: '/acs/credentials/unmanaged/get'
3031
+ method: 'GET' | 'POST'
3032
+ queryParams: {}
3033
+ jsonBody: {}
3034
+ commonParams: {
3035
+ acs_credential_id: string
3036
+ }
3037
+ formData: {}
3038
+ jsonResponse: {
3039
+ acs_credential: {
3040
+ acs_credential_id: string
3041
+ acs_user_id?: string | undefined
3042
+ acs_credential_pool_id?: string | undefined
3043
+ acs_system_id: string
3044
+ parent_acs_credential_id?: string | undefined
3045
+ display_name: string
3046
+ code?: (string | undefined) | null
3047
+ access_method: 'code' | 'card' | 'mobile_key'
3048
+ external_type?:
3049
+ | (
3050
+ | 'pti_card'
3051
+ | 'brivo_credential'
3052
+ | 'hid_credential'
3053
+ | 'visionline_card'
3054
+ | 'salto_ks_credential'
3055
+ )
3056
+ | undefined
3057
+ external_type_display_name?: string | undefined
3058
+ created_at: string
3059
+ workspace_id: string
3060
+ starts_at?: string | undefined
3061
+ ends_at?: string | undefined
3062
+ errors: Array<{
3063
+ error_code: string
3064
+ message: string
3065
+ }>
3066
+ warnings: Array<{
3067
+ warning_code: string
3068
+ message: string
3069
+ }>
3070
+ is_multi_phone_sync_credential?: boolean | undefined
3071
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3072
+ latest_desired_state_synced_with_provider_at?: string | undefined
3073
+ visionline_metadata?:
3074
+ | {
3075
+ card_function_type: 'guest' | 'staff'
3076
+ joiner_acs_credential_ids?: string[] | undefined
3077
+ guest_acs_entrance_ids?: string[] | undefined
3078
+ common_acs_entrance_ids?: string[] | undefined
3079
+ is_valid?: boolean | undefined
3080
+ card_id?: string | undefined
3081
+ credential_id?: string | undefined
2926
3082
  }
2927
3083
  | undefined
3084
+ is_managed: false
2928
3085
  }
2929
3086
  }
2930
3087
  }
3088
+ '/acs/credentials/unmanaged/list': {
3089
+ route: '/acs/credentials/unmanaged/list'
3090
+ method: 'GET' | 'POST'
3091
+ queryParams: {}
3092
+ jsonBody: {}
3093
+ commonParams:
3094
+ | {
3095
+ acs_user_id: string
3096
+ }
3097
+ | {
3098
+ acs_system_id: string
3099
+ }
3100
+ | {
3101
+ acs_user_id: string
3102
+ acs_system_id: string
3103
+ }
3104
+ | {
3105
+ user_identity_id: string
3106
+ }
3107
+ formData: {}
3108
+ jsonResponse: {
3109
+ acs_credentials: Array<{
3110
+ acs_credential_id: string
3111
+ acs_user_id?: string | undefined
3112
+ acs_credential_pool_id?: string | undefined
3113
+ acs_system_id: string
3114
+ parent_acs_credential_id?: string | undefined
3115
+ display_name: string
3116
+ code?: (string | undefined) | null
3117
+ access_method: 'code' | 'card' | 'mobile_key'
3118
+ external_type?:
3119
+ | (
3120
+ | 'pti_card'
3121
+ | 'brivo_credential'
3122
+ | 'hid_credential'
3123
+ | 'visionline_card'
3124
+ | 'salto_ks_credential'
3125
+ )
3126
+ | undefined
3127
+ external_type_display_name?: string | undefined
3128
+ created_at: string
3129
+ workspace_id: string
3130
+ starts_at?: string | undefined
3131
+ ends_at?: string | undefined
3132
+ errors: Array<{
3133
+ error_code: string
3134
+ message: string
3135
+ }>
3136
+ warnings: Array<{
3137
+ warning_code: string
3138
+ message: string
3139
+ }>
3140
+ is_multi_phone_sync_credential?: boolean | undefined
3141
+ is_latest_desired_state_synced_with_provider?: boolean | undefined
3142
+ latest_desired_state_synced_with_provider_at?: string | undefined
3143
+ visionline_metadata?:
3144
+ | {
3145
+ card_function_type: 'guest' | 'staff'
3146
+ joiner_acs_credential_ids?: string[] | undefined
3147
+ guest_acs_entrance_ids?: string[] | undefined
3148
+ common_acs_entrance_ids?: string[] | undefined
3149
+ is_valid?: boolean | undefined
3150
+ card_id?: string | undefined
3151
+ credential_id?: string | undefined
3152
+ }
3153
+ | undefined
3154
+ is_managed: false
3155
+ }>
3156
+ }
3157
+ }
2931
3158
  '/acs/credentials/update': {
2932
3159
  route: '/acs/credentials/update'
2933
3160
  method: 'PATCH' | 'POST'
@@ -2980,8 +3207,12 @@ export interface Routes {
2980
3207
  joiner_acs_credential_ids?: string[] | undefined
2981
3208
  guest_acs_entrance_ids?: string[] | undefined
2982
3209
  common_acs_entrance_ids?: string[] | undefined
3210
+ is_valid?: boolean | undefined
3211
+ card_id?: string | undefined
3212
+ credential_id?: string | undefined
2983
3213
  }
2984
3214
  | undefined
3215
+ is_managed: true
2985
3216
  }
2986
3217
  }
2987
3218
  }
@@ -3143,8 +3374,12 @@ export interface Routes {
3143
3374
  joiner_acs_credential_ids?: string[] | undefined
3144
3375
  guest_acs_entrance_ids?: string[] | undefined
3145
3376
  common_acs_entrance_ids?: string[] | undefined
3377
+ is_valid?: boolean | undefined
3378
+ card_id?: string | undefined
3379
+ credential_id?: string | undefined
3146
3380
  }
3147
3381
  | undefined
3382
+ is_managed: true
3148
3383
  }>
3149
3384
  }
3150
3385
  }
@@ -3562,6 +3797,7 @@ export interface Routes {
3562
3797
  email?: string | undefined
3563
3798
  email_address?: string | undefined
3564
3799
  phone_number?: string | undefined
3800
+ is_managed: true
3565
3801
  }
3566
3802
  }
3567
3803
  }
@@ -3627,6 +3863,7 @@ export interface Routes {
3627
3863
  email?: string | undefined
3628
3864
  email_address?: string | undefined
3629
3865
  phone_number?: string | undefined
3866
+ is_managed: true
3630
3867
  }
3631
3868
  }
3632
3869
  }
@@ -3686,6 +3923,7 @@ export interface Routes {
3686
3923
  email?: string | undefined
3687
3924
  email_address?: string | undefined
3688
3925
  phone_number?: string | undefined
3926
+ is_managed: true
3689
3927
  }>
3690
3928
  }
3691
3929
  }
@@ -3821,6 +4059,7 @@ export interface Routes {
3821
4059
  email?: string | undefined
3822
4060
  email_address?: string | undefined
3823
4061
  phone_number?: string | undefined
4062
+ is_managed: true
3824
4063
  }
3825
4064
  }
3826
4065
  }
@@ -3830,7 +4069,11 @@ export interface Routes {
3830
4069
  queryParams: {}
3831
4070
  jsonBody: {}
3832
4071
  commonParams: {
3833
- acs_system_id: string
4072
+ user_identity_id?: string | undefined
4073
+ user_identity_phone_number?: string | undefined
4074
+ user_identity_email_address?: string | undefined
4075
+ acs_system_id?: string | undefined
4076
+ limit?: number
3834
4077
  }
3835
4078
  formData: {}
3836
4079
  jsonResponse: {
@@ -3875,6 +4118,7 @@ export interface Routes {
3875
4118
  email?: string | undefined
3876
4119
  email_address?: string | undefined
3877
4120
  phone_number?: string | undefined
4121
+ is_managed: false
3878
4122
  }>
3879
4123
  }
3880
4124
  }
@@ -18313,6 +18557,7 @@ export interface Routes {
18313
18557
  email?: string | undefined
18314
18558
  email_address?: string | undefined
18315
18559
  phone_number?: string | undefined
18560
+ is_managed: true
18316
18561
  }>
18317
18562
  }
18318
18563
  }
@@ -4,6 +4,7 @@ export {
4
4
  acs_credential,
5
5
  acs_entrance,
6
6
  acs_system,
7
+ acs_unmanaged_user,
7
8
  acs_user,
8
9
  action_attempt,
9
10
  client_session,
@@ -16,6 +17,8 @@ export {
16
17
  noise_threshold,
17
18
  seam_event,
18
19
  unmanaged_access_code,
20
+ unmanaged_acs_access_group,
21
+ unmanaged_acs_credential,
19
22
  unmanaged_device,
20
23
  user_identity,
21
24
  webhook,