@seamapi/types 1.441.1 → 1.442.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.
@@ -11440,6 +11440,8 @@ export interface Routes {
11440
11440
  instant_key_url?: string | undefined;
11441
11441
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
11442
11442
  is_encoding_required?: boolean | undefined;
11443
+ /** The actual PIN code for code access methods. */
11444
+ code?: string | undefined;
11443
11445
  };
11444
11446
  };
11445
11447
  };
@@ -11471,6 +11473,8 @@ export interface Routes {
11471
11473
  instant_key_url?: string | undefined;
11472
11474
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
11473
11475
  is_encoding_required?: boolean | undefined;
11476
+ /** The actual PIN code for code access methods. */
11477
+ code?: string | undefined;
11474
11478
  }>;
11475
11479
  };
11476
11480
  };
@@ -16483,6 +16487,8 @@ export interface Routes {
16483
16487
  connected_account_id?: string | undefined;
16484
16488
  /** IDs of the entrances for which you want to retrieve all entrances. */
16485
16489
  acs_entrance_ids?: string[] | undefined;
16490
+ /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
16491
+ search?: string | undefined;
16486
16492
  };
16487
16493
  formData: {};
16488
16494
  jsonResponse: {
@@ -47901,7 +47907,10 @@ export interface Routes {
47901
47907
  method: 'GET' | 'POST';
47902
47908
  queryParams: {};
47903
47909
  jsonBody: {};
47904
- commonParams: {};
47910
+ commonParams: {
47911
+ /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
47912
+ search?: string | undefined;
47913
+ };
47905
47914
  formData: {};
47906
47915
  jsonResponse: {
47907
47916
  spaces: Array<{
@@ -63606,6 +63615,8 @@ export interface Routes {
63606
63615
  instant_key_url?: string | undefined;
63607
63616
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
63608
63617
  is_encoding_required?: boolean | undefined;
63618
+ /** The actual PIN code for code access methods. */
63619
+ code?: string | undefined;
63609
63620
  };
63610
63621
  };
63611
63622
  };
@@ -63637,6 +63648,8 @@ export interface Routes {
63637
63648
  instant_key_url?: string | undefined;
63638
63649
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
63639
63650
  is_encoding_required?: boolean | undefined;
63651
+ /** The actual PIN code for code access methods. */
63652
+ code?: string | undefined;
63640
63653
  }>;
63641
63654
  };
63642
63655
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.441.1",
3
+ "version": "1.442.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -32,6 +32,10 @@ export const access_method = z.object({
32
32
  .describe(
33
33
  'Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.',
34
34
  ),
35
+ code: z
36
+ .string()
37
+ .optional()
38
+ .describe('The actual PIN code for code access methods.'),
35
39
  }).describe(`
36
40
  ---
37
41
  draft: Early access.
@@ -1940,6 +1940,10 @@ export default {
1940
1940
  format: 'uuid',
1941
1941
  type: 'string',
1942
1942
  },
1943
+ code: {
1944
+ description: 'The actual PIN code for code access methods.',
1945
+ type: 'string',
1946
+ },
1943
1947
  created_at: {
1944
1948
  description:
1945
1949
  'Date and time at which the access method was created.',
@@ -32117,6 +32121,16 @@ export default {
32117
32121
  type: 'array',
32118
32122
  },
32119
32123
  },
32124
+ {
32125
+ in: 'query',
32126
+ name: 'search',
32127
+ schema: {
32128
+ description:
32129
+ 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
32130
+ minLength: 1,
32131
+ type: 'string',
32132
+ },
32133
+ },
32120
32134
  ],
32121
32135
  responses: {
32122
32136
  200: {
@@ -32206,6 +32220,12 @@ export default {
32206
32220
  type: 'string',
32207
32221
  'x-deprecated': 'Use `space_id`.',
32208
32222
  },
32223
+ search: {
32224
+ description:
32225
+ 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
32226
+ minLength: 1,
32227
+ type: 'string',
32228
+ },
32209
32229
  space_id: {
32210
32230
  description:
32211
32231
  'ID of the space for which you want to list entrances.',
@@ -47305,6 +47325,18 @@ export default {
47305
47325
  get: {
47306
47326
  description: 'Returns a list of all spaces.',
47307
47327
  operationId: 'spacesListGet',
47328
+ parameters: [
47329
+ {
47330
+ in: 'query',
47331
+ name: 'search',
47332
+ schema: {
47333
+ description:
47334
+ 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
47335
+ minLength: 1,
47336
+ type: 'string',
47337
+ },
47338
+ },
47339
+ ],
47308
47340
  responses: {
47309
47341
  200: {
47310
47342
  content: {
@@ -47344,6 +47376,23 @@ export default {
47344
47376
  post: {
47345
47377
  description: 'Returns a list of all spaces.',
47346
47378
  operationId: 'spacesListPost',
47379
+ requestBody: {
47380
+ content: {
47381
+ 'application/json': {
47382
+ schema: {
47383
+ properties: {
47384
+ search: {
47385
+ description:
47386
+ 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
47387
+ minLength: 1,
47388
+ type: 'string',
47389
+ },
47390
+ },
47391
+ type: 'object',
47392
+ },
47393
+ },
47394
+ },
47395
+ },
47347
47396
  responses: {
47348
47397
  200: {
47349
47398
  content: {
@@ -12845,6 +12845,8 @@ export interface Routes {
12845
12845
  instant_key_url?: string | undefined
12846
12846
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
12847
12847
  is_encoding_required?: boolean | undefined
12848
+ /** The actual PIN code for code access methods. */
12849
+ code?: string | undefined
12848
12850
  }
12849
12851
  }
12850
12852
  }
@@ -12876,6 +12878,8 @@ export interface Routes {
12876
12878
  instant_key_url?: string | undefined
12877
12879
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
12878
12880
  is_encoding_required?: boolean | undefined
12881
+ /** The actual PIN code for code access methods. */
12882
+ code?: string | undefined
12879
12883
  }>
12880
12884
  }
12881
12885
  }
@@ -18664,6 +18668,8 @@ export interface Routes {
18664
18668
  connected_account_id?: string | undefined
18665
18669
  /** IDs of the entrances for which you want to retrieve all entrances. */
18666
18670
  acs_entrance_ids?: string[] | undefined
18671
+ /** String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`. */
18672
+ search?: string | undefined
18667
18673
  }
18668
18674
  formData: {}
18669
18675
  jsonResponse: {
@@ -56603,7 +56609,10 @@ export interface Routes {
56603
56609
  method: 'GET' | 'POST'
56604
56610
  queryParams: {}
56605
56611
  jsonBody: {}
56606
- commonParams: {}
56612
+ commonParams: {
56613
+ /** String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`. */
56614
+ search?: string | undefined
56615
+ }
56607
56616
  formData: {}
56608
56617
  jsonResponse: {
56609
56618
  spaces: Array<{
@@ -74873,6 +74882,8 @@ export interface Routes {
74873
74882
  instant_key_url?: string | undefined
74874
74883
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
74875
74884
  is_encoding_required?: boolean | undefined
74885
+ /** The actual PIN code for code access methods. */
74886
+ code?: string | undefined
74876
74887
  }
74877
74888
  }
74878
74889
  }
@@ -74904,6 +74915,8 @@ export interface Routes {
74904
74915
  instant_key_url?: string | undefined
74905
74916
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
74906
74917
  is_encoding_required?: boolean | undefined
74918
+ /** The actual PIN code for code access methods. */
74919
+ code?: string | undefined
74907
74920
  }>
74908
74921
  }
74909
74922
  }