@seamapi/types 1.464.0 → 1.464.3

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 (46) hide show
  1. package/LICENSE.txt +1 -1
  2. package/dist/connect.d.cts +2793 -2269
  3. package/dist/devicedb.d.cts +0 -4
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  5. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +6 -6
  8. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
  9. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
  10. package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
  11. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
  12. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
  14. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
  15. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
  17. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
  18. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
  19. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
  20. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
  21. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
  22. package/lib/seam/connect/models/batch.d.ts +2564 -2564
  23. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  24. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +12 -12
  25. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
  26. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
  27. package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
  28. package/lib/seam/connect/models/devices/device.d.ts +132 -132
  29. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -100
  30. package/lib/seam/connect/models/events/devices.d.ts +16 -16
  31. package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
  32. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  33. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  34. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
  35. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
  36. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  37. package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
  38. package/lib/seam/connect/openapi.js +6 -6
  39. package/lib/seam/connect/openapi.js.map +1 -1
  40. package/lib/seam/connect/route-types.d.ts +2793 -2269
  41. package/lib/seam/devicedb/models/device-model.d.ts +116 -116
  42. package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
  43. package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
  44. package/lib/seam/devicedb/route-specs.d.ts +210 -214
  45. package/package.json +12 -13
  46. package/src/lib/seam/connect/route-types.ts +3007 -2362
