@deepintel-ltd/farmpro-contracts 1.15.2 → 1.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/commodity-deals.routes.d.ts +71 -0
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/team-payments.routes.d.ts +405 -0
- package/dist/routes/team-payments.routes.d.ts.map +1 -1
- package/dist/routes/team-payments.routes.js +19 -1
- package/dist/schemas/commodity-deals.schemas.d.ts +66 -0
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +10 -0
- package/dist/schemas/team-payments.schemas.d.ts +29 -0
- package/dist/schemas/team-payments.schemas.d.ts.map +1 -1
- package/dist/schemas/team-payments.schemas.js +9 -0
- package/package.json +1 -1
|
@@ -2863,6 +2863,411 @@ export declare const teamPaymentsRouter: {
|
|
|
2863
2863
|
}>;
|
|
2864
2864
|
};
|
|
2865
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
|
+
};
|
|
2866
3271
|
listSpendLimits: {
|
|
2867
3272
|
pathParams: z.ZodObject<{
|
|
2868
3273
|
farmId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-payments.routes.d.ts","sourceRoot":"","sources":["../../src/routes/team-payments.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA0BxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkS7B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initContract } from '@ts-rest/core';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { createCompanyPaymentAccountSchema, updateCompanyPaymentAccountSchema, companyPaymentAccountResponseSchema, companyPaymentAccountListResponseSchema, createTeamSpendLimitSchema, updateTeamSpendLimitSchema, teamSpendLimitResponseSchema, teamSpendLimitListResponseSchema, initiateVendorPaymentSchema, vendorPaymentResponseSchema, vendorPaymentListResponseSchema, paymentApprovalListResponseSchema, paymentApprovalActionInputSchema, } from '../schemas/team-payments.schemas';
|
|
3
|
+
import { createCompanyPaymentAccountSchema, updateCompanyPaymentAccountSchema, companyPaymentAccountResponseSchema, companyPaymentAccountListResponseSchema, createTeamSpendLimitSchema, updateTeamSpendLimitSchema, teamSpendLimitResponseSchema, teamSpendLimitListResponseSchema, initiateVendorPaymentSchema, vendorPaymentResponseSchema, vendorPaymentListResponseSchema, paymentApprovalListResponseSchema, paymentApprovalActionInputSchema, resolveVendorAccountInputSchema, resolveVendorAccountResponseSchema, } from '../schemas/team-payments.schemas';
|
|
4
4
|
import { jsonApiErrorResponseSchema, jsonApiSuccessResponseSchema, jsonApiPaginationQuerySchema, jsonApiSortQuerySchema, jsonApiFilterQuerySchema, } from '../schemas/common.schemas';
|
|
5
5
|
const c = initContract();
|
|
6
6
|
export const teamPaymentsRouter = c.router({
|
|
@@ -82,6 +82,24 @@ export const teamPaymentsRouter = c.router({
|
|
|
82
82
|
},
|
|
83
83
|
summary: 'Delete company payment account',
|
|
84
84
|
},
|
|
85
|
+
resolveVendorAccount: {
|
|
86
|
+
method: 'POST',
|
|
87
|
+
path: '/farms/:farmId/payment-accounts/:id/resolve-account',
|
|
88
|
+
pathParams: z.object({
|
|
89
|
+
farmId: z.string().uuid(),
|
|
90
|
+
id: z.string().uuid(),
|
|
91
|
+
}),
|
|
92
|
+
body: resolveVendorAccountInputSchema,
|
|
93
|
+
responses: {
|
|
94
|
+
200: resolveVendorAccountResponseSchema,
|
|
95
|
+
400: jsonApiErrorResponseSchema,
|
|
96
|
+
401: jsonApiErrorResponseSchema,
|
|
97
|
+
403: jsonApiErrorResponseSchema,
|
|
98
|
+
404: jsonApiErrorResponseSchema,
|
|
99
|
+
},
|
|
100
|
+
summary: 'Resolve vendor bank account name',
|
|
101
|
+
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',
|
|
102
|
+
},
|
|
85
103
|
listSpendLimits: {
|
|
86
104
|
method: 'GET',
|
|
87
105
|
path: '/farms/:farmId/spend-limits',
|