@centrali-io/centrali-sdk 6.10.1 → 6.11.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/index.d.ts +0 -21
- package/package.json +1 -1
- package/src/types/webhooks.ts +0 -21
package/dist/index.d.ts
CHANGED
|
@@ -2777,14 +2777,6 @@ interface WebhookSubscription {
|
|
|
2777
2777
|
* describes. Frozen at creation; change it to upgrade to a newer shape.
|
|
2778
2778
|
*/
|
|
2779
2779
|
payloadVersion: string;
|
|
2780
|
-
/**
|
|
2781
|
-
* Opaque builder-supplied tenant identifier. Carried onto outbound
|
|
2782
|
-
* delivery rows by the platform so embeds and tenant-scoped views can
|
|
2783
|
-
* filter to a single customer without leaking cross-tenant events.
|
|
2784
|
-
* Centrali never parses or interprets this value — it's the builder's
|
|
2785
|
-
* own customer/account/workspace id, whatever shape that takes.
|
|
2786
|
-
*/
|
|
2787
|
-
tenantId?: string | null;
|
|
2788
2780
|
workspaceSlug: string;
|
|
2789
2781
|
createdAt?: string;
|
|
2790
2782
|
updatedAt?: string;
|
|
@@ -2832,13 +2824,6 @@ interface CreateWebhookSubscriptionInput {
|
|
|
2832
2824
|
* by `getPayloadVersions()`.
|
|
2833
2825
|
*/
|
|
2834
2826
|
payloadVersion?: string;
|
|
2835
|
-
/**
|
|
2836
|
-
* Optional opaque tenant identifier — typically the builder's own
|
|
2837
|
-
* customer or account id. Surfaces on every delivery the subscription
|
|
2838
|
-
* produces so tenant-scoped views (e.g. an embedded Event Log) can
|
|
2839
|
-
* filter to one customer.
|
|
2840
|
-
*/
|
|
2841
|
-
tenantId?: string | null;
|
|
2842
2827
|
}
|
|
2843
2828
|
interface UpdateWebhookSubscriptionInput {
|
|
2844
2829
|
name?: string;
|
|
@@ -2856,12 +2841,6 @@ interface UpdateWebhookSubscriptionInput {
|
|
|
2856
2841
|
* returned by `getPayloadVersions()`. Omit to leave the version unchanged.
|
|
2857
2842
|
*/
|
|
2858
2843
|
payloadVersion?: string;
|
|
2859
|
-
/**
|
|
2860
|
-
* Update the opaque tenant identifier. Pass `null` to clear it; omit to
|
|
2861
|
-
* leave it unchanged. Past deliveries are not retroactively rewritten —
|
|
2862
|
-
* the new value applies to deliveries created after the update.
|
|
2863
|
-
*/
|
|
2864
|
-
tenantId?: string | null;
|
|
2865
2844
|
}
|
|
2866
2845
|
/**
|
|
2867
2846
|
* Outbound payload versions a subscription can be pinned to. Returned by
|
package/package.json
CHANGED
package/src/types/webhooks.ts
CHANGED
|
@@ -28,14 +28,6 @@ export interface WebhookSubscription {
|
|
|
28
28
|
* describes. Frozen at creation; change it to upgrade to a newer shape.
|
|
29
29
|
*/
|
|
30
30
|
payloadVersion: string;
|
|
31
|
-
/**
|
|
32
|
-
* Opaque builder-supplied tenant identifier. Carried onto outbound
|
|
33
|
-
* delivery rows by the platform so embeds and tenant-scoped views can
|
|
34
|
-
* filter to a single customer without leaking cross-tenant events.
|
|
35
|
-
* Centrali never parses or interprets this value — it's the builder's
|
|
36
|
-
* own customer/account/workspace id, whatever shape that takes.
|
|
37
|
-
*/
|
|
38
|
-
tenantId?: string | null;
|
|
39
31
|
workspaceSlug: string;
|
|
40
32
|
createdAt?: string;
|
|
41
33
|
updatedAt?: string;
|
|
@@ -86,13 +78,6 @@ export interface CreateWebhookSubscriptionInput {
|
|
|
86
78
|
* by `getPayloadVersions()`.
|
|
87
79
|
*/
|
|
88
80
|
payloadVersion?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Optional opaque tenant identifier — typically the builder's own
|
|
91
|
-
* customer or account id. Surfaces on every delivery the subscription
|
|
92
|
-
* produces so tenant-scoped views (e.g. an embedded Event Log) can
|
|
93
|
-
* filter to one customer.
|
|
94
|
-
*/
|
|
95
|
-
tenantId?: string | null;
|
|
96
81
|
}
|
|
97
82
|
|
|
98
83
|
export interface UpdateWebhookSubscriptionInput {
|
|
@@ -111,12 +96,6 @@ export interface UpdateWebhookSubscriptionInput {
|
|
|
111
96
|
* returned by `getPayloadVersions()`. Omit to leave the version unchanged.
|
|
112
97
|
*/
|
|
113
98
|
payloadVersion?: string;
|
|
114
|
-
/**
|
|
115
|
-
* Update the opaque tenant identifier. Pass `null` to clear it; omit to
|
|
116
|
-
* leave it unchanged. Past deliveries are not retroactively rewritten —
|
|
117
|
-
* the new value applies to deliveries created after the update.
|
|
118
|
-
*/
|
|
119
|
-
tenantId?: string | null;
|
|
120
99
|
}
|
|
121
100
|
|
|
122
101
|
/**
|