@seamapi/types 1.449.0 → 1.451.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.
@@ -9994,6 +9994,8 @@ export interface Routes {
9994
9994
  }>;
9995
9995
  /** IDs of the access methods created for the Access Grant. */
9996
9996
  access_method_ids: string[];
9997
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
9998
+ client_session_token?: string | undefined;
9997
9999
  /** Display name of the Access Grant. */
9998
10000
  display_name: string;
9999
10001
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -10061,6 +10063,8 @@ export interface Routes {
10061
10063
  }>;
10062
10064
  /** IDs of the access methods created for the Access Grant. */
10063
10065
  access_method_ids: string[];
10066
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
10067
+ client_session_token?: string | undefined;
10064
10068
  /** Display name of the Access Grant. */
10065
10069
  display_name: string;
10066
10070
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -10123,6 +10127,8 @@ export interface Routes {
10123
10127
  }>;
10124
10128
  /** IDs of the access methods created for the Access Grant. */
10125
10129
  access_method_ids: string[];
10130
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
10131
+ client_session_token?: string | undefined;
10126
10132
  /** Display name of the Access Grant. */
10127
10133
  display_name: string;
10128
10134
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11451,6 +11457,8 @@ export interface Routes {
11451
11457
  issued_at?: string | undefined;
11452
11458
  /** URL of the Instant Key for mobile key access methods. */
11453
11459
  instant_key_url?: string | undefined;
11460
+ /** Token of the client session associated with the access method. */
11461
+ client_session_token?: string | undefined;
11454
11462
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
11455
11463
  is_encoding_required?: boolean | undefined;
11456
11464
  /** The actual PIN code for code access methods. */
@@ -11490,6 +11498,8 @@ export interface Routes {
11490
11498
  issued_at?: string | undefined;
11491
11499
  /** URL of the Instant Key for mobile key access methods. */
11492
11500
  instant_key_url?: string | undefined;
11501
+ /** Token of the client session associated with the access method. */
11502
+ client_session_token?: string | undefined;
11493
11503
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
11494
11504
  is_encoding_required?: boolean | undefined;
11495
11505
  /** The actual PIN code for code access methods. */
@@ -46552,6 +46562,7 @@ export interface Routes {
46552
46562
  name: string;
46553
46563
  }>;
46554
46564
  needs_review?: boolean | undefined;
46565
+ is_draft?: boolean | undefined;
46555
46566
  }>;
46556
46567
  };
46557
46568
  };
