@seamapi/types 1.386.2 → 1.387.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.
@@ -3621,6 +3621,10 @@ export interface Routes {
3621
3621
  access_code_ids?: string[] | undefined;
3622
3622
  /** Your user ID for the user by which to filter access codes. */
3623
3623
  user_identifier_key?: string | undefined;
3624
+ /** Numerical limit on the number of access codes to return. */
3625
+ limit?: number;
3626
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
3627
+ page_cursor?: (string | undefined) | null;
3624
3628
  };
3625
3629
  formData: {};
3626
3630
  jsonResponse: {
@@ -4064,6 +4068,15 @@ export interface Routes {
4064
4068
  /** Indicates whether the access code is intended for use in offline scenarios. If `true`, this code can be created on a device without a network connection. */
4065
4069
  is_offline_access_code: boolean;
4066
4070
  }>;
4071
+ /** Information about the current page of results. */
4072
+ pagination: {
4073
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
4074
+ next_page_cursor: string | null;
4075
+ /** Indicates whether there is another page of results after this one. */
4076
+ has_next_page: boolean;
4077
+ /** URL to get the next page of results. */
4078
+ next_page_url: string | null;
4079
+ };
4067
4080
  };
4068
4081
  };
4069
4082
  '/access_codes/pull_backup_access_code': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.386.2",
3
+ "version": "1.387.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -19167,6 +19167,19 @@ export default {
19167
19167
  format: 'uuid',
19168
19168
  type: 'string',
19169
19169
  },
19170
+ limit: {
19171
+ default: 55_000,
19172
+ description:
19173
+ 'Numerical limit on the number of access codes to return.',
19174
+ format: 'float',
19175
+ type: 'number',
19176
+ },
19177
+ page_cursor: {
19178
+ description:
19179
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
19180
+ nullable: true,
19181
+ type: 'string',
19182
+ },
19170
19183
  user_identifier_key: {
19171
19184
  description:
19172
19185
  'Your user ID for the user by which to filter access codes.',
@@ -19189,8 +19202,9 @@ export default {
19189
19202
  type: 'array',
19190
19203
  },
19191
19204
  ok: { type: 'boolean' },
19205
+ pagination: { $ref: '#/components/schemas/pagination' },
19192
19206
  },
19193
- required: ['access_codes', 'ok'],
19207
+ required: ['access_codes', 'pagination', 'ok'],
19194
19208
  type: 'object',
19195
19209
  },
19196
19210
  },
@@ -4144,6 +4144,10 @@ export interface Routes {
4144
4144
  access_code_ids?: string[] | undefined
4145
4145
  /** Your user ID for the user by which to filter access codes. */
4146
4146
  user_identifier_key?: string | undefined
4147
+ /** Numerical limit on the number of access codes to return. */
4148
+ limit?: number
4149
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
4150
+ page_cursor?: (string | undefined) | null
4147
4151
  }
4148
4152
  formData: {}
4149
4153
  jsonResponse: {
@@ -4640,6 +4644,15 @@ export interface Routes {
4640
4644
  /** Indicates whether the access code is intended for use in offline scenarios. If `true`, this code can be created on a device without a network connection. */
4641
4645
  is_offline_access_code: boolean
4642
4646
  }>
4647
+ /** Information about the current page of results. */
4648
+ pagination: {
4649
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
4650
+ next_page_cursor: string | null
4651
+ /** Indicates whether there is another page of results after this one. */
4652
+ has_next_page: boolean
4653
+ /** URL to get the next page of results. */
4654
+ next_page_url: string | null
4655
+ }
4643
4656
  }
4644
4657
  }
4645
4658
  '/access_codes/pull_backup_access_code': {