@seamapi/types 1.414.0 → 1.414.2

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.
@@ -22,5 +22,10 @@ export const location = z.object({
22
22
  .string()
23
23
  .datetime()
24
24
  .describe('Date and time at which the location object was created.'),
25
- });
25
+ }).describe(`
26
+ ---
27
+ undocumented: Will be removed.
28
+ route_path: /unstable_locations
29
+ ---
30
+ `);
26
31
  //# sourceMappingURL=location.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wEAAwE,CACzE;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAClE,WAAW,EAAE,WAAW;SACrB,QAAQ,EAAE;SACV,QAAQ,CAAC,wCAAwC,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;CACvE,CAAC,CAAA"}
1
+ {"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wEAAwE,CACzE;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAClE,WAAW,EAAE,WAAW;SACrB,QAAQ,EAAE;SACV,QAAQ,CAAC,wCAAwC,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;CACvE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA"}
@@ -180,7 +180,7 @@ declare const phone_provider_session: z.ZodObject<{
180
180
  }, {
181
181
  is_managed: z.ZodLiteral<true>;
182
182
  }>, "acs_credential_id">, {
183
- acs_credential_id: z.ZodOptional<z.ZodString>;
183
+ acs_credential_id: z.ZodNullable<z.ZodString>;
184
184
  acs_entrances: z.ZodArray<z.ZodObject<{
185
185
  acs_system_id: z.ZodString;
186
186
  acs_entrance_id: z.ZodString;
@@ -439,6 +439,7 @@ declare const phone_provider_session: z.ZodObject<{
439
439
  })[];
440
440
  is_managed: true;
441
441
  acs_system_id: string;
442
+ acs_credential_id: string | null;
442
443
  access_method: "code" | "card" | "mobile_key";
443
444
  acs_entrances: {
444
445
  display_name: string;
@@ -514,7 +515,6 @@ declare const phone_provider_session: z.ZodObject<{
514
515
  issued_at?: string | null | undefined;
515
516
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
516
517
  external_type_display_name?: string | undefined;
517
- acs_credential_id?: string | undefined;
518
518
  acs_user_id?: string | undefined;
519
519
  acs_credential_pool_id?: string | undefined;
520
520
  parent_acs_credential_id?: string | undefined;
@@ -558,6 +558,7 @@ declare const phone_provider_session: z.ZodObject<{
558
558
  })[];
559
559
  is_managed: true;
560
560
  acs_system_id: string;
561
+ acs_credential_id: string | null;
561
562
  access_method: "code" | "card" | "mobile_key";
562
563
  acs_entrances: {
563
564
  display_name: string;
@@ -633,7 +634,6 @@ declare const phone_provider_session: z.ZodObject<{
633
634
  issued_at?: string | null | undefined;
634
635
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
635
636
  external_type_display_name?: string | undefined;
636
- acs_credential_id?: string | undefined;
637
637
  acs_user_id?: string | undefined;
638
638
  acs_credential_pool_id?: string | undefined;
639
639
  parent_acs_credential_id?: string | undefined;
@@ -685,6 +685,7 @@ declare const phone_provider_session: z.ZodObject<{
685
685
  })[];
686
686
  is_managed: true;
687
687
  acs_system_id: string;
688
+ acs_credential_id: string | null;
688
689
  access_method: "code" | "card" | "mobile_key";
689
690
  acs_entrances: {
690
691
  display_name: string;
@@ -760,7 +761,6 @@ declare const phone_provider_session: z.ZodObject<{
760
761
  issued_at?: string | null | undefined;
761
762
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
762
763
  external_type_display_name?: string | undefined;
763
- acs_credential_id?: string | undefined;
764
764
  acs_user_id?: string | undefined;
765
765
  acs_credential_pool_id?: string | undefined;
766
766
  parent_acs_credential_id?: string | undefined;
@@ -812,6 +812,7 @@ declare const phone_provider_session: z.ZodObject<{
812
812
  })[];
813
813
  is_managed: true;
814
814
  acs_system_id: string;
815
+ acs_credential_id: string | null;
815
816
  access_method: "code" | "card" | "mobile_key";
816
817
  acs_entrances: {
817
818
  display_name: string;
@@ -887,7 +888,6 @@ declare const phone_provider_session: z.ZodObject<{
887
888
  issued_at?: string | null | undefined;
888
889
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
889
890
  external_type_display_name?: string | undefined;
890
- acs_credential_id?: string | undefined;
891
891
  acs_user_id?: string | undefined;
892
892
  acs_credential_pool_id?: string | undefined;
893
893
  parent_acs_credential_id?: string | undefined;
@@ -1080,7 +1080,7 @@ export declare const phone_session: z.ZodObject<{
1080
1080
  }, {
1081
1081
  is_managed: z.ZodLiteral<true>;
1082
1082
  }>, "acs_credential_id">, {
1083
- acs_credential_id: z.ZodOptional<z.ZodString>;
1083
+ acs_credential_id: z.ZodNullable<z.ZodString>;
1084
1084
  acs_entrances: z.ZodArray<z.ZodObject<{
1085
1085
  acs_system_id: z.ZodString;
1086
1086
  acs_entrance_id: z.ZodString;
@@ -1339,6 +1339,7 @@ export declare const phone_session: z.ZodObject<{
1339
1339
  })[];
1340
1340
  is_managed: true;
1341
1341
  acs_system_id: string;
1342
+ acs_credential_id: string | null;
1342
1343
  access_method: "code" | "card" | "mobile_key";
1343
1344
  acs_entrances: {
1344
1345
  display_name: string;
@@ -1414,7 +1415,6 @@ export declare const phone_session: z.ZodObject<{
1414
1415
  issued_at?: string | null | undefined;
1415
1416
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1416
1417
  external_type_display_name?: string | undefined;
1417
- acs_credential_id?: string | undefined;
1418
1418
  acs_user_id?: string | undefined;
1419
1419
  acs_credential_pool_id?: string | undefined;
1420
1420
  parent_acs_credential_id?: string | undefined;
@@ -1458,6 +1458,7 @@ export declare const phone_session: z.ZodObject<{
1458
1458
  })[];
1459
1459
  is_managed: true;
1460
1460
  acs_system_id: string;
1461
+ acs_credential_id: string | null;
1461
1462
  access_method: "code" | "card" | "mobile_key";
1462
1463
  acs_entrances: {
1463
1464
  display_name: string;
@@ -1533,7 +1534,6 @@ export declare const phone_session: z.ZodObject<{
1533
1534
  issued_at?: string | null | undefined;
1534
1535
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1535
1536
  external_type_display_name?: string | undefined;
1536
- acs_credential_id?: string | undefined;
1537
1537
  acs_user_id?: string | undefined;
1538
1538
  acs_credential_pool_id?: string | undefined;
1539
1539
  parent_acs_credential_id?: string | undefined;
@@ -1585,6 +1585,7 @@ export declare const phone_session: z.ZodObject<{
1585
1585
  })[];
1586
1586
  is_managed: true;
1587
1587
  acs_system_id: string;
1588
+ acs_credential_id: string | null;
1588
1589
  access_method: "code" | "card" | "mobile_key";
1589
1590
  acs_entrances: {
1590
1591
  display_name: string;
@@ -1660,7 +1661,6 @@ export declare const phone_session: z.ZodObject<{
1660
1661
  issued_at?: string | null | undefined;
1661
1662
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1662
1663
  external_type_display_name?: string | undefined;
1663
- acs_credential_id?: string | undefined;
1664
1664
  acs_user_id?: string | undefined;
1665
1665
  acs_credential_pool_id?: string | undefined;
1666
1666
  parent_acs_credential_id?: string | undefined;
@@ -1712,6 +1712,7 @@ export declare const phone_session: z.ZodObject<{
1712
1712
  })[];
1713
1713
  is_managed: true;
1714
1714
  acs_system_id: string;
1715
+ acs_credential_id: string | null;
1715
1716
  access_method: "code" | "card" | "mobile_key";
1716
1717
  acs_entrances: {
1717
1718
  display_name: string;
@@ -1787,7 +1788,6 @@ export declare const phone_session: z.ZodObject<{
1787
1788
  issued_at?: string | null | undefined;
1788
1789
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1789
1790
  external_type_display_name?: string | undefined;
1790
- acs_credential_id?: string | undefined;
1791
1791
  acs_user_id?: string | undefined;
1792
1792
  acs_credential_pool_id?: string | undefined;
1793
1793
  parent_acs_credential_id?: string | undefined;
@@ -1841,6 +1841,7 @@ export declare const phone_session: z.ZodObject<{
1841
1841
  })[];
1842
1842
  is_managed: true;
1843
1843
  acs_system_id: string;
1844
+ acs_credential_id: string | null;
1844
1845
  access_method: "code" | "card" | "mobile_key";
1845
1846
  acs_entrances: {
1846
1847
  display_name: string;
@@ -1916,7 +1917,6 @@ export declare const phone_session: z.ZodObject<{
1916
1917
  issued_at?: string | null | undefined;
1917
1918
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
1918
1919
  external_type_display_name?: string | undefined;
1919
- acs_credential_id?: string | undefined;
1920
1920
  acs_user_id?: string | undefined;
1921
1921
  acs_credential_pool_id?: string | undefined;
1922
1922
  parent_acs_credential_id?: string | undefined;
@@ -1970,6 +1970,7 @@ export declare const phone_session: z.ZodObject<{
1970
1970
  })[];
1971
1971
  is_managed: true;
1972
1972
  acs_system_id: string;
1973
+ acs_credential_id: string | null;
1973
1974
  access_method: "code" | "card" | "mobile_key";
1974
1975
  acs_entrances: {
1975
1976
  display_name: string;
@@ -2045,7 +2046,6 @@ export declare const phone_session: z.ZodObject<{
2045
2046
  issued_at?: string | null | undefined;
2046
2047
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | undefined;
2047
2048
  external_type_display_name?: string | undefined;
2048
- acs_credential_id?: string | undefined;
2049
2049
  acs_user_id?: string | undefined;
2050
2050
  acs_credential_pool_id?: string | undefined;
2051
2051
  parent_acs_credential_id?: string | undefined;
@@ -9,7 +9,7 @@ const phone_provider_session = z.object({
9
9
  acs_credential_id: true,
10
10
  })
11
11
  .extend({
12
- acs_credential_id: z.string().optional(),
12
+ acs_credential_id: z.string().nullable(),
13
13
  acs_entrances: acs_entrance.array(),
14
14
  })
15
15
  .array(),
@@ -36,7 +36,7 @@ export const thermostat_daily_program = z.object({
36
36
  .describe('Date and time at which the thermostat daily program was created.'),
37
37
  }).describe(`
38
38
  ---
39
- route_path: /thermostats/thermostat_daily_programs
39
+ route_path: /thermostats/daily_programs
40
40
  ---
41
41
  Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.
42
42
  `);