@seamapi/types 1.473.0 → 1.474.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.
@@ -16879,6 +16879,30 @@ export type Routes = {
16879
16879
  /** The customer key associated with this webview, if any. */
16880
16880
  customer_key?: string | undefined;
16881
16881
  }[] | undefined;
16882
+ access_methods?: {
16883
+ /** ID of the Seam workspace associated with the access method. */
16884
+ workspace_id: string;
16885
+ /** ID of the access method. */
16886
+ access_method_id: string;
16887
+ /** Display name of the access method. */
16888
+ display_name: string;
16889
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
16890
+ mode: 'code' | 'card' | 'mobile_key';
16891
+ /** Date and time at which the access method was created. */
16892
+ created_at: string;
16893
+ /** Date and time at which the access method was issued. */
16894
+ issued_at: string | null;
16895
+ /** Indicates whether the access method has been issued. */
16896
+ is_issued: boolean;
16897
+ /** URL of the Instant Key for mobile key access methods. */
16898
+ instant_key_url?: string | undefined;
16899
+ /** Token of the client session associated with the access method. */
16900
+ client_session_token?: string | undefined;
16901
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
16902
+ is_encoding_required?: boolean | undefined;
16903
+ /** The actual PIN code for code access methods. */
16904
+ code?: string | undefined;
16905
+ }[] | undefined;
16882
16906
  };
16883
16907
  };
16884
16908
  };
@@ -79420,6 +79444,30 @@ export type Routes = {
79420
79444
  /** The customer key associated with this webview, if any. */
79421
79445
  customer_key?: string | undefined;
79422
79446
  }[] | undefined;
79447
+ access_methods?: {
79448
+ /** ID of the Seam workspace associated with the access method. */
79449
+ workspace_id: string;
79450
+ /** ID of the access method. */
79451
+ access_method_id: string;
79452
+ /** Display name of the access method. */
79453
+ display_name: string;
79454
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
79455
+ mode: 'code' | 'card' | 'mobile_key';
79456
+ /** Date and time at which the access method was created. */
79457
+ created_at: string;
79458
+ /** Date and time at which the access method was issued. */
79459
+ issued_at: string | null;
79460
+ /** Indicates whether the access method has been issued. */
79461
+ is_issued: boolean;
79462
+ /** URL of the Instant Key for mobile key access methods. */
79463
+ instant_key_url?: string | undefined;
79464
+ /** Token of the client session associated with the access method. */
79465
+ client_session_token?: string | undefined;
79466
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
79467
+ is_encoding_required?: boolean | undefined;
79468
+ /** The actual PIN code for code access methods. */
79469
+ code?: string | undefined;
79470
+ }[] | undefined;
79423
79471
  };
79424
79472
  };
79425
79473
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.473.0",
3
+ "version": "1.474.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ import { access_method } from './access-grants/access-method.js'
3
4
  import {
4
5
  acs_access_group,
5
6
  unmanaged_acs_access_group,
@@ -63,6 +64,7 @@ export const workspaces_batch = z
63
64
  unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
64
65
  unmanaged_devices: unmanaged_device.array().optional(),
65
66
  connect_webviews: connect_webview.array().optional(),
67
+ access_methods: access_method.array().optional(),
66
68
  })
67
69
  .describe('A batch of workspace resources.')
68
70
 
@@ -89,6 +91,7 @@ export const batch = z
89
91
  unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
90
92
  unmanaged_devices: unmanaged_device.array().optional(),
91
93
  connect_webviews: connect_webview.array().optional(),
94
+ access_methods: access_method.array().optional(),
92
95
  })
93
96
  .describe('A batch of workspace resources.')
94
97
 
