@insurance-broker/api-client 1.2.0 → 1.4.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 +377 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -562,6 +562,108 @@ export interface paths {
|
|
|
562
562
|
patch?: never;
|
|
563
563
|
trace?: never;
|
|
564
564
|
};
|
|
565
|
+
"/api/v1/form-submissions/{id}/attachments/{evidenceKey}": {
|
|
566
|
+
parameters: {
|
|
567
|
+
query?: never;
|
|
568
|
+
header?: never;
|
|
569
|
+
path?: never;
|
|
570
|
+
cookie?: never;
|
|
571
|
+
};
|
|
572
|
+
get?: never;
|
|
573
|
+
put?: never;
|
|
574
|
+
/** Attaches a file to one of the evidence requirements the form asks for. */
|
|
575
|
+
post: operations["UploadSubmissionAttachment"];
|
|
576
|
+
delete?: never;
|
|
577
|
+
options?: never;
|
|
578
|
+
head?: never;
|
|
579
|
+
patch?: never;
|
|
580
|
+
trace?: never;
|
|
581
|
+
};
|
|
582
|
+
"/api/v1/form-submissions/{id}/attachments": {
|
|
583
|
+
parameters: {
|
|
584
|
+
query?: never;
|
|
585
|
+
header?: never;
|
|
586
|
+
path?: never;
|
|
587
|
+
cookie?: never;
|
|
588
|
+
};
|
|
589
|
+
/** The files attached to this submission, oldest first. */
|
|
590
|
+
get: operations["ListSubmissionAttachments"];
|
|
591
|
+
put?: never;
|
|
592
|
+
post?: never;
|
|
593
|
+
delete?: never;
|
|
594
|
+
options?: never;
|
|
595
|
+
head?: never;
|
|
596
|
+
patch?: never;
|
|
597
|
+
trace?: never;
|
|
598
|
+
};
|
|
599
|
+
"/api/v1/form-submissions/{id}/attachments/{attachmentId}": {
|
|
600
|
+
parameters: {
|
|
601
|
+
query?: never;
|
|
602
|
+
header?: never;
|
|
603
|
+
path?: never;
|
|
604
|
+
cookie?: never;
|
|
605
|
+
};
|
|
606
|
+
get?: never;
|
|
607
|
+
put?: never;
|
|
608
|
+
post?: never;
|
|
609
|
+
/** Takes a file off a submission that has not been made yet. */
|
|
610
|
+
delete: operations["RemoveSubmissionAttachment"];
|
|
611
|
+
options?: never;
|
|
612
|
+
head?: never;
|
|
613
|
+
patch?: never;
|
|
614
|
+
trace?: never;
|
|
615
|
+
};
|
|
616
|
+
"/api/v1/customer/form-submissions/{id}/attachments/{evidenceKey}": {
|
|
617
|
+
parameters: {
|
|
618
|
+
query?: never;
|
|
619
|
+
header?: never;
|
|
620
|
+
path?: never;
|
|
621
|
+
cookie?: never;
|
|
622
|
+
};
|
|
623
|
+
get?: never;
|
|
624
|
+
put?: never;
|
|
625
|
+
/** Attaches a file to one of the evidence requirements the form asks for. */
|
|
626
|
+
post: operations["UploadCustomerSubmissionAttachment"];
|
|
627
|
+
delete?: never;
|
|
628
|
+
options?: never;
|
|
629
|
+
head?: never;
|
|
630
|
+
patch?: never;
|
|
631
|
+
trace?: never;
|
|
632
|
+
};
|
|
633
|
+
"/api/v1/customer/form-submissions/{id}/attachments": {
|
|
634
|
+
parameters: {
|
|
635
|
+
query?: never;
|
|
636
|
+
header?: never;
|
|
637
|
+
path?: never;
|
|
638
|
+
cookie?: never;
|
|
639
|
+
};
|
|
640
|
+
/** The files attached to this submission, oldest first. */
|
|
641
|
+
get: operations["ListCustomerSubmissionAttachments"];
|
|
642
|
+
put?: never;
|
|
643
|
+
post?: never;
|
|
644
|
+
delete?: never;
|
|
645
|
+
options?: never;
|
|
646
|
+
head?: never;
|
|
647
|
+
patch?: never;
|
|
648
|
+
trace?: never;
|
|
649
|
+
};
|
|
650
|
+
"/api/v1/customer/form-submissions/{id}/attachments/{attachmentId}": {
|
|
651
|
+
parameters: {
|
|
652
|
+
query?: never;
|
|
653
|
+
header?: never;
|
|
654
|
+
path?: never;
|
|
655
|
+
cookie?: never;
|
|
656
|
+
};
|
|
657
|
+
get?: never;
|
|
658
|
+
put?: never;
|
|
659
|
+
post?: never;
|
|
660
|
+
/** Takes a file off a submission that has not been made yet. */
|
|
661
|
+
delete: operations["RemoveCustomerSubmissionAttachment"];
|
|
662
|
+
options?: never;
|
|
663
|
+
head?: never;
|
|
664
|
+
patch?: never;
|
|
665
|
+
trace?: never;
|
|
666
|
+
};
|
|
565
667
|
"/api/v1/customer/products": {
|
|
566
668
|
parameters: {
|
|
567
669
|
query?: never;
|
|
@@ -2009,6 +2111,8 @@ export interface components {
|
|
|
2009
2111
|
[key: string]: string[];
|
|
2010
2112
|
};
|
|
2011
2113
|
};
|
|
2114
|
+
/** Format: binary */
|
|
2115
|
+
IFormFile: string;
|
|
2012
2116
|
ImportedQuoteOptionRow: {
|
|
2013
2117
|
/** Format: double */
|
|
2014
2118
|
premiumAmount: null | number | string;
|
|
@@ -2536,6 +2640,25 @@ export interface components {
|
|
|
2536
2640
|
quoteRequestId: null | string;
|
|
2537
2641
|
options: null | components["schemas"]["PresentedOptionRequest"][];
|
|
2538
2642
|
};
|
|
2643
|
+
SubmissionAttachmentResponse: {
|
|
2644
|
+
/** Format: uuid */
|
|
2645
|
+
id: string;
|
|
2646
|
+
evidenceKey: string;
|
|
2647
|
+
fileName: string;
|
|
2648
|
+
contentType: string;
|
|
2649
|
+
/** Format: int64 */
|
|
2650
|
+
sizeBytes: number | string;
|
|
2651
|
+
contentSha256: string;
|
|
2652
|
+
/** Format: date-time */
|
|
2653
|
+
uploadedAtUtc: string;
|
|
2654
|
+
uploadedBySubjectId: string;
|
|
2655
|
+
scanVerdict: string;
|
|
2656
|
+
/** Format: date-time */
|
|
2657
|
+
scannedAtUtc: null | string;
|
|
2658
|
+
};
|
|
2659
|
+
SubmissionAttachmentUpload: {
|
|
2660
|
+
file: components["schemas"]["IFormFile"];
|
|
2661
|
+
};
|
|
2539
2662
|
SubmitFormSubmissionRequest: {
|
|
2540
2663
|
idempotencyKey: null | string;
|
|
2541
2664
|
};
|
|
@@ -4376,6 +4499,260 @@ export interface operations {
|
|
|
4376
4499
|
};
|
|
4377
4500
|
};
|
|
4378
4501
|
};
|
|
4502
|
+
UploadSubmissionAttachment: {
|
|
4503
|
+
parameters: {
|
|
4504
|
+
query?: never;
|
|
4505
|
+
header?: never;
|
|
4506
|
+
path: {
|
|
4507
|
+
id: string;
|
|
4508
|
+
evidenceKey: string;
|
|
4509
|
+
};
|
|
4510
|
+
cookie?: never;
|
|
4511
|
+
};
|
|
4512
|
+
requestBody: {
|
|
4513
|
+
content: {
|
|
4514
|
+
"multipart/form-data": components["schemas"]["SubmissionAttachmentUpload"];
|
|
4515
|
+
};
|
|
4516
|
+
};
|
|
4517
|
+
responses: {
|
|
4518
|
+
/** @description Created */
|
|
4519
|
+
201: {
|
|
4520
|
+
headers: {
|
|
4521
|
+
[name: string]: unknown;
|
|
4522
|
+
};
|
|
4523
|
+
content: {
|
|
4524
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"];
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
/** @description Bad Request */
|
|
4528
|
+
400: {
|
|
4529
|
+
headers: {
|
|
4530
|
+
[name: string]: unknown;
|
|
4531
|
+
};
|
|
4532
|
+
content: {
|
|
4533
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
4534
|
+
};
|
|
4535
|
+
};
|
|
4536
|
+
/** @description Not Found */
|
|
4537
|
+
404: {
|
|
4538
|
+
headers: {
|
|
4539
|
+
[name: string]: unknown;
|
|
4540
|
+
};
|
|
4541
|
+
content?: never;
|
|
4542
|
+
};
|
|
4543
|
+
/** @description Conflict */
|
|
4544
|
+
409: {
|
|
4545
|
+
headers: {
|
|
4546
|
+
[name: string]: unknown;
|
|
4547
|
+
};
|
|
4548
|
+
content: {
|
|
4549
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4550
|
+
};
|
|
4551
|
+
};
|
|
4552
|
+
/** @description Payload Too Large */
|
|
4553
|
+
413: {
|
|
4554
|
+
headers: {
|
|
4555
|
+
[name: string]: unknown;
|
|
4556
|
+
};
|
|
4557
|
+
content: {
|
|
4558
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4559
|
+
};
|
|
4560
|
+
};
|
|
4561
|
+
};
|
|
4562
|
+
};
|
|
4563
|
+
ListSubmissionAttachments: {
|
|
4564
|
+
parameters: {
|
|
4565
|
+
query?: never;
|
|
4566
|
+
header?: never;
|
|
4567
|
+
path: {
|
|
4568
|
+
id: string;
|
|
4569
|
+
};
|
|
4570
|
+
cookie?: never;
|
|
4571
|
+
};
|
|
4572
|
+
requestBody?: never;
|
|
4573
|
+
responses: {
|
|
4574
|
+
/** @description OK */
|
|
4575
|
+
200: {
|
|
4576
|
+
headers: {
|
|
4577
|
+
[name: string]: unknown;
|
|
4578
|
+
};
|
|
4579
|
+
content: {
|
|
4580
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"][];
|
|
4581
|
+
};
|
|
4582
|
+
};
|
|
4583
|
+
/** @description Not Found */
|
|
4584
|
+
404: {
|
|
4585
|
+
headers: {
|
|
4586
|
+
[name: string]: unknown;
|
|
4587
|
+
};
|
|
4588
|
+
content?: never;
|
|
4589
|
+
};
|
|
4590
|
+
};
|
|
4591
|
+
};
|
|
4592
|
+
RemoveSubmissionAttachment: {
|
|
4593
|
+
parameters: {
|
|
4594
|
+
query?: never;
|
|
4595
|
+
header?: never;
|
|
4596
|
+
path: {
|
|
4597
|
+
id: string;
|
|
4598
|
+
attachmentId: string;
|
|
4599
|
+
};
|
|
4600
|
+
cookie?: never;
|
|
4601
|
+
};
|
|
4602
|
+
requestBody?: never;
|
|
4603
|
+
responses: {
|
|
4604
|
+
/** @description No Content */
|
|
4605
|
+
204: {
|
|
4606
|
+
headers: {
|
|
4607
|
+
[name: string]: unknown;
|
|
4608
|
+
};
|
|
4609
|
+
content?: never;
|
|
4610
|
+
};
|
|
4611
|
+
/** @description Not Found */
|
|
4612
|
+
404: {
|
|
4613
|
+
headers: {
|
|
4614
|
+
[name: string]: unknown;
|
|
4615
|
+
};
|
|
4616
|
+
content?: never;
|
|
4617
|
+
};
|
|
4618
|
+
/** @description Conflict */
|
|
4619
|
+
409: {
|
|
4620
|
+
headers: {
|
|
4621
|
+
[name: string]: unknown;
|
|
4622
|
+
};
|
|
4623
|
+
content: {
|
|
4624
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4625
|
+
};
|
|
4626
|
+
};
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
UploadCustomerSubmissionAttachment: {
|
|
4630
|
+
parameters: {
|
|
4631
|
+
query?: never;
|
|
4632
|
+
header?: never;
|
|
4633
|
+
path: {
|
|
4634
|
+
id: string;
|
|
4635
|
+
evidenceKey: string;
|
|
4636
|
+
};
|
|
4637
|
+
cookie?: never;
|
|
4638
|
+
};
|
|
4639
|
+
requestBody: {
|
|
4640
|
+
content: {
|
|
4641
|
+
"multipart/form-data": components["schemas"]["SubmissionAttachmentUpload"];
|
|
4642
|
+
};
|
|
4643
|
+
};
|
|
4644
|
+
responses: {
|
|
4645
|
+
/** @description Created */
|
|
4646
|
+
201: {
|
|
4647
|
+
headers: {
|
|
4648
|
+
[name: string]: unknown;
|
|
4649
|
+
};
|
|
4650
|
+
content: {
|
|
4651
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"];
|
|
4652
|
+
};
|
|
4653
|
+
};
|
|
4654
|
+
/** @description Bad Request */
|
|
4655
|
+
400: {
|
|
4656
|
+
headers: {
|
|
4657
|
+
[name: string]: unknown;
|
|
4658
|
+
};
|
|
4659
|
+
content: {
|
|
4660
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
4661
|
+
};
|
|
4662
|
+
};
|
|
4663
|
+
/** @description Not Found */
|
|
4664
|
+
404: {
|
|
4665
|
+
headers: {
|
|
4666
|
+
[name: string]: unknown;
|
|
4667
|
+
};
|
|
4668
|
+
content?: never;
|
|
4669
|
+
};
|
|
4670
|
+
/** @description Conflict */
|
|
4671
|
+
409: {
|
|
4672
|
+
headers: {
|
|
4673
|
+
[name: string]: unknown;
|
|
4674
|
+
};
|
|
4675
|
+
content: {
|
|
4676
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4677
|
+
};
|
|
4678
|
+
};
|
|
4679
|
+
/** @description Payload Too Large */
|
|
4680
|
+
413: {
|
|
4681
|
+
headers: {
|
|
4682
|
+
[name: string]: unknown;
|
|
4683
|
+
};
|
|
4684
|
+
content: {
|
|
4685
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4686
|
+
};
|
|
4687
|
+
};
|
|
4688
|
+
};
|
|
4689
|
+
};
|
|
4690
|
+
ListCustomerSubmissionAttachments: {
|
|
4691
|
+
parameters: {
|
|
4692
|
+
query?: never;
|
|
4693
|
+
header?: never;
|
|
4694
|
+
path: {
|
|
4695
|
+
id: string;
|
|
4696
|
+
};
|
|
4697
|
+
cookie?: never;
|
|
4698
|
+
};
|
|
4699
|
+
requestBody?: never;
|
|
4700
|
+
responses: {
|
|
4701
|
+
/** @description OK */
|
|
4702
|
+
200: {
|
|
4703
|
+
headers: {
|
|
4704
|
+
[name: string]: unknown;
|
|
4705
|
+
};
|
|
4706
|
+
content: {
|
|
4707
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"][];
|
|
4708
|
+
};
|
|
4709
|
+
};
|
|
4710
|
+
/** @description Not Found */
|
|
4711
|
+
404: {
|
|
4712
|
+
headers: {
|
|
4713
|
+
[name: string]: unknown;
|
|
4714
|
+
};
|
|
4715
|
+
content?: never;
|
|
4716
|
+
};
|
|
4717
|
+
};
|
|
4718
|
+
};
|
|
4719
|
+
RemoveCustomerSubmissionAttachment: {
|
|
4720
|
+
parameters: {
|
|
4721
|
+
query?: never;
|
|
4722
|
+
header?: never;
|
|
4723
|
+
path: {
|
|
4724
|
+
id: string;
|
|
4725
|
+
attachmentId: string;
|
|
4726
|
+
};
|
|
4727
|
+
cookie?: never;
|
|
4728
|
+
};
|
|
4729
|
+
requestBody?: never;
|
|
4730
|
+
responses: {
|
|
4731
|
+
/** @description No Content */
|
|
4732
|
+
204: {
|
|
4733
|
+
headers: {
|
|
4734
|
+
[name: string]: unknown;
|
|
4735
|
+
};
|
|
4736
|
+
content?: never;
|
|
4737
|
+
};
|
|
4738
|
+
/** @description Not Found */
|
|
4739
|
+
404: {
|
|
4740
|
+
headers: {
|
|
4741
|
+
[name: string]: unknown;
|
|
4742
|
+
};
|
|
4743
|
+
content?: never;
|
|
4744
|
+
};
|
|
4745
|
+
/** @description Conflict */
|
|
4746
|
+
409: {
|
|
4747
|
+
headers: {
|
|
4748
|
+
[name: string]: unknown;
|
|
4749
|
+
};
|
|
4750
|
+
content: {
|
|
4751
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4752
|
+
};
|
|
4753
|
+
};
|
|
4754
|
+
};
|
|
4755
|
+
};
|
|
4379
4756
|
SearchOfferedProducts: {
|
|
4380
4757
|
parameters: {
|
|
4381
4758
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.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,
|