@erxes/core-contract 0.1.0-v2.7 → 0.1.0-v2.8
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/client.d.ts +539 -10
- package/dist/companies.d.ts +70 -0
- package/dist/companies.js +3 -1
- package/dist/contract/routes.json.js +16 -0
- package/dist/customers.d.ts +77 -0
- package/dist/customers.js +3 -2
- package/dist/db/src/enums.d.ts +5 -0
- package/dist/db/src/enums.js +41 -3
- package/dist/db/src/schema/fields.js +16 -2
- package/dist/db/src/schema/views.js +5 -3
- package/dist/errors.d.ts +10 -0
- package/dist/errors.js +8 -0
- package/dist/fields.d.ts +226 -0
- package/dist/fields.js +16 -9
- package/dist/index.d.ts +527 -14
- package/dist/index.js +5 -4
- package/dist/pluginFields.d.ts +158 -0
- package/dist/pluginFields.js +65 -0
- package/dist/plugins.d.ts +43 -6
- package/dist/plugins.js +4 -23
- package/dist/views.d.ts +149 -12
- package/dist/views.js +37 -11
- package/package.json +2 -1
package/dist/client.d.ts
CHANGED
|
@@ -9366,6 +9366,13 @@ export declare const orpc: {
|
|
|
9366
9366
|
NOT_A_LEAD: {
|
|
9367
9367
|
status: number;
|
|
9368
9368
|
};
|
|
9369
|
+
PLUGIN_FIELD: {
|
|
9370
|
+
status: number;
|
|
9371
|
+
data: import("zod").ZodObject<{
|
|
9372
|
+
fieldId: import("zod").ZodString;
|
|
9373
|
+
plugin: import("zod").ZodString;
|
|
9374
|
+
}, import("zod/v4/core").$strip>;
|
|
9375
|
+
};
|
|
9369
9376
|
TAG_LIMIT: {
|
|
9370
9377
|
status: number;
|
|
9371
9378
|
};
|
|
@@ -9521,6 +9528,13 @@ export declare const orpc: {
|
|
|
9521
9528
|
NOT_A_LEAD: {
|
|
9522
9529
|
status: number;
|
|
9523
9530
|
};
|
|
9531
|
+
PLUGIN_FIELD: {
|
|
9532
|
+
status: number;
|
|
9533
|
+
data: import("zod").ZodObject<{
|
|
9534
|
+
fieldId: import("zod").ZodString;
|
|
9535
|
+
plugin: import("zod").ZodString;
|
|
9536
|
+
}, import("zod/v4/core").$strip>;
|
|
9537
|
+
};
|
|
9524
9538
|
TAG_LIMIT: {
|
|
9525
9539
|
status: number;
|
|
9526
9540
|
};
|
|
@@ -9685,6 +9699,13 @@ export declare const orpc: {
|
|
|
9685
9699
|
NOT_A_LEAD: {
|
|
9686
9700
|
status: number;
|
|
9687
9701
|
};
|
|
9702
|
+
PLUGIN_FIELD: {
|
|
9703
|
+
status: number;
|
|
9704
|
+
data: import("zod").ZodObject<{
|
|
9705
|
+
fieldId: import("zod").ZodString;
|
|
9706
|
+
plugin: import("zod").ZodString;
|
|
9707
|
+
}, import("zod/v4/core").$strip>;
|
|
9708
|
+
};
|
|
9688
9709
|
TAG_LIMIT: {
|
|
9689
9710
|
status: number;
|
|
9690
9711
|
};
|
|
@@ -9870,6 +9891,13 @@ export declare const orpc: {
|
|
|
9870
9891
|
NOT_A_LEAD: {
|
|
9871
9892
|
status: number;
|
|
9872
9893
|
};
|
|
9894
|
+
PLUGIN_FIELD: {
|
|
9895
|
+
status: number;
|
|
9896
|
+
data: import("zod").ZodObject<{
|
|
9897
|
+
fieldId: import("zod").ZodString;
|
|
9898
|
+
plugin: import("zod").ZodString;
|
|
9899
|
+
}, import("zod/v4/core").$strip>;
|
|
9900
|
+
};
|
|
9873
9901
|
TAG_LIMIT: {
|
|
9874
9902
|
status: number;
|
|
9875
9903
|
};
|
|
@@ -10009,6 +10037,13 @@ export declare const orpc: {
|
|
|
10009
10037
|
NOT_A_LEAD: {
|
|
10010
10038
|
status: number;
|
|
10011
10039
|
};
|
|
10040
|
+
PLUGIN_FIELD: {
|
|
10041
|
+
status: number;
|
|
10042
|
+
data: import("zod").ZodObject<{
|
|
10043
|
+
fieldId: import("zod").ZodString;
|
|
10044
|
+
plugin: import("zod").ZodString;
|
|
10045
|
+
}, import("zod/v4/core").$strip>;
|
|
10046
|
+
};
|
|
10012
10047
|
TAG_LIMIT: {
|
|
10013
10048
|
status: number;
|
|
10014
10049
|
};
|
|
@@ -10154,6 +10189,13 @@ export declare const orpc: {
|
|
|
10154
10189
|
NOT_A_LEAD: {
|
|
10155
10190
|
status: number;
|
|
10156
10191
|
};
|
|
10192
|
+
PLUGIN_FIELD: {
|
|
10193
|
+
status: number;
|
|
10194
|
+
data: import("zod").ZodObject<{
|
|
10195
|
+
fieldId: import("zod").ZodString;
|
|
10196
|
+
plugin: import("zod").ZodString;
|
|
10197
|
+
}, import("zod/v4/core").$strip>;
|
|
10198
|
+
};
|
|
10157
10199
|
TAG_LIMIT: {
|
|
10158
10200
|
status: number;
|
|
10159
10201
|
};
|
|
@@ -10275,6 +10317,13 @@ export declare const orpc: {
|
|
|
10275
10317
|
NOT_A_LEAD: {
|
|
10276
10318
|
status: number;
|
|
10277
10319
|
};
|
|
10320
|
+
PLUGIN_FIELD: {
|
|
10321
|
+
status: number;
|
|
10322
|
+
data: import("zod").ZodObject<{
|
|
10323
|
+
fieldId: import("zod").ZodString;
|
|
10324
|
+
plugin: import("zod").ZodString;
|
|
10325
|
+
}, import("zod/v4/core").$strip>;
|
|
10326
|
+
};
|
|
10278
10327
|
TAG_LIMIT: {
|
|
10279
10328
|
status: number;
|
|
10280
10329
|
};
|
|
@@ -10409,6 +10458,13 @@ export declare const orpc: {
|
|
|
10409
10458
|
NOT_A_LEAD: {
|
|
10410
10459
|
status: number;
|
|
10411
10460
|
};
|
|
10461
|
+
PLUGIN_FIELD: {
|
|
10462
|
+
status: number;
|
|
10463
|
+
data: import("zod").ZodObject<{
|
|
10464
|
+
fieldId: import("zod").ZodString;
|
|
10465
|
+
plugin: import("zod").ZodString;
|
|
10466
|
+
}, import("zod/v4/core").$strip>;
|
|
10467
|
+
};
|
|
10412
10468
|
TAG_LIMIT: {
|
|
10413
10469
|
status: number;
|
|
10414
10470
|
};
|
|
@@ -10531,6 +10587,13 @@ export declare const orpc: {
|
|
|
10531
10587
|
NOT_A_LEAD: {
|
|
10532
10588
|
status: number;
|
|
10533
10589
|
};
|
|
10590
|
+
PLUGIN_FIELD: {
|
|
10591
|
+
status: number;
|
|
10592
|
+
data: import("zod").ZodObject<{
|
|
10593
|
+
fieldId: import("zod").ZodString;
|
|
10594
|
+
plugin: import("zod").ZodString;
|
|
10595
|
+
}, import("zod/v4/core").$strip>;
|
|
10596
|
+
};
|
|
10534
10597
|
TAG_LIMIT: {
|
|
10535
10598
|
status: number;
|
|
10536
10599
|
};
|
|
@@ -10654,6 +10717,13 @@ export declare const orpc: {
|
|
|
10654
10717
|
NOT_A_LEAD: {
|
|
10655
10718
|
status: number;
|
|
10656
10719
|
};
|
|
10720
|
+
PLUGIN_FIELD: {
|
|
10721
|
+
status: number;
|
|
10722
|
+
data: import("zod").ZodObject<{
|
|
10723
|
+
fieldId: import("zod").ZodString;
|
|
10724
|
+
plugin: import("zod").ZodString;
|
|
10725
|
+
}, import("zod/v4/core").$strip>;
|
|
10726
|
+
};
|
|
10657
10727
|
TAG_LIMIT: {
|
|
10658
10728
|
status: number;
|
|
10659
10729
|
};
|
|
@@ -10823,6 +10893,13 @@ export declare const orpc: {
|
|
|
10823
10893
|
NOT_A_LEAD: {
|
|
10824
10894
|
status: number;
|
|
10825
10895
|
};
|
|
10896
|
+
PLUGIN_FIELD: {
|
|
10897
|
+
status: number;
|
|
10898
|
+
data: import("zod").ZodObject<{
|
|
10899
|
+
fieldId: import("zod").ZodString;
|
|
10900
|
+
plugin: import("zod").ZodString;
|
|
10901
|
+
}, import("zod/v4/core").$strip>;
|
|
10902
|
+
};
|
|
10826
10903
|
TAG_LIMIT: {
|
|
10827
10904
|
status: number;
|
|
10828
10905
|
};
|
|
@@ -10988,6 +11065,13 @@ export declare const orpc: {
|
|
|
10988
11065
|
NOT_A_LEAD: {
|
|
10989
11066
|
status: number;
|
|
10990
11067
|
};
|
|
11068
|
+
PLUGIN_FIELD: {
|
|
11069
|
+
status: number;
|
|
11070
|
+
data: import("zod").ZodObject<{
|
|
11071
|
+
fieldId: import("zod").ZodString;
|
|
11072
|
+
plugin: import("zod").ZodString;
|
|
11073
|
+
}, import("zod/v4/core").$strip>;
|
|
11074
|
+
};
|
|
10991
11075
|
TAG_LIMIT: {
|
|
10992
11076
|
status: number;
|
|
10993
11077
|
};
|
|
@@ -11139,6 +11223,13 @@ export declare const orpc: {
|
|
|
11139
11223
|
NOT_A_LEAD: {
|
|
11140
11224
|
status: number;
|
|
11141
11225
|
};
|
|
11226
|
+
PLUGIN_FIELD: {
|
|
11227
|
+
status: number;
|
|
11228
|
+
data: import("zod").ZodObject<{
|
|
11229
|
+
fieldId: import("zod").ZodString;
|
|
11230
|
+
plugin: import("zod").ZodString;
|
|
11231
|
+
}, import("zod/v4/core").$strip>;
|
|
11232
|
+
};
|
|
11142
11233
|
TAG_LIMIT: {
|
|
11143
11234
|
status: number;
|
|
11144
11235
|
};
|
|
@@ -11305,6 +11396,13 @@ export declare const orpc: {
|
|
|
11305
11396
|
NOT_A_LEAD: {
|
|
11306
11397
|
status: number;
|
|
11307
11398
|
};
|
|
11399
|
+
PLUGIN_FIELD: {
|
|
11400
|
+
status: number;
|
|
11401
|
+
data: import("zod").ZodObject<{
|
|
11402
|
+
fieldId: import("zod").ZodString;
|
|
11403
|
+
plugin: import("zod").ZodString;
|
|
11404
|
+
}, import("zod/v4/core").$strip>;
|
|
11405
|
+
};
|
|
11308
11406
|
TAG_LIMIT: {
|
|
11309
11407
|
status: number;
|
|
11310
11408
|
};
|
|
@@ -11493,6 +11591,13 @@ export declare const orpc: {
|
|
|
11493
11591
|
NOT_A_LEAD: {
|
|
11494
11592
|
status: number;
|
|
11495
11593
|
};
|
|
11594
|
+
PLUGIN_FIELD: {
|
|
11595
|
+
status: number;
|
|
11596
|
+
data: import("zod").ZodObject<{
|
|
11597
|
+
fieldId: import("zod").ZodString;
|
|
11598
|
+
plugin: import("zod").ZodString;
|
|
11599
|
+
}, import("zod/v4/core").$strip>;
|
|
11600
|
+
};
|
|
11496
11601
|
TAG_LIMIT: {
|
|
11497
11602
|
status: number;
|
|
11498
11603
|
};
|
|
@@ -11633,6 +11738,13 @@ export declare const orpc: {
|
|
|
11633
11738
|
NOT_A_LEAD: {
|
|
11634
11739
|
status: number;
|
|
11635
11740
|
};
|
|
11741
|
+
PLUGIN_FIELD: {
|
|
11742
|
+
status: number;
|
|
11743
|
+
data: import("zod").ZodObject<{
|
|
11744
|
+
fieldId: import("zod").ZodString;
|
|
11745
|
+
plugin: import("zod").ZodString;
|
|
11746
|
+
}, import("zod/v4/core").$strip>;
|
|
11747
|
+
};
|
|
11636
11748
|
TAG_LIMIT: {
|
|
11637
11749
|
status: number;
|
|
11638
11750
|
};
|
|
@@ -11779,6 +11891,13 @@ export declare const orpc: {
|
|
|
11779
11891
|
NOT_A_LEAD: {
|
|
11780
11892
|
status: number;
|
|
11781
11893
|
};
|
|
11894
|
+
PLUGIN_FIELD: {
|
|
11895
|
+
status: number;
|
|
11896
|
+
data: import("zod").ZodObject<{
|
|
11897
|
+
fieldId: import("zod").ZodString;
|
|
11898
|
+
plugin: import("zod").ZodString;
|
|
11899
|
+
}, import("zod/v4/core").$strip>;
|
|
11900
|
+
};
|
|
11782
11901
|
TAG_LIMIT: {
|
|
11783
11902
|
status: number;
|
|
11784
11903
|
};
|
|
@@ -11900,6 +12019,13 @@ export declare const orpc: {
|
|
|
11900
12019
|
NOT_A_LEAD: {
|
|
11901
12020
|
status: number;
|
|
11902
12021
|
};
|
|
12022
|
+
PLUGIN_FIELD: {
|
|
12023
|
+
status: number;
|
|
12024
|
+
data: import("zod").ZodObject<{
|
|
12025
|
+
fieldId: import("zod").ZodString;
|
|
12026
|
+
plugin: import("zod").ZodString;
|
|
12027
|
+
}, import("zod/v4/core").$strip>;
|
|
12028
|
+
};
|
|
11903
12029
|
TAG_LIMIT: {
|
|
11904
12030
|
status: number;
|
|
11905
12031
|
};
|
|
@@ -12031,6 +12157,13 @@ export declare const orpc: {
|
|
|
12031
12157
|
NOT_A_LEAD: {
|
|
12032
12158
|
status: number;
|
|
12033
12159
|
};
|
|
12160
|
+
PLUGIN_FIELD: {
|
|
12161
|
+
status: number;
|
|
12162
|
+
data: import("zod").ZodObject<{
|
|
12163
|
+
fieldId: import("zod").ZodString;
|
|
12164
|
+
plugin: import("zod").ZodString;
|
|
12165
|
+
}, import("zod/v4/core").$strip>;
|
|
12166
|
+
};
|
|
12034
12167
|
TAG_LIMIT: {
|
|
12035
12168
|
status: number;
|
|
12036
12169
|
};
|
|
@@ -12153,6 +12286,13 @@ export declare const orpc: {
|
|
|
12153
12286
|
NOT_A_LEAD: {
|
|
12154
12287
|
status: number;
|
|
12155
12288
|
};
|
|
12289
|
+
PLUGIN_FIELD: {
|
|
12290
|
+
status: number;
|
|
12291
|
+
data: import("zod").ZodObject<{
|
|
12292
|
+
fieldId: import("zod").ZodString;
|
|
12293
|
+
plugin: import("zod").ZodString;
|
|
12294
|
+
}, import("zod/v4/core").$strip>;
|
|
12295
|
+
};
|
|
12156
12296
|
TAG_LIMIT: {
|
|
12157
12297
|
status: number;
|
|
12158
12298
|
};
|
|
@@ -12276,6 +12416,13 @@ export declare const orpc: {
|
|
|
12276
12416
|
NOT_A_LEAD: {
|
|
12277
12417
|
status: number;
|
|
12278
12418
|
};
|
|
12419
|
+
PLUGIN_FIELD: {
|
|
12420
|
+
status: number;
|
|
12421
|
+
data: import("zod").ZodObject<{
|
|
12422
|
+
fieldId: import("zod").ZodString;
|
|
12423
|
+
plugin: import("zod").ZodString;
|
|
12424
|
+
}, import("zod/v4/core").$strip>;
|
|
12425
|
+
};
|
|
12279
12426
|
TAG_LIMIT: {
|
|
12280
12427
|
status: number;
|
|
12281
12428
|
};
|
|
@@ -14775,6 +14922,13 @@ export declare const orpc: {
|
|
|
14775
14922
|
groupId: import("zod").ZodString;
|
|
14776
14923
|
}, import("zod/v4/core").$strip>>;
|
|
14777
14924
|
};
|
|
14925
|
+
PLUGIN_FIELD: {
|
|
14926
|
+
status: number;
|
|
14927
|
+
data: import("zod").ZodObject<{
|
|
14928
|
+
fieldId: import("zod").ZodString;
|
|
14929
|
+
plugin: import("zod").ZodString;
|
|
14930
|
+
}, import("zod/v4/core").$strip>;
|
|
14931
|
+
};
|
|
14778
14932
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
14779
14933
|
contentType: "company" | "customer" | "product";
|
|
14780
14934
|
archived?: "false" | "true" | boolean | undefined;
|
|
@@ -14883,6 +15037,13 @@ export declare const orpc: {
|
|
|
14883
15037
|
groupId: import("zod").ZodString;
|
|
14884
15038
|
}, import("zod/v4/core").$strip>>;
|
|
14885
15039
|
};
|
|
15040
|
+
PLUGIN_FIELD: {
|
|
15041
|
+
status: number;
|
|
15042
|
+
data: import("zod").ZodObject<{
|
|
15043
|
+
fieldId: import("zod").ZodString;
|
|
15044
|
+
plugin: import("zod").ZodString;
|
|
15045
|
+
}, import("zod/v4/core").$strip>;
|
|
15046
|
+
};
|
|
14886
15047
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
14887
15048
|
contentType: "company" | "customer" | "product";
|
|
14888
15049
|
name: string;
|
|
@@ -14994,6 +15155,13 @@ export declare const orpc: {
|
|
|
14994
15155
|
groupId: import("zod").ZodString;
|
|
14995
15156
|
}, import("zod/v4/core").$strip>>;
|
|
14996
15157
|
};
|
|
15158
|
+
PLUGIN_FIELD: {
|
|
15159
|
+
status: number;
|
|
15160
|
+
data: import("zod").ZodObject<{
|
|
15161
|
+
fieldId: import("zod").ZodString;
|
|
15162
|
+
plugin: import("zod").ZodString;
|
|
15163
|
+
}, import("zod/v4/core").$strip>;
|
|
15164
|
+
};
|
|
14997
15165
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
14998
15166
|
name?: string | undefined;
|
|
14999
15167
|
code?: string | undefined;
|
|
@@ -15098,6 +15266,13 @@ export declare const orpc: {
|
|
|
15098
15266
|
groupId: import("zod").ZodString;
|
|
15099
15267
|
}, import("zod/v4/core").$strip>>;
|
|
15100
15268
|
};
|
|
15269
|
+
PLUGIN_FIELD: {
|
|
15270
|
+
status: number;
|
|
15271
|
+
data: import("zod").ZodObject<{
|
|
15272
|
+
fieldId: import("zod").ZodString;
|
|
15273
|
+
plugin: import("zod").ZodString;
|
|
15274
|
+
}, import("zod/v4/core").$strip>;
|
|
15275
|
+
};
|
|
15101
15276
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15102
15277
|
orders: {
|
|
15103
15278
|
id: string;
|
|
@@ -15205,6 +15380,13 @@ export declare const orpc: {
|
|
|
15205
15380
|
groupId: import("zod").ZodString;
|
|
15206
15381
|
}, import("zod/v4/core").$strip>>;
|
|
15207
15382
|
};
|
|
15383
|
+
PLUGIN_FIELD: {
|
|
15384
|
+
status: number;
|
|
15385
|
+
data: import("zod").ZodObject<{
|
|
15386
|
+
fieldId: import("zod").ZodString;
|
|
15387
|
+
plugin: import("zod").ZodString;
|
|
15388
|
+
}, import("zod/v4/core").$strip>;
|
|
15389
|
+
};
|
|
15208
15390
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15209
15391
|
id: string;
|
|
15210
15392
|
}>;
|
|
@@ -15309,6 +15491,13 @@ export declare const orpc: {
|
|
|
15309
15491
|
groupId: import("zod").ZodString;
|
|
15310
15492
|
}, import("zod/v4/core").$strip>>;
|
|
15311
15493
|
};
|
|
15494
|
+
PLUGIN_FIELD: {
|
|
15495
|
+
status: number;
|
|
15496
|
+
data: import("zod").ZodObject<{
|
|
15497
|
+
fieldId: import("zod").ZodString;
|
|
15498
|
+
plugin: import("zod").ZodString;
|
|
15499
|
+
}, import("zod/v4/core").$strip>;
|
|
15500
|
+
};
|
|
15312
15501
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15313
15502
|
id: string;
|
|
15314
15503
|
}>;
|
|
@@ -15406,11 +15595,126 @@ export declare const orpc: {
|
|
|
15406
15595
|
groupId: import("zod").ZodString;
|
|
15407
15596
|
}, import("zod/v4/core").$strip>>;
|
|
15408
15597
|
};
|
|
15598
|
+
PLUGIN_FIELD: {
|
|
15599
|
+
status: number;
|
|
15600
|
+
data: import("zod").ZodObject<{
|
|
15601
|
+
fieldId: import("zod").ZodString;
|
|
15602
|
+
plugin: import("zod").ZodString;
|
|
15603
|
+
}, import("zod/v4/core").$strip>;
|
|
15604
|
+
};
|
|
15409
15605
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15410
15606
|
id: string;
|
|
15411
15607
|
}>;
|
|
15412
15608
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
15413
15609
|
fields: {
|
|
15610
|
+
setPluginValues: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
15611
|
+
contentType: "company" | "customer";
|
|
15612
|
+
values: {
|
|
15613
|
+
recordId: string;
|
|
15614
|
+
code: string;
|
|
15615
|
+
value: string | number | string[] | null;
|
|
15616
|
+
}[];
|
|
15617
|
+
}, {
|
|
15618
|
+
written: number;
|
|
15619
|
+
skipped: string[];
|
|
15620
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
15621
|
+
UNAUTHORIZED: {
|
|
15622
|
+
status: number;
|
|
15623
|
+
};
|
|
15624
|
+
NOT_ALLOWED: {
|
|
15625
|
+
status: number;
|
|
15626
|
+
data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
15627
|
+
permission: import("zod").ZodString;
|
|
15628
|
+
}, import("zod/v4/core").$strip>>;
|
|
15629
|
+
};
|
|
15630
|
+
PLUGIN_ONLY: {
|
|
15631
|
+
status: number;
|
|
15632
|
+
};
|
|
15633
|
+
MEMBERS_ONLY: {
|
|
15634
|
+
status: number;
|
|
15635
|
+
};
|
|
15636
|
+
ORG_REQUIRED: {
|
|
15637
|
+
status: number;
|
|
15638
|
+
};
|
|
15639
|
+
SCOPE_REQUIRED: {
|
|
15640
|
+
status: number;
|
|
15641
|
+
};
|
|
15642
|
+
SERVICE_TOKEN_REQUIRED: {
|
|
15643
|
+
status: number;
|
|
15644
|
+
};
|
|
15645
|
+
ORGANIZATION_DISABLED: {
|
|
15646
|
+
status: number;
|
|
15647
|
+
data: import("zod").ZodObject<{
|
|
15648
|
+
manageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
15649
|
+
}, import("zod/v4/core").$strip>;
|
|
15650
|
+
};
|
|
15651
|
+
NOT_IN_PLAN: {
|
|
15652
|
+
status: number;
|
|
15653
|
+
data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
15654
|
+
manageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
15655
|
+
}, import("zod/v4/core").$strip>>;
|
|
15656
|
+
};
|
|
15657
|
+
READ_ONLY: {
|
|
15658
|
+
status: number;
|
|
15659
|
+
};
|
|
15660
|
+
TOO_MANY_REQUESTS: {
|
|
15661
|
+
status: number;
|
|
15662
|
+
};
|
|
15663
|
+
INVALID_INPUT: {
|
|
15664
|
+
status: number;
|
|
15665
|
+
data: import("zod").ZodObject<{
|
|
15666
|
+
issues: import("zod").ZodArray<import("zod").ZodObject<{
|
|
15667
|
+
path: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodInt]>>;
|
|
15668
|
+
message: import("zod").ZodString;
|
|
15669
|
+
}, import("zod/v4/core").$strip>>;
|
|
15670
|
+
}, import("zod/v4/core").$strip>;
|
|
15671
|
+
};
|
|
15672
|
+
NOT_FOUND: {
|
|
15673
|
+
status: number;
|
|
15674
|
+
};
|
|
15675
|
+
TAKEN: {
|
|
15676
|
+
status: number;
|
|
15677
|
+
data: import("zod").ZodObject<{
|
|
15678
|
+
field: import("zod").ZodString;
|
|
15679
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15680
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
15681
|
+
}, import("zod/v4/core").$strip>;
|
|
15682
|
+
};
|
|
15683
|
+
INVALID_CURSOR: {
|
|
15684
|
+
status: number;
|
|
15685
|
+
};
|
|
15686
|
+
INVALID_REFERENCE: {
|
|
15687
|
+
status: number;
|
|
15688
|
+
data: import("zod").ZodObject<{
|
|
15689
|
+
field: import("zod").ZodString;
|
|
15690
|
+
}, import("zod/v4/core").$strip>;
|
|
15691
|
+
};
|
|
15692
|
+
INVALID_FILTER: {
|
|
15693
|
+
status: number;
|
|
15694
|
+
};
|
|
15695
|
+
FILTER_TOO_SLOW: {
|
|
15696
|
+
status: number;
|
|
15697
|
+
};
|
|
15698
|
+
INVALID_FIELD: {
|
|
15699
|
+
status: number;
|
|
15700
|
+
data: import("zod").ZodObject<{
|
|
15701
|
+
fieldId: import("zod").ZodString;
|
|
15702
|
+
}, import("zod/v4/core").$strip>;
|
|
15703
|
+
};
|
|
15704
|
+
INVALID_FIELD_VALUE: {
|
|
15705
|
+
status: number;
|
|
15706
|
+
data: import("zod").ZodObject<{
|
|
15707
|
+
fieldId: import("zod").ZodString;
|
|
15708
|
+
}, import("zod/v4/core").$strip>;
|
|
15709
|
+
};
|
|
15710
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15711
|
+
contentType: "company" | "customer";
|
|
15712
|
+
values: {
|
|
15713
|
+
recordId: string;
|
|
15714
|
+
code: string;
|
|
15715
|
+
value: string | number | string[] | null;
|
|
15716
|
+
}[];
|
|
15717
|
+
}>;
|
|
15414
15718
|
list: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
15415
15719
|
contentType: "company" | "customer" | "product";
|
|
15416
15720
|
groupId?: string | undefined;
|
|
@@ -15429,8 +15733,10 @@ export declare const orpc: {
|
|
|
15429
15733
|
options: string[];
|
|
15430
15734
|
isVisible: boolean;
|
|
15431
15735
|
order: number;
|
|
15736
|
+
plugin: string | null;
|
|
15432
15737
|
archivedAt: string | null;
|
|
15433
15738
|
createdAt: string;
|
|
15739
|
+
pluginTitle: string | null;
|
|
15434
15740
|
}[];
|
|
15435
15741
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
15436
15742
|
UNAUTHORIZED: {
|
|
@@ -15522,6 +15828,13 @@ export declare const orpc: {
|
|
|
15522
15828
|
groupId: import("zod").ZodString;
|
|
15523
15829
|
}, import("zod/v4/core").$strip>>;
|
|
15524
15830
|
};
|
|
15831
|
+
PLUGIN_FIELD: {
|
|
15832
|
+
status: number;
|
|
15833
|
+
data: import("zod").ZodObject<{
|
|
15834
|
+
fieldId: import("zod").ZodString;
|
|
15835
|
+
plugin: import("zod").ZodString;
|
|
15836
|
+
}, import("zod/v4/core").$strip>;
|
|
15837
|
+
};
|
|
15525
15838
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15526
15839
|
contentType: "company" | "customer" | "product";
|
|
15527
15840
|
groupId?: string | undefined;
|
|
@@ -15624,6 +15937,13 @@ export declare const orpc: {
|
|
|
15624
15937
|
groupId: import("zod").ZodString;
|
|
15625
15938
|
}, import("zod/v4/core").$strip>>;
|
|
15626
15939
|
};
|
|
15940
|
+
PLUGIN_FIELD: {
|
|
15941
|
+
status: number;
|
|
15942
|
+
data: import("zod").ZodObject<{
|
|
15943
|
+
fieldId: import("zod").ZodString;
|
|
15944
|
+
plugin: import("zod").ZodString;
|
|
15945
|
+
}, import("zod/v4/core").$strip>;
|
|
15946
|
+
};
|
|
15627
15947
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15628
15948
|
ids?: string | undefined;
|
|
15629
15949
|
groupId?: string | undefined;
|
|
@@ -15652,8 +15972,10 @@ export declare const orpc: {
|
|
|
15652
15972
|
options: string[];
|
|
15653
15973
|
isVisible: boolean;
|
|
15654
15974
|
order: number;
|
|
15975
|
+
plugin: string | null;
|
|
15655
15976
|
archivedAt: string | null;
|
|
15656
15977
|
createdAt: string;
|
|
15978
|
+
pluginTitle: string | null;
|
|
15657
15979
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
15658
15980
|
UNAUTHORIZED: {
|
|
15659
15981
|
status: number;
|
|
@@ -15744,6 +16066,13 @@ export declare const orpc: {
|
|
|
15744
16066
|
groupId: import("zod").ZodString;
|
|
15745
16067
|
}, import("zod/v4/core").$strip>>;
|
|
15746
16068
|
};
|
|
16069
|
+
PLUGIN_FIELD: {
|
|
16070
|
+
status: number;
|
|
16071
|
+
data: import("zod").ZodObject<{
|
|
16072
|
+
fieldId: import("zod").ZodString;
|
|
16073
|
+
plugin: import("zod").ZodString;
|
|
16074
|
+
}, import("zod/v4/core").$strip>;
|
|
16075
|
+
};
|
|
15747
16076
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15748
16077
|
contentType: "company" | "customer" | "product";
|
|
15749
16078
|
groupId?: string | null | undefined;
|
|
@@ -15781,8 +16110,10 @@ export declare const orpc: {
|
|
|
15781
16110
|
options: string[];
|
|
15782
16111
|
isVisible: boolean;
|
|
15783
16112
|
order: number;
|
|
16113
|
+
plugin: string | null;
|
|
15784
16114
|
archivedAt: string | null;
|
|
15785
16115
|
createdAt: string;
|
|
16116
|
+
pluginTitle: string | null;
|
|
15786
16117
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
15787
16118
|
UNAUTHORIZED: {
|
|
15788
16119
|
status: number;
|
|
@@ -15873,6 +16204,13 @@ export declare const orpc: {
|
|
|
15873
16204
|
groupId: import("zod").ZodString;
|
|
15874
16205
|
}, import("zod/v4/core").$strip>>;
|
|
15875
16206
|
};
|
|
16207
|
+
PLUGIN_FIELD: {
|
|
16208
|
+
status: number;
|
|
16209
|
+
data: import("zod").ZodObject<{
|
|
16210
|
+
fieldId: import("zod").ZodString;
|
|
16211
|
+
plugin: import("zod").ZodString;
|
|
16212
|
+
}, import("zod/v4/core").$strip>;
|
|
16213
|
+
};
|
|
15876
16214
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15877
16215
|
groupId?: string | null | undefined;
|
|
15878
16216
|
label?: string | undefined;
|
|
@@ -15983,6 +16321,13 @@ export declare const orpc: {
|
|
|
15983
16321
|
groupId: import("zod").ZodString;
|
|
15984
16322
|
}, import("zod/v4/core").$strip>>;
|
|
15985
16323
|
};
|
|
16324
|
+
PLUGIN_FIELD: {
|
|
16325
|
+
status: number;
|
|
16326
|
+
data: import("zod").ZodObject<{
|
|
16327
|
+
fieldId: import("zod").ZodString;
|
|
16328
|
+
plugin: import("zod").ZodString;
|
|
16329
|
+
}, import("zod/v4/core").$strip>;
|
|
16330
|
+
};
|
|
15986
16331
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
15987
16332
|
orders: {
|
|
15988
16333
|
id: string;
|
|
@@ -16083,6 +16428,13 @@ export declare const orpc: {
|
|
|
16083
16428
|
groupId: import("zod").ZodString;
|
|
16084
16429
|
}, import("zod/v4/core").$strip>>;
|
|
16085
16430
|
};
|
|
16431
|
+
PLUGIN_FIELD: {
|
|
16432
|
+
status: number;
|
|
16433
|
+
data: import("zod").ZodObject<{
|
|
16434
|
+
fieldId: import("zod").ZodString;
|
|
16435
|
+
plugin: import("zod").ZodString;
|
|
16436
|
+
}, import("zod/v4/core").$strip>;
|
|
16437
|
+
};
|
|
16086
16438
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
16087
16439
|
ids: string[];
|
|
16088
16440
|
}>;
|
|
@@ -16101,8 +16453,10 @@ export declare const orpc: {
|
|
|
16101
16453
|
options: string[];
|
|
16102
16454
|
isVisible: boolean;
|
|
16103
16455
|
order: number;
|
|
16456
|
+
plugin: string | null;
|
|
16104
16457
|
archivedAt: string | null;
|
|
16105
16458
|
createdAt: string;
|
|
16459
|
+
pluginTitle: string | null;
|
|
16106
16460
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
16107
16461
|
UNAUTHORIZED: {
|
|
16108
16462
|
status: number;
|
|
@@ -16193,6 +16547,13 @@ export declare const orpc: {
|
|
|
16193
16547
|
groupId: import("zod").ZodString;
|
|
16194
16548
|
}, import("zod/v4/core").$strip>>;
|
|
16195
16549
|
};
|
|
16550
|
+
PLUGIN_FIELD: {
|
|
16551
|
+
status: number;
|
|
16552
|
+
data: import("zod").ZodObject<{
|
|
16553
|
+
fieldId: import("zod").ZodString;
|
|
16554
|
+
plugin: import("zod").ZodString;
|
|
16555
|
+
}, import("zod/v4/core").$strip>;
|
|
16556
|
+
};
|
|
16196
16557
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
16197
16558
|
id: string;
|
|
16198
16559
|
}>;
|
|
@@ -16290,6 +16651,13 @@ export declare const orpc: {
|
|
|
16290
16651
|
groupId: import("zod").ZodString;
|
|
16291
16652
|
}, import("zod/v4/core").$strip>>;
|
|
16292
16653
|
};
|
|
16654
|
+
PLUGIN_FIELD: {
|
|
16655
|
+
status: number;
|
|
16656
|
+
data: import("zod").ZodObject<{
|
|
16657
|
+
fieldId: import("zod").ZodString;
|
|
16658
|
+
plugin: import("zod").ZodString;
|
|
16659
|
+
}, import("zod/v4/core").$strip>;
|
|
16660
|
+
};
|
|
16293
16661
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
16294
16662
|
ids: string[];
|
|
16295
16663
|
}>;
|
|
@@ -16387,6 +16755,13 @@ export declare const orpc: {
|
|
|
16387
16755
|
groupId: import("zod").ZodString;
|
|
16388
16756
|
}, import("zod/v4/core").$strip>>;
|
|
16389
16757
|
};
|
|
16758
|
+
PLUGIN_FIELD: {
|
|
16759
|
+
status: number;
|
|
16760
|
+
data: import("zod").ZodObject<{
|
|
16761
|
+
fieldId: import("zod").ZodString;
|
|
16762
|
+
plugin: import("zod").ZodString;
|
|
16763
|
+
}, import("zod/v4/core").$strip>;
|
|
16764
|
+
};
|
|
16390
16765
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
16391
16766
|
id: string;
|
|
16392
16767
|
}>;
|
|
@@ -21831,7 +22206,7 @@ export declare const orpc: {
|
|
|
21831
22206
|
customerApp?: {
|
|
21832
22207
|
origins: string[];
|
|
21833
22208
|
} | undefined;
|
|
21834
|
-
scopes?: ("activities:write" | "audit:write" | "customers:read" | "customers:write" | "emails:write" | "events:read" | "events:write" | "files:read" | "files:write" | "live:write" | "notifications:write" | "payments:read" | "payments:write" | "products:read" | "products:write" | "users:read")[] | undefined;
|
|
22209
|
+
scopes?: ("activities:write" | "audit:write" | "customers:read" | "customers:write" | "emails:write" | "events:read" | "events:write" | "fields:write" | "files:read" | "files:write" | "live:write" | "notifications:write" | "payments:read" | "payments:write" | "products:read" | "products:write" | "users:read" | "views:read")[] | undefined;
|
|
21835
22210
|
permissions?: {
|
|
21836
22211
|
action: string;
|
|
21837
22212
|
label: string;
|
|
@@ -21889,6 +22264,14 @@ export declare const orpc: {
|
|
|
21889
22264
|
maxDelay: number;
|
|
21890
22265
|
} | undefined;
|
|
21891
22266
|
}[] | undefined;
|
|
22267
|
+
fields?: {
|
|
22268
|
+
code: string;
|
|
22269
|
+
contentType: "company" | "customer";
|
|
22270
|
+
label: string;
|
|
22271
|
+
type: "date" | "multiselect" | "number" | "select" | "text";
|
|
22272
|
+
options?: string[] | undefined;
|
|
22273
|
+
description?: string | undefined;
|
|
22274
|
+
}[] | undefined;
|
|
21892
22275
|
events?: {
|
|
21893
22276
|
type: string;
|
|
21894
22277
|
label: string;
|
|
@@ -22023,7 +22406,7 @@ export declare const orpc: {
|
|
|
22023
22406
|
customerApp?: {
|
|
22024
22407
|
origins: string[];
|
|
22025
22408
|
} | undefined;
|
|
22026
|
-
scopes?: ("activities:write" | "audit:write" | "customers:read" | "customers:write" | "emails:write" | "events:read" | "events:write" | "files:read" | "files:write" | "live:write" | "notifications:write" | "payments:read" | "payments:write" | "products:read" | "products:write" | "users:read")[] | undefined;
|
|
22409
|
+
scopes?: ("activities:write" | "audit:write" | "customers:read" | "customers:write" | "emails:write" | "events:read" | "events:write" | "fields:write" | "files:read" | "files:write" | "live:write" | "notifications:write" | "payments:read" | "payments:write" | "products:read" | "products:write" | "users:read" | "views:read")[] | undefined;
|
|
22027
22410
|
permissions?: {
|
|
22028
22411
|
action: string;
|
|
22029
22412
|
label: string;
|
|
@@ -22081,6 +22464,14 @@ export declare const orpc: {
|
|
|
22081
22464
|
maxDelay: number;
|
|
22082
22465
|
} | undefined;
|
|
22083
22466
|
}[] | undefined;
|
|
22467
|
+
fields?: {
|
|
22468
|
+
code: string;
|
|
22469
|
+
contentType: "company" | "customer";
|
|
22470
|
+
label: string;
|
|
22471
|
+
type: "date" | "multiselect" | "number" | "select" | "text";
|
|
22472
|
+
options?: string[] | undefined;
|
|
22473
|
+
description?: string | undefined;
|
|
22474
|
+
}[] | undefined;
|
|
22084
22475
|
events?: {
|
|
22085
22476
|
type: string;
|
|
22086
22477
|
label: string;
|
|
@@ -29246,11 +29637,11 @@ export declare const orpc: {
|
|
|
29246
29637
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
29247
29638
|
views: {
|
|
29248
29639
|
list: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
29249
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29640
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29250
29641
|
}, {
|
|
29251
29642
|
data: {
|
|
29252
29643
|
id: string;
|
|
29253
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29644
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29254
29645
|
name: string;
|
|
29255
29646
|
filter: ConditionGroup | null;
|
|
29256
29647
|
search: string | null;
|
|
@@ -29343,8 +29734,14 @@ export declare const orpc: {
|
|
|
29343
29734
|
FILTER_TOO_SLOW: {
|
|
29344
29735
|
status: number;
|
|
29345
29736
|
};
|
|
29737
|
+
INVALID_TYPE: {
|
|
29738
|
+
status: number;
|
|
29739
|
+
};
|
|
29740
|
+
VIEW_NOT_SHARED: {
|
|
29741
|
+
status: number;
|
|
29742
|
+
};
|
|
29346
29743
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
29347
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29744
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29348
29745
|
}>;
|
|
29349
29746
|
create: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
29350
29747
|
name: string;
|
|
@@ -29356,10 +29753,10 @@ export declare const orpc: {
|
|
|
29356
29753
|
direction: "asc" | "desc";
|
|
29357
29754
|
} | null | undefined;
|
|
29358
29755
|
shared?: boolean | undefined;
|
|
29359
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29756
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29360
29757
|
}, {
|
|
29361
29758
|
id: string;
|
|
29362
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29759
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29363
29760
|
name: string;
|
|
29364
29761
|
filter: ConditionGroup | null;
|
|
29365
29762
|
search: string | null;
|
|
@@ -29451,6 +29848,12 @@ export declare const orpc: {
|
|
|
29451
29848
|
FILTER_TOO_SLOW: {
|
|
29452
29849
|
status: number;
|
|
29453
29850
|
};
|
|
29851
|
+
INVALID_TYPE: {
|
|
29852
|
+
status: number;
|
|
29853
|
+
};
|
|
29854
|
+
VIEW_NOT_SHARED: {
|
|
29855
|
+
status: number;
|
|
29856
|
+
};
|
|
29454
29857
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
29455
29858
|
name: string;
|
|
29456
29859
|
filter?: unknown;
|
|
@@ -29461,7 +29864,7 @@ export declare const orpc: {
|
|
|
29461
29864
|
direction: "asc" | "desc";
|
|
29462
29865
|
} | null | undefined;
|
|
29463
29866
|
shared?: boolean | undefined;
|
|
29464
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29867
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29465
29868
|
}>;
|
|
29466
29869
|
update: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
29467
29870
|
name?: string | undefined;
|
|
@@ -29476,7 +29879,7 @@ export declare const orpc: {
|
|
|
29476
29879
|
id: string;
|
|
29477
29880
|
}, {
|
|
29478
29881
|
id: string;
|
|
29479
|
-
recordType: "company" | "company_lead" | "customer" | "lead" | "product"
|
|
29882
|
+
recordType: "company" | "company_lead" | "customer" | "lead" | "product" | `${string}:${string}`;
|
|
29480
29883
|
name: string;
|
|
29481
29884
|
filter: ConditionGroup | null;
|
|
29482
29885
|
search: string | null;
|
|
@@ -29568,6 +29971,12 @@ export declare const orpc: {
|
|
|
29568
29971
|
FILTER_TOO_SLOW: {
|
|
29569
29972
|
status: number;
|
|
29570
29973
|
};
|
|
29974
|
+
INVALID_TYPE: {
|
|
29975
|
+
status: number;
|
|
29976
|
+
};
|
|
29977
|
+
VIEW_NOT_SHARED: {
|
|
29978
|
+
status: number;
|
|
29979
|
+
};
|
|
29571
29980
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
29572
29981
|
name?: string | undefined;
|
|
29573
29982
|
filter?: unknown;
|
|
@@ -29662,6 +30071,12 @@ export declare const orpc: {
|
|
|
29662
30071
|
FILTER_TOO_SLOW: {
|
|
29663
30072
|
status: number;
|
|
29664
30073
|
};
|
|
30074
|
+
INVALID_TYPE: {
|
|
30075
|
+
status: number;
|
|
30076
|
+
};
|
|
30077
|
+
VIEW_NOT_SHARED: {
|
|
30078
|
+
status: number;
|
|
30079
|
+
};
|
|
29665
30080
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
29666
30081
|
id: string;
|
|
29667
30082
|
}>;
|
|
@@ -29673,7 +30088,8 @@ export declare const orpc: {
|
|
|
29673
30088
|
label: string;
|
|
29674
30089
|
type: "boolean" | "date" | "member" | "number" | "select" | "tags" | "text";
|
|
29675
30090
|
options?: string[] | undefined;
|
|
29676
|
-
group: "activity" | "company" | "custom" | "fields" | "lead";
|
|
30091
|
+
group: "activity" | "company" | "custom" | "fields" | "lead" | "plugin";
|
|
30092
|
+
groupLabel?: string | undefined;
|
|
29677
30093
|
}[];
|
|
29678
30094
|
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
29679
30095
|
UNAUTHORIZED: {
|
|
@@ -29753,9 +30169,108 @@ export declare const orpc: {
|
|
|
29753
30169
|
FILTER_TOO_SLOW: {
|
|
29754
30170
|
status: number;
|
|
29755
30171
|
};
|
|
30172
|
+
INVALID_TYPE: {
|
|
30173
|
+
status: number;
|
|
30174
|
+
};
|
|
30175
|
+
VIEW_NOT_SHARED: {
|
|
30176
|
+
status: number;
|
|
30177
|
+
};
|
|
29756
30178
|
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
29757
30179
|
recordType: "company" | "company_lead" | "customer" | "lead" | "product";
|
|
29758
30180
|
}>;
|
|
30181
|
+
matches: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
|
|
30182
|
+
viewId: string;
|
|
30183
|
+
recordIds: string[];
|
|
30184
|
+
}, {
|
|
30185
|
+
recordIds: string[];
|
|
30186
|
+
}, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
30187
|
+
UNAUTHORIZED: {
|
|
30188
|
+
status: number;
|
|
30189
|
+
};
|
|
30190
|
+
NOT_ALLOWED: {
|
|
30191
|
+
status: number;
|
|
30192
|
+
data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30193
|
+
permission: import("zod").ZodString;
|
|
30194
|
+
}, import("zod/v4/core").$strip>>;
|
|
30195
|
+
};
|
|
30196
|
+
PLUGIN_ONLY: {
|
|
30197
|
+
status: number;
|
|
30198
|
+
};
|
|
30199
|
+
MEMBERS_ONLY: {
|
|
30200
|
+
status: number;
|
|
30201
|
+
};
|
|
30202
|
+
ORG_REQUIRED: {
|
|
30203
|
+
status: number;
|
|
30204
|
+
};
|
|
30205
|
+
SCOPE_REQUIRED: {
|
|
30206
|
+
status: number;
|
|
30207
|
+
};
|
|
30208
|
+
SERVICE_TOKEN_REQUIRED: {
|
|
30209
|
+
status: number;
|
|
30210
|
+
};
|
|
30211
|
+
ORGANIZATION_DISABLED: {
|
|
30212
|
+
status: number;
|
|
30213
|
+
data: import("zod").ZodObject<{
|
|
30214
|
+
manageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30215
|
+
}, import("zod/v4/core").$strip>;
|
|
30216
|
+
};
|
|
30217
|
+
NOT_IN_PLAN: {
|
|
30218
|
+
status: number;
|
|
30219
|
+
data: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30220
|
+
manageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30221
|
+
}, import("zod/v4/core").$strip>>;
|
|
30222
|
+
};
|
|
30223
|
+
READ_ONLY: {
|
|
30224
|
+
status: number;
|
|
30225
|
+
};
|
|
30226
|
+
TOO_MANY_REQUESTS: {
|
|
30227
|
+
status: number;
|
|
30228
|
+
};
|
|
30229
|
+
INVALID_INPUT: {
|
|
30230
|
+
status: number;
|
|
30231
|
+
data: import("zod").ZodObject<{
|
|
30232
|
+
issues: import("zod").ZodArray<import("zod").ZodObject<{
|
|
30233
|
+
path: import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodInt]>>;
|
|
30234
|
+
message: import("zod").ZodString;
|
|
30235
|
+
}, import("zod/v4/core").$strip>>;
|
|
30236
|
+
}, import("zod/v4/core").$strip>;
|
|
30237
|
+
};
|
|
30238
|
+
NOT_FOUND: {
|
|
30239
|
+
status: number;
|
|
30240
|
+
};
|
|
30241
|
+
TAKEN: {
|
|
30242
|
+
status: number;
|
|
30243
|
+
data: import("zod").ZodObject<{
|
|
30244
|
+
field: import("zod").ZodString;
|
|
30245
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30246
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
30247
|
+
}, import("zod/v4/core").$strip>;
|
|
30248
|
+
};
|
|
30249
|
+
INVALID_CURSOR: {
|
|
30250
|
+
status: number;
|
|
30251
|
+
};
|
|
30252
|
+
INVALID_REFERENCE: {
|
|
30253
|
+
status: number;
|
|
30254
|
+
data: import("zod").ZodObject<{
|
|
30255
|
+
field: import("zod").ZodString;
|
|
30256
|
+
}, import("zod/v4/core").$strip>;
|
|
30257
|
+
};
|
|
30258
|
+
INVALID_FILTER: {
|
|
30259
|
+
status: number;
|
|
30260
|
+
};
|
|
30261
|
+
FILTER_TOO_SLOW: {
|
|
30262
|
+
status: number;
|
|
30263
|
+
};
|
|
30264
|
+
INVALID_TYPE: {
|
|
30265
|
+
status: number;
|
|
30266
|
+
};
|
|
30267
|
+
VIEW_NOT_SHARED: {
|
|
30268
|
+
status: number;
|
|
30269
|
+
};
|
|
30270
|
+
}>>> & import("@orpc/tanstack-query").GeneralUtils<{
|
|
30271
|
+
viewId: string;
|
|
30272
|
+
recordIds: string[];
|
|
30273
|
+
}>;
|
|
29759
30274
|
} & import("@orpc/tanstack-query").GeneralUtils<unknown>;
|
|
29760
30275
|
webhooks: {
|
|
29761
30276
|
eventTypes: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
|
|
@@ -31168,6 +31683,13 @@ export declare const contactQueries: {
|
|
|
31168
31683
|
NOT_A_LEAD: {
|
|
31169
31684
|
status: number;
|
|
31170
31685
|
};
|
|
31686
|
+
PLUGIN_FIELD: {
|
|
31687
|
+
status: number;
|
|
31688
|
+
data: import("zod").ZodObject<{
|
|
31689
|
+
fieldId: import("zod").ZodString;
|
|
31690
|
+
plugin: import("zod").ZodString;
|
|
31691
|
+
}, import("zod/v4/core").$strip>;
|
|
31692
|
+
};
|
|
31171
31693
|
TAG_LIMIT: {
|
|
31172
31694
|
status: number;
|
|
31173
31695
|
};
|
|
@@ -31313,6 +31835,13 @@ export declare const contactQueries: {
|
|
|
31313
31835
|
NOT_A_LEAD: {
|
|
31314
31836
|
status: number;
|
|
31315
31837
|
};
|
|
31838
|
+
PLUGIN_FIELD: {
|
|
31839
|
+
status: number;
|
|
31840
|
+
data: import("zod").ZodObject<{
|
|
31841
|
+
fieldId: import("zod").ZodString;
|
|
31842
|
+
plugin: import("zod").ZodString;
|
|
31843
|
+
}, import("zod/v4/core").$strip>;
|
|
31844
|
+
};
|
|
31316
31845
|
TAG_LIMIT: {
|
|
31317
31846
|
status: number;
|
|
31318
31847
|
};
|