@insurance-broker/api-client 5.33.0 → 5.39.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 +210 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3890,6 +3890,54 @@ export interface paths {
|
|
|
3890
3890
|
patch?: never;
|
|
3891
3891
|
trace?: never;
|
|
3892
3892
|
};
|
|
3893
|
+
"/api/v1/email-settings": {
|
|
3894
|
+
parameters: {
|
|
3895
|
+
query?: never;
|
|
3896
|
+
header?: never;
|
|
3897
|
+
path?: never;
|
|
3898
|
+
cookie?: never;
|
|
3899
|
+
};
|
|
3900
|
+
/**
|
|
3901
|
+
* This broker's SMTP provider for notification email
|
|
3902
|
+
* @description Where this broker's notification email is sent from and through which SMTP provider. Answered whether or not anything has been configured: configured is false and every provider field null until somebody saves one. The password is never returned; passwordSet says whether one is stored.
|
|
3903
|
+
*/
|
|
3904
|
+
get: operations["ReadEmailSettings"];
|
|
3905
|
+
/**
|
|
3906
|
+
* Set this broker's SMTP provider for notification email
|
|
3907
|
+
* @description Saves the provider's host, port, TLS mode, username and sender, and turns email on or off. The password is write-only: send it to set or replace it, or omit it to keep the stored one; removing the username removes it. A kept password is refused when the host, port, TLS mode or username changes, so it is only ever sent to the server it was entered for. A username is refused with tlsMode None, so credentials never cross an unencrypted connection. While email is off or not configured, a notification that would have gone by email is recorded Undeliverable.
|
|
3908
|
+
*/
|
|
3909
|
+
put: operations["SetEmailSettings"];
|
|
3910
|
+
post?: never;
|
|
3911
|
+
delete?: never;
|
|
3912
|
+
options?: never;
|
|
3913
|
+
head?: never;
|
|
3914
|
+
patch?: never;
|
|
3915
|
+
trace?: never;
|
|
3916
|
+
};
|
|
3917
|
+
"/api/v1/push-settings": {
|
|
3918
|
+
parameters: {
|
|
3919
|
+
query?: never;
|
|
3920
|
+
header?: never;
|
|
3921
|
+
path?: never;
|
|
3922
|
+
cookie?: never;
|
|
3923
|
+
};
|
|
3924
|
+
/**
|
|
3925
|
+
* Whether this broker sends notifications by push
|
|
3926
|
+
* @description Whether notifications to this broker's customers may be sent as push notifications to their registered devices. Answered whether or not anything has been saved: push is off until a broker turns it on. Push uses the platform's own credential, so there is nothing else to configure.
|
|
3927
|
+
*/
|
|
3928
|
+
get: operations["ReadPushSettings"];
|
|
3929
|
+
/**
|
|
3930
|
+
* Turn push notifications on or off for this broker
|
|
3931
|
+
* @description Turns push on or off. While it is off, a notification that would have gone by push goes by the recipient's other channels, or is recorded Undeliverable when there are none.
|
|
3932
|
+
*/
|
|
3933
|
+
put: operations["SetPushSettings"];
|
|
3934
|
+
post?: never;
|
|
3935
|
+
delete?: never;
|
|
3936
|
+
options?: never;
|
|
3937
|
+
head?: never;
|
|
3938
|
+
patch?: never;
|
|
3939
|
+
trace?: never;
|
|
3940
|
+
};
|
|
3893
3941
|
"/api/v1/tenant": {
|
|
3894
3942
|
parameters: {
|
|
3895
3943
|
query?: never;
|
|
@@ -6600,7 +6648,7 @@ export interface paths {
|
|
|
6600
6648
|
};
|
|
6601
6649
|
/**
|
|
6602
6650
|
* What this broker's platform tried to tell somebody
|
|
6603
|
-
* @description Newest first, paged by an opaque cursor with no total count. Filter by status — the one worth opening this for is Undeliverable, which means the platform raised a notification and
|
|
6651
|
+
* @description Newest first, paged by an opaque cursor with no total count. Filter by status — the one worth opening this for is Undeliverable, which means the platform raised a notification and could not send it: either there was nobody to send it to, or no channel could reach the person (for example, email is not configured). deliveryReason says which. The message body is not returned; the kind, the reference and the subject say what it was about.
|
|
6604
6652
|
*/
|
|
6605
6653
|
get: operations["ListNotifications"];
|
|
6606
6654
|
put?: never;
|
|
@@ -7886,6 +7934,21 @@ export interface components {
|
|
|
7886
7934
|
policyId: string;
|
|
7887
7935
|
idempotencyKey?: null | string;
|
|
7888
7936
|
};
|
|
7937
|
+
EmailSettingsResponse: {
|
|
7938
|
+
configured: boolean;
|
|
7939
|
+
enabled: boolean;
|
|
7940
|
+
host: null | string;
|
|
7941
|
+
/** Format: int32 */
|
|
7942
|
+
port: null | number;
|
|
7943
|
+
tlsMode: null | string;
|
|
7944
|
+
username: null | string;
|
|
7945
|
+
passwordSet: boolean;
|
|
7946
|
+
fromAddress: null | string;
|
|
7947
|
+
fromName: null | string;
|
|
7948
|
+
/** Format: date-time */
|
|
7949
|
+
updatedAtUtc: null | string;
|
|
7950
|
+
updatedBySubjectId: null | string;
|
|
7951
|
+
};
|
|
7889
7952
|
EmergencyContactDetailsResponse: {
|
|
7890
7953
|
providerName: string;
|
|
7891
7954
|
contactDetail: string;
|
|
@@ -8669,6 +8732,7 @@ export interface components {
|
|
|
8669
8732
|
createdAtUtc: string;
|
|
8670
8733
|
/** Format: date-time */
|
|
8671
8734
|
sentAtUtc: null | string;
|
|
8735
|
+
deliveryReason?: null | string;
|
|
8672
8736
|
};
|
|
8673
8737
|
NotifyClaimRequest: {
|
|
8674
8738
|
/** Format: uuid */
|
|
@@ -9431,6 +9495,13 @@ export interface components {
|
|
|
9431
9495
|
PublishLegalTextRequest: {
|
|
9432
9496
|
body: string;
|
|
9433
9497
|
};
|
|
9498
|
+
PushSettingsResponse: {
|
|
9499
|
+
configured: boolean;
|
|
9500
|
+
enabled: boolean;
|
|
9501
|
+
/** Format: date-time */
|
|
9502
|
+
updatedAtUtc: null | string;
|
|
9503
|
+
updatedBySubjectId: null | string;
|
|
9504
|
+
};
|
|
9434
9505
|
QuotationPageOfComparisonSchemaVersionResponse: {
|
|
9435
9506
|
items: components["schemas"]["ComparisonSchemaVersionResponse"][];
|
|
9436
9507
|
nextCursor: null | string;
|
|
@@ -10085,6 +10156,17 @@ export interface components {
|
|
|
10085
10156
|
SetAcceptanceApprovalSettingsRequest: {
|
|
10086
10157
|
currencyWithoutACeiling: null | string;
|
|
10087
10158
|
};
|
|
10159
|
+
SetEmailSettingsRequest: {
|
|
10160
|
+
enabled: null | boolean;
|
|
10161
|
+
host: null | string;
|
|
10162
|
+
/** Format: int32 */
|
|
10163
|
+
port: null | number | string;
|
|
10164
|
+
tlsMode: null | string;
|
|
10165
|
+
username: null | string;
|
|
10166
|
+
password: null | string;
|
|
10167
|
+
fromAddress: null | string;
|
|
10168
|
+
fromName: null | string;
|
|
10169
|
+
};
|
|
10088
10170
|
SetEmergencyContactRequest: {
|
|
10089
10171
|
providerName: null | string;
|
|
10090
10172
|
contactDetail: null | string;
|
|
@@ -10095,6 +10177,9 @@ export interface components {
|
|
|
10095
10177
|
email: null | boolean;
|
|
10096
10178
|
push: null | boolean;
|
|
10097
10179
|
};
|
|
10180
|
+
SetPushSettingsRequest: {
|
|
10181
|
+
enabled: null | boolean;
|
|
10182
|
+
};
|
|
10098
10183
|
SetQuoteRequestReferenceFormatRequest: {
|
|
10099
10184
|
format: null | string;
|
|
10100
10185
|
};
|
|
@@ -19709,6 +19794,130 @@ export interface operations {
|
|
|
19709
19794
|
};
|
|
19710
19795
|
};
|
|
19711
19796
|
};
|
|
19797
|
+
ReadEmailSettings: {
|
|
19798
|
+
parameters: {
|
|
19799
|
+
query?: never;
|
|
19800
|
+
header?: never;
|
|
19801
|
+
path?: never;
|
|
19802
|
+
cookie?: never;
|
|
19803
|
+
};
|
|
19804
|
+
requestBody?: never;
|
|
19805
|
+
responses: {
|
|
19806
|
+
/** @description OK */
|
|
19807
|
+
200: {
|
|
19808
|
+
headers: {
|
|
19809
|
+
[name: string]: unknown;
|
|
19810
|
+
};
|
|
19811
|
+
content: {
|
|
19812
|
+
"application/json": components["schemas"]["EmailSettingsResponse"];
|
|
19813
|
+
};
|
|
19814
|
+
};
|
|
19815
|
+
};
|
|
19816
|
+
};
|
|
19817
|
+
SetEmailSettings: {
|
|
19818
|
+
parameters: {
|
|
19819
|
+
query?: never;
|
|
19820
|
+
header?: never;
|
|
19821
|
+
path?: never;
|
|
19822
|
+
cookie?: never;
|
|
19823
|
+
};
|
|
19824
|
+
requestBody: {
|
|
19825
|
+
content: {
|
|
19826
|
+
"application/json": components["schemas"]["SetEmailSettingsRequest"];
|
|
19827
|
+
};
|
|
19828
|
+
};
|
|
19829
|
+
responses: {
|
|
19830
|
+
/** @description OK */
|
|
19831
|
+
200: {
|
|
19832
|
+
headers: {
|
|
19833
|
+
[name: string]: unknown;
|
|
19834
|
+
};
|
|
19835
|
+
content: {
|
|
19836
|
+
"application/json": components["schemas"]["EmailSettingsResponse"];
|
|
19837
|
+
};
|
|
19838
|
+
};
|
|
19839
|
+
/** @description Bad Request */
|
|
19840
|
+
400: {
|
|
19841
|
+
headers: {
|
|
19842
|
+
[name: string]: unknown;
|
|
19843
|
+
};
|
|
19844
|
+
content: {
|
|
19845
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19846
|
+
};
|
|
19847
|
+
};
|
|
19848
|
+
/** @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. */
|
|
19849
|
+
409: {
|
|
19850
|
+
headers: {
|
|
19851
|
+
[name: string]: unknown;
|
|
19852
|
+
};
|
|
19853
|
+
content: {
|
|
19854
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
19855
|
+
};
|
|
19856
|
+
};
|
|
19857
|
+
};
|
|
19858
|
+
};
|
|
19859
|
+
ReadPushSettings: {
|
|
19860
|
+
parameters: {
|
|
19861
|
+
query?: never;
|
|
19862
|
+
header?: never;
|
|
19863
|
+
path?: never;
|
|
19864
|
+
cookie?: never;
|
|
19865
|
+
};
|
|
19866
|
+
requestBody?: never;
|
|
19867
|
+
responses: {
|
|
19868
|
+
/** @description OK */
|
|
19869
|
+
200: {
|
|
19870
|
+
headers: {
|
|
19871
|
+
[name: string]: unknown;
|
|
19872
|
+
};
|
|
19873
|
+
content: {
|
|
19874
|
+
"application/json": components["schemas"]["PushSettingsResponse"];
|
|
19875
|
+
};
|
|
19876
|
+
};
|
|
19877
|
+
};
|
|
19878
|
+
};
|
|
19879
|
+
SetPushSettings: {
|
|
19880
|
+
parameters: {
|
|
19881
|
+
query?: never;
|
|
19882
|
+
header?: never;
|
|
19883
|
+
path?: never;
|
|
19884
|
+
cookie?: never;
|
|
19885
|
+
};
|
|
19886
|
+
requestBody: {
|
|
19887
|
+
content: {
|
|
19888
|
+
"application/json": components["schemas"]["SetPushSettingsRequest"];
|
|
19889
|
+
};
|
|
19890
|
+
};
|
|
19891
|
+
responses: {
|
|
19892
|
+
/** @description OK */
|
|
19893
|
+
200: {
|
|
19894
|
+
headers: {
|
|
19895
|
+
[name: string]: unknown;
|
|
19896
|
+
};
|
|
19897
|
+
content: {
|
|
19898
|
+
"application/json": components["schemas"]["PushSettingsResponse"];
|
|
19899
|
+
};
|
|
19900
|
+
};
|
|
19901
|
+
/** @description Bad Request */
|
|
19902
|
+
400: {
|
|
19903
|
+
headers: {
|
|
19904
|
+
[name: string]: unknown;
|
|
19905
|
+
};
|
|
19906
|
+
content: {
|
|
19907
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19908
|
+
};
|
|
19909
|
+
};
|
|
19910
|
+
/** @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. */
|
|
19911
|
+
409: {
|
|
19912
|
+
headers: {
|
|
19913
|
+
[name: string]: unknown;
|
|
19914
|
+
};
|
|
19915
|
+
content: {
|
|
19916
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
19917
|
+
};
|
|
19918
|
+
};
|
|
19919
|
+
};
|
|
19920
|
+
};
|
|
19712
19921
|
GetTenantSettings: {
|
|
19713
19922
|
parameters: {
|
|
19714
19923
|
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.39.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,
|