@objectstack/plugin-webhooks 17.0.0-rc.2 → 17.0.0-rc.4

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,5 +1,136 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 17.0.0-rc.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9fe9c1d]
8
+ - Updated dependencies [d4e0809]
9
+ - Updated dependencies [f724f69]
10
+ - Updated dependencies [28ad90e]
11
+ - Updated dependencies [f8644c7]
12
+ - Updated dependencies [306ca50]
13
+ - Updated dependencies [978fed2]
14
+ - Updated dependencies [cfc293f]
15
+ - Updated dependencies [de70b42]
16
+ - Updated dependencies [fb3d99b]
17
+ - Updated dependencies [cdfbee2]
18
+ - Updated dependencies [29c6c9d]
19
+ - Updated dependencies [d21c001]
20
+ - Updated dependencies [f1cc3a3]
21
+ - Updated dependencies [ddc2527]
22
+ - Updated dependencies [553a47f]
23
+ - Updated dependencies [a3a884d]
24
+ - Updated dependencies [cfed092]
25
+ - Updated dependencies [2e284b2]
26
+ - Updated dependencies [1b49eaf]
27
+ - Updated dependencies [0161c7f]
28
+ - Updated dependencies [e900015]
29
+ - Updated dependencies [b5bdf48]
30
+ - Updated dependencies [a019e52]
31
+ - Updated dependencies [64fc6d5]
32
+ - Updated dependencies [b746aa0]
33
+ - Updated dependencies [947d4f9]
34
+ - Updated dependencies [eaaf03c]
35
+ - Updated dependencies [d17df80]
36
+ - Updated dependencies [7d0e7b5]
37
+ - Updated dependencies [6513c17]
38
+ - Updated dependencies [c142ced]
39
+ - Updated dependencies [eda599e]
40
+ - Updated dependencies [c001422]
41
+ - Updated dependencies [77022a9]
42
+ - Updated dependencies [52760bf]
43
+ - Updated dependencies [5543020]
44
+ - Updated dependencies [880d343]
45
+ - Updated dependencies [6e82972]
46
+ - Updated dependencies [4615a18]
47
+ - Updated dependencies [7f62706]
48
+ - Updated dependencies [667fa44]
49
+ - Updated dependencies [37e38d1]
50
+ - Updated dependencies [1eb13a0]
51
+ - Updated dependencies [c52e608]
52
+ - Updated dependencies [4dfd002]
53
+ - Updated dependencies [77be690]
54
+ - Updated dependencies [811c30c]
55
+ - Updated dependencies [b49ccfd]
56
+ - Updated dependencies [85d95e7]
57
+ - Updated dependencies [168f60f]
58
+ - Updated dependencies [244ca86]
59
+ - Updated dependencies [546ab3c]
60
+ - Updated dependencies [0b51bb6]
61
+ - Updated dependencies [d9971d3]
62
+ - Updated dependencies [eb3e650]
63
+ - Updated dependencies [abeb375]
64
+ - Updated dependencies [ef4efa8]
65
+ - Updated dependencies [cbb6a5c]
66
+ - Updated dependencies [795b6e1]
67
+ - Updated dependencies [175d789]
68
+ - Updated dependencies [55dbbba]
69
+ - Updated dependencies [72c3c86]
70
+ - Updated dependencies [7f1a635]
71
+ - Updated dependencies [0f2fdcd]
72
+ - Updated dependencies [8ffa8b9]
73
+ - Updated dependencies [674ac99]
74
+ - Updated dependencies [502564d]
75
+ - Updated dependencies [471839d]
76
+ - Updated dependencies [46365ab]
77
+ - Updated dependencies [b508244]
78
+ - Updated dependencies [594508e]
79
+ - Updated dependencies [1c625ca]
80
+ - Updated dependencies [71f205d]
81
+ - Updated dependencies [414395b]
82
+ - Updated dependencies [c5adfe1]
83
+ - Updated dependencies [26e1029]
84
+ - Updated dependencies [108ba8d]
85
+ - Updated dependencies [b4ad984]
86
+ - Updated dependencies [a9f32df]
87
+ - Updated dependencies [aeb9b27]
88
+ - Updated dependencies [7d27da0]
89
+ - Updated dependencies [089767f]
90
+ - Updated dependencies [e4c8b6c]
91
+ - Updated dependencies [acb10f6]
92
+ - Updated dependencies [1c3da1f]
93
+ - Updated dependencies [a34fd2e]
94
+ - Updated dependencies [889ae47]
95
+ - Updated dependencies [4f4c3fb]
96
+ - Updated dependencies [7adc841]
97
+ - Updated dependencies [4845f85]
98
+ - Updated dependencies [7b005b4]
99
+ - Updated dependencies [94f7b6a]
100
+ - Updated dependencies [5c94f83]
101
+ - Updated dependencies [73e576f]
102
+ - Updated dependencies [c5a5996]
103
+ - Updated dependencies [ae490ef]
104
+ - Updated dependencies [9c90ea0]
105
+ - Updated dependencies [f61c8cf]
106
+ - Updated dependencies [e3ef52b]
107
+ - Updated dependencies [07f1822]
108
+ - Updated dependencies [04fab5e]
109
+ - Updated dependencies [efedd28]
110
+ - Updated dependencies [5278e11]
111
+ - Updated dependencies [23dba62]
112
+ - Updated dependencies [ba98e26]
113
+ - Updated dependencies [fc5f536]
114
+ - Updated dependencies [f8cfbb4]
115
+ - Updated dependencies [c89d18c]
116
+ - Updated dependencies [aac90a5]
117
+ - Updated dependencies [1e6ab15]
118
+ - Updated dependencies [c87ef70]
119
+ - Updated dependencies [3cb0618]
120
+ - Updated dependencies [32a0874]
121
+ - Updated dependencies [7055c22]
122
+ - Updated dependencies [785a748]
123
+ - Updated dependencies [3af0354]
124
+ - Updated dependencies [866ff16]
125
+ - Updated dependencies [5a85e67]
126
+ - Updated dependencies [c183a12]
127
+ - Updated dependencies [8064b07]
128
+ - Updated dependencies [4a56dbd]
129
+ - Updated dependencies [06df4fa]
130
+ - @objectstack/spec@17.0.0-rc.4
131
+ - @objectstack/core@17.0.0-rc.4
132
+ - @objectstack/service-messaging@17.0.0-rc.4
133
+
3
134
  ## 17.0.0-rc.2
