@tesouro/embedded-components-react 0.4.10 → 0.4.12

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.
@@ -2893,6 +2893,13 @@ var Ko = e.object({
2893
2893
  approval_policy_name: e.string().nullish(),
2894
2894
  approval_policy_process_id: e.string().nullish()
2895
2895
  }), qo = e.object({
2896
+ id: e.string(),
2897
+ first_name: e.string().nullish(),
2898
+ last_name: e.string().nullish()
2899
+ }), Jo = e.object({
2900
+ bypassed_approver_ids: e.array(e.string()),
2901
+ bypassed_approvers: e.array(qo).optional()
2902
+ }), Yo = e.object({
2896
2903
  address: e.string().nullish(),
2897
2904
  email: e.string().nullish(),
2898
2905
  first_name: e.string().nullish(),
@@ -2902,7 +2909,7 @@ var Ko = e.object({
2902
2909
  phone: e.string().nullish(),
2903
2910
  tax_id: e.string().nullish(),
2904
2911
  vat_id: e.string().nullish()
2905
- }), Jo = e.object({
2912
+ }), Xo = e.object({
2906
2913
  credit_note_document_id: e.string().nullish(),
2907
2914
  credit_note_id: e.string()
2908
2915
  }), j = e.enum([
@@ -2913,10 +2920,10 @@ var Ko = e.object({
2913
2920
  "rejected",
2914
2921
  "canceled",
2915
2922
  "submitted_for_approval"
2916
- ]), Yo = e.object({
2923
+ ]), Zo = e.object({
2917
2924
  credit_note_document_id: e.string().nullish(),
2918
2925
  credit_note_id: e.string()
2919
- }), Xo = e.enum([
2926
+ }), Qo = e.enum([
2920
2927
  "id",
2921
2928
  "created_at",
2922
2929
  "updated_at",
@@ -2928,7 +2935,7 @@ var Ko = e.object({
2928
2935
  "currency",
2929
2936
  "counterpart_name",
2930
2937
  "scheduled_payment_date"
2931
- ]), Zo = e.enum([
2938
+ ]), $o = e.enum([
2932
2939
  "created_at",
2933
2940
  "status",
2934
2941
  "counterpart_id",
@@ -2936,7 +2943,7 @@ var Ko = e.object({
2936
2943
  "issued_at",
2937
2944
  "due_date",
2938
2945
  "project_id"
2939
- ]), Qo = e.enum([
2946
+ ]), es = e.enum([
2940
2947
  "suspected",
2941
2948
  "dismissed",
2942
2949
  "confirmed"
@@ -2949,16 +2956,16 @@ e.object({
2949
2956
  payable_id: e.uuid(),
2950
2957
  resolved_at: e.iso.datetime().nullish(),
2951
2958
  resolved_by_user_id: e.uuid().nullish(),
2952
- status: Qo
2959
+ status: es
2953
2960
  });
2954
- var $o = e.object({
2961
+ var ts = e.object({
2955
2962
  city: e.string().max(255),
2956
2963
  country: n.optional().default("DE"),
2957
2964
  line1: e.string().max(255),
2958
2965
  line2: e.string().max(100).nullish(),
2959
2966
  postal_code: e.string().max(10),
2960
2967
  state: e.string().max(255).nullish()
2961
- }), es = e.object({
2968
+ }), ns = e.object({
2962
2969
  address: e.string().nullish(),
2963
2970
  first_name: e.string().nullish(),
2964
2971
  header: e.string().nullish(),
@@ -2966,12 +2973,12 @@ var $o = e.object({
2966
2973
  name: e.string().nullish(),
2967
2974
  tax_id: e.string().nullish(),
2968
2975
  vat_id: e.string().nullish()
2969
- }), ts = e.object({
2976
+ }), rs = e.object({
2970
2977
  new: e.unknown().nullable(),
2971
2978
  new_label: e.string().nullish(),
2972
2979
  old: e.unknown().nullable(),
2973
2980
  old_label: e.string().nullish()
2974
- }), ns = e.enum(["timestamp"]), rs = e.enum([
2981
+ }), is = e.enum(["timestamp"]), as = e.enum([
2975
2982
  "status_changed",
2976
2983
  "payable_created",
2977
2984
  "payable_updated",
@@ -2986,35 +2993,36 @@ var $o = e.object({
2986
2993
  "approval_requested",
2987
2994
  "approval_action",
2988
2995
  "auto_approved",
2996
+ "approvals_bypassed",
2989
2997
  "reopened",
2990
2998
  "marked_as_paid",
2991
2999
  "marked_as_partially_paid",
2992
3000
  "payment_reverted",
2993
3001
  "deleted"
2994
- ]), is = e.object({
3002
+ ]), os = e.object({
2995
3003
  date_of_birth: e.iso.date().nullish(),
2996
3004
  first_name: e.string().max(100),
2997
3005
  id_number: e.string().nullish(),
2998
3006
  last_name: e.string().max(100),
2999
3007
  ssn_last_4: e.string().nullish(),
3000
3008
  title: e.string().max(10).nullish()
3001
- }), as = e.object({
3009
+ }), ss = e.object({
3002
3010
  based_invoice_number: e.string().nullish(),
3003
3011
  based_invoice_number_header: e.string().optional().default("Related invoice"),
3004
3012
  due_date: e.string().nullish(),
3005
3013
  due_date_header: e.string().nullish().default("Due date"),
3006
3014
  issue_date: e.string().nullish(),
3007
3015
  issue_date_header: e.string().optional().default("Issue date")
3008
- }), os = e.object({
3016
+ }), cs = e.object({
3009
3017
  line_item_id: e.string(),
3010
3018
  name: e.string().nullable(),
3011
3019
  quantity: e.number().nullish(),
3012
3020
  total: e.int().nullish(),
3013
3021
  unit_price: e.int().nullish()
3014
- }), ss = e.object({ line_item_id: e.string() }), cs = e.object({
3015
- fields: e.record(e.string(), ts),
3022
+ }), ls = e.object({ line_item_id: e.string() }), us = e.object({
3023
+ fields: e.record(e.string(), rs),
3016
3024
  line_item_id: e.string()
3017
- }), ls = e.object({
3025
+ }), ds = e.object({
3018
3026
  amount_paid: e.int(),
3019
3027
  comment: e.string().nullish(),
3020
3028
  is_external: e.boolean().nullish(),
@@ -3022,7 +3030,7 @@ var $o = e.object({
3022
3030
  payment_intent_id: e.uuid().nullish(),
3023
3031
  payment_method: e.string().nullish(),
3024
3032
  payment_record_id: e.uuid().nullish()
3025
- }), us = e.object({
3033
+ }), fs = e.object({
3026
3034
  amount_due: e.int(),
3027
3035
  amount_paid: e.int(),
3028
3036
  is_external: e.boolean().nullish(),
@@ -3030,11 +3038,11 @@ var $o = e.object({
3030
3038
  payment_intent_id: e.uuid().nullish(),
3031
3039
  payment_method: e.string().nullish(),
3032
3040
  payment_record_id: e.uuid().nullish()
3033
- }), ds = e.enum([
3041
+ }), ps = e.enum([
3034
3042
  "id",
3035
3043
  "total_amount",
3036
3044
  "amount_due"
3037
- ]), fs = e.object({
3045
+ ]), ms = e.object({
3038
3046
  business_structure: cr.nullish(),
3039
3047
  directors_provided: e.boolean().nullish(),
3040
3048
  executives_provided: e.boolean().nullish(),
@@ -3042,7 +3050,7 @@ var $o = e.object({
3042
3050
  legal_name: e.string().min(1).max(255),
3043
3051
  owners_provided: e.boolean().nullish(),
3044
3052
  representative_provided: e.boolean().nullish()
3045
- }), M = e.enum(["upload", "email"]), ps = e.object({
3053
+ }), M = e.enum(["upload", "email"]), hs = e.object({
3046
3054
  account_data: ie.optional().default({
3047
3055
  account_holder_name_header: "Account holder",
3048
3056
  account_number_header: "Account number",
@@ -3052,8 +3060,8 @@ var $o = e.object({
3052
3060
  routing_number_header: "Routing number",
3053
3061
  sort_code_header: "Sort code"
3054
3062
  }),
3055
- counterpart_info: qo.optional().default({}),
3056
- entity_info: es.optional().default({}),
3063
+ counterpart_info: Yo.optional().default({}),
3064
+ entity_info: ns.optional().default({}),
3057
3065
  header: di.optional().default({}),
3058
3066
  line_items: Hi.optional().default({
3059
3067
  amounts_reduced: [],
@@ -3076,13 +3084,13 @@ var $o = e.object({
3076
3084
  of_preposition: "of",
3077
3085
  page_text: "Page"
3078
3086
  }),
3079
- payable_info: as.optional().default({
3087
+ payable_info: ss.optional().default({
3080
3088
  based_invoice_number_header: "Related invoice",
3081
3089
  due_date_header: "Due date",
3082
3090
  issue_date_header: "Issue date"
3083
3091
  }),
3084
3092
  template_type: e.literal("payable")
3085
- }), ms = e.object({
3093
+ }), gs = e.object({
3086
3094
  allow_cancel_duplicates_automatically: e.boolean().nullish().default(!1),
3087
3095
  allow_counterpart_autocreation: e.boolean().nullish().default(!1),
3088
3096
  allow_counterpart_autolinking: e.boolean().nullish().default(!1),
@@ -3100,27 +3108,27 @@ var $o = e.object({
3100
3108
  "paid",
3101
3109
  "canceled",
3102
3110
  "rejected"
3103
- ]), hs = e.object({
3111
+ ]), _s = e.object({
3104
3112
  name: e.literal("payable"),
3105
3113
  statuses: e.array(N)
3106
- }), gs = e.discriminatedUnion("name", [hs, Rr]);
3114
+ }), vs = e.discriminatedUnion("name", [_s, Rr]);
3107
3115
  e.object({
3108
3116
  date_from: e.iso.date(),
3109
3117
  date_to: e.iso.date(),
3110
3118
  format: Ir,
3111
- objects: e.array(gs)
3119
+ objects: e.array(vs)
3112
3120
  });
3113
- var _s = e.object({
3121
+ var ys = e.object({
3114
3122
  count: e.int(),
3115
3123
  status: N,
3116
3124
  sum_total_amount: e.int()
3117
3125
  });
3118
3126
  e.object({
3119
3127
  count: e.int(),
3120
- data: e.array(_s),
3128
+ data: e.array(ys),
3121
3129
  sum_total_amount: e.int()
3122
3130
  });
3123
- var vs = e.object({ old_status: N }), ys = e.object({
3131
+ var bs = e.object({ old_status: N }), xs = e.object({
3124
3132
  amount_paid: e.int(),
3125
3133
  is_external: e.boolean().nullish(),
3126
3134
  new_status: N,
@@ -3128,72 +3136,72 @@ var vs = e.object({ old_status: N }), ys = e.object({
3128
3136
  payment_intent_id: e.uuid().nullish(),
3129
3137
  payment_method: e.string().nullish(),
3130
3138
  payment_record_id: e.uuid().nullish()
3131
- }), bs = e.object({
3139
+ }), Ss = e.object({
3132
3140
  new_status: N,
3133
3141
  old_status: N
3134
- }), xs = e.object({
3142
+ }), Cs = e.object({
3135
3143
  new_status: N,
3136
3144
  old_status: N,
3137
3145
  skipped_approval_flow: e.boolean()
3138
- }), Ss = e.object({
3146
+ }), ws = e.object({
3139
3147
  description: e.string(),
3140
3148
  name: e.string()
3141
- }), Cs = e.object({ fields: e.record(e.string(), ts).optional() });
3149
+ }), Ts = e.object({ fields: e.record(e.string(), rs).optional() });
3142
3150
  e.object({ file: e.string() }), e.object({
3143
3151
  id: e.uuid(),
3144
3152
  validation_errors: e.array(e.record(e.string(), e.unknown())).optional()
3145
3153
  });
3146
- var ws = 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(","));
3147
- e.object({ required_fields: e.array(ws) }), e.object({ required_fields: e.array(ws) });
3148
- var Ts = e.enum(["payables_purchase_order", "payables_notify_approver"]), Es = e.object({
3149
- object_subtype: Ts,
3154
+ var Es = 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(","));
3155
+ e.object({ required_fields: e.array(Es) }), e.object({ required_fields: e.array(Es) });
3156
+ var Ds = e.enum(["payables_purchase_order", "payables_notify_approver"]), Os = e.object({
3157
+ object_subtype: Ds,
3150
3158
  object_type: e.literal("payable"),
3151
- variables: e.array(Ss)
3159
+ variables: e.array(ws)
3152
3160
  });
3153
- e.object({ data: e.array(Es) });
3154
- var P = e.enum(["entity", "counterpart"]), Ds = e.object({
3161
+ e.object({ data: e.array(Os) });
3162
+ var P = e.enum(["entity", "counterpart"]), ks = e.object({
3155
3163
  id: e.uuid(),
3156
3164
  bank_accounts: e.array(pn).optional(),
3157
3165
  name: e.string().nullish(),
3158
3166
  type: P
3159
- }), Os = e.object({
3167
+ }), As = e.object({
3160
3168
  id: e.uuid(),
3161
3169
  authorized_bank_accounts: e.array(Pe).optional(),
3162
3170
  bank_accounts: e.array(pn).optional(),
3163
3171
  name: e.string().nullish(),
3164
3172
  type: P
3165
- }), ks = e.object({
3173
+ }), js = e.object({
3166
3174
  id: e.uuid(),
3167
3175
  type: P
3168
- }), As = e.enum(["IBAN"]), js = e.object({
3169
- type: As,
3176
+ }), Ms = e.enum(["IBAN"]), Ns = e.object({
3177
+ type: Ms,
3170
3178
  value: e.string()
3171
- }), Ms = e.enum(["id", "created_at"]), Ns = e.object({
3179
+ }), Ps = e.enum(["id", "created_at"]), Fs = e.object({
3172
3180
  id: e.uuid(),
3173
3181
  created_at: e.iso.datetime(),
3174
3182
  updated_at: e.iso.datetime(),
3175
3183
  payment_intent_id: e.uuid(),
3176
3184
  status: e.string()
3177
3185
  });
3178
- e.object({ data: e.array(Ns) });
3179
- var Ps = e.enum([
3186
+ e.object({ data: e.array(Fs) });
3187
+ var Is = e.enum([
3180
3188
  "bank_account",
3181
3189
  "paper_check",
3182
3190
  "us_ach",
3183
3191
  "wire"
3184
- ]), Fs = e.object({
3192
+ ]), Ls = e.object({
3185
3193
  id: e.uuid(),
3186
3194
  bank_account_id: e.uuid().nullish(),
3187
- payout_method: Ps.optional().default("bank_account"),
3195
+ payout_method: Is.optional().default("bank_account"),
3188
3196
  type: e.literal("counterpart")
3189
- }), Is = e.enum(["receive", "send"]), Ls = e.enum(["active", "inactive"]), Rs = e.object({
3190
- direction: Is,
3197
+ }), Rs = e.enum(["receive", "send"]), zs = e.enum(["active", "inactive"]), Bs = e.object({
3198
+ direction: Rs,
3191
3199
  name: na,
3192
- status: Ls,
3200
+ status: zs,
3193
3201
  type: _
3194
3202
  });
3195
- e.object({ data: e.array(Rs) });
3196
- var zs = e.enum([
3203
+ e.object({ data: e.array(Bs) });
3204
+ var Vs = e.enum([
3197
3205
  "standard",
3198
3206
  "premium",
3199
3207
  "paper_check",
@@ -3207,11 +3215,11 @@ e.object({
3207
3215
  paid_by: Vo.optional().default("payer"),
3208
3216
  partner_fee: qr,
3209
3217
  payment_method: _,
3210
- payment_method_subtype: zs.nullish(),
3218
+ payment_method_subtype: Vs.nullish(),
3211
3219
  region: Jr,
3212
3220
  tier_id: e.uuid().nullish()
3213
3221
  });
3214
- var Bs = e.object({
3222
+ var Hs = e.object({
3215
3223
  id: e.uuid(),
3216
3224
  created_at: e.iso.datetime(),
3217
3225
  updated_at: e.iso.datetime(),
@@ -3222,48 +3230,48 @@ var Bs = e.object({
3222
3230
  paid_by: Vo,
3223
3231
  partner_fee: qr,
3224
3232
  payment_method: e.string(),
3225
- payment_method_subtype: zs.nullish(),
3233
+ payment_method_subtype: Vs.nullish(),
3226
3234
  region: Jr,
3227
3235
  tier_id: e.uuid().nullish()
3228
3236
  });
3229
- e.object({ data: e.array(Bs) }), e.object({ payment_method_id: e.string() }), e.object({
3237
+ e.object({ data: e.array(Hs) }), e.object({ payment_method_id: e.string() }), e.object({
3230
3238
  client_secret: e.string(),
3231
3239
  is_next_action_needed: e.boolean()
3232
3240
  });
3233
- var Vs = e.object({
3241
+ var Us = e.object({
3234
3242
  id: e.uuid(),
3235
3243
  type: e.literal("payable")
3236
- }), Hs = e.object({
3237
- object: Vs,
3244
+ }), Ws = e.object({
3245
+ object: Us,
3238
3246
  payment_reference: e.string().nullish(),
3239
3247
  recipient: rt
3240
3248
  });
3241
3249
  e.object({
3242
3250
  expires_at: e.iso.datetime().nullish(),
3243
3251
  funding_payment_method: e.literal("us_ach").optional().default("us_ach"),
3244
- payment_intents: e.array(Hs).min(1),
3252
+ payment_intents: e.array(Ws).min(1),
3245
3253
  payout_payment_methods: e.array(_).min(1).optional(),
3246
3254
  return_url: e.url().min(1).max(2083).nullish()
3247
3255
  });
3248
- var Us = e.enum(["payable", "receivable"]), Ws = e.object({
3256
+ var Gs = e.enum(["payable", "receivable"]), Ks = e.object({
3249
3257
  id: e.uuid(),
3250
- type: Us
3258
+ type: Gs
3251
3259
  });
3252
3260
  e.object({
3253
3261
  amount: e.int().gte(1).nullish(),
3254
3262
  currency: c.nullish(),
3255
3263
  expires_at: e.iso.datetime().nullish(),
3256
3264
  invoice: yi.nullish(),
3257
- object: Ws.nullish(),
3265
+ object: Ks.nullish(),
3258
3266
  payment_methods: e.array(_).min(1),
3259
3267
  payment_reference: e.string().nullish(),
3260
- recipient: ks,
3268
+ recipient: js,
3261
3269
  return_url: e.url().min(1).max(2083).nullish()
3262
3270
  });
3263
- var Gs = e.object({
3271
+ var qs = e.object({
3264
3272
  logo_url: e.url().min(1).max(2083).nullable(),
3265
3273
  website_url: e.url().min(1).max(2083).nullish()
3266
- }), Ks = e.object({
3274
+ }), Js = e.object({
3267
3275
  background_color: e.string().nullish(),
3268
3276
  border_radius: e.string().nullish(),
3269
3277
  button: lt.nullish(),
@@ -3281,14 +3289,14 @@ e.object({
3281
3289
  font_color: e.string().nullish(),
3282
3290
  font_family: e.string().nullish(),
3283
3291
  font_link_href: e.url().min(1).max(2083).nullish(),
3284
- footer: Gs.nullish(),
3292
+ footer: qs.nullish(),
3285
3293
  logo_src: e.url().min(1).max(2083).nullish()
3286
3294
  });
3287
- var qs = e.enum([
3295
+ var Ys = e.enum([
3288
3296
  "working_capital",
3289
3297
  "balanced",
3290
3298
  "bottom_line"
3291
- ]), Js = e.object({
3299
+ ]), Xs = e.object({
3292
3300
  amount_due: e.int(),
3293
3301
  amount_paid: e.int(),
3294
3302
  comment: e.string().nullish(),
@@ -3297,7 +3305,7 @@ var qs = e.enum([
3297
3305
  payment_intent_id: e.uuid().nullish(),
3298
3306
  payment_method: e.string().nullish(),
3299
3307
  payment_record_id: e.uuid().nullish()
3300
- }), Ys = e.enum([
3308
+ }), Zs = e.enum([
3301
3309
  "paid_at",
3302
3310
  "amount",
3303
3311
  "overpaid_amount"
@@ -3306,10 +3314,10 @@ e.object({
3306
3314
  paid_at: e.iso.datetime(),
3307
3315
  payment_intent_status: e.string().nullish()
3308
3316
  });
3309
- var Xs = e.object({
3317
+ var Qs = e.object({
3310
3318
  id: e.uuid(),
3311
3319
  type: ka
3312
- }), Zs = e.object({
3320
+ }), $s = e.object({
3313
3321
  id: e.uuid(),
3314
3322
  new_status: e.string(),
3315
3323
  old_status: e.string(),
@@ -3319,7 +3327,7 @@ e.object({
3319
3327
  amount: e.int(),
3320
3328
  currency: c,
3321
3329
  entity_user_id: e.uuid().nullish(),
3322
- object: Xs,
3330
+ object: Qs,
3323
3331
  paid_at: e.iso.datetime().nullish(),
3324
3332
  payment_intent_id: e.uuid().nullish(),
3325
3333
  payment_intent_status: e.string().nullish(),
@@ -3331,24 +3339,24 @@ e.object({
3331
3339
  "succeeded"
3332
3340
  ]).optional().default("succeeded")
3333
3341
  });
3334
- var Qs = e.enum([
3342
+ var ec = e.enum([
3335
3343
  "created",
3336
3344
  "processing",
3337
3345
  "succeeded",
3338
3346
  "canceled"
3339
- ]), $s = e.object({
3347
+ ]), tc = e.object({
3340
3348
  entity_user_id: e.uuid().nullish(),
3341
- status: Qs,
3349
+ status: ec,
3342
3350
  timestamp: e.iso.datetime()
3343
- }), ec = e.object({
3351
+ }), nc = e.object({
3344
3352
  id: e.uuid(),
3345
3353
  amount: e.int(),
3346
3354
  currency: c,
3347
3355
  entity_user_id: e.uuid().nullish(),
3348
3356
  error_message: e.string().nullish(),
3349
- history: e.array($s),
3357
+ history: e.array(tc),
3350
3358
  is_external: e.boolean(),
3351
- object: Zs,
3359
+ object: $s,
3352
3360
  overpaid_amount: e.int().gte(0).optional().default(0),
3353
3361
  paid_at: e.iso.datetime().nullish(),
3354
3362
  payment_intent_id: e.uuid().nullish(),
@@ -3358,41 +3366,41 @@ var Qs = e.enum([
3358
3366
  status: e.string().optional().default("succeeded")
3359
3367
  });
3360
3368
  e.object({
3361
- data: e.array(ec),
3369
+ data: e.array(nc),
3362
3370
  next_pagination_token: e.string().nullish(),
3363
3371
  prev_pagination_token: e.string().nullish()
3364
3372
  });
3365
- var tc = e.object({ payment_intent_status: e.string().nullish() });
3373
+ var rc = e.object({ payment_intent_status: e.string().nullish() });
3366
3374
  e.object({
3367
3375
  amount: e.int().nullish(),
3368
3376
  currency: c.nullish(),
3369
3377
  entity_user_id: e.uuid().nullish(),
3370
- object: Xs.nullish(),
3378
+ object: Qs.nullish(),
3371
3379
  paid_at: e.iso.datetime().nullish(),
3372
3380
  payment_intent_id: e.uuid().nullish(),
3373
3381
  payment_intent_status: e.string().nullish(),
3374
3382
  payment_method: e.string().nullish(),
3375
3383
  planned_payment_date: e.iso.date().nullish()
3376
3384
  });
3377
- var nc = e.object({
3385
+ var ic = e.object({
3378
3386
  current_deadline: e.iso.datetime().nullish(),
3379
3387
  currently_due: e.array(e.string()),
3380
3388
  eventually_due: e.array(e.string()),
3381
3389
  pending_verification: e.array(e.string())
3382
- }), rc = e.object({
3390
+ }), ac = e.object({
3383
3391
  id: e.uuid().nullish(),
3384
3392
  description: e.string().nullish(),
3385
3393
  name: e.string().nullish(),
3386
3394
  term_1: hi.nullish(),
3387
3395
  term_2: hi.nullish(),
3388
3396
  term_final: gi
3389
- }), ic = e.object({
3397
+ }), oc = e.object({
3390
3398
  description: e.string().nullish(),
3391
3399
  header: e.string().optional().default("Payment terms"),
3392
3400
  term_1: e.string().nullish(),
3393
3401
  term_2: e.string().nullish(),
3394
3402
  term_final: e.string().nullish()
3395
- }), ac = e.enum([
3403
+ }), sc = e.enum([
3396
3404
  "created",
3397
3405
  "processing",
3398
3406
  "partially_successful",
@@ -3406,12 +3414,12 @@ e.object({
3406
3414
  error: e.record(e.string(), e.unknown()).nullish(),
3407
3415
  expires_at: e.iso.datetime(),
3408
3416
  payment_page_url: e.url().min(1).max(2083),
3409
- status: ac,
3417
+ status: sc,
3410
3418
  total_amount: e.int().nullish()
3411
3419
  });
3412
- var oc = e.object({
3420
+ var cc = e.object({
3413
3421
  payment_page_domain: e.string().nullish(),
3414
- payment_page_theme: Ks.nullish(),
3422
+ payment_page_theme: Js.nullish(),
3415
3423
  support_email: e.email().nullish()
3416
3424
  });
3417
3425
  e.object({
@@ -3424,12 +3432,12 @@ e.object({
3424
3432
  rendered_document_id: e.string().nullish(),
3425
3433
  template_type: e.string()
3426
3434
  });
3427
- var sc = e.enum([
3435
+ var lc = e.enum([
3428
3436
  "receivable",
3429
3437
  "delivery_note",
3430
3438
  "purchase_order",
3431
3439
  "payable"
3432
- ]), cc = e.enum([
3440
+ ]), uc = e.enum([
3433
3441
  "month",
3434
3442
  "day",
3435
3443
  "year",
@@ -3439,35 +3447,35 @@ e.object({
3439
3447
  higher_range: e.int().gt(0),
3440
3448
  lower_range: e.int().gte(0),
3441
3449
  measure_unit: Zi,
3442
- period: cc
3450
+ period: uc
3443
3451
  });
3444
- var lc = e.object({
3452
+ var dc = e.object({
3445
3453
  id: e.uuid(),
3446
3454
  created_at: e.iso.datetime(),
3447
3455
  updated_at: e.iso.datetime(),
3448
3456
  higher_range: e.int(),
3449
3457
  lower_range: e.int(),
3450
3458
  measure_unit: Zi,
3451
- period: cc
3459
+ period: uc
3452
3460
  });
3453
- e.object({ data: e.array(lc) });
3454
- var uc = e.enum([
3461
+ e.object({ data: e.array(dc) });
3462
+ var fc = e.enum([
3455
3463
  "allowed",
3456
3464
  "allowed_for_own",
3457
3465
  "not_allowed"
3458
- ]), dc = e.object({
3466
+ ]), pc = e.object({
3459
3467
  action_name: me.optional().default("read"),
3460
- permission: uc.optional().default("allowed")
3468
+ permission: fc.optional().default("allowed")
3461
3469
  }), F = e.object({
3462
- actions: e.array(dc).optional(),
3470
+ actions: e.array(pc).optional(),
3463
3471
  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")
3464
- }), fc = e.object({
3472
+ }), mc = e.object({
3465
3473
  action_name: Uo.optional().default("read"),
3466
- permission: uc.optional().default("allowed")
3467
- }), pc = e.object({
3468
- actions: e.array(fc).optional(),
3474
+ permission: fc.optional().default("allowed")
3475
+ }), hc = e.object({
3476
+ actions: e.array(mc).optional(),
3469
3477
  object_type: e.literal("payable").optional().default("payable")
3470
- }), mc = 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.authorization_control:write:org.bank_account:read:org.bank_account:write:org.bank_account_application:read:org.bank_account_application:write:org.beneficial_owner:read:org.check_deposit:write: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("."));
3478
+ }), gc = 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.authorization_control:write:org.bank_account:read:org.bank_account:write:org.bank_account_application:read:org.bank_account_application:write:org.beneficial_owner:read:org.check_deposit:write: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("."));
3471
3479
  e.object({
3472
3480
  address1: e.string().nullish(),
3473
3481
  address2: e.string().nullish(),
@@ -3477,7 +3485,7 @@ e.object({
3477
3485
  jobTitle: e.string().nullish(),
3478
3486
  name: e.string(),
3479
3487
  permissionIds: e.array(e.uuid()).nullish(),
3480
- permissionKeys: e.array(mc).nullish(),
3488
+ permissionKeys: e.array(gc).nullish(),
3481
3489
  phoneNumber: e.string().nullish(),
3482
3490
  postalCode: e.string().nullish(),
3483
3491
  redirectUri: e.string().nullish(),
@@ -3485,17 +3493,17 @@ e.object({
3485
3493
  stateOrProvince: e.string().nullish(),
3486
3494
  status: e.string()
3487
3495
  });
3488
- var hc = e.object({
3496
+ var _c = e.object({
3489
3497
  grant: e.array(e.string()).nullish(),
3490
3498
  revoke: e.array(e.string()).nullish()
3491
- }), gc = e.enum([
3499
+ }), vc = e.enum([
3492
3500
  "SSN",
3493
3501
  "PASSPORT_NUMBER",
3494
3502
  "ITIN"
3495
- ]), _c = e.object({
3496
- type: gc.nullish(),
3503
+ ]), yc = e.object({
3504
+ type: vc.nullish(),
3497
3505
  value: e.string().nullish()
3498
- }).nullable(), vc = e.object({
3506
+ }).nullable(), bc = e.object({
3499
3507
  authentication: Ra.optional(),
3500
3508
  birthDate: b.optional(),
3501
3509
  disclosuresAcceptedVersion: x.optional(),
@@ -3506,9 +3514,9 @@ var hc = e.object({
3506
3514
  lastName: T.optional(),
3507
3515
  mobilePhoneNumber: T.optional(),
3508
3516
  ownershipPercentage: C.optional(),
3509
- personalIdentificationNumber: _c.optional(),
3517
+ personalIdentificationNumber: yc.optional(),
3510
3518
  workEmailAddress: T.optional()
3511
- }), yc = e.object({
3519
+ }), xc = e.object({
3512
3520
  id: e.uuid().nullish(),
3513
3521
  birthDate: b.optional(),
3514
3522
  firstName: T.optional(),
@@ -3516,8 +3524,8 @@ var hc = e.object({
3516
3524
  lastName: T.optional(),
3517
3525
  mobilePhoneNumber: T.optional(),
3518
3526
  ownershipPercentage: C.optional(),
3519
- personalIdentificationNumber: _c.optional()
3520
- }), bc = e.object({
3527
+ personalIdentificationNumber: yc.optional()
3528
+ }), Sc = e.object({
3521
3529
  authentication: Ra.optional(),
3522
3530
  birthDate: b.optional(),
3523
3531
  disclosuresAcceptedVersion: x.optional(),
@@ -3529,10 +3537,10 @@ var hc = e.object({
3529
3537
  mobilePhoneNumber: T.optional(),
3530
3538
  monthlyHousingPayment: w.optional(),
3531
3539
  ownershipPercentage: C.optional(),
3532
- personalIdentificationNumber: _c.optional(),
3540
+ personalIdentificationNumber: yc.optional(),
3533
3541
  totalAnnualIncome: w.optional(),
3534
3542
  workEmailAddress: T.optional()
3535
- }), xc = e.object({
3543
+ }), Cc = e.object({
3536
3544
  authentication: Ra.optional(),
3537
3545
  birthDate: b.optional(),
3538
3546
  disclosuresAcceptedVersion: x.optional(),
@@ -3543,9 +3551,9 @@ var hc = e.object({
3543
3551
  lastName: T.optional(),
3544
3552
  mobilePhoneNumber: T.optional(),
3545
3553
  ownershipPercentage: C.optional(),
3546
- personalIdentificationNumber: _c.optional(),
3554
+ personalIdentificationNumber: yc.optional(),
3547
3555
  workEmailAddress: T.optional()
3548
- }).nullable(), Sc = e.object({
3556
+ }).nullable(), wc = e.object({
3549
3557
  authentication: Ra.optional(),
3550
3558
  birthDate: b.optional(),
3551
3559
  disclosuresAcceptedVersion: x.optional(),
@@ -3557,15 +3565,15 @@ var hc = e.object({
3557
3565
  mobilePhoneNumber: T.optional(),
3558
3566
  monthlyHousingPayment: w.optional(),
3559
3567
  ownershipPercentage: C.optional(),
3560
- personalIdentificationNumber: _c.optional(),
3568
+ personalIdentificationNumber: yc.optional(),
3561
3569
  totalAnnualIncome: w.optional(),
3562
3570
  workEmailAddress: T.optional()
3563
- }).nullable(), Cc = e.array(yc).nullable(), wc = e.enum([
3571
+ }).nullable(), Tc = e.array(xc).nullable(), Ec = e.enum([
3564
3572
  "xero",
3565
3573
  "quickbooks",
3566
3574
  "quickbooks_online",
3567
3575
  "quickbooks_online_sandbox"
3568
- ]), Tc = e.enum([
3576
+ ]), Dc = e.enum([
3569
3577
  "amount",
3570
3578
  "entity_country",
3571
3579
  "counterpart_country",
@@ -3576,7 +3584,7 @@ var hc = e.object({
3576
3584
  "counterpart_vat",
3577
3585
  "counterpart_vat_type",
3578
3586
  "counterpart_vat_country"
3579
- ]), Ec = e.enum([
3587
+ ]), Oc = e.enum([
3580
3588
  "EQ",
3581
3589
  "NEQ",
3582
3590
  "GT",
@@ -3587,15 +3595,15 @@ var hc = e.object({
3587
3595
  "NOT_IN",
3588
3596
  "RANGE",
3589
3597
  "ALL"
3590
- ]), Dc = e.object({
3591
- name: Tc,
3592
- operator: Ec,
3598
+ ]), kc = e.object({
3599
+ name: Dc,
3600
+ operator: Oc,
3593
3601
  value: e.string()
3594
- }), Oc = e.object({
3602
+ }), Ac = e.object({
3595
3603
  height: e.int(),
3596
3604
  url: e.string(),
3597
3605
  width: e.int()
3598
- }), kc = e.object({
3606
+ }), jc = e.object({
3599
3607
  id: e.uuid(),
3600
3608
  created_at: e.iso.datetime(),
3601
3609
  file_type: e.string(),
@@ -3603,15 +3611,15 @@ var hc = e.object({
3603
3611
  mimetype: e.string(),
3604
3612
  name: e.string().max(512),
3605
3613
  pages: e.array(Io).nullish().default([]),
3606
- previews: e.array(Oc).nullish().default([]),
3614
+ previews: e.array(Ac).nullish().default([]),
3607
3615
  region: e.string(),
3608
3616
  size: e.int().gte(0),
3609
3617
  url: e.string()
3610
- }), Ac = e.object({
3618
+ }), Mc = e.object({
3611
3619
  height: e.int(),
3612
3620
  url: e.string(),
3613
3621
  width: e.int()
3614
- }), jc = e.object({
3622
+ }), Nc = e.object({
3615
3623
  id: e.uuid(),
3616
3624
  created_at: e.iso.datetime(),
3617
3625
  file_type: e.string(),
@@ -3619,18 +3627,18 @@ var hc = e.object({
3619
3627
  mimetype: e.string(),
3620
3628
  name: e.string().max(512),
3621
3629
  pages: e.array(Lo).nullish().default([]),
3622
- previews: e.array(Ac).nullish().default([]),
3630
+ previews: e.array(Mc).nullish().default([]),
3623
3631
  region: e.string(),
3624
3632
  size: e.int().gte(0),
3625
3633
  url: e.string()
3626
- }), Mc = e.object({
3634
+ }), Pc = e.object({
3627
3635
  id: e.uuid(),
3628
3636
  created_at: e.iso.datetime(),
3629
3637
  updated_at: e.iso.datetime(),
3630
3638
  address: ar,
3631
3639
  email: e.string().nullish(),
3632
3640
  individual: pi,
3633
- logo: jc.nullish(),
3641
+ logo: Nc.nullish(),
3634
3642
  phone: e.string().max(100).nullish(),
3635
3643
  registration_authority: e.string().min(1).max(100).nullish(),
3636
3644
  registration_number: e.string().min(1).max(100).nullish(),
@@ -3638,13 +3646,13 @@ var hc = e.object({
3638
3646
  tax_id: e.string().max(30).nullish(),
3639
3647
  type: e.literal("individual"),
3640
3648
  website: e.url().min(1).max(2083).nullish()
3641
- }), Nc = e.object({
3649
+ }), Fc = e.object({
3642
3650
  id: e.uuid(),
3643
3651
  created_at: e.iso.datetime(),
3644
3652
  updated_at: e.iso.datetime(),
3645
3653
  address: ar,
3646
3654
  email: e.string().nullish(),
3647
- logo: jc.nullish(),
3655
+ logo: Nc.nullish(),
3648
3656
  organization: Qa,
3649
3657
  phone: e.string().max(100).nullish(),
3650
3658
  registration_authority: e.string().min(1).max(100).nullish(),
@@ -3653,9 +3661,9 @@ var hc = e.object({
3653
3661
  tax_id: e.string().max(30).nullish(),
3654
3662
  type: e.literal("organization"),
3655
3663
  website: e.url().min(1).max(2083).nullish()
3656
- }), Pc = e.discriminatedUnion("type", [Nc, Mc]);
3664
+ }), Ic = e.discriminatedUnion("type", [Fc, Pc]);
3657
3665
  e.object({
3658
- data: e.array(Pc),
3666
+ data: e.array(Ic),
3659
3667
  next_pagination_token: e.string().nullish(),
3660
3668
  prev_pagination_token: e.string().nullish()
3661
3669
  }), e.object({
@@ -3678,14 +3686,14 @@ e.object({
3678
3686
  title: e.string().nullish(),
3679
3687
  type: e.string().nullish()
3680
3688
  });
3681
- var Fc = e.enum([
3689
+ var Lc = e.enum([
3682
3690
  "succeeded",
3683
3691
  "waiting",
3684
3692
  "failed",
3685
3693
  "running",
3686
3694
  "canceled",
3687
3695
  "timed_out"
3688
- ]), Ic = e.object({
3696
+ ]), Rc = e.object({
3689
3697
  id: e.uuid(),
3690
3698
  created_at: e.iso.datetime(),
3691
3699
  updated_at: e.iso.datetime().nullish(),
@@ -3700,11 +3708,11 @@ var Fc = e.enum([
3700
3708
  e.array(e.unknown()),
3701
3709
  e.record(e.string(), e.unknown())
3702
3710
  ]).nullish(),
3703
- status: Fc,
3711
+ status: Lc,
3704
3712
  updated_by: e.uuid().nullish()
3705
3713
  });
3706
- e.object({ data: e.array(Ic) });
3707
- var Lc = e.enum(["name"]), Rc = e.enum([
3714
+ e.object({ data: e.array(Rc) });
3715
+ var zc = e.enum(["name"]), Bc = e.enum([
3708
3716
  "name",
3709
3717
  "price",
3710
3718
  "currency",
@@ -3712,7 +3720,7 @@ var Lc = e.enum(["name"]), Rc = e.enum([
3712
3720
  "description",
3713
3721
  "measure_unit",
3714
3722
  "tax_rate"
3715
- ]), L = e.enum(["product", "service"]), zc = e.object({
3723
+ ]), L = e.enum(["product", "service"]), Vc = e.object({
3716
3724
  name: e.literal("item_type"),
3717
3725
  operator: e.enum(["IN", "ALL"]),
3718
3726
  value: e.array(L).min(1)
@@ -3727,7 +3735,7 @@ e.object({
3727
3735
  smallest_amount: e.number().gte(0).lte(2147483647).nullish(),
3728
3736
  type: L.optional().default("product")
3729
3737
  });
3730
- var Bc = e.object({
3738
+ var Hc = e.object({
3731
3739
  id: e.uuid(),
3732
3740
  created_at: e.iso.datetime(),
3733
3741
  updated_at: e.iso.datetime(),
@@ -3743,7 +3751,7 @@ var Bc = e.object({
3743
3751
  type: L.optional().default("product")
3744
3752
  });
3745
3753
  e.object({
3746
- data: e.array(Bc),
3754
+ data: e.array(Hc),
3747
3755
  next_pagination_token: e.string().nullish(),
3748
3756
  prev_pagination_token: e.string().nullish()
3749
3757
  }), e.object({
@@ -3766,7 +3774,7 @@ e.object({
3766
3774
  start_date: e.iso.date().nullish(),
3767
3775
  tag_ids: e.array(e.uuid()).optional().default([])
3768
3776
  });
3769
- var Vc = e.enum(["id", "created_at"]);
3777
+ var Uc = e.enum(["id", "created_at"]);
3770
3778
  e.object({
3771
3779
  code: e.string().min(1).max(20).regex(/^[a-zA-Z0-9]+$/).nullish(),
3772
3780
  color: e.string().max(128).nullish(),
@@ -3778,33 +3786,33 @@ e.object({
3778
3786
  start_date: e.iso.date().nullish(),
3779
3787
  tag_ids: e.array(e.uuid()).nullish().default([])
3780
3788
  });
3781
- var Hc = e.enum([
3789
+ var Wc = e.enum([
3782
3790
  "psu_id",
3783
3791
  "psu_corporate_id",
3784
3792
  "psu_ip_address"
3785
3793
  ]), R = e.object({
3786
- type: Hc,
3794
+ type: Wc,
3787
3795
  value: e.string()
3788
- }), Uc = e.object({
3796
+ }), Gc = e.object({
3789
3797
  authorized_bank_account_id: e.uuid(),
3790
3798
  iframe: e.boolean().optional().default(!1),
3791
3799
  psu_identification: R.nullish(),
3792
3800
  type: e.literal("authorized_bank_account").optional().default("authorized_bank_account")
3793
- }), Wc = e.object({
3801
+ }), Kc = e.object({
3794
3802
  bank_account_id: e.uuid(),
3795
3803
  bank_id: e.string(),
3796
3804
  iframe: e.boolean().optional().default(!1),
3797
3805
  psu_identification: R.nullish(),
3798
3806
  save_to_authorized: e.boolean().optional().default(!1),
3799
3807
  type: e.literal("bank_account").optional().default("bank_account")
3800
- }), Gc = e.object({
3808
+ }), qc = e.object({
3801
3809
  auth_password: e.string(),
3802
3810
  auth_user: e.string(),
3803
3811
  authorized_bank_account_id: e.uuid(),
3804
3812
  iframe: e.boolean().optional().default(!1),
3805
3813
  psu_identification: R.nullish(),
3806
3814
  type: e.literal("authorized_bank_account").optional().default("authorized_bank_account")
3807
- }), Kc = e.object({
3815
+ }), Jc = e.object({
3808
3816
  auth_password: e.string(),
3809
3817
  auth_user: e.string(),
3810
3818
  bank_account_id: e.uuid(),
@@ -3813,21 +3821,21 @@ var Hc = e.enum([
3813
3821
  psu_identification: R.nullish(),
3814
3822
  save_to_authorized: e.boolean().optional().default(!1),
3815
3823
  type: e.literal("bank_account").optional().default("bank_account")
3816
- }), qc = e.object({
3824
+ }), Yc = e.object({
3817
3825
  id: e.uuid(),
3818
3826
  account_number: e.string().nullish(),
3819
3827
  currency: c.nullish(),
3820
3828
  display_name: e.string().max(200).nullish(),
3821
3829
  iban: e.string().nullish(),
3822
3830
  is_default: e.boolean().optional().default(!1)
3823
- }), Jc = e.object({
3831
+ }), Xc = e.object({
3824
3832
  city: e.string().max(255),
3825
3833
  country: n,
3826
3834
  line1: e.string().max(255),
3827
3835
  line2: e.string().max(255).nullish(),
3828
3836
  postal_code: e.string().max(255),
3829
3837
  state: e.string().max(255).nullish()
3830
- }), Yc = e.object({
3838
+ }), Zc = e.object({
3831
3839
  address: e.string().nullish(),
3832
3840
  email: e.string().nullish(),
3833
3841
  first_name: e.string().nullish(),
@@ -3836,7 +3844,7 @@ var Hc = e.enum([
3836
3844
  organization_name: e.string().nullish(),
3837
3845
  tax_id: e.string().nullish(),
3838
3846
  vat_id: e.string().nullish()
3839
- }), Xc = e.enum(["created_at", "updated_at"]), Zc = e.object({ created_at: e.string().nullish() });
3847
+ }), Qc = e.enum(["created_at", "updated_at"]), $c = e.object({ created_at: e.string().nullish() });
3840
3848
  e.object({
3841
3849
  body_text: e.string(),
3842
3850
  subject_text: e.string()
@@ -3844,14 +3852,14 @@ e.object({
3844
3852
  body_preview: e.string(),
3845
3853
  subject_preview: e.string()
3846
3854
  }), e.object({ mail_id: e.uuid() });
3847
- var Qc = e.object({
3855
+ var el = e.object({
3848
3856
  currency: c,
3849
3857
  name: e.string(),
3850
3858
  price: e.int(),
3851
3859
  quantity: e.int(),
3852
3860
  tax_rate: e.int().gte(0).lte(1e4),
3853
3861
  unit: e.string()
3854
- }), $c = e.object({
3862
+ }), tl = e.object({
3855
3863
  currency: e.string().nullish(),
3856
3864
  name: e.string().nullish(),
3857
3865
  price: e.string().nullish(),
@@ -3859,22 +3867,22 @@ var Qc = e.object({
3859
3867
  tax_rate: e.string().nullish(),
3860
3868
  total_cost: e.string().nullish(),
3861
3869
  units: e.string().nullish()
3862
- }), el = e.object({
3870
+ }), nl = e.object({
3863
3871
  currency: e.string().nullish(),
3864
3872
  head_row: e.string().nullish(),
3865
- line_items: e.array($c).optional()
3866
- }), tl = e.object({ document_id: e.string().nullish() });
3873
+ line_items: e.array(tl).optional()
3874
+ }), rl = e.object({ document_id: e.string().nullish() });
3867
3875
  e.object({
3868
3876
  counterpart_address_id: e.uuid().nullish(),
3869
3877
  counterpart_id: e.uuid(),
3870
3878
  currency: c,
3871
3879
  entity_vat_id_id: e.uuid().nullish(),
3872
- items: e.array(Qc),
3880
+ items: e.array(el),
3873
3881
  message: e.string(),
3874
3882
  project_id: e.uuid().nullish(),
3875
3883
  valid_for_days: e.int().gte(1)
3876
3884
  });
3877
- var nl = e.object({
3885
+ var il = e.object({
3878
3886
  entity_contact: lr.optional().default({
3879
3887
  tax_id_header: "KVK",
3880
3888
  vat_id_header: "VAT"
@@ -3885,20 +3893,20 @@ var nl = e.object({
3885
3893
  }),
3886
3894
  entity_logo: pr.optional().default({}),
3887
3895
  header: di.optional().default({}),
3888
- line_items: el.optional().default({ line_items: [] }),
3896
+ line_items: nl.optional().default({ line_items: [] }),
3889
3897
  memo: $i.optional().default({}),
3890
- payment_terms: ic.optional().default({ header: "Payment terms" }),
3891
- purchase_order_counterpart_info: Yc.optional().default({}),
3892
- purchase_order_date: Zc.optional().default({}),
3893
- purchase_order_number: tl.optional().default({}),
3898
+ payment_terms: oc.optional().default({ header: "Payment terms" }),
3899
+ purchase_order_counterpart_info: Zc.optional().default({}),
3900
+ purchase_order_date: $c.optional().default({}),
3901
+ purchase_order_number: rl.optional().default({}),
3894
3902
  template_type: e.literal("purchase_order")
3895
- }), rl = e.enum(["draft", "issued"]), il = e.object({
3903
+ }), al = e.enum(["draft", "issued"]), ol = e.object({
3896
3904
  id: e.uuid(),
3897
3905
  country: e.string(),
3898
3906
  entity_id: e.uuid(),
3899
3907
  type: e.string(),
3900
3908
  value: e.string()
3901
- }), al = e.object({
3909
+ }), sl = e.object({
3902
3910
  bic: e.string().nullish(),
3903
3911
  bic_title: e.string().nullish().default("BIC"),
3904
3912
  entity_name: e.string().nullish(),
@@ -3912,7 +3920,7 @@ var nl = e.object({
3912
3920
  qr_code_description: e.string().nullish().default("Or use the following details"),
3913
3921
  qr_code_text_below: e.string().nullish(),
3914
3922
  request_for_payment: e.string().nullish()
3915
- }), ol = e.object({
3923
+ }), cl = e.object({
3916
3924
  display_organization_bank_account: e.boolean().optional().default(!0),
3917
3925
  display_signature: e.boolean().optional().default(!1)
3918
3926
  }), z = e.object({
@@ -3921,19 +3929,19 @@ var nl = e.object({
3921
3929
  display_organization_bank_account: e.boolean().optional().default(!0),
3922
3930
  invoice: bi.optional(),
3923
3931
  line_items: Ui.optional(),
3924
- quote: ol.optional()
3925
- }), sl = e.enum([
3932
+ quote: cl.optional()
3933
+ }), ll = e.enum([
3926
3934
  "draft",
3927
3935
  "issued",
3928
3936
  "accepted",
3929
3937
  "expired",
3930
3938
  "declined",
3931
3939
  "deleted"
3932
- ]), cl = e.object({
3940
+ ]), ul = e.object({
3933
3941
  currency: c,
3934
3942
  rate: e.number()
3935
3943
  });
3936
- e.object({ data: e.array(cl) }), e.object({ file: e.string() }), e.object({
3944
+ e.object({ data: e.array(ul) }), e.object({ file: e.string() }), e.object({
3937
3945
  base64_encoded_file: e.string().nullish(),
3938
3946
  currency: c.nullish(),
3939
3947
  description: e.string().max(1024).nullish(),
@@ -3945,7 +3953,7 @@ e.object({ data: e.array(cl) }), e.object({ file: e.string() }), e.object({
3945
3953
  total_amount: e.int().gte(0).nullish(),
3946
3954
  transaction_id: e.uuid().nullish()
3947
3955
  });
3948
- var ll = e.enum([
3956
+ var dl = e.enum([
3949
3957
  "id",
3950
3958
  "created_at",
3951
3959
  "updated_at",
@@ -3954,7 +3962,7 @@ var ll = e.enum([
3954
3962
  "merchant_name",
3955
3963
  "document_id",
3956
3964
  "currency"
3957
- ]), ul = e.enum([
3965
+ ]), fl = e.enum([
3958
3966
  "created_at",
3959
3967
  "currency",
3960
3968
  "issued_at"
@@ -3963,7 +3971,7 @@ e.object({
3963
3971
  name: e.string().nullish(),
3964
3972
  total: e.int().nullish()
3965
3973
  });
3966
- var dl = e.enum(["created_at", "updated_at"]), fl = e.object({
3974
+ var pl = e.enum(["created_at", "updated_at"]), ml = e.object({
3967
3975
  id: e.uuid(),
3968
3976
  created_at: e.iso.datetime(),
3969
3977
  updated_at: e.iso.datetime(),
@@ -3976,11 +3984,11 @@ e.object({
3976
3984
  name: e.string().nullish(),
3977
3985
  total: e.int().nullish()
3978
3986
  }), e.object({
3979
- data: e.array(fl),
3987
+ data: e.array(ml),
3980
3988
  next_pagination_token: e.string().nullish(),
3981
3989
  prev_pagination_token: e.string().nullish()
3982
3990
  });
3983
- var pl = e.enum(["user", "automatched"]), ml = e.enum(["id"]), hl = e.enum(["upload", "email"]);
3991
+ var hl = e.enum(["user", "automatched"]), gl = e.enum(["id"]), _l = e.enum(["upload", "email"]);
3984
3992
  e.object({
3985
3993
  base64_encoded_file: e.string().nullish(),
3986
3994
  currency: c.nullish(),
@@ -3993,17 +4001,17 @@ e.object({
3993
4001
  total_amount: e.int().gte(0).nullish(),
3994
4002
  transaction_id: e.uuid().nullish()
3995
4003
  }), e.object({ file: e.string() });
3996
- var gl = e.object({
4004
+ var vl = e.object({
3997
4005
  based_on: e.uuid(),
3998
4006
  tag_ids: e.array(e.uuid()).optional().default([]),
3999
4007
  type: nt
4000
- }), _l = e.enum([
4008
+ }), yl = e.enum([
4001
4009
  "manual",
4002
4010
  "based_on",
4003
4011
  "recurrence"
4004
4012
  ]);
4005
4013
  e.object({ comment: e.string().nullish() });
4006
- var vl = e.enum([
4014
+ var bl = e.enum([
4007
4015
  "created_at",
4008
4016
  "status",
4009
4017
  "counterpart_id",
@@ -4012,25 +4020,25 @@ var vl = e.enum([
4012
4020
  "due_date",
4013
4021
  "project_id",
4014
4022
  "product_id"
4015
- ]), yl = e.enum([
4023
+ ]), xl = e.enum([
4016
4024
  "compliant",
4017
4025
  "partially_compliant",
4018
4026
  "non_compliant"
4019
- ]), bl = e.object({
4027
+ ]), Sl = e.object({
4020
4028
  city: e.string().max(255),
4021
4029
  country: n.optional().default("DE"),
4022
4030
  line1: e.string().max(255),
4023
4031
  line2: e.string().max(100).nullish(),
4024
4032
  postal_code: e.string().max(10),
4025
4033
  state: e.string().nullish()
4026
- }), xl = e.object({
4034
+ }), Cl = e.object({
4027
4035
  email: e.email().nullish(),
4028
4036
  logo: e.url().min(1).max(2083).nullish(),
4029
4037
  phone: e.string().nullish(),
4030
4038
  registration_authority: e.string().nullish(),
4031
4039
  registration_number: e.string().nullish(),
4032
4040
  website: e.url().min(1).max(2083).nullish()
4033
- }), Sl = e.object({
4041
+ }), wl = e.object({
4034
4042
  email: e.email().nullish(),
4035
4043
  first_name: e.string(),
4036
4044
  last_name: e.string(),
@@ -4041,7 +4049,7 @@ var vl = e.enum([
4041
4049
  tax_id: e.string().nullish(),
4042
4050
  type: e.literal("individual"),
4043
4051
  website: e.url().min(1).max(2083).nullish()
4044
- }), Cl = e.object({
4052
+ }), Tl = e.object({
4045
4053
  email: e.email().nullish(),
4046
4054
  first_name: e.string(),
4047
4055
  last_name: e.string(),
@@ -4052,7 +4060,7 @@ var vl = e.enum([
4052
4060
  tax_id: e.string().nullish(),
4053
4061
  type: e.literal("individual"),
4054
4062
  website: e.url().min(1).max(2083).nullish()
4055
- }), wl = e.object({
4063
+ }), El = e.object({
4056
4064
  email: e.email().nullish(),
4057
4065
  logo: e.url().min(1).max(2083).nullish(),
4058
4066
  name: e.string(),
@@ -4063,7 +4071,7 @@ var vl = e.enum([
4063
4071
  type: e.literal("organization"),
4064
4072
  vat_id: e.string().nullish(),
4065
4073
  website: e.url().min(1).max(2083).nullish()
4066
- }), Tl = e.object({
4074
+ }), Dl = e.object({
4067
4075
  email: e.email().nullish(),
4068
4076
  logo: e.url().min(1).max(2083).nullish(),
4069
4077
  name: e.string(),
@@ -4073,12 +4081,12 @@ var vl = e.enum([
4073
4081
  tax_id: e.string().nullish(),
4074
4082
  type: e.literal("organization"),
4075
4083
  website: e.url().min(1).max(2083).nullish()
4076
- }), El = e.object({
4084
+ }), Ol = e.object({
4077
4085
  new: e.unknown().nullable(),
4078
4086
  new_label: e.string().nullish(),
4079
4087
  old: e.unknown().nullable(),
4080
4088
  old_label: e.string().nullish()
4081
- }), Dl = e.enum([
4089
+ }), kl = e.enum([
4082
4090
  "line_items",
4083
4091
  "amount",
4084
4092
  "currency",
@@ -4095,7 +4103,7 @@ e.object({
4095
4103
  file_url: e.string().nullish(),
4096
4104
  original_file_url: e.string().nullish()
4097
4105
  });
4098
- var Ol = e.enum(["timestamp"]), kl = e.enum([
4106
+ var Al = e.enum(["timestamp"]), jl = e.enum([
4099
4107
  "status_changed",
4100
4108
  "receivable_created",
4101
4109
  "receivable_updated",
@@ -4105,47 +4113,47 @@ var Ol = e.enum(["timestamp"]), kl = e.enum([
4105
4113
  "payment_reminder_mail_sent",
4106
4114
  "overdue_reminder_mail_sent",
4107
4115
  "deleted"
4108
- ]), Al = e.enum([
4116
+ ]), Ml = e.enum([
4109
4117
  "status",
4110
4118
  "created_at",
4111
4119
  "updated_at"
4112
- ]), jl = e.object({
4120
+ ]), Nl = e.object({
4113
4121
  email: e.email(),
4114
4122
  error: e.string().nullish(),
4115
4123
  is_success: e.boolean()
4116
- }), Ml = e.object({
4117
- bcc: e.array(jl).optional(),
4118
- cc: e.array(jl).optional(),
4119
- to: e.array(jl).optional()
4120
- }), Nl = e.enum([
4124
+ }), Pl = e.object({
4125
+ bcc: e.array(Nl).optional(),
4126
+ cc: e.array(Nl).optional(),
4127
+ to: e.array(Nl).optional()
4128
+ }), Fl = e.enum([
4121
4129
  "pending",
4122
4130
  "processing",
4123
4131
  "sent",
4124
4132
  "partially_sent",
4125
4133
  "failed"
4126
- ]), Pl = e.object({
4134
+ ]), Il = e.object({
4127
4135
  mail_id: e.uuid(),
4128
- mail_status: Nl,
4129
- recipients: Ml
4130
- }), Fl = e.object({
4136
+ mail_status: Fl,
4137
+ recipients: Pl
4138
+ }), Ll = e.object({
4131
4139
  id: e.uuid(),
4132
4140
  created_at: e.iso.datetime(),
4133
4141
  updated_at: e.iso.datetime(),
4134
- recipients: Ml.nullish(),
4135
- status: Nl
4142
+ recipients: Pl.nullish(),
4143
+ status: Fl
4136
4144
  });
4137
4145
  e.object({
4138
- data: e.array(Fl),
4146
+ data: e.array(Ll),
4139
4147
  next_pagination_token: e.string().nullish(),
4140
4148
  prev_pagination_token: e.string().nullish()
4141
4149
  });
4142
- var Il = e.enum([
4150
+ var Rl = e.enum([
4143
4151
  "id",
4144
4152
  "amount_due",
4145
4153
  "product_amount",
4146
4154
  "product_quantity",
4147
4155
  "total_amount"
4148
- ]), Ll = e.object({
4156
+ ]), zl = e.object({
4149
4157
  document_id: e.string().nullish(),
4150
4158
  document_type: e.string().nullish(),
4151
4159
  header: e.string().optional().default("Document number")
@@ -4173,34 +4181,34 @@ e.object({
4173
4181
  entity: Qr.optional(),
4174
4182
  line_item: Ni.optional()
4175
4183
  }), e.object({ mail_id: e.uuid() });
4176
- var Rl = e.object({
4184
+ var Bl = e.object({
4177
4185
  create_without_personal_info: e.boolean(),
4178
4186
  deduction_title: e.string().min(1).max(32).nullish()
4179
- }), zl = e.object({
4187
+ }), Vl = e.object({
4180
4188
  description: e.string(),
4181
4189
  name: e.string()
4182
- }), Bl = e.enum([
4190
+ }), Hl = e.enum([
4183
4191
  "quote",
4184
4192
  "invoice",
4185
4193
  "credit_note"
4186
- ]), Vl = e.object({
4194
+ ]), Ul = e.object({
4187
4195
  receivable_id: e.uuid(),
4188
- type: Bl
4196
+ type: Hl
4189
4197
  });
4190
4198
  e.object({ comment: e.string().nullish() });
4191
- var Hl = e.object({ fields: e.record(e.string(), El).optional() }), Ul = e.object({
4199
+ var Wl = e.object({ fields: e.record(e.string(), Ol).optional() }), Gl = e.object({
4192
4200
  dimension_value: e.string().nullish(),
4193
4201
  metric_value: e.int()
4194
4202
  });
4195
- e.object({ data: e.array(Ul) });
4196
- var Wl = e.object({
4203
+ e.object({ data: e.array(Gl) });
4204
+ var Kl = e.object({
4197
4205
  city: e.string(),
4198
4206
  country: n,
4199
4207
  line1: e.string(),
4200
4208
  line2: e.string().nullish(),
4201
4209
  postal_code: e.string(),
4202
4210
  state: e.string().nullish()
4203
- }), Gl = e.enum([
4211
+ }), ql = e.enum([
4204
4212
  "receivable",
4205
4213
  "discount_reminder",
4206
4214
  "final_reminder"
@@ -4209,9 +4217,9 @@ e.object({
4209
4217
  body_text: e.string().min(1),
4210
4218
  language: h.optional().default("en"),
4211
4219
  subject_text: e.string().min(1),
4212
- type: Gl.optional().default("receivable")
4220
+ type: ql.optional().default("receivable")
4213
4221
  });
4214
- var Kl = e.object({ payment_reminders: e.string().nullish() }), B = e.object({
4222
+ var Jl = e.object({ payment_reminders: e.string().nullish() }), B = e.object({
4215
4223
  id: e.uuid().nullish(),
4216
4224
  city: e.string(),
4217
4225
  country: n,
@@ -4219,14 +4227,14 @@ var Kl = e.object({ payment_reminders: e.string().nullish() }), B = e.object({
4219
4227
  line2: e.string().nullish(),
4220
4228
  postal_code: e.string(),
4221
4229
  state: e.string().nullish()
4222
- }), ql = e.object({
4230
+ }), Yl = e.object({
4223
4231
  address: B.nullish(),
4224
4232
  email: e.email().nullish(),
4225
4233
  first_name: e.string(),
4226
4234
  last_name: e.string(),
4227
4235
  phone: e.string().nullish(),
4228
4236
  title: e.string().nullish()
4229
- }), Jl = e.object({
4237
+ }), Xl = e.object({
4230
4238
  id: e.uuid().nullish(),
4231
4239
  account_holder_name: e.string().nullish(),
4232
4240
  account_number: e.string().nullish(),
@@ -4298,9 +4306,9 @@ e.object({
4298
4306
  total_amount__gte: e.int().nullish(),
4299
4307
  total_amount__lt: e.int().nullish(),
4300
4308
  total_amount__lte: e.int().nullish(),
4301
- type: Bl.nullish()
4309
+ type: Hl.nullish()
4302
4310
  }), e.object({ mail_ids: e.array(e.uuid()) });
4303
- var Yl = e.enum([
4311
+ var Zl = e.enum([
4304
4312
  "draft",
4305
4313
  "issued",
4306
4314
  "failed",
@@ -4314,20 +4322,20 @@ var Yl = e.enum([
4314
4322
  "uncollectible",
4315
4323
  "canceled",
4316
4324
  "deleted"
4317
- ]), Xl = e.object({ old_status: Yl }), Zl = e.object({
4318
- source: _l,
4319
- status: Yl
4325
+ ]), Ql = e.object({ old_status: Zl }), $l = e.object({
4326
+ source: yl,
4327
+ status: Zl
4320
4328
  });
4321
4329
  e.object({
4322
4330
  errors: ta.nullish(),
4323
- warnings: Kl.nullish()
4331
+ warnings: Jl.nullish()
4324
4332
  });
4325
- var Ql = e.object({
4333
+ var eu = e.object({
4326
4334
  id: e.uuid(),
4327
4335
  bank_accounts: e.array(pn).optional(),
4328
4336
  name: e.string().nullish(),
4329
4337
  type: P
4330
- }), $l = e.object({
4338
+ }), tu = e.object({
4331
4339
  id: e.uuid(),
4332
4340
  updated_at: e.iso.datetime(),
4333
4341
  amount: e.int(),
@@ -4336,14 +4344,14 @@ var Ql = e.object({
4336
4344
  currency: e.string(),
4337
4345
  error_message: e.string().nullish(),
4338
4346
  invoice: yi.nullish(),
4339
- object: Ws.nullish(),
4340
- payer: Ds.nullish(),
4347
+ object: Ks.nullish(),
4348
+ payer: ks.nullish(),
4341
4349
  payment_date: e.iso.date().nullish(),
4342
4350
  payment_link_id: e.uuid().nullish(),
4343
4351
  payment_methods: e.array(_),
4344
4352
  payment_reference: e.string().nullish(),
4345
4353
  provider: e.string().nullish(),
4346
- recipient: Ql,
4354
+ recipient: eu,
4347
4355
  selected_payment_method: _.nullish(),
4348
4356
  source_bank_account_id: e.uuid().nullish(),
4349
4357
  status: e.string()
@@ -4353,47 +4361,47 @@ e.object({
4353
4361
  created_at: e.iso.datetime(),
4354
4362
  error: e.record(e.string(), e.unknown()).nullish(),
4355
4363
  expires_at: e.iso.datetime(),
4356
- payment_intents: e.array($l),
4364
+ payment_intents: e.array(tu),
4357
4365
  payment_page_url: e.url().min(1).max(2083),
4358
- status: ac,
4366
+ status: sc,
4359
4367
  total_amount: e.int().nullish()
4360
4368
  }), e.object({
4361
4369
  id: e.uuid(),
4362
4370
  created_at: e.iso.datetime(),
4363
- entity_bank_accounts: e.array(qc).optional(),
4371
+ entity_bank_accounts: e.array(Yc).optional(),
4364
4372
  entity_id: e.uuid(),
4365
4373
  error: e.record(e.string(), e.unknown()).nullish(),
4366
4374
  expires_at: e.iso.datetime(),
4367
4375
  partner_id: e.uuid(),
4368
- payment_intents: e.array($l),
4376
+ payment_intents: e.array(tu),
4369
4377
  payment_page_url: e.url().min(1).max(2083),
4370
4378
  project_id: e.uuid(),
4371
- status: ac,
4379
+ status: sc,
4372
4380
  total_amount: e.int().nullish()
4373
4381
  }), e.object({
4374
- data: e.array($l),
4382
+ data: e.array(tu),
4375
4383
  next_pagination_token: e.string().nullish(),
4376
4384
  prev_pagination_token: e.string().nullish()
4377
4385
  });
4378
- var eu = e.object({
4386
+ var nu = e.object({
4379
4387
  id: e.uuid(),
4380
4388
  authorized_bank_accounts: e.array(Pe).optional(),
4381
4389
  bank_accounts: e.array(pn).optional(),
4382
4390
  name: e.string().nullish(),
4383
4391
  type: P
4384
- }), tu = e.enum(["entity", "counterpart"]), nu = e.object({
4392
+ }), ru = e.enum(["entity", "counterpart"]), iu = e.object({
4385
4393
  id: e.uuid(),
4386
- type: tu
4394
+ type: ru
4387
4395
  });
4388
4396
  e.object({
4389
- recipient: nu,
4397
+ recipient: iu,
4390
4398
  refresh_url: e.url().min(1).max(2083),
4391
4399
  return_url: e.url().min(1).max(2083)
4392
4400
  }), e.object({
4393
4401
  id: e.uuid(),
4394
4402
  created_at: e.iso.datetime(),
4395
4403
  expires_at: e.iso.datetime(),
4396
- recipient: nu,
4404
+ recipient: iu,
4397
4405
  refresh_url: e.url().min(1).max(2083),
4398
4406
  return_url: e.url().min(1).max(2083),
4399
4407
  url: e.url().min(1).max(2083)
@@ -4408,7 +4416,7 @@ e.object({
4408
4416
  recipients: V.nullish(),
4409
4417
  terms: e.array(Mo).min(1).max(3).nullish()
4410
4418
  });
4411
- var ru = e.object({
4419
+ var au = e.object({
4412
4420
  id: e.uuid(),
4413
4421
  created_at: e.iso.datetime(),
4414
4422
  updated_at: e.iso.datetime(),
@@ -4416,7 +4424,7 @@ var ru = e.object({
4416
4424
  recipients: V.nullish(),
4417
4425
  terms: e.array(Mo).min(1).nullish()
4418
4426
  });
4419
- e.object({ data: e.array(ru) }), e.object({
4427
+ e.object({ data: e.array(au) }), e.object({
4420
4428
  name: e.string().min(1).max(255).nullish(),
4421
4429
  recipients: V.nullish(),
4422
4430
  terms: e.array(Mo).min(1).max(3).nullish()
@@ -4425,11 +4433,11 @@ e.object({ data: e.array(ru) }), e.object({
4425
4433
  recipients: V.nullish().default(null),
4426
4434
  subject_text: e.string().min(1)
4427
4435
  });
4428
- var iu = e.object({
4436
+ var ou = e.object({
4429
4437
  bcc: e.array(e.email()).optional().default([]),
4430
4438
  cc: e.array(e.email()).optional().default([]),
4431
4439
  to: e.array(e.email()).optional().default([])
4432
- }), au = e.enum([
4440
+ }), su = e.enum([
4433
4441
  "day",
4434
4442
  "week",
4435
4443
  "month",
@@ -4440,7 +4448,7 @@ e.object({
4440
4448
  automation_level: Fe.nullish(),
4441
4449
  body_text: e.string().min(1).nullish(),
4442
4450
  end_date: e.iso.date().nullish(),
4443
- frequency: au.nullish().default("month"),
4451
+ frequency: su.nullish().default("month"),
4444
4452
  interval: e.int().gte(1).lte(100).nullish().default(1),
4445
4453
  invoice_id: e.uuid(),
4446
4454
  max_occurrences: e.int().gte(1).lte(1e3).nullish(),
@@ -4448,17 +4456,17 @@ e.object({
4448
4456
  start_date: e.iso.date(),
4449
4457
  subject_text: e.string().min(1).nullish()
4450
4458
  });
4451
- var ou = e.object({
4459
+ var cu = e.object({
4452
4460
  issue_at: e.iso.date(),
4453
4461
  issued_invoice_id: e.uuid().nullish(),
4454
4462
  iteration: e.int().nullish().default(1),
4455
4463
  status: xi
4456
- }), su = e.enum([
4464
+ }), lu = e.enum([
4457
4465
  "active",
4458
4466
  "paused",
4459
4467
  "canceled",
4460
4468
  "completed"
4461
- ]), cu = e.object({
4469
+ ]), uu = e.object({
4462
4470
  id: e.uuid(),
4463
4471
  created_at: e.iso.datetime(),
4464
4472
  updated_at: e.iso.datetime(),
@@ -4466,29 +4474,29 @@ var ou = e.object({
4466
4474
  body_text: e.string().nullish(),
4467
4475
  current_iteration: e.int().gte(1),
4468
4476
  end_date: e.iso.date().nullish(),
4469
- frequency: au,
4477
+ frequency: su,
4470
4478
  interval: e.int().gte(1).lte(100),
4471
4479
  invoice_id: e.uuid(),
4472
- iterations: e.array(ou).min(1),
4480
+ iterations: e.array(cu).min(1),
4473
4481
  max_occurrences: e.int().gte(1).lte(1e3).nullish(),
4474
4482
  recipients: V.nullish(),
4475
4483
  start_date: e.iso.date(),
4476
- status: su,
4484
+ status: lu,
4477
4485
  subject_text: e.string().nullish()
4478
4486
  });
4479
- e.object({ data: e.array(cu) }), e.object({
4487
+ e.object({ data: e.array(uu) }), e.object({
4480
4488
  counterpart: Rt,
4481
4489
  entity: gr,
4482
- product: e.array(Rc),
4483
- receivable: e.array(Dl)
4490
+ product: e.array(Bc),
4491
+ receivable: e.array(kl)
4484
4492
  });
4485
- var lu = e.object({
4493
+ var du = e.object({
4486
4494
  id: e.uuid(),
4487
4495
  requirements: e.record(e.string(), e.unknown())
4488
- }), uu = e.object({
4496
+ }), fu = e.object({
4489
4497
  credit_note_ids: e.array(e.uuid()).optional(),
4490
4498
  proforma_invoice_id: e.uuid().nullish()
4491
- }), du = e.object({
4499
+ }), pu = e.object({
4492
4500
  id: e.uuid(),
4493
4501
  detailsUrl: e.string(),
4494
4502
  displayName: e.string(),
@@ -4497,7 +4505,7 @@ var lu = e.object({
4497
4505
  types: e.array(A)
4498
4506
  });
4499
4507
  e.object({
4500
- data: e.array(du),
4508
+ data: e.array(pu),
4501
4509
  nextPaginationToken: e.string().nullish(),
4502
4510
  parentOrganizations: e.array(Ho).nullish(),
4503
4511
  prevPaginationToken: e.string().nullish()
@@ -4520,7 +4528,7 @@ e.object({
4520
4528
  term_2_reminder: H.nullish(),
4521
4529
  term_final_reminder: H.nullish()
4522
4530
  });
4523
- var fu = e.enum([
4531
+ var mu = e.enum([
4524
4532
  "term_1",
4525
4533
  "term_2",
4526
4534
  "term_final",
@@ -4528,19 +4536,19 @@ var fu = e.enum([
4528
4536
  ]);
4529
4537
  e.object({
4530
4538
  recipients: V.nullish(),
4531
- reminder_type: fu
4539
+ reminder_type: mu
4532
4540
  });
4533
- var pu = e.object({
4541
+ var hu = e.object({
4534
4542
  mail_id: e.uuid(),
4535
- mail_status: Nl,
4536
- recipients: Ml,
4537
- term: fu
4538
- }), mu = e.object({ enabled: e.boolean().optional().default(!0) });
4543
+ mail_status: Fl,
4544
+ recipients: Pl,
4545
+ term: mu
4546
+ }), gu = e.object({ enabled: e.boolean().optional().default(!0) });
4539
4547
  e.object({
4540
4548
  body: e.string(),
4541
4549
  subject: e.string()
4542
4550
  });
4543
- var hu = e.object({
4551
+ var _u = e.object({
4544
4552
  repayment_amount: e.int(),
4545
4553
  repayment_date: e.string(),
4546
4554
  repayment_fee_amount: e.int(),
@@ -4550,7 +4558,7 @@ e.object({
4550
4558
  email: e.string(),
4551
4559
  redirectUri: e.string()
4552
4560
  }), e.object({ email: e.string() });
4553
- var gu = e.object({
4561
+ var vu = e.object({
4554
4562
  code: e.string(),
4555
4563
  reason: e.string(),
4556
4564
  requirement: e.string()
@@ -4564,7 +4572,7 @@ e.object({
4564
4572
  token: e.string(),
4565
4573
  userId: e.uuid()
4566
4574
  }), e.object({ userId: e.uuid() }), e.object({ email: e.string() }), e.object({ acknowledged: e.boolean() });
4567
- var _u = e.enum(["updated_at", "created_at"]), vu = e.object({
4575
+ var yu = e.enum(["updated_at", "created_at"]), bu = e.object({
4568
4576
  assignedDateTime: e.iso.datetime(),
4569
4577
  email: e.string(),
4570
4578
  name: e.string(),
@@ -4572,18 +4580,18 @@ var _u = e.enum(["updated_at", "created_at"]), vu = e.object({
4572
4580
  userId: e.uuid()
4573
4581
  });
4574
4582
  e.object({
4575
- data: e.array(vu),
4583
+ data: e.array(bu),
4576
4584
  nextPaginationToken: e.string().nullish(),
4577
4585
  prevPaginationToken: e.string().nullish()
4578
4586
  });
4579
- var yu = e.object({
4587
+ var xu = e.object({
4580
4588
  id: e.uuid(),
4581
4589
  description: e.string().nullish(),
4582
4590
  key: e.string(),
4583
4591
  name: e.string()
4584
4592
  });
4585
- e.object({ data: e.array(yu) });
4586
- var bu = e.discriminatedUnion("object_type", [
4593
+ e.object({ data: e.array(xu) });
4594
+ var Su = e.discriminatedUnion("object_type", [
4587
4595
  F.extend({ object_type: e.literal("accounting_tax_rate") }),
4588
4596
  F.extend({ object_type: e.literal("approval_policy") }),
4589
4597
  F.extend({ object_type: e.literal("approval_request") }),
@@ -4617,11 +4625,11 @@ var bu = e.discriminatedUnion("object_type", [
4617
4625
  F.extend({ object_type: e.literal("todo_task_mute") }),
4618
4626
  F.extend({ object_type: e.literal("transaction") }),
4619
4627
  F.extend({ object_type: e.literal("workflow") }),
4620
- pc
4621
- ]), xu = e.object({ objects: e.array(bu).optional() });
4628
+ hc
4629
+ ]), Cu = e.object({ objects: e.array(Su).optional() });
4622
4630
  e.object({
4623
4631
  name: e.string().min(1).max(255),
4624
- permissions: xu
4632
+ permissions: Cu
4625
4633
  }), e.object({
4626
4634
  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" })]),
4627
4635
  currencyCode: e.string().optional().default("USD"),
@@ -4630,23 +4638,23 @@ e.object({
4630
4638
  reference: e.string().nullish(),
4631
4639
  toBankAccountId: e.uuid()
4632
4640
  });
4633
- var Su = e.enum([
4641
+ var wu = e.enum([
4634
4642
  "SMS_OTP",
4635
4643
  "CHIP_OTP",
4636
4644
  "PHOTO_OTP",
4637
4645
  "PUSH_OTP"
4638
- ]), Cu = e.object({
4646
+ ]), Tu = e.object({
4639
4647
  id: e.string(),
4640
4648
  description: e.string().nullish(),
4641
4649
  information: e.string().nullish(),
4642
- type: Su
4650
+ type: wu
4643
4651
  });
4644
4652
  e.object({
4645
4653
  application_user_id: e.string(),
4646
4654
  consent_id: e.string(),
4647
4655
  consent_token: e.string().nullish(),
4648
- sca_methods: e.array(Cu).nullish(),
4649
- selected_sca_method: Cu.nullish(),
4656
+ sca_methods: e.array(Tu).nullish(),
4657
+ selected_sca_method: Tu.nullish(),
4650
4658
  state: Ct
4651
4659
  }), e.object({
4652
4660
  payment_date: e.iso.date(),
@@ -4665,7 +4673,7 @@ e.object({
4665
4673
  entity_id: e.uuid(),
4666
4674
  language: h,
4667
4675
  partner_id: e.uuid().nullish(),
4668
- recipients_info: iu,
4676
+ recipients_info: ou,
4669
4677
  subject: e.string()
4670
4678
  }), e.object({ data: e.array(ir).nullish() }), e.object({
4671
4679
  attachments: e.record(e.string(), e.string()).nullish(),
@@ -4681,12 +4689,12 @@ e.object({
4681
4689
  body_text: e.string(),
4682
4690
  subject_text: e.string()
4683
4691
  });
4684
- var wu = e.object({
4692
+ var Eu = e.object({
4685
4693
  id: e.uuid(),
4686
4694
  recipient: e.string()
4687
4695
  });
4688
- e.object({ data: e.array(wu) });
4689
- var Tu = e.enum(["codat", "railz"]);
4696
+ e.object({ data: e.array(Eu) });
4697
+ var Du = e.enum(["codat", "railz"]);
4690
4698
  e.object({
4691
4699
  application_user_id: e.string(),
4692
4700
  sca_code: e.string()
@@ -4694,11 +4702,11 @@ e.object({
4694
4702
  application_user_id: e.string(),
4695
4703
  sca_method_id: e.string()
4696
4704
  });
4697
- var Eu = e.object({
4705
+ var Ou = e.object({
4698
4706
  email: e.email(),
4699
4707
  full_name: e.string().min(1).max(255),
4700
4708
  signature_image: e.string().min(32).max(524288)
4701
- }), Du = e.object({ signature: Eu.nullish() }), Ou = e.object({
4709
+ }), ku = e.object({ signature: Ou.nullish() }), Au = e.object({
4702
4710
  email: e.string().nullish(),
4703
4711
  email_label: e.string().nullish(),
4704
4712
  full_name: e.string().nullish(),
@@ -4708,7 +4716,7 @@ var Eu = e.object({
4708
4716
  signature_label: e.string().nullish().default("Signature"),
4709
4717
  signed_at: e.string().nullish(),
4710
4718
  signed_at_label: e.string().nullish().default("Date, location")
4711
- }), ku = e.object({
4719
+ }), ju = e.object({
4712
4720
  account_data: ie.optional().default({
4713
4721
  account_holder_name_header: "Account holder",
4714
4722
  account_number_header: "Account number",
@@ -4764,9 +4772,9 @@ var Eu = e.object({
4764
4772
  of_preposition: "of",
4765
4773
  page_text: "Page"
4766
4774
  }),
4767
- signature: Ou.nullish(),
4775
+ signature: Au.nullish(),
4768
4776
  template_type: e.literal("delivery_note")
4769
- }), Au = e.object({
4777
+ }), Mu = e.object({
4770
4778
  account_data: ie.optional().default({
4771
4779
  account_holder_name_header: "Account holder",
4772
4780
  account_number_header: "Account number",
@@ -4813,8 +4821,8 @@ var Eu = e.object({
4813
4821
  of_preposition: "of",
4814
4822
  page_text: "Page"
4815
4823
  }),
4816
- payment_terms: ic.optional().default({ header: "Payment terms" }),
4817
- qr_code_data: al.optional().default({
4824
+ payment_terms: oc.optional().default({ header: "Payment terms" }),
4825
+ qr_code_data: sl.optional().default({
4818
4826
  bic_title: "BIC",
4819
4827
  entity_name_title: "Beneficiary's name",
4820
4828
  iban_title: "IBAN",
@@ -4837,8 +4845,8 @@ var Eu = e.object({
4837
4845
  quote_expires_header: "Quote expires",
4838
4846
  receivable_number_header: "Number"
4839
4847
  }),
4840
- receivable_number: Ll.optional().default({ header: "Document number" }),
4841
- signature: Ou.nullish(),
4848
+ receivable_number: zl.optional().default({ header: "Document number" }),
4849
+ signature: Au.nullish(),
4842
4850
  template_type: e.literal("receivable")
4843
4851
  });
4844
4852
  e.object({
@@ -4848,10 +4856,10 @@ e.object({
4848
4856
  object_id: e.string(),
4849
4857
  object_type: y.nullish(),
4850
4858
  payload: e.discriminatedUnion("template_type", [
4851
- Au,
4852
- ku,
4853
- nl,
4854
- ps
4859
+ Mu,
4860
+ ju,
4861
+ il,
4862
+ hs
4855
4863
  ]),
4856
4864
  rendered_document_id: e.string().nullish()
4857
4865
  });
@@ -4866,7 +4874,7 @@ var U = e.object({
4866
4874
  "LTE"
4867
4875
  ]),
4868
4876
  value: e.int()
4869
- }), ju = e.discriminatedUnion("operator", [
4877
+ }), Nu = e.discriminatedUnion("operator", [
4870
4878
  U.extend({ operator: e.literal("EQ") }),
4871
4879
  U.extend({ operator: e.literal("GT") }),
4872
4880
  U.extend({ operator: e.literal("GTE") }),
@@ -4874,7 +4882,7 @@ var U = e.object({
4874
4882
  U.extend({ operator: e.literal("LTE") }),
4875
4883
  U.extend({ operator: e.literal("NEQ") }),
4876
4884
  oa
4877
- ]), Mu = e.object({
4885
+ ]), Pu = e.object({
4878
4886
  name: e.enum([
4879
4887
  "entity_country",
4880
4888
  "counterpart_country",
@@ -4883,29 +4891,29 @@ var U = e.object({
4883
4891
  ]),
4884
4892
  operator: e.enum(["EQ", "NEQ"]),
4885
4893
  value: n
4886
- }), Nu = e.discriminatedUnion("operator", [
4887
- Mu.extend({ operator: e.literal("EQ") }),
4888
- Mu.extend({ operator: e.literal("NEQ") }),
4894
+ }), Fu = e.discriminatedUnion("operator", [
4895
+ Pu.extend({ operator: e.literal("EQ") }),
4896
+ Pu.extend({ operator: e.literal("NEQ") }),
4889
4897
  sa.extend({ operator: e.literal("IN") }),
4890
4898
  sa.extend({ operator: e.literal("NOT_IN") })
4891
- ]), Pu = e.object({
4899
+ ]), Iu = e.object({
4892
4900
  name: e.literal("item_type"),
4893
4901
  operator: e.enum(["EQ", "NEQ"]),
4894
4902
  value: L
4895
- }), Fu = e.discriminatedUnion("operator", [
4896
- Pu.extend({ operator: e.literal("EQ") }),
4897
- Pu.extend({ operator: e.literal("NEQ") }),
4898
- zc.extend({ operator: e.literal("ALL") }),
4899
- zc.extend({ operator: e.literal("IN") })
4900
- ]), Iu = e.object({
4903
+ }), Lu = e.discriminatedUnion("operator", [
4904
+ Iu.extend({ operator: e.literal("EQ") }),
4905
+ Iu.extend({ operator: e.literal("NEQ") }),
4906
+ Vc.extend({ operator: e.literal("ALL") }),
4907
+ Vc.extend({ operator: e.literal("IN") })
4908
+ ]), Ru = e.object({
4901
4909
  id: e.uuid(),
4902
4910
  created_at: e.iso.datetime(),
4903
4911
  amount: e.int(),
4904
4912
  currency: c,
4905
4913
  error: e.record(e.string(), e.unknown()).nullish(),
4906
- object: Vs,
4914
+ object: Us,
4907
4915
  payment_reference: e.string(),
4908
- recipient: Fs,
4916
+ recipient: Ls,
4909
4917
  status: e.string()
4910
4918
  });
4911
4919
  e.object({
@@ -4913,23 +4921,23 @@ e.object({
4913
4921
  created_at: e.iso.datetime(),
4914
4922
  error: e.record(e.string(), e.unknown()).nullish(),
4915
4923
  payer_bank_account_id: e.uuid(),
4916
- payment_intents: e.array(Iu).min(1),
4924
+ payment_intents: e.array(Ru).min(1),
4917
4925
  payment_method: e.literal("us_ach"),
4918
- status: ac,
4926
+ status: sc,
4919
4927
  total_amount: e.int().nullish()
4920
4928
  });
4921
- var Lu = e.enum(["ASC", "DESC"]), Ru = e.object({
4929
+ var zu = e.enum(["ASC", "DESC"]), Bu = e.object({
4922
4930
  department_id: m.nullish(),
4923
4931
  description: m.nullish(),
4924
4932
  ledger_account_id: m.nullish(),
4925
4933
  location_id: m.nullish(),
4926
4934
  receipt_id: m.nullish()
4927
- }), zu = e.enum(["ocr", "user_specified"]), Bu = e.object({
4935
+ }), Vu = e.enum(["ocr", "user_specified"]), Hu = e.object({
4928
4936
  document_id: e.string().nullish(),
4929
4937
  payable_source: M,
4930
4938
  sender: e.string().nullish(),
4931
- source_of_payable_data: zu.nullish()
4932
- }), Vu = e.object({
4939
+ source_of_payable_data: Vu.nullish()
4940
+ }), Uu = e.object({
4933
4941
  id: e.uuid(),
4934
4942
  entity_user_first_name: e.string().nullish(),
4935
4943
  entity_user_id: e.uuid().nullish(),
@@ -4937,23 +4945,24 @@ var Lu = e.enum(["ASC", "DESC"]), Ru = e.object({
4937
4945
  entity_user_role_id: e.uuid().nullish(),
4938
4946
  entity_user_role_name: e.string().nullish(),
4939
4947
  event_data: e.union([
4940
- bs,
4941
- Cs,
4942
- Bu,
4943
- Jo,
4944
- Yo,
4948
+ Ss,
4949
+ Ts,
4950
+ Hu,
4951
+ Xo,
4952
+ Zo,
4945
4953
  ni,
4946
- os,
4947
4954
  cs,
4948
- ss,
4949
- xs,
4955
+ us,
4956
+ ls,
4957
+ Cs,
4950
4958
  Go,
4951
4959
  Wo,
4952
4960
  Ko,
4953
- ls,
4954
- us,
4955
- ys,
4956
- vs,
4961
+ Jo,
4962
+ ds,
4963
+ fs,
4964
+ xs,
4965
+ bs,
4957
4966
  ri
4958
4967
  ]),
4959
4968
  event_type: e.string(),
@@ -4962,11 +4971,11 @@ var Lu = e.enum(["ASC", "DESC"]), Ru = e.object({
4962
4971
  timestamp: e.iso.datetime()
4963
4972
  });
4964
4973
  e.object({
4965
- data: e.array(Vu),
4974
+ data: e.array(Uu),
4966
4975
  next_pagination_token: e.string().nullish(),
4967
4976
  prev_pagination_token: e.string().nullish()
4968
4977
  });
4969
- var Hu = e.enum(["ocr", "user_specified"]), Uu = e.object({
4978
+ var Wu = e.enum(["ocr", "user_specified"]), Gu = e.object({
4970
4979
  id: e.uuid(),
4971
4980
  created_at: e.iso.datetime(),
4972
4981
  updated_at: e.iso.datetime(),
@@ -4979,28 +4988,28 @@ var Hu = e.enum(["ocr", "user_specified"]), Uu = e.object({
4979
4988
  file_name: e.string().nullish(),
4980
4989
  file_url: e.string().nullish(),
4981
4990
  issued_at: e.iso.datetime().nullish(),
4982
- link_source: pl.nullish(),
4991
+ link_source: hl.nullish(),
4983
4992
  merchant_location: e.string().max(255).nullish(),
4984
4993
  merchant_name: e.string().max(128).nullish(),
4985
4994
  ocr_request_id: e.uuid().nullish(),
4986
4995
  ocr_status: e.string().nullish(),
4987
- origin: hl,
4996
+ origin: _l,
4988
4997
  partner_metadata: e.record(e.string(), e.unknown()).nullish(),
4989
4998
  sender: e.email().nullish(),
4990
- source_of_data: Hu.nullish(),
4999
+ source_of_data: Wu.nullish(),
4991
5000
  total_amount: e.int().nullish(),
4992
5001
  transaction_id: e.uuid().nullish()
4993
5002
  });
4994
5003
  e.object({
4995
- data: e.array(Uu),
5004
+ data: e.array(Gu),
4996
5005
  next_pagination_token: e.string().nullish(),
4997
5006
  prev_pagination_token: e.string().nullish()
4998
5007
  });
4999
- var Wu = e.object({
5008
+ var Ku = e.object({
5000
5009
  comment: e.string().nullish(),
5001
- new_status: Yl,
5002
- old_status: Yl
5003
- }), Gu = e.object({
5010
+ new_status: Zl,
5011
+ old_status: Zl
5012
+ }), qu = e.object({
5004
5013
  id: e.uuid(),
5005
5014
  current_pdf_url: e.string().nullish(),
5006
5015
  entity_user_first_name: e.string().nullish(),
@@ -5009,14 +5018,14 @@ var Wu = e.object({
5009
5018
  entity_user_role_id: e.uuid().nullish(),
5010
5019
  entity_user_role_name: e.string().nullish(),
5011
5020
  event_data: e.union([
5012
- Wu,
5013
- Hl,
5014
- Zl,
5015
- Vl,
5016
- Js,
5017
- Pl,
5018
- pu,
5019
- Xl
5021
+ Ku,
5022
+ Wl,
5023
+ $l,
5024
+ Ul,
5025
+ Xs,
5026
+ Il,
5027
+ hu,
5028
+ Ql
5020
5029
  ]),
5021
5030
  event_type: e.string(),
5022
5031
  receivable_id: e.uuid(),
@@ -5024,11 +5033,11 @@ var Wu = e.object({
5024
5033
  timestamp: e.iso.datetime()
5025
5034
  });
5026
5035
  e.object({
5027
- data: e.array(Gu),
5036
+ data: e.array(qu),
5028
5037
  next_pagination_token: e.string().nullish(),
5029
5038
  prev_pagination_token: e.string().nullish()
5030
5039
  });
5031
- var W = e.enum(["active", "deleted"]), Ku = e.object({
5040
+ var W = e.enum(["active", "deleted"]), Ju = e.object({
5032
5041
  id: e.uuid(),
5033
5042
  created_at: e.iso.datetime().nullable(),
5034
5043
  updated_at: e.iso.datetime().nullable(),
@@ -5041,11 +5050,11 @@ var W = e.enum(["active", "deleted"]), Ku = e.object({
5041
5050
  text: e.string()
5042
5051
  });
5043
5052
  e.object({
5044
- data: e.array(Ku),
5053
+ data: e.array(Ju),
5045
5054
  next_pagination_token: e.string().nullable(),
5046
5055
  prev_pagination_token: e.string().nullable()
5047
5056
  });
5048
- var qu = e.object({
5057
+ var Yu = e.object({
5049
5058
  id: e.uuid(),
5050
5059
  created_at: e.iso.datetime(),
5051
5060
  updated_at: e.iso.datetime(),
@@ -5058,35 +5067,35 @@ var qu = e.object({
5058
5067
  userpic_file_id: e.uuid().nullish()
5059
5068
  });
5060
5069
  e.object({
5061
- data: e.array(qu),
5070
+ data: e.array(Yu),
5062
5071
  next_pagination_token: e.string().nullish(),
5063
5072
  prev_pagination_token: e.string().nullish()
5064
5073
  });
5065
- var Ju = e.object({
5074
+ var Xu = e.object({
5066
5075
  id: e.uuid(),
5067
5076
  created_at: e.iso.datetime(),
5068
5077
  updated_at: e.iso.datetime(),
5069
- address: $o,
5078
+ address: ts,
5070
5079
  email: e.string().nullish(),
5071
- individual: is,
5072
- logo: kc.nullish(),
5080
+ individual: os,
5081
+ logo: jc.nullish(),
5073
5082
  phone: e.string().max(100).nullish(),
5074
5083
  status: W,
5075
5084
  tax_id: e.string().max(30).nullish(),
5076
5085
  website: e.url().min(1).max(2083).nullish()
5077
- }), Yu = e.object({
5086
+ }), Zu = e.object({
5078
5087
  id: e.uuid(),
5079
5088
  created_at: e.iso.datetime(),
5080
5089
  updated_at: e.iso.datetime(),
5081
- address: $o,
5090
+ address: ts,
5082
5091
  email: e.string().nullish(),
5083
- logo: kc.nullish(),
5084
- organization: fs,
5092
+ logo: jc.nullish(),
5093
+ organization: ms,
5085
5094
  phone: e.string().max(100).nullish(),
5086
5095
  status: W,
5087
5096
  tax_id: e.string().max(30).nullish(),
5088
5097
  website: e.url().min(1).max(2083).nullish()
5089
- }), Xu = e.object({
5098
+ }), Qu = e.object({
5090
5099
  id: e.uuid(),
5091
5100
  created_at: e.iso.datetime(),
5092
5101
  updated_at: e.iso.datetime(),
@@ -5098,77 +5107,77 @@ var Ju = e.object({
5098
5107
  term_2_reminder: H.nullish(),
5099
5108
  term_final_reminder: H.nullish()
5100
5109
  });
5101
- e.object({ data: e.array(Xu) });
5102
- var Zu = e.object({
5110
+ e.object({ data: e.array(Qu) });
5111
+ var $u = e.object({
5103
5112
  id: e.uuid(),
5104
5113
  created_at: e.iso.datetime(),
5105
5114
  updated_at: e.iso.datetime(),
5106
5115
  name: e.string().min(1),
5107
- permissions: xu,
5116
+ permissions: Cu,
5108
5117
  status: W
5109
5118
  });
5110
5119
  e.object({
5111
- data: e.array(Zu),
5120
+ data: e.array($u),
5112
5121
  next_pagination_token: e.string().nullish(),
5113
5122
  prev_pagination_token: e.string().nullish()
5114
5123
  });
5115
- var Qu = e.object({
5124
+ var ed = e.object({
5116
5125
  publishable: e.string().nullish(),
5117
5126
  secret: e.string()
5118
5127
  });
5119
5128
  e.object({ success: e.boolean().optional().default(!0) });
5120
- var $u = e.object({
5129
+ var td = e.object({
5121
5130
  id: e.uuid(),
5122
5131
  address_id: e.uuid().nullish(),
5123
5132
  bank_account_id: e.uuid().nullish(),
5124
5133
  vat_id_id: e.uuid().nullish()
5125
5134
  });
5126
- e.object({ suggested_counterpart: $u });
5127
- var ed = e.enum(["default_account_code", "default_tax_rate_code"]);
5135
+ e.object({ suggested_counterpart: td });
5136
+ var nd = e.enum(["default_account_code", "default_tax_rate_code"]);
5128
5137
  e.object({
5129
- field_name: ed,
5138
+ field_name: nd,
5130
5139
  field_value: e.string(),
5131
5140
  object_id: e.uuid(),
5132
5141
  object_type: e.literal("counterpart")
5133
5142
  });
5134
- var td = e.object({
5143
+ var rd = e.object({
5135
5144
  id: e.uuid(),
5136
5145
  created_at: e.iso.datetime(),
5137
5146
  updated_at: e.iso.datetime(),
5138
5147
  created_by: e.uuid().nullish(),
5139
- field_name: ed,
5148
+ field_name: nd,
5140
5149
  field_value: e.string(),
5141
5150
  object_id: e.uuid(),
5142
5151
  object_type: e.literal("counterpart")
5143
5152
  });
5144
5153
  e.object({
5145
- data: e.array(td),
5154
+ data: e.array(rd),
5146
5155
  next_pagination_token: e.string().nullish(),
5147
5156
  prev_pagination_token: e.string().nullish()
5148
5157
  }), e.object({
5149
- field_name: ed.nullish(),
5158
+ field_name: nd.nullish(),
5150
5159
  field_value: e.string().nullish(),
5151
5160
  object_id: e.uuid().nullish(),
5152
5161
  object_type: e.literal("counterpart").nullish()
5153
5162
  });
5154
- var nd = e.object({
5163
+ var id = e.object({
5155
5164
  available_types: e.record(e.string(), e.array(Ir)),
5156
5165
  object_type: e.enum(["payable", "receivable"])
5157
- }), rd = e.enum(["redirect", "embedded"]), id = e.object({
5158
- authorization_methods: e.array(rd),
5166
+ }), ad = e.enum(["redirect", "embedded"]), od = e.object({
5167
+ authorization_methods: e.array(ad),
5159
5168
  bank_id: e.string(),
5160
5169
  country: n,
5161
5170
  media: e.array(Qi),
5162
5171
  name: e.string(),
5163
5172
  payer_required: e.boolean(),
5164
- psu_identification: Hc.nullish()
5173
+ psu_identification: Wc.nullish()
5165
5174
  });
5166
- e.object({ data: e.array(id) });
5167
- var ad = e.enum(["created_at", "updated_at"]), od = e.enum([
5175
+ e.object({ data: e.array(od) });
5176
+ var sd = e.enum(["created_at", "updated_at"]), cd = e.enum([
5168
5177
  "pending",
5169
5178
  "error",
5170
5179
  "done"
5171
- ]), sd = e.object({
5180
+ ]), ld = e.object({
5172
5181
  id: e.uuid(),
5173
5182
  created_at: e.iso.datetime(),
5174
5183
  updated_at: e.iso.datetime(),
@@ -5177,20 +5186,20 @@ var ad = e.enum(["created_at", "updated_at"]), od = e.enum([
5177
5186
  object_id: e.uuid().nullish(),
5178
5187
  object_type: xa,
5179
5188
  object_updated_at: e.iso.datetime().nullish(),
5180
- platform: wc.nullish(),
5189
+ platform: Ec.nullish(),
5181
5190
  platform_object_id: e.string().nullish(),
5182
5191
  platform_updated_at: e.iso.datetime().nullish(),
5183
- provider: Tu.nullish(),
5192
+ provider: Du.nullish(),
5184
5193
  provider_object_id: e.string().nullish(),
5185
5194
  provider_updated_at: e.iso.datetime().nullish(),
5186
- sync_status: od
5195
+ sync_status: cd
5187
5196
  });
5188
5197
  e.object({
5189
- data: e.array(sd),
5198
+ data: e.array(ld),
5190
5199
  next_pagination_token: e.string().nullish(),
5191
5200
  prev_pagination_token: e.string().nullish()
5192
5201
  });
5193
- var cd = e.enum([
5202
+ var ud = e.enum([
5194
5203
  "bank:admin",
5195
5204
  "embedded:admin",
5196
5205
  "embedded:bookkeeper",
@@ -5198,14 +5207,14 @@ var cd = e.enum([
5198
5207
  "embedded:finance_admin",
5199
5208
  "platform:admin",
5200
5209
  "vsp:admin"
5201
- ]), ld = e.object({
5210
+ ]), dd = e.object({
5202
5211
  id: e.uuid(),
5203
5212
  appliesToOrgType: e.string().nullish(),
5204
5213
  createdDateTime: e.iso.datetime(),
5205
5214
  description: e.string().nullish(),
5206
5215
  icon: e.string().nullish(),
5207
5216
  isSystemRole: e.boolean().optional(),
5208
- key: e.union([cd, e.string()]),
5217
+ key: e.union([ud, e.string()]),
5209
5218
  name: e.string(),
5210
5219
  organizationId: e.uuid().nullish(),
5211
5220
  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*)$/)]),
@@ -5213,7 +5222,7 @@ var cd = e.enum([
5213
5222
  updatedDateTime: e.iso.datetime()
5214
5223
  });
5215
5224
  e.object({
5216
- data: e.array(ld),
5225
+ data: e.array(dd),
5217
5226
  nextPaginationToken: e.string().nullish(),
5218
5227
  prevPaginationToken: e.string().nullish()
5219
5228
  });
@@ -5233,14 +5242,14 @@ var G = e.enum([
5233
5242
  created_by_entity_user_id: e.uuid().nullish(),
5234
5243
  description: e.string().min(1).max(255).nullish(),
5235
5244
  name: e.string()
5236
- }), ud = e.object({
5245
+ }), fd = e.object({
5237
5246
  email: e.email().nullish(),
5238
5247
  first_name: e.string().min(1).max(255),
5239
5248
  last_name: e.string().min(1).max(255),
5240
5249
  phone: e.string().max(100).nullish(),
5241
5250
  tags: e.array(K).nullish(),
5242
5251
  title: e.string().max(100).nullish()
5243
- }), dd = e.object({
5252
+ }), pd = e.object({
5244
5253
  id: e.uuid(),
5245
5254
  created_at: e.iso.datetime(),
5246
5255
  updated_at: e.iso.datetime(),
@@ -5249,19 +5258,19 @@ var G = e.enum([
5249
5258
  default_billing_address_id: e.uuid().nullish(),
5250
5259
  default_shipping_address_id: e.uuid().nullish(),
5251
5260
  external_reference: e.string().min(1).max(255).nullish(),
5252
- individual: ud,
5261
+ individual: fd,
5253
5262
  is_customer: e.boolean(),
5254
5263
  is_vendor: e.boolean(),
5255
5264
  language: h.nullish(),
5256
5265
  reminders_enabled: e.boolean().nullish(),
5257
5266
  tax_id: e.string().max(30).nullish(),
5258
5267
  type: o
5259
- }), fd = e.object({
5268
+ }), md = e.object({
5260
5269
  email: e.email().nullish(),
5261
5270
  legal_name: e.string().max(255),
5262
5271
  phone: e.string().max(100).nullish(),
5263
5272
  tags: e.array(K).nullish()
5264
- }), pd = e.object({
5273
+ }), hd = e.object({
5265
5274
  id: e.uuid(),
5266
5275
  created_at: e.iso.datetime(),
5267
5276
  updated_at: e.iso.datetime(),
@@ -5273,17 +5282,17 @@ var G = e.enum([
5273
5282
  is_customer: e.boolean(),
5274
5283
  is_vendor: e.boolean(),
5275
5284
  language: h.nullish(),
5276
- organization: fd,
5285
+ organization: md,
5277
5286
  reminders_enabled: e.boolean().nullish(),
5278
5287
  tax_id: e.string().max(30).nullish(),
5279
5288
  type: o
5280
- }), md = e.union([dd, pd]);
5289
+ }), gd = e.union([pd, hd]);
5281
5290
  e.object({
5282
- data: e.array(md),
5291
+ data: e.array(gd),
5283
5292
  next_pagination_token: e.string().nullish(),
5284
5293
  prev_pagination_token: e.string().nullish()
5285
5294
  });
5286
- var hd = e.object({
5295
+ var _d = e.object({
5287
5296
  email: e.email().nullish(),
5288
5297
  first_name: e.string().min(1).max(255),
5289
5298
  is_customer: e.boolean().nullish(),
@@ -5292,26 +5301,26 @@ var hd = e.object({
5292
5301
  phone: e.string().max(100).nullish(),
5293
5302
  tags: e.array(K).nullish(),
5294
5303
  title: e.string().max(100).nullish()
5295
- }), gd = e.object({
5304
+ }), vd = e.object({
5296
5305
  email: e.email().nullish(),
5297
5306
  is_customer: e.boolean().nullish(),
5298
5307
  is_vendor: e.boolean().nullish(),
5299
5308
  legal_name: e.string().max(255),
5300
5309
  phone: e.string().max(100).nullish(),
5301
5310
  tags: e.array(K).nullish()
5302
- }), _d = e.object({
5311
+ }), yd = e.object({
5303
5312
  id: e.uuid(),
5304
- individual: hd.nullish(),
5313
+ individual: _d.nullish(),
5305
5314
  language: h.nullish(),
5306
- organization: gd.nullish()
5307
- }), vd = e.object({
5315
+ organization: vd.nullish()
5316
+ }), bd = e.object({
5308
5317
  email: e.email().nullish(),
5309
5318
  first_name: e.string().min(1).max(255),
5310
5319
  last_name: e.string().min(1).max(255),
5311
5320
  phone: e.string().max(100).nullish(),
5312
5321
  tags: e.array(K).nullish(),
5313
5322
  title: e.string().max(100).nullish()
5314
- }), yd = e.object({
5323
+ }), xd = e.object({
5315
5324
  id: e.uuid(),
5316
5325
  created_at: e.iso.datetime(),
5317
5326
  updated_at: e.iso.datetime(),
@@ -5320,19 +5329,19 @@ var hd = e.object({
5320
5329
  default_billing_address_id: e.uuid().nullish(),
5321
5330
  default_shipping_address_id: e.uuid().nullish(),
5322
5331
  external_reference: e.string().min(1).max(255).nullish(),
5323
- individual: vd,
5332
+ individual: bd,
5324
5333
  is_customer: e.boolean(),
5325
5334
  is_vendor: e.boolean(),
5326
5335
  language: h.nullish(),
5327
5336
  reminders_enabled: e.boolean().optional().default(!0),
5328
5337
  tax_id: e.string().max(30).nullish(),
5329
5338
  type: o
5330
- }), bd = e.object({
5339
+ }), Sd = e.object({
5331
5340
  email: e.email().nullish(),
5332
5341
  legal_name: e.string().max(255),
5333
5342
  phone: e.string().max(100).nullish(),
5334
5343
  tags: e.array(K).nullish()
5335
- }), xd = e.object({
5344
+ }), Cd = e.object({
5336
5345
  id: e.uuid(),
5337
5346
  created_at: e.iso.datetime(),
5338
5347
  updated_at: e.iso.datetime(),
@@ -5344,35 +5353,35 @@ var hd = e.object({
5344
5353
  is_customer: e.boolean(),
5345
5354
  is_vendor: e.boolean(),
5346
5355
  language: h.nullish(),
5347
- organization: bd,
5356
+ organization: Sd,
5348
5357
  reminders_enabled: e.boolean().optional().default(!0),
5349
5358
  tax_id: e.string().max(30).nullish(),
5350
5359
  type: o
5351
- }), Sd = e.union([yd, xd]), Cd = e.object({
5360
+ }), wd = e.union([xd, Cd]), Td = e.object({
5352
5361
  id: e.uuid(),
5353
5362
  created_at: e.iso.datetime(),
5354
5363
  updated_at: e.iso.datetime(),
5355
- counterpart: Sd,
5356
- counterpart_address: Jc.nullish(),
5364
+ counterpart: wd,
5365
+ counterpart_address: Xc.nullish(),
5357
5366
  counterpart_address_id: e.uuid().nullish(),
5358
5367
  counterpart_id: e.uuid(),
5359
5368
  created_by_user_id: e.uuid().nullish(),
5360
5369
  currency: c,
5361
5370
  document_id: e.string(),
5362
- entity: e.union([Ju, Yu]),
5371
+ entity: e.union([Xu, Zu]),
5363
5372
  entity_id: e.uuid(),
5364
- entity_vat_id: il.nullish(),
5373
+ entity_vat_id: ol.nullish(),
5365
5374
  file_id: e.uuid().nullish(),
5366
5375
  file_url: e.string().nullish(),
5367
5376
  issued_at: e.iso.date().nullish(),
5368
- items: e.array(Qc),
5377
+ items: e.array(el),
5369
5378
  message: e.string(),
5370
5379
  project_id: e.uuid().nullish(),
5371
5380
  status: e.string(),
5372
5381
  valid_for_days: e.int().gte(1)
5373
5382
  });
5374
5383
  e.object({
5375
- data: e.array(Cd),
5384
+ data: e.array(Td),
5376
5385
  next_pagination_token: e.string().nullish(),
5377
5386
  prev_pagination_token: e.string().nullish()
5378
5387
  }), e.object({
@@ -5380,7 +5389,7 @@ e.object({
5380
5389
  description: e.string().min(1).max(255).nullish(),
5381
5390
  name: e.string().min(1).max(255)
5382
5391
  });
5383
- var wd = e.enum(["created_at", "updated_at"]), q = e.object({
5392
+ var Ed = e.enum(["created_at", "updated_at"]), q = e.object({
5384
5393
  id: e.uuid(),
5385
5394
  created_at: e.iso.datetime(),
5386
5395
  updated_at: e.iso.datetime(),
@@ -5388,7 +5397,7 @@ var wd = e.enum(["created_at", "updated_at"]), q = e.object({
5388
5397
  created_by_entity_user_id: e.uuid().nullish(),
5389
5398
  description: e.string().min(1).max(255).nullish(),
5390
5399
  name: e.string()
5391
- }), Td = e.object({
5400
+ }), Dd = e.object({
5392
5401
  id: e.uuid(),
5393
5402
  created_at: e.iso.datetime(),
5394
5403
  updated_at: e.iso.datetime(),
@@ -5425,11 +5434,11 @@ var wd = e.enum(["created_at", "updated_at"]), q = e.object({
5425
5434
  total_amount: e.int().nullish()
5426
5435
  });
5427
5436
  e.object({
5428
- data: e.array(Td),
5437
+ data: e.array(Dd),
5429
5438
  next_pagination_token: e.string().nullish(),
5430
5439
  prev_pagination_token: e.string().nullish()
5431
5440
  });
5432
- var Ed = e.object({
5441
+ var Od = e.object({
5433
5442
  id: e.uuid(),
5434
5443
  created_at: e.iso.datetime(),
5435
5444
  updated_at: e.iso.datetime(),
@@ -5446,7 +5455,7 @@ var Ed = e.object({
5446
5455
  tags: e.array(q).nullish()
5447
5456
  });
5448
5457
  e.object({
5449
- data: e.array(Ed),
5458
+ data: e.array(Od),
5450
5459
  next_pagination_token: e.string().nullish(),
5451
5460
  prev_pagination_token: e.string().nullish()
5452
5461
  }), e.object({
@@ -5458,16 +5467,16 @@ e.object({
5458
5467
  next_pagination_token: e.string().nullish(),
5459
5468
  prev_pagination_token: e.string().nullish()
5460
5469
  });
5461
- var Dd = e.object({
5470
+ var kd = e.object({
5462
5471
  is_compound: e.boolean().nullish(),
5463
5472
  name: e.string().nullish(),
5464
5473
  rate: e.int().nullish()
5465
- }), Od = e.object({
5474
+ }), Ad = e.object({
5466
5475
  id: e.uuid(),
5467
5476
  created_at: e.iso.datetime(),
5468
5477
  updated_at: e.iso.datetime(),
5469
5478
  code: e.string().nullish(),
5470
- components: e.array(Dd).nullish(),
5479
+ components: e.array(kd).nullish(),
5471
5480
  description: e.string().nullish(),
5472
5481
  effective_tax_rate: e.int().nullish(),
5473
5482
  is_external: e.boolean().optional().default(!1),
@@ -5476,18 +5485,18 @@ var Dd = e.object({
5476
5485
  total_tax_rate: e.int().nullish()
5477
5486
  });
5478
5487
  e.object({
5479
- data: e.array(Od),
5488
+ data: e.array(Ad),
5480
5489
  next_pagination_token: e.string().nullish(),
5481
5490
  prev_pagination_token: e.string().nullish()
5482
5491
  });
5483
- var kd = e.object({
5492
+ var jd = e.object({
5484
5493
  maskedTaxId: e.string(),
5485
5494
  taxIdType: e.string()
5486
- }), Ad = e.object({
5495
+ }), Md = e.object({
5487
5496
  businessStructureType: e.string().nullish(),
5488
5497
  formationDate: e.iso.date().nullish(),
5489
5498
  naicsCode: ca.nullish(),
5490
- taxId: kd.nullish()
5499
+ taxId: jd.nullish()
5491
5500
  });
5492
5501
  e.object({
5493
5502
  id: e.uuid(),
@@ -5495,7 +5504,7 @@ e.object({
5495
5504
  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(),
5496
5505
  displayName: e.string(),
5497
5506
  domainName: e.string().nullish(),
5498
- embeddedBusinessData: Ad.nullish(),
5507
+ embeddedBusinessData: Md.nullish(),
5499
5508
  isEnabled: e.boolean(),
5500
5509
  legalName: e.string(),
5501
5510
  logo: Za.nullish(),
@@ -5503,14 +5512,14 @@ e.object({
5503
5512
  shortName: e.string(),
5504
5513
  types: e.array(A)
5505
5514
  });
5506
- var jd = e.enum([
5515
+ var Nd = e.enum([
5507
5516
  "EIN",
5508
5517
  "SSN",
5509
5518
  "TIN"
5510
- ]), Md = e.object({
5511
- type: jd.nullish(),
5519
+ ]), Pd = e.object({
5520
+ type: Nd.nullish(),
5512
5521
  value: e.string().nullish()
5513
- }).nullable(), Nd = e.object({
5522
+ }).nullable(), Fd = e.object({
5514
5523
  address: E.optional(),
5515
5524
  businessStructureType: za.optional(),
5516
5525
  dbaName: T.optional(),
@@ -5518,17 +5527,17 @@ var jd = e.enum([
5518
5527
  legalName: T.optional(),
5519
5528
  northAmericanIndustryClassificationSystemCode: Va.optional(),
5520
5529
  phoneNumber: T.optional(),
5521
- taxId: Md.optional(),
5530
+ taxId: Pd.optional(),
5522
5531
  website: T.optional()
5523
5532
  });
5524
5533
  e.object({
5525
- applicant: vc.nullish(),
5526
- businessDetails: Nd.nullish(),
5527
- businessOwners: e.array(yc).nullish(),
5534
+ applicant: bc.nullish(),
5535
+ businessDetails: Fd.nullish(),
5536
+ businessOwners: e.array(xc).nullish(),
5528
5537
  individualValidationSource: e.string().nullish(),
5529
5538
  organizationValidationSource: e.string().nullish()
5530
5539
  });
5531
- var Pd = e.object({
5540
+ var Id = e.object({
5532
5541
  address: E.optional(),
5533
5542
  annualBusinessRevenue: w.optional(),
5534
5543
  businessStructureType: za.optional(),
@@ -5541,15 +5550,15 @@ var Pd = e.object({
5541
5550
  numberOfEmployees: Ja.optional(),
5542
5551
  ownership: T.optional(),
5543
5552
  phoneNumber: T.optional(),
5544
- taxId: Md.optional(),
5553
+ taxId: Pd.optional(),
5545
5554
  website: T.optional()
5546
5555
  });
5547
5556
  e.object({
5548
- applicant: bc.nullish(),
5549
- businessDetails: Pd.nullish(),
5550
- businessOwners: e.array(yc).nullish()
5557
+ applicant: Sc.nullish(),
5558
+ businessDetails: Id.nullish(),
5559
+ businessOwners: e.array(xc).nullish()
5551
5560
  });
5552
- var Fd = e.object({
5561
+ var Ld = e.object({
5553
5562
  address: E.optional(),
5554
5563
  businessStructureType: za.optional(),
5555
5564
  dbaName: T.optional(),
@@ -5557,9 +5566,9 @@ var Fd = e.object({
5557
5566
  legalName: T.optional(),
5558
5567
  northAmericanIndustryClassificationSystemCode: Va.optional(),
5559
5568
  phoneNumber: T.optional(),
5560
- taxId: Md.optional(),
5569
+ taxId: Pd.optional(),
5561
5570
  website: T.optional()
5562
- }).nullable(), Id = e.object({
5571
+ }).nullable(), Rd = e.object({
5563
5572
  address: E.optional(),
5564
5573
  annualBusinessRevenue: w.optional(),
5565
5574
  businessStructureType: za.optional(),
@@ -5572,21 +5581,21 @@ var Fd = e.object({
5572
5581
  numberOfEmployees: Ja.optional(),
5573
5582
  ownership: T.optional(),
5574
5583
  phoneNumber: T.optional(),
5575
- taxId: Md.optional(),
5584
+ taxId: Pd.optional(),
5576
5585
  website: T.optional()
5577
- }).nullable(), Ld = e.enum(["name"]), Rd = e.enum([
5586
+ }).nullable(), zd = e.enum(["name"]), Bd = e.enum([
5578
5587
  "taxable",
5579
5588
  "exempt",
5580
5589
  "non_taxable"
5581
- ]), zd = e.object({
5590
+ ]), Vd = e.object({
5582
5591
  custom_tax_rate_id: e.uuid().nullish(),
5583
5592
  discount: u.nullish(),
5584
5593
  price: e.int().gte(0).lte(9007199254740991).nullish(),
5585
5594
  quantity: e.number().gte(0).lte(2147483647).nullish(),
5586
5595
  tax_rate_name: e.string().max(64).nullish(),
5587
5596
  tax_rate_value: e.int().gte(0).lte(1e4).nullish(),
5588
- tax_status: Rd.nullish()
5589
- }), Bd = e.object({
5597
+ tax_status: Bd.nullish()
5598
+ }), Hd = e.object({
5590
5599
  body_template: e.string(),
5591
5600
  subject_template: e.string().max(2048)
5592
5601
  });
@@ -5594,18 +5603,18 @@ e.object({
5594
5603
  attachments: e.record(e.string(), e.string()).nullish(),
5595
5604
  recipients: e.array(e.email()),
5596
5605
  sender: e.email(),
5597
- template: Bd,
5606
+ template: Hd,
5598
5607
  template_data: e.record(e.string(), e.unknown()).nullish()
5599
5608
  });
5600
- var Vd = e.object({
5609
+ var Ud = e.object({
5601
5610
  body_template: e.string(),
5602
5611
  language: e.string(),
5603
5612
  subject_template: e.string()
5604
- }), Hd = e.object({
5605
- available_templates: e.array(Vd),
5613
+ }), Wd = e.object({
5614
+ available_templates: e.array(Ud),
5606
5615
  template_name: e.string()
5607
5616
  });
5608
- e.object({ data: e.array(Hd) }), e.object({
5617
+ e.object({ data: e.array(Wd) }), e.object({
5609
5618
  body: e.string(),
5610
5619
  data: e.record(e.string(), e.union([
5611
5620
  e.string(),
@@ -5619,70 +5628,70 @@ e.object({ data: e.array(Hd) }), e.object({
5619
5628
  partner_id: e.uuid().nullish(),
5620
5629
  subject: e.string()
5621
5630
  });
5622
- var Ud = e.enum(["block", "source_object"]), Wd = e.object({
5631
+ var Gd = e.enum(["block", "source_object"]), Kd = e.object({
5623
5632
  id: e.uuid(),
5624
5633
  created_at: e.iso.datetime().optional(),
5625
5634
  updated_at: e.iso.datetime().optional(),
5626
5635
  blocks: e.array(e.string()).optional(),
5627
- document_type: sc,
5636
+ document_type: lc,
5628
5637
  is_default: e.boolean(),
5629
5638
  language: e.string(),
5630
5639
  name: e.string(),
5631
5640
  preview: ii.nullish(),
5632
5641
  template: e.string(),
5633
- template_type: Ud.optional().default("source_object")
5642
+ template_type: Gd.optional().default("source_object")
5634
5643
  });
5635
- e.object({ data: e.array(Wd).optional() });
5644
+ e.object({ data: e.array(Kd).optional() });
5636
5645
  var J = e.object({
5637
5646
  discount: e.int().gte(0).lte(1e4),
5638
5647
  number_of_days: e.int().gte(0).lte(1e4)
5639
- }), Gd = e.object({ number_of_days: e.int().gte(0).lte(1e4) });
5648
+ }), qd = e.object({ number_of_days: e.int().gte(0).lte(1e4) });
5640
5649
  e.object({
5641
5650
  description: e.string().max(255).nullish(),
5642
5651
  name: e.string().min(1).max(100),
5643
5652
  term_1: J.nullish(),
5644
5653
  term_2: J.nullish(),
5645
- term_final: Gd
5654
+ term_final: qd
5646
5655
  });
5647
- var Kd = e.object({
5656
+ var Jd = e.object({
5648
5657
  id: e.uuid(),
5649
5658
  description: e.string().nullish(),
5650
5659
  name: e.string(),
5651
5660
  term_1: J.nullish(),
5652
5661
  term_2: J.nullish(),
5653
- term_final: Gd
5662
+ term_final: qd
5654
5663
  });
5655
- e.object({ data: e.array(Kd).nullish() }), e.object({
5664
+ e.object({ data: e.array(Jd).nullish() }), e.object({
5656
5665
  description: e.string().max(255).nullish(),
5657
5666
  name: e.string().min(1).max(100).nullish(),
5658
5667
  term_1: J.nullish(),
5659
5668
  term_2: J.nullish(),
5660
- term_final: Gd.nullish()
5669
+ term_final: qd.nullish()
5661
5670
  });
5662
- var qd = e.object({
5671
+ var Yd = e.object({
5663
5672
  date: e.iso.datetime().nullish(),
5664
5673
  ip: e.string().nullish()
5665
5674
  });
5666
5675
  e.object({
5667
5676
  business_profile: Cr.nullish(),
5668
5677
  ownership_declaration: No.nullish(),
5669
- tos_acceptance: qd.nullish(),
5670
- treasury_tos_acceptance: qd.nullish()
5678
+ tos_acceptance: Yd.nullish(),
5679
+ treasury_tos_acceptance: Yd.nullish()
5671
5680
  });
5672
- var Jd = e.object({
5681
+ var Xd = e.object({
5673
5682
  date: e.iso.datetime().nullish(),
5674
5683
  ip: e.string().nullish()
5675
5684
  });
5676
5685
  e.object({
5677
5686
  business_profile: Cr.nullish(),
5678
5687
  ownership_declaration: Po.nullish(),
5679
- tos_acceptance: Jd.nullish(),
5680
- treasury_tos_acceptance: Jd.nullish()
5688
+ tos_acceptance: Xd.nullish(),
5689
+ treasury_tos_acceptance: Xd.nullish()
5681
5690
  });
5682
- var Yd = e.object({
5691
+ var Zd = e.object({
5683
5692
  link_token: e.string(),
5684
5693
  payment_link_id: e.string()
5685
- }), Xd = e.object({
5694
+ }), Qd = e.object({
5686
5695
  id: e.uuid(),
5687
5696
  updated_at: e.iso.datetime(),
5688
5697
  airwallex_data: _e.nullish(),
@@ -5693,20 +5702,20 @@ var Yd = e.object({
5693
5702
  currency: e.string(),
5694
5703
  error_message: e.string().nullish(),
5695
5704
  invoice: yi.nullish(),
5696
- key: Qu.nullish(),
5697
- object: Ws.nullish(),
5698
- payer: Os.nullish(),
5705
+ key: ed.nullish(),
5706
+ object: Ks.nullish(),
5707
+ payer: As.nullish(),
5699
5708
  payment_date: e.iso.date().nullish(),
5700
5709
  payment_link_id: e.uuid().nullish(),
5701
5710
  payment_methods: e.array(_),
5702
5711
  payment_reference: e.string().nullish(),
5703
5712
  provider: e.string().nullish(),
5704
- recipient: eu,
5713
+ recipient: nu,
5705
5714
  selected_payment_method: _.nullish(),
5706
5715
  source_bank_account_id: e.uuid().nullish(),
5707
5716
  status: e.string(),
5708
- stripe_data: Qu.nullish(),
5709
- tesouro_data: Yd.nullish()
5717
+ stripe_data: ed.nullish(),
5718
+ tesouro_data: Zd.nullish()
5710
5719
  });
5711
5720
  e.object({
5712
5721
  id: e.uuid(),
@@ -5714,25 +5723,25 @@ e.object({
5714
5723
  entity_id: e.uuid(),
5715
5724
  expires_at: e.iso.datetime(),
5716
5725
  partner_id: e.uuid(),
5717
- payment_intent: Xd,
5726
+ payment_intent: Qd,
5718
5727
  payment_intent_id: e.uuid(),
5719
5728
  payment_page_url: e.string(),
5720
5729
  project_id: e.uuid(),
5721
5730
  return_url: e.string().nullish(),
5722
5731
  status: e.string()
5723
5732
  });
5724
- var Zd = e.object({
5733
+ var $d = e.object({
5725
5734
  link_token: e.string(),
5726
5735
  payment_link_id: e.string()
5727
- }), Qd = e.object({
5736
+ }), ef = e.object({
5728
5737
  id: e.uuid(),
5729
5738
  updated_at: e.iso.datetime(),
5730
5739
  application_fee_amount: e.int().nullish(),
5731
- object: Ws.nullish(),
5740
+ object: Ks.nullish(),
5732
5741
  provider: e.string().nullish(),
5733
5742
  selected_payment_method: e.string().nullish(),
5734
5743
  status: e.string(),
5735
- tesouro_data: Zd.nullish()
5744
+ tesouro_data: $d.nullish()
5736
5745
  });
5737
5746
  e.object({
5738
5747
  id: e.uuid(),
@@ -5740,17 +5749,17 @@ e.object({
5740
5749
  currency: c,
5741
5750
  expires_at: e.iso.datetime(),
5742
5751
  invoice: yi.nullish(),
5743
- payer: Ds.nullish(),
5744
- payment_intent: Qd.nullish(),
5752
+ payer: ks.nullish(),
5753
+ payment_intent: ef.nullish(),
5745
5754
  payment_intent_id: e.uuid(),
5746
5755
  payment_methods: e.array(e.string()),
5747
5756
  payment_page_url: e.url().min(1).max(2083),
5748
5757
  payment_reference: e.string().nullish(),
5749
- recipient: Ql,
5758
+ recipient: eu,
5750
5759
  return_url: e.string().nullish(),
5751
5760
  status: e.string()
5752
5761
  });
5753
- var $d = e.enum([
5762
+ var tf = e.enum([
5754
5763
  "quote",
5755
5764
  "invoice",
5756
5765
  "credit_note",
@@ -5758,55 +5767,55 @@ var $d = e.enum([
5758
5767
  "final_reminder",
5759
5768
  "payables_purchase_order",
5760
5769
  "overdue_reminder"
5761
- ]), ef = e.enum([
5770
+ ]), nf = e.enum([
5762
5771
  "email_header",
5763
5772
  "email_body",
5764
5773
  "memo"
5765
5774
  ]);
5766
5775
  e.object({
5767
- document_type: $d,
5776
+ document_type: tf,
5768
5777
  name: e.string(),
5769
5778
  template: e.string(),
5770
- type: ef
5779
+ type: nf
5771
5780
  });
5772
- var tf = e.object({
5781
+ var rf = e.object({
5773
5782
  id: e.uuid(),
5774
5783
  created_at: e.iso.datetime(),
5775
5784
  updated_at: e.iso.datetime(),
5776
- document_type: $d,
5785
+ document_type: tf,
5777
5786
  is_default: e.boolean(),
5778
5787
  name: e.string(),
5779
5788
  template: e.string(),
5780
- type: ef
5789
+ type: nf
5781
5790
  });
5782
5791
  e.object({
5783
- data: e.array(tf),
5792
+ data: e.array(rf),
5784
5793
  next_pagination_token: e.string().nullish(),
5785
5794
  prev_pagination_token: e.string().nullish()
5786
5795
  });
5787
- var nf = e.object({
5796
+ var af = e.object({
5788
5797
  amount: e.int().gte(0).lte(9007199254740991),
5789
5798
  name: e.string(),
5790
5799
  value: e.number().gte(0).lte(1e4)
5791
- }), rf = e.object({
5800
+ }), of = e.object({
5792
5801
  id: e.uuid().nullish(),
5793
5802
  amount: e.int().gte(0).lte(9007199254740991),
5794
- components: e.array(nf).min(1).nullish(),
5803
+ components: e.array(af).min(1).nullish(),
5795
5804
  name: e.string().nullish(),
5796
5805
  taxable_amount: e.int().gte(0),
5797
5806
  value: e.number().gte(0).lte(1e4)
5798
5807
  });
5799
5808
  e.object({ data: e.array(ye) });
5800
- var af = e.object({ id: e.uuid().nullish() }), of = e.enum([
5809
+ var sf = e.object({ id: e.uuid().nullish() }), cf = e.enum([
5801
5810
  "success",
5802
5811
  "partial_success",
5803
5812
  "error"
5804
5813
  ]);
5805
5814
  e.object({
5806
- data: e.array(af).min(1).max(5e3),
5807
- status: of
5815
+ data: e.array(sf).min(1).max(5e3),
5816
+ status: cf
5808
5817
  });
5809
- var sf = e.enum([
5818
+ var lf = e.enum([
5810
5819
  "created_at",
5811
5820
  "updated_at",
5812
5821
  "started_at",
@@ -5816,13 +5825,13 @@ var sf = e.enum([
5816
5825
  "status",
5817
5826
  "type",
5818
5827
  "external_id"
5819
- ]), cf = e.enum([
5828
+ ]), uf = e.enum([
5820
5829
  "expense_status",
5821
5830
  "payment_processing_status",
5822
5831
  "created_at"
5823
- ]), lf = e.enum(["receipt_id", "description"]), uf = e.enum(["id", "amount"]), df = e.discriminatedUnion("type", [ht, hn]), ff = e.enum(["card", "bank_account"]), pf = e.object({ reject_reason: e.string().min(1).max(1024).nullish() }), mf = e.object({
5832
+ ]), df = e.enum(["receipt_id", "description"]), ff = e.enum(["id", "amount"]), pf = e.discriminatedUnion("type", [ht, hn]), mf = e.enum(["card", "bank_account"]), hf = e.object({ reject_reason: e.string().min(1).max(1024).nullish() }), gf = e.object({
5824
5833
  amount_threshold: e.int().gte(0).nullish(),
5825
- field: lf
5834
+ field: df
5826
5835
  }), Y = e.enum([
5827
5836
  "created",
5828
5837
  "processing",
@@ -5830,10 +5839,10 @@ var sf = e.enum([
5830
5839
  "declined",
5831
5840
  "refunded",
5832
5841
  "failed"
5833
- ]), hf = e.object({
5842
+ ]), _f = e.object({
5834
5843
  new_status: Y,
5835
5844
  old_status: Y.nullish()
5836
- }), gf = e.object({
5845
+ }), vf = e.object({
5837
5846
  id: e.uuid(),
5838
5847
  entity_user_first_name: e.string().nullable(),
5839
5848
  entity_user_id: e.uuid().nullable(),
@@ -5853,7 +5862,7 @@ var sf = e.enum([
5853
5862
  ti,
5854
5863
  Mr,
5855
5864
  $r,
5856
- hf
5865
+ _f
5857
5866
  ]).nullable(),
5858
5867
  event_type: e.string(),
5859
5868
  recorded_by: e.enum(["user", "system"]),
@@ -5861,21 +5870,21 @@ var sf = e.enum([
5861
5870
  transaction_id: e.uuid()
5862
5871
  });
5863
5872
  e.object({
5864
- data: e.array(gf),
5873
+ data: e.array(vf),
5865
5874
  next_pagination_token: e.string().nullish(),
5866
5875
  prev_pagination_token: e.string().nullish()
5867
5876
  });
5868
- var _f = e.object({
5877
+ var yf = e.object({
5869
5878
  bypass_receipt_validation: e.boolean().optional().default(!1),
5870
5879
  no_receipt_reason: e.string().min(1).max(512).nullish()
5871
- }), vf = e.enum([
5880
+ }), bf = e.enum([
5872
5881
  "capture",
5873
5882
  "refund",
5874
5883
  "cash_withdrawal",
5875
5884
  "fee",
5876
5885
  "adjustment",
5877
5886
  "reversal"
5878
- ]), yf = e.object({
5887
+ ]), xf = e.object({
5879
5888
  amount: e.int(),
5880
5889
  currency: c,
5881
5890
  department_id: e.uuid().nullish(),
@@ -5889,13 +5898,13 @@ var _f = e.object({
5889
5898
  merchant_location: e.string().max(128),
5890
5899
  merchant_name: e.string().max(128),
5891
5900
  partner_metadata: e.record(e.string(), e.string()).nullish(),
5892
- payment_method: df,
5901
+ payment_method: pf,
5893
5902
  payment_processing_status: Y.optional().default("created"),
5894
5903
  started_at: e.iso.datetime().nullish(),
5895
- type: vf
5904
+ type: bf
5896
5905
  });
5897
- e.object({ data: e.array(yf) });
5898
- var bf = e.object({
5906
+ e.object({ data: e.array(xf) });
5907
+ var Sf = e.object({
5899
5908
  id: e.uuid(),
5900
5909
  amount: e.int(),
5901
5910
  applied_policy_id: e.uuid().nullish(),
@@ -5915,17 +5924,17 @@ var bf = e.object({
5915
5924
  merchant_name: e.string().max(128),
5916
5925
  no_receipt_reason: e.string().nullish(),
5917
5926
  partner_metadata: e.record(e.string(), e.string()).nullish(),
5918
- payment_method: df,
5927
+ payment_method: pf,
5919
5928
  payment_processing_status: Y.optional().default("created"),
5920
5929
  receipt_file_url: e.string().nullish(),
5921
5930
  receipt_id: e.string().nullish(),
5922
5931
  reject_reason: e.string().nullish(),
5923
- source_of_data: Ru.nullish(),
5932
+ source_of_data: Bu.nullish(),
5924
5933
  started_at: e.string(),
5925
- type: vf
5934
+ type: bf
5926
5935
  });
5927
5936
  e.object({
5928
- data: e.array(bf),
5937
+ data: e.array(Sf),
5929
5938
  next_pagination_token: e.string().nullish(),
5930
5939
  prev_pagination_token: e.string().nullish()
5931
5940
  }), e.object({
@@ -5942,20 +5951,20 @@ e.object({
5942
5951
  merchant_location: e.string().max(128).nullish(),
5943
5952
  merchant_name: e.string().max(128).nullish(),
5944
5953
  partner_metadata: e.record(e.string(), e.string()).nullish(),
5945
- payment_method: df.nullish(),
5954
+ payment_method: pf.nullish(),
5946
5955
  payment_processing_status: Y.nullish().default("created"),
5947
5956
  started_at: e.iso.datetime().nullish(),
5948
- type: vf.nullish()
5957
+ type: bf.nullish()
5949
5958
  });
5950
- var xf = e.object({
5959
+ var Cf = e.object({
5951
5960
  field: e.string(),
5952
5961
  message: e.string()
5953
5962
  });
5954
5963
  e.object({
5955
5964
  id: e.uuid(),
5956
- validation_errors: e.array(xf)
5957
- }), e.object({ required_fields: e.array(mf) }), e.object({ required_fields: e.array(mf) });
5958
- var Sf = e.enum([
5965
+ validation_errors: e.array(Cf)
5966
+ }), e.object({ required_fields: e.array(gf) }), e.object({ required_fields: e.array(gf) });
5967
+ var wf = e.enum([
5959
5968
  "INTERNAL_TO_EXTERNAL",
5960
5969
  "EXTERNAL_TO_INTERNAL",
5961
5970
  "INTERNAL_TO_INTERNAL"
@@ -5968,9 +5977,9 @@ e.object({
5968
5977
  reference: e.string().nullish(),
5969
5978
  secCode: e.string(),
5970
5979
  toBankAccountId: e.uuid(),
5971
- type: Sf
5980
+ type: wf
5972
5981
  });
5973
- var Cf = e.object({
5982
+ var Tf = e.object({
5974
5983
  designation: e.string().min(1),
5975
5984
  name: e.string().min(1)
5976
5985
  });
@@ -5980,62 +5989,62 @@ e.object({
5980
5989
  currency: Er.nullish(),
5981
5990
  default_role: e.record(e.string(), e.unknown()).nullish(),
5982
5991
  mail: Ki.nullish(),
5983
- payable: ms.nullish(),
5984
- payments: oc.nullish(),
5985
- receivable: Rl.nullish(),
5986
- units: e.array(Cf).nullish(),
5992
+ payable: gs.nullish(),
5993
+ payments: cc.nullish(),
5994
+ receivable: Bl.nullish(),
5995
+ units: e.array(Tf).nullish(),
5987
5996
  website: e.string().nullish()
5988
5997
  });
5989
- var wf = e.object({
5998
+ var Ef = e.object({
5990
5999
  description: e.string().max(200).nullish(),
5991
6000
  name: e.string().min(1).max(100)
5992
- }), Tf = e.object({
6001
+ }), Df = e.object({
5993
6002
  description: e.string().max(2e3).nullish(),
5994
- measure_unit: wf.nullish(),
6003
+ measure_unit: Ef.nullish(),
5995
6004
  name: e.string().min(1).max(100)
5996
- }), Ef = e.object({
5997
- product: Tf.nullish(),
6005
+ }), Of = e.object({
6006
+ product: Df.nullish(),
5998
6007
  product_id: e.uuid().nullish(),
5999
6008
  quantity: e.number().gte(0).lte(2147483647)
6000
- }), Df = e.object({
6009
+ }), kf = e.object({
6001
6010
  counterpart_address_id: e.uuid(),
6002
6011
  counterpart_id: e.uuid(),
6003
6012
  delivery_date: e.iso.date().nullish(),
6004
6013
  delivery_number: e.string().min(1).nullish(),
6005
6014
  display_signature_placeholder: e.boolean().nullish().default(!1),
6006
6015
  document_id: e.string().min(1).max(100).nullish(),
6007
- line_items: e.array(Ef).min(1).max(100),
6016
+ line_items: e.array(Of).min(1).max(100),
6008
6017
  memo: e.string().min(1).nullish()
6009
- }), Of = e.object({
6010
- product: Tf,
6018
+ }), Af = e.object({
6019
+ product: Df,
6011
6020
  quantity: e.number().gte(0).lte(2147483647)
6012
- }), kf = e.object({
6021
+ }), jf = e.object({
6013
6022
  id: e.uuid(),
6014
6023
  created_at: e.iso.datetime(),
6015
6024
  updated_at: e.iso.datetime(),
6016
6025
  based_on: e.uuid().nullish(),
6017
6026
  based_on_document_id: e.string().nullish(),
6018
- counterpart: _d,
6019
- counterpart_address: Wl,
6027
+ counterpart: yd,
6028
+ counterpart_address: Kl,
6020
6029
  counterpart_id: e.uuid(),
6021
6030
  created_by_entity_user_id: e.uuid().nullish(),
6022
6031
  delivery_date: e.iso.date().nullish(),
6023
6032
  delivery_number: e.string().nullish(),
6024
6033
  display_signature_placeholder: e.boolean(),
6025
6034
  document_id: e.string(),
6026
- entity: e.union([wl, Sl]),
6027
- entity_address: bl,
6035
+ entity: e.union([El, wl]),
6036
+ entity_address: Sl,
6028
6037
  entity_id: e.uuid(),
6029
6038
  file_language: h,
6030
6039
  file_url: e.string().nullish(),
6031
- line_items: e.array(Of).min(1),
6040
+ line_items: e.array(Af).min(1),
6032
6041
  memo: e.string().nullish(),
6033
6042
  original_file_language: h,
6034
6043
  original_file_url: e.string().nullish(),
6035
6044
  status: Rn
6036
6045
  });
6037
6046
  e.object({
6038
- data: e.array(kf),
6047
+ data: e.array(jf),
6039
6048
  next_pagination_token: e.string().nullish(),
6040
6049
  prev_pagination_token: e.string().nullish()
6041
6050
  }), e.object({
@@ -6044,42 +6053,42 @@ e.object({
6044
6053
  delivery_date: e.iso.date().nullish(),
6045
6054
  delivery_number: e.string().nullish(),
6046
6055
  display_signature_placeholder: e.boolean().nullish(),
6047
- line_items: e.array(Ef).min(1).max(100).nullish(),
6056
+ line_items: e.array(Of).min(1).max(100).nullish(),
6048
6057
  memo: e.string().nullish()
6049
6058
  });
6050
- var Af = e.object({
6059
+ var Mf = e.object({
6051
6060
  description: e.string().max(2e3).nullish(),
6052
6061
  external_reference: e.string().min(1).max(255).nullish(),
6053
6062
  ledger_account_id: e.uuid().nullish(),
6054
- measure_unit: wf.nullish(),
6063
+ measure_unit: Ef.nullish(),
6055
6064
  name: e.string().min(1).max(100),
6056
6065
  price: I,
6057
6066
  smallest_amount: e.number().gte(0).lte(2147483647).nullish(),
6058
6067
  type: L.optional().default("product")
6059
- }), jf = e.object({
6068
+ }), Nf = e.object({
6060
6069
  accounting_tax_rate_id: e.uuid().nullish(),
6061
6070
  custom_tax_rate_id: e.uuid().nullish(),
6062
6071
  discount: u.nullish(),
6063
- product: Af.nullish(),
6072
+ product: Mf.nullish(),
6064
6073
  product_id: e.uuid().nullish(),
6065
6074
  quantity: e.number().gte(0).lte(2147483647),
6066
6075
  tax_rate_name: e.string().min(1).max(64).nullish(),
6067
6076
  tax_rate_value: e.int().gte(0).lte(1e4).nullish(),
6068
- tax_status: Rd.optional().default("taxable")
6069
- }), Mf = e.object({
6077
+ tax_status: Bd.optional().default("taxable")
6078
+ }), Pf = e.object({
6070
6079
  id: e.uuid(),
6071
6080
  created_at: e.iso.datetime(),
6072
6081
  updated_at: e.iso.datetime(),
6073
6082
  description: e.string().nullish(),
6074
6083
  name: e.string()
6075
6084
  });
6076
- e.object({ data: e.array(Mf) }), e.object({
6085
+ e.object({ data: e.array(Pf) }), e.object({
6077
6086
  description: e.string().max(200).nullish(),
6078
6087
  name: e.string().min(1).max(100).nullish()
6079
6088
  }), e.object({
6080
- applicant: xc.optional(),
6081
- businessDetails: Fd.optional(),
6082
- businessOwners: Cc.optional(),
6089
+ applicant: Cc.optional(),
6090
+ businessDetails: Ld.optional(),
6091
+ businessOwners: Tc.optional(),
6083
6092
  individualValidationSource: D.optional(),
6084
6093
  organizationValidationSource: D.optional()
6085
6094
  }), e.object({
@@ -6105,9 +6114,9 @@ e.object({ data: e.array(Mf) }), e.object({
6105
6114
  phone: e.string().max(100).nullish(),
6106
6115
  title: e.string().max(100).nullish()
6107
6116
  }), e.object({
6108
- applicant: Sc.optional(),
6109
- businessDetails: Id.optional(),
6110
- businessOwners: Cc.optional()
6117
+ applicant: wc.optional(),
6118
+ businessDetails: Rd.optional(),
6119
+ businessOwners: Tc.optional()
6111
6120
  }), e.object({
6112
6121
  body_template: e.string().nullish(),
6113
6122
  language: h.nullish(),
@@ -6117,7 +6126,7 @@ e.object({ data: e.array(Mf) }), e.object({
6117
6126
  description: T.optional(),
6118
6127
  nickname: D.optional()
6119
6128
  }), e.object({ name: e.string() });
6120
- var Nf = e.object({
6129
+ var Ff = e.object({
6121
6130
  city: e.string().min(1).max(100).nullish(),
6122
6131
  line1: e.string().min(1).max(200).nullish(),
6123
6132
  line2: e.string().min(1).max(100).nullish(),
@@ -6128,7 +6137,7 @@ e.object({
6128
6137
  account_holder_name: e.string().min(1).max(200).nullish(),
6129
6138
  display_name: e.string().min(1).max(200).nullish()
6130
6139
  }), e.object({
6131
- address: Nf.nullish(),
6140
+ address: Ff.nullish(),
6132
6141
  email: e.email().nullish(),
6133
6142
  individual: Pa.nullish(),
6134
6143
  organization: Xa.nullish(),
@@ -6150,7 +6159,7 @@ e.object({
6150
6159
  nickname: D.optional(),
6151
6160
  verification: La.optional()
6152
6161
  });
6153
- var Pf = e.object({
6162
+ var If = e.object({
6154
6163
  attachments: e.array(i).min(1).nullish(),
6155
6164
  bank_account_id: e.uuid().nullish(),
6156
6165
  bank_account_type: $e.nullish(),
@@ -6165,11 +6174,11 @@ var Pf = e.object({
6165
6174
  document_id: e.string().min(1).max(100).nullish(),
6166
6175
  document_rendering: z.nullish(),
6167
6176
  due_date: e.iso.date().nullish(),
6168
- entity: xl.nullish(),
6177
+ entity: Cl.nullish(),
6169
6178
  entity_vat_id_id: e.uuid().nullish(),
6170
6179
  footer: e.string().nullish(),
6171
6180
  fulfillment_date: e.iso.date().nullish(),
6172
- line_items: e.array(zd).nullish(),
6181
+ line_items: e.array(Vd).nullish(),
6173
6182
  memo: e.string().nullish(),
6174
6183
  overdue_reminder_id: e.uuid().nullish(),
6175
6184
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
@@ -6183,7 +6192,7 @@ var Pf = e.object({
6183
6192
  tax_exemption_rationale: e.string().nullish(),
6184
6193
  trade_name: e.string().max(255).nullish(),
6185
6194
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6186
- }), Ff = e.object({ invoice: Pf }), If = e.object({
6195
+ }), Lf = e.object({ invoice: If }), Rf = e.object({
6187
6196
  attachments: e.array(i).min(1).nullish(),
6188
6197
  contact_id: e.uuid().nullish(),
6189
6198
  counterpart_id: e.uuid().nullish(),
@@ -6191,8 +6200,8 @@ var Pf = e.object({
6191
6200
  document_id: e.string().min(1).max(100).nullish(),
6192
6201
  document_rendering: z.nullish(),
6193
6202
  due_date: e.iso.date().nullish(),
6194
- entity: e.union([Tl, Cl]).nullish(),
6195
- entity_address: bl.nullish(),
6203
+ entity: e.union([Dl, Tl]).nullish(),
6204
+ entity_address: Sl.nullish(),
6196
6205
  entity_vat_id_id: e.uuid().nullish(),
6197
6206
  footer: e.string().nullish(),
6198
6207
  fulfillment_date: e.iso.date().nullish(),
@@ -6205,8 +6214,8 @@ var Pf = e.object({
6205
6214
  payment_terms_id: e.uuid().nullish(),
6206
6215
  project_id: e.uuid().nullish(),
6207
6216
  tag_ids: e.array(e.uuid()).optional().default([])
6208
- }), Lf = e.object({ issued_invoice: If });
6209
- e.object({ data: e.array(jf) }), e.object({ name: e.string() }), e.object({
6217
+ }), zf = e.object({ issued_invoice: Rf });
6218
+ e.object({ data: e.array(Nf) }), e.object({ name: e.string() }), e.object({
6210
6219
  active: e.boolean().nullish(),
6211
6220
  mccs: e.array(e.string()).nullish(),
6212
6221
  name: e.string().nullish()
@@ -6229,43 +6238,43 @@ e.object({ data: e.array(jf) }), e.object({ name: e.string() }), e.object({
6229
6238
  paid_by: Vo.nullish(),
6230
6239
  partner_fee: Na.nullish(),
6231
6240
  payment_method: _.nullish(),
6232
- payment_method_subtype: zs.nullish(),
6241
+ payment_method_subtype: Vs.nullish(),
6233
6242
  region: Jr.nullish(),
6234
6243
  tier_id: e.uuid().nullish()
6235
6244
  }), e.object({ amount: e.int() }), e.object({
6236
6245
  higher_range: e.int().gt(0).nullish(),
6237
6246
  lower_range: e.int().gte(0).nullish(),
6238
6247
  measure_unit: Zi.nullish(),
6239
- period: cc.nullish()
6248
+ period: uc.nullish()
6240
6249
  });
6241
- var Rf = e.object({
6250
+ var Bf = e.object({
6242
6251
  old_price: e.int().gte(1).lte(9007199254740991).nullish(),
6243
6252
  price_diff: e.int().gte(1).lte(9007199254740991).nullish(),
6244
6253
  quantity: e.number().gte(1).lte(2147483647)
6245
- }), zf = e.record(e.string(), Rf), Bf = e.object({
6254
+ }), Vf = e.record(e.string(), Bf), Hf = e.object({
6246
6255
  attachments: e.array(i).min(1).nullish(),
6247
6256
  counterpart_billing_address_id: e.uuid().nullish(),
6248
- counterpart_contact: ql.nullish(),
6257
+ counterpart_contact: Yl.nullish(),
6249
6258
  counterpart_shipping_address_id: e.uuid().nullish(),
6250
6259
  document_rendering: z.nullish(),
6251
- entity: xl.nullish(),
6260
+ entity: Cl.nullish(),
6252
6261
  footer: e.string().nullish(),
6253
- line_items: zf.nullish(),
6262
+ line_items: Vf.nullish(),
6254
6263
  memo: e.string().nullish(),
6255
6264
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
6256
6265
  project_id: e.uuid().nullish(),
6257
6266
  tag_ids: e.array(e.uuid()).nullish()
6258
- }), Vf = e.object({ credit_note: Bf });
6267
+ }), Uf = e.object({ credit_note: Hf });
6259
6268
  e.object({
6260
6269
  counterpart_address_id: e.uuid().nullish(),
6261
6270
  counterpart_id: e.uuid().nullish(),
6262
6271
  entity_vat_id_id: e.uuid().nullish(),
6263
- items: e.array(Qc).nullish(),
6272
+ items: e.array(el).nullish(),
6264
6273
  message: e.string().nullish(),
6265
6274
  project_id: e.uuid().nullish(),
6266
6275
  valid_for_days: e.int().gte(1).nullish()
6267
6276
  });
6268
- var Hf = e.object({
6277
+ var Wf = e.object({
6269
6278
  attachments: e.array(i).min(1).nullish(),
6270
6279
  bank_account_id: e.uuid().nullish(),
6271
6280
  bank_account_type: $e.nullish(),
@@ -6280,11 +6289,11 @@ var Hf = e.object({
6280
6289
  document_id: e.string().min(1).max(100).nullish(),
6281
6290
  document_rendering: z.nullish(),
6282
6291
  due_date: e.iso.date().nullish(),
6283
- entity: xl.nullish(),
6292
+ entity: Cl.nullish(),
6284
6293
  entity_vat_id_id: e.uuid().nullish(),
6285
6294
  expiry_date: e.iso.date().nullish(),
6286
6295
  footer: e.string().nullish(),
6287
- line_items: e.array(zd).nullish(),
6296
+ line_items: e.array(Vd).nullish(),
6288
6297
  memo: e.string().nullish(),
6289
6298
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
6290
6299
  payment_terms: _i.nullish(),
@@ -6297,17 +6306,17 @@ var Hf = e.object({
6297
6306
  tax_exemption_rationale: e.string().nullish(),
6298
6307
  trade_name: e.string().max(255).nullish(),
6299
6308
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6300
- }), Uf = e.object({ quote: Hf });
6309
+ }), Gf = e.object({ quote: Wf });
6301
6310
  e.union([
6311
+ Gf,
6312
+ Lf,
6302
6313
  Uf,
6303
- Ff,
6304
- Vf,
6305
- Lf
6314
+ zf
6306
6315
  ]), e.object({
6307
6316
  automation_level: Fe.nullish(),
6308
6317
  body_text: e.string().min(1).nullish(),
6309
6318
  end_date: e.iso.date().nullish(),
6310
- frequency: au.nullish(),
6319
+ frequency: su.nullish(),
6311
6320
  interval: e.int().gte(1).lte(100).nullish(),
6312
6321
  max_occurrences: e.int().gte(1).lte(1e3).nullish(),
6313
6322
  recipients: V.nullish(),
@@ -6315,7 +6324,7 @@ e.union([
6315
6324
  subject_text: e.string().min(1).nullish()
6316
6325
  }), e.object({
6317
6326
  name: e.string().min(1).max(255).nullish(),
6318
- permissions: xu.nullish()
6327
+ permissions: Cu.nullish()
6319
6328
  }), e.object({
6320
6329
  channelConfig: aa.nullish(),
6321
6330
  channelType: vt.nullish(),
@@ -6330,7 +6339,7 @@ e.union([
6330
6339
  country: e.string().nullish(),
6331
6340
  jobTitle: e.string().nullish(),
6332
6341
  name: e.string().nullish(),
6333
- permissions: hc.nullish(),
6342
+ permissions: _c.nullish(),
6334
6343
  phoneNumber: e.string().nullish(),
6335
6344
  postalCode: e.string().nullish(),
6336
6345
  reportingManagerUserId: x.optional(),
@@ -6354,20 +6363,20 @@ e.union([
6354
6363
  file: e.string(),
6355
6364
  file_type: ve
6356
6365
  }), e.object({ value: Si }), e.object({ value: Si });
6357
- var Wf = e.object({
6366
+ var Kf = e.object({
6358
6367
  id: e.uuid(),
6359
6368
  name: e.string()
6360
- }), Gf = e.object({
6369
+ }), qf = e.object({
6361
6370
  id: e.uuid(),
6362
6371
  name: e.string()
6363
- }), Kf = e.object({
6372
+ }), Jf = e.object({
6364
6373
  id: e.uuid(),
6365
6374
  createdDateTime: e.iso.datetime(),
6366
- department: Wf.nullish(),
6375
+ department: Kf.nullish(),
6367
6376
  email: e.string(),
6368
6377
  jobTitle: e.string().nullish(),
6369
6378
  lastLoggedInDateTime: e.iso.datetime().nullish(),
6370
- location: Gf.nullish(),
6379
+ location: qf.nullish(),
6371
6380
  name: e.string(),
6372
6381
  organizationId: e.uuid(),
6373
6382
  organizationName: e.string(),
@@ -6376,11 +6385,11 @@ var Wf = e.object({
6376
6385
  status: e.string()
6377
6386
  });
6378
6387
  e.object({
6379
- data: e.array(Kf),
6388
+ data: e.array(Jf),
6380
6389
  nextPaginationToken: e.string().nullish(),
6381
6390
  prevPaginationToken: e.string().nullish()
6382
6391
  });
6383
- var qf = e.enum([
6392
+ var Yf = e.enum([
6384
6393
  "ACTIVE",
6385
6394
  "INACTIVE",
6386
6395
  "INVITED"
@@ -6396,9 +6405,9 @@ e.object({
6396
6405
  permissions: e.array(e.string()),
6397
6406
  phoneNumber: e.string().nullish(),
6398
6407
  role: e.string(),
6399
- status: qf
6408
+ status: Yf
6400
6409
  });
6401
- var Jf = e.enum([
6410
+ var Xf = e.enum([
6402
6411
  "ACTIVE",
6403
6412
  "INACTIVE",
6404
6413
  "INVITED",
@@ -6411,47 +6420,47 @@ e.object({
6411
6420
  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" })]),
6412
6421
  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" })])
6413
6422
  });
6414
- var Yf = e.object({
6423
+ var Zf = e.object({
6415
6424
  loc: e.array(e.union([e.string(), e.int()])),
6416
6425
  msg: e.string(),
6417
6426
  type: e.string()
6418
6427
  });
6419
- e.object({ detail: e.array(Yf).optional() });
6420
- var Xf = e.object({
6428
+ e.object({ detail: e.array(Zf).optional() });
6429
+ var Qf = e.object({
6421
6430
  description: e.string(),
6422
6431
  name: e.string()
6423
- }), Zf = e.object({
6432
+ }), $f = e.object({
6424
6433
  object_subtype: Qn,
6425
6434
  object_type: e.string(),
6426
- variables: e.array(Xf)
6435
+ variables: e.array(Qf)
6427
6436
  });
6428
- e.object({ data: e.array(Zf) });
6429
- var Qf = e.enum([
6437
+ e.object({ data: e.array($f) });
6438
+ var ep = e.enum([
6430
6439
  "quote",
6431
6440
  "invoice",
6432
6441
  "credit_note",
6433
6442
  "discount_reminder",
6434
6443
  "final_reminder",
6435
6444
  "overdue_reminder"
6436
- ]), $f = e.object({
6437
- object_subtype: Qf,
6445
+ ]), tp = e.object({
6446
+ object_subtype: ep,
6438
6447
  object_type: e.string(),
6439
- variables: e.array(zl)
6448
+ variables: e.array(Vl)
6440
6449
  });
6441
- e.object({ data: e.array($f) });
6442
- var ep = e.enum([
6450
+ e.object({ data: e.array(tp) });
6451
+ var np = e.enum([
6443
6452
  "entity_country",
6444
6453
  "counterpart_country",
6445
6454
  "zero"
6446
- ]), tp = e.object({
6455
+ ]), rp = e.object({
6447
6456
  id: e.uuid(),
6448
6457
  created_at: e.iso.datetime(),
6449
6458
  updated_at: e.iso.datetime(),
6450
6459
  object_type: e.literal("receivable"),
6451
- predicates: e.array(Dc),
6460
+ predicates: e.array(kc),
6452
6461
  result_value_id: e.uuid(),
6453
6462
  status: W,
6454
- vat_condition: ep
6463
+ vat_condition: np
6455
6464
  }), X = 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("."));
6456
6465
  e.object({
6457
6466
  country: n.nullish(),
@@ -6462,14 +6471,14 @@ e.object({
6462
6471
  type: X.optional().default("unknown"),
6463
6472
  value: e.string().max(32)
6464
6473
  });
6465
- var np = e.object({
6474
+ var ip = e.object({
6466
6475
  id: e.uuid(),
6467
6476
  counterpart_id: e.uuid(),
6468
6477
  country: n.nullish(),
6469
6478
  type: X.optional().default("unknown"),
6470
6479
  value: e.string().max(32)
6471
6480
  });
6472
- e.object({ data: e.array(np) }), e.object({
6481
+ e.object({ data: e.array(ip) }), e.object({
6473
6482
  country: n.nullish(),
6474
6483
  type: X.nullish(),
6475
6484
  value: e.string().max(32).nullish()
@@ -6478,21 +6487,21 @@ e.object({ data: e.array(np) }), e.object({
6478
6487
  type: X.optional().default("unknown"),
6479
6488
  value: e.string().max(32)
6480
6489
  });
6481
- var rp = e.object({
6490
+ var ap = e.object({
6482
6491
  id: e.uuid(),
6483
6492
  country: n,
6484
6493
  entity_id: e.uuid(),
6485
6494
  type: X.optional().default("unknown"),
6486
6495
  value: e.string().max(32)
6487
6496
  });
6488
- e.object({ data: e.array(rp) });
6489
- var ip = e.object({
6497
+ e.object({ data: e.array(ap) });
6498
+ var op = e.object({
6490
6499
  id: e.uuid(),
6491
6500
  counterpart_id: e.uuid(),
6492
6501
  country: n.nullish(),
6493
6502
  type: X.optional().default("unknown"),
6494
6503
  value: e.string().max(32)
6495
- }), ap = e.object({
6504
+ }), sp = e.object({
6496
6505
  id: e.uuid(),
6497
6506
  country: n,
6498
6507
  entity_id: e.uuid(),
@@ -6511,14 +6520,14 @@ e.object({
6511
6520
  mail: mr.nullish(),
6512
6521
  payables_ocr_auto_tagging: e.array(Aa).nullish(),
6513
6522
  payables_skip_approval_flow: e.boolean().optional().default(!1),
6514
- payment_priority: qs.nullish().default("working_capital"),
6523
+ payment_priority: Ys.nullish().default("working_capital"),
6515
6524
  quote_signature_required: e.boolean().optional().default(!1),
6516
- receivable_edit_flow: yl.nullish().default("compliant"),
6517
- reminder: mu.nullish(),
6525
+ receivable_edit_flow: xl.nullish().default("compliant"),
6526
+ reminder: gu.nullish(),
6518
6527
  tax_inclusive_discount_mode: Z.optional().default("exclusive"),
6519
6528
  tax_mode: Z.nullish().default("exclusive")
6520
6529
  });
6521
- var op = e.object({
6530
+ var cp = e.object({
6522
6531
  attachments: e.array(i).min(1).nullish(),
6523
6532
  bank_account_id: e.uuid().nullish(),
6524
6533
  bank_account_type: $e.nullish(),
@@ -6533,11 +6542,11 @@ var op = e.object({
6533
6542
  discount: u.nullish(),
6534
6543
  document_id: e.string().min(1).max(100).nullish(),
6535
6544
  document_rendering: z.nullish(),
6536
- entity: xl.nullish(),
6545
+ entity: Cl.nullish(),
6537
6546
  entity_vat_id_id: e.uuid().nullish(),
6538
6547
  footer: e.string().nullish(),
6539
6548
  fulfillment_date: e.iso.date().nullish(),
6540
- line_items: e.array(jf),
6549
+ line_items: e.array(Nf),
6541
6550
  memo: e.string().nullish(),
6542
6551
  overdue_reminder_id: e.uuid().nullish(),
6543
6552
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
@@ -6554,7 +6563,7 @@ var op = e.object({
6554
6563
  trade_name: e.string().max(255).nullish(),
6555
6564
  type: e.literal("invoice"),
6556
6565
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6557
- }), sp = e.object({
6566
+ }), lp = e.object({
6558
6567
  attachments: e.array(i).min(1).nullish(),
6559
6568
  bank_account_id: e.uuid().nullish(),
6560
6569
  bank_account_type: $e.nullish(),
@@ -6569,11 +6578,11 @@ var op = e.object({
6569
6578
  discount: u.nullish(),
6570
6579
  document_id: e.string().min(1).max(100).nullish(),
6571
6580
  document_rendering: z.nullish(),
6572
- entity: xl.nullish(),
6581
+ entity: Cl.nullish(),
6573
6582
  entity_vat_id_id: e.uuid().nullish(),
6574
6583
  expiry_date: e.iso.date().nullish(),
6575
6584
  footer: e.string().nullish(),
6576
- line_items: e.array(jf),
6585
+ line_items: e.array(Nf),
6577
6586
  memo: e.string().nullish(),
6578
6587
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
6579
6588
  project_id: e.uuid().nullish(),
@@ -6588,9 +6597,9 @@ var op = e.object({
6588
6597
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6589
6598
  });
6590
6599
  e.union([
6591
- sp,
6592
- op,
6593
- gl
6600
+ lp,
6601
+ cp,
6602
+ vl
6594
6603
  ]), e.object({
6595
6604
  accounting: Fn.nullish(),
6596
6605
  allow_purchase_order_autolinking: e.boolean().nullish().default(!0),
@@ -6603,10 +6612,10 @@ e.union([
6603
6612
  mail: mr.nullish(),
6604
6613
  payables_ocr_auto_tagging: e.array(Aa).nullish(),
6605
6614
  payables_skip_approval_flow: e.boolean().optional().default(!1),
6606
- payment_priority: qs.nullish().default("working_capital"),
6615
+ payment_priority: Ys.nullish().default("working_capital"),
6607
6616
  quote_signature_required: e.boolean().optional().default(!1),
6608
- receivable_edit_flow: yl.nullish().default("compliant"),
6609
- reminder: mu.nullish(),
6617
+ receivable_edit_flow: xl.nullish().default("compliant"),
6618
+ reminder: gu.nullish(),
6610
6619
  tax_inclusive_discount_mode: Z.optional().default("exclusive"),
6611
6620
  tax_mode: Z.nullish().default("exclusive")
6612
6621
  });
@@ -6618,7 +6627,7 @@ e.object({
6618
6627
  components: e.array(Q).min(1).max(10),
6619
6628
  name: e.string().max(64)
6620
6629
  });
6621
- var cp = e.object({
6630
+ var up = e.object({
6622
6631
  id: e.uuid(),
6623
6632
  created_at: e.iso.datetime(),
6624
6633
  updated_at: e.iso.datetime(),
@@ -6627,18 +6636,18 @@ var cp = e.object({
6627
6636
  name: e.string().max(64),
6628
6637
  value: e.number()
6629
6638
  });
6630
- e.object({ data: e.array(cp) }), e.object({
6639
+ e.object({ data: e.array(up) }), e.object({
6631
6640
  components: e.array(Q).min(1).max(10).nullish(),
6632
6641
  name: e.string().max(64).nullish()
6633
6642
  });
6634
- var lp = e.object({
6643
+ var dp = e.object({
6635
6644
  id: e.uuid().nullish(),
6636
6645
  components: e.array(Q).min(1).nullish(),
6637
6646
  country: n,
6638
6647
  is_custom: e.boolean().optional().default(!1),
6639
6648
  name: e.string().nullish(),
6640
6649
  value: e.number().gte(0).lte(1e4)
6641
- }), up = e.object({
6650
+ }), fp = e.object({
6642
6651
  id: e.uuid(),
6643
6652
  accounting_tax_rate_id: e.uuid().nullish(),
6644
6653
  description: e.string().nullish(),
@@ -6650,16 +6659,16 @@ var lp = e.object({
6650
6659
  price: I,
6651
6660
  price_after_tax: I,
6652
6661
  smallest_amount: e.number().gte(0).lte(2147483647).nullish(),
6653
- tax_rate: lp,
6662
+ tax_rate: dp,
6654
6663
  type: L.optional().default("product")
6655
- }), dp = e.object({
6664
+ }), pp = e.object({
6656
6665
  discount: u.nullish(),
6657
- product: up,
6666
+ product: fp,
6658
6667
  quantity: e.number().gte(0).lte(2147483647),
6659
- tax_status: Rd.optional().default("taxable"),
6668
+ tax_status: Bd.optional().default("taxable"),
6660
6669
  total_after_tax: e.int().lte(9007199254740991),
6661
6670
  total_before_tax: e.int().lte(9007199254740991)
6662
- }), fp = e.object({
6671
+ }), mp = e.object({
6663
6672
  id: e.uuid(),
6664
6673
  created_at: e.iso.datetime(),
6665
6674
  updated_at: e.iso.datetime(),
@@ -6672,14 +6681,14 @@ var lp = e.object({
6672
6681
  commercial_condition_description: e.string().nullish(),
6673
6682
  counterpart_billing_address: B.nullish(),
6674
6683
  counterpart_business_type: e.string().max(50).nullish(),
6675
- counterpart_contact: ql.nullish(),
6684
+ counterpart_contact: Yl.nullish(),
6676
6685
  counterpart_external_reference: e.string().nullish(),
6677
6686
  counterpart_id: e.uuid(),
6678
6687
  counterpart_name: e.string().nullish(),
6679
6688
  counterpart_shipping_address: B.nullish(),
6680
6689
  counterpart_tax_id: e.string().nullish(),
6681
6690
  counterpart_type: o,
6682
- counterpart_vat_id: ip.nullish(),
6691
+ counterpart_vat_id: op.nullish(),
6683
6692
  currency: c,
6684
6693
  deduction_amount: e.int().gte(0).lte(9007199254740991).nullish(),
6685
6694
  deduction_memo: e.string().nullish(),
@@ -6689,16 +6698,16 @@ var lp = e.object({
6689
6698
  document_id: e.string().nullish(),
6690
6699
  document_rendering: z.nullish(),
6691
6700
  due_date: e.iso.date().nullish(),
6692
- entity: e.union([wl, Sl]),
6693
- entity_address: bl,
6694
- entity_bank_account: Jl.nullish(),
6701
+ entity: e.union([El, wl]),
6702
+ entity_address: Sl,
6703
+ entity_bank_account: Xl.nullish(),
6695
6704
  entity_user_id: e.uuid().nullish(),
6696
- entity_vat_id: ap.nullish(),
6705
+ entity_vat_id: sp.nullish(),
6697
6706
  file_language: h,
6698
6707
  file_url: e.string().nullish(),
6699
6708
  footer: e.string().nullish(),
6700
6709
  issue_date: e.iso.datetime().nullish(),
6701
- line_items: e.array(dp),
6710
+ line_items: e.array(pp),
6702
6711
  memo: e.string().nullish(),
6703
6712
  original_file_language: h,
6704
6713
  original_file_url: e.string().nullish(),
@@ -6716,12 +6725,12 @@ var lp = e.object({
6716
6725
  total_amount: e.int().lte(9007199254740991).optional().default(0),
6717
6726
  total_deduction_amount: e.int().lte(9007199254740991).nullish(),
6718
6727
  total_tax_amount: e.int().lte(9007199254740991),
6719
- total_tax_amounts: e.array(rf).nullish(),
6728
+ total_tax_amounts: e.array(of).nullish(),
6720
6729
  total_withholding_tax: e.int().nullish(),
6721
6730
  trade_name: e.string().max(255).nullish(),
6722
6731
  type: e.literal("credit_note"),
6723
6732
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6724
- }), pp = e.object({
6733
+ }), hp = e.object({
6725
6734
  id: e.uuid(),
6726
6735
  created_at: e.iso.datetime(),
6727
6736
  updated_at: e.iso.datetime(),
@@ -6738,14 +6747,14 @@ var lp = e.object({
6738
6747
  commercial_condition_description: e.string().nullish(),
6739
6748
  counterpart_billing_address: B.nullish(),
6740
6749
  counterpart_business_type: e.string().max(50).nullish(),
6741
- counterpart_contact: ql.nullish(),
6750
+ counterpart_contact: Yl.nullish(),
6742
6751
  counterpart_external_reference: e.string().nullish(),
6743
6752
  counterpart_id: e.uuid(),
6744
6753
  counterpart_name: e.string().nullish(),
6745
6754
  counterpart_shipping_address: B.nullish(),
6746
6755
  counterpart_tax_id: e.string().nullish(),
6747
6756
  counterpart_type: o,
6748
- counterpart_vat_id: ip.nullish(),
6757
+ counterpart_vat_id: op.nullish(),
6749
6758
  currency: c,
6750
6759
  deduction_amount: e.int().gte(0).lte(9007199254740991).nullish(),
6751
6760
  deduction_memo: e.string().nullish(),
@@ -6755,17 +6764,17 @@ var lp = e.object({
6755
6764
  document_id: e.string().nullish(),
6756
6765
  document_rendering: z.nullish(),
6757
6766
  due_date: e.iso.date().nullish(),
6758
- entity: e.union([wl, Sl]),
6759
- entity_address: bl,
6760
- entity_bank_account: Jl.nullish(),
6767
+ entity: e.union([El, wl]),
6768
+ entity_address: Sl,
6769
+ entity_bank_account: Xl.nullish(),
6761
6770
  entity_user_id: e.uuid().nullish(),
6762
- entity_vat_id: ap.nullish(),
6771
+ entity_vat_id: sp.nullish(),
6763
6772
  file_language: h,
6764
6773
  file_url: e.string().nullish(),
6765
6774
  footer: e.string().nullish(),
6766
6775
  fulfillment_date: e.iso.date().nullish(),
6767
6776
  issue_date: e.iso.datetime().nullish(),
6768
- line_items: e.array(dp),
6777
+ line_items: e.array(pp),
6769
6778
  memo: e.string().nullish(),
6770
6779
  original_file_language: h,
6771
6780
  original_file_url: e.string().nullish(),
@@ -6774,12 +6783,12 @@ var lp = e.object({
6774
6783
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
6775
6784
  payment_page_url: e.url().min(1).max(2083).nullish(),
6776
6785
  payment_reminder_id: e.uuid().nullish(),
6777
- payment_terms: rc.nullish(),
6786
+ payment_terms: ac.nullish(),
6778
6787
  project_id: e.uuid().nullish(),
6779
6788
  purchase_order: e.string().max(100).nullish(),
6780
6789
  recurrence_id: e.uuid().nullish(),
6781
- related_documents: uu,
6782
- status: Yl,
6790
+ related_documents: fu,
6791
+ status: Zl,
6783
6792
  subtotal: e.int().lte(9007199254740991).nullish(),
6784
6793
  subtotal_after_tax: e.int().lte(9007199254740991).nullish(),
6785
6794
  tags: e.array(q).optional().default([]),
@@ -6791,14 +6800,14 @@ var lp = e.object({
6791
6800
  total_amount_with_credit_notes: e.int().lte(9007199254740991),
6792
6801
  total_deduction_amount: e.int().lte(9007199254740991).nullish(),
6793
6802
  total_tax_amount: e.int().lte(9007199254740991),
6794
- total_tax_amounts: e.array(rf).nullish(),
6803
+ total_tax_amounts: e.array(of).nullish(),
6795
6804
  total_withholding_tax: e.int().nullish(),
6796
6805
  trade_name: e.string().max(255).nullish(),
6797
6806
  type: e.literal("invoice"),
6798
6807
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6799
6808
  });
6800
- e.object({ data: e.array(dp) });
6801
- var mp = e.object({
6809
+ e.object({ data: e.array(pp) });
6810
+ var gp = e.object({
6802
6811
  id: e.uuid(),
6803
6812
  created_at: e.iso.datetime(),
6804
6813
  updated_at: e.iso.datetime(),
@@ -6812,14 +6821,14 @@ var mp = e.object({
6812
6821
  commercial_condition_description: e.string().nullish(),
6813
6822
  counterpart_billing_address: B.nullish(),
6814
6823
  counterpart_business_type: e.string().max(50).nullish(),
6815
- counterpart_contact: ql.nullish(),
6824
+ counterpart_contact: Yl.nullish(),
6816
6825
  counterpart_external_reference: e.string().nullish(),
6817
6826
  counterpart_id: e.uuid(),
6818
6827
  counterpart_name: e.string().nullish(),
6819
6828
  counterpart_shipping_address: B.nullish(),
6820
6829
  counterpart_tax_id: e.string().nullish(),
6821
6830
  counterpart_type: o,
6822
- counterpart_vat_id: ip.nullish(),
6831
+ counterpart_vat_id: op.nullish(),
6823
6832
  currency: c,
6824
6833
  deduction_amount: e.int().gte(0).lte(9007199254740991).nullish(),
6825
6834
  deduction_memo: e.string().nullish(),
@@ -6829,17 +6838,17 @@ var mp = e.object({
6829
6838
  document_id: e.string().nullish(),
6830
6839
  document_rendering: z.nullish(),
6831
6840
  due_date: e.iso.date().nullish(),
6832
- entity: e.union([wl, Sl]),
6833
- entity_address: bl,
6834
- entity_bank_account: Jl.nullish(),
6841
+ entity: e.union([El, wl]),
6842
+ entity_address: Sl,
6843
+ entity_bank_account: Xl.nullish(),
6835
6844
  entity_user_id: e.uuid().nullish(),
6836
- entity_vat_id: ap.nullish(),
6845
+ entity_vat_id: sp.nullish(),
6837
6846
  expiry_date: e.iso.date().nullish(),
6838
6847
  file_language: h,
6839
6848
  file_url: e.string().nullish(),
6840
6849
  footer: e.string().nullish(),
6841
6850
  issue_date: e.iso.datetime().nullish(),
6842
- line_items: e.array(dp),
6851
+ line_items: e.array(pp),
6843
6852
  memo: e.string().nullish(),
6844
6853
  original_file_language: h,
6845
6854
  original_file_url: e.string().nullish(),
@@ -6847,7 +6856,7 @@ var mp = e.object({
6847
6856
  project_id: e.uuid().nullish(),
6848
6857
  quote_accept_page_url: e.url().min(1).nullish(),
6849
6858
  signature_required: e.boolean().nullish(),
6850
- status: sl,
6859
+ status: ll,
6851
6860
  subtotal: e.int().lte(9007199254740991).nullish(),
6852
6861
  subtotal_after_tax: e.int().lte(9007199254740991).nullish(),
6853
6862
  tags: e.array(q).optional().default([]),
@@ -6858,60 +6867,60 @@ var mp = e.object({
6858
6867
  total_amount: e.int().lte(9007199254740991).optional().default(0),
6859
6868
  total_deduction_amount: e.int().lte(9007199254740991).nullish(),
6860
6869
  total_tax_amount: e.int().lte(9007199254740991),
6861
- total_tax_amounts: e.array(rf).nullish(),
6870
+ total_tax_amounts: e.array(of).nullish(),
6862
6871
  total_withholding_tax: e.int().nullish(),
6863
6872
  trade_name: e.string().max(255).nullish(),
6864
6873
  type: e.literal("quote"),
6865
6874
  withholding_tax_rate: e.int().gte(0).lte(1e4).nullish()
6866
- }), hp = e.union([
6867
- mp,
6868
- pp,
6869
- fp
6875
+ }), _p = e.union([
6876
+ gp,
6877
+ hp,
6878
+ mp
6870
6879
  ]);
6871
6880
  e.object({
6872
- data: e.array(hp),
6881
+ data: e.array(_p),
6873
6882
  next_pagination_token: e.string().nullish(),
6874
6883
  prev_pagination_token: e.string().nullish()
6875
6884
  });
6876
- var gp = e.enum(["active", "inactive"]), _p = e.object({
6885
+ var vp = e.enum(["active", "inactive"]), yp = e.object({
6877
6886
  id: e.uuid(),
6878
6887
  created_at: e.iso.datetime(),
6879
6888
  updated_at: e.iso.datetime(),
6880
6889
  components: e.array(Q).min(1).max(3).nullish(),
6881
6890
  country: n,
6882
- status: gp.nullish(),
6891
+ status: vp.nullish(),
6883
6892
  valid_from: e.iso.date().nullish(),
6884
6893
  valid_until: e.iso.date().nullish(),
6885
6894
  value: e.number().gte(0).lte(1e4)
6886
6895
  });
6887
- e.object({ data: e.array(_p) });
6888
- var vp = e.object({
6896
+ e.object({ data: e.array(yp) });
6897
+ var bp = e.object({
6889
6898
  name: e.enum(["entity_vat_type", "counterpart_vat_type"]),
6890
6899
  operator: e.enum(["EQ", "NEQ"]),
6891
6900
  value: X
6892
- }), yp = e.enum(["has_valid", "has_no_valid"]), bp = e.object({
6901
+ }), xp = e.enum(["has_valid", "has_no_valid"]), Sp = e.object({
6893
6902
  name: e.enum(["entity_vat", "counterpart_vat"]),
6894
6903
  operator: e.enum(["EQ", "NEQ"]),
6895
- value: yp
6896
- }), xp = e.union([
6897
- ju,
6904
+ value: xp
6905
+ }), Cp = e.union([
6898
6906
  Nu,
6899
6907
  Fu,
6900
- bp,
6901
- vp
6908
+ Lu,
6909
+ Sp,
6910
+ bp
6902
6911
  ]);
6903
6912
  e.object({
6904
6913
  object_type: e.literal("receivable"),
6905
- predicates: e.array(xp),
6914
+ predicates: e.array(Cp),
6906
6915
  result_value_id: e.uuid(),
6907
- vat_condition: ep
6916
+ vat_condition: np
6908
6917
  }), e.object({
6909
6918
  object_type: e.literal("receivable").nullish(),
6910
- predicates: e.array(xp).nullish(),
6919
+ predicates: e.array(Cp).nullish(),
6911
6920
  result_value_id: e.uuid().nullish(),
6912
- vat_condition: ep.nullish()
6921
+ vat_condition: np.nullish()
6913
6922
  });
6914
- var Sp = e.enum([
6923
+ var wp = e.enum([
6915
6924
  "DAY",
6916
6925
  "LIFETIME",
6917
6926
  "MONTH",
@@ -6928,7 +6937,7 @@ e.object({
6928
6937
  mccGroup: e.string().nullish(),
6929
6938
  name: e.string(),
6930
6939
  usageLimit: 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*)$/)]).nullish(),
6931
- velocityWindow: Sp
6940
+ velocityWindow: wp
6932
6941
  }), e.object({
6933
6942
  active: e.boolean().nullish(),
6934
6943
  amountLimit: 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" })]).nullish(),
@@ -6938,9 +6947,9 @@ e.object({
6938
6947
  mccGroup: e.string().nullish(),
6939
6948
  name: e.string().nullish(),
6940
6949
  usageLimit: 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*)$/)]).nullish(),
6941
- velocityWindow: Sp.nullish()
6950
+ velocityWindow: wp.nullish()
6942
6951
  });
6943
- var Cp = e.object({
6952
+ var Tp = e.object({
6944
6953
  id: e.string(),
6945
6954
  active: e.boolean(),
6946
6955
  amountLimit: 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" })]),
@@ -6953,7 +6962,7 @@ var Cp = e.object({
6953
6962
  organizationId: e.uuid().nullish(),
6954
6963
  updatedAt: e.iso.datetime(),
6955
6964
  usageLimit: 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*)$/)]).nullish(),
6956
- velocityWindow: Sp
6965
+ velocityWindow: wp
6957
6966
  });
6958
6967
  e.object({
6959
6968
  id: e.uuid(),
@@ -6972,26 +6981,26 @@ e.object({
6972
6981
  reference: e.string(),
6973
6982
  updatedAt: e.iso.datetime(),
6974
6983
  userId: e.uuid(),
6975
- velocityControls: e.array(Cp)
6984
+ velocityControls: e.array(Tp)
6976
6985
  }), e.object({
6977
- data: e.array(Cp),
6986
+ data: e.array(Tp),
6978
6987
  nextPaginationToken: e.string().nullish(),
6979
6988
  prevPaginationToken: e.string().nullish()
6980
6989
  });
6981
- var wp = e.object({
6990
+ var Ep = e.object({
6982
6991
  code: e.string(),
6983
6992
  details: e.string()
6984
- }), Tp = e.enum([
6993
+ }), Dp = e.enum([
6985
6994
  "enabled",
6986
6995
  "disabled",
6987
6996
  "pending"
6988
6997
  ]);
6989
6998
  e.object({
6990
6999
  disabled_reason: ae.nullish(),
6991
- requirements: nc,
6992
- requirements_errors: e.array(gu),
6993
- verification_errors: e.array(wp),
6994
- verification_status: Tp
7000
+ requirements: ic,
7001
+ requirements_errors: e.array(vu),
7002
+ verification_errors: e.array(Ep),
7003
+ verification_status: Dp
6995
7004
  }), e.object({
6996
7005
  cvv: e.string().nullish(),
6997
7006
  expirationDate: e.string().nullish()
@@ -7000,11 +7009,11 @@ e.object({
7000
7009
  domain: e.string(),
7001
7010
  status: e.string()
7002
7011
  }), e.object({ organizationIds: e.array(e.uuid()) });
7003
- var Ep = e.enum([
7012
+ var Op = e.enum([
7004
7013
  "NEW",
7005
7014
  "INPUT_REQUIRED",
7006
7015
  "ONBOARDED"
7007
- ]), Dp = e.enum([
7016
+ ]), kp = e.enum([
7008
7017
  "DRAFT",
7009
7018
  "NEW",
7010
7019
  "FUNDED",
@@ -7012,7 +7021,7 @@ var Ep = e.enum([
7012
7021
  "LATE",
7013
7022
  "REJECTED",
7014
7023
  "DEFAULTED"
7015
- ]), Op = e.object({
7024
+ ]), Ap = e.object({
7016
7025
  advance_amount: e.int().gte(0).nullish(),
7017
7026
  advance_rate_percentage: e.int().gte(0).nullish(),
7018
7027
  currency: c,
@@ -7029,18 +7038,18 @@ var Ep = e.enum([
7029
7038
  payer_type: e.string(),
7030
7039
  principal_amount: e.int().gte(0).nullish(),
7031
7040
  repayment_amount: e.int().gte(0).nullish(),
7032
- repayment_schedule: hu.nullish(),
7041
+ repayment_schedule: _u.nullish(),
7033
7042
  requested_amount: e.int().gte(0).nullish(),
7034
- status: Dp,
7043
+ status: kp,
7035
7044
  total_amount: e.int().gte(0),
7036
7045
  type: si
7037
7046
  });
7038
7047
  e.object({
7039
- data: e.array(Op),
7048
+ data: e.array(Ap),
7040
7049
  next_pagination_token: e.string().nullish(),
7041
7050
  prev_pagination_token: e.string().nullish()
7042
7051
  });
7043
- var kp = e.enum([
7052
+ var jp = e.enum([
7044
7053
  "NEW",
7045
7054
  "ACCEPTED",
7046
7055
  "EXPIRED",
@@ -7048,27 +7057,27 @@ var kp = e.enum([
7048
7057
  "LATE",
7049
7058
  "CLOSED",
7050
7059
  "DEFAULTED"
7051
- ]), Ap = e.enum([
7060
+ ]), Mp = e.enum([
7052
7061
  "MULTIPLE_DURATION",
7053
7062
  "FIXED_DURATION",
7054
7063
  "FIXED_DATE"
7055
- ]), jp = e.object({
7064
+ ]), Np = e.object({
7056
7065
  advance_rate_percentage: e.int(),
7057
7066
  fee_percentage: e.int(),
7058
7067
  repayment_duration_days: e.int().nullish(),
7059
- repayment_type: Ap
7060
- }), Mp = e.object({
7068
+ repayment_type: Mp
7069
+ }), Pp = e.object({
7061
7070
  available_amount: e.int().nullish(),
7062
7071
  currency: c,
7063
- pricing_plans: e.array(jp).min(1),
7064
- status: kp,
7072
+ pricing_plans: e.array(Np).min(1),
7073
+ status: jp,
7065
7074
  total_amount: e.int()
7066
7075
  });
7067
7076
  e.object({
7068
- business_status: Ep,
7069
- offers: e.array(Mp)
7077
+ business_status: Op,
7078
+ offers: e.array(Pp)
7070
7079
  });
7071
- var Np = e.enum(["created_at", "updated_at"]), Pp = e.object({
7080
+ var Fp = e.enum(["created_at", "updated_at"]), Ip = e.object({
7072
7081
  id: e.uuid(),
7073
7082
  event_id: e.uuid(),
7074
7083
  requests_made_count: e.int(),
@@ -7078,11 +7087,11 @@ var Np = e.enum(["created_at", "updated_at"]), Pp = e.object({
7078
7087
  was_successful: e.boolean().nullish()
7079
7088
  });
7080
7089
  e.object({
7081
- data: e.array(Pp),
7090
+ data: e.array(Ip),
7082
7091
  next_pagination_token: e.string().nullish(),
7083
7092
  prev_pagination_token: e.string().nullish()
7084
7093
  });
7085
- var Fp = e.enum([
7094
+ var Lp = e.enum([
7086
7095
  "UNDERWRITING_APPLICATION_UPDATED",
7087
7096
  "ACCEPTOR_APPLICATION_APPROVED",
7088
7097
  "ACCEPTOR_APPLICATION_SUBMITTED",
@@ -7102,21 +7111,21 @@ var Fp = e.enum([
7102
7111
  e.object({
7103
7112
  channelConfig: aa,
7104
7113
  channelType: vt,
7105
- eventType: Fp
7114
+ eventType: Lp
7106
7115
  });
7107
- var Ip = e.object({
7116
+ var Rp = e.object({
7108
7117
  id: e.uuid(),
7109
7118
  channelConfig: _t,
7110
7119
  channelType: vt,
7111
7120
  createdAt: e.iso.datetime().nullish(),
7112
- eventType: Fp,
7121
+ eventType: Lp,
7113
7122
  isActive: e.boolean(),
7114
7123
  organizationId: e.uuid(),
7115
7124
  updatedAt: e.iso.datetime().nullish()
7116
7125
  });
7117
7126
  e.object({
7118
7127
  pagination: Bo,
7119
- subscriptions: e.array(Ip)
7128
+ subscriptions: e.array(Rp)
7120
7129
  });
7121
7130
  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(","));
7122
7131
  e.object({
@@ -7124,7 +7133,7 @@ e.object({
7124
7133
  object_type: $,
7125
7134
  url: e.url().min(1).max(2083)
7126
7135
  });
7127
- var Lp = e.object({
7136
+ var zp = e.object({
7128
7137
  id: e.uuid(),
7129
7138
  created_at: e.iso.datetime().nullish(),
7130
7139
  action: e.string(),
@@ -7135,7 +7144,7 @@ var Lp = e.object({
7135
7144
  object_type: $
7136
7145
  });
7137
7146
  e.object({
7138
- data: e.array(Lp),
7147
+ data: e.array(zp),
7139
7148
  next_pagination_token: e.string().nullish(),
7140
7149
  prev_pagination_token: e.string().nullish()
7141
7150
  }), e.object({
@@ -7153,15 +7162,15 @@ e.object({
7153
7162
  object_type: $.nullish(),
7154
7163
  url: e.url().min(1).max(2083).nullish()
7155
7164
  });
7156
- var Rp = e.enum(["created_at", "updated_at"]), zp = e.enum(["enabled", "disabled"]), Bp = e.object({
7165
+ var Bp = e.enum(["created_at", "updated_at"]), Vp = e.enum(["enabled", "disabled"]), Hp = e.object({
7157
7166
  id: e.uuid(),
7158
7167
  event_types: e.array(e.string()),
7159
7168
  object_type: $,
7160
- status: zp,
7169
+ status: Vp,
7161
7170
  url: e.url().min(1).max(2083)
7162
7171
  });
7163
7172
  e.object({
7164
- data: e.array(Bp),
7173
+ data: e.array(Hp),
7165
7174
  next_pagination_token: e.string().nullish(),
7166
7175
  prev_pagination_token: e.string().nullish()
7167
7176
  }), e.object({
@@ -7169,7 +7178,7 @@ e.object({
7169
7178
  event_types: e.array(e.string()),
7170
7179
  object_type: $,
7171
7180
  secret: e.string(),
7172
- status: zp,
7181
+ status: Vp,
7173
7182
  url: e.url().min(1).max(2083)
7174
7183
  }), e.object({ version: e.uuid().nullish() }), e.object({
7175
7184
  error: e.string(),
@@ -7179,7 +7188,7 @@ e.object({
7179
7188
  method: e.string(),
7180
7189
  path: e.string()
7181
7190
  });
7182
- var Vp = e.enum([
7191
+ var Up = e.enum([
7183
7192
  "ACTIVE",
7184
7193
  "INACTIVE",
7185
7194
  "INVITED",
@@ -7187,7 +7196,7 @@ var Vp = e.enum([
7187
7196
  ]);
7188
7197
  e.object({
7189
7198
  disclosureRequirement: Un,
7190
- status: Vp
7199
+ status: Up
7191
7200
  }), e.object({
7192
7201
  bankName: e.string().nullish(),
7193
7202
  disclosuresAccepted: e.boolean().optional(),
@@ -7195,11 +7204,11 @@ e.object({
7195
7204
  organizationId: e.uuid().nullish(),
7196
7205
  organizationTypes: e.array(A).nullish(),
7197
7206
  scopes: e.array(e.string()),
7198
- status: Vp.optional(),
7207
+ status: Up.optional(),
7199
7208
  userId: e.uuid().nullish(),
7200
7209
  vspName: e.string().nullish()
7201
7210
  });
7202
- var Hp = e.enum([
7211
+ var Wp = e.enum([
7203
7212
  "BE",
7204
7213
  "GB",
7205
7214
  "IT",
@@ -7207,76 +7216,76 @@ var Hp = e.enum([
7207
7216
  "NL",
7208
7217
  "DE",
7209
7218
  "AT"
7210
- ]), Up = e.object({
7219
+ ]), Gp = e.object({
7211
7220
  auth_password: e.string(),
7212
7221
  auth_user: e.string(),
7213
7222
  bank_id: e.string(),
7214
7223
  iframe: e.boolean().optional().default(!1),
7215
- payer_account_country: Hp,
7224
+ payer_account_country: Wp,
7216
7225
  payer_account_holder_name: e.string().nullish(),
7217
- payer_account_identification: js,
7226
+ payer_account_identification: Ns,
7218
7227
  psu_identification: R.nullish(),
7219
7228
  save_to_authorized: e.boolean().optional().default(!1),
7220
7229
  type: e.literal("manual_input").optional().default("manual_input")
7221
7230
  });
7222
7231
  e.discriminatedUnion("type", [
7223
- Up,
7224
- Gc,
7225
- Kc
7232
+ Gp,
7233
+ qc,
7234
+ Jc
7226
7235
  ]);
7227
- var Wp = e.object({
7236
+ var Kp = e.object({
7228
7237
  bank_id: e.string(),
7229
7238
  iframe: e.boolean().optional().default(!1),
7230
- payer_account_country: Hp,
7239
+ payer_account_country: Wp,
7231
7240
  payer_account_holder_name: e.string().nullish(),
7232
- payer_account_identification: js,
7241
+ payer_account_identification: Ns,
7233
7242
  psu_identification: R.nullish(),
7234
7243
  save_to_authorized: e.boolean().optional().default(!1),
7235
7244
  type: e.literal("manual_input").optional().default("manual_input")
7236
7245
  });
7237
7246
  e.discriminatedUnion("type", [
7238
- Wp,
7239
- Uc,
7240
- Wc
7247
+ Kp,
7248
+ Gc,
7249
+ Kc
7241
7250
  ]);
7242
- var Gp = e.object({
7251
+ var qp = e.object({
7243
7252
  city: e.string().optional(),
7244
7253
  country: n.optional(),
7245
7254
  line1: e.string().optional(),
7246
7255
  line2: e.string().optional(),
7247
7256
  postal_code: e.string().optional(),
7248
7257
  state: e.string().optional()
7249
- }), Kp = e.object({
7258
+ }), Jp = e.object({
7250
7259
  account_holder_name: e.string().optional(),
7251
7260
  account_number: e.string().optional(),
7252
7261
  bic: e.string().max(11).optional(),
7253
7262
  iban: e.string().max(34).optional(),
7254
7263
  routing_number: e.string().optional(),
7255
7264
  sort_code: e.string().optional()
7256
- }), qp = e.object({
7265
+ }), Yp = e.object({
7257
7266
  country: n.optional(),
7258
7267
  type: e.string().optional(),
7259
7268
  value: e.string().max(32).optional()
7260
- }), Jp = e.object({
7261
- address: Gp.optional(),
7262
- bank_account: Kp.optional(),
7269
+ }), Xp = e.object({
7270
+ address: qp.optional(),
7271
+ bank_account: Jp.optional(),
7263
7272
  email: e.email().optional(),
7264
7273
  name: e.string().optional(),
7265
7274
  phone: e.string().optional(),
7266
7275
  tax_id: e.string().max(30).optional(),
7267
- vat_id: qp.optional()
7268
- }), Yp = e.object({
7276
+ vat_id: Yp.optional()
7277
+ }), Zp = e.object({
7269
7278
  default_currency_code: e.string(),
7270
7279
  rate: e.number().gt(0),
7271
7280
  total: e.number()
7272
- }), Xp = e.object({
7281
+ }), Qp = e.object({
7273
7282
  confidence: e.number().gte(0).lte(100),
7274
7283
  processed_text: e.unknown().optional(),
7275
7284
  text: e.string()
7276
- }), Zp = e.object({
7277
- label: Xp,
7278
- value: Xp
7279
- }), Qp = e.object({
7285
+ }), $p = e.object({
7286
+ label: Qp,
7287
+ value: Qp
7288
+ }), em = e.object({
7280
7289
  city: e.string().optional(),
7281
7290
  country: e.string().optional(),
7282
7291
  line1: e.string().optional(),
@@ -7284,7 +7293,7 @@ var Gp = e.object({
7284
7293
  original_country_name: e.string().optional(),
7285
7294
  postal_code: e.string().optional(),
7286
7295
  state: e.string().optional()
7287
- }), $p = e.object({
7296
+ }), tm = e.object({
7288
7297
  description: e.string().optional(),
7289
7298
  item_adjusted: e.boolean().optional().default(!1),
7290
7299
  line_item_ocr_id: e.string().optional(),
@@ -7295,11 +7304,11 @@ var Gp = e.object({
7295
7304
  unit_price: e.number().optional(),
7296
7305
  vat_amount: e.number().optional(),
7297
7306
  vat_percentage: e.number().optional()
7298
- }), em = e.object({
7307
+ }), nm = e.object({
7299
7308
  counterpart_account_id: e.string().optional(),
7300
7309
  counterpart_account_number: e.string().optional(),
7301
7310
  counterpart_address: e.string().optional(),
7302
- counterpart_address_object: Qp.optional(),
7311
+ counterpart_address_object: em.optional(),
7303
7312
  counterpart_branch_number: e.string().optional(),
7304
7313
  counterpart_email: e.string().optional(),
7305
7314
  counterpart_name: e.string().optional(),
@@ -7310,7 +7319,7 @@ var Gp = e.object({
7310
7319
  document_due_date: e.string().optional(),
7311
7320
  document_id: e.string().optional(),
7312
7321
  document_issued_at_date: e.string().optional(),
7313
- line_items_raw: e.array($p).optional(),
7322
+ line_items_raw: e.array(tm).optional(),
7314
7323
  payment_terms_raw: e.array(e.string()).optional(),
7315
7324
  purchase_order_number: e.string().optional(),
7316
7325
  tax_payer_id: e.string().optional(),
@@ -7320,9 +7329,9 @@ var Gp = e.object({
7320
7329
  total_vat_amount_raw: e.number().optional(),
7321
7330
  total_vat_rate_raw: e.number().optional(),
7322
7331
  type: e.enum(["invoice"]).optional().default("invoice")
7323
- }), tm = e.object({
7324
- line_items: e.array(Zp).optional(),
7325
- summary: e.array(Zp).optional()
7332
+ }), rm = e.object({
7333
+ line_items: e.array($p).optional(),
7334
+ summary: e.array($p).optional()
7326
7335
  });
7327
7336
  e.object({
7328
7337
  id: e.uuid(),
@@ -7331,19 +7340,19 @@ e.object({
7331
7340
  status: e.string().max(30),
7332
7341
  total_amount: e.int().optional()
7333
7342
  });
7334
- var nm = e.object({
7343
+ var im = e.object({
7335
7344
  discount: e.int(),
7336
7345
  number_of_days: e.int()
7337
- }), rm = e.object({ number_of_days: e.int() }), im = e.object({
7346
+ }), am = e.object({ number_of_days: e.int() }), om = e.object({
7338
7347
  description: e.string().optional(),
7339
7348
  name: e.string(),
7340
- term_1: nm.optional(),
7341
- term_2: nm.optional(),
7342
- term_final: rm
7343
- }), am = e.object({
7349
+ term_1: im.optional(),
7350
+ term_2: im.optional(),
7351
+ term_final: am
7352
+ }), sm = e.object({
7344
7353
  date: e.iso.date(),
7345
7354
  discount: e.int().gte(0).lte(1e4).optional()
7346
- }), om = e.object({
7355
+ }), cm = e.object({
7347
7356
  id: e.uuid(),
7348
7357
  created_at: e.iso.datetime(),
7349
7358
  updated_at: e.iso.datetime(),
@@ -7359,7 +7368,7 @@ var nm = e.object({
7359
7368
  counterpart_vat_id_id: e.uuid().optional(),
7360
7369
  credit_notes: e.array(e.unknown()),
7361
7370
  currency: c.optional(),
7362
- currency_exchange: Yp.optional(),
7371
+ currency_exchange: Zp.optional(),
7363
7372
  description: e.string().optional(),
7364
7373
  discount: e.int().optional(),
7365
7374
  document_id: e.string().optional(),
@@ -7367,26 +7376,26 @@ var nm = e.object({
7367
7376
  duplicates: e.array(e.unknown()).optional(),
7368
7377
  enforce_approval_policy_id: e.uuid().optional(),
7369
7378
  entity_id: e.uuid(),
7370
- file: kc.optional(),
7379
+ file: jc.optional(),
7371
7380
  file_id: e.uuid().optional(),
7372
7381
  issued_at: e.iso.date().optional(),
7373
7382
  marked_as_paid_by_entity_user_id: e.uuid().optional(),
7374
7383
  marked_as_paid_with_comment: e.string().optional(),
7375
7384
  ocr_request_id: e.uuid().optional(),
7376
7385
  ocr_status: ja.optional(),
7377
- other_extracted_data: e.union([em, tm]).optional(),
7386
+ other_extracted_data: e.union([nm, rm]).optional(),
7378
7387
  paid_at: e.iso.datetime().optional(),
7379
7388
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
7380
7389
  payable_origin: M,
7381
- payment_terms: im.optional(),
7390
+ payment_terms: om.optional(),
7382
7391
  project_id: e.uuid().optional(),
7383
7392
  purchase_order_id: e.uuid().optional(),
7384
7393
  scheduled_payment_date: e.iso.date().optional(),
7385
7394
  sender: e.email().optional(),
7386
- source_of_payable_data: zu,
7395
+ source_of_payable_data: Vu,
7387
7396
  status: N,
7388
7397
  subtotal: e.int().optional(),
7389
- suggested_payment_term: am.optional(),
7398
+ suggested_payment_term: sm.optional(),
7390
7399
  tags: e.array(e.unknown()).optional(),
7391
7400
  tax: e.int().optional(),
7392
7401
  tax_amount: e.int().optional(),
@@ -7395,7 +7404,7 @@ var nm = e.object({
7395
7404
  was_created_by_user_id: e.uuid().optional()
7396
7405
  });
7397
7406
  e.object({
7398
- data: e.array(om),
7407
+ data: e.array(cm),
7399
7408
  next_pagination_token: e.string().nullish(),
7400
7409
  prev_pagination_token: e.string().nullish()
7401
7410
  }), e.object({
@@ -7403,7 +7412,7 @@ e.object({
7403
7412
  counterpart_address_id: e.uuid().optional(),
7404
7413
  counterpart_bank_account_id: e.uuid().optional(),
7405
7414
  counterpart_id: e.uuid().optional(),
7406
- counterpart_raw_data: Jp.optional(),
7415
+ counterpart_raw_data: Xp.optional(),
7407
7416
  counterpart_vat_id_id: e.uuid().optional(),
7408
7417
  currency: c.optional(),
7409
7418
  description: e.string().max(255).optional(),
@@ -7413,12 +7422,12 @@ e.object({
7413
7422
  enforce_approval_policy_id: e.uuid().optional(),
7414
7423
  issued_at: e.iso.date().optional(),
7415
7424
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
7416
- payment_terms: im.optional(),
7425
+ payment_terms: om.optional(),
7417
7426
  project_id: e.uuid().optional(),
7418
7427
  purchase_order_id: e.uuid().optional(),
7419
7428
  sender: e.email().optional(),
7420
7429
  subtotal: e.int().optional(),
7421
- suggested_payment_term: am.optional(),
7430
+ suggested_payment_term: sm.optional(),
7422
7431
  tag_ids: e.array(e.uuid()).optional(),
7423
7432
  tax: e.int().optional(),
7424
7433
  tax_amount: e.int().optional(),
@@ -7438,12 +7447,12 @@ e.object({
7438
7447
  file_name: e.string().max(512).optional(),
7439
7448
  issued_at: e.iso.date().optional(),
7440
7449
  partner_metadata: e.record(e.string(), e.unknown()).optional(),
7441
- payment_terms: im.optional(),
7450
+ payment_terms: om.optional(),
7442
7451
  project_id: e.uuid().optional(),
7443
7452
  purchase_order_id: e.uuid().optional(),
7444
7453
  sender: e.email().optional(),
7445
7454
  subtotal: e.int().optional(),
7446
- suggested_payment_term: am.optional(),
7455
+ suggested_payment_term: sm.optional(),
7447
7456
  tag_ids: e.array(e.uuid()).optional(),
7448
7457
  tax: e.int().optional(),
7449
7458
  tax_amount: e.int().optional(),
@@ -7492,7 +7501,7 @@ e.object({
7492
7501
  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),
7493
7502
  pagination_token: e.string().optional(),
7494
7503
  sortBy: qe.optional().default("DATE"),
7495
- sortOrder: Lu.optional().default("DESC")
7504
+ sortOrder: zu.optional().default("DESC")
7496
7505
  }), e.object({ id: e.uuid() }), e.object({
7497
7506
  startDate: e.iso.date().optional(),
7498
7507
  endDate: e.iso.date().optional()
@@ -7544,7 +7553,7 @@ e.object({
7544
7553
  order: O.optional().default("asc"),
7545
7554
  limit: e.int().gte(1).lte(250).optional().default(250),
7546
7555
  pagination_token: e.string().nullish(),
7547
- sort: ad.nullish(),
7556
+ sort: sd.nullish(),
7548
7557
  object_id: e.uuid().nullish(),
7549
7558
  object_id__in: e.array(e.uuid()).nullish(),
7550
7559
  created_at__gt: e.iso.datetime().nullish(),
@@ -7559,7 +7568,7 @@ e.object({
7559
7568
  order: O.optional().default("asc"),
7560
7569
  limit: e.int().gte(1).lte(250).optional().default(250),
7561
7570
  pagination_token: e.string().nullish(),
7562
- sort: Ld.nullish(),
7571
+ sort: zd.nullish(),
7563
7572
  is_external: e.boolean().nullish()
7564
7573
  }), 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({
7565
7574
  limit: e.int().gte(1).lte(500).optional().default(100),
@@ -7606,8 +7615,8 @@ e.object({
7606
7615
  project_id: e.uuid().nullish(),
7607
7616
  project_id__in: e.array(e.uuid()).nullish()
7608
7617
  }), e.object({ "x-organization-id": e.uuid() }), e.object({
7609
- dimension: Zo.nullish(),
7610
- metric: ds,
7618
+ dimension: $o.nullish(),
7619
+ metric: ps,
7611
7620
  aggregation_function: t,
7612
7621
  date_dimension_breakdown: En.nullish(),
7613
7622
  limit: e.int().gte(1).lte(400).optional().default(100),
@@ -7649,7 +7658,7 @@ e.object({
7649
7658
  was_created_by_user_id: e.uuid().nullish(),
7650
7659
  counterpart_id: e.uuid().nullish(),
7651
7660
  counterpart_id__in: e.array(e.uuid()).nullish(),
7652
- source_of_payable_data: zu.nullish(),
7661
+ source_of_payable_data: Vu.nullish(),
7653
7662
  ocr_status: ja.nullish(),
7654
7663
  line_item_id: e.uuid().nullish(),
7655
7664
  purchase_order_id: e.uuid().nullish(),
@@ -7667,8 +7676,8 @@ e.object({
7667
7676
  scheduled_payment_date__lte: e.iso.date().nullish(),
7668
7677
  has_scheduled_payment: e.boolean().nullish()
7669
7678
  }), e.object({ "x-organization-id": e.uuid() }), e.object({
7670
- dimension: ul.nullish(),
7671
- metric: ml,
7679
+ dimension: fl.nullish(),
7680
+ metric: gl,
7672
7681
  aggregation_function: t,
7673
7682
  date_dimension_breakdown: En.nullish(),
7674
7683
  limit: e.int().gte(1).lte(400).optional().default(100),
@@ -7695,8 +7704,8 @@ e.object({
7695
7704
  authorization: e.string().nullish(),
7696
7705
  "x-organization-id": e.uuid()
7697
7706
  }), e.object({
7698
- dimension: vl.nullish(),
7699
- metric: Il,
7707
+ dimension: bl.nullish(),
7708
+ metric: Rl,
7700
7709
  aggregation_function: t,
7701
7710
  date_dimension_breakdown: En.nullish(),
7702
7711
  order: O.optional().default("asc"),
@@ -7725,7 +7734,7 @@ e.object({
7725
7734
  product_ids__in: e.array(e.uuid()).nullish(),
7726
7735
  product_ids: e.array(e.uuid()).nullish(),
7727
7736
  project_id__in: e.array(e.uuid()).nullish(),
7728
- type: Bl.nullish(),
7737
+ type: Hl.nullish(),
7729
7738
  document_id: e.string().nullish(),
7730
7739
  document_id__contains: e.string().nullish(),
7731
7740
  document_id__icontains: e.string().nullish(),
@@ -7775,8 +7784,8 @@ e.object({
7775
7784
  project_id: e.uuid().nullish(),
7776
7785
  search_text: e.string().nullish()
7777
7786
  }), e.object({ "x-organization-id": e.uuid() }), e.object({
7778
- dimension: cf.nullish(),
7779
- metric: uf,
7787
+ dimension: uf.nullish(),
7788
+ metric: ff,
7780
7789
  aggregation_function: t,
7781
7790
  date_dimension_breakdown: En.nullish(),
7782
7791
  limit: e.int().gte(1).lte(400).optional().default(100),
@@ -7788,7 +7797,7 @@ e.object({
7788
7797
  started_at__gt: e.iso.datetime().nullish(),
7789
7798
  started_at__lt: e.iso.datetime().nullish(),
7790
7799
  payment_processing_status__in: e.array(Y).nullish(),
7791
- type__in: e.array(vf).nullish(),
7800
+ type__in: e.array(bf).nullish(),
7792
7801
  entity_user_id__in: e.array(e.uuid()).nullish(),
7793
7802
  external_id__in: e.array(e.string()).nullish(),
7794
7803
  amount__gt: e.int().nullish(),
@@ -7798,8 +7807,8 @@ e.object({
7798
7807
  merchant_amount__lt: e.int().nullish(),
7799
7808
  merchant_currency__in: e.array(c).nullish(),
7800
7809
  merchant_name__icontains: e.string().nullish(),
7801
- payment_method: ff.nullish(),
7802
- payment_method__in: e.array(ff).nullish(),
7810
+ payment_method: mf.nullish(),
7811
+ payment_method__in: e.array(mf).nullish(),
7803
7812
  expense_status: f.nullish(),
7804
7813
  expense_status__in: e.array(f).nullish(),
7805
7814
  has_receipt: e.boolean().nullish()
@@ -7873,7 +7882,7 @@ e.object({
7873
7882
  order: O.optional().default("asc"),
7874
7883
  limit: e.int().gte(1).lte(250).optional().default(250),
7875
7884
  pagination_token: e.string().nullish(),
7876
- sort: Ld.nullish(),
7885
+ sort: zd.nullish(),
7877
7886
  is_external: e.boolean().nullish()
7878
7887
  }), 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({
7879
7888
  iban: e.string().max(34).nullish(),
@@ -7973,7 +7982,7 @@ e.object({
7973
7982
  object_id: e.uuid().nullish(),
7974
7983
  field_name: e.string().nullish(),
7975
7984
  field_value: e.string().nullish()
7976
- }), 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(nd), e.object({ "x-organization-id": e.uuid() }), e.object({ document_export_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
7985
+ }), 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(id), e.object({ "x-organization-id": e.uuid() }), e.object({ document_export_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
7977
7986
  order: O.optional().default("asc"),
7978
7987
  limit: e.int().gte(1).lte(100).optional().default(100),
7979
7988
  pagination_token: e.string().nullish(),
@@ -7998,7 +8007,7 @@ e.object({
7998
8007
  delivery_date__lt: e.iso.date().optional(),
7999
8008
  delivery_date__gte: e.iso.date().optional(),
8000
8009
  delivery_date__lte: e.iso.date().optional()
8001
- }), e.union([Df, In]), 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({
8010
+ }), e.union([kf, In]), 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({
8002
8011
  object_type: e.string(),
8003
8012
  entity_id: e.uuid()
8004
8013
  }), e.object({ entity_id: e.uuid() }), e.object({
@@ -8062,8 +8071,8 @@ e.object({
8062
8071
  sort: oi.nullish(),
8063
8072
  invoice_id: e.uuid().nullish(),
8064
8073
  invoice_id__in: e.array(e.uuid()).nullish(),
8065
- status: Dp.nullish(),
8066
- status__in: e.array(Dp).nullish(),
8074
+ status: kp.nullish(),
8075
+ status__in: e.array(kp).nullish(),
8067
8076
  type: si.nullish(),
8068
8077
  type__in: e.array(si).nullish(),
8069
8078
  document_id: e.string().nullish(),
@@ -8098,7 +8107,7 @@ e.object({
8098
8107
  }), e.object({
8099
8108
  payment_intent_id: e.uuid(),
8100
8109
  consent_id: e.string()
8101
- }), e.object({ payment_intent_id: e.uuid() }), e.object({ auth_flow: e.array(rd).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({
8110
+ }), e.object({ payment_intent_id: e.uuid() }), e.object({ auth_flow: e.array(ad).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({
8102
8111
  partner_id: e.uuid(),
8103
8112
  project_id: e.uuid()
8104
8113
  }), e.object({ "x-organization-id": e.uuid() }), e.object({
@@ -8229,7 +8238,7 @@ e.object({
8229
8238
  order: O.optional().default("asc"),
8230
8239
  limit: e.int().gte(1).lte(100).optional().default(100),
8231
8240
  pagination_token: e.string().nullish(),
8232
- sort: Xc.nullish(),
8241
+ sort: Qc.nullish(),
8233
8242
  created_at__gt: e.iso.datetime().nullish(),
8234
8243
  created_at__lt: e.iso.datetime().nullish(),
8235
8244
  created_at__gte: e.iso.datetime().nullish(),
@@ -8242,7 +8251,7 @@ e.object({
8242
8251
  issued_at__lt: e.iso.datetime().nullish(),
8243
8252
  issued_at__gte: e.iso.datetime().nullish(),
8244
8253
  issued_at__lte: e.iso.datetime().nullish(),
8245
- status: rl.nullish(),
8254
+ status: al.nullish(),
8246
8255
  document_id: e.string().nullish(),
8247
8256
  document_id__in: e.array(e.string()).nullish(),
8248
8257
  created_by: e.uuid().nullish(),
@@ -8256,7 +8265,7 @@ e.object({
8256
8265
  order: O.optional().default("asc"),
8257
8266
  limit: e.int().gte(1).lte(100).optional().default(100),
8258
8267
  pagination_token: e.string().nullish(),
8259
- sort: Xo.nullish(),
8268
+ sort: Qo.nullish(),
8260
8269
  created_at__gt: e.iso.datetime().nullish(),
8261
8270
  created_at__lt: e.iso.datetime().nullish(),
8262
8271
  created_at__gte: e.iso.datetime().nullish(),
@@ -8295,7 +8304,7 @@ e.object({
8295
8304
  was_created_by_user_id: e.uuid().nullish(),
8296
8305
  counterpart_id: e.uuid().nullish(),
8297
8306
  counterpart_id__in: e.array(e.uuid()).nullish(),
8298
- source_of_payable_data: zu.nullish(),
8307
+ source_of_payable_data: Vu.nullish(),
8299
8308
  ocr_status: ja.nullish(),
8300
8309
  line_item_id: e.uuid().nullish(),
8301
8310
  purchase_order_id: e.uuid().nullish(),
@@ -8312,9 +8321,9 @@ e.object({
8312
8321
  scheduled_payment_date__gte: e.iso.date().nullish(),
8313
8322
  scheduled_payment_date__lte: e.iso.date().nullish(),
8314
8323
  has_scheduled_payment: e.boolean().nullish(),
8315
- duplicate_match_status: Qo.nullish(),
8316
- duplicate_match_status__in: e.array(Qo).nullish(),
8317
- duplicate_match_status__not_in: e.array(Qo).nullish(),
8324
+ duplicate_match_status: es.nullish(),
8325
+ duplicate_match_status__in: e.array(es).nullish(),
8326
+ duplicate_match_status__not_in: e.array(es).nullish(),
8318
8327
  duplicate_matched_payable_status: N.nullish(),
8319
8328
  duplicate_matched_payable_status__in: e.array(N).nullish(),
8320
8329
  duplicate_matched_payable_status__not_in: e.array(N).nullish()
@@ -8357,7 +8366,7 @@ e.object({
8357
8366
  was_created_by_user_id: e.uuid().nullish(),
8358
8367
  counterpart_id: e.uuid().nullish(),
8359
8368
  counterpart_id__in: e.array(e.uuid()).nullish(),
8360
- source_of_payable_data: zu.nullish(),
8369
+ source_of_payable_data: Vu.nullish(),
8361
8370
  ocr_status: ja.nullish(),
8362
8371
  line_item_id: e.uuid().nullish(),
8363
8372
  purchase_order_id: e.uuid().nullish(),
@@ -8384,8 +8393,8 @@ e.object({
8384
8393
  order: O.optional().default("asc"),
8385
8394
  limit: e.int().gte(1).lte(100).optional().default(100),
8386
8395
  pagination_token: e.string().nullish(),
8387
- sort: ns.nullish(),
8388
- event_type__in: e.array(rs).optional(),
8396
+ sort: is.nullish(),
8397
+ event_type__in: e.array(as).optional(),
8389
8398
  entity_user_id__in: e.array(e.uuid()).optional(),
8390
8399
  timestamp__gt: e.iso.datetime().optional(),
8391
8400
  timestamp__lt: e.iso.datetime().optional(),
@@ -8413,14 +8422,14 @@ e.object({
8413
8422
  order: O.optional().default("asc"),
8414
8423
  limit: e.int().gte(1).lte(100).optional().default(100),
8415
8424
  pagination_token: e.string().nullish(),
8416
- sort: Ms.nullish(),
8425
+ sort: Ps.nullish(),
8417
8426
  object_id: e.uuid().nullish(),
8418
8427
  object_id__in: e.array(e.uuid()).nullish()
8419
8428
  }), 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({ 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({
8420
8429
  order: O.optional().default("asc"),
8421
8430
  limit: e.int().gte(1).lte(100).optional().default(100),
8422
8431
  pagination_token: e.string().optional(),
8423
- sort: Ys.nullish(),
8432
+ sort: Zs.nullish(),
8424
8433
  is_external: e.boolean().optional(),
8425
8434
  object_id: e.uuid().optional(),
8426
8435
  object_id__in: e.array(e.uuid()).optional(),
@@ -8436,14 +8445,14 @@ e.object({
8436
8445
  planned_payment_date__lt: e.iso.date().nullish(),
8437
8446
  planned_payment_date__gte: e.iso.date().nullish(),
8438
8447
  planned_payment_date__lte: e.iso.date().nullish(),
8439
- status: Qs.optional(),
8448
+ status: ec.optional(),
8440
8449
  payment_intent_status: e.string().optional(),
8441
8450
  payment_method: e.string().optional()
8442
- }), 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() }), tc.nullable(), 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() }), tc.nullable(), 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({
8451
+ }), 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() }), rc.nullable(), 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() }), rc.nullable(), 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({
8443
8452
  order: O.optional().default("asc"),
8444
8453
  limit: e.int().gte(1).lte(100).optional().default(100),
8445
8454
  pagination_token: e.string().nullish(),
8446
- sort: Lc.nullish(),
8455
+ sort: zc.nullish(),
8447
8456
  id__in: e.array(e.uuid()).optional(),
8448
8457
  name: e.string().max(100).optional(),
8449
8458
  name__contains: e.string().max(100).optional(),
@@ -8465,7 +8474,7 @@ e.object({
8465
8474
  order: O.optional().default("asc"),
8466
8475
  limit: e.int().gte(1).lte(100).optional().default(100),
8467
8476
  pagination_token: e.string().nullish(),
8468
- sort: Vc.nullish(),
8477
+ sort: Uc.nullish(),
8469
8478
  created_at__gt: e.iso.datetime().nullish(),
8470
8479
  created_at__lt: e.iso.datetime().nullish(),
8471
8480
  created_at__gte: e.iso.datetime().nullish(),
@@ -8490,7 +8499,7 @@ e.object({
8490
8499
  order: O.optional().default("asc"),
8491
8500
  limit: e.int().gte(1).lte(100).optional().default(100),
8492
8501
  pagination_token: e.string().nullish(),
8493
- sort: ll.nullish(),
8502
+ sort: dl.nullish(),
8494
8503
  created_at__gt: e.iso.datetime().nullish(),
8495
8504
  created_at__lt: e.iso.datetime().nullish(),
8496
8505
  created_at__gte: e.iso.datetime().nullish(),
@@ -8514,7 +8523,7 @@ e.object({
8514
8523
  order: O.optional().default("asc"),
8515
8524
  limit: e.int().gte(1).lte(100).optional().default(100),
8516
8525
  pagination_token: e.string().nullish(),
8517
- sort: dl.nullish(),
8526
+ sort: pl.nullish(),
8518
8527
  created_at__gt: e.iso.datetime().nullish(),
8519
8528
  created_at__lt: e.iso.datetime().nullish(),
8520
8529
  created_at__gte: e.iso.datetime().nullish(),
@@ -8564,7 +8573,7 @@ e.object({
8564
8573
  product_ids__in: e.array(e.uuid()).nullish(),
8565
8574
  product_ids: e.array(e.uuid()).nullish(),
8566
8575
  project_id__in: e.array(e.uuid()).nullish(),
8567
- type: Bl.nullish(),
8576
+ type: Hl.nullish(),
8568
8577
  document_id: e.string().nullish(),
8569
8578
  document_id__contains: e.string().nullish(),
8570
8579
  document_id__icontains: e.string().nullish(),
@@ -8635,7 +8644,7 @@ e.object({
8635
8644
  }), e.object({ receivable_id: e.uuid() }), e.object({
8636
8645
  authorization: e.string().nullish(),
8637
8646
  "x-organization-id": e.uuid()
8638
- }), e.object({ receivable_id: e.uuid() }), Du.nullable(), e.object({
8647
+ }), e.object({ receivable_id: e.uuid() }), ku.nullable(), e.object({
8639
8648
  authorization: e.string().nullish(),
8640
8649
  "x-organization-id": e.uuid()
8641
8650
  }), e.object({ receivable_id: e.uuid() }), e.object({
@@ -8651,8 +8660,8 @@ e.object({
8651
8660
  order: O.optional().default("asc"),
8652
8661
  limit: e.int().gte(1).lte(100).optional().default(100),
8653
8662
  pagination_token: e.string().nullish(),
8654
- sort: Ol.nullish(),
8655
- event_type__in: e.array(kl).optional(),
8663
+ sort: Al.nullish(),
8664
+ event_type__in: e.array(jl).optional(),
8656
8665
  entity_user_id__in: e.array(e.uuid()).optional(),
8657
8666
  timestamp__gt: e.iso.datetime().optional(),
8658
8667
  timestamp__lt: e.iso.datetime().optional(),
@@ -8674,9 +8683,9 @@ e.object({
8674
8683
  order: O.optional().default("asc"),
8675
8684
  limit: e.int().gte(1).lte(100).optional().default(100),
8676
8685
  pagination_token: e.string().nullish(),
8677
- sort: Al.nullish(),
8678
- status: Nl.optional(),
8679
- status__in: e.array(Nl).optional(),
8686
+ sort: Ml.nullish(),
8687
+ status: Fl.optional(),
8688
+ status__in: e.array(Fl).optional(),
8680
8689
  created_at__gt: e.iso.datetime().optional(),
8681
8690
  created_at__lt: e.iso.datetime().optional(),
8682
8691
  created_at__gte: e.iso.datetime().optional(),
@@ -8711,18 +8720,18 @@ e.object({
8711
8720
  }), e.object({ receivable_id: e.uuid() }), e.object({
8712
8721
  authorization: e.string().nullish(),
8713
8722
  "x-organization-id": e.uuid()
8714
- }), 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(lu), e.object({
8715
- receivable: e.array(Dl).nullable(),
8723
+ }), 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({
8724
+ receivable: e.array(kl).nullable(),
8716
8725
  entity_organization: e.array(hr),
8717
8726
  entity_individual: e.array(dr),
8718
8727
  counterpart_organization: e.array(Mt),
8719
8728
  counterpart_individual: e.array(Ot),
8720
- product: e.array(Rc)
8729
+ product: e.array(Bc)
8721
8730
  }), 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({
8722
8731
  order: O.optional().default("asc"),
8723
8732
  limit: e.int().gte(1).lte(100).optional().default(100),
8724
8733
  pagination_token: e.string().nullish(),
8725
- sort: _u.nullish(),
8734
+ sort: yu.nullish(),
8726
8735
  id__in: e.array(e.uuid()).nullish(),
8727
8736
  name: e.string().nullish(),
8728
8737
  created_at: e.iso.datetime().nullish(),
@@ -8732,33 +8741,33 @@ e.object({
8732
8741
  created_at__lte: e.iso.datetime().nullish()
8733
8742
  }), 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({
8734
8743
  object_type: e.literal("receivable").optional(),
8735
- predicates__name__in: e.array(Tc).optional(),
8744
+ predicates__name__in: e.array(Dc).optional(),
8736
8745
  result_value_id: e.uuid().optional(),
8737
8746
  created_at: e.iso.datetime().optional(),
8738
8747
  created_at__gt: e.iso.datetime().optional(),
8739
8748
  created_at__lt: e.iso.datetime().optional(),
8740
8749
  created_at__gte: e.iso.datetime().optional(),
8741
8750
  created_at__lte: e.iso.datetime().optional()
8742
- }), e.array(tp), 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({
8751
+ }), e.array(rp), 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({
8743
8752
  order: O.optional().default("asc"),
8744
8753
  limit: e.int().gte(1).lte(100).optional().default(100),
8745
8754
  pagination_token: e.string().nullish(),
8746
- sort: wd.nullish(),
8755
+ sort: Ed.nullish(),
8747
8756
  created_by_entity_user_id: e.uuid().optional(),
8748
8757
  name__in: e.array(e.string()).nullish(),
8749
8758
  id__in: e.array(e.uuid()).nullish(),
8750
8759
  category: G.nullish(),
8751
8760
  category__in: e.array(G).nullish()
8752
8761
  }), 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({
8753
- type: ef.nullish(),
8754
- document_type: $d.nullish(),
8762
+ type: nf.nullish(),
8763
+ document_type: tf.nullish(),
8755
8764
  is_default: e.boolean().nullish()
8756
8765
  }), 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({
8757
8766
  has_validation_errors: e.boolean().nullish(),
8758
8767
  order: O.optional().default("asc"),
8759
8768
  limit: e.int().gte(1).lte(100).optional().default(100),
8760
8769
  pagination_token: e.string().optional(),
8761
- sort: sf.nullish(),
8770
+ sort: lf.nullish(),
8762
8771
  created_at__gt: e.iso.datetime().nullish(),
8763
8772
  created_at__lt: e.iso.datetime().nullish(),
8764
8773
  updated_at__gt: e.iso.datetime().nullish(),
@@ -8766,7 +8775,7 @@ e.object({
8766
8775
  started_at__gt: e.iso.datetime().nullish(),
8767
8776
  started_at__lt: e.iso.datetime().nullish(),
8768
8777
  payment_processing_status__in: e.array(Y).nullish(),
8769
- type__in: e.array(vf).nullish(),
8778
+ type__in: e.array(bf).nullish(),
8770
8779
  entity_user_id__in: e.array(e.uuid()).nullish(),
8771
8780
  external_id__in: e.array(e.string()).nullish(),
8772
8781
  amount__gt: e.int().nullish(),
@@ -8776,8 +8785,8 @@ e.object({
8776
8785
  merchant_amount__lt: e.int().nullish(),
8777
8786
  merchant_currency__in: e.array(c).nullish(),
8778
8787
  merchant_name__icontains: e.string().nullish(),
8779
- payment_method: ff.nullish(),
8780
- payment_method__in: e.array(ff).nullish(),
8788
+ payment_method: mf.nullish(),
8789
+ payment_method__in: e.array(mf).nullish(),
8781
8790
  expense_status: f.nullish(),
8782
8791
  expense_status__in: e.array(f).nullish(),
8783
8792
  has_receipt: e.boolean().nullish()
@@ -8786,7 +8795,7 @@ e.object({
8786
8795
  order: e.enum(["asc", "desc"]).optional().default("desc"),
8787
8796
  limit: e.int().gte(1).lte(500).optional().default(100),
8788
8797
  offset: e.int().gte(0).optional().default(0)
8789
- }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), pf.nullable(), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), _f.nullable(), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
8798
+ }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), hf.nullable(), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), yf.nullable(), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({ transaction_id: e.uuid() }), e.object({ "x-organization-id": e.uuid() }), e.object({
8790
8799
  counterpart_address_id: e.uuid().nullish(),
8791
8800
  counterpart_id: e.uuid().nullish(),
8792
8801
  counterpart_vat_id_id: e.uuid().nullish(),
@@ -8796,7 +8805,7 @@ e.object({
8796
8805
  order: O.optional().default("asc"),
8797
8806
  limit: e.int().gte(1).lte(100).optional().default(100),
8798
8807
  pagination_token: e.string().nullish(),
8799
- sort: Np.nullish(),
8808
+ sort: Fp.nullish(),
8800
8809
  event_id: e.uuid().nullish(),
8801
8810
  object_type: $.nullish(),
8802
8811
  event_action: e.string().nullish(),
@@ -8808,7 +8817,7 @@ e.object({
8808
8817
  order: O.optional().default("asc"),
8809
8818
  limit: e.int().gte(1).lte(100).optional().default(100),
8810
8819
  pagination_token: e.string().nullish(),
8811
- sort: Rp.nullish(),
8820
+ sort: Bp.nullish(),
8812
8821
  object_type: $.nullish(),
8813
8822
  created_at__gt: e.iso.datetime().nullish(),
8814
8823
  created_at__lt: e.iso.datetime().nullish(),
@@ -8863,7 +8872,7 @@ e.object({
8863
8872
  PaginationToken: e.string().optional(),
8864
8873
  Permissions: e.array(e.string()).optional(),
8865
8874
  ReportingManagerUserId: e.uuid().optional(),
8866
- Status: Jf.optional()
8875
+ Status: Xf.optional()
8867
8876
  }), 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() });
8868
8877
  //#endregion
8869
- export { ee as z1, te as z2, re as zAcceptInvitationAuthenticationDto, ie as zAccountDataBlock, ae as zAccountDisabledReason, js as zAccountIdentification, xr as zAccountingConnectionResponse, oe as zAccountingCostCenterResponse, se as zAccountingCustomerRefObject, ue as zAccountingLineItem, pe as zAccountingPayable, ce as zAccountingPurchaseOrderRef, de as zAccountingReceivable, le as zAccountingRefObject, Fn as zAccountingSettings, Od as zAccountingTaxRateResponse, fe as zAccountingVendorRefObject, me as zActionEnum, dc as zActionSchema, Bt as zAddress, he as zAddressData, ge as zAddressDto, Ya as zAddressInput, s as zAddressOutput, t as zAggregationFunctionEnum, _e as zAirwallexData, n as zAllowedCountries, ve as zAllowedFileTypes, r as zAmountOutput, ju as zAmountPredicate, ye as zAnalyticsDataPoint, ne as zApiVersion, be as zApplicationListResponseDto, xe as zApplicationOwnership, Se as zApplicationProduct, Ce as zApplicationStatusEntry, we as zApprovalActionEventData, Te as zApprovalPolicyCursorFields, Sa as zApprovalPolicyResource, Ee as zApprovalPolicyStatus, Me as zApprovalProcessStepResource, De as zApprovalProcessStepStatus, Ca as zApprovalRequestCreateByReportingManagerRequest, wa as zApprovalRequestCreateByRoleRequest, Ta as zApprovalRequestCreateByUserRequest, Oe as zApprovalRequestCursorFields, ke as zApprovalRequestRejectRequest, Ea as zApprovalRequestResourceForCaller, Da as zApprovalRequestResourceWithMetadata, Ae as zApprovalRequestStatus, je as zApprovalTypeEnum, i as zAttachmentRequest, Ne as zAttachmentResponse, Pe as zAuthorizedBankAccount, Uc as zAuthorizedBankAccountPayload, Fe as zAutomationLevel, id as zBank, pn as zBankAccount, Ie as zBankAccountAccessActionType, vc as zBankAccountApplicantInput, Vt as zBankAccountApplicantOutput, Le as zBankAccountApplicationStatusDto, Re as zBankAccountApplicationSummary, wi as zBankAccountApplicationSummaryResponse, ze as zBankAccountHolderType, Be as zBankAccountInfo, Wc as zBankAccountPayload, hn as zBankAccountPaymentMethod, mn as zBankAccountPaymentMethodDetails, Ve as zBankAccountSnapshot, He as zBankAccountSourceDto, Ue as zBankAccountStatus, We as zBankAccountSummary, Ge as zBankAccountTransactionDirectionDto, Ke as zBankAccountTransactionResponse, qe as zBankAccountTransactionSortFieldDto, Je as zBankAccountTransferAccountOutput, Ye as zBankAccountTransferNetworkTypeDto, Qe as zBankAccountTransferResponse, Xe as zBankAccountTransferStatusDto, Ze as zBankAccountTransferTypeDto, $e as zBankAccountTypeEnum, et as zBankAccountWithBalanceResponse, tt as zBankAccountWithSourceInput, Vl as zBasedOnReceivableCreatedEventData, nt as zBasedOnTransitionType, rt as zBatchPaymentIntentsRecipient, Hs as zBatchSinglePaymentIntent, Ht as zBeneficialOwnerResponse, xu as zBizObjectsSchema, it as zBulkMembershipType, at as zBulkUpdatePermissionType, Nd as zBusinessDetailsInput, la as zBusinessDetailsOutput, ot as zBusinessInfoSchema, yc as zBusinessOwnerInput, Ut as zBusinessOwnerOutput, Cr as zBusinessProfile, st as zBusinessStructureType, ct as zBusinessVerificationStatusDto, lt as zButtonTheme, ut as zCardBrand, dt as zCardBrandEnum, ht as zCardPaymentMethod, mt as zCardPaymentMethodDetails, ft as zCardTheme, pt as zCardTypeEnum, aa as zChannelConfigRequest, ia as zChannelConfigRequestWebhookChannelConfigRequest, _t as zChannelConfigResponse, gt as zChannelConfigResponseWebhookChannelConfigResponse, vt as zChannelType, yt as zCommentCursorFields, bt as zCommentPayload, Ku as zCommentResource, xt as zCommercialConditionsBlock, F as zCommonSchema, St as zConnectionStatus, Ct as zConsentState, a as zCounterpartAddress, wt as zCounterpartAddressResponseWithCounterpartId, gn as zCounterpartBankAccountResponse, Tt as zCounterpartContactResponse, Et as zCounterpartCursorFields, Zr as zCounterpartFields, Dt as zCounterpartIndividualCreatePayload, Ot as zCounterpartIndividualFieldsEnum, ud as zCounterpartIndividualResponse, Ti as zCounterpartIndividualRootCreatePayload, dd as zCounterpartIndividualRootResponse, Ei as zCounterpartIndividualRootUpdatePayload, kt as zCounterpartIndividualUpdatePayload, At as zCounterpartInfoBlock, jt as zCounterpartOrganizationCreatePayload, Mt as zCounterpartOrganizationFieldsEnum, fd as zCounterpartOrganizationResponse, Di as zCounterpartOrganizationRootCreatePayload, pd as zCounterpartOrganizationRootResponse, Oi as zCounterpartOrganizationRootUpdatePayload, Nt as zCounterpartOrganizationUpdatePayload, Pt as zCounterpartRawAddress, Gp as zCounterpartRawAddressUpdateRequest, Ft as zCounterpartRawBankAccount, Kp as zCounterpartRawBankAccountUpdateRequest, Lt as zCounterpartRawData, Jp as zCounterpartRawDataUpdateRequest, It as zCounterpartRawVatId, qp as zCounterpartRawVatIdUpdateRequest, md as zCounterpartResponse, Rt as zCounterpartSchema, K as zCounterpartTagSchema, o as zCounterpartType, np as zCounterpartVatIdResponse, zt as zCountryCode, Nu as zCountryPredicate, Wt as zCreateOrganizationType, bc as zCreditCardApplicantInput, Gt as zCreditCardApplicantOutput, Kt as zCreditCardApplicationStatusDto, Pd as zCreditCardBusinessDetailsInput, ua as zCreditCardBusinessDetailsOutput, qt as zCreditCardCloseReason, Jt as zCreditCardFormat, tn as zCreditCardResponse, Yt as zCreditCardStatus, Xt as zCreditCardTransactionDirection, $t as zCreditCardTransactionResponse, Zt as zCreditCardTransactionStatus, Qt as zCreditCardTransactionType, en as zCreditCardType, nn as zCreditNoteCursorFields, rn as zCreditNoteDimensionEnum, an as zCreditNoteFieldsAllowedForValidate, on as zCreditNoteLineItemCreateRequest, sn as zCreditNoteLineItemCursorFields, cn as zCreditNoteLineItemResponse, ln as zCreditNoteMetricEnum, un as zCreditNoteRenderingSettings, Td as zCreditNoteResponse, fp as zCreditNoteResponsePayload, dn as zCreditNoteStateEnum, fn as zCurrencyDetails, c as zCurrencyEnum, _n as zCurrencyExchangeSchema, Yp as zCurrencyExchangeSchema2, Er as zCurrencySettings, vn as zCursorFields, cp as zCustomTaxRateResponse, yn as zCustomTemplateDataSchema, bn as zCustomTemplatesCursorFields, Tn as zDataExportCursorFields, En as zDateDimensionBreakdownEnum, Dn as zDebitCardAccessActionType, An as zDebitCardResponse, On as zDebitCardStatus, kn as zDebitCardType, l as zDeductionItem, jn as zDefaultAccountingTaxIds, Nn as zDefaultBankAccount, Mn as zDefaultBankAccountType, Pn as zDefaultLedgerAccountIds, Xl as zDeletedEventData, hd as zDeliveryNoteCounterpartIndividual, gd as zDeliveryNoteCounterpartOrganization, _d as zDeliveryNoteCounterpartResource, In as zDeliveryNoteCreateBasedOnRequest, Ef as zDeliveryNoteCreateLineItem, Df as zDeliveryNoteCreateRequest, Ln as zDeliveryNoteCursorFields, Tf as zDeliveryNoteLineItemProduct, Of as zDeliveryNoteLineItemResource, ku as zDeliveryNoteRenderPayload, kf as zDeliveryNoteResource, Rn as zDeliveryNoteStatusEnum, zn as zDepartmentListItem, Bn as zDepartmentMember, Vn as zDisclosureCapacity, Gn as zDisclosureCapacityStateDto, Hn as zDisclosureDocumentDto, Un as zDisclosureRequirement, Wn as zDisclosureStanding, u as zDiscount, qn as zDiscountResponse, Kn as zDiscountType, Cn as zDnsRecord, xn as zDnsRecordPurpose, Sn as zDnsRecordType, wn as zDnsRecords, Jn as zDocumentExportResponseSchema, Yn as zDocumentIdSeparators, er as zDocumentIdsSettings, Xn as zDocumentIdsSettingsNextNumber, tr as zDocumentIdsSettingsRequest, Zn as zDocumentInfoBlock, d as zDocumentObjectTypeRequestEnum, z as zDocumentRenderingSettings, Qn as zDocumentTypeEnum, $n as zDocumentTypePrefix, nr as zDomainResponse, rr as zDownloadType, ir as zEmail, Gc as zEmbeddedAuthorizedBankAccountPayload, Kc as zEmbeddedBankAccountPayload, Ad as zEmbeddedBusinessDataResponseDto, Up as zEmbeddedManuallySpecifiedPayload, ar as zEntityAddressResponseSchema, or as zEntityAddressSchema, sr as zEntityBankAccountResponse, cr as zEntityBusinessStructure, lr as zEntityContactBlock, ur as zEntityCursorFields, Qr as zEntityFields, dr as zEntityIndividualFieldsEnum, Mc as zEntityIndividualResponse, fr as zEntityInfoBlock, pr as zEntityLogoBlock, mr as zEntityMailSettings, hr as zEntityOrganizationFieldsEnum, Nc as zEntityOrganizationResponse, Pc as zEntityResponse, gr as zEntitySchema, _r as zEntityStatusEnum, vr as zEntityTypeEnum, yr as zEntityUserCursorFields, qu as zEntityUserResponse, rp as zEntityVatIdResponse, br as zErrorSchema, Sr as zEstimatedMonthlyRevenue, wr as zEventCursorFields, Lp as zEventResource, Tr as zExchangeRate, Dr as zExpenseApprovalRequestedEventData, Ar as zExpenseApprovalsBypassedEventData, Or as zExpenseAutoApprovedEventData, $r as zExpenseAutoCategorizedEventData, kr as zExpenseBypassedApprover, ei as zExpenseCreatedEventData, Nr as zExpenseDeletedEventData, gf as zExpenseHistoryEntryResponse, jr as zExpenseHistoryEventTypeEnum, hf as zExpensePaymentStatusChangedEventData, ti as zExpenseReceiptMatchedEventData, Mr as zExpenseReceiptUnlinkedEventData, Pr as zExpenseStatusChangedEventData, f as zExpenseStatusEnum, Fr as zExpenseSubmittedEventData, Xr as zExpenseUpdatedEventData, Ir as zExportFormat, gs as zExportObjectSchema, hs as zExportPayableSchema, Rr as zExportReceivableSchema, Lr as zExportReceivableStatus, zr as zExportSettingCursorFields, Kr as zExternalBankAccountResponse, Br as zExternalBankAccountStatusDto, Vr as zExternalBankAccountSummary, Hr as zExternalBankAccountTypeDto, Wr as zExternalBankAccountVerificationInput, Ur as zExternalBankAccountVerificationMethod, Gr as zExternalBankAccountVerificationStatusDto, td as zExtraDataResource, qr as zFee, Jr as zFeeRegion, Yr as zFieldDiff, p as zFieldSchema, m as zFieldSourceEnum, ni as zFileAttachedEventData, ri as zFileDetachedEventData, ii as zFileResponse, kc as zFileSchema, jc as zFileSchema2, ai as zFileUrlType, Op as zFinancingInvoice, oi as zFinancingInvoiceCursorFields, si as zFinancingInvoiceType, Mp as zFinancingOffer, ci as zFinancingPushInvoicesRequestInvoice, li as zFooterBlock, ui as zGlobalDiscount, di as zHeaderBlock, fi as zIFormFile, pi as zIndividualResponseSchema, mi as zIndividualSchema, _i as zInlinePaymentTermsRequestPayload, hi as zInlineTermDiscount, gi as zInlineTermFinal, yi as zInvoice, vi as zInvoiceFile, bi as zInvoiceRenderingSettings, pp as zInvoiceResponsePayload, Xp as zItem, Fu as zItemTypePredicate, xi as zIterationStatus, Si as zJsonElement, Ci as zKycVerificationStatusDto, Zp as zLabelNValue, h as zLanguageCodeEnum, ki as zLedgerAccountCursorFields, Ai as zLedgerAccountResponse, jf as zLineItem, ji as zLineItemColumnSettings, Mi as zLineItemCursorFields, Ni as zLineItemFields, Pi as zLineItemInternalRequest, g as zLineItemNumericColumnSettings, up as zLineItemProduct, Af as zLineItemProductCreate, Fi as zLineItemProductMeasureUnit, lp as zLineItemProductTaxRate, Ii as zLineItemResponse, zd as zLineItemUpdate, Hi as zLineItemsBlock, Li as zLineItemsBlockAmountReduced, Ri as zLineItemsBlockDeduction, zi as zLineItemsBlockLineItem, Bi as zLineItemsBlockTotalVat, Vi as zLineItemsColumns, Ui as zLineItemsRenderingSettings, Wi as zLocationListItem, Gi as zLocationMember, Pl as zMailSentEventData, Ki as zMailSettings, qi as zMailboxObjectTypeEnum, Ji as zMailboxResponse, Wp as zManuallySpecifiedBankAccountPayload, Yi as zMccGroupResponse, Xi as zMeAddressDto, Zi as zMeasureUnitEnum, Qi as zMedia, $i as zMemoBlock, ta as zMissingFields, ea as zMissingLineItemFields, na as zMoniteAllPaymentMethods, _ as zMoniteAllPaymentMethodsTypes, ra as zMtlsConfigRequest, oa as zMultipleAmountPredicate, sa as zMultipleCountryPredicate, zc as zMultipleItemTypePredicate, ca as zNorthAmericanIndustryClassificationSystemCode, xa as zObjectMatchTypes, y as zObjectType, Oa as zObjectTypeAvailableComment, ka as zObjectTypeEnum, Qp as zOcrAddress, da as zOcrAddressDetails, Aa as zOcrAutoTaggingSettingsRequest, fa as zOcrBankDetails, v as zOcrCounterpartDetails, ha as zOcrCreditNote, pa as zOcrDocumentTypeEnum, ga as zOcrInvoice, ma as zOcrLineItem, va as zOcrReceipt, _a as zOcrReceiptLineItem, tm as zOcrRecognitionResponse, ya as zOcrRequestSource, em as zOcrResponseInvoiceReceiptData, $p as zOcrResponseInvoiceReceiptLineItemRaw, ja as zOcrStatusEnum, Ma as zOcrTaskResponseSchema, ba as zOcrTaskStatus, Na as zOptionalFee, Pa as zOptionalIndividualSchema, Fa as zOptionalOfBankAccountHolderType, Ia as zOptionalOfBankAccountStatus, La as zOptionalOfExternalBankAccountVerificationInput, E as zOptionalOfNullableAddressInput, Ra as zOptionalOfNullableAuthenticationInput, xc as zOptionalOfNullableBankAccountApplicantInput, Fd as zOptionalOfNullableBusinessDetailsInput, za as zOptionalOfNullableBusinessStructureType, Ba as zOptionalOfNullableCountryCode, Sc as zOptionalOfNullableCreditCardApplicantInput, Id as zOptionalOfNullableCreditCardBusinessDetailsInput, b as zOptionalOfNullableDateOnly, x as zOptionalOfNullableGuid, So as zOptionalOfNullableIReadOnlyListOfOrganizationSettingsOcrAutoTaggingDto, Cc as zOptionalOfNullableListOfBusinessOwnerInput, Va as zOptionalOfNullableNorthAmericanIndustryClassificationSystemCode, no as zOptionalOfNullableOrganizationSettingsAccountingDto, ho as zOptionalOfNullableOrganizationSettingsCurrencyDto, oo as zOptionalOfNullableOrganizationSettingsDefaultBankAccountDto, fo as zOptionalOfNullableOrganizationSettingsDocumentIdsRequestDto, Ha as zOptionalOfNullableOrganizationSettingsMailDto, Ua as zOptionalOfNullableOrganizationSettingsPaymentPriority, Wa as zOptionalOfNullableOrganizationSettingsReceivableEditFlow, Ga as zOptionalOfNullableOrganizationSettingsReminderDto, Ka as zOptionalOfNullableOrganizationSettingsTaxMode, qa as zOptionalOfNullableOrganizationType, _c as zOptionalOfNullablePersonalIdentificationNumberDto, Md as zOptionalOfNullableTaxIdentificationNumberInput, S as zOptionalOfNullableboolean, C as zOptionalOfNullabledecimal, Ja as zOptionalOfNullableint, w as zOptionalOfNullablelong, T as zOptionalOfNullablestring, D as zOptionalOfstring, Xa as zOptionalOrganizationSchema, O as zOrderEnum, Za as zOrganizationLogoResponseDto, Qa as zOrganizationResponseSchema, $a as zOrganizationSchema, ro as zOrganizationSettingsAccountingDto, eo as zOrganizationSettingsAccountingLedgerAccountIdsDto, to as zOrganizationSettingsAccountingTaxIdsDto, io as zOrganizationSettingsCreditNoteRenderingDto, go as zOrganizationSettingsCurrencyDto, so as zOrganizationSettingsDefaultBankAccountDto, ao as zOrganizationSettingsDefaultBankAccountType, co as zOrganizationSettingsDocumentIdSeparator, po as zOrganizationSettingsDocumentIdsDto, lo as zOrganizationSettingsDocumentIdsNextNumberDto, To as zOrganizationSettingsDocumentRenderingDto, uo as zOrganizationSettingsDocumentTypePrefixDto, mo as zOrganizationSettingsExchangeRateDto, _o as zOrganizationSettingsInvoiceRenderingDto, vo as zOrganizationSettingsLineItemColumnDto, k as zOrganizationSettingsLineItemNumericColumnDto, yo as zOrganizationSettingsLineItemsRenderingDto, bo as zOrganizationSettingsMailDto, xo as zOrganizationSettingsOcrAutoTaggingDto, Co as zOrganizationSettingsPaymentPriority, wo as zOrganizationSettingsQuoteRenderingDto, Eo as zOrganizationSettingsReceivableEditFlow, Do as zOrganizationSettingsReminderDto, Oo as zOrganizationSettingsTaxMode, ko as zOrganizationStatusFilter, Ao as zOrganizationSummary, A as zOrganizationType, jo as zOriginEnum, ru as zOverdueReminderResponse, Mo as zOverdueReminderTerm, No as zOwnershipDeclarationInput, Po as zOwnershipDeclarationOutput, Fo as zPageCounterBlock, Io as zPageSchema, Lo as zPageSchema2, Ro as zPaginatedResponseOfDepartmentMember, zo as zPaginatedResponseOfLocationMember, Bo as zPaginationMetadata, Vo as zPaidBy, Ho as zParentOrganizationSummaryDto, Uo as zPayableActionEnum, fc as zPayableActionSchema, _s as zPayableAggregatedItem, Wo as zPayableApprovalActionEventData, Go as zPayableApprovalRequestedEventData, Ko as zPayableAutoApprovedEventData, qo as zPayableCounterpartInfoBlock, Bu as zPayableCreatedEventData, Jo as zPayableCreditNoteLinkedEventData, j as zPayableCreditNoteStateEnum, Yo as zPayableCreditNoteUnlinkedEventData, Xo as zPayableCursorFields, vs as zPayableDeletedEventData, Zo as zPayableDimensionEnum, Qo as zPayableDuplicateStatusEnum, $o as zPayableEntityAddressSchema, Ju as zPayableEntityIndividualResponse, es as zPayableEntityInfoBlock, Yu as zPayableEntityOrganizationResponse, ts as zPayableFieldDiff, ns as zPayableHistoryCursorFields, rs as zPayableHistoryEventTypeEnum, Vu as zPayableHistoryResponse, is as zPayableIndividualSchema, as as zPayableInfoBlock, os as zPayableLineItemAddedEventData, ss as zPayableLineItemRemovedEventData, cs as zPayableLineItemUpdatedEventData, ls as zPayableMarkedAsPaidEventData, us as zPayableMarkedAsPartiallyPaidEventData, ds as zPayableMetricEnum, fs as zPayableOrganizationSchema, M as zPayableOriginEnum, ys as zPayablePaymentRevertedEventData, nm as zPayablePaymentTermDiscount, rm as zPayablePaymentTermFinal, im as zPayablePaymentTermsCreatePayload, ps as zPayableRenderPayload, om as zPayableResponseSchema, pc as zPayableSchema, ms as zPayableSettings, N as zPayableStateEnum, bs as zPayableStatusChangedEventData, xs as zPayableSubmittedForApprovalEventData, Ss as zPayableTemplatesVariable, Es as zPayableTemplatesVariablesObject, Cs as zPayableUpdatedEventData, ws as zPayablesFieldsAllowedForValidate, Ts as zPayablesVariableType, Ds as zPayerAccountResponse, Os as zPayerAccountResponse2, ks as zPaymentAccountObject, P as zPaymentAccountType, Bs as zPaymentFeeResponse, Qd as zPaymentIntent, As as zPaymentIntentAccountType, Ms as zPaymentIntentCursorFields, Ns as zPaymentIntentHistory, Ps as zPaymentIntentPayoutMethod, $l as zPaymentIntentResponse, Xd as zPaymentIntentWithSecrets, Fs as zPaymentIntentsRecipient, Rs as zPaymentMethod, Is as zPaymentMethodDirection, Ls as zPaymentMethodStatus, zs as zPaymentMethodSubtype, Ws as zPaymentObject, Vs as zPaymentObjectPayable, Us as zPaymentObjectType, Gs as zPaymentPageFooter, Ks as zPaymentPageTheme, qs as zPaymentPriorityEnum, Js as zPaymentReceivedEventData, Ys as zPaymentRecordCursorFields, $s as zPaymentRecordHistoryResponse, Xs as zPaymentRecordObjectRequest, Zs as zPaymentRecordObjectResponse, ec as zPaymentRecordResponse, Qs as zPaymentRecordStatusEnum, tc as zPaymentRecordStatusUpdateRequest, Xu as zPaymentReminderResponse, nc as zPaymentRequirements, rc as zPaymentTerms, ic as zPaymentTermsBlock, Kd as zPaymentTermsResponse, lc as zPaymentTierResponse, ac as zPaymentsBatchPaymentStatus, oc as zPaymentsSettings, sc as zPdfDocumentTypeEnum, cc as zPeriodEnum, uc as zPermissionEnum, mc as zPermissionKey, hc as zPermissionUpdateInput, gc as zPersonalIdentificationNumberType, wc as zPlatform, xp as zPredicate, Tc as zPredicateNameEnum, Ec as zPredicateOperatorEnum, Dc as zPredicateResponse, Oc as zPreviewSchema, Ac as zPreviewSchema2, I as zPrice, jp as zPricingPlan, Ic as zProcessResource, Fc as zProcessStatusEnum, Lc as zProductCursorFields, Rc as zProductFieldsEnum, Bc as zProductServiceResponse, L as zProductServiceTypeEnum, Vc as zProjectCursorFields, Ed as zProjectResource, R as zPsuIdentification, Hc as zPsuIdentificationType, qc as zPublicBankAccount, Jc as zPurchaseOrderCounterpartAddressSchema, vd as zPurchaseOrderCounterpartIndividualResponse, yd as zPurchaseOrderCounterpartIndividualRootResponse, Yc as zPurchaseOrderCounterpartInfoBlock, bd as zPurchaseOrderCounterpartOrganizationResponse, xd as zPurchaseOrderCounterpartOrganizationRootResponse, Sd as zPurchaseOrderCounterpartSchema, Xc as zPurchaseOrderCursorFields, Zc as zPurchaseOrderDateBlock, Qc as zPurchaseOrderItem, $c as zPurchaseOrderLineItem, el as zPurchaseOrderLineItemsBlock, tl as zPurchaseOrderNumberBlock, nl as zPurchaseOrderRenderPayload, Cd as zPurchaseOrderResponseSchema, rl as zPurchaseOrderStatusEnum, il as zPurchaseOrderVatId, al as zQrCodeDataBlock, Du as zQuoteAcceptRequest, ol as zQuoteRenderingSettings, mp as zQuoteResponsePayload, sl as zQuoteStateEnum, cl as zRate, ll as zReceiptCursorFields, ul as zReceiptDimensionEnum, dl as zReceiptLineItemCursorFields, fl as zReceiptLineItemResponseSchema, pl as zReceiptLinkSourceEnum, ml as zReceiptMetricEnum, hl as zReceiptOriginEnum, Uu as zReceiptResponseSchema, ql as zReceivableCounterpartContact, ip as zReceivableCounterpartVatIdResponse, gl as zReceivableCreateBasedOnPayload, Zl as zReceivableCreatedEventData, _l as zReceivableCreationSourceEnum, vl as zReceivableDimensionEnum, yl as zReceivableEditFlow, bl as zReceivableEntityAddressSchema, xl as zReceivableEntityBase, Sl as zReceivableEntityIndividual, Cl as zReceivableEntityIndividualRequest, wl as zReceivableEntityOrganization, Tl as zReceivableEntityOrganizationRequest, ap as zReceivableEntityVatIdResponse, op as zReceivableFacadeCreateInvoicePayload, sp as zReceivableFacadeCreateQuotePayload, El as zReceivableFieldDiff, Dl as zReceivableFieldsEnum, Ol as zReceivableHistoryCursorFields, kl as zReceivableHistoryEventTypeEnum, Gu as zReceivableHistoryResponse, Al as zReceivableMailCursorFields, jl as zReceivableMailRecipientState, Ml as zReceivableMailRecipients, Fl as zReceivableMailResponse, Nl as zReceivableMailStatusEnum, Il as zReceivableMetricEnum, Ll as zReceivableNumberBlock, Au as zReceivableRenderPayload, hp as zReceivableResponse, Rl as zReceivableSettings, zl as zReceivableTemplatesVariable, $f as zReceivableTemplatesVariablesObject, Bl as zReceivableType, Hl as zReceivableUpdatedEventData, Ul as zReceivablesAnalyticsDataPoint, Wl as zReceivablesCounterpartAddress, Gl as zReceivablesPreviewTypeEnum, Kl as zReceivablesRemindersWarningMessage, B as zReceivablesRepresentationOfCounterpartAddress, Jl as zReceivablesRepresentationOfEntityBankAccount, Yl as zReceivablesStatusEnum, nu as zRecipient, Ql as zRecipientAccountResponse, eu as zRecipientAccountResponse2, tu as zRecipientType, V as zRecipients, iu as zRecipientsInfo, au as zRecurrenceFrequency, ou as zRecurrenceIteration, cu as zRecurrenceResponse, su as zRecurrenceStatus, lu as zRegulatoryTemplateResponse, uu as zRelatedDocuments, du as zRelatedOrganizationSummaryDto, Kf as zRelatedUserDto, H as zReminder, pu as zReminderMailSentEventData, fu as zReminderTypeEnum, mu as zRemindersSettings, hu as zRepaymentSchedule, gu as zRequirementsError, dp as zResponseItem, _u as zRoleCursorFields, vu as zRoleMemberResponseDto, yu as zRolePermissionResponseDto, Zu as zRoleResponse, ld as zRoleResponseDto, bu as zRootSchema, tp as zRuleResponse, Cu as zScaMethod, Su as zScaMethodType, wu as zSendStatelessEmailResponse, Tu as zServiceProvidersEnum, Eu as zSignature, Ou as zSignatureBlock, U as zSingleAmountPredicate, Mu as zSingleCountryPredicate, Pu as zSingleItemTypePredicate, Iu as zSinglePaymentIntentResponse, Lu as zSortOrderDto, Ru as zSourceOfData, zu as zSourceOfPayableDataEnum, Hu as zSourceOfReceiptDataEnum, Wu as zStatusChangedEventData, W as zStatusEnum, Qu as zStripeData, Ip as zSubscriptionResponse, $u as zSuggestedCounterpartPayload, am as zSuggestedPaymentTerm, ed as zSupportedFieldNames, nd as zSupportedFormatSchema, rd as zSupportedPaymentAuthorizationFlow, ad as zSyncRecordCursorFields, sd as zSyncRecordResource, od as zSyncStatus, cd as zSystemRoleKey, Hd as zSystemTemplateDataSchema, G as zTagCategory, wd as zTagCursorFields, q as zTagReadSchema, Dd as zTaxComponentResponse, kd as zTaxIdResponseDto, jd as zTaxIdentificationNumberType, Ld as zTaxRateAccountCursorFields, Rd as zTaxStatusEnum, Bd as zTemplate, Vd as zTemplateDataSchema, Wd as zTemplateReceivableResponse, Ud as zTemplateTypeEnum, J as zTermDiscountDays, Gd as zTermFinalDays, qd as zTermsOfServiceAcceptanceInput, Jd as zTermsOfServiceAcceptanceOutput, Yd as zTesouroData, Zd as zTesouroPaymentIntentData, $d as zTextTemplateDocumentTypeEnum, tf as zTextTemplateResponse, ef as zTextTemplateType, rf as zTotalTaxAmountItem, nf as zTotalTaxAmountItemComponent, af as zTransactionBulkObject, of as zTransactionBulkStatusEnum, sf as zTransactionCursorFields, cf as zTransactionDimensionEnum, lf as zTransactionFieldsAllowedForValidate, uf as zTransactionMetricEnum, df as zTransactionPaymentMethod, ff as zTransactionPaymentMethodTypeEnum, pf as zTransactionRejectRequest, yf as zTransactionRequest, mf as zTransactionRequiredFieldItem, bf as zTransactionResponse, Y as zTransactionStatusEnum, _f as zTransactionSubmitRequest, vf as zTransactionTypeEnum, xf as zTransactionValidationError, Sf as zTransferType, Cf as zUnit, wf as zUnitRequest, Mf as zUnitResponse, Bf as zUpdateCreditNote, Vf as zUpdateCreditNotePayload, Nf as zUpdateEntityAddressSchema, Pf as zUpdateInvoice, Ff as zUpdateInvoicePayload, If as zUpdateIssuedInvoice, Lf as zUpdateIssuedInvoicePayload, zf as zUpdateLineItemForCreditNote, Rf as zUpdateProductForCreditNote, Hf as zUpdateQuote, Uf as zUpdateQuotePayload, Wf as zUserDepartmentDto, Gf as zUserLocationDto, qf as zUserStatus, Jf as zUserStatusFilter, Yf as zValidationError, Xf as zVariable, Zf as zVariablesObject, Qf as zVariablesType, ep as zVatConditionType, X as zVatIdTypeEnum, Z as zVatModeEnum, bp as zVatPredicate, Q as zVatRateComponent, _p as zVatRateResponse, gp as zVatRateStatusEnum, vp as zVatTypePredicate, yp as zVatValidityEnum, Cp as zVelocityControlResponse, Sp as zVelocityWindow, 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 };
8878
+ export { ee as z1, te as z2, re as zAcceptInvitationAuthenticationDto, ie as zAccountDataBlock, ae as zAccountDisabledReason, Ns as zAccountIdentification, xr as zAccountingConnectionResponse, oe as zAccountingCostCenterResponse, se as zAccountingCustomerRefObject, ue as zAccountingLineItem, pe as zAccountingPayable, ce as zAccountingPurchaseOrderRef, de as zAccountingReceivable, le as zAccountingRefObject, Fn as zAccountingSettings, Ad as zAccountingTaxRateResponse, fe as zAccountingVendorRefObject, me as zActionEnum, pc as zActionSchema, Bt as zAddress, he as zAddressData, ge as zAddressDto, Ya as zAddressInput, s as zAddressOutput, t as zAggregationFunctionEnum, _e as zAirwallexData, n as zAllowedCountries, ve as zAllowedFileTypes, r as zAmountOutput, Nu as zAmountPredicate, ye as zAnalyticsDataPoint, ne as zApiVersion, be as zApplicationListResponseDto, xe as zApplicationOwnership, Se as zApplicationProduct, Ce as zApplicationStatusEntry, we as zApprovalActionEventData, Te as zApprovalPolicyCursorFields, Sa as zApprovalPolicyResource, Ee as zApprovalPolicyStatus, Me as zApprovalProcessStepResource, De as zApprovalProcessStepStatus, Ca as zApprovalRequestCreateByReportingManagerRequest, wa as zApprovalRequestCreateByRoleRequest, Ta as zApprovalRequestCreateByUserRequest, Oe as zApprovalRequestCursorFields, ke as zApprovalRequestRejectRequest, Ea as zApprovalRequestResourceForCaller, Da as zApprovalRequestResourceWithMetadata, Ae as zApprovalRequestStatus, je as zApprovalTypeEnum, i as zAttachmentRequest, Ne as zAttachmentResponse, Pe as zAuthorizedBankAccount, Gc as zAuthorizedBankAccountPayload, Fe as zAutomationLevel, od as zBank, pn as zBankAccount, Ie as zBankAccountAccessActionType, bc as zBankAccountApplicantInput, Vt as zBankAccountApplicantOutput, Le as zBankAccountApplicationStatusDto, Re as zBankAccountApplicationSummary, wi as zBankAccountApplicationSummaryResponse, ze as zBankAccountHolderType, Be as zBankAccountInfo, Kc as zBankAccountPayload, hn as zBankAccountPaymentMethod, mn as zBankAccountPaymentMethodDetails, Ve as zBankAccountSnapshot, He as zBankAccountSourceDto, Ue as zBankAccountStatus, We as zBankAccountSummary, Ge as zBankAccountTransactionDirectionDto, Ke as zBankAccountTransactionResponse, qe as zBankAccountTransactionSortFieldDto, Je as zBankAccountTransferAccountOutput, Ye as zBankAccountTransferNetworkTypeDto, Qe as zBankAccountTransferResponse, Xe as zBankAccountTransferStatusDto, Ze as zBankAccountTransferTypeDto, $e as zBankAccountTypeEnum, et as zBankAccountWithBalanceResponse, tt as zBankAccountWithSourceInput, Ul as zBasedOnReceivableCreatedEventData, nt as zBasedOnTransitionType, rt as zBatchPaymentIntentsRecipient, Ws as zBatchSinglePaymentIntent, Ht as zBeneficialOwnerResponse, Cu as zBizObjectsSchema, it as zBulkMembershipType, at as zBulkUpdatePermissionType, Fd as zBusinessDetailsInput, la as zBusinessDetailsOutput, ot as zBusinessInfoSchema, xc as zBusinessOwnerInput, Ut as zBusinessOwnerOutput, Cr as zBusinessProfile, st as zBusinessStructureType, ct as zBusinessVerificationStatusDto, lt as zButtonTheme, ut as zCardBrand, dt as zCardBrandEnum, ht as zCardPaymentMethod, mt as zCardPaymentMethodDetails, ft as zCardTheme, pt as zCardTypeEnum, aa as zChannelConfigRequest, ia as zChannelConfigRequestWebhookChannelConfigRequest, _t as zChannelConfigResponse, gt as zChannelConfigResponseWebhookChannelConfigResponse, vt as zChannelType, yt as zCommentCursorFields, bt as zCommentPayload, Ju as zCommentResource, xt as zCommercialConditionsBlock, F as zCommonSchema, St as zConnectionStatus, Ct as zConsentState, a as zCounterpartAddress, wt as zCounterpartAddressResponseWithCounterpartId, gn as zCounterpartBankAccountResponse, Tt as zCounterpartContactResponse, Et as zCounterpartCursorFields, Zr as zCounterpartFields, Dt as zCounterpartIndividualCreatePayload, Ot as zCounterpartIndividualFieldsEnum, fd as zCounterpartIndividualResponse, Ti as zCounterpartIndividualRootCreatePayload, pd as zCounterpartIndividualRootResponse, Ei as zCounterpartIndividualRootUpdatePayload, kt as zCounterpartIndividualUpdatePayload, At as zCounterpartInfoBlock, jt as zCounterpartOrganizationCreatePayload, Mt as zCounterpartOrganizationFieldsEnum, md as zCounterpartOrganizationResponse, Di as zCounterpartOrganizationRootCreatePayload, hd as zCounterpartOrganizationRootResponse, Oi as zCounterpartOrganizationRootUpdatePayload, Nt as zCounterpartOrganizationUpdatePayload, Pt as zCounterpartRawAddress, qp as zCounterpartRawAddressUpdateRequest, Ft as zCounterpartRawBankAccount, Jp as zCounterpartRawBankAccountUpdateRequest, Lt as zCounterpartRawData, Xp as zCounterpartRawDataUpdateRequest, It as zCounterpartRawVatId, Yp as zCounterpartRawVatIdUpdateRequest, gd as zCounterpartResponse, Rt as zCounterpartSchema, K as zCounterpartTagSchema, o as zCounterpartType, ip as zCounterpartVatIdResponse, zt as zCountryCode, Fu as zCountryPredicate, Wt as zCreateOrganizationType, Sc as zCreditCardApplicantInput, Gt as zCreditCardApplicantOutput, Kt as zCreditCardApplicationStatusDto, Id as zCreditCardBusinessDetailsInput, ua as zCreditCardBusinessDetailsOutput, qt as zCreditCardCloseReason, Jt as zCreditCardFormat, tn as zCreditCardResponse, Yt as zCreditCardStatus, Xt as zCreditCardTransactionDirection, $t as zCreditCardTransactionResponse, Zt as zCreditCardTransactionStatus, Qt as zCreditCardTransactionType, en as zCreditCardType, nn as zCreditNoteCursorFields, rn as zCreditNoteDimensionEnum, an as zCreditNoteFieldsAllowedForValidate, on as zCreditNoteLineItemCreateRequest, sn as zCreditNoteLineItemCursorFields, cn as zCreditNoteLineItemResponse, ln as zCreditNoteMetricEnum, un as zCreditNoteRenderingSettings, Dd as zCreditNoteResponse, mp as zCreditNoteResponsePayload, dn as zCreditNoteStateEnum, fn as zCurrencyDetails, c as zCurrencyEnum, _n as zCurrencyExchangeSchema, Zp as zCurrencyExchangeSchema2, Er as zCurrencySettings, vn as zCursorFields, up as zCustomTaxRateResponse, yn as zCustomTemplateDataSchema, bn as zCustomTemplatesCursorFields, Tn as zDataExportCursorFields, En as zDateDimensionBreakdownEnum, Dn as zDebitCardAccessActionType, An as zDebitCardResponse, On as zDebitCardStatus, kn as zDebitCardType, l as zDeductionItem, jn as zDefaultAccountingTaxIds, Nn as zDefaultBankAccount, Mn as zDefaultBankAccountType, Pn as zDefaultLedgerAccountIds, Ql as zDeletedEventData, _d as zDeliveryNoteCounterpartIndividual, vd as zDeliveryNoteCounterpartOrganization, yd as zDeliveryNoteCounterpartResource, In as zDeliveryNoteCreateBasedOnRequest, Of as zDeliveryNoteCreateLineItem, kf as zDeliveryNoteCreateRequest, Ln as zDeliveryNoteCursorFields, Df as zDeliveryNoteLineItemProduct, Af as zDeliveryNoteLineItemResource, ju as zDeliveryNoteRenderPayload, jf as zDeliveryNoteResource, Rn as zDeliveryNoteStatusEnum, zn as zDepartmentListItem, Bn as zDepartmentMember, Vn as zDisclosureCapacity, Gn as zDisclosureCapacityStateDto, Hn as zDisclosureDocumentDto, Un as zDisclosureRequirement, Wn as zDisclosureStanding, u as zDiscount, qn as zDiscountResponse, Kn as zDiscountType, Cn as zDnsRecord, xn as zDnsRecordPurpose, Sn as zDnsRecordType, wn as zDnsRecords, Jn as zDocumentExportResponseSchema, Yn as zDocumentIdSeparators, er as zDocumentIdsSettings, Xn as zDocumentIdsSettingsNextNumber, tr as zDocumentIdsSettingsRequest, Zn as zDocumentInfoBlock, d as zDocumentObjectTypeRequestEnum, z as zDocumentRenderingSettings, Qn as zDocumentTypeEnum, $n as zDocumentTypePrefix, nr as zDomainResponse, rr as zDownloadType, ir as zEmail, qc as zEmbeddedAuthorizedBankAccountPayload, Jc as zEmbeddedBankAccountPayload, Md as zEmbeddedBusinessDataResponseDto, Gp as zEmbeddedManuallySpecifiedPayload, ar as zEntityAddressResponseSchema, or as zEntityAddressSchema, sr as zEntityBankAccountResponse, cr as zEntityBusinessStructure, lr as zEntityContactBlock, ur as zEntityCursorFields, Qr as zEntityFields, dr as zEntityIndividualFieldsEnum, Pc as zEntityIndividualResponse, fr as zEntityInfoBlock, pr as zEntityLogoBlock, mr as zEntityMailSettings, hr as zEntityOrganizationFieldsEnum, Fc as zEntityOrganizationResponse, Ic as zEntityResponse, gr as zEntitySchema, _r as zEntityStatusEnum, vr as zEntityTypeEnum, yr as zEntityUserCursorFields, Yu as zEntityUserResponse, ap as zEntityVatIdResponse, br as zErrorSchema, Sr as zEstimatedMonthlyRevenue, wr as zEventCursorFields, zp as zEventResource, Tr as zExchangeRate, Dr as zExpenseApprovalRequestedEventData, Ar as zExpenseApprovalsBypassedEventData, Or as zExpenseAutoApprovedEventData, $r as zExpenseAutoCategorizedEventData, kr as zExpenseBypassedApprover, ei as zExpenseCreatedEventData, Nr as zExpenseDeletedEventData, vf as zExpenseHistoryEntryResponse, jr as zExpenseHistoryEventTypeEnum, _f as zExpensePaymentStatusChangedEventData, ti as zExpenseReceiptMatchedEventData, Mr as zExpenseReceiptUnlinkedEventData, Pr as zExpenseStatusChangedEventData, f as zExpenseStatusEnum, Fr as zExpenseSubmittedEventData, Xr as zExpenseUpdatedEventData, Ir as zExportFormat, vs as zExportObjectSchema, _s as zExportPayableSchema, Rr as zExportReceivableSchema, Lr as zExportReceivableStatus, zr as zExportSettingCursorFields, Kr as zExternalBankAccountResponse, Br as zExternalBankAccountStatusDto, Vr as zExternalBankAccountSummary, Hr as zExternalBankAccountTypeDto, Wr as zExternalBankAccountVerificationInput, Ur as zExternalBankAccountVerificationMethod, Gr as zExternalBankAccountVerificationStatusDto, rd as zExtraDataResource, qr as zFee, Jr as zFeeRegion, Yr as zFieldDiff, p as zFieldSchema, m as zFieldSourceEnum, ni as zFileAttachedEventData, ri as zFileDetachedEventData, ii as zFileResponse, jc as zFileSchema, Nc as zFileSchema2, ai as zFileUrlType, Ap as zFinancingInvoice, oi as zFinancingInvoiceCursorFields, si as zFinancingInvoiceType, Pp as zFinancingOffer, ci as zFinancingPushInvoicesRequestInvoice, li as zFooterBlock, ui as zGlobalDiscount, di as zHeaderBlock, fi as zIFormFile, pi as zIndividualResponseSchema, mi as zIndividualSchema, _i as zInlinePaymentTermsRequestPayload, hi as zInlineTermDiscount, gi as zInlineTermFinal, yi as zInvoice, vi as zInvoiceFile, bi as zInvoiceRenderingSettings, hp as zInvoiceResponsePayload, Qp as zItem, Lu as zItemTypePredicate, xi as zIterationStatus, Si as zJsonElement, Ci as zKycVerificationStatusDto, $p as zLabelNValue, h as zLanguageCodeEnum, ki as zLedgerAccountCursorFields, Ai as zLedgerAccountResponse, Nf as zLineItem, ji as zLineItemColumnSettings, Mi as zLineItemCursorFields, Ni as zLineItemFields, Pi as zLineItemInternalRequest, g as zLineItemNumericColumnSettings, fp as zLineItemProduct, Mf as zLineItemProductCreate, Fi as zLineItemProductMeasureUnit, dp as zLineItemProductTaxRate, Ii as zLineItemResponse, Vd as zLineItemUpdate, Hi as zLineItemsBlock, Li as zLineItemsBlockAmountReduced, Ri as zLineItemsBlockDeduction, zi as zLineItemsBlockLineItem, Bi as zLineItemsBlockTotalVat, Vi as zLineItemsColumns, Ui as zLineItemsRenderingSettings, Wi as zLocationListItem, Gi as zLocationMember, Il as zMailSentEventData, Ki as zMailSettings, qi as zMailboxObjectTypeEnum, Ji as zMailboxResponse, Kp as zManuallySpecifiedBankAccountPayload, Yi as zMccGroupResponse, Xi as zMeAddressDto, Zi as zMeasureUnitEnum, Qi as zMedia, $i as zMemoBlock, ta as zMissingFields, ea as zMissingLineItemFields, na as zMoniteAllPaymentMethods, _ as zMoniteAllPaymentMethodsTypes, ra as zMtlsConfigRequest, oa as zMultipleAmountPredicate, sa as zMultipleCountryPredicate, Vc as zMultipleItemTypePredicate, ca as zNorthAmericanIndustryClassificationSystemCode, xa as zObjectMatchTypes, y as zObjectType, Oa as zObjectTypeAvailableComment, ka as zObjectTypeEnum, em as zOcrAddress, da as zOcrAddressDetails, Aa as zOcrAutoTaggingSettingsRequest, fa as zOcrBankDetails, v as zOcrCounterpartDetails, ha as zOcrCreditNote, pa as zOcrDocumentTypeEnum, ga as zOcrInvoice, ma as zOcrLineItem, va as zOcrReceipt, _a as zOcrReceiptLineItem, rm as zOcrRecognitionResponse, ya as zOcrRequestSource, nm as zOcrResponseInvoiceReceiptData, tm as zOcrResponseInvoiceReceiptLineItemRaw, ja as zOcrStatusEnum, Ma as zOcrTaskResponseSchema, ba as zOcrTaskStatus, Na as zOptionalFee, Pa as zOptionalIndividualSchema, Fa as zOptionalOfBankAccountHolderType, Ia as zOptionalOfBankAccountStatus, La as zOptionalOfExternalBankAccountVerificationInput, E as zOptionalOfNullableAddressInput, Ra as zOptionalOfNullableAuthenticationInput, Cc as zOptionalOfNullableBankAccountApplicantInput, Ld as zOptionalOfNullableBusinessDetailsInput, za as zOptionalOfNullableBusinessStructureType, Ba as zOptionalOfNullableCountryCode, wc as zOptionalOfNullableCreditCardApplicantInput, Rd as zOptionalOfNullableCreditCardBusinessDetailsInput, b as zOptionalOfNullableDateOnly, x as zOptionalOfNullableGuid, So as zOptionalOfNullableIReadOnlyListOfOrganizationSettingsOcrAutoTaggingDto, Tc as zOptionalOfNullableListOfBusinessOwnerInput, Va as zOptionalOfNullableNorthAmericanIndustryClassificationSystemCode, no as zOptionalOfNullableOrganizationSettingsAccountingDto, ho as zOptionalOfNullableOrganizationSettingsCurrencyDto, oo as zOptionalOfNullableOrganizationSettingsDefaultBankAccountDto, fo as zOptionalOfNullableOrganizationSettingsDocumentIdsRequestDto, Ha as zOptionalOfNullableOrganizationSettingsMailDto, Ua as zOptionalOfNullableOrganizationSettingsPaymentPriority, Wa as zOptionalOfNullableOrganizationSettingsReceivableEditFlow, Ga as zOptionalOfNullableOrganizationSettingsReminderDto, Ka as zOptionalOfNullableOrganizationSettingsTaxMode, qa as zOptionalOfNullableOrganizationType, yc as zOptionalOfNullablePersonalIdentificationNumberDto, Pd as zOptionalOfNullableTaxIdentificationNumberInput, S as zOptionalOfNullableboolean, C as zOptionalOfNullabledecimal, Ja as zOptionalOfNullableint, w as zOptionalOfNullablelong, T as zOptionalOfNullablestring, D as zOptionalOfstring, Xa as zOptionalOrganizationSchema, O as zOrderEnum, Za as zOrganizationLogoResponseDto, Qa as zOrganizationResponseSchema, $a as zOrganizationSchema, ro as zOrganizationSettingsAccountingDto, eo as zOrganizationSettingsAccountingLedgerAccountIdsDto, to as zOrganizationSettingsAccountingTaxIdsDto, io as zOrganizationSettingsCreditNoteRenderingDto, go as zOrganizationSettingsCurrencyDto, so as zOrganizationSettingsDefaultBankAccountDto, ao as zOrganizationSettingsDefaultBankAccountType, co as zOrganizationSettingsDocumentIdSeparator, po as zOrganizationSettingsDocumentIdsDto, lo as zOrganizationSettingsDocumentIdsNextNumberDto, To as zOrganizationSettingsDocumentRenderingDto, uo as zOrganizationSettingsDocumentTypePrefixDto, mo as zOrganizationSettingsExchangeRateDto, _o as zOrganizationSettingsInvoiceRenderingDto, vo as zOrganizationSettingsLineItemColumnDto, k as zOrganizationSettingsLineItemNumericColumnDto, yo as zOrganizationSettingsLineItemsRenderingDto, bo as zOrganizationSettingsMailDto, xo as zOrganizationSettingsOcrAutoTaggingDto, Co as zOrganizationSettingsPaymentPriority, wo as zOrganizationSettingsQuoteRenderingDto, Eo as zOrganizationSettingsReceivableEditFlow, Do as zOrganizationSettingsReminderDto, Oo as zOrganizationSettingsTaxMode, ko as zOrganizationStatusFilter, Ao as zOrganizationSummary, A as zOrganizationType, jo as zOriginEnum, au as zOverdueReminderResponse, Mo as zOverdueReminderTerm, No as zOwnershipDeclarationInput, Po as zOwnershipDeclarationOutput, Fo as zPageCounterBlock, Io as zPageSchema, Lo as zPageSchema2, Ro as zPaginatedResponseOfDepartmentMember, zo as zPaginatedResponseOfLocationMember, Bo as zPaginationMetadata, Vo as zPaidBy, Ho as zParentOrganizationSummaryDto, Uo as zPayableActionEnum, mc as zPayableActionSchema, ys as zPayableAggregatedItem, Wo as zPayableApprovalActionEventData, Go as zPayableApprovalRequestedEventData, Jo as zPayableApprovalsBypassedEventData, Ko as zPayableAutoApprovedEventData, qo as zPayableBypassedApprover, Yo as zPayableCounterpartInfoBlock, Hu as zPayableCreatedEventData, Xo as zPayableCreditNoteLinkedEventData, j as zPayableCreditNoteStateEnum, Zo as zPayableCreditNoteUnlinkedEventData, Qo as zPayableCursorFields, bs as zPayableDeletedEventData, $o as zPayableDimensionEnum, es as zPayableDuplicateStatusEnum, ts as zPayableEntityAddressSchema, Xu as zPayableEntityIndividualResponse, ns as zPayableEntityInfoBlock, Zu as zPayableEntityOrganizationResponse, rs as zPayableFieldDiff, is as zPayableHistoryCursorFields, as as zPayableHistoryEventTypeEnum, Uu as zPayableHistoryResponse, os as zPayableIndividualSchema, ss as zPayableInfoBlock, cs as zPayableLineItemAddedEventData, ls as zPayableLineItemRemovedEventData, us as zPayableLineItemUpdatedEventData, ds as zPayableMarkedAsPaidEventData, fs as zPayableMarkedAsPartiallyPaidEventData, ps as zPayableMetricEnum, ms as zPayableOrganizationSchema, M as zPayableOriginEnum, xs as zPayablePaymentRevertedEventData, im as zPayablePaymentTermDiscount, am as zPayablePaymentTermFinal, om as zPayablePaymentTermsCreatePayload, hs as zPayableRenderPayload, cm as zPayableResponseSchema, hc as zPayableSchema, gs as zPayableSettings, N as zPayableStateEnum, Ss as zPayableStatusChangedEventData, Cs as zPayableSubmittedForApprovalEventData, ws as zPayableTemplatesVariable, Os as zPayableTemplatesVariablesObject, Ts as zPayableUpdatedEventData, Es as zPayablesFieldsAllowedForValidate, Ds as zPayablesVariableType, ks as zPayerAccountResponse, As as zPayerAccountResponse2, js as zPaymentAccountObject, P as zPaymentAccountType, Hs as zPaymentFeeResponse, ef as zPaymentIntent, Ms as zPaymentIntentAccountType, Ps as zPaymentIntentCursorFields, Fs as zPaymentIntentHistory, Is as zPaymentIntentPayoutMethod, tu as zPaymentIntentResponse, Qd as zPaymentIntentWithSecrets, Ls as zPaymentIntentsRecipient, Bs as zPaymentMethod, Rs as zPaymentMethodDirection, zs as zPaymentMethodStatus, Vs as zPaymentMethodSubtype, Ks as zPaymentObject, Us as zPaymentObjectPayable, Gs as zPaymentObjectType, qs as zPaymentPageFooter, Js as zPaymentPageTheme, Ys as zPaymentPriorityEnum, Xs as zPaymentReceivedEventData, Zs as zPaymentRecordCursorFields, tc as zPaymentRecordHistoryResponse, Qs as zPaymentRecordObjectRequest, $s as zPaymentRecordObjectResponse, nc as zPaymentRecordResponse, ec as zPaymentRecordStatusEnum, rc as zPaymentRecordStatusUpdateRequest, Qu as zPaymentReminderResponse, ic as zPaymentRequirements, ac as zPaymentTerms, oc as zPaymentTermsBlock, Jd as zPaymentTermsResponse, dc as zPaymentTierResponse, sc as zPaymentsBatchPaymentStatus, cc as zPaymentsSettings, lc as zPdfDocumentTypeEnum, uc as zPeriodEnum, fc as zPermissionEnum, gc as zPermissionKey, _c as zPermissionUpdateInput, vc as zPersonalIdentificationNumberType, Ec as zPlatform, Cp as zPredicate, Dc as zPredicateNameEnum, Oc as zPredicateOperatorEnum, kc as zPredicateResponse, Ac as zPreviewSchema, Mc as zPreviewSchema2, I as zPrice, Np as zPricingPlan, Rc as zProcessResource, Lc as zProcessStatusEnum, zc as zProductCursorFields, Bc as zProductFieldsEnum, Hc as zProductServiceResponse, L as zProductServiceTypeEnum, Uc as zProjectCursorFields, Od as zProjectResource, R as zPsuIdentification, Wc as zPsuIdentificationType, Yc as zPublicBankAccount, Xc as zPurchaseOrderCounterpartAddressSchema, bd as zPurchaseOrderCounterpartIndividualResponse, xd as zPurchaseOrderCounterpartIndividualRootResponse, Zc as zPurchaseOrderCounterpartInfoBlock, Sd as zPurchaseOrderCounterpartOrganizationResponse, Cd as zPurchaseOrderCounterpartOrganizationRootResponse, wd as zPurchaseOrderCounterpartSchema, Qc as zPurchaseOrderCursorFields, $c as zPurchaseOrderDateBlock, el as zPurchaseOrderItem, tl as zPurchaseOrderLineItem, nl as zPurchaseOrderLineItemsBlock, rl as zPurchaseOrderNumberBlock, il as zPurchaseOrderRenderPayload, Td as zPurchaseOrderResponseSchema, al as zPurchaseOrderStatusEnum, ol as zPurchaseOrderVatId, sl as zQrCodeDataBlock, ku as zQuoteAcceptRequest, cl as zQuoteRenderingSettings, gp as zQuoteResponsePayload, ll as zQuoteStateEnum, ul as zRate, dl as zReceiptCursorFields, fl as zReceiptDimensionEnum, pl as zReceiptLineItemCursorFields, ml as zReceiptLineItemResponseSchema, hl as zReceiptLinkSourceEnum, gl as zReceiptMetricEnum, _l as zReceiptOriginEnum, Gu as zReceiptResponseSchema, Yl as zReceivableCounterpartContact, op as zReceivableCounterpartVatIdResponse, vl as zReceivableCreateBasedOnPayload, $l as zReceivableCreatedEventData, yl as zReceivableCreationSourceEnum, bl as zReceivableDimensionEnum, xl as zReceivableEditFlow, Sl as zReceivableEntityAddressSchema, Cl as zReceivableEntityBase, wl as zReceivableEntityIndividual, Tl as zReceivableEntityIndividualRequest, El as zReceivableEntityOrganization, Dl as zReceivableEntityOrganizationRequest, sp as zReceivableEntityVatIdResponse, cp as zReceivableFacadeCreateInvoicePayload, lp as zReceivableFacadeCreateQuotePayload, Ol as zReceivableFieldDiff, kl as zReceivableFieldsEnum, Al as zReceivableHistoryCursorFields, jl as zReceivableHistoryEventTypeEnum, qu as zReceivableHistoryResponse, Ml as zReceivableMailCursorFields, Nl as zReceivableMailRecipientState, Pl as zReceivableMailRecipients, Ll as zReceivableMailResponse, Fl as zReceivableMailStatusEnum, Rl as zReceivableMetricEnum, zl as zReceivableNumberBlock, Mu as zReceivableRenderPayload, _p as zReceivableResponse, Bl as zReceivableSettings, Vl as zReceivableTemplatesVariable, tp as zReceivableTemplatesVariablesObject, Hl as zReceivableType, Wl as zReceivableUpdatedEventData, Gl as zReceivablesAnalyticsDataPoint, Kl as zReceivablesCounterpartAddress, ql as zReceivablesPreviewTypeEnum, Jl as zReceivablesRemindersWarningMessage, B as zReceivablesRepresentationOfCounterpartAddress, Xl as zReceivablesRepresentationOfEntityBankAccount, Zl as zReceivablesStatusEnum, iu as zRecipient, eu as zRecipientAccountResponse, nu as zRecipientAccountResponse2, ru as zRecipientType, V 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, Jf as zRelatedUserDto, H 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, $u as zRoleResponse, dd as zRoleResponseDto, Su as zRootSchema, rp as zRuleResponse, Tu as zScaMethod, wu as zScaMethodType, Eu as zSendStatelessEmailResponse, Du as zServiceProvidersEnum, Ou as zSignature, Au as zSignatureBlock, U as zSingleAmountPredicate, Pu as zSingleCountryPredicate, Iu as zSingleItemTypePredicate, Ru as zSinglePaymentIntentResponse, zu as zSortOrderDto, Bu as zSourceOfData, Vu as zSourceOfPayableDataEnum, Wu as zSourceOfReceiptDataEnum, Ku as zStatusChangedEventData, W as zStatusEnum, ed as zStripeData, Rp as zSubscriptionResponse, td as zSuggestedCounterpartPayload, sm as zSuggestedPaymentTerm, nd as zSupportedFieldNames, id as zSupportedFormatSchema, ad as zSupportedPaymentAuthorizationFlow, sd as zSyncRecordCursorFields, ld as zSyncRecordResource, cd as zSyncStatus, ud as zSystemRoleKey, Wd as zSystemTemplateDataSchema, G as zTagCategory, Ed as zTagCursorFields, q as zTagReadSchema, kd as zTaxComponentResponse, jd as zTaxIdResponseDto, Nd as zTaxIdentificationNumberType, zd as zTaxRateAccountCursorFields, Bd as zTaxStatusEnum, Hd as zTemplate, Ud as zTemplateDataSchema, Kd as zTemplateReceivableResponse, Gd as zTemplateTypeEnum, J as zTermDiscountDays, qd as zTermFinalDays, Yd as zTermsOfServiceAcceptanceInput, Xd as zTermsOfServiceAcceptanceOutput, Zd as zTesouroData, $d as zTesouroPaymentIntentData, tf as zTextTemplateDocumentTypeEnum, rf as zTextTemplateResponse, nf as zTextTemplateType, of as zTotalTaxAmountItem, af as zTotalTaxAmountItemComponent, sf as zTransactionBulkObject, cf as zTransactionBulkStatusEnum, lf as zTransactionCursorFields, uf as zTransactionDimensionEnum, df as zTransactionFieldsAllowedForValidate, ff as zTransactionMetricEnum, pf as zTransactionPaymentMethod, mf as zTransactionPaymentMethodTypeEnum, hf as zTransactionRejectRequest, xf as zTransactionRequest, gf as zTransactionRequiredFieldItem, Sf as zTransactionResponse, Y as zTransactionStatusEnum, yf as zTransactionSubmitRequest, bf as zTransactionTypeEnum, Cf as zTransactionValidationError, wf as zTransferType, Tf as zUnit, Ef as zUnitRequest, Pf as zUnitResponse, Hf as zUpdateCreditNote, Uf as zUpdateCreditNotePayload, Ff as zUpdateEntityAddressSchema, If as zUpdateInvoice, Lf as zUpdateInvoicePayload, Rf as zUpdateIssuedInvoice, zf as zUpdateIssuedInvoicePayload, Vf as zUpdateLineItemForCreditNote, Bf as zUpdateProductForCreditNote, Wf as zUpdateQuote, Gf as zUpdateQuotePayload, Kf as zUserDepartmentDto, qf as zUserLocationDto, Yf as zUserStatus, Xf as zUserStatusFilter, Zf as zValidationError, Qf as zVariable, $f as zVariablesObject, ep as zVariablesType, np as zVatConditionType, X as zVatIdTypeEnum, Z as zVatModeEnum, Sp as zVatPredicate, Q as zVatRateComponent, yp as zVatRateResponse, vp as zVatRateStatusEnum, bp as zVatTypePredicate, xp as zVatValidityEnum, Tp as zVelocityControlResponse, wp as zVelocityWindow, Ep as zVerificationError, Dp as zVerificationStatusEnum, Op as zWcBusinessStatus, kp as zWcInvoiceStatus, jp as zWcOfferStatus, Mp as zWcRepaymentType, Fp as zWebhookDeliveryCursorFields, Ip as zWebhookDeliveryResource, Lp as zWebhookEventType, $ as zWebhookObjectType, Bp as zWebhookSubscriptionCursorFields, Hp as zWebhookSubscriptionResource, Vp as zWebhookSubscriptionStatus, Up as zWidgetUserStatus, Wp as zYapilyCountriesCoverageCodes };