@objectstack/plugin-approvals 10.3.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/dist/index.d.ts 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;
@@ -728,7 +729,7 @@ declare const SysApprovalRequest: Omit<{
728
729
  field?: string | undefined;
729
730
  objectOverride?: string | undefined;
730
731
  label?: string | undefined;
731
- 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;
732
733
  options?: {
733
734
  label: string;
734
735
  value: string;
@@ -928,6 +929,7 @@ declare const SysApprovalRequest: Omit<{
928
929
  readonly name?: string | undefined;
929
930
  readonly precision?: number | undefined;
930
931
  readonly required?: boolean | undefined;
932
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
931
933
  readonly multiple?: boolean | undefined;
932
934
  readonly dependencies?: string[] | undefined;
933
935
  readonly externalId?: boolean | undefined;
@@ -1103,6 +1105,7 @@ declare const SysApprovalRequest: Omit<{
1103
1105
  readonly name?: string | undefined;
1104
1106
  readonly precision?: number | undefined;
1105
1107
  readonly required?: boolean | undefined;
1108
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1106
1109
  readonly multiple?: boolean | undefined;
1107
1110
  readonly dependencies?: string[] | undefined;
1108
1111
  readonly externalId?: boolean | undefined;
@@ -1278,6 +1281,7 @@ declare const SysApprovalRequest: Omit<{
1278
1281
  readonly name?: string | undefined;
1279
1282
  readonly precision?: number | undefined;
1280
1283
  readonly required?: boolean | undefined;
1284
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1281
1285
  readonly multiple?: boolean | undefined;
1282
1286
  readonly dependencies?: string[] | undefined;
1283
1287
  readonly externalId?: boolean | undefined;
@@ -1453,6 +1457,7 @@ declare const SysApprovalRequest: Omit<{
1453
1457
  readonly name?: string | undefined;
1454
1458
  readonly precision?: number | undefined;
1455
1459
  readonly required?: boolean | undefined;
1460
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1456
1461
  readonly multiple?: boolean | undefined;
1457
1462
  readonly dependencies?: string[] | undefined;
1458
1463
  readonly externalId?: boolean | undefined;
@@ -1628,6 +1633,7 @@ declare const SysApprovalRequest: Omit<{
1628
1633
  readonly name?: string | undefined;
1629
1634
  readonly precision?: number | undefined;
1630
1635
  readonly required?: boolean | undefined;
1636
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1631
1637
  readonly multiple?: boolean | undefined;
1632
1638
  readonly dependencies?: string[] | undefined;
1633
1639
  readonly externalId?: boolean | undefined;
@@ -1803,6 +1809,7 @@ declare const SysApprovalRequest: Omit<{
1803
1809
  readonly name?: string | undefined;
1804
1810
  readonly precision?: number | undefined;
1805
1811
  readonly required?: boolean | undefined;
1812
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1806
1813
  readonly multiple?: boolean | undefined;
1807
1814
  readonly dependencies?: string[] | undefined;
1808
1815
  readonly externalId?: boolean | undefined;
@@ -1978,6 +1985,7 @@ declare const SysApprovalRequest: Omit<{
1978
1985
  readonly name?: string | undefined;
1979
1986
  readonly precision?: number | undefined;
1980
1987
  readonly required?: boolean | undefined;
1988
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
1981
1989
  readonly multiple?: boolean | undefined;
1982
1990
  readonly dependencies?: string[] | undefined;
1983
1991
  readonly externalId?: boolean | undefined;
@@ -2153,6 +2161,7 @@ declare const SysApprovalRequest: Omit<{
2153
2161
  readonly name?: string | undefined;
2154
2162
  readonly precision?: number | undefined;
2155
2163
  readonly required?: boolean | undefined;
2164
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2156
2165
  readonly multiple?: boolean | undefined;
2157
2166
  readonly dependencies?: string[] | undefined;
2158
2167
  readonly externalId?: boolean | undefined;
@@ -2328,6 +2337,7 @@ declare const SysApprovalRequest: Omit<{
2328
2337
  readonly name?: string | undefined;
2329
2338
  readonly precision?: number | undefined;
2330
2339
  readonly required?: boolean | undefined;
2340
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2331
2341
  readonly multiple?: boolean | undefined;
2332
2342
  readonly dependencies?: string[] | undefined;
2333
2343
  readonly externalId?: boolean | undefined;
@@ -2503,6 +2513,7 @@ declare const SysApprovalRequest: Omit<{
2503
2513
  readonly name?: string | undefined;
2504
2514
  readonly precision?: number | undefined;
2505
2515
  readonly required?: boolean | undefined;
2516
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2506
2517
  readonly multiple?: boolean | undefined;
2507
2518
  readonly dependencies?: string[] | undefined;
2508
2519
  readonly externalId?: boolean | undefined;
@@ -2678,6 +2689,7 @@ declare const SysApprovalRequest: Omit<{
2678
2689
  readonly name?: string | undefined;
2679
2690
  readonly precision?: number | undefined;
2680
2691
  readonly required?: boolean | undefined;
2692
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2681
2693
  readonly multiple?: boolean | undefined;
2682
2694
  readonly dependencies?: string[] | undefined;
2683
2695
  readonly externalId?: boolean | undefined;
@@ -2853,6 +2865,7 @@ declare const SysApprovalRequest: Omit<{
2853
2865
  readonly name?: string | undefined;
2854
2866
  readonly precision?: number | undefined;
2855
2867
  readonly required?: boolean | undefined;
2868
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
2856
2869
  readonly multiple?: boolean | undefined;
2857
2870
  readonly dependencies?: string[] | undefined;
2858
2871
  readonly externalId?: boolean | undefined;
@@ -3028,6 +3041,7 @@ declare const SysApprovalRequest: Omit<{
3028
3041
  readonly name?: string | undefined;
3029
3042
  readonly precision?: number | undefined;
3030
3043
  readonly required?: boolean | undefined;
3044
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3031
3045
  readonly multiple?: boolean | undefined;
3032
3046
  readonly dependencies?: string[] | undefined;
3033
3047
  readonly externalId?: boolean | undefined;
@@ -3203,6 +3217,7 @@ declare const SysApprovalRequest: Omit<{
3203
3217
  readonly name?: string | undefined;
3204
3218
  readonly precision?: number | undefined;
3205
3219
  readonly required?: boolean | undefined;
3220
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3206
3221
  readonly multiple?: boolean | undefined;
3207
3222
  readonly dependencies?: string[] | undefined;
3208
3223
  readonly externalId?: boolean | undefined;
@@ -3378,6 +3393,7 @@ declare const SysApprovalRequest: Omit<{
3378
3393
  readonly name?: string | undefined;
3379
3394
  readonly precision?: number | undefined;
3380
3395
  readonly required?: boolean | undefined;
3396
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3381
3397
  readonly multiple?: boolean | undefined;
3382
3398
  readonly dependencies?: string[] | undefined;
3383
3399
  readonly externalId?: boolean | undefined;
@@ -3553,6 +3569,7 @@ declare const SysApprovalRequest: Omit<{
3553
3569
  readonly name?: string | undefined;
3554
3570
  readonly precision?: number | undefined;
3555
3571
  readonly required?: boolean | undefined;
3572
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3556
3573
  readonly multiple?: boolean | undefined;
3557
3574
  readonly dependencies?: string[] | undefined;
3558
3575
  readonly externalId?: boolean | undefined;
@@ -3728,6 +3745,7 @@ declare const SysApprovalRequest: Omit<{
3728
3745
  readonly name?: string | undefined;
3729
3746
  readonly precision?: number | undefined;
3730
3747
  readonly required?: boolean | undefined;
3748
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3731
3749
  readonly multiple?: boolean | undefined;
3732
3750
  readonly dependencies?: string[] | undefined;
3733
3751
  readonly externalId?: boolean | undefined;
@@ -3903,6 +3921,7 @@ declare const SysApprovalRequest: Omit<{
3903
3921
  readonly name?: string | undefined;
3904
3922
  readonly precision?: number | undefined;
3905
3923
  readonly required?: boolean | undefined;
3924
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
3906
3925
  readonly multiple?: boolean | undefined;
3907
3926
  readonly dependencies?: string[] | undefined;
3908
3927
  readonly externalId?: boolean | undefined;
@@ -4094,7 +4113,7 @@ declare const SysApprovalAction: Omit<{
4094
4113
  abstract: boolean;
4095
4114
  datasource: string;
4096
4115
  fields: Record<string, {
4097
- 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";
4098
4117
  required: boolean;
4099
4118
  searchable: boolean;
4100
4119
  multiple: boolean;
@@ -4168,6 +4187,7 @@ declare const SysApprovalAction: Omit<{
4168
4187
  generatedBy?: string | undefined;
4169
4188
  } | undefined;
4170
4189
  } | undefined;
4190
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
4171
4191
  summaryOperations?: {
4172
4192
  object: string;
4173
4193
  field: string;
@@ -4791,7 +4811,7 @@ declare const SysApprovalAction: Omit<{
4791
4811
  field?: string | undefined;
4792
4812
  objectOverride?: string | undefined;
4793
4813
  label?: string | undefined;
4794
- 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;
4795
4815
  options?: {
4796
4816
  label: string;
4797
4817
  value: string;
@@ -4965,6 +4985,7 @@ declare const SysApprovalAction: Omit<{
4965
4985
  readonly name?: string | undefined;
4966
4986
  readonly precision?: number | undefined;
4967
4987
  readonly required?: boolean | undefined;
4988
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
4968
4989
  readonly multiple?: boolean | undefined;
4969
4990
  readonly dependencies?: string[] | undefined;
4970
4991
  readonly externalId?: boolean | undefined;
@@ -5140,6 +5161,7 @@ declare const SysApprovalAction: Omit<{
5140
5161
  readonly name?: string | undefined;
5141
5162
  readonly precision?: number | undefined;
5142
5163
  readonly required?: boolean | undefined;
5164
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5143
5165
  readonly multiple?: boolean | undefined;
5144
5166
  readonly dependencies?: string[] | undefined;
5145
5167
  readonly externalId?: boolean | undefined;
@@ -5315,6 +5337,7 @@ declare const SysApprovalAction: Omit<{
5315
5337
  readonly name?: string | undefined;
5316
5338
  readonly precision?: number | undefined;
5317
5339
  readonly required?: boolean | undefined;
5340
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5318
5341
  readonly multiple?: boolean | undefined;
5319
5342
  readonly dependencies?: string[] | undefined;
5320
5343
  readonly externalId?: boolean | undefined;
@@ -5490,6 +5513,7 @@ declare const SysApprovalAction: Omit<{
5490
5513
  readonly name?: string | undefined;
5491
5514
  readonly precision?: number | undefined;
5492
5515
  readonly required?: boolean | undefined;
5516
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5493
5517
  readonly multiple?: boolean | undefined;
5494
5518
  readonly dependencies?: string[] | undefined;
5495
5519
  readonly externalId?: boolean | undefined;
@@ -5665,6 +5689,7 @@ declare const SysApprovalAction: Omit<{
5665
5689
  readonly name?: string | undefined;
5666
5690
  readonly precision?: number | undefined;
5667
5691
  readonly required?: boolean | undefined;
5692
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5668
5693
  readonly multiple?: boolean | undefined;
5669
5694
  readonly dependencies?: string[] | undefined;
5670
5695
  readonly externalId?: boolean | undefined;
@@ -5840,6 +5865,7 @@ declare const SysApprovalAction: Omit<{
5840
5865
  readonly name?: string | undefined;
5841
5866
  readonly precision?: number | undefined;
5842
5867
  readonly required?: boolean | undefined;
5868
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
5843
5869
  readonly multiple?: boolean | undefined;
5844
5870
  readonly dependencies?: string[] | undefined;
5845
5871
  readonly externalId?: boolean | undefined;
@@ -6015,6 +6041,7 @@ declare const SysApprovalAction: Omit<{
6015
6041
  readonly name?: string | undefined;
6016
6042
  readonly precision?: number | undefined;
6017
6043
  readonly required?: boolean | undefined;
6044
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6018
6045
  readonly multiple?: boolean | undefined;
6019
6046
  readonly dependencies?: string[] | undefined;
6020
6047
  readonly externalId?: boolean | undefined;
@@ -6190,6 +6217,7 @@ declare const SysApprovalAction: Omit<{
6190
6217
  readonly name?: string | undefined;
6191
6218
  readonly precision?: number | undefined;
6192
6219
  readonly required?: boolean | undefined;
6220
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6193
6221
  readonly multiple?: boolean | undefined;
6194
6222
  readonly dependencies?: string[] | undefined;
6195
6223
  readonly externalId?: boolean | undefined;
@@ -6365,6 +6393,7 @@ declare const SysApprovalAction: Omit<{
6365
6393
  readonly name?: string | undefined;
6366
6394
  readonly precision?: number | undefined;
6367
6395
  readonly required?: boolean | undefined;
6396
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
6368
6397
  readonly multiple?: boolean | undefined;
6369
6398
  readonly dependencies?: string[] | undefined;
6370
6399
  readonly externalId?: boolean | undefined;
@@ -6563,7 +6592,7 @@ declare const SysApprovalApprover: Omit<{
6563
6592
  abstract: boolean;
6564
6593
  datasource: string;
6565
6594
  fields: Record<string, {
6566
- 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";
6567
6596
  required: boolean;
6568
6597
  searchable: boolean;
6569
6598
  multiple: boolean;
@@ -6637,6 +6666,7 @@ declare const SysApprovalApprover: Omit<{
6637
6666
  generatedBy?: string | undefined;
6638
6667
  } | undefined;
6639
6668
  } | undefined;
6669
+ returnType?: "number" | "boolean" | "date" | "text" | undefined;
6640
6670
  summaryOperations?: {
6641
6671
  object: string;
6642
6672
  field: string;
@@ -7260,7 +7290,7 @@ declare const SysApprovalApprover: Omit<{
7260
7290
  field?: string | undefined;
7261
7291
  objectOverride?: string | undefined;
7262
7292
  label?: string | undefined;
7263
- 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;
7264
7294
  options?: {
7265
7295
  label: string;
7266
7296
  value: string;
@@ -7367,6 +7397,7 @@ declare const SysApprovalApprover: Omit<{
7367
7397
  readonly name?: string | undefined;
7368
7398
  readonly precision?: number | undefined;
7369
7399
  readonly required?: boolean | undefined;
7400
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7370
7401
  readonly multiple?: boolean | undefined;
7371
7402
  readonly dependencies?: string[] | undefined;
7372
7403
  readonly externalId?: boolean | undefined;
@@ -7542,6 +7573,7 @@ declare const SysApprovalApprover: Omit<{
7542
7573
  readonly name?: string | undefined;
7543
7574
  readonly precision?: number | undefined;
7544
7575
  readonly required?: boolean | undefined;
7576
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7545
7577
  readonly multiple?: boolean | undefined;
7546
7578
  readonly dependencies?: string[] | undefined;
7547
7579
  readonly externalId?: boolean | undefined;
@@ -7717,6 +7749,7 @@ declare const SysApprovalApprover: Omit<{
7717
7749
  readonly name?: string | undefined;
7718
7750
  readonly precision?: number | undefined;
7719
7751
  readonly required?: boolean | undefined;
7752
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7720
7753
  readonly multiple?: boolean | undefined;
7721
7754
  readonly dependencies?: string[] | undefined;
7722
7755
  readonly externalId?: boolean | undefined;
@@ -7892,6 +7925,7 @@ declare const SysApprovalApprover: Omit<{
7892
7925
  readonly name?: string | undefined;
7893
7926
  readonly precision?: number | undefined;
7894
7927
  readonly required?: boolean | undefined;
7928
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
7895
7929
  readonly multiple?: boolean | undefined;
7896
7930
  readonly dependencies?: string[] | undefined;
7897
7931
  readonly externalId?: boolean | undefined;
@@ -8067,6 +8101,7 @@ declare const SysApprovalApprover: Omit<{
8067
8101
  readonly name?: string | undefined;
8068
8102
  readonly precision?: number | undefined;
8069
8103
  readonly required?: boolean | undefined;
8104
+ readonly returnType?: "number" | "boolean" | "date" | "text" | undefined;
8070
8105
  readonly multiple?: boolean | undefined;
8071
8106
  readonly dependencies?: string[] | undefined;
8072
8107
  readonly externalId?: boolean | undefined;
package/dist/index.js CHANGED
@@ -2326,7 +2326,7 @@ var _ApprovalService = class _ApprovalService {
2326
2326
  const fields = schema?.fields ?? {};
2327
2327
  const out = [];
2328
2328
  for (const [key, f] of Object.entries(fields)) {
2329
- if ((f?.type === "lookup" || f?.type === "master_detail") && f?.reference) {
2329
+ if ((f?.type === "lookup" || f?.type === "master_detail" || f?.type === "user") && f?.reference) {
2330
2330
  out.push({ key, reference: String(f.reference) });
2331
2331
  }
2332
2332
  }