@seamapi/types 1.235.0 → 1.236.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.
@@ -1045,7 +1045,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1045
1045
  user_identity_email_address?: string | null | undefined;
1046
1046
  user_identity_phone_number?: string | null | undefined;
1047
1047
  }>;
1048
- declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1048
+ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1049
1049
  acs_user_id: z.ZodString;
1050
1050
  acs_system_id: z.ZodString;
1051
1051
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
@@ -8478,7 +8478,6 @@ declare const schemas_acs_access_group: typeof acs_access_group;
8478
8478
  declare const schemas_acs_credential: typeof acs_credential;
8479
8479
  declare const schemas_acs_entrance: typeof acs_entrance;
8480
8480
  declare const schemas_acs_system: typeof acs_system;
8481
- declare const schemas_acs_unmanaged_user: typeof acs_unmanaged_user;
8482
8481
  declare const schemas_acs_user: typeof acs_user;
8483
8482
  declare const schemas_action_attempt: typeof action_attempt;
8484
8483
  declare const schemas_client_session: typeof client_session;
@@ -8493,12 +8492,13 @@ declare const schemas_seam_event: typeof seam_event;
8493
8492
  declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
8494
8493
  declare const schemas_unmanaged_acs_access_group: typeof unmanaged_acs_access_group;
8495
8494
  declare const schemas_unmanaged_acs_credential: typeof unmanaged_acs_credential;
8495
+ declare const schemas_unmanaged_acs_user: typeof unmanaged_acs_user;
8496
8496
  declare const schemas_unmanaged_device: typeof unmanaged_device;
8497
8497
  declare const schemas_user_identity: typeof user_identity;
8498
8498
  declare const schemas_webhook: typeof webhook;
8499
8499
  declare const schemas_workspace: typeof workspace;
8500
8500
  declare namespace schemas {
8501
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_unmanaged_user as acs_unmanaged_user, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, 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_noise_threshold as noise_threshold, schemas_seam_event as seam_event, 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_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
8501
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, 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_client_session as client_session, schemas_climate_setting_schedule as climate_setting_schedule, 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_noise_threshold as noise_threshold, schemas_seam_event as seam_event, 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 };
8502
8502
  }
8503
8503
 
