@seamapi/types 1.474.0 → 1.476.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 (32) hide show
  1. package/dist/connect.cjs +396 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +663 -44
  4. package/dist/index.cjs +396 -2
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/batch.d.ts +55 -55
  7. package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +21 -0
  8. package/lib/seam/connect/models/customization_profiles/customization_profile.js +9 -0
  9. package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -0
  10. package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +11 -11
  11. package/lib/seam/connect/models/devices/capability-properties/access-code.js +1 -0
  12. package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  14. package/lib/seam/connect/models/devices/device.d.ts +7 -7
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  16. package/lib/seam/connect/models/index.d.ts +1 -0
  17. package/lib/seam/connect/models/index.js +1 -0
  18. package/lib/seam/connect/models/index.js.map +1 -1
  19. package/lib/seam/connect/openapi.d.ts +520 -0
  20. package/lib/seam/connect/openapi.js +384 -0
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +95 -17
  23. package/lib/seam/connect/schemas.d.ts +1 -1
  24. package/lib/seam/connect/schemas.js +1 -1
  25. package/lib/seam/connect/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -0
  28. package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +1 -0
  29. package/src/lib/seam/connect/models/index.ts +1 -0
  30. package/src/lib/seam/connect/openapi.ts +384 -0
  31. package/src/lib/seam/connect/route-types.ts +95 -0
  32. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -11893,11 +11893,11 @@ declare const batch: z.ZodObject<{
11893
11893
  }>>, z.ZodIntersection<z.ZodObject<{
11894
11894
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
11895
11895
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
11896
- 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", "cannot_contain_089", "cannot_contain_0789"]>;
11896
+ 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", "cannot_contain_089", "cannot_contain_0789", "unique_first_four_digits"]>;
11897
11897
  }, "strip", z.ZodTypeAny, {
11898
- 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" | "cannot_contain_089" | "cannot_contain_0789";
11898
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
11899
11899
  }, {
11900
- 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" | "cannot_contain_089" | "cannot_contain_0789";
11900
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
11901
11901
  }>, z.ZodObject<{
11902
11902
  constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
11903
11903
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -11928,7 +11928,7 @@ declare const batch: z.ZodObject<{
11928
11928
  }, "strip", z.ZodTypeAny, {
11929
11929
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
11930
11930
  code_constraints?: ({
11931
- 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" | "cannot_contain_089" | "cannot_contain_0789";
11931
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
11932
11932
  } | {
11933
11933
  constraint_type: "name_length" | "name_must_be_unique";
11934
11934
  min_length?: number | undefined;
@@ -11946,7 +11946,7 @@ declare const batch: z.ZodObject<{
11946
11946
  }, {
11947
11947
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
11948
11948
  code_constraints?: ({
11949
- 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" | "cannot_contain_089" | "cannot_contain_0789";
11949
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
11950
11950
  } | {
11951
11951
  constraint_type: "name_length" | "name_must_be_unique";
11952
11952
  min_length?: number | undefined;
@@ -13687,7 +13687,7 @@ declare const batch: z.ZodObject<{
13687
13687
  } & {
13688
13688
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
13689
13689
  code_constraints?: ({
13690
- 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" | "cannot_contain_089" | "cannot_contain_0789";
13690
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
13691
13691
  } | {
13692
13692
  constraint_type: "name_length" | "name_must_be_unique";
13693
13693
  min_length?: number | undefined;
@@ -14343,7 +14343,7 @@ declare const batch: z.ZodObject<{
14343
14343
  } & {
14344
14344
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
14345
14345
  code_constraints?: ({
14346
- 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" | "cannot_contain_089" | "cannot_contain_0789";
14346
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
14347
14347
  } | {
14348
14348
  constraint_type: "name_length" | "name_must_be_unique";
14349
14349
  min_length?: number | undefined;
@@ -21854,11 +21854,11 @@ declare const batch: z.ZodObject<{
21854
21854
  }>>, z.ZodIntersection<z.ZodObject<{
21855
21855
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
21856
21856
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
21857
- 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", "cannot_contain_089", "cannot_contain_0789"]>;
21857
+ 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", "cannot_contain_089", "cannot_contain_0789", "unique_first_four_digits"]>;
21858
21858
  }, "strip", z.ZodTypeAny, {
21859
- 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" | "cannot_contain_089" | "cannot_contain_0789";
21859
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
21860
21860
  }, {
21861
- 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" | "cannot_contain_089" | "cannot_contain_0789";
21861
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
21862
21862
  }>, z.ZodObject<{
21863
21863
  constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
21864
21864
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -21889,7 +21889,7 @@ declare const batch: z.ZodObject<{
21889
21889
  }, "strip", z.ZodTypeAny, {
21890
21890
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
21891
21891
  code_constraints?: ({
21892
- 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" | "cannot_contain_089" | "cannot_contain_0789";
21892
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
21893
21893
  } | {
21894
21894
  constraint_type: "name_length" | "name_must_be_unique";
21895
21895
  min_length?: number | undefined;
@@ -21907,7 +21907,7 @@ declare const batch: z.ZodObject<{
21907
21907
  }, {
21908
21908
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
21909
21909
  code_constraints?: ({
21910
- 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" | "cannot_contain_089" | "cannot_contain_0789";
21910
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
21911
21911
  } | {
21912
21912
  constraint_type: "name_length" | "name_must_be_unique";
21913
21913
  min_length?: number | undefined;
@@ -24371,7 +24371,7 @@ declare const batch: z.ZodObject<{
24371
24371
  } & {
24372
24372
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
24373
24373
  code_constraints?: ({
24374
- 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" | "cannot_contain_089" | "cannot_contain_0789";
24374
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
24375
24375
  } | {
24376
24376
  constraint_type: "name_length" | "name_must_be_unique";
24377
24377
  min_length?: number | undefined;
@@ -26503,7 +26503,7 @@ declare const batch: z.ZodObject<{
26503
26503
  } & {
26504
26504
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
26505
26505
  code_constraints?: ({
26506
- 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" | "cannot_contain_089" | "cannot_contain_0789";
26506
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
26507
26507
  } | {
26508
26508
  constraint_type: "name_length" | "name_must_be_unique";
26509
26509
  min_length?: number | undefined;
@@ -28979,6 +28979,26 @@ type ConnectedAccount = z.infer<typeof connected_account>;
28979
28979
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
28980
28980
  type CustomMetadata = z.output<typeof custom_metadata>;
28981
28981
 
28982
+ declare const customization_profile: z.ZodObject<{
28983
+ workspace_id: z.ZodString;
28984
+ customization_profile_id: z.ZodString;
28985
+ logo_url: z.ZodOptional<z.ZodString>;
28986
+ primary_color: z.ZodOptional<z.ZodString>;
28987
+ secondary_color: z.ZodOptional<z.ZodString>;
28988
+ }, "strip", z.ZodTypeAny, {
28989
+ workspace_id: string;
28990
+ customization_profile_id: string;
28991
+ logo_url?: string | undefined;
28992
+ primary_color?: string | undefined;
28993
+ secondary_color?: string | undefined;
28994
+ }, {
28995
+ workspace_id: string;
28996
+ customization_profile_id: string;
28997
+ logo_url?: string | undefined;
28998
+ primary_color?: string | undefined;
28999
+ secondary_color?: string | undefined;
29000
+ }>;
29001
+
28982
29002
  declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
28983
29003
  message: z.ZodString;
28984
29004
  created_at: z.ZodString;
@@ -30970,11 +30990,11 @@ declare const device: z.ZodObject<{
30970
30990
  }>>, z.ZodIntersection<z.ZodObject<{
30971
30991
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
30972
30992
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
30973
- 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", "cannot_contain_089", "cannot_contain_0789"]>;
30993
+ 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", "cannot_contain_089", "cannot_contain_0789", "unique_first_four_digits"]>;
30974
30994
  }, "strip", z.ZodTypeAny, {
30975
- 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" | "cannot_contain_089" | "cannot_contain_0789";
30995
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
30976
30996
  }, {
30977
- 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" | "cannot_contain_089" | "cannot_contain_0789";
30997
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
30978
30998
  }>, z.ZodObject<{
30979
30999
  constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
30980
31000
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -31005,7 +31025,7 @@ declare const device: z.ZodObject<{
31005
31025
  }, "strip", z.ZodTypeAny, {
31006
31026
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
31007
31027
  code_constraints?: ({
31008
- 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" | "cannot_contain_089" | "cannot_contain_0789";
31028
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
31009
31029
  } | {
31010
31030
  constraint_type: "name_length" | "name_must_be_unique";
31011
31031
  min_length?: number | undefined;
@@ -31023,7 +31043,7 @@ declare const device: z.ZodObject<{
31023
31043
  }, {
31024
31044
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
31025
31045
  code_constraints?: ({
31026
- 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" | "cannot_contain_089" | "cannot_contain_0789";
31046
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
31027
31047
  } | {
31028
31048
  constraint_type: "name_length" | "name_must_be_unique";
31029
31049
  min_length?: number | undefined;
@@ -32764,7 +32784,7 @@ declare const device: z.ZodObject<{
32764
32784
  } & {
32765
32785
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
32766
32786
  code_constraints?: ({
32767
- 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" | "cannot_contain_089" | "cannot_contain_0789";
32787
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
32768
32788
  } | {
32769
32789
  constraint_type: "name_length" | "name_must_be_unique";
32770
32790
  min_length?: number | undefined;
@@ -33420,7 +33440,7 @@ declare const device: z.ZodObject<{
33420
33440
  } & {
33421
33441
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
33422
33442
  code_constraints?: ({
33423
- 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" | "cannot_contain_089" | "cannot_contain_0789";
33443
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
33424
33444
  } | {
33425
33445
  constraint_type: "name_length" | "name_must_be_unique";
33426
33446
  min_length?: number | undefined;
@@ -35235,11 +35255,11 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35235
35255
  }>>, z.ZodIntersection<z.ZodObject<{
35236
35256
  _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
35237
35257
  code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
35238
- 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", "cannot_contain_089", "cannot_contain_0789"]>;
35258
+ 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", "cannot_contain_089", "cannot_contain_0789", "unique_first_four_digits"]>;
35239
35259
  }, "strip", z.ZodTypeAny, {
35240
- 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" | "cannot_contain_089" | "cannot_contain_0789";
35260
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
35241
35261
  }, {
35242
- 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" | "cannot_contain_089" | "cannot_contain_0789";
35262
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
35243
35263
  }>, z.ZodObject<{
35244
35264
  constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
35245
35265
  min_length: z.ZodOptional<z.ZodNumber>;
@@ -35270,7 +35290,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35270
35290
  }, "strip", z.ZodTypeAny, {
35271
35291
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
35272
35292
  code_constraints?: ({
35273
- 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" | "cannot_contain_089" | "cannot_contain_0789";
35293
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
35274
35294
  } | {
35275
35295
  constraint_type: "name_length" | "name_must_be_unique";
35276
35296
  min_length?: number | undefined;
@@ -35288,7 +35308,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
35288
35308
  }, {
35289
35309
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
35290
35310
  code_constraints?: ({
35291
- 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" | "cannot_contain_089" | "cannot_contain_0789";
35311
+ 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" | "cannot_contain_089" | "cannot_contain_0789" | "unique_first_four_digits";
35292
35312
  } | {
35293
35313
  constraint_type: "name_length" | "name_must_be_unique";
35294
35314
  min_length?: number | undefined;
@@ -40578,6 +40598,7 @@ declare const schemas_common_succeeded_action_attempt: typeof common_succeeded_a
40578
40598
  declare const schemas_connect_webview: typeof connect_webview;
40579
40599
  declare const schemas_connected_account: typeof connected_account;
40580
40600
  declare const schemas_custom_metadata: typeof custom_metadata;
40601
+ declare const schemas_customization_profile: typeof customization_profile;
40581
40602
  declare const schemas_device: typeof device;
40582
40603
  declare const schemas_device_provider: typeof device_provider;
40583
40604
  declare const schemas_instant_key: typeof instant_key;
@@ -40597,7 +40618,7 @@ declare const schemas_user_identity: typeof user_identity;
40597
40618
  declare const schemas_webhook: typeof webhook;
40598
40619
  declare const schemas_workspace: typeof workspace;
40599
40620
  declare namespace schemas {
40600
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
40621
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
40601
40622
  }
40602
40623
 
40603
40624
  declare const _default: {
@@ -88302,6 +88323,526 @@ declare const _default: {
88302
88323
  'x-title': string;
88303
88324
  };
88304
88325
  };
88326
+ '/workspaces/customization_profiles/create': {
88327
+ post: {
88328
+ description: string;
88329
+ operationId: string;
88330
+ requestBody: {
88331
+ content: {
88332
+ 'application/json': {
88333
+ schema: {
88334
+ properties: {
88335
+ primary_color: {
88336
+ type: string;
88337
+ };
88338
+ secondary_color: {
88339
+ type: string;
88340
+ };
88341
+ };
88342
+ required: string[];
88343
+ type: string;
88344
+ };
88345
+ };
88346
+ };
88347
+ };
88348
+ responses: {
88349
+ 200: {
88350
+ content: {
88351
+ 'application/json': {
88352
+ schema: {
88353
+ properties: {
88354
+ customization_profile: {
88355
+ properties: {
88356
+ customization_profile_id: {
88357
+ format: string;
88358
+ type: string;
88359
+ };
88360
+ logo_url: {
88361
+ type: string;
88362
+ };
88363
+ primary_color: {
88364
+ type: string;
88365
+ };
88366
+ secondary_color: {
88367
+ type: string;
88368
+ };
88369
+ workspace_id: {
88370
+ format: string;
88371
+ type: string;
88372
+ };
88373
+ };
88374
+ required: string[];
88375
+ type: string;
88376
+ };
88377
+ ok: {
88378
+ type: string;
88379
+ };
88380
+ };
88381
+ required: string[];
88382
+ type: string;
88383
+ };
88384
+ };
88385
+ };
88386
+ description: string;
88387
+ };
88388
+ 400: {
88389
+ description: string;
88390
+ };
88391
+ 401: {
88392
+ description: string;
88393
+ };
88394
+ };
88395
+ security: {
88396
+ client_session_with_customer: never[];
88397
+ }[];
88398
+ summary: string;
88399
+ tags: string[];
88400
+ 'x-fern-sdk-group-name': string[];
88401
+ 'x-fern-sdk-method-name': string;
88402
+ 'x-fern-sdk-return-value': string;
88403
+ 'x-response-key': string;
88404
+ 'x-title': string;
88405
+ };
88406
+ };
88407
+ '/workspaces/customization_profiles/get': {
88408
+ get: {
88409
+ description: string;
88410
+ operationId: string;
88411
+ parameters: {
88412
+ in: string;
88413
+ name: string;
88414
+ required: boolean;
88415
+ schema: {
88416
+ format: string;
88417
+ type: string;
88418
+ };
88419
+ }[];
88420
+ responses: {
88421
+ 200: {
88422
+ content: {
88423
+ 'application/json': {
88424
+ schema: {
88425
+ properties: {
88426
+ customization_profile: {
88427
+ properties: {
88428
+ customization_profile_id: {
88429
+ format: string;
88430
+ type: string;
88431
+ };
88432
+ logo_url: {
88433
+ type: string;
88434
+ };
88435
+ primary_color: {
88436
+ type: string;
88437
+ };
88438
+ secondary_color: {
88439
+ type: string;
88440
+ };
88441
+ workspace_id: {
88442
+ format: string;
88443
+ type: string;
88444
+ };
88445
+ };
88446
+ required: string[];
88447
+ type: string;
88448
+ };
88449
+ ok: {
88450
+ type: string;
88451
+ };
88452
+ };
88453
+ required: string[];
88454
+ type: string;
88455
+ };
88456
+ };
88457
+ };
88458
+ description: string;
88459
+ };
88460
+ 400: {
88461
+ description: string;
88462
+ };
88463
+ 401: {
88464
+ description: string;
88465
+ };
88466
+ };
88467
+ security: {
88468
+ client_session_with_customer: never[];
88469
+ }[];
88470
+ summary: string;
88471
+ tags: string[];
88472
+ 'x-fern-sdk-group-name': string[];
88473
+ 'x-fern-sdk-method-name': string;
88474
+ 'x-fern-sdk-return-value': string;
88475
+ 'x-response-key': string;
88476
+ 'x-title': string;
88477
+ };
88478
+ post: {
88479
+ description: string;
88480
+ operationId: string;
88481
+ requestBody: {
88482
+ content: {
88483
+ 'application/json': {
88484
+ schema: {
88485
+ properties: {
88486
+ customization_profile_id: {
88487
+ format: string;
88488
+ type: string;
88489
+ };
88490
+ };
88491
+ required: string[];
88492
+ type: string;
88493
+ };
88494
+ };
88495
+ };
88496
+ };
88497
+ responses: {
88498
+ 200: {
88499
+ content: {
88500
+ 'application/json': {
88501
+ schema: {
88502
+ properties: {
88503
+ customization_profile: {
88504
+ properties: {
88505
+ customization_profile_id: {
88506
+ format: string;
88507
+ type: string;
88508
+ };
88509
+ logo_url: {
88510
+ type: string;
88511
+ };
88512
+ primary_color: {
88513
+ type: string;
88514
+ };
88515
+ secondary_color: {
88516
+ type: string;
88517
+ };
88518
+ workspace_id: {
88519
+ format: string;
88520
+ type: string;
88521
+ };
88522
+ };
88523
+ required: string[];
88524
+ type: string;
88525
+ };
88526
+ ok: {
88527
+ type: string;
88528
+ };
88529
+ };
88530
+ required: string[];
88531
+ type: string;
88532
+ };
88533
+ };
88534
+ };
88535
+ description: string;
88536
+ };
88537
+ 400: {
88538
+ description: string;
88539
+ };
88540
+ 401: {
88541
+ description: string;
88542
+ };
88543
+ };
88544
+ security: {
88545
+ client_session_with_customer: never[];
88546
+ }[];
88547
+ summary: string;
88548
+ tags: string[];
88549
+ 'x-fern-sdk-group-name': string[];
88550
+ 'x-fern-sdk-method-name': string;
88551
+ 'x-fern-sdk-return-value': string;
88552
+ 'x-response-key': string;
88553
+ 'x-title': string;
88554
+ };
88555
+ };
88556
+ '/workspaces/customization_profiles/list': {
88557
+ get: {
88558
+ description: string;
88559
+ operationId: string;
88560
+ responses: {
88561
+ 200: {
88562
+ content: {
88563
+ 'application/json': {
88564
+ schema: {
88565
+ properties: {
88566
+ customization_profiles: {
88567
+ items: {
88568
+ properties: {
88569
+ customization_profile_id: {
88570
+ format: string;
88571
+ type: string;
88572
+ };
88573
+ logo_url: {
88574
+ type: string;
88575
+ };
88576
+ primary_color: {
88577
+ type: string;
88578
+ };
88579
+ secondary_color: {
88580
+ type: string;
88581
+ };
88582
+ workspace_id: {
88583
+ format: string;
88584
+ type: string;
88585
+ };
88586
+ };
88587
+ required: string[];
88588
+ type: string;
88589
+ };
88590
+ type: string;
88591
+ };
88592
+ ok: {
88593
+ type: string;
88594
+ };
88595
+ };
88596
+ required: string[];
88597
+ type: string;
88598
+ };
88599
+ };
88600
+ };
88601
+ description: string;
88602
+ };
88603
+ 400: {
88604
+ description: string;
88605
+ };
88606
+ 401: {
88607
+ description: string;
88608
+ };
88609
+ };
88610
+ security: {
88611
+ client_session_with_customer: never[];
88612
+ }[];
88613
+ summary: string;
88614
+ tags: string[];
88615
+ 'x-fern-sdk-group-name': string[];
88616
+ 'x-fern-sdk-method-name': string;
88617
+ 'x-fern-sdk-return-value': string;
88618
+ 'x-response-key': string;
88619
+ 'x-title': string;
88620
+ };
88621
+ post: {
88622
+ description: string;
88623
+ operationId: string;
88624
+ responses: {
88625
+ 200: {
88626
+ content: {
88627
+ 'application/json': {
88628
+ schema: {
88629
+ properties: {
88630
+ customization_profiles: {
88631
+ items: {
88632
+ properties: {
88633
+ customization_profile_id: {
88634
+ format: string;
88635
+ type: string;
88636
+ };
88637
+ logo_url: {
88638
+ type: string;
88639
+ };
88640
+ primary_color: {
88641
+ type: string;
88642
+ };
88643
+ secondary_color: {
88644
+ type: string;
88645
+ };
88646
+ workspace_id: {
88647
+ format: string;
88648
+ type: string;
88649
+ };
88650
+ };
88651
+ required: string[];
88652
+ type: string;
88653
+ };
88654
+ type: string;
88655
+ };
88656
+ ok: {
88657
+ type: string;
88658
+ };
88659
+ };
88660
+ required: string[];
88661
+ type: string;
88662
+ };
88663
+ };
88664
+ };
88665
+ description: string;
88666
+ };
88667
+ 400: {
88668
+ description: string;
88669
+ };
88670
+ 401: {
88671
+ description: string;
88672
+ };
88673
+ };
88674
+ security: {
88675
+ client_session_with_customer: never[];
88676
+ }[];
88677
+ summary: string;
88678
+ tags: string[];
88679
+ 'x-fern-sdk-group-name': string[];
88680
+ 'x-fern-sdk-method-name': string;
88681
+ 'x-fern-sdk-return-value': string;
88682
+ 'x-response-key': string;
88683
+ 'x-title': string;
88684
+ };
88685
+ };
88686
+ '/workspaces/customization_profiles/update': {
88687
+ patch: {
88688
+ description: string;
88689
+ operationId: string;
88690
+ requestBody: {
88691
+ content: {
88692
+ 'application/json': {
88693
+ schema: {
88694
+ properties: {
88695
+ customization_profile_id: {
88696
+ format: string;
88697
+ type: string;
88698
+ };
88699
+ primary_color: {
88700
+ type: string;
88701
+ };
88702
+ secondary_color: {
88703
+ type: string;
88704
+ };
88705
+ };
88706
+ required: string[];
88707
+ type: string;
88708
+ };
88709
+ };
88710
+ };
88711
+ };
88712
+ responses: {
88713
+ 200: {
88714
+ content: {
88715
+ 'application/json': {
88716
+ schema: {
88717
+ properties: {
88718
+ ok: {
88719
+ type: string;
88720
+ };
88721
+ };
88722
+ required: string[];
88723
+ type: string;
88724
+ };
88725
+ };
88726
+ };
88727
+ description: string;
88728
+ };
88729
+ 400: {
88730
+ description: string;
88731
+ };
88732
+ 401: {
88733
+ description: string;
88734
+ };
88735
+ };
88736
+ security: {
88737
+ client_session_with_customer: never[];
88738
+ }[];
88739
+ summary: string;
88740
+ tags: string[];
88741
+ 'x-fern-sdk-group-name': string[];
88742
+ 'x-fern-sdk-method-name': string;
88743
+ 'x-response-key': null;
88744
+ 'x-title': string;
88745
+ };
88746
+ post: {
88747
+ description: string;
88748
+ operationId: string;
88749
+ requestBody: {
88750
+ content: {
88751
+ 'application/json': {
88752
+ schema: {
88753
+ properties: {
88754
+ customization_profile_id: {
88755
+ format: string;
88756
+ type: string;
88757
+ };
88758
+ primary_color: {
88759
+ type: string;
88760
+ };
88761
+ secondary_color: {
88762
+ type: string;
88763
+ };
88764
+ };
88765
+ required: string[];
88766
+ type: string;
88767
+ };
88768
+ };
88769
+ };
88770
+ };
88771
+ responses: {
88772
+ 200: {
88773
+ content: {
88774
+ 'application/json': {
88775
+ schema: {
88776
+ properties: {
88777
+ ok: {
88778
+ type: string;
88779
+ };
88780
+ };
88781
+ required: string[];
88782
+ type: string;
88783
+ };
88784
+ };
88785
+ };
88786
+ description: string;
88787
+ };
88788
+ 400: {
88789
+ description: string;
88790
+ };
88791
+ 401: {
88792
+ description: string;
88793
+ };
88794
+ };
88795
+ security: {
88796
+ client_session_with_customer: never[];
88797
+ }[];
88798
+ summary: string;
88799
+ tags: string[];
88800
+ 'x-fern-sdk-group-name': string[];
88801
+ 'x-fern-sdk-method-name': string;
88802
+ 'x-response-key': null;
88803
+ 'x-title': string;
88804
+ };
88805
+ };
88806
+ '/workspaces/customization_profiles/upload_images': {
88807
+ post: {
88808
+ description: string;
88809
+ operationId: string;
88810
+ responses: {
88811
+ 200: {
88812
+ content: {
88813
+ 'application/json': {
88814
+ schema: {
88815
+ properties: {
88816
+ ok: {
88817
+ type: string;
88818
+ };
88819
+ };
88820
+ required: string[];
88821
+ type: string;
88822
+ };
88823
+ };
88824
+ };
88825
+ description: string;
88826
+ };
88827
+ 400: {
88828
+ description: string;
88829
+ };
88830
+ 401: {
88831
+ description: string;
88832
+ };
88833
+ };
88834
+ security: {
88835
+ client_session_with_customer: never[];
88836
+ }[];
88837
+ summary: string;
88838
+ tags: string[];
88839
+ 'x-fern-sdk-group-name': string[];
88840
+ 'x-fern-sdk-method-name': string;
88841
+ 'x-response-key': null;
88842
+ 'x-title': string;
88843
+ 'x-undocumented': string;
88844
+ };
88845
+ };
88305
88846
  '/workspaces/find_resources': {
88306
88847
  get: {
88307
88848
  description: string;
@@ -99908,7 +100449,7 @@ type Routes = {
99908
100449
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
99909
100450
  code_constraints?: (({
99910
100451
  /** Code constraint type for access codes. */
99911
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
100452
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
99912
100453
  } | {
99913
100454
  constraint_type: 'name_length' | 'name_must_be_unique';
99914
100455
  /** Minimum name length constraint for access codes. */
@@ -103019,7 +103560,7 @@ type Routes = {
103019
103560
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
103020
103561
  code_constraints?: (({
103021
103562
  /** Code constraint type for access codes. */
103022
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
103563
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
103023
103564
  } | {
103024
103565
  constraint_type: 'name_length' | 'name_must_be_unique';
103025
103566
  /** Minimum name length constraint for access codes. */
@@ -118005,7 +118546,7 @@ type Routes = {
118005
118546
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
118006
118547
  code_constraints?: (({
118007
118548
  /** Code constraint type for access codes. */
118008
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
118549
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
118009
118550
  } | {
118010
118551
  constraint_type: 'name_length' | 'name_must_be_unique';
118011
118552
  /** Minimum name length constraint for access codes. */
@@ -119259,7 +119800,7 @@ type Routes = {
119259
119800
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
119260
119801
  code_constraints?: (({
119261
119802
  /** Code constraint type for access codes. */
119262
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
119803
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
119263
119804
  } | {
119264
119805
  constraint_type: 'name_length' | 'name_must_be_unique';
119265
119806
  /** Minimum name length constraint for access codes. */
@@ -125245,7 +125786,7 @@ type Routes = {
125245
125786
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
125246
125787
  code_constraints?: (({
125247
125788
  /** Code constraint type for access codes. */
125248
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
125789
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
125249
125790
  } | {
125250
125791
  constraint_type: 'name_length' | 'name_must_be_unique';
125251
125792
  /** Minimum name length constraint for access codes. */
@@ -126449,7 +126990,7 @@ type Routes = {
126449
126990
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
126450
126991
  code_constraints?: (({
126451
126992
  /** Code constraint type for access codes. */
126452
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
126993
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
126453
126994
  } | {
126454
126995
  constraint_type: 'name_length' | 'name_must_be_unique';
126455
126996
  /** Minimum name length constraint for access codes. */
@@ -127703,7 +128244,7 @@ type Routes = {
127703
128244
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
127704
128245
  code_constraints?: (({
127705
128246
  /** Code constraint type for access codes. */
127706
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
128247
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
127707
128248
  } | {
127708
128249
  constraint_type: 'name_length' | 'name_must_be_unique';
127709
128250
  /** Minimum name length constraint for access codes. */
@@ -128906,7 +129447,7 @@ type Routes = {
128906
129447
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
128907
129448
  code_constraints?: (({
128908
129449
  /** Code constraint type for access codes. */
128909
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
129450
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
128910
129451
  } | {
128911
129452
  constraint_type: 'name_length' | 'name_must_be_unique';
128912
129453
  /** Minimum name length constraint for access codes. */
@@ -135198,7 +135739,7 @@ type Routes = {
135198
135739
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
135199
135740
  code_constraints?: (({
135200
135741
  /** Code constraint type for access codes. */
135201
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
135742
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
135202
135743
  } | {
135203
135744
  constraint_type: 'name_length' | 'name_must_be_unique';
135204
135745
  /** Minimum name length constraint for access codes. */
@@ -136401,7 +136942,7 @@ type Routes = {
136401
136942
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
136402
136943
  code_constraints?: (({
136403
136944
  /** Code constraint type for access codes. */
136404
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
136945
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
136405
136946
  } | {
136406
136947
  constraint_type: 'name_length' | 'name_must_be_unique';
136407
136948
  /** Minimum name length constraint for access codes. */
@@ -144798,7 +145339,7 @@ type Routes = {
144798
145339
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
144799
145340
  code_constraints?: (({
144800
145341
  /** Code constraint type for access codes. */
144801
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
145342
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
144802
145343
  } | {
144803
145344
  constraint_type: 'name_length' | 'name_must_be_unique';
144804
145345
  /** Minimum name length constraint for access codes. */
@@ -150382,7 +150923,7 @@ type Routes = {
150382
150923
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
150383
150924
  code_constraints?: (({
150384
150925
  /** Code constraint type for access codes. */
150385
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
150926
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
150386
150927
  } | {
150387
150928
  constraint_type: 'name_length' | 'name_must_be_unique';
150388
150929
  /** Minimum name length constraint for access codes. */
@@ -154168,7 +154709,7 @@ type Routes = {
154168
154709
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
154169
154710
  code_constraints?: (({
154170
154711
  /** Code constraint type for access codes. */
154171
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
154712
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
154172
154713
  } | {
154173
154714
  constraint_type: 'name_length' | 'name_must_be_unique';
154174
154715
  /** Minimum name length constraint for access codes. */
@@ -155371,7 +155912,7 @@ type Routes = {
155371
155912
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
155372
155913
  code_constraints?: (({
155373
155914
  /** Code constraint type for access codes. */
155374
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
155915
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
155375
155916
  } | {
155376
155917
  constraint_type: 'name_length' | 'name_must_be_unique';
155377
155918
  /** Minimum name length constraint for access codes. */
@@ -162503,7 +163044,7 @@ type Routes = {
162503
163044
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
162504
163045
  code_constraints?: (({
162505
163046
  /** Code constraint type for access codes. */
162506
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
163047
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
162507
163048
  } | {
162508
163049
  constraint_type: 'name_length' | 'name_must_be_unique';
162509
163050
  /** Minimum name length constraint for access codes. */
@@ -163708,7 +164249,7 @@ type Routes = {
163708
164249
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
163709
164250
  code_constraints?: (({
163710
164251
  /** Code constraint type for access codes. */
163711
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
164252
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
163712
164253
  } | {
163713
164254
  constraint_type: 'name_length' | 'name_must_be_unique';
163714
164255
  /** Minimum name length constraint for access codes. */
@@ -164887,6 +165428,84 @@ type Routes = {
164887
165428
  };
164888
165429
  };
164889
165430
  };
165431
+ '/workspaces/customization_profiles/create': {
165432
+ route: '/workspaces/customization_profiles/create';
165433
+ method: 'POST';
165434
+ queryParams: {};
165435
+ jsonBody: {
165436
+ primary_color: string;
165437
+ secondary_color: string;
165438
+ };
165439
+ commonParams: {};
165440
+ formData: {};
165441
+ jsonResponse: {
165442
+ customization_profile: {
165443
+ workspace_id: string;
165444
+ customization_profile_id: string;
165445
+ logo_url?: string | undefined;
165446
+ primary_color?: string | undefined;
165447
+ secondary_color?: string | undefined;
165448
+ };
165449
+ };
165450
+ };
165451
+ '/workspaces/customization_profiles/get': {
165452
+ route: '/workspaces/customization_profiles/get';
165453
+ method: 'POST' | 'GET';
165454
+ queryParams: {};
165455
+ jsonBody: {};
165456
+ commonParams: {
165457
+ customization_profile_id: string;
165458
+ };
165459
+ formData: {};
165460
+ jsonResponse: {
165461
+ customization_profile: {
165462
+ workspace_id: string;
165463
+ customization_profile_id: string;
165464
+ logo_url?: string | undefined;
165465
+ primary_color?: string | undefined;
165466
+ secondary_color?: string | undefined;
165467
+ };
165468
+ };
165469
+ };
165470
+ '/workspaces/customization_profiles/list': {
165471
+ route: '/workspaces/customization_profiles/list';
165472
+ method: 'POST' | 'GET';
165473
+ queryParams: {};
165474
+ jsonBody: {};
165475
+ commonParams: {};
165476
+ formData: {};
165477
+ jsonResponse: {
165478
+ customization_profiles: {
165479
+ workspace_id: string;
165480
+ customization_profile_id: string;
165481
+ logo_url?: string | undefined;
165482
+ primary_color?: string | undefined;
165483
+ secondary_color?: string | undefined;
165484
+ }[];
165485
+ };
165486
+ };
165487
+ '/workspaces/customization_profiles/update': {
165488
+ route: '/workspaces/customization_profiles/update';
165489
+ method: 'POST' | 'PATCH';
165490
+ queryParams: {};
165491
+ jsonBody: {
165492
+ customization_profile_id: string;
165493
+ primary_color?: string | undefined;
165494
+ secondary_color?: string | undefined;
165495
+ };
165496
+ commonParams: {};
165497
+ formData: {};
165498
+ jsonResponse: {};
165499
+ };
165500
+ '/workspaces/customization_profiles/upload_images': {
165501
+ route: '/workspaces/customization_profiles/upload_images';
165502
+ method: 'POST';
165503
+ queryParams: {};
165504
+ jsonBody: {};
165505
+ commonParams: {};
165506
+ formData: {};
165507
+ jsonResponse: {};
165508
+ };
164890
165509
  '/workspaces/find_resources': {
164891
165510
  route: '/workspaces/find_resources';
164892
165511
  method: 'GET' | 'POST';
@@ -165584,7 +166203,7 @@ type Routes = {
165584
166203
  /** Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific. */
165585
166204
  code_constraints?: (({
165586
166205
  /** Code constraint type for access codes. */
165587
- 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' | 'cannot_contain_089' | 'cannot_contain_0789';
166206
+ 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' | 'cannot_contain_089' | 'cannot_contain_0789' | 'unique_first_four_digits';
165588
166207
  } | {
165589
166208
  constraint_type: 'name_length' | 'name_must_be_unique';
165590
166209
  /** Minimum name length constraint for access codes. */