@objectstack/plugin-webhooks 10.0.0 → 10.3.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@10.0.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@10.3.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-HWFTXTTI.js.map 9.15 KB
20
20
  ESM dist/translations-AV47AVPV.js.map 30.54 KB
21
- ESM ⚡️ Build success in 798ms
21
+ ESM ⚡️ Build success in 892ms
22
22
  CJS dist/index.cjs 16.40 KB
23
23
  CJS dist/schema.cjs 220.00 B
24
24
  CJS dist/chunk-KPKLAXNA.cjs 4.86 KB
@@ -27,10 +27,10 @@
27
27
  CJS dist/schema.cjs.map 278.00 B
28
28
  CJS dist/chunk-KPKLAXNA.cjs.map 10.96 KB
29
29
  CJS dist/translations-OAKKANSP.cjs.map 34.65 KB
30
- CJS ⚡️ Build success in 815ms
30
+ CJS ⚡️ Build success in 899ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 22864ms
32
+ DTS ⚡️ Build success in 23623ms
33
33
  DTS dist/index.d.ts 6.97 KB
34
- DTS dist/schema.d.ts 128.06 KB
34
+ DTS dist/schema.d.ts 129.04 KB
35
35
  DTS dist/index.d.cts 6.97 KB
36
- DTS dist/schema.d.cts 128.06 KB
36
+ DTS dist/schema.d.cts 129.04 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 10.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6d3bf54]
8
+ - @objectstack/service-messaging@10.3.0
9
+ - @objectstack/spec@10.3.0
10
+ - @objectstack/core@10.3.0
11
+
12
+ ## 10.2.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [b496498]
17
+ - @objectstack/spec@10.2.0
18
+ - @objectstack/core@10.2.0
19
+ - @objectstack/service-messaging@10.2.0
20
+
21
+ ## 10.1.0
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [49da36e]
26
+ - Updated dependencies [ac79f16]
27
+ - @objectstack/spec@10.1.0
28
+ - @objectstack/core@10.1.0
29
+ - @objectstack/service-messaging@10.1.0
30
+
3
31
  ## 10.0.0
4
32
 
5
33
  ### Patch Changes
package/dist/schema.d.cts CHANGED
@@ -243,6 +243,7 @@ declare const SysWebhook: Omit<{
243
243
  generatedBy?: string | undefined;
244
244
  } | undefined;
245
245
  } | undefined;
246
+ requiredPermissions?: string[] | undefined;
246
247
  system?: boolean | undefined;
247
248
  inlineHelpText?: string | undefined;
248
249
  caseSensitive?: boolean | undefined;
@@ -318,6 +319,10 @@ declare const SysWebhook: Omit<{
318
319
  tenantField: string;
319
320
  crossTenantAccess: boolean;
320
321
  } | undefined;
