@tesouro/embedded-components-react 0.2.238 → 0.2.240
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/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js
CHANGED
|
@@ -2880,8 +2880,29 @@ var Ho = e.enum([
|
|
|
2880
2880
|
"create_from_mail",
|
|
2881
2881
|
"reopen"
|
|
2882
2882
|
]);
|
|
2883
|
-
e.object({ data: e.array(_e) })
|
|
2883
|
+
e.object({ data: e.array(_e) });
|
|
2884
2884
|
var Uo = e.object({
|
|
2885
|
+
acted_at: e.iso.datetime().optional(),
|
|
2886
|
+
action: e.string(),
|
|
2887
|
+
approval_policy_id: e.string().optional(),
|
|
2888
|
+
approval_policy_name: e.string().optional(),
|
|
2889
|
+
approval_policy_process_id: e.string().optional(),
|
|
2890
|
+
approval_request_id: e.string().optional(),
|
|
2891
|
+
approval_source: e.string().optional(),
|
|
2892
|
+
reject_reason: e.string().optional()
|
|
2893
|
+
}), Wo = e.object({
|
|
2894
|
+
approval_policy_id: e.string(),
|
|
2895
|
+
approval_policy_name: e.string().optional(),
|
|
2896
|
+
approval_type: e.string().optional(),
|
|
2897
|
+
approver_ids: e.array(e.string()).optional(),
|
|
2898
|
+
required_approval_count: e.int().optional()
|
|
2899
|
+
});
|
|
2900
|
+
e.object({ file: e.string() });
|
|
2901
|
+
var Go = e.object({
|
|
2902
|
+
acted_at: e.iso.datetime(),
|
|
2903
|
+
approval_policy_id: e.string().optional(),
|
|
2904
|
+
approval_policy_name: e.string().optional()
|
|
2905
|
+
}), Ko = e.object({
|
|
2885
2906
|
address: e.string().optional(),
|
|
2886
2907
|
email: e.string().optional(),
|
|
2887
2908
|
first_name: e.string().optional(),
|
|
@@ -2891,13 +2912,13 @@ var Uo = e.object({
|
|
|
2891
2912
|
phone: e.string().optional(),
|
|
2892
2913
|
tax_id: e.string().optional(),
|
|
2893
2914
|
vat_id: e.string().optional()
|
|
2894
|
-
}),
|
|
2915
|
+
}), qo = e.object({
|
|
2895
2916
|
id: e.uuid(),
|
|
2896
2917
|
document_id: e.string().optional(),
|
|
2897
2918
|
issued_at: e.iso.date().optional(),
|
|
2898
2919
|
status: e.string().max(30),
|
|
2899
2920
|
total_amount: e.int().optional()
|
|
2900
|
-
}),
|
|
2921
|
+
}), Jo = e.object({
|
|
2901
2922
|
credit_note_document_id: e.string().optional(),
|
|
2902
2923
|
credit_note_id: e.string()
|
|
2903
2924
|
}), A = e.enum([
|
|
@@ -2908,15 +2929,15 @@ var Uo = e.object({
|
|
|
2908
2929
|
"rejected",
|
|
2909
2930
|
"canceled",
|
|
2910
2931
|
"submitted_for_approval"
|
|
2911
|
-
]),
|
|
2932
|
+
]), Yo = e.object({
|
|
2912
2933
|
credit_note_document_id: e.string().optional(),
|
|
2913
2934
|
credit_note_id: e.string()
|
|
2914
|
-
}),
|
|
2935
|
+
}), Xo = e.enum([
|
|
2915
2936
|
"id",
|
|
2916
2937
|
"created_at",
|
|
2917
2938
|
"issued_at",
|
|
2918
2939
|
"due_date"
|
|
2919
|
-
]),
|
|
2940
|
+
]), Zo = e.enum([
|
|
2920
2941
|
"created_at",
|
|
2921
2942
|
"status",
|
|
2922
2943
|
"counterpart_id",
|
|
@@ -2924,14 +2945,14 @@ var Uo = e.object({
|
|
|
2924
2945
|
"issued_at",
|
|
2925
2946
|
"due_date",
|
|
2926
2947
|
"project_id"
|
|
2927
|
-
]),
|
|
2948
|
+
]), Qo = e.object({
|
|
2928
2949
|
city: e.string().max(255),
|
|
2929
2950
|
country: n.optional().default("DE"),
|
|
2930
2951
|
line1: e.string().max(255),
|
|
2931
2952
|
line2: e.string().max(100).optional(),
|
|
2932
2953
|
postal_code: e.string().max(10),
|
|
2933
2954
|
state: e.string().max(255).optional()
|
|
2934
|
-
}),
|
|
2955
|
+
}), $o = e.object({
|
|
2935
2956
|
address: e.string().optional(),
|
|
2936
2957
|
first_name: e.string().optional(),
|
|
2937
2958
|
header: e.string().optional(),
|
|
@@ -2939,32 +2960,74 @@ var Uo = e.object({
|
|
|
2939
2960
|
name: e.string().optional(),
|
|
2940
2961
|
tax_id: e.string().optional(),
|
|
2941
2962
|
vat_id: e.string().optional()
|
|
2942
|
-
}),
|
|
2963
|
+
}), es = e.object({
|
|
2964
|
+
new: e.unknown(),
|
|
2965
|
+
new_label: e.string().optional(),
|
|
2966
|
+
old: e.unknown(),
|
|
2967
|
+
old_label: e.string().optional()
|
|
2968
|
+
}), ts = e.enum(["timestamp"]), ns = e.enum([
|
|
2943
2969
|
"status_changed",
|
|
2944
2970
|
"payable_created",
|
|
2945
2971
|
"payable_updated",
|
|
2946
2972
|
"credit_note_linked",
|
|
2947
2973
|
"credit_note_unlinked",
|
|
2948
|
-
"file_attached"
|
|
2949
|
-
|
|
2974
|
+
"file_attached",
|
|
2975
|
+
"line_item_added",
|
|
2976
|
+
"line_item_updated",
|
|
2977
|
+
"line_item_removed",
|
|
2978
|
+
"submitted_for_approval",
|
|
2979
|
+
"approval_requested",
|
|
2980
|
+
"approval_action",
|
|
2981
|
+
"auto_approved",
|
|
2982
|
+
"reopened",
|
|
2983
|
+
"marked_as_paid",
|
|
2984
|
+
"marked_as_partially_paid",
|
|
2985
|
+
"payment_reverted",
|
|
2986
|
+
"deleted"
|
|
2987
|
+
]), rs = e.object({
|
|
2950
2988
|
date_of_birth: e.iso.date().optional(),
|
|
2951
2989
|
first_name: e.string().max(100),
|
|
2952
2990
|
id_number: e.string().optional(),
|
|
2953
2991
|
last_name: e.string().max(100),
|
|
2954
2992
|
ssn_last_4: e.string().optional(),
|
|
2955
2993
|
title: e.string().max(10).optional()
|
|
2956
|
-
}),
|
|
2994
|
+
}), is = e.object({
|
|
2957
2995
|
based_invoice_number: e.string().optional(),
|
|
2958
2996
|
based_invoice_number_header: e.string().optional().default("Related invoice"),
|
|
2959
2997
|
due_date: e.string().optional(),
|
|
2960
2998
|
due_date_header: e.string().optional().default("Due date"),
|
|
2961
2999
|
issue_date: e.string().optional(),
|
|
2962
3000
|
issue_date_header: e.string().optional().default("Issue date")
|
|
2963
|
-
}),
|
|
3001
|
+
}), as = e.object({
|
|
3002
|
+
line_item_id: e.string(),
|
|
3003
|
+
name: e.string(),
|
|
3004
|
+
quantity: e.number().optional(),
|
|
3005
|
+
total: e.int().optional(),
|
|
3006
|
+
unit_price: e.int().optional()
|
|
3007
|
+
}), os = e.object({ line_item_id: e.string() }), ss = e.object({
|
|
3008
|
+
fields: e.record(e.string(), es),
|
|
3009
|
+
line_item_id: e.string()
|
|
3010
|
+
}), cs = e.object({
|
|
3011
|
+
amount_paid: e.int(),
|
|
3012
|
+
comment: e.string().optional(),
|
|
3013
|
+
is_external: e.boolean().optional(),
|
|
3014
|
+
paid_at: e.iso.datetime().optional(),
|
|
3015
|
+
payment_intent_id: e.uuid().optional(),
|
|
3016
|
+
payment_method: e.string().optional(),
|
|
3017
|
+
payment_record_id: e.uuid().optional()
|
|
3018
|
+
}), ls = e.object({
|
|
3019
|
+
amount_due: e.int(),
|
|
3020
|
+
amount_paid: e.int(),
|
|
3021
|
+
is_external: e.boolean().optional(),
|
|
3022
|
+
paid_at: e.iso.datetime().optional(),
|
|
3023
|
+
payment_intent_id: e.uuid().optional(),
|
|
3024
|
+
payment_method: e.string().optional(),
|
|
3025
|
+
payment_record_id: e.uuid().optional()
|
|
3026
|
+
}), us = e.enum([
|
|
2964
3027
|
"id",
|
|
2965
3028
|
"total_amount",
|
|
2966
3029
|
"amount_due"
|
|
2967
|
-
]),
|
|
3030
|
+
]), ds = e.object({
|
|
2968
3031
|
business_structure: nr.optional(),
|
|
2969
3032
|
directors_provided: e.boolean().optional(),
|
|
2970
3033
|
executives_provided: e.boolean().optional(),
|
|
@@ -2972,16 +3035,16 @@ var Uo = e.object({
|
|
|
2972
3035
|
legal_name: e.string().min(1).max(255),
|
|
2973
3036
|
owners_provided: e.boolean().optional(),
|
|
2974
3037
|
representative_provided: e.boolean().optional()
|
|
2975
|
-
}), j = e.enum(["upload", "email"]),
|
|
3038
|
+
}), j = e.enum(["upload", "email"]), fs = e.object({ payable_source: j }), ps = e.object({
|
|
2976
3039
|
discount: e.int(),
|
|
2977
3040
|
number_of_days: e.int()
|
|
2978
|
-
}),
|
|
3041
|
+
}), ms = e.object({ number_of_days: e.int() }), hs = e.object({
|
|
2979
3042
|
description: e.string().optional(),
|
|
2980
3043
|
name: e.string(),
|
|
2981
|
-
term_1:
|
|
2982
|
-
term_2:
|
|
2983
|
-
term_final:
|
|
2984
|
-
}),
|
|
3044
|
+
term_1: ps.optional(),
|
|
3045
|
+
term_2: ps.optional(),
|
|
3046
|
+
term_final: ms
|
|
3047
|
+
}), gs = e.object({
|
|
2985
3048
|
account_data: ne.optional().default({
|
|
2986
3049
|
account_holder_name_header: "Account holder",
|
|
2987
3050
|
account_number_header: "Account number",
|
|
@@ -2991,8 +3054,8 @@ var Uo = e.object({
|
|
|
2991
3054
|
routing_number_header: "Routing number",
|
|
2992
3055
|
sort_code_header: "Sort code"
|
|
2993
3056
|
}),
|
|
2994
|
-
counterpart_info:
|
|
2995
|
-
entity_info:
|
|
3057
|
+
counterpart_info: Ko.optional().default({}),
|
|
3058
|
+
entity_info: $o.optional().default({}),
|
|
2996
3059
|
header: ni.optional().default({}),
|
|
2997
3060
|
line_items: Fi.optional().default({
|
|
2998
3061
|
amounts_reduced: [],
|
|
@@ -3015,13 +3078,13 @@ var Uo = e.object({
|
|
|
3015
3078
|
of_preposition: "of",
|
|
3016
3079
|
page_text: "Page"
|
|
3017
3080
|
}),
|
|
3018
|
-
payable_info:
|
|
3081
|
+
payable_info: is.optional().default({
|
|
3019
3082
|
based_invoice_number_header: "Related invoice",
|
|
3020
3083
|
due_date_header: "Due date",
|
|
3021
3084
|
issue_date_header: "Issue date"
|
|
3022
3085
|
}),
|
|
3023
3086
|
template_type: e.enum(["payable"])
|
|
3024
|
-
}),
|
|
3087
|
+
}), _s = e.object({
|
|
3025
3088
|
allow_cancel_duplicates_automatically: e.boolean().nullish().default(!1),
|
|
3026
3089
|
allow_counterpart_autocreation: e.boolean().nullish().default(!1),
|
|
3027
3090
|
allow_counterpart_autolinking: e.boolean().nullish().default(!1),
|
|
@@ -3039,106 +3102,129 @@ var Uo = e.object({
|
|
|
3039
3102
|
"paid",
|
|
3040
3103
|
"canceled",
|
|
3041
3104
|
"rejected"
|
|
3042
|
-
]),
|
|
3105
|
+
]), vs = e.object({
|
|
3043
3106
|
name: e.literal("payable"),
|
|
3044
3107
|
statuses: e.array(M)
|
|
3045
|
-
}),
|
|
3108
|
+
}), ys = e.discriminatedUnion("name", [vs, Ar]);
|
|
3046
3109
|
e.object({
|
|
3047
3110
|
date_from: e.iso.date(),
|
|
3048
3111
|
date_to: e.iso.date(),
|
|
3049
3112
|
format: Or,
|
|
3050
|
-
objects: e.array(
|
|
3113
|
+
objects: e.array(ys)
|
|
3051
3114
|
});
|
|
3052
|
-
var
|
|
3115
|
+
var bs = e.object({
|
|
3053
3116
|
count: e.int(),
|
|
3054
3117
|
status: M,
|
|
3055
3118
|
sum_total_amount: e.int()
|
|
3056
3119
|
});
|
|
3057
3120
|
e.object({
|
|
3058
3121
|
count: e.int(),
|
|
3059
|
-
data: e.array(
|
|
3122
|
+
data: e.array(bs),
|
|
3060
3123
|
sum_total_amount: e.int()
|
|
3061
3124
|
});
|
|
3062
|
-
var
|
|
3125
|
+
var xs = e.object({ old_status: M }), Ss = e.object({
|
|
3126
|
+
amount_paid: e.int(),
|
|
3127
|
+
is_external: e.boolean().optional(),
|
|
3128
|
+
new_status: M,
|
|
3129
|
+
paid_at: e.iso.datetime().optional(),
|
|
3130
|
+
payment_intent_id: e.uuid().optional(),
|
|
3131
|
+
payment_method: e.string().optional(),
|
|
3132
|
+
payment_record_id: e.uuid().optional()
|
|
3133
|
+
}), Cs = e.object({
|
|
3063
3134
|
new_status: M,
|
|
3064
3135
|
old_status: M
|
|
3065
|
-
}),
|
|
3136
|
+
}), ws = e.object({
|
|
3137
|
+
new_status: M,
|
|
3138
|
+
old_status: M,
|
|
3139
|
+
skipped_approval_flow: e.boolean()
|
|
3140
|
+
}), Ts = e.object({
|
|
3066
3141
|
description: e.string(),
|
|
3067
3142
|
name: e.string()
|
|
3068
|
-
}),
|
|
3143
|
+
}), Es = e.object({ fields: e.record(e.string(), es).optional() }), Ds = e.object({
|
|
3069
3144
|
id: e.uuid(),
|
|
3070
3145
|
entity_user_id: e.uuid().optional(),
|
|
3071
3146
|
event_data: e.union([
|
|
3147
|
+
Cs,
|
|
3148
|
+
Es,
|
|
3072
3149
|
fs,
|
|
3073
|
-
|
|
3074
|
-
|
|
3150
|
+
Jo,
|
|
3151
|
+
Yo,
|
|
3152
|
+
Jr,
|
|
3153
|
+
as,
|
|
3154
|
+
ss,
|
|
3155
|
+
os,
|
|
3156
|
+
ws,
|
|
3157
|
+
Wo,
|
|
3158
|
+
Uo,
|
|
3075
3159
|
Go,
|
|
3076
|
-
|
|
3077
|
-
|
|
3160
|
+
cs,
|
|
3161
|
+
ls,
|
|
3162
|
+
Ss,
|
|
3163
|
+
xs
|
|
3078
3164
|
]),
|
|
3079
|
-
event_type:
|
|
3165
|
+
event_type: e.string(),
|
|
3080
3166
|
payable_id: e.uuid(),
|
|
3081
3167
|
timestamp: e.iso.datetime()
|
|
3082
3168
|
});
|
|
3083
3169
|
e.object({
|
|
3084
|
-
data: e.array(
|
|
3170
|
+
data: e.array(Ds),
|
|
3085
3171
|
next_pagination_token: e.string().optional(),
|
|
3086
3172
|
prev_pagination_token: e.string().optional()
|
|
3087
3173
|
}), e.object({ file: e.string() }), e.object({
|
|
3088
3174
|
id: e.uuid(),
|
|
3089
3175
|
validation_errors: e.array(e.record(e.string(), e.unknown())).optional()
|
|
3090
3176
|
});
|
|
3091
|
-
var
|
|
3092
|
-
e.object({ required_fields: e.array(
|
|
3093
|
-
var
|
|
3094
|
-
object_subtype:
|
|
3177
|
+
var Os = e.enum(/* @__PURE__ */ "currency,document_id,due_date,issued_at,tax_amount,total_amount,subtotal,description,suggested_payment_term,payment_terms,tax,sender,file_id,counterpart_id,counterpart_bank_account_id,counterpart_address_id,counterpart_vat_id_id,line_items,line_items.quantity,line_items.unit_price,line_items.tax,line_items.ledger_account_id,line_items.accounting_tax_rate_id,line_items.unit,line_items.name,line_items.description,line_items.subtotal,line_items.total,line_items.tax_amount".split(","));
|
|
3178
|
+
e.object({ required_fields: e.array(Os) }), e.object({ required_fields: e.array(Os) });
|
|
3179
|
+
var ks = e.enum(["payables_purchase_order", "payables_notify_approver"]), As = e.object({
|
|
3180
|
+
object_subtype: ks,
|
|
3095
3181
|
object_type: y,
|
|
3096
|
-
variables: e.array(
|
|
3182
|
+
variables: e.array(Ts)
|
|
3097
3183
|
});
|
|
3098
|
-
e.object({ data: e.array(
|
|
3099
|
-
var N = e.enum(["entity", "counterpart"]),
|
|
3184
|
+
e.object({ data: e.array(As) });
|
|
3185
|
+
var N = e.enum(["entity", "counterpart"]), js = e.object({
|
|
3100
3186
|
id: e.uuid(),
|
|
3101
3187
|
bank_accounts: e.array(dn).optional(),
|
|
3102
3188
|
name: e.string().optional(),
|
|
3103
3189
|
type: N
|
|
3104
|
-
}),
|
|
3190
|
+
}), Ms = e.object({
|
|
3105
3191
|
id: e.uuid(),
|
|
3106
3192
|
authorized_bank_accounts: e.array(je).optional(),
|
|
3107
3193
|
bank_accounts: e.array(dn).optional(),
|
|
3108
3194
|
name: e.string().optional(),
|
|
3109
3195
|
type: N
|
|
3110
|
-
}),
|
|
3196
|
+
}), Ns = e.object({
|
|
3111
3197
|
id: e.uuid(),
|
|
3112
3198
|
type: N
|
|
3113
|
-
}),
|
|
3114
|
-
type:
|
|
3199
|
+
}), Ps = e.enum(["IBAN"]), Fs = e.object({
|
|
3200
|
+
type: Ps,
|
|
3115
3201
|
value: e.string()
|
|
3116
|
-
}),
|
|
3202
|
+
}), Is = e.enum(["id", "created_at"]), Ls = e.object({
|
|
3117
3203
|
id: e.uuid(),
|
|
3118
3204
|
created_at: e.iso.datetime(),
|
|
3119
3205
|
updated_at: e.iso.datetime(),
|
|
3120
3206
|
payment_intent_id: e.uuid(),
|
|
3121
3207
|
status: e.string()
|
|
3122
3208
|
});
|
|
3123
|
-
e.object({ data: e.array(
|
|
3124
|
-
var
|
|
3209
|
+
e.object({ data: e.array(Ls) });
|
|
3210
|
+
var Rs = e.enum([
|
|
3125
3211
|
"bank_account",
|
|
3126
3212
|
"paper_check",
|
|
3127
3213
|
"us_ach",
|
|
3128
3214
|
"wire"
|
|
3129
|
-
]),
|
|
3215
|
+
]), zs = e.object({
|
|
3130
3216
|
id: e.uuid(),
|
|
3131
3217
|
bank_account_id: e.uuid().optional(),
|
|
3132
|
-
payout_method:
|
|
3218
|
+
payout_method: Rs.optional().default("bank_account"),
|
|
3133
3219
|
type: e.enum(["counterpart"])
|
|
3134
|
-
}),
|
|
3135
|
-
direction:
|
|
3220
|
+
}), Bs = e.enum(["receive", "send"]), Vs = e.enum(["active", "inactive"]), Hs = e.object({
|
|
3221
|
+
direction: Bs,
|
|
3136
3222
|
name: Yi,
|
|
3137
|
-
status:
|
|
3223
|
+
status: Vs,
|
|
3138
3224
|
type: v
|
|
3139
3225
|
});
|
|
3140
|
-
e.object({ data: e.array(
|
|
3141
|
-
var
|
|
3226
|
+
e.object({ data: e.array(Hs) });
|
|
3227
|
+
var Us = e.enum([
|
|
3142
3228
|
"standard",
|
|
3143
3229
|
"premium",
|
|
3144
3230
|
"paper_check",
|
|
@@ -3152,11 +3238,11 @@ e.object({
|
|
|
3152
3238
|
paid_by: Bo.optional().default("payer"),
|
|
3153
3239
|
partner_fee: zr,
|
|
3154
3240
|
payment_method: v,
|
|
3155
|
-
payment_method_subtype:
|
|
3241
|
+
payment_method_subtype: Us.optional(),
|
|
3156
3242
|
region: Br,
|
|
3157
3243
|
tier_id: e.uuid().optional()
|
|
3158
3244
|
});
|
|
3159
|
-
var
|
|
3245
|
+
var Ws = e.object({
|
|
3160
3246
|
id: e.uuid(),
|
|
3161
3247
|
created_at: e.iso.datetime(),
|
|
3162
3248
|
updated_at: e.iso.datetime(),
|
|
@@ -3167,48 +3253,48 @@ var Ms = e.object({
|
|
|
3167
3253
|
paid_by: Bo,
|
|
3168
3254
|
partner_fee: zr,
|
|
3169
3255
|
payment_method: e.string(),
|
|
3170
|
-
payment_method_subtype:
|
|
3256
|
+
payment_method_subtype: Us.optional(),
|
|
3171
3257
|
region: Br,
|
|
3172
3258
|
tier_id: e.uuid().optional()
|
|
3173
3259
|
});
|
|
3174
|
-
e.object({ data: e.array(
|
|
3260
|
+
e.object({ data: e.array(Ws) }), e.object({ payment_method_id: e.string() }), e.object({
|
|
3175
3261
|
client_secret: e.string(),
|
|
3176
3262
|
is_next_action_needed: e.boolean()
|
|
3177
3263
|
});
|
|
3178
|
-
var
|
|
3264
|
+
var Gs = e.object({
|
|
3179
3265
|
id: e.uuid(),
|
|
3180
3266
|
type: e.enum(["payable"])
|
|
3181
|
-
}),
|
|
3182
|
-
object:
|
|
3267
|
+
}), Ks = e.object({
|
|
3268
|
+
object: Gs,
|
|
3183
3269
|
payment_reference: e.string().optional(),
|
|
3184
3270
|
recipient: $e
|
|
3185
3271
|
});
|
|
3186
3272
|
e.object({
|
|
3187
3273
|
expires_at: e.iso.datetime().optional(),
|
|
3188
3274
|
funding_payment_method: e.enum(["us_ach"]).optional().default("us_ach"),
|
|
3189
|
-
payment_intents: e.array(
|
|
3275
|
+
payment_intents: e.array(Ks).min(1),
|
|
3190
3276
|
payout_payment_methods: e.array(v).min(1).optional().default(["us_ach"]),
|
|
3191
3277
|
return_url: e.url().min(1).max(2083).optional()
|
|
3192
3278
|
});
|
|
3193
|
-
var
|
|
3279
|
+
var qs = e.enum(["payable", "receivable"]), Js = e.object({
|
|
3194
3280
|
id: e.uuid(),
|
|
3195
|
-
type:
|
|
3281
|
+
type: qs
|
|
3196
3282
|
});
|
|
3197
3283
|
e.object({
|
|
3198
3284
|
amount: e.int().gte(1).optional(),
|
|
3199
3285
|
currency: c.optional(),
|
|
3200
3286
|
expires_at: e.iso.datetime().optional(),
|
|
3201
3287
|
invoice: ui.optional(),
|
|
3202
|
-
object:
|
|
3288
|
+
object: Js.optional(),
|
|
3203
3289
|
payment_methods: e.array(v).min(1),
|
|
3204
3290
|
payment_reference: e.string().optional(),
|
|
3205
|
-
recipient:
|
|
3291
|
+
recipient: Ns,
|
|
3206
3292
|
return_url: e.url().min(1).max(2083).optional()
|
|
3207
3293
|
});
|
|
3208
|
-
var
|
|
3294
|
+
var Ys = e.object({
|
|
3209
3295
|
logo_url: e.url().min(1).max(2083).nullable(),
|
|
3210
3296
|
website_url: e.url().min(1).max(2083).nullish()
|
|
3211
|
-
}),
|
|
3297
|
+
}), Xs = e.object({
|
|
3212
3298
|
background_color: e.string().nullish(),
|
|
3213
3299
|
border_radius: e.string().nullish(),
|
|
3214
3300
|
button: at.nullish(),
|
|
@@ -3226,18 +3312,18 @@ e.object({
|
|
|
3226
3312
|
font_color: e.string().nullish(),
|
|
3227
3313
|
font_family: e.string().nullish(),
|
|
3228
3314
|
font_link_href: e.url().min(1).max(2083).nullish(),
|
|
3229
|
-
footer:
|
|
3315
|
+
footer: Ys.nullish(),
|
|
3230
3316
|
logo_src: e.url().min(1).max(2083).nullish()
|
|
3231
3317
|
});
|
|
3232
|
-
var
|
|
3318
|
+
var Zs = e.enum([
|
|
3233
3319
|
"working_capital",
|
|
3234
3320
|
"balanced",
|
|
3235
3321
|
"bottom_line"
|
|
3236
|
-
]),
|
|
3322
|
+
]), Qs = e.object({
|
|
3237
3323
|
amount_due: e.int(),
|
|
3238
3324
|
amount_paid: e.int(),
|
|
3239
3325
|
comment: e.string().optional()
|
|
3240
|
-
}),
|
|
3326
|
+
}), $s = e.enum([
|
|
3241
3327
|
"paid_at",
|
|
3242
3328
|
"amount",
|
|
3243
3329
|
"overpaid_amount"
|
|
@@ -3246,10 +3332,10 @@ e.object({
|
|
|
3246
3332
|
paid_at: e.iso.datetime(),
|
|
3247
3333
|
payment_intent_status: e.string().optional()
|
|
3248
3334
|
});
|
|
3249
|
-
var
|
|
3335
|
+
var ec = e.object({
|
|
3250
3336
|
id: e.uuid(),
|
|
3251
3337
|
type: Ta
|
|
3252
|
-
}),
|
|
3338
|
+
}), tc = e.object({
|
|
3253
3339
|
id: e.uuid(),
|
|
3254
3340
|
new_status: e.string(),
|
|
3255
3341
|
old_status: e.string(),
|
|
@@ -3259,7 +3345,7 @@ e.object({
|
|
|
3259
3345
|
amount: e.int(),
|
|
3260
3346
|
currency: c,
|
|
3261
3347
|
entity_user_id: e.uuid().optional(),
|
|
3262
|
-
object:
|
|
3348
|
+
object: ec,
|
|
3263
3349
|
paid_at: e.iso.datetime().optional(),
|
|
3264
3350
|
payment_intent_id: e.uuid().optional(),
|
|
3265
3351
|
payment_intent_status: e.string().optional(),
|
|
@@ -3271,23 +3357,23 @@ e.object({
|
|
|
3271
3357
|
"succeeded"
|
|
3272
3358
|
]).optional().default("succeeded")
|
|
3273
3359
|
});
|
|
3274
|
-
var
|
|
3360
|
+
var nc = e.enum([
|
|
3275
3361
|
"created",
|
|
3276
3362
|
"processing",
|
|
3277
3363
|
"succeeded",
|
|
3278
3364
|
"canceled"
|
|
3279
|
-
]),
|
|
3365
|
+
]), rc = e.object({
|
|
3280
3366
|
entity_user_id: e.uuid().optional(),
|
|
3281
|
-
status:
|
|
3367
|
+
status: nc,
|
|
3282
3368
|
timestamp: e.iso.datetime()
|
|
3283
|
-
}),
|
|
3369
|
+
}), ic = e.object({
|
|
3284
3370
|
id: e.uuid(),
|
|
3285
3371
|
amount: e.int(),
|
|
3286
3372
|
currency: c,
|
|
3287
3373
|
entity_user_id: e.uuid().optional(),
|
|
3288
|
-
history: e.array(
|
|
3374
|
+
history: e.array(rc),
|
|
3289
3375
|
is_external: e.boolean(),
|
|
3290
|
-
object:
|
|
3376
|
+
object: tc,
|
|
3291
3377
|
overpaid_amount: e.int().gte(0).optional().default(0),
|
|
3292
3378
|
paid_at: e.iso.datetime().optional(),
|
|
3293
3379
|
payment_intent_id: e.uuid().optional(),
|
|
@@ -3297,39 +3383,39 @@ var Ws = e.enum([
|
|
|
3297
3383
|
status: e.string().optional().default("succeeded")
|
|
3298
3384
|
});
|
|
3299
3385
|
e.object({
|
|
3300
|
-
data: e.array(
|
|
3386
|
+
data: e.array(ic),
|
|
3301
3387
|
next_pagination_token: e.string().optional(),
|
|
3302
3388
|
prev_pagination_token: e.string().optional()
|
|
3303
3389
|
}), e.object({ payment_intent_status: e.string().optional() }), e.object({
|
|
3304
3390
|
amount: e.int().optional(),
|
|
3305
3391
|
currency: c.optional(),
|
|
3306
3392
|
entity_user_id: e.uuid().optional(),
|
|
3307
|
-
object:
|
|
3393
|
+
object: ec.optional(),
|
|
3308
3394
|
paid_at: e.iso.datetime().optional(),
|
|
3309
3395
|
payment_intent_id: e.uuid().optional(),
|
|
3310
3396
|
payment_intent_status: e.string().optional(),
|
|
3311
3397
|
payment_method: e.string().optional(),
|
|
3312
3398
|
planned_payment_date: e.iso.date().optional()
|
|
3313
3399
|
});
|
|
3314
|
-
var
|
|
3400
|
+
var ac = e.object({
|
|
3315
3401
|
current_deadline: e.iso.datetime().optional(),
|
|
3316
3402
|
currently_due: e.array(e.string()),
|
|
3317
3403
|
eventually_due: e.array(e.string()),
|
|
3318
3404
|
pending_verification: e.array(e.string())
|
|
3319
|
-
}),
|
|
3405
|
+
}), oc = e.object({
|
|
3320
3406
|
id: e.uuid().optional(),
|
|
3321
3407
|
description: e.string().optional(),
|
|
3322
3408
|
name: e.string().optional(),
|
|
3323
3409
|
term_1: oi.optional(),
|
|
3324
3410
|
term_2: oi.optional(),
|
|
3325
3411
|
term_final: si
|
|
3326
|
-
}),
|
|
3412
|
+
}), sc = e.object({
|
|
3327
3413
|
description: e.string().optional(),
|
|
3328
3414
|
header: e.string().optional().default("Payment terms"),
|
|
3329
3415
|
term_1: e.string().optional(),
|
|
3330
3416
|
term_2: e.string().optional(),
|
|
3331
3417
|
term_final: e.string().optional()
|
|
3332
|
-
}),
|
|
3418
|
+
}), cc = e.enum([
|
|
3333
3419
|
"created",
|
|
3334
3420
|
"processing",
|
|
3335
3421
|
"partially_successful",
|
|
@@ -3343,12 +3429,12 @@ e.object({
|
|
|
3343
3429
|
error: e.record(e.string(), e.unknown()).optional(),
|
|
3344
3430
|
expires_at: e.iso.datetime(),
|
|
3345
3431
|
payment_page_url: e.url().min(1).max(2083),
|
|
3346
|
-
status:
|
|
3432
|
+
status: cc,
|
|
3347
3433
|
total_amount: e.int().optional()
|
|
3348
3434
|
});
|
|
3349
|
-
var
|
|
3435
|
+
var lc = e.object({
|
|
3350
3436
|
payment_page_domain: e.string().nullish(),
|
|
3351
|
-
payment_page_theme:
|
|
3437
|
+
payment_page_theme: Xs.nullish(),
|
|
3352
3438
|
support_email: e.email().nullish()
|
|
3353
3439
|
});
|
|
3354
3440
|
e.object({
|
|
@@ -3360,12 +3446,12 @@ e.object({
|
|
|
3360
3446
|
object_type: y.optional(),
|
|
3361
3447
|
template_type: e.string()
|
|
3362
3448
|
});
|
|
3363
|
-
var
|
|
3449
|
+
var uc = e.enum([
|
|
3364
3450
|
"receivable",
|
|
3365
3451
|
"delivery_note",
|
|
3366
3452
|
"purchase_order",
|
|
3367
3453
|
"payable"
|
|
3368
|
-
]),
|
|
3454
|
+
]), dc = e.enum([
|
|
3369
3455
|
"month",
|
|
3370
3456
|
"day",
|
|
3371
3457
|
"year",
|
|
@@ -3375,35 +3461,35 @@ e.object({
|
|
|
3375
3461
|
higher_range: e.int().gt(0),
|
|
3376
3462
|
lower_range: e.int().gte(0),
|
|
3377
3463
|
measure_unit: Ui,
|
|
3378
|
-
period:
|
|
3464
|
+
period: dc
|
|
3379
3465
|
});
|
|
3380
|
-
var
|
|
3466
|
+
var fc = e.object({
|
|
3381
3467
|
id: e.uuid(),
|
|
3382
3468
|
created_at: e.iso.datetime(),
|
|
3383
3469
|
updated_at: e.iso.datetime(),
|
|
3384
3470
|
higher_range: e.int(),
|
|
3385
3471
|
lower_range: e.int(),
|
|
3386
3472
|
measure_unit: Ui,
|
|
3387
|
-
period:
|
|
3473
|
+
period: dc
|
|
3388
3474
|
});
|
|
3389
|
-
e.object({ data: e.array(
|
|
3390
|
-
var
|
|
3475
|
+
e.object({ data: e.array(fc) });
|
|
3476
|
+
var pc = e.enum([
|
|
3391
3477
|
"allowed",
|
|
3392
3478
|
"allowed_for_own",
|
|
3393
3479
|
"not_allowed"
|
|
3394
|
-
]),
|
|
3480
|
+
]), mc = e.object({
|
|
3395
3481
|
action_name: fe.optional().default("read"),
|
|
3396
|
-
permission:
|
|
3482
|
+
permission: pc.optional().default("allowed")
|
|
3397
3483
|
}), P = e.object({
|
|
3398
|
-
actions: e.array(
|
|
3484
|
+
actions: e.array(mc).optional(),
|
|
3399
3485
|
object_type: e.enum(/* @__PURE__ */ "person.onboarding.comment.counterpart.entity_user.entity.entity_vat_ids.counterpart_vat_id.entity_bank_account.export.mailbox.payables_purchase_order.payment_reminder.overdue_reminder.product.project.receivable.delivery_note.ocr_task.reconciliation.role.tag.todo_task.todo_task_mute.transaction.workflow.approval_request.approval_policy.payment_record.receipt.accounting_tax_rate.ledger_account.cost_center".split(".")).optional().default("comment")
|
|
3400
|
-
}),
|
|
3486
|
+
}), hc = e.object({
|
|
3401
3487
|
action_name: Ho.optional().default("read"),
|
|
3402
|
-
permission:
|
|
3403
|
-
}),
|
|
3404
|
-
actions: e.array(
|
|
3488
|
+
permission: pc.optional().default("allowed")
|
|
3489
|
+
}), gc = e.object({
|
|
3490
|
+
actions: e.array(hc).optional(),
|
|
3405
3491
|
object_type: e.literal("payable").optional().default("payable")
|
|
3406
|
-
}),
|
|
3492
|
+
}), _c = e.enum(/* @__PURE__ */ "acceptor:application:read.acceptor:application:secondaryapproval.acceptor:application:write.accounting_config:read:org.accounting_config:write:org.acquiring:report:read.approval_policy:read:org.approval_policy:write:org.approval_request:create:org.approval_request:delete:org.approval_request:read:org.approval_request:update:org.authorization_control:read:org.bank_account:read:org.bank_account:write:org.bank_account_application:read:org.bank_account_application:write:org.beneficial_owner:read:org.comment:read:org.comment:write:org.counterpart:read:org.counterpart:write:org.credit_card:activate:org.credit_card:issue:org.credit_card:read:org.credit_card_application:read:org.credit_card_application:write:org.debit_card:activate:org.debit_card:close:org.debit_card:issue:org.debit_card:lock:org.debit_card:read:org.developer_portal.dispute:read.dispute:write.expense:approve:org.expense:read:org.expense:read:self.expense:write:org.expense:write:self.export:read:org.export:write:org.external_bank_account:micro_deposit:org.external_bank_account:read:org.external_bank_account:set_verification:org.external_bank_account:write:org.invoice:read:org.invoice:write:org.mailbox:read:org.mailbox:write:org.notification:subscription:read.notification:subscription:write.ocr_task:read:org.ocr_task:write:org.oidc:app:manage.oidc:app:read.oidc:app:write.org:write:all.organization:read:org.organization:write:org.organization_settings:read:org.organization_settings:write:org.partner_portal.payable:approve:org.payable:pay:org.payable:read:org.payable:write:org.payment_link:write.payment_rail:ach.payment_rail:fednow.payment_rail:rtp.payment_record:read:org.payment_record:write:org.product:read:org.product:write:org.role:read:org.role:write:org.transfer:write:org.underwriting:application:approval:escalation.underwriting:application:approval:secondary.underwriting:application:read.underwriting:application:write.user:read:org.user:read:self.user:write:all.user:write:org.user_profile:write:all.user_profile:write:self".split("."));
|
|
3407
3493
|
e.object({
|
|
3408
3494
|
address1: e.string().nullish(),
|
|
3409
3495
|
address2: e.string().nullish(),
|
|
@@ -3413,7 +3499,7 @@ e.object({
|
|
|
3413
3499
|
jobTitle: e.string().nullish(),
|
|
3414
3500
|
name: e.string(),
|
|
3415
3501
|
permissionIds: e.array(e.uuid()).nullish(),
|
|
3416
|
-
permissionKeys: e.array(
|
|
3502
|
+
permissionKeys: e.array(_c).nullish(),
|
|
3417
3503
|
phoneNumber: e.string().nullish(),
|
|
3418
3504
|
postalCode: e.string().nullish(),
|
|
3419
3505
|
redirectUri: e.string().nullish(),
|
|
@@ -3421,17 +3507,17 @@ e.object({
|
|
|
3421
3507
|
stateOrProvince: e.string().nullish(),
|
|
3422
3508
|
status: e.string()
|
|
3423
3509
|
});
|
|
3424
|
-
var
|
|
3510
|
+
var vc = e.object({
|
|
3425
3511
|
grant: e.array(e.string()).nullish(),
|
|
3426
3512
|
revoke: e.array(e.string()).nullish()
|
|
3427
|
-
}),
|
|
3513
|
+
}), yc = e.enum([
|
|
3428
3514
|
"SSN",
|
|
3429
3515
|
"PASSPORT_NUMBER",
|
|
3430
3516
|
"ITIN"
|
|
3431
3517
|
]), F = e.object({
|
|
3432
|
-
type:
|
|
3518
|
+
type: yc.nullish(),
|
|
3433
3519
|
value: e.string().nullish()
|
|
3434
|
-
}).nullable(),
|
|
3520
|
+
}).nullable(), bc = e.object({
|
|
3435
3521
|
authentication: Pa.optional(),
|
|
3436
3522
|
birthDate: b.optional(),
|
|
3437
3523
|
firstName: w.optional(),
|
|
@@ -3443,7 +3529,7 @@ var oc = e.object({
|
|
|
3443
3529
|
ownershipPercentage: S.optional(),
|
|
3444
3530
|
personalIdentificationNumber: F.optional(),
|
|
3445
3531
|
workEmailAddress: w.optional()
|
|
3446
|
-
}),
|
|
3532
|
+
}), xc = e.object({
|
|
3447
3533
|
id: e.uuid().nullish(),
|
|
3448
3534
|
birthDate: b.optional(),
|
|
3449
3535
|
firstName: w.optional(),
|
|
@@ -3452,7 +3538,7 @@ var oc = e.object({
|
|
|
3452
3538
|
mobilePhoneNumber: w.optional(),
|
|
3453
3539
|
ownershipPercentage: S.optional(),
|
|
3454
3540
|
personalIdentificationNumber: F.optional()
|
|
3455
|
-
}),
|
|
3541
|
+
}), Sc = e.object({
|
|
3456
3542
|
authentication: Pa.optional(),
|
|
3457
3543
|
birthDate: b.optional(),
|
|
3458
3544
|
firstName: w.optional(),
|
|
@@ -3466,7 +3552,7 @@ var oc = e.object({
|
|
|
3466
3552
|
personalIdentificationNumber: F.optional(),
|
|
3467
3553
|
totalAnnualIncome: C.optional(),
|
|
3468
3554
|
workEmailAddress: w.optional()
|
|
3469
|
-
}),
|
|
3555
|
+
}), Cc = e.object({
|
|
3470
3556
|
authentication: Pa.optional(),
|
|
3471
3557
|
birthDate: b.optional(),
|
|
3472
3558
|
firstName: w.optional(),
|
|
@@ -3478,7 +3564,7 @@ var oc = e.object({
|
|
|
3478
3564
|
ownershipPercentage: S.optional(),
|
|
3479
3565
|
personalIdentificationNumber: F.optional(),
|
|
3480
3566
|
workEmailAddress: w.optional()
|
|
3481
|
-
}).nullable(),
|
|
3567
|
+
}).nullable(), wc = e.object({
|
|
3482
3568
|
authentication: Pa.optional(),
|
|
3483
3569
|
birthDate: b.optional(),
|
|
3484
3570
|
firstName: w.optional(),
|
|
@@ -3492,12 +3578,12 @@ var oc = e.object({
|
|
|
3492
3578
|
personalIdentificationNumber: F.optional(),
|
|
3493
3579
|
totalAnnualIncome: C.optional(),
|
|
3494
3580
|
workEmailAddress: w.optional()
|
|
3495
|
-
}).nullable(),
|
|
3581
|
+
}).nullable(), Tc = e.array(xc).nullable(), Ec = e.enum([
|
|
3496
3582
|
"xero",
|
|
3497
3583
|
"quickbooks",
|
|
3498
3584
|
"quickbooks_online",
|
|
3499
3585
|
"quickbooks_online_sandbox"
|
|
3500
|
-
]),
|
|
3586
|
+
]), Dc = e.enum([
|
|
3501
3587
|
"amount",
|
|
3502
3588
|
"entity_country",
|
|
3503
3589
|
"counterpart_country",
|
|
@@ -3508,7 +3594,7 @@ var oc = e.object({
|
|
|
3508
3594
|
"counterpart_vat",
|
|
3509
3595
|
"counterpart_vat_type",
|
|
3510
3596
|
"counterpart_vat_country"
|
|
3511
|
-
]),
|
|
3597
|
+
]), Oc = e.enum([
|
|
3512
3598
|
"EQ",
|
|
3513
3599
|
"NEQ",
|
|
3514
3600
|
"GT",
|
|
@@ -3519,15 +3605,15 @@ var oc = e.object({
|
|
|
3519
3605
|
"NOT_IN",
|
|
3520
3606
|
"RANGE",
|
|
3521
3607
|
"ALL"
|
|
3522
|
-
]),
|
|
3523
|
-
name:
|
|
3524
|
-
operator:
|
|
3608
|
+
]), kc = e.object({
|
|
3609
|
+
name: Dc,
|
|
3610
|
+
operator: Oc,
|
|
3525
3611
|
value: e.string()
|
|
3526
|
-
}),
|
|
3612
|
+
}), Ac = e.object({
|
|
3527
3613
|
height: e.int(),
|
|
3528
3614
|
url: e.string(),
|
|
3529
3615
|
width: e.int()
|
|
3530
|
-
}),
|
|
3616
|
+
}), jc = e.object({
|
|
3531
3617
|
id: e.uuid(),
|
|
3532
3618
|
created_at: e.iso.datetime(),
|
|
3533
3619
|
file_type: e.string(),
|
|
@@ -3535,18 +3621,18 @@ var oc = e.object({
|
|
|
3535
3621
|
mimetype: e.string(),
|
|
3536
3622
|
name: e.string().max(512),
|
|
3537
3623
|
pages: e.array(Po).nullish().default([]),
|
|
3538
|
-
previews: e.array(
|
|
3624
|
+
previews: e.array(Ac).nullish().default([]),
|
|
3539
3625
|
region: e.string(),
|
|
3540
3626
|
size: e.int().gte(0),
|
|
3541
3627
|
url: e.string()
|
|
3542
|
-
}),
|
|
3628
|
+
}), Mc = e.object({
|
|
3543
3629
|
id: e.uuid(),
|
|
3544
3630
|
created_at: e.iso.datetime(),
|
|
3545
3631
|
updated_at: e.iso.datetime(),
|
|
3546
3632
|
address: $n,
|
|
3547
3633
|
email: e.string().nullish(),
|
|
3548
3634
|
individual: ii,
|
|
3549
|
-
logo:
|
|
3635
|
+
logo: jc.nullish(),
|
|
3550
3636
|
phone: e.string().max(100).nullish(),
|
|
3551
3637
|
registration_authority: e.string().min(1).max(100).nullish(),
|
|
3552
3638
|
registration_number: e.string().min(1).max(100).nullish(),
|
|
@@ -3554,13 +3640,13 @@ var oc = e.object({
|
|
|
3554
3640
|
tax_id: e.string().max(30).nullish(),
|
|
3555
3641
|
type: e.literal("individual"),
|
|
3556
3642
|
website: e.url().min(1).max(2083).nullish()
|
|
3557
|
-
}),
|
|
3643
|
+
}), Nc = e.object({
|
|
3558
3644
|
id: e.uuid(),
|
|
3559
3645
|
created_at: e.iso.datetime(),
|
|
3560
3646
|
updated_at: e.iso.datetime(),
|
|
3561
3647
|
address: $n,
|
|
3562
3648
|
email: e.string().nullish(),
|
|
3563
|
-
logo:
|
|
3649
|
+
logo: jc.nullish(),
|
|
3564
3650
|
organization: Xa,
|
|
3565
3651
|
phone: e.string().max(100).nullish(),
|
|
3566
3652
|
registration_authority: e.string().min(1).max(100).nullish(),
|
|
@@ -3569,17 +3655,17 @@ var oc = e.object({
|
|
|
3569
3655
|
tax_id: e.string().max(30).nullish(),
|
|
3570
3656
|
type: e.literal("organization"),
|
|
3571
3657
|
website: e.url().min(1).max(2083).nullish()
|
|
3572
|
-
}),
|
|
3658
|
+
}), Pc = e.discriminatedUnion("type", [Nc, Mc]);
|
|
3573
3659
|
e.object({
|
|
3574
|
-
data: e.array(
|
|
3660
|
+
data: e.array(Pc),
|
|
3575
3661
|
next_pagination_token: e.string().nullish(),
|
|
3576
3662
|
prev_pagination_token: e.string().nullish()
|
|
3577
3663
|
});
|
|
3578
|
-
var
|
|
3664
|
+
var Fc = e.object({
|
|
3579
3665
|
height: e.int(),
|
|
3580
3666
|
url: e.string(),
|
|
3581
3667
|
width: e.int()
|
|
3582
|
-
}),
|
|
3668
|
+
}), Ic = e.object({
|
|
3583
3669
|
id: e.uuid(),
|
|
3584
3670
|
created_at: e.iso.datetime(),
|
|
3585
3671
|
file_type: e.string(),
|
|
@@ -3587,15 +3673,15 @@ var Cc = e.object({
|
|
|
3587
3673
|
mimetype: e.string(),
|
|
3588
3674
|
name: e.string().max(512),
|
|
3589
3675
|
pages: e.array(Fo).optional().default([]),
|
|
3590
|
-
previews: e.array(
|
|
3676
|
+
previews: e.array(Fc).optional().default([]),
|
|
3591
3677
|
region: e.string(),
|
|
3592
3678
|
size: e.int().gte(0),
|
|
3593
3679
|
url: e.string()
|
|
3594
|
-
}),
|
|
3680
|
+
}), Lc = e.object({
|
|
3595
3681
|
height: e.int(),
|
|
3596
3682
|
url: e.string(),
|
|
3597
3683
|
width: e.int()
|
|
3598
|
-
}),
|
|
3684
|
+
}), Rc = e.object({
|
|
3599
3685
|
id: e.uuid(),
|
|
3600
3686
|
created_at: e.iso.datetime(),
|
|
3601
3687
|
file_type: e.string(),
|
|
@@ -3603,7 +3689,7 @@ var Cc = e.object({
|
|
|
3603
3689
|
mimetype: e.string(),
|
|
3604
3690
|
name: e.string().max(512),
|
|
3605
3691
|
pages: e.array(Io).optional().default([]),
|
|
3606
|
-
previews: e.array(
|
|
3692
|
+
previews: e.array(Lc).optional().default([]),
|
|
3607
3693
|
region: e.string(),
|
|
3608
3694
|
size: e.int().gte(0),
|
|
3609
3695
|
url: e.string()
|
|
@@ -3628,14 +3714,14 @@ e.object({
|
|
|
3628
3714
|
title: e.string().nullish(),
|
|
3629
3715
|
type: e.string().nullish()
|
|
3630
3716
|
});
|
|
3631
|
-
var
|
|
3717
|
+
var zc = e.enum([
|
|
3632
3718
|
"succeeded",
|
|
3633
3719
|
"waiting",
|
|
3634
3720
|
"failed",
|
|
3635
3721
|
"running",
|
|
3636
3722
|
"canceled",
|
|
3637
3723
|
"timed_out"
|
|
3638
|
-
]),
|
|
3724
|
+
]), Bc = e.object({
|
|
3639
3725
|
id: e.uuid(),
|
|
3640
3726
|
created_at: e.iso.datetime(),
|
|
3641
3727
|
updated_at: e.iso.datetime().optional(),
|
|
@@ -3650,11 +3736,11 @@ var Dc = e.enum([
|
|
|
3650
3736
|
e.array(e.unknown()),
|
|
3651
3737
|
e.record(e.string(), e.unknown())
|
|
3652
3738
|
]).optional(),
|
|
3653
|
-
status:
|
|
3739
|
+
status: zc,
|
|
3654
3740
|
updated_by: e.uuid().optional()
|
|
3655
3741
|
});
|
|
3656
|
-
e.object({ data: e.array(
|
|
3657
|
-
var
|
|
3742
|
+
e.object({ data: e.array(Bc) });
|
|
3743
|
+
var Vc = e.enum(["name"]), Hc = e.enum([
|
|
3658
3744
|
"name",
|
|
3659
3745
|
"price",
|
|
3660
3746
|
"currency",
|
|
@@ -3662,7 +3748,7 @@ var kc = e.enum(["name"]), Ac = e.enum([
|
|
|
3662
3748
|
"description",
|
|
3663
3749
|
"measure_unit",
|
|
3664
3750
|
"tax_rate"
|
|
3665
|
-
]), L = e.enum(["product", "service"]),
|
|
3751
|
+
]), L = e.enum(["product", "service"]), Uc = e.object({
|
|
3666
3752
|
name: e.enum(["item_type"]),
|
|
3667
3753
|
operator: e.enum(["IN", "ALL"]),
|
|
3668
3754
|
value: e.array(L).min(1)
|
|
@@ -3677,7 +3763,7 @@ e.object({
|
|
|
3677
3763
|
smallest_amount: e.number().gte(0).lte(2147483647).optional(),
|
|
3678
3764
|
type: L.optional().default("product")
|
|
3679
3765
|
});
|
|
3680
|
-
var
|
|
3766
|
+
var Wc = e.object({
|
|
3681
3767
|
id: e.uuid(),
|
|
3682
3768
|
created_at: e.iso.datetime(),
|
|
3683
3769
|
updated_at: e.iso.datetime(),
|
|
@@ -3693,7 +3779,7 @@ var Mc = e.object({
|
|
|
3693
3779
|
type: L.optional().default("product")
|
|
3694
3780
|
});
|
|
3695
3781
|
e.object({
|
|
3696
|
-
data: e.array(
|
|
3782
|
+
data: e.array(Wc),
|
|
3697
3783
|
next_pagination_token: e.string().optional(),
|
|
3698
3784
|
prev_pagination_token: e.string().optional()
|
|
3699
3785
|
}), e.object({
|
|
@@ -3716,7 +3802,7 @@ e.object({
|
|
|
3716
3802
|
start_date: e.iso.date().optional(),
|
|
3717
3803
|
tag_ids: e.array(e.uuid()).optional().default([])
|
|
3718
3804
|
});
|
|
3719
|
-
var
|
|
3805
|
+
var Gc = e.enum(["id", "created_at"]);
|
|
3720
3806
|
e.object({
|
|
3721
3807
|
code: e.string().min(1).max(20).regex(/^[a-zA-Z0-9]+$/).optional(),
|
|
3722
3808
|
color: e.string().max(128).optional(),
|
|
@@ -3728,33 +3814,33 @@ e.object({
|
|
|
3728
3814
|
start_date: e.iso.date().optional(),
|
|
3729
3815
|
tag_ids: e.array(e.uuid()).optional().default([])
|
|
3730
3816
|
});
|
|
3731
|
-
var
|
|
3817
|
+
var Kc = e.enum([
|
|
3732
3818
|
"psu_id",
|
|
3733
3819
|
"psu_corporate_id",
|
|
3734
3820
|
"psu_ip_address"
|
|
3735
3821
|
]), R = e.object({
|
|
3736
|
-
type:
|
|
3822
|
+
type: Kc,
|
|
3737
3823
|
value: e.string()
|
|
3738
|
-
}),
|
|
3824
|
+
}), qc = e.object({
|
|
3739
3825
|
authorized_bank_account_id: e.uuid(),
|
|
3740
3826
|
iframe: e.boolean().optional().default(!1),
|
|
3741
3827
|
psu_identification: R.optional(),
|
|
3742
3828
|
type: e.enum(["authorized_bank_account"]).optional().default("authorized_bank_account")
|
|
3743
|
-
}),
|
|
3829
|
+
}), Jc = e.object({
|
|
3744
3830
|
bank_account_id: e.uuid(),
|
|
3745
3831
|
bank_id: e.string(),
|
|
3746
3832
|
iframe: e.boolean().optional().default(!1),
|
|
3747
3833
|
psu_identification: R.optional(),
|
|
3748
3834
|
save_to_authorized: e.boolean().optional().default(!1),
|
|
3749
3835
|
type: e.enum(["bank_account"]).optional().default("bank_account")
|
|
3750
|
-
}),
|
|
3836
|
+
}), Yc = e.object({
|
|
3751
3837
|
auth_password: e.string(),
|
|
3752
3838
|
auth_user: e.string(),
|
|
3753
3839
|
authorized_bank_account_id: e.uuid(),
|
|
3754
3840
|
iframe: e.boolean().optional().default(!1),
|
|
3755
3841
|
psu_identification: R.optional(),
|
|
3756
3842
|
type: e.enum(["authorized_bank_account"]).optional().default("authorized_bank_account")
|
|
3757
|
-
}),
|
|
3843
|
+
}), Xc = e.object({
|
|
3758
3844
|
auth_password: e.string(),
|
|
3759
3845
|
auth_user: e.string(),
|
|
3760
3846
|
bank_account_id: e.uuid(),
|
|
@@ -3763,21 +3849,21 @@ var Pc = e.enum([
|
|
|
3763
3849
|
psu_identification: R.optional(),
|
|
3764
3850
|
save_to_authorized: e.boolean().optional().default(!1),
|
|
3765
3851
|
type: e.enum(["bank_account"]).optional().default("bank_account")
|
|
3766
|
-
}),
|
|
3852
|
+
}), Zc = e.object({
|
|
3767
3853
|
id: e.uuid(),
|
|
3768
3854
|
account_number: e.string().optional(),
|
|
3769
3855
|
currency: c.optional(),
|
|
3770
3856
|
display_name: e.string().max(200).optional(),
|
|
3771
3857
|
iban: e.string().optional(),
|
|
3772
3858
|
is_default: e.boolean().optional().default(!1)
|
|
3773
|
-
}),
|
|
3859
|
+
}), Qc = e.object({
|
|
3774
3860
|
city: e.string().max(255),
|
|
3775
3861
|
country: n,
|
|
3776
3862
|
line1: e.string().max(255),
|
|
3777
3863
|
line2: e.string().max(255).optional(),
|
|
3778
3864
|
postal_code: e.string().max(255),
|
|
3779
3865
|
state: e.string().max(255).optional()
|
|
3780
|
-
}),
|
|
3866
|
+
}), $c = e.object({
|
|
3781
3867
|
address: e.string().optional(),
|
|
3782
3868
|
email: e.string().optional(),
|
|
3783
3869
|
first_name: e.string().optional(),
|
|
@@ -3786,7 +3872,7 @@ var Pc = e.enum([
|
|
|
3786
3872
|
organization_name: e.string().optional(),
|
|
3787
3873
|
tax_id: e.string().optional(),
|
|
3788
3874
|
vat_id: e.string().optional()
|
|
3789
|
-
}),
|
|
3875
|
+
}), el = e.enum(["created_at", "updated_at"]), tl = e.object({ created_at: e.string().optional() });
|
|
3790
3876
|
e.object({
|
|
3791
3877
|
body_text: e.string(),
|
|
3792
3878
|
subject_text: e.string()
|
|
@@ -3794,14 +3880,14 @@ e.object({
|
|
|
3794
3880
|
body_preview: e.string(),
|
|
3795
3881
|
subject_preview: e.string()
|
|
3796
3882
|
}), e.object({ mail_id: e.uuid() });
|
|
3797
|
-
var
|
|
3883
|
+
var nl = e.object({
|
|
3798
3884
|
currency: c,
|
|
3799
3885
|
name: e.string(),
|
|
3800
3886
|
price: e.int(),
|
|
3801
3887
|
quantity: e.int(),
|
|
3802
3888
|
tax_rate: e.int().gte(0).lte(1e4),
|
|
3803
3889
|
unit: e.string()
|
|
3804
|
-
}),
|
|
3890
|
+
}), rl = e.object({
|
|
3805
3891
|
currency: e.string().optional(),
|
|
3806
3892
|
name: e.string().optional(),
|
|
3807
3893
|
price: e.string().optional(),
|
|
@@ -3809,22 +3895,22 @@ var Wc = e.object({
|
|
|
3809
3895
|
tax_rate: e.string().optional(),
|
|
3810
3896
|
total_cost: e.string().optional(),
|
|
3811
3897
|
units: e.string().optional()
|
|
3812
|
-
}),
|
|
3898
|
+
}), il = e.object({
|
|
3813
3899
|
currency: e.string().optional(),
|
|
3814
3900
|
head_row: e.string().optional(),
|
|
3815
|
-
line_items: e.array(
|
|
3816
|
-
}),
|
|
3901
|
+
line_items: e.array(rl).optional()
|
|
3902
|
+
}), al = e.object({ document_id: e.string().optional() });
|
|
3817
3903
|
e.object({
|
|
3818
3904
|
counterpart_address_id: e.uuid().optional(),
|
|
3819
3905
|
counterpart_id: e.uuid(),
|
|
3820
3906
|
currency: c,
|
|
3821
3907
|
entity_vat_id_id: e.uuid().optional(),
|
|
3822
|
-
items: e.array(
|
|
3908
|
+
items: e.array(nl),
|
|
3823
3909
|
message: e.string(),
|
|
3824
3910
|
project_id: e.uuid().optional(),
|
|
3825
3911
|
valid_for_days: e.int().gte(1)
|
|
3826
3912
|
});
|
|
3827
|
-
var
|
|
3913
|
+
var ol = e.object({
|
|
3828
3914
|
entity_contact: rr.optional().default({
|
|
3829
3915
|
tax_id_header: "KVK",
|
|
3830
3916
|
vat_id_header: "VAT"
|
|
@@ -3835,20 +3921,20 @@ var Jc = e.object({
|
|
|
3835
3921
|
}),
|
|
3836
3922
|
entity_logo: sr.optional().default({}),
|
|
3837
3923
|
header: ni.optional().default({}),
|
|
3838
|
-
line_items:
|
|
3924
|
+
line_items: il.optional().default({ line_items: [] }),
|
|
3839
3925
|
memo: Gi.optional().default({}),
|
|
3840
|
-
payment_terms:
|
|
3841
|
-
purchase_order_counterpart_info:
|
|
3842
|
-
purchase_order_date:
|
|
3843
|
-
purchase_order_number:
|
|
3926
|
+
payment_terms: sc.optional().default({ header: "Payment terms" }),
|
|
3927
|
+
purchase_order_counterpart_info: $c.optional().default({}),
|
|
3928
|
+
purchase_order_date: tl.optional().default({}),
|
|
3929
|
+
purchase_order_number: al.optional().default({}),
|
|
3844
3930
|
template_type: e.enum(["purchase_order"])
|
|
3845
|
-
}),
|
|
3931
|
+
}), sl = e.enum(["draft", "issued"]), cl = e.object({
|
|
3846
3932
|
id: e.uuid(),
|
|
3847
3933
|
country: e.string(),
|
|
3848
3934
|
entity_id: e.uuid(),
|
|
3849
3935
|
type: e.string(),
|
|
3850
3936
|
value: e.string()
|
|
3851
|
-
}),
|
|
3937
|
+
}), ll = e.object({
|
|
3852
3938
|
bic: e.string().optional(),
|
|
3853
3939
|
bic_title: e.string().optional().default("BIC"),
|
|
3854
3940
|
entity_name: e.string().optional(),
|
|
@@ -3862,7 +3948,7 @@ var Jc = e.object({
|
|
|
3862
3948
|
qr_code_description: e.string().optional().default("Or use the following details"),
|
|
3863
3949
|
qr_code_text_below: e.string().optional(),
|
|
3864
3950
|
request_for_payment: e.string().optional()
|
|
3865
|
-
}),
|
|
3951
|
+
}), ul = e.object({
|
|
3866
3952
|
display_organization_bank_account: e.boolean().optional().default(!0),
|
|
3867
3953
|
display_signature: e.boolean().optional().default(!1)
|
|
3868
3954
|
}), z = e.object({
|
|
@@ -3871,19 +3957,19 @@ var Jc = e.object({
|
|
|
3871
3957
|
display_organization_bank_account: e.boolean().optional().default(!0),
|
|
3872
3958
|
invoice: di.optional(),
|
|
3873
3959
|
line_items: Ii.optional(),
|
|
3874
|
-
quote:
|
|
3875
|
-
}),
|
|
3960
|
+
quote: ul.optional()
|
|
3961
|
+
}), dl = e.enum([
|
|
3876
3962
|
"draft",
|
|
3877
3963
|
"issued",
|
|
3878
3964
|
"accepted",
|
|
3879
3965
|
"expired",
|
|
3880
3966
|
"declined",
|
|
3881
3967
|
"deleted"
|
|
3882
|
-
]),
|
|
3968
|
+
]), fl = e.object({
|
|
3883
3969
|
currency: c,
|
|
3884
3970
|
rate: e.number()
|
|
3885
3971
|
});
|
|
3886
|
-
e.object({ data: e.array(
|
|
3972
|
+
e.object({ data: e.array(fl) }), e.object({ file: e.string() }), e.object({
|
|
3887
3973
|
base64_encoded_file: e.string().optional(),
|
|
3888
3974
|
currency: c.optional(),
|
|
3889
3975
|
description: e.string().max(1024).optional(),
|
|
@@ -3895,7 +3981,7 @@ e.object({ data: e.array(el) }), e.object({ file: e.string() }), e.object({
|
|
|
3895
3981
|
total_amount: e.int().gte(0).optional(),
|
|
3896
3982
|
transaction_id: e.uuid().optional()
|
|
3897
3983
|
});
|
|
3898
|
-
var
|
|
3984
|
+
var pl = e.enum(["id", "created_at"]), ml = e.enum([
|
|
3899
3985
|
"created_at",
|
|
3900
3986
|
"currency",
|
|
3901
3987
|
"issued_at"
|
|
@@ -3904,7 +3990,7 @@ e.object({
|
|
|
3904
3990
|
name: e.string().optional(),
|
|
3905
3991
|
total: e.int().optional()
|
|
3906
3992
|
});
|
|
3907
|
-
var
|
|
3993
|
+
var hl = e.enum(["created_at", "updated_at"]), gl = e.object({
|
|
3908
3994
|
id: e.uuid(),
|
|
3909
3995
|
created_at: e.iso.datetime(),
|
|
3910
3996
|
updated_at: e.iso.datetime(),
|
|
@@ -3917,11 +4003,11 @@ e.object({
|
|
|
3917
4003
|
name: e.string().optional(),
|
|
3918
4004
|
total: e.int().optional()
|
|
3919
4005
|
}), e.object({
|
|
3920
|
-
data: e.array(
|
|
4006
|
+
data: e.array(gl),
|
|
3921
4007
|
next_pagination_token: e.string().optional(),
|
|
3922
4008
|
prev_pagination_token: e.string().optional()
|
|
3923
4009
|
});
|
|
3924
|
-
var
|
|
4010
|
+
var _l = e.enum(["user", "automatched"]), vl = e.enum(["id"]), yl = e.enum(["upload", "email"]);
|
|
3925
4011
|
e.object({
|
|
3926
4012
|
base64_encoded_file: e.string().optional(),
|
|
3927
4013
|
currency: c.optional(),
|
|
@@ -3934,11 +4020,11 @@ e.object({
|
|
|
3934
4020
|
total_amount: e.int().gte(0).optional(),
|
|
3935
4021
|
transaction_id: e.uuid().optional()
|
|
3936
4022
|
}), e.object({ file: e.string() });
|
|
3937
|
-
var
|
|
4023
|
+
var bl = e.object({
|
|
3938
4024
|
based_on: e.uuid(),
|
|
3939
4025
|
tag_ids: e.array(e.uuid()).optional().default([]),
|
|
3940
4026
|
type: Qe
|
|
3941
|
-
}),
|
|
4027
|
+
}), xl = e.record(e.string(), e.never()), Sl = e.enum([
|
|
3942
4028
|
"counterpart_name",
|
|
3943
4029
|
"counterpart_id",
|
|
3944
4030
|
"amount",
|
|
@@ -3950,7 +4036,7 @@ var cl = e.object({
|
|
|
3950
4036
|
"document_id",
|
|
3951
4037
|
"created_at",
|
|
3952
4038
|
"project_id"
|
|
3953
|
-
]),
|
|
4039
|
+
]), Cl = e.enum([
|
|
3954
4040
|
"counterpart_name",
|
|
3955
4041
|
"counterpart_id",
|
|
3956
4042
|
"amount",
|
|
@@ -3963,7 +4049,7 @@ var cl = e.object({
|
|
|
3963
4049
|
"project_id"
|
|
3964
4050
|
]);
|
|
3965
4051
|
e.object({ comment: e.string().optional() });
|
|
3966
|
-
var
|
|
4052
|
+
var wl = e.enum([
|
|
3967
4053
|
"created_at",
|
|
3968
4054
|
"status",
|
|
3969
4055
|
"counterpart_id",
|
|
@@ -3972,7 +4058,7 @@ var fl = e.enum([
|
|
|
3972
4058
|
"due_date",
|
|
3973
4059
|
"project_id",
|
|
3974
4060
|
"product_id"
|
|
3975
|
-
]),
|
|
4061
|
+
]), Tl = e.enum([
|
|
3976
4062
|
"compliant",
|
|
3977
4063
|
"partially_compliant",
|
|
3978
4064
|
"non_compliant"
|
|
@@ -3983,14 +4069,14 @@ var fl = e.enum([
|
|
|
3983
4069
|
line2: e.string().max(100).optional(),
|
|
3984
4070
|
postal_code: e.string().max(10),
|
|
3985
4071
|
state: e.string().optional()
|
|
3986
|
-
}),
|
|
4072
|
+
}), El = e.object({
|
|
3987
4073
|
email: e.email().optional(),
|
|
3988
4074
|
logo: e.url().min(1).max(2083).optional(),
|
|
3989
4075
|
phone: e.string().optional(),
|
|
3990
4076
|
registration_authority: e.string().optional(),
|
|
3991
4077
|
registration_number: e.string().optional(),
|
|
3992
4078
|
website: e.url().min(1).max(2083).optional()
|
|
3993
|
-
}),
|
|
4079
|
+
}), Dl = e.object({
|
|
3994
4080
|
email: e.email().optional(),
|
|
3995
4081
|
first_name: e.string(),
|
|
3996
4082
|
last_name: e.string(),
|
|
@@ -4001,7 +4087,7 @@ var fl = e.enum([
|
|
|
4001
4087
|
tax_id: e.string().optional(),
|
|
4002
4088
|
type: e.enum(["individual"]),
|
|
4003
4089
|
website: e.url().min(1).max(2083).optional()
|
|
4004
|
-
}),
|
|
4090
|
+
}), Ol = e.object({
|
|
4005
4091
|
email: e.email().optional(),
|
|
4006
4092
|
first_name: e.string(),
|
|
4007
4093
|
last_name: e.string(),
|
|
@@ -4012,7 +4098,7 @@ var fl = e.enum([
|
|
|
4012
4098
|
tax_id: e.string().optional(),
|
|
4013
4099
|
type: e.enum(["individual"]),
|
|
4014
4100
|
website: e.url().min(1).max(2083).optional()
|
|
4015
|
-
}),
|
|
4101
|
+
}), kl = e.object({
|
|
4016
4102
|
email: e.email().optional(),
|
|
4017
4103
|
logo: e.url().min(1).max(2083).optional(),
|
|
4018
4104
|
name: e.string(),
|
|
@@ -4023,7 +4109,7 @@ var fl = e.enum([
|
|
|
4023
4109
|
type: e.enum(["organization"]),
|
|
4024
4110
|
vat_id: e.string().optional(),
|
|
4025
4111
|
website: e.url().min(1).max(2083).optional()
|
|
4026
|
-
}),
|
|
4112
|
+
}), Al = e.object({
|
|
4027
4113
|
email: e.email().optional(),
|
|
4028
4114
|
logo: e.url().min(1).max(2083).optional(),
|
|
4029
4115
|
name: e.string(),
|
|
@@ -4033,7 +4119,7 @@ var fl = e.enum([
|
|
|
4033
4119
|
tax_id: e.string().optional(),
|
|
4034
4120
|
type: e.enum(["organization"]),
|
|
4035
4121
|
website: e.url().min(1).max(2083).optional()
|
|
4036
|
-
}),
|
|
4122
|
+
}), jl = e.enum([
|
|
4037
4123
|
"line_items",
|
|
4038
4124
|
"amount",
|
|
4039
4125
|
"currency",
|
|
@@ -4050,7 +4136,7 @@ e.object({
|
|
|
4050
4136
|
file_url: e.string().optional(),
|
|
4051
4137
|
original_file_url: e.string().optional()
|
|
4052
4138
|
});
|
|
4053
|
-
var
|
|
4139
|
+
var Ml = e.enum(["timestamp"]), Nl = e.enum([
|
|
4054
4140
|
"status_changed",
|
|
4055
4141
|
"receivable_created",
|
|
4056
4142
|
"receivable_updated",
|
|
@@ -4059,47 +4145,47 @@ var bl = e.enum(["timestamp"]), xl = e.enum([
|
|
|
4059
4145
|
"mail_sent",
|
|
4060
4146
|
"payment_reminder_mail_sent",
|
|
4061
4147
|
"overdue_reminder_mail_sent"
|
|
4062
|
-
]),
|
|
4148
|
+
]), Pl = e.enum([
|
|
4063
4149
|
"status",
|
|
4064
4150
|
"created_at",
|
|
4065
4151
|
"updated_at"
|
|
4066
|
-
]),
|
|
4152
|
+
]), Fl = e.object({
|
|
4067
4153
|
email: e.email(),
|
|
4068
4154
|
error: e.string().optional(),
|
|
4069
4155
|
is_success: e.boolean()
|
|
4070
|
-
}),
|
|
4071
|
-
bcc: e.array(
|
|
4072
|
-
cc: e.array(
|
|
4073
|
-
to: e.array(
|
|
4074
|
-
}),
|
|
4156
|
+
}), Il = e.object({
|
|
4157
|
+
bcc: e.array(Fl).optional(),
|
|
4158
|
+
cc: e.array(Fl).optional(),
|
|
4159
|
+
to: e.array(Fl).optional()
|
|
4160
|
+
}), Ll = e.enum([
|
|
4075
4161
|
"pending",
|
|
4076
4162
|
"processing",
|
|
4077
4163
|
"sent",
|
|
4078
4164
|
"partially_sent",
|
|
4079
4165
|
"failed"
|
|
4080
|
-
]),
|
|
4166
|
+
]), Rl = e.object({
|
|
4081
4167
|
mail_id: e.uuid(),
|
|
4082
|
-
mail_status:
|
|
4083
|
-
recipients:
|
|
4084
|
-
}),
|
|
4168
|
+
mail_status: Ll,
|
|
4169
|
+
recipients: Il
|
|
4170
|
+
}), zl = e.object({
|
|
4085
4171
|
id: e.uuid(),
|
|
4086
4172
|
created_at: e.iso.datetime(),
|
|
4087
4173
|
updated_at: e.iso.datetime(),
|
|
4088
|
-
recipients:
|
|
4089
|
-
status:
|
|
4174
|
+
recipients: Il.optional(),
|
|
4175
|
+
status: Ll
|
|
4090
4176
|
});
|
|
4091
4177
|
e.object({
|
|
4092
|
-
data: e.array(
|
|
4178
|
+
data: e.array(zl),
|
|
4093
4179
|
next_pagination_token: e.string().optional(),
|
|
4094
4180
|
prev_pagination_token: e.string().optional()
|
|
4095
4181
|
});
|
|
4096
|
-
var
|
|
4182
|
+
var Bl = e.enum([
|
|
4097
4183
|
"id",
|
|
4098
4184
|
"amount_due",
|
|
4099
4185
|
"product_amount",
|
|
4100
4186
|
"product_quantity",
|
|
4101
4187
|
"total_amount"
|
|
4102
|
-
]),
|
|
4188
|
+
]), Vl = e.object({
|
|
4103
4189
|
document_id: e.string().optional(),
|
|
4104
4190
|
document_type: e.string().optional(),
|
|
4105
4191
|
header: e.string().optional().default("Document number")
|
|
@@ -4158,34 +4244,34 @@ e.object({
|
|
|
4158
4244
|
}
|
|
4159
4245
|
})
|
|
4160
4246
|
}), e.object({ mail_id: e.uuid() });
|
|
4161
|
-
var
|
|
4247
|
+
var Hl = e.object({
|
|
4162
4248
|
create_without_personal_info: e.boolean(),
|
|
4163
4249
|
deduction_title: e.string().min(1).max(32).nullish()
|
|
4164
|
-
}),
|
|
4250
|
+
}), Ul = e.object({
|
|
4165
4251
|
description: e.string(),
|
|
4166
4252
|
name: e.string()
|
|
4167
|
-
}),
|
|
4253
|
+
}), Wl = e.enum([
|
|
4168
4254
|
"quote",
|
|
4169
4255
|
"invoice",
|
|
4170
4256
|
"credit_note"
|
|
4171
|
-
]),
|
|
4257
|
+
]), Gl = e.object({
|
|
4172
4258
|
receivable_id: e.uuid(),
|
|
4173
|
-
type:
|
|
4259
|
+
type: Wl
|
|
4174
4260
|
});
|
|
4175
4261
|
e.object({ comment: e.string().optional() });
|
|
4176
|
-
var
|
|
4262
|
+
var Kl = e.record(e.string(), e.never()), ql = e.object({
|
|
4177
4263
|
dimension_value: e.string().optional(),
|
|
4178
4264
|
metric_value: e.int()
|
|
4179
4265
|
});
|
|
4180
|
-
e.object({ data: e.array(
|
|
4181
|
-
var
|
|
4266
|
+
e.object({ data: e.array(ql) });
|
|
4267
|
+
var Jl = e.object({
|
|
4182
4268
|
city: e.string(),
|
|
4183
4269
|
country: n,
|
|
4184
4270
|
line1: e.string(),
|
|
4185
4271
|
line2: e.string().optional(),
|
|
4186
4272
|
postal_code: e.string(),
|
|
4187
4273
|
state: e.string().optional()
|
|
4188
|
-
}),
|
|
4274
|
+
}), Yl = e.enum([
|
|
4189
4275
|
"receivable",
|
|
4190
4276
|
"discount_reminder",
|
|
4191
4277
|
"final_reminder"
|
|
@@ -4194,9 +4280,9 @@ e.object({
|
|
|
4194
4280
|
body_text: e.string().min(1),
|
|
4195
4281
|
language: g.optional().default("en"),
|
|
4196
4282
|
subject_text: e.string().min(1),
|
|
4197
|
-
type:
|
|
4283
|
+
type: Yl.optional().default("receivable")
|
|
4198
4284
|
});
|
|
4199
|
-
var
|
|
4285
|
+
var Xl = e.object({ payment_reminders: e.string().optional() }), V = e.object({
|
|
4200
4286
|
id: e.uuid().optional(),
|
|
4201
4287
|
city: e.string(),
|
|
4202
4288
|
country: n,
|
|
@@ -4204,14 +4290,14 @@ var Rl = e.object({ payment_reminders: e.string().optional() }), V = e.object({
|
|
|
4204
4290
|
line2: e.string().optional(),
|
|
4205
4291
|
postal_code: e.string(),
|
|
4206
4292
|
state: e.string().optional()
|
|
4207
|
-
}),
|
|
4293
|
+
}), Zl = e.object({
|
|
4208
4294
|
address: V.optional(),
|
|
4209
4295
|
email: e.email().optional(),
|
|
4210
4296
|
first_name: e.string(),
|
|
4211
4297
|
last_name: e.string(),
|
|
4212
4298
|
phone: e.string().optional(),
|
|
4213
4299
|
title: e.string().optional()
|
|
4214
|
-
}),
|
|
4300
|
+
}), Ql = e.object({
|
|
4215
4301
|
id: e.uuid().optional(),
|
|
4216
4302
|
account_holder_name: e.string().optional(),
|
|
4217
4303
|
account_number: e.string().optional(),
|
|
@@ -4260,7 +4346,7 @@ e.object({
|
|
|
4260
4346
|
project_id: e.uuid().optional(),
|
|
4261
4347
|
project_id__in: e.array(e.uuid()).optional(),
|
|
4262
4348
|
search_text: e.string().optional(),
|
|
4263
|
-
sort:
|
|
4349
|
+
sort: Cl.optional(),
|
|
4264
4350
|
status: e.enum([
|
|
4265
4351
|
"draft",
|
|
4266
4352
|
"issued",
|
|
@@ -4283,9 +4369,9 @@ e.object({
|
|
|
4283
4369
|
total_amount__gte: e.int().optional(),
|
|
4284
4370
|
total_amount__lt: e.int().optional(),
|
|
4285
4371
|
total_amount__lte: e.int().optional(),
|
|
4286
|
-
type:
|
|
4372
|
+
type: Wl.optional()
|
|
4287
4373
|
}), e.object({ mail_ids: e.array(e.uuid()) });
|
|
4288
|
-
var
|
|
4374
|
+
var $l = e.enum([
|
|
4289
4375
|
"draft",
|
|
4290
4376
|
"issued",
|
|
4291
4377
|
"failed",
|
|
@@ -4302,14 +4388,14 @@ var Vl = e.enum([
|
|
|
4302
4388
|
]);
|
|
4303
4389
|
e.object({
|
|
4304
4390
|
errors: Ji.optional(),
|
|
4305
|
-
warnings:
|
|
4391
|
+
warnings: Xl.optional()
|
|
4306
4392
|
});
|
|
4307
|
-
var
|
|
4393
|
+
var eu = e.object({
|
|
4308
4394
|
id: e.uuid(),
|
|
4309
4395
|
bank_accounts: e.array(dn).optional(),
|
|
4310
4396
|
name: e.string().optional(),
|
|
4311
4397
|
type: N
|
|
4312
|
-
}),
|
|
4398
|
+
}), tu = e.object({
|
|
4313
4399
|
id: e.uuid(),
|
|
4314
4400
|
updated_at: e.iso.datetime(),
|
|
4315
4401
|
amount: e.int(),
|
|
@@ -4317,13 +4403,13 @@ var Hl = e.object({
|
|
|
4317
4403
|
batch_payment_id: e.uuid().optional(),
|
|
4318
4404
|
currency: e.string(),
|
|
4319
4405
|
invoice: ui.optional(),
|
|
4320
|
-
object:
|
|
4321
|
-
payer:
|
|
4406
|
+
object: Js.optional(),
|
|
4407
|
+
payer: js.optional(),
|
|
4322
4408
|
payment_link_id: e.uuid().optional(),
|
|
4323
4409
|
payment_methods: e.array(v),
|
|
4324
4410
|
payment_reference: e.string().optional(),
|
|
4325
4411
|
provider: e.string().optional(),
|
|
4326
|
-
recipient:
|
|
4412
|
+
recipient: eu,
|
|
4327
4413
|
selected_payment_method: v.optional(),
|
|
4328
4414
|
status: e.string()
|
|
4329
4415
|
});
|
|
@@ -4332,47 +4418,47 @@ e.object({
|
|
|
4332
4418
|
created_at: e.iso.datetime(),
|
|
4333
4419
|
error: e.record(e.string(), e.unknown()).optional(),
|
|
4334
4420
|
expires_at: e.iso.datetime(),
|
|
4335
|
-
payment_intents: e.array(
|
|
4421
|
+
payment_intents: e.array(tu),
|
|
4336
4422
|
payment_page_url: e.url().min(1).max(2083),
|
|
4337
|
-
status:
|
|
4423
|
+
status: cc,
|
|
4338
4424
|
total_amount: e.int().optional()
|
|
4339
4425
|
}), e.object({
|
|
4340
4426
|
id: e.uuid(),
|
|
4341
4427
|
created_at: e.iso.datetime(),
|
|
4342
|
-
entity_bank_accounts: e.array(
|
|
4428
|
+
entity_bank_accounts: e.array(Zc).optional(),
|
|
4343
4429
|
entity_id: e.uuid(),
|
|
4344
4430
|
error: e.record(e.string(), e.unknown()).optional(),
|
|
4345
4431
|
expires_at: e.iso.datetime(),
|
|
4346
4432
|
partner_id: e.uuid(),
|
|
4347
|
-
payment_intents: e.array(
|
|
4433
|
+
payment_intents: e.array(tu),
|
|
4348
4434
|
payment_page_url: e.url().min(1).max(2083),
|
|
4349
4435
|
project_id: e.uuid(),
|
|
4350
|
-
status:
|
|
4436
|
+
status: cc,
|
|
4351
4437
|
total_amount: e.int().optional()
|
|
4352
4438
|
}), e.object({
|
|
4353
|
-
data: e.array(
|
|
4439
|
+
data: e.array(tu),
|
|
4354
4440
|
next_pagination_token: e.string().optional(),
|
|
4355
4441
|
prev_pagination_token: e.string().optional()
|
|
4356
4442
|
});
|
|
4357
|
-
var
|
|
4443
|
+
var nu = e.object({
|
|
4358
4444
|
id: e.uuid(),
|
|
4359
4445
|
authorized_bank_accounts: e.array(je).optional(),
|
|
4360
4446
|
bank_accounts: e.array(dn).optional(),
|
|
4361
4447
|
name: e.string().optional(),
|
|
4362
4448
|
type: N
|
|
4363
|
-
}),
|
|
4449
|
+
}), ru = e.enum(["entity", "counterpart"]), iu = e.object({
|
|
4364
4450
|
id: e.uuid(),
|
|
4365
|
-
type:
|
|
4451
|
+
type: ru
|
|
4366
4452
|
});
|
|
4367
4453
|
e.object({
|
|
4368
|
-
recipient:
|
|
4454
|
+
recipient: iu,
|
|
4369
4455
|
refresh_url: e.url().min(1).max(2083),
|
|
4370
4456
|
return_url: e.url().min(1).max(2083)
|
|
4371
4457
|
}), e.object({
|
|
4372
4458
|
id: e.uuid(),
|
|
4373
4459
|
created_at: e.iso.datetime(),
|
|
4374
4460
|
expires_at: e.iso.datetime(),
|
|
4375
|
-
recipient:
|
|
4461
|
+
recipient: iu,
|
|
4376
4462
|
refresh_url: e.url().min(1).max(2083),
|
|
4377
4463
|
return_url: e.url().min(1).max(2083),
|
|
4378
4464
|
url: e.url().min(1).max(2083)
|
|
@@ -4387,7 +4473,7 @@ e.object({
|
|
|
4387
4473
|
recipients: H.optional(),
|
|
4388
4474
|
terms: e.array(Ao).min(1).max(3).optional()
|
|
4389
4475
|
});
|
|
4390
|
-
var
|
|
4476
|
+
var au = e.object({
|
|
4391
4477
|
id: e.uuid(),
|
|
4392
4478
|
created_at: e.iso.datetime(),
|
|
4393
4479
|
updated_at: e.iso.datetime(),
|
|
@@ -4395,7 +4481,7 @@ var ql = e.object({
|
|
|
4395
4481
|
recipients: H.optional(),
|
|
4396
4482
|
terms: e.array(Ao).min(1).optional()
|
|
4397
4483
|
});
|
|
4398
|
-
e.object({ data: e.array(
|
|
4484
|
+
e.object({ data: e.array(au) }), e.object({
|
|
4399
4485
|
name: e.string().min(1).max(255).optional(),
|
|
4400
4486
|
recipients: H.optional(),
|
|
4401
4487
|
terms: e.array(Ao).min(1).max(3).optional()
|
|
@@ -4404,11 +4490,11 @@ e.object({ data: e.array(ql) }), e.object({
|
|
|
4404
4490
|
recipients: H.optional(),
|
|
4405
4491
|
subject_text: e.string().min(1)
|
|
4406
4492
|
});
|
|
4407
|
-
var
|
|
4493
|
+
var ou = e.object({
|
|
4408
4494
|
bcc: e.array(e.email()).optional().default([]),
|
|
4409
4495
|
cc: e.array(e.email()).optional().default([]),
|
|
4410
4496
|
to: e.array(e.email()).optional().default([])
|
|
4411
|
-
}),
|
|
4497
|
+
}), su = e.enum([
|
|
4412
4498
|
"day",
|
|
4413
4499
|
"week",
|
|
4414
4500
|
"month",
|
|
@@ -4419,7 +4505,7 @@ e.object({
|
|
|
4419
4505
|
automation_level: Me.optional(),
|
|
4420
4506
|
body_text: e.string().min(1).optional(),
|
|
4421
4507
|
end_date: e.iso.date().optional(),
|
|
4422
|
-
frequency:
|
|
4508
|
+
frequency: su.optional().default("month"),
|
|
4423
4509
|
interval: e.int().gte(1).lte(100).optional().default(1),
|
|
4424
4510
|
invoice_id: e.uuid(),
|
|
4425
4511
|
max_occurrences: e.int().gte(1).lte(1e3).optional(),
|
|
@@ -4427,17 +4513,17 @@ e.object({
|
|
|
4427
4513
|
start_date: e.iso.date(),
|
|
4428
4514
|
subject_text: e.string().min(1).optional()
|
|
4429
4515
|
});
|
|
4430
|
-
var
|
|
4516
|
+
var cu = e.object({
|
|
4431
4517
|
issue_at: e.iso.date(),
|
|
4432
4518
|
issued_invoice_id: e.uuid().optional(),
|
|
4433
4519
|
iteration: e.int().optional().default(1),
|
|
4434
4520
|
status: pi
|
|
4435
|
-
}),
|
|
4521
|
+
}), lu = e.enum([
|
|
4436
4522
|
"active",
|
|
4437
4523
|
"paused",
|
|
4438
4524
|
"canceled",
|
|
4439
4525
|
"completed"
|
|
4440
|
-
]),
|
|
4526
|
+
]), uu = e.object({
|
|
4441
4527
|
id: e.uuid(),
|
|
4442
4528
|
created_at: e.iso.datetime(),
|
|
4443
4529
|
updated_at: e.iso.datetime(),
|
|
@@ -4445,29 +4531,29 @@ var Xl = e.object({
|
|
|
4445
4531
|
body_text: e.string().optional(),
|
|
4446
4532
|
current_iteration: e.int().gte(1),
|
|
4447
4533
|
end_date: e.iso.date().optional(),
|
|
4448
|
-
frequency:
|
|
4534
|
+
frequency: su,
|
|
4449
4535
|
interval: e.int().gte(1).lte(100),
|
|
4450
4536
|
invoice_id: e.uuid(),
|
|
4451
|
-
iterations: e.array(
|
|
4537
|
+
iterations: e.array(cu).min(1),
|
|
4452
4538
|
max_occurrences: e.int().gte(1).lte(1e3).optional(),
|
|
4453
4539
|
recipients: H.optional(),
|
|
4454
4540
|
start_date: e.iso.date(),
|
|
4455
|
-
status:
|
|
4541
|
+
status: lu,
|
|
4456
4542
|
subject_text: e.string().optional()
|
|
4457
4543
|
});
|
|
4458
|
-
e.object({ data: e.array(
|
|
4544
|
+
e.object({ data: e.array(uu) }), e.object({
|
|
4459
4545
|
counterpart: It,
|
|
4460
4546
|
entity: ur,
|
|
4461
|
-
product: e.array(
|
|
4462
|
-
receivable: e.array(
|
|
4547
|
+
product: e.array(Hc),
|
|
4548
|
+
receivable: e.array(jl)
|
|
4463
4549
|
});
|
|
4464
|
-
var
|
|
4550
|
+
var du = e.object({
|
|
4465
4551
|
id: e.uuid(),
|
|
4466
4552
|
requirements: e.record(e.string(), e.unknown())
|
|
4467
|
-
}),
|
|
4553
|
+
}), fu = e.object({
|
|
4468
4554
|
credit_note_ids: e.array(e.uuid()).optional(),
|
|
4469
4555
|
proforma_invoice_id: e.uuid().optional()
|
|
4470
|
-
}),
|
|
4556
|
+
}), pu = e.object({
|
|
4471
4557
|
id: e.uuid(),
|
|
4472
4558
|
detailsUrl: e.string(),
|
|
4473
4559
|
displayName: e.string(),
|
|
@@ -4476,7 +4562,7 @@ var $l = e.object({
|
|
|
4476
4562
|
types: e.array(k)
|
|
4477
4563
|
});
|
|
4478
4564
|
e.object({
|
|
4479
|
-
data: e.array(
|
|
4565
|
+
data: e.array(pu),
|
|
4480
4566
|
nextPaginationToken: e.string().nullish(),
|
|
4481
4567
|
parentOrganizations: e.array(Vo).nullish(),
|
|
4482
4568
|
prevPaginationToken: e.string().nullish()
|
|
@@ -4499,7 +4585,7 @@ e.object({
|
|
|
4499
4585
|
term_2_reminder: U.optional(),
|
|
4500
4586
|
term_final_reminder: U.optional()
|
|
4501
4587
|
});
|
|
4502
|
-
var
|
|
4588
|
+
var mu = e.enum([
|
|
4503
4589
|
"term_1",
|
|
4504
4590
|
"term_2",
|
|
4505
4591
|
"term_final",
|
|
@@ -4507,19 +4593,19 @@ var nu = e.enum([
|
|
|
4507
4593
|
]);
|
|
4508
4594
|
e.object({
|
|
4509
4595
|
recipients: H.optional(),
|
|
4510
|
-
reminder_type:
|
|
4596
|
+
reminder_type: mu
|
|
4511
4597
|
});
|
|
4512
|
-
var
|
|
4598
|
+
var hu = e.object({
|
|
4513
4599
|
mail_id: e.uuid(),
|
|
4514
|
-
mail_status:
|
|
4515
|
-
recipients:
|
|
4516
|
-
term:
|
|
4517
|
-
}),
|
|
4600
|
+
mail_status: Ll,
|
|
4601
|
+
recipients: Il,
|
|
4602
|
+
term: mu
|
|
4603
|
+
}), gu = e.object({ enabled: e.boolean().optional().default(!0) });
|
|
4518
4604
|
e.object({
|
|
4519
4605
|
body: e.string(),
|
|
4520
4606
|
subject: e.string()
|
|
4521
4607
|
});
|
|
4522
|
-
var
|
|
4608
|
+
var _u = e.object({
|
|
4523
4609
|
repayment_amount: e.int(),
|
|
4524
4610
|
repayment_date: e.string(),
|
|
4525
4611
|
repayment_fee_amount: e.int(),
|
|
@@ -4529,7 +4615,7 @@ e.object({
|
|
|
4529
4615
|
email: e.string(),
|
|
4530
4616
|
redirectUri: e.string()
|
|
4531
4617
|
}), e.object({ email: e.string() });
|
|
4532
|
-
var
|
|
4618
|
+
var vu = e.object({
|
|
4533
4619
|
code: e.string(),
|
|
4534
4620
|
reason: e.string(),
|
|
4535
4621
|
requirement: e.string()
|
|
@@ -4543,7 +4629,7 @@ e.object({
|
|
|
4543
4629
|
token: e.string(),
|
|
4544
4630
|
userId: e.uuid()
|
|
4545
4631
|
}), e.object({ userId: e.uuid() }), e.object({ email: e.string() }), e.object({ acknowledged: e.boolean() });
|
|
4546
|
-
var
|
|
4632
|
+
var yu = e.enum(["updated_at", "created_at"]), bu = e.object({
|
|
4547
4633
|
assignedDateTime: e.iso.datetime(),
|
|
4548
4634
|
email: e.string(),
|
|
4549
4635
|
name: e.string(),
|
|
@@ -4551,18 +4637,18 @@ var su = e.enum(["updated_at", "created_at"]), cu = e.object({
|
|
|
4551
4637
|
userId: e.uuid()
|
|
4552
4638
|
});
|
|
4553
4639
|
e.object({
|
|
4554
|
-
data: e.array(
|
|
4640
|
+
data: e.array(bu),
|
|
4555
4641
|
nextPaginationToken: e.string().nullish(),
|
|
4556
4642
|
prevPaginationToken: e.string().nullish()
|
|
4557
4643
|
});
|
|
4558
|
-
var
|
|
4644
|
+
var xu = e.object({
|
|
4559
4645
|
id: e.uuid(),
|
|
4560
4646
|
description: e.string().nullish(),
|
|
4561
4647
|
key: e.string(),
|
|
4562
4648
|
name: e.string()
|
|
4563
4649
|
});
|
|
4564
|
-
e.object({ data: e.array(
|
|
4565
|
-
var
|
|
4650
|
+
e.object({ data: e.array(xu) });
|
|
4651
|
+
var Su = e.discriminatedUnion("object_type", [
|
|
4566
4652
|
P.extend({ object_type: e.literal("accounting_tax_rate") }),
|
|
4567
4653
|
P.extend({ object_type: e.literal("approval_policy") }),
|
|
4568
4654
|
P.extend({ object_type: e.literal("approval_request") }),
|
|
@@ -4596,11 +4682,11 @@ var uu = e.discriminatedUnion("object_type", [
|
|
|
4596
4682
|
P.extend({ object_type: e.literal("todo_task_mute") }),
|
|
4597
4683
|
P.extend({ object_type: e.literal("transaction") }),
|
|
4598
4684
|
P.extend({ object_type: e.literal("workflow") }),
|
|
4599
|
-
|
|
4600
|
-
]),
|
|
4685
|
+
gc
|
|
4686
|
+
]), Cu = e.object({ objects: e.array(Su).optional() });
|
|
4601
4687
|
e.object({
|
|
4602
4688
|
name: e.string().min(1).max(255),
|
|
4603
|
-
permissions:
|
|
4689
|
+
permissions: Cu
|
|
4604
4690
|
}), e.object({
|
|
4605
4691
|
amount: e.union([e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }), e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })]),
|
|
4606
4692
|
currencyCode: e.string().optional().default("USD"),
|
|
@@ -4609,23 +4695,23 @@ e.object({
|
|
|
4609
4695
|
reference: e.string().nullish(),
|
|
4610
4696
|
toBankAccountId: e.uuid()
|
|
4611
4697
|
});
|
|
4612
|
-
var
|
|
4698
|
+
var wu = e.enum([
|
|
4613
4699
|
"SMS_OTP",
|
|
4614
4700
|
"CHIP_OTP",
|
|
4615
4701
|
"PHOTO_OTP",
|
|
4616
4702
|
"PUSH_OTP"
|
|
4617
|
-
]),
|
|
4703
|
+
]), Tu = e.object({
|
|
4618
4704
|
id: e.string(),
|
|
4619
4705
|
description: e.string().optional(),
|
|
4620
4706
|
information: e.string().optional(),
|
|
4621
|
-
type:
|
|
4707
|
+
type: wu
|
|
4622
4708
|
});
|
|
4623
4709
|
e.object({
|
|
4624
4710
|
application_user_id: e.string(),
|
|
4625
4711
|
consent_id: e.string(),
|
|
4626
4712
|
consent_token: e.string().optional(),
|
|
4627
|
-
sca_methods: e.array(
|
|
4628
|
-
selected_sca_method:
|
|
4713
|
+
sca_methods: e.array(Tu).optional(),
|
|
4714
|
+
selected_sca_method: Tu.optional(),
|
|
4629
4715
|
state: _t
|
|
4630
4716
|
}), e.object({
|
|
4631
4717
|
attach_documents_as_pdf: e.boolean().optional().default(!0),
|
|
@@ -4636,7 +4722,7 @@ e.object({
|
|
|
4636
4722
|
entity_id: e.uuid(),
|
|
4637
4723
|
language: g,
|
|
4638
4724
|
partner_id: e.uuid().optional(),
|
|
4639
|
-
recipients_info:
|
|
4725
|
+
recipients_info: ou,
|
|
4640
4726
|
subject: e.string()
|
|
4641
4727
|
}), e.object({ data: e.array(Qn).optional() }), e.object({
|
|
4642
4728
|
attachments: e.record(e.string(), e.string()).optional(),
|
|
@@ -4652,12 +4738,12 @@ e.object({
|
|
|
4652
4738
|
body_text: e.string(),
|
|
4653
4739
|
subject_text: e.string()
|
|
4654
4740
|
});
|
|
4655
|
-
var
|
|
4741
|
+
var Eu = e.object({
|
|
4656
4742
|
id: e.uuid(),
|
|
4657
4743
|
recipient: e.string()
|
|
4658
4744
|
});
|
|
4659
|
-
e.object({ data: e.array(
|
|
4660
|
-
var
|
|
4745
|
+
e.object({ data: e.array(Eu) });
|
|
4746
|
+
var Du = e.enum(["codat", "railz"]);
|
|
4661
4747
|
e.object({
|
|
4662
4748
|
application_user_id: e.string(),
|
|
4663
4749
|
sca_code: e.string()
|
|
@@ -4665,13 +4751,13 @@ e.object({
|
|
|
4665
4751
|
application_user_id: e.string(),
|
|
4666
4752
|
sca_method_id: e.string()
|
|
4667
4753
|
});
|
|
4668
|
-
var
|
|
4754
|
+
var Ou = e.object({
|
|
4669
4755
|
email: e.email(),
|
|
4670
4756
|
full_name: e.string().min(1).max(255),
|
|
4671
4757
|
signature_image: e.string().min(32).max(524288)
|
|
4672
4758
|
});
|
|
4673
|
-
e.object({ signature:
|
|
4674
|
-
var
|
|
4759
|
+
e.object({ signature: Ou.optional() });
|
|
4760
|
+
var ku = e.object({
|
|
4675
4761
|
email: e.string().optional(),
|
|
4676
4762
|
email_label: e.string().optional(),
|
|
4677
4763
|
full_name: e.string().optional(),
|
|
@@ -4681,7 +4767,7 @@ var _u = e.object({
|
|
|
4681
4767
|
signature_label: e.string().optional().default("Signature"),
|
|
4682
4768
|
signed_at: e.string().optional(),
|
|
4683
4769
|
signed_at_label: e.string().optional().default("Date, location")
|
|
4684
|
-
}),
|
|
4770
|
+
}), Au = e.object({
|
|
4685
4771
|
account_data: ne.optional().default({
|
|
4686
4772
|
account_holder_name_header: "Account holder",
|
|
4687
4773
|
account_number_header: "Account number",
|
|
@@ -4737,9 +4823,9 @@ var _u = e.object({
|
|
|
4737
4823
|
of_preposition: "of",
|
|
4738
4824
|
page_text: "Page"
|
|
4739
4825
|
}),
|
|
4740
|
-
signature:
|
|
4826
|
+
signature: ku.optional(),
|
|
4741
4827
|
template_type: e.enum(["delivery_note"])
|
|
4742
|
-
}),
|
|
4828
|
+
}), ju = e.object({
|
|
4743
4829
|
account_data: ne.optional().default({
|
|
4744
4830
|
account_holder_name_header: "Account holder",
|
|
4745
4831
|
account_number_header: "Account number",
|
|
@@ -4786,8 +4872,8 @@ var _u = e.object({
|
|
|
4786
4872
|
of_preposition: "of",
|
|
4787
4873
|
page_text: "Page"
|
|
4788
4874
|
}),
|
|
4789
|
-
payment_terms:
|
|
4790
|
-
qr_code_data:
|
|
4875
|
+
payment_terms: sc.optional().default({ header: "Payment terms" }),
|
|
4876
|
+
qr_code_data: ll.optional().default({
|
|
4791
4877
|
bic_title: "BIC",
|
|
4792
4878
|
entity_name_title: "Beneficiary's name",
|
|
4793
4879
|
iban_title: "IBAN",
|
|
@@ -4810,8 +4896,8 @@ var _u = e.object({
|
|
|
4810
4896
|
quote_expires_header: "Quote expires",
|
|
4811
4897
|
receivable_number_header: "Number"
|
|
4812
4898
|
}),
|
|
4813
|
-
receivable_number:
|
|
4814
|
-
signature:
|
|
4899
|
+
receivable_number: Vl.optional().default({ header: "Document number" }),
|
|
4900
|
+
signature: ku.optional(),
|
|
4815
4901
|
template_type: e.enum(["receivable"])
|
|
4816
4902
|
});
|
|
4817
4903
|
e.object({
|
|
@@ -4821,10 +4907,10 @@ e.object({
|
|
|
4821
4907
|
object_id: e.string(),
|
|
4822
4908
|
object_type: y.optional(),
|
|
4823
4909
|
payload: e.discriminatedUnion("template_type", [
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4910
|
+
ju.extend({ template_type: e.literal("receivable") }),
|
|
4911
|
+
Au.extend({ template_type: e.literal("delivery_note") }),
|
|
4912
|
+
ol.extend({ template_type: e.literal("purchase_order") }),
|
|
4913
|
+
gs.extend({ template_type: e.literal("payable") })
|
|
4828
4914
|
])
|
|
4829
4915
|
});
|
|
4830
4916
|
var W = e.object({
|
|
@@ -4838,7 +4924,7 @@ var W = e.object({
|
|
|
4838
4924
|
"LTE"
|
|
4839
4925
|
]),
|
|
4840
4926
|
value: e.int()
|
|
4841
|
-
}),
|
|
4927
|
+
}), Mu = e.discriminatedUnion("operator", [
|
|
4842
4928
|
W.extend({ operator: e.literal("EQ") }),
|
|
4843
4929
|
W.extend({ operator: e.literal("NEQ") }),
|
|
4844
4930
|
W.extend({ operator: e.literal("GT") }),
|
|
@@ -4846,7 +4932,7 @@ var W = e.object({
|
|
|
4846
4932
|
W.extend({ operator: e.literal("LT") }),
|
|
4847
4933
|
W.extend({ operator: e.literal("LTE") }),
|
|
4848
4934
|
$i.extend({ operator: e.literal("RANGE") })
|
|
4849
|
-
]),
|
|
4935
|
+
]), Nu = e.object({
|
|
4850
4936
|
name: e.enum([
|
|
4851
4937
|
"entity_country",
|
|
4852
4938
|
"counterpart_country",
|
|
@@ -4855,39 +4941,39 @@ var W = e.object({
|
|
|
4855
4941
|
]),
|
|
4856
4942
|
operator: e.enum(["EQ", "NEQ"]),
|
|
4857
4943
|
value: n
|
|
4858
|
-
}),
|
|
4859
|
-
|
|
4860
|
-
|
|
4944
|
+
}), Pu = e.discriminatedUnion("operator", [
|
|
4945
|
+
Nu.extend({ operator: e.literal("EQ") }),
|
|
4946
|
+
Nu.extend({ operator: e.literal("NEQ") }),
|
|
4861
4947
|
ea.extend({ operator: e.literal("IN") }),
|
|
4862
4948
|
ea.extend({ operator: e.literal("NOT_IN") })
|
|
4863
|
-
]),
|
|
4949
|
+
]), Fu = e.object({
|
|
4864
4950
|
name: e.enum(["item_type"]),
|
|
4865
4951
|
operator: e.enum(["EQ", "NEQ"]),
|
|
4866
4952
|
value: L
|
|
4867
|
-
}),
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
]),
|
|
4873
|
-
object:
|
|
4953
|
+
}), Iu = e.discriminatedUnion("operator", [
|
|
4954
|
+
Fu.extend({ operator: e.literal("EQ") }),
|
|
4955
|
+
Fu.extend({ operator: e.literal("NEQ") }),
|
|
4956
|
+
Uc.extend({ operator: e.literal("IN") }),
|
|
4957
|
+
Uc.extend({ operator: e.literal("ALL") })
|
|
4958
|
+
]), Lu = e.object({
|
|
4959
|
+
object: Gs,
|
|
4874
4960
|
payment_reference: e.string().optional(),
|
|
4875
|
-
recipient:
|
|
4961
|
+
recipient: zs
|
|
4876
4962
|
});
|
|
4877
4963
|
e.object({
|
|
4878
4964
|
payer_bank_account_id: e.uuid(),
|
|
4879
|
-
payment_intents: e.array(
|
|
4965
|
+
payment_intents: e.array(Lu).min(1),
|
|
4880
4966
|
payment_method: e.enum(["us_ach"])
|
|
4881
4967
|
});
|
|
4882
|
-
var
|
|
4968
|
+
var Ru = e.object({
|
|
4883
4969
|
id: e.uuid(),
|
|
4884
4970
|
created_at: e.iso.datetime(),
|
|
4885
4971
|
amount: e.int(),
|
|
4886
4972
|
currency: c,
|
|
4887
4973
|
error: e.record(e.string(), e.unknown()).optional(),
|
|
4888
|
-
object:
|
|
4974
|
+
object: Gs,
|
|
4889
4975
|
payment_reference: e.string(),
|
|
4890
|
-
recipient:
|
|
4976
|
+
recipient: zs,
|
|
4891
4977
|
status: e.string()
|
|
4892
4978
|
});
|
|
4893
4979
|
e.object({
|
|
@@ -4895,18 +4981,18 @@ e.object({
|
|
|
4895
4981
|
created_at: e.iso.datetime(),
|
|
4896
4982
|
error: e.record(e.string(), e.unknown()).optional(),
|
|
4897
4983
|
payer_bank_account_id: e.uuid(),
|
|
4898
|
-
payment_intents: e.array(
|
|
4984
|
+
payment_intents: e.array(Ru).min(1),
|
|
4899
4985
|
payment_method: e.enum(["us_ach"]),
|
|
4900
|
-
status:
|
|
4986
|
+
status: cc,
|
|
4901
4987
|
total_amount: e.int().optional()
|
|
4902
4988
|
});
|
|
4903
|
-
var
|
|
4989
|
+
var zu = e.enum(["ASC", "DESC"]), Bu = e.object({
|
|
4904
4990
|
department_id: h.optional(),
|
|
4905
4991
|
description: h.optional(),
|
|
4906
4992
|
ledger_account_id: h.optional(),
|
|
4907
4993
|
location_id: h.optional(),
|
|
4908
4994
|
receipt_id: h.optional()
|
|
4909
|
-
}),
|
|
4995
|
+
}), Vu = e.enum(["ocr", "user_specified"]), Hu = e.enum(["ocr", "user_specified"]), Uu = e.object({
|
|
4910
4996
|
id: e.uuid(),
|
|
4911
4997
|
created_at: e.iso.datetime(),
|
|
4912
4998
|
updated_at: e.iso.datetime(),
|
|
@@ -4919,49 +5005,49 @@ var Du = e.enum(["ASC", "DESC"]), Ou = e.object({
|
|
|
4919
5005
|
file_name: e.string().optional(),
|
|
4920
5006
|
file_url: e.string().optional(),
|
|
4921
5007
|
issued_at: e.iso.datetime().optional(),
|
|
4922
|
-
link_source:
|
|
5008
|
+
link_source: _l.optional(),
|
|
4923
5009
|
merchant_location: e.string().max(255).optional(),
|
|
4924
5010
|
merchant_name: e.string().max(128).optional(),
|
|
4925
5011
|
ocr_request_id: e.uuid().optional(),
|
|
4926
5012
|
ocr_status: e.string().optional(),
|
|
4927
|
-
origin:
|
|
5013
|
+
origin: yl,
|
|
4928
5014
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
4929
5015
|
sender: e.email().optional(),
|
|
4930
|
-
source_of_data:
|
|
5016
|
+
source_of_data: Hu.optional(),
|
|
4931
5017
|
total_amount: e.int().optional(),
|
|
4932
5018
|
transaction_id: e.uuid().optional()
|
|
4933
5019
|
});
|
|
4934
5020
|
e.object({
|
|
4935
|
-
data: e.array(
|
|
5021
|
+
data: e.array(Uu),
|
|
4936
5022
|
next_pagination_token: e.string().optional(),
|
|
4937
5023
|
prev_pagination_token: e.string().optional()
|
|
4938
5024
|
});
|
|
4939
|
-
var
|
|
4940
|
-
new_status:
|
|
4941
|
-
old_status:
|
|
4942
|
-
}),
|
|
5025
|
+
var Wu = e.object({
|
|
5026
|
+
new_status: $l,
|
|
5027
|
+
old_status: $l
|
|
5028
|
+
}), Gu = e.object({
|
|
4943
5029
|
id: e.uuid(),
|
|
4944
5030
|
current_pdf_url: e.url().min(1).max(65536).optional(),
|
|
4945
5031
|
entity_user_id: e.uuid().optional(),
|
|
4946
5032
|
event_data: e.union([
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
5033
|
+
Wu,
|
|
5034
|
+
Kl,
|
|
5035
|
+
xl,
|
|
5036
|
+
Gl,
|
|
5037
|
+
Qs,
|
|
5038
|
+
Rl,
|
|
5039
|
+
hu
|
|
4954
5040
|
]),
|
|
4955
|
-
event_type:
|
|
5041
|
+
event_type: Nl,
|
|
4956
5042
|
receivable_id: e.uuid(),
|
|
4957
5043
|
timestamp: e.iso.datetime()
|
|
4958
5044
|
});
|
|
4959
5045
|
e.object({
|
|
4960
|
-
data: e.array(
|
|
5046
|
+
data: e.array(Gu),
|
|
4961
5047
|
next_pagination_token: e.string().optional(),
|
|
4962
5048
|
prev_pagination_token: e.string().optional()
|
|
4963
5049
|
});
|
|
4964
|
-
var G = e.enum(["active", "deleted"]),
|
|
5050
|
+
var G = e.enum(["active", "deleted"]), Ku = e.object({
|
|
4965
5051
|
id: e.uuid(),
|
|
4966
5052
|
created_at: e.iso.datetime().nullable(),
|
|
4967
5053
|
updated_at: e.iso.datetime().nullable(),
|
|
@@ -4974,11 +5060,11 @@ var G = e.enum(["active", "deleted"]), Pu = e.object({
|
|
|
4974
5060
|
text: e.string()
|
|
4975
5061
|
});
|
|
4976
5062
|
e.object({
|
|
4977
|
-
data: e.array(
|
|
5063
|
+
data: e.array(Ku),
|
|
4978
5064
|
next_pagination_token: e.string().nullable(),
|
|
4979
5065
|
prev_pagination_token: e.string().nullable()
|
|
4980
5066
|
});
|
|
4981
|
-
var
|
|
5067
|
+
var qu = e.object({
|
|
4982
5068
|
id: e.uuid(),
|
|
4983
5069
|
created_at: e.iso.datetime(),
|
|
4984
5070
|
updated_at: e.iso.datetime(),
|
|
@@ -4991,35 +5077,35 @@ var Fu = e.object({
|
|
|
4991
5077
|
userpic_file_id: e.uuid().nullish()
|
|
4992
5078
|
});
|
|
4993
5079
|
e.object({
|
|
4994
|
-
data: e.array(
|
|
5080
|
+
data: e.array(qu),
|
|
4995
5081
|
next_pagination_token: e.string().nullish(),
|
|
4996
5082
|
prev_pagination_token: e.string().nullish()
|
|
4997
5083
|
});
|
|
4998
|
-
var
|
|
5084
|
+
var Ju = e.object({
|
|
4999
5085
|
id: e.uuid(),
|
|
5000
5086
|
created_at: e.iso.datetime(),
|
|
5001
5087
|
updated_at: e.iso.datetime(),
|
|
5002
|
-
address:
|
|
5088
|
+
address: Qo,
|
|
5003
5089
|
email: e.string().optional(),
|
|
5004
|
-
individual:
|
|
5005
|
-
logo:
|
|
5090
|
+
individual: rs,
|
|
5091
|
+
logo: Rc.optional(),
|
|
5006
5092
|
phone: e.string().max(100).optional(),
|
|
5007
5093
|
status: G,
|
|
5008
5094
|
tax_id: e.string().max(30).optional(),
|
|
5009
5095
|
website: e.url().min(1).max(2083).optional()
|
|
5010
|
-
}),
|
|
5096
|
+
}), Yu = e.object({
|
|
5011
5097
|
id: e.uuid(),
|
|
5012
5098
|
created_at: e.iso.datetime(),
|
|
5013
5099
|
updated_at: e.iso.datetime(),
|
|
5014
|
-
address:
|
|
5100
|
+
address: Qo,
|
|
5015
5101
|
email: e.string().optional(),
|
|
5016
|
-
logo:
|
|
5017
|
-
organization:
|
|
5102
|
+
logo: Rc.optional(),
|
|
5103
|
+
organization: ds,
|
|
5018
5104
|
phone: e.string().max(100).optional(),
|
|
5019
5105
|
status: G,
|
|
5020
5106
|
tax_id: e.string().max(30).optional(),
|
|
5021
5107
|
website: e.url().min(1).max(2083).optional()
|
|
5022
|
-
}),
|
|
5108
|
+
}), Xu = e.object({
|
|
5023
5109
|
id: e.uuid(),
|
|
5024
5110
|
created_at: e.iso.datetime(),
|
|
5025
5111
|
updated_at: e.iso.datetime(),
|
|
@@ -5031,31 +5117,31 @@ var Iu = e.object({
|
|
|
5031
5117
|
term_2_reminder: U.optional(),
|
|
5032
5118
|
term_final_reminder: U.optional()
|
|
5033
5119
|
});
|
|
5034
|
-
e.object({ data: e.array(
|
|
5035
|
-
var
|
|
5120
|
+
e.object({ data: e.array(Xu) });
|
|
5121
|
+
var Zu = e.object({
|
|
5036
5122
|
id: e.uuid(),
|
|
5037
5123
|
created_at: e.iso.datetime(),
|
|
5038
5124
|
updated_at: e.iso.datetime(),
|
|
5039
5125
|
name: e.string().min(1),
|
|
5040
|
-
permissions:
|
|
5126
|
+
permissions: Cu,
|
|
5041
5127
|
status: G
|
|
5042
5128
|
});
|
|
5043
5129
|
e.object({
|
|
5044
|
-
data: e.array(
|
|
5130
|
+
data: e.array(Zu),
|
|
5045
5131
|
next_pagination_token: e.string().nullish(),
|
|
5046
5132
|
prev_pagination_token: e.string().nullish()
|
|
5047
5133
|
});
|
|
5048
|
-
var
|
|
5134
|
+
var Qu = e.object({
|
|
5049
5135
|
publishable: e.string().optional(),
|
|
5050
5136
|
secret: e.string()
|
|
5051
5137
|
});
|
|
5052
5138
|
e.object({ success: e.boolean().optional().default(!0) });
|
|
5053
|
-
var
|
|
5139
|
+
var $u = e.object({
|
|
5054
5140
|
id: e.uuid(),
|
|
5055
5141
|
address_id: e.uuid().optional(),
|
|
5056
5142
|
bank_account_id: e.uuid().optional(),
|
|
5057
5143
|
vat_id_id: e.uuid().optional()
|
|
5058
|
-
}),
|
|
5144
|
+
}), ed = e.object({
|
|
5059
5145
|
date: e.iso.date(),
|
|
5060
5146
|
discount: e.int().gte(0).lte(1e4).optional()
|
|
5061
5147
|
});
|
|
@@ -5074,12 +5160,12 @@ e.object({
|
|
|
5074
5160
|
enforce_approval_policy_id: e.uuid().optional(),
|
|
5075
5161
|
issued_at: e.iso.date().optional(),
|
|
5076
5162
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
5077
|
-
payment_terms:
|
|
5163
|
+
payment_terms: hs.optional(),
|
|
5078
5164
|
project_id: e.uuid().optional(),
|
|
5079
5165
|
purchase_order_id: e.uuid().optional(),
|
|
5080
5166
|
sender: e.email().optional(),
|
|
5081
5167
|
subtotal: e.int().optional(),
|
|
5082
|
-
suggested_payment_term:
|
|
5168
|
+
suggested_payment_term: ed.optional(),
|
|
5083
5169
|
tag_ids: e.array(e.uuid()).optional(),
|
|
5084
5170
|
tax: e.int().optional(),
|
|
5085
5171
|
tax_amount: e.int().optional(),
|
|
@@ -5099,62 +5185,62 @@ e.object({
|
|
|
5099
5185
|
file_name: e.string().max(512).optional(),
|
|
5100
5186
|
issued_at: e.iso.date().optional(),
|
|
5101
5187
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
5102
|
-
payment_terms:
|
|
5188
|
+
payment_terms: hs.optional(),
|
|
5103
5189
|
project_id: e.uuid().optional(),
|
|
5104
5190
|
purchase_order_id: e.uuid().optional(),
|
|
5105
5191
|
sender: e.email().optional(),
|
|
5106
5192
|
subtotal: e.int().optional(),
|
|
5107
|
-
suggested_payment_term:
|
|
5193
|
+
suggested_payment_term: ed.optional(),
|
|
5108
5194
|
tag_ids: e.array(e.uuid()).optional(),
|
|
5109
5195
|
tax: e.int().optional(),
|
|
5110
5196
|
tax_amount: e.int().optional(),
|
|
5111
5197
|
total_amount: e.int().optional()
|
|
5112
|
-
}), e.object({ suggested_counterpart:
|
|
5113
|
-
var
|
|
5198
|
+
}), e.object({ suggested_counterpart: $u });
|
|
5199
|
+
var td = e.enum(["default_account_code", "default_tax_rate_code"]);
|
|
5114
5200
|
e.object({
|
|
5115
|
-
field_name:
|
|
5201
|
+
field_name: td,
|
|
5116
5202
|
field_value: e.string(),
|
|
5117
5203
|
object_id: e.uuid(),
|
|
5118
5204
|
object_type: e.literal("counterpart")
|
|
5119
5205
|
});
|
|
5120
|
-
var
|
|
5206
|
+
var nd = e.object({
|
|
5121
5207
|
id: e.uuid(),
|
|
5122
5208
|
created_at: e.iso.datetime(),
|
|
5123
5209
|
updated_at: e.iso.datetime(),
|
|
5124
5210
|
created_by: e.uuid().nullish(),
|
|
5125
|
-
field_name:
|
|
5211
|
+
field_name: td,
|
|
5126
5212
|
field_value: e.string(),
|
|
5127
5213
|
object_id: e.uuid(),
|
|
5128
5214
|
object_type: e.literal("counterpart")
|
|
5129
5215
|
});
|
|
5130
5216
|
e.object({
|
|
5131
|
-
data: e.array(
|
|
5217
|
+
data: e.array(nd),
|
|
5132
5218
|
next_pagination_token: e.string().nullish(),
|
|
5133
5219
|
prev_pagination_token: e.string().nullish()
|
|
5134
5220
|
}), e.object({
|
|
5135
|
-
field_name:
|
|
5221
|
+
field_name: td.nullish(),
|
|
5136
5222
|
field_value: e.string().nullish(),
|
|
5137
5223
|
object_id: e.uuid().nullish(),
|
|
5138
5224
|
object_type: e.literal("counterpart").nullish()
|
|
5139
5225
|
});
|
|
5140
|
-
var
|
|
5226
|
+
var rd = e.object({
|
|
5141
5227
|
available_types: e.record(e.string(), e.array(Or)),
|
|
5142
5228
|
object_type: e.enum(["payable", "receivable"])
|
|
5143
|
-
}),
|
|
5144
|
-
authorization_methods: e.array(
|
|
5229
|
+
}), id = e.enum(["redirect", "embedded"]), ad = e.object({
|
|
5230
|
+
authorization_methods: e.array(id),
|
|
5145
5231
|
bank_id: e.string(),
|
|
5146
5232
|
country: n,
|
|
5147
5233
|
media: e.array(Wi),
|
|
5148
5234
|
name: e.string(),
|
|
5149
5235
|
payer_required: e.boolean(),
|
|
5150
|
-
psu_identification:
|
|
5236
|
+
psu_identification: Kc.optional()
|
|
5151
5237
|
});
|
|
5152
|
-
e.object({ data: e.array(
|
|
5153
|
-
var
|
|
5238
|
+
e.object({ data: e.array(ad) });
|
|
5239
|
+
var od = e.enum(["created_at", "updated_at"]), sd = e.enum([
|
|
5154
5240
|
"pending",
|
|
5155
5241
|
"error",
|
|
5156
5242
|
"done"
|
|
5157
|
-
]),
|
|
5243
|
+
]), cd = e.object({
|
|
5158
5244
|
id: e.uuid(),
|
|
5159
5245
|
created_at: e.iso.datetime(),
|
|
5160
5246
|
updated_at: e.iso.datetime(),
|
|
@@ -5163,20 +5249,20 @@ var Ju = e.enum(["created_at", "updated_at"]), Yu = e.enum([
|
|
|
5163
5249
|
object_id: e.uuid().optional(),
|
|
5164
5250
|
object_type: va,
|
|
5165
5251
|
object_updated_at: e.iso.datetime().optional(),
|
|
5166
|
-
platform:
|
|
5252
|
+
platform: Ec.optional(),
|
|
5167
5253
|
platform_object_id: e.string().optional(),
|
|
5168
5254
|
platform_updated_at: e.iso.datetime().optional(),
|
|
5169
|
-
provider:
|
|
5255
|
+
provider: Du.optional(),
|
|
5170
5256
|
provider_object_id: e.string().optional(),
|
|
5171
5257
|
provider_updated_at: e.iso.datetime().optional(),
|
|
5172
|
-
sync_status:
|
|
5258
|
+
sync_status: sd
|
|
5173
5259
|
});
|
|
5174
5260
|
e.object({
|
|
5175
|
-
data: e.array(
|
|
5261
|
+
data: e.array(cd),
|
|
5176
5262
|
next_pagination_token: e.string().optional(),
|
|
5177
5263
|
prev_pagination_token: e.string().optional()
|
|
5178
5264
|
});
|
|
5179
|
-
var
|
|
5265
|
+
var ld = e.enum([
|
|
5180
5266
|
"bank:admin",
|
|
5181
5267
|
"embedded:admin",
|
|
5182
5268
|
"embedded:bookkeeper",
|
|
@@ -5184,14 +5270,14 @@ var Zu = e.enum([
|
|
|
5184
5270
|
"embedded:finance_admin",
|
|
5185
5271
|
"platform:admin",
|
|
5186
5272
|
"vsp:admin"
|
|
5187
|
-
]),
|
|
5273
|
+
]), ud = e.object({
|
|
5188
5274
|
id: e.uuid(),
|
|
5189
5275
|
appliesToOrgType: e.string().nullish(),
|
|
5190
5276
|
createdDateTime: e.iso.datetime(),
|
|
5191
5277
|
description: e.string().nullish(),
|
|
5192
5278
|
icon: e.string().nullish(),
|
|
5193
5279
|
isSystemRole: e.boolean().optional(),
|
|
5194
|
-
key: e.union([
|
|
5280
|
+
key: e.union([ld, e.string()]),
|
|
5195
5281
|
name: e.string(),
|
|
5196
5282
|
organizationId: e.uuid().nullish(),
|
|
5197
5283
|
sortOrdinal: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]),
|
|
@@ -5199,7 +5285,7 @@ var Zu = e.enum([
|
|
|
5199
5285
|
updatedDateTime: e.iso.datetime()
|
|
5200
5286
|
});
|
|
5201
5287
|
e.object({
|
|
5202
|
-
data: e.array(
|
|
5288
|
+
data: e.array(ud),
|
|
5203
5289
|
nextPaginationToken: e.string().nullish(),
|
|
5204
5290
|
prevPaginationToken: e.string().nullish()
|
|
5205
5291
|
});
|
|
@@ -5219,14 +5305,14 @@ var K = e.enum([
|
|
|
5219
5305
|
created_by_entity_user_id: e.uuid().optional(),
|
|
5220
5306
|
description: e.string().min(1).max(255).optional(),
|
|
5221
5307
|
name: e.string()
|
|
5222
|
-
}),
|
|
5308
|
+
}), dd = e.object({
|
|
5223
5309
|
email: e.email().optional(),
|
|
5224
5310
|
first_name: e.string().min(1).max(255),
|
|
5225
5311
|
last_name: e.string().min(1).max(255),
|
|
5226
5312
|
phone: e.string().max(100).optional(),
|
|
5227
5313
|
tags: e.array(q).optional(),
|
|
5228
5314
|
title: e.string().max(100).optional()
|
|
5229
|
-
}),
|
|
5315
|
+
}), fd = e.object({
|
|
5230
5316
|
id: e.uuid(),
|
|
5231
5317
|
created_at: e.iso.datetime(),
|
|
5232
5318
|
updated_at: e.iso.datetime(),
|
|
@@ -5235,19 +5321,19 @@ var K = e.enum([
|
|
|
5235
5321
|
default_billing_address_id: e.uuid().optional(),
|
|
5236
5322
|
default_shipping_address_id: e.uuid().optional(),
|
|
5237
5323
|
external_reference: e.string().min(1).max(255).optional(),
|
|
5238
|
-
individual:
|
|
5324
|
+
individual: dd,
|
|
5239
5325
|
is_customer: e.boolean(),
|
|
5240
5326
|
is_vendor: e.boolean(),
|
|
5241
5327
|
language: g.optional(),
|
|
5242
5328
|
reminders_enabled: e.boolean().optional(),
|
|
5243
5329
|
tax_id: e.string().max(30).optional(),
|
|
5244
5330
|
type: o
|
|
5245
|
-
}),
|
|
5331
|
+
}), pd = e.object({
|
|
5246
5332
|
email: e.email().optional(),
|
|
5247
5333
|
legal_name: e.string().max(255),
|
|
5248
5334
|
phone: e.string().max(100).optional(),
|
|
5249
5335
|
tags: e.array(q).optional()
|
|
5250
|
-
}),
|
|
5336
|
+
}), md = e.object({
|
|
5251
5337
|
id: e.uuid(),
|
|
5252
5338
|
created_at: e.iso.datetime(),
|
|
5253
5339
|
updated_at: e.iso.datetime(),
|
|
@@ -5259,17 +5345,17 @@ var K = e.enum([
|
|
|
5259
5345
|
is_customer: e.boolean(),
|
|
5260
5346
|
is_vendor: e.boolean(),
|
|
5261
5347
|
language: g.optional(),
|
|
5262
|
-
organization:
|
|
5348
|
+
organization: pd,
|
|
5263
5349
|
reminders_enabled: e.boolean().optional(),
|
|
5264
5350
|
tax_id: e.string().max(30).optional(),
|
|
5265
5351
|
type: o
|
|
5266
|
-
}),
|
|
5352
|
+
}), hd = e.union([fd, md]);
|
|
5267
5353
|
e.object({
|
|
5268
|
-
data: e.array(
|
|
5354
|
+
data: e.array(hd),
|
|
5269
5355
|
next_pagination_token: e.string().optional(),
|
|
5270
5356
|
prev_pagination_token: e.string().optional()
|
|
5271
5357
|
});
|
|
5272
|
-
var
|
|
5358
|
+
var gd = e.object({
|
|
5273
5359
|
email: e.email().optional(),
|
|
5274
5360
|
first_name: e.string().min(1).max(255),
|
|
5275
5361
|
is_customer: e.boolean().optional(),
|
|
@@ -5278,26 +5364,26 @@ var id = e.object({
|
|
|
5278
5364
|
phone: e.string().max(100).optional(),
|
|
5279
5365
|
tags: e.array(q).optional(),
|
|
5280
5366
|
title: e.string().max(100).optional()
|
|
5281
|
-
}),
|
|
5367
|
+
}), _d = e.object({
|
|
5282
5368
|
email: e.email().optional(),
|
|
5283
5369
|
is_customer: e.boolean().optional(),
|
|
5284
5370
|
is_vendor: e.boolean().optional(),
|
|
5285
5371
|
legal_name: e.string().max(255),
|
|
5286
5372
|
phone: e.string().max(100).optional(),
|
|
5287
5373
|
tags: e.array(q).optional()
|
|
5288
|
-
}),
|
|
5374
|
+
}), vd = e.object({
|
|
5289
5375
|
id: e.uuid(),
|
|
5290
|
-
individual:
|
|
5376
|
+
individual: gd.optional(),
|
|
5291
5377
|
language: g.optional(),
|
|
5292
|
-
organization:
|
|
5293
|
-
}),
|
|
5378
|
+
organization: _d.optional()
|
|
5379
|
+
}), yd = e.object({
|
|
5294
5380
|
email: e.email().optional(),
|
|
5295
5381
|
first_name: e.string().min(1).max(255),
|
|
5296
5382
|
last_name: e.string().min(1).max(255),
|
|
5297
5383
|
phone: e.string().max(100).optional(),
|
|
5298
5384
|
tags: e.array(q).optional(),
|
|
5299
5385
|
title: e.string().max(100).optional()
|
|
5300
|
-
}),
|
|
5386
|
+
}), bd = e.object({
|
|
5301
5387
|
id: e.uuid(),
|
|
5302
5388
|
created_at: e.iso.datetime(),
|
|
5303
5389
|
updated_at: e.iso.datetime(),
|
|
@@ -5306,19 +5392,19 @@ var id = e.object({
|
|
|
5306
5392
|
default_billing_address_id: e.uuid().optional(),
|
|
5307
5393
|
default_shipping_address_id: e.uuid().optional(),
|
|
5308
5394
|
external_reference: e.string().min(1).max(255).optional(),
|
|
5309
|
-
individual:
|
|
5395
|
+
individual: yd,
|
|
5310
5396
|
is_customer: e.boolean(),
|
|
5311
5397
|
is_vendor: e.boolean(),
|
|
5312
5398
|
language: g.optional(),
|
|
5313
5399
|
reminders_enabled: e.boolean().optional(),
|
|
5314
5400
|
tax_id: e.string().max(30).optional(),
|
|
5315
5401
|
type: o
|
|
5316
|
-
}),
|
|
5402
|
+
}), xd = e.object({
|
|
5317
5403
|
email: e.email().optional(),
|
|
5318
5404
|
legal_name: e.string().max(255),
|
|
5319
5405
|
phone: e.string().max(100).optional(),
|
|
5320
5406
|
tags: e.array(q).optional()
|
|
5321
|
-
}),
|
|
5407
|
+
}), Sd = e.object({
|
|
5322
5408
|
id: e.uuid(),
|
|
5323
5409
|
created_at: e.iso.datetime(),
|
|
5324
5410
|
updated_at: e.iso.datetime(),
|
|
@@ -5330,35 +5416,35 @@ var id = e.object({
|
|
|
5330
5416
|
is_customer: e.boolean(),
|
|
5331
5417
|
is_vendor: e.boolean(),
|
|
5332
5418
|
language: g.optional(),
|
|
5333
|
-
organization:
|
|
5419
|
+
organization: xd,
|
|
5334
5420
|
reminders_enabled: e.boolean().optional(),
|
|
5335
5421
|
tax_id: e.string().max(30).optional(),
|
|
5336
5422
|
type: o
|
|
5337
|
-
}),
|
|
5423
|
+
}), Cd = e.union([bd, Sd]), wd = e.object({
|
|
5338
5424
|
id: e.uuid(),
|
|
5339
5425
|
created_at: e.iso.datetime(),
|
|
5340
5426
|
updated_at: e.iso.datetime(),
|
|
5341
|
-
counterpart:
|
|
5342
|
-
counterpart_address:
|
|
5427
|
+
counterpart: Cd,
|
|
5428
|
+
counterpart_address: Qc.optional(),
|
|
5343
5429
|
counterpart_address_id: e.uuid().optional(),
|
|
5344
5430
|
counterpart_id: e.uuid(),
|
|
5345
5431
|
created_by_user_id: e.uuid().optional(),
|
|
5346
5432
|
currency: c,
|
|
5347
5433
|
document_id: e.string(),
|
|
5348
|
-
entity: e.union([
|
|
5434
|
+
entity: e.union([Ju, Yu]),
|
|
5349
5435
|
entity_id: e.uuid(),
|
|
5350
|
-
entity_vat_id:
|
|
5436
|
+
entity_vat_id: cl.optional(),
|
|
5351
5437
|
file_id: e.uuid().optional(),
|
|
5352
5438
|
file_url: e.string().optional(),
|
|
5353
5439
|
issued_at: e.iso.date().optional(),
|
|
5354
|
-
items: e.array(
|
|
5440
|
+
items: e.array(nl),
|
|
5355
5441
|
message: e.string(),
|
|
5356
5442
|
project_id: e.uuid().optional(),
|
|
5357
5443
|
status: e.string(),
|
|
5358
5444
|
valid_for_days: e.int().gte(1)
|
|
5359
5445
|
});
|
|
5360
5446
|
e.object({
|
|
5361
|
-
data: e.array(
|
|
5447
|
+
data: e.array(wd),
|
|
5362
5448
|
next_pagination_token: e.string().optional(),
|
|
5363
5449
|
prev_pagination_token: e.string().optional()
|
|
5364
5450
|
}), e.object({
|
|
@@ -5366,7 +5452,7 @@ e.object({
|
|
|
5366
5452
|
description: e.string().min(1).max(255).optional(),
|
|
5367
5453
|
name: e.string().min(1).max(255)
|
|
5368
5454
|
});
|
|
5369
|
-
var
|
|
5455
|
+
var Td = e.enum(["created_at", "updated_at"]), J = e.object({
|
|
5370
5456
|
id: e.uuid(),
|
|
5371
5457
|
created_at: e.iso.datetime(),
|
|
5372
5458
|
updated_at: e.iso.datetime(),
|
|
@@ -5374,7 +5460,7 @@ var pd = e.enum(["created_at", "updated_at"]), J = e.object({
|
|
|
5374
5460
|
created_by_entity_user_id: e.uuid().optional(),
|
|
5375
5461
|
description: e.string().min(1).max(255).optional(),
|
|
5376
5462
|
name: e.string()
|
|
5377
|
-
}),
|
|
5463
|
+
}), Ed = e.object({
|
|
5378
5464
|
id: e.uuid(),
|
|
5379
5465
|
created_at: e.iso.datetime(),
|
|
5380
5466
|
updated_at: e.iso.datetime(),
|
|
@@ -5411,11 +5497,11 @@ var pd = e.enum(["created_at", "updated_at"]), J = e.object({
|
|
|
5411
5497
|
total_amount: e.int().optional()
|
|
5412
5498
|
});
|
|
5413
5499
|
e.object({
|
|
5414
|
-
data: e.array(
|
|
5500
|
+
data: e.array(Ed),
|
|
5415
5501
|
next_pagination_token: e.string().optional(),
|
|
5416
5502
|
prev_pagination_token: e.string().optional()
|
|
5417
5503
|
});
|
|
5418
|
-
var
|
|
5504
|
+
var Dd = e.object({
|
|
5419
5505
|
id: e.uuid(),
|
|
5420
5506
|
created_at: e.iso.datetime(),
|
|
5421
5507
|
updated_at: e.iso.datetime(),
|
|
@@ -5429,7 +5515,7 @@ var hd = e.object({
|
|
|
5429
5515
|
counterpart_id: e.uuid().optional(),
|
|
5430
5516
|
counterpart_raw_data: Nt.optional(),
|
|
5431
5517
|
counterpart_vat_id_id: e.uuid().optional(),
|
|
5432
|
-
credit_notes: e.array(
|
|
5518
|
+
credit_notes: e.array(qo),
|
|
5433
5519
|
currency: c.optional(),
|
|
5434
5520
|
currency_exchange: gn.optional(),
|
|
5435
5521
|
description: e.string().optional(),
|
|
@@ -5438,7 +5524,7 @@ var hd = e.object({
|
|
|
5438
5524
|
due_date: e.iso.date().optional(),
|
|
5439
5525
|
enforce_approval_policy_id: e.uuid().optional(),
|
|
5440
5526
|
entity_id: e.uuid(),
|
|
5441
|
-
file:
|
|
5527
|
+
file: Ic.optional(),
|
|
5442
5528
|
file_id: e.uuid().optional(),
|
|
5443
5529
|
issued_at: e.iso.date().optional(),
|
|
5444
5530
|
marked_as_paid_by_entity_user_id: e.uuid().optional(),
|
|
@@ -5449,14 +5535,14 @@ var hd = e.object({
|
|
|
5449
5535
|
paid_at: e.iso.datetime().optional(),
|
|
5450
5536
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
5451
5537
|
payable_origin: j,
|
|
5452
|
-
payment_terms:
|
|
5538
|
+
payment_terms: hs.optional(),
|
|
5453
5539
|
project_id: e.uuid().optional(),
|
|
5454
5540
|
purchase_order_id: e.uuid().optional(),
|
|
5455
5541
|
sender: e.email().optional(),
|
|
5456
|
-
source_of_payable_data:
|
|
5542
|
+
source_of_payable_data: Vu,
|
|
5457
5543
|
status: M,
|
|
5458
5544
|
subtotal: e.int().optional(),
|
|
5459
|
-
suggested_payment_term:
|
|
5545
|
+
suggested_payment_term: ed.optional(),
|
|
5460
5546
|
tags: e.array(J).optional(),
|
|
5461
5547
|
tax: e.int().optional(),
|
|
5462
5548
|
tax_amount: e.int().optional(),
|
|
@@ -5465,11 +5551,11 @@ var hd = e.object({
|
|
|
5465
5551
|
was_created_by_user_id: e.uuid().optional()
|
|
5466
5552
|
});
|
|
5467
5553
|
e.object({
|
|
5468
|
-
data: e.array(
|
|
5554
|
+
data: e.array(Dd),
|
|
5469
5555
|
next_pagination_token: e.string().optional(),
|
|
5470
5556
|
prev_pagination_token: e.string().optional()
|
|
5471
5557
|
});
|
|
5472
|
-
var
|
|
5558
|
+
var Od = e.object({
|
|
5473
5559
|
id: e.uuid(),
|
|
5474
5560
|
created_at: e.iso.datetime(),
|
|
5475
5561
|
updated_at: e.iso.datetime(),
|
|
@@ -5486,7 +5572,7 @@ var gd = e.object({
|
|
|
5486
5572
|
tags: e.array(J).optional()
|
|
5487
5573
|
});
|
|
5488
5574
|
e.object({
|
|
5489
|
-
data: e.array(
|
|
5575
|
+
data: e.array(Od),
|
|
5490
5576
|
next_pagination_token: e.string().optional(),
|
|
5491
5577
|
prev_pagination_token: e.string().optional()
|
|
5492
5578
|
}), e.object({
|
|
@@ -5498,16 +5584,16 @@ e.object({
|
|
|
5498
5584
|
next_pagination_token: e.string().optional(),
|
|
5499
5585
|
prev_pagination_token: e.string().optional()
|
|
5500
5586
|
});
|
|
5501
|
-
var
|
|
5587
|
+
var kd = e.object({
|
|
5502
5588
|
is_compound: e.boolean().optional(),
|
|
5503
5589
|
name: e.string().optional(),
|
|
5504
5590
|
rate: e.int().optional()
|
|
5505
|
-
}),
|
|
5591
|
+
}), Ad = e.object({
|
|
5506
5592
|
id: e.uuid(),
|
|
5507
5593
|
created_at: e.iso.datetime(),
|
|
5508
5594
|
updated_at: e.iso.datetime(),
|
|
5509
5595
|
code: e.string().optional(),
|
|
5510
|
-
components: e.array(
|
|
5596
|
+
components: e.array(kd).optional(),
|
|
5511
5597
|
description: e.string().optional(),
|
|
5512
5598
|
effective_tax_rate: e.int().optional(),
|
|
5513
5599
|
is_external: e.boolean().optional().default(!1),
|
|
@@ -5516,18 +5602,18 @@ var _d = e.object({
|
|
|
5516
5602
|
total_tax_rate: e.int().optional()
|
|
5517
5603
|
});
|
|
5518
5604
|
e.object({
|
|
5519
|
-
data: e.array(
|
|
5605
|
+
data: e.array(Ad),
|
|
5520
5606
|
next_pagination_token: e.string().optional(),
|
|
5521
5607
|
prev_pagination_token: e.string().optional()
|
|
5522
5608
|
});
|
|
5523
|
-
var
|
|
5609
|
+
var jd = e.object({
|
|
5524
5610
|
maskedTaxId: e.string(),
|
|
5525
5611
|
taxIdType: e.string()
|
|
5526
|
-
}),
|
|
5612
|
+
}), Md = e.object({
|
|
5527
5613
|
businessStructureType: e.string().nullish(),
|
|
5528
5614
|
formationDate: e.iso.date().nullish(),
|
|
5529
5615
|
naicsCode: ta.nullish(),
|
|
5530
|
-
taxId:
|
|
5616
|
+
taxId: jd.nullish()
|
|
5531
5617
|
});
|
|
5532
5618
|
e.object({
|
|
5533
5619
|
id: e.uuid(),
|
|
@@ -5535,7 +5621,7 @@ e.object({
|
|
|
5535
5621
|
childOrganizationTypeCounts: e.record(e.string(), e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)])).optional(),
|
|
5536
5622
|
displayName: e.string(),
|
|
5537
5623
|
domainName: e.string().nullish(),
|
|
5538
|
-
embeddedBusinessData:
|
|
5624
|
+
embeddedBusinessData: Md.nullish(),
|
|
5539
5625
|
isEnabled: e.boolean(),
|
|
5540
5626
|
legalName: e.string(),
|
|
5541
5627
|
logo: Ya.nullish(),
|
|
@@ -5543,14 +5629,14 @@ e.object({
|
|
|
5543
5629
|
shortName: e.string(),
|
|
5544
5630
|
types: e.array(k)
|
|
5545
5631
|
});
|
|
5546
|
-
var
|
|
5632
|
+
var Nd = e.enum([
|
|
5547
5633
|
"EIN",
|
|
5548
5634
|
"SSN",
|
|
5549
5635
|
"TIN"
|
|
5550
|
-
]),
|
|
5551
|
-
type:
|
|
5636
|
+
]), Pd = e.object({
|
|
5637
|
+
type: Nd.nullish(),
|
|
5552
5638
|
value: e.string().nullish()
|
|
5553
|
-
}).nullable(),
|
|
5639
|
+
}).nullable(), Fd = e.object({
|
|
5554
5640
|
address: T.optional(),
|
|
5555
5641
|
businessStructureType: Fa.optional(),
|
|
5556
5642
|
dbaName: w.optional(),
|
|
@@ -5558,17 +5644,17 @@ var xd = e.enum([
|
|
|
5558
5644
|
legalName: w.optional(),
|
|
5559
5645
|
northAmericanIndustryClassificationSystemCode: Ra.optional(),
|
|
5560
5646
|
phoneNumber: w.optional(),
|
|
5561
|
-
taxId:
|
|
5647
|
+
taxId: Pd.optional(),
|
|
5562
5648
|
website: w.optional()
|
|
5563
5649
|
});
|
|
5564
5650
|
e.object({
|
|
5565
|
-
applicant:
|
|
5566
|
-
businessDetails:
|
|
5567
|
-
businessOwners: e.array(
|
|
5651
|
+
applicant: bc.nullish(),
|
|
5652
|
+
businessDetails: Fd.nullish(),
|
|
5653
|
+
businessOwners: e.array(xc).nullish(),
|
|
5568
5654
|
individualValidationSource: e.string().nullish(),
|
|
5569
5655
|
organizationValidationSource: e.string().nullish()
|
|
5570
5656
|
});
|
|
5571
|
-
var
|
|
5657
|
+
var Id = e.object({
|
|
5572
5658
|
address: T.optional(),
|
|
5573
5659
|
annualBusinessRevenue: C.optional(),
|
|
5574
5660
|
businessStructureType: Fa.optional(),
|
|
@@ -5581,15 +5667,15 @@ var wd = e.object({
|
|
|
5581
5667
|
numberOfEmployees: Ga.optional(),
|
|
5582
5668
|
ownership: w.optional(),
|
|
5583
5669
|
phoneNumber: w.optional(),
|
|
5584
|
-
taxId:
|
|
5670
|
+
taxId: Pd.optional(),
|
|
5585
5671
|
website: w.optional()
|
|
5586
5672
|
});
|
|
5587
5673
|
e.object({
|
|
5588
|
-
applicant:
|
|
5589
|
-
businessDetails:
|
|
5590
|
-
businessOwners: e.array(
|
|
5674
|
+
applicant: Sc.nullish(),
|
|
5675
|
+
businessDetails: Id.nullish(),
|
|
5676
|
+
businessOwners: e.array(xc).nullish()
|
|
5591
5677
|
});
|
|
5592
|
-
var
|
|
5678
|
+
var Ld = e.object({
|
|
5593
5679
|
address: T.optional(),
|
|
5594
5680
|
businessStructureType: Fa.optional(),
|
|
5595
5681
|
dbaName: w.optional(),
|
|
@@ -5597,9 +5683,9 @@ var Td = e.object({
|
|
|
5597
5683
|
legalName: w.optional(),
|
|
5598
5684
|
northAmericanIndustryClassificationSystemCode: Ra.optional(),
|
|
5599
5685
|
phoneNumber: w.optional(),
|
|
5600
|
-
taxId:
|
|
5686
|
+
taxId: Pd.optional(),
|
|
5601
5687
|
website: w.optional()
|
|
5602
|
-
}).nullable(),
|
|
5688
|
+
}).nullable(), Rd = e.object({
|
|
5603
5689
|
address: T.optional(),
|
|
5604
5690
|
annualBusinessRevenue: C.optional(),
|
|
5605
5691
|
businessStructureType: Fa.optional(),
|
|
@@ -5612,21 +5698,21 @@ var Td = e.object({
|
|
|
5612
5698
|
numberOfEmployees: Ga.optional(),
|
|
5613
5699
|
ownership: w.optional(),
|
|
5614
5700
|
phoneNumber: w.optional(),
|
|
5615
|
-
taxId:
|
|
5701
|
+
taxId: Pd.optional(),
|
|
5616
5702
|
website: w.optional()
|
|
5617
|
-
}).nullable(),
|
|
5703
|
+
}).nullable(), zd = e.enum(["name"]), Bd = e.enum(["name"]), Vd = e.enum([
|
|
5618
5704
|
"taxable",
|
|
5619
5705
|
"exempt",
|
|
5620
5706
|
"non_taxable"
|
|
5621
|
-
]),
|
|
5707
|
+
]), Hd = e.object({
|
|
5622
5708
|
custom_tax_rate_id: e.uuid().optional(),
|
|
5623
5709
|
discount: d.optional(),
|
|
5624
5710
|
price: e.int().gte(0).lte(9007199254740991).optional(),
|
|
5625
5711
|
quantity: e.number().gte(0).lte(2147483647).optional(),
|
|
5626
5712
|
tax_rate_name: e.string().max(64).optional(),
|
|
5627
5713
|
tax_rate_value: e.int().gte(0).lte(1e4).optional(),
|
|
5628
|
-
tax_status:
|
|
5629
|
-
}),
|
|
5714
|
+
tax_status: Vd.optional()
|
|
5715
|
+
}), Ud = e.object({
|
|
5630
5716
|
body_template: e.string(),
|
|
5631
5717
|
subject_template: e.string().max(2048)
|
|
5632
5718
|
});
|
|
@@ -5634,18 +5720,18 @@ e.object({
|
|
|
5634
5720
|
attachments: e.record(e.string(), e.string()).optional(),
|
|
5635
5721
|
recipients: e.array(e.email()),
|
|
5636
5722
|
sender: e.email(),
|
|
5637
|
-
template:
|
|
5723
|
+
template: Ud,
|
|
5638
5724
|
template_data: e.record(e.string(), e.unknown()).optional()
|
|
5639
5725
|
});
|
|
5640
|
-
var
|
|
5726
|
+
var Wd = e.object({
|
|
5641
5727
|
body_template: e.string(),
|
|
5642
5728
|
language: e.string(),
|
|
5643
5729
|
subject_template: e.string()
|
|
5644
|
-
}),
|
|
5645
|
-
available_templates: e.array(
|
|
5730
|
+
}), Gd = e.object({
|
|
5731
|
+
available_templates: e.array(Wd),
|
|
5646
5732
|
template_name: e.string()
|
|
5647
5733
|
});
|
|
5648
|
-
e.object({ data: e.array(
|
|
5734
|
+
e.object({ data: e.array(Gd) }), e.object({
|
|
5649
5735
|
body: e.string(),
|
|
5650
5736
|
data: e.record(e.string(), e.string()),
|
|
5651
5737
|
document_type: f,
|
|
@@ -5654,70 +5740,70 @@ e.object({ data: e.array(Nd) }), e.object({
|
|
|
5654
5740
|
partner_id: e.uuid().optional(),
|
|
5655
5741
|
subject: e.string()
|
|
5656
5742
|
});
|
|
5657
|
-
var
|
|
5743
|
+
var Kd = e.enum(["block", "source_object"]), qd = e.object({
|
|
5658
5744
|
id: e.uuid(),
|
|
5659
5745
|
created_at: e.iso.datetime().optional(),
|
|
5660
5746
|
updated_at: e.iso.datetime().optional(),
|
|
5661
5747
|
blocks: e.array(e.string()).optional(),
|
|
5662
|
-
document_type:
|
|
5748
|
+
document_type: uc,
|
|
5663
5749
|
is_default: e.boolean(),
|
|
5664
5750
|
language: e.string(),
|
|
5665
5751
|
name: e.string(),
|
|
5666
5752
|
preview: Yr.optional(),
|
|
5667
5753
|
template: e.string(),
|
|
5668
|
-
template_type:
|
|
5754
|
+
template_type: Kd.optional().default("source_object")
|
|
5669
5755
|
});
|
|
5670
|
-
e.object({ data: e.array(
|
|
5756
|
+
e.object({ data: e.array(qd).optional() });
|
|
5671
5757
|
var Y = e.object({
|
|
5672
5758
|
discount: e.int().gte(0).lte(1e4),
|
|
5673
5759
|
number_of_days: e.int().gte(0).lte(1e4)
|
|
5674
|
-
}),
|
|
5760
|
+
}), Jd = e.object({ number_of_days: e.int().gte(0).lte(1e4) });
|
|
5675
5761
|
e.object({
|
|
5676
5762
|
description: e.string().max(255).optional(),
|
|
5677
5763
|
name: e.string().min(1).max(100),
|
|
5678
5764
|
term_1: Y.optional(),
|
|
5679
5765
|
term_2: Y.optional(),
|
|
5680
|
-
term_final:
|
|
5766
|
+
term_final: Jd
|
|
5681
5767
|
});
|
|
5682
|
-
var
|
|
5768
|
+
var Yd = e.object({
|
|
5683
5769
|
id: e.uuid(),
|
|
5684
5770
|
description: e.string().optional(),
|
|
5685
5771
|
name: e.string(),
|
|
5686
5772
|
term_1: Y.optional(),
|
|
5687
5773
|
term_2: Y.optional(),
|
|
5688
|
-
term_final:
|
|
5774
|
+
term_final: Jd
|
|
5689
5775
|
});
|
|
5690
|
-
e.object({ data: e.array(
|
|
5776
|
+
e.object({ data: e.array(Yd).optional() }), e.object({
|
|
5691
5777
|
description: e.string().max(255).optional(),
|
|
5692
5778
|
name: e.string().min(1).max(100).optional(),
|
|
5693
5779
|
term_1: Y.optional(),
|
|
5694
5780
|
term_2: Y.optional(),
|
|
5695
|
-
term_final:
|
|
5781
|
+
term_final: Jd.optional()
|
|
5696
5782
|
});
|
|
5697
|
-
var
|
|
5783
|
+
var Xd = e.object({
|
|
5698
5784
|
date: e.iso.datetime().nullish(),
|
|
5699
5785
|
ip: e.string().nullish()
|
|
5700
5786
|
});
|
|
5701
5787
|
e.object({
|
|
5702
5788
|
business_profile: _r.nullish(),
|
|
5703
5789
|
ownership_declaration: jo.nullish(),
|
|
5704
|
-
tos_acceptance:
|
|
5705
|
-
treasury_tos_acceptance:
|
|
5790
|
+
tos_acceptance: Xd.nullish(),
|
|
5791
|
+
treasury_tos_acceptance: Xd.nullish()
|
|
5706
5792
|
});
|
|
5707
|
-
var
|
|
5793
|
+
var Zd = e.object({
|
|
5708
5794
|
date: e.iso.datetime().nullish(),
|
|
5709
5795
|
ip: e.string().nullish()
|
|
5710
5796
|
});
|
|
5711
5797
|
e.object({
|
|
5712
5798
|
business_profile: _r.nullish(),
|
|
5713
5799
|
ownership_declaration: Mo.nullish(),
|
|
5714
|
-
tos_acceptance:
|
|
5715
|
-
treasury_tos_acceptance:
|
|
5800
|
+
tos_acceptance: Zd.nullish(),
|
|
5801
|
+
treasury_tos_acceptance: Zd.nullish()
|
|
5716
5802
|
});
|
|
5717
|
-
var
|
|
5803
|
+
var Qd = e.object({
|
|
5718
5804
|
link_token: e.string(),
|
|
5719
5805
|
payment_link_id: e.string()
|
|
5720
|
-
}),
|
|
5806
|
+
}), $d = e.object({
|
|
5721
5807
|
id: e.uuid(),
|
|
5722
5808
|
updated_at: e.iso.datetime(),
|
|
5723
5809
|
airwallex_data: he.optional(),
|
|
@@ -5727,18 +5813,18 @@ var Bd = e.object({
|
|
|
5727
5813
|
confirm_on_backend: e.boolean().optional().default(!0),
|
|
5728
5814
|
currency: e.string(),
|
|
5729
5815
|
invoice: ui.optional(),
|
|
5730
|
-
key:
|
|
5731
|
-
object:
|
|
5732
|
-
payer:
|
|
5816
|
+
key: Qu.optional(),
|
|
5817
|
+
object: Js.optional(),
|
|
5818
|
+
payer: Ms.optional(),
|
|
5733
5819
|
payment_link_id: e.uuid().optional(),
|
|
5734
5820
|
payment_methods: e.array(v),
|
|
5735
5821
|
payment_reference: e.string().optional(),
|
|
5736
5822
|
provider: e.string().optional(),
|
|
5737
|
-
recipient:
|
|
5823
|
+
recipient: nu,
|
|
5738
5824
|
selected_payment_method: v.optional(),
|
|
5739
5825
|
status: e.string(),
|
|
5740
|
-
stripe_data:
|
|
5741
|
-
tesouro_data:
|
|
5826
|
+
stripe_data: Qu.optional(),
|
|
5827
|
+
tesouro_data: Qd.optional()
|
|
5742
5828
|
});
|
|
5743
5829
|
e.object({
|
|
5744
5830
|
id: e.uuid(),
|
|
@@ -5746,25 +5832,25 @@ e.object({
|
|
|
5746
5832
|
entity_id: e.uuid(),
|
|
5747
5833
|
expires_at: e.iso.datetime(),
|
|
5748
5834
|
partner_id: e.uuid(),
|
|
5749
|
-
payment_intent:
|
|
5835
|
+
payment_intent: $d,
|
|
5750
5836
|
payment_intent_id: e.uuid(),
|
|
5751
5837
|
payment_page_url: e.string(),
|
|
5752
5838
|
project_id: e.uuid(),
|
|
5753
5839
|
return_url: e.string().optional(),
|
|
5754
5840
|
status: e.string()
|
|
5755
5841
|
});
|
|
5756
|
-
var
|
|
5842
|
+
var ef = e.object({
|
|
5757
5843
|
link_token: e.string(),
|
|
5758
5844
|
payment_link_id: e.string()
|
|
5759
|
-
}),
|
|
5845
|
+
}), tf = e.object({
|
|
5760
5846
|
id: e.uuid(),
|
|
5761
5847
|
updated_at: e.iso.datetime(),
|
|
5762
5848
|
application_fee_amount: e.int().optional(),
|
|
5763
|
-
object:
|
|
5849
|
+
object: Js.optional(),
|
|
5764
5850
|
provider: e.string().optional(),
|
|
5765
5851
|
selected_payment_method: e.string().optional(),
|
|
5766
5852
|
status: e.string(),
|
|
5767
|
-
tesouro_data:
|
|
5853
|
+
tesouro_data: ef.optional()
|
|
5768
5854
|
});
|
|
5769
5855
|
e.object({
|
|
5770
5856
|
id: e.uuid(),
|
|
@@ -5772,17 +5858,17 @@ e.object({
|
|
|
5772
5858
|
currency: c,
|
|
5773
5859
|
expires_at: e.iso.datetime(),
|
|
5774
5860
|
invoice: ui.optional(),
|
|
5775
|
-
payer:
|
|
5776
|
-
payment_intent:
|
|
5861
|
+
payer: js.optional(),
|
|
5862
|
+
payment_intent: tf.optional(),
|
|
5777
5863
|
payment_intent_id: e.uuid(),
|
|
5778
5864
|
payment_methods: e.array(e.string()),
|
|
5779
5865
|
payment_page_url: e.url().min(1).max(2083),
|
|
5780
5866
|
payment_reference: e.string().optional(),
|
|
5781
|
-
recipient:
|
|
5867
|
+
recipient: eu,
|
|
5782
5868
|
return_url: e.string().optional(),
|
|
5783
5869
|
status: e.string()
|
|
5784
5870
|
});
|
|
5785
|
-
var
|
|
5871
|
+
var nf = e.enum([
|
|
5786
5872
|
"quote",
|
|
5787
5873
|
"invoice",
|
|
5788
5874
|
"credit_note",
|
|
@@ -5790,55 +5876,55 @@ var Wd = e.enum([
|
|
|
5790
5876
|
"final_reminder",
|
|
5791
5877
|
"payables_purchase_order",
|
|
5792
5878
|
"overdue_reminder"
|
|
5793
|
-
]),
|
|
5879
|
+
]), rf = e.enum([
|
|
5794
5880
|
"email_header",
|
|
5795
5881
|
"email_body",
|
|
5796
5882
|
"memo"
|
|
5797
5883
|
]);
|
|
5798
5884
|
e.object({
|
|
5799
|
-
document_type:
|
|
5885
|
+
document_type: nf,
|
|
5800
5886
|
name: e.string(),
|
|
5801
5887
|
template: e.string(),
|
|
5802
|
-
type:
|
|
5888
|
+
type: rf
|
|
5803
5889
|
});
|
|
5804
|
-
var
|
|
5890
|
+
var af = e.object({
|
|
5805
5891
|
id: e.uuid(),
|
|
5806
5892
|
created_at: e.iso.datetime(),
|
|
5807
5893
|
updated_at: e.iso.datetime(),
|
|
5808
|
-
document_type:
|
|
5894
|
+
document_type: nf,
|
|
5809
5895
|
is_default: e.boolean(),
|
|
5810
5896
|
name: e.string(),
|
|
5811
5897
|
template: e.string(),
|
|
5812
|
-
type:
|
|
5898
|
+
type: rf
|
|
5813
5899
|
});
|
|
5814
5900
|
e.object({
|
|
5815
|
-
data: e.array(
|
|
5901
|
+
data: e.array(af),
|
|
5816
5902
|
next_pagination_token: e.string().nullish(),
|
|
5817
5903
|
prev_pagination_token: e.string().nullish()
|
|
5818
5904
|
});
|
|
5819
|
-
var
|
|
5905
|
+
var of = e.object({
|
|
5820
5906
|
amount: e.int().gte(0).lte(9007199254740991),
|
|
5821
5907
|
name: e.string(),
|
|
5822
5908
|
value: e.number().gte(0).lte(1e4)
|
|
5823
|
-
}),
|
|
5909
|
+
}), sf = e.object({
|
|
5824
5910
|
id: e.uuid().optional(),
|
|
5825
5911
|
amount: e.int().gte(0).lte(9007199254740991),
|
|
5826
|
-
components: e.array(
|
|
5912
|
+
components: e.array(of).min(1).optional(),
|
|
5827
5913
|
name: e.string().optional(),
|
|
5828
5914
|
taxable_amount: e.int().gte(0),
|
|
5829
5915
|
value: e.number().gte(0).lte(1e4)
|
|
5830
5916
|
});
|
|
5831
5917
|
e.object({ data: e.array(_e) });
|
|
5832
|
-
var
|
|
5918
|
+
var cf = e.object({ id: e.uuid().optional() }), lf = e.enum([
|
|
5833
5919
|
"success",
|
|
5834
5920
|
"partial_success",
|
|
5835
5921
|
"error"
|
|
5836
5922
|
]);
|
|
5837
5923
|
e.object({
|
|
5838
|
-
data: e.array(
|
|
5839
|
-
status:
|
|
5924
|
+
data: e.array(cf).min(1).max(5e3),
|
|
5925
|
+
status: lf
|
|
5840
5926
|
});
|
|
5841
|
-
var
|
|
5927
|
+
var uf = e.enum([
|
|
5842
5928
|
"created_at",
|
|
5843
5929
|
"updated_at",
|
|
5844
5930
|
"started_at",
|
|
@@ -5848,15 +5934,15 @@ var Zd = e.enum([
|
|
|
5848
5934
|
"status",
|
|
5849
5935
|
"type",
|
|
5850
5936
|
"external_id"
|
|
5851
|
-
]),
|
|
5937
|
+
]), df = e.enum([
|
|
5852
5938
|
"expense_status",
|
|
5853
5939
|
"payment_processing_status",
|
|
5854
5940
|
"created_at"
|
|
5855
|
-
]),
|
|
5941
|
+
]), ff = e.enum(["receipt_id", "description"]), pf = e.enum(["id", "amount"]), mf = e.discriminatedUnion("type", [ut.extend({ type: e.literal("card") }), pn.extend({ type: e.literal("bank_account") })]), hf = e.enum(["card", "bank_account"]);
|
|
5856
5942
|
e.object({ reject_reason: e.string().min(1).max(1024).optional() });
|
|
5857
|
-
var
|
|
5943
|
+
var gf = e.object({
|
|
5858
5944
|
amount_threshold: e.int().gte(0).optional(),
|
|
5859
|
-
field:
|
|
5945
|
+
field: ff
|
|
5860
5946
|
}), X = e.enum([
|
|
5861
5947
|
"created",
|
|
5862
5948
|
"processing",
|
|
@@ -5864,10 +5950,10 @@ var rf = e.object({
|
|
|
5864
5950
|
"declined",
|
|
5865
5951
|
"refunded",
|
|
5866
5952
|
"failed"
|
|
5867
|
-
]),
|
|
5953
|
+
]), _f = e.object({
|
|
5868
5954
|
new_status: X,
|
|
5869
5955
|
old_status: X.optional()
|
|
5870
|
-
}),
|
|
5956
|
+
}), vf = e.object({
|
|
5871
5957
|
id: e.uuid(),
|
|
5872
5958
|
entity_user_id: e.uuid().optional(),
|
|
5873
5959
|
event_data: e.union([
|
|
@@ -5882,7 +5968,7 @@ var rf = e.object({
|
|
|
5882
5968
|
qr,
|
|
5883
5969
|
wr,
|
|
5884
5970
|
Gr,
|
|
5885
|
-
|
|
5971
|
+
_f
|
|
5886
5972
|
]).optional(),
|
|
5887
5973
|
event_type: e.string(),
|
|
5888
5974
|
recorded_by: e.enum(["user", "system"]),
|
|
@@ -5890,21 +5976,21 @@ var rf = e.object({
|
|
|
5890
5976
|
transaction_id: e.uuid()
|
|
5891
5977
|
});
|
|
5892
5978
|
e.object({
|
|
5893
|
-
data: e.array(
|
|
5979
|
+
data: e.array(vf),
|
|
5894
5980
|
next_pagination_token: e.string().optional(),
|
|
5895
5981
|
prev_pagination_token: e.string().optional()
|
|
5896
5982
|
}), e.object({
|
|
5897
5983
|
bypass_receipt_validation: e.boolean().optional().default(!1),
|
|
5898
5984
|
no_receipt_reason: e.string().min(1).max(512).optional()
|
|
5899
5985
|
});
|
|
5900
|
-
var
|
|
5986
|
+
var yf = e.enum([
|
|
5901
5987
|
"capture",
|
|
5902
5988
|
"refund",
|
|
5903
5989
|
"cash_withdrawal",
|
|
5904
5990
|
"fee",
|
|
5905
5991
|
"adjustment",
|
|
5906
5992
|
"reversal"
|
|
5907
|
-
]),
|
|
5993
|
+
]), bf = e.object({
|
|
5908
5994
|
amount: e.int(),
|
|
5909
5995
|
currency: c,
|
|
5910
5996
|
department_id: e.uuid().optional(),
|
|
@@ -5918,13 +6004,13 @@ var sf = e.enum([
|
|
|
5918
6004
|
merchant_location: e.string().max(128),
|
|
5919
6005
|
merchant_name: e.string().max(128),
|
|
5920
6006
|
partner_metadata: e.record(e.string(), e.string()).optional(),
|
|
5921
|
-
payment_method:
|
|
6007
|
+
payment_method: mf,
|
|
5922
6008
|
payment_processing_status: X.optional().default("created"),
|
|
5923
6009
|
started_at: e.iso.datetime().optional(),
|
|
5924
|
-
type:
|
|
6010
|
+
type: yf
|
|
5925
6011
|
});
|
|
5926
|
-
e.object({ data: e.array(
|
|
5927
|
-
var
|
|
6012
|
+
e.object({ data: e.array(bf) });
|
|
6013
|
+
var xf = e.object({
|
|
5928
6014
|
id: e.uuid(),
|
|
5929
6015
|
amount: e.int(),
|
|
5930
6016
|
applied_policy_id: e.uuid().optional(),
|
|
@@ -5944,17 +6030,17 @@ var lf = e.object({
|
|
|
5944
6030
|
merchant_name: e.string().max(128),
|
|
5945
6031
|
no_receipt_reason: e.string().optional(),
|
|
5946
6032
|
partner_metadata: e.record(e.string(), e.string()).optional(),
|
|
5947
|
-
payment_method:
|
|
6033
|
+
payment_method: mf,
|
|
5948
6034
|
payment_processing_status: X.optional().default("created"),
|
|
5949
6035
|
receipt_file_url: e.string().optional(),
|
|
5950
6036
|
receipt_id: e.string().optional(),
|
|
5951
6037
|
reject_reason: e.string().optional(),
|
|
5952
|
-
source_of_data:
|
|
6038
|
+
source_of_data: Bu.optional(),
|
|
5953
6039
|
started_at: e.iso.datetime(),
|
|
5954
|
-
type:
|
|
6040
|
+
type: yf
|
|
5955
6041
|
});
|
|
5956
6042
|
e.object({
|
|
5957
|
-
data: e.array(
|
|
6043
|
+
data: e.array(xf),
|
|
5958
6044
|
next_pagination_token: e.string().optional(),
|
|
5959
6045
|
prev_pagination_token: e.string().optional()
|
|
5960
6046
|
}), e.object({
|
|
@@ -5971,20 +6057,20 @@ e.object({
|
|
|
5971
6057
|
merchant_location: e.string().max(128).optional(),
|
|
5972
6058
|
merchant_name: e.string().max(128).optional(),
|
|
5973
6059
|
partner_metadata: e.record(e.string(), e.string()).optional(),
|
|
5974
|
-
payment_method:
|
|
6060
|
+
payment_method: mf.optional(),
|
|
5975
6061
|
payment_processing_status: X.optional().default("created"),
|
|
5976
6062
|
started_at: e.iso.datetime().optional(),
|
|
5977
|
-
type:
|
|
6063
|
+
type: yf.optional()
|
|
5978
6064
|
});
|
|
5979
|
-
var
|
|
6065
|
+
var Sf = e.object({
|
|
5980
6066
|
field: e.string(),
|
|
5981
6067
|
message: e.string()
|
|
5982
6068
|
});
|
|
5983
6069
|
e.object({
|
|
5984
6070
|
id: e.uuid(),
|
|
5985
|
-
validation_errors: e.array(
|
|
5986
|
-
}), e.object({ required_fields: e.array(
|
|
5987
|
-
var
|
|
6071
|
+
validation_errors: e.array(Sf)
|
|
6072
|
+
}), e.object({ required_fields: e.array(gf) }), e.object({ required_fields: e.array(gf) });
|
|
6073
|
+
var Cf = e.enum([
|
|
5988
6074
|
"INTERNAL_TO_EXTERNAL",
|
|
5989
6075
|
"EXTERNAL_TO_INTERNAL",
|
|
5990
6076
|
"INTERNAL_TO_INTERNAL"
|
|
@@ -5997,9 +6083,9 @@ e.object({
|
|
|
5997
6083
|
reference: e.string().nullish(),
|
|
5998
6084
|
secCode: e.string(),
|
|
5999
6085
|
toBankAccountId: e.uuid(),
|
|
6000
|
-
type:
|
|
6086
|
+
type: Cf
|
|
6001
6087
|
});
|
|
6002
|
-
var
|
|
6088
|
+
var wf = e.object({
|
|
6003
6089
|
designation: e.string().min(1),
|
|
6004
6090
|
name: e.string().min(1)
|
|
6005
6091
|
});
|
|
@@ -6009,62 +6095,62 @@ e.object({
|
|
|
6009
6095
|
currency: br.nullish(),
|
|
6010
6096
|
default_role: e.record(e.string(), e.unknown()).nullish(),
|
|
6011
6097
|
mail: zi.nullish(),
|
|
6012
|
-
payable:
|
|
6013
|
-
payments:
|
|
6014
|
-
receivable:
|
|
6015
|
-
units: e.array(
|
|
6098
|
+
payable: _s.nullish(),
|
|
6099
|
+
payments: lc.nullish(),
|
|
6100
|
+
receivable: Hl.nullish(),
|
|
6101
|
+
units: e.array(wf).nullish(),
|
|
6016
6102
|
website: e.string().nullish()
|
|
6017
6103
|
});
|
|
6018
|
-
var
|
|
6104
|
+
var Tf = e.object({
|
|
6019
6105
|
description: e.string().max(200).optional(),
|
|
6020
6106
|
name: e.string().min(1).max(100)
|
|
6021
|
-
}),
|
|
6107
|
+
}), Ef = e.object({
|
|
6022
6108
|
description: e.string().max(2e3).optional(),
|
|
6023
|
-
measure_unit:
|
|
6109
|
+
measure_unit: Tf.optional(),
|
|
6024
6110
|
name: e.string().min(1).max(100)
|
|
6025
|
-
}),
|
|
6026
|
-
product:
|
|
6111
|
+
}), Df = e.object({
|
|
6112
|
+
product: Ef.optional(),
|
|
6027
6113
|
product_id: e.uuid().optional(),
|
|
6028
6114
|
quantity: e.number().gte(0).lte(2147483647)
|
|
6029
|
-
}),
|
|
6115
|
+
}), Of = e.object({
|
|
6030
6116
|
counterpart_address_id: e.uuid(),
|
|
6031
6117
|
counterpart_id: e.uuid(),
|
|
6032
6118
|
delivery_date: e.iso.date().optional(),
|
|
6033
6119
|
delivery_number: e.string().min(1).optional(),
|
|
6034
6120
|
display_signature_placeholder: e.boolean().optional().default(!1),
|
|
6035
6121
|
document_id: e.string().min(1).max(100).optional(),
|
|
6036
|
-
line_items: e.array(
|
|
6122
|
+
line_items: e.array(Df).min(1).max(100),
|
|
6037
6123
|
memo: e.string().min(1).optional()
|
|
6038
|
-
}),
|
|
6039
|
-
product:
|
|
6124
|
+
}), kf = e.object({
|
|
6125
|
+
product: Ef,
|
|
6040
6126
|
quantity: e.number().gte(0).lte(2147483647)
|
|
6041
|
-
}),
|
|
6127
|
+
}), Af = e.object({
|
|
6042
6128
|
id: e.uuid(),
|
|
6043
6129
|
created_at: e.iso.datetime(),
|
|
6044
6130
|
updated_at: e.iso.datetime(),
|
|
6045
6131
|
based_on: e.uuid().optional(),
|
|
6046
6132
|
based_on_document_id: e.string().optional(),
|
|
6047
|
-
counterpart:
|
|
6048
|
-
counterpart_address:
|
|
6133
|
+
counterpart: vd,
|
|
6134
|
+
counterpart_address: Jl,
|
|
6049
6135
|
counterpart_id: e.uuid(),
|
|
6050
6136
|
created_by_entity_user_id: e.uuid().optional(),
|
|
6051
6137
|
delivery_date: e.iso.date().optional(),
|
|
6052
6138
|
delivery_number: e.string().optional(),
|
|
6053
6139
|
display_signature_placeholder: e.boolean(),
|
|
6054
6140
|
document_id: e.string(),
|
|
6055
|
-
entity: e.union([
|
|
6141
|
+
entity: e.union([kl, Dl]),
|
|
6056
6142
|
entity_address: B,
|
|
6057
6143
|
entity_id: e.uuid(),
|
|
6058
6144
|
file_language: g,
|
|
6059
6145
|
file_url: e.string().optional(),
|
|
6060
|
-
line_items: e.array(
|
|
6146
|
+
line_items: e.array(kf).min(1),
|
|
6061
6147
|
memo: e.string().optional(),
|
|
6062
6148
|
original_file_language: g,
|
|
6063
6149
|
original_file_url: e.string().optional(),
|
|
6064
6150
|
status: Fn
|
|
6065
6151
|
});
|
|
6066
6152
|
e.object({
|
|
6067
|
-
data: e.array(
|
|
6153
|
+
data: e.array(Af),
|
|
6068
6154
|
next_pagination_token: e.string().optional(),
|
|
6069
6155
|
prev_pagination_token: e.string().optional()
|
|
6070
6156
|
}), e.object({
|
|
@@ -6073,42 +6159,42 @@ e.object({
|
|
|
6073
6159
|
delivery_date: e.iso.date().optional(),
|
|
6074
6160
|
delivery_number: e.string().optional(),
|
|
6075
6161
|
display_signature_placeholder: e.boolean().optional(),
|
|
6076
|
-
line_items: e.array(
|
|
6162
|
+
line_items: e.array(Df).min(1).max(100).optional(),
|
|
6077
6163
|
memo: e.string().optional()
|
|
6078
6164
|
});
|
|
6079
|
-
var
|
|
6165
|
+
var jf = e.object({
|
|
6080
6166
|
description: e.string().max(2e3).optional(),
|
|
6081
6167
|
external_reference: e.string().min(1).max(255).optional(),
|
|
6082
6168
|
ledger_account_id: e.uuid().optional(),
|
|
6083
|
-
measure_unit:
|
|
6169
|
+
measure_unit: Tf.optional(),
|
|
6084
6170
|
name: e.string().min(1).max(100),
|
|
6085
6171
|
price: I,
|
|
6086
6172
|
smallest_amount: e.number().gte(0).lte(2147483647).optional(),
|
|
6087
6173
|
type: L.optional().default("product")
|
|
6088
|
-
}),
|
|
6174
|
+
}), Mf = e.object({
|
|
6089
6175
|
accounting_tax_rate_id: e.uuid().optional(),
|
|
6090
6176
|
custom_tax_rate_id: e.uuid().optional(),
|
|
6091
6177
|
discount: d.optional(),
|
|
6092
|
-
product:
|
|
6178
|
+
product: jf.optional(),
|
|
6093
6179
|
product_id: e.uuid().optional(),
|
|
6094
6180
|
quantity: e.number().gte(0).lte(2147483647),
|
|
6095
6181
|
tax_rate_name: e.string().min(1).max(64).optional(),
|
|
6096
6182
|
tax_rate_value: e.int().gte(0).lte(1e4).optional(),
|
|
6097
|
-
tax_status:
|
|
6098
|
-
}),
|
|
6183
|
+
tax_status: Vd.optional().default("taxable")
|
|
6184
|
+
}), Nf = e.object({
|
|
6099
6185
|
id: e.uuid(),
|
|
6100
6186
|
created_at: e.iso.datetime(),
|
|
6101
6187
|
updated_at: e.iso.datetime(),
|
|
6102
6188
|
description: e.string().optional(),
|
|
6103
6189
|
name: e.string()
|
|
6104
6190
|
});
|
|
6105
|
-
e.object({ data: e.array(
|
|
6191
|
+
e.object({ data: e.array(Nf) }), e.object({
|
|
6106
6192
|
description: e.string().max(200).optional(),
|
|
6107
6193
|
name: e.string().min(1).max(100).optional()
|
|
6108
6194
|
}), e.object({
|
|
6109
|
-
applicant:
|
|
6110
|
-
businessDetails:
|
|
6111
|
-
businessOwners:
|
|
6195
|
+
applicant: Cc.optional(),
|
|
6196
|
+
businessDetails: Ld.optional(),
|
|
6197
|
+
businessOwners: Tc.optional(),
|
|
6112
6198
|
individualValidationSource: E.optional(),
|
|
6113
6199
|
organizationValidationSource: E.optional()
|
|
6114
6200
|
}), e.object({
|
|
@@ -6134,16 +6220,16 @@ e.object({ data: e.array(xf) }), e.object({
|
|
|
6134
6220
|
phone: e.string().max(100).optional(),
|
|
6135
6221
|
title: e.string().max(100).optional()
|
|
6136
6222
|
}), e.object({
|
|
6137
|
-
applicant:
|
|
6138
|
-
businessDetails:
|
|
6139
|
-
businessOwners:
|
|
6223
|
+
applicant: wc.optional(),
|
|
6224
|
+
businessDetails: Rd.optional(),
|
|
6225
|
+
businessOwners: Tc.optional()
|
|
6140
6226
|
}), e.object({
|
|
6141
6227
|
body_template: e.string().optional(),
|
|
6142
6228
|
language: g.optional(),
|
|
6143
6229
|
name: e.string().min(1).max(128).optional(),
|
|
6144
6230
|
subject_template: e.string().optional()
|
|
6145
6231
|
}), e.object({ name: e.string() });
|
|
6146
|
-
var
|
|
6232
|
+
var Pf = e.object({
|
|
6147
6233
|
city: e.string().min(1).max(100).nullish(),
|
|
6148
6234
|
line1: e.string().min(1).max(200).nullish(),
|
|
6149
6235
|
line2: e.string().min(1).max(100).nullish(),
|
|
@@ -6154,7 +6240,7 @@ e.object({
|
|
|
6154
6240
|
account_holder_name: e.string().min(1).max(200).nullish(),
|
|
6155
6241
|
display_name: e.string().min(1).max(200).nullish()
|
|
6156
6242
|
}), e.object({
|
|
6157
|
-
address:
|
|
6243
|
+
address: Pf.nullish(),
|
|
6158
6244
|
email: e.email().nullish(),
|
|
6159
6245
|
individual: ja.nullish(),
|
|
6160
6246
|
organization: Ja.nullish(),
|
|
@@ -6175,7 +6261,7 @@ e.object({
|
|
|
6175
6261
|
nickname: E.optional(),
|
|
6176
6262
|
verification: Na.optional()
|
|
6177
6263
|
});
|
|
6178
|
-
var
|
|
6264
|
+
var Ff = e.object({
|
|
6179
6265
|
attachments: e.array(i).min(1).optional(),
|
|
6180
6266
|
bank_account_id: e.uuid().optional(),
|
|
6181
6267
|
bank_account_type: Ye.optional(),
|
|
@@ -6190,11 +6276,11 @@ var Cf = e.object({
|
|
|
6190
6276
|
document_id: e.string().min(1).max(100).optional(),
|
|
6191
6277
|
document_rendering: z.optional(),
|
|
6192
6278
|
due_date: e.iso.date().optional(),
|
|
6193
|
-
entity:
|
|
6279
|
+
entity: El.optional(),
|
|
6194
6280
|
entity_vat_id_id: e.uuid().optional(),
|
|
6195
6281
|
footer: e.string().optional(),
|
|
6196
6282
|
fulfillment_date: e.iso.date().optional(),
|
|
6197
|
-
line_items: e.array(
|
|
6283
|
+
line_items: e.array(Hd).optional(),
|
|
6198
6284
|
memo: e.string().optional(),
|
|
6199
6285
|
overdue_reminder_id: e.uuid().optional(),
|
|
6200
6286
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
@@ -6208,7 +6294,7 @@ var Cf = e.object({
|
|
|
6208
6294
|
tax_exemption_rationale: e.string().optional(),
|
|
6209
6295
|
trade_name: e.string().max(255).optional(),
|
|
6210
6296
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6211
|
-
}),
|
|
6297
|
+
}), If = e.object({ invoice: Ff }), Lf = e.object({
|
|
6212
6298
|
attachments: e.array(i).min(1).optional(),
|
|
6213
6299
|
contact_id: e.uuid().optional(),
|
|
6214
6300
|
counterpart_id: e.uuid().optional(),
|
|
@@ -6216,7 +6302,7 @@ var Cf = e.object({
|
|
|
6216
6302
|
document_id: e.string().min(1).max(100).optional(),
|
|
6217
6303
|
document_rendering: z.optional(),
|
|
6218
6304
|
due_date: e.iso.date().optional(),
|
|
6219
|
-
entity: e.union([
|
|
6305
|
+
entity: e.union([Al, Ol]).optional(),
|
|
6220
6306
|
entity_address: B.optional(),
|
|
6221
6307
|
entity_vat_id_id: e.uuid().optional(),
|
|
6222
6308
|
footer: e.string().optional(),
|
|
@@ -6230,8 +6316,8 @@ var Cf = e.object({
|
|
|
6230
6316
|
payment_terms_id: e.uuid().optional(),
|
|
6231
6317
|
project_id: e.uuid().optional(),
|
|
6232
6318
|
tag_ids: e.array(e.uuid()).optional().default([])
|
|
6233
|
-
}),
|
|
6234
|
-
e.object({ data: e.array(
|
|
6319
|
+
}), Rf = e.object({ issued_invoice: Lf });
|
|
6320
|
+
e.object({ data: e.array(Mf) }), e.object({ name: e.string() }), e.object({
|
|
6235
6321
|
email: e.email().nullish(),
|
|
6236
6322
|
first_name: e.string().max(255).nullish(),
|
|
6237
6323
|
last_name: e.string().max(255).nullish(),
|
|
@@ -6250,43 +6336,43 @@ e.object({ data: e.array(bf) }), e.object({ name: e.string() }), e.object({
|
|
|
6250
6336
|
paid_by: Bo.optional(),
|
|
6251
6337
|
partner_fee: Aa.optional(),
|
|
6252
6338
|
payment_method: v.optional(),
|
|
6253
|
-
payment_method_subtype:
|
|
6339
|
+
payment_method_subtype: Us.optional(),
|
|
6254
6340
|
region: Br.optional(),
|
|
6255
6341
|
tier_id: e.uuid().optional()
|
|
6256
6342
|
}), e.object({ amount: e.int() }), e.object({
|
|
6257
6343
|
higher_range: e.int().gt(0).optional(),
|
|
6258
6344
|
lower_range: e.int().gte(0).optional(),
|
|
6259
6345
|
measure_unit: Ui.optional(),
|
|
6260
|
-
period:
|
|
6346
|
+
period: dc.optional()
|
|
6261
6347
|
});
|
|
6262
|
-
var
|
|
6348
|
+
var zf = e.object({
|
|
6263
6349
|
old_price: e.int().gte(1).lte(9007199254740991).optional(),
|
|
6264
6350
|
price_diff: e.int().gte(1).lte(9007199254740991).optional(),
|
|
6265
6351
|
quantity: e.number().gte(1).lte(2147483647)
|
|
6266
|
-
}),
|
|
6352
|
+
}), Bf = e.record(e.string(), zf), Vf = e.object({
|
|
6267
6353
|
attachments: e.array(i).min(1).optional(),
|
|
6268
6354
|
counterpart_billing_address_id: e.uuid().optional(),
|
|
6269
|
-
counterpart_contact:
|
|
6355
|
+
counterpart_contact: Zl.optional(),
|
|
6270
6356
|
counterpart_shipping_address_id: e.uuid().optional(),
|
|
6271
6357
|
document_rendering: z.optional(),
|
|
6272
|
-
entity:
|
|
6358
|
+
entity: El.optional(),
|
|
6273
6359
|
footer: e.string().optional(),
|
|
6274
|
-
line_items:
|
|
6360
|
+
line_items: Bf.optional(),
|
|
6275
6361
|
memo: e.string().optional(),
|
|
6276
6362
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
6277
6363
|
project_id: e.uuid().optional(),
|
|
6278
6364
|
tag_ids: e.array(e.uuid()).optional()
|
|
6279
|
-
}),
|
|
6365
|
+
}), Hf = e.object({ credit_note: Vf });
|
|
6280
6366
|
e.object({
|
|
6281
6367
|
counterpart_address_id: e.uuid().optional(),
|
|
6282
6368
|
counterpart_id: e.uuid().optional(),
|
|
6283
6369
|
entity_vat_id_id: e.uuid().optional(),
|
|
6284
|
-
items: e.array(
|
|
6370
|
+
items: e.array(nl).optional(),
|
|
6285
6371
|
message: e.string().optional(),
|
|
6286
6372
|
project_id: e.uuid().optional(),
|
|
6287
6373
|
valid_for_days: e.int().gte(1).optional()
|
|
6288
6374
|
});
|
|
6289
|
-
var
|
|
6375
|
+
var Uf = e.object({
|
|
6290
6376
|
attachments: e.array(i).min(1).optional(),
|
|
6291
6377
|
bank_account_id: e.uuid().optional(),
|
|
6292
6378
|
bank_account_type: Ye.optional(),
|
|
@@ -6301,11 +6387,11 @@ var jf = e.object({
|
|
|
6301
6387
|
document_id: e.string().min(1).max(100).optional(),
|
|
6302
6388
|
document_rendering: z.optional(),
|
|
6303
6389
|
due_date: e.iso.date().optional(),
|
|
6304
|
-
entity:
|
|
6390
|
+
entity: El.optional(),
|
|
6305
6391
|
entity_vat_id_id: e.uuid().optional(),
|
|
6306
6392
|
expiry_date: e.iso.date().optional(),
|
|
6307
6393
|
footer: e.string().optional(),
|
|
6308
|
-
line_items: e.array(
|
|
6394
|
+
line_items: e.array(Hd).optional(),
|
|
6309
6395
|
memo: e.string().optional(),
|
|
6310
6396
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
6311
6397
|
payment_terms: ci.optional(),
|
|
@@ -6318,17 +6404,17 @@ var jf = e.object({
|
|
|
6318
6404
|
tax_exemption_rationale: e.string().optional(),
|
|
6319
6405
|
trade_name: e.string().max(255).optional(),
|
|
6320
6406
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6321
|
-
}),
|
|
6407
|
+
}), Wf = e.object({ quote: Uf });
|
|
6322
6408
|
e.union([
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6409
|
+
Wf,
|
|
6410
|
+
If,
|
|
6411
|
+
Hf,
|
|
6412
|
+
Rf
|
|
6327
6413
|
]), e.object({
|
|
6328
6414
|
automation_level: Me.optional(),
|
|
6329
6415
|
body_text: e.string().min(1).optional(),
|
|
6330
6416
|
end_date: e.iso.date().optional(),
|
|
6331
|
-
frequency:
|
|
6417
|
+
frequency: su.optional(),
|
|
6332
6418
|
interval: e.int().gte(1).lte(100).optional(),
|
|
6333
6419
|
max_occurrences: e.int().gte(1).lte(1e3).optional(),
|
|
6334
6420
|
recipients: H.optional(),
|
|
@@ -6336,7 +6422,7 @@ e.union([
|
|
|
6336
6422
|
subject_text: e.string().min(1).optional()
|
|
6337
6423
|
}), e.object({
|
|
6338
6424
|
name: e.string().min(1).max(255).nullish(),
|
|
6339
|
-
permissions:
|
|
6425
|
+
permissions: Cu.nullish()
|
|
6340
6426
|
}), e.object({
|
|
6341
6427
|
channelConfig: Qi.nullish(),
|
|
6342
6428
|
channelType: pt.nullish(),
|
|
@@ -6351,7 +6437,7 @@ e.union([
|
|
|
6351
6437
|
country: e.string().nullish(),
|
|
6352
6438
|
jobTitle: e.string().nullish(),
|
|
6353
6439
|
name: e.string().nullish(),
|
|
6354
|
-
permissions:
|
|
6440
|
+
permissions: vc.nullish(),
|
|
6355
6441
|
phoneNumber: e.string().nullish(),
|
|
6356
6442
|
postalCode: e.string().nullish(),
|
|
6357
6443
|
reportingManagerUserId: La.optional(),
|
|
@@ -6375,20 +6461,20 @@ e.union([
|
|
|
6375
6461
|
file: e.string(),
|
|
6376
6462
|
file_type: ge
|
|
6377
6463
|
}), e.object({ value: mi }), e.object({ value: mi });
|
|
6378
|
-
var
|
|
6464
|
+
var Gf = e.object({
|
|
6379
6465
|
id: e.uuid(),
|
|
6380
6466
|
name: e.string()
|
|
6381
|
-
}),
|
|
6467
|
+
}), Kf = e.object({
|
|
6382
6468
|
id: e.uuid(),
|
|
6383
6469
|
name: e.string()
|
|
6384
|
-
}),
|
|
6470
|
+
}), qf = e.object({
|
|
6385
6471
|
id: e.uuid(),
|
|
6386
6472
|
createdDateTime: e.iso.datetime(),
|
|
6387
|
-
department:
|
|
6473
|
+
department: Gf.nullish(),
|
|
6388
6474
|
email: e.string(),
|
|
6389
6475
|
jobTitle: e.string().nullish(),
|
|
6390
6476
|
lastLoggedInDateTime: e.iso.datetime().nullish(),
|
|
6391
|
-
location:
|
|
6477
|
+
location: Kf.nullish(),
|
|
6392
6478
|
name: e.string(),
|
|
6393
6479
|
organizationId: e.uuid(),
|
|
6394
6480
|
organizationName: e.string(),
|
|
@@ -6397,11 +6483,11 @@ var Nf = e.object({
|
|
|
6397
6483
|
status: e.string()
|
|
6398
6484
|
});
|
|
6399
6485
|
e.object({
|
|
6400
|
-
data: e.array(
|
|
6486
|
+
data: e.array(qf),
|
|
6401
6487
|
nextPaginationToken: e.string().nullish(),
|
|
6402
6488
|
prevPaginationToken: e.string().nullish()
|
|
6403
6489
|
});
|
|
6404
|
-
var
|
|
6490
|
+
var Jf = e.enum([
|
|
6405
6491
|
"ACTIVE",
|
|
6406
6492
|
"INACTIVE",
|
|
6407
6493
|
"INVITED"
|
|
@@ -6417,9 +6503,9 @@ e.object({
|
|
|
6417
6503
|
permissions: e.array(e.string()),
|
|
6418
6504
|
phoneNumber: e.string().nullish(),
|
|
6419
6505
|
role: e.string(),
|
|
6420
|
-
status:
|
|
6506
|
+
status: Jf
|
|
6421
6507
|
});
|
|
6422
|
-
var
|
|
6508
|
+
var Yf = e.enum([
|
|
6423
6509
|
"ACTIVE",
|
|
6424
6510
|
"INACTIVE",
|
|
6425
6511
|
"INVITED",
|
|
@@ -6432,47 +6518,47 @@ e.object({
|
|
|
6432
6518
|
firstAmount: e.union([e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }), e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })]),
|
|
6433
6519
|
secondAmount: e.union([e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }), e.coerce.bigint().min(BigInt("-9223372036854775808"), { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })])
|
|
6434
6520
|
});
|
|
6435
|
-
var
|
|
6521
|
+
var Xf = e.object({
|
|
6436
6522
|
loc: e.array(e.union([e.string(), e.int()])),
|
|
6437
6523
|
msg: e.string(),
|
|
6438
6524
|
type: e.string()
|
|
6439
6525
|
});
|
|
6440
|
-
e.object({ detail: e.array(
|
|
6441
|
-
var
|
|
6526
|
+
e.object({ detail: e.array(Xf).optional() });
|
|
6527
|
+
var Zf = e.object({
|
|
6442
6528
|
description: e.string(),
|
|
6443
6529
|
name: e.string()
|
|
6444
|
-
}),
|
|
6530
|
+
}), Qf = e.object({
|
|
6445
6531
|
object_subtype: Kn,
|
|
6446
6532
|
object_type: e.string(),
|
|
6447
|
-
variables: e.array(
|
|
6533
|
+
variables: e.array(Zf)
|
|
6448
6534
|
});
|
|
6449
|
-
e.object({ data: e.array(
|
|
6450
|
-
var
|
|
6535
|
+
e.object({ data: e.array(Qf) });
|
|
6536
|
+
var $f = e.enum([
|
|
6451
6537
|
"quote",
|
|
6452
6538
|
"invoice",
|
|
6453
6539
|
"credit_note",
|
|
6454
6540
|
"discount_reminder",
|
|
6455
6541
|
"final_reminder",
|
|
6456
6542
|
"overdue_reminder"
|
|
6457
|
-
]),
|
|
6458
|
-
object_subtype:
|
|
6543
|
+
]), ep = e.object({
|
|
6544
|
+
object_subtype: $f,
|
|
6459
6545
|
object_type: e.string(),
|
|
6460
|
-
variables: e.array(
|
|
6546
|
+
variables: e.array(Ul)
|
|
6461
6547
|
});
|
|
6462
|
-
e.object({ data: e.array(
|
|
6463
|
-
var
|
|
6548
|
+
e.object({ data: e.array(ep) });
|
|
6549
|
+
var tp = e.enum([
|
|
6464
6550
|
"entity_country",
|
|
6465
6551
|
"counterpart_country",
|
|
6466
6552
|
"zero"
|
|
6467
|
-
]),
|
|
6553
|
+
]), np = e.object({
|
|
6468
6554
|
id: e.uuid(),
|
|
6469
6555
|
created_at: e.iso.datetime(),
|
|
6470
6556
|
updated_at: e.iso.datetime(),
|
|
6471
6557
|
object_type: e.enum(["receivable"]),
|
|
6472
|
-
predicates: e.array(
|
|
6558
|
+
predicates: e.array(kc),
|
|
6473
6559
|
result_value_id: e.uuid(),
|
|
6474
6560
|
status: G,
|
|
6475
|
-
vat_condition:
|
|
6561
|
+
vat_condition: tp
|
|
6476
6562
|
}), Z = e.enum(/* @__PURE__ */ "ae_trn.au_abn.au_arn.bg_uic.br_cnpj.br_cpf.ca_bn.ca_gst_hst.ca_pst_bc.ca_pst_mb.ca_pst_sk.ca_qst.ch_vat.cl_tin.es_cif.eu_oss_vat.eu_vat.gb_vat.ge_vat.hk_br.hu_tin.id_npwp.il_vat.in_gst.is_vat.jp_cn.jp_rn.kr_brn.li_uid.mx_rfc.my_frp.my_itn.my_sst.no_vat.nz_gst.ru_inn.ru_kpp.sa_vat.sg_gst.sg_uen.si_tin.th_vat.tw_vat.ua_vat.us_ein.za_vat.unknown".split("."));
|
|
6477
6563
|
e.object({
|
|
6478
6564
|
country: n.optional(),
|
|
@@ -6483,14 +6569,14 @@ e.object({
|
|
|
6483
6569
|
type: Z.optional().default("unknown"),
|
|
6484
6570
|
value: e.string().max(32)
|
|
6485
6571
|
});
|
|
6486
|
-
var
|
|
6572
|
+
var rp = e.object({
|
|
6487
6573
|
id: e.uuid(),
|
|
6488
6574
|
counterpart_id: e.uuid(),
|
|
6489
6575
|
country: n.optional(),
|
|
6490
6576
|
type: Z.optional().default("unknown"),
|
|
6491
6577
|
value: e.string().max(32)
|
|
6492
6578
|
});
|
|
6493
|
-
e.object({ data: e.array(
|
|
6579
|
+
e.object({ data: e.array(rp) }), e.object({
|
|
6494
6580
|
country: n.nullish(),
|
|
6495
6581
|
type: Z.nullish(),
|
|
6496
6582
|
value: e.string().max(32).nullish()
|
|
@@ -6499,21 +6585,21 @@ e.object({ data: e.array(Gf) }), e.object({
|
|
|
6499
6585
|
type: Z.optional().default("unknown"),
|
|
6500
6586
|
value: e.string().max(32)
|
|
6501
6587
|
});
|
|
6502
|
-
var
|
|
6588
|
+
var ip = e.object({
|
|
6503
6589
|
id: e.uuid(),
|
|
6504
6590
|
country: n,
|
|
6505
6591
|
entity_id: e.uuid(),
|
|
6506
6592
|
type: Z.optional().default("unknown"),
|
|
6507
6593
|
value: e.string().max(32)
|
|
6508
6594
|
});
|
|
6509
|
-
e.object({ data: e.array(
|
|
6510
|
-
var
|
|
6595
|
+
e.object({ data: e.array(ip) });
|
|
6596
|
+
var ap = e.object({
|
|
6511
6597
|
id: e.uuid(),
|
|
6512
6598
|
counterpart_id: e.uuid(),
|
|
6513
6599
|
country: n.optional(),
|
|
6514
6600
|
type: Z.optional().default("unknown"),
|
|
6515
6601
|
value: e.string().max(32)
|
|
6516
|
-
}),
|
|
6602
|
+
}), op = e.object({
|
|
6517
6603
|
id: e.uuid(),
|
|
6518
6604
|
country: n,
|
|
6519
6605
|
entity_id: e.uuid(),
|
|
@@ -6532,14 +6618,14 @@ e.object({
|
|
|
6532
6618
|
mail: cr.nullish(),
|
|
6533
6619
|
payables_ocr_auto_tagging: e.array(Ea).nullish(),
|
|
6534
6620
|
payables_skip_approval_flow: e.boolean().optional().default(!1),
|
|
6535
|
-
payment_priority:
|
|
6621
|
+
payment_priority: Zs.nullish().default("working_capital"),
|
|
6536
6622
|
quote_signature_required: e.boolean().optional().default(!1),
|
|
6537
|
-
receivable_edit_flow:
|
|
6538
|
-
reminder:
|
|
6623
|
+
receivable_edit_flow: Tl.nullish().default("compliant"),
|
|
6624
|
+
reminder: gu.nullish(),
|
|
6539
6625
|
tax_inclusive_discount_mode: Q.optional().default("exclusive"),
|
|
6540
6626
|
tax_mode: Q.nullish().default("exclusive")
|
|
6541
6627
|
});
|
|
6542
|
-
var
|
|
6628
|
+
var sp = e.object({
|
|
6543
6629
|
attachments: e.array(i).min(1).optional(),
|
|
6544
6630
|
bank_account_id: e.uuid().optional(),
|
|
6545
6631
|
bank_account_type: Ye.optional(),
|
|
@@ -6554,11 +6640,11 @@ var Yf = e.object({
|
|
|
6554
6640
|
discount: d.optional(),
|
|
6555
6641
|
document_id: e.string().min(1).max(100).optional(),
|
|
6556
6642
|
document_rendering: z.optional(),
|
|
6557
|
-
entity:
|
|
6643
|
+
entity: El.optional(),
|
|
6558
6644
|
entity_vat_id_id: e.uuid().optional(),
|
|
6559
6645
|
footer: e.string().optional(),
|
|
6560
6646
|
fulfillment_date: e.iso.date().optional(),
|
|
6561
|
-
line_items: e.array(
|
|
6647
|
+
line_items: e.array(Mf),
|
|
6562
6648
|
memo: e.string().optional(),
|
|
6563
6649
|
overdue_reminder_id: e.uuid().optional(),
|
|
6564
6650
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
@@ -6575,7 +6661,7 @@ var Yf = e.object({
|
|
|
6575
6661
|
trade_name: e.string().max(255).optional(),
|
|
6576
6662
|
type: e.enum(["invoice"]),
|
|
6577
6663
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6578
|
-
}),
|
|
6664
|
+
}), cp = e.object({
|
|
6579
6665
|
attachments: e.array(i).min(1).optional(),
|
|
6580
6666
|
bank_account_id: e.uuid().optional(),
|
|
6581
6667
|
bank_account_type: Ye.optional(),
|
|
@@ -6590,11 +6676,11 @@ var Yf = e.object({
|
|
|
6590
6676
|
discount: d.optional(),
|
|
6591
6677
|
document_id: e.string().min(1).max(100).optional(),
|
|
6592
6678
|
document_rendering: z.optional(),
|
|
6593
|
-
entity:
|
|
6679
|
+
entity: El.optional(),
|
|
6594
6680
|
entity_vat_id_id: e.uuid().optional(),
|
|
6595
6681
|
expiry_date: e.iso.date().optional(),
|
|
6596
6682
|
footer: e.string().optional(),
|
|
6597
|
-
line_items: e.array(
|
|
6683
|
+
line_items: e.array(Mf),
|
|
6598
6684
|
memo: e.string().optional(),
|
|
6599
6685
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
6600
6686
|
project_id: e.uuid().optional(),
|
|
@@ -6609,9 +6695,9 @@ var Yf = e.object({
|
|
|
6609
6695
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6610
6696
|
});
|
|
6611
6697
|
e.union([
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6698
|
+
cp,
|
|
6699
|
+
sp,
|
|
6700
|
+
bl
|
|
6615
6701
|
]), e.object({
|
|
6616
6702
|
accounting: Mn.nullish(),
|
|
6617
6703
|
allow_purchase_order_autolinking: e.boolean().nullish().default(!0),
|
|
@@ -6624,42 +6710,42 @@ e.union([
|
|
|
6624
6710
|
mail: cr.nullish(),
|
|
6625
6711
|
payables_ocr_auto_tagging: e.array(Ea).nullish(),
|
|
6626
6712
|
payables_skip_approval_flow: e.boolean().optional().default(!1),
|
|
6627
|
-
payment_priority:
|
|
6713
|
+
payment_priority: Zs.nullish().default("working_capital"),
|
|
6628
6714
|
quote_signature_required: e.boolean().optional().default(!1),
|
|
6629
|
-
receivable_edit_flow:
|
|
6630
|
-
reminder:
|
|
6715
|
+
receivable_edit_flow: Tl.nullish().default("compliant"),
|
|
6716
|
+
reminder: gu.nullish(),
|
|
6631
6717
|
tax_inclusive_discount_mode: Q.optional().default("exclusive"),
|
|
6632
6718
|
tax_mode: Q.nullish().default("exclusive")
|
|
6633
6719
|
});
|
|
6634
|
-
var
|
|
6720
|
+
var lp = e.object({
|
|
6635
6721
|
name: e.string().max(64),
|
|
6636
6722
|
value: e.number().gte(0).lte(1e4)
|
|
6637
6723
|
});
|
|
6638
6724
|
e.object({
|
|
6639
|
-
components: e.array(
|
|
6725
|
+
components: e.array(lp).min(1).max(10),
|
|
6640
6726
|
name: e.string().max(64)
|
|
6641
6727
|
});
|
|
6642
|
-
var
|
|
6728
|
+
var up = e.object({
|
|
6643
6729
|
id: e.uuid(),
|
|
6644
6730
|
created_at: e.iso.datetime(),
|
|
6645
6731
|
updated_at: e.iso.datetime(),
|
|
6646
|
-
components: e.array(
|
|
6732
|
+
components: e.array(lp).min(1).max(10),
|
|
6647
6733
|
created_by_entity_user_id: e.uuid().optional(),
|
|
6648
6734
|
name: e.string().max(64),
|
|
6649
6735
|
value: e.number()
|
|
6650
6736
|
});
|
|
6651
|
-
e.object({ data: e.array(
|
|
6652
|
-
components: e.array(
|
|
6737
|
+
e.object({ data: e.array(up) }), e.object({
|
|
6738
|
+
components: e.array(lp).min(1).max(10).optional(),
|
|
6653
6739
|
name: e.string().max(64).optional()
|
|
6654
6740
|
});
|
|
6655
|
-
var
|
|
6741
|
+
var dp = e.object({
|
|
6656
6742
|
id: e.uuid().optional(),
|
|
6657
|
-
components: e.array(
|
|
6743
|
+
components: e.array(lp).min(1).optional(),
|
|
6658
6744
|
country: n,
|
|
6659
6745
|
is_custom: e.boolean().optional().default(!1),
|
|
6660
6746
|
name: e.string().optional(),
|
|
6661
6747
|
value: e.number().gte(0).lte(1e4)
|
|
6662
|
-
}),
|
|
6748
|
+
}), fp = e.object({
|
|
6663
6749
|
id: e.uuid(),
|
|
6664
6750
|
accounting_tax_rate_id: e.uuid().optional(),
|
|
6665
6751
|
description: e.string().optional(),
|
|
@@ -6671,16 +6757,16 @@ var $f = e.object({
|
|
|
6671
6757
|
price: I,
|
|
6672
6758
|
price_after_tax: I,
|
|
6673
6759
|
smallest_amount: e.number().gte(0).lte(2147483647).optional(),
|
|
6674
|
-
tax_rate:
|
|
6760
|
+
tax_rate: dp,
|
|
6675
6761
|
type: L.optional().default("product")
|
|
6676
|
-
}),
|
|
6762
|
+
}), pp = e.object({
|
|
6677
6763
|
discount: d.optional(),
|
|
6678
|
-
product:
|
|
6764
|
+
product: fp,
|
|
6679
6765
|
quantity: e.number().gte(0).lte(2147483647),
|
|
6680
|
-
tax_status:
|
|
6766
|
+
tax_status: Vd.optional().default("taxable"),
|
|
6681
6767
|
total_after_tax: e.int().lte(9007199254740991),
|
|
6682
6768
|
total_before_tax: e.int().lte(9007199254740991)
|
|
6683
|
-
}),
|
|
6769
|
+
}), mp = e.object({
|
|
6684
6770
|
id: e.uuid(),
|
|
6685
6771
|
created_at: e.iso.datetime(),
|
|
6686
6772
|
updated_at: e.iso.datetime(),
|
|
@@ -6693,14 +6779,14 @@ var $f = e.object({
|
|
|
6693
6779
|
commercial_condition_description: e.string().optional(),
|
|
6694
6780
|
counterpart_billing_address: V.optional(),
|
|
6695
6781
|
counterpart_business_type: e.string().max(50).optional(),
|
|
6696
|
-
counterpart_contact:
|
|
6782
|
+
counterpart_contact: Zl.optional(),
|
|
6697
6783
|
counterpart_external_reference: e.string().optional(),
|
|
6698
6784
|
counterpart_id: e.uuid(),
|
|
6699
6785
|
counterpart_name: e.string().optional(),
|
|
6700
6786
|
counterpart_shipping_address: V.optional(),
|
|
6701
6787
|
counterpart_tax_id: e.string().optional(),
|
|
6702
6788
|
counterpart_type: o,
|
|
6703
|
-
counterpart_vat_id:
|
|
6789
|
+
counterpart_vat_id: ap.optional(),
|
|
6704
6790
|
currency: c,
|
|
6705
6791
|
deduction_amount: e.int().gte(0).lte(9007199254740991).optional(),
|
|
6706
6792
|
deduction_memo: e.string().optional(),
|
|
@@ -6710,16 +6796,16 @@ var $f = e.object({
|
|
|
6710
6796
|
document_id: e.string().optional(),
|
|
6711
6797
|
document_rendering: z.optional(),
|
|
6712
6798
|
due_date: e.iso.date().optional(),
|
|
6713
|
-
entity: e.union([
|
|
6799
|
+
entity: e.union([kl, Dl]),
|
|
6714
6800
|
entity_address: B,
|
|
6715
|
-
entity_bank_account:
|
|
6801
|
+
entity_bank_account: Ql.optional(),
|
|
6716
6802
|
entity_user_id: e.uuid().optional(),
|
|
6717
|
-
entity_vat_id:
|
|
6803
|
+
entity_vat_id: op.optional(),
|
|
6718
6804
|
file_language: g,
|
|
6719
6805
|
file_url: e.string().optional(),
|
|
6720
6806
|
footer: e.string().optional(),
|
|
6721
6807
|
issue_date: e.iso.datetime().optional(),
|
|
6722
|
-
line_items: e.array(
|
|
6808
|
+
line_items: e.array(pp),
|
|
6723
6809
|
memo: e.string().optional(),
|
|
6724
6810
|
original_file_language: g,
|
|
6725
6811
|
original_file_url: e.string().optional(),
|
|
@@ -6737,12 +6823,12 @@ var $f = e.object({
|
|
|
6737
6823
|
total_amount: e.int().lte(9007199254740991).optional().default(0),
|
|
6738
6824
|
total_deduction_amount: e.int().lte(9007199254740991).optional(),
|
|
6739
6825
|
total_tax_amount: e.int().lte(9007199254740991),
|
|
6740
|
-
total_tax_amounts: e.array(
|
|
6826
|
+
total_tax_amounts: e.array(sf).optional(),
|
|
6741
6827
|
total_withholding_tax: e.int().optional(),
|
|
6742
6828
|
trade_name: e.string().max(255).optional(),
|
|
6743
6829
|
type: e.enum(["credit_note"]),
|
|
6744
6830
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6745
|
-
}),
|
|
6831
|
+
}), hp = e.object({
|
|
6746
6832
|
id: e.uuid(),
|
|
6747
6833
|
created_at: e.iso.datetime(),
|
|
6748
6834
|
updated_at: e.iso.datetime(),
|
|
@@ -6759,14 +6845,14 @@ var $f = e.object({
|
|
|
6759
6845
|
commercial_condition_description: e.string().optional(),
|
|
6760
6846
|
counterpart_billing_address: V.optional(),
|
|
6761
6847
|
counterpart_business_type: e.string().max(50).optional(),
|
|
6762
|
-
counterpart_contact:
|
|
6848
|
+
counterpart_contact: Zl.optional(),
|
|
6763
6849
|
counterpart_external_reference: e.string().optional(),
|
|
6764
6850
|
counterpart_id: e.uuid(),
|
|
6765
6851
|
counterpart_name: e.string().optional(),
|
|
6766
6852
|
counterpart_shipping_address: V.optional(),
|
|
6767
6853
|
counterpart_tax_id: e.string().optional(),
|
|
6768
6854
|
counterpart_type: o,
|
|
6769
|
-
counterpart_vat_id:
|
|
6855
|
+
counterpart_vat_id: ap.optional(),
|
|
6770
6856
|
currency: c,
|
|
6771
6857
|
deduction_amount: e.int().gte(0).lte(9007199254740991).optional(),
|
|
6772
6858
|
deduction_memo: e.string().optional(),
|
|
@@ -6776,17 +6862,17 @@ var $f = e.object({
|
|
|
6776
6862
|
document_id: e.string().optional(),
|
|
6777
6863
|
document_rendering: z.optional(),
|
|
6778
6864
|
due_date: e.iso.date().optional(),
|
|
6779
|
-
entity: e.union([
|
|
6865
|
+
entity: e.union([kl, Dl]),
|
|
6780
6866
|
entity_address: B,
|
|
6781
|
-
entity_bank_account:
|
|
6867
|
+
entity_bank_account: Ql.optional(),
|
|
6782
6868
|
entity_user_id: e.uuid().optional(),
|
|
6783
|
-
entity_vat_id:
|
|
6869
|
+
entity_vat_id: op.optional(),
|
|
6784
6870
|
file_language: g,
|
|
6785
6871
|
file_url: e.string().optional(),
|
|
6786
6872
|
footer: e.string().optional(),
|
|
6787
6873
|
fulfillment_date: e.iso.date().optional(),
|
|
6788
6874
|
issue_date: e.iso.datetime().optional(),
|
|
6789
|
-
line_items: e.array(
|
|
6875
|
+
line_items: e.array(pp),
|
|
6790
6876
|
memo: e.string().optional(),
|
|
6791
6877
|
original_file_language: g,
|
|
6792
6878
|
original_file_url: e.string().optional(),
|
|
@@ -6795,12 +6881,12 @@ var $f = e.object({
|
|
|
6795
6881
|
partner_metadata: e.record(e.string(), e.unknown()).optional(),
|
|
6796
6882
|
payment_page_url: e.url().min(1).max(2083).optional(),
|
|
6797
6883
|
payment_reminder_id: e.uuid().optional(),
|
|
6798
|
-
payment_terms:
|
|
6884
|
+
payment_terms: oc.optional(),
|
|
6799
6885
|
project_id: e.uuid().optional(),
|
|
6800
6886
|
purchase_order: e.string().max(100).optional(),
|
|
6801
6887
|
recurrence_id: e.uuid().optional(),
|
|
6802
|
-
related_documents:
|
|
6803
|
-
status:
|
|
6888
|
+
related_documents: fu,
|
|
6889
|
+
status: $l,
|
|
6804
6890
|
subtotal: e.int().lte(9007199254740991).optional(),
|
|
6805
6891
|
subtotal_after_tax: e.int().lte(9007199254740991).optional(),
|
|
6806
6892
|
tags: e.array(J).optional().default([]),
|
|
@@ -6812,14 +6898,14 @@ var $f = e.object({
|
|
|
6812
6898
|
total_amount_with_credit_notes: e.int().lte(9007199254740991),
|
|
6813
6899
|
total_deduction_amount: e.int().lte(9007199254740991).optional(),
|
|
6814
6900
|
total_tax_amount: e.int().lte(9007199254740991),
|
|
6815
|
-
total_tax_amounts: e.array(
|
|
6901
|
+
total_tax_amounts: e.array(sf).optional(),
|
|
6816
6902
|
total_withholding_tax: e.int().optional(),
|
|
6817
6903
|
trade_name: e.string().max(255).optional(),
|
|
6818
6904
|
type: e.enum(["invoice"]),
|
|
6819
6905
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6820
6906
|
});
|
|
6821
|
-
e.object({ data: e.array(
|
|
6822
|
-
var
|
|
6907
|
+
e.object({ data: e.array(pp) });
|
|
6908
|
+
var gp = e.object({
|
|
6823
6909
|
id: e.uuid(),
|
|
6824
6910
|
created_at: e.iso.datetime(),
|
|
6825
6911
|
updated_at: e.iso.datetime(),
|
|
@@ -6833,14 +6919,14 @@ var ip = e.object({
|
|
|
6833
6919
|
commercial_condition_description: e.string().optional(),
|
|
6834
6920
|
counterpart_billing_address: V.optional(),
|
|
6835
6921
|
counterpart_business_type: e.string().max(50).optional(),
|
|
6836
|
-
counterpart_contact:
|
|
6922
|
+
counterpart_contact: Zl.optional(),
|
|
6837
6923
|
counterpart_external_reference: e.string().optional(),
|
|
6838
6924
|
counterpart_id: e.uuid(),
|
|
6839
6925
|
counterpart_name: e.string().optional(),
|
|
6840
6926
|
counterpart_shipping_address: V.optional(),
|
|
6841
6927
|
counterpart_tax_id: e.string().optional(),
|
|
6842
6928
|
counterpart_type: o,
|
|
6843
|
-
counterpart_vat_id:
|
|
6929
|
+
counterpart_vat_id: ap.optional(),
|
|
6844
6930
|
currency: c,
|
|
6845
6931
|
deduction_amount: e.int().gte(0).lte(9007199254740991).optional(),
|
|
6846
6932
|
deduction_memo: e.string().optional(),
|
|
@@ -6850,17 +6936,17 @@ var ip = e.object({
|
|
|
6850
6936
|
document_id: e.string().optional(),
|
|
6851
6937
|
document_rendering: z.optional(),
|
|
6852
6938
|
due_date: e.iso.date().optional(),
|
|
6853
|
-
entity: e.union([
|
|
6939
|
+
entity: e.union([kl, Dl]),
|
|
6854
6940
|
entity_address: B,
|
|
6855
|
-
entity_bank_account:
|
|
6941
|
+
entity_bank_account: Ql.optional(),
|
|
6856
6942
|
entity_user_id: e.uuid().optional(),
|
|
6857
|
-
entity_vat_id:
|
|
6943
|
+
entity_vat_id: op.optional(),
|
|
6858
6944
|
expiry_date: e.iso.date().optional(),
|
|
6859
6945
|
file_language: g,
|
|
6860
6946
|
file_url: e.string().optional(),
|
|
6861
6947
|
footer: e.string().optional(),
|
|
6862
6948
|
issue_date: e.iso.datetime().optional(),
|
|
6863
|
-
line_items: e.array(
|
|
6949
|
+
line_items: e.array(pp),
|
|
6864
6950
|
memo: e.string().optional(),
|
|
6865
6951
|
original_file_language: g,
|
|
6866
6952
|
original_file_url: e.string().optional(),
|
|
@@ -6868,7 +6954,7 @@ var ip = e.object({
|
|
|
6868
6954
|
project_id: e.uuid().optional(),
|
|
6869
6955
|
quote_accept_page_url: e.url().min(1).max(65536).optional(),
|
|
6870
6956
|
signature_required: e.boolean().optional(),
|
|
6871
|
-
status:
|
|
6957
|
+
status: dl,
|
|
6872
6958
|
subtotal: e.int().lte(9007199254740991).optional(),
|
|
6873
6959
|
subtotal_after_tax: e.int().lte(9007199254740991).optional(),
|
|
6874
6960
|
tags: e.array(J).optional().default([]),
|
|
@@ -6879,83 +6965,83 @@ var ip = e.object({
|
|
|
6879
6965
|
total_amount: e.int().lte(9007199254740991).optional().default(0),
|
|
6880
6966
|
total_deduction_amount: e.int().lte(9007199254740991).optional(),
|
|
6881
6967
|
total_tax_amount: e.int().lte(9007199254740991),
|
|
6882
|
-
total_tax_amounts: e.array(
|
|
6968
|
+
total_tax_amounts: e.array(sf).optional(),
|
|
6883
6969
|
total_withholding_tax: e.int().optional(),
|
|
6884
6970
|
trade_name: e.string().max(255).optional(),
|
|
6885
6971
|
type: e.enum(["quote"]),
|
|
6886
6972
|
withholding_tax_rate: e.int().gte(0).lte(1e4).optional()
|
|
6887
|
-
}),
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6973
|
+
}), _p = e.union([
|
|
6974
|
+
gp,
|
|
6975
|
+
hp,
|
|
6976
|
+
mp
|
|
6891
6977
|
]);
|
|
6892
6978
|
e.object({
|
|
6893
|
-
data: e.array(
|
|
6979
|
+
data: e.array(_p),
|
|
6894
6980
|
next_pagination_token: e.string().optional(),
|
|
6895
6981
|
prev_pagination_token: e.string().optional()
|
|
6896
6982
|
});
|
|
6897
|
-
var
|
|
6983
|
+
var vp = e.enum(["active", "inactive"]), yp = e.object({
|
|
6898
6984
|
id: e.uuid(),
|
|
6899
6985
|
created_at: e.iso.datetime(),
|
|
6900
6986
|
updated_at: e.iso.datetime(),
|
|
6901
|
-
components: e.array(
|
|
6987
|
+
components: e.array(lp).min(1).max(3).optional(),
|
|
6902
6988
|
country: n,
|
|
6903
|
-
status:
|
|
6989
|
+
status: vp.optional(),
|
|
6904
6990
|
valid_from: e.iso.date().optional(),
|
|
6905
6991
|
valid_until: e.iso.date().optional(),
|
|
6906
6992
|
value: e.number().gte(0).lte(1e4)
|
|
6907
6993
|
});
|
|
6908
|
-
e.object({ data: e.array(
|
|
6909
|
-
var
|
|
6994
|
+
e.object({ data: e.array(yp) });
|
|
6995
|
+
var bp = e.object({
|
|
6910
6996
|
name: e.enum(["entity_vat_type", "counterpart_vat_type"]),
|
|
6911
6997
|
operator: e.enum(["EQ", "NEQ"]),
|
|
6912
6998
|
value: Z
|
|
6913
|
-
}),
|
|
6999
|
+
}), xp = e.enum(["has_valid", "has_no_valid"]), Sp = e.object({
|
|
6914
7000
|
name: e.enum(["entity_vat", "counterpart_vat"]),
|
|
6915
7001
|
operator: e.enum(["EQ", "NEQ"]),
|
|
6916
|
-
value:
|
|
6917
|
-
}),
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
7002
|
+
value: xp
|
|
7003
|
+
}), Cp = e.union([
|
|
7004
|
+
Mu,
|
|
7005
|
+
Pu,
|
|
7006
|
+
Iu,
|
|
7007
|
+
Sp,
|
|
7008
|
+
bp
|
|
6923
7009
|
]);
|
|
6924
7010
|
e.object({
|
|
6925
7011
|
object_type: e.enum(["receivable"]),
|
|
6926
|
-
predicates: e.array(
|
|
7012
|
+
predicates: e.array(Cp),
|
|
6927
7013
|
result_value_id: e.uuid(),
|
|
6928
|
-
vat_condition:
|
|
7014
|
+
vat_condition: tp
|
|
6929
7015
|
}), e.object({
|
|
6930
7016
|
object_type: e.enum(["receivable"]).optional(),
|
|
6931
|
-
predicates: e.array(
|
|
7017
|
+
predicates: e.array(Cp).optional(),
|
|
6932
7018
|
result_value_id: e.uuid().optional(),
|
|
6933
|
-
vat_condition:
|
|
7019
|
+
vat_condition: tp.optional()
|
|
6934
7020
|
});
|
|
6935
|
-
var
|
|
7021
|
+
var wp = e.object({
|
|
6936
7022
|
code: e.string(),
|
|
6937
7023
|
details: e.string()
|
|
6938
|
-
}),
|
|
7024
|
+
}), Tp = e.enum([
|
|
6939
7025
|
"enabled",
|
|
6940
7026
|
"disabled",
|
|
6941
7027
|
"pending"
|
|
6942
7028
|
]);
|
|
6943
7029
|
e.object({
|
|
6944
7030
|
disabled_reason: re.optional(),
|
|
6945
|
-
requirements:
|
|
6946
|
-
requirements_errors: e.array(
|
|
6947
|
-
verification_errors: e.array(
|
|
6948
|
-
verification_status:
|
|
7031
|
+
requirements: ac,
|
|
7032
|
+
requirements_errors: e.array(vu),
|
|
7033
|
+
verification_errors: e.array(wp),
|
|
7034
|
+
verification_status: Tp
|
|
6949
7035
|
}), e.object({ verificationCode: e.string() }), e.object({ isVerified: e.boolean() }), e.object({
|
|
6950
7036
|
id: e.uuid(),
|
|
6951
7037
|
domain: e.string(),
|
|
6952
7038
|
status: e.string()
|
|
6953
7039
|
}), e.object({ organizationIds: e.array(e.uuid()) });
|
|
6954
|
-
var
|
|
7040
|
+
var Ep = e.enum([
|
|
6955
7041
|
"NEW",
|
|
6956
7042
|
"INPUT_REQUIRED",
|
|
6957
7043
|
"ONBOARDED"
|
|
6958
|
-
]),
|
|
7044
|
+
]), Dp = e.enum([
|
|
6959
7045
|
"DRAFT",
|
|
6960
7046
|
"NEW",
|
|
6961
7047
|
"FUNDED",
|
|
@@ -6963,7 +7049,7 @@ var mp = e.enum([
|
|
|
6963
7049
|
"LATE",
|
|
6964
7050
|
"REJECTED",
|
|
6965
7051
|
"DEFAULTED"
|
|
6966
|
-
]),
|
|
7052
|
+
]), Op = e.object({
|
|
6967
7053
|
advance_amount: e.int().gte(0).optional(),
|
|
6968
7054
|
advance_rate_percentage: e.int().gte(0).optional(),
|
|
6969
7055
|
currency: c,
|
|
@@ -6980,18 +7066,18 @@ var mp = e.enum([
|
|
|
6980
7066
|
payer_type: e.string(),
|
|
6981
7067
|
principal_amount: e.int().gte(0).optional(),
|
|
6982
7068
|
repayment_amount: e.int().gte(0).optional(),
|
|
6983
|
-
repayment_schedule:
|
|
7069
|
+
repayment_schedule: _u.optional(),
|
|
6984
7070
|
requested_amount: e.int().gte(0).optional(),
|
|
6985
|
-
status:
|
|
7071
|
+
status: Dp,
|
|
6986
7072
|
total_amount: e.int().gte(0),
|
|
6987
7073
|
type: Qr
|
|
6988
7074
|
});
|
|
6989
7075
|
e.object({
|
|
6990
|
-
data: e.array(
|
|
7076
|
+
data: e.array(Op),
|
|
6991
7077
|
next_pagination_token: e.string().optional(),
|
|
6992
7078
|
prev_pagination_token: e.string().optional()
|
|
6993
7079
|
});
|
|
6994
|
-
var
|
|
7080
|
+
var kp = e.enum([
|
|
6995
7081
|
"NEW",
|
|
6996
7082
|
"ACCEPTED",
|
|
6997
7083
|
"EXPIRED",
|
|
@@ -6999,27 +7085,27 @@ var _p = e.enum([
|
|
|
6999
7085
|
"LATE",
|
|
7000
7086
|
"CLOSED",
|
|
7001
7087
|
"DEFAULTED"
|
|
7002
|
-
]),
|
|
7088
|
+
]), Ap = e.enum([
|
|
7003
7089
|
"MULTIPLE_DURATION",
|
|
7004
7090
|
"FIXED_DURATION",
|
|
7005
7091
|
"FIXED_DATE"
|
|
7006
|
-
]),
|
|
7092
|
+
]), jp = e.object({
|
|
7007
7093
|
advance_rate_percentage: e.int(),
|
|
7008
7094
|
fee_percentage: e.int(),
|
|
7009
7095
|
repayment_duration_days: e.int().optional(),
|
|
7010
|
-
repayment_type:
|
|
7011
|
-
}),
|
|
7096
|
+
repayment_type: Ap
|
|
7097
|
+
}), Mp = e.object({
|
|
7012
7098
|
available_amount: e.int().optional(),
|
|
7013
7099
|
currency: c,
|
|
7014
|
-
pricing_plans: e.array(
|
|
7015
|
-
status:
|
|
7100
|
+
pricing_plans: e.array(jp).min(1),
|
|
7101
|
+
status: kp,
|
|
7016
7102
|
total_amount: e.int()
|
|
7017
7103
|
});
|
|
7018
7104
|
e.object({
|
|
7019
|
-
business_status:
|
|
7020
|
-
offers: e.array(
|
|
7105
|
+
business_status: Ep,
|
|
7106
|
+
offers: e.array(Mp)
|
|
7021
7107
|
});
|
|
7022
|
-
var
|
|
7108
|
+
var Np = e.enum(["created_at", "updated_at"]), Pp = e.object({
|
|
7023
7109
|
id: e.uuid(),
|
|
7024
7110
|
event_id: e.uuid(),
|
|
7025
7111
|
requests_made_count: e.int(),
|
|
@@ -7029,11 +7115,11 @@ var xp = e.enum(["created_at", "updated_at"]), Sp = e.object({
|
|
|
7029
7115
|
was_successful: e.boolean().nullish()
|
|
7030
7116
|
});
|
|
7031
7117
|
e.object({
|
|
7032
|
-
data: e.array(
|
|
7118
|
+
data: e.array(Pp),
|
|
7033
7119
|
next_pagination_token: e.string().nullish(),
|
|
7034
7120
|
prev_pagination_token: e.string().nullish()
|
|
7035
7121
|
});
|
|
7036
|
-
var
|
|
7122
|
+
var Fp = e.enum([
|
|
7037
7123
|
"UNDERWRITING_APPLICATION_UPDATED",
|
|
7038
7124
|
"ACCEPTOR_APPLICATION_APPROVED",
|
|
7039
7125
|
"ACCEPTOR_APPLICATION_SUBMITTED",
|
|
@@ -7053,21 +7139,21 @@ var Cp = e.enum([
|
|
|
7053
7139
|
e.object({
|
|
7054
7140
|
channelConfig: Qi,
|
|
7055
7141
|
channelType: pt,
|
|
7056
|
-
eventType:
|
|
7142
|
+
eventType: Fp
|
|
7057
7143
|
});
|
|
7058
|
-
var
|
|
7144
|
+
var Ip = e.object({
|
|
7059
7145
|
id: e.uuid(),
|
|
7060
7146
|
channelConfig: ft,
|
|
7061
7147
|
channelType: pt,
|
|
7062
7148
|
createdAt: e.iso.datetime().nullish(),
|
|
7063
|
-
eventType:
|
|
7149
|
+
eventType: Fp,
|
|
7064
7150
|
isActive: e.boolean(),
|
|
7065
7151
|
organizationId: e.uuid(),
|
|
7066
7152
|
updatedAt: e.iso.datetime().nullish()
|
|
7067
7153
|
});
|
|
7068
7154
|
e.object({
|
|
7069
7155
|
pagination: zo,
|
|
7070
|
-
subscriptions: e.array(
|
|
7156
|
+
subscriptions: e.array(Ip)
|
|
7071
7157
|
});
|
|
7072
7158
|
var $ = e.enum(/* @__PURE__ */ "account,accounting_connection,approval,approval_request,approval_policy,approval_policy_process,batch_payment,comment,counterpart,counterpart_address,counterpart_bank_account,counterpart_contact_person,counterpart_partner_metadata,counterpart_tax_id,entity,entity_bank_account,entity_settings,entity_user,export,overdue_reminder,partner_settings,payable,payables_credit_note,payables_purchase_order,payable.line_item,payment,payment_intent,payment_link,payment_reminder,product,project,receivable,recurrence,role,tag,todo_task,workflow,workflow_pipeline,ocr_task,delivery_note,receipt,transaction".split(","));
|
|
7073
7159
|
e.object({
|
|
@@ -7075,7 +7161,7 @@ e.object({
|
|
|
7075
7161
|
object_type: $,
|
|
7076
7162
|
url: e.url().min(1).max(2083)
|
|
7077
7163
|
});
|
|
7078
|
-
var
|
|
7164
|
+
var Lp = e.object({
|
|
7079
7165
|
id: e.uuid(),
|
|
7080
7166
|
created_at: e.iso.datetime().nullish(),
|
|
7081
7167
|
action: e.string(),
|
|
@@ -7086,7 +7172,7 @@ var Tp = e.object({
|
|
|
7086
7172
|
object_type: $
|
|
7087
7173
|
});
|
|
7088
7174
|
e.object({
|
|
7089
|
-
data: e.array(
|
|
7175
|
+
data: e.array(Lp),
|
|
7090
7176
|
next_pagination_token: e.string().nullish(),
|
|
7091
7177
|
prev_pagination_token: e.string().nullish()
|
|
7092
7178
|
}), e.object({
|
|
@@ -7104,15 +7190,15 @@ e.object({
|
|
|
7104
7190
|
object_type: $.nullish(),
|
|
7105
7191
|
url: e.url().min(1).max(2083).nullish()
|
|
7106
7192
|
});
|
|
7107
|
-
var
|
|
7193
|
+
var Rp = e.enum(["created_at", "updated_at"]), zp = e.enum(["enabled", "disabled"]), Bp = e.object({
|
|
7108
7194
|
id: e.uuid(),
|
|
7109
7195
|
event_types: e.array(e.string()),
|
|
7110
7196
|
object_type: $,
|
|
7111
|
-
status:
|
|
7197
|
+
status: zp,
|
|
7112
7198
|
url: e.url().min(1).max(2083)
|
|
7113
7199
|
});
|
|
7114
7200
|
e.object({
|
|
7115
|
-
data: e.array(
|
|
7201
|
+
data: e.array(Bp),
|
|
7116
7202
|
next_pagination_token: e.string().nullish(),
|
|
7117
7203
|
prev_pagination_token: e.string().nullish()
|
|
7118
7204
|
}), e.object({
|
|
@@ -7120,7 +7206,7 @@ e.object({
|
|
|
7120
7206
|
event_types: e.array(e.string()),
|
|
7121
7207
|
object_type: $,
|
|
7122
7208
|
secret: e.string(),
|
|
7123
|
-
status:
|
|
7209
|
+
status: zp,
|
|
7124
7210
|
url: e.url().min(1).max(2083)
|
|
7125
7211
|
}), e.object({ version: e.uuid().nullish() }), e.object({
|
|
7126
7212
|
error: e.string(),
|
|
@@ -7130,7 +7216,7 @@ e.object({
|
|
|
7130
7216
|
method: e.string(),
|
|
7131
7217
|
path: e.string()
|
|
7132
7218
|
});
|
|
7133
|
-
var
|
|
7219
|
+
var Vp = e.enum([
|
|
7134
7220
|
"ACTIVE",
|
|
7135
7221
|
"INACTIVE",
|
|
7136
7222
|
"INVITED",
|
|
@@ -7138,7 +7224,7 @@ var kp = e.enum([
|
|
|
7138
7224
|
]);
|
|
7139
7225
|
e.object({
|
|
7140
7226
|
disclosureRequirement: zn,
|
|
7141
|
-
status:
|
|
7227
|
+
status: Vp
|
|
7142
7228
|
}), e.object({
|
|
7143
7229
|
bankName: e.string().nullish(),
|
|
7144
7230
|
disclosuresAccepted: e.boolean().optional(),
|
|
@@ -7146,11 +7232,11 @@ e.object({
|
|
|
7146
7232
|
organizationId: e.uuid().nullish(),
|
|
7147
7233
|
organizationTypes: e.array(k).nullish(),
|
|
7148
7234
|
scopes: e.array(e.string()),
|
|
7149
|
-
status:
|
|
7235
|
+
status: Vp.optional(),
|
|
7150
7236
|
userId: e.uuid().nullish(),
|
|
7151
7237
|
vspName: e.string().nullish()
|
|
7152
7238
|
});
|
|
7153
|
-
var
|
|
7239
|
+
var Hp = e.enum([
|
|
7154
7240
|
"BE",
|
|
7155
7241
|
"GB",
|
|
7156
7242
|
"IT",
|
|
@@ -7158,37 +7244,37 @@ var Ap = e.enum([
|
|
|
7158
7244
|
"NL",
|
|
7159
7245
|
"DE",
|
|
7160
7246
|
"AT"
|
|
7161
|
-
]),
|
|
7247
|
+
]), Up = e.object({
|
|
7162
7248
|
auth_password: e.string(),
|
|
7163
7249
|
auth_user: e.string(),
|
|
7164
7250
|
bank_id: e.string(),
|
|
7165
7251
|
iframe: e.boolean().optional().default(!1),
|
|
7166
|
-
payer_account_country:
|
|
7252
|
+
payer_account_country: Hp,
|
|
7167
7253
|
payer_account_holder_name: e.string().optional(),
|
|
7168
|
-
payer_account_identification:
|
|
7254
|
+
payer_account_identification: Fs,
|
|
7169
7255
|
psu_identification: R.optional(),
|
|
7170
7256
|
save_to_authorized: e.boolean().optional().default(!1),
|
|
7171
7257
|
type: e.enum(["manual_input"]).optional().default("manual_input")
|
|
7172
7258
|
});
|
|
7173
7259
|
e.discriminatedUnion("type", [
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7260
|
+
Up.extend({ type: e.literal("manual_input") }),
|
|
7261
|
+
Yc.extend({ type: e.literal("authorized_bank_account") }),
|
|
7262
|
+
Xc.extend({ type: e.literal("bank_account") })
|
|
7177
7263
|
]);
|
|
7178
|
-
var
|
|
7264
|
+
var Wp = e.object({
|
|
7179
7265
|
bank_id: e.string(),
|
|
7180
7266
|
iframe: e.boolean().optional().default(!1),
|
|
7181
|
-
payer_account_country:
|
|
7267
|
+
payer_account_country: Hp,
|
|
7182
7268
|
payer_account_holder_name: e.string().optional(),
|
|
7183
|
-
payer_account_identification:
|
|
7269
|
+
payer_account_identification: Fs,
|
|
7184
7270
|
psu_identification: R.optional(),
|
|
7185
7271
|
save_to_authorized: e.boolean().optional().default(!1),
|
|
7186
7272
|
type: e.enum(["manual_input"]).optional().default("manual_input")
|
|
7187
7273
|
});
|
|
7188
7274
|
e.discriminatedUnion("type", [
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7275
|
+
Wp.extend({ type: e.literal("manual_input") }),
|
|
7276
|
+
qc.extend({ type: e.literal("authorized_bank_account") }),
|
|
7277
|
+
Jc.extend({ type: e.literal("bank_account") })
|
|
7192
7278
|
]), e.object({
|
|
7193
7279
|
page: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional().default(1),
|
|
7194
7280
|
pageSize: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional().default(10),
|
|
@@ -7227,7 +7313,7 @@ e.discriminatedUnion("type", [
|
|
|
7227
7313
|
limit: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional().default(25),
|
|
7228
7314
|
pagination_token: e.string().optional(),
|
|
7229
7315
|
sortBy: Ue.optional().default("DATE"),
|
|
7230
|
-
sortOrder:
|
|
7316
|
+
sortOrder: zu.optional().default("DESC")
|
|
7231
7317
|
}), e.object({ id: e.uuid() }), e.object({
|
|
7232
7318
|
startDate: e.iso.date().optional(),
|
|
7233
7319
|
endDate: e.iso.date().optional()
|
|
@@ -7279,7 +7365,7 @@ e.discriminatedUnion("type", [
|
|
|
7279
7365
|
order: D.optional().default("asc"),
|
|
7280
7366
|
limit: e.int().gte(1).lte(250).optional().default(250),
|
|
7281
7367
|
pagination_token: e.string().optional(),
|
|
7282
|
-
sort:
|
|
7368
|
+
sort: od.optional(),
|
|
7283
7369
|
object_id: e.uuid().optional(),
|
|
7284
7370
|
object_id__in: e.array(e.uuid()).min(1).optional(),
|
|
7285
7371
|
created_at__gt: e.iso.datetime().optional(),
|
|
@@ -7294,7 +7380,7 @@ e.discriminatedUnion("type", [
|
|
|
7294
7380
|
order: D.optional().default("asc"),
|
|
7295
7381
|
limit: e.int().gte(1).lte(250).optional().default(250),
|
|
7296
7382
|
pagination_token: e.string().optional(),
|
|
7297
|
-
sort:
|
|
7383
|
+
sort: Bd.optional(),
|
|
7298
7384
|
is_external: e.boolean().optional()
|
|
7299
7385
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ tax_rate_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ tax_rate_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ tax_rate_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7300
7386
|
limit: e.int().gte(1).lte(500).optional().default(100),
|
|
@@ -7341,8 +7427,8 @@ e.discriminatedUnion("type", [
|
|
|
7341
7427
|
project_id: e.uuid().optional(),
|
|
7342
7428
|
project_id__in: e.array(e.uuid()).optional()
|
|
7343
7429
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7344
|
-
dimension:
|
|
7345
|
-
metric:
|
|
7430
|
+
dimension: Zo.optional(),
|
|
7431
|
+
metric: us,
|
|
7346
7432
|
aggregation_function: t,
|
|
7347
7433
|
date_dimension_breakdown: l.optional(),
|
|
7348
7434
|
limit: e.int().gte(1).lte(400).optional().default(100),
|
|
@@ -7384,7 +7470,7 @@ e.discriminatedUnion("type", [
|
|
|
7384
7470
|
was_created_by_user_id: e.uuid().optional(),
|
|
7385
7471
|
counterpart_id: e.uuid().optional(),
|
|
7386
7472
|
counterpart_id__in: e.array(e.uuid()).optional(),
|
|
7387
|
-
source_of_payable_data:
|
|
7473
|
+
source_of_payable_data: Vu.optional(),
|
|
7388
7474
|
ocr_status: Oa.optional(),
|
|
7389
7475
|
line_item_id: e.uuid().optional(),
|
|
7390
7476
|
purchase_order_id: e.uuid().optional(),
|
|
@@ -7396,8 +7482,8 @@ e.discriminatedUnion("type", [
|
|
|
7396
7482
|
origin: j.optional(),
|
|
7397
7483
|
has_file: e.boolean().optional()
|
|
7398
7484
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7399
|
-
dimension:
|
|
7400
|
-
metric:
|
|
7485
|
+
dimension: ml.optional(),
|
|
7486
|
+
metric: vl,
|
|
7401
7487
|
aggregation_function: t,
|
|
7402
7488
|
date_dimension_breakdown: l.optional(),
|
|
7403
7489
|
limit: e.int().gte(1).lte(400).optional().default(100),
|
|
@@ -7424,8 +7510,8 @@ e.discriminatedUnion("type", [
|
|
|
7424
7510
|
authorization: e.string().optional(),
|
|
7425
7511
|
"x-organization-id": e.uuid()
|
|
7426
7512
|
}), e.object({
|
|
7427
|
-
dimension:
|
|
7428
|
-
metric:
|
|
7513
|
+
dimension: wl.optional(),
|
|
7514
|
+
metric: Bl,
|
|
7429
7515
|
aggregation_function: t,
|
|
7430
7516
|
date_dimension_breakdown: l.optional(),
|
|
7431
7517
|
order: D.optional().default("asc"),
|
|
@@ -7448,13 +7534,13 @@ e.discriminatedUnion("type", [
|
|
|
7448
7534
|
"canceled"
|
|
7449
7535
|
])).optional(),
|
|
7450
7536
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
7451
|
-
sort:
|
|
7537
|
+
sort: Sl.optional(),
|
|
7452
7538
|
tag_ids__in: e.array(e.uuid()).optional(),
|
|
7453
7539
|
tag_ids: e.array(e.uuid()).optional(),
|
|
7454
7540
|
product_ids__in: e.array(e.uuid()).optional(),
|
|
7455
7541
|
product_ids: e.array(e.uuid()).optional(),
|
|
7456
7542
|
project_id__in: e.array(e.uuid()).optional(),
|
|
7457
|
-
type:
|
|
7543
|
+
type: Wl.optional(),
|
|
7458
7544
|
document_id: e.string().optional(),
|
|
7459
7545
|
document_id__contains: e.string().optional(),
|
|
7460
7546
|
document_id__icontains: e.string().optional(),
|
|
@@ -7504,8 +7590,8 @@ e.discriminatedUnion("type", [
|
|
|
7504
7590
|
project_id: e.uuid().optional(),
|
|
7505
7591
|
search_text: e.string().optional()
|
|
7506
7592
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7507
|
-
dimension:
|
|
7508
|
-
metric:
|
|
7593
|
+
dimension: df.optional(),
|
|
7594
|
+
metric: pf,
|
|
7509
7595
|
aggregation_function: t,
|
|
7510
7596
|
date_dimension_breakdown: l.optional(),
|
|
7511
7597
|
limit: e.int().gte(1).lte(400).optional().default(100),
|
|
@@ -7517,7 +7603,7 @@ e.discriminatedUnion("type", [
|
|
|
7517
7603
|
started_at__gt: e.iso.datetime().optional(),
|
|
7518
7604
|
started_at__lt: e.iso.datetime().optional(),
|
|
7519
7605
|
payment_processing_status__in: e.array(X).optional(),
|
|
7520
|
-
type__in: e.array(
|
|
7606
|
+
type__in: e.array(yf).optional(),
|
|
7521
7607
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
7522
7608
|
external_id__in: e.array(e.string()).optional(),
|
|
7523
7609
|
amount__gt: e.int().optional(),
|
|
@@ -7527,8 +7613,8 @@ e.discriminatedUnion("type", [
|
|
|
7527
7613
|
merchant_amount__lt: e.int().optional(),
|
|
7528
7614
|
merchant_currency__in: e.array(c).optional(),
|
|
7529
7615
|
merchant_name__icontains: e.string().optional(),
|
|
7530
|
-
payment_method:
|
|
7531
|
-
payment_method__in: e.array(
|
|
7616
|
+
payment_method: hf.optional(),
|
|
7617
|
+
payment_method__in: e.array(hf).optional(),
|
|
7532
7618
|
expense_status: p.optional(),
|
|
7533
7619
|
expense_status__in: e.array(p).optional(),
|
|
7534
7620
|
has_receipt: e.boolean().optional()
|
|
@@ -7602,7 +7688,7 @@ e.discriminatedUnion("type", [
|
|
|
7602
7688
|
order: D.optional().default("asc"),
|
|
7603
7689
|
limit: e.int().gte(1).lte(250).optional().default(250),
|
|
7604
7690
|
pagination_token: e.string().optional(),
|
|
7605
|
-
sort:
|
|
7691
|
+
sort: zd.optional(),
|
|
7606
7692
|
is_external: e.boolean().optional()
|
|
7607
7693
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ cost_center_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ cost_center_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ cost_center_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7608
7694
|
iban: e.string().max(34).optional(),
|
|
@@ -7702,7 +7788,7 @@ e.discriminatedUnion("type", [
|
|
|
7702
7788
|
object_id: e.uuid().nullish(),
|
|
7703
7789
|
field_name: e.string().nullish(),
|
|
7704
7790
|
field_value: e.string().nullish()
|
|
7705
|
-
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.array(
|
|
7791
|
+
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ extra_data_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.array(rd), e.object({ "x-organization-id": e.uuid() }), e.object({ document_export_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
7706
7792
|
order: D.optional().default("asc"),
|
|
7707
7793
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
7708
7794
|
pagination_token: e.string().optional(),
|
|
@@ -7727,7 +7813,7 @@ e.discriminatedUnion("type", [
|
|
|
7727
7813
|
delivery_date__lt: e.iso.date().optional(),
|
|
7728
7814
|
delivery_date__gte: e.iso.date().optional(),
|
|
7729
7815
|
delivery_date__lte: e.iso.date().optional()
|
|
7730
|
-
}), e.union([
|
|
7816
|
+
}), e.union([Of, Nn]), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ delivery_note_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ delivery_note_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ delivery_note_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ delivery_note_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ delivery_note_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ document_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ document_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ document_template_id: e.uuid() }), e.string(), e.object({
|
|
7731
7817
|
object_type: e.string(),
|
|
7732
7818
|
entity_id: e.uuid()
|
|
7733
7819
|
}), e.object({ entity_id: e.uuid() }), e.object({
|
|
@@ -7791,8 +7877,8 @@ e.discriminatedUnion("type", [
|
|
|
7791
7877
|
sort: Zr.optional(),
|
|
7792
7878
|
invoice_id: e.uuid().optional(),
|
|
7793
7879
|
invoice_id__in: e.array(e.uuid()).optional(),
|
|
7794
|
-
status:
|
|
7795
|
-
status__in: e.array(
|
|
7880
|
+
status: Dp.optional(),
|
|
7881
|
+
status__in: e.array(Dp).optional(),
|
|
7796
7882
|
type: Qr.optional(),
|
|
7797
7883
|
type__in: e.array(Qr).optional(),
|
|
7798
7884
|
document_id: e.string().optional(),
|
|
@@ -7827,7 +7913,7 @@ e.discriminatedUnion("type", [
|
|
|
7827
7913
|
}), e.object({
|
|
7828
7914
|
payment_intent_id: e.uuid(),
|
|
7829
7915
|
consent_id: e.string()
|
|
7830
|
-
}), e.object({ payment_intent_id: e.uuid() }), e.object({ auth_flow: e.array(
|
|
7916
|
+
}), e.object({ payment_intent_id: e.uuid() }), e.object({ auth_flow: e.array(id).optional().default(["redirect"]) }), e.object({ "user-agent": e.string().optional() }), e.object({ payment_intent_id: e.uuid() }), e.object({ payment_intent_id: e.uuid() }), e.void(), e.object({ payment_intent_id: e.uuid() }), e.object({ payment_link_id: e.uuid() }), e.object({ payment_link_id: e.uuid() }), e.object({
|
|
7831
7917
|
partner_id: e.uuid(),
|
|
7832
7918
|
project_id: e.uuid()
|
|
7833
7919
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
@@ -7958,7 +8044,7 @@ e.discriminatedUnion("type", [
|
|
|
7958
8044
|
order: D.optional().default("asc"),
|
|
7959
8045
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
7960
8046
|
pagination_token: e.string().optional(),
|
|
7961
|
-
sort:
|
|
8047
|
+
sort: el.optional(),
|
|
7962
8048
|
created_at__gt: e.iso.datetime().optional(),
|
|
7963
8049
|
created_at__lt: e.iso.datetime().optional(),
|
|
7964
8050
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -7971,7 +8057,7 @@ e.discriminatedUnion("type", [
|
|
|
7971
8057
|
issued_at__lt: e.iso.datetime().optional(),
|
|
7972
8058
|
issued_at__gte: e.iso.datetime().optional(),
|
|
7973
8059
|
issued_at__lte: e.iso.datetime().optional(),
|
|
7974
|
-
status:
|
|
8060
|
+
status: sl.optional(),
|
|
7975
8061
|
document_id: e.string().optional(),
|
|
7976
8062
|
document_id__in: e.array(e.string()).optional(),
|
|
7977
8063
|
created_by: e.uuid().optional(),
|
|
@@ -7985,7 +8071,7 @@ e.discriminatedUnion("type", [
|
|
|
7985
8071
|
order: D.optional().default("asc"),
|
|
7986
8072
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
7987
8073
|
pagination_token: e.string().optional(),
|
|
7988
|
-
sort:
|
|
8074
|
+
sort: Xo.optional(),
|
|
7989
8075
|
created_at__gt: e.iso.datetime().optional(),
|
|
7990
8076
|
created_at__lt: e.iso.datetime().optional(),
|
|
7991
8077
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -8024,7 +8110,7 @@ e.discriminatedUnion("type", [
|
|
|
8024
8110
|
was_created_by_user_id: e.uuid().optional(),
|
|
8025
8111
|
counterpart_id: e.uuid().optional(),
|
|
8026
8112
|
counterpart_id__in: e.array(e.uuid()).optional(),
|
|
8027
|
-
source_of_payable_data:
|
|
8113
|
+
source_of_payable_data: Vu.optional(),
|
|
8028
8114
|
ocr_status: Oa.optional(),
|
|
8029
8115
|
line_item_id: e.uuid().optional(),
|
|
8030
8116
|
purchase_order_id: e.uuid().optional(),
|
|
@@ -8074,7 +8160,7 @@ e.discriminatedUnion("type", [
|
|
|
8074
8160
|
was_created_by_user_id: e.uuid().optional(),
|
|
8075
8161
|
counterpart_id: e.uuid().optional(),
|
|
8076
8162
|
counterpart_id__in: e.array(e.uuid()).optional(),
|
|
8077
|
-
source_of_payable_data:
|
|
8163
|
+
source_of_payable_data: Vu.optional(),
|
|
8078
8164
|
ocr_status: Oa.optional(),
|
|
8079
8165
|
line_item_id: e.uuid().optional(),
|
|
8080
8166
|
purchase_order_id: e.uuid().optional(),
|
|
@@ -8089,8 +8175,8 @@ e.discriminatedUnion("type", [
|
|
|
8089
8175
|
order: D.optional().default("asc"),
|
|
8090
8176
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8091
8177
|
pagination_token: e.string().optional(),
|
|
8092
|
-
sort:
|
|
8093
|
-
event_type__in: e.array(
|
|
8178
|
+
sort: ts.optional(),
|
|
8179
|
+
event_type__in: e.array(ns).optional(),
|
|
8094
8180
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
8095
8181
|
timestamp__gt: e.iso.datetime().optional(),
|
|
8096
8182
|
timestamp__lt: e.iso.datetime().optional(),
|
|
@@ -8115,14 +8201,14 @@ e.discriminatedUnion("type", [
|
|
|
8115
8201
|
order: D.optional().default("asc"),
|
|
8116
8202
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8117
8203
|
pagination_token: e.string().optional(),
|
|
8118
|
-
sort:
|
|
8204
|
+
sort: Is.optional(),
|
|
8119
8205
|
object_id: e.uuid().optional(),
|
|
8120
8206
|
object_id__in: e.array(e.uuid()).optional()
|
|
8121
8207
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_intent_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_intent_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_intent_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_link_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_link_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ receivable_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8122
8208
|
order: D.optional().default("asc"),
|
|
8123
8209
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8124
8210
|
pagination_token: e.string().optional(),
|
|
8125
|
-
sort:
|
|
8211
|
+
sort: $s.optional(),
|
|
8126
8212
|
is_external: e.boolean().optional(),
|
|
8127
8213
|
object_id: e.uuid().optional(),
|
|
8128
8214
|
object_id__in: e.array(e.uuid()).optional(),
|
|
@@ -8138,14 +8224,14 @@ e.discriminatedUnion("type", [
|
|
|
8138
8224
|
planned_payment_date__lt: e.iso.date().optional(),
|
|
8139
8225
|
planned_payment_date__gte: e.iso.date().optional(),
|
|
8140
8226
|
planned_payment_date__lte: e.iso.date().optional(),
|
|
8141
|
-
status:
|
|
8227
|
+
status: nc.optional(),
|
|
8142
8228
|
payment_intent_status: e.string().optional(),
|
|
8143
8229
|
payment_method: e.string().optional()
|
|
8144
8230
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_record_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_record_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_record_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_record_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_record_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_reminder_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_reminder_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_reminder_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_terms_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_terms_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ payment_terms_id: e.uuid() }), e.object({ tier_id: e.uuid() }), e.void(), e.object({ tier_id: e.uuid() }), e.object({ tier_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ person_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8145
8231
|
order: D.optional().default("asc"),
|
|
8146
8232
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8147
8233
|
pagination_token: e.string().optional(),
|
|
8148
|
-
sort:
|
|
8234
|
+
sort: Vc.optional(),
|
|
8149
8235
|
id__in: e.array(e.uuid()).optional(),
|
|
8150
8236
|
name: e.string().max(100).optional(),
|
|
8151
8237
|
name__contains: e.string().max(100).optional(),
|
|
@@ -8167,7 +8253,7 @@ e.discriminatedUnion("type", [
|
|
|
8167
8253
|
order: D.optional().default("asc"),
|
|
8168
8254
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8169
8255
|
pagination_token: e.string().optional(),
|
|
8170
|
-
sort:
|
|
8256
|
+
sort: Gc.optional(),
|
|
8171
8257
|
created_at__gt: e.iso.datetime().optional(),
|
|
8172
8258
|
created_at__lt: e.iso.datetime().optional(),
|
|
8173
8259
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -8192,7 +8278,7 @@ e.discriminatedUnion("type", [
|
|
|
8192
8278
|
order: D.optional().default("asc"),
|
|
8193
8279
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8194
8280
|
pagination_token: e.string().optional(),
|
|
8195
|
-
sort:
|
|
8281
|
+
sort: pl.optional(),
|
|
8196
8282
|
created_at__gt: e.iso.datetime().optional(),
|
|
8197
8283
|
created_at__lt: e.iso.datetime().optional(),
|
|
8198
8284
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -8216,7 +8302,7 @@ e.discriminatedUnion("type", [
|
|
|
8216
8302
|
order: D.optional().default("asc"),
|
|
8217
8303
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8218
8304
|
pagination_token: e.string().optional(),
|
|
8219
|
-
sort:
|
|
8305
|
+
sort: hl.optional(),
|
|
8220
8306
|
created_at__gt: e.iso.datetime().optional(),
|
|
8221
8307
|
created_at__lt: e.iso.datetime().optional(),
|
|
8222
8308
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -8260,13 +8346,13 @@ e.discriminatedUnion("type", [
|
|
|
8260
8346
|
"canceled"
|
|
8261
8347
|
])).optional(),
|
|
8262
8348
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
8263
|
-
sort:
|
|
8349
|
+
sort: Sl.optional(),
|
|
8264
8350
|
tag_ids__in: e.array(e.uuid()).optional(),
|
|
8265
8351
|
tag_ids: e.array(e.uuid()).optional(),
|
|
8266
8352
|
product_ids__in: e.array(e.uuid()).optional(),
|
|
8267
8353
|
product_ids: e.array(e.uuid()).optional(),
|
|
8268
8354
|
project_id__in: e.array(e.uuid()).optional(),
|
|
8269
|
-
type:
|
|
8355
|
+
type: Wl.optional(),
|
|
8270
8356
|
document_id: e.string().optional(),
|
|
8271
8357
|
document_id__contains: e.string().optional(),
|
|
8272
8358
|
document_id__icontains: e.string().optional(),
|
|
@@ -8353,8 +8439,8 @@ e.discriminatedUnion("type", [
|
|
|
8353
8439
|
order: D.optional().default("asc"),
|
|
8354
8440
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8355
8441
|
pagination_token: e.string().optional(),
|
|
8356
|
-
sort:
|
|
8357
|
-
event_type__in: e.array(
|
|
8442
|
+
sort: Ml.optional(),
|
|
8443
|
+
event_type__in: e.array(Nl).optional(),
|
|
8358
8444
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
8359
8445
|
timestamp__gt: e.iso.datetime().optional(),
|
|
8360
8446
|
timestamp__lt: e.iso.datetime().optional(),
|
|
@@ -8376,9 +8462,9 @@ e.discriminatedUnion("type", [
|
|
|
8376
8462
|
order: D.optional().default("asc"),
|
|
8377
8463
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8378
8464
|
pagination_token: e.string().optional(),
|
|
8379
|
-
sort:
|
|
8380
|
-
status:
|
|
8381
|
-
status__in: e.array(
|
|
8465
|
+
sort: Pl.optional(),
|
|
8466
|
+
status: Ll.optional(),
|
|
8467
|
+
status__in: e.array(Ll).optional(),
|
|
8382
8468
|
created_at__gt: e.iso.datetime().optional(),
|
|
8383
8469
|
created_at__lt: e.iso.datetime().optional(),
|
|
8384
8470
|
created_at__gte: e.iso.datetime().optional(),
|
|
@@ -8413,18 +8499,18 @@ e.discriminatedUnion("type", [
|
|
|
8413
8499
|
}), e.object({ receivable_id: e.uuid() }), e.object({
|
|
8414
8500
|
authorization: e.string().optional(),
|
|
8415
8501
|
"x-organization-id": e.uuid()
|
|
8416
|
-
}), e.object({ receivable_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.array(
|
|
8417
|
-
receivable: e.array(
|
|
8502
|
+
}), e.object({ receivable_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ recurrence_id: e.uuid() }), e.array(du), e.object({
|
|
8503
|
+
receivable: e.array(jl),
|
|
8418
8504
|
entity_organization: e.array(lr),
|
|
8419
8505
|
entity_individual: e.array(ar),
|
|
8420
8506
|
counterpart_organization: e.array(Et),
|
|
8421
8507
|
counterpart_individual: e.array(St),
|
|
8422
|
-
product: e.array(
|
|
8508
|
+
product: e.array(Hc)
|
|
8423
8509
|
}), e.object({ regulatory_template_id: e.uuid() }), e.void(), e.object({ regulatory_template_id: e.uuid() }), e.object({ regulatory_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8424
8510
|
order: D.optional().default("asc"),
|
|
8425
8511
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8426
8512
|
pagination_token: e.string().nullish(),
|
|
8427
|
-
sort:
|
|
8513
|
+
sort: yu.nullish(),
|
|
8428
8514
|
id__in: e.array(e.uuid()).nullish(),
|
|
8429
8515
|
name: e.string().nullish(),
|
|
8430
8516
|
created_at: e.iso.datetime().nullish(),
|
|
@@ -8434,33 +8520,33 @@ e.discriminatedUnion("type", [
|
|
|
8434
8520
|
created_at__lte: e.iso.datetime().nullish()
|
|
8435
8521
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ role_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ role_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ role_id: e.uuid() }), e.object({
|
|
8436
8522
|
object_type: e.enum(["receivable"]).optional(),
|
|
8437
|
-
predicates__name__in: e.array(
|
|
8523
|
+
predicates__name__in: e.array(Dc).optional(),
|
|
8438
8524
|
result_value_id: e.uuid().optional(),
|
|
8439
8525
|
created_at: e.iso.datetime().optional(),
|
|
8440
8526
|
created_at__gt: e.iso.datetime().optional(),
|
|
8441
8527
|
created_at__lt: e.iso.datetime().optional(),
|
|
8442
8528
|
created_at__gte: e.iso.datetime().optional(),
|
|
8443
8529
|
created_at__lte: e.iso.datetime().optional()
|
|
8444
|
-
}), e.array(
|
|
8530
|
+
}), e.array(np), e.object({ rule_id: e.uuid() }), e.void(), e.object({ rule_id: e.uuid() }), e.object({ rule_id: e.uuid() }), e.boolean(), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8445
8531
|
order: D.optional().default("asc"),
|
|
8446
8532
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8447
8533
|
pagination_token: e.string().optional(),
|
|
8448
|
-
sort:
|
|
8534
|
+
sort: Td.optional(),
|
|
8449
8535
|
created_by_entity_user_id: e.uuid().optional(),
|
|
8450
8536
|
name__in: e.array(e.string()).optional(),
|
|
8451
8537
|
id__in: e.array(e.uuid()).optional(),
|
|
8452
8538
|
category: K.optional(),
|
|
8453
8539
|
category__in: e.array(K).optional()
|
|
8454
8540
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ tag_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ tag_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ tag_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8455
|
-
type:
|
|
8456
|
-
document_type:
|
|
8541
|
+
type: rf.nullish(),
|
|
8542
|
+
document_type: nf.nullish(),
|
|
8457
8543
|
is_default: e.boolean().nullish()
|
|
8458
8544
|
}), e.object({ "x-organization-id": e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ text_template_id: e.uuid() }), e.void(), e.object({ "x-organization-id": e.uuid() }), e.object({ text_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ text_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ text_template_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
|
|
8459
8545
|
has_validation_errors: e.boolean().optional(),
|
|
8460
8546
|
order: D.optional().default("asc"),
|
|
8461
8547
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8462
8548
|
pagination_token: e.string().optional(),
|
|
8463
|
-
sort:
|
|
8549
|
+
sort: uf.optional(),
|
|
8464
8550
|
created_at__gt: e.iso.datetime().optional(),
|
|
8465
8551
|
created_at__lt: e.iso.datetime().optional(),
|
|
8466
8552
|
updated_at__gt: e.iso.datetime().optional(),
|
|
@@ -8468,7 +8554,7 @@ e.discriminatedUnion("type", [
|
|
|
8468
8554
|
started_at__gt: e.iso.datetime().optional(),
|
|
8469
8555
|
started_at__lt: e.iso.datetime().optional(),
|
|
8470
8556
|
payment_processing_status__in: e.array(X).optional(),
|
|
8471
|
-
type__in: e.array(
|
|
8557
|
+
type__in: e.array(yf).optional(),
|
|
8472
8558
|
entity_user_id__in: e.array(e.uuid()).optional(),
|
|
8473
8559
|
external_id__in: e.array(e.string()).optional(),
|
|
8474
8560
|
amount__gt: e.int().optional(),
|
|
@@ -8478,8 +8564,8 @@ e.discriminatedUnion("type", [
|
|
|
8478
8564
|
merchant_amount__lt: e.int().optional(),
|
|
8479
8565
|
merchant_currency__in: e.array(c).optional(),
|
|
8480
8566
|
merchant_name__icontains: e.string().optional(),
|
|
8481
|
-
payment_method:
|
|
8482
|
-
payment_method__in: e.array(
|
|
8567
|
+
payment_method: hf.optional(),
|
|
8568
|
+
payment_method__in: e.array(hf).optional(),
|
|
8483
8569
|
expense_status: p.optional(),
|
|
8484
8570
|
expense_status__in: e.array(p).optional(),
|
|
8485
8571
|
has_receipt: e.boolean().optional()
|
|
@@ -8498,7 +8584,7 @@ e.discriminatedUnion("type", [
|
|
|
8498
8584
|
order: D.optional().default("asc"),
|
|
8499
8585
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8500
8586
|
pagination_token: e.string().nullish(),
|
|
8501
|
-
sort:
|
|
8587
|
+
sort: Np.nullish(),
|
|
8502
8588
|
event_id: e.uuid().nullish(),
|
|
8503
8589
|
object_type: $.nullish(),
|
|
8504
8590
|
event_action: e.string().nullish(),
|
|
@@ -8510,7 +8596,7 @@ e.discriminatedUnion("type", [
|
|
|
8510
8596
|
order: D.optional().default("asc"),
|
|
8511
8597
|
limit: e.int().gte(1).lte(100).optional().default(100),
|
|
8512
8598
|
pagination_token: e.string().nullish(),
|
|
8513
|
-
sort:
|
|
8599
|
+
sort: Rp.nullish(),
|
|
8514
8600
|
object_type: $.nullish(),
|
|
8515
8601
|
created_at__gt: e.iso.datetime().nullish(),
|
|
8516
8602
|
created_at__lt: e.iso.datetime().nullish(),
|
|
@@ -8564,7 +8650,7 @@ e.discriminatedUnion("type", [
|
|
|
8564
8650
|
Limit: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional(),
|
|
8565
8651
|
PaginationToken: e.string().optional(),
|
|
8566
8652
|
ReportingManagerUserId: e.uuid().optional(),
|
|
8567
|
-
Status:
|
|
8653
|
+
Status: Yf.optional()
|
|
8568
8654
|
}), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ userId: e.uuid() }), e.object({ userId: e.uuid() }), e.object({ userId: e.uuid() });
|
|
8569
8655
|
//#endregion
|
|
8570
|
-
export { te as zAcceptInvitationAuthenticationDto, ne as zAccountDataBlock, re as zAccountDisabledReason, Cs as zAccountIdentification, hr as zAccountingConnectionResponse, ie as zAccountingCostCenterResponse, ae as zAccountingCustomerRefObject, ce as zAccountingLineItem, de as zAccountingPayable, oe as zAccountingPurchaseOrderRef, le as zAccountingReceivable, se as zAccountingRefObject, Mn as zAccountingSettings, vd as zAccountingTaxRateResponse, ue as zAccountingVendorRefObject, fe as zActionEnum, nc as zActionSchema, Rt as zAddress, pe as zAddressData, me as zAddressDto, Ka as zAddressInput, s as zAddressOutput, t as zAggregationFunctionEnum, he as zAirwallexData, n as zAllowedCountries, ge as zAllowedFileTypes, r as zAmountOutput, bu as zAmountPredicate, _e as zAnalyticsDataPoint, ee as zApiVersion, ve as zApplicationListResponseDto, ye as zApplicationOwnership, be as zApplicationProduct, xe as zApplicationStatusEntry, Se as zApprovalActionEventData, Ce as zApprovalPolicyCursorFields, ya as zApprovalPolicyResource, we as zApprovalPolicyStatus, ke as zApprovalProcessStepResource, Te as zApprovalProcessStepStatus, ba as zApprovalRequestCreateByReportingManagerRequest, xa as zApprovalRequestCreateByRoleRequest, Sa as zApprovalRequestCreateByUserRequest, Ee as zApprovalRequestCursorFields, Ca as zApprovalRequestResourceWithMetadata, De as zApprovalRequestStatus, Oe as zApprovalTypeEnum, i as zAttachmentRequest, Ae as zAttachmentResponse, je as zAuthorizedBankAccount, Fc as zAuthorizedBankAccountPayload, Me as zAutomationLevel, qu as zBank, dn as zBankAccount, Ne as zBankAccountAccessActionType, cc as zBankAccountApplicantInput, zt as zBankAccountApplicantOutput, Pe as zBankAccountApplicationStatusDto, Fe as zBankAccountApplicationSummary, gi as zBankAccountApplicationSummaryResponse, Ie as zBankAccountInfo, Ic as zBankAccountPayload, pn as zBankAccountPaymentMethod, fn as zBankAccountPaymentMethodDetails, Le as zBankAccountSnapshot, Re as zBankAccountSourceDto, ze as zBankAccountStatus, Be as zBankAccountSummary, Ve as zBankAccountTransactionDirectionDto, He as zBankAccountTransactionResponse, Ue as zBankAccountTransactionSortFieldDto, We as zBankAccountTransferAccountOutput, Ge as zBankAccountTransferNetworkTypeDto, Je as zBankAccountTransferResponse, Ke as zBankAccountTransferStatusDto, qe as zBankAccountTransferTypeDto, Ye as zBankAccountTypeEnum, Xe as zBankAccountWithBalanceResponse, Ze as zBankAccountWithSourceInput, Nl as zBasedOnReceivableCreatedEventData, Qe as zBasedOnTransitionType, $e as zBatchPaymentIntentsRecipient, Ps as zBatchSinglePaymentIntent, Bt as zBeneficialOwnerResponse, du as zBizObjectsSchema, et as zBulkMembershipType, tt as zBulkUpdatePermissionType, Cd as zBusinessDetailsInput, na as zBusinessDetailsOutput, nt as zBusinessInfoSchema, lc as zBusinessOwnerInput, Vt as zBusinessOwnerOutput, _r as zBusinessProfile, rt as zBusinessStructureType, it as zBusinessVerificationStatusDto, at as zButtonTheme, ot as zCardBrand, ut as zCardPaymentMethod, lt as zCardPaymentMethodDetails, st as zCardTheme, ct as zCardTypeEnum, Qi as zChannelConfigRequest, Zi as zChannelConfigRequestWebhookChannelConfigRequest, ft as zChannelConfigResponse, dt as zChannelConfigResponseWebhookChannelConfigResponse, pt as zChannelType, mt as zCommentCursorFields, Pu as zCommentResource, ht as zCommercialConditionsBlock, P as zCommonSchema, gt as zConnectionStatus, _t as zConsentState, a as zCounterpartAddress, vt as zCounterpartAddressResponseWithCounterpartId, mn as zCounterpartBankAccountResponse, yt as zCounterpartContactResponse, bt as zCounterpartCursorFields, Ur as zCounterpartFields, xt as zCounterpartIndividualCreatePayload, St as zCounterpartIndividualFieldsEnum, $u as zCounterpartIndividualResponse, vi as zCounterpartIndividualRootCreatePayload, ed as zCounterpartIndividualRootResponse, yi as zCounterpartIndividualRootUpdatePayload, Ct as zCounterpartIndividualUpdatePayload, wt as zCounterpartInfoBlock, Tt as zCounterpartOrganizationCreatePayload, Et as zCounterpartOrganizationFieldsEnum, td as zCounterpartOrganizationResponse, bi as zCounterpartOrganizationRootCreatePayload, nd as zCounterpartOrganizationRootResponse, xi as zCounterpartOrganizationRootUpdatePayload, Dt as zCounterpartOrganizationUpdatePayload, Ot as zCounterpartRawAddress, kt as zCounterpartRawAddressUpdateRequest, At as zCounterpartRawBankAccount, jt as zCounterpartRawBankAccountUpdateRequest, Nt as zCounterpartRawData, Ft as zCounterpartRawDataUpdateRequest, Mt as zCounterpartRawVatId, Pt as zCounterpartRawVatIdUpdateRequest, rd as zCounterpartResponse, It as zCounterpartSchema, q as zCounterpartTagSchema, o as zCounterpartType, Gf as zCounterpartVatIdResponse, Lt as zCountryCode, Su as zCountryPredicate, Ht as zCreateOrganizationType, uc as zCreditCardApplicantInput, Ut as zCreditCardApplicantOutput, Wt as zCreditCardApplicationStatusDto, wd as zCreditCardBusinessDetailsInput, ra as zCreditCardBusinessDetailsOutput, Gt as zCreditCardCloseReason, Kt as zCreditCardFormat, $t as zCreditCardResponse, qt as zCreditCardStatus, Jt as zCreditCardTransactionDirection, Zt as zCreditCardTransactionResponse, Yt as zCreditCardTransactionStatus, Xt as zCreditCardTransactionType, Qt as zCreditCardType, en as zCreditNoteCursorFields, tn as zCreditNoteDimensionEnum, nn as zCreditNoteFieldsAllowedForValidate, rn as zCreditNoteLineItemCreateRequest, an as zCreditNoteLineItemCursorFields, on as zCreditNoteLineItemResponse, sn as zCreditNoteMetricEnum, cn as zCreditNoteRenderingSettings, md as zCreditNoteResponse, np as zCreditNoteResponsePayload, ln as zCreditNoteStateEnum, un as zCurrencyDetails, c as zCurrencyEnum, hn as zCurrencyExchangeSchema, gn as zCurrencyExchangeSchema2, br as zCurrencySettings, _n as zCursorFields, Qf as zCustomTaxRateResponse, vn as zCustomTemplateDataSchema, yn as zCustomTemplatesCursorFields, wn as zDataExportCursorFields, l as zDateDimensionBreakdownEnum, qa as zDebitCardApplicantRequest, Dn as zDebitCardResponse, Tn as zDebitCardStatus, En as zDebitCardType, u as zDeductionItem, On as zDefaultAccountingTaxIds, An as zDefaultBankAccount, kn as zDefaultBankAccountType, jn as zDefaultLedgerAccountIds, id as zDeliveryNoteCounterpartIndividual, ad as zDeliveryNoteCounterpartOrganization, od as zDeliveryNoteCounterpartResource, Nn as zDeliveryNoteCreateBasedOnRequest, hf as zDeliveryNoteCreateLineItem, gf as zDeliveryNoteCreateRequest, Pn as zDeliveryNoteCursorFields, mf as zDeliveryNoteLineItemProduct, _f as zDeliveryNoteLineItemResource, vu as zDeliveryNoteRenderPayload, vf as zDeliveryNoteResource, Fn as zDeliveryNoteStatusEnum, In as zDepartmentListItem, Ln as zDepartmentMember, Rn as zDisclosureDocumentDto, zn as zDisclosureRequirement, d as zDiscount, Vn as zDiscountResponse, Bn as zDiscountType, Sn as zDnsRecord, bn as zDnsRecordPurpose, xn as zDnsRecordType, Cn as zDnsRecords, Hn as zDocumentExportResponseSchema, Un as zDocumentIdSeparators, Jn as zDocumentIdsSettings, Wn as zDocumentIdsSettingsNextNumber, Yn as zDocumentIdsSettingsRequest, Gn as zDocumentInfoBlock, f as zDocumentObjectTypeRequestEnum, z as zDocumentRenderingSettings, Kn as zDocumentTypeEnum, qn as zDocumentTypePrefix, Xn as zDomainResponse, Zn as zDownloadType, Qn as zEmail, Lc as zEmbeddedAuthorizedBankAccountPayload, Rc as zEmbeddedBankAccountPayload, bd as zEmbeddedBusinessDataResponseDto, jp as zEmbeddedManuallySpecifiedPayload, $n as zEntityAddressResponseSchema, er as zEntityAddressSchema, tr as zEntityBankAccountResponse, nr as zEntityBusinessStructure, rr as zEntityContactBlock, ir as zEntityCursorFields, Wr as zEntityFields, ar as zEntityIndividualFieldsEnum, bc as zEntityIndividualResponse, or as zEntityInfoBlock, sr as zEntityLogoBlock, cr as zEntityMailSettings, lr as zEntityOrganizationFieldsEnum, xc as zEntityOrganizationResponse, Sc as zEntityResponse, ur as zEntitySchema, dr as zEntityStatusEnum, fr as zEntityTypeEnum, pr as zEntityUserCursorFields, Fu as zEntityUserResponse, Kf as zEntityVatIdResponse, mr as zErrorSchema, gr as zEstimatedMonthlyRevenue, vr as zEventCursorFields, Tp as zEventResource, yr as zExchangeRate, xr as zExpenseApprovalRequestedEventData, Sr as zExpenseAutoApprovedEventData, Gr as zExpenseAutoCategorizedEventData, Kr as zExpenseCreatedEventData, Tr as zExpenseDeletedEventData, of as zExpenseHistoryEntryResponse, Cr as zExpenseHistoryEventTypeEnum, af as zExpensePaymentStatusChangedEventData, qr as zExpenseReceiptMatchedEventData, wr as zExpenseReceiptUnlinkedEventData, Er as zExpenseStatusChangedEventData, p as zExpenseStatusEnum, Dr as zExpenseSubmittedEventData, Hr as zExpenseUpdatedEventData, Or as zExportFormat, us as zExportObjectSchema, ls as zExportPayableSchema, Ar as zExportReceivableSchema, kr as zExportReceivableStatus, jr as zExportSettingCursorFields, Rr as zExternalBankAccountResponse, Mr as zExternalBankAccountStatusDto, Nr as zExternalBankAccountSummary, Pr as zExternalBankAccountTypeDto, Ir as zExternalBankAccountVerificationInput, Fr as zExternalBankAccountVerificationMethod, Lr as zExternalBankAccountVerificationStatusDto, Wu as zExtraDataResource, zr as zFee, Br as zFeeRegion, Vr as zFieldDiff, m as zFieldSchema, h as zFieldSourceEnum, Jr as zFileAttachedEventData, Yr as zFileResponse, wc as zFileSchema, yc as zFileSchema2, Ec as zFileSchema3, Xr as zFileUrlType, gp as zFinancingInvoice, Zr as zFinancingInvoiceCursorFields, Qr as zFinancingInvoiceType, bp as zFinancingOffer, $r as zFinancingPushInvoicesRequestInvoice, ei as zFooterBlock, ti as zGlobalDiscount, ni as zHeaderBlock, ri as zIFormFile, ii as zIndividualResponseSchema, ai as zIndividualSchema, ci as zInlinePaymentTermsRequestPayload, oi as zInlineTermDiscount, si as zInlineTermFinal, ui as zInvoice, li as zInvoiceFile, di as zInvoiceRenderingSettings, rp as zInvoiceResponsePayload, fi as zItem, wu as zItemTypePredicate, pi as zIterationStatus, mi as zJsonElement, hi as zKycVerificationStatusDto, _i as zLabelNValue, g as zLanguageCodeEnum, Si as zLedgerAccountCursorFields, Ci as zLedgerAccountResponse, bf as zLineItem, wi as zLineItemColumnSettings, Ti as zLineItemCursorFields, Ei as zLineItemFields, Di as zLineItemInternalRequest, _ as zLineItemNumericColumnSettings, ep as zLineItemProduct, yf as zLineItemProductCreate, Oi as zLineItemProductMeasureUnit, $f as zLineItemProductTaxRate, ki as zLineItemResponse, Ad as zLineItemUpdate, Fi as zLineItemsBlock, Ai as zLineItemsBlockAmountReduced, ji as zLineItemsBlockDeduction, Mi as zLineItemsBlockLineItem, Ni as zLineItemsBlockTotalVat, Pi as zLineItemsColumns, Ii as zLineItemsRenderingSettings, Li as zLocationListItem, Ri as zLocationMember, El as zMailSentEventData, zi as zMailSettings, Bi as zMailboxObjectTypeEnum, Vi as zMailboxResponse, Mp as zManuallySpecifiedBankAccountPayload, Hi as zMeAddressDto, Ui as zMeasureUnitEnum, Wi as zMedia, Gi as zMemoBlock, Ki as zMerchantCategoryGroupResponse, Ji as zMissingFields, qi as zMissingLineItemFields, Yi as zMoniteAllPaymentMethods, v as zMoniteAllPaymentMethodsTypes, Xi as zMtlsConfigRequest, $i as zMultipleAmountPredicate, ea as zMultipleCountryPredicate, jc as zMultipleItemTypePredicate, ta as zNorthAmericanIndustryClassificationSystemCode, va as zObjectMatchTypes, y as zObjectType, wa as zObjectTypeAvailableComment, Ta as zObjectTypeEnum, ia as zOcrAddress, aa as zOcrAddressDetails, Ea as zOcrAutoTaggingSettingsRequest, oa as zOcrBankDetails, sa as zOcrCounterpartDetails, ua as zOcrCreditNote, ca as zOcrDocumentTypeEnum, da as zOcrInvoice, la as zOcrLineItem, pa as zOcrReceipt, fa as zOcrReceiptLineItem, Da as zOcrRecognitionResponse, ma as zOcrRequestSource, ga as zOcrResponseInvoiceReceiptData, ha as zOcrResponseInvoiceReceiptLineItemRaw, Oa as zOcrStatusEnum, ka as zOcrTaskResponseSchema, _a as zOcrTaskStatus, Aa as zOptionalFee, ja as zOptionalIndividualSchema, Ma as zOptionalOfBankAccountStatus, Na as zOptionalOfExternalBankAccountVerificationInput, T as zOptionalOfNullableAddressInput, Pa as zOptionalOfNullableAuthenticationInput, dc as zOptionalOfNullableBankAccountApplicantInput, Td as zOptionalOfNullableBusinessDetailsInput, Fa as zOptionalOfNullableBusinessStructureType, Ia as zOptionalOfNullableCountryCode, fc as zOptionalOfNullableCreditCardApplicantInput, Ed as zOptionalOfNullableCreditCardBusinessDetailsInput, b as zOptionalOfNullableDateOnly, La as zOptionalOfNullableGuid, bo as zOptionalOfNullableIReadOnlyListOfOrganizationSettingsOcrAutoTaggingDto, pc as zOptionalOfNullableListOfBusinessOwnerInput, Ra as zOptionalOfNullableNorthAmericanIndustryClassificationSystemCode, eo as zOptionalOfNullableOrganizationSettingsAccountingDto, po as zOptionalOfNullableOrganizationSettingsCurrencyDto, io as zOptionalOfNullableOrganizationSettingsDefaultBankAccountDto, lo as zOptionalOfNullableOrganizationSettingsDocumentIdsRequestDto, za as zOptionalOfNullableOrganizationSettingsMailDto, Ba as zOptionalOfNullableOrganizationSettingsPaymentPriority, Va as zOptionalOfNullableOrganizationSettingsReceivableEditFlow, Ha as zOptionalOfNullableOrganizationSettingsReminderDto, Ua as zOptionalOfNullableOrganizationSettingsTaxMode, Wa as zOptionalOfNullableOrganizationType, F as zOptionalOfNullablePersonalIdentificationNumberDto, Sd as zOptionalOfNullableTaxIdentificationNumberInput, x as zOptionalOfNullableboolean, S as zOptionalOfNullabledecimal, Ga as zOptionalOfNullableint, C as zOptionalOfNullablelong, w as zOptionalOfNullablestring, E as zOptionalOfstring, Ja as zOptionalOrganizationSchema, D as zOrderEnum, Ya as zOrganizationLogoResponseDto, Xa as zOrganizationResponseSchema, Za as zOrganizationSchema, to as zOrganizationSettingsAccountingDto, Qa as zOrganizationSettingsAccountingLedgerAccountIdsDto, $a as zOrganizationSettingsAccountingTaxIdsDto, no as zOrganizationSettingsCreditNoteRenderingDto, mo as zOrganizationSettingsCurrencyDto, ao as zOrganizationSettingsDefaultBankAccountDto, ro as zOrganizationSettingsDefaultBankAccountType, oo as zOrganizationSettingsDocumentIdSeparator, uo as zOrganizationSettingsDocumentIdsDto, so as zOrganizationSettingsDocumentIdsNextNumberDto, Co as zOrganizationSettingsDocumentRenderingDto, co as zOrganizationSettingsDocumentTypePrefixDto, fo as zOrganizationSettingsExchangeRateDto, ho as zOrganizationSettingsInvoiceRenderingDto, go as zOrganizationSettingsLineItemColumnDto, O as zOrganizationSettingsLineItemNumericColumnDto, _o as zOrganizationSettingsLineItemsRenderingDto, vo as zOrganizationSettingsMailDto, yo as zOrganizationSettingsOcrAutoTaggingDto, xo as zOrganizationSettingsPaymentPriority, So as zOrganizationSettingsQuoteRenderingDto, wo as zOrganizationSettingsReceivableEditFlow, To as zOrganizationSettingsReminderDto, Eo as zOrganizationSettingsTaxMode, Do as zOrganizationStatusFilter, Oo as zOrganizationSummary, k as zOrganizationType, ko as zOriginEnum, ql as zOverdueReminderResponse, Ao as zOverdueReminderTerm, jo as zOwnershipDeclarationInput, Mo as zOwnershipDeclarationOutput, No as zPageCounterBlock, Po as zPageSchema, Fo as zPageSchema2, Io as zPageSchema3, Lo as zPaginatedResponseOfDepartmentMember, Ro as zPaginatedResponseOfLocationMember, zo as zPaginationMetadata, Bo as zPaidBy, Vo as zParentOrganizationSummaryDto, Ho as zPayableActionEnum, rc as zPayableActionSchema, ds as zPayableAggregatedItem, Uo as zPayableCounterpartInfoBlock, rs as zPayableCreatedEventData, Wo as zPayableCreditNoteData, Go as zPayableCreditNoteLinkedEventData, A as zPayableCreditNoteStateEnum, Ko as zPayableCreditNoteUnlinkedEventData, qo as zPayableCursorFields, Jo as zPayableDimensionEnum, Yo as zPayableEntityAddressSchema, Iu as zPayableEntityIndividualResponse, Xo as zPayableEntityInfoBlock, Lu as zPayableEntityOrganizationResponse, Zo as zPayableHistoryCursorFields, Qo as zPayableHistoryEventTypeEnum, hs as zPayableHistoryResponse, $o as zPayableIndividualSchema, es as zPayableInfoBlock, ts as zPayableMetricEnum, ns as zPayableOrganizationSchema, j as zPayableOriginEnum, is as zPayablePaymentTermDiscount, as as zPayablePaymentTermFinal, os as zPayablePaymentTermsCreatePayload, ss as zPayableRenderPayload, hd as zPayableResponseSchema, ic as zPayableSchema, cs as zPayableSettings, M as zPayableStateEnum, fs as zPayableStatusChangedEventData, ps as zPayableTemplatesVariable, vs as zPayableTemplatesVariablesObject, ms as zPayableUpdatedEventData, gs as zPayablesFieldsAllowedForValidate, _s as zPayablesVariableType, ys as zPayerAccountResponse, bs as zPayerAccountResponse2, xs as zPaymentAccountObject, N as zPaymentAccountType, Ms as zPaymentFeeResponse, Ud as zPaymentIntent, Ss as zPaymentIntentAccountType, ws as zPaymentIntentCursorFields, Ts as zPaymentIntentHistory, Es as zPaymentIntentPayoutMethod, Ul as zPaymentIntentResponse, Vd as zPaymentIntentWithSecrets, Ds as zPaymentIntentsRecipient, As as zPaymentMethod, Os as zPaymentMethodDirection, ks as zPaymentMethodStatus, js as zPaymentMethodSubtype, Is as zPaymentObject, Ns as zPaymentObjectPayable, Fs as zPaymentObjectType, Ls as zPaymentPageFooter, Rs as zPaymentPageTheme, zs as zPaymentPriorityEnum, Bs as zPaymentReceivedEventData, Vs as zPaymentRecordCursorFields, Gs as zPaymentRecordHistoryResponse, Hs as zPaymentRecordObjectRequest, Us as zPaymentRecordObjectResponse, Ks as zPaymentRecordResponse, Ws as zPaymentRecordStatusEnum, Ru as zPaymentReminderResponse, qs as zPaymentRequirements, Js as zPaymentTerms, Ys as zPaymentTermsBlock, Ld as zPaymentTermsResponse, ec as zPaymentTierResponse, Xs as zPaymentsBatchPaymentStatus, Zs as zPaymentsSettings, Qs as zPdfDocumentTypeEnum, $s as zPeriodEnum, tc as zPermissionEnum, ac as zPermissionKey, oc as zPermissionUpdateInput, sc as zPersonalIdentificationNumberType, mc as zPlatform, dp as zPredicate, hc as zPredicateNameEnum, gc as zPredicateOperatorEnum, _c as zPredicateResponse, vc as zPreviewSchema, Cc as zPreviewSchema2, Tc as zPreviewSchema3, I as zPrice, yp as zPricingPlan, Oc as zProcessResource, Dc as zProcessStatusEnum, kc as zProductCursorFields, Ac as zProductFieldsEnum, Mc as zProductServiceResponse, L as zProductServiceTypeEnum, Nc as zProjectCursorFields, gd as zProjectResource, R as zPsuIdentification, Pc as zPsuIdentificationType, zc as zPublicBankAccount, Bc as zPurchaseOrderCounterpartAddressSchema, sd as zPurchaseOrderCounterpartIndividualResponse, cd as zPurchaseOrderCounterpartIndividualRootResponse, Vc as zPurchaseOrderCounterpartInfoBlock, ld as zPurchaseOrderCounterpartOrganizationResponse, ud as zPurchaseOrderCounterpartOrganizationRootResponse, dd as zPurchaseOrderCounterpartSchema, Hc as zPurchaseOrderCursorFields, Uc as zPurchaseOrderDateBlock, Wc as zPurchaseOrderItem, Gc as zPurchaseOrderLineItem, Kc as zPurchaseOrderLineItemsBlock, qc as zPurchaseOrderNumberBlock, Jc as zPurchaseOrderRenderPayload, fd as zPurchaseOrderResponseSchema, Yc as zPurchaseOrderStatusEnum, Xc as zPurchaseOrderVatId, Zc as zQrCodeDataBlock, Qc as zQuoteRenderingSettings, ip as zQuoteResponsePayload, $c as zQuoteStateEnum, el as zRate, tl as zReceiptCursorFields, nl as zReceiptDimensionEnum, rl as zReceiptLineItemCursorFields, il as zReceiptLineItemResponseSchema, al as zReceiptLinkSourceEnum, ol as zReceiptMetricEnum, sl as zReceiptOriginEnum, ju as zReceiptResponseSchema, zl as zReceivableCounterpartContact, qf as zReceivableCounterpartVatIdResponse, cl as zReceivableCreateBasedOnPayload, ll as zReceivableCreatedEventData, ul as zReceivableCursorFields, dl as zReceivableCursorFields2, fl as zReceivableDimensionEnum, pl as zReceivableEditFlow, B as zReceivableEntityAddressSchema, ml as zReceivableEntityBase, hl as zReceivableEntityIndividual, gl as zReceivableEntityIndividualRequest, _l as zReceivableEntityOrganization, vl as zReceivableEntityOrganizationRequest, Jf as zReceivableEntityVatIdResponse, Yf as zReceivableFacadeCreateInvoicePayload, Xf as zReceivableFacadeCreateQuotePayload, yl as zReceivableFieldsEnum, bl as zReceivableHistoryCursorFields, xl as zReceivableHistoryEventTypeEnum, Nu as zReceivableHistoryResponse, Sl as zReceivableMailCursorFields, Cl as zReceivableMailRecipientState, wl as zReceivableMailRecipients, Dl as zReceivableMailResponse, Tl as zReceivableMailStatusEnum, Ol as zReceivableMetricEnum, kl as zReceivableNumberBlock, yu as zReceivableRenderPayload, ap as zReceivableResponse, Al as zReceivableSettings, jl as zReceivableTemplatesVariable, Hf as zReceivableTemplatesVariablesObject, Ml as zReceivableType, Pl as zReceivableUpdatedEventData, Fl as zReceivablesAnalyticsDataPoint, Il as zReceivablesCounterpartAddress, Ll as zReceivablesPreviewTypeEnum, Rl as zReceivablesRemindersWarningMessage, V as zReceivablesRepresentationOfCounterpartAddress, Bl as zReceivablesRepresentationOfEntityBankAccount, Vl as zReceivablesStatusEnum, Kl as zRecipient, Hl as zRecipientAccountResponse, Wl as zRecipientAccountResponse2, Gl as zRecipientType, H as zRecipients, Jl as zRecipientsInfo, Yl as zRecurrenceFrequency, Xl as zRecurrenceIteration, Ql as zRecurrenceResponse, Zl as zRecurrenceStatus, $l as zRegulatoryTemplateResponse, eu as zRelatedDocuments, tu as zRelatedOrganizationSummaryDto, Ff as zRelatedUserDto, U as zReminder, ru as zReminderMailSentEventData, nu as zReminderTypeEnum, iu as zRemindersSettings, au as zRepaymentSchedule, ou as zRequirementsError, tp as zResponseItem, su as zRoleCursorFields, cu as zRoleMemberResponseDto, lu as zRolePermissionResponseDto, zu as zRoleResponse, Qu as zRoleResponseDto, uu as zRootSchema, Wf as zRuleResponse, pu as zScaMethod, fu as zScaMethodType, mu as zSendStatelessEmailResponse, hu as zServiceProvidersEnum, gu as zSignature, _u as zSignatureBlock, W as zSingleAmountPredicate, xu as zSingleCountryPredicate, Cu as zSingleItemTypePredicate, Tu as zSinglePaymentIntent, Eu as zSinglePaymentIntentResponse, Du as zSortOrderDto, Ou as zSourceOfData, ku as zSourceOfPayableDataEnum, Au as zSourceOfReceiptDataEnum, Mu as zStatusChangedEventData, G as zStatusEnum, Bu as zStripeData, wp as zSubscriptionResponse, Vu as zSuggestedCounterpartPayload, Hu as zSuggestedPaymentTerm, Uu as zSupportedFieldNames, Gu as zSupportedFormatSchema, Ku as zSupportedPaymentAuthorizationFlow, Ju as zSyncRecordCursorFields, Xu as zSyncRecordResource, Yu as zSyncStatus, Zu as zSystemRoleKey, Nd as zSystemTemplateDataSchema, K as zTagCategory, pd as zTagCursorFields, J as zTagReadSchema, _d as zTaxComponentResponse, yd as zTaxIdResponseDto, xd as zTaxIdentificationNumberType, Dd as zTaxRateAccountCursorFields, Od as zTaxRateAccountCursorFields2, kd as zTaxStatusEnum, jd as zTemplate, Md as zTemplateDataSchema, Fd as zTemplateReceivableResponse, Pd as zTemplateTypeEnum, Y as zTermDiscountDays, Id as zTermFinalDays, Rd as zTermsOfServiceAcceptanceInput, zd as zTermsOfServiceAcceptanceOutput, Bd as zTesouroData, Hd as zTesouroPaymentIntentData, Wd as zTextTemplateDocumentTypeEnum, Kd as zTextTemplateResponse, Gd as zTextTemplateType, Jd as zTotalTaxAmountItem, qd as zTotalTaxAmountItemComponent, Yd as zTransactionBulkObject, Xd as zTransactionBulkStatusEnum, Zd as zTransactionCursorFields, Qd as zTransactionDimensionEnum, $d as zTransactionFieldsAllowedForValidate, ef as zTransactionMetricEnum, tf as zTransactionPaymentMethod, nf as zTransactionPaymentMethodTypeEnum, cf as zTransactionRequest, rf as zTransactionRequiredFieldItem, lf as zTransactionResponse, X as zTransactionStatusEnum, sf as zTransactionTypeEnum, uf as zTransactionValidationError, df as zTransferType, ff as zUnit, pf as zUnitRequest, xf as zUnitResponse, kf as zUpdateCreditNote, Af as zUpdateCreditNotePayload, Sf as zUpdateEntityAddressSchema, Cf as zUpdateInvoice, wf as zUpdateInvoicePayload, Tf as zUpdateIssuedInvoice, Ef as zUpdateIssuedInvoicePayload, Of as zUpdateLineItemForCreditNote, Df as zUpdateProductForCreditNote, jf as zUpdateQuote, Mf as zUpdateQuotePayload, Nf as zUserDepartmentDto, Pf as zUserLocationDto, If as zUserStatus, Lf as zUserStatusFilter, Rf as zValidationError, zf as zVariable, Bf as zVariablesObject, Vf as zVariablesType, Uf as zVatConditionType, Z as zVatIdTypeEnum, Q as zVatModeEnum, up as zVatPredicate, Zf as zVatRateComponent, sp as zVatRateResponse, op as zVatRateStatusEnum, cp as zVatTypePredicate, lp as zVatValidityEnum, fp as zVerificationError, pp as zVerificationStatusEnum, mp as zWcBusinessStatus, hp as zWcInvoiceStatus, _p as zWcOfferStatus, vp as zWcRepaymentType, xp as zWebhookDeliveryCursorFields, Sp as zWebhookDeliveryResource, Cp as zWebhookEventType, $ as zWebhookObjectType, Ep as zWebhookSubscriptionCursorFields, Op as zWebhookSubscriptionResource, Dp as zWebhookSubscriptionStatus, kp as zWidgetUserStatus, Ap as zYapilyCountriesCoverageCodes };
|
|
8656
|
+
export { te as zAcceptInvitationAuthenticationDto, ne as zAccountDataBlock, re as zAccountDisabledReason, Fs as zAccountIdentification, hr as zAccountingConnectionResponse, ie as zAccountingCostCenterResponse, ae as zAccountingCustomerRefObject, ce as zAccountingLineItem, de as zAccountingPayable, oe as zAccountingPurchaseOrderRef, le as zAccountingReceivable, se as zAccountingRefObject, Mn as zAccountingSettings, Ad as zAccountingTaxRateResponse, ue as zAccountingVendorRefObject, fe as zActionEnum, mc as zActionSchema, Rt as zAddress, pe as zAddressData, me as zAddressDto, Ka as zAddressInput, s as zAddressOutput, t as zAggregationFunctionEnum, he as zAirwallexData, n as zAllowedCountries, ge as zAllowedFileTypes, r as zAmountOutput, Mu as zAmountPredicate, _e as zAnalyticsDataPoint, ee as zApiVersion, ve as zApplicationListResponseDto, ye as zApplicationOwnership, be as zApplicationProduct, xe as zApplicationStatusEntry, Se as zApprovalActionEventData, Ce as zApprovalPolicyCursorFields, ya as zApprovalPolicyResource, we as zApprovalPolicyStatus, ke as zApprovalProcessStepResource, Te as zApprovalProcessStepStatus, ba as zApprovalRequestCreateByReportingManagerRequest, xa as zApprovalRequestCreateByRoleRequest, Sa as zApprovalRequestCreateByUserRequest, Ee as zApprovalRequestCursorFields, Ca as zApprovalRequestResourceWithMetadata, De as zApprovalRequestStatus, Oe as zApprovalTypeEnum, i as zAttachmentRequest, Ae as zAttachmentResponse, je as zAuthorizedBankAccount, qc as zAuthorizedBankAccountPayload, Me as zAutomationLevel, ad as zBank, dn as zBankAccount, Ne as zBankAccountAccessActionType, bc as zBankAccountApplicantInput, zt as zBankAccountApplicantOutput, Pe as zBankAccountApplicationStatusDto, Fe as zBankAccountApplicationSummary, gi as zBankAccountApplicationSummaryResponse, Ie as zBankAccountInfo, Jc as zBankAccountPayload, pn as zBankAccountPaymentMethod, fn as zBankAccountPaymentMethodDetails, Le as zBankAccountSnapshot, Re as zBankAccountSourceDto, ze as zBankAccountStatus, Be as zBankAccountSummary, Ve as zBankAccountTransactionDirectionDto, He as zBankAccountTransactionResponse, Ue as zBankAccountTransactionSortFieldDto, We as zBankAccountTransferAccountOutput, Ge as zBankAccountTransferNetworkTypeDto, Je as zBankAccountTransferResponse, Ke as zBankAccountTransferStatusDto, qe as zBankAccountTransferTypeDto, Ye as zBankAccountTypeEnum, Xe as zBankAccountWithBalanceResponse, Ze as zBankAccountWithSourceInput, Gl as zBasedOnReceivableCreatedEventData, Qe as zBasedOnTransitionType, $e as zBatchPaymentIntentsRecipient, Ks as zBatchSinglePaymentIntent, Bt as zBeneficialOwnerResponse, Cu as zBizObjectsSchema, et as zBulkMembershipType, tt as zBulkUpdatePermissionType, Fd as zBusinessDetailsInput, na as zBusinessDetailsOutput, nt as zBusinessInfoSchema, xc as zBusinessOwnerInput, Vt as zBusinessOwnerOutput, _r as zBusinessProfile, rt as zBusinessStructureType, it as zBusinessVerificationStatusDto, at as zButtonTheme, ot as zCardBrand, ut as zCardPaymentMethod, lt as zCardPaymentMethodDetails, st as zCardTheme, ct as zCardTypeEnum, Qi as zChannelConfigRequest, Zi as zChannelConfigRequestWebhookChannelConfigRequest, ft as zChannelConfigResponse, dt as zChannelConfigResponseWebhookChannelConfigResponse, pt as zChannelType, mt as zCommentCursorFields, Ku as zCommentResource, ht as zCommercialConditionsBlock, P as zCommonSchema, gt as zConnectionStatus, _t as zConsentState, a as zCounterpartAddress, vt as zCounterpartAddressResponseWithCounterpartId, mn as zCounterpartBankAccountResponse, yt as zCounterpartContactResponse, bt as zCounterpartCursorFields, Ur as zCounterpartFields, xt as zCounterpartIndividualCreatePayload, St as zCounterpartIndividualFieldsEnum, dd as zCounterpartIndividualResponse, vi as zCounterpartIndividualRootCreatePayload, fd as zCounterpartIndividualRootResponse, yi as zCounterpartIndividualRootUpdatePayload, Ct as zCounterpartIndividualUpdatePayload, wt as zCounterpartInfoBlock, Tt as zCounterpartOrganizationCreatePayload, Et as zCounterpartOrganizationFieldsEnum, pd as zCounterpartOrganizationResponse, bi as zCounterpartOrganizationRootCreatePayload, md as zCounterpartOrganizationRootResponse, xi as zCounterpartOrganizationRootUpdatePayload, Dt as zCounterpartOrganizationUpdatePayload, Ot as zCounterpartRawAddress, kt as zCounterpartRawAddressUpdateRequest, At as zCounterpartRawBankAccount, jt as zCounterpartRawBankAccountUpdateRequest, Nt as zCounterpartRawData, Ft as zCounterpartRawDataUpdateRequest, Mt as zCounterpartRawVatId, Pt as zCounterpartRawVatIdUpdateRequest, hd as zCounterpartResponse, It as zCounterpartSchema, q as zCounterpartTagSchema, o as zCounterpartType, rp as zCounterpartVatIdResponse, Lt as zCountryCode, Pu as zCountryPredicate, Ht as zCreateOrganizationType, Sc as zCreditCardApplicantInput, Ut as zCreditCardApplicantOutput, Wt as zCreditCardApplicationStatusDto, Id as zCreditCardBusinessDetailsInput, ra as zCreditCardBusinessDetailsOutput, Gt as zCreditCardCloseReason, Kt as zCreditCardFormat, $t as zCreditCardResponse, qt as zCreditCardStatus, Jt as zCreditCardTransactionDirection, Zt as zCreditCardTransactionResponse, Yt as zCreditCardTransactionStatus, Xt as zCreditCardTransactionType, Qt as zCreditCardType, en as zCreditNoteCursorFields, tn as zCreditNoteDimensionEnum, nn as zCreditNoteFieldsAllowedForValidate, rn as zCreditNoteLineItemCreateRequest, an as zCreditNoteLineItemCursorFields, on as zCreditNoteLineItemResponse, sn as zCreditNoteMetricEnum, cn as zCreditNoteRenderingSettings, Ed as zCreditNoteResponse, mp as zCreditNoteResponsePayload, ln as zCreditNoteStateEnum, un as zCurrencyDetails, c as zCurrencyEnum, hn as zCurrencyExchangeSchema, gn as zCurrencyExchangeSchema2, br as zCurrencySettings, _n as zCursorFields, up as zCustomTaxRateResponse, vn as zCustomTemplateDataSchema, yn as zCustomTemplatesCursorFields, wn as zDataExportCursorFields, l as zDateDimensionBreakdownEnum, qa as zDebitCardApplicantRequest, Dn as zDebitCardResponse, Tn as zDebitCardStatus, En as zDebitCardType, u as zDeductionItem, On as zDefaultAccountingTaxIds, An as zDefaultBankAccount, kn as zDefaultBankAccountType, jn as zDefaultLedgerAccountIds, gd as zDeliveryNoteCounterpartIndividual, _d as zDeliveryNoteCounterpartOrganization, vd as zDeliveryNoteCounterpartResource, Nn as zDeliveryNoteCreateBasedOnRequest, Df as zDeliveryNoteCreateLineItem, Of as zDeliveryNoteCreateRequest, Pn as zDeliveryNoteCursorFields, Ef as zDeliveryNoteLineItemProduct, kf as zDeliveryNoteLineItemResource, Au as zDeliveryNoteRenderPayload, Af as zDeliveryNoteResource, Fn as zDeliveryNoteStatusEnum, In as zDepartmentListItem, Ln as zDepartmentMember, Rn as zDisclosureDocumentDto, zn as zDisclosureRequirement, d as zDiscount, Vn as zDiscountResponse, Bn as zDiscountType, Sn as zDnsRecord, bn as zDnsRecordPurpose, xn as zDnsRecordType, Cn as zDnsRecords, Hn as zDocumentExportResponseSchema, Un as zDocumentIdSeparators, Jn as zDocumentIdsSettings, Wn as zDocumentIdsSettingsNextNumber, Yn as zDocumentIdsSettingsRequest, Gn as zDocumentInfoBlock, f as zDocumentObjectTypeRequestEnum, z as zDocumentRenderingSettings, Kn as zDocumentTypeEnum, qn as zDocumentTypePrefix, Xn as zDomainResponse, Zn as zDownloadType, Qn as zEmail, Yc as zEmbeddedAuthorizedBankAccountPayload, Xc as zEmbeddedBankAccountPayload, Md as zEmbeddedBusinessDataResponseDto, Up as zEmbeddedManuallySpecifiedPayload, $n as zEntityAddressResponseSchema, er as zEntityAddressSchema, tr as zEntityBankAccountResponse, nr as zEntityBusinessStructure, rr as zEntityContactBlock, ir as zEntityCursorFields, Wr as zEntityFields, ar as zEntityIndividualFieldsEnum, Mc as zEntityIndividualResponse, or as zEntityInfoBlock, sr as zEntityLogoBlock, cr as zEntityMailSettings, lr as zEntityOrganizationFieldsEnum, Nc as zEntityOrganizationResponse, Pc as zEntityResponse, ur as zEntitySchema, dr as zEntityStatusEnum, fr as zEntityTypeEnum, pr as zEntityUserCursorFields, qu as zEntityUserResponse, ip as zEntityVatIdResponse, mr as zErrorSchema, gr as zEstimatedMonthlyRevenue, vr as zEventCursorFields, Lp as zEventResource, yr as zExchangeRate, xr as zExpenseApprovalRequestedEventData, Sr as zExpenseAutoApprovedEventData, Gr as zExpenseAutoCategorizedEventData, Kr as zExpenseCreatedEventData, Tr as zExpenseDeletedEventData, vf as zExpenseHistoryEntryResponse, Cr as zExpenseHistoryEventTypeEnum, _f as zExpensePaymentStatusChangedEventData, qr as zExpenseReceiptMatchedEventData, wr as zExpenseReceiptUnlinkedEventData, Er as zExpenseStatusChangedEventData, p as zExpenseStatusEnum, Dr as zExpenseSubmittedEventData, Hr as zExpenseUpdatedEventData, Or as zExportFormat, ys as zExportObjectSchema, vs as zExportPayableSchema, Ar as zExportReceivableSchema, kr as zExportReceivableStatus, jr as zExportSettingCursorFields, Rr as zExternalBankAccountResponse, Mr as zExternalBankAccountStatusDto, Nr as zExternalBankAccountSummary, Pr as zExternalBankAccountTypeDto, Ir as zExternalBankAccountVerificationInput, Fr as zExternalBankAccountVerificationMethod, Lr as zExternalBankAccountVerificationStatusDto, nd as zExtraDataResource, zr as zFee, Br as zFeeRegion, Vr as zFieldDiff, m as zFieldSchema, h as zFieldSourceEnum, Jr as zFileAttachedEventData, Yr as zFileResponse, Ic as zFileSchema, jc as zFileSchema2, Rc as zFileSchema3, Xr as zFileUrlType, Op as zFinancingInvoice, Zr as zFinancingInvoiceCursorFields, Qr as zFinancingInvoiceType, Mp as zFinancingOffer, $r as zFinancingPushInvoicesRequestInvoice, ei as zFooterBlock, ti as zGlobalDiscount, ni as zHeaderBlock, ri as zIFormFile, ii as zIndividualResponseSchema, ai as zIndividualSchema, ci as zInlinePaymentTermsRequestPayload, oi as zInlineTermDiscount, si as zInlineTermFinal, ui as zInvoice, li as zInvoiceFile, di as zInvoiceRenderingSettings, hp as zInvoiceResponsePayload, fi as zItem, Iu as zItemTypePredicate, pi as zIterationStatus, mi as zJsonElement, hi as zKycVerificationStatusDto, _i as zLabelNValue, g as zLanguageCodeEnum, Si as zLedgerAccountCursorFields, Ci as zLedgerAccountResponse, Mf as zLineItem, wi as zLineItemColumnSettings, Ti as zLineItemCursorFields, Ei as zLineItemFields, Di as zLineItemInternalRequest, _ as zLineItemNumericColumnSettings, fp as zLineItemProduct, jf as zLineItemProductCreate, Oi as zLineItemProductMeasureUnit, dp as zLineItemProductTaxRate, ki as zLineItemResponse, Hd as zLineItemUpdate, Fi as zLineItemsBlock, Ai as zLineItemsBlockAmountReduced, ji as zLineItemsBlockDeduction, Mi as zLineItemsBlockLineItem, Ni as zLineItemsBlockTotalVat, Pi as zLineItemsColumns, Ii as zLineItemsRenderingSettings, Li as zLocationListItem, Ri as zLocationMember, Rl as zMailSentEventData, zi as zMailSettings, Bi as zMailboxObjectTypeEnum, Vi as zMailboxResponse, Wp as zManuallySpecifiedBankAccountPayload, Hi as zMeAddressDto, Ui as zMeasureUnitEnum, Wi as zMedia, Gi as zMemoBlock, Ki as zMerchantCategoryGroupResponse, Ji as zMissingFields, qi as zMissingLineItemFields, Yi as zMoniteAllPaymentMethods, v as zMoniteAllPaymentMethodsTypes, Xi as zMtlsConfigRequest, $i as zMultipleAmountPredicate, ea as zMultipleCountryPredicate, Uc as zMultipleItemTypePredicate, ta as zNorthAmericanIndustryClassificationSystemCode, va as zObjectMatchTypes, y as zObjectType, wa as zObjectTypeAvailableComment, Ta as zObjectTypeEnum, ia as zOcrAddress, aa as zOcrAddressDetails, Ea as zOcrAutoTaggingSettingsRequest, oa as zOcrBankDetails, sa as zOcrCounterpartDetails, ua as zOcrCreditNote, ca as zOcrDocumentTypeEnum, da as zOcrInvoice, la as zOcrLineItem, pa as zOcrReceipt, fa as zOcrReceiptLineItem, Da as zOcrRecognitionResponse, ma as zOcrRequestSource, ga as zOcrResponseInvoiceReceiptData, ha as zOcrResponseInvoiceReceiptLineItemRaw, Oa as zOcrStatusEnum, ka as zOcrTaskResponseSchema, _a as zOcrTaskStatus, Aa as zOptionalFee, ja as zOptionalIndividualSchema, Ma as zOptionalOfBankAccountStatus, Na as zOptionalOfExternalBankAccountVerificationInput, T as zOptionalOfNullableAddressInput, Pa as zOptionalOfNullableAuthenticationInput, Cc as zOptionalOfNullableBankAccountApplicantInput, Ld as zOptionalOfNullableBusinessDetailsInput, Fa as zOptionalOfNullableBusinessStructureType, Ia as zOptionalOfNullableCountryCode, wc as zOptionalOfNullableCreditCardApplicantInput, Rd as zOptionalOfNullableCreditCardBusinessDetailsInput, b as zOptionalOfNullableDateOnly, La as zOptionalOfNullableGuid, bo as zOptionalOfNullableIReadOnlyListOfOrganizationSettingsOcrAutoTaggingDto, Tc as zOptionalOfNullableListOfBusinessOwnerInput, Ra as zOptionalOfNullableNorthAmericanIndustryClassificationSystemCode, eo as zOptionalOfNullableOrganizationSettingsAccountingDto, po as zOptionalOfNullableOrganizationSettingsCurrencyDto, io as zOptionalOfNullableOrganizationSettingsDefaultBankAccountDto, lo as zOptionalOfNullableOrganizationSettingsDocumentIdsRequestDto, za as zOptionalOfNullableOrganizationSettingsMailDto, Ba as zOptionalOfNullableOrganizationSettingsPaymentPriority, Va as zOptionalOfNullableOrganizationSettingsReceivableEditFlow, Ha as zOptionalOfNullableOrganizationSettingsReminderDto, Ua as zOptionalOfNullableOrganizationSettingsTaxMode, Wa as zOptionalOfNullableOrganizationType, F as zOptionalOfNullablePersonalIdentificationNumberDto, Pd as zOptionalOfNullableTaxIdentificationNumberInput, x as zOptionalOfNullableboolean, S as zOptionalOfNullabledecimal, Ga as zOptionalOfNullableint, C as zOptionalOfNullablelong, w as zOptionalOfNullablestring, E as zOptionalOfstring, Ja as zOptionalOrganizationSchema, D as zOrderEnum, Ya as zOrganizationLogoResponseDto, Xa as zOrganizationResponseSchema, Za as zOrganizationSchema, to as zOrganizationSettingsAccountingDto, Qa as zOrganizationSettingsAccountingLedgerAccountIdsDto, $a as zOrganizationSettingsAccountingTaxIdsDto, no as zOrganizationSettingsCreditNoteRenderingDto, mo as zOrganizationSettingsCurrencyDto, ao as zOrganizationSettingsDefaultBankAccountDto, ro as zOrganizationSettingsDefaultBankAccountType, oo as zOrganizationSettingsDocumentIdSeparator, uo as zOrganizationSettingsDocumentIdsDto, so as zOrganizationSettingsDocumentIdsNextNumberDto, Co as zOrganizationSettingsDocumentRenderingDto, co as zOrganizationSettingsDocumentTypePrefixDto, fo as zOrganizationSettingsExchangeRateDto, ho as zOrganizationSettingsInvoiceRenderingDto, go as zOrganizationSettingsLineItemColumnDto, O as zOrganizationSettingsLineItemNumericColumnDto, _o as zOrganizationSettingsLineItemsRenderingDto, vo as zOrganizationSettingsMailDto, yo as zOrganizationSettingsOcrAutoTaggingDto, xo as zOrganizationSettingsPaymentPriority, So as zOrganizationSettingsQuoteRenderingDto, wo as zOrganizationSettingsReceivableEditFlow, To as zOrganizationSettingsReminderDto, Eo as zOrganizationSettingsTaxMode, Do as zOrganizationStatusFilter, Oo as zOrganizationSummary, k as zOrganizationType, ko as zOriginEnum, au as zOverdueReminderResponse, Ao as zOverdueReminderTerm, jo as zOwnershipDeclarationInput, Mo as zOwnershipDeclarationOutput, No as zPageCounterBlock, Po as zPageSchema, Fo as zPageSchema2, Io as zPageSchema3, Lo as zPaginatedResponseOfDepartmentMember, Ro as zPaginatedResponseOfLocationMember, zo as zPaginationMetadata, Bo as zPaidBy, Vo as zParentOrganizationSummaryDto, Ho as zPayableActionEnum, hc as zPayableActionSchema, bs as zPayableAggregatedItem, Uo as zPayableApprovalActionEventData, Wo as zPayableApprovalRequestedEventData, Go as zPayableAutoApprovedEventData, Ko as zPayableCounterpartInfoBlock, fs as zPayableCreatedEventData, qo as zPayableCreditNoteData, Jo as zPayableCreditNoteLinkedEventData, A as zPayableCreditNoteStateEnum, Yo as zPayableCreditNoteUnlinkedEventData, Xo as zPayableCursorFields, xs as zPayableDeletedEventData, Zo as zPayableDimensionEnum, Qo as zPayableEntityAddressSchema, Ju as zPayableEntityIndividualResponse, $o as zPayableEntityInfoBlock, Yu as zPayableEntityOrganizationResponse, es as zPayableFieldDiff, ts as zPayableHistoryCursorFields, ns as zPayableHistoryEventTypeEnum, Ds as zPayableHistoryResponse, rs as zPayableIndividualSchema, is as zPayableInfoBlock, as as zPayableLineItemAddedEventData, os as zPayableLineItemRemovedEventData, ss as zPayableLineItemUpdatedEventData, cs as zPayableMarkedAsPaidEventData, ls as zPayableMarkedAsPartiallyPaidEventData, us as zPayableMetricEnum, ds as zPayableOrganizationSchema, j as zPayableOriginEnum, Ss as zPayablePaymentRevertedEventData, ps as zPayablePaymentTermDiscount, ms as zPayablePaymentTermFinal, hs as zPayablePaymentTermsCreatePayload, gs as zPayableRenderPayload, Dd as zPayableResponseSchema, gc as zPayableSchema, _s as zPayableSettings, M as zPayableStateEnum, Cs as zPayableStatusChangedEventData, ws as zPayableSubmittedForApprovalEventData, Ts as zPayableTemplatesVariable, As as zPayableTemplatesVariablesObject, Es as zPayableUpdatedEventData, Os as zPayablesFieldsAllowedForValidate, ks as zPayablesVariableType, js as zPayerAccountResponse, Ms as zPayerAccountResponse2, Ns as zPaymentAccountObject, N as zPaymentAccountType, Ws as zPaymentFeeResponse, tf as zPaymentIntent, Ps as zPaymentIntentAccountType, Is as zPaymentIntentCursorFields, Ls as zPaymentIntentHistory, Rs as zPaymentIntentPayoutMethod, tu as zPaymentIntentResponse, $d as zPaymentIntentWithSecrets, zs as zPaymentIntentsRecipient, Hs as zPaymentMethod, Bs as zPaymentMethodDirection, Vs as zPaymentMethodStatus, Us as zPaymentMethodSubtype, Js as zPaymentObject, Gs as zPaymentObjectPayable, qs as zPaymentObjectType, Ys as zPaymentPageFooter, Xs as zPaymentPageTheme, Zs as zPaymentPriorityEnum, Qs as zPaymentReceivedEventData, $s as zPaymentRecordCursorFields, rc as zPaymentRecordHistoryResponse, ec as zPaymentRecordObjectRequest, tc as zPaymentRecordObjectResponse, ic as zPaymentRecordResponse, nc as zPaymentRecordStatusEnum, Xu as zPaymentReminderResponse, ac as zPaymentRequirements, oc as zPaymentTerms, sc as zPaymentTermsBlock, Yd as zPaymentTermsResponse, fc as zPaymentTierResponse, cc as zPaymentsBatchPaymentStatus, lc as zPaymentsSettings, uc as zPdfDocumentTypeEnum, dc as zPeriodEnum, pc as zPermissionEnum, _c as zPermissionKey, vc as zPermissionUpdateInput, yc as zPersonalIdentificationNumberType, Ec as zPlatform, Cp as zPredicate, Dc as zPredicateNameEnum, Oc as zPredicateOperatorEnum, kc as zPredicateResponse, Ac as zPreviewSchema, Fc as zPreviewSchema2, Lc as zPreviewSchema3, I as zPrice, jp as zPricingPlan, Bc as zProcessResource, zc as zProcessStatusEnum, Vc as zProductCursorFields, Hc as zProductFieldsEnum, Wc as zProductServiceResponse, L as zProductServiceTypeEnum, Gc as zProjectCursorFields, Od as zProjectResource, R as zPsuIdentification, Kc as zPsuIdentificationType, Zc as zPublicBankAccount, Qc as zPurchaseOrderCounterpartAddressSchema, yd as zPurchaseOrderCounterpartIndividualResponse, bd as zPurchaseOrderCounterpartIndividualRootResponse, $c as zPurchaseOrderCounterpartInfoBlock, xd as zPurchaseOrderCounterpartOrganizationResponse, Sd as zPurchaseOrderCounterpartOrganizationRootResponse, Cd as zPurchaseOrderCounterpartSchema, el as zPurchaseOrderCursorFields, tl as zPurchaseOrderDateBlock, nl as zPurchaseOrderItem, rl as zPurchaseOrderLineItem, il as zPurchaseOrderLineItemsBlock, al as zPurchaseOrderNumberBlock, ol as zPurchaseOrderRenderPayload, wd as zPurchaseOrderResponseSchema, sl as zPurchaseOrderStatusEnum, cl as zPurchaseOrderVatId, ll as zQrCodeDataBlock, ul as zQuoteRenderingSettings, gp as zQuoteResponsePayload, dl as zQuoteStateEnum, fl as zRate, pl as zReceiptCursorFields, ml as zReceiptDimensionEnum, hl as zReceiptLineItemCursorFields, gl as zReceiptLineItemResponseSchema, _l as zReceiptLinkSourceEnum, vl as zReceiptMetricEnum, yl as zReceiptOriginEnum, Uu as zReceiptResponseSchema, Zl as zReceivableCounterpartContact, ap as zReceivableCounterpartVatIdResponse, bl as zReceivableCreateBasedOnPayload, xl as zReceivableCreatedEventData, Sl as zReceivableCursorFields, Cl as zReceivableCursorFields2, wl as zReceivableDimensionEnum, Tl as zReceivableEditFlow, B as zReceivableEntityAddressSchema, El as zReceivableEntityBase, Dl as zReceivableEntityIndividual, Ol as zReceivableEntityIndividualRequest, kl as zReceivableEntityOrganization, Al as zReceivableEntityOrganizationRequest, op as zReceivableEntityVatIdResponse, sp as zReceivableFacadeCreateInvoicePayload, cp as zReceivableFacadeCreateQuotePayload, jl as zReceivableFieldsEnum, Ml as zReceivableHistoryCursorFields, Nl as zReceivableHistoryEventTypeEnum, Gu as zReceivableHistoryResponse, Pl as zReceivableMailCursorFields, Fl as zReceivableMailRecipientState, Il as zReceivableMailRecipients, zl as zReceivableMailResponse, Ll as zReceivableMailStatusEnum, Bl as zReceivableMetricEnum, Vl as zReceivableNumberBlock, ju as zReceivableRenderPayload, _p as zReceivableResponse, Hl as zReceivableSettings, Ul as zReceivableTemplatesVariable, ep as zReceivableTemplatesVariablesObject, Wl as zReceivableType, Kl as zReceivableUpdatedEventData, ql as zReceivablesAnalyticsDataPoint, Jl as zReceivablesCounterpartAddress, Yl as zReceivablesPreviewTypeEnum, Xl as zReceivablesRemindersWarningMessage, V as zReceivablesRepresentationOfCounterpartAddress, Ql as zReceivablesRepresentationOfEntityBankAccount, $l as zReceivablesStatusEnum, iu as zRecipient, eu as zRecipientAccountResponse, nu as zRecipientAccountResponse2, ru as zRecipientType, H as zRecipients, ou as zRecipientsInfo, su as zRecurrenceFrequency, cu as zRecurrenceIteration, uu as zRecurrenceResponse, lu as zRecurrenceStatus, du as zRegulatoryTemplateResponse, fu as zRelatedDocuments, pu as zRelatedOrganizationSummaryDto, qf as zRelatedUserDto, U as zReminder, hu as zReminderMailSentEventData, mu as zReminderTypeEnum, gu as zRemindersSettings, _u as zRepaymentSchedule, vu as zRequirementsError, pp as zResponseItem, yu as zRoleCursorFields, bu as zRoleMemberResponseDto, xu as zRolePermissionResponseDto, Zu as zRoleResponse, ud as zRoleResponseDto, Su as zRootSchema, np as zRuleResponse, Tu as zScaMethod, wu as zScaMethodType, Eu as zSendStatelessEmailResponse, Du as zServiceProvidersEnum, Ou as zSignature, ku as zSignatureBlock, W as zSingleAmountPredicate, Nu as zSingleCountryPredicate, Fu as zSingleItemTypePredicate, Lu as zSinglePaymentIntent, Ru as zSinglePaymentIntentResponse, zu as zSortOrderDto, Bu as zSourceOfData, Vu as zSourceOfPayableDataEnum, Hu as zSourceOfReceiptDataEnum, Wu as zStatusChangedEventData, G as zStatusEnum, Qu as zStripeData, Ip as zSubscriptionResponse, $u as zSuggestedCounterpartPayload, ed as zSuggestedPaymentTerm, td as zSupportedFieldNames, rd as zSupportedFormatSchema, id as zSupportedPaymentAuthorizationFlow, od as zSyncRecordCursorFields, cd as zSyncRecordResource, sd as zSyncStatus, ld as zSystemRoleKey, Gd as zSystemTemplateDataSchema, K as zTagCategory, Td as zTagCursorFields, J as zTagReadSchema, kd as zTaxComponentResponse, jd as zTaxIdResponseDto, Nd as zTaxIdentificationNumberType, zd as zTaxRateAccountCursorFields, Bd as zTaxRateAccountCursorFields2, Vd as zTaxStatusEnum, Ud as zTemplate, Wd as zTemplateDataSchema, qd as zTemplateReceivableResponse, Kd as zTemplateTypeEnum, Y as zTermDiscountDays, Jd as zTermFinalDays, Xd as zTermsOfServiceAcceptanceInput, Zd as zTermsOfServiceAcceptanceOutput, Qd as zTesouroData, ef as zTesouroPaymentIntentData, nf as zTextTemplateDocumentTypeEnum, af as zTextTemplateResponse, rf as zTextTemplateType, sf as zTotalTaxAmountItem, of as zTotalTaxAmountItemComponent, cf as zTransactionBulkObject, lf as zTransactionBulkStatusEnum, uf as zTransactionCursorFields, df as zTransactionDimensionEnum, ff as zTransactionFieldsAllowedForValidate, pf as zTransactionMetricEnum, mf as zTransactionPaymentMethod, hf as zTransactionPaymentMethodTypeEnum, bf as zTransactionRequest, gf as zTransactionRequiredFieldItem, xf as zTransactionResponse, X as zTransactionStatusEnum, yf as zTransactionTypeEnum, Sf as zTransactionValidationError, Cf as zTransferType, wf as zUnit, Tf as zUnitRequest, Nf as zUnitResponse, Vf as zUpdateCreditNote, Hf as zUpdateCreditNotePayload, Pf as zUpdateEntityAddressSchema, Ff as zUpdateInvoice, If as zUpdateInvoicePayload, Lf as zUpdateIssuedInvoice, Rf as zUpdateIssuedInvoicePayload, Bf as zUpdateLineItemForCreditNote, zf as zUpdateProductForCreditNote, Uf as zUpdateQuote, Wf as zUpdateQuotePayload, Gf as zUserDepartmentDto, Kf as zUserLocationDto, Jf as zUserStatus, Yf as zUserStatusFilter, Xf as zValidationError, Zf as zVariable, Qf as zVariablesObject, $f as zVariablesType, tp as zVatConditionType, Z as zVatIdTypeEnum, Q as zVatModeEnum, Sp as zVatPredicate, lp as zVatRateComponent, yp as zVatRateResponse, vp as zVatRateStatusEnum, bp as zVatTypePredicate, xp as zVatValidityEnum, wp as zVerificationError, Tp as zVerificationStatusEnum, Ep as zWcBusinessStatus, Dp as zWcInvoiceStatus, kp as zWcOfferStatus, Ap as zWcRepaymentType, Np as zWebhookDeliveryCursorFields, Pp as zWebhookDeliveryResource, Fp as zWebhookEventType, $ as zWebhookObjectType, Rp as zWebhookSubscriptionCursorFields, Bp as zWebhookSubscriptionResource, zp as zWebhookSubscriptionStatus, Vp as zWidgetUserStatus, Hp as zYapilyCountriesCoverageCodes };
|