@seamapi/types 1.520.0 → 1.521.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.
@@ -72534,6 +72534,9 @@ declare const _default: {
72534
72534
  ok: {
72535
72535
  type: string;
72536
72536
  };
72537
+ pagination: {
72538
+ $ref: string;
72539
+ };
72537
72540
  };
72538
72541
  required: string[];
72539
72542
  type: string;
@@ -72577,66 +72580,68 @@ declare const _default: {
72577
72580
  content: {
72578
72581
  'application/json': {
72579
72582
  schema: {
72580
- oneOf: ({
72581
- properties: {
72582
- acs_system_id: {
72583
- description: string;
72584
- format: string;
72585
- type: string;
72586
- };
72587
- limit: {
72588
- default: number;
72589
- description: string;
72590
- format: string;
72591
- type: string;
72592
- };
72593
- acs_system_ids?: never;
72594
- acs_encoder_ids?: never;
72595
- };
72596
- required: string[];
72597
- type: string;
72598
- } | {
72599
- properties: {
72600
- acs_system_ids: {
72601
- description: string;
72602
- items: {
72583
+ allOf: ({
72584
+ oneOf: ({
72585
+ properties: {
72586
+ acs_system_id: {
72587
+ description: string;
72603
72588
  format: string;
72604
72589
  type: string;
72605
72590
  };
72606
- type: string;
72591
+ acs_system_ids?: never;
72592
+ acs_encoder_ids?: never;
72607
72593
  };
72608
- limit: {
72609
- default: number;
72610
- description: string;
72611
- format: string;
72612
- type: string;
72594
+ required: string[];
72595
+ type: string;
72596
+ } | {
72597
+ properties: {
72598
+ acs_system_ids: {
72599
+ description: string;
72600
+ items: {
72601
+ format: string;
72602
+ type: string;
72603
+ };
72604
+ type: string;
72605
+ };
72606
+ acs_system_id?: never;
72607
+ acs_encoder_ids?: never;
72613
72608
  };
72614
- acs_system_id?: never;
72615
- acs_encoder_ids?: never;
72616
- };
72617
- required: string[];
72618
- type: string;
72619
- } | {
72620
- properties: {
72621
- acs_encoder_ids: {
72622
- description: string;
72623
- items: {
72624
- format: string;
72609
+ required: string[];
72610
+ type: string;
72611
+ } | {
72612
+ properties: {
72613
+ acs_encoder_ids: {
72614
+ description: string;
72615
+ items: {
72616
+ format: string;
72617
+ type: string;
72618
+ };
72625
72619
  type: string;
72626
72620
  };
72627
- type: string;
72621
+ acs_system_id?: never;
72622
+ acs_system_ids?: never;
72628
72623
  };
72624
+ required: string[];
72625
+ type: string;
72626
+ })[];
72627
+ properties?: never;
72628
+ type?: never;
72629
+ } | {
72630
+ properties: {
72629
72631
  limit: {
72630
72632
  default: number;
72631
72633
  description: string;
72632
72634
  format: string;
72633
72635
  type: string;
72634
72636
  };
72635
- acs_system_id?: never;
72636
- acs_system_ids?: never;
72637
+ page_cursor: {
72638
+ description: string;
72639
+ nullable: boolean;
72640
+ type: string;
72641
+ };
72637
72642
  };
72638
- required: string[];
72639
72643
  type: string;
72644
+ oneOf?: never;
72640
72645
  })[];
72641
72646
  };
72642
72647
  };
@@ -72657,6 +72662,9 @@ declare const _default: {
72657
72662
  ok: {
72658
72663
  type: string;
72659
72664
  };
72665
+ pagination: {
72666
+ $ref: string;
72667
+ };
72660
72668
  };
72661
72669
  required: string[];
72662
72670
  type: string;
@@ -124601,21 +124609,20 @@ type Routes = {
124601
124609
  method: 'GET' | 'POST';
124602
124610
  queryParams: {};
124603
124611
  jsonBody: {};
124604
- commonParams: {
124612
+ commonParams: ({
124605
124613
  /** ID of the access system for which you want to retrieve all encoders. */
124606
124614
  acs_system_id: string;
124607
- /** Number of encoders to return. */
124608
- limit?: number;
124609
124615
  } | {
124610
124616
  /** IDs of the access systems for which you want to retrieve all encoders. */
124611
124617
  acs_system_ids: string[];
124612
- /** Number of encoders to return. */
124613
- limit?: number;
124614
124618
  } | {
124615
124619
  /** IDs of the encoders that you want to retrieve. */
124616
124620
  acs_encoder_ids: string[];
124621
+ }) & {
124617
124622
  /** Number of encoders to return. */
124618
124623
  limit?: number;
124624
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
124625
+ page_cursor?: (string | undefined) | null;
124619
124626
  };
124620
124627
  formData: {};
124621
124628
  jsonResponse: {
@@ -124642,6 +124649,15 @@ type Routes = {
124642
124649
  /** Display name for the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners). */
124643
124650
  display_name: string;
124644
124651
  }[];
124652
+ /** Information about the current page of results. */
124653
+ pagination: {
124654
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
124655
+ next_page_cursor: string | null;
124656
+ /** Indicates whether there is another page of results after this one. */
124657
+ has_next_page: boolean;
124658
+ /** URL to get the next page of results. */
124659
+ next_page_url: string | null;
124660
+ };
124645
124661
  };
124646
124662
  };
124647
124663
  '/acs/encoders/scan_credential': {
package/dist/index.cjs CHANGED
@@ -35045,9 +35045,10 @@ var openapi_default = {
35045
35045
  items: { $ref: "#/components/schemas/acs_encoder" },
35046
35046
  type: "array"
35047
35047
  },
35048
- ok: { type: "boolean" }
35048
+ ok: { type: "boolean" },
35049
+ pagination: { $ref: "#/components/schemas/pagination" }
35049
35050
  },
35050
- required: ["acs_encoders", "ok"],
35051
+ required: ["acs_encoders", "pagination", "ok"],
35051
35052
  type: "object"
35052
35053
  }
35053
35054
  }
@@ -35077,56 +35078,58 @@ var openapi_default = {
35077
35078
  content: {
35078
35079
  "application/json": {
35079
35080
  schema: {
35080
- oneOf: [
35081
+ allOf: [
35081
35082
  {
35082
- properties: {
35083
- acs_system_id: {
35084
- description: "ID of the access system for which you want to retrieve all encoders.",
35085
- format: "uuid",
35086
- type: "string"
35083
+ oneOf: [
35084
+ {
35085
+ properties: {
35086
+ acs_system_id: {
35087
+ description: "ID of the access system for which you want to retrieve all encoders.",
35088
+ format: "uuid",
35089
+ type: "string"
35090
+ }
35091
+ },
35092
+ required: ["acs_system_id"],
35093
+ type: "object"
35087
35094
  },
35088
- limit: {
35089
- default: 500,
35090
- description: "Number of encoders to return.",
35091
- format: "float",
35092
- type: "number"
35093
- }
35094
- },
35095
- required: ["acs_system_id"],
35096
- type: "object"
35097
- },
35098
- {
35099
- properties: {
35100
- acs_system_ids: {
35101
- description: "IDs of the access systems for which you want to retrieve all encoders.",
35102
- items: { format: "uuid", type: "string" },
35103
- type: "array"
35095
+ {
35096
+ properties: {
35097
+ acs_system_ids: {
35098
+ description: "IDs of the access systems for which you want to retrieve all encoders.",
35099
+ items: { format: "uuid", type: "string" },
35100
+ type: "array"
35101
+ }
35102
+ },
35103
+ required: ["acs_system_ids"],
35104
+ type: "object"
35104
35105
  },
35105
- limit: {
35106
- default: 500,
35107
- description: "Number of encoders to return.",
35108
- format: "float",
35109
- type: "number"
35106
+ {
35107
+ properties: {
35108
+ acs_encoder_ids: {
35109
+ description: "IDs of the encoders that you want to retrieve.",
35110
+ items: { format: "uuid", type: "string" },
35111
+ type: "array"
35112
+ }
35113
+ },
35114
+ required: ["acs_encoder_ids"],
35115
+ type: "object"
35110
35116
  }
35111
- },
35112
- required: ["acs_system_ids"],
35113
- type: "object"
35117
+ ]
35114
35118
  },
35115
35119
  {
35116
35120
  properties: {
35117
- acs_encoder_ids: {
35118
- description: "IDs of the encoders that you want to retrieve.",
35119
- items: { format: "uuid", type: "string" },
35120
- type: "array"
35121
- },
35122
35121
  limit: {
35123
35122
  default: 500,
35124
35123
  description: "Number of encoders to return.",
35125
35124
  format: "float",
35126
35125
  type: "number"
35126
+ },
35127
+ page_cursor: {
35128
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
35129
+ nullable: true,
35130
+ type: "string"
35127
35131
  }
35128
35132
  },
35129
- required: ["acs_encoder_ids"],
35130
35133
  type: "object"
35131
35134
  }
35132
35135
  ]
@@ -35144,9 +35147,10 @@ var openapi_default = {
35144
35147
  items: { $ref: "#/components/schemas/acs_encoder" },
35145
35148
  type: "array"
35146
35149
  },
35147
- ok: { type: "boolean" }
35150
+ ok: { type: "boolean" },
35151
+ pagination: { $ref: "#/components/schemas/pagination" }
35148
35152
  },
35149
- required: ["acs_encoders", "ok"],
35153
+ required: ["acs_encoders", "pagination", "ok"],
35150
35154
  type: "object"
35151
35155
  }
35152
35156
  }