@insurance-broker/api-client 1.2.0 → 1.3.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 +374 -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,22 @@ 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
|
+
};
|
|
2656
|
+
SubmissionAttachmentUpload: {
|
|
2657
|
+
file: components["schemas"]["IFormFile"];
|
|
2658
|
+
};
|
|
2539
2659
|
SubmitFormSubmissionRequest: {
|
|
2540
2660
|
idempotencyKey: null | string;
|
|
2541
2661
|
};
|
|
@@ -4376,6 +4496,260 @@ export interface operations {
|
|
|
4376
4496
|
};
|
|
4377
4497
|
};
|
|
4378
4498
|
};
|
|
4499
|
+
UploadSubmissionAttachment: {
|
|
4500
|
+
parameters: {
|
|
4501
|
+
query?: never;
|
|
4502
|
+
header?: never;
|
|
4503
|
+
path: {
|
|
4504
|
+
id: string;
|
|
4505
|
+
evidenceKey: string;
|
|
4506
|
+
};
|
|
4507
|
+
cookie?: never;
|
|
4508
|
+
};
|
|
4509
|
+
requestBody: {
|
|
4510
|
+
content: {
|
|
4511
|
+
"multipart/form-data": components["schemas"]["SubmissionAttachmentUpload"];
|
|
4512
|
+
};
|
|
4513
|
+
};
|
|
4514
|
+
responses: {
|
|
4515
|
+
/** @description Created */
|
|
4516
|
+
201: {
|
|
4517
|
+
headers: {
|
|
4518
|
+
[name: string]: unknown;
|
|
4519
|
+
};
|
|
4520
|
+
content: {
|
|
4521
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"];
|
|
4522
|
+
};
|
|
4523
|
+
};
|
|
4524
|
+
/** @description Bad Request */
|
|
4525
|
+
400: {
|
|
4526
|
+
headers: {
|
|
4527
|
+
[name: string]: unknown;
|
|
4528
|
+
};
|
|
4529
|
+
content: {
|
|
4530
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
4531
|
+
};
|
|
4532
|
+
};
|
|
4533
|
+
/** @description Not Found */
|
|
4534
|
+
404: {
|
|
4535
|
+
headers: {
|
|
4536
|
+
[name: string]: unknown;
|
|
4537
|
+
};
|
|
4538
|
+
content?: never;
|
|
4539
|
+
};
|
|
4540
|
+
/** @description Conflict */
|
|
4541
|
+
409: {
|
|
4542
|
+
headers: {
|
|
4543
|
+
[name: string]: unknown;
|
|
4544
|
+
};
|
|
4545
|
+
content: {
|
|
4546
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4547
|
+
};
|
|
4548
|
+
};
|
|
4549
|
+
/** @description Payload Too Large */
|
|
4550
|
+
413: {
|
|
4551
|
+
headers: {
|
|
4552
|
+
[name: string]: unknown;
|
|
4553
|
+
};
|
|
4554
|
+
content: {
|
|
4555
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4556
|
+
};
|
|
4557
|
+
};
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4560
|
+
ListSubmissionAttachments: {
|
|
4561
|
+
parameters: {
|
|
4562
|
+
query?: never;
|
|
4563
|
+
header?: never;
|
|
4564
|
+
path: {
|
|
4565
|
+
id: string;
|
|
4566
|
+
};
|
|
4567
|
+
cookie?: never;
|
|
4568
|
+
};
|
|
4569
|
+
requestBody?: never;
|
|
4570
|
+
responses: {
|
|
4571
|
+
/** @description OK */
|
|
4572
|
+
200: {
|
|
4573
|
+
headers: {
|
|
4574
|
+
[name: string]: unknown;
|
|
4575
|
+
};
|
|
4576
|
+
content: {
|
|
4577
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"][];
|
|
4578
|
+
};
|
|
4579
|
+
};
|
|
4580
|
+
/** @description Not Found */
|
|
4581
|
+
404: {
|
|
4582
|
+
headers: {
|
|
4583
|
+
[name: string]: unknown;
|
|
4584
|
+
};
|
|
4585
|
+
content?: never;
|
|
4586
|
+
};
|
|
4587
|
+
};
|
|
4588
|
+
};
|
|
4589
|
+
RemoveSubmissionAttachment: {
|
|
4590
|
+
parameters: {
|
|
4591
|
+
query?: never;
|
|
4592
|
+
header?: never;
|
|
4593
|
+
path: {
|
|
4594
|
+
id: string;
|
|
4595
|
+
attachmentId: string;
|
|
4596
|
+
};
|
|
4597
|
+
cookie?: never;
|
|
4598
|
+
};
|
|
4599
|
+
requestBody?: never;
|
|
4600
|
+
responses: {
|
|
4601
|
+
/** @description No Content */
|
|
4602
|
+
204: {
|
|
4603
|
+
headers: {
|
|
4604
|
+
[name: string]: unknown;
|
|
4605
|
+
};
|
|
4606
|
+
content?: never;
|
|
4607
|
+
};
|
|
4608
|
+
/** @description Not Found */
|
|
4609
|
+
404: {
|
|
4610
|
+
headers: {
|
|
4611
|
+
[name: string]: unknown;
|
|
4612
|
+
};
|
|
4613
|
+
content?: never;
|
|
4614
|
+
};
|
|
4615
|
+
/** @description Conflict */
|
|
4616
|
+
409: {
|
|
4617
|
+
headers: {
|
|
4618
|
+
[name: string]: unknown;
|
|
4619
|
+
};
|
|
4620
|
+
content: {
|
|
4621
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4622
|
+
};
|
|
4623
|
+
};
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
UploadCustomerSubmissionAttachment: {
|
|
4627
|
+
parameters: {
|
|
4628
|
+
query?: never;
|
|
4629
|
+
header?: never;
|
|
4630
|
+
path: {
|
|
4631
|
+
id: string;
|
|
4632
|
+
evidenceKey: string;
|
|
4633
|
+
};
|
|
4634
|
+
cookie?: never;
|
|
4635
|
+
};
|
|
4636
|
+
requestBody: {
|
|
4637
|
+
content: {
|
|
4638
|
+
"multipart/form-data": components["schemas"]["SubmissionAttachmentUpload"];
|
|
4639
|
+
};
|
|
4640
|
+
};
|
|
4641
|
+
responses: {
|
|
4642
|
+
/** @description Created */
|
|
4643
|
+
201: {
|
|
4644
|
+
headers: {
|
|
4645
|
+
[name: string]: unknown;
|
|
4646
|
+
};
|
|
4647
|
+
content: {
|
|
4648
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"];
|
|
4649
|
+
};
|
|
4650
|
+
};
|
|
4651
|
+
/** @description Bad Request */
|
|
4652
|
+
400: {
|
|
4653
|
+
headers: {
|
|
4654
|
+
[name: string]: unknown;
|
|
4655
|
+
};
|
|
4656
|
+
content: {
|
|
4657
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
4658
|
+
};
|
|
4659
|
+
};
|
|
4660
|
+
/** @description Not Found */
|
|
4661
|
+
404: {
|
|
4662
|
+
headers: {
|
|
4663
|
+
[name: string]: unknown;
|
|
4664
|
+
};
|
|
4665
|
+
content?: never;
|
|
4666
|
+
};
|
|
4667
|
+
/** @description Conflict */
|
|
4668
|
+
409: {
|
|
4669
|
+
headers: {
|
|
4670
|
+
[name: string]: unknown;
|
|
4671
|
+
};
|
|
4672
|
+
content: {
|
|
4673
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4674
|
+
};
|
|
4675
|
+
};
|
|
4676
|
+
/** @description Payload Too Large */
|
|
4677
|
+
413: {
|
|
4678
|
+
headers: {
|
|
4679
|
+
[name: string]: unknown;
|
|
4680
|
+
};
|
|
4681
|
+
content: {
|
|
4682
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4683
|
+
};
|
|
4684
|
+
};
|
|
4685
|
+
};
|
|
4686
|
+
};
|
|
4687
|
+
ListCustomerSubmissionAttachments: {
|
|
4688
|
+
parameters: {
|
|
4689
|
+
query?: never;
|
|
4690
|
+
header?: never;
|
|
4691
|
+
path: {
|
|
4692
|
+
id: string;
|
|
4693
|
+
};
|
|
4694
|
+
cookie?: never;
|
|
4695
|
+
};
|
|
4696
|
+
requestBody?: never;
|
|
4697
|
+
responses: {
|
|
4698
|
+
/** @description OK */
|
|
4699
|
+
200: {
|
|
4700
|
+
headers: {
|
|
4701
|
+
[name: string]: unknown;
|
|
4702
|
+
};
|
|
4703
|
+
content: {
|
|
4704
|
+
"application/json": components["schemas"]["SubmissionAttachmentResponse"][];
|
|
4705
|
+
};
|
|
4706
|
+
};
|
|
4707
|
+
/** @description Not Found */
|
|
4708
|
+
404: {
|
|
4709
|
+
headers: {
|
|
4710
|
+
[name: string]: unknown;
|
|
4711
|
+
};
|
|
4712
|
+
content?: never;
|
|
4713
|
+
};
|
|
4714
|
+
};
|
|
4715
|
+
};
|
|
4716
|
+
RemoveCustomerSubmissionAttachment: {
|
|
4717
|
+
parameters: {
|
|
4718
|
+
query?: never;
|
|
4719
|
+
header?: never;
|
|
4720
|
+
path: {
|
|
4721
|
+
id: string;
|
|
4722
|
+
attachmentId: string;
|
|
4723
|
+
};
|
|
4724
|
+
cookie?: never;
|
|
4725
|
+
};
|
|
4726
|
+
requestBody?: never;
|
|
4727
|
+
responses: {
|
|
4728
|
+
/** @description No Content */
|
|
4729
|
+
204: {
|
|
4730
|
+
headers: {
|
|
4731
|
+
[name: string]: unknown;
|
|
4732
|
+
};
|
|
4733
|
+
content?: never;
|
|
4734
|
+
};
|
|
4735
|
+
/** @description Not Found */
|
|
4736
|
+
404: {
|
|
4737
|
+
headers: {
|
|
4738
|
+
[name: string]: unknown;
|
|
4739
|
+
};
|
|
4740
|
+
content?: never;
|
|
4741
|
+
};
|
|
4742
|
+
/** @description Conflict */
|
|
4743
|
+
409: {
|
|
4744
|
+
headers: {
|
|
4745
|
+
[name: string]: unknown;
|
|
4746
|
+
};
|
|
4747
|
+
content: {
|
|
4748
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
4749
|
+
};
|
|
4750
|
+
};
|
|
4751
|
+
};
|
|
4752
|
+
};
|
|
4379
4753
|
SearchOfferedProducts: {
|
|
4380
4754
|
parameters: {
|
|
4381
4755
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.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,
|