@objectstack/plugin-approvals 10.2.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +87 -0
- package/LICENSE +202 -93
- package/dist/index.d.mts +94 -9
- package/dist/index.d.ts +94 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/approval-service.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,7 +31,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
31
31
|
abstract: boolean;
|
|
32
32
|
datasource: string;
|
|
33
33
|
fields: Record<string, {
|
|
34
|
-
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
34
|
+
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
35
35
|
required: boolean;
|
|
36
36
|
searchable: boolean;
|
|
37
37
|
multiple: boolean;
|
|
@@ -105,6 +105,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
105
105
|
generatedBy?: string | undefined;
|
|
106
106
|
} | undefined;
|
|
107
107
|
} | undefined;
|
|
108
|
+
returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
108
109
|
summaryOperations?: {
|
|
109
110
|
object: string;
|
|
110
111
|
field: string;
|
|
@@ -239,6 +240,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
239
240
|
generatedBy?: string | undefined;
|
|
240
241
|
} | undefined;
|
|
241
242
|
} | undefined;
|
|
243
|
+
requiredPermissions?: string[] | undefined;
|
|
242
244
|
system?: boolean | undefined;
|
|
243
245
|
inlineHelpText?: string | undefined;
|
|
244
246
|
caseSensitive?: boolean | undefined;
|
|
@@ -314,6 +316,10 @@ declare const SysApprovalRequest: Omit<{
|
|
|
314
316
|
tenantField: string;
|
|
315
317
|
crossTenantAccess: boolean;
|
|
316
318
|
} | undefined;
|
|
319
|
+
access?: {
|
|
320
|
+
default: "public" | "private";
|
|
321
|
+
} | undefined;
|
|
322
|
+
requiredPermissions?: string[] | undefined;
|
|
317
323
|
softDelete?: {
|
|
318
324
|
enabled: boolean;
|
|
319
325
|
field: string;
|
|
@@ -680,7 +686,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
680
686
|
clone: boolean;
|
|
681
687
|
apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
|
|
682
688
|
} | undefined;
|
|
683
|
-
sharingModel?: "full" | "
|
|
689
|
+
sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
|
|
684
690
|
publicSharing?: {
|
|
685
691
|
enabled: boolean;
|
|
686
692
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -723,7 +729,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
723
729
|
field?: string | undefined;
|
|
724
730
|
objectOverride?: string | undefined;
|
|
725
731
|
label?: string | undefined;
|
|
726
|
-
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
732
|
+
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
727
733
|
options?: {
|
|
728
734
|
label: string;
|
|
729
735
|
value: string;
|
|
@@ -767,6 +773,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
767
773
|
generatedBy?: string | undefined;
|
|
768
774
|
} | undefined;
|
|
769
775
|
} | undefined;
|
|
776
|
+
requiredPermissions?: string[] | undefined;
|
|
770
777
|
shortcut?: string | undefined;
|
|
771
778
|
bulkEnabled?: boolean | undefined;
|
|
772
779
|
ai?: {
|
|
@@ -922,10 +929,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
922
929
|
readonly name?: string | undefined;
|
|
923
930
|
readonly precision?: number | undefined;
|
|
924
931
|
readonly required?: boolean | undefined;
|
|
932
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
925
933
|
readonly multiple?: boolean | undefined;
|
|
926
934
|
readonly dependencies?: string[] | undefined;
|
|
927
935
|
readonly externalId?: boolean | undefined;
|
|
928
936
|
readonly defaultValue?: unknown;
|
|
937
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
929
938
|
readonly group?: string | undefined;
|
|
930
939
|
readonly hidden?: boolean | undefined;
|
|
931
940
|
readonly system?: boolean | undefined;
|
|
@@ -1096,10 +1105,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1096
1105
|
readonly name?: string | undefined;
|
|
1097
1106
|
readonly precision?: number | undefined;
|
|
1098
1107
|
readonly required?: boolean | undefined;
|
|
1108
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1099
1109
|
readonly multiple?: boolean | undefined;
|
|
1100
1110
|
readonly dependencies?: string[] | undefined;
|
|
1101
1111
|
readonly externalId?: boolean | undefined;
|
|
1102
1112
|
readonly defaultValue?: unknown;
|
|
1113
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1103
1114
|
readonly group?: string | undefined;
|
|
1104
1115
|
readonly hidden?: boolean | undefined;
|
|
1105
1116
|
readonly system?: boolean | undefined;
|
|
@@ -1270,10 +1281,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1270
1281
|
readonly name?: string | undefined;
|
|
1271
1282
|
readonly precision?: number | undefined;
|
|
1272
1283
|
readonly required?: boolean | undefined;
|
|
1284
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1273
1285
|
readonly multiple?: boolean | undefined;
|
|
1274
1286
|
readonly dependencies?: string[] | undefined;
|
|
1275
1287
|
readonly externalId?: boolean | undefined;
|
|
1276
1288
|
readonly defaultValue?: unknown;
|
|
1289
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1277
1290
|
readonly group?: string | undefined;
|
|
1278
1291
|
readonly hidden?: boolean | undefined;
|
|
1279
1292
|
readonly system?: boolean | undefined;
|
|
@@ -1444,10 +1457,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1444
1457
|
readonly name?: string | undefined;
|
|
1445
1458
|
readonly precision?: number | undefined;
|
|
1446
1459
|
readonly required?: boolean | undefined;
|
|
1460
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1447
1461
|
readonly multiple?: boolean | undefined;
|
|
1448
1462
|
readonly dependencies?: string[] | undefined;
|
|
1449
1463
|
readonly externalId?: boolean | undefined;
|
|
1450
1464
|
readonly defaultValue?: unknown;
|
|
1465
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1451
1466
|
readonly group?: string | undefined;
|
|
1452
1467
|
readonly hidden?: boolean | undefined;
|
|
1453
1468
|
readonly system?: boolean | undefined;
|
|
@@ -1618,10 +1633,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1618
1633
|
readonly name?: string | undefined;
|
|
1619
1634
|
readonly precision?: number | undefined;
|
|
1620
1635
|
readonly required?: boolean | undefined;
|
|
1636
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1621
1637
|
readonly multiple?: boolean | undefined;
|
|
1622
1638
|
readonly dependencies?: string[] | undefined;
|
|
1623
1639
|
readonly externalId?: boolean | undefined;
|
|
1624
1640
|
readonly defaultValue?: unknown;
|
|
1641
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1625
1642
|
readonly group?: string | undefined;
|
|
1626
1643
|
readonly hidden?: boolean | undefined;
|
|
1627
1644
|
readonly system?: boolean | undefined;
|
|
@@ -1792,10 +1809,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1792
1809
|
readonly name?: string | undefined;
|
|
1793
1810
|
readonly precision?: number | undefined;
|
|
1794
1811
|
readonly required?: boolean | undefined;
|
|
1812
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1795
1813
|
readonly multiple?: boolean | undefined;
|
|
1796
1814
|
readonly dependencies?: string[] | undefined;
|
|
1797
1815
|
readonly externalId?: boolean | undefined;
|
|
1798
1816
|
readonly defaultValue?: unknown;
|
|
1817
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1799
1818
|
readonly group?: string | undefined;
|
|
1800
1819
|
readonly hidden?: boolean | undefined;
|
|
1801
1820
|
readonly system?: boolean | undefined;
|
|
@@ -1966,10 +1985,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
1966
1985
|
readonly name?: string | undefined;
|
|
1967
1986
|
readonly precision?: number | undefined;
|
|
1968
1987
|
readonly required?: boolean | undefined;
|
|
1988
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
1969
1989
|
readonly multiple?: boolean | undefined;
|
|
1970
1990
|
readonly dependencies?: string[] | undefined;
|
|
1971
1991
|
readonly externalId?: boolean | undefined;
|
|
1972
1992
|
readonly defaultValue?: unknown;
|
|
1993
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
1973
1994
|
readonly group?: string | undefined;
|
|
1974
1995
|
readonly hidden?: boolean | undefined;
|
|
1975
1996
|
readonly system?: boolean | undefined;
|
|
@@ -2140,10 +2161,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2140
2161
|
readonly name?: string | undefined;
|
|
2141
2162
|
readonly precision?: number | undefined;
|
|
2142
2163
|
readonly required?: boolean | undefined;
|
|
2164
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
2143
2165
|
readonly multiple?: boolean | undefined;
|
|
2144
2166
|
readonly dependencies?: string[] | undefined;
|
|
2145
2167
|
readonly externalId?: boolean | undefined;
|
|
2146
2168
|
readonly defaultValue?: unknown;
|
|
2169
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
2147
2170
|
readonly group?: string | undefined;
|
|
2148
2171
|
readonly hidden?: boolean | undefined;
|
|
2149
2172
|
readonly system?: boolean | undefined;
|
|
@@ -2314,10 +2337,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2314
2337
|
readonly name?: string | undefined;
|
|
2315
2338
|
readonly precision?: number | undefined;
|
|
2316
2339
|
readonly required?: boolean | undefined;
|
|
2340
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
2317
2341
|
readonly multiple?: boolean | undefined;
|
|
2318
2342
|
readonly dependencies?: string[] | undefined;
|
|
2319
2343
|
readonly externalId?: boolean | undefined;
|
|
2320
2344
|
readonly defaultValue?: unknown;
|
|
2345
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
2321
2346
|
readonly group?: string | undefined;
|
|
2322
2347
|
readonly hidden?: boolean | undefined;
|
|
2323
2348
|
readonly system?: boolean | undefined;
|
|
@@ -2488,10 +2513,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2488
2513
|
readonly name?: string | undefined;
|
|
2489
2514
|
readonly precision?: number | undefined;
|
|
2490
2515
|
readonly required?: boolean | undefined;
|
|
2516
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
2491
2517
|
readonly multiple?: boolean | undefined;
|
|
2492
2518
|
readonly dependencies?: string[] | undefined;
|
|
2493
2519
|
readonly externalId?: boolean | undefined;
|
|
2494
2520
|
readonly defaultValue?: unknown;
|
|
2521
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
2495
2522
|
readonly group?: string | undefined;
|
|
2496
2523
|
readonly hidden?: boolean | undefined;
|
|
2497
2524
|
readonly system?: boolean | undefined;
|
|
@@ -2662,10 +2689,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2662
2689
|
readonly name?: string | undefined;
|
|
2663
2690
|
readonly precision?: number | undefined;
|
|
2664
2691
|
readonly required?: boolean | undefined;
|
|
2692
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
2665
2693
|
readonly multiple?: boolean | undefined;
|
|
2666
2694
|
readonly dependencies?: string[] | undefined;
|
|
2667
2695
|
readonly externalId?: boolean | undefined;
|
|
2668
2696
|
readonly defaultValue?: unknown;
|
|
2697
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
2669
2698
|
readonly group?: string | undefined;
|
|
2670
2699
|
readonly hidden?: boolean | undefined;
|
|
2671
2700
|
readonly system?: boolean | undefined;
|
|
@@ -2836,10 +2865,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
2836
2865
|
readonly name?: string | undefined;
|
|
2837
2866
|
readonly precision?: number | undefined;
|
|
2838
2867
|
readonly required?: boolean | undefined;
|
|
2868
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
2839
2869
|
readonly multiple?: boolean | undefined;
|
|
2840
2870
|
readonly dependencies?: string[] | undefined;
|
|
2841
2871
|
readonly externalId?: boolean | undefined;
|
|
2842
2872
|
readonly defaultValue?: unknown;
|
|
2873
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
2843
2874
|
readonly group?: string | undefined;
|
|
2844
2875
|
readonly hidden?: boolean | undefined;
|
|
2845
2876
|
readonly system?: boolean | undefined;
|
|
@@ -3010,10 +3041,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3010
3041
|
readonly name?: string | undefined;
|
|
3011
3042
|
readonly precision?: number | undefined;
|
|
3012
3043
|
readonly required?: boolean | undefined;
|
|
3044
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3013
3045
|
readonly multiple?: boolean | undefined;
|
|
3014
3046
|
readonly dependencies?: string[] | undefined;
|
|
3015
3047
|
readonly externalId?: boolean | undefined;
|
|
3016
3048
|
readonly defaultValue?: unknown;
|
|
3049
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3017
3050
|
readonly group?: string | undefined;
|
|
3018
3051
|
readonly hidden?: boolean | undefined;
|
|
3019
3052
|
readonly system?: boolean | undefined;
|
|
@@ -3184,10 +3217,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3184
3217
|
readonly name?: string | undefined;
|
|
3185
3218
|
readonly precision?: number | undefined;
|
|
3186
3219
|
readonly required?: boolean | undefined;
|
|
3220
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3187
3221
|
readonly multiple?: boolean | undefined;
|
|
3188
3222
|
readonly dependencies?: string[] | undefined;
|
|
3189
3223
|
readonly externalId?: boolean | undefined;
|
|
3190
3224
|
readonly defaultValue?: unknown;
|
|
3225
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3191
3226
|
readonly group?: string | undefined;
|
|
3192
3227
|
readonly hidden?: boolean | undefined;
|
|
3193
3228
|
readonly system?: boolean | undefined;
|
|
@@ -3358,10 +3393,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3358
3393
|
readonly name?: string | undefined;
|
|
3359
3394
|
readonly precision?: number | undefined;
|
|
3360
3395
|
readonly required?: boolean | undefined;
|
|
3396
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3361
3397
|
readonly multiple?: boolean | undefined;
|
|
3362
3398
|
readonly dependencies?: string[] | undefined;
|
|
3363
3399
|
readonly externalId?: boolean | undefined;
|
|
3364
3400
|
readonly defaultValue?: unknown;
|
|
3401
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3365
3402
|
readonly group?: string | undefined;
|
|
3366
3403
|
readonly hidden?: boolean | undefined;
|
|
3367
3404
|
readonly system?: boolean | undefined;
|
|
@@ -3532,10 +3569,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3532
3569
|
readonly name?: string | undefined;
|
|
3533
3570
|
readonly precision?: number | undefined;
|
|
3534
3571
|
readonly required?: boolean | undefined;
|
|
3572
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3535
3573
|
readonly multiple?: boolean | undefined;
|
|
3536
3574
|
readonly dependencies?: string[] | undefined;
|
|
3537
3575
|
readonly externalId?: boolean | undefined;
|
|
3538
3576
|
readonly defaultValue?: unknown;
|
|
3577
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3539
3578
|
readonly group?: string | undefined;
|
|
3540
3579
|
readonly hidden?: boolean | undefined;
|
|
3541
3580
|
readonly system?: boolean | undefined;
|
|
@@ -3706,10 +3745,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3706
3745
|
readonly name?: string | undefined;
|
|
3707
3746
|
readonly precision?: number | undefined;
|
|
3708
3747
|
readonly required?: boolean | undefined;
|
|
3748
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3709
3749
|
readonly multiple?: boolean | undefined;
|
|
3710
3750
|
readonly dependencies?: string[] | undefined;
|
|
3711
3751
|
readonly externalId?: boolean | undefined;
|
|
3712
3752
|
readonly defaultValue?: unknown;
|
|
3753
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3713
3754
|
readonly group?: string | undefined;
|
|
3714
3755
|
readonly hidden?: boolean | undefined;
|
|
3715
3756
|
readonly system?: boolean | undefined;
|
|
@@ -3880,10 +3921,12 @@ declare const SysApprovalRequest: Omit<{
|
|
|
3880
3921
|
readonly name?: string | undefined;
|
|
3881
3922
|
readonly precision?: number | undefined;
|
|
3882
3923
|
readonly required?: boolean | undefined;
|
|
3924
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
3883
3925
|
readonly multiple?: boolean | undefined;
|
|
3884
3926
|
readonly dependencies?: string[] | undefined;
|
|
3885
3927
|
readonly externalId?: boolean | undefined;
|
|
3886
3928
|
readonly defaultValue?: unknown;
|
|
3929
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
3887
3930
|
readonly group?: string | undefined;
|
|
3888
3931
|
readonly hidden?: boolean | undefined;
|
|
3889
3932
|
readonly system?: boolean | undefined;
|
|
@@ -4070,7 +4113,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4070
4113
|
abstract: boolean;
|
|
4071
4114
|
datasource: string;
|
|
4072
4115
|
fields: Record<string, {
|
|
4073
|
-
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
4116
|
+
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
4074
4117
|
required: boolean;
|
|
4075
4118
|
searchable: boolean;
|
|
4076
4119
|
multiple: boolean;
|
|
@@ -4144,6 +4187,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4144
4187
|
generatedBy?: string | undefined;
|
|
4145
4188
|
} | undefined;
|
|
4146
4189
|
} | undefined;
|
|
4190
|
+
returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
4147
4191
|
summaryOperations?: {
|
|
4148
4192
|
object: string;
|
|
4149
4193
|
field: string;
|
|
@@ -4278,6 +4322,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4278
4322
|
generatedBy?: string | undefined;
|
|
4279
4323
|
} | undefined;
|
|
4280
4324
|
} | undefined;
|
|
4325
|
+
requiredPermissions?: string[] | undefined;
|
|
4281
4326
|
system?: boolean | undefined;
|
|
4282
4327
|
inlineHelpText?: string | undefined;
|
|
4283
4328
|
caseSensitive?: boolean | undefined;
|
|
@@ -4353,6 +4398,10 @@ declare const SysApprovalAction: Omit<{
|
|
|
4353
4398
|
tenantField: string;
|
|
4354
4399
|
crossTenantAccess: boolean;
|
|
4355
4400
|
} | undefined;
|
|
4401
|
+
access?: {
|
|
4402
|
+
default: "public" | "private";
|
|
4403
|
+
} | undefined;
|
|
4404
|
+
requiredPermissions?: string[] | undefined;
|
|
4356
4405
|
softDelete?: {
|
|
4357
4406
|
enabled: boolean;
|
|
4358
4407
|
field: string;
|
|
@@ -4719,7 +4768,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4719
4768
|
clone: boolean;
|
|
4720
4769
|
apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
|
|
4721
4770
|
} | undefined;
|
|
4722
|
-
sharingModel?: "full" | "
|
|
4771
|
+
sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
|
|
4723
4772
|
publicSharing?: {
|
|
4724
4773
|
enabled: boolean;
|
|
4725
4774
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -4762,7 +4811,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4762
4811
|
field?: string | undefined;
|
|
4763
4812
|
objectOverride?: string | undefined;
|
|
4764
4813
|
label?: string | undefined;
|
|
4765
|
-
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
4814
|
+
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
4766
4815
|
options?: {
|
|
4767
4816
|
label: string;
|
|
4768
4817
|
value: string;
|
|
@@ -4806,6 +4855,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4806
4855
|
generatedBy?: string | undefined;
|
|
4807
4856
|
} | undefined;
|
|
4808
4857
|
} | undefined;
|
|
4858
|
+
requiredPermissions?: string[] | undefined;
|
|
4809
4859
|
shortcut?: string | undefined;
|
|
4810
4860
|
bulkEnabled?: boolean | undefined;
|
|
4811
4861
|
ai?: {
|
|
@@ -4935,10 +4985,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
4935
4985
|
readonly name?: string | undefined;
|
|
4936
4986
|
readonly precision?: number | undefined;
|
|
4937
4987
|
readonly required?: boolean | undefined;
|
|
4988
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
4938
4989
|
readonly multiple?: boolean | undefined;
|
|
4939
4990
|
readonly dependencies?: string[] | undefined;
|
|
4940
4991
|
readonly externalId?: boolean | undefined;
|
|
4941
4992
|
readonly defaultValue?: unknown;
|
|
4993
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
4942
4994
|
readonly group?: string | undefined;
|
|
4943
4995
|
readonly hidden?: boolean | undefined;
|
|
4944
4996
|
readonly system?: boolean | undefined;
|
|
@@ -5109,10 +5161,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5109
5161
|
readonly name?: string | undefined;
|
|
5110
5162
|
readonly precision?: number | undefined;
|
|
5111
5163
|
readonly required?: boolean | undefined;
|
|
5164
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5112
5165
|
readonly multiple?: boolean | undefined;
|
|
5113
5166
|
readonly dependencies?: string[] | undefined;
|
|
5114
5167
|
readonly externalId?: boolean | undefined;
|
|
5115
5168
|
readonly defaultValue?: unknown;
|
|
5169
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5116
5170
|
readonly group?: string | undefined;
|
|
5117
5171
|
readonly hidden?: boolean | undefined;
|
|
5118
5172
|
readonly system?: boolean | undefined;
|
|
@@ -5283,10 +5337,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5283
5337
|
readonly name?: string | undefined;
|
|
5284
5338
|
readonly precision?: number | undefined;
|
|
5285
5339
|
readonly required?: boolean | undefined;
|
|
5340
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5286
5341
|
readonly multiple?: boolean | undefined;
|
|
5287
5342
|
readonly dependencies?: string[] | undefined;
|
|
5288
5343
|
readonly externalId?: boolean | undefined;
|
|
5289
5344
|
readonly defaultValue?: unknown;
|
|
5345
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5290
5346
|
readonly group?: string | undefined;
|
|
5291
5347
|
readonly hidden?: boolean | undefined;
|
|
5292
5348
|
readonly system?: boolean | undefined;
|
|
@@ -5457,10 +5513,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5457
5513
|
readonly name?: string | undefined;
|
|
5458
5514
|
readonly precision?: number | undefined;
|
|
5459
5515
|
readonly required?: boolean | undefined;
|
|
5516
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5460
5517
|
readonly multiple?: boolean | undefined;
|
|
5461
5518
|
readonly dependencies?: string[] | undefined;
|
|
5462
5519
|
readonly externalId?: boolean | undefined;
|
|
5463
5520
|
readonly defaultValue?: unknown;
|
|
5521
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5464
5522
|
readonly group?: string | undefined;
|
|
5465
5523
|
readonly hidden?: boolean | undefined;
|
|
5466
5524
|
readonly system?: boolean | undefined;
|
|
@@ -5631,10 +5689,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5631
5689
|
readonly name?: string | undefined;
|
|
5632
5690
|
readonly precision?: number | undefined;
|
|
5633
5691
|
readonly required?: boolean | undefined;
|
|
5692
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5634
5693
|
readonly multiple?: boolean | undefined;
|
|
5635
5694
|
readonly dependencies?: string[] | undefined;
|
|
5636
5695
|
readonly externalId?: boolean | undefined;
|
|
5637
5696
|
readonly defaultValue?: unknown;
|
|
5697
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5638
5698
|
readonly group?: string | undefined;
|
|
5639
5699
|
readonly hidden?: boolean | undefined;
|
|
5640
5700
|
readonly system?: boolean | undefined;
|
|
@@ -5805,10 +5865,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5805
5865
|
readonly name?: string | undefined;
|
|
5806
5866
|
readonly precision?: number | undefined;
|
|
5807
5867
|
readonly required?: boolean | undefined;
|
|
5868
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5808
5869
|
readonly multiple?: boolean | undefined;
|
|
5809
5870
|
readonly dependencies?: string[] | undefined;
|
|
5810
5871
|
readonly externalId?: boolean | undefined;
|
|
5811
5872
|
readonly defaultValue?: unknown;
|
|
5873
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5812
5874
|
readonly group?: string | undefined;
|
|
5813
5875
|
readonly hidden?: boolean | undefined;
|
|
5814
5876
|
readonly system?: boolean | undefined;
|
|
@@ -5979,10 +6041,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
5979
6041
|
readonly name?: string | undefined;
|
|
5980
6042
|
readonly precision?: number | undefined;
|
|
5981
6043
|
readonly required?: boolean | undefined;
|
|
6044
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
5982
6045
|
readonly multiple?: boolean | undefined;
|
|
5983
6046
|
readonly dependencies?: string[] | undefined;
|
|
5984
6047
|
readonly externalId?: boolean | undefined;
|
|
5985
6048
|
readonly defaultValue?: unknown;
|
|
6049
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
5986
6050
|
readonly group?: string | undefined;
|
|
5987
6051
|
readonly hidden?: boolean | undefined;
|
|
5988
6052
|
readonly system?: boolean | undefined;
|
|
@@ -6153,10 +6217,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
6153
6217
|
readonly name?: string | undefined;
|
|
6154
6218
|
readonly precision?: number | undefined;
|
|
6155
6219
|
readonly required?: boolean | undefined;
|
|
6220
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
6156
6221
|
readonly multiple?: boolean | undefined;
|
|
6157
6222
|
readonly dependencies?: string[] | undefined;
|
|
6158
6223
|
readonly externalId?: boolean | undefined;
|
|
6159
6224
|
readonly defaultValue?: unknown;
|
|
6225
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
6160
6226
|
readonly group?: string | undefined;
|
|
6161
6227
|
readonly hidden?: boolean | undefined;
|
|
6162
6228
|
readonly system?: boolean | undefined;
|
|
@@ -6327,10 +6393,12 @@ declare const SysApprovalAction: Omit<{
|
|
|
6327
6393
|
readonly name?: string | undefined;
|
|
6328
6394
|
readonly precision?: number | undefined;
|
|
6329
6395
|
readonly required?: boolean | undefined;
|
|
6396
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
6330
6397
|
readonly multiple?: boolean | undefined;
|
|
6331
6398
|
readonly dependencies?: string[] | undefined;
|
|
6332
6399
|
readonly externalId?: boolean | undefined;
|
|
6333
6400
|
readonly defaultValue?: unknown;
|
|
6401
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
6334
6402
|
readonly group?: string | undefined;
|
|
6335
6403
|
readonly hidden?: boolean | undefined;
|
|
6336
6404
|
readonly system?: boolean | undefined;
|
|
@@ -6524,7 +6592,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6524
6592
|
abstract: boolean;
|
|
6525
6593
|
datasource: string;
|
|
6526
6594
|
fields: Record<string, {
|
|
6527
|
-
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
6595
|
+
type: "number" | "boolean" | "tags" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "vector";
|
|
6528
6596
|
required: boolean;
|
|
6529
6597
|
searchable: boolean;
|
|
6530
6598
|
multiple: boolean;
|
|
@@ -6598,6 +6666,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6598
6666
|
generatedBy?: string | undefined;
|
|
6599
6667
|
} | undefined;
|
|
6600
6668
|
} | undefined;
|
|
6669
|
+
returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
6601
6670
|
summaryOperations?: {
|
|
6602
6671
|
object: string;
|
|
6603
6672
|
field: string;
|
|
@@ -6732,6 +6801,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6732
6801
|
generatedBy?: string | undefined;
|
|
6733
6802
|
} | undefined;
|
|
6734
6803
|
} | undefined;
|
|
6804
|
+
requiredPermissions?: string[] | undefined;
|
|
6735
6805
|
system?: boolean | undefined;
|
|
6736
6806
|
inlineHelpText?: string | undefined;
|
|
6737
6807
|
caseSensitive?: boolean | undefined;
|
|
@@ -6807,6 +6877,10 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6807
6877
|
tenantField: string;
|
|
6808
6878
|
crossTenantAccess: boolean;
|
|
6809
6879
|
} | undefined;
|
|
6880
|
+
access?: {
|
|
6881
|
+
default: "public" | "private";
|
|
6882
|
+
} | undefined;
|
|
6883
|
+
requiredPermissions?: string[] | undefined;
|
|
6810
6884
|
softDelete?: {
|
|
6811
6885
|
enabled: boolean;
|
|
6812
6886
|
field: string;
|
|
@@ -7173,7 +7247,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7173
7247
|
clone: boolean;
|
|
7174
7248
|
apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
|
|
7175
7249
|
} | undefined;
|
|
7176
|
-
sharingModel?: "full" | "
|
|
7250
|
+
sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
|
|
7177
7251
|
publicSharing?: {
|
|
7178
7252
|
enabled: boolean;
|
|
7179
7253
|
allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
|
|
@@ -7216,7 +7290,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7216
7290
|
field?: string | undefined;
|
|
7217
7291
|
objectOverride?: string | undefined;
|
|
7218
7292
|
label?: string | undefined;
|
|
7219
|
-
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
7293
|
+
type?: "number" | "boolean" | "date" | "record" | "file" | "code" | "datetime" | "signature" | "progress" | "url" | "lookup" | "master_detail" | "currency" | "percent" | "password" | "secret" | "email" | "time" | "user" | "text" | "textarea" | "phone" | "markdown" | "html" | "richtext" | "toggle" | "select" | "multiselect" | "radio" | "checkboxes" | "tree" | "image" | "avatar" | "video" | "audio" | "formula" | "summary" | "autonumber" | "composite" | "repeater" | "location" | "address" | "json" | "color" | "rating" | "slider" | "qrcode" | "tags" | "vector" | undefined;
|
|
7220
7294
|
options?: {
|
|
7221
7295
|
label: string;
|
|
7222
7296
|
value: string;
|
|
@@ -7260,6 +7334,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7260
7334
|
generatedBy?: string | undefined;
|
|
7261
7335
|
} | undefined;
|
|
7262
7336
|
} | undefined;
|
|
7337
|
+
requiredPermissions?: string[] | undefined;
|
|
7263
7338
|
shortcut?: string | undefined;
|
|
7264
7339
|
bulkEnabled?: boolean | undefined;
|
|
7265
7340
|
ai?: {
|
|
@@ -7322,10 +7397,12 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7322
7397
|
readonly name?: string | undefined;
|
|
7323
7398
|
readonly precision?: number | undefined;
|
|
7324
7399
|
readonly required?: boolean | undefined;
|
|
7400
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
7325
7401
|
readonly multiple?: boolean | undefined;
|
|
7326
7402
|
readonly dependencies?: string[] | undefined;
|
|
7327
7403
|
readonly externalId?: boolean | undefined;
|
|
7328
7404
|
readonly defaultValue?: unknown;
|
|
7405
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
7329
7406
|
readonly group?: string | undefined;
|
|
7330
7407
|
readonly hidden?: boolean | undefined;
|
|
7331
7408
|
readonly system?: boolean | undefined;
|
|
@@ -7496,10 +7573,12 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7496
7573
|
readonly name?: string | undefined;
|
|
7497
7574
|
readonly precision?: number | undefined;
|
|
7498
7575
|
readonly required?: boolean | undefined;
|
|
7576
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
7499
7577
|
readonly multiple?: boolean | undefined;
|
|
7500
7578
|
readonly dependencies?: string[] | undefined;
|
|
7501
7579
|
readonly externalId?: boolean | undefined;
|
|
7502
7580
|
readonly defaultValue?: unknown;
|
|
7581
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
7503
7582
|
readonly group?: string | undefined;
|
|
7504
7583
|
readonly hidden?: boolean | undefined;
|
|
7505
7584
|
readonly system?: boolean | undefined;
|
|
@@ -7670,10 +7749,12 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7670
7749
|
readonly name?: string | undefined;
|
|
7671
7750
|
readonly precision?: number | undefined;
|
|
7672
7751
|
readonly required?: boolean | undefined;
|
|
7752
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
7673
7753
|
readonly multiple?: boolean | undefined;
|
|
7674
7754
|
readonly dependencies?: string[] | undefined;
|
|
7675
7755
|
readonly externalId?: boolean | undefined;
|
|
7676
7756
|
readonly defaultValue?: unknown;
|
|
7757
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
7677
7758
|
readonly group?: string | undefined;
|
|
7678
7759
|
readonly hidden?: boolean | undefined;
|
|
7679
7760
|
readonly system?: boolean | undefined;
|
|
@@ -7844,10 +7925,12 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7844
7925
|
readonly name?: string | undefined;
|
|
7845
7926
|
readonly precision?: number | undefined;
|
|
7846
7927
|
readonly required?: boolean | undefined;
|
|
7928
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
7847
7929
|
readonly multiple?: boolean | undefined;
|
|
7848
7930
|
readonly dependencies?: string[] | undefined;
|
|
7849
7931
|
readonly externalId?: boolean | undefined;
|
|
7850
7932
|
readonly defaultValue?: unknown;
|
|
7933
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
7851
7934
|
readonly group?: string | undefined;
|
|
7852
7935
|
readonly hidden?: boolean | undefined;
|
|
7853
7936
|
readonly system?: boolean | undefined;
|
|
@@ -8018,10 +8101,12 @@ declare const SysApprovalApprover: Omit<{
|
|
|
8018
8101
|
readonly name?: string | undefined;
|
|
8019
8102
|
readonly precision?: number | undefined;
|
|
8020
8103
|
readonly required?: boolean | undefined;
|
|
8104
|
+
readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
|
|
8021
8105
|
readonly multiple?: boolean | undefined;
|
|
8022
8106
|
readonly dependencies?: string[] | undefined;
|
|
8023
8107
|
readonly externalId?: boolean | undefined;
|
|
8024
8108
|
readonly defaultValue?: unknown;
|
|
8109
|
+
readonly requiredPermissions?: string[] | undefined;
|
|
8025
8110
|
readonly group?: string | undefined;
|
|
8026
8111
|
readonly hidden?: boolean | undefined;
|
|
8027
8112
|
readonly system?: boolean | undefined;
|