8504
8504
  declare const _default: {
@@ -12077,6 +12077,10 @@ declare const _default: {
12077
12077
  prefer_native_scheduling: {
12078
12078
  type: string;
12079
12079
  };
12080
+ preferred_code_length: {
12081
+ format: string;
12082
+ type: string;
12083
+ };
12080
12084
  starts_at: {
12081
12085
  type: string;
12082
12086
  };
@@ -13513,6 +13517,10 @@ declare const _default: {
13513
13517
  prefer_native_scheduling: {
13514
13518
  type: string;
13515
13519
  };
13520
+ preferred_code_length: {
13521
+ format: string;
13522
+ type: string;
13523
+ };
13516
13524
  starts_at: {
13517
13525
  type: string;
13518
13526
  };
@@ -13643,6 +13651,10 @@ declare const _default: {
13643
13651
  prefer_native_scheduling: {
13644
13652
  type: string;
13645
13653
  };
13654
+ preferred_code_length: {
13655
+ format: string;
13656
+ type: string;
13657
+ };
13646
13658
  starts_at: {
13647
13659
  type: string;
13648
13660
  };
@@ -13774,6 +13786,10 @@ declare const _default: {
13774
13786
  prefer_native_scheduling: {
13775
13787
  type: string;
13776
13788
  };
13789
+ preferred_code_length: {
13790
+ format: string;
13791
+ type: string;
13792
+ };
13777
13793
  starts_at: {
13778
13794
  type: string;
13779
13795
  };
@@ -17316,7 +17332,119 @@ declare const _default: {
17316
17332
  schema: {
17317
17333
  properties: {
17318
17334
  acs_user: {
17319
- $ref: string;
17335
+ properties: {
17336
+ access_schedule: {
17337
+ properties: {
17338
+ ends_at: {
17339
+ format: string;
17340
+ type: string;
17341
+ };
17342
+ starts_at: {
17343
+ format: string;
17344
+ type: string;
17345
+ };
17346
+ };
17347
+ required: string[];
17348
+ type: string;
17349
+ };
17350
+ acs_system_id: {
17351
+ format: string;
17352
+ type: string;
17353
+ };
17354
+ acs_user_id: {
17355
+ format: string;
17356
+ type: string;
17357
+ };
17358
+ created_at: {
17359
+ format: string;
17360
+ type: string;
17361
+ };
17362
+ display_name: {
17363
+ type: string;
17364
+ };
17365
+ email: {
17366
+ deprecated: boolean;
17367
+ format: string;
17368
+ type: string;
17369
+ 'x-deprecated': string;
17370
+ };
17371
+ email_address: {
17372
+ format: string;
17373
+ type: string;
17374
+ };
17375
+ external_type: {
17376
+ enum: string[];
17377
+ type: string;
17378
+ };
17379
+ external_type_display_name: {
17380
+ type: string;
17381
+ };
17382
+ full_name: {
17383
+ type: string;
17384
+ };
17385
+ hid_acs_system_id: {
17386
+ format: string;
17387
+ type: string;
17388
+ };
17389
+ is_latest_desired_state_synced_with_provider: {
17390
+ type: string;
17391
+ };
17392
+ is_managed: {
17393
+ enum: boolean[];
17394
+ type: string;
17395
+ };
17396
+ is_suspended: {
17397
+ type: string;
17398
+ };
17399
+ latest_desired_state_synced_with_provider_at: {
17400
+ format: string;
17401
+ type: string;
17402
+ };
17403
+ phone_number: {
17404
+ type: string;
17405
+ };
17406
+ user_identity_email_address: {
17407
+ nullable: boolean;
17408
+ type: string;
17409
+ };
17410
+ user_identity_full_name: {
17411
+ nullable: boolean;
17412
+ type: string;
17413
+ };
17414
+ user_identity_id: {
17415
+ type: string;
17416
+ };
17417
+ user_identity_phone_number: {
17418
+ nullable: boolean;
17419
+ type: string;
17420
+ };
17421
+ warnings: {
17422
+ items: {
17423
+ properties: {
17424
+ created_at: {
17425
+ format: string;
17426
+ type: string;
17427
+ };
17428
+ message: {
17429
+ type: string;
17430
+ };
17431
+ warning_code: {
17432
+ enum: string[];
17433
+ type: string;
17434
+ };
17435
+ };
17436
+ required: string[];
17437
+ type: string;
17438
+ };
17439
+ type: string;
17440
+ };
17441
+ workspace_id: {
17442
+ format: string;
17443
+ type: string;
17444
+ };
17445
+ };
17446
+ required: string[];
17447
+ type: string;
17320
17448
  };
17321
17449
  ok: {
17322
17450
  type: string;
@@ -26018,6 +26146,7 @@ interface Routes {
26018
26146
  use_backup_access_code_pool?: boolean | undefined;
26019
26147
  allow_external_modification?: boolean | undefined;
26020
26148
  is_external_modification_allowed?: boolean | undefined;
26149
+ preferred_code_length?: number | undefined;
26021
26150
  use_offline_access_code?: boolean | undefined;
26022
26151
  is_offline_access_code?: boolean | undefined;
26023
26152
  is_one_time_use?: boolean | undefined;
@@ -27729,6 +27858,7 @@ interface Routes {
27729
27858
  use_backup_access_code_pool?: boolean | undefined;
27730
27859
  allow_external_modification?: boolean | undefined;
27731
27860
  is_external_modification_allowed?: boolean | undefined;
27861
+ preferred_code_length?: number | undefined;
27732
27862
  use_offline_access_code?: boolean | undefined;
27733
27863
  is_offline_access_code?: boolean | undefined;
27734
27864
  is_one_time_use?: boolean | undefined;
@@ -29523,7 +29653,7 @@ interface Routes {
29523
29653
  email?: string | undefined;
29524
29654
  email_address?: string | undefined;
29525
29655
  phone_number?: string | undefined;
29526
- is_managed: true;
29656
+ is_managed: false;
29527
29657
  };
29528
29658
  };
29529
29659
  };
@@ -152,7 +152,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
152
152
  user_identity_email_address?: string | null | undefined;
153
153
  user_identity_phone_number?: string | null | undefined;
154
154
  }>;
155
- export declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
155
+ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
156
156
  acs_user_id: z.ZodString;
157
157
  acs_system_id: z.ZodString;
158
158
  hid_acs_system_id: z.ZodOptional<z.ZodString>;
@@ -261,4 +261,4 @@ export declare const acs_unmanaged_user: z.ZodObject<z.objectUtil.extendShape<z.
261
261
  user_identity_phone_number?: string | null | undefined;
262
262
  }>;
263
263
  export type AcsUser = z.output<typeof acs_user>;
264
- export type AcsUnmanagedUser = z.output<typeof acs_unmanaged_user>;
264
+ export type AcsUnmanagedUser = z.output<typeof unmanaged_acs_user>;
@@ -59,7 +59,7 @@ const common_acs_user = z
59
59
  export const acs_user = common_acs_user.merge(z.object({
60
60
  is_managed: z.literal(true),
61
61
  }));
62
- export const acs_unmanaged_user = common_acs_user.merge(z.object({
62
+ export const unmanaged_acs_user = common_acs_user.merge(z.object({
63
63
  is_managed: z.literal(false),
64
64
  }));
65
65
  //# sourceMappingURL=acs-user.js.map
@@ -3574,6 +3574,10 @@ declare const _default: {
3574
3574
  prefer_native_scheduling: {
3575
3575
  type: string;
3576
3576
  };
3577
+ preferred_code_length: {
3578
+ format: string;
3579
+ type: string;
3580
+ };
3577
3581
  starts_at: {
3578
3582
  type: string;
3579
3583
  };
@@ -5010,6 +5014,10 @@ declare const _default: {
5010
5014
  prefer_native_scheduling: {
5011
5015
  type: string;
5012
5016
  };
5017
+ preferred_code_length: {
5018
+ format: string;
5019
+ type: string;
5020
+ };
5013
5021
  starts_at: {
5014
5022
  type: string;
5015
5023
  };
@@ -5140,6 +5148,10 @@ declare const _default: {
5140
5148
  prefer_native_scheduling: {
5141
5149
  type: string;
5142
5150
  };
5151
+ preferred_code_length: {
5152
+ format: string;
5153
+ type: string;
5154
+ };
5143
5155
  starts_at: {
5144
5156
  type: string;
5145
5157
  };
@@ -5271,6 +5283,10 @@ declare const _default: {
5271
5283
  prefer_native_scheduling: {
5272
5284
  type: string;
5273
5285
  };
5286
+ preferred_code_length: {
5287
+ format: string;
5288
+ type: string;
5289
+ };
5274
5290
  starts_at: {
5275
5291
  type: string;
5276
5292
  };
@@ -8813,7 +8829,119 @@ declare const _default: {
8813
8829
  schema: {
8814
8830
  properties: {
8815
8831
  acs_user: {
8816
- $ref: string;
8832
+ properties: {
8833
+ access_schedule: {
8834
+ properties: {
8835
+ ends_at: {
8836
+ format: string;
8837
+ type: string;
8838
+ };
8839
+ starts_at: {
8840
+ format: string;
8841
+ type: string;
8842
+ };
8843
+ };
8844
+ required: string[];
8845
+ type: string;
8846
+ };
8847
+ acs_system_id: {
8848
+ format: string;
8849
+ type: string;
8850
+ };
8851
+ acs_user_id: {
8852
+ format: string;
8853
+ type: string;
8854
+ };
8855
+ created_at: {
8856
+ format: string;
8857
+ type: string;
8858
+ };
8859
+ display_name: {
8860
+ type: string;
8861
+ };
8862
+ email: {
8863
+ deprecated: boolean;
8864
+ format: string;
8865
+ type: string;
8866
+ 'x-deprecated': string;
8867
+ };
8868
+ email_address: {
8869
+ format: string;
8870
+ type: string;
8871
+ };
8872
+ external_type: {
8873
+ enum: string[];
8874
+ type: string;
8875
+ };
8876
+ external_type_display_name: {
8877
+ type: string;
8878
+ };
8879
+ full_name: {
8880
+ type: string;
8881
+ };
8882
+ hid_acs_system_id: {
8883
+ format: string;
8884
+ type: string;
8885
+ };
8886
+ is_latest_desired_state_synced_with_provider: {
8887
+ type: string;
8888
+ };
8889
+ is_managed: {
8890
+ enum: boolean[];
8891
+ type: string;
8892
+ };
8893
+ is_suspended: {
8894
+ type: string;
8895
+ };
8896
+ latest_desired_state_synced_with_provider_at: {
8897
+ format: string;
8898
+ type: string;
8899
+ };
8900
+ phone_number: {
8901
+ type: string;
8902
+ };
8903
+ user_identity_email_address: {
8904
+ nullable: boolean;
8905
+ type: string;
8906
+ };
8907
+ user_identity_full_name: {
8908
+ nullable: boolean;
8909
+ type: string;
8910
+ };
8911
+ user_identity_id: {
8912
+ type: string;
8913
+ };
8914
+ user_identity_phone_number: {
8915
+ nullable: boolean;
8916
+ type: string;
8917
+ };
8918
+ warnings: {
8919
+ items: {
8920
+ properties: {
8921
+ created_at: {
8922
+ format: string;
8923
+ type: string;
8924
+ };
8925
+ message: {
8926
+ type: string;
8927
+ };
8928
+ warning_code: {
8929
+ enum: string[];
8930
+ type: string;
8931
+ };
8932
+ };
8933
+ required: string[];
8934
+ type: string;
8935
+ };
8936
+ type: string;
8937
+ };
8938
+ workspace_id: {
8939
+ format: string;
8940
+ type: string;
8941
+ };
8942
+ };
8943
+ required: string[];
8944
+ type: string;
8817
8945
  };
8818
8946
  ok: {
8819
8947
  type: string;
@@ -3960,6 +3960,7 @@ export default {
3960
3960
  },
3961
3961
  name: { type: 'string' },
3962
3962
  prefer_native_scheduling: { type: 'boolean' },
3963
+ preferred_code_length: { format: 'float', type: 'number' },
3963
3964
  starts_at: { type: 'string' },
3964
3965
  sync: { default: false, type: 'boolean' },
3965
3966
  use_backup_access_code_pool: { type: 'boolean' },
@@ -4856,6 +4857,7 @@ export default {
4856
4857
  },
4857
4858
  name: { type: 'string' },
4858
4859
  prefer_native_scheduling: { type: 'boolean' },
4860
+ preferred_code_length: { format: 'float', type: 'number' },
4859
4861
  starts_at: { type: 'string' },
4860
4862
  sync: { default: false, type: 'boolean' },
4861
4863
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
@@ -4931,6 +4933,7 @@ export default {
4931
4933
  },
4932
4934
  name: { type: 'string' },
4933
4935
  prefer_native_scheduling: { type: 'boolean' },
4936
+ preferred_code_length: { format: 'float', type: 'number' },
4934
4937
  starts_at: { type: 'string' },
4935
4938
  sync: { default: false, type: 'boolean' },
4936
4939
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
@@ -5007,6 +5010,7 @@ export default {
5007
5010
  },
5008
5011
  name: { type: 'string' },
5009
5012
  prefer_native_scheduling: { type: 'boolean' },
5013
+ preferred_code_length: { format: 'float', type: 'number' },
5010
5014
  starts_at: { type: 'string' },
5011
5015
  sync: { default: false, type: 'boolean' },
5012
5016
  type: { enum: ['ongoing', 'time_bound'], type: 'string' },
@@ -5473,7 +5477,7 @@ export default {
5473
5477
  tags: ['/acs'],
5474
5478
  'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
5475
5479
  'x-fern-sdk-method-name': 'get',
5476
- 'x-fern-sdk-return-value': 'acs_users',
5480
+ 'x-fern-sdk-return-value': 'acs_access_group',
5477
5481
  },
5478
5482
  },
5479
5483
  '/acs/access_groups/unmanaged/list': {
@@ -5576,7 +5580,7 @@ export default {
5576
5580
  tags: ['/acs'],
5577
5581
  'x-fern-sdk-group-name': ['acs', 'access_groups', 'unmanaged'],
5578
5582
  'x-fern-sdk-method-name': 'list',
5579
- 'x-fern-sdk-return-value': 'acs_users',
5583
+ 'x-fern-sdk-return-value': 'acs_access_groups',
5580
5584
  },
5581
5585
  },
5582
5586
  '/acs/credential_pools/list': {
@@ -7497,7 +7501,95 @@ export default {
7497
7501
  'application/json': {
7498
7502
  schema: {
7499
7503
  properties: {
7500
- acs_user: { $ref: '#/components/schemas/acs_user' },
7504
+ acs_user: {
7505
+ properties: {
7506
+ access_schedule: {
7507
+ properties: {
7508
+ ends_at: { format: 'date-time', type: 'string' },
7509
+ starts_at: { format: 'date-time', type: 'string' },
7510
+ },
7511
+ required: ['starts_at', 'ends_at'],
7512
+ type: 'object',
7513
+ },
7514
+ acs_system_id: { format: 'uuid', type: 'string' },
7515
+ acs_user_id: { format: 'uuid', type: 'string' },
7516
+ created_at: { format: 'date-time', type: 'string' },
7517
+ display_name: { type: 'string' },
7518
+ email: {
7519
+ deprecated: true,
7520
+ format: 'email',
7521
+ type: 'string',
7522
+ 'x-deprecated': 'use email_address.',
7523
+ },
7524
+ email_address: { format: 'email', type: 'string' },
7525
+ external_type: {
7526
+ enum: [
7527
+ 'pti_user',
7528
+ 'brivo_user',
7529
+ 'hid_credential_manager_user',
7530
+ 'salto_site_user',
7531
+ 'latch_user',
7532
+ ],
7533
+ type: 'string',
7534
+ },
7535
+ external_type_display_name: { type: 'string' },
7536
+ full_name: { type: 'string' },
7537
+ hid_acs_system_id: { format: 'uuid', type: 'string' },
7538
+ is_latest_desired_state_synced_with_provider: {
7539
+ type: 'boolean',
7540
+ },
7541
+ is_managed: { enum: [false], type: 'boolean' },
7542
+ is_suspended: { type: 'boolean' },
7543
+ latest_desired_state_synced_with_provider_at: {
7544
+ format: 'date-time',
7545
+ type: 'string',
7546
+ },
7547
+ phone_number: { type: 'string' },
7548
+ user_identity_email_address: {
7549
+ nullable: true,
7550
+ type: 'string',
7551
+ },
7552
+ user_identity_full_name: {
7553
+ nullable: true,
7554
+ type: 'string',
7555
+ },
7556
+ user_identity_id: { type: 'string' },
7557
+ user_identity_phone_number: {
7558
+ nullable: true,
7559
+ type: 'string',
7560
+ },
7561
+ warnings: {
7562
+ items: {
7563
+ properties: {
7564
+ created_at: {
7565
+ format: 'date-time',
7566
+ type: 'string',
7567
+ },
7568
+ message: { type: 'string' },
7569
+ warning_code: {
7570
+ enum: ['being_deleted'],
7571
+ type: 'string',
7572
+ },
7573
+ },
7574
+ required: ['created_at', 'message', 'warning_code'],
7575
+ type: 'object',
7576
+ },
7577
+ type: 'array',
7578
+ },
7579
+ workspace_id: { format: 'uuid', type: 'string' },
7580
+ },
7581
+ required: [
7582
+ 'acs_user_id',
7583
+ 'acs_system_id',
7584
+ 'workspace_id',
7585
+ 'created_at',
7586
+ 'display_name',
7587
+ 'is_suspended',
7588
+ 'warnings',
7589
+ 'is_managed',
7590
+ ],
7591
+ type: 'object',
7592
+ },
7501
7593
  ok: { type: 'boolean' },
7502
7594
  },
7503
7595
  required: ['acs_user', 'ok'],