@insurance-broker/api-client 1.37.0 → 1.39.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 +774 -28
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -2633,6 +2633,126 @@ export interface paths {
|
|
|
2633
2633
|
patch?: never;
|
|
2634
2634
|
trace?: never;
|
|
2635
2635
|
};
|
|
2636
|
+
"/api/v1/roles": {
|
|
2637
|
+
parameters: {
|
|
2638
|
+
query?: never;
|
|
2639
|
+
header?: never;
|
|
2640
|
+
path?: never;
|
|
2641
|
+
cookie?: never;
|
|
2642
|
+
};
|
|
2643
|
+
/** This broker's roles, the platform's and its own, with the keys each holds. */
|
|
2644
|
+
get: operations["ListRoles"];
|
|
2645
|
+
put?: never;
|
|
2646
|
+
/** Defines a role of this broker's own, holding nothing until it is granted. */
|
|
2647
|
+
post: operations["DefineRole"];
|
|
2648
|
+
delete?: never;
|
|
2649
|
+
options?: never;
|
|
2650
|
+
head?: never;
|
|
2651
|
+
patch?: never;
|
|
2652
|
+
trace?: never;
|
|
2653
|
+
};
|
|
2654
|
+
"/api/v1/roles/{id}": {
|
|
2655
|
+
parameters: {
|
|
2656
|
+
query?: never;
|
|
2657
|
+
header?: never;
|
|
2658
|
+
path?: never;
|
|
2659
|
+
cookie?: never;
|
|
2660
|
+
};
|
|
2661
|
+
/** One role of this broker's. */
|
|
2662
|
+
get: operations["GetRole"];
|
|
2663
|
+
put?: never;
|
|
2664
|
+
post?: never;
|
|
2665
|
+
delete?: never;
|
|
2666
|
+
options?: never;
|
|
2667
|
+
head?: never;
|
|
2668
|
+
patch?: never;
|
|
2669
|
+
trace?: never;
|
|
2670
|
+
};
|
|
2671
|
+
"/api/v1/roles/assignable-permissions": {
|
|
2672
|
+
parameters: {
|
|
2673
|
+
query?: never;
|
|
2674
|
+
header?: never;
|
|
2675
|
+
path?: never;
|
|
2676
|
+
cookie?: never;
|
|
2677
|
+
};
|
|
2678
|
+
/** Every permission a tenant role may hold. Platform keys are never listed. */
|
|
2679
|
+
get: operations["ListAssignablePermissions"];
|
|
2680
|
+
put?: never;
|
|
2681
|
+
post?: never;
|
|
2682
|
+
delete?: never;
|
|
2683
|
+
options?: never;
|
|
2684
|
+
head?: never;
|
|
2685
|
+
patch?: never;
|
|
2686
|
+
trace?: never;
|
|
2687
|
+
};
|
|
2688
|
+
"/api/v1/roles/templates": {
|
|
2689
|
+
parameters: {
|
|
2690
|
+
query?: never;
|
|
2691
|
+
header?: never;
|
|
2692
|
+
path?: never;
|
|
2693
|
+
cookie?: never;
|
|
2694
|
+
};
|
|
2695
|
+
/** The platform's role templates and what each grants. Read-only. */
|
|
2696
|
+
get: operations["ListRoleTemplates"];
|
|
2697
|
+
put?: never;
|
|
2698
|
+
post?: never;
|
|
2699
|
+
delete?: never;
|
|
2700
|
+
options?: never;
|
|
2701
|
+
head?: never;
|
|
2702
|
+
patch?: never;
|
|
2703
|
+
trace?: never;
|
|
2704
|
+
};
|
|
2705
|
+
"/api/v1/roles/{id}/rename": {
|
|
2706
|
+
parameters: {
|
|
2707
|
+
query?: never;
|
|
2708
|
+
header?: never;
|
|
2709
|
+
path?: never;
|
|
2710
|
+
cookie?: never;
|
|
2711
|
+
};
|
|
2712
|
+
get?: never;
|
|
2713
|
+
put?: never;
|
|
2714
|
+
/** Changes what a role is called. The key never moves. */
|
|
2715
|
+
post: operations["RenameRole"];
|
|
2716
|
+
delete?: never;
|
|
2717
|
+
options?: never;
|
|
2718
|
+
head?: never;
|
|
2719
|
+
patch?: never;
|
|
2720
|
+
trace?: never;
|
|
2721
|
+
};
|
|
2722
|
+
"/api/v1/roles/{id}/grants": {
|
|
2723
|
+
parameters: {
|
|
2724
|
+
query?: never;
|
|
2725
|
+
header?: never;
|
|
2726
|
+
path?: never;
|
|
2727
|
+
cookie?: never;
|
|
2728
|
+
};
|
|
2729
|
+
get?: never;
|
|
2730
|
+
put?: never;
|
|
2731
|
+
/** Adds permissions to a role this broker defined. */
|
|
2732
|
+
post: operations["GrantRolePermissions"];
|
|
2733
|
+
delete?: never;
|
|
2734
|
+
options?: never;
|
|
2735
|
+
head?: never;
|
|
2736
|
+
patch?: never;
|
|
2737
|
+
trace?: never;
|
|
2738
|
+
};
|
|
2739
|
+
"/api/v1/roles/{id}/withdrawals": {
|
|
2740
|
+
parameters: {
|
|
2741
|
+
query?: never;
|
|
2742
|
+
header?: never;
|
|
2743
|
+
path?: never;
|
|
2744
|
+
cookie?: never;
|
|
2745
|
+
};
|
|
2746
|
+
get?: never;
|
|
2747
|
+
put?: never;
|
|
2748
|
+
/** Takes permissions away from a role this broker defined. */
|
|
2749
|
+
post: operations["WithdrawRolePermissions"];
|
|
2750
|
+
delete?: never;
|
|
2751
|
+
options?: never;
|
|
2752
|
+
head?: never;
|
|
2753
|
+
patch?: never;
|
|
2754
|
+
trace?: never;
|
|
2755
|
+
};
|
|
2636
2756
|
"/api/v1/tenant": {
|
|
2637
2757
|
parameters: {
|
|
2638
2758
|
query?: never;
|
|
@@ -2841,7 +2961,9 @@ export interface paths {
|
|
|
2841
2961
|
put?: never;
|
|
2842
2962
|
/**
|
|
2843
2963
|
* Record what the insurer confirmed
|
|
2844
|
-
* @description Records the insurer's own reference and the date the insurer confirmed cover from
|
|
2964
|
+
* @description Records the insurer's own reference and the date the insurer confirmed cover from. This is the only way a policy leaves `pendingInsurer`: the platform does not bind cover, so what happens next is what an insurer confirmed and never something a caller asserts.
|
|
2965
|
+
*
|
|
2966
|
+
* **Where it lands depends on whether this broker has declared a payment gate** (`GET /policies/payment-gates`, BR-004). With no gate - which is every broker that has configured nothing - the policy becomes `active`. With one, it becomes `pendingPayment`, and cover begins when somebody records that the requirement was met.
|
|
2845
2967
|
*/
|
|
2846
2968
|
post: operations["RecordInsurerConfirmation"];
|
|
2847
2969
|
delete?: never;
|
|
@@ -2850,6 +2972,32 @@ export interface paths {
|
|
|
2850
2972
|
patch?: never;
|
|
2851
2973
|
trace?: never;
|
|
2852
2974
|
};
|
|
2975
|
+
"/api/v1/policies/{id}/payment-requirement": {
|
|
2976
|
+
parameters: {
|
|
2977
|
+
query?: never;
|
|
2978
|
+
header?: never;
|
|
2979
|
+
path?: never;
|
|
2980
|
+
cookie?: never;
|
|
2981
|
+
};
|
|
2982
|
+
get?: never;
|
|
2983
|
+
put?: never;
|
|
2984
|
+
/**
|
|
2985
|
+
* Record that the outstanding payment requirement has been met
|
|
2986
|
+
* @description BR-004. Releases a policy this broker's payment gate is holding, naming the billing record the recorder relied on, and makes it `active`.
|
|
2987
|
+
*
|
|
2988
|
+
* **A payment posting does not do this** (ADR-0042 section 7). If it did, the platform would be asserting that cover began. A person looks at a payment and records that the requirement is discharged: the payment is the evidence, the person is the actor, and the platform is neither. There is no consumer, no sweep and no side effect that reaches this route.
|
|
2989
|
+
*
|
|
2990
|
+
* **Only a policy in `pendingPayment` can be released, and only once.** Recording it against a policy no gate ever held would write an evidence trail for a requirement that never existed.
|
|
2991
|
+
*
|
|
2992
|
+
* **The `paymentId` is recorded and not verified.** The payment lives in another module this one may not read (ADR-0002), so a mistyped identifier is a bad record rather than a refusal - issue #306 carries the contract that would check it.
|
|
2993
|
+
*/
|
|
2994
|
+
post: operations["RecordPaymentRequirementMet"];
|
|
2995
|
+
delete?: never;
|
|
2996
|
+
options?: never;
|
|
2997
|
+
head?: never;
|
|
2998
|
+
patch?: never;
|
|
2999
|
+
trace?: never;
|
|
3000
|
+
};
|
|
2853
3001
|
"/api/v1/policies/{id}": {
|
|
2854
3002
|
parameters: {
|
|
2855
3003
|
query?: never;
|
|
@@ -2867,6 +3015,62 @@ export interface paths {
|
|
|
2867
3015
|
patch?: never;
|
|
2868
3016
|
trace?: never;
|
|
2869
3017
|
};
|
|
3018
|
+
"/api/v1/policies/payment-gates": {
|
|
3019
|
+
parameters: {
|
|
3020
|
+
query?: never;
|
|
3021
|
+
header?: never;
|
|
3022
|
+
path?: never;
|
|
3023
|
+
cookie?: never;
|
|
3024
|
+
};
|
|
3025
|
+
/**
|
|
3026
|
+
* Whether this broker's cover waits for a payment
|
|
3027
|
+
* @description BR-004. Every gate this broker has declared: one for its whole book, one per product, or any combination.
|
|
3028
|
+
*
|
|
3029
|
+
* **An empty list is the normal answer and it means no gate.** Cover begins when the insurer's confirmation is recorded, which is what this platform did before step 9.11. A row exists only where a broker has asked for the gate, so there is nothing to turn off and nothing to seed.
|
|
3030
|
+
*
|
|
3031
|
+
* **A gate for the whole book cannot be exempted for one product.** An exemption would be a claim about a broker's credit policy that BR-004 does not ask this platform to model; a broker wanting to gate all but one product declares the rest.
|
|
3032
|
+
*/
|
|
3033
|
+
get: operations["ReadPaymentGates"];
|
|
3034
|
+
put?: never;
|
|
3035
|
+
/**
|
|
3036
|
+
* Declare that cover waits for a payment
|
|
3037
|
+
* @description BR-004. Records that a payment must be recorded before cover begins - for every product this broker sells, or for one of them.
|
|
3038
|
+
*
|
|
3039
|
+
* **It changes no existing policy.** A confirmation resolves the gate at the instant it is recorded, so a policy already active stays active and one already held stays held. What changes is where the *next* confirmation lands: `PendingPayment` instead of `Active`.
|
|
3040
|
+
*
|
|
3041
|
+
* **Declaring the same gate twice is a `409`.** The row is the declaration, so a second one would be the same fact recorded twice with two authors and two instants.
|
|
3042
|
+
*
|
|
3043
|
+
* **A product this broker does not sell is a `400`.** Checked through the catalogue before the row is written.
|
|
3044
|
+
*/
|
|
3045
|
+
post: operations["DeclarePaymentGate"];
|
|
3046
|
+
delete?: never;
|
|
3047
|
+
options?: never;
|
|
3048
|
+
head?: never;
|
|
3049
|
+
patch?: never;
|
|
3050
|
+
trace?: never;
|
|
3051
|
+
};
|
|
3052
|
+
"/api/v1/policies/payment-gates/{id}": {
|
|
3053
|
+
parameters: {
|
|
3054
|
+
query?: never;
|
|
3055
|
+
header?: never;
|
|
3056
|
+
path?: never;
|
|
3057
|
+
cookie?: never;
|
|
3058
|
+
};
|
|
3059
|
+
get?: never;
|
|
3060
|
+
put?: never;
|
|
3061
|
+
post?: never;
|
|
3062
|
+
/**
|
|
3063
|
+
* Stop requiring a payment before cover begins
|
|
3064
|
+
* @description Deletes the declaration. No gate applies by absence, which is what an empty table means.
|
|
3065
|
+
*
|
|
3066
|
+
* **Policies already held are not released by this.** They stay `PendingPayment` until somebody records that the requirement was met, because releasing cover is an act with an author and evidence (ADR-0042 section 7) and withdrawing a rule is neither. A broker that gated its book by mistake releases each held policy deliberately.
|
|
3067
|
+
*/
|
|
3068
|
+
delete: operations["WithdrawPaymentGate"];
|
|
3069
|
+
options?: never;
|
|
3070
|
+
head?: never;
|
|
3071
|
+
patch?: never;
|
|
3072
|
+
trace?: never;
|
|
3073
|
+
};
|
|
2870
3074
|
"/api/v1/policies/{id}/documents/{kind}": {
|
|
2871
3075
|
parameters: {
|
|
2872
3076
|
query?: never;
|
|
@@ -4056,6 +4260,11 @@ export interface components {
|
|
|
4056
4260
|
note: null | string;
|
|
4057
4261
|
idempotencyKey: null | string;
|
|
4058
4262
|
};
|
|
4263
|
+
AssignablePermissionResponse: {
|
|
4264
|
+
key: string;
|
|
4265
|
+
name: string;
|
|
4266
|
+
description: null | string;
|
|
4267
|
+
};
|
|
4059
4268
|
AssignLeadRequest: {
|
|
4060
4269
|
advisorSubjectId: null | string;
|
|
4061
4270
|
};
|
|
@@ -4096,6 +4305,9 @@ export interface components {
|
|
|
4096
4305
|
items: components["schemas"]["ProductResponse"][];
|
|
4097
4306
|
nextCursor: null | string;
|
|
4098
4307
|
};
|
|
4308
|
+
ChangeRolePermissionsRequest: {
|
|
4309
|
+
permissionKeys: string[];
|
|
4310
|
+
};
|
|
4099
4311
|
ClaimAppointmentResponse: {
|
|
4100
4312
|
/** Format: uuid */
|
|
4101
4313
|
id: string;
|
|
@@ -4451,12 +4663,21 @@ export interface components {
|
|
|
4451
4663
|
key: null | string;
|
|
4452
4664
|
name: null | string;
|
|
4453
4665
|
};
|
|
4666
|
+
DeclarePaymentGateRequest: {
|
|
4667
|
+
/** Format: uuid */
|
|
4668
|
+
productId: null | string;
|
|
4669
|
+
};
|
|
4454
4670
|
DeclineQuoteRequest: {
|
|
4455
4671
|
/** Format: uuid */
|
|
4456
4672
|
presentationVersionId: null | string;
|
|
4457
4673
|
note: null | string;
|
|
4458
4674
|
idempotencyKey: null | string;
|
|
4459
4675
|
};
|
|
4676
|
+
DefineRoleRequest: {
|
|
4677
|
+
key: string;
|
|
4678
|
+
name: string;
|
|
4679
|
+
description: null | string;
|
|
4680
|
+
};
|
|
4460
4681
|
DocumentTemplateResponse: {
|
|
4461
4682
|
/** Format: uuid */
|
|
4462
4683
|
id: string;
|
|
@@ -5092,6 +5313,16 @@ export interface components {
|
|
|
5092
5313
|
PaymentEvidenceUpload: {
|
|
5093
5314
|
file: components["schemas"]["IFormFile"];
|
|
5094
5315
|
};
|
|
5316
|
+
PaymentGateResponse: {
|
|
5317
|
+
/** Format: uuid */
|
|
5318
|
+
id: string;
|
|
5319
|
+
/** Format: uuid */
|
|
5320
|
+
productId: null | string;
|
|
5321
|
+
appliesToEveryProduct: boolean;
|
|
5322
|
+
/** Format: date-time */
|
|
5323
|
+
setAtUtc: string;
|
|
5324
|
+
setBySubjectId: string;
|
|
5325
|
+
};
|
|
5095
5326
|
PaymentPage: {
|
|
5096
5327
|
items: components["schemas"]["PaymentSummaryResponse"][];
|
|
5097
5328
|
nextCursor: null | string;
|
|
@@ -5240,6 +5471,11 @@ export interface components {
|
|
|
5240
5471
|
/** Format: date-time */
|
|
5241
5472
|
importedAtUtc: null | string;
|
|
5242
5473
|
importedBySubjectId: null | string;
|
|
5474
|
+
/** Format: date-time */
|
|
5475
|
+
paymentRequirementMetAtUtc: null | string;
|
|
5476
|
+
paymentRequirementMetBySubjectId: null | string;
|
|
5477
|
+
/** Format: uuid */
|
|
5478
|
+
paymentEvidenceReference: null | string;
|
|
5243
5479
|
};
|
|
5244
5480
|
PresentationBodyResponse: {
|
|
5245
5481
|
version: components["schemas"]["PresentationVersionResponse"];
|
|
@@ -5552,6 +5788,10 @@ export interface components {
|
|
|
5552
5788
|
source: string;
|
|
5553
5789
|
externalReference: string;
|
|
5554
5790
|
};
|
|
5791
|
+
RecordPaymentRequirementMetRequest: {
|
|
5792
|
+
/** Format: uuid */
|
|
5793
|
+
paymentId: null | string;
|
|
5794
|
+
};
|
|
5555
5795
|
RecordRenewalCustomerInformationRequest: {
|
|
5556
5796
|
/** Format: uuid */
|
|
5557
5797
|
formSubmissionId: null | string;
|
|
@@ -5592,6 +5832,10 @@ export interface components {
|
|
|
5592
5832
|
RenameFormDefinitionRequest: {
|
|
5593
5833
|
name: null | string;
|
|
5594
5834
|
};
|
|
5835
|
+
RenameRoleRequest: {
|
|
5836
|
+
name: string;
|
|
5837
|
+
description: null | string;
|
|
5838
|
+
};
|
|
5595
5839
|
RenewalCaseDetailResponse: {
|
|
5596
5840
|
case: components["schemas"]["RenewalCaseSummaryResponse"];
|
|
5597
5841
|
/** Format: uuid */
|
|
@@ -5769,6 +6013,26 @@ export interface components {
|
|
|
5769
6013
|
/** Format: int32 */
|
|
5770
6014
|
bodySchemaVersion: null | number | string;
|
|
5771
6015
|
};
|
|
6016
|
+
RoleResponse: {
|
|
6017
|
+
/** Format: uuid */
|
|
6018
|
+
id: string;
|
|
6019
|
+
key: string;
|
|
6020
|
+
name: string;
|
|
6021
|
+
description: null | string;
|
|
6022
|
+
isSystem: boolean;
|
|
6023
|
+
roleTemplateCode: null | string;
|
|
6024
|
+
permissionKeys: string[];
|
|
6025
|
+
/** Format: date-time */
|
|
6026
|
+
createdAtUtc: string;
|
|
6027
|
+
/** Format: date-time */
|
|
6028
|
+
updatedAtUtc: string;
|
|
6029
|
+
};
|
|
6030
|
+
RoleTemplateResponse: {
|
|
6031
|
+
code: string;
|
|
6032
|
+
name: string;
|
|
6033
|
+
description: null | string;
|
|
6034
|
+
permissionKeys: string[];
|
|
6035
|
+
};
|
|
5772
6036
|
SaveInsurerContactRequest: {
|
|
5773
6037
|
fullName: null | string;
|
|
5774
6038
|
jobTitle: null | string;
|
|
@@ -12041,7 +12305,7 @@ export interface operations {
|
|
|
12041
12305
|
};
|
|
12042
12306
|
};
|
|
12043
12307
|
};
|
|
12044
|
-
|
|
12308
|
+
ListRoles: {
|
|
12045
12309
|
parameters: {
|
|
12046
12310
|
query?: never;
|
|
12047
12311
|
header?: never;
|
|
@@ -12056,57 +12320,73 @@ export interface operations {
|
|
|
12056
12320
|
[name: string]: unknown;
|
|
12057
12321
|
};
|
|
12058
12322
|
content: {
|
|
12059
|
-
"application/json": components["schemas"]["
|
|
12323
|
+
"application/json": components["schemas"]["RoleResponse"][];
|
|
12324
|
+
};
|
|
12325
|
+
};
|
|
12326
|
+
/** @description Forbidden */
|
|
12327
|
+
403: {
|
|
12328
|
+
headers: {
|
|
12329
|
+
[name: string]: unknown;
|
|
12060
12330
|
};
|
|
12331
|
+
content?: never;
|
|
12061
12332
|
};
|
|
12062
12333
|
};
|
|
12063
12334
|
};
|
|
12064
|
-
|
|
12335
|
+
DefineRole: {
|
|
12065
12336
|
parameters: {
|
|
12066
12337
|
query?: never;
|
|
12067
12338
|
header?: never;
|
|
12068
12339
|
path?: never;
|
|
12069
12340
|
cookie?: never;
|
|
12070
12341
|
};
|
|
12071
|
-
requestBody
|
|
12342
|
+
requestBody: {
|
|
12343
|
+
content: {
|
|
12344
|
+
"application/json": components["schemas"]["DefineRoleRequest"];
|
|
12345
|
+
};
|
|
12346
|
+
};
|
|
12072
12347
|
responses: {
|
|
12073
|
-
/** @description
|
|
12074
|
-
|
|
12348
|
+
/** @description Created */
|
|
12349
|
+
201: {
|
|
12075
12350
|
headers: {
|
|
12076
12351
|
[name: string]: unknown;
|
|
12077
12352
|
};
|
|
12078
12353
|
content: {
|
|
12079
|
-
"application/json": components["schemas"]["
|
|
12354
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
12080
12355
|
};
|
|
12081
12356
|
};
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
GetTenantEntitlements: {
|
|
12085
|
-
parameters: {
|
|
12086
|
-
query?: never;
|
|
12087
|
-
header?: never;
|
|
12088
|
-
path?: never;
|
|
12089
|
-
cookie?: never;
|
|
12090
|
-
};
|
|
12091
|
-
requestBody?: never;
|
|
12092
|
-
responses: {
|
|
12093
|
-
/** @description OK */
|
|
12094
|
-
200: {
|
|
12357
|
+
/** @description Bad Request */
|
|
12358
|
+
400: {
|
|
12095
12359
|
headers: {
|
|
12096
12360
|
[name: string]: unknown;
|
|
12097
12361
|
};
|
|
12098
12362
|
content: {
|
|
12099
|
-
"application/json": components["schemas"]["
|
|
12363
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12364
|
+
};
|
|
12365
|
+
};
|
|
12366
|
+
/** @description Forbidden */
|
|
12367
|
+
403: {
|
|
12368
|
+
headers: {
|
|
12369
|
+
[name: string]: unknown;
|
|
12370
|
+
};
|
|
12371
|
+
content?: never;
|
|
12372
|
+
};
|
|
12373
|
+
/** @description Conflict */
|
|
12374
|
+
409: {
|
|
12375
|
+
headers: {
|
|
12376
|
+
[name: string]: unknown;
|
|
12377
|
+
};
|
|
12378
|
+
content: {
|
|
12379
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12100
12380
|
};
|
|
12101
12381
|
};
|
|
12102
12382
|
};
|
|
12103
12383
|
};
|
|
12104
|
-
|
|
12384
|
+
GetRole: {
|
|
12105
12385
|
parameters: {
|
|
12106
12386
|
query?: never;
|
|
12107
12387
|
header?: never;
|
|
12108
12388
|
path: {
|
|
12109
|
-
|
|
12389
|
+
id: string;
|
|
12110
12390
|
};
|
|
12111
12391
|
cookie?: never;
|
|
12112
12392
|
};
|
|
@@ -12118,12 +12398,336 @@ export interface operations {
|
|
|
12118
12398
|
[name: string]: unknown;
|
|
12119
12399
|
};
|
|
12120
12400
|
content: {
|
|
12121
|
-
"application/json": components["schemas"]["
|
|
12401
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
12122
12402
|
};
|
|
12123
12403
|
};
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12404
|
+
/** @description Forbidden */
|
|
12405
|
+
403: {
|
|
12406
|
+
headers: {
|
|
12407
|
+
[name: string]: unknown;
|
|
12408
|
+
};
|
|
12409
|
+
content?: never;
|
|
12410
|
+
};
|
|
12411
|
+
/** @description Not Found */
|
|
12412
|
+
404: {
|
|
12413
|
+
headers: {
|
|
12414
|
+
[name: string]: unknown;
|
|
12415
|
+
};
|
|
12416
|
+
content?: never;
|
|
12417
|
+
};
|
|
12418
|
+
};
|
|
12419
|
+
};
|
|
12420
|
+
ListAssignablePermissions: {
|
|
12421
|
+
parameters: {
|
|
12422
|
+
query?: never;
|
|
12423
|
+
header?: never;
|
|
12424
|
+
path?: never;
|
|
12425
|
+
cookie?: never;
|
|
12426
|
+
};
|
|
12427
|
+
requestBody?: never;
|
|
12428
|
+
responses: {
|
|
12429
|
+
/** @description OK */
|
|
12430
|
+
200: {
|
|
12431
|
+
headers: {
|
|
12432
|
+
[name: string]: unknown;
|
|
12433
|
+
};
|
|
12434
|
+
content: {
|
|
12435
|
+
"application/json": components["schemas"]["AssignablePermissionResponse"][];
|
|
12436
|
+
};
|
|
12437
|
+
};
|
|
12438
|
+
/** @description Forbidden */
|
|
12439
|
+
403: {
|
|
12440
|
+
headers: {
|
|
12441
|
+
[name: string]: unknown;
|
|
12442
|
+
};
|
|
12443
|
+
content?: never;
|
|
12444
|
+
};
|
|
12445
|
+
};
|
|
12446
|
+
};
|
|
12447
|
+
ListRoleTemplates: {
|
|
12448
|
+
parameters: {
|
|
12449
|
+
query?: never;
|
|
12450
|
+
header?: never;
|
|
12451
|
+
path?: never;
|
|
12452
|
+
cookie?: never;
|
|
12453
|
+
};
|
|
12454
|
+
requestBody?: never;
|
|
12455
|
+
responses: {
|
|
12456
|
+
/** @description OK */
|
|
12457
|
+
200: {
|
|
12458
|
+
headers: {
|
|
12459
|
+
[name: string]: unknown;
|
|
12460
|
+
};
|
|
12461
|
+
content: {
|
|
12462
|
+
"application/json": components["schemas"]["RoleTemplateResponse"][];
|
|
12463
|
+
};
|
|
12464
|
+
};
|
|
12465
|
+
/** @description Forbidden */
|
|
12466
|
+
403: {
|
|
12467
|
+
headers: {
|
|
12468
|
+
[name: string]: unknown;
|
|
12469
|
+
};
|
|
12470
|
+
content?: never;
|
|
12471
|
+
};
|
|
12472
|
+
};
|
|
12473
|
+
};
|
|
12474
|
+
RenameRole: {
|
|
12475
|
+
parameters: {
|
|
12476
|
+
query?: never;
|
|
12477
|
+
header?: never;
|
|
12478
|
+
path: {
|
|
12479
|
+
id: string;
|
|
12480
|
+
};
|
|
12481
|
+
cookie?: never;
|
|
12482
|
+
};
|
|
12483
|
+
requestBody: {
|
|
12484
|
+
content: {
|
|
12485
|
+
"application/json": components["schemas"]["RenameRoleRequest"];
|
|
12486
|
+
};
|
|
12487
|
+
};
|
|
12488
|
+
responses: {
|
|
12489
|
+
/** @description OK */
|
|
12490
|
+
200: {
|
|
12491
|
+
headers: {
|
|
12492
|
+
[name: string]: unknown;
|
|
12493
|
+
};
|
|
12494
|
+
content: {
|
|
12495
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
12496
|
+
};
|
|
12497
|
+
};
|
|
12498
|
+
/** @description Bad Request */
|
|
12499
|
+
400: {
|
|
12500
|
+
headers: {
|
|
12501
|
+
[name: string]: unknown;
|
|
12502
|
+
};
|
|
12503
|
+
content: {
|
|
12504
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12505
|
+
};
|
|
12506
|
+
};
|
|
12507
|
+
/** @description Forbidden */
|
|
12508
|
+
403: {
|
|
12509
|
+
headers: {
|
|
12510
|
+
[name: string]: unknown;
|
|
12511
|
+
};
|
|
12512
|
+
content?: never;
|
|
12513
|
+
};
|
|
12514
|
+
/** @description Not Found */
|
|
12515
|
+
404: {
|
|
12516
|
+
headers: {
|
|
12517
|
+
[name: string]: unknown;
|
|
12518
|
+
};
|
|
12519
|
+
content?: never;
|
|
12520
|
+
};
|
|
12521
|
+
/** @description Conflict */
|
|
12522
|
+
409: {
|
|
12523
|
+
headers: {
|
|
12524
|
+
[name: string]: unknown;
|
|
12525
|
+
};
|
|
12526
|
+
content: {
|
|
12527
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12528
|
+
};
|
|
12529
|
+
};
|
|
12530
|
+
};
|
|
12531
|
+
};
|
|
12532
|
+
GrantRolePermissions: {
|
|
12533
|
+
parameters: {
|
|
12534
|
+
query?: never;
|
|
12535
|
+
header?: never;
|
|
12536
|
+
path: {
|
|
12537
|
+
id: string;
|
|
12538
|
+
};
|
|
12539
|
+
cookie?: never;
|
|
12540
|
+
};
|
|
12541
|
+
requestBody: {
|
|
12542
|
+
content: {
|
|
12543
|
+
"application/json": components["schemas"]["ChangeRolePermissionsRequest"];
|
|
12544
|
+
};
|
|
12545
|
+
};
|
|
12546
|
+
responses: {
|
|
12547
|
+
/** @description OK */
|
|
12548
|
+
200: {
|
|
12549
|
+
headers: {
|
|
12550
|
+
[name: string]: unknown;
|
|
12551
|
+
};
|
|
12552
|
+
content: {
|
|
12553
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
12554
|
+
};
|
|
12555
|
+
};
|
|
12556
|
+
/** @description Bad Request */
|
|
12557
|
+
400: {
|
|
12558
|
+
headers: {
|
|
12559
|
+
[name: string]: unknown;
|
|
12560
|
+
};
|
|
12561
|
+
content: {
|
|
12562
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12563
|
+
};
|
|
12564
|
+
};
|
|
12565
|
+
/** @description Forbidden */
|
|
12566
|
+
403: {
|
|
12567
|
+
headers: {
|
|
12568
|
+
[name: string]: unknown;
|
|
12569
|
+
};
|
|
12570
|
+
content?: never;
|
|
12571
|
+
};
|
|
12572
|
+
/** @description Not Found */
|
|
12573
|
+
404: {
|
|
12574
|
+
headers: {
|
|
12575
|
+
[name: string]: unknown;
|
|
12576
|
+
};
|
|
12577
|
+
content?: never;
|
|
12578
|
+
};
|
|
12579
|
+
/** @description Conflict */
|
|
12580
|
+
409: {
|
|
12581
|
+
headers: {
|
|
12582
|
+
[name: string]: unknown;
|
|
12583
|
+
};
|
|
12584
|
+
content: {
|
|
12585
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12586
|
+
};
|
|
12587
|
+
};
|
|
12588
|
+
};
|
|
12589
|
+
};
|
|
12590
|
+
WithdrawRolePermissions: {
|
|
12591
|
+
parameters: {
|
|
12592
|
+
query?: never;
|
|
12593
|
+
header?: never;
|
|
12594
|
+
path: {
|
|
12595
|
+
id: string;
|
|
12596
|
+
};
|
|
12597
|
+
cookie?: never;
|
|
12598
|
+
};
|
|
12599
|
+
requestBody: {
|
|
12600
|
+
content: {
|
|
12601
|
+
"application/json": components["schemas"]["ChangeRolePermissionsRequest"];
|
|
12602
|
+
};
|
|
12603
|
+
};
|
|
12604
|
+
responses: {
|
|
12605
|
+
/** @description OK */
|
|
12606
|
+
200: {
|
|
12607
|
+
headers: {
|
|
12608
|
+
[name: string]: unknown;
|
|
12609
|
+
};
|
|
12610
|
+
content: {
|
|
12611
|
+
"application/json": components["schemas"]["RoleResponse"];
|
|
12612
|
+
};
|
|
12613
|
+
};
|
|
12614
|
+
/** @description Bad Request */
|
|
12615
|
+
400: {
|
|
12616
|
+
headers: {
|
|
12617
|
+
[name: string]: unknown;
|
|
12618
|
+
};
|
|
12619
|
+
content: {
|
|
12620
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12621
|
+
};
|
|
12622
|
+
};
|
|
12623
|
+
/** @description Forbidden */
|
|
12624
|
+
403: {
|
|
12625
|
+
headers: {
|
|
12626
|
+
[name: string]: unknown;
|
|
12627
|
+
};
|
|
12628
|
+
content?: never;
|
|
12629
|
+
};
|
|
12630
|
+
/** @description Not Found */
|
|
12631
|
+
404: {
|
|
12632
|
+
headers: {
|
|
12633
|
+
[name: string]: unknown;
|
|
12634
|
+
};
|
|
12635
|
+
content?: never;
|
|
12636
|
+
};
|
|
12637
|
+
/** @description Conflict */
|
|
12638
|
+
409: {
|
|
12639
|
+
headers: {
|
|
12640
|
+
[name: string]: unknown;
|
|
12641
|
+
};
|
|
12642
|
+
content: {
|
|
12643
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
12644
|
+
};
|
|
12645
|
+
};
|
|
12646
|
+
};
|
|
12647
|
+
};
|
|
12648
|
+
GetTenantSettings: {
|
|
12649
|
+
parameters: {
|
|
12650
|
+
query?: never;
|
|
12651
|
+
header?: never;
|
|
12652
|
+
path?: never;
|
|
12653
|
+
cookie?: never;
|
|
12654
|
+
};
|
|
12655
|
+
requestBody?: never;
|
|
12656
|
+
responses: {
|
|
12657
|
+
/** @description OK */
|
|
12658
|
+
200: {
|
|
12659
|
+
headers: {
|
|
12660
|
+
[name: string]: unknown;
|
|
12661
|
+
};
|
|
12662
|
+
content: {
|
|
12663
|
+
"application/json": components["schemas"]["TenantSettingsResponse"];
|
|
12664
|
+
};
|
|
12665
|
+
};
|
|
12666
|
+
};
|
|
12667
|
+
};
|
|
12668
|
+
GetTenantBranding: {
|
|
12669
|
+
parameters: {
|
|
12670
|
+
query?: never;
|
|
12671
|
+
header?: never;
|
|
12672
|
+
path?: never;
|
|
12673
|
+
cookie?: never;
|
|
12674
|
+
};
|
|
12675
|
+
requestBody?: never;
|
|
12676
|
+
responses: {
|
|
12677
|
+
/** @description OK */
|
|
12678
|
+
200: {
|
|
12679
|
+
headers: {
|
|
12680
|
+
[name: string]: unknown;
|
|
12681
|
+
};
|
|
12682
|
+
content: {
|
|
12683
|
+
"application/json": components["schemas"]["TenantBrandingResponse"];
|
|
12684
|
+
};
|
|
12685
|
+
};
|
|
12686
|
+
};
|
|
12687
|
+
};
|
|
12688
|
+
GetTenantEntitlements: {
|
|
12689
|
+
parameters: {
|
|
12690
|
+
query?: never;
|
|
12691
|
+
header?: never;
|
|
12692
|
+
path?: never;
|
|
12693
|
+
cookie?: never;
|
|
12694
|
+
};
|
|
12695
|
+
requestBody?: never;
|
|
12696
|
+
responses: {
|
|
12697
|
+
/** @description OK */
|
|
12698
|
+
200: {
|
|
12699
|
+
headers: {
|
|
12700
|
+
[name: string]: unknown;
|
|
12701
|
+
};
|
|
12702
|
+
content: {
|
|
12703
|
+
"application/json": components["schemas"]["EntitlementResponse"][];
|
|
12704
|
+
};
|
|
12705
|
+
};
|
|
12706
|
+
};
|
|
12707
|
+
};
|
|
12708
|
+
GetTenantEntitlement: {
|
|
12709
|
+
parameters: {
|
|
12710
|
+
query?: never;
|
|
12711
|
+
header?: never;
|
|
12712
|
+
path: {
|
|
12713
|
+
featureKey: string;
|
|
12714
|
+
};
|
|
12715
|
+
cookie?: never;
|
|
12716
|
+
};
|
|
12717
|
+
requestBody?: never;
|
|
12718
|
+
responses: {
|
|
12719
|
+
/** @description OK */
|
|
12720
|
+
200: {
|
|
12721
|
+
headers: {
|
|
12722
|
+
[name: string]: unknown;
|
|
12723
|
+
};
|
|
12724
|
+
content: {
|
|
12725
|
+
"application/json": components["schemas"]["EntitlementResponse"];
|
|
12726
|
+
};
|
|
12727
|
+
};
|
|
12728
|
+
};
|
|
12729
|
+
};
|
|
12730
|
+
ListIntegrationCredentials: {
|
|
12127
12731
|
parameters: {
|
|
12128
12732
|
query?: never;
|
|
12129
12733
|
header?: never;
|
|
@@ -12527,6 +13131,59 @@ export interface operations {
|
|
|
12527
13131
|
};
|
|
12528
13132
|
};
|
|
12529
13133
|
};
|
|
13134
|
+
RecordPaymentRequirementMet: {
|
|
13135
|
+
parameters: {
|
|
13136
|
+
query?: never;
|
|
13137
|
+
header?: never;
|
|
13138
|
+
path: {
|
|
13139
|
+
id: string;
|
|
13140
|
+
};
|
|
13141
|
+
cookie?: never;
|
|
13142
|
+
};
|
|
13143
|
+
requestBody: {
|
|
13144
|
+
content: {
|
|
13145
|
+
"application/json": components["schemas"]["RecordPaymentRequirementMetRequest"];
|
|
13146
|
+
};
|
|
13147
|
+
};
|
|
13148
|
+
responses: {
|
|
13149
|
+
/** @description OK */
|
|
13150
|
+
200: {
|
|
13151
|
+
headers: {
|
|
13152
|
+
[name: string]: unknown;
|
|
13153
|
+
};
|
|
13154
|
+
content: {
|
|
13155
|
+
"application/json": components["schemas"]["PolicyResponse"];
|
|
13156
|
+
};
|
|
13157
|
+
};
|
|
13158
|
+
/** @description Bad Request */
|
|
13159
|
+
400: {
|
|
13160
|
+
headers: {
|
|
13161
|
+
[name: string]: unknown;
|
|
13162
|
+
};
|
|
13163
|
+
content: {
|
|
13164
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
13165
|
+
};
|
|
13166
|
+
};
|
|
13167
|
+
/** @description Not Found */
|
|
13168
|
+
404: {
|
|
13169
|
+
headers: {
|
|
13170
|
+
[name: string]: unknown;
|
|
13171
|
+
};
|
|
13172
|
+
content: {
|
|
13173
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13174
|
+
};
|
|
13175
|
+
};
|
|
13176
|
+
/** @description Conflict */
|
|
13177
|
+
409: {
|
|
13178
|
+
headers: {
|
|
13179
|
+
[name: string]: unknown;
|
|
13180
|
+
};
|
|
13181
|
+
content: {
|
|
13182
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13183
|
+
};
|
|
13184
|
+
};
|
|
13185
|
+
};
|
|
13186
|
+
};
|
|
12530
13187
|
GetPolicy: {
|
|
12531
13188
|
parameters: {
|
|
12532
13189
|
query?: never;
|
|
@@ -12558,6 +13215,95 @@ export interface operations {
|
|
|
12558
13215
|
};
|
|
12559
13216
|
};
|
|
12560
13217
|
};
|
|
13218
|
+
ReadPaymentGates: {
|
|
13219
|
+
parameters: {
|
|
13220
|
+
query?: never;
|
|
13221
|
+
header?: never;
|
|
13222
|
+
path?: never;
|
|
13223
|
+
cookie?: never;
|
|
13224
|
+
};
|
|
13225
|
+
requestBody?: never;
|
|
13226
|
+
responses: {
|
|
13227
|
+
/** @description OK */
|
|
13228
|
+
200: {
|
|
13229
|
+
headers: {
|
|
13230
|
+
[name: string]: unknown;
|
|
13231
|
+
};
|
|
13232
|
+
content: {
|
|
13233
|
+
"application/json": components["schemas"]["PaymentGateResponse"][];
|
|
13234
|
+
};
|
|
13235
|
+
};
|
|
13236
|
+
};
|
|
13237
|
+
};
|
|
13238
|
+
DeclarePaymentGate: {
|
|
13239
|
+
parameters: {
|
|
13240
|
+
query?: never;
|
|
13241
|
+
header?: never;
|
|
13242
|
+
path?: never;
|
|
13243
|
+
cookie?: never;
|
|
13244
|
+
};
|
|
13245
|
+
requestBody: {
|
|
13246
|
+
content: {
|
|
13247
|
+
"application/json": components["schemas"]["DeclarePaymentGateRequest"];
|
|
13248
|
+
};
|
|
13249
|
+
};
|
|
13250
|
+
responses: {
|
|
13251
|
+
/** @description Created */
|
|
13252
|
+
201: {
|
|
13253
|
+
headers: {
|
|
13254
|
+
[name: string]: unknown;
|
|
13255
|
+
};
|
|
13256
|
+
content: {
|
|
13257
|
+
"application/json": components["schemas"]["PaymentGateResponse"];
|
|
13258
|
+
};
|
|
13259
|
+
};
|
|
13260
|
+
/** @description Bad Request */
|
|
13261
|
+
400: {
|
|
13262
|
+
headers: {
|
|
13263
|
+
[name: string]: unknown;
|
|
13264
|
+
};
|
|
13265
|
+
content: {
|
|
13266
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
13267
|
+
};
|
|
13268
|
+
};
|
|
13269
|
+
/** @description Conflict */
|
|
13270
|
+
409: {
|
|
13271
|
+
headers: {
|
|
13272
|
+
[name: string]: unknown;
|
|
13273
|
+
};
|
|
13274
|
+
content: {
|
|
13275
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
13276
|
+
};
|
|
13277
|
+
};
|
|
13278
|
+
};
|
|
13279
|
+
};
|
|
13280
|
+
WithdrawPaymentGate: {
|
|
13281
|
+
parameters: {
|
|
13282
|
+
query?: never;
|
|
13283
|
+
header?: never;
|
|
13284
|
+
path: {
|
|
13285
|
+
id: string;
|
|
13286
|
+
};
|
|
13287
|
+
cookie?: never;
|
|
13288
|
+
};
|
|
13289
|
+
requestBody?: never;
|
|
13290
|
+
responses: {
|
|
13291
|
+
/** @description No Content */
|
|
13292
|
+
204: {
|
|
13293
|
+
headers: {
|
|
13294
|
+
[name: string]: unknown;
|
|
13295
|
+
};
|
|
13296
|
+
content?: never;
|
|
13297
|
+
};
|
|
13298
|
+
/** @description Not Found */
|
|
13299
|
+
404: {
|
|
13300
|
+
headers: {
|
|
13301
|
+
[name: string]: unknown;
|
|
13302
|
+
};
|
|
13303
|
+
content?: never;
|
|
13304
|
+
};
|
|
13305
|
+
};
|
|
13306
|
+
};
|
|
12561
13307
|
UploadPolicyDocument: {
|
|
12562
13308
|
parameters: {
|
|
12563
13309
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.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,
|