@seamapi/types 1.766.0 → 1.768.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 (42) hide show
  1. package/dist/connect.cjs +410 -130
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2887 -10
  4. package/dist/index.cjs +410 -130
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -0
  7. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/configure-auto-lock.d.ts +77 -0
  10. package/lib/seam/connect/models/action-attempts/configure-auto-lock.js +31 -0
  11. package/lib/seam/connect/models/action-attempts/configure-auto-lock.js.map +1 -0
  12. package/lib/seam/connect/models/batch.d.ts +166 -0
  13. package/lib/seam/connect/models/customer/customer-portal.js +6 -2
  14. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  15. package/lib/seam/connect/models/customer/user-identity-resources.js +1 -0
  16. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
  17. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +6 -0
  18. package/lib/seam/connect/models/devices/capability-properties/lock.d.ts +6 -0
  19. package/lib/seam/connect/models/devices/capability-properties/lock.js +12 -0
  20. package/lib/seam/connect/models/devices/capability-properties/lock.js.map +1 -1
  21. package/lib/seam/connect/models/devices/device-metadata.d.ts +7 -0
  22. package/lib/seam/connect/models/devices/device-metadata.js +3 -0
  23. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
  25. package/lib/seam/connect/models/devices/device.d.ts +25 -0
  26. package/lib/seam/connect/models/devices/device.js +1 -0
  27. package/lib/seam/connect/models/devices/device.js.map +1 -1
  28. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +17 -0
  29. package/lib/seam/connect/openapi.d.ts +142 -0
  30. package/lib/seam/connect/openapi.js +239 -0
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +2758 -306
  33. package/package.json +1 -1
  34. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  35. package/src/lib/seam/connect/models/action-attempts/configure-auto-lock.ts +46 -0
  36. package/src/lib/seam/connect/models/customer/customer-portal.ts +6 -4
  37. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +1 -0
  38. package/src/lib/seam/connect/models/devices/capability-properties/lock.ts +12 -0
  39. package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
  40. package/src/lib/seam/connect/models/devices/device.ts +1 -0
  41. package/src/lib/seam/connect/openapi.ts +264 -0
  42. package/src/lib/seam/connect/route-types.ts +3085 -330
@@ -643,6 +643,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
643
643
  lock_command: z.ZodBoolean;
644
644
  incomplete_keyboard_passcode: z.ZodBoolean;
645
645
  wifi: z.ZodBoolean;
646
+ auto_lock_time_config: z.ZodBoolean;
646
647
  }, "strip", z.ZodTypeAny, {
647
648
  passcode: boolean;
648
649
  passcode_management: boolean;
@@ -650,6 +651,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
650
651
  lock_command: boolean;
651
652
  incomplete_keyboard_passcode: boolean;
652
653
  wifi: boolean;
654
+ auto_lock_time_config: boolean;
653
655
  }, {
654
656
  passcode: boolean;
655
657
  passcode_management: boolean;
@@ -657,6 +659,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
657
659
  lock_command: boolean;
658
660
  incomplete_keyboard_passcode: boolean;
659
661
  wifi: boolean;
662
+ auto_lock_time_config: boolean;
660
663
  }>;
661
664
  has_gateway: z.ZodOptional<z.ZodBoolean>;
662
665
  wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -680,6 +683,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
680
683
  lock_command: boolean;
681
684
  incomplete_keyboard_passcode: boolean;
682
685
  wifi: boolean;
686
+ auto_lock_time_config: boolean;
683
687
  };
684
688
  has_gateway?: boolean | undefined;
685
689
  wireless_keypads?: {
@@ -697,6 +701,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
697
701
  lock_command: boolean;
698
702
  incomplete_keyboard_passcode: boolean;
699
703
  wifi: boolean;
704
+ auto_lock_time_config: boolean;
700
705
  };
701
706
  has_gateway?: boolean | undefined;
702
707
  wireless_keypads?: {
@@ -1228,6 +1233,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1228
1233
  lock_command: boolean;
1229
1234
  incomplete_keyboard_passcode: boolean;
1230
1235
  wifi: boolean;
1236
+ auto_lock_time_config: boolean;
1231
1237
  };
