@insurance-broker/api-client 5.43.0 → 5.45.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 +84 -1
- 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;
|
|
@@ -9747,7 +9771,7 @@ export interface components {
|
|
|
9747
9771
|
/** Format: uuid */
|
|
9748
9772
|
formSubmissionId: null | string;
|
|
9749
9773
|
};
|
|
9750
|
-
/** @description RFC 9457 problem answered when a request to render, produce or export,
|
|
9774
|
+
/** @description RFC 9457 problem answered when a request to render, produce or export, to upload an import file, or to issue a customer invitation, was refused because a rate limit's budget is spent (ADR-0050, ADR-0051, ADR-0049). Nothing was done. Branch on type, not on title or detail, which are human-readable and not fixed. */
|
|
9751
9775
|
RateLimitedProblem: {
|
|
9752
9776
|
/**
|
|
9753
9777
|
* @description Identifies the problem kind. A stable URN; it is not promised to resolve.
|
|
@@ -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;
|
|
@@ -17394,6 +17433,17 @@ export interface operations {
|
|
|
17394
17433
|
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17395
17434
|
};
|
|
17396
17435
|
};
|
|
17436
|
+
/** @description Too Many Requests. Your organisation has issued a lot of customer invitations in a short time, and its allowance for the current window is spent. No invitation was issued and no code exists for this request. budget is always tenant. Wait the number of seconds in Retry-After (also in retryAfterSeconds) before trying again. */
|
|
17437
|
+
429: {
|
|
17438
|
+
headers: {
|
|
17439
|
+
/** @description Whole seconds to wait before retrying; at least 1. */
|
|
17440
|
+
"Retry-After": number;
|
|
17441
|
+
[name: string]: unknown;
|
|
17442
|
+
};
|
|
17443
|
+
content: {
|
|
17444
|
+
"application/problem+json": components["schemas"]["RateLimitedProblem"];
|
|
17445
|
+
};
|
|
17446
|
+
};
|
|
17397
17447
|
};
|
|
17398
17448
|
};
|
|
17399
17449
|
RevokeCustomerInvitation: {
|
|
@@ -21810,6 +21860,39 @@ export interface operations {
|
|
|
21810
21860
|
};
|
|
21811
21861
|
};
|
|
21812
21862
|
};
|
|
21863
|
+
RecordManualPlacement: {
|
|
21864
|
+
parameters: {
|
|
21865
|
+
query?: never;
|
|
21866
|
+
header?: never;
|
|
21867
|
+
path?: never;
|
|
21868
|
+
cookie?: never;
|
|
21869
|
+
};
|
|
21870
|
+
requestBody: {
|
|
21871
|
+
content: {
|
|
21872
|
+
"application/json": components["schemas"]["RecordManualPlacementRequest"];
|
|
21873
|
+
};
|
|
21874
|
+
};
|
|
21875
|
+
responses: {
|
|
21876
|
+
/** @description Created */
|
|
21877
|
+
201: {
|
|
21878
|
+
headers: {
|
|
21879
|
+
[name: string]: unknown;
|
|
21880
|
+
};
|
|
21881
|
+
content: {
|
|
21882
|
+
"application/json": components["schemas"]["PolicyResponse"];
|
|
21883
|
+
};
|
|
21884
|
+
};
|
|
21885
|
+
/** @description Bad Request */
|
|
21886
|
+
400: {
|
|
21887
|
+
headers: {
|
|
21888
|
+
[name: string]: unknown;
|
|
21889
|
+
};
|
|
21890
|
+
content: {
|
|
21891
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
21892
|
+
};
|
|
21893
|
+
};
|
|
21894
|
+
};
|
|
21895
|
+
};
|
|
21813
21896
|
ReferPolicyToInsurer: {
|
|
21814
21897
|
parameters: {
|
|
21815
21898
|
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.45.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,
|