@@ -1487,7 +1487,6 @@ declare const routes: {
1487
1487
  founding_year: z.ZodOptional<z.ZodString>;
1488
1488
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
1489
1489
  us_customer_support_email: z.ZodOptional<z.ZodString>;
1490
- /** @deprecated */
1491
1490
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
1492
1491
  seam_api_guide: z.ZodOptional<z.ZodString>;
1493
1492
  description: z.ZodOptional<z.ZodString>;
@@ -2348,7 +2347,6 @@ declare const routes: {
2348
2347
  founding_year: z.ZodOptional<z.ZodString>;
2349
2348
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
2350
2349
  us_customer_support_email: z.ZodOptional<z.ZodString>;
2351
- /** @deprecated */
2352
2350
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
2353
2351
  seam_api_guide: z.ZodOptional<z.ZodString>;
2354
2352
  description: z.ZodOptional<z.ZodString>;
@@ -3185,7 +3183,6 @@ declare const routes: {
3185
3183
  founding_year: z.ZodOptional<z.ZodString>;
3186
3184
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
3187
3185
  us_customer_support_email: z.ZodOptional<z.ZodString>;
3188
- /** @deprecated */
3189
3186
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
3190
3187
  seam_api_guide: z.ZodOptional<z.ZodString>;
3191
3188
  description: z.ZodOptional<z.ZodString>;
@@ -3365,7 +3362,6 @@ declare const routes: {
3365
3362
  founding_year: z.ZodOptional<z.ZodString>;
3366
3363
  us_customer_support_tel: z.ZodOptional<z.ZodString>;
3367
3364
  us_customer_support_email: z.ZodOptional<z.ZodString>;
3368
- /** @deprecated */
3369
3365
  us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
3370
3366
  seam_api_guide: z.ZodOptional<z.ZodString>;
3371
3367
  description: z.ZodOptional<z.ZodString>;
@@ -2515,10 +2515,10 @@ export declare const access_code: z.ZodObject<{
2515
2515
  is_one_time_use: z.ZodBoolean;
2516
2516
  is_offline_access_code: z.ZodBoolean;
2517
2517
  }, "strip", z.ZodTypeAny, {
2518
- type: "time_bound" | "ongoing";
2519
2518
  code: string | null;
2519
+ type: "time_bound" | "ongoing";
2520
+ status: "unknown" | "set" | "setting" | "unset" | "removing";
2520
2521
  name: string | null;
2521
- status: "set" | "unknown" | "setting" | "unset" | "removing";
2522
2522
  device_id: string;
2523
2523
  created_at: string;
2524
2524
  errors: ({
@@ -2814,10 +2814,10 @@ export declare const access_code: z.ZodObject<{
2814
2814
  is_backup?: boolean | undefined;
2815
2815
  pulled_backup_access_code_id?: string | null | undefined;
2816
2816
  }, {
2817
- type: "time_bound" | "ongoing";
2818
2817
  code: string | null;
2818
+ type: "time_bound" | "ongoing";
2819
+ status: "unknown" | "set" | "setting" | "unset" | "removing";
2819
2820
  name: string | null;
2820
- status: "set" | "unknown" | "setting" | "unset" | "removing";
2821
2821
  device_id: string;
2822
2822
  created_at: string;
2823
2823
  errors: ({
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const unmanaged_access_code: z.ZodObject<{
3
- type: z.ZodEnum<["time_bound", "ongoing"]>;
4
3
  code: z.ZodNullable<z.ZodString>;
4
+ type: z.ZodEnum<["time_bound", "ongoing"]>;
5
5
  name: z.ZodNullable<z.ZodString>;
6
6
  device_id: z.ZodString;
7
7
  created_at: z.ZodString;
@@ -924,10 +924,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
924
924
  is_managed: z.ZodLiteral<false>;
925
925
  status: z.ZodEnum<["set"]>;
926
926
  }, "strip", z.ZodTypeAny, {
927
- type: "time_bound" | "ongoing";
928
927
  code: string | null;
929
- name: string | null;
928
+ type: "time_bound" | "ongoing";
930
929
  status: "set";
930
+ name: string | null;
931
931
  device_id: string;
932
932
  created_at: string;
933
933
  errors: ({
@@ -1214,10 +1214,10 @@ export declare const unmanaged_access_code: z.ZodObject<{
1214
1214
  starts_at?: string | null | undefined;
1215
1215
  ends_at?: string | null | undefined;
1216
1216
  }, {
1217
- type: "time_bound" | "ongoing";
1218
1217
  code: string | null;
1219
- name: string | null;
1218
+ type: "time_bound" | "ongoing";
1220
1219
  status: "set";
1220
+ name: string | null;
1221
1221
  device_id: string;
1222
1222
  created_at: string;
1223
1223
  errors: ({
@@ -805,10 +805,10 @@ export declare const acs_credential_on_encoder: z.ZodObject<{
805
805
  guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
806
806
  common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
807
807
  }, "strip", z.ZodTypeAny, {
808
- expired: boolean;
809
808
  card_id: string;
810
809
  cancelled: boolean;
811
810
  discarded: boolean;
811
+ expired: boolean;
812
812
  overwritten: boolean;
813
813
  pending_auto_update: boolean;
814
814
  card_format: "TLCode" | "rfid48";
@@ -818,10 +818,10 @@ export declare const acs_credential_on_encoder: z.ZodObject<{
818
818
  overridden?: boolean | undefined;
819
819
  card_holder?: string | undefined;
820
820
  }, {
821
- expired: boolean;
822
821
  card_id: string;
823
822
  cancelled: boolean;
824
823
  discarded: boolean;
824
+ expired: boolean;
825
825
  overwritten: boolean;
826
826
  pending_auto_update: boolean;
827
827
  card_format: "TLCode" | "rfid48";
@@ -838,10 +838,10 @@ export declare const acs_credential_on_encoder: z.ZodObject<{
838
838
  is_issued: boolean | null;
839
839
  card_number: string | null;
840
840
  visionline_metadata?: {
841
- expired: boolean;
842
841
  card_id: string;
843
842
  cancelled: boolean;
844
843
  discarded: boolean;
844
+ expired: boolean;
845
845
  overwritten: boolean;
846
846
  pending_auto_update: boolean;
847
847
  card_format: "TLCode" | "rfid48";
@@ -858,10 +858,10 @@ export declare const acs_credential_on_encoder: z.ZodObject<{
858
858
  is_issued: boolean | null;
859
859
  card_number: string | null;
860
860
  visionline_metadata?: {
861
- expired: boolean;
862
861
  card_id: string;
863
862
  cancelled: boolean;
864
863
  discarded: boolean;
864
+ expired: boolean;
865
865
  overwritten: boolean;
866
866
  pending_auto_update: boolean;
867
867
  card_format: "TLCode" | "rfid48";
@@ -408,9 +408,6 @@ export declare const acs_system: z.ZodObject<{
408
408
  misconfigured_acs_entrance_ids?: string[] | undefined;
409
409
  }>]>, "many">;
410
410
  }, "strip", z.ZodTypeAny, {
411
- location: {
412
- time_zone: string | null;
413
- };
414
411
  name: string;
415
412
  workspace_id: string;
416
413
  created_at: string;
@@ -457,6 +454,9 @@ export declare const acs_system: z.ZodObject<{
457
454
  })[];
458
455
  image_url: string;
459
456
  image_alt_text: string;
457
+ location: {
458
+ time_zone: string | null;
459
+ };
460
460
  acs_system_id: string;
461
461
  is_credential_manager: boolean;
462
462
  connected_account_ids: string[];
@@ -473,9 +473,6 @@ export declare const acs_system: z.ZodObject<{
473
473
  system_type?: "assa_abloy_credential_service" | "assa_abloy_vostio" | "assa_abloy_vostio_credential_service" | "pti_site" | "alta_org" | "salto_ks_site" | "salto_space_system" | "brivo_account" | "hid_credential_manager_organization" | "visionline_system" | "latch_building" | "dormakaba_community_site" | "dormakaba_ambiance_site" | "legic_connect_credential_service" | undefined;
474
474
  system_type_display_name?: string | undefined;
475
475
  }, {
476
- location: {
477
- time_zone: string | null;
478
- };
479
476
  name: string;
480
477
  workspace_id: string;
481
478
  created_at: string;
@@ -522,6 +519,9 @@ export declare const acs_system: z.ZodObject<{
522
519
  })[];
523
520
  image_url: string;
524
521
  image_alt_text: string;
522
+ location: {
523
+ time_zone: string | null;
524
+ };
525
525
  acs_system_id: string;
526
526
  is_credential_manager: boolean;
527
527
  connected_account_ids: string[];