@deepintel-ltd/farmpro-contracts 1.15.1 → 1.15.3
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/routes/team-payments.routes.d.ts +601 -0
- package/dist/routes/team-payments.routes.d.ts.map +1 -1
- package/dist/routes/team-payments.routes.js +19 -1
- package/dist/schemas/team-payments.schemas.d.ts +193 -0
- package/dist/schemas/team-payments.schemas.d.ts.map +1 -1
- package/dist/schemas/team-payments.schemas.js +19 -0
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ export declare const teamPaymentsRouter: {
|
|
|
43
43
|
isActive: z.ZodBoolean;
|
|
44
44
|
dailyLimit: z.ZodNullable<z.ZodNumber>;
|
|
45
45
|
monthlyLimit: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
credentialsConfigured: z.ZodBoolean;
|
|
46
47
|
monoLinkedAt: z.ZodNullable<z.ZodString>;
|
|
47
48
|
monoConsentExpiry: z.ZodNullable<z.ZodString>;
|
|
48
49
|
} & {
|
|
@@ -62,6 +63,7 @@ export declare const teamPaymentsRouter: {
|
|
|
62
63
|
providerAccountId: string | null;
|
|
63
64
|
dailyLimit: number | null;
|
|
64
65
|
monthlyLimit: number | null;
|
|
66
|
+
credentialsConfigured: boolean;
|
|
65
67
|
monoLinkedAt: string | null;
|
|
66
68
|
monoConsentExpiry: string | null;
|
|
67
69
|
}, {
|
|
@@ -78,6 +80,7 @@ export declare const teamPaymentsRouter: {
|
|
|
78
80
|
providerAccountId: string | null;
|
|
79
81
|
dailyLimit: number | null;
|
|
80
82
|
monthlyLimit: number | null;
|
|
83
|
+
credentialsConfigured: boolean;
|
|
81
84
|
monoLinkedAt: string | null;
|
|
82
85
|
monoConsentExpiry: string | null;
|
|
83
86
|
}>;
|
|
@@ -101,6 +104,7 @@ export declare const teamPaymentsRouter: {
|
|
|
101
104
|
providerAccountId: string | null;
|
|
102
105
|
dailyLimit: number | null;
|
|
103
106
|
monthlyLimit: number | null;
|
|
107
|
+
credentialsConfigured: boolean;
|
|
104
108
|
monoLinkedAt: string | null;
|
|
105
109
|
monoConsentExpiry: string | null;
|
|
106
110
|
};
|
|
@@ -124,6 +128,7 @@ export declare const teamPaymentsRouter: {
|
|
|
124
128
|
providerAccountId: string | null;
|
|
125
129
|
dailyLimit: number | null;
|
|
126
130
|
monthlyLimit: number | null;
|
|
131
|
+
credentialsConfigured: boolean;
|
|
127
132
|
monoLinkedAt: string | null;
|
|
128
133
|
monoConsentExpiry: string | null;
|
|
129
134
|
};
|
|
@@ -173,6 +178,7 @@ export declare const teamPaymentsRouter: {
|
|
|
173
178
|
providerAccountId: string | null;
|
|
174
179
|
dailyLimit: number | null;
|
|
175
180
|
monthlyLimit: number | null;
|
|
181
|
+
credentialsConfigured: boolean;
|
|
176
182
|
monoLinkedAt: string | null;
|
|
177
183
|
monoConsentExpiry: string | null;
|
|
178
184
|
};
|
|
@@ -208,6 +214,7 @@ export declare const teamPaymentsRouter: {
|
|
|
208
214
|
providerAccountId: string | null;
|
|
209
215
|
dailyLimit: number | null;
|
|
210
216
|
monthlyLimit: number | null;
|
|
217
|
+
credentialsConfigured: boolean;
|
|
211
218
|
monoLinkedAt: string | null;
|
|
212
219
|
monoConsentExpiry: string | null;
|
|
213
220
|
};
|
|
@@ -633,6 +640,7 @@ export declare const teamPaymentsRouter: {
|
|
|
633
640
|
isActive: z.ZodBoolean;
|
|
634
641
|
dailyLimit: z.ZodNullable<z.ZodNumber>;
|
|
635
642
|
monthlyLimit: z.ZodNullable<z.ZodNumber>;
|
|
643
|
+
credentialsConfigured: z.ZodBoolean;
|
|
636
644
|
monoLinkedAt: z.ZodNullable<z.ZodString>;
|
|
637
645
|
monoConsentExpiry: z.ZodNullable<z.ZodString>;
|
|
638
646
|
} & {
|
|
@@ -652,6 +660,7 @@ export declare const teamPaymentsRouter: {
|
|
|
652
660
|
providerAccountId: string | null;
|
|
653
661
|
dailyLimit: number | null;
|
|
654
662
|
monthlyLimit: number | null;
|
|
663
|
+
credentialsConfigured: boolean;
|
|
655
664
|
monoLinkedAt: string | null;
|
|
656
665
|
monoConsentExpiry: string | null;
|
|
657
666
|
}, {
|
|
@@ -668,6 +677,7 @@ export declare const teamPaymentsRouter: {
|
|
|
668
677
|
providerAccountId: string | null;
|
|
669
678
|
dailyLimit: number | null;
|
|
670
679
|
monthlyLimit: number | null;
|
|
680
|
+
credentialsConfigured: boolean;
|
|
671
681
|
monoLinkedAt: string | null;
|
|
672
682
|
monoConsentExpiry: string | null;
|
|
673
683
|
}>;
|
|
@@ -691,6 +701,7 @@ export declare const teamPaymentsRouter: {
|
|
|
691
701
|
providerAccountId: string | null;
|
|
692
702
|
dailyLimit: number | null;
|
|
693
703
|
monthlyLimit: number | null;
|
|
704
|
+
credentialsConfigured: boolean;
|
|
694
705
|
monoLinkedAt: string | null;
|
|
695
706
|
monoConsentExpiry: string | null;
|
|
696
707
|
};
|
|
@@ -714,6 +725,7 @@ export declare const teamPaymentsRouter: {
|
|
|
714
725
|
providerAccountId: string | null;
|
|
715
726
|
dailyLimit: number | null;
|
|
716
727
|
monthlyLimit: number | null;
|
|
728
|
+
credentialsConfigured: boolean;
|
|
717
729
|
monoLinkedAt: string | null;
|
|
718
730
|
monoConsentExpiry: string | null;
|
|
719
731
|
};
|
|
@@ -763,6 +775,7 @@ export declare const teamPaymentsRouter: {
|
|
|
763
775
|
providerAccountId: string | null;
|
|
764
776
|
dailyLimit: number | null;
|
|
765
777
|
monthlyLimit: number | null;
|
|
778
|
+
credentialsConfigured: boolean;
|
|
766
779
|
monoLinkedAt: string | null;
|
|
767
780
|
monoConsentExpiry: string | null;
|
|
768
781
|
};
|
|
@@ -798,6 +811,7 @@ export declare const teamPaymentsRouter: {
|
|
|
798
811
|
providerAccountId: string | null;
|
|
799
812
|
dailyLimit: number | null;
|
|
800
813
|
monthlyLimit: number | null;
|
|
814
|
+
credentialsConfigured: boolean;
|
|
801
815
|
monoLinkedAt: string | null;
|
|
802
816
|
monoConsentExpiry: string | null;
|
|
803
817
|
};
|
|
@@ -1299,6 +1313,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1299
1313
|
isActive: z.ZodBoolean;
|
|
1300
1314
|
dailyLimit: z.ZodNullable<z.ZodNumber>;
|
|
1301
1315
|
monthlyLimit: z.ZodNullable<z.ZodNumber>;
|
|
1316
|
+
credentialsConfigured: z.ZodBoolean;
|
|
1302
1317
|
monoLinkedAt: z.ZodNullable<z.ZodString>;
|
|
1303
1318
|
monoConsentExpiry: z.ZodNullable<z.ZodString>;
|
|
1304
1319
|
} & {
|
|
@@ -1318,6 +1333,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1318
1333
|
providerAccountId: string | null;
|
|
1319
1334
|
dailyLimit: number | null;
|
|
1320
1335
|
monthlyLimit: number | null;
|
|
1336
|
+
credentialsConfigured: boolean;
|
|
1321
1337
|
monoLinkedAt: string | null;
|
|
1322
1338
|
monoConsentExpiry: string | null;
|
|
1323
1339
|
}, {
|
|
@@ -1334,6 +1350,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1334
1350
|
providerAccountId: string | null;
|
|
1335
1351
|
dailyLimit: number | null;
|
|
1336
1352
|
monthlyLimit: number | null;
|
|
1353
|
+
credentialsConfigured: boolean;
|
|
1337
1354
|
monoLinkedAt: string | null;
|
|
1338
1355
|
monoConsentExpiry: string | null;
|
|
1339
1356
|
}>;
|
|
@@ -1357,6 +1374,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1357
1374
|
providerAccountId: string | null;
|
|
1358
1375
|
dailyLimit: number | null;
|
|
1359
1376
|
monthlyLimit: number | null;
|
|
1377
|
+
credentialsConfigured: boolean;
|
|
1360
1378
|
monoLinkedAt: string | null;
|
|
1361
1379
|
monoConsentExpiry: string | null;
|
|
1362
1380
|
};
|
|
@@ -1380,6 +1398,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1380
1398
|
providerAccountId: string | null;
|
|
1381
1399
|
dailyLimit: number | null;
|
|
1382
1400
|
monthlyLimit: number | null;
|
|
1401
|
+
credentialsConfigured: boolean;
|
|
1383
1402
|
monoLinkedAt: string | null;
|
|
1384
1403
|
monoConsentExpiry: string | null;
|
|
1385
1404
|
};
|
|
@@ -1429,6 +1448,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1429
1448
|
providerAccountId: string | null;
|
|
1430
1449
|
dailyLimit: number | null;
|
|
1431
1450
|
monthlyLimit: number | null;
|
|
1451
|
+
credentialsConfigured: boolean;
|
|
1432
1452
|
monoLinkedAt: string | null;
|
|
1433
1453
|
monoConsentExpiry: string | null;
|
|
1434
1454
|
};
|
|
@@ -1464,6 +1484,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1464
1484
|
providerAccountId: string | null;
|
|
1465
1485
|
dailyLimit: number | null;
|
|
1466
1486
|
monthlyLimit: number | null;
|
|
1487
|
+
credentialsConfigured: boolean;
|
|
1467
1488
|
monoLinkedAt: string | null;
|
|
1468
1489
|
monoConsentExpiry: string | null;
|
|
1469
1490
|
};
|
|
@@ -1896,6 +1917,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1896
1917
|
isActive: z.ZodBoolean;
|
|
1897
1918
|
dailyLimit: z.ZodNullable<z.ZodNumber>;
|
|
1898
1919
|
monthlyLimit: z.ZodNullable<z.ZodNumber>;
|
|
1920
|
+
credentialsConfigured: z.ZodBoolean;
|
|
1899
1921
|
monoLinkedAt: z.ZodNullable<z.ZodString>;
|
|
1900
1922
|
monoConsentExpiry: z.ZodNullable<z.ZodString>;
|
|
1901
1923
|
} & {
|
|
@@ -1915,6 +1937,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1915
1937
|
providerAccountId: string | null;
|
|
1916
1938
|
dailyLimit: number | null;
|
|
1917
1939
|
monthlyLimit: number | null;
|
|
1940
|
+
credentialsConfigured: boolean;
|
|
1918
1941
|
monoLinkedAt: string | null;
|
|
1919
1942
|
monoConsentExpiry: string | null;
|
|
1920
1943
|
}, {
|
|
@@ -1931,6 +1954,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1931
1954
|
providerAccountId: string | null;
|
|
1932
1955
|
dailyLimit: number | null;
|
|
1933
1956
|
monthlyLimit: number | null;
|
|
1957
|
+
credentialsConfigured: boolean;
|
|
1934
1958
|
monoLinkedAt: string | null;
|
|
1935
1959
|
monoConsentExpiry: string | null;
|
|
1936
1960
|
}>;
|
|
@@ -1954,6 +1978,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1954
1978
|
providerAccountId: string | null;
|
|
1955
1979
|
dailyLimit: number | null;
|
|
1956
1980
|
monthlyLimit: number | null;
|
|
1981
|
+
credentialsConfigured: boolean;
|
|
1957
1982
|
monoLinkedAt: string | null;
|
|
1958
1983
|
monoConsentExpiry: string | null;
|
|
1959
1984
|
};
|
|
@@ -1977,6 +2002,7 @@ export declare const teamPaymentsRouter: {
|
|
|
1977
2002
|
providerAccountId: string | null;
|
|
1978
2003
|
dailyLimit: number | null;
|
|
1979
2004
|
monthlyLimit: number | null;
|
|
2005
|
+
credentialsConfigured: boolean;
|
|
1980
2006
|
monoLinkedAt: string | null;
|
|
1981
2007
|
monoConsentExpiry: string | null;
|
|
1982
2008
|
};
|
|
@@ -2026,6 +2052,7 @@ export declare const teamPaymentsRouter: {
|
|
|
2026
2052
|
providerAccountId: string | null;
|
|
2027
2053
|
dailyLimit: number | null;
|
|
2028
2054
|
monthlyLimit: number | null;
|
|
2055
|
+
credentialsConfigured: boolean;
|
|
2029
2056
|
monoLinkedAt: string | null;
|
|
2030
2057
|
monoConsentExpiry: string | null;
|
|
2031
2058
|
};
|
|
@@ -2061,6 +2088,7 @@ export declare const teamPaymentsRouter: {
|
|
|
2061
2088
|
providerAccountId: string | null;
|
|
2062
2089
|
dailyLimit: number | null;
|
|
2063
2090
|
monthlyLimit: number | null;
|
|
2091
|
+
credentialsConfigured: boolean;
|
|
2064
2092
|
monoLinkedAt: string | null;
|
|
2065
2093
|
monoConsentExpiry: string | null;
|
|
2066
2094
|
};
|
|
@@ -2835,6 +2863,411 @@ export declare const teamPaymentsRouter: {
|
|
|
2835
2863
|
}>;
|
|
2836
2864
|
};
|
|
2837
2865
|
};
|
|
2866
|
+
resolveVendorAccount: {
|
|
2867
|
+
pathParams: z.ZodObject<{
|
|
2868
|
+
farmId: z.ZodString;
|
|
2869
|
+
id: z.ZodString;
|
|
2870
|
+
}, "strip", z.ZodTypeAny, {
|
|
2871
|
+
id: string;
|
|
2872
|
+
farmId: string;
|
|
2873
|
+
}, {
|
|
2874
|
+
id: string;
|
|
2875
|
+
farmId: string;
|
|
2876
|
+
}>;
|
|
2877
|
+
summary: "Resolve vendor bank account name";
|
|
2878
|
+
description: "Look up the account holder name for a bank/account number via the payment account provider, so the payer can confirm the recipient before sending money";
|
|
2879
|
+
method: "POST";
|
|
2880
|
+
body: z.ZodObject<{
|
|
2881
|
+
bankCode: z.ZodString;
|
|
2882
|
+
accountNumber: z.ZodString;
|
|
2883
|
+
}, "strip", z.ZodTypeAny, {
|
|
2884
|
+
accountNumber: string;
|
|
2885
|
+
bankCode: string;
|
|
2886
|
+
}, {
|
|
2887
|
+
accountNumber: string;
|
|
2888
|
+
bankCode: string;
|
|
2889
|
+
}>;
|
|
2890
|
+
path: "/farms/:farmId/payment-accounts/:id/resolve-account";
|
|
2891
|
+
responses: {
|
|
2892
|
+
200: z.ZodObject<{
|
|
2893
|
+
meta: z.ZodObject<{
|
|
2894
|
+
accountName: z.ZodString;
|
|
2895
|
+
}, "strip", z.ZodTypeAny, {
|
|
2896
|
+
accountName: string;
|
|
2897
|
+
}, {
|
|
2898
|
+
accountName: string;
|
|
2899
|
+
}>;
|
|
2900
|
+
}, "strip", z.ZodTypeAny, {
|
|
2901
|
+
meta: {
|
|
2902
|
+
accountName: string;
|
|
2903
|
+
};
|
|
2904
|
+
}, {
|
|
2905
|
+
meta: {
|
|
2906
|
+
accountName: string;
|
|
2907
|
+
};
|
|
2908
|
+
}>;
|
|
2909
|
+
400: z.ZodObject<{
|
|
2910
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
2911
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2912
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
2913
|
+
about: z.ZodOptional<z.ZodString>;
|
|
2914
|
+
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
about?: string | undefined;
|
|
2916
|
+
}, {
|
|
2917
|
+
about?: string | undefined;
|
|
2918
|
+
}>>;
|
|
2919
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2920
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2921
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2922
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
2923
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
2924
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
2925
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
2926
|
+
}, "strip", z.ZodTypeAny, {
|
|
2927
|
+
pointer?: string | undefined;
|
|
2928
|
+
parameter?: string | undefined;
|
|
2929
|
+
}, {
|
|
2930
|
+
pointer?: string | undefined;
|
|
2931
|
+
parameter?: string | undefined;
|
|
2932
|
+
}>>;
|
|
2933
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2934
|
+
}, "strip", z.ZodTypeAny, {
|
|
2935
|
+
status?: string | undefined;
|
|
2936
|
+
code?: string | undefined;
|
|
2937
|
+
id?: string | undefined;
|
|
2938
|
+
links?: {
|
|
2939
|
+
about?: string | undefined;
|
|
2940
|
+
} | undefined;
|
|
2941
|
+
meta?: Record<string, unknown> | undefined;
|
|
2942
|
+
title?: string | undefined;
|
|
2943
|
+
detail?: string | undefined;
|
|
2944
|
+
source?: {
|
|
2945
|
+
pointer?: string | undefined;
|
|
2946
|
+
parameter?: string | undefined;
|
|
2947
|
+
} | undefined;
|
|
2948
|
+
}, {
|
|
2949
|
+
status?: string | undefined;
|
|
2950
|
+
code?: string | undefined;
|
|
2951
|
+
id?: string | undefined;
|
|
2952
|
+
links?: {
|
|
2953
|
+
about?: string | undefined;
|
|
2954
|
+
} | undefined;
|
|
2955
|
+
meta?: Record<string, unknown> | undefined;
|
|
2956
|
+
title?: string | undefined;
|
|
2957
|
+
detail?: string | undefined;
|
|
2958
|
+
source?: {
|
|
2959
|
+
pointer?: string | undefined;
|
|
2960
|
+
parameter?: string | undefined;
|
|
2961
|
+
} | undefined;
|
|
2962
|
+
}>, "many">;
|
|
2963
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2964
|
+
}, "strip", z.ZodTypeAny, {
|
|
2965
|
+
errors: {
|
|
2966
|
+
status?: string | undefined;
|
|
2967
|
+
code?: string | undefined;
|
|
2968
|
+
id?: string | undefined;
|
|
2969
|
+
links?: {
|
|
2970
|
+
about?: string | undefined;
|
|
2971
|
+
} | undefined;
|
|
2972
|
+
meta?: Record<string, unknown> | undefined;
|
|
2973
|
+
title?: string | undefined;
|
|
2974
|
+
detail?: string | undefined;
|
|
2975
|
+
source?: {
|
|
2976
|
+
pointer?: string | undefined;
|
|
2977
|
+
parameter?: string | undefined;
|
|
2978
|
+
} | undefined;
|
|
2979
|
+
}[];
|
|
2980
|
+
meta?: Record<string, unknown> | undefined;
|
|
2981
|
+
}, {
|
|
2982
|
+
errors: {
|
|
2983
|
+
status?: string | undefined;
|
|
2984
|
+
code?: string | undefined;
|
|
2985
|
+
id?: string | undefined;
|
|
2986
|
+
links?: {
|
|
2987
|
+
about?: string | undefined;
|
|
2988
|
+
} | undefined;
|
|
2989
|
+
meta?: Record<string, unknown> | undefined;
|
|
2990
|
+
title?: string | undefined;
|
|
2991
|
+
detail?: string | undefined;
|
|
2992
|
+
source?: {
|
|
2993
|
+
pointer?: string | undefined;
|
|
2994
|
+
parameter?: string | undefined;
|
|
2995
|
+
} | undefined;
|
|
2996
|
+
}[];
|
|
2997
|
+
meta?: Record<string, unknown> | undefined;
|
|
2998
|
+
}>;
|
|
2999
|
+
401: z.ZodObject<{
|
|
3000
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3001
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3002
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3003
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
}, "strip", z.ZodTypeAny, {
|
|
3005
|
+
about?: string | undefined;
|
|
3006
|
+
}, {
|
|
3007
|
+
about?: string | undefined;
|
|
3008
|
+
}>>;
|
|
3009
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3012
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3013
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3014
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3015
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
}, "strip", z.ZodTypeAny, {
|
|
3017
|
+
pointer?: string | undefined;
|
|
3018
|
+
parameter?: string | undefined;
|
|
3019
|
+
}, {
|
|
3020
|
+
pointer?: string | undefined;
|
|
3021
|
+
parameter?: string | undefined;
|
|
3022
|
+
}>>;
|
|
3023
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3024
|
+
}, "strip", z.ZodTypeAny, {
|
|
3025
|
+
status?: string | undefined;
|
|
3026
|
+
code?: string | undefined;
|
|
3027
|
+
id?: string | undefined;
|
|
3028
|
+
links?: {
|
|
3029
|
+
about?: string | undefined;
|
|
3030
|
+
} | undefined;
|
|
3031
|
+
meta?: Record<string, unknown> | undefined;
|
|
3032
|
+
title?: string | undefined;
|
|
3033
|
+
detail?: string | undefined;
|
|
3034
|
+
source?: {
|
|
3035
|
+
pointer?: string | undefined;
|
|
3036
|
+
parameter?: string | undefined;
|
|
3037
|
+
} | undefined;
|
|
3038
|
+
}, {
|
|
3039
|
+
status?: string | undefined;
|
|
3040
|
+
code?: string | undefined;
|
|
3041
|
+
id?: string | undefined;
|
|
3042
|
+
links?: {
|
|
3043
|
+
about?: string | undefined;
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
meta?: Record<string, unknown> | undefined;
|
|
3046
|
+
title?: string | undefined;
|
|
3047
|
+
detail?: string | undefined;
|
|
3048
|
+
source?: {
|
|
3049
|
+
pointer?: string | undefined;
|
|
3050
|
+
parameter?: string | undefined;
|
|
3051
|
+
} | undefined;
|
|
3052
|
+
}>, "many">;
|
|
3053
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3054
|
+
}, "strip", z.ZodTypeAny, {
|
|
3055
|
+
errors: {
|
|
3056
|
+
status?: string | undefined;
|
|
3057
|
+
code?: string | undefined;
|
|
3058
|
+
id?: string | undefined;
|
|
3059
|
+
links?: {
|
|
3060
|
+
about?: string | undefined;
|
|
3061
|
+
} | undefined;
|
|
3062
|
+
meta?: Record<string, unknown> | undefined;
|
|
3063
|
+
title?: string | undefined;
|
|
3064
|
+
detail?: string | undefined;
|
|
3065
|
+
source?: {
|
|
3066
|
+
pointer?: string | undefined;
|
|
3067
|
+
parameter?: string | undefined;
|
|
3068
|
+
} | undefined;
|
|
3069
|
+
}[];
|
|
3070
|
+
meta?: Record<string, unknown> | undefined;
|
|
3071
|
+
}, {
|
|
3072
|
+
errors: {
|
|
3073
|
+
status?: string | undefined;
|
|
3074
|
+
code?: string | undefined;
|
|
3075
|
+
id?: string | undefined;
|
|
3076
|
+
links?: {
|
|
3077
|
+
about?: string | undefined;
|
|
3078
|
+
} | undefined;
|
|
3079
|
+
meta?: Record<string, unknown> | undefined;
|
|
3080
|
+
title?: string | undefined;
|
|
3081
|
+
detail?: string | undefined;
|
|
3082
|
+
source?: {
|
|
3083
|
+
pointer?: string | undefined;
|
|
3084
|
+
parameter?: string | undefined;
|
|
3085
|
+
} | undefined;
|
|
3086
|
+
}[];
|
|
3087
|
+
meta?: Record<string, unknown> | undefined;
|
|
3088
|
+
}>;
|
|
3089
|
+
403: z.ZodObject<{
|
|
3090
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3091
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3092
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3093
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3094
|
+
}, "strip", z.ZodTypeAny, {
|
|
3095
|
+
about?: string | undefined;
|
|
3096
|
+
}, {
|
|
3097
|
+
about?: string | undefined;
|
|
3098
|
+
}>>;
|
|
3099
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3100
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3101
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3102
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3103
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3104
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3105
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3106
|
+
}, "strip", z.ZodTypeAny, {
|
|
3107
|
+
pointer?: string | undefined;
|
|
3108
|
+
parameter?: string | undefined;
|
|
3109
|
+
}, {
|
|
3110
|
+
pointer?: string | undefined;
|
|
3111
|
+
parameter?: string | undefined;
|
|
3112
|
+
}>>;
|
|
3113
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3114
|
+
}, "strip", z.ZodTypeAny, {
|
|
3115
|
+
status?: string | undefined;
|
|
3116
|
+
code?: string | undefined;
|
|
3117
|
+
id?: string | undefined;
|
|
3118
|
+
links?: {
|
|
3119
|
+
about?: string | undefined;
|
|
3120
|
+
} | undefined;
|
|
3121
|
+
meta?: Record<string, unknown> | undefined;
|
|
3122
|
+
title?: string | undefined;
|
|
3123
|
+
detail?: string | undefined;
|
|
3124
|
+
source?: {
|
|
3125
|
+
pointer?: string | undefined;
|
|
3126
|
+
parameter?: string | undefined;
|
|
3127
|
+
} | undefined;
|
|
3128
|
+
}, {
|
|
3129
|
+
status?: string | undefined;
|
|
3130
|
+
code?: string | undefined;
|
|
3131
|
+
id?: string | undefined;
|
|
3132
|
+
links?: {
|
|
3133
|
+
about?: string | undefined;
|
|
3134
|
+
} | undefined;
|
|
3135
|
+
meta?: Record<string, unknown> | undefined;
|
|
3136
|
+
title?: string | undefined;
|
|
3137
|
+
detail?: string | undefined;
|
|
3138
|
+
source?: {
|
|
3139
|
+
pointer?: string | undefined;
|
|
3140
|
+
parameter?: string | undefined;
|
|
3141
|
+
} | undefined;
|
|
3142
|
+
}>, "many">;
|
|
3143
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3144
|
+
}, "strip", z.ZodTypeAny, {
|
|
3145
|
+
errors: {
|
|
3146
|
+
status?: string | undefined;
|
|
3147
|
+
code?: string | undefined;
|
|
3148
|
+
id?: string | undefined;
|
|
3149
|
+
links?: {
|
|
3150
|
+
about?: string | undefined;
|
|
3151
|
+
} | undefined;
|
|
3152
|
+
meta?: Record<string, unknown> | undefined;
|
|
3153
|
+
title?: string | undefined;
|
|
3154
|
+
detail?: string | undefined;
|
|
3155
|
+
source?: {
|
|
3156
|
+
pointer?: string | undefined;
|
|
3157
|
+
parameter?: string | undefined;
|
|
3158
|
+
} | undefined;
|
|
3159
|
+
}[];
|
|
3160
|
+
meta?: Record<string, unknown> | undefined;
|
|
3161
|
+
}, {
|
|
3162
|
+
errors: {
|
|
3163
|
+
status?: string | undefined;
|
|
3164
|
+
code?: string | undefined;
|
|
3165
|
+
id?: string | undefined;
|
|
3166
|
+
links?: {
|
|
3167
|
+
about?: string | undefined;
|
|
3168
|
+
} | undefined;
|
|
3169
|
+
meta?: Record<string, unknown> | undefined;
|
|
3170
|
+
title?: string | undefined;
|
|
3171
|
+
detail?: string | undefined;
|
|
3172
|
+
source?: {
|
|
3173
|
+
pointer?: string | undefined;
|
|
3174
|
+
parameter?: string | undefined;
|
|
3175
|
+
} | undefined;
|
|
3176
|
+
}[];
|
|
3177
|
+
meta?: Record<string, unknown> | undefined;
|
|
3178
|
+
}>;
|
|
3179
|
+
404: z.ZodObject<{
|
|
3180
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3181
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3182
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
3183
|
+
about: z.ZodOptional<z.ZodString>;
|
|
3184
|
+
}, "strip", z.ZodTypeAny, {
|
|
3185
|
+
about?: string | undefined;
|
|
3186
|
+
}, {
|
|
3187
|
+
about?: string | undefined;
|
|
3188
|
+
}>>;
|
|
3189
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3190
|
+
code: z.ZodOptional<z.ZodString>;
|
|
3191
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
3194
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
3195
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
3196
|
+
}, "strip", z.ZodTypeAny, {
|
|
3197
|
+
pointer?: string | undefined;
|
|
3198
|
+
parameter?: string | undefined;
|
|
3199
|
+
}, {
|
|
3200
|
+
pointer?: string | undefined;
|
|
3201
|
+
parameter?: string | undefined;
|
|
3202
|
+
}>>;
|
|
3203
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3204
|
+
}, "strip", z.ZodTypeAny, {
|
|
3205
|
+
status?: string | undefined;
|
|
3206
|
+
code?: string | undefined;
|
|
3207
|
+
id?: string | undefined;
|
|
3208
|
+
links?: {
|
|
3209
|
+
about?: string | undefined;
|
|
3210
|
+
} | undefined;
|
|
3211
|
+
meta?: Record<string, unknown> | undefined;
|
|
3212
|
+
title?: string | undefined;
|
|
3213
|
+
detail?: string | undefined;
|
|
3214
|
+
source?: {
|
|
3215
|
+
pointer?: string | undefined;
|
|
3216
|
+
parameter?: string | undefined;
|
|
3217
|
+
} | undefined;
|
|
3218
|
+
}, {
|
|
3219
|
+
status?: string | undefined;
|
|
3220
|
+
code?: string | undefined;
|
|
3221
|
+
id?: string | undefined;
|
|
3222
|
+
links?: {
|
|
3223
|
+
about?: string | undefined;
|
|
3224
|
+
} | undefined;
|
|
3225
|
+
meta?: Record<string, unknown> | undefined;
|
|
3226
|
+
title?: string | undefined;
|
|
3227
|
+
detail?: string | undefined;
|
|
3228
|
+
source?: {
|
|
3229
|
+
pointer?: string | undefined;
|
|
3230
|
+
parameter?: string | undefined;
|
|
3231
|
+
} | undefined;
|
|
3232
|
+
}>, "many">;
|
|
3233
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3234
|
+
}, "strip", z.ZodTypeAny, {
|
|
3235
|
+
errors: {
|
|
3236
|
+
status?: string | undefined;
|
|
3237
|
+
code?: string | undefined;
|
|
3238
|
+
id?: string | undefined;
|
|
3239
|
+
links?: {
|
|
3240
|
+
about?: string | undefined;
|
|
3241
|
+
} | undefined;
|
|
3242
|
+
meta?: Record<string, unknown> | undefined;
|
|
3243
|
+
title?: string | undefined;
|
|
3244
|
+
detail?: string | undefined;
|
|
3245
|
+
source?: {
|
|
3246
|
+
pointer?: string | undefined;
|
|
3247
|
+
parameter?: string | undefined;
|
|
3248
|
+
} | undefined;
|
|
3249
|
+
}[];
|
|
3250
|
+
meta?: Record<string, unknown> | undefined;
|
|
3251
|
+
}, {
|
|
3252
|
+
errors: {
|
|
3253
|
+
status?: string | undefined;
|
|
3254
|
+
code?: string | undefined;
|
|
3255
|
+
id?: string | undefined;
|
|
3256
|
+
links?: {
|
|
3257
|
+
about?: string | undefined;
|
|
3258
|
+
} | undefined;
|
|
3259
|
+
meta?: Record<string, unknown> | undefined;
|
|
3260
|
+
title?: string | undefined;
|
|
3261
|
+
detail?: string | undefined;
|
|
3262
|
+
source?: {
|
|
3263
|
+
pointer?: string | undefined;
|
|
3264
|
+
parameter?: string | undefined;
|
|
3265
|
+
} | undefined;
|
|
3266
|
+
}[];
|
|
3267
|
+
meta?: Record<string, unknown> | undefined;
|
|
3268
|
+
}>;
|
|
3269
|
+
};
|
|
3270
|
+
};
|
|
2838
3271
|
listSpendLimits: {
|
|
2839
3272
|
pathParams: z.ZodObject<{
|
|
2840
3273
|
farmId: z.ZodString;
|
|
@@ -2871,8 +3304,13 @@ export declare const teamPaymentsRouter: {
|
|
|
2871
3304
|
monthlyCap: z.ZodNumber;
|
|
2872
3305
|
currentMonthSpent: z.ZodNumber;
|
|
2873
3306
|
resetAt: z.ZodString;
|
|
3307
|
+
dailyCap: z.ZodNullable<z.ZodNumber>;
|
|
3308
|
+
currentDaySpent: z.ZodNumber;
|
|
3309
|
+
dayResetAt: z.ZodNullable<z.ZodString>;
|
|
3310
|
+
maxSingleTransaction: z.ZodNullable<z.ZodNumber>;
|
|
2874
3311
|
isActive: z.ZodBoolean;
|
|
2875
3312
|
remaining: z.ZodOptional<z.ZodNumber>;
|
|
3313
|
+
remainingDaily: z.ZodOptional<z.ZodNumber>;
|
|
2876
3314
|
} & {
|
|
2877
3315
|
createdAt: z.ZodString;
|
|
2878
3316
|
updatedAt: z.ZodString;
|
|
@@ -2885,7 +3323,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2885
3323
|
monthlyCap: number;
|
|
2886
3324
|
currentMonthSpent: number;
|
|
2887
3325
|
resetAt: string;
|
|
3326
|
+
dailyCap: number | null;
|
|
3327
|
+
currentDaySpent: number;
|
|
3328
|
+
dayResetAt: string | null;
|
|
3329
|
+
maxSingleTransaction: number | null;
|
|
2888
3330
|
remaining?: number | undefined;
|
|
3331
|
+
remainingDaily?: number | undefined;
|
|
2889
3332
|
}, {
|
|
2890
3333
|
createdAt: string;
|
|
2891
3334
|
updatedAt: string;
|
|
@@ -2895,7 +3338,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2895
3338
|
monthlyCap: number;
|
|
2896
3339
|
currentMonthSpent: number;
|
|
2897
3340
|
resetAt: string;
|
|
3341
|
+
dailyCap: number | null;
|
|
3342
|
+
currentDaySpent: number;
|
|
3343
|
+
dayResetAt: string | null;
|
|
3344
|
+
maxSingleTransaction: number | null;
|
|
2898
3345
|
remaining?: number | undefined;
|
|
3346
|
+
remainingDaily?: number | undefined;
|
|
2899
3347
|
}>;
|
|
2900
3348
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2901
3349
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2912,7 +3360,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2912
3360
|
monthlyCap: number;
|
|
2913
3361
|
currentMonthSpent: number;
|
|
2914
3362
|
resetAt: string;
|
|
3363
|
+
dailyCap: number | null;
|
|
3364
|
+
currentDaySpent: number;
|
|
3365
|
+
dayResetAt: string | null;
|
|
3366
|
+
maxSingleTransaction: number | null;
|
|
2915
3367
|
remaining?: number | undefined;
|
|
3368
|
+
remainingDaily?: number | undefined;
|
|
2916
3369
|
};
|
|
2917
3370
|
relationships?: Record<string, unknown> | undefined;
|
|
2918
3371
|
links?: Record<string, string> | undefined;
|
|
@@ -2929,7 +3382,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2929
3382
|
monthlyCap: number;
|
|
2930
3383
|
currentMonthSpent: number;
|
|
2931
3384
|
resetAt: string;
|
|
3385
|
+
dailyCap: number | null;
|
|
3386
|
+
currentDaySpent: number;
|
|
3387
|
+
dayResetAt: string | null;
|
|
3388
|
+
maxSingleTransaction: number | null;
|
|
2932
3389
|
remaining?: number | undefined;
|
|
3390
|
+
remainingDaily?: number | undefined;
|
|
2933
3391
|
};
|
|
2934
3392
|
relationships?: Record<string, unknown> | undefined;
|
|
2935
3393
|
links?: Record<string, string> | undefined;
|
|
@@ -2972,7 +3430,12 @@ export declare const teamPaymentsRouter: {
|
|
|
2972
3430
|
monthlyCap: number;
|
|
2973
3431
|
currentMonthSpent: number;
|
|
2974
3432
|
resetAt: string;
|
|
3433
|
+
dailyCap: number | null;
|
|
3434
|
+
currentDaySpent: number;
|
|
3435
|
+
dayResetAt: string | null;
|
|
3436
|
+
maxSingleTransaction: number | null;
|
|
2975
3437
|
remaining?: number | undefined;
|
|
3438
|
+
remainingDaily?: number | undefined;
|
|
2976
3439
|
};
|
|
2977
3440
|
relationships?: Record<string, unknown> | undefined;
|
|
2978
3441
|
links?: Record<string, string> | undefined;
|
|
@@ -3001,7 +3464,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3001
3464
|
monthlyCap: number;
|
|
3002
3465
|
currentMonthSpent: number;
|
|
3003
3466
|
resetAt: string;
|
|
3467
|
+
dailyCap: number | null;
|
|
3468
|
+
currentDaySpent: number;
|
|
3469
|
+
dayResetAt: string | null;
|
|
3470
|
+
maxSingleTransaction: number | null;
|
|
3004
3471
|
remaining?: number | undefined;
|
|
3472
|
+
remainingDaily?: number | undefined;
|
|
3005
3473
|
};
|
|
3006
3474
|
relationships?: Record<string, unknown> | undefined;
|
|
3007
3475
|
links?: Record<string, string> | undefined;
|
|
@@ -3306,15 +3774,21 @@ export declare const teamPaymentsRouter: {
|
|
|
3306
3774
|
attributes: z.ZodObject<{
|
|
3307
3775
|
teamMemberId: z.ZodString;
|
|
3308
3776
|
monthlyCap: z.ZodNumber;
|
|
3777
|
+
dailyCap: z.ZodOptional<z.ZodNumber>;
|
|
3778
|
+
maxSingleTransaction: z.ZodOptional<z.ZodNumber>;
|
|
3309
3779
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
3310
3780
|
}, "strip", z.ZodTypeAny, {
|
|
3311
3781
|
isActive: boolean;
|
|
3312
3782
|
teamMemberId: string;
|
|
3313
3783
|
monthlyCap: number;
|
|
3784
|
+
dailyCap?: number | undefined;
|
|
3785
|
+
maxSingleTransaction?: number | undefined;
|
|
3314
3786
|
}, {
|
|
3315
3787
|
teamMemberId: string;
|
|
3316
3788
|
monthlyCap: number;
|
|
3317
3789
|
isActive?: boolean | undefined;
|
|
3790
|
+
dailyCap?: number | undefined;
|
|
3791
|
+
maxSingleTransaction?: number | undefined;
|
|
3318
3792
|
}>;
|
|
3319
3793
|
}, "strip", z.ZodTypeAny, {
|
|
3320
3794
|
type: "team-spend-limits";
|
|
@@ -3322,6 +3796,8 @@ export declare const teamPaymentsRouter: {
|
|
|
3322
3796
|
isActive: boolean;
|
|
3323
3797
|
teamMemberId: string;
|
|
3324
3798
|
monthlyCap: number;
|
|
3799
|
+
dailyCap?: number | undefined;
|
|
3800
|
+
maxSingleTransaction?: number | undefined;
|
|
3325
3801
|
};
|
|
3326
3802
|
}, {
|
|
3327
3803
|
type: "team-spend-limits";
|
|
@@ -3329,6 +3805,8 @@ export declare const teamPaymentsRouter: {
|
|
|
3329
3805
|
teamMemberId: string;
|
|
3330
3806
|
monthlyCap: number;
|
|
3331
3807
|
isActive?: boolean | undefined;
|
|
3808
|
+
dailyCap?: number | undefined;
|
|
3809
|
+
maxSingleTransaction?: number | undefined;
|
|
3332
3810
|
};
|
|
3333
3811
|
}>;
|
|
3334
3812
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3338,6 +3816,8 @@ export declare const teamPaymentsRouter: {
|
|
|
3338
3816
|
isActive: boolean;
|
|
3339
3817
|
teamMemberId: string;
|
|
3340
3818
|
monthlyCap: number;
|
|
3819
|
+
dailyCap?: number | undefined;
|
|
3820
|
+
maxSingleTransaction?: number | undefined;
|
|
3341
3821
|
};
|
|
3342
3822
|
};
|
|
3343
3823
|
}, {
|
|
@@ -3347,6 +3827,8 @@ export declare const teamPaymentsRouter: {
|
|
|
3347
3827
|
teamMemberId: string;
|
|
3348
3828
|
monthlyCap: number;
|
|
3349
3829
|
isActive?: boolean | undefined;
|
|
3830
|
+
dailyCap?: number | undefined;
|
|
3831
|
+
maxSingleTransaction?: number | undefined;
|
|
3350
3832
|
};
|
|
3351
3833
|
};
|
|
3352
3834
|
}>;
|
|
@@ -3362,8 +3844,13 @@ export declare const teamPaymentsRouter: {
|
|
|
3362
3844
|
monthlyCap: z.ZodNumber;
|
|
3363
3845
|
currentMonthSpent: z.ZodNumber;
|
|
3364
3846
|
resetAt: z.ZodString;
|
|
3847
|
+
dailyCap: z.ZodNullable<z.ZodNumber>;
|
|
3848
|
+
currentDaySpent: z.ZodNumber;
|
|
3849
|
+
dayResetAt: z.ZodNullable<z.ZodString>;
|
|
3850
|
+
maxSingleTransaction: z.ZodNullable<z.ZodNumber>;
|
|
3365
3851
|
isActive: z.ZodBoolean;
|
|
3366
3852
|
remaining: z.ZodOptional<z.ZodNumber>;
|
|
3853
|
+
remainingDaily: z.ZodOptional<z.ZodNumber>;
|
|
3367
3854
|
} & {
|
|
3368
3855
|
createdAt: z.ZodString;
|
|
3369
3856
|
updatedAt: z.ZodString;
|
|
@@ -3376,7 +3863,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3376
3863
|
monthlyCap: number;
|
|
3377
3864
|
currentMonthSpent: number;
|
|
3378
3865
|
resetAt: string;
|
|
3866
|
+
dailyCap: number | null;
|
|
3867
|
+
currentDaySpent: number;
|
|
3868
|
+
dayResetAt: string | null;
|
|
3869
|
+
maxSingleTransaction: number | null;
|
|
3379
3870
|
remaining?: number | undefined;
|
|
3871
|
+
remainingDaily?: number | undefined;
|
|
3380
3872
|
}, {
|
|
3381
3873
|
createdAt: string;
|
|
3382
3874
|
updatedAt: string;
|
|
@@ -3386,7 +3878,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3386
3878
|
monthlyCap: number;
|
|
3387
3879
|
currentMonthSpent: number;
|
|
3388
3880
|
resetAt: string;
|
|
3881
|
+
dailyCap: number | null;
|
|
3882
|
+
currentDaySpent: number;
|
|
3883
|
+
dayResetAt: string | null;
|
|
3884
|
+
maxSingleTransaction: number | null;
|
|
3389
3885
|
remaining?: number | undefined;
|
|
3886
|
+
remainingDaily?: number | undefined;
|
|
3390
3887
|
}>;
|
|
3391
3888
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3392
3889
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3403,7 +3900,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3403
3900
|
monthlyCap: number;
|
|
3404
3901
|
currentMonthSpent: number;
|
|
3405
3902
|
resetAt: string;
|
|
3903
|
+
dailyCap: number | null;
|
|
3904
|
+
currentDaySpent: number;
|
|
3905
|
+
dayResetAt: string | null;
|
|
3906
|
+
maxSingleTransaction: number | null;
|
|
3406
3907
|
remaining?: number | undefined;
|
|
3908
|
+
remainingDaily?: number | undefined;
|
|
3407
3909
|
};
|
|
3408
3910
|
relationships?: Record<string, unknown> | undefined;
|
|
3409
3911
|
links?: Record<string, string> | undefined;
|
|
@@ -3420,7 +3922,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3420
3922
|
monthlyCap: number;
|
|
3421
3923
|
currentMonthSpent: number;
|
|
3422
3924
|
resetAt: string;
|
|
3925
|
+
dailyCap: number | null;
|
|
3926
|
+
currentDaySpent: number;
|
|
3927
|
+
dayResetAt: string | null;
|
|
3928
|
+
maxSingleTransaction: number | null;
|
|
3423
3929
|
remaining?: number | undefined;
|
|
3930
|
+
remainingDaily?: number | undefined;
|
|
3424
3931
|
};
|
|
3425
3932
|
relationships?: Record<string, unknown> | undefined;
|
|
3426
3933
|
links?: Record<string, string> | undefined;
|
|
@@ -3463,7 +3970,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3463
3970
|
monthlyCap: number;
|
|
3464
3971
|
currentMonthSpent: number;
|
|
3465
3972
|
resetAt: string;
|
|
3973
|
+
dailyCap: number | null;
|
|
3974
|
+
currentDaySpent: number;
|
|
3975
|
+
dayResetAt: string | null;
|
|
3976
|
+
maxSingleTransaction: number | null;
|
|
3466
3977
|
remaining?: number | undefined;
|
|
3978
|
+
remainingDaily?: number | undefined;
|
|
3467
3979
|
};
|
|
3468
3980
|
relationships?: Record<string, unknown> | undefined;
|
|
3469
3981
|
links?: Record<string, string> | undefined;
|
|
@@ -3492,7 +4004,12 @@ export declare const teamPaymentsRouter: {
|
|
|
3492
4004
|
monthlyCap: number;
|
|
3493
4005
|
currentMonthSpent: number;
|
|
3494
4006
|
resetAt: string;
|
|
4007
|
+
dailyCap: number | null;
|
|
4008
|
+
currentDaySpent: number;
|
|
4009
|
+
dayResetAt: string | null;
|
|
4010
|
+
maxSingleTransaction: number | null;
|
|
3495
4011
|
remaining?: number | undefined;
|
|
4012
|
+
remainingDaily?: number | undefined;
|
|
3496
4013
|
};
|
|
3497
4014
|
relationships?: Record<string, unknown> | undefined;
|
|
3498
4015
|
links?: Record<string, string> | undefined;
|
|
@@ -3986,8 +4503,13 @@ export declare const teamPaymentsRouter: {
|
|
|
3986
4503
|
monthlyCap: z.ZodNumber;
|
|
3987
4504
|
currentMonthSpent: z.ZodNumber;
|
|
3988
4505
|
resetAt: z.ZodString;
|
|
4506
|
+
dailyCap: z.ZodNullable<z.ZodNumber>;
|
|
4507
|
+
currentDaySpent: z.ZodNumber;
|
|
4508
|
+
dayResetAt: z.ZodNullable<z.ZodString>;
|
|
4509
|
+
maxSingleTransaction: z.ZodNullable<z.ZodNumber>;
|
|
3989
4510
|
isActive: z.ZodBoolean;
|
|
3990
4511
|
remaining: z.ZodOptional<z.ZodNumber>;
|
|
4512
|
+
remainingDaily: z.ZodOptional<z.ZodNumber>;
|
|
3991
4513
|
} & {
|
|
3992
4514
|
createdAt: z.ZodString;
|
|
3993
4515
|
updatedAt: z.ZodString;
|
|
@@ -4000,7 +4522,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4000
4522
|
monthlyCap: number;
|
|
4001
4523
|
currentMonthSpent: number;
|
|
4002
4524
|
resetAt: string;
|
|
4525
|
+
dailyCap: number | null;
|
|
4526
|
+
currentDaySpent: number;
|
|
4527
|
+
dayResetAt: string | null;
|
|
4528
|
+
maxSingleTransaction: number | null;
|
|
4003
4529
|
remaining?: number | undefined;
|
|
4530
|
+
remainingDaily?: number | undefined;
|
|
4004
4531
|
}, {
|
|
4005
4532
|
createdAt: string;
|
|
4006
4533
|
updatedAt: string;
|
|
@@ -4010,7 +4537,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4010
4537
|
monthlyCap: number;
|
|
4011
4538
|
currentMonthSpent: number;
|
|
4012
4539
|
resetAt: string;
|
|
4540
|
+
dailyCap: number | null;
|
|
4541
|
+
currentDaySpent: number;
|
|
4542
|
+
dayResetAt: string | null;
|
|
4543
|
+
maxSingleTransaction: number | null;
|
|
4013
4544
|
remaining?: number | undefined;
|
|
4545
|
+
remainingDaily?: number | undefined;
|
|
4014
4546
|
}>;
|
|
4015
4547
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4016
4548
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4027,7 +4559,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4027
4559
|
monthlyCap: number;
|
|
4028
4560
|
currentMonthSpent: number;
|
|
4029
4561
|
resetAt: string;
|
|
4562
|
+
dailyCap: number | null;
|
|
4563
|
+
currentDaySpent: number;
|
|
4564
|
+
dayResetAt: string | null;
|
|
4565
|
+
maxSingleTransaction: number | null;
|
|
4030
4566
|
remaining?: number | undefined;
|
|
4567
|
+
remainingDaily?: number | undefined;
|
|
4031
4568
|
};
|
|
4032
4569
|
relationships?: Record<string, unknown> | undefined;
|
|
4033
4570
|
links?: Record<string, string> | undefined;
|
|
@@ -4044,7 +4581,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4044
4581
|
monthlyCap: number;
|
|
4045
4582
|
currentMonthSpent: number;
|
|
4046
4583
|
resetAt: string;
|
|
4584
|
+
dailyCap: number | null;
|
|
4585
|
+
currentDaySpent: number;
|
|
4586
|
+
dayResetAt: string | null;
|
|
4587
|
+
maxSingleTransaction: number | null;
|
|
4047
4588
|
remaining?: number | undefined;
|
|
4589
|
+
remainingDaily?: number | undefined;
|
|
4048
4590
|
};
|
|
4049
4591
|
relationships?: Record<string, unknown> | undefined;
|
|
4050
4592
|
links?: Record<string, string> | undefined;
|
|
@@ -4087,7 +4629,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4087
4629
|
monthlyCap: number;
|
|
4088
4630
|
currentMonthSpent: number;
|
|
4089
4631
|
resetAt: string;
|
|
4632
|
+
dailyCap: number | null;
|
|
4633
|
+
currentDaySpent: number;
|
|
4634
|
+
dayResetAt: string | null;
|
|
4635
|
+
maxSingleTransaction: number | null;
|
|
4090
4636
|
remaining?: number | undefined;
|
|
4637
|
+
remainingDaily?: number | undefined;
|
|
4091
4638
|
};
|
|
4092
4639
|
relationships?: Record<string, unknown> | undefined;
|
|
4093
4640
|
links?: Record<string, string> | undefined;
|
|
@@ -4116,7 +4663,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4116
4663
|
monthlyCap: number;
|
|
4117
4664
|
currentMonthSpent: number;
|
|
4118
4665
|
resetAt: string;
|
|
4666
|
+
dailyCap: number | null;
|
|
4667
|
+
currentDaySpent: number;
|
|
4668
|
+
dayResetAt: string | null;
|
|
4669
|
+
maxSingleTransaction: number | null;
|
|
4119
4670
|
remaining?: number | undefined;
|
|
4671
|
+
remainingDaily?: number | undefined;
|
|
4120
4672
|
};
|
|
4121
4673
|
relationships?: Record<string, unknown> | undefined;
|
|
4122
4674
|
links?: Record<string, string> | undefined;
|
|
@@ -4424,13 +4976,19 @@ export declare const teamPaymentsRouter: {
|
|
|
4424
4976
|
id: z.ZodString;
|
|
4425
4977
|
attributes: z.ZodObject<{
|
|
4426
4978
|
monthlyCap: z.ZodOptional<z.ZodNumber>;
|
|
4979
|
+
dailyCap: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4980
|
+
maxSingleTransaction: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4427
4981
|
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
4428
4982
|
}, "strip", z.ZodTypeAny, {
|
|
4429
4983
|
isActive?: boolean | undefined;
|
|
4430
4984
|
monthlyCap?: number | undefined;
|
|
4985
|
+
dailyCap?: number | null | undefined;
|
|
4986
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4431
4987
|
}, {
|
|
4432
4988
|
isActive?: boolean | undefined;
|
|
4433
4989
|
monthlyCap?: number | undefined;
|
|
4990
|
+
dailyCap?: number | null | undefined;
|
|
4991
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4434
4992
|
}>;
|
|
4435
4993
|
}, "strip", z.ZodTypeAny, {
|
|
4436
4994
|
type: "team-spend-limits";
|
|
@@ -4438,6 +4996,8 @@ export declare const teamPaymentsRouter: {
|
|
|
4438
4996
|
attributes: {
|
|
4439
4997
|
isActive?: boolean | undefined;
|
|
4440
4998
|
monthlyCap?: number | undefined;
|
|
4999
|
+
dailyCap?: number | null | undefined;
|
|
5000
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4441
5001
|
};
|
|
4442
5002
|
}, {
|
|
4443
5003
|
type: "team-spend-limits";
|
|
@@ -4445,6 +5005,8 @@ export declare const teamPaymentsRouter: {
|
|
|
4445
5005
|
attributes: {
|
|
4446
5006
|
isActive?: boolean | undefined;
|
|
4447
5007
|
monthlyCap?: number | undefined;
|
|
5008
|
+
dailyCap?: number | null | undefined;
|
|
5009
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4448
5010
|
};
|
|
4449
5011
|
}>;
|
|
4450
5012
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4454,6 +5016,8 @@ export declare const teamPaymentsRouter: {
|
|
|
4454
5016
|
attributes: {
|
|
4455
5017
|
isActive?: boolean | undefined;
|
|
4456
5018
|
monthlyCap?: number | undefined;
|
|
5019
|
+
dailyCap?: number | null | undefined;
|
|
5020
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4457
5021
|
};
|
|
4458
5022
|
};
|
|
4459
5023
|
}, {
|
|
@@ -4463,6 +5027,8 @@ export declare const teamPaymentsRouter: {
|
|
|
4463
5027
|
attributes: {
|
|
4464
5028
|
isActive?: boolean | undefined;
|
|
4465
5029
|
monthlyCap?: number | undefined;
|
|
5030
|
+
dailyCap?: number | null | undefined;
|
|
5031
|
+
maxSingleTransaction?: number | null | undefined;
|
|
4466
5032
|
};
|
|
4467
5033
|
};
|
|
4468
5034
|
}>;
|
|
@@ -4478,8 +5044,13 @@ export declare const teamPaymentsRouter: {
|
|
|
4478
5044
|
monthlyCap: z.ZodNumber;
|
|
4479
5045
|
currentMonthSpent: z.ZodNumber;
|
|
4480
5046
|
resetAt: z.ZodString;
|
|
5047
|
+
dailyCap: z.ZodNullable<z.ZodNumber>;
|
|
5048
|
+
currentDaySpent: z.ZodNumber;
|
|
5049
|
+
dayResetAt: z.ZodNullable<z.ZodString>;
|
|
5050
|
+
maxSingleTransaction: z.ZodNullable<z.ZodNumber>;
|
|
4481
5051
|
isActive: z.ZodBoolean;
|
|
4482
5052
|
remaining: z.ZodOptional<z.ZodNumber>;
|
|
5053
|
+
remainingDaily: z.ZodOptional<z.ZodNumber>;
|
|
4483
5054
|
} & {
|
|
4484
5055
|
createdAt: z.ZodString;
|
|
4485
5056
|
updatedAt: z.ZodString;
|
|
@@ -4492,7 +5063,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4492
5063
|
monthlyCap: number;
|
|
4493
5064
|
currentMonthSpent: number;
|
|
4494
5065
|
resetAt: string;
|
|
5066
|
+
dailyCap: number | null;
|
|
5067
|
+
currentDaySpent: number;
|
|
5068
|
+
dayResetAt: string | null;
|
|
5069
|
+
maxSingleTransaction: number | null;
|
|
4495
5070
|
remaining?: number | undefined;
|
|
5071
|
+
remainingDaily?: number | undefined;
|
|
4496
5072
|
}, {
|
|
4497
5073
|
createdAt: string;
|
|
4498
5074
|
updatedAt: string;
|
|
@@ -4502,7 +5078,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4502
5078
|
monthlyCap: number;
|
|
4503
5079
|
currentMonthSpent: number;
|
|
4504
5080
|
resetAt: string;
|
|
5081
|
+
dailyCap: number | null;
|
|
5082
|
+
currentDaySpent: number;
|
|
5083
|
+
dayResetAt: string | null;
|
|
5084
|
+
maxSingleTransaction: number | null;
|
|
4505
5085
|
remaining?: number | undefined;
|
|
5086
|
+
remainingDaily?: number | undefined;
|
|
4506
5087
|
}>;
|
|
4507
5088
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4508
5089
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4519,7 +5100,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4519
5100
|
monthlyCap: number;
|
|
4520
5101
|
currentMonthSpent: number;
|
|
4521
5102
|
resetAt: string;
|
|
5103
|
+
dailyCap: number | null;
|
|
5104
|
+
currentDaySpent: number;
|
|
5105
|
+
dayResetAt: string | null;
|
|
5106
|
+
maxSingleTransaction: number | null;
|
|
4522
5107
|
remaining?: number | undefined;
|
|
5108
|
+
remainingDaily?: number | undefined;
|
|
4523
5109
|
};
|
|
4524
5110
|
relationships?: Record<string, unknown> | undefined;
|
|
4525
5111
|
links?: Record<string, string> | undefined;
|
|
@@ -4536,7 +5122,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4536
5122
|
monthlyCap: number;
|
|
4537
5123
|
currentMonthSpent: number;
|
|
4538
5124
|
resetAt: string;
|
|
5125
|
+
dailyCap: number | null;
|
|
5126
|
+
currentDaySpent: number;
|
|
5127
|
+
dayResetAt: string | null;
|
|
5128
|
+
maxSingleTransaction: number | null;
|
|
4539
5129
|
remaining?: number | undefined;
|
|
5130
|
+
remainingDaily?: number | undefined;
|
|
4540
5131
|
};
|
|
4541
5132
|
relationships?: Record<string, unknown> | undefined;
|
|
4542
5133
|
links?: Record<string, string> | undefined;
|
|
@@ -4579,7 +5170,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4579
5170
|
monthlyCap: number;
|
|
4580
5171
|
currentMonthSpent: number;
|
|
4581
5172
|
resetAt: string;
|
|
5173
|
+
dailyCap: number | null;
|
|
5174
|
+
currentDaySpent: number;
|
|
5175
|
+
dayResetAt: string | null;
|
|
5176
|
+
maxSingleTransaction: number | null;
|
|
4582
5177
|
remaining?: number | undefined;
|
|
5178
|
+
remainingDaily?: number | undefined;
|
|
4583
5179
|
};
|
|
4584
5180
|
relationships?: Record<string, unknown> | undefined;
|
|
4585
5181
|
links?: Record<string, string> | undefined;
|
|
@@ -4608,7 +5204,12 @@ export declare const teamPaymentsRouter: {
|
|
|
4608
5204
|
monthlyCap: number;
|
|
4609
5205
|
currentMonthSpent: number;
|
|
4610
5206
|
resetAt: string;
|
|
5207
|
+
dailyCap: number | null;
|
|
5208
|
+
currentDaySpent: number;
|
|
5209
|
+
dayResetAt: string | null;
|
|
5210
|
+
maxSingleTransaction: number | null;
|
|
4611
5211
|
remaining?: number | undefined;
|
|
5212
|
+
remainingDaily?: number | undefined;
|
|
4612
5213
|
};
|
|
4613
5214
|
relationships?: Record<string, unknown> | undefined;
|
|
4614
5215
|
links?: Record<string, string> | undefined;
|