@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.
@@ -796,6 +796,7 @@ export interface Routes {
796
796
  acs_user_id?: string | undefined;
797
797
  acs_credential_pool_id?: string | undefined;
798
798
  acs_system_id: string;
799
+ parent_credential_id?: string | undefined;
799
800
  display_name: string;
800
801
  code?: (string | undefined) | null;
801
802
  access_method: 'code' | 'card' | 'mobile_key';
@@ -839,6 +840,7 @@ export interface Routes {
839
840
  acs_user_id?: string | undefined;
840
841
  acs_credential_pool_id?: string | undefined;
841
842
  acs_system_id: string;
843
+ parent_credential_id?: string | undefined;
842
844
  display_name: string;
843
845
  code?: (string | undefined) | null;
844
846
  access_method: 'code' | 'card' | 'mobile_key';
@@ -881,6 +883,7 @@ export interface Routes {
881
883
  acs_user_id?: string | undefined;
882
884
  acs_credential_pool_id?: string | undefined;
883
885
  acs_system_id: string;
886
+ parent_credential_id?: string | undefined;
884
887
  display_name: string;
885
888
  code?: (string | undefined) | null;
886
889
  access_method: 'code' | 'card' | 'mobile_key';
@@ -919,6 +922,7 @@ export interface Routes {
919
922
  acs_user_id?: string | undefined;
920
923
  acs_credential_pool_id?: string | undefined;
921
924
  acs_system_id: string;
925
+ parent_credential_id?: string | undefined;
922
926
  display_name: string;
923
927
  code?: (string | undefined) | null;
924
928
  access_method: 'code' | 'card' | 'mobile_key';
@@ -951,6 +955,7 @@ export interface Routes {
951
955
  acs_user_id?: string | undefined;
952
956
  acs_credential_pool_id?: string | undefined;
953
957
  acs_system_id: string;
958
+ parent_credential_id?: string | undefined;
954
959
  display_name: string;
955
960
  code?: (string | undefined) | null;
956
961
  access_method: 'code' | 'card' | 'mobile_key';
@@ -983,6 +988,7 @@ export interface Routes {
983
988
  acs_user_id?: string | undefined;
984
989
  acs_credential_pool_id?: string | undefined;
985
990
  acs_system_id: string;
991
+ parent_credential_id?: string | undefined;
986
992
  display_name: string;
987
993
  code?: (string | undefined) | null;
988
994
  access_method: 'code' | 'card' | 'mobile_key';
@@ -1078,6 +1084,7 @@ export interface Routes {
1078
1084
  acs_user_id?: string | undefined;
1079
1085
  acs_credential_pool_id?: string | undefined;
1080
1086
  acs_system_id: string;
1087
+ parent_credential_id?: string | undefined;
1081
1088
  display_name: string;
1082
1089
  code?: (string | undefined) | null;
1083
1090
  access_method: 'code' | 'card' | 'mobile_key';
@@ -2073,7 +2080,7 @@ export interface Routes {
2073
2080
  }) & ({
2074
2081
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2075
2082
  code_constraints?: (Array<{
2076
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
2083
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
2077
2084
  } | {
2078
2085
  constraint_type: 'name_length';
2079
2086
  min_length?: number | undefined;
@@ -2557,7 +2564,7 @@ export interface Routes {
2557
2564
  }) & ({
2558
2565
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2559
2566
  code_constraints?: (Array<{
2560
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
2567
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
2561
2568
  } | {
2562
2569
  constraint_type: 'name_length';
2563
2570
  min_length?: number | undefined;
@@ -3360,7 +3367,7 @@ export interface Routes {
3360
3367
  }) & ({
3361
3368
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3362
3369
  code_constraints?: (Array<{
3363
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
3370
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
3364
3371
  } | {
3365
3372
  constraint_type: 'name_length';
3366
3373
  min_length?: number | undefined;
@@ -3821,7 +3828,7 @@ export interface Routes {
3821
3828
  }) & ({
3822
3829
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3823
3830
  code_constraints?: (Array<{
3824
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
3831
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
3825
3832
  } | {
3826
3833
  constraint_type: 'name_length';
3827
3834
  min_length?: number | undefined;
@@ -4305,7 +4312,7 @@ export interface Routes {
4305
4312
  }) & ({
4306
4313
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4307
4314
  code_constraints?: (Array<{
4308
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
4315
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
4309
4316
  } | {
4310
4317
  constraint_type: 'name_length';
4311
4318
  min_length?: number | undefined;
@@ -4766,7 +4773,7 @@ export interface Routes {
4766
4773
  }) & ({
4767
4774
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4768
4775
  code_constraints?: (Array<{
4769
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
4776
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
4770
4777
  } | {
4771
4778
  constraint_type: 'name_length';
4772
4779
  min_length?: number | undefined;
@@ -5819,7 +5826,7 @@ export interface Routes {
5819
5826
  }) & ({
5820
5827
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5821
5828
  code_constraints?: (Array<{
5822
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
5829
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
5823
5830
  } | {
5824
5831
  constraint_type: 'name_length';
5825
5832
  min_length?: number | undefined;
@@ -6333,7 +6340,7 @@ export interface Routes {
6333
6340
  }) & ({
6334
6341
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6335
6342
  code_constraints?: (Array<{
6336
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
6343
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
6337
6344
  } | {
6338
6345
  constraint_type: 'name_length';
6339
6346
  min_length?: number | undefined;
@@ -7019,7 +7026,7 @@ export interface Routes {
7019
7026
  }) & ({
7020
7027
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7021
7028
  code_constraints?: (Array<{
7022
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
7029
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits';
7023
7030
  } | {
7024
7031
  constraint_type: 'name_length';
7025
7032
  min_length?: number | undefined;
@@ -7392,6 +7399,18 @@ export interface Routes {
7392
7399
  }>;
7393
7400
  };
7394
7401
  };
7402
+ '/webhooks/update': {
7403
+ route: '/webhooks/update';
7404
+ method: 'PUT' | 'POST';
7405
+ queryParams: {};
7406
+ jsonBody: {
7407
+ webhook_id: string;
7408
+ event_types: string[];
7409
+ };
7410
+ commonParams: {};
7411
+ formData: {};
7412
+ jsonResponse: {};
7413
+ };
7395
7414
  '/workspaces/create': {
7396
7415
  route: '/workspaces/create';
7397
7416
  method: 'POST';
@@ -15,6 +15,7 @@ export declare const acs_credential: z.ZodObject<{
15
15
  acs_user_id: z.ZodOptional<z.ZodString>;
16
16
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
17
17
  acs_system_id: z.ZodString;
18
+ parent_credential_id: z.ZodOptional<z.ZodString>;
18
19
  display_name: z.ZodString;
19
20
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
21
  access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
@@ -41,6 +42,7 @@ export declare const acs_credential: z.ZodObject<{
41
42
  access_method: "code" | "card" | "mobile_key";
42
43
  acs_user_id?: string | undefined;
43
44
  acs_credential_pool_id?: string | undefined;
45
+ parent_credential_id?: string | undefined;
44
46
  code?: string | null | undefined;
45
47
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
46
48
  external_type_display_name?: string | undefined;
@@ -59,6 +61,7 @@ export declare const acs_credential: z.ZodObject<{
59
61
  access_method: "code" | "card" | "mobile_key";
60
62
  acs_user_id?: string | undefined;
61
63
  acs_credential_pool_id?: string | undefined;
64
+ parent_credential_id?: string | undefined;
62
65
  code?: string | null | undefined;
63
66
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | undefined;
64
67
  external_type_display_name?: string | undefined;
@@ -19,6 +19,7 @@ export const acs_credential = z.object({
19
19
  acs_user_id: z.string().uuid().optional(),
20
20
  acs_credential_pool_id: z.string().uuid().optional(),
21
21
  acs_system_id: z.string().uuid(),
22
+ parent_credential_id: z.string().uuid().optional(),
22
23
  display_name: z.string().nonempty(),
23
24
  code: z.string().optional().nullable(),
24
25
  access_method: acs_credential_access_method_type,
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const access_code_code_constraint: z.ZodObject<{
3
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
3
+ constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits"]>;
4
4
  }, "strip", z.ZodTypeAny, {
5
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
5
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
6
6
  }, {
7
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
7
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
8
8
  }>;
9
9
  export declare const access_code_name_constraint: z.ZodObject<{
10
10
  constraint_type: z.ZodLiteral<"name_length">;
@@ -20,11 +20,11 @@ export declare const access_code_name_constraint: z.ZodObject<{
20
20
  max_length?: number | undefined;
21
21
  }>;
22
22
  export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
23
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
23
+ constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits"]>;
24
24
  }, "strip", z.ZodTypeAny, {
25
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
25
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
26
26
  }, {
27
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
27
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
28
28
  }>, z.ZodObject<{
29
29
  constraint_type: z.ZodLiteral<"name_length">;
30
30
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -42,11 +42,11 @@ export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
42
42
  export declare const access_code_capability_properties: z.ZodObject<{
43
43
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
44
44
  code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
45
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
45
+ constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits"]>;
46
46
  }, "strip", z.ZodTypeAny, {
47
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
47
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
48
48
  }, {
49
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
49
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
50
50
  }>, z.ZodObject<{
51
51
  constraint_type: z.ZodLiteral<"name_length">;
52
52
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -67,7 +67,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
69
69
  code_constraints?: ({
70
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
70
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
71
71
  } | {
72
72
  constraint_type: "name_length";
73
73
  min_length?: number | undefined;
@@ -80,7 +80,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
80
80
  }, {
81
81
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
82
82
  code_constraints?: ({
83
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
83
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
84
84
  } | {
85
85
  constraint_type: "name_length";
86
86
  min_length?: number | undefined;
@@ -7,6 +7,8 @@ export const access_code_code_constraint = z.object({
7
7
  'cannot_specify_pin_code', // Lockly
8
8
  'pin_code_matches_existing_set', // Salto
9
9
  'start_date_in_future', // Kwikset
10
+ 'no_ascending_or_descending_sequence', // Tedee
11
+ 'at_least_three_unique_digits', // Tedee
10
12
  ]),
11
13
  });
12
14
  export const access_code_name_constraint = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;KACnC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
1
+ {"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;KACzC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
@@ -6,11 +6,11 @@ export { access_code_capability_properties, access_code_code_constraint, climate
6
6
  export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
7
7
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
8
8
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
9
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
9
+ constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits"]>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
11
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
12
12
  }, {
13
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
13
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
14
14
  }>, z.ZodObject<{
15
15
  constraint_type: z.ZodLiteral<"name_length">;
16
16
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -40,7 +40,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
42
42
  code_constraints?: ({
43
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
43
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
44
44
  } | {
45
45
  constraint_type: "name_length";
46
46
  min_length?: number | undefined;
@@ -58,7 +58,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
58
58
  }, {
59
59
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
60
60
  code_constraints?: ({
61
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
61
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
62
62
  } | {
63
63
  constraint_type: "name_length";
64
64
  min_length?: number | undefined;
@@ -1160,11 +1160,11 @@ export declare const managed_device: z.ZodObject<{
1160
1160
  }>>, z.ZodIntersection<z.ZodObject<{
1161
1161
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1162
1162
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1163
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future"]>;
1163
+ constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits"]>;
1164
1164
  }, "strip", z.ZodTypeAny, {
1165
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
1165
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
1166
1166
  }, {
1167
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
1167
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
1168
1168
  }>, z.ZodObject<{
1169
1169
  constraint_type: z.ZodLiteral<"name_length">;
1170
1170
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -1194,7 +1194,7 @@ export declare const managed_device: z.ZodObject<{
1194
1194
  }, "strip", z.ZodTypeAny, {
1195
1195
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1196
1196
  code_constraints?: ({
1197
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
1197
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
1198
1198
  } | {
1199
1199
  constraint_type: "name_length";
1200
1200
  min_length?: number | undefined;
@@ -1212,7 +1212,7 @@ export declare const managed_device: z.ZodObject<{
1212
1212
  }, {
1213
1213
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1214
1214
  code_constraints?: ({
1215
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
1215
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
1216
1216
  } | {
1217
1217
  constraint_type: "name_length";
1218
1218
  min_length?: number | undefined;
@@ -2226,7 +2226,7 @@ export declare const managed_device: z.ZodObject<{
2226
2226
  } & ({
2227
2227
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
2228
2228
  code_constraints?: ({
2229
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
2229
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
2230
2230
  } | {
2231
2231
  constraint_type: "name_length";
2232
2232
  min_length?: number | undefined;
@@ -2630,7 +2630,7 @@ export declare const managed_device: z.ZodObject<{
2630
2630
  } & ({
2631
2631
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
2632
2632
  code_constraints?: ({
2633
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
2633
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
2634
2634
  } | {
2635
2635
  constraint_type: "name_length";
2636
2636
  min_length?: number | undefined;
@@ -3056,7 +3056,7 @@ export declare const managed_device: z.ZodObject<{
3056
3056
  } & ({
3057
3057
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
3058
3058
  code_constraints?: ({
3059
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
3059
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
3060
3060
  } | {
3061
3061
  constraint_type: "name_length";
3062
3062
  min_length?: number | undefined;
@@ -3460,7 +3460,7 @@ export declare const managed_device: z.ZodObject<{
3460
3460
  } & ({
3461
3461
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
3462
3462
  code_constraints?: ({
3463
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
3463
+ constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits";
3464
3464
  } | {
3465
3465
  constraint_type: "name_length";
3466
3466
  min_length?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.100.0",
3
+ "version": "1.102.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1202,6 +1202,8 @@ export default {
1202
1202
  'cannot_specify_pin_code',
1203
1203
  'pin_code_matches_existing_set',
1204
1204
  'start_date_in_future',
1205
+ 'no_ascending_or_descending_sequence',
1206
+ 'at_least_three_unique_digits',
1205
1207
  ],
1206
1208
  type: 'string',
1207
1209
  },
@@ -3894,6 +3896,10 @@ export default {
3894
3896
  },
3895
3897
  external_type_display_name: { type: 'string' },
3896
3898
  is_multi_phone_sync_credential: { type: 'boolean' },
3899
+ parent_credential_id: {
3900
+ format: 'uuid',
3901
+ type: 'string',
3902
+ },
3897
3903
  starts_at: { type: 'string' },
3898
3904
  visionline_metadata: {
3899
3905
  properties: {
@@ -3987,6 +3993,10 @@ export default {
3987
3993
  },
3988
3994
  external_type_display_name: { type: 'string' },
3989
3995
  is_multi_phone_sync_credential: { type: 'boolean' },
3996
+ parent_credential_id: {
3997
+ format: 'uuid',
3998
+ type: 'string',
3999
+ },
3990
4000
  starts_at: { type: 'string' },
3991
4001
  visionline_metadata: {
3992
4002
  properties: {
@@ -4117,6 +4127,10 @@ export default {
4117
4127
  },
4118
4128
  external_type_display_name: { type: 'string' },
4119
4129
  is_multi_phone_sync_credential: { type: 'boolean' },
4130
+ parent_credential_id: {
4131
+ format: 'uuid',
4132
+ type: 'string',
4133
+ },
4120
4134
  starts_at: { type: 'string' },
4121
4135
  visionline_metadata: {
4122
4136
  properties: {
@@ -4255,6 +4269,10 @@ export default {
4255
4269
  },
4256
4270
  external_type_display_name: { type: 'string' },
4257
4271
  is_multi_phone_sync_credential: { type: 'boolean' },
4272
+ parent_credential_id: {
4273
+ format: 'uuid',
4274
+ type: 'string',
4275
+ },
4258
4276
  starts_at: { type: 'string' },
4259
4277
  visionline_metadata: {
4260
4278
  properties: {
@@ -4377,6 +4395,10 @@ export default {
4377
4395
  },
4378
4396
  external_type_display_name: { type: 'string' },
4379
4397
  is_multi_phone_sync_credential: { type: 'boolean' },
4398
+ parent_credential_id: {
4399
+ format: 'uuid',
4400
+ type: 'string',
4401
+ },
4380
4402
  starts_at: { type: 'string' },
4381
4403
  visionline_metadata: {
4382
4404
  properties: {
@@ -4476,6 +4498,10 @@ export default {
4476
4498
  },
4477
4499
  external_type_display_name: { type: 'string' },
4478
4500
  is_multi_phone_sync_credential: { type: 'boolean' },
4501
+ parent_credential_id: {
4502
+ format: 'uuid',
4503
+ type: 'string',
4504
+ },
4479
4505
  starts_at: { type: 'string' },
4480
4506
  visionline_metadata: {
4481
4507
  properties: {
@@ -4569,6 +4595,10 @@ export default {
4569
4595
  },
4570
4596
  external_type_display_name: { type: 'string' },
4571
4597
  is_multi_phone_sync_credential: { type: 'boolean' },
4598
+ parent_credential_id: {
4599
+ format: 'uuid',
4600
+ type: 'string',
4601
+ },
4572
4602
  starts_at: { type: 'string' },
4573
4603
  visionline_metadata: {
4574
4604
  properties: {
@@ -4665,6 +4695,10 @@ export default {
4665
4695
  },
4666
4696
  external_type_display_name: { type: 'string' },
4667
4697
  is_multi_phone_sync_credential: { type: 'boolean' },
4698
+ parent_credential_id: {
4699
+ format: 'uuid',
4700
+ type: 'string',
4701
+ },
4668
4702
  starts_at: { type: 'string' },
4669
4703
  visionline_metadata: {
4670
4704
  properties: {
@@ -4758,6 +4792,10 @@ export default {
4758
4792
  },
4759
4793
  external_type_display_name: { type: 'string' },
4760
4794
  is_multi_phone_sync_credential: { type: 'boolean' },
4795
+ parent_credential_id: {
4796
+ format: 'uuid',
4797
+ type: 'string',
4798
+ },
4761
4799
  starts_at: { type: 'string' },
4762
4800
  visionline_metadata: {
4763
4801
  properties: {
@@ -5087,6 +5125,10 @@ export default {
5087
5125
  },
5088
5126
  external_type_display_name: { type: 'string' },
5089
5127
  is_multi_phone_sync_credential: { type: 'boolean' },
5128
+ parent_credential_id: {
5129
+ format: 'uuid',
5130
+ type: 'string',
5131
+ },
5090
5132
  starts_at: { type: 'string' },
5091
5133
  visionline_metadata: {
5092
5134
  properties: {
@@ -11514,6 +11556,91 @@ export default {
11514
11556
  'x-fern-sdk-return-value': 'webhooks',
11515
11557
  },
11516
11558
  },
11559
+ '/webhooks/update': {
11560
+ post: {
11561
+ operationId: 'webhooksUpdatePost',
11562
+ requestBody: {
11563
+ content: {
11564
+ 'application/json': {
11565
+ schema: {
11566
+ properties: {
11567
+ event_types: { items: { type: 'string' }, type: 'array' },
11568
+ webhook_id: { type: 'string' },
11569
+ },
11570
+ required: ['webhook_id', 'event_types'],
11571
+ type: 'object',
11572
+ },
11573
+ },
11574
+ },
11575
+ },
11576
+ responses: {
11577
+ 200: {
11578
+ content: {
11579
+ 'application/json': {
11580
+ schema: {
11581
+ properties: { ok: { type: 'boolean' } },
11582
+ required: ['ok'],
11583
+ type: 'object',
11584
+ },
11585
+ },
11586
+ },
11587
+ description: 'OK',
11588
+ },
11589
+ 400: { description: 'Bad Request' },
11590
+ 401: { description: 'Unauthorized' },
11591
+ },
11592
+ security: [
11593
+ { access_token: [], seam_workspace: [] },
11594
+ { seam_client_session_token: [] },
11595
+ { client_session_token: [] },
11596
+ ],
11597
+ summary: '/webhooks/update',
11598
+ tags: ['/webhooks'],
11599
+ 'x-fern-sdk-group-name': ['webhooks'],
11600
+ 'x-fern-sdk-method-name': 'update',
11601
+ },
11602
+ put: {
11603
+ operationId: 'webhooksUpdatePut',
11604
+ requestBody: {
11605
+ content: {
11606
+ 'application/json': {
11607
+ schema: {
11608
+ properties: {
11609
+ event_types: { items: { type: 'string' }, type: 'array' },
11610
+ webhook_id: { type: 'string' },
11611
+ },
11612
+ required: ['webhook_id', 'event_types'],
11613
+ type: 'object',
11614
+ },
11615
+ },
11616
+ },
11617
+ },
11618
+ responses: {
11619
+ 200: {
11620
+ content: {
11621
+ 'application/json': {
11622
+ schema: {
11623
+ properties: { ok: { type: 'boolean' } },
11624
+ required: ['ok'],
11625
+ type: 'object',
11626
+ },
11627
+ },
11628
+ },
11629
+ description: 'OK',
11630
+ },
11631
+ 400: { description: 'Bad Request' },
11632
+ 401: { description: 'Unauthorized' },
11633
+ },
11634
+ security: [
11635
+ { access_token: [], seam_workspace: [] },
11636
+ { seam_client_session_token: [] },
11637
+ { client_session_token: [] },
11638
+ ],
11639
+ summary: '/webhooks/update',
11640
+ tags: ['/webhooks'],
11641
+ 'x-fern-ignore': true,
11642
+ },
11643
+ },
11517
11644
  '/workspaces/create': {
11518
11645
  post: {
11519
11646
  operationId: 'workspacesCreatePost',