@objectstack/plugin-webhooks 10.2.0 → 11.0.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.2.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@11.0.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 792ms
21
+ ESM ⚡️ Build success in 947ms
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 965ms
30
+ CJS ⚡️ Build success in 958ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 23058ms
32
+ DTS ⚡️ Build success in 20455ms
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 130.14 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 130.14 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ab5718a]
8
+ - Updated dependencies [4845c12]
9
+ - Updated dependencies [c1a754a]
10
+ - Updated dependencies [6fbe91f]
11
+ - Updated dependencies [715d667]
12
+ - Updated dependencies [5eef4cf]
13
+ - Updated dependencies [72759e1]
14
+ - Updated dependencies [6c4fbd9]
15
+ - Updated dependencies [ef3ed67]
16
+ - Updated dependencies [cd51229]
17
+ - Updated dependencies [7697a0e]
18
+ - Updated dependencies [e7e04f1]
19
+ - Updated dependencies [cfd5ac4]
20
+ - Updated dependencies [2be5c1f]
21
+ - Updated dependencies [ad143ce]
22
+ - Updated dependencies [5c4a8c8]
23
+ - Updated dependencies [3afaeed]
24
+ - Updated dependencies [8801c02]
25
+ - Updated dependencies [3d04e06]
26
+ - Updated dependencies [4a84c98]
27
+ - Updated dependencies [c715d25]
28
+ - Updated dependencies [aa33b02]
29
+ - Updated dependencies [d980f0d]
30
+ - Updated dependencies [a658523]
31
+ - Updated dependencies [82ff91c]
32
+ - Updated dependencies [638f472]
33
+ - @objectstack/spec@11.0.0
34
+ - @objectstack/core@11.0.0
35
+ - @objectstack/service-messaging@11.0.0
36
+
37
+ ## 10.3.0
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [6d3bf54]
42
+ - @objectstack/service-messaging@10.3.0
43
+ - @objectstack/spec@10.3.0
44
+ - @objectstack/core@10.3.0
45
+
3
46
  ## 10.2.0
4
47
 
5
48
  ### Patch Changes
