@insurance-broker/api-client 4.0.0 → 4.1.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +3 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -761,6 +761,8 @@ export interface paths {
761
761
  * The broker's insurer panel, by name.
762
762
  * @description Lists the broker's insurers by name, then code. `activeOnly=true` narrows it to the insurers new business may be placed with.
763
763
  *
764
+ * `search` (since client 4.1.0) narrows it to the insurers whose name or code contains the term, in any case; `%` and `_` are matched literally, and a blank term narrows nothing. A term longer than two hundred characters, after trimming, is refused with `400`. It composes with `activeOnly`. A cursor names a position in the list, not the search that produced it: start a new walk, without a cursor, when the term changes.
765
+ *
764
766
  * **Paged, and the shape changed in client 4.0.0** (issue #506). This answers `{ items, nextCursor }` where it used to answer a bare array capped at two hundred rows, past which the panel could not be walked and a complete list was indistinguishable from a truncated one. Pass `nextCursor` back as `cursor`; a null one means this is the last page. `limit` is a page size, not a cap on the panel.
765
767
  */
766
768
  get: operations["ListInsurers"];
@@ -10019,6 +10021,7 @@ export interface operations {
10019
10021
  parameters: {
10020
10022
  query?: {
10021
10023
  activeOnly?: boolean;
10024
+ search?: string;
10022
10025
  cursor?: string;
10023
10026
  limit?: number | string;
10024
10027
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Generated TypeScript client for the Insurance Broker Platform API. Do not edit by hand: regenerate with scripts/update-api-contract.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,