@insurance-broker/api-client 1.48.0 → 2.0.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 +454 -2
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3680,6 +3680,32 @@ export interface paths {
|
|
|
3680
3680
|
patch?: never;
|
|
3681
3681
|
trace?: never;
|
|
3682
3682
|
};
|
|
3683
|
+
"/api/v1/policies/{id}/documents/{documentId}/download-links": {
|
|
3684
|
+
parameters: {
|
|
3685
|
+
query?: never;
|
|
3686
|
+
header?: never;
|
|
3687
|
+
path?: never;
|
|
3688
|
+
cookie?: never;
|
|
3689
|
+
};
|
|
3690
|
+
get?: never;
|
|
3691
|
+
put?: never;
|
|
3692
|
+
/**
|
|
3693
|
+
* Mints a short-lived, single-use URL for a client that cannot send a header
|
|
3694
|
+
* @description DOC-003, ADR-0034 section 7. Answers `{ url, expiresAtUtc }` for one document of one policy.
|
|
3695
|
+
*
|
|
3696
|
+
* **This is for the clients that cannot send an `Authorization` header** - a native viewer, an image tag, an operating system downloader. Anything that can send a header should fetch `/content` instead.
|
|
3697
|
+
*
|
|
3698
|
+
* **The URL is single-use and expires in minutes.** Treat it as spent the moment it is handed to anything. `expiresAtUtc` is this deployment's configured lifetime, so read it rather than assuming five minutes.
|
|
3699
|
+
*
|
|
3700
|
+
* A document whose scan verdict is not `Clean` is refused here as well as at download, and the refusal names the verdict.
|
|
3701
|
+
*/
|
|
3702
|
+
post: operations["MintPolicyDocumentDownloadLink"];
|
|
3703
|
+
delete?: never;
|
|
3704
|
+
options?: never;
|
|
3705
|
+
head?: never;
|
|
3706
|
+
patch?: never;
|
|
3707
|
+
trace?: never;
|
|
3708
|
+
};
|
|
3683
3709
|
"/api/v1/document-templates": {
|
|
3684
3710
|
parameters: {
|
|
3685
3711
|
query?: never;
|
|
@@ -4035,7 +4061,13 @@ export interface paths {
|
|
|
4035
4061
|
};
|
|
4036
4062
|
/**
|
|
4037
4063
|
* Everything filed against this customer's policies, newest first
|
|
4038
|
-
* @description Lists the documents on every policy this customer holds
|
|
4064
|
+
* @description Lists the documents on every policy this customer holds - policy documents, certificates, invoices, receipts and correspondence - paged by cursor.
|
|
4065
|
+
*
|
|
4066
|
+
* A document is quarantined the moment it is stored and only a malware scan moves it, so a row whose `scanVerdict` is not `Clean` is listed here and cannot be downloaded. The refusal names which verdict it was.
|
|
4067
|
+
*
|
|
4068
|
+
* **Paged, and the shape changed in step 11.8** (issue #177). This answers `{ items, nextCursor }` where it used to answer a bare array capped at a hundred rows, past which the oldest documents were unreachable. Pass `nextCursor` back as `cursor`; a null one means this is the last page.
|
|
4069
|
+
*
|
|
4070
|
+
* For the documents of one policy rather than of all of them, use `/customer/policies/{id}/documents`.
|
|
4039
4071
|
*/
|
|
4040
4072
|
get: operations["ListCustomerPolicyDocuments"];
|
|
4041
4073
|
put?: never;
|
|
@@ -4086,6 +4118,149 @@ export interface paths {
|
|
|
4086
4118
|
patch?: never;
|
|
4087
4119
|
trace?: never;
|
|
4088
4120
|
};
|
|
4121
|
+
"/api/v1/customer/policy-documents/{documentId}/download-links": {
|
|
4122
|
+
parameters: {
|
|
4123
|
+
query?: never;
|
|
4124
|
+
header?: never;
|
|
4125
|
+
path?: never;
|
|
4126
|
+
cookie?: never;
|
|
4127
|
+
};
|
|
4128
|
+
get?: never;
|
|
4129
|
+
put?: never;
|
|
4130
|
+
/**
|
|
4131
|
+
* Mints a short-lived, single-use URL for a viewer that cannot send a header
|
|
4132
|
+
* @description DOC-003, ADR-0034 section 7. Answers `{ url, expiresAtUtc }` for one of your own documents.
|
|
4133
|
+
*
|
|
4134
|
+
* **This is for the clients that cannot send an `Authorization` header** - your device's own PDF viewer, an image tag, an operating system downloader. Anything that can send a header should fetch `/content` instead.
|
|
4135
|
+
*
|
|
4136
|
+
* **The URL is single-use and expires in minutes.** Treat it as spent the moment you hand it to anything: a viewer that probes it before fetching will consume it. Mint one per view rather than caching one. `expiresAtUtc` is this deployment's configured lifetime, so read it rather than assuming five minutes.
|
|
4137
|
+
*
|
|
4138
|
+
* A document whose scan verdict is not `Clean` is refused here as well as at download, and the refusal names the verdict. A document belonging to another customer answers exactly as one that does not exist.
|
|
4139
|
+
*/
|
|
4140
|
+
post: operations["MintCustomerPolicyDocumentDownloadLink"];
|
|
4141
|
+
delete?: never;
|
|
4142
|
+
options?: never;
|
|
4143
|
+
head?: never;
|
|
4144
|
+
patch?: never;
|
|
4145
|
+
trace?: never;
|
|
4146
|
+
};
|
|
4147
|
+
"/api/v1/customer/policies": {
|
|
4148
|
+
parameters: {
|
|
4149
|
+
query?: never;
|
|
4150
|
+
header?: never;
|
|
4151
|
+
path?: never;
|
|
4152
|
+
cookie?: never;
|
|
4153
|
+
};
|
|
4154
|
+
/**
|
|
4155
|
+
* The policies your broker has placed for you, most recent first
|
|
4156
|
+
* @description POL-006. Every policy of yours, paged by cursor.
|
|
4157
|
+
*
|
|
4158
|
+
* **You are not named in the request.** There is no customer field and no broker field: the list is whoever is signed in, resolved from the session. Another person's policies are not in it - not filtered out of it, but absent, because a policy that is not yours is not visible to this route at all.
|
|
4159
|
+
*
|
|
4160
|
+
* **`status` is not the answer to "am I covered today".** That question is the status and the cover dates together: a policy reading `Active` whose cover period has ended is an ordinary row, and so is one reading `Expired` that a renewal later reinstates (ADR-0035 section 4). Both dates are on every row.
|
|
4161
|
+
*
|
|
4162
|
+
* **`insurerId` and `productId` are identifiers, not names.** The insurer and the product are records your broker's catalogue owns; read their names from their own routes.
|
|
4163
|
+
*
|
|
4164
|
+
* Your broker's migration working notes are not here. A policy carried across from an older system says so in `source`, and what the old system recorded verbatim is a separate record with a permission of its own.
|
|
4165
|
+
*/
|
|
4166
|
+
get: operations["ListCustomerPolicies"];
|
|
4167
|
+
put?: never;
|
|
4168
|
+
post?: never;
|
|
4169
|
+
delete?: never;
|
|
4170
|
+
options?: never;
|
|
4171
|
+
head?: never;
|
|
4172
|
+
patch?: never;
|
|
4173
|
+
trace?: never;
|
|
4174
|
+
};
|
|
4175
|
+
"/api/v1/customer/policies/{id}": {
|
|
4176
|
+
parameters: {
|
|
4177
|
+
query?: never;
|
|
4178
|
+
header?: never;
|
|
4179
|
+
path?: never;
|
|
4180
|
+
cookie?: never;
|
|
4181
|
+
};
|
|
4182
|
+
/**
|
|
4183
|
+
* One of your own policies
|
|
4184
|
+
* @description POL-006. When the cover runs from and to, who it is placed with, what it costs and where it is in its life.
|
|
4185
|
+
*
|
|
4186
|
+
* Another person's policy and a policy that does not exist are one 404, because a policy belonging to somebody else is not visible to this route at all rather than hidden from it by a filter somebody remembered to write.
|
|
4187
|
+
*/
|
|
4188
|
+
get: operations["GetCustomerPolicy"];
|
|
4189
|
+
put?: never;
|
|
4190
|
+
post?: never;
|
|
4191
|
+
delete?: never;
|
|
4192
|
+
options?: never;
|
|
4193
|
+
head?: never;
|
|
4194
|
+
patch?: never;
|
|
4195
|
+
trace?: never;
|
|
4196
|
+
};
|
|
4197
|
+
"/api/v1/customer/policies/{id}/documents": {
|
|
4198
|
+
parameters: {
|
|
4199
|
+
query?: never;
|
|
4200
|
+
header?: never;
|
|
4201
|
+
path?: never;
|
|
4202
|
+
cookie?: never;
|
|
4203
|
+
};
|
|
4204
|
+
/**
|
|
4205
|
+
* The documents filed against one of your policies, newest first
|
|
4206
|
+
* @description POL-006 and DOC-003. What your broker has filed against this policy - the policy document itself, certificates, invoices, receipts and correspondence - paged by cursor.
|
|
4207
|
+
*
|
|
4208
|
+
* A document is quarantined the moment it is stored and only a malware scan moves it, so a row whose `scanVerdict` is not `Clean` is listed here and cannot be downloaded. The refusal names which verdict it was.
|
|
4209
|
+
*
|
|
4210
|
+
* A policy belonging to somebody else answers exactly as one that does not exist.
|
|
4211
|
+
*/
|
|
4212
|
+
get: operations["ListCustomerPolicyDocumentsForPolicy"];
|
|
4213
|
+
put?: never;
|
|
4214
|
+
post?: never;
|
|
4215
|
+
delete?: never;
|
|
4216
|
+
options?: never;
|
|
4217
|
+
head?: never;
|
|
4218
|
+
patch?: never;
|
|
4219
|
+
trace?: never;
|
|
4220
|
+
};
|
|
4221
|
+
"/api/v1/customer/policies/{id}/documents/{documentId}/download-links": {
|
|
4222
|
+
parameters: {
|
|
4223
|
+
query?: never;
|
|
4224
|
+
header?: never;
|
|
4225
|
+
path?: never;
|
|
4226
|
+
cookie?: never;
|
|
4227
|
+
};
|
|
4228
|
+
get?: never;
|
|
4229
|
+
put?: never;
|
|
4230
|
+
/**
|
|
4231
|
+
* Mints a short-lived, single-use URL for a viewer that cannot send a header
|
|
4232
|
+
* @description DOC-003, ADR-0034 section 7. Answers `{ url, expiresAtUtc }` for one document of one of your policies.
|
|
4233
|
+
*
|
|
4234
|
+
* **This is for the clients that cannot send an `Authorization` header** - your device's own PDF viewer, an image tag, an operating system downloader. Anything that can send a header should fetch `/content` instead.
|
|
4235
|
+
*
|
|
4236
|
+
* **The URL is single-use and expires in minutes.** Treat it as spent the moment you hand it to anything: a viewer that probes it before fetching will consume it. Mint one per view rather than caching one. `expiresAtUtc` is this deployment's configured lifetime, so read it rather than assuming five minutes.
|
|
4237
|
+
*
|
|
4238
|
+
* A document whose scan verdict is not `Clean` is refused here as well as at download, and the refusal names the verdict.
|
|
4239
|
+
*/
|
|
4240
|
+
post: operations["MintCustomerPolicyDocumentDownloadLinkForPolicy"];
|
|
4241
|
+
delete?: never;
|
|
4242
|
+
options?: never;
|
|
4243
|
+
head?: never;
|
|
4244
|
+
patch?: never;
|
|
4245
|
+
trace?: never;
|
|
4246
|
+
};
|
|
4247
|
+
"/api/v1/policy-documents/download-links/{token}": {
|
|
4248
|
+
parameters: {
|
|
4249
|
+
query?: never;
|
|
4250
|
+
header?: never;
|
|
4251
|
+
path?: never;
|
|
4252
|
+
cookie?: never;
|
|
4253
|
+
};
|
|
4254
|
+
/** Redeems a short-lived download link and streams the policy document it names. */
|
|
4255
|
+
get: operations["RedeemPolicyDocumentDownloadLink"];
|
|
4256
|
+
put?: never;
|
|
4257
|
+
post?: never;
|
|
4258
|
+
delete?: never;
|
|
4259
|
+
options?: never;
|
|
4260
|
+
head?: never;
|
|
4261
|
+
patch?: never;
|
|
4262
|
+
trace?: never;
|
|
4263
|
+
};
|
|
4089
4264
|
"/api/v1/quote-requests": {
|
|
4090
4265
|
parameters: {
|
|
4091
4266
|
query?: never;
|
|
@@ -5443,6 +5618,10 @@ export interface components {
|
|
|
5443
5618
|
recordedAtUtc: string;
|
|
5444
5619
|
state: string;
|
|
5445
5620
|
};
|
|
5621
|
+
CustomerPolicyPage: {
|
|
5622
|
+
items: components["schemas"]["PolicyResponse"][];
|
|
5623
|
+
nextCursor: null | string;
|
|
5624
|
+
};
|
|
5446
5625
|
CustomerPresentedQuoteResponse: {
|
|
5447
5626
|
/** Format: uuid */
|
|
5448
5627
|
presentationVersionId: string;
|
|
@@ -6544,6 +6723,15 @@ export interface components {
|
|
|
6544
6723
|
sortOrder: number | string;
|
|
6545
6724
|
features: components["schemas"]["PlatformPlanFeatureResponse"][];
|
|
6546
6725
|
};
|
|
6726
|
+
PolicyDocumentDownloadLinkResponse: {
|
|
6727
|
+
url: string;
|
|
6728
|
+
/** Format: date-time */
|
|
6729
|
+
expiresAtUtc: string;
|
|
6730
|
+
};
|
|
6731
|
+
PolicyDocumentPage: {
|
|
6732
|
+
items: components["schemas"]["PolicyDocumentResponse"][];
|
|
6733
|
+
nextCursor: null | string;
|
|
6734
|
+
};
|
|
6547
6735
|
PolicyDocumentResponse: {
|
|
6548
6736
|
/** Format: uuid */
|
|
6549
6737
|
id: string;
|
|
@@ -16107,6 +16295,45 @@ export interface operations {
|
|
|
16107
16295
|
};
|
|
16108
16296
|
};
|
|
16109
16297
|
};
|
|
16298
|
+
MintPolicyDocumentDownloadLink: {
|
|
16299
|
+
parameters: {
|
|
16300
|
+
query?: never;
|
|
16301
|
+
header?: never;
|
|
16302
|
+
path: {
|
|
16303
|
+
id: string;
|
|
16304
|
+
documentId: string;
|
|
16305
|
+
};
|
|
16306
|
+
cookie?: never;
|
|
16307
|
+
};
|
|
16308
|
+
requestBody?: never;
|
|
16309
|
+
responses: {
|
|
16310
|
+
/** @description Created */
|
|
16311
|
+
201: {
|
|
16312
|
+
headers: {
|
|
16313
|
+
[name: string]: unknown;
|
|
16314
|
+
};
|
|
16315
|
+
content: {
|
|
16316
|
+
"application/json": components["schemas"]["PolicyDocumentDownloadLinkResponse"];
|
|
16317
|
+
};
|
|
16318
|
+
};
|
|
16319
|
+
/** @description Not Found */
|
|
16320
|
+
404: {
|
|
16321
|
+
headers: {
|
|
16322
|
+
[name: string]: unknown;
|
|
16323
|
+
};
|
|
16324
|
+
content?: never;
|
|
16325
|
+
};
|
|
16326
|
+
/** @description Conflict */
|
|
16327
|
+
409: {
|
|
16328
|
+
headers: {
|
|
16329
|
+
[name: string]: unknown;
|
|
16330
|
+
};
|
|
16331
|
+
content: {
|
|
16332
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
16333
|
+
};
|
|
16334
|
+
};
|
|
16335
|
+
};
|
|
16336
|
+
};
|
|
16110
16337
|
ListDocumentTemplates: {
|
|
16111
16338
|
parameters: {
|
|
16112
16339
|
query?: {
|
|
@@ -16954,6 +17181,7 @@ export interface operations {
|
|
|
16954
17181
|
ListCustomerPolicyDocuments: {
|
|
16955
17182
|
parameters: {
|
|
16956
17183
|
query?: {
|
|
17184
|
+
cursor?: string;
|
|
16957
17185
|
limit?: number | string;
|
|
16958
17186
|
};
|
|
16959
17187
|
header?: never;
|
|
@@ -16968,7 +17196,16 @@ export interface operations {
|
|
|
16968
17196
|
[name: string]: unknown;
|
|
16969
17197
|
};
|
|
16970
17198
|
content: {
|
|
16971
|
-
"application/json": components["schemas"]["
|
|
17199
|
+
"application/json": components["schemas"]["PolicyDocumentPage"];
|
|
17200
|
+
};
|
|
17201
|
+
};
|
|
17202
|
+
/** @description Bad Request */
|
|
17203
|
+
400: {
|
|
17204
|
+
headers: {
|
|
17205
|
+
[name: string]: unknown;
|
|
17206
|
+
};
|
|
17207
|
+
content: {
|
|
17208
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
16972
17209
|
};
|
|
16973
17210
|
};
|
|
16974
17211
|
};
|
|
@@ -17038,6 +17275,221 @@ export interface operations {
|
|
|
17038
17275
|
};
|
|
17039
17276
|
};
|
|
17040
17277
|
};
|
|
17278
|
+
MintCustomerPolicyDocumentDownloadLink: {
|
|
17279
|
+
parameters: {
|
|
17280
|
+
query?: never;
|
|
17281
|
+
header?: never;
|
|
17282
|
+
path: {
|
|
17283
|
+
documentId: string;
|
|
17284
|
+
};
|
|
17285
|
+
cookie?: never;
|
|
17286
|
+
};
|
|
17287
|
+
requestBody?: never;
|
|
17288
|
+
responses: {
|
|
17289
|
+
/** @description Created */
|
|
17290
|
+
201: {
|
|
17291
|
+
headers: {
|
|
17292
|
+
[name: string]: unknown;
|
|
17293
|
+
};
|
|
17294
|
+
content: {
|
|
17295
|
+
"application/json": components["schemas"]["PolicyDocumentDownloadLinkResponse"];
|
|
17296
|
+
};
|
|
17297
|
+
};
|
|
17298
|
+
/** @description Not Found */
|
|
17299
|
+
404: {
|
|
17300
|
+
headers: {
|
|
17301
|
+
[name: string]: unknown;
|
|
17302
|
+
};
|
|
17303
|
+
content?: never;
|
|
17304
|
+
};
|
|
17305
|
+
/** @description Conflict */
|
|
17306
|
+
409: {
|
|
17307
|
+
headers: {
|
|
17308
|
+
[name: string]: unknown;
|
|
17309
|
+
};
|
|
17310
|
+
content: {
|
|
17311
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
17312
|
+
};
|
|
17313
|
+
};
|
|
17314
|
+
};
|
|
17315
|
+
};
|
|
17316
|
+
ListCustomerPolicies: {
|
|
17317
|
+
parameters: {
|
|
17318
|
+
query?: {
|
|
17319
|
+
cursor?: string;
|
|
17320
|
+
limit?: number | string;
|
|
17321
|
+
};
|
|
17322
|
+
header?: never;
|
|
17323
|
+
path?: never;
|
|
17324
|
+
cookie?: never;
|
|
17325
|
+
};
|
|
17326
|
+
requestBody?: never;
|
|
17327
|
+
responses: {
|
|
17328
|
+
/** @description OK */
|
|
17329
|
+
200: {
|
|
17330
|
+
headers: {
|
|
17331
|
+
[name: string]: unknown;
|
|
17332
|
+
};
|
|
17333
|
+
content: {
|
|
17334
|
+
"application/json": components["schemas"]["CustomerPolicyPage"];
|
|
17335
|
+
};
|
|
17336
|
+
};
|
|
17337
|
+
/** @description Bad Request */
|
|
17338
|
+
400: {
|
|
17339
|
+
headers: {
|
|
17340
|
+
[name: string]: unknown;
|
|
17341
|
+
};
|
|
17342
|
+
content: {
|
|
17343
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17344
|
+
};
|
|
17345
|
+
};
|
|
17346
|
+
};
|
|
17347
|
+
};
|
|
17348
|
+
GetCustomerPolicy: {
|
|
17349
|
+
parameters: {
|
|
17350
|
+
query?: never;
|
|
17351
|
+
header?: never;
|
|
17352
|
+
path: {
|
|
17353
|
+
id: string;
|
|
17354
|
+
};
|
|
17355
|
+
cookie?: never;
|
|
17356
|
+
};
|
|
17357
|
+
requestBody?: never;
|
|
17358
|
+
responses: {
|
|
17359
|
+
/** @description OK */
|
|
17360
|
+
200: {
|
|
17361
|
+
headers: {
|
|
17362
|
+
[name: string]: unknown;
|
|
17363
|
+
};
|
|
17364
|
+
content: {
|
|
17365
|
+
"application/json": components["schemas"]["PolicyResponse"];
|
|
17366
|
+
};
|
|
17367
|
+
};
|
|
17368
|
+
/** @description Not Found */
|
|
17369
|
+
404: {
|
|
17370
|
+
headers: {
|
|
17371
|
+
[name: string]: unknown;
|
|
17372
|
+
};
|
|
17373
|
+
content?: never;
|
|
17374
|
+
};
|
|
17375
|
+
};
|
|
17376
|
+
};
|
|
17377
|
+
ListCustomerPolicyDocumentsForPolicy: {
|
|
17378
|
+
parameters: {
|
|
17379
|
+
query?: {
|
|
17380
|
+
cursor?: string;
|
|
17381
|
+
limit?: number | string;
|
|
17382
|
+
};
|
|
17383
|
+
header?: never;
|
|
17384
|
+
path: {
|
|
17385
|
+
id: string;
|
|
17386
|
+
};
|
|
17387
|
+
cookie?: never;
|
|
17388
|
+
};
|
|
17389
|
+
requestBody?: never;
|
|
17390
|
+
responses: {
|
|
17391
|
+
/** @description OK */
|
|
17392
|
+
200: {
|
|
17393
|
+
headers: {
|
|
17394
|
+
[name: string]: unknown;
|
|
17395
|
+
};
|
|
17396
|
+
content: {
|
|
17397
|
+
"application/json": components["schemas"]["PolicyDocumentPage"];
|
|
17398
|
+
};
|
|
17399
|
+
};
|
|
17400
|
+
/** @description Bad Request */
|
|
17401
|
+
400: {
|
|
17402
|
+
headers: {
|
|
17403
|
+
[name: string]: unknown;
|
|
17404
|
+
};
|
|
17405
|
+
content: {
|
|
17406
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
17407
|
+
};
|
|
17408
|
+
};
|
|
17409
|
+
/** @description Not Found */
|
|
17410
|
+
404: {
|
|
17411
|
+
headers: {
|
|
17412
|
+
[name: string]: unknown;
|
|
17413
|
+
};
|
|
17414
|
+
content?: never;
|
|
17415
|
+
};
|
|
17416
|
+
};
|
|
17417
|
+
};
|
|
17418
|
+
MintCustomerPolicyDocumentDownloadLinkForPolicy: {
|
|
17419
|
+
parameters: {
|
|
17420
|
+
query?: never;
|
|
17421
|
+
header?: never;
|
|
17422
|
+
path: {
|
|
17423
|
+
id: string;
|
|
17424
|
+
documentId: string;
|
|
17425
|
+
};
|
|
17426
|
+
cookie?: never;
|
|
17427
|
+
};
|
|
17428
|
+
requestBody?: never;
|
|
17429
|
+
responses: {
|
|
17430
|
+
/** @description Created */
|
|
17431
|
+
201: {
|
|
17432
|
+
headers: {
|
|
17433
|
+
[name: string]: unknown;
|
|
17434
|
+
};
|
|
17435
|
+
content: {
|
|
17436
|
+
"application/json": components["schemas"]["PolicyDocumentDownloadLinkResponse"];
|
|
17437
|
+
};
|
|
17438
|
+
};
|
|
17439
|
+
/** @description Not Found */
|
|
17440
|
+
404: {
|
|
17441
|
+
headers: {
|
|
17442
|
+
[name: string]: unknown;
|
|
17443
|
+
};
|
|
17444
|
+
content?: never;
|
|
17445
|
+
};
|
|
17446
|
+
/** @description Conflict */
|
|
17447
|
+
409: {
|
|
17448
|
+
headers: {
|
|
17449
|
+
[name: string]: unknown;
|
|
17450
|
+
};
|
|
17451
|
+
content: {
|
|
17452
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
17453
|
+
};
|
|
17454
|
+
};
|
|
17455
|
+
};
|
|
17456
|
+
};
|
|
17457
|
+
RedeemPolicyDocumentDownloadLink: {
|
|
17458
|
+
parameters: {
|
|
17459
|
+
query?: never;
|
|
17460
|
+
header?: never;
|
|
17461
|
+
path: {
|
|
17462
|
+
token: string;
|
|
17463
|
+
};
|
|
17464
|
+
cookie?: never;
|
|
17465
|
+
};
|
|
17466
|
+
requestBody?: never;
|
|
17467
|
+
responses: {
|
|
17468
|
+
/** @description OK */
|
|
17469
|
+
200: {
|
|
17470
|
+
headers: {
|
|
17471
|
+
[name: string]: unknown;
|
|
17472
|
+
};
|
|
17473
|
+
content?: never;
|
|
17474
|
+
};
|
|
17475
|
+
/** @description Not Found */
|
|
17476
|
+
404: {
|
|
17477
|
+
headers: {
|
|
17478
|
+
[name: string]: unknown;
|
|
17479
|
+
};
|
|
17480
|
+
content?: never;
|
|
17481
|
+
};
|
|
17482
|
+
/** @description Conflict */
|
|
17483
|
+
409: {
|
|
17484
|
+
headers: {
|
|
17485
|
+
[name: string]: unknown;
|
|
17486
|
+
};
|
|
17487
|
+
content: {
|
|
17488
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
17489
|
+
};
|
|
17490
|
+
};
|
|
17491
|
+
};
|
|
17492
|
+
};
|
|
17041
17493
|
ListQuoteRequests: {
|
|
17042
17494
|
parameters: {
|
|
17043
17495
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.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,
|