uapp-communication-sdk 1.0.0-dev.78 → 1.0.0-dev.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uapp-communication-sdk",
3
- "version": "1.0.0-dev.78",
3
+ "version": "1.0.0-dev.81",
4
4
  "description": "Embeddable Communication Hub widgets (chat, feed, bookings, schedule).",
5
5
  "type": "module",
6
6
  "types": "./types/sdk/index.d.ts",
@@ -28,6 +28,19 @@ export interface WebhookEndpoint {
28
28
  * times it had been, and the Uninstall it would have shown was unreachable.</p>
29
29
  */
30
30
  readonly templateKey: string;
31
+ /**
32
+ * Whether this endpoint is a feed DATA SOURCE rather than an event subscription.
33
+ *
34
+ * <p>Server-computed, because only the server knows: it turns on which feed categories point at which
35
+ * endpoint. The two kinds share one registry and one settings panel but obey different rules — a data
36
+ * source gets a request the feed composes (method, headers, body template, URL placeholders), while an
37
+ * event subscription gets the fixed protocol: POST, signed, identical for every receiver.</p>
38
+ *
39
+ * <p>Without this the panel offers every control to both, so on an event subscription the method
40
+ * dropdown, the header rows and a checkbox captioned "Enable HMAC Signature Verification" all do
41
+ * nothing — the last of which reads as a security setting while the payload is signed regardless.</p>
42
+ */
43
+ readonly isDataSource: boolean;
31
44
  readonly secret: string;
32
45
  readonly status: WebhookEndpointStatus;
33
46
  readonly health: WebhookHealth;
@@ -1 +1 @@
1
- {"version":3,"file":"webhook-registry.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/domain/webhook-registry.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,CAAC;AACtD,MAAM,MAAM,qBAAqB,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAClE,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,gBAAgB,CAAC;AAE9D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,WA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z.ZodString>>;
83
83
  eventKey: z.ZodString;
84
84
  templateKey: z.ZodOptional<z.ZodString>;
85
+ isDataSource: z.ZodOptional<z.ZodBoolean>;
85
86
  secret: z.ZodString;
86
87
  status: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
87
88
  health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -108,6 +109,7 @@ export declare const WebhookEndpointDtoSchema: z.ZodObject<{
108
109
  url?: string | null | undefined;
109
110
  owner?: string | null | undefined;
110
111
  templateKey?: string | undefined;
112
+ isDataSource?: boolean | undefined;
111
113
  health?: {
112
114
  failed?: number | null | undefined;
113
115
  lastDelivery?: string | null | undefined;
@@ -124,6 +126,7 @@ export declare const WebhookEndpointDtoSchema: z.ZodObject<{
124
126
  url?: string | null | undefined;
125
127
  owner?: string | null | undefined;
126
128
  templateKey?: string | undefined;
129
+ isDataSource?: boolean | undefined;
127
130
  health?: {
128
131
  failed?: number | null | undefined;
129
132
  lastDelivery?: string | null | undefined;
@@ -140,6 +143,7 @@ export declare const WebhookEndpointPagedListSchema: z.ZodObject<{
140
143
  url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
144
  eventKey: z.ZodString;
142
145
  templateKey: z.ZodOptional<z.ZodString>;
146
+ isDataSource: z.ZodOptional<z.ZodBoolean>;
143
147
  secret: z.ZodString;
144
148
  status: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
145
149
  health: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -166,6 +170,7 @@ export declare const WebhookEndpointPagedListSchema: z.ZodObject<{
166
170
  url?: string | null | undefined;
167
171
  owner?: string | null | undefined;
168
172
  templateKey?: string | undefined;
173
+ isDataSource?: boolean | undefined;
169
174
  health?: {
170
175
  failed?: number | null | undefined;
171
176
  lastDelivery?: string | null | undefined;
@@ -182,6 +187,7 @@ export declare const WebhookEndpointPagedListSchema: z.ZodObject<{
182
187
  url?: string | null | undefined;
183
188
  owner?: string | null | undefined;
184
189
  templateKey?: string | undefined;
190
+ isDataSource?: boolean | undefined;
185
191
  health?: {
186
192
  failed?: number | null | undefined;
187
193
  lastDelivery?: string | null | undefined;
@@ -201,6 +207,7 @@ export declare const WebhookEndpointPagedListSchema: z.ZodObject<{
201
207
  url?: string | null | undefined;
202
208
  owner?: string | null | undefined;
203
209
  templateKey?: string | undefined;
210
+ isDataSource?: boolean | undefined;
204
211
  health?: {
205
212
  failed?: number | null | undefined;
206
213
  lastDelivery?: string | null | undefined;
@@ -220,6 +227,7 @@ export declare const WebhookEndpointPagedListSchema: z.ZodObject<{
220
227
  url?: string | null | undefined;
221
228
  owner?: string | null | undefined;
222
229
  templateKey?: string | undefined;
230
+ isDataSource?: boolean | undefined;
223
231
  health?: {
224
232
  failed?: number | null | undefined;
225
233
  lastDelivery?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"settings-dtos.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/settings/infrastructure/dto/settings/settings-dtos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B,CAAC;AAEH,kGAAkG;AAClG,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAgC,CAAC;AAEnE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBnC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAOtC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU/B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EAO7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC"}
1
+ {"version":3,"file":"settings-dtos.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/settings/infrastructure/dto/settings/settings-dtos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B,CAAC;AAEH,kGAAkG;AAClG,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAgC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM/B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings-mappers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings/infrastructure/mappers/settings-mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,KAAG,WAWtE,CAAC;AAEL,QAAA,MAAM,gBAAgB,GAAI,QAAQ,MAAM,GAAG,MAAM,KAAG,QAAQ,GAAG,QAAQ,GAAG,OAUzE,CAAC;AASF,eAAO,MAAM,iBAAiB,GAC5B,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,KAC5C,eAwBF,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,KAC1C,aAkBD,CAAC;AAEH,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,KACxC,WAmDD,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"settings-mappers.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings/infrastructure/mappers/settings-mappers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,eAAe,EAEpB,KAAK,WAAW,EAChB,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,+BAA+B,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,KAAG,WAWtE,CAAC;AAEL,QAAA,MAAM,gBAAgB,GAAI,QAAQ,MAAM,GAAG,MAAM,KAAG,QAAQ,GAAG,QAAQ,GAAG,OAUzE,CAAC;AA6BF,eAAO,MAAM,iBAAiB,GAC5B,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,KAC5C,eAaD,CAAC;AAEH,eAAO,MAAM,eAAe,GAC1B,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,KAC1C,aAkBD,CAAC;AAEH,eAAO,MAAM,aAAa,GACxB,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,KACxC,WAmDD,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings-seed.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/infrastructure/settings-seed.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,gBAAgB,EAErB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,UAAU,EAAE,SAAS,gBAAgB,EAsKjD,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,WAAW,EAA+C,CAAC;AAExF,eAAO,MAAM,YAAY,EAAE,WAqJ1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,aAAa,EA8HnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,aAAa,EA8CnD,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,cAAc,QAAO,SAAS,EAuJ1C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAkEjD,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAO,YAAY,EAejD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,YAOnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAO,eAAe,EAqCtD,CAAC;AAcF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,WAcjC,CAAC"}
1
+ {"version":3,"file":"settings-seed.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/infrastructure/settings-seed.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,gBAAgB,EAErB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,WAAW,EACZ,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,UAAU,EAAE,SAAS,gBAAgB,EAsKjD,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,WAAW,EAA+C,CAAC;AAExF,eAAO,MAAM,YAAY,EAAE,WAqJ1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,aAAa,EA8HnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,QAAO,aAAa,EA8CnD,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,cAAc,QAAO,SAAS,EAuJ1C,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAkEjD,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAO,YAAY,EAejD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,YAOnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,oBAAoB,QAAO,eAAe,EAwCtD,CAAC;AAcF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,WAcjC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type ReactElement } from 'react';
2
+ /**
3
+ * How to receive EVENT deliveries — the outbox path, not the feed one.
4
+ *
5
+ * <p>Written because the only outbound guide this panel had described a feed data source: a POST
6
+ * carrying `categoryKey` and `searchQuery`, expecting an array of matching items back. It was shown on
7
+ * every outbound endpoint, so anyone integrating a notification webhook was told to answer a search
8
+ * query. Everything about it — the body, the headers, the response — belonged to a different feature.</p>
9
+ *
10
+ * <p>The two facts most often got wrong are here as their own steps: hash the RAW body, and key
11
+ * de-duplication on the delivery-id HEADER. Both fail silently. An integration that re-serialises before
12
+ * hashing rejects every delivery and looks like a broken signature; one that keys on a body field works
13
+ * perfectly until it meets an event whose payload has no id — <code>meeting.booked</code> has none — and
14
+ * then handles a retry as new, which on a phone is two buzzes for one message.</p>
15
+ */
16
+ export declare const EventWebhookGuide: ({ secret, eventKey, targetUrl, }: {
17
+ readonly secret: string;
18
+ readonly eventKey: string;
19
+ readonly targetUrl: string;
20
+ }) => ReactElement;
21
+ //# sourceMappingURL=EventWebhookGuide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventWebhookGuide.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/EventWebhookGuide.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAA4B,MAAM,OAAO,CAAC;AAqFpE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,GAAI,kCAI/B;IACD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,KAAG,YAuCH,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { ReactElement } from 'react';
2
+ /**
3
+ * What an event subscription actually does, in place of controls that could not change it.
4
+ *
5
+ * <p>This panel used to offer an HTTP-method dropdown, a body template and a checkbox captioned "Enable
6
+ * HMAC Signature Verification" to every outbound endpoint. On a feed data source those are real — the
7
+ * feed composes its request from them. On an event subscription they are not: the outbox sends POST and
8
+ * signs the body, whatever the form says.</p>
9
+ *
10
+ * <p>The checkbox was the one worth removing on its own. It read as a security setting, so clearing it
11
+ * looked like turning signing off — and signing carried on. A control that appears to govern security
12
+ * and does not is worse than no control, because somebody eventually trusts it.</p>
13
+ *
14
+ * <p>Stated rather than hidden: an integrator needs to know the shape of what arrives, and "POST, always
15
+ * signed" is a shorter answer than a form they must not touch.</p>
16
+ */
17
+ export declare const FixedProtocolNotice: () => ReactElement;
18
+ //# sourceMappingURL=FixedProtocolNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FixedProtocolNotice.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/FixedProtocolNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,QAAO,YAgBtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RegistryDetail.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/RegistryDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAuFjD,eAAO,MAAM,cAAc,GAAI,wBAG5B;IACD,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B,KAAG,YAwEH,CAAC"}
1
+ {"version":3,"file":"RegistryDetail.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/RegistryDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAoHjD,eAAO,MAAM,cAAc,GAAI,wBAG5B;IACD,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;CAC9B,KAAG,YAwEH,CAAC"}
@@ -12,5 +12,13 @@ export declare const LogsTab: ({ data }: {
12
12
  export declare const RetryTab: ({ data }: {
13
13
  readonly data: WebhookData;
14
14
  }) => ReactElement;
15
+ /**
16
+ * The two directions, kept apart.
17
+ *
18
+ * <p>This panel used to open with "Every event uses a CloudEvents 1.0 envelope, signed … in the
19
+ * <c>X-Comms-Signature</c> header" — true of what arrives INBOUND, and true of nothing the Hub sends.
20
+ * Outbound deliveries are a plain JSON body under a different header with a different scheme, so an
21
+ * integrator following that sentence built a verifier that rejected every delivery.</p>
22
+ */
15
23
  export declare const GuideTab: () => ReactElement;
16
24
  //# sourceMappingURL=WebhookTabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/WebhookTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAGV,WAAW,EAEZ,MAAM,WAAW,CAAC;AA+CnB,eAAO,MAAM,OAAO,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YASlE,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAqCpE,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAYlE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAiEnE,CAAC;AAGF,eAAO,MAAM,QAAQ,QAAO,YAkB3B,CAAC"}
1
+ {"version":3,"file":"WebhookTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/WebhookTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAY,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAuB,WAAW,EAAgB,MAAM,WAAW,CAAC;AA4ChF,eAAO,MAAM,OAAO,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YASlE,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAqCpE,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAYlE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,UAAU;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAA;CAAE,KAAG,YAiEnE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,QAAO,YA6C3B,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * The snippets an integrator needs to receive event deliveries, built from the endpoint in front of them.
3
+ *
4
+ * <p>Kept out of the component so the shapes can be asserted directly. Every one of them is a promise
5
+ * about bytes on a wire: a header named wrongly here is an integration that verifies nothing and cannot
6
+ * be told apart from one that works, because a receiver skipping a check reports no error.</p>
7
+ */
8
+ /** Header carrying the event key, so a receiver can route without parsing the body. */
9
+ export declare const EVENT_HEADER = "X-CommHub-Event";
10
+ /** Header carrying `sha256=<lowercase hex HMAC-SHA256 of the RAW body, keyed by the signing secret>`. */
11
+ export declare const SIGNATURE_HEADER = "X-CommHub-Signature";
12
+ /**
13
+ * Header carrying the delivery id — the SAME value on every attempt, so a receiver can tell a retry from
14
+ * a new event. This is the idempotency key for every event; only the notification events also carry an
15
+ * `eventId` in their body.
16
+ */
17
+ export declare const DELIVERY_ID_HEADER = "X-CommHub-Delivery-Id";
18
+ /** What the outbox does with a non-2xx or a timeout, before giving up. See `WebhookConsts`. */
19
+ export declare const MAX_ATTEMPTS = 5;
20
+ export interface EventWebhookExample {
21
+ readonly payload: string;
22
+ readonly headers: string;
23
+ readonly curl: string;
24
+ readonly verify: string;
25
+ }
26
+ export declare const buildEventWebhookExample: (params: {
27
+ readonly eventKey: string;
28
+ readonly targetUrl: string;
29
+ }) => EventWebhookExample;
30
+ //# sourceMappingURL=event-webhook-guide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-webhook-guide.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/event-webhook-guide.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,uFAAuF;AACvF,eAAO,MAAM,YAAY,oBAAoB,CAAC;AAE9C,yGAAyG;AACzG,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAEtD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAE1D,+FAA+F;AAC/F,eAAO,MAAM,YAAY,IAAI,CAAC;AAE9B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AA0ED,eAAO,MAAM,wBAAwB,GAAI,QAAQ;IAC/C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B,KAAG,mBAyBH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"webhook-registry-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/webhook-registry-parts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,KAAK,eAAe,EAA8B,MAAM,WAAW,CAAC;AAe7E,eAAO,MAAM,cAAc,GAAI,gBAE5B;IACD,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CAClD,KAAG,YAQH,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,yBAGzB;IACD,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;CAC/B,KAAG,YAmBH,CAAC;AAwCF,eAAO,MAAM,YAAY,GAAI,4CAM1B;IACD,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC;CAC7B,KAAG,YAcH,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,+CAM5B;IACD,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC;CAC7B,KAAG,YAiCH,CAAC"}
1
+ {"version":3,"file":"webhook-registry-parts.d.ts","sourceRoot":"","sources":["../../../../../../src/features/settings/presentation/webhook-registry-parts.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA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