@objectstack/plugin-webhooks 17.0.0-rc.3 → 17.0.0-rc.5

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/CHANGELOG.md CHANGED
@@ -1,13 +1,149 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
- ## 17.0.0-rc.3
4
-
5
- ### Patch Changes
6
-
3
+ ## 17.0.0-rc.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e8f8f6c]
8
+ - Updated dependencies [7f713b6]
9
+ - Updated dependencies [c960170]
10
+ - Updated dependencies [def5919]
11
+ - Updated dependencies [ce0cfe9]
12
+ - Updated dependencies [1363084]
13
+ - @objectstack/spec@17.0.0-rc.5
14
+ - @objectstack/core@17.0.0-rc.5
15
+ - @objectstack/service-messaging@17.0.0-rc.5
16
+
17
+ ## 17.0.0-rc.4
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [9fe9c1d]
22
+ - Updated dependencies [d4e0809]
23
+ - Updated dependencies [f724f69]
24
+ - Updated dependencies [28ad90e]
25
+ - Updated dependencies [f8644c7]
26
+ - Updated dependencies [306ca50]
27
+ - Updated dependencies [978fed2]
28
+ - Updated dependencies [cfc293f]
29
+ - Updated dependencies [de70b42]
30
+ - Updated dependencies [fb3d99b]
31
+ - Updated dependencies [cdfbee2]
32
+ - Updated dependencies [29c6c9d]
33
+ - Updated dependencies [d21c001]
34
+ - Updated dependencies [f1cc3a3]
35
+ - Updated dependencies [ddc2527]
36
+ - Updated dependencies [553a47f]
37
+ - Updated dependencies [a3a884d]
38
+ - Updated dependencies [cfed092]
7
39
  - Updated dependencies [2e284b2]
