@insurance-broker/api-client 1.44.0 → 1.45.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 +338 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -4756,6 +4756,86 @@ export interface paths {
|
|
|
4756
4756
|
patch?: never;
|
|
4757
4757
|
trace?: never;
|
|
4758
4758
|
};
|
|
4759
|
+
"/api/v1/platform/outbox-messages": {
|
|
4760
|
+
parameters: {
|
|
4761
|
+
query?: never;
|
|
4762
|
+
header?: never;
|
|
4763
|
+
path?: never;
|
|
4764
|
+
cookie?: never;
|
|
4765
|
+
};
|
|
4766
|
+
/**
|
|
4767
|
+
* What has not been published, and what the platform has given up on
|
|
4768
|
+
* @description Every module's outbox in one walk, oldest first, paged by an opaque cursor with no total count. Filter by state (abandoned, failing or pending), by module and by broker. Machinery only: the message payload is deliberately not returned.
|
|
4769
|
+
*/
|
|
4770
|
+
get: operations["ListOutboxMessages"];
|
|
4771
|
+
put?: never;
|
|
4772
|
+
post?: never;
|
|
4773
|
+
delete?: never;
|
|
4774
|
+
options?: never;
|
|
4775
|
+
head?: never;
|
|
4776
|
+
patch?: never;
|
|
4777
|
+
trace?: never;
|
|
4778
|
+
};
|
|
4779
|
+
"/api/v1/platform/outbox-messages/{moduleName}/{id}/resumption": {
|
|
4780
|
+
parameters: {
|
|
4781
|
+
query?: never;
|
|
4782
|
+
header?: never;
|
|
4783
|
+
path?: never;
|
|
4784
|
+
cookie?: never;
|
|
4785
|
+
};
|
|
4786
|
+
get?: never;
|
|
4787
|
+
put?: never;
|
|
4788
|
+
/**
|
|
4789
|
+
* Put a message the publisher gave up on back in front of it
|
|
4790
|
+
* @description Clears the terminal state and the backoff, so the next drain pass picks the row up. The attempt count is kept on purpose, so a message that still cannot publish returns to this list rather than spending another full budget failing quietly. Permitted for a suspended broker: resuming completes work that has already committed.
|
|
4791
|
+
*/
|
|
4792
|
+
post: operations["ResumeOutboxMessage"];
|
|
4793
|
+
delete?: never;
|
|
4794
|
+
options?: never;
|
|
4795
|
+
head?: never;
|
|
4796
|
+
patch?: never;
|
|
4797
|
+
trace?: never;
|
|
4798
|
+
};
|
|
4799
|
+
"/api/v1/platform/dead-letters": {
|
|
4800
|
+
parameters: {
|
|
4801
|
+
query?: never;
|
|
4802
|
+
header?: never;
|
|
4803
|
+
path?: never;
|
|
4804
|
+
cookie?: never;
|
|
4805
|
+
};
|
|
4806
|
+
/**
|
|
4807
|
+
* Deliveries the dispatcher gave up on
|
|
4808
|
+
* @description The platform's index of its own dead-lettered deliveries, newest first, paged by an opaque cursor with no total count. It names the queue the message is sitting in and never returns its body — a payload is a broker's business data and stays where ADR-0019 put it.
|
|
4809
|
+
*/
|
|
4810
|
+
get: operations["ListDeadLetters"];
|
|
4811
|
+
put?: never;
|
|
4812
|
+
post?: never;
|
|
4813
|
+
delete?: never;
|
|
4814
|
+
options?: never;
|
|
4815
|
+
head?: never;
|
|
4816
|
+
patch?: never;
|
|
4817
|
+
trace?: never;
|
|
4818
|
+
};
|
|
4819
|
+
"/api/v1/notifications": {
|
|
4820
|
+
parameters: {
|
|
4821
|
+
query?: never;
|
|
4822
|
+
header?: never;
|
|
4823
|
+
path?: never;
|
|
4824
|
+
cookie?: never;
|
|
4825
|
+
};
|
|
4826
|
+
/**
|
|
4827
|
+
* What this broker's platform tried to tell somebody
|
|
4828
|
+
* @description Newest first, paged by an opaque cursor with no total count. Filter by status — the one worth opening this for is Undeliverable, which means the platform raised a notification and had nobody to send it to. The message body is not returned; the kind, the reference and the subject say what it was about.
|
|
4829
|
+
*/
|
|
4830
|
+
get: operations["ListNotifications"];
|
|
4831
|
+
put?: never;
|
|
4832
|
+
post?: never;
|
|
4833
|
+
delete?: never;
|
|
4834
|
+
options?: never;
|
|
4835
|
+
head?: never;
|
|
4836
|
+
patch?: never;
|
|
4837
|
+
trace?: never;
|
|
4838
|
+
};
|
|
4759
4839
|
}
|
|
4760
4840
|
export type webhooks = Record<string, never>;
|
|
4761
4841
|
export interface components {
|
|
@@ -5255,6 +5335,30 @@ export interface components {
|
|
|
5255
5335
|
/** Format: int32 */
|
|
5256
5336
|
sortOrder: number | string;
|
|
5257
5337
|
};
|
|
5338
|
+
DeadLetterPage: {
|
|
5339
|
+
items: components["schemas"]["DeadLetterResponse"][];
|
|
5340
|
+
nextCursor: null | string;
|
|
5341
|
+
};
|
|
5342
|
+
DeadLetterResponse: {
|
|
5343
|
+
/** Format: uuid */
|
|
5344
|
+
id: string;
|
|
5345
|
+
/** Format: date-time */
|
|
5346
|
+
deadLetteredAtUtc: string;
|
|
5347
|
+
queue: string;
|
|
5348
|
+
deadLetterQueue: string;
|
|
5349
|
+
eventType: string;
|
|
5350
|
+
consumerName: string;
|
|
5351
|
+
/** Format: uuid */
|
|
5352
|
+
messageId: null | string;
|
|
5353
|
+
tenantKey: null | string;
|
|
5354
|
+
/** Format: int32 */
|
|
5355
|
+
attempts: number | string;
|
|
5356
|
+
cause: string;
|
|
5357
|
+
error: string;
|
|
5358
|
+
/** Format: date-time */
|
|
5359
|
+
occurredAtUtc: null | string;
|
|
5360
|
+
correlationId: null | string;
|
|
5361
|
+
};
|
|
5258
5362
|
DeclareDocumentTemplateRequest: {
|
|
5259
5363
|
kind: null | string;
|
|
5260
5364
|
key: null | string;
|
|
@@ -5768,6 +5872,24 @@ export interface components {
|
|
|
5768
5872
|
/** Format: date-time */
|
|
5769
5873
|
publishedAtUtc: string;
|
|
5770
5874
|
};
|
|
5875
|
+
NotificationPage: {
|
|
5876
|
+
items: components["schemas"]["NotificationResponse"][];
|
|
5877
|
+
nextCursor: null | string;
|
|
5878
|
+
};
|
|
5879
|
+
NotificationResponse: {
|
|
5880
|
+
/** Format: uuid */
|
|
5881
|
+
id: string;
|
|
5882
|
+
kind: string;
|
|
5883
|
+
reference: null | string;
|
|
5884
|
+
subject: string;
|
|
5885
|
+
status: string;
|
|
5886
|
+
intendedAudience: null | string;
|
|
5887
|
+
recipientSubjectId: null | string;
|
|
5888
|
+
/** Format: date-time */
|
|
5889
|
+
createdAtUtc: string;
|
|
5890
|
+
/** Format: date-time */
|
|
5891
|
+
sentAtUtc: null | string;
|
|
5892
|
+
};
|
|
5771
5893
|
NotifyClaimRequest: {
|
|
5772
5894
|
/** Format: uuid */
|
|
5773
5895
|
policyId: string;
|
|
@@ -5895,6 +6017,39 @@ export interface components {
|
|
|
5895
6017
|
/** Format: date-time */
|
|
5896
6018
|
updatedAtUtc: string;
|
|
5897
6019
|
};
|
|
6020
|
+
OutboxMessagePage: {
|
|
6021
|
+
items: components["schemas"]["OutboxMessageResponse"][];
|
|
6022
|
+
nextCursor: null | string;
|
|
6023
|
+
};
|
|
6024
|
+
OutboxMessageResponse: {
|
|
6025
|
+
module: string;
|
|
6026
|
+
/** Format: uuid */
|
|
6027
|
+
id: string;
|
|
6028
|
+
/** Format: uuid */
|
|
6029
|
+
tenantId: string;
|
|
6030
|
+
eventType: string;
|
|
6031
|
+
/** Format: int32 */
|
|
6032
|
+
eventVersion: number | string;
|
|
6033
|
+
/** Format: date-time */
|
|
6034
|
+
occurredAtUtc: string;
|
|
6035
|
+
/** Format: int32 */
|
|
6036
|
+
attempts: number | string;
|
|
6037
|
+
lastError: null | string;
|
|
6038
|
+
/** Format: date-time */
|
|
6039
|
+
nextAttemptAtUtc: null | string;
|
|
6040
|
+
/** Format: date-time */
|
|
6041
|
+
abandonedAtUtc: null | string;
|
|
6042
|
+
correlationId: null | string;
|
|
6043
|
+
};
|
|
6044
|
+
OutboxResumptionResponse: {
|
|
6045
|
+
module: string;
|
|
6046
|
+
/** Format: uuid */
|
|
6047
|
+
id: string;
|
|
6048
|
+
tenantKey: null | string;
|
|
6049
|
+
eventType: string;
|
|
6050
|
+
/** Format: int32 */
|
|
6051
|
+
attempts: number | string;
|
|
6052
|
+
};
|
|
5898
6053
|
OverrideEntitlementRequest: {
|
|
5899
6054
|
featureKey: null | string;
|
|
5900
6055
|
value: null | string;
|
|
@@ -18807,4 +18962,187 @@ export interface operations {
|
|
|
18807
18962
|
};
|
|
18808
18963
|
};
|
|
18809
18964
|
};
|
|
18965
|
+
ListOutboxMessages: {
|
|
18966
|
+
parameters: {
|
|
18967
|
+
query?: {
|
|
18968
|
+
state?: string;
|
|
18969
|
+
module?: string;
|
|
18970
|
+
tenantKey?: string;
|
|
18971
|
+
cursor?: string;
|
|
18972
|
+
limit?: number | string;
|
|
18973
|
+
};
|
|
18974
|
+
header?: never;
|
|
18975
|
+
path?: never;
|
|
18976
|
+
cookie?: never;
|
|
18977
|
+
};
|
|
18978
|
+
requestBody?: never;
|
|
18979
|
+
responses: {
|
|
18980
|
+
/** @description OK */
|
|
18981
|
+
200: {
|
|
18982
|
+
headers: {
|
|
18983
|
+
[name: string]: unknown;
|
|
18984
|
+
};
|
|
18985
|
+
content: {
|
|
18986
|
+
"application/json": components["schemas"]["OutboxMessagePage"];
|
|
18987
|
+
};
|
|
18988
|
+
};
|
|
18989
|
+
/** @description Bad Request */
|
|
18990
|
+
400: {
|
|
18991
|
+
headers: {
|
|
18992
|
+
[name: string]: unknown;
|
|
18993
|
+
};
|
|
18994
|
+
content: {
|
|
18995
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
18996
|
+
};
|
|
18997
|
+
};
|
|
18998
|
+
/** @description Forbidden */
|
|
18999
|
+
403: {
|
|
19000
|
+
headers: {
|
|
19001
|
+
[name: string]: unknown;
|
|
19002
|
+
};
|
|
19003
|
+
content?: never;
|
|
19004
|
+
};
|
|
19005
|
+
/** @description Not Found */
|
|
19006
|
+
404: {
|
|
19007
|
+
headers: {
|
|
19008
|
+
[name: string]: unknown;
|
|
19009
|
+
};
|
|
19010
|
+
content?: never;
|
|
19011
|
+
};
|
|
19012
|
+
};
|
|
19013
|
+
};
|
|
19014
|
+
ResumeOutboxMessage: {
|
|
19015
|
+
parameters: {
|
|
19016
|
+
query?: never;
|
|
19017
|
+
header?: never;
|
|
19018
|
+
path: {
|
|
19019
|
+
moduleName: string;
|
|
19020
|
+
id: string;
|
|
19021
|
+
};
|
|
19022
|
+
cookie?: never;
|
|
19023
|
+
};
|
|
19024
|
+
requestBody?: never;
|
|
19025
|
+
responses: {
|
|
19026
|
+
/** @description OK */
|
|
19027
|
+
200: {
|
|
19028
|
+
headers: {
|
|
19029
|
+
[name: string]: unknown;
|
|
19030
|
+
};
|
|
19031
|
+
content: {
|
|
19032
|
+
"application/json": components["schemas"]["OutboxResumptionResponse"];
|
|
19033
|
+
};
|
|
19034
|
+
};
|
|
19035
|
+
/** @description Forbidden */
|
|
19036
|
+
403: {
|
|
19037
|
+
headers: {
|
|
19038
|
+
[name: string]: unknown;
|
|
19039
|
+
};
|
|
19040
|
+
content?: never;
|
|
19041
|
+
};
|
|
19042
|
+
/** @description Not Found */
|
|
19043
|
+
404: {
|
|
19044
|
+
headers: {
|
|
19045
|
+
[name: string]: unknown;
|
|
19046
|
+
};
|
|
19047
|
+
content?: never;
|
|
19048
|
+
};
|
|
19049
|
+
/** @description Conflict */
|
|
19050
|
+
409: {
|
|
19051
|
+
headers: {
|
|
19052
|
+
[name: string]: unknown;
|
|
19053
|
+
};
|
|
19054
|
+
content?: never;
|
|
19055
|
+
};
|
|
19056
|
+
};
|
|
19057
|
+
};
|
|
19058
|
+
ListDeadLetters: {
|
|
19059
|
+
parameters: {
|
|
19060
|
+
query?: {
|
|
19061
|
+
queue?: string;
|
|
19062
|
+
tenantKey?: string;
|
|
19063
|
+
cause?: string;
|
|
19064
|
+
cursor?: string;
|
|
19065
|
+
limit?: number | string;
|
|
19066
|
+
};
|
|
19067
|
+
header?: never;
|
|
19068
|
+
path?: never;
|
|
19069
|
+
cookie?: never;
|
|
19070
|
+
};
|
|
19071
|
+
requestBody?: never;
|
|
19072
|
+
responses: {
|
|
19073
|
+
/** @description OK */
|
|
19074
|
+
200: {
|
|
19075
|
+
headers: {
|
|
19076
|
+
[name: string]: unknown;
|
|
19077
|
+
};
|
|
19078
|
+
content: {
|
|
19079
|
+
"application/json": components["schemas"]["DeadLetterPage"];
|
|
19080
|
+
};
|
|
19081
|
+
};
|
|
19082
|
+
/** @description Bad Request */
|
|
19083
|
+
400: {
|
|
19084
|
+
headers: {
|
|
19085
|
+
[name: string]: unknown;
|
|
19086
|
+
};
|
|
19087
|
+
content: {
|
|
19088
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19089
|
+
};
|
|
19090
|
+
};
|
|
19091
|
+
/** @description Forbidden */
|
|
19092
|
+
403: {
|
|
19093
|
+
headers: {
|
|
19094
|
+
[name: string]: unknown;
|
|
19095
|
+
};
|
|
19096
|
+
content?: never;
|
|
19097
|
+
};
|
|
19098
|
+
/** @description Not Found */
|
|
19099
|
+
404: {
|
|
19100
|
+
headers: {
|
|
19101
|
+
[name: string]: unknown;
|
|
19102
|
+
};
|
|
19103
|
+
content?: never;
|
|
19104
|
+
};
|
|
19105
|
+
};
|
|
19106
|
+
};
|
|
19107
|
+
ListNotifications: {
|
|
19108
|
+
parameters: {
|
|
19109
|
+
query?: {
|
|
19110
|
+
status?: string;
|
|
19111
|
+
kind?: string;
|
|
19112
|
+
cursor?: string;
|
|
19113
|
+
limit?: number | string;
|
|
19114
|
+
};
|
|
19115
|
+
header?: never;
|
|
19116
|
+
path?: never;
|
|
19117
|
+
cookie?: never;
|
|
19118
|
+
};
|
|
19119
|
+
requestBody?: never;
|
|
19120
|
+
responses: {
|
|
19121
|
+
/** @description OK */
|
|
19122
|
+
200: {
|
|
19123
|
+
headers: {
|
|
19124
|
+
[name: string]: unknown;
|
|
19125
|
+
};
|
|
19126
|
+
content: {
|
|
19127
|
+
"application/json": components["schemas"]["NotificationPage"];
|
|
19128
|
+
};
|
|
19129
|
+
};
|
|
19130
|
+
/** @description Bad Request */
|
|
19131
|
+
400: {
|
|
19132
|
+
headers: {
|
|
19133
|
+
[name: string]: unknown;
|
|
19134
|
+
};
|
|
19135
|
+
content: {
|
|
19136
|
+
"application/problem+json": components["schemas"]["HttpValidationProblemDetails"];
|
|
19137
|
+
};
|
|
19138
|
+
};
|
|
19139
|
+
/** @description Forbidden */
|
|
19140
|
+
403: {
|
|
19141
|
+
headers: {
|
|
19142
|
+
[name: string]: unknown;
|
|
19143
|
+
};
|
|
19144
|
+
content?: never;
|
|
19145
|
+
};
|
|
19146
|
+
};
|
|
19147
|
+
};
|
|
18810
19148
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@insurance-broker/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.45.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,
|