@seamapi/types 1.414.1 → 1.415.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.
@@ -19282,6 +19282,8 @@ export interface Routes {
19282
19282
  custom_metadata_has?: Record<string, string | boolean> | undefined;
19283
19283
  /** Maximum number of records to return per page. */
19284
19284
  limit?: number;
19285
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
19286
+ page_cursor?: (string | undefined) | null;
19285
19287
  };
19286
19288
  formData: {};
19287
19289
  jsonResponse: {
@@ -19328,6 +19330,15 @@ export interface Routes {
19328
19330
  /** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
19329
19331
  selected_provider: string | null;
19330
19332
  }>;
19333
+ /** Information about the current page of results. */
19334
+ pagination: {
19335
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
19336
+ next_page_cursor: string | null;
19337
+ /** Indicates whether there is another page of results after this one. */
19338
+ has_next_page: boolean;
19339
+ /** URL to get the next page of results. */
19340
+ next_page_url: string | null;
19341
+ };
19331
19342
  };
19332
19343
  };
19333
19344
  '/connected_accounts/delete': {
@@ -41989,7 +42000,7 @@ export interface Routes {
41989
42000
  endpoint_id?: string | undefined;
41990
42001
  } | undefined;
41991
42002
  is_managed: true;
41992
- acs_credential_id?: (string | undefined) | null;
42003
+ acs_credential_id: string | null;
41993
42004
  acs_entrances: Array<{
41994
42005
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
41995
42006
  acs_system_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.414.1",
3
+ "version": "1.415.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,7 +11,7 @@ const phone_provider_session = z.object({
11
11
  acs_credential_id: true,
12
12
  })
13
13
  .extend({
14
- acs_credential_id: z.string().optional().nullable(),
14
+ acs_credential_id: z.string().nullable(),
15
15
  acs_entrances: acs_entrance.array(),
16
16
  })
17
17
  .array(),
@@ -17206,6 +17206,7 @@ export default {
17206
17206
  'errors',
17207
17207
  'warnings',
17208
17208
  'is_managed',
17209
+ 'acs_credential_id',
17209
17210
  'acs_entrances',
17210
17211
  ],
17211
17212
  type: 'object',
@@ -29199,6 +29200,12 @@ export default {
29199
29200
  format: 'float',
29200
29201
  type: 'number',
29201
29202
  },
29203
+ page_cursor: {
29204
+ description:
29205
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
29206
+ nullable: true,
29207
+ type: 'string',
29208
+ },
29202
29209
  user_identifier_key: {
29203
29210
  description:
29204
29211
  'Your user ID for the user by which you want to filter Connect Webviews.',
@@ -29221,8 +29228,9 @@ export default {
29221
29228
  type: 'array',
29222
29229
  },
29223
29230
  ok: { type: 'boolean' },
29231
+ pagination: { $ref: '#/components/schemas/pagination' },
29224
29232
  },
29225
- required: ['connect_webviews', 'ok'],
29233
+ required: ['connect_webviews', 'pagination', 'ok'],
29226
29234
  type: 'object',
29227
29235
  },
29228
29236
  },
@@ -22342,6 +22342,8 @@ export interface Routes {
22342
22342
  custom_metadata_has?: Record<string, string | boolean> | undefined
22343
22343
  /** Maximum number of records to return per page. */
22344
22344
  limit?: number
22345
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
22346
+ page_cursor?: (string | undefined) | null
22345
22347
  }
22346
22348
  formData: {}
22347
22349
  jsonResponse: {
@@ -22390,6 +22392,15 @@ export interface Routes {
22390
22392
  /** Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
22391
22393
  selected_provider: string | null
22392
22394
  }>
22395
+ /** Information about the current page of results. */
22396
+ pagination: {
22397
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
22398
+ next_page_cursor: string | null
22399
+ /** Indicates whether there is another page of results after this one. */
22400
+ has_next_page: boolean
22401
+ /** URL to get the next page of results. */
22402
+ next_page_url: string | null
22403
+ }
22393
22404
  }
22394
22405
  }
22395
22406
  '/connected_accounts/delete': {
@@ -49465,7 +49476,7 @@ export interface Routes {
49465
49476
  }
49466
49477
  | undefined
49467
49478
  is_managed: true
49468
- acs_credential_id?: (string | undefined) | null
49479
+ acs_credential_id: string | null
49469
49480
  acs_entrances: Array<{
49470
49481
  /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
49471
49482
  acs_system_id: string