322
+ access?: {
323
+ default: "public" | "private";
324
+ } | undefined;
325
+ requiredPermissions?: string[] | undefined;
321
326
  softDelete?: {
322
327
  enabled: boolean;
323
328
  field: string;
@@ -684,7 +689,7 @@ declare const SysWebhook: Omit<{
684
689
  clone: boolean;
685
690
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
686
691
  } | undefined;
687
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
692
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
688
693
  publicSharing?: {
689
694
  enabled: boolean;
690
695
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -771,6 +776,7 @@ declare const SysWebhook: Omit<{
771
776
  generatedBy?: string | undefined;
772
777
  } | undefined;
773
778
  } | undefined;
779
+ requiredPermissions?: string[] | undefined;
774
780
  shortcut?: string | undefined;
775
781
  bulkEnabled?: boolean | undefined;
776
782
  ai?: {
@@ -933,6 +939,7 @@ declare const SysWebhook: Omit<{
933
939
  readonly dependencies?: string[] | undefined;
934
940
  readonly externalId?: boolean | undefined;
935
941
  readonly defaultValue?: unknown;
942
+ readonly requiredPermissions?: string[] | undefined;
936
943
  readonly group?: string | undefined;
937
944
  readonly hidden?: boolean | undefined;
938
945
  readonly system?: boolean | undefined;
@@ -1107,6 +1114,7 @@ declare const SysWebhook: Omit<{
1107
1114
  readonly dependencies?: string[] | undefined;
1108
1115
  readonly externalId?: boolean | undefined;
1109
1116
  readonly defaultValue?: unknown;
1117
+ readonly requiredPermissions?: string[] | undefined;
1110
1118
  readonly group?: string | undefined;
1111
1119
  readonly hidden?: boolean | undefined;
1112
1120
  readonly system?: boolean | undefined;
@@ -1281,6 +1289,7 @@ declare const SysWebhook: Omit<{
1281
1289
  readonly dependencies?: string[] | undefined;
1282
1290
  readonly externalId?: boolean | undefined;
1283
1291
  readonly defaultValue?: unknown;
1292
+ readonly requiredPermissions?: string[] | undefined;
1284
1293
  readonly group?: string | undefined;
1285
1294
  readonly hidden?: boolean | undefined;
1286
1295
  readonly system?: boolean | undefined;
@@ -1455,6 +1464,7 @@ declare const SysWebhook: Omit<{
1455
1464
  readonly dependencies?: string[] | undefined;
1456
1465
  readonly externalId?: boolean | undefined;
1457
1466
  readonly defaultValue?: unknown;
1467
+ readonly requiredPermissions?: string[] | undefined;
1458
1468
  readonly group?: string | undefined;
1459
1469
  readonly hidden?: boolean | undefined;
1460
1470
  readonly system?: boolean | undefined;
@@ -1629,6 +1639,7 @@ declare const SysWebhook: Omit<{
1629
1639
  readonly dependencies?: string[] | undefined;
1630
1640
  readonly externalId?: boolean | undefined;
1631
1641
  readonly defaultValue?: unknown;
1642
+ readonly requiredPermissions?: string[] | undefined;
1632
1643
  readonly group?: string | undefined;
1633
1644
  readonly hidden?: boolean | undefined;
1634
1645
  readonly system?: boolean | undefined;
@@ -1803,6 +1814,7 @@ declare const SysWebhook: Omit<{
1803
1814
  readonly dependencies?: string[] | undefined;
1804
1815
  readonly externalId?: boolean | undefined;
1805
1816
  readonly defaultValue?: unknown;
1817
+ readonly requiredPermissions?: string[] | undefined;
1806
1818
  readonly group?: string | undefined;
1807
1819
  readonly hidden?: boolean | undefined;
1808
1820
  readonly system?: boolean | undefined;
@@ -1977,6 +1989,7 @@ declare const SysWebhook: Omit<{
1977
1989
  readonly dependencies?: string[] | undefined;
1978
1990
  readonly externalId?: boolean | undefined;
1979
1991
  readonly defaultValue?: unknown;
1992
+ readonly requiredPermissions?: string[] | undefined;
1980
1993
  readonly group?: string | undefined;
1981
1994
  readonly hidden?: boolean | undefined;
1982
1995
  readonly system?: boolean | undefined;
@@ -2151,6 +2164,7 @@ declare const SysWebhook: Omit<{
2151
2164
  readonly dependencies?: string[] | undefined;
2152
2165
  readonly externalId?: boolean | undefined;
2153
2166
  readonly defaultValue?: unknown;
2167
+ readonly requiredPermissions?: string[] | undefined;
2154
2168
  readonly group?: string | undefined;
2155
2169
  readonly hidden?: boolean | undefined;
2156
2170
  readonly system?: boolean | undefined;
@@ -2325,6 +2339,7 @@ declare const SysWebhook: Omit<{
2325
2339
  readonly dependencies?: string[] | undefined;
2326
2340
  readonly externalId?: boolean | undefined;
2327
2341
  readonly defaultValue?: unknown;
2342
+ readonly requiredPermissions?: string[] | undefined;
2328
2343
  readonly group?: string | undefined;
2329
2344
  readonly hidden?: boolean | undefined;
2330
2345
  readonly system?: boolean | undefined;
@@ -2499,6 +2514,7 @@ declare const SysWebhook: Omit<{
2499
2514
  readonly dependencies?: string[] | undefined;
2500
2515
  readonly externalId?: boolean | undefined;
2501
2516
  readonly defaultValue?: unknown;
2517
+ readonly requiredPermissions?: string[] | undefined;
2502
2518
  readonly group?: string | undefined;
2503
2519
  readonly hidden?: boolean | undefined;
2504
2520
  readonly system?: boolean | undefined;
@@ -2673,6 +2689,7 @@ declare const SysWebhook: Omit<{
2673
2689
  readonly dependencies?: string[] | undefined;
2674
2690
  readonly externalId?: boolean | undefined;
2675
2691
  readonly defaultValue?: unknown;
2692
+ readonly requiredPermissions?: string[] | undefined;
2676
2693
  readonly group?: string | undefined;
2677
2694
  readonly hidden?: boolean | undefined;
2678
2695
  readonly system?: boolean | undefined;
@@ -2847,6 +2864,7 @@ declare const SysWebhook: Omit<{
2847
2864
  readonly dependencies?: string[] | undefined;
2848
2865
  readonly externalId?: boolean | undefined;
2849
2866
  readonly defaultValue?: unknown;
2867
+ readonly requiredPermissions?: string[] | undefined;
2850
2868
  readonly group?: string | undefined;
2851
2869
  readonly hidden?: boolean | undefined;
2852
2870
  readonly system?: boolean | undefined;
package/dist/schema.d.ts CHANGED
@@ -243,6 +243,7 @@ declare const SysWebhook: Omit<{
243
243
  generatedBy?: string | undefined;
244
244
  } | undefined;
245
245
  } | undefined;
246
+ requiredPermissions?: string[] | undefined;
246
247
  system?: boolean | undefined;
247
248
  inlineHelpText?: string | undefined;
248
249
  caseSensitive?: boolean | undefined;
@@ -318,6 +319,10 @@ declare const SysWebhook: Omit<{
318
319
  tenantField: string;
319
320
  crossTenantAccess: boolean;
320
321
  } | undefined;
322
+ access?: {
323
+ default: "public" | "private";
324
+ } | undefined;
325
+ requiredPermissions?: string[] | undefined;
321
326
  softDelete?: {
322
327
  enabled: boolean;
323
328
  field: string;
@@ -684,7 +689,7 @@ declare const SysWebhook: Omit<{
684
689
  clone: boolean;
685
690
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
686
691
  } | undefined;
687
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
692
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
688
693
  publicSharing?: {
689
694
  enabled: boolean;
690
695
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -771,6 +776,7 @@ declare const SysWebhook: Omit<{
771
776
  generatedBy?: string | undefined;
772
777
  } | undefined;
773
778
  } | undefined;
779
+ requiredPermissions?: string[] | undefined;
774
780
  shortcut?: string | undefined;
775
781
  bulkEnabled?: boolean | undefined;
776
782
  ai?: {
@@ -933,6 +939,7 @@ declare const SysWebhook: Omit<{
933
939
  readonly dependencies?: string[] | undefined;
934
940
  readonly externalId?: boolean | undefined;
935
941
  readonly defaultValue?: unknown;
942
+ readonly requiredPermissions?: string[] | undefined;
936
943
  readonly group?: string | undefined;
937
944
  readonly hidden?: boolean | undefined;
938
945
  readonly system?: boolean | undefined;
@@ -1107,6 +1114,7 @@ declare const SysWebhook: Omit<{
1107
1114
  readonly dependencies?: string[] | undefined;
1108
1115
  readonly externalId?: boolean | undefined;
1109
1116
  readonly defaultValue?: unknown;
1117
+ readonly requiredPermissions?: string[] | undefined;
1110
1118
  readonly group?: string | undefined;
1111
1119
  readonly hidden?: boolean | undefined;
1112
1120
  readonly system?: boolean | undefined;
@@ -1281,6 +1289,7 @@ declare const SysWebhook: Omit<{
1281
1289
  readonly dependencies?: string[] | undefined;
1282
1290
  readonly externalId?: boolean | undefined;
1283
1291
  readonly defaultValue?: unknown;
1292
+ readonly requiredPermissions?: string[] | undefined;
1284
1293
  readonly group?: string | undefined;
1285
1294
  readonly hidden?: boolean | undefined;
1286
1295
  readonly system?: boolean | undefined;
@@ -1455,6 +1464,7 @@ declare const SysWebhook: Omit<{
1455
1464
  readonly dependencies?: string[] | undefined;
1456
1465
  readonly externalId?: boolean | undefined;
1457
1466
  readonly defaultValue?: unknown;
1467
+ readonly requiredPermissions?: string[] | undefined;
1458
1468
  readonly group?: string | undefined;
1459
1469
  readonly hidden?: boolean | undefined;
1460
1470
  readonly system?: boolean | undefined;
@@ -1629,6 +1639,7 @@ declare const SysWebhook: Omit<{
1629
1639
  readonly dependencies?: string[] | undefined;
1630
1640
  readonly externalId?: boolean | undefined;
1631
1641
  readonly defaultValue?: unknown;
1642
+ readonly requiredPermissions?: string[] | undefined;
1632
1643
  readonly group?: string | undefined;
1633
1644
  readonly hidden?: boolean | undefined;
1634
1645
  readonly system?: boolean | undefined;
@@ -1803,6 +1814,7 @@ declare const SysWebhook: Omit<{
1803
1814
  readonly dependencies?: string[] | undefined;
1804
1815
  readonly externalId?: boolean | undefined;
1805
1816
  readonly defaultValue?: unknown;
1817
+ readonly requiredPermissions?: string[] | undefined;
1806
1818
  readonly group?: string | undefined;
1807
1819
  readonly hidden?: boolean | undefined;
1808
1820
  readonly system?: boolean | undefined;
@@ -1977,6 +1989,7 @@ declare const SysWebhook: Omit<{
1977
1989
  readonly dependencies?: string[] | undefined;
1978
1990
  readonly externalId?: boolean | undefined;
1979
1991
  readonly defaultValue?: unknown;
1992
+ readonly requiredPermissions?: string[] | undefined;
1980
1993
  readonly group?: string | undefined;
1981
1994
  readonly hidden?: boolean | undefined;
1982
1995
  readonly system?: boolean | undefined;
@@ -2151,6 +2164,7 @@ declare const SysWebhook: Omit<{
2151
2164
  readonly dependencies?: string[] | undefined;
2152
2165
  readonly externalId?: boolean | undefined;
2153
2166
  readonly defaultValue?: unknown;
2167
+ readonly requiredPermissions?: string[] | undefined;
2154
2168
  readonly group?: string | undefined;
2155
2169
  readonly hidden?: boolean | undefined;
2156
2170
  readonly system?: boolean | undefined;
@@ -2325,6 +2339,7 @@ declare const SysWebhook: Omit<{
2325
2339
  readonly dependencies?: string[] | undefined;
2326
2340
  readonly externalId?: boolean | undefined;
2327
2341
  readonly defaultValue?: unknown;
2342
+ readonly requiredPermissions?: string[] | undefined;
2328
2343
  readonly group?: string | undefined;
2329
2344
  readonly hidden?: boolean | undefined;
2330
2345
  readonly system?: boolean | undefined;
@@ -2499,6 +2514,7 @@ declare const SysWebhook: Omit<{
2499
2514
  readonly dependencies?: string[] | undefined;
2500
2515
  readonly externalId?: boolean | undefined;
2501
2516
  readonly defaultValue?: unknown;
2517
+ readonly requiredPermissions?: string[] | undefined;
2502
2518
  readonly group?: string | undefined;
2503
2519
  readonly hidden?: boolean | undefined;
2504
2520
  readonly system?: boolean | undefined;
@@ -2673,6 +2689,7 @@ declare const SysWebhook: Omit<{
2673
2689
  readonly dependencies?: string[] | undefined;
2674
2690
  readonly externalId?: boolean | undefined;
2675
2691
  readonly defaultValue?: unknown;
2692
+ readonly requiredPermissions?: string[] | undefined;
2676
2693
  readonly group?: string | undefined;
2677
2694
  readonly hidden?: boolean | undefined;
2678
2695
  readonly system?: boolean | undefined;
@@ -2847,6 +2864,7 @@ declare const SysWebhook: Omit<{
2847
2864
  readonly dependencies?: string[] | undefined;
2848
2865
  readonly externalId?: boolean | undefined;
2849
2866
  readonly defaultValue?: unknown;
2867
+ readonly requiredPermissions?: string[] | undefined;
2850
2868
  readonly group?: string | undefined;
2851
2869
  readonly hidden?: boolean | undefined;
2852
2870
  readonly system?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "10.0.0",
3
+ "version": "10.3.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": "10.0.0",
23
- "@objectstack/service-messaging": "10.0.0",
24
- "@objectstack/spec": "10.0.0"
22
+ "@objectstack/core": "10.3.0",
23
+ "@objectstack/service-messaging": "10.3.0",
24
+ "@objectstack/spec": "10.3.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.0.0",