@insurance-broker/api-client 5.4.0 → 5.7.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 +154 -73
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -66,6 +66,8 @@ export interface paths {
|
|
|
66
66
|
* @description PAY-002. Another broker's obligation and another customer's are invisible here rather than refused: the tenant and owner query filters remove them before the read runs, so all three cases answer the same `404` (ADR-0008, ADR-0030).
|
|
67
67
|
*
|
|
68
68
|
* There is **no overdue field**. Whether an obligation is overdue is a comparison between its due date and the clock, and step 9.10's lists compute it at read time and return the day they measured against — ADR-0035 §4's rule, which forbids storing a status a date comparison answers.
|
|
69
|
+
*
|
|
70
|
+
* **`paid` and `balance` are computed as the response is written** (#595), by the same rule as the list. `paid` is read a moment after the charge itself, so a payment that lands in between can show in `paid` and `balance` before `status` reflects it; read again and the two agree. `balance` is not always `amount` less `paid`: a cancelled charge is owed nothing, so money paid against one leaves the customer in credit, and a written-off charge is owed what actually arrived and no more.
|
|
69
71
|
*/
|
|
70
72
|
get: operations["GetObligation"];
|
|
71
73
|
put?: never;
|
|
@@ -133,7 +135,15 @@ export interface paths {
|
|
|
133
135
|
path?: never;
|
|
134
136
|
cookie?: never;
|
|
135
137
|
};
|
|
136
|
-
|
|
138
|
+
/**
|
|
139
|
+
* List what this broker has invoiced, newest first
|
|
140
|
+
* @description ADR-0042 section 8, ADR-0031. Every invoice this broker has drafted — drafts, issued invoices and discarded drafts — **most recently drafted first**, ordered by `draftedAtUtc` and then `id`, both descending, and paged by cursor. The drafting instant is the key because it never changes: an invoice keeps its place in the walk when it is issued or discarded.
|
|
141
|
+
*
|
|
142
|
+
* `customerId`, `policyId` and `status` (`Draft`, `Issued`, `Discarded`) narrow the list and combine. **None of them is authorisation**: the broker whose invoices these are comes from the session, and naming another broker's customer selects nothing rather than refusing.
|
|
143
|
+
*
|
|
144
|
+
* A row carries no lines; `GET /invoices/{id}` returns one invoice with its lines. There is no total and no count: `nextCursor` is null at the end of the walk (ADR-0031 section 4). A cursor this endpoint did not issue is a `400`.
|
|
145
|
+
*/
|
|
146
|
+
get: operations["ListInvoices"];
|
|
137
147
|
put?: never;
|
|
138
148
|
/**
|
|
139
149
|
* Open a draft invoice against a policy
|
|
@@ -6378,7 +6388,7 @@ export interface components {
|
|
|
6378
6388
|
fileName: string;
|
|
6379
6389
|
contentType: string;
|
|
6380
6390
|
/** Format: int64 */
|
|
6381
|
-
sizeBytes: number
|
|
6391
|
+
sizeBytes: number;
|
|
6382
6392
|
contentSha256: string;
|
|
6383
6393
|
/** Format: date-time */
|
|
6384
6394
|
uploadedAtUtc: string;
|
|
@@ -6537,10 +6547,10 @@ export interface components {
|
|
|
6537
6547
|
/** Format: uuid */
|
|
6538
6548
|
productId: string;
|
|
6539
6549
|
/** Format: int32 */
|
|
6540
|
-
versionNumber: number
|
|
6550
|
+
versionNumber: number;
|
|
6541
6551
|
status: string;
|
|
6542
6552
|
/** Format: int32 */
|
|
6543
|
-
bodySchemaVersion: number
|
|
6553
|
+
bodySchemaVersion: number;
|
|
6544
6554
|
contentHash: null | string;
|
|
6545
6555
|
/** Format: date-time */
|
|
6546
6556
|
createdAtUtc: string;
|
|
@@ -6604,7 +6614,7 @@ export interface components {
|
|
|
6604
6614
|
/** Format: uuid */
|
|
6605
6615
|
id: string;
|
|
6606
6616
|
/** Format: int32 */
|
|
6607
|
-
ordinal: number
|
|
6617
|
+
ordinal: number;
|
|
6608
6618
|
kind: string;
|
|
6609
6619
|
description: string;
|
|
6610
6620
|
/** Format: double */
|
|
@@ -6715,14 +6725,14 @@ export interface components {
|
|
|
6715
6725
|
/** Format: uuid */
|
|
6716
6726
|
definitionVersionId: string;
|
|
6717
6727
|
/** Format: int32 */
|
|
6718
|
-
versionNumber: number
|
|
6728
|
+
versionNumber: number;
|
|
6719
6729
|
versionStatus: components["schemas"]["FormVersionStatus"];
|
|
6720
6730
|
status: components["schemas"]["SubmissionStatus"];
|
|
6721
6731
|
/** Format: date */
|
|
6722
6732
|
evaluatedAsOf: string;
|
|
6723
6733
|
contentHashVerified: boolean;
|
|
6724
6734
|
/** Format: int32 */
|
|
6725
|
-
answersSchemaVersion: number
|
|
6735
|
+
answersSchemaVersion: number;
|
|
6726
6736
|
/** Format: date-time */
|
|
6727
6737
|
createdAtUtc: string;
|
|
6728
6738
|
/** Format: date-time */
|
|
@@ -6733,7 +6743,7 @@ export interface components {
|
|
|
6733
6743
|
/** Format: uuid */
|
|
6734
6744
|
liveVersionId: null | string;
|
|
6735
6745
|
/** Format: int32 */
|
|
6736
|
-
liveVersionNumber: null | number
|
|
6746
|
+
liveVersionNumber: null | number;
|
|
6737
6747
|
answers: components["schemas"]["CustomerSubmittedAnswerResponse"][];
|
|
6738
6748
|
evidence: components["schemas"]["SubmittedEvidenceResponse"][];
|
|
6739
6749
|
isSatisfied: boolean;
|
|
@@ -6820,7 +6830,7 @@ export interface components {
|
|
|
6820
6830
|
fileName: string;
|
|
6821
6831
|
contentType: string;
|
|
6822
6832
|
/** Format: int64 */
|
|
6823
|
-
sizeBytes: number
|
|
6833
|
+
sizeBytes: number;
|
|
6824
6834
|
contentSha256: string;
|
|
6825
6835
|
/** Format: date-time */
|
|
6826
6836
|
uploadedAtUtc: string;
|
|
@@ -6898,9 +6908,9 @@ export interface components {
|
|
|
6898
6908
|
/** Format: uuid */
|
|
6899
6909
|
presentationVersionId: string;
|
|
6900
6910
|
/** Format: int32 */
|
|
6901
|
-
versionNumber: number
|
|
6911
|
+
versionNumber: number;
|
|
6902
6912
|
/** Format: int32 */
|
|
6903
|
-
bodySchemaVersion: number
|
|
6913
|
+
bodySchemaVersion: number;
|
|
6904
6914
|
body: string;
|
|
6905
6915
|
/** Format: date */
|
|
6906
6916
|
pricedAsOf: string;
|
|
@@ -6917,7 +6927,7 @@ export interface components {
|
|
|
6917
6927
|
/** Format: uuid */
|
|
6918
6928
|
presentationVersionId: null | string;
|
|
6919
6929
|
/** Format: int32 */
|
|
6920
|
-
versionNumber: null | number
|
|
6930
|
+
versionNumber: null | number;
|
|
6921
6931
|
/** Format: date */
|
|
6922
6932
|
asOf: string;
|
|
6923
6933
|
currency: null | string;
|
|
@@ -7053,7 +7063,7 @@ export interface components {
|
|
|
7053
7063
|
fileName: string;
|
|
7054
7064
|
contentType: string;
|
|
7055
7065
|
/** Format: int64 */
|
|
7056
|
-
sizeBytes: number
|
|
7066
|
+
sizeBytes: number;
|
|
7057
7067
|
contentSha256: string;
|
|
7058
7068
|
/** Format: date-time */
|
|
7059
7069
|
uploadedAtUtc: string;
|
|
@@ -7082,7 +7092,7 @@ export interface components {
|
|
|
7082
7092
|
name: string;
|
|
7083
7093
|
description: null | string;
|
|
7084
7094
|
/** Format: int32 */
|
|
7085
|
-
sortOrder: number
|
|
7095
|
+
sortOrder: number;
|
|
7086
7096
|
};
|
|
7087
7097
|
DeadLetterPage: {
|
|
7088
7098
|
items: components["schemas"]["DeadLetterResponse"][];
|
|
@@ -7101,7 +7111,7 @@ export interface components {
|
|
|
7101
7111
|
messageId: null | string;
|
|
7102
7112
|
tenantKey: null | string;
|
|
7103
7113
|
/** Format: int32 */
|
|
7104
|
-
attempts: number
|
|
7114
|
+
attempts: number;
|
|
7105
7115
|
cause: string;
|
|
7106
7116
|
error: string;
|
|
7107
7117
|
/** Format: date-time */
|
|
@@ -7158,9 +7168,9 @@ export interface components {
|
|
|
7158
7168
|
/** Format: uuid */
|
|
7159
7169
|
versionId: string;
|
|
7160
7170
|
/** Format: int32 */
|
|
7161
|
-
versionNumber: number
|
|
7171
|
+
versionNumber: number;
|
|
7162
7172
|
/** Format: int32 */
|
|
7163
|
-
bodySchemaVersion: number
|
|
7173
|
+
bodySchemaVersion: number;
|
|
7164
7174
|
/** Format: date-time */
|
|
7165
7175
|
createdAtUtc: string;
|
|
7166
7176
|
createdBySubjectId: string;
|
|
@@ -7181,7 +7191,7 @@ export interface components {
|
|
|
7181
7191
|
draft: null | components["schemas"]["DocumentTemplateVersionResponse"];
|
|
7182
7192
|
published: null | components["schemas"]["DocumentTemplateVersionResponse"];
|
|
7183
7193
|
/** Format: int32 */
|
|
7184
|
-
versionCount: number
|
|
7194
|
+
versionCount: number;
|
|
7185
7195
|
};
|
|
7186
7196
|
DocumentTemplateVersionBodyResponse: {
|
|
7187
7197
|
version: components["schemas"]["DocumentTemplateVersionResponse"];
|
|
@@ -7191,10 +7201,10 @@ export interface components {
|
|
|
7191
7201
|
/** Format: uuid */
|
|
7192
7202
|
id: string;
|
|
7193
7203
|
/** Format: int32 */
|
|
7194
|
-
versionNumber: number
|
|
7204
|
+
versionNumber: number;
|
|
7195
7205
|
status: string;
|
|
7196
7206
|
/** Format: int32 */
|
|
7197
|
-
bodySchemaVersion: number
|
|
7207
|
+
bodySchemaVersion: number;
|
|
7198
7208
|
contentHash: null | string;
|
|
7199
7209
|
/** Format: date-time */
|
|
7200
7210
|
createdAtUtc: string;
|
|
@@ -7221,7 +7231,7 @@ export interface components {
|
|
|
7221
7231
|
name: string;
|
|
7222
7232
|
description: null | string;
|
|
7223
7233
|
/** Format: int32 */
|
|
7224
|
-
sortOrder: number
|
|
7234
|
+
sortOrder: number;
|
|
7225
7235
|
/** Format: uuid */
|
|
7226
7236
|
productId: null | string;
|
|
7227
7237
|
platform: components["schemas"]["EmergencyContactDetailsResponse"];
|
|
@@ -7261,9 +7271,9 @@ export interface components {
|
|
|
7261
7271
|
view: string;
|
|
7262
7272
|
format: string;
|
|
7263
7273
|
/** Format: int32 */
|
|
7264
|
-
rowCount: number
|
|
7274
|
+
rowCount: number;
|
|
7265
7275
|
/** Format: int64 */
|
|
7266
|
-
byteCount: number
|
|
7276
|
+
byteCount: number;
|
|
7267
7277
|
contentSha256: string;
|
|
7268
7278
|
/** Format: uuid */
|
|
7269
7279
|
customerId: null | string;
|
|
@@ -7456,7 +7466,7 @@ export interface components {
|
|
|
7456
7466
|
draft: null | components["schemas"]["FormVersionResponse"];
|
|
7457
7467
|
published: null | components["schemas"]["FormVersionResponse"];
|
|
7458
7468
|
/** Format: int32 */
|
|
7459
|
-
versionCount: number
|
|
7469
|
+
versionCount: number;
|
|
7460
7470
|
};
|
|
7461
7471
|
/** @enum {string} */
|
|
7462
7472
|
FormKind: "Quote" | "Claim";
|
|
@@ -7474,14 +7484,14 @@ export interface components {
|
|
|
7474
7484
|
/** Format: uuid */
|
|
7475
7485
|
definitionVersionId: string;
|
|
7476
7486
|
/** Format: int32 */
|
|
7477
|
-
versionNumber: number
|
|
7487
|
+
versionNumber: number;
|
|
7478
7488
|
versionStatus: components["schemas"]["FormVersionStatus"];
|
|
7479
7489
|
status: components["schemas"]["SubmissionStatus"];
|
|
7480
7490
|
/** Format: date */
|
|
7481
7491
|
evaluatedAsOf: string;
|
|
7482
7492
|
contentHashVerified: boolean;
|
|
7483
7493
|
/** Format: int32 */
|
|
7484
|
-
answersSchemaVersion: number
|
|
7494
|
+
answersSchemaVersion: number;
|
|
7485
7495
|
/** Format: date-time */
|
|
7486
7496
|
createdAtUtc: string;
|
|
7487
7497
|
createdBySubjectId: string;
|
|
@@ -7494,7 +7504,7 @@ export interface components {
|
|
|
7494
7504
|
/** Format: uuid */
|
|
7495
7505
|
liveVersionId: null | string;
|
|
7496
7506
|
/** Format: int32 */
|
|
7497
|
-
liveVersionNumber: null | number
|
|
7507
|
+
liveVersionNumber: null | number;
|
|
7498
7508
|
answers: components["schemas"]["SubmittedAnswerResponse"][];
|
|
7499
7509
|
evidence: components["schemas"]["SubmittedEvidenceResponse"][];
|
|
7500
7510
|
isSatisfied: boolean;
|
|
@@ -7516,10 +7526,10 @@ export interface components {
|
|
|
7516
7526
|
/** Format: uuid */
|
|
7517
7527
|
id: string;
|
|
7518
7528
|
/** Format: int32 */
|
|
7519
|
-
versionNumber: number
|
|
7529
|
+
versionNumber: number;
|
|
7520
7530
|
status: components["schemas"]["FormVersionStatus"];
|
|
7521
7531
|
/** Format: int32 */
|
|
7522
|
-
bodySchemaVersion: number
|
|
7532
|
+
bodySchemaVersion: number;
|
|
7523
7533
|
contentHash: null | string;
|
|
7524
7534
|
/** Format: date-time */
|
|
7525
7535
|
createdAtUtc: string;
|
|
@@ -7536,7 +7546,7 @@ export interface components {
|
|
|
7536
7546
|
FreeTextPaymentSourceResponse: {
|
|
7537
7547
|
source: string;
|
|
7538
7548
|
/** Format: int32 */
|
|
7539
|
-
payments: number
|
|
7549
|
+
payments: number;
|
|
7540
7550
|
};
|
|
7541
7551
|
FreeTextPaymentSourcesResponse: {
|
|
7542
7552
|
sources: components["schemas"]["FreeTextPaymentSourceResponse"][];
|
|
@@ -7563,7 +7573,7 @@ export interface components {
|
|
|
7563
7573
|
type?: null | string;
|
|
7564
7574
|
title?: null | string;
|
|
7565
7575
|
/** Format: int32 */
|
|
7566
|
-
status?: null | number
|
|
7576
|
+
status?: null | number;
|
|
7567
7577
|
detail?: null | string;
|
|
7568
7578
|
instance?: null | string;
|
|
7569
7579
|
errors?: {
|
|
@@ -7700,12 +7710,14 @@ export interface components {
|
|
|
7700
7710
|
email: null | string;
|
|
7701
7711
|
phone: null | string;
|
|
7702
7712
|
website: null | string;
|
|
7703
|
-
status:
|
|
7713
|
+
status: components["schemas"]["InsurerStatus"];
|
|
7704
7714
|
/** Format: date-time */
|
|
7705
7715
|
createdAtUtc: string;
|
|
7706
7716
|
/** Format: date-time */
|
|
7707
7717
|
updatedAtUtc: string;
|
|
7708
7718
|
};
|
|
7719
|
+
/** @enum {string} */
|
|
7720
|
+
InsurerStatus: "Active" | "Suspended";
|
|
7709
7721
|
InsurerSubmissionResponse: {
|
|
7710
7722
|
/** Format: uuid */
|
|
7711
7723
|
id: string;
|
|
@@ -7741,13 +7753,17 @@ export interface components {
|
|
|
7741
7753
|
/** Format: uuid */
|
|
7742
7754
|
id: string;
|
|
7743
7755
|
/** Format: int32 */
|
|
7744
|
-
ordinal: number
|
|
7756
|
+
ordinal: number;
|
|
7745
7757
|
kind: string;
|
|
7746
7758
|
description: string;
|
|
7747
7759
|
/** Format: double */
|
|
7748
7760
|
amount: number | string;
|
|
7749
7761
|
currency: string;
|
|
7750
7762
|
};
|
|
7763
|
+
InvoicePage: {
|
|
7764
|
+
items: components["schemas"]["InvoiceSummaryResponse"][];
|
|
7765
|
+
nextCursor: null | string;
|
|
7766
|
+
};
|
|
7751
7767
|
InvoiceResponse: {
|
|
7752
7768
|
/** Format: uuid */
|
|
7753
7769
|
id: string;
|
|
@@ -7775,6 +7791,32 @@ export interface components {
|
|
|
7775
7791
|
retentionAnchorAtUtc: null | string;
|
|
7776
7792
|
lines: components["schemas"]["InvoiceLineResponse"][];
|
|
7777
7793
|
};
|
|
7794
|
+
InvoiceSummaryResponse: {
|
|
7795
|
+
/** Format: uuid */
|
|
7796
|
+
id: string;
|
|
7797
|
+
/** Format: uuid */
|
|
7798
|
+
customerId: string;
|
|
7799
|
+
/** Format: uuid */
|
|
7800
|
+
policyId: string;
|
|
7801
|
+
/** Format: uuid */
|
|
7802
|
+
productId: string;
|
|
7803
|
+
/** Format: double */
|
|
7804
|
+
premiumAmount: number | string;
|
|
7805
|
+
currency: string;
|
|
7806
|
+
/** Format: date */
|
|
7807
|
+
coverStart: null | string;
|
|
7808
|
+
/** Format: date */
|
|
7809
|
+
coverEnd: null | string;
|
|
7810
|
+
status: string;
|
|
7811
|
+
/** Format: date-time */
|
|
7812
|
+
draftedAtUtc: string;
|
|
7813
|
+
/** Format: date-time */
|
|
7814
|
+
issuedAtUtc: null | string;
|
|
7815
|
+
/** Format: double */
|
|
7816
|
+
totalAmount: null | number | string;
|
|
7817
|
+
/** Format: date-time */
|
|
7818
|
+
retentionAnchorAtUtc: null | string;
|
|
7819
|
+
};
|
|
7778
7820
|
IssueCreditNoteRequest: {
|
|
7779
7821
|
reason: string;
|
|
7780
7822
|
lines: components["schemas"]["CreditNoteLineRequest"][];
|
|
@@ -7811,11 +7853,11 @@ export interface components {
|
|
|
7811
7853
|
to: null | string;
|
|
7812
7854
|
source: null | string;
|
|
7813
7855
|
/** Format: int32 */
|
|
7814
|
-
arrived: number
|
|
7856
|
+
arrived: number;
|
|
7815
7857
|
/** Format: int32 */
|
|
7816
|
-
unassigned: number
|
|
7858
|
+
unassigned: number;
|
|
7817
7859
|
/** Format: int32 */
|
|
7818
|
-
assigned: number
|
|
7860
|
+
assigned: number;
|
|
7819
7861
|
bySource: components["schemas"]["LeadFunnelSourceRow"][];
|
|
7820
7862
|
/** Format: date-time */
|
|
7821
7863
|
asAtUtc: null | string;
|
|
@@ -7841,11 +7883,11 @@ export interface components {
|
|
|
7841
7883
|
LeadFunnelSourceRow: {
|
|
7842
7884
|
source: string;
|
|
7843
7885
|
/** Format: int32 */
|
|
7844
|
-
arrived: number
|
|
7886
|
+
arrived: number;
|
|
7845
7887
|
/** Format: int32 */
|
|
7846
|
-
unassigned: number
|
|
7888
|
+
unassigned: number;
|
|
7847
7889
|
/** Format: int32 */
|
|
7848
|
-
assigned: number
|
|
7890
|
+
assigned: number;
|
|
7849
7891
|
};
|
|
7850
7892
|
LeadResponse: {
|
|
7851
7893
|
/** Format: uuid */
|
|
@@ -7887,7 +7929,7 @@ export interface components {
|
|
|
7887
7929
|
id: string;
|
|
7888
7930
|
kind: string;
|
|
7889
7931
|
/** Format: int32 */
|
|
7890
|
-
version: number
|
|
7932
|
+
version: number;
|
|
7891
7933
|
body: string;
|
|
7892
7934
|
/** Format: date-time */
|
|
7893
7935
|
publishedAtUtc: string;
|
|
@@ -7963,6 +8005,10 @@ export interface components {
|
|
|
7963
8005
|
productId: string;
|
|
7964
8006
|
/** Format: double */
|
|
7965
8007
|
amount: number | string;
|
|
8008
|
+
/** Format: double */
|
|
8009
|
+
paid: number | string;
|
|
8010
|
+
/** Format: double */
|
|
8011
|
+
balance: number | string;
|
|
7966
8012
|
currency: string;
|
|
7967
8013
|
/** Format: date */
|
|
7968
8014
|
dueOn: string;
|
|
@@ -8002,7 +8048,7 @@ export interface components {
|
|
|
8002
8048
|
name: string;
|
|
8003
8049
|
kind: components["schemas"]["FormKind"];
|
|
8004
8050
|
/** Format: int32 */
|
|
8005
|
-
publishedVersionNumber: number
|
|
8051
|
+
publishedVersionNumber: number;
|
|
8006
8052
|
};
|
|
8007
8053
|
OfferedLineOfBusinessResponse: {
|
|
8008
8054
|
/** Format: uuid */
|
|
@@ -8011,7 +8057,7 @@ export interface components {
|
|
|
8011
8057
|
name: string;
|
|
8012
8058
|
description: null | string;
|
|
8013
8059
|
/** Format: int32 */
|
|
8014
|
-
sortOrder: number
|
|
8060
|
+
sortOrder: number;
|
|
8015
8061
|
};
|
|
8016
8062
|
OfferedProductResponse: {
|
|
8017
8063
|
/** Format: uuid */
|
|
@@ -8077,11 +8123,11 @@ export interface components {
|
|
|
8077
8123
|
tenantId: string;
|
|
8078
8124
|
eventType: string;
|
|
8079
8125
|
/** Format: int32 */
|
|
8080
|
-
eventVersion: number
|
|
8126
|
+
eventVersion: number;
|
|
8081
8127
|
/** Format: date-time */
|
|
8082
8128
|
occurredAtUtc: string;
|
|
8083
8129
|
/** Format: int32 */
|
|
8084
|
-
attempts: number
|
|
8130
|
+
attempts: number;
|
|
8085
8131
|
lastError: null | string;
|
|
8086
8132
|
/** Format: date-time */
|
|
8087
8133
|
nextAttemptAtUtc: null | string;
|
|
@@ -8096,7 +8142,7 @@ export interface components {
|
|
|
8096
8142
|
tenantKey: null | string;
|
|
8097
8143
|
eventType: string;
|
|
8098
8144
|
/** Format: int32 */
|
|
8099
|
-
attempts: number
|
|
8145
|
+
attempts: number;
|
|
8100
8146
|
};
|
|
8101
8147
|
OverrideEntitlementRequest: {
|
|
8102
8148
|
featureKey: null | string;
|
|
@@ -8164,7 +8210,7 @@ export interface components {
|
|
|
8164
8210
|
fileName: string;
|
|
8165
8211
|
contentType: string;
|
|
8166
8212
|
/** Format: int64 */
|
|
8167
|
-
sizeBytes: number
|
|
8213
|
+
sizeBytes: number;
|
|
8168
8214
|
contentSha256: string;
|
|
8169
8215
|
/** Format: date-time */
|
|
8170
8216
|
uploadedAtUtc: string;
|
|
@@ -8248,13 +8294,13 @@ export interface components {
|
|
|
8248
8294
|
paymentMethodId: string;
|
|
8249
8295
|
source: string;
|
|
8250
8296
|
/** Format: int32 */
|
|
8251
|
-
mapped: number
|
|
8297
|
+
mapped: number;
|
|
8252
8298
|
/** Format: int32 */
|
|
8253
|
-
alreadyMapped: number
|
|
8299
|
+
alreadyMapped: number;
|
|
8254
8300
|
/** Format: int32 */
|
|
8255
|
-
mappedToAnotherMethod: number
|
|
8301
|
+
mappedToAnotherMethod: number;
|
|
8256
8302
|
/** Format: int32 */
|
|
8257
|
-
skippedCount: number
|
|
8303
|
+
skippedCount: number;
|
|
8258
8304
|
skipped: components["schemas"]["SkippedPaymentResponse"][];
|
|
8259
8305
|
};
|
|
8260
8306
|
PaymentSourceRemappingResponse: {
|
|
@@ -8264,22 +8310,22 @@ export interface components {
|
|
|
8264
8310
|
paymentMethodId: string;
|
|
8265
8311
|
source: string;
|
|
8266
8312
|
/** Format: int32 */
|
|
8267
|
-
remapped: number
|
|
8313
|
+
remapped: number;
|
|
8268
8314
|
/** Format: int32 */
|
|
8269
|
-
recordedAgainstMethod: number
|
|
8315
|
+
recordedAgainstMethod: number;
|
|
8270
8316
|
/** Format: int32 */
|
|
8271
|
-
notYetCorrectable: number
|
|
8317
|
+
notYetCorrectable: number;
|
|
8272
8318
|
};
|
|
8273
8319
|
PaymentSourceUnmappingResponse: {
|
|
8274
8320
|
/** Format: uuid */
|
|
8275
8321
|
paymentMethodId: string;
|
|
8276
8322
|
source: string;
|
|
8277
8323
|
/** Format: int32 */
|
|
8278
|
-
unmapped: number
|
|
8324
|
+
unmapped: number;
|
|
8279
8325
|
/** Format: int32 */
|
|
8280
|
-
recordedAgainstMethod: number
|
|
8326
|
+
recordedAgainstMethod: number;
|
|
8281
8327
|
/** Format: int32 */
|
|
8282
|
-
notYetCorrectable: number
|
|
8328
|
+
notYetCorrectable: number;
|
|
8283
8329
|
};
|
|
8284
8330
|
PaymentSummaryResponse: {
|
|
8285
8331
|
/** Format: uuid */
|
|
@@ -8380,7 +8426,7 @@ export interface components {
|
|
|
8380
8426
|
description: null | string;
|
|
8381
8427
|
isPubliclyAvailable: boolean;
|
|
8382
8428
|
/** Format: int32 */
|
|
8383
|
-
sortOrder: number
|
|
8429
|
+
sortOrder: number;
|
|
8384
8430
|
features: components["schemas"]["PlatformPlanFeatureResponse"][];
|
|
8385
8431
|
};
|
|
8386
8432
|
PolicyDocumentDownloadLinkResponse: {
|
|
@@ -8401,7 +8447,7 @@ export interface components {
|
|
|
8401
8447
|
fileName: string;
|
|
8402
8448
|
contentType: string;
|
|
8403
8449
|
/** Format: int64 */
|
|
8404
|
-
sizeBytes: number
|
|
8450
|
+
sizeBytes: number;
|
|
8405
8451
|
contentSha256: string;
|
|
8406
8452
|
/** Format: date-time */
|
|
8407
8453
|
uploadedAtUtc: string;
|
|
@@ -8524,10 +8570,10 @@ export interface components {
|
|
|
8524
8570
|
/** Format: uuid */
|
|
8525
8571
|
customerId: null | string;
|
|
8526
8572
|
/** Format: int32 */
|
|
8527
|
-
versionNumber: number
|
|
8573
|
+
versionNumber: number;
|
|
8528
8574
|
status: string;
|
|
8529
8575
|
/** Format: int32 */
|
|
8530
|
-
bodySchemaVersion: number
|
|
8576
|
+
bodySchemaVersion: number;
|
|
8531
8577
|
contentHash: null | string;
|
|
8532
8578
|
/** Format: date */
|
|
8533
8579
|
pricedAsOf: string;
|
|
@@ -8550,7 +8596,7 @@ export interface components {
|
|
|
8550
8596
|
type?: null | string;
|
|
8551
8597
|
title?: null | string;
|
|
8552
8598
|
/** Format: int32 */
|
|
8553
|
-
status?: null | number
|
|
8599
|
+
status?: null | number;
|
|
8554
8600
|
detail?: null | string;
|
|
8555
8601
|
instance?: null | string;
|
|
8556
8602
|
};
|
|
@@ -8570,13 +8616,13 @@ export interface components {
|
|
|
8570
8616
|
name: string;
|
|
8571
8617
|
description: null | string;
|
|
8572
8618
|
/** Format: int32 */
|
|
8573
|
-
sortOrder: number
|
|
8619
|
+
sortOrder: number;
|
|
8574
8620
|
/** Format: date-time */
|
|
8575
8621
|
createdAtUtc: string;
|
|
8576
8622
|
/** Format: date-time */
|
|
8577
8623
|
updatedAtUtc: string;
|
|
8578
8624
|
/** Format: int32 */
|
|
8579
|
-
productCount: number
|
|
8625
|
+
productCount: number;
|
|
8580
8626
|
};
|
|
8581
8627
|
ProductInsurerResponse: {
|
|
8582
8628
|
/** Format: uuid */
|
|
@@ -8698,7 +8744,7 @@ export interface components {
|
|
|
8698
8744
|
/** Format: uuid */
|
|
8699
8745
|
insurerRequestId: string;
|
|
8700
8746
|
/** Format: int32 */
|
|
8701
|
-
optionCount: number
|
|
8747
|
+
optionCount: number;
|
|
8702
8748
|
/** Format: date-time */
|
|
8703
8749
|
importedAtUtc: string;
|
|
8704
8750
|
importedBySubjectId: string;
|
|
@@ -9051,21 +9097,21 @@ export interface components {
|
|
|
9051
9097
|
description: null | string;
|
|
9052
9098
|
platformAction: string;
|
|
9053
9099
|
/** Format: int32 */
|
|
9054
|
-
sortOrder: number
|
|
9100
|
+
sortOrder: number;
|
|
9055
9101
|
/** Format: uuid */
|
|
9056
9102
|
productId: null | string;
|
|
9057
9103
|
/** Format: int32 */
|
|
9058
|
-
defaultLeadDays: number
|
|
9104
|
+
defaultLeadDays: number;
|
|
9059
9105
|
/** Format: int32 */
|
|
9060
|
-
minimumLeadDays: number
|
|
9106
|
+
minimumLeadDays: number;
|
|
9061
9107
|
/** Format: int32 */
|
|
9062
|
-
maximumLeadDays: number
|
|
9108
|
+
maximumLeadDays: number;
|
|
9063
9109
|
/** Format: int32 */
|
|
9064
|
-
tenantLeadDays: null | number
|
|
9110
|
+
tenantLeadDays: null | number;
|
|
9065
9111
|
/** Format: int32 */
|
|
9066
|
-
productLeadDays: null | number
|
|
9112
|
+
productLeadDays: null | number;
|
|
9067
9113
|
/** Format: int32 */
|
|
9068
|
-
leadDays: number
|
|
9114
|
+
leadDays: number;
|
|
9069
9115
|
source: string;
|
|
9070
9116
|
/** Format: date-time */
|
|
9071
9117
|
changedAtUtc: null | string;
|
|
@@ -9116,7 +9162,7 @@ export interface components {
|
|
|
9116
9162
|
};
|
|
9117
9163
|
RetentionPeriodResponse: {
|
|
9118
9164
|
/** Format: int32 */
|
|
9119
|
-
amount: number
|
|
9165
|
+
amount: number;
|
|
9120
9166
|
unit: string;
|
|
9121
9167
|
};
|
|
9122
9168
|
RetentionScheduleEntryResponse: {
|
|
@@ -9386,7 +9432,7 @@ export interface components {
|
|
|
9386
9432
|
fileName: string;
|
|
9387
9433
|
contentType: string;
|
|
9388
9434
|
/** Format: int64 */
|
|
9389
|
-
sizeBytes: number
|
|
9435
|
+
sizeBytes: number;
|
|
9390
9436
|
contentSha256: string;
|
|
9391
9437
|
/** Format: date-time */
|
|
9392
9438
|
uploadedAtUtc: string;
|
|
@@ -10021,6 +10067,41 @@ export interface operations {
|
|
|
10021
10067
|
};
|
|
10022
10068
|
};
|
|
10023
10069
|
};
|
|
10070
|
+
ListInvoices: {
|
|
10071
|
+
parameters: {
|
|
10072
|
+
query?: {
|
|
10073
|
+
customerId?: string;
|
|
10074
|
+
policyId?: string;
|
|
10075
|
+
status?: string;
|
|
10076
|
+
cursor?: string;
|
|
10077
|
+
limit?: number | string;
|
|
10078
|
+
};
|
|
10079
|
+
header?: never;
|
|
10080
|
+
path?: never;
|
|
10081
|
+
cookie?: never;
|
|
10082
|
+
};
|
|
10083
|
+
requestBody?: never;
|
|
10084
|
+
responses: {
|
|
10085
|
+
/** @description OK */
|
|
10086
|
+
200: {
|
|
10087
|
+
headers: {
|
|
10088
|
+
[name: string]: unknown;
|
|
10089
|
+
};
|
|
10090
|
+
content: {
|
|
10091
|
+
"application/json": components["schemas"]["InvoicePage"];
|
|
10092
|
+
};
|
|
10093
|
+
};
|
|
10094
|
+
/** @description Bad Request */
|
|
10095
|
+
400: {
|
|
10096
|
+
headers: {
|
|
10097
|
+
[name: string]: unknown;
|
|
10098
|
+
};
|
|
10099
|
+
content: {
|
|
10100
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
10101
|
+
};
|
|
10102
|
+
};
|
|
10103
|
+
};
|
|
10104
|
+
};
|
|
10024
10105
|
DraftInvoice: {
|
|
10025
10106
|
parameters: {
|
|
10026
10107
|
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.7.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,
|