package/LICENSE CHANGED
@@ -1,93 +1,202 @@
1
- License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
2
- "Business Source License" is a trademark of MariaDB Corporation Ab.
3
-
4
- Parameters
5
-
6
- Licensor: ObjectStack AI LLC
7
- Licensed Work: ObjectStack Runtime: the BSL-licensed packages
8
- of the ObjectStack monorepo as listed in LICENSING.md.
9
- Copyright (c) 2026 ObjectStack AI LLC.
10
- Additional Use Grant: You may make production use of the Licensed Work, provided
11
- Your use does not include offering the Licensed Work to third
12
- parties on a hosted or embedded basis in order to compete with
13
- ObjectStack AI LLC's paid version(s) of the Licensed Work. For purposes
14
- of this license:
15
-
16
- A "competitive offering" is a Product that is offered to third
17
- parties on a paid basis, including through paid support
18
- arrangements, that significantly overlaps with the capabilities
19
- of ObjectStack AI LLC's paid version(s) of the Licensed Work. If Your
20
- Product is not a competitive offering when You first make it
21
- generally available, it will not become a competitive offering
22
- later due to ObjectStack AI LLC releasing a new version of the Licensed
23
- Work with additional capabilities. In addition, Products that
24
- are not provided on a paid basis are not competitive.
25
-
26
- "Product" means software that is offered to end users to manage
27
- in their own environments or offered as a service on a hosted
28
- basis.
29
-
30
- "Embedded" means including the source code or executable code
31
- from the Licensed Work in a competitive offering. "Embedded"
32
- also means packaging the competitive offering in such a way
33
- that the Licensed Work must be accessed or downloaded for the
34
- competitive offering to operate.
35
-
36
- Hosting or using the Licensed Work(s) for internal purposes
37
- within an organization is not considered a competitive
38
- offering. ObjectStack AI LLC considers your organization to include all
39
- of your affiliates under common control.
40
-
41
- For binding interpretive guidance on using ObjectStack AI LLC products
42
- under the Business Source License, please visit our FAQ.
43
- (see LICENSING.md in this repository)
44
- Change Date: Four years from the date the Licensed Work is published.
45
- Change License: Apache License, Version 2.0
46
-
47
- For information about alternative licensing arrangements for the Licensed Work,
48
- please contact licensing@objectstack.dev.
49
-
50
- Notice
51
-
52
- Business Source License 1.1
53
-
54
- Terms
55
-
56
- The Licensor hereby grants you the right to copy, modify, create derivative
57
- works, redistribute, and make non-production use of the Licensed Work. The
58
- Licensor may make an Additional Use Grant, above, permitting limited production use.
59
-
60
- Effective on the Change Date, or the fourth anniversary of the first publicly
61
- available distribution of a specific version of the Licensed Work under this
62
- License, whichever comes first, the Licensor hereby grants you rights under
63
- the terms of the Change License, and the rights granted in the paragraph
64
- above terminate.
65
-
66
- If your use of the Licensed Work does not comply with the requirements
67
- currently in effect as described in this License, you must purchase a
68
- commercial license from the Licensor, its affiliated entities, or authorized
69
- resellers, or you must refrain from using the Licensed Work.
70
-
71
- All copies of the original and modified Licensed Work, and derivative works
72
- of the Licensed Work, are subject to this License. This License applies
73
- separately for each version of the Licensed Work and the Change Date may vary
74
- for each version of the Licensed Work released by Licensor.
75
-
76
- You must conspicuously display this License on each original or modified copy
77
- of the Licensed Work. If you receive the Licensed Work in original or
78
- modified form from a third party, the terms and conditions set forth in this
79
- License apply to your use of that work.
80
-
81
- Any use of the Licensed Work in violation of this License will automatically
82
- terminate your rights under this License for the current and all other
83
- versions of the Licensed Work.
84
-
85
- This License does not grant you any right in any trademark or logo of
86
- Licensor or its affiliates (provided that you may use a trademark or logo of
87
- Licensor as expressly required by this License).
88
-
89
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
90
- AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
91
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
92
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
93
- TITLE.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute
108
+ must include a readable copy of the attribution notices
109
+ contained within such NOTICE file, excluding those notices
110
+ that do not pertain to any part of the Derivative Works,
111
+ in at least one of the following places: within a NOTICE
112
+ text file distributed as part of the Derivative Works; within
113
+ the Source form or documentation, if provided along with
114
+ the Derivative Works; or, within a display generated by the
115
+ Derivative Works, if and wherever such third-party notices
116
+ normally appear. The contents of the NOTICE file are for
117
+ informational purposes only and do not modify the License.
118
+ You may add Your own attribution notices within Derivative
119
+ Works that You distribute, alongside or as an addendum to
120
+ the NOTICE text from the Work, provided that such additional
121
+ attribution notices cannot be construed as modifying the
122
+ License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 ObjectStack
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/dist/schema.d.cts CHANGED
@@ -35,7 +35,7 @@ declare const SysWebhook: Omit<{
35
35
  abstract: boolean;
36
36
  datasource: string;
37
37
  fields: Record<string, {
38
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "percent" | "password" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
38
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "percent" | "password" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
39
39
  required: boolean;
40
40
  searchable: boolean;
41
41
  multiple: boolean;
@@ -109,6 +109,7 @@ declare const SysWebhook: Omit<{
109
109
  generatedBy?: string | undefined;
110
110
  } | undefined;
111
111
  } | undefined;
112
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
112
113
  summaryOperations?: {
113
114
  object: string;
114
115
  field: string;
@@ -243,6 +244,7 @@ declare const SysWebhook: Omit<{
243
244
  generatedBy?: string | undefined;
244
245
  } | undefined;
245
246
  } | undefined;
247
+ requiredPermissions?: string[] | undefined;
246
248
  system?: boolean | undefined;
247
249
  inlineHelpText?: string | undefined;
248
250
  caseSensitive?: boolean | undefined;
@@ -318,6 +320,10 @@ declare const SysWebhook: Omit<{
318
320
  tenantField: string;
319
321
  crossTenantAccess: boolean;
320
322
  } | undefined;
323
+ access?: {
324
+ default: "public" | "private";
325
+ } | undefined;
326
+ requiredPermissions?: string[] | undefined;
321
327
  softDelete?: {
322
328
  enabled: boolean;
323
329
  field: string;
@@ -684,7 +690,7 @@ declare const SysWebhook: Omit<{
684
690
  clone: boolean;
685
691
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
686
692
  } | undefined;
687
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
693
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
688
694
  publicSharing?: {
689
695
  enabled: boolean;
690
696
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -727,7 +733,7 @@ declare const SysWebhook: Omit<{
727
733
  field?: string | undefined;
728
734
  objectOverride?: string | undefined;
729
735
  label?: string | undefined;
730
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
736
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
731
737
  options?: {
732
738
  label: string;
733
739
  value: string;
@@ -771,6 +777,7 @@ declare const SysWebhook: Omit<{
771
777
  generatedBy?: string | undefined;
772
778
  } | undefined;
773
779
  } | undefined;
780
+ requiredPermissions?: string[] | undefined;
774
781
  shortcut?: string | undefined;
775
782
  bulkEnabled?: boolean | undefined;
776
783
  ai?: {
@@ -929,10 +936,12 @@ declare const SysWebhook: Omit<{
929
936
  readonly name?: string | undefined;
930
937
  readonly precision?: number | undefined;
931
938
  readonly required?: boolean | undefined;
939
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
932
940
  readonly multiple?: boolean | undefined;
933
941
  readonly dependencies?: string[] | undefined;
934
942
  readonly externalId?: boolean | undefined;
935
943
  readonly defaultValue?: unknown;
944
+ readonly requiredPermissions?: string[] | undefined;
936
945
  readonly group?: string | undefined;
937
946
  readonly hidden?: boolean | undefined;
938
947
  readonly system?: boolean | undefined;
@@ -1103,10 +1112,12 @@ declare const SysWebhook: Omit<{
1103
1112
  readonly name?: string | undefined;
1104
1113
  readonly precision?: number | undefined;
1105
1114
  readonly required?: boolean | undefined;
1115
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1106
1116
  readonly multiple?: boolean | undefined;
1107
1117
  readonly dependencies?: string[] | undefined;
1108
1118
  readonly externalId?: boolean | undefined;
1109
1119
  readonly defaultValue?: unknown;
1120
+ readonly requiredPermissions?: string[] | undefined;
1110
1121
  readonly group?: string | undefined;
1111
1122
  readonly hidden?: boolean | undefined;
1112
1123
  readonly system?: boolean | undefined;
@@ -1277,10 +1288,12 @@ declare const SysWebhook: Omit<{
1277
1288
  readonly name?: string | undefined;
1278
1289
  readonly precision?: number | undefined;
1279
1290
  readonly required?: boolean | undefined;
1291
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1280
1292
  readonly multiple?: boolean | undefined;
1281
1293
  readonly dependencies?: string[] | undefined;
1282
1294
  readonly externalId?: boolean | undefined;
1283
1295
  readonly defaultValue?: unknown;
1296
+ readonly requiredPermissions?: string[] | undefined;
1284
1297
  readonly group?: string | undefined;
1285
1298
  readonly hidden?: boolean | undefined;
1286
1299
  readonly system?: boolean | undefined;
@@ -1451,10 +1464,12 @@ declare const SysWebhook: Omit<{
1451
1464
  readonly name?: string | undefined;
1452
1465
  readonly precision?: number | undefined;
1453
1466
  readonly required?: boolean | undefined;
1467
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1454
1468
  readonly multiple?: boolean | undefined;
1455
1469
  readonly dependencies?: string[] | undefined;
1456
1470
  readonly externalId?: boolean | undefined;
1457
1471
  readonly defaultValue?: unknown;
1472
+ readonly requiredPermissions?: string[] | undefined;
1458
1473
  readonly group?: string | undefined;
1459
1474
  readonly hidden?: boolean | undefined;
1460
1475
  readonly system?: boolean | undefined;
@@ -1625,10 +1640,12 @@ declare const SysWebhook: Omit<{
1625
1640
  readonly name?: string | undefined;
1626
1641
  readonly precision?: number | undefined;
1627
1642
  readonly required?: boolean | undefined;
1643
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1628
1644
  readonly multiple?: boolean | undefined;
1629
1645
  readonly dependencies?: string[] | undefined;
1630
1646
  readonly externalId?: boolean | undefined;
1631
1647
  readonly defaultValue?: unknown;
1648
+ readonly requiredPermissions?: string[] | undefined;
1632
1649
  readonly group?: string | undefined;
1633
1650
  readonly hidden?: boolean | undefined;
1634
1651
  readonly system?: boolean | undefined;
@@ -1799,10 +1816,12 @@ declare const SysWebhook: Omit<{
1799
1816
  readonly name?: string | undefined;
1800
1817
  readonly precision?: number | undefined;
1801
1818
  readonly required?: boolean | undefined;
1819
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1802
1820
  readonly multiple?: boolean | undefined;
1803
1821
  readonly dependencies?: string[] | undefined;
1804
1822
  readonly externalId?: boolean | undefined;
1805
1823
  readonly defaultValue?: unknown;
1824
+ readonly requiredPermissions?: string[] | undefined;
1806
1825
  readonly group?: string | undefined;
1807
1826
  readonly hidden?: boolean | undefined;
1808
1827
  readonly system?: boolean | undefined;
@@ -1973,10 +1992,12 @@ declare const SysWebhook: Omit<{
1973
1992
  readonly name?: string | undefined;
1974
1993
  readonly precision?: number | undefined;
1975
1994
  readonly required?: boolean | undefined;
1995
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1976
1996
  readonly multiple?: boolean | undefined;
1977
1997
  readonly dependencies?: string[] | undefined;
1978
1998
  readonly externalId?: boolean | undefined;
1979
1999
  readonly defaultValue?: unknown;
2000
+ readonly requiredPermissions?: string[] | undefined;
1980
2001
  readonly group?: string | undefined;
1981
2002
  readonly hidden?: boolean | undefined;
1982
2003
  readonly system?: boolean | undefined;
@@ -2147,10 +2168,12 @@ declare const SysWebhook: Omit<{
2147
2168
  readonly name?: string | undefined;
2148
2169
  readonly precision?: number | undefined;
2149
2170
  readonly required?: boolean | undefined;
2171
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2150
2172
  readonly multiple?: boolean | undefined;
2151
2173
  readonly dependencies?: string[] | undefined;
2152
2174
  readonly externalId?: boolean | undefined;
2153
2175
  readonly defaultValue?: unknown;
2176
+ readonly requiredPermissions?: string[] | undefined;
2154
2177
  readonly group?: string | undefined;
2155
2178
  readonly hidden?: boolean | undefined;
2156
2179
  readonly system?: boolean | undefined;
@@ -2321,10 +2344,12 @@ declare const SysWebhook: Omit<{
2321
2344
  readonly name?: string | undefined;
2322
2345
  readonly precision?: number | undefined;
2323
2346
  readonly required?: boolean | undefined;
2347
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2324
2348
  readonly multiple?: boolean | undefined;
2325
2349
  readonly dependencies?: string[] | undefined;
2326
2350
  readonly externalId?: boolean | undefined;
2327
2351
  readonly defaultValue?: unknown;
2352
+ readonly requiredPermissions?: string[] | undefined;
2328
2353
  readonly group?: string | undefined;
2329
2354
  readonly hidden?: boolean | undefined;
2330
2355
  readonly system?: boolean | undefined;
@@ -2495,10 +2520,12 @@ declare const SysWebhook: Omit<{
2495
2520
  readonly name?: string | undefined;
2496
2521
  readonly precision?: number | undefined;
2497
2522
  readonly required?: boolean | undefined;
2523
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2498
2524
  readonly multiple?: boolean | undefined;
2499
2525
  readonly dependencies?: string[] | undefined;
2500
2526
  readonly externalId?: boolean | undefined;
2501
2527
  readonly defaultValue?: unknown;
2528
+ readonly requiredPermissions?: string[] | undefined;
2502
2529
  readonly group?: string | undefined;
2503
2530
  readonly hidden?: boolean | undefined;
2504
2531
  readonly system?: boolean | undefined;
@@ -2669,10 +2696,12 @@ declare const SysWebhook: Omit<{
2669
2696
  readonly name?: string | undefined;
2670
2697
  readonly precision?: number | undefined;
2671
2698
  readonly required?: boolean | undefined;
2699
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2672
2700
  readonly multiple?: boolean | undefined;
2673
2701
  readonly dependencies?: string[] | undefined;
2674
2702
  readonly externalId?: boolean | undefined;
2675
2703
  readonly defaultValue?: unknown;
2704
+ readonly requiredPermissions?: string[] | undefined;
2676
2705
  readonly group?: string | undefined;
2677
2706
  readonly hidden?: boolean | undefined;
2678
2707
  readonly system?: boolean | undefined;
@@ -2843,10 +2872,12 @@ declare const SysWebhook: Omit<{
2843
2872
  readonly name?: string | undefined;
2844
2873
  readonly precision?: number | undefined;
2845
2874
  readonly required?: boolean | undefined;
2875
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2846
2876
  readonly multiple?: boolean | undefined;
2847
2877
  readonly dependencies?: string[] | undefined;
2848
2878
  readonly externalId?: boolean | undefined;
2849
2879
  readonly defaultValue?: unknown;
2880
+ readonly requiredPermissions?: string[] | undefined;
2850
2881
  readonly group?: string | undefined;
2851
2882
  readonly hidden?: boolean | undefined;
2852
2883
  readonly system?: boolean | undefined;
package/dist/schema.d.ts CHANGED
@@ -35,7 +35,7 @@ declare const SysWebhook: Omit<{
35
35
  abstract: boolean;
36
36
  datasource: string;
37
37
  fields: Record<string, {
38
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "percent" | "password" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
38
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "tags" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "percent" | "password" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
39
39
  required: boolean;
40
40
  searchable: boolean;
41
41
  multiple: boolean;
@@ -109,6 +109,7 @@ declare const SysWebhook: Omit<{
109
109
  generatedBy?: string | undefined;
110
110
  } | undefined;
111
111
  } | undefined;
112
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
112
113
  summaryOperations?: {
113
114
  object: string;
114
115
  field: string;
@@ -243,6 +244,7 @@ declare const SysWebhook: Omit<{
243
244
  generatedBy?: string | undefined;
244
245
  } | undefined;
245
246
  } | undefined;
247
+ requiredPermissions?: string[] | undefined;
246
248
  system?: boolean | undefined;
247
249
  inlineHelpText?: string | undefined;
248
250
  caseSensitive?: boolean | undefined;
@@ -318,6 +320,10 @@ declare const SysWebhook: Omit<{
318
320
  tenantField: string;
319
321
  crossTenantAccess: boolean;
320
322
  } | undefined;
323
+ access?: {
324
+ default: "public" | "private";
325
+ } | undefined;
326
+ requiredPermissions?: string[] | undefined;
321
327
  softDelete?: {
322
328
  enabled: boolean;
323
329
  field: string;
@@ -684,7 +690,7 @@ declare const SysWebhook: Omit<{
684
690
  clone: boolean;
685
691
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
686
692
  } | undefined;
687
- sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
693
+ sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
688
694
  publicSharing?: {
689
695
  enabled: boolean;
690
696
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -727,7 +733,7 @@ declare const SysWebhook: Omit<{
727
733
  field?: string | undefined;
728
734
  objectOverride?: string | undefined;
729
735
  label?: string | undefined;
730
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
736
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
731
737
  options?: {
732
738
  label: string;
733
739
  value: string;
@@ -771,6 +777,7 @@ declare const SysWebhook: Omit<{
771
777
  generatedBy?: string | undefined;
772
778
  } | undefined;
773
779
  } | undefined;
780
+ requiredPermissions?: string[] | undefined;
774
781
  shortcut?: string | undefined;
775
782
  bulkEnabled?: boolean | undefined;
776
783
  ai?: {
@@ -929,10 +936,12 @@ declare const SysWebhook: Omit<{
929
936
  readonly name?: string | undefined;
930
937
  readonly precision?: number | undefined;
931
938
  readonly required?: boolean | undefined;
939
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
932
940
  readonly multiple?: boolean | undefined;
933
941
  readonly dependencies?: string[] | undefined;
934
942
  readonly externalId?: boolean | undefined;
935
943
  readonly defaultValue?: unknown;
944
+ readonly requiredPermissions?: string[] | undefined;
936
945
  readonly group?: string | undefined;
937
946
  readonly hidden?: boolean | undefined;
938
947
  readonly system?: boolean | undefined;
@@ -1103,10 +1112,12 @@ declare const SysWebhook: Omit<{
1103
1112
  readonly name?: string | undefined;
1104
1113
  readonly precision?: number | undefined;
1105
1114
  readonly required?: boolean | undefined;
1115
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1106
1116
  readonly multiple?: boolean | undefined;
1107
1117
  readonly dependencies?: string[] | undefined;
1108
1118
  readonly externalId?: boolean | undefined;
1109
1119
  readonly defaultValue?: unknown;
1120
+ readonly requiredPermissions?: string[] | undefined;
1110
1121
  readonly group?: string | undefined;
1111
1122
  readonly hidden?: boolean | undefined;
1112
1123
  readonly system?: boolean | undefined;
@@ -1277,10 +1288,12 @@ declare const SysWebhook: Omit<{
1277
1288
  readonly name?: string | undefined;
1278
1289
  readonly precision?: number | undefined;
1279
1290
  readonly required?: boolean | undefined;
1291
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1280
1292
  readonly multiple?: boolean | undefined;
1281
1293
  readonly dependencies?: string[] | undefined;
1282
1294
  readonly externalId?: boolean | undefined;
1283
1295
  readonly defaultValue?: unknown;
1296
+ readonly requiredPermissions?: string[] | undefined;
1284
1297
  readonly group?: string | undefined;
1285
1298
  readonly hidden?: boolean | undefined;
1286
1299
  readonly system?: boolean | undefined;
@@ -1451,10 +1464,12 @@ declare const SysWebhook: Omit<{
1451
1464
  readonly name?: string | undefined;
1452
1465
  readonly precision?: number | undefined;
1453
1466
  readonly required?: boolean | undefined;
1467
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1454
1468
  readonly multiple?: boolean | undefined;
1455
1469
  readonly dependencies?: string[] | undefined;
1456
1470
  readonly externalId?: boolean | undefined;
1457
1471
  readonly defaultValue?: unknown;
1472
+ readonly requiredPermissions?: string[] | undefined;
1458
1473
  readonly group?: string | undefined;
1459
1474
  readonly hidden?: boolean | undefined;
1460
1475
  readonly system?: boolean | undefined;
@@ -1625,10 +1640,12 @@ declare const SysWebhook: Omit<{
1625
1640
  readonly name?: string | undefined;
1626
1641
  readonly precision?: number | undefined;
1627
1642
  readonly required?: boolean | undefined;
1643
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1628
1644
  readonly multiple?: boolean | undefined;
1629
1645
  readonly dependencies?: string[] | undefined;
1630
1646
  readonly externalId?: boolean | undefined;
1631
1647
  readonly defaultValue?: unknown;
1648
+ readonly requiredPermissions?: string[] | undefined;
1632
1649
  readonly group?: string | undefined;
1633
1650
  readonly hidden?: boolean | undefined;
1634
1651
  readonly system?: boolean | undefined;
@@ -1799,10 +1816,12 @@ declare const SysWebhook: Omit<{
1799
1816
  readonly name?: string | undefined;
1800
1817
  readonly precision?: number | undefined;
1801
1818
  readonly required?: boolean | undefined;
1819
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1802
1820
  readonly multiple?: boolean | undefined;
1803
1821
  readonly dependencies?: string[] | undefined;
1804
1822
  readonly externalId?: boolean | undefined;
1805
1823
  readonly defaultValue?: unknown;
1824
+ readonly requiredPermissions?: string[] | undefined;
1806
1825
  readonly group?: string | undefined;
1807
1826
  readonly hidden?: boolean | undefined;
1808
1827
  readonly system?: boolean | undefined;
@@ -1973,10 +1992,12 @@ declare const SysWebhook: Omit<{
1973
1992
  readonly name?: string | undefined;
1974
1993
  readonly precision?: number | undefined;
1975
1994
  readonly required?: boolean | undefined;
1995
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1976
1996
  readonly multiple?: boolean | undefined;
1977
1997
  readonly dependencies?: string[] | undefined;
1978
1998
  readonly externalId?: boolean | undefined;
1979
1999
  readonly defaultValue?: unknown;
2000
+ readonly requiredPermissions?: string[] | undefined;
1980
2001
  readonly group?: string | undefined;
1981
2002
  readonly hidden?: boolean | undefined;
1982
2003
  readonly system?: boolean | undefined;
@@ -2147,10 +2168,12 @@ declare const SysWebhook: Omit<{
2147
2168
  readonly name?: string | undefined;
2148
2169
  readonly precision?: number | undefined;
2149
2170
  readonly required?: boolean | undefined;
2171
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2150
2172
  readonly multiple?: boolean | undefined;
2151
2173
  readonly dependencies?: string[] | undefined;
2152
2174
  readonly externalId?: boolean | undefined;
2153
2175
  readonly defaultValue?: unknown;
2176
+ readonly requiredPermissions?: string[] | undefined;
2154
2177
  readonly group?: string | undefined;
2155
2178
  readonly hidden?: boolean | undefined;
2156
2179
  readonly system?: boolean | undefined;
@@ -2321,10 +2344,12 @@ declare const SysWebhook: Omit<{
2321
2344
  readonly name?: string | undefined;
2322
2345
  readonly precision?: number | undefined;
2323
2346
  readonly required?: boolean | undefined;
2347
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2324
2348
  readonly multiple?: boolean | undefined;
2325
2349
  readonly dependencies?: string[] | undefined;
2326
2350
  readonly externalId?: boolean | undefined;
2327
2351
  readonly defaultValue?: unknown;
2352
+ readonly requiredPermissions?: string[] | undefined;
2328
2353
  readonly group?: string | undefined;
2329
2354
  readonly hidden?: boolean | undefined;
2330
2355
  readonly system?: boolean | undefined;
@@ -2495,10 +2520,12 @@ declare const SysWebhook: Omit<{
2495
2520
  readonly name?: string | undefined;
2496
2521
  readonly precision?: number | undefined;
2497
2522
  readonly required?: boolean | undefined;
2523
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2498
2524
  readonly multiple?: boolean | undefined;
2499
2525
  readonly dependencies?: string[] | undefined;
2500
2526
  readonly externalId?: boolean | undefined;
2501
2527
  readonly defaultValue?: unknown;
2528
+ readonly requiredPermissions?: string[] | undefined;
2502
2529
  readonly group?: string | undefined;
2503
2530
  readonly hidden?: boolean | undefined;
2504
2531
  readonly system?: boolean | undefined;
@@ -2669,10 +2696,12 @@ declare const SysWebhook: Omit<{
2669
2696
  readonly name?: string | undefined;
2670
2697
  readonly precision?: number | undefined;
2671
2698
  readonly required?: boolean | undefined;
2699
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2672
2700
  readonly multiple?: boolean | undefined;
2673
2701
  readonly dependencies?: string[] | undefined;
2674
2702
  readonly externalId?: boolean | undefined;
2675
2703
  readonly defaultValue?: unknown;
2704
+ readonly requiredPermissions?: string[] | undefined;
2676
2705
  readonly group?: string | undefined;
2677
2706
  readonly hidden?: boolean | undefined;
2678
2707
  readonly system?: boolean | undefined;
@@ -2843,10 +2872,12 @@ declare const SysWebhook: Omit<{
2843
2872
  readonly name?: string | undefined;
2844
2873
  readonly precision?: number | undefined;
2845
2874
  readonly required?: boolean | undefined;
2875
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2846
2876
  readonly multiple?: boolean | undefined;
2847
2877
  readonly dependencies?: string[] | undefined;
2848
2878
  readonly externalId?: boolean | undefined;
2849
2879
  readonly defaultValue?: unknown;
2880
+ readonly requiredPermissions?: string[] | undefined;
2850
2881
  readonly group?: string | undefined;
2851
2882
  readonly hidden?: boolean | undefined;
2852
2883
  readonly system?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "10.2.0",
3
+ "version": "11.0.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.2.0",
23
- "@objectstack/service-messaging": "10.2.0",
24
- "@objectstack/spec": "10.2.0"
22
+ "@objectstack/core": "11.0.0",
23
+ "@objectstack/service-messaging": "11.0.0",
24
+ "@objectstack/spec": "11.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.0.0",