@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.
@@ -31594,6 +31594,17 @@ declare const _default: {
31594
31594
  format: string;
31595
31595
  type: string;
31596
31596
  };
31597
+ limit: {
31598
+ default: number;
31599
+ description: string;
31600
+ format: string;
31601
+ type: string;
31602
+ };
31603
+ page_cursor: {
31604
+ description: string;
31605
+ nullable: boolean;
31606
+ type: string;
31607
+ };
31597
31608
  user_identifier_key: {
31598
31609
  description: string;
31599
31610
  type: string;
@@ -31619,6 +31630,9 @@ declare const _default: {
31619
31630
  ok: {
31620
31631
  type: string;
31621
31632
  };
31633
+ pagination: {
31634
+ $ref: string;
31635
+ };
31622
31636
  };
31623
31637
  required: string[];
31624
31638
  type: string;
@@ -55323,6 +55337,10 @@ interface Routes {
55323
55337
  access_code_ids?: string[] | undefined;
55324
55338
  /** Your user ID for the user by which to filter access codes. */
55325
55339
  user_identifier_key?: string | undefined;
55340
+ /** Numerical limit on the number of access codes to return. */
55341
+ limit?: number;
55342
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
55343
+ page_cursor?: (string | undefined) | null;
55326
55344
  };
55327
55345
  formData: {};
55328
55346
  jsonResponse: {
@@ -55766,6 +55784,15 @@ interface Routes {
55766
55784
  /** 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. */
55767
55785
  is_offline_access_code: boolean;
55768
55786
  }>;
55787
+ /** Information about the current page of results. */
55788
+ pagination: {
55789
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
55790
+ next_page_cursor: string | null;
55791
+ /** Indicates whether there is another page of results after this one. */
55792
+ has_next_page: boolean;
55793
+ /** URL to get the next page of results. */
55794
+ next_page_url: string | null;
55795
+ };
55769
55796
  };
55770
55797
  };
55771
55798
  '/access_codes/pull_backup_access_code': {
@@ -10740,6 +10740,17 @@ declare const _default: {
10740
10740
  format: string;
10741
10741
  type: string;
10742
10742
  };
10743
+ limit: {
10744
+ default: number;
10745
+ description: string;
10746
+ format: string;
10747
+ type: string;
10748
+ };
10749
+ page_cursor: {
10750
+ description: string;
10751
+ nullable: boolean;
10752
+ type: string;
10753
+ };
10743
10754
  user_identifier_key: {
10744
10755
  description: string;
10745
10756
  type: string;
@@ -10765,6 +10776,9 @@ declare const _default: {
10765
10776
  ok: {
10766
10777
  type: string;
10767
10778
  };
10779
+ pagination: {
10780
+ $ref: string;
10781
+ };
10768
10782
  };
10769
10783
  required: string[];
10770
10784
  type: string;
@@ -17510,6 +17510,17 @@ export default {
17510
17510
  format: 'uuid',
17511
17511
  type: 'string',
17512
17512
  },
17513
+ limit: {
17514
+ default: 55000,
17515
+ description: 'Numerical limit on the number of access codes to return.',
17516
+ format: 'float',
17517
+ type: 'number',
17518
+ },
17519
+ page_cursor: {
17520
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
17521
+ nullable: true,
17522
+ type: 'string',
17523
+ },
17513
17524
  user_identifier_key: {
17514
17525
  description: 'Your user ID for the user by which to filter access codes.',
17515
17526
  type: 'string',
@@ -17531,8 +17542,9 @@ export default {
17531
17542
  type: 'array',
17532
17543
  },
17533
17544
  ok: { type: 'boolean' },
17545
+ pagination: { $ref: '#/components/schemas/pagination' },
17534
17546
  },
17535
- required: ['access_codes', 'ok'],
17547
+ required: ['access_codes', 'pagination', 'ok'],
17536
17548
  type: 'object',
17537
17549
  },
17538
17550
  },