@insurance-broker/api-client 1.39.0 → 1.40.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +705 -0
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -2753,6 +2753,161 @@ export interface paths {
2753
2753
  patch?: never;
2754
2754
  trace?: never;
2755
2755
  };
2756
+ "/api/v1/branches": {
2757
+ parameters: {
2758
+ query?: never;
2759
+ header?: never;
2760
+ path?: never;
2761
+ cookie?: never;
2762
+ };
2763
+ /** The places this broker works from, closed ones included. */
2764
+ get: operations["ListBranches"];
2765
+ put?: never;
2766
+ /** Records a place this broker works from. */
2767
+ post: operations["OpenBranch"];
2768
+ delete?: never;
2769
+ options?: never;
2770
+ head?: never;
2771
+ patch?: never;
2772
+ trace?: never;
2773
+ };
2774
+ "/api/v1/branches/{id}/members": {
2775
+ parameters: {
2776
+ query?: never;
2777
+ header?: never;
2778
+ path?: never;
2779
+ cookie?: never;
2780
+ };
2781
+ /** Who works from this branch. */
2782
+ get: operations["ListBranchMembers"];
2783
+ put?: never;
2784
+ post?: never;
2785
+ delete?: never;
2786
+ options?: never;
2787
+ head?: never;
2788
+ patch?: never;
2789
+ trace?: never;
2790
+ };
2791
+ "/api/v1/branches/{id}/description": {
2792
+ parameters: {
2793
+ query?: never;
2794
+ header?: never;
2795
+ path?: never;
2796
+ cookie?: never;
2797
+ };
2798
+ get?: never;
2799
+ put?: never;
2800
+ /** Changes a branch's name or location. The code never moves. */
2801
+ post: operations["DescribeBranch"];
2802
+ delete?: never;
2803
+ options?: never;
2804
+ head?: never;
2805
+ patch?: never;
2806
+ trace?: never;
2807
+ };
2808
+ "/api/v1/branches/{id}/closure": {
2809
+ parameters: {
2810
+ query?: never;
2811
+ header?: never;
2812
+ path?: never;
2813
+ cookie?: never;
2814
+ };
2815
+ get?: never;
2816
+ put?: never;
2817
+ /** Stops new work being attached, leaving everything recorded alone. */
2818
+ post: operations["CloseBranch"];
2819
+ delete?: never;
2820
+ options?: never;
2821
+ head?: never;
2822
+ patch?: never;
2823
+ trace?: never;
2824
+ };
2825
+ "/api/v1/branches/{id}/reopening": {
2826
+ parameters: {
2827
+ query?: never;
2828
+ header?: never;
2829
+ path?: never;
2830
+ cookie?: never;
2831
+ };
2832
+ get?: never;
2833
+ put?: never;
2834
+ /** Opens a closed branch again. */
2835
+ post: operations["ReopenBranch"];
2836
+ delete?: never;
2837
+ options?: never;
2838
+ head?: never;
2839
+ patch?: never;
2840
+ trace?: never;
2841
+ };
2842
+ "/api/v1/teams": {
2843
+ parameters: {
2844
+ query?: never;
2845
+ header?: never;
2846
+ path?: never;
2847
+ cookie?: never;
2848
+ };
2849
+ /** This broker's desks, disbanded ones included. */
2850
+ get: operations["ListTeams"];
2851
+ put?: never;
2852
+ /** Records a desk, in one branch or across the whole book. */
2853
+ post: operations["FormTeam"];
2854
+ delete?: never;
2855
+ options?: never;
2856
+ head?: never;
2857
+ patch?: never;
2858
+ trace?: never;
2859
+ };
2860
+ "/api/v1/teams/{id}/description": {
2861
+ parameters: {
2862
+ query?: never;
2863
+ header?: never;
2864
+ path?: never;
2865
+ cookie?: never;
2866
+ };
2867
+ get?: never;
2868
+ put?: never;
2869
+ /** Changes a desk's name or which branch it sits in. */
2870
+ post: operations["DescribeTeam"];
2871
+ delete?: never;
2872
+ options?: never;
2873
+ head?: never;
2874
+ patch?: never;
2875
+ trace?: never;
2876
+ };
2877
+ "/api/v1/teams/{id}/disbandment": {
2878
+ parameters: {
2879
+ query?: never;
2880
+ header?: never;
2881
+ path?: never;
2882
+ cookie?: never;
2883
+ };
2884
+ get?: never;
2885
+ put?: never;
2886
+ /** Stops people being assigned, leaving those already assigned alone. */
2887
+ post: operations["DisbandTeam"];
2888
+ delete?: never;
2889
+ options?: never;
2890
+ head?: never;
2891
+ patch?: never;
2892
+ trace?: never;
2893
+ };
2894
+ "/api/v1/members/{membershipId}/placement": {
2895
+ parameters: {
2896
+ query?: never;
2897
+ header?: never;
2898
+ path?: never;
2899
+ cookie?: never;
2900
+ };
2901
+ get?: never;
2902
+ put?: never;
2903
+ /** Records where one of this broker's people works and which desk they sit on. */
2904
+ post: operations["PlaceMember"];
2905
+ delete?: never;
2906
+ options?: never;
2907
+ head?: never;
2908
+ patch?: never;
2909
+ trace?: never;
2910
+ };
2756
2911
  "/api/v1/tenant": {
2757
2912
  parameters: {
2758
2913
  query?: never;
@@ -4278,6 +4433,18 @@ export interface components {
4278
4433
  /** Format: uuid */
4279
4434
  insurerId: null | string;
4280
4435
  };
4436
+ BranchResponse: {
4437
+ /** Format: uuid */
4438
+ id: string;
4439
+ code: string;
4440
+ name: string;
4441
+ location: null | string;
4442
+ isOpen: boolean;
4443
+ /** Format: date-time */
4444
+ createdAtUtc: string;
4445
+ /** Format: date-time */
4446
+ updatedAtUtc: string;
4447
+ };
4281
4448
  CaptureLeadRequest: {
4282
4449
  contactName: null | string;
4283
4450
  email: null | string;
@@ -4678,6 +4845,15 @@ export interface components {
4678
4845
  name: string;
4679
4846
  description: null | string;
4680
4847
  };
4848
+ DescribeBranchRequest: {
4849
+ name: string;
4850
+ location: null | string;
4851
+ };
4852
+ DescribeTeamRequest: {
4853
+ name: string;
4854
+ /** Format: uuid */
4855
+ branchId: null | string;
4856
+ };
4681
4857
  DocumentTemplateResponse: {
4682
4858
  /** Format: uuid */
4683
4859
  id: string;
@@ -4809,6 +4985,12 @@ export interface components {
4809
4985
  evidence: components["schemas"]["SubmittedEvidenceResponse"][];
4810
4986
  isSatisfied: boolean;
4811
4987
  };
4988
+ FormTeamRequest: {
4989
+ code: string;
4990
+ name: string;
4991
+ /** Format: uuid */
4992
+ branchId: null | string;
4993
+ };
4812
4994
  FormVersionBodyResponse: {
4813
4995
  version: components["schemas"]["FormVersionResponse"];
4814
4996
  body: components["schemas"]["JsonElement"];
@@ -5206,6 +5388,11 @@ export interface components {
5206
5388
  name: string;
5207
5389
  description: null | string;
5208
5390
  };
5391
+ OpenBranchRequest: {
5392
+ code: string;
5393
+ name: string;
5394
+ location: null | string;
5395
+ };
5209
5396
  OpenPolicyRequest: {
5210
5397
  /** Format: uuid */
5211
5398
  quoteRequestId: string;
@@ -5379,6 +5566,17 @@ export interface components {
5379
5566
  approvedAtUtc: null | string;
5380
5567
  reversed: boolean;
5381
5568
  };
5569
+ PlacedMemberResponse: {
5570
+ /** Format: uuid */
5571
+ membershipId: string;
5572
+ subjectId: string;
5573
+ displayName: string;
5574
+ status: string;
5575
+ /** Format: uuid */
5576
+ branchId: null | string;
5577
+ /** Format: uuid */
5578
+ teamId: null | string;
5579
+ };
5382
5580
  PlaceLegalHoldRequest: {
5383
5581
  moduleName: null | string;
5384
5582
  entityType: null | string;
@@ -5386,6 +5584,12 @@ export interface components {
5386
5584
  trigger: null | string;
5387
5585
  reason: null | string;
5388
5586
  };
5587
+ PlaceMemberRequest: {
5588
+ /** Format: uuid */
5589
+ branchId: null | string;
5590
+ /** Format: uuid */
5591
+ teamId: null | string;
5592
+ };
5389
5593
  PlanResponse: {
5390
5594
  code: string;
5391
5595
  name: string;
@@ -6201,6 +6405,19 @@ export interface components {
6201
6405
  attachmentId: null | string;
6202
6406
  scanVerdict: null | string;
6203
6407
  };
6408
+ TeamResponse: {
6409
+ /** Format: uuid */
6410
+ id: string;
6411
+ code: string;
6412
+ name: string;
6413
+ /** Format: uuid */
6414
+ branchId: null | string;
6415
+ isActive: boolean;
6416
+ /** Format: date-time */
6417
+ createdAtUtc: string;
6418
+ /** Format: date-time */
6419
+ updatedAtUtc: string;
6420
+ };
6204
6421
  TenantBrandingResponse: {
6205
6422
  name: string;
6206
6423
  logoUrl: null | string;
@@ -12645,6 +12862,494 @@ export interface operations {
12645
12862
  };
12646
12863
  };
12647
12864
  };
12865
+ ListBranches: {
12866
+ parameters: {
12867
+ query?: never;
12868
+ header?: never;
12869
+ path?: never;
12870
+ cookie?: never;
12871
+ };
12872
+ requestBody?: never;
12873
+ responses: {
12874
+ /** @description OK */
12875
+ 200: {
12876
+ headers: {
12877
+ [name: string]: unknown;
12878
+ };
12879
+ content: {
12880
+ "application/json": components["schemas"]["BranchResponse"][];
12881
+ };
12882
+ };
12883
+ /** @description Forbidden */
12884
+ 403: {
12885
+ headers: {
12886
+ [name: string]: unknown;
12887
+ };
12888
+ content?: never;
12889
+ };
12890
+ };
12891
+ };
12892
+ OpenBranch: {
12893
+ parameters: {
12894
+ query?: never;
12895
+ header?: never;
12896
+ path?: never;
12897
+ cookie?: never;
12898
+ };
12899
+ requestBody: {
12900
+ content: {
12901
+ "application/json": components["schemas"]["OpenBranchRequest"];
12902
+ };
12903
+ };
12904
+ responses: {
12905
+ /** @description Created */
12906
+ 201: {
12907
+ headers: {
12908
+ [name: string]: unknown;
12909
+ };
12910
+ content: {
12911
+ "application/json": components["schemas"]["BranchResponse"];
12912
+ };
12913
+ };
12914
+ /** @description Bad Request */
12915
+ 400: {
12916
+ headers: {
12917
+ [name: string]: unknown;
12918
+ };
12919
+ content: {
12920
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12921
+ };
12922
+ };
12923
+ /** @description Forbidden */
12924
+ 403: {
12925
+ headers: {
12926
+ [name: string]: unknown;
12927
+ };
12928
+ content?: never;
12929
+ };
12930
+ /** @description Conflict */
12931
+ 409: {
12932
+ headers: {
12933
+ [name: string]: unknown;
12934
+ };
12935
+ content: {
12936
+ "application/problem+json": components["schemas"]["ProblemDetails"];
12937
+ };
12938
+ };
12939
+ };
12940
+ };
12941
+ ListBranchMembers: {
12942
+ parameters: {
12943
+ query?: never;
12944
+ header?: never;
12945
+ path: {
12946
+ id: string;
12947
+ };
12948
+ cookie?: never;
12949
+ };
12950
+ requestBody?: never;
12951
+ responses: {
12952
+ /** @description OK */
12953
+ 200: {
12954
+ headers: {
12955
+ [name: string]: unknown;
12956
+ };
12957
+ content: {
12958
+ "application/json": components["schemas"]["PlacedMemberResponse"][];
12959
+ };
12960
+ };
12961
+ /** @description Forbidden */
12962
+ 403: {
12963
+ headers: {
12964
+ [name: string]: unknown;
12965
+ };
12966
+ content?: never;
12967
+ };
12968
+ /** @description Not Found */
12969
+ 404: {
12970
+ headers: {
12971
+ [name: string]: unknown;
12972
+ };
12973
+ content?: never;
12974
+ };
12975
+ };
12976
+ };
12977
+ DescribeBranch: {
12978
+ parameters: {
12979
+ query?: never;
12980
+ header?: never;
12981
+ path: {
12982
+ id: string;
12983
+ };
12984
+ cookie?: never;
12985
+ };
12986
+ requestBody: {
12987
+ content: {
12988
+ "application/json": components["schemas"]["DescribeBranchRequest"];
12989
+ };
12990
+ };
12991
+ responses: {
12992
+ /** @description OK */
12993
+ 200: {
12994
+ headers: {
12995
+ [name: string]: unknown;
12996
+ };
12997
+ content: {
12998
+ "application/json": components["schemas"]["BranchResponse"];
12999
+ };
13000
+ };
13001
+ /** @description Bad Request */
13002
+ 400: {
13003
+ headers: {
13004
+ [name: string]: unknown;
13005
+ };
13006
+ content: {
13007
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13008
+ };
13009
+ };
13010
+ /** @description Forbidden */
13011
+ 403: {
13012
+ headers: {
13013
+ [name: string]: unknown;
13014
+ };
13015
+ content?: never;
13016
+ };
13017
+ /** @description Not Found */
13018
+ 404: {
13019
+ headers: {
13020
+ [name: string]: unknown;
13021
+ };
13022
+ content?: never;
13023
+ };
13024
+ };
13025
+ };
13026
+ CloseBranch: {
13027
+ parameters: {
13028
+ query?: never;
13029
+ header?: never;
13030
+ path: {
13031
+ id: string;
13032
+ };
13033
+ cookie?: never;
13034
+ };
13035
+ requestBody?: never;
13036
+ responses: {
13037
+ /** @description OK */
13038
+ 200: {
13039
+ headers: {
13040
+ [name: string]: unknown;
13041
+ };
13042
+ content: {
13043
+ "application/json": components["schemas"]["BranchResponse"];
13044
+ };
13045
+ };
13046
+ /** @description Forbidden */
13047
+ 403: {
13048
+ headers: {
13049
+ [name: string]: unknown;
13050
+ };
13051
+ content?: never;
13052
+ };
13053
+ /** @description Not Found */
13054
+ 404: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content?: never;
13059
+ };
13060
+ /** @description Conflict */
13061
+ 409: {
13062
+ headers: {
13063
+ [name: string]: unknown;
13064
+ };
13065
+ content: {
13066
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13067
+ };
13068
+ };
13069
+ };
13070
+ };
13071
+ ReopenBranch: {
13072
+ parameters: {
13073
+ query?: never;
13074
+ header?: never;
13075
+ path: {
13076
+ id: string;
13077
+ };
13078
+ cookie?: never;
13079
+ };
13080
+ requestBody?: never;
13081
+ responses: {
13082
+ /** @description OK */
13083
+ 200: {
13084
+ headers: {
13085
+ [name: string]: unknown;
13086
+ };
13087
+ content: {
13088
+ "application/json": components["schemas"]["BranchResponse"];
13089
+ };
13090
+ };
13091
+ /** @description Forbidden */
13092
+ 403: {
13093
+ headers: {
13094
+ [name: string]: unknown;
13095
+ };
13096
+ content?: never;
13097
+ };
13098
+ /** @description Not Found */
13099
+ 404: {
13100
+ headers: {
13101
+ [name: string]: unknown;
13102
+ };
13103
+ content?: never;
13104
+ };
13105
+ /** @description Conflict */
13106
+ 409: {
13107
+ headers: {
13108
+ [name: string]: unknown;
13109
+ };
13110
+ content: {
13111
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13112
+ };
13113
+ };
13114
+ };
13115
+ };
13116
+ ListTeams: {
13117
+ parameters: {
13118
+ query?: never;
13119
+ header?: never;
13120
+ path?: never;
13121
+ cookie?: never;
13122
+ };
13123
+ requestBody?: never;
13124
+ responses: {
13125
+ /** @description OK */
13126
+ 200: {
13127
+ headers: {
13128
+ [name: string]: unknown;
13129
+ };
13130
+ content: {
13131
+ "application/json": components["schemas"]["TeamResponse"][];
13132
+ };
13133
+ };
13134
+ /** @description Forbidden */
13135
+ 403: {
13136
+ headers: {
13137
+ [name: string]: unknown;
13138
+ };
13139
+ content?: never;
13140
+ };
13141
+ };
13142
+ };
13143
+ FormTeam: {
13144
+ parameters: {
13145
+ query?: never;
13146
+ header?: never;
13147
+ path?: never;
13148
+ cookie?: never;
13149
+ };
13150
+ requestBody: {
13151
+ content: {
13152
+ "application/json": components["schemas"]["FormTeamRequest"];
13153
+ };
13154
+ };
13155
+ responses: {
13156
+ /** @description Created */
13157
+ 201: {
13158
+ headers: {
13159
+ [name: string]: unknown;
13160
+ };
13161
+ content: {
13162
+ "application/json": components["schemas"]["TeamResponse"];
13163
+ };
13164
+ };
13165
+ /** @description Bad Request */
13166
+ 400: {
13167
+ headers: {
13168
+ [name: string]: unknown;
13169
+ };
13170
+ content: {
13171
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13172
+ };
13173
+ };
13174
+ /** @description Forbidden */
13175
+ 403: {
13176
+ headers: {
13177
+ [name: string]: unknown;
13178
+ };
13179
+ content?: never;
13180
+ };
13181
+ /** @description Conflict */
13182
+ 409: {
13183
+ headers: {
13184
+ [name: string]: unknown;
13185
+ };
13186
+ content: {
13187
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13188
+ };
13189
+ };
13190
+ };
13191
+ };
13192
+ DescribeTeam: {
13193
+ parameters: {
13194
+ query?: never;
13195
+ header?: never;
13196
+ path: {
13197
+ id: string;
13198
+ };
13199
+ cookie?: never;
13200
+ };
13201
+ requestBody: {
13202
+ content: {
13203
+ "application/json": components["schemas"]["DescribeTeamRequest"];
13204
+ };
13205
+ };
13206
+ responses: {
13207
+ /** @description OK */
13208
+ 200: {
13209
+ headers: {
13210
+ [name: string]: unknown;
13211
+ };
13212
+ content: {
13213
+ "application/json": components["schemas"]["TeamResponse"];
13214
+ };
13215
+ };
13216
+ /** @description Bad Request */
13217
+ 400: {
13218
+ headers: {
13219
+ [name: string]: unknown;
13220
+ };
13221
+ content: {
13222
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13223
+ };
13224
+ };
13225
+ /** @description Forbidden */
13226
+ 403: {
13227
+ headers: {
13228
+ [name: string]: unknown;
13229
+ };
13230
+ content?: never;
13231
+ };
13232
+ /** @description Not Found */
13233
+ 404: {
13234
+ headers: {
13235
+ [name: string]: unknown;
13236
+ };
13237
+ content?: never;
13238
+ };
13239
+ /** @description Conflict */
13240
+ 409: {
13241
+ headers: {
13242
+ [name: string]: unknown;
13243
+ };
13244
+ content: {
13245
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13246
+ };
13247
+ };
13248
+ };
13249
+ };
13250
+ DisbandTeam: {
13251
+ parameters: {
13252
+ query?: never;
13253
+ header?: never;
13254
+ path: {
13255
+ id: string;
13256
+ };
13257
+ cookie?: never;
13258
+ };
13259
+ requestBody?: never;
13260
+ responses: {
13261
+ /** @description OK */
13262
+ 200: {
13263
+ headers: {
13264
+ [name: string]: unknown;
13265
+ };
13266
+ content: {
13267
+ "application/json": components["schemas"]["TeamResponse"];
13268
+ };
13269
+ };
13270
+ /** @description Forbidden */
13271
+ 403: {
13272
+ headers: {
13273
+ [name: string]: unknown;
13274
+ };
13275
+ content?: never;
13276
+ };
13277
+ /** @description Not Found */
13278
+ 404: {
13279
+ headers: {
13280
+ [name: string]: unknown;
13281
+ };
13282
+ content?: never;
13283
+ };
13284
+ /** @description Conflict */
13285
+ 409: {
13286
+ headers: {
13287
+ [name: string]: unknown;
13288
+ };
13289
+ content: {
13290
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13291
+ };
13292
+ };
13293
+ };
13294
+ };
13295
+ PlaceMember: {
13296
+ parameters: {
13297
+ query?: never;
13298
+ header?: never;
13299
+ path: {
13300
+ membershipId: string;
13301
+ };
13302
+ cookie?: never;
13303
+ };
13304
+ requestBody: {
13305
+ content: {
13306
+ "application/json": components["schemas"]["PlaceMemberRequest"];
13307
+ };
13308
+ };
13309
+ responses: {
13310
+ /** @description OK */
13311
+ 200: {
13312
+ headers: {
13313
+ [name: string]: unknown;
13314
+ };
13315
+ content: {
13316
+ "application/json": components["schemas"]["PlacedMemberResponse"];
13317
+ };
13318
+ };
13319
+ /** @description Bad Request */
13320
+ 400: {
13321
+ headers: {
13322
+ [name: string]: unknown;
13323
+ };
13324
+ content: {
13325
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13326
+ };
13327
+ };
13328
+ /** @description Forbidden */
13329
+ 403: {
13330
+ headers: {
13331
+ [name: string]: unknown;
13332
+ };
13333
+ content?: never;
13334
+ };
13335
+ /** @description Not Found */
13336
+ 404: {
13337
+ headers: {
13338
+ [name: string]: unknown;
13339
+ };
13340
+ content?: never;
13341
+ };
13342
+ /** @description Conflict */
13343
+ 409: {
13344
+ headers: {
13345
+ [name: string]: unknown;
13346
+ };
13347
+ content: {
13348
+ "application/problem+json": components["schemas"]["ProblemDetails"];
13349
+ };
13350
+ };
13351
+ };
13352
+ };
12648
13353
  GetTenantSettings: {
12649
13354
  parameters: {
12650
13355
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "1.39.0",
3
+ "version": "1.40.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,