8
- - @objectstack/spec@17.0.0-rc.3
9
- - @objectstack/core@17.0.0-rc.3
10
- - @objectstack/service-messaging@17.0.0-rc.3
40
+ - Updated dependencies [1b49eaf]
41
+ - Updated dependencies [0161c7f]
42
+ - Updated dependencies [e900015]
43
+ - Updated dependencies [b5bdf48]
44
+ - Updated dependencies [a019e52]
45
+ - Updated dependencies [64fc6d5]
46
+ - Updated dependencies [b746aa0]
47
+ - Updated dependencies [947d4f9]
48
+ - Updated dependencies [eaaf03c]
49
+ - Updated dependencies [d17df80]
50
+ - Updated dependencies [7d0e7b5]
51
+ - Updated dependencies [6513c17]
52
+ - Updated dependencies [c142ced]
53
+ - Updated dependencies [eda599e]
54
+ - Updated dependencies [c001422]
55
+ - Updated dependencies [77022a9]
56
+ - Updated dependencies [52760bf]
57
+ - Updated dependencies [5543020]
58
+ - Updated dependencies [880d343]
59
+ - Updated dependencies [6e82972]
60
+ - Updated dependencies [4615a18]
61
+ - Updated dependencies [7f62706]
62
+ - Updated dependencies [667fa44]
63
+ - Updated dependencies [37e38d1]
64
+ - Updated dependencies [1eb13a0]
65
+ - Updated dependencies [c52e608]
66
+ - Updated dependencies [4dfd002]
67
+ - Updated dependencies [77be690]
68
+ - Updated dependencies [811c30c]
69
+ - Updated dependencies [b49ccfd]
70
+ - Updated dependencies [85d95e7]
71
+ - Updated dependencies [168f60f]
72
+ - Updated dependencies [244ca86]
73
+ - Updated dependencies [546ab3c]
74
+ - Updated dependencies [0b51bb6]
75
+ - Updated dependencies [d9971d3]
76
+ - Updated dependencies [eb3e650]
77
+ - Updated dependencies [abeb375]
78
+ - Updated dependencies [ef4efa8]
79
+ - Updated dependencies [cbb6a5c]
80
+ - Updated dependencies [795b6e1]
81
+ - Updated dependencies [175d789]
82
+ - Updated dependencies [55dbbba]
83
+ - Updated dependencies [72c3c86]
84
+ - Updated dependencies [7f1a635]
85
+ - Updated dependencies [0f2fdcd]
86
+ - Updated dependencies [8ffa8b9]
87
+ - Updated dependencies [674ac99]
88
+ - Updated dependencies [502564d]
89
+ - Updated dependencies [471839d]
90
+ - Updated dependencies [46365ab]
91
+ - Updated dependencies [b508244]
92
+ - Updated dependencies [594508e]
93
+ - Updated dependencies [1c625ca]
94
+ - Updated dependencies [71f205d]
95
+ - Updated dependencies [414395b]
96
+ - Updated dependencies [c5adfe1]
97
+ - Updated dependencies [26e1029]
98
+ - Updated dependencies [108ba8d]
99
+ - Updated dependencies [b4ad984]
100
+ - Updated dependencies [a9f32df]
101
+ - Updated dependencies [aeb9b27]
102
+ - Updated dependencies [7d27da0]
103
+ - Updated dependencies [089767f]
104
+ - Updated dependencies [e4c8b6c]
105
+ - Updated dependencies [acb10f6]
106
+ - Updated dependencies [1c3da1f]
107
+ - Updated dependencies [a34fd2e]
108
+ - Updated dependencies [889ae47]
109
+ - Updated dependencies [4f4c3fb]
110
+ - Updated dependencies [7adc841]
111
+ - Updated dependencies [4845f85]
112
+ - Updated dependencies [7b005b4]
113
+ - Updated dependencies [94f7b6a]
114
+ - Updated dependencies [5c94f83]
115
+ - Updated dependencies [73e576f]
116
+ - Updated dependencies [c5a5996]
117
+ - Updated dependencies [ae490ef]
118
+ - Updated dependencies [9c90ea0]
119
+ - Updated dependencies [f61c8cf]
120
+ - Updated dependencies [e3ef52b]
121
+ - Updated dependencies [07f1822]
122
+ - Updated dependencies [04fab5e]
123
+ - Updated dependencies [efedd28]
124
+ - Updated dependencies [5278e11]
125
+ - Updated dependencies [23dba62]
126
+ - Updated dependencies [ba98e26]
127
+ - Updated dependencies [fc5f536]
128
+ - Updated dependencies [f8cfbb4]
129
+ - Updated dependencies [c89d18c]
130
+ - Updated dependencies [aac90a5]
131
+ - Updated dependencies [1e6ab15]
132
+ - Updated dependencies [c87ef70]
133
+ - Updated dependencies [3cb0618]
134
+ - Updated dependencies [32a0874]
135
+ - Updated dependencies [7055c22]
136
+ - Updated dependencies [785a748]
137
+ - Updated dependencies [3af0354]
138
+ - Updated dependencies [866ff16]
139
+ - Updated dependencies [5a85e67]
140
+ - Updated dependencies [c183a12]
141
+ - Updated dependencies [8064b07]
142
+ - Updated dependencies [4a56dbd]
143
+ - Updated dependencies [06df4fa]
144
+ - @objectstack/spec@17.0.0-rc.4
145
+ - @objectstack/core@17.0.0-rc.4
146
+ - @objectstack/service-messaging@17.0.0-rc.4
11
147
 
12
148
  ## 17.0.0-rc.2
13
149
 
