@insurance-broker/api-client 5.43.0 → 5.44.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 +72 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -4629,6 +4629,30 @@ export interface paths {
|
|
|
4629
4629
|
patch?: never;
|
|
4630
4630
|
trace?: never;
|
|
4631
4631
|
};
|
|
4632
|
+
"/api/v1/policies/manually-placed": {
|
|
4633
|
+
parameters: {
|
|
4634
|
+
query?: never;
|
|
4635
|
+
header?: never;
|
|
4636
|
+
path?: never;
|
|
4637
|
+
cookie?: never;
|
|
4638
|
+
};
|
|
4639
|
+
get?: never;
|
|
4640
|
+
put?: never;
|
|
4641
|
+
/**
|
|
4642
|
+
* Record cover placed with an insurer outside this platform
|
|
4643
|
+
* @description POL-001's manual placement: cover a member of staff arranged with the insurer by telephone, in person or on the insurer's own system, with no quote on this platform behind it. The policy is created proposed, with source `ManualBackfill`, and reaches active only through the referral and insurer-confirmation routes, which take the insurer's reference and date as evidence - this platform records cover and does not bind it.
|
|
4644
|
+
*
|
|
4645
|
+
* The customer, product and insurer must be this broker's; one message covers "does not exist" and "belongs to another broker". A premium is an amount and a currency or neither, and cover cannot end before it starts. These are the rules the import route applies to the same fields, with the same field names and messages.
|
|
4646
|
+
*
|
|
4647
|
+
* Not idempotent: sending the same placement twice records two policies.
|
|
4648
|
+
*/
|
|
4649
|
+
post: operations["RecordManualPlacement"];
|
|
4650
|
+
delete?: never;
|
|
4651
|
+
options?: never;
|
|
4652
|
+
head?: never;
|
|
4653
|
+
patch?: never;
|
|
4654
|
+
trace?: never;
|
|
4655
|
+
};
|
|
4632
4656
|
"/api/v1/policies/{id}/referral": {
|
|
4633
4657
|
parameters: {
|
|
4634
4658
|
query?: never;
|
|
@@ -9828,6 +9852,21 @@ export interface components {
|
|
|
9828
9852
|
/** Format: date */
|
|
9829
9853
|
submittedOn: string;
|
|
9830
9854
|
};
|
|
9855
|
+
RecordManualPlacementRequest: {
|
|
9856
|
+
/** Format: uuid */
|
|
9857
|
+
customerId: string;
|
|
9858
|
+
/** Format: uuid */
|
|
9859
|
+
productId: string;
|
|
9860
|
+
/** Format: uuid */
|
|
9861
|
+
insurerId: string;
|
|
9862
|
+
/** Format: date */
|
|
9863
|
+
coverStart: null | string;
|
|
9864
|
+
/** Format: date */
|
|
9865
|
+
coverEnd: null | string;
|
|
9866
|
+
/** Format: double */
|
|
9867
|
+
premiumAmount: null | number | string;
|
|
9868
|
+
premiumCurrency: null | string;
|
|
9869
|
+
};
|
|
9831
9870
|
RecordPaymentRequest: {
|
|
9832
9871
|
/** Format: double */
|
|
9833
9872
|
amount: number | string;
|
|
@@ -21810,6 +21849,39 @@ export interface operations {
|
|
|
21810
21849
|
};
|
|
21811
21850
|
};
|
|
21812
21851
|
};
|
|
21852
|
+
RecordManualPlacement: {
|
|
21853
|
+
parameters: {
|
|
21854
|
+
query?: never;
|
|
21855
|
+
header?: never;
|
|
21856
|
+
path?: never;
|
|
21857
|
+
cookie?: never;
|
|
21858
|
+
};
|
|
21859
|
+
requestBody: {
|
|
21860
|
+
content: {
|
|
21861
|
+
"application/json": components["schemas"]["RecordManualPlacementRequest"];
|
|
21862
|
+
};
|
|
21863
|
+
};
|
|
21864
|
+
responses: {
|
|
21865
|
+
/** @description Created */
|
|
21866
|
+
201: {
|
|
21867
|
+
headers: {
|
|
21868
|
+
[name: string]: unknown;
|
|
21869
|
+
};
|
|
21870
|
+
content: {
|
|
21871
|
+
"application/json": components["schemas"]["PolicyResponse"];
|
|
21872
|
+
};
|
|
21873
|
+
};
|
|
21874
|
+
/** @description Bad Request */
|
|
21875
|
+
400: {
|
|
21876
|
+
headers: {
|
|
21877
|
+
[name: string]: unknown;
|
|
21878
|
+
};
|
|
21879
|
+
content: {
|
|
21880
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
21881
|
+
};
|
|
21882
|
+
};
|
|
21883
|
+
};
|
|
21884
|
+
};
|
|
21813
21885
|
ReferPolicyToInsurer: {
|
|
21814
21886
|
parameters: {
|
|
21815
21887
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.44.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,
|