1232
1238
  has_gateway?: boolean | undefined;
1233
1239
  wireless_keypads?: {
@@ -1505,6 +1511,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1505
1511
  lock_command: boolean;
1506
1512
  incomplete_keyboard_passcode: boolean;
1507
1513
  wifi: boolean;
1514
+ auto_lock_time_config: boolean;
1508
1515
  };
1509
1516
  has_gateway?: boolean | undefined;
1510
1517
  wireless_keypads?: {
@@ -1674,6 +1681,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1674
1681
  level: number;
1675
1682
  }>>>;
1676
1683
  door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1684
+ auto_lock_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1685
+ auto_lock_delay_seconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1677
1686
  }, "strip", z.ZodTypeAny, {
1678
1687
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1679
1688
  code_constraints?: ({
@@ -1692,6 +1701,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1692
1701
  level: number;
1693
1702
  } | undefined;
1694
1703
  door_open?: boolean | undefined;
1704
+ auto_lock_enabled?: boolean | undefined;
1705
+ auto_lock_delay_seconds?: number | undefined;
1695
1706
  }, {
1696
1707
  _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1697
1708
  code_constraints?: ({
@@ -1710,6 +1721,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1710
1721
  level: number;
1711
1722
  } | undefined;
1712
1723
  door_open?: boolean | undefined;
1724
+ auto_lock_enabled?: boolean | undefined;
1725
+ auto_lock_delay_seconds?: number | undefined;
1713
1726
  }>, z.ZodObject<{
1714
1727
  temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
1715
1728
  temperature_celsius: z.ZodOptional<z.ZodNumber>;
@@ -3050,6 +3063,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3050
3063
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
3051
3064
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
3052
3065
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
3066
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
3053
3067
  }, "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
3054
3068
  is_managed: z.ZodLiteral<false>;
3055
3069
  properties: z.ZodObject<Pick<{
@@ -3206,6 +3220,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3206
3220
  can_simulate_hub_connection: z.ZodOptional<z.ZodBoolean>;
3207
3221
  can_simulate_hub_disconnection: z.ZodOptional<z.ZodBoolean>;
3208
3222
  can_simulate_paid_subscription: z.ZodOptional<z.ZodBoolean>;
3223
+ can_configure_auto_lock: z.ZodOptional<z.ZodBoolean>;
3209
3224
  }, "strip", z.ZodTypeAny, {
3210
3225
  device_id: string;
3211
3226
  workspace_id: string;
@@ -3461,6 +3476,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3461
3476
  can_simulate_hub_connection?: boolean | undefined;
3462
3477
  can_simulate_hub_disconnection?: boolean | undefined;
3463
3478
  can_simulate_paid_subscription?: boolean | undefined;
3479
+ can_configure_auto_lock?: boolean | undefined;
3464
3480
  }, {
3465
3481
  device_id: string;
3466
3482
  workspace_id: string;
@@ -3716,5 +3732,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3716
3732
  can_simulate_hub_connection?: boolean | undefined;
3717
3733
  can_simulate_hub_disconnection?: boolean | undefined;
3718
3734
  can_simulate_paid_subscription?: boolean | undefined;
3735
+ can_configure_auto_lock?: boolean | undefined;
3719
3736
  }>;
3720
3737
  export type UnmanagedDevice = z.infer<typeof unmanaged_device>;
@@ -5591,6 +5591,9 @@ declare const _default: {
5591
5591
  device: {
5592
5592
  description: string;
5593
5593
  properties: {
5594
+ can_configure_auto_lock: {
5595
+ type: string;
5596
+ };
5594
5597
  can_hvac_cool: {
5595
5598
  type: string;
5596
5599
  };
@@ -7175,6 +7178,10 @@ declare const _default: {
7175
7178
  features: {
7176
7179
  description: string;
7177
7180
  properties: {
7181
+ auto_lock_time_config: {
7182
+ description: string;
7183
+ type: string;
7184
+ };
7178
7185
  incomplete_keyboard_passcode: {
7179
7186
  description: string;
7180
7187
  type: string;
@@ -7346,6 +7353,17 @@ declare const _default: {
7346
7353
  type: string;
7347
7354
  'x-undocumented': string;
7348
7355
  };
7356
+ auto_lock_delay_seconds: {
7357
+ description: string;
7358
+ format: string;
7359
+ type: string;
7360
+ 'x-property-group-key': string;
7361
+ };
7362
+ auto_lock_enabled: {
7363
+ description: string;
7364
+ type: string;
7365
+ 'x-property-group-key': string;
7366
+ };
7349
7367
  code_constraints: {
7350
7368
  description: string;
7351
7369
  items: {
@@ -8155,6 +8173,8 @@ declare const _default: {
8155
8173
  'x-property-group-key': string;
8156
8174
  };
8157
8175
  _experimental_supported_code_from_access_codes_lengths?: never;
8176
+ auto_lock_delay_seconds?: never;
8177
+ auto_lock_enabled?: never;
8158
8178
  code_constraints?: never;
8159
8179
  door_open?: never;
8160
8180
  has_native_entry_events?: never;
@@ -8343,6 +8363,9 @@ declare const _default: {
8343
8363
  };
8344
8364
  device_provider: {
8345
8365
  properties: {
8366
+ can_configure_auto_lock: {
8367
+ type: string;
8368
+ };
8346
8369
  can_hvac_cool: {
8347
8370
  type: string;
8348
8371
  };
@@ -16400,6 +16423,7 @@ declare const _default: {
16400
16423
  required: string[];
16401
16424
  type: string;
16402
16425
  'x-route-path': string;
16426
+ 'x-undocumented': string;
16403
16427
  };
16404
16428
  thermostat_daily_program: {
16405
16429
  description: string;
@@ -18137,6 +18161,9 @@ declare const _default: {
18137
18161
  unmanaged_device: {
18138
18162
  description: string;
18139
18163
  properties: {
18164
+ can_configure_auto_lock: {
18165
+ type: string;
18166
+ };
18140
18167
  can_hvac_cool: {
18141
18168
  type: string;
18142
18169
  };
@@ -20082,6 +20109,7 @@ declare const _default: {
20082
20109
  };
20083
20110
  timeline_events: {
20084
20111
  items: {
20112
+ description: string;
20085
20113
  properties: {
20086
20114
  actor: {
20087
20115
  description: string;
@@ -20118,6 +20146,7 @@ declare const _default: {
20118
20146
  description: string;
20119
20147
  enum: string[];
20120
20148
  type: string;
20149
+ 'x-undocumented': string;
20121
20150
  };
20122
20151
  occurred_at: {
20123
20152
  description: string;
@@ -20154,6 +20183,7 @@ declare const _default: {
20154
20183
  };
20155
20184
  required: string[];
20156
20185
  type: string;
20186
+ 'x-undocumented': string;
20157
20187
  };
20158
20188
  type: string;
20159
20189
  };
@@ -20210,6 +20240,7 @@ declare const _default: {
20210
20240
  'x-fern-sdk-return-value': string;
20211
20241
  'x-response-key': string;
20212
20242
  'x-title': string;
20243
+ 'x-undocumented': string;
20213
20244
  };
20214
20245
  post: {
20215
20246
  description: string;
@@ -20285,6 +20316,7 @@ declare const _default: {
20285
20316
  };
20286
20317
  timeline_events: {
20287
20318
  items: {
20319
+ description: string;
20288
20320
  properties: {
20289
20321
  actor: {
20290
20322
  description: string;
@@ -20321,6 +20353,7 @@ declare const _default: {
20321
20353
  description: string;
20322
20354
  enum: string[];
20323
20355
  type: string;
20356
+ 'x-undocumented': string;
20324
20357
  };
20325
20358
  occurred_at: {
20326
20359
  description: string;
@@ -20357,6 +20390,7 @@ declare const _default: {
20357
20390
  };
20358
20391
  required: string[];
20359
20392
  type: string;
20393
+ 'x-undocumented': string;
20360
20394
  };
20361
20395
  type: string;
20362
20396
  };
@@ -20413,6 +20447,7 @@ declare const _default: {
20413
20447
  'x-fern-sdk-return-value': string;
20414
20448
  'x-response-key': string;
20415
20449
  'x-title': string;
20450
+ 'x-undocumented': string;
20416
20451
  };
20417
20452
  };
20418
20453
  '/access_codes/list': {
@@ -39123,6 +39158,7 @@ declare const _default: {
39123
39158
  };
39124
39159
  required: string[];
39125
39160
  type: string;
39161
+ 'x-undocumented': string;
39126
39162
  };
39127
39163
  exclude_locale_picker: {
39128
39164
  default: boolean;
@@ -40185,6 +40221,7 @@ declare const _default: {
40185
40221
  required: string[];
40186
40222
  type: string;
40187
40223
  'x-route-path': string;
40224
+ 'x-undocumented': string;
40188
40225
  };
40189
40226
  type: string;
40190
40227
  };
@@ -41315,6 +41352,7 @@ declare const _default: {
41315
41352
  required: string[];
41316
41353
  type: string;
41317
41354
  'x-route-path': string;
41355
+ 'x-undocumented': string;
41318
41356
  };
41319
41357
  type: string;
41320
41358
  };
@@ -41564,6 +41602,7 @@ declare const _default: {
41564
41602
  'x-fern-sdk-return-value': string;
41565
41603
  'x-response-key': string;
41566
41604
  'x-title': string;
41605
+ 'x-undocumented': string;
41567
41606
  };
41568
41607
  };
41569
41608
  '/devices/delete': {
@@ -45185,6 +45224,96 @@ declare const _default: {
45185
45224
  'x-title': string;
45186
45225
  };
45187
45226
  };
45227
+ '/locks/configure_auto_lock': {
45228
+ post: {
45229
+ description: string;
45230
+ operationId: string;
45231
+ requestBody: {
45232
+ content: {
45233
+ 'application/json': {
45234
+ schema: {
45235
+ properties: {
45236
+ auto_lock_delay_seconds: {
45237
+ description: string;
45238
+ format: string;
45239
+ maximum: number;
45240
+ minimum: number;
45241
+ type: string;
45242
+ };
45243
+ auto_lock_enabled: {
45244
+ description: string;
45245
+ type: string;
45246
+ };
45247
+ device_id: {
45248
+ description: string;
45249
+ format: string;
45250
+ type: string;
45251
+ };
45252
+ };
45253
+ required: string[];
45254
+ type: string;
45255
+ };
45256
+ };
45257
+ };
45258
+ };
45259
+ responses: {
45260
+ 200: {
45261
+ content: {
45262
+ 'application/json': {
45263
+ schema: {
45264
+ properties: {
45265
+ action_attempt: {
45266
+ $ref: string;
45267
+ };
45268
+ ok: {
45269
+ type: string;
45270
+ };
45271
+ };
45272
+ required: string[];
45273
+ type: string;
45274
+ };
45275
+ };
45276
+ };
45277
+ description: string;
45278
+ };
45279
+ 400: {
45280
+ description: string;
45281
+ };
45282
+ 401: {
45283
+ description: string;
45284
+ };
45285
+ };
45286
+ security: ({
45287
+ client_session: never[];
45288
+ pat_with_workspace?: never;
45289
+ console_session_with_workspace?: never;
45290
+ api_key?: never;
45291
+ } | {
45292
+ pat_with_workspace: never[];
45293
+ client_session?: never;
45294
+ console_session_with_workspace?: never;
45295
+ api_key?: never;
45296
+ } | {
45297
+ console_session_with_workspace: never[];
45298
+ client_session?: never;
45299
+ pat_with_workspace?: never;
45300
+ api_key?: never;
45301
+ } | {
45302
+ api_key: never[];
45303
+ client_session?: never;
45304
+ pat_with_workspace?: never;
45305
+ console_session_with_workspace?: never;
45306
+ })[];
45307
+ summary: string;
45308
+ tags: string[];
45309
+ 'x-action-attempt-type': string;
45310
+ 'x-fern-sdk-group-name': string[];
45311
+ 'x-fern-sdk-method-name': string;
45312
+ 'x-fern-sdk-return-value': string;
45313
+ 'x-response-key': string;
45314
+ 'x-title': string;
45315
+ };
45316
+ };
45188
45317
  '/locks/get': {
45189
45318
  get: {
45190
45319
  description: string;
@@ -53099,6 +53228,7 @@ declare const _default: {
53099
53228
  'x-fern-sdk-return-value': string;
53100
53229
  'x-response-key': string;
53101
53230
  'x-title': string;
53231
+ 'x-undocumented': string;
53102
53232
  };
53103
53233
  post: {
53104
53234
  description: string;
@@ -53386,6 +53516,7 @@ declare const _default: {
53386
53516
  'x-fern-sdk-return-value': string;
53387
53517
  'x-response-key': string;
53388
53518
  'x-title': string;
53519
+ 'x-undocumented': string;
53389
53520
  };
53390
53521
  };
53391
53522
  '/seam/customer/v1/customers/automations/update': {
@@ -53690,6 +53821,7 @@ declare const _default: {
53690
53821
  'x-fern-sdk-method-name': string;
53691
53822
  'x-response-key': null;
53692
53823
  'x-title': string;
53824
+ 'x-undocumented': string;
53693
53825
  };
53694
53826
  post: {
53695
53827
  description: string;
@@ -53992,6 +54124,7 @@ declare const _default: {
53992
54124
  'x-fern-sdk-method-name': string;
53993
54125
  'x-response-key': null;
53994
54126
  'x-title': string;
54127
+ 'x-undocumented': string;
53995
54128
  };
53996
54129
  };
53997
54130
  '/seam/customer/v1/customers/list': {
@@ -54226,6 +54359,7 @@ declare const _default: {
54226
54359
  'x-fern-sdk-method-name': string;
54227
54360
  'x-response-key': null;
54228
54361
  'x-title': string;
54362
+ 'x-undocumented': string;
54229
54363
  };
54230
54364
  post: {
54231
54365
  description: string;
@@ -54275,6 +54409,7 @@ declare const _default: {
54275
54409
  'x-fern-sdk-method-name': string;
54276
54410
  'x-response-key': null;
54277
54411
  'x-title': string;
54412
+ 'x-undocumented': string;
54278
54413
  };
54279
54414
  };
54280
54415
  '/seam/customer/v1/customers/open_portal': {
@@ -54779,6 +54914,7 @@ declare const _default: {
54779
54914
  };
54780
54915
  required: string[];
54781
54916
  type: string;
54917
+ 'x-undocumented': string;
54782
54918
  };
54783
54919
  exclude_locale_picker: {
54784
54920
  default: boolean;
@@ -55266,6 +55402,7 @@ declare const _default: {
55266
55402
  };
55267
55403
  required: string[];
55268
55404
  type: string;
55405
+ 'x-undocumented': string;
55269
55406
  };
55270
55407
  exclude_locale_picker: {
55271
55408
  default: boolean;
@@ -58190,6 +58327,7 @@ declare const _default: {
58190
58327
  'x-fern-sdk-method-name': string;
58191
58328
  'x-response-key': null;
58192
58329
  'x-title': string;
58330
+ 'x-undocumented': string;
58193
58331
  };
58194
58332
  };
58195
58333
  '/seam/customer/v1/staff_members/get': {
@@ -58269,6 +58407,7 @@ declare const _default: {
58269
58407
  required: string[];
58270
58408
  type: string;
58271
58409
  'x-route-path': string;
58410
+ 'x-undocumented': string;
58272
58411
  };
58273
58412
  };
58274
58413
  required: string[];
@@ -58380,6 +58519,7 @@ declare const _default: {
58380
58519
  required: string[];
58381
58520
  type: string;
58382
58521
  'x-route-path': string;
58522
+ 'x-undocumented': string;
58383
58523
  };
58384
58524
  };
58385
58525
  required: string[];
@@ -58509,6 +58649,7 @@ declare const _default: {
58509
58649
  required: string[];
58510
58650
  type: string;
58511
58651
  'x-route-path': string;
58652
+ 'x-undocumented': string;
58512
58653
  };
58513
58654
  type: string;
58514
58655
  };
@@ -58626,6 +58767,7 @@ declare const _default: {
58626
58767
  required: string[];
58627
58768
  type: string;
58628
58769
  'x-route-path': string;
58770
+ 'x-undocumented': string;
58629
58771
  };
58630
58772
  type: string;
58631
58773
  };