4
135
 
5
136
  ### Minor Changes
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,12 +630,13 @@ 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;
637
637
  default?: unknown;
638
638
  options?: {
639
+ [x: string]: unknown;
639
640
  label: string;
640
641
  value: string | number | boolean;
641
642
  }[] | undefined;
@@ -768,7 +769,7 @@ declare const SysWebhook: Omit<{
768
769
  field?: string | undefined;
769
770
  objectOverride?: string | undefined;
770
771
  label?: string | undefined;
771
- 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;
772
773
  options?: {
773
774
  label: string;
774
775
  value: string;
@@ -790,7 +791,7 @@ declare const SysWebhook: Omit<{
790
791
  generatedBy?: string | undefined;
791
792
  } | undefined;
792
793
  } | undefined;
793
- 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;
794
795
  }, "requiresFeature">[] | undefined;
795
796
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
796
797
  order?: number | undefined;
@@ -818,7 +819,7 @@ declare const SysWebhook: Omit<{
818
819
  generatedBy?: string | undefined;
819
820
  } | undefined;
820
821
  } | undefined;
821
- 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;
822
823
  disabled?: boolean | {
823
824
  dialect: "cel" | "cron" | "template";
824
825
  source?: string | undefined;
@@ -848,7 +849,7 @@ declare const SysWebhook: Omit<{
848
849
  bodyShape?: "flat" | {
849
850
  wrap: string;
850
851
  } | undefined;
851
- method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
852
+ method?: "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
852
853
  bodyExtra?: Record<string, unknown> | undefined;
853
854
  mode?: "custom" | "delete" | "edit" | "create" | undefined;
854
855
  opensInNewTab?: boolean | undefined;
@@ -1044,7 +1045,7 @@ declare const SysWebhook: Omit<{
1044
1045
  } | undefined;
1045
1046
  readonly scale?: number | undefined;
1046
1047
  readonly searchable?: boolean | undefined;
1047
- readonly unique?: boolean | "global" | undefined;
1048
+ readonly unique?: boolean | "global" | "organization" | undefined;
1048
1049
  readonly defaultValue?: unknown;
1049
1050
  readonly maxLength?: number | undefined;
1050
1051
  readonly minLength?: number | undefined;
@@ -1182,7 +1183,7 @@ declare const SysWebhook: Omit<{
1182
1183
  } | undefined;
1183
1184
  readonly scale?: number | undefined;
1184
1185
  readonly searchable?: boolean | undefined;
1185
- readonly unique?: boolean | "global" | undefined;
1186
+ readonly unique?: boolean | "global" | "organization" | undefined;
1186
1187
  readonly defaultValue?: unknown;
1187
1188
  readonly maxLength?: number | undefined;
1188
1189
  readonly minLength?: number | undefined;
@@ -1320,7 +1321,7 @@ declare const SysWebhook: Omit<{
1320
1321
  } | undefined;
1321
1322
  readonly scale?: number | undefined;
1322
1323
  readonly searchable?: boolean | undefined;
1323
- readonly unique?: boolean | "global" | undefined;
1324
+ readonly unique?: boolean | "global" | "organization" | undefined;
1324
1325
  readonly defaultValue?: unknown;
1325
1326
  readonly maxLength?: number | undefined;
1326
1327
  readonly minLength?: number | undefined;
@@ -1458,7 +1459,7 @@ declare const SysWebhook: Omit<{
1458
1459
  } | undefined;
1459
1460
  readonly scale?: number | undefined;
1460
1461
  readonly searchable?: boolean | undefined;
1461
- readonly unique?: boolean | "global" | undefined;
1462
+ readonly unique?: boolean | "global" | "organization" | undefined;
1462
1463
  readonly defaultValue?: unknown;
1463
1464
  readonly maxLength?: number | undefined;
1464
1465
  readonly minLength?: number | undefined;
@@ -1596,7 +1597,7 @@ declare const SysWebhook: Omit<{
1596
1597
  } | undefined;
1597
1598
  readonly scale?: number | undefined;
1598
1599
  readonly searchable?: boolean | undefined;
1599
- readonly unique?: boolean | "global" | undefined;
1600
+ readonly unique?: boolean | "global" | "organization" | undefined;
1600
1601
  readonly defaultValue?: unknown;
1601
1602
  readonly maxLength?: number | undefined;
1602
1603
  readonly minLength?: number | undefined;
@@ -1734,7 +1735,7 @@ declare const SysWebhook: Omit<{
1734
1735
  } | undefined;
1735
1736
  readonly scale?: number | undefined;
1736
1737
  readonly searchable?: boolean | undefined;
1737
- readonly unique?: boolean | "global" | undefined;
1738
+ readonly unique?: boolean | "global" | "organization" | undefined;
1738
1739
  readonly defaultValue?: unknown;
1739
1740
  readonly maxLength?: number | undefined;
1740
1741
  readonly minLength?: number | undefined;
@@ -1872,7 +1873,7 @@ declare const SysWebhook: Omit<{
1872
1873
  } | undefined;
1873
1874
  readonly scale?: number | undefined;
1874
1875
  readonly searchable?: boolean | undefined;
1875
- readonly unique?: boolean | "global" | undefined;
1876
+ readonly unique?: boolean | "global" | "organization" | undefined;
1876
1877
  readonly defaultValue?: unknown;
1877
1878
  readonly maxLength?: number | undefined;
1878
1879
  readonly minLength?: number | undefined;
@@ -2010,7 +2011,7 @@ declare const SysWebhook: Omit<{
2010
2011
  } | undefined;
2011
2012
  readonly scale?: number | undefined;
2012
2013
  readonly searchable?: boolean | undefined;
2013
- readonly unique?: boolean | "global" | undefined;
2014
+ readonly unique?: boolean | "global" | "organization" | undefined;
2014
2015
  readonly defaultValue?: unknown;
2015
2016
  readonly maxLength?: number | undefined;
2016
2017
  readonly minLength?: number | undefined;
@@ -2148,7 +2149,7 @@ declare const SysWebhook: Omit<{
2148
2149
  } | undefined;
2149
2150
  readonly scale?: number | undefined;
2150
2151
  readonly searchable?: boolean | undefined;
2151
- readonly unique?: boolean | "global" | undefined;
2152
+ readonly unique?: boolean | "global" | "organization" | undefined;
2152
2153
  readonly defaultValue?: unknown;
2153
2154
  readonly maxLength?: number | undefined;
2154
2155
  readonly minLength?: number | undefined;
@@ -2286,7 +2287,7 @@ declare const SysWebhook: Omit<{
2286
2287
  } | undefined;
2287
2288
  readonly scale?: number | undefined;
2288
2289
  readonly searchable?: boolean | undefined;
2289
- readonly unique?: boolean | "global" | undefined;
2290
+ readonly unique?: boolean | "global" | "organization" | undefined;
2290
2291
  readonly defaultValue?: unknown;
2291
2292
  readonly maxLength?: number | undefined;
2292
2293
  readonly minLength?: number | undefined;
@@ -2424,7 +2425,7 @@ declare const SysWebhook: Omit<{
2424
2425
  } | undefined;
2425
2426
  readonly scale?: number | undefined;
2426
2427
  readonly searchable?: boolean | undefined;
2427
- readonly unique?: boolean | "global" | undefined;
2428
+ readonly unique?: boolean | "global" | "organization" | undefined;
2428
2429
  readonly defaultValue?: unknown;
2429
2430
  readonly maxLength?: number | undefined;
2430
2431
  readonly minLength?: number | undefined;
@@ -2562,7 +2563,7 @@ declare const SysWebhook: Omit<{
2562
2563
  } | undefined;
2563
2564
  readonly scale?: number | undefined;
2564
2565
  readonly searchable?: boolean | undefined;
2565
- readonly unique?: boolean | "global" | undefined;
2566
+ readonly unique?: boolean | "global" | "organization" | undefined;
2566
2567
  readonly defaultValue?: unknown;
2567
2568
  readonly maxLength?: number | undefined;
2568
2569
  readonly minLength?: number | undefined;
@@ -2700,7 +2701,7 @@ declare const SysWebhook: Omit<{
2700
2701
  } | undefined;
2701
2702
  readonly scale?: number | undefined;
2702
2703
  readonly searchable?: boolean | undefined;
2703
- readonly unique?: boolean | "global" | undefined;
2704
+ readonly unique?: boolean | "global" | "organization" | undefined;
2704
2705
  readonly defaultValue?: unknown;
2705
2706
  readonly maxLength?: number | undefined;
2706
2707
  readonly minLength?: number | undefined;
@@ -2838,7 +2839,7 @@ declare const SysWebhook: Omit<{
2838
2839
  } | undefined;
2839
2840
  readonly scale?: number | undefined;
2840
2841
  readonly searchable?: boolean | undefined;
2841
- readonly unique?: boolean | "global" | undefined;
2842
+ readonly unique?: boolean | "global" | "organization" | undefined;
2842
2843
  readonly defaultValue?: unknown;
2843
2844
  readonly maxLength?: number | undefined;
2844
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,12 +630,13 @@ 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;
637
637
  default?: unknown;
638
638
  options?: {
639
+ [x: string]: unknown;
639
640
  label: string;
640
641
  value: string | number | boolean;
641
642
  }[] | undefined;
@@ -768,7 +769,7 @@ declare const SysWebhook: Omit<{
768
769
  field?: string | undefined;
769
770
  objectOverride?: string | undefined;
770
771
  label?: string | undefined;
771
- 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;
772
773
  options?: {
773
774
  label: string;
774
775
  value: string;
@@ -790,7 +791,7 @@ declare const SysWebhook: Omit<{
790
791
  generatedBy?: string | undefined;
791
792
  } | undefined;
792
793
  } | undefined;
793
- 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;
794
795
  }, "requiresFeature">[] | undefined;
795
796
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
796
797
  order?: number | undefined;
@@ -818,7 +819,7 @@ declare const SysWebhook: Omit<{
818
819
  generatedBy?: string | undefined;
819
820
  } | undefined;
820
821
  } | undefined;
821
- 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;
822
823
  disabled?: boolean | {
823
824
  dialect: "cel" | "cron" | "template";
824
825
  source?: string | undefined;
@@ -848,7 +849,7 @@ declare const SysWebhook: Omit<{
848
849
  bodyShape?: "flat" | {
849
850
  wrap: string;
850
851
  } | undefined;
851
- method?: "POST" | "PATCH" | "PUT" | "DELETE" | undefined;
852
+ method?: "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
852
853
  bodyExtra?: Record<string, unknown> | undefined;
853
854
  mode?: "custom" | "delete" | "edit" | "create" | undefined;
854
855
  opensInNewTab?: boolean | undefined;
@@ -1044,7 +1045,7 @@ declare const SysWebhook: Omit<{
1044
1045
  } | undefined;
1045
1046
  readonly scale?: number | undefined;
1046
1047
  readonly searchable?: boolean | undefined;
1047
- readonly unique?: boolean | "global" | undefined;
1048
+ readonly unique?: boolean | "global" | "organization" | undefined;
1048
1049
  readonly defaultValue?: unknown;
1049
1050
  readonly maxLength?: number | undefined;
1050
1051
  readonly minLength?: number | undefined;
@@ -1182,7 +1183,7 @@ declare const SysWebhook: Omit<{
1182
1183
  } | undefined;
1183
1184
  readonly scale?: number | undefined;
1184
1185
  readonly searchable?: boolean | undefined;
1185
- readonly unique?: boolean | "global" | undefined;
1186
+ readonly unique?: boolean | "global" | "organization" | undefined;
1186
1187
  readonly defaultValue?: unknown;
1187
1188
  readonly maxLength?: number | undefined;
1188
1189
  readonly minLength?: number | undefined;
@@ -1320,7 +1321,7 @@ declare const SysWebhook: Omit<{
1320
1321
  } | undefined;
1321
1322
  readonly scale?: number | undefined;
1322
1323
  readonly searchable?: boolean | undefined;
1323
- readonly unique?: boolean | "global" | undefined;
1324
+ readonly unique?: boolean | "global" | "organization" | undefined;
1324
1325
  readonly defaultValue?: unknown;
1325
1326
  readonly maxLength?: number | undefined;
1326
1327
  readonly minLength?: number | undefined;
@@ -1458,7 +1459,7 @@ declare const SysWebhook: Omit<{
1458
1459
  } | undefined;
1459
1460
  readonly scale?: number | undefined;
1460
1461
  readonly searchable?: boolean | undefined;
1461
- readonly unique?: boolean | "global" | undefined;
1462
+ readonly unique?: boolean | "global" | "organization" | undefined;
1462
1463
  readonly defaultValue?: unknown;
1463
1464
  readonly maxLength?: number | undefined;
1464
1465
  readonly minLength?: number | undefined;
@@ -1596,7 +1597,7 @@ declare const SysWebhook: Omit<{
1596
1597
  } | undefined;
1597
1598
  readonly scale?: number | undefined;
1598
1599
  readonly searchable?: boolean | undefined;
1599
- readonly unique?: boolean | "global" | undefined;
1600
+ readonly unique?: boolean | "global" | "organization" | undefined;
1600
1601
  readonly defaultValue?: unknown;
1601
1602
  readonly maxLength?: number | undefined;
1602
1603
  readonly minLength?: number | undefined;
@@ -1734,7 +1735,7 @@ declare const SysWebhook: Omit<{
1734
1735
  } | undefined;
1735
1736
  readonly scale?: number | undefined;
1736
1737
  readonly searchable?: boolean | undefined;
1737
- readonly unique?: boolean | "global" | undefined;
1738
+ readonly unique?: boolean | "global" | "organization" | undefined;
1738
1739
  readonly defaultValue?: unknown;
1739
1740
  readonly maxLength?: number | undefined;
1740
1741
  readonly minLength?: number | undefined;
@@ -1872,7 +1873,7 @@ declare const SysWebhook: Omit<{
1872
1873
  } | undefined;
1873
1874
  readonly scale?: number | undefined;
1874
1875
  readonly searchable?: boolean | undefined;
1875
- readonly unique?: boolean | "global" | undefined;
1876
+ readonly unique?: boolean | "global" | "organization" | undefined;
1876
1877
  readonly defaultValue?: unknown;
1877
1878
  readonly maxLength?: number | undefined;
1878
1879
  readonly minLength?: number | undefined;
@@ -2010,7 +2011,7 @@ declare const SysWebhook: Omit<{
2010
2011
  } | undefined;
2011
2012
  readonly scale?: number | undefined;
2012
2013
  readonly searchable?: boolean | undefined;
2013
- readonly unique?: boolean | "global" | undefined;
2014
+ readonly unique?: boolean | "global" | "organization" | undefined;
2014
2015
  readonly defaultValue?: unknown;
2015
2016
  readonly maxLength?: number | undefined;
2016
2017
  readonly minLength?: number | undefined;
@@ -2148,7 +2149,7 @@ declare const SysWebhook: Omit<{
2148
2149
  } | undefined;
2149
2150
  readonly scale?: number | undefined;
2150
2151
  readonly searchable?: boolean | undefined;
2151
- readonly unique?: boolean | "global" | undefined;
2152
+ readonly unique?: boolean | "global" | "organization" | undefined;
2152
2153
  readonly defaultValue?: unknown;
2153
2154
  readonly maxLength?: number | undefined;
2154
2155
  readonly minLength?: number | undefined;
@@ -2286,7 +2287,7 @@ declare const SysWebhook: Omit<{
2286
2287
  } | undefined;
2287
2288
  readonly scale?: number | undefined;
2288
2289
  readonly searchable?: boolean | undefined;
2289
- readonly unique?: boolean | "global" | undefined;
2290
+ readonly unique?: boolean | "global" | "organization" | undefined;
2290
2291
  readonly defaultValue?: unknown;
2291
2292
  readonly maxLength?: number | undefined;
2292
2293
  readonly minLength?: number | undefined;
@@ -2424,7 +2425,7 @@ declare const SysWebhook: Omit<{
2424
2425
  } | undefined;
2425
2426
  readonly scale?: number | undefined;
2426
2427
  readonly searchable?: boolean | undefined;
2427
- readonly unique?: boolean | "global" | undefined;
2428
+ readonly unique?: boolean | "global" | "organization" | undefined;
2428
2429
  readonly defaultValue?: unknown;
2429
2430
  readonly maxLength?: number | undefined;
2430
2431
  readonly minLength?: number | undefined;
@@ -2562,7 +2563,7 @@ declare const SysWebhook: Omit<{
2562
2563
  } | undefined;
2563
2564
  readonly scale?: number | undefined;
2564
2565
  readonly searchable?: boolean | undefined;
2565
- readonly unique?: boolean | "global" | undefined;
2566
+ readonly unique?: boolean | "global" | "organization" | undefined;
2566
2567
  readonly defaultValue?: unknown;
2567
2568
  readonly maxLength?: number | undefined;
2568
2569
  readonly minLength?: number | undefined;
@@ -2700,7 +2701,7 @@ declare const SysWebhook: Omit<{
2700
2701
  } | undefined;
2701
2702
  readonly scale?: number | undefined;
2702
2703
  readonly searchable?: boolean | undefined;
2703
- readonly unique?: boolean | "global" | undefined;
2704
+ readonly unique?: boolean | "global" | "organization" | undefined;
2704
2705
  readonly defaultValue?: unknown;
2705
2706
  readonly maxLength?: number | undefined;
2706
2707
  readonly minLength?: number | undefined;
@@ -2838,7 +2839,7 @@ declare const SysWebhook: Omit<{
2838
2839
  } | undefined;
2839
2840
  readonly scale?: number | undefined;
2840
2841
  readonly searchable?: boolean | undefined;
2841
- readonly unique?: boolean | "global" | undefined;
2842
+ readonly unique?: boolean | "global" | "organization" | undefined;
2842
2843
  readonly defaultValue?: unknown;
2843
2844
  readonly maxLength?: number | undefined;
2844
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.2",
3
+ "version": "17.0.0-rc.4",
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": "17.0.0-rc.2",
23
- "@objectstack/service-messaging": "17.0.0-rc.2",
24
- "@objectstack/spec": "17.0.0-rc.2"
22
+ "@objectstack/core": "17.0.0-rc.4",
23
+ "@objectstack/service-messaging": "17.0.0-rc.4",
24
+ "@objectstack/spec": "17.0.0-rc.4"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.2",