@insurance-broker/api-client 4.0.0 → 4.2.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.
- package/dist/schema.d.ts +63 -0
- 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"];
|
|
@@ -1094,6 +1096,23 @@ export interface paths {
|
|
|
1094
1096
|
patch?: never;
|
|
1095
1097
|
trace?: never;
|
|
1096
1098
|
};
|
|
1099
|
+
"/api/v1/form-definitions/{id}/discarded-versions": {
|
|
1100
|
+
parameters: {
|
|
1101
|
+
query?: never;
|
|
1102
|
+
header?: never;
|
|
1103
|
+
path?: never;
|
|
1104
|
+
cookie?: never;
|
|
1105
|
+
};
|
|
1106
|
+
/** Every draft of a form that was discarded, most recently discarded first. */
|
|
1107
|
+
get: operations["ListDiscardedFormVersions"];
|
|
1108
|
+
put?: never;
|
|
1109
|
+
post?: never;
|
|
1110
|
+
delete?: never;
|
|
1111
|
+
options?: never;
|
|
1112
|
+
head?: never;
|
|
1113
|
+
patch?: never;
|
|
1114
|
+
trace?: never;
|
|
1115
|
+
};
|
|
1097
1116
|
"/api/v1/form-definitions/{id}/versions/{versionId}": {
|
|
1098
1117
|
parameters: {
|
|
1099
1118
|
query?: never;
|
|
@@ -6798,6 +6817,20 @@ export interface components {
|
|
|
6798
6817
|
contactEmail: null | string;
|
|
6799
6818
|
contactPhone: null | string;
|
|
6800
6819
|
};
|
|
6820
|
+
DiscardedFormVersionResponse: {
|
|
6821
|
+
/** Format: uuid */
|
|
6822
|
+
versionId: string;
|
|
6823
|
+
/** Format: int32 */
|
|
6824
|
+
versionNumber: number | string;
|
|
6825
|
+
/** Format: int32 */
|
|
6826
|
+
bodySchemaVersion: number | string;
|
|
6827
|
+
/** Format: date-time */
|
|
6828
|
+
createdAtUtc: string;
|
|
6829
|
+
createdBySubjectId: string;
|
|
6830
|
+
/** Format: date-time */
|
|
6831
|
+
discardedAtUtc: string;
|
|
6832
|
+
discardedBySubjectId: string;
|
|
6833
|
+
};
|
|
6801
6834
|
DocumentTemplateResponse: {
|
|
6802
6835
|
/** Format: uuid */
|
|
6803
6836
|
id: string;
|
|
@@ -10019,6 +10052,7 @@ export interface operations {
|
|
|
10019
10052
|
parameters: {
|
|
10020
10053
|
query?: {
|
|
10021
10054
|
activeOnly?: boolean;
|
|
10055
|
+
search?: string;
|
|
10022
10056
|
cursor?: string;
|
|
10023
10057
|
limit?: number | string;
|
|
10024
10058
|
};
|
|
@@ -11155,6 +11189,35 @@ export interface operations {
|
|
|
11155
11189
|
};
|
|
11156
11190
|
};
|
|
11157
11191
|
};
|
|
11192
|
+
ListDiscardedFormVersions: {
|
|
11193
|
+
parameters: {
|
|
11194
|
+
query?: never;
|
|
11195
|
+
header?: never;
|
|
11196
|
+
path: {
|
|
11197
|
+
id: string;
|
|
11198
|
+
};
|
|
11199
|
+
cookie?: never;
|
|
11200
|
+
};
|
|
11201
|
+
requestBody?: never;
|
|
11202
|
+
responses: {
|
|
11203
|
+
/** @description OK */
|
|
11204
|
+
200: {
|
|
11205
|
+
headers: {
|
|
11206
|
+
[name: string]: unknown;
|
|
11207
|
+
};
|
|
11208
|
+
content: {
|
|
11209
|
+
"application/json": components["schemas"]["DiscardedFormVersionResponse"][];
|
|
11210
|
+
};
|
|
11211
|
+
};
|
|
11212
|
+
/** @description Not Found */
|
|
11213
|
+
404: {
|
|
11214
|
+
headers: {
|
|
11215
|
+
[name: string]: unknown;
|
|
11216
|
+
};
|
|
11217
|
+
content?: never;
|
|
11218
|
+
};
|
|
11219
|
+
};
|
|
11220
|
+
};
|
|
11158
11221
|
GetFormVersion: {
|
|
11159
11222
|
parameters: {
|
|
11160
11223
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.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,
|