package/dist/schema.d.cts CHANGED
@@ -39,11 +39,11 @@ declare const SysWebhook: Omit<{
39
39
  isSystem: boolean;
40
40
  datasource: string;
41
41
  fields: Record<string, {
42
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
42
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
43
43
  required: boolean;
44
44
  searchable: boolean;
45
45
  multiple: boolean;
46
- unique: boolean | "global";
46
+ unique: boolean | "global" | "organization";
47
47
  deleteBehavior: "set_null" | "cascade" | "restrict";
48
48
  hidden: boolean;
49
49
  readonly: boolean;
@@ -322,10 +322,10 @@ declare const SysWebhook: Omit<{
322
322
  } | undefined;
323
323
  indexes?: {
324
324
  fields: string[];
325
- type: "hash" | "btree" | "gin" | "gist" | "fulltext";
326
- unique: boolean | "global";
325
+ unique: boolean | "global" | "organization";
327
326
  name?: string | undefined;
328
- partial?: string | undefined;
327
+ type?: undefined;
328
+ partial?: undefined;
329
329
  }[] | undefined;
330
330
  fieldGroups?: {
331
331
  key: string;
@@ -339,7 +339,7 @@ declare const SysWebhook: Omit<{
339
339
  }[] | undefined;
340
340
  tenancy?: {
341
341
  enabled: boolean;
342
- tenantField: string;
342
+ tenantField?: string | undefined;
343
343
  } | undefined;
344
344
  access?: {
345
345
  default: "public" | "private";
@@ -454,14 +454,14 @@ declare const SysWebhook: Omit<{
454
454
  provider: "api";
455
455
  read?: {
456
456
  url: string;
457
- method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
457
+ method: "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
458
458
  headers?: Record<string, string> | undefined;
459
459
  params?: Record<string, unknown> | undefined;
460
460
  body?: unknown;
461
461
  } | undefined;
462
462
  write?: {
463
463
  url: string;
464
- method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
464
+ method: "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
465
465
  headers?: Record<string, string> | undefined;
466
466
  params?: Record<string, unknown> | undefined;
467
467
  body?: unknown;
@@ -630,7 +630,7 @@ declare const SysWebhook: Omit<{
630
630
  params?: {
631
631
  [x: string]: unknown;
632
632
  name: string;
633
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
633
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
634
634
  label?: string | undefined;
635
635
  help?: string | undefined;
636
636
  required?: boolean | undefined;
@@ -769,7 +769,7 @@ declare const SysWebhook: Omit<{
769
769
  field?: string | undefined;
770
770
  objectOverride?: string | undefined;
771
771
  label?: string | undefined;
772
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "email" | "phone" | "password" | "secret" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "user" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
772
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "email" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "secret" | "markdown" | "html" | "richtext" | "currency" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "user" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
773
773
  options?: {
774
774
  label: string;
775
775
  value: string;
@@ -791,7 +791,7 @@ declare const SysWebhook: Omit<{
791
791
  generatedBy?: string | undefined;
792
792
  } | undefined;
793
793
  } | undefined;
794
- requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
794
+ requiresFeature?: "organization" | "twoFactor" | "passkeys" | "magicLink" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
795
795
  }, "requiresFeature">[] | undefined;
796
796
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
797
797
  order?: number | undefined;
@@ -819,7 +819,7 @@ declare const SysWebhook: Omit<{
819
819
  generatedBy?: string | undefined;
820
820
  } | undefined;
821
821
  } | undefined;
822
- requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
822
+ requiresFeature?: "organization" | "twoFactor" | "passkeys" | "magicLink" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
823
823
  disabled?: boolean | {
824
824
  dialect: "cel" | "cron" | "template";
825
825
  source?: string | undefined;
@@ -849,7 +849,7 @@ declare const SysWebhook: Omit<{
849
849
  bodyShape?: "flat" | {
850
850
  wrap: string;
851
851
  } | undefined;
852
- method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
852
+ method?: "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
853
853
  bodyExtra?: Record<string, unknown> | undefined;
854
854
  mode?: "custom" | "delete" | "edit" | "create" | undefined;
855
855
  opensInNewTab?: boolean | undefined;
@@ -1045,7 +1045,7 @@ declare const SysWebhook: Omit<{
1045
1045
  } | undefined;
1046
1046
  readonly scale?: number | undefined;
1047
1047
  readonly searchable?: boolean | undefined;
1048
- readonly unique?: boolean | "global" | undefined;
1048
+ readonly unique?: boolean | "global" | "organization" | undefined;
1049
1049
  readonly defaultValue?: unknown;
1050
1050
  readonly maxLength?: number | undefined;
1051
1051
  readonly minLength?: number | undefined;
@@ -1183,7 +1183,7 @@ declare const SysWebhook: Omit<{
1183
1183
  } | undefined;
1184
1184
  readonly scale?: number | undefined;
1185
1185
  readonly searchable?: boolean | undefined;
1186
- readonly unique?: boolean | "global" | undefined;
1186
+ readonly unique?: boolean | "global" | "organization" | undefined;
1187
1187
  readonly defaultValue?: unknown;
1188
1188
  readonly maxLength?: number | undefined;
1189
1189
  readonly minLength?: number | undefined;
@@ -1321,7 +1321,7 @@ declare const SysWebhook: Omit<{
1321
1321
  } | undefined;
1322
1322
  readonly scale?: number | undefined;
1323
1323
  readonly searchable?: boolean | undefined;
1324
- readonly unique?: boolean | "global" | undefined;
1324
+ readonly unique?: boolean | "global" | "organization" | undefined;
1325
1325
  readonly defaultValue?: unknown;
1326
1326
  readonly maxLength?: number | undefined;
1327
1327
  readonly minLength?: number | undefined;
@@ -1459,7 +1459,7 @@ declare const SysWebhook: Omit<{
1459
1459
  } | undefined;
1460
1460
  readonly scale?: number | undefined;
1461
1461
  readonly searchable?: boolean | undefined;
1462
- readonly unique?: boolean | "global" | undefined;
1462
+ readonly unique?: boolean | "global" | "organization" | undefined;
1463
1463
  readonly defaultValue?: unknown;
1464
1464
  readonly maxLength?: number | undefined;
1465
1465
  readonly minLength?: number | undefined;
@@ -1597,7 +1597,7 @@ declare const SysWebhook: Omit<{
1597
1597
  } | undefined;
1598
1598
  readonly scale?: number | undefined;
1599
1599
  readonly searchable?: boolean | undefined;
1600
- readonly unique?: boolean | "global" | undefined;
1600
+ readonly unique?: boolean | "global" | "organization" | undefined;
1601
1601
  readonly defaultValue?: unknown;
1602
1602
  readonly maxLength?: number | undefined;
1603
1603
  readonly minLength?: number | undefined;
@@ -1735,7 +1735,7 @@ declare const SysWebhook: Omit<{
1735
1735
  } | undefined;
1736
1736
  readonly scale?: number | undefined;
1737
1737
  readonly searchable?: boolean | undefined;
1738
- readonly unique?: boolean | "global" | undefined;
1738
+ readonly unique?: boolean | "global" | "organization" | undefined;
1739
1739
  readonly defaultValue?: unknown;
1740
1740
  readonly maxLength?: number | undefined;
1741
1741
  readonly minLength?: number | undefined;
@@ -1873,7 +1873,7 @@ declare const SysWebhook: Omit<{
1873
1873
  } | undefined;
1874
1874
  readonly scale?: number | undefined;
1875
1875
  readonly searchable?: boolean | undefined;
1876
- readonly unique?: boolean | "global" | undefined;
1876
+ readonly unique?: boolean | "global" | "organization" | undefined;
1877
1877
  readonly defaultValue?: unknown;
1878
1878
  readonly maxLength?: number | undefined;
1879
1879
  readonly minLength?: number | undefined;
@@ -2011,7 +2011,7 @@ declare const SysWebhook: Omit<{
2011
2011
  } | undefined;
2012
2012
  readonly scale?: number | undefined;
2013
2013
  readonly searchable?: boolean | undefined;
2014
- readonly unique?: boolean | "global" | undefined;
2014
+ readonly unique?: boolean | "global" | "organization" | undefined;
2015
2015
  readonly defaultValue?: unknown;
2016
2016
  readonly maxLength?: number | undefined;
2017
2017
  readonly minLength?: number | undefined;
@@ -2149,7 +2149,7 @@ declare const SysWebhook: Omit<{
2149
2149
  } | undefined;
2150
2150
  readonly scale?: number | undefined;
2151
2151
  readonly searchable?: boolean | undefined;
2152
- readonly unique?: boolean | "global" | undefined;
2152
+ readonly unique?: boolean | "global" | "organization" | undefined;
2153
2153
  readonly defaultValue?: unknown;
2154
2154
  readonly maxLength?: number | undefined;
2155
2155
  readonly minLength?: number | undefined;
@@ -2287,7 +2287,7 @@ declare const SysWebhook: Omit<{
2287
2287
  } | undefined;
2288
2288
  readonly scale?: number | undefined;
2289
2289
  readonly searchable?: boolean | undefined;
2290
- readonly unique?: boolean | "global" | undefined;
2290
+ readonly unique?: boolean | "global" | "organization" | undefined;
2291
2291
  readonly defaultValue?: unknown;
2292
2292
  readonly maxLength?: number | undefined;
2293
2293
  readonly minLength?: number | undefined;
@@ -2425,7 +2425,7 @@ declare const SysWebhook: Omit<{
2425
2425
  } | undefined;
2426
2426
  readonly scale?: number | undefined;
2427
2427
  readonly searchable?: boolean | undefined;
2428
- readonly unique?: boolean | "global" | undefined;
2428
+ readonly unique?: boolean | "global" | "organization" | undefined;
2429
2429
  readonly defaultValue?: unknown;
2430
2430
  readonly maxLength?: number | undefined;
2431
2431
  readonly minLength?: number | undefined;
@@ -2563,7 +2563,7 @@ declare const SysWebhook: Omit<{
2563
2563
  } | undefined;
2564
2564
  readonly scale?: number | undefined;
2565
2565
  readonly searchable?: boolean | undefined;
2566
- readonly unique?: boolean | "global" | undefined;
2566
+ readonly unique?: boolean | "global" | "organization" | undefined;
2567
2567
  readonly defaultValue?: unknown;
2568
2568
  readonly maxLength?: number | undefined;
2569
2569
  readonly minLength?: number | undefined;
@@ -2701,7 +2701,7 @@ declare const SysWebhook: Omit<{
2701
2701
  } | undefined;
2702
2702
  readonly scale?: number | undefined;
2703
2703
  readonly searchable?: boolean | undefined;
2704
- readonly unique?: boolean | "global" | undefined;
2704
+ readonly unique?: boolean | "global" | "organization" | undefined;
2705
2705
  readonly defaultValue?: unknown;
2706
2706
  readonly maxLength?: number | undefined;
2707
2707
  readonly minLength?: number | undefined;
@@ -2839,7 +2839,7 @@ declare const SysWebhook: Omit<{
2839
2839
  } | undefined;
2840
2840
  readonly scale?: number | undefined;
2841
2841
  readonly searchable?: boolean | undefined;
2842
- readonly unique?: boolean | "global" | undefined;
2842
+ readonly unique?: boolean | "global" | "organization" | undefined;
2843
2843
  readonly defaultValue?: unknown;
2844
2844
  readonly maxLength?: number | undefined;
2845
2845
  readonly minLength?: number | undefined;
package/dist/schema.d.ts CHANGED
@@ -39,11 +39,11 @@ declare const SysWebhook: Omit<{
39
39
  isSystem: boolean;
40
40
  datasource: string;
41
41
  fields: Record<string, {
42
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
42
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
43
43
  required: boolean;
44
44
  searchable: boolean;
45
45
  multiple: boolean;
46
- unique: boolean | "global";
46
+ unique: boolean | "global" | "organization";
47
47
  deleteBehavior: "set_null" | "cascade" | "restrict";
48
48
  hidden: boolean;
49
49
  readonly: boolean;
@@ -322,10 +322,10 @@ declare const SysWebhook: Omit<{
322
322
  } | undefined;
323
323
  indexes?: {
324
324
  fields: string[];
325
- type: "hash" | "btree" | "gin" | "gist" | "fulltext";
326
- unique: boolean | "global";
325
+ unique: boolean | "global" | "organization";
327
326
  name?: string | undefined;
328
- partial?: string | undefined;
327
+ type?: undefined;
328
+ partial?: undefined;
329
329
  }[] | undefined;
330
330
  fieldGroups?: {
331
331
  key: string;
@@ -339,7 +339,7 @@ declare const SysWebhook: Omit<{
339
339
  }[] | undefined;
340
340
  tenancy?: {
341
341
  enabled: boolean;
342
- tenantField: string;
342
+ tenantField?: string | undefined;
343
343
  } | undefined;
344
344
  access?: {
345
345
  default: "public" | "private";
@@ -454,14 +454,14 @@ declare const SysWebhook: Omit<{
454
454
  provider: "api";
455
455
  read?: {
456
456
  url: string;
457
- method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
457
+ method: "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
458
458
  headers?: Record<string, string> | undefined;
459
459
  params?: Record<string, unknown> | undefined;
460
460
  body?: unknown;
461
461
  } | undefined;
462
462
  write?: {
463
463
  url: string;
464
- method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
464
+ method: "POST" | "GET" | "PUT" | "DELETE" | "PATCH";
465
465
  headers?: Record<string, string> | undefined;
466
466
  params?: Record<string, unknown> | undefined;
467
467
  body?: unknown;
@@ -630,7 +630,7 @@ declare const SysWebhook: Omit<{
630
630
  params?: {
631
631
  [x: string]: unknown;
632
632
  name: string;
633
- type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
633
+ type: "number" | "boolean" | "email" | "currency" | "date" | "record" | "file" | "secret" | "user" | "code" | "datetime" | "signature" | "progress" | "url" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "markdown" | "html" | "richtext" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector";
634
634
  label?: string | undefined;
635
635
  help?: string | undefined;
636
636
  required?: boolean | undefined;
@@ -769,7 +769,7 @@ declare const SysWebhook: Omit<{
769
769
  field?: string | undefined;
770
770
  objectOverride?: string | undefined;
771
771
  label?: string | undefined;
772
- type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "formula" | "text" | "textarea" | "email" | "phone" | "password" | "secret" | "markdown" | "html" | "richtext" | "currency" | "percent" | "time" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "user" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
772
+ type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "email" | "time" | "formula" | "text" | "textarea" | "phone" | "password" | "secret" | "markdown" | "html" | "richtext" | "currency" | "percent" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "lookup" | "master_detail" | "tree" | "user" | "image" | "avatar" | "video" | "audio" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
773
773
  options?: {
774
774
  label: string;
775
775
  value: string;
@@ -791,7 +791,7 @@ declare const SysWebhook: Omit<{
791
791
  generatedBy?: string | undefined;
792
792
  } | undefined;
793
793
  } | undefined;
794
- requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
794
+ requiresFeature?: "organization" | "twoFactor" | "passkeys" | "magicLink" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
795
795
  }, "requiresFeature">[] | undefined;
796
796
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
797
797
  order?: number | undefined;
@@ -819,7 +819,7 @@ declare const SysWebhook: Omit<{
819
819
  generatedBy?: string | undefined;
820
820
  } | undefined;
821
821
  } | undefined;
822
- requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
822
+ requiresFeature?: "organization" | "twoFactor" | "passkeys" | "magicLink" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
823
823
  disabled?: boolean | {
824
824
  dialect: "cel" | "cron" | "template";
825
825
  source?: string | undefined;
@@ -849,7 +849,7 @@ declare const SysWebhook: Omit<{
849
849
  bodyShape?: "flat" | {
850
850
  wrap: string;
851
851
  } | undefined;
852
- method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
852
+ method?: "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
853
853
  bodyExtra?: Record<string, unknown> | undefined;
854
854
  mode?: "custom" | "delete" | "edit" | "create" | undefined;
855
855
  opensInNewTab?: boolean | undefined;
@@ -1045,7 +1045,7 @@ declare const SysWebhook: Omit<{
1045
1045
  } | undefined;
1046
1046
  readonly scale?: number | undefined;
1047
1047
  readonly searchable?: boolean | undefined;
1048
- readonly unique?: boolean | "global" | undefined;
1048
+ readonly unique?: boolean | "global" | "organization" | undefined;
1049
1049
  readonly defaultValue?: unknown;
1050
1050
  readonly maxLength?: number | undefined;
1051
1051
  readonly minLength?: number | undefined;
@@ -1183,7 +1183,7 @@ declare const SysWebhook: Omit<{
1183
1183
  } | undefined;
1184
1184
  readonly scale?: number | undefined;
1185
1185
  readonly searchable?: boolean | undefined;
1186
- readonly unique?: boolean | "global" | undefined;
1186
+ readonly unique?: boolean | "global" | "organization" | undefined;
1187
1187
  readonly defaultValue?: unknown;
1188
1188
  readonly maxLength?: number | undefined;
1189
1189
  readonly minLength?: number | undefined;
@@ -1321,7 +1321,7 @@ declare const SysWebhook: Omit<{
1321
1321
  } | undefined;
1322
1322
  readonly scale?: number | undefined;
1323
1323
  readonly searchable?: boolean | undefined;
1324
- readonly unique?: boolean | "global" | undefined;
1324
+ readonly unique?: boolean | "global" | "organization" | undefined;
1325
1325
  readonly defaultValue?: unknown;
1326
1326
  readonly maxLength?: number | undefined;
1327
1327
  readonly minLength?: number | undefined;
@@ -1459,7 +1459,7 @@ declare const SysWebhook: Omit<{
1459
1459
  } | undefined;
1460
1460
  readonly scale?: number | undefined;
1461
1461
  readonly searchable?: boolean | undefined;
1462
- readonly unique?: boolean | "global" | undefined;
1462
+ readonly unique?: boolean | "global" | "organization" | undefined;
1463
1463
  readonly defaultValue?: unknown;
1464
1464
  readonly maxLength?: number | undefined;
1465
1465
  readonly minLength?: number | undefined;
@@ -1597,7 +1597,7 @@ declare const SysWebhook: Omit<{
1597
1597
  } | undefined;
1598
1598
  readonly scale?: number | undefined;
1599
1599
  readonly searchable?: boolean | undefined;
1600
- readonly unique?: boolean | "global" | undefined;
1600
+ readonly unique?: boolean | "global" | "organization" | undefined;
1601
1601
  readonly defaultValue?: unknown;
1602
1602
  readonly maxLength?: number | undefined;
1603
1603
  readonly minLength?: number | undefined;
@@ -1735,7 +1735,7 @@ declare const SysWebhook: Omit<{
1735
1735
  } | undefined;
1736
1736
  readonly scale?: number | undefined;
1737
1737
  readonly searchable?: boolean | undefined;
1738
- readonly unique?: boolean | "global" | undefined;
1738
+ readonly unique?: boolean | "global" | "organization" | undefined;
1739
1739
  readonly defaultValue?: unknown;
1740
1740
  readonly maxLength?: number | undefined;
1741
1741
  readonly minLength?: number | undefined;
@@ -1873,7 +1873,7 @@ declare const SysWebhook: Omit<{
1873
1873
  } | undefined;
1874
1874
  readonly scale?: number | undefined;
1875
1875
  readonly searchable?: boolean | undefined;
1876
- readonly unique?: boolean | "global" | undefined;
1876
+ readonly unique?: boolean | "global" | "organization" | undefined;
1877
1877
  readonly defaultValue?: unknown;
1878
1878
  readonly maxLength?: number | undefined;
1879
1879
  readonly minLength?: number | undefined;
@@ -2011,7 +2011,7 @@ declare const SysWebhook: Omit<{
2011
2011
  } | undefined;
2012
2012
  readonly scale?: number | undefined;
2013
2013
  readonly searchable?: boolean | undefined;
2014
- readonly unique?: boolean | "global" | undefined;
2014
+ readonly unique?: boolean | "global" | "organization" | undefined;
2015
2015
  readonly defaultValue?: unknown;
2016
2016
  readonly maxLength?: number | undefined;
2017
2017
  readonly minLength?: number | undefined;
@@ -2149,7 +2149,7 @@ declare const SysWebhook: Omit<{
2149
2149
  } | undefined;
2150
2150
  readonly scale?: number | undefined;
2151
2151
  readonly searchable?: boolean | undefined;
2152
- readonly unique?: boolean | "global" | undefined;
2152
+ readonly unique?: boolean | "global" | "organization" | undefined;
2153
2153
  readonly defaultValue?: unknown;
2154
2154
  readonly maxLength?: number | undefined;
2155
2155
  readonly minLength?: number | undefined;
@@ -2287,7 +2287,7 @@ declare const SysWebhook: Omit<{
2287
2287
  } | undefined;
2288
2288
  readonly scale?: number | undefined;
2289
2289
  readonly searchable?: boolean | undefined;
2290
- readonly unique?: boolean | "global" | undefined;
2290
+ readonly unique?: boolean | "global" | "organization" | undefined;
2291
2291
  readonly defaultValue?: unknown;
2292
2292
  readonly maxLength?: number | undefined;
2293
2293
  readonly minLength?: number | undefined;
@@ -2425,7 +2425,7 @@ declare const SysWebhook: Omit<{
2425
2425
  } | undefined;
2426
2426
  readonly scale?: number | undefined;
2427
2427
  readonly searchable?: boolean | undefined;
2428
- readonly unique?: boolean | "global" | undefined;
2428
+ readonly unique?: boolean | "global" | "organization" | undefined;
2429
2429
  readonly defaultValue?: unknown;
2430
2430
  readonly maxLength?: number | undefined;
2431
2431
  readonly minLength?: number | undefined;
@@ -2563,7 +2563,7 @@ declare const SysWebhook: Omit<{
2563
2563
  } | undefined;
2564
2564
  readonly scale?: number | undefined;
2565
2565
  readonly searchable?: boolean | undefined;
2566
- readonly unique?: boolean | "global" | undefined;
2566
+ readonly unique?: boolean | "global" | "organization" | undefined;
2567
2567
  readonly defaultValue?: unknown;
2568
2568
  readonly maxLength?: number | undefined;
2569
2569
  readonly minLength?: number | undefined;
@@ -2701,7 +2701,7 @@ declare const SysWebhook: Omit<{
2701
2701
  } | undefined;
2702
2702
  readonly scale?: number | undefined;
2703
2703
  readonly searchable?: boolean | undefined;
2704
- readonly unique?: boolean | "global" | undefined;
2704
+ readonly unique?: boolean | "global" | "organization" | undefined;
2705
2705
  readonly defaultValue?: unknown;
2706
2706
  readonly maxLength?: number | undefined;
2707
2707
  readonly minLength?: number | undefined;
@@ -2839,7 +2839,7 @@ declare const SysWebhook: Omit<{
2839
2839
  } | undefined;
2840
2840
  readonly scale?: number | undefined;
2841
2841
  readonly searchable?: boolean | undefined;
2842
- readonly unique?: boolean | "global" | undefined;
2842
+ readonly unique?: boolean | "global" | "organization" | undefined;
2843
2843
  readonly defaultValue?: unknown;
2844
2844
  readonly maxLength?: number | undefined;
2845
2845
  readonly minLength?: number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "17.0.0-rc.3",
3
+ "version": "17.0.0-rc.5",
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/service-messaging": "17.0.0-rc.3",
23
- "@objectstack/core": "17.0.0-rc.3",
24
- "@objectstack/spec": "17.0.0-rc.3"
22
+ "@objectstack/core": "17.0.0-rc.5",
23
+ "@objectstack/service-messaging": "17.0.0-rc.5",
24
+ "@objectstack/spec": "17.0.0-rc.5"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.2",