@@ -29149,6 +29149,10 @@ export default {
29149
29149
  batch: {
29150
29150
  description: 'A batch of workspace resources.',
29151
29151
  properties: {
29152
+ access_methods: {
29153
+ items: { $ref: '#/components/schemas/access_method' },
29154
+ type: 'array',
29155
+ },
29152
29156
  acs_access_groups: {
29153
29157
  items: {
29154
29158
  $ref: '#/components/schemas/acs_access_group',
@@ -29308,6 +29312,10 @@ export default {
29308
29312
  batch: {
29309
29313
  description: 'A batch of workspace resources.',
29310
29314
  properties: {
29315
+ access_methods: {
29316
+ items: { $ref: '#/components/schemas/access_method' },
29317
+ type: 'array',
29318
+ },
29311
29319
  acs_access_groups: {
29312
29320
  items: {
29313
29321
  $ref: '#/components/schemas/acs_access_group',
@@ -56069,6 +56077,10 @@ export default {
56069
56077
  batch: {
56070
56078
  description: 'A batch of workspace resources.',
56071
56079
  properties: {
56080
+ access_methods: {
56081
+ items: { $ref: '#/components/schemas/access_method' },
56082
+ type: 'array',
56083
+ },
56072
56084
  acs_access_groups: {
56073
56085
  items: {
56074
56086
  $ref: '#/components/schemas/acs_access_group',
@@ -56203,6 +56215,10 @@ export default {
56203
56215
  batch: {
56204
56216
  description: 'A batch of workspace resources.',
56205
56217
  properties: {
56218
+ access_methods: {
56219
+ items: { $ref: '#/components/schemas/access_method' },
56220
+ type: 'array',
56221
+ },
56206
56222
  acs_access_groups: {
56207
56223
  items: {
56208
56224
  $ref: '#/components/schemas/acs_access_group',
@@ -19550,6 +19550,32 @@ export type Routes = {
19550
19550
  customer_key?: string | undefined
19551
19551
  }[]
19552
19552
  | undefined
19553
+ access_methods?:
19554
+ | {
19555
+ /** ID of the Seam workspace associated with the access method. */
19556
+ workspace_id: string
19557
+ /** ID of the access method. */
19558
+ access_method_id: string
19559
+ /** Display name of the access method. */
19560
+ display_name: string
19561
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
19562
+ mode: 'code' | 'card' | 'mobile_key'
19563
+ /** Date and time at which the access method was created. */
19564
+ created_at: string
19565
+ /** Date and time at which the access method was issued. */
19566
+ issued_at: string | null
19567
+ /** Indicates whether the access method has been issued. */
19568
+ is_issued: boolean
19569
+ /** URL of the Instant Key for mobile key access methods. */
19570
+ instant_key_url?: string | undefined
19571
+ /** Token of the client session associated with the access method. */
19572
+ client_session_token?: string | undefined
19573
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
19574
+ is_encoding_required?: boolean | undefined
19575
+ /** The actual PIN code for code access methods. */
19576
+ code?: string | undefined
19577
+ }[]
19578
+ | undefined
19553
19579
  }
19554
19580
  }
19555
19581
  }
@@ -94367,6 +94393,32 @@ export type Routes = {
94367
94393
  customer_key?: string | undefined
94368
94394
  }[]
94369
94395
  | undefined
94396
+ access_methods?:
94397
+ | {
94398
+ /** ID of the Seam workspace associated with the access method. */
94399
+ workspace_id: string
94400
+ /** ID of the access method. */
94401
+ access_method_id: string
94402
+ /** Display name of the access method. */
94403
+ display_name: string
94404
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
94405
+ mode: 'code' | 'card' | 'mobile_key'
94406
+ /** Date and time at which the access method was created. */
94407
+ created_at: string
94408
+ /** Date and time at which the access method was issued. */
94409
+ issued_at: string | null
94410
+ /** Indicates whether the access method has been issued. */
94411
+ is_issued: boolean
94412
+ /** URL of the Instant Key for mobile key access methods. */
94413
+ instant_key_url?: string | undefined
94414
+ /** Token of the client session associated with the access method. */
94415
+ client_session_token?: string | undefined
94416
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
94417
+ is_encoding_required?: boolean | undefined
94418
+ /** The actual PIN code for code access methods. */
94419
+ code?: string | undefined
94420
+ }[]
94421
+ | undefined
94370
94422
  }
94371
94423
  }
94372
94424
  }