@@ -47969,6 +47980,8 @@ export interface Routes {
47969
47980
  commonParams: {
47970
47981
  /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
47971
47982
  search?: string | undefined;
47983
+ /** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
47984
+ connected_account_id?: string | undefined;
47972
47985
  /** Filter spaces by space_key. */
47973
47986
  space_key?: string | undefined;
47974
47987
  };
@@ -63518,6 +63531,8 @@ export interface Routes {
63518
63531
  }>;
63519
63532
  /** IDs of the access methods created for the Access Grant. */
63520
63533
  access_method_ids: string[];
63534
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63535
+ client_session_token?: string | undefined;
63521
63536
  /** Display name of the Access Grant. */
63522
63537
  display_name: string;
63523
63538
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -63582,6 +63597,8 @@ export interface Routes {
63582
63597
  }>;
63583
63598
  /** IDs of the access methods created for the Access Grant. */
63584
63599
  access_method_ids: string[];
63600
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63601
+ client_session_token?: string | undefined;
63585
63602
  /** Display name of the Access Grant. */
63586
63603
  display_name: string;
63587
63604
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -63642,6 +63659,8 @@ export interface Routes {
63642
63659
  }>;
63643
63660
  /** IDs of the access methods created for the Access Grant. */
63644
63661
  access_method_ids: string[];
63662
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63663
+ client_session_token?: string | undefined;
63645
63664
  /** Display name of the Access Grant. */
63646
63665
  display_name: string;
63647
63666
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -63694,6 +63713,8 @@ export interface Routes {
63694
63713
  issued_at?: string | undefined;
63695
63714
  /** URL of the Instant Key for mobile key access methods. */
63696
63715
  instant_key_url?: string | undefined;
63716
+ /** Token of the client session associated with the access method. */
63717
+ client_session_token?: string | undefined;
63697
63718
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
63698
63719
  is_encoding_required?: boolean | undefined;
63699
63720
  /** The actual PIN code for code access methods. */
@@ -63727,6 +63748,8 @@ export interface Routes {
63727
63748
  issued_at?: string | undefined;
63728
63749
  /** URL of the Instant Key for mobile key access methods. */
63729
63750
  instant_key_url?: string | undefined;
63751
+ /** Token of the client session associated with the access method. */
63752
+ client_session_token?: string | undefined;
63730
63753
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
63731
63754
  is_encoding_required?: boolean | undefined;
63732
63755
  /** The actual PIN code for code access methods. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.449.0",
3
+ "version": "1.451.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -30,6 +30,12 @@ export const access_grant = z.object({
30
30
  access_method_ids: z
31
31
  .array(z.string().uuid())
32
32
  .describe('IDs of the access methods created for the Access Grant.'),
33
+ client_session_token: z
34
+ .string()
35
+ .optional()
36
+ .describe(
37
+ 'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
38
+ ),
33
39
  display_name: z.string().describe('Display name of the Access Grant.'),
34
40
  instant_key_url: z
35
41
  .string()
@@ -26,6 +26,10 @@ export const access_method = z.object({
26
26
  .url()
27
27
  .optional()
28
28
  .describe('URL of the Instant Key for mobile key access methods.'),
29
+ client_session_token: z
30
+ .string()
31
+ .optional()
32
+ .describe('Token of the client session associated with the access method.'),
29
33
  is_encoding_required: z
30
34
  .boolean()
31
35
  .optional()
@@ -1833,6 +1833,11 @@ export default {
1833
1833
  items: { format: 'uuid', type: 'string' },
1834
1834
  type: 'array',
1835
1835
  },
1836
+ client_session_token: {
1837
+ description:
1838
+ 'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
1839
+ type: 'string',
1840
+ },
1836
1841
  created_at: {
1837
1842
  description: 'Date and time at which the Access Grant was created.',
1838
1843
  format: 'date-time',
@@ -1945,6 +1950,11 @@ export default {
1945
1950
  format: 'uuid',
1946
1951
  type: 'string',
1947
1952
  },
1953
+ client_session_token: {
1954
+ description:
1955
+ 'Token of the client session associated with the access method.',
1956
+ type: 'string',
1957
+ },
1948
1958
  code: {
1949
1959
  description: 'The actual PIN code for code access methods.',
1950
1960
  type: 'string',
@@ -46674,6 +46684,7 @@ export default {
46674
46684
  },
46675
46685
  type: 'array',
46676
46686
  },
46687
+ is_draft: { type: 'boolean' },
46677
46688
  name: { type: 'string' },
46678
46689
  needs_review: { type: 'boolean' },
46679
46690
  partner_resource_key: { type: 'string' },
@@ -46770,6 +46781,7 @@ export default {
46770
46781
  },
46771
46782
  type: 'array',
46772
46783
  },
46784
+ is_draft: { type: 'boolean' },
46773
46785
  name: { type: 'string' },
46774
46786
  needs_review: { type: 'boolean' },
46775
46787
  partner_resource_key: { type: 'string' },
@@ -46862,6 +46874,7 @@ export default {
46862
46874
  { pat_with_workspace: [] },
46863
46875
  { console_session_with_workspace: [] },
46864
46876
  { api_key: [] },
46877
+ { client_session_with_customer: [] },
46865
46878
  ],
46866
46879
  summary: '/spaces/add_acs_entrances',
46867
46880
  tags: [],
@@ -46920,6 +46933,7 @@ export default {
46920
46933
  { pat_with_workspace: [] },
46921
46934
  { console_session_with_workspace: [] },
46922
46935
  { api_key: [] },
46936
+ { client_session_with_customer: [] },
46923
46937
  ],
46924
46938
  summary: '/spaces/add_acs_entrances',
46925
46939
  tags: [],
@@ -46979,6 +46993,7 @@ export default {
46979
46993
  { pat_with_workspace: [] },
46980
46994
  { console_session_with_workspace: [] },
46981
46995
  { api_key: [] },
46996
+ { client_session_with_customer: [] },
46982
46997
  ],
46983
46998
  summary: '/spaces/add_devices',
46984
46999
  tags: [],
@@ -47036,6 +47051,7 @@ export default {
47036
47051
  { pat_with_workspace: [] },
47037
47052
  { console_session_with_workspace: [] },
47038
47053
  { api_key: [] },
47054
+ { client_session_with_customer: [] },
47039
47055
  ],
47040
47056
  summary: '/spaces/add_devices',
47041
47057
  tags: [],
@@ -47524,6 +47540,18 @@ export default {
47524
47540
  type: 'string',
47525
47541
  },
47526
47542
  },
47543
+ {
47544
+ in: 'query',
47545
+ name: 'connected_account_id',
47546
+ schema: {
47547
+ description:
47548
+ 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
47549
+ format: 'uuid',
47550
+ type: 'string',
47551
+ 'x-draft': 'Needs review.',
47552
+ 'x-undocumented': 'Only used internally.',
47553
+ },
47554
+ },
47527
47555
  {
47528
47556
  in: 'query',
47529
47557
  name: 'space_key',
@@ -47578,6 +47606,14 @@ export default {
47578
47606
  'application/json': {
47579
47607
  schema: {
47580
47608
  properties: {
47609
+ connected_account_id: {
47610
+ description:
47611
+ 'Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.',
47612
+ format: 'uuid',
47613
+ type: 'string',
47614
+ 'x-draft': 'Needs review.',
47615
+ 'x-undocumented': 'Only used internally.',
47616
+ },
47581
47617
  search: {
47582
47618
  description:
47583
47619
  'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
@@ -11218,6 +11218,8 @@ export interface Routes {
11218
11218
  }>
11219
11219
  /** IDs of the access methods created for the Access Grant. */
11220
11220
  access_method_ids: string[]
11221
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11222
+ client_session_token?: string | undefined
11221
11223
  /** Display name of the Access Grant. */
11222
11224
  display_name: string
11223
11225
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11287,6 +11289,8 @@ export interface Routes {
11287
11289
  }>
11288
11290
  /** IDs of the access methods created for the Access Grant. */
11289
11291
  access_method_ids: string[]
11292
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11293
+ client_session_token?: string | undefined
11290
11294
  /** Display name of the Access Grant. */
11291
11295
  display_name: string
11292
11296
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11349,6 +11353,8 @@ export interface Routes {
11349
11353
  }>
11350
11354
  /** IDs of the access methods created for the Access Grant. */
11351
11355
  access_method_ids: string[]
11356
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11357
+ client_session_token?: string | undefined
11352
11358
  /** Display name of the Access Grant. */
11353
11359
  display_name: string
11354
11360
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -12858,6 +12864,8 @@ export interface Routes {
12858
12864
  issued_at?: string | undefined
12859
12865
  /** URL of the Instant Key for mobile key access methods. */
12860
12866
  instant_key_url?: string | undefined
12867
+ /** Token of the client session associated with the access method. */
12868
+ client_session_token?: string | undefined
12861
12869
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
12862
12870
  is_encoding_required?: boolean | undefined
12863
12871
  /** The actual PIN code for code access methods. */
@@ -12897,6 +12905,8 @@ export interface Routes {
12897
12905
  issued_at?: string | undefined
12898
12906
  /** URL of the Instant Key for mobile key access methods. */
12899
12907
  instant_key_url?: string | undefined
12908
+ /** Token of the client session associated with the access method. */
12909
+ client_session_token?: string | undefined
12900
12910
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
12901
12911
  is_encoding_required?: boolean | undefined
12902
12912
  /** The actual PIN code for code access methods. */
@@ -54964,6 +54974,7 @@ export interface Routes {
54964
54974
  name: string
54965
54975
  }>
54966
54976
  needs_review?: boolean | undefined
54977
+ is_draft?: boolean | undefined
54967
54978
  }>
54968
54979
  }
54969
54980
  }
@@ -56728,6 +56739,8 @@ export interface Routes {
56728
56739
  commonParams: {
56729
56740
  /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
56730
56741
  search?: string | undefined
56742
+ /** Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account. */
56743
+ connected_account_id?: string | undefined
56731
56744
  /** Filter spaces by space_key. */
56732
56745
  space_key?: string | undefined
56733
56746
  }
@@ -74864,6 +74877,8 @@ export interface Routes {
74864
74877
  }>
74865
74878
  /** IDs of the access methods created for the Access Grant. */
74866
74879
  access_method_ids: string[]
74880
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
74881
+ client_session_token?: string | undefined
74867
74882
  /** Display name of the Access Grant. */
74868
74883
  display_name: string
74869
74884
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -74928,6 +74943,8 @@ export interface Routes {
74928
74943
  }>
74929
74944
  /** IDs of the access methods created for the Access Grant. */
74930
74945
  access_method_ids: string[]
74946
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
74947
+ client_session_token?: string | undefined
74931
74948
  /** Display name of the Access Grant. */
74932
74949
  display_name: string
74933
74950
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -74988,6 +75005,8 @@ export interface Routes {
74988
75005
  }>
74989
75006
  /** IDs of the access methods created for the Access Grant. */
74990
75007
  access_method_ids: string[]
75008
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
75009
+ client_session_token?: string | undefined
74991
75010
  /** Display name of the Access Grant. */
74992
75011
  display_name: string
74993
75012
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -75040,6 +75059,8 @@ export interface Routes {
75040
75059
  issued_at?: string | undefined
75041
75060
  /** URL of the Instant Key for mobile key access methods. */
75042
75061
  instant_key_url?: string | undefined
75062
+ /** Token of the client session associated with the access method. */
75063
+ client_session_token?: string | undefined
75043
75064
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
75044
75065
  is_encoding_required?: boolean | undefined
75045
75066
  /** The actual PIN code for code access methods. */
@@ -75073,6 +75094,8 @@ export interface Routes {
75073
75094
  issued_at?: string | undefined
75074
75095
  /** URL of the Instant Key for mobile key access methods. */
75075
75096
  instant_key_url?: string | undefined
75097
+ /** Token of the client session associated with the access method. */
75098
+ client_session_token?: string | undefined
75076
75099
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
75077
75100
  is_encoding_required?: boolean | undefined
75078
75101
  /** The actual PIN code for code access methods. */