@objectstack/plugin-webhooks 17.0.0-rc.3 → 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 +129 -7
- package/dist/schema.d.cts +27 -27
- package/dist/schema.d.ts +27 -27
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,135 @@
|
|
|
1
1
|
# @objectstack/plugin-webhooks
|
|
2
2
|
|
|
3
|
-
## 17.0.0-rc.
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
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]
|
|
7
25
|
- Updated dependencies [2e284b2]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
11
133
|
|
|
12
134
|
## 17.0.0-rc.2
|
|
13
135
|
|
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" | "
|
|
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
|
-
|
|
326
|
-
unique: boolean | "global";
|
|
325
|
+
unique: boolean | "global" | "organization";
|
|
327
326
|
name?: string | undefined;
|
|
328
|
-
|
|
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
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
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" | "
|
|
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" | "
|
|
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
|
-
|
|
326
|
-
unique: boolean | "global";
|
|
325
|
+
unique: boolean | "global" | "organization";
|
|
327
326
|
name?: string | undefined;
|
|
328
|
-
|
|
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
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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?: "
|
|
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?: "
|
|
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" | "
|
|
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
|
+
"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/
|
|
23
|
-
"@objectstack/
|
|
24
|
-
"@objectstack/spec": "17.0.0-rc.
|
|
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",
|