@insurance-broker/api-client 5.29.0 → 5.30.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 +96 -1
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -6120,7 +6120,7 @@ export interface paths {
6120
6120
  * Takes exactly one option on exactly one presented version. Terminal.
6121
6121
  * @description Accepts one option on the version that is presented now. Accepting is terminal: the quote request is settled and no further decision is recorded on it.
6122
6122
  *
6123
- * **An option whose premium is above the approval limit the acting member's role carries is a `409` typed `urn:brokerplatform:problem:acceptance-above-approval-limit`** (#197, #630). The limit is the broker's configuration, not the caller's permission, so retrying never helps: a member whose role carries a higher limit accepts it, or the caller accepts a smaller option. The other `409`s — a second acceptance, an option whose price has lapsed, a superseded version, a lost update — say which in their `detail`.
6123
+ * **An option whose premium is above the approval limit the acting member's role carries is a `409` typed `urn:brokerplatform:problem:acceptance-above-approval-limit`** (#197, #630). The limit is the broker's configuration, not the caller's permission, so retrying never helps: a member whose role carries a higher limit accepts it, or the caller accepts a smaller option. The same type answers an option priced in a currency the acting member's role has no limit in, at a broker that has chosen to refuse such a currency (#422). The other `409`s — a second acceptance, an option whose price has lapsed, a superseded version, a lost update — say which in their `detail`.
6124
6124
  */
6125
6125
  post: operations["AcceptCustomerQuote"];
6126
6126
  delete?: never;
@@ -6203,6 +6203,30 @@ export interface paths {
6203
6203
  patch?: never;
6204
6204
  trace?: never;
6205
6205
  };
6206
+ "/api/v1/acceptance-approval-limits/settings": {
6207
+ parameters: {
6208
+ query?: never;
6209
+ header?: never;
6210
+ path?: never;
6211
+ cookie?: never;
6212
+ };
6213
+ /**
6214
+ * What a currency with no ceiling means at this broker
6215
+ * @description Whether a member of a customer organisation whose role has a ceiling in some currency, but none in the currency a premium is quoted in, may accept it (Unlimited, the default) or is refused (Refused). A role with no ceiling in any currency is never refused by this setting, and a broker with no ceilings at all is unaffected by it. Answered whether or not it has been set; the updated members are null while the default applies.
6216
+ */
6217
+ get: operations["ReadAcceptanceApprovalSettings"];
6218
+ /**
6219
+ * Choose what a currency with no ceiling means at this broker
6220
+ * @description Sets currencyWithoutACeiling to Unlimited or Refused. Refused takes effect on the next acceptance: a member acting for an organisation whose role has a ceiling in another currency, and none in the premium's, is refused with the same 409 an acceptance above a ceiling receives. Unlimited restores the default.
6221
+ */
6222
+ put: operations["SetAcceptanceApprovalSettings"];
6223
+ post?: never;
6224
+ delete?: never;
6225
+ options?: never;
6226
+ head?: never;
6227
+ patch?: never;
6228
+ trace?: never;
6229
+ };
6206
6230
  "/api/v1/acceptance-approval-limits/{role}/{currency}": {
6207
6231
  parameters: {
6208
6232
  query?: never;
@@ -6716,6 +6740,12 @@ export interface components {
6716
6740
  updatedAtUtc: string;
6717
6741
  setBySubjectId: string;
6718
6742
  };
6743
+ AcceptanceApprovalSettingsResponse: {
6744
+ currencyWithoutACeiling: string;
6745
+ /** Format: date-time */
6746
+ updatedAtUtc: null | string;
6747
+ updatedBySubjectId: null | string;
6748
+ };
6719
6749
  AcceptQuoteRequest: {
6720
6750
  /** Format: uuid */
6721
6751
  presentationVersionId: null | string;
@@ -10049,6 +10079,9 @@ export interface components {
10049
10079
  /** Format: double */
10050
10080
  maximumAmount: null | number | string;
10051
10081
  };
10082
+ SetAcceptanceApprovalSettingsRequest: {
10083
+ currencyWithoutACeiling: null | string;
10084
+ };
10052
10085
  SetEmergencyContactRequest: {
10053
10086
  providerName: null | string;
10054
10087
  contactDetail: null | string;
@@ -25575,6 +25608,68 @@ export interface operations {
25575
25608
  };
25576
25609
  };
25577
25610
  };
25611
+ ReadAcceptanceApprovalSettings: {
25612
+ parameters: {
25613
+ query?: never;
25614
+ header?: never;
25615
+ path?: never;
25616
+ cookie?: never;
25617
+ };
25618
+ requestBody?: never;
25619
+ responses: {
25620
+ /** @description OK */
25621
+ 200: {
25622
+ headers: {
25623
+ [name: string]: unknown;
25624
+ };
25625
+ content: {
25626
+ "application/json": components["schemas"]["AcceptanceApprovalSettingsResponse"];
25627
+ };
25628
+ };
25629
+ };
25630
+ };
25631
+ SetAcceptanceApprovalSettings: {
25632
+ parameters: {
25633
+ query?: never;
25634
+ header?: never;
25635
+ path?: never;
25636
+ cookie?: never;
25637
+ };
25638
+ requestBody: {
25639
+ content: {
25640
+ "application/json": components["schemas"]["SetAcceptanceApprovalSettingsRequest"];
25641
+ };
25642
+ };
25643
+ responses: {
25644
+ /** @description OK */
25645
+ 200: {
25646
+ headers: {
25647
+ [name: string]: unknown;
25648
+ };
25649
+ content: {
25650
+ "application/json": components["schemas"]["AcceptanceApprovalSettingsResponse"];
25651
+ };
25652
+ };
25653
+ /** @description Bad Request */
25654
+ 400: {
25655
+ headers: {
25656
+ [name: string]: unknown;
25657
+ };
25658
+ content: {
25659
+ "application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
25660
+ };
25661
+ };
25662
+ /** @description Conflict. A type of urn:brokerplatform:problem:concurrency-conflict means someone else changed the record first and nothing was written: read it again and decide again. Any other type is a conflict this operation decided itself, and retrying it unchanged will not help. */
25663
+ 409: {
25664
+ headers: {
25665
+ [name: string]: unknown;
25666
+ };
25667
+ content: {
25668
+ "application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
25669
+ };
25670
+ };
25671
+ };
25672
+ };
25578
25673
  SetAcceptanceApprovalLimit: {
25579
25674
  parameters: {
25580
25675
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "5.29.0",
3
+ "version": "5.30.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,