@seamapi/types 1.357.0 → 1.358.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.
@@ -16523,6 +16523,20 @@ declare const noise_threshold: z.ZodObject<{
16523
16523
  }>;
16524
16524
  type NoiseThreshold = z.infer<typeof noise_threshold>;
16525
16525
 
16526
+ declare const pagination: z.ZodObject<{
16527
+ next_page_cursor: z.ZodNullable<z.ZodString>;
16528
+ has_next_page: z.ZodBoolean;
16529
+ next_page_url: z.ZodNullable<z.ZodString>;
16530
+ }, "strip", z.ZodTypeAny, {
16531
+ next_page_cursor: string | null;
16532
+ has_next_page: boolean;
16533
+ next_page_url: string | null;
16534
+ }, {
16535
+ next_page_cursor: string | null;
16536
+ has_next_page: boolean;
16537
+ next_page_url: string | null;
16538
+ }>;
16539
+
16526
16540
  declare const thermostat_schedule: z.ZodObject<{
16527
16541
  thermostat_schedule_id: z.ZodString;
16528
16542
  device_id: z.ZodString;
@@ -16666,6 +16680,7 @@ declare const schemas_custom_metadata: typeof custom_metadata;
16666
16680
  declare const schemas_device: typeof device;
16667
16681
  declare const schemas_device_provider: typeof device_provider;
16668
16682
  declare const schemas_noise_threshold: typeof noise_threshold;
16683
+ declare const schemas_pagination: typeof pagination;
16669
16684
  declare const schemas_seam_event: typeof seam_event;
16670
16685
  declare const schemas_thermostat_schedule: typeof thermostat_schedule;
16671
16686
  declare const schemas_unmanaged_access_code: typeof unmanaged_access_code;
@@ -16677,7 +16692,7 @@ declare const schemas_user_identity: typeof user_identity;
16677
16692
  declare const schemas_webhook: typeof webhook;
16678
16693
  declare const schemas_workspace: typeof workspace;
16679
16694
  declare namespace schemas {
16680
- 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_bridge as bridge, schemas_bridge_client_session as bridge_client_session, 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_noise_threshold as noise_threshold, schemas_seam_event as seam_event, schemas_thermostat_schedule as thermostat_schedule, 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 };
16695
+ 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_bridge as bridge, schemas_bridge_client_session as bridge_client_session, 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_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_schedule as thermostat_schedule, 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 };
16681
16696
  }
16682
16697
 
