@insurance-broker/api-client 5.20.0 → 5.22.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 +430 -42
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3052,6 +3052,141 @@ export interface paths {
|
|
|
3052
3052
|
patch?: never;
|
|
3053
3053
|
trace?: never;
|
|
3054
3054
|
};
|
|
3055
|
+
"/api/v1/customer-verification-methods": {
|
|
3056
|
+
parameters: {
|
|
3057
|
+
query?: never;
|
|
3058
|
+
header?: never;
|
|
3059
|
+
path?: never;
|
|
3060
|
+
cookie?: never;
|
|
3061
|
+
};
|
|
3062
|
+
/**
|
|
3063
|
+
* The ways this broker's staff may verify a customer before signing them out, in the broker's order.
|
|
3064
|
+
* @description The broker's closed set of verification methods (ADR-0049). A member of staff signing a customer out of every session picks one of these keys and the choice is recorded in the audit entry. The set is configuration, never without an active method once configured; an empty list means this broker has not configured one yet, and staff-assisted sign-out is refused until it does.
|
|
3065
|
+
*
|
|
3066
|
+
* **Only active methods by default**, because only those can be chosen. `includeRetired=true` adds the retired ones, marked `isActive: false` with `retiredAtUtc`, for somebody managing the set (#648); they cannot be chosen and keep their keys.
|
|
3067
|
+
*/
|
|
3068
|
+
get: operations["ListCustomerVerificationMethods"];
|
|
3069
|
+
put?: never;
|
|
3070
|
+
/**
|
|
3071
|
+
* Add a way this broker's staff may verify a customer before signing them out
|
|
3072
|
+
* @description #648. `key` is a stable identifier — lower-case letters, digits and hyphens, at most 64 characters — unique within this broker and never changed or reused, because audit entries for staff sign-outs record it. `name` is what staff read, at most 120 characters; `description`, optional and at most 500, says what staff must actually have checked. Neither may hold control or invisible formatting characters. The method is appended to the end of the set and is active at once. A broker with no set may add its first method here.
|
|
3073
|
+
*
|
|
3074
|
+
* **Refusals.** `400` for a malformed field. `409` `urn:brokerplatform:problem:verification-method-key-taken` when this broker already has a method with that key, active or retired: choose another key, or reactivate the retired one.
|
|
3075
|
+
*/
|
|
3076
|
+
post: operations["AddCustomerVerificationMethod"];
|
|
3077
|
+
delete?: never;
|
|
3078
|
+
options?: never;
|
|
3079
|
+
head?: never;
|
|
3080
|
+
patch?: never;
|
|
3081
|
+
trace?: never;
|
|
3082
|
+
};
|
|
3083
|
+
"/api/v1/customers/{id}/sessions/revocation": {
|
|
3084
|
+
parameters: {
|
|
3085
|
+
query?: never;
|
|
3086
|
+
header?: never;
|
|
3087
|
+
path?: never;
|
|
3088
|
+
cookie?: never;
|
|
3089
|
+
};
|
|
3090
|
+
get?: never;
|
|
3091
|
+
put?: never;
|
|
3092
|
+
/**
|
|
3093
|
+
* Signs a customer out of every session they have established, after a member of staff has verified them.
|
|
3094
|
+
* @description **Every sign-in this customer established up to now stops working against this API on its next request** — the same effect as the customer's own `POST /api/v1/customer-account/sessions/revocation`, for a customer who rings in because a device was lost or stolen (SEC-012). The customer signs in again afterwards on the device they hold.
|
|
3095
|
+
*
|
|
3096
|
+
* **Verify the customer first, then say how.** `verificationMethod` is a key from `GET /api/v1/customer-verification-methods`, this broker's closed set; `reason` is required, at most 500 characters, and is recorded with the method and the member of staff in the audit entry on the customer record (action `crm.customer.sessions-revoked-by-staff`). Tell the customer to change their password and secure their email account: signing out does not stop somebody who knows the password.
|
|
3097
|
+
*
|
|
3098
|
+
* **Refusals.** `400` when either field is missing or the reason is too long. `404` when the customer is not this broker's. `409` with problem type `urn:brokerplatform:problem:verification-method-not-offered` when the method is not in this broker's set, has been retired, or the broker has configured none — read the set and choose from it. `409` with no type when the customer has never attached a sign-in account, so has no session to end.
|
|
3099
|
+
*
|
|
3100
|
+
* **What it does not do yet.** It does not end the sessions at the identity provider or list them; those need the isolated identity-management component ADR-0049 describes.
|
|
3101
|
+
*/
|
|
3102
|
+
post: operations["RevokeCustomerSessions"];
|
|
3103
|
+
delete?: never;
|
|
3104
|
+
options?: never;
|
|
3105
|
+
head?: never;
|
|
3106
|
+
patch?: never;
|
|
3107
|
+
trace?: never;
|
|
3108
|
+
};
|
|
3109
|
+
"/api/v1/customer/contexts": {
|
|
3110
|
+
parameters: {
|
|
3111
|
+
query?: never;
|
|
3112
|
+
header?: never;
|
|
3113
|
+
path?: never;
|
|
3114
|
+
cookie?: never;
|
|
3115
|
+
};
|
|
3116
|
+
/** The parties the signed-in customer may act as: themselves, and every organisation they hold an active membership of. The identifier of each is what X-Broker-Acting-For takes. */
|
|
3117
|
+
get: operations["ListActingContexts"];
|
|
3118
|
+
put?: never;
|
|
3119
|
+
post?: never;
|
|
3120
|
+
delete?: never;
|
|
3121
|
+
options?: never;
|
|
3122
|
+
head?: never;
|
|
3123
|
+
patch?: never;
|
|
3124
|
+
trace?: never;
|
|
3125
|
+
};
|
|
3126
|
+
"/api/v1/customer-verification-methods/{key}/label": {
|
|
3127
|
+
parameters: {
|
|
3128
|
+
query?: never;
|
|
3129
|
+
header?: never;
|
|
3130
|
+
path?: never;
|
|
3131
|
+
cookie?: never;
|
|
3132
|
+
};
|
|
3133
|
+
get?: never;
|
|
3134
|
+
/**
|
|
3135
|
+
* Correct what staff read for one of this broker's verification methods
|
|
3136
|
+
* @description #648. Replaces the method's `name` and `description` (an absent or blank description removes it). **The key does not change**, so every audit entry naming it keeps its meaning: correct the wording here, and retire the method and add another to change what it is. A retired method can be corrected too.
|
|
3137
|
+
*
|
|
3138
|
+
* **Refusals.** `400` for a malformed field. `404` when this broker has no method with that key. `409` `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read: read it again and retry.
|
|
3139
|
+
*/
|
|
3140
|
+
put: operations["RelabelCustomerVerificationMethod"];
|
|
3141
|
+
post?: never;
|
|
3142
|
+
delete?: never;
|
|
3143
|
+
options?: never;
|
|
3144
|
+
head?: never;
|
|
3145
|
+
patch?: never;
|
|
3146
|
+
trace?: never;
|
|
3147
|
+
};
|
|
3148
|
+
"/api/v1/customer-verification-methods/{key}/retirement": {
|
|
3149
|
+
parameters: {
|
|
3150
|
+
query?: never;
|
|
3151
|
+
header?: never;
|
|
3152
|
+
path?: never;
|
|
3153
|
+
cookie?: never;
|
|
3154
|
+
};
|
|
3155
|
+
get?: never;
|
|
3156
|
+
put?: never;
|
|
3157
|
+
/**
|
|
3158
|
+
* Stop offering one of this broker's verification methods
|
|
3159
|
+
* @description #648. A retired method cannot be chosen for a staff sign-out, drops out of `GET /api/v1/customer-verification-methods` unless `includeRetired=true`, and keeps its key, which is never given to another method. Retiring one already retired changes nothing and answers `200` with it as it stands.
|
|
3160
|
+
*
|
|
3161
|
+
* **A broker always keeps one active method.** Retiring the last is `409` `urn:brokerplatform:problem:last-active-verification-method`, which is not retryable: add or reactivate another method first. `404` when this broker has no method with that key. A `409` can also be `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read.
|
|
3162
|
+
*/
|
|
3163
|
+
post: operations["RetireCustomerVerificationMethod"];
|
|
3164
|
+
delete?: never;
|
|
3165
|
+
options?: never;
|
|
3166
|
+
head?: never;
|
|
3167
|
+
patch?: never;
|
|
3168
|
+
trace?: never;
|
|
3169
|
+
};
|
|
3170
|
+
"/api/v1/customer-verification-methods/{key}/reactivation": {
|
|
3171
|
+
parameters: {
|
|
3172
|
+
query?: never;
|
|
3173
|
+
header?: never;
|
|
3174
|
+
path?: never;
|
|
3175
|
+
cookie?: never;
|
|
3176
|
+
};
|
|
3177
|
+
get?: never;
|
|
3178
|
+
put?: never;
|
|
3179
|
+
/**
|
|
3180
|
+
* Offer a retired verification method again
|
|
3181
|
+
* @description #648. The method comes back under the key it always had, in its old place in the set. Reactivating one already active changes nothing and answers `200` with it as it stands. `404` when this broker has no method with that key. `409` `urn:brokerplatform:problem:concurrency-conflict` with `retryable: true` when another write changed the method after it was read.
|
|
3182
|
+
*/
|
|
3183
|
+
post: operations["ReactivateCustomerVerificationMethod"];
|
|
3184
|
+
delete?: never;
|
|
3185
|
+
options?: never;
|
|
3186
|
+
head?: never;
|
|
3187
|
+
patch?: never;
|
|
3188
|
+
trace?: never;
|
|
3189
|
+
};
|
|
3055
3190
|
"/api/v1/organisations": {
|
|
3056
3191
|
parameters: {
|
|
3057
3192
|
query?: never;
|
|
@@ -3190,23 +3325,6 @@ export interface paths {
|
|
|
3190
3325
|
patch?: never;
|
|
3191
3326
|
trace?: never;
|
|
3192
3327
|
};
|
|
3193
|
-
"/api/v1/customer/contexts": {
|
|
3194
|
-
parameters: {
|
|
3195
|
-
query?: never;
|
|
3196
|
-
header?: never;
|
|
3197
|
-
path?: never;
|
|
3198
|
-
cookie?: never;
|
|
3199
|
-
};
|
|
3200
|
-
/** The parties the signed-in customer may act as: themselves, and every organisation they hold an active membership of. The identifier of each is what X-Broker-Acting-For takes. */
|
|
3201
|
-
get: operations["ListActingContexts"];
|
|
3202
|
-
put?: never;
|
|
3203
|
-
post?: never;
|
|
3204
|
-
delete?: never;
|
|
3205
|
-
options?: never;
|
|
3206
|
-
head?: never;
|
|
3207
|
-
patch?: never;
|
|
3208
|
-
trace?: never;
|
|
3209
|
-
};
|
|
3210
3328
|
"/api/v1/customer/organisations/{id}/membership/acceptance": {
|
|
3211
3329
|
parameters: {
|
|
3212
3330
|
query?: never;
|
|
@@ -6394,6 +6512,11 @@ export interface components {
|
|
|
6394
6512
|
kind: string;
|
|
6395
6513
|
role: null | string;
|
|
6396
6514
|
};
|
|
6515
|
+
AddCustomerVerificationMethodRequest: {
|
|
6516
|
+
key: null | string;
|
|
6517
|
+
name: null | string;
|
|
6518
|
+
description: null | string;
|
|
6519
|
+
};
|
|
6397
6520
|
AddInsurerRequest: {
|
|
6398
6521
|
code: null | string;
|
|
6399
6522
|
name: null | string;
|
|
@@ -7301,6 +7424,14 @@ export interface components {
|
|
|
7301
7424
|
help: null | string;
|
|
7302
7425
|
section: null | string;
|
|
7303
7426
|
};
|
|
7427
|
+
CustomerVerificationMethodResponse: {
|
|
7428
|
+
key: string;
|
|
7429
|
+
name: string;
|
|
7430
|
+
description: null | string;
|
|
7431
|
+
isActive: boolean;
|
|
7432
|
+
/** Format: date-time */
|
|
7433
|
+
retiredAtUtc: null | string;
|
|
7434
|
+
};
|
|
7304
7435
|
DataClassificationResponse: {
|
|
7305
7436
|
key: string;
|
|
7306
7437
|
name: string;
|
|
@@ -9239,6 +9370,10 @@ export interface components {
|
|
|
9239
9370
|
name: null | string;
|
|
9240
9371
|
registrationNumber: null | string;
|
|
9241
9372
|
};
|
|
9373
|
+
RelabelCustomerVerificationMethodRequest: {
|
|
9374
|
+
name: null | string;
|
|
9375
|
+
description: null | string;
|
|
9376
|
+
};
|
|
9242
9377
|
RelabelPaymentMethodRequest: {
|
|
9243
9378
|
label: string;
|
|
9244
9379
|
};
|
|
@@ -9589,6 +9724,17 @@ export interface components {
|
|
|
9589
9724
|
/** Format: uuid */
|
|
9590
9725
|
conflictingPaymentId: string;
|
|
9591
9726
|
};
|
|
9727
|
+
StaffCustomerSessionRevocationRequest: {
|
|
9728
|
+
verificationMethod: null | string;
|
|
9729
|
+
reason: null | string;
|
|
9730
|
+
};
|
|
9731
|
+
StaffCustomerSessionRevocationResponse: {
|
|
9732
|
+
/** Format: uuid */
|
|
9733
|
+
customerId: string;
|
|
9734
|
+
/** Format: date-time */
|
|
9735
|
+
revokedAtUtc: string;
|
|
9736
|
+
verificationMethod: string;
|
|
9737
|
+
};
|
|
9592
9738
|
StaffNameResponse: {
|
|
9593
9739
|
subjectId: string;
|
|
9594
9740
|
displayName: string;
|
|
@@ -16763,6 +16909,273 @@ export interface operations {
|
|
|
16763
16909
|
};
|
|
16764
16910
|
};
|
|
16765
16911
|
};
|
|
16912
|
+
ListCustomerVerificationMethods: {
|
|
16913
|
+
parameters: {
|
|
16914
|
+
query?: {
|
|
16915
|
+
includeRetired?: boolean;
|
|
16916
|
+
};
|
|
16917
|
+
header?: never;
|
|
16918
|
+
path?: never;
|
|
16919
|
+
cookie?: never;
|
|
16920
|
+
};
|
|
16921
|
+
requestBody?: never;
|
|
16922
|
+
responses: {
|
|
16923
|
+
/** @description OK */
|
|
16924
|
+
200: {
|
|
16925
|
+
headers: {
|
|
16926
|
+
[name: string]: unknown;
|
|
16927
|
+
};
|
|
16928
|
+
content: {
|
|
16929
|
+
"application/json": components["schemas"]["CustomerVerificationMethodResponse"][];
|
|
16930
|
+
};
|
|
16931
|
+
};
|
|
16932
|
+
};
|
|
16933
|
+
};
|
|
16934
|
+
AddCustomerVerificationMethod: {
|
|
16935
|
+
parameters: {
|
|
16936
|
+
query?: never;
|
|
16937
|
+
header?: never;
|
|
16938
|
+
path?: never;
|
|
16939
|
+
cookie?: never;
|
|
16940
|
+
};
|
|
16941
|
+
requestBody: {
|
|
16942
|
+
content: {
|
|
16943
|
+
"application/json": components["schemas"]["AddCustomerVerificationMethodRequest"];
|
|
16944
|
+
};
|
|
16945
|
+
};
|
|
16946
|
+
responses: {
|
|
16947
|
+
/** @description Created */
|
|
16948
|
+
201: {
|
|
16949
|
+
headers: {
|
|
16950
|
+
[name: string]: unknown;
|
|
16951
|
+
};
|
|
16952
|
+
content: {
|
|
16953
|
+
"application/json": components["schemas"]["CustomerVerificationMethodResponse"];
|
|
16954
|
+
};
|
|
16955
|
+
};
|
|
16956
|
+
/** @description Bad Request */
|
|
16957
|
+
400: {
|
|
16958
|
+
headers: {
|
|
16959
|
+
[name: string]: unknown;
|
|
16960
|
+
};
|
|
16961
|
+
content: {
|
|
16962
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
16963
|
+
};
|
|
16964
|
+
};
|
|
16965
|
+
/** @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. */
|
|
16966
|
+
409: {
|
|
16967
|
+
headers: {
|
|
16968
|
+
[name: string]: unknown;
|
|
16969
|
+
};
|
|
16970
|
+
content: {
|
|
16971
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
16972
|
+
};
|
|
16973
|
+
};
|
|
16974
|
+
};
|
|
16975
|
+
};
|
|
16976
|
+
RevokeCustomerSessions: {
|
|
16977
|
+
parameters: {
|
|
16978
|
+
query?: never;
|
|
16979
|
+
header?: never;
|
|
16980
|
+
path: {
|
|
16981
|
+
id: string;
|
|
16982
|
+
};
|
|
16983
|
+
cookie?: never;
|
|
16984
|
+
};
|
|
16985
|
+
requestBody: {
|
|
16986
|
+
content: {
|
|
16987
|
+
"application/json": components["schemas"]["StaffCustomerSessionRevocationRequest"];
|
|
16988
|
+
};
|
|
16989
|
+
};
|
|
16990
|
+
responses: {
|
|
16991
|
+
/** @description OK */
|
|
16992
|
+
200: {
|
|
16993
|
+
headers: {
|
|
16994
|
+
[name: string]: unknown;
|
|
16995
|
+
};
|
|
16996
|
+
content: {
|
|
16997
|
+
"application/json": components["schemas"]["StaffCustomerSessionRevocationResponse"];
|
|
16998
|
+
};
|
|
16999
|
+
};
|
|
17000
|
+
/** @description Bad Request */
|
|
17001
|
+
400: {
|
|
17002
|
+
headers: {
|
|
17003
|
+
[name: string]: unknown;
|
|
17004
|
+
};
|
|
17005
|
+
content: {
|
|
17006
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17007
|
+
};
|
|
17008
|
+
};
|
|
17009
|
+
/** @description Not Found */
|
|
17010
|
+
404: {
|
|
17011
|
+
headers: {
|
|
17012
|
+
[name: string]: unknown;
|
|
17013
|
+
};
|
|
17014
|
+
content?: never;
|
|
17015
|
+
};
|
|
17016
|
+
/** @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. */
|
|
17017
|
+
409: {
|
|
17018
|
+
headers: {
|
|
17019
|
+
[name: string]: unknown;
|
|
17020
|
+
};
|
|
17021
|
+
content: {
|
|
17022
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17023
|
+
};
|
|
17024
|
+
};
|
|
17025
|
+
};
|
|
17026
|
+
};
|
|
17027
|
+
ListActingContexts: {
|
|
17028
|
+
parameters: {
|
|
17029
|
+
query?: never;
|
|
17030
|
+
header?: {
|
|
17031
|
+
/** @description The organisation to act for: one of the identifiers GET /api/v1/customer/contexts lists. Omit it, or send it empty, to act for your own account; there is no mode in which it becomes mandatory. A value you hold no active membership of, or one that is not an organisation identifier, is refused with 403 naming nothing, and never quietly treated as your own account. */
|
|
17032
|
+
"X-Broker-Acting-For"?: components["parameters"]["ActingFor"];
|
|
17033
|
+
};
|
|
17034
|
+
path?: never;
|
|
17035
|
+
cookie?: never;
|
|
17036
|
+
};
|
|
17037
|
+
requestBody?: never;
|
|
17038
|
+
responses: {
|
|
17039
|
+
/** @description OK */
|
|
17040
|
+
200: {
|
|
17041
|
+
headers: {
|
|
17042
|
+
/** @description The party this request actually acted for. Present, carrying the organisation identifier, when it acted for an organisation; absent when it acted for your own account. It mirrors the request header, so it can be sent back unchanged. Compare it with what you meant to send: it is the only way to see that a request you meant for an organisation was made personally. */
|
|
17043
|
+
"X-Broker-Acting-For"?: string;
|
|
17044
|
+
[name: string]: unknown;
|
|
17045
|
+
};
|
|
17046
|
+
content: {
|
|
17047
|
+
"application/json": components["schemas"]["ActingContextResponse"][];
|
|
17048
|
+
};
|
|
17049
|
+
};
|
|
17050
|
+
};
|
|
17051
|
+
};
|
|
17052
|
+
RelabelCustomerVerificationMethod: {
|
|
17053
|
+
parameters: {
|
|
17054
|
+
query?: never;
|
|
17055
|
+
header?: never;
|
|
17056
|
+
path: {
|
|
17057
|
+
key: string;
|
|
17058
|
+
};
|
|
17059
|
+
cookie?: never;
|
|
17060
|
+
};
|
|
17061
|
+
requestBody: {
|
|
17062
|
+
content: {
|
|
17063
|
+
"application/json": components["schemas"]["RelabelCustomerVerificationMethodRequest"];
|
|
17064
|
+
};
|
|
17065
|
+
};
|
|
17066
|
+
responses: {
|
|
17067
|
+
/** @description OK */
|
|
17068
|
+
200: {
|
|
17069
|
+
headers: {
|
|
17070
|
+
[name: string]: unknown;
|
|
17071
|
+
};
|
|
17072
|
+
content: {
|
|
17073
|
+
"application/json": components["schemas"]["CustomerVerificationMethodResponse"];
|
|
17074
|
+
};
|
|
17075
|
+
};
|
|
17076
|
+
/** @description Bad Request */
|
|
17077
|
+
400: {
|
|
17078
|
+
headers: {
|
|
17079
|
+
[name: string]: unknown;
|
|
17080
|
+
};
|
|
17081
|
+
content: {
|
|
17082
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17083
|
+
};
|
|
17084
|
+
};
|
|
17085
|
+
/** @description Not Found */
|
|
17086
|
+
404: {
|
|
17087
|
+
headers: {
|
|
17088
|
+
[name: string]: unknown;
|
|
17089
|
+
};
|
|
17090
|
+
content?: never;
|
|
17091
|
+
};
|
|
17092
|
+
/** @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. */
|
|
17093
|
+
409: {
|
|
17094
|
+
headers: {
|
|
17095
|
+
[name: string]: unknown;
|
|
17096
|
+
};
|
|
17097
|
+
content: {
|
|
17098
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17099
|
+
};
|
|
17100
|
+
};
|
|
17101
|
+
};
|
|
17102
|
+
};
|
|
17103
|
+
RetireCustomerVerificationMethod: {
|
|
17104
|
+
parameters: {
|
|
17105
|
+
query?: never;
|
|
17106
|
+
header?: never;
|
|
17107
|
+
path: {
|
|
17108
|
+
key: string;
|
|
17109
|
+
};
|
|
17110
|
+
cookie?: never;
|
|
17111
|
+
};
|
|
17112
|
+
requestBody?: never;
|
|
17113
|
+
responses: {
|
|
17114
|
+
/** @description OK */
|
|
17115
|
+
200: {
|
|
17116
|
+
headers: {
|
|
17117
|
+
[name: string]: unknown;
|
|
17118
|
+
};
|
|
17119
|
+
content: {
|
|
17120
|
+
"application/json": components["schemas"]["CustomerVerificationMethodResponse"];
|
|
17121
|
+
};
|
|
17122
|
+
};
|
|
17123
|
+
/** @description Not Found */
|
|
17124
|
+
404: {
|
|
17125
|
+
headers: {
|
|
17126
|
+
[name: string]: unknown;
|
|
17127
|
+
};
|
|
17128
|
+
content?: never;
|
|
17129
|
+
};
|
|
17130
|
+
/** @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. */
|
|
17131
|
+
409: {
|
|
17132
|
+
headers: {
|
|
17133
|
+
[name: string]: unknown;
|
|
17134
|
+
};
|
|
17135
|
+
content: {
|
|
17136
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17137
|
+
};
|
|
17138
|
+
};
|
|
17139
|
+
};
|
|
17140
|
+
};
|
|
17141
|
+
ReactivateCustomerVerificationMethod: {
|
|
17142
|
+
parameters: {
|
|
17143
|
+
query?: never;
|
|
17144
|
+
header?: never;
|
|
17145
|
+
path: {
|
|
17146
|
+
key: string;
|
|
17147
|
+
};
|
|
17148
|
+
cookie?: never;
|
|
17149
|
+
};
|
|
17150
|
+
requestBody?: never;
|
|
17151
|
+
responses: {
|
|
17152
|
+
/** @description OK */
|
|
17153
|
+
200: {
|
|
17154
|
+
headers: {
|
|
17155
|
+
[name: string]: unknown;
|
|
17156
|
+
};
|
|
17157
|
+
content: {
|
|
17158
|
+
"application/json": components["schemas"]["CustomerVerificationMethodResponse"];
|
|
17159
|
+
};
|
|
17160
|
+
};
|
|
17161
|
+
/** @description Not Found */
|
|
17162
|
+
404: {
|
|
17163
|
+
headers: {
|
|
17164
|
+
[name: string]: unknown;
|
|
17165
|
+
};
|
|
17166
|
+
content?: never;
|
|
17167
|
+
};
|
|
17168
|
+
/** @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. */
|
|
17169
|
+
409: {
|
|
17170
|
+
headers: {
|
|
17171
|
+
[name: string]: unknown;
|
|
17172
|
+
};
|
|
17173
|
+
content: {
|
|
17174
|
+
"application/problem+json": components["schemas"]["ConcurrencyConflictProblem"] | components["schemas"]["ProblemDetails"];
|
|
17175
|
+
};
|
|
17176
|
+
};
|
|
17177
|
+
};
|
|
17178
|
+
};
|
|
16766
17179
|
ListOrganisations: {
|
|
16767
17180
|
parameters: {
|
|
16768
17181
|
query?: {
|
|
@@ -17142,31 +17555,6 @@ export interface operations {
|
|
|
17142
17555
|
};
|
|
17143
17556
|
};
|
|
17144
17557
|
};
|
|
17145
|
-
ListActingContexts: {
|
|
17146
|
-
parameters: {
|
|
17147
|
-
query?: never;
|
|
17148
|
-
header?: {
|
|
17149
|
-
/** @description The organisation to act for: one of the identifiers GET /api/v1/customer/contexts lists. Omit it, or send it empty, to act for your own account; there is no mode in which it becomes mandatory. A value you hold no active membership of, or one that is not an organisation identifier, is refused with 403 naming nothing, and never quietly treated as your own account. */
|
|
17150
|
-
"X-Broker-Acting-For"?: components["parameters"]["ActingFor"];
|
|
17151
|
-
};
|
|
17152
|
-
path?: never;
|
|
17153
|
-
cookie?: never;
|
|
17154
|
-
};
|
|
17155
|
-
requestBody?: never;
|
|
17156
|
-
responses: {
|
|
17157
|
-
/** @description OK */
|
|
17158
|
-
200: {
|
|
17159
|
-
headers: {
|
|
17160
|
-
/** @description The party this request actually acted for. Present, carrying the organisation identifier, when it acted for an organisation; absent when it acted for your own account. It mirrors the request header, so it can be sent back unchanged. Compare it with what you meant to send: it is the only way to see that a request you meant for an organisation was made personally. */
|
|
17161
|
-
"X-Broker-Acting-For"?: string;
|
|
17162
|
-
[name: string]: unknown;
|
|
17163
|
-
};
|
|
17164
|
-
content: {
|
|
17165
|
-
"application/json": components["schemas"]["ActingContextResponse"][];
|
|
17166
|
-
};
|
|
17167
|
-
};
|
|
17168
|
-
};
|
|
17169
|
-
};
|
|
17170
17558
|
AcceptOrganisationMembership: {
|
|
17171
17559
|
parameters: {
|
|
17172
17560
|
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.22.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,
|