@seamapi/types 1.451.0 → 1.453.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.
@@ -8080,6 +8080,10 @@ export interface Routes {
8080
8080
  device_id: string;
8081
8081
  /** Your user ID for the user by which to filter unmanaged access codes. */
8082
8082
  user_identifier_key?: string | undefined;
8083
+ /** Numerical limit on the number of unmanaged access codes to return. */
8084
+ limit?: number;
8085
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
8086
+ page_cursor?: (string | undefined) | null;
8083
8087
  };
8084
8088
  formData: {};
8085
8089
  jsonResponse: {
@@ -8570,6 +8574,15 @@ export interface Routes {
8570
8574
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
8571
8575
  status: 'set';
8572
8576
  }>;
8577
+ /** Information about the current page of results. */
8578
+ pagination: {
8579
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
8580
+ next_page_cursor: string | null;
8581
+ /** Indicates whether there is another page of results after this one. */
8582
+ has_next_page: boolean;
8583
+ /** URL to get the next page of results. */
8584
+ next_page_url: string | null;
8585
+ };
8573
8586
  };
8574
8587
  };
8575
8588
  '/access_codes/unmanaged/update': {
@@ -9933,6 +9946,8 @@ export interface Routes {
9933
9946
  full_name?: (string | null) | undefined;
9934
9947
  };
9935
9948
  }) & {
9949
+ /** Name for the access grant. */
9950
+ name?: (string | undefined) | null;
9936
9951
  /** Unique key for the access grant within the workspace. */
9937
9952
  access_grant_key?: string | undefined;
9938
9953
  /**
@@ -9996,6 +10011,8 @@ export interface Routes {
9996
10011
  access_method_ids: string[];
9997
10012
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
9998
10013
  client_session_token?: string | undefined;
10014
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
10015
+ name: string | null;
9999
10016
  /** Display name of the Access Grant. */
10000
10017
  display_name: string;
10001
10018
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -10065,6 +10082,8 @@ export interface Routes {
10065
10082
  access_method_ids: string[];
10066
10083
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
10067
10084
  client_session_token?: string | undefined;
10085
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
10086
+ name: string | null;
10068
10087
  /** Display name of the Access Grant. */
10069
10088
  display_name: string;
10070
10089
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -10129,6 +10148,8 @@ export interface Routes {
10129
10148
  access_method_ids: string[];
10130
10149
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
10131
10150
  client_session_token?: string | undefined;
10151
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
10152
+ name: string | null;
10132
10153
  /** Display name of the Access Grant. */
10133
10154
  display_name: string;
10134
10155
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -10148,6 +10169,8 @@ export interface Routes {
10148
10169
  queryParams: {};
10149
10170
  jsonBody: {};
10150
10171
  commonParams: {
10172
+ /** Display name for the access grant. */
10173
+ name?: (string | null) | undefined;
10151
10174
  /** ID of the Access Grant to update. */
10152
10175
  access_grant_id: string;
10153
10176
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -48040,10 +48063,16 @@ export interface Routes {
48040
48063
  method: 'POST' | 'PATCH';
48041
48064
  queryParams: {};
48042
48065
  jsonBody: {
48043
- /** ID of the space that you want to update. */
48044
- space_id: string;
48045
48066
  /** Name of the space. */
48046
48067
  name?: string | undefined;
48068
+ /** ID of the space that you want to update. */
48069
+ space_id?: string | undefined;
48070
+ /** Unique key of the space that you want to update. */
48071
+ space_key?: string | undefined;
48072
+ /** IDs of the devices that you want to set for the space. If specified, this will replace all existing devices. */
48073
+ device_ids?: string[] | undefined;
48074
+ /** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
48075
+ acs_entrance_ids?: string[] | undefined;
48047
48076
  };
48048
48077
  commonParams: {};
48049
48078
  formData: {};
@@ -63533,6 +63562,8 @@ export interface Routes {
63533
63562
  access_method_ids: string[];
63534
63563
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63535
63564
  client_session_token?: string | undefined;
63565
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
63566
+ name: string | null;
63536
63567
  /** Display name of the Access Grant. */
63537
63568
  display_name: string;
63538
63569
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -63599,6 +63630,8 @@ export interface Routes {
63599
63630
  access_method_ids: string[];
63600
63631
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63601
63632
  client_session_token?: string | undefined;
63633
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
63634
+ name: string | null;
63602
63635
  /** Display name of the Access Grant. */
63603
63636
  display_name: string;
63604
63637
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -63661,6 +63694,8 @@ export interface Routes {
63661
63694
  access_method_ids: string[];
63662
63695
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
63663
63696
  client_session_token?: string | undefined;
63697
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
63698
+ name: string | null;
63664
63699
  /** Display name of the Access Grant. */
63665
63700
  display_name: string;
63666
63701
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.451.0",
3
+ "version": "1.453.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -36,6 +36,12 @@ export const access_grant = z.object({
36
36
  .describe(
37
37
  'Client Session Token. Only returned if the Access Grant has a mobile_key access method.',
38
38
  ),
39
+ name: z
40
+ .string()
41
+ .nullable()
42
+ .describe(
43
+ 'Name of the Access Grant. If not provided, the display name will be computed.',
44
+ ),
39
45
  display_name: z.string().describe('Display name of the Access Grant.'),
40
46
  instant_key_url: z
41
47
  .string()
@@ -1864,6 +1864,12 @@ export default {
1864
1864
  type: 'array',
1865
1865
  'x-deprecated': 'Use `space_ids`.',
1866
1866
  },
1867
+ name: {
1868
+ description:
1869
+ 'Name of the Access Grant. If not provided, the display name will be computed.',
1870
+ nullable: true,
1871
+ type: 'string',
1872
+ },
1867
1873
  requested_access_methods: {
1868
1874
  description:
1869
1875
  'Access methods that the user requested for the Access Grant.',
@@ -1934,6 +1940,7 @@ export default {
1934
1940
  'space_ids',
1935
1941
  'requested_access_methods',
1936
1942
  'access_method_ids',
1943
+ 'name',
1937
1944
  'display_name',
1938
1945
  'created_at',
1939
1946
  ],
@@ -26683,6 +26690,29 @@ export default {
26683
26690
  type: 'string',
26684
26691
  },
26685
26692
  },
26693
+ {
26694
+ in: 'query',
26695
+ name: 'limit',
26696
+ required: false,
26697
+ schema: {
26698
+ default: 300_000,
26699
+ description:
26700
+ 'Numerical limit on the number of unmanaged access codes to return.',
26701
+ format: 'float',
26702
+ type: 'number',
26703
+ },
26704
+ },
26705
+ {
26706
+ in: 'query',
26707
+ name: 'page_cursor',
26708
+ required: false,
26709
+ schema: {
26710
+ description:
26711
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
26712
+ nullable: true,
26713
+ type: 'string',
26714
+ },
26715
+ },
26686
26716
  ],
26687
26717
  responses: {
26688
26718
  200: {
@@ -26697,8 +26727,9 @@ export default {
26697
26727
  type: 'array',
26698
26728
  },
26699
26729
  ok: { type: 'boolean' },
26730
+ pagination: { $ref: '#/components/schemas/pagination' },
26700
26731
  },
26701
- required: ['access_codes', 'ok'],
26732
+ required: ['access_codes', 'pagination', 'ok'],
26702
26733
  type: 'object',
26703
26734
  },
26704
26735
  },
@@ -26737,6 +26768,19 @@ export default {
26737
26768
  format: 'uuid',
26738
26769
  type: 'string',
26739
26770
  },
26771
+ limit: {
26772
+ default: 300_000,
26773
+ description:
26774
+ 'Numerical limit on the number of unmanaged access codes to return.',
26775
+ format: 'float',
26776
+ type: 'number',
26777
+ },
26778
+ page_cursor: {
26779
+ description:
26780
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
26781
+ nullable: true,
26782
+ type: 'string',
26783
+ },
26740
26784
  user_identifier_key: {
26741
26785
  description:
26742
26786
  'Your user ID for the user by which to filter unmanaged access codes.',
@@ -26762,8 +26806,9 @@ export default {
26762
26806
  type: 'array',
26763
26807
  },
26764
26808
  ok: { type: 'boolean' },
26809
+ pagination: { $ref: '#/components/schemas/pagination' },
26765
26810
  },
26766
- required: ['access_codes', 'ok'],
26811
+ required: ['access_codes', 'pagination', 'ok'],
26767
26812
  type: 'object',
26768
26813
  },
26769
26814
  },
@@ -27635,6 +27680,11 @@ export default {
27635
27680
  type: 'array',
27636
27681
  'x-deprecated': 'Use `space_ids`.',
27637
27682
  },
27683
+ name: {
27684
+ description: 'Name for the access grant.',
27685
+ nullable: true,
27686
+ type: 'string',
27687
+ },
27638
27688
  requested_access_methods: {
27639
27689
  items: {
27640
27690
  properties: {
@@ -28117,6 +28167,11 @@ export default {
28117
28167
  nullable: true,
28118
28168
  type: 'string',
28119
28169
  },
28170
+ name: {
28171
+ description: 'Display name for the access grant.',
28172
+ nullable: true,
28173
+ type: 'string',
28174
+ },
28120
28175
  starts_at: {
28121
28176
  description:
28122
28177
  'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
@@ -28181,6 +28236,11 @@ export default {
28181
28236
  nullable: true,
28182
28237
  type: 'string',
28183
28238
  },
28239
+ name: {
28240
+ description: 'Display name for the access grant.',
28241
+ nullable: true,
28242
+ type: 'string',
28243
+ },
28184
28244
  starts_at: {
28185
28245
  description:
28186
28246
  'Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
@@ -32268,6 +32328,7 @@ export default {
32268
32328
  { client_session: [] },
32269
32329
  { pat_with_workspace: [] },
32270
32330
  { console_session_with_workspace: [] },
32331
+ { client_session_with_customer: [] },
32271
32332
  ],
32272
32333
  summary: '/acs/entrances/list',
32273
32334
  tags: ['/acs'],
@@ -32374,6 +32435,7 @@ export default {
32374
32435
  { client_session: [] },
32375
32436
  { pat_with_workspace: [] },
32376
32437
  { console_session_with_workspace: [] },
32438
+ { client_session_with_customer: [] },
32377
32439
  ],
32378
32440
  summary: '/acs/entrances/list',
32379
32441
  tags: ['/acs'],
@@ -47717,6 +47779,7 @@ export default {
47717
47779
  { pat_with_workspace: [] },
47718
47780
  { console_session_with_workspace: [] },
47719
47781
  { api_key: [] },
47782
+ { client_session_with_customer: [] },
47720
47783
  ],
47721
47784
  summary: '/spaces/remove_acs_entrances',
47722
47785
  tags: [],
@@ -47774,6 +47837,7 @@ export default {
47774
47837
  { pat_with_workspace: [] },
47775
47838
  { console_session_with_workspace: [] },
47776
47839
  { api_key: [] },
47840
+ { client_session_with_customer: [] },
47777
47841
  ],
47778
47842
  summary: '/spaces/remove_acs_entrances',
47779
47843
  tags: [],
@@ -47832,6 +47896,7 @@ export default {
47832
47896
  { pat_with_workspace: [] },
47833
47897
  { console_session_with_workspace: [] },
47834
47898
  { api_key: [] },
47899
+ { client_session_with_customer: [] },
47835
47900
  ],
47836
47901
  summary: '/spaces/remove_devices',
47837
47902
  tags: [],
@@ -47888,6 +47953,7 @@ export default {
47888
47953
  { pat_with_workspace: [] },
47889
47954
  { console_session_with_workspace: [] },
47890
47955
  { api_key: [] },
47956
+ { client_session_with_customer: [] },
47891
47957
  ],
47892
47958
  summary: '/spaces/remove_devices',
47893
47959
  tags: [],
@@ -47907,14 +47973,30 @@ export default {
47907
47973
  'application/json': {
47908
47974
  schema: {
47909
47975
  properties: {
47976
+ acs_entrance_ids: {
47977
+ description:
47978
+ 'IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances.',
47979
+ items: { format: 'uuid', type: 'string' },
47980
+ type: 'array',
47981
+ },
47982
+ device_ids: {
47983
+ description:
47984
+ 'IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.',
47985
+ items: { format: 'uuid', type: 'string' },
47986
+ type: 'array',
47987
+ },
47910
47988
  name: { description: 'Name of the space.', type: 'string' },
47911
47989
  space_id: {
47912
47990
  description: 'ID of the space that you want to update.',
47913
47991
  format: 'uuid',
47914
47992
  type: 'string',
47915
47993
  },
47994
+ space_key: {
47995
+ description:
47996
+ 'Unique key of the space that you want to update.',
47997
+ type: 'string',
47998
+ },
47916
47999
  },
47917
- required: ['space_id'],
47918
48000
  type: 'object',
47919
48001
  },
47920
48002
  },
@@ -47943,6 +48025,7 @@ export default {
47943
48025
  { pat_with_workspace: [] },
47944
48026
  { console_session_with_workspace: [] },
47945
48027
  { api_key: [] },
48028
+ { client_session_with_customer: [] },
47946
48029
  ],
47947
48030
  summary: '/spaces/update',
47948
48031
  tags: [],
@@ -47961,14 +48044,30 @@ export default {
47961
48044
  'application/json': {
47962
48045
  schema: {
47963
48046
  properties: {
48047
+ acs_entrance_ids: {
48048
+ description:
48049
+ 'IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances.',
48050
+ items: { format: 'uuid', type: 'string' },
48051
+ type: 'array',
48052
+ },
48053
+ device_ids: {
48054
+ description:
48055
+ 'IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.',
48056
+ items: { format: 'uuid', type: 'string' },
48057
+ type: 'array',
48058
+ },
47964
48059
  name: { description: 'Name of the space.', type: 'string' },
47965
48060
  space_id: {
47966
48061
  description: 'ID of the space that you want to update.',
47967
48062
  format: 'uuid',
47968
48063
  type: 'string',
47969
48064
  },
48065
+ space_key: {
48066
+ description:
48067
+ 'Unique key of the space that you want to update.',
48068
+ type: 'string',
48069
+ },
47970
48070
  },
47971
- required: ['space_id'],
47972
48071
  type: 'object',
47973
48072
  },
47974
48073
  },
@@ -47997,6 +48096,7 @@ export default {
47997
48096
  { pat_with_workspace: [] },
47998
48097
  { console_session_with_workspace: [] },
47999
48098
  { api_key: [] },
48099
+ { client_session_with_customer: [] },
48000
48100
  ],
48001
48101
  summary: '/spaces/update',
48002
48102
  tags: [],
@@ -9063,6 +9063,10 @@ export interface Routes {
9063
9063
  device_id: string
9064
9064
  /** Your user ID for the user by which to filter unmanaged access codes. */
9065
9065
  user_identifier_key?: string | undefined
9066
+ /** Numerical limit on the number of unmanaged access codes to return. */
9067
+ limit?: number
9068
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
9069
+ page_cursor?: (string | undefined) | null
9066
9070
  }
9067
9071
  formData: {}
9068
9072
  jsonResponse: {
@@ -9608,6 +9612,15 @@ export interface Routes {
9608
9612
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
9609
9613
  status: 'set'
9610
9614
  }>
9615
+ /** Information about the current page of results. */
9616
+ pagination: {
9617
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
9618
+ next_page_cursor: string | null
9619
+ /** Indicates whether there is another page of results after this one. */
9620
+ has_next_page: boolean
9621
+ /** URL to get the next page of results. */
9622
+ next_page_url: string | null
9623
+ }
9611
9624
  }
9612
9625
  }
9613
9626
  '/access_codes/unmanaged/update': {
@@ -11155,6 +11168,8 @@ export interface Routes {
11155
11168
  }
11156
11169
  }
11157
11170
  ) & {
11171
+ /** Name for the access grant. */
11172
+ name?: (string | undefined) | null
11158
11173
  /** Unique key for the access grant within the workspace. */
11159
11174
  access_grant_key?: string | undefined
11160
11175
  /**
@@ -11220,6 +11235,8 @@ export interface Routes {
11220
11235
  access_method_ids: string[]
11221
11236
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11222
11237
  client_session_token?: string | undefined
11238
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
11239
+ name: string | null
11223
11240
  /** Display name of the Access Grant. */
11224
11241
  display_name: string
11225
11242
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11291,6 +11308,8 @@ export interface Routes {
11291
11308
  access_method_ids: string[]
11292
11309
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11293
11310
  client_session_token?: string | undefined
11311
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
11312
+ name: string | null
11294
11313
  /** Display name of the Access Grant. */
11295
11314
  display_name: string
11296
11315
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11355,6 +11374,8 @@ export interface Routes {
11355
11374
  access_method_ids: string[]
11356
11375
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11357
11376
  client_session_token?: string | undefined
11377
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
11378
+ name: string | null
11358
11379
  /** Display name of the Access Grant. */
11359
11380
  display_name: string
11360
11381
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -11374,6 +11395,8 @@ export interface Routes {
11374
11395
  queryParams: {}
11375
11396
  jsonBody: {}
11376
11397
  commonParams: {
11398
+ /** Display name for the access grant. */
11399
+ name?: (string | null) | undefined
11377
11400
  /** ID of the Access Grant to update. */
11378
11401
  access_grant_id: string
11379
11402
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -56799,10 +56822,16 @@ export interface Routes {
56799
56822
  method: 'POST' | 'PATCH'
56800
56823
  queryParams: {}
56801
56824
  jsonBody: {
56802
- /** ID of the space that you want to update. */
56803
- space_id: string
56804
56825
  /** Name of the space. */
56805
56826
  name?: string | undefined
56827
+ /** ID of the space that you want to update. */
56828
+ space_id?: string | undefined
56829
+ /** Unique key of the space that you want to update. */
56830
+ space_key?: string | undefined
56831
+ /** IDs of the devices that you want to set for the space. If specified, this will replace all existing devices. */
56832
+ device_ids?: string[] | undefined
56833
+ /** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
56834
+ acs_entrance_ids?: string[] | undefined
56806
56835
  }
56807
56836
  commonParams: {}
56808
56837
  formData: {}
@@ -74879,6 +74908,8 @@ export interface Routes {
74879
74908
  access_method_ids: string[]
74880
74909
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
74881
74910
  client_session_token?: string | undefined
74911
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
74912
+ name: string | null
74882
74913
  /** Display name of the Access Grant. */
74883
74914
  display_name: string
74884
74915
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -74945,6 +74976,8 @@ export interface Routes {
74945
74976
  access_method_ids: string[]
74946
74977
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
74947
74978
  client_session_token?: string | undefined
74979
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
74980
+ name: string | null
74948
74981
  /** Display name of the Access Grant. */
74949
74982
  display_name: string
74950
74983
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -75007,6 +75040,8 @@ export interface Routes {
75007
75040
  access_method_ids: string[]
75008
75041
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
75009
75042
  client_session_token?: string | undefined
75043
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
75044
+ name: string | null
75010
75045
  /** Display name of the Access Grant. */
75011
75046
  display_name: string
75012
75047
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */