@objectstack/plugin-webhooks 14.8.0 → 15.1.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/plugin-webhooks@14.8.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@15.1.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts, src/schema.ts
@@ -18,7 +18,7 @@
18
18
  ESM dist/schema.js.map 71.00 B
19
19
  ESM dist/chunk-YQG6SUP3.js.map 10.28 KB
20
20
  ESM dist/translations-AV47AVPV.js.map 30.54 KB
21
- ESM ⚡️ Build success in 617ms
21
+ ESM ⚡️ Build success in 987ms
22
22
  CJS dist/index.cjs 17.15 KB
23
23
  CJS dist/schema.cjs 220.00 B
24
24
  CJS dist/chunk-I63ISOGO.cjs 5.81 KB
@@ -27,10 +27,10 @@
27
27
  CJS dist/schema.cjs.map 278.00 B
28
28
  CJS dist/chunk-I63ISOGO.cjs.map 12.15 KB
29
29
  CJS dist/translations-OAKKANSP.cjs.map 34.65 KB
30
- CJS ⚡️ Build success in 624ms
30
+ CJS ⚡️ Build success in 1012ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 23849ms
32
+ DTS ⚡️ Build success in 18921ms
33
33
  DTS dist/index.d.ts 6.97 KB
34
- DTS dist/schema.d.ts 134.83 KB
34
+ DTS dist/schema.d.ts 138.01 KB
35
35
  DTS dist/index.d.cts 6.97 KB
36
- DTS dist/schema.d.cts 134.83 KB
36
+ DTS dist/schema.d.cts 138.01 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 15.1.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f531a26]
8
+ - Updated dependencies [f531a26]
9
+ - Updated dependencies [f531a26]
10
+ - Updated dependencies [f531a26]
11
+ - Updated dependencies [f531a26]
12
+ - Updated dependencies [f531a26]
13
+ - Updated dependencies [3fe9df1]
14
+ - Updated dependencies [f531a26]
15
+ - Updated dependencies [f531a26]
16
+ - Updated dependencies [f531a26]
17
+ - Updated dependencies [f531a26]
18
+ - Updated dependencies [f531a26]
19
+ - Updated dependencies [f531a26]
20
+ - Updated dependencies [f531a26]
21
+ - Updated dependencies [f531a26]
22
+ - Updated dependencies [f531a26]
23
+ - Updated dependencies [f531a26]
24
+ - Updated dependencies [f531a26]
25
+ - Updated dependencies [f531a26]
26
+ - Updated dependencies [4109153]
27
+ - Updated dependencies [f531a26]
28
+ - Updated dependencies [f531a26]
29
+ - Updated dependencies [f531a26]
30
+ - Updated dependencies [f531a26]
31
+ - Updated dependencies [f531a26]
32
+ - Updated dependencies [f531a26]
33
+ - Updated dependencies [627f225]
34
+ - Updated dependencies [f531a26]
35
+ - Updated dependencies [f531a26]
36
+ - Updated dependencies [f531a26]
37
+ - @objectstack/spec@15.1.0
38
+ - @objectstack/core@15.1.0
39
+ - @objectstack/service-messaging@15.1.0
40
+
41
+ ## 15.0.0
42
+
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [28b7c28]
46
+ - Updated dependencies [13749ec]
47
+ - Updated dependencies [e62c233]
48
+ - Updated dependencies [ed61c9b]
49
+ - Updated dependencies [31d04d4]
50
+ - @objectstack/spec@15.0.0
51
+ - @objectstack/core@15.0.0
52
+ - @objectstack/service-messaging@15.0.0
53
+
3
54
  ## 14.8.0
4
55
 
5
56
  ### Patch Changes
package/dist/schema.d.cts CHANGED
@@ -282,8 +282,80 @@ declare const SysWebhook: Omit<{
282
282
  userActions?: {
283
283
  create?: boolean | undefined;
284
284
  import?: boolean | undefined;
285
- edit?: boolean | undefined;
286
- delete?: boolean | undefined;
285
+ edit?: boolean | {
286
+ enabled?: boolean | undefined;
287
+ visibleWhen?: {
288
+ dialect: "cel" | "js" | "cron" | "template";
289
+ source?: string | undefined;
290
+ ast?: unknown;
291
+ meta?: {
292
+ rationale?: string | undefined;
293
+ generatedBy?: string | undefined;
294
+ } | undefined;
295
+ } | {
296
+ dialect: "cel" | "js" | "cron" | "template";
297
+ source?: string | undefined;
298
+ ast?: unknown;
299
+ meta?: {
300
+ rationale?: string | undefined;
301
+ generatedBy?: string | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ disabledWhen?: {
305
+ dialect: "cel" | "js" | "cron" | "template";
306
+ source?: string | undefined;
307
+ ast?: unknown;
308
+ meta?: {
309
+ rationale?: string | undefined;
310
+ generatedBy?: string | undefined;
311
+ } | undefined;
312
+ } | {
313
+ dialect: "cel" | "js" | "cron" | "template";
314
+ source?: string | undefined;
315
+ ast?: unknown;
316
+ meta?: {
317
+ rationale?: string | undefined;
318
+ generatedBy?: string | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ delete?: boolean | {
323
+ enabled?: boolean | undefined;
324
+ visibleWhen?: {
325
+ dialect: "cel" | "js" | "cron" | "template";
326
+ source?: string | undefined;
327
+ ast?: unknown;
328
+ meta?: {
329
+ rationale?: string | undefined;
330
+ generatedBy?: string | undefined;
331
+ } | undefined;
332
+ } | {
333
+ dialect: "cel" | "js" | "cron" | "template";
334
+ source?: string | undefined;
335
+ ast?: unknown;
336
+ meta?: {
337
+ rationale?: string | undefined;
338
+ generatedBy?: string | undefined;
339
+ } | undefined;
340
+ } | undefined;
341
+ disabledWhen?: {
342
+ dialect: "cel" | "js" | "cron" | "template";
343
+ source?: string | undefined;
344
+ ast?: unknown;
345
+ meta?: {
346
+ rationale?: string | undefined;
347
+ generatedBy?: string | undefined;
348
+ } | undefined;
349
+ } | {
350
+ dialect: "cel" | "js" | "cron" | "template";
351
+ source?: string | undefined;
352
+ ast?: unknown;
353
+ meta?: {
354
+ rationale?: string | undefined;
355
+ generatedBy?: string | undefined;
356
+ } | undefined;
357
+ } | undefined;
358
+ } | undefined;
287
359
  exportCsv?: boolean | undefined;
288
360
  } | undefined;
289
361
  systemFields?: false | {
@@ -318,9 +390,7 @@ declare const SysWebhook: Omit<{
318
390
  }[] | undefined;
319
391
  tenancy?: {
320
392
  enabled: boolean;
321
- strategy: "hybrid" | "shared" | "isolated";
322
393
  tenantField: string;
323
- crossTenantAccess: boolean;
324
394
  } | undefined;
325
395
  access?: {
326
396
  default: "public" | "private";
@@ -713,7 +783,7 @@ declare const SysWebhook: Omit<{
713
783
  eligibility?: string | undefined;
714
784
  } | undefined;
715
785
  keyPrefix?: string | undefined;
716
- actions?: {
786
+ actions?: Omit<{
717
787
  name: string;
718
788
  label: string;
719
789
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -735,7 +805,7 @@ declare const SysWebhook: Omit<{
735
805
  memoryMb?: number | undefined;
736
806
  } | undefined;
737
807
  execute?: string | undefined;
738
- params?: {
808
+ params?: Omit<{
739
809
  required: boolean;
740
810
  name?: string | undefined;
741
811
  field?: string | undefined;
@@ -759,7 +829,8 @@ declare const SysWebhook: Omit<{
759
829
  generatedBy?: string | undefined;
760
830
  } | undefined;
761
831
  } | undefined;
762
- }[] | undefined;
832
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
833
+ }, "requiresFeature">[] | undefined;
763
834
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
764
835
  order?: number | undefined;
765
836
  confirmText?: string | undefined;
@@ -786,6 +857,7 @@ declare const SysWebhook: Omit<{
786
857
  generatedBy?: string | undefined;
787
858
  } | undefined;
788
859
  } | undefined;
860
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
789
861
  disabled?: boolean | {
790
862
  dialect: "cel" | "js" | "cron" | "template";
791
863
  source?: string | undefined;
@@ -826,7 +898,7 @@ declare const SysWebhook: Omit<{
826
898
  ariaDescribedBy?: string | undefined;
827
899
  role?: string | undefined;
828
900
  } | undefined;
829
- }[] | undefined;
901
+ }, "requiresFeature">[] | undefined;
830
902
  protection?: {
831
903
  lock: "full" | "none" | "no-overlay" | "no-delete";
832
904
  reason: string;
package/dist/schema.d.ts CHANGED
@@ -282,8 +282,80 @@ declare const SysWebhook: Omit<{
282
282
  userActions?: {
283
283
  create?: boolean | undefined;
284
284
  import?: boolean | undefined;
285
- edit?: boolean | undefined;
286
- delete?: boolean | undefined;
285
+ edit?: boolean | {
286
+ enabled?: boolean | undefined;
287
+ visibleWhen?: {
288
+ dialect: "cel" | "js" | "cron" | "template";
289
+ source?: string | undefined;
290
+ ast?: unknown;
291
+ meta?: {
292
+ rationale?: string | undefined;
293
+ generatedBy?: string | undefined;
294
+ } | undefined;
295
+ } | {
296
+ dialect: "cel" | "js" | "cron" | "template";
297
+ source?: string | undefined;
298
+ ast?: unknown;
299
+ meta?: {
300
+ rationale?: string | undefined;
301
+ generatedBy?: string | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ disabledWhen?: {
305
+ dialect: "cel" | "js" | "cron" | "template";
306
+ source?: string | undefined;
307
+ ast?: unknown;
308
+ meta?: {
309
+ rationale?: string | undefined;
310
+ generatedBy?: string | undefined;
311
+ } | undefined;
312
+ } | {
313
+ dialect: "cel" | "js" | "cron" | "template";
314
+ source?: string | undefined;
315
+ ast?: unknown;
316
+ meta?: {
317
+ rationale?: string | undefined;
318
+ generatedBy?: string | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ delete?: boolean | {
323
+ enabled?: boolean | undefined;
324
+ visibleWhen?: {
325
+ dialect: "cel" | "js" | "cron" | "template";
326
+ source?: string | undefined;
327
+ ast?: unknown;
328
+ meta?: {
329
+ rationale?: string | undefined;
330
+ generatedBy?: string | undefined;
331
+ } | undefined;
332
+ } | {
333
+ dialect: "cel" | "js" | "cron" | "template";
334
+ source?: string | undefined;
335
+ ast?: unknown;
336
+ meta?: {
337
+ rationale?: string | undefined;
338
+ generatedBy?: string | undefined;
339
+ } | undefined;
340
+ } | undefined;
341
+ disabledWhen?: {
342
+ dialect: "cel" | "js" | "cron" | "template";
343
+ source?: string | undefined;
344
+ ast?: unknown;
345
+ meta?: {
346
+ rationale?: string | undefined;
347
+ generatedBy?: string | undefined;
348
+ } | undefined;
349
+ } | {
350
+ dialect: "cel" | "js" | "cron" | "template";
351
+ source?: string | undefined;
352
+ ast?: unknown;
353
+ meta?: {
354
+ rationale?: string | undefined;
355
+ generatedBy?: string | undefined;
356
+ } | undefined;
357
+ } | undefined;
358
+ } | undefined;
287
359
  exportCsv?: boolean | undefined;
288
360
  } | undefined;
289
361
  systemFields?: false | {
@@ -318,9 +390,7 @@ declare const SysWebhook: Omit<{
318
390
  }[] | undefined;
319
391
  tenancy?: {
320
392
  enabled: boolean;
321
- strategy: "hybrid" | "shared" | "isolated";
322
393
  tenantField: string;
323
- crossTenantAccess: boolean;
324
394
  } | undefined;
325
395
  access?: {
326
396
  default: "public" | "private";
@@ -713,7 +783,7 @@ declare const SysWebhook: Omit<{
713
783
  eligibility?: string | undefined;
714
784
  } | undefined;
715
785
  keyPrefix?: string | undefined;
716
- actions?: {
786
+ actions?: Omit<{
717
787
  name: string;
718
788
  label: string;
719
789
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -735,7 +805,7 @@ declare const SysWebhook: Omit<{
735
805
  memoryMb?: number | undefined;
736
806
  } | undefined;
737
807
  execute?: string | undefined;
738
- params?: {
808
+ params?: Omit<{
739
809
  required: boolean;
740
810
  name?: string | undefined;
741
811
  field?: string | undefined;
@@ -759,7 +829,8 @@ declare const SysWebhook: Omit<{
759
829
  generatedBy?: string | undefined;
760
830
  } | undefined;
761
831
  } | undefined;
762
- }[] | undefined;
832
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
833
+ }, "requiresFeature">[] | undefined;
763
834
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
764
835
  order?: number | undefined;
765
836
  confirmText?: string | undefined;
@@ -786,6 +857,7 @@ declare const SysWebhook: Omit<{
786
857
  generatedBy?: string | undefined;
787
858
  } | undefined;
788
859
  } | undefined;
860
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
789
861
  disabled?: boolean | {
790
862
  dialect: "cel" | "js" | "cron" | "template";
791
863
  source?: string | undefined;
@@ -826,7 +898,7 @@ declare const SysWebhook: Omit<{
826
898
  ariaDescribedBy?: string | undefined;
827
899
  role?: string | undefined;
828
900
  } | undefined;
829
- }[] | undefined;
901
+ }, "requiresFeature">[] | undefined;
830
902
  protection?: {
831
903
  lock: "full" | "none" | "no-overlay" | "no-delete";
832
904
  reason: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "14.8.0",
3
+ "version": "15.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Persistent, cluster-aware webhook dispatcher. Durable outbox + per-partition cluster.lock for exactly-once-ish delivery across nodes. See content/docs/concepts/webhook-delivery.mdx.",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@objectstack/core": "14.8.0",
23
- "@objectstack/service-messaging": "14.8.0",
24
- "@objectstack/spec": "14.8.0"
22
+ "@objectstack/core": "15.1.0",
23
+ "@objectstack/service-messaging": "15.1.0",
24
+ "@objectstack/spec": "15.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.1",