@seamapi/types 1.370.3 → 1.371.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.
@@ -15006,6 +15006,10 @@ export interface Routes {
15006
15006
  user_identifier_key?: string | undefined;
15007
15007
  /** Returns accounts whose custom_metadata contains all of the provided key/value pairs. */
15008
15008
  custom_metadata_has?: Record<string, string | boolean> | undefined;
15009
+ /** Maximum number of records to return per page. */
15010
+ limit?: number;
15011
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
15012
+ page_cursor?: (string | undefined) | null;
15009
15013
  };
15010
15014
  formData: {};
15011
15015
  jsonResponse: {
@@ -15081,6 +15085,15 @@ export interface Routes {
15081
15085
  custom_metadata: Record<string, string | boolean>;
15082
15086
  automatically_manage_new_devices: boolean;
15083
15087
  }>;
15088
+ /** Information about the current page of results. */
15089
+ pagination: {
15090
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
15091
+ next_page_cursor: string | null;
15092
+ /** Indicates whether there is another page of results after this one. */
15093
+ has_next_page: boolean;
15094
+ /** URL to get the next page of results. */
15095
+ next_page_url: string | null;
15096
+ };
15084
15097
  };
15085
15098
  };
15086
15099
  '/connected_accounts/update': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.370.3",
3
+ "version": "1.371.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.24.0"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.37.1",
95
+ "@seamapi/blueprint": "^0.38.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -22305,6 +22305,20 @@ export default {
22305
22305
  'Returns accounts whose custom_metadata contains all of the provided key/value pairs.',
22306
22306
  type: 'object',
22307
22307
  },
22308
+ limit: {
22309
+ default: 11_000,
22310
+ description:
22311
+ 'Maximum number of records to return per page.',
22312
+ exclusiveMinimum: true,
22313
+ minimum: 0,
22314
+ type: 'integer',
22315
+ },
22316
+ page_cursor: {
22317
+ description:
22318
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
22319
+ nullable: true,
22320
+ type: 'string',
22321
+ },
22308
22322
  user_identifier_key: {
22309
22323
  description:
22310
22324
  'Returns accounts that can be accessed by the provided user_identifier_key.',
@@ -22327,8 +22341,9 @@ export default {
22327
22341
  type: 'array',
22328
22342
  },
22329
22343
  ok: { type: 'boolean' },
22344
+ pagination: { $ref: '#/components/schemas/pagination' },
22330
22345
  },
22331
- required: ['connected_accounts', 'ok'],
22346
+ required: ['connected_accounts', 'pagination', 'ok'],
22332
22347
  type: 'object',
22333
22348
  },
22334
22349
  },
@@ -17673,6 +17673,10 @@ export interface Routes {
17673
17673
  user_identifier_key?: string | undefined
17674
17674
  /** Returns accounts whose custom_metadata contains all of the provided key/value pairs. */
17675
17675
  custom_metadata_has?: Record<string, string | boolean> | undefined
17676
+ /** Maximum number of records to return per page. */
17677
+ limit?: number
17678
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
17679
+ page_cursor?: (string | undefined) | null
17676
17680
  }
17677
17681
  formData: {}
17678
17682
  jsonResponse: {
@@ -17758,6 +17762,15 @@ export interface Routes {
17758
17762
  custom_metadata: Record<string, string | boolean>
17759
17763
  automatically_manage_new_devices: boolean
17760
17764
  }>
17765
+ /** Information about the current page of results. */
17766
+ pagination: {
17767
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
17768
+ next_page_cursor: string | null
17769
+ /** Indicates whether there is another page of results after this one. */
17770
+ has_next_page: boolean
17771
+ /** URL to get the next page of results. */
17772
+ next_page_url: string | null
17773
+ }
17761
17774
  }
17762
17775
  }
17763
17776
  '/connected_accounts/update': {