@insurance-broker/api-client 2.15.0 → 2.16.1

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 +191 -3
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -3274,6 +3274,41 @@ export interface paths {
3274
3274
  patch?: never;
3275
3275
  trace?: never;
3276
3276
  };
3277
+ "/api/v1/platform/tenants/{tenantKey}/native-applications": {
3278
+ parameters: {
3279
+ query?: never;
3280
+ header?: never;
3281
+ path?: never;
3282
+ cookie?: never;
3283
+ };
3284
+ /** Every native application identifier registered to a broker, active and retired. */
3285
+ get: operations["ListNativeApplications"];
3286
+ put?: never;
3287
+ /** Registers a build's public application identifier to a broker, so installs of it resolve that broker's public branding before sign-in. */
3288
+ post: operations["RegisterNativeApplication"];
3289
+ delete?: never;
3290
+ options?: never;
3291
+ head?: never;
3292
+ patch?: never;
3293
+ trace?: never;
3294
+ };
3295
+ "/api/v1/platform/tenants/{tenantKey}/native-applications/{registrationId}/retirement": {
3296
+ parameters: {
3297
+ query?: never;
3298
+ header?: never;
3299
+ path?: never;
3300
+ cookie?: never;
3301
+ };
3302
+ get?: never;
3303
+ put?: never;
3304
+ /** Stops an identifier resolving. Terminal; the identifier may then be registered again. */
3305
+ post: operations["RetireNativeApplication"];
3306
+ delete?: never;
3307
+ options?: never;
3308
+ head?: never;
3309
+ patch?: never;
3310
+ trace?: never;
3311
+ };
3277
3312
  "/api/v1/platform/tenants": {
3278
3313
  parameters: {
3279
3314
  query?: never;
@@ -3480,7 +3515,7 @@ export interface paths {
3480
3515
  path?: never;
3481
3516
  cookie?: never;
3482
3517
  };
3483
- /** The branding of the broker whose verified domain the request arrived on. */
3518
+ /** The branding of the broker whose verified domain the request arrived on, or whose registered native application sent it. */
3484
3519
  get: operations["GetPublicBranding"];
3485
3520
  put?: never;
3486
3521
  post?: never;
@@ -4491,7 +4526,7 @@ export interface paths {
4491
4526
  *
4492
4527
  * **`Declined` and `ChangesRequested` change nothing about your cover.** They are recorded for your broker to act on, they satisfy no condition, and they do not end your policy: concluding a renewal is your broker's act, because it expires cover that is still in force. Either may carry one short `note` saying what needs to change.
4493
4528
  *
4494
- * Sending the same answer twice reads the first one back rather than recording it twice, so a lost response or a double tap is safe. You may ask for changes and confirm later; you cannot un-say an answer, and a renewal your broker has already concluded is refused.
4529
+ * Sending the same answer twice - the same `note` too, ignoring surrounding spaces - reads the first one back rather than recording it twice, so a lost response or a double tap is safe. The same answer with a different `note` is refused with a `409`: your broker already has your answer, and changing or adding to it is done with them. You may ask for changes and confirm later; you cannot un-say an answer, and a renewal your broker has already concluded is refused.
4495
4530
  */
4496
4531
  post: operations["RespondToCustomerRenewal"];
4497
4532
  delete?: never;
@@ -6919,6 +6954,16 @@ export interface components {
6919
6954
  /** Format: date-time */
6920
6955
  publishedAtUtc: string;
6921
6956
  };
6957
+ NativeApplicationResponse: {
6958
+ /** Format: uuid */
6959
+ id: string;
6960
+ identifier: string;
6961
+ status: string;
6962
+ /** Format: date-time */
6963
+ registeredAtUtc: string;
6964
+ /** Format: date-time */
6965
+ retiredAtUtc: null | string;
6966
+ };
6922
6967
  NotificationPage: {
6923
6968
  items: components["schemas"]["NotificationResponse"][];
6924
6969
  nextCursor: null | string;
@@ -7797,6 +7842,9 @@ export interface components {
7797
7842
  token: null | string;
7798
7843
  appVersion: null | string;
7799
7844
  };
7845
+ RegisterNativeApplicationRequest: {
7846
+ identifier: null | string;
7847
+ };
7800
7848
  RegisterOrganisationRequest: {
7801
7849
  name: null | string;
7802
7850
  registrationNumber: null | string;
@@ -16050,6 +16098,144 @@ export interface operations {
16050
16098
  };
16051
16099
  };
16052
16100
  };
16101
+ ListNativeApplications: {
16102
+ parameters: {
16103
+ query?: never;
16104
+ header?: never;
16105
+ path: {
16106
+ tenantKey: string;
16107
+ };
16108
+ cookie?: never;
16109
+ };
16110
+ requestBody?: never;
16111
+ responses: {
16112
+ /** @description OK */
16113
+ 200: {
16114
+ headers: {
16115
+ [name: string]: unknown;
16116
+ };
16117
+ content: {
16118
+ "application/json": components["schemas"]["NativeApplicationResponse"][];
16119
+ };
16120
+ };
16121
+ /** @description Forbidden */
16122
+ 403: {
16123
+ headers: {
16124
+ [name: string]: unknown;
16125
+ };
16126
+ content?: never;
16127
+ };
16128
+ /** @description Not Found */
16129
+ 404: {
16130
+ headers: {
16131
+ [name: string]: unknown;
16132
+ };
16133
+ content?: never;
16134
+ };
16135
+ };
16136
+ };
16137
+ RegisterNativeApplication: {
16138
+ parameters: {
16139
+ query?: never;
16140
+ header?: never;
16141
+ path: {
16142
+ tenantKey: string;
16143
+ };
16144
+ cookie?: never;
16145
+ };
16146
+ requestBody: {
16147
+ content: {
16148
+ "application/json": components["schemas"]["RegisterNativeApplicationRequest"];
16149
+ };
16150
+ };
16151
+ responses: {
16152
+ /** @description Created */
16153
+ 201: {
16154
+ headers: {
16155
+ [name: string]: unknown;
16156
+ };
16157
+ content: {
16158
+ "application/json": components["schemas"]["NativeApplicationResponse"];
16159
+ };
16160
+ };
16161
+ /** @description Bad Request */
16162
+ 400: {
16163
+ headers: {
16164
+ [name: string]: unknown;
16165
+ };
16166
+ content: {
16167
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16168
+ };
16169
+ };
16170
+ /** @description Forbidden */
16171
+ 403: {
16172
+ headers: {
16173
+ [name: string]: unknown;
16174
+ };
16175
+ content?: never;
16176
+ };
16177
+ /** @description Not Found */
16178
+ 404: {
16179
+ headers: {
16180
+ [name: string]: unknown;
16181
+ };
16182
+ content?: never;
16183
+ };
16184
+ /** @description Conflict */
16185
+ 409: {
16186
+ headers: {
16187
+ [name: string]: unknown;
16188
+ };
16189
+ content: {
16190
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16191
+ };
16192
+ };
16193
+ };
16194
+ };
16195
+ RetireNativeApplication: {
16196
+ parameters: {
16197
+ query?: never;
16198
+ header?: never;
16199
+ path: {
16200
+ tenantKey: string;
16201
+ registrationId: string;
16202
+ };
16203
+ cookie?: never;
16204
+ };
16205
+ requestBody?: never;
16206
+ responses: {
16207
+ /** @description No Content */
16208
+ 204: {
16209
+ headers: {
16210
+ [name: string]: unknown;
16211
+ };
16212
+ content?: never;
16213
+ };
16214
+ /** @description Forbidden */
16215
+ 403: {
16216
+ headers: {
16217
+ [name: string]: unknown;
16218
+ };
16219
+ content?: never;
16220
+ };
16221
+ /** @description Not Found */
16222
+ 404: {
16223
+ headers: {
16224
+ [name: string]: unknown;
16225
+ };
16226
+ content?: never;
16227
+ };
16228
+ /** @description Conflict */
16229
+ 409: {
16230
+ headers: {
16231
+ [name: string]: unknown;
16232
+ };
16233
+ content: {
16234
+ "application/problem+json": components["schemas"]["ProblemDetails"];
16235
+ };
16236
+ };
16237
+ };
16238
+ };
16053
16239
  ListTenants: {
16054
16240
  parameters: {
16055
16241
  query?: never;
@@ -16535,7 +16721,9 @@ export interface operations {
16535
16721
  GetPublicBranding: {
16536
16722
  parameters: {
16537
16723
  query?: never;
16538
- header?: never;
16724
+ header?: {
16725
+ "X-App-Id"?: string;
16726
+ };
16539
16727
  path?: never;
16540
16728
  cookie?: never;
16541
16729
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insurance-broker/api-client",
3
- "version": "2.15.0",
3
+ "version": "2.16.1",
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,