16683
16698
  declare const _default: {
@@ -23472,6 +23487,28 @@ declare const _default: {
23472
23487
  type: string;
23473
23488
  'x-route-path': string;
23474
23489
  };
23490
+ pagination: {
23491
+ description: string;
23492
+ properties: {
23493
+ has_next_page: {
23494
+ description: string;
23495
+ type: string;
23496
+ };
23497
+ next_page_cursor: {
23498
+ description: string;
23499
+ nullable: boolean;
23500
+ type: string;
23501
+ };
23502
+ next_page_url: {
23503
+ description: string;
23504
+ format: string;
23505
+ nullable: boolean;
23506
+ type: string;
23507
+ };
23508
+ };
23509
+ required: string[];
23510
+ type: string;
23511
+ };
23475
23512
  phone: {
23476
23513
  description: string;
23477
23514
  properties: {
@@ -30500,26 +30537,7 @@ declare const _default: {
30500
30537
  type: string;
30501
30538
  };
30502
30539
  pagination: {
30503
- description: string;
30504
- properties: {
30505
- has_next_page: {
30506
- description: string;
30507
- type: string;
30508
- };
30509
- next_page_cursor: {
30510
- description: string;
30511
- nullable: boolean;
30512
- type: string;
30513
- };
30514
- next_page_url: {
30515
- description: string;
30516
- format: string;
30517
- nullable: boolean;
30518
- type: string;
30519
- };
30520
- };
30521
- required: string[];
30522
- type: string;
30540
+ $ref: string;
30523
30541
  };
30524
30542
  };
30525
30543
  required: string[];
@@ -51670,7 +51688,7 @@ interface Routes {
51670
51688
  user_identity_email_address?: string | undefined;
51671
51689
  /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
51672
51690
  acs_system_id?: string | undefined;
51673
- /** String to partial match between full_name, phone_number and email_address. */
51691
+ /** String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, or `email_address`. */
51674
51692
  search?: string | undefined;
51675
51693
  /** Maximum number of records to return per page. */
51676
51694
  limit?: number;
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
@@ -1,3 +1,3 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, lock_device_type, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
3
3
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -10,6 +10,7 @@ export * from './custom-metadata.js';
10
10
  export * from './devices/index.js';
11
11
  export * from './events/index.js';
12
12
  export * from './noise-sensors/index.js';
13
+ export * from './pagination.js';
13
14
  export * from './phone-number.js';
14
15
  export * from './thermostats/index.js';
15
16
  export * from './user-identities/index.js';
@@ -10,6 +10,7 @@ export * from './custom-metadata.js';
10
10
  export * from './devices/index.js';
11
11
  export * from './events/index.js';
12
12
  export * from './noise-sensors/index.js';
13
+ export * from './pagination.js';
13
14
  export * from './phone-number.js';
14
15
  export * from './thermostats/index.js';
15
16
  export * from './user-identities/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export declare const pagination: z.ZodObject<{
3
+ next_page_cursor: z.ZodNullable<z.ZodString>;
4
+ has_next_page: z.ZodBoolean;
5
+ next_page_url: z.ZodNullable<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ next_page_cursor: string | null;
8
+ has_next_page: boolean;
9
+ next_page_url: string | null;
10
+ }, {
11
+ next_page_cursor: string | null;
12
+ has_next_page: boolean;
13
+ next_page_url: string | null;
14
+ }>;
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export const pagination = z
3
+ .object({
4
+ next_page_cursor: z
5
+ .string()
6
+ .nullable()
7
+ .describe('Opaque value that can be used to select the next page of results via the `page_cursor` parameter.'),
8
+ has_next_page: z
9
+ .boolean()
10
+ .describe('Indicates whether there is another page of results after this one.'),
11
+ next_page_url: z
12
+ .string()
13
+ .url()
14
+ .nullable()
15
+ .describe('URL to get the next page of results.'),
16
+ })
17
+ .describe('Information about the current page of results.');
18
+ //# sourceMappingURL=pagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/pagination.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC;KACxB,MAAM,CAAC;IACN,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;IACH,aAAa,EAAE,CAAC;SACb,OAAO,EAAE;SACT,QAAQ,CACP,oEAAoE,CACrE;IACH,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,sCAAsC,CAAC;CACpD,CAAC;KACD,QAAQ,CAAC,gDAAgD,CAAC,CAAA"}
@@ -6790,6 +6790,28 @@ declare const _default: {
6790
6790
  type: string;
6791
6791
  'x-route-path': string;
6792
6792
  };
6793
+ pagination: {
6794
+ description: string;
6795
+ properties: {
6796
+ has_next_page: {
6797
+ description: string;
6798
+ type: string;
6799
+ };
6800
+ next_page_cursor: {
6801
+ description: string;
6802
+ nullable: boolean;
6803
+ type: string;
6804
+ };
6805
+ next_page_url: {
6806
+ description: string;
6807
+ format: string;
6808
+ nullable: boolean;
6809
+ type: string;
6810
+ };
6811
+ };
6812
+ required: string[];
6813
+ type: string;
6814
+ };
6793
6815
  phone: {
6794
6816
  description: string;
6795
6817
  properties: {
@@ -13818,26 +13840,7 @@ declare const _default: {
13818
13840
  type: string;
13819
13841
  };
13820
13842
  pagination: {
13821
- description: string;
13822
- properties: {
13823
- has_next_page: {
13824
- description: string;
13825
- type: string;
13826
- };
13827
- next_page_cursor: {
13828
- description: string;
13829
- nullable: boolean;
13830
- type: string;
13831
- };
13832
- next_page_url: {
13833
- description: string;
13834
- format: string;
13835
- nullable: boolean;
13836
- type: string;
13837
- };
13838
- };
13839
- required: string[];
13840
- type: string;
13843
+ $ref: string;
13841
13844
  };
13842
13845
  };
13843
13846
  required: string[];
@@ -10972,6 +10972,28 @@ export default {
10972
10972
  type: 'object',
10973
10973
  'x-route-path': '/noise_sensors/noise_thresholds',
10974
10974
  },
10975
+ pagination: {
10976
+ description: 'Information about the current page of results.',
10977
+ properties: {
10978
+ has_next_page: {
10979
+ description: 'Indicates whether there is another page of results after this one.',
10980
+ type: 'boolean',
10981
+ },
10982
+ next_page_cursor: {
10983
+ description: 'Opaque value that can be used to select the next page of results via the `page_cursor` parameter.',
10984
+ nullable: true,
10985
+ type: 'string',
10986
+ },
10987
+ next_page_url: {
10988
+ description: 'URL to get the next page of results.',
10989
+ format: 'uri',
10990
+ nullable: true,
10991
+ type: 'string',
10992
+ },
10993
+ },
10994
+ required: ['next_page_cursor', 'has_next_page', 'next_page_url'],
10995
+ type: 'object',
10996
+ },
10975
10997
  phone: {
10976
10998
  description: "Represents an app user's mobile phone.",
10977
10999
  properties: {
@@ -17583,7 +17605,7 @@ export default {
17583
17605
  type: 'string',
17584
17606
  },
17585
17607
  search: {
17586
- description: 'String to partial match between full_name, phone_number and email_address.',
17608
+ description: 'String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, or `email_address`.',
17587
17609
  minLength: 1,
17588
17610
  type: 'string',
17589
17611
  },
@@ -17617,32 +17639,7 @@ export default {
17617
17639
  type: 'array',
17618
17640
  },
17619
17641
  ok: { type: 'boolean' },
17620
- pagination: {
17621
- description: 'Information about the current page of results.',
17622
- properties: {
17623
- has_next_page: {
17624
- description: 'Indicates whether there is another page of results after this one.',
17625
- type: 'boolean',
17626
- },
17627
- next_page_cursor: {
17628
- description: 'Opaque value that can be used to select the next page of results via the `page_cursor` parameter.',
17629
- nullable: true,
17630
- type: 'string',
17631
- },
17632
- next_page_url: {
17633
- description: 'URL to get the next page of results.',
17634
- format: 'uri',
17635
- nullable: true,
17636
- type: 'string',
17637
- },
17638
- },
17639
- required: [
17640
- 'next_page_cursor',
17641
- 'has_next_page',
17642
- 'next_page_url',
17643
- ],
17644
- type: 'object',
17645
- },
17642
+ pagination: { $ref: '#/components/schemas/pagination' },
17646
17643
  },
17647
17644
  required: ['acs_users', 'pagination', 'ok'],
17648
17645
  type: 'object',