@seamapi/types 1.100.0 → 1.102.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.
@@ -833,6 +833,7 @@ export interface Routes {
833
833
  acs_user_id?: string | undefined
834
834
  acs_credential_pool_id?: string | undefined
835
835
  acs_system_id: string
836
+ parent_credential_id?: string | undefined
836
837
  display_name: string
837
838
  code?: (string | undefined) | null
838
839
  access_method: 'code' | 'card' | 'mobile_key'
@@ -896,6 +897,7 @@ export interface Routes {
896
897
  acs_user_id?: string | undefined
897
898
  acs_credential_pool_id?: string | undefined
898
899
  acs_system_id: string
900
+ parent_credential_id?: string | undefined
899
901
  display_name: string
900
902
  code?: (string | undefined) | null
901
903
  access_method: 'code' | 'card' | 'mobile_key'
@@ -947,6 +949,7 @@ export interface Routes {
947
949
  acs_user_id?: string | undefined
948
950
  acs_credential_pool_id?: string | undefined
949
951
  acs_system_id: string
952
+ parent_credential_id?: string | undefined
950
953
  display_name: string
951
954
  code?: (string | undefined) | null
952
955
  access_method: 'code' | 'card' | 'mobile_key'
@@ -998,6 +1001,7 @@ export interface Routes {
998
1001
  acs_user_id?: string | undefined
999
1002
  acs_credential_pool_id?: string | undefined
1000
1003
  acs_system_id: string
1004
+ parent_credential_id?: string | undefined
1001
1005
  display_name: string
1002
1006
  code?: (string | undefined) | null
1003
1007
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1039,6 +1043,7 @@ export interface Routes {
1039
1043
  acs_user_id?: string | undefined
1040
1044
  acs_credential_pool_id?: string | undefined
1041
1045
  acs_system_id: string
1046
+ parent_credential_id?: string | undefined
1042
1047
  display_name: string
1043
1048
  code?: (string | undefined) | null
1044
1049
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1080,6 +1085,7 @@ export interface Routes {
1080
1085
  acs_user_id?: string | undefined
1081
1086
  acs_credential_pool_id?: string | undefined
1082
1087
  acs_system_id: string
1088
+ parent_credential_id?: string | undefined
1083
1089
  display_name: string
1084
1090
  code?: (string | undefined) | null
1085
1091
  access_method: 'code' | 'card' | 'mobile_key'
@@ -1188,6 +1194,7 @@ export interface Routes {
1188
1194
  acs_user_id?: string | undefined
1189
1195
  acs_credential_pool_id?: string | undefined
1190
1196
  acs_system_id: string
1197
+ parent_credential_id?: string | undefined
1191
1198
  display_name: string
1192
1199
  code?: (string | undefined) | null
1193
1200
  access_method: 'code' | 'card' | 'mobile_key'
@@ -2422,6 +2429,8 @@ export interface Routes {
2422
2429
  | 'cannot_specify_pin_code'
2423
2430
  | 'pin_code_matches_existing_set'
2424
2431
  | 'start_date_in_future'
2432
+ | 'no_ascending_or_descending_sequence'
2433
+ | 'at_least_three_unique_digits'
2425
2434
  }
2426
2435
  | {
2427
2436
  constraint_type: 'name_length'
@@ -3217,6 +3226,8 @@ export interface Routes {
3217
3226
  | 'cannot_specify_pin_code'
3218
3227
  | 'pin_code_matches_existing_set'
3219
3228
  | 'start_date_in_future'
3229
+ | 'no_ascending_or_descending_sequence'
3230
+ | 'at_least_three_unique_digits'
3220
3231
  }
3221
3232
  | {
3222
3233
  constraint_type: 'name_length'
@@ -4511,6 +4522,8 @@ export interface Routes {
4511
4522
  | 'cannot_specify_pin_code'
4512
4523
  | 'pin_code_matches_existing_set'
4513
4524
  | 'start_date_in_future'
4525
+ | 'no_ascending_or_descending_sequence'
4526
+ | 'at_least_three_unique_digits'
4514
4527
  }
4515
4528
  | {
4516
4529
  constraint_type: 'name_length'
@@ -5179,6 +5192,8 @@ export interface Routes {
5179
5192
  | 'cannot_specify_pin_code'
5180
5193
  | 'pin_code_matches_existing_set'
5181
5194
  | 'start_date_in_future'
5195
+ | 'no_ascending_or_descending_sequence'
5196
+ | 'at_least_three_unique_digits'
5182
5197
  }
5183
5198
  | {
5184
5199
  constraint_type: 'name_length'
@@ -5974,6 +5989,8 @@ export interface Routes {
5974
5989
  | 'cannot_specify_pin_code'
5975
5990
  | 'pin_code_matches_existing_set'
5976
5991
  | 'start_date_in_future'
5992
+ | 'no_ascending_or_descending_sequence'
5993
+ | 'at_least_three_unique_digits'
5977
5994
  }
5978
5995
  | {
5979
5996
  constraint_type: 'name_length'
@@ -6642,6 +6659,8 @@ export interface Routes {
6642
6659
  | 'cannot_specify_pin_code'
6643
6660
  | 'pin_code_matches_existing_set'
6644
6661
  | 'start_date_in_future'
6662
+ | 'no_ascending_or_descending_sequence'
6663
+ | 'at_least_three_unique_digits'
6645
6664
  }
6646
6665
  | {
6647
6666
  constraint_type: 'name_length'
@@ -7935,6 +7954,8 @@ export interface Routes {
7935
7954
  | 'cannot_specify_pin_code'
7936
7955
  | 'pin_code_matches_existing_set'
7937
7956
  | 'start_date_in_future'
7957
+ | 'no_ascending_or_descending_sequence'
7958
+ | 'at_least_three_unique_digits'
7938
7959
  }
7939
7960
  | {
7940
7961
  constraint_type: 'name_length'
@@ -8760,6 +8781,8 @@ export interface Routes {
8760
8781
  | 'cannot_specify_pin_code'
8761
8782
  | 'pin_code_matches_existing_set'
8762
8783
  | 'start_date_in_future'
8784
+ | 'no_ascending_or_descending_sequence'
8785
+ | 'at_least_three_unique_digits'
8763
8786
  }
8764
8787
  | {
8765
8788
  constraint_type: 'name_length'
@@ -9655,6 +9678,8 @@ export interface Routes {
9655
9678
  | 'cannot_specify_pin_code'
9656
9679
  | 'pin_code_matches_existing_set'
9657
9680
  | 'start_date_in_future'
9681
+ | 'no_ascending_or_descending_sequence'
9682
+ | 'at_least_three_unique_digits'
9658
9683
  }
9659
9684
  | {
9660
9685
  constraint_type: 'name_length'
@@ -10148,6 +10173,18 @@ export interface Routes {
10148
10173
  }>
10149
10174
  }
10150
10175
  }
10176
+ '/webhooks/update': {
10177
+ route: '/webhooks/update'
10178
+ method: 'PUT' | 'POST'
10179
+ queryParams: {}
10180
+ jsonBody: {
10181
+ webhook_id: string
10182
+ event_types: string[]
10183
+ }
10184
+ commonParams: {}
10185
+ formData: {}
10186
+ jsonResponse: {}
10187
+ }
10151
10188
  '/workspaces/create': {
10152
10189
  route: '/workspaces/create'
10153
10190
  method: 'POST'
@@ -31,6 +31,7 @@ export const acs_credential = z.object({
31
31
  acs_user_id: z.string().uuid().optional(),
32
32
  acs_credential_pool_id: z.string().uuid().optional(),
33
33
  acs_system_id: z.string().uuid(),
34
+ parent_credential_id: z.string().uuid().optional(),
34
35
  display_name: z.string().nonempty(),
35
36
  code: z.string().optional().nullable(),
36
37
  access_method: acs_credential_access_method_type,
@@ -8,6 +8,8 @@ export const access_code_code_constraint = z.object({
8
8
  'cannot_specify_pin_code', // Lockly
9
9
  'pin_code_matches_existing_set', // Salto
10
10
  'start_date_in_future', // Kwikset
11
+ 'no_ascending_or_descending_sequence', // Tedee
12
+ 'at_least_three_unique_digits', // Tedee
11
13
  ]),
12
14
  })
13
15