@seamapi/types 1.452.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': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.452.0",
3
+ "version": "1.453.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -26690,6 +26690,29 @@ export default {
26690
26690
  type: 'string',
26691
26691
  },
26692
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
+ },
26693
26716
  ],
26694
26717
  responses: {
26695
26718
  200: {
@@ -26704,8 +26727,9 @@ export default {
26704
26727
  type: 'array',
26705
26728
  },
26706
26729
  ok: { type: 'boolean' },
26730
+ pagination: { $ref: '#/components/schemas/pagination' },
26707
26731
  },
26708
- required: ['access_codes', 'ok'],
26732
+ required: ['access_codes', 'pagination', 'ok'],
26709
26733
  type: 'object',
26710
26734
  },
26711
26735
  },
@@ -26744,6 +26768,19 @@ export default {
26744
26768
  format: 'uuid',
26745
26769
  type: 'string',
26746
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
+ },
26747
26784
  user_identifier_key: {
26748
26785
  description:
26749
26786
  'Your user ID for the user by which to filter unmanaged access codes.',
@@ -26769,8 +26806,9 @@ export default {
26769
26806
  type: 'array',
26770
26807
  },
26771
26808
  ok: { type: 'boolean' },
26809
+ pagination: { $ref: '#/components/schemas/pagination' },
26772
26810
  },
26773
- required: ['access_codes', 'ok'],
26811
+ required: ['access_codes', 'pagination', 'ok'],
26774
26812
  type: 'object',
26775
26813
  },
26776
26814
  },
@@ -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': {